@fox-js/foxui-pc 4.0.1-12 → 4.0.1-14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(f,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("@fox-js/fox"),require("@fox-js/validator"),require("element-plus"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/fox","@fox-js/validator","element-plus","@fox-js/i18n"],a):(f=typeof globalThis<"u"?globalThis:f||self,a(f.FoxUI={},f.Vue,f.fox,f.Schema,f.elementPlus,f.i18n))})(this,function(f,a,_,xr,d,me){"use strict";/*!
2
- * @fox-js/foxui-desktop v4.0.0 Mon Dec 26 2022 11:34:48 GMT+0800 (中国标准时间)
3
- */const Ne=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(xr);/*!
1
+ (function(f,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):(f=typeof globalThis<"u"?globalThis:f||self,l(f.FoxUI={},f.Vue,f.Schema,f.elementPlus,f.i18n))})(this,function(f,l,Ve,h,ye){"use strict";/*!
2
+ * @fox-js/foxui-desktop v4.0.0 Tue Jan 03 2023 15:03:28 GMT+0800 (中国标准时间)
3
+ *//*!
4
4
  * @fox-js/big-decimal v4.0.1-3 Wed Nov 02 2022 21:59:56 GMT+0800 (中国标准时间)
5
- */function Ue(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]=ht(ae(e),ae(t)),r==1&&(n==1?e=dt(e):t=dt(t));let l=Ft(e,t);return r?r==2?"-"+ae(l):e.length<l.length?ae(l.substring(1)):"-"+ae(dt(l)):ae(l)}function dt(e){let t="",r=e.length,n=e.split(".")[1],l=n?n.length:0;for(let s=0;s<r;s++)e[s]>="0"&&e[s]<="9"?t+=9-parseInt(e[s]):t+=e[s];let o=l>0?"0."+new Array(l).join("0")+"1":"1";return Ft(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 ht(e,t){let r=e.split("."),n=t.split("."),l=r[0].length,o=n[0].length;return l>o?n[0]=new Array(Math.abs(l-o)+1).join("0")+(n[0]?n[0]:""):r[0]=new Array(Math.abs(l-o)+1).join("0")+(r[0]?r[0]:""),l=r[1]?r[1].length:0,o=n[1]?n[1].length:0,(l||o)&&(l>o?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(l-o)+1).join("0"):r[1]=(r[1]?r[1]:"")+new Array(Math.abs(l-o)+1).join("0")),e=r[0]+(r[1]?"."+r[1]:""),t=n[0]+(n[1]?"."+n[1]:""),[e,t]}function Ft(e,t){[e,t]=ht(e,t);let r="",n=0;for(let l=e.length-1;l>=0;l--){if(e[l]==="."){r="."+r;continue}let o=parseInt(e[l])+parseInt(t[l])+n;r=o%10+r,n=Math.floor(o/10)}return n?n.toString()+r:r}var Z=(e=>(e[e.CEILING=0]="CEILING",e[e.DOWN=1]="DOWN",e[e.FLOOR=2]="FLOOR",e[e.HALF_DOWN=3]="HALF_DOWN",e[e.HALF_EVEN=4]="HALF_EVEN",e[e.HALF_UP=5]="HALF_UP",e[e.UNNECESSARY=6]="UNNECESSARY",e[e.UP=7]="UP",e))(Z||{});function Pe(e,t=0,r=Z.HALF_EVEN){if(r===Z.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let n=!1;e[0]==="-"&&(n=!0,e=e.substring(1));let l=e.split("."),o=l[0],s=l[1];if(t<0){if(t=-t,o.length<=t)return"0";{let i=o.substr(0,o.length-t);return e=i+"."+o.substr(o.length-t)+s,i=Pe(e,0,r),(n?"-":"")+i+new Array(t+1).join("0")}}if(t==0)return o.length,Pt(l[1],o,n,r)?(n?"-":"")+gt(o):(n?"-":"")+o;if(l[1]){if(l[1].length<t)return(n?"-":"")+o+"."+l[1]+new Array(t-l[1].length+1).join("0")}else return(n?"-":"")+o+"."+new Array(t+1).join("0");s=l[1].substring(0,t);let u=l[1].substring(t);return u&&Pt(u,s,n,r)&&(s=gt(s),s.length>t)?(n?"-":"")+gt(o,parseInt(s[0]))+"."+s.substring(1):(n?"-":"")+o+"."+s}function Pt(e,t,r,n){if(!e||e===new Array(e.length+1).join("0")||n===Z.DOWN||!r&&n===Z.FLOOR||r&&n===Z.CEILING)return!1;if(n===Z.UP||r&&n===Z.FLOOR||!r&&n===Z.CEILING)return!0;let l="5"+new Array(e.length).join("0");if(e>l)return!0;if(e<l)return!1;switch(n){case Z.HALF_DOWN:return!1;case Z.HALF_UP:return!0;case Z.HALF_EVEN:default:return parseInt(t[t.length-1])%2==1}}function gt(e,t=0){t||(t=1),typeof e=="number"&&e.toString();let r=e.length-1,n="";for(let l=r;l>=0;l--){let o=parseInt(e[l])+t;o==10?(t=1,o=0):t=0,n+=o}return t&&(n+=t),n.split("").reverse().join("")}function mt(e,t){e=e.toString(),t=t.toString();let r=0;e[0]=="-"&&(r++,e=e.substr(1)),t[0]=="-"&&(r++,t=t.substr(1)),e=Le(e),t=Le(t);let n=0,l=0;e.indexOf(".")!=-1&&(n=e.length-e.indexOf(".")-1),t.indexOf(".")!=-1&&(l=t.length-t.indexOf(".")-1);let o=n+l;if(e=Le(e.replace(".","")),t=Le(t.replace(".","")),e.length<t.length){let g=e;e=t,t=g}if(t=="0")return"0";let s=t.length,u=0,i=[],h=s-1,c="";for(let g=0;g<s;g++)i[g]=e.length-1;for(let g=0;g<2*e.length;g++){let E=0;for(let I=t.length-1;I>=h&&I>=0;I--)i[I]>-1&&i[I]<e.length&&(E+=parseInt(e[i[I]--])*parseInt(t[I]));E+=u,u=Math.floor(E/10),c=E%10+c,h--}return c=Le(Tr(c,o)),r==1&&(c="-"+c),c}function Tr(e,t){return t==0?e:(e=t>=e.length?new Array(t-e.length+1).join("0")+e:e,e.substr(0,e.length-t)+"."+e.substr(e.length-t,t))}function Le(e){for(;e[0]=="0";)e=e.substr(1);if(e.indexOf(".")!=-1)for(;e[e.length-1]=="0";)e=e.substr(0,e.length-1);return e==""||e=="."?e="0":e[e.length-1]=="."&&(e=e.substr(0,e.length-1)),e[0]=="."&&(e="0"+e),e}function yt(e,t,r=8){if(t==0)throw new Error("Cannot divide by 0");if(e=e.toString(),t=t.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let n=0;t[0]=="-"&&(t=t.substring(1),n++),e[0]=="-"&&(e=e.substring(1),n++);var l=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(t=ae(t.replace(".","")),l>=0){let h=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(h==-1)e=ae(e+new Array(l+1).join("0"));else if(l>h)e=e.replace(".",""),e=ae(e+new Array(l-h+1).join("0"));else if(l<h){e=e.replace(".","");let c=e.length-h+l;e=ae(e.substring(0,c)+"."+e.substring(c))}else l==h&&(e=ae(e.replace(".","")))}let o=0,s=t.length,u="",i=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(0,s+1):e.substring(0,s);if(e=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(s+1):e.substring(s),i.indexOf(".")>-1){let h=i.length-i.indexOf(".")-1;i=i.replace(".",""),s>i.length&&(h+=s-i.length,i=i+new Array(s-i.length+1).join("0")),o=h,u="0."+new Array(h).join("0")}for(r=r+2;o<=r;){let h=0;for(;parseInt(i)>=parseInt(t);)i=Ue(i,"-"+t),h++;u+=h,e?(e[0]=="."&&(u+=".",o++,e=e.substring(1)),i=i+e.substring(0,1),e=e.substring(1)):(o||(u+="."),o++,i=i+"0")}return(n==1?"-":"")+ae(Pe(u,r-2))}function pt(e,t){return e=e.toString(),t=t.toString(),t=bt(t),Ue(e,t)}function bt(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Lt(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),_t(e),_t(t);let r="";e[0]=="-"&&(r="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let n=pt(e,mt(t,Pe(yt(e,t),0,Z.FLOOR)));return r+n}function _t(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Ht(e,t){let r=!1;if(e[0]=="-"&&t[0]!="-")return-1;if(e[0]!="-"&&t[0]=="-")return 1;if(e[0]=="-"&&t[0]=="-"&&(e=e.substr(1),t=t.substr(1),r=!0),[e,t]=ht(e,t),e.localeCompare(t)==0)return 0;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return e[n]>t[n]?r?-1:1:r?1:-1;return 0}class K{value;static RoundingModes=Z;static validate(t){if(t){if(t=t.toString(),isNaN(t))throw Error("Parameter is not a number: "+t);t[0]=="+"&&(t=t.substring(1))}else t="0";if(t.startsWith(".")?t="0"+t:t.startsWith("-.")&&(t="-0"+t.substr(1)),/e/i.test(t)){let[r,n]=t.split(/[eE]/);r=ae(r);let l="";r[0]=="-"&&(l="-",r=r.substring(1)),r.indexOf(".")>=0?(n=parseInt(n)+r.indexOf("."),r=r.replace(".","")):n=parseInt(n)+r.length,r.length<n?t=l+r+new Array(n-r.length+1).join("0"):r.length>=n&&n>0?t=l+ae(r.substring(0,n))+(r.length>n?"."+r.substring(n):""):t=l+"0."+new Array(-n+1).join("0")+r}return t}constructor(t="0"){this.value=K.validate(t)}getValue(){return this.value}static getPrettyValue(t,r,n){if(!(r||n))r=3,n=",";else if(!(r&&n))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");t=K.validate(t);let l=t.charAt(0)=="-";l&&(t=t.substring(1));var o=t.indexOf(".");o=o>0?o:t.length;for(var s="",u=o;u>0;)u<r?(r=u,u=0):u-=r,s=t.substring(u,u+r)+(u<o-r&&u>=0?n:"")+s;return(l?"-":"")+s+t.substring(o)}getPrettyValue(t,r){return K.getPrettyValue(this.value,t,r)}static round(t,r=0,n=Z.HALF_EVEN){if(t=K.validate(t),isNaN(r))throw Error("Precision is not a number: "+r);return Pe(t,r,n)}round(t=0,r=Z.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new K(Pe(this.value,t,r))}static floor(t){return t=K.validate(t),t.indexOf(".")===-1?t:K.round(t,0,Z.FLOOR)}floor(){return this.value.indexOf(".")===-1?new K(this.value):new K(this.value).round(0,Z.FLOOR)}static ceil(t){return t=K.validate(t),t.indexOf(".")===-1?t:K.round(t,0,Z.CEILING)}ceil(){return this.value.indexOf(".")===-1?new K(this.value):new K(this.value).round(0,Z.CEILING)}static add(t,r){return t=K.validate(t),r=K.validate(r),Ue(t,r)}add(t){return new K(Ue(this.value,t.getValue()))}static subtract(t,r){return t=K.validate(t),r=K.validate(r),pt(t,r)}subtract(t){return new K(pt(this.value,t.getValue()))}static multiply(t,r){return t=K.validate(t),r=K.validate(r),mt(t,r)}multiply(t){return new K(mt(this.value,t.getValue()))}static divide(t,r,n){return t=K.validate(t),r=K.validate(r),yt(t,r,n)}divide(t,r){return new K(yt(this.value,t.getValue(),r))}static modulus(t,r){return t=K.validate(t),r=K.validate(r),Lt(t,r)}modulus(t){return new K(Lt(this.value,t.getValue()))}static compareTo(t,r){return t=K.validate(t),r=K.validate(r),Ht(t,r)}compareTo(t){return Ht(this.value,t.getValue())}static negate(t){return t=K.validate(t),bt(t)}negate(){return new K(bt(this.value))}}function Kt(e,t){return K.multiply(`${e}`,`${t}`)}function St(e,t,r=8){return K.divide(`${e}`,`${t}`,r)}function wt(e,t){return e=`${e}`,t=`${t}`,K.compareTo(e,t)}function zt(e){return K.negate(e)}function $t(e,t=-1,r=!1,n=3,l=","){let o=`${e}`;if(o.length==0||o==="-")return"";let s=o.charAt(0);s=="-"?o=o.substring(1):s="";let u=o,i="",h=o.indexOf(".");h!=-1&&(u=o.substring(0,h),i=o.substring(h+1)),t!=-1&&(t<i.length?i=i.substring(0,t):r&&t>i.length&&(i=i.padEnd(t,"0")));let c;if(n>0){let g="",E=u.split("").reverse();for(let I=0;I<E.length;I++)g+=E[I]+((I+1)%n==0&&I+1!=E.length?l:"");i.length==0?c=`${s}${g.split("").reverse().join("")}`:c=`${s}${g.split("").reverse().join("")}.${i}`}else i.length==0?c=`${s}${u}`:c=`${s}${u}.${i}`;return c}function Gt(e){let t=`${e}`,r=t.charAt(0);r=="-"?t=t.substring(1):r="";let n=t.replace(/[^\d\.-]/g,"");return`${r}${n}`}const _e=typeof window<"u",Vr=_e&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Wt(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const Q=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Yt(e){return Q(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),Q(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function Ut(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 Xt(e){if(e==null)return 0;const t=`${e}`;if(t.length==0)return 0;const r=t.indexOf(".");return r==-1?0:t.length-(r+1)}function Zt(e,t,r){const n=e.indexOf(t);return n===-1?e:t==="-"&&n!==0?e.slice(0,n):e.slice(0,n+1)+e.slice(n).replace(r,"")}function Ir(e,t=!0,r=!0){t?e=Zt(e,".",/\./g):e=e.replace(/\./g,""),r?e=Zt(e,"-",/-/g):e=e.replace(/-/,"");const n=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function Ar(e,t){return typeof e=="object"||Array.isArray(e)?t.findIndex(r=>{if(_.isEqual(e,r))return!0}):t.indexOf(e)}function Rr(e,t){if(typeof e=="object"||Array.isArray(e)){let r=t.reverse().findIndex(n=>{if(_.isEqual(e,n))return!0});return r!==-1&&(r=t.length-1-r),r}return t.lastIndexOf(e)}function He(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function jr(e,...t){const r={};return t.forEach(n=>{for(const l in n)r[l]=e[l]}),r}function ie(e,...t){const r=[];t.forEach(l=>{Reflect.apply([].push,r,Reflect.ownKeys(l))});const n={};for(const l in e)r.includes(l)||(n[l]=e[l]);return n}const kr=(e,t,r)=>{const n=Object.assign({},e),l=Object.assign({},r);return Object.keys(t).length>0?(Object.keys(n).forEach(o=>{l.hasOwnProperty(o)?typeof l[o]=="string"&&(n[o]=t[l[o]]):t[o]&&(n[o]=t[o])}),n):e},te=Symbol("BroadcastKey");class vt{parent;children=[];callbacks=new Map;proxy=null;name;constructor(t,r,n){this.parent=t,this.proxy=r,this.name=n,t!==null&&t.addChild(this)}addChild(t){this.children.push(t)}removeChild(t){const r=this.children.findIndex(n=>t===n);r!==-1&&this.children.splice(r,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(t,r,...n){if(t.maxLevel!==void 0&&t.maxLevel!==null&&t.maxLevel>0){if(t.level=t.level??0,t.level>t.maxLevel)return[];t.level++}let l=!1;!t.name||t.name==="*"?l=!0:!t.name||t.name==="+"?(l=!1,t.name="*"):Wt(t.name)&&this.name&&t.name.test(this.name)?l=!0:typeof t.name=="function"?l=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(l=!0);const o=[];if(l){const s=this.callbacks.get(r);if(typeof s=="function"){const i=Reflect.apply(s,this.proxy,[...n]);i!=null&&o.push(i)}const u=this.proxy??{};if(typeof u[r]=="function"){const i=Reflect.apply(u[r],u,[...n]);i!=null&&o.push(i)}}return this.children.forEach(s=>{const u=Reflect.apply(s.emit,s,[{...t},r,...n]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,o,[...u])}),o}emitToChildren(t,r,...n){const l=[];return this.children.forEach(o=>{const s=Reflect.apply(o.emit,o,[{...t},r,...n]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,l,[...s])}),l}on(t,r){this.callbacks.set(t,r)}}function Xe(e,t,r,n){const l=new vt(t,e,r);if(n&&typeof n=="object")for(const o in n)l.on(o,n[o]);return l}function Mr(e,t,r){const n=r;if(n[te])return n[te];const l=a.inject(te,null),o=new vt(l,r,e);if(t&&typeof t=="object")for(const s in t)o.on(s,t[s]);return n[te]=o,a.provide(te,o),a.onUnmounted(()=>{o.destroy(),n[te]=void 0}),o}function Ke(e=null){return e||(e=a.getCurrentInstance()?.proxy??null),e?e[te]??a.inject(te,null):a.inject(te,null)}class Dr{error(t,r){const n=r,l=Ke(r);l?l.emit({name:"*"},"setErrorTip",t):typeof n.setErrorTip=="function"&&n.setErrorTip(t)}reset(t){const r=t,n=Ke(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}success(t){const r=t,n=Ke(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}decorate(t,r,n){Array.isArray(t)||(t=[t]);const l=n,o=Ke(n),s=r.find(i=>i.required===!0||i.type==="required"&&i.required!==!1),u=t.find(i=>i.required===!0||i.type==="required"&&i.required!==!1);!s&&u?o?o.emit({name:"*"},"setRequired",!0):typeof l.setRequired=="function"&&l.setRequired(!0):s&&!u&&(o?o.emit({name:"*"},"setRequired",!1):typeof l.setRequired=="function"&&l.setRequired(!1),this.reset(n))}getValue(t){return t.modelValue}}let Jt=new Dr;function qr(e){Jt=e}function Br(e,t){Ne.default.setValidator(e,t)}function Fr(e){Ne.default.deleteValidator(e)}let Qt=["blur","clear"];function Pr(e){Qt=e}function en(){return Qt}let tn=["focus","change"];function Lr(e){tn=e}function nn(){return tn}function _r(e){Ne.default.messages(e)}function ze(...e){const t=[];return e.forEach(r=>{r.forEach(n=>{const l=t.findIndex(o=>o.type===n.type);l!==-1&&t.splice(l,1),t.push(n)})}),t}function Ze(e){return e.forEach(t=>{t.type==="required"&&(t.required===null||t.required===void 0)&&(t.required=!0),!t.type&&(t.required===!0||t.required===!1)&&(t.type="required")}),e}const pe=Symbol("ValidateSchemaKey");class rn{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(t,r,n){this.parent=t,this.descriptor=r,this.proxy=n,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let t=this.proxy.$attrs;!t||(this.scope=a.effectScope(),this.scope.run(()=>{a.watchEffect(()=>{const r=Ze(ze(this.attrRules,this.rules)),n=[];for(let o in t){let s=t[o];if(this.hasValidator(o,!0)){if(s===!1)continue;let i={type:o};s!==null&&typeof s=="object"&&Object.assign(i,s),n.push(i);continue}let u=this.getValidator(o);if(u!==null){let i={type:o,validator:u};n.push(i)}}this.attrRules=Ze(n);const l=ze(this.attrRules,this.rules);a.nextTick(()=>{this.decorate(l,r)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(t,...r){const n=this.descriptor.validateHandler;if(n&&typeof n[t]=="function")return Reflect.apply(n[t],n,[...r]);const l=Jt;return l&&typeof l[t]=="function"?Reflect.apply(l[t],l,[...r]):null}decorate(t,r){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",t,r,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(t){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",t,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(t,r,n=!1){n?Ne.default.setValidator(t,r):this.validators[t]=r}getValidator(t){let r=this.validators[t]??null;return r||(r=this.parent?.getValidator(t)??null),r}deleteValidator(t,r=!1){r?Ne.default.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,r=!1){if(r)return Ne.default.hasValidator(t);{let n=Reflect.has(this.validators,t);return!n&&this.parent!==null&&(n=this.parent.hasValidator(t,!1)),n}}setRule(t){const r=ze(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=Ze(t):this.rules=Ze([t]);const n=ze(this.attrRules,this.rules);a.nextTick(()=>{this.decorate(n,r)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let r=ze(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(r.length>0){const l={[`${n}`]:r},o=this.getValue(),s={[`${n}`]:o},u=new Ne.default(l),i=this.proxy??s;return u.validate(s,{context:i}).then(c=>{if(c.pass)this.success();else{let g="error";Array.isArray(c.errors)&&c.errors.length>0&&(g=c.errors[0].message??g,c.errors=[c.errors[0]],c.errors[0].ref=i),this.error(g)}return c}).catch(c=>{const g=c.message??`${c}`;return this.error(g),c})}}return Promise.resolve({pass:!0})}}function Je(e,t,r){if(r.valueName=r.valueName??"modelValue",r.valueType=r.valueType??"string",!r.validateHandler&&r.valueName!=="modelValue"){const l=r.valueName;r.validateHandler={getValue(o){return o[l]}}}return new rn(t,r,e)}const an=Symbol("EventEmitterKey");class Hr{register=new Map;proxy;constructor(t){this.proxy=t}destroy(){this.proxy=null,this.register.clear()}off(t,r){let n=this.register.get(t);if(n&&Array.isArray(n)){let l=n.findIndex(o=>o===r);l!==-1&&n.splice(l,1)}}on(t,r){let n=this.register.get(t);n||(n=new Array,this.register.set(t,n)),n.push(r)}emit(t,...r){const n=this.register.get(t);n&&n.forEach(l=>{try{Reflect.apply(l,null,[t,...r])}catch(o){console.error(o.message,o)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...r])}}function Kr(e,t){let r=0;return function(...n){const l=Date.now();l-r>t&&(Reflect.apply(e,{},[...n]),r=l)}}function Et(e,t){let r,n=null;return function(...l){n=l,r||(r=setTimeout(()=>{r=null,Reflect.apply(e,{},[...n??[]])},t))}}const Se=Symbol("DomainKey"),Ae=Symbol("DataItemsKey");class Ct{_parent=null;get parent(){return this._parent}set parent(t){this._parent=t}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(t){this._broadcast=t}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(t){this._validateSchema=t}_props=a.reactive({});constructor(t=null){this._name=t}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(t,r=[]){for(const n in t){const l=t[n];r.length>0&&r.indexOf(l)!==-1||(this._props[n]=l)}}has(t){if(Reflect.has(this._props,t)){const r=this._props[t];if(r!=null)return!0}return this.parent==null?!1:this.parent.has(t)}delete(t){Reflect.deleteProperty(this._props,t)}set(t,r){this._props[t]=r}get(t,r){if(Reflect.has(this._props,t)){const n=this._props[t];if(n!=null)return n}return this.parent==null?r:this.parent.get(t,r)}getForParent(t,r){return this.parent==null?r:this.parent.get(t,r)}getForSelf(t){return this._props[t]}getAll(t){const r=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,t)){const l=n._props[t];r.push(l)}n=n._parent}return r}}const zr=new Ct;function Ge(){return zr}function we(e=null){e||(e=a.getCurrentInstance());const t=e?.proxy;return t?t[Se]??a.inject(Se,null):a.inject(Se,null)}const Ot=Symbol("OriginalDateKey");function Nt(e,t,r=[],n){const l=a.getCurrentInstance(),o=l?.proxy;let s=a.inject(Se,null);s===null&&(s=Ge());const u=e||t.prop||t.name,i=new Ct(u);i.parent=s;const h=$=>{o[Ot]||E($),i.set("modelValue",$)},c=()=>i.getForSelf("modelValue")??null,g=()=>o[Ot]??null,E=$=>{const j={};_.extend(!0,j,a.toRaw($)),o[Ot]=j};a.isReactive(t)?a.watchEffect(()=>{i.merge(t,r)}):i.merge(t,r),t.modelValue&&E(t.modelValue),o[Se]=i,a.provide(Se,i);let I=null,C=null;if(l!==null){const $=a.inject(te,null);I=Xe(o,$,u,n),i.broadcast=I,o[te]=I,a.provide(te,I),o.broadcast=(v,D,...R)=>Reflect.apply(I.emit,I,[v,D,...R]);const j=a.inject(pe,null);C=Je(o,j,{componentName:""}),i.validateSchema=C,o[pe]=C,a.provide(pe,C),o[Ae]=new Map,o.validate=(v=!0)=>{const D=[];let R=null;if(v===!0)R={name:"*"};else if(Array.isArray(v)&&v.length>0){const N=v;R={name:y=>y?N.indexOf(y)!==-1:!1}}else if(v!=null&&typeof v=="object"){const N=v;if(Array.isArray(N.include)&&N.include.length>0){const y=N.include;R={name:p=>p?y.indexOf(p)!==-1:!1}}else if(Array.isArray(N.exclude)&&N.exclude.length>0){const y=N.exclude;R={name:p=>p?y.indexOf(p)===-1:!1}}}if(R){const N=I?.emitToChildren(R,"validate",!1);N&&Reflect.apply([].push,D,N)}return D.length==1?D[0]:D.length>1?Promise.all(D).then(N=>{let y=[];return N.forEach(p=>{p.pass===!1&&Array.isArray(p.errors)&&(y=[...y,...p.errors])}),y.length>0?{pass:!1,errors:y}:{pass:!0}}):Promise.resolve({pass:!0})},o.setNameValidateRules=(v,D=!0)=>{if(D){const R=Reflect.ownKeys(v),N=[...R],y={name:p=>{const m=R.includes(p);if(m){const S=N.findIndex(O=>p===O);S!==-1&&N.splice(S,1)}return m}};I?.emitToChildren(y,"setNameValidateRules",v,!1),N.length>0&&N.forEach(p=>{let m=String(p);const O=ln(i,m,{componentName:"",fieldName:m,pureDataValidate:!0},I,C);o[Ae].set(m,O);const w=v[m];w&&O.validateSchema.setRule(w)})}},o.clearValidate=(v=!0)=>{let D=null;if(v===!0)D={name:"*"};else if(Array.isArray(v)&&v.length>0){const R=v;D={name:N=>N?R.indexOf(N)!==-1:!1}}else if(v!=null&&typeof v=="object"){const R=v;if(Array.isArray(R.include)&&R.include.length>0){const N=R.include;D={name:y=>y?N.indexOf(y)!==-1:!1}}else if(Array.isArray(R.exclude)&&R.exclude.length>0){const N=R.exclude;D={name:y=>y?N.indexOf(y)===-1:!1}}}D&&I?.emitToChildren(D,"clearValidate",!1)},o.resetFields=v=>{const D=c();if(!D)return;const R={};if(_.extend(!0,R,g()??{}),Array.isArray(v))v.forEach(N=>{D[N]=R[N]});else if(v&&Array.isArray(v.include))(v.include??[]).forEach(y=>{D[y]=R[y]});else if(v&&Array.isArray(v.exclude)){let N=v.exclude??[];Reflect.ownKeys(R).forEach(y=>{N.includes(y)||(D[y]=R[y])})}else Object.assign(D,R);o.clearValidate(v)},o.setModelValue=(v,D)=>{!D||D===u?h(v):I?.emitToChildren({name:D},"setModelValue",v)},o.getModelValue=()=>c()}return a.onUnmounted(()=>{i.destroy(),o[Se]=void 0,o[Ae]&&(o[Ae].clear(),o[Ae]=void 0),I!==null&&(I.destroy(),o[te]=void 0),C!==null&&(C.destroy(),o[pe]=void 0)}),i}function le(e,t,r){const l=a.getCurrentInstance()?.proxy,o=t??"",s=a.inject(te,null),u=Xe(l,s,o,r);l[te]=u,a.provide(te,u),l.broadcast=(C,$,...j)=>Reflect.apply(u.emit,u,[C,$,...j]);const i=a.inject(pe,null);e.fieldName=e.fieldName??o;const h=Je(l,i,e);l[pe]=h,a.provide(pe,h),l.validate=(C=null)=>{const $=[];if(!Array.isArray(C)||C.indexOf(o)!==-1){const v=h?.validate();$.push(v)}let j=null;if(C===!0)j={name:"*"};else if(Array.isArray(C)&&C.length>0){const v=C;j={name:D=>D?v.indexOf(D)!==-1:!1}}else if(C!=null&&typeof C=="object"){const v=C;if(Array.isArray(v.include)&&v.include.length>0){const D=v.include;j={name:R=>R?D.indexOf(R)!==-1:!1}}else if(Array.isArray(v.exclude)&&v.exclude.length>0){const D=v.exclude;j={name:R=>R?D.indexOf(R)===-1:!1}}}if(j){const v=u.emitToChildren(j,"validate",!1);Reflect.apply([].push,$,v)}return $.length==1?$[0]:$.length>1?Promise.all($).then(v=>{let D=[];return v.forEach(R=>{R.pass===!1&&Array.isArray(R.errors)&&(D=[...D,...R.errors])}),D.length>0?{pass:!1,errors:D}:{pass:!0}}):Promise.resolve({pass:!0})},l.setValidateRule=C=>h?.setRule(C),l.setNameValidateRules=(C,$=!1)=>{const j=C[o];if(j&&h?.setRule(j),$){const v={name:D=>Reflect.ownKeys(C).includes(D)};u.emitToChildren(v,"setNameValidateRules",C,!1)}},l.clearValidate=(C=null)=>{(!Array.isArray(C)||C.indexOf(t??"")!==-1)&&h?.clear();let $=null;if(C===!0)$={name:"*"};else if(Array.isArray(C)&&C.length>0){const j=C;$={name:v=>v?j.indexOf(v)!==-1:!1}}else if(C!=null&&typeof C=="object"){const j=C;if(Array.isArray(j.include)&&j.include.length>0){const v=j.include;$={name:D=>D?v.indexOf(D)!==-1:!1}}else if(Array.isArray(j.exclude)&&j.exclude.length>0){const v=j.exclude;$={name:D=>D?v.indexOf(D)===-1:!1}}}$&&u.emitToChildren($,"clearValidate",!1)};const c=new Hr(l);l[an]=c;const g=Et((C="validate")=>{C==="reset"?h.clear():h.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:en()).forEach(C=>{c.on(C,$=>{g("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:nn()).forEach(C=>{c.on(C,$=>{g("reset")})}),a.onUnmounted(()=>{u.destroy(),l[te]=void 0,h.destroy(),l[pe]=void 0,c.destroy(),l[an]=void 0}),{broadcast:u,validateSchema:h,emitEvent:(C,...$)=>{Reflect.apply(c.emit,c,[C,...$])},onEvent:(C,$)=>{Reflect.apply(c.on,c,[$])},offEvent:(C,$)=>{Reflect.apply(c.off,c,[$])}}}function ln(e,t,r,n,l){const o={},s=t??"";r.fieldName=s,r.validateHandler={getValue(h){const c=e.getForSelf("modelValue");return c?c[s]:null}};const u=Je({},l,r);o.validate=(h=null)=>{const c=[];if(!Array.isArray(h)||h.indexOf(s)!==-1){const E=u?.validate();c.push(E)}let g=null;if(h===!0)g={name:"*"};else if(Array.isArray(h)&&h.length>0){const E=h;g={name:I=>I?E.indexOf(I)!==-1:!1}}else if(h!=null&&typeof h=="object"){const E=h;if(Array.isArray(E.include)&&E.include.length>0){const I=E.include;g={name:C=>C?I.indexOf(C)!==-1:!1}}else if(Array.isArray(E.exclude)&&E.exclude.length>0){const I=E.exclude;g={name:C=>C?I.indexOf(C)===-1:!1}}}if(g){const E=i.emitToChildren(g,"validate",!1);Reflect.apply([].push,c,E)}return c.length==1?c[0]:c.length>1?Promise.all(c).then(E=>{let I=[];return E.forEach(C=>{C.pass===!1&&Array.isArray(C.errors)&&(I=[...I,...C.errors])}),I.length>0?{pass:!1,errors:I}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=h=>u?.setRule(h),o.setNameValidateRules=h=>{const c=h[s];c&&u?.setRule(c)};const i=Xe(null,n,s,o);return{broadcast:i,validateSchema:u}}const z=(e,t=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&t<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${X(e,t)}px`:"";function X(e,t=-1){if(typeof e=="number")return e>0&&e<1&&t>0?e*t:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let r=e.indexOf("px");if(r!==-1)return Number(e.substring(0,r));if(r=e.indexOf("rem"),r!==-1){let l=Number(e.substring(0,r)),o=1;if(_e){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),u=s.indexOf("px");u>0&&(o=Number(s.substring(0,u)))}return l*=o,l}if(r=e.indexOf("%"),r!==-1)return Number(e.substring(0,r))/100*t;const n=Number(e);return isNaN(n)?0:n}const $e="PageStateKey";function ye(e){const t={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(t.top=X(e.top)),e.left!==null&&e.left!==void 0&&(t.left=X(e.left)),e.bottom!==null&&e.bottom!==void 0&&(t.bottom=X(e.bottom)),e.right!==null&&e.right!==void 0&&(t.right=X(e.right))),t}function xt(e,t,r={},n=!0,l=-1,o=-1,s=0,u=0){if(e.headerHeight=X(r.headerHeight??t.headerHeight),e.headerPadding=ye(r.headerPadding??t.headerPadding),e.footerHeight=X(r.footerHeight??t.footerHeight),e.footerPadding=ye(r.footerPadding??t.footerPadding),e.contentPadding=ye(r.contentPadding??t.contentPadding),n){const i=r.height??t.height;i?e.height=X(i,o):e.height=X(o)-X(s,o)-X(u,o),e.width=X(r.width??t.width,l)}}function on(e,t={}){const r={top:null,left:null,bottom:null,right:null},n={width:0,height:0,headerHeight:0,headerPadding:{...r},footerHeight:0,footerPadding:{...r},contentPadding:{...r},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},l=Object.assign(e.get("safeAreaInset")??{},t.safeAreaInset??{});l&&(n.safeAreaTop=X(l.top),n.safeAreaBottom=X(l.bottom),n.safeAreaLeft=X(l.left),n.safeAreaRight=X(l.right));const o=e.get("pageLayout");if(!o)return null;const s=e.get("rootWidth")??-1,u=e.get("rootHeight")??-1,i=e.get("headerBarHeight")??0,h=e.get("footerBarHeight")??0;xt(n,o,t,!0,s,u,i,h);const c=a.reactive(n),g=e.getForParent($e);g&&(n.height=nt(e,g),n.width=rt(e,g),a.watch([()=>g.height,()=>g.width,()=>g.contentPadding,()=>g.headerMounted,()=>g.footerMounted],()=>{c.height=nt(e,g),c.width=rt(e,g)}));const E=!g;return a.watch([()=>t.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([I,C,$=-1,j=-1,v=0,D=0])=>{xt(c,C,t,E,$,j,v,D)}),e.set($e,c),c}function Qe(e){return e.get($e)}function et(e,t){return t=t??e.get($e),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function tt(e,t){return t=t??e.get($e),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function nt(e,t){if(t=t??e.get($e),t){const r=et(e,t),n=tt(e,t);return t.height-r-n-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function rt(e,t){return t=t??e.get($e),t?t.width-(t.contentPadding.left??0)-(t.contentPadding.right??0):0}function Gr(e,t){const r=e.get("isInnerPage");return typeof r=="function"?Reflect.apply(r,{},[t,e]):!1}function Wr(e){return!!e.getForParent($e)}var at=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(at||{});function Tt(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function Re(e,t,r=1,n){const l=we();return l==null?e:r===0?a.computed(()=>{const o=l.getAll(t);for(let u=o.length-1;u>=0;u--){const i=o[u];if(Tt(i,n))return i}const s=e.value;return Tt(s,n)?s:null}):a.computed(()=>{const o=e.value;return Tt(o,n)?o:l?.get(t)})}function ce(e){return Re(e,"readonly",0,function(r){return _.toBoolean(r)})}function fe(e){return Re(e,"disabled",0,function(r){return _.toBoolean(r)})}function U(e,t="modelValue",r){const n=a.toRef(e,t);let l=n.value;typeof r=="function"&&(l=r(n.value));const o=a.ref(l);return a.watch(n,s=>{if(typeof r=="function"){const u=r(s);u!==o.value&&(o.value=u)}else s!==o.value&&(o.value=s)}),o}const sn=new Map,lt=new Map;let Vt=null;function Yr(e){Vt=e}function un(e,t,r){if(r){let n=lt.get(r);n||(n=new Map,lt.set(r,n)),n.set(e,t)}else sn.set(e,t)}function xe(e,t,r){!r&&Vt&&(r=Vt(e)??void 0);let n=null;if(r){let l=lt.get(r);l&&(n=l.get(t))}return n||(n=sn.get(t)),n}function Ur(e,t){for(let r in e){const n=e[r];un(r,n,t)}}function Xr(e){lt.delete(e)}function Zr(){return{top:0,left:0,bottom:0,right:0}}function Jr(e=0,t=0){if(_e){const r=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight,l={width:r,height:n-X(e,n)-X(t,n),headerHeight:44,footerHeight:44};return{rootWidth:r,rootHeight:n,pageLayout:l}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}}class Qr{packages;installers;_version;get version(){return this._version}constructor(t,r,n){this.packages=t,this.installers=r,this._version=n}install(t,r={}){this.packages.forEach(o=>{o.install?t.use(o):o.name&&t.component(o.name,o)}),this.installers.forEach(o=>{o(t)});const n=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],l=Ge();if(this.initPageLayout(r,l),r.autoAdjustPageLayout!==!1&&window.ResizeObserver){const o=Et(()=>{const u={...r},i=document.documentElement.clientWidth||document.body.clientWidth,h=document.documentElement.clientHeight||document.body.clientHeight;u.width=i,u.height=h,this.initPageLayout(u,l)},150);new window.ResizeObserver(o).observe(window.document.body)}for(const o in r)n.indexOf(o)===-1&&l.set(o,r[o])}initPageLayout(t,r){const n=t.headerBarHeight??0,l=t.footerBarHeight??0,o=_.extend({},Zr(),t.safeAreaInset),s=Jr(n,l),u=_.extend({},s.pageLayout,t.pageLayout);r=r??Ge(),r.set("safeAreaInset",o),r.set("headerBarHeight",n),r.set("footerBarHeight",l),r.set("pageLayout",u),r.set("rootWidth",s.rootWidth),r.set("rootHeight",s.rootHeight)}setScopeGetter(t){Yr(t)}setAPI(t,r,n){un(t,r,n)}getAPI(t,r,n){return xe(t,r,n)}batchSetAPI(t,r){Ur(t,r)}clearScopeAPI(t){Xr(t)}getRootDomain(){return Ge()}}const ea=[d.ElAffix,d.ElAlert,d.ElAutocomplete,d.ElAutoResizer,d.ElAvatar,d.ElBacktop,d.ElBadge,d.ElBreadcrumb,d.ElBreadcrumbItem,d.ElButton,d.ElButtonGroup,d.ElCalendar,d.ElCard,d.ElCarousel,d.ElCarouselItem,d.ElCascader,d.ElCascaderPanel,d.ElCheckTag,d.ElCheckbox,d.ElCheckboxButton,d.ElCheckboxGroup,d.ElCol,d.ElCollapse,d.ElCollapseItem,d.ElCollapseTransition,d.ElColorPicker,d.ElConfigProvider,d.ElContainer,d.ElAside,d.ElFooter,d.ElHeader,d.ElMain,d.ElDatePicker,d.ElDescriptions,d.ElDescriptionsItem,d.ElDialog,d.ElDivider,d.ElDrawer,d.ElDropdown,d.ElDropdownItem,d.ElDropdownMenu,d.ElEmpty,d.ElForm,d.ElFormItem,d.ElIcon,d.ElImage,d.ElImageViewer,d.ElInput,d.ElInputNumber,d.ElLink,d.ElMenu,d.ElSubMenu,d.ElMenuItem,d.ElMenuItemGroup,d.ElPageHeader,d.ElPagination,d.ElPopconfirm,d.ElPopover,d.ElPopper,d.ElProgress,d.ElRadio,d.ElRadioButton,d.ElRadioGroup,d.ElRate,d.ElResult,d.ElRow,d.ElScrollbar,d.ElSelect,d.ElOption,d.ElOptionGroup,d.ElSelectV2,d.ElSkeleton,d.ElSkeletonItem,d.ElSlider,d.ElSpace,d.ElSteps,d.ElStep,d.ElSwitch,d.ElTable,d.ElTableColumn,d.ElTableV2,d.ElTabs,d.ElTabPane,d.ElTag,d.ElTimePicker,d.ElTimeSelect,d.ElTimeline,d.ElTimelineItem,d.ElTooltip,d.ElTransfer,d.ElTree,d.ElTreeSelect,d.ElTreeV2,d.ElUpload],ta=[d.ElInfiniteScroll,d.ElLoading,d.ElMessage,d.ElMessageBox,d.ElNotification,d.ElPopoverDirective],na=e=>{ea.forEach(t=>{let r=t.name;typeof r=="string"?(r=`Fox${r.slice(2)}`,e.component(r,t)):e.use(t)}),ta.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)},a.defineComponent(r)},createDemo(r){return r.baseName=e,r.name="demo-"+e,a.defineComponent(r)}}}const ne={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}},se={prop:{type:String,required:!1},label:{type:String,required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},isRequired:{type:[String,Boolean],required:!1,default:!1},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},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}},cn={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"}},fn={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}},dn=[];for(const e in fn)dn.push(e);function ue(e,t=null){if(t||(t=a.getCurrentInstance()),t&&t.proxy){let r=t.proxy;Object.assign(r,e)}}const ra=Symbol.for("InnerPageScopeKey"),aa=(e,t)=>({inheritAttrs:!0,props:{...ne,...cn,name:{type:String,required:!1,default:""},modelValue:{type:Object,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1}},setup(r,n){const l=Nt(r.name,r);if(l){const h=on(l,r);ue({getPageContentHeight:()=>nt(l,h),getPageContentWidth:()=>rt(l,h),getPageHeaderHeight:()=>et(l,h),getPageFooterHeight:()=>tt(l,h)});const c=a.inject(ra,!1);h&&c&&(h.contentHeight="100%")}const o=a.computed(()=>({[e]:!0})),s=a.computed(()=>({})),u=a.getCurrentInstance(),i=h=>{const c=u?.proxy;c&&typeof c.setNameValidateRules=="function"&&c.setNameValidateRules(h,!0)};return a.watch(()=>r.rules,(h,c)=>{if(!h&&!c)return;const g=a.toRaw(c),E=a.toRaw(h),I=E?Reflect.ownKeys(E):[];(g?Reflect.ownKeys(g):[]).forEach($=>{I.includes($)||(E[$]=[])}),i(E)},{deep:!0}),a.onMounted(()=>{if(r.rules){const h=a.toRaw(r.rules);i(h)}}),{classes:o,styles:s}}}),{componentName:la,create:oa,scope:ti}=Y("page"),ia=oa(aa(la));function sa(e,t,r,n,l,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const Te=(e,t)=>{const r=e.__vccOpts||e;for(const[n,l]of t)r[n]=l;return r},hn=Te(ia,[["render",sa]]),ua=(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 l=we(),o=l?Qe(l):null;o&&(o.headerMounted=!0);const s=a.computed(()=>({[e]:!0})),u=r.height!==null&&r.height!==void 0?X(r.height):null,i=a.computed(()=>{const m={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(l&&o){const S=ye(r.padding??o.footerPadding);return Object.assign(m,S),u&&(o.headerHeight=u),m.height=o.headerHeight,m.safeAreaTop=o.safeAreaTop,m.safeAreaTop&&(m.top=m.safeAreaTop+(S.top??0),m.height=m.height+o.safeAreaTop),m.height,m.safeAreaTop,m}if(u&&(m.height=u),r.padding){const S=ye(r.padding);Object.assign(m,S)}return m});a.onUnmounted(()=>{o&&(o.headerMounted=!1)});const h=a.computed(()=>{const m={};return i.value.height!==null&&i.value.height!==void 0&&(m.height=`${i.value.height}px`),i.value.top!==null&&i.value.top!==void 0&&(m.paddingTop=`${i.value.top}px`),i.value.left!==null&&i.value.left!==void 0&&(m.paddingLeft=`${i.value.left}px`),i.value.right!==null&&i.value.right!==void 0&&(m.paddingRight=`${i.value.right}px`),i.value.bottom!==null&&i.value.bottom!==void 0&&(m.paddingBottom=`${i.value.bottom}px`),m}),c=a.computed(()=>{const m={};return i.value.safeAreaTop!==null&&i.value.safeAreaTop!==void 0&&(m.top=`${i.value.safeAreaTop}px`),m}),g=a.computed(()=>{const m={};return i.value.safeAreaTop!==null&&i.value.safeAreaTop!==void 0&&(m.top=`${i.value.safeAreaTop}px`),m}),E=a.computed(()=>r.leftShow?r.leftIcon||r.leftText||n.slots.left:!1),I=a.computed(()=>!(i.value.height!==null&&i.value.height!==void 0&&i.value.height<=0)),C=a.computed(()=>r.titleShow?r.title||r.titleIcon||n.slots.default:!1),$=a.computed(()=>r.rightShow?r.rightIcon||r.rightText||n.slots.right:!1),j=a.computed(()=>{let m={};return typeof r.leftIcon=="object"?Object.assign(m,r.leftIcon):m.name=r.leftIcon,m}),v=a.computed(()=>{let m={};return typeof r.titleIcon=="object"?Object.assign(m,r.titleIcon):m.name=r.titleIcon,m}),D=a.computed(()=>{let m={};return typeof r.rightIcon=="object"?Object.assign(m,r.rightIcon):m.name=r.rightIcon,m});function R(){n.emit("back")}function N(){n.emit("click-title")}function y(){n.emit("click-right")}function p(){n.emit("click-right-text")}return{classes:s,styles:h,mHeaderShow:I,leftStyles:c,rightStyles:g,mLeftShow:E,mTitleShow:C,mRightShow:$,mLeftIcon:j,mTitleIcon:v,mRightIcon:D,handleLeft:R,handleCenter:N,handleRight:y,handleRightText:p}}}),{componentName:ca,create:fa,scope:ni}=Y("header-bar"),da=fa(ua(ca)),ha={key:1,class:"fox-header-bar__title"};function ga(e,t,r,n,l,o){const s=a.resolveComponent("fox-ext-icon");return e.mHeaderShow?(a.openBlock(),a.createElementBlock("view",{key:0,class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"all",{},()=>[e.mLeftShow?(a.openBlock(),a.createElementBlock("view",{key:0,class:"fox-header-bar__left",style:a.normalizeStyle(e.leftStyles)},[a.renderSlot(e.$slots,"left",{},()=>[e.leftIcon?(a.openBlock(),a.createBlock(s,{key:0,color:e.mLeftIcon.color,name:e.mLeftIcon.name,onClick:e.handleLeft},null,8,["color","name","onClick"])):a.createCommentVNode("",!0),e.leftText?(a.openBlock(),a.createElementBlock("view",{key:1,onClick:t[0]||(t[0]=(...u)=>e.handleLeft&&e.handleLeft(...u))},a.toDisplayString(e.leftText),1)):a.createCommentVNode("",!0)])],4)):a.createCommentVNode("",!0),e.mTitleShow?(a.openBlock(),a.createElementBlock("view",ha,[a.renderSlot(e.$slots,"default",{},()=>[e.title?(a.openBlock(),a.createElementBlock("view",{key:0,class:"text-title",onClick:t[1]||(t[1]=(...u)=>e.handleTitle&&e.handleTitle(...u))},a.toDisplayString(e.title),1)):a.createCommentVNode("",!0),e.titleIcon?(a.openBlock(),a.createBlock(s,{key:1,class:"icon-title",color:e.mTitleIcon.color,name:e.mTitleIcon.name,onClick:e.handleCenter},null,8,["color","name","onClick"])):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0),e.mRightShow?(a.openBlock(),a.createElementBlock("view",{key:2,class:"fox-header-bar__right",style:a.normalizeStyle(e.rightStyles)},[a.renderSlot(e.$slots,"right",{},()=>[e.rightText?(a.openBlock(),a.createElementBlock("view",{key:0,onClick:t[2]||(t[2]=(...u)=>e.handleRightText&&e.handleRightText(...u))},a.toDisplayString(e.rightText),1)):a.createCommentVNode("",!0),e.rightIcon?(a.openBlock(),a.createBlock(s,{key:1,class:"right-icon",color:e.mRightIcon.color,name:e.mRightIcon.name,onClick:e.handleRight},null,8,["color","name","onClick"])):a.createCommentVNode("",!0)])],4)):a.createCommentVNode("",!0)])],6)):a.createCommentVNode("",!0)}const gn=Te(da,[["render",ga]]);function ma(e,t){return{props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(r,n){const l=we(),o=l?Qe(l):null;o&&(o.footerMounted=!0);const s=a.computed(()=>{const c=e;let g=e;return r.align==="left"?g=`${g}__left`:r.align==="right"?g=`${g}__right`:g=`${g}__center`,{[c]:!0,[g]:!0}}),u=r.height!==null&&r.height!==void 0?X(r.height):null,i=a.computed(()=>{const c={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(l&&o){const g=ye(r.padding??o.footerPadding);return Object.assign(c,g),u&&(o.footerHeight=u),c.height=o.footerHeight,c.safeAreaBottom=o.safeAreaBottom,c.safeAreaBottom&&(c.height=c.height+o.safeAreaBottom,c.bottom=c.safeAreaBottom+(g.bottom??0)),c}if(u&&(c.height=u),r.padding){const g=ye(r.padding);Object.assign(c,g)}return c});a.onUnmounted(()=>{o&&(o.footerMounted=!1)});const h=a.computed(()=>{const c={};return i.value.height!==null&&i.value.height!==void 0&&(c.height=z(i.value.height)),i.value.top!==null&&i.value.top!==void 0&&(c.paddingTop=z(i.value.top)),i.value.left!==null&&i.value.left!==void 0&&(c.paddingLeft=z(i.value.left)),i.value.right!==null&&i.value.right!==void 0&&(c.paddingRight=z(i.value.right)),i.value.bottom!==null&&i.value.bottom!==void 0&&(c.paddingBottom=z(i.value.bottom)),c});return{classes:s,styles:h}}}}const{componentName:ya,create:pa,scope:ri}=Y("footer-bar"),ba=pa(ma(ya));function Sa(e,t,r,n,l,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const mn=Te(ba,[["render",Sa]]);function wa(e,t){return{props:{padding:{type:[Object],required:!1}},setup(r){const n=we(),l=a.computed(()=>({[e]:!0})),o=a.computed(()=>{const s={};if(n){const u=Qe(n);if(u){if(r.padding){const g=ye(r.padding);Object.assign(u.contentPadding,g)}const i=et(n,u),h=tt(n,u);let c="";if(u.contentHeight?c=`${u.contentHeight}`:c=`${u.height}px`,u.contentPadding,s.height=c,u.contentPadding.top!==null&&u.contentPadding.top!==void 0||i>0){const g=(u&&u.contentPadding&&u.contentPadding.top)??0;s.paddingTop=`${i+g}px`}if(u.contentPadding.bottom!==null&&u.contentPadding.bottom!==void 0||h>0){const g=(u&&u.contentPadding&&u.contentPadding.bottom)??0;s.paddingBottom=`${h+g}px`}return u.contentPadding.left!==null&&u.contentPadding.left!==void 0&&(s.paddingLeft=`${u.contentPadding.left}px`),u.contentPadding.right!==null&&u.contentPadding.right!==void 0&&(s.paddingRight=`${u.contentPadding.right}px`),s}}if(r.padding){const u=ye(r.padding);u.left!==null&&u.left!==void 0&&(s.paddingLeft=`${u.left}px`),u.top!==null&&u.top!==void 0&&(s.paddingTop=`${u.top}px`),u.right!==null&&u.right!==void 0&&(s.paddingRight=`${u.right}px`),u.bottom!==null&&u.bottom!==void 0&&(s.paddingBottom=`${u.bottom}px`)}return s});return{classes:l,styles:o}}}}const{componentName:$a,create:va,scope:ai}=Y("content"),Ea=va(wa($a));function Ca(e,t,r,n,l,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const yn=Te(Ea,[["render",Ca]]),je="GroupStateKey",pn=Symbol.for("GroupScopeKey");function ot(){return a.inject(pn,!1)}function it(e=!0){a.provide(pn,e)}function Oa(e,t={}){const r=e.get("width",-1),n={type:"form",width:r,column:-1,gutter:-1};Object.assign(n,t);const l=a.shallowRef(n),o=a.markRaw({layout:l,passport:0,order:{index:0}});return e.set(je,o),o}function bn(e,t,r=-1,n=-1,l=!1,o){const s=e.get(je);if(!s)return;const u=e.get("groupLayout")??{};r===-1&&(r=u.column??1),n===-1&&(n=u.gutter??0),o||(o=u.minItemWidth??-1);const i=()=>{const h=t===""||t===-1,c=X(t);let g=_.toNumber(r);const E=X(n);if(!h){let $=(c-(g-1)*E)/g;for(;o!==-1&&g>1&&$<o;)g--,$=(c-(g-1)*E)/g}let I=!1;const C=s.layout;C.value.width=t,C.value.column!==g&&(C.value.column=g,I=!0),C.value.gutter!==E&&(C.value.gutter=E,I=!0),I&&a.triggerRef(C)};if(l)i();else{const h=++s.passport;setTimeout(()=>{h===s.passport&&i()},50)}}function We(e,t=!1){let r;return t?r=e.getForParent(je):r=e.get(je),r.layout}function It(e,t=!1){let r;return t?r=e.getForParent(je):r=e.get(je),r.order}function de(e,t=1){return t==="stretch"?-1:(t=_.toNumber(t),t===-1?100:100*t/e)}function Na(e){return e===window}const st=e=>{const t=a.unref(e);if(Na(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}},ve=(e,t)=>e?t?`fox-group__${e}-${t}`:"":`fox-group__${t}`,xa=e=>{if(!e.props||e.props.span===null||e.props.span===void 0){const t=e.type,r=(t.props&&t.props.span&&t.props.span.default)??1;return typeof r=="function"?r():r}return e.props.span},Ta=e=>{if(!e.props||e.props.offset===null||e.props.offset===void 0){const r=e.type,n=(r.props&&r.props.offset&&r.props.offset.default)??0;return typeof n=="function"?n():n}const t=_.toNumber(e.props.offset);return t<0?0:t},Va=e=>{if(!e.props||e.props.foxItemType===null||e.props.foxItemType===void 0){const t=e.type,r=(t.props&&t.props.foxItemType&&t.props.foxItemType.default)??"Item";return typeof r=="function"?r():r}return e.props.foxItemType??"Item"},Ia=e=>{if(!e.props||e.props.foxSubItemCount===null||e.props.foxSubItemCount===void 0){const r=e.type,n=(r.props&&r.props.foxSubItemCount&&r.props.foxSubItemCount.default)??"Item";return typeof n=="function"?n():n}const t=_.toNumber(e.props.foxSubItemCount);return t<0?1:t};function Aa(e,t){return{props:{...ne,...cn,...fn},setup(r,n){const l=Nt(r.name,r,dn),o=Oa(l,{type:r.type}),s=ot();it(!0);const u=a.computed(()=>s&&l?We(l,!0).value:null),i=a.getCurrentInstance(),h=y=>{const p=i?.proxy;p&&typeof p.setNameValidateRules=="function"&&p.setNameValidateRules(y,!0)};a.watch(()=>r.rules,(y,p)=>{if(!y&&!p)return;const m=a.toRaw(p),S=a.toRaw(y),O=S?Reflect.ownKeys(S):[];(m?Reflect.ownKeys(m):[]).forEach(M=>{O.includes(M)||(S[M]=[])}),h(S)},{deep:!0}),a.onMounted(()=>{if(r.rules){const y=a.toRaw(r.rules);h(y)}});const c=e,g=a.computed(()=>{const y={};if(u.value){const p=We(l,!0);if(p.value.type==="flex"){if(r.width){const O=z(r.width);y.width=O}else{const O=de(p.value.column,r.span);O>0&&(y.width=`${O}%`)}if(r.height){const O=z(r.height);y.height=O}const m=de(p.value.column,r.offset);m>0&&(y["margin-left"]=`${m}%`);const S=p.value.gutter/2;S>0&&(y["padding-left"]=`${S}px`,y["padding-right"]=`${S}px`)}else if(p.value.type==="flow"){if(r.width){const O=z(r.width);y.width=O}else{const O=de(p.value.column,r.span);O>0&&(y.width=`${O}%`)}if(r.height){const O=z(r.height);y.height=O}const m=de(p.value.column,r.offset);m>0&&(y["margin-left"]=`${m}%`);const S=p.value.gutter/2;if(S>0){const O=l?It(l,!0):null;if(O){let w=_.toNumber(r.offset)+_.toNumber(r.span);(w===-1||w>p.value.column)&&(w=p.value.column);const M=Math.ceil((O.index+1)/p.value.column),B=Math.ceil((O.index+w)/p.value.column);if(M===B){const A=(O.index+1)%p.value.column,k=(O.index+w)%p.value.column,b=A===1?0:S,x=k===0?0:S;y["padding-left"]=`${b}px`,y["padding-right"]=`${x}px`}else{const A=w%p.value.column,k=0,b=A===0?0:S;y["padding-left"]=`${k}px`,y["padding-right"]=`${b}px`}O.index+=w}else y["padding-left"]=`${S}px`,y["padding-right"]=`${S}px`}}}else{if(r.width){const p=z(r.width);y.width=p}if(r.height){const p=z(r.height);y.height=p}}return y}),E=a.computed(()=>r.type==="flex"?{[`${ve("",r.type)}`]:!0,[`${ve("justify",r.justify)}`]:!0,[`${ve("align",r.align)}`]:!0,[`${ve("flex",r.flexWrap)}`]:!0,[`${c}__gutter`]:!0}:r.type==="flow"?{[`${ve("",r.type)}`]:!0,[`${ve("justify",r.justify)}`]:!0,[`${ve("align",r.align)}`]:!0}:{[`${ve("",r.type)}`]:!0,[`${c}__gutter`]:!0}),I=a.toRef(r,"title"),C=a.toRef(r,"gutter"),$=a.toRef(r,"column"),j=a.computed(()=>s?!0:_.toBoolean(r.isWrap)),v=a.ref([]),D=y=>{v.value.push(y)},R=a.ref(-1);if(bn(l,R.value,$.value,C.value,!0,r.minItemWidth),r.autoLayout){a.watch([R,$,C],([p,m,S])=>{o.order.index=0,bn(l,p,m,S,!1,r.minItemWidth)});let y=null;a.onMounted(()=>{if(_e&&v.value&&v.value.length>0){const p=v.value[0];R.value=st(p).width,window.ResizeObserver&&(y=new window.ResizeObserver(()=>{const m=st(p).width;m>0&&m!==R.value&&(R.value=m)}),y.observe(p))}}),a.onUnmounted(()=>{y?.disconnect()})}const N=(y,p,m,S)=>{const O={...E.value};return p===0&&(O[`${c}__first`]=!0),m>=S-1&&(O[`${c}__last`]=!0),a.h("div",{ref:D,key:`${p}`,class:O},y)};return()=>{o.order.index=0;const y=[];let p=0;if(n.slots.title){const w={key:`${p++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},M=a.h("div",w,[n.slots.title()]);y.push(M)}else if(I.value){const w={key:`${p++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},M=[];if(r.showMark){const k=a.h("div",{class:{[`${c}__title-mark`]:!0}});M.push(k)}const B=a.h("div",{class:{[`${c}__title-text`]:!0}},[I.value]);M.push(B);const A=a.h("div",w,M);y.push(A)}const m=n.slots.default?n.slots.default():[];let S=[],O=0;if(r.type==="flex"){for(let w=0;w<m.length;w++){const M=String(m[w].type);if(M==="Symbol(Comment)")continue;if(M==="Symbol(Fragment)")if(Array.isArray(m[w].children)){const q=m[w].children;if(Reflect.apply([].splice,m,[w,1,...q]),q.length===0){w-=1;continue}}else{m.splice(w,1),w-=1;continue}const B=m[w];if(Va(B)==="fragment"){let q=Ia(B);q>o.layout.value.column?q=o.layout.value.column:q<=0&&(q=1);const V=O+q;if(V>o.layout.value.column){const F=N([...S],p++,w-1,m.length);y.push(F),O=q,S=[B]}else S.push(B),O=V;continue}const k=xa(B),b=Ta(B);if(k==="stretch"){if(O<o.layout.value.column){S.push(B);const q=N([...S],p++,w,m.length);y.push(q)}else{const q=N([...S],p++,w-1,m.length);y.push(q);const V=N([B],p++,w,m.length);y.push(V)}O=0,S=[];continue}let x=_.toNumber(k);if(x===-1){if(S.length>0){const V=N([...S],p++,w-1,m.length);y.push(V)}const q=N([B],p++,w,m.length);y.push(q),O=0,S=[];continue}x>o.layout.value.column?x=o.layout.value.column:x<=0&&(x=1);const T=O+x+b;if(T>o.layout.value.column){const q=N([...S],p++,w-1,m.length);y.push(q),O=x+b,S=[B]}else S.push(B),O=T}if(S.length>0){const w=N([...S],p++,m.length,m.length);y.push(w)}}else if(r.type==="flow"){const w=N(m,p++,0,m.length);y.push(w)}else for(let w=0;w<m.length;w++){const M=m[w],B=N([M],p++,w,m.length);y.push(B)}return j.value?a.h("div",{class:{[`${c}`]:!0},style:g.value},[y]):y}}}}const{componentName:Ra,create:ja,scope:li}=Y("group"),Sn=ja(Aa(Ra)),wn={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"&yen;"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:[Number,String],required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:ka,create:Ma}=Y("price"),Da=Ma({props:{...wn},setup(e){const t=a.computed(()=>({[ka]:!0})),r=a.computed(()=>e.needSymbol?e.symbol:""),n=a.computed(()=>He(e.price)==0?"":$t(e.price,e.decimalLength,!0,_.toNumber(e.digits),e.separator)),l=a.computed(()=>{let s=n.value;if(s.length==0)return"";let u=s.indexOf(".");return s.substring(0,u)}),o=a.computed(()=>{let s=n.value;if(s.length==0)return"";let u=s.indexOf(".");return s.substring(u+1)});return{classes:t,showSymbol:r,intText:l,decimalText:o}}}),qa=["innerHTML"],Ba=["innerHTML"];function Fa(e,t,r,n,l,o){return a.openBlock(),a.createElementBlock("view",{class:a.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(a.openBlock(),a.createElementBlock("view",{key:0,class:a.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,qa)):a.createCommentVNode("",!0),a.createElementVNode("view",{class:a.normalizeClass(`fox-price--${e.size}`)},a.toDisplayString(e.intText),3),e.decimalText.length!=0?(a.openBlock(),a.createElementBlock("view",{key:1,class:a.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):a.createCommentVNode("",!0),a.createElementVNode("view",{class:a.normalizeClass(`fox-price--decimal-${e.size}`)},a.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(a.openBlock(),a.createElementBlock("view",{key:2,class:a.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Ba)):a.createCommentVNode("",!0)],2)}const ut=Te(Da,[["render",Fa]]),{componentName:At,create:Pa}=Y("hint-text"),La=Pa({components:{[ut.name]:ut},props:{...wn,type:{type:String,default:"number"},id:{type:String},startPoint:{type:Object},width:{type:Number},height:{type:Number,default:40},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,t){const l=a.computed(()=>({[At]:!0})),o=a.computed(()=>({left:z(e.startPoint.x),top:z(e.startPoint.y-e.height-10-4),height:z(e.height),width:z(e.width)})),s=a.computed(()=>({[`${At}__content`]:!0})),u=a.computed(()=>({})),i=a.computed(()=>({[`${At}__arrow`]:!0})),h=a.computed(()=>({top:z(e.height)}));return{classes:l,styles:o,textClasses:s,textStyles:u,arrowClasses:i,arrowStyles:h}}}),_a={key:1,class:"text"};function Ha(e,t,r,n,l,o){const s=a.resolveComponent("fox-price");return a.openBlock(),a.createBlock(a.Transition,{name:"hint-text-fade"},{default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.createElementVNode("div",{class:a.normalizeClass(e.textClasses),style:a.normalizeStyle(e.textStyles)},[e.type=="number"?(a.openBlock(),a.createBlock(s,{key:0,price:e.message,position:"before"},null,8,["price"])):(a.openBlock(),a.createElementBlock("span",_a,a.toDisplayString(e.message),1))],6),a.createElementVNode("div",{class:a.normalizeClass(e.arrowClasses),style:a.normalizeStyle(e.arrowStyles)},null,6)],6),[[a.vShow,e.visible]])]),_:1})}const ct=Te(La,[["render",Ha]]);class $n{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 Ka(e){return e===window}const vn=e=>{const t=a.unref(e);if(!t)return{x:0,y:0};if(Ka(t))return{x:0,y:0};let r=0,n=0,l=t;for(;l!==null;)r+=l.offsetLeft,n+=l.offsetTop,l=l.offsetParent;let o=0,s=0;for(l=t;l!==document;)s+=l.scrollTop,o+=l.scrollLeft,l=l.parentNode;return r-=o,n-=s,{x:r,y:n}},Rt={},za=new $n,ke=new Map,jt=e=>{if(e){const t=document.getElementById(e);ke.delete(e),t&&document.body.removeChild(t)}else{for(const t of ke.keys()){const r=document.getElementById(t);r&&document.body.removeChild(r)}ke.clear()}},Ga=e=>{const t=document.getElementById(e.id);if(t){const r=ke.get(e.id);r?e={...Rt,...r,...e}:e={...Rt,...e};const n=a.createVNode(ct,e);return a.render(n,t),e.id}},Wa=e=>{e.unmount=jt;let t;if(e.id){if(t=e.id,ke.has(t))return Ga(e)}else t=`hinttext_${za.get()}`;e={...Rt,...e},e.id=t,ke.set(t,e);const r=document.createElement("div");r.id=e.id;const n=a.createVNode(ct,e);return a.render(n,r),document.body.appendChild(r),t},Ya=e=>{if(!e){console.warn("[FoxUI HintText]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},ft={show(e,t,r={},n=!0){n&&jt(),Ya(t);const l=vn(e),o={x:l.x,y:l.y},s=r.width??st(e).width;return Wa({...r,message:t,startPoint:o,width:s})},hide(e){jt(e)},install(e){e.config.globalProperties.$hintText=ft}},{componentName:En,create:Ua}=Y("item"),Xa=Ua({inheritAttrs:!0,props:{...ne,...se},setup(e,t){le({componentName:En,validate:!1},e.prop??e.name);const r=we(),n=ot();it(!1);const l=a.computed(()=>n&&r?We(r,!1).value:null),o=En,s=a.computed(()=>({[o]:!0,[`${o}__gutter`]:l.value&&l.value.type!=="flow",[`${o}__stretch`]:e.span==="stretch",[`${o}__input--border`]:e.hasBorder,"is-error":!!O.value,"is-warn":!!m.value,"is-info":!!y.value})),u=a.computed(()=>{const V={};if(l.value)if(l.value.type==="flex"){if(e.width)V.width=z(e.width);else{const P=de(l.value.column,e.span);P>0&&(V.width=`${P}%`)}const F=de(l.value.column,e.offset);F>0&&(V["margin-left"]=`${F}%`);const L=l.value.gutter/2;L>0&&(V["padding-left"]=`${L}px`,V["padding-right"]=`${L}px`)}else if(l.value.type==="flow"){if(e.width)V.width=z(e.width);else{const P=de(l.value.column,e.span);P>0&&(V.width=`${P}%`)}const F=de(l.value.column,e.offset);F>0&&(V["margin-left"]=`${F}%`);const L=l.value.gutter/2;if(L>0){const P=r?It(r,!1):null;if(P){let H=_.toNumber(e.offset)+_.toNumber(e.span);(H===-1||H>l.value.column)&&(H=l.value.column);const G=Math.ceil((P.index+1)/l.value.column),W=Math.ceil((P.index+H)/l.value.column);if(G===W){const he=(P.index+1)%l.value.column,re=(P.index+H)%l.value.column,ee=he===1?0:L,J=re===0?0:L;V["padding-left"]=`${ee}px`,V["padding-right"]=`${J}px`}else{const he=H%l.value.column,re=0,ee=he===0?0:L;V["padding-left"]=`${re}px`,V["padding-right"]=`${ee}px`}P.index+=H}else V["padding-left"]=`${L}px`,V["padding-right"]=`${L}px`}}else return e.width&&(V.width=z(e.width)),V;else e.width&&(V.width=z(e.width));return V}),i=a.ref(null),h=a.computed({get:()=>i.value??_.toBoolean(e.isRequired),set:V=>{i.value=V}}),c=a.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),g=Re(a.toRef(e,"labelPosition"),"labelPosition",at.Near),E=a.computed(()=>g&&g.value==="top"?"top":g&&g.value==="right"?"right":"left"),I=a.computed(()=>({[`${o}__main`]:!0,[`${o}__main--${E.value}`]:!0})),C=a.computed(()=>({label:!0,[`label--${E.value}`]:!0})),$=Re(a.toRef(e,"labelWidth"),"labelWidth",at.Near),j=a.computed(()=>$&&$.value?{width:z($.value)}:{}),v=a.computed(()=>({["label--string"]:!0,["label--required"]:h.value})),D=a.computed(()=>({content:!0,[e.contentClass]:!0})),R=a.computed(()=>({...e.contentStyle})),N=a.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});ue({setRequired(V){h.value=V},setErrorTip(V){N.errorTip=V},setErrorIcon(V){N.errorIcon=V},setWarnTip(V){N.warnTip=V},setWarnIcon(V){N.warnIcon=V},setInfoTip(V){N.infoTip=V},setInfoIcon(V){N.infoIcon=V}});const y=a.computed(()=>e.infoTip||N.infoTip),p=a.computed(()=>e.infoIcon||N.infoIcon),m=a.computed(()=>e.warnTip||N.warnTip),S=a.computed(()=>e.warnIcon||N.warnIcon),O=a.computed(()=>e.errorTip||N.errorTip),w=a.computed(()=>e.errorIcon||N.errorIcon),M=a.computed(()=>O.value?"error":m.value?"warn":y.value?"info":""),B=a.computed(()=>M.value.length>0),A=a.computed(()=>M.value==="error"?O.value:M.value==="warn"?m.value:M.value==="info"?y.value:""),k=a.computed(()=>M.value==="error"?w.value:M.value==="warn"?S.value:M.value==="info"?p.value:null),b=a.computed(()=>{let V={[`${o}__tip`]:!0,[`${o}__tip--${M.value}`]:!0};return M.value==="error"&&e.errorClass?V[`${e.errorClass}`]=!0:M.value==="warn"&&e.warnClass?V[`${e.warnClass}`]=!0:M.value==="info"&&e.infoClass&&(V[`${e.infoClass}`]=!0),V}),x=a.computed(()=>{let V={};return g&&g.value==="top"?V["padding-left"]="0px":$&&$.value&&(V["padding-left"]=z($.value)),V}),T=a.ref();let q="";return a.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([V,F,L,P])=>{!T.value||(V&&!Q(F)?q?ft.show(T.value,F,{...P,id:q,type:L}):q=ft.show(T.value,F,{...P,type:L}):ft.hide(q))}),{classes:s,styles:u,mainClasses:I,hasLabel:c,labelClasses:C,labelStyles:j,labelStringClasses:v,contentClasses:D,contentStyles:R,contentRef:T,hasTip:B,mTip:A,mIcon:k,tipClasses:b,tipStyles:x}}}),Za={key:0,class:"fox-item__tip-icon"},Ja={class:"fox-item__tip-text"};function Qa(e,t,r,n,l,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.createElementVNode("div",{class:a.normalizeClass(e.mainClasses)},[e.hasLabel?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(e.labelClasses),style:a.normalizeStyle(e.labelStyles)},[a.createElementVNode("div",{class:a.normalizeClass(e.labelStringClasses)},[a.renderSlot(e.$slots,"label",{},()=>[a.createTextVNode(a.toDisplayString(e.label),1)])],2)],6)):a.createCommentVNode("",!0),a.createElementVNode("div",{ref:"contentRef",class:a.normalizeClass(e.contentClasses),style:a.normalizeStyle(e.contentStyles)},[a.renderSlot(e.$slots,"prepend"),a.renderSlot(e.$slots,"default"),a.renderSlot(e.$slots,"append")],6)],2),a.createVNode(a.Transition,{name:"fox-item__animate"},{default:a.withCtx(()=>[e.hasTip?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(e.tipClasses),style:a.normalizeStyle(e.tipStyles)},[e.mIcon?(a.openBlock(),a.createElementBlock("div",Za,a.toDisplayString(e.mIcon),1)):a.createCommentVNode("",!0),a.createElementVNode("div",Ja,a.toDisplayString(e.mTip),1)],6)):a.createCommentVNode("",!0)]),_:1}),a.renderSlot(e.$slots,"hide")],6)}const oe=Te(Xa,[["render",Qa]]);function el(e,t){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1}},setup(r,n){const l=we(),o=ot();it(!1);const s=a.computed(()=>o&&l?We(l,!1).value:null),u=e,i=a.computed(()=>({[u]:!0,[`${u}__gutter`]:s.value&&s.value.type!=="flow",[`${u}__stretch`]:r.span==="stretch"})),h=a.computed(()=>{const c={};if(s.value)if(s.value.type==="flex"){if(r.width)c.width=z(r.width);else{const I=de(s.value.column,r.span);I>0&&(c.width=`${I}%`)}const g=de(s.value.column,r.offset);g>0&&(c["margin-left"]=`${g}%`);const E=s.value.gutter/2;E>0&&(c["padding-left"]=`${E}px`,c["padding-right"]=`${E}px`)}else if(s.value.type==="flow"){if(r.width)c.width=z(r.width);else{const I=de(s.value.column,r.span);I>0&&(c.width=`${I}%`)}const g=de(s.value.column,r.offset);g>0&&(c["margin-left"]=`${g}%`);const E=s.value.gutter/2;if(E>0){const I=l?It(l,!1):null;if(I){let C=_.toNumber(r.offset)+_.toNumber(r.span);(C===-1||C>s.value.column)&&(C=s.value.column);const $=Math.ceil((I.index+1)/s.value.column),j=Math.ceil((I.index+C)/s.value.column);if($===j){const v=(I.index+1)%s.value.column,D=(I.index+C)%s.value.column,R=v===1?0:E,N=D===0?0:E;c["padding-left"]=`${R}px`,c["padding-right"]=`${N}px`}else{const v=C%s.value.column,D=0,R=v===0?0:E;c["padding-left"]=`${D}px`,c["padding-right"]=`${R}px`}I.index+=C}else c["padding-left"]=`${E}px`,c["padding-right"]=`${E}px`}}else return r.width&&(c.width=z(r.width)),c;else r.width&&(c.width=z(r.width));return c});return()=>{const c={class:i.value,style:h.value};return n.slots&&typeof n.slots.default=="function"?a.h("div",c,n.slots.default()):a.h("div",c)}}}}const{componentName:tl,create:nl,scope:oi}=Y("slot-item"),Cn=nl(el(tl));function rl(e,t){return{props:{span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]},divide:{type:[Boolean],required:!1,default:!1}},setup(r,n){const l=e,o=a.computed(()=>({[l]:!0,[`${l}__stretch`]:r.span==="stretch",[`${l}__${r.align}`]:!0})),s=we(),u=ot();it(!1);const i=a.computed(()=>{const c={};if(u&&s){const g=We(s,!1);if(g.value.type!=="flex")return r.width&&(c.width=z(r.width)),c;if(r.width)c.width=z(r.width);else{const C=de(g.value.column,r.span);C>0&&(c.width=`${C}%`)}const E=de(g.value.column,r.offset);E>0&&(c["margin-left"]=`${E}%`);const I=g.value.gutter/2;I>0&&(c["padding-left"]=`${I}px`,c["padding-right"]=`${I}px`)}else r.width&&(c.width=z(r.width));return c}),h=a.computed(()=>({[`${l}__content`]:!0}));return()=>{const c=[];if(n.slots.default){const C=n.slots.default();if(r.divide)for(let $=0;$<C.length;$++){if($>0){const j=a.h("div",{class:{[`${l}__divide`]:!0}});c.push(j)}c.push(C[$])}else Reflect.apply([].push,c,C)}const g={class:h.value},E=a.h("div",g,c),I={class:o.value,style:i.value};return a.h("div",I,[E])}}}}const{componentName:al,create:ll,scope:ii}=Y("row-item"),On=ll(rl(al)),Nn={modelValue:{type:[String,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 ol(e,t,r){return{props:{...ne,...se,...Nn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=a.ref(!1),h=fe(a.computed(()=>n.disabled)),c=ce(a.computed(()=>n.readonly)),g=U(n,"modelValue"),E=e,I=a.computed(()=>({[E]:!0})),C=m=>{g.value=m,o("update:modelValue",m),o("input",m)},$=m=>{o("change",m)};let j=U(n,"hintText"),v=a.ref(!1);const D=m=>{let O=m.target.value;i.value=!0,Q(j.value)||(v.value=!0),o("focus",O,m)},R=m=>{setTimeout(()=>{v.value&&(v.value=!1),i.value=!1},0);let O=m.target.value;n.maxLength&&O.length>Number(n.maxLength)&&(O=O.slice(0,Number(n.maxLength))),o("blur",O,m)},N=()=>{o("clear","")},y=a.computed(()=>He(n.unit)>0),p=a.ref();return ue({focus:()=>{p?.value.focus()},blur:()=>{p?.value.blur()},select:()=>{p?.value.select()}}),()=>{const S={...l.attrs,ref:p,class:I.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:h.value,readonly:c.value,modelValue:g.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:N,onChange:$,onInput:C,onFocus:D,onBlur:R},O={};l.slots.prepend&&(O.prepend=l.slots.prepend),l.slots.append&&(O.append=l.slots.append),l.slots.prefix&&(O.prefix=l.slots.prefix),l.slots.suffix?O.suffix=l.slots.suffix:y.value&&(O.suffix=()=>[n.unit]);const w=[],M=a.h(d.ElInput,S,O);w.push(M);const B={default:()=>w};if(l.slots.default){const x=l.slots.default();B.label=()=>x}const k={...ie(n,Nn),hintText:j.value,hintVisible:v.value,prop:`${n.prop}_item`};return a.h(r,k,B)}}}}const{componentName:il,create:sl,scope:ul}=Y("input-item"),xn=sl(ol(il,ul,oe));function Ve(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 Tn(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class cl{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const l=xe(this.proxy,t);return l===null?(console.error(`${t} component not found api function`),[]):(_.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await l(r,n))}}function fl(){const e=a.getCurrentInstance();return new cl(e.proxy)}function Vn(e,t,r){const n=Ve(e,t),l=Ve(e,r);if(n!==l)return!1;const o=Me(e,t),s=Me(e,r);return o===s}function In(e,t,r,n){if(n.length===0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const l=[];return t.forEach(o=>{for(let s of n){const u=Tn(e,s);if(Array.isArray(u)&&u.length>0){const i=In(e,o,r,u)??[];Reflect.apply([].push,l,i)}else{let i=!1;if(r==="text")i=Ve(e,s)===o;else if(r==="item")i=Vn(e,s,o);else{let h=Me(e,s);h==null&&(h=Ve(e,s)),i=h===o}if(i){l.push(s);break}}}}),l}function dl(e){return{text:e,value:e}}const An={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},remoteMethod:{type:[Function],required:!1},allowCreate:{type:Boolean,default:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function hl(e,t,r){return{props:{...ne,...se,...An},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=a.ref(null),h=a.ref([]),c=(b,x,T,q=!0)=>{const V=In(n,b,x,T);if(V===null){if(h.value===null||h.value.length===0)return;i.value=null,h.value=[],q&&(o("update:modelValue",null),o("change",null));return}let F=!0;if(V.length!==h.value.length)F=!1;else for(let L=0;L<V.length;L++){const P=V[L],H=h.value[L];if(!Vn(n,P,H)){F=!1;break}}if(!F){h.value=V;let L=[],P=[];V.forEach(G=>{L.push(Me(n,G)),n.valueType==="text"?P.push(Ve(n,G)):n.valueType==="item"?P.push(G):P.push(Me(n,G))});let H;n.multiple?(i.value=L,H=a.toRaw(P)):(i.value=L[0]??"",H=a.toRaw(P[0]??"")),q&&(o("update:modelValue",H),o("change",H))}},g=a.ref([]),E=fl();a.watch([()=>n.source,()=>n.params],async([b,x])=>{if(b){const T=await E.load("select",b,x);if(T.length>0)if(typeof T[0]=="string"){let F=T.map(L=>dl(L));g.value=F}else g.value=T}},{immediate:!0}),a.watch([()=>g.value,()=>n.modelValue],([b,x])=>{c(x,n.valueType,b,!1)});let I=null,C=a.ref(!1);typeof n.remoteMethod=="function"&&(I=async b=>{if(b!=null){C.value=!0;try{const x=await n.remoteMethod(b);g.value=x}catch(x){console.error(x)}C.value=!1}});const $=a.ref(!1),j=fe(a.computed(()=>n.disabled)),v=ce(a.computed(()=>n.readonly)),D=e,R=a.computed(()=>({[D]:!0})),N=b=>{n.allowCreate?(o("update:modelValue",b),o("change",b),i.value=b):c(b,"value",g.value,!0)};let y=U(n,"hintText"),p=a.ref(!1);const m=b=>{let T=b.target.value;$.value=!0,Q(y.value)||(p.value=!0),o("focus",T,b)},S=b=>{setTimeout(()=>{p.value&&(p.value=!1),$.value=!1},0);let T=b.target.value;n.maxLength&&T.length>Number(n.maxLength)&&(T=T.slice(0,Number(n.maxLength))),w.value?setTimeout(()=>{o("blur",T,b)},50):o("blur",T,b)},O=()=>{o("clear","")},w=a.ref(!1),M=b=>{w.value=b,o("visible-change",b)},B=b=>{o("remove-tag",b)},A=(b,x)=>{const T=[];return b.forEach((q,V)=>{const F=Tn(n,q);if(Array.isArray(F)&&F.length>0){const L=A(F,x),P=Ve(n,q),G={key:`${P}_${V}`,label:P};T.push(a.h(d.ElOptionGroup,G,{default:()=>L}))}else{const L=Me(n,q),P=Ve(n,q),H=_.toBoolean(q.disabled),W={key:`${L}_${V}`,label:P,disabled:H,value:L};typeof x=="function"?T.push(a.h(d.ElOption,W,{default:x})):T.push(a.h(d.ElOption,W))}}),T},k=a.ref();return ue({focus:()=>{k?.value.focus()},blur:()=>{k?.value.blur()}}),()=>{const x={...l.attrs,ref:k,class:R.value,clearable:n.clearable,multiple:n.multiple,placeholder:u.placeholder.value,disabled:j.value||v.value,modelValue:i.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:O,onChange:N,onFocus:m,onBlur:S,onVisibleChange:M,onRemoveTag:B};typeof I=="function"&&(x["remote-method"]=I,x.loading=C.value);const T={};l.slots.prefix&&(T.prefix=l.slots.prefix),l.slots.empty&&(T.empty=l.slots.empty),T.default=()=>A(g.value,l.slots.option);const q=[],V=a.h(d.ElSelect,x,T);q.push(V);const F={default:()=>q};if(l.slots.default){const G=l.slots.default();F.label=()=>G}const P={...ie(n,An),hintText:y.value,hintVisible:p.value,prop:`${n.prop??n.name}_item`};return a.h(r,P,F)}}}}const{componentName:gl,create:ml,scope:yl}=Y("select-item"),Rn=ml(hl(gl,yl,oe)),jn={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function pl(e,t,r){return{props:{...ne,...se,...jn},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=a.ref(!1),h=fe(a.computed(()=>n.disabled)),c=ce(a.computed(()=>n.readonly)),g=U(n,"modelValue"),E=e,I=a.computed(()=>({[E]:!0})),C=S=>{g.value=S,o("update:modelValue",S),o("change",S)};let $=U(n,"hintText"),j=a.ref(!1);const v=S=>{let w=S.target.value;i.value=!0,Q($.value)||(j.value=!0),o("focus",w,S)},D=S=>{setTimeout(()=>{j.value&&(j.value=!1),i.value=!1},0);let w=S.target.value;n.maxLength&&w.length>Number(n.maxLength)&&(w=w.slice(0,Number(n.maxLength))),o("blur",w,S)},R=()=>{o("clear","")},N=S=>{o("calendar-change",S)},y=(S,O,w)=>{o("panel-change",S,O,w)},p=S=>{o("visible-change",S)},m=a.ref();return ue({focus:()=>{m?.value.focus()},blur:()=>{m?.value.blur()},handleOpen:()=>{m?.value.handleOpen()},handleClose:()=>{m?.value.handleClose()}}),()=>{const O={...l.attrs,ref:m,class:I.value,placeholder:u.placeholder.value,disabled:h.value,readonly:c.value,modelValue:g.value,["onUpdate:modelValue"]:C,onClear:R,onFocus:v,onBlur:D,onCalendarChange:N,onPanelChange:y,onVisibleChange:p},w={};l.slots["range-separator"]&&(w["range-separator"]=l.slots["range-separator"]),l.slots.cell&&(w.default=l.slots.cell);const M=[],B=a.h(d.ElDatePicker,O,w);M.push(B);const A={default:()=>M};if(l.slots.default){const T=l.slots.default();A.label=()=>T}const b={...ie(n,jn),hintText:$.value,hintVisible:j.value,prop:`${n.prop}_item`};return a.h(r,b,A)}}}}const{componentName:bl,create:Sl,scope:wl}=Y("date-item"),kn=Sl(pl(bl,wl,oe)),Mn={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function $l(e,t,r){return{props:{...ne,...se,...Mn},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=a.ref(!1),h=fe(a.computed(()=>n.disabled)),c=ce(a.computed(()=>n.readonly)),g=U(n,"modelValue"),E=e,I=a.computed(()=>({[E]:!0})),C=p=>{g.value=p,o("update:modelValue",p),o("change",p)};let $=U(n,"hintText"),j=a.ref(!1);const v=p=>{let S=p.target.value;i.value=!0,Q($.value)||(j.value=!0),o("focus",S,p)},D=p=>{setTimeout(()=>{j.value&&(j.value=!1),i.value=!1},0);let S=p.target.value;n.maxLength&&S.length>Number(n.maxLength)&&(S=S.slice(0,Number(n.maxLength))),o("blur",S,p)},R=()=>{o("clear","")},N=p=>{o("visible-change",p)},y=a.ref();return ue({focus:()=>{y?.value.focus()},blur:()=>{y?.value.blur()},handleOpen:()=>{y?.value.handleOpen()},handleClose:()=>{y?.value.handleClose()}}),()=>{const m={...l.attrs,ref:y,class:I.value,placeholder:u.placeholder.value,disabled:h.value,readonly:c.value,modelValue:g.value,["onUpdate:modelValue"]:C,onClear:R,onFocus:v,onBlur:D,onVisibleChange:N},S={},O=[],w=a.h(d.ElTimePicker,m,S);O.push(w);const M={default:()=>O};if(l.slots.default){const b=l.slots.default();M.label=()=>b}const A={...ie(n,Mn),hintText:$.value,hintVisible:j.value,prop:`${n.prop}_item`};return a.h(r,A,M)}}}}const{componentName:vl,create:El,scope:Cl}=Y("time-item"),Dn=El($l(vl,Cl,oe)),qn={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Ol(e,t,r){return{props:{...ne,...se,...qn},emits:["change","update:modelValue","blur","focus","clear"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=a.ref(!1),h=fe(a.computed(()=>n.disabled)),c=ce(a.computed(()=>n.readonly)),g=U(n,"modelValue"),E=e,I=a.computed(()=>({[E]:!0})),C=y=>{g.value=y,o("update:modelValue",y),o("change",y)};let $=U(n,"hintText"),j=a.ref(!1);const v=y=>{let m=y.target.value;i.value=!0,Q($.value)||(j.value=!0),o("focus",m,y)},D=y=>{setTimeout(()=>{j.value&&(j.value=!1),i.value=!1},0);let m=y.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),o("blur",m,y)},R=()=>{o("clear","")},N=a.ref();return ue({focus:()=>{N?.value.focus()},blur:()=>{N?.value.blur()},handleOpen:()=>{N?.value.handleOpen()},handleClose:()=>{N?.value.handleClose()}}),()=>{const p={...l.attrs,ref:N,class:I.value,placeholder:u.placeholder.value,disabled:h.value,readonly:c.value,modelValue:g.value,["onUpdate:modelValue"]:C,onClear:R,onFocus:v,onBlur:D},m={},S=[],O=a.h(d.ElTimeSelect,p,m);S.push(O);const w={default:()=>S};if(l.slots.default){const k=l.slots.default();w.label=()=>k}const B={...ie(n,qn),hintText:$.value,hintVisible:j.value,prop:`${n.prop}_item`};return a.h(r,B,w)}}}}const{componentName:Nl,create:xl,scope:Tl}=Y("time-select-item"),Bn=xl(Ol(Nl,Tl,oe));function Fn(e,t=0){let r=`${e}`,n=r.indexOf(".");if(n==-1)return r;let l=n;for(let o=r.length-1;o>=n;o--)if(r.charAt(o)!="0"){l=o;break}return l-n<t?l=n+t+1:l!=n&&(l+=1),l>r.length?r=r.padEnd(l,"0"):r=r.substring(0,l),r}function Pn(e,t,r=20){if(typeof t=="string"&&(t=_.toNumber(t)),t==1||t==-1)return`${e}`;if(t==0)return"0";if(t>0){let n=Kt(`${e}`,`${t}`);return Fn(n)}else{let n=St(`${e}`,zt(`${t}`),20);return Fn(n)}}function Vl(e,t=-1,r=!1,n=3,l=","){return $t(e,t,r,n,l)}function Ln(e,t,r,n,l=!0){if(e=="")return"";if(e=Gt(e),t=_.toNumber(t),t==1)return e;if(n)e=Pn(e,t),r&&(e=="0"&&l?e=`${e}.`.padEnd(_.toNumber(r)+2,"0"):e=St(e,1,_.toNumber(r)));else{let o=-1*t;e=Pn(e,o)}return e}function _n(e,t){let r={maxValid:!0,minValid:!0,message:""};if(t.min!==void 0){let n=_.toBoolean(t.minInclude),l=wt(e,t.min);if(n&&l==-1||!n&&(l==0||l==-1)){let o="\u8BF7\u8F93\u5165\u4E0D\u5C0F\u4E8E {0} \u7684\u6570\u503C";r.message=o.replace("{0}",t.min),r.minValid=!1}}if(t.max!=null){let n=_.toBoolean(t.maxInclude),l=wt(e,t.max);(n&&l==1||!n&&(l==0||l==1))&&(r.maxValid=!1)}return r}const Hn={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 Il(e,t,r){return{props:{...ne,...se,...Hn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),s=a.ref(!1),u=fe(a.computed(()=>n.disabled)),i=ce(a.computed(()=>n.readonly)),h=U(n,"modelValue"),c=a.ref("");a.watch([()=>h.value,()=>n.rates,()=>n.precision],([A,k,b])=>{if(Q(A))return"";const x=Ln(A,k,b,!1);c.value!==x&&(c.value=x)},{immediate:!0});const g=a.computed(()=>{let A="";return s.value&&(A=c.value),A}),{t:E}=me.useFoxI18n(t),I=a.computed(()=>{let A=n.placeholder??"";return!s.value&&!Q(c.value)?A=Vl(c.value,n.decimalLength,n.autoPadding,n.digits,n.separator):A=E(["placeholder",A]),A}),C=e,$=a.computed(()=>({[C]:!0,[`${C}__disabled`]:u.value,[`${C}__placeholder`]:c.value.length>0})),j=Re(a.computed(()=>n.textAlign),"textAlign");a.computed(()=>s.value?{textAlign:"left"}:{textAlign:j.value??"right"});const v=a.ref(""),D=a.computed(()=>{let A=v.value;return Q(A)&&(A=n.errorTip??""),A}),R=a.ref(""),N=a.ref(!1),y=(A,k)=>{if(A=`${A}`,Q(A)){c.value="",h.value="",k.forEach(b=>{o(b,"")}),_.toBoolean(n.showTip)&&N.value&&(N.value=!1);return}if(A.length>=2){let b=A;if(b.charAt(0)=="-"&&(b=b.substring(1)),b.length>=2&&b.charAt(0)=="0"&&b.charAt(1)!="."){a.triggerRef(c);return}}if(A!="-"){if(!Yt(A)){a.triggerRef(c);return}if(n.integerLength!=-1&&Ut(A)>Number(n.integerLength)){a.triggerRef(c);return}if(n.decimalLength&&n.decimalLength!=-1&&Xt(A)>Number(n.decimalLength)){a.triggerRef(c);return}let b=_n(A,n);if(b.maxValid===!1){v.value=b.message,a.triggerRef(c);return}}else if(n.min!=null&&_.toNumber(n.min)>=0){a.triggerRef(c);return}R.value=A,_.toBoolean(n.showTip)&&(N.value=A.length>0),c.value=A,h.value=Ln(A,n.rates,n.precision,!0),k.forEach(b=>{o(b,h.value)})},p=A=>{y(A,["update:modelValue","input"])},m=A=>{y(A,["update:modelValue","change"])},S=A=>{if(s.value=!0,_.toBoolean(n.showTip)){let k=c.value;Q(k)&&(k=n.hintText),Q(k)||(R.value=k,N.value=!0)}v.value="",o("focus",h.value,A)},O=A=>{if(setTimeout(()=>{s.value=!1,_.toBoolean(n.showTip)&&N.value===!0&&(N.value=!1)},0),!Q(c.value)){let k=_n(c.value,n);if(k.minValid===!1||k.maxValid){v.value=k.message;return}}o("update:modelValue",h.value,A),o("blur",h.value,A)},w=()=>{o("clear","")},M=a.computed(()=>He(n.unit)>0),B=a.ref();return ue({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},select:()=>{B?.value.select()}}),()=>{const k={...l.attrs,ref:B,class:$.value,type:"digit",maxlength:n.maxLength,placeholder:I.value,clearable:n.clearable,disabled:u.value,readonly:i.value,modelValue:g.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:w,onInput:p,onChange:m,onFocus:S,onBlur:O},b={};l.slots.prepend&&(b.prepend=l.slots.prepend),l.slots.append&&(b.append=l.slots.append),l.slots.prefix&&(b.prefix=l.slots.prefix),l.slots.suffix?b.suffix=l.slots.suffix:M.value&&(b.suffix=()=>[n.unit]);const x=[],T=a.h(d.ElInput,k,b);x.push(T);const q={default:()=>x};if(l.slots.default){const P=l.slots.default();q.label=()=>P}const F={...ie(n,Hn),errorTip:D.value,hintText:R.value,hintVisible:N.value,hintType:"number",prop:`${n.prop}_item`};return a.h(r,F,q)}}}}const{componentName:Al,create:Rl,scope:jl}=Y("money-item"),Kn=Rl(Il(Al,jl,oe)),zn={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 kl(e,t,r){return{props:{...ne,...se,...zn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=a.ref(!1),h=fe(a.computed(()=>n.disabled)),c=ce(a.computed(()=>n.readonly)),g=U(n,"modelValue"),E=e,I=a.computed(()=>({[E]:!0,[`${E}__append`]:p.value})),C=a.computed(()=>({[`${E}__unit`]:!0})),$=S=>{g.value=S,o("update:modelValue",S),o("input",S)},j=S=>{o("change",S)};let v=U(n,"hintText"),D=a.ref(!1);const R=S=>{let w=S.target.value;i.value=!0,Q(v.value)||(D.value=!0),o("focus",w,S)},N=S=>{setTimeout(()=>{D.value&&(D.value=!1),i.value=!1},0);let w=S.target.value;n.maxLength&&w.length>Number(n.maxLength)&&(w=w.slice(0,Number(n.maxLength))),o("blur",w,S)},y=()=>{o("clear","")},p=a.computed(()=>He(n.unit)>0),m=a.ref();return ue({focus:()=>{m?.value.focus()},blur:()=>{m?.value.blur()}}),()=>{const O={...l.attrs,ref:m,class:I.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:h.value,readonly:c.value,modelValue:g.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:y,onChange:j,onInput:$,onFocus:R,onBlur:N},w={},M=[],B=a.h(d.ElInputNumber,O,w);M.push(B);const A={default:()=>M};if(l.slots.default){const T=l.slots.default();A.label=()=>T}const b={...ie(n,zn),hintText:v.value,hintVisible:D.value,prop:`${n.prop}_item`};if(l.slots.append)A.append=l.slots.append;else if(p.value){const T={class:C.value},q=a.h("div",T,[n.unit]);A.append=()=>q}return a.h(r,b,A)}}}}const{componentName:Ml,create:Dl,scope:ql}=Y("input-number-item"),Gn=Dl(kl(Ml,ql,oe));function De(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ie(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function Bl(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class Fl{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const l=xe(this.proxy,t);return l===null?(console.error(`${t} component not found api function`),[]):(_.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await l(r,n))}}function Pl(){const e=a.getCurrentInstance();return new Fl(e.proxy)}function kt(e,t,r){const n=De(e,t),l=De(e,r);if(n!==l)return!1;const o=Ie(e,t),s=Ie(e,r);return o===s}function Wn(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const l=[];let o=n;for(let s=0;Array.isArray(o)&&s<t.length;s++){const u=t[s];if(Array.isArray(u)){const i=Wn(e,u,r,n);l.push(i)}else{let i=!1;for(let h of o){if(r==="text")i=De(e,h)===u;else if(r==="item")i=kt(e,h,u);else{let c=Ie(e,h);c==null&&(c=De(e,h)),i=c===u}if(i){l.push(h),o=Bl(e,h);break}}if(!i)break}}return l}function Ll(e){return{text:e,value:e}}const Yn={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 _l(e,t,r){return{props:{...ne,...se,...Yn},emits:["change","update:modelValue","blur","focus","clear","visible-change","expand-change","remove-tag"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=a.ref(null),h=a.ref([]),c=(x,T,q,V=!0)=>{if(n.props&&n.props.lazy===!0){if(i.value===x)return;i.value=x;const P=a.toRaw(x);V&&(o("update:modelValue",P),o("change",P))}const F=Wn(n,x,T,q);if(F===null){if(h.value.length===0||h.value===null)return;h.value=[],i.value=null,V&&(o("update:modelValue",null),o("change",null));return}let L=!0;if(F.length!==h.value.length)L=!1;else for(let P=0;P<F.length;P++){const H=F[P],G=h.value[P];if(Array.isArray(H)){if(!Array.isArray(G)||H.length!==G.length)L=!1;else for(let W=0;W<H.length;W++)if(!kt(n,H[W],G[W])){L=!1;break}}else kt(n,H,G)||(L=!1);if(!L)break}if(!L){h.value=F;let P=[],H=[];F.forEach(W=>{if(Array.isArray(W)){let he=[],re=[];for(let ee of W)he.push(Ie(n,ee)),n.valueType==="text"?re.push(De(n,ee)):n.valueType==="item"?re.push(ee):re.push(Ie(n,ee));P.push(he),H.push(re)}else P.push(Ie(n,W)),n.valueType==="text"?H.push(De(n,W)):n.valueType==="item"?H.push(W):H.push(Ie(n,W))}),i.value=P;const G=a.toRaw(H);V&&(o("update:modelValue",G),o("change",G))}},g=a.ref([]),E=Pl();a.watch([()=>n.source,()=>n.params],async([x,T])=>{if(x){const q=await E.load("cascader",x,T);if(q.length>0)if(typeof q[0]=="string"){let L=q.map(P=>Ll(P));g.value=L}else g.value=q}},{immediate:!0}),a.watch([()=>g.value,()=>n.modelValue],([x,T])=>{c(T,n.valueType,x,!1)});let I=null,C=a.ref(!1);typeof n.remoteMethod=="function"&&(I=async x=>{if(x!=null){C.value=!0;try{const T=await n.remoteMethod(x);g.value=T}catch(T){console.error(T)}C.value=!1}});const $=a.ref(!1),j=fe(a.computed(()=>n.disabled)),v=ce(a.computed(()=>n.readonly)),D=e,R=a.computed(()=>({[D]:!0})),N=a.computed(()=>{let x={label:n.textKey,value:n.valueKey,children:n.childrenKey};return n.multiple===!0&&(x.multiple=!0),n.props&&Object.assign(x,n.props),x}),y=x=>{n.allowCreate?(o("update:modelValue",x),o("change",x),i.value=x):c(x,"value",g.value,!0)};let p=U(n,"hintText"),m=a.ref(!1);const S=x=>{let q=x.target.value;$.value=!0,Q(p.value)||(m.value=!0),o("focus",q,x)},O=x=>{setTimeout(()=>{m.value&&(m.value=!1),$.value=!1},0);let q=x.target.value;n.maxLength&&q.length>Number(n.maxLength)&&(q=q.slice(0,Number(n.maxLength))),M.value?setTimeout(()=>{o("blur",q,x)},50):o("blur",q,x)},w=()=>{o("clear","")},M=a.ref(!1),B=x=>{M.value=x,o("visible-change",x)},A=x=>{o("remove-tag",x)},k=x=>{o("expand-change",x)},b=a.ref();return ue({focus:()=>{b?.value.focus()},blur:()=>{b?.value.blur()},getCheckedNodes:()=>b?.value.getCheckedNodes()}),()=>{const T={...l.attrs,ref:b,class:R.value,props:N.value,clearable:n.clearable,placeholder:u.placeholder.value,disabled:j.value||v.value,options:g.value,modelValue:i.value,onClear:w,onChange:y,onFocus:S,onBlur:O,onVisibleChange:B,onRemoveTag:A,expandChange:k};typeof I=="function"&&(T["remote-method"]=I,T.loading=C.value);const q={};l.slots.option&&(q.default=l.slots.option),l.slots.empty&&(q.empty=l.slots.empty);const V=[],F=a.h(d.ElCascader,T,q);V.push(F);const L={default:()=>V};if(l.slots.default){const W=l.slots.default();L.label=()=>W}const H={...ie(n,Yn),hintText:p.value,hintVisible:m.value,prop:`${n.prop??n.name}_item`};return a.h(r,H,L)}}}}const{componentName:Hl,create:Kl,scope:zl}=Y("cascader-item"),Un=Kl(_l(Hl,zl,oe)),Xn={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function Gl(e,t,r){return{props:{...ne,...se,...Xn},emits:["change","update:modelValue","blur","focus","clear","input","select"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=a.ref(!1),h=fe(a.computed(()=>n.disabled)),c=ce(a.computed(()=>n.readonly)),g=U(n,"modelValue"),E=e,I=a.computed(()=>({[E]:!0})),C=p=>{g.value=p,o("update:modelValue",p),o("input",p)},$=p=>{o("change",p)};let j=U(n,"hintText"),v=a.ref(!1);const D=p=>{let S=p.target.value;i.value=!0,Q(j.value)||(v.value=!0),o("focus",S,p)},R=p=>{setTimeout(()=>{v.value&&(v.value=!1),i.value=!1},0);let S=p.target.value;n.maxLength&&S.length>Number(n.maxLength)&&(S=S.slice(0,Number(n.maxLength))),o("blur",S,p)},N=()=>{o("clear","")},y=a.ref();return ue({focus:()=>{y?.value.focus()},blur:()=>{y?.value.blur()},select:()=>{y?.value.select()}}),()=>{const m={...l.attrs,ref:y,class:I.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:h.value,readonly:c.value,modelValue:g.value,onClear:N,onChange:$,onInput:C,onFocus:D,onBlur:R},S={};l.slots.prepend&&(S.prepend=l.slots.prepend),l.slots.append&&(S.append=l.slots.append),l.slots.prefix&&(S.prefix=l.slots.prefix),l.slots.suffix&&(S.suffix=l.slots.suffix),l.slots.option&&(S.default=l.slots.option);const O=[],w=a.h(d.ElAutocomplete,m,S);O.push(w);const M={default:()=>O};if(l.slots.default){const b=l.slots.default();M.label=()=>b}const A={...ie(n,Xn),hintText:j.value,hintVisible:v.value,prop:`${n.prop}_item`};return a.h(r,A,M)}}}}const{componentName:Wl,create:Yl,scope:Ul}=Y("autocomplete-item"),Zn=Yl(Gl(Wl,Ul,oe));function Xl(e,t,r,n,l){let o=[];Array.isArray(e)?o=e:o=[e];const s=[],u=t[0];if(Array.isArray(u))for(let i=0;i<t.length&&i<o.length;i++){let h=t[i],c=o[i];const g=h.find(E=>E[n]===c);if(!g)break;s.push(g[r])}else{let i=t;for(let h=0;i&&h<o.length;h++){let c=o[h],g=i.find(E=>E[n]===c);if(!g)break;s.push(g[r]),i=g[l]}}return s}class Zl{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const l=xe(this.proxy,t);return l===null?(console.error(`${t} component not found api function`),[]):(_.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await l(r,n))}}function Jl(){const e=a.getCurrentInstance();return new Zl(e.proxy)}const Jn={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 Ql(e,t){return{props:{...Jn},setup(r,{attrs:n}){const l=Jl(),o=a.ref([]);a.watch([()=>r.source,()=>r.params],async([i,h])=>{o.value=await l.load(r.sourceType,i,h)},{immediate:!0});const s=a.computed(()=>{if(!Array.isArray(o.value)||o.value.length===0)return"";let i=Xl(r.modelValue,o.value,r.textKey,r.valueKey,r.childrenKey);return i.length==0?"":i.length===1?i[0]:i.join(r.separator)}),u=r.resolveTag?a.resolveComponent(r.tag):r.tag;return()=>{const i={...n};return r.resolveTag?a.h(u,i,{default:()=>s.value}):a.h(u,i,s.value)}}}}const{componentName:si,create:eo,scope:ui}=Y("mapping"),Mt=eo(Ql());function to(e,t){return{props:{...Jn},setup(r,{attrs:n}){return()=>{const l={default:o=>{const s=o.row[o.column.property];return a.h(Mt,{...r,modelValue:s})}};return a.h(d.ElTableColumn,{...n},l)}}}}const{componentName:ci,create:no,scope:fi}=Y("table-mapping-column"),Qn=no(to());class ro{proxy;constructor(t){this.proxy=t}async load(t,r,n,l,o,s,u){if(Array.isArray(r)){let h=(n-1)*l,c=h+l;c>r.length&&(c=r.length);const g=r.slice(h,c);return{totalSize:r.length,page:g}}if(typeof r=="function")return await Reflect.apply(r,null,[n,l,o,s,u]);const i=xe(this.proxy,t);return i===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(_.isObject(o)&&a.isReactive(o)&&(o=a.toRaw(o)),await await Reflect.apply(i,null,[r,n,l,o,s,u]))}}function ao(){const e=a.getCurrentInstance();return new ro(e.proxy)}const er={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 lo(e,t,r){return{inheritAttrs:!1,props:{...ne,...se,...er,...tr},emits:["change","page-size-change","page-index-change","current-change"],setup(n,l){const{locale:o}=me.useFoxI18n(t),{emitEvent:s}=le({componentName:e},n.prop??n.name),u=e,i=a.computed(()=>({[u]:!0})),h=a.computed(()=>({[`${u}__pagination`]:!0,[`${u}__pagination__${n.paginationAlign}`]:!0})),c=a.ref(n.pageIndex);a.watch(()=>n.pageIndex,M=>{c.value=M});const g=M=>{c.value=M,s("page-index-change",M)},E=a.ref(n.pageSize);a.watch(()=>n.pageSize,M=>{E.value=M});const I=M=>{E.value=M,s("page-size-change",M)},C=a.shallowRef({}),$=a.computed(()=>({...C.value,...n.params??{},...n.baseParams??{}})),j=a.ref(0),v=a.ref(),D=ao();let R=!0;const N=()=>Array.isArray(n.data)||typeof n.data=="function"?!0:_.toBoolean(n.autoLoad),y=async(M,B,A,k)=>{try{const b=await D.load("table",M,B,A,k,R,o.value);j.value=b.totalSize,v.value=b.page}catch(b){console.error("[FoxUI] Load Table Data Fail",b),j.value=0,v.value=[]}R=!1};a.watch([c,E],([M,B],[A,k])=>{B!==k&&(c.value=1,M=1),y(n.data,M,B,$.value)}),a.watch([()=>n.data,$],([M,B],[A,k])=>{!N()||(M!==A&&(R=!0),y(M,c.value,E.value,B))});const p=(M={})=>{C.value=a.toRaw(M??{}),a.triggerRef(C),a.nextTick(()=>{y(n.data,c.value,E.value,$.value)})},m=()=>{j.value=0,v.value=[]};N()&&p();let S=null;const O=(M,B)=>{S=M,s("current-change",M,B)},w=a.ref();return ue({clearSelection:()=>w?.value.clearSelection(),getSelectionRows:()=>w?.value.getSelectionRows(),toggleRowSelection:(M,B)=>{w?.value.toggleRowSelection(M,B)},toggleAllSelection:()=>{w?.value.toggleAllSelection()},toggleRowExpansion:(M,B)=>{w?.value.toggleRowExpansion(M,B)},setCurrentRow:M=>{w?.value.setCurrentRow(M)},getCurrentRow:()=>S,clearSort:()=>{w?.value.clearSort()},clearFilter:M=>{w?.value.clearFilter(M)},doLayout:()=>{w?.value.doLayout()},sort:(M,B)=>{w?.value.sort(M,B)},scrollTo:(M,B)=>{w?.value.scrollTo(M,B)},setScrollTop:M=>{w?.value.setScrollTop(M)},setScrollLeft:M=>{w?.value.setScrollLeft(M)},loadData:p,clearData:m}),()=>{const B={...l.attrs,onCurrentChange:O,data:v.value,ref:w,class:i.value},A={};l.slots.default&&(A.default=l.slots.default),l.slots.append&&(A.append=l.slots.append),l.slots.empty&&(A.empty=l.slots.empty);const k=[],b=a.h(d.ElTable,B,A);if(k.push(b),typeof l.slots.pagination=="function"){const F=l.slots.pagination();k.push(F)}else if(n.paginationVisible){const F={class:h.value,total:j.value,pageSize:E.value,["onUpdate:pageSize"]:I,pageSizes:n.pageSizes,currentPage:c.value,["onUpdate:currentPage"]:g,hideOnSinglePage:n.hideOnSinglePage,layout:n.paginationLayout,small:!0},L=a.h(d.ElPagination,F);k.push(L)}const x={default:()=>k},q={...ie(n,er,tr),prop:`${n.prop}_item`};return q.contentClass=`${u}__wrap`,a.h(r,q,x)}}}}const{componentName:oo,create:io,scope:so}=Y("table-item"),nr=io(lo(oo,so,oe));function qe(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ye(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 l=xe(this.proxy,t);return l===null?(console.error(`${t} component not found api function`),[]):(_.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await l(r,n))}}function co(){const e=a.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=qe(e,t),l=qe(e,r);if(n!==l)return!1;const o=Ye(e,t),s=Ye(e,r);return o===s}function fo(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;let l=null;for(let o of n){let s=!1;if(r==="text")s=qe(e,o)===t;else if(r==="item")s=rr(e,o,t);else{let u=Ye(e,o);u==null&&(u=qe(e,o)),s=u===t}if(s){l=o;break}}return l}function ho(e){return{text:e,value:e}}const ar={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},itemType:{type:[String],required:!1,default:"radio"},itemClass:{type:[String],required:!1}};function go(e,t,r){return{inheritAttrs:!0,props:{...ne,...se,...ar},emits:["change","update:modelValue"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),s=a.ref(null),u=a.ref(null),i=(R,N,y,p=!0)=>{const m=fo(n,R,N,y);if(m===null){if(u.value===null)return;u.value=null,s.value=null,p&&(o("update:modelValue",null),o("change",null));return}if(!rr(n,m,u.value)){s.value=R;const O=a.toRaw(m);u.value=O;let w=null;n.valueType==="text"?w=qe(n,O):n.valueType==="item"?w=O:w=Ye(n,O),p&&(o("update:modelValue",w),o("change",w))}},h=a.ref([]),c=co();a.watch([()=>n.source,()=>n.params],async([R,N])=>{if(R){const y=await c.load("radio",R,N);if(y.length>0)if(typeof y[0]=="string"){let S=y.map(O=>ho(O));h.value=S}else h.value=y}},{immediate:!0}),a.watch([()=>h.value,()=>n.modelValue],([R,N])=>{i(N,n.valueType,R,!1)});const g=fe(a.computed(()=>n.disabled)),E=ce(a.computed(()=>n.readonly)),I=e,C=a.computed(()=>({[I]:!0})),$=R=>{i(R,"value",h.value,!0)};let j=U(n,"hintText"),v=U(n,"hintVisible");const D=R=>{const N=[];return R.forEach((y,p)=>{const m=Ye(n,y),S=qe(n,y),O=_.toBoolean(y.disabled),M={key:`${m}_${p}`,class:n.itemClass,label:m,disabled:O,size:n.size,border:_.toBoolean(n.border)};n.itemType==="button"?N.push(a.h(d.ElRadioButton,M,{default:()=>[S]})):N.push(a.h(d.ElRadio,M,{default:()=>[S]}))}),N};return()=>{const N={...l.attrs,class:C.value,disabled:g.value||E.value,modelValue:s.value,["text-color"]:n.textColor,fill:n.fill,onChange:$},y=[],p={};l.slots.options?p.default=l.slots.options:p.default=()=>D(h.value);const m=a.h(d.ElRadioGroup,N,p);y.push(m);const S={default:()=>y};if(l.slots.default){const B=l.slots.default();S.label=()=>B}const w={...ie(n,ar),hintText:j.value,hintVisible:v.value,prop:`${n.prop??n.name}_item`};return a.h(r,w,S)}}}}const{componentName:mo,create:yo,scope:po}=Y("radio-item"),lr=yo(go(mo,po,oe));function Be(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Fe(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class bo{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const l=xe(this.proxy,t);return l===null?(console.error(`${t} component not found api function`),[]):(_.isObject(n)&&a.isReactive(n)&&(n=a.toRaw(n)),await l(r,n))}}function So(){const e=a.getCurrentInstance();return new bo(e.proxy)}function or(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=Be(e,t),l=Be(e,r);if(n!==l)return!1;const o=Fe(e,t),s=Fe(e,r);return o===s}function wo(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const l=[];return t.forEach(o=>{for(let s of n){let u=!1;if(r==="text")u=Be(e,s)===o;else if(r==="item")u=or(e,s,o);else{let i=Fe(e,s);i==null&&(i=Be(e,s)),u=i===o}if(u){l.push(s);break}}}),l}function $o(e){return{text:e,value:e}}const ir={modelValue:{type:[Array,String],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},min:{type:[String,Number],required:!1},max:{type:[String,Number],required:!1},itemType:{type:[String],required:!1,default:"checkbox"},itemClass:{type:[String],required:!1}};function vo(e,t,r){return{inheritAttrs:!1,props:{...ne,...se,...ir},emits:["change","update:modelValue"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),s=a.ref([]),u=a.ref([]),i=(R,N,y,p=!0)=>{const m=wo(n,R,N,y);if(m===null){if(u.value===null||u.value.length===0)return;s.value=[],u.value=[],p&&(o("update:modelValue",[]),o("change",[]));return}let S=!0;if(m.length!==u.value.length)S=!1;else for(let O=0;O<m.length;O++){const w=m[O],M=u.value[O];if(!or(n,w,M)){S=!1;break}}if(!S){u.value=m;let O=[],w=[];m.forEach(B=>{O.push(Fe(n,B)),n.valueType==="text"?w.push(Be(n,B)):n.valueType==="item"?w.push(B):w.push(Fe(n,B))}),s.value=O;const M=a.toRaw(w);p&&(o("update:modelValue",M),o("change",M))}},h=a.ref([]),c=So();a.watch([()=>n.source,()=>n.params],async([R,N])=>{if(R){const y=await c.load("checkbox",R,N);if(y.length>0)if(typeof y[0]=="string"){let S=y.map(O=>$o(O));h.value=S}else h.value=y}},{immediate:!0}),a.watch([()=>h.value,()=>n.modelValue],([R,N])=>{i(N,n.valueType,R,!1)});const g=fe(a.computed(()=>n.disabled)),E=ce(a.computed(()=>n.readonly)),I=e,C=a.computed(()=>({[I]:!0})),$=R=>{i(R,"value",h.value,!0)};let j=U(n,"hintText"),v=U(n,"hintVisible");const D=R=>{const N=[];return R.forEach((y,p)=>{const m=Fe(n,y),S=Be(n,y),O=_.toBoolean(y.disabled),M={key:`${m}_${p}`,class:n.itemClass,label:m,disabled:O,size:n.size,border:_.toBoolean(n.border)};n.itemType==="button"?N.push(a.h(d.ElCheckboxButton,M,{default:()=>[S]})):N.push(a.h(d.ElCheckbox,M,{default:()=>[S]}))}),N};return()=>{const N={...l.attrs,class:C.value,disabled:g.value||E.value,modelValue:s.value,["text-color"]:n.textColor,fill:n.fill,max:_.toNumber(n.max),min:_.toNumber(n.min),onChange:$},y=[],p={};l.slots.options?p.default=l.slots.options:p.default=()=>D(h.value);const m=a.h(d.ElCheckboxGroup,N,p);y.push(m);const S={default:()=>y};if(l.slots.default){const B=l.slots.default();S.label=()=>B}const w={...ie(n,ir),hintText:j.value,hintVisible:v.value,prop:`${n.prop??n.name}_item`};return a.h(r,w,S)}}}}const{componentName:Eo,create:Co,scope:Oo}=Y("checkbox-item"),sr=Co(vo(Eo,Oo,oe)),ur={modelValue:{type:[Number,String],required:!1}};function No(e,t,r){return{props:{...ne,...se,...ur},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),s=fe(a.computed(()=>n.disabled)),u=ce(a.computed(()=>n.readonly)),i=U(n,"modelValue",$=>_.toNumber($)),h=e,c=a.computed(()=>({[h]:!0})),g=$=>{o("update:modelValue",$),o("change",$)};let E=U(n,"hintText"),I=a.ref(!1);const C=a.ref();return ue({}),()=>{const j={...l.attrs,ref:C,class:c.value,readonly:u.value||s.value,modelValue:i.value,onChange:g},v={},D=[],R=a.h(d.ElRate,j,v);D.push(R);const N={default:()=>D};if(l.slots.default){const S=l.slots.default();N.label=()=>S}const p={...ie(n,ur),hintText:E.value,hintVisible:I.value,prop:`${n.prop}_item`};return a.h(r,p,N)}}}}const{componentName:xo,create:To,scope:Vo}=Y("rate-item"),cr=To(No(xo,Vo,oe)),fr={modelValue:{type:[Boolean,String,Number],required:!1}};function Io(e,t,r){return{props:{...ne,...se,...fr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,l){const{emitEvent:o}=le({componentName:e},n.prop??n.name),s=fe(a.computed(()=>n.disabled)),u=ce(a.computed(()=>n.readonly)),i=U(n,"modelValue"),h=e,c=a.computed(()=>({[h]:!0})),g=$=>{o("update:modelValue",$),o("change",$)};let E=U(n,"hintText"),I=U(n,"hintVisible");const C=a.ref();return ue({}),()=>{const j={...l.attrs,ref:C,class:c.value,readonly:u.value,disabled:s.value,modelValue:i.value,onChange:g},v={},D=[],R=a.h(d.ElSwitch,j,v);D.push(R);const N={default:()=>D};if(l.slots.default){const S=l.slots.default();N.label=()=>S}const p={...ie(n,fr),hintText:E.value,hintVisible:I.value,prop:`${n.prop}_item`};return a.h(r,p,N)}}}}const{componentName:Ao,create:Ro,scope:jo}=Y("switch-item"),dr=Ro(Io(Ao,jo,oe)),ko=Symbol.for("InnerPageScopeKey"),Mo=Symbol.for("DialogItemStateKey");function Do(e,t){return{props:{title:{type:[String]},draggable:{type:[Boolean],default:!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:!1},closeOnPressEscape:{type:[Boolean],default:!0}},setup(r,n){a.provide(ko,!0);const l={};a.provide(Mo,l);const o=i=>{typeof l.beforeClose=="function"&&l.beforeClose(i)},s=a.ref(!0),u=i=>{s.value=i};return()=>{const h={...n.attrs,title:r.title,draggable:r.draggable,modelValue:s.value,"onUpdate:modelValue":u,"append-to-body":r.appendToBody,"close-on-click-modal":r.closeOnClickModal,"close-on-press-escape":r.closeOnPressEscape,"before-close":o},c={};if(typeof n.slots.default=="function"){const g=n.slots.default();c.default=()=>g}return a.h(d.ElDialog,h,c)}}}}const{componentName:di,create:qo,scope:hi}=Y("dialog-item"),hr=qo(Do()),{componentName:gr,create:Bo}=Y("ext-icon"),mr=Bo({props:{name:{type:String,default:""},size:{type:[String,Number],default:""},classPrefix:{type:String,default:"fox-icon"},fontClassName:{type:String,default:"foxui-iconfont"},color:{type:String,default:""},tag:{type:String,default:"i"}},emits:["click"],setup(e,{emit:t,slots:r}){const n=o=>{t("click",o)},l=a.computed(()=>e.name?e.name.indexOf("/")!==-1:!1);return()=>{const o=l.value;return a.h(o?"img":e.tag,{class:o?`${gr}__img`:`${e.fontClassName} ${gr} ${e.classPrefix}-${e.name}`,style:{color:e.color,fontSize:z(e.size),width:z(e.size),height:z(e.size)},onClick:n,src:o?e.name:""},r.default?.())}}});function Fo(e,t){return{props:{type:{type:[String],required:!1,default:""},color:{type:[String],required:!1,default:""}},setup(r,{slots:n}){const l=e,o=a.computed(()=>({[l]:!0})),s=a.computed(()=>({[`${l}__mark`]:!0,[`${l}__mark-${r.type}`]:!0})),u=a.computed(()=>r.color?{background:r.color}:null),i=a.computed(()=>({[`${l}__text`]:!0,[`${l}__text-${r.type}`]:!0})),h=a.computed(()=>r.color?{color:r.color}:null);return()=>{let c=null;if(n.mark)c=n.mark()[0];else{const $={class:s.value,style:u.value};c=a.h("div",$)}const g={class:i.value,style:h.value},E=n.default?n.default():[],I=a.h("div",g,E),C={class:o.value};return a.h("div",C,[c,I])}}}}const{componentName:Po,create:Lo,scope:gi}=Y("indicator"),yr=Lo(Fo(Po));var be=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},pr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(be,function(){var r=1e3,n=6e4,l=36e5,o="millisecond",s="second",u="minute",i="hour",h="day",c="week",g="month",E="quarter",I="year",C="date",$="Invalid Date",j=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},R=function(A,k,b){var x=String(A);return!x||x.length>=k?A:""+Array(k+1-x.length).join(b)+A},N={s:R,z:function(A){var k=-A.utcOffset(),b=Math.abs(k),x=Math.floor(b/60),T=b%60;return(k<=0?"+":"-")+R(x,2,"0")+":"+R(T,2,"0")},m:function A(k,b){if(k.date()<b.date())return-A(b,k);var x=12*(b.year()-k.year())+(b.month()-k.month()),T=k.clone().add(x,g),q=b-T<0,V=k.clone().add(x+(q?-1:1),g);return+(-(x+(b-T)/(q?T-V:V-T))||0)},a:function(A){return A<0?Math.ceil(A)||0:Math.floor(A)},p:function(A){return{M:g,y:I,w:c,d:h,D:C,h:i,m:u,s,ms:o,Q:E}[A]||String(A||"").toLowerCase().replace(/s$/,"")},u:function(A){return A===void 0}},y="en",p={};p[y]=D;var m=function(A){return A instanceof M},S=function A(k,b,x){var T;if(!k)return y;if(typeof k=="string"){var q=k.toLowerCase();p[q]&&(T=q),b&&(p[q]=b,T=q);var V=k.split("-");if(!T&&V.length>1)return A(V[0])}else{var F=k.name;p[F]=k,T=F}return!x&&T&&(y=T),T||!x&&y},O=function(A,k){if(m(A))return A.clone();var b=typeof k=="object"?k:{};return b.date=A,b.args=arguments,new M(b)},w=N;w.l=S,w.i=m,w.w=function(A,k){return O(A,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var M=function(){function A(b){this.$L=S(b.locale,null,!0),this.parse(b)}var k=A.prototype;return k.parse=function(b){this.$d=function(x){var T=x.date,q=x.utc;if(T===null)return new Date(NaN);if(w.u(T))return new Date;if(T instanceof Date)return new Date(T);if(typeof T=="string"&&!/Z$/i.test(T)){var V=T.match(j);if(V){var F=V[2]-1||0,L=(V[7]||"0").substring(0,3);return q?new Date(Date.UTC(V[1],F,V[3]||1,V[4]||0,V[5]||0,V[6]||0,L)):new Date(V[1],F,V[3]||1,V[4]||0,V[5]||0,V[6]||0,L)}}return new Date(T)}(b),this.$x=b.x||{},this.init()},k.init=function(){var b=this.$d;this.$y=b.getFullYear(),this.$M=b.getMonth(),this.$D=b.getDate(),this.$W=b.getDay(),this.$H=b.getHours(),this.$m=b.getMinutes(),this.$s=b.getSeconds(),this.$ms=b.getMilliseconds()},k.$utils=function(){return w},k.isValid=function(){return this.$d.toString()!==$},k.isSame=function(b,x){var T=O(b);return this.startOf(x)<=T&&T<=this.endOf(x)},k.isAfter=function(b,x){return O(b)<this.startOf(x)},k.isBefore=function(b,x){return this.endOf(x)<O(b)},k.$g=function(b,x,T){return w.u(b)?this[x]:this.set(T,b)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(b,x){var T=this,q=!!w.u(x)||x,V=w.p(b),F=function(ee,J){var ge=w.w(T.$u?Date.UTC(T.$y,J,ee):new Date(T.$y,J,ee),T);return q?ge:ge.endOf(h)},L=function(ee,J){return w.w(T.toDate()[ee].apply(T.toDate("s"),(q?[0,0,0,0]:[23,59,59,999]).slice(J)),T)},P=this.$W,H=this.$M,G=this.$D,W="set"+(this.$u?"UTC":"");switch(V){case I:return q?F(1,0):F(31,11);case g:return q?F(1,H):F(0,H+1);case c:var he=this.$locale().weekStart||0,re=(P<he?P+7:P)-he;return F(q?G-re:G+(6-re),H);case h:case C:return L(W+"Hours",0);case i:return L(W+"Minutes",1);case u:return L(W+"Seconds",2);case s:return L(W+"Milliseconds",3);default:return this.clone()}},k.endOf=function(b){return this.startOf(b,!1)},k.$set=function(b,x){var T,q=w.p(b),V="set"+(this.$u?"UTC":""),F=(T={},T[h]=V+"Date",T[C]=V+"Date",T[g]=V+"Month",T[I]=V+"FullYear",T[i]=V+"Hours",T[u]=V+"Minutes",T[s]=V+"Seconds",T[o]=V+"Milliseconds",T)[q],L=q===h?this.$D+(x-this.$W):x;if(q===g||q===I){var P=this.clone().set(C,1);P.$d[F](L),P.init(),this.$d=P.set(C,Math.min(this.$D,P.daysInMonth())).$d}else F&&this.$d[F](L);return this.init(),this},k.set=function(b,x){return this.clone().$set(b,x)},k.get=function(b){return this[w.p(b)]()},k.add=function(b,x){var T,q=this;b=Number(b);var V=w.p(x),F=function(H){var G=O(q);return w.w(G.date(G.date()+Math.round(H*b)),q)};if(V===g)return this.set(g,this.$M+b);if(V===I)return this.set(I,this.$y+b);if(V===h)return F(1);if(V===c)return F(7);var L=(T={},T[u]=n,T[i]=l,T[s]=r,T)[V]||1,P=this.$d.getTime()+b*L;return w.w(P,this)},k.subtract=function(b,x){return this.add(-1*b,x)},k.format=function(b){var x=this,T=this.$locale();if(!this.isValid())return T.invalidDate||$;var q=b||"YYYY-MM-DDTHH:mm:ssZ",V=w.z(this),F=this.$H,L=this.$m,P=this.$M,H=T.weekdays,G=T.months,W=function(J,ge,Ce,Oe){return J&&(J[ge]||J(x,q))||Ce[ge].slice(0,Oe)},he=function(J){return w.s(F%12||12,J,"0")},re=T.meridiem||function(J,ge,Ce){var Oe=J<12?"AM":"PM";return Ce?Oe.toLowerCase():Oe},ee={YY:String(this.$y).slice(-2),YYYY:this.$y,M:P+1,MM:w.s(P+1,2,"0"),MMM:W(T.monthsShort,P,G,3),MMMM:W(G,P),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:W(T.weekdaysMin,this.$W,H,2),ddd:W(T.weekdaysShort,this.$W,H,3),dddd:H[this.$W],H:String(F),HH:w.s(F,2,"0"),h:he(1),hh:he(2),a:re(F,L,!0),A:re(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:V};return q.replace(v,function(J,ge){return ge||ee[J]||V.replace(":","")})},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(b,x,T){var q,V=w.p(x),F=O(b),L=(F.utcOffset()-this.utcOffset())*n,P=this-F,H=w.m(this,F);return H=(q={},q[I]=H/12,q[g]=H,q[E]=H/3,q[c]=(P-L)/6048e5,q[h]=(P-L)/864e5,q[i]=P/l,q[u]=P/n,q[s]=P/r,q)[V]||P,T?H:w.a(H)},k.daysInMonth=function(){return this.endOf(g).$D},k.$locale=function(){return p[this.$L]},k.locale=function(b,x){if(!b)return this.$L;var T=this.clone(),q=S(b,x,!0);return q&&(T.$L=q),T},k.clone=function(){return w.w(this.$d,this)},k.toDate=function(){return new Date(this.valueOf())},k.toJSON=function(){return this.isValid()?this.toISOString():null},k.toISOString=function(){return this.$d.toISOString()},k.toString=function(){return this.$d.toUTCString()},A}(),B=M.prototype;return O.prototype=B,[["$ms",o],["$s",s],["$m",u],["$H",i],["$W",h],["$M",g],["$y",I],["$D",C]].forEach(function(A){B[A[1]]=function(k){return this.$g(k,A[0],A[1])}}),O.extend=function(A,k){return A.$i||(A(k,M,O),A.$i=!0),O},O.locale=S,O.isDayjs=m,O.unix=function(A){return O(1e3*A)},O.en=p[y],O.Ls=p,O.p={},O})})(pr);const Ee=pr.exports;var br={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(be,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,l=/\d\d/,o=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,u={},i=function($){return($=+$)+($>68?1900:2e3)},h=function($){return function(j){this[$]=+j}},c=[/[+-]\d\d:?(\d\d)?|Z/,function($){(this.zone||(this.zone={})).offset=function(j){if(!j||j==="Z")return 0;var v=j.match(/([+-]|\d\d)/g),D=60*v[1]+(+v[2]||0);return D===0?0:v[0]==="+"?-D:D}($)}],g=function($){var j=u[$];return j&&(j.indexOf?j:j.s.concat(j.f))},E=function($,j){var v,D=u.meridiem;if(D){for(var R=1;R<=24;R+=1)if($.indexOf(D(R,0,j))>-1){v=R>12;break}}else v=$===(j?"pm":"PM");return v},I={A:[s,function($){this.afternoon=E($,!1)}],a:[s,function($){this.afternoon=E($,!0)}],S:[/\d/,function($){this.milliseconds=100*+$}],SS:[l,function($){this.milliseconds=10*+$}],SSS:[/\d{3}/,function($){this.milliseconds=+$}],s:[o,h("seconds")],ss:[o,h("seconds")],m:[o,h("minutes")],mm:[o,h("minutes")],H:[o,h("hours")],h:[o,h("hours")],HH:[o,h("hours")],hh:[o,h("hours")],D:[o,h("day")],DD:[l,h("day")],Do:[s,function($){var j=u.ordinal,v=$.match(/\d+/);if(this.day=v[0],j)for(var D=1;D<=31;D+=1)j(D).replace(/\[|\]/g,"")===$&&(this.day=D)}],M:[o,h("month")],MM:[l,h("month")],MMM:[s,function($){var j=g("months"),v=(g("monthsShort")||j.map(function(D){return D.slice(0,3)})).indexOf($)+1;if(v<1)throw new Error;this.month=v%12||v}],MMMM:[s,function($){var j=g("months").indexOf($)+1;if(j<1)throw new Error;this.month=j%12||j}],Y:[/[+-]?\d+/,h("year")],YY:[l,function($){this.year=i($)}],YYYY:[/\d{4}/,h("year")],Z:c,ZZ:c};function C($){var j,v;j=$,v=u&&u.formats;for(var D=($=j.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(O,w,M){var B=M&&M.toUpperCase();return w||v[M]||r[M]||v[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(A,k,b){return k||b.slice(1)})})).match(n),R=D.length,N=0;N<R;N+=1){var y=D[N],p=I[y],m=p&&p[0],S=p&&p[1];D[N]=S?{regex:m,parser:S}:y.replace(/^\[|\]$/g,"")}return function(O){for(var w={},M=0,B=0;M<R;M+=1){var A=D[M];if(typeof A=="string")B+=A.length;else{var k=A.regex,b=A.parser,x=O.slice(B),T=k.exec(x)[0];b.call(w,T),O=O.replace(T,"")}}return function(q){var V=q.afternoon;if(V!==void 0){var F=q.hours;V?F<12&&(q.hours+=12):F===12&&(q.hours=0),delete q.afternoon}}(w),w}}return function($,j,v){v.p.customParseFormat=!0,$&&$.parseTwoDigitYear&&(i=$.parseTwoDigitYear);var D=j.prototype,R=D.parse;D.parse=function(N){var y=N.date,p=N.utc,m=N.args;this.$u=p;var S=m[1];if(typeof S=="string"){var O=m[2]===!0,w=m[3]===!0,M=O||w,B=m[2];w&&(B=m[2]),u=this.$locale(),!O&&B&&(u=v.Ls[B]),this.$d=function(x,T,q){try{if(["x","X"].indexOf(T)>-1)return new Date((T==="X"?1e3:1)*x);var V=C(T)(x),F=V.year,L=V.month,P=V.day,H=V.hours,G=V.minutes,W=V.seconds,he=V.milliseconds,re=V.zone,ee=new Date,J=P||(F||L?1:ee.getDate()),ge=F||ee.getFullYear(),Ce=0;F&&!L||(Ce=L>0?L-1:ee.getMonth());var Oe=H||0,Dt=G||0,qt=W||0,Bt=he||0;return re?new Date(Date.UTC(ge,Ce,J,Oe,Dt,qt,Bt+60*re.offset*1e3)):q?new Date(Date.UTC(ge,Ce,J,Oe,Dt,qt,Bt)):new Date(ge,Ce,J,Oe,Dt,qt,Bt)}catch{return new Date("")}}(y,S,p),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),M&&y!=this.format(S)&&(this.$d=new Date("")),u={}}else if(S instanceof Array)for(var A=S.length,k=1;k<=A;k+=1){m[1]=S[k-1];var b=v.apply(this,m);if(b.isValid()){this.$d=b.$d,this.$L=b.$L,this.init();break}k===A&&(this.$d=new Date(""))}else R.call(this,N)}}})})(br);const _o=br.exports;var Sr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(be,function(){return function(r,n,l){var o=n.prototype,s=o.format;l.en.ordinal=function(u){var i=["th","st","nd","rd"],h=u%100;return"["+u+(i[(h-20)%10]||i[h]||i[0])+"]"},o.format=function(u){var i=this,h=this.$locale();if(!this.isValid())return s.bind(this)(u);var c=this.$utils(),g=(u||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(E){switch(E){case"Q":return Math.ceil((i.$M+1)/3);case"Do":return h.ordinal(i.$D);case"gggg":return i.weekYear();case"GGGG":return i.isoWeekYear();case"wo":return h.ordinal(i.week(),"W");case"w":case"ww":return c.s(i.week(),E==="w"?1:2,"0");case"W":case"WW":return c.s(i.isoWeek(),E==="W"?1:2,"0");case"k":case"kk":return c.s(String(i.$H===0?24:i.$H),E==="k"?1:2,"0");case"X":return Math.floor(i.$d.getTime()/1e3);case"x":return i.$d.getTime();case"z":return"["+i.offsetName()+"]";case"zzz":return"["+i.offsetName("long")+"]";default:return E}});return s.bind(this)(g)}}})})(Sr);const Ho=Sr.exports;var wr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(be,function(){return function(r,n,l){var o=n.prototype,s=function(g){return g&&(g.indexOf?g:g.s)},u=function(g,E,I,C,$){var j=g.name?g:g.$locale(),v=s(j[E]),D=s(j[I]),R=v||D.map(function(y){return y.slice(0,C)});if(!$)return R;var N=j.weekStart;return R.map(function(y,p){return R[(p+(N||0))%7]})},i=function(){return l.Ls[l.locale()]},h=function(g,E){return g.formats[E]||function(I){return I.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(C,$,j){return $||j.slice(1)})}(g.formats[E.toUpperCase()])},c=function(){var g=this;return{months:function(E){return E?E.format("MMMM"):u(g,"months")},monthsShort:function(E){return E?E.format("MMM"):u(g,"monthsShort","months",3)},firstDayOfWeek:function(){return g.$locale().weekStart||0},weekdays:function(E){return E?E.format("dddd"):u(g,"weekdays")},weekdaysMin:function(E){return E?E.format("dd"):u(g,"weekdaysMin","weekdays",2)},weekdaysShort:function(E){return E?E.format("ddd"):u(g,"weekdaysShort","weekdays",3)},longDateFormat:function(E){return h(g.$locale(),E)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return c.bind(this)()},l.localeData=function(){var g=i();return{firstDayOfWeek:function(){return g.weekStart||0},weekdays:function(){return l.weekdays()},weekdaysShort:function(){return l.weekdaysShort()},weekdaysMin:function(){return l.weekdaysMin()},months:function(){return l.months()},monthsShort:function(){return l.monthsShort()},longDateFormat:function(E){return h(g,E)},meridiem:g.meridiem,ordinal:g.ordinal}},l.months=function(){return u(i(),"months")},l.monthsShort=function(){return u(i(),"monthsShort","months",3)},l.weekdays=function(g){return u(i(),"weekdays",null,null,g)},l.weekdaysShort=function(g){return u(i(),"weekdaysShort","weekdays",3,g)},l.weekdaysMin=function(g){return u(i(),"weekdaysMin","weekdays",2,g)}}})})(wr);const Ko=wr.exports;var $r={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(be,function(){var r="week",n="year";return function(l,o,s){var u=o.prototype;u.week=function(i){if(i===void 0&&(i=null),i!==null)return this.add(7*(i-this.week()),"day");var h=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=s(this).startOf(n).add(1,n).date(h),g=s(this).endOf(r);if(c.isBefore(g))return 1}var E=s(this).startOf(n).date(h).startOf(r).subtract(1,"millisecond"),I=this.diff(E,r,!0);return I<0?s(this).startOf("week").week():Math.ceil(I)},u.weeks=function(i){return i===void 0&&(i=null),this.week(i)}}})})($r);const zo=$r.exports;var vr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(be,function(){return function(r,n){n.prototype.weekYear=function(){var l=this.month(),o=this.week(),s=this.year();return o===1&&l===11?s+1:l===0&&o>=52?s-1:s}}})})(vr);const Go=vr.exports;var Er={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(be,function(){return function(r,n,l){n.prototype.dayOfYear=function(o){var s=Math.round((l(this).startOf("day")-l(this).startOf("year"))/864e5)+1;return o==null?s:this.add(o-s,"day")}}})})(Er);const Wo=Er.exports;var Cr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(be,function(){return function(r,n){n.prototype.isSameOrAfter=function(l,o){return this.isSame(l,o)||this.isAfter(l,o)}}})})(Cr);const Yo=Cr.exports;var Or={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(be,function(){return function(r,n){n.prototype.isSameOrBefore=function(l,o){return this.isSame(l,o)||this.isBefore(l,o)}}})})(Or);const Uo=Or.exports;Ee.extend(Ko),Ee.extend(Ho),Ee.extend(_o),Ee.extend(zo),Ee.extend(Go),Ee.extend(Wo),Ee.extend(Yo),Ee.extend(Uo);const Nr=10;function Xo(e,t){return e>t&&e>Nr?"horizontal":t>e&&t>Nr?"vertical":""}function Zo(){const e=a.ref(0),t=a.ref(0),r=a.ref(0),n=a.ref(0),l=a.ref(0),o=a.ref(0),s=a.ref(0),u=a.ref(0),i=a.ref(0),h=a.ref(0),c=a.ref(""),g=()=>c.value==="vertical",E=()=>c.value==="horizontal",I=()=>{s.value=0,u.value=0,i.value=0,h.value=0,c.value="",r.value=0};return{move:j=>{const v=j.touches[0];s.value=v.clientX-e.value,u.value=v.clientY-t.value,l.value=v.clientX,o.value=v.clientY,i.value=Math.abs(s.value),h.value=Math.abs(u.value),n.value=Date.now()-r.value,c.value||(c.value=Xo(i.value,h.value))},start:j=>{I(),e.value=j.touches[0].clientX,t.value=j.touches[0].clientY,r.value=Date.now()},reset:I,startX:e,startY:t,startTime:r,duration:n,moveX:l,moveY:o,deltaX:s,deltaY:u,offsetX:i,offsetY:h,direction:c,isVertical:g,isHorizontal:E}}const Jo=[hn,gn,mn,yn,Sn,oe,Cn,On,ct,xn,Rn,kn,Dn,Bn,Kn,Gn,Un,Zn,Qn,nr,lr,sr,cr,dr,hr,Mt,ut,mr,yr],Qo=new Qr(Jo,[na],"4.0.0");Object.defineProperty(f,"clone",{enumerable:!0,get:()=>_.clone}),Object.defineProperty(f,"extend",{enumerable:!0,get:()=>_.extend}),Object.defineProperty(f,"isArray",{enumerable:!0,get:()=>_.isArray}),Object.defineProperty(f,"isDate",{enumerable:!0,get:()=>_.isDate}),Object.defineProperty(f,"isESModule",{enumerable:!0,get:()=>_.isESModule}),Object.defineProperty(f,"isEqual",{enumerable:!0,get:()=>_.isEqual}),Object.defineProperty(f,"isFunction",{enumerable:!0,get:()=>_.isFunction}),Object.defineProperty(f,"isMap",{enumerable:!0,get:()=>_.isMap}),Object.defineProperty(f,"isObject",{enumerable:!0,get:()=>_.isObject}),Object.defineProperty(f,"isPlainObject",{enumerable:!0,get:()=>_.isPlainObject}),Object.defineProperty(f,"isPromise",{enumerable:!0,get:()=>_.isPromise}),Object.defineProperty(f,"isSet",{enumerable:!0,get:()=>_.isSet}),Object.defineProperty(f,"isString",{enumerable:!0,get:()=>_.isString}),Object.defineProperty(f,"isSymbol",{enumerable:!0,get:()=>_.isSymbol}),Object.defineProperty(f,"toBoolean",{enumerable:!0,get:()=>_.toBoolean}),Object.defineProperty(f,"toNumber",{enumerable:!0,get:()=>_.toNumber}),Object.defineProperty(f,"toTypeString",{enumerable:!0,get:()=>_.toTypeString}),Object.defineProperty(f,"FoxAffix",{enumerable:!0,get:()=>d.ElAffix}),Object.defineProperty(f,"FoxAlert",{enumerable:!0,get:()=>d.ElAlert}),Object.defineProperty(f,"FoxAside",{enumerable:!0,get:()=>d.ElAside}),Object.defineProperty(f,"FoxAutoResizer",{enumerable:!0,get:()=>d.ElAutoResizer}),Object.defineProperty(f,"FoxAutocomplete",{enumerable:!0,get:()=>d.ElAutocomplete}),Object.defineProperty(f,"FoxAvatar",{enumerable:!0,get:()=>d.ElAvatar}),Object.defineProperty(f,"FoxBacktop",{enumerable:!0,get:()=>d.ElBacktop}),Object.defineProperty(f,"FoxBadge",{enumerable:!0,get:()=>d.ElBadge}),Object.defineProperty(f,"FoxBreadcrumb",{enumerable:!0,get:()=>d.ElBreadcrumb}),Object.defineProperty(f,"FoxBreadcrumbItem",{enumerable:!0,get:()=>d.ElBreadcrumbItem}),Object.defineProperty(f,"FoxButton",{enumerable:!0,get:()=>d.ElButton}),Object.defineProperty(f,"FoxButtonGroup",{enumerable:!0,get:()=>d.ElButtonGroup}),Object.defineProperty(f,"FoxCalendar",{enumerable:!0,get:()=>d.ElCalendar}),Object.defineProperty(f,"FoxCard",{enumerable:!0,get:()=>d.ElCard}),Object.defineProperty(f,"FoxCarousel",{enumerable:!0,get:()=>d.ElCarousel}),Object.defineProperty(f,"FoxCarouselItem",{enumerable:!0,get:()=>d.ElCarouselItem}),Object.defineProperty(f,"FoxCascader",{enumerable:!0,get:()=>d.ElCascader}),Object.defineProperty(f,"FoxCascaderPanel",{enumerable:!0,get:()=>d.ElCascaderPanel}),Object.defineProperty(f,"FoxCheckTag",{enumerable:!0,get:()=>d.ElCheckTag}),Object.defineProperty(f,"FoxCheckbox",{enumerable:!0,get:()=>d.ElCheckbox}),Object.defineProperty(f,"FoxCheckboxButton",{enumerable:!0,get:()=>d.ElCheckboxButton}),Object.defineProperty(f,"FoxCheckboxGroup",{enumerable:!0,get:()=>d.ElCheckboxGroup}),Object.defineProperty(f,"FoxCol",{enumerable:!0,get:()=>d.ElCol}),Object.defineProperty(f,"FoxCollapse",{enumerable:!0,get:()=>d.ElCollapse}),Object.defineProperty(f,"FoxCollapseItem",{enumerable:!0,get:()=>d.ElCollapseItem}),Object.defineProperty(f,"FoxCollapseTransition",{enumerable:!0,get:()=>d.ElCollapseTransition}),Object.defineProperty(f,"FoxColorPicker",{enumerable:!0,get:()=>d.ElColorPicker}),Object.defineProperty(f,"FoxConfigProvider",{enumerable:!0,get:()=>d.ElConfigProvider}),Object.defineProperty(f,"FoxContainer",{enumerable:!0,get:()=>d.ElContainer}),Object.defineProperty(f,"FoxDatePicker",{enumerable:!0,get:()=>d.ElDatePicker}),Object.defineProperty(f,"FoxDescriptions",{enumerable:!0,get:()=>d.ElDescriptions}),Object.defineProperty(f,"FoxDescriptionsItem",{enumerable:!0,get:()=>d.ElDescriptionsItem}),Object.defineProperty(f,"FoxDialog",{enumerable:!0,get:()=>d.ElDialog}),Object.defineProperty(f,"FoxDivider",{enumerable:!0,get:()=>d.ElDivider}),Object.defineProperty(f,"FoxDrawer",{enumerable:!0,get:()=>d.ElDrawer}),Object.defineProperty(f,"FoxDropdown",{enumerable:!0,get:()=>d.ElDropdown}),Object.defineProperty(f,"FoxDropdownItem",{enumerable:!0,get:()=>d.ElDropdownItem}),Object.defineProperty(f,"FoxDropdownMenu",{enumerable:!0,get:()=>d.ElDropdownMenu}),Object.defineProperty(f,"FoxEmpty",{enumerable:!0,get:()=>d.ElEmpty}),Object.defineProperty(f,"FoxFooter",{enumerable:!0,get:()=>d.ElFooter}),Object.defineProperty(f,"FoxForm",{enumerable:!0,get:()=>d.ElForm}),Object.defineProperty(f,"FoxFormItem",{enumerable:!0,get:()=>d.ElFormItem}),Object.defineProperty(f,"FoxHeader",{enumerable:!0,get:()=>d.ElHeader}),Object.defineProperty(f,"FoxIcon",{enumerable:!0,get:()=>d.ElIcon}),Object.defineProperty(f,"FoxImage",{enumerable:!0,get:()=>d.ElImage}),Object.defineProperty(f,"FoxImageViewer",{enumerable:!0,get:()=>d.ElImageViewer}),Object.defineProperty(f,"FoxInput",{enumerable:!0,get:()=>d.ElInput}),Object.defineProperty(f,"FoxInputNumber",{enumerable:!0,get:()=>d.ElInputNumber}),Object.defineProperty(f,"FoxLink",{enumerable:!0,get:()=>d.ElLink}),Object.defineProperty(f,"FoxMain",{enumerable:!0,get:()=>d.ElMain}),Object.defineProperty(f,"FoxMenu",{enumerable:!0,get:()=>d.ElMenu}),Object.defineProperty(f,"FoxMenuItem",{enumerable:!0,get:()=>d.ElMenuItem}),Object.defineProperty(f,"FoxMenuItemGroup",{enumerable:!0,get:()=>d.ElMenuItemGroup}),Object.defineProperty(f,"FoxOption",{enumerable:!0,get:()=>d.ElOption}),Object.defineProperty(f,"FoxOptionGroup",{enumerable:!0,get:()=>d.ElOptionGroup}),Object.defineProperty(f,"FoxPageHeader",{enumerable:!0,get:()=>d.ElPageHeader}),Object.defineProperty(f,"FoxPagination",{enumerable:!0,get:()=>d.ElPagination}),Object.defineProperty(f,"FoxPopconfirm",{enumerable:!0,get:()=>d.ElPopconfirm}),Object.defineProperty(f,"FoxPopover",{enumerable:!0,get:()=>d.ElPopover}),Object.defineProperty(f,"FoxPopper",{enumerable:!0,get:()=>d.ElPopper}),Object.defineProperty(f,"FoxProgress",{enumerable:!0,get:()=>d.ElProgress}),Object.defineProperty(f,"FoxRadio",{enumerable:!0,get:()=>d.ElRadio}),Object.defineProperty(f,"FoxRadioButton",{enumerable:!0,get:()=>d.ElRadioButton}),Object.defineProperty(f,"FoxRadioGroup",{enumerable:!0,get:()=>d.ElRadioGroup}),Object.defineProperty(f,"FoxRate",{enumerable:!0,get:()=>d.ElRate}),Object.defineProperty(f,"FoxResult",{enumerable:!0,get:()=>d.ElResult}),Object.defineProperty(f,"FoxRow",{enumerable:!0,get:()=>d.ElRow}),Object.defineProperty(f,"FoxScrollbar",{enumerable:!0,get:()=>d.ElScrollbar}),Object.defineProperty(f,"FoxSelect",{enumerable:!0,get:()=>d.ElSelect}),Object.defineProperty(f,"FoxSelectV2",{enumerable:!0,get:()=>d.ElSelectV2}),Object.defineProperty(f,"FoxSkeleton",{enumerable:!0,get:()=>d.ElSkeleton}),Object.defineProperty(f,"FoxSkeletonItem",{enumerable:!0,get:()=>d.ElSkeletonItem}),Object.defineProperty(f,"FoxSlider",{enumerable:!0,get:()=>d.ElSlider}),Object.defineProperty(f,"FoxSpace",{enumerable:!0,get:()=>d.ElSpace}),Object.defineProperty(f,"FoxStep",{enumerable:!0,get:()=>d.ElStep}),Object.defineProperty(f,"FoxSteps",{enumerable:!0,get:()=>d.ElSteps}),Object.defineProperty(f,"FoxSubMenu",{enumerable:!0,get:()=>d.ElSubMenu}),Object.defineProperty(f,"FoxSwitch",{enumerable:!0,get:()=>d.ElSwitch}),Object.defineProperty(f,"FoxTabPane",{enumerable:!0,get:()=>d.ElTabPane}),Object.defineProperty(f,"FoxTable",{enumerable:!0,get:()=>d.ElTable}),Object.defineProperty(f,"FoxTableColumn",{enumerable:!0,get:()=>d.ElTableColumn}),Object.defineProperty(f,"FoxTableV2",{enumerable:!0,get:()=>d.ElTableV2}),Object.defineProperty(f,"FoxTabs",{enumerable:!0,get:()=>d.ElTabs}),Object.defineProperty(f,"FoxTag",{enumerable:!0,get:()=>d.ElTag}),Object.defineProperty(f,"FoxTimePicker",{enumerable:!0,get:()=>d.ElTimePicker}),Object.defineProperty(f,"FoxTimeSelect",{enumerable:!0,get:()=>d.ElTimeSelect}),Object.defineProperty(f,"FoxTimeline",{enumerable:!0,get:()=>d.ElTimeline}),Object.defineProperty(f,"FoxTimelineItem",{enumerable:!0,get:()=>d.ElTimelineItem}),Object.defineProperty(f,"FoxTooltip",{enumerable:!0,get:()=>d.ElTooltip}),Object.defineProperty(f,"FoxTransfer",{enumerable:!0,get:()=>d.ElTransfer}),Object.defineProperty(f,"FoxTree",{enumerable:!0,get:()=>d.ElTree}),Object.defineProperty(f,"FoxTreeSelect",{enumerable:!0,get:()=>d.ElTreeSelect}),Object.defineProperty(f,"FoxTreeV2",{enumerable:!0,get:()=>d.ElTreeV2}),Object.defineProperty(f,"FoxUpload",{enumerable:!0,get:()=>d.ElUpload}),f.AutocompleteItem=Zn,f.Broadcast=vt,f.BroadcastKey=te,f.CascaderItem=Un,f.CheckboxItem=sr,f.Content=yn,f.DataItemsKey=Ae,f.DateItem=kn,f.DialogItem=hr,f.Domain=Ct,f.DomainKey=Se,f.ExtIcon=mr,f.FooterBar=mn,f.Group=Sn,f.HeaderBar=gn,f.HintText=ct,f.Indicator=yr,f.InputItem=xn,f.InputNumberItem=Gn,f.Item=oe,f.Mapping=Mt,f.MoneyItem=Kn,f.Page=hn,f.Price=ut,f.PriorityPolicy=at,f.RadioItem=lr,f.RateItem=cr,f.RowItem=On,f.SelectItem=Rn,f.SlotItem=Cn,f.SwitchItem=dr,f.TableItem=nr,f.TableMappingColumn=Qn,f.TimeItem=Dn,f.TimeSelectItem=Bn,f.UniqueID=$n,f.ValidateSchema=rn,f.ValidateSchemaKey=pe,f.clearNonNumber=Ir,f.compareTo=wt,f.createBroadcast=Xe,f.createValidateSchema=Je,f.debounce=Kr,f.decimalLength=Xt,f.default=Qo,f.defineBroadcast=Mr,f.defineDataItem=ln,f.defineDomain=Nt,f.defineItem=le,f.definePageState=on,f.deleteGlobalValidator=Fr,f.disabledProperty=fe,f.divide=St,f.excludeProps=ie,f.floatData=kr,f.getGlobalValidateCheckEvents=en,f.getGlobalValidateResetEvents=nn,f.getPageContentAreaHeight=nt,f.getPageContentAreaWidth=rt,f.getPageFooterAreaHeight=tt,f.getPageHeaderAreaHeight=et,f.getRootDomain=Ge,f.includeProps=jr,f.indexOf=Ar,f.integerLength=Ut,f.isBrowser=_e,f.isEmptyString=Q,f.isInnerPage=Gr,f.isNumberString=Yt,f.isRegExp=Wt,f.isSubPage=Wr,f.lastIndexOf=Rr,f.multiply=Kt,f.negate=zt,f.numberFormat=$t,f.property=Re,f.raf=Vr,f.readonlyProperty=ce,f.setGlobalValidateCheckEvents=Pr,f.setGlobalValidateHandler=qr,f.setGlobalValidateMessages=_r,f.setGlobalValidateResetEvents=Lr,f.setGlobalValidator=Br,f.throttle=Et,f.toPadding=ye,f.toPx=X,f.toPxDesc=z,f.toValue=U,f.unNumberFormat=Gt,f.updatePageState=xt,f.useBroadcast=Ke,f.useDomain=we,f.useExpose=ue,f.usePageState=Qe,f.usePosition=vn,f.useRect=st,f.useTouch=Zo,f.valueLength=He,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
5
+ */function Qe(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=le(e),t=le(t),[e,t]=wt(le(e),le(t)),r==1&&(n==1?e=bt(e):t=bt(t));let a=ln(e,t);return r?r==2?"-"+le(a):e.length<a.length?le(a.substring(1)):"-"+le(bt(a)):le(a)}function bt(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 ln(t,o)}function le(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 wt(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 ln(e,t){[e,t]=wt(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 Ke(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=Ke(e,0,r),(n?"-":"")+s+new Array(t+1).join("0")}}if(t==0)return o.length,on(a[1],o,n,r)?(n?"-":"")+St(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&&on(u,i,n,r)&&(i=St(i),i.length>t)?(n?"-":"")+St(o,parseInt(i[0]))+"."+i.substring(1):(n?"-":"")+o+"."+i}function on(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 St(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 $t(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=ze(e),t=ze(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=ze(e.replace(".","")),t=ze(t.replace(".","")),e.length<t.length){let g=e;e=t,t=g}if(t=="0")return"0";let i=t.length,u=0,s=[],d=i-1,c="";for(let g=0;g<i;g++)s[g]=e.length-1;for(let g=0;g<2*e.length;g++){let E=0;for(let A=t.length-1;A>=d&&A>=0;A--)s[A]>-1&&s[A]<e.length&&(E+=parseInt(e[s[A]--])*parseInt(t[A]));E+=u,u=Math.floor(E/10),c=E%10+c,d--}return c=ze(_r(c,o)),r==1&&(c="-"+c),c}function _r(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 ze(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 vt(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=le(t.replace(".","")),a>=0){let d=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(d==-1)e=le(e+new Array(a+1).join("0"));else if(a>d)e=e.replace(".",""),e=le(e+new Array(a-d+1).join("0"));else if(a<d){e=e.replace(".","");let c=e.length-d+a;e=le(e.substring(0,c)+"."+e.substring(c))}else a==d&&(e=le(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=Qe(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?"-":"")+le(Ke(u,r-2))}function Et(e,t){return e=e.toString(),t=t.toString(),t=xt(t),Qe(e,t)}function xt(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function sn(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),un(e),un(t);let r="";e[0]=="-"&&(r="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let n=Et(e,$t(t,Ke(vt(e,t),0,Q.FLOOR)));return r+n}function un(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function cn(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]=wt(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=le(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+le(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 Ke(t,r,n)}round(t=0,r=Q.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new H(Ke(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),Qe(t,r)}add(t){return new H(Qe(this.value,t.getValue()))}static subtract(t,r){return t=H.validate(t),r=H.validate(r),Et(t,r)}subtract(t){return new H(Et(this.value,t.getValue()))}static multiply(t,r){return t=H.validate(t),r=H.validate(r),$t(t,r)}multiply(t){return new H($t(this.value,t.getValue()))}static divide(t,r,n){return t=H.validate(t),r=H.validate(r),vt(t,r,n)}divide(t,r){return new H(vt(this.value,t.getValue(),r))}static modulus(t,r){return t=H.validate(t),r=H.validate(r),sn(t,r)}modulus(t){return new H(sn(this.value,t.getValue()))}static compareTo(t,r){return t=H.validate(t),r=H.validate(r),cn(t,r)}compareTo(t){return cn(this.value,t.getValue())}static negate(t){return t=H.validate(t),xt(t)}negate(){return new H(xt(this.value))}}function fn(e,t){return H.multiply(`${e}`,`${t}`)}function Ct(e,t,r=8){return H.divide(`${e}`,`${t}`,r)}function Ot(e,t){return e=`${e}`,t=`${t}`,H.compareTo(e,t)}function dn(e){return H.negate(e)}function Tt(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 g="",E=u.split("").reverse();for(let A=0;A<E.length;A++)g+=E[A]+((A+1)%n==0&&A+1!=E.length?a:"");s.length==0?c=`${i}${g.split("").reverse().join("")}`:c=`${i}${g.split("").reverse().join("")}.${s}`}else s.length==0?c=`${i}${u}`:c=`${i}${u}.${s}`;return c}function hn(e){let t=`${e}`,r=t.charAt(0);r=="-"?t=t.substring(1):r="";let n=t.replace(/[^\d\.-]/g,"");return`${r}${n}`}const Hr=Array.isArray,Kr=e=>et(e)==="[object Map]",zr=e=>et(e)==="[object Set]",Gr=e=>e instanceof Date,Vt=e=>typeof e=="function",Yr=e=>typeof e=="string",Wr=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",Ur=e=>Se(e)&&Vt(e.then)&&Vt(e.catch),gn=Object.prototype.toString,et=e=>gn.call(e),It=e=>et(e)==="[object Object]",mn=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Xr(e){return e.__esModule||mn&&e[Symbol.toStringTag]==="Module"}const Zr=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 Nt(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)&&!It(i))continue;o=Nt(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)&&!It(i))continue;o=Nt(o,i,r),e[a]=o}else{if(typeof i=="function")continue;e[a]=i}}}return e}const At=Zr?Promise.resolve():null;function Jr(e,...t){At!==null?t&&t.length>0?At.then(()=>{e(t)}):At.then(e):t&&t.length>0?setTimeout(()=>{e(t)}):setTimeout(e)}function re(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 Qr={"[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 tt(e){let r=Object.prototype.toString.call(e);return e==null?String(e):Qr[r]||"object"}function yn(e){return e&&typeof e=="object"&&"setInterval"in e}function pn(e){let t=!!e&&"length"in e&&e.length,r=tt(e);return r==="function"||yn(e)?!1:r==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function bn(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 ea(e,t=[]){let r=t;return e!=null&&(pn(Object(e))?bn(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=tt(e),n=tt(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 Ge=typeof window<"u",ta=Ge&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function wn(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ee=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Sn(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 $n(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 vn(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 En(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 na(e,t=!0,r=!0){t?e=En(e,".",/\./g):e=e.replace(/\./g,""),r?e=En(e,"-",/-/g):e=e.replace(/-/,"");const n=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function ra(e,t){return typeof e=="object"||Array.isArray(e)?t.findIndex(r=>{if(Ne(e,r))return!0}):t.indexOf(e)}function aa(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 Ye(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function la(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 oa=(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("BroadcastKey");class Rt{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="*"):wn(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 nt(e,t,r,n){const a=new Rt(t,e,r);if(n&&typeof n=="object")for(const o in n)a.on(o,n[o]);return a}function ia(e,t,r){const n=r;if(n[ne])return n[ne];const a=l.inject(ne,null),o=new Rt(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 We(e=null){return e||(e=l.getCurrentInstance()?.proxy??null),e?e[ne]??l.inject(ne,null):l.inject(ne,null)}class sa{error(t,r){const n=r,a=We(r);a?a.emit({name:"*"},"setErrorTip",t):typeof n.setErrorTip=="function"&&n.setErrorTip(t)}reset(t){const r=t,n=We(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}success(t){const r=t,n=We(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=We(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 xn=new sa;function ua(e){xn=e}function ca(e,t){Ve.setValidator(e,t)}function fa(e){Ve.deleteValidator(e)}let Cn=["blur","clear"];function da(e){Cn=e}function On(){return Cn}let Tn=["focus","change"];function ha(e){Tn=e}function Vn(){return Tn}function ga(e){Ve.messages(e)}function Ue(...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 rt(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 In{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=rt(Ue(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=rt(n);const a=Ue(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=xn;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?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?Ve.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,r=!1){if(r)return 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=Ue(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=rt(t):this.rules=rt([t]);const n=Ue(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=Ue(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=new Ve(a),s=this.proxy??i;return u.validate(i,{context:s}).then(c=>{if(c.pass)this.success();else{let g="error";Array.isArray(c.errors)&&c.errors.length>0&&(g=c.errors[0].message??g,c.errors=[c.errors[0]],c.errors[0].ref=s),this.error(g)}return c}).catch(c=>{const g=c.message??`${c}`;return this.error(g),c})}}return Promise.resolve({pass:!0})}}function at(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 In(t,r,e)}const Nn=Symbol("EventEmitterKey");class ma{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 ya(e,t){let r=0;return function(...n){const a=Date.now();a-r>t&&(Reflect.apply(e,{},[...n]),r=a)}}function kt(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"),Me=Symbol("DataItemsKey");class jt{_parent=null;get parent(){return this._parent}set parent(t){this._parent=t}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(t){this._broadcast=t}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(t){this._validateSchema=t}_props=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 pa=new jt;function Xe(){return pa}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 Mt=Symbol("OriginalDateKey");function Dt(e,t,r=[],n){const a=l.getCurrentInstance(),o=a?.proxy;let i=l.inject($e,null);i===null&&(i=Xe());const u=e||t.prop||t.name,s=new jt(u);s.parent=i;const d=v=>{o[Mt]||E(v),s.set("modelValue",v)},c=()=>s.getForSelf("modelValue")??null,g=()=>o[Mt]??null,E=v=>{const k={};Ie(!0,k,l.toRaw(v)),o[Mt]=k};l.isReactive(t)?l.watchEffect(()=>{s.merge(t,r)}):s.merge(t,r),t.modelValue&&E(t.modelValue),o[$e]=s,l.provide($e,s);let A=null,x=null;if(a!==null){const v=l.inject(ne,null);A=nt(o,v,u,n),s.broadcast=A,o[ne]=A,l.provide(ne,A),o.broadcast=($,D,...j)=>Reflect.apply(A.emit,A,[$,D,...j]);const k=l.inject(be,null);x=at(o,k,{componentName:""}),s.validateSchema=x,o[be]=x,l.provide(be,x),o[Me]=new Map,o.validate=($=!0)=>{const D=[];let j=null;if($===!0)j={name:"*"};else if(Array.isArray($)&&$.length>0){const V=$;j={name:y=>y?V.indexOf(y)!==-1:!1}}else if($!=null&&typeof $=="object"){const V=$;if(Array.isArray(V.include)&&V.include.length>0){const y=V.include;j={name:p=>p?y.indexOf(p)!==-1:!1}}else if(Array.isArray(V.exclude)&&V.exclude.length>0){const y=V.exclude;j={name:p=>p?y.indexOf(p)===-1:!1}}else j={name:"*"}}if(j){const V=A?.emitToChildren(j,"validate",!1);V&&Reflect.apply([].push,D,V)}return D.length==1?D[0]:D.length>1?Promise.all(D).then(V=>{let y=[];return V.forEach(p=>{p.pass===!1&&Array.isArray(p.errors)&&(y=[...y,...p.errors])}),y.length>0?{pass:!1,errors:y}:{pass:!0}}):Promise.resolve({pass:!0})},o.setNameValidateRules=($,D=!0)=>{if(D){const j=Reflect.ownKeys($),V=[...j],y={name:p=>{const m=j.includes(p);if(m){const S=V.findIndex(C=>p===C);S!==-1&&V.splice(S,1)}return m}};A?.emitToChildren(y,"setNameValidateRules",$,!1),V.length>0&&V.forEach(p=>{let m=String(p);const C=An(s,m,{componentName:"",fieldName:m,pureDataValidate:!0},A,x);o[Me].set(m,C);const w=$[m];w&&C.validateSchema.setRule(w)})}},o.clearValidate=($=!0)=>{let D=null;if($===!0)D={name:"*"};else if(Array.isArray($)&&$.length>0){const j=$;D={name:V=>V?j.indexOf(V)!==-1:!1}}else if($!=null&&typeof $=="object"){const j=$;if(Array.isArray(j.include)&&j.include.length>0){const V=j.include;D={name:y=>y?V.indexOf(y)!==-1:!1}}else if(Array.isArray(j.exclude)&&j.exclude.length>0){const V=j.exclude;D={name:y=>y?V.indexOf(y)===-1:!1}}else D={name:"*"}}D&&A?.emitToChildren(D,"clearValidate",!1)},o.resetFields=$=>{const D=c();if(!D)return;const j={};if(Ie(!0,j,g()??{}),Array.isArray($))$.forEach(V=>{D[V]=j[V]});else if($&&Array.isArray($.include))($.include??[]).forEach(y=>{D[y]=j[y]});else if($&&Array.isArray($.exclude)){let V=$.exclude??[];Reflect.ownKeys(j).forEach(y=>{V.includes(y)||(D[y]=j[y])})}else Object.assign(D,j);o.clearValidate($)},o.setModelValue=($,D)=>{!D||D===u?d($):A?.emitToChildren({name:D},"setModelValue",$)},o.getModelValue=()=>c()}return l.onUnmounted(()=>{s.destroy(),o[$e]=void 0,o[Me]&&(o[Me].clear(),o[Me]=void 0),A!==null&&(A.destroy(),o[ne]=void 0),x!==null&&(x.destroy(),o[be]=void 0)}),s}function oe(e,t,r){const a=l.getCurrentInstance()?.proxy,o=t??"",i=l.inject(ne,null),u=nt(a,i,o,r);a[ne]=u,l.provide(ne,u),a.broadcast=(x,v,...k)=>Reflect.apply(u.emit,u,[x,v,...k]);const s=l.inject(be,null);e.fieldName=e.fieldName??o;const d=at(a,s,e);a[be]=d,l.provide(be,d),a.validate=(x=null)=>{const v=[];if(!Array.isArray(x)||x.indexOf(o)!==-1){const $=d?.validate();v.push($)}let k=null;if(x===!0)k={name:"*"};else if(Array.isArray(x)&&x.length>0){const $=x;k={name:D=>D?$.indexOf(D)!==-1:!1}}else if(x!=null&&typeof x=="object"){const $=x;if(Array.isArray($.include)&&$.include.length>0){const D=$.include;k={name:j=>j?D.indexOf(j)!==-1:!1}}else if(Array.isArray($.exclude)&&$.exclude.length>0){const D=$.exclude;k={name:j=>j?D.indexOf(j)===-1:!1}}else k={name:"*"}}if(k){const $=u.emitToChildren(k,"validate",!1);Reflect.apply([].push,v,$)}return v.length==1?v[0]:v.length>1?Promise.all(v).then($=>{let D=[];return $.forEach(j=>{j.pass===!1&&Array.isArray(j.errors)&&(D=[...D,...j.errors])}),D.length>0?{pass:!1,errors:D}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=x=>d?.setRule(x),a.setNameValidateRules=(x,v=!1)=>{const k=x[o];if(k&&d?.setRule(k),v){const $={name:D=>Reflect.ownKeys(x).includes(D)};u.emitToChildren($,"setNameValidateRules",x,!1)}},a.clearValidate=(x=null)=>{(!Array.isArray(x)||x.indexOf(t??"")!==-1)&&d?.clear();let v=null;if(x===!0)v={name:"*"};else if(Array.isArray(x)&&x.length>0){const k=x;v={name:$=>$?k.indexOf($)!==-1:!1}}else if(x!=null&&typeof x=="object"){const k=x;if(Array.isArray(k.include)&&k.include.length>0){const $=k.include;v={name:D=>D?$.indexOf(D)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const $=k.exclude;v={name:D=>D?$.indexOf(D)===-1:!1}}else v={name:"*"}}v&&u.emitToChildren(v,"clearValidate",!1)};const c=new ma(a);a[Nn]=c;const g=kt((x="validate")=>{x==="reset"?d.clear():d.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:On()).forEach(x=>{c.on(x,v=>{g("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Vn()).forEach(x=>{c.on(x,v=>{g("reset")})}),l.onUnmounted(()=>{u.destroy(),a[ne]=void 0,d.destroy(),a[be]=void 0,c.destroy(),a[Nn]=void 0}),{broadcast:u,validateSchema:d,emitEvent:(x,...v)=>{Reflect.apply(c.emit,c,[x,...v])},onEvent:(x,v)=>{Reflect.apply(c.on,c,[v])},offEvent:(x,v)=>{Reflect.apply(c.off,c,[v])}}}function An(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=at({},a,r);o.validate=(d=null)=>{const c=[];if(!Array.isArray(d)||d.indexOf(i)!==-1){const E=u?.validate();c.push(E)}let g=null;if(d===!0)g={name:"*"};else if(Array.isArray(d)&&d.length>0){const E=d;g={name:A=>A?E.indexOf(A)!==-1:!1}}else if(d!=null&&typeof d=="object"){const E=d;if(Array.isArray(E.include)&&E.include.length>0){const A=E.include;g={name:x=>x?A.indexOf(x)!==-1:!1}}else if(Array.isArray(E.exclude)&&E.exclude.length>0){const A=E.exclude;g={name:x=>x?A.indexOf(x)===-1:!1}}else g={name:"*"}}if(g){const E=s.emitToChildren(g,"validate",!1);Reflect.apply([].push,c,E)}return c.length==1?c[0]:c.length>1?Promise.all(c).then(E=>{let A=[];return E.forEach(x=>{x.pass===!1&&Array.isArray(x.errors)&&(A=[...A,...x.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=nt(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(Ge){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 qt(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 Rn(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;qt(n,o,t,!0,i,u,s,d);const c=l.reactive(n),g=e.getForParent(Ee);g&&(n.height=st(e,g),n.width=ut(e,g),l.watch([()=>g.height,()=>g.width,()=>g.contentPadding,()=>g.headerMounted,()=>g.footerMounted],()=>{c.height=st(e,g),c.width=ut(e,g)}));const E=!g;return l.watch([()=>t.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([A,x,v=-1,k=-1,$=0,D=0])=>{qt(c,x,t,E,v,k,$,D)}),e.set(Ee,c),c}function lt(e){return e.get(Ee)}function ot(e,t){return t=t??e.get(Ee),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function it(e,t){return t=t??e.get(Ee),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function st(e,t){if(t=t??e.get(Ee),t){const r=ot(e,t),n=it(e,t);return t.height-r-n-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function ut(e,t){return t=t??e.get(Ee),t?t.width-(t.contentPadding.left??0)-(t.contentPadding.right??0):0}function ba(e,t){const r=e.get("isInnerPage");return typeof r=="function"?Reflect.apply(r,{},[t,e]):!1}function wa(e){return!!e.getForParent(Ee)}var ct=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(ct||{});function Bt(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function De(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(Bt(s,n))return s}const i=e.value;return Bt(i,n)?i:null}):l.computed(()=>{const o=e.value;return Bt(o,n)?o:a?.get(t)})}function de(e){return De(e,"readonly",0,function(r){return re(r)})}function he(e){return De(e,"disabled",0,function(r){return re(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 kn=new Map,ft=new Map;let Ft=null;function Sa(e){Ft=e}function jn(e,t,r){if(r){let n=ft.get(r);n||(n=new Map,ft.set(r,n)),n.set(e,t)}else kn.set(e,t)}function Ae(e,t,r){!r&&Ft&&(r=Ft(e)??void 0);let n=null;if(r){let a=ft.get(r);a&&(n=a.get(t))}return n||(n=kn.get(t)),n}function $a(e,t){for(let r in e){const n=e[r];jn(r,n,t)}}function va(e){ft.delete(e)}function Ea(){return{top:0,left:0,bottom:0,right:0}}function xa(e=0,t=0){if(Ge){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 Ca{packages;installers;_version;get version(){return this._version}constructor(t,r,n){this.packages=t,this.installers=r,this._version=n}install(t,r={}){this.packages.forEach(o=>{o.install?t.use(o):o.name&&t.component(o.name,o)}),this.installers.forEach(o=>{o(t)});const n=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=Xe();if(this.initPageLayout(r,a),r.autoAdjustPageLayout!==!1&&window.ResizeObserver){const o=kt(()=>{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({},Ea(),t.safeAreaInset),i=xa(n,a),u=Ie({},i.pageLayout,t.pageLayout);r=r??Xe(),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){Sa(t)}setAPI(t,r,n){jn(t,r,n)}getAPI(t,r,n){return Ae(t,r,n)}batchSetAPI(t,r){$a(t,r)}clearScopeAPI(t){va(t)}getRootDomain(){return Xe()}}const Oa=[h.ElAffix,h.ElAlert,h.ElAutocomplete,h.ElAutoResizer,h.ElAvatar,h.ElBacktop,h.ElBadge,h.ElBreadcrumb,h.ElBreadcrumbItem,h.ElButton,h.ElButtonGroup,h.ElCalendar,h.ElCard,h.ElCarousel,h.ElCarouselItem,h.ElCascader,h.ElCascaderPanel,h.ElCheckTag,h.ElCheckbox,h.ElCheckboxButton,h.ElCheckboxGroup,h.ElCol,h.ElCollapse,h.ElCollapseItem,h.ElCollapseTransition,h.ElColorPicker,h.ElConfigProvider,h.ElContainer,h.ElAside,h.ElFooter,h.ElHeader,h.ElMain,h.ElDatePicker,h.ElDescriptions,h.ElDescriptionsItem,h.ElDialog,h.ElDivider,h.ElDrawer,h.ElDropdown,h.ElDropdownItem,h.ElDropdownMenu,h.ElEmpty,h.ElForm,h.ElFormItem,h.ElIcon,h.ElImage,h.ElImageViewer,h.ElInput,h.ElInputNumber,h.ElLink,h.ElMenu,h.ElSubMenu,h.ElMenuItem,h.ElMenuItemGroup,h.ElPageHeader,h.ElPagination,h.ElPopconfirm,h.ElPopover,h.ElPopper,h.ElProgress,h.ElRadio,h.ElRadioButton,h.ElRadioGroup,h.ElRate,h.ElResult,h.ElRow,h.ElScrollbar,h.ElSelect,h.ElOption,h.ElOptionGroup,h.ElSelectV2,h.ElSkeleton,h.ElSkeletonItem,h.ElSlider,h.ElSpace,h.ElSteps,h.ElStep,h.ElSwitch,h.ElTable,h.ElTableColumn,h.ElTableV2,h.ElTabs,h.ElTabPane,h.ElTag,h.ElTimePicker,h.ElTimeSelect,h.ElTimeline,h.ElTimelineItem,h.ElTooltip,h.ElTransfer,h.ElTree,h.ElTreeSelect,h.ElTreeV2,h.ElUpload],Ta=[h.ElInfiniteScroll,h.ElLoading,h.ElMessage,h.ElMessageBox,h.ElNotification,h.ElPopoverDirective],Va=e=>{Oa.forEach(t=>{let r=t.name;typeof r=="string"?(r=`Fox${r.slice(2)}`,e.component(r,t)):e.use(t)}),Ta.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 ae={disabled:{type:[Boolean,String],required:!1},readonly:{type:[Boolean,String],required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},hasBorder:{type:Boolean,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}},Mn={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"}},Dn={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}},qn=[];for(const e in Dn)qn.push(e);function fe(e,t=null){if(t||(t=l.getCurrentInstance()),t&&t.proxy){let r=t.proxy;Object.assign(r,e)}}const Ia=Symbol.for("InnerPageScopeKey"),Na=(e,t)=>({inheritAttrs:!0,props:{...ae,...Mn,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=Dt(r.name,r);if(a){const d=Rn(a,r);fe({getPageContentHeight:()=>st(a,d),getPageContentWidth:()=>ut(a,d),getPageHeaderHeight:()=>ot(a,d),getPageFooterHeight:()=>it(a,d)});const c=l.inject(Ia,!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 g=l.toRaw(c),E=l.toRaw(d),A=E?Reflect.ownKeys(E):[];(g?Reflect.ownKeys(g):[]).forEach(v=>{A.includes(v)||(E[v]=[])}),s(E)},{deep:!0}),l.onMounted(()=>{if(r.rules){const d=l.toRaw(r.rules);s(d)}}),{classes:o,styles:i}}}),{componentName:Aa,create:Ra,scope:qi}=Y("page"),ka=Ra(Na(Aa));function ja(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 Re=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r},Bn=Re(ka,[["render",ja]]),Ma=(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?lt(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 S=pe(r.padding??o.footerPadding);return Object.assign(m,S),u&&(o.headerHeight=u),m.height=o.headerHeight,m.safeAreaTop=o.safeAreaTop,m.safeAreaTop&&(m.top=m.safeAreaTop+(S.top??0),m.height=m.height+o.safeAreaTop),m.height,m.safeAreaTop,m}if(u&&(m.height=u),r.padding){const S=pe(r.padding);Object.assign(m,S)}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}),g=l.computed(()=>{const m={};return s.value.safeAreaTop!==null&&s.value.safeAreaTop!==void 0&&(m.top=`${s.value.safeAreaTop}px`),m}),E=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)),x=l.computed(()=>r.titleShow?r.title||r.titleIcon||n.slots.default:!1),v=l.computed(()=>r.rightShow?r.rightIcon||r.rightText||n.slots.right:!1),k=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 j(){n.emit("back")}function V(){n.emit("click-title")}function y(){n.emit("click-right")}function p(){n.emit("click-right-text")}return{classes:i,styles:d,mHeaderShow:A,leftStyles:c,rightStyles:g,mLeftShow:E,mTitleShow:x,mRightShow:v,mLeftIcon:k,mTitleIcon:$,mRightIcon:D,handleLeft:j,handleCenter:V,handleRight:y,handleRightText:p}}}),{componentName:Da,create:qa,scope:Bi}=Y("header-bar"),Ba=qa(Ma(Da)),Fa={key:1,class:"fox-header-bar__title"};function La(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",Fa,[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 Fn=Re(Ba,[["render",La]]);function Pa(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?lt(a):null;o&&(o.footerMounted=!0);const i=l.computed(()=>{const c=e;let g=e;return r.align==="left"?g=`${g}__left`:r.align==="right"?g=`${g}__right`:g=`${g}__center`,{[c]:!0,[g]:!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 g=pe(r.padding??o.footerPadding);return Object.assign(c,g),u&&(o.footerHeight=u),c.height=o.footerHeight,c.safeAreaBottom=o.safeAreaBottom,c.safeAreaBottom&&(c.height=c.height+o.safeAreaBottom,c.bottom=c.safeAreaBottom+(g.bottom??0)),c}if(u&&(c.height=u),r.padding){const g=pe(r.padding);Object.assign(c,g)}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:_a,create:Ha,scope:Fi}=Y("footer-bar"),Ka=Ha(Pa(_a));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 Ln=Re(Ka,[["render",za]]);function Ga(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=lt(n);if(u){if(r.padding){const g=pe(r.padding);Object.assign(u.contentPadding,g)}const s=ot(n,u),d=it(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 g=(u&&u.contentPadding&&u.contentPadding.top)??0;i.paddingTop=`${s+g}px`}if(u.contentPadding.bottom!==null&&u.contentPadding.bottom!==void 0||d>0){const g=(u&&u.contentPadding&&u.contentPadding.bottom)??0;i.paddingBottom=`${d+g}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:Ya,create:Wa,scope:Li}=Y("content"),Ua=Wa(Ga(Ya));function Xa(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=Re(Ua,[["render",Xa]]),qe="GroupStateKey",_n=Symbol.for("GroupScopeKey");function dt(){return l.inject(_n,!1)}function ht(e=!0){l.provide(_n,e)}function Za(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(qe,o),o}function Hn(e,t,r=-1,n=-1,a=!1,o=-1){const i=e.get(qe);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 g=Z(r);const E=U(n);if(!d){let v=(c-(g-1)*E)/g;for(;o!==-1&&g>1&&v<o;)g--,v=(c-(g-1)*E)/g}let A=!1;const x=i.layout;x.value.width=t,x.value.column!==g&&(x.value.column=g,A=!0),x.value.gutter!==E&&(x.value.gutter=E,A=!0),A&&l.triggerRef(x)};if(a)s();else{const d=++i.passport;setTimeout(()=>{d===i.passport&&s()},50)}}function Ze(e,t=!1){let r;return t?r=e.getForParent(qe):r=e.get(qe),r.layout}function Lt(e,t=!1){let r;return t?r=e.getForParent(qe):r=e.get(qe),r.order}function ge(e,t=1){return t==="stretch"?-1:(t=Z(t),t===-1?100:100*t/e)}function Ja(e){return e===window}const gt=e=>{const t=l.unref(e);if(Ja(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}`,Qa=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},el=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},tl=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"},nl=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 rl(e,t){return{props:{...ae,...Mn,...Dn},setup(r,n){const a=Dt(r.name,r,qn),o=Za(a,{type:r.type}),i=dt();ht(!0);const u=l.computed(()=>i&&a?Ze(a,!0).value:null),s=l.getCurrentInstance(),d=y=>{const p=s?.proxy;p&&typeof p.setNameValidateRules=="function"&&p.setNameValidateRules(y,!0)};l.watch(()=>r.rules,(y,p)=>{if(!y&&!p)return;const m=l.toRaw(p),S=l.toRaw(y),C=S?Reflect.ownKeys(S):[];(m?Reflect.ownKeys(m):[]).forEach(M=>{C.includes(M)||(S[M]=[])}),d(S)},{deep:!0}),l.onMounted(()=>{if(r.rules){const y=l.toRaw(r.rules);d(y)}});const c=e,g=l.computed(()=>{const y={};if(u.value){const p=Ze(a,!0);if(p.value.type==="flex"){if(r.width){const C=K(r.width);y.width=C}else{const C=ge(p.value.column,r.span);C>0&&(y.width=`${C}%`)}if(r.height){const C=K(r.height);y.height=C}const m=ge(p.value.column,r.offset);m>0&&(y["margin-left"]=`${m}%`);const S=p.value.gutter/2;S>0&&(y["padding-left"]=`${S}px`,y["padding-right"]=`${S}px`)}else if(p.value.type==="flow"){if(r.width){const C=K(r.width);y.width=C}else{const C=ge(p.value.column,r.span);C>0&&(y.width=`${C}%`)}if(r.height){const C=K(r.height);y.height=C}const m=ge(p.value.column,r.offset);m>0&&(y["margin-left"]=`${m}%`);const S=p.value.gutter/2;if(S>0){const C=a?Lt(a,!0):null;if(C){let w=Z(r.offset)+Z(r.span);(w===-1||w>p.value.column)&&(w=p.value.column);const M=Math.ceil((C.index+1)/p.value.column),B=Math.ceil((C.index+w)/p.value.column);if(M===B){const O=(C.index+1)%p.value.column,R=(C.index+w)%p.value.column,b=O===1?0:S,I=R===0?0:S;y["padding-left"]=`${b}px`,y["padding-right"]=`${I}px`}else{const O=w%p.value.column,R=0,b=O===0?0:S;y["padding-left"]=`${R}px`,y["padding-right"]=`${b}px`}C.index+=w}else y["padding-left"]=`${S}px`,y["padding-right"]=`${S}px`}}}else{if(r.width){const p=K(r.width);y.width=p}if(r.height){const p=K(r.height);y.height=p}}return y}),E=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"),x=l.toRef(r,"gutter"),v=l.toRef(r,"column"),k=l.computed(()=>i?!0:re(r.isWrap)),$=l.ref([]),D=y=>{$.value.push(y)},j=l.ref(-1);if(Hn(a,j.value,v.value,x.value,!0,r.minItemWidth),r.autoLayout){l.watch([j,v,x],([p,m,S])=>{o.order.index=0,Hn(a,p,m,S,!1,r.minItemWidth)});let y=null;l.onMounted(()=>{if(Ge&&$.value&&$.value.length>0){const p=$.value[0];j.value=gt(p).width,window.ResizeObserver&&(y=new window.ResizeObserver(()=>{const m=gt(p).width;m>0&&m!==j.value&&(j.value=m)}),y.observe(p))}}),l.onUnmounted(()=>{y?.disconnect()})}const V=(y,p,m,S)=>{const C={...E.value};return p===0&&(C[`${c}__first`]=!0),m>=S-1&&(C[`${c}__last`]=!0),l.h("div",{ref:D,key:`${p}`,class:C},y)};return()=>{o.order.index=0;const y=[];let p=0;if(n.slots.title){const w={key:`${p++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},M=l.h("div",w,[n.slots.title()]);y.push(M)}else if(A.value){const w={key:`${p++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},M=[];if(r.showMark){const R={class:{[`${c}__title-mark`]:!0}};r.markColor&&(R.style={background:r.markColor});const b=l.h("div",R);M.push(b)}const B=l.h("div",{class:{[`${c}__title-text`]:!0}},[A.value]);M.push(B);const O=l.h("div",w,M);y.push(O)}const m=n.slots.default?n.slots.default():[];let S=[],C=0;if(r.type==="flex"){for(let w=0;w<m.length;w++){const M=String(m[w].type);if(M==="Symbol(Comment)")continue;if(M==="Symbol(Fragment)")if(Array.isArray(m[w].children)){const q=m[w].children;if(Reflect.apply([].splice,m,[w,1,...q]),q.length===0){w-=1;continue}}else{m.splice(w,1),w-=1;continue}const B=m[w];if(tl(B)==="fragment"){let q=nl(B);q>o.layout.value.column?q=o.layout.value.column:q<=0&&(q=1);const N=C+q;if(N>o.layout.value.column){const F=V([...S],p++,w-1,m.length);y.push(F),C=q,S=[B]}else S.push(B),C=N;continue}const R=Qa(B),b=el(B);if(R==="stretch"){if(C<o.layout.value.column){S.push(B);const q=V([...S],p++,w,m.length);y.push(q)}else{const q=V([...S],p++,w-1,m.length);y.push(q);const N=V([B],p++,w,m.length);y.push(N)}C=0,S=[];continue}let I=Z(R);if(I===-1){if(S.length>0){const N=V([...S],p++,w-1,m.length);y.push(N)}const q=V([B],p++,w,m.length);y.push(q),C=0,S=[];continue}I>o.layout.value.column?I=o.layout.value.column:I<=0&&(I=1);const T=C+I+b;if(T>o.layout.value.column){const q=V([...S],p++,w-1,m.length);y.push(q),C=I+b,S=[B]}else S.push(B),C=T}if(S.length>0){const w=V([...S],p++,m.length,m.length);y.push(w)}}else if(r.type==="flow"){const w=V(m,p++,0,m.length);y.push(w)}else for(let w=0;w<m.length;w++){const M=m[w],B=V([M],p++,w,m.length);y.push(B)}return k.value?l.h("div",{class:{[`${c}`]:!0},style:g.value},[y]):y}}}}const{componentName:al,create:ll,scope:Pi}=Y("group"),Kn=ll(rl(al)),zn={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"&yen;"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:[Number,String],required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:ol,create:il}=Y("price"),sl=il({props:{...zn},setup(e){const t=l.computed(()=>({[ol]:!0})),r=l.computed(()=>e.needSymbol?e.symbol:""),n=l.computed(()=>Ye(e.price)==0?"":Tt(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}}}),ul=["innerHTML"],cl=["innerHTML"];function fl(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,ul)):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,cl)):l.createCommentVNode("",!0)],2)}const mt=Re(sl,[["render",fl]]),{componentName:Pt,create:dl}=Y("hint-text"),hl=dl({components:{[mt.name]:mt},props:{...zn,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(()=>({[Pt]:!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(()=>({[`${Pt}__content`]:!0})),u=l.computed(()=>({})),s=l.computed(()=>({[`${Pt}__arrow`]:!0})),d=l.computed(()=>({top:K(e.height)}));return{classes:a,styles:o,textClasses:i,textStyles:u,arrowClasses:s,arrowStyles:d}}}),gl={key:1,class:"text"};function ml(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",gl,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 yt=Re(hl,[["render",ml]]);class Gn{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 yl(e){return e===window}const Yn=e=>{const t=l.unref(e);if(!t)return{x:0,y:0};if(yl(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}},_t={},pl=new Gn,Be=new Map,Ht=e=>{if(e){const t=document.getElementById(e);Be.delete(e),t&&document.body.removeChild(t)}else{for(const t of Be.keys()){const r=document.getElementById(t);r&&document.body.removeChild(r)}Be.clear()}},bl=e=>{const t=document.getElementById(e.id);if(t){const r=Be.get(e.id);r?e={..._t,...r,...e}:e={..._t,...e};const n=l.createVNode(yt,e);return l.render(n,t),e.id}},wl=e=>{e.unmount=Ht;let t;if(e.id){if(t=e.id,Be.has(t))return bl(e)}else t=`hinttext_${pl.get()}`;e={..._t,...e},e.id=t,Be.set(t,e);const r=document.createElement("div");r.id=e.id;const n=l.createVNode(yt,e);return l.render(n,r),document.body.appendChild(r),t},Sl=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},pt={show(e,t,r={},n=!0){n&&Ht(),Sl(t);const a=Yn(e),o={x:a.x,y:a.y},i=r.width??gt(e).width;return wl({...r,message:t,startPoint:o,width:i})},hide(e){Ht(e)},install(e){e.config.globalProperties.$hintText=pt}},{componentName:Wn,create:$l}=Y("item"),vl=$l({inheritAttrs:!0,props:{...ae,...ce},setup(e,t){oe({componentName:Wn,validate:!1},e.prop??t.attrs.name);const r=ve(),n=dt();ht(!1);const a=l.computed(()=>n&&r?Ze(r,!1).value:null),o=Wn,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":!!C.value,"is-warn":!!m.value,"is-info":!!y.value})),u=l.computed(()=>{const N={};if(a.value)if(a.value.type==="flex"){if(e.width)N.width=K(e.width);else{const P=ge(a.value.column,e.span);P>0&&(N.width=`${P}%`)}const F=ge(a.value.column,e.offset);F>0&&(N["margin-left"]=`${F}%`);const L=a.value.gutter/2;L>0&&(N["padding-left"]=`${L}px`,N["padding-right"]=`${L}px`)}else if(a.value.type==="flow"){if(e.width)N.width=K(e.width);else{const P=ge(a.value.column,e.span);P>0&&(N.width=`${P}%`)}const F=ge(a.value.column,e.offset);F>0&&(N["margin-left"]=`${F}%`);const L=a.value.gutter/2;if(L>0){const P=r?Lt(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 se=(P.index+1)%a.value.column,te=(P.index+_)%a.value.column,J=se===1?0:L,X=te===0?0:L;N["padding-left"]=`${J}px`,N["padding-right"]=`${X}px`}else{const se=_%a.value.column,te=0,J=se===0?0:L;N["padding-left"]=`${te}px`,N["padding-right"]=`${J}px`}P.index+=_}else N["padding-left"]=`${L}px`,N["padding-right"]=`${L}px`}}else return e.width&&(N.width=K(e.width)),N;else e.width&&(N.width=K(e.width));return N}),s=l.ref(null),d=l.computed({get:()=>s.value??re(e.isRequired),set:N=>{s.value=N}}),c=l.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),g=De(l.toRef(e,"labelPosition"),"labelPosition",ct.Near),E=l.computed(()=>g&&g.value==="top"?"top":g&&g.value==="right"?"right":"left"),A=l.computed(()=>({[`${o}__main`]:!0,[`${o}__main--${E.value}`]:!0})),x=l.computed(()=>({label:!0,[`label--${E.value}`]:!0})),v=De(l.toRef(e,"labelWidth"),"labelWidth",ct.Near),k=l.computed(()=>v&&v.value?{width:K(v.value)}:{}),$=l.computed(()=>({["label--string"]:!0,["label--required"]:d.value})),D=l.computed(()=>({content:!0,[e.contentClass]:!0})),j=l.computed(()=>({...e.contentStyle})),V=l.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});fe({setRequired(N){d.value=N},setErrorTip(N){V.errorTip=N},setErrorIcon(N){V.errorIcon=N},setWarnTip(N){V.warnTip=N},setWarnIcon(N){V.warnIcon=N},setInfoTip(N){V.infoTip=N},setInfoIcon(N){V.infoIcon=N}});const y=l.computed(()=>e.infoTip||V.infoTip),p=l.computed(()=>e.infoIcon||V.infoIcon),m=l.computed(()=>e.warnTip||V.warnTip),S=l.computed(()=>e.warnIcon||V.warnIcon),C=l.computed(()=>e.errorTip||V.errorTip),w=l.computed(()=>e.errorIcon||V.errorIcon),M=l.computed(()=>C.value?"error":m.value?"warn":y.value?"info":""),B=l.computed(()=>M.value.length>0),O=l.computed(()=>M.value==="error"?C.value:M.value==="warn"?m.value:M.value==="info"?y.value:""),R=l.computed(()=>M.value==="error"?w.value:M.value==="warn"?S.value:M.value==="info"?p.value:null),b=l.computed(()=>{let N={[`${o}__tip`]:!0,[`${o}__tip--${M.value}`]:!0};return M.value==="error"&&e.errorClass?N[`${e.errorClass}`]=!0:M.value==="warn"&&e.warnClass?N[`${e.warnClass}`]=!0:M.value==="info"&&e.infoClass&&(N[`${e.infoClass}`]=!0),N}),I=l.computed(()=>{let N={};return g&&g.value==="top"?N["padding-left"]="0px":v&&v.value&&(N["padding-left"]=K(v.value)),N}),T=l.ref();let q="";return l.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([N,F,L,P])=>{T.value&&(N&&!ee(F)?q?pt.show(T.value,F,{...P,id:q,type:L}):q=pt.show(T.value,F,{...P,type:L}):pt.hide(q))}),{classes:i,styles:u,mainClasses:A,hasLabel:c,labelClasses:x,labelStyles:k,labelStringClasses:$,contentClasses:D,contentStyles:j,contentRef:T,hasTip:B,mTip:O,mIcon:R,tipClasses:b,tipStyles:I}}}),El={key:0,class:"fox-item__tip-icon"},xl={class:"fox-item__tip-text"};function Cl(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",El,l.toDisplayString(e.mIcon),1)):l.createCommentVNode("",!0),l.createElementVNode("div",xl,l.toDisplayString(e.mTip),1)],6)):l.createCommentVNode("",!0)]),_:1}),l.renderSlot(e.$slots,"hide")],6)}const ie=Re(vl,[["render",Cl]]);function Ol(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=dt();ht(!1);const i=l.computed(()=>o&&a?Ze(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 g=ge(i.value.column,r.offset);g>0&&(c["margin-left"]=`${g}%`);const E=i.value.gutter/2;E>0&&(c["padding-left"]=`${E}px`,c["padding-right"]=`${E}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 g=ge(i.value.column,r.offset);g>0&&(c["margin-left"]=`${g}%`);const E=i.value.gutter/2;if(E>0){const A=a?Lt(a,!1):null;if(A){let x=Z(r.offset)+Z(r.span);(x===-1||x>i.value.column)&&(x=i.value.column);const v=Math.ceil((A.index+1)/i.value.column),k=Math.ceil((A.index+x)/i.value.column);if(v===k){const $=(A.index+1)%i.value.column,D=(A.index+x)%i.value.column,j=$===1?0:E,V=D===0?0:E;c["padding-left"]=`${j}px`,c["padding-right"]=`${V}px`}else{const $=x%i.value.column,D=0,j=$===0?0:E;c["padding-left"]=`${D}px`,c["padding-right"]=`${j}px`}A.index+=x}else c["padding-left"]=`${E}px`,c["padding-right"]=`${E}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:Tl,create:Vl,scope:_i}=Y("slot-item"),Un=Vl(Ol(Tl));function Il(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=dt();ht(!1);const s=l.computed(()=>{const c={};if(u&&i){const g=Ze(i,!1);if(g.value.type!=="flex")return r.width&&(c.width=K(r.width)),c;if(r.width)c.width=K(r.width);else{const x=ge(g.value.column,r.span);x>0&&(c.width=`${x}%`)}const E=ge(g.value.column,r.offset);E>0&&(c["margin-left"]=`${E}%`);const A=g.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 x=n.slots.default();if(r.divide)for(let v=0;v<x.length;v++){if(v>0){const k=l.h("div",{class:{[`${a}__divide`]:!0}});c.push(k)}c.push(x[v])}else Reflect.apply([].push,c,x)}const g={class:d.value},E=l.h("div",g,c),A={class:o.value,style:s.value};return l.h("div",A,[E])}}}}const{componentName:Nl,create:Al,scope:Hi}=Y("row-item"),Xn=Al(Il(Nl)),Zn={modelValue:{type:[String,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 Rl(e,t,r){return{props:{...ae,...ce,...Zn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=oe({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)),g=W(n,"modelValue"),E=e,A=l.computed(()=>({[E]:!0})),x=m=>{g.value=m,o("update:modelValue",m),o("input",m)},v=m=>{o("change",m)};let k=W(n,"hintText"),$=l.ref(!1);const D=m=>{let C=m.target.value;s.value=!0,ee(k.value)||($.value=!0),o("focus",C,m)},j=m=>{setTimeout(()=>{$.value&&($.value=!1),s.value=!1},0);let C=m.target.value;n.maxLength&&C.length>Number(n.maxLength)&&(C=C.slice(0,Number(n.maxLength))),o("blur",C,m)},V=()=>{o("clear","")},y=l.computed(()=>Ye(n.unit)>0),p=l.ref();return fe({focus:()=>{p?.value.focus()},blur:()=>{p?.value.blur()},select:()=>{p?.value.select()}}),()=>{const S={...a.attrs,ref:p,class:A.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:d.value,readonly:c.value,modelValue:g.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:V,onChange:v,onInput:x,onFocus:D,onBlur:j},C={};a.slots.prepend&&(C.prepend=a.slots.prepend),a.slots.append&&(C.append=a.slots.append),a.slots.prefix&&(C.prefix=a.slots.prefix),a.slots.suffix?C.suffix=a.slots.suffix:y.value&&(C.suffix=()=>[n.unit]);const w=[],M=l.h(h.ElInput,S,C);w.push(M);const B={default:()=>w};if(a.slots.default){const I=a.slots.default();B.label=()=>I}const R={...ue(n,Zn),hintText:k.value,hintVisible:$.value,prop:`${n.prop}_item`};return l.h(r,R,B)}}}}const{componentName:kl,create:jl,scope:Ml}=Y("input-item"),Jn=jl(Rl(kl,Ml,ie));function ke(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Fe(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function Qn(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}let Dl=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=Ae(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 ql(){const e=l.getCurrentInstance();return new Dl(e.proxy)}function er(e,t,r){const n=ke(e,t),a=ke(e,r);if(n!==a)return!1;const o=Fe(e,t),i=Fe(e,r);return o===i}function tr(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=Qn(e,i);if(Array.isArray(u)&&u.length>0){const s=tr(e,o,r,u)??[];Reflect.apply([].push,a,s)}else{let s=!1;if(r==="text")s=ke(e,i)===o;else if(r==="item")s=er(e,i,o);else{let d=Fe(e,i);d==null&&(d=ke(e,i)),s=d===o}if(s){a.push(i);break}}}}),a}function Bl(e){return{text:e,value:e}}const nr={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 Fl(e,t,r){return{props:{...ae,...ce,...nr},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,a){const{emitEvent:o}=oe({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(null),d=l.ref([]),c=(b,I,T,q=!0)=>{const N=tr(n,b,I,T);if(N===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(N.length!==d.value.length)F=!1;else for(let L=0;L<N.length;L++){const P=N[L],_=d.value[L];if(!er(n,P,_)){F=!1;break}}if(!F){d.value=N;let L=[],P=[];N.forEach(G=>{L.push(Fe(n,G)),n.valueType==="text"?P.push(ke(n,G)):n.valueType==="item"?P.push(G):P.push(Fe(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",_))}},g=l.ref([]),E=ql();l.watch([()=>n.source,()=>n.params],async([b,I])=>{if(b){const T=await E.load("select",b,I);if(T.length>0)if(typeof T[0]=="string"){let F=T.map(L=>Bl(L));g.value=F}else g.value=T}},{immediate:!0}),l.watch([()=>g.value,()=>n.modelValue],([b,I])=>{c(I,n.valueType,b,!1)});let A=null,x=l.ref(!1);typeof n.remoteMethod=="function"&&(A=async b=>{if(b!=null){x.value=!0;try{const I=await n.remoteMethod(b);g.value=I}catch(I){console.error(I)}x.value=!1}});const v=l.ref(!1),k=he(l.computed(()=>n.disabled)),$=de(l.computed(()=>n.readonly)),D=e,j=l.computed(()=>({[D]:!0})),V=b=>{n.allowCreate?(o("update:modelValue",b),o("change",b),s.value=b):c(b,"value",g.value,!0)};let y=W(n,"hintText"),p=l.ref(!1);const m=b=>{let T=b.target.value;v.value=!0,ee(y.value)||(p.value=!0),o("focus",T,b)},S=b=>{setTimeout(()=>{p.value&&(p.value=!1),v.value=!1},0);let T=b.target.value;n.maxLength&&T.length>Number(n.maxLength)&&(T=T.slice(0,Number(n.maxLength))),w.value?setTimeout(()=>{o("blur",T,b)},50):o("blur",T,b)},C=()=>{o("clear","")},w=l.ref(!1),M=b=>{w.value=b,o("visible-change",b)},B=b=>{o("remove-tag",b)},O=(b,I)=>{const T=[];return b.forEach((q,N)=>{const F=Qn(n,q);if(Array.isArray(F)&&F.length>0){const L=O(F,I),P=ke(n,q),G={key:`${P}_${N}`,label:P};T.push(l.h(h.ElOptionGroup,G,{default:()=>L}))}else{const L=Fe(n,q),P=ke(n,q),_=re(q.disabled),z={key:`${L}_${N}`,label:P,disabled:_,value:L};if(typeof I=="function")T.push(l.h(h.ElOption,z,{default:()=>I(q)}));else if(n.optionType==="item"){const se={class:{"fox-select-item__option-left":!0}},te=l.h("span",se,[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]);T.push(l.h(h.ElOption,z,{default:()=>me}))}else n.optionType==="value"?T.push(l.h(h.ElOption,z,{default:()=>[L]})):T.push(l.h(h.ElOption,z))}}),T},R=l.ref();return fe({focus:()=>{R?.value.focus()},blur:()=>{R?.value.blur()}}),()=>{const I={...a.attrs,ref:R,class:j.value,clearable:n.clearable,multiple:n.multiple,placeholder:u.placeholder.value,disabled:k.value||$.value,modelValue:s.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:C,onChange:V,onFocus:m,onBlur:S,onVisibleChange:M,onRemoveTag:B};typeof A=="function"&&(I["remote-method"]=A,I.loading=x.value);const T={};a.slots.prefix&&(T.prefix=a.slots.prefix),a.slots.empty&&(T.empty=a.slots.empty),T.default=()=>O(g.value,a.slots.option);const q=[],N=l.h(h.ElSelect,I,T);q.push(N);const F={default:()=>q};if(a.slots.default){const G=a.slots.default();F.label=()=>G}const P={...ue(n,nr),hintText:y.value,hintVisible:p.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,P,F)}}}}const{componentName:Ll,create:Pl,scope:_l}=Y("select-item"),rr=Pl(Fl(Ll,_l,ie)),ar={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Hl(e,t,r){return{props:{...ae,...ce,...ar},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(n,a){const{emitEvent:o}=oe({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)),g=W(n,"modelValue"),E=e,A=l.computed(()=>({[E]:!0})),x=S=>{g.value=S,o("update:modelValue",S),o("change",S)};let v=W(n,"hintText"),k=l.ref(!1);const $=S=>{let w=S.target.value;s.value=!0,ee(v.value)||(k.value=!0),o("focus",w,S)},D=S=>{setTimeout(()=>{k.value&&(k.value=!1),s.value=!1},0);let w=S.target.value;n.maxLength&&w.length>Number(n.maxLength)&&(w=w.slice(0,Number(n.maxLength))),o("blur",w,S)},j=()=>{o("clear","")},V=S=>{o("calendar-change",S)},y=(S,C,w)=>{o("panel-change",S,C,w)},p=S=>{o("visible-change",S)},m=l.ref();return fe({focus:()=>{m?.value.focus()},blur:()=>{m?.value.blur()},handleOpen:()=>{m?.value.handleOpen()},handleClose:()=>{m?.value.handleClose()}}),()=>{const C={...a.attrs,ref:m,class:A.value,placeholder:u.placeholder.value,disabled:d.value,readonly:c.value,modelValue:g.value,["onUpdate:modelValue"]:x,onClear:j,onFocus:$,onBlur:D,onCalendarChange:V,onPanelChange:y,onVisibleChange:p},w={};a.slots["range-separator"]&&(w["range-separator"]=a.slots["range-separator"]),a.slots.cell&&(w.default=a.slots.cell);const M=[],B=l.h(h.ElDatePicker,C,w);M.push(B);const O={default:()=>M};if(a.slots.default){const T=a.slots.default();O.label=()=>T}const b={...ue(n,ar),hintText:v.value,hintVisible:k.value,prop:`${n.prop}_item`};return l.h(r,b,O)}}}}const{componentName:Kl,create:zl,scope:Gl}=Y("date-item"),lr=zl(Hl(Kl,Gl,ie)),or={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Yl(e,t,r){return{props:{...ae,...ce,...or},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(n,a){const{emitEvent:o}=oe({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)),g=W(n,"modelValue"),E=e,A=l.computed(()=>({[E]:!0})),x=p=>{g.value=p,o("update:modelValue",p),o("change",p)};let v=W(n,"hintText"),k=l.ref(!1);const $=p=>{let S=p.target.value;s.value=!0,ee(v.value)||(k.value=!0),o("focus",S,p)},D=p=>{setTimeout(()=>{k.value&&(k.value=!1),s.value=!1},0);let S=p.target.value;n.maxLength&&S.length>Number(n.maxLength)&&(S=S.slice(0,Number(n.maxLength))),o("blur",S,p)},j=()=>{o("clear","")},V=p=>{o("visible-change",p)},y=l.ref();return fe({focus:()=>{y?.value.focus()},blur:()=>{y?.value.blur()},handleOpen:()=>{y?.value.handleOpen()},handleClose:()=>{y?.value.handleClose()}}),()=>{const m={...a.attrs,ref:y,class:A.value,placeholder:u.placeholder.value,disabled:d.value,readonly:c.value,modelValue:g.value,["onUpdate:modelValue"]:x,onClear:j,onFocus:$,onBlur:D,onVisibleChange:V},S={},C=[],w=l.h(h.ElTimePicker,m,S);C.push(w);const M={default:()=>C};if(a.slots.default){const b=a.slots.default();M.label=()=>b}const O={...ue(n,or),hintText:v.value,hintVisible:k.value,prop:`${n.prop}_item`};return l.h(r,O,M)}}}}const{componentName:Wl,create:Ul,scope:Xl}=Y("time-item"),ir=Ul(Yl(Wl,Xl,ie)),sr={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:{...ae,...ce,...sr},emits:["change","update:modelValue","blur","focus","clear"],setup(n,a){const{emitEvent:o}=oe({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)),g=W(n,"modelValue"),E=e,A=l.computed(()=>({[E]:!0})),x=y=>{g.value=y,o("update:modelValue",y),o("change",y)};let v=W(n,"hintText"),k=l.ref(!1);const $=y=>{let m=y.target.value;s.value=!0,ee(v.value)||(k.value=!0),o("focus",m,y)},D=y=>{setTimeout(()=>{k.value&&(k.value=!1),s.value=!1},0);let m=y.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),o("blur",m,y)},j=()=>{o("clear","")},V=l.ref();return fe({focus:()=>{V?.value.focus()},blur:()=>{V?.value.blur()},handleOpen:()=>{V?.value.handleOpen()},handleClose:()=>{V?.value.handleClose()}}),()=>{const p={...a.attrs,ref:V,class:A.value,placeholder:u.placeholder.value,disabled:d.value,readonly:c.value,modelValue:g.value,["onUpdate:modelValue"]:x,onClear:j,onFocus:$,onBlur:D},m={},S=[],C=l.h(h.ElTimeSelect,p,m);S.push(C);const w={default:()=>S};if(a.slots.default){const R=a.slots.default();w.label=()=>R}const B={...ue(n,sr),hintText:v.value,hintVisible:k.value,prop:`${n.prop}_item`};return l.h(r,B,w)}}}}const{componentName:Jl,create:Ql,scope:eo}=Y("time-select-item"),ur=Ql(Zl(Jl,eo,ie));function cr(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 fr(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=fn(`${e}`,`${t}`);return cr(n)}else{let n=Ct(`${e}`,dn(`${t}`),20);return cr(n)}}function to(e,t=-1,r=!1,n=3,a=","){return Tt(e,t,r,n,a)}function dr(e,t,r,n,a=!0){if(e=="")return"";if(e=hn(e),t=Z(t),t==1)return e;if(n)e=fr(e,t),r&&(e=="0"&&a?e=`${e}.`.padEnd(Z(r)+2,"0"):e=Ct(e,1,Z(r)));else{let o=-1*t;e=fr(e,o)}return e}function hr(e,t){let r={maxValid:!0,minValid:!0,message:""};if(t.min!==void 0){let n=re(t.minInclude),a=Ot(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=re(t.maxInclude),a=Ot(e,t.max);(n&&a==1||!n&&(a==0||a==1))&&(r.maxValid=!1)}return r}const gr={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 no(e,t,r){return{props:{...ae,...ce,...gr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=oe({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],([O,R,b])=>{if(ee(O))return"";const I=dr(O,R,b,!1);c.value!==I&&(c.value=I)},{immediate:!0});const g=l.computed(()=>{let O="";return i.value&&(O=c.value),O}),{t:E}=ye.useFoxI18n(t),A=l.computed(()=>{let O=n.placeholder??"";return!i.value&&!ee(c.value)?O=to(c.value,n.decimalLength,n.autoPadding,n.digits,n.separator):O=E(["placeholder",O]),O}),x=e,v=l.computed(()=>({[x]:!0,[`${x}__disabled`]:u.value,[`${x}__placeholder`]:c.value.length>0})),k=De(l.computed(()=>n.textAlign),"textAlign");l.computed(()=>i.value?{textAlign:"left"}:{textAlign:k.value??"right"});const $=l.ref(""),D=l.computed(()=>{let O=$.value;return ee(O)&&(O=n.errorTip??""),O}),j=l.ref(""),V=l.ref(!1),y=(O,R)=>{if(O=`${O}`,ee(O)){c.value="",d.value="",R.forEach(b=>{o(b,"")}),re(n.showTip)&&V.value&&(V.value=!1);return}if(O.length>=2){let b=O;if(b.charAt(0)=="-"&&(b=b.substring(1)),b.length>=2&&b.charAt(0)=="0"&&b.charAt(1)!="."){l.triggerRef(c);return}}if(O!="-"){if(!Sn(O)){l.triggerRef(c);return}if(n.integerLength!=-1&&$n(O)>Number(n.integerLength)){l.triggerRef(c);return}if(n.decimalLength&&n.decimalLength!=-1&&vn(O)>Number(n.decimalLength)){l.triggerRef(c);return}let b=hr(O,n);if(b.maxValid===!1){$.value=b.message,l.triggerRef(c);return}}else if(n.min!=null&&Z(n.min)>=0){l.triggerRef(c);return}j.value=O,re(n.showTip)&&(V.value=O.length>0),c.value=O,d.value=dr(O,n.rates,n.precision,!0),R.forEach(b=>{o(b,d.value)})},p=O=>{y(O,["update:modelValue","input"])},m=O=>{y(O,["update:modelValue","change"])},S=O=>{if(i.value=!0,re(n.showTip)){let R=c.value;ee(R)&&(R=n.hintText),ee(R)||(j.value=R,V.value=!0)}$.value="",o("focus",d.value,O)},C=O=>{if(setTimeout(()=>{i.value=!1,re(n.showTip)&&V.value===!0&&(V.value=!1)},0),!ee(c.value)){let R=hr(c.value,n);if(R.minValid===!1||R.maxValid){$.value=R.message;return}}o("update:modelValue",d.value,O),o("blur",d.value,O)},w=()=>{o("clear","")},M=l.computed(()=>Ye(n.unit)>0),B=l.ref();return fe({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},select:()=>{B?.value.select()}}),()=>{const R={...a.attrs,ref:B,class:v.value,type:"digit",maxlength:n.maxLength,placeholder:A.value,clearable:n.clearable,disabled:u.value,readonly:s.value,modelValue:g.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:w,onInput:p,onChange:m,onFocus:S,onBlur:C},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:M.value&&(b.suffix=()=>[n.unit]);const I=[],T=l.h(h.ElInput,R,b);I.push(T);const q={default:()=>I};if(a.slots.default){const P=a.slots.default();q.label=()=>P}const F={...ue(n,gr),errorTip:D.value,hintText:j.value,hintVisible:V.value,hintType:"number",prop:`${n.prop}_item`};return l.h(r,F,q)}}}}const{componentName:ro,create:ao,scope:lo}=Y("money-item"),mr=ao(no(ro,lo,ie)),yr={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 oo(e,t,r){return{props:{...ae,...ce,...yr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=oe({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)),g=W(n,"modelValue"),E=e,A=l.computed(()=>({[E]:!0,[`${E}__append`]:p.value})),x=l.computed(()=>({[`${E}__unit`]:!0})),v=S=>{g.value=S,o("update:modelValue",S),o("input",S)},k=S=>{o("change",S)};let $=W(n,"hintText"),D=l.ref(!1);const j=S=>{let w=S.target.value;s.value=!0,ee($.value)||(D.value=!0),o("focus",w,S)},V=S=>{setTimeout(()=>{D.value&&(D.value=!1),s.value=!1},0);let w=S.target.value;n.maxLength&&w.length>Number(n.maxLength)&&(w=w.slice(0,Number(n.maxLength))),o("blur",w,S)},y=()=>{o("clear","")},p=l.computed(()=>Ye(n.unit)>0),m=l.ref();return fe({focus:()=>{m?.value.focus()},blur:()=>{m?.value.blur()}}),()=>{const C={...a.attrs,ref:m,class:A.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:d.value,readonly:c.value,modelValue:g.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:y,onChange:k,onInput:v,onFocus:j,onBlur:V},w={},M=[],B=l.h(h.ElInputNumber,C,w);M.push(B);const O={default:()=>M};if(a.slots.default){const T=a.slots.default();O.label=()=>T}const b={...ue(n,yr),hintText:$.value,hintVisible:D.value,prop:`${n.prop}_item`};if(a.slots.append)O.append=a.slots.append;else if(p.value){const T={class:x.value},q=l.h("div",T,[n.unit]);O.append=()=>q}return l.h(r,b,O)}}}}const{componentName:io,create:so,scope:uo}=Y("input-number-item"),pr=so(oo(io,uo,ie));function Le(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function je(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function co(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}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=Ae(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 ho(){const e=l.getCurrentInstance();return new fo(e.proxy)}function Kt(e,t,r){const n=Le(e,t),a=Le(e,r);if(n!==a)return!1;const o=je(e,t),i=je(e,r);return o===i}function br(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=br(e,u,r,n);a.push(s)}else{let s=!1;for(let d of o){if(r==="text")s=Le(e,d)===u;else if(r==="item")s=Kt(e,d,u);else{let c=je(e,d);c==null&&(c=Le(e,d)),s=c===u}if(s){a.push(d),o=co(e,d);break}}if(!s)break}}return a}function go(e){return{text:e,value:e}}const wr={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 mo(e,t,r){return{props:{...ae,...ce,...wr},emits:["change","update:modelValue","blur","focus","clear","visible-change","expand-change","remove-tag"],setup(n,a){const{emitEvent:o}=oe({componentName:e},n.prop??a.attrs.name),{toLocaleRefs:i}=ye.useFoxI18n(t),u=i(n,["placeholder"]),s=l.ref(null),d=l.ref([]),c=(I,T,q,N=!0)=>{if(n.props&&n.props.lazy===!0){if(s.value===I)return;s.value=I;const P=l.toRaw(I);N&&(o("update:modelValue",P),o("change",P))}const F=br(n,I,T,q);if(F===null){if(d.value.length===0||d.value===null)return;d.value=[],s.value=null,N&&(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(!Kt(n,_[z],G[z])){L=!1;break}}else Kt(n,_,G)||(L=!1);if(!L)break}if(!L){d.value=F;let P=[],_=[];F.forEach(z=>{if(Array.isArray(z)){let se=[],te=[];for(let J of z)se.push(je(n,J)),n.valueType==="text"?te.push(Le(n,J)):n.valueType==="item"?te.push(J):te.push(je(n,J));P.push(se),_.push(te)}else P.push(je(n,z)),n.valueType==="text"?_.push(Le(n,z)):n.valueType==="item"?_.push(z):_.push(je(n,z))}),s.value=P;const G=l.toRaw(_);N&&(o("update:modelValue",G),o("change",G))}},g=l.ref([]),E=ho();l.watch([()=>n.source,()=>n.params],async([I,T])=>{if(I){const q=await E.load("cascader",I,T);if(q.length>0)if(typeof q[0]=="string"){let L=q.map(P=>go(P));g.value=L}else g.value=q}},{immediate:!0}),l.watch([()=>g.value,()=>n.modelValue],([I,T])=>{c(T,n.valueType,I,!1)});let A=null,x=l.ref(!1);typeof n.remoteMethod=="function"&&(A=async I=>{if(I!=null){x.value=!0;try{const T=await n.remoteMethod(I);g.value=T}catch(T){console.error(T)}x.value=!1}});const v=l.ref(!1),k=he(l.computed(()=>n.disabled)),$=de(l.computed(()=>n.readonly)),D=e,j=l.computed(()=>({[D]:!0})),V=l.computed(()=>{let I={label:n.textKey,value:n.valueKey,children:n.childrenKey};return n.multiple===!0&&(I.multiple=!0),n.props&&Object.assign(I,n.props),I}),y=I=>{n.allowCreate?(o("update:modelValue",I),o("change",I),s.value=I):c(I,"value",g.value,!0)};let p=W(n,"hintText"),m=l.ref(!1);const S=I=>{let q=I.target.value;v.value=!0,ee(p.value)||(m.value=!0),o("focus",q,I)},C=I=>{setTimeout(()=>{m.value&&(m.value=!1),v.value=!1},0);let q=I.target.value;n.maxLength&&q.length>Number(n.maxLength)&&(q=q.slice(0,Number(n.maxLength))),M.value?setTimeout(()=>{o("blur",q,I)},50):o("blur",q,I)},w=()=>{o("clear","")},M=l.ref(!1),B=I=>{M.value=I,o("visible-change",I)},O=I=>{o("remove-tag",I)},R=I=>{o("expand-change",I)},b=l.ref();return fe({focus:()=>{b?.value.focus()},blur:()=>{b?.value.blur()},getCheckedNodes:()=>b?.value.getCheckedNodes()}),()=>{const T={...a.attrs,ref:b,class:j.value,props:V.value,clearable:n.clearable,placeholder:u.placeholder.value,disabled:k.value||$.value,options:g.value,modelValue:s.value,onClear:w,onChange:y,onFocus:S,onBlur:C,onVisibleChange:B,onRemoveTag:O,expandChange:R};typeof A=="function"&&(T["remote-method"]=A,T.loading=x.value);const q={};a.slots.option&&(q.default=a.slots.option),a.slots.empty&&(q.empty=a.slots.empty);const N=[],F=l.h(h.ElCascader,T,q);N.push(F);const L={default:()=>N};if(a.slots.default){const z=a.slots.default();L.label=()=>z}const _={...ue(n,wr),hintText:p.value,hintVisible:m.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,_,L)}}}}const{componentName:yo,create:po,scope:bo}=Y("cascader-item"),Sr=po(mo(yo,bo,ie)),$r={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function wo(e,t,r){return{props:{...ae,...ce,...$r},emits:["change","update:modelValue","blur","focus","clear","input","select"],setup(n,a){const{emitEvent:o}=oe({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)),g=W(n,"modelValue"),E=e,A=l.computed(()=>({[E]:!0})),x=p=>{g.value=p,o("update:modelValue",p),o("input",p)},v=p=>{o("change",p)};let k=W(n,"hintText"),$=l.ref(!1);const D=p=>{let S=p.target.value;s.value=!0,ee(k.value)||($.value=!0),o("focus",S,p)},j=p=>{setTimeout(()=>{$.value&&($.value=!1),s.value=!1},0);let S=p.target.value;n.maxLength&&S.length>Number(n.maxLength)&&(S=S.slice(0,Number(n.maxLength))),o("blur",S,p)},V=()=>{o("clear","")},y=l.ref();return fe({focus:()=>{y?.value.focus()},blur:()=>{y?.value.blur()},select:()=>{y?.value.select()}}),()=>{const m={...a.attrs,ref:y,class:A.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:d.value,readonly:c.value,modelValue:g.value,onClear:V,onChange:v,onInput:x,onFocus:D,onBlur:j},S={};a.slots.prepend&&(S.prepend=a.slots.prepend),a.slots.append&&(S.append=a.slots.append),a.slots.prefix&&(S.prefix=a.slots.prefix),a.slots.suffix&&(S.suffix=a.slots.suffix),a.slots.option&&(S.default=a.slots.option);const C=[],w=l.h(h.ElAutocomplete,m,S);C.push(w);const M={default:()=>C};if(a.slots.default){const b=a.slots.default();M.label=()=>b}const O={...ue(n,$r),hintText:k.value,hintVisible:$.value,prop:`${n.prop}_item`};return l.h(r,O,M)}}}}const{componentName:So,create:$o,scope:vo}=Y("autocomplete-item"),vr=$o(wo(So,vo,ie));function Eo(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 g=d.find(E=>E[n]===c);if(!g)break;i.push(g[r])}else{let s=t;for(let d=0;s&&d<o.length;d++){let c=o[d],g=s.find(E=>E[n]===c);if(!g)break;i.push(g[r]),s=g[a]}}return i}let xo=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=Ae(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 Co(){const e=l.getCurrentInstance();return new xo(e.proxy)}const Er={tag:{type:[String,Object],required:!1,default:"span"},resolveTag:{type:[Boolean],required:!1,default:!1},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array],required:!1},separator:{type:[String,Boolean,Number,Array],required:!1,default:"/"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"}};function Oo(e,t){return{props:{...Er},setup(r,{attrs:n}){const a=Co(),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=Eo(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:Ki,create:To,scope:zi}=Y("mapping"),zt=To(Oo());function Vo(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 g=o.substring(0,u);n=n[g][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 Io(e,t){return{props:{...Er},setup(r,{attrs:n}){return()=>{const a={default:o=>{const i=Vo(o.row,o.column.property);return l.h(zt,{...r,modelValue:i})}};return l.h(h.ElTableColumn,{...n},a)}}}}const{componentName:Gi,create:No,scope:Yi}=Y("table-mapping-column"),xr=No(Io());let Ao=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 g=r.slice(d,c);return{totalSize:r.length,page:g}}if(typeof r=="function")return await Reflect.apply(r,null,[n,a,o,i,u]);const s=Ae(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 Ro(){const e=l.getCurrentInstance();return new Ao(e.proxy)}function ko(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 g=o.substring(0,u);n=n[g][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 Gt(e,t){return e.filter(n=>{for(let a in t){const o=t[a],i=ko(n,a);if(o!==i)return!1}return!0})}const Cr={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},baseParams:{type:[Object]},params:{type:[Object]}},Or={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 jo(e,t,r){return{inheritAttrs:!1,props:{...ae,...ce,...Cr,...Or},emits:["change","page-size-change","page-index-change","current-change"],setup(n,a){const{locale:o}=ye.useFoxI18n(t),{emitEvent:i}=oe({componentName:e},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,M=>{c.value=M});const g=M=>{c.value=M,i("page-index-change",M)},E=l.ref(n.pageSize);l.watch(()=>n.pageSize,M=>{E.value=M});const A=M=>{E.value=M,i("page-size-change",M)},x=l.shallowRef({}),v=l.computed(()=>({...x.value,...n.params??{},...n.baseParams??{}})),k=l.ref(0),$=l.ref(),D=Ro();let j=!0;const V=()=>Array.isArray(n.data)||typeof n.data=="function"?!0:re(n.autoLoad),y=async(M,B,O,R)=>{try{const b=await D.load("table",M,B,O,R,j,o.value);k.value=b.totalSize,$.value=b.page}catch(b){console.error("[FoxUI] Load Table Data Fail",b),k.value=0,$.value=[]}j=!1};l.watch([c,E],([M,B],[O,R])=>{B!==R&&(c.value=1,M=1),y(n.data,M,B,v.value)}),l.watch([()=>n.data,v],([M,B],[O,R])=>{V()&&(M!==O&&(j=!0),!(Ne(M,O)&&Ne(B,R))&&y(M,c.value,E.value,B))});const p=(M={})=>{x.value=l.toRaw(M??{}),l.triggerRef(x),l.nextTick(()=>{y(n.data,c.value,E.value,v.value)})},m=()=>{k.value=0,$.value=[]};V()&&p();let S=null;const C=(M,B)=>{S=M,i("current-change",M,B)},w=l.ref();return fe({clearSelection:()=>w?.value.clearSelection(),getSelectionRows:()=>w?.value.getSelectionRows(),toggleRowSelection:(M,B)=>{w?.value.toggleRowSelection(M,B)},toggleRowSelectionByProp:(M,B)=>{if(!$.value)return;const O=Gt($.value,M);O.length!==0&&O.forEach(R=>{w?.value.toggleRowSelection(R,B)})},toggleAllSelection:()=>{w?.value.toggleAllSelection()},toggleRowExpansion:(M,B)=>{w?.value.toggleRowExpansion(M,B)},toggleRowExpansionByProp:(M,B)=>{if(!$.value)return;const O=Gt($.value,M);O.length!==0&&O.forEach(R=>{w?.value.toggleRowExpansion(R,B)})},setCurrentRow:M=>{w?.value.setCurrentRow(M)},setCurrentRowByProp:M=>{if(!$.value)return;const B=Gt($.value,M);B.length!==0&&w?.value.setCurrentRow(B[0])},getCurrentRow:()=>S,clearSort:()=>{w?.value.clearSort()},clearFilter:M=>{w?.value.clearFilter(M)},doLayout:()=>{w?.value.doLayout()},sort:(M,B)=>{w?.value.sort(M,B)},scrollTo:(M,B)=>{w?.value.scrollTo(M,B)},setScrollTop:M=>{w?.value.setScrollTop(M)},setScrollLeft:M=>{w?.value.setScrollLeft(M)},loadData:p,clearData:m,getData(){return $.value},getTotalSize(){return k.value},getPageIndex(){return c.value},getPageSize(){return E.value}}),()=>{const B={...a.attrs,onCurrentChange:C,data:$.value,ref:w,class:s.value},O={};a.slots.default&&(O.default=a.slots.default),a.slots.append&&(O.append=a.slots.append),a.slots.empty&&(O.empty=a.slots.empty);const R=[],b=l.h(h.ElTable,B,O);if(R.push(b),typeof a.slots.pagination=="function"){const F=a.slots.pagination();R.push(F)}else if(n.paginationVisible){const F={class:d.value,total:k.value,pageSize:E.value,["onUpdate:pageSize"]:A,pageSizes:n.pageSizes,currentPage:c.value,["onUpdate:currentPage"]:g,hideOnSinglePage:n.hideOnSinglePage,layout:n.paginationLayout,small:!0},L=l.h(h.ElPagination,F);R.push(L)}const I={default:()=>R},q={...ue(n,Cr,Or),prop:`${n.prop}_item`};return q.contentClass=`${u}__wrap`,l.h(r,q,I)}}}}const{componentName:Mo,create:Do,scope:qo}=Y("table-item"),Tr=Do(jo(Mo,qo,ie));function Pe(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Je(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}let Bo=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=Ae(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 Fo(){const e=l.getCurrentInstance();return new Bo(e.proxy)}function Vr(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=Pe(e,t),a=Pe(e,r);if(n!==a)return!1;const o=Je(e,t),i=Je(e,r);return o===i}function Lo(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=Pe(e,o)===t;else if(r==="item")i=Vr(e,o,t);else{let u=Je(e,o);u==null&&(u=Pe(e,o)),i=u===t}if(i){a=o;break}}return a}function Po(e){return{text:e,value:e}}const Ir={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},itemType:{type:[String],required:!1,default:"radio"},itemClass:{type:[String],required:!1}};function _o(e,t,r){return{inheritAttrs:!0,props:{...ae,...ce,...Ir},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:o}=oe({componentName:e},n.prop??a.attrs.name),i=l.ref(null),u=l.ref(null),s=(j,V,y,p=!0)=>{const m=Lo(n,j,V,y);if(m===null){if(u.value===null)return;u.value=null,i.value=null,p&&(o("update:modelValue",null),o("change",null));return}if(!Vr(n,m,u.value)){i.value=j;const C=l.toRaw(m);u.value=C;let w=null;n.valueType==="text"?w=Pe(n,C):n.valueType==="item"?w=C:w=Je(n,C),p&&(o("update:modelValue",w),o("change",w))}},d=l.ref([]),c=Fo();l.watch([()=>n.source,()=>n.params],async([j,V])=>{if(j){const y=await c.load("radio",j,V);if(y.length>0)if(typeof y[0]=="string"){let S=y.map(C=>Po(C));d.value=S}else d.value=y}},{immediate:!0}),l.watch([()=>d.value,()=>n.modelValue],([j,V])=>{s(V,n.valueType,j,!1)});const g=he(l.computed(()=>n.disabled)),E=de(l.computed(()=>n.readonly)),A=e,x=l.computed(()=>({[A]:!0})),v=j=>{s(j,"value",d.value,!0)};let k=W(n,"hintText"),$=W(n,"hintVisible");const D=(j,V)=>{const y=[];return j.forEach((p,m)=>{const S=Je(n,p),C=Pe(n,p),w=re(p.disabled),B={key:`${S}_${m}`,class:n.itemClass,label:S,disabled:w,size:n.size,border:re(n.border)};n.itemType==="button"?y.push(l.h(h.ElRadioButton,B,{default:()=>[C]})):typeof V=="function"?y.push(l.h(h.ElRadio,B,{default:()=>V(p)})):y.push(l.h(h.ElRadio,B,{default:()=>[C]}))}),y};return()=>{const V={...a.attrs,class:x.value,disabled:g.value||E.value,modelValue:i.value,["text-color"]:n.textColor,fill:n.fill,onChange:v},y=[],p={};a.slots.options?p.default=a.slots.options:p.default=()=>D(d.value,a.slots.text);const m=l.h(h.ElRadioGroup,V,p);y.push(m);const S={default:()=>y};if(a.slots.default){const B=a.slots.default();S.label=()=>B}const w={...ue(n,Ir),hintText:k.value,hintVisible:$.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,w,S)}}}}const{componentName:Ho,create:Ko,scope:zo}=Y("radio-item"),Nr=Ko(_o(Ho,zo,ie));function _e(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function He(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class Go{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=Ae(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 Yo(){const e=l.getCurrentInstance();return new Go(e.proxy)}function Ar(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=He(e,t),i=He(e,r);return o===i}function Wo(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=_e(e,i)===o;else if(r==="item")u=Ar(e,i,o);else{let s=He(e,i);s==null&&(s=_e(e,i)),u=s===o}if(u){a.push(i);break}}}),a}function Uo(e){return{text:e,value:e}}const Rr={modelValue:{type:[Array,String],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},min:{type:[String,Number],required:!1},max:{type:[String,Number],required:!1},itemType:{type:[String],required:!1,default:"checkbox"},itemClass:{type:[String],required:!1}};function Xo(e,t,r){return{inheritAttrs:!1,props:{...ae,...ce,...Rr},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:o}=oe({componentName:e},n.prop??a.attrs.name),i=l.ref([]),u=l.ref([]),s=(j,V,y,p=!0)=>{const m=Wo(n,j,V,y);if(m===null){if(u.value===null||u.value.length===0)return;i.value=[],u.value=[],p&&(o("update:modelValue",[]),o("change",[]));return}let S=!0;if(m.length!==u.value.length)S=!1;else for(let C=0;C<m.length;C++){const w=m[C],M=u.value[C];if(!Ar(n,w,M)){S=!1;break}}if(!S){u.value=m;let C=[],w=[];m.forEach(B=>{C.push(He(n,B)),n.valueType==="text"?w.push(_e(n,B)):n.valueType==="item"?w.push(B):w.push(He(n,B))}),i.value=C;const M=l.toRaw(w);p&&(o("update:modelValue",M),o("change",M))}},d=l.ref([]),c=Yo();l.watch([()=>n.source,()=>n.params],async([j,V])=>{if(j){const y=await c.load("checkbox",j,V);if(y.length>0)if(typeof y[0]=="string"){let S=y.map(C=>Uo(C));d.value=S}else d.value=y}},{immediate:!0}),l.watch([()=>d.value,()=>n.modelValue],([j,V])=>{s(V,n.valueType,j,!1)});const g=he(l.computed(()=>n.disabled)),E=de(l.computed(()=>n.readonly)),A=e,x=l.computed(()=>({[A]:!0})),v=j=>{s(j,"value",d.value,!0)};let k=W(n,"hintText"),$=W(n,"hintVisible");const D=(j,V)=>{const y=[];return j.forEach((p,m)=>{const S=He(n,p),C=_e(n,p),w=re(p.disabled),B={key:`${S}_${m}`,class:n.itemClass,label:S,disabled:w,size:n.size,border:re(n.border)};n.itemType==="button"?y.push(l.h(h.ElCheckboxButton,B,{default:()=>[C]})):typeof V=="function"?y.push(l.h(h.ElCheckbox,B,{default:()=>V(p)})):y.push(l.h(h.ElCheckbox,B,{default:()=>[C]}))}),y};return()=>{const V={...a.attrs,class:x.value,disabled:g.value||E.value,modelValue:i.value,["text-color"]:n.textColor,fill:n.fill,max:Z(n.max),min:Z(n.min),onChange:v},y=[],p={};a.slots.options?p.default=a.slots.options:p.default=()=>D(d.value,a.slots.text);const m=l.h(h.ElCheckboxGroup,V,p);y.push(m);const S={default:()=>y};if(a.slots.default){const B=a.slots.default();S.label=()=>B}const w={...ue(n,Rr),hintText:k.value,hintVisible:$.value,prop:`${n.prop??a.attrs.name}_item`};return l.h(r,w,S)}}}}const{componentName:Zo,create:Jo,scope:Qo}=Y("checkbox-item"),kr=Jo(Xo(Zo,Qo,ie)),jr={modelValue:{type:[Number,String],required:!1}};function ei(e,t,r){return{props:{...ae,...ce,...jr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=oe({componentName:e},n.prop??a.attrs.name),i=he(l.computed(()=>n.disabled)),u=de(l.computed(()=>n.readonly)),s=W(n,"modelValue",v=>Z(v)),d=e,c=l.computed(()=>({[d]:!0})),g=v=>{o("update:modelValue",v),o("change",v)};let E=W(n,"hintText"),A=l.ref(!1);const x=l.ref();return fe({}),()=>{const k={...a.attrs,ref:x,class:c.value,readonly:u.value||i.value,modelValue:s.value,onChange:g},$={},D=[],j=l.h(h.ElRate,k,$);D.push(j);const V={default:()=>D};if(a.slots.default){const S=a.slots.default();V.label=()=>S}const p={...ue(n,jr),hintText:E.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,p,V)}}}}const{componentName:ti,create:ni,scope:ri}=Y("rate-item"),Mr=ni(ei(ti,ri,ie)),Dr={modelValue:{type:[Boolean,String,Number],required:!1}};function ai(e,t,r){return{props:{...ae,...ce,...Dr},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=oe({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})),g=v=>{o("update:modelValue",v),o("change",v)};let E=W(n,"hintText"),A=W(n,"hintVisible");const x=l.ref();return fe({}),()=>{const k={...a.attrs,ref:x,class:c.value,readonly:u.value,disabled:i.value,modelValue:s.value,onChange:g},$={},D=[],j=l.h(h.ElSwitch,k,$);D.push(j);const V={default:()=>D};if(a.slots.default){const S=a.slots.default();V.label=()=>S}const p={...ue(n,Dr),hintText:E.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,p,V)}}}}const{componentName:li,create:oi,scope:ii}=Y("switch-item"),qr=oi(ai(li,ii,ie)),si=Symbol.for("InnerPageScopeKey"),ui=Symbol.for("DialogItemStateKey");function ci(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(si,!0);const a={};l.provide(ui,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 g=n.slots.default();c.default=()=>g}return l.h(h.ElDialog,d,c)}}}}const{componentName:Wi,create:fi,scope:Ui}=Y("dialog-item"),Br=fi(ci()),{componentName:Xi,create:di}=Y("ext-icon"),Fr=di({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 hi(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 v={class:i.value,style:u.value};c=l.h("div",v)}const g={class:s.value,style:d.value},E=n.default?n.default():[],A=l.h("div",g,E),x={class:o.value};return l.h("div",x,[c,A])}}}}const{componentName:gi,create:mi,scope:Zi}=Y("indicator"),Lr=mi(hi(gi));var we=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yt={},yi={get exports(){return Yt},set exports(e){Yt=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",g="month",E="quarter",A="year",x="date",v="Invalid Date",k=/^(\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("_")},j=function(O,R,b){var I=String(O);return!I||I.length>=R?O:""+Array(R+1-I.length).join(b)+O},V={s:j,z:function(O){var R=-O.utcOffset(),b=Math.abs(R),I=Math.floor(b/60),T=b%60;return(R<=0?"+":"-")+j(I,2,"0")+":"+j(T,2,"0")},m:function O(R,b){if(R.date()<b.date())return-O(b,R);var I=12*(b.year()-R.year())+(b.month()-R.month()),T=R.clone().add(I,g),q=b-T<0,N=R.clone().add(I+(q?-1:1),g);return+(-(I+(b-T)/(q?T-N:N-T))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:g,y:A,w:c,d,D:x,h:s,m:u,s:i,ms:o,Q:E}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},y="en",p={};p[y]=D;var m=function(O){return O instanceof M},S=function O(R,b,I){var T;if(!R)return y;if(typeof R=="string"){var q=R.toLowerCase();p[q]&&(T=q),b&&(p[q]=b,T=q);var N=R.split("-");if(!T&&N.length>1)return O(N[0])}else{var F=R.name;p[F]=R,T=F}return!I&&T&&(y=T),T||!I&&y},C=function(O,R){if(m(O))return O.clone();var b=typeof R=="object"?R:{};return b.date=O,b.args=arguments,new M(b)},w=V;w.l=S,w.i=m,w.w=function(O,R){return C(O,{locale:R.$L,utc:R.$u,x:R.$x,$offset:R.$offset})};var M=function(){function O(b){this.$L=S(b.locale,null,!0),this.parse(b)}var R=O.prototype;return R.parse=function(b){this.$d=function(I){var T=I.date,q=I.utc;if(T===null)return new Date(NaN);if(w.u(T))return new Date;if(T instanceof Date)return new Date(T);if(typeof T=="string"&&!/Z$/i.test(T)){var N=T.match(k);if(N){var F=N[2]-1||0,L=(N[7]||"0").substring(0,3);return q?new Date(Date.UTC(N[1],F,N[3]||1,N[4]||0,N[5]||0,N[6]||0,L)):new Date(N[1],F,N[3]||1,N[4]||0,N[5]||0,N[6]||0,L)}}return new Date(T)}(b),this.$x=b.x||{},this.init()},R.init=function(){var b=this.$d;this.$y=b.getFullYear(),this.$M=b.getMonth(),this.$D=b.getDate(),this.$W=b.getDay(),this.$H=b.getHours(),this.$m=b.getMinutes(),this.$s=b.getSeconds(),this.$ms=b.getMilliseconds()},R.$utils=function(){return w},R.isValid=function(){return this.$d.toString()!==v},R.isSame=function(b,I){var T=C(b);return this.startOf(I)<=T&&T<=this.endOf(I)},R.isAfter=function(b,I){return C(b)<this.startOf(I)},R.isBefore=function(b,I){return this.endOf(I)<C(b)},R.$g=function(b,I,T){return w.u(b)?this[I]:this.set(T,b)},R.unix=function(){return Math.floor(this.valueOf()/1e3)},R.valueOf=function(){return this.$d.getTime()},R.startOf=function(b,I){var T=this,q=!!w.u(I)||I,N=w.p(b),F=function(J,X){var me=w.w(T.$u?Date.UTC(T.$y,X,J):new Date(T.$y,X,J),T);return q?me:me.endOf(d)},L=function(J,X){return w.w(T.toDate()[J].apply(T.toDate("s"),(q?[0,0,0,0]:[23,59,59,999]).slice(X)),T)},P=this.$W,_=this.$M,G=this.$D,z="set"+(this.$u?"UTC":"");switch(N){case A:return q?F(1,0):F(31,11);case g:return q?F(1,_):F(0,_+1);case c:var se=this.$locale().weekStart||0,te=(P<se?P+7:P)-se;return F(q?G-te:G+(6-te),_);case d:case x: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()}},R.endOf=function(b){return this.startOf(b,!1)},R.$set=function(b,I){var T,q=w.p(b),N="set"+(this.$u?"UTC":""),F=(T={},T[d]=N+"Date",T[x]=N+"Date",T[g]=N+"Month",T[A]=N+"FullYear",T[s]=N+"Hours",T[u]=N+"Minutes",T[i]=N+"Seconds",T[o]=N+"Milliseconds",T)[q],L=q===d?this.$D+(I-this.$W):I;if(q===g||q===A){var P=this.clone().set(x,1);P.$d[F](L),P.init(),this.$d=P.set(x,Math.min(this.$D,P.daysInMonth())).$d}else F&&this.$d[F](L);return this.init(),this},R.set=function(b,I){return this.clone().$set(b,I)},R.get=function(b){return this[w.p(b)]()},R.add=function(b,I){var T,q=this;b=Number(b);var N=w.p(I),F=function(_){var G=C(q);return w.w(G.date(G.date()+Math.round(_*b)),q)};if(N===g)return this.set(g,this.$M+b);if(N===A)return this.set(A,this.$y+b);if(N===d)return F(1);if(N===c)return F(7);var L=(T={},T[u]=n,T[s]=a,T[i]=r,T)[N]||1,P=this.$d.getTime()+b*L;return w.w(P,this)},R.subtract=function(b,I){return this.add(-1*b,I)},R.format=function(b){var I=this,T=this.$locale();if(!this.isValid())return T.invalidDate||v;var q=b||"YYYY-MM-DDTHH:mm:ssZ",N=w.z(this),F=this.$H,L=this.$m,P=this.$M,_=T.weekdays,G=T.months,z=function(X,me,Oe,Te){return X&&(X[me]||X(I,q))||Oe[me].slice(0,Te)},se=function(X){return w.s(F%12||12,X,"0")},te=T.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(T.monthsShort,P,G,3),MMMM:z(G,P),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:z(T.weekdaysMin,this.$W,_,2),ddd:z(T.weekdaysShort,this.$W,_,3),dddd:_[this.$W],H:String(F),HH:w.s(F,2,"0"),h:se(1),hh:se(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:N};return q.replace($,function(X,me){return me||J[X]||N.replace(":","")})},R.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},R.diff=function(b,I,T){var q,N=w.p(I),F=C(b),L=(F.utcOffset()-this.utcOffset())*n,P=this-F,_=w.m(this,F);return _=(q={},q[A]=_/12,q[g]=_,q[E]=_/3,q[c]=(P-L)/6048e5,q[d]=(P-L)/864e5,q[s]=P/a,q[u]=P/n,q[i]=P/r,q)[N]||P,T?_:w.a(_)},R.daysInMonth=function(){return this.endOf(g).$D},R.$locale=function(){return p[this.$L]},R.locale=function(b,I){if(!b)return this.$L;var T=this.clone(),q=S(b,I,!0);return q&&(T.$L=q),T},R.clone=function(){return w.w(this.$d,this)},R.toDate=function(){return new Date(this.valueOf())},R.toJSON=function(){return this.isValid()?this.toISOString():null},R.toISOString=function(){return this.$d.toISOString()},R.toString=function(){return this.$d.toUTCString()},O}(),B=M.prototype;return C.prototype=B,[["$ms",o],["$s",i],["$m",u],["$H",s],["$W",d],["$M",g],["$y",A],["$D",x]].forEach(function(O){B[O[1]]=function(R){return this.$g(R,O[0],O[1])}}),C.extend=function(O,R){return O.$i||(O(R,M,C),O.$i=!0),C},C.locale=S,C.isDayjs=m,C.unix=function(O){return C(1e3*O)},C.en=p[y],C.Ls=p,C.p={},C})})(yi);const Ce=Yt;var Wt={},pi={get exports(){return Wt},set exports(e){Wt=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(v){return(v=+v)+(v>68?1900:2e3)},d=function(v){return function(k){this[v]=+k}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(k){if(!k||k==="Z")return 0;var $=k.match(/([+-]|\d\d)/g),D=60*$[1]+(+$[2]||0);return D===0?0:$[0]==="+"?-D:D}(v)}],g=function(v){var k=u[v];return k&&(k.indexOf?k:k.s.concat(k.f))},E=function(v,k){var $,D=u.meridiem;if(D){for(var j=1;j<=24;j+=1)if(v.indexOf(D(j,0,k))>-1){$=j>12;break}}else $=v===(k?"pm":"PM");return $},A={A:[i,function(v){this.afternoon=E(v,!1)}],a:[i,function(v){this.afternoon=E(v,!0)}],S:[/\d/,function(v){this.milliseconds=100*+v}],SS:[a,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],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(v){var k=u.ordinal,$=v.match(/\d+/);if(this.day=$[0],k)for(var D=1;D<=31;D+=1)k(D).replace(/\[|\]/g,"")===v&&(this.day=D)}],M:[o,d("month")],MM:[a,d("month")],MMM:[i,function(v){var k=g("months"),$=(g("monthsShort")||k.map(function(D){return D.slice(0,3)})).indexOf(v)+1;if($<1)throw new Error;this.month=$%12||$}],MMMM:[i,function(v){var k=g("months").indexOf(v)+1;if(k<1)throw new Error;this.month=k%12||k}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(v){this.year=s(v)}],YYYY:[/\d{4}/,d("year")],Z:c,ZZ:c};function x(v){var k,$;k=v,$=u&&u.formats;for(var D=(v=k.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(C,w,M){var B=M&&M.toUpperCase();return w||$[M]||r[M]||$[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(O,R,b){return R||b.slice(1)})})).match(n),j=D.length,V=0;V<j;V+=1){var y=D[V],p=A[y],m=p&&p[0],S=p&&p[1];D[V]=S?{regex:m,parser:S}:y.replace(/^\[|\]$/g,"")}return function(C){for(var w={},M=0,B=0;M<j;M+=1){var O=D[M];if(typeof O=="string")B+=O.length;else{var R=O.regex,b=O.parser,I=C.slice(B),T=R.exec(I)[0];b.call(w,T),C=C.replace(T,"")}}return function(q){var N=q.afternoon;if(N!==void 0){var F=q.hours;N?F<12&&(q.hours+=12):F===12&&(q.hours=0),delete q.afternoon}}(w),w}}return function(v,k,$){$.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(s=v.parseTwoDigitYear);var D=k.prototype,j=D.parse;D.parse=function(V){var y=V.date,p=V.utc,m=V.args;this.$u=p;var S=m[1];if(typeof S=="string"){var C=m[2]===!0,w=m[3]===!0,M=C||w,B=m[2];w&&(B=m[2]),u=this.$locale(),!C&&B&&(u=$.Ls[B]),this.$d=function(I,T,q){try{if(["x","X"].indexOf(T)>-1)return new Date((T==="X"?1e3:1)*I);var N=x(T)(I),F=N.year,L=N.month,P=N.day,_=N.hours,G=N.minutes,z=N.seconds,se=N.milliseconds,te=N.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,nn=G||0,rn=z||0,an=se||0;return te?new Date(Date.UTC(me,Oe,X,Te,nn,rn,an+60*te.offset*1e3)):q?new Date(Date.UTC(me,Oe,X,Te,nn,rn,an)):new Date(me,Oe,X,Te,nn,rn,an)}catch{return new Date("")}}(y,S,p),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),M&&y!=this.format(S)&&(this.$d=new Date("")),u={}}else if(S instanceof Array)for(var O=S.length,R=1;R<=O;R+=1){m[1]=S[R-1];var b=$.apply(this,m);if(b.isValid()){this.$d=b.$d,this.$L=b.$L,this.init();break}R===O&&(this.$d=new Date(""))}else j.call(this,V)}}})})(pi);const bi=Wt;var Ut={},wi={get exports(){return Ut},set exports(e){Ut=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(),g=(u||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(E){switch(E){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(),E==="w"?1:2,"0");case"W":case"WW":return c.s(s.isoWeek(),E==="W"?1:2,"0");case"k":case"kk":return c.s(String(s.$H===0?24:s.$H),E==="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 E}});return i.bind(this)(g)}}})})(wi);const Si=Ut;var Xt={},$i={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=function(g){return g&&(g.indexOf?g:g.s)},u=function(g,E,A,x,v){var k=g.name?g:g.$locale(),$=i(k[E]),D=i(k[A]),j=$||D.map(function(y){return y.slice(0,x)});if(!v)return j;var V=k.weekStart;return j.map(function(y,p){return j[(p+(V||0))%7]})},s=function(){return a.Ls[a.locale()]},d=function(g,E){return g.formats[E]||function(A){return A.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(x,v,k){return v||k.slice(1)})}(g.formats[E.toUpperCase()])},c=function(){var g=this;return{months:function(E){return E?E.format("MMMM"):u(g,"months")},monthsShort:function(E){return E?E.format("MMM"):u(g,"monthsShort","months",3)},firstDayOfWeek:function(){return g.$locale().weekStart||0},weekdays:function(E){return E?E.format("dddd"):u(g,"weekdays")},weekdaysMin:function(E){return E?E.format("dd"):u(g,"weekdaysMin","weekdays",2)},weekdaysShort:function(E){return E?E.format("ddd"):u(g,"weekdaysShort","weekdays",3)},longDateFormat:function(E){return d(g.$locale(),E)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return c.bind(this)()},a.localeData=function(){var g=s();return{firstDayOfWeek:function(){return g.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(E){return d(g,E)},meridiem:g.meridiem,ordinal:g.ordinal}},a.months=function(){return u(s(),"months")},a.monthsShort=function(){return u(s(),"monthsShort","months",3)},a.weekdays=function(g){return u(s(),"weekdays",null,null,g)},a.weekdaysShort=function(g){return u(s(),"weekdaysShort","weekdays",3,g)},a.weekdaysMin=function(g){return u(s(),"weekdaysMin","weekdays",2,g)}}})})($i);const vi=Xt;var Zt={},Ei={get exports(){return Zt},set exports(e){Zt=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),g=i(this).endOf(r);if(c.isBefore(g))return 1}var E=i(this).startOf(n).date(d).startOf(r).subtract(1,"millisecond"),A=this.diff(E,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)}}})})(Ei);const xi=Zt;var Jt={},Ci={get exports(){return Jt},set exports(e){Jt=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}}})})(Ci);const Oi=Jt;var Qt={},Ti={get exports(){return Qt},set exports(e){Qt=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")}}})})(Ti);const Vi=Qt;var en={},Ii={get exports(){return en},set exports(e){en=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)}}})})(Ii);const Ni=en;var tn={},Ai={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.isSameOrBefore=function(a,o){return this.isSame(a,o)||this.isBefore(a,o)}}})})(Ai);const Ri=tn;Ce.extend(vi),Ce.extend(Si),Ce.extend(bi),Ce.extend(xi),Ce.extend(Oi),Ce.extend(Vi),Ce.extend(Ni),Ce.extend(Ri);const Pr=10;function ki(e,t){return e>t&&e>Pr?"horizontal":t>e&&t>Pr?"vertical":""}function ji(){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(""),g=()=>c.value==="vertical",E=()=>c.value==="horizontal",A=()=>{i.value=0,u.value=0,s.value=0,d.value=0,c.value="",r.value=0};return{move:k=>{const $=k.touches[0];i.value=$.clientX-e.value,u.value=$.clientY-t.value,a.value=$.clientX,o.value=$.clientY,s.value=Math.abs(i.value),d.value=Math.abs(u.value),n.value=Date.now()-r.value,c.value||(c.value=ki(s.value,d.value))},start:k=>{A(),e.value=k.touches[0].clientX,t.value=k.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:g,isHorizontal:E}}const Mi=[Bn,Fn,Ln,Pn,Kn,ie,Un,Xn,yt,Jn,rr,lr,ir,ur,mr,pr,Sr,vr,xr,Tr,Nr,kr,Mr,qr,Br,zt,mt,Fr,Lr],Di=new Ca(Mi,[Va],"4.0.0");Object.defineProperty(f,"FoxAffix",{enumerable:!0,get:()=>h.ElAffix}),Object.defineProperty(f,"FoxAlert",{enumerable:!0,get:()=>h.ElAlert}),Object.defineProperty(f,"FoxAside",{enumerable:!0,get:()=>h.ElAside}),Object.defineProperty(f,"FoxAutoResizer",{enumerable:!0,get:()=>h.ElAutoResizer}),Object.defineProperty(f,"FoxAutocomplete",{enumerable:!0,get:()=>h.ElAutocomplete}),Object.defineProperty(f,"FoxAvatar",{enumerable:!0,get:()=>h.ElAvatar}),Object.defineProperty(f,"FoxBacktop",{enumerable:!0,get:()=>h.ElBacktop}),Object.defineProperty(f,"FoxBadge",{enumerable:!0,get:()=>h.ElBadge}),Object.defineProperty(f,"FoxBreadcrumb",{enumerable:!0,get:()=>h.ElBreadcrumb}),Object.defineProperty(f,"FoxBreadcrumbItem",{enumerable:!0,get:()=>h.ElBreadcrumbItem}),Object.defineProperty(f,"FoxButton",{enumerable:!0,get:()=>h.ElButton}),Object.defineProperty(f,"FoxButtonGroup",{enumerable:!0,get:()=>h.ElButtonGroup}),Object.defineProperty(f,"FoxCalendar",{enumerable:!0,get:()=>h.ElCalendar}),Object.defineProperty(f,"FoxCard",{enumerable:!0,get:()=>h.ElCard}),Object.defineProperty(f,"FoxCarousel",{enumerable:!0,get:()=>h.ElCarousel}),Object.defineProperty(f,"FoxCarouselItem",{enumerable:!0,get:()=>h.ElCarouselItem}),Object.defineProperty(f,"FoxCascader",{enumerable:!0,get:()=>h.ElCascader}),Object.defineProperty(f,"FoxCascaderPanel",{enumerable:!0,get:()=>h.ElCascaderPanel}),Object.defineProperty(f,"FoxCheckTag",{enumerable:!0,get:()=>h.ElCheckTag}),Object.defineProperty(f,"FoxCheckbox",{enumerable:!0,get:()=>h.ElCheckbox}),Object.defineProperty(f,"FoxCheckboxButton",{enumerable:!0,get:()=>h.ElCheckboxButton}),Object.defineProperty(f,"FoxCheckboxGroup",{enumerable:!0,get:()=>h.ElCheckboxGroup}),Object.defineProperty(f,"FoxCol",{enumerable:!0,get:()=>h.ElCol}),Object.defineProperty(f,"FoxCollapse",{enumerable:!0,get:()=>h.ElCollapse}),Object.defineProperty(f,"FoxCollapseItem",{enumerable:!0,get:()=>h.ElCollapseItem}),Object.defineProperty(f,"FoxCollapseTransition",{enumerable:!0,get:()=>h.ElCollapseTransition}),Object.defineProperty(f,"FoxColorPicker",{enumerable:!0,get:()=>h.ElColorPicker}),Object.defineProperty(f,"FoxConfigProvider",{enumerable:!0,get:()=>h.ElConfigProvider}),Object.defineProperty(f,"FoxContainer",{enumerable:!0,get:()=>h.ElContainer}),Object.defineProperty(f,"FoxDatePicker",{enumerable:!0,get:()=>h.ElDatePicker}),Object.defineProperty(f,"FoxDescriptions",{enumerable:!0,get:()=>h.ElDescriptions}),Object.defineProperty(f,"FoxDescriptionsItem",{enumerable:!0,get:()=>h.ElDescriptionsItem}),Object.defineProperty(f,"FoxDialog",{enumerable:!0,get:()=>h.ElDialog}),Object.defineProperty(f,"FoxDivider",{enumerable:!0,get:()=>h.ElDivider}),Object.defineProperty(f,"FoxDrawer",{enumerable:!0,get:()=>h.ElDrawer}),Object.defineProperty(f,"FoxDropdown",{enumerable:!0,get:()=>h.ElDropdown}),Object.defineProperty(f,"FoxDropdownItem",{enumerable:!0,get:()=>h.ElDropdownItem}),Object.defineProperty(f,"FoxDropdownMenu",{enumerable:!0,get:()=>h.ElDropdownMenu}),Object.defineProperty(f,"FoxEmpty",{enumerable:!0,get:()=>h.ElEmpty}),Object.defineProperty(f,"FoxFooter",{enumerable:!0,get:()=>h.ElFooter}),Object.defineProperty(f,"FoxForm",{enumerable:!0,get:()=>h.ElForm}),Object.defineProperty(f,"FoxFormItem",{enumerable:!0,get:()=>h.ElFormItem}),Object.defineProperty(f,"FoxHeader",{enumerable:!0,get:()=>h.ElHeader}),Object.defineProperty(f,"FoxIcon",{enumerable:!0,get:()=>h.ElIcon}),Object.defineProperty(f,"FoxImage",{enumerable:!0,get:()=>h.ElImage}),Object.defineProperty(f,"FoxImageViewer",{enumerable:!0,get:()=>h.ElImageViewer}),Object.defineProperty(f,"FoxInput",{enumerable:!0,get:()=>h.ElInput}),Object.defineProperty(f,"FoxInputNumber",{enumerable:!0,get:()=>h.ElInputNumber}),Object.defineProperty(f,"FoxLink",{enumerable:!0,get:()=>h.ElLink}),Object.defineProperty(f,"FoxMain",{enumerable:!0,get:()=>h.ElMain}),Object.defineProperty(f,"FoxMenu",{enumerable:!0,get:()=>h.ElMenu}),Object.defineProperty(f,"FoxMenuItem",{enumerable:!0,get:()=>h.ElMenuItem}),Object.defineProperty(f,"FoxMenuItemGroup",{enumerable:!0,get:()=>h.ElMenuItemGroup}),Object.defineProperty(f,"FoxOption",{enumerable:!0,get:()=>h.ElOption}),Object.defineProperty(f,"FoxOptionGroup",{enumerable:!0,get:()=>h.ElOptionGroup}),Object.defineProperty(f,"FoxPageHeader",{enumerable:!0,get:()=>h.ElPageHeader}),Object.defineProperty(f,"FoxPagination",{enumerable:!0,get:()=>h.ElPagination}),Object.defineProperty(f,"FoxPopconfirm",{enumerable:!0,get:()=>h.ElPopconfirm}),Object.defineProperty(f,"FoxPopover",{enumerable:!0,get:()=>h.ElPopover}),Object.defineProperty(f,"FoxPopper",{enumerable:!0,get:()=>h.ElPopper}),Object.defineProperty(f,"FoxProgress",{enumerable:!0,get:()=>h.ElProgress}),Object.defineProperty(f,"FoxRadio",{enumerable:!0,get:()=>h.ElRadio}),Object.defineProperty(f,"FoxRadioButton",{enumerable:!0,get:()=>h.ElRadioButton}),Object.defineProperty(f,"FoxRadioGroup",{enumerable:!0,get:()=>h.ElRadioGroup}),Object.defineProperty(f,"FoxRate",{enumerable:!0,get:()=>h.ElRate}),Object.defineProperty(f,"FoxResult",{enumerable:!0,get:()=>h.ElResult}),Object.defineProperty(f,"FoxRow",{enumerable:!0,get:()=>h.ElRow}),Object.defineProperty(f,"FoxScrollbar",{enumerable:!0,get:()=>h.ElScrollbar}),Object.defineProperty(f,"FoxSelect",{enumerable:!0,get:()=>h.ElSelect}),Object.defineProperty(f,"FoxSelectV2",{enumerable:!0,get:()=>h.ElSelectV2}),Object.defineProperty(f,"FoxSkeleton",{enumerable:!0,get:()=>h.ElSkeleton}),Object.defineProperty(f,"FoxSkeletonItem",{enumerable:!0,get:()=>h.ElSkeletonItem}),Object.defineProperty(f,"FoxSlider",{enumerable:!0,get:()=>h.ElSlider}),Object.defineProperty(f,"FoxSpace",{enumerable:!0,get:()=>h.ElSpace}),Object.defineProperty(f,"FoxStep",{enumerable:!0,get:()=>h.ElStep}),Object.defineProperty(f,"FoxSteps",{enumerable:!0,get:()=>h.ElSteps}),Object.defineProperty(f,"FoxSubMenu",{enumerable:!0,get:()=>h.ElSubMenu}),Object.defineProperty(f,"FoxSwitch",{enumerable:!0,get:()=>h.ElSwitch}),Object.defineProperty(f,"FoxTabPane",{enumerable:!0,get:()=>h.ElTabPane}),Object.defineProperty(f,"FoxTable",{enumerable:!0,get:()=>h.ElTable}),Object.defineProperty(f,"FoxTableColumn",{enumerable:!0,get:()=>h.ElTableColumn}),Object.defineProperty(f,"FoxTableV2",{enumerable:!0,get:()=>h.ElTableV2}),Object.defineProperty(f,"FoxTabs",{enumerable:!0,get:()=>h.ElTabs}),Object.defineProperty(f,"FoxTag",{enumerable:!0,get:()=>h.ElTag}),Object.defineProperty(f,"FoxTimePicker",{enumerable:!0,get:()=>h.ElTimePicker}),Object.defineProperty(f,"FoxTimeSelect",{enumerable:!0,get:()=>h.ElTimeSelect}),Object.defineProperty(f,"FoxTimeline",{enumerable:!0,get:()=>h.ElTimeline}),Object.defineProperty(f,"FoxTimelineItem",{enumerable:!0,get:()=>h.ElTimelineItem}),Object.defineProperty(f,"FoxTooltip",{enumerable:!0,get:()=>h.ElTooltip}),Object.defineProperty(f,"FoxTransfer",{enumerable:!0,get:()=>h.ElTransfer}),Object.defineProperty(f,"FoxTree",{enumerable:!0,get:()=>h.ElTree}),Object.defineProperty(f,"FoxTreeSelect",{enumerable:!0,get:()=>h.ElTreeSelect}),Object.defineProperty(f,"FoxTreeV2",{enumerable:!0,get:()=>h.ElTreeV2}),Object.defineProperty(f,"FoxUpload",{enumerable:!0,get:()=>h.ElUpload}),f.AutocompleteItem=vr,f.Broadcast=Rt,f.BroadcastKey=ne,f.CascaderItem=Sr,f.CheckboxItem=kr,f.Content=Pn,f.DataItemsKey=Me,f.DateItem=lr,f.DialogItem=Br,f.Domain=jt,f.DomainKey=$e,f.ExtIcon=Fr,f.FooterBar=Ln,f.Group=Kn,f.HeaderBar=Fn,f.HintText=yt,f.Indicator=Lr,f.InputItem=Jn,f.InputNumberItem=pr,f.Item=ie,f.Mapping=zt,f.MoneyItem=mr,f.Page=Bn,f.Price=mt,f.PriorityPolicy=ct,f.RadioItem=Nr,f.RateItem=Mr,f.RowItem=Xn,f.SelectItem=rr,f.SlotItem=Un,f.SwitchItem=qr,f.TableItem=Tr,f.TableMappingColumn=xr,f.TimeItem=ir,f.TimeSelectItem=ur,f.UniqueID=Gn,f.ValidateSchema=In,f.ValidateSchemaKey=be,f.clearNonNumber=na,f.clone=Nt,f.compareTo=Ot,f.createBroadcast=nt,f.createValidateSchema=at,f.debounce=ya,f.decimalLength=vn,f.default=Di,f.defineBroadcast=ia,f.defineDataItem=An,f.defineDomain=Dt,f.defineItem=oe,f.definePageState=Rn,f.deleteGlobalValidator=fa,f.disabledProperty=he,f.divide=Ct,f.excludeProps=ue,f.extend=Ie,f.floatData=oa,f.getGlobalValidateCheckEvents=On,f.getGlobalValidateResetEvents=Vn,f.getPageContentAreaHeight=st,f.getPageContentAreaWidth=ut,f.getPageFooterAreaHeight=it,f.getPageHeaderAreaHeight=ot,f.getRootDomain=Xe,f.hasSymbol=mn,f.includeProps=la,f.indexOf=ra,f.integerLength=$n,f.isArray=Hr,f.isArrayLike=pn,f.isBrowser=Ge,f.isDate=Gr,f.isESModule=Xr,f.isEmptyString=ee,f.isEqual=Ne,f.isFunction=Vt,f.isInnerPage=ba,f.isMap=Kr,f.isNumberString=Sn,f.isObject=Se,f.isPlainObject=It,f.isPromise=Ur,f.isRegExp=wn,f.isSet=zr,f.isString=Yr,f.isSubPage=wa,f.isSymbol=Wr,f.isWindow=yn,f.lastIndexOf=aa,f.makeArray=ea,f.merge=bn,f.multiply=fn,f.negate=dn,f.nextTick=Jr,f.numberFormat=Tt,f.objectToString=gn,f.property=De,f.raf=ta,f.readonlyProperty=de,f.setGlobalValidateCheckEvents=da,f.setGlobalValidateHandler=ua,f.setGlobalValidateMessages=ga,f.setGlobalValidateResetEvents=ha,f.setGlobalValidator=ca,f.throttle=kt,f.toBoolean=re,f.toNumber=Z,f.toPadding=pe,f.toPx=U,f.toPxDesc=K,f.toTypeString=et,f.toValue=W,f.typeOf=tt,f.unNumberFormat=hn,f.updatePageState=qt,f.useBroadcast=We,f.useDomain=ve,f.useExpose=fe,f.usePageState=lt,f.usePosition=Yn,f.useRect=gt,f.useTouch=ji,f.valueLength=Ye,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});