import {J,eo as f,eq as r}from'./main-WUGO6e7n.js';var i$1,h=J(()=>{i$1=(function(t){return t[t.ShowAll=0]="ShowAll",t[t.Default=1]="Default",t[t.Locked=2]="Locked",t[t.Disabled=3]="Disabled",t[t.Warning=4]="Warning",t[t.Expired=5]="Expired",t})(i$1||{});(function(t){function e(){return "ConnectionStatusFilter"}t.getClass=e;function l(a){switch(t[a]){case "ShowAll":return "lblShowAll";case "Default":return "lblDefault";case "Locked":return "lblLocked";case "Disabled":return "lblDisabled";case "Warning":return "lblWarning";case "Expired":return "lblExpired"}let r="";return typeof t.getClass=="function"&&(r=t.getClass()),r+"_"+t[a]}t.getEnumKey=l;})(i$1||(i$1={}));});var o,p=J(()=>{f();h();o=class t{toQueryString(){let e=[];if(this.filter!==null&&this.filter.toString()&&e.push("filter="+encodeURIComponent(this.filter.toString())),this.passwordStrengthValues)for(let l=0;l<this.passwordStrengthValues.length;l++)this.passwordStrengthValues[l]!==null&&e.push("passwordStrengthValues="+encodeURIComponent(this.passwordStrengthValues[l].toString()));if(this.passwordTemplate!==null&&this.passwordTemplate.toString()&&e.push("passwordTemplate="+encodeURIComponent(this.passwordTemplate.toString())),this.showAll!==null&&this.showAll.toString()&&e.push("showAll="+encodeURIComponent(this.showAll.toString())),this.showPwned!==null&&this.showPwned.toString()&&e.push("showPwned="+encodeURIComponent(this.showPwned.toString())),this.showVPNAnalysis!==null&&this.showVPNAnalysis.toString()&&e.push("showVPNAnalysis="+encodeURIComponent(this.showVPNAnalysis.toString())),this.statusFilter!==null&&this.statusFilter.toString()&&e.push("statusFilter="+encodeURIComponent(this.statusFilter.toString())),this.type!==null&&this.type.toString()&&e.push("type="+encodeURIComponent(this.type.toString())),this.vaultIds)for(let l=0;l<this.vaultIds.length;l++)this.vaultIds[l]!==null&&e.push("vaultIds="+encodeURIComponent(this.vaultIds[l].toString()));return this.key!==null&&this.key.toString()&&e.push("key="+encodeURIComponent(this.key.toString())),this.pageNumber!==null&&this.pageNumber.toString()&&e.push("pageNumber="+encodeURIComponent(this.pageNumber.toString())),this.pageSize!==null&&this.pageSize.toString()&&e.push("pageSize="+encodeURIComponent(this.pageSize.toString())),this.sortField!==null&&this.sortField.toString()&&e.push("sortField="+encodeURIComponent(this.sortField.toString())),this.sortOrder!==null&&this.sortOrder.toString()&&e.push("sortOrder="+encodeURIComponent(this.sortOrder.toString())),e.join("&")}constructor(e=null){this.clone=()=>new t(this),this.filter=r.manageDefaultValue(e,"filter",""),this.passwordStrengthValues=e&&e.passwordStrengthValues?e.passwordStrengthValues:[],this.passwordTemplate=r.manageDefaultValue(e,"passwordTemplate",""),this.showAll=r.manageDefaultValue(e,"showAll",!1),this.showPwned=r.manageDefaultValue(e,"showPwned",!1),this.showVPNAnalysis=r.manageDefaultValue(e,"showVPNAnalysis",!1),this.statusFilter=r.manageDefaultValue(e,"statusFilter",i$1.ShowAll),this.type=r.manageDefaultValue(e,"type",""),this.vaultIds=r.manageDefaultArrayValue(e,"vaultIds",void 0),this.key=r.manageDefaultValue(e,"key",""),this.pageNumber=r.manageDefaultValue(e,"pageNumber",0),this.pageSize=r.manageDefaultValue(e,"pageSize",0),this.sortField=r.manageDefaultValue(e,"sortField",""),this.sortOrder=r.manageDefaultValue(e,"sortOrder",1);}get statusFilterKey(){return i$1.getEnumKey(this.statusFilter)}};});export{h,i$1 as i,o,p};