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:"47d01444919f4cf56caec4a8e44bc39040299f13",part:"base",class:{overlay:!0,transparent:this.transparent},style:{"z-index":this.zIndex.toString()}},h("div",{key:"b8e4618fd20801f059523530529e3668e092eaed",class:"overlay__content",part:"content"},h("slot",{key:"7c72fd1356daa2ac23adccb682a4caf4d492d17e",name:"spinner"},!this.transparent&&this.spinner&&h("sc-spinner",{key:"b252861722b74d8e438acec833834c9a609efc88"})),h("slot",{key:"62ff3d0f9d9db58f5ce5466cc29e9dacf0990605"})))}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}}}}