import{r as i,d as t,h as s}from"./p-03169580.js";let e=class{constructor(s){i(this,s);this.ionInput=t(this,"ionInput",7);this.ionChange=t(this,"ionChange",7);this.labelPosition="stacked";this.name="material";this.placeholder="Choose a material";this.multiple=false}render(){return s("ion-item",{style:{overflow:"visible"}},s("ion-label",{position:this.labelPosition},this.label),s("input",{onInput:i=>{var t;this.value=(t=i===null||i===void 0?void 0:i.target)===null||t===void 0?void 0:t.value;this.ionInput.emit({name:this.name,value:this.value,event:i})},onChange:i=>{var t;this.value=(t=i===null||i===void 0?void 0:i.target)===null||t===void 0?void 0:t.value;this.ionChange.emit({name:this.name,value:this.value,event:i})},style:{border:"none",background:"transparent"},multiple:this.multiple,list:this.list||this.name,name:this.name,placeholder:this.placeholder,value:this.value}),s("datalist",{id:this.list||this.name},(this.options||[]).map((i=>s("option",null,i===null||i===void 0?void 0:i.value)))))}};export{e as floodteam_input_material};
//# sourceMappingURL=p-00ad7358.entry.js.map