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:"da4a3d9d4aae87c6ef9a51dd335e391a373c0d9e",part:"base",class:{overlay:!0,transparent:this.transparent},style:{"z-index":this.zIndex.toString()}},h("div",{key:"ad4555f0ec7c9431941664d6dd47c12cec737ed0",class:"overlay__content",part:"content"},h("slot",{key:"b226d9bc01759054a83b4d17d10f91ec22b429e2",name:"spinner"},!this.transparent&&this.spinner&&h("sc-spinner",{key:"ba47a361179c0944612831d43408a0a680b1399a"})),h("slot",{key:"efbfee08ebd450a42c4399555d24e78712b0e73c"})))}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}}}}