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:"c74169b8d89b313654c46524501e9a18d9d7e4b9",class:"dashboard-module",part:"base"},!!this.error&&h("sc-alert",{key:"3b130790243a375844c081b6035f2361af94402b",exportparts:"base:error__base, icon:error__icon, text:error__text, title:error__title, message:error__message",open:!!this.error,type:"danger"},h("span",{key:"755d2b142f78f847fead08f68baf5bda6502ba90",slot:"title"},__("Error","surecart")),this.error),h("div",{key:"2e38a1f48005443b2edde396ef363ca6ba816e60",class:"heading",part:"heading"},h("div",{key:"e7007e61f0a4e16d0e71cef505bd21fe5a6b194f",class:"heading__text",part:"heading-text"},h("div",{key:"52c4109246548372692a02a947ff84ab396f37e7",class:"heading__title",part:"heading-title"},h("slot",{key:"483332b56ed3d0a53a7970a08b2da90ebfaba782",name:"heading","aria-label":this.heading},this.heading)),h("div",{key:"0fa9bbb662bcdcc01feba25e42314c417eafa6b7",class:"heading__description",part:"heading-description"},h("slot",{key:"27ef733572a5ba07b4f57eb8055e71fdc7bd8a40",name:"description"}))),h("slot",{key:"9ac8e1a7789ba1d782ce45df08639abf9eb78c90",name:"end"})),h("slot",{key:"328034ad135fdaa5be9df809016b34437e6afb04"}))}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}}}}