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:"ab40a5e1c95262acbad988e1b5189c95015000b6",class:"dashboard-module",part:"base"},!!this.error&&h("sc-alert",{key:"4390df8f19960a1940c5b8fe03cd68860895fbf3",exportparts:"base:error__base, icon:error__icon, text:error__text, title:error__title, message:error__message",open:!!this.error,type:"danger"},h("span",{key:"1a2b19cadaf03869656b9f5a026fcf53281dbdb4",slot:"title"},__("Error","surecart")),this.error),h("div",{key:"611dff88ce221609244a0e4e40509152758360c6",class:"heading",part:"heading"},h("div",{key:"83b0e102709eb7f70154384f84a0a157c6fcdae5",class:"heading__text",part:"heading-text"},h("div",{key:"1455aa9f8bf8b24b00bdd22eda65a55c2329b571",class:"heading__title",part:"heading-title"},h("slot",{key:"9be43f510bf8eaaed467a495ed58e24e989898db",name:"heading","aria-label":this.heading},this.heading)),h("div",{key:"2b861d514ce3c9406294fccffb5c33d3f3413a73",class:"heading__description",part:"heading-description"},h("slot",{key:"73dbc857bb93f517014cca20b368c06e376118b8",name:"description"}))),h("slot",{key:"e41a6211eae2b94c0b2f76c8ab5305f0a6923120",name:"end"})),h("slot",{key:"928643c2cc55c0db54cf4ddf475b56270f730cd6"}))}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}}}}