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:"9b503da887d9c2d70bf23af7e7cbc485ccee6ac1",class:"dashboard-module",part:"base"},!!this.error&&h("sc-alert",{key:"a83bfc549e284a9b99b2b15bbda956865c14bded",exportparts:"base:error__base, icon:error__icon, text:error__text, title:error__title, message:error__message",open:!!this.error,type:"danger"},h("span",{key:"bb7b5547a705e8d96993f654e64bd3859ea3aa73",slot:"title"},__("Error","surecart")),this.error),h("div",{key:"6d7e70f079c94e78f901751e110073d6d8802363",class:"heading",part:"heading"},h("div",{key:"60a9749ba081861b52eb9deb70416c30d42833ed",class:"heading__text",part:"heading-text"},h("div",{key:"f9ce06fddaae61a78708775f4bb6eb6241d2e7f4",class:"heading__title",part:"heading-title"},h("slot",{key:"4b40299e832fe01ac38f401412e609066aef810b",name:"heading","aria-label":this.heading},this.heading)),h("div",{key:"25c78c8d6ef94f8b0b0e208dbc53c1e885b2701e",class:"heading__description",part:"heading-description"},h("slot",{key:"e7c34fdeabd76feb9d69604c1bc827b79b0e5169",name:"description"}))),h("slot",{key:"51c0236c0a5e56b5bd0e206b51c32c7f2500d2d9",name:"end"})),h("slot",{key:"cdee456ddef8eb23b4b10631d68bde7379b75142"}))}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}}}}