@fox-js/foxui-pc 4.0.1-21 → 4.0.1-22
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 +2 -2
- package/dist/index.esm.js +1152 -1127
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
* @fox-js/foxui-desktop v4.0.0
|
|
1
|
+
(function(d,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue"),require("@fox-js/validator"),require("element-plus"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/validator","element-plus","@fox-js/i18n"],l):(d=typeof globalThis<"u"?globalThis:d||self,l(d.FoxUI={},d.Vue,d.FoxValidator,d.ElementPlus,d.FoxI18n))})(this,function(d,l,Ve,g,ye){"use strict";/*!
|
|
2
|
+
* @fox-js/foxui-desktop v4.0.0 Sun Feb 26 2023 15:46:38 GMT+0800 (中国标准时间)
|
|
3
3
|
*//*!
|
|
4
4
|
* @fox-js/big-decimal v4.0.1-5 Mon Jan 30 2023 14:39:30 GMT+0800 (中国标准时间)
|
|
5
|
-
*/function et(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=ae(e),t=ae(t),[e,t]=St(ae(e),ae(t)),r==1&&(n==1?e=wt(e):t=wt(t));let a=on(e,t);return r?r==2?"-"+ae(a):e.length<a.length?ae(a.substring(1)):"-"+ae(wt(a)):ae(a)}function wt(e){let t="",r=e.length,n=e.split(".")[1],a=n?n.length:0;for(let i=0;i<r;i++)e[i]>="0"&&e[i]<="9"?t+=9-parseInt(e[i]):t+=e[i];let o=a>0?"0."+new Array(a).join("0")+"1":"1";return on(t,o)}function ae(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 St(e,t){let r=e.split("."),n=t.split("."),a=r[0].length,o=n[0].length;return a>o?n[0]=new Array(Math.abs(a-o)+1).join("0")+(n[0]?n[0]:""):r[0]=new Array(Math.abs(a-o)+1).join("0")+(r[0]?r[0]:""),a=r[1]?r[1].length:0,o=n[1]?n[1].length:0,(a||o)&&(a>o?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(a-o)+1).join("0"):r[1]=(r[1]?r[1]:"")+new Array(Math.abs(a-o)+1).join("0")),e=r[0]+(r[1]?"."+r[1]:""),t=n[0]+(n[1]?"."+n[1]:""),[e,t]}function on(e,t){[e,t]=St(e,t);let r="",n=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){r="."+r;continue}let o=parseInt(e[a])+parseInt(t[a])+n;r=o%10+r,n=Math.floor(o/10)}return n?n.toString()+r:r}var Q=(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))(Q||{});function ze(e,t=0,r=Q.HALF_EVEN){if(r===Q.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let n=!1;e[0]==="-"&&(n=!0,e=e.substring(1));let a=e.split("."),o=a[0],i=a[1];if(t<0){if(t=-t,o.length<=t)return"0";{let s=o.substr(0,o.length-t);return e=s+"."+o.substr(o.length-t)+i,s=ze(e,0,r),(n?"-":"")+s+new Array(t+1).join("0")}}if(t==0)return o.length,sn(a[1],o,n,r)?(n?"-":"")+$t(o):(n?"-":"")+o;if(a[1]){if(a[1].length<t)return(n?"-":"")+o+"."+a[1]+new Array(t-a[1].length+1).join("0")}else return(n?"-":"")+o+"."+new Array(t+1).join("0");i=a[1].substring(0,t);let u=a[1].substring(t);return u&&sn(u,i,n,r)&&(i=$t(i),i.length>t)?(n?"-":"")+$t(o,parseInt(i[0]))+"."+i.substring(1):(n?"-":"")+o+"."+i}function sn(e,t,r,n){if(!e||e===new Array(e.length+1).join("0")||n===Q.DOWN||!r&&n===Q.FLOOR||r&&n===Q.CEILING)return!1;if(n===Q.UP||r&&n===Q.FLOOR||!r&&n===Q.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(n){case Q.HALF_DOWN:return!1;case Q.HALF_UP:return!0;case Q.HALF_EVEN:default:return parseInt(t[t.length-1])%2==1}}function $t(e,t=0){t||(t=1),typeof e=="number"&&e.toString();let r=e.length-1,n="";for(let a=r;a>=0;a--){let o=parseInt(e[a])+t;o==10?(t=1,o=0):t=0,n+=o}return t&&(n+=t),n.split("").reverse().join("")}function vt(e,t){e=e.toString(),t=t.toString();let r=0;e[0]=="-"&&(r++,e=e.substr(1)),t[0]=="-"&&(r++,t=t.substr(1)),e=Ge(e),t=Ge(t);let n=0,a=0;e.indexOf(".")!=-1&&(n=e.length-e.indexOf(".")-1),t.indexOf(".")!=-1&&(a=t.length-t.indexOf(".")-1);let o=n+a;if(e=Ge(e.replace(".","")),t=Ge(t.replace(".","")),e.length<t.length){let h=e;e=t,t=h}if(t=="0")return"0";let i=t.length,u=0,s=[],d=i-1,c="";for(let h=0;h<i;h++)s[h]=e.length-1;for(let h=0;h<2*e.length;h++){let v=0;for(let A=t.length-1;A>=d&&A>=0;A--)s[A]>-1&&s[A]<e.length&&(v+=parseInt(e[s[A]--])*parseInt(t[A]));v+=u,u=Math.floor(v/10),c=v%10+c,d--}return c=Ge(Hr(c,o)),r==1&&(c="-"+c),c}function Hr(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 Ge(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 Et(e,t,r=8){if(t==0)throw new Error("Cannot divide by 0");if(e=e.toString(),t=t.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let n=0;t[0]=="-"&&(t=t.substring(1),n++),e[0]=="-"&&(e=e.substring(1),n++);var a=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(t=ae(t.replace(".","")),a>=0){let d=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(d==-1)e=ae(e+new Array(a+1).join("0"));else if(a>d)e=e.replace(".",""),e=ae(e+new Array(a-d+1).join("0"));else if(a<d){e=e.replace(".","");let c=e.length-d+a;e=ae(e.substring(0,c)+"."+e.substring(c))}else a==d&&(e=ae(e.replace(".","")))}let o=0,i=t.length,u="",s=e.indexOf(".")>-1&&e.indexOf(".")<i?e.substring(0,i+1):e.substring(0,i);if(e=e.indexOf(".")>-1&&e.indexOf(".")<i?e.substring(i+1):e.substring(i),s.indexOf(".")>-1){let d=s.length-s.indexOf(".")-1;s=s.replace(".",""),i>s.length&&(d+=i-s.length,s=s+new Array(i-s.length+1).join("0")),o=d,u="0."+new Array(d).join("0")}for(r=r+2;o<=r;){let d=0;for(;parseInt(s)>=parseInt(t);)s=et(s,"-"+t),d++;u+=d,e?(e[0]=="."&&(u+=".",o++,e=e.substring(1)),s=s+e.substring(0,1),e=e.substring(1)):(o||(u+="."),o++,s=s+"0")}return(n==1?"-":"")+ae(ze(u,r-2))}function xt(e,t){return e=e.toString(),t=t.toString(),t=Ct(t),et(e,t)}function Ct(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function un(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),cn(e),cn(t);let r="";e[0]=="-"&&(r="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let n=xt(e,vt(t,ze(Et(e,t),0,Q.FLOOR)));return r+n}function cn(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function fn(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]=St(e,t),e.localeCompare(t)==0)return 0;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return e[n]>t[n]?r?-1:1:r?1:-1;return 0}class H{value;static RoundingModes=Q;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=ae(r);let a="";r[0]=="-"&&(a="-",r=r.substring(1)),r.indexOf(".")>=0?(n=parseInt(n)+r.indexOf("."),r=r.replace(".","")):n=parseInt(n)+r.length,r.length<n?t=a+r+new Array(n-r.length+1).join("0"):r.length>=n&&n>0?t=a+ae(r.substring(0,n))+(r.length>n?"."+r.substring(n):""):t=a+"0."+new Array(-n+1).join("0")+r}return t}constructor(t="0"){this.value=H.validate(t)}getValue(){return this.value}static getPrettyValue(t,r,n){if(!(r||n))r=3,n=",";else if(!(r&&n))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");t=H.validate(t);let a=t.charAt(0)=="-";a&&(t=t.substring(1));var o=t.indexOf(".");o=o>0?o:t.length;for(var i="",u=o;u>0;)u<r?(r=u,u=0):u-=r,i=t.substring(u,u+r)+(u<o-r&&u>=0?n:"")+i;return(a?"-":"")+i+t.substring(o)}getPrettyValue(t,r){return H.getPrettyValue(this.value,t,r)}static round(t,r=0,n=Q.HALF_EVEN){if(t=H.validate(t),isNaN(r))throw Error("Precision is not a number: "+r);return ze(t,r,n)}round(t=0,r=Q.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new H(ze(this.value,t,r))}static floor(t){return t=H.validate(t),t.indexOf(".")===-1?t:H.round(t,0,Q.FLOOR)}floor(){return this.value.indexOf(".")===-1?new H(this.value):new H(this.value).round(0,Q.FLOOR)}static ceil(t){return t=H.validate(t),t.indexOf(".")===-1?t:H.round(t,0,Q.CEILING)}ceil(){return this.value.indexOf(".")===-1?new H(this.value):new H(this.value).round(0,Q.CEILING)}static add(t,r){return t=H.validate(t),r=H.validate(r),et(t,r)}add(t){return new H(et(this.value,t.getValue()))}static subtract(t,r){return t=H.validate(t),r=H.validate(r),xt(t,r)}subtract(t){return new H(xt(this.value,t.getValue()))}static multiply(t,r){return t=H.validate(t),r=H.validate(r),vt(t,r)}multiply(t){return new H(vt(this.value,t.getValue()))}static divide(t,r,n){return t=H.validate(t),r=H.validate(r),Et(t,r,n)}divide(t,r){return new H(Et(this.value,t.getValue(),r))}static modulus(t,r){return t=H.validate(t),r=H.validate(r),un(t,r)}modulus(t){return new H(un(this.value,t.getValue()))}static compareTo(t,r){return t=H.validate(t),r=H.validate(r),fn(t,r)}compareTo(t){return fn(this.value,t.getValue())}static negate(t){return t=H.validate(t),Ct(t)}negate(){return new H(Ct(this.value))}}function dn(e,t){return H.multiply(`${e}`,`${t}`)}function Ot(e,t,r=8){return H.divide(`${e}`,`${t}`,r)}function Tt(e,t){return e=`${e}`,t=`${t}`,H.compareTo(e,t)}function hn(e){return H.negate(e)}function Vt(e,t=-1,r=!1,n=3,a=","){let o=`${e}`;if(o.length==0||o==="-")return"";let i=o.charAt(0);i=="-"?o=o.substring(1):i="";let u=o,s="",d=o.indexOf(".");d!=-1&&(u=o.substring(0,d),s=o.substring(d+1)),t!=-1&&(t<s.length?s=s.substring(0,t):r&&t>s.length&&(s=s.padEnd(t,"0")));let c;if(n>0){let h="",v=u.split("").reverse();for(let A=0;A<v.length;A++)h+=v[A]+((A+1)%n==0&&A+1!=v.length?a:"");s.length==0?c=`${i}${h.split("").reverse().join("")}`:c=`${i}${h.split("").reverse().join("")}.${s}`}else s.length==0?c=`${i}${u}`:c=`${i}${u}.${s}`;return c}function gn(e){let t=`${e}`,r=t.charAt(0);r=="-"?t=t.substring(1):r="";let n=t.replace(/[^\d\.-]/g,"");return`${r}${n}`}const Kr=Array.isArray,zr=e=>tt(e)==="[object Map]",Gr=e=>tt(e)==="[object Set]",Yr=e=>e instanceof Date,It=e=>typeof e=="function",Wr=e=>typeof e=="string",Ur=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",Xr=e=>Se(e)&&It(e.then)&&It(e.catch),mn=Object.prototype.toString,tt=e=>mn.call(e),Nt=e=>tt(e)==="[object Object]",yn=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Zr(e){return e.__esModule||yn&&e[Symbol.toStringTag]==="Module"}const Jr=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function Ie(...e){let t=e[0]!==void 0&&e[0]!==null?e[0]:{},r=1,n=e.length,a=!1;for(typeof t=="boolean"&&(a=t,t=e[r]??{},r++),typeof t!="object"&&(t={});r<n;r++)if(e[r]!==null&&e[r]!==void 0){let o=e[r];for(let i in o){let u=t[i],s=o[i];if(u!==s)if(a===!0&&s&&typeof s=="object"){let d;Array.isArray(s)?d=u&&Array.isArray(u)?u:[]:d=u&&typeof u=="object"?u:{},t[i]=Ie(a,d,s)}else s!==void 0&&(t[i]=s)}}return t}function At(e,t,r=!1){if(!r)Ie(!0,e,t);else{if(typeof t!="object")return{};typeof e!="object"&&(e={});for(let a in t){let o=e[a],i=t[a];if(o!==i)if(typeof i=="object"){if(!Array.isArray(i)&&!Nt(i))continue;o=At(o,i,r),e[a]=o}else{if(typeof i=="function")continue;e[a]=i}}const n=Object.getOwnPropertySymbols(t);for(let a of n){let o=e[a],i=t[a];if(o!==i)if(typeof i=="object"){if(!Array.isArray(i)&&!Nt(i))continue;o=At(o,i,r),e[a]=o}else{if(typeof i=="function")continue;e[a]=i}}}return e}const Rt=Jr?Promise.resolve():null;function Qr(e,...t){Rt!==null?t&&t.length>0?Rt.then(()=>{e(t)}):Rt.then(e):t&&t.length>0?setTimeout(()=>{e(t)}):setTimeout(e)}function se(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":Boolean(e)}function Z(e){return typeof e=="number"?e:Number(e)}const ea={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Object]":"object"};function nt(e){let r=Object.prototype.toString.call(e);return e==null?String(e):ea[r]||"object"}function pn(e){return e&&typeof e=="object"&&"setInterval"in e}function bn(e){let t=!!e&&"length"in e&&e.length,r=nt(e);return r==="function"||pn(e)?!1:r==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function wn(e,t){let r=+t.length,n=0,a=e.length;for(;n<r;n++)e[a++]=t[n];return e.length=a,e}function ta(e,t=[]){let r=t;return e!=null&&(bn(Object(e))?wn(r,typeof e=="string"?[e]:e):r.push(e)),r}function Ne(e,t){if(e==t)return!0;if(e===void 0||t===void 0)return!1;let r=nt(e),n=nt(t);if(r!==n)return!1;if(r==="object"){let a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(let i=0;i<a.length;i++){let u=a[i],s=e[u],d=t[u];if(!Ne(s,d))return!1}return!0}else if(r==="array"){if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++){let o=e[a],i=t[a];if(!Ne(o,i))return!1}return!0}return!1}const Ye=typeof window<"u",na=Ye&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Sn(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ee=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function $n(e){return ee(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ee(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function vn(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 En(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 xn(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 ra(e,t=!0,r=!0){t?e=xn(e,".",/\./g):e=e.replace(/\./g,""),r?e=xn(e,"-",/-/g):e=e.replace(/-/,"");const n=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function aa(e,t){return typeof e=="object"||Array.isArray(e)?t.findIndex(r=>{if(Ne(e,r))return!0}):t.indexOf(e)}function la(e,t){if(typeof e=="object"||Array.isArray(e)){let r=t.reverse().findIndex(n=>{if(Ne(e,n))return!0});return r!==-1&&(r=t.length-1-r),r}return t.lastIndexOf(e)}function We(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function oa(e,...t){const r={};return t.forEach(n=>{for(const a in n)r[a]=e[a]}),r}function ue(e,...t){const r=[];t.forEach(a=>{Reflect.apply([].push,r,Reflect.ownKeys(a))});const n={};for(const a in e)r.includes(a)||(n[a]=e[a]);return n}const ia=(e,t,r)=>{const n=Object.assign({},e),a=Object.assign({},r);return Object.keys(t).length>0?(Object.keys(n).forEach(o=>{a.hasOwnProperty(o)?typeof a[o]=="string"&&(n[o]=t[a[o]]):t[o]&&(n[o]=t[o])}),n):e},ne=Symbol.for("BroadcastKey");class kt{parent;children=[];callbacks=new Map;proxy=null;name;constructor(t,r,n){this.parent=t,this.proxy=r,this.name=n,t!==null&&t.addChild(this)}addChild(t){this.children.push(t)}removeChild(t){const r=this.children.findIndex(n=>t===n);r!==-1&&this.children.splice(r,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(t,r,...n){if(t.maxLevel!==void 0&&t.maxLevel!==null&&t.maxLevel>0){if(t.level=t.level??0,t.level>t.maxLevel)return[];t.level++}let a=!1;!t.name||t.name==="*"?a=!0:!t.name||t.name==="+"?(a=!1,t.name="*"):Sn(t.name)&&this.name&&t.name.test(this.name)?a=!0:typeof t.name=="function"?a=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(a=!0);const o=[];if(a){const i=this.callbacks.get(r);if(typeof i=="function"){const s=Reflect.apply(i,this.proxy,[...n]);s!=null&&o.push(s)}const u=this.proxy??{};if(typeof u[r]=="function"){const s=Reflect.apply(u[r],u,[...n]);s!=null&&o.push(s)}}return this.children.forEach(i=>{const u=Reflect.apply(i.emit,i,[{...t},r,...n]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,o,[...u])}),o}emitToChildren(t,r,...n){const a=[];return this.children.forEach(o=>{const i=Reflect.apply(o.emit,o,[{...t},r,...n]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,a,[...i])}),a}on(t,r){this.callbacks.set(t,r)}}function rt(e,t,r,n){const a=new kt(t,e,r);if(n&&typeof n=="object")for(const o in n)a.on(o,n[o]);return a}function sa(e,t,r){const n=r;if(n[ne])return n[ne];const a=l.inject(ne,null),o=new kt(a,r,e);if(t&&typeof t=="object")for(const i in t)o.on(i,t[i]);return n[ne]=o,l.provide(ne,o),l.onUnmounted(()=>{o.destroy(),n[ne]=void 0}),o}function Ue(e=null){return e||(e=l.getCurrentInstance()?.proxy??null),e?e[ne]??l.inject(ne,null):l.inject(ne,null)}const Ae=e=>e.default??e;class ua{error(t,r){const n=r,a=Ue(r);a?a.emit({name:"*"},"setErrorTip",t):typeof n.setErrorTip=="function"&&n.setErrorTip(t)}reset(t){const r=t,n=Ue(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}success(t){const r=t,n=Ue(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}decorate(t,r,n){Array.isArray(t)||(t=[t]);const a=n,o=Ue(n),i=r.find(s=>s.required===!0||s.type==="required"&&s.required!==!1),u=t.find(s=>s.required===!0||s.type==="required"&&s.required!==!1);!i&&u?o?o.emit({name:"*"},"setRequired",!0):typeof a.setRequired=="function"&&a.setRequired(!0):i&&!u&&(o?o.emit({name:"*"},"setRequired",!1):typeof a.setRequired=="function"&&a.setRequired(!1),this.reset(n))}getValue(t){return t.modelValue}}let Cn=new ua;function ca(e){Cn=e}function fa(e,t){Ae(Ve).setValidator(e,t)}function da(e){Ae(Ve).deleteValidator(e)}let On=["blur","clear"];function ha(e){On=e}function Tn(){return On}let Vn=["focus","change"];function ga(e){Vn=e}function In(){return Vn}function ma(e){Ae(Ve).messages(e)}function Xe(...e){const t=[];return e.forEach(r=>{r.forEach(n=>{const a=t.findIndex(o=>o.type===n.type);a!==-1&&t.splice(a,1),t.push(n)})}),t}function at(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 be=Symbol("ValidateSchemaKey");class Nn{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(t,r,n){this.parent=t,this.descriptor=r,this.proxy=n,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let t=this.proxy.$attrs;t&&(this.scope=l.effectScope(),this.scope.run(()=>{l.watchEffect(()=>{const r=at(Xe(this.attrRules,this.rules)),n=[];for(let o in t){let i=t[o];if(this.hasValidator(o,!0)){if(i===!1)continue;let s={type:o};i!==null&&typeof i=="object"&&Object.assign(s,i),n.push(s);continue}let u=this.getValidator(o);if(u!==null){let s={type:o,validator:u};n.push(s)}}this.attrRules=at(n);const a=Xe(this.attrRules,this.rules);l.nextTick(()=>{this.decorate(a,r)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(t,...r){const n=this.descriptor.validateHandler;if(n&&typeof n[t]=="function")return Reflect.apply(n[t],n,[...r]);const a=Cn;return a&&typeof a[t]=="function"?Reflect.apply(a[t],a,[...r]):null}decorate(t,r){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",t,r,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(t){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",t,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(t,r,n=!1){n?Ae(Ve).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?Ae(Ve).deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,r=!1){if(r)return Ae(Ve).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=Xe(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=at(t):this.rules=at([t]);const n=Xe(this.attrRules,this.rules);l.nextTick(()=>{this.decorate(n,r)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let r=Xe(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(r.length>0){const a={[`${n}`]:r},o=this.getValue(),i={[`${n}`]:o},u=Ae(Ve),s=new u(a),d=this.proxy??i;return s.validate(i,{context:d}).then(h=>{if(h.pass)this.success();else{let v="error";Array.isArray(h.errors)&&h.errors.length>0&&(v=h.errors[0].message??v,h.errors=[h.errors[0]],h.errors[0].ref=d),this.error(v)}return h}).catch(h=>{const v=h.message??`${h}`;return this.error(v),h})}}return Promise.resolve({pass:!0})}}function lt(e,t,r){if(r.valueName=r.valueName??"modelValue",r.valueType=r.valueType??"string",!r.validateHandler&&r.valueName!=="modelValue"){const a=r.valueName;r.validateHandler={getValue(o){return o[a]}}}return new Nn(t,r,e)}const An=Symbol("EventEmitterKey");class ya{register=new Map;proxy;constructor(t){this.proxy=t}destroy(){this.proxy=null,this.register.clear()}off(t,r){let n=this.register.get(t);if(n&&Array.isArray(n)){let a=n.findIndex(o=>o===r);a!==-1&&n.splice(a,1)}}on(t,r){let n=this.register.get(t);n||(n=new Array,this.register.set(t,n)),n.push(r)}emit(t,...r){const n=this.register.get(t);n&&n.forEach(a=>{try{Reflect.apply(a,null,[t,...r])}catch(o){console.error(o.message,o)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...r])}}function pa(e,t){let r=0;return function(...n){const a=Date.now();a-r>t&&(Reflect.apply(e,{},[...n]),r=a)}}function jt(e,t){let r,n=null;return function(...a){n=a,r||(r=setTimeout(()=>{r=null,Reflect.apply(e,{},[...n??[]])},t))}}const $e=Symbol("DomainKey"),De=Symbol("DataItemsKey");class Mt{_parent=null;get parent(){return this._parent}set parent(t){this._parent=t}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(t){this._broadcast=t}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(t){this._validateSchema=t}_props=l.reactive({});constructor(t=null){this._name=t}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(t,r=[]){for(const n in t){const a=t[n];r.length>0&&r.indexOf(a)!==-1||(this._props[n]=a)}}has(t){if(Reflect.has(this._props,t)){const r=this._props[t];if(r!=null)return!0}return this.parent==null?!1:this.parent.has(t)}delete(t){Reflect.deleteProperty(this._props,t)}set(t,r){this._props[t]=r}get(t,r){if(Reflect.has(this._props,t)){const n=this._props[t];if(n!=null)return n}return this.parent==null?r:this.parent.get(t,r)}getForParent(t,r){return this.parent==null?r:this.parent.get(t,r)}getForSelf(t){return this._props[t]}getAll(t){const r=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,t)){const a=n._props[t];r.push(a)}n=n._parent}return r}}const ba=new Mt;function Ze(){return ba}function ve(e=null){e||(e=l.getCurrentInstance());const t=e?.proxy;return t?t[$e]??l.inject($e,null):l.inject($e,null)}const Dt=Symbol("OriginalDateKey");function qt(e,t,r=[],n){const a=l.getCurrentInstance(),o=a?.proxy;let i=l.inject($e,null);i===null&&(i=Ze());const u=e||t.prop||t.name,s=new Mt(u);s.parent=i;const d=E=>{o[Dt]||v(E),s.set("modelValue",E)},c=()=>s.getForSelf("modelValue")??null,h=()=>o[Dt]??null,v=E=>{const R={};Ie(!0,R,l.toRaw(E)),o[Dt]=R};l.isReactive(t)?l.watchEffect(()=>{s.merge(t,r)}):s.merge(t,r),t.modelValue&&v(t.modelValue),o[$e]=s,l.provide($e,s);let A=null,T=null;if(a!==null){const E=l.inject(ne,null);A=rt(o,E,u,n),s.broadcast=A,o[ne]=A,l.provide(ne,A),o.broadcast=(S,D,...k)=>Reflect.apply(A.emit,A,[S,D,...k]);const R=l.inject(be,null);T=lt(o,R,{componentName:""}),s.validateSchema=T,o[be]=T,l.provide(be,T),o[De]=new Map,o.validate=(S=!0)=>{const D=[];let k=null;if(S===!0)k={name:"*"};else if(Array.isArray(S)&&S.length>0){const I=S;k={name:M=>M?I.indexOf(M)!==-1:!1}}else if(S!=null&&typeof S=="object"){const I=S;if(Array.isArray(I.include)&&I.include.length>0){const M=I.include;k={name:y=>y?M.indexOf(y)!==-1:!1}}else if(Array.isArray(I.exclude)&&I.exclude.length>0){const M=I.exclude;k={name:y=>y?M.indexOf(y)===-1:!1}}else k={name:"*"}}if(k){const I=A?.emitToChildren(k,"validate",!1);I&&Reflect.apply([].push,D,I)}return D.length==1?D[0]:D.length>1?Promise.all(D).then(I=>{let M=[];return I.forEach(y=>{y.pass===!1&&Array.isArray(y.errors)&&(M=[...M,...y.errors])}),M.length>0?{pass:!1,errors:M}:{pass:!0}}):Promise.resolve({pass:!0})},o.setNameValidateRules=(S,D=!0)=>{if(D){const k=Reflect.ownKeys(S),I=[...k],M={name:y=>{const m=k.includes(y);if(m){const b=I.findIndex(V=>y===V);b!==-1&&I.splice(b,1)}return m}};A?.emitToChildren(M,"setNameValidateRules",S,!1),I.length>0&&I.forEach(y=>{let m=String(y);const V=Rn(s,m,{componentName:"",fieldName:m,pureDataValidate:!0},A,T);o[De].set(m,V);const w=S[m];w&&V.validateSchema.setRule(w)})}},o.clearValidate=(S=!0)=>{let D=null;if(S===!0)D={name:"*"};else if(Array.isArray(S)&&S.length>0){const k=S;D={name:I=>I?k.indexOf(I)!==-1:!1}}else if(S!=null&&typeof S=="object"){const k=S;if(Array.isArray(k.include)&&k.include.length>0){const I=k.include;D={name:M=>M?I.indexOf(M)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const I=k.exclude;D={name:M=>M?I.indexOf(M)===-1:!1}}else D={name:"*"}}D&&A?.emitToChildren(D,"clearValidate",!1)},o.resetFields=S=>{const D=c();if(!D)return;const k={};if(Ie(!0,k,h()??{}),Array.isArray(S))S.forEach(I=>{D[I]=k[I]});else if(S&&Array.isArray(S.include))(S.include??[]).forEach(M=>{D[M]=k[M]});else if(S&&Array.isArray(S.exclude)){let I=S.exclude??[];Reflect.ownKeys(k).forEach(M=>{I.includes(M)||(D[M]=k[M])})}else Object.assign(D,k);o.clearValidate(S)},o.setModelValue=(S,D)=>{!D||D===u?d(S):A?.emitToChildren({name:D},"setModelValue",S)},o.getModelValue=()=>c()}return l.onUnmounted(()=>{s.destroy(),o[$e]=void 0,o[De]&&(o[De].clear(),o[De]=void 0),A!==null&&(A.destroy(),o[ne]=void 0),T!==null&&(T.destroy(),o[be]=void 0)}),s}function le(e,t,r){const a=l.getCurrentInstance()?.proxy,o=t??"",i=l.inject(ne,null),u=rt(a,i,o,r);a[ne]=u,l.provide(ne,u),a.broadcast=(T,E,...R)=>Reflect.apply(u.emit,u,[T,E,...R]);const s=l.inject(be,null);e.fieldName=e.fieldName??o;const d=lt(a,s,e);a[be]=d,l.provide(be,d),a.validate=(T=null)=>{const E=[];if(!Array.isArray(T)||T.indexOf(o)!==-1){const S=d?.validate();E.push(S)}let R=null;if(T===!0)R={name:"*"};else if(Array.isArray(T)&&T.length>0){const S=T;R={name:D=>D?S.indexOf(D)!==-1:!1}}else if(T!=null&&typeof T=="object"){const S=T;if(Array.isArray(S.include)&&S.include.length>0){const D=S.include;R={name:k=>k?D.indexOf(k)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const D=S.exclude;R={name:k=>k?D.indexOf(k)===-1:!1}}else R={name:"*"}}if(R){const S=u.emitToChildren(R,"validate",!1);Reflect.apply([].push,E,S)}return E.length==1?E[0]:E.length>1?Promise.all(E).then(S=>{let D=[];return S.forEach(k=>{k.pass===!1&&Array.isArray(k.errors)&&(D=[...D,...k.errors])}),D.length>0?{pass:!1,errors:D}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=T=>d?.setRule(T),a.setNameValidateRules=(T,E=!1)=>{const R=T[o];if(R&&d?.setRule(R),E){const S={name:D=>Reflect.ownKeys(T).includes(D)};u.emitToChildren(S,"setNameValidateRules",T,!1)}},a.clearValidate=(T=null)=>{(!Array.isArray(T)||T.indexOf(t??"")!==-1)&&d?.clear();let E=null;if(T===!0)E={name:"*"};else if(Array.isArray(T)&&T.length>0){const R=T;E={name:S=>S?R.indexOf(S)!==-1:!1}}else if(T!=null&&typeof T=="object"){const R=T;if(Array.isArray(R.include)&&R.include.length>0){const S=R.include;E={name:D=>D?S.indexOf(D)!==-1:!1}}else if(Array.isArray(R.exclude)&&R.exclude.length>0){const S=R.exclude;E={name:D=>D?S.indexOf(D)===-1:!1}}else E={name:"*"}}E&&u.emitToChildren(E,"clearValidate",!1)};const c=new ya(a);a[An]=c;const h=jt((T="validate")=>{T==="reset"?d.clear():d.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Tn()).forEach(T=>{c.on(T,E=>{h("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:In()).forEach(T=>{c.on(T,E=>{h("reset")})}),l.onUnmounted(()=>{u.destroy(),a[ne]=void 0,d.destroy(),a[be]=void 0,c.destroy(),a[An]=void 0}),{broadcast:u,validateSchema:d,emitEvent:(T,...E)=>{Reflect.apply(c.emit,c,[T,...E])},onEvent:(T,E)=>{Reflect.apply(c.on,c,[E])},offEvent:(T,E)=>{Reflect.apply(c.off,c,[E])}}}function Rn(e,t,r,n,a){const o={},i=t??"";r.fieldName=i,r.validateHandler={getValue(d){const c=e.getForSelf("modelValue");return c?c[i]:null}};const u=lt({},a,r);o.validate=(d=null)=>{const c=[];if(!Array.isArray(d)||d.indexOf(i)!==-1){const v=u?.validate();c.push(v)}let h=null;if(d===!0)h={name:"*"};else if(Array.isArray(d)&&d.length>0){const v=d;h={name:A=>A?v.indexOf(A)!==-1:!1}}else if(d!=null&&typeof d=="object"){const v=d;if(Array.isArray(v.include)&&v.include.length>0){const A=v.include;h={name:T=>T?A.indexOf(T)!==-1:!1}}else if(Array.isArray(v.exclude)&&v.exclude.length>0){const A=v.exclude;h={name:T=>T?A.indexOf(T)===-1:!1}}else h={name:"*"}}if(h){const v=s.emitToChildren(h,"validate",!1);Reflect.apply([].push,c,v)}return c.length==1?c[0]:c.length>1?Promise.all(c).then(v=>{let A=[];return v.forEach(T=>{T.pass===!1&&Array.isArray(T.errors)&&(A=[...A,...T.errors])}),A.length>0?{pass:!1,errors:A}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=d=>u?.setRule(d),o.setNameValidateRules=d=>{const c=d[i];c&&u?.setRule(c)};const s=rt(null,n,i,o);return{broadcast:s,validateSchema:u}}const K=(e,t=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&t<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${U(e,t)}px`:"";function U(e,t=-1){if(typeof e=="number")return e>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 a=Number(e.substring(0,r)),o=1;if(Ye){const{fontSize:i}=window.getComputedStyle(document.documentElement,null),u=i.indexOf("px");u>0&&(o=Number(i.substring(0,u)))}return a*=o,a}if(r=e.indexOf("%"),r!==-1)return Number(e.substring(0,r))/100*t;const n=Number(e);return isNaN(n)?0:n}const Ee="PageStateKey";function pe(e){const t={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(t.top=U(e.top)),e.left!==null&&e.left!==void 0&&(t.left=U(e.left)),e.bottom!==null&&e.bottom!==void 0&&(t.bottom=U(e.bottom)),e.right!==null&&e.right!==void 0&&(t.right=U(e.right))),t}function Bt(e,t,r={},n=!0,a=-1,o=-1,i=0,u=0){if(e.headerHeight=U(r.headerHeight??t.headerHeight),e.headerPadding=pe(r.headerPadding??t.headerPadding),e.footerHeight=U(r.footerHeight??t.footerHeight),e.footerPadding=pe(r.footerPadding??t.footerPadding),e.contentPadding=pe(r.contentPadding??t.contentPadding),n){const s=r.height??t.height;s?e.height=U(s,o):e.height=U(o)-U(i,o)-U(u,o),e.width=U(r.width??t.width,a)}}function kn(e,t={}){const r={top:null,left:null,bottom:null,right:null},n={width:0,height:0,headerHeight:0,headerPadding:{...r},footerHeight:0,footerPadding:{...r},contentPadding:{...r},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},a=Object.assign(e.get("safeAreaInset")??{},t.safeAreaInset??{});a&&(n.safeAreaTop=U(a.top),n.safeAreaBottom=U(a.bottom),n.safeAreaLeft=U(a.left),n.safeAreaRight=U(a.right));const o=e.get("pageLayout");if(!o)return null;const i=e.get("rootWidth")??-1,u=e.get("rootHeight")??-1,s=e.get("headerBarHeight")??0,d=e.get("footerBarHeight")??0;Bt(n,o,t,!0,i,u,s,d);const c=l.reactive(n),h=e.getForParent(Ee);h&&(n.height=ut(e,h),n.width=ct(e,h),l.watch([()=>h.height,()=>h.width,()=>h.contentPadding,()=>h.headerMounted,()=>h.footerMounted],()=>{c.height=ut(e,h),c.width=ct(e,h)}));const v=!h;return l.watch([()=>t.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([A,T,E=-1,R=-1,S=0,D=0])=>{Bt(c,T,t,v,E,R,S,D)}),e.set(Ee,c),c}function ot(e){return e.get(Ee)}function it(e,t){return t=t??e.get(Ee),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function st(e,t){return t=t??e.get(Ee),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function ut(e,t){if(t=t??e.get(Ee),t){const r=it(e,t),n=st(e,t);return t.height-r-n-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function ct(e,t){return t=t??e.get(Ee),t?t.width-(t.contentPadding.left??0)-(t.contentPadding.right??0):0}function wa(e,t){const r=e.get("isInnerPage");return typeof r=="function"?Reflect.apply(r,{},[t,e]):!1}function Sa(e){return!!e.getForParent(Ee)}var ft=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(ft||{});function Ft(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function qe(e,t,r=1,n){const a=ve();return a==null?e:r===0?l.computed(()=>{const o=a.getAll(t);for(let u=o.length-1;u>=0;u--){const s=o[u];if(Ft(s,n))return s}const i=e.value;return Ft(i,n)?i:null}):l.computed(()=>{const o=e.value;return Ft(o,n)?o:a?.get(t)})}function de(e){return qe(e,"readonly",0,function(r){return se(r)})}function he(e){return qe(e,"disabled",0,function(r){return se(r)})}function W(e,t="modelValue",r){const n=l.toRef(e,t);let a=n.value;typeof r=="function"&&(a=r(n.value));const o=l.ref(a);return l.watch(n,i=>{if(typeof r=="function"){const u=r(i);u!==o.value&&(o.value=u)}else i!==o.value&&(o.value=i)}),o}const jn=new Map,dt=new Map;let Lt=null;function $a(e){Lt=e}function Mn(e,t,r){if(r){let n=dt.get(r);n||(n=new Map,dt.set(r,n)),n.set(e,t)}else jn.set(e,t)}function Re(e,t,r){!r&&Lt&&(r=Lt(e)??void 0);let n=null;if(r){let a=dt.get(r);a&&(n=a.get(t))}return n||(n=jn.get(t)),n}function va(e,t){for(let r in e){const n=e[r];Mn(r,n,t)}}function Ea(e){dt.delete(e)}function xa(){return{top:0,left:0,bottom:0,right:0}}function Ca(e=0,t=0){if(Ye){const r=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight,a={width:r,height:n-U(e,n)-U(t,n),headerHeight:44,footerHeight:44};return{rootWidth:r,rootHeight:n,pageLayout:a}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}}class Oa{packages;installers;_version;get version(){return this._version}constructor(t,r,n){this.packages=t,this.installers=r,this._version=n}install(t,r={}){r?.install!==!1&&(this.packages.forEach(o=>{o.install?t.use(o):o.name&&t.component(o.name,o)}),this.installers.forEach(o=>{o(t)}));const n=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=Ze();if(this.initPageLayout(r,a),r.autoAdjustPageLayout!==!1&&window.ResizeObserver){const o=jt(()=>{const u={...r},s=document.documentElement.clientWidth||document.body.clientWidth,d=document.documentElement.clientHeight||document.body.clientHeight;u.width=s,u.height=d,this.initPageLayout(u,a)},150);new window.ResizeObserver(o).observe(window.document.body)}for(const o in r)n.indexOf(o)===-1&&a.set(o,r[o])}initPageLayout(t,r){const n=t.headerBarHeight??0,a=t.footerBarHeight??0,o=Ie({},xa(),t.safeAreaInset),i=Ca(n,a),u=Ie({},i.pageLayout,t.pageLayout);r=r??Ze(),r.set("safeAreaInset",o),r.set("headerBarHeight",n),r.set("footerBarHeight",a),r.set("pageLayout",u),r.set("rootWidth",i.rootWidth),r.set("rootHeight",i.rootHeight)}setScopeGetter(t){$a(t)}setAPI(t,r,n){Mn(t,r,n)}getAPI(t,r,n){return Re(t,r,n)}batchSetAPI(t,r){va(t,r)}clearScopeAPI(t){Ea(t)}getRootDomain(){return Ze()}}const Ta=[g.ElAffix,g.ElAlert,g.ElAutocomplete,g.ElAutoResizer,g.ElAvatar,g.ElBacktop,g.ElBadge,g.ElBreadcrumb,g.ElBreadcrumbItem,g.ElButton,g.ElButtonGroup,g.ElCalendar,g.ElCard,g.ElCarousel,g.ElCarouselItem,g.ElCascader,g.ElCascaderPanel,g.ElCheckTag,g.ElCheckbox,g.ElCheckboxButton,g.ElCheckboxGroup,g.ElCol,g.ElCollapse,g.ElCollapseItem,g.ElCollapseTransition,g.ElColorPicker,g.ElConfigProvider,g.ElContainer,g.ElAside,g.ElFooter,g.ElHeader,g.ElMain,g.ElDatePicker,g.ElDescriptions,g.ElDescriptionsItem,g.ElDialog,g.ElDivider,g.ElDrawer,g.ElDropdown,g.ElDropdownItem,g.ElDropdownMenu,g.ElEmpty,g.ElForm,g.ElFormItem,g.ElIcon,g.ElImage,g.ElImageViewer,g.ElInput,g.ElInputNumber,g.ElLink,g.ElMenu,g.ElSubMenu,g.ElMenuItem,g.ElMenuItemGroup,g.ElPageHeader,g.ElPagination,g.ElPopconfirm,g.ElPopover,g.ElPopper,g.ElProgress,g.ElRadio,g.ElRadioButton,g.ElRadioGroup,g.ElRate,g.ElResult,g.ElRow,g.ElScrollbar,g.ElSelect,g.ElOption,g.ElOptionGroup,g.ElSelectV2,g.ElSkeleton,g.ElSkeletonItem,g.ElSlider,g.ElSpace,g.ElSteps,g.ElStep,g.ElSwitch,g.ElTable,g.ElTableColumn,g.ElTableV2,g.ElTabs,g.ElTabPane,g.ElTag,g.ElTimePicker,g.ElTimeSelect,g.ElTimeline,g.ElTimelineItem,g.ElTooltip,g.ElTransfer,g.ElTree,g.ElTreeSelect,g.ElTreeV2,g.ElUpload],Va=[g.ElInfiniteScroll,g.ElLoading,g.ElMessage,g.ElMessageBox,g.ElNotification,g.ElPopoverDirective],Ia=e=>{Ta.forEach(t=>{let r=t.name;typeof r=="string"?(r=`Fox${r.slice(2)}`,e.component(r,t)):e.use(t)}),Va.forEach(t=>{e.use(t)})};function Y(e){const t="fox-"+e;return{componentName:t,scope:e.replace("-",""),create(r){return r.baseName=e,r.name=t,r.install=n=>{n.component(r.name,r)},l.defineComponent(r)},createDemo(r){return r.baseName=e,r.name="demo-"+e,l.defineComponent(r)}}}const re={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}},ce={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}},Dn={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},minItemWidth:{type:[Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},qn={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,String],required:!1,default:!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1,default:!0},markColor:{type:[String],required:!1}},Bn=[];for(const e in qn)Bn.push(e);function fe(e,t=null){if(t||(t=l.getCurrentInstance()),t&&t.proxy){let r=t.proxy;Object.assign(r,e)}}const Na=Symbol.for("InnerPageScopeKey"),Aa=(e,t)=>({inheritAttrs:!0,props:{...re,...Dn,name:{type:String,required:!1,default:""},modelValue:{type:Object,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1}},setup(r,n){const a=qt(r.name,r);if(a){const d=kn(a,r);fe({getPageContentHeight:()=>ut(a,d),getPageContentWidth:()=>ct(a,d),getPageHeaderHeight:()=>it(a,d),getPageFooterHeight:()=>st(a,d)});const c=l.inject(Na,!1);d&&c&&(d.contentHeight="100%")}const o=l.computed(()=>({[e]:!0})),i=l.computed(()=>({})),u=l.getCurrentInstance(),s=d=>{const c=u?.proxy;c&&typeof c.setNameValidateRules=="function"&&c.setNameValidateRules(d,!0)};return l.watch(()=>r.rules,(d,c)=>{if(!d&&!c)return;const h=l.toRaw(c),v=l.toRaw(d),A=v?Reflect.ownKeys(v):[];(h?Reflect.ownKeys(h):[]).forEach(E=>{A.includes(E)||(v[E]=[])}),s(v)},{deep:!0}),l.onMounted(()=>{if(r.rules){const d=l.toRaw(r.rules);s(d)}}),l.onBeforeUnmount(()=>{}),{classes:o,styles:i}}}),{componentName:Ra,create:ka,scope:Li}=Y("page"),ja=ka(Aa(Ra));function Ma(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const ke=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r},Fn=ke(ja,[["render",Ma]]),Da=(e,t)=>({props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!1},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 a=ve(),o=a?ot(a):null;o&&(o.headerMounted=!0);const i=l.computed(()=>({[e]:!0})),u=r.height!==null&&r.height!==void 0?U(r.height):null,s=l.computed(()=>{const m={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&o){const b=pe(r.padding??o.footerPadding);return Object.assign(m,b),u&&(o.headerHeight=u),m.height=o.headerHeight,m.safeAreaTop=o.safeAreaTop,m.safeAreaTop&&(m.top=m.safeAreaTop+(b.top??0),m.height=m.height+o.safeAreaTop),m.height,m.safeAreaTop,m}if(u&&(m.height=u),r.padding){const b=pe(r.padding);Object.assign(m,b)}return m});l.onUnmounted(()=>{o&&(o.headerMounted=!1)});const d=l.computed(()=>{const m={};return s.value.height!==null&&s.value.height!==void 0&&(m.height=`${s.value.height}px`),s.value.top!==null&&s.value.top!==void 0&&(m.paddingTop=`${s.value.top}px`),s.value.left!==null&&s.value.left!==void 0&&(m.paddingLeft=`${s.value.left}px`),s.value.right!==null&&s.value.right!==void 0&&(m.paddingRight=`${s.value.right}px`),s.value.bottom!==null&&s.value.bottom!==void 0&&(m.paddingBottom=`${s.value.bottom}px`),m}),c=l.computed(()=>{const m={};return s.value.safeAreaTop!==null&&s.value.safeAreaTop!==void 0&&(m.top=`${s.value.safeAreaTop}px`),m}),h=l.computed(()=>{const m={};return s.value.safeAreaTop!==null&&s.value.safeAreaTop!==void 0&&(m.top=`${s.value.safeAreaTop}px`),m}),v=l.computed(()=>r.leftShow?r.leftIcon||r.leftText||n.slots.left:!1),A=l.computed(()=>!(s.value.height!==null&&s.value.height!==void 0&&s.value.height<=0)),T=l.computed(()=>r.titleShow?r.title||r.titleIcon||n.slots.default:!1),E=l.computed(()=>r.rightShow?r.rightIcon||r.rightText||n.slots.right:!1),R=l.computed(()=>{let m={};return typeof r.leftIcon=="object"?Object.assign(m,r.leftIcon):m.name=r.leftIcon,m}),S=l.computed(()=>{let m={};return typeof r.titleIcon=="object"?Object.assign(m,r.titleIcon):m.name=r.titleIcon,m}),D=l.computed(()=>{let m={};return typeof r.rightIcon=="object"?Object.assign(m,r.rightIcon):m.name=r.rightIcon,m});function k(){n.emit("back")}function I(){n.emit("click-title")}function M(){n.emit("click-right")}function y(){n.emit("click-right-text")}return{classes:i,styles:d,mHeaderShow:A,leftStyles:c,rightStyles:h,mLeftShow:v,mTitleShow:T,mRightShow:E,mLeftIcon:R,mTitleIcon:S,mRightIcon:D,handleLeft:k,handleCenter:I,handleRight:M,handleRightText:y}}}),{componentName:qa,create:Ba,scope:Pi}=Y("header-bar"),Fa=Ba(Da(qa)),La={key:1,class:"fox-header-bar__title"};function Pa(e,t,r,n,a,o){const i=l.resolveComponent("fox-ext-icon");return e.mHeaderShow?(l.openBlock(),l.createElementBlock("view",{key:0,class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"all",{},()=>[e.mLeftShow?(l.openBlock(),l.createElementBlock("view",{key:0,class:"fox-header-bar__left",style:l.normalizeStyle(e.leftStyles)},[l.renderSlot(e.$slots,"left",{},()=>[e.leftIcon?(l.openBlock(),l.createBlock(i,{key:0,color:e.mLeftIcon.color,name:e.mLeftIcon.name,onClick:e.handleLeft},null,8,["color","name","onClick"])):l.createCommentVNode("",!0),e.leftText?(l.openBlock(),l.createElementBlock("view",{key:1,onClick:t[0]||(t[0]=(...u)=>e.handleLeft&&e.handleLeft(...u))},l.toDisplayString(e.leftText),1)):l.createCommentVNode("",!0)])],4)):l.createCommentVNode("",!0),e.mTitleShow?(l.openBlock(),l.createElementBlock("view",La,[l.renderSlot(e.$slots,"default",{},()=>[e.title?(l.openBlock(),l.createElementBlock("view",{key:0,class:"text-title",onClick:t[1]||(t[1]=(...u)=>e.handleTitle&&e.handleTitle(...u))},l.toDisplayString(e.title),1)):l.createCommentVNode("",!0),e.titleIcon?(l.openBlock(),l.createBlock(i,{key:1,class:"icon-title",color:e.mTitleIcon.color,name:e.mTitleIcon.name,onClick:e.handleCenter},null,8,["color","name","onClick"])):l.createCommentVNode("",!0)])])):l.createCommentVNode("",!0),e.mRightShow?(l.openBlock(),l.createElementBlock("view",{key:2,class:"fox-header-bar__right",style:l.normalizeStyle(e.rightStyles)},[l.renderSlot(e.$slots,"right",{},()=>[e.rightText?(l.openBlock(),l.createElementBlock("view",{key:0,onClick:t[2]||(t[2]=(...u)=>e.handleRightText&&e.handleRightText(...u))},l.toDisplayString(e.rightText),1)):l.createCommentVNode("",!0),e.rightIcon?(l.openBlock(),l.createBlock(i,{key:1,class:"right-icon",color:e.mRightIcon.color,name:e.mRightIcon.name,onClick:e.handleRight},null,8,["color","name","onClick"])):l.createCommentVNode("",!0)])],4)):l.createCommentVNode("",!0)])],6)):l.createCommentVNode("",!0)}const Ln=ke(Fa,[["render",Pa]]);function _a(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 a=ve(),o=a?ot(a):null;o&&(o.footerMounted=!0);const i=l.computed(()=>{const c=e;let h=e;return r.align==="left"?h=`${h}__left`:r.align==="right"?h=`${h}__right`:h=`${h}__center`,{[c]:!0,[h]:!0}}),u=r.height!==null&&r.height!==void 0?U(r.height):null,s=l.computed(()=>{const c={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&o){const h=pe(r.padding??o.footerPadding);return Object.assign(c,h),u&&(o.footerHeight=u),c.height=o.footerHeight,c.safeAreaBottom=o.safeAreaBottom,c.safeAreaBottom&&(c.height=c.height+o.safeAreaBottom,c.bottom=c.safeAreaBottom+(h.bottom??0)),c}if(u&&(c.height=u),r.padding){const h=pe(r.padding);Object.assign(c,h)}return c});l.onUnmounted(()=>{o&&(o.footerMounted=!1)});const d=l.computed(()=>{const c={};return s.value.height!==null&&s.value.height!==void 0&&(c.height=K(s.value.height)),s.value.top!==null&&s.value.top!==void 0&&(c.paddingTop=K(s.value.top)),s.value.left!==null&&s.value.left!==void 0&&(c.paddingLeft=K(s.value.left)),s.value.right!==null&&s.value.right!==void 0&&(c.paddingRight=K(s.value.right)),s.value.bottom!==null&&s.value.bottom!==void 0&&(c.paddingBottom=K(s.value.bottom)),c});return{classes:i,styles:d}}}}const{componentName:Ha,create:Ka,scope:_i}=Y("footer-bar"),za=Ka(_a(Ha));function Ga(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const Pn=ke(za,[["render",Ga]]);function Ya(e,t){return{props:{padding:{type:[Object],required:!1}},setup(r){const n=ve(),a=l.computed(()=>({[e]:!0})),o=l.computed(()=>{const i={};if(n){const u=ot(n);if(u){if(r.padding){const h=pe(r.padding);Object.assign(u.contentPadding,h)}const s=it(n,u),d=st(n,u);let c="";if(u.contentHeight?c=`${u.contentHeight}`:c=`${u.height}px`,u.contentPadding,i.height=c,u.contentPadding.top!==null&&u.contentPadding.top!==void 0||s>0){const h=(u&&u.contentPadding&&u.contentPadding.top)??0;i.paddingTop=`${s+h}px`}if(u.contentPadding.bottom!==null&&u.contentPadding.bottom!==void 0||d>0){const h=(u&&u.contentPadding&&u.contentPadding.bottom)??0;i.paddingBottom=`${d+h}px`}return u.contentPadding.left!==null&&u.contentPadding.left!==void 0&&(i.paddingLeft=`${u.contentPadding.left}px`),u.contentPadding.right!==null&&u.contentPadding.right!==void 0&&(i.paddingRight=`${u.contentPadding.right}px`),i}}if(r.padding){const u=pe(r.padding);u.left!==null&&u.left!==void 0&&(i.paddingLeft=`${u.left}px`),u.top!==null&&u.top!==void 0&&(i.paddingTop=`${u.top}px`),u.right!==null&&u.right!==void 0&&(i.paddingRight=`${u.right}px`),u.bottom!==null&&u.bottom!==void 0&&(i.paddingBottom=`${u.bottom}px`)}return i});return{classes:a,styles:o}}}}const{componentName:Wa,create:Ua,scope:Hi}=Y("content"),Xa=Ua(Ya(Wa));function Za(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const _n=ke(Xa,[["render",Za]]),Be="GroupStateKey",Hn=Symbol.for("GroupScopeKey");function ht(){return l.inject(Hn,!1)}function gt(e=!0){l.provide(Hn,e)}function Ja(e,t={}){const n={type:"form",width:e.get("width",-1),column:-1,gutter:-1};Object.assign(n,t);const a=l.shallowRef(n),o=l.markRaw({layout:a,passport:0,order:{index:0}});return e.set(Be,o),o}function Kn(e,t,r=-1,n=-1,a=!1,o){const i=e.get(Be);if(!i)return;const u=e.get("groupLayout")??{};r===-1&&(r=u.column??1),n===-1&&(n=u.gutter??0),o||(o=u.minItemWidth??-1);const s=()=>{const d=t===""||t===-1,c=U(t);let h=Z(r);const v=U(n);if(!d){let E=(c-(h-1)*v)/h;for(;o!==-1&&h>1&&E<o;)h--,E=(c-(h-1)*v)/h}let A=!1;const T=i.layout;T.value.width=t,T.value.column!==h&&(T.value.column=h,A=!0),T.value.gutter!==v&&(T.value.gutter=v,A=!0),A&&l.triggerRef(T)};if(a)s();else{const d=++i.passport;setTimeout(()=>{d===i.passport&&s()},50)}}function Je(e,t=!1){let r;return t?r=e.getForParent(Be):r=e.get(Be),r.layout}function Pt(e,t=!1){let r;return t?r=e.getForParent(Be):r=e.get(Be),r.order}function ge(e,t=1){return t==="stretch"?-1:(t=Z(t),t===-1?100:100*t/e)}function Qa(e){return e===window}const mt=e=>{const t=l.unref(e);if(Qa(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}},xe=(e,t)=>e?t?`fox-group__${e}-${t}`:"":`fox-group__${t}`,el=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},tl=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=Z(e.props.offset);return t<0?0:t},nl=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"},rl=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=Z(e.props.foxSubItemCount);return t<0?1:t};function al(e,t){return{props:{...re,...Dn,...qn},setup(r,n){const a=qt(r.name,r,Bn),o=Ja(a,{type:r.type}),i=ht();gt(!0);const u=l.computed(()=>i&&a?Je(a,!0).value:null),s=l.getCurrentInstance(),d=y=>{const m=s?.proxy;m&&typeof m.setNameValidateRules=="function"&&m.setNameValidateRules(y,!0)};l.watch(()=>r.rules,(y,m)=>{if(!y&&!m)return;const b=l.toRaw(m),V=l.toRaw(y),w=V?Reflect.ownKeys(V):[];(b?Reflect.ownKeys(b):[]).forEach(B=>{w.includes(B)||(V[B]=[])}),d(V)},{deep:!0}),l.onMounted(()=>{if(r.rules){const y=l.toRaw(r.rules);d(y)}});const c=e,h=l.computed(()=>{const y={};if(u.value){const m=Je(a,!0);if(m.value.type==="flex"){if(r.width){const w=K(r.width);y.width=w}else{const w=ge(m.value.column,r.span);w>0&&(y.width=`${w}%`)}if(r.height){const w=K(r.height);y.height=w}const b=ge(m.value.column,r.offset);b>0&&(y["margin-left"]=`${b}%`);const V=m.value.gutter/2;V>0&&(y["padding-left"]=`${V}px`,y["padding-right"]=`${V}px`)}else if(m.value.type==="flow"){if(r.width){const w=K(r.width);y.width=w}else{const w=ge(m.value.column,r.span);w>0&&(y.width=`${w}%`)}if(r.height){const w=K(r.height);y.height=w}const b=ge(m.value.column,r.offset);b>0&&(y["margin-left"]=`${b}%`);const V=m.value.gutter/2;if(V>0){const w=a?Pt(a,!0):null;if(w){let x=Z(r.offset)+Z(r.span);(x===-1||x>m.value.column)&&(x=m.value.column);const B=Math.ceil((w.index+1)/m.value.column),$=Math.ceil((w.index+x)/m.value.column);if(B===$){const j=(w.index+1)%m.value.column,p=(w.index+x)%m.value.column,N=j===1?0:V,C=p===0?0:V;y["padding-left"]=`${N}px`,y["padding-right"]=`${C}px`}else{const j=x%m.value.column,p=0,N=j===0?0:V;y["padding-left"]=`${p}px`,y["padding-right"]=`${N}px`}w.index+=x}else y["padding-left"]=`${V}px`,y["padding-right"]=`${V}px`}}}else{if(r.width){const m=K(r.width);y.width=m}if(r.height){const m=K(r.height);y.height=m}}return y}),v=l.computed(()=>r.type==="flex"?{[`${xe("",r.type)}`]:!0,[`${xe("justify",r.justify)}`]:!0,[`${xe("align",r.align)}`]:!0,[`${xe("flex",r.flexWrap)}`]:!0,[`${c}__gutter`]:!0}:r.type==="flow"?{[`${xe("",r.type)}`]:!0,[`${xe("justify",r.justify)}`]:!0,[`${xe("align",r.align)}`]:!0}:{[`${xe("",r.type)}`]:!0,[`${c}__gutter`]:!0}),A=l.toRef(r,"title"),T=l.toRef(r,"gutter"),E=l.toRef(r,"column"),R=l.computed(()=>i?!0:se(r.isWrap)),S=l.ref([]),D=y=>{S.value.push(y)},k=l.ref(-1);if(Kn(a,k.value,E.value,T.value,!0,r.minItemWidth),r.autoLayout){l.watch([k,E,T],([m,b,V])=>{o.order.index=0,Kn(a,m,b,V,!1,r.minItemWidth)});let y=null;l.onMounted(()=>{if(Ye&&S.value&&S.value.length>0){const m=S.value[0];k.value=mt(m).width,window.ResizeObserver&&(y=new window.ResizeObserver(()=>{const b=mt(m).width;b>0&&b!==k.value&&(k.value=b)}),y.observe(m))}}),l.onUnmounted(()=>{y?.disconnect()})}const I=(y,m,b,V)=>{const w={...v.value};return m===0&&(w[`${c}__first`]=!0),b>=V-1&&(w[`${c}__last`]=!0),l.h("div",{ref:D,key:`${m}`,class:w},y)},M=y=>{if(typeof y.type=="symbol"){if(Array.isArray(y.children)){const m=[...y.children];for(let b=m.length-1;b>=0;b--){const V=m[b],w=M(V);w===null?m.splice(b,1):w.length>0&&Reflect.apply([].splice,m,[b,1,...w])}return m}return null}return[]};return()=>{o.order.index=0;const y=[];let m=0;if(n.slots.title){const x={key:`${m++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},B=l.h("div",x,[n.slots.title()]);y.push(B)}else if(A.value){const x={key:`${m++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},B=[];if(r.showMark){const p={class:{[`${c}__title-mark`]:!0}};r.markColor&&(p.style={background:r.markColor});const N=l.h("div",p);B.push(N)}const $=l.h("div",{class:{[`${c}__title-text`]:!0}},[A.value]);B.push($);const j=l.h("div",x,B);y.push(j)}const b=n.slots.default?n.slots.default():[];let V=[],w=0;if(r.type==="flex"){for(let x=0;x<b.length;x++){const B=M(b[x]);if(B===null)continue;B.length>0&&Reflect.apply([].splice,b,[x,1,...B]);const $=b[x];if(nl($)==="fragment"){let O=rl($);O>o.layout.value.column?O=o.layout.value.column:O<=0&&(O=1);const F=w+O;if(F>o.layout.value.column){const L=I([...V],m++,x-1,b.length);y.push(L),w=O,V=[$]}else V.push($),w=F;continue}const p=el($),N=tl($);if(p==="stretch"){if(w<o.layout.value.column){V.push($);const O=I([...V],m++,x,b.length);y.push(O)}else{const O=I([...V],m++,x-1,b.length);y.push(O);const F=I([$],m++,x,b.length);y.push(F)}w=0,V=[];continue}let C=Z(p);if(C===-1){if(V.length>0){const F=I([...V],m++,x-1,b.length);y.push(F)}const O=I([$],m++,x,b.length);y.push(O),w=0,V=[];continue}C>o.layout.value.column?C=o.layout.value.column:C<=0&&(C=1);const q=w+C+N;if(q>o.layout.value.column){const O=I([...V],m++,x-1,b.length);y.push(O),w=C+N,V=[$]}else V.push($),w=q}if(V.length>0){const x=I([...V],m++,b.length,b.length);y.push(x)}}else if(r.type==="flow"){const x=I(b,m++,0,b.length);y.push(x)}else for(let x=0;x<b.length;x++){const B=b[x],$=I([B],m++,x,b.length);y.push($)}return R.value?l.h("div",{class:{[`${c}`]:!0},style:h.value},[y]):y}}}}const{componentName:ll,create:ol,scope:Ki}=Y("group"),zn=ol(al(ll)),Gn={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:il,create:sl}=Y("price"),ul=sl({props:{...Gn},setup(e){const t=l.computed(()=>({[il]:!0})),r=l.computed(()=>e.needSymbol?e.symbol:""),n=l.computed(()=>We(e.price)==0?"":Vt(e.price,e.decimalLength,!0,Z(e.digits),e.separator)),a=l.computed(()=>{let i=n.value;if(i.length==0)return"";let u=i.indexOf(".");return i.substring(0,u)}),o=l.computed(()=>{let i=n.value;if(i.length==0)return"";let u=i.indexOf(".");return i.substring(u+1)});return{classes:t,showSymbol:r,intText:a,decimalText:o}}}),cl=["innerHTML"],fl=["innerHTML"];function dl(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("view",{class:l.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(l.openBlock(),l.createElementBlock("view",{key:0,class:l.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,cl)):l.createCommentVNode("",!0),l.createElementVNode("view",{class:l.normalizeClass(`fox-price--${e.size}`)},l.toDisplayString(e.intText),3),e.decimalText.length!=0?(l.openBlock(),l.createElementBlock("view",{key:1,class:l.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):l.createCommentVNode("",!0),l.createElementVNode("view",{class:l.normalizeClass(`fox-price--decimal-${e.size}`)},l.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(l.openBlock(),l.createElementBlock("view",{key:2,class:l.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,fl)):l.createCommentVNode("",!0)],2)}const yt=ke(ul,[["render",dl]]),{componentName:_t,create:hl}=Y("hint-text"),gl=hl({components:{[yt.name]:yt},props:{...Gn,type:{type:String,default:"number"},id:{type:String},startPoint:{type:Object},width:{type:Number},height:{type:Number,default:40},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,t){const a=l.computed(()=>({[_t]:!0})),o=l.computed(()=>({left:K(e.startPoint.x),top:K(e.startPoint.y-e.height-10-4),height:K(e.height),width:K(e.width)})),i=l.computed(()=>({[`${_t}__content`]:!0})),u=l.computed(()=>({})),s=l.computed(()=>({[`${_t}__arrow`]:!0})),d=l.computed(()=>({top:K(e.height)}));return{classes:a,styles:o,textClasses:i,textStyles:u,arrowClasses:s,arrowStyles:d}}}),ml={key:1,class:"text"};function yl(e,t,r,n,a,o){const i=l.resolveComponent("fox-price");return l.openBlock(),l.createBlock(l.Transition,{name:"hint-text-fade"},{default:l.withCtx(()=>[l.withDirectives(l.createElementVNode("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.createElementVNode("div",{class:l.normalizeClass(e.textClasses),style:l.normalizeStyle(e.textStyles)},[e.type=="number"?(l.openBlock(),l.createBlock(i,{key:0,price:e.message,position:"before"},null,8,["price"])):(l.openBlock(),l.createElementBlock("span",ml,l.toDisplayString(e.message),1))],6),l.createElementVNode("div",{class:l.normalizeClass(e.arrowClasses),style:l.normalizeStyle(e.arrowStyles)},null,6)],6),[[l.vShow,e.visible]])]),_:1})}const pt=ke(gl,[["render",yl]]);class Yn{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 pl(e){return e===window}const Wn=e=>{const t=l.unref(e);if(!t)return{x:0,y:0};if(pl(t))return{x:0,y:0};let r=0,n=0,a=t;for(;a!==null;)r+=a.offsetLeft,n+=a.offsetTop,a=a.offsetParent;let o=0,i=0;for(a=t;a!==document;)i+=a.scrollTop,o+=a.scrollLeft,a=a.parentNode;return r-=o,n-=i,{x:r,y:n}},Ht={},bl=new Yn,Fe=new Map,Kt=e=>{if(e){const t=document.getElementById(e);Fe.delete(e),t&&document.body.removeChild(t)}else{for(const t of Fe.keys()){const r=document.getElementById(t);r&&document.body.removeChild(r)}Fe.clear()}},wl=e=>{const t=document.getElementById(e.id);if(t){const r=Fe.get(e.id);r?e={...Ht,...r,...e}:e={...Ht,...e};const n=l.createVNode(pt,e);return l.render(n,t),e.id}},Sl=e=>{e.unmount=Kt;let t;if(e.id){if(t=e.id,Fe.has(t))return wl(e)}else t=`hinttext_${bl.get()}`;e={...Ht,...e},e.id=t,Fe.set(t,e);const r=document.createElement("div");r.id=e.id;const n=l.createVNode(pt,e);return l.render(n,r),document.body.appendChild(r),t},$l=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},bt={show(e,t,r={},n=!0){n&&Kt(),$l(t);const a=Wn(e),o={x:a.x,y:a.y},i=r.width??mt(e).width;return Sl({...r,message:t,startPoint:o,width:i})},hide(e){Kt(e)},install(e){e.config.globalProperties.$hintText=bt}},{componentName:Un,create:vl}=Y("item"),El=vl({inheritAttrs:!0,props:{...re,...ce},setup(e,t){le({componentName:Un,validate:!1},e.prop??t.attrs.name);const r=ve(),n=ht();gt(!1);const a=l.computed(()=>n&&r?Je(r,!1).value:null),o=Un,i=l.computed(()=>({[o]:!0,[`${o}__gutter`]:a.value&&a.value.type!=="flow",[`${o}__stretch`]:e.span==="stretch",[`${o}__input--border`]:e.hasBorder,"is-error":!!V.value,"is-warn":!!m.value,"is-info":!!M.value})),u=l.computed(()=>{const O={};if(a.value)if(a.value.type==="flex"){if(e.width)O.width=K(e.width);else{const P=ge(a.value.column,e.span);P>0&&(O.width=`${P}%`)}const F=ge(a.value.column,e.offset);F>0&&(O["margin-left"]=`${F}%`);const L=a.value.gutter/2;L>0&&(O["padding-left"]=`${L}px`,O["padding-right"]=`${L}px`)}else if(a.value.type==="flow"){if(e.width)O.width=K(e.width);else{const P=ge(a.value.column,e.span);P>0&&(O.width=`${P}%`)}const F=ge(a.value.column,e.offset);F>0&&(O["margin-left"]=`${F}%`);const L=a.value.gutter/2;if(L>0){const P=r?Pt(r,!1):null;if(P){let _=Z(e.offset)+Z(e.span);(_===-1||_>a.value.column)&&(_=a.value.column);const G=Math.ceil((P.index+1)/a.value.column),z=Math.ceil((P.index+_)/a.value.column);if(G===z){const ie=(P.index+1)%a.value.column,te=(P.index+_)%a.value.column,J=ie===1?0:L,X=te===0?0:L;O["padding-left"]=`${J}px`,O["padding-right"]=`${X}px`}else{const ie=_%a.value.column,te=0,J=ie===0?0:L;O["padding-left"]=`${te}px`,O["padding-right"]=`${J}px`}P.index+=_}else O["padding-left"]=`${L}px`,O["padding-right"]=`${L}px`}}else return e.width&&(O.width=K(e.width)),O;else e.width&&(O.width=K(e.width));return O}),s=l.ref(null),d=l.computed({get:()=>s.value??se(e.isRequired),set:O=>{s.value=O}}),c=l.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),h=qe(l.toRef(e,"labelPosition"),"labelPosition",ft.Near),v=l.computed(()=>h&&h.value==="top"?"top":h&&h.value==="right"?"right":"left"),A=l.computed(()=>({[`${o}__main`]:!0,[`${o}__main--${v.value}`]:!0})),T=l.computed(()=>({label:!0,[`label--${v.value}`]:!0})),E=qe(l.toRef(e,"labelWidth"),"labelWidth",ft.Near),R=l.computed(()=>E&&E.value?{width:K(E.value)}:{}),S=l.computed(()=>({["label--string"]:!0,["label--required"]:d.value})),D=l.computed(()=>({content:!0,[e.contentClass]:!0})),k=l.computed(()=>({...e.contentStyle})),I=l.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});fe({setRequired(O){d.value=O},setErrorTip(O){I.errorTip=O},setErrorIcon(O){I.errorIcon=O},setWarnTip(O){I.warnTip=O},setWarnIcon(O){I.warnIcon=O},setInfoTip(O){I.infoTip=O},setInfoIcon(O){I.infoIcon=O}});const M=l.computed(()=>e.infoTip||I.infoTip),y=l.computed(()=>e.infoIcon||I.infoIcon),m=l.computed(()=>e.warnTip||I.warnTip),b=l.computed(()=>e.warnIcon||I.warnIcon),V=l.computed(()=>e.errorTip||I.errorTip),w=l.computed(()=>e.errorIcon||I.errorIcon),x=l.computed(()=>V.value?"error":m.value?"warn":M.value?"info":""),B=l.computed(()=>x.value.length>0),$=l.computed(()=>x.value==="error"?V.value:x.value==="warn"?m.value:x.value==="info"?M.value:""),j=l.computed(()=>x.value==="error"?w.value:x.value==="warn"?b.value:x.value==="info"?y.value:null),p=l.computed(()=>{let O={[`${o}__tip`]:!0,[`${o}__tip--${x.value}`]:!0};return x.value==="error"&&e.errorClass?O[`${e.errorClass}`]=!0:x.value==="warn"&&e.warnClass?O[`${e.warnClass}`]=!0:x.value==="info"&&e.infoClass&&(O[`${e.infoClass}`]=!0),O}),N=l.computed(()=>{let O={};return h&&h.value==="top"?O["padding-left"]="0px":E&&E.value&&(O["padding-left"]=K(E.value)),O}),C=l.ref();let q="";return l.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([O,F,L,P])=>{C.value&&(O&&!ee(F)?q?bt.show(C.value,F,{...P,id:q,type:L}):q=bt.show(C.value,F,{...P,type:L}):bt.hide(q))}),{classes:i,styles:u,mainClasses:A,hasLabel:c,labelClasses:T,labelStyles:R,labelStringClasses:S,contentClasses:D,contentStyles:k,contentRef:C,hasTip:B,mTip:$,mIcon:j,tipClasses:p,tipStyles:N}}}),xl={key:0,class:"fox-item__tip-icon"},Cl={class:"fox-item__tip-text"};function Ol(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.createElementVNode("div",{class:l.normalizeClass(e.mainClasses)},[e.hasLabel?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(e.labelClasses),style:l.normalizeStyle(e.labelStyles)},[l.createElementVNode("div",{class:l.normalizeClass(e.labelStringClasses)},[l.renderSlot(e.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(e.label),1)])],2)],6)):l.createCommentVNode("",!0),l.createElementVNode("div",{ref:"contentRef",class:l.normalizeClass(e.contentClasses),style:l.normalizeStyle(e.contentStyles)},[l.renderSlot(e.$slots,"prepend"),l.renderSlot(e.$slots,"default"),l.renderSlot(e.$slots,"append")],6)],2),l.createVNode(l.Transition,{name:"fox-item__animate"},{default:l.withCtx(()=>[e.hasTip?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(e.tipClasses),style:l.normalizeStyle(e.tipStyles)},[e.mIcon?(l.openBlock(),l.createElementBlock("div",xl,l.toDisplayString(e.mIcon),1)):l.createCommentVNode("",!0),l.createElementVNode("div",Cl,l.toDisplayString(e.mTip),1)],6)):l.createCommentVNode("",!0)]),_:1}),l.renderSlot(e.$slots,"hide")],6)}const oe=ke(El,[["render",Ol]]);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}},setup(r,n){const a=ve(),o=ht();gt(!1);const i=l.computed(()=>o&&a?Je(a,!1).value:null),u=e,s=l.computed(()=>({[u]:!0,[`${u}__gutter`]:i.value&&i.value.type!=="flow",[`${u}__stretch`]:r.span==="stretch"})),d=l.computed(()=>{const c={};if(i.value)if(i.value.type==="flex"){if(r.width)c.width=K(r.width);else{const A=ge(i.value.column,r.span);A>0&&(c.width=`${A}%`)}const h=ge(i.value.column,r.offset);h>0&&(c["margin-left"]=`${h}%`);const v=i.value.gutter/2;v>0&&(c["padding-left"]=`${v}px`,c["padding-right"]=`${v}px`)}else if(i.value.type==="flow"){if(r.width)c.width=K(r.width);else{const A=ge(i.value.column,r.span);A>0&&(c.width=`${A}%`)}const h=ge(i.value.column,r.offset);h>0&&(c["margin-left"]=`${h}%`);const v=i.value.gutter/2;if(v>0){const A=a?Pt(a,!1):null;if(A){let T=Z(r.offset)+Z(r.span);(T===-1||T>i.value.column)&&(T=i.value.column);const E=Math.ceil((A.index+1)/i.value.column),R=Math.ceil((A.index+T)/i.value.column);if(E===R){const S=(A.index+1)%i.value.column,D=(A.index+T)%i.value.column,k=S===1?0:v,I=D===0?0:v;c["padding-left"]=`${k}px`,c["padding-right"]=`${I}px`}else{const S=T%i.value.column,D=0,k=S===0?0:v;c["padding-left"]=`${D}px`,c["padding-right"]=`${k}px`}A.index+=T}else c["padding-left"]=`${v}px`,c["padding-right"]=`${v}px`}}else return r.width&&(c.width=K(r.width)),c;else r.width&&(c.width=K(r.width));return c});return()=>{const c={class:s.value,style:d.value};return n.slots&&typeof n.slots.default=="function"?l.h("div",c,n.slots.default()):l.h("div",c)}}}}const{componentName:Vl,create:Il,scope:zi}=Y("slot-item"),Xn=Il(Tl(Vl));function Nl(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 a=e,o=l.computed(()=>({[a]:!0,[`${a}__stretch`]:r.span==="stretch",[`${a}__${r.align}`]:!0})),i=ve(),u=ht();gt(!1);const s=l.computed(()=>{const c={};if(u&&i){const h=Je(i,!1);if(h.value.type!=="flex")return r.width&&(c.width=K(r.width)),c;if(r.width)c.width=K(r.width);else{const T=ge(h.value.column,r.span);T>0&&(c.width=`${T}%`)}const v=ge(h.value.column,r.offset);v>0&&(c["margin-left"]=`${v}%`);const A=h.value.gutter/2;A>0&&(c["padding-left"]=`${A}px`,c["padding-right"]=`${A}px`)}else r.width&&(c.width=K(r.width));return c}),d=l.computed(()=>({[`${a}__content`]:!0}));return()=>{const c=[];if(n.slots.default){const T=n.slots.default();if(r.divide)for(let E=0;E<T.length;E++){if(E>0){const R=l.h("div",{class:{[`${a}__divide`]:!0}});c.push(R)}c.push(T[E])}else Reflect.apply([].push,c,T)}const h={class:d.value},v=l.h("div",h,c),A={class:o.value,style:s.value};return l.h("div",A,[v])}}}}const{componentName:Al,create:Rl,scope:Gi}=Y("row-item"),Zn=Rl(Nl(Al)),Jn={modelValue:{type:[String,Boolean,Number,Object],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function kl(e,t,r){return{props:{...re,...ce,...Jn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),d=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),v=e,A=l.computed(()=>({[v]:!0})),T=m=>{h.value=m,o("update:modelValue",m),o("input",m)},E=m=>{o("change",m)};let R=W(n,"hintText"),S=l.ref(!1);const D=m=>{let V=m.target.value;s.value=!0,ee(R.value)||(S.value=!0),o("focus",V,m)},k=m=>{setTimeout(()=>{S.value&&(S.value=!1),s.value=!1},0);let V=m.target.value;n.maxLength&&V.length>Number(n.maxLength)&&(V=V.slice(0,Number(n.maxLength))),o("blur",V,m)},I=()=>{o("clear","")},M=l.computed(()=>We(n.unit)>0),y=l.ref();return fe({focus:()=>{y?.value.focus()},blur:()=>{y?.value.blur()},select:()=>{y?.value.select()}}),()=>{const b={...a.attrs,ref:y,class:A.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:d.value,readonly:c.value,modelValue:h.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:I,onChange:E,onInput:T,onFocus:D,onBlur:k},V={};a.slots.prepend&&(V.prepend=a.slots.prepend),a.slots.append&&(V.append=a.slots.append),a.slots.prefix&&(V.prefix=a.slots.prefix),a.slots.suffix?V.suffix=a.slots.suffix:M.value&&(V.suffix=()=>[n.unit]);const w=[],x=l.h(g.ElInput,b,V);w.push(x);const B={default:()=>w};if(a.slots.default){const N=a.slots.default();B.label=()=>N}const j={...ue(n,Jn),hintText:R.value,hintVisible:S.value,prop:`${n.prop}_item`};return l.h(r,j,B)}}}}const{componentName:jl,create:Ml,scope:Dl}=Y("input-item"),Qn=Ml(kl(jl,Dl,oe));function je(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Le(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function er(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}let ql=class{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Re(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(Se(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}};function Bl(){const e=l.getCurrentInstance();return new ql(e.proxy)}function tr(e,t,r){const n=je(e,t),a=je(e,r);if(n!==a)return!1;const o=Le(e,t),i=Le(e,r);return o===i}function nr(e,t,r,n){if(n.length===0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];return t.forEach(o=>{for(let i of n){const u=er(e,i);if(Array.isArray(u)&&u.length>0){const s=nr(e,o,r,u)??[];Reflect.apply([].push,a,s)}else{let s=!1;if(r==="text")s=je(e,i)===o;else if(r==="item")s=tr(e,i,o);else{let d=Le(e,i);d==null&&(d=je(e,i)),s=d===o}if(s){a.push(i);break}}}}),a}function Fl(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},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},optionType:{type:String,required:!1,default:"text"},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},placeholder:{type:[String],required:!1}};function Ll(e,t,r){return{props:{...re,...ce,...rr},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(null),d=l.ref([]),c=(p,N,C,q=!0)=>{const O=nr(n,p,N,C);if(O===null){if(d.value===null||d.value.length===0)return;s.value=null,d.value=[],q&&(o("update:modelValue",null),o("change",null));return}let F=!0;if(O.length!==d.value.length)F=!1;else for(let L=0;L<O.length;L++){const P=O[L],_=d.value[L];if(!tr(n,P,_)){F=!1;break}}if(!F){d.value=O;let L=[],P=[];O.forEach(G=>{L.push(Le(n,G)),n.valueType==="text"?P.push(je(n,G)):n.valueType==="item"?P.push(G):P.push(Le(n,G))});let _;n.multiple?(s.value=L,_=l.toRaw(P)):(s.value=L[0]??"",_=l.toRaw(P[0]??"")),q&&(o("update:modelValue",_),o("change",_))}},h=l.ref([]),v=Bl();l.watch([()=>n.source,()=>n.params],async([p,N])=>{if(p){const C=await v.load("select",p,N);if(C.length>0)if(typeof C[0]=="string"){let F=C.map(L=>Fl(L));h.value=F}else h.value=C}},{immediate:!0}),l.watch([()=>h.value,()=>n.modelValue],([p,N])=>{c(N,n.valueType,p,!1)});let A=null,T=l.ref(!1);typeof n.remoteMethod=="function"&&(A=async p=>{if(p!=null){T.value=!0;try{const N=await n.remoteMethod(p);h.value=N}catch(N){console.error(N)}T.value=!1}});const E=l.ref(!1),R=he(l.computed(()=>n.disabled)),S=de(l.computed(()=>n.readonly)),D=e,k=l.computed(()=>({[D]:!0})),I=p=>{n.allowCreate?(o("update:modelValue",p),o("change",p),s.value=p):c(p,"value",h.value,!0)};let M=W(n,"hintText"),y=l.ref(!1);const m=p=>{let C=p.target.value;E.value=!0,ee(M.value)||(y.value=!0),o("focus",C,p)},b=p=>{setTimeout(()=>{y.value&&(y.value=!1),E.value=!1},0);let C=p.target.value;n.maxLength&&C.length>Number(n.maxLength)&&(C=C.slice(0,Number(n.maxLength))),w.value?setTimeout(()=>{o("blur",C,p)},50):o("blur",C,p)},V=()=>{o("clear","")},w=l.ref(!1),x=p=>{w.value=p,o("visible-change",p)},B=p=>{o("remove-tag",p)},$=(p,N)=>{const C=[];return p.forEach((q,O)=>{const F=er(n,q);if(Array.isArray(F)&&F.length>0){const L=$(F,N),P=je(n,q),G={key:`${P}_${O}`,label:P};C.push(l.h(g.ElOptionGroup,G,{default:()=>L}))}else{const L=Le(n,q),P=je(n,q),_=se(q.disabled),z={key:`${L}_${O}`,label:P,disabled:_,value:L};if(typeof N=="function")C.push(l.h(g.ElOption,z,{default:()=>N(q)}));else if(n.optionType==="item"){const ie={class:{"fox-select-item__option-left":!0}},te=l.h("span",ie,[L]),J={class:{"fox-select-item__option-right":!0}},X=l.h("span",J,[P]),me=l.h("div",{class:{"fox-select-item__option":!0}},[te,X]);C.push(l.h(g.ElOption,z,{default:()=>me}))}else n.optionType==="value"?C.push(l.h(g.ElOption,z,{default:()=>[L]})):C.push(l.h(g.ElOption,z))}}),C},j=l.ref();return fe({focus:()=>{j?.value.focus()},blur:()=>{j?.value.blur()}}),()=>{const N={...a.attrs,ref:j,class:k.value,clearable:n.clearable,multiple:n.multiple,placeholder:u.placeholder.value,disabled:R.value||S.value,modelValue:s.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:V,onChange:I,onFocus:m,onBlur:b,onVisibleChange:x,onRemoveTag:B};typeof A=="function"&&(N["remote-method"]=A,N.loading=T.value);const C={};a.slots.prefix&&(C.prefix=a.slots.prefix),a.slots.empty&&(C.empty=a.slots.empty),C.default=()=>$(h.value,a.slots.option);const q=[],O=l.h(g.ElSelect,N,C);q.push(O);const F={default:()=>q};if(a.slots.default){const G=a.slots.default();F.label=()=>G}const P={...ue(n,rr),hintText:M.value,hintVisible:y.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,P,F)}}}}const{componentName:Pl,create:_l,scope:Hl}=Y("select-item"),ar=_l(Ll(Pl,Hl,oe)),lr={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Kl(e,t,r){return{props:{...re,...ce,...lr},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),d=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),v=e,A=l.computed(()=>({[v]:!0})),T=b=>{h.value=b,o("update:modelValue",b),o("change",b)};let E=W(n,"hintText"),R=l.ref(!1);const S=b=>{let w=b.target.value;s.value=!0,ee(E.value)||(R.value=!0),o("focus",w,b)},D=b=>{setTimeout(()=>{R.value&&(R.value=!1),s.value=!1},0);let w=b.target.value;n.maxLength&&w.length>Number(n.maxLength)&&(w=w.slice(0,Number(n.maxLength))),o("blur",w,b)},k=()=>{o("clear","")},I=b=>{o("calendar-change",b)},M=(b,V,w)=>{o("panel-change",b,V,w)},y=b=>{o("visible-change",b)},m=l.ref();return fe({focus:()=>{m?.value.focus()},blur:()=>{m?.value.blur()},handleOpen:()=>{m?.value.handleOpen()},handleClose:()=>{m?.value.handleClose()}}),()=>{const V={...a.attrs,ref:m,class:A.value,placeholder:u.placeholder.value,disabled:d.value,readonly:c.value,modelValue:h.value,["onUpdate:modelValue"]:T,onClear:k,onFocus:S,onBlur:D,onCalendarChange:I,onPanelChange:M,onVisibleChange:y},w={};a.slots["range-separator"]&&(w["range-separator"]=a.slots["range-separator"]),a.slots.cell&&(w.default=a.slots.cell);const x=[],B=l.h(g.ElDatePicker,V,w);x.push(B);const $={default:()=>x};if(a.slots.default){const C=a.slots.default();$.label=()=>C}const p={...ue(n,lr),hintText:E.value,hintVisible:R.value,prop:`${n.prop}_item`};return l.h(r,p,$)}}}}const{componentName:zl,create:Gl,scope:Yl}=Y("date-item"),or=Gl(Kl(zl,Yl,oe)),ir={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Wl(e,t,r){return{props:{...re,...ce,...ir},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),d=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),v=e,A=l.computed(()=>({[v]:!0})),T=y=>{h.value=y,o("update:modelValue",y),o("change",y)};let E=W(n,"hintText"),R=l.ref(!1);const S=y=>{let b=y.target.value;s.value=!0,ee(E.value)||(R.value=!0),o("focus",b,y)},D=y=>{setTimeout(()=>{R.value&&(R.value=!1),s.value=!1},0);let b=y.target.value;n.maxLength&&b.length>Number(n.maxLength)&&(b=b.slice(0,Number(n.maxLength))),o("blur",b,y)},k=()=>{o("clear","")},I=y=>{o("visible-change",y)},M=l.ref();return fe({focus:()=>{M?.value.focus()},blur:()=>{M?.value.blur()},handleOpen:()=>{M?.value.handleOpen()},handleClose:()=>{M?.value.handleClose()}}),()=>{const m={...a.attrs,ref:M,class:A.value,placeholder:u.placeholder.value,disabled:d.value,readonly:c.value,modelValue:h.value,["onUpdate:modelValue"]:T,onClear:k,onFocus:S,onBlur:D,onVisibleChange:I},b={},V=[],w=l.h(g.ElTimePicker,m,b);V.push(w);const x={default:()=>V};if(a.slots.default){const p=a.slots.default();x.label=()=>p}const $={...ue(n,ir),hintText:E.value,hintVisible:R.value,prop:`${n.prop}_item`};return l.h(r,$,x)}}}}const{componentName:Ul,create:Xl,scope:Zl}=Y("time-item"),sr=Xl(Wl(Ul,Zl,oe)),ur={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Jl(e,t,r){return{props:{...re,...ce,...ur},emits:["change","update:modelValue","blur","focus","clear"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),d=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),v=e,A=l.computed(()=>({[v]:!0})),T=M=>{h.value=M,o("update:modelValue",M),o("change",M)};let E=W(n,"hintText"),R=l.ref(!1);const S=M=>{let m=M.target.value;s.value=!0,ee(E.value)||(R.value=!0),o("focus",m,M)},D=M=>{setTimeout(()=>{R.value&&(R.value=!1),s.value=!1},0);let m=M.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),o("blur",m,M)},k=()=>{o("clear","")},I=l.ref();return fe({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()},handleOpen:()=>{I?.value.handleOpen()},handleClose:()=>{I?.value.handleClose()}}),()=>{const y={...a.attrs,ref:I,class:A.value,placeholder:u.placeholder.value,disabled:d.value,readonly:c.value,modelValue:h.value,["onUpdate:modelValue"]:T,onClear:k,onFocus:S,onBlur:D},m={},b=[],V=l.h(g.ElTimeSelect,y,m);b.push(V);const w={default:()=>b};if(a.slots.default){const j=a.slots.default();w.label=()=>j}const B={...ue(n,ur),hintText:E.value,hintVisible:R.value,prop:`${n.prop}_item`};return l.h(r,B,w)}}}}const{componentName:Ql,create:eo,scope:to}=Y("time-select-item"),cr=eo(Jl(Ql,to,oe));function fr(e,t=0){let r=`${e}`,n=r.indexOf(".");if(n==-1)return r;let a=n;for(let o=r.length-1;o>=n;o--)if(r.charAt(o)!="0"){a=o;break}return a-n<t?a=n+t+1:a!=n&&(a+=1),a>r.length?r=r.padEnd(a,"0"):r=r.substring(0,a),r}function dr(e,t,r=20){if(typeof t=="string"&&(t=Z(t)),t==1||t==-1)return`${e}`;if(t==0)return"0";if(t>0){let n=dn(`${e}`,`${t}`);return fr(n)}else{let n=Ot(`${e}`,hn(`${t}`),20);return fr(n)}}function no(e,t=-1,r=!1,n=3,a=","){return Vt(e,t,r,n,a)}function hr(e,t,r,n,a=!0){if(e=="")return"";if(e=gn(e),t=Z(t),t==1)return e;if(n)e=dr(e,t),r&&(e=="0"&&a?e=`${e}.`.padEnd(Z(r)+2,"0"):e=Ot(e,1,Z(r)));else{let o=-1*t;e=dr(e,o)}return e}function gr(e,t){let r={maxValid:!0,minValid:!0,message:""};if(t.min!==void 0){let n=se(t.minInclude),a=Tt(e,t.min);if(n&&a==-1||!n&&(a==0||a==-1)){let o="请输入不小于 {0} 的数值";r.message=o.replace("{0}",t.min),r.minValid=!1}}if(t.max!=null){let n=se(t.maxInclude),a=Tt(e,t.max);(n&&a==1||!n&&(a==0||a==1))&&(r.maxValid=!1)}return r}const mr={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 ro(e,t,r){return{props:{...re,...ce,...mr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),i=l.ref(!1),u=he(l.computed(()=>n.disabled)),s=de(l.computed(()=>n.readonly)),d=W(n,"modelValue"),c=l.ref("");l.watch([()=>d.value,()=>n.rates,()=>n.precision],([$,j,p])=>{if(ee($))return"";const N=hr($,j,p,!1);c.value!==N&&(c.value=N)},{immediate:!0});const h=l.computed(()=>{let $="";return i.value&&($=c.value),$}),{t:v}=ye.useFoxI18n(t),A=l.computed(()=>{let $=n.placeholder??"";return!i.value&&!ee(c.value)?$=no(c.value,n.decimalLength,n.autoPadding,n.digits,n.separator):$=v(["placeholder",$]),$}),T=e,E=l.computed(()=>({[T]:!0,[`${T}__disabled`]:u.value,[`${T}__placeholder`]:c.value.length>0})),R=qe(l.computed(()=>n.textAlign),"textAlign");l.computed(()=>i.value?{textAlign:"left"}:{textAlign:R.value??"right"});const S=l.ref(""),D=l.computed(()=>{let $=S.value;return ee($)&&($=n.errorTip??""),$}),k=l.ref(""),I=l.ref(!1),M=($,j)=>{if($=`${$}`,ee($)){c.value="",d.value="",j.forEach(p=>{o(p,"")}),se(n.showTip)&&I.value&&(I.value=!1);return}if($.length>=2){let p=$;if(p.charAt(0)=="-"&&(p=p.substring(1)),p.length>=2&&p.charAt(0)=="0"&&p.charAt(1)!="."){l.triggerRef(c);return}}if($!="-"){if(!$n($)){l.triggerRef(c);return}if(n.integerLength!=-1&&vn($)>Number(n.integerLength)){l.triggerRef(c);return}if(n.decimalLength&&n.decimalLength!=-1&&En($)>Number(n.decimalLength)){l.triggerRef(c);return}let p=gr($,n);if(p.maxValid===!1){S.value=p.message,l.triggerRef(c);return}}else if(n.min!=null&&Z(n.min)>=0){l.triggerRef(c);return}k.value=$,se(n.showTip)&&(I.value=$.length>0),c.value=$,d.value=hr($,n.rates,n.precision,!0),j.forEach(p=>{o(p,d.value)})},y=$=>{M($,["update:modelValue","input"])},m=$=>{M($,["update:modelValue","change"])},b=$=>{if(i.value=!0,se(n.showTip)){let j=c.value;ee(j)&&(j=n.hintText),ee(j)||(k.value=j,I.value=!0)}S.value="",o("focus",d.value,$)},V=$=>{if(setTimeout(()=>{i.value=!1,se(n.showTip)&&I.value===!0&&(I.value=!1)},0),!ee(c.value)){let j=gr(c.value,n);if(j.minValid===!1||j.maxValid){S.value=j.message;return}}o("update:modelValue",d.value,$),o("blur",d.value,$)},w=()=>{o("clear","")},x=l.computed(()=>We(n.unit)>0),B=l.ref();return fe({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},select:()=>{B?.value.select()}}),()=>{const j={...a.attrs,ref:B,class:E.value,type:"digit",maxlength:n.maxLength,placeholder:A.value,clearable:n.clearable,disabled:u.value,readonly:s.value,modelValue:h.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:w,onInput:y,onChange:m,onFocus:b,onBlur:V},p={};a.slots.prepend&&(p.prepend=a.slots.prepend),a.slots.append&&(p.append=a.slots.append),a.slots.prefix&&(p.prefix=a.slots.prefix),a.slots.suffix?p.suffix=a.slots.suffix:x.value&&(p.suffix=()=>[n.unit]);const N=[],C=l.h(g.ElInput,j,p);N.push(C);const q={default:()=>N};if(a.slots.default){const P=a.slots.default();q.label=()=>P}const F={...ue(n,mr),errorTip:D.value,hintText:k.value,hintVisible:I.value,hintType:"number",prop:`${n.prop}_item`};return l.h(r,F,q)}}}}const{componentName:ao,create:lo,scope:oo}=Y("money-item"),yr=lo(ro(ao,oo,oe)),pr={modelValue:{type:[String,Number],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function io(e,t,r){return{props:{...re,...ce,...pr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),d=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),v=e,A=l.computed(()=>({[v]:!0,[`${v}__append`]:y.value})),T=l.computed(()=>({[`${v}__unit`]:!0})),E=b=>{h.value=b,o("update:modelValue",b),o("input",b)},R=b=>{o("change",b)};let S=W(n,"hintText"),D=l.ref(!1);const k=b=>{let w=b.target.value;s.value=!0,ee(S.value)||(D.value=!0),o("focus",w,b)},I=b=>{setTimeout(()=>{D.value&&(D.value=!1),s.value=!1},0);let w=b.target.value;n.maxLength&&w.length>Number(n.maxLength)&&(w=w.slice(0,Number(n.maxLength))),o("blur",w,b)},M=()=>{o("clear","")},y=l.computed(()=>We(n.unit)>0),m=l.ref();return fe({focus:()=>{m?.value.focus()},blur:()=>{m?.value.blur()}}),()=>{const V={...a.attrs,ref:m,class:A.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:d.value,readonly:c.value,modelValue:h.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:M,onChange:R,onInput:E,onFocus:k,onBlur:I},w={},x=[],B=l.h(g.ElInputNumber,V,w);x.push(B);const $={default:()=>x};if(a.slots.default){const C=a.slots.default();$.label=()=>C}const p={...ue(n,pr),hintText:S.value,hintVisible:D.value,prop:`${n.prop}_item`};if(a.slots.append)$.append=a.slots.append;else if(y.value){const C={class:T.value},q=l.h("div",C,[n.unit]);$.append=()=>q}return l.h(r,p,$)}}}}const{componentName:so,create:uo,scope:co}=Y("input-number-item"),br=uo(io(so,co,oe));function Pe(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Me(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function fo(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}let ho=class{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Re(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(Se(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}};function go(){const e=l.getCurrentInstance();return new ho(e.proxy)}function zt(e,t,r){const n=Pe(e,t),a=Pe(e,r);if(n!==a)return!1;const o=Me(e,t),i=Me(e,r);return o===i}function wr(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];let o=n;for(let i=0;Array.isArray(o)&&i<t.length;i++){const u=t[i];if(Array.isArray(u)){const s=wr(e,u,r,n);a.push(s)}else{let s=!1;for(let d of o){if(r==="text")s=Pe(e,d)===u;else if(r==="item")s=zt(e,d,u);else{let c=Me(e,d);c==null&&(c=Pe(e,d)),s=c===u}if(s){a.push(d),o=fo(e,d);break}}if(!s)break}}return a}function mo(e){return{text:e,value:e}}const Sr={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 yo(e,t,r){return{props:{...re,...ce,...Sr},emits:["change","update:modelValue","blur","focus","clear","visible-change","expand-change","remove-tag"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(null),d=l.ref([]),c=(N,C,q,O=!0)=>{if(n.props&&n.props.lazy===!0){if(s.value===N)return;s.value=N;const P=l.toRaw(N);O&&(o("update:modelValue",P),o("change",P))}const F=wr(n,N,C,q);if(F===null){if(d.value.length===0||d.value===null)return;d.value=[],s.value=null,O&&(o("update:modelValue",null),o("change",null));return}let L=!0;if(F.length!==d.value.length)L=!1;else for(let P=0;P<F.length;P++){const _=F[P],G=d.value[P];if(Array.isArray(_)){if(!Array.isArray(G)||_.length!==G.length)L=!1;else for(let z=0;z<_.length;z++)if(!zt(n,_[z],G[z])){L=!1;break}}else zt(n,_,G)||(L=!1);if(!L)break}if(!L){d.value=F;let P=[],_=[];F.forEach(z=>{if(Array.isArray(z)){let ie=[],te=[];for(let J of z)ie.push(Me(n,J)),n.valueType==="text"?te.push(Pe(n,J)):n.valueType==="item"?te.push(J):te.push(Me(n,J));P.push(ie),_.push(te)}else P.push(Me(n,z)),n.valueType==="text"?_.push(Pe(n,z)):n.valueType==="item"?_.push(z):_.push(Me(n,z))}),s.value=P;const G=l.toRaw(_);O&&(o("update:modelValue",G),o("change",G))}},h=l.ref([]),v=go();l.watch([()=>n.source,()=>n.params],async([N,C])=>{if(N){const q=await v.load("cascader",N,C);if(q.length>0)if(typeof q[0]=="string"){let L=q.map(P=>mo(P));h.value=L}else h.value=q}},{immediate:!0}),l.watch([()=>h.value,()=>n.modelValue],([N,C])=>{c(C,n.valueType,N,!1)});let A=null,T=l.ref(!1);typeof n.remoteMethod=="function"&&(A=async N=>{if(N!=null){T.value=!0;try{const C=await n.remoteMethod(N);h.value=C}catch(C){console.error(C)}T.value=!1}});const E=l.ref(!1),R=he(l.computed(()=>n.disabled)),S=de(l.computed(()=>n.readonly)),D=e,k=l.computed(()=>({[D]:!0})),I=l.computed(()=>{let N={label:n.textKey,value:n.valueKey,children:n.childrenKey};return n.multiple===!0&&(N.multiple=!0),n.props&&Object.assign(N,n.props),N}),M=N=>{n.allowCreate?(o("update:modelValue",N),o("change",N),s.value=N):c(N,"value",h.value,!0)};let y=W(n,"hintText"),m=l.ref(!1);const b=N=>{let q=N.target.value;E.value=!0,ee(y.value)||(m.value=!0),o("focus",q,N)},V=N=>{setTimeout(()=>{m.value&&(m.value=!1),E.value=!1},0);let q=N.target.value;n.maxLength&&q.length>Number(n.maxLength)&&(q=q.slice(0,Number(n.maxLength))),x.value?setTimeout(()=>{o("blur",q,N)},50):o("blur",q,N)},w=()=>{o("clear","")},x=l.ref(!1),B=N=>{x.value=N,o("visible-change",N)},$=N=>{o("remove-tag",N)},j=N=>{o("expand-change",N)},p=l.ref();return fe({focus:()=>{p?.value.focus()},blur:()=>{p?.value.blur()},getCheckedNodes:()=>p?.value.getCheckedNodes()}),()=>{const C={...a.attrs,ref:p,class:k.value,props:I.value,clearable:n.clearable,placeholder:u.placeholder.value,disabled:R.value||S.value,options:h.value,modelValue:s.value,onClear:w,onChange:M,onFocus:b,onBlur:V,onVisibleChange:B,onRemoveTag:$,expandChange:j};typeof A=="function"&&(C["remote-method"]=A,C.loading=T.value);const q={};a.slots.option&&(q.default=a.slots.option),a.slots.empty&&(q.empty=a.slots.empty);const O=[],F=l.h(g.ElCascader,C,q);O.push(F);const L={default:()=>O};if(a.slots.default){const z=a.slots.default();L.label=()=>z}const _={...ue(n,Sr),hintText:y.value,hintVisible:m.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,_,L)}}}}const{componentName:po,create:bo,scope:wo}=Y("cascader-item"),$r=bo(yo(po,wo,oe)),vr={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function So(e,t,r){return{props:{...re,...ce,...vr},emits:["change","update:modelValue","blur","focus","clear","input","select"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),d=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),v=e,A=l.computed(()=>({[v]:!0})),T=y=>{h.value=y,o("update:modelValue",y),o("input",y)},E=y=>{o("change",y)};let R=W(n,"hintText"),S=l.ref(!1);const D=y=>{let b=y.target.value;s.value=!0,ee(R.value)||(S.value=!0),o("focus",b,y)},k=y=>{setTimeout(()=>{S.value&&(S.value=!1),s.value=!1},0);let b=y.target.value;n.maxLength&&b.length>Number(n.maxLength)&&(b=b.slice(0,Number(n.maxLength))),o("blur",b,y)},I=()=>{o("clear","")},M=l.ref();return fe({focus:()=>{M?.value.focus()},blur:()=>{M?.value.blur()},select:()=>{M?.value.select()}}),()=>{const m={...a.attrs,ref:M,class:A.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:d.value,readonly:c.value,modelValue:h.value,onClear:I,onChange:E,onInput:T,onFocus:D,onBlur:k},b={};a.slots.prepend&&(b.prepend=a.slots.prepend),a.slots.append&&(b.append=a.slots.append),a.slots.prefix&&(b.prefix=a.slots.prefix),a.slots.suffix&&(b.suffix=a.slots.suffix),a.slots.option&&(b.default=a.slots.option);const V=[],w=l.h(g.ElAutocomplete,m,b);V.push(w);const x={default:()=>V};if(a.slots.default){const p=a.slots.default();x.label=()=>p}const $={...ue(n,vr),hintText:R.value,hintVisible:S.value,prop:`${n.prop}_item`};return l.h(r,$,x)}}}}const{componentName:$o,create:vo,scope:Eo}=Y("autocomplete-item"),Er=vo(So($o,Eo,oe));function xo(e,t,r,n,a){let o=[];Array.isArray(e)?o=e:o=[e];const i=[],u=t[0];if(Array.isArray(u))for(let s=0;s<t.length&&s<o.length;s++){let d=t[s],c=o[s];const h=d.find(v=>v[n]===c);if(!h)break;i.push(h[r])}else{let s=t;for(let d=0;s&&d<o.length;d++){let c=o[d],h=s.find(v=>v[n]===c);if(!h)break;i.push(h[r]),s=h[a]}}return i}let Co=class{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Re(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(Se(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}};function Oo(){const e=l.getCurrentInstance();return new Co(e.proxy)}const xr={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 To(e,t){return{props:{...xr},setup(r,{attrs:n}){const a=Oo(),o=l.ref([]);l.watch([()=>r.source,()=>r.params],async([s,d])=>{o.value=await a.load(r.sourceType,s,d)},{immediate:!0});const i=l.computed(()=>{if(!Array.isArray(o.value)||o.value.length===0)return"";let s=xo(r.modelValue,o.value,r.textKey,r.valueKey,r.childrenKey);return s.length==0?"":s.length===1?s[0]:s.join(r.separator)}),u=r.resolveTag?l.resolveComponent(r.tag):r.tag;return()=>{const s={...n};return r.resolveTag?l.h(u,s,{default:()=>i.value}):l.h(u,s,i.value)}}}}const{componentName:Yi,create:Vo,scope:Wi}=Y("mapping"),Gt=Vo(To());function Io(e,t){let r=t.split("."),n=e;for(let a=0;a<r.length;a++){let o=r[a],i=0,u=o.indexOf("["),s=u==-1?-1:o.indexOf("]",u);for(;u!==-1&&s!==-1;){let d=o.substring(u+1,s);if(/^\d+$/.test(d)){let c=parseInt(d);if(i==0){let h=o.substring(0,u);n=n[h][c]}else n=n[c];i++}u=o.indexOf("[",s),s=u==-1?-1:o.indexOf("]",u)}i===0&&(n=n[o])}return n}function No(e,t){return{props:{...xr},setup(r,{attrs:n}){return()=>{const a={default:o=>{const i=Io(o.row,o.column.property);return l.h(Gt,{...r,modelValue:i})}};return l.h(g.ElTableColumn,{...n},a)}}}}const{componentName:Ui,create:Ao,scope:Xi}=Y("table-mapping-column"),Cr=Ao(No());let Ro=class{proxy;constructor(t){this.proxy=t}async load(t,r,n,a,o,i,u){if(Array.isArray(r)){let d=(n-1)*a,c=d+a;c>r.length&&(c=r.length);const h=r.slice(d,c);return{totalSize:r.length,page:h}}if(typeof r=="function")return await Reflect.apply(r,null,[n,a,o,i,u]);const s=Re(this.proxy,t);return s===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(Se(o)&&l.isReactive(o)&&(o=l.toRaw(o)),await await Reflect.apply(s,null,[r,n,a,o,i,u]))}};function ko(){const e=l.getCurrentInstance();return new Ro(e.proxy)}function jo(e,t){let r=t.split("."),n=e;for(let a=0;a<r.length;a++){let o=r[a],i=0,u=o.indexOf("["),s=u==-1?-1:o.indexOf("]",u);for(;u!==-1&&s!==-1;){let d=o.substring(u+1,s);if(/^\d+$/.test(d)){let c=parseInt(d);if(i==0){let h=o.substring(0,u);n=n[h][c]}else n=n[c];i++}u=o.indexOf("[",s),s=u==-1?-1:o.indexOf("]",u)}i===0&&(n=n[o])}return n}function Yt(e,t){return e.filter(n=>{for(let a in t){const o=t[a],i=jo(n,a);if(o!==i)return!1}return!0})}const Or={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},baseParams:{type:[Object]},params:{type:[Object]}},Tr={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 Mo(e,t,r){return{inheritAttrs:!1,props:{...re,...ce,...Or,...Tr},emits:["change","page-size-change","page-index-change","current-change","loaded-data"],setup(n,a){const{locale:o}=ye.useFoxI18n(t),{emitEvent:i}=le({componentName:e,validateHandler:{getValue(...x){return S.value}}},n.prop??a.attrs.name),u=e,s=l.computed(()=>({[u]:!0})),d=l.computed(()=>({[`${u}__pagination`]:!0,[`${u}__pagination__${n.paginationAlign}`]:!0})),c=l.ref(n.pageIndex);l.watch(()=>n.pageIndex,x=>{c.value=x});const h=x=>{c.value=x,i("page-index-change",x)},v=l.ref(n.pageSize);l.watch(()=>n.pageSize,x=>{v.value=x});const A=x=>{v.value=x,i("page-size-change",x)},T=l.shallowRef({}),E=l.computed(()=>({...T.value,...n.params??{},...n.baseParams??{}})),R=l.ref(0),S=l.ref(),D=ko();let k=!0;const I=()=>Array.isArray(n.data)||typeof n.data=="function"?!0:se(n.autoLoad),M=async(x,B,$,j)=>{try{const p=await D.load("table",x,B,$,j,k,o.value);R.value=p.totalSize,S.value=p.page}catch(p){console.error("[FoxUI] Load Table Data Fail",p),R.value=0,S.value=[]}k=!1,setTimeout(()=>{i("loaded-data")},250)};l.watch([c,v],([x,B],[$,j])=>{B!==j&&(c.value=1,x=1),M(n.data,x,B,E.value)}),l.watch([()=>n.data,E],([x,B],[$,j])=>{I()&&(x!==$&&(k=!0),!(Ne(x,$)&&Ne(B,j))&&M(x,c.value,v.value,B))});const y=(x={})=>new Promise(B=>{T.value=l.toRaw(x??{}),l.triggerRef(T),l.nextTick(async()=>{await M(n.data,c.value,v.value,E.value),B()})}),m=()=>{R.value=0,S.value=[]};I()&&y();let b=null;const V=(x,B)=>{b=x,i("current-change",x,B)},w=l.ref();return fe({clearSelection:()=>w?.value.clearSelection(),getSelectionRows:()=>w?.value.getSelectionRows(),toggleRowSelection:(x,B)=>{w?.value.toggleRowSelection(x,B)},toggleRowSelectionByProp:(x,B)=>{if(!S.value)return;const $=Yt(S.value,x);$.length!==0&&$.forEach(j=>{w?.value.toggleRowSelection(j,B)})},toggleAllSelection:()=>{w?.value.toggleAllSelection()},toggleRowExpansion:(x,B)=>{w?.value.toggleRowExpansion(x,B)},toggleRowExpansionByProp:(x,B)=>{if(!S.value)return;const $=Yt(S.value,x);$.length!==0&&$.forEach(j=>{w?.value.toggleRowExpansion(j,B)})},setCurrentRow:x=>{w?.value.setCurrentRow(x)},setCurrentRowByProp:x=>{if(!S.value)return;const B=Yt(S.value,x);B.length!==0&&w?.value.setCurrentRow(B[0])},getCurrentRow:()=>b,clearSort:()=>{w?.value.clearSort()},clearFilter:x=>{w?.value.clearFilter(x)},doLayout:()=>{w?.value.doLayout()},sort:(x,B)=>{w?.value.sort(x,B)},scrollTo:(x,B)=>{w?.value.scrollTo(x,B)},setScrollTop:x=>{w?.value.setScrollTop(x)},setScrollLeft:x=>{w?.value.setScrollLeft(x)},loadData:y,clearData:m,getData(){return S.value},getTotalSize(){return R.value},getPageIndex(){return c.value},getPageSize(){return v.value}}),()=>{const B={...a.attrs,onCurrentChange:V,data:S.value,ref:w,class:s.value},$={};a.slots.default&&($.default=a.slots.default),a.slots.append&&($.append=a.slots.append),a.slots.empty&&($.empty=a.slots.empty);const j=[],p=l.h(g.ElTable,B,$);if(j.push(p),typeof a.slots.pagination=="function"){const F=a.slots.pagination();j.push(F)}else if(n.paginationVisible){const F={class:d.value,total:R.value,pageSize:v.value,["onUpdate:pageSize"]:A,pageSizes:n.pageSizes,currentPage:c.value,["onUpdate:currentPage"]:h,hideOnSinglePage:n.hideOnSinglePage,layout:n.paginationLayout,small:!0},L=l.h(g.ElPagination,F);j.push(L)}const N={default:()=>j},q={...ue(n,Or,Tr),prop:`${n.prop}_item`};return q.contentClass=`${u}__wrap`,l.h(r,q,N)}}}}const{componentName:Do,create:qo,scope:Bo}=Y("table-item"),Vr=qo(Mo(Do,Bo,oe));function _e(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Qe(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}let Fo=class{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Re(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(Se(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}};function Lo(){const e=l.getCurrentInstance();return new Fo(e.proxy)}function Ir(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=_e(e,t),a=_e(e,r);if(n!==a)return!1;const o=Qe(e,t),i=Qe(e,r);return o===i}function Po(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;let a=null;for(let o of n){let i=!1;if(r==="text")i=_e(e,o)===t;else if(r==="item")i=Ir(e,o,t);else{let u=Qe(e,o);u==null&&(u=_e(e,o)),i=u===t}if(i){a=o;break}}return a}function _o(e){return{text:e,value:e}}function Ho(e,t,r){return typeof e.itemOptions=="function"?e.itemOptions(t,r):e.itemOptions}const Nr={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"},itemOptions:{type:[Object],required:!1}};function Ko(e,t,r){return{inheritAttrs:!0,props:{...re,...ce,...Nr},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),i=l.ref(null),u=l.ref(null),s=(k,I,M,y=!0)=>{const m=Po(n,k,I,M);if(m===null){if(u.value===null)return;u.value=null,i.value=null,y&&(o("update:modelValue",null),o("change",null));return}if(!Ir(n,m,u.value)){i.value=k;const V=l.toRaw(m);u.value=V;let w=null;n.valueType==="text"?w=_e(n,V):n.valueType==="item"?w=V:w=Qe(n,V),y&&(o("update:modelValue",w),o("change",w))}},d=l.ref([]),c=Lo();l.watch([()=>n.source,()=>n.params],async([k,I])=>{if(k){const M=await c.load("radio",k,I);if(M.length>0)if(typeof M[0]=="string"){let b=M.map(V=>_o(V));d.value=b}else d.value=M}},{immediate:!0}),l.watch([()=>d.value,()=>n.modelValue],([k,I])=>{s(I,n.valueType,k,!1)});const h=he(l.computed(()=>n.disabled)),v=de(l.computed(()=>n.readonly)),A=e,T=l.computed(()=>({[A]:!0})),E=k=>{s(k,"value",d.value,!0)};let R=W(n,"hintText"),S=W(n,"hintVisible");const D=(k,I)=>{const M=[];return k.forEach((y,m)=>{const b=Qe(n,y),V=_e(n,y),w=Ho(n,y,m)??{};let x=w.disabled;h.value===!0&&(x=h.value);const B=`${b}_${m}`,$={...w,key:B,label:b,disabled:x,size:n.size,border:se(n.border)};n.itemType==="button"?M.push(l.h(g.ElRadioButton,$,{default:()=>[V]})):typeof I=="function"?M.push(l.h(g.ElRadio,$,{default:()=>I(y)})):M.push(l.h(g.ElRadio,$,{default:()=>[V]}))}),M};return()=>{const I={...a.attrs,class:T.value,disabled:h.value||v.value,modelValue:i.value,["text-color"]:n.textColor,fill:n.fill,onChange:E},M=[],y={};a.slots.options?y.default=a.slots.options:y.default=()=>D(d.value,a.slots.text);const m=l.h(g.ElRadioGroup,I,y);M.push(m);const b={default:()=>M};if(a.slots.default){const B=a.slots.default();b.label=()=>B}const w={...ue(n,Nr),hintText:R.value,hintVisible:S.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,w,b)}}}}const{componentName:zo,create:Go,scope:Yo}=Y("radio-item"),Ar=Go(Ko(zo,Yo,oe));function He(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ke(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class Wo{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Re(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(Se(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function Uo(){const e=l.getCurrentInstance();return new Wo(e.proxy)}function Rr(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=He(e,t),a=He(e,r);if(n!==a)return!1;const o=Ke(e,t),i=Ke(e,r);return o===i}function Xo(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];return t.forEach(o=>{for(let i of n){let u=!1;if(r==="text")u=He(e,i)===o;else if(r==="item")u=Rr(e,i,o);else{let s=Ke(e,i);s==null&&(s=He(e,i)),u=s===o}if(u){a.push(i);break}}}),a}function Zo(e){return{text:e,value:e}}function Jo(e,t,r){return typeof e.itemOptions=="function"?e.itemOptions(t,r):e.itemOptions}const kr={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"},itemOptions:{type:[Object],required:!1}};function Qo(e,t,r){return{inheritAttrs:!1,props:{...re,...ce,...kr},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),i=l.ref([]),u=l.ref([]),s=(k,I,M,y=!0)=>{const m=Xo(n,k,I,M);if(m===null){if(u.value===null||u.value.length===0)return;i.value=[],u.value=[],y&&(o("update:modelValue",[]),o("change",[]));return}let b=!0;if(m.length!==u.value.length)b=!1;else for(let V=0;V<m.length;V++){const w=m[V],x=u.value[V];if(!Rr(n,w,x)){b=!1;break}}if(!b){u.value=m;let V=[],w=[];m.forEach(B=>{V.push(Ke(n,B)),n.valueType==="text"?w.push(He(n,B)):n.valueType==="item"?w.push(B):w.push(Ke(n,B))}),i.value=V;const x=l.toRaw(w);y&&(o("update:modelValue",x),o("change",x))}},d=l.ref([]),c=Uo();l.watch([()=>n.source,()=>n.params],async([k,I])=>{if(k){const M=await c.load("checkbox",k,I);if(M.length>0)if(typeof M[0]=="string"){let b=M.map(V=>Zo(V));d.value=b}else d.value=M}},{immediate:!0}),l.watch([()=>d.value,()=>n.modelValue],([k,I])=>{s(I,n.valueType,k,!1)});const h=he(l.computed(()=>n.disabled)),v=de(l.computed(()=>n.readonly)),A=e,T=l.computed(()=>({[A]:!0})),E=k=>{s(k,"value",d.value,!0)};let R=W(n,"hintText"),S=W(n,"hintVisible");const D=(k,I)=>{const M=[];return k.forEach((y,m)=>{const b=Ke(n,y),V=He(n,y),w=Jo(n,y,m)??{};let x=w.disabled;h.value===!0&&(x=h.value);const B=`${b}_${m}`,$={...w,key:B,class:n.itemClass,label:b,disabled:x,size:n.size,border:se(n.border)};n.itemType==="button"?M.push(l.h(g.ElCheckboxButton,$,{default:()=>[V]})):typeof I=="function"?M.push(l.h(g.ElCheckbox,$,{default:()=>I(y)})):M.push(l.h(g.ElCheckbox,$,{default:()=>[V]}))}),M};return()=>{const I={...a.attrs,class:T.value,disabled:h.value||v.value,modelValue:i.value,["text-color"]:n.textColor,fill:n.fill,max:Z(n.max),min:Z(n.min),onChange:E},M=[],y={};a.slots.options?y.default=a.slots.options:y.default=()=>D(d.value,a.slots.text);const m=l.h(g.ElCheckboxGroup,I,y);M.push(m);const b={default:()=>M};if(a.slots.default){const B=a.slots.default();b.label=()=>B}const w={...ue(n,kr),hintText:R.value,hintVisible:S.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,w,b)}}}}const{componentName:ei,create:ti,scope:ni}=Y("checkbox-item"),jr=ti(Qo(ei,ni,oe)),Mr={modelValue:{type:[Number,String],required:!1}};function ri(e,t,r){return{props:{...re,...ce,...Mr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),i=he(l.computed(()=>n.disabled)),u=de(l.computed(()=>n.readonly)),s=W(n,"modelValue",E=>Z(E)),d=e,c=l.computed(()=>({[d]:!0})),h=E=>{o("update:modelValue",E),o("change",E)};let v=W(n,"hintText"),A=l.ref(!1);const T=l.ref();return fe({}),()=>{const R={...a.attrs,ref:T,class:c.value,readonly:u.value||i.value,modelValue:s.value,onChange:h},S={},D=[],k=l.h(g.ElRate,R,S);D.push(k);const I={default:()=>D};if(a.slots.default){const b=a.slots.default();I.label=()=>b}const y={...ue(n,Mr),hintText:v.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,y,I)}}}}const{componentName:ai,create:li,scope:oi}=Y("rate-item"),Dr=li(ri(ai,oi,oe)),qr={modelValue:{type:[Boolean,String,Number],required:!1}};function ii(e,t,r){return{props:{...re,...ce,...qr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),i=he(l.computed(()=>n.disabled)),u=de(l.computed(()=>n.readonly)),s=W(n,"modelValue"),d=e,c=l.computed(()=>({[d]:!0})),h=E=>{o("update:modelValue",E),o("change",E)};let v=W(n,"hintText"),A=W(n,"hintVisible");const T=l.ref();return fe({}),()=>{const R={...a.attrs,ref:T,class:c.value,readonly:u.value,disabled:i.value,modelValue:s.value,onChange:h},S={},D=[],k=l.h(g.ElSwitch,R,S);D.push(k);const I={default:()=>D};if(a.slots.default){const b=a.slots.default();I.label=()=>b}const y={...ue(n,qr),hintText:v.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,y,I)}}}}const{componentName:si,create:ui,scope:ci}=Y("switch-item"),Br=ui(ii(si,ci,oe)),fi=Symbol.for("InnerPageScopeKey"),di=Symbol.for("DialogItemStateKey");function hi(e,t){return{props:{title:{type:[String]},draggable:{type:[Boolean],default:!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:!1},closeOnPressEscape:{type:[Boolean],default:!0}},setup(r,n){l.provide(fi,!0);const a={};l.provide(di,a);const o=s=>{typeof a.beforeClose=="function"&&a.beforeClose(s)},i=l.ref(!0),u=s=>{i.value=s};return()=>{const d={...n.attrs,title:r.title,draggable:r.draggable,modelValue:i.value,"onUpdate:modelValue":u,"append-to-body":r.appendToBody,"close-on-click-modal":r.closeOnClickModal,"close-on-press-escape":r.closeOnPressEscape,"before-close":o},c={};if(typeof n.slots.default=="function"){const h=n.slots.default();c.default=()=>h}return l.h(g.ElDialog,d,c)}}}}const{componentName:Zi,create:gi,scope:Ji}=Y("dialog-item"),Fr=gi(hi()),{componentName:Qi,create:mi}=Y("ext-icon"),Lr=mi({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=i=>{t("click",i)},a=l.computed(()=>e.name?e.name.indexOf("/")!==-1:!1),o="fox-icon";return()=>{const i=a.value;return l.h(i?"img":e.tag,{class:i?`${o}__img`:`${e.fontClassName} ${o} ${e.classPrefix}-${e.name}`,style:{color:e.color,fontSize:K(e.size),width:K(e.size),height:K(e.size)},onClick:n,src:i?e.name:""},r.default?.())}}});function yi(e,t){return{props:{type:{type:[String],required:!1,default:""},color:{type:[String],required:!1,default:""}},setup(r,{slots:n}){const a=e,o=l.computed(()=>({[a]:!0})),i=l.computed(()=>({[`${a}__mark`]:!0,[`${a}__mark-${r.type}`]:!0})),u=l.computed(()=>r.color?{background:r.color}:null),s=l.computed(()=>({[`${a}__text`]:!0,[`${a}__text-${r.type}`]:!0})),d=l.computed(()=>r.color?{color:r.color}:null);return()=>{let c=null;if(n.mark)c=n.mark()[0];else{const E={class:i.value,style:u.value};c=l.h("div",E)}const h={class:s.value,style:d.value},v=n.default?n.default():[],A=l.h("div",h,v),T={class:o.value};return l.h("div",T,[c,A])}}}}const{componentName:pi,create:bi,scope:es}=Y("indicator"),Pr=bi(yi(pi));var we=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Wt={},wi={get exports(){return Wt},set exports(e){Wt=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){var r=1e3,n=6e4,a=36e5,o="millisecond",i="second",u="minute",s="hour",d="day",c="week",h="month",v="quarter",A="year",T="date",E="Invalid Date",R=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,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("_")},k=function($,j,p){var N=String($);return!N||N.length>=j?$:""+Array(j+1-N.length).join(p)+$},I={s:k,z:function($){var j=-$.utcOffset(),p=Math.abs(j),N=Math.floor(p/60),C=p%60;return(j<=0?"+":"-")+k(N,2,"0")+":"+k(C,2,"0")},m:function $(j,p){if(j.date()<p.date())return-$(p,j);var N=12*(p.year()-j.year())+(p.month()-j.month()),C=j.clone().add(N,h),q=p-C<0,O=j.clone().add(N+(q?-1:1),h);return+(-(N+(p-C)/(q?C-O:O-C))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:h,y:A,w:c,d,D:T,h:s,m:u,s:i,ms:o,Q:v}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return $===void 0}},M="en",y={};y[M]=D;var m=function($){return $ instanceof x},b=function $(j,p,N){var C;if(!j)return M;if(typeof j=="string"){var q=j.toLowerCase();y[q]&&(C=q),p&&(y[q]=p,C=q);var O=j.split("-");if(!C&&O.length>1)return $(O[0])}else{var F=j.name;y[F]=j,C=F}return!N&&C&&(M=C),C||!N&&M},V=function($,j){if(m($))return $.clone();var p=typeof j=="object"?j:{};return p.date=$,p.args=arguments,new x(p)},w=I;w.l=b,w.i=m,w.w=function($,j){return V($,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var x=function(){function $(p){this.$L=b(p.locale,null,!0),this.parse(p)}var j=$.prototype;return j.parse=function(p){this.$d=function(N){var C=N.date,q=N.utc;if(C===null)return new Date(NaN);if(w.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var O=C.match(R);if(O){var F=O[2]-1||0,L=(O[7]||"0").substring(0,3);return q?new Date(Date.UTC(O[1],F,O[3]||1,O[4]||0,O[5]||0,O[6]||0,L)):new Date(O[1],F,O[3]||1,O[4]||0,O[5]||0,O[6]||0,L)}}return new Date(C)}(p),this.$x=p.x||{},this.init()},j.init=function(){var p=this.$d;this.$y=p.getFullYear(),this.$M=p.getMonth(),this.$D=p.getDate(),this.$W=p.getDay(),this.$H=p.getHours(),this.$m=p.getMinutes(),this.$s=p.getSeconds(),this.$ms=p.getMilliseconds()},j.$utils=function(){return w},j.isValid=function(){return this.$d.toString()!==E},j.isSame=function(p,N){var C=V(p);return this.startOf(N)<=C&&C<=this.endOf(N)},j.isAfter=function(p,N){return V(p)<this.startOf(N)},j.isBefore=function(p,N){return this.endOf(N)<V(p)},j.$g=function(p,N,C){return w.u(p)?this[N]:this.set(C,p)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(p,N){var C=this,q=!!w.u(N)||N,O=w.p(p),F=function(J,X){var me=w.w(C.$u?Date.UTC(C.$y,X,J):new Date(C.$y,X,J),C);return q?me:me.endOf(d)},L=function(J,X){return w.w(C.toDate()[J].apply(C.toDate("s"),(q?[0,0,0,0]:[23,59,59,999]).slice(X)),C)},P=this.$W,_=this.$M,G=this.$D,z="set"+(this.$u?"UTC":"");switch(O){case A:return q?F(1,0):F(31,11);case h:return q?F(1,_):F(0,_+1);case c:var ie=this.$locale().weekStart||0,te=(P<ie?P+7:P)-ie;return F(q?G-te:G+(6-te),_);case d:case T:return L(z+"Hours",0);case s:return L(z+"Minutes",1);case u:return L(z+"Seconds",2);case i:return L(z+"Milliseconds",3);default:return this.clone()}},j.endOf=function(p){return this.startOf(p,!1)},j.$set=function(p,N){var C,q=w.p(p),O="set"+(this.$u?"UTC":""),F=(C={},C[d]=O+"Date",C[T]=O+"Date",C[h]=O+"Month",C[A]=O+"FullYear",C[s]=O+"Hours",C[u]=O+"Minutes",C[i]=O+"Seconds",C[o]=O+"Milliseconds",C)[q],L=q===d?this.$D+(N-this.$W):N;if(q===h||q===A){var P=this.clone().set(T,1);P.$d[F](L),P.init(),this.$d=P.set(T,Math.min(this.$D,P.daysInMonth())).$d}else F&&this.$d[F](L);return this.init(),this},j.set=function(p,N){return this.clone().$set(p,N)},j.get=function(p){return this[w.p(p)]()},j.add=function(p,N){var C,q=this;p=Number(p);var O=w.p(N),F=function(_){var G=V(q);return w.w(G.date(G.date()+Math.round(_*p)),q)};if(O===h)return this.set(h,this.$M+p);if(O===A)return this.set(A,this.$y+p);if(O===d)return F(1);if(O===c)return F(7);var L=(C={},C[u]=n,C[s]=a,C[i]=r,C)[O]||1,P=this.$d.getTime()+p*L;return w.w(P,this)},j.subtract=function(p,N){return this.add(-1*p,N)},j.format=function(p){var N=this,C=this.$locale();if(!this.isValid())return C.invalidDate||E;var q=p||"YYYY-MM-DDTHH:mm:ssZ",O=w.z(this),F=this.$H,L=this.$m,P=this.$M,_=C.weekdays,G=C.months,z=function(X,me,Oe,Te){return X&&(X[me]||X(N,q))||Oe[me].slice(0,Te)},ie=function(X){return w.s(F%12||12,X,"0")},te=C.meridiem||function(X,me,Oe){var Te=X<12?"AM":"PM";return Oe?Te.toLowerCase():Te},J={YY:String(this.$y).slice(-2),YYYY:this.$y,M:P+1,MM:w.s(P+1,2,"0"),MMM:z(C.monthsShort,P,G,3),MMMM:z(G,P),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:z(C.weekdaysMin,this.$W,_,2),ddd:z(C.weekdaysShort,this.$W,_,3),dddd:_[this.$W],H:String(F),HH:w.s(F,2,"0"),h:ie(1),hh:ie(2),a:te(F,L,!0),A:te(F,L,!1),m:String(L),mm:w.s(L,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:O};return q.replace(S,function(X,me){return me||J[X]||O.replace(":","")})},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(p,N,C){var q,O=w.p(N),F=V(p),L=(F.utcOffset()-this.utcOffset())*n,P=this-F,_=w.m(this,F);return _=(q={},q[A]=_/12,q[h]=_,q[v]=_/3,q[c]=(P-L)/6048e5,q[d]=(P-L)/864e5,q[s]=P/a,q[u]=P/n,q[i]=P/r,q)[O]||P,C?_:w.a(_)},j.daysInMonth=function(){return this.endOf(h).$D},j.$locale=function(){return y[this.$L]},j.locale=function(p,N){if(!p)return this.$L;var C=this.clone(),q=b(p,N,!0);return q&&(C.$L=q),C},j.clone=function(){return w.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},$}(),B=x.prototype;return V.prototype=B,[["$ms",o],["$s",i],["$m",u],["$H",s],["$W",d],["$M",h],["$y",A],["$D",T]].forEach(function($){B[$[1]]=function(j){return this.$g(j,$[0],$[1])}}),V.extend=function($,j){return $.$i||($(j,x,V),$.$i=!0),V},V.locale=b,V.isDayjs=m,V.unix=function($){return V(1e3*$)},V.en=y[M],V.Ls=y,V.p={},V})})(wi);const Ce=Wt;var Ut={},Si={get exports(){return Ut},set exports(e){Ut=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,o=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,u={},s=function(E){return(E=+E)+(E>68?1900:2e3)},d=function(E){return function(R){this[E]=+R}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(E){(this.zone||(this.zone={})).offset=function(R){if(!R||R==="Z")return 0;var S=R.match(/([+-]|\d\d)/g),D=60*S[1]+(+S[2]||0);return D===0?0:S[0]==="+"?-D:D}(E)}],h=function(E){var R=u[E];return R&&(R.indexOf?R:R.s.concat(R.f))},v=function(E,R){var S,D=u.meridiem;if(D){for(var k=1;k<=24;k+=1)if(E.indexOf(D(k,0,R))>-1){S=k>12;break}}else S=E===(R?"pm":"PM");return S},A={A:[i,function(E){this.afternoon=v(E,!1)}],a:[i,function(E){this.afternoon=v(E,!0)}],S:[/\d/,function(E){this.milliseconds=100*+E}],SS:[a,function(E){this.milliseconds=10*+E}],SSS:[/\d{3}/,function(E){this.milliseconds=+E}],s:[o,d("seconds")],ss:[o,d("seconds")],m:[o,d("minutes")],mm:[o,d("minutes")],H:[o,d("hours")],h:[o,d("hours")],HH:[o,d("hours")],hh:[o,d("hours")],D:[o,d("day")],DD:[a,d("day")],Do:[i,function(E){var R=u.ordinal,S=E.match(/\d+/);if(this.day=S[0],R)for(var D=1;D<=31;D+=1)R(D).replace(/\[|\]/g,"")===E&&(this.day=D)}],M:[o,d("month")],MM:[a,d("month")],MMM:[i,function(E){var R=h("months"),S=(h("monthsShort")||R.map(function(D){return D.slice(0,3)})).indexOf(E)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[i,function(E){var R=h("months").indexOf(E)+1;if(R<1)throw new Error;this.month=R%12||R}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(E){this.year=s(E)}],YYYY:[/\d{4}/,d("year")],Z:c,ZZ:c};function T(E){var R,S;R=E,S=u&&u.formats;for(var D=(E=R.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(V,w,x){var B=x&&x.toUpperCase();return w||S[x]||r[x]||S[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function($,j,p){return j||p.slice(1)})})).match(n),k=D.length,I=0;I<k;I+=1){var M=D[I],y=A[M],m=y&&y[0],b=y&&y[1];D[I]=b?{regex:m,parser:b}:M.replace(/^\[|\]$/g,"")}return function(V){for(var w={},x=0,B=0;x<k;x+=1){var $=D[x];if(typeof $=="string")B+=$.length;else{var j=$.regex,p=$.parser,N=V.slice(B),C=j.exec(N)[0];p.call(w,C),V=V.replace(C,"")}}return function(q){var O=q.afternoon;if(O!==void 0){var F=q.hours;O?F<12&&(q.hours+=12):F===12&&(q.hours=0),delete q.afternoon}}(w),w}}return function(E,R,S){S.p.customParseFormat=!0,E&&E.parseTwoDigitYear&&(s=E.parseTwoDigitYear);var D=R.prototype,k=D.parse;D.parse=function(I){var M=I.date,y=I.utc,m=I.args;this.$u=y;var b=m[1];if(typeof b=="string"){var V=m[2]===!0,w=m[3]===!0,x=V||w,B=m[2];w&&(B=m[2]),u=this.$locale(),!V&&B&&(u=S.Ls[B]),this.$d=function(N,C,q){try{if(["x","X"].indexOf(C)>-1)return new Date((C==="X"?1e3:1)*N);var O=T(C)(N),F=O.year,L=O.month,P=O.day,_=O.hours,G=O.minutes,z=O.seconds,ie=O.milliseconds,te=O.zone,J=new Date,X=P||(F||L?1:J.getDate()),me=F||J.getFullYear(),Oe=0;F&&!L||(Oe=L>0?L-1:J.getMonth());var Te=_||0,rn=G||0,an=z||0,ln=ie||0;return te?new Date(Date.UTC(me,Oe,X,Te,rn,an,ln+60*te.offset*1e3)):q?new Date(Date.UTC(me,Oe,X,Te,rn,an,ln)):new Date(me,Oe,X,Te,rn,an,ln)}catch{return new Date("")}}(M,b,y),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),x&&M!=this.format(b)&&(this.$d=new Date("")),u={}}else if(b instanceof Array)for(var $=b.length,j=1;j<=$;j+=1){m[1]=b[j-1];var p=S.apply(this,m);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}j===$&&(this.$d=new Date(""))}else k.call(this,I)}}})})(Si);const $i=Ut;var Xt={},vi={get exports(){return Xt},set exports(e){Xt=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n,a){var o=n.prototype,i=o.format;a.en.ordinal=function(u){var s=["th","st","nd","rd"],d=u%100;return"["+u+(s[(d-20)%10]||s[d]||s[0])+"]"},o.format=function(u){var s=this,d=this.$locale();if(!this.isValid())return i.bind(this)(u);var c=this.$utils(),h=(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(v){switch(v){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return d.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return d.ordinal(s.week(),"W");case"w":case"ww":return c.s(s.week(),v==="w"?1:2,"0");case"W":case"WW":return c.s(s.isoWeek(),v==="W"?1:2,"0");case"k":case"kk":return c.s(String(s.$H===0?24:s.$H),v==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return v}});return i.bind(this)(h)}}})})(vi);const Ei=Xt;var Zt={},xi={get exports(){return Zt},set exports(e){Zt=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n,a){var o=n.prototype,i=function(h){return h&&(h.indexOf?h:h.s)},u=function(h,v,A,T,E){var R=h.name?h:h.$locale(),S=i(R[v]),D=i(R[A]),k=S||D.map(function(M){return M.slice(0,T)});if(!E)return k;var I=R.weekStart;return k.map(function(M,y){return k[(y+(I||0))%7]})},s=function(){return a.Ls[a.locale()]},d=function(h,v){return h.formats[v]||function(A){return A.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(T,E,R){return E||R.slice(1)})}(h.formats[v.toUpperCase()])},c=function(){var h=this;return{months:function(v){return v?v.format("MMMM"):u(h,"months")},monthsShort:function(v){return v?v.format("MMM"):u(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(v){return v?v.format("dddd"):u(h,"weekdays")},weekdaysMin:function(v){return v?v.format("dd"):u(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(v){return v?v.format("ddd"):u(h,"weekdaysShort","weekdays",3)},longDateFormat:function(v){return d(h.$locale(),v)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return c.bind(this)()},a.localeData=function(){var h=s();return{firstDayOfWeek:function(){return h.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(v){return d(h,v)},meridiem:h.meridiem,ordinal:h.ordinal}},a.months=function(){return u(s(),"months")},a.monthsShort=function(){return u(s(),"monthsShort","months",3)},a.weekdays=function(h){return u(s(),"weekdays",null,null,h)},a.weekdaysShort=function(h){return u(s(),"weekdaysShort","weekdays",3,h)},a.weekdaysMin=function(h){return u(s(),"weekdaysMin","weekdays",2,h)}}})})(xi);const Ci=Zt;var Jt={},Oi={get exports(){return Jt},set exports(e){Jt=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){var r="week",n="year";return function(a,o,i){var u=o.prototype;u.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var d=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=i(this).startOf(n).add(1,n).date(d),h=i(this).endOf(r);if(c.isBefore(h))return 1}var v=i(this).startOf(n).date(d).startOf(r).subtract(1,"millisecond"),A=this.diff(v,r,!0);return A<0?i(this).startOf("week").week():Math.ceil(A)},u.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(Oi);const Ti=Jt;var Qt={},Vi={get exports(){return Qt},set exports(e){Qt=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n){n.prototype.weekYear=function(){var a=this.month(),o=this.week(),i=this.year();return o===1&&a===11?i+1:a===0&&o>=52?i-1:i}}})})(Vi);const Ii=Qt;var en={},Ni={get exports(){return en},set exports(e){en=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n,a){n.prototype.dayOfYear=function(o){var i=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return o==null?i:this.add(o-i,"day")}}})})(Ni);const Ai=en;var tn={},Ri={get exports(){return tn},set exports(e){tn=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n){n.prototype.isSameOrAfter=function(a,o){return this.isSame(a,o)||this.isAfter(a,o)}}})})(Ri);const ki=tn;var nn={},ji={get exports(){return nn},set exports(e){nn=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n){n.prototype.isSameOrBefore=function(a,o){return this.isSame(a,o)||this.isBefore(a,o)}}})})(ji);const Mi=nn;Ce.extend(Ci),Ce.extend(Ei),Ce.extend($i),Ce.extend(Ti),Ce.extend(Ii),Ce.extend(Ai),Ce.extend(ki),Ce.extend(Mi);const _r=10;function Di(e,t){return e>t&&e>_r?"horizontal":t>e&&t>_r?"vertical":""}function qi(){const e=l.ref(0),t=l.ref(0),r=l.ref(0),n=l.ref(0),a=l.ref(0),o=l.ref(0),i=l.ref(0),u=l.ref(0),s=l.ref(0),d=l.ref(0),c=l.ref(""),h=()=>c.value==="vertical",v=()=>c.value==="horizontal",A=()=>{i.value=0,u.value=0,s.value=0,d.value=0,c.value="",r.value=0};return{move:R=>{const S=R.touches[0];i.value=S.clientX-e.value,u.value=S.clientY-t.value,a.value=S.clientX,o.value=S.clientY,s.value=Math.abs(i.value),d.value=Math.abs(u.value),n.value=Date.now()-r.value,c.value||(c.value=Di(s.value,d.value))},start:R=>{A(),e.value=R.touches[0].clientX,t.value=R.touches[0].clientY,r.value=Date.now()},reset:A,startX:e,startY:t,startTime:r,duration:n,moveX:a,moveY:o,deltaX:i,deltaY:u,offsetX:s,offsetY:d,direction:c,isVertical:h,isHorizontal:v}}const Bi=[Fn,Ln,Pn,_n,zn,oe,Xn,Zn,pt,Qn,ar,or,sr,cr,yr,br,$r,Er,Cr,Vr,Ar,jr,Dr,Br,Fr,Gt,yt,Lr,Pr],Fi=new Oa(Bi,[Ia],"4.0.0");Object.defineProperty(f,"FoxAffix",{enumerable:!0,get:()=>g.ElAffix}),Object.defineProperty(f,"FoxAlert",{enumerable:!0,get:()=>g.ElAlert}),Object.defineProperty(f,"FoxAside",{enumerable:!0,get:()=>g.ElAside}),Object.defineProperty(f,"FoxAutoResizer",{enumerable:!0,get:()=>g.ElAutoResizer}),Object.defineProperty(f,"FoxAutocomplete",{enumerable:!0,get:()=>g.ElAutocomplete}),Object.defineProperty(f,"FoxAvatar",{enumerable:!0,get:()=>g.ElAvatar}),Object.defineProperty(f,"FoxBacktop",{enumerable:!0,get:()=>g.ElBacktop}),Object.defineProperty(f,"FoxBadge",{enumerable:!0,get:()=>g.ElBadge}),Object.defineProperty(f,"FoxBreadcrumb",{enumerable:!0,get:()=>g.ElBreadcrumb}),Object.defineProperty(f,"FoxBreadcrumbItem",{enumerable:!0,get:()=>g.ElBreadcrumbItem}),Object.defineProperty(f,"FoxButton",{enumerable:!0,get:()=>g.ElButton}),Object.defineProperty(f,"FoxButtonGroup",{enumerable:!0,get:()=>g.ElButtonGroup}),Object.defineProperty(f,"FoxCalendar",{enumerable:!0,get:()=>g.ElCalendar}),Object.defineProperty(f,"FoxCard",{enumerable:!0,get:()=>g.ElCard}),Object.defineProperty(f,"FoxCarousel",{enumerable:!0,get:()=>g.ElCarousel}),Object.defineProperty(f,"FoxCarouselItem",{enumerable:!0,get:()=>g.ElCarouselItem}),Object.defineProperty(f,"FoxCascader",{enumerable:!0,get:()=>g.ElCascader}),Object.defineProperty(f,"FoxCascaderPanel",{enumerable:!0,get:()=>g.ElCascaderPanel}),Object.defineProperty(f,"FoxCheckTag",{enumerable:!0,get:()=>g.ElCheckTag}),Object.defineProperty(f,"FoxCheckbox",{enumerable:!0,get:()=>g.ElCheckbox}),Object.defineProperty(f,"FoxCheckboxButton",{enumerable:!0,get:()=>g.ElCheckboxButton}),Object.defineProperty(f,"FoxCheckboxGroup",{enumerable:!0,get:()=>g.ElCheckboxGroup}),Object.defineProperty(f,"FoxCol",{enumerable:!0,get:()=>g.ElCol}),Object.defineProperty(f,"FoxCollapse",{enumerable:!0,get:()=>g.ElCollapse}),Object.defineProperty(f,"FoxCollapseItem",{enumerable:!0,get:()=>g.ElCollapseItem}),Object.defineProperty(f,"FoxCollapseTransition",{enumerable:!0,get:()=>g.ElCollapseTransition}),Object.defineProperty(f,"FoxColorPicker",{enumerable:!0,get:()=>g.ElColorPicker}),Object.defineProperty(f,"FoxConfigProvider",{enumerable:!0,get:()=>g.ElConfigProvider}),Object.defineProperty(f,"FoxContainer",{enumerable:!0,get:()=>g.ElContainer}),Object.defineProperty(f,"FoxDatePicker",{enumerable:!0,get:()=>g.ElDatePicker}),Object.defineProperty(f,"FoxDescriptions",{enumerable:!0,get:()=>g.ElDescriptions}),Object.defineProperty(f,"FoxDescriptionsItem",{enumerable:!0,get:()=>g.ElDescriptionsItem}),Object.defineProperty(f,"FoxDialog",{enumerable:!0,get:()=>g.ElDialog}),Object.defineProperty(f,"FoxDivider",{enumerable:!0,get:()=>g.ElDivider}),Object.defineProperty(f,"FoxDrawer",{enumerable:!0,get:()=>g.ElDrawer}),Object.defineProperty(f,"FoxDropdown",{enumerable:!0,get:()=>g.ElDropdown}),Object.defineProperty(f,"FoxDropdownItem",{enumerable:!0,get:()=>g.ElDropdownItem}),Object.defineProperty(f,"FoxDropdownMenu",{enumerable:!0,get:()=>g.ElDropdownMenu}),Object.defineProperty(f,"FoxEmpty",{enumerable:!0,get:()=>g.ElEmpty}),Object.defineProperty(f,"FoxFooter",{enumerable:!0,get:()=>g.ElFooter}),Object.defineProperty(f,"FoxForm",{enumerable:!0,get:()=>g.ElForm}),Object.defineProperty(f,"FoxFormItem",{enumerable:!0,get:()=>g.ElFormItem}),Object.defineProperty(f,"FoxHeader",{enumerable:!0,get:()=>g.ElHeader}),Object.defineProperty(f,"FoxIcon",{enumerable:!0,get:()=>g.ElIcon}),Object.defineProperty(f,"FoxImage",{enumerable:!0,get:()=>g.ElImage}),Object.defineProperty(f,"FoxImageViewer",{enumerable:!0,get:()=>g.ElImageViewer}),Object.defineProperty(f,"FoxInput",{enumerable:!0,get:()=>g.ElInput}),Object.defineProperty(f,"FoxInputNumber",{enumerable:!0,get:()=>g.ElInputNumber}),Object.defineProperty(f,"FoxLink",{enumerable:!0,get:()=>g.ElLink}),Object.defineProperty(f,"FoxMain",{enumerable:!0,get:()=>g.ElMain}),Object.defineProperty(f,"FoxMenu",{enumerable:!0,get:()=>g.ElMenu}),Object.defineProperty(f,"FoxMenuItem",{enumerable:!0,get:()=>g.ElMenuItem}),Object.defineProperty(f,"FoxMenuItemGroup",{enumerable:!0,get:()=>g.ElMenuItemGroup}),Object.defineProperty(f,"FoxOption",{enumerable:!0,get:()=>g.ElOption}),Object.defineProperty(f,"FoxOptionGroup",{enumerable:!0,get:()=>g.ElOptionGroup}),Object.defineProperty(f,"FoxPageHeader",{enumerable:!0,get:()=>g.ElPageHeader}),Object.defineProperty(f,"FoxPagination",{enumerable:!0,get:()=>g.ElPagination}),Object.defineProperty(f,"FoxPopconfirm",{enumerable:!0,get:()=>g.ElPopconfirm}),Object.defineProperty(f,"FoxPopover",{enumerable:!0,get:()=>g.ElPopover}),Object.defineProperty(f,"FoxPopper",{enumerable:!0,get:()=>g.ElPopper}),Object.defineProperty(f,"FoxProgress",{enumerable:!0,get:()=>g.ElProgress}),Object.defineProperty(f,"FoxRadio",{enumerable:!0,get:()=>g.ElRadio}),Object.defineProperty(f,"FoxRadioButton",{enumerable:!0,get:()=>g.ElRadioButton}),Object.defineProperty(f,"FoxRadioGroup",{enumerable:!0,get:()=>g.ElRadioGroup}),Object.defineProperty(f,"FoxRate",{enumerable:!0,get:()=>g.ElRate}),Object.defineProperty(f,"FoxResult",{enumerable:!0,get:()=>g.ElResult}),Object.defineProperty(f,"FoxRow",{enumerable:!0,get:()=>g.ElRow}),Object.defineProperty(f,"FoxScrollbar",{enumerable:!0,get:()=>g.ElScrollbar}),Object.defineProperty(f,"FoxSelect",{enumerable:!0,get:()=>g.ElSelect}),Object.defineProperty(f,"FoxSelectV2",{enumerable:!0,get:()=>g.ElSelectV2}),Object.defineProperty(f,"FoxSkeleton",{enumerable:!0,get:()=>g.ElSkeleton}),Object.defineProperty(f,"FoxSkeletonItem",{enumerable:!0,get:()=>g.ElSkeletonItem}),Object.defineProperty(f,"FoxSlider",{enumerable:!0,get:()=>g.ElSlider}),Object.defineProperty(f,"FoxSpace",{enumerable:!0,get:()=>g.ElSpace}),Object.defineProperty(f,"FoxStep",{enumerable:!0,get:()=>g.ElStep}),Object.defineProperty(f,"FoxSteps",{enumerable:!0,get:()=>g.ElSteps}),Object.defineProperty(f,"FoxSubMenu",{enumerable:!0,get:()=>g.ElSubMenu}),Object.defineProperty(f,"FoxSwitch",{enumerable:!0,get:()=>g.ElSwitch}),Object.defineProperty(f,"FoxTabPane",{enumerable:!0,get:()=>g.ElTabPane}),Object.defineProperty(f,"FoxTable",{enumerable:!0,get:()=>g.ElTable}),Object.defineProperty(f,"FoxTableColumn",{enumerable:!0,get:()=>g.ElTableColumn}),Object.defineProperty(f,"FoxTableV2",{enumerable:!0,get:()=>g.ElTableV2}),Object.defineProperty(f,"FoxTabs",{enumerable:!0,get:()=>g.ElTabs}),Object.defineProperty(f,"FoxTag",{enumerable:!0,get:()=>g.ElTag}),Object.defineProperty(f,"FoxTimePicker",{enumerable:!0,get:()=>g.ElTimePicker}),Object.defineProperty(f,"FoxTimeSelect",{enumerable:!0,get:()=>g.ElTimeSelect}),Object.defineProperty(f,"FoxTimeline",{enumerable:!0,get:()=>g.ElTimeline}),Object.defineProperty(f,"FoxTimelineItem",{enumerable:!0,get:()=>g.ElTimelineItem}),Object.defineProperty(f,"FoxTooltip",{enumerable:!0,get:()=>g.ElTooltip}),Object.defineProperty(f,"FoxTransfer",{enumerable:!0,get:()=>g.ElTransfer}),Object.defineProperty(f,"FoxTree",{enumerable:!0,get:()=>g.ElTree}),Object.defineProperty(f,"FoxTreeSelect",{enumerable:!0,get:()=>g.ElTreeSelect}),Object.defineProperty(f,"FoxTreeV2",{enumerable:!0,get:()=>g.ElTreeV2}),Object.defineProperty(f,"FoxUpload",{enumerable:!0,get:()=>g.ElUpload}),f.AutocompleteItem=Er,f.Broadcast=kt,f.BroadcastKey=ne,f.CascaderItem=$r,f.CheckboxItem=jr,f.Content=_n,f.DataItemsKey=De,f.DateItem=or,f.DialogItem=Fr,f.Domain=Mt,f.DomainKey=$e,f.ExtIcon=Lr,f.FooterBar=Pn,f.Group=zn,f.HeaderBar=Ln,f.HintText=pt,f.Indicator=Pr,f.InputItem=Qn,f.InputNumberItem=br,f.Item=oe,f.Mapping=Gt,f.MoneyItem=yr,f.Page=Fn,f.Price=yt,f.PriorityPolicy=ft,f.RadioItem=Ar,f.RateItem=Dr,f.RowItem=Zn,f.SelectItem=ar,f.SlotItem=Xn,f.SwitchItem=Br,f.TableItem=Vr,f.TableMappingColumn=Cr,f.TimeItem=sr,f.TimeSelectItem=cr,f.UniqueID=Yn,f.ValidateSchema=Nn,f.ValidateSchemaKey=be,f.clearNonNumber=ra,f.clone=At,f.compareTo=Tt,f.createBroadcast=rt,f.createValidateSchema=lt,f.debounce=pa,f.decimalLength=En,f.default=Fi,f.defineBroadcast=sa,f.defineDataItem=Rn,f.defineDomain=qt,f.defineItem=le,f.definePageState=kn,f.deleteGlobalValidator=da,f.disabledProperty=he,f.divide=Ot,f.excludeProps=ue,f.extend=Ie,f.floatData=ia,f.getGlobalValidateCheckEvents=Tn,f.getGlobalValidateResetEvents=In,f.getPageContentAreaHeight=ut,f.getPageContentAreaWidth=ct,f.getPageFooterAreaHeight=st,f.getPageHeaderAreaHeight=it,f.getRootDomain=Ze,f.hasSymbol=yn,f.includeProps=oa,f.indexOf=aa,f.integerLength=vn,f.isArray=Kr,f.isArrayLike=bn,f.isBrowser=Ye,f.isDate=Yr,f.isESModule=Zr,f.isEmptyString=ee,f.isEqual=Ne,f.isFunction=It,f.isInnerPage=wa,f.isMap=zr,f.isNumberString=$n,f.isObject=Se,f.isPlainObject=Nt,f.isPromise=Xr,f.isRegExp=Sn,f.isSet=Gr,f.isString=Wr,f.isSubPage=Sa,f.isSymbol=Ur,f.isWindow=pn,f.lastIndexOf=la,f.makeArray=ta,f.merge=wn,f.multiply=dn,f.negate=hn,f.nextTick=Qr,f.numberFormat=Vt,f.objectToString=mn,f.property=qe,f.raf=na,f.readonlyProperty=de,f.setGlobalValidateCheckEvents=ha,f.setGlobalValidateHandler=ca,f.setGlobalValidateMessages=ma,f.setGlobalValidateResetEvents=ga,f.setGlobalValidator=fa,f.throttle=jt,f.toBoolean=se,f.toNumber=Z,f.toPadding=pe,f.toPx=U,f.toPxDesc=K,f.toTypeString=tt,f.toValue=W,f.typeOf=nt,f.unNumberFormat=gn,f.updatePageState=Bt,f.useBroadcast=Ue,f.useDomain=ve,f.useExpose=fe,f.usePageState=ot,f.usePosition=Wn,f.useRect=mt,f.useTouch=qi,f.valueLength=We,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
5
|
+
*/function et(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=ae(e),t=ae(t),[e,t]=St(ae(e),ae(t)),r==1&&(n==1?e=wt(e):t=wt(t));let a=on(e,t);return r?r==2?"-"+ae(a):e.length<a.length?ae(a.substring(1)):"-"+ae(wt(a)):ae(a)}function wt(e){let t="",r=e.length,n=e.split(".")[1],a=n?n.length:0;for(let i=0;i<r;i++)e[i]>="0"&&e[i]<="9"?t+=9-parseInt(e[i]):t+=e[i];let o=a>0?"0."+new Array(a).join("0")+"1":"1";return on(t,o)}function ae(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 St(e,t){let r=e.split("."),n=t.split("."),a=r[0].length,o=n[0].length;return a>o?n[0]=new Array(Math.abs(a-o)+1).join("0")+(n[0]?n[0]:""):r[0]=new Array(Math.abs(a-o)+1).join("0")+(r[0]?r[0]:""),a=r[1]?r[1].length:0,o=n[1]?n[1].length:0,(a||o)&&(a>o?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(a-o)+1).join("0"):r[1]=(r[1]?r[1]:"")+new Array(Math.abs(a-o)+1).join("0")),e=r[0]+(r[1]?"."+r[1]:""),t=n[0]+(n[1]?"."+n[1]:""),[e,t]}function on(e,t){[e,t]=St(e,t);let r="",n=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){r="."+r;continue}let o=parseInt(e[a])+parseInt(t[a])+n;r=o%10+r,n=Math.floor(o/10)}return n?n.toString()+r:r}var Q=(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))(Q||{});function ze(e,t=0,r=Q.HALF_EVEN){if(r===Q.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let n=!1;e[0]==="-"&&(n=!0,e=e.substring(1));let a=e.split("."),o=a[0],i=a[1];if(t<0){if(t=-t,o.length<=t)return"0";{let s=o.substr(0,o.length-t);return e=s+"."+o.substr(o.length-t)+i,s=ze(e,0,r),(n?"-":"")+s+new Array(t+1).join("0")}}if(t==0)return o.length,sn(a[1],o,n,r)?(n?"-":"")+$t(o):(n?"-":"")+o;if(a[1]){if(a[1].length<t)return(n?"-":"")+o+"."+a[1]+new Array(t-a[1].length+1).join("0")}else return(n?"-":"")+o+"."+new Array(t+1).join("0");i=a[1].substring(0,t);let u=a[1].substring(t);return u&&sn(u,i,n,r)&&(i=$t(i),i.length>t)?(n?"-":"")+$t(o,parseInt(i[0]))+"."+i.substring(1):(n?"-":"")+o+"."+i}function sn(e,t,r,n){if(!e||e===new Array(e.length+1).join("0")||n===Q.DOWN||!r&&n===Q.FLOOR||r&&n===Q.CEILING)return!1;if(n===Q.UP||r&&n===Q.FLOOR||!r&&n===Q.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(n){case Q.HALF_DOWN:return!1;case Q.HALF_UP:return!0;case Q.HALF_EVEN:default:return parseInt(t[t.length-1])%2==1}}function $t(e,t=0){t||(t=1),typeof e=="number"&&e.toString();let r=e.length-1,n="";for(let a=r;a>=0;a--){let o=parseInt(e[a])+t;o==10?(t=1,o=0):t=0,n+=o}return t&&(n+=t),n.split("").reverse().join("")}function vt(e,t){e=e.toString(),t=t.toString();let r=0;e[0]=="-"&&(r++,e=e.substr(1)),t[0]=="-"&&(r++,t=t.substr(1)),e=Ge(e),t=Ge(t);let n=0,a=0;e.indexOf(".")!=-1&&(n=e.length-e.indexOf(".")-1),t.indexOf(".")!=-1&&(a=t.length-t.indexOf(".")-1);let o=n+a;if(e=Ge(e.replace(".","")),t=Ge(t.replace(".","")),e.length<t.length){let h=e;e=t,t=h}if(t=="0")return"0";let i=t.length,u=0,s=[],f=i-1,c="";for(let h=0;h<i;h++)s[h]=e.length-1;for(let h=0;h<2*e.length;h++){let S=0;for(let A=t.length-1;A>=f&&A>=0;A--)s[A]>-1&&s[A]<e.length&&(S+=parseInt(e[s[A]--])*parseInt(t[A]));S+=u,u=Math.floor(S/10),c=S%10+c,f--}return c=Ge(Hr(c,o)),r==1&&(c="-"+c),c}function Hr(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 Ge(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 Et(e,t,r=8){if(t==0)throw new Error("Cannot divide by 0");if(e=e.toString(),t=t.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let n=0;t[0]=="-"&&(t=t.substring(1),n++),e[0]=="-"&&(e=e.substring(1),n++);var a=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(t=ae(t.replace(".","")),a>=0){let f=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(f==-1)e=ae(e+new Array(a+1).join("0"));else if(a>f)e=e.replace(".",""),e=ae(e+new Array(a-f+1).join("0"));else if(a<f){e=e.replace(".","");let c=e.length-f+a;e=ae(e.substring(0,c)+"."+e.substring(c))}else a==f&&(e=ae(e.replace(".","")))}let o=0,i=t.length,u="",s=e.indexOf(".")>-1&&e.indexOf(".")<i?e.substring(0,i+1):e.substring(0,i);if(e=e.indexOf(".")>-1&&e.indexOf(".")<i?e.substring(i+1):e.substring(i),s.indexOf(".")>-1){let f=s.length-s.indexOf(".")-1;s=s.replace(".",""),i>s.length&&(f+=i-s.length,s=s+new Array(i-s.length+1).join("0")),o=f,u="0."+new Array(f).join("0")}for(r=r+2;o<=r;){let f=0;for(;parseInt(s)>=parseInt(t);)s=et(s,"-"+t),f++;u+=f,e?(e[0]=="."&&(u+=".",o++,e=e.substring(1)),s=s+e.substring(0,1),e=e.substring(1)):(o||(u+="."),o++,s=s+"0")}return(n==1?"-":"")+ae(ze(u,r-2))}function xt(e,t){return e=e.toString(),t=t.toString(),t=Ct(t),et(e,t)}function Ct(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function un(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),cn(e),cn(t);let r="";e[0]=="-"&&(r="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let n=xt(e,vt(t,ze(Et(e,t),0,Q.FLOOR)));return r+n}function cn(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function fn(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]=St(e,t),e.localeCompare(t)==0)return 0;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return e[n]>t[n]?r?-1:1:r?1:-1;return 0}class H{value;static RoundingModes=Q;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=ae(r);let a="";r[0]=="-"&&(a="-",r=r.substring(1)),r.indexOf(".")>=0?(n=parseInt(n)+r.indexOf("."),r=r.replace(".","")):n=parseInt(n)+r.length,r.length<n?t=a+r+new Array(n-r.length+1).join("0"):r.length>=n&&n>0?t=a+ae(r.substring(0,n))+(r.length>n?"."+r.substring(n):""):t=a+"0."+new Array(-n+1).join("0")+r}return t}constructor(t="0"){this.value=H.validate(t)}getValue(){return this.value}static getPrettyValue(t,r,n){if(!(r||n))r=3,n=",";else if(!(r&&n))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");t=H.validate(t);let a=t.charAt(0)=="-";a&&(t=t.substring(1));var o=t.indexOf(".");o=o>0?o:t.length;for(var i="",u=o;u>0;)u<r?(r=u,u=0):u-=r,i=t.substring(u,u+r)+(u<o-r&&u>=0?n:"")+i;return(a?"-":"")+i+t.substring(o)}getPrettyValue(t,r){return H.getPrettyValue(this.value,t,r)}static round(t,r=0,n=Q.HALF_EVEN){if(t=H.validate(t),isNaN(r))throw Error("Precision is not a number: "+r);return ze(t,r,n)}round(t=0,r=Q.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new H(ze(this.value,t,r))}static floor(t){return t=H.validate(t),t.indexOf(".")===-1?t:H.round(t,0,Q.FLOOR)}floor(){return this.value.indexOf(".")===-1?new H(this.value):new H(this.value).round(0,Q.FLOOR)}static ceil(t){return t=H.validate(t),t.indexOf(".")===-1?t:H.round(t,0,Q.CEILING)}ceil(){return this.value.indexOf(".")===-1?new H(this.value):new H(this.value).round(0,Q.CEILING)}static add(t,r){return t=H.validate(t),r=H.validate(r),et(t,r)}add(t){return new H(et(this.value,t.getValue()))}static subtract(t,r){return t=H.validate(t),r=H.validate(r),xt(t,r)}subtract(t){return new H(xt(this.value,t.getValue()))}static multiply(t,r){return t=H.validate(t),r=H.validate(r),vt(t,r)}multiply(t){return new H(vt(this.value,t.getValue()))}static divide(t,r,n){return t=H.validate(t),r=H.validate(r),Et(t,r,n)}divide(t,r){return new H(Et(this.value,t.getValue(),r))}static modulus(t,r){return t=H.validate(t),r=H.validate(r),un(t,r)}modulus(t){return new H(un(this.value,t.getValue()))}static compareTo(t,r){return t=H.validate(t),r=H.validate(r),fn(t,r)}compareTo(t){return fn(this.value,t.getValue())}static negate(t){return t=H.validate(t),Ct(t)}negate(){return new H(Ct(this.value))}}function dn(e,t){return H.multiply(`${e}`,`${t}`)}function Ot(e,t,r=8){return H.divide(`${e}`,`${t}`,r)}function Tt(e,t){return e=`${e}`,t=`${t}`,H.compareTo(e,t)}function hn(e){return H.negate(e)}function Vt(e,t=-1,r=!1,n=3,a=","){let o=`${e}`;if(o.length==0||o==="-")return"";let i=o.charAt(0);i=="-"?o=o.substring(1):i="";let u=o,s="",f=o.indexOf(".");f!=-1&&(u=o.substring(0,f),s=o.substring(f+1)),t!=-1&&(t<s.length?s=s.substring(0,t):r&&t>s.length&&(s=s.padEnd(t,"0")));let c;if(n>0){let h="",S=u.split("").reverse();for(let A=0;A<S.length;A++)h+=S[A]+((A+1)%n==0&&A+1!=S.length?a:"");s.length==0?c=`${i}${h.split("").reverse().join("")}`:c=`${i}${h.split("").reverse().join("")}.${s}`}else s.length==0?c=`${i}${u}`:c=`${i}${u}.${s}`;return c}function gn(e){let t=`${e}`,r=t.charAt(0);r=="-"?t=t.substring(1):r="";let n=t.replace(/[^\d\.-]/g,"");return`${r}${n}`}const Kr=Array.isArray,zr=e=>tt(e)==="[object Map]",Gr=e=>tt(e)==="[object Set]",Yr=e=>e instanceof Date,It=e=>typeof e=="function",Wr=e=>typeof e=="string",Ur=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",Xr=e=>Se(e)&&It(e.then)&&It(e.catch),mn=Object.prototype.toString,tt=e=>mn.call(e),Nt=e=>tt(e)==="[object Object]",yn=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Zr(e){return e.__esModule||yn&&e[Symbol.toStringTag]==="Module"}const Jr=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function Ie(...e){let t=e[0]!==void 0&&e[0]!==null?e[0]:{},r=1,n=e.length,a=!1;for(typeof t=="boolean"&&(a=t,t=e[r]??{},r++),typeof t!="object"&&(t={});r<n;r++)if(e[r]!==null&&e[r]!==void 0){let o=e[r];for(let i in o){let u=t[i],s=o[i];if(u!==s)if(a===!0&&s&&typeof s=="object"){let f;Array.isArray(s)?f=u&&Array.isArray(u)?u:[]:f=u&&typeof u=="object"?u:{},t[i]=Ie(a,f,s)}else s!==void 0&&(t[i]=s)}}return t}function At(e,t,r=!1){if(!r)Ie(!0,e,t);else{if(typeof t!="object")return{};typeof e!="object"&&(e={});for(let a in t){let o=e[a],i=t[a];if(o!==i)if(typeof i=="object"){if(!Array.isArray(i)&&!Nt(i))continue;o=At(o,i,r),e[a]=o}else{if(typeof i=="function")continue;e[a]=i}}const n=Object.getOwnPropertySymbols(t);for(let a of n){let o=e[a],i=t[a];if(o!==i)if(typeof i=="object"){if(!Array.isArray(i)&&!Nt(i))continue;o=At(o,i,r),e[a]=o}else{if(typeof i=="function")continue;e[a]=i}}}return e}const Rt=Jr?Promise.resolve():null;function Qr(e,...t){Rt!==null?t&&t.length>0?Rt.then(()=>{e(t)}):Rt.then(e):t&&t.length>0?setTimeout(()=>{e(t)}):setTimeout(e)}function se(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":Boolean(e)}function Z(e){return typeof e=="number"?e:Number(e)}const ea={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Object]":"object"};function nt(e){let r=Object.prototype.toString.call(e);return e==null?String(e):ea[r]||"object"}function pn(e){return e&&typeof e=="object"&&"setInterval"in e}function bn(e){let t=!!e&&"length"in e&&e.length,r=nt(e);return r==="function"||pn(e)?!1:r==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function wn(e,t){let r=+t.length,n=0,a=e.length;for(;n<r;n++)e[a++]=t[n];return e.length=a,e}function ta(e,t=[]){let r=t;return e!=null&&(bn(Object(e))?wn(r,typeof e=="string"?[e]:e):r.push(e)),r}function Ne(e,t){if(e==t)return!0;if(e===void 0||t===void 0)return!1;let r=nt(e),n=nt(t);if(r!==n)return!1;if(r==="object"){let a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(let i=0;i<a.length;i++){let u=a[i],s=e[u],f=t[u];if(!Ne(s,f))return!1}return!0}else if(r==="array"){if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++){let o=e[a],i=t[a];if(!Ne(o,i))return!1}return!0}return!1}const Ye=typeof window<"u",na=Ye&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Sn(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ee=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function $n(e){return ee(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ee(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function vn(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 En(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 xn(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 ra(e,t=!0,r=!0){t?e=xn(e,".",/\./g):e=e.replace(/\./g,""),r?e=xn(e,"-",/-/g):e=e.replace(/-/,"");const n=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function aa(e,t){return typeof e=="object"||Array.isArray(e)?t.findIndex(r=>{if(Ne(e,r))return!0}):t.indexOf(e)}function la(e,t){if(typeof e=="object"||Array.isArray(e)){let r=t.reverse().findIndex(n=>{if(Ne(e,n))return!0});return r!==-1&&(r=t.length-1-r),r}return t.lastIndexOf(e)}function We(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function oa(e,...t){const r={};return t.forEach(n=>{for(const a in n)r[a]=e[a]}),r}function ue(e,...t){const r=[];t.forEach(a=>{Reflect.apply([].push,r,Reflect.ownKeys(a))});const n={};for(const a in e)r.includes(a)||(n[a]=e[a]);return n}const ia=(e,t,r)=>{const n=Object.assign({},e),a=Object.assign({},r);return Object.keys(t).length>0?(Object.keys(n).forEach(o=>{a.hasOwnProperty(o)?typeof a[o]=="string"&&(n[o]=t[a[o]]):t[o]&&(n[o]=t[o])}),n):e},ne=Symbol.for("BroadcastKey");class kt{parent;children=[];callbacks=new Map;proxy=null;name;constructor(t,r,n){this.parent=t,this.proxy=r,this.name=n,t!==null&&t.addChild(this)}addChild(t){this.children.push(t)}removeChild(t){const r=this.children.findIndex(n=>t===n);r!==-1&&this.children.splice(r,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(t,r,...n){if(t.maxLevel!==void 0&&t.maxLevel!==null&&t.maxLevel>0){if(t.level=t.level??0,t.level>t.maxLevel)return[];t.level++}let a=!1;!t.name||t.name==="*"?a=!0:!t.name||t.name==="+"?(a=!1,t.name="*"):Sn(t.name)&&this.name&&t.name.test(this.name)?a=!0:typeof t.name=="function"?a=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(a=!0);const o=[];if(a){const i=this.callbacks.get(r);if(typeof i=="function"){const s=Reflect.apply(i,this.proxy,[...n]);s!=null&&o.push(s)}const u=this.proxy??{};if(typeof u[r]=="function"){const s=Reflect.apply(u[r],u,[...n]);s!=null&&o.push(s)}}return this.children.forEach(i=>{const u=Reflect.apply(i.emit,i,[{...t},r,...n]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,o,[...u])}),o}emitToChildren(t,r,...n){const a=[];return this.children.forEach(o=>{const i=Reflect.apply(o.emit,o,[{...t},r,...n]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,a,[...i])}),a}on(t,r){this.callbacks.set(t,r)}}function rt(e,t,r,n){const a=new kt(t,e,r);if(n&&typeof n=="object")for(const o in n)a.on(o,n[o]);return a}function sa(e,t,r){const n=r;if(n[ne])return n[ne];const a=l.inject(ne,null),o=new kt(a,r,e);if(t&&typeof t=="object")for(const i in t)o.on(i,t[i]);return n[ne]=o,l.provide(ne,o),l.onUnmounted(()=>{o.destroy(),n[ne]=void 0}),o}function Ue(e=null){return e||(e=l.getCurrentInstance()?.proxy??null),e?e[ne]??l.inject(ne,null):l.inject(ne,null)}const Ae=e=>e.default??e;class ua{error(t,r){const n=r,a=Ue(r);a?a.emit({name:"*"},"setErrorTip",t):typeof n.setErrorTip=="function"&&n.setErrorTip(t)}reset(t){const r=t,n=Ue(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}success(t){const r=t,n=Ue(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}decorate(t,r,n){Array.isArray(t)||(t=[t]);const a=n,o=Ue(n),i=r.find(s=>s.required===!0||s.type==="required"&&s.required!==!1),u=t.find(s=>s.required===!0||s.type==="required"&&s.required!==!1);!i&&u?o?o.emit({name:"*"},"setRequired",!0):typeof a.setRequired=="function"&&a.setRequired(!0):i&&!u&&(o?o.emit({name:"*"},"setRequired",!1):typeof a.setRequired=="function"&&a.setRequired(!1),this.reset(n))}getValue(t){return t.modelValue}}let Cn=new ua;function ca(e){Cn=e}function fa(e,t){Ae(Ve).setValidator(e,t)}function da(e){Ae(Ve).deleteValidator(e)}let On=["blur","clear"];function ha(e){On=e}function Tn(){return On}let Vn=["focus","change"];function ga(e){Vn=e}function In(){return Vn}function ma(e){Ae(Ve).messages(e)}function Xe(...e){const t=[];return e.forEach(r=>{r.forEach(n=>{const a=t.findIndex(o=>o.type===n.type);a!==-1&&t.splice(a,1),t.push(n)})}),t}function at(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 be=Symbol("ValidateSchemaKey");class Nn{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(t,r,n){this.parent=t,this.descriptor=r,this.proxy=n,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let t=this.proxy.$attrs;t&&(this.scope=l.effectScope(),this.scope.run(()=>{l.watchEffect(()=>{const r=at(Xe(this.attrRules,this.rules)),n=[];for(let o in t){let i=t[o];if(this.hasValidator(o,!0)){if(i===!1)continue;let s={type:o};i!==null&&typeof i=="object"&&Object.assign(s,i),n.push(s);continue}let u=this.getValidator(o);if(u!==null){let s={type:o,validator:u};n.push(s)}}this.attrRules=at(n);const a=Xe(this.attrRules,this.rules);l.nextTick(()=>{this.decorate(a,r)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(t,...r){const n=this.descriptor.validateHandler;if(n&&typeof n[t]=="function")return Reflect.apply(n[t],n,[...r]);const a=Cn;return a&&typeof a[t]=="function"?Reflect.apply(a[t],a,[...r]):null}decorate(t,r){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",t,r,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(t){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",t,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(t,r,n=!1){n?Ae(Ve).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?Ae(Ve).deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,r=!1){if(r)return Ae(Ve).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=Xe(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=at(t):this.rules=at([t]);const n=Xe(this.attrRules,this.rules);l.nextTick(()=>{this.decorate(n,r)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let r=Xe(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(r.length>0){const a={[`${n}`]:r},o=this.getValue(),i={[`${n}`]:o},u=Ae(Ve),s=new u(a),f=this.proxy??i;return s.validate(i,{context:f}).then(h=>{if(h.pass)this.success();else{let S="error";Array.isArray(h.errors)&&h.errors.length>0&&(S=h.errors[0].message??S,h.errors=[h.errors[0]],h.errors[0].ref=f),this.error(S)}return h}).catch(h=>{const S=h.message??`${h}`;return this.error(S),h})}}return Promise.resolve({pass:!0})}}function lt(e,t,r){if(r.valueName=r.valueName??"modelValue",r.valueType=r.valueType??"string",!r.validateHandler&&r.valueName!=="modelValue"){const a=r.valueName;r.validateHandler={getValue(o){return o[a]}}}return new Nn(t,r,e)}const An=Symbol.for("EventEmitterKey");class ya{register=new Map;proxy;constructor(t){this.proxy=t}destroy(){this.proxy=null,this.register.clear()}off(t,r){let n=this.register.get(t);if(n&&Array.isArray(n)){let a=n.findIndex(o=>o===r);a!==-1&&n.splice(a,1)}}on(t,r){let n=this.register.get(t);n||(n=new Array,this.register.set(t,n)),n.push(r)}emit(t,...r){const n=this.register.get(t);n&&n.forEach(a=>{try{Reflect.apply(a,null,[t,...r])}catch(o){console.error(o.message,o)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...r])}}function pa(e,t){let r=0;return function(...n){const a=Date.now();a-r>t&&(Reflect.apply(e,{},[...n]),r=a)}}function jt(e,t){let r,n=null;return function(...a){n=a,r||(r=setTimeout(()=>{r=null,Reflect.apply(e,{},[...n??[]])},t))}}const $e=Symbol("DomainKey"),De=Symbol("DataItemsKey");class Mt{_parent=null;get parent(){return this._parent}set parent(t){this._parent=t}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(t){this._broadcast=t}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(t){this._validateSchema=t}_props=l.reactive({});constructor(t=null){this._name=t}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(t,r=[]){for(const n in t){const a=t[n];r.length>0&&r.indexOf(a)!==-1||(this._props[n]=a)}}has(t){if(Reflect.has(this._props,t)){const r=this._props[t];if(r!=null)return!0}return this.parent==null?!1:this.parent.has(t)}delete(t){Reflect.deleteProperty(this._props,t)}set(t,r){this._props[t]=r}get(t,r){if(Reflect.has(this._props,t)){const n=this._props[t];if(n!=null)return n}return this.parent==null?r:this.parent.get(t,r)}getForParent(t,r){return this.parent==null?r:this.parent.get(t,r)}getForSelf(t){return this._props[t]}getAll(t){const r=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,t)){const a=n._props[t];r.push(a)}n=n._parent}return r}}const ba=new Mt;function Ze(){return ba}function ve(e=null){e||(e=l.getCurrentInstance());const t=e?.proxy;return t?t[$e]??l.inject($e,null):l.inject($e,null)}const Dt=Symbol("OriginalDateKey");function qt(e,t,r=[],n){const a=l.getCurrentInstance(),o=a?.proxy;let i=l.inject($e,null);i===null&&(i=Ze());const u=e||t.prop||t.name,s=new Mt(u);s.parent=i;const f=E=>{o[Dt]||S(E),s.set("modelValue",E)},c=()=>s.getForSelf("modelValue")??null,h=()=>o[Dt]??null,S=E=>{const R={};Ie(!0,R,l.toRaw(E)),o[Dt]=R};l.isReactive(t)?l.watchEffect(()=>{s.merge(t,r)}):s.merge(t,r),t.modelValue&&S(t.modelValue),o[$e]=s,l.provide($e,s);let A=null,T=null;if(a!==null){const E=l.inject(ne,null);A=rt(o,E,u,n),s.broadcast=A,o[ne]=A,l.provide(ne,A),o.broadcast=($,D,...k)=>Reflect.apply(A.emit,A,[$,D,...k]);const R=l.inject(be,null);T=lt(o,R,{componentName:""}),s.validateSchema=T,o[be]=T,l.provide(be,T),o[De]=new Map,o.validate=($=!0)=>{const D=[];let k=null;if($===!0)k={name:"*"};else if(Array.isArray($)&&$.length>0){const I=$;k={name:M=>M?I.indexOf(M)!==-1:!1}}else if($!=null&&typeof $=="object"){const I=$;if(Array.isArray(I.include)&&I.include.length>0){const M=I.include;k={name:y=>y?M.indexOf(y)!==-1:!1}}else if(Array.isArray(I.exclude)&&I.exclude.length>0){const M=I.exclude;k={name:y=>y?M.indexOf(y)===-1:!1}}else k={name:"*"}}if(k){const I=A?.emitToChildren(k,"validate",!1);I&&Reflect.apply([].push,D,I)}return D.length==1?D[0]:D.length>1?Promise.all(D).then(I=>{let M=[];return I.forEach(y=>{y.pass===!1&&Array.isArray(y.errors)&&(M=[...M,...y.errors])}),M.length>0?{pass:!1,errors:M}:{pass:!0}}):Promise.resolve({pass:!0})},o.setNameValidateRules=($,D=!0)=>{if(D){const k=Reflect.ownKeys($),I=[...k],M={name:y=>{const m=k.includes(y);if(m){const b=I.findIndex(V=>y===V);b!==-1&&I.splice(b,1)}return m}};A?.emitToChildren(M,"setNameValidateRules",$,!1),I.length>0&&I.forEach(y=>{let m=String(y);const V=Rn(s,m,{componentName:"",fieldName:m,pureDataValidate:!0},A,T);o[De].set(m,V);const w=$[m];w&&V.validateSchema.setRule(w)})}},o.clearValidate=($=!0)=>{let D=null;if($===!0)D={name:"*"};else if(Array.isArray($)&&$.length>0){const k=$;D={name:I=>I?k.indexOf(I)!==-1:!1}}else if($!=null&&typeof $=="object"){const k=$;if(Array.isArray(k.include)&&k.include.length>0){const I=k.include;D={name:M=>M?I.indexOf(M)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const I=k.exclude;D={name:M=>M?I.indexOf(M)===-1:!1}}else D={name:"*"}}D&&A?.emitToChildren(D,"clearValidate",!1)},o.resetFields=$=>{const D=c();if(!D)return;const k={};if(Ie(!0,k,h()??{}),Array.isArray($))$.forEach(I=>{D[I]=k[I]});else if($&&Array.isArray($.include))($.include??[]).forEach(M=>{D[M]=k[M]});else if($&&Array.isArray($.exclude)){let I=$.exclude??[];Reflect.ownKeys(k).forEach(M=>{I.includes(M)||(D[M]=k[M])})}else Object.assign(D,k);o.clearValidate($)},o.setModelValue=($,D)=>{!D||D===u?f($):A?.emitToChildren({name:D},"setModelValue",$)},o.getModelValue=()=>c()}return l.onUnmounted(()=>{s.destroy(),o[$e]=void 0,o[De]&&(o[De].clear(),o[De]=void 0),A!==null&&(A.destroy(),o[ne]=void 0),T!==null&&(T.destroy(),o[be]=void 0)}),s}function le(e,t,r){const a=l.getCurrentInstance()?.proxy,o=t??"",i=l.inject(ne,null),u=rt(a,i,o,r);a[ne]=u,l.provide(ne,u),a.broadcast=(T,E,...R)=>Reflect.apply(u.emit,u,[T,E,...R]);const s=l.inject(be,null);e.fieldName=e.fieldName??o;const f=lt(a,s,e);a[be]=f,l.provide(be,f),a.validate=(T=null)=>{const E=[];if(!Array.isArray(T)||T.indexOf(o)!==-1){const $=f?.validate();E.push($)}let R=null;if(T===!0)R={name:"*"};else if(Array.isArray(T)&&T.length>0){const $=T;R={name:D=>D?$.indexOf(D)!==-1:!1}}else if(T!=null&&typeof T=="object"){const $=T;if(Array.isArray($.include)&&$.include.length>0){const D=$.include;R={name:k=>k?D.indexOf(k)!==-1:!1}}else if(Array.isArray($.exclude)&&$.exclude.length>0){const D=$.exclude;R={name:k=>k?D.indexOf(k)===-1:!1}}else R={name:"*"}}if(R){const $=u.emitToChildren(R,"validate",!1);Reflect.apply([].push,E,$)}return E.length==1?E[0]:E.length>1?Promise.all(E).then($=>{let D=[];return $.forEach(k=>{k.pass===!1&&Array.isArray(k.errors)&&(D=[...D,...k.errors])}),D.length>0?{pass:!1,errors:D}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=T=>f?.setRule(T),a.setNameValidateRules=(T,E=!1)=>{const R=T[o];if(R&&f?.setRule(R),E){const $={name:D=>Reflect.ownKeys(T).includes(D)};u.emitToChildren($,"setNameValidateRules",T,!1)}},a.clearValidate=(T=null)=>{(!Array.isArray(T)||T.indexOf(t??"")!==-1)&&f?.clear();let E=null;if(T===!0)E={name:"*"};else if(Array.isArray(T)&&T.length>0){const R=T;E={name:$=>$?R.indexOf($)!==-1:!1}}else if(T!=null&&typeof T=="object"){const R=T;if(Array.isArray(R.include)&&R.include.length>0){const $=R.include;E={name:D=>D?$.indexOf(D)!==-1:!1}}else if(Array.isArray(R.exclude)&&R.exclude.length>0){const $=R.exclude;E={name:D=>D?$.indexOf(D)===-1:!1}}else E={name:"*"}}E&&u.emitToChildren(E,"clearValidate",!1)};const c=new ya(a);a[An]=c;const h=jt((T="validate")=>{T==="reset"?f.clear():f.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Tn()).forEach(T=>{c.on(T,E=>{h("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:In()).forEach(T=>{c.on(T,E=>{h("reset")})}),l.onUnmounted(()=>{u.destroy(),a[ne]=void 0,f.destroy(),a[be]=void 0,c.destroy(),a[An]=void 0}),{broadcast:u,validateSchema:f,emitEvent:(T,...E)=>{Reflect.apply(c.emit,c,[T,...E])},onEvent:(T,E)=>{Reflect.apply(c.on,c,[E])},offEvent:(T,E)=>{Reflect.apply(c.off,c,[E])}}}function Rn(e,t,r,n,a){const o={},i=t??"";r.fieldName=i,r.validateHandler={getValue(f){const c=e.getForSelf("modelValue");return c?c[i]:null}};const u=lt({},a,r);o.validate=(f=null)=>{const c=[];if(!Array.isArray(f)||f.indexOf(i)!==-1){const S=u?.validate();c.push(S)}let h=null;if(f===!0)h={name:"*"};else if(Array.isArray(f)&&f.length>0){const S=f;h={name:A=>A?S.indexOf(A)!==-1:!1}}else if(f!=null&&typeof f=="object"){const S=f;if(Array.isArray(S.include)&&S.include.length>0){const A=S.include;h={name:T=>T?A.indexOf(T)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const A=S.exclude;h={name:T=>T?A.indexOf(T)===-1:!1}}else h={name:"*"}}if(h){const S=s.emitToChildren(h,"validate",!1);Reflect.apply([].push,c,S)}return c.length==1?c[0]:c.length>1?Promise.all(c).then(S=>{let A=[];return S.forEach(T=>{T.pass===!1&&Array.isArray(T.errors)&&(A=[...A,...T.errors])}),A.length>0?{pass:!1,errors:A}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=f=>u?.setRule(f),o.setNameValidateRules=f=>{const c=f[i];c&&u?.setRule(c)};const s=rt(null,n,i,o);return{broadcast:s,validateSchema:u}}const K=(e,t=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&t<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${U(e,t)}px`:"";function U(e,t=-1){if(typeof e=="number")return e>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 a=Number(e.substring(0,r)),o=1;if(Ye){const{fontSize:i}=window.getComputedStyle(document.documentElement,null),u=i.indexOf("px");u>0&&(o=Number(i.substring(0,u)))}return a*=o,a}if(r=e.indexOf("%"),r!==-1)return Number(e.substring(0,r))/100*t;const n=Number(e);return isNaN(n)?0:n}const Ee="PageStateKey";function pe(e){const t={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(t.top=U(e.top)),e.left!==null&&e.left!==void 0&&(t.left=U(e.left)),e.bottom!==null&&e.bottom!==void 0&&(t.bottom=U(e.bottom)),e.right!==null&&e.right!==void 0&&(t.right=U(e.right))),t}function Bt(e,t,r={},n=!0,a=-1,o=-1,i=0,u=0){if(e.headerHeight=U(r.headerHeight??t.headerHeight),e.headerPadding=pe(r.headerPadding??t.headerPadding),e.footerHeight=U(r.footerHeight??t.footerHeight),e.footerPadding=pe(r.footerPadding??t.footerPadding),e.contentPadding=pe(r.contentPadding??t.contentPadding),n){const s=r.height??t.height;s?e.height=U(s,o):e.height=U(o)-U(i,o)-U(u,o),e.width=U(r.width??t.width,a)}}function kn(e,t={}){const r={top:null,left:null,bottom:null,right:null},n={width:0,height:0,headerHeight:0,headerPadding:{...r},footerHeight:0,footerPadding:{...r},contentPadding:{...r},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},a=Object.assign(e.get("safeAreaInset")??{},t.safeAreaInset??{});a&&(n.safeAreaTop=U(a.top),n.safeAreaBottom=U(a.bottom),n.safeAreaLeft=U(a.left),n.safeAreaRight=U(a.right));const o=e.get("pageLayout");if(!o)return null;const i=e.get("rootWidth")??-1,u=e.get("rootHeight")??-1,s=e.get("headerBarHeight")??0,f=e.get("footerBarHeight")??0;Bt(n,o,t,!0,i,u,s,f);const c=l.reactive(n),h=e.getForParent(Ee);h&&(n.height=ut(e,h),n.width=ct(e,h),l.watch([()=>h.height,()=>h.width,()=>h.contentPadding,()=>h.headerMounted,()=>h.footerMounted],()=>{c.height=ut(e,h),c.width=ct(e,h)}));const S=!h;return l.watch([()=>t.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([A,T,E=-1,R=-1,$=0,D=0])=>{Bt(c,T,t,S,E,R,$,D)}),e.set(Ee,c),c}function ot(e){return e.get(Ee)}function it(e,t){return t=t??e.get(Ee),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function st(e,t){return t=t??e.get(Ee),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function ut(e,t){if(t=t??e.get(Ee),t){const r=it(e,t),n=st(e,t);return t.height-r-n-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function ct(e,t){return t=t??e.get(Ee),t?t.width-(t.contentPadding.left??0)-(t.contentPadding.right??0):0}function wa(e,t){const r=e.get("isInnerPage");return typeof r=="function"?Reflect.apply(r,{},[t,e]):!1}function Sa(e){return!!e.getForParent(Ee)}var ft=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(ft||{});function Ft(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function qe(e,t,r=1,n){const a=ve();return a==null?e:r===0?l.computed(()=>{const o=a.getAll(t);for(let u=o.length-1;u>=0;u--){const s=o[u];if(Ft(s,n))return s}const i=e.value;return Ft(i,n)?i:null}):l.computed(()=>{const o=e.value;return Ft(o,n)?o:a?.get(t)})}function de(e){return qe(e,"readonly",0,function(r){return se(r)})}function he(e){return qe(e,"disabled",0,function(r){return se(r)})}function W(e,t="modelValue",r){const n=l.toRef(e,t);let a=n.value;typeof r=="function"&&(a=r(n.value));const o=l.ref(a);return l.watch(n,i=>{if(typeof r=="function"){const u=r(i);u!==o.value&&(o.value=u)}else i!==o.value&&(o.value=i)}),o}const jn=new Map,dt=new Map;let Lt=null;function $a(e){Lt=e}function Mn(e,t,r){if(r){let n=dt.get(r);n||(n=new Map,dt.set(r,n)),n.set(e,t)}else jn.set(e,t)}function Re(e,t,r){!r&&Lt&&(r=Lt(e)??void 0);let n=null;if(r){let a=dt.get(r);a&&(n=a.get(t))}return n||(n=jn.get(t)),n}function va(e,t){for(let r in e){const n=e[r];Mn(r,n,t)}}function Ea(e){dt.delete(e)}function xa(){return{top:0,left:0,bottom:0,right:0}}function Ca(e=0,t=0){if(Ye){const r=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight,a={width:r,height:n-U(e,n)-U(t,n),headerHeight:44,footerHeight:44};return{rootWidth:r,rootHeight:n,pageLayout:a}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}}class Oa{packages;installers;_version;get version(){return this._version}constructor(t,r,n){this.packages=t,this.installers=r,this._version=n}install(t,r={}){r?.install!==!1&&(this.packages.forEach(o=>{o.install?t.use(o):o.name&&t.component(o.name,o)}),this.installers.forEach(o=>{o(t)}));const n=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=Ze();if(this.initPageLayout(r,a),r.autoAdjustPageLayout!==!1&&window.ResizeObserver){const o=jt(()=>{const u={...r},s=document.documentElement.clientWidth||document.body.clientWidth,f=document.documentElement.clientHeight||document.body.clientHeight;u.width=s,u.height=f,this.initPageLayout(u,a)},150);new window.ResizeObserver(o).observe(window.document.body)}for(const o in r)n.indexOf(o)===-1&&a.set(o,r[o])}initPageLayout(t,r){const n=t.headerBarHeight??0,a=t.footerBarHeight??0,o=Ie({},xa(),t.safeAreaInset),i=Ca(n,a),u=Ie({},i.pageLayout,t.pageLayout);r=r??Ze(),r.set("safeAreaInset",o),r.set("headerBarHeight",n),r.set("footerBarHeight",a),r.set("pageLayout",u),r.set("rootWidth",i.rootWidth),r.set("rootHeight",i.rootHeight)}setScopeGetter(t){$a(t)}setAPI(t,r,n){Mn(t,r,n)}getAPI(t,r,n){return Re(t,r,n)}batchSetAPI(t,r){va(t,r)}clearScopeAPI(t){Ea(t)}getRootDomain(){return Ze()}}const Ta=[g.ElAffix,g.ElAlert,g.ElAutocomplete,g.ElAutoResizer,g.ElAvatar,g.ElBacktop,g.ElBadge,g.ElBreadcrumb,g.ElBreadcrumbItem,g.ElButton,g.ElButtonGroup,g.ElCalendar,g.ElCard,g.ElCarousel,g.ElCarouselItem,g.ElCascader,g.ElCascaderPanel,g.ElCheckTag,g.ElCheckbox,g.ElCheckboxButton,g.ElCheckboxGroup,g.ElCol,g.ElCollapse,g.ElCollapseItem,g.ElCollapseTransition,g.ElColorPicker,g.ElConfigProvider,g.ElContainer,g.ElAside,g.ElFooter,g.ElHeader,g.ElMain,g.ElDatePicker,g.ElDescriptions,g.ElDescriptionsItem,g.ElDialog,g.ElDivider,g.ElDrawer,g.ElDropdown,g.ElDropdownItem,g.ElDropdownMenu,g.ElEmpty,g.ElForm,g.ElFormItem,g.ElIcon,g.ElImage,g.ElImageViewer,g.ElInput,g.ElInputNumber,g.ElLink,g.ElMenu,g.ElSubMenu,g.ElMenuItem,g.ElMenuItemGroup,g.ElPageHeader,g.ElPagination,g.ElPopconfirm,g.ElPopover,g.ElPopper,g.ElProgress,g.ElRadio,g.ElRadioButton,g.ElRadioGroup,g.ElRate,g.ElResult,g.ElRow,g.ElScrollbar,g.ElSelect,g.ElOption,g.ElOptionGroup,g.ElSelectV2,g.ElSkeleton,g.ElSkeletonItem,g.ElSlider,g.ElSpace,g.ElSteps,g.ElStep,g.ElSwitch,g.ElTable,g.ElTableColumn,g.ElTableV2,g.ElTabs,g.ElTabPane,g.ElTag,g.ElTimePicker,g.ElTimeSelect,g.ElTimeline,g.ElTimelineItem,g.ElTooltip,g.ElTransfer,g.ElTree,g.ElTreeSelect,g.ElTreeV2,g.ElUpload],Va=[g.ElInfiniteScroll,g.ElLoading,g.ElMessage,g.ElMessageBox,g.ElNotification,g.ElPopoverDirective],Ia=e=>{Ta.forEach(t=>{let r=t.name;typeof r=="string"?(r=`Fox${r.slice(2)}`,e.component(r,t)):e.use(t)}),Va.forEach(t=>{e.use(t)})};function Y(e){const t="fox-"+e;return{componentName:t,scope:e.replace("-",""),create(r){return r.baseName=e,r.name=t,r.install=n=>{n.component(r.name,r)},l.defineComponent(r)},createDemo(r){return r.baseName=e,r.name="demo-"+e,l.defineComponent(r)}}}const re={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}},ce={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}},Dn={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},minItemWidth:{type:[Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},qn={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,String],required:!1,default:!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1,default:!0},markColor:{type:[String],required:!1}},Bn=[];for(const e in qn)Bn.push(e);function fe(e,t=null){if(t||(t=l.getCurrentInstance()),t&&t.proxy){let r=t.proxy;Object.assign(r,e)}}const Na=Symbol.for("InnerPageScopeKey"),Aa=(e,t)=>({inheritAttrs:!0,props:{...re,...Dn,name:{type:String,required:!1,default:""},modelValue:{type:Object,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1}},setup(r,n){const a=qt(r.name,r);if(a){const f=kn(a,r);fe({getPageContentHeight:()=>ut(a,f),getPageContentWidth:()=>ct(a,f),getPageHeaderHeight:()=>it(a,f),getPageFooterHeight:()=>st(a,f)});const c=l.inject(Na,!1);f&&c&&(f.contentHeight="100%")}const o=l.computed(()=>({[e]:!0})),i=l.computed(()=>({})),u=l.getCurrentInstance(),s=f=>{const c=u?.proxy;c&&typeof c.setNameValidateRules=="function"&&c.setNameValidateRules(f,!0)};return l.watch(()=>r.rules,(f,c)=>{if(!f&&!c)return;const h=l.toRaw(c),S=l.toRaw(f),A=S?Reflect.ownKeys(S):[];(h?Reflect.ownKeys(h):[]).forEach(E=>{A.includes(E)||(S[E]=[])}),s(S)},{deep:!0}),l.onMounted(()=>{if(r.rules){const f=l.toRaw(r.rules);s(f)}}),l.onBeforeUnmount(()=>{}),{classes:o,styles:i}}}),{componentName:Ra,create:ka,scope:Pi}=Y("page"),ja=ka(Aa(Ra));function Ma(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const ke=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r},Fn=ke(ja,[["render",Ma]]),Da=(e,t)=>({props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!1},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 a=ve(),o=a?ot(a):null;o&&(o.headerMounted=!0);const i=l.computed(()=>({[e]:!0})),u=r.height!==null&&r.height!==void 0?U(r.height):null,s=l.computed(()=>{const m={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&o){const b=pe(r.padding??o.footerPadding);return Object.assign(m,b),u&&(o.headerHeight=u),m.height=o.headerHeight,m.safeAreaTop=o.safeAreaTop,m.safeAreaTop&&(m.top=m.safeAreaTop+(b.top??0),m.height=m.height+o.safeAreaTop),m.height,m.safeAreaTop,m}if(u&&(m.height=u),r.padding){const b=pe(r.padding);Object.assign(m,b)}return m});l.onUnmounted(()=>{o&&(o.headerMounted=!1)});const f=l.computed(()=>{const m={};return s.value.height!==null&&s.value.height!==void 0&&(m.height=`${s.value.height}px`),s.value.top!==null&&s.value.top!==void 0&&(m.paddingTop=`${s.value.top}px`),s.value.left!==null&&s.value.left!==void 0&&(m.paddingLeft=`${s.value.left}px`),s.value.right!==null&&s.value.right!==void 0&&(m.paddingRight=`${s.value.right}px`),s.value.bottom!==null&&s.value.bottom!==void 0&&(m.paddingBottom=`${s.value.bottom}px`),m}),c=l.computed(()=>{const m={};return s.value.safeAreaTop!==null&&s.value.safeAreaTop!==void 0&&(m.top=`${s.value.safeAreaTop}px`),m}),h=l.computed(()=>{const m={};return s.value.safeAreaTop!==null&&s.value.safeAreaTop!==void 0&&(m.top=`${s.value.safeAreaTop}px`),m}),S=l.computed(()=>r.leftShow?r.leftIcon||r.leftText||n.slots.left:!1),A=l.computed(()=>!(s.value.height!==null&&s.value.height!==void 0&&s.value.height<=0)),T=l.computed(()=>r.titleShow?r.title||r.titleIcon||n.slots.default:!1),E=l.computed(()=>r.rightShow?r.rightIcon||r.rightText||n.slots.right:!1),R=l.computed(()=>{let m={};return typeof r.leftIcon=="object"?Object.assign(m,r.leftIcon):m.name=r.leftIcon,m}),$=l.computed(()=>{let m={};return typeof r.titleIcon=="object"?Object.assign(m,r.titleIcon):m.name=r.titleIcon,m}),D=l.computed(()=>{let m={};return typeof r.rightIcon=="object"?Object.assign(m,r.rightIcon):m.name=r.rightIcon,m});function k(){n.emit("back")}function I(){n.emit("click-title")}function M(){n.emit("click-right")}function y(){n.emit("click-right-text")}return{classes:i,styles:f,mHeaderShow:A,leftStyles:c,rightStyles:h,mLeftShow:S,mTitleShow:T,mRightShow:E,mLeftIcon:R,mTitleIcon:$,mRightIcon:D,handleLeft:k,handleCenter:I,handleRight:M,handleRightText:y}}}),{componentName:qa,create:Ba,scope:_i}=Y("header-bar"),Fa=Ba(Da(qa)),La={key:1,class:"fox-header-bar__title"};function Pa(e,t,r,n,a,o){const i=l.resolveComponent("fox-ext-icon");return e.mHeaderShow?(l.openBlock(),l.createElementBlock("view",{key:0,class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"all",{},()=>[e.mLeftShow?(l.openBlock(),l.createElementBlock("view",{key:0,class:"fox-header-bar__left",style:l.normalizeStyle(e.leftStyles)},[l.renderSlot(e.$slots,"left",{},()=>[e.leftIcon?(l.openBlock(),l.createBlock(i,{key:0,color:e.mLeftIcon.color,name:e.mLeftIcon.name,onClick:e.handleLeft},null,8,["color","name","onClick"])):l.createCommentVNode("",!0),e.leftText?(l.openBlock(),l.createElementBlock("view",{key:1,onClick:t[0]||(t[0]=(...u)=>e.handleLeft&&e.handleLeft(...u))},l.toDisplayString(e.leftText),1)):l.createCommentVNode("",!0)])],4)):l.createCommentVNode("",!0),e.mTitleShow?(l.openBlock(),l.createElementBlock("view",La,[l.renderSlot(e.$slots,"default",{},()=>[e.title?(l.openBlock(),l.createElementBlock("view",{key:0,class:"text-title",onClick:t[1]||(t[1]=(...u)=>e.handleTitle&&e.handleTitle(...u))},l.toDisplayString(e.title),1)):l.createCommentVNode("",!0),e.titleIcon?(l.openBlock(),l.createBlock(i,{key:1,class:"icon-title",color:e.mTitleIcon.color,name:e.mTitleIcon.name,onClick:e.handleCenter},null,8,["color","name","onClick"])):l.createCommentVNode("",!0)])])):l.createCommentVNode("",!0),e.mRightShow?(l.openBlock(),l.createElementBlock("view",{key:2,class:"fox-header-bar__right",style:l.normalizeStyle(e.rightStyles)},[l.renderSlot(e.$slots,"right",{},()=>[e.rightText?(l.openBlock(),l.createElementBlock("view",{key:0,onClick:t[2]||(t[2]=(...u)=>e.handleRightText&&e.handleRightText(...u))},l.toDisplayString(e.rightText),1)):l.createCommentVNode("",!0),e.rightIcon?(l.openBlock(),l.createBlock(i,{key:1,class:"right-icon",color:e.mRightIcon.color,name:e.mRightIcon.name,onClick:e.handleRight},null,8,["color","name","onClick"])):l.createCommentVNode("",!0)])],4)):l.createCommentVNode("",!0)])],6)):l.createCommentVNode("",!0)}const Ln=ke(Fa,[["render",Pa]]);function _a(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 a=ve(),o=a?ot(a):null;o&&(o.footerMounted=!0);const i=l.computed(()=>{const c=e;let h=e;return r.align==="left"?h=`${h}__left`:r.align==="right"?h=`${h}__right`:h=`${h}__center`,{[c]:!0,[h]:!0}}),u=r.height!==null&&r.height!==void 0?U(r.height):null,s=l.computed(()=>{const c={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&o){const h=pe(r.padding??o.footerPadding);return Object.assign(c,h),u&&(o.footerHeight=u),c.height=o.footerHeight,c.safeAreaBottom=o.safeAreaBottom,c.safeAreaBottom&&(c.height=c.height+o.safeAreaBottom,c.bottom=c.safeAreaBottom+(h.bottom??0)),c}if(u&&(c.height=u),r.padding){const h=pe(r.padding);Object.assign(c,h)}return c});l.onUnmounted(()=>{o&&(o.footerMounted=!1)});const f=l.computed(()=>{const c={};return s.value.height!==null&&s.value.height!==void 0&&(c.height=K(s.value.height)),s.value.top!==null&&s.value.top!==void 0&&(c.paddingTop=K(s.value.top)),s.value.left!==null&&s.value.left!==void 0&&(c.paddingLeft=K(s.value.left)),s.value.right!==null&&s.value.right!==void 0&&(c.paddingRight=K(s.value.right)),s.value.bottom!==null&&s.value.bottom!==void 0&&(c.paddingBottom=K(s.value.bottom)),c});return{classes:i,styles:f}}}}const{componentName:Ha,create:Ka,scope:Hi}=Y("footer-bar"),za=Ka(_a(Ha));function Ga(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const Pn=ke(za,[["render",Ga]]);function Ya(e,t){return{props:{padding:{type:[Object],required:!1}},setup(r){const n=ve(),a=l.computed(()=>({[e]:!0})),o=l.computed(()=>{const i={};if(n){const u=ot(n);if(u){if(r.padding){const h=pe(r.padding);Object.assign(u.contentPadding,h)}const s=it(n,u),f=st(n,u);let c="";if(u.contentHeight?c=`${u.contentHeight}`:c=`${u.height}px`,u.contentPadding,i.height=c,u.contentPadding.top!==null&&u.contentPadding.top!==void 0||s>0){const h=(u&&u.contentPadding&&u.contentPadding.top)??0;i.paddingTop=`${s+h}px`}if(u.contentPadding.bottom!==null&&u.contentPadding.bottom!==void 0||f>0){const h=(u&&u.contentPadding&&u.contentPadding.bottom)??0;i.paddingBottom=`${f+h}px`}return u.contentPadding.left!==null&&u.contentPadding.left!==void 0&&(i.paddingLeft=`${u.contentPadding.left}px`),u.contentPadding.right!==null&&u.contentPadding.right!==void 0&&(i.paddingRight=`${u.contentPadding.right}px`),i}}if(r.padding){const u=pe(r.padding);u.left!==null&&u.left!==void 0&&(i.paddingLeft=`${u.left}px`),u.top!==null&&u.top!==void 0&&(i.paddingTop=`${u.top}px`),u.right!==null&&u.right!==void 0&&(i.paddingRight=`${u.right}px`),u.bottom!==null&&u.bottom!==void 0&&(i.paddingBottom=`${u.bottom}px`)}return i});return{classes:a,styles:o}}}}const{componentName:Wa,create:Ua,scope:Ki}=Y("content"),Xa=Ua(Ya(Wa));function Za(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const _n=ke(Xa,[["render",Za]]),Be="GroupStateKey",Hn=Symbol.for("GroupScopeKey");function ht(){return l.inject(Hn,!1)}function gt(e=!0){l.provide(Hn,e)}function Ja(e,t={}){const n={type:"form",width:e.get("width",-1),column:-1,gutter:-1};Object.assign(n,t);const a=l.shallowRef(n),o=l.markRaw({layout:a,passport:0,order:{index:0}});return e.set(Be,o),o}function Kn(e,t,r=-1,n=-1,a=!1,o){const i=e.get(Be);if(!i)return;const u=e.get("groupLayout")??{};r===-1&&(r=u.column??1),n===-1&&(n=u.gutter??0),o||(o=u.minItemWidth??-1);const s=()=>{const f=t===""||t===-1,c=U(t);let h=Z(r);const S=U(n);if(!f){let E=(c-(h-1)*S)/h;for(;o!==-1&&h>1&&E<o;)h--,E=(c-(h-1)*S)/h}let A=!1;const T=i.layout;T.value.width=t,T.value.column!==h&&(T.value.column=h,A=!0),T.value.gutter!==S&&(T.value.gutter=S,A=!0),A&&l.triggerRef(T)};if(a)s();else{const f=++i.passport;setTimeout(()=>{f===i.passport&&s()},50)}}function Je(e,t=!1){let r;return t?r=e.getForParent(Be):r=e.get(Be),r.layout}function Pt(e,t=!1){let r;return t?r=e.getForParent(Be):r=e.get(Be),r.order}function ge(e,t=1){return t==="stretch"?-1:(t=Z(t),t===-1?100:100*t/e)}function Qa(e){return e===window}const mt=e=>{const t=l.unref(e);if(Qa(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}},xe=(e,t)=>e?t?`fox-group__${e}-${t}`:"":`fox-group__${t}`,el=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},tl=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=Z(e.props.offset);return t<0?0:t},nl=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"},rl=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=Z(e.props.foxSubItemCount);return t<0?1:t};function al(e,t){return{props:{...re,...Dn,...qn},setup(r,n){const a=qt(r.name,r,Bn),o=Ja(a,{type:r.type}),i=ht();gt(!0);const u=l.computed(()=>i&&a?Je(a,!0).value:null),s=l.getCurrentInstance(),f=y=>{const m=s?.proxy;m&&typeof m.setNameValidateRules=="function"&&m.setNameValidateRules(y,!0)};l.watch(()=>r.rules,(y,m)=>{if(!y&&!m)return;const b=l.toRaw(m),V=l.toRaw(y),w=V?Reflect.ownKeys(V):[];(b?Reflect.ownKeys(b):[]).forEach(B=>{w.includes(B)||(V[B]=[])}),f(V)},{deep:!0}),l.onMounted(()=>{if(r.rules){const y=l.toRaw(r.rules);f(y)}});const c=e,h=l.computed(()=>{const y={};if(u.value){const m=Je(a,!0);if(m.value.type==="flex"){if(r.width){const w=K(r.width);y.width=w}else{const w=ge(m.value.column,r.span);w>0&&(y.width=`${w}%`)}if(r.height){const w=K(r.height);y.height=w}const b=ge(m.value.column,r.offset);b>0&&(y["margin-left"]=`${b}%`);const V=m.value.gutter/2;V>0&&(y["padding-left"]=`${V}px`,y["padding-right"]=`${V}px`)}else if(m.value.type==="flow"){if(r.width){const w=K(r.width);y.width=w}else{const w=ge(m.value.column,r.span);w>0&&(y.width=`${w}%`)}if(r.height){const w=K(r.height);y.height=w}const b=ge(m.value.column,r.offset);b>0&&(y["margin-left"]=`${b}%`);const V=m.value.gutter/2;if(V>0){const w=a?Pt(a,!0):null;if(w){let x=Z(r.offset)+Z(r.span);(x===-1||x>m.value.column)&&(x=m.value.column);const B=Math.ceil((w.index+1)/m.value.column),v=Math.ceil((w.index+x)/m.value.column);if(B===v){const j=(w.index+1)%m.value.column,p=(w.index+x)%m.value.column,N=j===1?0:V,C=p===0?0:V;y["padding-left"]=`${N}px`,y["padding-right"]=`${C}px`}else{const j=x%m.value.column,p=0,N=j===0?0:V;y["padding-left"]=`${p}px`,y["padding-right"]=`${N}px`}w.index+=x}else y["padding-left"]=`${V}px`,y["padding-right"]=`${V}px`}}}else{if(r.width){const m=K(r.width);y.width=m}if(r.height){const m=K(r.height);y.height=m}}return y}),S=l.computed(()=>r.type==="flex"?{[`${xe("",r.type)}`]:!0,[`${xe("justify",r.justify)}`]:!0,[`${xe("align",r.align)}`]:!0,[`${xe("flex",r.flexWrap)}`]:!0,[`${c}__gutter`]:!0}:r.type==="flow"?{[`${xe("",r.type)}`]:!0,[`${xe("justify",r.justify)}`]:!0,[`${xe("align",r.align)}`]:!0}:{[`${xe("",r.type)}`]:!0,[`${c}__gutter`]:!0}),A=l.toRef(r,"title"),T=l.toRef(r,"gutter"),E=l.toRef(r,"column"),R=l.computed(()=>i?!0:se(r.isWrap)),$=l.ref([]),D=y=>{$.value.push(y)},k=l.ref(-1);if(Kn(a,k.value,E.value,T.value,!0,r.minItemWidth),r.autoLayout){l.watch([k,E,T],([m,b,V])=>{o.order.index=0,Kn(a,m,b,V,!1,r.minItemWidth)});let y=null;l.onMounted(()=>{if(Ye&&$.value&&$.value.length>0){const m=$.value[0];k.value=mt(m).width,window.ResizeObserver&&(y=new window.ResizeObserver(()=>{const b=mt(m).width;b>0&&b!==k.value&&(k.value=b)}),y.observe(m))}}),l.onUnmounted(()=>{y?.disconnect()})}const I=(y,m,b,V)=>{const w={...S.value};return m===0&&(w[`${c}__first`]=!0),b>=V-1&&(w[`${c}__last`]=!0),l.h("div",{ref:D,key:`${m}`,class:w},y)},M=y=>{if(typeof y.type=="symbol"){if(Array.isArray(y.children)){const m=[...y.children];for(let b=m.length-1;b>=0;b--){const V=m[b],w=M(V);w===null?m.splice(b,1):w.length>0&&Reflect.apply([].splice,m,[b,1,...w])}return m}return null}return[]};return()=>{o.order.index=0;const y=[];let m=0;if(n.slots.title){const x={key:`${m++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},B=l.h("div",x,[n.slots.title()]);y.push(B)}else if(A.value){const x={key:`${m++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},B=[];if(r.showMark){const p={class:{[`${c}__title-mark`]:!0}};r.markColor&&(p.style={background:r.markColor});const N=l.h("div",p);B.push(N)}const v=l.h("div",{class:{[`${c}__title-text`]:!0}},[A.value]);B.push(v);const j=l.h("div",x,B);y.push(j)}const b=n.slots.default?n.slots.default():[];let V=[],w=0;if(r.type==="flex"){for(let x=0;x<b.length;x++){const B=M(b[x]);if(B===null)continue;B.length>0&&Reflect.apply([].splice,b,[x,1,...B]);const v=b[x];if(nl(v)==="fragment"){let O=rl(v);O>o.layout.value.column?O=o.layout.value.column:O<=0&&(O=1);const F=w+O;if(F>o.layout.value.column){const L=I([...V],m++,x-1,b.length);y.push(L),w=O,V=[v]}else V.push(v),w=F;continue}const p=el(v),N=tl(v);if(p==="stretch"){if(w<o.layout.value.column){V.push(v);const O=I([...V],m++,x,b.length);y.push(O)}else{const O=I([...V],m++,x-1,b.length);y.push(O);const F=I([v],m++,x,b.length);y.push(F)}w=0,V=[];continue}let C=Z(p);if(C===-1){if(V.length>0){const F=I([...V],m++,x-1,b.length);y.push(F)}const O=I([v],m++,x,b.length);y.push(O),w=0,V=[];continue}C>o.layout.value.column?C=o.layout.value.column:C<=0&&(C=1);const q=w+C+N;if(q>o.layout.value.column){const O=I([...V],m++,x-1,b.length);y.push(O),w=C+N,V=[v]}else V.push(v),w=q}if(V.length>0){const x=I([...V],m++,b.length,b.length);y.push(x)}}else if(r.type==="flow"){const x=I(b,m++,0,b.length);y.push(x)}else for(let x=0;x<b.length;x++){const B=b[x],v=I([B],m++,x,b.length);y.push(v)}return R.value?l.h("div",{class:{[`${c}`]:!0},style:h.value},[y]):y}}}}const{componentName:ll,create:ol,scope:zi}=Y("group"),zn=ol(al(ll)),Gn={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:il,create:sl}=Y("price"),ul=sl({props:{...Gn},setup(e){const t=l.computed(()=>({[il]:!0})),r=l.computed(()=>e.needSymbol?e.symbol:""),n=l.computed(()=>We(e.price)==0?"":Vt(e.price,e.decimalLength,!0,Z(e.digits),e.separator)),a=l.computed(()=>{let i=n.value;if(i.length==0)return"";let u=i.indexOf(".");return i.substring(0,u)}),o=l.computed(()=>{let i=n.value;if(i.length==0)return"";let u=i.indexOf(".");return i.substring(u+1)});return{classes:t,showSymbol:r,intText:a,decimalText:o}}}),cl=["innerHTML"],fl=["innerHTML"];function dl(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("view",{class:l.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(l.openBlock(),l.createElementBlock("view",{key:0,class:l.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,cl)):l.createCommentVNode("",!0),l.createElementVNode("view",{class:l.normalizeClass(`fox-price--${e.size}`)},l.toDisplayString(e.intText),3),e.decimalText.length!=0?(l.openBlock(),l.createElementBlock("view",{key:1,class:l.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):l.createCommentVNode("",!0),l.createElementVNode("view",{class:l.normalizeClass(`fox-price--decimal-${e.size}`)},l.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(l.openBlock(),l.createElementBlock("view",{key:2,class:l.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,fl)):l.createCommentVNode("",!0)],2)}const yt=ke(ul,[["render",dl]]),{componentName:_t,create:hl}=Y("hint-text"),gl=hl({components:{[yt.name]:yt},props:{...Gn,type:{type:String,default:"number"},id:{type:String},startPoint:{type:Object},width:{type:Number},height:{type:Number,default:40},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,t){const a=l.computed(()=>({[_t]:!0})),o=l.computed(()=>({left:K(e.startPoint.x),top:K(e.startPoint.y-e.height-10-4),height:K(e.height),width:K(e.width)})),i=l.computed(()=>({[`${_t}__content`]:!0})),u=l.computed(()=>({})),s=l.computed(()=>({[`${_t}__arrow`]:!0})),f=l.computed(()=>({top:K(e.height)}));return{classes:a,styles:o,textClasses:i,textStyles:u,arrowClasses:s,arrowStyles:f}}}),ml={key:1,class:"text"};function yl(e,t,r,n,a,o){const i=l.resolveComponent("fox-price");return l.openBlock(),l.createBlock(l.Transition,{name:"hint-text-fade"},{default:l.withCtx(()=>[l.withDirectives(l.createElementVNode("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.createElementVNode("div",{class:l.normalizeClass(e.textClasses),style:l.normalizeStyle(e.textStyles)},[e.type=="number"?(l.openBlock(),l.createBlock(i,{key:0,price:e.message,position:"before"},null,8,["price"])):(l.openBlock(),l.createElementBlock("span",ml,l.toDisplayString(e.message),1))],6),l.createElementVNode("div",{class:l.normalizeClass(e.arrowClasses),style:l.normalizeStyle(e.arrowStyles)},null,6)],6),[[l.vShow,e.visible]])]),_:1})}const pt=ke(gl,[["render",yl]]);class Yn{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 pl(e){return e===window}const bl=/matrix\((.+)\)/,Wn=e=>{const t=l.unref(e);if(!t)return{x:0,y:0};if(pl(t))return{x:0,y:0};let r=0,n=0,a=t;for(;a!==null;)r+=a.offsetLeft,n+=a.offsetTop,a=a.offsetParent;let o=0,i=0,u=0,s=0;for(a=t;a!==document;){i+=a.scrollTop,o+=a.scrollLeft;const{transform:f}=window.getComputedStyle(a);if(f){const c=bl.exec(f);if(c){let S=c[1].split(/\s*,\s*/);S.length==6&&(u+=Number(S[4]),s+=Number(S[5]))}}a=a.parentNode}return r-=o,n-=i,r+=u,n+=s,{x:r,y:n}},Ht={},wl=new Yn,Fe=new Map,Kt=e=>{if(e){const t=document.getElementById(e);Fe.delete(e),t&&document.body.removeChild(t)}else{for(const t of Fe.keys()){const r=document.getElementById(t);r&&document.body.removeChild(r)}Fe.clear()}},Sl=e=>{const t=document.getElementById(e.id);if(t){const r=Fe.get(e.id);r?e={...Ht,...r,...e}:e={...Ht,...e};const n=l.createVNode(pt,e);return l.render(n,t),e.id}},$l=e=>{e.unmount=Kt;let t;if(e.id){if(t=e.id,Fe.has(t))return Sl(e)}else t=`hinttext_${wl.get()}`;e={...Ht,...e},e.id=t,Fe.set(t,e);const r=document.createElement("div");r.id=e.id;const n=l.createVNode(pt,e);return l.render(n,r),document.body.appendChild(r),t},vl=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},bt={show(e,t,r={},n=!0){n&&Kt(),vl(t);const a=Wn(e),o={x:a.x,y:a.y},i=r.width??mt(e).width;return $l({...r,message:t,startPoint:o,width:i})},hide(e){Kt(e)},install(e){e.config.globalProperties.$hintText=bt}},{componentName:Un,create:El}=Y("item"),xl=El({inheritAttrs:!0,props:{...re,...ce},setup(e,t){le({componentName:Un,validate:!1},e.prop??t.attrs.name);const r=ve(),n=ht();gt(!1);const a=l.computed(()=>n&&r?Je(r,!1).value:null),o=Un,i=l.computed(()=>({[o]:!0,[`${o}__gutter`]:a.value&&a.value.type!=="flow",[`${o}__stretch`]:e.span==="stretch",[`${o}__input--border`]:e.hasBorder,"is-error":!!V.value,"is-warn":!!m.value,"is-info":!!M.value})),u=l.computed(()=>{const O={};if(a.value)if(a.value.type==="flex"){if(e.width)O.width=K(e.width);else{const P=ge(a.value.column,e.span);P>0&&(O.width=`${P}%`)}const F=ge(a.value.column,e.offset);F>0&&(O["margin-left"]=`${F}%`);const L=a.value.gutter/2;L>0&&(O["padding-left"]=`${L}px`,O["padding-right"]=`${L}px`)}else if(a.value.type==="flow"){if(e.width)O.width=K(e.width);else{const P=ge(a.value.column,e.span);P>0&&(O.width=`${P}%`)}const F=ge(a.value.column,e.offset);F>0&&(O["margin-left"]=`${F}%`);const L=a.value.gutter/2;if(L>0){const P=r?Pt(r,!1):null;if(P){let _=Z(e.offset)+Z(e.span);(_===-1||_>a.value.column)&&(_=a.value.column);const G=Math.ceil((P.index+1)/a.value.column),z=Math.ceil((P.index+_)/a.value.column);if(G===z){const ie=(P.index+1)%a.value.column,te=(P.index+_)%a.value.column,J=ie===1?0:L,X=te===0?0:L;O["padding-left"]=`${J}px`,O["padding-right"]=`${X}px`}else{const ie=_%a.value.column,te=0,J=ie===0?0:L;O["padding-left"]=`${te}px`,O["padding-right"]=`${J}px`}P.index+=_}else O["padding-left"]=`${L}px`,O["padding-right"]=`${L}px`}}else return e.width&&(O.width=K(e.width)),O;else e.width&&(O.width=K(e.width));return O}),s=l.ref(null),f=l.computed({get:()=>s.value??se(e.isRequired),set:O=>{s.value=O}}),c=l.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),h=qe(l.toRef(e,"labelPosition"),"labelPosition",ft.Near),S=l.computed(()=>h&&h.value==="top"?"top":h&&h.value==="right"?"right":"left"),A=l.computed(()=>({[`${o}__main`]:!0,[`${o}__main--${S.value}`]:!0})),T=l.computed(()=>({label:!0,[`label--${S.value}`]:!0})),E=qe(l.toRef(e,"labelWidth"),"labelWidth",ft.Near),R=l.computed(()=>E&&E.value?{width:K(E.value)}:{}),$=l.computed(()=>({["label--string"]:!0,["label--required"]:f.value})),D=l.computed(()=>({content:!0,[e.contentClass]:!0})),k=l.computed(()=>({...e.contentStyle})),I=l.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});fe({setRequired(O){f.value=O},setErrorTip(O){I.errorTip=O},setErrorIcon(O){I.errorIcon=O},setWarnTip(O){I.warnTip=O},setWarnIcon(O){I.warnIcon=O},setInfoTip(O){I.infoTip=O},setInfoIcon(O){I.infoIcon=O}});const M=l.computed(()=>e.infoTip||I.infoTip),y=l.computed(()=>e.infoIcon||I.infoIcon),m=l.computed(()=>e.warnTip||I.warnTip),b=l.computed(()=>e.warnIcon||I.warnIcon),V=l.computed(()=>e.errorTip||I.errorTip),w=l.computed(()=>e.errorIcon||I.errorIcon),x=l.computed(()=>V.value?"error":m.value?"warn":M.value?"info":""),B=l.computed(()=>x.value.length>0),v=l.computed(()=>x.value==="error"?V.value:x.value==="warn"?m.value:x.value==="info"?M.value:""),j=l.computed(()=>x.value==="error"?w.value:x.value==="warn"?b.value:x.value==="info"?y.value:null),p=l.computed(()=>{let O={[`${o}__tip`]:!0,[`${o}__tip--${x.value}`]:!0};return x.value==="error"&&e.errorClass?O[`${e.errorClass}`]=!0:x.value==="warn"&&e.warnClass?O[`${e.warnClass}`]=!0:x.value==="info"&&e.infoClass&&(O[`${e.infoClass}`]=!0),O}),N=l.computed(()=>{let O={};return h&&h.value==="top"?O["padding-left"]="0px":E&&E.value&&(O["padding-left"]=K(E.value)),O}),C=l.ref();let q="";return l.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([O,F,L,P])=>{C.value&&(O&&!ee(F)?q?bt.show(C.value,F,{...P,id:q,type:L}):q=bt.show(C.value,F,{...P,type:L}):bt.hide(q))}),{classes:i,styles:u,mainClasses:A,hasLabel:c,labelClasses:T,labelStyles:R,labelStringClasses:$,contentClasses:D,contentStyles:k,contentRef:C,hasTip:B,mTip:v,mIcon:j,tipClasses:p,tipStyles:N}}}),Cl={key:0,class:"fox-item__tip--icon"},Ol={class:"fox-item__tip--text"};function Tl(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.createElementVNode("div",{class:l.normalizeClass(e.mainClasses)},[e.hasLabel?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(e.labelClasses),style:l.normalizeStyle(e.labelStyles)},[l.createElementVNode("div",{class:l.normalizeClass(e.labelStringClasses)},[l.renderSlot(e.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(e.label),1)])],2)],6)):l.createCommentVNode("",!0),l.createElementVNode("div",{ref:"contentRef",class:l.normalizeClass(e.contentClasses),style:l.normalizeStyle(e.contentStyles)},[l.renderSlot(e.$slots,"prepend"),l.renderSlot(e.$slots,"default"),l.renderSlot(e.$slots,"append")],6)],2),l.createVNode(l.Transition,{name:"fox-item__animate"},{default:l.withCtx(()=>[e.hasTip?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(e.tipClasses),style:l.normalizeStyle(e.tipStyles)},[e.mIcon?(l.openBlock(),l.createElementBlock("div",Cl,l.toDisplayString(e.mIcon),1)):l.createCommentVNode("",!0),l.createElementVNode("div",Ol,l.toDisplayString(e.mTip),1)],6)):l.createCommentVNode("",!0)]),_:1}),l.renderSlot(e.$slots,"hide")],6)}const oe=ke(xl,[["render",Tl]]);function Vl(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 a=ve(),o=ht();gt(!1);const i=l.computed(()=>o&&a?Je(a,!1).value:null),u=e,s=l.computed(()=>({[u]:!0,[`${u}__gutter`]:i.value&&i.value.type!=="flow",[`${u}__stretch`]:r.span==="stretch"})),f=l.computed(()=>{const c={};if(i.value)if(i.value.type==="flex"){if(r.width)c.width=K(r.width);else{const A=ge(i.value.column,r.span);A>0&&(c.width=`${A}%`)}const h=ge(i.value.column,r.offset);h>0&&(c["margin-left"]=`${h}%`);const S=i.value.gutter/2;S>0&&(c["padding-left"]=`${S}px`,c["padding-right"]=`${S}px`)}else if(i.value.type==="flow"){if(r.width)c.width=K(r.width);else{const A=ge(i.value.column,r.span);A>0&&(c.width=`${A}%`)}const h=ge(i.value.column,r.offset);h>0&&(c["margin-left"]=`${h}%`);const S=i.value.gutter/2;if(S>0){const A=a?Pt(a,!1):null;if(A){let T=Z(r.offset)+Z(r.span);(T===-1||T>i.value.column)&&(T=i.value.column);const E=Math.ceil((A.index+1)/i.value.column),R=Math.ceil((A.index+T)/i.value.column);if(E===R){const $=(A.index+1)%i.value.column,D=(A.index+T)%i.value.column,k=$===1?0:S,I=D===0?0:S;c["padding-left"]=`${k}px`,c["padding-right"]=`${I}px`}else{const $=T%i.value.column,D=0,k=$===0?0:S;c["padding-left"]=`${D}px`,c["padding-right"]=`${k}px`}A.index+=T}else c["padding-left"]=`${S}px`,c["padding-right"]=`${S}px`}}else return r.width&&(c.width=K(r.width)),c;else r.width&&(c.width=K(r.width));return c});return()=>{const c={class:s.value,style:f.value};return n.slots&&typeof n.slots.default=="function"?l.h("div",c,n.slots.default()):l.h("div",c)}}}}const{componentName:Il,create:Nl,scope:Gi}=Y("slot-item"),Xn=Nl(Vl(Il));function Al(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 a=e,o=l.computed(()=>({[a]:!0,[`${a}__stretch`]:r.span==="stretch",[`${a}__${r.align}`]:!0})),i=ve(),u=ht();gt(!1);const s=l.computed(()=>{const c={};if(u&&i){const h=Je(i,!1);if(h.value.type!=="flex")return r.width&&(c.width=K(r.width)),c;if(r.width)c.width=K(r.width);else{const T=ge(h.value.column,r.span);T>0&&(c.width=`${T}%`)}const S=ge(h.value.column,r.offset);S>0&&(c["margin-left"]=`${S}%`);const A=h.value.gutter/2;A>0&&(c["padding-left"]=`${A}px`,c["padding-right"]=`${A}px`)}else r.width&&(c.width=K(r.width));return c}),f=l.computed(()=>({[`${a}__content`]:!0}));return()=>{const c=[];if(n.slots.default){const T=n.slots.default();if(r.divide)for(let E=0;E<T.length;E++){if(E>0){const R=l.h("div",{class:{[`${a}__divide`]:!0}});c.push(R)}c.push(T[E])}else Reflect.apply([].push,c,T)}const h={class:f.value},S=l.h("div",h,c),A={class:o.value,style:s.value};return l.h("div",A,[S])}}}}const{componentName:Rl,create:kl,scope:Yi}=Y("row-item"),Zn=kl(Al(Rl)),Jn={modelValue:{type:[String,Boolean,Number,Object],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function jl(e,t,r){return{props:{...re,...ce,...Jn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),f=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),S=e,A=l.computed(()=>({[S]:!0})),T=m=>{h.value=m,o("update:modelValue",m),o("input",m)},E=m=>{o("change",m)};let R=W(n,"hintText"),$=l.ref(!1);const D=m=>{let V=m.target.value;s.value=!0,ee(R.value)||($.value=!0),o("focus",V,m)},k=m=>{setTimeout(()=>{$.value&&($.value=!1),s.value=!1},0);let V=m.target.value;n.maxLength&&V.length>Number(n.maxLength)&&(V=V.slice(0,Number(n.maxLength))),o("blur",V,m)},I=()=>{o("clear","")},M=l.computed(()=>We(n.unit)>0),y=l.ref();return fe({focus:()=>{y?.value.focus()},blur:()=>{y?.value.blur()},select:()=>{y?.value.select()}}),()=>{const b={...a.attrs,ref:y,class:A.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:f.value,readonly:c.value,modelValue:h.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:I,onChange:E,onInput:T,onFocus:D,onBlur:k},V={};a.slots.prepend&&(V.prepend=a.slots.prepend),a.slots.append&&(V.append=a.slots.append),a.slots.prefix&&(V.prefix=a.slots.prefix),a.slots.suffix?V.suffix=a.slots.suffix:M.value&&(V.suffix=()=>[n.unit]);const w=[],x=l.h(g.ElInput,b,V);w.push(x);const B={default:()=>w};if(a.slots.default){const N=a.slots.default();B.label=()=>N}const j={...ue(n,Jn),hintText:R.value,hintVisible:$.value,prop:`${n.prop}_item`};return l.h(r,j,B)}}}}const{componentName:Ml,create:Dl,scope:ql}=Y("input-item"),Qn=Dl(jl(Ml,ql,oe));function je(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Le(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function er(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}let Bl=class{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Re(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(Se(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}};function Fl(){const e=l.getCurrentInstance();return new Bl(e.proxy)}function tr(e,t,r){const n=je(e,t),a=je(e,r);if(n!==a)return!1;const o=Le(e,t),i=Le(e,r);return o===i}function nr(e,t,r,n){if(n.length===0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];return t.forEach(o=>{for(let i of n){const u=er(e,i);if(Array.isArray(u)&&u.length>0){const s=nr(e,o,r,u)??[];Reflect.apply([].push,a,s)}else{let s=!1;if(r==="text")s=je(e,i)===o;else if(r==="item")s=tr(e,i,o);else{let f=Le(e,i);f==null&&(f=je(e,i)),s=f===o}if(s){a.push(i);break}}}}),a}function Ll(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},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},optionType:{type:String,required:!1,default:"text"},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},placeholder:{type:[String],required:!1}};function Pl(e,t,r){return{props:{...re,...ce,...rr},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(null),f=l.ref([]),c=(p,N,C,q=!0)=>{const O=nr(n,p,N,C);if(O===null){if(f.value===null||f.value.length===0)return;s.value=null,f.value=[],q&&(o("update:modelValue",null),o("change",null));return}let F=!0;if(O.length!==f.value.length)F=!1;else for(let L=0;L<O.length;L++){const P=O[L],_=f.value[L];if(!tr(n,P,_)){F=!1;break}}if(!F){f.value=O;let L=[],P=[];O.forEach(G=>{L.push(Le(n,G)),n.valueType==="text"?P.push(je(n,G)):n.valueType==="item"?P.push(G):P.push(Le(n,G))});let _;n.multiple?(s.value=L,_=l.toRaw(P)):(s.value=L[0]??"",_=l.toRaw(P[0]??"")),q&&(o("update:modelValue",_),o("change",_))}},h=l.ref([]),S=Fl();l.watch([()=>n.source,()=>n.params],async([p,N])=>{if(p){const C=await S.load("select",p,N);if(C.length>0)if(typeof C[0]=="string"){let F=C.map(L=>Ll(L));h.value=F}else h.value=C}},{immediate:!0}),l.watch([()=>h.value,()=>n.modelValue],([p,N])=>{c(N,n.valueType,p,!1)});let A=null,T=l.ref(!1);typeof n.remoteMethod=="function"&&(A=async p=>{if(p!=null){T.value=!0;try{const N=await n.remoteMethod(p);h.value=N}catch(N){console.error(N)}T.value=!1}});const E=l.ref(!1),R=he(l.computed(()=>n.disabled)),$=de(l.computed(()=>n.readonly)),D=e,k=l.computed(()=>({[D]:!0})),I=p=>{n.allowCreate?(o("update:modelValue",p),o("change",p),s.value=p):c(p,"value",h.value,!0)};let M=W(n,"hintText"),y=l.ref(!1);const m=p=>{let C=p.target.value;E.value=!0,ee(M.value)||(y.value=!0),o("focus",C,p)},b=p=>{setTimeout(()=>{y.value&&(y.value=!1),E.value=!1},0);let C=p.target.value;n.maxLength&&C.length>Number(n.maxLength)&&(C=C.slice(0,Number(n.maxLength))),w.value?setTimeout(()=>{o("blur",C,p)},50):o("blur",C,p)},V=()=>{o("clear","")},w=l.ref(!1),x=p=>{w.value=p,o("visible-change",p)},B=p=>{o("remove-tag",p)},v=(p,N)=>{const C=[];return p.forEach((q,O)=>{const F=er(n,q);if(Array.isArray(F)&&F.length>0){const L=v(F,N),P=je(n,q),G={key:`${P}_${O}`,label:P};C.push(l.h(g.ElOptionGroup,G,{default:()=>L}))}else{const L=Le(n,q),P=je(n,q),_=se(q.disabled),z={key:`${L}_${O}`,label:P,disabled:_,value:L};if(typeof N=="function")C.push(l.h(g.ElOption,z,{default:()=>N(q)}));else if(n.optionType==="item"){const ie={class:{"fox-select-item__option-left":!0}},te=l.h("span",ie,[L]),J={class:{"fox-select-item__option-right":!0}},X=l.h("span",J,[P]),me=l.h("div",{class:{"fox-select-item__option":!0}},[te,X]);C.push(l.h(g.ElOption,z,{default:()=>me}))}else n.optionType==="value"?C.push(l.h(g.ElOption,z,{default:()=>[L]})):C.push(l.h(g.ElOption,z))}}),C},j=l.ref();return fe({focus:()=>{j?.value.focus()},blur:()=>{j?.value.blur()}}),()=>{const N={...a.attrs,ref:j,class:k.value,clearable:n.clearable,multiple:n.multiple,placeholder:u.placeholder.value,disabled:R.value||$.value,modelValue:s.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:V,onChange:I,onFocus:m,onBlur:b,onVisibleChange:x,onRemoveTag:B};typeof A=="function"&&(N["remote-method"]=A,N.loading=T.value);const C={};a.slots.prefix&&(C.prefix=a.slots.prefix),a.slots.empty&&(C.empty=a.slots.empty),C.default=()=>v(h.value,a.slots.option);const q=[],O=l.h(g.ElSelect,N,C);q.push(O);const F={default:()=>q};if(a.slots.default){const G=a.slots.default();F.label=()=>G}const P={...ue(n,rr),hintText:M.value,hintVisible:y.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,P,F)}}}}const{componentName:_l,create:Hl,scope:Kl}=Y("select-item"),ar=Hl(Pl(_l,Kl,oe)),lr={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function zl(e,t,r){return{props:{...re,...ce,...lr},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),f=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),S=e,A=l.computed(()=>({[S]:!0})),T=b=>{h.value=b,o("update:modelValue",b),o("change",b)};let E=W(n,"hintText"),R=l.ref(!1);const $=b=>{let w=b.target.value;s.value=!0,ee(E.value)||(R.value=!0),o("focus",w,b)},D=b=>{setTimeout(()=>{R.value&&(R.value=!1),s.value=!1},0);let w=b.target.value;n.maxLength&&w.length>Number(n.maxLength)&&(w=w.slice(0,Number(n.maxLength))),o("blur",w,b)},k=()=>{o("clear","")},I=b=>{o("calendar-change",b)},M=(b,V,w)=>{o("panel-change",b,V,w)},y=b=>{o("visible-change",b)},m=l.ref();return fe({focus:()=>{m?.value.focus()},blur:()=>{m?.value.blur()},handleOpen:()=>{m?.value.handleOpen()},handleClose:()=>{m?.value.handleClose()}}),()=>{const V={...a.attrs,ref:m,class:A.value,placeholder:u.placeholder.value,disabled:f.value,readonly:c.value,modelValue:h.value,["onUpdate:modelValue"]:T,onClear:k,onFocus:$,onBlur:D,onCalendarChange:I,onPanelChange:M,onVisibleChange:y},w={};a.slots["range-separator"]&&(w["range-separator"]=a.slots["range-separator"]),a.slots.cell&&(w.default=a.slots.cell);const x=[],B=l.h(g.ElDatePicker,V,w);x.push(B);const v={default:()=>x};if(a.slots.default){const C=a.slots.default();v.label=()=>C}const p={...ue(n,lr),hintText:E.value,hintVisible:R.value,prop:`${n.prop}_item`};return l.h(r,p,v)}}}}const{componentName:Gl,create:Yl,scope:Wl}=Y("date-item"),or=Yl(zl(Gl,Wl,oe)),ir={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Ul(e,t,r){return{props:{...re,...ce,...ir},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),f=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),S=e,A=l.computed(()=>({[S]:!0})),T=y=>{h.value=y,o("update:modelValue",y),o("change",y)};let E=W(n,"hintText"),R=l.ref(!1);const $=y=>{let b=y.target.value;s.value=!0,ee(E.value)||(R.value=!0),o("focus",b,y)},D=y=>{setTimeout(()=>{R.value&&(R.value=!1),s.value=!1},0);let b=y.target.value;n.maxLength&&b.length>Number(n.maxLength)&&(b=b.slice(0,Number(n.maxLength))),o("blur",b,y)},k=()=>{o("clear","")},I=y=>{o("visible-change",y)},M=l.ref();return fe({focus:()=>{M?.value.focus()},blur:()=>{M?.value.blur()},handleOpen:()=>{M?.value.handleOpen()},handleClose:()=>{M?.value.handleClose()}}),()=>{const m={...a.attrs,ref:M,class:A.value,placeholder:u.placeholder.value,disabled:f.value,readonly:c.value,modelValue:h.value,["onUpdate:modelValue"]:T,onClear:k,onFocus:$,onBlur:D,onVisibleChange:I},b={},V=[],w=l.h(g.ElTimePicker,m,b);V.push(w);const x={default:()=>V};if(a.slots.default){const p=a.slots.default();x.label=()=>p}const v={...ue(n,ir),hintText:E.value,hintVisible:R.value,prop:`${n.prop}_item`};return l.h(r,v,x)}}}}const{componentName:Xl,create:Zl,scope:Jl}=Y("time-item"),sr=Zl(Ul(Xl,Jl,oe)),ur={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Ql(e,t,r){return{props:{...re,...ce,...ur},emits:["change","update:modelValue","blur","focus","clear"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),f=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),S=e,A=l.computed(()=>({[S]:!0})),T=M=>{h.value=M,o("update:modelValue",M),o("change",M)};let E=W(n,"hintText"),R=l.ref(!1);const $=M=>{let m=M.target.value;s.value=!0,ee(E.value)||(R.value=!0),o("focus",m,M)},D=M=>{setTimeout(()=>{R.value&&(R.value=!1),s.value=!1},0);let m=M.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),o("blur",m,M)},k=()=>{o("clear","")},I=l.ref();return fe({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()},handleOpen:()=>{I?.value.handleOpen()},handleClose:()=>{I?.value.handleClose()}}),()=>{const y={...a.attrs,ref:I,class:A.value,placeholder:u.placeholder.value,disabled:f.value,readonly:c.value,modelValue:h.value,["onUpdate:modelValue"]:T,onClear:k,onFocus:$,onBlur:D},m={},b=[],V=l.h(g.ElTimeSelect,y,m);b.push(V);const w={default:()=>b};if(a.slots.default){const j=a.slots.default();w.label=()=>j}const B={...ue(n,ur),hintText:E.value,hintVisible:R.value,prop:`${n.prop}_item`};return l.h(r,B,w)}}}}const{componentName:eo,create:to,scope:no}=Y("time-select-item"),cr=to(Ql(eo,no,oe));function fr(e,t=0){let r=`${e}`,n=r.indexOf(".");if(n==-1)return r;let a=n;for(let o=r.length-1;o>=n;o--)if(r.charAt(o)!="0"){a=o;break}return a-n<t?a=n+t+1:a!=n&&(a+=1),a>r.length?r=r.padEnd(a,"0"):r=r.substring(0,a),r}function dr(e,t,r=20){if(typeof t=="string"&&(t=Z(t)),t==1||t==-1)return`${e}`;if(t==0)return"0";if(t>0){let n=dn(`${e}`,`${t}`);return fr(n)}else{let n=Ot(`${e}`,hn(`${t}`),20);return fr(n)}}function ro(e,t=-1,r=!1,n=3,a=","){return Vt(e,t,r,n,a)}function hr(e,t,r,n,a=!0){if(e=="")return"";if(e=gn(e),t=Z(t),t==1)return e;if(n)e=dr(e,t),r&&(e=="0"&&a?e=`${e}.`.padEnd(Z(r)+2,"0"):e=Ot(e,1,Z(r)));else{let o=-1*t;e=dr(e,o)}return e}function gr(e,t){let r={maxValid:!0,minValid:!0,message:""};if(t.min!==void 0){let n=se(t.minInclude),a=Tt(e,t.min);if(n&&a==-1||!n&&(a==0||a==-1)){let o="请输入不小于 {0} 的数值";r.message=o.replace("{0}",t.min),r.minValid=!1}}if(t.max!=null){let n=se(t.maxInclude),a=Tt(e,t.max);(n&&a==1||!n&&(a==0||a==1))&&(r.maxValid=!1)}return r}const mr={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 ao(e,t,r){return{props:{...re,...ce,...mr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),i=l.ref(!1),u=he(l.computed(()=>n.disabled)),s=de(l.computed(()=>n.readonly)),f=W(n,"modelValue"),c=l.ref("");l.watch([()=>f.value,()=>n.rates,()=>n.precision],([v,j,p])=>{if(ee(v)){c.value="";return}const N=hr(v,j,p,!1);c.value!==N&&(c.value=N)},{immediate:!0});const h=l.computed(()=>{let v="";return i.value&&(v=c.value),v}),{t:S}=ye.useFoxI18n(t),A=l.computed(()=>{let v=n.placeholder??"";return!i.value&&!ee(c.value)?v=ro(c.value,n.decimalLength,n.autoPadding,n.digits,n.separator):v=S(["placeholder",v]),v}),T=e,E=l.computed(()=>({[T]:!0,[`${T}__disabled`]:u.value,[`${T}__placeholder`]:c.value.length>0})),R=qe(l.computed(()=>n.textAlign),"textAlign");l.computed(()=>i.value?{textAlign:"left"}:{textAlign:R.value??"right"});const $=l.ref(""),D=l.computed(()=>{let v=$.value;return ee(v)&&(v=n.errorTip??""),v}),k=l.ref(""),I=l.ref(!1),M=(v,j)=>{if(v=`${v}`,ee(v)){c.value="",f.value="",j.forEach(p=>{o(p,"")}),se(n.showTip)&&I.value&&(I.value=!1);return}if(v.length>=2){let p=v;if(p.charAt(0)=="-"&&(p=p.substring(1)),p.length>=2&&p.charAt(0)=="0"&&p.charAt(1)!="."){l.triggerRef(c);return}}if(v!="-"){if(!$n(v)){l.triggerRef(c);return}if(n.integerLength!=-1&&vn(v)>Number(n.integerLength)){l.triggerRef(c);return}if(n.decimalLength&&n.decimalLength!=-1&&En(v)>Number(n.decimalLength)){l.triggerRef(c);return}let p=gr(v,n);if(p.maxValid===!1){$.value=p.message,l.triggerRef(c);return}}else if(n.min!=null&&Z(n.min)>=0){l.triggerRef(c);return}k.value=v,se(n.showTip)&&(I.value=v.length>0),c.value=v,f.value=hr(v,n.rates,n.precision,!0),j.forEach(p=>{o(p,f.value)})},y=v=>{M(v,["update:modelValue","input"])},m=v=>{M(v,["update:modelValue","change"])},b=v=>{if(i.value=!0,se(n.showTip)){let j=c.value;ee(j)&&(j=n.hintText),ee(j)||(k.value=j,I.value=!0)}$.value="",o("focus",f.value,v)},V=v=>{if(setTimeout(()=>{i.value=!1,se(n.showTip)&&I.value===!0&&(I.value=!1)},0),!ee(c.value)){let j=gr(c.value,n);if(j.minValid===!1||j.maxValid){$.value=j.message;return}}o("update:modelValue",f.value,v),o("blur",f.value,v)},w=()=>{o("clear","")},x=l.computed(()=>We(n.unit)>0),B=l.ref();return fe({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},select:()=>{B?.value.select()}}),()=>{const j={...a.attrs,ref:B,class:E.value,type:"digit",maxlength:n.maxLength,placeholder:A.value,clearable:n.clearable,disabled:u.value,readonly:s.value,modelValue:h.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:w,onInput:y,onChange:m,onFocus:b,onBlur:V},p={};a.slots.prepend&&(p.prepend=a.slots.prepend),a.slots.append&&(p.append=a.slots.append),a.slots.prefix&&(p.prefix=a.slots.prefix),a.slots.suffix?p.suffix=a.slots.suffix:x.value&&(p.suffix=()=>[n.unit]);const N=[],C=l.h(g.ElInput,j,p);N.push(C);const q={default:()=>N};if(a.slots.default){const P=a.slots.default();q.label=()=>P}const F={...ue(n,mr),errorTip:D.value,hintText:k.value,hintVisible:I.value,hintType:"number",prop:`${n.prop}_item`};return l.h(r,F,q)}}}}const{componentName:lo,create:oo,scope:io}=Y("money-item"),yr=oo(ao(lo,io,oe)),pr={modelValue:{type:[String,Number],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function so(e,t,r){return{props:{...re,...ce,...pr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),f=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),S=e,A=l.computed(()=>({[S]:!0,[`${S}__append`]:y.value})),T=l.computed(()=>({[`${S}__unit`]:!0})),E=b=>{h.value=b,o("update:modelValue",b),o("input",b)},R=b=>{o("change",b)};let $=W(n,"hintText"),D=l.ref(!1);const k=b=>{let w=b.target.value;s.value=!0,ee($.value)||(D.value=!0),o("focus",w,b)},I=b=>{setTimeout(()=>{D.value&&(D.value=!1),s.value=!1},0);let w=b.target.value;n.maxLength&&w.length>Number(n.maxLength)&&(w=w.slice(0,Number(n.maxLength))),o("blur",w,b)},M=()=>{o("clear","")},y=l.computed(()=>We(n.unit)>0),m=l.ref();return fe({focus:()=>{m?.value.focus()},blur:()=>{m?.value.blur()}}),()=>{const V={...a.attrs,ref:m,class:A.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:f.value,readonly:c.value,modelValue:h.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:M,onChange:R,onInput:E,onFocus:k,onBlur:I},w={},x=[],B=l.h(g.ElInputNumber,V,w);x.push(B);const v={default:()=>x};if(a.slots.default){const C=a.slots.default();v.label=()=>C}const p={...ue(n,pr),hintText:$.value,hintVisible:D.value,prop:`${n.prop}_item`};if(a.slots.append)v.append=a.slots.append;else if(y.value){const C={class:T.value},q=l.h("div",C,[n.unit]);v.append=()=>q}return l.h(r,p,v)}}}}const{componentName:uo,create:co,scope:fo}=Y("input-number-item"),br=co(so(uo,fo,oe));function Pe(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Me(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function ho(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}let go=class{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Re(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(Se(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}};function mo(){const e=l.getCurrentInstance();return new go(e.proxy)}function zt(e,t,r){const n=Pe(e,t),a=Pe(e,r);if(n!==a)return!1;const o=Me(e,t),i=Me(e,r);return o===i}function wr(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];let o=n;for(let i=0;Array.isArray(o)&&i<t.length;i++){const u=t[i];if(Array.isArray(u)){const s=wr(e,u,r,n);a.push(s)}else{let s=!1;for(let f of o){if(r==="text")s=Pe(e,f)===u;else if(r==="item")s=zt(e,f,u);else{let c=Me(e,f);c==null&&(c=Pe(e,f)),s=c===u}if(s){a.push(f),o=ho(e,f);break}}if(!s)break}}return a}function yo(e){return{text:e,value:e}}const Sr={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 po(e,t,r){return{props:{...re,...ce,...Sr},emits:["change","update:modelValue","blur","focus","clear","visible-change","expand-change","remove-tag"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(null),f=l.ref([]),c=(N,C,q,O=!0)=>{if(n.props&&n.props.lazy===!0){if(s.value===N)return;s.value=N;const P=l.toRaw(N);O&&(o("update:modelValue",P),o("change",P))}const F=wr(n,N,C,q);if(F===null){if(f.value.length===0||f.value===null)return;f.value=[],s.value=null,O&&(o("update:modelValue",null),o("change",null));return}let L=!0;if(F.length!==f.value.length)L=!1;else for(let P=0;P<F.length;P++){const _=F[P],G=f.value[P];if(Array.isArray(_)){if(!Array.isArray(G)||_.length!==G.length)L=!1;else for(let z=0;z<_.length;z++)if(!zt(n,_[z],G[z])){L=!1;break}}else zt(n,_,G)||(L=!1);if(!L)break}if(!L){f.value=F;let P=[],_=[];F.forEach(z=>{if(Array.isArray(z)){let ie=[],te=[];for(let J of z)ie.push(Me(n,J)),n.valueType==="text"?te.push(Pe(n,J)):n.valueType==="item"?te.push(J):te.push(Me(n,J));P.push(ie),_.push(te)}else P.push(Me(n,z)),n.valueType==="text"?_.push(Pe(n,z)):n.valueType==="item"?_.push(z):_.push(Me(n,z))}),s.value=P;const G=l.toRaw(_);O&&(o("update:modelValue",G),o("change",G))}},h=l.ref([]),S=mo();l.watch([()=>n.source,()=>n.params],async([N,C])=>{if(N){const q=await S.load("cascader",N,C);if(q.length>0)if(typeof q[0]=="string"){let L=q.map(P=>yo(P));h.value=L}else h.value=q}},{immediate:!0}),l.watch([()=>h.value,()=>n.modelValue],([N,C])=>{c(C,n.valueType,N,!1)});let A=null,T=l.ref(!1);typeof n.remoteMethod=="function"&&(A=async N=>{if(N!=null){T.value=!0;try{const C=await n.remoteMethod(N);h.value=C}catch(C){console.error(C)}T.value=!1}});const E=l.ref(!1),R=he(l.computed(()=>n.disabled)),$=de(l.computed(()=>n.readonly)),D=e,k=l.computed(()=>({[D]:!0})),I=l.computed(()=>{let N={label:n.textKey,value:n.valueKey,children:n.childrenKey};return n.multiple===!0&&(N.multiple=!0),n.props&&Object.assign(N,n.props),N}),M=N=>{n.allowCreate?(o("update:modelValue",N),o("change",N),s.value=N):c(N,"value",h.value,!0)};let y=W(n,"hintText"),m=l.ref(!1);const b=N=>{let q=N.target.value;E.value=!0,ee(y.value)||(m.value=!0),o("focus",q,N)},V=N=>{setTimeout(()=>{m.value&&(m.value=!1),E.value=!1},0);let q=N.target.value;n.maxLength&&q.length>Number(n.maxLength)&&(q=q.slice(0,Number(n.maxLength))),x.value?setTimeout(()=>{o("blur",q,N)},50):o("blur",q,N)},w=()=>{o("clear","")},x=l.ref(!1),B=N=>{x.value=N,o("visible-change",N)},v=N=>{o("remove-tag",N)},j=N=>{o("expand-change",N)},p=l.ref();return fe({focus:()=>{p?.value.focus()},blur:()=>{p?.value.blur()},getCheckedNodes:()=>p?.value.getCheckedNodes()}),()=>{const C={...a.attrs,ref:p,class:k.value,props:I.value,clearable:n.clearable,placeholder:u.placeholder.value,disabled:R.value||$.value,options:h.value,modelValue:s.value,onClear:w,onChange:M,onFocus:b,onBlur:V,onVisibleChange:B,onRemoveTag:v,expandChange:j};typeof A=="function"&&(C["remote-method"]=A,C.loading=T.value);const q={};a.slots.option&&(q.default=a.slots.option),a.slots.empty&&(q.empty=a.slots.empty);const O=[],F=l.h(g.ElCascader,C,q);O.push(F);const L={default:()=>O};if(a.slots.default){const z=a.slots.default();L.label=()=>z}const _={...ue(n,Sr),hintText:y.value,hintVisible:m.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,_,L)}}}}const{componentName:bo,create:wo,scope:So}=Y("cascader-item"),$r=wo(po(bo,So,oe)),vr={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function $o(e,t,r){return{props:{...re,...ce,...vr},emits:["change","update:modelValue","blur","focus","clear","input","select"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(!1),f=he(l.computed(()=>n.disabled)),c=de(l.computed(()=>n.readonly)),h=W(n,"modelValue"),S=e,A=l.computed(()=>({[S]:!0})),T=y=>{h.value=y,o("update:modelValue",y),o("input",y)},E=y=>{o("change",y)};let R=W(n,"hintText"),$=l.ref(!1);const D=y=>{let b=y.target.value;s.value=!0,ee(R.value)||($.value=!0),o("focus",b,y)},k=y=>{setTimeout(()=>{$.value&&($.value=!1),s.value=!1},0);let b=y.target.value;n.maxLength&&b.length>Number(n.maxLength)&&(b=b.slice(0,Number(n.maxLength))),o("blur",b,y)},I=()=>{o("clear","")},M=l.ref();return fe({focus:()=>{M?.value.focus()},blur:()=>{M?.value.blur()},select:()=>{M?.value.select()}}),()=>{const m={...a.attrs,ref:M,class:A.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:f.value,readonly:c.value,modelValue:h.value,onClear:I,onChange:E,onInput:T,onFocus:D,onBlur:k},b={};a.slots.prepend&&(b.prepend=a.slots.prepend),a.slots.append&&(b.append=a.slots.append),a.slots.prefix&&(b.prefix=a.slots.prefix),a.slots.suffix&&(b.suffix=a.slots.suffix),a.slots.option&&(b.default=a.slots.option);const V=[],w=l.h(g.ElAutocomplete,m,b);V.push(w);const x={default:()=>V};if(a.slots.default){const p=a.slots.default();x.label=()=>p}const v={...ue(n,vr),hintText:R.value,hintVisible:$.value,prop:`${n.prop}_item`};return l.h(r,v,x)}}}}const{componentName:vo,create:Eo,scope:xo}=Y("autocomplete-item"),Er=Eo($o(vo,xo,oe));function Co(e,t,r,n,a){let o=[];Array.isArray(e)?o=e:o=[e];const i=[],u=t[0];if(Array.isArray(u))for(let s=0;s<t.length&&s<o.length;s++){let f=t[s],c=o[s];const h=f.find(S=>S[n]===c);if(!h)break;i.push(h[r])}else{let s=t;for(let f=0;s&&f<o.length;f++){let c=o[f],h=s.find(S=>S[n]===c);if(!h)break;i.push(h[r]),s=h[a]}}return i}let Oo=class{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Re(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(Se(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}};function To(){const e=l.getCurrentInstance();return new Oo(e.proxy)}const xr={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"},emptyText:{type:[String],required:!1},emptyTag:{type:[String],required:!1,default:"span"},emptyClass:{type:[String],required:!1}};function Vo(e,t){return{props:{...xr},setup(r,{attrs:n}){const a=To(),o=l.ref([]);l.watch([()=>r.source,()=>r.params],async([s,f])=>{o.value=await a.load(r.sourceType,s,f)},{immediate:!0});const i=l.computed(()=>{if(!Array.isArray(o.value)||o.value.length===0)return"";let s=Co(r.modelValue,o.value,r.textKey,r.valueKey,r.childrenKey);return s.length==0?r.emptyText??"":s.length===1?s[0]:s.join(r.separator)}),u=r.resolveTag?l.resolveComponent(r.tag):r.tag;return()=>{const s={...n};return r.resolveTag?r.emptyText!==void 0&&r.emptyText===i.value?l.h(r.emptyTag??"span",{...n,class:r.emptyClass},i.value):l.h(u,s,{default:()=>i.value}):l.h(u,s,i.value)}}}}const{componentName:Wi,create:Io,scope:Ui}=Y("mapping"),Gt=Io(Vo());function No(e,t){let r=t.split("."),n=e;for(let a=0;a<r.length;a++){let o=r[a],i=0,u=o.indexOf("["),s=u==-1?-1:o.indexOf("]",u);for(;u!==-1&&s!==-1;){let f=o.substring(u+1,s);if(/^\d+$/.test(f)){let c=parseInt(f);if(i==0){let h=o.substring(0,u);n=n[h][c]}else n=n[c];i++}u=o.indexOf("[",s),s=u==-1?-1:o.indexOf("]",u)}i===0&&(n=n[o])}return n}function Ao(e,t){return{props:{...xr},setup(r,{attrs:n}){return()=>{const a={default:o=>{const i=No(o.row,o.column.property);return l.h(Gt,{...r,modelValue:i})}};return l.h(g.ElTableColumn,{...n},a)}}}}const{componentName:Xi,create:Ro,scope:Zi}=Y("table-mapping-column"),Cr=Ro(Ao());let ko=class{proxy;constructor(t){this.proxy=t}async load(t,r,n,a,o,i,u){if(Array.isArray(r)){let f=(n-1)*a,c=f+a;c>r.length&&(c=r.length);const h=r.slice(f,c);return{totalSize:r.length,page:h}}if(typeof r=="function")return await Reflect.apply(r,null,[n,a,o,i,u]);const s=Re(this.proxy,t);return s===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(Se(o)&&l.isReactive(o)&&(o=l.toRaw(o)),await await Reflect.apply(s,null,[r,n,a,o,i,u]))}};function jo(){const e=l.getCurrentInstance();return new ko(e.proxy)}function Mo(e,t){let r=t.split("."),n=e;for(let a=0;a<r.length;a++){let o=r[a],i=0,u=o.indexOf("["),s=u==-1?-1:o.indexOf("]",u);for(;u!==-1&&s!==-1;){let f=o.substring(u+1,s);if(/^\d+$/.test(f)){let c=parseInt(f);if(i==0){let h=o.substring(0,u);n=n[h][c]}else n=n[c];i++}u=o.indexOf("[",s),s=u==-1?-1:o.indexOf("]",u)}i===0&&(n=n[o])}return n}function Yt(e,t){return e.filter(n=>{for(let a in t){const o=t[a],i=Mo(n,a);if(o!==i)return!1}return!0})}const Or={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},baseParams:{type:[Object]},params:{type:[Object]}},Tr={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 Do(e,t,r){return{inheritAttrs:!1,props:{...re,...ce,...Or,...Tr},emits:["change","page-size-change","page-index-change","current-change","loaded-data"],setup(n,a){const{locale:o}=ye.useFoxI18n(t),{emitEvent:i}=le({componentName:e,validateHandler:{getValue(...x){return $.value}}},n.prop??a.attrs.name),u=e,s=l.computed(()=>({[u]:!0})),f=l.computed(()=>({[`${u}__pagination`]:!0,[`${u}__pagination__${n.paginationAlign}`]:!0})),c=l.ref(n.pageIndex);l.watch(()=>n.pageIndex,x=>{c.value=x});const h=x=>{c.value=x,i("page-index-change",x)},S=l.ref(n.pageSize);l.watch(()=>n.pageSize,x=>{S.value=x});const A=x=>{S.value=x,i("page-size-change",x)},T=l.shallowRef({}),E=l.computed(()=>({...T.value,...n.params??{},...n.baseParams??{}})),R=l.ref(0),$=l.ref(),D=jo();let k=!0;const I=()=>Array.isArray(n.data)||typeof n.data=="function"?!0:se(n.autoLoad),M=async(x,B,v,j)=>{try{const p=await D.load("table",x,B,v,j,k,o.value);R.value=p.totalSize,$.value=p.page}catch(p){console.error("[FoxUI] Load Table Data Fail",p),R.value=0,$.value=[]}k=!1,setTimeout(()=>{i("loaded-data")},250)};l.watch([c,S],([x,B],[v,j])=>{B!==j&&(c.value=1,x=1),M(n.data,x,B,E.value)}),l.watch([()=>n.data,E],([x,B],[v,j])=>{I()&&(x!==v&&(k=!0),!(Ne(x,v)&&Ne(B,j))&&M(x,c.value,S.value,B))});const y=(x={})=>new Promise(B=>{T.value=l.toRaw(x??{}),l.triggerRef(T),l.nextTick(async()=>{await M(n.data,c.value,S.value,E.value),B()})}),m=()=>{R.value=0,$.value=[]};I()&&y();let b=null;const V=(x,B)=>{b=x,i("current-change",x,B)},w=l.ref();return fe({clearSelection:()=>w?.value.clearSelection(),getSelectionRows:()=>w?.value.getSelectionRows(),toggleRowSelection:(x,B)=>{w?.value.toggleRowSelection(x,B)},toggleRowSelectionByProp:(x,B)=>{if(!$.value)return;const v=Yt($.value,x);v.length!==0&&v.forEach(j=>{w?.value.toggleRowSelection(j,B)})},toggleAllSelection:()=>{w?.value.toggleAllSelection()},toggleRowExpansion:(x,B)=>{w?.value.toggleRowExpansion(x,B)},toggleRowExpansionByProp:(x,B)=>{if(!$.value)return;const v=Yt($.value,x);v.length!==0&&v.forEach(j=>{w?.value.toggleRowExpansion(j,B)})},setCurrentRow:x=>{w?.value.setCurrentRow(x)},setCurrentRowByProp:x=>{if(!$.value)return;const B=Yt($.value,x);B.length!==0&&w?.value.setCurrentRow(B[0])},getCurrentRow:()=>b,clearSort:()=>{w?.value.clearSort()},clearFilter:x=>{w?.value.clearFilter(x)},doLayout:()=>{w?.value.doLayout()},sort:(x,B)=>{w?.value.sort(x,B)},scrollTo:(x,B)=>{w?.value.scrollTo(x,B)},setScrollTop:x=>{w?.value.setScrollTop(x)},setScrollLeft:x=>{w?.value.setScrollLeft(x)},loadData:y,clearData:m,getData(){return $.value},getTotalSize(){return R.value},getPageIndex(){return c.value},getPageSize(){return S.value}}),()=>{const B={...a.attrs,onCurrentChange:V,data:$.value,ref:w,class:s.value},v={};a.slots.default&&(v.default=a.slots.default),a.slots.append&&(v.append=a.slots.append),a.slots.empty&&(v.empty=a.slots.empty);const j=[],p=l.h(g.ElTable,B,v);if(j.push(p),typeof a.slots.pagination=="function"){const F=a.slots.pagination();j.push(F)}else if(n.paginationVisible){const F={class:f.value,total:R.value,pageSize:S.value,["onUpdate:pageSize"]:A,pageSizes:n.pageSizes,currentPage:c.value,["onUpdate:currentPage"]:h,hideOnSinglePage:n.hideOnSinglePage,layout:n.paginationLayout,small:!0},L=l.h(g.ElPagination,F);j.push(L)}const N={default:()=>j},q={...ue(n,Or,Tr),prop:`${n.prop}_item`};return q.contentClass=`${u}__wrap`,l.h(r,q,N)}}}}const{componentName:qo,create:Bo,scope:Fo}=Y("table-item"),Vr=Bo(Do(qo,Fo,oe));function _e(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Qe(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}let Lo=class{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Re(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(Se(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}};function Po(){const e=l.getCurrentInstance();return new Lo(e.proxy)}function Ir(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=_e(e,t),a=_e(e,r);if(n!==a)return!1;const o=Qe(e,t),i=Qe(e,r);return o===i}function _o(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;let a=null;for(let o of n){let i=!1;if(r==="text")i=_e(e,o)===t;else if(r==="item")i=Ir(e,o,t);else{let u=Qe(e,o);u==null&&(u=_e(e,o)),i=u===t}if(i){a=o;break}}return a}function Ho(e){return{text:e,value:e}}function Ko(e,t,r){return typeof e.itemOptions=="function"?e.itemOptions(t,r):e.itemOptions}const Nr={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"},itemOptions:{type:[Object],required:!1}};function zo(e,t,r){return{inheritAttrs:!0,props:{...re,...ce,...Nr},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),i=l.ref(null),u=l.ref(null),s=(k,I,M,y=!0)=>{const m=_o(n,k,I,M);if(m===null){if(u.value===null)return;u.value=null,i.value=null,y&&(o("update:modelValue",null),o("change",null));return}if(!Ir(n,m,u.value)){i.value=k;const V=l.toRaw(m);u.value=V;let w=null;n.valueType==="text"?w=_e(n,V):n.valueType==="item"?w=V:w=Qe(n,V),y&&(o("update:modelValue",w),o("change",w))}},f=l.ref([]),c=Po();l.watch([()=>n.source,()=>n.params],async([k,I])=>{if(k){const M=await c.load("radio",k,I);if(M.length>0)if(typeof M[0]=="string"){let b=M.map(V=>Ho(V));f.value=b}else f.value=M}},{immediate:!0}),l.watch([()=>f.value,()=>n.modelValue],([k,I])=>{s(I,n.valueType,k,!1)});const h=he(l.computed(()=>n.disabled)),S=de(l.computed(()=>n.readonly)),A=e,T=l.computed(()=>({[A]:!0})),E=k=>{s(k,"value",f.value,!0)};let R=W(n,"hintText"),$=W(n,"hintVisible");const D=(k,I)=>{const M=[];return k.forEach((y,m)=>{const b=Qe(n,y),V=_e(n,y),w=Ko(n,y,m)??{};let x=w.disabled;h.value===!0&&(x=h.value);const B=`${b}_${m}`,v={...w,key:B,label:b,disabled:x,size:n.size,border:se(n.border)};n.itemType==="button"?M.push(l.h(g.ElRadioButton,v,{default:()=>[V]})):typeof I=="function"?M.push(l.h(g.ElRadio,v,{default:()=>I(y)})):M.push(l.h(g.ElRadio,v,{default:()=>[V]}))}),M};return()=>{const I={...a.attrs,class:T.value,disabled:h.value||S.value,modelValue:i.value,["text-color"]:n.textColor,fill:n.fill,onChange:E},M=[],y={};a.slots.options?y.default=a.slots.options:y.default=()=>D(f.value,a.slots.text);const m=l.h(g.ElRadioGroup,I,y);M.push(m);const b={default:()=>M};if(a.slots.default){const B=a.slots.default();b.label=()=>B}const w={...ue(n,Nr),hintText:R.value,hintVisible:$.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,w,b)}}}}const{componentName:Go,create:Yo,scope:Wo}=Y("radio-item"),Ar=Yo(zo(Go,Wo,oe));function He(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ke(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class Uo{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Re(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(Se(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function Xo(){const e=l.getCurrentInstance();return new Uo(e.proxy)}function Rr(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=He(e,t),a=He(e,r);if(n!==a)return!1;const o=Ke(e,t),i=Ke(e,r);return o===i}function Zo(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];return t.forEach(o=>{for(let i of n){let u=!1;if(r==="text")u=He(e,i)===o;else if(r==="item")u=Rr(e,i,o);else{let s=Ke(e,i);s==null&&(s=He(e,i)),u=s===o}if(u){a.push(i);break}}}),a}function Jo(e){return{text:e,value:e}}function Qo(e,t,r){return typeof e.itemOptions=="function"?e.itemOptions(t,r):e.itemOptions}const kr={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"},itemOptions:{type:[Object],required:!1}};function ei(e,t,r){return{inheritAttrs:!1,props:{...re,...ce,...kr},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),i=l.ref([]),u=l.ref([]),s=(k,I,M,y=!0)=>{const m=Zo(n,k,I,M);if(m===null){if(u.value===null||u.value.length===0)return;i.value=[],u.value=[],y&&(o("update:modelValue",[]),o("change",[]));return}let b=!0;if(m.length!==u.value.length)b=!1;else for(let V=0;V<m.length;V++){const w=m[V],x=u.value[V];if(!Rr(n,w,x)){b=!1;break}}if(!b){u.value=m;let V=[],w=[];m.forEach(B=>{V.push(Ke(n,B)),n.valueType==="text"?w.push(He(n,B)):n.valueType==="item"?w.push(B):w.push(Ke(n,B))}),i.value=V;const x=l.toRaw(w);y&&(o("update:modelValue",x),o("change",x))}},f=l.ref([]),c=Xo();l.watch([()=>n.source,()=>n.params],async([k,I])=>{if(k){const M=await c.load("checkbox",k,I);if(M.length>0)if(typeof M[0]=="string"){let b=M.map(V=>Jo(V));f.value=b}else f.value=M}},{immediate:!0}),l.watch([()=>f.value,()=>n.modelValue],([k,I])=>{s(I,n.valueType,k,!1)});const h=he(l.computed(()=>n.disabled)),S=de(l.computed(()=>n.readonly)),A=e,T=l.computed(()=>({[A]:!0})),E=k=>{s(k,"value",f.value,!0)};let R=W(n,"hintText"),$=W(n,"hintVisible");const D=(k,I)=>{const M=[];return k.forEach((y,m)=>{const b=Ke(n,y),V=He(n,y),w=Qo(n,y,m)??{};let x=w.disabled;h.value===!0&&(x=h.value);const B=`${b}_${m}`,v={...w,key:B,class:n.itemClass,label:b,disabled:x,size:n.size,border:se(n.border)};n.itemType==="button"?M.push(l.h(g.ElCheckboxButton,v,{default:()=>[V]})):typeof I=="function"?M.push(l.h(g.ElCheckbox,v,{default:()=>I(y)})):M.push(l.h(g.ElCheckbox,v,{default:()=>[V]}))}),M};return()=>{const I={...a.attrs,class:T.value,disabled:h.value||S.value,modelValue:i.value,["text-color"]:n.textColor,fill:n.fill,max:Z(n.max),min:Z(n.min),onChange:E},M=[],y={};a.slots.options?y.default=a.slots.options:y.default=()=>D(f.value,a.slots.text);const m=l.h(g.ElCheckboxGroup,I,y);M.push(m);const b={default:()=>M};if(a.slots.default){const B=a.slots.default();b.label=()=>B}const w={...ue(n,kr),hintText:R.value,hintVisible:$.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,w,b)}}}}const{componentName:ti,create:ni,scope:ri}=Y("checkbox-item"),jr=ni(ei(ti,ri,oe)),Mr={modelValue:{type:[Number,String],required:!1}};function ai(e,t,r){return{props:{...re,...ce,...Mr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),i=he(l.computed(()=>n.disabled)),u=de(l.computed(()=>n.readonly)),s=W(n,"modelValue",E=>Z(E)),f=e,c=l.computed(()=>({[f]:!0})),h=E=>{o("update:modelValue",E),o("change",E)};let S=W(n,"hintText"),A=l.ref(!1);const T=l.ref();return fe({}),()=>{const R={...a.attrs,ref:T,class:c.value,readonly:u.value||i.value,modelValue:s.value,onChange:h},$={},D=[],k=l.h(g.ElRate,R,$);D.push(k);const I={default:()=>D};if(a.slots.default){const b=a.slots.default();I.label=()=>b}const y={...ue(n,Mr),hintText:S.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,y,I)}}}}const{componentName:li,create:oi,scope:ii}=Y("rate-item"),Dr=oi(ai(li,ii,oe)),qr={modelValue:{type:[Boolean,String,Number],required:!1}};function si(e,t,r){return{props:{...re,...ce,...qr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=le({componentName:e},n.prop??a.attrs.name),i=he(l.computed(()=>n.disabled)),u=de(l.computed(()=>n.readonly)),s=W(n,"modelValue"),f=e,c=l.computed(()=>({[f]:!0})),h=E=>{o("update:modelValue",E),o("change",E)};let S=W(n,"hintText"),A=W(n,"hintVisible");const T=l.ref();return fe({}),()=>{const R={...a.attrs,ref:T,class:c.value,readonly:u.value,disabled:i.value,modelValue:s.value,onChange:h},$={},D=[],k=l.h(g.ElSwitch,R,$);D.push(k);const I={default:()=>D};if(a.slots.default){const b=a.slots.default();I.label=()=>b}const y={...ue(n,qr),hintText:S.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,y,I)}}}}const{componentName:ui,create:ci,scope:fi}=Y("switch-item"),Br=ci(si(ui,fi,oe)),di=Symbol.for("InnerPageScopeKey"),hi=Symbol.for("DialogItemStateKey");function gi(e,t){return{props:{title:{type:[String]},draggable:{type:[Boolean],default:!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:!1},closeOnPressEscape:{type:[Boolean],default:!0}},setup(r,n){l.provide(di,!0);const a={};l.provide(hi,a);const o=s=>{typeof a.beforeClose=="function"&&a.beforeClose(s)},i=l.ref(!0),u=s=>{i.value=s};return()=>{const f={...n.attrs,title:r.title,draggable:r.draggable,modelValue:i.value,"onUpdate:modelValue":u,"append-to-body":r.appendToBody,"close-on-click-modal":r.closeOnClickModal,"close-on-press-escape":r.closeOnPressEscape,"before-close":o},c={};if(typeof n.slots.default=="function"){const h=n.slots.default();c.default=()=>h}return l.h(g.ElDialog,f,c)}}}}const{componentName:Ji,create:mi,scope:Qi}=Y("dialog-item"),Fr=mi(gi()),{componentName:es,create:yi}=Y("ext-icon"),Lr=yi({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=i=>{t("click",i)},a=l.computed(()=>e.name?e.name.indexOf("/")!==-1:!1),o="fox-icon";return()=>{const i=a.value;return l.h(i?"img":e.tag,{class:i?`${o}__img`:`${e.fontClassName} ${o} ${e.classPrefix}-${e.name}`,style:{color:e.color,fontSize:K(e.size),width:K(e.size),height:K(e.size)},onClick:n,src:i?e.name:""},r.default?.())}}});function pi(e,t){return{props:{type:{type:[String],required:!1,default:""},color:{type:[String],required:!1,default:""}},setup(r,{slots:n}){const a=e,o=l.computed(()=>({[a]:!0})),i=l.computed(()=>({[`${a}__mark`]:!0,[`${a}__mark-${r.type}`]:!0})),u=l.computed(()=>r.color?{background:r.color}:null),s=l.computed(()=>({[`${a}__text`]:!0,[`${a}__text-${r.type}`]:!0})),f=l.computed(()=>r.color?{color:r.color}:null);return()=>{let c=null;if(n.mark)c=n.mark()[0];else{const E={class:i.value,style:u.value};c=l.h("div",E)}const h={class:s.value,style:f.value},S=n.default?n.default():[],A=l.h("div",h,S),T={class:o.value};return l.h("div",T,[c,A])}}}}const{componentName:bi,create:wi,scope:ts}=Y("indicator"),Pr=wi(pi(bi));var we=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Wt={},Si={get exports(){return Wt},set exports(e){Wt=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){var r=1e3,n=6e4,a=36e5,o="millisecond",i="second",u="minute",s="hour",f="day",c="week",h="month",S="quarter",A="year",T="date",E="Invalid Date",R=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,$=/\[([^\]]+)]|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("_")},k=function(v,j,p){var N=String(v);return!N||N.length>=j?v:""+Array(j+1-N.length).join(p)+v},I={s:k,z:function(v){var j=-v.utcOffset(),p=Math.abs(j),N=Math.floor(p/60),C=p%60;return(j<=0?"+":"-")+k(N,2,"0")+":"+k(C,2,"0")},m:function v(j,p){if(j.date()<p.date())return-v(p,j);var N=12*(p.year()-j.year())+(p.month()-j.month()),C=j.clone().add(N,h),q=p-C<0,O=j.clone().add(N+(q?-1:1),h);return+(-(N+(p-C)/(q?C-O:O-C))||0)},a:function(v){return v<0?Math.ceil(v)||0:Math.floor(v)},p:function(v){return{M:h,y:A,w:c,d:f,D:T,h:s,m:u,s:i,ms:o,Q:S}[v]||String(v||"").toLowerCase().replace(/s$/,"")},u:function(v){return v===void 0}},M="en",y={};y[M]=D;var m=function(v){return v instanceof x},b=function v(j,p,N){var C;if(!j)return M;if(typeof j=="string"){var q=j.toLowerCase();y[q]&&(C=q),p&&(y[q]=p,C=q);var O=j.split("-");if(!C&&O.length>1)return v(O[0])}else{var F=j.name;y[F]=j,C=F}return!N&&C&&(M=C),C||!N&&M},V=function(v,j){if(m(v))return v.clone();var p=typeof j=="object"?j:{};return p.date=v,p.args=arguments,new x(p)},w=I;w.l=b,w.i=m,w.w=function(v,j){return V(v,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var x=function(){function v(p){this.$L=b(p.locale,null,!0),this.parse(p)}var j=v.prototype;return j.parse=function(p){this.$d=function(N){var C=N.date,q=N.utc;if(C===null)return new Date(NaN);if(w.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var O=C.match(R);if(O){var F=O[2]-1||0,L=(O[7]||"0").substring(0,3);return q?new Date(Date.UTC(O[1],F,O[3]||1,O[4]||0,O[5]||0,O[6]||0,L)):new Date(O[1],F,O[3]||1,O[4]||0,O[5]||0,O[6]||0,L)}}return new Date(C)}(p),this.$x=p.x||{},this.init()},j.init=function(){var p=this.$d;this.$y=p.getFullYear(),this.$M=p.getMonth(),this.$D=p.getDate(),this.$W=p.getDay(),this.$H=p.getHours(),this.$m=p.getMinutes(),this.$s=p.getSeconds(),this.$ms=p.getMilliseconds()},j.$utils=function(){return w},j.isValid=function(){return this.$d.toString()!==E},j.isSame=function(p,N){var C=V(p);return this.startOf(N)<=C&&C<=this.endOf(N)},j.isAfter=function(p,N){return V(p)<this.startOf(N)},j.isBefore=function(p,N){return this.endOf(N)<V(p)},j.$g=function(p,N,C){return w.u(p)?this[N]:this.set(C,p)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(p,N){var C=this,q=!!w.u(N)||N,O=w.p(p),F=function(J,X){var me=w.w(C.$u?Date.UTC(C.$y,X,J):new Date(C.$y,X,J),C);return q?me:me.endOf(f)},L=function(J,X){return w.w(C.toDate()[J].apply(C.toDate("s"),(q?[0,0,0,0]:[23,59,59,999]).slice(X)),C)},P=this.$W,_=this.$M,G=this.$D,z="set"+(this.$u?"UTC":"");switch(O){case A:return q?F(1,0):F(31,11);case h:return q?F(1,_):F(0,_+1);case c:var ie=this.$locale().weekStart||0,te=(P<ie?P+7:P)-ie;return F(q?G-te:G+(6-te),_);case f:case T:return L(z+"Hours",0);case s:return L(z+"Minutes",1);case u:return L(z+"Seconds",2);case i:return L(z+"Milliseconds",3);default:return this.clone()}},j.endOf=function(p){return this.startOf(p,!1)},j.$set=function(p,N){var C,q=w.p(p),O="set"+(this.$u?"UTC":""),F=(C={},C[f]=O+"Date",C[T]=O+"Date",C[h]=O+"Month",C[A]=O+"FullYear",C[s]=O+"Hours",C[u]=O+"Minutes",C[i]=O+"Seconds",C[o]=O+"Milliseconds",C)[q],L=q===f?this.$D+(N-this.$W):N;if(q===h||q===A){var P=this.clone().set(T,1);P.$d[F](L),P.init(),this.$d=P.set(T,Math.min(this.$D,P.daysInMonth())).$d}else F&&this.$d[F](L);return this.init(),this},j.set=function(p,N){return this.clone().$set(p,N)},j.get=function(p){return this[w.p(p)]()},j.add=function(p,N){var C,q=this;p=Number(p);var O=w.p(N),F=function(_){var G=V(q);return w.w(G.date(G.date()+Math.round(_*p)),q)};if(O===h)return this.set(h,this.$M+p);if(O===A)return this.set(A,this.$y+p);if(O===f)return F(1);if(O===c)return F(7);var L=(C={},C[u]=n,C[s]=a,C[i]=r,C)[O]||1,P=this.$d.getTime()+p*L;return w.w(P,this)},j.subtract=function(p,N){return this.add(-1*p,N)},j.format=function(p){var N=this,C=this.$locale();if(!this.isValid())return C.invalidDate||E;var q=p||"YYYY-MM-DDTHH:mm:ssZ",O=w.z(this),F=this.$H,L=this.$m,P=this.$M,_=C.weekdays,G=C.months,z=function(X,me,Oe,Te){return X&&(X[me]||X(N,q))||Oe[me].slice(0,Te)},ie=function(X){return w.s(F%12||12,X,"0")},te=C.meridiem||function(X,me,Oe){var Te=X<12?"AM":"PM";return Oe?Te.toLowerCase():Te},J={YY:String(this.$y).slice(-2),YYYY:this.$y,M:P+1,MM:w.s(P+1,2,"0"),MMM:z(C.monthsShort,P,G,3),MMMM:z(G,P),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:z(C.weekdaysMin,this.$W,_,2),ddd:z(C.weekdaysShort,this.$W,_,3),dddd:_[this.$W],H:String(F),HH:w.s(F,2,"0"),h:ie(1),hh:ie(2),a:te(F,L,!0),A:te(F,L,!1),m:String(L),mm:w.s(L,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:O};return q.replace($,function(X,me){return me||J[X]||O.replace(":","")})},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(p,N,C){var q,O=w.p(N),F=V(p),L=(F.utcOffset()-this.utcOffset())*n,P=this-F,_=w.m(this,F);return _=(q={},q[A]=_/12,q[h]=_,q[S]=_/3,q[c]=(P-L)/6048e5,q[f]=(P-L)/864e5,q[s]=P/a,q[u]=P/n,q[i]=P/r,q)[O]||P,C?_:w.a(_)},j.daysInMonth=function(){return this.endOf(h).$D},j.$locale=function(){return y[this.$L]},j.locale=function(p,N){if(!p)return this.$L;var C=this.clone(),q=b(p,N,!0);return q&&(C.$L=q),C},j.clone=function(){return w.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},v}(),B=x.prototype;return V.prototype=B,[["$ms",o],["$s",i],["$m",u],["$H",s],["$W",f],["$M",h],["$y",A],["$D",T]].forEach(function(v){B[v[1]]=function(j){return this.$g(j,v[0],v[1])}}),V.extend=function(v,j){return v.$i||(v(j,x,V),v.$i=!0),V},V.locale=b,V.isDayjs=m,V.unix=function(v){return V(1e3*v)},V.en=y[M],V.Ls=y,V.p={},V})})(Si);const Ce=Wt;var Ut={},$i={get exports(){return Ut},set exports(e){Ut=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,o=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,u={},s=function(E){return(E=+E)+(E>68?1900:2e3)},f=function(E){return function(R){this[E]=+R}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(E){(this.zone||(this.zone={})).offset=function(R){if(!R||R==="Z")return 0;var $=R.match(/([+-]|\d\d)/g),D=60*$[1]+(+$[2]||0);return D===0?0:$[0]==="+"?-D:D}(E)}],h=function(E){var R=u[E];return R&&(R.indexOf?R:R.s.concat(R.f))},S=function(E,R){var $,D=u.meridiem;if(D){for(var k=1;k<=24;k+=1)if(E.indexOf(D(k,0,R))>-1){$=k>12;break}}else $=E===(R?"pm":"PM");return $},A={A:[i,function(E){this.afternoon=S(E,!1)}],a:[i,function(E){this.afternoon=S(E,!0)}],S:[/\d/,function(E){this.milliseconds=100*+E}],SS:[a,function(E){this.milliseconds=10*+E}],SSS:[/\d{3}/,function(E){this.milliseconds=+E}],s:[o,f("seconds")],ss:[o,f("seconds")],m:[o,f("minutes")],mm:[o,f("minutes")],H:[o,f("hours")],h:[o,f("hours")],HH:[o,f("hours")],hh:[o,f("hours")],D:[o,f("day")],DD:[a,f("day")],Do:[i,function(E){var R=u.ordinal,$=E.match(/\d+/);if(this.day=$[0],R)for(var D=1;D<=31;D+=1)R(D).replace(/\[|\]/g,"")===E&&(this.day=D)}],M:[o,f("month")],MM:[a,f("month")],MMM:[i,function(E){var R=h("months"),$=(h("monthsShort")||R.map(function(D){return D.slice(0,3)})).indexOf(E)+1;if($<1)throw new Error;this.month=$%12||$}],MMMM:[i,function(E){var R=h("months").indexOf(E)+1;if(R<1)throw new Error;this.month=R%12||R}],Y:[/[+-]?\d+/,f("year")],YY:[a,function(E){this.year=s(E)}],YYYY:[/\d{4}/,f("year")],Z:c,ZZ:c};function T(E){var R,$;R=E,$=u&&u.formats;for(var D=(E=R.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(V,w,x){var B=x&&x.toUpperCase();return w||$[x]||r[x]||$[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,j,p){return j||p.slice(1)})})).match(n),k=D.length,I=0;I<k;I+=1){var M=D[I],y=A[M],m=y&&y[0],b=y&&y[1];D[I]=b?{regex:m,parser:b}:M.replace(/^\[|\]$/g,"")}return function(V){for(var w={},x=0,B=0;x<k;x+=1){var v=D[x];if(typeof v=="string")B+=v.length;else{var j=v.regex,p=v.parser,N=V.slice(B),C=j.exec(N)[0];p.call(w,C),V=V.replace(C,"")}}return function(q){var O=q.afternoon;if(O!==void 0){var F=q.hours;O?F<12&&(q.hours+=12):F===12&&(q.hours=0),delete q.afternoon}}(w),w}}return function(E,R,$){$.p.customParseFormat=!0,E&&E.parseTwoDigitYear&&(s=E.parseTwoDigitYear);var D=R.prototype,k=D.parse;D.parse=function(I){var M=I.date,y=I.utc,m=I.args;this.$u=y;var b=m[1];if(typeof b=="string"){var V=m[2]===!0,w=m[3]===!0,x=V||w,B=m[2];w&&(B=m[2]),u=this.$locale(),!V&&B&&(u=$.Ls[B]),this.$d=function(N,C,q){try{if(["x","X"].indexOf(C)>-1)return new Date((C==="X"?1e3:1)*N);var O=T(C)(N),F=O.year,L=O.month,P=O.day,_=O.hours,G=O.minutes,z=O.seconds,ie=O.milliseconds,te=O.zone,J=new Date,X=P||(F||L?1:J.getDate()),me=F||J.getFullYear(),Oe=0;F&&!L||(Oe=L>0?L-1:J.getMonth());var Te=_||0,rn=G||0,an=z||0,ln=ie||0;return te?new Date(Date.UTC(me,Oe,X,Te,rn,an,ln+60*te.offset*1e3)):q?new Date(Date.UTC(me,Oe,X,Te,rn,an,ln)):new Date(me,Oe,X,Te,rn,an,ln)}catch{return new Date("")}}(M,b,y),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),x&&M!=this.format(b)&&(this.$d=new Date("")),u={}}else if(b instanceof Array)for(var v=b.length,j=1;j<=v;j+=1){m[1]=b[j-1];var p=$.apply(this,m);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}j===v&&(this.$d=new Date(""))}else k.call(this,I)}}})})($i);const vi=Ut;var Xt={},Ei={get exports(){return Xt},set exports(e){Xt=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n,a){var o=n.prototype,i=o.format;a.en.ordinal=function(u){var s=["th","st","nd","rd"],f=u%100;return"["+u+(s[(f-20)%10]||s[f]||s[0])+"]"},o.format=function(u){var s=this,f=this.$locale();if(!this.isValid())return i.bind(this)(u);var c=this.$utils(),h=(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(S){switch(S){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return f.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return f.ordinal(s.week(),"W");case"w":case"ww":return c.s(s.week(),S==="w"?1:2,"0");case"W":case"WW":return c.s(s.isoWeek(),S==="W"?1:2,"0");case"k":case"kk":return c.s(String(s.$H===0?24:s.$H),S==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return S}});return i.bind(this)(h)}}})})(Ei);const xi=Xt;var Zt={},Ci={get exports(){return Zt},set exports(e){Zt=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n,a){var o=n.prototype,i=function(h){return h&&(h.indexOf?h:h.s)},u=function(h,S,A,T,E){var R=h.name?h:h.$locale(),$=i(R[S]),D=i(R[A]),k=$||D.map(function(M){return M.slice(0,T)});if(!E)return k;var I=R.weekStart;return k.map(function(M,y){return k[(y+(I||0))%7]})},s=function(){return a.Ls[a.locale()]},f=function(h,S){return h.formats[S]||function(A){return A.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(T,E,R){return E||R.slice(1)})}(h.formats[S.toUpperCase()])},c=function(){var h=this;return{months:function(S){return S?S.format("MMMM"):u(h,"months")},monthsShort:function(S){return S?S.format("MMM"):u(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(S){return S?S.format("dddd"):u(h,"weekdays")},weekdaysMin:function(S){return S?S.format("dd"):u(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(S){return S?S.format("ddd"):u(h,"weekdaysShort","weekdays",3)},longDateFormat:function(S){return f(h.$locale(),S)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return c.bind(this)()},a.localeData=function(){var h=s();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(S){return f(h,S)},meridiem:h.meridiem,ordinal:h.ordinal}},a.months=function(){return u(s(),"months")},a.monthsShort=function(){return u(s(),"monthsShort","months",3)},a.weekdays=function(h){return u(s(),"weekdays",null,null,h)},a.weekdaysShort=function(h){return u(s(),"weekdaysShort","weekdays",3,h)},a.weekdaysMin=function(h){return u(s(),"weekdaysMin","weekdays",2,h)}}})})(Ci);const Oi=Zt;var Jt={},Ti={get exports(){return Jt},set exports(e){Jt=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){var r="week",n="year";return function(a,o,i){var u=o.prototype;u.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var f=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=i(this).startOf(n).add(1,n).date(f),h=i(this).endOf(r);if(c.isBefore(h))return 1}var S=i(this).startOf(n).date(f).startOf(r).subtract(1,"millisecond"),A=this.diff(S,r,!0);return A<0?i(this).startOf("week").week():Math.ceil(A)},u.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(Ti);const Vi=Jt;var Qt={},Ii={get exports(){return Qt},set exports(e){Qt=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n){n.prototype.weekYear=function(){var a=this.month(),o=this.week(),i=this.year();return o===1&&a===11?i+1:a===0&&o>=52?i-1:i}}})})(Ii);const Ni=Qt;var en={},Ai={get exports(){return en},set exports(e){en=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n,a){n.prototype.dayOfYear=function(o){var i=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return o==null?i:this.add(o-i,"day")}}})})(Ai);const Ri=en;var tn={},ki={get exports(){return tn},set exports(e){tn=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n){n.prototype.isSameOrAfter=function(a,o){return this.isSame(a,o)||this.isAfter(a,o)}}})})(ki);const ji=tn;var nn={},Mi={get exports(){return nn},set exports(e){nn=e}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n){n.prototype.isSameOrBefore=function(a,o){return this.isSame(a,o)||this.isBefore(a,o)}}})})(Mi);const Di=nn;Ce.extend(Oi),Ce.extend(xi),Ce.extend(vi),Ce.extend(Vi),Ce.extend(Ni),Ce.extend(Ri),Ce.extend(ji),Ce.extend(Di);const _r=10;function qi(e,t){return e>t&&e>_r?"horizontal":t>e&&t>_r?"vertical":""}function Bi(){const e=l.ref(0),t=l.ref(0),r=l.ref(0),n=l.ref(0),a=l.ref(0),o=l.ref(0),i=l.ref(0),u=l.ref(0),s=l.ref(0),f=l.ref(0),c=l.ref(""),h=()=>c.value==="vertical",S=()=>c.value==="horizontal",A=()=>{i.value=0,u.value=0,s.value=0,f.value=0,c.value="",r.value=0};return{move:R=>{const $=R.touches[0];i.value=$.clientX-e.value,u.value=$.clientY-t.value,a.value=$.clientX,o.value=$.clientY,s.value=Math.abs(i.value),f.value=Math.abs(u.value),n.value=Date.now()-r.value,c.value||(c.value=qi(s.value,f.value))},start:R=>{A(),e.value=R.touches[0].clientX,t.value=R.touches[0].clientY,r.value=Date.now()},reset:A,startX:e,startY:t,startTime:r,duration:n,moveX:a,moveY:o,deltaX:i,deltaY:u,offsetX:s,offsetY:f,direction:c,isVertical:h,isHorizontal:S}}const Fi=[Fn,Ln,Pn,_n,zn,oe,Xn,Zn,pt,Qn,ar,or,sr,cr,yr,br,$r,Er,Cr,Vr,Ar,jr,Dr,Br,Fr,Gt,yt,Lr,Pr],Li=new Oa(Fi,[Ia],"4.0.0");Object.defineProperty(d,"FoxAffix",{enumerable:!0,get:()=>g.ElAffix}),Object.defineProperty(d,"FoxAlert",{enumerable:!0,get:()=>g.ElAlert}),Object.defineProperty(d,"FoxAside",{enumerable:!0,get:()=>g.ElAside}),Object.defineProperty(d,"FoxAutoResizer",{enumerable:!0,get:()=>g.ElAutoResizer}),Object.defineProperty(d,"FoxAutocomplete",{enumerable:!0,get:()=>g.ElAutocomplete}),Object.defineProperty(d,"FoxAvatar",{enumerable:!0,get:()=>g.ElAvatar}),Object.defineProperty(d,"FoxBacktop",{enumerable:!0,get:()=>g.ElBacktop}),Object.defineProperty(d,"FoxBadge",{enumerable:!0,get:()=>g.ElBadge}),Object.defineProperty(d,"FoxBreadcrumb",{enumerable:!0,get:()=>g.ElBreadcrumb}),Object.defineProperty(d,"FoxBreadcrumbItem",{enumerable:!0,get:()=>g.ElBreadcrumbItem}),Object.defineProperty(d,"FoxButton",{enumerable:!0,get:()=>g.ElButton}),Object.defineProperty(d,"FoxButtonGroup",{enumerable:!0,get:()=>g.ElButtonGroup}),Object.defineProperty(d,"FoxCalendar",{enumerable:!0,get:()=>g.ElCalendar}),Object.defineProperty(d,"FoxCard",{enumerable:!0,get:()=>g.ElCard}),Object.defineProperty(d,"FoxCarousel",{enumerable:!0,get:()=>g.ElCarousel}),Object.defineProperty(d,"FoxCarouselItem",{enumerable:!0,get:()=>g.ElCarouselItem}),Object.defineProperty(d,"FoxCascader",{enumerable:!0,get:()=>g.ElCascader}),Object.defineProperty(d,"FoxCascaderPanel",{enumerable:!0,get:()=>g.ElCascaderPanel}),Object.defineProperty(d,"FoxCheckTag",{enumerable:!0,get:()=>g.ElCheckTag}),Object.defineProperty(d,"FoxCheckbox",{enumerable:!0,get:()=>g.ElCheckbox}),Object.defineProperty(d,"FoxCheckboxButton",{enumerable:!0,get:()=>g.ElCheckboxButton}),Object.defineProperty(d,"FoxCheckboxGroup",{enumerable:!0,get:()=>g.ElCheckboxGroup}),Object.defineProperty(d,"FoxCol",{enumerable:!0,get:()=>g.ElCol}),Object.defineProperty(d,"FoxCollapse",{enumerable:!0,get:()=>g.ElCollapse}),Object.defineProperty(d,"FoxCollapseItem",{enumerable:!0,get:()=>g.ElCollapseItem}),Object.defineProperty(d,"FoxCollapseTransition",{enumerable:!0,get:()=>g.ElCollapseTransition}),Object.defineProperty(d,"FoxColorPicker",{enumerable:!0,get:()=>g.ElColorPicker}),Object.defineProperty(d,"FoxConfigProvider",{enumerable:!0,get:()=>g.ElConfigProvider}),Object.defineProperty(d,"FoxContainer",{enumerable:!0,get:()=>g.ElContainer}),Object.defineProperty(d,"FoxDatePicker",{enumerable:!0,get:()=>g.ElDatePicker}),Object.defineProperty(d,"FoxDescriptions",{enumerable:!0,get:()=>g.ElDescriptions}),Object.defineProperty(d,"FoxDescriptionsItem",{enumerable:!0,get:()=>g.ElDescriptionsItem}),Object.defineProperty(d,"FoxDialog",{enumerable:!0,get:()=>g.ElDialog}),Object.defineProperty(d,"FoxDivider",{enumerable:!0,get:()=>g.ElDivider}),Object.defineProperty(d,"FoxDrawer",{enumerable:!0,get:()=>g.ElDrawer}),Object.defineProperty(d,"FoxDropdown",{enumerable:!0,get:()=>g.ElDropdown}),Object.defineProperty(d,"FoxDropdownItem",{enumerable:!0,get:()=>g.ElDropdownItem}),Object.defineProperty(d,"FoxDropdownMenu",{enumerable:!0,get:()=>g.ElDropdownMenu}),Object.defineProperty(d,"FoxEmpty",{enumerable:!0,get:()=>g.ElEmpty}),Object.defineProperty(d,"FoxFooter",{enumerable:!0,get:()=>g.ElFooter}),Object.defineProperty(d,"FoxForm",{enumerable:!0,get:()=>g.ElForm}),Object.defineProperty(d,"FoxFormItem",{enumerable:!0,get:()=>g.ElFormItem}),Object.defineProperty(d,"FoxHeader",{enumerable:!0,get:()=>g.ElHeader}),Object.defineProperty(d,"FoxIcon",{enumerable:!0,get:()=>g.ElIcon}),Object.defineProperty(d,"FoxImage",{enumerable:!0,get:()=>g.ElImage}),Object.defineProperty(d,"FoxImageViewer",{enumerable:!0,get:()=>g.ElImageViewer}),Object.defineProperty(d,"FoxInput",{enumerable:!0,get:()=>g.ElInput}),Object.defineProperty(d,"FoxInputNumber",{enumerable:!0,get:()=>g.ElInputNumber}),Object.defineProperty(d,"FoxLink",{enumerable:!0,get:()=>g.ElLink}),Object.defineProperty(d,"FoxMain",{enumerable:!0,get:()=>g.ElMain}),Object.defineProperty(d,"FoxMenu",{enumerable:!0,get:()=>g.ElMenu}),Object.defineProperty(d,"FoxMenuItem",{enumerable:!0,get:()=>g.ElMenuItem}),Object.defineProperty(d,"FoxMenuItemGroup",{enumerable:!0,get:()=>g.ElMenuItemGroup}),Object.defineProperty(d,"FoxOption",{enumerable:!0,get:()=>g.ElOption}),Object.defineProperty(d,"FoxOptionGroup",{enumerable:!0,get:()=>g.ElOptionGroup}),Object.defineProperty(d,"FoxPageHeader",{enumerable:!0,get:()=>g.ElPageHeader}),Object.defineProperty(d,"FoxPagination",{enumerable:!0,get:()=>g.ElPagination}),Object.defineProperty(d,"FoxPopconfirm",{enumerable:!0,get:()=>g.ElPopconfirm}),Object.defineProperty(d,"FoxPopover",{enumerable:!0,get:()=>g.ElPopover}),Object.defineProperty(d,"FoxPopper",{enumerable:!0,get:()=>g.ElPopper}),Object.defineProperty(d,"FoxProgress",{enumerable:!0,get:()=>g.ElProgress}),Object.defineProperty(d,"FoxRadio",{enumerable:!0,get:()=>g.ElRadio}),Object.defineProperty(d,"FoxRadioButton",{enumerable:!0,get:()=>g.ElRadioButton}),Object.defineProperty(d,"FoxRadioGroup",{enumerable:!0,get:()=>g.ElRadioGroup}),Object.defineProperty(d,"FoxRate",{enumerable:!0,get:()=>g.ElRate}),Object.defineProperty(d,"FoxResult",{enumerable:!0,get:()=>g.ElResult}),Object.defineProperty(d,"FoxRow",{enumerable:!0,get:()=>g.ElRow}),Object.defineProperty(d,"FoxScrollbar",{enumerable:!0,get:()=>g.ElScrollbar}),Object.defineProperty(d,"FoxSelect",{enumerable:!0,get:()=>g.ElSelect}),Object.defineProperty(d,"FoxSelectV2",{enumerable:!0,get:()=>g.ElSelectV2}),Object.defineProperty(d,"FoxSkeleton",{enumerable:!0,get:()=>g.ElSkeleton}),Object.defineProperty(d,"FoxSkeletonItem",{enumerable:!0,get:()=>g.ElSkeletonItem}),Object.defineProperty(d,"FoxSlider",{enumerable:!0,get:()=>g.ElSlider}),Object.defineProperty(d,"FoxSpace",{enumerable:!0,get:()=>g.ElSpace}),Object.defineProperty(d,"FoxStep",{enumerable:!0,get:()=>g.ElStep}),Object.defineProperty(d,"FoxSteps",{enumerable:!0,get:()=>g.ElSteps}),Object.defineProperty(d,"FoxSubMenu",{enumerable:!0,get:()=>g.ElSubMenu}),Object.defineProperty(d,"FoxSwitch",{enumerable:!0,get:()=>g.ElSwitch}),Object.defineProperty(d,"FoxTabPane",{enumerable:!0,get:()=>g.ElTabPane}),Object.defineProperty(d,"FoxTable",{enumerable:!0,get:()=>g.ElTable}),Object.defineProperty(d,"FoxTableColumn",{enumerable:!0,get:()=>g.ElTableColumn}),Object.defineProperty(d,"FoxTableV2",{enumerable:!0,get:()=>g.ElTableV2}),Object.defineProperty(d,"FoxTabs",{enumerable:!0,get:()=>g.ElTabs}),Object.defineProperty(d,"FoxTag",{enumerable:!0,get:()=>g.ElTag}),Object.defineProperty(d,"FoxTimePicker",{enumerable:!0,get:()=>g.ElTimePicker}),Object.defineProperty(d,"FoxTimeSelect",{enumerable:!0,get:()=>g.ElTimeSelect}),Object.defineProperty(d,"FoxTimeline",{enumerable:!0,get:()=>g.ElTimeline}),Object.defineProperty(d,"FoxTimelineItem",{enumerable:!0,get:()=>g.ElTimelineItem}),Object.defineProperty(d,"FoxTooltip",{enumerable:!0,get:()=>g.ElTooltip}),Object.defineProperty(d,"FoxTransfer",{enumerable:!0,get:()=>g.ElTransfer}),Object.defineProperty(d,"FoxTree",{enumerable:!0,get:()=>g.ElTree}),Object.defineProperty(d,"FoxTreeSelect",{enumerable:!0,get:()=>g.ElTreeSelect}),Object.defineProperty(d,"FoxTreeV2",{enumerable:!0,get:()=>g.ElTreeV2}),Object.defineProperty(d,"FoxUpload",{enumerable:!0,get:()=>g.ElUpload}),d.AutocompleteItem=Er,d.Broadcast=kt,d.BroadcastKey=ne,d.CascaderItem=$r,d.CheckboxItem=jr,d.Content=_n,d.DataItemsKey=De,d.DateItem=or,d.DialogItem=Fr,d.Domain=Mt,d.DomainKey=$e,d.ExtIcon=Lr,d.FooterBar=Pn,d.Group=zn,d.HeaderBar=Ln,d.HintText=pt,d.Indicator=Pr,d.InputItem=Qn,d.InputNumberItem=br,d.Item=oe,d.Mapping=Gt,d.MoneyItem=yr,d.Page=Fn,d.Price=yt,d.PriorityPolicy=ft,d.RadioItem=Ar,d.RateItem=Dr,d.RowItem=Zn,d.SelectItem=ar,d.SlotItem=Xn,d.SwitchItem=Br,d.TableItem=Vr,d.TableMappingColumn=Cr,d.TimeItem=sr,d.TimeSelectItem=cr,d.UniqueID=Yn,d.ValidateSchema=Nn,d.ValidateSchemaKey=be,d.clearNonNumber=ra,d.clone=At,d.compareTo=Tt,d.createBroadcast=rt,d.createValidateSchema=lt,d.debounce=pa,d.decimalLength=En,d.default=Li,d.defineBroadcast=sa,d.defineDataItem=Rn,d.defineDomain=qt,d.defineItem=le,d.definePageState=kn,d.deleteGlobalValidator=da,d.disabledProperty=he,d.divide=Ot,d.excludeProps=ue,d.extend=Ie,d.floatData=ia,d.getGlobalValidateCheckEvents=Tn,d.getGlobalValidateResetEvents=In,d.getPageContentAreaHeight=ut,d.getPageContentAreaWidth=ct,d.getPageFooterAreaHeight=st,d.getPageHeaderAreaHeight=it,d.getRootDomain=Ze,d.hasSymbol=yn,d.includeProps=oa,d.indexOf=aa,d.integerLength=vn,d.isArray=Kr,d.isArrayLike=bn,d.isBrowser=Ye,d.isDate=Yr,d.isESModule=Zr,d.isEmptyString=ee,d.isEqual=Ne,d.isFunction=It,d.isInnerPage=wa,d.isMap=zr,d.isNumberString=$n,d.isObject=Se,d.isPlainObject=Nt,d.isPromise=Xr,d.isRegExp=Sn,d.isSet=Gr,d.isString=Wr,d.isSubPage=Sa,d.isSymbol=Ur,d.isWindow=pn,d.lastIndexOf=la,d.makeArray=ta,d.merge=wn,d.multiply=dn,d.negate=hn,d.nextTick=Qr,d.numberFormat=Vt,d.objectToString=mn,d.property=qe,d.raf=na,d.readonlyProperty=de,d.setGlobalValidateCheckEvents=ha,d.setGlobalValidateHandler=ca,d.setGlobalValidateMessages=ma,d.setGlobalValidateResetEvents=ga,d.setGlobalValidator=fa,d.throttle=jt,d.toBoolean=se,d.toNumber=Z,d.toPadding=pe,d.toPx=U,d.toPxDesc=K,d.toTypeString=tt,d.toValue=W,d.typeOf=nt,d.unNumberFormat=gn,d.updatePageState=Bt,d.useBroadcast=Ue,d.useDomain=ve,d.useExpose=fe,d.usePageState=ot,d.usePosition=Wn,d.useRect=mt,d.useTouch=Bi,d.valueLength=We,Object.defineProperties(d,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|