import{r as i,d as l,h as t}from"./p-846bd001.js";const e=class{constructor(t){i(this,t),this.ionInput=l(this,"ionInput",7),this.ionChange=l(this,"ionChange",7),this.label=void 0,this.labelPosition="stacked",this.name="material",this.list=void 0,this.placeholder="Choose a material",this.options=void 0,this.multiple=!1,this.value=void 0}render(){return t("ion-item",{style:{overflow:"visible"}},t("ion-label",{position:this.labelPosition},this.label),t("input",{onInput:i=>{var l;this.value=null===(l=null==i?void 0:i.target)||void 0===l?void 0:l.value,this.ionInput.emit({name:this.name,value:this.value,event:i})},onChange:i=>{var l;this.value=null===(l=null==i?void 0:i.target)||void 0===l?void 0:l.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}),t("datalist",{id:this.list||this.name},(this.options||[]).map((i=>t("option",null,null==i?void 0:i.value)))))}},a=class{constructor(t){i(this,t),this.ionInput=l(this,"ionInput",7),this.ionChange=l(this,"ionChange",7),this.label=void 0,this.labelPosition="stacked",this.name="name",this.list=void 0,this.placeholder="Choose a Room",this.options=[{label:"Attic",value:"attic"},{label:"Loft",value:"loft"},{label:"Spare Room",value:"spare room"},{label:"Bedroom",value:"bedroom"},{label:"Bathroom",value:"bathroom"},{label:"Balcony",value:"balcony"},{label:"Nursery",value:"nursery"},{label:"Study",value:"study"},{label:"Utility Room",value:"utility room"},{label:"Conservatory",value:"conservatory"},{label:"Living Room",value:"living room"},{label:"Dining Room",value:"dining room"},{label:"Kitchen",value:"kitchen"},{label:"Garage",value:"garage"},{label:"Mud Room",value:"mud room"},{label:"Basement",value:"basement"},{label:"Wine Cellar",value:"wine cellar"},{label:"Hallway",value:"hallway"},{label:"Library",value:"library"},{label:"Closet",value:"closet"}],this.multiple=!1,this.value=void 0,this.required=!1}render(){return t("ion-item",{style:{overflow:"visible"}},t("ion-label",{position:this.labelPosition},this.label),t("input",{required:this.required,onInput:i=>{var l;this.value=null===(l=null==i?void 0:i.target)||void 0===l?void 0:l.value,this.ionInput.emit({name:this.name,value:this.value,event:i})},onChange:i=>{var l;this.value=null===(l=null==i?void 0:i.target)||void 0===l?void 0:l.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}),t("datalist",{id:this.list||this.name},(this.options||[]).map((i=>t("option",null,null==i?void 0:i.value)))))}};export{e as floodteam_input_material,a as floodteam_input_room}