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