import{h as e}from"./p-9f21f85f.js";import{r as s}from"./p-31e77e7b.js";import{B as r}from"./p-105f7627.js";class t extends r{constructor(e,s,r,t,i=1,n=-1/0,a=1/0){super(e,"number"),this.title=s,this.placeholder=r,this.description=t,this.step=i,this.min=n,this.max=a}showPreview(){return this.preview=!0,this}getDisplayValue(e){return e}}t.type="number",s("number",((s,r,t,i,n,a)=>e("dvn-field-input-number",{disabled:i,field:s,errors:t,onChange:e=>n(s,Number(e.detail)),onBlur:()=>a(s),value:r})));class i extends r{constructor(e,s,r,t=1,i=0,n=5){super(e,"range"),this.title=s,this.description=r,this.step=t,this.min=i,this.max=n}showPreview(){return this.preview=!0,this}getDisplayValue(e){return e}setInputType(e){return this.inputType=e,this}}i.type="range",s("range",((s,r,t,i,n,a)=>e("dvn-field-input-range",{disabled:i,field:s,errors:t,onChange:e=>n(s,Number(e.detail)),onBlur:()=>a(s),value:r})));class n extends r{constructor(e,s,r){super(e,"sectionHeader"),this.id=e,this.header=s,this.sectionDescription=r}}n.type="sectionHeader",s("sectionHeader",((s,r,t,i,n,a)=>e("dvn-field-input-section-header",{disabled:i,field:s,onChange:e=>n(s,e),onBlur:()=>a(s)})));export{t as N,i as R,n as S}