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:"61bd62c448499b3fe75a9cc5991a0ee793eacdea",class:"dashboard-module",part:"base"},!!this.error&&h("sc-alert",{key:"c96cb2f11bb2f41e7b5a7d075fc77f6da57358bb",exportparts:"base:error__base, icon:error__icon, text:error__text, title:error__title, message:error__message",open:!!this.error,type:"danger"},h("span",{key:"dfd50cda5bccfaa03080b058556f47b21080174f",slot:"title"},__("Error","surecart")),this.error),h("div",{key:"4e848c7819afd75a839537384214a8232b0610b9",class:"heading",part:"heading"},h("div",{key:"4459f7080c29de3811c1fa9702868055335f13e7",class:"heading__text",part:"heading-text"},h("div",{key:"90e367413fc8d03aed466728eb2e35b754c4d617",class:"heading__title",part:"heading-title"},h("slot",{key:"c443328ccb7543d2ae9d11dfe59e31057fda0a1b",name:"heading","aria-label":this.heading},this.heading)),h("div",{key:"d647fdc9aa6f0bdc57bd1957ef387211a96f0de5",class:"heading__description",part:"heading-description"},h("slot",{key:"c5b3c8d42146c9ba716f006d8edd4952bf2d8b04",name:"description"}))),h("slot",{key:"b9c04ab9d269cda6e3ca4a815aa215052aecf569",name:"end"})),h("slot",{key:"048b2e4353846ec6575b208f33d5e882c8868308"}))}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}}}}