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

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.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";/*!
2
- * @fox-js/foxui-desktop v4.0.0 Thu Nov 10 2022 12:55:24 GMT+0800 (中国标准时间)
3
- */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("vue"),j=require("@fox-js/fox"),Jn=require("@fox-js/validator"),b=require("element-plus"),Oe=require("@fox-js/i18n"),Qn=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},Se=Qn(Jn);/*!
2
+ * @fox-js/foxui-desktop v4.0.0 Thu Nov 17 2022 23:44:40 GMT+0800 (中国标准时间)
3
+ */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),_=require("@fox-js/fox"),vr=require("@fox-js/validator"),f=require("element-plus"),ge=require("@fox-js/i18n"),xr=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},Ee=xr(vr);/*!
4
4
  * @fox-js/big-decimal v4.0.1-3 Wed Nov 02 2022 21:59:56 GMT+0800 (中国标准时间)
5
- */function We(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=X(e),t=X(t),[e,t]=xt(X(e),X(t)),r==1&&(n==1?e=ct(e):t=ct(t));let a=Ut(e,t);return r?r==2?"-"+X(a):e.length<a.length?X(a.substring(1)):"-"+X(ct(a)):X(a)}function ct(e){let t="",r=e.length,n=e.split(".")[1],a=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=a>0?"0."+new Array(a).join("0")+"1":"1";return Ut(t,o)}function X(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 xt(e,t){let r=e.split("."),n=t.split("."),a=r[0].length,o=n[0].length;return a>o?n[0]=new Array(Math.abs(a-o)+1).join("0")+(n[0]?n[0]:""):r[0]=new Array(Math.abs(a-o)+1).join("0")+(r[0]?r[0]:""),a=r[1]?r[1].length:0,o=n[1]?n[1].length:0,(a||o)&&(a>o?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(a-o)+1).join("0"):r[1]=(r[1]?r[1]:"")+new Array(Math.abs(a-o)+1).join("0")),e=r[0]+(r[1]?"."+r[1]:""),t=n[0]+(n[1]?"."+n[1]:""),[e,t]}function Ut(e,t){[e,t]=xt(e,t);let r="",n=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){r="."+r;continue}let o=parseInt(e[a])+parseInt(t[a])+n;r=o%10+r,n=Math.floor(o/10)}return n?n.toString()+r:r}var W=(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))(W||{});function Le(e,t=0,r=W.HALF_EVEN){if(r===W.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("."),o=a[0],u=a[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=Le(e,0,r),(n?"-":"")+c+new Array(t+1).join("0")}}if(t==0)return o.length,Vt(a[1],o,n,r)?(n?"-":"")+ft(o):(n?"-":"")+o;if(a[1]){if(a[1].length<t)return(n?"-":"")+o+"."+a[1]+new Array(t-a[1].length+1).join("0")}else return(n?"-":"")+o+"."+new Array(t+1).join("0");u=a[1].substring(0,t);let s=a[1].substring(t);return s&&Vt(s,u,n,r)&&(u=ft(u),u.length>t)?(n?"-":"")+ft(o,parseInt(u[0]))+"."+u.substring(1):(n?"-":"")+o+"."+u}function Vt(e,t,r,n){if(!e||e===new Array(e.length+1).join("0")||n===W.DOWN||!r&&n===W.FLOOR||r&&n===W.CEILING)return!1;if(n===W.UP||r&&n===W.FLOOR||!r&&n===W.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 W.HALF_DOWN:return!1;case W.HALF_UP:return!0;case W.HALF_EVEN:default:return parseInt(t[t.length-1])%2==1}}function ft(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 o=parseInt(e[a])+t;o==10?(t=1,o=0):t=0,n+=o}return t&&(n+=t),n.split("").reverse().join("")}function gt(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=De(e),t=De(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 o=n+a;if(e=De(e.replace(".","")),t=De(t.replace(".","")),e.length<t.length){let f=e;e=t,t=f}if(t=="0")return"0";let u=t.length,s=0,c=[],i=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 A=0;for(let D=t.length-1;D>=i&&D>=0;D--)c[D]>-1&&c[D]<e.length&&(A+=parseInt(e[c[D]--])*parseInt(t[D]));A+=s,s=Math.floor(A/10),h=A%10+h,i--}return h=De(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 De(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 mt(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=X(t.replace(".","")),a>=0){let i=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(i==-1)e=X(e+new Array(a+1).join("0"));else if(a>i)e=e.replace(".",""),e=X(e+new Array(a-i+1).join("0"));else if(a<i){e=e.replace(".","");let h=e.length-i+a;e=X(e.substring(0,h)+"."+e.substring(h))}else a==i&&(e=X(e.replace(".","")))}let o=0,u=t.length,s="",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 i=c.length-c.indexOf(".")-1;c=c.replace(".",""),u>c.length&&(i+=u-c.length,c=c+new Array(u-c.length+1).join("0")),o=i,s="0."+new Array(i).join("0")}for(r=r+2;o<=r;){let i=0;for(;parseInt(c)>=parseInt(t);)c=We(c,"-"+t),i++;s+=i,e?(e[0]=="."&&(s+=".",o++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(o||(s+="."),o++,c=c+"0")}return(n==1?"-":"")+X(Le(s,r-2))}function pt(e,t){return e=e.toString(),t=t.toString(),t=yt(t),We(e,t)}function yt(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Tt(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),It(e),It(t);let r="";e[0]=="-"&&(r="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let n=pt(e,gt(t,Le(mt(e,t),0,W.FLOOR)));return r+n}function It(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Rt(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]=xt(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=W;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=X(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+X(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 o=t.indexOf(".");o=o>0?o:t.length;for(var u="",s=o;s>0;)s<r?(r=s,s=0):s-=r,u=t.substring(s,s+r)+(s<o-r&&s>=0?n:"")+u;return(a?"-":"")+u+t.substring(o)}getPrettyValue(t,r){return K.getPrettyValue(this.value,t,r)}static round(t,r=0,n=W.HALF_EVEN){if(t=K.validate(t),isNaN(r))throw Error("Precision is not a number: "+r);return Le(t,r,n)}round(t=0,r=W.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new K(Le(this.value,t,r))}static floor(t){return t=K.validate(t),t.indexOf(".")===-1?t:K.round(t,0,W.FLOOR)}floor(){return this.value.indexOf(".")===-1?new K(this.value):new K(this.value).round(0,W.FLOOR)}static ceil(t){return t=K.validate(t),t.indexOf(".")===-1?t:K.round(t,0,W.CEILING)}ceil(){return this.value.indexOf(".")===-1?new K(this.value):new K(this.value).round(0,W.CEILING)}static add(t,r){return t=K.validate(t),r=K.validate(r),We(t,r)}add(t){return new K(We(this.value,t.getValue()))}static subtract(t,r){return t=K.validate(t),r=K.validate(r),pt(t,r)}subtract(t){return new K(pt(this.value,t.getValue()))}static multiply(t,r){return t=K.validate(t),r=K.validate(r),gt(t,r)}multiply(t){return new K(gt(this.value,t.getValue()))}static divide(t,r,n){return t=K.validate(t),r=K.validate(r),mt(t,r,n)}divide(t,r){return new K(mt(this.value,t.getValue(),r))}static modulus(t,r){return t=K.validate(t),r=K.validate(r),Tt(t,r)}modulus(t){return new K(Tt(this.value,t.getValue()))}static compareTo(t,r){return t=K.validate(t),r=K.validate(r),Rt(t,r)}compareTo(t){return Rt(this.value,t.getValue())}static negate(t){return t=K.validate(t),yt(t)}negate(){return new K(yt(this.value))}}function tr(e,t){return K.multiply(`${e}`,`${t}`)}function nr(e,t,r=8){return K.divide(`${e}`,`${t}`,r)}function rr(e,t){return e=`${e}`,t=`${t}`,K.compareTo(e,t)}function ar(e){return K.negate(e)}function Zt(e,t=-1,r=!1,n=3,a=","){let o=`${e}`;if(o.length==0||o==="-")return"";let u=o.charAt(0);u=="-"?o=o.substring(1):u="";let s=o,c="",i=o.indexOf(".");i!=-1&&(s=o.substring(0,i),c=o.substring(i+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="",A=s.split("").reverse();for(let D=0;D<A.length;D++)f+=A[D]+((D+1)%n==0&&D+1!=A.length?a:"");c.length==0?h=`${u}${f.split("").reverse().join("")}`:h=`${u}${f.split("").reverse().join("")}.${c}`}else c.length==0?h=`${u}${s}`:h=`${u}${s}.${c}`;return h}function lr(e){let t=`${e}`,r=t.charAt(0);r=="-"?t=t.substring(1):r="";let n=t.replace(/[^\d\.-]/g,"");return`${r}${n}`}const Ke=typeof window<"u",or=Ke&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Xt(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ce=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function sr(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 ir(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 Mt(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=Mt(e,".",/\./g):e=e.replace(/\./g,""),r?e=Mt(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(j.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(j.isEqual(e,n))return!0});return r!==-1&&(r=t.length-1-r),r}return t.lastIndexOf(e)}function Jt(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 a in n)r[a]=e[a]}),r}function oe(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 gr=(e,t,r)=>{const n=Object.assign({},e),a=Object.assign({},r);return Object.keys(t).length>0?(Object.keys(n).forEach(o=>{a.hasOwnProperty(o)?(typeof a[o]=="function"&&(n[o]=a[o](t)),typeof a[o]=="string"&&(n[o]=t[a[o]])):t[o]&&(n[o]=t[o])}),n):e},Y=Symbol("BroadcastKey");class St{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 a=!1;!t.name||t.name==="*"?a=!0:!t.name||t.name==="+"?(a=!1,t.name="*"):Xt(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 o=[];if(a){const u=this.callbacks.get(r);if(typeof u=="function"){const i=Reflect.apply(u,this.instance?.proxy,[...n]);i!=null&&o.push(i)}const s=this.instance?.exposed??{};if(typeof s[r]=="function"){const i=Reflect.apply(s[r],s,[...n]);i!=null&&o.push(i)}const c=this.instance?.proxy??{};if(typeof c[r]=="function"){const i=Reflect.apply(c[r],c,[...n]);i!=null&&o.push(i)}}return this.children.forEach(u=>{const s=Reflect.apply(u.emit,u,[{...t},r,...n]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,o,[...s])}),o}emitToChildren(t,r,...n){const a=[];return this.children.forEach(o=>{const u=Reflect.apply(o.emit,o,[{...t},r,...n]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,a,[...u])}),a}on(t,r){this.callbacks.set(t,r)}}function Et(e,t,r,n){const a=new St(t,e,r);if(n&&typeof n=="object")for(const o in n)a.on(o,n[o]);return a}function mr(e,t){const r=l.getCurrentInstance();if(r===null)return null;const n=r.proxy;if(n[Y])return n[Y];const a=l.inject(Y,null),o=new St(a,r,e);if(t&&typeof t=="object")for(const u in t)o.on(u,t[u]);return n[Y]=o,l.provide(Y,o),l.onUnmounted(()=>{o.destroy(),n[Y]=void 0}),o}function Be(e=null){return e||(e=l.getCurrentInstance()?.proxy??null),e?e[Y]??l.inject(Y,null):l.inject(Y,null)}class pr{error(t,r,n){const a=r,o=Be(r);o?o.emit({name:"*"},"setErrorTip",t):typeof a.setErrorTip=="function"&&a.setErrorTip(t)}reset(t,r){const n=t,a=Be(t);a?a.emit({name:"*"},"setErrorTip",""):typeof n.setErrorTip=="function"&&n.setErrorTip("")}success(t,r){const n=t,a=Be(t);a?a.emit({name:"*"},"setErrorTip",""):typeof n.setErrorTip=="function"&&n.setErrorTip("")}decorate(t,r,n,a){Array.isArray(t)||(t=[t]);const o=n,u=Be(n),s=r.find(i=>i.required===!0||i.type==="required"&&i.required!==!1),c=t.find(i=>i.required===!0||i.type==="required"&&i.required!==!1);!s&&c?u?u.emit({name:"*"},"setRequired",!0):typeof o.setRequired=="function"&&o.setRequired(!0):s&&!c&&(u?u.emit({name:"*"},"setRequired",!1):typeof o.setRequired=="function"&&o.setRequired(!1),this.reset(n,a))}getValue(t,r){return t.modelValue}}let Qt=new pr;function yr(e){Qt=e}function vr(e,t){Se.default.setValidator(e,t)}function br(e){Se.default.deleteValidator(e)}let en=["blur","clear"];function $r(e){en=e}function tn(){return en}let nn=["focus","change"];function wr(e){nn=e}function rn(){return nn}function xr(e){Se.default.messages(e)}function ke(...e){const t=[];return e.forEach(r=>{r.forEach(n=>{const a=t.findIndex(o=>o.type===n.type);a!==-1&&t.splice(a,1),t.push(n)})}),t}function Fe(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 ue=Symbol("ValidateSchemaKey");class an{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=l.effectScope(),this.scope.run(()=>{l.watchEffect(()=>{const n=Fe(ke(this.attrRules,this.rules)),a=[];for(let u in r){let s=r[u];if(this.hasValidator(u,!0)){if(s===!1)continue;let i={type:u};s!==null&&typeof s=="object"&&Object.assign(i,s),a.push(i);continue}let c=this.getValidator(u);if(c!==null){let i={type:u,validator:c};a.push(i)}}this.attrRules=Fe(a);const o=ke(this.attrRules,this.rules);l.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 a=Qt;return a&&typeof a[t]=="function"?Reflect.apply(a[t],a,[...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?Se.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?Se.default.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,r=!1){if(r)return Se.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=ke(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=Fe(t):this.rules=Fe([t]);const n=ke(this.attrRules,this.rules);l.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=ke(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(r.length>0){const a={[`${n}`]:r};if(!this.instance.proxy)return Promise.resolve({pass:!0});const u=this.getValue(),s={[`${n}`]:u},c=new Se.default(a),i=this.instance?.proxy??s;return c.validate(s,{context:i}).then(f=>{if(f.pass)this.success();else{let A="error";Array.isArray(f.errors)&&f.errors.length>0&&(A=f.errors[0].message??A,f.errors=[f.errors[0]],f.errors[0].ref=i),this.error(A)}return f}).catch(f=>{const A=f.message??`${f}`;return this.error(A),f})}}return Promise.resolve({pass:!0})}}function Ct(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(o,u){return o[a]}}}return new an(t,r,e)}const Dt=Symbol("EventEmitterKey");class Sr{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(o=>o===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(o){console.error(o.message,o)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...r])}}function Er(e,t){let r=0;return function(...n){const a=Date.now();a-r>t&&(Reflect.apply(e,{},[...n]),r=a)}}function Nt(e,t){let r,n=null;return function(...a){n=a,r||(r=setTimeout(()=>{r=null,Reflect.apply(e,{},[...n??[]])},t))}}const ye=Symbol("DomainKey");class At{_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 Cr=new At;function _e(){return Cr}function $e(e=null){e||(e=l.getCurrentInstance());const t=e?.proxy;return t?t[ye]??l.inject(ye,null):l.inject(ye,null)}const kt=Symbol("OriginalDateKey");function Pt(e,t,r=[],n){const a=l.getCurrentInstance();let o=l.inject(ye,null);o===null&&(o=_e());const u=e||t.prop||t.name,s=new At(u);s.parent=o,l.isReactive(t)?l.watchEffect(()=>{s.merge(t,r)}):s.merge(t,r);const c=a?.proxy;c[ye]=s,l.provide(ye,s);let i=null,h=null;if(a!==null){const f=l.inject(Y,null);i=Et(a,f,u,n),s.broadcast=i,c[Y]=i,l.provide(Y,i),c.broadcast=(y,p,...v)=>Reflect.apply(i.emit,i,[y,p,...v]);const A=l.inject(ue,null);h=Ct(a,A,{componentName:""}),s.validateSchema=h,c[ue]=h,l.provide(ue,h),c.validate=(y=!0)=>{const p=[];let v=null;if(y===!0)v={name:"*"};else if(Array.isArray(y)&&y.length>0){const S=y;v={name:T=>T?S.indexOf(T)!==-1:!1}}else if(y!=null&&typeof y=="object"){const S=y;if(Array.isArray(S.include)&&S.include.length>0){const T=S.include;v={name:P=>P?T.indexOf(P)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const T=S.exclude;v={name:P=>P?T.indexOf(P)===-1:!1}}}if(v){const S=i?.emitToChildren(v,"validate",!1);S&&Reflect.apply([].push,p,S)}return p.length==1?p[0]:p.length>1?Promise.all(p).then(S=>{let T=[];return S.forEach(P=>{P.pass===!1&&Array.isArray(P.errors)&&(T=[...T,...P.errors])}),T.length>0?{pass:!1,errors:T}:{pass:!0}}):Promise.resolve({pass:!0})},c.setNameValidateRules=(y,p=!0)=>{if(p){const v={name:S=>Reflect.ownKeys(y).includes(S)};i?.emitToChildren(v,"setNameValidateRules",y,!1)}},c.clearValidate=(y=!0)=>{let p=null;if(y===!0)p={name:"*"};else if(Array.isArray(y)&&y.length>0){const v=y;p={name:S=>S?v.indexOf(S)!==-1:!1}}else if(y!=null&&typeof y=="object"){const v=y;if(Array.isArray(v.include)&&v.include.length>0){const S=v.include;p={name:T=>T?S.indexOf(T)!==-1:!1}}else if(Array.isArray(v.exclude)&&v.exclude.length>0){const S=v.exclude;p={name:T=>T?S.indexOf(T)===-1:!1}}}p&&i?.emitToChildren(p,"clearValidate",!1)};const D={};t.modelValue&&j.extend(!0,D,l.toRaw(t.modelValue)),c[kt]=D,c.resetFields=y=>{if(!t.modelValue)return;const p={};if(j.extend(!0,p,c[kt]??{}),Array.isArray(y))y.forEach(v=>{t.modelValue[v]=p[v]});else if(y&&Array.isArray(y.include))(y.include??[]).forEach(S=>{t.modelValue[S]=p[S]});else if(y&&Array.isArray(y.exclude)){let v=y.exclude??[];Reflect.ownKeys(p).forEach(S=>{v.includes(S)||(t.modelValue[S]=p[S])})}else Object.assign(t.modelValue,p);c.clearValidate(y)}}return l.onUnmounted(()=>{s.destroy(),c[ye]=void 0,i!==null&&(i.destroy(),c[Y]=void 0),h!==null&&(h.destroy(),c[ue]=void 0)}),s}function ne(e,t,r){const n=l.getCurrentInstance(),a=t??"",o=l.inject(Y,null),u=Et(n,o,a,r),s=n?.proxy;s[Y]=u,l.provide(Y,u),s.broadcast=(y,p,...v)=>Reflect.apply(u.emit,u,[y,p,...v]);const c=l.inject(ue,null);e.fieldName=e.fieldName??a;const i=Ct(n,c,e);s[ue]=i,l.provide(ue,i),s.validate=(y=null)=>{const p=[];if(!Array.isArray(y)||y.indexOf(a)!==-1){const S=i?.validate();p.push(S)}let v=null;if(y===!0)v={name:"*"};else if(Array.isArray(y)&&y.length>0){const S=y;v={name:T=>T?S.indexOf(T)!==-1:!1}}else if(y!=null&&typeof y=="object"){const S=y;if(Array.isArray(S.include)&&S.include.length>0){const T=S.include;v={name:P=>P?T.indexOf(P)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const T=S.exclude;v={name:P=>P?T.indexOf(P)===-1:!1}}}if(v){const S=u.emitToChildren(v,"validate",!1);Reflect.apply([].push,p,S)}return p.length==1?p[0]:p.length>1?Promise.all(p).then(S=>{let T=[];return S.forEach(P=>{P.pass===!1&&Array.isArray(P.errors)&&(T=[...T,...P.errors])}),T.length>0?{pass:!1,errors:T}:{pass:!0}}):Promise.resolve({pass:!0})},s.setValidateRule=y=>i?.setRule(y),s.setNameValidateRules=(y,p=!1)=>{const v=y[a];if(v&&i?.setRule(v),p){const S={name:T=>Reflect.ownKeys(y).includes(T)};u.emitToChildren(S,"setNameValidateRules",y,!1)}},s.clearValidate=(y=null)=>{(!Array.isArray(y)||y.indexOf(t??"")!==-1)&&i?.clear();let p=null;if(y===!0)p={name:"*"};else if(Array.isArray(y)&&y.length>0){const v=y;p={name:S=>S?v.indexOf(S)!==-1:!1}}else if(y!=null&&typeof y=="object"){const v=y;if(Array.isArray(v.include)&&v.include.length>0){const S=v.include;p={name:T=>T?S.indexOf(T)!==-1:!1}}else if(Array.isArray(v.exclude)&&v.exclude.length>0){const S=v.exclude;p={name:T=>T?S.indexOf(T)===-1:!1}}}p&&u.emitToChildren(p,"clearValidate",!1)};const h=new Sr(s);s[Dt]=h;const f=Nt((y="validate")=>{y==="reset"?i.clear():i.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:tn()).forEach(y=>{h.on(y,p=>{f("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:rn()).forEach(y=>{h.on(y,p=>{f("reset")})}),l.onUnmounted(()=>{u.destroy(),s[Y]=void 0,i.destroy(),s[ue]=void 0,h.destroy(),s[Dt]=void 0}),{broadcast:u,validateSchema:i,emitEvent:(y,...p)=>{Reflect.apply(h.emit,h,[y,...p])},onEvent:(y,p)=>{Reflect.apply(h.on,h,[p])},offEvent:(y,p)=>{Reflect.apply(h.off,h,[p])}}}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 a=Number(e.substring(0,r)),o=1;if(Ke){const{fontSize:u}=window.getComputedStyle(document.documentElement,null),s=u.indexOf("px");s>0&&(o=Number(u.substring(0,s)))}return a*=o,a}if(r=e.indexOf("%"),r!==-1)return Number(e.substring(0,r))*t;const n=Number(e);return isNaN(n)?0:n}const ve="PageStateKey";function le(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 vt(e,t,r={},n=!0,a=-1,o=-1,u=0,s=0){e.headerHeight=U(r.headerHeight??t.headerHeight),e.headerPadding=le(r.headerPadding??t.headerPadding),e.footerHeight=U(r.footerHeight??t.footerHeight),e.footerPadding=le(r.footerPadding??t.footerPadding),e.contentPadding=le(r.contentPadding??t.contentPadding),n&&(e.height=U(r.height??t.height,o)-U(u,o)-U(s,o),e.width=U(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=U(a.top),n.safeAreaBottom=U(a.bottom),n.safeAreaLeft=U(a.left),n.safeAreaRight=U(a.right));const o=e.get("pageLayout");if(!o)return null;const u=e.get("rootWidth")??-1,s=e.get("rootHeight")??-1,c=e.get("headerBarHeight")??0,i=e.get("footerBarHeight")??0;vt(n,o,t,!0,u,s,c,i);const h=l.reactive(n),f=e.getForParent(ve);f&&(n.height=Ge(e,f),n.width=Ye(e,f),l.watch([()=>f.height,()=>f.width,()=>f.contentPadding,()=>f.headerMounted,()=>f.footerMounted],()=>{h.height=Ge(e,f),h.width=Ye(e,f)}));const A=!f;return l.watch([()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([D,y=-1,p=-1,v=0,S=0])=>{vt(h,D,t,A,y,p,v,S)}),e.set(ve,h),h}function et(e){return e.get(ve)}function tt(e,t){return t=t??e.get(ve),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function nt(e,t){return t=t??e.get(ve),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function Ge(e,t){if(t=t??e.get(ve),t){const r=tt(e,t),n=nt(e,t);return t.height-r-n-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function Ye(e,t){return t=t??e.get(ve),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(ve)}var Ue=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(Ue||{});function dt(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function je(e,t,r=1,n){const a=$e();return a==null?e:r===0?l.computed(()=>{const o=a.getAll(t);for(let s=o.length-1;s>=0;s--){const c=o[s];if(dt(c,n))return c}const u=e.value;return dt(u,n)?u:null}):l.computed(()=>{const o=e.value;return dt(o,n)?o:a?.get(t)})}function fe(e){return je(e,"readonly",0,function(r){return j.toBoolean(r)})}function de(e){return je(e,"disabled",0,function(r){return j.toBoolean(r)})}function J(e,t="modelValue",r){const n=l.toRef(e,t);let a=n.value;typeof r=="function"&&(a=r(n.value));const o=l.ref(a);return l.watch(n,u=>{if(typeof r=="function"){const s=r(u);s!==o.value&&(o.value=s)}else u!==o.value&&(o.value=u)}),o}const on=new Map,Ze=new Map;let bt=null;function Pr(e){bt=e}function sn(e,t,r){if(r){let n=Ze.get(r);n||(n=new Map,Ze.set(r,n)),n.set(e,t)}else on.set(e,t)}function Ve(e,t,r){!r&&bt&&(r=bt(e)??void 0);let n=null;if(r){let a=Ze.get(r);a&&(n=a.get(t))}return n||(n=on.get(t)),n}function Or(e,t){for(let r in e){const n=e[r];sn(r,n,t)}}function Vr(e){Ze.delete(e)}function Tr(){return{top:0,left:0,bottom:0,right:0}}function Ir(){if(Ke){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 Rr{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"],a=_e();if(this.initPageLayout(r,a),r.autoAdjustPageLayout!==!1&&window.ResizeObserver){const o=Nt(()=>{const s={...r},c=document.documentElement.clientWidth||document.body.clientWidth,i=document.documentElement.clientHeight||document.body.clientHeight;s.width=c,s.height=i,this.initPageLayout(s,a)},150);new window.ResizeObserver(o).observe(window.document.body)}for(const o in r)n.indexOf(o)===-1&&a.set(o,r[o])}initPageLayout(t,r){const n=j.extend({},Tr(),t.safeAreaInset),a=j.extend({},Ir(),t.pageLayout);r=r??_e(),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){Pr(t)}setAPI(t,r,n){sn(t,r,n)}getAPI(t,r,n){return Ve(t,r,n)}batchSetAPI(t,r){Or(t,r)}clearScopeAPI(t){Vr(t)}getRootDomain(){return _e()}}const Mr=[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],Dr=[b.ElInfiniteScroll,b.ElLoading,b.ElMessage,b.ElMessageBox,b.ElNotification,b.ElPopoverDirective],kr=e=>{Mr.forEach(t=>{let r=t.name;typeof r=="string"?(r=`Fox${r.slice(2)}`,e.component(r,t)):e.use(t)}),Dr.forEach(t=>{e.use(t)})};function z(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,default:!0}},se={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}},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 ie(e,t=null){if(t||(t=l.getCurrentInstance()),t&&t.proxy){let r=t.proxy;Object.assign(r,e)}}const qr=Symbol.for("InnerPageScopeKey"),Br=(e,t)=>({inheritAttrs:!1,props:{...te,...un,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 a=Pt(r.name,r);if(a){const i=ln(a,r);ie({getPageContentHeight:()=>Ge(a,i),getPageContentWidth:()=>Ye(a,i),getPageHeaderHeight:()=>tt(a,i),getPageFooterHeight:()=>nt(a,i)});const h=l.inject(qr,!1);i&&h&&(i.contentHeight="100%")}const o=l.computed(()=>({[e]:!0})),u=l.computed(()=>({})),s=l.getCurrentInstance(),c=i=>{const h=s?.proxy;h&&typeof h.setNameValidateRules=="function"&&h.setNameValidateRules(i,!0)};return l.watch(()=>r.rules,(i,h)=>{if(!i&&!h)return;const f=l.toRaw(h),A=l.toRaw(i),D=A?Reflect.ownKeys(A):[];(f?Reflect.ownKeys(f):[]).forEach(p=>{D.includes(p)||(A[p]=[])}),c(A)},{deep:!0}),l.onMounted(()=>{if(r.rules){const i=l.toRaw(r.rules);c(i)}}),{classes:o,styles:u}}}),{componentName:_r,create:Lr,scope:to}=z("page"),jr=Lr(Br(_r));function Hr(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const Te=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r},dn=Te(jr,[["render",Hr]]),Kr=(e,t)=>({props:{padding:{type:[Object],required:!1}},emits:[],setup(r,n){const a=$e(),o=a?et(a):null;o&&(o.headerMounted=!0);const u=l.computed(()=>({[e]:!0})),s=l.computed(()=>{const i={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&o){const h=le(r.padding??o.footerPadding);return Object.assign(i,h),i.height=o.headerHeight,i.safeAreaTop=o.safeAreaTop,i.safeAreaTop&&(i.top=i.safeAreaTop+(h.top??0),i.height=i.height+o.safeAreaTop),i.height,i.safeAreaTop,i}if(r.padding){const h=le(r.padding);Object.assign(i,h)}return i});l.onUnmounted(()=>{o&&(o.headerMounted=!1)});const c=l.computed(()=>{const i={};return s.value.height&&(i.height=`${s.value.height}px`),s.value.top&&(i.paddingTop=`${s.value.top}px`),s.value.left&&(i.paddingLeft=`${s.value.left}px`),s.value.right&&(i.paddingRight=`${s.value.right}px`),s.value.bottom&&(i.paddingBottom=`${s.value.bottom}px`),i});return{classes:u,styles:c}}}),{componentName:Fr,create:zr,scope:no}=z("header-bar"),Wr=zr(Kr(Fr));function Gr(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const hn=Te(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 a=$e(),o=a?et(a):null;o&&(o.footerMounted=!0);const u=l.computed(()=>{const i=e;let h=e;return r.align==="left"?h=`${h}__left`:r.align==="right"?h=`${h}__right`:h=`${h}__center`,{[i]:!0,[h]:!0}}),s=l.computed(()=>{const i={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&o){const h=le(r.padding??o.footerPadding);return Object.assign(i,h),i.safeAreaBottom=o.safeAreaBottom,i.safeAreaBottom&&(i.height=o.footerHeight+o.safeAreaBottom,i.bottom=i.safeAreaBottom+(h.bottom??0)),i.height,i.safeAreaBottom,i}if(r.padding){const h=le(r.padding);Object.assign(i,h)}return i});l.onUnmounted(()=>{o&&(o.footerMounted=!1)});const c=l.computed(()=>{const i={};return s.value&&(i.height=`${s.value.height}px`),s.value&&(i.paddingTop=`${s.value.top}px`),s.value&&(i.paddingLeft=`${s.value.left}px`),s.value&&(i.paddingRight=`${s.value.right}px`),s.value&&(i.paddingBottom=`${s.value.bottom}px`),i});return{classes:u,styles:c}}}}const{componentName:Ur,create:Zr,scope:ro}=z("footer-bar"),Xr=Zr(Yr(Ur));function Jr(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const gn=Te(Xr,[["render",Jr]]);function Qr(e,t){return{props:{padding:{type:[Object],required:!1}},setup(r){const n=$e(),a=l.computed(()=>({[e]:!0})),o=l.computed(()=>{const u={};if(n){const s=et(n);if(s){if(r.padding){const f=le(r.padding);Object.assign(s.contentPadding,f)}const c=tt(n,s),i=nt(n,s);let h="";if(s.contentHeight?h=`${s.contentHeight}`:h=`${s.height}px`,s.contentPadding,u.height=h,s.contentPadding.top||c>0){const f=(s&&s.contentPadding&&s.contentPadding.top)??0;u.paddingTop=`${c+f}px`}if(s.contentPadding.bottom||i>0){const f=(s&&s.contentPadding&&s.contentPadding.bottom)??0;u.paddingBottom=`${i+f}px`}return s.contentPadding.left&&(u.paddingLeft=`${s.contentPadding.left}px`),s.contentPadding.right&&(u.paddingRight=`${s.contentPadding.right}px`),u}}if(r.padding){const s=le(r.padding);s.left&&(u.paddingLeft=`${s.left}px`),s.top&&(u.paddingTop=`${s.top}px`),s.right&&(u.paddingRight=`${s.right}px`),s.bottom&&(u.paddingBottom=`${s.bottom}px`)}return u});return{classes:a,styles:o}}}}const{componentName:ea,create:ta,scope:ao}=z("content"),na=ta(Qr(ea));function ra(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const mn=Te(na,[["render",ra]]),Xe="GroupStateKey",pn=Symbol.for("GroupScopeKey");function rt(){return l.inject(pn,!1)}function at(e=!0){l.provide(pn,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 a=l.shallowRef(n),o=l.markRaw({layout:a,passport:0});return e.set(Xe,o),o}function qt(e,t,r=-1,n=-1,a=!1){const o=e.get(Xe);if(!o)return;const u=e.get("groupLayout")??{};r===-1&&(r=u.column??1),n===-1&&(n=u.gutter??0);const s=u.minItemWidth??-1,c=()=>{const i=t===""||t===-1,h=U(t);let f=j.toNumber(r);const A=U(n);if(!i){let p=(h-(f-1)*A)/f;for(;s!==-1&&f>1&&p<s;)f--,p=(h-(f-1)*A)/f}let D=!1;const y=o.layout;y.value.width=t,y.value.column!==f&&(y.value.column=f,D=!0),y.value.gutter!==A&&(y.value.gutter=A,D=!0),D&&l.triggerRef(y)};if(a)c();else{const i=++o.passport;setTimeout(()=>{i===o.passport&&c()},50)}}function lt(e,t=!1){let r;return t?r=e.getForParent(Xe):r=e.get(Xe),r.layout}function be(e,t=1){return t==="stretch"?-1:(t=j.toNumber(t),t===-1?100:100*t/e)}function la(e){return e===window}const Je=e=>{const t=l.unref(e);if(la(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}},qe=(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},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=j.toNumber(e.props.offset);return t<0?0:t};function ia(e,t){return{props:{...te,...un,...cn},setup(r,n){const a=Pt(r.name,r,fn),o=aa(a,{type:r.type}),u=rt();at(!0);const s=l.getCurrentInstance(),c=O=>{const w=s?.proxy;w&&typeof w.setNameValidateRules=="function"&&w.setNameValidateRules(O,!0)};l.watch(()=>r.rules,(O,w)=>{if(!O&&!w)return;const x=l.toRaw(w),C=l.toRaw(O),g=C?Reflect.ownKeys(C):[];(x?Reflect.ownKeys(x):[]).forEach($=>{g.includes($)||(C[$]=[])}),c(C)},{deep:!0}),l.onMounted(()=>{if(r.rules){const O=l.toRaw(r.rules);c(O)}});const i=e,h=l.computed(()=>{const O={};if(u&&a){const w=lt(a,!0);if(w.value.type!=="flex")return{};if(r.width){const g=ee(r.width);O.width=g}else{const g=be(w.value.column,r.span);g>0&&(O.width=`${g}%`)}if(r.height){const g=ee(r.height);O.height=g}const x=be(w.value.column,r.offset);x>0&&(O["margin-left"]=`${x}%`);const C=w.value.gutter/2;C>0&&(O["padding-left"]=`${C}px`,O["padding-right"]=`${C}px`)}else{if(r.width){const w=ee(r.width);O.width=w}if(r.height){const w=ee(r.height);O.height=w}}return O}),f=l.computed(()=>r.type==="flex"?{[`${qe("",r.type)}`]:!0,[`${qe("justify",r.justify)}`]:!0,[`${qe("align",r.align)}`]:!0,[`${qe("flex",r.flexWrap)}`]:!0,[`${i}__gutter`]:!0}:{[`${qe("",r.type)}`]:!0,[`${i}__gutter`]:!0}),A=l.toRef(r,"title"),D=l.toRef(r,"gutter"),y=l.toRef(r,"column"),p=l.computed(()=>u?!0:r.isWrap),v=l.ref([]),S=O=>{v.value.push(O)},T=l.ref(-1);if(qt(a,T.value,y.value,D.value,!0),r.autoLayout){l.watch([T,y,D],([w,x,C])=>{qt(a,w,x,C,!1)});let O=null;l.onMounted(()=>{if(Ke&&v.value&&v.value.length>0){const w=v.value[0];T.value=Je(w).width,window.ResizeObserver&&(O=new window.ResizeObserver(()=>{const x=Je(w).width;x>0&&x!==T.value&&(T.value=x)}),O.observe(w))}}),l.onUnmounted(()=>{O?.disconnect()})}const P=(O,w,x,C)=>{const g={...f.value};return w===0&&(g[`${i}__first`]=!0),x>=C-1&&(g[`${i}__last`]=!0),l.h("div",{ref:S,key:`${w}`,class:g},O)};return()=>{const O=[];let w=0;if(n.slots.title){const E={key:`${w++}`,class:{[`${i}__title`]:!0,[`${i}__first`]:!0}},$=l.h("div",E,[n.slots.title()]);O.push($)}else if(A.value){const E={key:`${w++}`,class:{[`${i}__title`]:!0,[`${i}__first`]:!0}},$=l.h("div",{class:{[`${i}__title-mark`]:!0}}),B=l.h("div",{class:{[`${i}__title-text`]:!0}},[A.value]),L=l.h("div",E,[$,B]);O.push(L)}const x=n.slots.default?n.slots.default():[];let C=[],g=0;if(r.type==="flex"){for(let E=0;E<x.length;E++){const $=x[E],B=oa($),L=sa($);if(B==="stretch"){if(g<o.layout.value.column){C.push($);const d=P([...C],w++,E,x.length);O.push(d)}else{const d=P([...C],w++,E-1,x.length);O.push(d);const V=P([$],w++,E,x.length);O.push(V)}g=0,C=[];continue}let M=j.toNumber(B);if(M===-1){if(C.length>0){const V=P([...C],w++,E-1,x.length);O.push(V)}const d=P([$],w++,E,x.length);O.push(d),g=0,C=[];continue}M>o.layout.value.column?M=o.layout.value.column:M<=0&&(M=1);const I=g+M+L;if(I>o.layout.value.column){const d=P([...C],w++,E-1,x.length);O.push(d),g=M+L,C=[$]}else C.push($),g=I}if(C.length>0){const E=P([...C],w++,x.length,x.length);O.push(E)}}else for(let E=0;E<x.length;E++){const $=x[E],B=P([$],w++,E,x.length);O.push(B)}return p.value?l.h("div",{class:{[`${i}`]:!0},style:h.value},[O]):O}}}}const{componentName:ua,create:ca,scope:lo}=z("group"),yn=ca(ia(ua)),vn={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}=z("price"),ha=da({props:{...vn},setup(e){const t=l.computed(()=>({[fa]:!0})),r=l.computed(()=>e.needSymbol?e.symbol:""),n=l.computed(()=>Jt(e.price)==0?"":Zt(e.price,e.decimalLength,!0,e.digits,e.separator)),a=l.computed(()=>{let u=n.value;if(u.length==0)return"";let s=u.indexOf(".");return u.substring(0,s)}),o=l.computed(()=>{let u=n.value;if(u.length==0)return"";let s=u.indexOf(".");return u.substring(s+1)});return{classes:t,showSymbol:r,intText:a,decimalText:o}}}),ga=["innerHTML"],ma=["innerHTML"];function pa(e,t,r,n,a,o){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,ga)):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,ma)):l.createCommentVNode("",!0)],2)}const Qe=Te(ha,[["render",pa]]),{componentName:ht,create:ya}=z("hint-text"),va=ya({components:{[Qe.name]:Qe},props:{...vn,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(()=>({[ht]:!0})),o=l.computed(()=>({left:ee(e.startPoint.x),top:ee(e.startPoint.y-e.height-10-4),height:ee(e.height),width:ee(e.width)})),u=l.computed(()=>({[`${ht}__content`]:!0})),s=l.computed(()=>({})),c=l.computed(()=>({[`${ht}__arrow`]:!0})),i=l.computed(()=>({top:ee(e.height)}));return{classes:a,styles:o,textClasses:u,textStyles:s,arrowClasses:c,arrowStyles:i}}}),ba={key:1,class:"text"};function $a(e,t,r,n,a,o){const u=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(u,{key:0,price:e.message,position:"before"},null,8,["price"])):(l.openBlock(),l.createElementBlock("span",ba,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 ot=Te(va,[["render",$a]]);class bn{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 wa(e){return e===window}const $n=e=>{const t=l.unref(e);if(!t)return{x:0,y:0};if(wa(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 o=t.getBoundingClientRect(),u=o.x+r,s=o.y+n;return{x:u,y:s}},$t={},xa=new bn,Ie=new Map,wt=e=>{if(e){const t=document.getElementById(e);Ie.delete(e),t&&document.body.removeChild(t)}else{for(const t of Ie.keys()){const r=document.getElementById(t);r&&document.body.removeChild(r)}Ie.clear()}},Sa=e=>{const t=document.getElementById(e.id);if(t){const r=Ie.get(e.id);r?e={...$t,...r,...e}:e={...$t,...e};const n=l.createVNode(ot,e);return l.render(n,t),e.id}},Ea=e=>{e.unmount=wt;let t;if(e.id){if(t=e.id,Ie.has(t))return Sa(e)}else t=`hinttext_${xa.get()}`;e={...$t,...e},e.id=t,Ie.set(t,e);const r=document.createElement("div");r.id=e.id;const n=l.createVNode(ot,e);return l.render(n,r),document.body.appendChild(r),t},Ca=e=>{if(!e){console.warn("[FoxUI HintText]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},ze={show(e,t,r={},n=!0){n&&wt(),Ca(t);const a=$n(e),o={x:a.x,y:a.y},s=Je(e).width;return Ea({...r,message:t,startPoint:o,width:s})},hide(e){wt(e)},install(e){e.config.globalProperties.$hintText=ze}},{componentName:Bt,create:Na}=z("item"),Aa=Na({inheritAttrs:!0,props:{...te,...se},setup(e,t){ne({componentName:Bt,validate:!1},e.prop??e.name);const r=$e(),n=rt();at(!1);const a=Bt,o=l.computed(()=>({[a]:!0,[`${a}__gutter`]:!0,[`${a}__stretch`]:e.span==="stretch",[`${a}__input--border`]:e.hasBorder,"is-error":!!g.value,"is-warn":!!x.value,"is-info":!!O.value})),u=l.computed(()=>{if(n&&r){const N=lt(r,!1);if(N.value.type!=="flex")return{};const R={},k=be(N.value.column,e.span);k>0&&(R.width=`${k}%`);const q=be(N.value.column,e.offset);q>0&&(R["margin-left"]=`${q}%`);const _=N.value.gutter/2;return _>0&&(R["padding-left"]=`${_}px`,R["padding-right"]=`${_}px`),R}return{}}),s=l.ref(null),c=l.computed({get:()=>s.value??j.toBoolean(e.isRequired),set:N=>{s.value=N}}),i=l.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),h=je(l.toRef(e,"labelPosition"),"labelPosition",Ue.Near),f=l.computed(()=>h&&h.value==="top"?"top":h&&h.value==="right"?"right":"left"),A=l.computed(()=>({[`${a}__main`]:!0,[`${a}__main--${f.value}`]:!0})),D=l.computed(()=>({label:!0,[`label-${f.value}`]:!0})),y=je(l.toRef(e,"labelWidth"),"labelWidth",Ue.Near),p=l.computed(()=>y&&y.value?{width:`${ee(y.value)}`}:{}),v=l.computed(()=>({["label--string"]:!0,["label--required"]:c.value})),S=l.computed(()=>({content:!0,[e.contentClass]:!0})),T=l.computed(()=>({...e.contentStyle})),P=l.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});ie({setRequired(N){c.value=N},setErrorTip(N){P.errorTip=N},setErrorIcon(N){P.errorIcon=N},setWarnTip(N){P.warnTip=N},setWarnIcon(N){P.warnIcon=N},setInfoTip(N){P.infoTip=N},setInfoIcon(N){P.infoIcon=N}});const O=l.computed(()=>e.infoTip||P.infoTip),w=l.computed(()=>e.infoIcon||P.infoIcon),x=l.computed(()=>e.warnTip||P.warnTip),C=l.computed(()=>e.warnIcon||P.warnIcon),g=l.computed(()=>e.errorTip||P.errorTip),E=l.computed(()=>e.errorIcon||P.errorIcon),$=l.computed(()=>g.value?"error":x.value?"warn":O.value?"info":""),B=l.computed(()=>$.value.length>0),L=l.computed(()=>$.value==="error"?g.value:$.value==="warn"?x.value:$.value==="info"?O.value:""),M=l.computed(()=>$.value==="error"?E.value:$.value==="warn"?C.value:$.value==="info"?w.value:null),I=l.computed(()=>{let N={[`${a}__tip`]:!0,[`${a}__tip--${$.value}`]:!0};return $.value==="error"&&e.errorClass?N[`${e.errorClass}`]=!0:$.value==="warn"&&e.warnClass?N[`${e.warnClass}`]=!0:$.value==="info"&&e.infoClass&&(N[`${e.infoClass}`]=!0),N}),d=l.computed(()=>{let N={};return h&&h.value==="top"?N["padding-left"]="0px":y&&y.value&&(N["padding-left"]=ee(y.value)),N}),V=l.ref();let m="";return l.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([N,R,k,q])=>{!V.value||(N?m?ze.show(V.value,R,{...q,id:m,type:k}):m=ze.show(V.value,R,{...q,type:k}):ze.hide(m))}),{classes:o,styles:u,mainClasses:A,hasLabel:i,labelClasses:D,labelStyles:p,labelStringClasses:v,contentClasses:S,contentStyles:T,contentRef:V,hasTip:B,mTip:L,mIcon:M,tipClasses:I,tipStyles:d}}}),Pa={key:0,class:"fox-item__tip-icon"},Oa={class:"fox-item__tip-text"};function Va(e,t,r,n,a,o){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",Pa,l.toDisplayString(e.mIcon),1)):l.createCommentVNode("",!0),l.createElementVNode("div",Oa,l.toDisplayString(e.mTip),1)],6)):l.createCommentVNode("",!0)]),_:1}),l.renderSlot(e.$slots,"hide")],6)}const re=Te(Aa,[["render",Va]]),{componentName:Ta,create:Ia}=z("slot-item"),wn=Ia({props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0}},setup(e,t){const r=Ta,n=l.computed(()=>({[r]:!0,[`${r}__stretch`]:e.span==="stretch"})),a=$e(),o=rt();at(!1);const u=l.computed(()=>{if(o&&a){const s=lt(a,!1);if(s.value.type!=="flex")return{};const c={},i=be(s.value.column,e.span);i>0&&(c.width=`${i}%`);const h=be(s.value.column,e.offset);h>0&&(c["margin-left"]=`${h}%`);const f=s.value.gutter/2;return f>0&&(c["padding-left"]=`${f}px`,c["padding-right"]=`${f}px`),c}return{}});return()=>{const s={class:n.value,style:u.value};return t.slots&&typeof t.slots.default=="function"?l.h("div",s,t.slots.default()):l.h("div",s)}}}),{componentName:Ra,create:Ma}=z("row-item"),xn=Ma({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=Ra,n=l.computed(()=>({[r]:!0,[`${r}__stretch`]:e.span==="stretch",[`${r}__${e.align}`]:!0})),a=$e(),o=rt();at(!1);const u=l.computed(()=>{if(o&&a){const c=lt(a,!1);if(c.value.type!=="flex")return{};const i={},h=be(c.value.column,e.span);h>0&&(i.width=`${h}%`);const f=be(c.value.column,e.offset);f>0&&(i["margin-left"]=`${f}%`);const A=c.value.gutter/2;return A>0&&(i["padding-left"]=`${A}px`,i["padding-right"]=`${A}px`),i}return{}}),s=l.computed(()=>({[`${r}__content`]:!0}));return()=>{const c=[];t.slots.default&&c.push(t.slots.default());const i={class:s.value},h=l.h("div",i,c),f={class:n.value,style:u.value};return l.h("div",f,[h])}}}),_t={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function Da(e,t,r){return{props:{...te,...se,..._t},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),s=u(n,["placeholder"]),c=l.ref(!1),i=de(l.computed(()=>n.disabled)),h=fe(l.computed(()=>n.readonly)),f=J(n,"modelValue"),A=e,D=l.computed(()=>({[A]:!0})),y=x=>{f.value=x,o("update:modelValue",x),o("input",x)},p=x=>{o("change",x)};let v=J(n,"hintText"),S=l.ref(!1);const T=x=>{let g=x.target.value;c.value=!0,ce(v.value)||(S.value=!0),o("focus",g,x)},P=x=>{setTimeout(()=>{S.value&&(S.value=!1),c.value=!1},0);let g=x.target.value;n.maxLength&&g.length>Number(n.maxLength)&&(g=g.slice(0,Number(n.maxLength))),o("blur",g,x)},O=()=>{o("clear","")},w=l.ref();return ie({focus:()=>{w?.value.focus()},blur:()=>{w?.value.blur()},select:()=>{w?.value.select()}}),()=>{const C={...a.attrs,ref:w,class:D.value,placeholder:s.placeholder.value,clearable:n.clearable,disabled:i.value,readonly:h.value,modelValue:f.value,onClear:O,onChange:p,onInput:y,onFocus:T,onBlur:P},g={};a.slots.prepend&&(g.prepend=a.slots.prepend),a.slots.append&&(g.append=a.slots.append),a.slots.prefix&&(g.prefix=a.slots.prefix),a.slots.suffix&&(g.suffix=a.slots.suffix);const E=[],$=l.h(b.ElInput,C,g);E.push($);const B={default:()=>E};if(a.slots.default){const d=a.slots.default();B.label=()=>d}const M={...oe(n,_t),hintText:v.value,hintVisible:S.value,prop:`${n.prop}_item`};return l.h(r,M,B)}}}}const{componentName:ka,create:qa,scope:Ba}=z("input-item"),Sn=qa(Da(ka,Ba,re));function Ae(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ee(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function En(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class _a{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=Ve(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(j.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function La(){const e=l.getCurrentInstance();return new _a(e.proxy)}function Cn(e,t,r){const n=Ae(e,t),a=Ae(e,r);if(n!==a)return!1;const o=Ee(e,t),u=Ee(e,r);return o===u}function Nn(e,t,r,n){if(n.length==0)return[];if(t===""||t===null||t===void 0)return[];Array.isArray(t)||(t=[t]);const a=[];return t.forEach(o=>{for(let u of n){const s=En(e,u);if(Array.isArray(s)&&s.length>0){const c=Nn(e,o,r,s);Reflect.apply([].push,a,c)}else{let c=!1;if(r==="text")c=Ae(e,u)===o;else if(r==="item")c=Cn(e,u,o);else{let i=Ee(e,u);i==null&&(i=Ae(e,u)),c=i===o}if(c){a.push(u);break}}}}),a}function ja(e){return{text:e,value:e}}const Lt={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,...se,...Lt},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),s=u(n,["placeholder"]),c=l.ref(),i=l.ref([]),h=(d,V,m,N=!0)=>{const R=Nn(n,d,V,m);let k=!0;if(R.length!==i.value.length)k=!1;else for(let q=0;q<R.length;q++){const _=R[q],H=i.value[q];if(!Cn(n,_,H)){k=!1;break}}if(!k){i.value=R;let q=[],_=[];R.forEach(F=>(q.push(Ee(n,F)),n.valueType==="text"?_.push(Ae(n,F)):n.valueType==="item"?_.push(F):_.push(Ee(n,F)),Ee(n,F)));let H;n.multiple?(c.value=q,H=l.toRaw(_)):(c.value=q[0]??"",H=l.toRaw(_[0]??"")),N&&(o("update:modelValue",H),o("change",H))}},f=l.ref([]),A=La();l.watch([()=>n.source,()=>n.params],async([d,V])=>{if(d){const m=await A.load("select",d,V);if(m.length>0)if(typeof m[0]=="string"){let k=m.map(q=>ja(q));f.value=k}else f.value=m}},{immediate:!0}),l.watch([()=>f.value,()=>n.modelValue],([d,V])=>{h(V,n.valueType,d,!1)});let D=null,y=l.ref(!1);typeof n.remoteMethod=="function"&&(D=async d=>{if(d!=null){y.value=!0;try{const V=await n.remoteMethod(d);f.value=V}catch(V){console.error(V)}y.value=!1}});const p=l.ref(!1),v=de(l.computed(()=>n.disabled)),S=fe(l.computed(()=>n.readonly)),T=e,P=l.computed(()=>({[T]:!0})),O=d=>{n.allowCreate?(o("update:modelValue",d),o("change",d),c.value=d):h(d,"value",f.value,!0)};let w=J(n,"hintText"),x=l.ref(!1);const C=d=>{let m=d.target.value;p.value=!0,ce(w.value)||(x.value=!0),o("focus",m,d)},g=d=>{setTimeout(()=>{x.value&&(x.value=!1),p.value=!1},0);let m=d.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),$.value?setTimeout(()=>{o("blur",m,d)},50):o("blur",m,d)},E=()=>{o("clear","")},$=l.ref(!1),B=d=>{$.value=d,o("visible-change",d)},L=d=>{o("remove-tag",d)},M=(d,V)=>{const m=[];return d.forEach((N,R)=>{const k=En(n,N);if(Array.isArray(k)&&k.length>0){const q=M(k,V),_=Ae(n,N),F={key:`${_}_${R}`,label:_};m.push(l.h(b.ElOptionGroup,F,{default:()=>q}))}else{const q=Ee(n,N),_=Ae(n,N),H=j.toBoolean(N.disabled),Z={key:`${q}_${R}`,label:_,disabled:H,value:q};typeof V=="function"?m.push(l.h(b.ElOption,Z,{default:V})):m.push(l.h(b.ElOption,Z))}}),m},I=l.ref();return ie({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()}}),()=>{const V={...a.attrs,ref:I,class:P.value,clearable:n.clearable,multiple:n.multiple,placeholder:s.placeholder.value,disabled:v.value||S.value,modelValue:c.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:E,onChange:O,onFocus:C,onBlur:g,onVisibleChange:B,onRemoveTag:L};typeof D=="function"&&(V["remote-method"]=D,V.loading=y.value);const m={};a.slots.prefix&&(m.prefix=a.slots.prefix),a.slots.empty&&(m.empty=a.slots.empty),m.default=()=>M(f.value,a.slots.option);const N=[],R=l.h(b.ElSelect,V,m);N.push(R);const k={default:()=>N};if(a.slots.default){const F=a.slots.default();k.label=()=>F}const _={...oe(n,Lt),hintText:w.value,hintVisible:x.value,prop:`${n.prop??n.name}_item`};return l.h(r,_,k)}}}}const{componentName:Ka,create:Fa,scope:za}=z("select-item"),An=Fa(Ha(Ka,za,re)),jt={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function Wa(e,t,r){return{props:{...te,...se,...jt},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),s=u(n,["placeholder"]),c=l.ref(!1),i=de(l.computed(()=>n.disabled)),h=fe(l.computed(()=>n.readonly)),f=J(n,"modelValue"),A=e,D=l.computed(()=>({[A]:!0})),y=g=>{f.value=g,o("update:modelValue",g),o("change",g)};let p=J(n,"hintText"),v=l.ref(!1);const S=g=>{let $=g.target.value;c.value=!0,ce(p.value)||(v.value=!0),o("focus",$,g)},T=g=>{setTimeout(()=>{v.value&&(v.value=!1),c.value=!1},0);let $=g.target.value;n.maxLength&&$.length>Number(n.maxLength)&&($=$.slice(0,Number(n.maxLength))),o("blur",$,g)},P=()=>{o("clear","")},O=g=>{o("calendar-change",g)},w=(g,E,$)=>{o("panel-change",g,E,$)},x=g=>{o("visible-change",g)},C=l.ref();return ie({focus:()=>{C?.value.focus()},blur:()=>{C?.value.blur()},handleOpen:()=>{C?.value.handleOpen()},handleClose:()=>{C?.value.handleClose()}}),()=>{const E={...a.attrs,ref:C,class:D.value,placeholder:s.placeholder.value,disabled:i.value,readonly:h.value,modelValue:f.value,["onUpdate:modelValue"]:y,onClear:P,onFocus:S,onBlur:T,onCalendarChange:O,onPanelChange:w,onVisibleChange:x},$={};a.slots["range-separator"]&&($["range-separator"]=a.slots["range-separator"]),a.slots.cell&&($.default=a.slots.cell);const B=[],L=l.h(b.ElDatePicker,E,$);B.push(L);const M={default:()=>B};if(a.slots.default){const m=a.slots.default();M.label=()=>m}const d={...oe(n,jt),hintText:p.value,hintVisible:v.value,prop:`${n.prop}_item`};return l.h(r,d,M)}}}}const{componentName:Ga,create:Ya,scope:Ua}=z("date-item"),Pn=Ya(Wa(Ga,Ua,re)),Ht={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function Za(e,t,r){return{props:{...te,...se,...Ht},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),s=u(n,["placeholder"]),c=l.ref(!1),i=de(l.computed(()=>n.disabled)),h=fe(l.computed(()=>n.readonly)),f=J(n,"modelValue"),A=e,D=l.computed(()=>({[A]:!0})),y=x=>{f.value=x,o("update:modelValue",x),o("change",x)};let p=J(n,"hintText"),v=l.ref(!1);const S=x=>{let g=x.target.value;c.value=!0,ce(p.value)||(v.value=!0),o("focus",g,x)},T=x=>{setTimeout(()=>{v.value&&(v.value=!1),c.value=!1},0);let g=x.target.value;n.maxLength&&g.length>Number(n.maxLength)&&(g=g.slice(0,Number(n.maxLength))),o("blur",g,x)},P=()=>{o("clear","")},O=x=>{o("visible-change",x)},w=l.ref();return ie({focus:()=>{w?.value.focus()},blur:()=>{w?.value.blur()},handleOpen:()=>{w?.value.handleOpen()},handleClose:()=>{w?.value.handleClose()}}),()=>{const C={...a.attrs,ref:w,class:D.value,placeholder:s.placeholder.value,disabled:i.value,readonly:h.value,modelValue:f.value,["onUpdate:modelValue"]:y,onClear:P,onFocus:S,onBlur:T,onVisibleChange:O},g={},E=[],$=l.h(b.ElTimePicker,C,g);E.push($);const B={default:()=>E};if(a.slots.default){const d=a.slots.default();B.label=()=>d}const M={...oe(n,Ht),hintText:p.value,hintVisible:v.value,prop:`${n.prop}_item`};return l.h(r,M,B)}}}}const{componentName:Xa,create:Ja,scope:Qa}=z("time-item"),On=Ja(Za(Xa,Qa,re)),Kt={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function el(e,t,r){return{props:{...te,...se,...Kt},emits:["change","update:modelValue","blur","focus","clear"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),s=u(n,["placeholder"]),c=l.ref(!1),i=de(l.computed(()=>n.disabled)),h=fe(l.computed(()=>n.readonly)),f=J(n,"modelValue"),A=e,D=l.computed(()=>({[A]:!0})),y=w=>{f.value=w,o("update:modelValue",w),o("change",w)};let p=J(n,"hintText"),v=l.ref(!1);const S=w=>{let C=w.target.value;c.value=!0,ce(p.value)||(v.value=!0),o("focus",C,w)},T=w=>{setTimeout(()=>{v.value&&(v.value=!1),c.value=!1},0);let C=w.target.value;n.maxLength&&C.length>Number(n.maxLength)&&(C=C.slice(0,Number(n.maxLength))),o("blur",C,w)},P=()=>{o("clear","")},O=l.ref();return ie({focus:()=>{O?.value.focus()},blur:()=>{O?.value.blur()},handleOpen:()=>{O?.value.handleOpen()},handleClose:()=>{O?.value.handleClose()}}),()=>{const x={...a.attrs,ref:O,class:D.value,placeholder:s.placeholder.value,disabled:i.value,readonly:h.value,modelValue:f.value,["onUpdate:modelValue"]:y,onClear:P,onFocus:S,onBlur:T},C={},g=[],E=l.h(b.ElTimeSelect,x,C);g.push(E);const $={default:()=>g};if(a.slots.default){const I=a.slots.default();$.label=()=>I}const L={...oe(n,Kt),hintText:p.value,hintVisible:v.value,prop:`${n.prop}_item`};return l.h(r,L,$)}}}}const{componentName:tl,create:nl,scope:rl}=z("time-select-item"),Vn=nl(el(tl,rl,re));function al(e,t,r,n,a){let o=[];Array.isArray(e)?o=e:o=[e];const u=[],s=t[0];if(Array.isArray(s))for(let c=0;c<t.length&&c<o.length;c++){let i=t[c],h=o[c];const f=i.find(A=>A[n]===h);if(!f)break;u.push(f[r])}else{let c=t;for(let i=0;c&&i<o.length;i++){let h=o[i],f=c.find(A=>A[n]===h);if(!f)break;u.push(f[r]),c=f[a]}}return u}class ll{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=Ve(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(j.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function ol(){const e=l.getCurrentInstance();return new ll(e.proxy)}const Tn={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 sl(e,t){return{props:{...Tn},setup(r,{attrs:n}){const a=ol(),o=l.ref([]);l.watch([()=>r.source,()=>r.params],async([c,i])=>{o.value=await a.load(r.sourceType,c,i)},{immediate:!0});const u=l.computed(()=>{if(!Array.isArray(o.value)||o.value.length===0)return"";let c=al(r.modelValue,o.value,r.textKey,r.valueKey,r.childrenKey);return c.length==0?"":c.length===1?c[0]:c.join(r.separator)}),s=r.resolveTag?l.resolveComponent(r.tag):r.tag;return()=>{const c={...n};return r.resolveTag?l.h(s,c,{default:()=>u.value}):l.h(s,c,u.value)}}}}const{componentName:oo,create:il,scope:so}=z("mapping"),Ot=il(sl());function ul(e,t){return{props:{...Tn},setup(r,{attrs:n}){return()=>{const a={default:o=>{const u=o.row[o.column.property];return l.h(Ot,{...r,modelValue:u})}};return l.h(b.ElTableColumn,{...n},a)}}}}const{componentName:io,create:cl,scope:uo}=z("table-mapping-column"),In=cl(ul());class fl{proxy;constructor(t){this.proxy=t}async load(t,r,n,a,o,u,s){if(Array.isArray(r)){let i=(n-1)*a,h=i+a;h>r.length&&(h=r.length);const f=r.slice(i,h);return{totalSize:r.length,page:f}}if(typeof r=="function")return await Reflect.apply(r,null,[n,a,o,u,s]);const c=Ve(this.proxy,t);return c===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(j.isObject(o)&&l.isReactive(o)&&(o=l.toRaw(o)),await await Reflect.apply(c,null,[r,n,a,o,u,s]))}}function dl(){const e=l.getCurrentInstance();return new fl(e.proxy)}const Ft={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},baseParams:{type:[Object]},params:{type:[Object]}},zt={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,...se,...Ft,...zt},emits:["change","page-size-change","page-index-change"],setup(n,a){const{locale:o}=Oe.useFoxI18n(t),{emitEvent:u}=ne({componentName:e},n.prop??n.name),s=e,c=l.computed(()=>({[s]:!0})),i=l.computed(()=>({[`${s}__pagination`]:!0,[`${s}__pagination__${n.paginationAlign}`]:!0})),h=l.ref(n.pageIndex);l.watch(()=>n.pageIndex,g=>{h.value=g});const f=g=>{h.value=g,u("page-index-change",g)},A=l.ref(n.pageSize);l.watch(()=>n.pageSize,g=>{A.value=g});const D=g=>{A.value=g,u("page-size-change",g)},y=l.shallowRef({}),p=l.computed(()=>({...y.value,...n.params??{},...n.baseParams??{}})),v=l.ref(0),S=l.ref(),T=dl();let P=!0;const O=()=>Array.isArray(n.data)||typeof n.data=="function"?!0:j.toBoolean(n.autoLoad),w=async(g,E,$,B)=>{try{const L=await T.load("table",g,E,$,B,P,o.value);v.value=L.totalSize,S.value=L.page}catch(L){console.error("[FoxUI] Load Table Data Fail",L),v.value=0,S.value=[]}P=!1};l.watch([h,A],([g,E],[$,B])=>{E!==B&&(h.value=1,g=1),w(n.data,g,E,p.value)}),l.watch([()=>n.data,p],([g,E],[$,B])=>{!O()||(g!==$&&(P=!0),w(g,h.value,A.value,E))});const x=(g={})=>{y.value=l.toRaw(g??{}),l.triggerRef(y),l.nextTick(()=>{w(n.data,h.value,A.value,p.value)})};O()&&x();const C=l.ref();return ie({clearSelection:()=>C?.value.clearSelection(),getSelectionRows:()=>C?.value.getSelectionRows(),toggleRowSelection:(g,E)=>{C?.value.toggleRowSelection(g,E)},toggleAllSelection:()=>{C?.value.toggleAllSelection()},toggleRowExpansion:(g,E)=>{C?.value.toggleRowExpansion(g,E)},setCurrentRow:g=>{C?.value.setCurrentRow(g)},clearSort:()=>{C?.value.clearSort()},clearFilter:g=>{C?.value.clearFilter(g)},doLayout:()=>{C?.value.doLayout()},sort:(g,E)=>{C?.value.sort(g,E)},scrollTo:(g,E)=>{C?.value.scrollTo(g,E)},setScrollTop:g=>{C?.value.setScrollTop(g)},setScrollLeft:g=>{C?.value.setScrollLeft(g)},loadData:x}),()=>{const E={...a.attrs,data:S.value,ref:C,class:c.value},$={};a.slots.default&&($.default=a.slots.default),a.slots.append&&($.append=a.slots.append),a.slots.empty&&($.empty=a.slots.empty);const B=[],L=l.h(b.ElTable,E,$);if(B.push(L),typeof a.slots.pagination=="function"){const m=a.slots.pagination();B.push(m)}else if(n.paginationVisible){const m={class:i.value,total:v.value,pageSize:A.value,["onUpdate:pageSize"]:D,pageSizes:n.pageSizes,currentPage:h.value,["onUpdate:currentPage"]:f,hideOnSinglePage:n.hideOnSinglePage,layout:n.paginationLayout,small:!0},N=l.h(b.ElPagination,m);B.push(N)}const M={default:()=>B},d={...oe(n,Ft,zt),prop:`${n.prop}_item`};return d.contentClass=`${s}__wrap`,l.h(r,d,M)}}}}const{componentName:gl,create:ml,scope:pl}=z("table-item"),Rn=ml(hl(gl,pl,re));function Re(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function He(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class yl{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=Ve(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(j.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function vl(){const e=l.getCurrentInstance();return new yl(e.proxy)}function Mn(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=Re(e,t),a=Re(e,r);if(n!==a)return!1;const o=He(e,t),u=He(e,r);return o===u}function bl(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;let a=null;for(let o of n){let u=!1;if(r==="text")u=Re(e,o)===t;else if(r==="item")u=Mn(e,o,t);else{let s=He(e,o);s==null&&(s=Re(e,o)),u=s===t}if(u){a=o;break}}return a}function $l(e){return{text:e,value:e}}const Wt={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 wl(e,t,r){return{inheritAttrs:!0,props:{...te,...se,...Wt},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),u=l.ref(),s=l.ref(null),c=(P,O,w,x=!0)=>{const C=bl(n,P,O,w);if(C===null){if(C===s.value)return;s.value=null,u.value=null,x&&(o("update:modelValue",null),o("change",null))}if(!Mn(n,C,s.value)){u.value=P;const E=l.toRaw(C);s.value=E;let $=null;n.valueType==="text"?$=Re(n,E):n.valueType==="item"?$=E:$=He(n,E),x&&(o("update:modelValue",$),o("change",$))}},i=l.ref([]),h=vl();l.watch([()=>n.source,()=>n.params],async([P,O])=>{if(P){const w=await h.load("radio",P,O);if(w.length>0)if(typeof w[0]=="string"){let g=w.map(E=>$l(E));i.value=g}else i.value=w}},{immediate:!0}),l.watch([()=>i.value,()=>n.modelValue],([P,O])=>{c(O,n.valueType,P,!1)});const f=de(l.computed(()=>n.disabled)),A=fe(l.computed(()=>n.readonly)),D=e,y=l.computed(()=>({[D]:!0})),p=P=>{c(P,"value",i.value,!0)};let v=J(n,"hintText"),S=l.ref(!1);const T=P=>{const O=[];return P.forEach((w,x)=>{const C=He(n,w),g=Re(n,w),E=j.toBoolean(w.disabled),B={key:`${C}_${x}`,class:n.itemClass,label:C,disabled:E,size:n.size,border:j.toBoolean(n.border)};n.itemType==="button"?O.push(l.h(b.ElRadioButton,B,{default:()=>[g]})):O.push(l.h(b.ElRadio,B,{default:()=>[g]}))}),O};return()=>{const O={...a.attrs,class:y.value,disabled:f.value||A.value,modelValue:u.value,["text-color"]:n.textColor,fill:n.fill,onChange:p},w=[],x={};a.slots.options?x.default=a.slots.options:x.default=()=>T(i.value);const C=l.h(b.ElRadioGroup,O,x);w.push(C);const g={default:()=>w};if(a.slots.default){const L=a.slots.default();g.label=()=>L}const $={...oe(n,Wt),hintText:v.value,hintVisible:S.value,prop:`${n.prop??n.name}_item`};return l.h(r,$,g)}}}}const{componentName:xl,create:Sl,scope:El}=z("radio-item"),Dn=Sl(wl(xl,El,re));function Me(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ce(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class Cl{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=Ve(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(j.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function Nl(){const e=l.getCurrentInstance();return new Cl(e.proxy)}function kn(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=Me(e,t),a=Me(e,r);if(n!==a)return!1;const o=Ce(e,t),u=Ce(e,r);return o===u}function Al(e,t,r,n){if(n.length==0)return[];if(t===""||t===null||t===void 0)return[];Array.isArray(t)||(t=[t]);const a=[];return t.forEach(o=>{for(let u of n){let s=!1;if(r==="text")s=Me(e,u)===o;else if(r==="item")s=kn(e,u,o);else{let c=Ce(e,u);c==null&&(c=Me(e,u)),s=c===o}if(s){a.push(u);break}}}),a}function Pl(e){return{text:e,value:e}}const Gt={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 Ol(e,t,r){return{inheritAttrs:!1,props:{...te,...se,...Gt},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),u=l.ref(),s=l.ref([]),c=(P,O,w,x=!0)=>{const C=Al(n,P,O,w);if(C===null)return u.value=[],s.value=[],x&&(o("update:modelValue",null),o("change",null)),null;let g=!0;if(C.length!==s.value.length)g=!1;else for(let E=0;E<C.length;E++){const $=C[E],B=s.value[E];if(!kn(n,$,B)){g=!1;break}}if(!g){s.value=C;let E=[],$=[];C.forEach(L=>(E.push(Ce(n,L)),n.valueType==="text"?$.push(Me(n,L)):n.valueType==="item"?$.push(L):$.push(Ce(n,L)),Ce(n,L))),u.value=E;const B=l.toRaw($);x&&(o("update:modelValue",B),o("change",B))}},i=l.ref([]),h=Nl();l.watch([()=>n.source,()=>n.params],async([P,O])=>{if(P){const w=await h.load("checkbox",P,O);if(w.length>0)if(typeof w[0]=="string"){let g=w.map(E=>Pl(E));i.value=g}else i.value=w}},{immediate:!0}),l.watch([()=>i.value,()=>n.modelValue],([P,O])=>{c(O,n.valueType,P,!1)});const f=de(l.computed(()=>n.disabled)),A=fe(l.computed(()=>n.readonly)),D=e,y=l.computed(()=>({[D]:!0})),p=P=>{c(P,"value",i.value,!0)};let v=J(n,"hintText"),S=l.ref(!1);const T=P=>{const O=[];return P.forEach((w,x)=>{const C=Ce(n,w),g=Me(n,w),E=j.toBoolean(w.disabled),B={key:`${C}_${x}`,class:n.itemClass,label:C,disabled:E,size:n.size,border:j.toBoolean(n.border)};n.itemType==="button"?O.push(l.h(b.ElCheckboxButton,B,{default:()=>[g]})):O.push(l.h(b.ElCheckbox,B,{default:()=>[g]}))}),O};return()=>{const O={...a.attrs,class:y.value,disabled:f.value||A.value,modelValue:u.value,["text-color"]:n.textColor,fill:n.fill,max:j.toNumber(n.max),min:j.toNumber(n.min),onChange:p},w=[],x={};a.slots.options?x.default=a.slots.options:x.default=()=>T(i.value);const C=l.h(b.ElCheckboxGroup,O,x);w.push(C);const g={default:()=>w};if(a.slots.default){const L=a.slots.default();g.label=()=>L}const $={...oe(n,Gt),hintText:v.value,hintVisible:S.value,prop:`${n.prop??n.name}_item`};return l.h(r,$,g)}}}}const{componentName:Vl,create:Tl,scope:Il}=z("checkbox-item"),qn=Tl(Ol(Vl,Il,re));function Pe(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ne(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function Bn(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class Rl{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=Ve(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(j.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function Ml(){const e=l.getCurrentInstance();return new Rl(e.proxy)}function _n(e,t,r){const n=Pe(e,t),a=Pe(e,r);if(n!==a)return!1;const o=Ne(e,t),u=Ne(e,r);return o===u}function Ln(e,t,r,n){if(n.length==0)return[];if(t===""||t===null||t===void 0)return[];Array.isArray(t)||(t=[t]);const a=[];return t.forEach(o=>{for(let u of n){const s=Bn(e,u);if(Array.isArray(s)&&s.length>0){const c=Ln(e,o,r,s);Reflect.apply([].push,a,c)}else{let c=!1;if(r==="text")c=Pe(e,u)===o;else if(r==="item")c=_n(e,u,o);else{let i=Ne(e,u);i==null&&(i=Pe(e,u)),c=i===o}if(c){a.push(u);break}}}}),a}function Dl(e){return{text:e,value:e}}const Yt={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 kl(e,t,r){return{props:{...te,...se,...Yt},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),s=u(n,["placeholder"]),c=l.ref(),i=l.ref([]),h=(d,V,m,N=!0)=>{const R=Ln(n,d,V,m);let k=!0;if(R.length!==i.value.length)k=!1;else for(let q=0;q<R.length;q++){const _=R[q],H=i.value[q];if(!_n(n,_,H)){k=!1;break}}if(!k){i.value=R;let q=[],_=[];R.forEach(F=>(q.push(Ne(n,F)),n.valueType==="text"?_.push(Pe(n,F)):n.valueType==="item"?_.push(F):_.push(Ne(n,F)),Ne(n,F)));let H;n.multiple?(c.value=q,H=l.toRaw(_)):(c.value=q[0]??"",H=l.toRaw(_[0]??"")),N&&(o("update:modelValue",H),o("change",H))}},f=l.ref([]),A=Ml();l.watch([()=>n.source,()=>n.params],async([d,V])=>{if(d){const m=await A.load("select",d,V);if(m.length>0)if(typeof m[0]=="string"){let k=m.map(q=>Dl(q));f.value=k}else f.value=m}},{immediate:!0}),l.watch([()=>f.value,()=>n.modelValue],([d,V])=>{h(V,n.valueType,d,!1)});let D=null,y=l.ref(!1);typeof n.remoteMethod=="function"&&(D=async d=>{if(d!=null){y.value=!0;try{const V=await n.remoteMethod(d);f.value=V}catch(V){console.error(V)}y.value=!1}});const p=l.ref(!1),v=de(l.computed(()=>n.disabled)),S=fe(l.computed(()=>n.readonly)),T=e,P=l.computed(()=>({[T]:!0})),O=d=>{n.allowCreate?(o("update:modelValue",d),o("change",d),c.value=d):h(d,"value",f.value,!0)};let w=J(n,"hintText"),x=l.ref(!1);const C=d=>{let m=d.target.value;p.value=!0,ce(w.value)||(x.value=!0),o("focus",m,d)},g=d=>{setTimeout(()=>{x.value&&(x.value=!1),p.value=!1},0);let m=d.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),$.value?setTimeout(()=>{o("blur",m,d)},50):o("blur",m,d)},E=()=>{o("clear","")},$=l.ref(!1),B=d=>{$.value=d,o("visible-change",d)},L=d=>{o("remove-tag",d)},M=(d,V)=>{const m=[];return d.forEach((N,R)=>{const k=Bn(n,N);if(Array.isArray(k)&&k.length>0){const q=M(k,V),_=Pe(n,N),F={key:`${_}_${R}`,label:_};m.push(l.h(b.ElOptionGroup,F,{default:()=>q}))}else{const q=Ne(n,N),_=Pe(n,N),H=j.toBoolean(N.disabled),Z={key:`${q}_${R}`,label:_,disabled:H,value:q};typeof V=="function"?m.push(l.h(b.ElOption,Z,{default:V})):m.push(l.h(b.ElOption,Z))}}),m},I=l.ref();return ie({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()}}),()=>{const V={...a.attrs,ref:I,class:P.value,clearable:n.clearable,multiple:n.multiple,placeholder:s.placeholder.value,disabled:v.value||S.value,modelValue:c.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:E,onChange:O,onFocus:C,onBlur:g,onVisibleChange:B,onRemoveTag:L};typeof D=="function"&&(V["remote-method"]=D,V.loading=y.value);const m={};a.slots.prefix&&(m.prefix=a.slots.prefix),a.slots.empty&&(m.empty=a.slots.empty),m.default=()=>M(f.value,a.slots.option);const N=[],R=l.h(b.ElSelect,V,m);N.push(R);const k={default:()=>N};if(a.slots.default){const F=a.slots.default();k.label=()=>F}const _={...oe(n,Yt),hintText:w.value,hintVisible:x.value,prop:`${n.prop??n.name}_item`};return l.h(r,_,k)}}}}const{componentName:ql,create:Bl,scope:_l}=z("cascader-item"),jn=Bl(kl(ql,_l,re)),Ll=Symbol.for("InnerPageScopeKey"),jl=Symbol.for("DialogItemStateKey");function Hl(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(Ll,!0);const a={};l.provide(jl,a);const o=c=>{typeof a.beforeClose=="function"&&a.beforeClose(c)},u=l.ref(!0),s=c=>{u.value=c};return()=>{const i={...n.attrs,title:r.title,draggable:r.draggable,modelValue:u.value,"onUpdate:modelValue":s,"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 l.h(b.ElDialog,i,h)}}}}const{componentName:co,create:Kl,scope:fo}=z("dialog-item"),Hn=Kl(Hl());var he=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Kn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(he,function(){var r=1e3,n=6e4,a=36e5,o="millisecond",u="second",s="minute",c="hour",i="day",h="week",f="month",A="quarter",D="year",y="date",p="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|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,T={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("_")},P=function(M,I,d){var V=String(M);return!V||V.length>=I?M:""+Array(I+1-V.length).join(d)+M},O={s:P,z:function(M){var I=-M.utcOffset(),d=Math.abs(I),V=Math.floor(d/60),m=d%60;return(I<=0?"+":"-")+P(V,2,"0")+":"+P(m,2,"0")},m:function M(I,d){if(I.date()<d.date())return-M(d,I);var V=12*(d.year()-I.year())+(d.month()-I.month()),m=I.clone().add(V,f),N=d-m<0,R=I.clone().add(V+(N?-1:1),f);return+(-(V+(d-m)/(N?m-R:R-m))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:f,y:D,w:h,d:i,D:y,h:c,m:s,s:u,ms:o,Q:A}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},w="en",x={};x[w]=T;var C=function(M){return M instanceof B},g=function M(I,d,V){var m;if(!I)return w;if(typeof I=="string"){var N=I.toLowerCase();x[N]&&(m=N),d&&(x[N]=d,m=N);var R=I.split("-");if(!m&&R.length>1)return M(R[0])}else{var k=I.name;x[k]=I,m=k}return!V&&m&&(w=m),m||!V&&w},E=function(M,I){if(C(M))return M.clone();var d=typeof I=="object"?I:{};return d.date=M,d.args=arguments,new B(d)},$=O;$.l=g,$.i=C,$.w=function(M,I){return E(M,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var B=function(){function M(d){this.$L=g(d.locale,null,!0),this.parse(d)}var I=M.prototype;return I.parse=function(d){this.$d=function(V){var m=V.date,N=V.utc;if(m===null)return new Date(NaN);if($.u(m))return new Date;if(m instanceof Date)return new Date(m);if(typeof m=="string"&&!/Z$/i.test(m)){var R=m.match(v);if(R){var k=R[2]-1||0,q=(R[7]||"0").substring(0,3);return N?new Date(Date.UTC(R[1],k,R[3]||1,R[4]||0,R[5]||0,R[6]||0,q)):new Date(R[1],k,R[3]||1,R[4]||0,R[5]||0,R[6]||0,q)}}return new Date(m)}(d),this.$x=d.x||{},this.init()},I.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()},I.$utils=function(){return $},I.isValid=function(){return this.$d.toString()!==p},I.isSame=function(d,V){var m=E(d);return this.startOf(V)<=m&&m<=this.endOf(V)},I.isAfter=function(d,V){return E(d)<this.startOf(V)},I.isBefore=function(d,V){return this.endOf(V)<E(d)},I.$g=function(d,V,m){return $.u(d)?this[V]:this.set(m,d)},I.unix=function(){return Math.floor(this.valueOf()/1e3)},I.valueOf=function(){return this.$d.getTime()},I.startOf=function(d,V){var m=this,N=!!$.u(V)||V,R=$.p(d),k=function(ae,G){var Q=$.w(m.$u?Date.UTC(m.$y,G,ae):new Date(m.$y,G,ae),m);return N?Q:Q.endOf(i)},q=function(ae,G){return $.w(m.toDate()[ae].apply(m.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(G)),m)},_=this.$W,H=this.$M,F=this.$D,Z="set"+(this.$u?"UTC":"");switch(R){case D:return N?k(1,0):k(31,11);case f:return N?k(1,H):k(0,H+1);case h:var xe=this.$locale().weekStart||0,ge=(_<xe?_+7:_)-xe;return k(N?F-ge:F+(6-ge),H);case i:case y:return q(Z+"Hours",0);case c:return q(Z+"Minutes",1);case s:return q(Z+"Seconds",2);case u:return q(Z+"Milliseconds",3);default:return this.clone()}},I.endOf=function(d){return this.startOf(d,!1)},I.$set=function(d,V){var m,N=$.p(d),R="set"+(this.$u?"UTC":""),k=(m={},m[i]=R+"Date",m[y]=R+"Date",m[f]=R+"Month",m[D]=R+"FullYear",m[c]=R+"Hours",m[s]=R+"Minutes",m[u]=R+"Seconds",m[o]=R+"Milliseconds",m)[N],q=N===i?this.$D+(V-this.$W):V;if(N===f||N===D){var _=this.clone().set(y,1);_.$d[k](q),_.init(),this.$d=_.set(y,Math.min(this.$D,_.daysInMonth())).$d}else k&&this.$d[k](q);return this.init(),this},I.set=function(d,V){return this.clone().$set(d,V)},I.get=function(d){return this[$.p(d)]()},I.add=function(d,V){var m,N=this;d=Number(d);var R=$.p(V),k=function(H){var F=E(N);return $.w(F.date(F.date()+Math.round(H*d)),N)};if(R===f)return this.set(f,this.$M+d);if(R===D)return this.set(D,this.$y+d);if(R===i)return k(1);if(R===h)return k(7);var q=(m={},m[s]=n,m[c]=a,m[u]=r,m)[R]||1,_=this.$d.getTime()+d*q;return $.w(_,this)},I.subtract=function(d,V){return this.add(-1*d,V)},I.format=function(d){var V=this,m=this.$locale();if(!this.isValid())return m.invalidDate||p;var N=d||"YYYY-MM-DDTHH:mm:ssZ",R=$.z(this),k=this.$H,q=this.$m,_=this.$M,H=m.weekdays,F=m.months,Z=function(G,Q,me,pe){return G&&(G[Q]||G(V,N))||me[Q].slice(0,pe)},xe=function(G){return $.s(k%12||12,G,"0")},ge=m.meridiem||function(G,Q,me){var pe=G<12?"AM":"PM";return me?pe.toLowerCase():pe},ae={YY:String(this.$y).slice(-2),YYYY:this.$y,M:_+1,MM:$.s(_+1,2,"0"),MMM:Z(m.monthsShort,_,F,3),MMMM:Z(F,_),D:this.$D,DD:$.s(this.$D,2,"0"),d:String(this.$W),dd:Z(m.weekdaysMin,this.$W,H,2),ddd:Z(m.weekdaysShort,this.$W,H,3),dddd:H[this.$W],H:String(k),HH:$.s(k,2,"0"),h:xe(1),hh:xe(2),a:ge(k,q,!0),A:ge(k,q,!1),m:String(q),mm:$.s(q,2,"0"),s:String(this.$s),ss:$.s(this.$s,2,"0"),SSS:$.s(this.$ms,3,"0"),Z:R};return N.replace(S,function(G,Q){return Q||ae[G]||R.replace(":","")})},I.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},I.diff=function(d,V,m){var N,R=$.p(V),k=E(d),q=(k.utcOffset()-this.utcOffset())*n,_=this-k,H=$.m(this,k);return H=(N={},N[D]=H/12,N[f]=H,N[A]=H/3,N[h]=(_-q)/6048e5,N[i]=(_-q)/864e5,N[c]=_/a,N[s]=_/n,N[u]=_/r,N)[R]||_,m?H:$.a(H)},I.daysInMonth=function(){return this.endOf(f).$D},I.$locale=function(){return x[this.$L]},I.locale=function(d,V){if(!d)return this.$L;var m=this.clone(),N=g(d,V,!0);return N&&(m.$L=N),m},I.clone=function(){return $.w(this.$d,this)},I.toDate=function(){return new Date(this.valueOf())},I.toJSON=function(){return this.isValid()?this.toISOString():null},I.toISOString=function(){return this.$d.toISOString()},I.toString=function(){return this.$d.toUTCString()},M}(),L=B.prototype;return E.prototype=L,[["$ms",o],["$s",u],["$m",s],["$H",c],["$W",i],["$M",f],["$y",D],["$D",y]].forEach(function(M){L[M[1]]=function(I){return this.$g(I,M[0],M[1])}}),E.extend=function(M,I){return M.$i||(M(I,B,E),M.$i=!0),E},E.locale=g,E.isDayjs=C,E.unix=function(M){return E(1e3*M)},E.en=x[w],E.Ls=x,E.p={},E})})(Kn);const we=Kn.exports;var Fn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(he,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/,o=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,s={},c=function(p){return(p=+p)+(p>68?1900:2e3)},i=function(p){return function(v){this[p]=+v}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(p){(this.zone||(this.zone={})).offset=function(v){if(!v||v==="Z")return 0;var S=v.match(/([+-]|\d\d)/g),T=60*S[1]+(+S[2]||0);return T===0?0:S[0]==="+"?-T:T}(p)}],f=function(p){var v=s[p];return v&&(v.indexOf?v:v.s.concat(v.f))},A=function(p,v){var S,T=s.meridiem;if(T){for(var P=1;P<=24;P+=1)if(p.indexOf(T(P,0,v))>-1){S=P>12;break}}else S=p===(v?"pm":"PM");return S},D={A:[u,function(p){this.afternoon=A(p,!1)}],a:[u,function(p){this.afternoon=A(p,!0)}],S:[/\d/,function(p){this.milliseconds=100*+p}],SS:[a,function(p){this.milliseconds=10*+p}],SSS:[/\d{3}/,function(p){this.milliseconds=+p}],s:[o,i("seconds")],ss:[o,i("seconds")],m:[o,i("minutes")],mm:[o,i("minutes")],H:[o,i("hours")],h:[o,i("hours")],HH:[o,i("hours")],hh:[o,i("hours")],D:[o,i("day")],DD:[a,i("day")],Do:[u,function(p){var v=s.ordinal,S=p.match(/\d+/);if(this.day=S[0],v)for(var T=1;T<=31;T+=1)v(T).replace(/\[|\]/g,"")===p&&(this.day=T)}],M:[o,i("month")],MM:[a,i("month")],MMM:[u,function(p){var v=f("months"),S=(f("monthsShort")||v.map(function(T){return T.slice(0,3)})).indexOf(p)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[u,function(p){var v=f("months").indexOf(p)+1;if(v<1)throw new Error;this.month=v%12||v}],Y:[/[+-]?\d+/,i("year")],YY:[a,function(p){this.year=c(p)}],YYYY:[/\d{4}/,i("year")],Z:h,ZZ:h};function y(p){var v,S;v=p,S=s&&s.formats;for(var T=(p=v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(E,$,B){var L=B&&B.toUpperCase();return $||S[B]||r[B]||S[L].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,I,d){return I||d.slice(1)})})).match(n),P=T.length,O=0;O<P;O+=1){var w=T[O],x=D[w],C=x&&x[0],g=x&&x[1];T[O]=g?{regex:C,parser:g}:w.replace(/^\[|\]$/g,"")}return function(E){for(var $={},B=0,L=0;B<P;B+=1){var M=T[B];if(typeof M=="string")L+=M.length;else{var I=M.regex,d=M.parser,V=E.slice(L),m=I.exec(V)[0];d.call($,m),E=E.replace(m,"")}}return function(N){var R=N.afternoon;if(R!==void 0){var k=N.hours;R?k<12&&(N.hours+=12):k===12&&(N.hours=0),delete N.afternoon}}($),$}}return function(p,v,S){S.p.customParseFormat=!0,p&&p.parseTwoDigitYear&&(c=p.parseTwoDigitYear);var T=v.prototype,P=T.parse;T.parse=function(O){var w=O.date,x=O.utc,C=O.args;this.$u=x;var g=C[1];if(typeof g=="string"){var E=C[2]===!0,$=C[3]===!0,B=E||$,L=C[2];$&&(L=C[2]),s=this.$locale(),!E&&L&&(s=S.Ls[L]),this.$d=function(V,m,N){try{if(["x","X"].indexOf(m)>-1)return new Date((m==="X"?1e3:1)*V);var R=y(m)(V),k=R.year,q=R.month,_=R.day,H=R.hours,F=R.minutes,Z=R.seconds,xe=R.milliseconds,ge=R.zone,ae=new Date,G=_||(k||q?1:ae.getDate()),Q=k||ae.getFullYear(),me=0;k&&!q||(me=q>0?q-1:ae.getMonth());var pe=H||0,st=F||0,it=Z||0,ut=xe||0;return ge?new Date(Date.UTC(Q,me,G,pe,st,it,ut+60*ge.offset*1e3)):N?new Date(Date.UTC(Q,me,G,pe,st,it,ut)):new Date(Q,me,G,pe,st,it,ut)}catch{return new Date("")}}(w,g,x),this.init(),L&&L!==!0&&(this.$L=this.locale(L).$L),B&&w!=this.format(g)&&(this.$d=new Date("")),s={}}else if(g instanceof Array)for(var M=g.length,I=1;I<=M;I+=1){C[1]=g[I-1];var d=S.apply(this,C);if(d.isValid()){this.$d=d.$d,this.$L=d.$L,this.init();break}I===M&&(this.$d=new Date(""))}else P.call(this,O)}}})})(Fn);const Fl=Fn.exports;var zn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(he,function(){return function(r,n,a){var o=n.prototype,u=o.format;a.en.ordinal=function(s){var c=["th","st","nd","rd"],i=s%100;return"["+s+(c[(i-20)%10]||c[i]||c[0])+"]"},o.format=function(s){var c=this,i=this.$locale();if(!this.isValid())return u.bind(this)(s);var h=this.$utils(),f=(s||"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(A){switch(A){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return i.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return i.ordinal(c.week(),"W");case"w":case"ww":return h.s(c.week(),A==="w"?1:2,"0");case"W":case"WW":return h.s(c.isoWeek(),A==="W"?1:2,"0");case"k":case"kk":return h.s(String(c.$H===0?24:c.$H),A==="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 A}});return u.bind(this)(f)}}})})(zn);const zl=zn.exports;var Wn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(he,function(){return function(r,n,a){var o=n.prototype,u=function(f){return f&&(f.indexOf?f:f.s)},s=function(f,A,D,y,p){var v=f.name?f:f.$locale(),S=u(v[A]),T=u(v[D]),P=S||T.map(function(w){return w.slice(0,y)});if(!p)return P;var O=v.weekStart;return P.map(function(w,x){return P[(x+(O||0))%7]})},c=function(){return a.Ls[a.locale()]},i=function(f,A){return f.formats[A]||function(D){return D.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(y,p,v){return p||v.slice(1)})}(f.formats[A.toUpperCase()])},h=function(){var f=this;return{months:function(A){return A?A.format("MMMM"):s(f,"months")},monthsShort:function(A){return A?A.format("MMM"):s(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(A){return A?A.format("dddd"):s(f,"weekdays")},weekdaysMin:function(A){return A?A.format("dd"):s(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(A){return A?A.format("ddd"):s(f,"weekdaysShort","weekdays",3)},longDateFormat:function(A){return i(f.$locale(),A)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return h.bind(this)()},a.localeData=function(){var f=c();return{firstDayOfWeek:function(){return f.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(A){return i(f,A)},meridiem:f.meridiem,ordinal:f.ordinal}},a.months=function(){return s(c(),"months")},a.monthsShort=function(){return s(c(),"monthsShort","months",3)},a.weekdays=function(f){return s(c(),"weekdays",null,null,f)},a.weekdaysShort=function(f){return s(c(),"weekdaysShort","weekdays",3,f)},a.weekdaysMin=function(f){return s(c(),"weekdaysMin","weekdays",2,f)}}})})(Wn);const Wl=Wn.exports;var Gn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(he,function(){var r="week",n="year";return function(a,o,u){var s=o.prototype;s.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var i=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=u(this).startOf(n).add(1,n).date(i),f=u(this).endOf(r);if(h.isBefore(f))return 1}var A=u(this).startOf(n).date(i).startOf(r).subtract(1,"millisecond"),D=this.diff(A,r,!0);return D<0?u(this).startOf("week").week():Math.ceil(D)},s.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(Gn);const Gl=Gn.exports;var Yn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(he,function(){return function(r,n){n.prototype.weekYear=function(){var a=this.month(),o=this.week(),u=this.year();return o===1&&a===11?u+1:a===0&&o>=52?u-1:u}}})})(Yn);const Yl=Yn.exports;var Un={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(he,function(){return function(r,n,a){n.prototype.dayOfYear=function(o){var u=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return o==null?u:this.add(o-u,"day")}}})})(Un);const Ul=Un.exports;var Zn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(he,function(){return function(r,n){n.prototype.isSameOrAfter=function(a,o){return this.isSame(a,o)||this.isAfter(a,o)}}})})(Zn);const Zl=Zn.exports;var Xn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(he,function(){return function(r,n){n.prototype.isSameOrBefore=function(a,o){return this.isSame(a,o)||this.isBefore(a,o)}}})})(Xn);const Xl=Xn.exports;we.extend(Wl);we.extend(zl);we.extend(Fl);we.extend(Gl);we.extend(Yl);we.extend(Ul);we.extend(Zl);we.extend(Xl);const Jl=[dn,hn,gn,mn,yn,re,wn,xn,ot,Sn,An,Pn,On,Vn,In,Rn,Dn,qn,jn,Hn,Qe,Ot],Ql=new Rr(Jl,[kr],"4.0.0");Object.defineProperty(exports,"clone",{enumerable:!0,get:()=>j.clone});Object.defineProperty(exports,"extend",{enumerable:!0,get:()=>j.extend});Object.defineProperty(exports,"isArray",{enumerable:!0,get:()=>j.isArray});Object.defineProperty(exports,"isDate",{enumerable:!0,get:()=>j.isDate});Object.defineProperty(exports,"isESModule",{enumerable:!0,get:()=>j.isESModule});Object.defineProperty(exports,"isEqual",{enumerable:!0,get:()=>j.isEqual});Object.defineProperty(exports,"isFunction",{enumerable:!0,get:()=>j.isFunction});Object.defineProperty(exports,"isMap",{enumerable:!0,get:()=>j.isMap});Object.defineProperty(exports,"isObject",{enumerable:!0,get:()=>j.isObject});Object.defineProperty(exports,"isPlainObject",{enumerable:!0,get:()=>j.isPlainObject});Object.defineProperty(exports,"isPromise",{enumerable:!0,get:()=>j.isPromise});Object.defineProperty(exports,"isSet",{enumerable:!0,get:()=>j.isSet});Object.defineProperty(exports,"isString",{enumerable:!0,get:()=>j.isString});Object.defineProperty(exports,"isSymbol",{enumerable:!0,get:()=>j.isSymbol});Object.defineProperty(exports,"toBoolean",{enumerable:!0,get:()=>j.toBoolean});Object.defineProperty(exports,"toNumber",{enumerable:!0,get:()=>j.toNumber});Object.defineProperty(exports,"toTypeString",{enumerable:!0,get:()=>j.toTypeString});exports.Broadcast=St;exports.BroadcastKey=Y;exports.CascaderItem=jn;exports.CheckboxItem=qn;exports.Content=mn;exports.DateItem=Pn;exports.DialogItem=Hn;exports.Domain=At;exports.DomainKey=ye;exports.FooterBar=gn;exports.Group=yn;exports.HeaderBar=hn;exports.HintText=ot;exports.InputItem=Sn;exports.Item=re;exports.Mapping=Ot;exports.Page=dn;exports.Price=Qe;exports.PriorityPolicy=Ue;exports.RadioItem=Dn;exports.RowItem=xn;exports.SelectItem=An;exports.SlotItem=wn;exports.TableItem=Rn;exports.TableMappingColumn=In;exports.TimeItem=On;exports.TimeSelectItem=Vn;exports.UniqueID=bn;exports.ValidateSchema=an;exports.ValidateSchemaKey=ue;exports.clearNonNumber=cr;exports.compareTo=rr;exports.createBroadcast=Et;exports.createValidateSchema=Ct;exports.debounce=Er;exports.decimalLength=ur;exports.default=Ql;exports.defineBroadcast=mr;exports.defineDomain=Pt;exports.defineItem=ne;exports.definePageState=ln;exports.deleteGlobalValidator=br;exports.disabledProperty=de;exports.divide=nr;exports.excludeProps=oe;exports.floatData=gr;exports.getGlobalValidateCheckEvents=tn;exports.getGlobalValidateResetEvents=rn;exports.getPageContentAreaHeight=Ge;exports.getPageContentAreaWidth=Ye;exports.getPageFooterAreaHeight=nt;exports.getPageHeaderAreaHeight=tt;exports.getRootDomain=_e;exports.includeProps=hr;exports.indexOf=fr;exports.integerLength=ir;exports.isBrowser=Ke;exports.isEmptyString=ce;exports.isInnerPage=Nr;exports.isNumberString=sr;exports.isRegExp=Xt;exports.isSubPage=Ar;exports.lastIndexOf=dr;exports.multiply=tr;exports.negate=ar;exports.numberFormat=Zt;exports.property=je;exports.raf=or;exports.readonlyProperty=fe;exports.setGlobalValidateCheckEvents=$r;exports.setGlobalValidateHandler=yr;exports.setGlobalValidateMessages=xr;exports.setGlobalValidateResetEvents=wr;exports.setGlobalValidator=vr;exports.throttle=Nt;exports.toPadding=le;exports.toPx=U;exports.toPxDesc=ee;exports.toValue=J;exports.unNumberFormat=lr;exports.updatePageState=vt;exports.useBroadcast=Be;exports.useDomain=$e;exports.useExpose=ie;exports.usePageState=et;exports.usePosition=$n;exports.useRect=Je;exports.valueLength=Jt;
5
+ */function We(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]=Nt(ee(e),ee(t)),r==1&&(n==1?e=mt(e):t=mt(t));let l=cn(e,t);return r?r==2?"-"+ee(l):e.length<l.length?ee(l.substring(1)):"-"+ee(mt(l)):ee(l)}function mt(e){let t="",r=e.length,n=e.split(".")[1],l=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=l>0?"0."+new Array(l).join("0")+"1":"1";return cn(t,o)}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 Nt(e,t){let r=e.split("."),n=t.split("."),l=r[0].length,o=n[0].length;return l>o?n[0]=new Array(Math.abs(l-o)+1).join("0")+(n[0]?n[0]:""):r[0]=new Array(Math.abs(l-o)+1).join("0")+(r[0]?r[0]:""),l=r[1]?r[1].length:0,o=n[1]?n[1].length:0,(l||o)&&(l>o?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(l-o)+1).join("0"):r[1]=(r[1]?r[1]:"")+new Array(Math.abs(l-o)+1).join("0")),e=r[0]+(r[1]?"."+r[1]:""),t=n[0]+(n[1]?"."+n[1]:""),[e,t]}function cn(e,t){[e,t]=Nt(e,t);let r="",n=0;for(let l=e.length-1;l>=0;l--){if(e[l]==="."){r="."+r;continue}let o=parseInt(e[l])+parseInt(t[l])+n;r=o%10+r,n=Math.floor(o/10)}return n?n.toString()+r:r}var Y=(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))(Y||{});function Le(e,t=0,r=Y.HALF_EVEN){if(r===Y.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 l=e.split("."),o=l[0],u=l[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=Le(e,0,r),(n?"-":"")+c+new Array(t+1).join("0")}}if(t==0)return o.length,Ft(l[1],o,n,r)?(n?"-":"")+gt(o):(n?"-":"")+o;if(l[1]){if(l[1].length<t)return(n?"-":"")+o+"."+l[1]+new Array(t-l[1].length+1).join("0")}else return(n?"-":"")+o+"."+new Array(t+1).join("0");u=l[1].substring(0,t);let s=l[1].substring(t);return s&&Ft(s,u,n,r)&&(u=gt(u),u.length>t)?(n?"-":"")+gt(o,parseInt(u[0]))+"."+u.substring(1):(n?"-":"")+o+"."+u}function Ft(e,t,r,n){if(!e||e===new Array(e.length+1).join("0")||n===Y.DOWN||!r&&n===Y.FLOOR||r&&n===Y.CEILING)return!1;if(n===Y.UP||r&&n===Y.FLOOR||!r&&n===Y.CEILING)return!0;let l="5"+new Array(e.length).join("0");if(e>l)return!0;if(e<l)return!1;switch(n){case Y.HALF_DOWN:return!1;case Y.HALF_UP:return!0;case Y.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 l=r;l>=0;l--){let o=parseInt(e[l])+t;o==10?(t=1,o=0):t=0,n+=o}return t&&(n+=t),n.split("").reverse().join("")}function vt(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=Fe(e),t=Fe(t);let n=0,l=0;e.indexOf(".")!=-1&&(n=e.length-e.indexOf(".")-1),t.indexOf(".")!=-1&&(l=t.length-t.indexOf(".")-1);let o=n+l;if(e=Fe(e.replace(".","")),t=Fe(t.replace(".","")),e.length<t.length){let h=e;e=t,t=h}if(t=="0")return"0";let u=t.length,s=0,c=[],i=u-1,d="";for(let h=0;h<u;h++)c[h]=e.length-1;for(let h=0;h<2*e.length;h++){let b=0;for(let j=t.length-1;j>=i&&j>=0;j--)c[j]>-1&&c[j]<e.length&&(b+=parseInt(e[c[j]--])*parseInt(t[j]));b+=s,s=Math.floor(b/10),d=b%10+d,i--}return d=Fe(wr(d,o)),r==1&&(d="-"+d),d}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 Fe(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 xt(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 l=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(t=ee(t.replace(".","")),l>=0){let i=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(i==-1)e=ee(e+new Array(l+1).join("0"));else if(l>i)e=e.replace(".",""),e=ee(e+new Array(l-i+1).join("0"));else if(l<i){e=e.replace(".","");let d=e.length-i+l;e=ee(e.substring(0,d)+"."+e.substring(d))}else l==i&&(e=ee(e.replace(".","")))}let o=0,u=t.length,s="",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 i=c.length-c.indexOf(".")-1;c=c.replace(".",""),u>c.length&&(i+=u-c.length,c=c+new Array(u-c.length+1).join("0")),o=i,s="0."+new Array(i).join("0")}for(r=r+2;o<=r;){let i=0;for(;parseInt(c)>=parseInt(t);)c=We(c,"-"+t),i++;s+=i,e?(e[0]=="."&&(s+=".",o++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(o||(s+="."),o++,c=c+"0")}return(n==1?"-":"")+ee(Le(s,r-2))}function wt(e,t){return e=e.toString(),t=t.toString(),t=$t(t),We(e,t)}function $t(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function kt(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),qt(e),qt(t);let r="";e[0]=="-"&&(r="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let n=wt(e,vt(t,Le(xt(e,t),0,Y.FLOOR)));return r+n}function qt(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Bt(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]=Nt(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 H{value;static RoundingModes=Y;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 l="";r[0]=="-"&&(l="-",r=r.substring(1)),r.indexOf(".")>=0?(n=parseInt(n)+r.indexOf("."),r=r.replace(".","")):n=parseInt(n)+r.length,r.length<n?t=l+r+new Array(n-r.length+1).join("0"):r.length>=n&&n>0?t=l+ee(r.substring(0,n))+(r.length>n?"."+r.substring(n):""):t=l+"0."+new Array(-n+1).join("0")+r}return t}constructor(t="0"){this.value=H.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=H.validate(t);let l=t.charAt(0)=="-";l&&(t=t.substring(1));var o=t.indexOf(".");o=o>0?o:t.length;for(var u="",s=o;s>0;)s<r?(r=s,s=0):s-=r,u=t.substring(s,s+r)+(s<o-r&&s>=0?n:"")+u;return(l?"-":"")+u+t.substring(o)}getPrettyValue(t,r){return H.getPrettyValue(this.value,t,r)}static round(t,r=0,n=Y.HALF_EVEN){if(t=H.validate(t),isNaN(r))throw Error("Precision is not a number: "+r);return Le(t,r,n)}round(t=0,r=Y.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new H(Le(this.value,t,r))}static floor(t){return t=H.validate(t),t.indexOf(".")===-1?t:H.round(t,0,Y.FLOOR)}floor(){return this.value.indexOf(".")===-1?new H(this.value):new H(this.value).round(0,Y.FLOOR)}static ceil(t){return t=H.validate(t),t.indexOf(".")===-1?t:H.round(t,0,Y.CEILING)}ceil(){return this.value.indexOf(".")===-1?new H(this.value):new H(this.value).round(0,Y.CEILING)}static add(t,r){return t=H.validate(t),r=H.validate(r),We(t,r)}add(t){return new H(We(this.value,t.getValue()))}static subtract(t,r){return t=H.validate(t),r=H.validate(r),wt(t,r)}subtract(t){return new H(wt(this.value,t.getValue()))}static multiply(t,r){return t=H.validate(t),r=H.validate(r),vt(t,r)}multiply(t){return new H(vt(this.value,t.getValue()))}static divide(t,r,n){return t=H.validate(t),r=H.validate(r),xt(t,r,n)}divide(t,r){return new H(xt(this.value,t.getValue(),r))}static modulus(t,r){return t=H.validate(t),r=H.validate(r),kt(t,r)}modulus(t){return new H(kt(this.value,t.getValue()))}static compareTo(t,r){return t=H.validate(t),r=H.validate(r),Bt(t,r)}compareTo(t){return Bt(this.value,t.getValue())}static negate(t){return t=H.validate(t),$t(t)}negate(){return new H($t(this.value))}}function fn(e,t){return H.multiply(`${e}`,`${t}`)}function Tt(e,t,r=8){return H.divide(`${e}`,`${t}`,r)}function St(e,t){return e=`${e}`,t=`${t}`,H.compareTo(e,t)}function dn(e){return H.negate(e)}function At(e,t=-1,r=!1,n=3,l=","){let o=`${e}`;if(o.length==0||o==="-")return"";let u=o.charAt(0);u=="-"?o=o.substring(1):u="";let s=o,c="",i=o.indexOf(".");i!=-1&&(s=o.substring(0,i),c=o.substring(i+1)),t!=-1&&(t<c.length?c=c.substring(0,t):r&&t>c.length&&(c=c.padEnd(t,"0")));let d;if(n>0){let h="",b=s.split("").reverse();for(let j=0;j<b.length;j++)h+=b[j]+((j+1)%n==0&&j+1!=b.length?l:"");c.length==0?d=`${u}${h.split("").reverse().join("")}`:d=`${u}${h.split("").reverse().join("")}.${c}`}else c.length==0?d=`${u}${s}`:d=`${u}${s}.${c}`;return d}function hn(e){let t=`${e}`,r=t.charAt(0);r=="-"?t=t.substring(1):r="";let n=t.replace(/[^\d\.-]/g,"");return`${r}${n}`}const Ke=typeof window<"u",$r=Ke&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function mn(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const Z=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function gn(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 pn(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 yn(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 Sr(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 Er(e,t){return typeof e=="object"||Array.isArray(e)?t.findIndex(r=>{if(_.isEqual(e,r))return!0}):t.indexOf(e)}function Pr(e,t){if(typeof e=="object"||Array.isArray(e)){let r=t.reverse().findIndex(n=>{if(_.isEqual(e,n))return!0});return r!==-1&&(r=t.length-1-r),r}return t.lastIndexOf(e)}function tt(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function Or(e,...t){const r={};return t.forEach(n=>{for(const l in n)r[l]=e[l]}),r}function ae(e,...t){const r=[];t.forEach(l=>{Reflect.apply([].push,r,Reflect.ownKeys(l))});const n={};for(const l in e)r.includes(l)||(n[l]=e[l]);return n}const Cr=(e,t,r)=>{const n=Object.assign({},e),l=Object.assign({},r);return Object.keys(t).length>0?(Object.keys(n).forEach(o=>{l.hasOwnProperty(o)?(typeof l[o]=="function"&&(n[o]=l[o](t)),typeof l[o]=="string"&&(n[o]=t[l[o]])):t[o]&&(n[o]=t[o])}),n):e},X=Symbol("BroadcastKey");class It{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 l=!1;!t.name||t.name==="*"?l=!0:!t.name||t.name==="+"?(l=!1,t.name="*"):mn(t.name)&&this.name&&t.name.test(this.name)?l=!0:typeof t.name=="function"?l=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(l=!0);const o=[];if(l){const u=this.callbacks.get(r);if(typeof u=="function"){const c=Reflect.apply(u,this.proxy,[...n]);c!=null&&o.push(c)}const s=this.proxy??{};if(typeof s[r]=="function"){const c=Reflect.apply(s[r],s,[...n]);c!=null&&o.push(c)}}return this.children.forEach(u=>{const s=Reflect.apply(u.emit,u,[{...t},r,...n]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,o,[...s])}),o}emitToChildren(t,r,...n){const l=[];return this.children.forEach(o=>{const u=Reflect.apply(o.emit,o,[{...t},r,...n]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,l,[...u])}),l}on(t,r){this.callbacks.set(t,r)}}function nt(e,t,r,n){const l=new It(t,e,r);if(n&&typeof n=="object")for(const o in n)l.on(o,n[o]);return l}function Vr(e,t,r){const n=r;if(n[X])return n[X];const l=a.inject(X,null),o=new It(l,r,e);if(t&&typeof t=="object")for(const u in t)o.on(u,t[u]);return n[X]=o,a.provide(X,o),a.onUnmounted(()=>{o.destroy(),n[X]=void 0}),o}function Be(e=null){return e||(e=a.getCurrentInstance()?.proxy??null),e?e[X]??a.inject(X,null):a.inject(X,null)}class Nr{error(t,r){const n=r,l=Be(r);l?l.emit({name:"*"},"setErrorTip",t):typeof n.setErrorTip=="function"&&n.setErrorTip(t)}reset(t){const r=t,n=Be(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}success(t){const r=t,n=Be(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}decorate(t,r,n){Array.isArray(t)||(t=[t]);const l=n,o=Be(n),u=r.find(c=>c.required===!0||c.type==="required"&&c.required!==!1),s=t.find(c=>c.required===!0||c.type==="required"&&c.required!==!1);!u&&s?o?o.emit({name:"*"},"setRequired",!0):typeof l.setRequired=="function"&&l.setRequired(!0):u&&!s&&(o?o.emit({name:"*"},"setRequired",!1):typeof l.setRequired=="function"&&l.setRequired(!1),this.reset(n))}getValue(t){return t.modelValue}}let bn=new Nr;function Tr(e){bn=e}function Ar(e,t){Ee.default.setValidator(e,t)}function Ir(e){Ee.default.deleteValidator(e)}let vn=["blur","clear"];function Rr(e){vn=e}function xn(){return vn}let wn=["focus","change"];function jr(e){wn=e}function $n(){return wn}function Mr(e){Ee.default.messages(e)}function ke(...e){const t=[];return e.forEach(r=>{r.forEach(n=>{const l=t.findIndex(o=>o.type===n.type);l!==-1&&t.splice(l,1),t.push(n)})}),t}function ze(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 me=Symbol("ValidateSchemaKey");class Sn{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=a.effectScope(),this.scope.run(()=>{a.watchEffect(()=>{const r=ze(ke(this.attrRules,this.rules)),n=[];for(let o in t){let u=t[o];if(this.hasValidator(o,!0)){if(u===!1)continue;let c={type:o};u!==null&&typeof u=="object"&&Object.assign(c,u),n.push(c);continue}let s=this.getValidator(o);if(s!==null){let c={type:o,validator:s};n.push(c)}}this.attrRules=ze(n);const l=ke(this.attrRules,this.rules);a.nextTick(()=>{this.decorate(l,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 l=bn;return l&&typeof l[t]=="function"?Reflect.apply(l[t],l,[...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?Ee.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?Ee.default.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,r=!1){if(r)return Ee.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=ke(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=ze(t):this.rules=ze([t]);const n=ke(this.attrRules,this.rules);a.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=ke(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(r.length>0){const l={[`${n}`]:r},o=this.getValue(),u={[`${n}`]:o},s=new Ee.default(l),c=this.proxy??u;return s.validate(u,{context:c}).then(d=>{if(d.pass)this.success();else{let h="error";Array.isArray(d.errors)&&d.errors.length>0&&(h=d.errors[0].message??h,d.errors=[d.errors[0]],d.errors[0].ref=c),this.error(h)}return d}).catch(d=>{const h=d.message??`${d}`;return this.error(h),d})}}return Promise.resolve({pass:!0})}}function rt(e,t,r){if(r.valueName=r.valueName??"modelValue",r.valueType=r.valueType??"string",!r.validateHandler&&r.valueName!=="modelValue"){const l=r.valueName;r.validateHandler={getValue(o){return o[l]}}}return new Sn(t,r,e)}const Lt=Symbol("EventEmitterKey");class Dr{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 l=n.findIndex(o=>o===r);l!==-1&&n.splice(l,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(l=>{try{Reflect.apply(l,null,[t,...r])}catch(o){console.error(o.message,o)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...r])}}function Fr(e,t){let r=0;return function(...n){const l=Date.now();l-r>t&&(Reflect.apply(e,{},[...n]),r=l)}}function Rt(e,t){let r,n=null;return function(...l){n=l,r||(r=setTimeout(()=>{r=null,Reflect.apply(e,{},[...n??[]])},t))}}const ve=Symbol("DomainKey"),Ne=Symbol("DataItemsKey");class jt{_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 l=t[n];r.length>0&&r.indexOf(l)!==-1||(this._props[n]=l)}}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 l=n._props[t];r.push(l)}n=n._parent}return r}}const kr=new jt;function _e(){return kr}function $e(e=null){e||(e=a.getCurrentInstance());const t=e?.proxy;return t?t[ve]??a.inject(ve,null):a.inject(ve,null)}const pt=Symbol("OriginalDateKey");function Mt(e,t,r=[],n){const l=a.getCurrentInstance(),o=l?.proxy;let u=a.inject(ve,null);u===null&&(u=_e());const s=e||t.prop||t.name,c=new jt(s);c.parent=u;const i=N=>{if(!o[pt]){const E={};_.extend(!0,E,a.toRaw(t.modelValue)),o[pt]=E}c.set("modelValue",N)},d=()=>c.getForSelf("modelValue")??null,h=()=>o[pt]??null;a.isReactive(t)?a.watchEffect(()=>{c.merge(t,r)}):c.merge(t,r),o[ve]=c,a.provide(ve,c);let b=null,j=null;if(l!==null){const N=a.inject(X,null);b=nt(o,N,s,n),c.broadcast=b,o[X]=b,a.provide(X,b),o.broadcast=(y,T,...R)=>Reflect.apply(b.emit,b,[y,T,...R]);const E=a.inject(me,null);j=rt(o,E,{componentName:""}),c.validateSchema=j,o[me]=j,a.provide(me,j),o[Ne]=new Map,o.validate=(y=!0)=>{const T=[];let R=null;if(y===!0)R={name:"*"};else if(Array.isArray(y)&&y.length>0){const x=y;R={name:p=>p?x.indexOf(p)!==-1:!1}}else if(y!=null&&typeof y=="object"){const x=y;if(Array.isArray(x.include)&&x.include.length>0){const p=x.include;R={name:v=>v?p.indexOf(v)!==-1:!1}}else if(Array.isArray(x.exclude)&&x.exclude.length>0){const p=x.exclude;R={name:v=>v?p.indexOf(v)===-1:!1}}}if(R){const x=b?.emitToChildren(R,"validate",!1);x&&Reflect.apply([].push,T,x)}return T.length==1?T[0]:T.length>1?Promise.all(T).then(x=>{let p=[];return x.forEach(v=>{v.pass===!1&&Array.isArray(v.errors)&&(p=[...p,...v.errors])}),p.length>0?{pass:!1,errors:p}:{pass:!0}}):Promise.resolve({pass:!0})},o.setNameValidateRules=(y,T=!0)=>{if(T){const R=Reflect.ownKeys(y),x=[...R],p={name:v=>{const w=R.includes(v);if(w){const A=x.findIndex(C=>v===C);A!==-1&&x.splice(A,1)}return w}};b?.emitToChildren(p,"setNameValidateRules",y,!1),x.length>0&&x.forEach(v=>{let w=String(v);const C=En(c,w,{componentName:"",fieldName:w,pureDataValidate:!0},b,j);o[Ne].set(w,C);const P=y[w];P&&C.validateSchema.setRule(P)})}},o.clearValidate=(y=!0)=>{let T=null;if(y===!0)T={name:"*"};else if(Array.isArray(y)&&y.length>0){const R=y;T={name:x=>x?R.indexOf(x)!==-1:!1}}else if(y!=null&&typeof y=="object"){const R=y;if(Array.isArray(R.include)&&R.include.length>0){const x=R.include;T={name:p=>p?x.indexOf(p)!==-1:!1}}else if(Array.isArray(R.exclude)&&R.exclude.length>0){const x=R.exclude;T={name:p=>p?x.indexOf(p)===-1:!1}}}T&&b?.emitToChildren(T,"clearValidate",!1)},o.resetFields=y=>{const T=d();if(!T)return;const R={};if(_.extend(!0,R,h()??{}),Array.isArray(y))y.forEach(x=>{T[x]=R[x]});else if(y&&Array.isArray(y.include))(y.include??[]).forEach(p=>{T[p]=R[p]});else if(y&&Array.isArray(y.exclude)){let x=y.exclude??[];Reflect.ownKeys(R).forEach(p=>{x.includes(p)||(T[p]=R[p])})}else Object.assign(T,R);o.clearValidate(y)},o.setModelValue=(y,T)=>{!T||T===s?i(y):b?.emitToChildren({name:T},"setModelValue",y)},o.getModelValue=()=>d()}return a.onUnmounted(()=>{c.destroy(),o[ve]=void 0,o[Ne]&&(o[Ne].clear(),o[Ne]=void 0),b!==null&&(b.destroy(),o[X]=void 0),j!==null&&(j.destroy(),o[me]=void 0)}),c}function re(e,t,r){const l=a.getCurrentInstance()?.proxy,o=t??"",u=a.inject(X,null),s=nt(l,u,o,r);l[X]=s,a.provide(X,s),l.broadcast=(N,E,...y)=>Reflect.apply(s.emit,s,[N,E,...y]);const c=a.inject(me,null);e.fieldName=e.fieldName??o;const i=rt(l,c,e);l[me]=i,a.provide(me,i),l.validate=(N=null)=>{const E=[];if(!Array.isArray(N)||N.indexOf(o)!==-1){const T=i?.validate();E.push(T)}let y=null;if(N===!0)y={name:"*"};else if(Array.isArray(N)&&N.length>0){const T=N;y={name:R=>R?T.indexOf(R)!==-1:!1}}else if(N!=null&&typeof N=="object"){const T=N;if(Array.isArray(T.include)&&T.include.length>0){const R=T.include;y={name:x=>x?R.indexOf(x)!==-1:!1}}else if(Array.isArray(T.exclude)&&T.exclude.length>0){const R=T.exclude;y={name:x=>x?R.indexOf(x)===-1:!1}}}if(y){const T=s.emitToChildren(y,"validate",!1);Reflect.apply([].push,E,T)}return E.length==1?E[0]:E.length>1?Promise.all(E).then(T=>{let R=[];return T.forEach(x=>{x.pass===!1&&Array.isArray(x.errors)&&(R=[...R,...x.errors])}),R.length>0?{pass:!1,errors:R}:{pass:!0}}):Promise.resolve({pass:!0})},l.setValidateRule=N=>i?.setRule(N),l.setNameValidateRules=(N,E=!1)=>{const y=N[o];if(y&&i?.setRule(y),E){const T={name:R=>Reflect.ownKeys(N).includes(R)};s.emitToChildren(T,"setNameValidateRules",N,!1)}},l.clearValidate=(N=null)=>{(!Array.isArray(N)||N.indexOf(t??"")!==-1)&&i?.clear();let E=null;if(N===!0)E={name:"*"};else if(Array.isArray(N)&&N.length>0){const y=N;E={name:T=>T?y.indexOf(T)!==-1:!1}}else if(N!=null&&typeof N=="object"){const y=N;if(Array.isArray(y.include)&&y.include.length>0){const T=y.include;E={name:R=>R?T.indexOf(R)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const T=y.exclude;E={name:R=>R?T.indexOf(R)===-1:!1}}}E&&s.emitToChildren(E,"clearValidate",!1)};const d=new Dr(l);l[Lt]=d;const h=Rt((N="validate")=>{N==="reset"?i.clear():i.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:xn()).forEach(N=>{d.on(N,E=>{h("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:$n()).forEach(N=>{d.on(N,E=>{h("reset")})}),a.onUnmounted(()=>{s.destroy(),l[X]=void 0,i.destroy(),l[me]=void 0,d.destroy(),l[Lt]=void 0}),{broadcast:s,validateSchema:i,emitEvent:(N,...E)=>{Reflect.apply(d.emit,d,[N,...E])},onEvent:(N,E)=>{Reflect.apply(d.on,d,[E])},offEvent:(N,E)=>{Reflect.apply(d.off,d,[E])}}}function En(e,t,r,n,l){const o={},u=t??"";r.fieldName=u,r.validateHandler={getValue(i){const d=e.getForSelf("modelValue");return d?d[u]:null}};const s=rt({},l,r);o.validate=(i=null)=>{const d=[];if(!Array.isArray(i)||i.indexOf(u)!==-1){const b=s?.validate();d.push(b)}let h=null;if(i===!0)h={name:"*"};else if(Array.isArray(i)&&i.length>0){const b=i;h={name:j=>j?b.indexOf(j)!==-1:!1}}else if(i!=null&&typeof i=="object"){const b=i;if(Array.isArray(b.include)&&b.include.length>0){const j=b.include;h={name:N=>N?j.indexOf(N)!==-1:!1}}else if(Array.isArray(b.exclude)&&b.exclude.length>0){const j=b.exclude;h={name:N=>N?j.indexOf(N)===-1:!1}}}if(h){const b=c.emitToChildren(h,"validate",!1);Reflect.apply([].push,d,b)}return d.length==1?d[0]:d.length>1?Promise.all(d).then(b=>{let j=[];return b.forEach(N=>{N.pass===!1&&Array.isArray(N.errors)&&(j=[...j,...N.errors])}),j.length>0?{pass:!1,errors:j}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=i=>s?.setRule(i),o.setNameValidateRules=i=>{const d=i[u];d&&s?.setRule(d)};const c=nt(null,n,u,o);return{broadcast:c,validateSchema:s}}const Q=(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 l=Number(e.substring(0,r)),o=1;if(Ke){const{fontSize:u}=window.getComputedStyle(document.documentElement,null),s=u.indexOf("px");s>0&&(o=Number(u.substring(0,s)))}return l*=o,l}if(r=e.indexOf("%"),r!==-1)return Number(e.substring(0,r))*t;const n=Number(e);return isNaN(n)?0:n}const xe="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 Et(e,t,r={},n=!0,l=-1,o=-1,u=0,s=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,o)-J(u,o)-J(s,o),e.width=J(r.width??t.width,l))}function Pn(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},l=Object.assign(e.get("safeAreaInset")??{},t.safeAreaInset??{});l&&(n.safeAreaTop=J(l.top),n.safeAreaBottom=J(l.bottom),n.safeAreaLeft=J(l.left),n.safeAreaRight=J(l.right));const o=e.get("pageLayout");if(!o)return null;const u=e.get("rootWidth")??-1,s=e.get("rootHeight")??-1,c=e.get("headerBarHeight")??0,i=e.get("footerBarHeight")??0;Et(n,o,t,!0,u,s,c,i);const d=a.reactive(n),h=e.getForParent(xe);h&&(n.height=Ye(e,h),n.width=Ue(e,h),a.watch([()=>h.height,()=>h.width,()=>h.contentPadding,()=>h.headerMounted,()=>h.footerMounted],()=>{d.height=Ye(e,h),d.width=Ue(e,h)}));const b=!h;return a.watch([()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([j,N=-1,E=-1,y=0,T=0])=>{Et(d,j,t,b,N,E,y,T)}),e.set(xe,d),d}function lt(e){return e.get(xe)}function at(e,t){return t=t??e.get(xe),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function ot(e,t){return t=t??e.get(xe),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function Ye(e,t){if(t=t??e.get(xe),t){const r=at(e,t),n=ot(e,t);return t.height-r-n-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function Ue(e,t){return t=t??e.get(xe),t?t.width-(t.contentPadding.left??0)-(t.contentPadding.right??0):0}function qr(e,t){const r=e.get("isInnerPage");return typeof r=="function"?Reflect.apply(r,{},[t,e]):!1}function Br(e){return!!e.getForParent(xe)}var Ze=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(Ze||{});function yt(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function Re(e,t,r=1,n){const l=$e();return l==null?e:r===0?a.computed(()=>{const o=l.getAll(t);for(let s=o.length-1;s>=0;s--){const c=o[s];if(yt(c,n))return c}const u=e.value;return yt(u,n)?u:null}):a.computed(()=>{const o=e.value;return yt(o,n)?o:l?.get(t)})}function ue(e){return Re(e,"readonly",0,function(r){return _.toBoolean(r)})}function ce(e){return Re(e,"disabled",0,function(r){return _.toBoolean(r)})}function W(e,t="modelValue",r){const n=a.toRef(e,t);let l=n.value;typeof r=="function"&&(l=r(n.value));const o=a.ref(l);return a.watch(n,u=>{if(typeof r=="function"){const s=r(u);s!==o.value&&(o.value=s)}else u!==o.value&&(o.value=u)}),o}const On=new Map,Xe=new Map;let Pt=null;function _r(e){Pt=e}function Cn(e,t,r){if(r){let n=Xe.get(r);n||(n=new Map,Xe.set(r,n)),n.set(e,t)}else On.set(e,t)}function Ce(e,t,r){!r&&Pt&&(r=Pt(e)??void 0);let n=null;if(r){let l=Xe.get(r);l&&(n=l.get(t))}return n||(n=On.get(t)),n}function Lr(e,t){for(let r in e){const n=e[r];Cn(r,n,t)}}function Hr(e){Xe.delete(e)}function Kr(){return{top:0,left:0,bottom:0,right:0}}function zr(){if(Ke){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(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"],l=_e();if(this.initPageLayout(r,l),r.autoAdjustPageLayout!==!1&&window.ResizeObserver){const o=Rt(()=>{const s={...r},c=document.documentElement.clientWidth||document.body.clientWidth,i=document.documentElement.clientHeight||document.body.clientHeight;s.width=c,s.height=i,this.initPageLayout(s,l)},150);new window.ResizeObserver(o).observe(window.document.body)}for(const o in r)n.indexOf(o)===-1&&l.set(o,r[o])}initPageLayout(t,r){const n=_.extend({},Kr(),t.safeAreaInset),l=_.extend({},zr(),t.pageLayout);r=r??_e(),r.set("safeAreaInset",n),r.set("headerBarHeight",t.headerBarHeight??0),r.set("footerBarHeight",t.footerBarHeight??0),r.set("pageLayout",l),r.set("rootWidth",l.width),r.set("rootHeight",l.height)}setScopeGetter(t){_r(t)}setAPI(t,r,n){Cn(t,r,n)}getAPI(t,r,n){return Ce(t,r,n)}batchSetAPI(t,r){Lr(t,r)}clearScopeAPI(t){Hr(t)}getRootDomain(){return _e()}}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 G(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,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}},Vn={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"}},Nn={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},showMark:{type:[String,Boolean],required:!1,default:!0}},Tn=[];for(const e in Nn)Tn.push(e);function ie(e,t=null){if(t||(t=a.getCurrentInstance()),t&&t.proxy){let r=t.proxy;Object.assign(r,e)}}const Zr=Symbol.for("InnerPageScopeKey"),Xr=(e,t)=>({inheritAttrs:!1,props:{...te,...Vn,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 l=Mt(r.name,r);if(l){const i=Pn(l,r);ie({getPageContentHeight:()=>Ye(l,i),getPageContentWidth:()=>Ue(l,i),getPageHeaderHeight:()=>at(l,i),getPageFooterHeight:()=>ot(l,i)});const d=a.inject(Zr,!1);i&&d&&(i.contentHeight="100%")}const o=a.computed(()=>({[e]:!0})),u=a.computed(()=>({})),s=a.getCurrentInstance(),c=i=>{const d=s?.proxy;d&&typeof d.setNameValidateRules=="function"&&d.setNameValidateRules(i,!0)};return a.watch(()=>r.rules,(i,d)=>{if(!i&&!d)return;const h=a.toRaw(d),b=a.toRaw(i),j=b?Reflect.ownKeys(b):[];(h?Reflect.ownKeys(h):[]).forEach(E=>{j.includes(E)||(b[E]=[])}),c(b)},{deep:!0}),a.onMounted(()=>{if(r.rules){const i=a.toRaw(r.rules);c(i)}}),{classes:o,styles:u}}}),{componentName:Jr,create:Qr,scope:Mo}=G("page"),el=Qr(Xr(Jr));function tl(e,t,r,n,l,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const Ve=(e,t)=>{const r=e.__vccOpts||e;for(const[n,l]of t)r[n]=l;return r},An=Ve(el,[["render",tl]]),nl=(e,t)=>({props:{padding:{type:[Object],required:!1}},emits:[],setup(r,n){const l=$e(),o=l?lt(l):null;o&&(o.headerMounted=!0);const u=a.computed(()=>({[e]:!0})),s=a.computed(()=>{const i={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(l&&o){const d=he(r.padding??o.footerPadding);return Object.assign(i,d),i.height=o.headerHeight,i.safeAreaTop=o.safeAreaTop,i.safeAreaTop&&(i.top=i.safeAreaTop+(d.top??0),i.height=i.height+o.safeAreaTop),i.height,i.safeAreaTop,i}if(r.padding){const d=he(r.padding);Object.assign(i,d)}return i});a.onUnmounted(()=>{o&&(o.headerMounted=!1)});const c=a.computed(()=>{const i={};return s.value.height&&(i.height=`${s.value.height}px`),s.value.top&&(i.paddingTop=`${s.value.top}px`),s.value.left&&(i.paddingLeft=`${s.value.left}px`),s.value.right&&(i.paddingRight=`${s.value.right}px`),s.value.bottom&&(i.paddingBottom=`${s.value.bottom}px`),i});return{classes:u,styles:c}}}),{componentName:rl,create:ll,scope:Do}=G("header-bar"),al=ll(nl(rl));function ol(e,t,r,n,l,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const In=Ve(al,[["render",ol]]);function il(e,t){return{props:{padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(r,n){const l=$e(),o=l?lt(l):null;o&&(o.footerMounted=!0);const u=a.computed(()=>{const i=e;let d=e;return r.align==="left"?d=`${d}__left`:r.align==="right"?d=`${d}__right`:d=`${d}__center`,{[i]:!0,[d]:!0}}),s=a.computed(()=>{const i={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(l&&o){const d=he(r.padding??o.footerPadding);return Object.assign(i,d),i.safeAreaBottom=o.safeAreaBottom,i.safeAreaBottom&&(i.height=o.footerHeight+o.safeAreaBottom,i.bottom=i.safeAreaBottom+(d.bottom??0)),i.height,i.safeAreaBottom,i}if(r.padding){const d=he(r.padding);Object.assign(i,d)}return i});a.onUnmounted(()=>{o&&(o.footerMounted=!1)});const c=a.computed(()=>{const i={};return s.value&&(i.height=`${s.value.height}px`),s.value&&(i.paddingTop=`${s.value.top}px`),s.value&&(i.paddingLeft=`${s.value.left}px`),s.value&&(i.paddingRight=`${s.value.right}px`),s.value&&(i.paddingBottom=`${s.value.bottom}px`),i});return{classes:u,styles:c}}}}const{componentName:sl,create:ul,scope:Fo}=G("footer-bar"),cl=ul(il(sl));function fl(e,t,r,n,l,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=Ve(cl,[["render",fl]]);function dl(e,t){return{props:{padding:{type:[Object],required:!1}},setup(r){const n=$e(),l=a.computed(()=>({[e]:!0})),o=a.computed(()=>{const u={};if(n){const s=lt(n);if(s){if(r.padding){const h=he(r.padding);Object.assign(s.contentPadding,h)}const c=at(n,s),i=ot(n,s);let d="";if(s.contentHeight?d=`${s.contentHeight}`:d=`${s.height}px`,s.contentPadding,u.height=d,s.contentPadding.top||c>0){const h=(s&&s.contentPadding&&s.contentPadding.top)??0;u.paddingTop=`${c+h}px`}if(s.contentPadding.bottom||i>0){const h=(s&&s.contentPadding&&s.contentPadding.bottom)??0;u.paddingBottom=`${i+h}px`}return s.contentPadding.left&&(u.paddingLeft=`${s.contentPadding.left}px`),s.contentPadding.right&&(u.paddingRight=`${s.contentPadding.right}px`),u}}if(r.padding){const s=he(r.padding);s.left&&(u.paddingLeft=`${s.left}px`),s.top&&(u.paddingTop=`${s.top}px`),s.right&&(u.paddingRight=`${s.right}px`),s.bottom&&(u.paddingBottom=`${s.bottom}px`)}return u});return{classes:l,styles:o}}}}const{componentName:hl,create:ml,scope:ko}=G("content"),gl=ml(dl(hl));function pl(e,t,r,n,l,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const jn=Ve(gl,[["render",pl]]),Je="GroupStateKey",Mn=Symbol.for("GroupScopeKey");function it(){return a.inject(Mn,!1)}function st(e=!0){a.provide(Mn,e)}function yl(e,t={}){const r=e.get("width",-1),n={type:"form",width:r,column:-1,gutter:-1};Object.assign(n,t);const l=a.shallowRef(n),o=a.markRaw({layout:l,passport:0});return e.set(Je,o),o}function Ht(e,t,r=-1,n=-1,l=!1){const o=e.get(Je);if(!o)return;const u=e.get("groupLayout")??{};r===-1&&(r=u.column??1),n===-1&&(n=u.gutter??0);const s=u.minItemWidth??-1,c=()=>{const i=t===""||t===-1,d=J(t);let h=_.toNumber(r);const b=J(n);if(!i){let E=(d-(h-1)*b)/h;for(;s!==-1&&h>1&&E<s;)h--,E=(d-(h-1)*b)/h}let j=!1;const N=o.layout;N.value.width=t,N.value.column!==h&&(N.value.column=h,j=!0),N.value.gutter!==b&&(N.value.gutter=b,j=!0),j&&a.triggerRef(N)};if(l)c();else{const i=++o.passport;setTimeout(()=>{i===o.passport&&c()},50)}}function ut(e,t=!1){let r;return t?r=e.getForParent(Je):r=e.get(Je),r.layout}function we(e,t=1){return t==="stretch"?-1:(t=_.toNumber(t),t===-1?100:100*t/e)}function bl(e){return e===window}const Qe=e=>{const t=a.unref(e);if(bl(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}},qe=(e,t)=>e?t?`fox-group__${e}-${t}`:"":`fox-group__${t}`,vl=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},xl=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=_.toNumber(e.props.offset);return t<0?0:t};function wl(e,t){return{props:{...te,...Vn,...Nn},setup(r,n){const l=Mt(r.name,r,Tn),o=yl(l,{type:r.type}),u=it();st(!0);const s=a.getCurrentInstance(),c=p=>{const v=s?.proxy;v&&typeof v.setNameValidateRules=="function"&&v.setNameValidateRules(p,!0)};a.watch(()=>r.rules,(p,v)=>{if(!p&&!v)return;const w=a.toRaw(v),A=a.toRaw(p),C=A?Reflect.ownKeys(A):[];(w?Reflect.ownKeys(w):[]).forEach(m=>{C.includes(m)||(A[m]=[])}),c(A)},{deep:!0}),a.onMounted(()=>{if(r.rules){const p=a.toRaw(r.rules);c(p)}});const i=e,d=a.computed(()=>{const p={};if(u&&l){const v=ut(l,!0);if(v.value.type!=="flex")return{};if(r.width){const C=Q(r.width);p.width=C}else{const C=we(v.value.column,r.span);C>0&&(p.width=`${C}%`)}if(r.height){const C=Q(r.height);p.height=C}const w=we(v.value.column,r.offset);w>0&&(p["margin-left"]=`${w}%`);const A=v.value.gutter/2;A>0&&(p["padding-left"]=`${A}px`,p["padding-right"]=`${A}px`)}else{if(r.width){const v=Q(r.width);p.width=v}if(r.height){const v=Q(r.height);p.height=v}}return p}),h=a.computed(()=>r.type==="flex"?{[`${qe("",r.type)}`]:!0,[`${qe("justify",r.justify)}`]:!0,[`${qe("align",r.align)}`]:!0,[`${qe("flex",r.flexWrap)}`]:!0,[`${i}__gutter`]:!0}:{[`${qe("",r.type)}`]:!0,[`${i}__gutter`]:!0}),b=a.toRef(r,"title"),j=a.toRef(r,"gutter"),N=a.toRef(r,"column"),E=a.computed(()=>u?!0:r.isWrap),y=a.ref([]),T=p=>{y.value.push(p)},R=a.ref(-1);if(Ht(l,R.value,N.value,j.value,!0),r.autoLayout){a.watch([R,N,j],([v,w,A])=>{Ht(l,v,w,A,!1)});let p=null;a.onMounted(()=>{if(Ke&&y.value&&y.value.length>0){const v=y.value[0];R.value=Qe(v).width,window.ResizeObserver&&(p=new window.ResizeObserver(()=>{const w=Qe(v).width;w>0&&w!==R.value&&(R.value=w)}),p.observe(v))}}),a.onUnmounted(()=>{p?.disconnect()})}const x=(p,v,w,A)=>{const C={...h.value};return v===0&&(C[`${i}__first`]=!0),w>=A-1&&(C[`${i}__last`]=!0),a.h("div",{ref:T,key:`${v}`,class:C},p)};return()=>{const p=[];let v=0;if(n.slots.title){const P={key:`${v++}`,class:{[`${i}__title`]:!0,[`${i}__first`]:!0}},m=a.h("div",P,[n.slots.title()]);p.push(m)}else if(b.value){const P={key:`${v++}`,class:{[`${i}__title`]:!0,[`${i}__first`]:!0}},m=[];if(r.showMark){const O=a.h("div",{class:{[`${i}__title-mark`]:!0}});m.push(O)}const D=a.h("div",{class:{[`${i}__title-text`]:!0}},[b.value]);m.push(D);const B=a.h("div",P,m);p.push(B)}const w=n.slots.default?n.slots.default():[];let A=[],C=0;if(r.type==="flex"){for(let P=0;P<w.length;P++){const m=w[P],D=vl(m),B=xl(m);if(D==="stretch"){if(C<o.layout.value.column){A.push(m);const g=x([...A],v++,P,w.length);p.push(g)}else{const g=x([...A],v++,P-1,w.length);p.push(g);const $=x([m],v++,P,w.length);p.push($)}C=0,A=[];continue}let O=_.toNumber(D);if(O===-1){if(A.length>0){const $=x([...A],v++,P-1,w.length);p.push($)}const g=x([m],v++,P,w.length);p.push(g),C=0,A=[];continue}O>o.layout.value.column?O=o.layout.value.column:O<=0&&(O=1);const I=C+O+B;if(I>o.layout.value.column){const g=x([...A],v++,P-1,w.length);p.push(g),C=O+B,A=[m]}else A.push(m),C=I}if(A.length>0){const P=x([...A],v++,w.length,w.length);p.push(P)}}else for(let P=0;P<w.length;P++){const m=w[P],D=x([m],v++,P,w.length);p.push(D)}return E.value?a.h("div",{class:{[`${i}`]:!0},style:d.value},[p]):p}}}}const{componentName:$l,create:Sl,scope:qo}=G("group"),Dn=Sl(wl($l)),Fn={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:El,create:Pl}=G("price"),Ol=Pl({props:{...Fn},setup(e){const t=a.computed(()=>({[El]:!0})),r=a.computed(()=>e.needSymbol?e.symbol:""),n=a.computed(()=>tt(e.price)==0?"":At(e.price,e.decimalLength,!0,e.digits,e.separator)),l=a.computed(()=>{let u=n.value;if(u.length==0)return"";let s=u.indexOf(".");return u.substring(0,s)}),o=a.computed(()=>{let u=n.value;if(u.length==0)return"";let s=u.indexOf(".");return u.substring(s+1)});return{classes:t,showSymbol:r,intText:l,decimalText:o}}}),Cl=["innerHTML"],Vl=["innerHTML"];function Nl(e,t,r,n,l,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,Cl)):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,Vl)):a.createCommentVNode("",!0)],2)}const et=Ve(Ol,[["render",Nl]]),{componentName:bt,create:Tl}=G("hint-text"),Al=Tl({components:{[et.name]:et},props:{...Fn,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 l=a.computed(()=>({[bt]:!0})),o=a.computed(()=>({left:Q(e.startPoint.x),top:Q(e.startPoint.y-e.height-10-4),height:Q(e.height),width:Q(e.width)})),u=a.computed(()=>({[`${bt}__content`]:!0})),s=a.computed(()=>({})),c=a.computed(()=>({[`${bt}__arrow`]:!0})),i=a.computed(()=>({top:Q(e.height)}));return{classes:l,styles:o,textClasses:u,textStyles:s,arrowClasses:c,arrowStyles:i}}}),Il={key:1,class:"text"};function Rl(e,t,r,n,l,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",Il,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 ct=Ve(Al,[["render",Rl]]);class kn{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 jl(e){return e===window}const qn=e=>{const t=a.unref(e);if(!t)return{x:0,y:0};if(jl(t))return{x:0,y:0};let r=0,n=0,l=t;for(;l!==null;)n+=l.scrollTop,r+=l.scrollLeft,l=l.parentElement;const o=t.getBoundingClientRect(),u=o.x+r,s=o.y+n;return{x:u,y:s}},Ot={},Ml=new kn,Te=new Map,Ct=e=>{if(e){const t=document.getElementById(e);Te.delete(e),t&&document.body.removeChild(t)}else{for(const t of Te.keys()){const r=document.getElementById(t);r&&document.body.removeChild(r)}Te.clear()}},Dl=e=>{const t=document.getElementById(e.id);if(t){const r=Te.get(e.id);r?e={...Ot,...r,...e}:e={...Ot,...e};const n=a.createVNode(ct,e);return a.render(n,t),e.id}},Fl=e=>{e.unmount=Ct;let t;if(e.id){if(t=e.id,Te.has(t))return Dl(e)}else t=`hinttext_${Ml.get()}`;e={...Ot,...e},e.id=t,Te.set(t,e);const r=document.createElement("div");r.id=e.id;const n=a.createVNode(ct,e);return a.render(n,r),document.body.appendChild(r),t},kl=e=>{if(!e){console.warn("[FoxUI HintText]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},Ge={show(e,t,r={},n=!0){n&&Ct(),kl(t);const l=qn(e),o={x:l.x,y:l.y},s=Qe(e).width;return Fl({...r,message:t,startPoint:o,width:s})},hide(e){Ct(e)},install(e){e.config.globalProperties.$hintText=Ge}},{componentName:Kt,create:ql}=G("item"),Bl=ql({inheritAttrs:!0,props:{...te,...oe},setup(e,t){re({componentName:Kt,validate:!1},e.prop??e.name);const r=$e(),n=it();st(!1);const l=Kt,o=a.computed(()=>({[l]:!0,[`${l}__gutter`]:!0,[`${l}__stretch`]:e.span==="stretch",[`${l}__input--border`]:e.hasBorder,"is-error":!!C.value,"is-warn":!!w.value,"is-info":!!p.value})),u=a.computed(()=>{const V={};if(n&&r){const M=ut(r,!1);if(M.value.type!=="flex")return e.width&&(V.width=Q(e.width)),V;if(e.width)V.width=Q(e.width);else{const q=we(M.value.column,e.span);q>0&&(V.width=`${q}%`)}const F=we(M.value.column,e.offset);F>0&&(V["margin-left"]=`${F}%`);const k=M.value.gutter/2;k>0&&(V["padding-left"]=`${k}px`,V["padding-right"]=`${k}px`)}else e.width&&(V.width=Q(e.width));return V}),s=a.ref(null),c=a.computed({get:()=>s.value??_.toBoolean(e.isRequired),set:V=>{s.value=V}}),i=a.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),d=Re(a.toRef(e,"labelPosition"),"labelPosition",Ze.Near),h=a.computed(()=>d&&d.value==="top"?"top":d&&d.value==="right"?"right":"left"),b=a.computed(()=>({[`${l}__main`]:!0,[`${l}__main--${h.value}`]:!0})),j=a.computed(()=>({label:!0,[`label--${h.value}`]:!0})),N=Re(a.toRef(e,"labelWidth"),"labelWidth",Ze.Near),E=a.computed(()=>N&&N.value?{width:Q(N.value)}:{}),y=a.computed(()=>({["label--string"]:!0,["label--required"]:c.value})),T=a.computed(()=>({content:!0,[e.contentClass]:!0})),R=a.computed(()=>({...e.contentStyle})),x=a.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});ie({setRequired(V){c.value=V},setErrorTip(V){x.errorTip=V},setErrorIcon(V){x.errorIcon=V},setWarnTip(V){x.warnTip=V},setWarnIcon(V){x.warnIcon=V},setInfoTip(V){x.infoTip=V},setInfoIcon(V){x.infoIcon=V}});const p=a.computed(()=>e.infoTip||x.infoTip),v=a.computed(()=>e.infoIcon||x.infoIcon),w=a.computed(()=>e.warnTip||x.warnTip),A=a.computed(()=>e.warnIcon||x.warnIcon),C=a.computed(()=>e.errorTip||x.errorTip),P=a.computed(()=>e.errorIcon||x.errorIcon),m=a.computed(()=>C.value?"error":w.value?"warn":p.value?"info":""),D=a.computed(()=>m.value.length>0),B=a.computed(()=>m.value==="error"?C.value:m.value==="warn"?w.value:m.value==="info"?p.value:""),O=a.computed(()=>m.value==="error"?P.value:m.value==="warn"?A.value:m.value==="info"?v.value:null),I=a.computed(()=>{let V={[`${l}__tip`]:!0,[`${l}__tip--${m.value}`]:!0};return m.value==="error"&&e.errorClass?V[`${e.errorClass}`]=!0:m.value==="warn"&&e.warnClass?V[`${e.warnClass}`]=!0:m.value==="info"&&e.infoClass&&(V[`${e.infoClass}`]=!0),V}),g=a.computed(()=>{let V={};return d&&d.value==="top"?V["padding-left"]="0px":N&&N.value&&(V["padding-left"]=Q(N.value)),V}),$=a.ref();let S="";return a.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([V,M,F,k])=>{!$.value||(V&&!Z(M)?S?Ge.show($.value,M,{...k,id:S,type:F}):S=Ge.show($.value,M,{...k,type:F}):Ge.hide(S))}),{classes:o,styles:u,mainClasses:b,hasLabel:i,labelClasses:j,labelStyles:E,labelStringClasses:y,contentClasses:T,contentStyles:R,contentRef:$,hasTip:D,mTip:B,mIcon:O,tipClasses:I,tipStyles:g}}}),_l={key:0,class:"fox-item__tip-icon"},Ll={class:"fox-item__tip-text"};function Hl(e,t,r,n,l,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",_l,a.toDisplayString(e.mIcon),1)):a.createCommentVNode("",!0),a.createElementVNode("div",Ll,a.toDisplayString(e.mTip),1)],6)):a.createCommentVNode("",!0)]),_:1}),a.renderSlot(e.$slots,"hide")],6)}const le=Ve(Bl,[["render",Hl]]);function Kl(e,t){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1}},setup(r,n){const l=e,o=a.computed(()=>({[l]:!0,[`${l}__stretch`]:r.span==="stretch"})),u=$e(),s=it();st(!1);const c=a.computed(()=>{const i={};if(s&&u){const d=ut(u,!1);if(d.value.type!=="flex")return r.width&&(i.width=toPxDesc(r.width)),i;if(r.width)i.width=toPxDesc(r.width);else{const j=we(d.value.column,r.span);j>0&&(i.width=`${j}%`)}const h=we(d.value.column,r.offset);h>0&&(i["margin-left"]=`${h}%`);const b=d.value.gutter/2;b>0&&(i["padding-left"]=`${b}px`,i["padding-right"]=`${b}px`)}else r.width&&(i.width=toPxDesc(r.width));return i});return()=>{const i={class:o.value,style:c.value};return n.slots&&typeof n.slots.default=="function"?a.h("div",i,n.slots.default()):a.h("div",i)}}}}const{componentName:zl,create:Gl,scope:Bo}=G("slot-item"),Bn=Gl(Kl(zl));function Wl(e,t){return{props:{span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]}},setup(r,n){const l=e,o=a.computed(()=>({[l]:!0,[`${l}__stretch`]:r.span==="stretch",[`${l}__${r.align}`]:!0})),u=$e(),s=it();st(!1);const c=a.computed(()=>{const d={};if(s&&u){const h=ut(u,!1);if(h.value.type!=="flex")return r.width&&(d.width=Q(r.width)),d;if(r.width)d.width=Q(r.width);else{const N=we(h.value.column,r.span);N>0&&(d.width=`${N}%`)}const b=we(h.value.column,r.offset);b>0&&(d["margin-left"]=`${b}%`);const j=h.value.gutter/2;j>0&&(d["padding-left"]=`${j}px`,d["padding-right"]=`${j}px`)}else r.width&&(d.width=Q(r.width));return d}),i=a.computed(()=>({[`${l}__content`]:!0}));return()=>{const d=[];n.slots.default&&d.push(n.slots.default());const h={class:i.value},b=a.h("div",h,d),j={class:o.value,style:c.value};return a.h("div",j,[b])}}}}const{componentName:Yl,create:Ul,scope:_o}=G("row-item"),_n=Ul(Wl(Yl)),zt={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function Zl(e,t,r){return{props:{...te,...oe,...zt},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=ge.useFoxI18n(t),s=u(n,["placeholder"]),c=a.ref(!1),i=ce(a.computed(()=>n.disabled)),d=ue(a.computed(()=>n.readonly)),h=W(n,"modelValue"),b=e,j=a.computed(()=>({[b]:!0})),N=A=>{h.value=A,o("update:modelValue",A),o("input",A)},E=A=>{o("change",A)};let y=W(n,"hintText"),T=a.ref(!1);const R=A=>{let P=A.target.value;c.value=!0,Z(y.value)||(T.value=!0),o("focus",P,A)},x=A=>{setTimeout(()=>{T.value&&(T.value=!1),c.value=!1},0);let P=A.target.value;n.maxLength&&P.length>Number(n.maxLength)&&(P=P.slice(0,Number(n.maxLength))),o("blur",P,A)},p=()=>{o("clear","")},v=a.computed(()=>tt(n.unit)>0),w=a.ref();return ie({focus:()=>{w?.value.focus()},blur:()=>{w?.value.blur()},select:()=>{w?.value.select()}}),()=>{const C={...l.attrs,ref:w,class:j.value,placeholder:s.placeholder.value,clearable:n.clearable,disabled:i.value,readonly:d.value,modelValue:h.value,onClear:p,onChange:E,onInput:N,onFocus:R,onBlur:x},P={};l.slots.prepend&&(P.prepend=l.slots.prepend),l.slots.append&&(P.append=l.slots.append),l.slots.prefix&&(P.prefix=l.slots.prefix),l.slots.suffix?P.suffix=l.slots.suffix:v.value&&(P.suffix=()=>[n.unit]);const m=[],D=a.h(f.ElInput,C,P);m.push(D);const B={default:()=>m};if(l.slots.default){const $=l.slots.default();B.label=()=>$}const I={...ae(n,zt),hintText:y.value,hintVisible:T.value,prop:`${n.prop}_item`};return a.h(r,I,B)}}}}const{componentName:Xl,create:Jl,scope:Ql}=G("input-item"),Ln=Jl(Zl(Xl,Ql,le));function Oe(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ae(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function Hn(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class ea{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 l=Ce(this.proxy,t);return l===null?(console.error(`${t} component not found api function`),[]):(_.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await l(r,n))}}function ta(){const e=a.getCurrentInstance();return new ea(e.proxy)}function Kn(e,t,r){const n=Oe(e,t),l=Oe(e,r);if(n!==l)return!1;const o=Ae(e,t),u=Ae(e,r);return o===u}function zn(e,t,r,n){if(n.length===0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const l=[];return t.forEach(o=>{for(let u of n){const s=Hn(e,u);if(Array.isArray(s)&&s.length>0){const c=zn(e,o,r,s)??[];Reflect.apply([].push,l,c)}else{let c=!1;if(r==="text")c=Oe(e,u)===o;else if(r==="item")c=Kn(e,u,o);else{let i=Ae(e,u);i==null&&(i=Oe(e,u)),c=i===o}if(c){l.push(u);break}}}}),l}function na(e){return{text:e,value:e}}const Gt={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 ra(e,t,r){return{props:{...te,...oe,...Gt},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=ge.useFoxI18n(t),s=u(n,["placeholder"]),c=a.ref(null),i=a.ref([]),d=(g,$,S,V=!0)=>{const M=zn(n,g,$,S);if(M===null){if(i.value===null||i.value.length===0)return;c.value=null,i.value=[],V&&(o("update:modelValue",null),o("change",null));return}let F=!0;if(M.length!==i.value.length)F=!1;else for(let k=0;k<M.length;k++){const q=M[k],L=i.value[k];if(!Kn(n,q,L)){F=!1;break}}if(!F){i.value=M;let k=[],q=[];M.forEach(K=>{k.push(Ae(n,K)),n.valueType==="text"?q.push(Oe(n,K)):n.valueType==="item"?q.push(K):q.push(Ae(n,K))});let L;n.multiple?(c.value=k,L=a.toRaw(q)):(c.value=k[0]??"",L=a.toRaw(q[0]??"")),V&&(o("update:modelValue",L),o("change",L))}},h=a.ref([]),b=ta();a.watch([()=>n.source,()=>n.params],async([g,$])=>{if(g){const S=await b.load("select",g,$);if(S.length>0)if(typeof S[0]=="string"){let F=S.map(k=>na(k));h.value=F}else h.value=S}},{immediate:!0}),a.watch([()=>h.value,()=>n.modelValue],([g,$])=>{d($,n.valueType,g,!1)});let j=null,N=a.ref(!1);typeof n.remoteMethod=="function"&&(j=async g=>{if(g!=null){N.value=!0;try{const $=await n.remoteMethod(g);h.value=$}catch($){console.error($)}N.value=!1}});const E=a.ref(!1),y=ce(a.computed(()=>n.disabled)),T=ue(a.computed(()=>n.readonly)),R=e,x=a.computed(()=>({[R]:!0})),p=g=>{n.allowCreate?(o("update:modelValue",g),o("change",g),c.value=g):d(g,"value",h.value,!0)};let v=W(n,"hintText"),w=a.ref(!1);const A=g=>{let S=g.target.value;E.value=!0,Z(v.value)||(w.value=!0),o("focus",S,g)},C=g=>{setTimeout(()=>{w.value&&(w.value=!1),E.value=!1},0);let S=g.target.value;n.maxLength&&S.length>Number(n.maxLength)&&(S=S.slice(0,Number(n.maxLength))),m.value?setTimeout(()=>{o("blur",S,g)},50):o("blur",S,g)},P=()=>{o("clear","")},m=a.ref(!1),D=g=>{m.value=g,o("visible-change",g)},B=g=>{o("remove-tag",g)},O=(g,$)=>{const S=[];return g.forEach((V,M)=>{const F=Hn(n,V);if(Array.isArray(F)&&F.length>0){const k=O(F,$),q=Oe(n,V),K={key:`${q}_${M}`,label:q};S.push(a.h(f.ElOptionGroup,K,{default:()=>k}))}else{const k=Ae(n,V),q=Oe(n,V),L=_.toBoolean(V.disabled),z={key:`${k}_${M}`,label:q,disabled:L,value:k};typeof $=="function"?S.push(a.h(f.ElOption,z,{default:$})):S.push(a.h(f.ElOption,z))}}),S},I=a.ref();return ie({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()}}),()=>{const $={...l.attrs,ref:I,class:x.value,clearable:n.clearable,multiple:n.multiple,placeholder:s.placeholder.value,disabled:y.value||T.value,modelValue:c.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:P,onChange:p,onFocus:A,onBlur:C,onVisibleChange:D,onRemoveTag:B};typeof j=="function"&&($["remote-method"]=j,$.loading=N.value);const S={};l.slots.prefix&&(S.prefix=l.slots.prefix),l.slots.empty&&(S.empty=l.slots.empty),S.default=()=>O(h.value,l.slots.option);const V=[],M=a.h(f.ElSelect,$,S);V.push(M);const F={default:()=>V};if(l.slots.default){const K=l.slots.default();F.label=()=>K}const q={...ae(n,Gt),hintText:v.value,hintVisible:w.value,prop:`${n.prop??n.name}_item`};return a.h(r,q,F)}}}}const{componentName:la,create:aa,scope:oa}=G("select-item"),Gn=aa(ra(la,oa,le)),Wt={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function ia(e,t,r){return{props:{...te,...oe,...Wt},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=ge.useFoxI18n(t),s=u(n,["placeholder"]),c=a.ref(!1),i=ce(a.computed(()=>n.disabled)),d=ue(a.computed(()=>n.readonly)),h=W(n,"modelValue"),b=e,j=a.computed(()=>({[b]:!0})),N=C=>{h.value=C,o("update:modelValue",C),o("change",C)};let E=W(n,"hintText"),y=a.ref(!1);const T=C=>{let m=C.target.value;c.value=!0,Z(E.value)||(y.value=!0),o("focus",m,C)},R=C=>{setTimeout(()=>{y.value&&(y.value=!1),c.value=!1},0);let m=C.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),o("blur",m,C)},x=()=>{o("clear","")},p=C=>{o("calendar-change",C)},v=(C,P,m)=>{o("panel-change",C,P,m)},w=C=>{o("visible-change",C)},A=a.ref();return ie({focus:()=>{A?.value.focus()},blur:()=>{A?.value.blur()},handleOpen:()=>{A?.value.handleOpen()},handleClose:()=>{A?.value.handleClose()}}),()=>{const P={...l.attrs,ref:A,class:j.value,placeholder:s.placeholder.value,disabled:i.value,readonly:d.value,modelValue:h.value,["onUpdate:modelValue"]:N,onClear:x,onFocus:T,onBlur:R,onCalendarChange:p,onPanelChange:v,onVisibleChange:w},m={};l.slots["range-separator"]&&(m["range-separator"]=l.slots["range-separator"]),l.slots.cell&&(m.default=l.slots.cell);const D=[],B=a.h(f.ElDatePicker,P,m);D.push(B);const O={default:()=>D};if(l.slots.default){const S=l.slots.default();O.label=()=>S}const g={...ae(n,Wt),hintText:E.value,hintVisible:y.value,prop:`${n.prop}_item`};return a.h(r,g,O)}}}}const{componentName:sa,create:ua,scope:ca}=G("date-item"),Wn=ua(ia(sa,ca,le)),Yt={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function fa(e,t,r){return{props:{...te,...oe,...Yt},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=ge.useFoxI18n(t),s=u(n,["placeholder"]),c=a.ref(!1),i=ce(a.computed(()=>n.disabled)),d=ue(a.computed(()=>n.readonly)),h=W(n,"modelValue"),b=e,j=a.computed(()=>({[b]:!0})),N=w=>{h.value=w,o("update:modelValue",w),o("change",w)};let E=W(n,"hintText"),y=a.ref(!1);const T=w=>{let C=w.target.value;c.value=!0,Z(E.value)||(y.value=!0),o("focus",C,w)},R=w=>{setTimeout(()=>{y.value&&(y.value=!1),c.value=!1},0);let C=w.target.value;n.maxLength&&C.length>Number(n.maxLength)&&(C=C.slice(0,Number(n.maxLength))),o("blur",C,w)},x=()=>{o("clear","")},p=w=>{o("visible-change",w)},v=a.ref();return ie({focus:()=>{v?.value.focus()},blur:()=>{v?.value.blur()},handleOpen:()=>{v?.value.handleOpen()},handleClose:()=>{v?.value.handleClose()}}),()=>{const A={...l.attrs,ref:v,class:j.value,placeholder:s.placeholder.value,disabled:i.value,readonly:d.value,modelValue:h.value,["onUpdate:modelValue"]:N,onClear:x,onFocus:T,onBlur:R,onVisibleChange:p},C={},P=[],m=a.h(f.ElTimePicker,A,C);P.push(m);const D={default:()=>P};if(l.slots.default){const g=l.slots.default();D.label=()=>g}const O={...ae(n,Yt),hintText:E.value,hintVisible:y.value,prop:`${n.prop}_item`};return a.h(r,O,D)}}}}const{componentName:da,create:ha,scope:ma}=G("time-item"),Yn=ha(fa(da,ma,le)),Ut={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function ga(e,t,r){return{props:{...te,...oe,...Ut},emits:["change","update:modelValue","blur","focus","clear"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=ge.useFoxI18n(t),s=u(n,["placeholder"]),c=a.ref(!1),i=ce(a.computed(()=>n.disabled)),d=ue(a.computed(()=>n.readonly)),h=W(n,"modelValue"),b=e,j=a.computed(()=>({[b]:!0})),N=v=>{h.value=v,o("update:modelValue",v),o("change",v)};let E=W(n,"hintText"),y=a.ref(!1);const T=v=>{let A=v.target.value;c.value=!0,Z(E.value)||(y.value=!0),o("focus",A,v)},R=v=>{setTimeout(()=>{y.value&&(y.value=!1),c.value=!1},0);let A=v.target.value;n.maxLength&&A.length>Number(n.maxLength)&&(A=A.slice(0,Number(n.maxLength))),o("blur",A,v)},x=()=>{o("clear","")},p=a.ref();return ie({focus:()=>{p?.value.focus()},blur:()=>{p?.value.blur()},handleOpen:()=>{p?.value.handleOpen()},handleClose:()=>{p?.value.handleClose()}}),()=>{const w={...l.attrs,ref:p,class:j.value,placeholder:s.placeholder.value,disabled:i.value,readonly:d.value,modelValue:h.value,["onUpdate:modelValue"]:N,onClear:x,onFocus:T,onBlur:R},A={},C=[],P=a.h(f.ElTimeSelect,w,A);C.push(P);const m={default:()=>C};if(l.slots.default){const I=l.slots.default();m.label=()=>I}const B={...ae(n,Ut),hintText:E.value,hintVisible:y.value,prop:`${n.prop}_item`};return a.h(r,B,m)}}}}const{componentName:pa,create:ya,scope:ba}=G("time-select-item"),Un=ya(ga(pa,ba,le));function Zt(e,t=0){let r=`${e}`,n=r.indexOf(".");if(n==-1)return r;let l=n;for(let o=r.length-1;o>=n;o--)if(r.charAt(o)!="0"){l=o;break}return l-n<t?l=n+t+1:l!=n&&(l+=1),l>r.length?r=r.padEnd(l,"0"):r=r.substring(0,l),r}function Xt(e,t,r=20){if(typeof t=="string"&&(t=_.toNumber(t)),t==1||t==-1)return`${e}`;if(t==0)return"0";if(t>0){let n=fn(`${e}`,`${t}`);return Zt(n)}else{let n=Tt(`${e}`,dn(`${t}`),20);return Zt(n)}}function va(e,t=-1,r=!1,n=3,l=","){return At(e,t,r,n,l)}function Jt(e,t,r,n,l=!0){if(e=="")return"";if(e=hn(e),t=_.toNumber(t),t==1)return e;if(n)e=Xt(e,t),r&&(e=="0"&&l?e=`${e}.`.padEnd(_.toNumber(r)+2,"0"):e=Tt(e,1,_.toNumber(r)));else{let o=-1*t;e=Xt(e,o)}return e}function Qt(e,t){let r={maxValid:!0,minValid:!0,message:""};if(t.min!==void 0){let n=_.toBoolean(t.minInclude),l=St(e,t.min);if(n&&l==-1||!n&&(l==0||l==-1)){let o="\u8BF7\u8F93\u5165\u4E0D\u5C0F\u4E8E {0} \u7684\u6570\u503C";r.message=o.replace("{0}",t.min),r.minValid=!1}}if(t.max!=null){let n=_.toBoolean(t.maxInclude),l=St(e,t.max);(n&&l==1||!n&&(l==0||l==1))&&(r.maxValid=!1)}return r}const en={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 xa(e,t,r){return{props:{...te,...oe,...en},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),u=a.ref(!1),s=ce(a.computed(()=>n.disabled)),c=ue(a.computed(()=>n.readonly)),i=W(n,"modelValue"),d=a.ref("");a.watch([()=>i.value,()=>n.rates,()=>n.precision],([O,I,g])=>{if(Z(O))return"";const $=Jt(O,I,g,!1);d.value!==$&&(d.value=$)},{immediate:!0});const h=a.computed(()=>{let O="";return u.value&&(O=d.value),O}),{t:b}=ge.useFoxI18n(t),j=a.computed(()=>{let O=n.placeholder??"";return!u.value&&!Z(d.value)?O=va(d.value,n.decimalLength,n.autoPadding,n.digits,n.separator):O=b(["placeholder",O]),O}),N=e,E=a.computed(()=>({[N]:!0,[`${N}__disabled`]:s.value,[`${N}__placeholder`]:d.value.length>0})),y=Re(a.computed(()=>n.textAlign),"textAlign");a.computed(()=>u.value?{textAlign:"left"}:{textAlign:y.value??"right"});const T=a.ref(""),R=a.computed(()=>{let O=T.value;return Z(O)&&(O=n.errorTip??""),O}),x=a.ref(""),p=a.ref(!1),v=(O,I)=>{if(O=`${O}`,Z(O)){d.value="",i.value="",I.forEach(g=>{o(g,"")}),_.toBoolean(n.showTip)&&p.value&&(p.value=!1);return}if(O.length>=2){let g=O;if(g.charAt(0)=="-"&&(g=g.substring(1)),g.length>=2&&g.charAt(0)=="0"&&g.charAt(1)!="."){a.triggerRef(d);return}}if(O!="-"){if(!gn(O)){a.triggerRef(d);return}if(n.integerLength!=-1&&pn(O)>Number(n.integerLength)){a.triggerRef(d);return}if(n.decimalLength&&n.decimalLength!=-1&&yn(O)>Number(n.decimalLength)){a.triggerRef(d);return}let g=Qt(O,n);if(g.maxValid===!1){T.value=g.message,a.triggerRef(d);return}}else if(n.min!=null&&_.toNumber(n.min)>=0){a.triggerRef(d);return}x.value=O,_.toBoolean(n.showTip)&&(p.value=O.length>0),d.value=O,i.value=Jt(O,n.rates,n.precision,!0),I.forEach(g=>{o(g,i.value)})},w=O=>{v(O,["update:modelValue","input"])},A=O=>{v(O,["update:modelValue","change"])},C=O=>{if(u.value=!0,_.toBoolean(n.showTip)){let I=d.value;Z(I)&&(I=n.hintText),Z(I)||(x.value=I,p.value=!0)}T.value="",o("focus",i.value,O)},P=O=>{if(setTimeout(()=>{u.value=!1,_.toBoolean(n.showTip)&&p.value===!0&&(p.value=!1)},0),!Z(d.value)){let I=Qt(d.value,n);if(I.minValid===!1||I.maxValid){T.value=I.message;return}}o("update:modelValue",i.value,O),o("blur",i.value,O)},m=()=>{o("clear","")},D=a.computed(()=>tt(n.unit)>0),B=a.ref();return ie({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},select:()=>{B?.value.select()}}),()=>{const I={...l.attrs,ref:B,class:E.value,type:"digit",maxlength:n.maxLength,placeholder:j.value,clearable:n.clearable,disabled:s.value,readonly:c.value,modelValue:h.value,onClear:m,onInput:w,onChange:A,onFocus:C,onBlur:P},g={};l.slots.prepend&&(g.prepend=l.slots.prepend),l.slots.append&&(g.append=l.slots.append),l.slots.prefix&&(g.prefix=l.slots.prefix),l.slots.suffix?g.suffix=l.slots.suffix:D.value&&(g.suffix=()=>[n.unit]);const $=[],S=a.h(f.ElInput,I,g);$.push(S);const V={default:()=>$};if(l.slots.default){const q=l.slots.default();V.label=()=>q}const F={...ae(n,en),errorTip:R.value,hintText:x.value,hintVisible:p.value,hintType:"number",prop:`${n.prop}_item`};return a.h(r,F,V)}}}}const{componentName:wa,create:$a,scope:Sa}=G("money-item"),Zn=$a(xa(wa,Sa,le));function je(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Pe(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function Ea(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class Pa{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 l=Ce(this.proxy,t);return l===null?(console.error(`${t} component not found api function`),[]):(_.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await l(r,n))}}function Oa(){const e=a.getCurrentInstance();return new Pa(e.proxy)}function Vt(e,t,r){const n=je(e,t),l=je(e,r);if(n!==l)return!1;const o=Pe(e,t),u=Pe(e,r);return o===u}function Xn(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const l=[];let o=n;for(let u=0;Array.isArray(o)&&u<t.length;u++){const s=t[u];if(Array.isArray(s)){const c=Xn(e,s,r,n);l.push(c)}else{let c=!1;for(let i of o){if(r==="text")c=je(e,i)===s;else if(r==="item")c=Vt(e,i,s);else{let d=Pe(e,i);d==null&&(d=je(e,i)),c=d===s}if(c){l.push(i),o=Ea(e,i);break}}if(!c)break}}return l}function Ca(e){return{text:e,value:e}}const tn={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 Va(e,t,r){return{props:{...te,...oe,...tn},emits:["change","update:modelValue","blur","focus","clear","visible-change","expand-change","remove-tag"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=ge.useFoxI18n(t),s=u(n,["placeholder"]),c=a.ref(null),i=a.ref([]),d=($,S,V,M=!0)=>{if(n.props&&n.props.lazy===!0){if(c.value===$)return;c.value=$;const q=a.toRaw($);M&&(o("update:modelValue",q),o("change",q))}const F=Xn(n,$,S,V);if(F===null){if(i.value.length===0||i.value===null)return;i.value=[],c.value=null,M&&(o("update:modelValue",null),o("change",null));return}let k=!0;if(F.length!==i.value.length)k=!1;else for(let q=0;q<F.length;q++){const L=F[q],K=i.value[q];if(Array.isArray(L)){if(!Array.isArray(K)||L.length!==K.length)k=!1;else for(let z=0;z<L.length;z++)if(!Vt(n,L[z],K[z])){k=!1;break}}else Vt(n,L,K)||(k=!1);if(!k)break}if(!k){i.value=F;let q=[],L=[];F.forEach(z=>{if(Array.isArray(z)){let de=[],se=[];for(let ne of z)de.push(Pe(n,ne)),n.valueType==="text"?se.push(je(n,ne)):n.valueType==="item"?se.push(ne):se.push(Pe(n,ne));q.push(de),L.push(se)}else q.push(Pe(n,z)),n.valueType==="text"?L.push(je(n,z)):n.valueType==="item"?L.push(z):L.push(Pe(n,z))}),c.value=q;const K=a.toRaw(L);M&&(o("update:modelValue",K),o("change",K))}},h=a.ref([]),b=Oa();a.watch([()=>n.source,()=>n.params],async([$,S])=>{if($){const V=await b.load("cascader",$,S);if(V.length>0)if(typeof V[0]=="string"){let k=V.map(q=>Ca(q));h.value=k}else h.value=V}},{immediate:!0}),a.watch([()=>h.value,()=>n.modelValue],([$,S])=>{d(S,n.valueType,$,!1)});let j=null,N=a.ref(!1);typeof n.remoteMethod=="function"&&(j=async $=>{if($!=null){N.value=!0;try{const S=await n.remoteMethod($);h.value=S}catch(S){console.error(S)}N.value=!1}});const E=a.ref(!1),y=ce(a.computed(()=>n.disabled)),T=ue(a.computed(()=>n.readonly)),R=e,x=a.computed(()=>({[R]:!0})),p=a.computed(()=>{let $={label:n.textKey,value:n.valueKey,children:n.childrenKey};return n.multiple===!0&&($.multiple=!0),n.props&&Object.assign($,n.props),$}),v=$=>{n.allowCreate?(o("update:modelValue",$),o("change",$),c.value=$):d($,"value",h.value,!0)};let w=W(n,"hintText"),A=a.ref(!1);const C=$=>{let V=$.target.value;E.value=!0,Z(w.value)||(A.value=!0),o("focus",V,$)},P=$=>{setTimeout(()=>{A.value&&(A.value=!1),E.value=!1},0);let V=$.target.value;n.maxLength&&V.length>Number(n.maxLength)&&(V=V.slice(0,Number(n.maxLength))),D.value?setTimeout(()=>{o("blur",V,$)},50):o("blur",V,$)},m=()=>{o("clear","")},D=a.ref(!1),B=$=>{D.value=$,o("visible-change",$)},O=$=>{o("remove-tag",$)},I=$=>{o("expand-change",$)},g=a.ref();return ie({focus:()=>{g?.value.focus()},blur:()=>{g?.value.blur()},getCheckedNodes:()=>g?.value.getCheckedNodes()}),()=>{const S={...l.attrs,ref:g,class:x.value,props:p.value,clearable:n.clearable,placeholder:s.placeholder.value,disabled:y.value||T.value,options:h.value,modelValue:c.value,onClear:m,onChange:v,onFocus:C,onBlur:P,onVisibleChange:B,onRemoveTag:O,expandChange:I};typeof j=="function"&&(S["remote-method"]=j,S.loading=N.value);const V={};l.slots.option&&(V.default=l.slots.option),l.slots.empty&&(V.empty=l.slots.empty);const M=[],F=a.h(f.ElCascader,S,V);M.push(F);const k={default:()=>M};if(l.slots.default){const z=l.slots.default();k.label=()=>z}const L={...ae(n,tn),hintText:w.value,hintVisible:A.value,prop:`${n.prop??n.name}_item`};return a.h(r,L,k)}}}}const{componentName:Na,create:Ta,scope:Aa}=G("cascader-item"),Jn=Ta(Va(Na,Aa,le)),nn={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function Ia(e,t,r){return{props:{...te,...oe,...nn},emits:["change","update:modelValue","blur","focus","clear","input","select"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),{toLocaleRefs:u}=ge.useFoxI18n(t),s=u(n,["placeholder"]),c=a.ref(!1),i=ce(a.computed(()=>n.disabled)),d=ue(a.computed(()=>n.readonly)),h=W(n,"modelValue"),b=e,j=a.computed(()=>({[b]:!0})),N=w=>{h.value=w,o("update:modelValue",w),o("input",w)},E=w=>{o("change",w)};let y=W(n,"hintText"),T=a.ref(!1);const R=w=>{let C=w.target.value;c.value=!0,Z(y.value)||(T.value=!0),o("focus",C,w)},x=w=>{setTimeout(()=>{T.value&&(T.value=!1),c.value=!1},0);let C=w.target.value;n.maxLength&&C.length>Number(n.maxLength)&&(C=C.slice(0,Number(n.maxLength))),o("blur",C,w)},p=()=>{o("clear","")},v=a.ref();return ie({focus:()=>{v?.value.focus()},blur:()=>{v?.value.blur()},select:()=>{v?.value.select()}}),()=>{const A={...l.attrs,ref:v,class:j.value,placeholder:s.placeholder.value,clearable:n.clearable,disabled:i.value,readonly:d.value,modelValue:h.value,onClear:p,onChange:E,onInput:N,onFocus:R,onBlur:x},C={};l.slots.prepend&&(C.prepend=l.slots.prepend),l.slots.append&&(C.append=l.slots.append),l.slots.prefix&&(C.prefix=l.slots.prefix),l.slots.suffix&&(C.suffix=l.slots.suffix),l.slots.option&&(C.default=l.slots.option);const P=[],m=a.h(f.ElAutocomplete,A,C);P.push(m);const D={default:()=>P};if(l.slots.default){const g=l.slots.default();D.label=()=>g}const O={...ae(n,nn),hintText:y.value,hintVisible:T.value,prop:`${n.prop}_item`};return a.h(r,O,D)}}}}const{componentName:Ra,create:ja,scope:Ma}=G("autocomplete-item"),Qn=ja(Ia(Ra,Ma,le));function Da(e,t,r,n,l){let o=[];Array.isArray(e)?o=e:o=[e];const u=[],s=t[0];if(Array.isArray(s))for(let c=0;c<t.length&&c<o.length;c++){let i=t[c],d=o[c];const h=i.find(b=>b[n]===d);if(!h)break;u.push(h[r])}else{let c=t;for(let i=0;c&&i<o.length;i++){let d=o[i],h=c.find(b=>b[n]===d);if(!h)break;u.push(h[r]),c=h[l]}}return u}class Fa{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 l=Ce(this.proxy,t);return l===null?(console.error(`${t} component not found api function`),[]):(_.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await l(r,n))}}function ka(){const e=a.getCurrentInstance();return new Fa(e.proxy)}const er={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 qa(e,t){return{props:{...er},setup(r,{attrs:n}){const l=ka(),o=a.ref([]);a.watch([()=>r.source,()=>r.params],async([c,i])=>{o.value=await l.load(r.sourceType,c,i)},{immediate:!0});const u=a.computed(()=>{if(!Array.isArray(o.value)||o.value.length===0)return"";let c=Da(r.modelValue,o.value,r.textKey,r.valueKey,r.childrenKey);return c.length==0?"":c.length===1?c[0]:c.join(r.separator)}),s=r.resolveTag?a.resolveComponent(r.tag):r.tag;return()=>{const c={...n};return r.resolveTag?a.h(s,c,{default:()=>u.value}):a.h(s,c,u.value)}}}}const{componentName:Lo,create:Ba,scope:Ho}=G("mapping"),Dt=Ba(qa());function _a(e,t){return{props:{...er},setup(r,{attrs:n}){return()=>{const l={default:o=>{const u=o.row[o.column.property];return a.h(Dt,{...r,modelValue:u})}};return a.h(f.ElTableColumn,{...n},l)}}}}const{componentName:Ko,create:La,scope:zo}=G("table-mapping-column"),tr=La(_a());class Ha{proxy;constructor(t){this.proxy=t}async load(t,r,n,l,o,u,s){if(Array.isArray(r)){let i=(n-1)*l,d=i+l;d>r.length&&(d=r.length);const h=r.slice(i,d);return{totalSize:r.length,page:h}}if(typeof r=="function")return await Reflect.apply(r,null,[n,l,o,u,s]);const c=Ce(this.proxy,t);return c===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(_.isObject(o)&&a.isReactive(o)&&(o=a.toRaw(o)),await await Reflect.apply(c,null,[r,n,l,o,u,s]))}}function Ka(){const e=a.getCurrentInstance();return new Ha(e.proxy)}const rn={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},baseParams:{type:[Object]},params:{type:[Object]}},ln={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 za(e,t,r){return{inheritAttrs:!1,props:{...te,...oe,...rn,...ln},emits:["change","page-size-change","page-index-change","current-change"],setup(n,l){const{locale:o}=ge.useFoxI18n(t),{emitEvent:u}=re({componentName:e},n.prop??n.name),s=e,c=a.computed(()=>({[s]:!0})),i=a.computed(()=>({[`${s}__pagination`]:!0,[`${s}__pagination__${n.paginationAlign}`]:!0})),d=a.ref(n.pageIndex);a.watch(()=>n.pageIndex,m=>{d.value=m});const h=m=>{d.value=m,u("page-index-change",m)},b=a.ref(n.pageSize);a.watch(()=>n.pageSize,m=>{b.value=m});const j=m=>{b.value=m,u("page-size-change",m)},N=a.shallowRef({}),E=a.computed(()=>({...N.value,...n.params??{},...n.baseParams??{}})),y=a.ref(0),T=a.ref(),R=Ka();let x=!0;const p=()=>Array.isArray(n.data)||typeof n.data=="function"?!0:_.toBoolean(n.autoLoad),v=async(m,D,B,O)=>{try{const I=await R.load("table",m,D,B,O,x,o.value);y.value=I.totalSize,T.value=I.page}catch(I){console.error("[FoxUI] Load Table Data Fail",I),y.value=0,T.value=[]}x=!1};a.watch([d,b],([m,D],[B,O])=>{D!==O&&(d.value=1,m=1),v(n.data,m,D,E.value)}),a.watch([()=>n.data,E],([m,D],[B,O])=>{!p()||(m!==B&&(x=!0),v(m,d.value,b.value,D))});const w=(m={})=>{N.value=a.toRaw(m??{}),a.triggerRef(N),a.nextTick(()=>{v(n.data,d.value,b.value,E.value)})};p()&&w();let A=null;const C=(m,D)=>{A=m,u("current-change",m,D)},P=a.ref();return ie({clearSelection:()=>P?.value.clearSelection(),getSelectionRows:()=>P?.value.getSelectionRows(),toggleRowSelection:(m,D)=>{P?.value.toggleRowSelection(m,D)},toggleAllSelection:()=>{P?.value.toggleAllSelection()},toggleRowExpansion:(m,D)=>{P?.value.toggleRowExpansion(m,D)},setCurrentRow:m=>{P?.value.setCurrentRow(m)},getCurrentRow:()=>A,clearSort:()=>{P?.value.clearSort()},clearFilter:m=>{P?.value.clearFilter(m)},doLayout:()=>{P?.value.doLayout()},sort:(m,D)=>{P?.value.sort(m,D)},scrollTo:(m,D)=>{P?.value.scrollTo(m,D)},setScrollTop:m=>{P?.value.setScrollTop(m)},setScrollLeft:m=>{P?.value.setScrollLeft(m)},loadData:w}),()=>{const D={...l.attrs,onCurrentChange:C,data:T.value,ref:P,class:c.value},B={};l.slots.default&&(B.default=l.slots.default),l.slots.append&&(B.append=l.slots.append),l.slots.empty&&(B.empty=l.slots.empty);const O=[],I=a.h(f.ElTable,D,B);if(O.push(I),typeof l.slots.pagination=="function"){const M=l.slots.pagination();O.push(M)}else if(n.paginationVisible){const M={class:i.value,total:y.value,pageSize:b.value,["onUpdate:pageSize"]:j,pageSizes:n.pageSizes,currentPage:d.value,["onUpdate:currentPage"]:h,hideOnSinglePage:n.hideOnSinglePage,layout:n.paginationLayout,small:!0},F=a.h(f.ElPagination,M);O.push(F)}const g={default:()=>O},S={...ae(n,rn,ln),prop:`${n.prop}_item`};return S.contentClass=`${s}__wrap`,a.h(r,S,g)}}}}const{componentName:Ga,create:Wa,scope:Ya}=G("table-item"),nr=Wa(za(Ga,Ya,le));function Me(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function He(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class Ua{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 l=Ce(this.proxy,t);return l===null?(console.error(`${t} component not found api function`),[]):(_.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await l(r,n))}}function Za(){const e=a.getCurrentInstance();return new Ua(e.proxy)}function rr(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=Me(e,t),l=Me(e,r);if(n!==l)return!1;const o=He(e,t),u=He(e,r);return o===u}function Xa(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;let l=null;for(let o of n){let u=!1;if(r==="text")u=Me(e,o)===t;else if(r==="item")u=rr(e,o,t);else{let s=He(e,o);s==null&&(s=Me(e,o)),u=s===t}if(u){l=o;break}}return l}function Ja(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},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 Qa(e,t,r){return{inheritAttrs:!0,props:{...te,...oe,...an},emits:["change","update:modelValue"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),u=a.ref(null),s=a.ref(null),c=(x,p,v,w=!0)=>{const A=Xa(n,x,p,v);if(A===null){if(s.value===null)return;s.value=null,u.value=null,w&&(o("update:modelValue",null),o("change",null));return}if(!rr(n,A,s.value)){u.value=x;const P=a.toRaw(A);s.value=P;let m=null;n.valueType==="text"?m=Me(n,P):n.valueType==="item"?m=P:m=He(n,P),w&&(o("update:modelValue",m),o("change",m))}},i=a.ref([]),d=Za();a.watch([()=>n.source,()=>n.params],async([x,p])=>{if(x){const v=await d.load("radio",x,p);if(v.length>0)if(typeof v[0]=="string"){let C=v.map(P=>Ja(P));i.value=C}else i.value=v}},{immediate:!0}),a.watch([()=>i.value,()=>n.modelValue],([x,p])=>{c(p,n.valueType,x,!1)});const h=ce(a.computed(()=>n.disabled)),b=ue(a.computed(()=>n.readonly)),j=e,N=a.computed(()=>({[j]:!0})),E=x=>{c(x,"value",i.value,!0)};let y=W(n,"hintText"),T=W(n,"hintVisible");const R=x=>{const p=[];return x.forEach((v,w)=>{const A=He(n,v),C=Me(n,v),P=_.toBoolean(v.disabled),D={key:`${A}_${w}`,class:n.itemClass,label:A,disabled:P,size:n.size,border:_.toBoolean(n.border)};n.itemType==="button"?p.push(a.h(f.ElRadioButton,D,{default:()=>[C]})):p.push(a.h(f.ElRadio,D,{default:()=>[C]}))}),p};return()=>{const p={...l.attrs,class:N.value,disabled:h.value||b.value,modelValue:u.value,["text-color"]:n.textColor,fill:n.fill,onChange:E},v=[],w={};l.slots.options?w.default=l.slots.options:w.default=()=>R(i.value);const A=a.h(f.ElRadioGroup,p,w);v.push(A);const C={default:()=>v};if(l.slots.default){const B=l.slots.default();C.label=()=>B}const m={...ae(n,an),hintText:y.value,hintVisible:T.value,prop:`${n.prop??n.name}_item`};return a.h(r,m,C)}}}}const{componentName:eo,create:to,scope:no}=G("radio-item"),lr=to(Qa(eo,no,le));function De(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}class ro{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 l=Ce(this.proxy,t);return l===null?(console.error(`${t} component not found api function`),[]):(_.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await l(r,n))}}function lo(){const e=a.getCurrentInstance();return new ro(e.proxy)}function ar(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=De(e,t),l=De(e,r);if(n!==l)return!1;const o=Ie(e,t),u=Ie(e,r);return o===u}function ao(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const l=[];return t.forEach(o=>{for(let u of n){let s=!1;if(r==="text")s=De(e,u)===o;else if(r==="item")s=ar(e,u,o);else{let c=Ie(e,u);c==null&&(c=De(e,u)),s=c===o}if(s){l.push(u);break}}}),l}function oo(e){return{text:e,value:e}}const on={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 io(e,t,r){return{inheritAttrs:!1,props:{...te,...oe,...on},emits:["change","update:modelValue"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),u=a.ref([]),s=a.ref([]),c=(x,p,v,w=!0)=>{const A=ao(n,x,p,v);if(A===null){if(s.value===null||s.value.length===0)return;u.value=[],s.value=[],w&&(o("update:modelValue",[]),o("change",[]));return}let C=!0;if(A.length!==s.value.length)C=!1;else for(let P=0;P<A.length;P++){const m=A[P],D=s.value[P];if(!ar(n,m,D)){C=!1;break}}if(!C){s.value=A;let P=[],m=[];A.forEach(B=>{P.push(Ie(n,B)),n.valueType==="text"?m.push(De(n,B)):n.valueType==="item"?m.push(B):m.push(Ie(n,B))}),u.value=P;const D=a.toRaw(m);w&&(o("update:modelValue",D),o("change",D))}},i=a.ref([]),d=lo();a.watch([()=>n.source,()=>n.params],async([x,p])=>{if(x){const v=await d.load("checkbox",x,p);if(v.length>0)if(typeof v[0]=="string"){let C=v.map(P=>oo(P));i.value=C}else i.value=v}},{immediate:!0}),a.watch([()=>i.value,()=>n.modelValue],([x,p])=>{c(p,n.valueType,x,!1)});const h=ce(a.computed(()=>n.disabled)),b=ue(a.computed(()=>n.readonly)),j=e,N=a.computed(()=>({[j]:!0})),E=x=>{c(x,"value",i.value,!0)};let y=W(n,"hintText"),T=W(n,"hintVisible");const R=x=>{const p=[];return x.forEach((v,w)=>{const A=Ie(n,v),C=De(n,v),P=_.toBoolean(v.disabled),D={key:`${A}_${w}`,class:n.itemClass,label:A,disabled:P,size:n.size,border:_.toBoolean(n.border)};n.itemType==="button"?p.push(a.h(f.ElCheckboxButton,D,{default:()=>[C]})):p.push(a.h(f.ElCheckbox,D,{default:()=>[C]}))}),p};return()=>{const p={...l.attrs,class:N.value,disabled:h.value||b.value,modelValue:u.value,["text-color"]:n.textColor,fill:n.fill,max:_.toNumber(n.max),min:_.toNumber(n.min),onChange:E},v=[],w={};l.slots.options?w.default=l.slots.options:w.default=()=>R(i.value);const A=a.h(f.ElCheckboxGroup,p,w);v.push(A);const C={default:()=>v};if(l.slots.default){const B=l.slots.default();C.label=()=>B}const m={...ae(n,on),hintText:y.value,hintVisible:T.value,prop:`${n.prop??n.name}_item`};return a.h(r,m,C)}}}}const{componentName:so,create:uo,scope:co}=G("checkbox-item"),or=uo(io(so,co,le)),sn={modelValue:{type:[Number,String],required:!1}};function fo(e,t,r){return{props:{...te,...oe,...sn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),u=ce(a.computed(()=>n.disabled)),s=ue(a.computed(()=>n.readonly)),c=W(n,"modelValue"),i=e,d=a.computed(()=>({[i]:!0})),h=E=>{o("update:modelValue",E),o("change",E)};let b=W(n,"hintText"),j=a.ref(!1);const N=a.ref();return ie({}),()=>{const y={...l.attrs,ref:N,class:d.value,readonly:s.value||u.value,modelValue:c.value,onChange:h},T={},R=[],x=a.h(f.ElRate,y,T);R.push(x);const p={default:()=>R};if(l.slots.default){const C=l.slots.default();p.label=()=>C}const w={...ae(n,sn),hintText:b.value,hintVisible:j.value,prop:`${n.prop}_item`};return a.h(r,w,p)}}}}const{componentName:ho,create:mo,scope:go}=G("rate-item"),ir=mo(fo(ho,go,le)),un={modelValue:{type:[Boolean,String,Number],required:!1}};function po(e,t,r){return{props:{...te,...oe,...un},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,l){const{emitEvent:o}=re({componentName:e},n.prop??n.name),u=ce(a.computed(()=>n.disabled)),s=ue(a.computed(()=>n.readonly)),c=W(n,"modelValue"),i=e,d=a.computed(()=>({[i]:!0})),h=E=>{o("update:modelValue",E),o("change",E)};let b=W(n,"hintText"),j=W(n,"hintVisible");const N=a.ref();return ie({}),()=>{const y={...l.attrs,ref:N,class:d.value,readonly:s.value,disabled:u.value,modelValue:c.value,onChange:h},T={},R=[],x=a.h(f.ElSwitch,y,T);R.push(x);const p={default:()=>R};if(l.slots.default){const C=l.slots.default();p.label=()=>C}const w={...ae(n,un),hintText:b.value,hintVisible:j.value,prop:`${n.prop}_item`};return a.h(r,w,p)}}}}const{componentName:yo,create:bo,scope:vo}=G("switch-item"),sr=bo(po(yo,vo,le)),xo=Symbol.for("InnerPageScopeKey"),wo=Symbol.for("DialogItemStateKey");function $o(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(xo,!0);const l={};a.provide(wo,l);const o=c=>{typeof l.beforeClose=="function"&&l.beforeClose(c)},u=a.ref(!0),s=c=>{u.value=c};return()=>{const i={...n.attrs,title:r.title,draggable:r.draggable,modelValue:u.value,"onUpdate:modelValue":s,"append-to-body":r.appendToBody,"close-on-click-modal":r.closeOnClickModal,"close-on-press-escape":r.closeOnPressEscape,"before-close":o},d={};if(typeof n.slots.default=="function"){const h=n.slots.default();d.default=()=>h}return a.h(f.ElDialog,i,d)}}}}const{componentName:Go,create:So,scope:Wo}=G("dialog-item"),ur=So($o());var pe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},cr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){var r=1e3,n=6e4,l=36e5,o="millisecond",u="second",s="minute",c="hour",i="day",d="week",h="month",b="quarter",j="year",N="date",E="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|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("_")},x=function(O,I,g){var $=String(O);return!$||$.length>=I?O:""+Array(I+1-$.length).join(g)+O},p={s:x,z:function(O){var I=-O.utcOffset(),g=Math.abs(I),$=Math.floor(g/60),S=g%60;return(I<=0?"+":"-")+x($,2,"0")+":"+x(S,2,"0")},m:function O(I,g){if(I.date()<g.date())return-O(g,I);var $=12*(g.year()-I.year())+(g.month()-I.month()),S=I.clone().add($,h),V=g-S<0,M=I.clone().add($+(V?-1:1),h);return+(-($+(g-S)/(V?S-M:M-S))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:h,y:j,w:d,d:i,D:N,h:c,m:s,s:u,ms:o,Q:b}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},v="en",w={};w[v]=R;var A=function(O){return O instanceof D},C=function O(I,g,$){var S;if(!I)return v;if(typeof I=="string"){var V=I.toLowerCase();w[V]&&(S=V),g&&(w[V]=g,S=V);var M=I.split("-");if(!S&&M.length>1)return O(M[0])}else{var F=I.name;w[F]=I,S=F}return!$&&S&&(v=S),S||!$&&v},P=function(O,I){if(A(O))return O.clone();var g=typeof I=="object"?I:{};return g.date=O,g.args=arguments,new D(g)},m=p;m.l=C,m.i=A,m.w=function(O,I){return P(O,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var D=function(){function O(g){this.$L=C(g.locale,null,!0),this.parse(g)}var I=O.prototype;return I.parse=function(g){this.$d=function($){var S=$.date,V=$.utc;if(S===null)return new Date(NaN);if(m.u(S))return new Date;if(S instanceof Date)return new Date(S);if(typeof S=="string"&&!/Z$/i.test(S)){var M=S.match(y);if(M){var F=M[2]-1||0,k=(M[7]||"0").substring(0,3);return V?new Date(Date.UTC(M[1],F,M[3]||1,M[4]||0,M[5]||0,M[6]||0,k)):new Date(M[1],F,M[3]||1,M[4]||0,M[5]||0,M[6]||0,k)}}return new Date(S)}(g),this.$x=g.x||{},this.init()},I.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},I.$utils=function(){return m},I.isValid=function(){return this.$d.toString()!==E},I.isSame=function(g,$){var S=P(g);return this.startOf($)<=S&&S<=this.endOf($)},I.isAfter=function(g,$){return P(g)<this.startOf($)},I.isBefore=function(g,$){return this.endOf($)<P(g)},I.$g=function(g,$,S){return m.u(g)?this[$]:this.set(S,g)},I.unix=function(){return Math.floor(this.valueOf()/1e3)},I.valueOf=function(){return this.$d.getTime()},I.startOf=function(g,$){var S=this,V=!!m.u($)||$,M=m.p(g),F=function(ne,U){var fe=m.w(S.$u?Date.UTC(S.$y,U,ne):new Date(S.$y,U,ne),S);return V?fe:fe.endOf(i)},k=function(ne,U){return m.w(S.toDate()[ne].apply(S.toDate("s"),(V?[0,0,0,0]:[23,59,59,999]).slice(U)),S)},q=this.$W,L=this.$M,K=this.$D,z="set"+(this.$u?"UTC":"");switch(M){case j:return V?F(1,0):F(31,11);case h:return V?F(1,L):F(0,L+1);case d:var de=this.$locale().weekStart||0,se=(q<de?q+7:q)-de;return F(V?K-se:K+(6-se),L);case i:case N:return k(z+"Hours",0);case c:return k(z+"Minutes",1);case s:return k(z+"Seconds",2);case u:return k(z+"Milliseconds",3);default:return this.clone()}},I.endOf=function(g){return this.startOf(g,!1)},I.$set=function(g,$){var S,V=m.p(g),M="set"+(this.$u?"UTC":""),F=(S={},S[i]=M+"Date",S[N]=M+"Date",S[h]=M+"Month",S[j]=M+"FullYear",S[c]=M+"Hours",S[s]=M+"Minutes",S[u]=M+"Seconds",S[o]=M+"Milliseconds",S)[V],k=V===i?this.$D+($-this.$W):$;if(V===h||V===j){var q=this.clone().set(N,1);q.$d[F](k),q.init(),this.$d=q.set(N,Math.min(this.$D,q.daysInMonth())).$d}else F&&this.$d[F](k);return this.init(),this},I.set=function(g,$){return this.clone().$set(g,$)},I.get=function(g){return this[m.p(g)]()},I.add=function(g,$){var S,V=this;g=Number(g);var M=m.p($),F=function(L){var K=P(V);return m.w(K.date(K.date()+Math.round(L*g)),V)};if(M===h)return this.set(h,this.$M+g);if(M===j)return this.set(j,this.$y+g);if(M===i)return F(1);if(M===d)return F(7);var k=(S={},S[s]=n,S[c]=l,S[u]=r,S)[M]||1,q=this.$d.getTime()+g*k;return m.w(q,this)},I.subtract=function(g,$){return this.add(-1*g,$)},I.format=function(g){var $=this,S=this.$locale();if(!this.isValid())return S.invalidDate||E;var V=g||"YYYY-MM-DDTHH:mm:ssZ",M=m.z(this),F=this.$H,k=this.$m,q=this.$M,L=S.weekdays,K=S.months,z=function(U,fe,ye,be){return U&&(U[fe]||U($,V))||ye[fe].slice(0,be)},de=function(U){return m.s(F%12||12,U,"0")},se=S.meridiem||function(U,fe,ye){var be=U<12?"AM":"PM";return ye?be.toLowerCase():be},ne={YY:String(this.$y).slice(-2),YYYY:this.$y,M:q+1,MM:m.s(q+1,2,"0"),MMM:z(S.monthsShort,q,K,3),MMMM:z(K,q),D:this.$D,DD:m.s(this.$D,2,"0"),d:String(this.$W),dd:z(S.weekdaysMin,this.$W,L,2),ddd:z(S.weekdaysShort,this.$W,L,3),dddd:L[this.$W],H:String(F),HH:m.s(F,2,"0"),h:de(1),hh:de(2),a:se(F,k,!0),A:se(F,k,!1),m:String(k),mm:m.s(k,2,"0"),s:String(this.$s),ss:m.s(this.$s,2,"0"),SSS:m.s(this.$ms,3,"0"),Z:M};return V.replace(T,function(U,fe){return fe||ne[U]||M.replace(":","")})},I.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},I.diff=function(g,$,S){var V,M=m.p($),F=P(g),k=(F.utcOffset()-this.utcOffset())*n,q=this-F,L=m.m(this,F);return L=(V={},V[j]=L/12,V[h]=L,V[b]=L/3,V[d]=(q-k)/6048e5,V[i]=(q-k)/864e5,V[c]=q/l,V[s]=q/n,V[u]=q/r,V)[M]||q,S?L:m.a(L)},I.daysInMonth=function(){return this.endOf(h).$D},I.$locale=function(){return w[this.$L]},I.locale=function(g,$){if(!g)return this.$L;var S=this.clone(),V=C(g,$,!0);return V&&(S.$L=V),S},I.clone=function(){return m.w(this.$d,this)},I.toDate=function(){return new Date(this.valueOf())},I.toJSON=function(){return this.isValid()?this.toISOString():null},I.toISOString=function(){return this.$d.toISOString()},I.toString=function(){return this.$d.toUTCString()},O}(),B=D.prototype;return P.prototype=B,[["$ms",o],["$s",u],["$m",s],["$H",c],["$W",i],["$M",h],["$y",j],["$D",N]].forEach(function(O){B[O[1]]=function(I){return this.$g(I,O[0],O[1])}}),P.extend=function(O,I){return O.$i||(O(I,D,P),O.$i=!0),P},P.locale=C,P.isDayjs=A,P.unix=function(O){return P(1e3*O)},P.en=w[v],P.Ls=w,P.p={},P})})(cr);const Se=cr.exports;var fr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,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,l=/\d\d/,o=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,s={},c=function(E){return(E=+E)+(E>68?1900:2e3)},i=function(E){return function(y){this[E]=+y}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(E){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var T=y.match(/([+-]|\d\d)/g),R=60*T[1]+(+T[2]||0);return R===0?0:T[0]==="+"?-R:R}(E)}],h=function(E){var y=s[E];return y&&(y.indexOf?y:y.s.concat(y.f))},b=function(E,y){var T,R=s.meridiem;if(R){for(var x=1;x<=24;x+=1)if(E.indexOf(R(x,0,y))>-1){T=x>12;break}}else T=E===(y?"pm":"PM");return T},j={A:[u,function(E){this.afternoon=b(E,!1)}],a:[u,function(E){this.afternoon=b(E,!0)}],S:[/\d/,function(E){this.milliseconds=100*+E}],SS:[l,function(E){this.milliseconds=10*+E}],SSS:[/\d{3}/,function(E){this.milliseconds=+E}],s:[o,i("seconds")],ss:[o,i("seconds")],m:[o,i("minutes")],mm:[o,i("minutes")],H:[o,i("hours")],h:[o,i("hours")],HH:[o,i("hours")],hh:[o,i("hours")],D:[o,i("day")],DD:[l,i("day")],Do:[u,function(E){var y=s.ordinal,T=E.match(/\d+/);if(this.day=T[0],y)for(var R=1;R<=31;R+=1)y(R).replace(/\[|\]/g,"")===E&&(this.day=R)}],M:[o,i("month")],MM:[l,i("month")],MMM:[u,function(E){var y=h("months"),T=(h("monthsShort")||y.map(function(R){return R.slice(0,3)})).indexOf(E)+1;if(T<1)throw new Error;this.month=T%12||T}],MMMM:[u,function(E){var y=h("months").indexOf(E)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,i("year")],YY:[l,function(E){this.year=c(E)}],YYYY:[/\d{4}/,i("year")],Z:d,ZZ:d};function N(E){var y,T;y=E,T=s&&s.formats;for(var R=(E=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(P,m,D){var B=D&&D.toUpperCase();return m||T[D]||r[D]||T[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(O,I,g){return I||g.slice(1)})})).match(n),x=R.length,p=0;p<x;p+=1){var v=R[p],w=j[v],A=w&&w[0],C=w&&w[1];R[p]=C?{regex:A,parser:C}:v.replace(/^\[|\]$/g,"")}return function(P){for(var m={},D=0,B=0;D<x;D+=1){var O=R[D];if(typeof O=="string")B+=O.length;else{var I=O.regex,g=O.parser,$=P.slice(B),S=I.exec($)[0];g.call(m,S),P=P.replace(S,"")}}return function(V){var M=V.afternoon;if(M!==void 0){var F=V.hours;M?F<12&&(V.hours+=12):F===12&&(V.hours=0),delete V.afternoon}}(m),m}}return function(E,y,T){T.p.customParseFormat=!0,E&&E.parseTwoDigitYear&&(c=E.parseTwoDigitYear);var R=y.prototype,x=R.parse;R.parse=function(p){var v=p.date,w=p.utc,A=p.args;this.$u=w;var C=A[1];if(typeof C=="string"){var P=A[2]===!0,m=A[3]===!0,D=P||m,B=A[2];m&&(B=A[2]),s=this.$locale(),!P&&B&&(s=T.Ls[B]),this.$d=function($,S,V){try{if(["x","X"].indexOf(S)>-1)return new Date((S==="X"?1e3:1)*$);var M=N(S)($),F=M.year,k=M.month,q=M.day,L=M.hours,K=M.minutes,z=M.seconds,de=M.milliseconds,se=M.zone,ne=new Date,U=q||(F||k?1:ne.getDate()),fe=F||ne.getFullYear(),ye=0;F&&!k||(ye=k>0?k-1:ne.getMonth());var be=L||0,ft=K||0,dt=z||0,ht=de||0;return se?new Date(Date.UTC(fe,ye,U,be,ft,dt,ht+60*se.offset*1e3)):V?new Date(Date.UTC(fe,ye,U,be,ft,dt,ht)):new Date(fe,ye,U,be,ft,dt,ht)}catch{return new Date("")}}(v,C,w),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),D&&v!=this.format(C)&&(this.$d=new Date("")),s={}}else if(C instanceof Array)for(var O=C.length,I=1;I<=O;I+=1){A[1]=C[I-1];var g=T.apply(this,A);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}I===O&&(this.$d=new Date(""))}else x.call(this,p)}}})})(fr);const Eo=fr.exports;var dr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n,l){var o=n.prototype,u=o.format;l.en.ordinal=function(s){var c=["th","st","nd","rd"],i=s%100;return"["+s+(c[(i-20)%10]||c[i]||c[0])+"]"},o.format=function(s){var c=this,i=this.$locale();if(!this.isValid())return u.bind(this)(s);var d=this.$utils(),h=(s||"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(b){switch(b){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return i.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return i.ordinal(c.week(),"W");case"w":case"ww":return d.s(c.week(),b==="w"?1:2,"0");case"W":case"WW":return d.s(c.isoWeek(),b==="W"?1:2,"0");case"k":case"kk":return d.s(String(c.$H===0?24:c.$H),b==="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 b}});return u.bind(this)(h)}}})})(dr);const Po=dr.exports;var hr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n,l){var o=n.prototype,u=function(h){return h&&(h.indexOf?h:h.s)},s=function(h,b,j,N,E){var y=h.name?h:h.$locale(),T=u(y[b]),R=u(y[j]),x=T||R.map(function(v){return v.slice(0,N)});if(!E)return x;var p=y.weekStart;return x.map(function(v,w){return x[(w+(p||0))%7]})},c=function(){return l.Ls[l.locale()]},i=function(h,b){return h.formats[b]||function(j){return j.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(N,E,y){return E||y.slice(1)})}(h.formats[b.toUpperCase()])},d=function(){var h=this;return{months:function(b){return b?b.format("MMMM"):s(h,"months")},monthsShort:function(b){return b?b.format("MMM"):s(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(b){return b?b.format("dddd"):s(h,"weekdays")},weekdaysMin:function(b){return b?b.format("dd"):s(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(b){return b?b.format("ddd"):s(h,"weekdaysShort","weekdays",3)},longDateFormat:function(b){return i(h.$locale(),b)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return d.bind(this)()},l.localeData=function(){var h=c();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return l.weekdays()},weekdaysShort:function(){return l.weekdaysShort()},weekdaysMin:function(){return l.weekdaysMin()},months:function(){return l.months()},monthsShort:function(){return l.monthsShort()},longDateFormat:function(b){return i(h,b)},meridiem:h.meridiem,ordinal:h.ordinal}},l.months=function(){return s(c(),"months")},l.monthsShort=function(){return s(c(),"monthsShort","months",3)},l.weekdays=function(h){return s(c(),"weekdays",null,null,h)},l.weekdaysShort=function(h){return s(c(),"weekdaysShort","weekdays",3,h)},l.weekdaysMin=function(h){return s(c(),"weekdaysMin","weekdays",2,h)}}})})(hr);const Oo=hr.exports;var mr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){var r="week",n="year";return function(l,o,u){var s=o.prototype;s.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var i=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=u(this).startOf(n).add(1,n).date(i),h=u(this).endOf(r);if(d.isBefore(h))return 1}var b=u(this).startOf(n).date(i).startOf(r).subtract(1,"millisecond"),j=this.diff(b,r,!0);return j<0?u(this).startOf("week").week():Math.ceil(j)},s.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(mr);const Co=mr.exports;var gr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n){n.prototype.weekYear=function(){var l=this.month(),o=this.week(),u=this.year();return o===1&&l===11?u+1:l===0&&o>=52?u-1:u}}})})(gr);const Vo=gr.exports;var pr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n,l){n.prototype.dayOfYear=function(o){var u=Math.round((l(this).startOf("day")-l(this).startOf("year"))/864e5)+1;return o==null?u:this.add(o-u,"day")}}})})(pr);const No=pr.exports;var yr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n){n.prototype.isSameOrAfter=function(l,o){return this.isSame(l,o)||this.isAfter(l,o)}}})})(yr);const To=yr.exports;var br={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n){n.prototype.isSameOrBefore=function(l,o){return this.isSame(l,o)||this.isBefore(l,o)}}})})(br);const Ao=br.exports;Se.extend(Oo);Se.extend(Po);Se.extend(Eo);Se.extend(Co);Se.extend(Vo);Se.extend(No);Se.extend(To);Se.extend(Ao);const Io=[An,In,Rn,jn,Dn,le,Bn,_n,ct,Ln,Gn,Wn,Yn,Un,Zn,Jn,Qn,tr,nr,lr,or,ir,sr,ur,et,Dt],Ro=new Gr(Io,[Ur],"4.0.0");Object.defineProperty(exports,"clone",{enumerable:!0,get:()=>_.clone});Object.defineProperty(exports,"extend",{enumerable:!0,get:()=>_.extend});Object.defineProperty(exports,"isArray",{enumerable:!0,get:()=>_.isArray});Object.defineProperty(exports,"isDate",{enumerable:!0,get:()=>_.isDate});Object.defineProperty(exports,"isESModule",{enumerable:!0,get:()=>_.isESModule});Object.defineProperty(exports,"isEqual",{enumerable:!0,get:()=>_.isEqual});Object.defineProperty(exports,"isFunction",{enumerable:!0,get:()=>_.isFunction});Object.defineProperty(exports,"isMap",{enumerable:!0,get:()=>_.isMap});Object.defineProperty(exports,"isObject",{enumerable:!0,get:()=>_.isObject});Object.defineProperty(exports,"isPlainObject",{enumerable:!0,get:()=>_.isPlainObject});Object.defineProperty(exports,"isPromise",{enumerable:!0,get:()=>_.isPromise});Object.defineProperty(exports,"isSet",{enumerable:!0,get:()=>_.isSet});Object.defineProperty(exports,"isString",{enumerable:!0,get:()=>_.isString});Object.defineProperty(exports,"isSymbol",{enumerable:!0,get:()=>_.isSymbol});Object.defineProperty(exports,"toBoolean",{enumerable:!0,get:()=>_.toBoolean});Object.defineProperty(exports,"toNumber",{enumerable:!0,get:()=>_.toNumber});Object.defineProperty(exports,"toTypeString",{enumerable:!0,get:()=>_.toTypeString});Object.defineProperty(exports,"FoxAffix",{enumerable:!0,get:()=>f.ElAffix});Object.defineProperty(exports,"FoxAlert",{enumerable:!0,get:()=>f.ElAlert});Object.defineProperty(exports,"FoxAside",{enumerable:!0,get:()=>f.ElAside});Object.defineProperty(exports,"FoxAutoResizer",{enumerable:!0,get:()=>f.ElAutoResizer});Object.defineProperty(exports,"FoxAutocomplete",{enumerable:!0,get:()=>f.ElAutocomplete});Object.defineProperty(exports,"FoxAvatar",{enumerable:!0,get:()=>f.ElAvatar});Object.defineProperty(exports,"FoxBacktop",{enumerable:!0,get:()=>f.ElBacktop});Object.defineProperty(exports,"FoxBadge",{enumerable:!0,get:()=>f.ElBadge});Object.defineProperty(exports,"FoxBreadcrumb",{enumerable:!0,get:()=>f.ElBreadcrumb});Object.defineProperty(exports,"FoxBreadcrumbItem",{enumerable:!0,get:()=>f.ElBreadcrumbItem});Object.defineProperty(exports,"FoxButton",{enumerable:!0,get:()=>f.ElButton});Object.defineProperty(exports,"FoxButtonGroup",{enumerable:!0,get:()=>f.ElButtonGroup});Object.defineProperty(exports,"FoxCalendar",{enumerable:!0,get:()=>f.ElCalendar});Object.defineProperty(exports,"FoxCard",{enumerable:!0,get:()=>f.ElCard});Object.defineProperty(exports,"FoxCarousel",{enumerable:!0,get:()=>f.ElCarousel});Object.defineProperty(exports,"FoxCarouselItem",{enumerable:!0,get:()=>f.ElCarouselItem});Object.defineProperty(exports,"FoxCascader",{enumerable:!0,get:()=>f.ElCascader});Object.defineProperty(exports,"FoxCascaderPanel",{enumerable:!0,get:()=>f.ElCascaderPanel});Object.defineProperty(exports,"FoxCheckTag",{enumerable:!0,get:()=>f.ElCheckTag});Object.defineProperty(exports,"FoxCheckbox",{enumerable:!0,get:()=>f.ElCheckbox});Object.defineProperty(exports,"FoxCheckboxButton",{enumerable:!0,get:()=>f.ElCheckboxButton});Object.defineProperty(exports,"FoxCheckboxGroup",{enumerable:!0,get:()=>f.ElCheckboxGroup});Object.defineProperty(exports,"FoxCol",{enumerable:!0,get:()=>f.ElCol});Object.defineProperty(exports,"FoxCollapse",{enumerable:!0,get:()=>f.ElCollapse});Object.defineProperty(exports,"FoxCollapseItem",{enumerable:!0,get:()=>f.ElCollapseItem});Object.defineProperty(exports,"FoxCollapseTransition",{enumerable:!0,get:()=>f.ElCollapseTransition});Object.defineProperty(exports,"FoxColorPicker",{enumerable:!0,get:()=>f.ElColorPicker});Object.defineProperty(exports,"FoxConfigProvider",{enumerable:!0,get:()=>f.ElConfigProvider});Object.defineProperty(exports,"FoxContainer",{enumerable:!0,get:()=>f.ElContainer});Object.defineProperty(exports,"FoxDatePicker",{enumerable:!0,get:()=>f.ElDatePicker});Object.defineProperty(exports,"FoxDescriptions",{enumerable:!0,get:()=>f.ElDescriptions});Object.defineProperty(exports,"FoxDescriptionsItem",{enumerable:!0,get:()=>f.ElDescriptionsItem});Object.defineProperty(exports,"FoxDialog",{enumerable:!0,get:()=>f.ElDialog});Object.defineProperty(exports,"FoxDivider",{enumerable:!0,get:()=>f.ElDivider});Object.defineProperty(exports,"FoxDrawer",{enumerable:!0,get:()=>f.ElDrawer});Object.defineProperty(exports,"FoxDropdown",{enumerable:!0,get:()=>f.ElDropdown});Object.defineProperty(exports,"FoxDropdownItem",{enumerable:!0,get:()=>f.ElDropdownItem});Object.defineProperty(exports,"FoxDropdownMenu",{enumerable:!0,get:()=>f.ElDropdownMenu});Object.defineProperty(exports,"FoxEmpty",{enumerable:!0,get:()=>f.ElEmpty});Object.defineProperty(exports,"FoxFooter",{enumerable:!0,get:()=>f.ElFooter});Object.defineProperty(exports,"FoxForm",{enumerable:!0,get:()=>f.ElForm});Object.defineProperty(exports,"FoxFormItem",{enumerable:!0,get:()=>f.ElFormItem});Object.defineProperty(exports,"FoxHeader",{enumerable:!0,get:()=>f.ElHeader});Object.defineProperty(exports,"FoxIcon",{enumerable:!0,get:()=>f.ElIcon});Object.defineProperty(exports,"FoxImage",{enumerable:!0,get:()=>f.ElImage});Object.defineProperty(exports,"FoxImageViewer",{enumerable:!0,get:()=>f.ElImageViewer});Object.defineProperty(exports,"FoxInput",{enumerable:!0,get:()=>f.ElInput});Object.defineProperty(exports,"FoxInputNumber",{enumerable:!0,get:()=>f.ElInputNumber});Object.defineProperty(exports,"FoxLink",{enumerable:!0,get:()=>f.ElLink});Object.defineProperty(exports,"FoxMain",{enumerable:!0,get:()=>f.ElMain});Object.defineProperty(exports,"FoxMenu",{enumerable:!0,get:()=>f.ElMenu});Object.defineProperty(exports,"FoxMenuItem",{enumerable:!0,get:()=>f.ElMenuItem});Object.defineProperty(exports,"FoxMenuItemGroup",{enumerable:!0,get:()=>f.ElMenuItemGroup});Object.defineProperty(exports,"FoxOption",{enumerable:!0,get:()=>f.ElOption});Object.defineProperty(exports,"FoxOptionGroup",{enumerable:!0,get:()=>f.ElOptionGroup});Object.defineProperty(exports,"FoxPageHeader",{enumerable:!0,get:()=>f.ElPageHeader});Object.defineProperty(exports,"FoxPagination",{enumerable:!0,get:()=>f.ElPagination});Object.defineProperty(exports,"FoxPopconfirm",{enumerable:!0,get:()=>f.ElPopconfirm});Object.defineProperty(exports,"FoxPopover",{enumerable:!0,get:()=>f.ElPopover});Object.defineProperty(exports,"FoxPopper",{enumerable:!0,get:()=>f.ElPopper});Object.defineProperty(exports,"FoxProgress",{enumerable:!0,get:()=>f.ElProgress});Object.defineProperty(exports,"FoxRadio",{enumerable:!0,get:()=>f.ElRadio});Object.defineProperty(exports,"FoxRadioButton",{enumerable:!0,get:()=>f.ElRadioButton});Object.defineProperty(exports,"FoxRadioGroup",{enumerable:!0,get:()=>f.ElRadioGroup});Object.defineProperty(exports,"FoxRate",{enumerable:!0,get:()=>f.ElRate});Object.defineProperty(exports,"FoxResult",{enumerable:!0,get:()=>f.ElResult});Object.defineProperty(exports,"FoxRow",{enumerable:!0,get:()=>f.ElRow});Object.defineProperty(exports,"FoxScrollbar",{enumerable:!0,get:()=>f.ElScrollbar});Object.defineProperty(exports,"FoxSelect",{enumerable:!0,get:()=>f.ElSelect});Object.defineProperty(exports,"FoxSelectV2",{enumerable:!0,get:()=>f.ElSelectV2});Object.defineProperty(exports,"FoxSkeleton",{enumerable:!0,get:()=>f.ElSkeleton});Object.defineProperty(exports,"FoxSkeletonItem",{enumerable:!0,get:()=>f.ElSkeletonItem});Object.defineProperty(exports,"FoxSlider",{enumerable:!0,get:()=>f.ElSlider});Object.defineProperty(exports,"FoxSpace",{enumerable:!0,get:()=>f.ElSpace});Object.defineProperty(exports,"FoxStep",{enumerable:!0,get:()=>f.ElStep});Object.defineProperty(exports,"FoxSteps",{enumerable:!0,get:()=>f.ElSteps});Object.defineProperty(exports,"FoxSubMenu",{enumerable:!0,get:()=>f.ElSubMenu});Object.defineProperty(exports,"FoxSwitch",{enumerable:!0,get:()=>f.ElSwitch});Object.defineProperty(exports,"FoxTabPane",{enumerable:!0,get:()=>f.ElTabPane});Object.defineProperty(exports,"FoxTable",{enumerable:!0,get:()=>f.ElTable});Object.defineProperty(exports,"FoxTableColumn",{enumerable:!0,get:()=>f.ElTableColumn});Object.defineProperty(exports,"FoxTableV2",{enumerable:!0,get:()=>f.ElTableV2});Object.defineProperty(exports,"FoxTabs",{enumerable:!0,get:()=>f.ElTabs});Object.defineProperty(exports,"FoxTag",{enumerable:!0,get:()=>f.ElTag});Object.defineProperty(exports,"FoxTimePicker",{enumerable:!0,get:()=>f.ElTimePicker});Object.defineProperty(exports,"FoxTimeSelect",{enumerable:!0,get:()=>f.ElTimeSelect});Object.defineProperty(exports,"FoxTimeline",{enumerable:!0,get:()=>f.ElTimeline});Object.defineProperty(exports,"FoxTimelineItem",{enumerable:!0,get:()=>f.ElTimelineItem});Object.defineProperty(exports,"FoxTooltip",{enumerable:!0,get:()=>f.ElTooltip});Object.defineProperty(exports,"FoxTransfer",{enumerable:!0,get:()=>f.ElTransfer});Object.defineProperty(exports,"FoxTree",{enumerable:!0,get:()=>f.ElTree});Object.defineProperty(exports,"FoxTreeSelect",{enumerable:!0,get:()=>f.ElTreeSelect});Object.defineProperty(exports,"FoxTreeV2",{enumerable:!0,get:()=>f.ElTreeV2});Object.defineProperty(exports,"FoxUpload",{enumerable:!0,get:()=>f.ElUpload});exports.AutocompleteItem=Qn;exports.Broadcast=It;exports.BroadcastKey=X;exports.CascaderItem=Jn;exports.CheckboxItem=or;exports.Content=jn;exports.DataItemsKey=Ne;exports.DateItem=Wn;exports.DialogItem=ur;exports.Domain=jt;exports.DomainKey=ve;exports.FooterBar=Rn;exports.Group=Dn;exports.HeaderBar=In;exports.HintText=ct;exports.InputItem=Ln;exports.Item=le;exports.Mapping=Dt;exports.MoneyItem=Zn;exports.Page=An;exports.Price=et;exports.PriorityPolicy=Ze;exports.RadioItem=lr;exports.RateItem=ir;exports.RowItem=_n;exports.SelectItem=Gn;exports.SlotItem=Bn;exports.SwitchItem=sr;exports.TableItem=nr;exports.TableMappingColumn=tr;exports.TimeItem=Yn;exports.TimeSelectItem=Un;exports.UniqueID=kn;exports.ValidateSchema=Sn;exports.ValidateSchemaKey=me;exports.clearNonNumber=Sr;exports.compareTo=St;exports.createBroadcast=nt;exports.createValidateSchema=rt;exports.debounce=Fr;exports.decimalLength=yn;exports.default=Ro;exports.defineBroadcast=Vr;exports.defineDataItem=En;exports.defineDomain=Mt;exports.defineItem=re;exports.definePageState=Pn;exports.deleteGlobalValidator=Ir;exports.disabledProperty=ce;exports.divide=Tt;exports.excludeProps=ae;exports.floatData=Cr;exports.getGlobalValidateCheckEvents=xn;exports.getGlobalValidateResetEvents=$n;exports.getPageContentAreaHeight=Ye;exports.getPageContentAreaWidth=Ue;exports.getPageFooterAreaHeight=ot;exports.getPageHeaderAreaHeight=at;exports.getRootDomain=_e;exports.includeProps=Or;exports.indexOf=Er;exports.integerLength=pn;exports.isBrowser=Ke;exports.isEmptyString=Z;exports.isInnerPage=qr;exports.isNumberString=gn;exports.isRegExp=mn;exports.isSubPage=Br;exports.lastIndexOf=Pr;exports.multiply=fn;exports.negate=dn;exports.numberFormat=At;exports.property=Re;exports.raf=$r;exports.readonlyProperty=ue;exports.setGlobalValidateCheckEvents=Rr;exports.setGlobalValidateHandler=Tr;exports.setGlobalValidateMessages=Mr;exports.setGlobalValidateResetEvents=jr;exports.setGlobalValidator=Ar;exports.throttle=Rt;exports.toPadding=he;exports.toPx=J;exports.toPxDesc=Q;exports.toValue=W;exports.unNumberFormat=hn;exports.updatePageState=Et;exports.useBroadcast=Be;exports.useDomain=$e;exports.useExpose=ie;exports.usePageState=lt;exports.usePosition=qn;exports.useRect=Qe;exports.valueLength=tt;