import{r as t,d as i,h as e}from"./p-03169580.js";let l=class{constructor(e){t(this,e);this.ionInput=i(this,"ionInput",7);this.ionChange=i(this,"ionChange",7);this.labelPosition="stacked";this.name="type";this.placeholder="Type";this.options=[{label:"Year",value:"year"},{label:"Quarter",value:"quarter"},{label:"Month",value:"month"},{label:"Week",value:"week"},{label:"Day",value:"day"}];this.required=false}render(){return e("ion-item",{style:{overflow:"visible"}},e("ion-label",{position:this.labelPosition},this.label),e("input",{required:this.required,onInput:t=>{var i;this.value=(i=t===null||t===void 0?void 0:t.target)===null||i===void 0?void 0:i.value;this.ionInput.emit({name:this.name,value:this.value,event:t})},onChange:t=>{var i;this.value=(i=t===null||t===void 0?void 0:t.target)===null||i===void 0?void 0:i.value;this.ionChange.emit({name:this.name,value:this.value,event:t})},style:{border:"none",background:"transparent"},list:this.list||this.name,name:this.name,placeholder:this.placeholder,value:this.value}),e("datalist",{id:this.list||this.name},(this.options||[]).map((t=>e("option",null,t===null||t===void 0?void 0:t.value)))))}};export{l as floodteam_input_totaller_type};
//# sourceMappingURL=p-19e65265.entry.js.map