import{$ as o}from"./chunk-33PV2Q5J.js";var g=new o("SearchQueryConverter");var c=class{constructor(e,t,s,i,a,h){this.code=e,this.filterDefaultName=t,this.filterName=s,this.filterDescription=i,this.rank=a,this.searchQueryParam=h,this.changed=!1}get codeProxy(){return this.code.replace(".","")}get name(){return this.filterName?this.filterName:this.filterDefaultName?this.filterDefaultName:this.code}},u=class extends c{constructor(e,t,s="** name not specified **",i=null,a=500,h,l=null,n=null){super(e,t,s,i,a,h),this.searchQueryParam=h,this.from=l,this.to=n}clear(){this.from=null,this.to=null,this.changed=!1}},f=class extends c{constructor(e,t,s="** name not specified **",i=null,a=500,h,l=[]){super(e,t,s,i,a,h),this.searchQueryParam=h,this.filterValues=l,this.filterValues.forEach(n=>n.onChange=()=>this.changed=!0)}clear(){this.filterValues.forEach(e=>e.clear()),this.changed=!1}},d=class{constructor(e,t="",s=!1){this.defaultValue=e,this._value=t,this._checked=s,this.onChange=()=>{}}get value(){return this._value}set value(e){this._value=e,this.onChange()}get checked(){return this._checked}set checked(e){this._checked=e,this.onChange()}clear(){this._checked=!1}},m=class{constructor(e,t,s=null){this.changeName=e,this.filter=t,this.value=s}};export{u as a,f as b,d as c,m as d,g as e};