import{h}from"@stencil/core";import{__}from"@wordpress/i18n";export class ScDashboardModule{constructor(){this.heading=void 0,this.error=void 0,this.loading=void 0}render(){return h("div",{key:"917255e15eb8a70b7624348542becca0d246f98c",class:"dashboard-module",part:"base"},!!this.error&&h("sc-alert",{key:"900c7b1fa4c47c19ef9a47a860900e2e98c0ada3",exportparts:"base:error__base, icon:error__icon, text:error__text, title:error__title, message:error__message",open:!!this.error,type:"danger"},h("span",{key:"4916b142c91b9029f4b6aebe2c5e5cb5f18d5426",slot:"title"},__("Error","surecart")),this.error),h("div",{key:"35f58ef6dabedbe0c0ccbba15845b5e18bada963",class:"heading",part:"heading"},h("div",{key:"638530cd8c8f8960bb77a1b052b35f1c9acdf27c",class:"heading__text",part:"heading-text"},h("div",{key:"f64f1fb1ad8babfd538de6e758dd9559d33eae24",class:"heading__title",part:"heading-title"},h("slot",{key:"6c5684381669e11eb84b910ce2790d396666dcf2",name:"heading","aria-label":this.heading},this.heading)),h("div",{key:"99f986f36e90af78ace444040838b10d68d5812f",class:"heading__description",part:"heading-description"},h("slot",{key:"430949e636afb13dd6d8114a8b581ce3de4d8a0d",name:"description"}))),h("slot",{key:"a85991d806c15cda4fd7924eaf50af56fae49882",name:"end"})),h("slot",{key:"81c9da168bb7d28b6328f7e357628f9ba4e27eaa"}))}static get is(){return"sc-dashboard-module"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-dashboard-module.scss"]}}static get styleUrls(){return{$:["sc-dashboard-module.css"]}}static get properties(){return{heading:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"heading",reflect:!1},error:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"error",reflect:!1},loading:{type:"boolean",mutable:!1,complexType:{original:"boolean",resolved:"boolean",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"loading",reflect:!1}}}}