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:"91d9f75db99f5079999fb0b981c32403d9661d3a",part:"base",class:{overlay:!0,transparent:this.transparent},style:{"z-index":this.zIndex.toString()}},h("div",{key:"1790ea72e630d30c5ebcfb77736d7c2e744fdd0e",class:"overlay__content",part:"content"},h("slot",{key:"e62393831082c1c7dbcba3107ce49f49d239c93a",name:"spinner"},!this.transparent&&this.spinner&&h("sc-spinner",{key:"4d0a1d49f3cefbdb1417e3b22c374c90ea8c46df"})),h("slot",{key:"2ff76f1ef358e6357d4b163d636e6bba2d69a2c4"})))}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}}}}