import{r as t,d as e,h as i}from"./p-f8363b1b.js";const s=class{constructor(i){t(this,i),this.ionInput=e(this,"ionInput",7),this.ionChange=e(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=!1}render(){return i("ion-item",{style:{overflow:"visible"}},i("ion-label",{position:this.labelPosition},this.label),i("input",{required:this.required,onInput:t=>{var e;this.value=null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.value,this.ionInput.emit({name:this.name,value:this.value,event:t})},onChange:t=>{var e;this.value=null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.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}),i("datalist",{id:this.list||this.name},(this.options||[]).map((t=>i("option",null,null==t?void 0:t.value)))))}};export{s as floodteam_input_totaller_type}