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:"3de0cde0fe04ee3424defbce8cfa68025c79e3e0",class:"dashboard-module",part:"base"},!!this.error&&h("sc-alert",{key:"bc897abbb84b511f7e23b07f9a869319f18f62b2",exportparts:"base:error__base, icon:error__icon, text:error__text, title:error__title, message:error__message",open:!!this.error,type:"danger"},h("span",{key:"1b0bc02a679ae34033f457714f7ce2588729d0c6",slot:"title"},__("Error","surecart")),this.error),h("div",{key:"af6d73e44be70a61fea4e1381c1f4b5254956135",class:"heading",part:"heading"},h("div",{key:"9e29217cbb7333ba5df3d3525dd685c0768874be",class:"heading__text",part:"heading-text"},h("div",{key:"7c76e45b97ec123f2bf8ded60867630e6fe6c2a5",class:"heading__title",part:"heading-title"},h("slot",{key:"f0679df2c2654bade5c39dd72237c02a4d244801",name:"heading","aria-label":this.heading},this.heading)),h("div",{key:"336a6d29e685ccee3f4a4fbab04f4360c1f14077",class:"heading__description",part:"heading-description"},h("slot",{key:"bae0d71b143c65fda0e81b16926260ead5496939",name:"description"}))),h("slot",{key:"9aefc55963fc5b0daadb91dc4960b7327b375589",name:"end"})),h("slot",{key:"898f1e47a2afc0eff3762f50a1ce407a7a392dc7"}))}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}}}}