@fox-js/foxui-pc 4.0.1-2 → 4.0.1-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(S,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("@fox-js/fox"),require("@fox-js/validator"),require("element-plus"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/fox","@fox-js/validator","element-plus","@fox-js/i18n"],a):(S=typeof globalThis<"u"?globalThis:S||self,a(S.FoxUI={},S.Vue,S.fox,S.Schema,S.elementPlus,S.i18n))})(this,function(S,a,H,Qn,b,Ee){"use strict";/*!
2
- * @fox-js/foxui-desktop v4.0.0 Thu Nov 10 2022 12:55:24 GMT+0800 (中国标准时间)
3
- */const xe=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(Qn);/*!
1
+ (function(d,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue"),require("@fox-js/fox"),require("@fox-js/validator"),require("element-plus"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/fox","@fox-js/validator","element-plus","@fox-js/i18n"],l):(d=typeof globalThis<"u"?globalThis:d||self,l(d.FoxUI={},d.Vue,d.fox,d.Schema,d.elementPlus,d.i18n))})(this,function(d,l,L,Sr,f,me){"use strict";/*!
2
+ * @fox-js/foxui-desktop v4.0.0 Tue Nov 15 2022 19:01:21 GMT+0800 (中国标准时间)
3
+ */const Ce=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(Sr);/*!
4
4
  * @fox-js/big-decimal v4.0.1-3 Wed Nov 02 2022 21:59:56 GMT+0800 (中国标准时间)
5
- */function ze(e,t="0"){let r=0,n=-1;e[0]=="-"&&(r++,n=1,e=e.substring(1),e.length),t[0]=="-"&&(r++,n=2,t=t.substring(1),t.length),e=J(e),t=J(t),[e,t]=ut(J(e),J(t)),r==1&&(n==1?e=st(e):t=st(t));let i=It(e,t);return r?r==2?"-"+J(i):e.length<i.length?J(i.substring(1)):"-"+J(st(i)):J(i)}function st(e){let t="",r=e.length,n=e.split(".")[1],i=n?n.length:0;for(let u=0;u<r;u++)e[u]>="0"&&e[u]<="9"?t+=9-parseInt(e[u]):t+=e[u];let o=i>0?"0."+new Array(i).join("0")+"1":"1";return It(t,o)}function J(e){let t=e.split(".");for(t[0]||(t[0]="0");t[0][0]=="0"&&t[0].length>1;)t[0]=t[0].substring(1);return t[0]+(t[1]?"."+t[1]:"")}function ut(e,t){let r=e.split("."),n=t.split("."),i=r[0].length,o=n[0].length;return i>o?n[0]=new Array(Math.abs(i-o)+1).join("0")+(n[0]?n[0]:""):r[0]=new Array(Math.abs(i-o)+1).join("0")+(r[0]?r[0]:""),i=r[1]?r[1].length:0,o=n[1]?n[1].length:0,(i||o)&&(i>o?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(i-o)+1).join("0"):r[1]=(r[1]?r[1]:"")+new Array(Math.abs(i-o)+1).join("0")),e=r[0]+(r[1]?"."+r[1]:""),t=n[0]+(n[1]?"."+n[1]:""),[e,t]}function It(e,t){[e,t]=ut(e,t);let r="",n=0;for(let i=e.length-1;i>=0;i--){if(e[i]==="."){r="."+r;continue}let o=parseInt(e[i])+parseInt(t[i])+n;r=o%10+r,n=Math.floor(o/10)}return n?n.toString()+r:r}var G=(e=>(e[e.CEILING=0]="CEILING",e[e.DOWN=1]="DOWN",e[e.FLOOR=2]="FLOOR",e[e.HALF_DOWN=3]="HALF_DOWN",e[e.HALF_EVEN=4]="HALF_EVEN",e[e.HALF_UP=5]="HALF_UP",e[e.UNNECESSARY=6]="UNNECESSARY",e[e.UP=7]="UP",e))(G||{});function qe(e,t=0,r=G.HALF_EVEN){if(r===G.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let n=!1;e[0]==="-"&&(n=!0,e=e.substring(1));let i=e.split("."),o=i[0],u=i[1];if(t<0){if(t=-t,o.length<=t)return"0";{let c=o.substr(0,o.length-t);return e=c+"."+o.substr(o.length-t)+u,c=qe(e,0,r),(n?"-":"")+c+new Array(t+1).join("0")}}if(t==0)return o.length,Rt(i[1],o,n,r)?(n?"-":"")+ct(o):(n?"-":"")+o;if(i[1]){if(i[1].length<t)return(n?"-":"")+o+"."+i[1]+new Array(t-i[1].length+1).join("0")}else return(n?"-":"")+o+"."+new Array(t+1).join("0");u=i[1].substring(0,t);let l=i[1].substring(t);return l&&Rt(l,u,n,r)&&(u=ct(u),u.length>t)?(n?"-":"")+ct(o,parseInt(u[0]))+"."+u.substring(1):(n?"-":"")+o+"."+u}function Rt(e,t,r,n){if(!e||e===new Array(e.length+1).join("0")||n===G.DOWN||!r&&n===G.FLOOR||r&&n===G.CEILING)return!1;if(n===G.UP||r&&n===G.FLOOR||!r&&n===G.CEILING)return!0;let i="5"+new Array(e.length).join("0");if(e>i)return!0;if(e<i)return!1;switch(n){case G.HALF_DOWN:return!1;case G.HALF_UP:return!0;case G.HALF_EVEN:default:return parseInt(t[t.length-1])%2==1}}function ct(e,t=0){t||(t=1),typeof e=="number"&&e.toString();let r=e.length-1,n="";for(let i=r;i>=0;i--){let o=parseInt(e[i])+t;o==10?(t=1,o=0):t=0,n+=o}return t&&(n+=t),n.split("").reverse().join("")}function ft(e,t){e=e.toString(),t=t.toString();let r=0;e[0]=="-"&&(r++,e=e.substr(1)),t[0]=="-"&&(r++,t=t.substr(1)),e=Be(e),t=Be(t);let n=0,i=0;e.indexOf(".")!=-1&&(n=e.length-e.indexOf(".")-1),t.indexOf(".")!=-1&&(i=t.length-t.indexOf(".")-1);let o=n+i;if(e=Be(e.replace(".","")),t=Be(t.replace(".","")),e.length<t.length){let f=e;e=t,t=f}if(t=="0")return"0";let u=t.length,l=0,c=[],s=u-1,h="";for(let f=0;f<u;f++)c[f]=e.length-1;for(let f=0;f<2*e.length;f++){let O=0;for(let q=t.length-1;q>=s&&q>=0;q--)c[q]>-1&&c[q]<e.length&&(O+=parseInt(e[c[q]--])*parseInt(t[q]));O+=l,l=Math.floor(O/10),h=O%10+h,s--}return h=Be(er(h,o)),r==1&&(h="-"+h),h}function er(e,t){return t==0?e:(e=t>=e.length?new Array(t-e.length+1).join("0")+e:e,e.substr(0,e.length-t)+"."+e.substr(e.length-t,t))}function Be(e){for(;e[0]=="0";)e=e.substr(1);if(e.indexOf(".")!=-1)for(;e[e.length-1]=="0";)e=e.substr(0,e.length-1);return e==""||e=="."?e="0":e[e.length-1]=="."&&(e=e.substr(0,e.length-1)),e[0]=="."&&(e="0"+e),e}function dt(e,t,r=8){if(t==0)throw new Error("Cannot divide by 0");if(e=e.toString(),t=t.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let n=0;t[0]=="-"&&(t=t.substring(1),n++),e[0]=="-"&&(e=e.substring(1),n++);var i=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(t=J(t.replace(".","")),i>=0){let s=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(s==-1)e=J(e+new Array(i+1).join("0"));else if(i>s)e=e.replace(".",""),e=J(e+new Array(i-s+1).join("0"));else if(i<s){e=e.replace(".","");let h=e.length-s+i;e=J(e.substring(0,h)+"."+e.substring(h))}else i==s&&(e=J(e.replace(".","")))}let o=0,u=t.length,l="",c=e.indexOf(".")>-1&&e.indexOf(".")<u?e.substring(0,u+1):e.substring(0,u);if(e=e.indexOf(".")>-1&&e.indexOf(".")<u?e.substring(u+1):e.substring(u),c.indexOf(".")>-1){let s=c.length-c.indexOf(".")-1;c=c.replace(".",""),u>c.length&&(s+=u-c.length,c=c+new Array(u-c.length+1).join("0")),o=s,l="0."+new Array(s).join("0")}for(r=r+2;o<=r;){let s=0;for(;parseInt(c)>=parseInt(t);)c=ze(c,"-"+t),s++;l+=s,e?(e[0]=="."&&(l+=".",o++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(o||(l+="."),o++,c=c+"0")}return(n==1?"-":"")+J(qe(l,r-2))}function ht(e,t){return e=e.toString(),t=t.toString(),t=gt(t),ze(e,t)}function gt(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Mt(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),Dt(e),Dt(t);let r="";e[0]=="-"&&(r="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let n=ht(e,ft(t,qe(dt(e,t),0,G.FLOOR)));return r+n}function Dt(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function kt(e,t){let r=!1;if(e[0]=="-"&&t[0]!="-")return-1;if(e[0]!="-"&&t[0]=="-")return 1;if(e[0]=="-"&&t[0]=="-"&&(e=e.substr(1),t=t.substr(1),r=!0),[e,t]=ut(e,t),e.localeCompare(t)==0)return 0;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return e[n]>t[n]?r?-1:1:r?1:-1;return 0}class F{value;static RoundingModes=G;static validate(t){if(t){if(t=t.toString(),isNaN(t))throw Error("Parameter is not a number: "+t);t[0]=="+"&&(t=t.substring(1))}else t="0";if(t.startsWith(".")?t="0"+t:t.startsWith("-.")&&(t="-0"+t.substr(1)),/e/i.test(t)){let[r,n]=t.split(/[eE]/);r=J(r);let i="";r[0]=="-"&&(i="-",r=r.substring(1)),r.indexOf(".")>=0?(n=parseInt(n)+r.indexOf("."),r=r.replace(".","")):n=parseInt(n)+r.length,r.length<n?t=i+r+new Array(n-r.length+1).join("0"):r.length>=n&&n>0?t=i+J(r.substring(0,n))+(r.length>n?"."+r.substring(n):""):t=i+"0."+new Array(-n+1).join("0")+r}return t}constructor(t="0"){this.value=F.validate(t)}getValue(){return this.value}static getPrettyValue(t,r,n){if(!(r||n))r=3,n=",";else if(!(r&&n))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");t=F.validate(t);let i=t.charAt(0)=="-";i&&(t=t.substring(1));var o=t.indexOf(".");o=o>0?o:t.length;for(var u="",l=o;l>0;)l<r?(r=l,l=0):l-=r,u=t.substring(l,l+r)+(l<o-r&&l>=0?n:"")+u;return(i?"-":"")+u+t.substring(o)}getPrettyValue(t,r){return F.getPrettyValue(this.value,t,r)}static round(t,r=0,n=G.HALF_EVEN){if(t=F.validate(t),isNaN(r))throw Error("Precision is not a number: "+r);return qe(t,r,n)}round(t=0,r=G.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new F(qe(this.value,t,r))}static floor(t){return t=F.validate(t),t.indexOf(".")===-1?t:F.round(t,0,G.FLOOR)}floor(){return this.value.indexOf(".")===-1?new F(this.value):new F(this.value).round(0,G.FLOOR)}static ceil(t){return t=F.validate(t),t.indexOf(".")===-1?t:F.round(t,0,G.CEILING)}ceil(){return this.value.indexOf(".")===-1?new F(this.value):new F(this.value).round(0,G.CEILING)}static add(t,r){return t=F.validate(t),r=F.validate(r),ze(t,r)}add(t){return new F(ze(this.value,t.getValue()))}static subtract(t,r){return t=F.validate(t),r=F.validate(r),ht(t,r)}subtract(t){return new F(ht(this.value,t.getValue()))}static multiply(t,r){return t=F.validate(t),r=F.validate(r),ft(t,r)}multiply(t){return new F(ft(this.value,t.getValue()))}static divide(t,r,n){return t=F.validate(t),r=F.validate(r),dt(t,r,n)}divide(t,r){return new F(dt(this.value,t.getValue(),r))}static modulus(t,r){return t=F.validate(t),r=F.validate(r),Mt(t,r)}modulus(t){return new F(Mt(this.value,t.getValue()))}static compareTo(t,r){return t=F.validate(t),r=F.validate(r),kt(t,r)}compareTo(t){return kt(this.value,t.getValue())}static negate(t){return t=F.validate(t),gt(t)}negate(){return new F(gt(this.value))}}function tr(e,t){return F.multiply(`${e}`,`${t}`)}function nr(e,t,r=8){return F.divide(`${e}`,`${t}`,r)}function rr(e,t){return e=`${e}`,t=`${t}`,F.compareTo(e,t)}function ar(e){return F.negate(e)}function qt(e,t=-1,r=!1,n=3,i=","){let o=`${e}`;if(o.length==0||o==="-")return"";let u=o.charAt(0);u=="-"?o=o.substring(1):u="";let l=o,c="",s=o.indexOf(".");s!=-1&&(l=o.substring(0,s),c=o.substring(s+1)),t!=-1&&(t<c.length?c=c.substring(0,t):r&&t>c.length&&(c=c.padEnd(t,"0")));let h;if(n>0){let f="",O=l.split("").reverse();for(let q=0;q<O.length;q++)f+=O[q]+((q+1)%n==0&&q+1!=O.length?i:"");c.length==0?h=`${u}${f.split("").reverse().join("")}`:h=`${u}${f.split("").reverse().join("")}.${c}`}else c.length==0?h=`${u}${l}`:h=`${u}${l}.${c}`;return h}function ir(e){let t=`${e}`,r=t.charAt(0);r=="-"?t=t.substring(1):r="";let n=t.replace(/[^\d\.-]/g,"");return`${r}${n}`}const _e=typeof window<"u",or=_e&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Bt(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ce=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function lr(e){return ce(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ce(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function sr(e){if(e==null)return 0;let t=`${e}`;if(t.length==0)return 0;t.charAt(0)=="-"&&(t=t.substring(1)),t=t.replace(/[^\d\.-]/g,"");const r=t.indexOf(".");return r==-1?t.length:r}function ur(e){if(e==null)return 0;const t=`${e}`;if(t.length==0)return 0;const r=t.indexOf(".");return r==-1?0:t.length-(r+1)}function _t(e,t,r){const n=e.indexOf(t);return n===-1?e:t==="-"&&n!==0?e.slice(0,n):e.slice(0,n+1)+e.slice(n).replace(r,"")}function cr(e,t=!0,r=!0){t?e=_t(e,".",/\./g):e=e.replace(/\./g,""),r?e=_t(e,"-",/-/g):e=e.replace(/-/,"");const n=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function fr(e,t){return typeof e=="object"||Array.isArray(e)?t.findIndex(r=>{if(H.isEqual(e,r))return!0}):t.indexOf(e)}function dr(e,t){if(typeof e=="object"||Array.isArray(e)){let r=t.reverse().findIndex(n=>{if(H.isEqual(e,n))return!0});return r!==-1&&(r=t.length-1-r),r}return t.lastIndexOf(e)}function Lt(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function hr(e,...t){const r={};return t.forEach(n=>{for(const i in n)r[i]=e[i]}),r}function ie(e,...t){const r=[];t.forEach(i=>{Reflect.apply([].push,r,Reflect.ownKeys(i))});const n={};for(const i in e)r.includes(i)||(n[i]=e[i]);return n}const gr=(e,t,r)=>{const n=Object.assign({},e),i=Object.assign({},r);return Object.keys(t).length>0?(Object.keys(n).forEach(o=>{i.hasOwnProperty(o)?(typeof i[o]=="function"&&(n[o]=i[o](t)),typeof i[o]=="string"&&(n[o]=t[i[o]])):t[o]&&(n[o]=t[o])}),n):e},Y=Symbol("BroadcastKey");class mt{parent;children=[];callbacks=new Map;instance=null;name;constructor(t,r,n){this.parent=t,this.instance=r,this.name=n,t!==null&&t.addChild(this)}addChild(t){this.children.push(t)}removeChild(t){const r=this.children.findIndex(n=>t===n);r!==-1&&this.children.splice(r,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.instance=null}emit(t,r,...n){if(t.maxLevel!==void 0&&t.maxLevel!==null&&t.maxLevel>0){if(t.level=t.level??0,t.level>t.maxLevel)return[];t.level++}let i=!1;!t.name||t.name==="*"?i=!0:!t.name||t.name==="+"?(i=!1,t.name="*"):Bt(t.name)&&this.name&&t.name.test(this.name)?i=!0:typeof t.name=="function"?i=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(i=!0);const o=[];if(i){const u=this.callbacks.get(r);if(typeof u=="function"){const s=Reflect.apply(u,this.instance?.proxy,[...n]);s!=null&&o.push(s)}const l=this.instance?.exposed??{};if(typeof l[r]=="function"){const s=Reflect.apply(l[r],l,[...n]);s!=null&&o.push(s)}const c=this.instance?.proxy??{};if(typeof c[r]=="function"){const s=Reflect.apply(c[r],c,[...n]);s!=null&&o.push(s)}}return this.children.forEach(u=>{const l=Reflect.apply(u.emit,u,[{...t},r,...n]);l!=null&&Array.isArray(l)&&Reflect.apply([].push,o,[...l])}),o}emitToChildren(t,r,...n){const i=[];return this.children.forEach(o=>{const u=Reflect.apply(o.emit,o,[{...t},r,...n]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,i,[...u])}),i}on(t,r){this.callbacks.set(t,r)}}function yt(e,t,r,n){const i=new mt(t,e,r);if(n&&typeof n=="object")for(const o in n)i.on(o,n[o]);return i}function mr(e,t){const r=a.getCurrentInstance();if(r===null)return null;const n=r.proxy;if(n[Y])return n[Y];const i=a.inject(Y,null),o=new mt(i,r,e);if(t&&typeof t=="object")for(const u in t)o.on(u,t[u]);return n[Y]=o,a.provide(Y,o),a.onUnmounted(()=>{o.destroy(),n[Y]=void 0}),o}function Le(e=null){return e||(e=a.getCurrentInstance()?.proxy??null),e?e[Y]??a.inject(Y,null):a.inject(Y,null)}class yr{error(t,r,n){const i=r,o=Le(r);o?o.emit({name:"*"},"setErrorTip",t):typeof i.setErrorTip=="function"&&i.setErrorTip(t)}reset(t,r){const n=t,i=Le(t);i?i.emit({name:"*"},"setErrorTip",""):typeof n.setErrorTip=="function"&&n.setErrorTip("")}success(t,r){const n=t,i=Le(t);i?i.emit({name:"*"},"setErrorTip",""):typeof n.setErrorTip=="function"&&n.setErrorTip("")}decorate(t,r,n,i){Array.isArray(t)||(t=[t]);const o=n,u=Le(n),l=r.find(s=>s.required===!0||s.type==="required"&&s.required!==!1),c=t.find(s=>s.required===!0||s.type==="required"&&s.required!==!1);!l&&c?u?u.emit({name:"*"},"setRequired",!0):typeof o.setRequired=="function"&&o.setRequired(!0):l&&!c&&(u?u.emit({name:"*"},"setRequired",!1):typeof o.setRequired=="function"&&o.setRequired(!1),this.reset(n,i))}getValue(t,r){return t.modelValue}}let jt=new yr;function pr(e){jt=e}function br(e,t){xe.default.setValidator(e,t)}function $r(e){xe.default.deleteValidator(e)}let Pt=["blur","clear"];function wr(e){Pt=e}function Ht(){return Pt}let Kt=["focus","change"];function Sr(e){Kt=e}function Ft(){return Kt}function vr(e){xe.default.messages(e)}function je(...e){const t=[];return e.forEach(r=>{r.forEach(n=>{const i=t.findIndex(o=>o.type===n.type);i!==-1&&t.splice(i,1),t.push(n)})}),t}function We(e){return e.forEach(t=>{t.type==="required"&&(t.required===null||t.required===void 0)&&(t.required=!0),!t.type&&(t.required===!0||t.required===!1)&&(t.type="required")}),e}const fe=Symbol("ValidateSchemaKey");class zt{parent=null;validators={};attrRules=[];rules=[];descriptor;instance;scope=null;constructor(t,r,n){this.parent=t,this.descriptor=r,this.instance=n,(this.descriptor.validate??!0)&&this.init()}init(){if(!this.descriptor.valueName)return;let t=this.instance.proxy;if(!t)return;let r=t.$attrs;!r||(this.scope=a.effectScope(),this.scope.run(()=>{a.watchEffect(()=>{const n=We(je(this.attrRules,this.rules)),i=[];for(let u in r){let l=r[u];if(this.hasValidator(u,!0)){if(l===!1)continue;let s={type:u};l!==null&&typeof l=="object"&&Object.assign(s,l),i.push(s);continue}let c=this.getValidator(u);if(c!==null){let s={type:u,validator:c};i.push(s)}}this.attrRules=We(i);const o=je(this.attrRules,this.rules);a.nextTick(()=>{this.decorate(o,n)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(t,...r){const n=this.descriptor.validateHandler;if(n&&typeof n[t]=="function")return Reflect.apply(n[t],n,[...r]);const i=jt;return i&&typeof i[t]=="function"?Reflect.apply(i[t],i,[...r]):null}decorate(t,r){let n=this.instance.proxy;n!==null&&this.execHandler("decorate",t,r,n,this.instance)}success(){let t=this.instance.proxy;t!==null&&this.execHandler("success",t,this.instance)}error(t){let r=this.instance.proxy;r!==null&&this.execHandler("error",t,r,this.instance)}getValue(){let t=this.instance.proxy;return t===null?null:this.execHandler("getValue",t,this.instance)}setValidator(t,r,n=!1){n?xe.default.setValidator(t,r):this.validators[t]=r}getValidator(t){let r=this.validators[t]??null;return r||(r=this.parent?.getValidator(t)??null),r}deleteValidator(t,r=!1){r?xe.default.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,r=!1){if(r)return xe.default.hasValidator(t);{let n=Reflect.has(this.validators,t);return!n&&this.parent!==null&&(n=this.parent.hasValidator(t,!1)),n}}setRule(t){const r=je(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=We(t):this.rules=We([t]);const n=je(this.attrRules,this.rules);a.nextTick(()=>{this.decorate(n,r)})}clear(){let t=this.instance.proxy;t!==null&&this.execHandler("reset",t,this.instance)}validate(){if(this.descriptor.validate??!0){let r=je(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(r.length>0){const i={[`${n}`]:r};if(!this.instance.proxy)return Promise.resolve({pass:!0});const u=this.getValue(),l={[`${n}`]:u},c=new xe.default(i),s=this.instance?.proxy??l;return c.validate(l,{context:s}).then(f=>{if(f.pass)this.success();else{let O="error";Array.isArray(f.errors)&&f.errors.length>0&&(O=f.errors[0].message??O,f.errors=[f.errors[0]],f.errors[0].ref=s),this.error(O)}return f}).catch(f=>{const O=f.message??`${f}`;return this.error(O),f})}}return Promise.resolve({pass:!0})}}function pt(e,t,r){if(r.valueName=r.valueName??"modelValue",r.valueType=r.valueType??"string",!r.validateHandler&&r.valueName!=="modelValue"){const i=r.valueName;r.validateHandler={getValue(o,u){return o[i]}}}return new zt(t,r,e)}const Wt=Symbol("EventEmitterKey");class Er{register=new Map;proxy;constructor(t){this.proxy=t}destroy(){this.proxy=null,this.register.clear()}off(t,r){let n=this.register.get(t);if(n&&Array.isArray(n)){let i=n.findIndex(o=>o===r);i!==-1&&n.splice(i,1)}}on(t,r){let n=this.register.get(t);n||(n=new Array,this.register.set(t,n)),n.push(r)}emit(t,...r){const n=this.register.get(t);n&&n.forEach(i=>{try{Reflect.apply(i,null,[t,...r])}catch(o){console.error(o.message,o)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...r])}}function xr(e,t){let r=0;return function(...n){const i=Date.now();i-r>t&&(Reflect.apply(e,{},[...n]),r=i)}}function bt(e,t){let r,n=null;return function(...i){n=i,r||(r=setTimeout(()=>{r=null,Reflect.apply(e,{},[...n??[]])},t))}}const me=Symbol("DomainKey");class $t{_parent=null;get parent(){return this._parent}set parent(t){this._parent=t}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(t){this._broadcast=t}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(t){this._validateSchema=t}_props=a.reactive({});constructor(t=null){this._name=t}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(t,r=[]){for(const n in t){const i=t[n];r.length>0&&r.indexOf(i)!==-1||(this._props[n]=i)}}has(t){if(Reflect.has(this._props,t)){const r=this._props[t];if(r!=null)return!0}return this.parent==null?!1:this.parent.has(t)}delete(t){Reflect.deleteProperty(this._props,t)}set(t,r){this._props[t]=r}get(t,r){if(Reflect.has(this._props,t)){const n=this._props[t];if(n!=null)return n}return this.parent==null?r:this.parent.get(t,r)}getForParent(t,r){return this.parent==null?r:this.parent.get(t,r)}getForSelf(t){return this._props[t]}getAll(t){const r=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,t)){const i=n._props[t];r.push(i)}n=n._parent}return r}}const Cr=new $t;function Pe(){return Cr}function ye(e=null){e||(e=a.getCurrentInstance());const t=e?.proxy;return t?t[me]??a.inject(me,null):a.inject(me,null)}const Gt=Symbol("OriginalDateKey");function wt(e,t,r=[],n){const i=a.getCurrentInstance();let o=a.inject(me,null);o===null&&(o=Pe());const u=e||t.prop||t.name,l=new $t(u);l.parent=o,a.isReactive(t)?a.watchEffect(()=>{l.merge(t,r)}):l.merge(t,r);const c=i?.proxy;c[me]=l,a.provide(me,l);let s=null,h=null;if(i!==null){const f=a.inject(Y,null);s=yt(i,f,u,n),l.broadcast=s,c[Y]=s,a.provide(Y,s),c.broadcast=(p,y,...$)=>Reflect.apply(s.emit,s,[p,y,...$]);const O=a.inject(fe,null);h=pt(i,O,{componentName:""}),l.validateSchema=h,c[fe]=h,a.provide(fe,h),c.validate=(p=!0)=>{const y=[];let $=null;if(p===!0)$={name:"*"};else if(Array.isArray(p)&&p.length>0){const x=p;$={name:R=>R?x.indexOf(R)!==-1:!1}}else if(p!=null&&typeof p=="object"){const x=p;if(Array.isArray(x.include)&&x.include.length>0){const R=x.include;$={name:V=>V?R.indexOf(V)!==-1:!1}}else if(Array.isArray(x.exclude)&&x.exclude.length>0){const R=x.exclude;$={name:V=>V?R.indexOf(V)===-1:!1}}}if($){const x=s?.emitToChildren($,"validate",!1);x&&Reflect.apply([].push,y,x)}return y.length==1?y[0]:y.length>1?Promise.all(y).then(x=>{let R=[];return x.forEach(V=>{V.pass===!1&&Array.isArray(V.errors)&&(R=[...R,...V.errors])}),R.length>0?{pass:!1,errors:R}:{pass:!0}}):Promise.resolve({pass:!0})},c.setNameValidateRules=(p,y=!0)=>{if(y){const $={name:x=>Reflect.ownKeys(p).includes(x)};s?.emitToChildren($,"setNameValidateRules",p,!1)}},c.clearValidate=(p=!0)=>{let y=null;if(p===!0)y={name:"*"};else if(Array.isArray(p)&&p.length>0){const $=p;y={name:x=>x?$.indexOf(x)!==-1:!1}}else if(p!=null&&typeof p=="object"){const $=p;if(Array.isArray($.include)&&$.include.length>0){const x=$.include;y={name:R=>R?x.indexOf(R)!==-1:!1}}else if(Array.isArray($.exclude)&&$.exclude.length>0){const x=$.exclude;y={name:R=>R?x.indexOf(R)===-1:!1}}}y&&s?.emitToChildren(y,"clearValidate",!1)};const q={};t.modelValue&&H.extend(!0,q,a.toRaw(t.modelValue)),c[Gt]=q,c.resetFields=p=>{if(!t.modelValue)return;const y={};if(H.extend(!0,y,c[Gt]??{}),Array.isArray(p))p.forEach($=>{t.modelValue[$]=y[$]});else if(p&&Array.isArray(p.include))(p.include??[]).forEach(x=>{t.modelValue[x]=y[x]});else if(p&&Array.isArray(p.exclude)){let $=p.exclude??[];Reflect.ownKeys(y).forEach(x=>{$.includes(x)||(t.modelValue[x]=y[x])})}else Object.assign(t.modelValue,y);c.clearValidate(p)}}return a.onUnmounted(()=>{l.destroy(),c[me]=void 0,s!==null&&(s.destroy(),c[Y]=void 0),h!==null&&(h.destroy(),c[fe]=void 0)}),l}function re(e,t,r){const n=a.getCurrentInstance(),i=t??"",o=a.inject(Y,null),u=yt(n,o,i,r),l=n?.proxy;l[Y]=u,a.provide(Y,u),l.broadcast=(p,y,...$)=>Reflect.apply(u.emit,u,[p,y,...$]);const c=a.inject(fe,null);e.fieldName=e.fieldName??i;const s=pt(n,c,e);l[fe]=s,a.provide(fe,s),l.validate=(p=null)=>{const y=[];if(!Array.isArray(p)||p.indexOf(i)!==-1){const x=s?.validate();y.push(x)}let $=null;if(p===!0)$={name:"*"};else if(Array.isArray(p)&&p.length>0){const x=p;$={name:R=>R?x.indexOf(R)!==-1:!1}}else if(p!=null&&typeof p=="object"){const x=p;if(Array.isArray(x.include)&&x.include.length>0){const R=x.include;$={name:V=>V?R.indexOf(V)!==-1:!1}}else if(Array.isArray(x.exclude)&&x.exclude.length>0){const R=x.exclude;$={name:V=>V?R.indexOf(V)===-1:!1}}}if($){const x=u.emitToChildren($,"validate",!1);Reflect.apply([].push,y,x)}return y.length==1?y[0]:y.length>1?Promise.all(y).then(x=>{let R=[];return x.forEach(V=>{V.pass===!1&&Array.isArray(V.errors)&&(R=[...R,...V.errors])}),R.length>0?{pass:!1,errors:R}:{pass:!0}}):Promise.resolve({pass:!0})},l.setValidateRule=p=>s?.setRule(p),l.setNameValidateRules=(p,y=!1)=>{const $=p[i];if($&&s?.setRule($),y){const x={name:R=>Reflect.ownKeys(p).includes(R)};u.emitToChildren(x,"setNameValidateRules",p,!1)}},l.clearValidate=(p=null)=>{(!Array.isArray(p)||p.indexOf(t??"")!==-1)&&s?.clear();let y=null;if(p===!0)y={name:"*"};else if(Array.isArray(p)&&p.length>0){const $=p;y={name:x=>x?$.indexOf(x)!==-1:!1}}else if(p!=null&&typeof p=="object"){const $=p;if(Array.isArray($.include)&&$.include.length>0){const x=$.include;y={name:R=>R?x.indexOf(R)!==-1:!1}}else if(Array.isArray($.exclude)&&$.exclude.length>0){const x=$.exclude;y={name:R=>R?x.indexOf(R)===-1:!1}}}y&&u.emitToChildren(y,"clearValidate",!1)};const h=new Er(l);l[Wt]=h;const f=bt((p="validate")=>{p==="reset"?s.clear():s.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Ht()).forEach(p=>{h.on(p,y=>{f("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Ft()).forEach(p=>{h.on(p,y=>{f("reset")})}),a.onUnmounted(()=>{u.destroy(),l[Y]=void 0,s.destroy(),l[fe]=void 0,h.destroy(),l[Wt]=void 0}),{broadcast:u,validateSchema:s,emitEvent:(p,...y)=>{Reflect.apply(h.emit,h,[p,...y])},onEvent:(p,y)=>{Reflect.apply(h.on,h,[y])},offEvent:(p,y)=>{Reflect.apply(h.off,h,[y])}}}const ee=(e,t=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&t<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${U(e,t)}px`:"";function U(e,t=-1){if(typeof e=="number")return e<1?e*t:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let r=e.indexOf("px");if(r!==-1)return Number(e.substring(0,r));if(r=e.indexOf("rem"),r!==-1){let i=Number(e.substring(0,r)),o=1;if(_e){const{fontSize:u}=window.getComputedStyle(document.documentElement,null),l=u.indexOf("px");l>0&&(o=Number(u.substring(0,l)))}return i*=o,i}if(r=e.indexOf("%"),r!==-1)return Number(e.substring(0,r))*t;const n=Number(e);return isNaN(n)?0:n}const pe="PageStateKey";function oe(e){const t={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(t.top=U(e.top)),e.left!==null&&e.left!==void 0&&(t.left=U(e.left)),e.bottom!==null&&e.bottom!==void 0&&(t.bottom=U(e.bottom)),e.right!==null&&e.right!==void 0&&(t.right=U(e.right))),t}function St(e,t,r={},n=!0,i=-1,o=-1,u=0,l=0){e.headerHeight=U(r.headerHeight??t.headerHeight),e.headerPadding=oe(r.headerPadding??t.headerPadding),e.footerHeight=U(r.footerHeight??t.footerHeight),e.footerPadding=oe(r.footerPadding??t.footerPadding),e.contentPadding=oe(r.contentPadding??t.contentPadding),n&&(e.height=U(r.height??t.height,o)-U(u,o)-U(l,o),e.width=U(r.width??t.width,i))}function Yt(e,t={}){const r={top:null,left:null,bottom:null,right:null},n={width:0,height:0,headerHeight:0,headerPadding:{...r},footerHeight:0,footerPadding:{...r},contentPadding:{...r},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},i=Object.assign(e.get("safeAreaInset")??{},t.safeAreaInset??{});i&&(n.safeAreaTop=U(i.top),n.safeAreaBottom=U(i.bottom),n.safeAreaLeft=U(i.left),n.safeAreaRight=U(i.right));const o=e.get("pageLayout");if(!o)return null;const u=e.get("rootWidth")??-1,l=e.get("rootHeight")??-1,c=e.get("headerBarHeight")??0,s=e.get("footerBarHeight")??0;St(n,o,t,!0,u,l,c,s);const h=a.reactive(n),f=e.getForParent(pe);f&&(n.height=Ze(e,f),n.width=Xe(e,f),a.watch([()=>f.height,()=>f.width,()=>f.contentPadding,()=>f.headerMounted,()=>f.footerMounted],()=>{h.height=Ze(e,f),h.width=Xe(e,f)}));const O=!f;return a.watch([()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([q,p=-1,y=-1,$=0,x=0])=>{St(h,q,t,O,p,y,$,x)}),e.set(pe,h),h}function Ge(e){return e.get(pe)}function Ye(e,t){return t=t??e.get(pe),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function Ue(e,t){return t=t??e.get(pe),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function Ze(e,t){if(t=t??e.get(pe),t){const r=Ye(e,t),n=Ue(e,t);return t.height-r-n-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function Xe(e,t){return t=t??e.get(pe),t?t.width-(t.contentPadding.left??0)-(t.contentPadding.right??0):0}function Nr(e,t){const r=e.get("isInnerPage");return typeof r=="function"?Reflect.apply(r,{},[t,e]):!1}function Ar(e){return!!e.getForParent(pe)}var Je=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(Je||{});function vt(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function He(e,t,r=1,n){const i=ye();return i==null?e:r===0?a.computed(()=>{const o=i.getAll(t);for(let l=o.length-1;l>=0;l--){const c=o[l];if(vt(c,n))return c}const u=e.value;return vt(u,n)?u:null}):a.computed(()=>{const o=e.value;return vt(o,n)?o:i?.get(t)})}function de(e){return He(e,"readonly",0,function(r){return H.toBoolean(r)})}function he(e){return He(e,"disabled",0,function(r){return H.toBoolean(r)})}function Q(e,t="modelValue",r){const n=a.toRef(e,t);let i=n.value;typeof r=="function"&&(i=r(n.value));const o=a.ref(i);return a.watch(n,u=>{if(typeof r=="function"){const l=r(u);l!==o.value&&(o.value=l)}else u!==o.value&&(o.value=u)}),o}const Ut=new Map,Qe=new Map;let Et=null;function Or(e){Et=e}function Zt(e,t,r){if(r){let n=Qe.get(r);n||(n=new Map,Qe.set(r,n)),n.set(e,t)}else Ut.set(e,t)}function Ce(e,t,r){!r&&Et&&(r=Et(e)??void 0);let n=null;if(r){let i=Qe.get(r);i&&(n=i.get(t))}return n||(n=Ut.get(t)),n}function Vr(e,t){for(let r in e){const n=e[r];Zt(r,n,t)}}function Tr(e){Qe.delete(e)}function Ir(){return{top:0,left:0,bottom:0,right:0}}function Rr(){if(_e){const e=document.documentElement.clientWidth||document.body.clientWidth,t=document.documentElement.clientHeight||document.body.clientHeight;return{width:e,height:t,headerHeight:44,footerHeight:44}}else return{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}class Mr{packages;installers;_version;get version(){return this._version}constructor(t,r,n){this.packages=t,this.installers=r,this._version=n}install(t,r={}){this.packages.forEach(o=>{o.install?t.use(o):o.name&&t.component(o.name,o)}),this.installers.forEach(o=>{o(t)});const n=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],i=Pe();if(this.initPageLayout(r,i),r.autoAdjustPageLayout!==!1&&window.ResizeObserver){const o=bt(()=>{const l={...r},c=document.documentElement.clientWidth||document.body.clientWidth,s=document.documentElement.clientHeight||document.body.clientHeight;l.width=c,l.height=s,this.initPageLayout(l,i)},150);new window.ResizeObserver(o).observe(window.document.body)}for(const o in r)n.indexOf(o)===-1&&i.set(o,r[o])}initPageLayout(t,r){const n=H.extend({},Ir(),t.safeAreaInset),i=H.extend({},Rr(),t.pageLayout);r=r??Pe(),r.set("safeAreaInset",n),r.set("headerBarHeight",t.headerBarHeight??0),r.set("footerBarHeight",t.footerBarHeight??0),r.set("pageLayout",i),r.set("rootWidth",i.width),r.set("rootHeight",i.height)}setScopeGetter(t){Or(t)}setAPI(t,r,n){Zt(t,r,n)}getAPI(t,r,n){return Ce(t,r,n)}batchSetAPI(t,r){Vr(t,r)}clearScopeAPI(t){Tr(t)}getRootDomain(){return Pe()}}const Dr=[b.ElAffix,b.ElAlert,b.ElAutocomplete,b.ElAutoResizer,b.ElAvatar,b.ElBacktop,b.ElBadge,b.ElBreadcrumb,b.ElBreadcrumbItem,b.ElButton,b.ElButtonGroup,b.ElCalendar,b.ElCard,b.ElCarousel,b.ElCarouselItem,b.ElCascader,b.ElCascaderPanel,b.ElCheckTag,b.ElCheckbox,b.ElCheckboxButton,b.ElCheckboxGroup,b.ElCol,b.ElCollapse,b.ElCollapseItem,b.ElCollapseTransition,b.ElColorPicker,b.ElConfigProvider,b.ElContainer,b.ElAside,b.ElFooter,b.ElHeader,b.ElMain,b.ElDatePicker,b.ElDescriptions,b.ElDescriptionsItem,b.ElDialog,b.ElDivider,b.ElDrawer,b.ElDropdown,b.ElDropdownItem,b.ElDropdownMenu,b.ElEmpty,b.ElForm,b.ElFormItem,b.ElIcon,b.ElImage,b.ElImageViewer,b.ElInput,b.ElInputNumber,b.ElLink,b.ElMenu,b.ElSubMenu,b.ElMenuItem,b.ElMenuItemGroup,b.ElPageHeader,b.ElPagination,b.ElPopconfirm,b.ElPopover,b.ElPopper,b.ElProgress,b.ElRadio,b.ElRadioButton,b.ElRadioGroup,b.ElRate,b.ElResult,b.ElRow,b.ElScrollbar,b.ElSelect,b.ElOption,b.ElOptionGroup,b.ElSelectV2,b.ElSkeleton,b.ElSkeletonItem,b.ElSlider,b.ElSpace,b.ElSteps,b.ElStep,b.ElSwitch,b.ElTable,b.ElTableColumn,b.ElTableV2,b.ElTabs,b.ElTabPane,b.ElTag,b.ElTimePicker,b.ElTimeSelect,b.ElTimeline,b.ElTimelineItem,b.ElTooltip,b.ElTransfer,b.ElTree,b.ElTreeSelect,b.ElTreeV2,b.ElUpload],kr=[b.ElInfiniteScroll,b.ElLoading,b.ElMessage,b.ElMessageBox,b.ElNotification,b.ElPopoverDirective],qr=e=>{Dr.forEach(t=>{let r=t.name;typeof r=="string"?(r=`Fox${r.slice(2)}`,e.component(r,t)):e.use(t)}),kr.forEach(t=>{e.use(t)})};function W(e){const t="fox-"+e;return{componentName:t,scope:e.replace("-",""),create(r){return r.baseName=e,r.name=t,r.install=n=>{n.component(r.name,r)},a.defineComponent(r)},createDemo(r){return r.baseName=e,r.name="demo-"+e,a.defineComponent(r)}}}const te={disabled:{type:[Boolean,String],required:!1},readonly:{type:[Boolean,String],required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},hasBorder:{type:Boolean,default:!0}},le={prop:{type:String,required:!1},label:{type:String,required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},isRequired:{type:[String,Boolean],required:!1,default:!1},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:"content--default"},contentStyle:{type:Object,required:!1,default:{}},hintType:{type:String,required:!1,default:"text"},hintText:{type:[String,Number],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:!1},hintProps:{type:Object,required:!1,default:{}},hasBorder:{type:Boolean,default:!0}},Xt={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},Jt={name:{type:String,required:!1},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},type:{type:[String],required:!1,default:"flex"},title:{type:String,default:""},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},autoLayout:{type:[Boolean],required:!1,default:!0},isWrap:{type:[Boolean],required:!1,default:!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1}},Qt=[];for(const e in Jt)Qt.push(e);function se(e,t=null){if(t||(t=a.getCurrentInstance()),t&&t.proxy){let r=t.proxy;Object.assign(r,e)}}const Br=Symbol.for("InnerPageScopeKey"),_r=(e,t)=>({inheritAttrs:!1,props:{...te,...Xt,name:{type:String,required:!1,default:""},modelValue:{type:String,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1}},setup(r,n){const i=wt(r.name,r);if(i){const s=Yt(i,r);se({getPageContentHeight:()=>Ze(i,s),getPageContentWidth:()=>Xe(i,s),getPageHeaderHeight:()=>Ye(i,s),getPageFooterHeight:()=>Ue(i,s)});const h=a.inject(Br,!1);s&&h&&(s.contentHeight="100%")}const o=a.computed(()=>({[e]:!0})),u=a.computed(()=>({})),l=a.getCurrentInstance(),c=s=>{const h=l?.proxy;h&&typeof h.setNameValidateRules=="function"&&h.setNameValidateRules(s,!0)};return a.watch(()=>r.rules,(s,h)=>{if(!s&&!h)return;const f=a.toRaw(h),O=a.toRaw(s),q=O?Reflect.ownKeys(O):[];(f?Reflect.ownKeys(f):[]).forEach(y=>{q.includes(y)||(O[y]=[])}),c(O)},{deep:!0}),a.onMounted(()=>{if(r.rules){const s=a.toRaw(r.rules);c(s)}}),{classes:o,styles:u}}}),{componentName:Lr,create:jr,scope:to}=W("page"),Pr=jr(_r(Lr));function Hr(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const Ne=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r},en=Ne(Pr,[["render",Hr]]),Kr=(e,t)=>({props:{padding:{type:[Object],required:!1}},emits:[],setup(r,n){const i=ye(),o=i?Ge(i):null;o&&(o.headerMounted=!0);const u=a.computed(()=>({[e]:!0})),l=a.computed(()=>{const s={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(i&&o){const h=oe(r.padding??o.footerPadding);return Object.assign(s,h),s.height=o.headerHeight,s.safeAreaTop=o.safeAreaTop,s.safeAreaTop&&(s.top=s.safeAreaTop+(h.top??0),s.height=s.height+o.safeAreaTop),s.height,s.safeAreaTop,s}if(r.padding){const h=oe(r.padding);Object.assign(s,h)}return s});a.onUnmounted(()=>{o&&(o.headerMounted=!1)});const c=a.computed(()=>{const s={};return l.value.height&&(s.height=`${l.value.height}px`),l.value.top&&(s.paddingTop=`${l.value.top}px`),l.value.left&&(s.paddingLeft=`${l.value.left}px`),l.value.right&&(s.paddingRight=`${l.value.right}px`),l.value.bottom&&(s.paddingBottom=`${l.value.bottom}px`),s});return{classes:u,styles:c}}}),{componentName:Fr,create:zr,scope:no}=W("header-bar"),Wr=zr(Kr(Fr));function Gr(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const tn=Ne(Wr,[["render",Gr]]);function Yr(e,t){return{props:{padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(r,n){const i=ye(),o=i?Ge(i):null;o&&(o.footerMounted=!0);const u=a.computed(()=>{const s=e;let h=e;return r.align==="left"?h=`${h}__left`:r.align==="right"?h=`${h}__right`:h=`${h}__center`,{[s]:!0,[h]:!0}}),l=a.computed(()=>{const s={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(i&&o){const h=oe(r.padding??o.footerPadding);return Object.assign(s,h),s.safeAreaBottom=o.safeAreaBottom,s.safeAreaBottom&&(s.height=o.footerHeight+o.safeAreaBottom,s.bottom=s.safeAreaBottom+(h.bottom??0)),s.height,s.safeAreaBottom,s}if(r.padding){const h=oe(r.padding);Object.assign(s,h)}return s});a.onUnmounted(()=>{o&&(o.footerMounted=!1)});const c=a.computed(()=>{const s={};return l.value&&(s.height=`${l.value.height}px`),l.value&&(s.paddingTop=`${l.value.top}px`),l.value&&(s.paddingLeft=`${l.value.left}px`),l.value&&(s.paddingRight=`${l.value.right}px`),l.value&&(s.paddingBottom=`${l.value.bottom}px`),s});return{classes:u,styles:c}}}}const{componentName:Ur,create:Zr,scope:ro}=W("footer-bar"),Xr=Zr(Yr(Ur));function Jr(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const nn=Ne(Xr,[["render",Jr]]);function Qr(e,t){return{props:{padding:{type:[Object],required:!1}},setup(r){const n=ye(),i=a.computed(()=>({[e]:!0})),o=a.computed(()=>{const u={};if(n){const l=Ge(n);if(l){if(r.padding){const f=oe(r.padding);Object.assign(l.contentPadding,f)}const c=Ye(n,l),s=Ue(n,l);let h="";if(l.contentHeight?h=`${l.contentHeight}`:h=`${l.height}px`,l.contentPadding,u.height=h,l.contentPadding.top||c>0){const f=(l&&l.contentPadding&&l.contentPadding.top)??0;u.paddingTop=`${c+f}px`}if(l.contentPadding.bottom||s>0){const f=(l&&l.contentPadding&&l.contentPadding.bottom)??0;u.paddingBottom=`${s+f}px`}return l.contentPadding.left&&(u.paddingLeft=`${l.contentPadding.left}px`),l.contentPadding.right&&(u.paddingRight=`${l.contentPadding.right}px`),u}}if(r.padding){const l=oe(r.padding);l.left&&(u.paddingLeft=`${l.left}px`),l.top&&(u.paddingTop=`${l.top}px`),l.right&&(u.paddingRight=`${l.right}px`),l.bottom&&(u.paddingBottom=`${l.bottom}px`)}return u});return{classes:i,styles:o}}}}const{componentName:ea,create:ta,scope:ao}=W("content"),na=ta(Qr(ea));function ra(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const rn=Ne(na,[["render",ra]]),et="GroupStateKey",an=Symbol.for("GroupScopeKey");function tt(){return a.inject(an,!1)}function nt(e=!0){a.provide(an,e)}function aa(e,t={}){const r=e.get("width",-1),n={type:"form",width:r,column:-1,gutter:-1};Object.assign(n,t);const i=a.shallowRef(n),o=a.markRaw({layout:i,passport:0});return e.set(et,o),o}function on(e,t,r=-1,n=-1,i=!1){const o=e.get(et);if(!o)return;const u=e.get("groupLayout")??{};r===-1&&(r=u.column??1),n===-1&&(n=u.gutter??0);const l=u.minItemWidth??-1,c=()=>{const s=t===""||t===-1,h=U(t);let f=H.toNumber(r);const O=U(n);if(!s){let y=(h-(f-1)*O)/f;for(;l!==-1&&f>1&&y<l;)f--,y=(h-(f-1)*O)/f}let q=!1;const p=o.layout;p.value.width=t,p.value.column!==f&&(p.value.column=f,q=!0),p.value.gutter!==O&&(p.value.gutter=O,q=!0),q&&a.triggerRef(p)};if(i)c();else{const s=++o.passport;setTimeout(()=>{s===o.passport&&c()},50)}}function rt(e,t=!1){let r;return t?r=e.getForParent(et):r=e.get(et),r.layout}function be(e,t=1){return t==="stretch"?-1:(t=H.toNumber(t),t===-1?100:100*t/e)}function ia(e){return e===window}const at=e=>{const t=a.unref(e);if(ia(t)){const r=t.innerWidth,n=t.innerHeight;return{top:0,left:0,right:r,bottom:n,width:r,height:n}}return t&&t.getBoundingClientRect?t.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},Ke=(e,t)=>e?t?`fox-group__${e}-${t}`:"":`fox-group__${t}`,oa=e=>{if(!e.props||e.props.span===null||e.props.span===void 0){const t=e.type,r=(t.props&&t.props.span&&t.props.span.default)??1;return typeof r=="function"?r():r}return e.props.span},la=e=>{if(!e.props||e.props.offset===null||e.props.offset===void 0){const r=e.type,n=(r.props&&r.props.offset&&r.props.offset.default)??0;return typeof n=="function"?n():n}const t=H.toNumber(e.props.offset);return t<0?0:t};function sa(e,t){return{props:{...te,...Xt,...Jt},setup(r,n){const i=wt(r.name,r,Qt),o=aa(i,{type:r.type}),u=tt();nt(!0);const l=a.getCurrentInstance(),c=T=>{const v=l?.proxy;v&&typeof v.setNameValidateRules=="function"&&v.setNameValidateRules(T,!0)};a.watch(()=>r.rules,(T,v)=>{if(!T&&!v)return;const E=a.toRaw(v),N=a.toRaw(T),g=N?Reflect.ownKeys(N):[];(E?Reflect.ownKeys(E):[]).forEach(w=>{g.includes(w)||(N[w]=[])}),c(N)},{deep:!0}),a.onMounted(()=>{if(r.rules){const T=a.toRaw(r.rules);c(T)}});const s=e,h=a.computed(()=>{const T={};if(u&&i){const v=rt(i,!0);if(v.value.type!=="flex")return{};if(r.width){const g=ee(r.width);T.width=g}else{const g=be(v.value.column,r.span);g>0&&(T.width=`${g}%`)}if(r.height){const g=ee(r.height);T.height=g}const E=be(v.value.column,r.offset);E>0&&(T["margin-left"]=`${E}%`);const N=v.value.gutter/2;N>0&&(T["padding-left"]=`${N}px`,T["padding-right"]=`${N}px`)}else{if(r.width){const v=ee(r.width);T.width=v}if(r.height){const v=ee(r.height);T.height=v}}return T}),f=a.computed(()=>r.type==="flex"?{[`${Ke("",r.type)}`]:!0,[`${Ke("justify",r.justify)}`]:!0,[`${Ke("align",r.align)}`]:!0,[`${Ke("flex",r.flexWrap)}`]:!0,[`${s}__gutter`]:!0}:{[`${Ke("",r.type)}`]:!0,[`${s}__gutter`]:!0}),O=a.toRef(r,"title"),q=a.toRef(r,"gutter"),p=a.toRef(r,"column"),y=a.computed(()=>u?!0:r.isWrap),$=a.ref([]),x=T=>{$.value.push(T)},R=a.ref(-1);if(on(i,R.value,p.value,q.value,!0),r.autoLayout){a.watch([R,p,q],([v,E,N])=>{on(i,v,E,N,!1)});let T=null;a.onMounted(()=>{if(_e&&$.value&&$.value.length>0){const v=$.value[0];R.value=at(v).width,window.ResizeObserver&&(T=new window.ResizeObserver(()=>{const E=at(v).width;E>0&&E!==R.value&&(R.value=E)}),T.observe(v))}}),a.onUnmounted(()=>{T?.disconnect()})}const V=(T,v,E,N)=>{const g={...f.value};return v===0&&(g[`${s}__first`]=!0),E>=N-1&&(g[`${s}__last`]=!0),a.h("div",{ref:x,key:`${v}`,class:g},T)};return()=>{const T=[];let v=0;if(n.slots.title){const C={key:`${v++}`,class:{[`${s}__title`]:!0,[`${s}__first`]:!0}},w=a.h("div",C,[n.slots.title()]);T.push(w)}else if(O.value){const C={key:`${v++}`,class:{[`${s}__title`]:!0,[`${s}__first`]:!0}},w=a.h("div",{class:{[`${s}__title-mark`]:!0}}),L=a.h("div",{class:{[`${s}__title-text`]:!0}},[O.value]),P=a.h("div",C,[w,L]);T.push(P)}const E=n.slots.default?n.slots.default():[];let N=[],g=0;if(r.type==="flex"){for(let C=0;C<E.length;C++){const w=E[C],L=oa(w),P=la(w);if(L==="stretch"){if(g<o.layout.value.column){N.push(w);const d=V([...N],v++,C,E.length);T.push(d)}else{const d=V([...N],v++,C-1,E.length);T.push(d);const I=V([w],v++,C,E.length);T.push(I)}g=0,N=[];continue}let k=H.toNumber(L);if(k===-1){if(N.length>0){const I=V([...N],v++,C-1,E.length);T.push(I)}const d=V([w],v++,C,E.length);T.push(d),g=0,N=[];continue}k>o.layout.value.column?k=o.layout.value.column:k<=0&&(k=1);const M=g+k+P;if(M>o.layout.value.column){const d=V([...N],v++,C-1,E.length);T.push(d),g=k+P,N=[w]}else N.push(w),g=M}if(N.length>0){const C=V([...N],v++,E.length,E.length);T.push(C)}}else for(let C=0;C<E.length;C++){const w=E[C],L=V([w],v++,C,E.length);T.push(L)}return y.value?a.h("div",{class:{[`${s}`]:!0},style:h.value},[T]):T}}}}const{componentName:ua,create:ca,scope:io}=W("group"),ln=ca(sa(ua)),sn={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"&yen;"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:Number,required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:fa,create:da}=W("price"),ha=da({props:{...sn},setup(e){const t=a.computed(()=>({[fa]:!0})),r=a.computed(()=>e.needSymbol?e.symbol:""),n=a.computed(()=>Lt(e.price)==0?"":qt(e.price,e.decimalLength,!0,e.digits,e.separator)),i=a.computed(()=>{let u=n.value;if(u.length==0)return"";let l=u.indexOf(".");return u.substring(0,l)}),o=a.computed(()=>{let u=n.value;if(u.length==0)return"";let l=u.indexOf(".");return u.substring(l+1)});return{classes:t,showSymbol:r,intText:i,decimalText:o}}}),ga=["innerHTML"],ma=["innerHTML"];function ya(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("view",{class:a.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(a.openBlock(),a.createElementBlock("view",{key:0,class:a.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,ga)):a.createCommentVNode("",!0),a.createElementVNode("view",{class:a.normalizeClass(`fox-price--${e.size}`)},a.toDisplayString(e.intText),3),e.decimalText.length!=0?(a.openBlock(),a.createElementBlock("view",{key:1,class:a.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):a.createCommentVNode("",!0),a.createElementVNode("view",{class:a.normalizeClass(`fox-price--decimal-${e.size}`)},a.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(a.openBlock(),a.createElementBlock("view",{key:2,class:a.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,ma)):a.createCommentVNode("",!0)],2)}const it=Ne(ha,[["render",ya]]),{componentName:xt,create:pa}=W("hint-text"),ba=pa({components:{[it.name]:it},props:{...sn,type:{type:String,default:"number"},id:{type:String},startPoint:{type:Object},width:{type:Number},height:{type:Number,default:40},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,t){const i=a.computed(()=>({[xt]:!0})),o=a.computed(()=>({left:ee(e.startPoint.x),top:ee(e.startPoint.y-e.height-10-4),height:ee(e.height),width:ee(e.width)})),u=a.computed(()=>({[`${xt}__content`]:!0})),l=a.computed(()=>({})),c=a.computed(()=>({[`${xt}__arrow`]:!0})),s=a.computed(()=>({top:ee(e.height)}));return{classes:i,styles:o,textClasses:u,textStyles:l,arrowClasses:c,arrowStyles:s}}}),$a={key:1,class:"text"};function wa(e,t,r,n,i,o){const u=a.resolveComponent("fox-price");return a.openBlock(),a.createBlock(a.Transition,{name:"hint-text-fade"},{default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.createElementVNode("div",{class:a.normalizeClass(e.textClasses),style:a.normalizeStyle(e.textStyles)},[e.type=="number"?(a.openBlock(),a.createBlock(u,{key:0,price:e.message,position:"before"},null,8,["price"])):(a.openBlock(),a.createElementBlock("span",$a,a.toDisplayString(e.message),1))],6),a.createElementVNode("div",{class:a.normalizeClass(e.arrowClasses),style:a.normalizeStyle(e.arrowStyles)},null,6)],6),[[a.vShow,e.visible]])]),_:1})}const ot=Ne(ba,[["render",wa]]);class un{seed=new Date().getTime();constructor(t){this.seed=t??new Date().getTime()}get(){let t=this.seed++;return this.seed<0&&(this.seed=0),t}}function Sa(e){return e===window}const cn=e=>{const t=a.unref(e);if(!t)return{x:0,y:0};if(Sa(t))return{x:0,y:0};let r=0,n=0,i=t;for(;i!==null;)n+=i.scrollTop,r+=i.scrollLeft,i=i.parentElement;const o=t.getBoundingClientRect(),u=o.x+r,l=o.y+n;return{x:u,y:l}},Ct={},va=new un,Me=new Map,Nt=e=>{if(e){const t=document.getElementById(e);Me.delete(e),t&&document.body.removeChild(t)}else{for(const t of Me.keys()){const r=document.getElementById(t);r&&document.body.removeChild(r)}Me.clear()}},Ea=e=>{const t=document.getElementById(e.id);if(t){const r=Me.get(e.id);r?e={...Ct,...r,...e}:e={...Ct,...e};const n=a.createVNode(ot,e);return a.render(n,t),e.id}},xa=e=>{e.unmount=Nt;let t;if(e.id){if(t=e.id,Me.has(t))return Ea(e)}else t=`hinttext_${va.get()}`;e={...Ct,...e},e.id=t,Me.set(t,e);const r=document.createElement("div");r.id=e.id;const n=a.createVNode(ot,e);return a.render(n,r),document.body.appendChild(r),t},Ca=e=>{if(!e){console.warn("[FoxUI HintText]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},lt={show(e,t,r={},n=!0){n&&Nt(),Ca(t);const i=cn(e),o={x:i.x,y:i.y},l=at(e).width;return xa({...r,message:t,startPoint:o,width:l})},hide(e){Nt(e)},install(e){e.config.globalProperties.$hintText=lt}},{componentName:fn,create:Na}=W("item"),Aa=Na({inheritAttrs:!0,props:{...te,...le},setup(e,t){re({componentName:fn,validate:!1},e.prop??e.name);const r=ye(),n=tt();nt(!1);const i=fn,o=a.computed(()=>({[i]:!0,[`${i}__gutter`]:!0,[`${i}__stretch`]:e.span==="stretch",[`${i}__input--border`]:e.hasBorder,"is-error":!!g.value,"is-warn":!!E.value,"is-info":!!T.value})),u=a.computed(()=>{if(n&&r){const A=rt(r,!1);if(A.value.type!=="flex")return{};const D={},B=be(A.value.column,e.span);B>0&&(D.width=`${B}%`);const _=be(A.value.column,e.offset);_>0&&(D["margin-left"]=`${_}%`);const j=A.value.gutter/2;return j>0&&(D["padding-left"]=`${j}px`,D["padding-right"]=`${j}px`),D}return{}}),l=a.ref(null),c=a.computed({get:()=>l.value??H.toBoolean(e.isRequired),set:A=>{l.value=A}}),s=a.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),h=He(a.toRef(e,"labelPosition"),"labelPosition",Je.Near),f=a.computed(()=>h&&h.value==="top"?"top":h&&h.value==="right"?"right":"left"),O=a.computed(()=>({[`${i}__main`]:!0,[`${i}__main--${f.value}`]:!0})),q=a.computed(()=>({label:!0,[`label-${f.value}`]:!0})),p=He(a.toRef(e,"labelWidth"),"labelWidth",Je.Near),y=a.computed(()=>p&&p.value?{width:`${ee(p.value)}`}:{}),$=a.computed(()=>({["label--string"]:!0,["label--required"]:c.value})),x=a.computed(()=>({content:!0,[e.contentClass]:!0})),R=a.computed(()=>({...e.contentStyle})),V=a.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});se({setRequired(A){c.value=A},setErrorTip(A){V.errorTip=A},setErrorIcon(A){V.errorIcon=A},setWarnTip(A){V.warnTip=A},setWarnIcon(A){V.warnIcon=A},setInfoTip(A){V.infoTip=A},setInfoIcon(A){V.infoIcon=A}});const T=a.computed(()=>e.infoTip||V.infoTip),v=a.computed(()=>e.infoIcon||V.infoIcon),E=a.computed(()=>e.warnTip||V.warnTip),N=a.computed(()=>e.warnIcon||V.warnIcon),g=a.computed(()=>e.errorTip||V.errorTip),C=a.computed(()=>e.errorIcon||V.errorIcon),w=a.computed(()=>g.value?"error":E.value?"warn":T.value?"info":""),L=a.computed(()=>w.value.length>0),P=a.computed(()=>w.value==="error"?g.value:w.value==="warn"?E.value:w.value==="info"?T.value:""),k=a.computed(()=>w.value==="error"?C.value:w.value==="warn"?N.value:w.value==="info"?v.value:null),M=a.computed(()=>{let A={[`${i}__tip`]:!0,[`${i}__tip--${w.value}`]:!0};return w.value==="error"&&e.errorClass?A[`${e.errorClass}`]=!0:w.value==="warn"&&e.warnClass?A[`${e.warnClass}`]=!0:w.value==="info"&&e.infoClass&&(A[`${e.infoClass}`]=!0),A}),d=a.computed(()=>{let A={};return h&&h.value==="top"?A["padding-left"]="0px":p&&p.value&&(A["padding-left"]=ee(p.value)),A}),I=a.ref();let m="";return a.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([A,D,B,_])=>{!I.value||(A?m?lt.show(I.value,D,{..._,id:m,type:B}):m=lt.show(I.value,D,{..._,type:B}):lt.hide(m))}),{classes:o,styles:u,mainClasses:O,hasLabel:s,labelClasses:q,labelStyles:y,labelStringClasses:$,contentClasses:x,contentStyles:R,contentRef:I,hasTip:L,mTip:P,mIcon:k,tipClasses:M,tipStyles:d}}}),Oa={key:0,class:"fox-item__tip-icon"},Va={class:"fox-item__tip-text"};function Ta(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.createElementVNode("div",{class:a.normalizeClass(e.mainClasses)},[e.hasLabel?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(e.labelClasses),style:a.normalizeStyle(e.labelStyles)},[a.createElementVNode("div",{class:a.normalizeClass(e.labelStringClasses)},[a.renderSlot(e.$slots,"label",{},()=>[a.createTextVNode(a.toDisplayString(e.label),1)])],2)],6)):a.createCommentVNode("",!0),a.createElementVNode("div",{ref:"contentRef",class:a.normalizeClass(e.contentClasses),style:a.normalizeStyle(e.contentStyles)},[a.renderSlot(e.$slots,"prepend"),a.renderSlot(e.$slots,"default"),a.renderSlot(e.$slots,"append")],6)],2),a.createVNode(a.Transition,{name:"fox-item__animate"},{default:a.withCtx(()=>[e.hasTip?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(e.tipClasses),style:a.normalizeStyle(e.tipStyles)},[e.mIcon?(a.openBlock(),a.createElementBlock("div",Oa,a.toDisplayString(e.mIcon),1)):a.createCommentVNode("",!0),a.createElementVNode("div",Va,a.toDisplayString(e.mTip),1)],6)):a.createCommentVNode("",!0)]),_:1}),a.renderSlot(e.$slots,"hide")],6)}const ae=Ne(Aa,[["render",Ta]]),{componentName:Ia,create:Ra}=W("slot-item"),dn=Ra({props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0}},setup(e,t){const r=Ia,n=a.computed(()=>({[r]:!0,[`${r}__stretch`]:e.span==="stretch"})),i=ye(),o=tt();nt(!1);const u=a.computed(()=>{if(o&&i){const l=rt(i,!1);if(l.value.type!=="flex")return{};const c={},s=be(l.value.column,e.span);s>0&&(c.width=`${s}%`);const h=be(l.value.column,e.offset);h>0&&(c["margin-left"]=`${h}%`);const f=l.value.gutter/2;return f>0&&(c["padding-left"]=`${f}px`,c["padding-right"]=`${f}px`),c}return{}});return()=>{const l={class:n.value,style:u.value};return t.slots&&typeof t.slots.default=="function"?a.h("div",l,t.slots.default()):a.h("div",l)}}}),{componentName:Ma,create:Da}=W("row-item"),hn=Da({props:{span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},align:{type:[String],required:!1,default:"center"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]}},setup(e,t){const r=Ma,n=a.computed(()=>({[r]:!0,[`${r}__stretch`]:e.span==="stretch",[`${r}__${e.align}`]:!0})),i=ye(),o=tt();nt(!1);const u=a.computed(()=>{if(o&&i){const c=rt(i,!1);if(c.value.type!=="flex")return{};const s={},h=be(c.value.column,e.span);h>0&&(s.width=`${h}%`);const f=be(c.value.column,e.offset);f>0&&(s["margin-left"]=`${f}%`);const O=c.value.gutter/2;return O>0&&(s["padding-left"]=`${O}px`,s["padding-right"]=`${O}px`),s}return{}}),l=a.computed(()=>({[`${r}__content`]:!0}));return()=>{const c=[];t.slots.default&&c.push(t.slots.default());const s={class:l.value},h=a.h("div",s,c),f={class:n.value,style:u.value};return a.h("div",f,[h])}}}),gn={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function ka(e,t,r){return{props:{...te,...le,...gn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,i){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Ee.useFoxI18n(t),l=u(n,["placeholder"]),c=a.ref(!1),s=he(a.computed(()=>n.disabled)),h=de(a.computed(()=>n.readonly)),f=Q(n,"modelValue"),O=e,q=a.computed(()=>({[O]:!0})),p=E=>{f.value=E,o("update:modelValue",E),o("input",E)},y=E=>{o("change",E)};let $=Q(n,"hintText"),x=a.ref(!1);const R=E=>{let g=E.target.value;c.value=!0,ce($.value)||(x.value=!0),o("focus",g,E)},V=E=>{setTimeout(()=>{x.value&&(x.value=!1),c.value=!1},0);let g=E.target.value;n.maxLength&&g.length>Number(n.maxLength)&&(g=g.slice(0,Number(n.maxLength))),o("blur",g,E)},T=()=>{o("clear","")},v=a.ref();return se({focus:()=>{v?.value.focus()},blur:()=>{v?.value.blur()},select:()=>{v?.value.select()}}),()=>{const N={...i.attrs,ref:v,class:q.value,placeholder:l.placeholder.value,clearable:n.clearable,disabled:s.value,readonly:h.value,modelValue:f.value,onClear:T,onChange:y,onInput:p,onFocus:R,onBlur:V},g={};i.slots.prepend&&(g.prepend=i.slots.prepend),i.slots.append&&(g.append=i.slots.append),i.slots.prefix&&(g.prefix=i.slots.prefix),i.slots.suffix&&(g.suffix=i.slots.suffix);const C=[],w=a.h(b.ElInput,N,g);C.push(w);const L={default:()=>C};if(i.slots.default){const d=i.slots.default();L.label=()=>d}const k={...ie(n,gn),hintText:$.value,hintVisible:x.value,prop:`${n.prop}_item`};return a.h(r,k,L)}}}}const{componentName:qa,create:Ba,scope:_a}=W("input-item"),mn=Ba(ka(qa,_a,ae));function Ae(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Oe(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function yn(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class La{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const i=Ce(this.proxy,t);return i===null?(console.error(`${t} component not found api function`),[]):(H.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await i(r,n))}}function ja(){const e=a.getCurrentInstance();return new La(e.proxy)}function pn(e,t,r){const n=Ae(e,t),i=Ae(e,r);if(n!==i)return!1;const o=Oe(e,t),u=Oe(e,r);return o===u}function bn(e,t,r,n){if(n.length==0)return[];if(t===""||t===null||t===void 0)return[];Array.isArray(t)||(t=[t]);const i=[];return t.forEach(o=>{for(let u of n){const l=yn(e,u);if(Array.isArray(l)&&l.length>0){const c=bn(e,o,r,l);Reflect.apply([].push,i,c)}else{let c=!1;if(r==="text")c=Ae(e,u)===o;else if(r==="item")c=pn(e,u,o);else{let s=Oe(e,u);s==null&&(s=Ae(e,u)),c=s===o}if(c){i.push(u);break}}}}),i}function Pa(e){return{text:e,value:e}}const $n={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},remoteMethod:{type:[Function],required:!1},allowCreate:{type:Boolean,default:!1},unit:{type:[String],required:!1}};function Ha(e,t,r){return{props:{...te,...le,...$n},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,i){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Ee.useFoxI18n(t),l=u(n,["placeholder"]),c=a.ref(),s=a.ref([]),h=(d,I,m,A=!0)=>{const D=bn(n,d,I,m);let B=!0;if(D.length!==s.value.length)B=!1;else for(let _=0;_<D.length;_++){const j=D[_],K=s.value[_];if(!pn(n,j,K)){B=!1;break}}if(!B){s.value=D;let _=[],j=[];D.forEach(z=>(_.push(Oe(n,z)),n.valueType==="text"?j.push(Ae(n,z)):n.valueType==="item"?j.push(z):j.push(Oe(n,z)),Oe(n,z)));let K;n.multiple?(c.value=_,K=a.toRaw(j)):(c.value=_[0]??"",K=a.toRaw(j[0]??"")),A&&(o("update:modelValue",K),o("change",K))}},f=a.ref([]),O=ja();a.watch([()=>n.source,()=>n.params],async([d,I])=>{if(d){const m=await O.load("select",d,I);if(m.length>0)if(typeof m[0]=="string"){let B=m.map(_=>Pa(_));f.value=B}else f.value=m}},{immediate:!0}),a.watch([()=>f.value,()=>n.modelValue],([d,I])=>{h(I,n.valueType,d,!1)});let q=null,p=a.ref(!1);typeof n.remoteMethod=="function"&&(q=async d=>{if(d!=null){p.value=!0;try{const I=await n.remoteMethod(d);f.value=I}catch(I){console.error(I)}p.value=!1}});const y=a.ref(!1),$=he(a.computed(()=>n.disabled)),x=de(a.computed(()=>n.readonly)),R=e,V=a.computed(()=>({[R]:!0})),T=d=>{n.allowCreate?(o("update:modelValue",d),o("change",d),c.value=d):h(d,"value",f.value,!0)};let v=Q(n,"hintText"),E=a.ref(!1);const N=d=>{let m=d.target.value;y.value=!0,ce(v.value)||(E.value=!0),o("focus",m,d)},g=d=>{setTimeout(()=>{E.value&&(E.value=!1),y.value=!1},0);let m=d.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),w.value?setTimeout(()=>{o("blur",m,d)},50):o("blur",m,d)},C=()=>{o("clear","")},w=a.ref(!1),L=d=>{w.value=d,o("visible-change",d)},P=d=>{o("remove-tag",d)},k=(d,I)=>{const m=[];return d.forEach((A,D)=>{const B=yn(n,A);if(Array.isArray(B)&&B.length>0){const _=k(B,I),j=Ae(n,A),z={key:`${j}_${D}`,label:j};m.push(a.h(b.ElOptionGroup,z,{default:()=>_}))}else{const _=Oe(n,A),j=Ae(n,A),K=H.toBoolean(A.disabled),X={key:`${_}_${D}`,label:j,disabled:K,value:_};typeof I=="function"?m.push(a.h(b.ElOption,X,{default:I})):m.push(a.h(b.ElOption,X))}}),m},M=a.ref();return se({focus:()=>{M?.value.focus()},blur:()=>{M?.value.blur()}}),()=>{const I={...i.attrs,ref:M,class:V.value,clearable:n.clearable,multiple:n.multiple,placeholder:l.placeholder.value,disabled:$.value||x.value,modelValue:c.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:C,onChange:T,onFocus:N,onBlur:g,onVisibleChange:L,onRemoveTag:P};typeof q=="function"&&(I["remote-method"]=q,I.loading=p.value);const m={};i.slots.prefix&&(m.prefix=i.slots.prefix),i.slots.empty&&(m.empty=i.slots.empty),m.default=()=>k(f.value,i.slots.option);const A=[],D=a.h(b.ElSelect,I,m);A.push(D);const B={default:()=>A};if(i.slots.default){const z=i.slots.default();B.label=()=>z}const j={...ie(n,$n),hintText:v.value,hintVisible:E.value,prop:`${n.prop??n.name}_item`};return a.h(r,j,B)}}}}const{componentName:Ka,create:Fa,scope:za}=W("select-item"),wn=Fa(Ha(Ka,za,ae)),Sn={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function Wa(e,t,r){return{props:{...te,...le,...Sn},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(n,i){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Ee.useFoxI18n(t),l=u(n,["placeholder"]),c=a.ref(!1),s=he(a.computed(()=>n.disabled)),h=de(a.computed(()=>n.readonly)),f=Q(n,"modelValue"),O=e,q=a.computed(()=>({[O]:!0})),p=g=>{f.value=g,o("update:modelValue",g),o("change",g)};let y=Q(n,"hintText"),$=a.ref(!1);const x=g=>{let w=g.target.value;c.value=!0,ce(y.value)||($.value=!0),o("focus",w,g)},R=g=>{setTimeout(()=>{$.value&&($.value=!1),c.value=!1},0);let w=g.target.value;n.maxLength&&w.length>Number(n.maxLength)&&(w=w.slice(0,Number(n.maxLength))),o("blur",w,g)},V=()=>{o("clear","")},T=g=>{o("calendar-change",g)},v=(g,C,w)=>{o("panel-change",g,C,w)},E=g=>{o("visible-change",g)},N=a.ref();return se({focus:()=>{N?.value.focus()},blur:()=>{N?.value.blur()},handleOpen:()=>{N?.value.handleOpen()},handleClose:()=>{N?.value.handleClose()}}),()=>{const C={...i.attrs,ref:N,class:q.value,placeholder:l.placeholder.value,disabled:s.value,readonly:h.value,modelValue:f.value,["onUpdate:modelValue"]:p,onClear:V,onFocus:x,onBlur:R,onCalendarChange:T,onPanelChange:v,onVisibleChange:E},w={};i.slots["range-separator"]&&(w["range-separator"]=i.slots["range-separator"]),i.slots.cell&&(w.default=i.slots.cell);const L=[],P=a.h(b.ElDatePicker,C,w);L.push(P);const k={default:()=>L};if(i.slots.default){const m=i.slots.default();k.label=()=>m}const d={...ie(n,Sn),hintText:y.value,hintVisible:$.value,prop:`${n.prop}_item`};return a.h(r,d,k)}}}}const{componentName:Ga,create:Ya,scope:Ua}=W("date-item"),vn=Ya(Wa(Ga,Ua,ae)),En={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function Za(e,t,r){return{props:{...te,...le,...En},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(n,i){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Ee.useFoxI18n(t),l=u(n,["placeholder"]),c=a.ref(!1),s=he(a.computed(()=>n.disabled)),h=de(a.computed(()=>n.readonly)),f=Q(n,"modelValue"),O=e,q=a.computed(()=>({[O]:!0})),p=E=>{f.value=E,o("update:modelValue",E),o("change",E)};let y=Q(n,"hintText"),$=a.ref(!1);const x=E=>{let g=E.target.value;c.value=!0,ce(y.value)||($.value=!0),o("focus",g,E)},R=E=>{setTimeout(()=>{$.value&&($.value=!1),c.value=!1},0);let g=E.target.value;n.maxLength&&g.length>Number(n.maxLength)&&(g=g.slice(0,Number(n.maxLength))),o("blur",g,E)},V=()=>{o("clear","")},T=E=>{o("visible-change",E)},v=a.ref();return se({focus:()=>{v?.value.focus()},blur:()=>{v?.value.blur()},handleOpen:()=>{v?.value.handleOpen()},handleClose:()=>{v?.value.handleClose()}}),()=>{const N={...i.attrs,ref:v,class:q.value,placeholder:l.placeholder.value,disabled:s.value,readonly:h.value,modelValue:f.value,["onUpdate:modelValue"]:p,onClear:V,onFocus:x,onBlur:R,onVisibleChange:T},g={},C=[],w=a.h(b.ElTimePicker,N,g);C.push(w);const L={default:()=>C};if(i.slots.default){const d=i.slots.default();L.label=()=>d}const k={...ie(n,En),hintText:y.value,hintVisible:$.value,prop:`${n.prop}_item`};return a.h(r,k,L)}}}}const{componentName:Xa,create:Ja,scope:Qa}=W("time-item"),xn=Ja(Za(Xa,Qa,ae)),Cn={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function ei(e,t,r){return{props:{...te,...le,...Cn},emits:["change","update:modelValue","blur","focus","clear"],setup(n,i){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Ee.useFoxI18n(t),l=u(n,["placeholder"]),c=a.ref(!1),s=he(a.computed(()=>n.disabled)),h=de(a.computed(()=>n.readonly)),f=Q(n,"modelValue"),O=e,q=a.computed(()=>({[O]:!0})),p=v=>{f.value=v,o("update:modelValue",v),o("change",v)};let y=Q(n,"hintText"),$=a.ref(!1);const x=v=>{let N=v.target.value;c.value=!0,ce(y.value)||($.value=!0),o("focus",N,v)},R=v=>{setTimeout(()=>{$.value&&($.value=!1),c.value=!1},0);let N=v.target.value;n.maxLength&&N.length>Number(n.maxLength)&&(N=N.slice(0,Number(n.maxLength))),o("blur",N,v)},V=()=>{o("clear","")},T=a.ref();return se({focus:()=>{T?.value.focus()},blur:()=>{T?.value.blur()},handleOpen:()=>{T?.value.handleOpen()},handleClose:()=>{T?.value.handleClose()}}),()=>{const E={...i.attrs,ref:T,class:q.value,placeholder:l.placeholder.value,disabled:s.value,readonly:h.value,modelValue:f.value,["onUpdate:modelValue"]:p,onClear:V,onFocus:x,onBlur:R},N={},g=[],C=a.h(b.ElTimeSelect,E,N);g.push(C);const w={default:()=>g};if(i.slots.default){const M=i.slots.default();w.label=()=>M}const P={...ie(n,Cn),hintText:y.value,hintVisible:$.value,prop:`${n.prop}_item`};return a.h(r,P,w)}}}}const{componentName:ti,create:ni,scope:ri}=W("time-select-item"),Nn=ni(ei(ti,ri,ae));function ai(e,t,r,n,i){let o=[];Array.isArray(e)?o=e:o=[e];const u=[],l=t[0];if(Array.isArray(l))for(let c=0;c<t.length&&c<o.length;c++){let s=t[c],h=o[c];const f=s.find(O=>O[n]===h);if(!f)break;u.push(f[r])}else{let c=t;for(let s=0;c&&s<o.length;s++){let h=o[s],f=c.find(O=>O[n]===h);if(!f)break;u.push(f[r]),c=f[i]}}return u}class ii{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const i=Ce(this.proxy,t);return i===null?(console.error(`${t} component not found api function`),[]):(H.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await i(r,n))}}function oi(){const e=a.getCurrentInstance();return new ii(e.proxy)}const An={tag:{type:[String,Object],required:!1,default:"span"},resolveTag:{type:[Boolean],required:!1,default:!1},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array],required:!1},separator:{type:[String,Boolean,Number,Array],required:!1,default:"/"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"}};function li(e,t){return{props:{...An},setup(r,{attrs:n}){const i=oi(),o=a.ref([]);a.watch([()=>r.source,()=>r.params],async([c,s])=>{o.value=await i.load(r.sourceType,c,s)},{immediate:!0});const u=a.computed(()=>{if(!Array.isArray(o.value)||o.value.length===0)return"";let c=ai(r.modelValue,o.value,r.textKey,r.valueKey,r.childrenKey);return c.length==0?"":c.length===1?c[0]:c.join(r.separator)}),l=r.resolveTag?a.resolveComponent(r.tag):r.tag;return()=>{const c={...n};return r.resolveTag?a.h(l,c,{default:()=>u.value}):a.h(l,c,u.value)}}}}const{componentName:oo,create:si,scope:lo}=W("mapping"),At=si(li());function ui(e,t){return{props:{...An},setup(r,{attrs:n}){return()=>{const i={default:o=>{const u=o.row[o.column.property];return a.h(At,{...r,modelValue:u})}};return a.h(b.ElTableColumn,{...n},i)}}}}const{componentName:so,create:ci,scope:uo}=W("table-mapping-column"),On=ci(ui());class fi{proxy;constructor(t){this.proxy=t}async load(t,r,n,i,o,u,l){if(Array.isArray(r)){let s=(n-1)*i,h=s+i;h>r.length&&(h=r.length);const f=r.slice(s,h);return{totalSize:r.length,page:f}}if(typeof r=="function")return await Reflect.apply(r,null,[n,i,o,u,l]);const c=Ce(this.proxy,t);return c===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(H.isObject(o)&&a.isReactive(o)&&(o=a.toRaw(o)),await await Reflect.apply(c,null,[r,n,i,o,u,l]))}}function di(){const e=a.getCurrentInstance();return new fi(e.proxy)}const Vn={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},baseParams:{type:[Object]},params:{type:[Object]}},Tn={pageIndex:{type:[Number],required:!1,default:1},pageSize:{type:[Number],required:!1,default:10},pageSizes:{type:[Array],required:!1},paginationLayout:{type:[String],required:!1,default:"total, sizes, prev, pager, next, jumper"},paginationAlign:{type:[String],required:!1,default:"right"},paginationVisible:{type:[Boolean],required:!1,default:!0},hideOnSinglePage:{type:[Boolean],required:!1,default:!0}};function hi(e,t,r){return{inheritAttrs:!1,props:{...te,...le,...Vn,...Tn},emits:["change","page-size-change","page-index-change"],setup(n,i){const{locale:o}=Ee.useFoxI18n(t),{emitEvent:u}=re({componentName:e},n.prop??n.name),l=e,c=a.computed(()=>({[l]:!0})),s=a.computed(()=>({[`${l}__pagination`]:!0,[`${l}__pagination__${n.paginationAlign}`]:!0})),h=a.ref(n.pageIndex);a.watch(()=>n.pageIndex,g=>{h.value=g});const f=g=>{h.value=g,u("page-index-change",g)},O=a.ref(n.pageSize);a.watch(()=>n.pageSize,g=>{O.value=g});const q=g=>{O.value=g,u("page-size-change",g)},p=a.shallowRef({}),y=a.computed(()=>({...p.value,...n.params??{},...n.baseParams??{}})),$=a.ref(0),x=a.ref(),R=di();let V=!0;const T=()=>Array.isArray(n.data)||typeof n.data=="function"?!0:H.toBoolean(n.autoLoad),v=async(g,C,w,L)=>{try{const P=await R.load("table",g,C,w,L,V,o.value);$.value=P.totalSize,x.value=P.page}catch(P){console.error("[FoxUI] Load Table Data Fail",P),$.value=0,x.value=[]}V=!1};a.watch([h,O],([g,C],[w,L])=>{C!==L&&(h.value=1,g=1),v(n.data,g,C,y.value)}),a.watch([()=>n.data,y],([g,C],[w,L])=>{!T()||(g!==w&&(V=!0),v(g,h.value,O.value,C))});const E=(g={})=>{p.value=a.toRaw(g??{}),a.triggerRef(p),a.nextTick(()=>{v(n.data,h.value,O.value,y.value)})};T()&&E();const N=a.ref();return se({clearSelection:()=>N?.value.clearSelection(),getSelectionRows:()=>N?.value.getSelectionRows(),toggleRowSelection:(g,C)=>{N?.value.toggleRowSelection(g,C)},toggleAllSelection:()=>{N?.value.toggleAllSelection()},toggleRowExpansion:(g,C)=>{N?.value.toggleRowExpansion(g,C)},setCurrentRow:g=>{N?.value.setCurrentRow(g)},clearSort:()=>{N?.value.clearSort()},clearFilter:g=>{N?.value.clearFilter(g)},doLayout:()=>{N?.value.doLayout()},sort:(g,C)=>{N?.value.sort(g,C)},scrollTo:(g,C)=>{N?.value.scrollTo(g,C)},setScrollTop:g=>{N?.value.setScrollTop(g)},setScrollLeft:g=>{N?.value.setScrollLeft(g)},loadData:E}),()=>{const C={...i.attrs,data:x.value,ref:N,class:c.value},w={};i.slots.default&&(w.default=i.slots.default),i.slots.append&&(w.append=i.slots.append),i.slots.empty&&(w.empty=i.slots.empty);const L=[],P=a.h(b.ElTable,C,w);if(L.push(P),typeof i.slots.pagination=="function"){const m=i.slots.pagination();L.push(m)}else if(n.paginationVisible){const m={class:s.value,total:$.value,pageSize:O.value,["onUpdate:pageSize"]:q,pageSizes:n.pageSizes,currentPage:h.value,["onUpdate:currentPage"]:f,hideOnSinglePage:n.hideOnSinglePage,layout:n.paginationLayout,small:!0},A=a.h(b.ElPagination,m);L.push(A)}const k={default:()=>L},d={...ie(n,Vn,Tn),prop:`${n.prop}_item`};return d.contentClass=`${l}__wrap`,a.h(r,d,k)}}}}const{componentName:gi,create:mi,scope:yi}=W("table-item"),In=mi(hi(gi,yi,ae));function De(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Fe(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class pi{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const i=Ce(this.proxy,t);return i===null?(console.error(`${t} component not found api function`),[]):(H.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await i(r,n))}}function bi(){const e=a.getCurrentInstance();return new pi(e.proxy)}function Rn(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=De(e,t),i=De(e,r);if(n!==i)return!1;const o=Fe(e,t),u=Fe(e,r);return o===u}function $i(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;let i=null;for(let o of n){let u=!1;if(r==="text")u=De(e,o)===t;else if(r==="item")u=Rn(e,o,t);else{let l=Fe(e,o);l==null&&(l=De(e,o)),u=l===t}if(u){i=o;break}}return i}function wi(e){return{text:e,value:e}}const Mn={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},itemType:{type:[String],required:!1,default:"radio"},itemClass:{type:[String],required:!1}};function Si(e,t,r){return{inheritAttrs:!0,props:{...te,...le,...Mn},emits:["change","update:modelValue"],setup(n,i){const{emitEvent:o}=re({componentName:e},n.prop??n.name),u=a.ref(),l=a.ref(null),c=(V,T,v,E=!0)=>{const N=$i(n,V,T,v);if(N===null){if(N===l.value)return;l.value=null,u.value=null,E&&(o("update:modelValue",null),o("change",null))}if(!Rn(n,N,l.value)){u.value=V;const C=a.toRaw(N);l.value=C;let w=null;n.valueType==="text"?w=De(n,C):n.valueType==="item"?w=C:w=Fe(n,C),E&&(o("update:modelValue",w),o("change",w))}},s=a.ref([]),h=bi();a.watch([()=>n.source,()=>n.params],async([V,T])=>{if(V){const v=await h.load("radio",V,T);if(v.length>0)if(typeof v[0]=="string"){let g=v.map(C=>wi(C));s.value=g}else s.value=v}},{immediate:!0}),a.watch([()=>s.value,()=>n.modelValue],([V,T])=>{c(T,n.valueType,V,!1)});const f=he(a.computed(()=>n.disabled)),O=de(a.computed(()=>n.readonly)),q=e,p=a.computed(()=>({[q]:!0})),y=V=>{c(V,"value",s.value,!0)};let $=Q(n,"hintText"),x=a.ref(!1);const R=V=>{const T=[];return V.forEach((v,E)=>{const N=Fe(n,v),g=De(n,v),C=H.toBoolean(v.disabled),L={key:`${N}_${E}`,class:n.itemClass,label:N,disabled:C,size:n.size,border:H.toBoolean(n.border)};n.itemType==="button"?T.push(a.h(b.ElRadioButton,L,{default:()=>[g]})):T.push(a.h(b.ElRadio,L,{default:()=>[g]}))}),T};return()=>{const T={...i.attrs,class:p.value,disabled:f.value||O.value,modelValue:u.value,["text-color"]:n.textColor,fill:n.fill,onChange:y},v=[],E={};i.slots.options?E.default=i.slots.options:E.default=()=>R(s.value);const N=a.h(b.ElRadioGroup,T,E);v.push(N);const g={default:()=>v};if(i.slots.default){const P=i.slots.default();g.label=()=>P}const w={...ie(n,Mn),hintText:$.value,hintVisible:x.value,prop:`${n.prop??n.name}_item`};return a.h(r,w,g)}}}}const{componentName:vi,create:Ei,scope:xi}=W("radio-item"),Dn=Ei(Si(vi,xi,ae));function ke(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ve(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class Ci{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const i=Ce(this.proxy,t);return i===null?(console.error(`${t} component not found api function`),[]):(H.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await i(r,n))}}function Ni(){const e=a.getCurrentInstance();return new Ci(e.proxy)}function kn(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=ke(e,t),i=ke(e,r);if(n!==i)return!1;const o=Ve(e,t),u=Ve(e,r);return o===u}function Ai(e,t,r,n){if(n.length==0)return[];if(t===""||t===null||t===void 0)return[];Array.isArray(t)||(t=[t]);const i=[];return t.forEach(o=>{for(let u of n){let l=!1;if(r==="text")l=ke(e,u)===o;else if(r==="item")l=kn(e,u,o);else{let c=Ve(e,u);c==null&&(c=ke(e,u)),l=c===o}if(l){i.push(u);break}}}),i}function Oi(e){return{text:e,value:e}}const qn={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},min:{type:[String,Number],required:!1},max:{type:[String,Number],required:!1},itemType:{type:[String],required:!1,default:"checkbox"},itemClass:{type:[String],required:!1}};function Vi(e,t,r){return{inheritAttrs:!1,props:{...te,...le,...qn},emits:["change","update:modelValue"],setup(n,i){const{emitEvent:o}=re({componentName:e},n.prop??n.name),u=a.ref(),l=a.ref([]),c=(V,T,v,E=!0)=>{const N=Ai(n,V,T,v);if(N===null)return u.value=[],l.value=[],E&&(o("update:modelValue",null),o("change",null)),null;let g=!0;if(N.length!==l.value.length)g=!1;else for(let C=0;C<N.length;C++){const w=N[C],L=l.value[C];if(!kn(n,w,L)){g=!1;break}}if(!g){l.value=N;let C=[],w=[];N.forEach(P=>(C.push(Ve(n,P)),n.valueType==="text"?w.push(ke(n,P)):n.valueType==="item"?w.push(P):w.push(Ve(n,P)),Ve(n,P))),u.value=C;const L=a.toRaw(w);E&&(o("update:modelValue",L),o("change",L))}},s=a.ref([]),h=Ni();a.watch([()=>n.source,()=>n.params],async([V,T])=>{if(V){const v=await h.load("checkbox",V,T);if(v.length>0)if(typeof v[0]=="string"){let g=v.map(C=>Oi(C));s.value=g}else s.value=v}},{immediate:!0}),a.watch([()=>s.value,()=>n.modelValue],([V,T])=>{c(T,n.valueType,V,!1)});const f=he(a.computed(()=>n.disabled)),O=de(a.computed(()=>n.readonly)),q=e,p=a.computed(()=>({[q]:!0})),y=V=>{c(V,"value",s.value,!0)};let $=Q(n,"hintText"),x=a.ref(!1);const R=V=>{const T=[];return V.forEach((v,E)=>{const N=Ve(n,v),g=ke(n,v),C=H.toBoolean(v.disabled),L={key:`${N}_${E}`,class:n.itemClass,label:N,disabled:C,size:n.size,border:H.toBoolean(n.border)};n.itemType==="button"?T.push(a.h(b.ElCheckboxButton,L,{default:()=>[g]})):T.push(a.h(b.ElCheckbox,L,{default:()=>[g]}))}),T};return()=>{const T={...i.attrs,class:p.value,disabled:f.value||O.value,modelValue:u.value,["text-color"]:n.textColor,fill:n.fill,max:H.toNumber(n.max),min:H.toNumber(n.min),onChange:y},v=[],E={};i.slots.options?E.default=i.slots.options:E.default=()=>R(s.value);const N=a.h(b.ElCheckboxGroup,T,E);v.push(N);const g={default:()=>v};if(i.slots.default){const P=i.slots.default();g.label=()=>P}const w={...ie(n,qn),hintText:$.value,hintVisible:x.value,prop:`${n.prop??n.name}_item`};return a.h(r,w,g)}}}}const{componentName:Ti,create:Ii,scope:Ri}=W("checkbox-item"),Bn=Ii(Vi(Ti,Ri,ae));function Te(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ie(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function _n(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class Mi{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const i=Ce(this.proxy,t);return i===null?(console.error(`${t} component not found api function`),[]):(H.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await i(r,n))}}function Di(){const e=a.getCurrentInstance();return new Mi(e.proxy)}function Ln(e,t,r){const n=Te(e,t),i=Te(e,r);if(n!==i)return!1;const o=Ie(e,t),u=Ie(e,r);return o===u}function jn(e,t,r,n){if(n.length==0)return[];if(t===""||t===null||t===void 0)return[];Array.isArray(t)||(t=[t]);const i=[];return t.forEach(o=>{for(let u of n){const l=_n(e,u);if(Array.isArray(l)&&l.length>0){const c=jn(e,o,r,l);Reflect.apply([].push,i,c)}else{let c=!1;if(r==="text")c=Te(e,u)===o;else if(r==="item")c=Ln(e,u,o);else{let s=Ie(e,u);s==null&&(s=Te(e,u)),c=s===o}if(c){i.push(u);break}}}}),i}function ki(e){return{text:e,value:e}}const Pn={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},remoteMethod:{type:[Function],required:!1}};function qi(e,t,r){return{props:{...te,...le,...Pn},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,i){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Ee.useFoxI18n(t),l=u(n,["placeholder"]),c=a.ref(),s=a.ref([]),h=(d,I,m,A=!0)=>{const D=jn(n,d,I,m);let B=!0;if(D.length!==s.value.length)B=!1;else for(let _=0;_<D.length;_++){const j=D[_],K=s.value[_];if(!Ln(n,j,K)){B=!1;break}}if(!B){s.value=D;let _=[],j=[];D.forEach(z=>(_.push(Ie(n,z)),n.valueType==="text"?j.push(Te(n,z)):n.valueType==="item"?j.push(z):j.push(Ie(n,z)),Ie(n,z)));let K;n.multiple?(c.value=_,K=a.toRaw(j)):(c.value=_[0]??"",K=a.toRaw(j[0]??"")),A&&(o("update:modelValue",K),o("change",K))}},f=a.ref([]),O=Di();a.watch([()=>n.source,()=>n.params],async([d,I])=>{if(d){const m=await O.load("select",d,I);if(m.length>0)if(typeof m[0]=="string"){let B=m.map(_=>ki(_));f.value=B}else f.value=m}},{immediate:!0}),a.watch([()=>f.value,()=>n.modelValue],([d,I])=>{h(I,n.valueType,d,!1)});let q=null,p=a.ref(!1);typeof n.remoteMethod=="function"&&(q=async d=>{if(d!=null){p.value=!0;try{const I=await n.remoteMethod(d);f.value=I}catch(I){console.error(I)}p.value=!1}});const y=a.ref(!1),$=he(a.computed(()=>n.disabled)),x=de(a.computed(()=>n.readonly)),R=e,V=a.computed(()=>({[R]:!0})),T=d=>{n.allowCreate?(o("update:modelValue",d),o("change",d),c.value=d):h(d,"value",f.value,!0)};let v=Q(n,"hintText"),E=a.ref(!1);const N=d=>{let m=d.target.value;y.value=!0,ce(v.value)||(E.value=!0),o("focus",m,d)},g=d=>{setTimeout(()=>{E.value&&(E.value=!1),y.value=!1},0);let m=d.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),w.value?setTimeout(()=>{o("blur",m,d)},50):o("blur",m,d)},C=()=>{o("clear","")},w=a.ref(!1),L=d=>{w.value=d,o("visible-change",d)},P=d=>{o("remove-tag",d)},k=(d,I)=>{const m=[];return d.forEach((A,D)=>{const B=_n(n,A);if(Array.isArray(B)&&B.length>0){const _=k(B,I),j=Te(n,A),z={key:`${j}_${D}`,label:j};m.push(a.h(b.ElOptionGroup,z,{default:()=>_}))}else{const _=Ie(n,A),j=Te(n,A),K=H.toBoolean(A.disabled),X={key:`${_}_${D}`,label:j,disabled:K,value:_};typeof I=="function"?m.push(a.h(b.ElOption,X,{default:I})):m.push(a.h(b.ElOption,X))}}),m},M=a.ref();return se({focus:()=>{M?.value.focus()},blur:()=>{M?.value.blur()}}),()=>{const I={...i.attrs,ref:M,class:V.value,clearable:n.clearable,multiple:n.multiple,placeholder:l.placeholder.value,disabled:$.value||x.value,modelValue:c.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:C,onChange:T,onFocus:N,onBlur:g,onVisibleChange:L,onRemoveTag:P};typeof q=="function"&&(I["remote-method"]=q,I.loading=p.value);const m={};i.slots.prefix&&(m.prefix=i.slots.prefix),i.slots.empty&&(m.empty=i.slots.empty),m.default=()=>k(f.value,i.slots.option);const A=[],D=a.h(b.ElSelect,I,m);A.push(D);const B={default:()=>A};if(i.slots.default){const z=i.slots.default();B.label=()=>z}const j={...ie(n,Pn),hintText:v.value,hintVisible:E.value,prop:`${n.prop??n.name}_item`};return a.h(r,j,B)}}}}const{componentName:Bi,create:_i,scope:Li}=W("cascader-item"),Hn=_i(qi(Bi,Li,ae)),ji=Symbol.for("InnerPageScopeKey"),Pi=Symbol.for("DialogItemStateKey");function Hi(e,t){return{props:{title:{type:[String]},draggable:{type:[Boolean],default:!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:!1},closeOnPressEscape:{type:[Boolean],default:!0}},setup(r,n){a.provide(ji,!0);const i={};a.provide(Pi,i);const o=c=>{typeof i.beforeClose=="function"&&i.beforeClose(c)},u=a.ref(!0),l=c=>{u.value=c};return()=>{const s={...n.attrs,title:r.title,draggable:r.draggable,modelValue:u.value,"onUpdate:modelValue":l,"append-to-body":r.appendToBody,"close-on-click-modal":r.closeOnClickModal,"close-on-press-escape":r.closeOnPressEscape,"before-close":o},h={};if(typeof n.slots.default=="function"){const f=n.slots.default();h.default=()=>f}return a.h(b.ElDialog,s,h)}}}}const{componentName:co,create:Ki,scope:fo}=W("dialog-item"),Kn=Ki(Hi());var ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Fn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ge,function(){var r=1e3,n=6e4,i=36e5,o="millisecond",u="second",l="minute",c="hour",s="day",h="week",f="month",O="quarter",q="year",p="date",y="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,R={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},V=function(k,M,d){var I=String(k);return!I||I.length>=M?k:""+Array(M+1-I.length).join(d)+k},T={s:V,z:function(k){var M=-k.utcOffset(),d=Math.abs(M),I=Math.floor(d/60),m=d%60;return(M<=0?"+":"-")+V(I,2,"0")+":"+V(m,2,"0")},m:function k(M,d){if(M.date()<d.date())return-k(d,M);var I=12*(d.year()-M.year())+(d.month()-M.month()),m=M.clone().add(I,f),A=d-m<0,D=M.clone().add(I+(A?-1:1),f);return+(-(I+(d-m)/(A?m-D:D-m))||0)},a:function(k){return k<0?Math.ceil(k)||0:Math.floor(k)},p:function(k){return{M:f,y:q,w:h,d:s,D:p,h:c,m:l,s:u,ms:o,Q:O}[k]||String(k||"").toLowerCase().replace(/s$/,"")},u:function(k){return k===void 0}},v="en",E={};E[v]=R;var N=function(k){return k instanceof L},g=function k(M,d,I){var m;if(!M)return v;if(typeof M=="string"){var A=M.toLowerCase();E[A]&&(m=A),d&&(E[A]=d,m=A);var D=M.split("-");if(!m&&D.length>1)return k(D[0])}else{var B=M.name;E[B]=M,m=B}return!I&&m&&(v=m),m||!I&&v},C=function(k,M){if(N(k))return k.clone();var d=typeof M=="object"?M:{};return d.date=k,d.args=arguments,new L(d)},w=T;w.l=g,w.i=N,w.w=function(k,M){return C(k,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var L=function(){function k(d){this.$L=g(d.locale,null,!0),this.parse(d)}var M=k.prototype;return M.parse=function(d){this.$d=function(I){var m=I.date,A=I.utc;if(m===null)return new Date(NaN);if(w.u(m))return new Date;if(m instanceof Date)return new Date(m);if(typeof m=="string"&&!/Z$/i.test(m)){var D=m.match($);if(D){var B=D[2]-1||0,_=(D[7]||"0").substring(0,3);return A?new Date(Date.UTC(D[1],B,D[3]||1,D[4]||0,D[5]||0,D[6]||0,_)):new Date(D[1],B,D[3]||1,D[4]||0,D[5]||0,D[6]||0,_)}}return new Date(m)}(d),this.$x=d.x||{},this.init()},M.init=function(){var d=this.$d;this.$y=d.getFullYear(),this.$M=d.getMonth(),this.$D=d.getDate(),this.$W=d.getDay(),this.$H=d.getHours(),this.$m=d.getMinutes(),this.$s=d.getSeconds(),this.$ms=d.getMilliseconds()},M.$utils=function(){return w},M.isValid=function(){return this.$d.toString()!==y},M.isSame=function(d,I){var m=C(d);return this.startOf(I)<=m&&m<=this.endOf(I)},M.isAfter=function(d,I){return C(d)<this.startOf(I)},M.isBefore=function(d,I){return this.endOf(I)<C(d)},M.$g=function(d,I,m){return w.u(d)?this[I]:this.set(m,d)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(d,I){var m=this,A=!!w.u(I)||I,D=w.p(d),B=function(ue,Z){var ne=w.w(m.$u?Date.UTC(m.$y,Z,ue):new Date(m.$y,Z,ue),m);return A?ne:ne.endOf(s)},_=function(ue,Z){return w.w(m.toDate()[ue].apply(m.toDate("s"),(A?[0,0,0,0]:[23,59,59,999]).slice(Z)),m)},j=this.$W,K=this.$M,z=this.$D,X="set"+(this.$u?"UTC":"");switch(D){case q:return A?B(1,0):B(31,11);case f:return A?B(1,K):B(0,K+1);case h:var Re=this.$locale().weekStart||0,we=(j<Re?j+7:j)-Re;return B(A?z-we:z+(6-we),K);case s:case p:return _(X+"Hours",0);case c:return _(X+"Minutes",1);case l:return _(X+"Seconds",2);case u:return _(X+"Milliseconds",3);default:return this.clone()}},M.endOf=function(d){return this.startOf(d,!1)},M.$set=function(d,I){var m,A=w.p(d),D="set"+(this.$u?"UTC":""),B=(m={},m[s]=D+"Date",m[p]=D+"Date",m[f]=D+"Month",m[q]=D+"FullYear",m[c]=D+"Hours",m[l]=D+"Minutes",m[u]=D+"Seconds",m[o]=D+"Milliseconds",m)[A],_=A===s?this.$D+(I-this.$W):I;if(A===f||A===q){var j=this.clone().set(p,1);j.$d[B](_),j.init(),this.$d=j.set(p,Math.min(this.$D,j.daysInMonth())).$d}else B&&this.$d[B](_);return this.init(),this},M.set=function(d,I){return this.clone().$set(d,I)},M.get=function(d){return this[w.p(d)]()},M.add=function(d,I){var m,A=this;d=Number(d);var D=w.p(I),B=function(K){var z=C(A);return w.w(z.date(z.date()+Math.round(K*d)),A)};if(D===f)return this.set(f,this.$M+d);if(D===q)return this.set(q,this.$y+d);if(D===s)return B(1);if(D===h)return B(7);var _=(m={},m[l]=n,m[c]=i,m[u]=r,m)[D]||1,j=this.$d.getTime()+d*_;return w.w(j,this)},M.subtract=function(d,I){return this.add(-1*d,I)},M.format=function(d){var I=this,m=this.$locale();if(!this.isValid())return m.invalidDate||y;var A=d||"YYYY-MM-DDTHH:mm:ssZ",D=w.z(this),B=this.$H,_=this.$m,j=this.$M,K=m.weekdays,z=m.months,X=function(Z,ne,Se,ve){return Z&&(Z[ne]||Z(I,A))||Se[ne].slice(0,ve)},Re=function(Z){return w.s(B%12||12,Z,"0")},we=m.meridiem||function(Z,ne,Se){var ve=Z<12?"AM":"PM";return Se?ve.toLowerCase():ve},ue={YY:String(this.$y).slice(-2),YYYY:this.$y,M:j+1,MM:w.s(j+1,2,"0"),MMM:X(m.monthsShort,j,z,3),MMMM:X(z,j),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:X(m.weekdaysMin,this.$W,K,2),ddd:X(m.weekdaysShort,this.$W,K,3),dddd:K[this.$W],H:String(B),HH:w.s(B,2,"0"),h:Re(1),hh:Re(2),a:we(B,_,!0),A:we(B,_,!1),m:String(_),mm:w.s(_,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:D};return A.replace(x,function(Z,ne){return ne||ue[Z]||D.replace(":","")})},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(d,I,m){var A,D=w.p(I),B=C(d),_=(B.utcOffset()-this.utcOffset())*n,j=this-B,K=w.m(this,B);return K=(A={},A[q]=K/12,A[f]=K,A[O]=K/3,A[h]=(j-_)/6048e5,A[s]=(j-_)/864e5,A[c]=j/i,A[l]=j/n,A[u]=j/r,A)[D]||j,m?K:w.a(K)},M.daysInMonth=function(){return this.endOf(f).$D},M.$locale=function(){return E[this.$L]},M.locale=function(d,I){if(!d)return this.$L;var m=this.clone(),A=g(d,I,!0);return A&&(m.$L=A),m},M.clone=function(){return w.w(this.$d,this)},M.toDate=function(){return new Date(this.valueOf())},M.toJSON=function(){return this.isValid()?this.toISOString():null},M.toISOString=function(){return this.$d.toISOString()},M.toString=function(){return this.$d.toUTCString()},k}(),P=L.prototype;return C.prototype=P,[["$ms",o],["$s",u],["$m",l],["$H",c],["$W",s],["$M",f],["$y",q],["$D",p]].forEach(function(k){P[k[1]]=function(M){return this.$g(M,k[0],k[1])}}),C.extend=function(k,M){return k.$i||(k(M,L,C),k.$i=!0),C},C.locale=g,C.isDayjs=N,C.unix=function(k){return C(1e3*k)},C.en=E[v],C.Ls=E,C.p={},C})})(Fn);const $e=Fn.exports;var zn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ge,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,o=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,l={},c=function(y){return(y=+y)+(y>68?1900:2e3)},s=function(y){return function($){this[y]=+$}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function($){if(!$||$==="Z")return 0;var x=$.match(/([+-]|\d\d)/g),R=60*x[1]+(+x[2]||0);return R===0?0:x[0]==="+"?-R:R}(y)}],f=function(y){var $=l[y];return $&&($.indexOf?$:$.s.concat($.f))},O=function(y,$){var x,R=l.meridiem;if(R){for(var V=1;V<=24;V+=1)if(y.indexOf(R(V,0,$))>-1){x=V>12;break}}else x=y===($?"pm":"PM");return x},q={A:[u,function(y){this.afternoon=O(y,!1)}],a:[u,function(y){this.afternoon=O(y,!0)}],S:[/\d/,function(y){this.milliseconds=100*+y}],SS:[i,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[o,s("seconds")],ss:[o,s("seconds")],m:[o,s("minutes")],mm:[o,s("minutes")],H:[o,s("hours")],h:[o,s("hours")],HH:[o,s("hours")],hh:[o,s("hours")],D:[o,s("day")],DD:[i,s("day")],Do:[u,function(y){var $=l.ordinal,x=y.match(/\d+/);if(this.day=x[0],$)for(var R=1;R<=31;R+=1)$(R).replace(/\[|\]/g,"")===y&&(this.day=R)}],M:[o,s("month")],MM:[i,s("month")],MMM:[u,function(y){var $=f("months"),x=(f("monthsShort")||$.map(function(R){return R.slice(0,3)})).indexOf(y)+1;if(x<1)throw new Error;this.month=x%12||x}],MMMM:[u,function(y){var $=f("months").indexOf(y)+1;if($<1)throw new Error;this.month=$%12||$}],Y:[/[+-]?\d+/,s("year")],YY:[i,function(y){this.year=c(y)}],YYYY:[/\d{4}/,s("year")],Z:h,ZZ:h};function p(y){var $,x;$=y,x=l&&l.formats;for(var R=(y=$.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(C,w,L){var P=L&&L.toUpperCase();return w||x[L]||r[L]||x[P].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(k,M,d){return M||d.slice(1)})})).match(n),V=R.length,T=0;T<V;T+=1){var v=R[T],E=q[v],N=E&&E[0],g=E&&E[1];R[T]=g?{regex:N,parser:g}:v.replace(/^\[|\]$/g,"")}return function(C){for(var w={},L=0,P=0;L<V;L+=1){var k=R[L];if(typeof k=="string")P+=k.length;else{var M=k.regex,d=k.parser,I=C.slice(P),m=M.exec(I)[0];d.call(w,m),C=C.replace(m,"")}}return function(A){var D=A.afternoon;if(D!==void 0){var B=A.hours;D?B<12&&(A.hours+=12):B===12&&(A.hours=0),delete A.afternoon}}(w),w}}return function(y,$,x){x.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(c=y.parseTwoDigitYear);var R=$.prototype,V=R.parse;R.parse=function(T){var v=T.date,E=T.utc,N=T.args;this.$u=E;var g=N[1];if(typeof g=="string"){var C=N[2]===!0,w=N[3]===!0,L=C||w,P=N[2];w&&(P=N[2]),l=this.$locale(),!C&&P&&(l=x.Ls[P]),this.$d=function(I,m,A){try{if(["x","X"].indexOf(m)>-1)return new Date((m==="X"?1e3:1)*I);var D=p(m)(I),B=D.year,_=D.month,j=D.day,K=D.hours,z=D.minutes,X=D.seconds,Re=D.milliseconds,we=D.zone,ue=new Date,Z=j||(B||_?1:ue.getDate()),ne=B||ue.getFullYear(),Se=0;B&&!_||(Se=_>0?_-1:ue.getMonth());var ve=K||0,Ot=z||0,Vt=X||0,Tt=Re||0;return we?new Date(Date.UTC(ne,Se,Z,ve,Ot,Vt,Tt+60*we.offset*1e3)):A?new Date(Date.UTC(ne,Se,Z,ve,Ot,Vt,Tt)):new Date(ne,Se,Z,ve,Ot,Vt,Tt)}catch{return new Date("")}}(v,g,E),this.init(),P&&P!==!0&&(this.$L=this.locale(P).$L),L&&v!=this.format(g)&&(this.$d=new Date("")),l={}}else if(g instanceof Array)for(var k=g.length,M=1;M<=k;M+=1){N[1]=g[M-1];var d=x.apply(this,N);if(d.isValid()){this.$d=d.$d,this.$L=d.$L,this.init();break}M===k&&(this.$d=new Date(""))}else V.call(this,T)}}})})(zn);const Fi=zn.exports;var Wn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ge,function(){return function(r,n,i){var o=n.prototype,u=o.format;i.en.ordinal=function(l){var c=["th","st","nd","rd"],s=l%100;return"["+l+(c[(s-20)%10]||c[s]||c[0])+"]"},o.format=function(l){var c=this,s=this.$locale();if(!this.isValid())return u.bind(this)(l);var h=this.$utils(),f=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(O){switch(O){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return s.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return s.ordinal(c.week(),"W");case"w":case"ww":return h.s(c.week(),O==="w"?1:2,"0");case"W":case"WW":return h.s(c.isoWeek(),O==="W"?1:2,"0");case"k":case"kk":return h.s(String(c.$H===0?24:c.$H),O==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return O}});return u.bind(this)(f)}}})})(Wn);const zi=Wn.exports;var Gn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ge,function(){return function(r,n,i){var o=n.prototype,u=function(f){return f&&(f.indexOf?f:f.s)},l=function(f,O,q,p,y){var $=f.name?f:f.$locale(),x=u($[O]),R=u($[q]),V=x||R.map(function(v){return v.slice(0,p)});if(!y)return V;var T=$.weekStart;return V.map(function(v,E){return V[(E+(T||0))%7]})},c=function(){return i.Ls[i.locale()]},s=function(f,O){return f.formats[O]||function(q){return q.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,y,$){return y||$.slice(1)})}(f.formats[O.toUpperCase()])},h=function(){var f=this;return{months:function(O){return O?O.format("MMMM"):l(f,"months")},monthsShort:function(O){return O?O.format("MMM"):l(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(O){return O?O.format("dddd"):l(f,"weekdays")},weekdaysMin:function(O){return O?O.format("dd"):l(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(O){return O?O.format("ddd"):l(f,"weekdaysShort","weekdays",3)},longDateFormat:function(O){return s(f.$locale(),O)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return h.bind(this)()},i.localeData=function(){var f=c();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(O){return s(f,O)},meridiem:f.meridiem,ordinal:f.ordinal}},i.months=function(){return l(c(),"months")},i.monthsShort=function(){return l(c(),"monthsShort","months",3)},i.weekdays=function(f){return l(c(),"weekdays",null,null,f)},i.weekdaysShort=function(f){return l(c(),"weekdaysShort","weekdays",3,f)},i.weekdaysMin=function(f){return l(c(),"weekdaysMin","weekdays",2,f)}}})})(Gn);const Wi=Gn.exports;var Yn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ge,function(){var r="week",n="year";return function(i,o,u){var l=o.prototype;l.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var s=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=u(this).startOf(n).add(1,n).date(s),f=u(this).endOf(r);if(h.isBefore(f))return 1}var O=u(this).startOf(n).date(s).startOf(r).subtract(1,"millisecond"),q=this.diff(O,r,!0);return q<0?u(this).startOf("week").week():Math.ceil(q)},l.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(Yn);const Gi=Yn.exports;var Un={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ge,function(){return function(r,n){n.prototype.weekYear=function(){var i=this.month(),o=this.week(),u=this.year();return o===1&&i===11?u+1:i===0&&o>=52?u-1:u}}})})(Un);const Yi=Un.exports;var Zn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ge,function(){return function(r,n,i){n.prototype.dayOfYear=function(o){var u=Math.round((i(this).startOf("day")-i(this).startOf("year"))/864e5)+1;return o==null?u:this.add(o-u,"day")}}})})(Zn);const Ui=Zn.exports;var Xn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ge,function(){return function(r,n){n.prototype.isSameOrAfter=function(i,o){return this.isSame(i,o)||this.isAfter(i,o)}}})})(Xn);const Zi=Xn.exports;var Jn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ge,function(){return function(r,n){n.prototype.isSameOrBefore=function(i,o){return this.isSame(i,o)||this.isBefore(i,o)}}})})(Jn);const Xi=Jn.exports;$e.extend(Wi),$e.extend(zi),$e.extend(Fi),$e.extend(Gi),$e.extend(Yi),$e.extend(Ui),$e.extend(Zi),$e.extend(Xi);const Ji=[en,tn,nn,rn,ln,ae,dn,hn,ot,mn,wn,vn,xn,Nn,On,In,Dn,Bn,Hn,Kn,it,At],Qi=new Mr(Ji,[qr],"4.0.0");Object.defineProperty(S,"clone",{enumerable:!0,get:()=>H.clone}),Object.defineProperty(S,"extend",{enumerable:!0,get:()=>H.extend}),Object.defineProperty(S,"isArray",{enumerable:!0,get:()=>H.isArray}),Object.defineProperty(S,"isDate",{enumerable:!0,get:()=>H.isDate}),Object.defineProperty(S,"isESModule",{enumerable:!0,get:()=>H.isESModule}),Object.defineProperty(S,"isEqual",{enumerable:!0,get:()=>H.isEqual}),Object.defineProperty(S,"isFunction",{enumerable:!0,get:()=>H.isFunction}),Object.defineProperty(S,"isMap",{enumerable:!0,get:()=>H.isMap}),Object.defineProperty(S,"isObject",{enumerable:!0,get:()=>H.isObject}),Object.defineProperty(S,"isPlainObject",{enumerable:!0,get:()=>H.isPlainObject}),Object.defineProperty(S,"isPromise",{enumerable:!0,get:()=>H.isPromise}),Object.defineProperty(S,"isSet",{enumerable:!0,get:()=>H.isSet}),Object.defineProperty(S,"isString",{enumerable:!0,get:()=>H.isString}),Object.defineProperty(S,"isSymbol",{enumerable:!0,get:()=>H.isSymbol}),Object.defineProperty(S,"toBoolean",{enumerable:!0,get:()=>H.toBoolean}),Object.defineProperty(S,"toNumber",{enumerable:!0,get:()=>H.toNumber}),Object.defineProperty(S,"toTypeString",{enumerable:!0,get:()=>H.toTypeString}),S.Broadcast=mt,S.BroadcastKey=Y,S.CascaderItem=Hn,S.CheckboxItem=Bn,S.Content=rn,S.DateItem=vn,S.DialogItem=Kn,S.Domain=$t,S.DomainKey=me,S.FooterBar=nn,S.Group=ln,S.HeaderBar=tn,S.HintText=ot,S.InputItem=mn,S.Item=ae,S.Mapping=At,S.Page=en,S.Price=it,S.PriorityPolicy=Je,S.RadioItem=Dn,S.RowItem=hn,S.SelectItem=wn,S.SlotItem=dn,S.TableItem=In,S.TableMappingColumn=On,S.TimeItem=xn,S.TimeSelectItem=Nn,S.UniqueID=un,S.ValidateSchema=zt,S.ValidateSchemaKey=fe,S.clearNonNumber=cr,S.compareTo=rr,S.createBroadcast=yt,S.createValidateSchema=pt,S.debounce=xr,S.decimalLength=ur,S.default=Qi,S.defineBroadcast=mr,S.defineDomain=wt,S.defineItem=re,S.definePageState=Yt,S.deleteGlobalValidator=$r,S.disabledProperty=he,S.divide=nr,S.excludeProps=ie,S.floatData=gr,S.getGlobalValidateCheckEvents=Ht,S.getGlobalValidateResetEvents=Ft,S.getPageContentAreaHeight=Ze,S.getPageContentAreaWidth=Xe,S.getPageFooterAreaHeight=Ue,S.getPageHeaderAreaHeight=Ye,S.getRootDomain=Pe,S.includeProps=hr,S.indexOf=fr,S.integerLength=sr,S.isBrowser=_e,S.isEmptyString=ce,S.isInnerPage=Nr,S.isNumberString=lr,S.isRegExp=Bt,S.isSubPage=Ar,S.lastIndexOf=dr,S.multiply=tr,S.negate=ar,S.numberFormat=qt,S.property=He,S.raf=or,S.readonlyProperty=de,S.setGlobalValidateCheckEvents=wr,S.setGlobalValidateHandler=pr,S.setGlobalValidateMessages=vr,S.setGlobalValidateResetEvents=Sr,S.setGlobalValidator=br,S.throttle=bt,S.toPadding=oe,S.toPx=U,S.toPxDesc=ee,S.toValue=Q,S.unNumberFormat=ir,S.updatePageState=St,S.useBroadcast=Le,S.useDomain=ye,S.useExpose=se,S.usePageState=Ge,S.usePosition=cn,S.useRect=at,S.valueLength=Lt,Object.defineProperties(S,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
5
+ */function Ge(e,t="0"){let r=0,n=-1;e[0]=="-"&&(r++,n=1,e=e.substring(1),e.length),t[0]=="-"&&(r++,n=2,t=t.substring(1),t.length),e=ee(e),t=ee(t),[e,t]=ht(ee(e),ee(t)),r==1&&(n==1?e=dt(e):t=dt(t));let a=qt(e,t);return r?r==2?"-"+ee(a):e.length<a.length?ee(a.substring(1)):"-"+ee(dt(a)):ee(a)}function dt(e){let t="",r=e.length,n=e.split(".")[1],a=n?n.length:0;for(let c=0;c<r;c++)e[c]>="0"&&e[c]<="9"?t+=9-parseInt(e[c]):t+=e[c];let i=a>0?"0."+new Array(a).join("0")+"1":"1";return qt(t,i)}function ee(e){let t=e.split(".");for(t[0]||(t[0]="0");t[0][0]=="0"&&t[0].length>1;)t[0]=t[0].substring(1);return t[0]+(t[1]?"."+t[1]:"")}function ht(e,t){let r=e.split("."),n=t.split("."),a=r[0].length,i=n[0].length;return a>i?n[0]=new Array(Math.abs(a-i)+1).join("0")+(n[0]?n[0]:""):r[0]=new Array(Math.abs(a-i)+1).join("0")+(r[0]?r[0]:""),a=r[1]?r[1].length:0,i=n[1]?n[1].length:0,(a||i)&&(a>i?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(a-i)+1).join("0"):r[1]=(r[1]?r[1]:"")+new Array(Math.abs(a-i)+1).join("0")),e=r[0]+(r[1]?"."+r[1]:""),t=n[0]+(n[1]?"."+n[1]:""),[e,t]}function qt(e,t){[e,t]=ht(e,t);let r="",n=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){r="."+r;continue}let i=parseInt(e[a])+parseInt(t[a])+n;r=i%10+r,n=Math.floor(i/10)}return n?n.toString()+r:r}var U=(e=>(e[e.CEILING=0]="CEILING",e[e.DOWN=1]="DOWN",e[e.FLOOR=2]="FLOOR",e[e.HALF_DOWN=3]="HALF_DOWN",e[e.HALF_EVEN=4]="HALF_EVEN",e[e.HALF_UP=5]="HALF_UP",e[e.UNNECESSARY=6]="UNNECESSARY",e[e.UP=7]="UP",e))(U||{});function qe(e,t=0,r=U.HALF_EVEN){if(r===U.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let n=!1;e[0]==="-"&&(n=!0,e=e.substring(1));let a=e.split("."),i=a[0],c=a[1];if(t<0){if(t=-t,i.length<=t)return"0";{let u=i.substr(0,i.length-t);return e=u+"."+i.substr(i.length-t)+c,u=qe(e,0,r),(n?"-":"")+u+new Array(t+1).join("0")}}if(t==0)return i.length,Bt(a[1],i,n,r)?(n?"-":"")+gt(i):(n?"-":"")+i;if(a[1]){if(a[1].length<t)return(n?"-":"")+i+"."+a[1]+new Array(t-a[1].length+1).join("0")}else return(n?"-":"")+i+"."+new Array(t+1).join("0");c=a[1].substring(0,t);let o=a[1].substring(t);return o&&Bt(o,c,n,r)&&(c=gt(c),c.length>t)?(n?"-":"")+gt(i,parseInt(c[0]))+"."+c.substring(1):(n?"-":"")+i+"."+c}function Bt(e,t,r,n){if(!e||e===new Array(e.length+1).join("0")||n===U.DOWN||!r&&n===U.FLOOR||r&&n===U.CEILING)return!1;if(n===U.UP||r&&n===U.FLOOR||!r&&n===U.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(n){case U.HALF_DOWN:return!1;case U.HALF_UP:return!0;case U.HALF_EVEN:default:return parseInt(t[t.length-1])%2==1}}function gt(e,t=0){t||(t=1),typeof e=="number"&&e.toString();let r=e.length-1,n="";for(let a=r;a>=0;a--){let i=parseInt(e[a])+t;i==10?(t=1,i=0):t=0,n+=i}return t&&(n+=t),n.split("").reverse().join("")}function mt(e,t){e=e.toString(),t=t.toString();let r=0;e[0]=="-"&&(r++,e=e.substr(1)),t[0]=="-"&&(r++,t=t.substr(1)),e=Be(e),t=Be(t);let n=0,a=0;e.indexOf(".")!=-1&&(n=e.length-e.indexOf(".")-1),t.indexOf(".")!=-1&&(a=t.length-t.indexOf(".")-1);let i=n+a;if(e=Be(e.replace(".","")),t=Be(t.replace(".","")),e.length<t.length){let g=e;e=t,t=g}if(t=="0")return"0";let c=t.length,o=0,u=[],s=c-1,h="";for(let g=0;g<c;g++)u[g]=e.length-1;for(let g=0;g<2*e.length;g++){let S=0;for(let D=t.length-1;D>=s&&D>=0;D--)u[D]>-1&&u[D]<e.length&&(S+=parseInt(e[u[D]--])*parseInt(t[D]));S+=o,o=Math.floor(S/10),h=S%10+h,s--}return h=Be(wr(h,i)),r==1&&(h="-"+h),h}function wr(e,t){return t==0?e:(e=t>=e.length?new Array(t-e.length+1).join("0")+e:e,e.substr(0,e.length-t)+"."+e.substr(e.length-t,t))}function Be(e){for(;e[0]=="0";)e=e.substr(1);if(e.indexOf(".")!=-1)for(;e[e.length-1]=="0";)e=e.substr(0,e.length-1);return e==""||e=="."?e="0":e[e.length-1]=="."&&(e=e.substr(0,e.length-1)),e[0]=="."&&(e="0"+e),e}function pt(e,t,r=8){if(t==0)throw new Error("Cannot divide by 0");if(e=e.toString(),t=t.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let n=0;t[0]=="-"&&(t=t.substring(1),n++),e[0]=="-"&&(e=e.substring(1),n++);var a=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(t=ee(t.replace(".","")),a>=0){let s=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(s==-1)e=ee(e+new Array(a+1).join("0"));else if(a>s)e=e.replace(".",""),e=ee(e+new Array(a-s+1).join("0"));else if(a<s){e=e.replace(".","");let h=e.length-s+a;e=ee(e.substring(0,h)+"."+e.substring(h))}else a==s&&(e=ee(e.replace(".","")))}let i=0,c=t.length,o="",u=e.indexOf(".")>-1&&e.indexOf(".")<c?e.substring(0,c+1):e.substring(0,c);if(e=e.indexOf(".")>-1&&e.indexOf(".")<c?e.substring(c+1):e.substring(c),u.indexOf(".")>-1){let s=u.length-u.indexOf(".")-1;u=u.replace(".",""),c>u.length&&(s+=c-u.length,u=u+new Array(c-u.length+1).join("0")),i=s,o="0."+new Array(s).join("0")}for(r=r+2;i<=r;){let s=0;for(;parseInt(u)>=parseInt(t);)u=Ge(u,"-"+t),s++;o+=s,e?(e[0]=="."&&(o+=".",i++,e=e.substring(1)),u=u+e.substring(0,1),e=e.substring(1)):(i||(o+="."),i++,u=u+"0")}return(n==1?"-":"")+ee(qe(o,r-2))}function yt(e,t){return e=e.toString(),t=t.toString(),t=bt(t),Ge(e,t)}function bt(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Pt(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),_t(e),_t(t);let r="";e[0]=="-"&&(r="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let n=yt(e,mt(t,qe(pt(e,t),0,U.FLOOR)));return r+n}function _t(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Lt(e,t){let r=!1;if(e[0]=="-"&&t[0]!="-")return-1;if(e[0]!="-"&&t[0]=="-")return 1;if(e[0]=="-"&&t[0]=="-"&&(e=e.substr(1),t=t.substr(1),r=!0),[e,t]=ht(e,t),e.localeCompare(t)==0)return 0;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return e[n]>t[n]?r?-1:1:r?1:-1;return 0}class K{value;static RoundingModes=U;static validate(t){if(t){if(t=t.toString(),isNaN(t))throw Error("Parameter is not a number: "+t);t[0]=="+"&&(t=t.substring(1))}else t="0";if(t.startsWith(".")?t="0"+t:t.startsWith("-.")&&(t="-0"+t.substr(1)),/e/i.test(t)){let[r,n]=t.split(/[eE]/);r=ee(r);let a="";r[0]=="-"&&(a="-",r=r.substring(1)),r.indexOf(".")>=0?(n=parseInt(n)+r.indexOf("."),r=r.replace(".","")):n=parseInt(n)+r.length,r.length<n?t=a+r+new Array(n-r.length+1).join("0"):r.length>=n&&n>0?t=a+ee(r.substring(0,n))+(r.length>n?"."+r.substring(n):""):t=a+"0."+new Array(-n+1).join("0")+r}return t}constructor(t="0"){this.value=K.validate(t)}getValue(){return this.value}static getPrettyValue(t,r,n){if(!(r||n))r=3,n=",";else if(!(r&&n))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");t=K.validate(t);let a=t.charAt(0)=="-";a&&(t=t.substring(1));var i=t.indexOf(".");i=i>0?i:t.length;for(var c="",o=i;o>0;)o<r?(r=o,o=0):o-=r,c=t.substring(o,o+r)+(o<i-r&&o>=0?n:"")+c;return(a?"-":"")+c+t.substring(i)}getPrettyValue(t,r){return K.getPrettyValue(this.value,t,r)}static round(t,r=0,n=U.HALF_EVEN){if(t=K.validate(t),isNaN(r))throw Error("Precision is not a number: "+r);return qe(t,r,n)}round(t=0,r=U.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new K(qe(this.value,t,r))}static floor(t){return t=K.validate(t),t.indexOf(".")===-1?t:K.round(t,0,U.FLOOR)}floor(){return this.value.indexOf(".")===-1?new K(this.value):new K(this.value).round(0,U.FLOOR)}static ceil(t){return t=K.validate(t),t.indexOf(".")===-1?t:K.round(t,0,U.CEILING)}ceil(){return this.value.indexOf(".")===-1?new K(this.value):new K(this.value).round(0,U.CEILING)}static add(t,r){return t=K.validate(t),r=K.validate(r),Ge(t,r)}add(t){return new K(Ge(this.value,t.getValue()))}static subtract(t,r){return t=K.validate(t),r=K.validate(r),yt(t,r)}subtract(t){return new K(yt(this.value,t.getValue()))}static multiply(t,r){return t=K.validate(t),r=K.validate(r),mt(t,r)}multiply(t){return new K(mt(this.value,t.getValue()))}static divide(t,r,n){return t=K.validate(t),r=K.validate(r),pt(t,r,n)}divide(t,r){return new K(pt(this.value,t.getValue(),r))}static modulus(t,r){return t=K.validate(t),r=K.validate(r),Pt(t,r)}modulus(t){return new K(Pt(this.value,t.getValue()))}static compareTo(t,r){return t=K.validate(t),r=K.validate(r),Lt(t,r)}compareTo(t){return Lt(this.value,t.getValue())}static negate(t){return t=K.validate(t),bt(t)}negate(){return new K(bt(this.value))}}function Ht(e,t){return K.multiply(`${e}`,`${t}`)}function $t(e,t,r=8){return K.divide(`${e}`,`${t}`,r)}function St(e,t){return e=`${e}`,t=`${t}`,K.compareTo(e,t)}function Kt(e){return K.negate(e)}function wt(e,t=-1,r=!1,n=3,a=","){let i=`${e}`;if(i.length==0||i==="-")return"";let c=i.charAt(0);c=="-"?i=i.substring(1):c="";let o=i,u="",s=i.indexOf(".");s!=-1&&(o=i.substring(0,s),u=i.substring(s+1)),t!=-1&&(t<u.length?u=u.substring(0,t):r&&t>u.length&&(u=u.padEnd(t,"0")));let h;if(n>0){let g="",S=o.split("").reverse();for(let D=0;D<S.length;D++)g+=S[D]+((D+1)%n==0&&D+1!=S.length?a:"");u.length==0?h=`${c}${g.split("").reverse().join("")}`:h=`${c}${g.split("").reverse().join("")}.${u}`}else u.length==0?h=`${c}${o}`:h=`${c}${o}.${u}`;return h}function zt(e){let t=`${e}`,r=t.charAt(0);r=="-"?t=t.substring(1):r="";let n=t.replace(/[^\d\.-]/g,"");return`${r}${n}`}const Pe=typeof window<"u",Er=Pe&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Gt(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const Z=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Wt(e){return Z(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),Z(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function Yt(e){if(e==null)return 0;let t=`${e}`;if(t.length==0)return 0;t.charAt(0)=="-"&&(t=t.substring(1)),t=t.replace(/[^\d\.-]/g,"");const r=t.indexOf(".");return r==-1?t.length:r}function Ut(e){if(e==null)return 0;const t=`${e}`;if(t.length==0)return 0;const r=t.indexOf(".");return r==-1?0:t.length-(r+1)}function Zt(e,t,r){const n=e.indexOf(t);return n===-1?e:t==="-"&&n!==0?e.slice(0,n):e.slice(0,n+1)+e.slice(n).replace(r,"")}function vr(e,t=!0,r=!0){t?e=Zt(e,".",/\./g):e=e.replace(/\./g,""),r?e=Zt(e,"-",/-/g):e=e.replace(/-/,"");const n=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function Or(e,t){return typeof e=="object"||Array.isArray(e)?t.findIndex(r=>{if(L.isEqual(e,r))return!0}):t.indexOf(e)}function Cr(e,t){if(typeof e=="object"||Array.isArray(e)){let r=t.reverse().findIndex(n=>{if(L.isEqual(e,n))return!0});return r!==-1&&(r=t.length-1-r),r}return t.lastIndexOf(e)}function We(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function xr(e,...t){const r={};return t.forEach(n=>{for(const a in n)r[a]=e[a]}),r}function ie(e,...t){const r=[];t.forEach(a=>{Reflect.apply([].push,r,Reflect.ownKeys(a))});const n={};for(const a in e)r.includes(a)||(n[a]=e[a]);return n}const Vr=(e,t,r)=>{const n=Object.assign({},e),a=Object.assign({},r);return Object.keys(t).length>0?(Object.keys(n).forEach(i=>{a.hasOwnProperty(i)?(typeof a[i]=="function"&&(n[i]=a[i](t)),typeof a[i]=="string"&&(n[i]=t[a[i]])):t[i]&&(n[i]=t[i])}),n):e},X=Symbol("BroadcastKey");class Et{parent;children=[];callbacks=new Map;proxy=null;name;constructor(t,r,n){this.parent=t,this.proxy=r,this.name=n,t!==null&&t.addChild(this)}addChild(t){this.children.push(t)}removeChild(t){const r=this.children.findIndex(n=>t===n);r!==-1&&this.children.splice(r,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(t,r,...n){if(t.maxLevel!==void 0&&t.maxLevel!==null&&t.maxLevel>0){if(t.level=t.level??0,t.level>t.maxLevel)return[];t.level++}let a=!1;!t.name||t.name==="*"?a=!0:!t.name||t.name==="+"?(a=!1,t.name="*"):Gt(t.name)&&this.name&&t.name.test(this.name)?a=!0:typeof t.name=="function"?a=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(a=!0);const i=[];if(a){const c=this.callbacks.get(r);if(typeof c=="function"){const u=Reflect.apply(c,this.proxy,[...n]);u!=null&&i.push(u)}const o=this.proxy??{};if(typeof o[r]=="function"){const u=Reflect.apply(o[r],o,[...n]);u!=null&&i.push(u)}}return this.children.forEach(c=>{const o=Reflect.apply(c.emit,c,[{...t},r,...n]);o!=null&&Array.isArray(o)&&Reflect.apply([].push,i,[...o])}),i}emitToChildren(t,r,...n){const a=[];return this.children.forEach(i=>{const c=Reflect.apply(i.emit,i,[{...t},r,...n]);c!=null&&Array.isArray(c)&&Reflect.apply([].push,a,[...c])}),a}on(t,r){this.callbacks.set(t,r)}}function Ye(e,t,r,n){const a=new Et(t,e,r);if(n&&typeof n=="object")for(const i in n)a.on(i,n[i]);return a}function Nr(e,t,r){const n=r;if(n[X])return n[X];const a=l.inject(X,null),i=new Et(a,r,e);if(t&&typeof t=="object")for(const c in t)i.on(c,t[c]);return n[X]=i,l.provide(X,i),l.onUnmounted(()=>{i.destroy(),n[X]=void 0}),i}function _e(e=null){return e||(e=l.getCurrentInstance()?.proxy??null),e?e[X]??l.inject(X,null):l.inject(X,null)}class Tr{error(t,r){const n=r,a=_e(r);a?a.emit({name:"*"},"setErrorTip",t):typeof n.setErrorTip=="function"&&n.setErrorTip(t)}reset(t){const r=t,n=_e(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}success(t){const r=t,n=_e(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}decorate(t,r,n){Array.isArray(t)||(t=[t]);const a=n,i=_e(n),c=r.find(u=>u.required===!0||u.type==="required"&&u.required!==!1),o=t.find(u=>u.required===!0||u.type==="required"&&u.required!==!1);!c&&o?i?i.emit({name:"*"},"setRequired",!0):typeof a.setRequired=="function"&&a.setRequired(!0):c&&!o&&(i?i.emit({name:"*"},"setRequired",!1):typeof a.setRequired=="function"&&a.setRequired(!1),this.reset(n))}getValue(t){return t.modelValue}}let Xt=new Tr;function Ar(e){Xt=e}function Ir(e,t){Ce.default.setValidator(e,t)}function Rr(e){Ce.default.deleteValidator(e)}let Jt=["blur","clear"];function jr(e){Jt=e}function Qt(){return Jt}let en=["focus","change"];function Mr(e){en=e}function tn(){return en}function Dr(e){Ce.default.messages(e)}function Le(...e){const t=[];return e.forEach(r=>{r.forEach(n=>{const a=t.findIndex(i=>i.type===n.type);a!==-1&&t.splice(a,1),t.push(n)})}),t}function Ue(e){return e.forEach(t=>{t.type==="required"&&(t.required===null||t.required===void 0)&&(t.required=!0),!t.type&&(t.required===!0||t.required===!1)&&(t.type="required")}),e}const pe=Symbol("ValidateSchemaKey");class nn{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(t,r,n){this.parent=t,this.descriptor=r,this.proxy=n,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let t=this.proxy.$attrs;!t||(this.scope=l.effectScope(),this.scope.run(()=>{l.watchEffect(()=>{const r=Ue(Le(this.attrRules,this.rules)),n=[];for(let i in t){let c=t[i];if(this.hasValidator(i,!0)){if(c===!1)continue;let u={type:i};c!==null&&typeof c=="object"&&Object.assign(u,c),n.push(u);continue}let o=this.getValidator(i);if(o!==null){let u={type:i,validator:o};n.push(u)}}this.attrRules=Ue(n);const a=Le(this.attrRules,this.rules);l.nextTick(()=>{this.decorate(a,r)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(t,...r){const n=this.descriptor.validateHandler;if(n&&typeof n[t]=="function")return Reflect.apply(n[t],n,[...r]);const a=Xt;return a&&typeof a[t]=="function"?Reflect.apply(a[t],a,[...r]):null}decorate(t,r){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",t,r,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(t){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",t,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(t,r,n=!1){n?Ce.default.setValidator(t,r):this.validators[t]=r}getValidator(t){let r=this.validators[t]??null;return r||(r=this.parent?.getValidator(t)??null),r}deleteValidator(t,r=!1){r?Ce.default.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,r=!1){if(r)return Ce.default.hasValidator(t);{let n=Reflect.has(this.validators,t);return!n&&this.parent!==null&&(n=this.parent.hasValidator(t,!1)),n}}setRule(t){const r=Le(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=Ue(t):this.rules=Ue([t]);const n=Le(this.attrRules,this.rules);l.nextTick(()=>{this.decorate(n,r)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let r=Le(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(r.length>0){const a={[`${n}`]:r},i=this.getValue(),c={[`${n}`]:i},o=new Ce.default(a),u=this.proxy??c;return o.validate(c,{context:u}).then(h=>{if(h.pass)this.success();else{let g="error";Array.isArray(h.errors)&&h.errors.length>0&&(g=h.errors[0].message??g,h.errors=[h.errors[0]],h.errors[0].ref=u),this.error(g)}return h}).catch(h=>{const g=h.message??`${h}`;return this.error(g),h})}}return Promise.resolve({pass:!0})}}function Ze(e,t,r){if(r.valueName=r.valueName??"modelValue",r.valueType=r.valueType??"string",!r.validateHandler&&r.valueName!=="modelValue"){const a=r.valueName;r.validateHandler={getValue(i){return i[a]}}}return new nn(t,r,e)}const rn=Symbol("EventEmitterKey");class Fr{register=new Map;proxy;constructor(t){this.proxy=t}destroy(){this.proxy=null,this.register.clear()}off(t,r){let n=this.register.get(t);if(n&&Array.isArray(n)){let a=n.findIndex(i=>i===r);a!==-1&&n.splice(a,1)}}on(t,r){let n=this.register.get(t);n||(n=new Array,this.register.set(t,n)),n.push(r)}emit(t,...r){const n=this.register.get(t);n&&n.forEach(a=>{try{Reflect.apply(a,null,[t,...r])}catch(i){console.error(i.message,i)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...r])}}function kr(e,t){let r=0;return function(...n){const a=Date.now();a-r>t&&(Reflect.apply(e,{},[...n]),r=a)}}function vt(e,t){let r,n=null;return function(...a){n=a,r||(r=setTimeout(()=>{r=null,Reflect.apply(e,{},[...n??[]])},t))}}const be=Symbol("DomainKey"),Ae=Symbol("DataItemsKey");class Ot{_parent=null;get parent(){return this._parent}set parent(t){this._parent=t}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(t){this._broadcast=t}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(t){this._validateSchema=t}_props=l.reactive({});constructor(t=null){this._name=t}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(t,r=[]){for(const n in t){const a=t[n];r.length>0&&r.indexOf(a)!==-1||(this._props[n]=a)}}has(t){if(Reflect.has(this._props,t)){const r=this._props[t];if(r!=null)return!0}return this.parent==null?!1:this.parent.has(t)}delete(t){Reflect.deleteProperty(this._props,t)}set(t,r){this._props[t]=r}get(t,r){if(Reflect.has(this._props,t)){const n=this._props[t];if(n!=null)return n}return this.parent==null?r:this.parent.get(t,r)}getForParent(t,r){return this.parent==null?r:this.parent.get(t,r)}getForSelf(t){return this._props[t]}getAll(t){const r=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,t)){const a=n._props[t];r.push(a)}n=n._parent}return r}}const qr=new Ot;function He(){return qr}function $e(e=null){e||(e=l.getCurrentInstance());const t=e?.proxy;return t?t[be]??l.inject(be,null):l.inject(be,null)}const Ct=Symbol("OriginalDateKey");function xt(e,t,r=[],n){const a=l.getCurrentInstance(),i=a?.proxy;let c=l.inject(be,null);c===null&&(c=He());const o=e||t.prop||t.name,u=new Ot(o);u.parent=c;const s=R=>{if(!i[Ct]){const C={};L.extend(!0,C,l.toRaw(t.modelValue)),i[Ct]=C}u.set("modelValue",R)},h=()=>u.getForSelf("modelValue")??null,g=()=>i[Ct]??null;l.isReactive(t)?l.watchEffect(()=>{u.merge(t,r)}):u.merge(t,r),i[be]=u,l.provide(be,u);let S=null,D=null;if(a!==null){const R=l.inject(X,null);S=Ye(i,R,o,n),u.broadcast=S,i[X]=S,l.provide(X,S),i.broadcast=(b,A,...M)=>Reflect.apply(S.emit,S,[b,A,...M]);const C=l.inject(pe,null);D=Ze(i,C,{componentName:""}),u.validateSchema=D,i[pe]=D,l.provide(pe,D),i[Ae]=new Map,i.validate=(b=!0)=>{const A=[];let M=null;if(b===!0)M={name:"*"};else if(Array.isArray(b)&&b.length>0){const w=b;M={name:y=>y?w.indexOf(y)!==-1:!1}}else if(b!=null&&typeof b=="object"){const w=b;if(Array.isArray(w.include)&&w.include.length>0){const y=w.include;M={name:$=>$?y.indexOf($)!==-1:!1}}else if(Array.isArray(w.exclude)&&w.exclude.length>0){const y=w.exclude;M={name:$=>$?y.indexOf($)===-1:!1}}}if(M){const w=S?.emitToChildren(M,"validate",!1);w&&Reflect.apply([].push,A,w)}return A.length==1?A[0]:A.length>1?Promise.all(A).then(w=>{let y=[];return w.forEach($=>{$.pass===!1&&Array.isArray($.errors)&&(y=[...y,...$.errors])}),y.length>0?{pass:!1,errors:y}:{pass:!0}}):Promise.resolve({pass:!0})},i.setNameValidateRules=(b,A=!0)=>{if(A){const M=Reflect.ownKeys(b),w=[...M],y={name:$=>{const E=M.includes($);if(E){const I=w.findIndex(V=>$===V);I!==-1&&w.splice(I,1)}return E}};S?.emitToChildren(y,"setNameValidateRules",b,!1),w.length>0&&w.forEach($=>{let E=String($);const V=an(u,E,{componentName:"",fieldName:E,pureDataValidate:!0},S,D);i[Ae].set(E,V);const x=b[E];x&&V.validateSchema.setRule(x)})}},i.clearValidate=(b=!0)=>{let A=null;if(b===!0)A={name:"*"};else if(Array.isArray(b)&&b.length>0){const M=b;A={name:w=>w?M.indexOf(w)!==-1:!1}}else if(b!=null&&typeof b=="object"){const M=b;if(Array.isArray(M.include)&&M.include.length>0){const w=M.include;A={name:y=>y?w.indexOf(y)!==-1:!1}}else if(Array.isArray(M.exclude)&&M.exclude.length>0){const w=M.exclude;A={name:y=>y?w.indexOf(y)===-1:!1}}}A&&S?.emitToChildren(A,"clearValidate",!1)},i.resetFields=b=>{const A=h();if(!A)return;const M={};if(L.extend(!0,M,g()??{}),Array.isArray(b))b.forEach(w=>{A[w]=M[w]});else if(b&&Array.isArray(b.include))(b.include??[]).forEach(y=>{A[y]=M[y]});else if(b&&Array.isArray(b.exclude)){let w=b.exclude??[];Reflect.ownKeys(M).forEach(y=>{w.includes(y)||(A[y]=M[y])})}else Object.assign(A,M);i.clearValidate(b)},i.setModelValue=(b,A)=>{!A||A===o?s(b):S?.emitToChildren({name:A},"setModelValue",b)},i.getModelValue=()=>h()}return l.onUnmounted(()=>{u.destroy(),i[be]=void 0,i[Ae]&&(i[Ae].clear(),i[Ae]=void 0),S!==null&&(S.destroy(),i[X]=void 0),D!==null&&(D.destroy(),i[pe]=void 0)}),u}function ne(e,t,r){const a=l.getCurrentInstance()?.proxy,i=t??"",c=l.inject(X,null),o=Ye(a,c,i,r);a[X]=o,l.provide(X,o),a.broadcast=(R,C,...b)=>Reflect.apply(o.emit,o,[R,C,...b]);const u=l.inject(pe,null);e.fieldName=e.fieldName??i;const s=Ze(a,u,e);a[pe]=s,l.provide(pe,s),a.validate=(R=null)=>{const C=[];if(!Array.isArray(R)||R.indexOf(i)!==-1){const A=s?.validate();C.push(A)}let b=null;if(R===!0)b={name:"*"};else if(Array.isArray(R)&&R.length>0){const A=R;b={name:M=>M?A.indexOf(M)!==-1:!1}}else if(R!=null&&typeof R=="object"){const A=R;if(Array.isArray(A.include)&&A.include.length>0){const M=A.include;b={name:w=>w?M.indexOf(w)!==-1:!1}}else if(Array.isArray(A.exclude)&&A.exclude.length>0){const M=A.exclude;b={name:w=>w?M.indexOf(w)===-1:!1}}}if(b){const A=o.emitToChildren(b,"validate",!1);Reflect.apply([].push,C,A)}return C.length==1?C[0]:C.length>1?Promise.all(C).then(A=>{let M=[];return A.forEach(w=>{w.pass===!1&&Array.isArray(w.errors)&&(M=[...M,...w.errors])}),M.length>0?{pass:!1,errors:M}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=R=>s?.setRule(R),a.setNameValidateRules=(R,C=!1)=>{const b=R[i];if(b&&s?.setRule(b),C){const A={name:M=>Reflect.ownKeys(R).includes(M)};o.emitToChildren(A,"setNameValidateRules",R,!1)}},a.clearValidate=(R=null)=>{(!Array.isArray(R)||R.indexOf(t??"")!==-1)&&s?.clear();let C=null;if(R===!0)C={name:"*"};else if(Array.isArray(R)&&R.length>0){const b=R;C={name:A=>A?b.indexOf(A)!==-1:!1}}else if(R!=null&&typeof R=="object"){const b=R;if(Array.isArray(b.include)&&b.include.length>0){const A=b.include;C={name:M=>M?A.indexOf(M)!==-1:!1}}else if(Array.isArray(b.exclude)&&b.exclude.length>0){const A=b.exclude;C={name:M=>M?A.indexOf(M)===-1:!1}}}C&&o.emitToChildren(C,"clearValidate",!1)};const h=new Fr(a);a[rn]=h;const g=vt((R="validate")=>{R==="reset"?s.clear():s.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Qt()).forEach(R=>{h.on(R,C=>{g("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:tn()).forEach(R=>{h.on(R,C=>{g("reset")})}),l.onUnmounted(()=>{o.destroy(),a[X]=void 0,s.destroy(),a[pe]=void 0,h.destroy(),a[rn]=void 0}),{broadcast:o,validateSchema:s,emitEvent:(R,...C)=>{Reflect.apply(h.emit,h,[R,...C])},onEvent:(R,C)=>{Reflect.apply(h.on,h,[C])},offEvent:(R,C)=>{Reflect.apply(h.off,h,[C])}}}function an(e,t,r,n,a){const i={},c=t??"";r.fieldName=c,r.validateHandler={getValue(s){const h=e.getForSelf("modelValue");return h?h[c]:null}};const o=Ze({},a,r);i.validate=(s=null)=>{const h=[];if(!Array.isArray(s)||s.indexOf(c)!==-1){const S=o?.validate();h.push(S)}let g=null;if(s===!0)g={name:"*"};else if(Array.isArray(s)&&s.length>0){const S=s;g={name:D=>D?S.indexOf(D)!==-1:!1}}else if(s!=null&&typeof s=="object"){const S=s;if(Array.isArray(S.include)&&S.include.length>0){const D=S.include;g={name:R=>R?D.indexOf(R)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const D=S.exclude;g={name:R=>R?D.indexOf(R)===-1:!1}}}if(g){const S=u.emitToChildren(g,"validate",!1);Reflect.apply([].push,h,S)}return h.length==1?h[0]:h.length>1?Promise.all(h).then(S=>{let D=[];return S.forEach(R=>{R.pass===!1&&Array.isArray(R.errors)&&(D=[...D,...R.errors])}),D.length>0?{pass:!1,errors:D}:{pass:!0}}):Promise.resolve({pass:!0})},i.setValidateRule=s=>o?.setRule(s),i.setNameValidateRules=s=>{const h=s[c];h&&o?.setRule(h)};const u=Ye(null,n,c,i);return{broadcast:u,validateSchema:o}}const re=(e,t=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&t<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${J(e,t)}px`:"";function J(e,t=-1){if(typeof e=="number")return e<1?e*t:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let r=e.indexOf("px");if(r!==-1)return Number(e.substring(0,r));if(r=e.indexOf("rem"),r!==-1){let a=Number(e.substring(0,r)),i=1;if(Pe){const{fontSize:c}=window.getComputedStyle(document.documentElement,null),o=c.indexOf("px");o>0&&(i=Number(c.substring(0,o)))}return a*=i,a}if(r=e.indexOf("%"),r!==-1)return Number(e.substring(0,r))*t;const n=Number(e);return isNaN(n)?0:n}const Se="PageStateKey";function he(e){const t={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(t.top=J(e.top)),e.left!==null&&e.left!==void 0&&(t.left=J(e.left)),e.bottom!==null&&e.bottom!==void 0&&(t.bottom=J(e.bottom)),e.right!==null&&e.right!==void 0&&(t.right=J(e.right))),t}function Vt(e,t,r={},n=!0,a=-1,i=-1,c=0,o=0){e.headerHeight=J(r.headerHeight??t.headerHeight),e.headerPadding=he(r.headerPadding??t.headerPadding),e.footerHeight=J(r.footerHeight??t.footerHeight),e.footerPadding=he(r.footerPadding??t.footerPadding),e.contentPadding=he(r.contentPadding??t.contentPadding),n&&(e.height=J(r.height??t.height,i)-J(c,i)-J(o,i),e.width=J(r.width??t.width,a))}function ln(e,t={}){const r={top:null,left:null,bottom:null,right:null},n={width:0,height:0,headerHeight:0,headerPadding:{...r},footerHeight:0,footerPadding:{...r},contentPadding:{...r},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},a=Object.assign(e.get("safeAreaInset")??{},t.safeAreaInset??{});a&&(n.safeAreaTop=J(a.top),n.safeAreaBottom=J(a.bottom),n.safeAreaLeft=J(a.left),n.safeAreaRight=J(a.right));const i=e.get("pageLayout");if(!i)return null;const c=e.get("rootWidth")??-1,o=e.get("rootHeight")??-1,u=e.get("headerBarHeight")??0,s=e.get("footerBarHeight")??0;Vt(n,i,t,!0,c,o,u,s);const h=l.reactive(n),g=e.getForParent(Se);g&&(n.height=et(e,g),n.width=tt(e,g),l.watch([()=>g.height,()=>g.width,()=>g.contentPadding,()=>g.headerMounted,()=>g.footerMounted],()=>{h.height=et(e,g),h.width=tt(e,g)}));const S=!g;return l.watch([()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([D,R=-1,C=-1,b=0,A=0])=>{Vt(h,D,t,S,R,C,b,A)}),e.set(Se,h),h}function Xe(e){return e.get(Se)}function Je(e,t){return t=t??e.get(Se),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function Qe(e,t){return t=t??e.get(Se),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function et(e,t){if(t=t??e.get(Se),t){const r=Je(e,t),n=Qe(e,t);return t.height-r-n-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function tt(e,t){return t=t??e.get(Se),t?t.width-(t.contentPadding.left??0)-(t.contentPadding.right??0):0}function Br(e,t){const r=e.get("isInnerPage");return typeof r=="function"?Reflect.apply(r,{},[t,e]):!1}function Pr(e){return!!e.getForParent(Se)}var nt=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(nt||{});function Nt(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function Ie(e,t,r=1,n){const a=$e();return a==null?e:r===0?l.computed(()=>{const i=a.getAll(t);for(let o=i.length-1;o>=0;o--){const u=i[o];if(Nt(u,n))return u}const c=e.value;return Nt(c,n)?c:null}):l.computed(()=>{const i=e.value;return Nt(i,n)?i:a?.get(t)})}function ue(e){return Ie(e,"readonly",0,function(r){return L.toBoolean(r)})}function ce(e){return Ie(e,"disabled",0,function(r){return L.toBoolean(r)})}function Y(e,t="modelValue",r){const n=l.toRef(e,t);let a=n.value;typeof r=="function"&&(a=r(n.value));const i=l.ref(a);return l.watch(n,c=>{if(typeof r=="function"){const o=r(c);o!==i.value&&(i.value=o)}else c!==i.value&&(i.value=c)}),i}const on=new Map,rt=new Map;let Tt=null;function _r(e){Tt=e}function sn(e,t,r){if(r){let n=rt.get(r);n||(n=new Map,rt.set(r,n)),n.set(e,t)}else on.set(e,t)}function xe(e,t,r){!r&&Tt&&(r=Tt(e)??void 0);let n=null;if(r){let a=rt.get(r);a&&(n=a.get(t))}return n||(n=on.get(t)),n}function Lr(e,t){for(let r in e){const n=e[r];sn(r,n,t)}}function Hr(e){rt.delete(e)}function Kr(){return{top:0,left:0,bottom:0,right:0}}function zr(){if(Pe){const e=document.documentElement.clientWidth||document.body.clientWidth,t=document.documentElement.clientHeight||document.body.clientHeight;return{width:e,height:t,headerHeight:44,footerHeight:44}}else return{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}class Gr{packages;installers;_version;get version(){return this._version}constructor(t,r,n){this.packages=t,this.installers=r,this._version=n}install(t,r={}){this.packages.forEach(i=>{i.install?t.use(i):i.name&&t.component(i.name,i)}),this.installers.forEach(i=>{i(t)});const n=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=He();if(this.initPageLayout(r,a),r.autoAdjustPageLayout!==!1&&window.ResizeObserver){const i=vt(()=>{const o={...r},u=document.documentElement.clientWidth||document.body.clientWidth,s=document.documentElement.clientHeight||document.body.clientHeight;o.width=u,o.height=s,this.initPageLayout(o,a)},150);new window.ResizeObserver(i).observe(window.document.body)}for(const i in r)n.indexOf(i)===-1&&a.set(i,r[i])}initPageLayout(t,r){const n=L.extend({},Kr(),t.safeAreaInset),a=L.extend({},zr(),t.pageLayout);r=r??He(),r.set("safeAreaInset",n),r.set("headerBarHeight",t.headerBarHeight??0),r.set("footerBarHeight",t.footerBarHeight??0),r.set("pageLayout",a),r.set("rootWidth",a.width),r.set("rootHeight",a.height)}setScopeGetter(t){_r(t)}setAPI(t,r,n){sn(t,r,n)}getAPI(t,r,n){return xe(t,r,n)}batchSetAPI(t,r){Lr(t,r)}clearScopeAPI(t){Hr(t)}getRootDomain(){return He()}}const Wr=[f.ElAffix,f.ElAlert,f.ElAutocomplete,f.ElAutoResizer,f.ElAvatar,f.ElBacktop,f.ElBadge,f.ElBreadcrumb,f.ElBreadcrumbItem,f.ElButton,f.ElButtonGroup,f.ElCalendar,f.ElCard,f.ElCarousel,f.ElCarouselItem,f.ElCascader,f.ElCascaderPanel,f.ElCheckTag,f.ElCheckbox,f.ElCheckboxButton,f.ElCheckboxGroup,f.ElCol,f.ElCollapse,f.ElCollapseItem,f.ElCollapseTransition,f.ElColorPicker,f.ElConfigProvider,f.ElContainer,f.ElAside,f.ElFooter,f.ElHeader,f.ElMain,f.ElDatePicker,f.ElDescriptions,f.ElDescriptionsItem,f.ElDialog,f.ElDivider,f.ElDrawer,f.ElDropdown,f.ElDropdownItem,f.ElDropdownMenu,f.ElEmpty,f.ElForm,f.ElFormItem,f.ElIcon,f.ElImage,f.ElImageViewer,f.ElInput,f.ElInputNumber,f.ElLink,f.ElMenu,f.ElSubMenu,f.ElMenuItem,f.ElMenuItemGroup,f.ElPageHeader,f.ElPagination,f.ElPopconfirm,f.ElPopover,f.ElPopper,f.ElProgress,f.ElRadio,f.ElRadioButton,f.ElRadioGroup,f.ElRate,f.ElResult,f.ElRow,f.ElScrollbar,f.ElSelect,f.ElOption,f.ElOptionGroup,f.ElSelectV2,f.ElSkeleton,f.ElSkeletonItem,f.ElSlider,f.ElSpace,f.ElSteps,f.ElStep,f.ElSwitch,f.ElTable,f.ElTableColumn,f.ElTableV2,f.ElTabs,f.ElTabPane,f.ElTag,f.ElTimePicker,f.ElTimeSelect,f.ElTimeline,f.ElTimelineItem,f.ElTooltip,f.ElTransfer,f.ElTree,f.ElTreeSelect,f.ElTreeV2,f.ElUpload],Yr=[f.ElInfiniteScroll,f.ElLoading,f.ElMessage,f.ElMessageBox,f.ElNotification,f.ElPopoverDirective],Ur=e=>{Wr.forEach(t=>{let r=t.name;typeof r=="string"?(r=`Fox${r.slice(2)}`,e.component(r,t)):e.use(t)}),Yr.forEach(t=>{e.use(t)})};function W(e){const t="fox-"+e;return{componentName:t,scope:e.replace("-",""),create(r){return r.baseName=e,r.name=t,r.install=n=>{n.component(r.name,r)},l.defineComponent(r)},createDemo(r){return r.baseName=e,r.name="demo-"+e,l.defineComponent(r)}}}const te={disabled:{type:[Boolean,String],required:!1},readonly:{type:[Boolean,String],required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},hasBorder:{type:Boolean,required:!1,default:!0}},oe={prop:{type:String,required:!1},label:{type:String,required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},isRequired:{type:[String,Boolean],required:!1,default:!1},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:"content--default"},contentStyle:{type:Object,required:!1,default:{}},hintType:{type:String,required:!1,default:"text"},hintText:{type:[String,Number],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:!0},hintProps:{type:Object,required:!1,default:{}},hasBorder:{type:Boolean,default:!0}},un={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},cn={name:{type:String,required:!1},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},type:{type:[String],required:!1,default:"flex"},title:{type:String,default:""},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},autoLayout:{type:[Boolean],required:!1,default:!0},isWrap:{type:[Boolean],required:!1,default:!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1}},fn=[];for(const e in cn)fn.push(e);function se(e,t=null){if(t||(t=l.getCurrentInstance()),t&&t.proxy){let r=t.proxy;Object.assign(r,e)}}const Zr=Symbol.for("InnerPageScopeKey"),Xr=(e,t)=>({inheritAttrs:!1,props:{...te,...un,name:{type:String,required:!1,default:""},modelValue:{type:Object,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1}},setup(r,n){const a=xt(r.name,r);if(a){const s=ln(a,r);se({getPageContentHeight:()=>et(a,s),getPageContentWidth:()=>tt(a,s),getPageHeaderHeight:()=>Je(a,s),getPageFooterHeight:()=>Qe(a,s)});const h=l.inject(Zr,!1);s&&h&&(s.contentHeight="100%")}const i=l.computed(()=>({[e]:!0})),c=l.computed(()=>({})),o=l.getCurrentInstance(),u=s=>{const h=o?.proxy;h&&typeof h.setNameValidateRules=="function"&&h.setNameValidateRules(s,!0)};return l.watch(()=>r.rules,(s,h)=>{if(!s&&!h)return;const g=l.toRaw(h),S=l.toRaw(s),D=S?Reflect.ownKeys(S):[];(g?Reflect.ownKeys(g):[]).forEach(C=>{D.includes(C)||(S[C]=[])}),u(S)},{deep:!0}),l.onMounted(()=>{if(r.rules){const s=l.toRaw(r.rules);u(s)}}),{classes:i,styles:c}}}),{componentName:Jr,create:Qr,scope:Ri}=W("page"),ea=Qr(Xr(Jr));function ta(e,t,r,n,a,i){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const Ve=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r},dn=Ve(ea,[["render",ta]]),na=(e,t)=>({props:{padding:{type:[Object],required:!1}},emits:[],setup(r,n){const a=$e(),i=a?Xe(a):null;i&&(i.headerMounted=!0);const c=l.computed(()=>({[e]:!0})),o=l.computed(()=>{const s={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&i){const h=he(r.padding??i.footerPadding);return Object.assign(s,h),s.height=i.headerHeight,s.safeAreaTop=i.safeAreaTop,s.safeAreaTop&&(s.top=s.safeAreaTop+(h.top??0),s.height=s.height+i.safeAreaTop),s.height,s.safeAreaTop,s}if(r.padding){const h=he(r.padding);Object.assign(s,h)}return s});l.onUnmounted(()=>{i&&(i.headerMounted=!1)});const u=l.computed(()=>{const s={};return o.value.height&&(s.height=`${o.value.height}px`),o.value.top&&(s.paddingTop=`${o.value.top}px`),o.value.left&&(s.paddingLeft=`${o.value.left}px`),o.value.right&&(s.paddingRight=`${o.value.right}px`),o.value.bottom&&(s.paddingBottom=`${o.value.bottom}px`),s});return{classes:c,styles:u}}}),{componentName:ra,create:aa,scope:ji}=W("header-bar"),la=aa(na(ra));function ia(e,t,r,n,a,i){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const hn=Ve(la,[["render",ia]]);function oa(e,t){return{props:{padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(r,n){const a=$e(),i=a?Xe(a):null;i&&(i.footerMounted=!0);const c=l.computed(()=>{const s=e;let h=e;return r.align==="left"?h=`${h}__left`:r.align==="right"?h=`${h}__right`:h=`${h}__center`,{[s]:!0,[h]:!0}}),o=l.computed(()=>{const s={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&i){const h=he(r.padding??i.footerPadding);return Object.assign(s,h),s.safeAreaBottom=i.safeAreaBottom,s.safeAreaBottom&&(s.height=i.footerHeight+i.safeAreaBottom,s.bottom=s.safeAreaBottom+(h.bottom??0)),s.height,s.safeAreaBottom,s}if(r.padding){const h=he(r.padding);Object.assign(s,h)}return s});l.onUnmounted(()=>{i&&(i.footerMounted=!1)});const u=l.computed(()=>{const s={};return o.value&&(s.height=`${o.value.height}px`),o.value&&(s.paddingTop=`${o.value.top}px`),o.value&&(s.paddingLeft=`${o.value.left}px`),o.value&&(s.paddingRight=`${o.value.right}px`),o.value&&(s.paddingBottom=`${o.value.bottom}px`),s});return{classes:c,styles:u}}}}const{componentName:sa,create:ua,scope:Mi}=W("footer-bar"),ca=ua(oa(sa));function fa(e,t,r,n,a,i){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const gn=Ve(ca,[["render",fa]]);function da(e,t){return{props:{padding:{type:[Object],required:!1}},setup(r){const n=$e(),a=l.computed(()=>({[e]:!0})),i=l.computed(()=>{const c={};if(n){const o=Xe(n);if(o){if(r.padding){const g=he(r.padding);Object.assign(o.contentPadding,g)}const u=Je(n,o),s=Qe(n,o);let h="";if(o.contentHeight?h=`${o.contentHeight}`:h=`${o.height}px`,o.contentPadding,c.height=h,o.contentPadding.top||u>0){const g=(o&&o.contentPadding&&o.contentPadding.top)??0;c.paddingTop=`${u+g}px`}if(o.contentPadding.bottom||s>0){const g=(o&&o.contentPadding&&o.contentPadding.bottom)??0;c.paddingBottom=`${s+g}px`}return o.contentPadding.left&&(c.paddingLeft=`${o.contentPadding.left}px`),o.contentPadding.right&&(c.paddingRight=`${o.contentPadding.right}px`),c}}if(r.padding){const o=he(r.padding);o.left&&(c.paddingLeft=`${o.left}px`),o.top&&(c.paddingTop=`${o.top}px`),o.right&&(c.paddingRight=`${o.right}px`),o.bottom&&(c.paddingBottom=`${o.bottom}px`)}return c});return{classes:a,styles:i}}}}const{componentName:ha,create:ga,scope:Di}=W("content"),ma=ga(da(ha));function pa(e,t,r,n,a,i){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const mn=Ve(ma,[["render",pa]]),at="GroupStateKey",pn=Symbol.for("GroupScopeKey");function lt(){return l.inject(pn,!1)}function it(e=!0){l.provide(pn,e)}function ya(e,t={}){const r=e.get("width",-1),n={type:"form",width:r,column:-1,gutter:-1};Object.assign(n,t);const a=l.shallowRef(n),i=l.markRaw({layout:a,passport:0});return e.set(at,i),i}function yn(e,t,r=-1,n=-1,a=!1){const i=e.get(at);if(!i)return;const c=e.get("groupLayout")??{};r===-1&&(r=c.column??1),n===-1&&(n=c.gutter??0);const o=c.minItemWidth??-1,u=()=>{const s=t===""||t===-1,h=J(t);let g=L.toNumber(r);const S=J(n);if(!s){let C=(h-(g-1)*S)/g;for(;o!==-1&&g>1&&C<o;)g--,C=(h-(g-1)*S)/g}let D=!1;const R=i.layout;R.value.width=t,R.value.column!==g&&(R.value.column=g,D=!0),R.value.gutter!==S&&(R.value.gutter=S,D=!0),D&&l.triggerRef(R)};if(a)u();else{const s=++i.passport;setTimeout(()=>{s===i.passport&&u()},50)}}function ot(e,t=!1){let r;return t?r=e.getForParent(at):r=e.get(at),r.layout}function we(e,t=1){return t==="stretch"?-1:(t=L.toNumber(t),t===-1?100:100*t/e)}function ba(e){return e===window}const st=e=>{const t=l.unref(e);if(ba(t)){const r=t.innerWidth,n=t.innerHeight;return{top:0,left:0,right:r,bottom:n,width:r,height:n}}return t&&t.getBoundingClientRect?t.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},Ke=(e,t)=>e?t?`fox-group__${e}-${t}`:"":`fox-group__${t}`,$a=e=>{if(!e.props||e.props.span===null||e.props.span===void 0){const t=e.type,r=(t.props&&t.props.span&&t.props.span.default)??1;return typeof r=="function"?r():r}return e.props.span},Sa=e=>{if(!e.props||e.props.offset===null||e.props.offset===void 0){const r=e.type,n=(r.props&&r.props.offset&&r.props.offset.default)??0;return typeof n=="function"?n():n}const t=L.toNumber(e.props.offset);return t<0?0:t};function wa(e,t){return{props:{...te,...un,...cn},setup(r,n){const a=xt(r.name,r,fn),i=ya(a,{type:r.type}),c=lt();it(!0);const o=l.getCurrentInstance(),u=y=>{const $=o?.proxy;$&&typeof $.setNameValidateRules=="function"&&$.setNameValidateRules(y,!0)};l.watch(()=>r.rules,(y,$)=>{if(!y&&!$)return;const E=l.toRaw($),I=l.toRaw(y),V=I?Reflect.ownKeys(I):[];(E?Reflect.ownKeys(E):[]).forEach(m=>{V.includes(m)||(I[m]=[])}),u(I)},{deep:!0}),l.onMounted(()=>{if(r.rules){const y=l.toRaw(r.rules);u(y)}});const s=e,h=l.computed(()=>{const y={};if(c&&a){const $=ot(a,!0);if($.value.type!=="flex")return{};if(r.width){const V=re(r.width);y.width=V}else{const V=we($.value.column,r.span);V>0&&(y.width=`${V}%`)}if(r.height){const V=re(r.height);y.height=V}const E=we($.value.column,r.offset);E>0&&(y["margin-left"]=`${E}%`);const I=$.value.gutter/2;I>0&&(y["padding-left"]=`${I}px`,y["padding-right"]=`${I}px`)}else{if(r.width){const $=re(r.width);y.width=$}if(r.height){const $=re(r.height);y.height=$}}return y}),g=l.computed(()=>r.type==="flex"?{[`${Ke("",r.type)}`]:!0,[`${Ke("justify",r.justify)}`]:!0,[`${Ke("align",r.align)}`]:!0,[`${Ke("flex",r.flexWrap)}`]:!0,[`${s}__gutter`]:!0}:{[`${Ke("",r.type)}`]:!0,[`${s}__gutter`]:!0}),S=l.toRef(r,"title"),D=l.toRef(r,"gutter"),R=l.toRef(r,"column"),C=l.computed(()=>c?!0:r.isWrap),b=l.ref([]),A=y=>{b.value.push(y)},M=l.ref(-1);if(yn(a,M.value,R.value,D.value,!0),r.autoLayout){l.watch([M,R,D],([$,E,I])=>{yn(a,$,E,I,!1)});let y=null;l.onMounted(()=>{if(Pe&&b.value&&b.value.length>0){const $=b.value[0];M.value=st($).width,window.ResizeObserver&&(y=new window.ResizeObserver(()=>{const E=st($).width;E>0&&E!==M.value&&(M.value=E)}),y.observe($))}}),l.onUnmounted(()=>{y?.disconnect()})}const w=(y,$,E,I)=>{const V={...g.value};return $===0&&(V[`${s}__first`]=!0),E>=I-1&&(V[`${s}__last`]=!0),l.h("div",{ref:A,key:`${$}`,class:V},y)};return()=>{const y=[];let $=0;if(n.slots.title){const x={key:`${$++}`,class:{[`${s}__title`]:!0,[`${s}__first`]:!0}},m=l.h("div",x,[n.slots.title()]);y.push(m)}else if(S.value){const x={key:`${$++}`,class:{[`${s}__title`]:!0,[`${s}__first`]:!0}},m=l.h("div",{class:{[`${s}__title-mark`]:!0}}),k=l.h("div",{class:{[`${s}__title-text`]:!0}},[S.value]),_=l.h("div",x,[m,k]);y.push(_)}const E=n.slots.default?n.slots.default():[];let I=[],V=0;if(r.type==="flex"){for(let x=0;x<E.length;x++){const m=E[x],k=$a(m),_=Sa(m);if(k==="stretch"){if(V<i.layout.value.column){I.push(m);const p=w([...I],$++,x,E.length);y.push(p)}else{const p=w([...I],$++,x-1,E.length);y.push(p);const v=w([m],$++,x,E.length);y.push(v)}V=0,I=[];continue}let N=L.toNumber(k);if(N===-1){if(I.length>0){const v=w([...I],$++,x-1,E.length);y.push(v)}const p=w([m],$++,x,E.length);y.push(p),V=0,I=[];continue}N>i.layout.value.column?N=i.layout.value.column:N<=0&&(N=1);const j=V+N+_;if(j>i.layout.value.column){const p=w([...I],$++,x-1,E.length);y.push(p),V=N+_,I=[m]}else I.push(m),V=j}if(I.length>0){const x=w([...I],$++,E.length,E.length);y.push(x)}}else for(let x=0;x<E.length;x++){const m=E[x],k=w([m],$++,x,E.length);y.push(k)}return C.value?l.h("div",{class:{[`${s}`]:!0},style:h.value},[y]):y}}}}const{componentName:Ea,create:va,scope:Fi}=W("group"),bn=va(wa(Ea)),$n={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"&yen;"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:Number,required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:Oa,create:Ca}=W("price"),xa=Ca({props:{...$n},setup(e){const t=l.computed(()=>({[Oa]:!0})),r=l.computed(()=>e.needSymbol?e.symbol:""),n=l.computed(()=>We(e.price)==0?"":wt(e.price,e.decimalLength,!0,e.digits,e.separator)),a=l.computed(()=>{let c=n.value;if(c.length==0)return"";let o=c.indexOf(".");return c.substring(0,o)}),i=l.computed(()=>{let c=n.value;if(c.length==0)return"";let o=c.indexOf(".");return c.substring(o+1)});return{classes:t,showSymbol:r,intText:a,decimalText:i}}}),Va=["innerHTML"],Na=["innerHTML"];function Ta(e,t,r,n,a,i){return l.openBlock(),l.createElementBlock("view",{class:l.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(l.openBlock(),l.createElementBlock("view",{key:0,class:l.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Va)):l.createCommentVNode("",!0),l.createElementVNode("view",{class:l.normalizeClass(`fox-price--${e.size}`)},l.toDisplayString(e.intText),3),e.decimalText.length!=0?(l.openBlock(),l.createElementBlock("view",{key:1,class:l.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):l.createCommentVNode("",!0),l.createElementVNode("view",{class:l.normalizeClass(`fox-price--decimal-${e.size}`)},l.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(l.openBlock(),l.createElementBlock("view",{key:2,class:l.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Na)):l.createCommentVNode("",!0)],2)}const ut=Ve(xa,[["render",Ta]]),{componentName:At,create:Aa}=W("hint-text"),Ia=Aa({components:{[ut.name]:ut},props:{...$n,type:{type:String,default:"number"},id:{type:String},startPoint:{type:Object},width:{type:Number},height:{type:Number,default:40},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,t){const a=l.computed(()=>({[At]:!0})),i=l.computed(()=>({left:re(e.startPoint.x),top:re(e.startPoint.y-e.height-10-4),height:re(e.height),width:re(e.width)})),c=l.computed(()=>({[`${At}__content`]:!0})),o=l.computed(()=>({})),u=l.computed(()=>({[`${At}__arrow`]:!0})),s=l.computed(()=>({top:re(e.height)}));return{classes:a,styles:i,textClasses:c,textStyles:o,arrowClasses:u,arrowStyles:s}}}),Ra={key:1,class:"text"};function ja(e,t,r,n,a,i){const c=l.resolveComponent("fox-price");return l.openBlock(),l.createBlock(l.Transition,{name:"hint-text-fade"},{default:l.withCtx(()=>[l.withDirectives(l.createElementVNode("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.createElementVNode("div",{class:l.normalizeClass(e.textClasses),style:l.normalizeStyle(e.textStyles)},[e.type=="number"?(l.openBlock(),l.createBlock(c,{key:0,price:e.message,position:"before"},null,8,["price"])):(l.openBlock(),l.createElementBlock("span",Ra,l.toDisplayString(e.message),1))],6),l.createElementVNode("div",{class:l.normalizeClass(e.arrowClasses),style:l.normalizeStyle(e.arrowStyles)},null,6)],6),[[l.vShow,e.visible]])]),_:1})}const ct=Ve(Ia,[["render",ja]]);class Sn{seed=new Date().getTime();constructor(t){this.seed=t??new Date().getTime()}get(){let t=this.seed++;return this.seed<0&&(this.seed=0),t}}function Ma(e){return e===window}const wn=e=>{const t=l.unref(e);if(!t)return{x:0,y:0};if(Ma(t))return{x:0,y:0};let r=0,n=0,a=t;for(;a!==null;)n+=a.scrollTop,r+=a.scrollLeft,a=a.parentElement;const i=t.getBoundingClientRect(),c=i.x+r,o=i.y+n;return{x:c,y:o}},It={},Da=new Sn,Re=new Map,Rt=e=>{if(e){const t=document.getElementById(e);Re.delete(e),t&&document.body.removeChild(t)}else{for(const t of Re.keys()){const r=document.getElementById(t);r&&document.body.removeChild(r)}Re.clear()}},Fa=e=>{const t=document.getElementById(e.id);if(t){const r=Re.get(e.id);r?e={...It,...r,...e}:e={...It,...e};const n=l.createVNode(ct,e);return l.render(n,t),e.id}},ka=e=>{e.unmount=Rt;let t;if(e.id){if(t=e.id,Re.has(t))return Fa(e)}else t=`hinttext_${Da.get()}`;e={...It,...e},e.id=t,Re.set(t,e);const r=document.createElement("div");r.id=e.id;const n=l.createVNode(ct,e);return l.render(n,r),document.body.appendChild(r),t},qa=e=>{if(!e){console.warn("[FoxUI HintText]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},ft={show(e,t,r={},n=!0){n&&Rt(),qa(t);const a=wn(e),i={x:a.x,y:a.y},o=st(e).width;return ka({...r,message:t,startPoint:i,width:o})},hide(e){Rt(e)},install(e){e.config.globalProperties.$hintText=ft}},{componentName:En,create:Ba}=W("item"),Pa=Ba({inheritAttrs:!0,props:{...te,...oe},setup(e,t){ne({componentName:En,validate:!1},e.prop??e.name);const r=$e(),n=lt();it(!1);const a=En,i=l.computed(()=>({[a]:!0,[`${a}__gutter`]:!0,[`${a}__stretch`]:e.span==="stretch",[`${a}__input--border`]:e.hasBorder,"is-error":!!V.value,"is-warn":!!E.value,"is-info":!!y.value})),c=l.computed(()=>{const T={};if(n&&r){const F=ot(r,!1);if(F.value.type!=="flex")return e.width&&(T.width=re(e.width)),T;if(e.width)T.width=re(e.width);else{const P=we(F.value.column,e.span);P>0&&(T.width=`${P}%`)}const q=we(F.value.column,e.offset);q>0&&(T["margin-left"]=`${q}%`);const B=F.value.gutter/2;return B>0&&(T["padding-left"]=`${B}px`,T["padding-right"]=`${B}px`),T}else e.width&&(T.width=re(e.width));return T}),o=l.ref(null),u=l.computed({get:()=>o.value??L.toBoolean(e.isRequired),set:T=>{o.value=T}}),s=l.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),h=Ie(l.toRef(e,"labelPosition"),"labelPosition",nt.Near),g=l.computed(()=>h&&h.value==="top"?"top":h&&h.value==="right"?"right":"left"),S=l.computed(()=>({[`${a}__main`]:!0,[`${a}__main--${g.value}`]:!0})),D=l.computed(()=>({label:!0,[`label--${g.value}`]:!0})),R=Ie(l.toRef(e,"labelWidth"),"labelWidth",nt.Near),C=l.computed(()=>R&&R.value?{width:`${re(R.value)}`}:{}),b=l.computed(()=>({["label--string"]:!0,["label--required"]:u.value})),A=l.computed(()=>({content:!0,[e.contentClass]:!0})),M=l.computed(()=>({...e.contentStyle})),w=l.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});se({setRequired(T){u.value=T},setErrorTip(T){w.errorTip=T},setErrorIcon(T){w.errorIcon=T},setWarnTip(T){w.warnTip=T},setWarnIcon(T){w.warnIcon=T},setInfoTip(T){w.infoTip=T},setInfoIcon(T){w.infoIcon=T}});const y=l.computed(()=>e.infoTip||w.infoTip),$=l.computed(()=>e.infoIcon||w.infoIcon),E=l.computed(()=>e.warnTip||w.warnTip),I=l.computed(()=>e.warnIcon||w.warnIcon),V=l.computed(()=>e.errorTip||w.errorTip),x=l.computed(()=>e.errorIcon||w.errorIcon),m=l.computed(()=>V.value?"error":E.value?"warn":y.value?"info":""),k=l.computed(()=>m.value.length>0),_=l.computed(()=>m.value==="error"?V.value:m.value==="warn"?E.value:m.value==="info"?y.value:""),N=l.computed(()=>m.value==="error"?x.value:m.value==="warn"?I.value:m.value==="info"?$.value:null),j=l.computed(()=>{let T={[`${a}__tip`]:!0,[`${a}__tip--${m.value}`]:!0};return m.value==="error"&&e.errorClass?T[`${e.errorClass}`]=!0:m.value==="warn"&&e.warnClass?T[`${e.warnClass}`]=!0:m.value==="info"&&e.infoClass&&(T[`${e.infoClass}`]=!0),T}),p=l.computed(()=>{let T={};return h&&h.value==="top"?T["padding-left"]="0px":R&&R.value&&(T["padding-left"]=re(R.value)),T}),v=l.ref();let O="";return l.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([T,F,q,B])=>{!v.value||(T&&!Z(F)?O?ft.show(v.value,F,{...B,id:O,type:q}):O=ft.show(v.value,F,{...B,type:q}):ft.hide(O))}),{classes:i,styles:c,mainClasses:S,hasLabel:s,labelClasses:D,labelStyles:C,labelStringClasses:b,contentClasses:A,contentStyles:M,contentRef:v,hasTip:k,mTip:_,mIcon:N,tipClasses:j,tipStyles:p}}}),_a={key:0,class:"fox-item__tip-icon"},La={class:"fox-item__tip-text"};function Ha(e,t,r,n,a,i){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.createElementVNode("div",{class:l.normalizeClass(e.mainClasses)},[e.hasLabel?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(e.labelClasses),style:l.normalizeStyle(e.labelStyles)},[l.createElementVNode("div",{class:l.normalizeClass(e.labelStringClasses)},[l.renderSlot(e.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(e.label),1)])],2)],6)):l.createCommentVNode("",!0),l.createElementVNode("div",{ref:"contentRef",class:l.normalizeClass(e.contentClasses),style:l.normalizeStyle(e.contentStyles)},[l.renderSlot(e.$slots,"prepend"),l.renderSlot(e.$slots,"default"),l.renderSlot(e.$slots,"append")],6)],2),l.createVNode(l.Transition,{name:"fox-item__animate"},{default:l.withCtx(()=>[e.hasTip?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(e.tipClasses),style:l.normalizeStyle(e.tipStyles)},[e.mIcon?(l.openBlock(),l.createElementBlock("div",_a,l.toDisplayString(e.mIcon),1)):l.createCommentVNode("",!0),l.createElementVNode("div",La,l.toDisplayString(e.mTip),1)],6)):l.createCommentVNode("",!0)]),_:1}),l.renderSlot(e.$slots,"hide")],6)}const ae=Ve(Pa,[["render",Ha]]),{componentName:Ka,create:za}=W("slot-item"),vn=za({props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0}},setup(e,t){const r=Ka,n=l.computed(()=>({[r]:!0,[`${r}__stretch`]:e.span==="stretch"})),a=$e(),i=lt();it(!1);const c=l.computed(()=>{if(i&&a){const o=ot(a,!1);if(o.value.type!=="flex")return{};const u={},s=we(o.value.column,e.span);s>0&&(u.width=`${s}%`);const h=we(o.value.column,e.offset);h>0&&(u["margin-left"]=`${h}%`);const g=o.value.gutter/2;return g>0&&(u["padding-left"]=`${g}px`,u["padding-right"]=`${g}px`),u}return{}});return()=>{const o={class:n.value,style:c.value};return t.slots&&typeof t.slots.default=="function"?l.h("div",o,t.slots.default()):l.h("div",o)}}}),{componentName:Ga,create:Wa}=W("row-item"),On=Wa({props:{span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},align:{type:[String],required:!1,default:"center"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]}},setup(e,t){const r=Ga,n=l.computed(()=>({[r]:!0,[`${r}__stretch`]:e.span==="stretch",[`${r}__${e.align}`]:!0})),a=$e(),i=lt();it(!1);const c=l.computed(()=>{if(i&&a){const u=ot(a,!1);if(u.value.type!=="flex")return{};const s={},h=we(u.value.column,e.span);h>0&&(s.width=`${h}%`);const g=we(u.value.column,e.offset);g>0&&(s["margin-left"]=`${g}%`);const S=u.value.gutter/2;return S>0&&(s["padding-left"]=`${S}px`,s["padding-right"]=`${S}px`),s}return{}}),o=l.computed(()=>({[`${r}__content`]:!0}));return()=>{const u=[];t.slots.default&&u.push(t.slots.default());const s={class:o.value},h=l.h("div",s,u),g={class:n.value,style:c.value};return l.h("div",g,[h])}}}),Cn={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function Ya(e,t,r){return{props:{...te,...oe,...Cn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:c}=me.useFoxI18n(t),o=c(n,["placeholder"]),u=l.ref(!1),s=ce(l.computed(()=>n.disabled)),h=ue(l.computed(()=>n.readonly)),g=Y(n,"modelValue"),S=e,D=l.computed(()=>({[S]:!0})),R=I=>{g.value=I,i("update:modelValue",I),i("input",I)},C=I=>{i("change",I)};let b=Y(n,"hintText"),A=l.ref(!1);const M=I=>{let x=I.target.value;u.value=!0,Z(b.value)||(A.value=!0),i("focus",x,I)},w=I=>{setTimeout(()=>{A.value&&(A.value=!1),u.value=!1},0);let x=I.target.value;n.maxLength&&x.length>Number(n.maxLength)&&(x=x.slice(0,Number(n.maxLength))),i("blur",x,I)},y=()=>{i("clear","")},$=l.computed(()=>We(n.unit)>0),E=l.ref();return se({focus:()=>{E?.value.focus()},blur:()=>{E?.value.blur()},select:()=>{E?.value.select()}}),()=>{const V={...a.attrs,ref:E,class:D.value,placeholder:o.placeholder.value,clearable:n.clearable,disabled:s.value,readonly:h.value,modelValue:g.value,onClear:y,onChange:C,onInput:R,onFocus:M,onBlur:w},x={};a.slots.prepend&&(x.prepend=a.slots.prepend),a.slots.append&&(x.append=a.slots.append),a.slots.prefix&&(x.prefix=a.slots.prefix),a.slots.suffix?x.suffix=a.slots.suffix:$.value&&(x.suffix=()=>[n.unit]);const m=[],k=l.h(f.ElInput,V,x);m.push(k);const _={default:()=>m};if(a.slots.default){const v=a.slots.default();_.label=()=>v}const j={...ie(n,Cn),hintText:b.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,j,_)}}}}const{componentName:Ua,create:Za,scope:Xa}=W("input-item"),xn=Za(Ya(Ua,Xa,ae));function Ne(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function je(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function Vn(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class Ja{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=xe(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(L.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function Qa(){const e=l.getCurrentInstance();return new Ja(e.proxy)}function Nn(e,t,r){const n=Ne(e,t),a=Ne(e,r);if(n!==a)return!1;const i=je(e,t),c=je(e,r);return i===c}function Tn(e,t,r,n){if(n.length===0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];return t.forEach(i=>{for(let c of n){const o=Vn(e,c);if(Array.isArray(o)&&o.length>0){const u=Tn(e,i,r,o)??[];Reflect.apply([].push,a,u)}else{let u=!1;if(r==="text")u=Ne(e,c)===i;else if(r==="item")u=Nn(e,c,i);else{let s=je(e,c);s==null&&(s=Ne(e,c)),u=s===i}if(u){a.push(c);break}}}}),a}function el(e){return{text:e,value:e}}const An={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},remoteMethod:{type:[Function],required:!1},allowCreate:{type:Boolean,default:!1},unit:{type:[String],required:!1}};function tl(e,t,r){return{props:{...te,...oe,...An},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:c}=me.useFoxI18n(t),o=c(n,["placeholder"]),u=l.ref(null),s=l.ref([]),h=(p,v,O,T=!0)=>{const F=Tn(n,p,v,O);if(F===null){if(s.value===null||s.value.length===0)return;u.value=null,s.value=[],T&&(i("update:modelValue",null),i("change",null));return}let q=!0;if(F.length!==s.value.length)q=!1;else for(let B=0;B<F.length;B++){const P=F[B],H=s.value[B];if(!Nn(n,P,H)){q=!1;break}}if(!q){s.value=F;let B=[],P=[];F.forEach(z=>{B.push(je(n,z)),n.valueType==="text"?P.push(Ne(n,z)):n.valueType==="item"?P.push(z):P.push(je(n,z))});let H;n.multiple?(u.value=B,H=l.toRaw(P)):(u.value=B[0]??"",H=l.toRaw(P[0]??"")),T&&(i("update:modelValue",H),i("change",H))}},g=l.ref([]),S=Qa();l.watch([()=>n.source,()=>n.params],async([p,v])=>{if(p){const O=await S.load("select",p,v);if(O.length>0)if(typeof O[0]=="string"){let q=O.map(B=>el(B));g.value=q}else g.value=O}},{immediate:!0}),l.watch([()=>g.value,()=>n.modelValue],([p,v])=>{h(v,n.valueType,p,!1)});let D=null,R=l.ref(!1);typeof n.remoteMethod=="function"&&(D=async p=>{if(p!=null){R.value=!0;try{const v=await n.remoteMethod(p);g.value=v}catch(v){console.error(v)}R.value=!1}});const C=l.ref(!1),b=ce(l.computed(()=>n.disabled)),A=ue(l.computed(()=>n.readonly)),M=e,w=l.computed(()=>({[M]:!0})),y=p=>{n.allowCreate?(i("update:modelValue",p),i("change",p),u.value=p):h(p,"value",g.value,!0)};let $=Y(n,"hintText"),E=l.ref(!1);const I=p=>{let O=p.target.value;C.value=!0,Z($.value)||(E.value=!0),i("focus",O,p)},V=p=>{setTimeout(()=>{E.value&&(E.value=!1),C.value=!1},0);let O=p.target.value;n.maxLength&&O.length>Number(n.maxLength)&&(O=O.slice(0,Number(n.maxLength))),m.value?setTimeout(()=>{i("blur",O,p)},50):i("blur",O,p)},x=()=>{i("clear","")},m=l.ref(!1),k=p=>{m.value=p,i("visible-change",p)},_=p=>{i("remove-tag",p)},N=(p,v)=>{const O=[];return p.forEach((T,F)=>{const q=Vn(n,T);if(Array.isArray(q)&&q.length>0){const B=N(q,v),P=Ne(n,T),z={key:`${P}_${F}`,label:P};O.push(l.h(f.ElOptionGroup,z,{default:()=>B}))}else{const B=je(n,T),P=Ne(n,T),H=L.toBoolean(T.disabled),G={key:`${B}_${F}`,label:P,disabled:H,value:B};typeof v=="function"?O.push(l.h(f.ElOption,G,{default:v})):O.push(l.h(f.ElOption,G))}}),O},j=l.ref();return se({focus:()=>{j?.value.focus()},blur:()=>{j?.value.blur()}}),()=>{const v={...a.attrs,ref:j,class:w.value,clearable:n.clearable,multiple:n.multiple,placeholder:o.placeholder.value,disabled:b.value||A.value,modelValue:u.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:x,onChange:y,onFocus:I,onBlur:V,onVisibleChange:k,onRemoveTag:_};typeof D=="function"&&(v["remote-method"]=D,v.loading=R.value);const O={};a.slots.prefix&&(O.prefix=a.slots.prefix),a.slots.empty&&(O.empty=a.slots.empty),O.default=()=>N(g.value,a.slots.option);const T=[],F=l.h(f.ElSelect,v,O);T.push(F);const q={default:()=>T};if(a.slots.default){const z=a.slots.default();q.label=()=>z}const P={...ie(n,An),hintText:$.value,hintVisible:E.value,prop:`${n.prop??n.name}_item`};return l.h(r,P,q)}}}}const{componentName:nl,create:rl,scope:al}=W("select-item"),In=rl(tl(nl,al,ae)),Rn={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function ll(e,t,r){return{props:{...te,...oe,...Rn},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:c}=me.useFoxI18n(t),o=c(n,["placeholder"]),u=l.ref(!1),s=ce(l.computed(()=>n.disabled)),h=ue(l.computed(()=>n.readonly)),g=Y(n,"modelValue"),S=e,D=l.computed(()=>({[S]:!0})),R=V=>{g.value=V,i("update:modelValue",V),i("change",V)};let C=Y(n,"hintText"),b=l.ref(!1);const A=V=>{let m=V.target.value;u.value=!0,Z(C.value)||(b.value=!0),i("focus",m,V)},M=V=>{setTimeout(()=>{b.value&&(b.value=!1),u.value=!1},0);let m=V.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),i("blur",m,V)},w=()=>{i("clear","")},y=V=>{i("calendar-change",V)},$=(V,x,m)=>{i("panel-change",V,x,m)},E=V=>{i("visible-change",V)},I=l.ref();return se({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()},handleOpen:()=>{I?.value.handleOpen()},handleClose:()=>{I?.value.handleClose()}}),()=>{const x={...a.attrs,ref:I,class:D.value,placeholder:o.placeholder.value,disabled:s.value,readonly:h.value,modelValue:g.value,["onUpdate:modelValue"]:R,onClear:w,onFocus:A,onBlur:M,onCalendarChange:y,onPanelChange:$,onVisibleChange:E},m={};a.slots["range-separator"]&&(m["range-separator"]=a.slots["range-separator"]),a.slots.cell&&(m.default=a.slots.cell);const k=[],_=l.h(f.ElDatePicker,x,m);k.push(_);const N={default:()=>k};if(a.slots.default){const O=a.slots.default();N.label=()=>O}const p={...ie(n,Rn),hintText:C.value,hintVisible:b.value,prop:`${n.prop}_item`};return l.h(r,p,N)}}}}const{componentName:il,create:ol,scope:sl}=W("date-item"),jn=ol(ll(il,sl,ae)),Mn={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function ul(e,t,r){return{props:{...te,...oe,...Mn},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:c}=me.useFoxI18n(t),o=c(n,["placeholder"]),u=l.ref(!1),s=ce(l.computed(()=>n.disabled)),h=ue(l.computed(()=>n.readonly)),g=Y(n,"modelValue"),S=e,D=l.computed(()=>({[S]:!0})),R=E=>{g.value=E,i("update:modelValue",E),i("change",E)};let C=Y(n,"hintText"),b=l.ref(!1);const A=E=>{let V=E.target.value;u.value=!0,Z(C.value)||(b.value=!0),i("focus",V,E)},M=E=>{setTimeout(()=>{b.value&&(b.value=!1),u.value=!1},0);let V=E.target.value;n.maxLength&&V.length>Number(n.maxLength)&&(V=V.slice(0,Number(n.maxLength))),i("blur",V,E)},w=()=>{i("clear","")},y=E=>{i("visible-change",E)},$=l.ref();return se({focus:()=>{$?.value.focus()},blur:()=>{$?.value.blur()},handleOpen:()=>{$?.value.handleOpen()},handleClose:()=>{$?.value.handleClose()}}),()=>{const I={...a.attrs,ref:$,class:D.value,placeholder:o.placeholder.value,disabled:s.value,readonly:h.value,modelValue:g.value,["onUpdate:modelValue"]:R,onClear:w,onFocus:A,onBlur:M,onVisibleChange:y},V={},x=[],m=l.h(f.ElTimePicker,I,V);x.push(m);const k={default:()=>x};if(a.slots.default){const p=a.slots.default();k.label=()=>p}const N={...ie(n,Mn),hintText:C.value,hintVisible:b.value,prop:`${n.prop}_item`};return l.h(r,N,k)}}}}const{componentName:cl,create:fl,scope:dl}=W("time-item"),Dn=fl(ul(cl,dl,ae)),Fn={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function hl(e,t,r){return{props:{...te,...oe,...Fn},emits:["change","update:modelValue","blur","focus","clear"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:c}=me.useFoxI18n(t),o=c(n,["placeholder"]),u=l.ref(!1),s=ce(l.computed(()=>n.disabled)),h=ue(l.computed(()=>n.readonly)),g=Y(n,"modelValue"),S=e,D=l.computed(()=>({[S]:!0})),R=$=>{g.value=$,i("update:modelValue",$),i("change",$)};let C=Y(n,"hintText"),b=l.ref(!1);const A=$=>{let I=$.target.value;u.value=!0,Z(C.value)||(b.value=!0),i("focus",I,$)},M=$=>{setTimeout(()=>{b.value&&(b.value=!1),u.value=!1},0);let I=$.target.value;n.maxLength&&I.length>Number(n.maxLength)&&(I=I.slice(0,Number(n.maxLength))),i("blur",I,$)},w=()=>{i("clear","")},y=l.ref();return se({focus:()=>{y?.value.focus()},blur:()=>{y?.value.blur()},handleOpen:()=>{y?.value.handleOpen()},handleClose:()=>{y?.value.handleClose()}}),()=>{const E={...a.attrs,ref:y,class:D.value,placeholder:o.placeholder.value,disabled:s.value,readonly:h.value,modelValue:g.value,["onUpdate:modelValue"]:R,onClear:w,onFocus:A,onBlur:M},I={},V=[],x=l.h(f.ElTimeSelect,E,I);V.push(x);const m={default:()=>V};if(a.slots.default){const j=a.slots.default();m.label=()=>j}const _={...ie(n,Fn),hintText:C.value,hintVisible:b.value,prop:`${n.prop}_item`};return l.h(r,_,m)}}}}const{componentName:gl,create:ml,scope:pl}=W("time-select-item"),kn=ml(hl(gl,pl,ae));function qn(e,t=0){let r=`${e}`,n=r.indexOf(".");if(n==-1)return r;let a=n;for(let i=r.length-1;i>=n;i--)if(r.charAt(i)!="0"){a=i;break}return a-n<t?a=n+t+1:a!=n&&(a+=1),a>r.length?r=r.padEnd(a,"0"):r=r.substring(0,a),r}function Bn(e,t,r=20){if(typeof t=="string"&&(t=L.toNumber(t)),t==1||t==-1)return`${e}`;if(t==0)return"0";if(t>0){let n=Ht(`${e}`,`${t}`);return qn(n)}else{let n=$t(`${e}`,Kt(`${t}`),20);return qn(n)}}function yl(e,t=-1,r=!1,n=3,a=","){return wt(e,t,r,n,a)}function Pn(e,t,r,n,a=!0){if(e=="")return"";if(e=zt(e),t=L.toNumber(t),t==1)return e;if(n)e=Bn(e,t),r&&(e=="0"&&a?e=`${e}.`.padEnd(L.toNumber(r)+2,"0"):e=$t(e,1,L.toNumber(r)));else{let i=-1*t;e=Bn(e,i)}return e}function _n(e,t){let r={maxValid:!0,minValid:!0,message:""};if(t.min!==void 0){let n=L.toBoolean(t.minInclude),a=St(e,t.min);if(n&&a==-1||!n&&(a==0||a==-1)){let i="\u8BF7\u8F93\u5165\u4E0D\u5C0F\u4E8E {0} \u7684\u6570\u503C";r.message=i.replace("{0}",t.min),r.minValid=!1}}if(t.max!=null){let n=L.toBoolean(t.maxInclude),a=St(e,t.max);(n&&a==1||!n&&(a==0||a==1))&&(r.maxValid=!1)}return r}const Ln={modelValue:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},showTip:{type:[Boolean,String],required:!1,default:!0},min:{type:[Number,String],required:!1},minInclude:{type:[Boolean,String],required:!1,default:!0},max:{type:[Number,String],required:!1},maxInclude:{type:[Boolean,String],required:!1,default:!0},unit:{type:String,required:!1},rates:{type:[Number,String],required:!1,default:1},precision:{type:[Number,String],required:!1},integerLength:{type:[Number,String],required:!1,default:-1},decimalLength:{type:[Number,String],required:!1,default:2},autoPadding:{type:Boolean,required:!1,default:!0},digits:{type:Number,required:!1,default:3},separator:{type:String,required:!1,default:","},placeholder:{type:String,required:!1,default:""},textAlign:{type:String,required:!1}};function bl(e,t,r){return{props:{...te,...oe,...Ln},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),c=l.ref(!1),o=ce(l.computed(()=>n.disabled)),u=ue(l.computed(()=>n.readonly)),s=Y(n,"modelValue"),h=l.ref("");l.watch([()=>s.value,()=>n.rates,()=>n.precision],([N,j,p])=>{if(Z(N))return"";const v=Pn(N,j,p,!1);h.value!==v&&(h.value=v)},{immediate:!0});const g=l.computed(()=>{let N="";return c.value&&(N=h.value),N}),{t:S}=me.useFoxI18n(t),D=l.computed(()=>{let N=n.placeholder??"";return!c.value&&!Z(h.value)?N=yl(h.value,n.decimalLength,n.autoPadding,n.digits,n.separator):N=S(["placeholder",N]),N}),R=e,C=l.computed(()=>({[R]:!0,[`${R}__disabled`]:o.value,[`${R}__placeholder`]:h.value.length>0})),b=Ie(l.computed(()=>n.textAlign),"textAlign");l.computed(()=>c.value?{textAlign:"left"}:{textAlign:b.value??"right"});const A=l.ref(""),M=l.computed(()=>{let N=A.value;return Z(N)&&(N=n.errorTip??""),N}),w=l.ref(""),y=l.ref(!1),$=(N,j)=>{if(N=`${N}`,Z(N)){h.value="",s.value="",j.forEach(p=>{i(p,"")}),L.toBoolean(n.showTip)&&y.value&&(y.value=!1);return}if(N.length>=2){let p=N;if(p.charAt(0)=="-"&&(p=p.substring(1)),p.length>=2&&p.charAt(0)=="0"&&p.charAt(1)!="."){l.triggerRef(h);return}}if(N!="-"){if(!Wt(N)){l.triggerRef(h);return}if(n.integerLength!=-1&&Yt(N)>Number(n.integerLength)){l.triggerRef(h);return}if(n.decimalLength&&n.decimalLength!=-1&&Ut(N)>Number(n.decimalLength)){l.triggerRef(h);return}let p=_n(N,n);if(p.maxValid===!1){A.value=p.message,l.triggerRef(h);return}}else if(n.min!=null&&L.toNumber(n.min)>=0){l.triggerRef(h);return}w.value=N,L.toBoolean(n.showTip)&&(y.value=N.length>0),h.value=N,s.value=Pn(N,n.rates,n.precision,!0),j.forEach(p=>{i(p,s.value)})},E=N=>{$(N,["update:modelValue","input"])},I=N=>{$(N,["update:modelValue","change"])},V=N=>{if(c.value=!0,L.toBoolean(n.showTip)){let j=h.value;Z(j)&&(j=n.hintText),Z(j)||(w.value=j,y.value=!0)}A.value="",i("focus",s.value,N)},x=N=>{if(setTimeout(()=>{c.value=!1,L.toBoolean(n.showTip)&&y.value===!0&&(y.value=!1)},0),!Z(h.value)){let j=_n(h.value,n);if(j.minValid===!1||j.maxValid){A.value=j.message;return}}i("update:modelValue",s.value,N),i("blur",s.value,N)},m=()=>{i("clear","")},k=l.computed(()=>We(n.unit)>0),_=l.ref();return se({focus:()=>{_?.value.focus()},blur:()=>{_?.value.blur()},select:()=>{_?.value.select()}}),()=>{const j={...a.attrs,ref:_,class:C.value,type:"digit",maxlength:n.maxLength,placeholder:D.value,clearable:n.clearable,disabled:o.value,readonly:u.value,modelValue:g.value,onClear:m,onInput:E,onChange:I,onFocus:V,onBlur:x},p={};a.slots.prepend&&(p.prepend=a.slots.prepend),a.slots.append&&(p.append=a.slots.append),a.slots.prefix&&(p.prefix=a.slots.prefix),a.slots.suffix?p.suffix=a.slots.suffix:k.value&&(p.suffix=()=>[n.unit]);const v=[],O=l.h(f.ElInput,j,p);v.push(O);const T={default:()=>v};if(a.slots.default){const P=a.slots.default();T.label=()=>P}const q={...ie(n,Ln),errorTip:M.value,hintText:w.value,hintVisible:y.value,hintType:"number",prop:`${n.prop}_item`};return l.h(r,q,T)}}}}const{componentName:$l,create:Sl,scope:wl}=W("money-item"),Hn=Sl(bl($l,wl,ae));function Me(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Te(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function El(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class vl{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=xe(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(L.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function Ol(){const e=l.getCurrentInstance();return new vl(e.proxy)}function jt(e,t,r){const n=Me(e,t),a=Me(e,r);if(n!==a)return!1;const i=Te(e,t),c=Te(e,r);return i===c}function Kn(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];let i=n;for(let c=0;Array.isArray(i)&&c<t.length;c++){const o=t[c];if(Array.isArray(o)){const u=Kn(e,o,r,n);a.push(u)}else{let u=!1;for(let s of i){if(r==="text")u=Me(e,s)===o;else if(r==="item")u=jt(e,s,o);else{let h=Te(e,s);h==null&&(h=Me(e,s)),u=h===o}if(u){a.push(s),i=El(e,s);break}}if(!u)break}}return a}function Cl(e){return{text:e,value:e}}const zn={modelValue:{type:[Array],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},props:{type:[Object],required:!1},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},remoteMethod:{type:[Function],required:!1}};function xl(e,t,r){return{props:{...te,...oe,...zn},emits:["change","update:modelValue","blur","focus","clear","visible-change","expand-change","remove-tag"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:c}=me.useFoxI18n(t),o=c(n,["placeholder"]),u=l.ref(null),s=l.ref([]),h=(v,O,T,F=!0)=>{if(n.props&&n.props.lazy===!0){if(u.value===v)return;u.value=v;const P=l.toRaw(v);F&&(i("update:modelValue",P),i("change",P))}const q=Kn(n,v,O,T);if(q===null){if(s.value.length===0||s.value===null)return;s.value=[],u.value=null,F&&(i("update:modelValue",null),i("change",null));return}let B=!0;if(q.length!==s.value.length)B=!1;else for(let P=0;P<q.length;P++){const H=q[P],z=s.value[P];if(Array.isArray(H)){if(!Array.isArray(z)||H.length!==z.length)B=!1;else for(let G=0;G<H.length;G++)if(!jt(n,H[G],z[G])){B=!1;break}}else jt(n,H,z)||(B=!1);if(!B)break}if(!B){s.value=q;let P=[],H=[];q.forEach(G=>{if(Array.isArray(G)){let ge=[],fe=[];for(let le of G)ge.push(Te(n,le)),n.valueType==="text"?fe.push(Me(n,le)):n.valueType==="item"?fe.push(le):fe.push(Te(n,le));P.push(ge),H.push(fe)}else P.push(Te(n,G)),n.valueType==="text"?H.push(Me(n,G)):n.valueType==="item"?H.push(G):H.push(Te(n,G))}),u.value=P;const z=l.toRaw(H);F&&(i("update:modelValue",z),i("change",z))}},g=l.ref([]),S=Ol();l.watch([()=>n.source,()=>n.params],async([v,O])=>{if(v){const T=await S.load("cascader",v,O);if(T.length>0)if(typeof T[0]=="string"){let B=T.map(P=>Cl(P));g.value=B}else g.value=T}},{immediate:!0}),l.watch([()=>g.value,()=>n.modelValue],([v,O])=>{h(O,n.valueType,v,!1)});let D=null,R=l.ref(!1);typeof n.remoteMethod=="function"&&(D=async v=>{if(v!=null){R.value=!0;try{const O=await n.remoteMethod(v);g.value=O}catch(O){console.error(O)}R.value=!1}});const C=l.ref(!1),b=ce(l.computed(()=>n.disabled)),A=ue(l.computed(()=>n.readonly)),M=e,w=l.computed(()=>({[M]:!0})),y=l.computed(()=>{let v={label:n.textKey,value:n.valueKey,children:n.childrenKey};return n.multiple===!0&&(v.multiple=!0),n.props&&Object.assign(v,n.props),v}),$=v=>{n.allowCreate?(i("update:modelValue",v),i("change",v),u.value=v):h(v,"value",g.value,!0)};let E=Y(n,"hintText"),I=l.ref(!1);const V=v=>{let T=v.target.value;C.value=!0,Z(E.value)||(I.value=!0),i("focus",T,v)},x=v=>{setTimeout(()=>{I.value&&(I.value=!1),C.value=!1},0);let T=v.target.value;n.maxLength&&T.length>Number(n.maxLength)&&(T=T.slice(0,Number(n.maxLength))),k.value?setTimeout(()=>{i("blur",T,v)},50):i("blur",T,v)},m=()=>{i("clear","")},k=l.ref(!1),_=v=>{k.value=v,i("visible-change",v)},N=v=>{i("remove-tag",v)},j=v=>{i("expand-change",v)},p=l.ref();return se({focus:()=>{p?.value.focus()},blur:()=>{p?.value.blur()},getCheckedNodes:()=>p?.value.getCheckedNodes()}),()=>{const O={...a.attrs,ref:p,class:w.value,props:y.value,clearable:n.clearable,placeholder:o.placeholder.value,disabled:b.value||A.value,options:g.value,modelValue:u.value,onClear:m,onChange:$,onFocus:V,onBlur:x,onVisibleChange:_,onRemoveTag:N,expandChange:j};typeof D=="function"&&(O["remote-method"]=D,O.loading=R.value);const T={};a.slots.option&&(T.default=a.slots.option),a.slots.empty&&(T.empty=a.slots.empty);const F=[],q=l.h(f.ElCascader,O,T);F.push(q);const B={default:()=>F};if(a.slots.default){const G=a.slots.default();B.label=()=>G}const H={...ie(n,zn),hintText:E.value,hintVisible:I.value,prop:`${n.prop??n.name}_item`};return l.h(r,H,B)}}}}const{componentName:Vl,create:Nl,scope:Tl}=W("cascader-item"),Gn=Nl(xl(Vl,Tl,ae)),Wn={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function Al(e,t,r){return{props:{...te,...oe,...Wn},emits:["change","update:modelValue","blur","focus","clear","input","select"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:c}=me.useFoxI18n(t),o=c(n,["placeholder"]),u=l.ref(!1),s=ce(l.computed(()=>n.disabled)),h=ue(l.computed(()=>n.readonly)),g=Y(n,"modelValue"),S=e,D=l.computed(()=>({[S]:!0})),R=E=>{g.value=E,i("update:modelValue",E),i("input",E)},C=E=>{i("change",E)};let b=Y(n,"hintText"),A=l.ref(!1);const M=E=>{let V=E.target.value;u.value=!0,Z(b.value)||(A.value=!0),i("focus",V,E)},w=E=>{setTimeout(()=>{A.value&&(A.value=!1),u.value=!1},0);let V=E.target.value;n.maxLength&&V.length>Number(n.maxLength)&&(V=V.slice(0,Number(n.maxLength))),i("blur",V,E)},y=()=>{i("clear","")},$=l.ref();return se({focus:()=>{$?.value.focus()},blur:()=>{$?.value.blur()},select:()=>{$?.value.select()}}),()=>{const I={...a.attrs,ref:$,class:D.value,placeholder:o.placeholder.value,clearable:n.clearable,disabled:s.value,readonly:h.value,modelValue:g.value,onClear:y,onChange:C,onInput:R,onFocus:M,onBlur:w},V={};a.slots.prepend&&(V.prepend=a.slots.prepend),a.slots.append&&(V.append=a.slots.append),a.slots.prefix&&(V.prefix=a.slots.prefix),a.slots.suffix&&(V.suffix=a.slots.suffix),a.slots.option&&(V.default=a.slots.option);const x=[],m=l.h(f.ElAutocomplete,I,V);x.push(m);const k={default:()=>x};if(a.slots.default){const p=a.slots.default();k.label=()=>p}const N={...ie(n,Wn),hintText:b.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,N,k)}}}}const{componentName:Il,create:Rl,scope:jl}=W("autocomplete-item"),Yn=Rl(Al(Il,jl,ae));function Ml(e,t,r,n,a){let i=[];Array.isArray(e)?i=e:i=[e];const c=[],o=t[0];if(Array.isArray(o))for(let u=0;u<t.length&&u<i.length;u++){let s=t[u],h=i[u];const g=s.find(S=>S[n]===h);if(!g)break;c.push(g[r])}else{let u=t;for(let s=0;u&&s<i.length;s++){let h=i[s],g=u.find(S=>S[n]===h);if(!g)break;c.push(g[r]),u=g[a]}}return c}class Dl{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=xe(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(L.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function Fl(){const e=l.getCurrentInstance();return new Dl(e.proxy)}const Un={tag:{type:[String,Object],required:!1,default:"span"},resolveTag:{type:[Boolean],required:!1,default:!1},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array],required:!1},separator:{type:[String,Boolean,Number,Array],required:!1,default:"/"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"}};function kl(e,t){return{props:{...Un},setup(r,{attrs:n}){const a=Fl(),i=l.ref([]);l.watch([()=>r.source,()=>r.params],async([u,s])=>{i.value=await a.load(r.sourceType,u,s)},{immediate:!0});const c=l.computed(()=>{if(!Array.isArray(i.value)||i.value.length===0)return"";let u=Ml(r.modelValue,i.value,r.textKey,r.valueKey,r.childrenKey);return u.length==0?"":u.length===1?u[0]:u.join(r.separator)}),o=r.resolveTag?l.resolveComponent(r.tag):r.tag;return()=>{const u={...n};return r.resolveTag?l.h(o,u,{default:()=>c.value}):l.h(o,u,c.value)}}}}const{componentName:ki,create:ql,scope:qi}=W("mapping"),Mt=ql(kl());function Bl(e,t){return{props:{...Un},setup(r,{attrs:n}){return()=>{const a={default:i=>{const c=i.row[i.column.property];return l.h(Mt,{...r,modelValue:c})}};return l.h(f.ElTableColumn,{...n},a)}}}}const{componentName:Bi,create:Pl,scope:Pi}=W("table-mapping-column"),Zn=Pl(Bl());class _l{proxy;constructor(t){this.proxy=t}async load(t,r,n,a,i,c,o){if(Array.isArray(r)){let s=(n-1)*a,h=s+a;h>r.length&&(h=r.length);const g=r.slice(s,h);return{totalSize:r.length,page:g}}if(typeof r=="function")return await Reflect.apply(r,null,[n,a,i,c,o]);const u=xe(this.proxy,t);return u===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(L.isObject(i)&&l.isReactive(i)&&(i=l.toRaw(i)),await await Reflect.apply(u,null,[r,n,a,i,c,o]))}}function Ll(){const e=l.getCurrentInstance();return new _l(e.proxy)}const Xn={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},baseParams:{type:[Object]},params:{type:[Object]}},Jn={pageIndex:{type:[Number],required:!1,default:1},pageSize:{type:[Number],required:!1,default:10},pageSizes:{type:[Array],required:!1},paginationLayout:{type:[String],required:!1,default:"total, sizes, prev, pager, next, jumper"},paginationAlign:{type:[String],required:!1,default:"right"},paginationVisible:{type:[Boolean],required:!1,default:!0},hideOnSinglePage:{type:[Boolean],required:!1,default:!0}};function Hl(e,t,r){return{inheritAttrs:!1,props:{...te,...oe,...Xn,...Jn},emits:["change","page-size-change","page-index-change","current-change"],setup(n,a){const{locale:i}=me.useFoxI18n(t),{emitEvent:c}=ne({componentName:e},n.prop??n.name),o=e,u=l.computed(()=>({[o]:!0})),s=l.computed(()=>({[`${o}__pagination`]:!0,[`${o}__pagination__${n.paginationAlign}`]:!0})),h=l.ref(n.pageIndex);l.watch(()=>n.pageIndex,m=>{h.value=m});const g=m=>{h.value=m,c("page-index-change",m)},S=l.ref(n.pageSize);l.watch(()=>n.pageSize,m=>{S.value=m});const D=m=>{S.value=m,c("page-size-change",m)},R=l.shallowRef({}),C=l.computed(()=>({...R.value,...n.params??{},...n.baseParams??{}})),b=l.ref(0),A=l.ref(),M=Ll();let w=!0;const y=()=>Array.isArray(n.data)||typeof n.data=="function"?!0:L.toBoolean(n.autoLoad),$=async(m,k,_,N)=>{try{const j=await M.load("table",m,k,_,N,w,i.value);b.value=j.totalSize,A.value=j.page}catch(j){console.error("[FoxUI] Load Table Data Fail",j),b.value=0,A.value=[]}w=!1};l.watch([h,S],([m,k],[_,N])=>{k!==N&&(h.value=1,m=1),$(n.data,m,k,C.value)}),l.watch([()=>n.data,C],([m,k],[_,N])=>{!y()||(m!==_&&(w=!0),$(m,h.value,S.value,k))});const E=(m={})=>{R.value=l.toRaw(m??{}),l.triggerRef(R),l.nextTick(()=>{$(n.data,h.value,S.value,C.value)})};y()&&E();let I=null;const V=(m,k)=>{I=m,c("current-change",m,k)},x=l.ref();return se({clearSelection:()=>x?.value.clearSelection(),getSelectionRows:()=>x?.value.getSelectionRows(),toggleRowSelection:(m,k)=>{x?.value.toggleRowSelection(m,k)},toggleAllSelection:()=>{x?.value.toggleAllSelection()},toggleRowExpansion:(m,k)=>{x?.value.toggleRowExpansion(m,k)},setCurrentRow:m=>{x?.value.setCurrentRow(m)},getCurrentRow:()=>I,clearSort:()=>{x?.value.clearSort()},clearFilter:m=>{x?.value.clearFilter(m)},doLayout:()=>{x?.value.doLayout()},sort:(m,k)=>{x?.value.sort(m,k)},scrollTo:(m,k)=>{x?.value.scrollTo(m,k)},setScrollTop:m=>{x?.value.setScrollTop(m)},setScrollLeft:m=>{x?.value.setScrollLeft(m)},loadData:E}),()=>{const k={...a.attrs,onCurrentChange:V,data:A.value,ref:x,class:u.value},_={};a.slots.default&&(_.default=a.slots.default),a.slots.append&&(_.append=a.slots.append),a.slots.empty&&(_.empty=a.slots.empty);const N=[],j=l.h(f.ElTable,k,_);if(N.push(j),typeof a.slots.pagination=="function"){const F=a.slots.pagination();N.push(F)}else if(n.paginationVisible){const F={class:s.value,total:b.value,pageSize:S.value,["onUpdate:pageSize"]:D,pageSizes:n.pageSizes,currentPage:h.value,["onUpdate:currentPage"]:g,hideOnSinglePage:n.hideOnSinglePage,layout:n.paginationLayout,small:!0},q=l.h(f.ElPagination,F);N.push(q)}const p={default:()=>N},O={...ie(n,Xn,Jn),prop:`${n.prop}_item`};return O.contentClass=`${o}__wrap`,l.h(r,O,p)}}}}const{componentName:Kl,create:zl,scope:Gl}=W("table-item"),Qn=zl(Hl(Kl,Gl,ae));function De(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function ze(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class Wl{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=xe(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(L.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function Yl(){const e=l.getCurrentInstance();return new Wl(e.proxy)}function er(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=De(e,t),a=De(e,r);if(n!==a)return!1;const i=ze(e,t),c=ze(e,r);return i===c}function Ul(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;let a=null;for(let i of n){let c=!1;if(r==="text")c=De(e,i)===t;else if(r==="item")c=er(e,i,t);else{let o=ze(e,i);o==null&&(o=De(e,i)),c=o===t}if(c){a=i;break}}return a}function Zl(e){return{text:e,value:e}}const tr={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},itemType:{type:[String],required:!1,default:"radio"},itemClass:{type:[String],required:!1}};function Xl(e,t,r){return{inheritAttrs:!0,props:{...te,...oe,...tr},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),c=l.ref(null),o=l.ref(null),u=(w,y,$,E=!0)=>{const I=Ul(n,w,y,$);if(I===null){if(o.value===null)return;o.value=null,c.value=null,E&&(i("update:modelValue",null),i("change",null));return}if(!er(n,I,o.value)){c.value=w;const x=l.toRaw(I);o.value=x;let m=null;n.valueType==="text"?m=De(n,x):n.valueType==="item"?m=x:m=ze(n,x),E&&(i("update:modelValue",m),i("change",m))}},s=l.ref([]),h=Yl();l.watch([()=>n.source,()=>n.params],async([w,y])=>{if(w){const $=await h.load("radio",w,y);if($.length>0)if(typeof $[0]=="string"){let V=$.map(x=>Zl(x));s.value=V}else s.value=$}},{immediate:!0}),l.watch([()=>s.value,()=>n.modelValue],([w,y])=>{u(y,n.valueType,w,!1)});const g=ce(l.computed(()=>n.disabled)),S=ue(l.computed(()=>n.readonly)),D=e,R=l.computed(()=>({[D]:!0})),C=w=>{u(w,"value",s.value,!0)};let b=Y(n,"hintText"),A=Y(n,"hintVisible");const M=w=>{const y=[];return w.forEach(($,E)=>{const I=ze(n,$),V=De(n,$),x=L.toBoolean($.disabled),k={key:`${I}_${E}`,class:n.itemClass,label:I,disabled:x,size:n.size,border:L.toBoolean(n.border)};n.itemType==="button"?y.push(l.h(f.ElRadioButton,k,{default:()=>[V]})):y.push(l.h(f.ElRadio,k,{default:()=>[V]}))}),y};return()=>{const y={...a.attrs,class:R.value,disabled:g.value||S.value,modelValue:c.value,["text-color"]:n.textColor,fill:n.fill,onChange:C},$=[],E={};a.slots.options?E.default=a.slots.options:E.default=()=>M(s.value);const I=l.h(f.ElRadioGroup,y,E);$.push(I);const V={default:()=>$};if(a.slots.default){const _=a.slots.default();V.label=()=>_}const m={...ie(n,tr),hintText:b.value,hintVisible:A.value,prop:`${n.prop??n.name}_item`};return l.h(r,m,V)}}}}const{componentName:Jl,create:Ql,scope:ei}=W("radio-item"),nr=Ql(Xl(Jl,ei,ae));function Fe(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function ke(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class ti{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=xe(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(L.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function ni(){const e=l.getCurrentInstance();return new ti(e.proxy)}function rr(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=Fe(e,t),a=Fe(e,r);if(n!==a)return!1;const i=ke(e,t),c=ke(e,r);return i===c}function ri(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];return t.forEach(i=>{for(let c of n){let o=!1;if(r==="text")o=Fe(e,c)===i;else if(r==="item")o=rr(e,c,i);else{let u=ke(e,c);u==null&&(u=Fe(e,c)),o=u===i}if(o){a.push(c);break}}}),a}function ai(e){return{text:e,value:e}}const ar={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},min:{type:[String,Number],required:!1},max:{type:[String,Number],required:!1},itemType:{type:[String],required:!1,default:"checkbox"},itemClass:{type:[String],required:!1}};function li(e,t,r){return{inheritAttrs:!1,props:{...te,...oe,...ar},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),c=l.ref([]),o=l.ref([]),u=(w,y,$,E=!0)=>{const I=ri(n,w,y,$);if(I===null){if(o.value===null||o.value.length===0)return;c.value=[],o.value=[],E&&(i("update:modelValue",[]),i("change",[]));return}let V=!0;if(I.length!==o.value.length)V=!1;else for(let x=0;x<I.length;x++){const m=I[x],k=o.value[x];if(!rr(n,m,k)){V=!1;break}}if(!V){o.value=I;let x=[],m=[];I.forEach(_=>{x.push(ke(n,_)),n.valueType==="text"?m.push(Fe(n,_)):n.valueType==="item"?m.push(_):m.push(ke(n,_))}),c.value=x;const k=l.toRaw(m);E&&(i("update:modelValue",k),i("change",k))}},s=l.ref([]),h=ni();l.watch([()=>n.source,()=>n.params],async([w,y])=>{if(w){const $=await h.load("checkbox",w,y);if($.length>0)if(typeof $[0]=="string"){let V=$.map(x=>ai(x));s.value=V}else s.value=$}},{immediate:!0}),l.watch([()=>s.value,()=>n.modelValue],([w,y])=>{u(y,n.valueType,w,!1)});const g=ce(l.computed(()=>n.disabled)),S=ue(l.computed(()=>n.readonly)),D=e,R=l.computed(()=>({[D]:!0})),C=w=>{u(w,"value",s.value,!0)};let b=Y(n,"hintText"),A=Y(n,"hintVisible");const M=w=>{const y=[];return w.forEach(($,E)=>{const I=ke(n,$),V=Fe(n,$),x=L.toBoolean($.disabled),k={key:`${I}_${E}`,class:n.itemClass,label:I,disabled:x,size:n.size,border:L.toBoolean(n.border)};n.itemType==="button"?y.push(l.h(f.ElCheckboxButton,k,{default:()=>[V]})):y.push(l.h(f.ElCheckbox,k,{default:()=>[V]}))}),y};return()=>{const y={...a.attrs,class:R.value,disabled:g.value||S.value,modelValue:c.value,["text-color"]:n.textColor,fill:n.fill,max:L.toNumber(n.max),min:L.toNumber(n.min),onChange:C},$=[],E={};a.slots.options?E.default=a.slots.options:E.default=()=>M(s.value);const I=l.h(f.ElCheckboxGroup,y,E);$.push(I);const V={default:()=>$};if(a.slots.default){const _=a.slots.default();V.label=()=>_}const m={...ie(n,ar),hintText:b.value,hintVisible:A.value,prop:`${n.prop??n.name}_item`};return l.h(r,m,V)}}}}const{componentName:ii,create:oi,scope:si}=W("checkbox-item"),lr=oi(li(ii,si,ae)),ir={modelValue:{type:[Number,String],required:!1}};function ui(e,t,r){return{props:{...te,...oe,...ir},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),c=ce(l.computed(()=>n.disabled)),o=ue(l.computed(()=>n.readonly)),u=Y(n,"modelValue"),s=e,h=l.computed(()=>({[s]:!0})),g=C=>{i("update:modelValue",C),i("change",C)};let S=Y(n,"hintText"),D=l.ref(!1);const R=l.ref();return se({}),()=>{const b={...a.attrs,ref:R,class:h.value,readonly:o.value||c.value,modelValue:u.value,onChange:g},A={},M=[],w=l.h(f.ElRate,b,A);M.push(w);const y={default:()=>M};if(a.slots.default){const V=a.slots.default();y.label=()=>V}const E={...ie(n,ir),hintText:S.value,hintVisible:D.value,prop:`${n.prop}_item`};return l.h(r,E,y)}}}}const{componentName:ci,create:fi,scope:di}=W("rate-item"),or=fi(ui(ci,di,ae)),sr={modelValue:{type:[Boolean,String,Number],required:!1}};function hi(e,t,r){return{props:{...te,...oe,...sr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:i}=ne({componentName:e},n.prop??n.name),c=ce(l.computed(()=>n.disabled)),o=ue(l.computed(()=>n.readonly)),u=Y(n,"modelValue"),s=e,h=l.computed(()=>({[s]:!0})),g=C=>{i("update:modelValue",C),i("change",C)};let S=Y(n,"hintText"),D=Y(n,"hintVisible");const R=l.ref();return se({}),()=>{const b={...a.attrs,ref:R,class:h.value,readonly:o.value,disabled:c.value,modelValue:u.value,onChange:g},A={},M=[],w=l.h(f.ElSwitch,b,A);M.push(w);const y={default:()=>M};if(a.slots.default){const V=a.slots.default();y.label=()=>V}const E={...ie(n,sr),hintText:S.value,hintVisible:D.value,prop:`${n.prop}_item`};return l.h(r,E,y)}}}}const{componentName:gi,create:mi,scope:pi}=W("switch-item"),ur=mi(hi(gi,pi,ae)),yi=Symbol.for("InnerPageScopeKey"),bi=Symbol.for("DialogItemStateKey");function $i(e,t){return{props:{title:{type:[String]},draggable:{type:[Boolean],default:!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:!1},closeOnPressEscape:{type:[Boolean],default:!0}},setup(r,n){l.provide(yi,!0);const a={};l.provide(bi,a);const i=u=>{typeof a.beforeClose=="function"&&a.beforeClose(u)},c=l.ref(!0),o=u=>{c.value=u};return()=>{const s={...n.attrs,title:r.title,draggable:r.draggable,modelValue:c.value,"onUpdate:modelValue":o,"append-to-body":r.appendToBody,"close-on-click-modal":r.closeOnClickModal,"close-on-press-escape":r.closeOnPressEscape,"before-close":i},h={};if(typeof n.slots.default=="function"){const g=n.slots.default();h.default=()=>g}return l.h(f.ElDialog,s,h)}}}}const{componentName:_i,create:Si,scope:Li}=W("dialog-item"),cr=Si($i());var ye=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ye,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",c="second",o="minute",u="hour",s="day",h="week",g="month",S="quarter",D="year",R="date",C="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},w=function(N,j,p){var v=String(N);return!v||v.length>=j?N:""+Array(j+1-v.length).join(p)+N},y={s:w,z:function(N){var j=-N.utcOffset(),p=Math.abs(j),v=Math.floor(p/60),O=p%60;return(j<=0?"+":"-")+w(v,2,"0")+":"+w(O,2,"0")},m:function N(j,p){if(j.date()<p.date())return-N(p,j);var v=12*(p.year()-j.year())+(p.month()-j.month()),O=j.clone().add(v,g),T=p-O<0,F=j.clone().add(v+(T?-1:1),g);return+(-(v+(p-O)/(T?O-F:F-O))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:g,y:D,w:h,d:s,D:R,h:u,m:o,s:c,ms:i,Q:S}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},$="en",E={};E[$]=M;var I=function(N){return N instanceof k},V=function N(j,p,v){var O;if(!j)return $;if(typeof j=="string"){var T=j.toLowerCase();E[T]&&(O=T),p&&(E[T]=p,O=T);var F=j.split("-");if(!O&&F.length>1)return N(F[0])}else{var q=j.name;E[q]=j,O=q}return!v&&O&&($=O),O||!v&&$},x=function(N,j){if(I(N))return N.clone();var p=typeof j=="object"?j:{};return p.date=N,p.args=arguments,new k(p)},m=y;m.l=V,m.i=I,m.w=function(N,j){return x(N,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var k=function(){function N(p){this.$L=V(p.locale,null,!0),this.parse(p)}var j=N.prototype;return j.parse=function(p){this.$d=function(v){var O=v.date,T=v.utc;if(O===null)return new Date(NaN);if(m.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var F=O.match(b);if(F){var q=F[2]-1||0,B=(F[7]||"0").substring(0,3);return T?new Date(Date.UTC(F[1],q,F[3]||1,F[4]||0,F[5]||0,F[6]||0,B)):new Date(F[1],q,F[3]||1,F[4]||0,F[5]||0,F[6]||0,B)}}return new Date(O)}(p),this.$x=p.x||{},this.init()},j.init=function(){var p=this.$d;this.$y=p.getFullYear(),this.$M=p.getMonth(),this.$D=p.getDate(),this.$W=p.getDay(),this.$H=p.getHours(),this.$m=p.getMinutes(),this.$s=p.getSeconds(),this.$ms=p.getMilliseconds()},j.$utils=function(){return m},j.isValid=function(){return this.$d.toString()!==C},j.isSame=function(p,v){var O=x(p);return this.startOf(v)<=O&&O<=this.endOf(v)},j.isAfter=function(p,v){return x(p)<this.startOf(v)},j.isBefore=function(p,v){return this.endOf(v)<x(p)},j.$g=function(p,v,O){return m.u(p)?this[v]:this.set(O,p)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(p,v){var O=this,T=!!m.u(v)||v,F=m.p(p),q=function(le,Q){var de=m.w(O.$u?Date.UTC(O.$y,Q,le):new Date(O.$y,Q,le),O);return T?de:de.endOf(s)},B=function(le,Q){return m.w(O.toDate()[le].apply(O.toDate("s"),(T?[0,0,0,0]:[23,59,59,999]).slice(Q)),O)},P=this.$W,H=this.$M,z=this.$D,G="set"+(this.$u?"UTC":"");switch(F){case D:return T?q(1,0):q(31,11);case g:return T?q(1,H):q(0,H+1);case h:var ge=this.$locale().weekStart||0,fe=(P<ge?P+7:P)-ge;return q(T?z-fe:z+(6-fe),H);case s:case R:return B(G+"Hours",0);case u:return B(G+"Minutes",1);case o:return B(G+"Seconds",2);case c:return B(G+"Milliseconds",3);default:return this.clone()}},j.endOf=function(p){return this.startOf(p,!1)},j.$set=function(p,v){var O,T=m.p(p),F="set"+(this.$u?"UTC":""),q=(O={},O[s]=F+"Date",O[R]=F+"Date",O[g]=F+"Month",O[D]=F+"FullYear",O[u]=F+"Hours",O[o]=F+"Minutes",O[c]=F+"Seconds",O[i]=F+"Milliseconds",O)[T],B=T===s?this.$D+(v-this.$W):v;if(T===g||T===D){var P=this.clone().set(R,1);P.$d[q](B),P.init(),this.$d=P.set(R,Math.min(this.$D,P.daysInMonth())).$d}else q&&this.$d[q](B);return this.init(),this},j.set=function(p,v){return this.clone().$set(p,v)},j.get=function(p){return this[m.p(p)]()},j.add=function(p,v){var O,T=this;p=Number(p);var F=m.p(v),q=function(H){var z=x(T);return m.w(z.date(z.date()+Math.round(H*p)),T)};if(F===g)return this.set(g,this.$M+p);if(F===D)return this.set(D,this.$y+p);if(F===s)return q(1);if(F===h)return q(7);var B=(O={},O[o]=n,O[u]=a,O[c]=r,O)[F]||1,P=this.$d.getTime()+p*B;return m.w(P,this)},j.subtract=function(p,v){return this.add(-1*p,v)},j.format=function(p){var v=this,O=this.$locale();if(!this.isValid())return O.invalidDate||C;var T=p||"YYYY-MM-DDTHH:mm:ssZ",F=m.z(this),q=this.$H,B=this.$m,P=this.$M,H=O.weekdays,z=O.months,G=function(Q,de,ve,Oe){return Q&&(Q[de]||Q(v,T))||ve[de].slice(0,Oe)},ge=function(Q){return m.s(q%12||12,Q,"0")},fe=O.meridiem||function(Q,de,ve){var Oe=Q<12?"AM":"PM";return ve?Oe.toLowerCase():Oe},le={YY:String(this.$y).slice(-2),YYYY:this.$y,M:P+1,MM:m.s(P+1,2,"0"),MMM:G(O.monthsShort,P,z,3),MMMM:G(z,P),D:this.$D,DD:m.s(this.$D,2,"0"),d:String(this.$W),dd:G(O.weekdaysMin,this.$W,H,2),ddd:G(O.weekdaysShort,this.$W,H,3),dddd:H[this.$W],H:String(q),HH:m.s(q,2,"0"),h:ge(1),hh:ge(2),a:fe(q,B,!0),A:fe(q,B,!1),m:String(B),mm:m.s(B,2,"0"),s:String(this.$s),ss:m.s(this.$s,2,"0"),SSS:m.s(this.$ms,3,"0"),Z:F};return T.replace(A,function(Q,de){return de||le[Q]||F.replace(":","")})},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(p,v,O){var T,F=m.p(v),q=x(p),B=(q.utcOffset()-this.utcOffset())*n,P=this-q,H=m.m(this,q);return H=(T={},T[D]=H/12,T[g]=H,T[S]=H/3,T[h]=(P-B)/6048e5,T[s]=(P-B)/864e5,T[u]=P/a,T[o]=P/n,T[c]=P/r,T)[F]||P,O?H:m.a(H)},j.daysInMonth=function(){return this.endOf(g).$D},j.$locale=function(){return E[this.$L]},j.locale=function(p,v){if(!p)return this.$L;var O=this.clone(),T=V(p,v,!0);return T&&(O.$L=T),O},j.clone=function(){return m.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},N}(),_=k.prototype;return x.prototype=_,[["$ms",i],["$s",c],["$m",o],["$H",u],["$W",s],["$M",g],["$y",D],["$D",R]].forEach(function(N){_[N[1]]=function(j){return this.$g(j,N[0],N[1])}}),x.extend=function(N,j){return N.$i||(N(j,k,x),N.$i=!0),x},x.locale=V,x.isDayjs=I,x.unix=function(N){return x(1e3*N)},x.en=E[$],x.Ls=E,x.p={},x})})(fr);const Ee=fr.exports;var dr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ye,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,i=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,o={},u=function(C){return(C=+C)+(C>68?1900:2e3)},s=function(C){return function(b){this[C]=+b}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(C){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var A=b.match(/([+-]|\d\d)/g),M=60*A[1]+(+A[2]||0);return M===0?0:A[0]==="+"?-M:M}(C)}],g=function(C){var b=o[C];return b&&(b.indexOf?b:b.s.concat(b.f))},S=function(C,b){var A,M=o.meridiem;if(M){for(var w=1;w<=24;w+=1)if(C.indexOf(M(w,0,b))>-1){A=w>12;break}}else A=C===(b?"pm":"PM");return A},D={A:[c,function(C){this.afternoon=S(C,!1)}],a:[c,function(C){this.afternoon=S(C,!0)}],S:[/\d/,function(C){this.milliseconds=100*+C}],SS:[a,function(C){this.milliseconds=10*+C}],SSS:[/\d{3}/,function(C){this.milliseconds=+C}],s:[i,s("seconds")],ss:[i,s("seconds")],m:[i,s("minutes")],mm:[i,s("minutes")],H:[i,s("hours")],h:[i,s("hours")],HH:[i,s("hours")],hh:[i,s("hours")],D:[i,s("day")],DD:[a,s("day")],Do:[c,function(C){var b=o.ordinal,A=C.match(/\d+/);if(this.day=A[0],b)for(var M=1;M<=31;M+=1)b(M).replace(/\[|\]/g,"")===C&&(this.day=M)}],M:[i,s("month")],MM:[a,s("month")],MMM:[c,function(C){var b=g("months"),A=(g("monthsShort")||b.map(function(M){return M.slice(0,3)})).indexOf(C)+1;if(A<1)throw new Error;this.month=A%12||A}],MMMM:[c,function(C){var b=g("months").indexOf(C)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,s("year")],YY:[a,function(C){this.year=u(C)}],YYYY:[/\d{4}/,s("year")],Z:h,ZZ:h};function R(C){var b,A;b=C,A=o&&o.formats;for(var M=(C=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,m,k){var _=k&&k.toUpperCase();return m||A[k]||r[k]||A[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(N,j,p){return j||p.slice(1)})})).match(n),w=M.length,y=0;y<w;y+=1){var $=M[y],E=D[$],I=E&&E[0],V=E&&E[1];M[y]=V?{regex:I,parser:V}:$.replace(/^\[|\]$/g,"")}return function(x){for(var m={},k=0,_=0;k<w;k+=1){var N=M[k];if(typeof N=="string")_+=N.length;else{var j=N.regex,p=N.parser,v=x.slice(_),O=j.exec(v)[0];p.call(m,O),x=x.replace(O,"")}}return function(T){var F=T.afternoon;if(F!==void 0){var q=T.hours;F?q<12&&(T.hours+=12):q===12&&(T.hours=0),delete T.afternoon}}(m),m}}return function(C,b,A){A.p.customParseFormat=!0,C&&C.parseTwoDigitYear&&(u=C.parseTwoDigitYear);var M=b.prototype,w=M.parse;M.parse=function(y){var $=y.date,E=y.utc,I=y.args;this.$u=E;var V=I[1];if(typeof V=="string"){var x=I[2]===!0,m=I[3]===!0,k=x||m,_=I[2];m&&(_=I[2]),o=this.$locale(),!x&&_&&(o=A.Ls[_]),this.$d=function(v,O,T){try{if(["x","X"].indexOf(O)>-1)return new Date((O==="X"?1e3:1)*v);var F=R(O)(v),q=F.year,B=F.month,P=F.day,H=F.hours,z=F.minutes,G=F.seconds,ge=F.milliseconds,fe=F.zone,le=new Date,Q=P||(q||B?1:le.getDate()),de=q||le.getFullYear(),ve=0;q&&!B||(ve=B>0?B-1:le.getMonth());var Oe=H||0,Dt=z||0,Ft=G||0,kt=ge||0;return fe?new Date(Date.UTC(de,ve,Q,Oe,Dt,Ft,kt+60*fe.offset*1e3)):T?new Date(Date.UTC(de,ve,Q,Oe,Dt,Ft,kt)):new Date(de,ve,Q,Oe,Dt,Ft,kt)}catch{return new Date("")}}($,V,E),this.init(),_&&_!==!0&&(this.$L=this.locale(_).$L),k&&$!=this.format(V)&&(this.$d=new Date("")),o={}}else if(V instanceof Array)for(var N=V.length,j=1;j<=N;j+=1){I[1]=V[j-1];var p=A.apply(this,I);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}j===N&&(this.$d=new Date(""))}else w.call(this,y)}}})})(dr);const wi=dr.exports;var hr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ye,function(){return function(r,n,a){var i=n.prototype,c=i.format;a.en.ordinal=function(o){var u=["th","st","nd","rd"],s=o%100;return"["+o+(u[(s-20)%10]||u[s]||u[0])+"]"},i.format=function(o){var u=this,s=this.$locale();if(!this.isValid())return c.bind(this)(o);var h=this.$utils(),g=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(S){switch(S){case"Q":return Math.ceil((u.$M+1)/3);case"Do":return s.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return s.ordinal(u.week(),"W");case"w":case"ww":return h.s(u.week(),S==="w"?1:2,"0");case"W":case"WW":return h.s(u.isoWeek(),S==="W"?1:2,"0");case"k":case"kk":return h.s(String(u.$H===0?24:u.$H),S==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return S}});return c.bind(this)(g)}}})})(hr);const Ei=hr.exports;var gr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ye,function(){return function(r,n,a){var i=n.prototype,c=function(g){return g&&(g.indexOf?g:g.s)},o=function(g,S,D,R,C){var b=g.name?g:g.$locale(),A=c(b[S]),M=c(b[D]),w=A||M.map(function($){return $.slice(0,R)});if(!C)return w;var y=b.weekStart;return w.map(function($,E){return w[(E+(y||0))%7]})},u=function(){return a.Ls[a.locale()]},s=function(g,S){return g.formats[S]||function(D){return D.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(R,C,b){return C||b.slice(1)})}(g.formats[S.toUpperCase()])},h=function(){var g=this;return{months:function(S){return S?S.format("MMMM"):o(g,"months")},monthsShort:function(S){return S?S.format("MMM"):o(g,"monthsShort","months",3)},firstDayOfWeek:function(){return g.$locale().weekStart||0},weekdays:function(S){return S?S.format("dddd"):o(g,"weekdays")},weekdaysMin:function(S){return S?S.format("dd"):o(g,"weekdaysMin","weekdays",2)},weekdaysShort:function(S){return S?S.format("ddd"):o(g,"weekdaysShort","weekdays",3)},longDateFormat:function(S){return s(g.$locale(),S)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return h.bind(this)()},a.localeData=function(){var g=u();return{firstDayOfWeek:function(){return g.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(S){return s(g,S)},meridiem:g.meridiem,ordinal:g.ordinal}},a.months=function(){return o(u(),"months")},a.monthsShort=function(){return o(u(),"monthsShort","months",3)},a.weekdays=function(g){return o(u(),"weekdays",null,null,g)},a.weekdaysShort=function(g){return o(u(),"weekdaysShort","weekdays",3,g)},a.weekdaysMin=function(g){return o(u(),"weekdaysMin","weekdays",2,g)}}})})(gr);const vi=gr.exports;var mr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ye,function(){var r="week",n="year";return function(a,i,c){var o=i.prototype;o.week=function(u){if(u===void 0&&(u=null),u!==null)return this.add(7*(u-this.week()),"day");var s=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=c(this).startOf(n).add(1,n).date(s),g=c(this).endOf(r);if(h.isBefore(g))return 1}var S=c(this).startOf(n).date(s).startOf(r).subtract(1,"millisecond"),D=this.diff(S,r,!0);return D<0?c(this).startOf("week").week():Math.ceil(D)},o.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}})})(mr);const Oi=mr.exports;var pr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ye,function(){return function(r,n){n.prototype.weekYear=function(){var a=this.month(),i=this.week(),c=this.year();return i===1&&a===11?c+1:a===0&&i>=52?c-1:c}}})})(pr);const Ci=pr.exports;var yr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ye,function(){return function(r,n,a){n.prototype.dayOfYear=function(i){var c=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return i==null?c:this.add(i-c,"day")}}})})(yr);const xi=yr.exports;var br={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ye,function(){return function(r,n){n.prototype.isSameOrAfter=function(a,i){return this.isSame(a,i)||this.isAfter(a,i)}}})})(br);const Vi=br.exports;var $r={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ye,function(){return function(r,n){n.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})})($r);const Ni=$r.exports;Ee.extend(vi),Ee.extend(Ei),Ee.extend(wi),Ee.extend(Oi),Ee.extend(Ci),Ee.extend(xi),Ee.extend(Vi),Ee.extend(Ni);const Ti=[dn,hn,gn,mn,bn,ae,vn,On,ct,xn,In,jn,Dn,kn,Hn,Gn,Yn,Zn,Qn,nr,lr,or,ur,cr,ut,Mt],Ai=new Gr(Ti,[Ur],"4.0.0");Object.defineProperty(d,"clone",{enumerable:!0,get:()=>L.clone}),Object.defineProperty(d,"extend",{enumerable:!0,get:()=>L.extend}),Object.defineProperty(d,"isArray",{enumerable:!0,get:()=>L.isArray}),Object.defineProperty(d,"isDate",{enumerable:!0,get:()=>L.isDate}),Object.defineProperty(d,"isESModule",{enumerable:!0,get:()=>L.isESModule}),Object.defineProperty(d,"isEqual",{enumerable:!0,get:()=>L.isEqual}),Object.defineProperty(d,"isFunction",{enumerable:!0,get:()=>L.isFunction}),Object.defineProperty(d,"isMap",{enumerable:!0,get:()=>L.isMap}),Object.defineProperty(d,"isObject",{enumerable:!0,get:()=>L.isObject}),Object.defineProperty(d,"isPlainObject",{enumerable:!0,get:()=>L.isPlainObject}),Object.defineProperty(d,"isPromise",{enumerable:!0,get:()=>L.isPromise}),Object.defineProperty(d,"isSet",{enumerable:!0,get:()=>L.isSet}),Object.defineProperty(d,"isString",{enumerable:!0,get:()=>L.isString}),Object.defineProperty(d,"isSymbol",{enumerable:!0,get:()=>L.isSymbol}),Object.defineProperty(d,"toBoolean",{enumerable:!0,get:()=>L.toBoolean}),Object.defineProperty(d,"toNumber",{enumerable:!0,get:()=>L.toNumber}),Object.defineProperty(d,"toTypeString",{enumerable:!0,get:()=>L.toTypeString}),Object.defineProperty(d,"FoxAffix",{enumerable:!0,get:()=>f.ElAffix}),Object.defineProperty(d,"FoxAlert",{enumerable:!0,get:()=>f.ElAlert}),Object.defineProperty(d,"FoxAside",{enumerable:!0,get:()=>f.ElAside}),Object.defineProperty(d,"FoxAutoResizer",{enumerable:!0,get:()=>f.ElAutoResizer}),Object.defineProperty(d,"FoxAutocomplete",{enumerable:!0,get:()=>f.ElAutocomplete}),Object.defineProperty(d,"FoxAvatar",{enumerable:!0,get:()=>f.ElAvatar}),Object.defineProperty(d,"FoxBacktop",{enumerable:!0,get:()=>f.ElBacktop}),Object.defineProperty(d,"FoxBadge",{enumerable:!0,get:()=>f.ElBadge}),Object.defineProperty(d,"FoxBreadcrumb",{enumerable:!0,get:()=>f.ElBreadcrumb}),Object.defineProperty(d,"FoxBreadcrumbItem",{enumerable:!0,get:()=>f.ElBreadcrumbItem}),Object.defineProperty(d,"FoxButton",{enumerable:!0,get:()=>f.ElButton}),Object.defineProperty(d,"FoxButtonGroup",{enumerable:!0,get:()=>f.ElButtonGroup}),Object.defineProperty(d,"FoxCalendar",{enumerable:!0,get:()=>f.ElCalendar}),Object.defineProperty(d,"FoxCard",{enumerable:!0,get:()=>f.ElCard}),Object.defineProperty(d,"FoxCarousel",{enumerable:!0,get:()=>f.ElCarousel}),Object.defineProperty(d,"FoxCarouselItem",{enumerable:!0,get:()=>f.ElCarouselItem}),Object.defineProperty(d,"FoxCascader",{enumerable:!0,get:()=>f.ElCascader}),Object.defineProperty(d,"FoxCascaderPanel",{enumerable:!0,get:()=>f.ElCascaderPanel}),Object.defineProperty(d,"FoxCheckTag",{enumerable:!0,get:()=>f.ElCheckTag}),Object.defineProperty(d,"FoxCheckbox",{enumerable:!0,get:()=>f.ElCheckbox}),Object.defineProperty(d,"FoxCheckboxButton",{enumerable:!0,get:()=>f.ElCheckboxButton}),Object.defineProperty(d,"FoxCheckboxGroup",{enumerable:!0,get:()=>f.ElCheckboxGroup}),Object.defineProperty(d,"FoxCol",{enumerable:!0,get:()=>f.ElCol}),Object.defineProperty(d,"FoxCollapse",{enumerable:!0,get:()=>f.ElCollapse}),Object.defineProperty(d,"FoxCollapseItem",{enumerable:!0,get:()=>f.ElCollapseItem}),Object.defineProperty(d,"FoxCollapseTransition",{enumerable:!0,get:()=>f.ElCollapseTransition}),Object.defineProperty(d,"FoxColorPicker",{enumerable:!0,get:()=>f.ElColorPicker}),Object.defineProperty(d,"FoxConfigProvider",{enumerable:!0,get:()=>f.ElConfigProvider}),Object.defineProperty(d,"FoxContainer",{enumerable:!0,get:()=>f.ElContainer}),Object.defineProperty(d,"FoxDatePicker",{enumerable:!0,get:()=>f.ElDatePicker}),Object.defineProperty(d,"FoxDescriptions",{enumerable:!0,get:()=>f.ElDescriptions}),Object.defineProperty(d,"FoxDescriptionsItem",{enumerable:!0,get:()=>f.ElDescriptionsItem}),Object.defineProperty(d,"FoxDialog",{enumerable:!0,get:()=>f.ElDialog}),Object.defineProperty(d,"FoxDivider",{enumerable:!0,get:()=>f.ElDivider}),Object.defineProperty(d,"FoxDrawer",{enumerable:!0,get:()=>f.ElDrawer}),Object.defineProperty(d,"FoxDropdown",{enumerable:!0,get:()=>f.ElDropdown}),Object.defineProperty(d,"FoxDropdownItem",{enumerable:!0,get:()=>f.ElDropdownItem}),Object.defineProperty(d,"FoxDropdownMenu",{enumerable:!0,get:()=>f.ElDropdownMenu}),Object.defineProperty(d,"FoxEmpty",{enumerable:!0,get:()=>f.ElEmpty}),Object.defineProperty(d,"FoxFooter",{enumerable:!0,get:()=>f.ElFooter}),Object.defineProperty(d,"FoxForm",{enumerable:!0,get:()=>f.ElForm}),Object.defineProperty(d,"FoxFormItem",{enumerable:!0,get:()=>f.ElFormItem}),Object.defineProperty(d,"FoxHeader",{enumerable:!0,get:()=>f.ElHeader}),Object.defineProperty(d,"FoxIcon",{enumerable:!0,get:()=>f.ElIcon}),Object.defineProperty(d,"FoxImage",{enumerable:!0,get:()=>f.ElImage}),Object.defineProperty(d,"FoxImageViewer",{enumerable:!0,get:()=>f.ElImageViewer}),Object.defineProperty(d,"FoxInput",{enumerable:!0,get:()=>f.ElInput}),Object.defineProperty(d,"FoxInputNumber",{enumerable:!0,get:()=>f.ElInputNumber}),Object.defineProperty(d,"FoxLink",{enumerable:!0,get:()=>f.ElLink}),Object.defineProperty(d,"FoxMain",{enumerable:!0,get:()=>f.ElMain}),Object.defineProperty(d,"FoxMenu",{enumerable:!0,get:()=>f.ElMenu}),Object.defineProperty(d,"FoxMenuItem",{enumerable:!0,get:()=>f.ElMenuItem}),Object.defineProperty(d,"FoxMenuItemGroup",{enumerable:!0,get:()=>f.ElMenuItemGroup}),Object.defineProperty(d,"FoxOption",{enumerable:!0,get:()=>f.ElOption}),Object.defineProperty(d,"FoxOptionGroup",{enumerable:!0,get:()=>f.ElOptionGroup}),Object.defineProperty(d,"FoxPageHeader",{enumerable:!0,get:()=>f.ElPageHeader}),Object.defineProperty(d,"FoxPagination",{enumerable:!0,get:()=>f.ElPagination}),Object.defineProperty(d,"FoxPopconfirm",{enumerable:!0,get:()=>f.ElPopconfirm}),Object.defineProperty(d,"FoxPopover",{enumerable:!0,get:()=>f.ElPopover}),Object.defineProperty(d,"FoxPopper",{enumerable:!0,get:()=>f.ElPopper}),Object.defineProperty(d,"FoxProgress",{enumerable:!0,get:()=>f.ElProgress}),Object.defineProperty(d,"FoxRadio",{enumerable:!0,get:()=>f.ElRadio}),Object.defineProperty(d,"FoxRadioButton",{enumerable:!0,get:()=>f.ElRadioButton}),Object.defineProperty(d,"FoxRadioGroup",{enumerable:!0,get:()=>f.ElRadioGroup}),Object.defineProperty(d,"FoxRate",{enumerable:!0,get:()=>f.ElRate}),Object.defineProperty(d,"FoxResult",{enumerable:!0,get:()=>f.ElResult}),Object.defineProperty(d,"FoxRow",{enumerable:!0,get:()=>f.ElRow}),Object.defineProperty(d,"FoxScrollbar",{enumerable:!0,get:()=>f.ElScrollbar}),Object.defineProperty(d,"FoxSelect",{enumerable:!0,get:()=>f.ElSelect}),Object.defineProperty(d,"FoxSelectV2",{enumerable:!0,get:()=>f.ElSelectV2}),Object.defineProperty(d,"FoxSkeleton",{enumerable:!0,get:()=>f.ElSkeleton}),Object.defineProperty(d,"FoxSkeletonItem",{enumerable:!0,get:()=>f.ElSkeletonItem}),Object.defineProperty(d,"FoxSlider",{enumerable:!0,get:()=>f.ElSlider}),Object.defineProperty(d,"FoxSpace",{enumerable:!0,get:()=>f.ElSpace}),Object.defineProperty(d,"FoxStep",{enumerable:!0,get:()=>f.ElStep}),Object.defineProperty(d,"FoxSteps",{enumerable:!0,get:()=>f.ElSteps}),Object.defineProperty(d,"FoxSubMenu",{enumerable:!0,get:()=>f.ElSubMenu}),Object.defineProperty(d,"FoxSwitch",{enumerable:!0,get:()=>f.ElSwitch}),Object.defineProperty(d,"FoxTabPane",{enumerable:!0,get:()=>f.ElTabPane}),Object.defineProperty(d,"FoxTable",{enumerable:!0,get:()=>f.ElTable}),Object.defineProperty(d,"FoxTableColumn",{enumerable:!0,get:()=>f.ElTableColumn}),Object.defineProperty(d,"FoxTableV2",{enumerable:!0,get:()=>f.ElTableV2}),Object.defineProperty(d,"FoxTabs",{enumerable:!0,get:()=>f.ElTabs}),Object.defineProperty(d,"FoxTag",{enumerable:!0,get:()=>f.ElTag}),Object.defineProperty(d,"FoxTimePicker",{enumerable:!0,get:()=>f.ElTimePicker}),Object.defineProperty(d,"FoxTimeSelect",{enumerable:!0,get:()=>f.ElTimeSelect}),Object.defineProperty(d,"FoxTimeline",{enumerable:!0,get:()=>f.ElTimeline}),Object.defineProperty(d,"FoxTimelineItem",{enumerable:!0,get:()=>f.ElTimelineItem}),Object.defineProperty(d,"FoxTooltip",{enumerable:!0,get:()=>f.ElTooltip}),Object.defineProperty(d,"FoxTransfer",{enumerable:!0,get:()=>f.ElTransfer}),Object.defineProperty(d,"FoxTree",{enumerable:!0,get:()=>f.ElTree}),Object.defineProperty(d,"FoxTreeSelect",{enumerable:!0,get:()=>f.ElTreeSelect}),Object.defineProperty(d,"FoxTreeV2",{enumerable:!0,get:()=>f.ElTreeV2}),Object.defineProperty(d,"FoxUpload",{enumerable:!0,get:()=>f.ElUpload}),d.AutocompleteItem=Yn,d.Broadcast=Et,d.BroadcastKey=X,d.CascaderItem=Gn,d.CheckboxItem=lr,d.Content=mn,d.DataItemsKey=Ae,d.DateItem=jn,d.DialogItem=cr,d.Domain=Ot,d.DomainKey=be,d.FooterBar=gn,d.Group=bn,d.HeaderBar=hn,d.HintText=ct,d.InputItem=xn,d.Item=ae,d.Mapping=Mt,d.MoneyItem=Hn,d.Page=dn,d.Price=ut,d.PriorityPolicy=nt,d.RadioItem=nr,d.RateItem=or,d.RowItem=On,d.SelectItem=In,d.SlotItem=vn,d.SwitchItem=ur,d.TableItem=Qn,d.TableMappingColumn=Zn,d.TimeItem=Dn,d.TimeSelectItem=kn,d.UniqueID=Sn,d.ValidateSchema=nn,d.ValidateSchemaKey=pe,d.clearNonNumber=vr,d.compareTo=St,d.createBroadcast=Ye,d.createValidateSchema=Ze,d.debounce=kr,d.decimalLength=Ut,d.default=Ai,d.defineBroadcast=Nr,d.defineDataItem=an,d.defineDomain=xt,d.defineItem=ne,d.definePageState=ln,d.deleteGlobalValidator=Rr,d.disabledProperty=ce,d.divide=$t,d.excludeProps=ie,d.floatData=Vr,d.getGlobalValidateCheckEvents=Qt,d.getGlobalValidateResetEvents=tn,d.getPageContentAreaHeight=et,d.getPageContentAreaWidth=tt,d.getPageFooterAreaHeight=Qe,d.getPageHeaderAreaHeight=Je,d.getRootDomain=He,d.includeProps=xr,d.indexOf=Or,d.integerLength=Yt,d.isBrowser=Pe,d.isEmptyString=Z,d.isInnerPage=Br,d.isNumberString=Wt,d.isRegExp=Gt,d.isSubPage=Pr,d.lastIndexOf=Cr,d.multiply=Ht,d.negate=Kt,d.numberFormat=wt,d.property=Ie,d.raf=Er,d.readonlyProperty=ue,d.setGlobalValidateCheckEvents=jr,d.setGlobalValidateHandler=Ar,d.setGlobalValidateMessages=Dr,d.setGlobalValidateResetEvents=Mr,d.setGlobalValidator=Ir,d.throttle=vt,d.toPadding=he,d.toPx=J,d.toPxDesc=re,d.toValue=Y,d.unNumberFormat=zt,d.updatePageState=Vt,d.useBroadcast=_e,d.useDomain=$e,d.useExpose=se,d.usePageState=Xe,d.usePosition=wn,d.useRect=st,d.valueLength=We,Object.defineProperties(d,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});