@fox-js/foxui-pc 3.0.15 → 4.0.1-1

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.
@@ -0,0 +1,5 @@
1
+ (function(b,i){typeof exports=="object"&&typeof module<"u"?i(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"],i):(b=typeof globalThis<"u"?globalThis:b||self,i(b.FoxUI={},b.Vue,b.fox,b.Schema,b.elementPlus,b.i18n))})(this,function(b,i,F,kn,$,Oe){"use strict";/*!
2
+ * @fox-js/foxui-desktop v4.0.0 Mon Nov 07 2022 08:49:34 GMT+0800 (中国标准时间)
3
+ */const $e=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(kn);/*!
4
+ * @fox-js/big-decimal v4.0.1-3 Wed Nov 02 2022 21:59:56 GMT+0800 (中国标准时间)
5
+ */function Le(e,t="0"){let n=0,r=-1;e[0]=="-"&&(n++,r=1,e=e.substring(1),e.length),t[0]=="-"&&(n++,r=2,t=t.substring(1),t.length),e=X(e),t=X(t),[e,t]=rt(X(e),X(t)),n==1&&(r==1?e=nt(e):t=nt(t));let a=Nt(e,t);return n?n==2?"-"+X(a):e.length<a.length?X(a.substring(1)):"-"+X(nt(a)):X(a)}function nt(e){let t="",n=e.length,r=e.split(".")[1],a=r?r.length:0;for(let u=0;u<n;u++)e[u]>="0"&&e[u]<="9"?t+=9-parseInt(e[u]):t+=e[u];let o=a>0?"0."+new Array(a).join("0")+"1":"1";return Nt(t,o)}function X(e){let t=e.split(".");for(t[0]||(t[0]="0");t[0][0]=="0"&&t[0].length>1;)t[0]=t[0].substring(1);return t[0]+(t[1]?"."+t[1]:"")}function rt(e,t){let n=e.split("."),r=t.split("."),a=n[0].length,o=r[0].length;return a>o?r[0]=new Array(Math.abs(a-o)+1).join("0")+(r[0]?r[0]:""):n[0]=new Array(Math.abs(a-o)+1).join("0")+(n[0]?n[0]:""),a=n[1]?n[1].length:0,o=r[1]?r[1].length:0,(a||o)&&(a>o?r[1]=(r[1]?r[1]:"")+new Array(Math.abs(a-o)+1).join("0"):n[1]=(n[1]?n[1]:"")+new Array(Math.abs(a-o)+1).join("0")),e=n[0]+(n[1]?"."+n[1]:""),t=r[0]+(r[1]?"."+r[1]:""),[e,t]}function Nt(e,t){[e,t]=rt(e,t);let n="",r=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){n="."+n;continue}let o=parseInt(e[a])+parseInt(t[a])+r;n=o%10+n,r=Math.floor(o/10)}return r?r.toString()+n:n}var Y=(e=>(e[e.CEILING=0]="CEILING",e[e.DOWN=1]="DOWN",e[e.FLOOR=2]="FLOOR",e[e.HALF_DOWN=3]="HALF_DOWN",e[e.HALF_EVEN=4]="HALF_EVEN",e[e.HALF_UP=5]="HALF_UP",e[e.UNNECESSARY=6]="UNNECESSARY",e[e.UP=7]="UP",e))(Y||{});function Re(e,t=0,n=Y.HALF_EVEN){if(n===Y.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let r=!1;e[0]==="-"&&(r=!0,e=e.substring(1));let a=e.split("."),o=a[0],u=a[1];if(t<0){if(t=-t,o.length<=t)return"0";{let c=o.substr(0,o.length-t);return e=c+"."+o.substr(o.length-t)+u,c=Re(e,0,n),(r?"-":"")+c+new Array(t+1).join("0")}}if(t==0)return o.length,Ot(a[1],o,r,n)?(r?"-":"")+at(o):(r?"-":"")+o;if(a[1]){if(a[1].length<t)return(r?"-":"")+o+"."+a[1]+new Array(t-a[1].length+1).join("0")}else return(r?"-":"")+o+"."+new Array(t+1).join("0");u=a[1].substring(0,t);let l=a[1].substring(t);return l&&Ot(l,u,r,n)&&(u=at(u),u.length>t)?(r?"-":"")+at(o,parseInt(u[0]))+"."+u.substring(1):(r?"-":"")+o+"."+u}function Ot(e,t,n,r){if(!e||e===new Array(e.length+1).join("0")||r===Y.DOWN||!n&&r===Y.FLOOR||n&&r===Y.CEILING)return!1;if(r===Y.UP||n&&r===Y.FLOOR||!n&&r===Y.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(r){case Y.HALF_DOWN:return!1;case Y.HALF_UP:return!0;case Y.HALF_EVEN:default:return parseInt(t[t.length-1])%2==1}}function at(e,t=0){t||(t=1),typeof e=="number"&&e.toString();let n=e.length-1,r="";for(let a=n;a>=0;a--){let o=parseInt(e[a])+t;o==10?(t=1,o=0):t=0,r+=o}return t&&(r+=t),r.split("").reverse().join("")}function it(e,t){e=e.toString(),t=t.toString();let n=0;e[0]=="-"&&(n++,e=e.substr(1)),t[0]=="-"&&(n++,t=t.substr(1)),e=Ve(e),t=Ve(t);let r=0,a=0;e.indexOf(".")!=-1&&(r=e.length-e.indexOf(".")-1),t.indexOf(".")!=-1&&(a=t.length-t.indexOf(".")-1);let o=r+a;if(e=Ve(e.replace(".","")),t=Ve(t.replace(".","")),e.length<t.length){let f=e;e=t,t=f}if(t=="0")return"0";let u=t.length,l=0,c=[],s=u-1,d="";for(let f=0;f<u;f++)c[f]=e.length-1;for(let f=0;f<2*e.length;f++){let E=0;for(let k=t.length-1;k>=s&&k>=0;k--)c[k]>-1&&c[k]<e.length&&(E+=parseInt(e[c[k]--])*parseInt(t[k]));E+=l,l=Math.floor(E/10),d=E%10+d,s--}return d=Ve(qn(d,o)),n==1&&(d="-"+d),d}function qn(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 Ve(e){for(;e[0]=="0";)e=e.substr(1);if(e.indexOf(".")!=-1)for(;e[e.length-1]=="0";)e=e.substr(0,e.length-1);return e==""||e=="."?e="0":e[e.length-1]=="."&&(e=e.substr(0,e.length-1)),e[0]=="."&&(e="0"+e),e}function ot(e,t,n=8){if(t==0)throw new Error("Cannot divide by 0");if(e=e.toString(),t=t.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let r=0;t[0]=="-"&&(t=t.substring(1),r++),e[0]=="-"&&(e=e.substring(1),r++);var a=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(t=X(t.replace(".","")),a>=0){let s=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(s==-1)e=X(e+new Array(a+1).join("0"));else if(a>s)e=e.replace(".",""),e=X(e+new Array(a-s+1).join("0"));else if(a<s){e=e.replace(".","");let d=e.length-s+a;e=X(e.substring(0,d)+"."+e.substring(d))}else a==s&&(e=X(e.replace(".","")))}let o=0,u=t.length,l="",c=e.indexOf(".")>-1&&e.indexOf(".")<u?e.substring(0,u+1):e.substring(0,u);if(e=e.indexOf(".")>-1&&e.indexOf(".")<u?e.substring(u+1):e.substring(u),c.indexOf(".")>-1){let s=c.length-c.indexOf(".")-1;c=c.replace(".",""),u>c.length&&(s+=u-c.length,c=c+new Array(u-c.length+1).join("0")),o=s,l="0."+new Array(s).join("0")}for(n=n+2;o<=n;){let s=0;for(;parseInt(c)>=parseInt(t);)c=Le(c,"-"+t),s++;l+=s,e?(e[0]=="."&&(l+=".",o++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(o||(l+="."),o++,c=c+"0")}return(r==1?"-":"")+X(Re(l,n-2))}function st(e,t){return e=e.toString(),t=t.toString(),t=lt(t),Le(e,t)}function lt(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Ct(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),xt(e),xt(t);let n="";e[0]=="-"&&(n="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let r=st(e,it(t,Re(ot(e,t),0,Y.FLOOR)));return n+r}function xt(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Tt(e,t){let n=!1;if(e[0]=="-"&&t[0]!="-")return-1;if(e[0]!="-"&&t[0]=="-")return 1;if(e[0]=="-"&&t[0]=="-"&&(e=e.substr(1),t=t.substr(1),n=!0),[e,t]=rt(e,t),e.localeCompare(t)==0)return 0;for(let r=0;r<e.length;r++)if(e[r]!=t[r])return e[r]>t[r]?n?-1:1:n?1:-1;return 0}class P{value;static RoundingModes=Y;static validate(t){if(t){if(t=t.toString(),isNaN(t))throw Error("Parameter is not a number: "+t);t[0]=="+"&&(t=t.substring(1))}else t="0";if(t.startsWith(".")?t="0"+t:t.startsWith("-.")&&(t="-0"+t.substr(1)),/e/i.test(t)){let[n,r]=t.split(/[eE]/);n=X(n);let a="";n[0]=="-"&&(a="-",n=n.substring(1)),n.indexOf(".")>=0?(r=parseInt(r)+n.indexOf("."),n=n.replace(".","")):r=parseInt(r)+n.length,n.length<r?t=a+n+new Array(r-n.length+1).join("0"):n.length>=r&&r>0?t=a+X(n.substring(0,r))+(n.length>r?"."+n.substring(r):""):t=a+"0."+new Array(-r+1).join("0")+n}return t}constructor(t="0"){this.value=P.validate(t)}getValue(){return this.value}static getPrettyValue(t,n,r){if(!(n||r))n=3,r=",";else if(!(n&&r))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");t=P.validate(t);let a=t.charAt(0)=="-";a&&(t=t.substring(1));var o=t.indexOf(".");o=o>0?o:t.length;for(var u="",l=o;l>0;)l<n?(n=l,l=0):l-=n,u=t.substring(l,l+n)+(l<o-n&&l>=0?r:"")+u;return(a?"-":"")+u+t.substring(o)}getPrettyValue(t,n){return P.getPrettyValue(this.value,t,n)}static round(t,n=0,r=Y.HALF_EVEN){if(t=P.validate(t),isNaN(n))throw Error("Precision is not a number: "+n);return Re(t,n,r)}round(t=0,n=Y.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new P(Re(this.value,t,n))}static floor(t){return t=P.validate(t),t.indexOf(".")===-1?t:P.round(t,0,Y.FLOOR)}floor(){return this.value.indexOf(".")===-1?new P(this.value):new P(this.value).round(0,Y.FLOOR)}static ceil(t){return t=P.validate(t),t.indexOf(".")===-1?t:P.round(t,0,Y.CEILING)}ceil(){return this.value.indexOf(".")===-1?new P(this.value):new P(this.value).round(0,Y.CEILING)}static add(t,n){return t=P.validate(t),n=P.validate(n),Le(t,n)}add(t){return new P(Le(this.value,t.getValue()))}static subtract(t,n){return t=P.validate(t),n=P.validate(n),st(t,n)}subtract(t){return new P(st(this.value,t.getValue()))}static multiply(t,n){return t=P.validate(t),n=P.validate(n),it(t,n)}multiply(t){return new P(it(this.value,t.getValue()))}static divide(t,n,r){return t=P.validate(t),n=P.validate(n),ot(t,n,r)}divide(t,n){return new P(ot(this.value,t.getValue(),n))}static modulus(t,n){return t=P.validate(t),n=P.validate(n),Ct(t,n)}modulus(t){return new P(Ct(this.value,t.getValue()))}static compareTo(t,n){return t=P.validate(t),n=P.validate(n),Tt(t,n)}compareTo(t){return Tt(this.value,t.getValue())}static negate(t){return t=P.validate(t),lt(t)}negate(){return new P(lt(this.value))}}function Ln(e,t){return P.multiply(`${e}`,`${t}`)}function _n(e,t,n=8){return P.divide(`${e}`,`${t}`,n)}function jn(e,t){return e=`${e}`,t=`${t}`,P.compareTo(e,t)}function Pn(e){return P.negate(e)}function Rt(e,t=-1,n=!1,r=3,a=","){let o=`${e}`;if(o.length==0||o==="-")return"";let u=o.charAt(0);u=="-"?o=o.substring(1):u="";let l=o,c="",s=o.indexOf(".");s!=-1&&(l=o.substring(0,s),c=o.substring(s+1)),t!=-1&&(t<c.length?c=c.substring(0,t):n&&t>c.length&&(c=c.padEnd(t,"0")));let d;if(r>0){let f="",E=l.split("").reverse();for(let k=0;k<E.length;k++)f+=E[k]+((k+1)%r==0&&k+1!=E.length?a:"");c.length==0?d=`${u}${f.split("").reverse().join("")}`:d=`${u}${f.split("").reverse().join("")}.${c}`}else c.length==0?d=`${u}${l}`:d=`${u}${l}.${c}`;return d}function Hn(e){let t=`${e}`,n=t.charAt(0);n=="-"?t=t.substring(1):n="";let r=t.replace(/[^\d\.-]/g,"");return`${n}${r}`}const Ie=typeof window<"u",Fn=Ie&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Vt(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const le=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function zn(e){return le(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),le(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function Wn(e){if(e==null)return 0;let t=`${e}`;if(t.length==0)return 0;t.charAt(0)=="-"&&(t=t.substring(1)),t=t.replace(/[^\d\.-]/g,"");const n=t.indexOf(".");return n==-1?t.length:n}function Yn(e){if(e==null)return 0;const t=`${e}`;if(t.length==0)return 0;const n=t.indexOf(".");return n==-1?0:t.length-(n+1)}function It(e,t,n){const r=e.indexOf(t);return r===-1?e:t==="-"&&r!==0?e.slice(0,r):e.slice(0,r+1)+e.slice(r).replace(n,"")}function Kn(e,t=!0,n=!0){t?e=It(e,".",/\./g):e=e.replace(/\./g,""),n?e=It(e,"-",/-/g):e=e.replace(/-/,"");const r=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(r,"")}function Gn(e,t){return typeof e=="object"||Array.isArray(e)?t.findIndex(n=>{if(F.isEqual(e,n))return!0}):t.indexOf(e)}function Un(e,t){if(typeof e=="object"||Array.isArray(e)){let n=t.reverse().findIndex(r=>{if(F.isEqual(e,r))return!0});return n!==-1&&(n=t.length-1-n),n}return t.lastIndexOf(e)}function Mt(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function Zn(e,...t){const n={};return t.forEach(r=>{for(const a in r)n[a]=e[a]}),n}function we(e,...t){const n=[];t.forEach(a=>{Reflect.apply([].push,n,Reflect.ownKeys(a))});const r={};for(const a in e)n.includes(a)||(r[a]=e[a]);return r}const Xn=(e,t,n)=>{const r=Object.assign({},e),a=Object.assign({},n);return Object.keys(t).length>0?(Object.keys(r).forEach(o=>{a.hasOwnProperty(o)?(typeof a[o]=="function"&&(r[o]=a[o](t)),typeof a[o]=="string"&&(r[o]=t[a[o]])):t[o]&&(r[o]=t[o])}),r):e},G=Symbol("BroadcastKey");class ut{parent;children=[];callbacks=new Map;instance=null;name;constructor(t,n,r){this.parent=t,this.instance=n,this.name=r,t!==null&&t.addChild(this)}addChild(t){this.children.push(t)}removeChild(t){const n=this.children.findIndex(r=>t===r);n!==-1&&this.children.splice(n,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.instance=null}emit(t,n,...r){if(t.maxLevel!==void 0&&t.maxLevel!==null&&t.maxLevel>0){if(t.level=t.level??0,t.level>t.maxLevel)return[];t.level++}let a=!1;!t.name||t.name==="*"?a=!0:!t.name||t.name==="+"?(a=!1,t.name="*"):Vt(t.name)&&this.name&&t.name.test(this.name)?a=!0:typeof t.name=="function"?a=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(a=!0);const o=[];if(a){const u=this.callbacks.get(n);if(typeof u=="function"){const s=Reflect.apply(u,this.instance?.proxy,[...r]);s!=null&&o.push(s)}const l=this.instance?.exposed??{};if(typeof l[n]=="function"){const s=Reflect.apply(l[n],l,[...r]);s!=null&&o.push(s)}const c=this.instance?.proxy??{};if(typeof c[n]=="function"){const s=Reflect.apply(c[n],c,[...r]);s!=null&&o.push(s)}}return this.children.forEach(u=>{const l=Reflect.apply(u.emit,u,[{...t},n,...r]);l!=null&&Array.isArray(l)&&Reflect.apply([].push,o,[...l])}),o}emitToChildren(t,n,...r){const a=[];return this.children.forEach(o=>{const u=Reflect.apply(o.emit,o,[{...t},n,...r]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,a,[...u])}),a}on(t,n){this.callbacks.set(t,n)}}function ct(e,t,n,r){const a=new ut(t,e,n);if(r&&typeof r=="object")for(const o in r)a.on(o,r[o]);return a}function Jn(e,t){const n=i.getCurrentInstance();if(n===null)return null;const r=n.proxy;if(r[G])return r[G];const a=i.inject(G,null),o=new ut(a,n,e);if(t&&typeof t=="object")for(const u in t)o.on(u,t[u]);return r[G]=o,i.provide(G,o),i.onUnmounted(()=>{o.destroy(),r[G]=void 0}),o}function Me(e=null){return e||(e=i.getCurrentInstance()?.proxy??null),e?e[G]??i.inject(G,null):i.inject(G,null)}class Qn{error(t,n,r){const a=n,o=Me(n);o?o.emit({name:"*"},"setErrorTip",t):typeof a.setErrorTip=="function"&&a.setErrorTip(t)}reset(t,n){const r=t,a=Me(t);a?a.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}success(t,n){const r=t,a=Me(t);a?a.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}decorate(t,n,r,a){Array.isArray(t)||(t=[t]);const o=r,u=Me(r),l=n.find(s=>s.required===!0||s.type==="required"&&s.required!==!1),c=t.find(s=>s.required===!0||s.type==="required"&&s.required!==!1);!l&&c?u?u.emit({name:"*"},"setRequired",!0):typeof o.setRequired=="function"&&o.setRequired(!0):l&&!c&&(u?u.emit({name:"*"},"setRequired",!1):typeof o.setRequired=="function"&&o.setRequired(!1),this.reset(r,a))}getValue(t,n){return t.modelValue}}let Dt=new Qn;function er(e){Dt=e}function tr(e,t){$e.default.setValidator(e,t)}function nr(e){$e.default.deleteValidator(e)}let Bt=["blur","clear"];function rr(e){Bt=e}function kt(){return Bt}let qt=["focus","change"];function ar(e){qt=e}function Lt(){return qt}function ir(e){$e.default.messages(e)}function De(...e){const t=[];return e.forEach(n=>{n.forEach(r=>{const a=t.findIndex(o=>o.type===r.type);a!==-1&&t.splice(a,1),t.push(r)})}),t}function _e(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 ae=Symbol("ValidateSchemaKey");class _t{parent=null;validators={};attrRules=[];rules=[];descriptor;instance;scope=null;constructor(t,n,r){this.parent=t,this.descriptor=n,this.instance=r,(this.descriptor.validate??!0)&&this.init()}init(){if(!this.descriptor.valueName)return;let t=this.instance.proxy;if(!t)return;let n=t.$attrs;!n||(this.scope=i.effectScope(),this.scope.run(()=>{i.watchEffect(()=>{const r=_e(De(this.attrRules,this.rules)),a=[];for(let u in n){let l=n[u];if(this.hasValidator(u,!0)){if(l===!1)continue;let s={type:u};l!==null&&typeof l=="object"&&Object.assign(s,l),a.push(s);continue}let c=this.getValidator(u);if(c!==null){let s={type:u,validator:c};a.push(s)}}this.attrRules=_e(a);const o=De(this.attrRules,this.rules);i.nextTick(()=>{this.decorate(o,r)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(t,...n){const r=this.descriptor.validateHandler;if(r&&typeof r[t]=="function")return Reflect.apply(r[t],r,[...n]);const a=Dt;return a&&typeof a[t]=="function"?Reflect.apply(a[t],a,[...n]):null}decorate(t,n){let r=this.instance.proxy;r!==null&&this.execHandler("decorate",t,n,r,this.instance)}success(){let t=this.instance.proxy;t!==null&&this.execHandler("success",t,this.instance)}error(t){let n=this.instance.proxy;n!==null&&this.execHandler("error",t,n,this.instance)}getValue(){let t=this.instance.proxy;return t===null?null:this.execHandler("getValue",t,this.instance)}setValidator(t,n,r=!1){r?$e.default.setValidator(t,n):this.validators[t]=n}getValidator(t){let n=this.validators[t]??null;return n||(n=this.parent?.getValidator(t)??null),n}deleteValidator(t,n=!1){n?$e.default.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,n=!1){if(n)return $e.default.hasValidator(t);{let r=Reflect.has(this.validators,t);return!r&&this.parent!==null&&(r=this.parent.hasValidator(t,!1)),r}}setRule(t){const n=De(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=_e(t):this.rules=_e([t]);const r=De(this.attrRules,this.rules);i.nextTick(()=>{this.decorate(r,n)})}clear(){let t=this.instance.proxy;t!==null&&this.execHandler("reset",t,this.instance)}validate(){if(this.descriptor.validate??!0){let n=De(this.attrRules,this.rules);const r=this.descriptor.fieldName??"value";if(n.length>0){const a={[`${r}`]:n};if(!this.instance.proxy)return Promise.resolve({pass:!0});const u=this.getValue(),l={[`${r}`]:u},c=new $e.default(a),s=this.instance?.proxy??l;return c.validate(l,{context:s}).then(f=>{if(f.pass)this.success();else{let E="error";Array.isArray(f.errors)&&f.errors.length>0&&(E=f.errors[0].message??E,f.errors=[f.errors[0]],f.errors[0].ref=s),this.error(E)}return f}).catch(f=>{const E=f.message??`${f}`;return this.error(E),f})}}return Promise.resolve({pass:!0})}}function ft(e,t,n){if(n.valueName=n.valueName??"modelValue",n.valueType=n.valueType??"string",!n.validateHandler&&n.valueName!=="modelValue"){const a=n.valueName;n.validateHandler={getValue(o,u){return o[a]}}}return new _t(t,n,e)}const jt=Symbol("EventEmitterKey");class or{register=new Map;proxy;constructor(t){this.proxy=t}destroy(){this.proxy=null,this.register.clear()}off(t,n){let r=this.register.get(t);if(r&&Array.isArray(r)){let a=r.findIndex(o=>o===n);a!==-1&&r.splice(a,1)}}on(t,n){let r=this.register.get(t);r||(r=new Array,this.register.set(t,r)),r.push(n)}emit(t,...n){const r=this.register.get(t);r&&r.forEach(a=>{try{Reflect.apply(a,null,[t,...n])}catch(o){console.error(o.message,o)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...n])}}function sr(e,t){let n=0;return function(...r){const a=Date.now();a-n>t&&(Reflect.apply(e,{},[...r]),n=a)}}function dt(e,t){let n,r=null;return function(...a){r=a,n||(n=setTimeout(()=>{n=null,Reflect.apply(e,{},[...r??[]])},t))}}const ue=Symbol("DomainKey");class ht{_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=i.reactive({});constructor(t=null){this._name=t}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(t,n=[]){for(const r in t){const a=t[r];n.length>0&&n.indexOf(a)!==-1||(this._props[r]=a)}}has(t){if(Reflect.has(this._props,t)){const n=this._props[t];if(n!=null)return!0}return this.parent==null?!1:this.parent.has(t)}delete(t){Reflect.deleteProperty(this._props,t)}set(t,n){this._props[t]=n}get(t,n){if(Reflect.has(this._props,t)){const r=this._props[t];if(r!=null)return r}return this.parent==null?n:this.parent.get(t,n)}getForParent(t,n){return this.parent==null?n:this.parent.get(t,n)}getForSelf(t){return this._props[t]}getAll(t){const n=[];let r=this;for(;r!=null;){if(Reflect.has(r._props,t)){const a=r._props[t];n.push(a)}r=r._parent}return n}}const lr=new ht;function Be(){return lr}function ce(e=null){e||(e=i.getCurrentInstance());const t=e?.proxy;return t?t[ue]??i.inject(ue,null):i.inject(ue,null)}const Pt=Symbol("OriginalDateKey");function gt(e,t,n=[],r){const a=i.getCurrentInstance();let o=i.inject(ue,null);o===null&&(o=Be());const u=e||t.prop||t.name,l=new ht(u);l.parent=o,i.isReactive(t)?i.watchEffect(()=>{l.merge(t,n)}):l.merge(t,n);const c=a?.proxy;c[ue]=l,i.provide(ue,l);let s=null,d=null;if(a!==null){const f=i.inject(G,null);s=ct(a,f,u,r),l.broadcast=s,c[G]=s,i.provide(G,s),c.broadcast=(m,g,...y)=>Reflect.apply(s.emit,s,[m,g,...y]);const E=i.inject(ae,null);d=ft(a,E,{componentName:""}),l.validateSchema=d,c[ae]=d,i.provide(ae,d),c.validate=(m=!0)=>{const g=[];let y=null;if(m===!0)y={name:"*"};else if(Array.isArray(m)&&m.length>0){const S=m;y={name:C=>C?S.indexOf(C)!==-1:!1}}else if(m!=null&&typeof m=="object"){const S=m;if(Array.isArray(S.include)&&S.include.length>0){const C=S.include;y={name:M=>M?C.indexOf(M)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const C=S.exclude;y={name:M=>M?C.indexOf(M)===-1:!1}}}if(y){const S=s?.emitToChildren(y,"validate",!1);S&&Reflect.apply([].push,g,S)}return g.length==1?g[0]:g.length>1?Promise.all(g).then(S=>{let C=[];return S.forEach(M=>{M.pass===!1&&Array.isArray(M.errors)&&(C=[...C,...M.errors])}),C.length>0?{pass:!1,errors:C}:{pass:!0}}):Promise.resolve({pass:!0})},c.setNameValidateRules=(m,g=!0)=>{if(g){const y={name:S=>Reflect.ownKeys(m).includes(S)};s?.emitToChildren(y,"setNameValidateRules",m,!1)}},c.clearValidate=(m=!0)=>{let g=null;if(m===!0)g={name:"*"};else if(Array.isArray(m)&&m.length>0){const y=m;g={name:S=>S?y.indexOf(S)!==-1:!1}}else if(m!=null&&typeof m=="object"){const y=m;if(Array.isArray(y.include)&&y.include.length>0){const S=y.include;g={name:C=>C?S.indexOf(C)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const S=y.exclude;g={name:C=>C?S.indexOf(C)===-1:!1}}}g&&s?.emitToChildren(g,"clearValidate",!1)};const k={};t.modelValue&&F.extend(!0,k,i.toRaw(t.modelValue)),c[Pt]=k,c.resetFields=m=>{if(!t.modelValue)return;debugger;const g={};if(F.extend(!0,g,c[Pt]??{}),Array.isArray(m))m.forEach(y=>{t.modelValue[y]=g[y]});else if(m&&Array.isArray(m.include))(m.include??[]).forEach(S=>{t.modelValue[S]=g[S]});else if(m&&Array.isArray(m.exclude)){let y=m.exclude??[];Reflect.ownKeys(g).forEach(S=>{y.includes(S)||(t.modelValue[S]=g[S])})}else Object.assign(t.modelValue,g);c.clearValidate(m)}}return i.onUnmounted(()=>{l.destroy(),c[ue]=void 0,s!==null&&(s.destroy(),c[G]=void 0),d!==null&&(d.destroy(),c[ae]=void 0)}),l}function fe(e,t,n){const r=i.getCurrentInstance(),a=t??"",o=i.inject(G,null),u=ct(r,o,a,n),l=r?.proxy;l[G]=u,i.provide(G,u),l.broadcast=(m,g,...y)=>Reflect.apply(u.emit,u,[m,g,...y]);const c=i.inject(ae,null);e.fieldName=e.fieldName??a;const s=ft(r,c,e);l[ae]=s,i.provide(ae,s),l.validate=(m=null)=>{const g=[];if(!Array.isArray(m)||m.indexOf(a)!==-1){const S=s?.validate();g.push(S)}let y=null;if(m===!0)y={name:"*"};else if(Array.isArray(m)&&m.length>0){const S=m;y={name:C=>C?S.indexOf(C)!==-1:!1}}else if(m!=null&&typeof m=="object"){const S=m;if(Array.isArray(S.include)&&S.include.length>0){const C=S.include;y={name:M=>M?C.indexOf(M)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const C=S.exclude;y={name:M=>M?C.indexOf(M)===-1:!1}}}if(y){const S=u.emitToChildren(y,"validate",!1);Reflect.apply([].push,g,S)}return g.length==1?g[0]:g.length>1?Promise.all(g).then(S=>{let C=[];return S.forEach(M=>{M.pass===!1&&Array.isArray(M.errors)&&(C=[...C,...M.errors])}),C.length>0?{pass:!1,errors:C}:{pass:!0}}):Promise.resolve({pass:!0})},l.setValidateRule=m=>s?.setRule(m),l.setNameValidateRules=(m,g=!1)=>{const y=m[a];if(y&&s?.setRule(y),g){const S={name:C=>Reflect.ownKeys(m).includes(C)};u.emitToChildren(S,"setNameValidateRules",m,!1)}},l.clearValidate=(m=null)=>{(!Array.isArray(m)||m.indexOf(t??"")!==-1)&&s?.clear();let g=null;if(m===!0)g={name:"*"};else if(Array.isArray(m)&&m.length>0){const y=m;g={name:S=>S?y.indexOf(S)!==-1:!1}}else if(m!=null&&typeof m=="object"){const y=m;if(Array.isArray(y.include)&&y.include.length>0){const S=y.include;g={name:C=>C?S.indexOf(C)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const S=y.exclude;g={name:C=>C?S.indexOf(C)===-1:!1}}}g&&u.emitToChildren(g,"clearValidate",!1)};const d=new or(l);l[jt]=d;const f=dt((m="validate")=>{m==="reset"?s.clear():s.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:kt()).forEach(m=>{d.on(m,g=>{f("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Lt()).forEach(m=>{d.on(m,g=>{f("reset")})}),i.onUnmounted(()=>{u.destroy(),l[G]=void 0,s.destroy(),l[ae]=void 0,d.destroy(),l[jt]=void 0}),{broadcast:u,validateSchema:s,emitEvent:(m,...g)=>{Reflect.apply(d.emit,d,[m,...g])},onEvent:(m,g)=>{Reflect.apply(d.on,d,[g])},offEvent:(m,g)=>{Reflect.apply(d.off,d,[g])}}}const Q=(e,t=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&t<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${U(e,t)}px`:"";function U(e,t=-1){if(typeof e=="number")return e<1?e*t:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let n=e.indexOf("px");if(n!==-1)return Number(e.substring(0,n));if(n=e.indexOf("rem"),n!==-1){let a=Number(e.substring(0,n)),o=1;if(Ie){const{fontSize:u}=window.getComputedStyle(document.documentElement,null),l=u.indexOf("px");l>0&&(o=Number(u.substring(0,l)))}return a*=o,a}if(n=e.indexOf("%"),n!==-1)return Number(e.substring(0,n))*t;const r=Number(e);return isNaN(r)?0:r}const de="PageStateKey";function te(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 pt(e,t,n={},r=!0,a=-1,o=-1,u=0,l=0){e.headerHeight=U(n.headerHeight??t.headerHeight),e.headerPadding=te(n.headerPadding??t.headerPadding),e.footerHeight=U(n.footerHeight??t.footerHeight),e.footerPadding=te(n.footerPadding??t.footerPadding),e.contentPadding=te(n.contentPadding??t.contentPadding),r&&(e.height=U(n.height??t.height,o)-U(u,o)-U(l,o),e.width=U(n.width??t.width,a))}function Ht(e,t={}){const n={top:null,left:null,bottom:null,right:null},r={width:0,height:0,headerHeight:0,headerPadding:{...n},footerHeight:0,footerPadding:{...n},contentPadding:{...n},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},a=Object.assign(e.get("safeAreaInset")??{},t.safeAreaInset??{});a&&(r.safeAreaTop=U(a.top),r.safeAreaBottom=U(a.bottom),r.safeAreaLeft=U(a.left),r.safeAreaRight=U(a.right));const o=e.get("pageLayout");if(!o)return null;const u=e.get("rootWidth")??-1,l=e.get("rootHeight")??-1,c=e.get("headerBarHeight")??0,s=e.get("footerBarHeight")??0;pt(r,o,t,!0,u,l,c,s);const d=i.reactive(r),f=e.getForParent(de);f&&(r.height=Fe(e,f),r.width=ze(e,f),i.watch([()=>f.height,()=>f.width,()=>f.contentPadding,()=>f.headerMounted,()=>f.footerMounted],()=>{d.height=Fe(e,f),d.width=ze(e,f)}));const E=!f;return i.watch([()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([k,m=-1,g=-1,y=0,S=0])=>{pt(d,k,t,E,m,g,y,S)}),e.set(de,d),d}function je(e){return e.get(de)}function Pe(e,t){return t=t??e.get(de),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function He(e,t){return t=t??e.get(de),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function Fe(e,t){if(t=t??e.get(de),t){const n=Pe(e,t),r=He(e,t);return t.height-n-r-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function ze(e,t){return t=t??e.get(de),t?t.width-(t.contentPadding.left??0)-(t.contentPadding.right??0):0}function ur(e,t){const n=e.get("isInnerPage");return typeof n=="function"?Reflect.apply(n,{},[t,e]):!1}function cr(e){return!!e.getForParent(de)}var We=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(We||{});function mt(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function ke(e,t,n=1,r){const a=ce();return a==null?e:n===0?i.computed(()=>{const o=a.getAll(t);for(let l=o.length-1;l>=0;l--){const c=o[l];if(mt(c,r))return c}const u=e.value;return mt(u,r)?u:null}):i.computed(()=>{const o=e.value;return mt(o,r)?o:a?.get(t)})}function Ce(e){return ke(e,"readonly",0,function(n){return F.toBoolean(n)})}function xe(e){return ke(e,"disabled",0,function(n){return F.toBoolean(n)})}function ne(e,t="modelValue",n){const r=i.toRef(e,t);let a=r.value;typeof n=="function"&&(a=n(r.value));const o=i.ref(a);return i.watch(r,u=>{if(typeof n=="function"){const l=n(u);l!==o.value&&(o.value=l)}else u!==o.value&&(o.value=u)}),o}const Ft=new Map,Ye=new Map;let yt=null;function fr(e){yt=e}function zt(e,t,n){if(n){let r=Ye.get(n);r||(r=new Map,Ye.set(n,r)),r.set(e,t)}else Ft.set(e,t)}function Ke(e,t,n){!n&&yt&&(n=yt(e)??void 0);let r=null;if(n){let a=Ye.get(n);a&&(r=a.get(t))}return r||(r=Ft.get(t)),r}function dr(e,t){for(let n in e){const r=e[n];zt(n,r,t)}}function hr(e){Ye.delete(e)}function gr(){return{top:0,left:0,bottom:0,right:0}}function pr(){if(Ie){const e=document.documentElement.clientWidth||document.body.clientWidth,t=document.documentElement.clientHeight||document.body.clientHeight;return{width:e,height:t,headerHeight:44,footerHeight:44}}else return{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}class mr{packages;installers;_version;get version(){return this._version}constructor(t,n,r){this.packages=t,this.installers=n,this._version=r}install(t,n={}){this.packages.forEach(o=>{o.install?t.use(o):o.name&&t.component(o.name,o)}),this.installers.forEach(o=>{o(t)});const r=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=Be();if(this.initPageLayout(n,a),n.autoAdjustPageLayout!==!1&&window.ResizeObserver){const o=dt(()=>{const l={...n},c=document.documentElement.clientWidth||document.body.clientWidth,s=document.documentElement.clientHeight||document.body.clientHeight;l.width=c,l.height=s,this.initPageLayout(l,a)},150);new window.ResizeObserver(o).observe(window.document.body)}for(const o in n)r.indexOf(o)===-1&&a.set(o,n[o])}initPageLayout(t,n){const r=F.extend({},gr(),t.safeAreaInset),a=F.extend({},pr(),t.pageLayout);n=n??Be(),n.set("safeAreaInset",r),n.set("headerBarHeight",t.headerBarHeight??0),n.set("footerBarHeight",t.footerBarHeight??0),n.set("pageLayout",a),n.set("rootWidth",a.width),n.set("rootHeight",a.height)}setScopeGetter(t){fr(t)}setAPI(t,n,r){zt(t,n,r)}getAPI(t,n,r){return Ke(t,n,r)}batchSetAPI(t,n){dr(t,n)}clearScopeAPI(t){hr(t)}getRootDomain(){return Be()}}const yr=[$.ElAffix,$.ElAlert,$.ElAutocomplete,$.ElAutoResizer,$.ElAvatar,$.ElBacktop,$.ElBadge,$.ElBreadcrumb,$.ElBreadcrumbItem,$.ElButton,$.ElButtonGroup,$.ElCalendar,$.ElCard,$.ElCarousel,$.ElCarouselItem,$.ElCascader,$.ElCascaderPanel,$.ElCheckTag,$.ElCheckbox,$.ElCheckboxButton,$.ElCheckboxGroup,$.ElCol,$.ElCollapse,$.ElCollapseItem,$.ElCollapseTransition,$.ElColorPicker,$.ElConfigProvider,$.ElContainer,$.ElAside,$.ElFooter,$.ElHeader,$.ElMain,$.ElDatePicker,$.ElDescriptions,$.ElDescriptionsItem,$.ElDialog,$.ElDivider,$.ElDrawer,$.ElDropdown,$.ElDropdownItem,$.ElDropdownMenu,$.ElEmpty,$.ElForm,$.ElFormItem,$.ElIcon,$.ElImage,$.ElImageViewer,$.ElInput,$.ElInputNumber,$.ElLink,$.ElMenu,$.ElSubMenu,$.ElMenuItem,$.ElMenuItemGroup,$.ElPageHeader,$.ElPagination,$.ElPopconfirm,$.ElPopover,$.ElPopper,$.ElProgress,$.ElRadio,$.ElRadioButton,$.ElRadioGroup,$.ElRate,$.ElResult,$.ElRow,$.ElScrollbar,$.ElSelect,$.ElOption,$.ElOptionGroup,$.ElSelectV2,$.ElSkeleton,$.ElSkeletonItem,$.ElSlider,$.ElSpace,$.ElSteps,$.ElStep,$.ElSwitch,$.ElTable,$.ElTableColumn,$.ElTableV2,$.ElTabs,$.ElTabPane,$.ElTag,$.ElTimePicker,$.ElTimeSelect,$.ElTimeline,$.ElTimelineItem,$.ElTooltip,$.ElTransfer,$.ElTree,$.ElTreeSelect,$.ElTreeV2,$.ElUpload],br=[$.ElInfiniteScroll,$.ElLoading,$.ElMessage,$.ElMessageBox,$.ElNotification,$.ElPopoverDirective],$r=e=>{yr.forEach(t=>{let n=t.name;typeof n=="string"?(n=`Fox${n.slice(2)}`,e.component(n,t)):e.use(t)}),br.forEach(t=>{e.use(t)})};function K(e){const t="fox-"+e;return{componentName:t,scope:e.replace("-",""),create(n){return n.baseName=e,n.name=t,n.install=r=>{r.component(n.name,n)},i.defineComponent(n)},createDemo(n){return n.baseName=e,n.name="demo-"+e,i.defineComponent(n)}}}const ie={disabled:{type:[Boolean,String],required:!1},readonly:{type:[Boolean,String],required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},hasBorder:{type:Boolean,default:!0}},Se={prop:{type:String,required:!1},label:{type:String,required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},isRequired:{type:[String,Boolean],required:!1,default:!1},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:"content--default"},contentStyle:{type:Object,required:!1,default:{}},hintType:{type:String,required:!1,default:"text"},hintText:{type:[String,Number],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:!1},hintProps:{type:Object,required:!1,default:{}},hasBorder:{type:Boolean,default:!0}},Wt={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},Yt={name:{type:String,required:!1},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},type:{type:[String],required:!1,default:"flex"},title:{type:String,default:""},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},autoLayout:{type:[Boolean],required:!1,default:!0},isWrap:{type:[Boolean],required:!1,default:!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1}},Kt=[];for(const e in Yt)Kt.push(e);function oe(e,t=null){if(t||(t=i.getCurrentInstance()),t&&t.proxy){let n=t.proxy;Object.assign(n,e)}}const wr=Symbol.for("InnerPageScopeKey"),Sr=(e,t)=>({inheritAttrs:!1,props:{...ie,...Wt,name:{type:String,required:!1,default:""},modelValue:{type:String,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1}},setup(n,r){const a=gt(n.name,n);if(a){const s=Ht(a,n);oe({getPageContentHeight:()=>Fe(a,s),getPageContentWidth:()=>ze(a,s),getPageHeaderHeight:()=>Pe(a,s),getPageFooterHeight:()=>He(a,s)});const d=i.inject(wr,!1);s&&d&&(s.contentHeight="100%")}const o=i.computed(()=>({[e]:!0})),u=i.computed(()=>({})),l=i.getCurrentInstance(),c=s=>{const d=l?.proxy;d&&typeof d.setNameValidateRules=="function"&&d.setNameValidateRules(s,!0)};return i.watch(()=>n.rules,(s,d)=>{if(!s&&!d)return;const f=i.toRaw(d),E=i.toRaw(s),k=E?Reflect.ownKeys(E):[];(f?Reflect.ownKeys(f):[]).forEach(g=>{k.includes(g)||(E[g]=[])}),c(E)},{deep:!0}),i.onMounted(()=>{if(n.rules){const s=i.toRaw(n.rules);c(s)}}),{classes:o,styles:u}}}),{componentName:vr,create:Er,scope:pi}=K("page"),Ar=Er(Sr(vr));function Nr(e,t,n,r,a,o){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(e.classes),style:i.normalizeStyle(e.styles)},[i.renderSlot(e.$slots,"default")],6)}const ve=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},Gt=ve(Ar,[["render",Nr]]),Or=(e,t)=>({props:{padding:{type:[Object],required:!1}},emits:[],setup(n,r){const a=ce(),o=a?je(a):null;o&&(o.headerMounted=!0);const u=i.computed(()=>({[e]:!0})),l=i.computed(()=>{const s={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&o){const d=te(n.padding??o.footerPadding);return Object.assign(s,d),s.height=o.headerHeight,s.safeAreaTop=o.safeAreaTop,s.safeAreaTop&&(s.top=s.safeAreaTop+(d.top??0),s.height=s.height+o.safeAreaTop),s.height,s.safeAreaTop,s}if(n.padding){const d=te(n.padding);Object.assign(s,d)}return s});i.onUnmounted(()=>{o&&(o.headerMounted=!1)});const c=i.computed(()=>{const s={};return l.value.height&&(s.height=`${l.value.height}px`),l.value.top&&(s.paddingTop=`${l.value.top}px`),l.value.left&&(s.paddingLeft=`${l.value.left}px`),l.value.right&&(s.paddingRight=`${l.value.right}px`),l.value.bottom&&(s.paddingBottom=`${l.value.bottom}px`),s});return{classes:u,styles:c}}}),{componentName:Cr,create:xr,scope:mi}=K("header-bar"),Tr=xr(Or(Cr));function Rr(e,t,n,r,a,o){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(e.classes),style:i.normalizeStyle(e.styles)},[i.renderSlot(e.$slots,"default")],6)}const Ut=ve(Tr,[["render",Rr]]);function Vr(e,t){return{props:{padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(n,r){const a=ce(),o=a?je(a):null;o&&(o.footerMounted=!0);const u=i.computed(()=>{const s=e;let d=e;return n.align==="left"?d=`${d}__left`:n.align==="right"?d=`${d}__right`:d=`${d}__center`,{[s]:!0,[d]:!0}}),l=i.computed(()=>{const s={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&o){const d=te(n.padding??o.footerPadding);return Object.assign(s,d),s.safeAreaBottom=o.safeAreaBottom,s.safeAreaBottom&&(s.height=o.footerHeight+o.safeAreaBottom,s.bottom=s.safeAreaBottom+(d.bottom??0)),s.height,s.safeAreaBottom,s}if(n.padding){const d=te(n.padding);Object.assign(s,d)}return s});i.onUnmounted(()=>{o&&(o.footerMounted=!1)});const c=i.computed(()=>{const s={};return l.value&&(s.height=`${l.value.height}px`),l.value&&(s.paddingTop=`${l.value.top}px`),l.value&&(s.paddingLeft=`${l.value.left}px`),l.value&&(s.paddingRight=`${l.value.right}px`),l.value&&(s.paddingBottom=`${l.value.bottom}px`),s});return{classes:u,styles:c}}}}const{componentName:Ir,create:Mr,scope:yi}=K("footer-bar"),Dr=Mr(Vr(Ir));function Br(e,t,n,r,a,o){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(e.classes),style:i.normalizeStyle(e.styles)},[i.renderSlot(e.$slots,"default")],6)}const Zt=ve(Dr,[["render",Br]]);function kr(e,t){return{props:{padding:{type:[Object],required:!1}},setup(n){const r=ce(),a=i.computed(()=>({[e]:!0})),o=i.computed(()=>{const u={};if(r){const l=je(r);if(l){if(n.padding){const f=te(n.padding);Object.assign(l.contentPadding,f)}const c=Pe(r,l),s=He(r,l);let d="";if(l.contentHeight?d=`${l.contentHeight}`:d=`${l.height}px`,l.contentPadding,u.height=d,l.contentPadding.top||c>0){const f=(l&&l.contentPadding&&l.contentPadding.top)??0;u.paddingTop=`${c+f}px`}if(l.contentPadding.bottom||s>0){const f=(l&&l.contentPadding&&l.contentPadding.bottom)??0;u.paddingBottom=`${s+f}px`}return l.contentPadding.left&&(u.paddingLeft=`${l.contentPadding.left}px`),l.contentPadding.right&&(u.paddingRight=`${l.contentPadding.right}px`),u}}if(n.padding){const l=te(n.padding);l.left&&(u.paddingLeft=`${l.left}px`),l.top&&(u.paddingTop=`${l.top}px`),l.right&&(u.paddingRight=`${l.right}px`),l.bottom&&(u.paddingBottom=`${l.bottom}px`)}return u});return{classes:a,styles:o}}}}const{componentName:qr,create:Lr,scope:bi}=K("content"),_r=Lr(kr(qr));function jr(e,t,n,r,a,o){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(e.classes),style:i.normalizeStyle(e.styles)},[i.renderSlot(e.$slots,"default")],6)}const Xt=ve(_r,[["render",jr]]),Ge="GroupStateKey",Jt=Symbol.for("GroupScopeKey");function Ue(){return i.inject(Jt,!1)}function Ze(e=!0){i.provide(Jt,e)}function Pr(e,t={}){const n=e.get("width",-1),r={type:"form",width:n,column:-1,gutter:-1};Object.assign(r,t);const a=i.shallowRef(r),o=i.markRaw({layout:a,passport:0});return e.set(Ge,o),o}function Qt(e,t,n=-1,r=-1,a=!1){const o=e.get(Ge);if(!o)return;const u=e.get("groupLayout")??{};n===-1&&(n=u.column??1),r===-1&&(r=u.gutter??0);const l=u.minItemWidth??-1,c=()=>{const s=t===""||t===-1,d=U(t);let f=F.toNumber(n);const E=U(r);if(!s){let g=(d-(f-1)*E)/f;for(;l!==-1&&f>1&&g<l;)f--,g=(d-(f-1)*E)/f}let k=!1;const m=o.layout;m.value.width=t,m.value.column!==f&&(m.value.column=f,k=!0),m.value.gutter!==E&&(m.value.gutter=E,k=!0),k&&i.triggerRef(m)};if(a)c();else{const s=++o.passport;setTimeout(()=>{s===o.passport&&c()},50)}}function Xe(e,t=!1){let n;return t?n=e.getForParent(Ge):n=e.get(Ge),n.layout}function he(e,t=1){return t==="stretch"?-1:t===-1?100:100*t/e}function Hr(e){return e===window}const Je=e=>{const t=i.unref(e);if(Hr(t)){const n=t.innerWidth,r=t.innerHeight;return{top:0,left:0,right:n,bottom:r,width:n,height:r}}return t&&t.getBoundingClientRect?t.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},qe=(e,t)=>e?t?`fox-group__${e}-${t}`:"":`fox-group__${t}`,Fr=e=>{if(!e.props||e.props.span===null||e.props.span===void 0){const t=e.type,n=(t.props&&t.props.span&&t.props.span.default)??1;return typeof n=="function"?n():n}return e.props.span},zr=e=>{if(!e.props||e.props.offset===null||e.props.offset===void 0){const n=e.type,r=(n.props&&n.props.offset&&n.props.offset.default)??0;return typeof r=="function"?r():r}const t=F.toNumber(e.props.offset);return t<0?0:t};function Wr(e,t){return{props:{...ie,...Wt,...Yt},setup(n,r){const a=gt(n.name,n,Kt),o=Pr(a,{type:n.type}),u=Ue();Ze(!0);const l=i.getCurrentInstance(),c=D=>{const x=l?.proxy;x&&typeof x.setNameValidateRules=="function"&&x.setNameValidateRules(D,!0)};i.watch(()=>n.rules,(D,x)=>{if(!D&&!x)return;const N=i.toRaw(x),R=i.toRaw(D),p=R?Reflect.ownKeys(R):[];(N?Reflect.ownKeys(N):[]).forEach(v=>{p.includes(v)||(R[v]=[])}),c(R)},{deep:!0}),i.onMounted(()=>{if(n.rules){const D=i.toRaw(n.rules);c(D)}});const s=e,d=i.computed(()=>{const D={};if(u&&a){const x=Xe(a,!0);if(x.value.type!=="flex")return{};if(n.width){const p=Q(n.width);D.width=p}else{const p=he(x.value.column,n.span);p>0&&(D.width=`${p}%`)}if(n.height){const p=Q(n.height);D.height=p}const N=he(x.value.column,n.offset);N>0&&(D["margin-left"]=`${N}%`);const R=x.value.gutter/2;R>0&&(D["padding-left"]=`${R}px`,D["padding-right"]=`${R}px`)}else{if(n.width){const x=Q(n.width);D.width=x}if(n.height){const x=Q(n.height);D.height=x}}return D}),f=i.computed(()=>n.type==="flex"?{[`${qe("",n.type)}`]:!0,[`${qe("justify",n.justify)}`]:!0,[`${qe("align",n.align)}`]:!0,[`${qe("flex",n.flexWrap)}`]:!0,[`${s}__gutter`]:!0}:{[`${qe("",n.type)}`]:!0,[`${s}__gutter`]:!0}),E=i.toRef(n,"title"),k=i.toRef(n,"gutter"),m=i.toRef(n,"column"),g=i.computed(()=>u?!0:n.isWrap),y=i.ref([]),S=D=>{y.value.push(D)},C=i.ref(-1);if(Qt(a,C.value,m.value,k.value,!0),n.autoLayout){i.watch([C,m,k],([x,N,R])=>{Qt(a,x,N,R,!1)});let D=null;i.onMounted(()=>{if(Ie&&y.value&&y.value.length>0){const x=y.value[0];C.value=Je(x).width,window.ResizeObserver&&(D=new window.ResizeObserver(()=>{const N=Je(x).width;N>0&&N!==C.value&&(C.value=N)}),D.observe(x))}}),i.onUnmounted(()=>{D?.disconnect()})}const M=(D,x,N,R)=>{const p={...f.value};return x===0&&(p[`${s}__first`]=!0),N>=R-1&&(p[`${s}__last`]=!0),i.h("div",{ref:S,key:`${x}`,class:p},D)};return()=>{const D=[];let x=0;if(r.slots.title){const T={key:`${x++}`,class:{[`${s}__title`]:!0,[`${s}__first`]:!0}},v=i.h("div",T,[r.slots.title()]);D.push(v)}else if(E.value){const T={key:`${x++}`,class:{[`${s}__title`]:!0,[`${s}__first`]:!0}},v=i.h("div",{class:{[`${s}__title-mark`]:!0}}),L=i.h("div",{class:{[`${s}__title-text`]:!0}},[E.value]),H=i.h("div",T,[v,L]);D.push(H)}const N=r.slots.default?r.slots.default():[];let R=[],p=0;if(n.type==="flex"){for(let T=0;T<N.length;T++){const v=N[T],L=Fr(v),H=zr(v);if(L==="stretch"){if(p<o.layout.value.column){R.push(v);const h=M([...R],x++,T,N.length);D.push(h)}else{const h=M([...R],x++,T-1,N.length);D.push(h);const V=M([v],x++,T,N.length);D.push(V)}p=0,R=[];continue}let B=F.toNumber(L);if(B===-1){if(R.length>0){const V=M([...R],x++,T-1,N.length);D.push(V)}const h=M([v],x++,T,N.length);D.push(h),p=0,R=[];continue}B>o.layout.value.column?B=o.layout.value.column:B<=0&&(B=1);const O=p+B+H;if(O>o.layout.value.column){const h=M([...R],x++,T-1,N.length);D.push(h),p=B+H,R=[v]}else R.push(v),p=O}if(R.length>0){const T=M([...R],x++,N.length,N.length);D.push(T)}}else for(let T=0;T<N.length;T++){const v=N[T],L=M([v],x++,T,N.length);D.push(L)}return g.value?i.h("div",{class:{[`${s}`]:!0},style:d.value},[D]):D}}}}const{componentName:Yr,create:Kr,scope:$i}=K("group"),en=Kr(Wr(Yr)),tn={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"&yen;"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:Number,required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:Gr,create:Ur}=K("price"),Zr=Ur({props:{...tn},setup(e){const t=i.computed(()=>({[Gr]:!0})),n=i.computed(()=>e.needSymbol?e.symbol:""),r=i.computed(()=>Mt(e.price)==0?"":Rt(e.price,e.decimalLength,!0,e.digits,e.separator)),a=i.computed(()=>{let u=r.value;if(u.length==0)return"";let l=u.indexOf(".");return u.substring(0,l)}),o=i.computed(()=>{let u=r.value;if(u.length==0)return"";let l=u.indexOf(".");return u.substring(l+1)});return{classes:t,showSymbol:n,intText:a,decimalText:o}}}),Xr=["innerHTML"],Jr=["innerHTML"];function Qr(e,t,n,r,a,o){return i.openBlock(),i.createElementBlock("view",{class:i.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(i.openBlock(),i.createElementBlock("view",{key:0,class:i.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Xr)):i.createCommentVNode("",!0),i.createElementVNode("view",{class:i.normalizeClass(`fox-price--${e.size}`)},i.toDisplayString(e.intText),3),e.decimalText.length!=0?(i.openBlock(),i.createElementBlock("view",{key:1,class:i.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):i.createCommentVNode("",!0),i.createElementVNode("view",{class:i.normalizeClass(`fox-price--decimal-${e.size}`)},i.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(i.openBlock(),i.createElementBlock("view",{key:2,class:i.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Jr)):i.createCommentVNode("",!0)],2)}const Qe=ve(Zr,[["render",Qr]]),{componentName:bt,create:ea}=K("hint-text"),ta=ea({components:{[Qe.name]:Qe},props:{...tn,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=i.computed(()=>({[bt]:!0})),o=i.computed(()=>({left:Q(e.startPoint.x),top:Q(e.startPoint.y-e.height-10-4),height:Q(e.height),width:Q(e.width)})),u=i.computed(()=>({[`${bt}__content`]:!0})),l=i.computed(()=>({})),c=i.computed(()=>({[`${bt}__arrow`]:!0})),s=i.computed(()=>({top:Q(e.height)}));return{classes:a,styles:o,textClasses:u,textStyles:l,arrowClasses:c,arrowStyles:s}}}),na={key:1,class:"text"};function ra(e,t,n,r,a,o){const u=i.resolveComponent("fox-price");return i.openBlock(),i.createBlock(i.Transition,{name:"hint-text-fade"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{class:i.normalizeClass(e.classes),style:i.normalizeStyle(e.styles)},[i.createElementVNode("div",{class:i.normalizeClass(e.textClasses),style:i.normalizeStyle(e.textStyles)},[e.type=="number"?(i.openBlock(),i.createBlock(u,{key:0,price:e.message,position:"before"},null,8,["price"])):(i.openBlock(),i.createElementBlock("span",na,i.toDisplayString(e.message),1))],6),i.createElementVNode("div",{class:i.normalizeClass(e.arrowClasses),style:i.normalizeStyle(e.arrowStyles)},null,6)],6),[[i.vShow,e.visible]])]),_:1})}const et=ve(ta,[["render",ra]]);class nn{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 aa(e){return e===window}const rn=e=>{const t=i.unref(e);if(!t)return{x:0,y:0};if(aa(t))return{x:0,y:0};let n=0,r=0,a=t;for(;a!==null;)r+=a.scrollTop,n+=a.scrollLeft,a=a.parentElement;const o=t.getBoundingClientRect(),u=o.x+n,l=o.y+r;return{x:u,y:l}},$t={},ia=new nn,Te=new Map,wt=e=>{if(e){const t=document.getElementById(e);Te.delete(e),t&&document.body.removeChild(t)}else{for(const t of Te.keys()){const n=document.getElementById(t);n&&document.body.removeChild(n)}Te.clear()}},oa=e=>{const t=document.getElementById(e.id);if(t){const n=Te.get(e.id);n?e={...$t,...n,...e}:e={...$t,...e};const r=i.createVNode(et,e);return i.render(r,t),e.id}},sa=e=>{e.unmount=wt;let t;if(e.id){if(t=e.id,Te.has(t))return oa(e)}else t=`hinttext_${ia.get()}`;e={...$t,...e},e.id=t,Te.set(t,e);const n=document.createElement("div");n.id=e.id;const r=i.createVNode(et,e);return i.render(r,n),document.body.appendChild(n),t},la=e=>{if(!e){console.warn("[FoxUI HintText]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},tt={show(e,t,n={},r=!0){r&&wt(),la(t);const a=rn(e),o={x:a.x,y:a.y},l=Je(e).width;return sa({...n,message:t,startPoint:o,width:l})},hide(e){wt(e)},install(e){e.config.globalProperties.$hintText=tt}},{componentName:an,create:ua}=K("item"),ca=ua({inheritAttrs:!0,props:{...ie,...Se},setup(e,t){fe({componentName:an,validate:!1},e.prop??e.name);const n=ce(),r=Ue();Ze(!1);const a=an,o=i.computed(()=>({[a]:!0,[`${a}__gutter`]:!0,[`${a}__stretch`]:e.span==="stretch",[`${a}__input--border`]:e.hasBorder,"is-error":!!p.value,"is-warn":!!N.value,"is-info":!!D.value})),u=i.computed(()=>{if(r&&n){const A=Xe(n,!1);if(A.value.type!=="flex")return{};const I={},q=he(A.value.column,e.span);q>0&&(I.width=`${q}%`);const _=he(A.value.column,e.offset);_>0&&(I["margin-left"]=`${_}%`);const j=A.value.gutter/2;return j>0&&(I["padding-left"]=`${j}px`,I["padding-right"]=`${j}px`),I}return{}}),l=i.ref(null),c=i.computed({get:()=>l.value??F.toBoolean(e.isRequired),set:A=>{l.value=A}}),s=i.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),d=ke(i.toRef(e,"labelPosition"),"labelPosition",We.Near),f=i.computed(()=>d&&d.value==="top"?"top":d&&d.value==="right"?"right":"left"),E=i.computed(()=>({[`${a}__main`]:!0,[`${a}__main--${f.value}`]:!0})),k=i.computed(()=>({label:!0,[`label-${f.value}`]:!0})),m=ke(i.toRef(e,"labelWidth"),"labelWidth",We.Near),g=i.computed(()=>m&&m.value?{width:`${Q(m.value)}`}:{}),y=i.computed(()=>({["label--string"]:!0,["label--required"]:c.value})),S=i.computed(()=>({content:!0,[e.contentClass]:!0})),C=i.computed(()=>({...e.contentStyle})),M=i.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});oe({setRequired(A){c.value=A},setErrorTip(A){M.errorTip=A},setErrorIcon(A){M.errorIcon=A},setWarnTip(A){M.warnTip=A},setWarnIcon(A){M.warnIcon=A},setInfoTip(A){M.infoTip=A},setInfoIcon(A){M.infoIcon=A}});const D=i.computed(()=>e.infoTip||M.infoTip),x=i.computed(()=>e.infoIcon||M.infoIcon),N=i.computed(()=>e.warnTip||M.warnTip),R=i.computed(()=>e.warnIcon||M.warnIcon),p=i.computed(()=>e.errorTip||M.errorTip),T=i.computed(()=>e.errorIcon||M.errorIcon),v=i.computed(()=>p.value?"error":N.value?"warn":D.value?"info":""),L=i.computed(()=>v.value.length>0),H=i.computed(()=>v.value==="error"?p.value:v.value==="warn"?N.value:v.value==="info"?D.value:""),B=i.computed(()=>v.value==="error"?T.value:v.value==="warn"?R.value:v.value==="info"?x.value:null),O=i.computed(()=>{let A={[`${a}__tip`]:!0,[`${a}__tip--${v.value}`]:!0};return v.value==="error"&&e.errorClass?A[`${e.errorClass}`]=!0:v.value==="warn"&&e.warnClass?A[`${e.warnClass}`]=!0:v.value==="info"&&e.infoClass&&(A[`${e.infoClass}`]=!0),A}),h=i.computed(()=>{let A={};return d&&d.value==="top"?A["padding-left"]="0px":m&&m.value&&(A["padding-left"]=Q(m.value)),A}),V=i.ref();let w="";return i.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([A,I,q,_])=>{!V.value||(A?w?tt.show(V.value,I,{..._,id:w,type:q}):w=tt.show(V.value,I,{..._,type:q}):tt.hide(w))}),{classes:o,styles:u,mainClasses:E,hasLabel:s,labelClasses:k,labelStyles:g,labelStringClasses:y,contentClasses:S,contentStyles:C,contentRef:V,hasTip:L,mTip:H,mIcon:B,tipClasses:O,tipStyles:h}}}),fa={key:0,class:"fox-item__tip-icon"},da={class:"fox-item__tip-text"};function ha(e,t,n,r,a,o){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(e.classes),style:i.normalizeStyle(e.styles)},[i.createElementVNode("div",{class:i.normalizeClass(e.mainClasses)},[e.hasLabel?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(e.labelClasses),style:i.normalizeStyle(e.labelStyles)},[i.createElementVNode("div",{class:i.normalizeClass(e.labelStringClasses)},[i.renderSlot(e.$slots,"label",{},()=>[i.createTextVNode(i.toDisplayString(e.label),1)])],2)],6)):i.createCommentVNode("",!0),i.createElementVNode("div",{ref:"contentRef",class:i.normalizeClass(e.contentClasses),style:i.normalizeStyle(e.contentStyles)},[i.renderSlot(e.$slots,"prepend"),i.renderSlot(e.$slots,"default"),i.renderSlot(e.$slots,"append")],6)],2),i.createVNode(i.Transition,{name:"fox-item__animate"},{default:i.withCtx(()=>[e.hasTip?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(e.tipClasses),style:i.normalizeStyle(e.tipStyles)},[e.mIcon?(i.openBlock(),i.createElementBlock("div",fa,i.toDisplayString(e.mIcon),1)):i.createCommentVNode("",!0),i.createElementVNode("div",da,i.toDisplayString(e.mTip),1)],6)):i.createCommentVNode("",!0)]),_:1}),i.renderSlot(e.$slots,"hide")],6)}const ge=ve(ca,[["render",ha]]),{componentName:ga,create:pa}=K("slot-item"),on=pa({props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0}},setup(e,t){const n=ga,r=i.computed(()=>({[n]:!0,[`${n}__stretch`]:e.span==="stretch"})),a=ce(),o=Ue();Ze(!1);const u=i.computed(()=>{if(o&&a){const l=Xe(a,!1);if(l.value.type!=="flex")return{};const c={},s=he(l.value.column,e.span);s>0&&(c.width=`${s}%`);const d=he(l.value.column,e.offset);d>0&&(c["margin-left"]=`${d}%`);const f=l.value.gutter/2;return f>0&&(c["padding-left"]=`${f}px`,c["padding-right"]=`${f}px`),c}return{}});return()=>{const l={class:r.value,style:u.value};return t.slots&&typeof t.slots.default=="function"?i.h("div",l,t.slots.default()):i.h("div",l)}}}),{componentName:ma,create:ya}=K("row-item"),sn=ya({props:{span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},align:{type:[String],required:!1,default:"center"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]}},setup(e,t){const n=ma,r=i.computed(()=>({[n]:!0,[`${n}__stretch`]:e.span==="stretch",[`${n}__${e.align}`]:!0})),a=ce(),o=Ue();Ze(!1);const u=i.computed(()=>{if(o&&a){const c=Xe(a,!1);if(c.value.type!=="flex")return{};const s={},d=he(c.value.column,e.span);d>0&&(s.width=`${d}%`);const f=he(c.value.column,e.offset);f>0&&(s["margin-left"]=`${f}%`);const E=c.value.gutter/2;return E>0&&(s["padding-left"]=`${E}px`,s["padding-right"]=`${E}px`),s}return{}}),l=i.computed(()=>({[`${n}__content`]:!0}));return()=>{const c=[];t.slots.default&&c.push(t.slots.default());const s={class:l.value},d=i.h("div",s,c),f={class:r.value,style:u.value};return i.h("div",f,[d])}}}),ln={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function ba(e,t,n){return{props:{...ie,...Se,...ln},emits:["change","update:modelValue","blur","focus","clear","input"],setup(r,a){const{emitEvent:o}=fe({componentName:e},r.prop??r.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),l=u(r,["placeholder"]),c=i.ref(!1),s=xe(i.computed(()=>r.disabled)),d=Ce(i.computed(()=>r.readonly)),f=ne(r,"modelValue"),E=e,k=i.computed(()=>({[E]:!0})),m=N=>{f.value=N,o("update:modelValue",N),o("input",N)},g=N=>{o("change",N)};let y=ne(r,"hintText"),S=i.ref(!1);const C=N=>{let p=N.target.value;c.value=!0,le(y.value)||(S.value=!0),o("focus",p,N)},M=N=>{setTimeout(()=>{S.value&&(S.value=!1),c.value=!1},0);let p=N.target.value;r.maxLength&&p.length>Number(r.maxLength)&&(p=p.slice(0,Number(r.maxLength))),o("blur",p,N)},D=()=>{o("clear","")},x=i.ref();return oe({focus:()=>{x?.value.focus()},blur:()=>{x?.value.blur()},select:()=>{x?.value.select()}}),()=>{const R={...a.attrs,ref:x,class:k.value,placeholder:l.placeholder.value,clearable:r.clearable,disabled:s.value,readonly:d.value,modelValue:f.value,onClear:D,onChange:g,onInput:m,onFocus:C,onBlur:M},p={};a.slots.prepend&&(p.prepend=a.slots.prepend),a.slots.append&&(p.append=a.slots.append),a.slots.prefix&&(p.prefix=a.slots.prefix),a.slots.suffix&&(p.suffix=a.slots.suffix);const T=[],v=i.h($.ElInput,R,p);T.push(v);const L={default:()=>T};if(a.slots.default){const h=a.slots.default();L.label=()=>h}const B={...we(r,ln),hintText:y.value,hintVisible:S.value,prop:`${r.prop}_item`};return i.h(n,B,L)}}}}const{componentName:$a,create:wa,scope:Sa}=K("input-item"),un=wa(ba($a,Sa,ge));function Ee(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ae(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function cn(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class va{proxy;constructor(t){this.proxy=t}async load(t,n,r){if(Array.isArray(n))return n;if(typeof n=="function")return await n(r);const a=Ke(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(F.isObject(r)&&i.isReactive(r)&&(r=i.toRaw(r)),await a(n,r))}}function Ea(){const e=i.getCurrentInstance();return new va(e.proxy)}function fn(e,t,n){const r=Ee(e,t),a=Ee(e,n);if(r!==a)return!1;const o=Ae(e,t),u=Ae(e,n);return o===u}function dn(e,t,n,r){if(r.length==0)return[];if(t===""||t===null||t===void 0)return[];Array.isArray(t)||(t=[t]);const a=[];return t.forEach(o=>{for(let u of r){const l=cn(e,u);if(Array.isArray(l)&&l.length>0){const c=dn(e,o,n,l);Reflect.apply([].push,a,c)}else{let c=!1;if(n==="text")c=Ee(e,u)===o;else if(n==="item")c=fn(e,u,o);else{let s=Ae(e,u);s==null&&(s=Ee(e,u)),c=s===o}if(c){a.push(u);break}}}}),a}function Aa(e){return{text:e,value:e}}const hn={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},remoteMethod:{type:[Function],required:!1},allowCreate:{type:Boolean,default:!1},unit:{type:[String],required:!1}};function Na(e,t,n){return{props:{...ie,...Se,...hn},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(r,a){const{emitEvent:o}=fe({componentName:e},r.prop??r.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),l=u(r,["placeholder"]),c=i.ref(),s=i.ref([]),d=(h,V,w,A=!0)=>{const I=dn(r,h,V,w);let q=!0;if(I.length!==s.value.length)q=!1;else for(let _=0;_<I.length;_++){const j=I[_],z=s.value[_];if(!fn(r,j,z)){q=!1;break}}if(!q){s.value=I;let _=[],j=[];I.forEach(W=>(_.push(Ae(r,W)),r.valueType==="text"?j.push(Ee(r,W)):r.valueType==="item"?j.push(W):j.push(Ae(r,W)),Ae(r,W)));let z;r.multiple?(c.value=_,z=i.toRaw(j)):(c.value=_[0]??"",z=i.toRaw(j[0]??"")),A&&(o("update:modelValue",z),o("change",z))}},f=i.ref([]),E=Ea();i.watchEffect(async()=>{if(r.source){let h=await E.load("select",r.source,r.params);if(h.length>0)if(typeof h[0]=="string"){let A=h.map(I=>Aa(I));f.value=A}else f.value=h}}),i.watch([()=>f.value,()=>r.modelValue],([h,V])=>{d(V,r.valueType,h,!1)});let k=null,m=i.ref(!1);typeof r.remoteMethod=="function"&&(k=async h=>{if(h!=null){m.value=!0;try{const V=await r.remoteMethod(h);f.value=V}catch(V){console.error(V)}m.value=!1}});const g=i.ref(!1),y=xe(i.computed(()=>r.disabled)),S=Ce(i.computed(()=>r.readonly)),C=e,M=i.computed(()=>({[C]:!0})),D=h=>{r.allowCreate?(o("update:modelValue",h),o("change",h),c.value=h):d(h,"value",f.value,!0)};let x=ne(r,"hintText"),N=i.ref(!1);const R=h=>{let w=h.target.value;g.value=!0,le(x.value)||(N.value=!0),o("focus",w,h)},p=h=>{setTimeout(()=>{N.value&&(N.value=!1),g.value=!1},0);let w=h.target.value;r.maxLength&&w.length>Number(r.maxLength)&&(w=w.slice(0,Number(r.maxLength))),v.value?setTimeout(()=>{o("blur",w,h)},50):o("blur",w,h)},T=()=>{o("clear","")},v=i.ref(!1),L=h=>{v.value=h,o("visible-change",h)},H=h=>{o("remove-tag",h)},B=(h,V)=>{const w=[];return h.forEach((A,I)=>{const q=cn(r,A);if(Array.isArray(q)&&q.length>0){const _=B(q,V),j=Ee(r,A),W={key:`${j}_${I}`,label:j};w.push(i.h($.ElOptionGroup,W,{default:()=>_}))}else{const _=Ae(r,A),j=Ee(r,A),z=F.toBoolean(A.disabled),J={key:`${_}_${I}`,label:j,disabled:z,value:_};typeof V=="function"||w.push(i.h($.ElOption,J))}}),w},O=i.ref();return oe({focus:()=>{O?.value.focus()},blur:()=>{O?.value.blur()}}),()=>{const V={...a.attrs,ref:O,class:M.value,clearable:r.clearable,multiple:r.multiple,placeholder:l.placeholder.value,disabled:y.value||S.value,modelValue:c.value,["value-key"]:r.valueKey,["allow-create"]:r.allowCreate,onClear:T,onChange:D,onFocus:R,onBlur:p,onVisibleChange:L,onRemoveTag:H};typeof k=="function"&&(V["remote-method"]=k,V.loading=m.value);const w={};a.slots.prefix&&(w.prefix=a.slots.prefix),a.slots.empty&&(w.empty=a.slots.empty),w.default=()=>B(f.value,a.slots.option);const A=[],I=i.h($.ElSelect,V,w);A.push(I);const q={default:()=>A};if(a.slots.default){const W=a.slots.default();q.label=()=>W}const j={...we(r,hn),hintText:x.value,hintVisible:N.value,prop:`${r.prop}_item`};return i.h(n,j,q)}}}}const{componentName:Oa,create:Ca,scope:xa}=K("select-item"),gn=Ca(Na(Oa,xa,ge)),pn={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function Ta(e,t,n){return{props:{...ie,...Se,...pn},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(r,a){const{emitEvent:o}=fe({componentName:e},r.prop??r.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),l=u(r,["placeholder"]),c=i.ref(!1),s=xe(i.computed(()=>r.disabled)),d=Ce(i.computed(()=>r.readonly)),f=ne(r,"modelValue"),E=e,k=i.computed(()=>({[E]:!0})),m=p=>{f.value=p,o("update:modelValue",p),o("change",p)};let g=ne(r,"hintText"),y=i.ref(!1);const S=p=>{let v=p.target.value;c.value=!0,le(g.value)||(y.value=!0),o("focus",v,p)},C=p=>{setTimeout(()=>{y.value&&(y.value=!1),c.value=!1},0);let v=p.target.value;r.maxLength&&v.length>Number(r.maxLength)&&(v=v.slice(0,Number(r.maxLength))),o("blur",v,p)},M=()=>{o("clear","")},D=p=>{o("calendar-change",p)},x=(p,T,v)=>{o("panel-change",p,T,v)},N=p=>{o("visible-change",p)},R=i.ref();return oe({focus:()=>{R?.value.focus()},blur:()=>{R?.value.blur()},handleOpen:()=>{R?.value.handleOpen()},handleClose:()=>{R?.value.handleClose()}}),()=>{const T={...a.attrs,ref:R,class:k.value,placeholder:l.placeholder.value,disabled:s.value,readonly:d.value,modelValue:f.value,["onUpdate:modelValue"]:m,onClear:M,onFocus:S,onBlur:C,onCalendarChange:D,onPanelChange:x,onVisibleChange:N},v={};a.slots["range-separator"]&&(v["range-separator"]=a.slots["range-separator"]),a.slots.cell&&(v.default=a.slots.cell);const L=[],H=i.h($.ElDatePicker,T,v);L.push(H);const B={default:()=>L};if(a.slots.default){const w=a.slots.default();B.label=()=>w}const h={...we(r,pn),hintText:g.value,hintVisible:y.value,prop:`${r.prop}_item`};return i.h(n,h,B)}}}}const{componentName:Ra,create:Va,scope:Ia}=K("date-item"),mn=Va(Ta(Ra,Ia,ge)),yn={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function Ma(e,t,n){return{props:{...ie,...Se,...yn},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(r,a){const{emitEvent:o}=fe({componentName:e},r.prop??r.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),l=u(r,["placeholder"]),c=i.ref(!1),s=xe(i.computed(()=>r.disabled)),d=Ce(i.computed(()=>r.readonly)),f=ne(r,"modelValue"),E=e,k=i.computed(()=>({[E]:!0})),m=N=>{f.value=N,o("update:modelValue",N),o("change",N)};let g=ne(r,"hintText"),y=i.ref(!1);const S=N=>{let p=N.target.value;c.value=!0,le(g.value)||(y.value=!0),o("focus",p,N)},C=N=>{setTimeout(()=>{y.value&&(y.value=!1),c.value=!1},0);let p=N.target.value;r.maxLength&&p.length>Number(r.maxLength)&&(p=p.slice(0,Number(r.maxLength))),o("blur",p,N)},M=()=>{o("clear","")},D=N=>{o("visible-change",N)},x=i.ref();return oe({focus:()=>{x?.value.focus()},blur:()=>{x?.value.blur()},handleOpen:()=>{x?.value.handleOpen()},handleClose:()=>{x?.value.handleClose()}}),()=>{const R={...a.attrs,ref:x,class:k.value,placeholder:l.placeholder.value,disabled:s.value,readonly:d.value,modelValue:f.value,["onUpdate:modelValue"]:m,onClear:M,onFocus:S,onBlur:C,onVisibleChange:D},p={},T=[],v=i.h($.ElTimePicker,R,p);T.push(v);const L={default:()=>T};if(a.slots.default){const h=a.slots.default();L.label=()=>h}const B={...we(r,yn),hintText:g.value,hintVisible:y.value,prop:`${r.prop}_item`};return i.h(n,B,L)}}}}const{componentName:Da,create:Ba,scope:ka}=K("time-item"),bn=Ba(Ma(Da,ka,ge)),$n={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function qa(e,t,n){return{props:{...ie,...Se,...$n},emits:["change","update:modelValue","blur","focus","clear"],setup(r,a){const{emitEvent:o}=fe({componentName:e},r.prop??r.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),l=u(r,["placeholder"]),c=i.ref(!1),s=xe(i.computed(()=>r.disabled)),d=Ce(i.computed(()=>r.readonly)),f=ne(r,"modelValue"),E=e,k=i.computed(()=>({[E]:!0})),m=x=>{f.value=x,o("update:modelValue",x),o("change",x)};let g=ne(r,"hintText"),y=i.ref(!1);const S=x=>{let R=x.target.value;c.value=!0,le(g.value)||(y.value=!0),o("focus",R,x)},C=x=>{setTimeout(()=>{y.value&&(y.value=!1),c.value=!1},0);let R=x.target.value;r.maxLength&&R.length>Number(r.maxLength)&&(R=R.slice(0,Number(r.maxLength))),o("blur",R,x)},M=()=>{o("clear","")},D=i.ref();return oe({focus:()=>{D?.value.focus()},blur:()=>{D?.value.blur()},handleOpen:()=>{D?.value.handleOpen()},handleClose:()=>{D?.value.handleClose()}}),()=>{const N={...a.attrs,ref:D,class:k.value,placeholder:l.placeholder.value,disabled:s.value,readonly:d.value,modelValue:f.value,["onUpdate:modelValue"]:m,onClear:M,onFocus:S,onBlur:C},R={},p=[],T=i.h($.ElTimeSelect,N,R);p.push(T);const v={default:()=>p};if(a.slots.default){const O=a.slots.default();v.label=()=>O}const H={...we(r,$n),hintText:g.value,hintVisible:y.value,prop:`${r.prop}_item`};return i.h(n,H,v)}}}}const{componentName:La,create:_a,scope:ja}=K("time-select-item"),wn=_a(qa(La,ja,ge));function Pa(e,t,n,r,a){let o=[];Array.isArray(e)?o=e:o=[e];const u=[],l=t[0];if(Array.isArray(l))for(let c=0;c<t.length&&c<o.length;c++){let s=t[c],d=o[c];const f=s.find(E=>E[r]===d);if(!f)break;u.push(f[n])}else{let c=t;for(let s=0;c&&s<o.length;s++){let d=o[s],f=c.find(E=>E[r]===d);if(!f)break;u.push(f[n]),c=f[a]}}return u}class Ha{proxy;constructor(t){this.proxy=t}async load(t,n,r){if(Array.isArray(n))return n;if(typeof n=="function")return await n(r);const a=Ke(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(F.isObject(r)&&i.isReactive(r)&&(r=i.toRaw(r)),await a(n,r))}}function Fa(){const e=i.getCurrentInstance();return new Ha(e.proxy)}const Sn={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 za(e,t){return{props:{...Sn},setup(n,{attrs:r}){const a=Fa(),o=i.ref([]);i.watch([()=>n.source,()=>n.params],async([c,s])=>{o.value=await a.load(n.sourceType,c,s)},{immediate:!0});const u=i.computed(()=>{if(!Array.isArray(o.value)||o.value.length===0)return"";let c=Pa(n.modelValue,o.value,n.textKey,n.valueKey,n.childrenKey);return c.length==0?"":c.length===1?c[0]:c.join(n.separator)}),l=n.resolveTag?i.resolveComponent(n.tag):n.tag;return()=>{const c={...r};return n.resolveTag?i.h(l,c,{default:()=>u.value}):i.h(l,c,u.value)}}}}const{componentName:wi,create:Wa,scope:Si}=K("mapping"),St=Wa(za());function Ya(e,t){return{props:{...Sn},setup(n,{attrs:r}){return()=>{const a={default:o=>{const u=o.row[o.column.property];return i.h(St,{...n,modelValue:u})}};return i.h($.ElTableColumn,{...r},a)}}}}const{componentName:vi,create:Ka,scope:Ei}=K("table-mapping-column"),vn=Ka(Ya());class Ga{proxy;constructor(t){this.proxy=t}async load(t,n,r,a,o,u,l){if(Array.isArray(n)){let s=(r-1)*a,d=s+a;d>n.length&&(d=n.length);const f=n.slice(s,d);return{totalSize:n.length,page:f}}if(typeof n=="function")return await Reflect.apply(n,null,[r,a,o,u,l]);const c=Ke(this.proxy,t);return c===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(F.isObject(o)&&i.isReactive(o)&&(o=i.toRaw(o)),await await Reflect.apply(c,null,[n,r,a,o,u,l]))}}function Ua(){const e=i.getCurrentInstance();return new Ga(e.proxy)}const En={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},baseParams:{type:[Object]},params:{type:[Object]}},An={pageIndex:{type:[Number],required:!1,default:1},pageSize:{type:[Number],required:!1,default:10},pageSizes:{type:[Array],required:!1},paginationLayout:{type:[String],required:!1,default:"total, sizes, prev, pager, next, jumper"},paginationAlign:{type:[String],required:!1,default:"right"},paginationVisible:{type:[Boolean],required:!1,default:!0},hideOnSinglePage:{type:[Boolean],required:!1,default:!0}};function Za(e,t,n){return{inheritAttrs:!1,props:{...ie,...Se,...En,...An},emits:["change","page-size-change","page-index-change"],setup(r,a){const{locale:o}=Oe.useFoxI18n(t),{emitEvent:u}=fe({componentName:e},r.prop??r.name),l=e,c=i.computed(()=>({[l]:!0})),s=i.computed(()=>({[`${l}__pagination`]:!0,[`${l}__pagination__${r.paginationAlign}`]:!0})),d=i.ref(r.pageIndex);i.watch(()=>r.pageIndex,p=>{d.value=p});const f=p=>{d.value=p,u("page-index-change",p)},E=i.ref(r.pageSize);i.watch(()=>r.pageSize,p=>{E.value=p});const k=p=>{E.value=p,u("page-size-change",p)},m=i.shallowRef({}),g=i.computed(()=>({...m.value,...r.params??{},...r.baseParams??{}})),y=i.ref(0),S=i.ref(),C=Ua();let M=!0;const D=()=>Array.isArray(r.data)||typeof r.data=="function"?!0:F.toBoolean(r.autoLoad),x=async(p,T,v,L)=>{try{const H=await C.load("table",p,T,v,L,M,o.value);y.value=H.totalSize,S.value=H.page}catch(H){console.error("[FoxUI] Load Table Data Fail",H),y.value=0,S.value=[]}M=!1};i.watch([d,E],([p,T],[v,L])=>{T!==L&&(d.value=1,p=1),x(r.data,p,T,g.value)}),i.watch([()=>r.data,g],([p,T],[v,L])=>{!D()||(p!==v&&(M=!0),x(p,d.value,E.value,T))});const N=(p={})=>{m.value=i.toRaw(p??{}),i.triggerRef(m),i.nextTick(()=>{x(r.data,d.value,E.value,g.value)})};D()&&N();const R=i.ref();return oe({clearSelection:()=>R?.value.clearSelection(),getSelectionRows:()=>R?.value.getSelectionRows(),toggleRowSelection:(p,T)=>{R?.value.toggleRowSelection(p,T)},toggleAllSelection:()=>{R?.value.toggleAllSelection()},toggleRowExpansion:(p,T)=>{R?.value.toggleRowExpansion(p,T)},setCurrentRow:p=>{R?.value.setCurrentRow(p)},clearSort:()=>{R?.value.clearSort()},clearFilter:p=>{R?.value.clearFilter(p)},doLayout:()=>{R?.value.doLayout()},sort:(p,T)=>{R?.value.sort(p,T)},scrollTo:(p,T)=>{R?.value.scrollTo(p,T)},setScrollTop:p=>{R?.value.setScrollTop(p)},setScrollLeft:p=>{R?.value.setScrollLeft(p)},loadData:N}),()=>{const T={...a.attrs,data:S.value,ref:R,class:c.value},v={};a.slots.default&&(v.default=a.slots.default),a.slots.append&&(v.append=a.slots.append),a.slots.empty&&(v.empty=a.slots.empty);const L=[],H=i.h($.ElTable,T,v);if(L.push(H),typeof a.slots.pagination=="function"){const w=a.slots.pagination();L.push(w)}else if(r.paginationVisible){const w={class:s.value,total:y.value,pageSize:E.value,["onUpdate:pageSize"]:k,pageSizes:r.pageSizes,currentPage:d.value,["onUpdate:currentPage"]:f,hideOnSinglePage:r.hideOnSinglePage,layout:r.paginationLayout,small:!0},A=i.h($.ElPagination,w);L.push(A)}const B={default:()=>L},h={...we(r,En,An),prop:`${r.prop}_item`};return h.contentClass=`${l}__wrap`,i.h(n,h,B)}}}}const{componentName:Xa,create:Ja,scope:Qa}=K("table-item"),Nn=Ja(Za(Xa,Qa,ge)),ei=Symbol.for("InnerPageScopeKey"),ti=Symbol.for("DialogItemStateKey");function ni(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(n,r){i.provide(ei,!0);const a={};i.provide(ti,a);const o=c=>{typeof a.beforeClose=="function"&&a.beforeClose(c)},u=i.ref(!0),l=c=>{u.value=c};return()=>{const s={...r.attrs,title:n.title,draggable:n.draggable,modelValue:u.value,"onUpdate:modelValue":l,"append-to-body":n.appendToBody,"close-on-click-modal":n.closeOnClickModal,"close-on-press-escape":n.closeOnPressEscape,"before-close":o},d={};if(typeof r.slots.default=="function"){const f=r.slots.default();d.default=()=>f}return i.h($.ElDialog,s,d)}}}}const{componentName:Ai,create:ri,scope:Ni}=K("dialog-item"),On=ri(ni());var se=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Cn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(se,function(){var n=1e3,r=6e4,a=36e5,o="millisecond",u="second",l="minute",c="hour",s="day",d="week",f="month",E="quarter",k="year",m="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={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("_")},M=function(B,O,h){var V=String(B);return!V||V.length>=O?B:""+Array(O+1-V.length).join(h)+B},D={s:M,z:function(B){var O=-B.utcOffset(),h=Math.abs(O),V=Math.floor(h/60),w=h%60;return(O<=0?"+":"-")+M(V,2,"0")+":"+M(w,2,"0")},m:function B(O,h){if(O.date()<h.date())return-B(h,O);var V=12*(h.year()-O.year())+(h.month()-O.month()),w=O.clone().add(V,f),A=h-w<0,I=O.clone().add(V+(A?-1:1),f);return+(-(V+(h-w)/(A?w-I:I-w))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:f,y:k,w:d,d:s,D:m,h:c,m:l,s:u,ms:o,Q:E}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},x="en",N={};N[x]=C;var R=function(B){return B instanceof L},p=function B(O,h,V){var w;if(!O)return x;if(typeof O=="string"){var A=O.toLowerCase();N[A]&&(w=A),h&&(N[A]=h,w=A);var I=O.split("-");if(!w&&I.length>1)return B(I[0])}else{var q=O.name;N[q]=O,w=q}return!V&&w&&(x=w),w||!V&&x},T=function(B,O){if(R(B))return B.clone();var h=typeof O=="object"?O:{};return h.date=B,h.args=arguments,new L(h)},v=D;v.l=p,v.i=R,v.w=function(B,O){return T(B,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var L=function(){function B(h){this.$L=p(h.locale,null,!0),this.parse(h)}var O=B.prototype;return O.parse=function(h){this.$d=function(V){var w=V.date,A=V.utc;if(w===null)return new Date(NaN);if(v.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var I=w.match(y);if(I){var q=I[2]-1||0,_=(I[7]||"0").substring(0,3);return A?new Date(Date.UTC(I[1],q,I[3]||1,I[4]||0,I[5]||0,I[6]||0,_)):new Date(I[1],q,I[3]||1,I[4]||0,I[5]||0,I[6]||0,_)}}return new Date(w)}(h),this.$x=h.x||{},this.init()},O.init=function(){var h=this.$d;this.$y=h.getFullYear(),this.$M=h.getMonth(),this.$D=h.getDate(),this.$W=h.getDay(),this.$H=h.getHours(),this.$m=h.getMinutes(),this.$s=h.getSeconds(),this.$ms=h.getMilliseconds()},O.$utils=function(){return v},O.isValid=function(){return this.$d.toString()!==g},O.isSame=function(h,V){var w=T(h);return this.startOf(V)<=w&&w<=this.endOf(V)},O.isAfter=function(h,V){return T(h)<this.startOf(V)},O.isBefore=function(h,V){return this.endOf(V)<T(h)},O.$g=function(h,V,w){return v.u(h)?this[V]:this.set(w,h)},O.unix=function(){return Math.floor(this.valueOf()/1e3)},O.valueOf=function(){return this.$d.getTime()},O.startOf=function(h,V){var w=this,A=!!v.u(V)||V,I=v.p(h),q=function(re,Z){var ee=v.w(w.$u?Date.UTC(w.$y,Z,re):new Date(w.$y,Z,re),w);return A?ee:ee.endOf(s)},_=function(re,Z){return v.w(w.toDate()[re].apply(w.toDate("s"),(A?[0,0,0,0]:[23,59,59,999]).slice(Z)),w)},j=this.$W,z=this.$M,W=this.$D,J="set"+(this.$u?"UTC":"");switch(I){case k:return A?q(1,0):q(31,11);case f:return A?q(1,z):q(0,z+1);case d:var Ne=this.$locale().weekStart||0,me=(j<Ne?j+7:j)-Ne;return q(A?W-me:W+(6-me),z);case s:case m:return _(J+"Hours",0);case c:return _(J+"Minutes",1);case l:return _(J+"Seconds",2);case u:return _(J+"Milliseconds",3);default:return this.clone()}},O.endOf=function(h){return this.startOf(h,!1)},O.$set=function(h,V){var w,A=v.p(h),I="set"+(this.$u?"UTC":""),q=(w={},w[s]=I+"Date",w[m]=I+"Date",w[f]=I+"Month",w[k]=I+"FullYear",w[c]=I+"Hours",w[l]=I+"Minutes",w[u]=I+"Seconds",w[o]=I+"Milliseconds",w)[A],_=A===s?this.$D+(V-this.$W):V;if(A===f||A===k){var j=this.clone().set(m,1);j.$d[q](_),j.init(),this.$d=j.set(m,Math.min(this.$D,j.daysInMonth())).$d}else q&&this.$d[q](_);return this.init(),this},O.set=function(h,V){return this.clone().$set(h,V)},O.get=function(h){return this[v.p(h)]()},O.add=function(h,V){var w,A=this;h=Number(h);var I=v.p(V),q=function(z){var W=T(A);return v.w(W.date(W.date()+Math.round(z*h)),A)};if(I===f)return this.set(f,this.$M+h);if(I===k)return this.set(k,this.$y+h);if(I===s)return q(1);if(I===d)return q(7);var _=(w={},w[l]=r,w[c]=a,w[u]=n,w)[I]||1,j=this.$d.getTime()+h*_;return v.w(j,this)},O.subtract=function(h,V){return this.add(-1*h,V)},O.format=function(h){var V=this,w=this.$locale();if(!this.isValid())return w.invalidDate||g;var A=h||"YYYY-MM-DDTHH:mm:ssZ",I=v.z(this),q=this.$H,_=this.$m,j=this.$M,z=w.weekdays,W=w.months,J=function(Z,ee,ye,be){return Z&&(Z[ee]||Z(V,A))||ye[ee].slice(0,be)},Ne=function(Z){return v.s(q%12||12,Z,"0")},me=w.meridiem||function(Z,ee,ye){var be=Z<12?"AM":"PM";return ye?be.toLowerCase():be},re={YY:String(this.$y).slice(-2),YYYY:this.$y,M:j+1,MM:v.s(j+1,2,"0"),MMM:J(w.monthsShort,j,W,3),MMMM:J(W,j),D:this.$D,DD:v.s(this.$D,2,"0"),d:String(this.$W),dd:J(w.weekdaysMin,this.$W,z,2),ddd:J(w.weekdaysShort,this.$W,z,3),dddd:z[this.$W],H:String(q),HH:v.s(q,2,"0"),h:Ne(1),hh:Ne(2),a:me(q,_,!0),A:me(q,_,!1),m:String(_),mm:v.s(_,2,"0"),s:String(this.$s),ss:v.s(this.$s,2,"0"),SSS:v.s(this.$ms,3,"0"),Z:I};return A.replace(S,function(Z,ee){return ee||re[Z]||I.replace(":","")})},O.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},O.diff=function(h,V,w){var A,I=v.p(V),q=T(h),_=(q.utcOffset()-this.utcOffset())*r,j=this-q,z=v.m(this,q);return z=(A={},A[k]=z/12,A[f]=z,A[E]=z/3,A[d]=(j-_)/6048e5,A[s]=(j-_)/864e5,A[c]=j/a,A[l]=j/r,A[u]=j/n,A)[I]||j,w?z:v.a(z)},O.daysInMonth=function(){return this.endOf(f).$D},O.$locale=function(){return N[this.$L]},O.locale=function(h,V){if(!h)return this.$L;var w=this.clone(),A=p(h,V,!0);return A&&(w.$L=A),w},O.clone=function(){return v.w(this.$d,this)},O.toDate=function(){return new Date(this.valueOf())},O.toJSON=function(){return this.isValid()?this.toISOString():null},O.toISOString=function(){return this.$d.toISOString()},O.toString=function(){return this.$d.toUTCString()},B}(),H=L.prototype;return T.prototype=H,[["$ms",o],["$s",u],["$m",l],["$H",c],["$W",s],["$M",f],["$y",k],["$D",m]].forEach(function(B){H[B[1]]=function(O){return this.$g(O,B[0],B[1])}}),T.extend=function(B,O){return B.$i||(B(O,L,T),B.$i=!0),T},T.locale=p,T.isDayjs=R,T.unix=function(B){return T(1e3*B)},T.en=N[x],T.Ls=N,T.p={},T})})(Cn);const pe=Cn.exports;var xn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(se,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,o=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,l={},c=function(g){return(g=+g)+(g>68?1900:2e3)},s=function(g){return function(y){this[g]=+y}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var S=y.match(/([+-]|\d\d)/g),C=60*S[1]+(+S[2]||0);return C===0?0:S[0]==="+"?-C:C}(g)}],f=function(g){var y=l[g];return y&&(y.indexOf?y:y.s.concat(y.f))},E=function(g,y){var S,C=l.meridiem;if(C){for(var M=1;M<=24;M+=1)if(g.indexOf(C(M,0,y))>-1){S=M>12;break}}else S=g===(y?"pm":"PM");return S},k={A:[u,function(g){this.afternoon=E(g,!1)}],a:[u,function(g){this.afternoon=E(g,!0)}],S:[/\d/,function(g){this.milliseconds=100*+g}],SS:[a,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[o,s("seconds")],ss:[o,s("seconds")],m:[o,s("minutes")],mm:[o,s("minutes")],H:[o,s("hours")],h:[o,s("hours")],HH:[o,s("hours")],hh:[o,s("hours")],D:[o,s("day")],DD:[a,s("day")],Do:[u,function(g){var y=l.ordinal,S=g.match(/\d+/);if(this.day=S[0],y)for(var C=1;C<=31;C+=1)y(C).replace(/\[|\]/g,"")===g&&(this.day=C)}],M:[o,s("month")],MM:[a,s("month")],MMM:[u,function(g){var y=f("months"),S=(f("monthsShort")||y.map(function(C){return C.slice(0,3)})).indexOf(g)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[u,function(g){var y=f("months").indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,s("year")],YY:[a,function(g){this.year=c(g)}],YYYY:[/\d{4}/,s("year")],Z:d,ZZ:d};function m(g){var y,S;y=g,S=l&&l.formats;for(var C=(g=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(T,v,L){var H=L&&L.toUpperCase();return v||S[L]||n[L]||S[H].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(B,O,h){return O||h.slice(1)})})).match(r),M=C.length,D=0;D<M;D+=1){var x=C[D],N=k[x],R=N&&N[0],p=N&&N[1];C[D]=p?{regex:R,parser:p}:x.replace(/^\[|\]$/g,"")}return function(T){for(var v={},L=0,H=0;L<M;L+=1){var B=C[L];if(typeof B=="string")H+=B.length;else{var O=B.regex,h=B.parser,V=T.slice(H),w=O.exec(V)[0];h.call(v,w),T=T.replace(w,"")}}return function(A){var I=A.afternoon;if(I!==void 0){var q=A.hours;I?q<12&&(A.hours+=12):q===12&&(A.hours=0),delete A.afternoon}}(v),v}}return function(g,y,S){S.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(c=g.parseTwoDigitYear);var C=y.prototype,M=C.parse;C.parse=function(D){var x=D.date,N=D.utc,R=D.args;this.$u=N;var p=R[1];if(typeof p=="string"){var T=R[2]===!0,v=R[3]===!0,L=T||v,H=R[2];v&&(H=R[2]),l=this.$locale(),!T&&H&&(l=S.Ls[H]),this.$d=function(V,w,A){try{if(["x","X"].indexOf(w)>-1)return new Date((w==="X"?1e3:1)*V);var I=m(w)(V),q=I.year,_=I.month,j=I.day,z=I.hours,W=I.minutes,J=I.seconds,Ne=I.milliseconds,me=I.zone,re=new Date,Z=j||(q||_?1:re.getDate()),ee=q||re.getFullYear(),ye=0;q&&!_||(ye=_>0?_-1:re.getMonth());var be=z||0,vt=W||0,Et=J||0,At=Ne||0;return me?new Date(Date.UTC(ee,ye,Z,be,vt,Et,At+60*me.offset*1e3)):A?new Date(Date.UTC(ee,ye,Z,be,vt,Et,At)):new Date(ee,ye,Z,be,vt,Et,At)}catch{return new Date("")}}(x,p,N),this.init(),H&&H!==!0&&(this.$L=this.locale(H).$L),L&&x!=this.format(p)&&(this.$d=new Date("")),l={}}else if(p instanceof Array)for(var B=p.length,O=1;O<=B;O+=1){R[1]=p[O-1];var h=S.apply(this,R);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}O===B&&(this.$d=new Date(""))}else M.call(this,D)}}})})(xn);const ai=xn.exports;var Tn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(se,function(){return function(n,r,a){var o=r.prototype,u=o.format;a.en.ordinal=function(l){var c=["th","st","nd","rd"],s=l%100;return"["+l+(c[(s-20)%10]||c[s]||c[0])+"]"},o.format=function(l){var c=this,s=this.$locale();if(!this.isValid())return u.bind(this)(l);var d=this.$utils(),f=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(E){switch(E){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return s.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return s.ordinal(c.week(),"W");case"w":case"ww":return d.s(c.week(),E==="w"?1:2,"0");case"W":case"WW":return d.s(c.isoWeek(),E==="W"?1:2,"0");case"k":case"kk":return d.s(String(c.$H===0?24:c.$H),E==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return E}});return u.bind(this)(f)}}})})(Tn);const ii=Tn.exports;var Rn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(se,function(){return function(n,r,a){var o=r.prototype,u=function(f){return f&&(f.indexOf?f:f.s)},l=function(f,E,k,m,g){var y=f.name?f:f.$locale(),S=u(y[E]),C=u(y[k]),M=S||C.map(function(x){return x.slice(0,m)});if(!g)return M;var D=y.weekStart;return M.map(function(x,N){return M[(N+(D||0))%7]})},c=function(){return a.Ls[a.locale()]},s=function(f,E){return f.formats[E]||function(k){return k.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(m,g,y){return g||y.slice(1)})}(f.formats[E.toUpperCase()])},d=function(){var f=this;return{months:function(E){return E?E.format("MMMM"):l(f,"months")},monthsShort:function(E){return E?E.format("MMM"):l(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(E){return E?E.format("dddd"):l(f,"weekdays")},weekdaysMin:function(E){return E?E.format("dd"):l(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(E){return E?E.format("ddd"):l(f,"weekdaysShort","weekdays",3)},longDateFormat:function(E){return s(f.$locale(),E)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return d.bind(this)()},a.localeData=function(){var f=c();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(E){return s(f,E)},meridiem:f.meridiem,ordinal:f.ordinal}},a.months=function(){return l(c(),"months")},a.monthsShort=function(){return l(c(),"monthsShort","months",3)},a.weekdays=function(f){return l(c(),"weekdays",null,null,f)},a.weekdaysShort=function(f){return l(c(),"weekdaysShort","weekdays",3,f)},a.weekdaysMin=function(f){return l(c(),"weekdaysMin","weekdays",2,f)}}})})(Rn);const oi=Rn.exports;var Vn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(se,function(){var n="week",r="year";return function(a,o,u){var l=o.prototype;l.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var s=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=u(this).startOf(r).add(1,r).date(s),f=u(this).endOf(n);if(d.isBefore(f))return 1}var E=u(this).startOf(r).date(s).startOf(n).subtract(1,"millisecond"),k=this.diff(E,n,!0);return k<0?u(this).startOf("week").week():Math.ceil(k)},l.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(Vn);const si=Vn.exports;var In={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(se,function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),o=this.week(),u=this.year();return o===1&&a===11?u+1:a===0&&o>=52?u-1:u}}})})(In);const li=In.exports;var Mn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(se,function(){return function(n,r,a){r.prototype.dayOfYear=function(o){var u=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return o==null?u:this.add(o-u,"day")}}})})(Mn);const ui=Mn.exports;var Dn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(se,function(){return function(n,r){r.prototype.isSameOrAfter=function(a,o){return this.isSame(a,o)||this.isAfter(a,o)}}})})(Dn);const ci=Dn.exports;var Bn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(se,function(){return function(n,r){r.prototype.isSameOrBefore=function(a,o){return this.isSame(a,o)||this.isBefore(a,o)}}})})(Bn);const fi=Bn.exports;pe.extend(oi),pe.extend(ii),pe.extend(ai),pe.extend(si),pe.extend(li),pe.extend(ui),pe.extend(ci),pe.extend(fi);const di=[Gt,Ut,Zt,Xt,en,ge,on,sn,et,un,gn,mn,bn,wn,vn,Nn,On,Qe,St],hi=new mr(di,[$r],"4.0.0");Object.defineProperty(b,"clone",{enumerable:!0,get:()=>F.clone}),Object.defineProperty(b,"extend",{enumerable:!0,get:()=>F.extend}),Object.defineProperty(b,"isArray",{enumerable:!0,get:()=>F.isArray}),Object.defineProperty(b,"isDate",{enumerable:!0,get:()=>F.isDate}),Object.defineProperty(b,"isESModule",{enumerable:!0,get:()=>F.isESModule}),Object.defineProperty(b,"isEqual",{enumerable:!0,get:()=>F.isEqual}),Object.defineProperty(b,"isFunction",{enumerable:!0,get:()=>F.isFunction}),Object.defineProperty(b,"isMap",{enumerable:!0,get:()=>F.isMap}),Object.defineProperty(b,"isObject",{enumerable:!0,get:()=>F.isObject}),Object.defineProperty(b,"isPlainObject",{enumerable:!0,get:()=>F.isPlainObject}),Object.defineProperty(b,"isPromise",{enumerable:!0,get:()=>F.isPromise}),Object.defineProperty(b,"isSet",{enumerable:!0,get:()=>F.isSet}),Object.defineProperty(b,"isString",{enumerable:!0,get:()=>F.isString}),Object.defineProperty(b,"isSymbol",{enumerable:!0,get:()=>F.isSymbol}),Object.defineProperty(b,"toBoolean",{enumerable:!0,get:()=>F.toBoolean}),Object.defineProperty(b,"toNumber",{enumerable:!0,get:()=>F.toNumber}),Object.defineProperty(b,"toTypeString",{enumerable:!0,get:()=>F.toTypeString}),b.Broadcast=ut,b.BroadcastKey=G,b.Content=Xt,b.DateItem=mn,b.DialogItem=On,b.Domain=ht,b.DomainKey=ue,b.FooterBar=Zt,b.Group=en,b.HeaderBar=Ut,b.HintText=et,b.InputItem=un,b.Item=ge,b.Mapping=St,b.Page=Gt,b.Price=Qe,b.PriorityPolicy=We,b.RowItem=sn,b.SelectItem=gn,b.SlotItem=on,b.TableItem=Nn,b.TableMappingColumn=vn,b.TimeItem=bn,b.TimeSelectItem=wn,b.UniqueID=nn,b.ValidateSchema=_t,b.ValidateSchemaKey=ae,b.clearNonNumber=Kn,b.compareTo=jn,b.createBroadcast=ct,b.createValidateSchema=ft,b.debounce=sr,b.decimalLength=Yn,b.default=hi,b.defineBroadcast=Jn,b.defineDomain=gt,b.defineItem=fe,b.definePageState=Ht,b.deleteGlobalValidator=nr,b.disabledProperty=xe,b.divide=_n,b.excludeProps=we,b.floatData=Xn,b.getGlobalValidateCheckEvents=kt,b.getGlobalValidateResetEvents=Lt,b.getPageContentAreaHeight=Fe,b.getPageContentAreaWidth=ze,b.getPageFooterAreaHeight=He,b.getPageHeaderAreaHeight=Pe,b.getRootDomain=Be,b.includeProps=Zn,b.indexOf=Gn,b.integerLength=Wn,b.isBrowser=Ie,b.isEmptyString=le,b.isInnerPage=ur,b.isNumberString=zn,b.isRegExp=Vt,b.isSubPage=cr,b.lastIndexOf=Un,b.multiply=Ln,b.negate=Pn,b.numberFormat=Rt,b.property=ke,b.raf=Fn,b.readonlyProperty=Ce,b.setGlobalValidateCheckEvents=rr,b.setGlobalValidateHandler=er,b.setGlobalValidateMessages=ir,b.setGlobalValidateResetEvents=ar,b.setGlobalValidator=tr,b.throttle=dt,b.toPadding=te,b.toPx=U,b.toPxDesc=Q,b.toValue=ne,b.unNumberFormat=Hn,b.updatePageState=pt,b.useBroadcast=Me,b.useDomain=ce,b.useExpose=oe,b.usePageState=je,b.usePosition=rn,b.useRect=Je,b.valueLength=Mt,Object.defineProperties(b,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .fox-item.is-error .el-input__wrapper{-webkit-box-shadow:0 0 0 1px var(--el-color-danger) inset;box-shadow:0 0 0 1px var(--el-color-danger) inset}.fox-page{width:100%}.fox-header-bar{position:absolute;z-index:10;top:0;left:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;width:100%;padding:13px 16px;background:#fff;color:#1a1a1a;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0px 1px 7px 0px rgb(237,238,241);box-shadow:0 1px 7px #edeef1}.fox-footer-bar{position:absolute;z-index:10;bottom:0;left:0;right:0;border:0px;border-bottom:1px solid #eee;border-top:1px solid #eee;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;height:50px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.fox-footer-bar__left{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.fox-footer-bar__right{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.fox-footer-bar__center{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.fox-footer-bar>.fox-button{margin-right:20px;min-width:120px}.fox-footer-bar>.fox-button:last-child{margin-right:0}.fox-content{display:block;overflow-x:hidden;overflow-y:auto;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.fox-group{display:block;background:#fff}.fox-group__title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;justify-items:center;padding:0 10px;margin-bottom:10px}.fox-group__title-mark{display:inline-block;width:3px;height:15px;background:#409eff}.fox-group__title-text{display:inline-block;margin-left:12px;color:#404d6a;font-size:14px;line-height:20px}.fox-group__gutter:last-child{padding-right:0!important}.fox-group__gutter:first-child{padding-left:0!important}.fox-group__flex{display:-webkit-box;display:-ms-flexbox;display:flex}.fox-group__flex:after{display:none}.fox-group__flex .fox-item{float:none}.fox-group__justify-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.fox-group__justify-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.fox-group__justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.fox-group__justify-space-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.fox-group__justify-space-around{-ms-flex-pack:distribute;justify-content:space-around}.fox-group__justify-space-evenly{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.fox-group__align-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.fox-group__align-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.fox-group__align-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.fox-group__flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.fox-group__flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.fox-group__flex-reverse{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.fox-theme-dark .fox-item{background:#131313}.fox-theme-dark .fox-item .label,.fox-theme-dark .fox-item .content{color:#fff}.fox-item{position:relative;width:100%;padding:10px 0;margin-bottom:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap;background:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;float:left}.fox-item__stretch{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.fox-item__gutter:last-child{padding-right:0!important}.fox-item__gutter:first-child{padding-left:0!important}.fox-item__input--border{border-bottom:0px solid #eaf0fb}.fox-item__main{display:-webkit-box;display:-ms-flexbox;display:flex}.fox-item__main--top{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.fox-item__main--left,.fox-item__main--right{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.fox-item__main .label{position:relative;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px}.fox-item__main .label--top{text-align:left;width:100%}.fox-item__main .label--left{text-align:left;width:30%}.fox-item__main .label--right{text-align:right;width:30%}.fox-item__main .label--required:before{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:5px;color:#ee0a24;content:"*"}.fox-item__main .label--string{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:15px;margin-right:5px}.fox-item__main .content{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative}.fox-item__main .content--default{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.fox-item__tip{position:absolute;bottom:-6px;font-size:12px;line-height:12px;text-align:left;padding-left:30%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.fox-item__tip--info{color:#409eff}.fox-item__tip--warn{color:#e6a23c}.fox-item__tip--error{color:#ee0a24}.fox-item__animate-enter-from{opacity:0}.fox-item__animate-enter-to{-webkit-animation-name:foxEaseIn;animation-name:foxEaseIn}.fox-item__animate-leave-from{opacity:1}.fox-item__animate-leave-to{-webkit-animation-name:foxEaseOut;animation-name:foxEaseOut}.fox-item__animate-enter-active,.fox-item__animate-leave-active{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.fox-slot-item{margin-bottom:0;border:none;padding:0}.fox-slot-item__stretch{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.fox-row-item{padding:10px 0;margin-bottom:14px;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.fox-row-item__stretch{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.fox-row-item__left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.fox-row-item__right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.fox-row-item__center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.fox-hint-text{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:3000;padding:0 6px;-webkit-box-shadow:4px 4px 8px rgba(0,0,0,.3);box-shadow:4px 4px 8px #0000004d;border:0px solid rgba(0,0,0,.3);border-radius:3px;font-size:18px;color:#fff;background-color:#000c}.fox-hint-text__content{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;opacity:1;pointer-events:none;overflow:hidden}.fox-hint-text__content .text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.fox-hint-text__arrow{position:absolute;left:20px;width:0;height:0;content:"";border:5px solid transparent;border-top-color:#000c}.hint-text-fade-enter-active,.hint-text-fade-leave-active{-webkit-transition:opacity .3s;transition:opacity .3s}.hint-text-fade-enter-from,.hint-text-fade-leave-to{opacity:0}.fox-input-item,.fox-select-item{width:100%}.fox-date-item,.fox-time-item,.fox-time-select-item{width:100%!important}.fox-table-item{width:100%}.fox-table-item__wrap{width:1px}.fox-table-item__pagination{margin-top:10px}.fox-table-item__pagination__left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.fox-table-item__pagination__right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.fox-price{font-size:16px;display:inline;color:#fa2c19}.fox-price--symbol{display:inline-block;font-size:16px}.fox-price--large,.fox-price--point{display:inline-block;font-size:24px}.fox-price--decimal-large,.fox-price--symbol-large{display:inline-block;font-size:18px}.fox-price--normal{display:inline-block;font-size:16px}.fox-price--decimal-normal,.fox-price--symbol-normal{display:inline-block;font-size:14px}.fox-price--small{display:inline-block;font-size:12px}.fox-price--decimal-small,.fox-price--symbol-small{display:inline-block;font-size:10px}
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * @fox-js/foxui-desktop v4.0.0 Mon Nov 07 2022 08:51:02 GMT+0800 (中国标准时间)
3
+ */
4
+ const t = "";
5
+ export {
6
+ t as default
7
+ };