import{h}from"@stencil/core";export class ScBlockUi{constructor(){this.zIndex=1,this.transparent=void 0,this.spinner=void 0}render(){return h("div",{key:"54a9ee90eba3d65c2d2d12d854d918cf7ac04969",part:"base",class:{overlay:!0,transparent:this.transparent},style:{"z-index":this.zIndex.toString()}},h("div",{key:"3cd0ff07b3d6c7053b12c9f1b52cf172620f4373",class:"overlay__content",part:"content"},h("slot",{key:"073f834808d3be2f615b3c6c4e03bad15564141b",name:"spinner"},!this.transparent&&this.spinner&&h("sc-spinner",{key:"12c49adfbe44f9ed92a95df469b7e95e525a7c13"})),h("slot",{key:"2edd5da92d47b1cd5508407b737985f9d53b942a"})))}static get is(){return"sc-block-ui"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-block-ui.scss"]}}static get styleUrls(){return{$:["sc-block-ui.css"]}}static get properties(){return{zIndex:{type:"number",mutable:!1,complexType:{original:"number",resolved:"number",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"z-index",reflect:!1,defaultValue:"1"},transparent:{type:"boolean",mutable:!1,complexType:{original:"boolean",resolved:"boolean",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"transparent",reflect:!1},spinner:{type:"boolean",mutable:!1,complexType:{original:"boolean",resolved:"boolean",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"spinner",reflect:!1}}}}