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:"012ba04f3564bb748e2a5bdcc55b62d97640a144",class:"dashboard-module",part:"base"},!!this.error&&h("sc-alert",{key:"dc5f12e5b763f0eca4c81747dace157ba29237f1",exportparts:"base:error__base, icon:error__icon, text:error__text, title:error__title, message:error__message",open:!!this.error,type:"danger"},h("span",{key:"8f85b79b60efca6daa22c12caa4b2c15dd8fe3ee",slot:"title"},__("Error","surecart")),this.error),h("div",{key:"4fe82d45e7449ff79ff39a0781768828b60053a0",class:"heading",part:"heading"},h("div",{key:"5c225cebd854beacc3ae4cbf26e142a6d4aee5bf",class:"heading__text",part:"heading-text"},h("div",{key:"c5e63ffac581a1b9f2bc2f891191f6f91cae5743",class:"heading__title",part:"heading-title"},h("slot",{key:"02dfa41420765e75638e1b3ada3fea1160f45f1a",name:"heading","aria-label":this.heading},this.heading)),h("div",{key:"52ca31dea72bacbd7513e609e7182565805b6e1a",class:"heading__description",part:"heading-description"},h("slot",{key:"0a3c22df56fcd904edaff811ddadde998798afbe",name:"description"}))),h("slot",{key:"94e48332610efa7555d7e3865d312686d80bffd3",name:"end"})),h("slot",{key:"851da089a17f72ccfc9fbf73cce8fb3a0dec62e4"}))}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}}}}