@fox-js/foxui 4.0.1-13 → 4.0.1-15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +10 -20
- package/dist/index.esm.js +12399 -11937
- package/dist/index.umd.js +11 -21
- package/dist/locale/index.d.ts +27 -9
- package/dist/locale/index.esm.js +31 -13
- package/dist/locale/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +68 -17
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
"use strict";/*!
|
|
2
|
-
* @fox-js/foxui-base v4.0.0
|
|
3
|
-
*/Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),
|
|
2
|
+
* @fox-js/foxui-base v4.0.0 Fri Jul 14 2023 01:13:47 GMT+0800 (中国标准时间)
|
|
3
|
+
*/Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),qt=require("@fox-js/validator"),G=require("@fox-js/icons-vue"),se=require("@fox-js/i18n"),Mt=window,xr=typeof window<"u";function Lr(){return typeof Mt<"u"?Mt.requestAnimationFrame||Mt.webkitRequestAnimationFrame||function(e){Mt.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function il(e){xr?cancelAnimationFrame(e):clearTimeout(e)}const je=Lr();/*!
|
|
4
4
|
* @fox-js/big-decimal v4.0.1-5 Mon Jan 30 2023 14:39:30 GMT+0800 (中国标准时间)
|
|
5
|
-
*/function Rt(e,n="0"){let o=0,l=-1;e[0]=="-"&&(o++,l=1,e=e.substring(1),e.length),n[0]=="-"&&(o++,l=2,n=n.substring(1),n.length),e=pe(e),n=pe(n),[e,n]=Ln(pe(e),pe(n)),o==1&&(l==1?e=Gt(e):n=Gt(n));let r=Qo(e,n);return o?o==2?"-"+pe(r):e.length<r.length?pe(r.substring(1)):"-"+pe(Gt(r)):pe(r)}function Gt(e){let n="",o=e.length,l=e.split(".")[1],r=l?l.length:0;for(let a=0;a<o;a++)e[a]>="0"&&e[a]<="9"?n+=9-parseInt(e[a]):n+=e[a];let i=r>0?"0."+new Array(r).join("0")+"1":"1";return Qo(n,i)}function pe(e){let n=e.split(".");for(n[0]||(n[0]="0");n[0][0]=="0"&&n[0].length>1;)n[0]=n[0].substring(1);return n[0]+(n[1]?"."+n[1]:"")}function Ln(e,n){let o=e.split("."),l=n.split("."),r=o[0].length,i=l[0].length;return r>i?l[0]=new Array(Math.abs(r-i)+1).join("0")+(l[0]?l[0]:""):o[0]=new Array(Math.abs(r-i)+1).join("0")+(o[0]?o[0]:""),r=o[1]?o[1].length:0,i=l[1]?l[1].length:0,(r||i)&&(r>i?l[1]=(l[1]?l[1]:"")+new Array(Math.abs(r-i)+1).join("0"):o[1]=(o[1]?o[1]:"")+new Array(Math.abs(r-i)+1).join("0")),e=o[0]+(o[1]?"."+o[1]:""),n=l[0]+(l[1]?"."+l[1]:""),[e,n]}function Qo(e,n){[e,n]=Ln(e,n);let o="",l=0;for(let r=e.length-1;r>=0;r--){if(e[r]==="."){o="."+o;continue}let i=parseInt(e[r])+parseInt(n[r])+l;o=i%10+o,l=Math.floor(i/10)}return l?l.toString()+o:o}var ie=(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))(ie||{});function kt(e,n=0,o=ie.HALF_EVEN){if(o===ie.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let l=!1;e[0]==="-"&&(l=!0,e=e.substring(1));let r=e.split("."),i=r[0],a=r[1];if(n<0){if(n=-n,i.length<=n)return"0";{let c=i.substr(0,i.length-n);return e=c+"."+i.substr(i.length-n)+a,c=kt(e,0,o),(l?"-":"")+c+new Array(n+1).join("0")}}if(n==0)return i.length,uo(r[1],i,l,o)?(l?"-":"")+Zt(i):(l?"-":"")+i;if(r[1]){if(r[1].length<n)return(l?"-":"")+i+"."+r[1]+new Array(n-r[1].length+1).join("0")}else return(l?"-":"")+i+"."+new Array(n+1).join("0");a=r[1].substring(0,n);let s=r[1].substring(n);return s&&uo(s,a,l,o)&&(a=Zt(a),a.length>n)?(l?"-":"")+Zt(i,parseInt(a[0]))+"."+a.substring(1):(l?"-":"")+i+"."+a}function uo(e,n,o,l){if(!e||e===new Array(e.length+1).join("0")||l===ie.DOWN||!o&&l===ie.FLOOR||o&&l===ie.CEILING)return!1;if(l===ie.UP||o&&l===ie.FLOOR||!o&&l===ie.CEILING)return!0;let r="5"+new Array(e.length).join("0");if(e>r)return!0;if(e<r)return!1;switch(l){case ie.HALF_DOWN:return!1;case ie.HALF_UP:return!0;case ie.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function Zt(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let o=e.length-1,l="";for(let r=o;r>=0;r--){let i=parseInt(e[r])+n;i==10?(n=1,i=0):n=0,l+=i}return n&&(l+=n),l.split("").reverse().join("")}function ln(e,n){e=e.toString(),n=n.toString();let o=0;e[0]=="-"&&(o++,e=e.substr(1)),n[0]=="-"&&(o++,n=n.substr(1)),e=at(e),n=at(n);let l=0,r=0;e.indexOf(".")!=-1&&(l=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(r=n.length-n.indexOf(".")-1);let i=l+r;if(e=at(e.replace(".","")),n=at(n.replace(".","")),e.length<n.length){let d=e;e=n,n=d}if(n=="0")return"0";let a=n.length,s=0,c=[],m=a-1,f="";for(let d=0;d<a;d++)c[d]=e.length-1;for(let d=0;d<2*e.length;d++){let g=0;for(let S=n.length-1;S>=m&&S>=0;S--)c[S]>-1&&c[S]<e.length&&(g+=parseInt(e[c[S]--])*parseInt(n[S]));g+=s,s=Math.floor(g/10),f=g%10+f,m--}return f=at(yr(f,i)),o==1&&(f="-"+f),f}function yr(e,n){return n==0?e:(e=n>=e.length?new Array(n-e.length+1).join("0")+e:e,e.substr(0,e.length-n)+"."+e.substr(e.length-n,n))}function at(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 an(e,n,o=8){if(n==0)throw new Error("Cannot divide by 0");if(e=e.toString(),n=n.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),n=n.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let l=0;n[0]=="-"&&(n=n.substring(1),l++),e[0]=="-"&&(e=e.substring(1),l++);var r=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=pe(n.replace(".","")),r>=0){let m=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(m==-1)e=pe(e+new Array(r+1).join("0"));else if(r>m)e=e.replace(".",""),e=pe(e+new Array(r-m+1).join("0"));else if(r<m){e=e.replace(".","");let f=e.length-m+r;e=pe(e.substring(0,f)+"."+e.substring(f))}else r==m&&(e=pe(e.replace(".","")))}let i=0,a=n.length,s="",c=e.indexOf(".")>-1&&e.indexOf(".")<a?e.substring(0,a+1):e.substring(0,a);if(e=e.indexOf(".")>-1&&e.indexOf(".")<a?e.substring(a+1):e.substring(a),c.indexOf(".")>-1){let m=c.length-c.indexOf(".")-1;c=c.replace(".",""),a>c.length&&(m+=a-c.length,c=c+new Array(a-c.length+1).join("0")),i=m,s="0."+new Array(m).join("0")}for(o=o+2;i<=o;){let m=0;for(;parseInt(c)>=parseInt(n);)c=Rt(c,"-"+n),m++;s+=m,e?(e[0]=="."&&(s+=".",i++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(i||(s+="."),i++,c=c+"0")}return(l==1?"-":"")+pe(kt(s,o-2))}function rn(e,n){return e=e.toString(),n=n.toString(),n=sn(n),Rt(e,n)}function sn(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function fo(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),mo(e),mo(n);let o="";e[0]=="-"&&(o="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let l=rn(e,ln(n,kt(an(e,n),0,ie.FLOOR)));return o+l}function mo(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function po(e,n){let o=!1;if(e[0]=="-"&&n[0]!="-")return-1;if(e[0]!="-"&&n[0]=="-")return 1;if(e[0]=="-"&&n[0]=="-"&&(e=e.substr(1),n=n.substr(1),o=!0),[e,n]=Ln(e,n),e.localeCompare(n)==0)return 0;for(let l=0;l<e.length;l++)if(e[l]!=n[l])return e[l]>n[l]?o?-1:1:o?1:-1;return 0}class J{value;static RoundingModes=ie;static validate(n){if(n){if(n=n.toString(),isNaN(n))throw Error("Parameter is not a number: "+n);n[0]=="+"&&(n=n.substring(1))}else n="0";if(n.startsWith(".")?n="0"+n:n.startsWith("-.")&&(n="-0"+n.substr(1)),/e/i.test(n)){let[o,l]=n.split(/[eE]/);o=pe(o);let r="";o[0]=="-"&&(r="-",o=o.substring(1)),o.indexOf(".")>=0?(l=parseInt(l)+o.indexOf("."),o=o.replace(".","")):l=parseInt(l)+o.length,o.length<l?n=r+o+new Array(l-o.length+1).join("0"):o.length>=l&&l>0?n=r+pe(o.substring(0,l))+(o.length>l?"."+o.substring(l):""):n=r+"0."+new Array(-l+1).join("0")+o}return n}constructor(n="0"){this.value=J.validate(n)}getValue(){return this.value}static getPrettyValue(n,o,l){if(!(o||l))o=3,l=",";else if(!(o&&l))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");n=J.validate(n);let r=n.charAt(0)=="-";r&&(n=n.substring(1));var i=n.indexOf(".");i=i>0?i:n.length;for(var a="",s=i;s>0;)s<o?(o=s,s=0):s-=o,a=n.substring(s,s+o)+(s<i-o&&s>=0?l:"")+a;return(r?"-":"")+a+n.substring(i)}getPrettyValue(n,o){return J.getPrettyValue(this.value,n,o)}static round(n,o=0,l=ie.HALF_EVEN){if(n=J.validate(n),isNaN(o))throw Error("Precision is not a number: "+o);return kt(n,o,l)}round(n=0,o=ie.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new J(kt(this.value,n,o))}static floor(n){return n=J.validate(n),n.indexOf(".")===-1?n:J.round(n,0,ie.FLOOR)}floor(){return this.value.indexOf(".")===-1?new J(this.value):new J(this.value).round(0,ie.FLOOR)}static ceil(n){return n=J.validate(n),n.indexOf(".")===-1?n:J.round(n,0,ie.CEILING)}ceil(){return this.value.indexOf(".")===-1?new J(this.value):new J(this.value).round(0,ie.CEILING)}static add(n,o){return n=J.validate(n),o=J.validate(o),Rt(n,o)}add(n){return new J(Rt(this.value,n.getValue()))}static subtract(n,o){return n=J.validate(n),o=J.validate(o),rn(n,o)}subtract(n){return new J(rn(this.value,n.getValue()))}static multiply(n,o){return n=J.validate(n),o=J.validate(o),ln(n,o)}multiply(n){return new J(ln(this.value,n.getValue()))}static divide(n,o,l){return n=J.validate(n),o=J.validate(o),an(n,o,l)}divide(n,o){return new J(an(this.value,n.getValue(),o))}static modulus(n,o){return n=J.validate(n),o=J.validate(o),fo(n,o)}modulus(n){return new J(fo(this.value,n.getValue()))}static compareTo(n,o){return n=J.validate(n),o=J.validate(o),po(n,o)}compareTo(n){return po(this.value,n.getValue())}static negate(n){return n=J.validate(n),sn(n)}negate(){return new J(sn(this.value))}}function Go(e,n){return J.multiply(`${e}`,`${n}`)}function On(e,n,o=8){return J.divide(`${e}`,`${n}`,o)}function cn(e,n){return e=`${e}`,n=`${n}`,J.compareTo(e,n)}function Zo(e){return J.negate(e)}function Fn(e,n=-1,o=!1,l=3,r=","){let i=`${e}`;if(i.length==0||i==="-")return"";let a=i.charAt(0);a=="-"?i=i.substring(1):a="";let s=i,c="",m=i.indexOf(".");m!=-1&&(s=i.substring(0,m),c=i.substring(m+1)),n!=-1&&(n<c.length?c=c.substring(0,n):o&&n>c.length&&(c=c.padEnd(n,"0")));let f;if(l>0){let d="",g=s.split("").reverse();for(let S=0;S<g.length;S++)d+=g[S]+((S+1)%l==0&&S+1!=g.length?r:"");c.length==0?f=`${a}${d.split("").reverse().join("")}`:f=`${a}${d.split("").reverse().join("")}.${c}`}else c.length==0?f=`${a}${s}`:f=`${a}${s}.${c}`;return f}function Jo(e){let n=`${e}`,o=n.charAt(0);o=="-"?n=n.substring(1):o="";let l=n.replace(/[^\d\.-]/g,"");return`${o}${l}`}const vr=Array.isArray,kr=e=>Yt(e)==="[object Map]",Sr=e=>Yt(e)==="[object Set]",De=e=>e instanceof Date,un=e=>typeof e=="function",br=e=>typeof e=="string",Cr=e=>typeof e=="symbol",Ve=e=>e!==null&&typeof e=="object",Wt=e=>Ve(e)&&un(e.then)&&un(e.catch),_o=Object.prototype.toString,Yt=e=>_o.call(e),dn=e=>Yt(e)==="[object Object]",el=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function wr(e){return e.__esModule||el&&e[Symbol.toStringTag]==="Module"}const Nr=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function Ue(...e){let n=e[0]!==void 0&&e[0]!==null?e[0]:{},o=1,l=e.length,r=!1;for(typeof n=="boolean"&&(r=n,n=e[o]??{},o++),typeof n!="object"&&(n={});o<l;o++)if(e[o]!==null&&e[o]!==void 0){let i=e[o];for(let a in i){let s=n[a],c=i[a];if(s!==c)if(r===!0&&c&&typeof c=="object"){let m;Array.isArray(c)?m=s&&Array.isArray(s)?s:[]:m=s&&typeof s=="object"?s:{},n[a]=Ue(r,m,c)}else c!==void 0&&(n[a]=c)}}return n}function fn(e,n,o=!1){if(!o)Ue(!0,e,n);else{if(typeof n!="object")return{};typeof e!="object"&&(e={});for(let r in n){let i=e[r],a=n[r];if(i!==a)if(typeof a=="object"){if(!Array.isArray(a)&&!dn(a))continue;i=fn(i,a,o),e[r]=i}else{if(typeof a=="function")continue;e[r]=a}}const l=Object.getOwnPropertySymbols(n);for(let r of l){let i=e[r],a=n[r];if(i!==a)if(typeof a=="object"){if(!Array.isArray(a)&&!dn(a))continue;i=fn(i,a,o),e[r]=i}else{if(typeof a=="function")continue;e[r]=a}}}return e}const Jt=Nr?Promise.resolve():null;function Br(e,...n){Jt!==null?n&&n.length>0?Jt.then(()=>{e(n)}):Jt.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function ve(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":Boolean(e)}function oe(e){return typeof e=="number"?e:Number(e)}const Vr={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Object]":"object"};function Lt(e){let o=Object.prototype.toString.call(e);return e==null?String(e):Vr[o]||"object"}function tl(e){return e&&typeof e=="object"&&"setInterval"in e}function nl(e){let n=!!e&&"length"in e&&e.length,o=Lt(e);return o==="function"||tl(e)?!1:o==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function ol(e,n){let o=+n.length,l=0,r=e.length;for(;l<o;l++)e[r++]=n[l];return e.length=r,e}function Ar(e,n=[]){let o=n;return e!=null&&(nl(Object(e))?ol(o,typeof e=="string"?[e]:e):o.push(e)),o}function Ae(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let o=Lt(e),l=Lt(n);if(o!==l)return!1;if(o==="object"){let r=Object.keys(e),i=Object.keys(n);if(r.length!==i.length)return!1;for(let a=0;a<r.length;a++){let s=r[a],c=e[s],m=n[s];if(!Ae(c,m))return!1}return!0}else if(o==="array"){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=n[r];if(!Ae(i,a))return!1}return!0}return!1}const Ye=typeof window<"u",Fe=Ye&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function ll(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ye=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function al(e){return ye(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ye(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function rl(e){if(e==null)return 0;let n=`${e}`;if(n.length==0)return 0;n.charAt(0)=="-"&&(n=n.substring(1)),n=n.replace(/[^\d\.-]/g,"");const o=n.indexOf(".");return o==-1?n.length:o}function sl(e){if(e==null)return 0;const n=`${e}`;if(n.length==0)return 0;const o=n.indexOf(".");return o==-1?0:n.length-(o+1)}function ho(e,n,o){const l=e.indexOf(n);return l===-1?e:n==="-"&&l!==0?e.slice(0,l):e.slice(0,l+1)+e.slice(l).replace(o,"")}function mn(e,n=!0,o=!0){n?e=ho(e,".",/\./g):e=e.replace(/\./g,""),o?e=ho(e,"-",/-/g):e=e.replace(/-/,"");const l=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function il(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(o=>{if(Ae(e,o))return!0}):n.indexOf(e)}function Er(e,n){if(typeof e=="object"||Array.isArray(e)){let o=n.reverse().findIndex(l=>{if(Ae(e,l))return!0});return o!==-1&&(o=n.length-1-o),o}return n.lastIndexOf(e)}function ce(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function ke(e,...n){const o={};return n.forEach(l=>{for(const r in l)o[r]=e[r]}),o}function cl(e,...n){const o=[];n.forEach(r=>{Reflect.apply([].push,o,Reflect.ownKeys(r))});const l={};for(const r in e)o.includes(r)||(l[r]=e[r]);return l}const ul=(e,n,o)=>{const l=Object.assign({},e),r=Object.assign({},o);return Object.keys(n).length>0?(Object.keys(l).forEach(i=>{r.hasOwnProperty(i)?typeof r[i]=="string"&&(l[i]=n[r[i]]):n[i]&&(l[i]=n[i])}),l):e},Ne=Symbol.for("BroadcastKey");class Tr{parent;children=[];callbacks=new Map;proxy=null;name;constructor(n,o,l){this.parent=n,this.proxy=o,this.name=l,n!==null&&n.addChild(this)}addChild(n){this.children.push(n)}removeChild(n){const o=this.children.findIndex(l=>n===l);o!==-1&&this.children.splice(o,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(n,o,...l){if(n.maxLevel!==void 0&&n.maxLevel!==null&&n.maxLevel>0){if(n.level=n.level??0,n.level>n.maxLevel)return[];n.level++}let r=!1;!n.name||n.name==="*"?r=!0:!n.name||n.name==="+"?(r=!1,n.name="*"):ll(n.name)&&this.name&&n.name.test(this.name)?r=!0:typeof n.name=="function"?r=Reflect.apply(n.name,null,[this.name]):n.name===this.name&&(r=!0);const i=[];if(r){const a=this.callbacks.get(o);if(typeof a=="function"){const c=Reflect.apply(a,this.proxy,[...l]);c!=null&&i.push(c)}const s=this.proxy??{};if(typeof s[o]=="function"){const c=Reflect.apply(s[o],s,[...l]);c!=null&&i.push(c)}}return this.children.forEach(a=>{const s=Reflect.apply(a.emit,a,[{...n},o,...l]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,i,[...s])}),i}emitToChildren(n,o,...l){const r=[];return this.children.forEach(i=>{const a=Reflect.apply(i.emit,i,[{...n},o,...l]);a!=null&&Array.isArray(a)&&Reflect.apply([].push,r,[...a])}),r}on(n,o){this.callbacks.set(n,o)}}function Un(e,n,o,l){const r=new Tr(n,e,o);if(l&&typeof l=="object")for(const i in l)r.on(i,l[i]);return r}function Tt(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ne]??t.inject(Ne,null):t.inject(Ne,null)}const $t=e=>e.default??e;class $r{error(n,o){const l=o,r=Tt(o);r?r.emit({name:"*",maxLevel:1},"setErrorTip",n):typeof l.setErrorTip=="function"&&l.setErrorTip(n)}reset(n){const o=n,l=Tt(n);l?l.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof o.setErrorTip=="function"&&o.setErrorTip("")}success(n){const o=n,l=Tt(n);l?l.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof o.setErrorTip=="function"&&o.setErrorTip("")}decorate(n,o,l){Array.isArray(n)||(n=[n]);const r=l,i=Tt(l),a=o.find(c=>c.required===!0||c.type==="required"&&c.required!==!1),s=n.find(c=>c.required===!0||c.type==="required"&&c.required!==!1);!a&&s?i?i.emit({name:"*"},"setRequired",!0):typeof r.setRequired=="function"&&r.setRequired(!0):a&&!s&&(i?i.emit({name:"*"},"setRequired",!1):typeof r.setRequired=="function"&&r.setRequired(!1),this.reset(l))}getValue(n){return n.modelValue}}let Dr=new $r,Ir=["blur","clear"];function qr(){return Ir}let zr=["focus","change"];function Mr(){return zr}function rt(...e){const n=[];return e.forEach(o=>{o.forEach(l=>{const r=n.findIndex(i=>i.type===l.type);r!==-1&&n.splice(r,1),n.push(l)})}),n}function Dt(e){return e.forEach(n=>{n.type==="required"&&(n.required===null||n.required===void 0)&&(n.required=!0),!n.type&&(n.required===!0||n.required===!1)&&(n.type="required")}),e}const Le=Symbol("ValidateSchemaKey");class Pr{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(n,o,l){this.parent=n,this.descriptor=o,this.proxy=l,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let n=this.proxy.$attrs;n&&(this.scope=t.effectScope(),this.scope.run(()=>{t.watchEffect(()=>{const o=Dt(rt(this.attrRules,this.rules)),l=[];for(let i in n){let a=n[i];if(this.hasValidator(i,!0)){if(a===!1)continue;let c={type:i};a!==null&&typeof a=="object"&&Object.assign(c,a),l.push(c);continue}let s=this.getValidator(i);if(s!==null){let c={type:i,validator:s};l.push(c)}}this.attrRules=Dt(l);const r=rt(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(r,o)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(n,...o){const l=this.descriptor.validateHandler;if(l&&typeof l[n]=="function")return Reflect.apply(l[n],l,[...o]);const r=Dr;return r&&typeof r[n]=="function"?Reflect.apply(r[n],r,[...o]):null}decorate(n,o){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",n,o,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(n){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",n,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(n,o,l=!1){l?$t(Et).setValidator(n,o):this.validators[n]=o}getValidator(n){let o=this.validators[n]??null;return o||(o=this.parent?.getValidator(n)??null),o}deleteValidator(n,o=!1){o?$t(Et).deleteValidator(n):Reflect.deleteProperty(this.validators,n)}hasValidator(n,o=!1){if(o)return $t(Et).hasValidator(n);{let l=Reflect.has(this.validators,n);return!l&&this.parent!==null&&(l=this.parent.hasValidator(n,!1)),l}}setRule(n){const o=rt(this.attrRules,this.rules);n===null?this.rules=[]:Array.isArray(n)?this.rules=Dt(n):this.rules=Dt([n]);const l=rt(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(l,o)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let o=rt(this.attrRules,this.rules);const l=this.descriptor.fieldName??"value";if(o.length>0){const r={[`${l}`]:o},i=this.getValue(),a={[`${l}`]:i},s=$t(Et),c=new s(r),m=this.proxy??a;return c.validate(a,{context:m}).then(d=>{if(d.pass)this.success();else{let g="error";Array.isArray(d.errors)&&d.errors.length>0&&(g=d.errors[0].message??g,d.errors=[d.errors[0]],d.errors[0].ref=m),this.error(g)}return d}).catch(d=>{const g=d.message??`${d}`;return this.error(g),d})}}return Promise.resolve({pass:!0})}}function Kn(e,n,o){if(o.valueName=o.valueName??"modelValue",o.valueType=o.valueType??"string",!o.validateHandler&&o.valueName!=="modelValue"){const r=o.valueName;o.validateHandler={getValue(i){return i[r]}}}return new Pr(n,o,e)}const go=Symbol("EventEmitterKey");class xr{register=new Map;proxy;constructor(n){this.proxy=n}destroy(){this.proxy=null,this.register.clear()}off(n,o){let l=this.register.get(n);if(l&&Array.isArray(l)){let r=l.findIndex(i=>i===o);r!==-1&&l.splice(r,1)}}on(n,o){let l=this.register.get(n);l||(l=new Array,this.register.set(n,l)),l.push(o)}emit(n,...o){const l=this.register.get(n);l&&l.forEach(r=>{try{Reflect.apply(r,null,[n,...o])}catch(i){console.error(i.message,i)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[n,...o])}}function Rr(e,n){let o=0;return function(...l){const r=Date.now();r-o>n&&(Reflect.apply(e,{},[...l]),o=r)}}function Hn(e,n){let o,l=null;return function(...r){l=r,o||(o=setTimeout(()=>{o=null,Reflect.apply(e,{},[...l??[]])},n))}}const Be=Symbol("DomainKey"),st=Symbol("DataItemsKey");class jn{_parent=null;get parent(){return this._parent}set parent(n){this._parent=n}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(n){this._broadcast=n}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(n){this._validateSchema=n}_props=t.reactive({});constructor(n=null){this._name=n}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(n,o=[]){for(const l in n){const r=n[l];o.length>0&&o.indexOf(r)!==-1||(this._props[l]=r)}}has(n){if(Reflect.has(this._props,n)){const o=this._props[n];if(o!=null)return!0}return this.parent==null?!1:this.parent.has(n)}delete(n){Reflect.deleteProperty(this._props,n)}set(n,o){this._props[n]=o}get(n,o){if(Reflect.has(this._props,n)){const l=this._props[n];if(l!=null)return l}return this.parent==null?o:this.parent.get(n,o)}getForParent(n,o){return this.parent==null?o:this.parent.get(n,o)}getForSelf(n){return this._props[n]}getAll(n){const o=[];let l=this;for(;l!=null;){if(Reflect.has(l._props,n)){const r=l._props[n];o.push(r)}l=l._parent}return o}}const Lr=new jn;function gt(){return Lr}function Me(e=null){e||(e=t.getCurrentInstance());const n=e?.proxy;return n?n[Be]??t.inject(Be,null):t.inject(Be,null)}const _t=Symbol("OriginalDateKey");function dl(e,n,o=[],l){const r=t.getCurrentInstance(),i=r?.proxy;let a=t.inject(Be,null);a===null&&(a=gt());const s=e||n.prop||n.name,c=new jn(s);c.parent=a;const m=h=>{i[_t]||g(h),c.set("modelValue",h)},f=()=>c.getForSelf("modelValue")??null,d=()=>i[_t]??null,g=h=>{const v={};Ue(!0,v,t.toRaw(h)),i[_t]=v};t.isReactive(n)?t.watchEffect(()=>{c.merge(n,o)}):c.merge(n,o),n.modelValue&&g(n.modelValue),i[Be]=c,t.provide(Be,c);let S=null,b=null;if(r!==null){const h=t.inject(Ne,null);S=Un(i,h,s,l),c.broadcast=S,i[Ne]=S,t.provide(Ne,S),i.broadcast=(u,p,...C)=>Reflect.apply(S.emit,S,[u,p,...C]);const v=t.inject(Le,null);b=Kn(i,v,{componentName:""}),c.validateSchema=b,i[Le]=b,t.provide(Le,b),i[st]=new Map,i.validate=(u=!0)=>{const p=[];let C=null;if(u===!0)C={name:"*"};else if(Array.isArray(u)&&u.length>0){const y=u;C={name:k=>k?y.indexOf(k)!==-1:!1}}else if(u!=null&&typeof u=="object"){const y=u;if(Array.isArray(y.include)&&y.include.length>0){const k=y.include;C={name:w=>w?k.indexOf(w)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const k=y.exclude;C={name:w=>w?k.indexOf(w)===-1:!1}}else C={name:"*"}}if(C){const y=S?.emitToChildren(C,"validate",!1);y&&Reflect.apply([].push,p,y)}return p.length==1?p[0]:p.length>1?Promise.all(p).then(y=>{let k=[];return y.forEach(w=>{w.pass===!1&&Array.isArray(w.errors)&&(k=[...k,...w.errors])}),k.length>0?{pass:!1,errors:k}:{pass:!0}}):Promise.resolve({pass:!0})},i.setNameValidateRules=(u,p=!0)=>{if(p){const C=Reflect.ownKeys(u),y=[...C],k={name:w=>{const N=C.includes(w);if(N){const V=y.findIndex(A=>w===A);V!==-1&&y.splice(V,1)}return N}};S?.emitToChildren(k,"setNameValidateRules",u,!1),y.length>0&&y.forEach(w=>{let N=String(w);const A=Fr(c,N,{componentName:"",fieldName:N,pureDataValidate:!0},S,b);i[st].set(N,A);const E=u[N];E&&A.validateSchema.setRule(E)})}},i.clearValidate=(u=!0)=>{let p=null;if(u===!0)p={name:"*"};else if(Array.isArray(u)&&u.length>0){const C=u;p={name:y=>y?C.indexOf(y)!==-1:!1}}else if(u!=null&&typeof u=="object"){const C=u;if(Array.isArray(C.include)&&C.include.length>0){const y=C.include;p={name:k=>k?y.indexOf(k)!==-1:!1}}else if(Array.isArray(C.exclude)&&C.exclude.length>0){const y=C.exclude;p={name:k=>k?y.indexOf(k)===-1:!1}}else p={name:"*"}}p&&S?.emitToChildren(p,"clearValidate",!1)},i.resetFields=u=>{const p=f();if(!p)return;const C={};if(Ue(!0,C,d()??{}),Array.isArray(u))u.forEach(y=>{p[y]=C[y]});else if(u&&Array.isArray(u.include))(u.include??[]).forEach(k=>{p[k]=C[k]});else if(u&&Array.isArray(u.exclude)){let y=u.exclude??[];Reflect.ownKeys(C).forEach(k=>{y.includes(k)||(p[k]=C[k])})}else Object.assign(p,C);i.clearValidate(u)},i.setModelValue=(u,p)=>{!p||p===s?m(u):S?.emitToChildren({name:p},"setModelValue",u)},i.getModelValue=()=>f()}return t.onUnmounted(()=>{c.destroy(),i[Be]=void 0,i[st]&&(i[st].clear(),i[st]=void 0),S!==null&&(S.destroy(),i[Ne]=void 0),b!==null&&(b.destroy(),i[Le]=void 0)}),c}function Or(e,n,o=[]){const r=t.getCurrentInstance()?.proxy;let i=t.inject(Be,null);i===null&&(i=gt());const a=e||n.prop||n.name,s=new jn(a);return s.parent=i,t.isReactive(n)?t.watchEffect(()=>{s.merge(n,o)}):s.merge(n,o),r[Be]=s,t.provide(Be,s),t.onUnmounted(()=>{s.destroy(),r[Be]=void 0}),s}function Ce(e,n,o){const r=t.getCurrentInstance()?.proxy,i=n??"",a=t.inject(Ne,null),s=Un(r,a,i,o);r[Ne]=s,t.provide(Ne,s),r.broadcast=(b,h,...v)=>Reflect.apply(s.emit,s,[b,h,...v]);const c=t.inject(Le,null);e.fieldName=e.fieldName??i;const m=Kn(r,c,e);r[Le]=m,t.provide(Le,m),r.validate=(b=null)=>{const h=[];if(!Array.isArray(b)||b.indexOf(i)!==-1){const u=m?.validate();h.push(u)}let v=null;if(b===!0)v={name:"*"};else if(Array.isArray(b)&&b.length>0){const u=b;v={name:p=>p?u.indexOf(p)!==-1:!1}}else if(b!=null&&typeof b=="object"){const u=b;if(Array.isArray(u.include)&&u.include.length>0){const p=u.include;v={name:C=>C?p.indexOf(C)!==-1:!1}}else if(Array.isArray(u.exclude)&&u.exclude.length>0){const p=u.exclude;v={name:C=>C?p.indexOf(C)===-1:!1}}else v={name:"*"}}if(v){const u=s.emitToChildren(v,"validate",!1);Reflect.apply([].push,h,u)}return h.length==1?h[0]:h.length>1?Promise.all(h).then(u=>{let p=[];return u.forEach(C=>{C.pass===!1&&Array.isArray(C.errors)&&(p=[...p,...C.errors])}),p.length>0?{pass:!1,errors:p}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=b=>m?.setRule(b),r.setNameValidateRules=(b,h=!1)=>{const v=b[i];if(v&&m?.setRule(v),h){const u={name:p=>Reflect.ownKeys(b).includes(p)};s.emitToChildren(u,"setNameValidateRules",b,!1)}},r.clearValidate=(b=null)=>{(!Array.isArray(b)||b.indexOf(n??"")!==-1)&&m?.clear();let h=null;if(b===!0)h={name:"*"};else if(Array.isArray(b)&&b.length>0){const v=b;h={name:u=>u?v.indexOf(u)!==-1:!1}}else if(b!=null&&typeof b=="object"){const v=b;if(Array.isArray(v.include)&&v.include.length>0){const u=v.include;h={name:p=>p?u.indexOf(p)!==-1:!1}}else if(Array.isArray(v.exclude)&&v.exclude.length>0){const u=v.exclude;h={name:p=>p?u.indexOf(p)===-1:!1}}else h={name:"*"}}h&&s.emitToChildren(h,"clearValidate",!1)};const f=new xr(r);r[go]=f;const d=Hn((b="validate")=>{b==="reset"?m.clear():m.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:qr()).forEach(b=>{f.on(b,h=>{d("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Mr()).forEach(b=>{f.on(b,h=>{d("reset")})}),t.onUnmounted(()=>{s.destroy(),r[Ne]=void 0,m.destroy(),r[Le]=void 0,f.destroy(),r[go]=void 0}),{broadcast:s,validateSchema:m,emitEvent:(b,...h)=>{Reflect.apply(f.emit,f,[b,...h])},onEvent:(b,h)=>{Reflect.apply(f.on,f,[h])},offEvent:(b,h)=>{Reflect.apply(f.off,f,[h])}}}function Fr(e,n,o,l,r){const i={},a=n??"";o.fieldName=a,o.validateHandler={getValue(m){const f=e.getForSelf("modelValue");return f?f[a]:null}};const s=Kn({},r,o);i.validate=(m=null)=>{const f=[];if(!Array.isArray(m)||m.indexOf(a)!==-1){const g=s?.validate();f.push(g)}let d=null;if(m===!0)d={name:"*"};else if(Array.isArray(m)&&m.length>0){const g=m;d={name:S=>S?g.indexOf(S)!==-1:!1}}else if(m!=null&&typeof m=="object"){const g=m;if(Array.isArray(g.include)&&g.include.length>0){const S=g.include;d={name:b=>b?S.indexOf(b)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const S=g.exclude;d={name:b=>b?S.indexOf(b)===-1:!1}}else d={name:"*"}}if(d){const g=c.emitToChildren(d,"validate",!1);Reflect.apply([].push,f,g)}return f.length==1?f[0]:f.length>1?Promise.all(f).then(g=>{let S=[];return g.forEach(b=>{b.pass===!1&&Array.isArray(b.errors)&&(S=[...S,...b.errors])}),S.length>0?{pass:!1,errors:S}:{pass:!0}}):Promise.resolve({pass:!0})},i.setValidateRule=m=>s?.setRule(m),i.setNameValidateRules=m=>{const f=m[a];f&&s?.setRule(f)};const c=Un(null,l,a,i);return{broadcast:c,validateSchema:s}}const Z=e=>e?`${le(e)}px`:"";function le(e,n=-1){if(typeof e=="number")return e>0&&e<1&&n>0?e*n:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let o=e.indexOf("px");if(o!==-1)return Number(e.substring(0,o));if(o=e.indexOf("rem"),o!==-1){let r=Number(e.substring(0,o)),i=1;if(Ye){const{fontSize:a}=window.getComputedStyle(document.documentElement,null),s=a.indexOf("px");s>0&&(i=Number(a.substring(0,s)))}return r*=i,r}if(o=e.indexOf("%"),o!==-1)return Number(e.substring(0,o))*n;const l=Number(e);return isNaN(l)?0:l}const Ke="PageStateKey";function ze(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=le(e.top)),e.left!==null&&e.left!==void 0&&(n.left=le(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=le(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=le(e.right))),n}function yo(e,n,o={},l=!0,r=-1,i=-1,a=0,s=0){if(e.headerHeight=le(o.headerHeight??n.headerHeight),e.headerPadding=ze(o.headerPadding??n.headerPadding),e.footerHeight=le(o.footerHeight??n.footerHeight),e.footerPadding=ze(o.footerPadding??n.footerPadding),e.contentPadding=ze(o.contentPadding??n.contentPadding),l){const c=o.height??n.height;c?e.height=le(c,i):e.height=le(i)-le(a,i)-le(s,i),e.width=le(o.width??n.width??0,r)}}function Ur(e,n={}){const o={top:null,left:null,bottom:null,right:null},l={width:0,height:0,headerHeight:0,headerPadding:{...o},footerHeight:0,footerPadding:{...o},contentPadding:{...o},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},r=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});r&&(l.safeAreaTop=le(r.top),l.safeAreaBottom=le(r.bottom),l.safeAreaLeft=le(r.left),l.safeAreaRight=le(r.right));const i=e.get("pageLayout");if(!i)return null;const a=e.get("rootWidth")??-1,s=e.get("rootHeight")??-1,c=e.get("headerBarHeight")??0,m=e.get("footerBarHeight")??0;yo(l,i,n,!0,a,s,c,m);const f=t.reactive(l),d=e.getForParent(Ke);d&&(l.height=pn(e,d),l.width=hn(e,d),t.watch([()=>d.height,()=>d.width,()=>d.contentPadding,()=>d.headerMounted,()=>d.footerMounted],()=>{f.height=pn(e,d),f.width=hn(e,d)}));const g=!d;return t.watch([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([S,b,h=-1,v=-1,u=0,p=0])=>{yo(f,b,n,g,h,v,u,p)}),e.set(Ke,f),f}function Wn(e){return e.get(Ke)}function Yn(e,n){return n=n??e.get(Ke),n&&n.headerMounted?n.headerHeight+n.safeAreaTop:0}function Xn(e,n){return n=n??e.get(Ke),n&&n.footerMounted?n.footerHeight+n.safeAreaBottom:0}function pn(e,n){if(n=n??e.get(Ke),n){const o=Yn(e,n),l=Xn(e,n);return n.height-o-l-(n.contentPadding.top??0)-(n.contentPadding.bottom??0)}return 0}function hn(e,n){return n=n??e.get(Ke),n?n.width-(n.contentPadding.left??0)-(n.contentPadding.right??0):0}var He=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(He||{});function en(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Se(e,n,o=1,l){const r=Me();return r==null?e:o===0?t.computed(()=>{const i=r.getAll(n);for(let s=i.length-1;s>=0;s--){const c=i[s];if(en(c,l))return c}const a=e.value;return en(a,l)?a:null}):t.computed(()=>{const i=e.value;return en(i,l)?i:r?.get(n)})}function Pe(e){return Se(e,"readonly",0,function(o){return ve(o)})}function Ee(e){return Se(e,"disabled",0,function(o){return ve(o)})}function Ie(e,n="modelValue",o){const l=t.toRef(e,n);let r=l.value;typeof o=="function"&&(r=o(l.value));const i=t.ref(r);return t.watch(l,a=>{if(typeof o=="function"){const s=o(a);s!==i.value&&(i.value=s)}else a!==i.value&&(i.value=a)}),i}const fl=new Map,Ot=new Map;let gn=null;function Kr(e){gn=e}function ml(e,n,o){if(o){let l=Ot.get(o);l||(l=new Map,Ot.set(o,l)),l.set(e,n)}else fl.set(e,n)}function wt(e,n,o){!o&&gn&&(o=gn(e)??void 0);let l=null;if(o){let r=Ot.get(o);r&&(l=r.get(n))}return l||(l=fl.get(n)),l}function Hr(e,n){for(let o in e){const l=e[o];ml(o,l,n)}}function jr(e){Ot.delete(e)}function Wr(){return{top:0,left:0,bottom:0,right:0}}function Yr(e=0,n=0){if(Ye){const o=document.documentElement.clientWidth||document.body.clientWidth,l=document.documentElement.clientHeight||document.body.clientHeight,r={width:o,height:l-le(e,l)-le(n,l),headerHeight:44,footerHeight:44};return{rootWidth:o,rootHeight:l,pageLayout:r}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}}class Xr{packages;_version;get version(){return this._version}constructor(n,o){this.packages=n,this._version=o}install(n,o){o?.install!==!1&&this.packages.forEach(i=>{i.install?n.use(i):i.name&&n.component(i.name,i)});const l=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],r=gt();if(this.initPageLayout(o,r),o.autoAdjustPageLayout!==!1&&window.ResizeObserver){const i=Hn(()=>{const s={...o},c=document.documentElement.clientWidth||document.body.clientWidth,m=document.documentElement.clientHeight||document.body.clientHeight;s.width=c,s.height=m,this.initPageLayout(s,r)},150);new window.ResizeObserver(i).observe(window.document.body)}for(const i in o)l.indexOf(i)===-1&&r.set(i,o[i])}initPageLayout(n,o){const l=n.headerBarHeight??0,r=n.footerBarHeight??0,i=Ue({},Wr(),n.safeAreaInset),a=Yr(l,r),s=Ue({},a.pageLayout,n.pageLayout);o=o??gt(),o.set("safeAreaInset",i),o.set("headerBarHeight",l),o.set("footerBarHeight",r),o.set("pageLayout",s),o.set("rootWidth",a.rootWidth),o.set("rootHeight",a.rootHeight)}setScopeGetter(n){Kr(n)}setAPI(n,o,l){ml(n,o,l)}getAPI(n,o,l){return wt(n,o,l)}batchSetAPI(n,o){Hr(n,o)}clearScopeAPI(n){jr(n)}getRootDomain(){return gt()}}function O(e){const n="fox-"+e;return{componentName:n,scope:e.replace("-",""),create(o){return o.baseName=e,o.name=n,o.install=l=>{l.component(o.name,o)},t.defineComponent(o)},createDemo(o){return o.baseName=e,o.name="demo-"+e,t.defineComponent(o)}}}const ue={disabled:{type:[Boolean,String],required:!1},readonly:{type:[Boolean,String],required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},hasBorder:{type:Boolean,required:!1,default:!0}},me={prop:{type:String,required:!1},label:{type:String,required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},isRequired:{type:[String,Boolean],required:!1,default:!1},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1},infoMarkClass:{type:String,required:!1,default:"is-info"},warnMarkClass:{type:String,required:!1,default:"is-warn"},errorMarkClass:{type:String,required:!1,default:"is-error"},errorTip:{type:String,required:!1},errorIcon:{type:[Object,String],required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:[Object,String],required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:[Object,String],required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:"content--default"},contentStyle:{type:Object,required:!1,default:{}},hintType:{type:String,required:!1,default:"text"},hintText:{type:[String,Number],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:!0},hintProps:{type:Object,required:!1,default:{}}},pl={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},minItemWidth:{type:[String,Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},hl={name:{type:String,required:!1},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},type:{type:[String],required:!1,default:"flex"},title:{type:String,default:""},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},autoLayout:{type:[Boolean],required:!1,default:!0},isWrap:{type:[Boolean,String],required:!1,default:!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1,default:!1},markColor:{type:[String],required:!1}},gl=[];for(const e in hl)gl.push(e);function Nt(e,n=null){if(n||(n=t.getCurrentInstance()),n&&n.proxy){let o=n.proxy;Object.assign(o,e)}}const Qr=Symbol.for("InnerPageScopeKey"),Gr=(e,n)=>({inheritAttrs:!0,props:{...ue,...pl,name:{type:String,required:!1,default:""},modelValue:{type:Object,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1}},setup(o,l){const r=dl(o.name,o);if(r){const m=Ur(r,o);Nt({getPageContentHeight:()=>pn(r,m),getPageContentWidth:()=>hn(r,m),getPageHeaderHeight:()=>Yn(r,m),getPageFooterHeight:()=>Xn(r,m)});const f=t.inject(Qr,!1);m&&f&&(m.contentHeight="100%")}const i=t.computed(()=>({[e]:!0})),a=t.computed(()=>({})),s=t.getCurrentInstance(),c=m=>{const f=s?.proxy;f&&typeof f.setNameValidateRules=="function"&&f.setNameValidateRules(m,!0)};return t.watch(()=>o.rules,(m,f)=>{if(!m&&!f)return;const d=t.toRaw(f),g=t.toRaw(m),S=g?Reflect.ownKeys(g):[];(d?Reflect.ownKeys(d):[]).forEach(h=>{S.includes(h)||(g[h]=[])}),c(g)},{deep:!0}),t.onMounted(()=>{if(o.rules){const m=t.toRaw(o.rules);c(m)}}),{classes:i,styles:a}}}),{componentName:Zr,create:Jr,scope:f1}=O("page"),_r=Jr(Gr(Zr));function es(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const H=(e,n)=>{const o=e.__vccOpts||e;for(const[l,r]of n)o[l]=r;return o},yl=H(_r,[["render",es]]),ts=(e,n)=>({props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[String,Object],required:!1,default:"left"},leftText:{type:String,required:!1,default:""},titleShow:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},titleIcon:{type:[String,Object],required:!1,default:""},rightShow:{type:[String,Boolean],required:!1,default:!0},rightIcon:{type:[String,Object],required:!1,default:""},rightText:{type:String,required:!1,default:""}},emits:["back","click-title","click-right","click-right-text"],setup(o,l){const r=Me(),i=r?Wn(r):null;i&&(i.headerMounted=!0);const a=t.computed(()=>({[e]:!0})),s=o.height!==null&&o.height!==void 0?le(o.height):null,c=t.computed(()=>{const N={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&i){const V=ze(o.padding??i.footerPadding);return Object.assign(N,V),s&&(i.headerHeight=s),N.height=i.headerHeight,N.safeAreaTop=i.safeAreaTop,N.safeAreaTop&&(N.top=N.safeAreaTop+(V.top??0),N.height=N.height+i.safeAreaTop),console.debug("[header] height",N.height),console.debug("[header] safeBottom",N.safeAreaTop),N}if(s&&(N.height=s),o.padding){const V=ze(o.padding);Object.assign(N,V)}return N});t.onUnmounted(()=>{i&&(i.headerMounted=!1)});const m=t.computed(()=>{const N={};return c.value.height!==null&&c.value.height!==void 0&&(N.height=`${c.value.height}px`),c.value.top!==null&&c.value.top!==void 0&&(N.paddingTop=`${c.value.top}px`),c.value.left!==null&&c.value.left!==void 0&&(N.paddingLeft=`${c.value.left}px`),c.value.right!==null&&c.value.right!==void 0&&(N.paddingRight=`${c.value.right}px`),c.value.bottom!==null&&c.value.bottom!==void 0&&(N.paddingBottom=`${c.value.bottom}px`),N}),f=t.computed(()=>{const N={};return c.value.safeAreaTop!==null&&c.value.safeAreaTop!==void 0&&(N.top=`${c.value.safeAreaTop}px`),N}),d=t.computed(()=>{const N={};return c.value.safeAreaTop!==null&&c.value.safeAreaTop!==void 0&&(N.top=`${c.value.safeAreaTop}px`),N}),g=t.computed(()=>o.leftShow?o.leftIcon||o.leftText||l.slots.left:!1),S=t.computed(()=>!(c.value.height!==null&&c.value.height!==void 0&&c.value.height<=0)),b=t.computed(()=>o.titleShow?o.title||o.titleIcon||l.slots.default:!1),h=t.computed(()=>o.rightShow?o.rightIcon||o.rightText||l.slots.right:!1),v=t.computed(()=>{let N={};return typeof o.leftIcon=="object"?Object.assign(N,o.leftIcon):N.name=o.leftIcon,N}),u=t.computed(()=>{let N={};return typeof o.titleIcon=="object"?Object.assign(N,o.titleIcon):N.name=o.titleIcon,N}),p=t.computed(()=>{let N={};return typeof o.rightIcon=="object"?Object.assign(N,o.rightIcon):N.name=o.rightIcon,N});function C(){l.emit("back")}function y(){l.emit("click-title")}function k(){l.emit("click-right")}function w(){l.emit("click-right-text")}return{classes:a,styles:m,mHeaderShow:S,leftStyles:f,rightStyles:d,mLeftShow:g,mTitleShow:b,mRightShow:h,mLeftIcon:v,mTitleIcon:u,mRightIcon:p,handleLeft:C,handleCenter:y,handleRight:k,handleRightText:w}}}),{componentName:ns,create:os,scope:m1}=O("header-bar"),ls=os(ts(ns)),as={key:1,class:"fox-header-bar__title"};function rs(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return e.mHeaderShow?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"all",{},()=>[e.mLeftShow?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-header-bar__left",style:t.normalizeStyle(e.leftStyles)},[t.renderSlot(e.$slots,"left",{},()=>[e.leftIcon?(t.openBlock(),t.createBlock(a,{key:0,color:e.mLeftIcon.color,name:e.mLeftIcon.name,onClick:e.handleLeft},null,8,["color","name","onClick"])):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:n[0]||(n[0]=(...s)=>e.handleLeft&&e.handleLeft(...s))},t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0),e.mTitleShow?(t.openBlock(),t.createElementBlock("view",as,[t.renderSlot(e.$slots,"default",{},()=>[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"text-title",onClick:n[1]||(n[1]=(...s)=>e.handleTitle&&e.handleTitle(...s))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titleIcon?(t.openBlock(),t.createBlock(a,{key:1,class:"icon-title",color:e.mTitleIcon.color,name:e.mTitleIcon.name,onClick:e.handleCenter},null,8,["color","name","onClick"])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),e.mRightShow?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-header-bar__right",style:t.normalizeStyle(e.rightStyles)},[t.renderSlot(e.$slots,"right",{},()=>[e.rightText?(t.openBlock(),t.createElementBlock("view",{key:0,onClick:n[2]||(n[2]=(...s)=>e.handleRightText&&e.handleRightText(...s))},t.toDisplayString(e.rightText),1)):t.createCommentVNode("",!0),e.rightIcon?(t.openBlock(),t.createBlock(a,{key:1,class:"right-icon",color:e.mRightIcon.color,name:e.mRightIcon.name,onClick:e.handleRight},null,8,["color","name","onClick"])):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0)])],6)):t.createCommentVNode("",!0)}const vl=H(ls,[["render",rs]]);function ss(e,n){return{props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(o,l){const r=Me(),i=r?Wn(r):null;i&&(i.footerMounted=!0);const a=t.computed(()=>{const f=e;let d=e;return o.align==="left"?d=`${d}__left`:o.align==="right"?d=`${d}__right`:d=`${d}__center`,{[f]:!0,[d]:!0}}),s=o.height!==null&&o.height!==void 0?le(o.height):null,c=t.computed(()=>{const f={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&i){const d=ze(o.padding??i.footerPadding);return Object.assign(f,d),s&&(i.footerHeight=s),f.height=i.footerHeight,f.safeAreaBottom=i.safeAreaBottom,f.safeAreaBottom&&(f.height=f.height+i.safeAreaBottom,f.bottom=f.safeAreaBottom+(d.bottom??0)),f}if(s&&(f.height=s),o.padding){const d=ze(o.padding);Object.assign(f,d)}return f});t.onUnmounted(()=>{i&&(i.footerMounted=!1)});const m=t.computed(()=>{const f={};return c.value.height!==null&&c.value.height!==void 0&&(f.height=Z(c.value.height)),c.value.top!==null&&c.value.top!==void 0&&(f.paddingTop=Z(c.value.top)),c.value.left!==null&&c.value.left!==void 0&&(f.paddingLeft=Z(c.value.left)),c.value.right!==null&&c.value.right!==void 0&&(f.paddingRight=Z(c.value.right)),c.value.bottom!==null&&c.value.bottom!==void 0&&(f.paddingBottom=Z(c.value.bottom)),f});return{classes:a,styles:m}}}}const{componentName:is,create:cs,scope:p1}=O("footer-bar"),us=cs(ss(is));function ds(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const kl=H(us,[["render",ds]]);function fs(e,n){return{props:{padding:{type:[Object],required:!1}},setup(o){const l=Me(),r=t.computed(()=>({[e]:!0})),i=t.computed(()=>{const a={};if(l){const s=Wn(l);if(s){if(o.padding){const d=ze(o.padding);Object.assign(s.contentPadding,d)}const c=Yn(l,s),m=Xn(l,s);let f="";if(s.contentHeight?f=`${s.contentHeight}`:f=`${s.height}px`,console.debug("[content]page height:",f),console.debug("[content]header height:",c),console.debug("[content]footer height:",m),console.debug("[content]padding:",s.contentPadding),a.height=f,s.contentPadding.top||c>0){const d=(s&&s.contentPadding&&s.contentPadding.top)??0;a.paddingTop=`${c+d}px`}if(s.contentPadding.bottom||m>0){const d=(s&&s.contentPadding&&s.contentPadding.bottom)??0;a.paddingBottom=`${m+d}px`}return s.contentPadding.left&&(a.paddingLeft=`${s.contentPadding.left}px`),s.contentPadding.right&&(a.paddingRight=`${s.contentPadding.right}px`),a}}if(o.padding){const s=ze(o.padding);s.left&&(a.paddingLeft=`${s.left}px`),s.top&&(a.paddingTop=`${s.top}px`),s.right&&(a.paddingRight=`${s.right}px`),s.bottom&&(a.paddingBottom=`${s.bottom}px`)}return a});return{classes:r,styles:i}}}}const{componentName:ms,create:ps,scope:h1}=O("content"),hs=ps(fs(ms));function gs(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const Sl=H(hs,[["render",gs]]),_e="GroupStateKey",bl=Symbol.for("GroupScopeKey");function lt(){return t.inject(bl,!1)}function Xt(e=!0){t.provide(bl,e)}function ys(e,n={}){const l={type:"form",width:e.get("width",-1),column:-1,gutter:-1};Object.assign(l,n);const r=t.shallowRef(l),i=t.markRaw({layout:r,passport:0,order:{index:0}});return e.set(_e,i),i}function vo(e,n,o=-1,l=-1,r=!1,i){const a=e.get(_e);if(!a)return;const s=e.get("groupLayout")??{};o===-1&&(o=s.column??1),l===-1&&(l=s.gutter??0),i||(i=s.minItemWidth??-1),i=le(i);const c=()=>{const m=n===""||n===-1,f=le(n);let d=oe(o);const g=le(l);if(!m){let h=(f-(d-1)*g)/d;for(;i!==-1&&d>1&&h<i;)d--,h=(f-(d-1)*g)/d}let S=!1;const b=a.layout;b.value.width=n,b.value.column!==d&&(b.value.column=d,S=!0),b.value.gutter!==g&&(b.value.gutter=g,S=!0),S&&t.triggerRef(b)};if(r)c();else{const m=++a.passport;setTimeout(()=>{m===a.passport&&c()},50)}}function je(e,n=!1){let o;return n?o=e.getForParent(_e):o=e.get(_e),o.layout}function Qn(e,n=!1){let o;return n?o=e.getForParent(_e):o=e.get(_e),o.order}function fe(e,n=1){return n==="stretch"?-1:(n=oe(n),n===-1?100:100*n/e)}function vs(e){return e===window}const be=e=>{const n=t.unref(e);if(vs(n)){const o=n.innerWidth,l=n.innerHeight;return{top:0,left:0,right:o,bottom:l,width:o,height:l}}return n&&n.getBoundingClientRect?n.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}};class Gn{seed=new Date().getTime();constructor(n){this.seed=n??new Date().getTime()}get(){let n=this.seed++;return this.seed<0&&(this.seed=0),n}}new Gn;const Re=(e,n)=>e?n?`fox-group__${e}-${n}`:"":`fox-group__${n}`,ks=e=>{if(!e.props||e.props.span===null||e.props.span===void 0){const n=e.type,o=(n.props&&n.props.span&&n.props.span.default)??1;return typeof o=="function"?o():o}return e.props.span},Ss=e=>{if(!e.props||e.props.offset===null||e.props.offset===void 0){const o=e.type,l=(o.props&&o.props.offset&&o.props.offset.default)??0;return typeof l=="function"?l():l}const n=oe(e.props.offset);return n<0?0:n},bs=e=>{if(!e.props||e.props.foxItemType===null||e.props.foxItemType===void 0){const n=e.type,o=(n.props&&n.props.foxItemType&&n.props.foxItemType.default)??"Item";return typeof o=="function"?o():o}return e.props.foxItemType??"Item"},Cs=e=>{if(!e.props||e.props.foxSubItemCount===null||e.props.foxSubItemCount===void 0){const o=e.type,l=(o.props&&o.props.foxSubItemCount&&o.props.foxSubItemCount.default)??"Item";return typeof l=="function"?l():l}const n=oe(e.props.foxSubItemCount);return n<0?1:n},{componentName:ws,create:Ns}=O("group"),Cl=Ns({props:{...ue,...pl,...hl},setup(e,n){const o=dl(e.name,e,gl),l=ys(o,{type:e.type}),r=lt();Xt(!0);const i=t.computed(()=>r&&o?je(o,!0).value:null),a=t.getCurrentInstance(),s=y=>{const k=a?.proxy;k&&typeof k.setNameValidateRules=="function"&&k.setNameValidateRules(y,!0)};t.watch(()=>e.rules,(y,k)=>{if(!y&&!k)return;const w=t.toRaw(k),N=t.toRaw(y),V=N?Reflect.ownKeys(N):[];(w?Reflect.ownKeys(w):[]).forEach(E=>{V.includes(E)||(N[E]=[])}),s(N)},{deep:!0}),t.onMounted(()=>{if(e.rules){const y=t.toRaw(e.rules);s(y)}});const c=ws,m=t.computed(()=>{const y={};if(i.value){const k=je(o,!0);if(k.value.type==="flex"){if(e.width){const V=Z(e.width);y.width=V}else{const V=fe(k.value.column,e.span);V>0&&(y.width=`${V}%`)}if(e.height){const V=Z(e.height);y.height=V}const w=fe(k.value.column,e.offset);w>0&&(y["margin-left"]=`${w}%`);const N=k.value.gutter/2;N>0&&(y["padding-left"]=`${N}px`,y["padding-right"]=`${N}px`)}else if(k.value.type==="flow"){if(e.width){const V=Z(e.width);y.width=V}else{const V=fe(k.value.column,e.span);V>0&&(y.width=`${V}%`)}if(e.height){const V=Z(e.height);y.height=V}const w=fe(k.value.column,e.offset);w>0&&(y["margin-left"]=`${w}%`);const N=k.value.gutter/2;if(N>0){const V=o?Qn(o,!0):null;if(V){let A=oe(e.offset)+oe(e.span);(A===-1||A>k.value.column)&&(A=k.value.column);const E=Math.ceil((V.index+1)/k.value.column),q=Math.ceil((V.index+A)/k.value.column);if(E===q){const U=(V.index+1)%k.value.column,L=(V.index+A)%k.value.column,z=U===1?0:N,$=L===0?0:N;y["padding-left"]=`${z}px`,y["padding-right"]=`${$}px`}else{const U=A%k.value.column,L=0,z=U===0?0:N;y["padding-left"]=`${L}px`,y["padding-right"]=`${z}px`}V.index+=A}else y["padding-left"]=`${N}px`,y["padding-right"]=`${N}px`}}}else{if(e.width){const k=Z(e.width);y.width=k}if(e.height){const k=Z(e.height);y.height=k}}return y}),f=t.computed(()=>e.type==="flex"?{[`${Re("",e.type)}`]:!0,[`${Re("justify",e.justify)}`]:!0,[`${Re("align",e.align)}`]:!0,[`${Re("flex",e.flexWrap)}`]:!0,[`${c}__gutter`]:!0}:e.type==="flow"?{[`${Re("",e.type)}`]:!0,[`${Re("justify",e.justify)}`]:!0,[`${Re("align",e.align)}`]:!0}:{[`${Re("",e.type)}`]:!0,[`${c}__gutter`]:!0}),d=t.toRef(e,"title"),g=t.toRef(e,"gutter"),S=t.toRef(e,"column"),b=t.computed(()=>r?!0:ve(e.isWrap)),h=t.ref([]),v=y=>{h.value.push(y)},u=t.ref(-1);if(vo(o,u.value,S.value,g.value,!0,e.minItemWidth),e.autoLayout){t.watch([u,S,g],([k,w,N])=>{l.order.index=0,vo(o,k,w,N,!1,e.minItemWidth)});let y=null;t.onMounted(()=>{if(Ye&&h.value&&h.value.length>0){const k=h.value[0];u.value=be(k).width,window.ResizeObserver&&(y=new window.ResizeObserver(()=>{const w=be(k).width;w>0&&w!==u.value&&(u.value=w)}),y.observe(k))}}),t.onUnmounted(()=>{y?.disconnect()})}const p=(y,k,w,N)=>{const V={...f.value};return k===0&&(V[`${c}__first`]=!0),w>=N-1&&(V[`${c}__last`]=!0),t.h("view",{ref:v,key:`${k}`,class:V},y)},C=y=>{if(typeof y.type=="symbol"){if(Array.isArray(y.children)){const k=[...y.children];for(let w=k.length-1;w>=0;w--){const N=k[w],V=C(N);V===null?k.splice(w,1):V.length>0&&Reflect.apply([].splice,k,[w,1,...V])}return k}return null}return[]};return()=>{l.order.index=0;const y=[];let k=0;if(n.slots.title){const A={key:`${k++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},E=t.h("view",A,[n.slots.title()]);y.push(E)}else if(d.value){const A={key:`${k++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},E=[];if(e.showMark){const L={class:{[`${c}__title-mark`]:!0}};e.markColor&&(L.style={background:e.markColor});const z=t.h("view",L);E.push(z)}const q=t.h("view",{class:{[`${c}__title-text`]:!0}},[d.value]);E.push(q);const U=t.h("view",A,E);y.push(U)}const w=n.slots.default?n.slots.default():[];let N=[],V=0;if(e.type==="flex"){for(let A=0;A<w.length;A++){const E=C(w[A]);if(E===null)continue;E.length>0&&Reflect.apply([].splice,w,[A,1,...E]);const q=w[A];if(bs(q)==="fragment"){let I=Cs(q);I>l.layout.value.column?I=l.layout.value.column:I<=0&&(I=1);const P=V+I;if(P>l.layout.value.column){const B=p([...N],k++,A-1,w.length);y.push(B),V=I,N=[q]}else N.push(q),V=P;continue}const L=ks(q),z=Ss(q);if(L==="stretch"){if(V<l.layout.value.column){N.push(q);const I=p([...N],k++,A,w.length);y.push(I)}else{const I=p([...N],k++,A-1,w.length);y.push(I);const P=p([q],k++,A,w.length);y.push(P)}V=0,N=[];continue}let $=oe(L);if($===-1){if(N.length>0){const P=p([...N],k++,A-1,w.length);y.push(P)}const I=p([q],k++,A,w.length);y.push(I),V=0,N=[];continue}$>l.layout.value.column?$=l.layout.value.column:$<=0&&($=1);const D=V+$+z;if(D>l.layout.value.column){const I=p([...N],k++,A-1,w.length);y.push(I),V=$+z,N=[q]}else N.push(q),V=D}if(N.length>0){const A=p([...N],k++,w.length,w.length);y.push(A)}}else if(e.type==="flow"){const A=p(w,k++,0,w.length);y.push(A)}else for(let A=0;A<w.length;A++){const E=w[A],q=p([E],k++,A,w.length);y.push(q)}return b.value?t.h("view",{class:{[`${c}`]:!0},style:m.value},[y]):y}}}),wl={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"¥"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:[Number,String],required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:Bs,create:Vs}=O("price"),As=Vs({props:{...wl},setup(e){const n=t.computed(()=>({[Bs]:!0})),o=t.computed(()=>e.needSymbol?e.symbol:""),l=t.computed(()=>ce(e.price)==0?"":Fn(e.price,e.decimalLength,!0,oe(e.digits),e.separator)),r=t.computed(()=>{let a=l.value;if(a.length==0)return"";let s=a.indexOf(".");return a.substring(0,s)}),i=t.computed(()=>{let a=l.value;if(a.length==0)return"";let s=a.indexOf(".");return a.substring(s+1)});return{classes:n,showSymbol:o,intText:r,decimalText:i}}}),Es=["innerHTML"],Ts=["innerHTML"];function $s(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Es)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(`fox-price--${e.size}`)},t.toDisplayString(e.intText),3),e.decimalText.length!=0?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(`fox-price--decimal-${e.size}`)},t.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Ts)):t.createCommentVNode("",!0)],2)}const Ft=H(As,[["render",$s]]),{componentName:tn,create:Ds}=O("hint-text"),Is=Ds({components:{[Ft.name]:Ft},props:{...wl,type:{type:String,default:"number"},id:{type:String},startPoint:{type:Object},width:{type:Number},height:{type:Number,default:40},autoFit:{type:Boolean,default:!0},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,n){const r=t.ref(0),i=t.computed(()=>({[tn]:!0})),a=t.ref(null),s=(S,b,h=10)=>{Ye&&(!e.autoFit||b===!1||!S||setTimeout(()=>{if(!a.value)return;const v=document.documentElement.clientWidth||document.body.clientWidth,u=a.value.offsetWidth;let p=v-(u+le(e.startPoint.x));p<0?r.value=p:r.value=0},h))};t.watch([()=>e.message,()=>e.visible],([S,b])=>{s(S,b)}),t.onMounted(()=>{s(e.message,e.visible)});const c=t.computed(()=>{let S={left:`${le(e.startPoint.x)+r.value}px`,top:Z(e.startPoint.y-e.height-10-4),height:Z(e.height)};return e.autoFit?S["min-width"]=Z(e.width):S.width=Z(e.width),S}),m=t.computed(()=>({[`${tn}__content`]:!0})),f=t.computed(()=>({})),d=t.computed(()=>({[`${tn}__arrow`]:!0})),g=t.computed(()=>({top:`${le(e.height)}px`,left:`${le(-r.value+20)}px`}));return{tipRef:a,classes:i,styles:c,textClasses:m,textStyles:f,arrowClasses:d,arrowStyles:g}}}),qs={key:1,class:"text"};function zs(e,n,o,l,r,i){const a=t.resolveComponent("fox-price");return t.openBlock(),t.createBlock(t.Transition,{name:"hint-text-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{ref:"tipRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("view",{class:t.normalizeClass(e.textClasses),style:t.normalizeStyle(e.textStyles)},[e.type=="number"?(t.openBlock(),t.createBlock(a,{key:0,price:e.message,position:"before"},null,8,["price"])):(t.openBlock(),t.createElementBlock("span",qs,t.toDisplayString(e.message),1))],6),t.createElementVNode("view",{class:t.normalizeClass(e.arrowClasses),style:t.normalizeStyle(e.arrowStyles)},null,6)],6),[[t.vShow,e.visible]])]),_:1})}const Qt=H(Is,[["render",zs]]);function Ms(e){return e===window}const Ps=/matrix\((.+)\)/,xs=e=>{const n=t.unref(e);if(!n)return{x:0,y:0};if(Ms(n))return{x:0,y:0};let o=0,l=0,r=n;for(;r!==null;)o+=r.offsetLeft,l+=r.offsetTop,r=r.offsetParent;let i=0,a=0,s=0,c=0;for(r=n;r!==document;){a+=r.scrollTop,i+=r.scrollLeft;const{transform:m}=window.getComputedStyle(r);if(m){const f=Ps.exec(m);if(f){let g=f[1].split(/\s*,\s*/);g.length==6&&(s+=Number(g[4]),c+=Number(g[5]))}}r=r.parentNode}return o-=i,l-=a,o+=s,l+=c,{x:o,y:l}},yn={},Rs=new Gn,Je=new Map,vn=e=>{if(e){const n=document.getElementById(e);Je.delete(e),n&&document.body.removeChild(n)}else{for(const n of Je.keys()){const o=document.getElementById(n);o&&document.body.removeChild(o)}Je.clear()}},Ls=e=>{const n=document.getElementById(e.id);if(n){const o=Je.get(e.id);o?e={...yn,...o,...e}:e={...yn,...e};const l=t.createVNode(Qt,e);return t.render(l,n),e.id}},Os=e=>{e.unmount=vn;let n;if(e.id){if(n=e.id,Je.has(n))return Ls(e)}else n=`hinttext_${Rs.get()}`;e={...yn,...e},e.id=n,Je.set(n,e);const o=document.createElement("div");o.id=e.id;const l=t.createVNode(Qt,e);return t.render(l,o),document.body.appendChild(o),n},Fs=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},zt={show(e,n,o={},l=!0){l&&vn(),Fs(n);const r=xs(e),i={x:r.x,y:r.y},a=o.width??be(e).width;return Os({...o,message:n,startPoint:i,width:a})},hide(e){vn(e)},install(e){e.config.globalProperties.$hintText=zt}},{componentName:ko,create:Us}=O("item"),Ks=Us({inheritAttrs:!0,props:{...ue,...me},setup(e,n){Ce({componentName:ko,validate:!1},e.prop??n.attrs.name);const o=Me(),l=lt();Xt(!1);const r=t.computed(()=>l&&o?je(o,!1).value:null),i=ko,a=t.computed(()=>{const B={[i]:!0,[`${i}__gutter`]:r.value&&r.value.type!=="flow",[`${i}__stretch`]:e.span==="stretch",[`${i}__input--border`]:e.hasBorder};return B[e.errorMarkClass]=!!A.value,B[e.warnMarkClass]=!!N.value,B[e.infoMarkClass]=!!k.value,B}),s=t.computed(()=>{const B={};if(r.value)if(r.value.type==="flex"){if(e.width)B.width=Z(e.width);else{const T=fe(r.value.column,e.span);T>0&&(B.width=`${T}%`)}const x=fe(r.value.column,e.offset);x>0&&(B["margin-left"]=`${x}%`);const R=r.value.gutter/2;R>0&&(B["padding-left"]=`${R}px`,B["padding-right"]=`${R}px`)}else if(r.value.type==="flow"){if(e.width)B.width=Z(e.width);else{const T=fe(r.value.column,e.span);T>0&&(B.width=`${T}%`)}const x=fe(r.value.column,e.offset);x>0&&(B["margin-left"]=`${x}%`);const R=r.value.gutter/2;if(R>0){const T=o?Qn(o,!1):null;if(T){let F=oe(e.offset)+oe(e.span);(F===-1||F>r.value.column)&&(F=r.value.column);const M=Math.ceil((T.index+1)/r.value.column),K=Math.ceil((T.index+F)/r.value.column);if(M===K){const j=(T.index+1)%r.value.column,W=(T.index+F)%r.value.column,Y=j===1?0:R,X=W===0?0:R;B["padding-left"]=`${Y}px`,B["padding-right"]=`${X}px`}else{const j=F%r.value.column,W=0,Y=j===0?0:R;B["padding-left"]=`${W}px`,B["padding-right"]=`${Y}px`}T.index+=F}else B["padding-left"]=`${R}px`,B["padding-right"]=`${R}px`}}else return e.width&&(B.width=Z(e.width)),B;else e.width&&(B.width=Z(e.width));return B}),c=t.ref(null),m=t.computed({get:()=>c.value??ve(e.isRequired),set:B=>{c.value=B}}),f=t.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof n.slots.label=="function"),d=Se(t.toRef(e,"labelPosition"),"labelPosition",He.Near),g=t.computed(()=>d&&d.value==="top"?"top":d&&d.value==="right"?"right":"left"),S=t.computed(()=>({[`${i}__main`]:!0,[`${i}__main--${g.value}`]:!0})),b=t.computed(()=>({label:!0,[`label--${g.value}`]:!0})),h=Se(t.toRef(e,"labelWidth"),"labelWidth",He.Near),v=t.computed(()=>h&&h.value?{width:`${Z(h.value)}`}:{}),u=t.computed(()=>({["label--string"]:!0,["label--required"]:m.value})),p=t.computed(()=>({content:!0,[e.contentClass]:!0})),C=t.computed(()=>({...e.contentStyle})),y=t.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});Nt({setRequired(B){m.value=B},setErrorTip(B){y.errorTip=B},setErrorIcon(B){y.errorIcon=B},setWarnTip(B){y.warnTip=B},setWarnIcon(B){y.warnIcon=B},setInfoTip(B){y.infoTip=B},setInfoIcon(B){y.infoIcon=B}});const k=t.computed(()=>e.infoTip||y.infoTip),w=t.computed(()=>e.infoIcon||y.infoIcon),N=t.computed(()=>e.warnTip||y.warnTip),V=t.computed(()=>e.warnIcon||y.warnIcon),A=t.computed(()=>e.errorTip||y.errorTip),E=t.computed(()=>e.errorIcon||y.errorIcon),q=t.computed(()=>A.value?"error":N.value?"warn":k.value?"info":""),U=t.computed(()=>q.value.length>0),L=t.computed(()=>q.value==="error"?A.value:q.value==="warn"?N.value:q.value==="info"?k.value:""),z=t.computed(()=>q.value==="error"?E.value:q.value==="warn"?V.value:q.value==="info"?w.value:null),$=t.computed(()=>{let B={[`${i}__tip`]:!0,[`${i}__tip--${q.value}`]:!0};return q.value==="error"&&e.errorClass?B[`${e.errorClass}`]=!0:q.value==="warn"&&e.warnClass?B[`${e.warnClass}`]=!0:q.value==="info"&&e.infoClass&&(B[`${e.infoClass}`]=!0),B}),D=t.computed(()=>{let B={};return d&&d.value==="top"?B["padding-left"]="0px":h&&h.value&&(B["padding-left"]=Z(h.value)),B}),I=t.ref();let P="";return t.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([B,x,R,T])=>{I.value&&(B&&!ye(x)?P?zt.show(I.value,x,{...T,id:P,type:R}):P=zt.show(I.value,x,{...T,type:R}):zt.hide(P))}),{classes:a,styles:s,mainClasses:S,hasLabel:f,labelClasses:b,labelStyles:v,labelStringClasses:u,contentClasses:p,contentStyles:C,contentRef:I,hasTip:U,mTip:L,mIcon:z,tipClasses:$,tipStyles:D}}}),Hs={class:"text"};function js(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("view",{class:t.normalizeClass(e.mainClasses)},[e.hasLabel?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.labelClasses),style:t.normalizeStyle(e.labelStyles)},[t.createElementVNode("view",{class:t.normalizeClass(e.labelStringClasses)},[t.renderSlot(e.$slots,"label",{},()=>[t.createTextVNode(t.toDisplayString(e.label),1)])],2)],6)):t.createCommentVNode("",!0),t.createElementVNode("view",{ref:"contentRef",class:t.normalizeClass(e.contentClasses),style:t.normalizeStyle(e.contentStyles)},[t.renderSlot(e.$slots,"prepend"),t.renderSlot(e.$slots,"default"),t.renderSlot(e.$slots,"append")],6)],2),t.createVNode(t.Transition,{name:"fox-item__animate"},{default:t.withCtx(()=>[e.hasTip?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.tipClasses),style:t.normalizeStyle(e.tipStyles)},[e.mIcon?(t.openBlock(),t.createBlock(a,{key:0,class:"icon",name:e.mIcon},null,8,["name"])):t.createCommentVNode("",!0),t.createElementVNode("view",Hs,t.toDisplayString(e.mTip),1)],6)):t.createCommentVNode("",!0)]),_:1}),t.renderSlot(e.$slots,"hide")],6)}const Te=H(Ks,[["render",js]]);function Ws(e,n){return{props:{span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]},divide:{type:[Boolean],required:!1,default:!1}},setup(o,l){const r=e,i=t.computed(()=>({[r]:!0,[`${r}__stretch`]:o.span==="stretch",[`${r}__${o.align}`]:!0})),a=Me(),s=lt();Xt(!1);const c=t.computed(()=>{const f={};if(s&&a){const d=je(a,!1);if(d.value.type!=="flex")return o.width&&(f.width=Z(o.width)),f;if(o.width)f.width=Z(o.width);else{const b=fe(d.value.column,o.span);b>0&&(f.width=`${b}%`)}const g=fe(d.value.column,o.offset);g>0&&(f["margin-left"]=`${g}%`);const S=d.value.gutter/2;S>0&&(f["padding-left"]=`${S}px`,f["padding-right"]=`${S}px`)}else o.width&&(f.width=Z(o.width));return f}),m=t.computed(()=>({[`${r}__content`]:!0}));return()=>{const f=[];if(l.slots.default){const b=l.slots.default();if(o.divide)for(let h=0;h<b.length;h++){if(h>0){const v=t.h("view",{class:{[`${r}__divide`]:!0}});f.push(v)}f.push(b[h])}else Reflect.apply([].push,f,b)}const d={class:m.value},g=t.h("view",d,f),S={class:i.value,style:c.value};return t.h("view",S,[g])}}}}const{componentName:Ys,create:Xs,scope:g1}=O("row-item"),Nl=Xs(Ws(Ys));function Qs(e,n){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1}},setup(o,l){const r=Me(),i=lt();Xt(!1);const a=t.computed(()=>i&&r?je(r,!1).value:null),s=e,c=t.computed(()=>({[s]:!0,[`${s}__gutter`]:a.value&&a.value.type!=="flow",[`${s}__stretch`]:o.span==="stretch"})),m=t.computed(()=>{const f={};if(a.value)if(a.value.type==="flex"){if(o.width)f.width=Z(o.width);else{const S=fe(a.value.column,o.span);S>0&&(f.width=`${S}%`)}const d=fe(a.value.column,o.offset);d>0&&(f["margin-left"]=`${d}%`);const g=a.value.gutter/2;g>0&&(f["padding-left"]=`${g}px`,f["padding-right"]=`${g}px`)}else if(a.value.type==="flow"){if(o.width)f.width=Z(o.width);else{const S=fe(a.value.column,o.span);S>0&&(f.width=`${S}%`)}const d=fe(a.value.column,o.offset);d>0&&(f["margin-left"]=`${d}%`);const g=a.value.gutter/2;if(g>0){const S=r?Qn(r,!1):null;if(S){let b=oe(o.offset)+oe(o.span);(b===-1||b>a.value.column)&&(b=a.value.column);const h=Math.ceil((S.index+1)/a.value.column),v=Math.ceil((S.index+b)/a.value.column);if(h===v){const u=(S.index+1)%a.value.column,p=(S.index+b)%a.value.column,C=u===1?0:g,y=p===0?0:g;f["padding-left"]=`${C}px`,f["padding-right"]=`${y}px`}else{const u=b%a.value.column,p=0,C=u===0?0:g;f["padding-left"]=`${p}px`,f["padding-right"]=`${C}px`}S.index+=b}else f["padding-left"]=`${g}px`,f["padding-right"]=`${g}px`}}else return o.width&&(f.width=Z(o.width)),f;else o.width&&(f.width=Z(o.width));return f});return()=>{const f={class:c.value,style:m.value};return l.slots&&typeof l.slots.default=="function"?t.h("view",f,l.slots.default()):t.h("view",f)}}}}const{componentName:Gs,create:Zs,scope:y1}=O("slot-item"),Bl=Zs(Qs(Gs)),{componentName:So,create:Js}=O("icon"),re=Js({props:{name:{type:String,default:""},size:{type:[String,Number],default:""},classPrefix:{type:String,default:"fox-icon"},fontClassName:{type:String,default:"foxui-iconfont"},color:{type:String,default:""},tag:{type:String,default:"i"}},emits:["click"],setup(e,{emit:n,slots:o}){const l=i=>{n("click",i)},r=t.computed(()=>e.name?e.name.indexOf("/")!==-1:!1);return()=>{const i=r.value;return t.h(i?"img":e.tag,{class:i?`${So}__img`:`${e.fontClassName} ${So} ${e.classPrefix}-${e.name}`,style:{color:e.color,fontSize:Z(e.size),width:Z(e.size),height:Z(e.size)},onClick:l,src:i?e.name:""},o.default?.())}}}),bo={type:{type:String,default:"text"},modelValue:{type:[String,Number],default:""},placeholder:{type:String,default:""},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function _s(e,n,o,l){return{props:{...ue,...me,...bo},emits:["change","update:modelValue","blur","focus","clear"],setup(r,i){const{emitEvent:a}=Ce({componentName:e},r.prop??i.attrs.name),{toLocaleRefs:s}=_.useFoxI18n(n),c=s(r,["placeholder"]),m=t.ref(!1),f=Ee(t.computed(()=>r.disabled)),d=Pe(t.computed(()=>r.readonly)),g=Ie(r,"modelValue"),S=e,b=t.computed(()=>({[S]:!0,[`${S}__disabled`]:f.value,[`${S}__readonly`]:d.value})),h=Se(t.computed(()=>r.textAlign),"textAlign"),v=t.computed(()=>m.value?{textAlign:"left"}:{textAlign:h.value??"right"}),u=z=>{let D=z.target.value;r.type==="digit"&&(D=mn(D,!0)),r.type==="number"&&(D=mn(D,!1)),r.maxLength&&D.length>Number(r.maxLength)&&(D=D.slice(0,Number(r.maxLength))),g.value=D,a("update:modelValue",D,z),a("change",D,z)};let p=Ie(r,"hintText"),C=t.ref(!1);const y=z=>{let D=z.target.value;m.value=!0,ye(p.value)||(C.value=!0),a("focus",D,z)},k=z=>{setTimeout(()=>{C.value&&(C.value=!1),m.value=!1},0);let D=z.target.value;r.maxLength&&D.length>Number(r.maxLength)&&(D=D.slice(0,Number(r.maxLength))),a("blur",D,z)},w=t.computed(()=>({[`${S}__append`]:!0})),N=t.computed(()=>ce(r.unit)>0),V=t.computed(()=>!U.value),A=t.computed(()=>({hidden:!V.value})),E=z=>{g.value="",a("update:modelValue","",z),a("change","",z),a("clear","")},q=t.computed(()=>ve(r.clearable)&&!f.value&&!d.value),U=t.computed(()=>{let z=ce(g.value)>0;return ve(r.clearable)&&z&&m.value}),L=t.computed(()=>({action:!0,hidden:!U.value}));return()=>{const z={class:b.value,style:v.value,type:r.type,maxlength:r.maxLength,placeholder:c.placeholder.value,disabled:f.value,readonly:d.value,value:g.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onInput:u,onFocus:y,onBlur:k},$=[],D=t.h("input",z);$.push(D);const I=[];if(q.value){const M={name:"close-little",size:"10px"},K=t.h(l,M),j={class:L.value,onClick:E},W=t.h("view",j,{default:()=>[K]});I.push(W)}if(N.value){const M=t.h("view",{class:A.value},[r.unit]);I.push(M)}const P={class:w.value},B=t.h("view",P,{default:()=>I});$.push(B);const x={default:()=>$};if(i.slots.default){const M=i.slots.default();x.label=()=>M}if(i.slots.prepend){const M=i.slots.prepend();x.prepend=()=>M}if(i.slots.append){const M=i.slots.append();x.append=()=>M}const T={...cl(r,bo),hintText:p.value,hintVisible:C.value};return t.h(o,T,x)}}}}const{componentName:ei,create:ti,scope:ni}=O("input-item"),Vl=ti(_s(ei,ni,Te,re));function Co(e,n=0){let o=`${e}`,l=o.indexOf(".");if(l==-1)return o;let r=l;for(let i=o.length-1;i>=l;i--)if(o.charAt(i)!="0"){r=i;break}return r-l<n?r=l+n+1:r!=l&&(r+=1),r>o.length?o=o.padEnd(r,"0"):o=o.substring(0,r),o}function wo(e,n,o=20){if(typeof n=="string"&&(n=oe(n)),n==1||n==-1)return`${e}`;if(n==0)return"0";if(n>0){let l=Go(`${e}`,`${n}`);return Co(l)}else{let l=On(`${e}`,Zo(`${n}`),20);return Co(l)}}function oi(e,n=-1,o=!1,l=3,r=","){return Fn(e,n,o,l,r)}function No(e,n,o,l,r=!0){if(e=="")return"";if(e=Jo(e),n=oe(n),n==1)return e;if(l)e=wo(e,n),o&&(e=="0"&&r?e=`${e}.`.padEnd(oe(o)+2,"0"):e=On(e,1,oe(o)));else{let i=-1*n;e=wo(e,i)}return e}function Bo(e,n){let o={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let l=ve(n.minInclude),r=cn(e,n.min);if(l&&r==-1||!l&&(r==0||r==-1)){let i="请输入不小于 {0} 的数值";o.message=i.replace("{0}",n.min),o.minValid=!1}}if(n.max!=null){let l=ve(n.maxInclude),r=cn(e,n.max);(l&&r==1||!l&&(r==0||r==1))&&(o.maxValid=!1)}return o}function li(e,n,o,l){return{props:{...ue,...me,clearable:{type:Boolean,default:!0},modelValue:{type:[String,Number],default:""},showTip:{type:[Boolean,String],required:!1,default:!0},min:{type:[Number,String],required:!1},minInclude:{type:[Boolean,String],required:!1,default:!0},max:{type:[Number,String],required:!1},maxInclude:{type:[Boolean,String],required:!1,default:!0},unit:{type:String,required:!1},rates:{type:[Number,String],required:!1,default:1},precision:{type:[Number,String],required:!1},integerLength:{type:[Number,String],required:!1,default:-1},decimalLength:{type:[Number,String],required:!1,default:2},autoPadding:{type:Boolean,required:!1,default:!0},digits:{type:Number,required:!1,default:3},separator:{type:String,required:!1,default:","},placeholder:{type:String,required:!1,default:""},textAlign:{type:String,required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}},emits:["change","update:modelValue","blur","focus","clear"],setup(r,i){const{emitEvent:a}=Ce({componentName:e},r.prop??i.attrs.name),s=t.ref(!1),c=Ee(t.computed(()=>r.disabled)),m=Pe(t.computed(()=>r.readonly)),f=Ie(r,"modelValue"),d=t.ref("");t.watch([()=>f.value,()=>r.rates,()=>r.precision],([P,B,x])=>{if(ye(P)){d.value="";return}const R=No(P,B,x,!1);d.value!==R&&(d.value=R)},{immediate:!0});const g=t.computed(()=>{let P="";return s.value&&(P=d.value),P}),{t:S}=_.useFoxI18n(n),b=t.computed(()=>{let P=r.placeholder??"";return!s.value&&!ye(d.value)?P=oi(d.value,r.decimalLength,r.autoPadding,r.digits,r.separator):P=S(["placeholder",P]),P}),h=e,v=t.computed(()=>({[h]:!0,[`${h}__disabled`]:c.value,[`${h}__placeholder`]:d.value.length>0})),u=Se(t.computed(()=>r.textAlign),"textAlign"),p=t.computed(()=>s.value?{textAlign:"left"}:{textAlign:u.value??"right"}),C=t.ref(""),y=t.computed(()=>{let P=C.value;return ye(P)&&(P=r.errorTip??""),P}),k=t.ref(""),w=t.ref(!1),N=P=>{let x=P.target.value;if(ye(x)){d.value="",f.value="",a("update:modelValue","",P),a("change","",P),ve(r.showTip)&&w.value&&(w.value=!1);return}if(x.length>=2){let R=x;if(R.charAt(0)=="-"&&(R=R.substring(1)),R.length>=2&&R.charAt(0)=="0"&&R.charAt(1)!="."){t.triggerRef(d);return}}if(x!="-"){if(!al(x)){t.triggerRef(d);return}if(r.integerLength!=-1&&rl(x)>Number(r.integerLength)){t.triggerRef(d);return}if(r.decimalLength&&r.decimalLength!=-1&&sl(x)>Number(r.decimalLength)){t.triggerRef(d);return}let R=Bo(x,r);if(R.maxValid===!1){C.value=R.message,t.triggerRef(d);return}}else if(r.min!=null&&oe(r.min)>=0){t.triggerRef(d);return}k.value=x,ve(r.showTip)&&(w.value=x.length>0),d.value=x,f.value=No(x,r.rates,r.precision,!0),a("update:modelValue",f.value,P),a("change",f.value,P)},V=P=>{if(s.value=!0,ve(r.showTip)){let B=d.value;ye(B)&&(B=r.hintText),ye(B)||(k.value=B,w.value=!0)}C.value="",a("focus",f.value,P)},A=P=>{if(setTimeout(()=>{s.value=!1,ve(r.showTip)&&w.value===!0&&(w.value=!1)},0),!ye(d.value)){let B=Bo(d.value,r);if(B.minValid===!1||B.maxValid){C.value=B.message;return}}a("update:modelValue",f.value,P),a("blur",f.value,P)},E=t.computed(()=>({[`${h}__append`]:!0})),q=t.computed(()=>ce(r.unit)>0),U=t.computed(()=>!D.value),L=t.computed(()=>({hidden:!U.value})),z=P=>{f.value="",a("update:modelValue","",P),a("change","",P),a("clear","")},$=t.computed(()=>ve(r.clearable)&&!c.value&&!m.value),D=t.computed(()=>{let P=ce(f.value)>0;return ve(r.clearable)&&P&&s.value}),I=t.computed(()=>({action:!0,hidden:!D.value}));return()=>{let P={class:v.value,style:p.value,type:"digit",maxlength:r.maxLength,placeholder:b.value,disabled:c.value,readonly:m.value,value:g.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onInput:N,onFocus:V,onBlur:A},B=[],x=t.h("input",P);B.push(x);let R=[];if($.value){let W={name:"close-little",size:"10px"},Y=t.h(l,W),X={class:I.value,onClick:z},G=t.h("view",X,{default:()=>[Y]});R.push(G)}if(q.value){let W=t.h("view",{class:L.value},[r.unit]);R.push(W)}let T={class:E.value},F=t.h("view",T,{default:()=>R});B.push(F);let M={default:()=>B};if(i.slots.default){let W=i.slots.default();M.label=()=>W}if(i.slots.prepend){let W=i.slots.prepend();M.prepend=()=>W}if(i.slots.append){let W=i.slots.append();M.append=()=>W}let K={...r,errorTip:y.value,hintText:k.value,hintVisible:w.value,hintType:"number"};return t.h(o,K,M)}}}}const{componentName:ai,create:ri,scope:si}=O("money-item"),Al=ri(li(ai,si,Te,re)),kn={modelValue:{type:[String,Number],default:""},textAlign:{type:String,default:""},limitShow:{type:Boolean,default:!1},maxLength:{type:[String,Number],default:""},rows:{type:[String,Number],default:"2"},placeholder:{type:String,default:""},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autosize:{type:[Boolean,Object],default:!1},autofocus:{type:Boolean,default:!1}},{componentName:ii,create:ci,scope:ui}=O("textarea"),di=ci({props:{...kn},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:n}){let{toLocaleRefs:o}=_.useFoxI18n(ui);const l=o(e,["placeholder"]),r=t.ref(),i=t.computed(()=>{const g=ii;return{[g]:!0,[`${g}--disabled`]:e.disabled}});t.onMounted(()=>{e.modelValue&&c(String(e.modelValue)),e.autosize&&t.nextTick(s)});const a=t.computed(()=>({textAlign:e.textAlign})),s=()=>{let g=r.value;g.style.height="auto";let S=g.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:b,minHeight:h}=e.autosize;b!==void 0&&(S=Math.min(S,b)),h!==void 0&&(S=Math.max(S,h))}S&&(g.style.height=S+"px")};t.watch(()=>e.modelValue,()=>{e.autosize&&t.nextTick(s)});const c=(g,S)=>{e.maxLength&&g.length>Number(e.maxLength)&&(g=g.substring(0,Number(e.maxLength))),n("update:modelValue",g,S),n("change",g,S)};return{...l,textareaRef:r,classes:i,styles:a,change:g=>{const S=g.target;c(S.value,g)},focus:g=>{e.disabled||e.readonly||n("focus",g)},blur:g=>{if(e.disabled||e.readonly)return;let b=g.target.value;c(b,g),n("blur",{value:b,event:g})}}}}),fi=["rows","disabled","readonly","value","maxlength","placeholder","autofocus"],mi={key:0,class:"fox-textarea__limit"};function pi(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("textarea",{ref:"textareaRef",class:"fox-textarea__textarea",style:t.normalizeStyle(e.styles),rows:e.rows,disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:n[0]||(n[0]=(...a)=>e.change&&e.change(...a)),onBlur:n[1]||(n[1]=(...a)=>e.blur&&e.blur(...a)),onFocus:n[2]||(n[2]=(...a)=>e.focus&&e.focus(...a)),maxlength:e.maxLength,placeholder:e.placeholder,autofocus:e.autofocus},null,44,fi),e.limitShow?(t.openBlock(),t.createElementBlock("view",mi,t.toDisplayString(e.modelValue?e.modelValue.length:0)+"/"+t.toDisplayString(e.maxLength),1)):t.createCommentVNode("",!0)],2)}const Zn=H(di,[["render",pi]]);function hi(e,n,o,l){return{props:{...ue,...me,...kn},emits:["update:modelValue","change","blur","focus"],setup(r,i){const{emitEvent:a}=Ce({componentName:e},r.prop??i.attrs.name),s=Ee(t.computed(()=>r.disabled)),c=Pe(t.computed(()=>r.readonly)),m=Ie(r,"modelValue"),f=h=>{m.value=h,a("update:modelValue",h,{}),a("change",h,{})};let d=Ie(r,"hintText"),g=t.ref(!1);const S=h=>{ye(d.value)||(g.value=!0),a("focus",m.value,h)},b=h=>{setTimeout(()=>{g.value&&(g.value=!1)},0),a("blur",m.value,h)};return()=>{const v={...ke(r,kn),disabled:s.value,readonly:c.value,value:m.value,["onUpdate:modelValue"]:f,onFocus:S,onBlur:b},u=[],p=t.h(l,v);u.push(p);const C={default:()=>u};if(i.slots.default){const w=i.slots.default();C.label=()=>w}const y=ke(r,me,ue);return t.h(o,y,C)}}}}const{componentName:gi,create:yi,scope:vi}=O("textarea-item"),El=yi(hi(gi,vi,Te,Zn));let it=0;const Vo="fox-overflow-hidden",ki=e=>[()=>{e()&&(!it&&document.body.classList.add(Vo),it++)},()=>{e()&&it&&(it--,!it&&document.body.classList.remove(Vo))}],Tl={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},overlayClass:{type:String,default:""},lockScroll:{type:Boolean,default:!1},overlayStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}},{componentName:Si,create:bi}=O("overlay"),Ci=bi({props:Tl,emits:["click","update:visible"],setup(e,{emit:n}){const o=t.computed(()=>({[Si]:!0,[e.overlayClass]:!0}));t.watch(()=>e.visible,c=>{c?l():r()});const l=()=>{e.lockScroll&&e.visible&&document.body.classList.add("fox-overflow-hidden")},r=()=>{document.body.classList.remove("fox-overflow-hidden")};t.onDeactivated(r),t.onBeforeUnmount(r),t.onMounted(l),t.onActivated(l);const i=t.computed(()=>({animationDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return{classes:o,style:i,touchmove:c=>{e.lockScroll&&c.preventDefault()},onClick:c=>{n("click",c),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function wi(e,n,o,l,r,i){return t.openBlock(),t.createBlock(t.Transition,{name:"overlay-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),onTouchmove:n[0]||(n[0]=t.withModifiers((...a)=>e.touchmove&&e.touchmove(...a),["stop"])),onClick:n[1]||(n[1]=(...a)=>e.onClick&&e.onClick(...a)),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],38),[[t.vShow,e.visible]])]),_:3})}const Ut=H(Ci,[["render",wi]]),Oe={...Tl,position:{type:String,default:"center"},transition:String,style:{type:Object},popClass:{type:String,default:""},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},closeIcon:{type:String,default:"close"},destroyOnClose:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},overlay:{type:Boolean,default:!0},round:{type:Boolean,default:!1},isWrapTeleport:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1}},{componentName:Ni,create:Bi}=O("popup");let Ao=2e3;const Vi=Bi({components:{[Ut.name]:Ut,[re.name]:re},props:{...Oe},emits:["click","click-close-icon","open","close","opened","closed","update:visible","click-overlay"],setup(e,{emit:n}){const o=t.ref(),l=t.reactive({zIndex:e.zIndex,showSlot:!0,transitionName:`popup-fade-${e.position}`,overLayCount:1,keepAlive:!1,closed:e.closeable}),[r,i]=ki(()=>e.lockScroll),a=t.computed(()=>({[Ni]:!0,round:e.round,[`popup-${e.position}`]:!0,[`popup-${e.position}--safebottom`]:e.position==="bottom"&&e.safeAreaInsetBottom,[e.popClass]:!0})),s=t.computed(()=>({zIndex:l.zIndex,animationDuration:e.duration?`${e.duration}s`:"initial",...e.style})),c=()=>{e.zIndex!=2e3&&(Ao=Number(e.zIndex)),n("update:visible",!0),r(),l.zIndex=++Ao,e.destroyOnClose&&(l.showSlot=!0),n("open")},m=()=>{i(),n("update:visible",!1),n("close"),e.destroyOnClose&&setTimeout(()=>{l.showSlot=!1},+e.duration*1e3)},f=h=>{n("click",h)},d=h=>{n("click-close-icon",h),m()},g=h=>{e.closeOnClickOverlay&&(n("click-overlay",h),m())},S=h=>{n("opened",h)},b=h=>{n("closed",h)};return t.onMounted(()=>{e.transition?l.transitionName=e.transition:l.transitionName=`popup-slide-${e.position}`,e.visible&&c()}),t.onBeforeUnmount(()=>{e.visible&&m()}),t.onBeforeMount(()=>{e.visible&&i()}),t.onActivated(()=>{l.keepAlive&&(n("update:visible",!0),l.keepAlive=!1)}),t.onDeactivated(()=>{e.visible&&(m(),l.keepAlive=!0)}),t.watch(()=>e.visible,h=>{h?c():m()}),t.watch(()=>e.position,h=>{h==="center"?l.transitionName="popup-fade":l.transitionName=`popup-slide-${h}`}),t.watch(()=>e.closeable,h=>{l.closed=h}),{...t.toRefs(l),popStyle:s,classes:a,onClick:f,onClickCloseIcon:d,onClickOverlay:g,onOpened:S,onClosed:b,popupRef:o}}});function Ai(e,n,o,l,r,i){const a=t.resolveComponent("fox-overlay"),s=t.resolveComponent("fox-icon");return t.openBlock(),t.createBlock(t.Teleport,{to:e.teleport,disabled:!e.isWrapTeleport},[e.overlay?(t.openBlock(),t.createBlock(a,{key:0,visible:e.visible,"close-on-click-overlay":e.closeOnClickOverlay,class:t.normalizeClass(e.overlayClass),style:t.normalizeStyle(e.overlayStyle),"z-index":e.zIndex,"lock-scroll":e.lockScroll,duration:e.duration,onClick:e.onClickOverlay},null,8,["visible","close-on-click-overlay","class","style","z-index","lock-scroll","duration","onClick"])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:e.transitionName,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.popStyle),onClick:n[1]||(n[1]=(...c)=>e.onClick&&e.onClick(...c)),ref:"popupRef"},[e.showSlot?t.renderSlot(e.$slots,"default",{key:0}):t.createCommentVNode("",!0),e.closed?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:n[0]||(n[0]=(...c)=>e.onClickCloseIcon&&e.onClickCloseIcon(...c)),class:t.normalizeClass(["foxui-popup__close-icon","foxui-popup__close-icon--"+e.closeIconPosition])},[t.createVNode(s,{name:e.closeIcon,size:"12px"},null,8,["name"])],2)):t.createCommentVNode("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const he=H(Vi,[["render",Ai]]),Eo=10;function Ei(e,n){return e>n&&e>Eo?"horizontal":n>e&&n>Eo?"vertical":""}function Bt(){const e=t.ref(0),n=t.ref(0),o=t.ref(0),l=t.ref(0),r=t.ref(0),i=t.ref(0),a=t.ref(0),s=t.ref(0),c=t.ref(0),m=t.ref(0),f=t.ref(""),d=()=>f.value==="vertical",g=()=>f.value==="horizontal",S=()=>{a.value=0,s.value=0,c.value=0,m.value=0,f.value="",o.value=0};return{move:v=>{const u=v.touches[0];a.value=u.clientX-e.value,s.value=u.clientY-n.value,r.value=u.clientX,i.value=u.clientY,c.value=Math.abs(a.value),m.value=Math.abs(s.value),l.value=Date.now()-o.value,f.value||(f.value=Ei(c.value,m.value))},start:v=>{S(),e.value=v.touches[0].clientX,n.value=v.touches[0].clientY,o.value=Date.now()},reset:S,startX:e,startY:n,startTime:o,duration:l,moveX:r,moveY:i,deltaX:a,deltaY:s,offsetX:c,offsetY:m,direction:f,isVertical:d,isHorizontal:g}}const $l={readonly:{type:Boolean,default:!1},visibleItemCount:{type:[Number,String],default:7},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},childrenKey:{type:String,required:!1,default:"children"},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3}},Sn={...Oe,...$l,modelValue:{type:[String,Number,Boolean,Object,Array],default:""},text:{type:[Array],default:[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},title:{type:String,default:""},cancelText:{type:String,default:""},clearText:{type:String,default:""},confirmText:{type:String,default:""}};let Dl=36;function Ti(){return Dl}function $i(e){Dl=e}function $e(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function bn(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function Di(e,n,o){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=o),n.children=o}function We(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function To(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}let Ii=class{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);const r=wt(this.proxy,n);return r===null?(console.error(`${n} component not found api function`),[]):(Ve(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await r(o,l))}};function qi(){const e=t.getCurrentInstance();return new Ii(e.proxy)}function $o(e,n,o){const l=$e(e,n),r=$e(e,o);if(l!==r)return!1;const i=We(e,n),a=We(e,o);return i===a}function zi(e,n,o,l){if(o.length==0)return[];Array.isArray(n)||(n=[n]);const r=[],i=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let a=0;a<n.length&&a<o.length;a++){const s=n[a];let m=o[a].findIndex(f=>{if(i==="text")return $e(e,f)===s;if(i==="value"){let d=We(e,f);return d==null&&(d=$e(e,f)),d===s}else if(i==="item")return $o(e,f,s)});if(m==-1)break;r.push(m)}else{let a=o[0];for(let s=0;s<n.length;s++){const c=n[s];let m=a.findIndex(d=>{if(i==="text")return $e(e,d)===c;if(i==="value"){let g=We(e,d);return g==null&&(g=$e(e,d)),g===c}else if(i==="item")return $o(e,d,c)});if(m==-1)break;r.push(m);const f=bn(e,a[m]);if(!Array.isArray(f))break;a=f}}return r}function Do(e,n,o,l){if(o.length==0)return null;const r={texts:[],values:[]},i=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let a=0;a<n.length&&a<o.length;a++){const s=o[a];let c=n[a];c<0&&c>=s.length&&(c=0);const m=s[c],f=$e(e,m);if(r.texts.push(f),i==="text")r.values.push(f);else if(i==="value"){let d=We(e,m);d==null&&(d=f),r.values.push(d)}else r.values.push(m)}else{let a=o[0];for(let s=0;s<n.length;s++){let c=n[s];c<0&&c>=a.length&&(c=0);const m=a[c],f=$e(e,m);if(r.texts.push(f),i==="text")r.values.push(f);else if(i==="value"){let d=We(e,m);d==null&&(d=f),r.values.push(d)}else{const d=Object.assign({},m);d.children=null,r.values.push(d)}if(!Array.isArray(m.children))break;a=m.children}}return r}function Io(e){return{text:e,value:e}}const Mi=15,Pi=300,xi=200,{create:Ri}=O("picker-column");function Li(e){e.stopPropagation()}function Oi(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&Li(e)}const Fi=Ri({props:{source:{type:Array,default:[]},columnIndex:{type:Number,required:!0,default:0},modelValue:{type:Number,required:!0,default:0},itemHeight:{type:Number,required:!0,default:35},...$l},emits:["click","change","update:modelValue"],setup(e,{emit:n}){const o=t.computed(()=>({"fox-picker__list":!0})),l=t.computed(()=>({height:`${oe(e.visibleItemCount)*+e.itemHeight}px`})),r=t.computed(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),i=t.computed(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),a=V=>V>=d.currIndex+8||V<=d.currIndex-8,s=t.computed(()=>({transition:`transform ${d.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${d.deg})`,top:`${i.value}px`})),c=V=>`transform: rotate3d(1, 0, 0, ${-d.rotation*V}deg) translate3d(0px, 0px, 104px)`,m=t.computed(()=>({transition:`transform ${d.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${d.scrollDistance+i.value}px, 0)`})),f=t.ref(null),d=t.reactive({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),g=t.toRef(e,"source"),S=V=>$e(e,V),b=V=>We(e,V),h=Bt(),v=()=>{d.transitionEndTrigger&&(d.transitionEndTrigger(),d.transitionEndTrigger=null)},u=(V,A=!1,E=!1)=>{if(d.currIndex=V,A){const q=()=>{d.moving=!1,n("update:modelValue",V),n("change",V)};E?d.transitionEndTrigger=q:q()}},p=(V,A,E)=>{let q=V+d.startDistance;if(A==="end"){const U=-(g.value.length-1)*e.itemHeight;q<U&&(q=U,(!E||E<=0)&&(E=e.swipeDuration)),q>0&&(q=0,(!E||E<=0)&&(E=e.swipeDuration));let L=Math.abs(Math.round(-q/e.itemHeight));const z=-L*e.itemHeight,$=`${(L+1)*d.rotation}deg`,D=E?E>0:!1;u(L,!0,D),C(z,A,E,$)}else{let U=(-q/e.itemHeight+1)*d.rotation;const L=(g.value.length+1)*d.rotation,z=0;if(U=Math.min(Math.max(U,z),L),e.threeDimensional&&(U<z||U>L))return;C(q,null,void 0,`${U}deg`)}},C=(V=0,A,E=xi,q)=>{A==="end"?d.scrollTime=E:d.scrollTime=0,d.deg=q,d.scrollDistance=V},y=(V,A)=>(V=Math.abs(V/A)/.003*(V<0?-1:1),V),k=V=>{if(!e.readonly){if(d.moving){const A=f.value,{transform:E}=window.getComputedStyle(A);d.scrollDistance=+E.slice(7,E.length-1).split(", ")[5]}d.startDistance=d.scrollDistance,h.start(V),d.transitionEndTrigger=null}},w=V=>{e.readonly||(d.moving=!0,h.move(V),h.isVertical()&&(d.moving=!0,Oi(V,!0)),p(h.deltaY.value,"",0))},N=()=>{if(e.readonly)return;const V=h.deltaY.value,A=h.duration.value;if(A<Pi&&Math.abs(V)>Mi){const q=y(V,A);p(q,"end",e.swipeDuration)}else p(V,"end",0)};return t.watch(()=>e.modelValue,V=>{if(d.currIndex!==V){d.currIndex=V;const A=-V*e.itemHeight;p(A)}}),t.onMounted(()=>{const V=-e.modelValue*e.itemHeight;p(V)}),{classes:o,styles:l,contentClasses:r,source:g,itemText:S,itemValue:b,...t.toRefs(d),roller:f,getItemText:$e,onTouchStart:k,onTouchMove:w,onTouchEnd:N,isHidden:a,setRollerStyle:c,touchRollerStyle:s,touchTileStyle:m,stopMomentum:v}}}),Ui={key:1,class:"fox-picker__item-tile"};function Ki(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onTouchstart:n[0]||(n[0]=(...a)=>e.onTouchStart&&e.onTouchStart(...a)),onTouchmove:n[1]||(n[1]=(...a)=>e.onTouchMove&&e.onTouchMove(...a)),onTouchend:n[2]||(n[2]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a)),onTouchcancel:n[3]||(n[3]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a)),onTransitionend:n[4]||(n[4]=(...a)=>e.stopMomentum&&e.stopMomentum(...a))},[t.createElementVNode("view",{ref:"roller",class:t.normalizeClass(e.contentClasses),style:t.normalizeStyle(e.threeDimensional?e.touchRollerStyle:e.touchTileStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.source,(a,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${e.columnIndex}_${s}`},[e.threeDimensional?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(s+1)}]),style:t.normalizeStyle(e.setRollerStyle(s+1))},t.toDisplayString(e.itemText(a)),7)):(t.openBlock(),t.createElementBlock("view",Ui,t.toDisplayString(e.itemText(a)),1))],64))),128))],6)],38)}const qo=H(Fi,[["render",Ki]]),{create:Hi,componentName:ji,scope:Wi}=O("picker"),Yi=Hi({components:{[qo.name]:qo,[he.name]:he},props:{...Sn},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:o,t:l}=_.useFoxI18n(Wi),r=o(e,["title","cancelText","clearText","confirmText"]),i=t.ref(null),a=t.ref(Ti());t.watch(()=>e.visible,A=>{A&&a.value<=0&&setTimeout(()=>{if(i.value){const E=be(i.value);a.value=E.height,$i(a.value)}},50)});const s=t.computed(()=>({[ji]:!0})),c=qi(),m=t.ref("singleColumn");let f=t.ref([]);t.watch([()=>e.source,()=>e.params],async([A,E])=>{if(A){let q=await c.load("picker",A,E);if(q.length>0){let U=q[0];if(Array.isArray(U)){if(typeof U[0]=="string"){let L=q,z=[];L.forEach($=>{let D=$.map(I=>Io(I));z.push(D)}),f.value=z}else f.value=q;m.value="multipleColumn"}else if(typeof U=="string"){let L=q,z=[],$=L.map(D=>Io(D));z.push($),f.value=z,m.value="singleColumn"}else{const L=bn(e,U);Array.isArray(L)?(m.value="cascade",f.value=[q]):(m.value="singleColumn",f.value=[q])}}else f.value=[]}},{immediate:!0});const d=t.ref([]),g=t.ref(e.modelValue),S=t.ref([]);t.watch([()=>e.modelValue,()=>f.value],([A,E])=>{let q=zi(e,A,E,m.value);if(!Ae(q,S.value)){S.value=q;let U=Do(e,q,E,m.value);U&&(d.value=U.texts,n("update:text",d.value))}});const b=t.ref(e.visible);t.watch(()=>e.visible,A=>{b.value=A});const h=A=>{let E=To(e,A);return Ve(E)?E.defaultIndex??0:0},v=A=>{if(e.readonly===!0)return!0;let E=To(e,A);return Ve(E)?E.readonly??!1:!1},u=(A,E,q=!1)=>{let U=S.value;U[A]=E;for(let z=0;z<A;z++)U[z]==null&&(U[z]=h(z));if(m.value==="cascade")for(let z=A+1;z<C.value.length;z++){let $=h(z);z<U.length?U[z]=$:U.push($)}else for(let z=U.length;z<C.value.length;z++){let $=h(z);U.push($)}S.value=U;let L=Do(e,U,f.value,m.value);if(L&&(d.value=L.texts,g.value=L.values),q)if(m.value==="singleColumn"){let z=L&&L.values.length>0?L.values[0]:"";n("change",z)}else n("change",L?.values)},p=A=>A<S.value.length?S.value[A]:h(A),C=t.computed(()=>{if(f.value.length==0)return[];if(m.value=="singleColumn"||m.value=="multipleColumn")return f.value;let A=[],E=0,q=f.value[0],U=0;for(;;){let L=q.map(D=>{let I=Object.assign({},D);return Di(e,I,null),I});A.push(L),E>=S.value.length?U=0:U=S.value[E],(U<0||U>=q.length)&&(U=0);let z=q[U];const $=bn(e,z);if(!Array.isArray($))break;q=$,E++}return A}),y=t.computed(()=>oe(+e.visibleItemCount-1)/2*a.value);return{...r,pickerLineRef:i,classes:s,columns:C,dataType:m,show:b,itemHeight:a,top:y,isReadonly:v,getIndex:p,change:(A,E)=>{u(A,E,!0)},close:()=>{n("close"),n("update:visible",!1)},confirm:()=>{if(e.readonly===!0){n("update:visible",!1);return}let A=f.value.length-1;for(;A>=0&&!(S.value[A]===null||S.value[A]===void 0);A--);if(A>=0&&u(A,0,!1),m.value==="singleColumn"){let E=g.value.length>0?g.value[0]:"";e.readonly||(n("update:modelValue",E),n("update:text",d.value)),n("confirm",E)}else e.readonly||(n("update:modelValue",g.value),n("update:text",d.value)),n("confirm",g.value);n("update:visible",!1)},clear:()=>{if(e.readonly===!0){n("update:visible",!1);return}m.value==="singleColumn"?(n("update:modelValue",""),n("change","")):(n("update:modelValue",[]),n("change",[])),n("clear",""),n("update:visible",!1)}}}}),Xi={class:"fox-picker__bar"},Qi={class:"fox-picker__title"},Gi={class:"fox-picker__bar__action"},Zi={class:"fox-picker__column"};function Ji(e,n,o,l,r,i){const a=t.resolveComponent("fox-picker-column"),s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(s,{position:"bottom",visible:e.show,"onUpdate:visible":n[3]||(n[3]=c=>e.show=c),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,isWrapTeleport:e.isWrapTeleport},{default:t.withCtx(()=>[t.createElementVNode("view",Xi,[t.createElementVNode("view",Qi,t.toDisplayString(e.title),1),t.createElementVNode("view",Gi,[t.createElementVNode("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...c)=>e.close&&e.close(...c))},t.toDisplayString(e.cancelText),1),t.createElementVNode("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:n[1]||(n[1]=(...c)=>e.confirm&&e.confirm(...c))},t.toDisplayString(e.confirmText),1),e.clearText?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-picker__right fox-picker__clear fox-picker__button",onClick:n[2]||(n[2]=(...c)=>e.clear&&e.clear(...c))},t.toDisplayString(e.clearText),1)):t.createCommentVNode("",!0)])]),t.renderSlot(e.$slots,"top"),t.createElementVNode("view",Zi,[t.createElementVNode("view",{class:"fox-picker__mask",style:t.normalizeStyle({backgroundSize:`100% ${e.top}px`})},null,4),t.createElementVNode("view",{ref:"pickerLineRef",class:"fox-picker__hairline",style:t.normalizeStyle({top:` ${e.top}px`})},null,4),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.columns,(c,m)=>(t.openBlock(),t.createElementBlock("view",{key:m,class:"fox-picker__columnitem"},[t.createVNode(a,{source:c,readonly:e.isReadonly(m),"column-index":m,modelValue:e.getIndex(m),"onUpdate:modelValue":f=>e.change(m,f),"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"item-height":e.itemHeight,"text-key":e.textKey,"value-key":e.valueKey},null,8,["source","readonly","column-index","modelValue","onUpdate:modelValue","visible-item-count","three-dimensional","swipe-duration","item-height","text-key","value-key"])]))),128))]),t.renderSlot(e.$slots,"default")]),_:3},8,["visible","teleport","lock-scroll","close-on-click-overlay","onClose","isWrapTeleport"])],2)}const St=H(Yi,[["render",Ji]]);function _i(e,n,o,l,r,i=!0){return{props:{...ue,...me,...Sn,type:{type:String,default:"text"},placeholder:{type:String,default:""},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1}},emits:["change","update:modelValue","blur","focus","clear"],setup(a,s){const{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??s.attrs.name),{toLocaleRefs:m}=_.useFoxI18n(n),f=m(a,["placeholder"]),d=t.ref(!1),g=Ee(t.computed(()=>a.disabled)),S=Pe(t.computed(()=>a.readonly)),b=Ie(a,"modelValue"),h=t.ref([]),v=t.computed(()=>Array.isArray(h.value)?h.value.join(" "):h.value),u="fox-input-item",p=t.computed(()=>({[u]:!0,[`${u}__disabled`]:g.value})),C=Se(t.computed(()=>a.textAlign),"textAlign"),y=t.computed(()=>({textAlign:C.value??"right"})),k=t.ref(!1),w=()=>{k.value=!0},N=R=>{k.value=R},V=R=>{b.value=R,c("update:modelValue",R,{}),c("change",R,{})},A=R=>{let F=R.target.value;d.value=!0,c("focus",F,R)},E=R=>{setTimeout(()=>{d.value=!1},0);let F=R.target.value;a.maxLength&&F.length>Number(a.maxLength)&&(F=F.slice(0,Number(a.maxLength))),c("blur",F,R)},q=t.computed(()=>({[`${u}__append`]:!0})),U=t.computed(()=>ce(a.unit)>0),L=t.computed(()=>ce(a.unit)>0&&!d.value),z=t.computed(()=>({hidden:!L.value})),$=R=>{b.value="",c("update:modelValue","",R),c("change","",R),c("clear","")},D=t.computed(()=>a.clearable&&!g.value&&!S.value),I=t.computed(()=>ce(b.value)>0&&d.value),P=R=>{I.value?$(R):w()},B=t.computed(()=>I.value&&D.value?"close-little":"arrow-right"),x=t.computed(()=>({action:!0}));return()=>{const R={class:p.value,style:y.value,type:"text",maxlength:a.maxLength,placeholder:f.placeholder.value,readonly:!0,unselectable:"on",value:v.value,onClick:w,onFocus:A,onBlur:E};i&&(R.disabled=!0);const T=[],F=t.h("input",R);T.push(F);const M=[],K={name:B.value,size:"10px"},j=t.h(l,K),W={class:x.value,onClick:P},Y=t.h("view",W,{default:()=>[j]});if(M.push(Y),U.value){const te=t.h("view",{class:z.value},[a.unit]);M.push(te)}const X={class:q.value},G=t.h("view",X,{default:()=>M});T.push(G);const ne={default:()=>T};if(s.slots.default){const te=s.slots.default();ne.label=()=>te}if(s.slots.prepend){const te=s.slots.prepend();ne.prepend=()=>te}if(s.slots.append){const te=s.slots.append();ne.append=()=>te}const ee=ke(a,Sn);ee.disabled=!1,ee.readonly=g.value||S.value,ee.visible=k.value,ee["onUpdate:visible"]=N,ee.modelValue=b.value,ee["onUpdate:modelValue"]=V,ee.text=h.value,ee["onUpdate:text"]=te=>{h.value=te};const ae=t.h(r,ee);ne.hide=()=>[ae];const se=ke(a,me,ue);return t.h(o,se,ne)}}}}const{componentName:ec,create:tc,scope:nc}=O("picker-item"),Il=tc(_i(ec,nc,Te,re,St,!1));let oc={...Oe,modelValue:{type:[Array],required:!0},visible:{type:Boolean,required:!0},title:{type:String,required:!1},options:{type:[Array,String],default:()=>[]},lazy:{type:Boolean,required:!1},lazyLoad:{type:Function,required:!1},valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},poppable:{type:Boolean,default:!0},convertConfig:{type:Object,required:!1}};const Mt=(e,n,o)=>e.map(l=>{const{value:r="value",text:i="text",children:a="children"}=o??{},{[r]:s,[i]:c,[a]:m,...f}=l,d={loading:!1,...f,level:n?(n&&n.level||0)+1:0,value:s,text:c,children:m,_parent:n};return d.children&&d.children.length&&(d.children=Mt(d.children,d,o)),d}),ql=(e,n)=>{let o=0,l;for(;(l=e[o++])&&n(l)!==!0;)l.children&&l.children.length&&ql(l.children,n)},lc={topId:null,idKey:"id",pidKey:"pid",sortKey:""},ac=(e,n)=>{const o={...lc,...n||{}},{topId:l,idKey:r,pidKey:i,sortKey:a}=o;let s=[],c={};return e.forEach(m=>{m={...m};const{[r]:f,[i]:d}=m,g=c[d]=c[d]||[];!s.length&&d===l&&(s=g),g.push(m),m.children=c[f]||(c[f]=[])}),a&&Object.keys(c).forEach(m=>{c[m].length>1&&c[m].sort((f,d)=>f[a]-d[a])}),c=null,s};class zo{nodes;config;constructor(n,o){this.config={value:"value",text:"text",children:"children",...o||{}},this.nodes=Mt(n,null,this.config)}updateChildren(n,o){o?o.children=Mt(n,o,this.config):this.nodes=Mt(n,null,this.config)}getNodeByValue(n){let o;return ql(this.nodes,l=>{if(l.value===n)return o=l,!0}),o}getPathNodesByValue(n){if(!n.length)return[];const o=[];let l=this.nodes;for(;l&&l.length;){const r=l.find(i=>i.value===n[i.level]);if(!r)break;o.push(r),l=r.children}return o}isLeaf(n,o){const{leaf:l,children:r}=n,i=Array.isArray(r)&&Boolean(r.length);return l||!i&&!o}hasChildren(n,o){if(this.isLeaf(n,o))return!1;const{children:r}=n;return Array.isArray(r)&&Boolean(r.length)}}const{create:rc,scope:sc}=O("cascaderpane"),ic=rc({props:{visible:{type:Boolean,required:!0},modelValue:{type:Array,required:!0},options:{type:Array,default:()=>[]},lazy:{type:Boolean,required:!1},lazyLoad:{type:Function,required:!1},valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},convertConfig:{type:Object,required:!1}},emits:["update:modelValue","change","pathChange"],setup(e,{emit:n}){const o=t.computed(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),l=t.ref(0),r=t.ref(!1),i=t.ref(e.modelValue),a=t.ref(new zo([],{})),s=t.ref([]),c=t.computed(()=>o.value.lazy&&Boolean(o.value.lazyLoad)),m=new Map;let f;const d=async()=>{m.clear(),s.value=[],l.value=0,r.value=!1,f=null;let{options:u}=e;o.value.convertConfig&&(u=ac(u,o.value.convertConfig)),a.value=new zo(u,{value:o.value.valueKey,text:o.value.textKey,children:o.value.childrenKey}),c.value&&!a.value.nodes.length&&await S({root:!0,loading:!0,text:"",value:""}),s.value=[{nodes:a.value.nodes,selectedNode:null}],g()},g=async()=>{const u=i.value;if(u===void 0||!a.value.nodes.length)return;if(u.length===0){l.value=0,s.value=[{nodes:a.value.nodes,selectedNode:null}];return}let p=u;if(c.value&&Array.isArray(u)&&u.length){p=[];let C=a.value.nodes.find(y=>y.value===u[0]);if(C){p=[C.value],r.value=!0;const y=await u.slice(1).reduce(async(k,w)=>{const N=await k;await S(N);const V=N?.children?.find(A=>A.value===w);return V&&p.push(w),Promise.resolve(V)},Promise.resolve(C));await S(y),r.value=!1}}p.length&&u===e.modelValue&&a.value.getPathNodesByValue(p).map((y,k)=>{l.value=k,v.handleNode(y,!0)})},S=async u=>{if(!u)return;if(!o.value.lazyLoad){u.leaf=!0;return}if(a.value.isLeaf(u,c.value)||a.value.hasChildren(u,c.value))return;u.loading=!0;const p=u.root?null:u;let C=m.get(u);C||(C=new Promise(k=>{o.value.lazyLoad?.(u,k)}),m.set(u,C));const y=await C;Array.isArray(y)&&y.length>0?a.value.updateChildren(y,p):u.leaf=!0,u.loading=!1,m.delete(u)},b=u=>{const p=u.map(C=>C.value);i.value=p,n("change",p,u),n("update:modelValue",p,u)},{t:h}=_.useFoxI18n(sc),v={async handleNode(u,p){const{disabled:C,loading:y}=u;if(!(!p&&C||!s.value[l.value])){if(a.value.isLeaf(u,c.value)){if(u.leaf=!0,s.value[l.value].selectedNode=u,s.value=s.value.slice(0,u.level+1),!p){const k=s.value.map(w=>w.selectedNode);b(k),n("pathChange",k)}return}if(a.value.hasChildren(u,c.value)){const k=u.level+1;if(s.value[l.value].selectedNode=u,s.value=s.value.slice(0,k),s.value.push({nodes:u.children||[],selectedNode:null}),l.value=k,!p){const w=s.value.map(N=>N.selectedNode);n("pathChange",w)}return}f=u,!y&&(await S(u),f===u&&(s.value[l.value].selectedNode=u,v.handleNode(u,p)))}},handleTabClick(u){f=null,l.value=Number(u.paneKey)},formatTabTitle(u){return u.selectedNode?u.selectedNode.text:h("select")},isSelected(u,p){return u.selectedNode&&u.selectedNode.value===p.value}};return t.watch([o,()=>e.options],()=>{d()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,u=>{u!==i.value&&(i.value=u,g())}),t.watch(()=>e.visible,u=>{u&&Array.isArray(i.value)&&i.value.length>0&&g()}),{panes:s,initLoading:r,tabsCursor:l,...v}}}),cc={role:"menu",class:"fox-cascader__pane"},uc=["aria-checked","aria-disabled","onClick"],dc={class:"fox-cascader__item__title"},fc=t.createElementVNode("view",{class:"fox-cascader__pane"},null,-1);function mc(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-tabpane"),c=t.resolveComponent("fox-tabs");return t.openBlock(),t.createBlock(c,{class:"fox-cascader",modelValue:e.tabsCursor,"onUpdate:modelValue":n[0]||(n[0]=m=>e.tabsCursor=m),onClick:e.handleTabClick,"title-scroll":""},{default:t.withCtx(()=>[!e.initLoading&&e.panes.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.panes,(m,f)=>(t.openBlock(),t.createBlock(s,{title:e.formatTabTitle(m),key:f},{default:t.withCtx(()=>[t.createElementVNode("view",cc,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.nodes,d=>(t.openBlock(),t.createElementBlock("view",{key:d.value,class:t.normalizeClass(["fox-cascader__item",{active:e.isSelected(m,d),disabled:d.disabled}]),"aria-checked":e.isSelected(m,d),"aria-disabled":d.disabled||void 0,role:"menuitemradio",onClick:g=>e.handleNode(d,!1)},[t.createElementVNode("view",dc,t.toDisplayString(d.text),1),d.loading?(t.openBlock(),t.createBlock(a,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):(t.openBlock(),t.createBlock(a,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,uc))),128))])]),_:2},1032,["title"]))),128)):(t.openBlock(),t.createBlock(s,{key:1,title:"Loading..."},{default:t.withCtx(()=>[fc]),_:1}))]),_:1},8,["modelValue","onClick"])}const Mo=H(ic,[["render",mc]]),{create:pc}=O("cascader"),hc=pc({components:{[Mo.name]:Mo},props:{...oc},emits:["update:modelValue","change","pathChange","update:visible"],setup(e,{emit:n}){const o=t.ref(e.modelValue?e.modelValue:[]),l=t.computed({get(){return e.visible},set(a){n("update:visible",a)}}),r=(a,s)=>{o.value=a,l.value=!1,n("change",a,s),n("update:modelValue",a)},i=a=>{n("pathChange",a)};return t.watch(()=>e.modelValue,a=>{a!==o.value&&(a?o.value=a:o.value=[])}),{onChange:r,onPathChange:i,innerValue:o,innerVisible:l}}}),gc=["innerHTML"];function yc(e,n,o,l,r,i){const a=t.resolveComponent("fox-cascaderpane"),s=t.resolveComponent("fox-popup");return e.poppable?(t.openBlock(),t.createBlock(s,{key:0,visible:e.innerVisible,"onUpdate:visible":n[0]||(n[0]=c=>e.innerVisible=c),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:!e.closeable,"close-icon":e.closeIcon,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:t.withCtx(()=>[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-cascader__bar",innerHTML:e.title},null,8,gc)):t.createCommentVNode("",!0),t.createVNode(a,{onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"])]),_:1},8,["visible","closeable","close-icon","close-icon-position"])):(t.openBlock(),t.createBlock(a,{key:1,onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"]))}const Jn=H(hc,[["render",yc]]);function bt(e,n){const o=e.textKey??"text";return n[o]??""}function Ct(e,n){const o=e.valueKey??"value";return n[o]}function zl(e,n){const o=e.childrenKey??"children";return n[o]}function It(e,n=[]){const o={texts:[],values:[]};for(let l=0;l<n.length;l++){const r=n[l],i=bt(e,r),a=Ct(e,r);o.texts.push(i),o.values.push(a??"")}return o}function Ml(e,n,o,l,r=[]){const i=o[l];for(let a=0;a<n.length;a++)if(bt(e,n[a])===i){const c=Ct(e,n[a])??"",m={[e.textKey]:i,[e.valueKey]:c};r.push(m);const f=zl(e,n[a]);Array.isArray(f)&&Ml(e,f,o,l+1,r);return}}function Pl(e,n,o,l,r=[]){const i=o[l];for(let a=0;a<n.length;a++)if(Ct(e,n[a])===i){const c=bt(e,n[a])??"",m={[e.textKey]:c,[e.valueKey]:i};r.push(m);const f=zl(e,n[a]);Array.isArray(f)&&Pl(e,f,o,l+1,r);return}}function nn(e,n,o){if(n===o)return!0;if(n.length!==o.length)return!1;for(let l=0;l<n.length;l++){const r=bt(e,n[l]),i=bt(e,o[l]);if(r!==i)return!1;const a=Ct(e,n[l]),s=Ct(e,o[l]);if(a!==s)return!1}return!0}let vc=class{proxy;constructor(n){this.proxy=n}async load(n,o){const l="cascader";if(Array.isArray(n))return n;if(typeof n=="function")return await n(o);const r=wt(this.proxy,l);return r===null?(console.error(`${l} component not found api function`),[]):(Ve(o)&&t.isReactive(o)&&(o=t.toRaw(o)),await r(n,o))}};function kc(){const e=t.getCurrentInstance();return new vc(e.proxy)}function Sc(e,n,o,l,r,i=!1){return{props:{...ue,...me,modelValue:{type:[Array,String]},title:{type:String,required:!1},placeholder:{type:String,required:!1,default:""},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},lazy:{type:Boolean,required:!1},lazyLoad:{type:Function,required:!1},valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},convertConfig:{type:Object}},emits:["update:modelValue","change","pathChange","blur","focus","clear"],setup(a,s){const{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??s.attrs.name),{toLocaleRefs:m}=_.useFoxI18n(n),f=m(a,["placeholder"]),d=t.ref(!1),g=Ee(t.computed(()=>a.disabled)),S=Pe(t.computed(()=>a.readonly)),b=kc(),h=t.ref([]);t.watch([()=>a.source,()=>a.params],async([K,j])=>{K&&(h.value=await b.load(K,j))},{immediate:!0});const v=t.ref([]),u=t.computed(()=>Array.isArray(v.value)?v.value.join(" "):v.value),p=t.ref([]),C=t.ref([]);t.watch([()=>a.modelValue],async([K])=>{if(a.lazy===!0){C.value.length==0&&(v.value=Array.isArray(K)?K:[],p.value=Array.isArray(K)?K:[]);return}if(a.valueType==="item"){let j=K;if(!nn(a,j,C.value)){C.value=j;let W=It(a,j);v.value=W.texts,p.value=W.values}}else if(a.valueType==="text"){let j=K,W=[];if(Ml(a,h.value,j,0,W),!nn(a,W,C.value)){C.value=W;let Y=It(a,W);j.value=Y.texts,p.value=Y.values}}else{let j=[];if(Pl(a,h.value,K,0,j),!nn(a,j,C.value)){C.value=j;let W=It(a,j);v.value=W.texts,p.value=W.values}}},{immediate:!0});const y="fox-input-item",k=t.computed(()=>({[y]:!0,[`${y}__disabled`]:g.value})),w=Se(t.computed(()=>a.textAlign),"textAlign"),N=t.computed(()=>({textAlign:w.value??"right"})),V=t.ref(!1),A=()=>{g.value===!0||S.value===!0||(V.value=!0)},E=K=>{V.value=K},q=(K,j)=>{let W=j.map(X=>{if(X==null)return X;let G={...X};return Reflect.deleteProperty(G,"text"),G[a.textKey]=X.text??"",Reflect.deleteProperty(G,"value"),G[a.valueKey]=X.value??"",G});C.value=W;let Y=It(a,W);v.value=Y.texts,p.value=Y.values,a.valueType==="text"?(c("change",v.value,W),c("update:modelValue",v.value)):a.valueType==="item"?(c("change",W,W),c("update:modelValue",W)):(c("change",p.value,W),c("update:modelValue",p.value))},U=K=>{let j=K.map(W=>{if(W==null)return W;let Y={...W};return Reflect.deleteProperty(Y,"text"),Y[a.textKey]=W.text??"",Reflect.deleteProperty(Y,"value"),Y[a.valueKey]=W.value??"",Y});c("pathChange",j)},L=K=>{d.value=!0,c("focus",p.value,K)},z=K=>{setTimeout(()=>{d.value=!1},0),c("blur",p.value,K)},$=t.computed(()=>({[`${y}__append`]:!0})),D=t.computed(()=>ce(a.unit)>0),I=t.computed(()=>ce(a.unit)>0&&!d.value),P=t.computed(()=>({hidden:!I.value})),B=K=>{C.value=[],v.value=[],p.value=[],c("update:modelValue",[],K),c("change",[],K),c("clear",[])},x=t.computed(()=>a.clearable&&!g.value&&!S.value),R=t.computed(()=>{let K=p.value&&p.value.length>0;return a.clearable&&K&&d.value}),T=K=>{R.value?B(K):A()},F=t.computed(()=>R.value&&x.value?"close-little":"arrow-right"),M=t.computed(()=>({action:!0}));return()=>{const K={class:k.value,style:N.value,type:"text",maxlength:a.maxLength,placeholder:f.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:A,onFocus:L,onBlur:z};i&&(K.disabled=!0);const j=[],W=t.h("input",K);j.push(W);const Y=[],X={name:F.value,size:"10px"},G=t.h(l,X),ne={class:M.value,onClick:T},ee=t.h("view",ne,{default:()=>[G]});if(Y.push(ee),D.value){const we=t.h("view",{class:P.value},[a.unit]);Y.push(we)}const ae={class:$.value},se=t.h("view",ae,{default:()=>Y});j.push(se);const de={default:()=>j};if(s.slots.default){const we=s.slots.default();de.label=()=>we}if(s.slots.prepend){const we=s.slots.prepend();de.prepend=()=>we}if(s.slots.append){const we=s.slots.append();de.append=()=>we}let te={};te.visible=V.value,te["onUpdate:visible"]=E,te.modelValue=p.value,te.onChange=q,te.onPathChange=U,te.options=h.value,te.title=a.title,te.lazy=a.lazy,te.lazyLoad=a.lazyLoad,te.valueKey=a.valueKey,te.textKey=a.textKey,te.childrenKey=a.childrenKey,te.convertConfig=a.convertConfig;const At=t.h(r,te);de.hide=()=>[At];const ge=ke(a,me,ue);return t.h(o,ge,de)}}}}const{componentName:bc,create:Cc,scope:wc}=O("cascader-item"),xl=Cc(Sc(bc,wc,Te,re,Jn,!1));var xe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Cn={},Nc={get exports(){return Cn},set exports(e){Cn=e}};(function(e,n){(function(o,l){e.exports=l()})(xe,function(){var o=1e3,l=6e4,r=36e5,i="millisecond",a="second",s="minute",c="hour",m="day",f="week",d="month",g="quarter",S="year",b="date",h="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|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,p={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("_")},C=function(L,z,$){var D=String(L);return!D||D.length>=z?L:""+Array(z+1-D.length).join($)+L},y={s:C,z:function(L){var z=-L.utcOffset(),$=Math.abs(z),D=Math.floor($/60),I=$%60;return(z<=0?"+":"-")+C(D,2,"0")+":"+C(I,2,"0")},m:function L(z,$){if(z.date()<$.date())return-L($,z);var D=12*($.year()-z.year())+($.month()-z.month()),I=z.clone().add(D,d),P=$-I<0,B=z.clone().add(D+(P?-1:1),d);return+(-(D+($-I)/(P?I-B:B-I))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:d,y:S,w:f,d:m,D:b,h:c,m:s,s:a,ms:i,Q:g}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},k="en",w={};w[k]=p;var N=function(L){return L instanceof q},V=function L(z,$,D){var I;if(!z)return k;if(typeof z=="string"){var P=z.toLowerCase();w[P]&&(I=P),$&&(w[P]=$,I=P);var B=z.split("-");if(!I&&B.length>1)return L(B[0])}else{var x=z.name;w[x]=z,I=x}return!D&&I&&(k=I),I||!D&&k},A=function(L,z){if(N(L))return L.clone();var $=typeof z=="object"?z:{};return $.date=L,$.args=arguments,new q($)},E=y;E.l=V,E.i=N,E.w=function(L,z){return A(L,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var q=function(){function L($){this.$L=V($.locale,null,!0),this.parse($)}var z=L.prototype;return z.parse=function($){this.$d=function(D){var I=D.date,P=D.utc;if(I===null)return new Date(NaN);if(E.u(I))return new Date;if(I instanceof Date)return new Date(I);if(typeof I=="string"&&!/Z$/i.test(I)){var B=I.match(v);if(B){var x=B[2]-1||0,R=(B[7]||"0").substring(0,3);return P?new Date(Date.UTC(B[1],x,B[3]||1,B[4]||0,B[5]||0,B[6]||0,R)):new Date(B[1],x,B[3]||1,B[4]||0,B[5]||0,B[6]||0,R)}}return new Date(I)}($),this.$x=$.x||{},this.init()},z.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},z.$utils=function(){return E},z.isValid=function(){return this.$d.toString()!==h},z.isSame=function($,D){var I=A($);return this.startOf(D)<=I&&I<=this.endOf(D)},z.isAfter=function($,D){return A($)<this.startOf(D)},z.isBefore=function($,D){return this.endOf(D)<A($)},z.$g=function($,D,I){return E.u($)?this[D]:this.set(I,$)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function($,D){var I=this,P=!!E.u(D)||D,B=E.p($),x=function(Y,X){var G=E.w(I.$u?Date.UTC(I.$y,X,Y):new Date(I.$y,X,Y),I);return P?G:G.endOf(m)},R=function(Y,X){return E.w(I.toDate()[Y].apply(I.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(X)),I)},T=this.$W,F=this.$M,M=this.$D,K="set"+(this.$u?"UTC":"");switch(B){case S:return P?x(1,0):x(31,11);case d:return P?x(1,F):x(0,F+1);case f:var j=this.$locale().weekStart||0,W=(T<j?T+7:T)-j;return x(P?M-W:M+(6-W),F);case m:case b:return R(K+"Hours",0);case c:return R(K+"Minutes",1);case s:return R(K+"Seconds",2);case a:return R(K+"Milliseconds",3);default:return this.clone()}},z.endOf=function($){return this.startOf($,!1)},z.$set=function($,D){var I,P=E.p($),B="set"+(this.$u?"UTC":""),x=(I={},I[m]=B+"Date",I[b]=B+"Date",I[d]=B+"Month",I[S]=B+"FullYear",I[c]=B+"Hours",I[s]=B+"Minutes",I[a]=B+"Seconds",I[i]=B+"Milliseconds",I)[P],R=P===m?this.$D+(D-this.$W):D;if(P===d||P===S){var T=this.clone().set(b,1);T.$d[x](R),T.init(),this.$d=T.set(b,Math.min(this.$D,T.daysInMonth())).$d}else x&&this.$d[x](R);return this.init(),this},z.set=function($,D){return this.clone().$set($,D)},z.get=function($){return this[E.p($)]()},z.add=function($,D){var I,P=this;$=Number($);var B=E.p(D),x=function(F){var M=A(P);return E.w(M.date(M.date()+Math.round(F*$)),P)};if(B===d)return this.set(d,this.$M+$);if(B===S)return this.set(S,this.$y+$);if(B===m)return x(1);if(B===f)return x(7);var R=(I={},I[s]=l,I[c]=r,I[a]=o,I)[B]||1,T=this.$d.getTime()+$*R;return E.w(T,this)},z.subtract=function($,D){return this.add(-1*$,D)},z.format=function($){var D=this,I=this.$locale();if(!this.isValid())return I.invalidDate||h;var P=$||"YYYY-MM-DDTHH:mm:ssZ",B=E.z(this),x=this.$H,R=this.$m,T=this.$M,F=I.weekdays,M=I.months,K=function(X,G,ne,ee){return X&&(X[G]||X(D,P))||ne[G].slice(0,ee)},j=function(X){return E.s(x%12||12,X,"0")},W=I.meridiem||function(X,G,ne){var ee=X<12?"AM":"PM";return ne?ee.toLowerCase():ee},Y={YY:String(this.$y).slice(-2),YYYY:this.$y,M:T+1,MM:E.s(T+1,2,"0"),MMM:K(I.monthsShort,T,M,3),MMMM:K(M,T),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:K(I.weekdaysMin,this.$W,F,2),ddd:K(I.weekdaysShort,this.$W,F,3),dddd:F[this.$W],H:String(x),HH:E.s(x,2,"0"),h:j(1),hh:j(2),a:W(x,R,!0),A:W(x,R,!1),m:String(R),mm:E.s(R,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:B};return P.replace(u,function(X,G){return G||Y[X]||B.replace(":","")})},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function($,D,I){var P,B=E.p(D),x=A($),R=(x.utcOffset()-this.utcOffset())*l,T=this-x,F=E.m(this,x);return F=(P={},P[S]=F/12,P[d]=F,P[g]=F/3,P[f]=(T-R)/6048e5,P[m]=(T-R)/864e5,P[c]=T/r,P[s]=T/l,P[a]=T/o,P)[B]||T,I?F:E.a(F)},z.daysInMonth=function(){return this.endOf(d).$D},z.$locale=function(){return w[this.$L]},z.locale=function($,D){if(!$)return this.$L;var I=this.clone(),P=V($,D,!0);return P&&(I.$L=P),I},z.clone=function(){return E.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},L}(),U=q.prototype;return A.prototype=U,[["$ms",i],["$s",a],["$m",s],["$H",c],["$W",m],["$M",d],["$y",S],["$D",b]].forEach(function(L){U[L[1]]=function(z){return this.$g(z,L[0],L[1])}}),A.extend=function(L,z){return L.$i||(L(z,q,A),L.$i=!0),A},A.locale=V,A.isDayjs=N,A.unix=function(L){return A(1e3*L)},A.en=w[k],A.Ls=w,A.p={},A})})(Nc);const qe=Cn;var wn={},Bc={get exports(){return wn},set exports(e){wn=e}};(function(e,n){(function(o,l){e.exports=l()})(xe,function(){var o={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"},l=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,s={},c=function(h){return(h=+h)+(h>68?1900:2e3)},m=function(h){return function(v){this[h]=+v}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(h){(this.zone||(this.zone={})).offset=function(v){if(!v||v==="Z")return 0;var u=v.match(/([+-]|\d\d)/g),p=60*u[1]+(+u[2]||0);return p===0?0:u[0]==="+"?-p:p}(h)}],d=function(h){var v=s[h];return v&&(v.indexOf?v:v.s.concat(v.f))},g=function(h,v){var u,p=s.meridiem;if(p){for(var C=1;C<=24;C+=1)if(h.indexOf(p(C,0,v))>-1){u=C>12;break}}else u=h===(v?"pm":"PM");return u},S={A:[a,function(h){this.afternoon=g(h,!1)}],a:[a,function(h){this.afternoon=g(h,!0)}],S:[/\d/,function(h){this.milliseconds=100*+h}],SS:[r,function(h){this.milliseconds=10*+h}],SSS:[/\d{3}/,function(h){this.milliseconds=+h}],s:[i,m("seconds")],ss:[i,m("seconds")],m:[i,m("minutes")],mm:[i,m("minutes")],H:[i,m("hours")],h:[i,m("hours")],HH:[i,m("hours")],hh:[i,m("hours")],D:[i,m("day")],DD:[r,m("day")],Do:[a,function(h){var v=s.ordinal,u=h.match(/\d+/);if(this.day=u[0],v)for(var p=1;p<=31;p+=1)v(p).replace(/\[|\]/g,"")===h&&(this.day=p)}],M:[i,m("month")],MM:[r,m("month")],MMM:[a,function(h){var v=d("months"),u=(d("monthsShort")||v.map(function(p){return p.slice(0,3)})).indexOf(h)+1;if(u<1)throw new Error;this.month=u%12||u}],MMMM:[a,function(h){var v=d("months").indexOf(h)+1;if(v<1)throw new Error;this.month=v%12||v}],Y:[/[+-]?\d+/,m("year")],YY:[r,function(h){this.year=c(h)}],YYYY:[/\d{4}/,m("year")],Z:f,ZZ:f};function b(h){var v,u;v=h,u=s&&s.formats;for(var p=(h=v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(A,E,q){var U=q&&q.toUpperCase();return E||u[q]||o[q]||u[U].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(L,z,$){return z||$.slice(1)})})).match(l),C=p.length,y=0;y<C;y+=1){var k=p[y],w=S[k],N=w&&w[0],V=w&&w[1];p[y]=V?{regex:N,parser:V}:k.replace(/^\[|\]$/g,"")}return function(A){for(var E={},q=0,U=0;q<C;q+=1){var L=p[q];if(typeof L=="string")U+=L.length;else{var z=L.regex,$=L.parser,D=A.slice(U),I=z.exec(D)[0];$.call(E,I),A=A.replace(I,"")}}return function(P){var B=P.afternoon;if(B!==void 0){var x=P.hours;B?x<12&&(P.hours+=12):x===12&&(P.hours=0),delete P.afternoon}}(E),E}}return function(h,v,u){u.p.customParseFormat=!0,h&&h.parseTwoDigitYear&&(c=h.parseTwoDigitYear);var p=v.prototype,C=p.parse;p.parse=function(y){var k=y.date,w=y.utc,N=y.args;this.$u=w;var V=N[1];if(typeof V=="string"){var A=N[2]===!0,E=N[3]===!0,q=A||E,U=N[2];E&&(U=N[2]),s=this.$locale(),!A&&U&&(s=u.Ls[U]),this.$d=function(D,I,P){try{if(["x","X"].indexOf(I)>-1)return new Date((I==="X"?1e3:1)*D);var B=b(I)(D),x=B.year,R=B.month,T=B.day,F=B.hours,M=B.minutes,K=B.seconds,j=B.milliseconds,W=B.zone,Y=new Date,X=T||(x||R?1:Y.getDate()),G=x||Y.getFullYear(),ne=0;x&&!R||(ne=R>0?R-1:Y.getMonth());var ee=F||0,ae=M||0,se=K||0,de=j||0;return W?new Date(Date.UTC(G,ne,X,ee,ae,se,de+60*W.offset*1e3)):P?new Date(Date.UTC(G,ne,X,ee,ae,se,de)):new Date(G,ne,X,ee,ae,se,de)}catch{return new Date("")}}(k,V,w),this.init(),U&&U!==!0&&(this.$L=this.locale(U).$L),q&&k!=this.format(V)&&(this.$d=new Date("")),s={}}else if(V instanceof Array)for(var L=V.length,z=1;z<=L;z+=1){N[1]=V[z-1];var $=u.apply(this,N);if($.isValid()){this.$d=$.$d,this.$L=$.$L,this.init();break}z===L&&(this.$d=new Date(""))}else C.call(this,y)}}})})(Bc);const Vc=wn;var Nn={},Ac={get exports(){return Nn},set exports(e){Nn=e}};(function(e,n){(function(o,l){e.exports=l()})(xe,function(){return function(o,l,r){var i=l.prototype,a=i.format;r.en.ordinal=function(s){var c=["th","st","nd","rd"],m=s%100;return"["+s+(c[(m-20)%10]||c[m]||c[0])+"]"},i.format=function(s){var c=this,m=this.$locale();if(!this.isValid())return a.bind(this)(s);var f=this.$utils(),d=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(g){switch(g){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return m.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return m.ordinal(c.week(),"W");case"w":case"ww":return f.s(c.week(),g==="w"?1:2,"0");case"W":case"WW":return f.s(c.isoWeek(),g==="W"?1:2,"0");case"k":case"kk":return f.s(String(c.$H===0?24:c.$H),g==="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 g}});return a.bind(this)(d)}}})})(Ac);const Ec=Nn;var Bn={},Tc={get exports(){return Bn},set exports(e){Bn=e}};(function(e,n){(function(o,l){e.exports=l()})(xe,function(){return function(o,l,r){var i=l.prototype,a=function(d){return d&&(d.indexOf?d:d.s)},s=function(d,g,S,b,h){var v=d.name?d:d.$locale(),u=a(v[g]),p=a(v[S]),C=u||p.map(function(k){return k.slice(0,b)});if(!h)return C;var y=v.weekStart;return C.map(function(k,w){return C[(w+(y||0))%7]})},c=function(){return r.Ls[r.locale()]},m=function(d,g){return d.formats[g]||function(S){return S.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,h,v){return h||v.slice(1)})}(d.formats[g.toUpperCase()])},f=function(){var d=this;return{months:function(g){return g?g.format("MMMM"):s(d,"months")},monthsShort:function(g){return g?g.format("MMM"):s(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(g){return g?g.format("dddd"):s(d,"weekdays")},weekdaysMin:function(g){return g?g.format("dd"):s(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(g){return g?g.format("ddd"):s(d,"weekdaysShort","weekdays",3)},longDateFormat:function(g){return m(d.$locale(),g)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return f.bind(this)()},r.localeData=function(){var d=c();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(g){return m(d,g)},meridiem:d.meridiem,ordinal:d.ordinal}},r.months=function(){return s(c(),"months")},r.monthsShort=function(){return s(c(),"monthsShort","months",3)},r.weekdays=function(d){return s(c(),"weekdays",null,null,d)},r.weekdaysShort=function(d){return s(c(),"weekdaysShort","weekdays",3,d)},r.weekdaysMin=function(d){return s(c(),"weekdaysMin","weekdays",2,d)}}})})(Tc);const $c=Bn;var Vn={},Dc={get exports(){return Vn},set exports(e){Vn=e}};(function(e,n){(function(o,l){e.exports=l()})(xe,function(){var o="week",l="year";return function(r,i,a){var s=i.prototype;s.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var m=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var f=a(this).startOf(l).add(1,l).date(m),d=a(this).endOf(o);if(f.isBefore(d))return 1}var g=a(this).startOf(l).date(m).startOf(o).subtract(1,"millisecond"),S=this.diff(g,o,!0);return S<0?a(this).startOf("week").week():Math.ceil(S)},s.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(Dc);const Ic=Vn;var An={},qc={get exports(){return An},set exports(e){An=e}};(function(e,n){(function(o,l){e.exports=l()})(xe,function(){return function(o,l){l.prototype.weekYear=function(){var r=this.month(),i=this.week(),a=this.year();return i===1&&r===11?a+1:r===0&&i>=52?a-1:a}}})})(qc);const zc=An;var En={},Mc={get exports(){return En},set exports(e){En=e}};(function(e,n){(function(o,l){e.exports=l()})(xe,function(){return function(o,l,r){l.prototype.dayOfYear=function(i){var a=Math.round((r(this).startOf("day")-r(this).startOf("year"))/864e5)+1;return i==null?a:this.add(i-a,"day")}}})})(Mc);const Pc=En;var Tn={},xc={get exports(){return Tn},set exports(e){Tn=e}};(function(e,n){(function(o,l){e.exports=l()})(xe,function(){return function(o,l){l.prototype.isSameOrAfter=function(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}})})(xc);const Rc=Tn;var $n={},Lc={get exports(){return $n},set exports(e){$n=e}};(function(e,n){(function(o,l){e.exports=l()})(xe,function(){return function(o,l){l.prototype.isSameOrBefore=function(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}})})(Lc);const Oc=$n;qe.extend($c);qe.extend(Ec);qe.extend(Vc);qe.extend(Ic);qe.extend(zc);qe.extend(Pc);qe.extend(Rc);qe.extend(Oc);const Q={format(e,n){return qe(e).format(n)},parser(e,n){return qe(e,n).toDate()},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,o){const r=new Date(e+"/"+n+"/"+o).getDay();return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][r]},getMonthPreDay(e,n){let l=new Date(e+"/"+n+"/01").getDay();return l==0&&(l=7),l},getMonthDays(e,n){return/^0/.test(n)&&(n=n.split("")[1]),[0,31,this.isLeapYear(Number(e))?29:28,31,30,31,30,31,31,30,31,30,31][n]},getNumTwoBit(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,n){n=n||"-";const o=e.getFullYear(),l=this.getNumTwoBit(e.getMonth()+1),r=this.getNumTwoBit(e.getDate());return[o,l,r].join(n)},getDay(e){e=e||0;let n=new Date;const o=e*(1e3*60*60*24);return n=new Date(n.getTime()+o),this.date2Str(n)},compareDate(e,n){let o;typeof e=="string"?o=new Date(e.replace("-","/").replace("-","/")):o=e;let l;return typeof n=="string"?l=new Date(n.replace("-","/").replace("-","/")):l=n,!(o>=l)},isEqual(e,n){if(e===n)return!0;if(!e||!n)return!1;let o;typeof e=="string"?o=new Date(e).getTime():o=e.getTime();let l;return typeof n=="string"?l=new Date(n).getTime():l=n,o==l},inScope4Day(e,n,o){const l=new Date(new Date(n).setDate(n.getDate()+o)),r=e.getTime(),i=l.getTime(),a=n.getTime();return i>a?r>=a&&r<=i:r>=i&&r<=a},inScope4Month(e,n,o){const l=new Date(new Date(n).setMonth(n.getMonth()+o)),r=e.getTime(),i=l.getTime(),a=n.getTime();return i>a?r>=a&&r<=i:r>=i&&r<=a}},Po=new Date().getFullYear(),_n={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",time:"HH:mm:ss",["month-day"]:"MM-DD",datehour:"YYYY-MM-DD HH"},Kt=(e,n,o)=>{let l;if(De(n)?l=n:typeof n=="string"&&ce(n)>0?l=Q.parser(n,o):l=new Date,l.toString()==="Invalid Date")return null;let r=Math.max(l.getTime(),e.minDate.getTime());return r=Math.min(r,e.maxDate.getTime()),new Date(r)},Dn=(e,n,o)=>{De(n)||(n=e.minDate);let l=Math.max(n.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),Q.format(new Date(l),o)};let In={modelValue:{type:[String,Date]},confirmText:{type:String,default:""},cancelText:{type:String,default:""},type:{type:String,default:"date"},valueFormat:{type:String},visible:{type:Boolean,default:!1},title:{type:String,default:""},isShowChinese:{type:Boolean,default:!0},minuteStep:{type:Number,default:1},minDate:{type:Date,default:()=>new Date(Po-10,0,1),validator:De},maxDate:{type:Date,default:()=>new Date(Po+10,11,31),validator:De},visibleItemCount:{type:[Number,String],default:7},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3},isWrapTeleport:{type:Boolean,default:!0}};const{create:Fc,scope:Uc}=O("date-picker"),Kc=Fc({components:{[St.name]:St},props:{...In},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:o}=_.useFoxI18n(Uc),l={day:o("day"),year:o("year"),month:o("month"),hour:o("hour"),minute:o("minute"),seconds:o("seconds")},r=t.ref(!1);t.watch(()=>e.visible,u=>{r.value=u});function i(u,p){return new Date(u,p,0).getDate()}const a=(u,p)=>{const C=e[`${u}Date`],y=C.getFullYear();let k=1,w=1,N=0,V=0;u==="max"&&(k=12,w=i(p.getFullYear(),p.getMonth()+1),N=23,V=59);const A=V;return p.getFullYear()===y&&(k=C.getMonth()+1,p.getMonth()+1===k&&(w=C.getDate(),p.getDate()===w&&(N=C.getHours(),p.getHours()===N&&(V=C.getMinutes())))),{[`${u}Year`]:y,[`${u}Month`]:k,[`${u}Date`]:w,[`${u}Hour`]:N,[`${u}Minute`]:V,[`${u}Seconds`]:A}},s=t.computed(()=>{if(!g.value)return[];const{maxYear:u,maxDate:p,maxMonth:C,maxHour:y,maxMinute:k,maxSeconds:w}=a("max",g.value),{minYear:N,minDate:V,minMonth:A,minHour:E,minMinute:q,minSeconds:U}=a("min",g.value);let L=[{type:"year",range:[N,u]},{type:"month",range:[A,C]},{type:"day",range:[V,p]},{type:"hour",range:[E,y]},{type:"minute",range:[q,k]},{type:"seconds",range:[U,w]}];switch(e.type){case"date":L=L.slice(0,3);break;case"datetime":L=L.slice(0,5);break;case"time":L=L.slice(3,6);break;case"month-day":L=L.slice(1,3);break;case"datehour":L=L.slice(0,4);break}return L}),c=(u,p,C)=>{if(!(p>u))return null;const y=[];for(;u<=p;)e.isShowChinese?y.push({text:u+l[C],value:u}):y.push({text:`${u}`,value:u}),C==="minute"?u+=e.minuteStep:u++;return y},m=t.computed(()=>{let u=[];return s.value.forEach(p=>{let C=c(p.range[0],p.range[1],p.type);C&&u.push(C)}),u}),f=(u,p)=>u==="year"?p.getFullYear():u==="month"?p.getMonth()+1:u==="day"?p.getDate():u==="hour"?p.getHours():u==="minute"?p.getMinutes():u==="seconds"?p.getSeconds():0,d=t.ref(),g=t.ref(null);t.watchEffect(()=>{let u,p=e.modelValue;if(typeof p=="string"?p.length==0?u=new Date:e.valueFormat?u=Kt(e,e.modelValue,e.valueFormat):u=Kt(e,p,_n[e.type]):De(p)?u=p:u=new Date,!!u&&(!g.value||u.getTime()!==g.value.getTime())){g.value=u;let C=[];s.value.forEach(y=>{let k=f(y.type,u);C.push(k)}),d.value=C}});const S=u=>{if(e.type==="date"){let p=u;g.value=new Date(p[0],p[1]-1,Math.min(p[2],i(p[0],p[1])))}else if(e.type==="datetime"){let p=u;g.value=new Date(p[0],p[1]-1,Math.min(p[2],i(p[0],p[1])),p[3],p[4])}else if(e.type==="datehour"){let p=u;g.value=new Date(p[0],p[1]-1,Math.min(p[2],i(p[0],p[1])),p[3])}else if(e.type==="time"){let p=u,C=g.value??new Date,y=new Date(C.getFullYear(),C.getMonth(),C.getDate(),p[0],p[1],p[2]);g.value=y}else if(e.type==="month-day"){let p=u,C=g.value??new Date,y=new Date(C.getFullYear(),p[0]-1,p[1]);g.value=y}d.value=u};return{columns:m,dateIndexs:d,show:r,onClose:()=>{r.value=!1,n("update:visible",!1),n("update:close",!1)},onConfirm:u=>{S(u),r.value=!1;let p=g.value??new Date;if(e.valueFormat){let C=Dn(e,p,e.valueFormat);n("update:modelValue",C)}else n("update:modelValue",p);n("update:visible",!1),n("confirm",u)},onClear:()=>{n("clear")}}}});function Hc(e,n,o,l,r,i){const a=t.resolveComponent("fox-picker");return t.openBlock(),t.createBlock(a,{visible:e.show,"model-value":e.dateIndexs,source:e.columns,"value-type":"value","confirm-text":e.confirmText,"cancel-text":e.cancelText,title:e.title,onConfirm:e.onConfirm,onClose:e.onClose,onClear:e.onClear,"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,isWrapTeleport:e.isWrapTeleport},{top:t.withCtx(()=>[t.renderSlot(e.$slots,"top")]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["visible","model-value","source","confirm-text","cancel-text","title","onConfirm","onClose","onClear","visible-item-count","three-dimensional","swipe-duration","isWrapTeleport"])}const eo=H(Kc,[["render",Hc]]);function jc(e){let n=e.format;if(!n){let o=e.type??"date";n=_n[o]}return n}function Wc(e,n,o,l,r,i=!1){return{props:{...ue,...me,...In,format:{type:String},placeholder:{type:String,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}},emits:["change","update:modelValue","blur","focus","clear"],setup(a,s){const{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??s.attrs.name),{toLocaleRefs:m}=_.useFoxI18n(n),f=m(a,["placeholder"]),d=t.ref(!1),g=Ee(t.computed(()=>a.disabled)),S=Pe(t.computed(()=>a.readonly)),h=Ie(a,"modelValue",T=>T==null?null:typeof T=="string"?T.length==0?null:a.valueFormat?Kt(a,T,a.valueFormat)??T:Kt(a,T,_n[a.type])??T:De(T)?T:null),v=t.computed(()=>{if(!h.value)return"";const T=jc(a);return Dn(a,h.value,T)}),u="fox-input-item",p=t.computed(()=>({[u]:!0,[`${u}__disabled`]:g.value})),C=Se(t.computed(()=>a.textAlign),"textAlign"),y=t.computed(()=>({textAlign:C.value??"right"})),k=t.ref(!1),w=()=>{k.value=!0},N=()=>{k.value=!1};s.expose({showPicker:w,hidePicker:N});const V=T=>{k.value=T},A=T=>{if(h.value=T,a.valueFormat){let F=Dn(a,T,a.valueFormat);c("update:modelValue",F,{}),c("change",F,{})}else c("update:modelValue",T,{}),c("change",T,{})},E=T=>{let M=T.target.value;d.value=!0,c("focus",M,T)},q=T=>{setTimeout(()=>{d.value=!1},0);let M=T.target.value;a.maxLength&&M.length>Number(a.maxLength)&&(M=M.slice(0,Number(a.maxLength))),c("blur",M,T)},U=t.computed(()=>({[`${u}__append`]:!0})),L=t.computed(()=>ce(a.unit)>0),z=t.computed(()=>ce(a.unit)>0&&!d.value),$=t.computed(()=>({hidden:!z.value})),D=T=>{h.value="",c("update:modelValue","",T),c("change","",T),c("clear",""),N()},I=t.computed(()=>a.clearable&&!g.value&&!S.value),P=t.computed(()=>{let T=ce(h.value)>0;return a.clearable&&T&&d.value}),B=T=>{P.value?D(T):w()},x=t.computed(()=>P.value&&I.value?"close-little":"date"),R=t.computed(()=>({action:!0}));return()=>{const T={class:p.value,style:y.value,type:"text",maxlength:a.maxLength,placeholder:f.placeholder.value,readonly:!0,unselectable:"on",value:v.value,onClick:w,onFocus:E,onBlur:q};i&&(T.disabled=!0);const F=[],M=t.h("input",T);F.push(M);const K=[],j={name:x.value,size:"10px"},W=t.h(l,j),Y={class:R.value,onClick:B},X=t.h("view",Y,{default:()=>[W]});if(K.push(X),L.value){const ge=t.h("view",{class:$.value},[a.unit]);K.push(ge)}const G={class:U.value},ne=t.h("view",G,{default:()=>K});F.push(ne);const ee={default:()=>F};if(s.slots.default){const ge=s.slots.default();ee.label=()=>ge}if(s.slots.prepend){const ge=s.slots.prepend();ee.prepend=()=>ge}if(s.slots.append){const ge=s.slots.append();ee.append=()=>ge}const ae=ke(a,In);ae.valueFormat=null,ae.disabled=!1,ae.readonly=g.value||S.value,ae.visible=k.value,ae["onUpdate:visible"]=V,ae.modelValue=h.value,ae["onUpdate:modelValue"]=A,ae.onClear=D;const se={};if(s.slots.top){const ge=s.slots.top();se.top=()=>ge}if(s.slots.bottom){const ge=s.slots.bottom();se.default=()=>ge}const de=t.h(r,ae,se);ee.hide=()=>[de];const te=ke(a,me,ue);return t.h(o,te,ee)}}}}const{create:Yc,componentName:Xc,scope:Qc}=O("date-item"),Rl=Yc(Wc(Xc,Qc,Te,re,eo,!1)),{create:Gc,scope:Zc}=O("calendar-pane"),Jc=Gc({props:{type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array],default:null},startDate:{type:String,default:Q.getDay(0)},endDate:{type:String,default:Q.getDay(365)}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:o}){const{localeArrayRef:l,toLocaleRefs:r,t:i}=_.useFoxI18n(Zc),a=l("weekdays"),s=r(e,["title","confirmText","startText","endText"]),c=t.ref(null),m=t.ref(null),f=t.ref(null),d=t.ref(null),g=t.ref(0),S=t.computed(()=>u.monthsData.slice(u.defaultRange[0],u.defaultRange[1])),b=t.computed(()=>o.btn),h=t.computed(()=>o.topInfo),v=t.computed(()=>o.bottomInfo),u=t.reactive({yearMonthTitle:"",defaultRange:[],currDate:"",propStartDate:"",propEndDate:"",unLoadPrev:!1,touchParams:{startY:0,endY:0,startTime:0,endTime:0,lastY:0,lastTime:0},transformY:0,translateY:0,scrollDistance:0,defaultData:[],chooseData:[],monthsData:[],dayPrefix:"calendar-month-day",startData:"",endData:"",isRange:e.type==="range",timer:0,currentIndex:0,avgHeight:0,monthsNum:0}),p=T=>T.split("-"),C=T=>Q.isEqual(u.currDate[0],T),y=T=>Q.isEqual(u.currDate[1],T),k=(T,F,M)=>F.curData[0]+"-"+F.curData[1]+"-"+Q.getNumTwoBit(+T.day),w=(T,F,M)=>{const K=k(T,F);return T.type=="curr"?!u.isRange&&Q.isEqual(u.currDate,K)||u.isRange&&(C(K)||y(K))?`${u.dayPrefix}-active`:u.propStartDate&&Q.compareDate(K,u.propStartDate)||u.propEndDate&&Q.compareDate(u.propEndDate,K)?`${u.dayPrefix}-disabled`:u.isRange&&Array.isArray(u.currDate)&&Object.values(u.currDate).length==2&&Q.compareDate(u.currDate[0],K)&&Q.compareDate(K,u.currDate[1])?`${u.dayPrefix}-choose`:null:`${u.dayPrefix}-disabled`},N=()=>{(u.isRange&&u.chooseData.length==2||!u.isRange)&&(n("choose",u.chooseData),e.poppable&&n("update"))},V=(T,F,M,K)=>{if(w(T,F)!=`${u.dayPrefix}-disabled`){let j=[...F.curData];j[2]=typeof T.day=="number"?Q.getNumTwoBit(T.day):T.day,j[3]=`${j[0]}-${j[1]}-${j[2]}`,j[4]=Q.getWhatDay(+j[0],+j[1],+j[2]),u.isRange?(Object.values(u.currDate).length==2?u.currDate=[j[3]]:Q.compareDate(u.currDate[0],j[3])?Array.isArray(u.currDate)&&u.currDate.push(j[3]):Array.isArray(u.currDate)&&u.currDate.unshift(j[3]),u.chooseData.length==2||!u.chooseData.length?u.chooseData=[...j]:Q.compareDate(u.chooseData[3],j[3])?u.chooseData=[[...u.chooseData],[...j]]:u.chooseData=[[...j],[...u.chooseData]]):(u.currDate=j[3],u.chooseData=[...j]),M||(n("select",u.chooseData),e.isAutoBackFill&&N())}},A=T=>{const F=T=="prev"?u.monthsData[0]:u.monthsData[u.monthsData.length-1];let M=parseInt(F.curData[0]),K=parseInt(F.curData[1].toString().replace(/^0/,""));switch(T){case"prev":K==1&&(M-=1),K=K==1?12:--K;break;case"next":K==12&&(M+=1),K=K==12?1:++K;break}return[M,Q.getNumTwoBit(K),Q.getMonthDays(String(M),String(K))]},E=(T,F,M)=>{let{year:K,month:j}=M;return F=="prev"&&T>=7&&(T-=7),Array.from(Array(T),(W,Y)=>({day:Y+1,type:F,year:K,month:j}))},q=(T,F,M,K)=>{let{year:j,month:W}=M;return F=="prev"&&T>=7&&(T-=7),Array.from(Array(K),(X,G)=>({day:G+1,type:F,year:j,month:W})).slice(K-T)},U=(T,F)=>{const M=Q.getMonthPreDay(+T[0],+T[1]);let K=T[1]-1,j=T[0];K<=0&&(K=12,j+=1);const W=Q.getMonthDays(T[0],T[1]),Y=Q.getMonthDays(j+"",K+""),X={year:T[0],month:T[1]},G={curData:T,title:i("monthTitle",{year:X.year,month:X.month}),monthData:[...q(M,"prev",{month:K,year:j},Y),...E(W,"curr",X)]};G.cssHeight=39+(G.monthData.length>35?384:320);let ne=0;u.monthsData.length>0&&(ne=u.monthsData[u.monthsData.length-1].cssScrollHeight+u.monthsData[u.monthsData.length-1].cssHeight),G.cssScrollHeight=ne,F=="next"?(!u.endData||!Q.compareDate(`${u.endData[0]}-${u.endData[1]}-${Q.getMonthDays(u.endData[0],u.endData[1])}`,`${T[0]}-${T[1]}-${T[2]}`))&&u.monthsData.push(G):!u.startData||!Q.compareDate(`${T[0]}-${T[1]}-${T[2]}`,`${u.startData[0]}-${u.startData[1]}-01`)?u.monthsData.unshift(G):u.unLoadPrev=!0},L=()=>{let T=e.startDate?e.startDate:Q.getDay(0),F=e.endDate?e.endDate:Q.getDay(365);u.propStartDate=T,u.propEndDate=F,u.startData=p(T),u.endData=p(F),!e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length<=0?u.currDate=u.isRange?[Q.date2Str(new Date),Q.getDay(1)]:Q.date2Str(new Date):u.currDate=u.isRange?[...e.defaultValue]:e.defaultValue;const M={year:Number(u.startData[0]),month:Number(u.startData[1])},K={year:Number(u.endData[0]),month:Number(u.endData[1])};let j=K.month-M.month;K.year-M.year>0&&(j=j+12*(K.year-M.year)),U(u.startData,"next");let W=1;do U(A("next"),"next");while(W++<j);u.monthsNum=j,u.isRange&&Array.isArray(u.currDate)?(T&&Q.compareDate(u.currDate[0],T)&&u.currDate.splice(0,1,T),F&&Q.compareDate(F,u.currDate[1])&&u.currDate.splice(1,1,F),u.defaultData=[...p(u.currDate[0]),...p(u.currDate[1])]):(T&&Q.compareDate(u.currDate,T)?u.currDate=T:F&&!Q.compareDate(u.currDate,F)&&(u.currDate=F),u.defaultData=[...p(u.currDate)]);let Y=0,X=0;u.monthsData.forEach((ee,ae)=>{let se=i("monthTitle",{year:u.defaultData[0],month:u.defaultData[1]});ee.title==se&&(Y=ae),u.isRange&&(se=i("monthTitle",{year:u.defaultData[3],month:u.defaultData[4]}),ee.title==se&&(X=ae))}),z(j,Y),u.currentIndex=Y,u.yearMonthTitle=u.monthsData[u.currentIndex].title,u.isRange?(V({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0),V({day:u.defaultData[5],type:"curr"},u.monthsData[X],!0)):V({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0);let G=u.monthsData[u.monthsData.length-1],ne=G.cssHeight+G.cssScrollHeight;Fe(()=>{c?.value&&m?.value&&d?.value&&(g.value=c.value.clientHeight,m.value.style.height=`${ne}px`,c.value.scrollTop=u.monthsData[u.currentIndex].cssScrollHeight)}),u.avgHeight=Math.floor(ne/(j+1))},z=(T,F)=>{T>=3?F>0&&F<T?u.defaultRange=[F-1,F+3]:F==0?u.defaultRange=[F,F+4]:F==T&&(u.defaultRange=[F-2,F+2]):u.defaultRange=[0,T+2];let M=u.monthsData[u.defaultRange[0]].cssScrollHeight;u.translateY=M},$=(T,F)=>u.isRange&&T.type=="curr"&&w(T,F)=="calendar-month-day-active",D=(T,F)=>$(T,F)&&C(k(T,F)),I=(T,F)=>u.currDate.length>=2&&y(k(T,F))?$(T,F):!1,P=(T,F)=>{if(u.currDate.length>=2)return Q.isEqual(u.currDate[0],u.currDate[1])},B=T=>{const F=`${T.year}-${T.month}-${T.day<10?"0"+T.day:T.day}`;return Q.isEqual(F,Q.date2Str(new Date))},x=T=>{const F=T.target.scrollTop;let M=Math.floor(F/u.avgHeight);if(M==0)F>=u.monthsData[M+1].cssScrollHeight&&(M+=1);else if(M>0&&M<u.monthsNum-1)F>=u.monthsData[M+1].cssScrollHeight&&(M+=1),F<u.monthsData[M].cssScrollHeight&&(M-=1);else{const K=Math.round(F+g.value);K<u.monthsData[M].cssScrollHeight+u.monthsData[M].cssHeight&&F>u.monthsData[M-1].cssScrollHeight&&(M-=1),M+1<=u.monthsNum&&K>=u.monthsData[M+1].cssScrollHeight+u.monthsData[M+1].cssHeight&&(M+=1),F<u.monthsData[M-1].cssScrollHeight&&(M-=1)}u.currentIndex!==M&&(u.currentIndex=M,z(u.monthsNum,M)),u.yearMonthTitle=u.monthsData[M].title},R=()=>{u.chooseData.splice(0),u.monthsData.splice(0),L()};return L(),t.watch(()=>e.defaultValue,T=>{T&&e.poppable&&R()}),{weeks:a,compConthsData:S,showTopBtn:b,topInfo:h,bottomInfo:v,rangeTip:P,mothsViewScroll:x,getClass:w,isStartTip:D,isEndTip:I,chooseDay:V,isCurrDay:B,confirm:N,monthsPanel:m,months:c,weeksPanel:f,viewArea:d,...t.toRefs(u),...t.toRefs(e),...s}}}),_c={key:0,class:"calendar-title"},eu={key:1,class:"calendar-top-slot"},tu={key:2,class:"calendar-curr-month"},nu={class:"calendar-weeks",ref:"weeksPanel"},ou={class:"calendar-months-panel",ref:"monthsPanel"},lu={class:"calendar-month-title"},au={class:"calendar-month-con"},ru=["onClick"],su={class:"calendar-day"},iu={key:0,class:"calendar-curr-tips calendar-curr-tips-top"},cu={key:1,class:"calendar-curr-tips calendar-curr-tips-bottom"},uu={key:2,class:"calendar-curr-tip-curr"},du={key:4,class:"calendar-day-tip"},fu={key:0,class:"fox-calendar-footer"};function mu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-calendar fox-calendar-taro",{"fox-calendar-tile":!e.poppable,"fox-calendar-nofooter":e.isAutoBackFill}])},[t.createElementVNode("view",{class:t.normalizeClass(["fox-calendar-header",{"fox-calendar-header-tile":!e.poppable}])},[e.showTitle?(t.openBlock(),t.createElementBlock("view",_c,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",eu,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",tu,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",nu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.weeks,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:"calendar-week-item",key:s},t.toDisplayString(a),1))),128))],512)],2),t.createElementVNode("view",{class:"fox-calendar-content",ref:"months",onScroll:n[0]||(n[0]=(...a)=>e.mothsViewScroll&&e.mothsViewScroll(...a))},[t.createElementVNode("view",ou,[t.createElementVNode("view",{class:"viewArea",ref:"viewArea",style:t.normalizeStyle({transform:`translateY(${e.translateY}px)`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.compConthsData,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:"calendar-month",key:s},[t.createElementVNode("view",lu,t.toDisplayString(a.title),1),t.createElementVNode("view",au,[t.createElementVNode("view",{class:t.normalizeClass(["calendar-month-item",e.type==="range"?"month-item-range":""])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.monthData,(c,m)=>(t.openBlock(),t.createElementBlock("view",{key:m,class:t.normalizeClass(["calendar-month-day",e.getClass(c,a)]),onClick:f=>e.chooseDay(c,a)},[t.createElementVNode("view",su,[t.renderSlot(e.$slots,"day",{date:c.type=="curr"?c:""},()=>[t.createTextVNode(t.toDisplayString(c.type=="curr"?c.day:""),1)])]),e.topInfo?(t.openBlock(),t.createElementBlock("view",iu,[t.renderSlot(e.$slots,"topInfo",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",cu,[t.renderSlot(e.$slots,"bottomInfo",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(c)?(t.openBlock(),t.createElementBlock("view",uu," 今天 ")):t.createCommentVNode("",!0),e.isStartTip(c,a)?(t.openBlock(),t.createElementBlock("view",{key:3,class:t.normalizeClass(["calendar-day-tip",{"calendar-curr-tips-top":e.rangeTip(c,a)}])},t.toDisplayString(e.startText),3)):t.createCommentVNode("",!0),e.isEndTip(c,a)?(t.openBlock(),t.createElementBlock("view",du,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],10,ru))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",fu,[t.createElementVNode("view",{class:"calendar-confirm-btn",onClick:n[1]||(n[1]=(...a)=>e.confirm&&e.confirm(...a))},t.toDisplayString(e.confirmText),1)])):t.createCommentVNode("",!0)],2)}const xo=H(Jc,[["render",mu]]),ct=e=>typeof e=="string"?e:De(e)?Q.date2Str(e):"",Ll=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),qn={type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},visible:{type:Boolean,default:!1},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Date,Array],default:null},startDate:{type:[String,Date],default:Q.getDay(0)},endDate:{type:[String,Date],default:Q.getDay(365)}},{create:pu}=O("calendar"),hu=pu({components:{[xo.name]:xo},props:{...qn},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:o}){const l=t.computed(()=>e.type==="range"),r=t.computed(()=>{let p;if(Ll(e.defaultValue))p=l.value?[Q.date2Str(new Date),Q.getDay(1)]:Q.date2Str(new Date);else if(l.value)if(Array.isArray(e.defaultValue)&&e.defaultValue.length==2){let C=ct(e.defaultValue[0]),y=ct(e.defaultValue[1]);p=[C,y]}else p=[Q.date2Str(new Date),Q.getDay(1)];else{let C=Array.isArray(e.defaultValue)?e.defaultValue[0]:e.defaultValue;p=ct(C??new Date)}return p}),i=t.computed(()=>ct(e.startDate)),a=t.computed(()=>ct(e.endDate)),s=t.computed(()=>o.btn),c=t.computed(()=>o.topInfo),m=t.computed(()=>o.day),f=t.computed(()=>o.bottomInfo);let d=t.ref(e.visible);const g=t.ref(null),S=()=>{d.value=!1,n("update:visible",!1)},b=()=>{d.value=!1,n("close"),n("update:visible",!1)},h=p=>{b(),n("choose",p)},v=()=>{b()},u=p=>{n("select",p)};return t.watch(()=>e.visible,p=>{d.value=p}),{defaultValue:r,startDateStr:i,endDateStr:a,closePopup:v,update:S,close:b,choose:h,select:u,calendarRef:g,showTopBtn:s,topInfo:c,dayInfo:m,bottomInfo:f}}});function gu(e,n,o,l,r,i){const a=t.resolveComponent("fox-calendar-pane"),s=t.resolveComponent("fox-popup");return e.poppable?(t.openBlock(),t.createBlock(s,{key:0,visible:e.visible,position:"bottom",round:"",closeable:!0,onClickOverlay:e.closePopup,onClickCloseIcon:e.closePopup,"destroy-on-close":!0,style:{height:"85vh"}},{default:t.withCtx(()=>[e.visible?(t.openBlock(),t.createBlock(a,{key:0,props:"",ref:"calendarRef",type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,"confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"default-value":e.defaultValue,"show-today":e.showToday,"start-date":e.startDateStr,"end-date":e.endDateStr,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"show-title":e.showTitle,"show-sub-title":e.showSubTitle},t.createSlots({_:2},[e.showTopBtn?{name:"btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"day",{date:c.date})]),key:"1"}:void 0,e.topInfo?{name:"topInfo",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"topInfo",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottomInfo",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"bottomInfo",{date:c.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","confirm-text","start-text","end-text","default-value","show-today","start-date","end-date","onUpdate","onClose","onChoose","onSelect","show-title","show-sub-title"])):t.createCommentVNode("",!0)]),_:3},8,["visible","onClickOverlay","onClickCloseIcon"])):(t.openBlock(),t.createBlock(a,{key:1,type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,"confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"default-value":e.defaultValue,"start-date":e.startDateStr,"end-date":e.endDateStr,onClose:e.close,onChoose:e.choose,onSelect:e.select,"show-title":e.showTitle,"show-sub-title":e.showSubTitle},t.createSlots({_:2},[e.showTopBtn?{name:"btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"day",{date:c.date})]),key:"1"}:void 0,e.topInfo?{name:"topInfo",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"topInfo",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottomInfo",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"bottomInfo",{date:c.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","confirm-text","start-text","end-text","default-value","start-date","end-date","onClose","onChoose","onSelect","show-title","show-sub-title"]))}const to=H(hu,[["render",gu]]),on=(e,n)=>{let o;return De(e)?o=e:typeof e=="string"&&ce(e)>0?o=Q.parser(e,n):o=new Date,o},Xe=(e,n,o)=>(De(n)||(n=new Date),Q.format(n,o)),Qe=e=>{let n=`${e.getFullYear()}`,o=`${e.getMonth()+1}`,l=`${e.getDate()}`,r=Q.date2Str(e),i=Q.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[n,o,l,r,i]};function yu(e,n,o,l,r,i=!1){return{props:{...ue,...me,...qn,modelValue:{type:[String,Date,Array],default:null},rangeSeparator:{type:String,default:"-"},valueFormat:{type:String,default:"YYYY-MM-DD"},format:{type:String,default:"YYYY-MM-DD"},showWeek:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}},emits:["change","update:modelValue","blur","focus","clear"],setup(a,s){const{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??s.attrs.name),{toLocaleRefs:m}=_.useFoxI18n(n),f=m(a,["placeholder"]),d=t.ref(!1),g=Ee(t.computed(()=>a.disabled)),S=Pe(t.computed(()=>a.readonly)),b=t.computed(()=>a.type==="range"),h=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),v=()=>{h.startDate!==null&&(h.startDate=null,h.endDate=null,h.startArray=[],h.endArray=[])},u=(M,K="one",j="YYYY-MM-DD")=>{if(Ll(M)){v();return}if(b.value&&Array.isArray(M)&&M.length==2){let W,Y;typeof M[0]=="string"?(W=on(M[0],j),Y=on(M[1],j)):(W=M[0],Y=M[1]);let X=Qe(W),G=Qe(Y);(h.startDate===null||h.startDate.getTime()!==W.getTime()||h.endDate?.getTime()!==Y.getTime())&&(h.startDate=W,h.startArray=X,h.endDate=Y,h.endArray=G)}else{let W;typeof M=="string"?W=on(M,j):W=M;let Y=Qe(W);(h.startDate===null||h.startDate.getTime()!==W.getTime())&&(h.startDate=W,h.startArray=Y)}};u(a.modelValue,a.type,a.valueFormat),t.watch(()=>a.modelValue,M=>{u(M,a.type,a.valueFormat)});const p=t.computed(()=>{if(h.startDate===null)return"";if(b.value){let M=Xe(a,h.startDate,a.format),K=Xe(a,h.endDate,a.format);return`${M} ${a.rangeSeparator} ${K}`}else{let M=Xe(a,h.startDate,a.format);return a.showWeek&&(M=`${M} ${h.startArray[4]}`),M}}),C=t.computed(()=>{if(h.startDate===null)return null;if(b.value){let M=Q.date2Str(h.startDate),K=Q.date2Str(h.endDate??new Date);return[M,K]}else return Q.date2Str(h.startDate)}),y="fox-input-item",k=t.computed(()=>({[y]:!0,[`${y}__disabled`]:g.value})),w=Se(t.computed(()=>a.textAlign),"textAlign"),N=t.computed(()=>({textAlign:w.value??"right"})),V=t.ref(!1),A=()=>{S.value||g.value||(V.value=!0)},E=M=>{V.value=M},q=M=>{if(M){if(b.value&&Array.isArray(M)){let K=M[0],j=oe(K[0]),W=oe(K[1]),Y=oe(K[2]),X=new Date(j,W-1,Y),G=M[1];j=oe(G[0]),W=oe(G[1]),Y=oe(G[2]);let ne=new Date(j,W-1,Y);if(h.startDate=X,h.startArray=Qe(X),h.endDate=ne,h.endArray=Qe(ne),a.valueFormat){let ee=Xe(a,X,a.valueFormat),ae=Xe(a,ne,a.valueFormat);c("update:modelValue",[ee,ae],{})}else c("update:modelValue",[X,ne],{})}else{let K=M,j=oe(K[0]),W=oe(K[1]),Y=oe(K[2]),X=new Date(j,W-1,Y);if(h.startDate=X,h.startArray=Qe(X),a.valueFormat){let G=Xe(a,X,a.valueFormat);c("update:modelValue",G,{})}else c("update:modelValue",X,{})}c("change",M,{})}},U=M=>{let j=M.target.value;d.value=!0,c("focus",j,M)},L=M=>{setTimeout(()=>{d.value=!1},0);let j=M.target.value;a.maxLength&&j.length>Number(a.maxLength)&&(j=j.slice(0,Number(a.maxLength))),c("blur",j,M)},z=t.computed(()=>({[`${y}__append`]:!0})),$=t.computed(()=>ce(a.unit)>0),D=t.computed(()=>ce(a.unit)>0&&!d.value),I=t.computed(()=>({hidden:!D.value})),P=M=>{v(),c("update:modelValue",null,M),c("change","",M),c("clear","")},B=t.computed(()=>a.clearable&&!g.value&&!S.value),x=t.computed(()=>{let M=ce(p.value)>0;return a.clearable&&M&&d.value}),R=M=>{x.value?P(M):A()},T=t.computed(()=>x.value&&B.value?"close-little":"date"),F=t.computed(()=>({action:!0}));return()=>{const M={class:k.value,style:N.value,type:"text",maxlength:a.maxLength,placeholder:f.placeholder.value,readonly:!0,unselectable:"on",value:p.value,onClick:A,onFocus:U,onBlur:L};i&&(M.disabled=!0);const K=[],j=t.h("input",M);K.push(j);const W=[],Y={name:T.value,size:"10px"},X=t.h(r,Y),G={class:F.value,onClick:R},ne=t.h("view",G,{default:()=>[X]});if(W.push(ne),$.value){const we=t.h("view",{class:I.value},[a.unit]);W.push(we)}const ee={class:z.value},ae=t.h("view",ee,{default:()=>W});K.push(ae);const se={default:()=>K};s.slots.default&&(se.label=s.slots.default),s.slots.prepend&&(se.prepend=s.slots.prepend),s.slots.append&&(se.append=s.slots.append);const de=ke(a,qn);de.visible=V.value,de["onUpdate:visible"]=E,de["default-value"]=C.value,de.onChoose=q;const te={};if(s.slots.btn){const we=s.slots.btn();te.btn=()=>we}s.slots.day&&(te.day=s.slots.day),s.slots.topInfo&&(te.topInfo=s.slots.topInfo),s.slots.bottomInfo&&(te.bottomInfo=s.slots.bottomInfo);const At=t.h(o,de,te);se.hide=()=>[At];const ge=ke(a,me,ue);return t.h(l,ge,se)}}}}const{componentName:vu,create:ku,scope:Su}=O("calendar-item"),Ol=ku(yu(vu,Su,to,Te,re,!1)),zn={justify:{type:String,default:"space-between"},align:{type:String,default:"flex-start"},wrap:{type:String,default:"nowrap"},labelWidth:{type:[String,Number]},labelPosition:{type:String},position:{type:String,default:"left"},shape:{type:String,default:"round"},disabled:{type:Boolean,default:!1},iconName:{type:String,required:!1,default:"check-normal"},iconActiveName:{type:String,required:!1,default:"check-checked"},iconSize:{type:[String,Number],required:!1,default:""},iconClassPrefix:{type:String,default:"fox-icon"},iconFontClassName:{type:String,default:"foxui-iconfont"}};function bu(e,n){return{props:{...zn,modelValue:{type:[String,Number,Boolean,Object],required:!1},value:{type:[String,Number,Boolean,Object],required:!1}},emits:["click","update:modelValue"],setup(o,l){const r=(v,u)=>`${e}__${v}-${u}`,i=t.computed(()=>`
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
${r("justify",o.justify)}
|
|
12
|
-
${r("align",o.align)}
|
|
13
|
-
${r("flex",o.wrap)}
|
|
14
|
-
${e}
|
|
15
|
-
`);let a=t.inject("parent",null);const s=t.computed(()=>a===null?o.value===void 0||o.value===null?!1:Ae(o.value,o.modelValue):a.currentValue===null?!1:il(o.value,a.currentValue)!==-1),c=t.computed(()=>a&&a.disabled||o.disabled),m=t.computed(()=>c.value?"fox-checkbox__icon--disable":s.value?o.indeterminate?"fox-checkbox__icon--indeterminate":"fox-checkbox__icon":"fox-checkbox__icon--unchecked"),f=()=>{const{iconName:p,iconSize:C,iconActiveName:y,iconClassPrefix:k,iconFontClassName:w,iconIndeterminateName:N}=t.toRefs(o);return t.h(n,{name:s.value?o.indeterminate?N.value:y.value:p.value,size:C.value,class:m.value,classPrefix:k.value,fontClassName:w.value})},d=t.computed(()=>{let p={[`${e}__label`]:!0,[`${e}__label--disabled`]:c.value};return o.labelPosition&&(o.labelPosition==="top"?p[`${e}__label--top`]=!0:o.labelPosition==="right"?p[`${e}__label--right`]=!0:p[`${e}__label--left`]=!0),p}),g=t.computed(()=>o.labelWidth?{width:Z(o.labelWidth)}:{}),S=()=>t.h("view",{class:d.value,style:g.value},l.slots.default?.());let b="";const h=p=>{if(c.value)return;a&&a.updateValue(o.value),b="click";let C=s.value?null:o.value;l.emit("update:modelValue",C),l.emit("click",C,p)};t.watch(()=>o.modelValue,p=>{b=="click"?b="":l.emit("change",p)});const v={toggle(){if(c.value)return;a&&a.updateValue(o.value);let p=s.value?null:o.value;l.emit("update:modelValue",p)},select(){if(c.value||s.value)return;a&&a.updateValue(o.value);let p=o.value;l.emit("update:modelValue",p)},clear(){c.value||s.value||(a&&a.updateValue(o.value),l.emit("update:modelValue",null))}};l.expose(v);const u=()=>t.h("view",{class:`${e}__button ${s.value&&`${e}__button--active`} ${o.disabled?`${e}__button--disabled`:""}`},l.slots.default?.());return()=>{let p=[];return o.shape==="button"?p=[u()]:o.position==="left"?p=[S(),f()]:p=[f(),S()],t.h("view",{class:i.value,onClick:h},{default:()=>p})}}}),{componentName:Du,create:Iu}=O("checkbox"),oo=Iu($u(Du,re));function Lo(e,n,o,l="value"){for(let r=0;r<n.length;r++){let i=n[r];if(l==="text"){if(xt(e,i)===o)return r}else if(l==="item"){if(Ae(o,i))return r}else if(ht(e,i)===o)return r}return-1}function xt(e,n){return typeof e.textName=="string"&&e.textName.length>0?n[e.textName]:n.text}function ht(e,n){return typeof e.valueName=="string"&&e.valueName.length>0?n[e.valueName]:n.value}function qu(e,n,o){return typeof e.itemOptions=="function"?e.itemOptions(n,o):e.itemOptions}class zu{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);let r=wt(this.proxy,n);return r===null?(console.error(`${n} component not found api function`),[]):(Ve(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await r(o,l))}}function Mu(){const e=t.getCurrentInstance();return new zu(e.proxy)}function Pu(e,n){return{props:{...Mn,source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textName:{type:String,required:!1,default:"text"},valueName:{type:String,required:!1,default:"value"},itemOptions:{type:[Object,Function],required:!1},column:{type:[String,Number],required:!1,default:1},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1},disabled:{type:[String,Boolean],required:!1},modelValue:{type:[Array,String],default:[]}},emits:["change","update:modelValue"],setup(o,l){const{emitEvent:r}=Ce({componentName:e},o.prop??l.attrs.name),i=Me(),a=lt(),s=Se(t.toRef(o,"labelPosition"),"labelPosition",He.Near),c=Se(t.toRef(o,"labelWidth"),"labelWidth",He.Near),m=t.computed(()=>{if(a&&i){const k=je(i,!1);if(k.value.type!=="flex")return{};const w={},N=fe(k.value.column,o.span);N>0&&(w.width=`${N}%`);const V=fe(k.value.column,o.offset);V>0&&(w["margin-left"]=`${V}%`);const A=k.value.gutter/2;return A>0&&(w["padding-left"]=`${A}px`,w["padding-right"]=`${A}px`),w}return{}});let f=Mu(),d=t.ref([]);t.watchEffect(async()=>{o.source&&(d.value=await f.load("checkbox",o.source,o.params))});let g=t.ref([]);t.watch([()=>o.modelValue,()=>d.value],async([k,w])=>{let N=[];Array.isArray(k)&&k.forEach(V=>{let A=Lo(o,w,V,o.valueType);A!==-1&&N.push(A)}),g.value=N},{deep:!0});const S=Ee(t.computed(()=>o.disabled)),b=t.computed(()=>{if(!o.source)return o.modelValue;let k=[];return g.value.forEach(w=>{let N=d.value[w];k.push(ht(o,N))}),k}),h=k=>{let w=[],N=[];if(d.value.length>0){let V=Lo(o,d.value,k,"value");if(V===-1)return;let A=g.value.indexOf(V);A===-1?g.value.push(V):g.value.splice(A,1),g.value.forEach(E=>{let q=d.value[E];N.push(q),o.valueType==="text"?w.push(xt(o,q)):o.valueType==="item"?w.push(q):w.push(ht(o,q))})}else{w=b.value;let V=w.indexOf(k);V===-1?w.push(k):w.splice(V,1)}r("update:modelValue",w),r("change",w,N)},v=t.computed(()=>{let k=o.column;k<0&&(k=1);let w=100/k;return w<0&&(w=100),`${w}%`}),u=t.readonly({disabled:S,currentValue:b,updateValue:h});t.provide("parent",u);const p=function(k){},C=()=>{let k=[],w=[];g.value.forEach(N=>{let V=d.value[N];w.push(V),o.valueType==="text"?k.push(xt(o,V)):o.valueType==="item"?k.push(V):k.push(ht(o,V))}),r("update:modelValue",k),r("change",k,w)},y={selectAll:()=>{let k=!1;for(let w=0;w<d.value.length;w++)g.value.includes(w)||(g.value.push(w),k=!0);k&&C()},clearAll:()=>{let k=!1,w=g.value.length;w>0&&(g.value.splice(0,w),k=!0),k&&C()},toggleAll:()=>{for(let k=0;k<d.value.length;k++){let w=g.value.indexOf(k);w==-1?g.value.push(k):g.value.splice(w,1)}C()},toggleReverse:()=>{let k=[];for(let w=0;w<d.value.length;w++)g.value.indexOf(w)===-1&&k.push(w);g.value=k,C()}};return l.expose(y),o.source?()=>{let k=[];return d.value.forEach((w,N)=>{let V=xt(o,w),A=ht(o,w),E=ke(o,Mn);Object.assign(E,{style:{width:v.value},labelWidth:c.value,labelPosition:s.value,value:A});const q=qu(o,w,N);E={...E,...q,ref:p};let U;if(l.slots.label){let L=l.slots.label?.({text:V,index:N});U=t.h(n,E,{default:()=>[L]})}else U=t.h(n,E,{default:()=>[V]});k.push(U)}),t.h("view",{class:`${e}`,style:m.value},{default:()=>k})}:()=>{let k=l.slots.default?.()??[];return t.h("view",{class:`${e}`,style:m.value,ref:p},{default:()=>k})}}}}const{componentName:xu,create:Ru}=O("checkbox-item"),Ul=Ru(Pu(xu,oo)),Pn={modelValue:{type:[String,Number,Boolean],default:!1},disable:{type:Boolean,default:!1},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[String,Number,Boolean],default:!0},inactiveValue:{type:[String,Number,Boolean],default:!1},loading:{type:Boolean,default:!1},name:{type:String,default:"loading1"},size:{type:[String,Number],default:"12px"},color:{type:String,default:""}},{componentName:Lu,create:Ou}=O("switch"),Fu=Ou({props:{...Pn},emits:["change","update:modelValue","update:loading"],setup(e,{emit:n}){const o=t.computed(()=>e.modelValue===e.activeValue),l=t.computed(()=>{const s=Lu;return{[s]:!0,[o.value?"switch-open":"switch-close"]:!0,[`${s}-disable`]:e.disable,[`${s}-base`]:!0}}),r=t.computed(()=>({backgroundColor:o.value?e.activeColor:e.inactiveColor}));let i="";const a=s=>{if(e.disable||e.loading)return;i="click";const c=o.value?e.inactiveValue:e.activeValue;n("update:modelValue",c),n("change",c,s)};return t.watch(()=>e.modelValue,s=>{i=="click"?i="":n("change",s)}),{classes:l,style:r,onClick:a}}}),Uu={class:"switch-button"};function Ku(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...s)=>e.onClick&&e.onClick(...s)),style:t.normalizeStyle(e.style)},[t.createElementVNode("view",Uu,[e.loading?(t.openBlock(),t.createBlock(a,{key:0,name:e.name,size:e.size,color:e.color},null,8,["name","size","color"])):t.createCommentVNode("",!0),e.activeText?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.withDirectives(t.createElementVNode("view",{class:"fox-switch-label open"},t.toDisplayString(e.activeText),513),[[t.vShow,e.modelValue]]),t.withDirectives(t.createElementVNode("view",{class:"fox-switch-label close"},t.toDisplayString(e.inactiveText),513),[[t.vShow,!e.modelValue]])],64)):t.createCommentVNode("",!0)])],6)}const lo=H(Fu,[["render",Ku]]);function Hu(e,n,o,l){return{props:{...ue,...me,...Pn},emits:["change","update:modelValue"],setup(r,i){const{emitEvent:a}=Ce({componentName:e},r.prop??i.attrs.name),s=e,c=Ee(t.computed(()=>r.disabled)),m=Pe(t.computed(()=>r.readonly)),f=Ie(r,"modelValue"),d=g=>{f.value=g,a("update:modelValue",g,{}),a("change",g,{})};return()=>{const S={...ke(r,Pn),disabled:c.value,readonly:m.value,value:f.value,["onUpdate:modelValue"]:d},b=[],h=t.h(l,S);b.push(h);const v={default:()=>b};if(i.slots.default){const C=i.slots.default();v.label=()=>C}const u=ke(r,me,ue);return u["content-class"]=s,t.h(o,u,v)}}}}const{componentName:ju,create:Wu,scope:Yu}=O("switch-item"),Kl=Wu(Hu(ju,Yu,Te,lo));function Xu(e,n,o,l){return{props:{...ue,...me,placeholder:{type:String,default:""},textAlign:{type:String},modelValue:{type:[String],required:!1},iconName:{type:[String],required:!1,default:""},iconSize:{type:[String],required:!1,default:""}},emits:["click","focus","blur"],setup(r,i){const{emitEvent:a}=Ce({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},r.prop??i.attrs.name),{toLocaleRefs:s}=_.useFoxI18n(n),c=s(r,["placeholder"]),m=Ee(t.computed(()=>r.disabled)),f=Pe(t.computed(()=>r.readonly)),d=Ie(r,"modelValue"),g=t.computed(()=>({[`${e}`]:!0,[`${e}__disabled`]:m.value,[`${e}__placeholder`]:!m.value&&ye(d.value)})),S=Se(t.computed(()=>r.textAlign),"textAlign"),b=t.computed(()=>({textAlign:S.value??"right"})),h=t.computed(()=>ye(d.value)?c.placeholder.value:d.value),v=()=>{a("focus",d.value)},u=()=>{a("blur",d.value)},p=t.computed(()=>({[`${e}__append`]:!0})),C=t.computed(()=>ce(r.unit)>0),y=N=>{m.value==!0||f.value==!0||a("click")},k=t.computed(()=>"arrow-right"),w=t.computed(()=>({action:!0}));return()=>{const N={tabIndex:0,class:g.value,style:b.value,innerHTML:h.value,onFocus:v,onBlur:u,onClick:y},V=[],A=t.h("view",N);V.push(A);const E=[],q={name:k.value,size:"10px"},U=t.h(o,q),L={class:w.value,onClick:y},z=t.h("view",L,{default:()=>[U]});if(E.push(z),C.value){const x=t.h("view",{},[r.unit]);E.push(x)}const $={class:p.value},D=t.h("view",$,{default:()=>E});V.push(D);const I={default:()=>V};if(i.slots.default){const x=i.slots.default();I.label=()=>x}if(i.slots.prepend){const x=i.slots.prepend();I.prepend=()=>x}if(i.slots.append){const x=i.slots.append();I.append=()=>x}const P=ke(r,me,ue);return t.h(l,P,I)}}}}const{componentName:Qu,create:Gu,scope:Zu}=O("link-item"),Hl=Gu(Xu(Qu,Zu,re,Te));function Ju(e,n){return{props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:{}}},setup(o,{slots:l}){return Or(o.name,o.config),()=>typeof l.default=="function"?l.default():null}}}const{componentName:b1,create:_u,scope:C1}=O("domain-provider"),jl=_u(Ju()),{componentName:ed,create:td}=O("button"),nd=td({components:{[re.name]:re},props:{color:String,shape:{type:String,default:"round"},plain:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"default"},size:{type:String,default:"normal"},block:{type:Boolean,default:!1},icon:{type:String,default:""},iconClassPrefix:{type:String,default:"fox-icon"},iconFontClassName:{type:String,default:"foxui-iconfont"}},emits:["click"],setup(e,{emit:n,slots:o}){const{type:l,size:r,shape:i,disabled:a,loading:s,icon:c,color:m,plain:f,block:d}=t.toRefs(e),g=u=>{!s.value&&!a.value&&n("click",u)},S=t.computed(()=>{const u=ed;return{[u]:!0,[`${u}--${l.value}`]:l.value,[`${u}--${r.value}`]:r.value,[`${u}--${i.value}`]:i.value,[`${u}--plain`]:f.value,[`${u}--block`]:d.value,[`${u}--disabled`]:a.value,[`${u}--loading`]:s.value}}),b=t.computed(()=>{const u={};return m?.value&&(f.value?(u.color=m.value,u.background="#fff",m.value?.includes("gradient")||(u.borderColor=m.value)):(u.color="#fff",u.background=m.value)),u}),h=t.computed(()=>typeof o.default=="function"),v=t.computed(()=>({text:c??s}));return{handleClick:g,classes:S,getStyle:b,hasText:h,textClasses:v}}}),od={class:"fox-button__warp"};function ld(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.createElementVNode("view",od,[e.loading?(t.openBlock(),t.createBlock(a,{key:0,class:"fox-icon-loading"})):t.createCommentVNode("",!0),e.icon&&!e.loading?(t.openBlock(),t.createBlock(a,{key:1,name:e.icon,"class-prefix":e.iconClassPrefix,"font-class-name":e.iconFontClassName},null,8,["name","class-prefix","font-class-name"])):t.createCommentVNode("",!0),e.hasText?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass(e.textClasses)},[t.renderSlot(e.$slots,"default")],2)):t.createCommentVNode("",!0)])],6)}const et=H(nd,[["render",ld]]),{componentName:ad,create:rd}=O("cell"),sd=rd({props:{title:{type:String,default:""},subTitle:{type:String,default:""},desc:{type:String,default:""},descTextAlign:{type:String,default:"right"},isLink:{type:Boolean,default:!1},roundRadius:{type:[String,Number],default:""},icon:{type:String,default:""},center:{type:Boolean,default:!1},size:{type:String,default:""}},emits:["click"],setup(e,{emit:n}){const o=t.computed(()=>{const i=ad;return{[i]:!0,[`${i}--clickable`]:e.isLink,[`${i}--center`]:e.center,[`${i}--large`]:e.size=="large"}}),l=t.computed(()=>({borderRadius:Z(e.roundRadius)}));return{handleClick:i=>{n("click",i)},classes:o,baseStyle:l}}}),id={key:0,class:"fox-cell__icon"},cd={key:1,class:"fox-cell__title"},ud={class:"title"},dd={class:"fox-cell__title-desc"};function fd(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.baseStyle),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.renderSlot(e.$slots,"default",{},()=>[e.icon||e.$slots.icon?(t.openBlock(),t.createElementBlock("view",id,[e.$slots.icon?t.renderSlot(e.$slots,"icon",{key:0}):e.icon?(t.openBlock(),t.createBlock(a,{key:1,class:"icon",name:e.icon},null,8,["name"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.title||e.subTitle?(t.openBlock(),t.createElementBlock("view",cd,[e.subTitle?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("view",ud,t.toDisplayString(e.title),1),t.createElementVNode("view",dd,t.toDisplayString(e.subTitle),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.title),1)],64))])):t.createCommentVNode("",!0),e.desc?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-cell__value",style:t.normalizeStyle({"text-align":e.descTextAlign})},t.toDisplayString(e.desc),5)):t.createCommentVNode("",!0),e.$slots.link?t.renderSlot(e.$slots,"link",{key:3}):e.isLink?(t.openBlock(),t.createBlock(a,{key:4,class:"fox-cell__link",name:"right"})):t.createCommentVNode("",!0)])],6)}const Wl=H(sd,[["render",fd]]),{componentName:md,create:pd}=O("cell-group"),hd=pd({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:t.computed(()=>({[md]:!0}))}}}),gd={key:1,class:"fox-cell-group__title"},yd={key:3,class:"fox-cell-group__desc"},vd={class:"fox-cell-group__warp"};function kd(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.$slots.title?t.renderSlot(e.$slots,"title",{key:0}):e.title?(t.openBlock(),t.createElementBlock("view",gd,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.$slots.desc?t.renderSlot(e.$slots,"desc",{key:2}):e.desc?(t.openBlock(),t.createElementBlock("view",yd,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.createElementVNode("view",vd,[t.renderSlot(e.$slots,"default")])],2)}const Yl=H(hd,[["render",kd]]),{componentName:Sd,create:bd}=O("image"),Cd=bd({props:{src:String,fit:{type:String,default:"fill"},position:{type:String,default:"center"},alt:{type:String,default:""},width:{type:String,default:"center"},height:{type:String,default:""},round:{type:Boolean,default:!1},radius:[String,Number],showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0}},emits:["click","load","error"],setup(e,{emit:n}){const o=t.reactive({loading:!0,isError:!1,slotLoding:t.useSlots().loading,slotError:t.useSlots().error}),l=t.computed(()=>{const m=Sd;return{[m]:!0,[`${m}-round`]:e.round}}),r=t.computed(()=>{let m={};return e.width&&(m.width=Z(e.width)),e.height&&(m.height=Z(e.height)),e.radius!==void 0&&e.radius!==null&&(m.overflow="hidden",m.borderRadius=Z(e.radius)),m}),i=t.computed(()=>({objectFit:e.fit,objectPosition:e.position}));t.watch(()=>e.src,m=>{o.isError=!1,o.loading=!0});const a=()=>{o.loading=!1,n("load")},s=()=>{o.isError=!0,o.loading=!1,n("error")},c=m=>{n("click",m)};return{...t.toRefs(o),imageClick:c,classes:l,styles:i,stylebox:r,error:s,load:a}}}),wd=["src","alt"],Nd={key:0,class:"fox-img-loading"},Bd={key:1,class:"fox-img-error"};function Vd(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.stylebox),onClick:n[2]||(n[2]=(...s)=>e.imageClick&&e.imageClick(...s))},[t.createElementVNode("img",{class:"fox-img",src:e.src,alt:e.alt,onLoad:n[0]||(n[0]=(...s)=>e.load&&e.load(...s)),onError:n[1]||(n[1]=(...s)=>e.error&&e.error(...s)),style:t.normalizeStyle(e.styles)},null,44,wd),e.loading?(t.openBlock(),t.createElementBlock("view",Nd,[e.slotLoding?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,name:"image"})),t.renderSlot(e.$slots,"loading")])):t.createCommentVNode("",!0),e.isError&&!e.loading?(t.openBlock(),t.createElementBlock("view",Bd,[e.slotError?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,name:"image-error"})),t.renderSlot(e.$slots,"error")])):t.createCommentVNode("",!0)],6)}const Xl=H(Cd,[["render",Vd]]),{create:Ad}=O("layout"),Ql=Ad({}),{componentName:Ed,create:Td}=O("col"),$d=Td({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const n=Ed,o=t.inject("gutter"),l=t.computed(()=>({[n]:!0,[`${n}-gutter`]:o,[`fox-col-${e.span}`]:!0,[`fox-col-offset-${e.offset}`]:!0})),r=t.computed(()=>({paddingLeft:o/2+"px",paddingRight:o/2+"px"}));return{classes:l,style:r}}});function Dd(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const Gl=H($d,[["render",Dd]]),{componentName:Id,create:qd}=O("row"),zd=qd({props:{type:{type:String,default:""},gutter:{type:[String,Number],default:""},justify:{type:String,default:"start"},align:{type:String,default:"flex-start"},flexWrap:{type:String,default:"nowrap"}},setup(e){const n=Id;t.provide("gutter",e.gutter);const o=(r,i)=>r?i?`fox-row-${r}-${i}`:"":`fox-row-${i}`;return{classes:t.computed(()=>e.type==="flex"?`
|
|
16
|
-
${o("",e.type)}
|
|
17
|
-
${o("justify",e.justify)}
|
|
18
|
-
${o("align",e.align)}
|
|
19
|
-
${o("flex",e.flexWrap)}
|
|
20
|
-
${n}
|
|
5
|
+
*/function Wt(e,o="0"){let l=0,n=-1;e[0]=="-"&&(l++,n=1,e=e.substring(1),e.length),o[0]=="-"&&(l++,n=2,o=o.substring(1),o.length),e=ke(e),o=ke(o),[e,o]=Zo(ke(e),ke(o)),l==1&&(n==1?e=go(e):o=go(o));let a=cl(e,o);return l?l==2?"-"+ke(a):e.length<a.length?ke(a.substring(1)):"-"+ke(go(a)):ke(a)}function go(e){let o="",l=e.length,n=e.split(".")[1],a=n?n.length:0;for(let s=0;s<l;s++)e[s]>="0"&&e[s]<="9"?o+=9-parseInt(e[s]):o+=e[s];let r=a>0?"0."+new Array(a).join("0")+"1":"1";return cl(o,r)}function ke(e){let o=e.split(".");for(o[0]||(o[0]="0");o[0][0]=="0"&&o[0].length>1;)o[0]=o[0].substring(1);return o[0]+(o[1]?"."+o[1]:"")}function Zo(e,o){let l=e.split("."),n=o.split("."),a=l[0].length,r=n[0].length;return a>r?n[0]=new Array(Math.abs(a-r)+1).join("0")+(n[0]?n[0]:""):l[0]=new Array(Math.abs(a-r)+1).join("0")+(l[0]?l[0]:""),a=l[1]?l[1].length:0,r=n[1]?n[1].length:0,(a||r)&&(a>r?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(a-r)+1).join("0"):l[1]=(l[1]?l[1]:"")+new Array(Math.abs(a-r)+1).join("0")),e=l[0]+(l[1]?"."+l[1]:""),o=n[0]+(n[1]?"."+n[1]:""),[e,o]}function cl(e,o){[e,o]=Zo(e,o);let l="",n=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){l="."+l;continue}let r=parseInt(e[a])+parseInt(o[a])+n;l=r%10+l,n=Math.floor(r/10)}return n?n.toString()+l:l}var me=(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))(me||{});function Ct(e,o=0,l=me.HALF_EVEN){if(l===me.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let n=!1;e[0]==="-"&&(n=!0,e=e.substring(1));let a=e.split("."),r=a[0],s=a[1];if(o<0){if(o=-o,r.length<=o)return"0";{let c=r.substr(0,r.length-o);return e=c+"."+r.substr(r.length-o)+s,c=Ct(e,0,l),(n?"-":"")+c+new Array(o+1).join("0")}}if(o==0)return r.length,wn(a[1],r,n,l)?(n?"-":"")+yo(r):(n?"-":"")+r;if(a[1]){if(a[1].length<o)return(n?"-":"")+r+"."+a[1]+new Array(o-a[1].length+1).join("0")}else return(n?"-":"")+r+"."+new Array(o+1).join("0");s=a[1].substring(0,o);let i=a[1].substring(o);return i&&wn(i,s,n,l)&&(s=yo(s),s.length>o)?(n?"-":"")+yo(r,parseInt(s[0]))+"."+s.substring(1):(n?"-":"")+r+"."+s}function wn(e,o,l,n){if(!e||e===new Array(e.length+1).join("0")||n===me.DOWN||!l&&n===me.FLOOR||l&&n===me.CEILING)return!1;if(n===me.UP||l&&n===me.FLOOR||!l&&n===me.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(n){case me.HALF_DOWN:return!1;case me.HALF_UP:return!0;case me.HALF_EVEN:default:return parseInt(o[o.length-1])%2==1}}function yo(e,o=0){o||(o=1),typeof e=="number"&&e.toString();let l=e.length-1,n="";for(let a=l;a>=0;a--){let r=parseInt(e[a])+o;r==10?(o=1,r=0):o=0,n+=r}return o&&(n+=o),n.split("").reverse().join("")}function Bo(e,o){e=e.toString(),o=o.toString();let l=0;e[0]=="-"&&(l++,e=e.substr(1)),o[0]=="-"&&(l++,o=o.substr(1)),e=dt(e),o=dt(o);let n=0,a=0;e.indexOf(".")!=-1&&(n=e.length-e.indexOf(".")-1),o.indexOf(".")!=-1&&(a=o.length-o.indexOf(".")-1);let r=n+a;if(e=dt(e.replace(".","")),o=dt(o.replace(".","")),e.length<o.length){let f=e;e=o,o=f}if(o=="0")return"0";let s=o.length,i=0,c=[],d=s-1,m="";for(let f=0;f<s;f++)c[f]=e.length-1;for(let f=0;f<2*e.length;f++){let h=0;for(let y=o.length-1;y>=d&&y>=0;y--)c[y]>-1&&c[y]<e.length&&(h+=parseInt(e[c[y]--])*parseInt(o[y]));h+=i,i=Math.floor(h/10),m=h%10+m,d--}return m=dt(Pr(m,r)),l==1&&(m="-"+m),m}function Pr(e,o){return o==0?e:(e=o>=e.length?new Array(o-e.length+1).join("0")+e:e,e.substr(0,e.length-o)+"."+e.substr(e.length-o,o))}function dt(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 Vo(e,o,l=8){if(o==0)throw new Error("Cannot divide by 0");if(e=e.toString(),o=o.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),o=o.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let n=0;o[0]=="-"&&(o=o.substring(1),n++),e[0]=="-"&&(e=e.substring(1),n++);var a=o.indexOf(".")>0?o.length-o.indexOf(".")-1:-1;if(o=ke(o.replace(".","")),a>=0){let d=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(d==-1)e=ke(e+new Array(a+1).join("0"));else if(a>d)e=e.replace(".",""),e=ke(e+new Array(a-d+1).join("0"));else if(a<d){e=e.replace(".","");let m=e.length-d+a;e=ke(e.substring(0,m)+"."+e.substring(m))}else a==d&&(e=ke(e.replace(".","")))}let r=0,s=o.length,i="",c=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(0,s+1):e.substring(0,s);if(e=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(s+1):e.substring(s),c.indexOf(".")>-1){let d=c.length-c.indexOf(".")-1;c=c.replace(".",""),s>c.length&&(d+=s-c.length,c=c+new Array(s-c.length+1).join("0")),r=d,i="0."+new Array(d).join("0")}for(l=l+2;r<=l;){let d=0;for(;parseInt(c)>=parseInt(o);)c=Wt(c,"-"+o),d++;i+=d,e?(e[0]=="."&&(i+=".",r++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(r||(i+="."),r++,c=c+"0")}return(n==1?"-":"")+ke(Ct(i,l-2))}function Ao(e,o){return e=e.toString(),o=o.toString(),o=Eo(o),Wt(e,o)}function Eo(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Nn(e,o){if(o==0)throw new Error("Cannot divide by 0");e=e.toString(),o=o.toString(),Bn(e),Bn(o);let l="";e[0]=="-"&&(l="-",e=e.substr(1)),o[0]=="-"&&(o=o.substr(1));let n=Ao(e,Bo(o,Ct(Vo(e,o),0,me.FLOOR)));return l+n}function Bn(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Vn(e,o){let l=!1;if(e[0]=="-"&&o[0]!="-")return-1;if(e[0]!="-"&&o[0]=="-")return 1;if(e[0]=="-"&&o[0]=="-"&&(e=e.substr(1),o=o.substr(1),l=!0),[e,o]=Zo(e,o),e.localeCompare(o)==0)return 0;for(let n=0;n<e.length;n++)if(e[n]!=o[n])return e[n]>o[n]?l?-1:1:l?1:-1;return 0}class ae{value;static RoundingModes=me;static validate(o){if(o){if(o=o.toString(),isNaN(o))throw Error("Parameter is not a number: "+o);o[0]=="+"&&(o=o.substring(1))}else o="0";if(o.startsWith(".")?o="0"+o:o.startsWith("-.")&&(o="-0"+o.substr(1)),/e/i.test(o)){let[l,n]=o.split(/[eE]/);l=ke(l);let a="";l[0]=="-"&&(a="-",l=l.substring(1)),l.indexOf(".")>=0?(n=parseInt(n)+l.indexOf("."),l=l.replace(".","")):n=parseInt(n)+l.length,l.length<n?o=a+l+new Array(n-l.length+1).join("0"):l.length>=n&&n>0?o=a+ke(l.substring(0,n))+(l.length>n?"."+l.substring(n):""):o=a+"0."+new Array(-n+1).join("0")+l}return o}constructor(o="0"){this.value=ae.validate(o)}getValue(){return this.value}static getPrettyValue(o,l,n){if(!(l||n))l=3,n=",";else if(!(l&&n))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");o=ae.validate(o);let a=o.charAt(0)=="-";a&&(o=o.substring(1));var r=o.indexOf(".");r=r>0?r:o.length;for(var s="",i=r;i>0;)i<l?(l=i,i=0):i-=l,s=o.substring(i,i+l)+(i<r-l&&i>=0?n:"")+s;return(a?"-":"")+s+o.substring(r)}getPrettyValue(o,l){return ae.getPrettyValue(this.value,o,l)}static round(o,l=0,n=me.HALF_EVEN){if(o=ae.validate(o),isNaN(l))throw Error("Precision is not a number: "+l);return Ct(o,l,n)}round(o=0,l=me.HALF_EVEN){if(isNaN(o))throw Error("Precision is not a number: "+o);return new ae(Ct(this.value,o,l))}static floor(o){return o=ae.validate(o),o.indexOf(".")===-1?o:ae.round(o,0,me.FLOOR)}floor(){return this.value.indexOf(".")===-1?new ae(this.value):new ae(this.value).round(0,me.FLOOR)}static ceil(o){return o=ae.validate(o),o.indexOf(".")===-1?o:ae.round(o,0,me.CEILING)}ceil(){return this.value.indexOf(".")===-1?new ae(this.value):new ae(this.value).round(0,me.CEILING)}static add(o,l){return o=ae.validate(o),l=ae.validate(l),Wt(o,l)}add(o){return new ae(Wt(this.value,o.getValue()))}static subtract(o,l){return o=ae.validate(o),l=ae.validate(l),Ao(o,l)}subtract(o){return new ae(Ao(this.value,o.getValue()))}static multiply(o,l){return o=ae.validate(o),l=ae.validate(l),Bo(o,l)}multiply(o){return new ae(Bo(this.value,o.getValue()))}static divide(o,l,n){return o=ae.validate(o),l=ae.validate(l),Vo(o,l,n)}divide(o,l){return new ae(Vo(this.value,o.getValue(),l))}static modulus(o,l){return o=ae.validate(o),l=ae.validate(l),Nn(o,l)}modulus(o){return new ae(Nn(this.value,o.getValue()))}static compareTo(o,l){return o=ae.validate(o),l=ae.validate(l),Vn(o,l)}compareTo(o){return Vn(this.value,o.getValue())}static negate(o){return o=ae.validate(o),Eo(o)}negate(){return new ae(Eo(this.value))}}function ul(e,o){return ae.multiply(`${e}`,`${o}`)}function Jo(e,o,l=8){return ae.divide(`${e}`,`${o}`,l)}function To(e,o){return e=`${e}`,o=`${o}`,ae.compareTo(e,o)}function dl(e){return ae.negate(e)}function _o(e,o=-1,l=!1,n=3,a=","){let r=`${e}`;if(r.length==0||r==="-")return"";let s=r.charAt(0);s=="-"?r=r.substring(1):s="";let i=r,c="",d=r.indexOf(".");d!=-1&&(i=r.substring(0,d),c=r.substring(d+1)),o!=-1&&(o<c.length?c=c.substring(0,o):l&&o>c.length&&(c=c.padEnd(o,"0")));let m;if(n>0){let f="",h=i.split("").reverse();for(let y=0;y<h.length;y++)f+=h[y]+((y+1)%n==0&&y+1!=h.length?a:"");c.length==0?m=`${s}${f.split("").reverse().join("")}`:m=`${s}${f.split("").reverse().join("")}.${c}`}else c.length==0?m=`${s}${i}`:m=`${s}${i}.${c}`;return m}function fl(e){let o=`${e}`,l=o.charAt(0);l=="-"?o=o.substring(1):l="";let n=o.replace(/[^\d\.-]/g,"");return`${l}${n}`}const ot=typeof window<"u",Xe=je,co=Array.isArray,Rr=e=>uo(e)==="[object Map]",Or=e=>uo(e)==="[object Set]",Pe=e=>e instanceof Date,Yt=e=>typeof e=="function",ml=e=>typeof e=="string",Fr=e=>typeof e=="symbol",Te=e=>e!==null&&typeof e=="object",en=e=>Te(e)&&Yt(e.then)&&Yt(e.catch),pl=Object.prototype.toString,uo=e=>pl.call(e),$o=e=>uo(e)==="[object Object]",hl=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Ur(e){return e.__esModule||hl&&e[Symbol.toStringTag]==="Module"}const Kr=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function Ge(...e){let o=e[0]!==void 0&&e[0]!==null?e[0]:{},l=1,n=e.length,a=!1;for(typeof o=="boolean"&&(a=o,o=e[l]??{},l++),typeof o!="object"&&(o={});l<n;l++)if(e[l]!==null&&e[l]!==void 0){let r=e[l];for(let s in r){let i=o[s],c=r[s];if(i!==c)if(a===!0&&c&&typeof c=="object"){let d;Array.isArray(c)?d=i&&Array.isArray(i)?i:[]:d=i&&typeof i=="object"?i:{},o[s]=Ge(a,d,c)}else c!==void 0&&(o[s]=c)}}return o}function Do(e,o,l=!1){if(!l)Ge(!0,e,o);else{if(typeof o!="object")return{};typeof e!="object"&&(e={});for(let a in o){let r=e[a],s=o[a];if(r!==s)if(typeof s=="object"){if(!Array.isArray(s)&&!$o(s))continue;r=Do(r,s,l),e[a]=r}else{if(typeof s=="function")continue;e[a]=s}}const n=Object.getOwnPropertySymbols(o);for(let a of n){let r=e[a],s=o[a];if(r!==s)if(typeof s=="object"){if(!Array.isArray(s)&&!$o(s))continue;r=Do(r,s,l),e[a]=r}else{if(typeof s=="function")continue;e[a]=s}}}return e}const vo=Kr?Promise.resolve():null;function Hr(e,...o){vo!==null?o&&o.length>0?vo.then(()=>{e(o)}):vo.then(e):o&&o.length>0?setTimeout(()=>{e(o)}):setTimeout(e)}function ge(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":Boolean(e)}function ue(e){return typeof e=="number"?e:Number(e)}const jr={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Object]":"object"};function Ze(e){let l=Object.prototype.toString.call(e);return e==null?String(e):jr[l]||"object"}function gl(e){return!e||e.offsetParent===null}function yl(e){return e&&typeof e=="object"&&"setInterval"in e}function vl(e){let o=!!e&&"length"in e&&e.length,l=Ze(e);return l==="function"||yl(e)?!1:l==="array"||o===0||typeof o=="number"&&o>0&&o-1 in e}function kl(e,o){let l=+o.length,n=0,a=e.length;for(;n<l;n++)e[a++]=o[n];return e.length=a,e}function Wr(e,o=[]){let l=o;return e!=null&&(vl(Object(e))?kl(l,typeof e=="string"?[e]:e):l.push(e)),l}function Re(e,o){if(e==o)return!0;if(e===void 0||o===void 0)return!1;let l=Ze(e),n=Ze(o);if(l!==n)return!1;if(l==="object"){let a=Object.keys(e),r=Object.keys(o);if(a.length!==r.length)return!1;for(let s=0;s<a.length;s++){let i=a[s],c=e[i],d=o[i];if(!Re(c,d))return!1}return!0}else if(l==="array"){if(e.length!==o.length)return!1;for(let a=0;a<e.length;a++){let r=e[a],s=o[a];if(!Re(r,s))return!1}return!0}return!1}function bl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const Se=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Sl(e){return Se(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),Se(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function Cl(e){if(e==null)return 0;let o=`${e}`;if(o.length==0)return 0;o.charAt(0)=="-"&&(o=o.substring(1)),o=o.replace(/[^\d\.-]/g,"");const l=o.indexOf(".");return l==-1?o.length:l}function wl(e){if(e==null)return 0;const o=`${e}`;if(o.length==0)return 0;const l=o.indexOf(".");return l==-1?0:o.length-(l+1)}function An(e,o,l){const n=e.indexOf(o);return n===-1?e:o==="-"&&n!==0?e.slice(0,n):e.slice(0,n+1)+e.slice(n).replace(l,"")}function Io(e,o=!0,l=!0){o?e=An(e,".",/\./g):e=e.replace(/\./g,""),l?e=An(e,"-",/-/g):e=e.replace(/-/,"");const n=o?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function Yr(e,o){return typeof e=="object"||Array.isArray(e)?o.findIndex(l=>{if(Re(e,l))return!0}):o.indexOf(e)}function Xr(e,o){if(typeof e=="object"||Array.isArray(e)){let l=o.reverse().findIndex(n=>{if(Re(e,n))return!0});return l!==-1&&(l=o.length-1-l),l}return o.lastIndexOf(e)}function pe(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function ye(e,...o){const l={};return o.forEach(n=>{for(const a in n)l[a]=e[a]}),l}function Nl(e,...o){const l=[];o.forEach(a=>{Reflect.apply([].push,l,Reflect.ownKeys(a))});const n={};for(const a in e)l.includes(a)||(n[a]=e[a]);return n}const Bl=(e,o,l)=>{const n=Object.assign({},e),a=Object.assign({},l);return Object.keys(o).length>0?(Object.keys(n).forEach(r=>{a.hasOwnProperty(r)?typeof a[r]=="string"&&(n[r]=o[a[r]]):o[r]&&(n[r]=o[r])}),n):e};function qo(e,o){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),o&&e.stopPropagation()}const Qe=(e,o=2)=>{for(e+="";e.length<o;)e="0"+e;return e.toString()},xe=(e,o,l)=>Math.min(Math.max(e,o),l),tn=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Ae=Symbol.for("BroadcastKey");class Qr{parent;children=[];callbacks=new Map;proxy=null;name;constructor(o,l,n){this.parent=o,this.proxy=l,this.name=n,o!==null&&o.addChild(this)}addChild(o){this.children.push(o)}removeChild(o){const l=this.children.findIndex(n=>o===n);l!==-1&&this.children.splice(l,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(o,l,...n){if(o.maxLevel!==void 0&&o.maxLevel!==null&&o.maxLevel>0){if(o.level=o.level??0,o.level>o.maxLevel)return[];o.level++}let a=!1;!o.name||o.name==="*"?a=!0:!o.name||o.name==="+"?(a=!1,o.name="*"):bl(o.name)&&this.name&&o.name.test(this.name)?a=!0:typeof o.name=="function"?a=Reflect.apply(o.name,null,[this.name]):o.name===this.name&&(a=!0);const r=[];if(a){const s=this.callbacks.get(l);if(typeof s=="function"){const c=Reflect.apply(s,this.proxy,[...n]);c!=null&&r.push(c)}const i=this.proxy??{};if(typeof i[l]=="function"){const c=Reflect.apply(i[l],i,[...n]);c!=null&&r.push(c)}}return this.children.forEach(s=>{const i=Reflect.apply(s.emit,s,[{...o},l,...n]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,r,[...i])}),r}emitToChildren(o,l,...n){const a=[];return this.children.forEach(r=>{const s=Reflect.apply(r.emit,r,[{...o},l,...n]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,a,[...s])}),a}on(o,l){this.callbacks.set(o,l)}}function on(e,o,l,n){const a=new Qr(o,e,l);if(n&&typeof n=="object")for(const r in n)a.on(r,n[r]);return a}function zt(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ae]??t.inject(Ae,null):t.inject(Ae,null)}const xt=e=>e.default??e;class Gr{error(o,l){const n=l,a=zt(l);a?a.emit({name:"*",maxLevel:1},"setErrorTip",o):typeof n.setErrorTip=="function"&&n.setErrorTip(o)}reset(o){const l=o,n=zt(o);n?n.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof l.setErrorTip=="function"&&l.setErrorTip("")}success(o){const l=o,n=zt(o);n?n.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof l.setErrorTip=="function"&&l.setErrorTip("")}decorate(o,l,n){Array.isArray(o)||(o=[o]);const a=n,r=zt(n),s=l.find(c=>c.required===!0||c.type==="required"&&c.required!==!1),i=o.find(c=>c.required===!0||c.type==="required"&&c.required!==!1);!s&&i?r?r.emit({name:"*"},"setRequired",!0):typeof a.setRequired=="function"&&a.setRequired(!0):s&&!i&&(r?r.emit({name:"*"},"setRequired",!1):typeof a.setRequired=="function"&&a.setRequired(!1),this.reset(n))}getValue(o){return o.modelValue}}let Zr=new Gr,Jr=["blur","clear"];function _r(){return Jr}let es=["focus","change"];function ts(){return es}function ft(...e){const o=[];return e.forEach(l=>{l.forEach(n=>{const a=o.findIndex(r=>r.type===n.type);a!==-1&&o.splice(a,1),o.push(n)})}),o}function Lt(e){return e.forEach(o=>{o.type==="required"&&(o.required===null||o.required===void 0)&&(o.required=!0),!o.type&&(o.required===!0||o.required===!1)&&(o.type="required")}),e}const He=Symbol("ValidateSchemaKey");class os{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(o,l,n){this.parent=o,this.descriptor=l,this.proxy=n,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let o=this.proxy.$attrs;o&&(this.scope=t.effectScope(),this.scope.run(()=>{t.watchEffect(()=>{const l=Lt(ft(this.attrRules,this.rules)),n=[];for(let r in o){let s=o[r];if(this.hasValidator(r,!0)){if(s===!1)continue;let c={type:r};s!==null&&typeof s=="object"&&Object.assign(c,s),n.push(c);continue}let i=this.getValidator(r);if(i!==null){let c={type:r,validator:i};n.push(c)}}this.attrRules=Lt(n);const a=ft(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(a,l)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(o,...l){const n=this.descriptor.validateHandler;if(n&&typeof n[o]=="function")return Reflect.apply(n[o],n,[...l]);const a=Zr;return a&&typeof a[o]=="function"?Reflect.apply(a[o],a,[...l]):null}decorate(o,l){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",o,l,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(o){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",o,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(o,l,n=!1){n?xt(qt).setValidator(o,l):this.validators[o]=l}getValidator(o){let l=this.validators[o]??null;return l||(l=this.parent?.getValidator(o)??null),l}deleteValidator(o,l=!1){l?xt(qt).deleteValidator(o):Reflect.deleteProperty(this.validators,o)}hasValidator(o,l=!1){if(l)return xt(qt).hasValidator(o);{let n=Reflect.has(this.validators,o);return!n&&this.parent!==null&&(n=this.parent.hasValidator(o,!1)),n}}setRule(o){const l=ft(this.attrRules,this.rules);o===null?this.rules=[]:Array.isArray(o)?this.rules=Lt(o):this.rules=Lt([o]);const n=ft(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(n,l)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let l=ft(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(l.length>0){const a={[`${n}`]:l},r=this.getValue(),s={[`${n}`]:r},i=xt(qt),c=new i(a),d=this.proxy??s;return c.validate(s,{context:d}).then(f=>{if(f.pass)this.success();else{let h="error";Array.isArray(f.errors)&&f.errors.length>0&&(h=f.errors[0].message??h,f.errors=[f.errors[0]],f.errors[0].ref=d),this.error(h)}return f}).catch(f=>{const h=f.message??`${f}`;return this.error(h),f})}}return Promise.resolve({pass:!0})}}function nn(e,o,l){if(l.valueName=l.valueName??"modelValue",l.valueType=l.valueType??"string",!l.validateHandler&&l.valueName!=="modelValue"){const a=l.valueName;l.validateHandler={getValue(r){return r[a]}}}return new os(o,l,e)}const En=Symbol("EventEmitterKey");class ns{register=new Map;proxy;constructor(o){this.proxy=o}destroy(){this.proxy=null,this.register.clear()}off(o,l){let n=this.register.get(o);if(n&&Array.isArray(n)){let a=n.findIndex(r=>r===l);a!==-1&&n.splice(a,1)}}on(o,l){let n=this.register.get(o);n||(n=new Array,this.register.set(o,n)),n.push(l)}emit(o,...l){const n=this.register.get(o);n&&n.forEach(a=>{try{Reflect.apply(a,null,[o,...l])}catch(r){console.error(r.message,r)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[o,...l])}}function wt(e,o){let l=null;return function(...n){l&&clearTimeout(l),l=setTimeout(()=>{l=null,Reflect.apply(e,null,[...n])},o)}}function Xt(e,o){let l=0;return function(...n){const a=new Date().getTime();a-l<o||(l=a,Reflect.apply(e,null,[...n]))}}function ls(e,o){const l=wt((n,a)=>{e=n,a()},o);return t.customRef((n,a)=>({get(){return n(),e},set(r){l(r,a)}}))}function as(e){let o=!1;return function(...l){o||(o=!0,Reflect.apply(e,null,[...l]))}}const Ee=Symbol("DomainKey"),mt=Symbol("DataItemsKey");class ln{_parent=null;get parent(){return this._parent}set parent(o){this._parent=o}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(o){this._broadcast=o}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(o){this._validateSchema=o}_props=t.reactive({});constructor(o=null){this._name=o}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(o,l=[]){for(const n in o){const a=o[n];l.length>0&&l.indexOf(a)!==-1||(this._props[n]=a)}}has(o){if(Reflect.has(this._props,o)){const l=this._props[o];if(l!=null)return!0}return this.parent==null?!1:this.parent.has(o)}delete(o){Reflect.deleteProperty(this._props,o)}set(o,l){this._props[o]=l}get(o,l){if(Reflect.has(this._props,o)){const n=this._props[o];if(n!=null)return n}return this.parent==null?l:this.parent.get(o,l)}getForParent(o,l){return this.parent==null?l:this.parent.get(o,l)}getForSelf(o){return this._props[o]}getAll(o){const l=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,o)){const a=n._props[o];l.push(a)}n=n._parent}return l}}const rs=new ln;function kt(){return rs}function We(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ee]??t.inject(Ee,null):t.inject(Ee,null)}const ko=Symbol("OriginalDateKey");function Vl(e,o,l=[],n){const a=t.getCurrentInstance(),r=a?.proxy;let s=t.inject(Ee,null);s===null&&(s=kt());const i=e||o.prop||o.name,c=new ln(i);c.parent=s;const d=v=>{r[ko]||h(v),c.set("modelValue",v)},m=()=>c.getForSelf("modelValue")??null,f=()=>r[ko]??null,h=v=>{const g={};Ge(!0,g,t.toRaw(v)),r[ko]=g};t.isReactive(o)?t.watchEffect(()=>{c.merge(o,l)}):c.merge(o,l),o.modelValue&&h(o.modelValue),r[Ee]=c,t.provide(Ee,c);let y=null,k=null;if(a!==null){const v=t.inject(Ae,null);y=on(r,v,i,n),c.broadcast=y,r[Ae]=y,t.provide(Ae,y),r.broadcast=(u,p,...b)=>Reflect.apply(y.emit,y,[u,p,...b]);const g=t.inject(He,null);k=nn(r,g,{componentName:""}),c.validateSchema=k,r[He]=k,t.provide(He,k),r[mt]=new Map,r.validate=(u=!0)=>{const p=[];let b=null;const S={deep:!1};if(u===!0)b={name:"*"};else if(Array.isArray(u)&&u.length>0){const B=u;b={name:E=>E?B.indexOf(E)!==-1:!1}}else if(u!=null&&typeof u=="object"){const B=u;if(S.ignoreHidden=B.ignoreHidden,Array.isArray(B.include)&&B.include.length>0){const E=B.include;b={name:I=>I?E.indexOf(I)!==-1:!1}}else if(Array.isArray(B.exclude)&&B.exclude.length>0){const E=B.exclude;b={name:I=>I?E.indexOf(I)===-1:!1}}else b={name:"*"}}if(b){const B=y?.emitToChildren(b,"validate",S);B&&Reflect.apply([].push,p,B)}return p.length==1?p[0]:p.length>1?Promise.all(p).then(B=>{let E=[];return B.forEach(I=>{I.pass===!1&&Array.isArray(I.errors)&&(E=[...E,...I.errors])}),E.length>0?{pass:!1,errors:E}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(u,p=!0)=>{if(p){const b=Reflect.ownKeys(u),S=[...b],B={name:E=>{const I=b.includes(E);if(I){const V=S.findIndex(C=>E===C);V!==-1&&S.splice(V,1)}return I}};y?.emitToChildren(B,"setNameValidateRules",u,!1),S.length>0&&S.forEach(E=>{let I=String(E);const C=cs(c,I,{componentName:"",fieldName:I,pureDataValidate:!0},y,k);r[mt].set(I,C);const w=u[I];w&&C.validateSchema.setRule(w)})}},r.clearValidate=(u=!0)=>{let p=null;if(u===!0)p={name:"*"};else if(Array.isArray(u)&&u.length>0){const b=u;p={name:S=>S?b.indexOf(S)!==-1:!1}}else if(u!=null&&typeof u=="object"){const b=u;if(Array.isArray(b.include)&&b.include.length>0){const S=b.include;p={name:B=>B?S.indexOf(B)!==-1:!1}}else if(Array.isArray(b.exclude)&&b.exclude.length>0){const S=b.exclude;p={name:B=>B?S.indexOf(B)===-1:!1}}else p={name:"*"}}p&&y?.emitToChildren(p,"clearValidate",!1)},r.resetFields=u=>{const p=m();if(!p)return;const b={};if(Ge(!0,b,f()??{}),Array.isArray(u))u.forEach(S=>{p[S]=b[S]});else if(u&&Array.isArray(u.include))(u.include??[]).forEach(B=>{p[B]=b[B]});else if(u&&Array.isArray(u.exclude)){let S=u.exclude??[];Reflect.ownKeys(b).forEach(B=>{S.includes(B)||(p[B]=b[B])})}else Object.assign(p,b);r.clearValidate(u)},r.setModelValue=(u,p)=>{!p||p===i?d(u):y?.emitToChildren({name:p},"setModelValue",u)},r.getModelValue=()=>m()}return t.onUnmounted(()=>{c.destroy(),r[Ee]=void 0,r[mt]&&(r[mt].clear(),r[mt]=void 0),y!==null&&(y.destroy(),r[Ae]=void 0),k!==null&&(k.destroy(),r[He]=void 0)}),c}function ss(e,o,l=[]){const a=t.getCurrentInstance()?.proxy;let r=t.inject(Ee,null);r===null&&(r=kt());const s=e||o.prop||o.name,i=new ln(s);return i.parent=r,t.isReactive(o)?t.watchEffect(()=>{i.merge(o,l)}):i.merge(o,l),a[Ee]=i,t.provide(Ee,i),t.onUnmounted(()=>{i.destroy(),a[Ee]=void 0}),i}function is(e,o,l){const a=We(e)?.get("rules");if(!a)return;let r=a[l];r&&(Array.isArray(r)||(r=[r]),r.forEach(s=>{o.setRule(s)}))}function Be(e,o,l){const a=t.getCurrentInstance()?.proxy,r=o??"",s=t.inject(Ae,null),i=on(a,s,r,l);a[Ae]=i,t.provide(Ae,i),a.broadcast=(k,v,...g)=>Reflect.apply(i.emit,i,[k,v,...g]);const c=t.inject(He,null);e.fieldName=e.fieldName??r;const d=nn(a,c,e);a[He]=d,t.provide(He,d),is(a,d,r),a.validate=(k=null)=>{const v=[];let g=!1,u=!1;if(Array.isArray(k)&&k.indexOf(r)!==-1)u=!0,g=!0;else if(k&&typeof k=="object"){const p=k;p.ignoreHidden===!0&&gl(a.$el)?u=!1:(Array.isArray(p.include)&&p.include.indexOf(r)!==-1||Array.isArray(p.exclude)&&p.exclude.indexOf(r),u=!0),g=p.deep??!1}else typeof k=="boolean"&&(g=k),u=!0;if(u){const p=d?.validate();v.push(p)}if(g){let p=null;const b={deep:!1};if(k===!0)p={name:"*"};else if(Array.isArray(k)&&k.length>0){const S=k;p={name:B=>B?S.indexOf(B)!==-1:!1}}else if(k!=null&&typeof k=="object"){const S=k;if(b.ignoreHidden=S.ignoreHidden,Array.isArray(S.include)&&S.include.length>0){const B=S.include;p={name:E=>E?B.indexOf(E)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const B=S.exclude;p={name:E=>E?B.indexOf(E)===-1:!1}}else p={name:"*"}}if(p){const S=i.emitToChildren(p,"validate",b);Reflect.apply([].push,v,S)}}return v.length==1?v[0]:v.length>1?Promise.all(v).then(p=>{let b=[];return p.forEach(S=>{S.pass===!1&&Array.isArray(S.errors)&&(b=[...b,...S.errors])}),b.length>0?{pass:!1,errors:b}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=k=>d?.setRule(k),a.setNameValidateRules=(k,v=!1)=>{const g=k[r];if(g&&d?.setRule(g),v){const u={name:p=>Reflect.ownKeys(k).includes(p)};i.emitToChildren(u,"setNameValidateRules",k,!1)}},a.clearValidate=(k=null)=>{(!Array.isArray(k)||k.indexOf(o??"")!==-1)&&d?.clear();let v=null;if(k===!0)v={name:"*"};else if(Array.isArray(k)&&k.length>0){const g=k;v={name:u=>u?g.indexOf(u)!==-1:!1}}else if(k!=null&&typeof k=="object"){const g=k;if(Array.isArray(g.include)&&g.include.length>0){const u=g.include;v={name:p=>p?u.indexOf(p)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const u=g.exclude;v={name:p=>p?u.indexOf(p)===-1:!1}}else v={name:"*"}}v&&i.emitToChildren(v,"clearValidate",!1)};const m=new ns(a);a[En]=m;const f=wt((k="validate")=>{k==="reset"?d.clear():d.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:_r()).forEach(k=>{m.on(k,v=>{f("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:ts()).forEach(k=>{m.on(k,v=>{f("reset")})}),t.onUnmounted(()=>{i.destroy(),a[Ae]=void 0,d.destroy(),a[He]=void 0,m.destroy(),a[En]=void 0}),{broadcast:i,validateSchema:d,emitEvent:(k,...v)=>{Reflect.apply(m.emit,m,[k,...v])},onEvent:(k,v)=>{Reflect.apply(m.on,m,[v])},offEvent:(k,v)=>{Reflect.apply(m.off,m,[v])}}}function cs(e,o,l,n,a){const r={},s=o??"";l.fieldName=s,l.validateHandler={getValue(d){const m=e.getForSelf("modelValue");return m?m[s]:null}};const i=nn({},a,l);r.validate=(d=null)=>{const m=[];let f=!1,h=!1;if(Array.isArray(d)&&d.indexOf(s)!==-1)h=!0,f=!0;else if(d&&typeof d=="object"){const y=d;Array.isArray(y.include)&&y.include.indexOf(s)!==-1||Array.isArray(y.exclude)&&y.exclude.indexOf(s),h=!0,f=y.deep??!1}else typeof d=="boolean"&&(f=d),h=!0;if(h){const y=i?.validate();m.push(y)}if(f){let y=null;const k={deep:!1};if(d===!0)y={name:"*"};else if(Array.isArray(d)&&d.length>0){const v=d;y={name:g=>g?v.indexOf(g)!==-1:!1}}else if(d!=null&&typeof d=="object"){const v=d;if(Array.isArray(v.include)&&v.include.length>0){const g=v.include;y={name:u=>u?g.indexOf(u)!==-1:!1}}else if(Array.isArray(v.exclude)&&v.exclude.length>0){const g=v.exclude;y={name:u=>u?g.indexOf(u)===-1:!1}}else y={name:"*"}}if(y){const v=c.emitToChildren(y,"validate",k);Reflect.apply([].push,m,v)}}return m.length==1?m[0]:m.length>1?Promise.all(m).then(y=>{let k=[];return y.forEach(v=>{v.pass===!1&&Array.isArray(v.errors)&&(k=[...k,...v.errors])}),k.length>0?{pass:!1,errors:k}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=d=>i?.setRule(d),r.setNameValidateRules=d=>{const m=d[s];m&&i?.setRule(m)};const c=on(null,n,s,r);return{broadcast:c,validateSchema:i}}const le=e=>e?`${ie(e)}px`:"";function ie(e,o=-1){if(typeof e=="number")return e>0&&e<1&&o>0?e*o:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let l=e.indexOf("px");if(l!==-1)return Number(e.substring(0,l));if(l=e.indexOf("rem"),l!==-1){let a=Number(e.substring(0,l)),r=1;if(ot){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),i=s.indexOf("px");i>0&&(r=Number(s.substring(0,i)))}return a*=r,a}if(l=e.indexOf("%"),l!==-1)return Number(e.substring(0,l))*o;const n=Number(e);return isNaN(n)?0:n}const Je="PageStateKey";function Le(e){const o={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(o.top=ie(e.top)),e.left!==null&&e.left!==void 0&&(o.left=ie(e.left)),e.bottom!==null&&e.bottom!==void 0&&(o.bottom=ie(e.bottom)),e.right!==null&&e.right!==void 0&&(o.right=ie(e.right))),o}function Tn(e,o,l={},n=!0,a=-1,r=-1,s=0,i=0){if(e.headerHeight=ie(l.headerHeight??o.headerHeight),e.headerPadding=Le(l.headerPadding??o.headerPadding),e.footerHeight=ie(l.footerHeight??o.footerHeight),e.footerPadding=Le(l.footerPadding??o.footerPadding),e.contentPadding=Le(l.contentPadding??o.contentPadding),n){const c=l.height??o.height;c?e.height=ie(c,r):e.height=ie(r)-ie(s,r)-ie(i,r),e.width=ie(l.width??o.width??0,a)}}function us(e,o={}){const l={top:null,left:null,bottom:null,right:null},n={width:0,height:0,headerHeight:0,headerPadding:{...l},footerHeight:0,footerPadding:{...l},contentPadding:{...l},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},a=Object.assign(e.get("safeAreaInset")??{},o.safeAreaInset??{});a&&(n.safeAreaTop=ie(a.top),n.safeAreaBottom=ie(a.bottom),n.safeAreaLeft=ie(a.left),n.safeAreaRight=ie(a.right));const r=e.get("pageLayout");if(!r)return null;const s=e.get("rootWidth")??-1,i=e.get("rootHeight")??-1,c=e.get("headerBarHeight")??0,d=e.get("footerBarHeight")??0;Tn(n,r,o,!0,s,i,c,d);const m=t.reactive(n),f=e.getForParent(Je);f&&(n.height=Mo(e,f),n.width=zo(e,f),t.watch([()=>f.height,()=>f.width,()=>f.contentPadding,()=>f.headerMounted,()=>f.footerMounted],()=>{m.height=Mo(e,f),m.width=zo(e,f)}));const h=!f;return t.watch([()=>o.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([y,k,v=-1,g=-1,u=0,p=0])=>{Tn(m,k,o,h,v,g,u,p)}),e.set(Je,m),m}function an(e){return e.get(Je)}function rn(e,o){return o=o??e.get(Je),o&&o.headerMounted?o.headerHeight+o.safeAreaTop:0}function sn(e,o){return o=o??e.get(Je),o&&o.footerMounted?o.footerHeight+o.safeAreaBottom:0}function Mo(e,o){if(o=o??e.get(Je),o){const l=rn(e,o),n=sn(e,o);return o.height-l-n-(o.contentPadding.top??0)-(o.contentPadding.bottom??0)}return 0}function zo(e,o){return o=o??e.get(Je),o?o.width-(o.contentPadding.left??0)-(o.contentPadding.right??0):0}var xo=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(xo||{});function bo(e,o){return e==null?!1:typeof o=="function"?o(e):!0}function $e(e,o,l=1,n){const a=We();return a==null?e:l===0?t.computed(()=>{const r=a.getAll(o);for(let i=r.length-1;i>=0;i--){const c=r[i];if(bo(c,n))return c}const s=e.value;return bo(s,n)?s:null}):t.computed(()=>{const r=e.value;return bo(r,n)?r:a?.get(o)})}function ze(e){return $e(e,"readonly",0,function(l){return ge(l)})}function Ne(e){return $e(e,"disabled",0,function(l){return ge(l)})}function Oe(e,o="modelValue",l){const n=t.toRef(e,o);let a=n.value;typeof l=="function"&&(a=l(n.value));const r=t.ref(a);return t.watch(n,s=>{if(typeof l=="function"){const i=l(s);i!==r.value&&(r.value=i)}else s!==r.value&&(r.value=s)}),r}const Al=new Map,Qt=new Map;let Lo=null;function ds(e){Lo=e}function El(e,o,l){if(l){let n=Qt.get(l);n||(n=new Map,Qt.set(l,n)),n.set(e,o)}else Al.set(e,o)}function Dt(e,o,l){!l&&Lo&&(l=Lo(e)??void 0);let n=null;if(l){let a=Qt.get(l);a&&(n=a.get(o))}return n||(n=Al.get(o)),n}function fs(e,o){for(let l in e){const n=e[l];El(l,n,o)}}function ms(e){Qt.delete(e)}function ps(){return{top:0,left:0,bottom:0,right:0}}function hs(e=0,o=0){if(ot){const l=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight,a={width:l,height:n-ie(e,n)-ie(o,n),headerHeight:44,footerHeight:44};return{rootWidth:l,rootHeight:n,pageLayout:a}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}}class gs{packages;_version;get version(){return this._version}constructor(o,l){this.packages=o,this._version=l}install(o,l){l?.install!==!1&&this.packages.forEach(r=>{r.install?o.use(r):r.name&&o.component(r.name,r)});const n=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=kt();if(this.initPageLayout(l,a),l.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=Xt(()=>{const i={...l},c=document.documentElement.clientWidth||document.body.clientWidth,d=document.documentElement.clientHeight||document.body.clientHeight;i.width=c,i.height=d,this.initPageLayout(i,a)},150);new window.ResizeObserver(r).observe(window.document.body)}for(const r in l)n.indexOf(r)===-1&&a.set(r,l[r])}initPageLayout(o,l){const n=o.headerBarHeight??0,a=o.footerBarHeight??0,r=Ge({},ps(),o.safeAreaInset),s=hs(n,a),i=Ge({},s.pageLayout,o.pageLayout);l=l??kt(),l.set("safeAreaInset",r),l.set("headerBarHeight",n),l.set("footerBarHeight",a),l.set("pageLayout",i),l.set("rootWidth",s.rootWidth),l.set("rootHeight",s.rootHeight)}setScopeGetter(o){ds(o)}setAPI(o,l,n){El(o,l,n)}getAPI(o,l,n){return Dt(o,l,n)}batchSetAPI(o,l){fs(o,l)}clearScopeAPI(o){ms(o)}getRootDomain(){return kt()}}function U(e){const o="fox-"+e;return{componentName:o,scope:e.replace("-",""),create(l){return l.baseName=e,l.name=o,l.install=n=>{n.component(l.name,l)},t.defineComponent(l)},createDemo(l){return l.baseName=e,l.name="demo-"+e,t.defineComponent(l)}}}const ys=(e,o)=>{let l=document.body;const n=e.teleport||"body";n!="body"&&(ml(n)?l=document.querySelector(n):l=e.teleport);const a=document.createElement("view"),r=o.name?o.name+"-":"",s=e.id||new Date().getTime();a.id=r+s;let i={};Yt(o.wrapper)?i=o.wrapper(l,a):i=o.wrapper;const c=t.createApp(i,e),d=o.components;return d&&d.forEach(m=>{c.use(m)}),l.appendChild(a),{instance:c.mount(a),unmount:()=>{c.unmount(),l.removeChild(a)}}},Tl=(e,o)=>e?t.h(e,o):"",de={disabled:{type:[Boolean,String],required:!1},readonly:{type:[Boolean,String],required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},hasBorder:{type:Boolean,required:!1,default:!0}},fe={prop:{type:String,required:!1},label:{type:String,required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},isRequired:{type:[String,Boolean],required:!1,default:!1},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1},infoMarkClass:{type:String,required:!1,default:"is-info"},warnMarkClass:{type:String,required:!1,default:"is-warn"},errorMarkClass:{type:String,required:!1,default:"is-error"},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:"content--default"},contentStyle:{type:Object,required:!1,default:{}},hintType:{type:String,required:!1,default:"text"},hintText:{type:[String,Number],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:!0},hintProps:{type:Object,required:!1,default:{}},appearListen:{type:[Boolean,String],required:!1,default:!1}},$l={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},minItemWidth:{type:[String,Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},Dl={name:{type:String,required:!1},tag:{type:String,required:!1,default:"div"},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},type:{type:[String],required:!1,default:"flex"},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},autoLayout:{type:[Boolean],required:!1,default:!0},isWrap:{type:[Boolean,String],required:!1,default:!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1,default:!1},markColor:{type:[String],required:!1},title:{type:String,default:""},titleColor:{type:[String],required:!1},collapse:{type:[String,Boolean],requried:!1},showCollapse:{type:[String,Boolean],required:!1,default:!1},collapseText:{type:[String],requried:!1},expandText:{type:[String],requried:!1},collapseIcon:{type:[Object],requried:!1},collapseHeight:{type:[String,Number],requried:!1}},Il=[];for(const e in Dl)Il.push(e);function De(e,o=null){if(o||(o=t.getCurrentInstance()),o&&o.proxy){let l=o.proxy;Object.assign(l,e)}}const vs=Symbol.for("InnerPageScopeKey"),ks=(e,o)=>({inheritAttrs:!0,props:{...de,...$l,name:{type:String,required:!1,default:""},modelValue:{type:Object,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1}},setup(l,n){const a=Vl(l.name,l);if(a){const d=us(a,l);De({getPageContentHeight:()=>Mo(a,d),getPageContentWidth:()=>zo(a,d),getPageHeaderHeight:()=>rn(a,d),getPageFooterHeight:()=>sn(a,d)});const m=t.inject(vs,!1);d&&m&&(d.contentHeight="100%")}const r=t.computed(()=>({[e]:!0})),s=t.computed(()=>({})),i=t.getCurrentInstance(),c=d=>{const m=i?.proxy;m&&typeof m.setNameValidateRules=="function"&&m.setNameValidateRules(d,!0)};return t.watch(()=>l.rules,(d,m)=>{if(!d&&!m)return;const f=t.toRaw(m),h=t.toRaw(d),y=h?Reflect.ownKeys(h):[];(f?Reflect.ownKeys(f):[]).forEach(v=>{y.includes(v)||(h[v]=[])}),c(h)},{deep:!0}),t.onMounted(()=>{if(l.rules){const d=t.toRaw(l.rules);c(d)}}),{classes:r,styles:s}}}),{componentName:bs,create:Ss,scope:lw}=U("page"),Cs=Ss(ks(bs));function ws(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const W=(e,o)=>{const l=e.__vccOpts||e;for(const[n,a]of o)l[n]=a;return l},ql=W(Cs,[["render",ws]]),Ns=(e,o,l)=>({props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[Object],required:!1,default:l},leftText:{type:String,required:!1,default:""},titleShow:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},titleIcon:{type:[Object],required:!1},rightShow:{type:[String,Boolean],required:!1,default:!0},rightIcon:{type:[Object],required:!1},rightText:{type:String,required:!1,default:""}},emits:["back","click-title","click-right","click-right-text"],setup(n,a){const r=We(),s=r?an(r):null;s&&(s.headerMounted=!0);const i=t.computed(()=>({[e]:!0})),c=n.height!==null&&n.height!==void 0?ie(n.height):null,d=t.computed(()=>{const q={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&s){const P=Le(n.padding??s.footerPadding);return Object.assign(q,P),c&&(s.headerHeight=c),q.height=s.headerHeight,q.safeAreaTop=s.safeAreaTop,q.safeAreaTop&&(q.top=q.safeAreaTop+(P.top??0),q.height=q.height+s.safeAreaTop),console.debug("[header] height",q.height),console.debug("[header] safeBottom",q.safeAreaTop),q}if(c&&(q.height=c),n.padding){const P=Le(n.padding);Object.assign(q,P)}return q});t.onUnmounted(()=>{s&&(s.headerMounted=!1)});const m=t.computed(()=>{const q={};return d.value.height!==null&&d.value.height!==void 0&&(q.height=`${d.value.height}px`),d.value.top!==null&&d.value.top!==void 0&&(q.paddingTop=`${d.value.top}px`),d.value.left!==null&&d.value.left!==void 0&&(q.paddingLeft=`${d.value.left}px`),d.value.right!==null&&d.value.right!==void 0&&(q.paddingRight=`${d.value.right}px`),d.value.bottom!==null&&d.value.bottom!==void 0&&(q.paddingBottom=`${d.value.bottom}px`),q}),f=t.computed(()=>{const q={};return d.value.safeAreaTop!==null&&d.value.safeAreaTop!==void 0&&(q.top=`${d.value.safeAreaTop}px`),q}),h=t.computed(()=>{const q={};return d.value.safeAreaTop!==null&&d.value.safeAreaTop!==void 0&&(q.top=`${d.value.safeAreaTop}px`),q}),y=t.computed(()=>!!n.leftShow),k=t.computed(()=>!(d.value.height!==null&&d.value.height!==void 0&&d.value.height<=0)),v=t.computed(()=>n.titleShow?n.title||n.titleIcon||a.slots.titleIcon||a.slots.default:!1),g=t.computed(()=>n.rightShow?n.rightText||n.rightIcon||a.slots.rightIcon||a.slots.right:!1),u=t.computed(()=>n.leftIcon),p=t.computed(()=>u.value||a.slots.leftIcon),b=t.computed(()=>n.titleIcon),S=t.computed(()=>n.titleIcon||a.slots.titleIcon),B=t.computed(()=>n.rightIcon),E=t.computed(()=>n.rightIcon||a.slots.rightIcon);function I(){a.emit("back")}function V(){a.emit("click-title")}function C(){a.emit("click-right")}function w(){a.emit("click-right-text")}return{classes:i,styles:m,mHeaderShow:k,leftStyles:f,rightStyles:h,mLeftShow:y,mTitleShow:v,mRightShow:g,mLeftIcon:u,hasLeftIcon:p,mTitleIcon:b,hasTitleIcon:S,mRightIcon:B,hasRightIcon:E,handleLeft:I,handleCenter:V,handleRight:C,handleRightText:w}}}),{componentName:Bs,create:Vs,scope:As}=U("header-bar"),Es=Vs(Ns(Bs,As,G.Left)),Ts={key:1,class:"fox-header-bar__title"},$s={key:0,class:"title-text"};function Ds(e,o,l,n,a,r){return e.mHeaderShow?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"all",{},()=>[e.mLeftShow?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-header-bar__left",style:t.normalizeStyle(e.leftStyles)},[t.renderSlot(e.$slots,"left",{},()=>[e.hasLeftIcon?(t.openBlock(),t.createElementBlock("view",{key:0,onClick:o[0]||(o[0]=(...s)=>e.handleLeft&&e.handleLeft(...s)),class:"left-icon"},[t.renderSlot(e.$slots,"leftIcon",{},()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.mLeftIcon)))])])):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:o[1]||(o[1]=(...s)=>e.handleLeft&&e.handleLeft(...s))},t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0),e.mTitleShow?(t.openBlock(),t.createElementBlock("view",Ts,[t.renderSlot(e.$slots,"default",{},()=>[e.title?(t.openBlock(),t.createElementBlock("view",$s,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.hasTitleIcon?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:o[2]||(o[2]=(...s)=>e.handleCenter&&e.handleCenter(...s)),class:"title-icon"},[t.renderSlot(e.$slots,"titleIcon",{},()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.mTitleIcon)))])])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),e.mRightShow?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-header-bar__right",style:t.normalizeStyle(e.rightStyles)},[t.renderSlot(e.$slots,"right",{},()=>[e.rightText?(t.openBlock(),t.createElementBlock("view",{key:0,onClick:o[3]||(o[3]=(...s)=>e.handleRightText&&e.handleRightText(...s))},t.toDisplayString(e.rightText),1)):t.createCommentVNode("",!0),e.hasRightIcon?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:o[4]||(o[4]=(...s)=>e.handleRight&&e.handleRight(...s)),class:"right-icon"},[t.renderSlot(e.$slots,"rightIcon",{},()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.mRightIcon)))])])):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0)])],6)):t.createCommentVNode("",!0)}const Ml=W(Es,[["render",Ds]]);function Is(e,o){return{props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(l,n){const a=We(),r=a?an(a):null;r&&(r.footerMounted=!0);const s=t.computed(()=>{const m=e;let f=e;return l.align==="left"?f=`${f}__left`:l.align==="right"?f=`${f}__right`:f=`${f}__center`,{[m]:!0,[f]:!0}}),i=l.height!==null&&l.height!==void 0?ie(l.height):null,c=t.computed(()=>{const m={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&r){const f=Le(l.padding??r.footerPadding);return Object.assign(m,f),i&&(r.footerHeight=i),m.height=r.footerHeight,m.safeAreaBottom=r.safeAreaBottom,m.safeAreaBottom&&(m.height=m.height+r.safeAreaBottom,m.bottom=m.safeAreaBottom+(f.bottom??0)),m}if(i&&(m.height=i),l.padding){const f=Le(l.padding);Object.assign(m,f)}return m});t.onUnmounted(()=>{r&&(r.footerMounted=!1)});const d=t.computed(()=>{const m={};return c.value.height!==null&&c.value.height!==void 0&&(m.height=le(c.value.height)),c.value.top!==null&&c.value.top!==void 0&&(m.paddingTop=le(c.value.top)),c.value.left!==null&&c.value.left!==void 0&&(m.paddingLeft=le(c.value.left)),c.value.right!==null&&c.value.right!==void 0&&(m.paddingRight=le(c.value.right)),c.value.bottom!==null&&c.value.bottom!==void 0&&(m.paddingBottom=le(c.value.bottom)),m});return{classes:s,styles:d}}}}const{componentName:qs,create:Ms,scope:aw}=U("footer-bar"),zs=Ms(Is(qs));function xs(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const zl=W(zs,[["render",xs]]);function Ls(e,o){return{props:{padding:{type:[Object],required:!1}},setup(l){const n=We(),a=t.computed(()=>({[e]:!0})),r=t.computed(()=>{const s={};if(n){const i=an(n);if(i){if(l.padding){const f=Le(l.padding);Object.assign(i.contentPadding,f)}const c=rn(n,i),d=sn(n,i);let m="";if(i.contentHeight?m=`${i.contentHeight}`:m=`${i.height}px`,console.debug("[content]page height:",m),console.debug("[content]header height:",c),console.debug("[content]footer height:",d),console.debug("[content]padding:",i.contentPadding),s.height=m,i.contentPadding.top||c>0){const f=(i&&i.contentPadding&&i.contentPadding.top)??0;s.paddingTop=`${c+f}px`}if(i.contentPadding.bottom||d>0){const f=(i&&i.contentPadding&&i.contentPadding.bottom)??0;s.paddingBottom=`${d+f}px`}return i.contentPadding.left&&(s.paddingLeft=`${i.contentPadding.left}px`),i.contentPadding.right&&(s.paddingRight=`${i.contentPadding.right}px`),s}}if(l.padding){const i=Le(l.padding);i.left&&(s.paddingLeft=`${i.left}px`),i.top&&(s.paddingTop=`${i.top}px`),i.right&&(s.paddingRight=`${i.right}px`),i.bottom&&(s.paddingBottom=`${i.bottom}px`)}return s});return{classes:a,styles:r}}}}const{componentName:Ps,create:Rs,scope:rw}=U("content"),Os=Rs(Ls(Ps));function Fs(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const xl=W(Os,[["render",Fs]]),ct="GroupStateKey",Ll=Symbol.for("GroupScopeKey");function fo(){return t.inject(Ll,!1)}function mo(e=!0){t.provide(Ll,e)}function Us(e,o={}){const n={type:"form",width:e.get("width",-1),column:-1,gutter:-1};Object.assign(n,o);const a=t.shallowRef(n),r=t.markRaw({layout:a,passport:0,order:{index:0}});return e.set(ct,r),r}function $n(e,o,l=-1,n=-1,a=!1,r){const s=e.get(ct);if(!s)return;const i=e.get("groupLayout")??{};l===-1&&(l=i.column??1),n===-1&&(n=i.gutter??0),r||(r=i.minItemWidth??-1),r=ie(r);const c=()=>{const d=o===""||o===-1,m=ie(o);let f=ue(l);const h=ie(n);if(!d){let v=(m-(f-1)*h)/f;for(;r!==-1&&f>1&&v<r;)f--,v=(m-(f-1)*h)/f}let y=!1;const k=s.layout;k.value.width=o,k.value.column!==f&&(k.value.column=f,y=!0),k.value.gutter!==h&&(k.value.gutter=h,y=!0),y&&t.triggerRef(k)};if(a)c();else{const d=++s.passport;setTimeout(()=>{d===s.passport&&c()},50)}}function Nt(e,o=!1){let l;return o?l=e.getForParent(ct):l=e.get(ct),l.layout}function cn(e,o=!1){let l;return o?l=e.getForParent(ct):l=e.get(ct),l.order}function Ce(e,o=1){return o==="stretch"?-1:(o=ue(o),o===-1?100:100*o/e)}function Ks(e){return e===window}const be=e=>{const o=t.unref(e);if(Ks(o)){const l=o.innerWidth,n=o.innerHeight;return{top:0,left:0,right:l,bottom:n,width:l,height:n}}return o&&o.getBoundingClientRect?o.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},Ke=(e,o)=>e?o?`fox-group__${e}-${o}`:"":`fox-group__${o}`,Hs=e=>{if(!e.props||e.props.span===null||e.props.span===void 0){const o=e.type,l=(o.props&&o.props.span&&o.props.span.default)??1;return typeof l=="function"?l():l}return e.props.span},js=e=>{if(!e.props||e.props.offset===null||e.props.offset===void 0){const l=e.type,n=(l.props&&l.props.offset&&l.props.offset.default)??0;return typeof n=="function"?n():n}const o=ue(e.props.offset);return o<0?0:o},Ws=e=>{if(!e.props||e.props.foxItemType===null||e.props.foxItemType===void 0){const o=e.type,l=(o.props&&o.props.foxItemType&&o.props.foxItemType.default)??"Item";return typeof l=="function"?l():l}return e.props.foxItemType??"Item"},Ys=e=>{if(!e.props||e.props.foxSubItemCount===null||e.props.foxSubItemCount===void 0){const l=e.type,n=(l.props&&l.props.foxSubItemCount&&l.props.foxSubItemCount.default)??"Item";return typeof n=="function"?n():n}const o=ue(e.props.foxSubItemCount);return o<0?1:o};function So(e){let o=e.offsetHeight;if(o<=0){const l=e.cloneNode(!0),n=e.offsetWidth;l.style=`width: ${n}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(l),o=l.offsetHeight,document.body.removeChild(l)}return o}function Xs(e,o,l){return{props:{...de,...$l,...Dl},emits:["update:collapse"],setup(n,a){const r=Vl(n.name,n,Il),s=Us(r,{type:n.type}),i=fo();mo(!0);const c=t.computed(()=>i&&r?Nt(r,!0).value:null),d=t.getCurrentInstance(),m=R=>{const O=d?.proxy;O&&typeof O.setNameValidateRules=="function"&&O.setNameValidateRules(R,!0)};t.watch(()=>n.rules,(R,O)=>{if(!R&&!O)return;const X=t.toRaw(O),K=t.toRaw(R),N=K?Reflect.ownKeys(K):[];(X?Reflect.ownKeys(X):[]).forEach(L=>{N.includes(L)||(K[L]=[])}),m(K)},{deep:!0});const f=e,h=t.computed(()=>{const R={};if(R.height=q.value,c.value){const O=Nt(r,!0);if(O.value.type==="flex"){if(n.width){const N=le(n.width);R.width=N}else{const N=Ce(O.value.column,n.span);N>0&&(R.width=`${N}%`)}const X=Ce(O.value.column,n.offset);X>0&&(R["margin-left"]=`${X}%`);const K=O.value.gutter/2;K>0&&(R["padding-left"]=`${K}px`,R["padding-right"]=`${K}px`)}else if(O.value.type==="flow"){if(n.width){const N=le(n.width);R.width=N}else{const N=Ce(O.value.column,n.span);N>0&&(R.width=`${N}%`)}const X=Ce(O.value.column,n.offset);X>0&&(R["margin-left"]=`${X}%`);const K=O.value.gutter/2;if(K>0){const N=r?cn(r,!0):null;if(N){let D=ue(n.offset)+ue(n.span);(D===-1||D>O.value.column)&&(D=O.value.column);const L=Math.ceil((N.index+1)/O.value.column),F=Math.ceil((N.index+D)/O.value.column);if(L===F){const Q=(N.index+1)%O.value.column,ee=(N.index+D)%O.value.column,Z=Q===1?0:K,J=ee===0?0:K;R["padding-left"]=`${Z}px`,R["padding-right"]=`${J}px`}else{const Q=D%O.value.column,ee=0,Z=Q===0?0:K;R["padding-left"]=`${ee}px`,R["padding-right"]=`${Z}px`}N.index+=D}else R["padding-left"]=`${K}px`,R["padding-right"]=`${K}px`}}}else if(n.width){const O=le(n.width);R.width=O}return A.value&&(R["box-sizing"]="content-box"),R}),y=t.computed(()=>n.type==="flex"?{[`${Ke("",n.type)}`]:!0,[`${Ke("justify",n.justify)}`]:!0,[`${Ke("align",n.align)}`]:!0,[`${Ke("flex",n.flexWrap)}`]:!0,[`${f}__gutter`]:!0}:n.type==="flow"?{[`${Ke("",n.type)}`]:!0,[`${Ke("justify",n.justify)}`]:!0,[`${Ke("align",n.align)}`]:!0}:{[`${Ke("",n.type)}`]:!0,[`${f}__gutter`]:!0}),k=t.toRef(n,"title"),v=t.toRef(n,"gutter"),g=t.toRef(n,"column"),u=t.computed(()=>i?!0:ge(n.isWrap)),p=[],b=R=>{p.push(R)},S=()=>{let R=p.length;p.splice(0,R)},B=t.ref(-1);$n(r,B.value,g.value,v.value,!0,n.minItemWidth),n.autoLayout&&t.watch([B,g,v],([R,O,X])=>{s.order.index=0,$n(r,R,O,X,!1,n.minItemWidth)});const E=t.computed(()=>A.value?n.expandText??"":n.collapseText??""),I=t.computed(()=>({[`${e}__header-collapse-text`]:!0})),V=t.computed(()=>({[`${e}__header-collapse-icon`]:!0,["is-expand"]:!A.value,["is-collapse"]:A.value})),C=t.ref(),w=t.ref(),q=t.computed(()=>M.value||le(n.height)||""),P=t.ref(!1),M=t.ref(""),A=t.ref(!1);let T=-1;const z=(R,O=!0)=>{const X=C.value;if(X&&P.value!==R){if(T=T===-1?So(X):T,A.value=!0,O)if(X.style["will-change"]="height",X.ontransitionend=function(){X.ontransitionend=null,this.style["will-change"]="auto",R||(M.value="",A.value=!1)},R){let K=0;n.collapseHeight?K=n.collapseHeight:w.value&&w.value.classList.contains(`${e}__header`)&&(K=So(w.value)),M.value=`${T}px`,t.nextTick(()=>{M.value=`${K}px`})}else M.value=`${T}px`;else if(R){let K=0;n.collapseHeight?K=n.collapseHeight:w.value&&w.value.classList.contains(`${e}__header`)&&(K=So(w.value)),M.value=`${K}px`}else A.value=!1,M.value=`${T}px`;P.value=R,a.emit("update:collapse",R)}};t.watch(()=>n.collapse,R=>{z(R)});const $=()=>{x()},x=R=>{R=R??!P.value,z(R)};De({toggleCollapse:x});let H=null;t.onMounted(()=>{if(n.rules){const R=t.toRaw(n.rules);m(R)}if(ot&&(z(ge(n.collapse),!1),n.autoLayout&&Array.isArray(p)&&p.length>0)){const R=p[0];B.value=be(R).width,window.ResizeObserver&&(H=new window.ResizeObserver(()=>{const O=be(R).width;O>0&&O!==B.value&&(B.value=O)}),H.observe(R))}}),t.onUnmounted(()=>{H?.disconnect()});const j=(R,O,X,K)=>{const N={...y.value};return O===0&&(N[`${f}__first`]=!0),X>=K-1&&(N[`${f}__last`]=!0),t.h("div",{ref:b,key:`${O}`,class:N},R)},Y=R=>{if(typeof R.type=="symbol"){if(Array.isArray(R.children)){const O=[...R.children];for(let X=O.length-1;X>=0;X--){const K=O[X],N=Y(K);N===null?O.splice(X,1):N.length>0&&Reflect.apply([].splice,O,[X,1,...N])}return O}return null}return[]};return()=>{s.order.index=0;const R=[];let O=0;if(a.slots.header){const D={key:`${O++}`,ref:w,class:{[`${f}__header`]:!0,[`${f}__first`]:!0}},L=t.h("div",D,[a.slots.header()]);R.push(L)}else{const D=[];if(k.value){if(n.showMark){const F={class:{[`${f}__header-mark`]:!0}};n.markColor&&(F.style={background:n.markColor});const Q=t.h("div",F);D.push(Q)}const L=t.h("div",{class:{[`${f}__header-title`]:!0}},[k.value]);D.push(L)}if(a.slots.toolbar&&D.push(a.slots.toolbar()),n.showCollapse){const L=[];if(E.value){const ee={class:I.value},Z=t.h("span",ee,[E.value]);L.push(Z)}const F={class:V.value},Q=l(n.collapseIcon,F);if(Q&&L.push(Q),L.length>0){const ee=t.h("div",{class:{[`${f}__header-collapse`]:!0},onClick:$},L);D.push(ee)}}if(D.length>0){const L={key:`${O++}`,ref:w,class:{[`${f}__header`]:!0,[`${f}__first`]:!0}},F=t.h("div",L,D);R.push(F)}}S();const X=a.slots.default?a.slots.default():[];let K=[],N=0;if(n.type==="flex"){for(let D=0;D<X.length;D++){const L=Y(X[D]);if(L===null)continue;L.length>0&&Reflect.apply([].splice,X,[D,1,...L]);const F=X[D];if(Ws(F)==="fragment"){let oe=Ys(F);oe>s.layout.value.column?oe=s.layout.value.column:oe<=0&&(oe=1);const re=N+oe;if(re>s.layout.value.column){const te=j([...K],O++,D-1,X.length);R.push(te),N=oe,K=[F]}else K.push(F),N=re;continue}const ee=Hs(F),Z=js(F);if(ee==="stretch"){if(N<s.layout.value.column){K.push(F);const oe=j([...K],O++,D,X.length);R.push(oe)}else{const oe=j([...K],O++,D-1,X.length);R.push(oe);const re=j([F],O++,D,X.length);R.push(re)}N=0,K=[];continue}let J=ue(ee);if(J===-1){if(K.length>0){const re=j([...K],O++,D-1,X.length);R.push(re)}const oe=j([F],O++,D,X.length);R.push(oe),N=0,K=[];continue}J>s.layout.value.column?J=s.layout.value.column:J<=0&&(J=1);const ne=N+J+Z;if(ne>s.layout.value.column){const oe=j([...K],O++,D-1,X.length);R.push(oe),N=J+Z,K=[F]}else K.push(F),N=ne}if(K.length>0){const D=j([...K],O++,X.length,X.length);R.push(D)}}else if(n.type==="flow"){const D=j(X,O++,0,X.length);R.push(D)}else for(let D=0;D<X.length;D++){const L=X[D],F=j([L],O++,D,X.length);R.push(F)}if(u.value){const D=n.tag||"div";return t.h(D,{ref:C,prop:n.name,class:{[`${f}`]:!0,"is-collapse":A.value},style:h.value},[R])}else return R}}}}const{componentName:Qs,create:Gs,scope:Zs}=U("group"),Js=(e=G.RectUp,o={})=>t.h(e,o),Pl=Gs(Xs(Qs,Zs,Js));function _s(e){return e===window}const ei=/matrix\((.+)\)/,ti=e=>{const o=t.unref(e);if(!o)return{x:0,y:0};if(_s(o))return{x:0,y:0};let l=0,n=0,a=o;for(;a!==null;)l+=a.offsetLeft,n+=a.offsetTop,a=a.offsetParent;let r=0,s=0,i=0,c=0;for(a=o;a!==document;){s+=a.scrollTop,r+=a.scrollLeft;const{transform:d}=window.getComputedStyle(a);if(d){const m=ei.exec(d);if(m){let h=m[1].split(/\s*,\s*/);h.length==6&&(i+=Number(h[4]),c+=Number(h[5]))}}a=a.parentNode}return l-=r,n-=s,l+=i,n+=c,{x:l,y:n}};class oi{watchedListeners=[];add(o){this.watchedListeners.push(o)}remove(o){const l=this.watchedListeners.indexOf(o);l!==-1&&this.watchedListeners.splice(l,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(o=>{try{o()}catch{}})}}class ni{monitorRegister=new WeakMap;watch(o,l){let n=o.parentNode;const a=document.body.parentNode;for(;n&&n!==a;){let r=this.monitorRegister.get(n);r||(r=new oi,n.addEventListener("scroll",r.listen),n===document.body&&n.addEventListener("resize",r.listen),this.monitorRegister.set(n,r)),r.add(l),n=n.parentNode}}unwatch(o,l){let n=o.parentNode;const a=document.body.parentNode;for(;n&&n!==a;){let r=this.monitorRegister.get(n);r&&(r.remove(l),r.size()===0&&(this.monitorRegister.delete(n),n.removeEventListener("scroll",r.listen),n===document.body&&n.removeEventListener("resize",r.listen))),n=n.parentNode}}}const Dn=new ni,Rl={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"¥"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:[Number,String],required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:li,create:ai}=U("price"),ri=ai({props:{...Rl},setup(e){const o=t.computed(()=>({[li]:!0})),l=t.computed(()=>e.needSymbol?e.symbol:""),n=t.computed(()=>pe(e.price)==0?"":_o(e.price,e.decimalLength,!0,ue(e.digits),e.separator)),a=t.computed(()=>{let s=n.value;if(s.length==0)return"";let i=s.indexOf(".");return s.substring(0,i)}),r=t.computed(()=>{let s=n.value;if(s.length==0)return"";let i=s.indexOf(".");return s.substring(i+1)});return{classes:o,showSymbol:l,intText:a,decimalText:r}}}),si=["innerHTML"],ii=["innerHTML"];function ci(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,si)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(`fox-price--${e.size}`)},t.toDisplayString(e.intText),3),e.decimalText.length!=0?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(`fox-price--decimal-${e.size}`)},t.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,ii)):t.createCommentVNode("",!0)],2)}const _e=W(ri,[["render",ci]]),{componentName:Pt,create:ui}=U("hint-text"),di=ui({components:{Price:_e},props:{...Rl,type:{type:String,default:"number"},placement:{type:String,default:"top"},id:{type:String},reference:{type:Object},autoFit:{type:Boolean,default:!0},popupHeight:{type:Number,default:40},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,o){const l=t.ref({x:0,y:0}),n=t.ref(0),a=t.ref(0),r=t.ref(e.placement),s=10,i=4,c=t.ref(0),d=t.computed(()=>({[Pt]:!0})),m=t.ref(null),f=(E,I,V=10)=>{if(!ot||!e.autoFit||I===!1||!E)return;const C=ti(e.reference);l.value=C,C.y<e.reference.offsetHeight&&(r.value="bottom");const w=be(e.reference);n.value=w.width,a.value=w.height,setTimeout(()=>{if(!m.value)return;const q=document.documentElement.clientWidth||document.body.clientWidth,P=m.value.offsetWidth;let M=q-(P+ie(l.value.x));M<0?c.value=M:c.value=0},V)},h=wt(()=>{f(e.message,e.visible)},10),y=t.computed(()=>e.visible&&k.value),k=t.ref(!0),v=wt(E=>{const I=E[0];I&&(k.value=I.isIntersecting)},10),g=new IntersectionObserver(v);t.watch([()=>e.message,()=>e.visible],([E,I])=>{f(E,I)}),t.onMounted(()=>{f(e.message,e.visible),Dn.watch(e.reference,h),g.observe(e.reference)}),t.onBeforeMount(()=>{Dn.unwatch(e.reference,h),g.unobserve(e.reference),g.disconnect()});const u=t.computed(()=>{const E={left:`${ie(l.value.x)+c.value}px`,height:le(e.popupHeight)};return e.placement==="bottom"?E.top=le(l.value.y+a.value+s):E.top=le(l.value.y-e.popupHeight-s-i),e.autoFit?E["min-width"]=le(n.value):E.width=le(n.value),E}),p=t.computed(()=>({[`${Pt}__content`]:!0})),b=t.computed(()=>({})),S=t.computed(()=>({[`${Pt}__arrow`]:!0,[`${Pt}__arrow-${e.placement}`]:!0})),B=t.computed(()=>e.placement==="bottom"?{top:`${-s}px`,left:`${ie(-c.value+20)}px`}:{top:"100%",left:`${ie(-c.value+20)}px`});return{show:y,tipRef:m,classes:d,styles:u,textClasses:p,textStyles:b,arrowClasses:S,arrowStyles:B}}}),fi={key:1,class:"text"};function mi(e,o,l,n,a,r){const s=t.resolveComponent("Price");return t.openBlock(),t.createBlock(t.Transition,{name:"hint-text-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",{ref:"tipRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("div",{class:t.normalizeClass(e.textClasses),style:t.normalizeStyle(e.textStyles)},[e.type=="number"?(t.openBlock(),t.createBlock(s,{key:0,price:e.message,position:"before"},null,8,["price"])):(t.openBlock(),t.createElementBlock("span",fi,t.toDisplayString(e.message),1))],6),t.createElementVNode("div",{class:t.normalizeClass(e.arrowClasses),style:t.normalizeStyle(e.arrowStyles)},null,6)],6),[[t.vShow,e.show]])]),_:1})}const po=W(di,[["render",mi]]);class Ol{seed=new Date().getTime();constructor(o){this.seed=o??new Date().getTime()}get(){let o=this.seed++;return this.seed<0&&(this.seed=0),o}}const Po={},pi=new Ol,it=new Map,Ro=e=>{if(e){const o=document.getElementById(e);it.delete(e),o&&o.parentNode?.removeChild(o)}else{for(const o of it.keys()){const l=document.getElementById(o);l&&l.parentNode?.removeChild(l)}it.clear()}},hi=e=>{const o=document.getElementById(e.id);if(o){const l=it.get(e.id);l?e={...Po,...l,...e}:e={...Po,...e};const n=t.createVNode(po,e);return t.render(n,o),e.id}},gi=e=>{e.unmount=Ro;let o;if(e.id){if(o=e.id,it.has(o))return hi(e)}else o=`hinttext_${pi.get()}`;e={...Po,...e},e.id=o,it.set(o,e);const l=document.createElement("div");l.id=e.id;const n=t.createVNode(po,e);return t.render(n,l),document.body.appendChild(l),o},yi=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},Ft={show(e,o,l={},n=!0){return n&&Ro(),yi(o),gi({...l,message:o,reference:e})},hide(e){Ro(e)},install(e){e.config.globalProperties.$hintText=Ft}},{componentName:In,create:vi}=U("item"),ki=vi({inheritAttrs:!0,props:{...de,...fe},emits:["appear","disappear"],setup(e,o){Be({componentName:In,validate:!1},e.prop??o.attrs.name);const l=We(),n=fo();mo(!1);const a=t.computed(()=>n&&l?Nt(l,!1).value:null),r=In,s=t.ref(null),i=t.computed(()=>{const N={[r]:!0,[`${r}__gutter`]:a.value&&a.value.type!=="flow",[`${r}__stretch`]:e.span==="stretch",[`${r}__input--border`]:e.hasBorder};if(N[e.errorMarkClass]=!!w.value,N[e.warnMarkClass]=!!V.value,N[e.infoMarkClass]=!!E.value,typeof s.value=="function"){const D=s.value(itemPropName);N[D]=!0}else if(typeof s.value=="string"){const D=s.value;N[D]=!0}return N}),c=t.computed(()=>{const N={};if(a.value)if(a.value.type==="flex"){if(e.width)N.width=le(e.width);else{const F=Ce(a.value.column,e.span);F>0&&(N.width=`${F}%`)}const D=Ce(a.value.column,e.offset);D>0&&(N["margin-left"]=`${D}%`);const L=a.value.gutter/2;L>0&&(N["padding-left"]=`${L}px`,N["padding-right"]=`${L}px`)}else if(a.value.type==="flow"){if(e.width)N.width=le(e.width);else{const F=Ce(a.value.column,e.span);F>0&&(N.width=`${F}%`)}const D=Ce(a.value.column,e.offset);D>0&&(N["margin-left"]=`${D}%`);const L=a.value.gutter/2;if(L>0){const F=l?cn(l,!1):null;if(F){let Q=ue(e.offset)+ue(e.span);(Q===-1||Q>a.value.column)&&(Q=a.value.column);const ee=Math.ceil((F.index+1)/a.value.column),Z=Math.ceil((F.index+Q)/a.value.column);if(ee===Z){const J=(F.index+1)%a.value.column,ne=(F.index+Q)%a.value.column,oe=J===1?0:L,re=ne===0?0:L;N["padding-left"]=`${oe}px`,N["padding-right"]=`${re}px`}else{const J=Q%a.value.column,ne=0,oe=J===0?0:L;N["padding-left"]=`${ne}px`,N["padding-right"]=`${oe}px`}F.index+=Q}else N["padding-left"]=`${L}px`,N["padding-right"]=`${L}px`}}else return e.width&&(N.width=le(e.width)),N;else e.width&&(N.width=le(e.width));return N}),d=t.ref(null),m=t.computed({get:()=>d.value??ge(e.isRequired),set:N=>{d.value=N}}),f=t.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof o.slots.label=="function"),h=$e(t.toRef(e,"labelPosition"),"labelPosition",xo.Near),y=t.computed(()=>h&&h.value==="top"?"top":h&&h.value==="right"?"right":"left"),k=t.computed(()=>({[`${r}__main`]:!0,[`${r}__main--${y.value}`]:!0})),v=t.computed(()=>({label:!0,[`label--${y.value}`]:!0})),g=$e(t.toRef(e,"labelWidth"),"labelWidth",xo.Near),u=t.computed(()=>g&&g.value?{width:le(g.value)}:{}),p=t.computed(()=>({["label--string"]:!0,["label--required"]:m.value})),b=t.computed(()=>({content:!0,[e.contentClass]:!0})),S=t.computed(()=>({...e.contentStyle})),B=t.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});De({setRequired(N){m.value=N},setErrorTip(N){B.errorTip=N},setErrorIcon(N){B.errorIcon=N},setWarnTip(N){B.warnTip=N},setWarnIcon(N){B.warnIcon=N},setInfoTip(N){B.infoTip=N},setInfoIcon(N){B.infoIcon=N},setCustomClassName(N){s.value=N}});const E=t.computed(()=>e.infoTip||B.infoTip),I=t.computed(()=>e.infoIcon||B.infoIcon),V=t.computed(()=>e.warnTip||B.warnTip),C=t.computed(()=>e.warnIcon||B.warnIcon),w=t.computed(()=>e.errorTip||B.errorTip),q=t.computed(()=>e.errorIcon||B.errorIcon),P=t.computed(()=>w.value?"error":V.value?"warn":E.value?"info":""),M=t.computed(()=>P.value.length>0),A=t.computed(()=>P.value==="error"?w.value:P.value==="warn"?V.value:P.value==="info"?E.value:""),T=t.computed(()=>P.value==="error"?q.value:P.value==="warn"?C.value:P.value==="info"?I.value:null),z=t.computed(()=>{let N={[`${r}__tip`]:!0,[`${r}__tip--${P.value}`]:!0};return P.value==="error"&&e.errorClass?N[`${e.errorClass}`]=!0:P.value==="warn"&&e.warnClass?N[`${e.warnClass}`]=!0:P.value==="info"&&e.infoClass&&(N[`${e.infoClass}`]=!0),N}),$=t.computed(()=>{let N={};return h&&h.value==="top"||!f.value?N["padding-left"]="0px":g&&g.value&&(N["padding-left"]=le(g.value)),N}),x=()=>t.h(T.value,{width:12,height:12}),H=t.computed(()=>o.slots.fixedTip),j=t.computed(()=>({[`${r}__fixed-tip`]:!0})),Y=t.ref();let R="";t.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([N,D,L,F])=>{Y.value&&(N&&!Se(D)?R?Ft.show(Y.value,D,{...F,id:R,type:L},!0):R=Ft.show(Y.value,D,{...F,type:L},!0):Ft.hide(R))});let O=null;const X=()=>{O||!Y.value||(O=new IntersectionObserver(N=>{let D=!1;for(let L of N)if(L.intersectionRatio>0){D=!0,D&&o.emit("appear",L);break}D||o.emit("disappear")}),O.observe(Y.value))},K=()=>{!O||!Y.value||(O.unobserve(Y.value),O=null)};return t.watch(()=>ge(e.appearListen),N=>{N?X():K()}),t.onMounted(()=>{ge(e.appearListen)&&X()}),t.onUnmounted(K),{classes:i,styles:c,mainClasses:k,hasLabel:f,labelClasses:v,labelStyles:u,labelStringClasses:p,contentClasses:b,contentStyles:S,contentRef:Y,hasTip:M,mTip:A,mIcon:T,renderIcon:x,tipClasses:z,tipStyles:$,hasFixedTip:H,fixedTipClasses:j}}}),bi=["prop"],Si={key:0,class:"fox-item__tip--icon"},Ci={class:"fox-item__tip--text"};function wi(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),prop:e.prop},[t.createElementVNode("div",{class:t.normalizeClass(e.mainClasses)},[e.hasLabel?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.labelClasses),style:t.normalizeStyle(e.labelStyles)},[t.createElementVNode("div",{class:t.normalizeClass(e.labelStringClasses)},[t.renderSlot(e.$slots,"label",{},()=>[t.createTextVNode(t.toDisplayString(e.label),1)])],2)],6)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref:"contentRef",class:t.normalizeClass(e.contentClasses),style:t.normalizeStyle(e.contentStyles)},[t.renderSlot(e.$slots,"prepend"),t.renderSlot(e.$slots,"default"),t.renderSlot(e.$slots,"append"),e.hasFixedTip?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.fixedTipClasses)},[t.renderSlot(e.$slots,"fixedTip")],2)):t.createCommentVNode("",!0)],6)],2),t.createVNode(t.Transition,{name:"fox-item__animate"},{default:t.withCtx(()=>[e.hasTip?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.tipClasses),style:t.normalizeStyle(e.tipStyles)},[e.mIcon?(t.openBlock(),t.createElementBlock("div",Si,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon())))])):t.createCommentVNode("",!0),t.createElementVNode("div",Ci,t.toDisplayString(e.mTip),1)],6)):t.createCommentVNode("",!0)]),_:1}),t.renderSlot(e.$slots,"hide")],14,bi)}const we=W(ki,[["render",wi]]);function Ni(e,o){return{props:{span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]},divide:{type:[Boolean],required:!1,default:!1}},setup(l,n){const a=e,r=t.computed(()=>({[a]:!0,[`${a}__stretch`]:l.span==="stretch",[`${a}__${l.align}`]:!0})),s=We(),i=fo();mo(!1);const c=t.computed(()=>{const m={};if(i&&s){const f=Nt(s,!1);if(f.value.type!=="flex")return l.width&&(m.width=le(l.width)),m;if(l.width)m.width=le(l.width);else{const k=Ce(f.value.column,l.span);k>0&&(m.width=`${k}%`)}const h=Ce(f.value.column,l.offset);h>0&&(m["margin-left"]=`${h}%`);const y=f.value.gutter/2;y>0&&(m["padding-left"]=`${y}px`,m["padding-right"]=`${y}px`)}else l.width&&(m.width=le(l.width));return m}),d=t.computed(()=>({[`${a}__content`]:!0}));return()=>{const m=[];if(n.slots.default){const k=n.slots.default();if(l.divide)for(let v=0;v<k.length;v++){if(v>0){const g=t.h("view",{class:{[`${a}__divide`]:!0}});m.push(g)}m.push(k[v])}else Reflect.apply([].push,m,k)}const f={class:d.value},h=t.h("view",f,m),y={class:r.value,style:c.value};return t.h("view",y,[h])}}}}const{componentName:Bi,create:Vi,scope:sw}=U("row-item"),Fl=Vi(Ni(Bi));function Ai(e,o){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1}},setup(l,n){const a=We(),r=fo();mo(!1);const s=t.computed(()=>r&&a?Nt(a,!1).value:null),i=e,c=t.computed(()=>({[i]:!0,[`${i}__gutter`]:s.value&&s.value.type!=="flow",[`${i}__stretch`]:l.span==="stretch"})),d=t.computed(()=>{const m={};if(s.value)if(s.value.type==="flex"){if(l.width)m.width=le(l.width);else{const y=Ce(s.value.column,l.span);y>0&&(m.width=`${y}%`)}const f=Ce(s.value.column,l.offset);f>0&&(m["margin-left"]=`${f}%`);const h=s.value.gutter/2;h>0&&(m["padding-left"]=`${h}px`,m["padding-right"]=`${h}px`)}else if(s.value.type==="flow"){if(l.width)m.width=le(l.width);else{const y=Ce(s.value.column,l.span);y>0&&(m.width=`${y}%`)}const f=Ce(s.value.column,l.offset);f>0&&(m["margin-left"]=`${f}%`);const h=s.value.gutter/2;if(h>0){const y=a?cn(a,!1):null;if(y){let k=ue(l.offset)+ue(l.span);(k===-1||k>s.value.column)&&(k=s.value.column);const v=Math.ceil((y.index+1)/s.value.column),g=Math.ceil((y.index+k)/s.value.column);if(v===g){const u=(y.index+1)%s.value.column,p=(y.index+k)%s.value.column,b=u===1?0:h,S=p===0?0:h;m["padding-left"]=`${b}px`,m["padding-right"]=`${S}px`}else{const u=k%s.value.column,p=0,b=u===0?0:h;m["padding-left"]=`${p}px`,m["padding-right"]=`${b}px`}y.index+=k}else m["padding-left"]=`${h}px`,m["padding-right"]=`${h}px`}}else return l.width&&(m.width=le(l.width)),m;else l.width&&(m.width=le(l.width));return m});return()=>{const m={class:c.value,style:d.value};return n.slots&&typeof n.slots.default=="function"?t.h("view",m,n.slots.default()):t.h("view",m)}}}}const{componentName:Ei,create:Ti,scope:iw}=U("slot-item"),Ul=Ti(Ai(Ei)),qn={type:{type:String,default:"text"},modelValue:{type:[String,Number],default:""},placeholder:{type:String,default:""},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function $i(e,o,l,n){return{props:{...de,...fe,...qn},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=ze(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),{toLocaleRefs:d}=se.useFoxI18n(o),m=d(a,["placeholder"]),f=t.ref(!1),h=Oe(a,"modelValue"),y=e,k=t.computed(()=>({[y]:!0,[`${y}__disabled`]:s.value,[`${y}__readonly`]:i.value})),v=$e(t.computed(()=>a.textAlign),"textAlign"),g=t.computed(()=>f.value?{textAlign:"left"}:{textAlign:v.value??"right"}),u=A=>{let z=A.target.value;a.type==="digit"&&(z=Io(z,!0)),a.type==="number"&&(z=Io(z,!1)),a.maxLength&&z.length>Number(a.maxLength)&&(z=z.slice(0,Number(a.maxLength))),h.value=z,c("update:modelValue",z,A),c("change",z,A)};let p=Oe(a,"hintText"),b=t.ref(!1);const S=A=>{let z=A.target.value;f.value=!0,Se(p.value)||(b.value=!0),c("focus",z,A)},B=A=>{setTimeout(()=>{b.value&&(b.value=!1),f.value=!1},0);let z=A.target.value;a.maxLength&&z.length>Number(a.maxLength)&&(z=z.slice(0,Number(a.maxLength))),c("blur",z,A)},E=t.computed(()=>({[`${y}__append`]:!0})),I=t.computed(()=>pe(a.unit)>0),V=t.computed(()=>!P.value),C=t.computed(()=>({hidden:!V.value})),w=A=>{h.value="",c("update:modelValue","",A),c("change","",A),c("clear","")},q=t.computed(()=>ge(a.clearable)&&!s.value&&!i.value),P=t.computed(()=>{let A=pe(h.value)>0;return ge(a.clearable)&&A&&f.value}),M=t.computed(()=>({action:!0,hidden:!P.value}));return()=>{const A={class:k.value,style:g.value,type:a.type,maxlength:a.maxLength,placeholder:m.placeholder.value,disabled:s.value,readonly:i.value,value:h.value,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onInput:u,onFocus:S,onBlur:B},T=[],z=t.h("input",A);T.push(z);const $=[];if(q.value){const X={class:["action-icon"]},K=t.h(n,X),N={class:M.value,onClick:w},D=t.h("view",N,{default:()=>[K]});$.push(D)}if(I.value){const X=t.h("view",{class:C.value},[a.unit]);$.push(X)}const x={class:E.value},H=t.h("view",x,{default:()=>$});T.push(H);const j={default:()=>T};if(r.slots.default){const X=r.slots.default();j.label=()=>X}if(r.slots.prepend){const X=r.slots.prepend();j.prepend=()=>X}if(r.slots.append){const X=r.slots.append();j.append=()=>X}const R={...Nl(a,qn),hintText:p.value,hintVisible:b.value};return t.h(l,R,j)}}}}const{componentName:Di,create:Ii,scope:qi}=U("input-item"),Kl=Ii($i(Di,qi,we,G.CloseLittle));function Mn(e,o=0){let l=`${e}`,n=l.indexOf(".");if(n==-1)return l;let a=n;for(let r=l.length-1;r>=n;r--)if(l.charAt(r)!="0"){a=r;break}return a-n<o?a=n+o+1:a!=n&&(a+=1),a>l.length?l=l.padEnd(a,"0"):l=l.substring(0,a),l}function zn(e,o,l=20){if(typeof o=="string"&&(o=ue(o)),o==1||o==-1)return`${e}`;if(o==0)return"0";if(o>0){let n=ul(`${e}`,`${o}`);return Mn(n)}else{let n=Jo(`${e}`,dl(`${o}`),20);return Mn(n)}}function Mi(e,o=-1,l=!1,n=3,a=","){return _o(e,o,l,n,a)}function xn(e,o,l,n,a=!0){if(e=="")return"";if(e=fl(e),o=ue(o),o==1)return e;if(n)e=zn(e,o),l&&(e=="0"&&a?e=`${e}.`.padEnd(ue(l)+2,"0"):e=Jo(e,1,ue(l)));else{let r=-1*o;e=zn(e,r)}return e}function Ln(e,o){let l={maxValid:!0,minValid:!0,message:""};if(o.min!==void 0){let n=ge(o.minInclude),a=To(e,o.min);if(n&&a==-1||!n&&(a==0||a==-1)){let r="请输入不小于 {0} 的数值";l.message=r.replace("{0}",o.min),l.minValid=!1}}if(o.max!=null){let n=ge(o.maxInclude),a=To(e,o.max);(n&&a==1||!n&&(a==0||a==1))&&(l.maxValid=!1)}return l}function zi(e,o,l,n){return{props:{...de,...fe,clearable:{type:Boolean,default:!0},modelValue:{type:[String,Number],default:""},showTip:{type:[Boolean,String],required:!1,default:!0},min:{type:[Number,String],required:!1},minInclude:{type:[Boolean,String],required:!1,default:!0},max:{type:[Number,String],required:!1},maxInclude:{type:[Boolean,String],required:!1,default:!0},unit:{type:String,required:!1},rates:{type:[Number,String],required:!1,default:1},precision:{type:[Number,String],required:!1},integerLength:{type:[Number,String],required:!1,default:-1},decimalLength:{type:[Number,String],required:!1,default:2},autoPadding:{type:Boolean,required:!1,default:!0},digits:{type:Number,required:!1,default:3},separator:{type:String,required:!1,default:","},placeholder:{type:String,required:!1,default:""},textAlign:{type:String,required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=ze(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),d=t.ref(!1),m=Oe(a,"modelValue"),f=t.ref("");t.watch([()=>m.value,()=>a.rates,()=>a.precision],([x,H,j])=>{if(Se(x)){f.value="";return}const Y=xn(x,H,j,!1);f.value!==Y&&(f.value=Y)},{immediate:!0});const h=t.computed(()=>{let x="";return d.value&&(x=f.value),x}),{t:y}=se.useFoxI18n(o),k=t.computed(()=>{let x=a.placeholder??"";return!d.value&&!Se(f.value)?x=Mi(f.value,a.decimalLength,a.autoPadding,a.digits,a.separator):x=y(["placeholder",x]),x}),v=e,g=t.computed(()=>({[v]:!0,[`${v}__disabled`]:s.value,[`${v}__placeholder`]:f.value.length>0})),u=$e(t.computed(()=>a.textAlign),"textAlign"),p=t.computed(()=>d.value?{textAlign:"left"}:{textAlign:u.value??"right"}),b=t.ref(""),S=t.computed(()=>{let x=b.value;return Se(x)&&(x=a.errorTip??""),x}),B=t.ref(""),E=t.ref(!1),I=x=>{let j=x.target.value;if(Se(j)){f.value="",m.value="",c("update:modelValue","",x),c("change","",x),ge(a.showTip)&&E.value&&(E.value=!1);return}if(j.length>=2){let Y=j;if(Y.charAt(0)=="-"&&(Y=Y.substring(1)),Y.length>=2&&Y.charAt(0)=="0"&&Y.charAt(1)!="."){t.triggerRef(f);return}}if(j!="-"){if(!Sl(j)){t.triggerRef(f);return}if(a.integerLength!=-1&&Cl(j)>Number(a.integerLength)){t.triggerRef(f);return}if(a.decimalLength&&a.decimalLength!=-1&&wl(j)>Number(a.decimalLength)){t.triggerRef(f);return}let Y=Ln(j,a);if(Y.maxValid===!1){b.value=Y.message,t.triggerRef(f);return}}else if(a.min!=null&&ue(a.min)>=0){t.triggerRef(f);return}B.value=j,ge(a.showTip)&&(E.value=j.length>0),f.value=j,m.value=xn(j,a.rates,a.precision,!0),c("update:modelValue",m.value,x),c("change",m.value,x)},V=x=>{if(d.value=!0,ge(a.showTip)){let H=f.value;Se(H)&&(H=a.hintText),Se(H)||(B.value=H,E.value=!0)}b.value="",c("focus",m.value,x)},C=x=>{if(setTimeout(()=>{d.value=!1,ge(a.showTip)&&E.value===!0&&(E.value=!1)},0),!Se(f.value)){let H=Ln(f.value,a);if(H.minValid===!1||H.maxValid){b.value=H.message;return}}c("update:modelValue",m.value,x),c("blur",m.value,x)},w=t.computed(()=>({[`${v}__append`]:!0})),q=t.computed(()=>pe(a.unit)>0),P=t.computed(()=>!z.value),M=t.computed(()=>({hidden:!P.value})),A=x=>{m.value="",c("update:modelValue","",x),c("change","",x),c("clear","")},T=t.computed(()=>ge(a.clearable)&&!s.value&&!i.value),z=t.computed(()=>{let x=pe(m.value)>0;return ge(a.clearable)&&x&&d.value}),$=t.computed(()=>({action:!0,hidden:!z.value}));return()=>{let x={class:g.value,style:p.value,type:"digit",maxlength:a.maxLength,placeholder:k.value,disabled:s.value,readonly:i.value,value:h.value,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onInput:I,onFocus:V,onBlur:C},H=[],j=t.h("input",x);H.push(j);let Y=[];if(T.value){const D={class:["action-icon"]},L=t.h(n,D),F={class:$.value,onClick:A},Q=t.h("view",F,{default:()=>[L]});Y.push(Q)}if(q.value){const D=t.h("view",{class:M.value},[a.unit]);Y.push(D)}const R={class:w.value},O=t.h("view",R,{default:()=>Y});H.push(O);const X={default:()=>H};if(r.slots.default){let D=r.slots.default();X.label=()=>D}if(r.slots.prepend){let D=r.slots.prepend();X.prepend=()=>D}if(r.slots.append){let D=r.slots.append();X.append=()=>D}let K={...a,errorTip:S.value,hintText:B.value,hintVisible:E.value,hintType:"number"};return t.h(l,K,X)}}}}const{componentName:xi,create:Li,scope:Pi}=U("money-item"),Hl=Li(zi(xi,Pi,we,G.CloseLittle)),Oo={modelValue:{type:[String,Number],default:""},textAlign:{type:String,default:""},limitShow:{type:Boolean,default:!1},maxLength:{type:[String,Number],default:""},rows:{type:[String,Number],default:"2"},placeholder:{type:String,default:""},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autosize:{type:[Boolean,Object],default:!1},autofocus:{type:Boolean,default:!1}},{componentName:Ri,create:Oi,scope:Fi}=U("textarea"),Ui=Oi({props:{...Oo},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:o}){let{toLocaleRefs:l}=se.useFoxI18n(Fi);const n=l(e,["placeholder"]),a=t.ref(),r=t.computed(()=>{const h=Ri;return{[h]:!0,[`${h}--disabled`]:e.disabled}});t.onMounted(()=>{e.modelValue&&c(String(e.modelValue)),e.autosize&&t.nextTick(i)});const s=t.computed(()=>({textAlign:e.textAlign})),i=()=>{let h=a.value;h.style.height="auto";let y=h.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:k,minHeight:v}=e.autosize;k!==void 0&&(y=Math.min(y,k)),v!==void 0&&(y=Math.max(y,v))}y&&(h.style.height=y+"px")};t.watch(()=>e.modelValue,()=>{e.autosize&&t.nextTick(i)});const c=(h,y)=>{e.maxLength&&h.length>Number(e.maxLength)&&(h=h.substring(0,Number(e.maxLength))),o("update:modelValue",h,y),o("change",h,y)};return{...n,textareaRef:a,classes:r,styles:s,change:h=>{const y=h.target;c(y.value,h)},focus:h=>{e.disabled||e.readonly||o("focus",h)},blur:h=>{if(e.disabled||e.readonly)return;let k=h.target.value;c(k,h),o("blur",{value:k,event:h})}}}}),Ki=["rows","disabled","readonly","value","maxlength","placeholder","autofocus"],Hi={key:0,class:"fox-textarea__limit"};function ji(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("textarea",{ref:"textareaRef",class:"fox-textarea__textarea",style:t.normalizeStyle(e.styles),rows:e.rows,disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:o[0]||(o[0]=(...s)=>e.change&&e.change(...s)),onBlur:o[1]||(o[1]=(...s)=>e.blur&&e.blur(...s)),onFocus:o[2]||(o[2]=(...s)=>e.focus&&e.focus(...s)),maxlength:e.maxLength,placeholder:e.placeholder,autofocus:e.autofocus},null,44,Ki),e.limitShow?(t.openBlock(),t.createElementBlock("view",Hi,t.toDisplayString(e.modelValue?e.modelValue.length:0)+"/"+t.toDisplayString(e.maxLength),1)):t.createCommentVNode("",!0)],2)}const un=W(Ui,[["render",ji]]);function Wi(e,o,l,n){return{props:{...de,...fe,...Oo},emits:["update:modelValue","change","blur","focus"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=ze(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),d=Oe(a,"modelValue"),m=v=>{d.value=v,c("update:modelValue",v,{}),c("change",v,{})};let f=Oe(a,"hintText"),h=t.ref(!1);const y=v=>{Se(f.value)||(h.value=!0),c("focus",d.value,v)},k=v=>{setTimeout(()=>{h.value&&(h.value=!1)},0),c("blur",d.value,v)};return()=>{const g={...ye(a,Oo),disabled:s.value,readonly:i.value,value:d.value,["onUpdate:modelValue"]:m,onFocus:y,onBlur:k},u=[],p=t.h(n,g);u.push(p);const b={default:()=>u};if(r.slots.default){const E=r.slots.default();b.label=()=>E}const S=ye(a,fe,de);return t.h(l,S,b)}}}}const{componentName:Yi,create:Xi,scope:Qi}=U("textarea-item"),jl=Xi(Wi(Yi,Qi,we,un)),nt={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},position:{type:String,default:"center"},transition:{type:String,default:""},style:{type:Object,default:{}},popClass:{type:String,default:""},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},destroyOnClose:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},overlay:{type:Boolean,default:!0},round:{type:Boolean,default:!1},teleportDisable:{type:Boolean,default:!1},safeAreaInsetBottom:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:{}}},Wl=2e3;let Pn=Wl;const Gi=(e,o)=>({components:o,props:{...nt},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(l,{emit:n}){const a=t.reactive({zIndex:l.zIndex,showSlot:!0,closed:l.closeable}),r=t.computed(()=>({[e]:!0,round:l.round,[`fox-popup--${l.position}`]:!0,[`fox-popup--${l.position}--safebottom`]:l.position==="bottom"&&l.safeAreaInsetBottom,[l.popClass]:!0})),s=t.computed(()=>({zIndex:a.zIndex,transitionDuration:`${l.duration}s`,...l.style})),i=t.computed(()=>l.transition?l.transition:`fox-popup-slide-${l.position}`),c=()=>{l.zIndex!==Wl&&(Pn=Number(l.zIndex)),n("update:visible",!0),a.zIndex=++Pn,l.destroyOnClose&&(a.showSlot=!0),n("open")},d=()=>{n("update:visible",!1),n("close"),l.destroyOnClose&&setTimeout(()=>{a.showSlot=!1},+l.duration*1e3)},m=v=>{n("click-pop",v)},f=v=>{v.stopPropagation(),n("click-close-icon",v),n("update:visible",!1)},h=v=>{n("click-overlay",v),l.closeOnClickOverlay&&n("update:visible",!1)},y=v=>{n("opend",v)},k=v=>{n("closed",v)};return t.watch(()=>l.visible,v=>{l.visible?c():d()}),t.watchEffect(()=>{a.closed=l.closeable}),{...t.toRefs(a),popStyle:s,transitionName:i,classes:r,onClick:m,onClickCloseIcon:f,onClickOverlay:h,onOpened:y,onClosed:k}}});let pt=0;const Rn="fox-overflow-hidden",On=()=>ot?document.body:{classList:[]},Zi=e=>[()=>{if(e())try{!pt&&On().classList.add(Rn),pt++}catch{}},()=>{if(e()&&pt)try{pt--,!pt&&On().classList.remove(Rn)}catch{}}],Ji={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},overlayClass:{type:String,default:""},overlayStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}},{componentName:_i,create:ec}=U("overlay"),tc=ec({props:{...Ji},emits:["click","update:visible"],setup(e,{emit:o}){const[l,n]=Zi(()=>e.lockScroll),a=t.computed(()=>({[_i]:!0,[e.overlayClass]:!0})),r=t.computed(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return t.watchEffect(()=>{e.visible?l():n()}),{classes:a,style:r,onClick:i=>{o("click",i),e.closeOnClickOverlay&&o("update:visible",!1)}}}});function oc(e,o,l,n,a,r){return t.openBlock(),t.createBlock(t.Transition,{name:"overlay-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=t.withModifiers((...s)=>e.onClick&&e.onClick(...s),["stop"])),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6),[[t.vShow,e.visible]])]),_:3})}const et=W(tc,[["render",oc]]),{componentName:nc,create:lc}=U("popup"),ac=lc(Gi(nc,{[et.name]:et,Close:G.Close}));function rc(e,o,l,n,a,r){const s=t.resolveComponent("fox-overlay"),i=t.resolveComponent("Close");return t.openBlock(),t.createBlock(t.Teleport,{to:e.teleport,disabled:!e.teleportDisable},[e.overlay?(t.openBlock(),t.createBlock(s,t.mergeProps({key:0,visible:e.visible,"close-on-click-overlay":e.closeOnClickOverlay,"z-index":e.zIndex,"lock-scroll":e.lockScroll,duration:e.duration,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,onClick:e.onClickOverlay},e.$attrs),null,16,["visible","close-on-click-overlay","z-index","lock-scroll","duration","overlay-class","overlay-style","onClick"])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:e.transitionName,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.popStyle),onClick:o[1]||(o[1]=(...c)=>e.onClick&&e.onClick(...c))},[e.showSlot?t.renderSlot(e.$slots,"default",{key:0}):t.createCommentVNode("",!0),e.closed?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:o[0]||(o[0]=(...c)=>e.onClickCloseIcon&&e.onClickCloseIcon(...c)),class:t.normalizeClass(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(i,{height:"12px"})])],2)):t.createCommentVNode("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const ce=W(ac,[["render",rc]]),Fn=10;function sc(e,o){return e>o&&e>Fn?"horizontal":o>e&&o>Fn?"vertical":""}function Ye(){const e=t.ref(0),o=t.ref(0),l=t.ref(0),n=t.ref(0),a=t.ref(0),r=t.ref(0),s=t.ref(0),i=t.ref(0),c=t.ref(0),d=t.ref(0),m=t.ref(""),f=()=>m.value==="vertical",h=()=>m.value==="horizontal",y=()=>{s.value=0,i.value=0,c.value=0,d.value=0,m.value="",l.value=0};return{move:g=>{const u=g.touches[0];s.value=u.clientX-e.value,i.value=u.clientY-o.value,a.value=u.clientX,r.value=u.clientY,c.value=Math.abs(s.value),d.value=Math.abs(i.value),n.value=Date.now()-l.value,m.value||(m.value=sc(c.value,d.value))},start:g=>{y(),e.value=g.touches[0].clientX,o.value=g.touches[0].clientY,l.value=Date.now()},reset:y,startX:e,startY:o,startTime:l,duration:n,moveX:a,moveY:r,deltaX:s,deltaY:i,offsetX:c,offsetY:d,direction:m,isVertical:f,isHorizontal:h}}const Yl={readonly:{type:Boolean,default:!1},visibleItemCount:{type:[Number,String],default:7},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},childrenKey:{type:String,required:!1,default:"children"},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3}},Fo={...nt,...Yl,modelValue:{type:[String,Number,Boolean,Object,Array],default:""},text:{type:[Array],default:[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},title:{type:String,default:""},cancelText:{type:String,default:""},clearText:{type:String,default:""},confirmText:{type:String,default:""}};let Xl=36;function ic(){return Xl}function cc(e){Xl=e}function Ie(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function Uo(e,o){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?o[e.childrenKey]:o.children??null}function uc(e,o,l){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(o[e.childrenKey]=l),o.children=l}function tt(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Un(e,o){return typeof e.itemOptions=="function"?e.columnOptions(o):e.columnOptions}let dc=class{proxy;constructor(o){this.proxy=o}async load(o,l,n){if(Array.isArray(l))return l;if(typeof l=="function")return await l(n);const a=Dt(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):(Te(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}};function fc(){const e=t.getCurrentInstance();return new dc(e.proxy)}function Kn(e,o,l){const n=Ie(e,o),a=Ie(e,l);if(n!==a)return!1;const r=tt(e,o),s=tt(e,l);return r===s}function mc(e,o,l,n){if(l.length==0)return[];Array.isArray(o)||(o=[o]);const a=[],r=e.valueType??"value";if(n==="singleColumn"||n==="multipleColumn")for(let s=0;s<o.length&&s<l.length;s++){const i=o[s];let d=l[s].findIndex(m=>{if(r==="text")return Ie(e,m)===i;if(r==="value"){let f=tt(e,m);return f==null&&(f=Ie(e,m)),f===i}else if(r==="item")return Kn(e,m,i)});if(d==-1)break;a.push(d)}else{let s=l[0];for(let i=0;i<o.length;i++){const c=o[i];let d=s.findIndex(f=>{if(r==="text")return Ie(e,f)===c;if(r==="value"){let h=tt(e,f);return h==null&&(h=Ie(e,f)),h===c}else if(r==="item")return Kn(e,f,c)});if(d==-1)break;a.push(d);const m=Uo(e,s[d]);if(!Array.isArray(m))break;s=m}}return a}function Hn(e,o,l,n){if(l.length==0)return null;const a={texts:[],values:[]},r=e.valueType??"value";if(n==="singleColumn"||n==="multipleColumn")for(let s=0;s<o.length&&s<l.length;s++){const i=l[s];let c=o[s];c<0&&c>=i.length&&(c=0);const d=i[c],m=Ie(e,d);if(a.texts.push(m),r==="text")a.values.push(m);else if(r==="value"){let f=tt(e,d);f==null&&(f=m),a.values.push(f)}else a.values.push(d)}else{let s=l[0];for(let i=0;i<o.length;i++){let c=o[i];c<0&&c>=s.length&&(c=0);const d=s[c],m=Ie(e,d);if(a.texts.push(m),r==="text")a.values.push(m);else if(r==="value"){let f=tt(e,d);f==null&&(f=m),a.values.push(f)}else{const f=Object.assign({},d);f.children=null,a.values.push(f)}if(!Array.isArray(d.children))break;s=d.children}}return a}function jn(e){return{text:e,value:e}}const pc=15,hc=300,gc=200,{create:yc}=U("picker-column");function vc(e){e.stopPropagation()}function kc(e,o){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),o&&vc(e)}const bc=yc({props:{source:{type:Array,default:[]},columnIndex:{type:Number,required:!0,default:0},modelValue:{type:Number,required:!0,default:0},itemHeight:{type:Number,required:!0,default:35},...Yl},emits:["click","change","update:modelValue"],setup(e,{emit:o}){const l=t.computed(()=>({"fox-picker__list":!0})),n=t.computed(()=>({height:`${ue(e.visibleItemCount)*+e.itemHeight}px`})),a=t.computed(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),r=t.computed(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),s=V=>V>=f.currIndex+8||V<=f.currIndex-8,i=t.computed(()=>({transition:`transform ${f.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${f.deg})`,top:`${r.value}px`})),c=V=>`transform: rotate3d(1, 0, 0, ${-f.rotation*V}deg) translate3d(0px, 0px, 104px)`,d=t.computed(()=>({transition:`transform ${f.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${f.scrollDistance+r.value}px, 0)`})),m=t.ref(null),f=t.reactive({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),h=t.toRef(e,"source"),y=V=>Ie(e,V),k=V=>tt(e,V),v=Ye(),g=()=>{f.transitionEndTrigger&&(f.transitionEndTrigger(),f.transitionEndTrigger=null)},u=(V,C=!1,w=!1)=>{if(f.currIndex=V,C){const q=()=>{f.moving=!1,o("update:modelValue",V),o("change",V)};w?f.transitionEndTrigger=q:q()}},p=(V,C,w)=>{let q=V+f.startDistance;if(C==="end"){const P=-(h.value.length-1)*e.itemHeight;q<P&&(q=P,(!w||w<=0)&&(w=e.swipeDuration)),q>0&&(q=0,(!w||w<=0)&&(w=e.swipeDuration));let M=Math.abs(Math.round(-q/e.itemHeight));const A=-M*e.itemHeight,T=`${(M+1)*f.rotation}deg`,z=w?w>0:!1;u(M,!0,z),b(A,C,w,T)}else{let P=(-q/e.itemHeight+1)*f.rotation;const M=(h.value.length+1)*f.rotation,A=0;if(P=Math.min(Math.max(P,A),M),e.threeDimensional&&(P<A||P>M))return;b(q,null,void 0,`${P}deg`)}},b=(V=0,C,w=gc,q)=>{C==="end"?f.scrollTime=w:f.scrollTime=0,f.deg=q,f.scrollDistance=V},S=(V,C)=>(V=Math.abs(V/C)/.003*(V<0?-1:1),V),B=V=>{if(!e.readonly){if(f.moving){const C=m.value,{transform:w}=window.getComputedStyle(C);f.scrollDistance=+w.slice(7,w.length-1).split(", ")[5]}f.startDistance=f.scrollDistance,v.start(V),f.transitionEndTrigger=null}},E=V=>{e.readonly||(f.moving=!0,v.move(V),v.isVertical()&&(f.moving=!0,kc(V,!0)),p(v.deltaY.value,"",0))},I=()=>{if(e.readonly)return;const V=v.deltaY.value,C=v.duration.value;if(C<hc&&Math.abs(V)>pc){const q=S(V,C);p(q,"end",e.swipeDuration)}else p(V,"end",0)};return t.watch(()=>e.modelValue,V=>{if(f.currIndex!==V){f.currIndex=V;const C=-V*e.itemHeight;p(C)}}),t.onMounted(()=>{const V=-e.modelValue*e.itemHeight;p(V)}),{classes:l,styles:n,contentClasses:a,source:h,itemText:y,itemValue:k,...t.toRefs(f),roller:m,getItemText:Ie,onTouchStart:B,onTouchMove:E,onTouchEnd:I,isHidden:s,setRollerStyle:c,touchRollerStyle:i,touchTileStyle:d,stopMomentum:g}}}),Sc={key:1,class:"fox-picker__item-tile"};function Cc(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:o[2]||(o[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:o[3]||(o[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTransitionend:o[4]||(o[4]=(...s)=>e.stopMomentum&&e.stopMomentum(...s))},[t.createElementVNode("view",{ref:"roller",class:t.normalizeClass(e.contentClasses),style:t.normalizeStyle(e.threeDimensional?e.touchRollerStyle:e.touchTileStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.source,(s,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${e.columnIndex}_${i}`},[e.threeDimensional?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(i+1)}]),style:t.normalizeStyle(e.setRollerStyle(i+1))},t.toDisplayString(e.itemText(s)),7)):(t.openBlock(),t.createElementBlock("view",Sc,t.toDisplayString(e.itemText(s)),1))],64))),128))],6)],38)}const Wn=W(bc,[["render",Cc]]),{create:wc,componentName:Nc,scope:Bc}=U("picker"),Vc=wc({components:{[Wn.name]:Wn,[ce.name]:ce},props:{...Fo},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:o}){const{toLocaleRefs:l,t:n}=se.useFoxI18n(Bc),a=l(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),s=t.ref(ic());t.watch(()=>e.visible,C=>{C&&s.value<=0&&setTimeout(()=>{if(r.value){const w=be(r.value);s.value=w.height,cc(s.value)}},50)});const i=t.computed(()=>({[Nc]:!0})),c=fc(),d=t.ref("singleColumn");let m=t.ref([]);t.watch([()=>e.source,()=>e.params],async([C,w])=>{if(C){let q=await c.load("picker",C,w);if(q.length>0){let P=q[0];if(Array.isArray(P)){if(typeof P[0]=="string"){let M=q,A=[];M.forEach(T=>{let z=T.map($=>jn($));A.push(z)}),m.value=A}else m.value=q;d.value="multipleColumn"}else if(typeof P=="string"){let M=q,A=[],T=M.map(z=>jn(z));A.push(T),m.value=A,d.value="singleColumn"}else{const M=Uo(e,P);Array.isArray(M)?(d.value="cascade",m.value=[q]):(d.value="singleColumn",m.value=[q])}}else m.value=[]}},{immediate:!0});const f=t.ref([]),h=t.ref(e.modelValue),y=t.ref([]);t.watch([()=>e.modelValue,()=>m.value],([C,w])=>{let q=mc(e,C,w,d.value);if(!Re(q,y.value)){y.value=q;let P=Hn(e,q,w,d.value);P&&(f.value=P.texts,o("update:text",f.value))}});const k=t.ref(e.visible);t.watch(()=>e.visible,C=>{k.value=C});const v=C=>{let w=Un(e,C);return Te(w)?w.defaultIndex??0:0},g=C=>{if(e.readonly===!0)return!0;let w=Un(e,C);return Te(w)?w.readonly??!1:!1},u=(C,w,q=!1)=>{let P=y.value;P[C]=w;for(let A=0;A<C;A++)P[A]==null&&(P[A]=v(A));if(d.value==="cascade")for(let A=C+1;A<b.value.length;A++){let T=v(A);A<P.length?P[A]=T:P.push(T)}else for(let A=P.length;A<b.value.length;A++){let T=v(A);P.push(T)}y.value=P;let M=Hn(e,P,m.value,d.value);if(M&&(f.value=M.texts,h.value=M.values),q)if(d.value==="singleColumn"){let A=M&&M.values.length>0?M.values[0]:"";o("change",A)}else o("change",M?.values)},p=C=>C<y.value.length?y.value[C]:v(C),b=t.computed(()=>{if(m.value.length==0)return[];if(d.value=="singleColumn"||d.value=="multipleColumn")return m.value;let C=[],w=0,q=m.value[0],P=0;for(;;){let M=q.map(z=>{let $=Object.assign({},z);return uc(e,$,null),$});C.push(M),w>=y.value.length?P=0:P=y.value[w],(P<0||P>=q.length)&&(P=0);let A=q[P];const T=Uo(e,A);if(!Array.isArray(T))break;q=T,w++}return C}),S=t.computed(()=>ue(+e.visibleItemCount-1)/2*s.value);return{...a,pickerLineRef:r,classes:i,columns:b,dataType:d,show:k,itemHeight:s,top:S,isReadonly:g,getIndex:p,change:(C,w)=>{u(C,w,!0)},close:()=>{o("close"),o("update:visible",!1)},confirm:()=>{if(e.readonly===!0){o("update:visible",!1);return}let C=m.value.length-1;for(;C>=0&&!(y.value[C]===null||y.value[C]===void 0);C--);if(C>=0&&u(C,0,!1),d.value==="singleColumn"){let w=h.value.length>0?h.value[0]:"";e.readonly||(o("update:modelValue",w),o("update:text",f.value)),o("confirm",w)}else e.readonly||(o("update:modelValue",h.value),o("update:text",f.value)),o("confirm",h.value);o("update:visible",!1)},clear:()=>{if(e.readonly===!0){o("update:visible",!1);return}d.value==="singleColumn"?(o("update:modelValue",""),o("change","")):(o("update:modelValue",[]),o("change",[])),o("clear",""),o("update:visible",!1)}}}}),Ac={class:"fox-picker__bar"},Ec={class:"fox-picker__title"},Tc={class:"fox-picker__bar__action"},$c={class:"fox-picker__column"};function Dc(e,o,l,n,a,r){const s=t.resolveComponent("fox-picker-column"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(i,{position:"bottom",visible:e.show,"onUpdate:visible":o[3]||(o[3]=c=>e.show=c),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable},{default:t.withCtx(()=>[t.createElementVNode("view",Ac,[t.createElementVNode("view",Ec,t.toDisplayString(e.title),1),t.createElementVNode("view",Tc,[t.createElementVNode("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:o[0]||(o[0]=(...c)=>e.close&&e.close(...c))},t.toDisplayString(e.cancelText),1),t.createElementVNode("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:o[1]||(o[1]=(...c)=>e.confirm&&e.confirm(...c))},t.toDisplayString(e.confirmText),1),e.clearText?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-picker__right fox-picker__clear fox-picker__button",onClick:o[2]||(o[2]=(...c)=>e.clear&&e.clear(...c))},t.toDisplayString(e.clearText),1)):t.createCommentVNode("",!0)])]),t.renderSlot(e.$slots,"top"),t.createElementVNode("view",$c,[t.createElementVNode("view",{class:"fox-picker__mask",style:t.normalizeStyle({backgroundSize:`100% ${e.top}px`})},null,4),t.createElementVNode("view",{ref:"pickerLineRef",class:"fox-picker__hairline",style:t.normalizeStyle({top:` ${e.top}px`})},null,4),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.columns,(c,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,class:"fox-picker__columnitem"},[t.createVNode(s,{source:c,readonly:e.isReadonly(d),"column-index":d,modelValue:e.getIndex(d),"onUpdate:modelValue":m=>e.change(d,m),"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"item-height":e.itemHeight,"text-key":e.textKey,"value-key":e.valueKey},null,8,["source","readonly","column-index","modelValue","onUpdate:modelValue","visible-item-count","three-dimensional","swipe-duration","item-height","text-key","value-key"])]))),128))]),t.renderSlot(e.$slots,"default")]),_:3},8,["visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable"])],2)}const Bt=W(Vc,[["render",Dc]]);function Ic(e,o,l,n,a,r,s=!0){return{props:{...de,...fe,...Fo,type:{type:String,default:"text"},placeholder:{type:String,default:""},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1}},emits:["change","update:modelValue","blur","focus","clear"],setup(i,c){const d=Ne(t.computed(()=>i.disabled)),m=ze(t.computed(()=>i.readonly)),{emitEvent:f}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=se.useFoxI18n(o),y=h(i,["placeholder"]),k=t.ref(!1),v=Oe(i,"modelValue"),g=t.ref([]),u=t.computed(()=>Array.isArray(g.value)?g.value.join(" "):g.value),p="fox-input-item",b=t.computed(()=>({[p]:!0,[`${p}__disabled`]:d.value})),S=$e(t.computed(()=>i.textAlign),"textAlign"),B=t.computed(()=>({textAlign:S.value??"right"})),E=t.ref(!1),I=()=>{E.value=!0},V=R=>{E.value=R},C=R=>{v.value=R,f("update:modelValue",R,{}),f("change",R,{})},w=R=>{let X=R.target.value;k.value=!0,f("focus",X,R)},q=R=>{setTimeout(()=>{k.value=!1},0);let X=R.target.value;i.maxLength&&X.length>Number(i.maxLength)&&(X=X.slice(0,Number(i.maxLength))),f("blur",X,R)},P=t.computed(()=>({[`${p}__append`]:!0})),M=t.computed(()=>pe(i.unit)>0),A=t.computed(()=>pe(i.unit)>0&&!k.value),T=t.computed(()=>({hidden:!A.value})),z=R=>{v.value="",f("update:modelValue","",R),f("change","",R),f("clear","")},$=t.computed(()=>i.clearable&&!d.value&&!m.value),x=t.computed(()=>pe(v.value)>0&&k.value),H=R=>{x.value?z(R):I()},j=t.computed(()=>x.value&&$.value?n:a),Y=t.computed(()=>({action:!0}));return()=>{const R={class:b.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:y.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:I,onFocus:w,onBlur:q};s&&(R.disabled=!0);const O=[],X=t.h("input",R);O.push(X);const K=[],N={class:["action-icon"]},D=t.h(j.value,N),L={class:Y.value,onClick:H},F=t.h("view",L,{default:()=>[D]});if(K.push(F),M.value){const te=t.h("view",{class:T.value},[i.unit]);K.push(te)}const Q={class:P.value},ee=t.h("view",Q,{default:()=>K});O.push(ee);const Z={default:()=>O};if(c.slots.default){const te=c.slots.default();Z.label=()=>te}if(c.slots.prepend){const te=c.slots.prepend();Z.prepend=()=>te}if(c.slots.append){const te=c.slots.append();Z.append=()=>te}const J=ye(i,Fo);J.disabled=!1,J.readonly=d.value||m.value,J.visible=E.value,J["onUpdate:visible"]=V,J.modelValue=v.value,J["onUpdate:modelValue"]=C,J.text=g.value,J["onUpdate:text"]=te=>{g.value=te};const ne=t.h(r,J);Z.hide=()=>[ne];const oe=ye(i,fe,de);return t.h(l,oe,Z)}}}}const{componentName:qc,create:Mc,scope:zc}=U("picker-item"),Ql=Mc(Ic(qc,zc,we,G.CloseLittle,G.ArrowRight,Bt,!1)),Ut=(e,o,l)=>e.map(n=>{const{value:a="value",text:r="text",children:s="children"}=l??{},{[a]:i,[r]:c,[s]:d,...m}=n,f={loading:!1,...m,level:o?(o&&o.level||0)+1:0,value:i,text:c,children:d,_parent:o};return f.children&&f.children.length&&(f.children=Ut(f.children,f,l)),f}),Gl=(e,o)=>{let l=0,n;for(;(n=e[l++])&&o(n)!==!0;)n.children&&n.children.length&&Gl(n.children,o)},xc={topId:null,idKey:"id",pidKey:"pid",sortKey:""},Lc=(e,o)=>{const l={...xc,...o||{}},{topId:n,idKey:a,pidKey:r,sortKey:s}=l;let i=[],c={};return e.forEach(d=>{d={...d};const{[a]:m,[r]:f}=d,h=c[f]=c[f]||[];!i.length&&f===n&&(i=h),h.push(d),d.children=c[m]||(c[m]=[])}),s&&Object.keys(c).forEach(d=>{c[d].length>1&&c[d].sort((m,f)=>m[s]-f[s])}),c=null,i},Pc=/scroll|auto|overlay/i,Zl=window;function Rc(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Ko(e,o=Zl){let l=e;for(;l&&l!==o&&Rc(l);){const{overflowY:n}=window.getComputedStyle(l);if(Pc.test(n))return l;l=l.parentNode}return o}function Jl(e,o=Zl){const l=t.ref();return t.onMounted(()=>{e.value&&(l.value=Ko(e.value,o))}),l}const{create:Oc}=U("sticky"),Fc=Oc({props:{position:{type:String,default:"top"},top:{type:[Number,String],default:0},bottom:{type:[Number,String],default:0},container:{type:Object},zIndex:{type:[Number,String],default:99}},emits:["change"],setup(e,{emit:o}){const l=t.ref(),n=t.ref(),a=t.reactive({fixed:!1,height:0,transform:0}),r=t.computed(()=>e.position==="top"?Number(e.top):Number(e.bottom)),s=t.computed(()=>a.fixed?{height:`${a.height}px`}:{}),i=t.computed(()=>a.fixed?{[e.position]:`${r.value}px`,transform:a.transform?`translate3d(0, ${a.transform}px, 0)`:void 0,position:a.fixed?"fixed":void 0,zIndex:Number(e.zIndex)}:{}),c=()=>{const d=e.container;if(!l.value&&!d)return;const m=be(l),f=n.value,h=be(f),y=be(d);a.height=m.height;const k=()=>{let g=!1;if(e.position==="top")g=d?r.value>m.top&&y.bottom>0:r.value>m.top;else{const u=document.documentElement.clientHeight;g=d?y.bottom>0&&u-r.value-h.height>y.top:u-r.value<m.bottom}return g},v=()=>{if(d)if(e.position==="top"){const g=y.bottom-r.value-h.height;return g<0?g:0}else{const g=document.documentElement.clientHeight,u=y.bottom-(g-r.value);return u<0?u:0}return 0};a.transform=v(),a.fixed=k()};return t.watch(()=>a.fixed,d=>{o("change",d)}),t.onMounted(()=>{c(),Ko(l.value).addEventListener("scroll",c,!0)}),t.onUnmounted(()=>{Ko(l.value).removeEventListener("scroll",c)}),{rootRef:l,rootStyle:s,stickyRef:n,stickyStyle:i}}});function Uc(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:"fox-sticky",ref:"rootRef",style:t.normalizeStyle(e.rootStyle)},[t.createElementVNode("div",{class:"fox-sticky__box",ref:"stickyRef",style:t.normalizeStyle(e.stickyStyle)},[t.renderSlot(e.$slots,"default")],4)],4)}const Gt=W(Fc,[["render",Uc]]),Kc=(e,o,l,n)=>{const a=t.ref(),r=t.ref({width:0,height:0}),s=async()=>{if(l&&l.getEnv()!==l.ENV_TYPE.WEB){let h=await n(a,l);r.value.width=h.width||0,r.value.height=h.height||0}else r.value.width=a.value?.clientWidth||0,r.value.height=a.value?.clientHeight||0};t.onMounted(()=>{setTimeout(()=>{s()},100)});const i=t.reactive({offset:0,moving:!1}),c=Ye();let d="";const m=(h,y)=>{let k=h;switch(e.direction=="horizontal"?(d=h>0?"right":"left",k=Math.abs(k)/r.value.width*100):(d=y>0?"bottom":"top",k=y,k=Math.abs(k)/r.value?.height*100),k>85&&(k=85),d){case"left":case"top":o.isEnd()&&(k=0,i.moving=!1);break;case"right":case"bottom":k=-k,o.isBegin()&&(k=0,i.moving=!1);break}i.offset=k};return{touchMethods:{onTouchStart(h){e.swipeable&&c.start(h)},onTouchMove(h){e.swipeable&&(c.move(h),i.moving=!0,m(c.deltaX.value,c.deltaY.value),e.direction=="horizontal"&&c.isHorizontal()&&(h.preventDefault(),h.stopPropagation()),e.direction=="vertical"&&c.isVertical()&&(h.preventDefault(),h.stopPropagation()))},onTouchEnd(){if(i.moving)switch(i.moving=!1,d){case"left":case"top":i.offset>35&&o.next();break;case"right":case"bottom":i.offset<-35&&o.prev();break}}},touchState:i,tabsContentRef:a}};class Hc{title="";titleSlot;paneKey="";disabled=!1;constructor(){}}const{create:jc}=U("tabs"),Wc=jc({components:{[Gt.name]:Gt,JoySmile:G.JoySmile},props:{modelValue:{type:[String,Number],default:0},color:{type:String,default:""},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},type:{type:String,default:"line"},titleScroll:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},swipeable:{type:Boolean,default:!1},autoHeight:{type:Boolean,default:!1},background:{type:String,default:""},animatedTime:{type:[Number,String],default:300},titleGutter:{type:[Number,String],default:0},sticky:{type:Boolean,default:!1},top:{type:Number,default:0}},emits:["update:modelValue","click","change"],setup(e,{emit:o,slots:l}){const n=t.ref(null);let a;t.provide("tabsOpiton",{activeKey:t.computed(()=>e.modelValue||"0"),autoHeight:t.computed(()=>e.autoHeight),animatedTime:t.computed(()=>e.animatedTime)});const r=t.ref([]),s=C=>{C.forEach((w,q)=>{let P=w.type;if(P=P.name||P,P=="fox-tab-pane"){let M=new Hc;if(w.props?.title||w.props?.["pane-key"]||w.props?.paneKey){let A=Ze(w.props?.["pane-key"]),T=A=="number"||A=="string"?String(w.props?.["pane-key"]):null,z=Ze(w.props?.paneKey),$=z=="number"||z=="string"?String(w.props?.paneKey):null;M.title=w.props?.title,M.paneKey=T||$||String(q),M.disabled=w.props?.disabled}r.value.push(M)}else{if(w.children==" ")return;Array.isArray(w.children)&&s(w.children)}})},i=t.ref(e.modelValue||0),c=C=>{let w=r.value.findIndex(q=>q.paneKey==C);r.value.length==0||w==-1||(i.value=w)},d=t.computed(()=>e.titleScroll&&e.direction==="vertical"),m=t.ref(),f=t.ref([]),h=C=>{const w=m.value,q=f.value;if(!w||!q||!q[i.value])return;const P=q[i.value];let M=0;e.direction==="vertical"?M=P.offsetTop-w.offsetTop+10-(w.offsetHeight-P.offsetHeight)/2:M=P.offsetLeft-(w.offsetWidth-P.offsetWidth)/2,y(w,M,C?0:.3,e.direction)},y=(C,w,q,P)=>{let M=0;const A=P==="horizontal"?C.scrollLeft:C.scrollTop,T=q===0?1:Math.round(q*1e3/16);function z(){P==="horizontal"?C.scrollLeft+=(w-A)/T:C.scrollTop+=(w-A)/T,++M<T&&Xe(z)}z()},k=(C=l.default?.())=>{r.value=[],C=C?.filter(w=>typeof w.children!="string"),C&&C.length&&s(C),c(e.modelValue),t.nextTick(()=>{h()})},v=C=>{a=C.fixed};t.watch(()=>l.default?.(),C=>{k(C)});const g=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;t.watch(()=>e.modelValue,C=>{if(c(C),h(),a){let w=be(n.value).top+g(),q=Math.ceil(w-e.top);window.scrollTo({top:q,behavior:"smooth"})}}),t.onMounted(k),t.onActivated(k);const u={isBegin:()=>i.value==0,isEnd:()=>i.value==r.value.length-1,next:()=>{i.value+=1,u.updateValue(r.value[i.value])},prev:()=>{i.value-=1,u.updateValue(r.value[i.value])},updateValue:C=>{o("update:modelValue",C.paneKey),o("change",C)},tabChange:(C,w)=>{o("click",C),!(C.disabled||i.value==w)&&(i.value=w,u.updateValue(C))},setTabItemRef:(C,w)=>{f.value[w]=C}},{tabsContentRef:p,touchState:b,touchMethods:S}=Kc(e,u),B=t.computed(()=>{let C=i.value*100;b.moving&&(C+=b.offset);let w={transform:e.direction=="horizontal"?`translate3d(-${C}%, 0, 0)`:`translate3d( 0,-${C}%, 0)`,transitionDuration:b.moving?void 0:`${e.animatedTime}ms`};return e.animatedTime==0&&(w={}),w}),E=t.computed(()=>({background:e.background})),I=t.computed(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),V=t.computed(()=>{if(!e.titleGutter)return{};const C=le(e.titleGutter);return e.direction==="vertical"?{marginTop:C,marginBottom:C}:{marginLeft:C,marginRight:C}});return{navRef:m,tabsContentRef:p,titles:r,contentStyle:B,tabsNavStyle:E,titleStyle:V,tabsActiveStyle:I,container:n,getScrollY:d,onStickyScroll:v,...u,...S}}}),Yc=["onClick"],Xc=["onClick"];function Qc(e,o,l,n,a,r){const s=t.resolveComponent("JoySmile"),i=t.resolveComponent("fox-sticky");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs",[e.direction]]),ref:"container"},[e.sticky?(t.openBlock(),t.createBlock(i,{key:0,top:e.top,container:e.container,onScroll:e.onStickyScroll},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(["fox-tabs__titles",{[e.type]:e.type,scrollable:e.titleScroll,[e.size]:e.size}]),style:t.normalizeStyle(e.tabsNavStyle),ref:"navRef"},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.titles,(c,d)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs__titles-item",{active:c.paneKey==e.modelValue,disabled:c.disabled}]),style:t.normalizeStyle(e.titleStyle),onClick:m=>e.tabChange(c,d),key:c.paneKey},[e.type=="line"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-tabs__titles-item__line",style:t.normalizeStyle(e.tabsActiveStyle)},null,4)):t.createCommentVNode("",!0),e.type=="smile"?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-tabs__titles-item__smile",style:t.normalizeStyle(e.tabsActiveStyle)},[t.createVNode(s,{color:e.color},null,8,["color"])],4)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-tabs__titles-item__text",{ellipsis:e.ellipsis}])},t.toDisplayString(c.title),3)],14,Yc))),128))],6)]),_:3},8,["top","container","onScroll"])):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-tabs__titles",{[e.type]:e.type,scrollable:e.titleScroll,"scroll-vertical":e.getScrollY,[e.size]:e.size}]),style:t.normalizeStyle(e.tabsNavStyle),ref:"navRef"},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.titles,(c,d)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs__titles-item",{active:c.paneKey==e.modelValue,disabled:c.disabled}]),style:t.normalizeStyle(e.titleStyle),onClick:m=>e.tabChange(c,d),key:c.paneKey,ref_for:!0,ref:m=>e.setTabItemRef(m,d)},[e.type=="line"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-tabs__titles-item__line",style:t.normalizeStyle(e.tabsActiveStyle)},null,4)):t.createCommentVNode("",!0),e.type=="smile"?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-tabs__titles-item__smile",style:t.normalizeStyle(e.tabsActiveStyle)},[t.createVNode(s,{color:e.color},null,8,["color"])],4)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-tabs__titles-item__text",{ellipsis:e.ellipsis}])},t.toDisplayString(c.title),3)],14,Xc))),128))],6)),t.createElementVNode("view",{class:"fox-tabs__content",ref:"tabsContentRef",style:t.normalizeStyle(e.contentStyle),onTouchstart:o[0]||(o[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:o[1]||(o[1]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:o[2]||(o[2]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:o[3]||(o[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[t.renderSlot(e.$slots,"default")],36)],2)}const Zt=W(Wc,[["render",Qc]]),{create:Gc}=U("tab-pane"),Zc=Gc({props:{title:{type:[String,Number],default:""},paneKey:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:o}){const l=t.inject("tabsOpiton"),n=t.computed(()=>({display:l.animatedTime.value==0&&e.paneKey!=l.activeKey.value?"none":void 0}));return{...l,paneStyle:n}}});function Jc(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tab-pane",{inactive:e.paneKey!=e.activeKey&&e.autoHeight}]),style:t.normalizeStyle(e.paneStyle)},[t.renderSlot(e.$slots,"default")],6)}const Jt=W(Zc,[["render",Jc]]);class Yn{nodes;config;constructor(o,l){this.config={value:"value",text:"text",children:"children",...l||{}},this.nodes=Ut(o,null,this.config)}updateChildren(o,l){l?l.children=Ut(o,l,this.config):this.nodes=Ut(o,null,this.config)}getNodeByValue(o){let l;return Gl(this.nodes,n=>{if(n.value===o)return l=n,!0}),l}getPathNodesByValue(o){if(!o.length)return[];const l=[];let n=this.nodes;for(;n&&n.length;){const a=n.find(r=>r.value===o[r.level]);if(!a)break;l.push(a),n=a.children}return l}isLeaf(o,l){const{leaf:n,children:a}=o,r=Array.isArray(a)&&Boolean(a.length);return n||!r&&!l}hasChildren(o,l){if(this.isLeaf(o,l))return!1;const{children:a}=o;return Array.isArray(a)&&Boolean(a.length)}}const{create:_c,scope:eu}=U("cascader-pane"),tu=_c({components:{Loading:G.Loading,Checklist:G.Checklist,[Zt.name]:Zt,[Jt.name]:Jt},props:{visible:{type:Boolean,required:!0},modelValue:{type:Array,required:!0},options:{type:Array,default:()=>[]},lazy:{type:Boolean,required:!1},lazyLoad:{type:Function,required:!1},valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},convertConfig:{type:Object,required:!1}},emits:["update:modelValue","change","pathChange"],setup(e,{emit:o}){const l=t.computed(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),n=t.ref(0),a=t.ref(!1),r=t.ref(e.modelValue),s=t.ref(new Yn([],{})),i=t.ref([]),c=t.computed(()=>l.value.lazy&&Boolean(l.value.lazyLoad)),d=new Map;let m;const f=async()=>{d.clear(),i.value=[],n.value=0,a.value=!1,m=null;let{options:u}=e;l.value.convertConfig&&(u=Lc(u,l.value.convertConfig)),s.value=new Yn(u,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),c.value&&!s.value.nodes.length&&await y({root:!0,loading:!0,text:"",value:""}),i.value=[{nodes:s.value.nodes,selectedNode:null}],h()},h=async()=>{const u=r.value;if(u===void 0||!s.value.nodes.length)return;if(u.length===0){n.value=0,i.value=[{nodes:s.value.nodes,selectedNode:null}];return}let p=u;if(c.value&&Array.isArray(u)&&u.length){p=[];let b=s.value.nodes.find(S=>S.value===u[0]);if(b){p=[b.value],a.value=!0;const S=await u.slice(1).reduce(async(B,E)=>{const I=await B;await y(I);const V=I?.children?.find(C=>C.value===E);return V&&p.push(E),Promise.resolve(V)},Promise.resolve(b));await y(S),a.value=!1}}p.length&&u===e.modelValue&&s.value.getPathNodesByValue(p).map((S,B)=>{n.value=B,g.handleNode(S,!0)})},y=async u=>{if(!u)return;if(!l.value.lazyLoad){u.leaf=!0;return}if(s.value.isLeaf(u,c.value)||s.value.hasChildren(u,c.value))return;u.loading=!0;const p=u.root?null:u;let b=d.get(u);b||(b=new Promise(B=>{l.value.lazyLoad?.(u,B)}),d.set(u,b));const S=await b;Array.isArray(S)&&S.length>0?s.value.updateChildren(S,p):u.leaf=!0,u.loading=!1,d.delete(u)},k=u=>{const p=u.map(b=>b.value);r.value=p,o("change",p,u),o("update:modelValue",p,u)},{t:v}=se.useFoxI18n(eu),g={async handleNode(u,p){const{disabled:b,loading:S}=u;if(!(!p&&b||!i.value[n.value])){if(s.value.isLeaf(u,c.value)){if(u.leaf=!0,i.value[n.value].selectedNode=u,i.value=i.value.slice(0,u.level+1),!p){const B=i.value.map(E=>E.selectedNode);k(B),o("pathChange",B)}return}if(s.value.hasChildren(u,c.value)){const B=u.level+1;if(i.value[n.value].selectedNode=u,i.value=i.value.slice(0,B),i.value.push({nodes:u.children||[],selectedNode:null}),n.value=B,!p){const E=i.value.map(I=>I.selectedNode);o("pathChange",E)}return}m=u,!S&&(await y(u),m===u&&(i.value[n.value].selectedNode=u,g.handleNode(u,p)))}},handleTabClick(u){m=null,n.value=Number(u.paneKey)},formatTabTitle(u){return u.selectedNode?u.selectedNode.text:v("select")},isSelected(u,p){return u.selectedNode&&u.selectedNode.value===p.value}};return t.watch([l,()=>e.options],()=>{f()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,u=>{u!==r.value&&(r.value=u,h())}),t.watch(()=>e.visible,u=>{u&&Array.isArray(r.value)&&r.value.length>0&&h()}),{panes:i,initLoading:a,tabsCursor:n,...g}}}),ou={role:"menu",class:"fox-cascader__pane"},nu=["aria-checked","aria-disabled","onClick"],lu={class:"fox-cascader__item__title"},au=t.createElementVNode("view",{class:"fox-cascader__pane"},null,-1);function ru(e,o,l,n,a,r){const s=t.resolveComponent("Loading"),i=t.resolveComponent("Checklist"),c=t.resolveComponent("fox-tab-pane"),d=t.resolveComponent("fox-tabs");return t.openBlock(),t.createBlock(d,{class:"fox-cascader",modelValue:e.tabsCursor,"onUpdate:modelValue":o[0]||(o[0]=m=>e.tabsCursor=m),onClick:e.handleTabClick,"title-scroll":""},{default:t.withCtx(()=>[!e.initLoading&&e.panes.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.panes,(m,f)=>(t.openBlock(),t.createBlock(c,{title:e.formatTabTitle(m),key:f},{default:t.withCtx(()=>[t.createElementVNode("view",ou,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.nodes,h=>(t.openBlock(),t.createElementBlock("view",{key:h.value,class:t.normalizeClass(["fox-cascader__item",{active:e.isSelected(m,h),disabled:h.disabled}]),"aria-checked":e.isSelected(m,h),"aria-disabled":h.disabled||void 0,role:"menuitemradio",onClick:y=>e.handleNode(h,!1)},[t.createElementVNode("view",lu,t.toDisplayString(h.text),1),h.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):(t.openBlock(),t.createBlock(i,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,nu))),128))])]),_:2},1032,["title"]))),128)):(t.openBlock(),t.createBlock(c,{key:1,title:"Loading..."},{default:t.withCtx(()=>[au]),_:1}))]),_:1},8,["modelValue","onClick"])}const Xn=W(tu,[["render",ru]]),{create:su}=U("cascader"),iu=su({components:{[Xn.name]:Xn,[ce.name]:ce},props:{...nt,modelValue:Array,visible:Boolean,title:String,options:{type:Array,default:()=>[]},lazy:Boolean,lazyLoad:Function,valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},poppable:{type:Boolean,default:!0},convertConfig:Object},emits:["update:modelValue","change","pathChange","update:visible"],setup(e,{emit:o}){const l=t.ref(e.modelValue),n=t.computed({get(){return e.visible},set(s){o("update:visible",s)}}),a=(s,i)=>{l.value=s,n.value=!1,o("change",s,i),o("update:modelValue",s)},r=s=>{o("pathChange",s)};return t.watch(()=>e.modelValue,s=>{s!==l.value&&(l.value=s)}),{onChange:a,onPathChange:r,innerValue:l,innerVisible:n}}}),cu=["innerHTML"];function uu(e,o,l,n,a,r){const s=t.resolveComponent("fox-cascader-pane"),i=t.resolveComponent("fox-popup");return e.poppable?(t.openBlock(),t.createBlock(i,{key:0,visible:e.innerVisible,"onUpdate:visible":o[0]||(o[0]=c=>e.innerVisible=c),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:e.closeable,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:t.withCtx(()=>[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-cascader__bar",innerHTML:e.title},null,8,cu)):t.createCommentVNode("",!0),t.createVNode(s,{onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"])]),_:1},8,["visible","closeable","close-icon-position"])):(t.openBlock(),t.createBlock(s,{key:1,onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"]))}const dn=W(iu,[["render",uu]]);function Vt(e,o){const l=e.textKey??"text";return o[l]??""}function At(e,o){const l=e.valueKey??"value";return o[l]}function _l(e,o){const l=e.childrenKey??"children";return o[l]}function Rt(e,o=[]){const l={texts:[],values:[]};for(let n=0;n<o.length;n++){const a=o[n],r=Vt(e,a),s=At(e,a);l.texts.push(r),l.values.push(s??"")}return l}function ea(e,o,l,n,a=[]){const r=l[n];for(let s=0;s<o.length;s++)if(Vt(e,o[s])===r){const c=At(e,o[s])??"",d={[e.textKey]:r,[e.valueKey]:c};a.push(d);const m=_l(e,o[s]);Array.isArray(m)&&ea(e,m,l,n+1,a);return}}function ta(e,o,l,n,a=[]){const r=l[n];for(let s=0;s<o.length;s++)if(At(e,o[s])===r){const c=Vt(e,o[s])??"",d={[e.textKey]:c,[e.valueKey]:r};a.push(d);const m=_l(e,o[s]);Array.isArray(m)&&ta(e,m,l,n+1,a);return}}function Co(e,o,l){if(o===l)return!0;if(o.length!==l.length)return!1;for(let n=0;n<o.length;n++){const a=Vt(e,o[n]),r=Vt(e,l[n]);if(a!==r)return!1;const s=At(e,o[n]),i=At(e,l[n]);if(s!==i)return!1}return!0}let du=class{proxy;constructor(o){this.proxy=o}async load(o,l){const n="cascader";if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);const a=Dt(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(Te(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}};function fu(){const e=t.getCurrentInstance();return new du(e.proxy)}function mu(e,o,l,n,a,r,s=!1){return{props:{...de,...fe,modelValue:{type:[Array,String]},title:{type:String,required:!1},placeholder:{type:String,required:!1,default:""},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},lazy:{type:Boolean,required:!1},lazyLoad:{type:Function,required:!1},valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},convertConfig:{type:Object}},emits:["update:modelValue","change","pathChange","blur","focus","clear"],setup(i,c){const d=Ne(t.computed(()=>i.disabled)),m=ze(t.computed(()=>i.readonly)),{emitEvent:f}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=se.useFoxI18n(o),y=h(i,["placeholder"]),k=t.ref(!1),v=fu(),g=t.ref([]);t.watch([()=>i.source,()=>i.params],async([N,D])=>{N&&(g.value=await v.load(N,D))},{immediate:!0});const u=t.ref([]),p=t.computed(()=>Array.isArray(u.value)?u.value.join(" "):u.value),b=t.ref([]),S=t.ref([]);t.watch([()=>i.modelValue],async([N])=>{if(i.lazy===!0){S.value.length==0&&(u.value=Array.isArray(N)?N:[],b.value=Array.isArray(N)?N:[]);return}if(i.valueType==="item"){let D=N;if(!Co(i,D,S.value)){S.value=D;let L=Rt(i,D);u.value=L.texts,b.value=L.values}}else if(i.valueType==="text"){let D=N,L=[];if(ea(i,g.value,D,0,L),!Co(i,L,S.value)){S.value=L;let F=Rt(i,L);D.value=F.texts,b.value=F.values}}else{let D=[];if(ta(i,g.value,N,0,D),!Co(i,D,S.value)){S.value=D;let L=Rt(i,D);u.value=L.texts,b.value=L.values}}},{immediate:!0});const B="fox-input-item",E=t.computed(()=>({[B]:!0,[`${B}__disabled`]:d.value})),I=$e(t.computed(()=>i.textAlign),"textAlign"),V=t.computed(()=>({textAlign:I.value??"right"})),C=t.ref(!1),w=()=>{d.value===!0||m.value===!0||(C.value=!0)},q=N=>{C.value=N},P=(N,D)=>{let L=D.map(Q=>{if(Q==null)return Q;let ee={...Q};return Reflect.deleteProperty(ee,"text"),ee[i.textKey]=Q.text??"",Reflect.deleteProperty(ee,"value"),ee[i.valueKey]=Q.value??"",ee});S.value=L;let F=Rt(i,L);u.value=F.texts,b.value=F.values,i.valueType==="text"?(f("change",u.value,L),f("update:modelValue",u.value)):i.valueType==="item"?(f("change",L,L),f("update:modelValue",L)):(f("change",b.value,L),f("update:modelValue",b.value))},M=N=>{let D=N.map(L=>{if(L==null)return L;let F={...L};return Reflect.deleteProperty(F,"text"),F[i.textKey]=L.text??"",Reflect.deleteProperty(F,"value"),F[i.valueKey]=L.value??"",F});f("pathChange",D)},A=N=>{k.value=!0,f("focus",b.value,N)},T=N=>{setTimeout(()=>{k.value=!1},0),f("blur",b.value,N)},z=t.computed(()=>({[`${B}__append`]:!0})),$=t.computed(()=>pe(i.unit)>0),x=t.computed(()=>pe(i.unit)>0&&!k.value),H=t.computed(()=>({hidden:!x.value})),j=N=>{S.value=[],u.value=[],b.value=[],f("update:modelValue",[],N),f("change",[],N),f("clear",[])},Y=t.computed(()=>i.clearable&&!d.value&&!m.value),R=t.computed(()=>{let N=b.value&&b.value.length>0;return i.clearable&&N&&k.value}),O=N=>{R.value?j(N):w()},X=t.computed(()=>R.value&&Y.value?n:a),K=t.computed(()=>({action:!0}));return()=>{const N={class:E.value,style:V.value,type:"text",maxlength:i.maxLength,placeholder:y.placeholder.value,readonly:!0,unselectable:"on",value:p.value,onClick:w,onFocus:A,onBlur:T};s&&(N.disabled=!0);const D=[],L=t.h("input",N);D.push(L);const F=[],Q={class:["action-icon"]},ee=t.h(X.value,Q),Z={class:K.value,onClick:O},J=t.h("view",Z,{default:()=>[ee]});if(F.push(J),$.value){const Ve=t.h("view",{class:H.value},[i.unit]);F.push(Ve)}const ne={class:z.value},oe=t.h("view",ne,{default:()=>F});D.push(oe);const re={default:()=>D};if(c.slots.default){const Ve=c.slots.default();re.label=()=>Ve}if(c.slots.prepend){const Ve=c.slots.prepend();re.prepend=()=>Ve}if(c.slots.append){const Ve=c.slots.append();re.append=()=>Ve}let te={};te.visible=C.value,te["onUpdate:visible"]=q,te.modelValue=b.value,te.onChange=P,te.onPathChange=M,te.options=g.value,te.title=i.title,te.lazy=i.lazy,te.lazyLoad=i.lazyLoad,te.valueKey=i.valueKey,te.textKey=i.textKey,te.childrenKey=i.childrenKey,te.convertConfig=i.convertConfig;const ve=t.h(r,te);re.hide=()=>[ve];const he=ye(i,fe,de);return t.h(l,he,re)}}}}const{componentName:pu,create:hu,scope:gu}=U("cascader-item"),oa=hu(mu(pu,gu,we,G.CloseLittle,G.ArrowRight,dn,!1));var Fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ue(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var na={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Fe,function(){var l=1e3,n=6e4,a=36e5,r="millisecond",s="second",i="minute",c="hour",d="day",m="week",f="month",h="quarter",y="year",k="date",v="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|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,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},b=function(M,A,T){var z=String(M);return!z||z.length>=A?M:""+Array(A+1-z.length).join(T)+M},S={s:b,z:function(M){var A=-M.utcOffset(),T=Math.abs(A),z=Math.floor(T/60),$=T%60;return(A<=0?"+":"-")+b(z,2,"0")+":"+b($,2,"0")},m:function M(A,T){if(A.date()<T.date())return-M(T,A);var z=12*(T.year()-A.year())+(T.month()-A.month()),$=A.clone().add(z,f),x=T-$<0,H=A.clone().add(z+(x?-1:1),f);return+(-(z+(T-$)/(x?$-H:H-$))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:f,y,w:m,d,D:k,h:c,m:i,s,ms:r,Q:h}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},B="en",E={};E[B]=p;var I=function(M){return M instanceof q},V=function M(A,T,z){var $;if(!A)return B;if(typeof A=="string"){var x=A.toLowerCase();E[x]&&($=x),T&&(E[x]=T,$=x);var H=A.split("-");if(!$&&H.length>1)return M(H[0])}else{var j=A.name;E[j]=A,$=j}return!z&&$&&(B=$),$||!z&&B},C=function(M,A){if(I(M))return M.clone();var T=typeof A=="object"?A:{};return T.date=M,T.args=arguments,new q(T)},w=S;w.l=V,w.i=I,w.w=function(M,A){return C(M,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var q=function(){function M(T){this.$L=V(T.locale,null,!0),this.parse(T)}var A=M.prototype;return A.parse=function(T){this.$d=function(z){var $=z.date,x=z.utc;if($===null)return new Date(NaN);if(w.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var H=$.match(g);if(H){var j=H[2]-1||0,Y=(H[7]||"0").substring(0,3);return x?new Date(Date.UTC(H[1],j,H[3]||1,H[4]||0,H[5]||0,H[6]||0,Y)):new Date(H[1],j,H[3]||1,H[4]||0,H[5]||0,H[6]||0,Y)}}return new Date($)}(T),this.$x=T.x||{},this.init()},A.init=function(){var T=this.$d;this.$y=T.getFullYear(),this.$M=T.getMonth(),this.$D=T.getDate(),this.$W=T.getDay(),this.$H=T.getHours(),this.$m=T.getMinutes(),this.$s=T.getSeconds(),this.$ms=T.getMilliseconds()},A.$utils=function(){return w},A.isValid=function(){return this.$d.toString()!==v},A.isSame=function(T,z){var $=C(T);return this.startOf(z)<=$&&$<=this.endOf(z)},A.isAfter=function(T,z){return C(T)<this.startOf(z)},A.isBefore=function(T,z){return this.endOf(z)<C(T)},A.$g=function(T,z,$){return w.u(T)?this[z]:this.set($,T)},A.unix=function(){return Math.floor(this.valueOf()/1e3)},A.valueOf=function(){return this.$d.getTime()},A.startOf=function(T,z){var $=this,x=!!w.u(z)||z,H=w.p(T),j=function(L,F){var Q=w.w($.$u?Date.UTC($.$y,F,L):new Date($.$y,F,L),$);return x?Q:Q.endOf(d)},Y=function(L,F){return w.w($.toDate()[L].apply($.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(F)),$)},R=this.$W,O=this.$M,X=this.$D,K="set"+(this.$u?"UTC":"");switch(H){case y:return x?j(1,0):j(31,11);case f:return x?j(1,O):j(0,O+1);case m:var N=this.$locale().weekStart||0,D=(R<N?R+7:R)-N;return j(x?X-D:X+(6-D),O);case d:case k:return Y(K+"Hours",0);case c:return Y(K+"Minutes",1);case i:return Y(K+"Seconds",2);case s:return Y(K+"Milliseconds",3);default:return this.clone()}},A.endOf=function(T){return this.startOf(T,!1)},A.$set=function(T,z){var $,x=w.p(T),H="set"+(this.$u?"UTC":""),j=($={},$[d]=H+"Date",$[k]=H+"Date",$[f]=H+"Month",$[y]=H+"FullYear",$[c]=H+"Hours",$[i]=H+"Minutes",$[s]=H+"Seconds",$[r]=H+"Milliseconds",$)[x],Y=x===d?this.$D+(z-this.$W):z;if(x===f||x===y){var R=this.clone().set(k,1);R.$d[j](Y),R.init(),this.$d=R.set(k,Math.min(this.$D,R.daysInMonth())).$d}else j&&this.$d[j](Y);return this.init(),this},A.set=function(T,z){return this.clone().$set(T,z)},A.get=function(T){return this[w.p(T)]()},A.add=function(T,z){var $,x=this;T=Number(T);var H=w.p(z),j=function(O){var X=C(x);return w.w(X.date(X.date()+Math.round(O*T)),x)};if(H===f)return this.set(f,this.$M+T);if(H===y)return this.set(y,this.$y+T);if(H===d)return j(1);if(H===m)return j(7);var Y=($={},$[i]=n,$[c]=a,$[s]=l,$)[H]||1,R=this.$d.getTime()+T*Y;return w.w(R,this)},A.subtract=function(T,z){return this.add(-1*T,z)},A.format=function(T){var z=this,$=this.$locale();if(!this.isValid())return $.invalidDate||v;var x=T||"YYYY-MM-DDTHH:mm:ssZ",H=w.z(this),j=this.$H,Y=this.$m,R=this.$M,O=$.weekdays,X=$.months,K=function(F,Q,ee,Z){return F&&(F[Q]||F(z,x))||ee[Q].slice(0,Z)},N=function(F){return w.s(j%12||12,F,"0")},D=$.meridiem||function(F,Q,ee){var Z=F<12?"AM":"PM";return ee?Z.toLowerCase():Z},L={YY:String(this.$y).slice(-2),YYYY:this.$y,M:R+1,MM:w.s(R+1,2,"0"),MMM:K($.monthsShort,R,X,3),MMMM:K(X,R),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:K($.weekdaysMin,this.$W,O,2),ddd:K($.weekdaysShort,this.$W,O,3),dddd:O[this.$W],H:String(j),HH:w.s(j,2,"0"),h:N(1),hh:N(2),a:D(j,Y,!0),A:D(j,Y,!1),m:String(Y),mm:w.s(Y,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:H};return x.replace(u,function(F,Q){return Q||L[F]||H.replace(":","")})},A.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},A.diff=function(T,z,$){var x,H=w.p(z),j=C(T),Y=(j.utcOffset()-this.utcOffset())*n,R=this-j,O=w.m(this,j);return O=(x={},x[y]=O/12,x[f]=O,x[h]=O/3,x[m]=(R-Y)/6048e5,x[d]=(R-Y)/864e5,x[c]=R/a,x[i]=R/n,x[s]=R/l,x)[H]||R,$?O:w.a(O)},A.daysInMonth=function(){return this.endOf(f).$D},A.$locale=function(){return E[this.$L]},A.locale=function(T,z){if(!T)return this.$L;var $=this.clone(),x=V(T,z,!0);return x&&($.$L=x),$},A.clone=function(){return w.w(this.$d,this)},A.toDate=function(){return new Date(this.valueOf())},A.toJSON=function(){return this.isValid()?this.toISOString():null},A.toISOString=function(){return this.$d.toISOString()},A.toString=function(){return this.$d.toUTCString()},M}(),P=q.prototype;return C.prototype=P,[["$ms",r],["$s",s],["$m",i],["$H",c],["$W",d],["$M",f],["$y",y],["$D",k]].forEach(function(M){P[M[1]]=function(A){return this.$g(A,M[0],M[1])}}),C.extend=function(M,A){return M.$i||(M(A,q,C),M.$i=!0),C},C.locale=V,C.isDayjs=I,C.unix=function(M){return C(1e3*M)},C.en=E[B],C.Ls=E,C.p={},C})})(na);var yu=na.exports;const qe=Ue(yu);var la={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Fe,function(){var l={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,r=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,i={},c=function(v){return(v=+v)+(v>68?1900:2e3)},d=function(v){return function(g){this[v]=+g}},m=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(g){if(!g||g==="Z")return 0;var u=g.match(/([+-]|\d\d)/g),p=60*u[1]+(+u[2]||0);return p===0?0:u[0]==="+"?-p:p}(v)}],f=function(v){var g=i[v];return g&&(g.indexOf?g:g.s.concat(g.f))},h=function(v,g){var u,p=i.meridiem;if(p){for(var b=1;b<=24;b+=1)if(v.indexOf(p(b,0,g))>-1){u=b>12;break}}else u=v===(g?"pm":"PM");return u},y={A:[s,function(v){this.afternoon=h(v,!1)}],a:[s,function(v){this.afternoon=h(v,!0)}],S:[/\d/,function(v){this.milliseconds=100*+v}],SS:[a,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[r,d("seconds")],ss:[r,d("seconds")],m:[r,d("minutes")],mm:[r,d("minutes")],H:[r,d("hours")],h:[r,d("hours")],HH:[r,d("hours")],hh:[r,d("hours")],D:[r,d("day")],DD:[a,d("day")],Do:[s,function(v){var g=i.ordinal,u=v.match(/\d+/);if(this.day=u[0],g)for(var p=1;p<=31;p+=1)g(p).replace(/\[|\]/g,"")===v&&(this.day=p)}],M:[r,d("month")],MM:[a,d("month")],MMM:[s,function(v){var g=f("months"),u=(f("monthsShort")||g.map(function(p){return p.slice(0,3)})).indexOf(v)+1;if(u<1)throw new Error;this.month=u%12||u}],MMMM:[s,function(v){var g=f("months").indexOf(v)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(v){this.year=c(v)}],YYYY:[/\d{4}/,d("year")],Z:m,ZZ:m};function k(v){var g,u;g=v,u=i&&i.formats;for(var p=(v=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(C,w,q){var P=q&&q.toUpperCase();return w||u[q]||l[q]||u[P].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,A,T){return A||T.slice(1)})})).match(n),b=p.length,S=0;S<b;S+=1){var B=p[S],E=y[B],I=E&&E[0],V=E&&E[1];p[S]=V?{regex:I,parser:V}:B.replace(/^\[|\]$/g,"")}return function(C){for(var w={},q=0,P=0;q<b;q+=1){var M=p[q];if(typeof M=="string")P+=M.length;else{var A=M.regex,T=M.parser,z=C.slice(P),$=A.exec(z)[0];T.call(w,$),C=C.replace($,"")}}return function(x){var H=x.afternoon;if(H!==void 0){var j=x.hours;H?j<12&&(x.hours+=12):j===12&&(x.hours=0),delete x.afternoon}}(w),w}}return function(v,g,u){u.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(c=v.parseTwoDigitYear);var p=g.prototype,b=p.parse;p.parse=function(S){var B=S.date,E=S.utc,I=S.args;this.$u=E;var V=I[1];if(typeof V=="string"){var C=I[2]===!0,w=I[3]===!0,q=C||w,P=I[2];w&&(P=I[2]),i=this.$locale(),!C&&P&&(i=u.Ls[P]),this.$d=function(z,$,x){try{if(["x","X"].indexOf($)>-1)return new Date(($==="X"?1e3:1)*z);var H=k($)(z),j=H.year,Y=H.month,R=H.day,O=H.hours,X=H.minutes,K=H.seconds,N=H.milliseconds,D=H.zone,L=new Date,F=R||(j||Y?1:L.getDate()),Q=j||L.getFullYear(),ee=0;j&&!Y||(ee=Y>0?Y-1:L.getMonth());var Z=O||0,J=X||0,ne=K||0,oe=N||0;return D?new Date(Date.UTC(Q,ee,F,Z,J,ne,oe+60*D.offset*1e3)):x?new Date(Date.UTC(Q,ee,F,Z,J,ne,oe)):new Date(Q,ee,F,Z,J,ne,oe)}catch{return new Date("")}}(B,V,E),this.init(),P&&P!==!0&&(this.$L=this.locale(P).$L),q&&B!=this.format(V)&&(this.$d=new Date("")),i={}}else if(V instanceof Array)for(var M=V.length,A=1;A<=M;A+=1){I[1]=V[A-1];var T=u.apply(this,I);if(T.isValid()){this.$d=T.$d,this.$L=T.$L,this.init();break}A===M&&(this.$d=new Date(""))}else b.call(this,S)}}})})(la);var vu=la.exports;const ku=Ue(vu);var aa={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Fe,function(){return function(l,n,a){var r=n.prototype,s=r.format;a.en.ordinal=function(i){var c=["th","st","nd","rd"],d=i%100;return"["+i+(c[(d-20)%10]||c[d]||c[0])+"]"},r.format=function(i){var c=this,d=this.$locale();if(!this.isValid())return s.bind(this)(i);var m=this.$utils(),f=(i||"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(h){switch(h){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return d.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return d.ordinal(c.week(),"W");case"w":case"ww":return m.s(c.week(),h==="w"?1:2,"0");case"W":case"WW":return m.s(c.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return m.s(String(c.$H===0?24:c.$H),h==="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 h}});return s.bind(this)(f)}}})})(aa);var bu=aa.exports;const Su=Ue(bu);var ra={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Fe,function(){return function(l,n,a){var r=n.prototype,s=function(f){return f&&(f.indexOf?f:f.s)},i=function(f,h,y,k,v){var g=f.name?f:f.$locale(),u=s(g[h]),p=s(g[y]),b=u||p.map(function(B){return B.slice(0,k)});if(!v)return b;var S=g.weekStart;return b.map(function(B,E){return b[(E+(S||0))%7]})},c=function(){return a.Ls[a.locale()]},d=function(f,h){return f.formats[h]||function(y){return y.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(k,v,g){return v||g.slice(1)})}(f.formats[h.toUpperCase()])},m=function(){var f=this;return{months:function(h){return h?h.format("MMMM"):i(f,"months")},monthsShort:function(h){return h?h.format("MMM"):i(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):i(f,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):i(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):i(f,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return d(f.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return m.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(h){return d(f,h)},meridiem:f.meridiem,ordinal:f.ordinal}},a.months=function(){return i(c(),"months")},a.monthsShort=function(){return i(c(),"monthsShort","months",3)},a.weekdays=function(f){return i(c(),"weekdays",null,null,f)},a.weekdaysShort=function(f){return i(c(),"weekdaysShort","weekdays",3,f)},a.weekdaysMin=function(f){return i(c(),"weekdaysMin","weekdays",2,f)}}})})(ra);var Cu=ra.exports;const wu=Ue(Cu);var sa={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Fe,function(){var l="week",n="year";return function(a,r,s){var i=r.prototype;i.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var d=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var m=s(this).startOf(n).add(1,n).date(d),f=s(this).endOf(l);if(m.isBefore(f))return 1}var h=s(this).startOf(n).date(d).startOf(l).subtract(1,"millisecond"),y=this.diff(h,l,!0);return y<0?s(this).startOf("week").week():Math.ceil(y)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(sa);var Nu=sa.exports;const Bu=Ue(Nu);var ia={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Fe,function(){return function(l,n){n.prototype.weekYear=function(){var a=this.month(),r=this.week(),s=this.year();return r===1&&a===11?s+1:a===0&&r>=52?s-1:s}}})})(ia);var Vu=ia.exports;const Au=Ue(Vu);var ca={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Fe,function(){return function(l,n,a){n.prototype.dayOfYear=function(r){var s=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return r==null?s:this.add(r-s,"day")}}})})(ca);var Eu=ca.exports;const Tu=Ue(Eu);var ua={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Fe,function(){return function(l,n){n.prototype.isSameOrAfter=function(a,r){return this.isSame(a,r)||this.isAfter(a,r)}}})})(ua);var $u=ua.exports;const Du=Ue($u);var da={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Fe,function(){return function(l,n){n.prototype.isSameOrBefore=function(a,r){return this.isSame(a,r)||this.isBefore(a,r)}}})})(da);var Iu=da.exports;const qu=Ue(Iu);qe.extend(wu);qe.extend(Su);qe.extend(ku);qe.extend(Bu);qe.extend(Au);qe.extend(Tu);qe.extend(Du);qe.extend(qu);const _={format(e,o){return qe(e).format(o)},parser(e,o){return qe(e,o).toDate()},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,o,l){const a=new Date(e+"/"+o+"/"+l).getDay();return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][a]},getMonthPreDay(e,o){let n=new Date(e+"/"+o+"/01").getDay();return n==0&&(n=7),n},getMonthDays(e,o){return/^0/.test(o)&&(o=o.split("")[1]),[0,31,this.isLeapYear(Number(e))?29:28,31,30,31,30,31,31,30,31,30,31][o]},getNumTwoBit(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,o){o=o||"-";const l=e.getFullYear(),n=this.getNumTwoBit(e.getMonth()+1),a=this.getNumTwoBit(e.getDate());return[l,n,a].join(o)},getDay(e){e=e||0;let o=new Date;const l=e*(1e3*60*60*24);return o=new Date(o.getTime()+l),this.date2Str(o)},compareDate(e,o){let l;typeof e=="string"?l=new Date(e.replace("-","/").replace("-","/")):l=e;let n;return typeof o=="string"?n=new Date(o.replace("-","/").replace("-","/")):n=o,!(l>=n)},isEqual(e,o){if(e===o)return!0;if(!e||!o)return!1;let l;typeof e=="string"?l=new Date(e).getTime():l=e;let n;return typeof o=="string"?n=new Date(o).getTime():n=o,l==n},getMonthWeek:function(e,o,l,n=0){const a=new Date(Number(e),parseInt(o)-1,Number(l));let r=a.getDay(),s=a.getDate(),i=6-r;return n!==0&&(r=r==0?7:r,i=7-r),Math.ceil((s+i)/7)},getYearWeek:function(e,o,l,n=0){const a=new Date(Number(e),parseInt(o)-1,Number(l)),r=new Date(Number(e),0,1),s=Math.round((a.valueOf()-r.valueOf())/864e5);return Math.ceil((s+(r.getDay()+1-1))/7)},getWeekDate:function(e,o,l,n=0){const a=new Date(Number(e),parseInt(o)-1,Number(l)),r=a.getTime();let s=a.getDay();if(n===0){const c=r-s*864e5,d=r+(6-s)*864e5,m=this.date2Str(new Date(c)),f=this.date2Str(new Date(d));return[m,f]}else{s=s==0?7:s;const i=24*60*60*1e3,c=r-(s-1)*i,d=r+(7-s)*i,m=this.date2Str(new Date(c)),f=this.date2Str(new Date(d));return[m,f]}},formatResultDate:function(e){let o=[...e.split("-")];return o[2]=_.getNumTwoBit(Number(o[2])),o[3]=`${o[0]}-${o[1]}-${o[2]}`,o[4]=_.getWhatDay(+o[0],+o[1],+o[2]),o},inScope4Day(e,o,l){const n=new Date(new Date(o).setDate(o.getDate()+l)),a=e.getTime(),r=n.getTime(),s=o.getTime();return r>s?a>=s&&a<=r:a>=r&&a<=s},inScope4Month(e,o,l){const n=new Date(new Date(o).setMonth(o.getMonth()+l)),a=e.getTime(),r=n.getTime(),s=o.getTime();return r>s?a>=s&&a<=r:a>=r&&a<=s}},Qn=new Date().getFullYear(),fn={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",time:"HH:mm:ss",["month-day"]:"MM-DD",datehour:"YYYY-MM-DD HH"},_t=(e,o,l)=>{let n;if(Pe(o)?n=o:typeof o=="string"&&pe(o)>0?n=_.parser(o,l):n=new Date,n.toString()==="Invalid Date")return null;let a=Math.max(n.getTime(),e.minDate.getTime());return a=Math.min(a,e.maxDate.getTime()),new Date(a)},Ho=(e,o,l)=>{Pe(o)||(o=e.minDate);let n=Math.max(o.getTime(),e.minDate.getTime());return n=Math.min(n,e.maxDate.getTime()),_.format(new Date(n),l)};let jo={modelValue:{type:[String,Date]},confirmText:{type:String,default:""},cancelText:{type:String,default:""},type:{type:String,default:"date"},valueFormat:{type:String},visible:{type:Boolean,default:!1},title:{type:String,default:""},isShowChinese:{type:Boolean,default:!0},minuteStep:{type:Number,default:1},minDate:{type:Date,default:()=>new Date(Qn-10,0,1),validator:Pe},maxDate:{type:Date,default:()=>new Date(Qn+10,11,31),validator:Pe},visibleItemCount:{type:[Number,String],default:7},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3},teleportDisable:{type:Boolean}};const{create:Mu,scope:zu}=U("date-picker"),xu=Mu({components:{[Bt.name]:Bt},props:{...jo},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(zu),n={day:l("day"),year:l("year"),month:l("month"),hour:l("hour"),minute:l("minute"),seconds:l("seconds")},a=t.ref(!1);t.watch(()=>e.visible,u=>{a.value=u});function r(u,p){return new Date(u,p,0).getDate()}const s=(u,p)=>{const b=e[`${u}Date`],S=b.getFullYear();let B=1,E=1,I=0,V=0;u==="max"&&(B=12,E=r(p.getFullYear(),p.getMonth()+1),I=23,V=59);const C=V;return p.getFullYear()===S&&(B=b.getMonth()+1,p.getMonth()+1===B&&(E=b.getDate(),p.getDate()===E&&(I=b.getHours(),p.getHours()===I&&(V=b.getMinutes())))),{[`${u}Year`]:S,[`${u}Month`]:B,[`${u}Date`]:E,[`${u}Hour`]:I,[`${u}Minute`]:V,[`${u}Seconds`]:C}},i=t.computed(()=>{if(!h.value)return[];const{maxYear:u,maxDate:p,maxMonth:b,maxHour:S,maxMinute:B,maxSeconds:E}=s("max",h.value),{minYear:I,minDate:V,minMonth:C,minHour:w,minMinute:q,minSeconds:P}=s("min",h.value);let M=[{type:"year",range:[I,u]},{type:"month",range:[C,b]},{type:"day",range:[V,p]},{type:"hour",range:[w,S]},{type:"minute",range:[q,B]},{type:"seconds",range:[P,E]}];switch(e.type){case"date":M=M.slice(0,3);break;case"datetime":M=M.slice(0,5);break;case"time":M=M.slice(3,6);break;case"month-day":M=M.slice(1,3);break;case"datehour":M=M.slice(0,4);break}return M}),c=(u,p,b)=>{if(!(p>u))return null;const S=[];for(;u<=p;)e.isShowChinese?S.push({text:u+n[b],value:u}):S.push({text:`${u}`,value:u}),b==="minute"?u+=e.minuteStep:u++;return S},d=t.computed(()=>{let u=[];return i.value.forEach(p=>{let b=c(p.range[0],p.range[1],p.type);b&&u.push(b)}),u}),m=(u,p)=>u==="year"?p.getFullYear():u==="month"?p.getMonth()+1:u==="day"?p.getDate():u==="hour"?p.getHours():u==="minute"?p.getMinutes():u==="seconds"?p.getSeconds():0,f=t.ref(),h=t.ref(null);t.watchEffect(()=>{let u,p=e.modelValue;if(typeof p=="string"?p.length==0?u=new Date:e.valueFormat?u=_t(e,e.modelValue,e.valueFormat):u=_t(e,p,fn[e.type]):Pe(p)?u=p:u=new Date,!!u&&(!h.value||u.getTime()!==h.value.getTime())){h.value=u;let b=[];i.value.forEach(S=>{let B=m(S.type,u);b.push(B)}),f.value=b}});const y=u=>{if(e.type==="date"){let p=u;h.value=new Date(p[0],p[1]-1,Math.min(p[2],r(p[0],p[1])))}else if(e.type==="datetime"){let p=u;h.value=new Date(p[0],p[1]-1,Math.min(p[2],r(p[0],p[1])),p[3],p[4])}else if(e.type==="datehour"){let p=u;h.value=new Date(p[0],p[1]-1,Math.min(p[2],r(p[0],p[1])),p[3])}else if(e.type==="time"){let p=u,b=h.value??new Date,S=new Date(b.getFullYear(),b.getMonth(),b.getDate(),p[0],p[1],p[2]);h.value=S}else if(e.type==="month-day"){let p=u,b=h.value??new Date,S=new Date(b.getFullYear(),p[0]-1,p[1]);h.value=S}f.value=u};return{columns:d,dateIndexs:f,show:a,onClose:()=>{a.value=!1,o("update:visible",!1),o("update:close",!1)},onConfirm:u=>{y(u),a.value=!1;let p=h.value??new Date;if(e.valueFormat){let b=Ho(e,p,e.valueFormat);o("update:modelValue",b)}else o("update:modelValue",p);o("update:visible",!1),o("confirm",u)},onClear:()=>{o("clear")}}}});function Lu(e,o,l,n,a,r){const s=t.resolveComponent("fox-picker");return t.openBlock(),t.createBlock(s,{visible:e.show,"model-value":e.dateIndexs,source:e.columns,"value-type":"value","confirm-text":e.confirmText,"cancel-text":e.cancelText,title:e.title,onConfirm:e.onConfirm,onClose:e.onClose,onClear:e.onClear,"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"teleport-disable":e.teleportDisable},{top:t.withCtx(()=>[t.renderSlot(e.$slots,"top")]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["visible","model-value","source","confirm-text","cancel-text","title","onConfirm","onClose","onClear","visible-item-count","three-dimensional","swipe-duration","teleport-disable"])}const mn=W(xu,[["render",Lu]]);function Pu(e){let o=e.format;if(!o){let l=e.type??"date";o=fn[l]}return o}function Ru(e,o,l,n,a,r,s=!1){return{props:{...de,...fe,...jo,format:{type:String},placeholder:{type:String,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}},emits:["change","update:modelValue","blur","focus","clear"],setup(i,c){const d=Ne(t.computed(()=>i.disabled)),m=ze(t.computed(()=>i.readonly)),{emitEvent:f}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=se.useFoxI18n(o),y=h(i,["placeholder"]),k=t.ref(!1),g=Oe(i,"modelValue",O=>O==null?null:typeof O=="string"?O.length==0?null:i.valueFormat?_t(i,O,i.valueFormat)??O:_t(i,O,fn[i.type])??O:Pe(O)?O:null),u=t.computed(()=>{if(!g.value)return"";const O=Pu(i);return Ho(i,g.value,O)}),p="fox-input-item",b=t.computed(()=>({[p]:!0,[`${p}__disabled`]:d.value})),S=$e(t.computed(()=>i.textAlign),"textAlign"),B=t.computed(()=>({textAlign:S.value??"right"})),E=t.ref(!1),I=()=>{E.value=!0},V=()=>{E.value=!1};c.expose({showPicker:I,hidePicker:V});const C=O=>{E.value=O},w=O=>{if(g.value=O,i.valueFormat){let X=Ho(i,O,i.valueFormat);f("update:modelValue",X,{}),f("change",X,{})}else f("update:modelValue",O,{}),f("change",O,{})},q=O=>{let K=O.target.value;k.value=!0,f("focus",K,O)},P=O=>{setTimeout(()=>{k.value=!1},0);let K=O.target.value;i.maxLength&&K.length>Number(i.maxLength)&&(K=K.slice(0,Number(i.maxLength))),f("blur",K,O)},M=t.computed(()=>({[`${p}__append`]:!0})),A=t.computed(()=>pe(i.unit)>0),T=t.computed(()=>pe(i.unit)>0&&!k.value),z=t.computed(()=>({hidden:!T.value})),$=O=>{g.value="",f("update:modelValue","",O),f("change","",O),f("clear",""),V()},x=t.computed(()=>i.clearable&&!d.value&&!m.value),H=t.computed(()=>{let O=pe(g.value)>0;return i.clearable&&O&&k.value}),j=O=>{H.value?$(O):I()},Y=t.computed(()=>H.value&&x.value?n:a),R=t.computed(()=>({action:!0}));return()=>{const O={class:b.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:y.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:I,onFocus:q,onBlur:P};s&&(O.disabled=!0);const X=[],K=t.h("input",O);X.push(K);const N=[],D={class:["action-icon"]},L=t.h(Y.value,D),F={class:R.value,onClick:j},Q=t.h("view",F,{default:()=>[L]});if(N.push(Q),A.value){const he=t.h("view",{class:z.value},[i.unit]);N.push(he)}const ee={class:M.value},Z=t.h("view",ee,{default:()=>N});X.push(Z);const J={default:()=>X};if(c.slots.default){const he=c.slots.default();J.label=()=>he}if(c.slots.prepend){const he=c.slots.prepend();J.prepend=()=>he}if(c.slots.append){const he=c.slots.append();J.append=()=>he}const ne=ye(i,jo);ne.valueFormat=null,ne.disabled=!1,ne.readonly=d.value||m.value,ne.visible=E.value,ne["onUpdate:visible"]=C,ne.modelValue=g.value,ne["onUpdate:modelValue"]=w,ne.onClear=$;const oe={};if(c.slots.top){const he=c.slots.top();oe.top=()=>he}if(c.slots.bottom){const he=c.slots.bottom();oe.default=()=>he}const re=t.h(r,ne,oe);J.hide=()=>[re];const te=ye(i,fe,de);return t.h(l,te,J)}}}}const{create:Ou,componentName:Fu,scope:Uu}=U("date-item"),fa=Ou(Ru(Fu,Uu,we,G.CloseLittle,G.Date,mn,!1)),{create:Ku,scope:Hu}=U("calendar-pane"),ju=Ku({props:{type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array],default:""},startDate:{type:String,default:_.getDay(0)},endDate:{type:String,default:_.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:o,slots:l}){const{toLocaleRefs:n,t:a}=se.useFoxI18n(Hu),r=n(e,["title","confirmText","startText","endText","today"]),s=JSON.parse(a("weekdays")),i=t.ref([...s.slice(e.firstDayOfWeek,7),...s.slice(0,e.firstDayOfWeek)]),c=t.ref(null),d=t.ref(null),m=t.ref(null),f=t.ref(null),h=t.ref(0),y=t.computed(()=>u.monthsData.slice(u.defaultRange[0],u.defaultRange[1])),k=t.computed(()=>l.btn),v=t.computed(()=>l["top-info"]),g=t.computed(()=>l["bottom-info"]),u=t.reactive({yearMonthTitle:"",defaultRange:[],currDate:"",propStartDate:"",propEndDate:"",unLoadPrev:!1,touchParams:{startY:0,endY:0,startTime:0,endTime:0,lastY:0,lastTime:0},transformY:0,translateY:0,scrollDistance:0,defaultData:[],chooseData:[],monthsData:[],dayPrefix:"fox-calendar__day",startData:"",endData:"",isRange:e.type==="range",timer:0,currentIndex:0,avgHeight:0,monthsNum:0}),p=N=>N.split("-"),b=N=>_.isEqual(u.currDate[0],N),S=N=>_.isEqual(u.currDate[1],N),B=N=>u.currDate?.length>0?u.currDate?.some(D=>_.isEqual(D,N)):!1,E=(N,D)=>D.curData[0]+"-"+D.curData[1]+"-"+_.getNumTwoBit(+N.day),I=(N,D)=>{const L=E(N,D),{type:F}=e;return N.type=="curr"?_.isEqual(u.currDate,L)||(F=="range"||F=="week")&&(b(L)||S(L))||F=="multiple"&&B(L)?`${u.dayPrefix}--active`:u.propStartDate&&_.compareDate(L,u.propStartDate)||u.propEndDate&&_.compareDate(u.propEndDate,L)?`${u.dayPrefix}--disabled`:(F=="range"||F=="week")&&Array.isArray(u.currDate)&&Object.values(u.currDate).length==2&&_.compareDate(u.currDate[0],L)&&_.compareDate(L,u.currDate[1])?`${u.dayPrefix}--choose`:null:`${u.dayPrefix}--disabled`},V=()=>{const{type:N}=e;if(N=="range"&&u.chooseData.length==2||N!="range"){let D=u.chooseData.slice(0);N=="week"&&(D={weekDate:[w(u.chooseData[0]),w(u.chooseData[1])]}),o("choose",D),e.poppable&&o("update")}},C=(N,D,L=!1)=>{if(I(N,D)!=`${u.dayPrefix}--disabled`){const{type:F}=e;let[Q,ee]=D.curData,Z=[...D.curData];if(Z[2]=_.getNumTwoBit(Number(N.day)),Z[3]=`${Z[0]}-${Z[1]}-${Z[2]}`,Z[4]=_.getWhatDay(+Z[0],+Z[1],+Z[2]),F=="multiple")if(u.currDate?.length>0){let J;u.currDate?.forEach((ne,oe)=>{ne==Z[3]&&(J=oe)}),L?u.chooseData.push([...Z]):J!==void 0?(u.currDate.splice(J,1),u.chooseData.splice(J,1)):(u.currDate.push(Z[3]),u.chooseData.push([...Z]))}else u.currDate=[Z[3]],u.chooseData=[[...Z]];else if(F=="range"){let J=Object.values(u.currDate).length;J==2||J==0?u.currDate=[Z[3]]:_.compareDate(u.currDate[0],Z[3])?Array.isArray(u.currDate)&&u.currDate.push(Z[3]):Array.isArray(u.currDate)&&u.currDate.unshift(Z[3]),u.chooseData.length==2||!u.chooseData.length?u.chooseData=[[...Z]]:_.compareDate(u.chooseData[0][3],Z[3])?u.chooseData=[...u.chooseData,[...Z]]:u.chooseData=[[...Z],...u.chooseData]}else if(F=="week"){let J=_.getWeekDate(Q,ee,N.day,e.firstDayOfWeek);u.propStartDate&&_.compareDate(J[0],u.propStartDate)&&J.splice(0,1,u.propStartDate),u.propEndDate&&_.compareDate(u.propEndDate,J[1])&&J.splice(1,1,u.propEndDate),u.currDate=J,u.chooseData=[_.formatResultDate(J[0]),_.formatResultDate(J[1])]}else u.currDate=Z[3],u.chooseData=[...Z];if(!L){let J=u.chooseData;F=="week"&&(J={weekDate:[w(u.chooseData[0]),w(u.chooseData[1])]}),o("select",J),(e.isAutoBackFill||!e.poppable)&&V()}}},w=N=>{let[D,L,F]=N;return{date:N,monthWeekNum:_.getMonthWeek(D,L,F,e.firstDayOfWeek),yearWeekNum:_.getYearWeek(D,L,F,e.firstDayOfWeek)}},q=N=>{const D=N=="prev"?u.monthsData[0]:u.monthsData[u.monthsData.length-1];let L=parseInt(D.curData[0]),F=parseInt(D.curData[1].toString().replace(/^0/,""));switch(N){case"prev":F==1&&(L-=1),F=F==1?12:--F;break;case"next":F==12&&(L+=1),F=F==12?1:++F;break}return[L+"",_.getNumTwoBit(F),_.getMonthDays(String(L),String(F))+""]},P=(N,D,L)=>{let{year:F,month:Q}=L;return D=="prev"&&N>=7&&(N-=7),Array.from(Array(N),(ee,Z)=>({day:String(Z+1),type:D,year:F,month:Q}))},M=(N,D,L,F)=>{N=N-e.firstDayOfWeek;let{year:Q,month:ee}=L;return D=="prev"&&N>=7&&(N-=7),Array.from(Array(F),(J,ne)=>({day:String(ne+1),type:D,year:Q,month:ee})).slice(F-N)},A=(N,D)=>{const L=_.getMonthPreDay(+N[0],+N[1]);let F=Number(N[1])-1,Q=Number(N[0]);F<=0&&(F=12,Q+=1);const ee=_.getMonthDays(String(N[0]),String(N[1])),Z=_.getMonthDays(Q+"",F+""),J={year:N[0],month:N[1]},ne={curData:N,title:a("monthTitle",{year:J.year,month:J.month}),monthData:[...M(L,"prev",{month:String(F),year:String(Q)},Z),...P(ee,"curr",J)],cssHeight:0,cssScrollHeight:0};ne.cssHeight=39+(ne.monthData.length>35?384:320);let oe=0;u.monthsData.length>0&&(oe=u.monthsData[u.monthsData.length-1].cssScrollHeight+u.monthsData[u.monthsData.length-1].cssHeight),ne.cssScrollHeight=oe,D=="next"?(!u.endData||!_.compareDate(`${u.endData[0]}-${u.endData[1]}-${_.getMonthDays(u.endData[0],u.endData[1])}`,`${N[0]}-${N[1]}-${N[2]}`))&&u.monthsData.push(ne):!u.startData||!_.compareDate(`${N[0]}-${N[1]}-${N[2]}`,`${u.startData[0]}-${u.startData[1]}-01`)?u.monthsData.unshift(ne):u.unLoadPrev=!0},T=()=>{let N=e.startDate?e.startDate:_.getDay(0),D=e.endDate?e.endDate:_.getDay(365);u.propStartDate=N,u.propEndDate=D,u.startData=p(N),u.endData=p(D),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(u.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const L={year:Number(u.startData[0]),month:Number(u.startData[1])},F={year:Number(u.endData[0]),month:Number(u.endData[1])};let Q=F.month-L.month;F.year-L.year>0&&(Q=Q+12*(F.year-L.year)),Q<=0&&(Q=1),A(u.startData,"next");let ee=1;do A(q("next"),"next");while(ee++<Q);if(u.monthsNum=Q,e.type=="range"&&Array.isArray(u.currDate))u.currDate.length>0&&(N&&_.compareDate(u.currDate[0],N)&&u.currDate.splice(0,1,N),D&&_.compareDate(D,u.currDate[1])&&u.currDate.splice(1,1,D),u.defaultData=[...p(u.currDate[0]),...p(u.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(u.currDate)){if(u.currDate.length>0){let re=[],te={};u.currDate.forEach(ve=>{N&&!_.compareDate(ve,N)&&D&&!_.compareDate(D,ve)&&(Object.hasOwnProperty.call(te,ve)||(re.push(ve),te[ve]=ve))}),u.currDate=[...re],u.defaultData=[...p(re[0])]}}else if(e.type=="week"&&Array.isArray(u.currDate)){if(u.currDate.length>0){let[re,te,ve]=p(u.currDate[0]),he=_.getWeekDate(re,te,ve,e.firstDayOfWeek);u.currDate=he,N&&_.compareDate(u.currDate[0],N)&&u.currDate.splice(0,1,N),D&&_.compareDate(D,u.currDate[1])&&u.currDate.splice(1,1,D),u.defaultData=[...p(u.currDate[0]),...p(u.currDate[1])]}}else u.currDate&&(N&&_.compareDate(u.currDate,N)?u.currDate=N:D&&!_.compareDate(u.currDate,D)&&(u.currDate=D),u.defaultData=[...p(u.currDate)]);let Z=0,J=0;u.defaultData.length>0&&u.monthsData.forEach((re,te)=>{re.title==a("monthTitle",{year:u.defaultData[0],month:u.defaultData[1]})&&(Z=te),(e.type=="range"||e.type=="week")&&re.title==a("monthTitle",{year:u.defaultData[3],month:u.defaultData[4]})&&(J=te)}),x(Q,Z),u.currentIndex=Z,u.yearMonthTitle=u.monthsData[u.currentIndex].title,u.defaultData.length>0&&(u.isRange?(C({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0),C({day:u.defaultData[5],type:"curr"},u.monthsData[J],!0)):e.type=="week"?C({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0):e.type=="multiple"?[...u.currDate].forEach(re=>{let te=p(re),ve=u.currentIndex;u.monthsData.forEach((he,ho)=>{he.title==a("monthTitle",{year:te[0],month:te[1]})&&(ve=ho)}),C({day:te[2],type:"curr"},u.monthsData[ve],!0)}):C({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0));let ne=u.monthsData[u.monthsData.length-1],oe=ne.cssHeight+ne.cssScrollHeight;je(()=>{c?.value&&d?.value&&f?.value&&(h.value=c.value.clientHeight,d.value.style.height=`${oe}px`,c.value.scrollTop=u.monthsData[u.currentIndex].cssScrollHeight)}),u.avgHeight=Math.floor(oe/(Q+1))};De({scrollToDate:N=>{_.compareDate(N,u.propStartDate)?N=u.propStartDate:_.compareDate(N,u.propEndDate)||(N=u.propEndDate);let D=p(N);u.monthsData.forEach((L,F)=>{if(L.title==a("monthTitle",{year:D[0],month:D[1]})&&c.value){let Q=u.monthsData[F].cssScrollHeight-c.value.scrollTop;if(e.toDateAnimation){let ee=0,Z=setInterval(()=>{if(ee++,c.value){let J=Q/10;c.value.scrollTop=c.value.scrollTop+J}ee>=10&&(clearInterval(Z),c.value&&(c.value.scrollTop=u.monthsData[F].cssScrollHeight))},40)}else c.value.scrollTop=u.monthsData[F].cssScrollHeight}})},initPosition:()=>{c?.value&&(c.value.scrollTop=u.monthsData[u.currentIndex].cssScrollHeight)}});const x=(N,D)=>{N>=3?D>0&&D<N?u.defaultRange=[D-1,D+3]:D==0?u.defaultRange=[D,D+4]:D==N&&(u.defaultRange=[D-2,D+2]):u.defaultRange=[0,N+2];let L=u.monthsData[u.defaultRange[0]].cssScrollHeight;u.translateY=L},H=(N,D)=>(e.type=="range"||e.type=="week")&&N.type=="curr"&&I(N,D)=="fox-calendar__day--active",j=(N,D)=>H(N,D)&&b(E(N,D)),Y=(N,D)=>u.currDate.length>=2&&S(E(N,D))?H(N,D):!1,R=()=>{if(u.currDate.length>=2)return _.isEqual(u.currDate[0],u.currDate[1])},O=N=>{const D=`${N.year}-${N.month}-${Number(N.day)<10?"0"+N.day:N.day}`;return _.isEqual(D,_.date2Str(new Date))},X=N=>{if(u.monthsData.length<=1)return;const D=N.target.scrollTop;let L=Math.floor(D/u.avgHeight);if(L==0)D>=u.monthsData[L+1].cssScrollHeight&&(L+=1);else if(L>0&&L<u.monthsNum-1)D>=u.monthsData[L+1].cssScrollHeight&&(L+=1),D<u.monthsData[L].cssScrollHeight&&(L-=1);else{const F=Math.round(D+h.value);F<u.monthsData[L].cssScrollHeight+u.monthsData[L].cssHeight&&D>u.monthsData[L-1].cssScrollHeight&&(L-=1),L+1<=u.monthsNum&&F>=u.monthsData[L+1].cssScrollHeight+u.monthsData[L+1].cssHeight&&(L+=1),L>=1&&D<u.monthsData[L-1].cssScrollHeight&&(L-=1)}u.currentIndex!==L&&(u.currentIndex=L,x(u.monthsNum,L)),u.yearMonthTitle=u.monthsData[L].title},K=()=>{u.chooseData.splice(0),u.monthsData.splice(0),T()};return T(),t.watch(()=>e.defaultValue,N=>{N&&e.poppable&&K()}),{weeks:i,compConthsData:y,showTopBtn:k,topInfo:v,bottomInfo:g,rangeTip:R,mothsViewScroll:X,getClass:I,isStartTip:j,isEndTip:Y,chooseDay:C,isCurrDay:O,confirm:V,months:c,...t.toRefs(u),...t.toRefs(e),...r,monthsPanel:d,weeksPanel:m,viewArea:f}}}),Wu={class:"fox-calendar__header"},Yu={key:0,class:"fox-calendar__header-title"},Xu={key:1,class:"fox-calendar__header-slot"},Qu={key:2,class:"fox-calendar__header-subtitle"},Gu={class:"fox-calendar__weekdays",ref:"weeksPanel"},Zu={class:"fox-calendar__panel",ref:"monthsPanel"},Ju={class:"fox-calendar__month-title"},_u={class:"fox-calendar__days"},ed=["onClick"],td={class:"fox-calendar__day-value"},od={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},nd={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},ld={key:2,class:"fox-calendar__day-tips--curr"},ad={key:4,class:"fox-calendar__day-tip"},rd={key:0,class:"fox-calendar__footer"};function sd(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-calendar",{"fox-calendar--nopop":!e.poppable,"fox-calendar--nofooter":e.isAutoBackFill}])},[t.createElementVNode("view",Wu,[e.showTitle?(t.openBlock(),t.createElementBlock("view",Yu,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",Xu,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",Qu,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",Gu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.weeks,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-calendar__weekday",key:i},t.toDisplayString(s),1))),128))],512)]),t.createElementVNode("view",{class:"fox-calendar__content",ref:"months",onScroll:o[0]||(o[0]=(...s)=>e.mothsViewScroll&&e.mothsViewScroll(...s))},[t.createElementVNode("view",Zu,[t.createElementVNode("view",{class:"fox-calendar__body",ref:"viewArea",style:t.normalizeStyle({transform:`translateY(${e.translateY}px)`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.compConthsData,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-calendar__month",key:i},[t.createElementVNode("view",Ju,t.toDisplayString(s.title),1),t.createElementVNode("view",_u,[t.createElementVNode("view",{class:t.normalizeClass(["fox-calendar__days-item",e.type==="range"?"fox-calendar__days-item--range":""])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.monthData,(c,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,class:t.normalizeClass(["fox-calendar__day",e.getClass(c,s)]),onClick:m=>e.chooseDay(c,s)},[t.createElementVNode("view",td,[t.renderSlot(e.$slots,"day",{date:c.type=="curr"?c:""},()=>[t.createTextVNode(t.toDisplayString(c.type=="curr"?c.day:""),1)])]),e.topInfo?(t.openBlock(),t.createElementBlock("view",od,[t.renderSlot(e.$slots,"top-info",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",nd,[t.renderSlot(e.$slots,"bottom-info",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(c)?(t.openBlock(),t.createElementBlock("view",ld,t.toDisplayString(e.today),1)):t.createCommentVNode("",!0),e.isStartTip(c,s)?(t.openBlock(),t.createElementBlock("view",{key:3,class:t.normalizeClass(["fox-calendar__day-tip",{"fox-calendar__day-tips--top":e.rangeTip()}])},t.toDisplayString(e.startText),3)):t.createCommentVNode("",!0),e.isEndTip(c,s)?(t.openBlock(),t.createElementBlock("view",ad,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],10,ed))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",rd,[t.createElementVNode("view",{class:"fox-calendar__confirm",onClick:o[1]||(o[1]=(...s)=>e.confirm&&e.confirm(...s))},t.toDisplayString(e.confirmText),1)])):t.createCommentVNode("",!0)],2)}const Gn=W(ju,[["render",sd]]),id=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),Wo={type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},visible:{type:Boolean,default:!1},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array]},startDate:{type:String,default:_.getDay(0)},endDate:{type:String,default:_.getDay(365)},firstDayOfWeek:{type:Number,default:0,validator:e=>e>=0&&e<=6}},{create:cd}=U("calendar"),ud=cd({components:{[Gn.name]:Gn,[ce.name]:ce},props:{...Wo},emits:["choose","close","update:visible","select"],setup(e,{emit:o,slots:l}){const n=t.computed(()=>l.btn),a=t.computed(()=>l["top-info"]),r=t.computed(()=>l.day),s=t.computed(()=>l["bottom-info"]),i=t.ref(null);De({scrollToDate:v=>{i.value?.scrollToDate(v)},initPosition:()=>{i.value?.initPosition()}});const m=()=>{o("update:visible",!1)},f=()=>{o("close"),o("update:visible",!1)};return{closePopup:()=>{f()},update:m,close:f,select:v=>{o("select",v)},choose:v=>{f(),o("choose",v)},calendarRef:i,showTopBtn:n,topInfo:a,dayInfo:r,bottomInfo:s}}});function dd(e,o,l,n,a,r){const s=t.resolveComponent("fox-calendar-pane"),i=t.resolveComponent("fox-popup");return e.poppable?(t.openBlock(),t.createBlock(i,t.mergeProps({key:0,visible:e.visible,position:"bottom",round:"",closeable:""},e.$attrs,{onClickOverlay:e.closePopup,onClickCloseIcon:e.closePopup,style:{height:"85vh"}}),{default:t.withCtx(()=>[t.createVNode(s,{ref:"calendarRef",type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"show-today":e.showToday,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"first-day-of-week":e.firstDayOfWeek},t.createSlots({_:2},[e.showTopBtn?{name:"btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"day",{date:c.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"top-info",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"bottom-info",{date:c.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","confirm-text","start-text","end-text","show-today","show-title","show-sub-title","to-date-animation","first-day-of-week"])]),_:3},16,["visible","onClickOverlay","onClickCloseIcon"])):(t.openBlock(),t.createBlock(s,{key:1,type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,ref:"calendarRef","confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"show-today":e.showToday,"first-day-of-week":e.firstDayOfWeek},t.createSlots({_:2},[e.showTopBtn?{name:"btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"day",{date:c.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"top-info",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"bottom-info",{date:c.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","confirm-text","start-text","end-text","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","show-title","show-sub-title","to-date-animation","show-today","first-day-of-week"]))}const pn=W(ud,[["render",dd]]),wo=(e,o)=>{let l;return Pe(e)?l=e:typeof e=="string"&&pe(e)>0?l=_.parser(e,o):l=new Date,l},lt=(e,o,l)=>(Pe(o)||(o=new Date),_.format(o,l)),at=e=>{let o=`${e.getFullYear()}`,l=`${e.getMonth()+1}`,n=`${e.getDate()}`,a=_.date2Str(e),r=_.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[o,l,n,a,r]};function fd(e,o,l,n,{CloseIcon:a,MarkIcon:r},s=!1){return{props:{...de,...fe,...Wo,modelValue:{type:[String,Date,Array],default:null},rangeSeparator:{type:String,default:"-"},valueFormat:{type:String,default:"YYYY-MM-DD"},format:{type:String,default:"YYYY-MM-DD"},showWeek:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}},emits:["change","update:modelValue","blur","focus","clear"],setup(i,c){const d=Ne(t.computed(()=>i.disabled)),m=ze(t.computed(()=>i.readonly)),{emitEvent:f}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=se.useFoxI18n(o),y=h(i,["placeholder"]),k=t.ref(!1),v=t.computed(()=>i.type==="range"),g=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),u=()=>{g.startDate!==null&&(g.startDate=null,g.endDate=null,g.startArray=[],g.endArray=[])},p=(K,N="one",D="YYYY-MM-DD")=>{if(id(K)){u();return}if(v.value&&Array.isArray(K)&&K.length==2){let L,F;typeof K[0]=="string"?(L=wo(K[0],D),F=wo(K[1],D)):(L=K[0],F=K[1]);let Q=at(L),ee=at(F);(g.startDate===null||g.startDate.getTime()!==L.getTime()||g.endDate?.getTime()!==F.getTime())&&(g.startDate=L,g.startArray=Q,g.endDate=F,g.endArray=ee)}else{let L;typeof K=="string"?L=wo(K,D):L=K;let F=at(L);(g.startDate===null||g.startDate.getTime()!==L.getTime())&&(g.startDate=L,g.startArray=F)}};p(i.modelValue,i.type,i.valueFormat),t.watch(()=>i.modelValue,K=>{p(K,i.type,i.valueFormat)});const b=t.computed(()=>{if(g.startDate===null)return"";if(v.value){let K=lt(i,g.startDate,i.format),N=lt(i,g.endDate,i.format);return`${K} ${i.rangeSeparator} ${N}`}else{let K=lt(i,g.startDate,i.format);return i.showWeek&&(K=`${K} ${g.startArray[4]}`),K}}),S=t.computed(()=>{if(g.startDate===null)return null;if(v.value){let K=_.date2Str(g.startDate),N=_.date2Str(g.endDate??new Date);return[K,N]}else return _.date2Str(g.startDate)}),B="fox-input-item",E=t.computed(()=>({[B]:!0,[`${B}__disabled`]:d.value})),I=$e(t.computed(()=>i.textAlign),"textAlign"),V=t.computed(()=>({textAlign:I.value??"right"})),C=t.ref(!1),w=()=>{m.value||d.value||(C.value=!0)},q=K=>{C.value=K},P=K=>{if(K){if(v.value&&Array.isArray(K)){let N=K[0],D=ue(N[0]),L=ue(N[1]),F=ue(N[2]),Q=new Date(D,L-1,F),ee=K[1];D=ue(ee[0]),L=ue(ee[1]),F=ue(ee[2]);let Z=new Date(D,L-1,F);if(g.startDate=Q,g.startArray=at(Q),g.endDate=Z,g.endArray=at(Z),i.valueFormat){let J=lt(i,Q,i.valueFormat),ne=lt(i,Z,i.valueFormat);f("update:modelValue",[J,ne],{})}else f("update:modelValue",[Q,Z],{})}else{let N=K,D=ue(N[0]),L=ue(N[1]),F=ue(N[2]),Q=new Date(D,L-1,F);if(g.startDate=Q,g.startArray=at(Q),i.valueFormat){let ee=lt(i,Q,i.valueFormat);f("update:modelValue",ee,{})}else f("update:modelValue",Q,{})}f("change",K,{})}},M=K=>{let D=K.target.value;k.value=!0,f("focus",D,K)},A=K=>{setTimeout(()=>{k.value=!1},0);let D=K.target.value;i.maxLength&&D.length>Number(i.maxLength)&&(D=D.slice(0,Number(i.maxLength))),f("blur",D,K)},T=t.computed(()=>({[`${B}__append`]:!0})),z=t.computed(()=>pe(i.unit)>0),$=t.computed(()=>pe(i.unit)>0&&!k.value),x=t.computed(()=>({hidden:!$.value})),H=K=>{u(),f("update:modelValue",null,K),f("change","",K),f("clear","")},j=t.computed(()=>i.clearable&&!d.value&&!m.value),Y=t.computed(()=>{let K=pe(b.value)>0;return i.clearable&&K&&k.value}),R=K=>{Y.value?H(K):w()},O=t.computed(()=>Y.value&&j.value?a:r),X=t.computed(()=>({action:!0}));return()=>{const K={class:E.value,style:V.value,type:"text",maxlength:i.maxLength,placeholder:y.placeholder.value,readonly:!0,unselectable:"on",value:b.value,onClick:w,onFocus:M,onBlur:A};s&&(K.disabled=!0);const N=[],D=t.h("input",K);N.push(D);const L=[],F={class:["action-icon"]},Q=t.h(O.value,F),ee={class:X.value,onClick:R},Z=t.h("view",ee,{default:()=>[Q]});if(L.push(Z),z.value){const Ve=t.h("view",{class:x.value},[i.unit]);L.push(Ve)}const J={class:T.value},ne=t.h("view",J,{default:()=>L});N.push(ne);const oe={default:()=>N};c.slots.default&&(oe.label=c.slots.default),c.slots.prepend&&(oe.prepend=c.slots.prepend),c.slots.append&&(oe.append=c.slots.append);const re=ye(i,Wo);re.visible=C.value,re["onUpdate:visible"]=q,re["default-value"]=S.value,re.onChoose=P;const te={};if(c.slots.btn){const Ve=c.slots.btn();te.btn=()=>Ve}c.slots.day&&(te.day=c.slots.day),c.slots.topInfo&&(te.topInfo=c.slots.topInfo),c.slots.bottomInfo&&(te.bottomInfo=c.slots.bottomInfo);const ve=t.h(l,re,te);oe.hide=()=>[ve];const he=ye(i,fe,de);return t.h(n,he,oe)}}}}const{componentName:md,create:pd,scope:hd}=U("calendar-item"),ma=pd(fd(md,hd,pn,we,{CloseIcon:G.CloseLittle,MarkIcon:G.Date},!1)),gd={readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},shape:{type:String,default:"round"},label:{type:[String,Number,Boolean],default:""},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number],default:""}};function yd(e,{CheckNormal:o,Checked:l}){return{props:{...gd},setup(n,{emit:a,slots:r}){let s=t.inject("parent",null);const i=t.computed(()=>s.label.value===n.label),c=t.computed(()=>n.disabled?"fox-radio__icon--disable":i.value?"fox-radio__icon":"fox-radio__icon--unchecked"),d=t.computed(()=>s.position),m=()=>{if(i.value){if(r.checkedIcon)return r.checkedIcon();{const v=ie(n.iconSize),g=n.icon??l;return t.h(g,{width:v,height:v,class:c.value})}}else{if(r.icon)return r.icon();{const v=ie(n.iconSize),g=n.icon??o;return t.h(g,{width:v,height:v,class:c.value})}}},f=()=>t.h("view",{class:`${e}__label ${n.disabled?`${e}__label--disabled`:""}`},r.default?.()),h=()=>t.h("view",{class:`${e}__button ${i.value&&`${e}__button--active`} ${n.disabled?`${e}__button--disabled`:""}`},r.default?.()),y=()=>{i.value||n.disabled||n.readonly||s.updateValue(n.label)},k=d.value==="left";return()=>t.h("view",{class:`${e} ${e}--${n.shape} ${k?`${e}--reverse`:""}`,onClick:y},[n.shape=="button"?h():k?[f(),m()]:[m(),f()]])}}}const{componentName:vd,create:kd}=U("radio"),hn=kd(yd(vd,{CheckNormal:G.CheckNormal,Checked:G.CheckChecked})),{componentName:Zn,create:bd}=U("radio-group"),gn=bd({props:{modelValue:{type:[Object],default:""},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"}},emits:["change","update:modelValue"],setup(e,{emit:o,slots:l}){const n=a=>o("update:modelValue",a);return t.provide("parent",{label:t.readonly(t.computed(()=>e.modelValue)),position:e.textPosition,updateValue:n}),t.watch(()=>e.modelValue,a=>o("change",a)),()=>t.h("view",{class:`${Zn} ${Zn}--${e.direction}`},l.default?.())}});function Jn(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(Kt(e,r)===l)return a}else if(n==="item"){if(Re(l,r))return a}else if(vt(e,r)===l)return a}return-1}function Kt(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function vt(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Sd(e,o){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?o[e.disabledKey]:o.disabled??null}function Cd(e,o,l){return typeof e.itemOptions=="function"?e.itemOptions(o,l):e.itemOptions}let wd=class{proxy;constructor(o){this.proxy=o}async load(o,l,n){if(Array.isArray(l))return l;if(typeof l=="function")return await l(n);let a=Dt(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):(Te(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}};function Nd(){const e=t.getCurrentInstance();return new wd(e.proxy)}const _n={shape:{type:String,default:"round"},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number],default:""}},Bd={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"}};function Vd(e,o,l,n,a){return{props:{...de,...fe,..._n,...Bd,source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},modelValue:{type:[Number,String,Boolean,Object],default:""}},emits:["change","update:modelValue"],setup(r,s){const i=ze(t.computed(()=>r.readonly)),c=Ne(t.computed(()=>r.disabled)),{emitEvent:d}=Be({componentName:e,get validate(){return!c.value||!i.value}},r.prop??s.attrs.name),m=Nd(),f=t.ref([]);t.watch([()=>r.source,()=>r.params],async([g,u])=>{g&&(f.value=await m.load("radio",g,u))},{immediate:!0});let h=t.ref(-1);t.watch([()=>r.modelValue,()=>f.value],async([g,u])=>{h.value=Jn(r,u,g,r.valueType)},{deep:!0});const y=t.computed(()=>{if(!r.source)return r.modelValue;if(h.value===-1)return null;const g=f.value[h.value];return vt(r,g)}),k=g=>{let u=null,p=null;if(f.value.length>0){let b=Jn(r,f.value,g,"value");h.value=b,b>=0&&(p=f.value[b],r.valueType==="text"?u=Kt(r,p):r.valueType==="item"?u=p:u=vt(r,p))}else u=g;d("update:modelValue",u),d("change",u,p)},v=()=>{let g=null,u=null;if(f.value.length>0&&h.value!==-1){let p=f.value[h.value];r.valueType==="text"?g=Kt(r,p):r.valueType==="item"?g=p:g=vt(r,p)}d("update:modelValue",g),d("change",g,u)};if(De({clear(){h.value!==-1&&(h.value=-1,v())}}),r.source){const g=()=>{const u=[],p=ye(r,_n);return f.value.forEach((b,S)=>{const B=Kt(r,b),E=vt(r,b),I=Sd(r,b);let V={...p,label:E,disabled:I};const C=Cd(r,b,S);V={...V,...C},c.value&&(V.disabled=!0),i.value&&(V.readonly=!0);const w={};s.slots.icon&&(w.icon=s.slots.icon),s.slots.checkedIcon&&(w.checkedIcon=s.slots.checkedIcon),w.default=()=>B;let q=t.h(a,V,w);u.push(q)}),u};return()=>{const u=g(),p={class:`${e}`,direction:r.direction,textPosition:r.textPosition,modelValue:y,["onUpdate:modelValue"]:k},b=t.h(n,p,{default:()=>u}),S={default:()=>b};if(s.slots.default){const I=s.slots.default();S.label=()=>I}if(s.slots.prepend){const I=s.slots.prepend();S.prepend=()=>I}if(s.slots.append){const I=s.slots.append();S.append=()=>I}const B=ye(r,fe,de);return t.h(l,B,S)}}else return()=>{const g=s.slots.options?.()??[];return t.h(n,{class:`${e}`,direction:r.direction,textPosition:r.textPosition,modelValue:y,["update:modelValue"]:k},{default:()=>g})}}}}const{componentName:Ad,create:Ed,scope:Td}=U("radio-item"),pa=Ed(Vd(Ad,Td,we,gn,hn)),$d=(e,{CheckNormal:o,Checked:l,Indeterminate:n})=>({props:{modelValue:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},textPosition:{type:String,default:"right"},icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},label:{type:[String,Number,Boolean],default:""},indeterminate:{type:Boolean,default:!1},shape:{type:String,default:"round"}},emits:["change","update:modelValue"],setup(a,{emit:r,slots:s}){const i=t.inject("parent",null),c=t.reactive({partialSelect:a.indeterminate});t.watch(()=>a.indeterminate,b=>{c.partialSelect=b});const d=t.computed(()=>!!i),m=t.computed(()=>d.value?i.value.value.includes(a.label):!!a.modelValue),f=t.computed(()=>d.value?i.position:a.textPosition),h=t.computed(()=>a.disabled?"fox-checkbox__icon--disable":c.partialSelect?"fox-checkbox__icon--indeterminate":m.value?"fox-checkbox__icon":"fox-checkbox__icon--unchecked");let y="";const k=(b,S)=>{y="click",r("update:modelValue",b),r("change",b,S)};t.watch(()=>a.modelValue,b=>{y=="click"?y="":r("change",b)});const v=()=>{if(c.partialSelect){if(s.indeterminateIcon)return s.indeterminateIcon();{const b=ie(a.iconSize),S=a.indeterminateIcon??n;return t.h(S,{width:b,height:b,class:h.value})}}else if(m.value){if(s.checkedIcon)return s.checkedIcon();{const b=ie(a.iconSize),S=a.checkedIcon??l;return t.h(S,{width:b,height:b,class:h.value})}}else{if(s.icon)return s.icon();{const b=ie(a.iconSize),S=a.icon??o;return t.h(S,{width:b,height:b,class:h.value})}}},g=()=>t.h("view",{class:`${e}__label ${a.disabled?`${e}__label--disabled`:""}`},s.default?.()),u=()=>t.h("view",{class:`${e}__button ${m.value&&`${e}__button--active`} ${a.disabled?`${e}__button--disabled`:""}`},s.default?.()),p=b=>{if(!(a.disabled||a.readonly)){if(m.value&&c.partialSelect){c.partialSelect=!1,k(m.value,s.default?.()[0].children);return}if(k(!m.value,s.default?.()[0].children),d.value){const S=i.value.value,B=i.max.value,{label:E}=a,I=S.indexOf(E);I>-1?S.splice(I,1):I<=-1&&(S.length<B||!B)&&S.push(E),i.updateValue(S)}}};return t.onMounted(()=>{d.value&&i.link(t.getCurrentInstance())}),t.onBeforeUnmount(()=>{d.value&&i.unlink(t.getCurrentInstance())}),()=>t.h("view",{class:`${e} ${e}--${a.shape} ${f.value==="left"?`${e}--reverse`:""}`,onClick:p},[a.shape=="button"?u():[v(),g()]])}}),{componentName:Dd,create:Id}=U("checkbox"),yn=Id($d(Dd,{CheckNormal:G.CheckNormal,Checked:G.Checked,Indeterminate:G.CheckDisabled})),{create:qd,componentName:el}=U("checkbox-group"),vn=qd({props:{modelValue:{type:Array,default:()=>[]},textPosition:{type:String,default:"right"},direction:{type:String,default:"vertical"},max:{type:Number,default:0}},emits:["change","update:modelValue"],setup(e,{slots:o,emit:l}){const n=t.reactive({children:[]}),a=d=>{d.proxy&&n.children.push(d.proxy)},r=d=>{d.proxy&&(n.children=n.children.filter(m=>m!==d.proxy))},s=d=>{l("update:modelValue",d),l("change",d)},i=d=>{const m=[];d&&n.children.forEach(f=>{f?.disabled||m.push(f?.label)}),l("update:modelValue",m)},c=()=>{const d=n.children.filter(m=>m?.disabled?!1:!e.modelValue.includes(m.label)).map(m=>m.label);l("update:modelValue",d)};return t.provide("parent",{value:t.computed(()=>Array.isArray(e.modelValue)?e.modelValue:[]),position:e.textPosition,max:t.computed(()=>e.max),updateValue:s,link:a,unlink:r}),t.watch(()=>e.modelValue,d=>{l("change",d)}),De({toggleAll:i,toggleReverse:c}),()=>t.h("view",{class:`${el} ${el}--${e.direction}`},o.default?.())}});function tl(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(Yo(e,r)===l)return a}else if(n==="item"){if(Re(l,r))return a}else if(Ht(e,r)===l)return a}return-1}function Yo(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function Ht(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Md(e,o){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?o[e.disabledKey]:o.disabled??null}function zd(e,o,l){return typeof e.itemOptions=="function"?e.itemOptions(o,l):e.itemOptions}class xd{proxy;constructor(o){this.proxy=o}async load(o,l,n){if(Array.isArray(l))return l;if(typeof l=="function")return await l(n);let a=Dt(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):(Te(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}}function Ld(){const e=t.getCurrentInstance();return new xd(e.proxy)}const Pd={max:{type:Number,default:0},textPosition:{type:String,default:"right"},direction:{type:String,default:"vertical"}},ol={icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},shape:{type:String,default:"round"}};function Rd(e,o,l,n,a){return{props:{...Pd,...ol,...de,...fe,source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},modelValue:{type:[Array,String],default:[]}},emits:["change","update:modelValue"],setup(r,s){const i=Ne(t.computed(()=>r.disabled)),c=Ne(t.computed(()=>r.readonly)),{emitEvent:d}=Be({componentName:e,get validate(){return!i.value||!c.value}},r.prop??s.attrs.name),m=Ld(),f=t.ref([]);t.watch([()=>r.source,()=>r.params],async([g,u])=>{g&&(f.value=await m.load("checkbox",g,u))},{immediate:!0});const h=t.ref([]);t.watch([()=>r.modelValue,()=>f.value],async([g,u])=>{const p=[];Array.isArray(g)&&g.forEach(b=>{let S=tl(r,u,b,r.valueType);S!==-1&&p.push(S)}),!Re(p,h.value)&&(h.value=p)},{deep:!0});const y=t.computed(()=>{if(!r.source)return r.modelValue;let g=[];return h.value.forEach(u=>{let p=f.value[u];g.push(Ht(r,p))}),g}),k=g=>{let u=[],p=[];if(f.value.length>0){const b=[];Array.isArray(g)&&g.forEach(S=>{let B=tl(r,f.value,S,"value");B!==-1&&b.push(B);const E=f.value[B];p.push(E),r.valueType==="text"?u.push(Yo(r,E)):r.valueType==="item"?u.push(E):u.push(Ht(r,E))}),h.value=b}else u=g;d("update:modelValue",u),d("change",u,p)},v=t.ref();if(De({toggleAll:g=>{v.value.toggleAll(g)},toggleReverse:()=>{v.value.toggleReverse()}}),r.source){const g=()=>{const u=[],p=ye(r,ol);return f.value.forEach((b,S)=>{const B=Yo(r,b),E=Ht(r,b),I=Md(r,b);let V={...p,label:E,disabled:I};const C=zd(r,b,S);V={...V,...C},i.value&&(V.disabled=!0),c.value&&(V.readonly=!0);const w={};s.slots.icon&&(w.icon=s.slots.icon),s.slots.checkedIcon&&(w.checkedIcon=s.slots.checkedIcon),s.slots.indeterminateIcon&&(w.indeterminateIcon=s.slots.indeterminateIcon),w.default=()=>B;let q=t.h(a,V,w);u.push(q)}),u};return()=>{const u=g(),p={class:`${e}`,ref:v,direction:r.direction,max:r.max,textPosition:r.textPosition,modelValue:y.value,["onUpdate:modelValue"]:k},b=t.h(n,p,{default:()=>u}),S={default:()=>b};if(s.slots.default){const I=s.slots.default();S.label=()=>I}if(s.slots.prepend){const I=s.slots.prepend();S.prepend=()=>I}if(s.slots.append){const I=s.slots.append();S.append=()=>I}const B=ye(r,fe,de);return t.h(l,B,S)}}else return()=>{const g=s.slots.options?.()??[];return t.h("view",{class:`${e}`,ref:v,direction:r.direction,max:r.max,textPosition:r.textPosition,modelValue:y,["onUpdate:modelValue"]:k},{default:()=>g})}}}}const{componentName:Od,create:Fd,scope:Ud}=U("checkbox-item"),ha=Fd(Rd(Od,Ud,we,vn,yn)),Xo={modelValue:{type:[String,Number,Boolean],default:!1},disable:{type:Boolean,default:!1},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[String,Number,Boolean],default:!0},inactiveValue:{type:[String,Number,Boolean],default:!1},loading:{type:Boolean,default:!1},name:{type:String,default:"loading1"},size:{type:[String,Number],default:"12px"},color:{type:String,default:""}},{componentName:Kd,create:Hd}=U("switch"),jd=Hd({components:{Loading1:G.Loading1},props:{...Xo},emits:["change","update:modelValue","update:loading"],setup(e,{emit:o}){const l=t.computed(()=>e.modelValue===e.activeValue),n=t.computed(()=>{const i=Kd;return{[i]:!0,[l.value?"fox-switch-open":"fox-switch-close"]:!0,[`${i}-disable`]:e.disable,[`${i}-base`]:!0}}),a=t.computed(()=>({backgroundColor:l.value?e.activeColor:e.inactiveColor}));let r="";const s=i=>{if(e.disable||e.loading)return;r="click";const c=l.value?e.inactiveValue:e.activeValue;o("update:modelValue",c),o("change",c,i)};return t.watch(()=>e.modelValue,i=>{r=="click"?r="":o("change",i)}),{classes:n,style:a,isActive:l,onClick:s}}}),Wd={class:"fox-switch-button"};function Yd(e,o,l,n,a,r){const s=t.resolveComponent("Loading1");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=(...i)=>e.onClick&&e.onClick(...i)),style:t.normalizeStyle(e.style)},[t.createElementVNode("view",Wd,[e.loading?t.renderSlot(e.$slots,"icon",{key:0},()=>[t.createVNode(s,{name:"loading",color:e.activeColor},null,8,["color"])]):t.createCommentVNode("",!0),e.activeText?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.withDirectives(t.createElementVNode("view",{class:"fox-switch-label open"},t.toDisplayString(e.activeText),513),[[t.vShow,e.isActive]]),t.withDirectives(t.createElementVNode("view",{class:"fox-switch-label close"},t.toDisplayString(e.inactiveText),513),[[t.vShow,!e.isActive]])],64)):t.createCommentVNode("",!0)])],6)}const kn=W(jd,[["render",Yd]]);function Xd(e,o,l,n){return{props:{...de,...fe,...Xo},emits:["change","update:modelValue"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=ze(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),d=e,m=Oe(a,"modelValue"),f=h=>{m.value=h,c("update:modelValue",h,{}),c("change",h,{})};return()=>{const y={...ye(a,Xo),disabled:s.value,readonly:i.value,value:m.value,["onUpdate:modelValue"]:f},k=[],v=t.h(n,y);k.push(v);const g={default:()=>k};if(r.slots.default){const b=r.slots.default();g.label=()=>b}const u=ye(a,fe,de);return u["content-class"]=d,t.h(l,u,g)}}}}const{componentName:Qd,create:Gd,scope:Zd}=U("switch-item"),ga=Gd(Xd(Qd,Zd,we,kn));function Jd(e,o,l,n){return{props:{...de,...fe,placeholder:{type:String,default:""},textAlign:{type:String},modelValue:{type:[String],required:!1},icon:{type:[Object],required:!1},iconSize:{type:[String],required:!1,default:""}},emits:["click","focus","blur"],setup(a,r){const{emitEvent:s}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??r.attrs.name),{toLocaleRefs:i}=se.useFoxI18n(o),c=i(a,["placeholder"]),d=Ne(t.computed(()=>a.disabled)),m=ze(t.computed(()=>a.readonly)),f=Oe(a,"modelValue"),h=t.computed(()=>({[`${e}`]:!0,[`${e}__disabled`]:d.value,[`${e}__placeholder`]:!d.value&&Se(f.value)})),y=$e(t.computed(()=>a.textAlign),"textAlign"),k=t.computed(()=>({textAlign:y.value??"right"})),v=t.computed(()=>Se(f.value)?c.placeholder.value:f.value),g=()=>{s("focus",f.value)},u=()=>{s("blur",f.value)},p=t.computed(()=>({[`${e}__append`]:!0})),b=t.computed(()=>pe(a.unit)>0),S=I=>{d.value==!0||m.value==!0||s("click")},B=t.computed(()=>a.icon??l),E=t.computed(()=>({action:!0}));return()=>{const I={tabIndex:0,class:h.value,style:k.value,innerHTML:v.value,onFocus:g,onBlur:u,onClick:S},V=[],C=t.h("view",I);V.push(C);const w=[],q=ie(a.iconSize);let P=r.slots.icon;if(!P){const j={width:q,height:q,class:["action-icon"]};P=t.h(B.value,j)}const M={class:E.value,onClick:S},A=t.h("view",M,{default:()=>[P]});if(w.push(A),b.value){const j=t.h("view",{},[a.unit]);w.push(j)}const T={class:p.value},z=t.h("view",T,{default:()=>w});V.push(z);const $={default:()=>V};if(r.slots.default){const j=r.slots.default();$.label=()=>j}if(r.slots.prepend){const j=r.slots.prepend();$.prepend=()=>j}if(r.slots.append){const j=r.slots.append();$.append=()=>j}const x=ye(a,fe,de);return t.h(n,x,$)}}}}const{componentName:_d,create:ef,scope:tf}=U("link-item"),ya=ef(Jd(_d,tf,G.ArrowRight,we));function of(e,o){return{props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:{}}},setup(l,{slots:n}){return ss(l.name,l.config),()=>typeof n.default=="function"?n.default():null}}}const{componentName:fw,create:nf,scope:mw}=U("domain-provider"),va=nf(of()),{componentName:lf,create:af}=U("button"),rf=af({components:{Loading:G.Loading},props:{color:String,shape:{type:String,default:"round"},plain:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"default"},size:{type:String,default:"normal"},block:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:o,slots:l}){const{type:n,size:a,shape:r,disabled:s,loading:i,color:c,plain:d,block:m}=t.toRefs(e),f=k=>{!i.value&&!s.value&&o("click",k)},h=t.computed(()=>{const k=lf;return{[k]:!0,[`${k}--${n.value}`]:n.value,[`${k}--${a.value}`]:a.value,[`${k}--${r.value}`]:r.value,[`${k}--plain`]:d.value,[`${k}--block`]:m.value,[`${k}--disabled`]:s.value,[`${k}--loading`]:i.value}}),y=t.computed(()=>{const k={};return c?.value&&(d.value?(k.color=c.value,k.background="#fff",c.value?.includes("gradient")||(k.borderColor=c.value)):(k.color="#fff",k.background=c.value)),k});return{handleClick:f,classes:h,getStyle:y}}}),sf={class:"fox-button__wrap"};function cf(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle),onClick:o[0]||(o[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.createElementVNode("view",sf,[e.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-icon-loading"})):t.createCommentVNode("",!0),e.$slots.icon&&!e.loading?t.renderSlot(e.$slots,"icon",{key:1}):t.createCommentVNode("",!0),e.$slots.default?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass({"fox-button__text":e.$slots.icon||e.loading})},[t.renderSlot(e.$slots,"default")],2)):t.createCommentVNode("",!0)])],6)}const Me=W(rf,[["render",cf]]),{componentName:uf,create:df}=U("cell"),ff=df({components:{Right:G.Right},props:{title:{type:String,default:""},subTitle:{type:String,default:""},desc:{type:String,default:""},descTextAlign:{type:String,default:"right"},isLink:{type:Boolean,default:!1},roundRadius:{type:[String,Number],default:""},url:{type:String,default:""},center:{type:Boolean,default:!1},size:{type:String,default:""}},emits:["click"],setup(e,{emit:o}){const l=t.computed(()=>{const r=uf;return{[r]:!0,[`${r}--clickable`]:e.isLink,[`${r}--center`]:e.center,[`${r}--large`]:e.size=="large"}}),n=t.computed(()=>({borderRadius:le(e.roundRadius)}));return{handleClick:r=>{o("click",r)},classes:l,baseStyle:n}}}),mf={key:0,class:"fox-cell__icon"},pf={key:1,class:"fox-cell__title"},hf={class:"title"},gf={class:"fox-cell__title-desc"};function yf(e,o,l,n,a,r){const s=t.resolveComponent("Right");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.baseStyle),onClick:o[0]||(o[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.renderSlot(e.$slots,"default",{},()=>[e.$slots.icon?(t.openBlock(),t.createElementBlock("view",mf,[t.renderSlot(e.$slots,"icon")])):t.createCommentVNode("",!0),e.title||e.subTitle||e.$slots.title?(t.openBlock(),t.createElementBlock("view",pf,[e.subTitle?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.renderSlot(e.$slots,"title",{},()=>[t.createElementVNode("view",hf,t.toDisplayString(e.title),1)]),t.createElementVNode("view",gf,t.toDisplayString(e.subTitle),1)],64)):t.renderSlot(e.$slots,"title",{key:1},()=>[t.createTextVNode(t.toDisplayString(e.title),1)])])):t.createCommentVNode("",!0),e.desc?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass(["fox-cell__value",{"fox-cell__value--alone":!e.title&&!e.subTitle&&!e.$slots.title}]),style:t.normalizeStyle({"text-align":e.descTextAlign})},t.toDisplayString(e.desc),7)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"link",{},()=>[e.isLink?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-cell__link"})):t.createCommentVNode("",!0)])])],6)}const ka=W(ff,[["render",yf]]),{componentName:vf,create:kf}=U("cell-group"),bf=kf({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:t.computed(()=>({[vf]:!0}))}}}),Sf={key:1,class:"fox-cell-group__title"},Cf={key:3,class:"fox-cell-group__desc"},wf={class:"fox-cell-group__wrap"};function Nf(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.$slots.title?t.renderSlot(e.$slots,"title",{key:0}):e.title?(t.openBlock(),t.createElementBlock("view",Sf,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.$slots.desc?t.renderSlot(e.$slots,"desc",{key:2}):e.desc?(t.openBlock(),t.createElementBlock("view",Cf,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.createElementVNode("view",wf,[t.renderSlot(e.$slots,"default")])],2)}const ba=W(bf,[["render",Nf]]),{componentName:Bf,create:Vf}=U("image"),Af=Vf({props:{src:String,fit:{type:String,default:"fill"},position:{type:String,default:"center"},alt:{type:String,default:""},width:{type:String,default:"center"},height:{type:String,default:""},round:{type:Boolean,default:!1},radius:[String,Number],showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},lazyLoad:{type:Boolean,default:!1}},components:{Image:G.Image,ImageError:G.ImageError},emits:["click","load","error"],setup(e,{emit:o}){const l=t.reactive({loading:!0,isError:!1,slotLoding:t.useSlots().loading,slotError:t.useSlots().error}),n=t.computed(()=>{const y=Bf;return{[y]:!0,[`${y}-round`]:e.round}}),a=t.ref(null),r=t.ref(!1),s=t.ref(null),i=()=>{const y={threshold:[0],rootMargin:"0px"};a.value=new IntersectionObserver(k=>{k.forEach(v=>{v.isIntersecting&&(r.value=!0,a.value.disconnect())})},y),s.value&&a.value.observe(s.value)};t.onMounted(()=>{e.lazyLoad&&i()}),t.onBeforeUnmount(()=>{a.value&&a.value.disconnect()});const c=t.computed(()=>{let y={};return e.width&&(y.width=le(e.width)),e.height&&(y.height=le(e.height)),e.radius!==void 0&&e.radius!==null&&(y.overflow="hidden",y.borderRadius=le(e.radius)),y}),d=t.computed(()=>({objectFit:e.fit,objectPosition:e.position}));t.watch(()=>e.src,y=>{l.isError=!1,l.loading=!0});const m=()=>{l.loading=!1,o("load")},f=()=>{l.isError=!0,l.loading=!1,o("error")},h=y=>{o("click",y)};return{...t.toRefs(l),imageClick:h,classes:n,styles:d,stylebox:c,error:f,load:m,show:r,imgRef:s}}}),Ef=["src","date-src","alt"],Tf={key:0,class:"fox-img-loading"},$f={key:1,class:"fox-img-error"};function Df(e,o,l,n,a,r){const s=t.resolveComponent("Image"),i=t.resolveComponent("ImageError");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.stylebox),onClick:o[2]||(o[2]=(...c)=>e.imageClick&&e.imageClick(...c))},[t.createElementVNode("img",{ref:"imgRef",class:"fox-img",src:e.lazyLoad?e.show?e.src:void 0:e.src,"date-src":e.lazyLoad?e.show?void 0:e.src:void 0,alt:e.alt,onLoad:o[0]||(o[0]=(...c)=>e.load&&e.load(...c)),onError:o[1]||(o[1]=(...c)=>e.error&&e.error(...c)),style:t.normalizeStyle(e.styles)},null,44,Ef),e.loading?(t.openBlock(),t.createElementBlock("div",Tf,[e.slotLoding?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,width:"16px",height:"20px",name:"image"})),t.renderSlot(e.$slots,"loading")])):t.createCommentVNode("",!0),e.isError&&!e.loading?(t.openBlock(),t.createElementBlock("div",$f,[e.slotError?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(i,{key:0,width:"16px",height:"20px",name:"imageError"})),t.renderSlot(e.$slots,"error")])):t.createCommentVNode("",!0)],6)}const Sa=W(Af,[["render",Df]]),{create:If}=U("layout"),Ca=If({}),{componentName:qf,create:Mf}=U("col"),zf=Mf({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const o=qf,l=t.inject("gutter"),n=t.computed(()=>({[o]:!0,[`${o}-gutter`]:l,[`fox-col-${e.span}`]:!0,[`fox-col-offset-${e.offset}`]:!0})),a=t.computed(()=>({paddingLeft:l/2+"px",paddingRight:l/2+"px"}));return{classes:n,style:a}}});function xf(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const wa=W(zf,[["render",xf]]),{componentName:Lf,create:Pf}=U("row"),Rf=Pf({props:{type:{type:String,default:""},gutter:{type:[String,Number],default:""},justify:{type:String,default:"start"},align:{type:String,default:"flex-start"},flexWrap:{type:String,default:"nowrap"}},setup(e){const o=Lf;t.provide("gutter",e.gutter);const l=(a,r)=>a?r?`fox-row-${a}-${r}`:"":`fox-row-${r}`;return{classes:t.computed(()=>e.type==="flex"?`
|
|
6
|
+
${l("",e.type)}
|
|
7
|
+
${l("justify",e.justify)}
|
|
8
|
+
${l("align",e.align)}
|
|
9
|
+
${l("flex",e.flexWrap)}
|
|
10
|
+
${o}
|
|
21
11
|
`:`
|
|
22
|
-
${
|
|
23
|
-
`)}}});function Md(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)}const Zl=H(zd,[["render",Md]]),{componentName:Oo,create:Pd}=O("sticky"),Jl=Pd({props:{position:{type:String,default:"top"},top:{type:[Number,String],default:0},bottom:{type:[Number,String],default:0},container:{type:Object},zIndex:{type:[Number,String],default:2e3}},emits:["change","scroll"],setup(e,{emit:n,slots:o}){const l=t.ref(),r=t.reactive({width:0,height:0,fixed:!1,transform:0}),i=t.computed(()=>{const{fixed:S,width:b,height:h}=r;if(S)return{width:`${b}px`,height:`${h}px`}}),a=t.computed(()=>{if(!r.fixed)return;const S={width:`${r.width}px`,height:`${r.height}px`,[e.position]:`${s.value}px`,zIndex:+e.zIndex};return r.transform&&(S.transform=`translate3d(0, ${r.transform}px, 0)`),S}),s=t.computed(()=>e.position==="top"?e.top:e.bottom),c=S=>{const b=t.unref(S);if(!b)return!1;const h=window.getComputedStyle(b),v=h.display==="none",u=b.offsetParent===null&&h.position!=="fixed";return v||u},m=()=>!(!l.value||c(l)),f=S=>Math.max(0,"scrollTop"in S?S.scrollTop:S.pageYOffset),d=()=>t.h("view",{style:a.value,class:r.fixed?`${Oo} fox-sticky--fixed`:Oo},o.default?.()),g=()=>{if(!m())return;const{container:S,position:b}=e,h=f(window),v=be(l);if((v.width||v.height)&&(r.width=v.width,r.height=v.height),b==="top")if(S){const u=be(S),p=u.bottom-+s.value-r.height;r.fixed=+s.value>v.top&&u.bottom>0,r.transform=p<0?p:0}else r.fixed=s.value>v.top;else if(b==="bottom"){const u=document.documentElement.clientHeight;if(S){const p=be(S),C=u-p.top-+s.value-r.height;r.fixed=u-+s.value<v.bottom&&u>p.top,r.transform=C<0?-C:0}else r.fixed=u-+s.value<v.bottom}n("scroll",{top:h,fixed:r.fixed})};return t.watch(()=>r.fixed,S=>{n("change",S)}),t.onMounted(()=>{window.addEventListener("scroll",g),g()}),t.onUnmounted(()=>{window.removeEventListener("scroll",g)}),()=>t.h("view",{style:i.value,ref:l},[d()])}}),{componentName:xd,create:Rd}=O("divider"),Ld=Rd({props:{contentPosition:{type:String,default:"center"},dashed:{type:Boolean,default:!1},hairline:{type:Boolean,default:!0},direction:{type:String,default:"horizontal"}},components:{},setup(e,n){return{classes:t.computed(()=>{const l=xd;let r={[l]:!0},i={};return e.direction==="horizontal"?i={...r,[`${l}-center`]:n.slots.default,[`${l}-left`]:e.contentPosition==="left",[`${l}-right`]:e.contentPosition==="right",[`${l}-dashed`]:e.dashed,[`${l}-hairline`]:e.hairline}:i={...r,[`${l}-vertical`]:e.direction==="vertical"},i})}}});function Od(e,n,o,l,r,i){return e.direction==="horizontal"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(e.classes)},null,2))}const _l=H(Ld,[["render",Od]]);function Fd(e,n){const o=[],l=r=>{Array.isArray(r)&&r.forEach(i=>{if(t.isVNode(i)){if(n){if(i.type&&i.type.name===n){o.push(i);return}}else o.push(i);i.component?.subTree&&l(i.component.subTree.children),i.children&&l(i.children)}})};return l(e),o}function Ud(e,n,o){const l=Fd(e.subTree.children,o);n.sort((r,i)=>l.indexOf(r.vnode)-l.indexOf(i.vnode))}function Kd(e,n){const o=t.shallowReactive([]),l=t.getCurrentInstance(),r=s=>{s.proxy&&(o.push(t.markRaw(s)),Ud(l,o,n))},i=s=>{o.splice(o.indexOf(t.markRaw(s)),1)},a=Object.assign;return s=>(t.provide(e,a({add:r,remove:i,internalChildren:o},s)),{internalChildren:o})}const{componentName:Fo}=O("grid"),ea=Symbol("grid"),Hd={columnNum:{type:[Number,String],default:4},iconSize:{type:[Number,String],default:28},iconColor:{type:String},border:{type:Boolean,default:!0},gutter:{type:[Number,String],default:0},center:{type:Boolean,default:!0},square:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},direction:{type:String},clickable:{type:Boolean,default:!1}},jd={props:Hd,setup(e,{slots:n}){Kd(ea,`${Fo}-item`)({props:e});const o=t.computed(()=>{const r=Fo;return{[r]:!0,[`${r}--border`]:e.border&&!e.gutter}}),l=t.computed(()=>{const r={};return e.gutter&&(r.paddingLeft=Z(e.gutter)),r});return()=>t.h("view",{class:o.value,style:l.value},n.default?.())}},{create:Wd}=O("grid"),ta=Wd(jd);function Yd(e){const n=t.getCurrentInstance();if(n&&n.proxy){let o=n.proxy;Object.assign(o,e)}}function Xd(e){const n=t.inject(e,null);if(n){const o=t.getCurrentInstance(),{add:l,remove:r,internalChildren:i}=n;l(o),t.onUnmounted(()=>r(o));const a=t.computed(()=>i.indexOf(o));return{parent:n,index:a}}return{parent:null,index:t.ref(-1)}}const{create:Qd,componentName:Uo}=O("grid-item"),Gd=Qd({props:{text:{type:String},icon:{type:String},iconSize:{type:[Number,String]},iconColor:{type:String}},emits:["click"],setup(e,{emit:n}){const o=Xd(ea);if(!o.parent)return;const l=o.index,r=o.parent.props,i=t.computed(()=>({[Uo]:!0})),a=t.computed(()=>{const f={flexBasis:`${100/+r.columnNum}%`};return r.square?f.paddingTop=`${100/+r.columnNum}%`:r.gutter&&(f.paddingRight=Z(r.gutter),l.value>=r.columnNum&&(f.marginTop=Z(r.gutter))),f}),s=t.computed(()=>{const f=`${Uo}__content`;return{[`${f}`]:!0,[`${f}--border`]:r.border,[`${f}--surround`]:r.border&&r.gutter,[`${f}--center`]:r.center,[`${f}--square`]:r.square,[`${f}--reverse`]:r.reverse,[`${f}--${r.direction}`]:!!r.direction,[`${f}--clickable`]:r.clickable}}),c=t.computed(()=>({name:e.icon,size:e.iconSize||r.iconSize,color:e.iconColor||r.iconColor}));return{rootClass:i,rootStyle:a,contentClass:s,iconProps:c,handleClick:f=>{n("click",f)}}}}),Zd={key:3,class:"fox-grid-item__text"};function Jd(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.rootClass),style:t.normalizeStyle(e.rootStyle),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.createElementVNode("view",{class:t.normalizeClass(e.contentClass)},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.$slots.icon?t.renderSlot(e.$slots,"icon",{key:0}):(t.openBlock(),t.createBlock(a,{key:1,name:e.iconProps.name,size:e.iconProps.size,color:e.iconProps.color},null,8,["name","size","color"])),e.$slots.text?t.renderSlot(e.$slots,"text",{key:2}):(t.openBlock(),t.createElementBlock("view",Zd,t.toDisplayString(e.text),1))],64))],2)],6)}const na=H(Gd,[["render",Jd]]),{componentName:_d,create:ef}=O("navbar"),tf=ef({props:{leftShow:{type:Boolean,default:!0},title:{type:String,default:""},titIcon:{type:String,default:""},leftText:{type:String,default:""},desc:{type:String,default:""},fixed:{type:Boolean,default:!1},safeAreaInsetTop:{type:Boolean,default:!1},border:{type:Boolean,default:!1},placeholder:{type:Boolean,default:!0},zIndex:{type:[Number,String],default:10}},emits:["on-click-back","on-click-title","on-click-icon","on-click-right"],setup(e,{emit:n}){const{border:o,fixed:l,safeAreaInsetTop:r,placeholder:i,zIndex:a}=t.toRefs(e),s=t.ref(null),c=t.ref(null);let m=t.ref(0);const f=t.computed(()=>{const v=_d;return{[v]:!0,[`${v}--border`]:o.value,[`${v}--fixed`]:l.value,[`${v}--safe-area-inset-top`]:r.value}}),d=t.computed(()=>({zIndex:a.value}));t.onMounted(()=>{l.value&&i.value&&t.nextTick(()=>{m=c?.value?.getBoundingClientRect().height,s.value.style.height=m+"px"})});function g(){n("on-click-back")}function S(){n("on-click-title")}function b(){n("on-click-icon")}function h(){n("on-click-right")}return{navBarWrap:s,navBarHtml:c,classes:f,styles:d,handleLeft:g,handleCenter:S,handleCenterIcon:b,handleRight:h}}}),nf={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},of={key:1,class:"fox-navbar__text"},lf={class:"fox-navbar__title"},af={key:0,class:"fox-navbar__text"},rf={key:1,class:"fox-navbar__text"},sf={class:"fox-navbar__title"},cf={key:0,class:"fox-navbar__text"};function uf(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return e.fixed&&e.placeholder?(t.openBlock(),t.createElementBlock("view",nf,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),ref:"navBarHtml"},[t.createElementVNode("view",{class:"fox-navbar__left",onClick:n[0]||(n[0]=(...s)=>e.handleLeft&&e.handleLeft(...s))},[e.leftShow?(t.openBlock(),t.createBlock(a,{key:0,color:"#979797",name:"left"})):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",of,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",lf,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:n[1]||(n[1]=(...s)=>e.handleCenter&&e.handleCenter(...s))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titIcon?(t.openBlock(),t.createBlock(a,{key:1,class:"icon",name:e.titIcon,onClick:e.handleCenterIcon},null,8,["name","onClick"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:n[2]||(n[2]=(...s)=>e.handleRight&&e.handleRight(...s))},[e.desc?(t.openBlock(),t.createElementBlock("view",af,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6)],512)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("view",{class:"fox-navbar__left",onClick:n[3]||(n[3]=(...s)=>e.handleLeft&&e.handleLeft(...s))},[e.leftShow?(t.openBlock(),t.createBlock(a,{key:0,color:"#979797",name:"left"})):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",rf,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",sf,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:n[4]||(n[4]=(...s)=>e.handleCenter&&e.handleCenter(...s))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titIcon?(t.openBlock(),t.createBlock(a,{key:1,class:"icon",name:e.titIcon,onClick:e.handleCenterIcon},null,8,["name","onClick"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:n[5]||(n[5]=(...s)=>e.handleRight&&e.handleRight(...s))},[e.desc?(t.openBlock(),t.createElementBlock("view",cf,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6))}const oa=H(tf,[["render",uf]]),df=(e,n)=>({props:{visible:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},navList:{default:()=>[],type:Array},activeColor:{default:"",type:String},activeText:{default:"",type:String},unActiveText:{default:"",type:String},position:{default:()=>({top:"auto",bottom:"auto"}),type:Object},type:{default:"right",type:String}},emits:["update:visible","selected"],setup(o,{emit:l}){const{toLocaleRefs:r}=_.useFoxI18n(n),i=r(o,["activeText","unActiveText"]),a=t.computed(()=>({[e]:!0,active:o.visible,[o.type]:!0})),s=t.ref(-1);return{...i,classes:a,updateValue:(f=!o.visible)=>{l("update:visible",f)},selected:(f,d)=>{l("selected",{item:f,event:d}),s.value=f.id},current:s}}}),{componentName:ff,create:mf,scope:pf}=O("fixednav"),hf=mf(df(ff,pf)),gf={class:"fox-fixednav__list"},yf=["onClick"],vf=["src"],kf={class:"span"},Sf={key:0,class:"b"},bf={class:"text"};function Cf(e,n,o,l,r,i){const a=t.resolveComponent("fox-overlay"),s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.position)},[e.overlay?(t.openBlock(),t.createBlock(a,{key:0,visible:e.visible,"z-index":200,onClick:n[0]||(n[0]=c=>e.updateValue(!1))},null,8,["visible"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"list",{},()=>[t.createElementVNode("view",gf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.navList,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-fixednav__list-item",{active:c.id==e.current}]),onClick:f=>e.selected(c,f),key:c.id||m},[t.createElementVNode("img",{src:c.icon},null,8,vf),t.createElementVNode("view",kf,t.toDisplayString(c.text),1),c.num?(t.openBlock(),t.createElementBlock("view",Sf,t.toDisplayString(c.num),1)):t.createCommentVNode("",!0)],10,yf))),128))])]),t.createElementVNode("div",{class:"fox-fixednav__btn",onClick:n[1]||(n[1]=c=>e.updateValue())},[t.renderSlot(e.$slots,"btn",{},()=>[t.createVNode(s,{name:"left",color:"#fff"}),t.createElementVNode("view",bf,t.toDisplayString(e.visible?e.activeText:e.unActiveText),1)])])],6)}const la=H(hf,[["render",Cf]]),{componentName:wf,create:Nf}=O("menu"),Bf=Nf({props:{activeColor:{type:String,default:""},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:[Number,String],default:0},closeOnClickOverlay:{type:Boolean,default:!0},direction:{type:String,default:"down"},scrollFixed:{type:[Boolean,String,Number],default:!1},titleClass:[String]},setup(e,{emit:n,slots:o}){const l=t.ref(),r=t.ref(0),i=t.ref(!1),a=()=>{const v=t.reactive([]),u=t.reactive([]);return{children:v,linkChildren:C=>{const y=k=>{k.proxy&&(u.push(k),v.push(k.proxy))};t.provide("menuParent",Object.assign({link:y,children:v,internalChildren:u},C))}}},{children:s,linkChildren:c}=a(),m=t.computed(()=>s.some(v=>v.state.showWrapper)),f=t.computed(()=>({[wf]:!0,"scroll-fixed":i.value})),d=()=>{if(l.value){const v=be(l);e.direction==="down"?r.value=v.bottom:r.value=window.innerHeight-v.top}};c({props:e,offset:r});const g=v=>{s.forEach((u,p)=>{p===v?(d(),u.toggle()):u.state.showPopup&&u.toggle(!1,{immediate:!0})})},S=v=>Math.max(0,"scrollTop"in v?v.scrollTop:v.pageYOffset),b=()=>{const{scrollFixed:v}=e,u=S(window);i.value=u>(typeof v=="boolean"?30:Number(v))},h=v=>{let u="";const{titleClass:p}=e;return v&&(u+="active"),p&&(u+=` ${p}`),u};return t.onMounted(()=>{const{scrollFixed:v}=e;v&&window.addEventListener("scroll",b)}),t.onUnmounted(()=>{const{scrollFixed:v}=e;v&&window.removeEventListener("scroll",b)}),{toggleItem:g,children:s,opened:m,classes:f,barRef:l,getClasses:h}}}),Vf=["onClick"],Af={class:"fox-menu__title-text"};function Ef(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-menu__bar",{opened:e.opened}]),ref:"barRef"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.children,(s,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-menu__item",{disabled:s.disabled,active:s.state.showPopup}]),onClick:m=>!s.disabled&&e.toggleItem(c),style:t.normalizeStyle({color:s.state.showPopup?e.activeColor:""})},[t.createElementVNode("view",{class:t.normalizeClass(["fox-menu__title",e.getClasses(s.state.showPopup)])},[t.createElementVNode("view",Af,t.toDisplayString(s.renderTitle()),1),t.createVNode(a,{name:s.titleIcon||(e.direction==="up"?"arrow-up":"down-arrow"),size:"10",class:"fox-menu__title-icon"},null,8,["name"])],2)],14,Vf))),128))],2),t.renderSlot(e.$slots,"default")],2)}const aa=H(Bf,[["render",Ef]]),{componentName:Tf,create:$f}=O("menu-item"),Df=$f({props:{title:String,options:{type:Array,default:[]},disabled:{type:Boolean,default:!1},modelValue:null,cols:{type:Number,default:1},titleIcon:String,activeTitleClass:String,inactiveTitleClass:String,optionIcon:{type:String,default:"Check"}},components:{[re.name]:re,[he.name]:he},emits:["update:modelValue","change","open","close"],setup(e,{emit:n,slots:o}){const l=t.reactive({showPopup:!1,transition:!0,showWrapper:!1,isShowPlaceholderElement:!1}),r=()=>{const S=t.inject("menuParent",null);if(S){const b=t.getCurrentInstance(),{link:h}=S;return h(b),{parent:S}}},{parent:i}=r(),a=t.computed(()=>({[Tf]:!0})),s=t.computed(()=>{const S={height:i.offset.value+"px"};return i.props.direction==="down"?S:{...S,top:"auto"}});return{classes:a,placeholderElementStyle:s,renderTitle:()=>{if(e.title)return e.title;const S=e.options?.find(b=>b.value===e.modelValue);return S?S.text:""},state:l,parent:i,toggle:(S=!l.showPopup,b={})=>{S!==l.showPopup&&(l.showPopup=S,l.isShowPlaceholderElement=S,S&&(l.showWrapper=!0,n("open")))},onClick:S=>{l.showPopup=!1,l.isShowPlaceholderElement=!1,S.value!==e.modelValue&&(n("update:modelValue",S.value),n("change",S.value))},handleClose:()=>{l.showWrapper=!1,l.isShowPlaceholderElement=!1,n("close")},handleClickOutside:()=>{l.showPopup=!1,n("close")}}}}),If={class:"fox-menu-item__content fox-menu-item__overflow"},qf=["onClick"];function zf(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-popup");return t.withDirectives((t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.withDirectives(t.createElementVNode("div",{onClick:n[0]||(n[0]=(...c)=>e.handleClickOutside&&e.handleClickOutside(...c)),class:t.normalizeClass(["placeholder-element",{up:e.parent.props.direction==="up"}]),style:t.normalizeStyle(e.placeholderElementStyle)},null,6),[[t.vShow,e.state.isShowPlaceholderElement]]),t.createVNode(s,t.mergeProps({style:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px"},overlayStyle:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px"}},e.$attrs,{visible:e.state.showPopup,"onUpdate:visible":n[1]||(n[1]=c=>e.state.showPopup=c),position:e.parent.props.direction==="down"?"top":"bottom",duration:e.parent.props.duration,"pop-class":"fox-menu__pop",overlayClass:"fox-menu__overlay",overlay:e.parent.props.overlay,onClosed:e.handleClose,lockScroll:e.parent.props.lockScroll,isWrapTeleport:!1,"close-on-click-overlay":e.parent.props.closeOnClickOverlay}),{default:t.withCtx(()=>[t.createElementVNode("view",If,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.options,(c,m)=>(t.openBlock(),t.createElementBlock("view",{key:m,class:t.normalizeClass(["fox-menu-item__option",[{active:c.value===e.modelValue}]]),style:t.normalizeStyle({"flex-basis":100/e.cols+"%"}),onClick:f=>e.onClick(c)},[c.value===e.modelValue?(t.openBlock(),t.createBlock(a,{key:0,class:t.normalizeClass({activeTitleClass:c.value===e.modelValue,inactiveTitleClass:c.value!==e.modelValue}),name:e.optionIcon,color:e.parent.props.activeColor},null,8,["class","name","color"])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass({activeTitleClass:c.value===e.modelValue,inactiveTitleClass:c.value!==e.modelValue}),style:t.normalizeStyle({color:c.value===e.modelValue?e.parent.props.activeColor:""})},t.toDisplayString(c.text),7)],14,qf))),128)),t.renderSlot(e.$slots,"default")])]),_:3},16,["style","overlayStyle","visible","position","duration","overlay","onClosed","lockScroll","close-on-click-overlay"])],2)),[[t.vShow,e.state.showWrapper]])}const ra=H(Df,[["render",zf]]),{create:Mf}=O("tabbar"),Pf=Mf({props:{modelValue:{type:[Number,String],default:0},bottom:{type:Boolean,default:!1},size:{type:String,default:"20px"},deactiveColor:{type:String,default:""},activeColor:{type:String,default:""},safeAreaInsetBottom:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(e,n){function o(r){l.value!==r&&(l.value=r,n.emit("update:modelValue",r),n.emit("change",r,l.children[r]))}let l=t.reactive({children:[],size:e.size,value:e.modelValue,deactiveColor:e.deactiveColor,activeColor:e.activeColor,changeIndex:o});return t.provide("parent",l),t.watch(()=>e.modelValue,r=>{l.value=r}),{changeIndex:o}}});function xf(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabbar",{"fox-tabbar-bottom":e.bottom,"fox-tabbar-safebottom":e.safeAreaInsetBottom}])},[t.renderSlot(e.$slots,"default")],2)}const sa=H(Pf,[["render",xf]]),{create:Rf}=O("tabbar-item"),Lf=Rf({props:{title:{type:String,default:""},icon:{type:String,default:""},num:{type:String,default:""},activeImg:{type:String,default:""},img:{type:String,default:""},classPrefix:{type:String,default:"fox-icon"},dot:{type:Boolean,default:!1},fontClassName:{type:String,default:"foxui-iconfont"}},setup(e,n){const o=t.inject("parent"),l=t.reactive({size:o.size,deactiveColor:o.deactiveColor,activeColor:o.activeColor,value:o.value,index:0}),r=t.getCurrentInstance();r!==null&&(m=>{if(m.proxy){let f=o.children.length;l.index=f;let d=Object.assign(m.proxy,{index:f});o.children.push(d)}})(r);const i=t.computed(()=>l.index===l.value);function a(c){o&&typeof o.changeIndex=="function"&&o.changeIndex(c)}const s=t.computed(()=>o?o.value:null);return t.watch(s,c=>{l.value=c}),{state:l,active:i,change:a}}}),Of={class:"fox-tabbar-item_icon-box"},Ff={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},Uf={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},Kf={key:1,class:"fox-tabbar-item_icon-box_dot"},Hf={key:2},jf={key:0};function Wf(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["fox-tabbar-item",{"fox-tabbar-item__icon--unactive":!e.active}]),style:t.normalizeStyle({color:e.active?e.state.activeColor:e.state.deactiveColor}),onClick:n[0]||(n[0]=s=>e.change(e.state.index))},[t.createElementVNode("view",Of,[e.dot?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.num&&e.num<=99?(t.openBlock(),t.createElementBlock("view",Ff,t.toDisplayString(e.num),1)):e.num&&e.num>100?(t.openBlock(),t.createElementBlock("view",Uf,t.toDisplayString("99+"))):t.createCommentVNode("",!0)],64)),e.dot?(t.openBlock(),t.createElementBlock("div",Kf)):t.createCommentVNode("",!0),e.icon?(t.openBlock(),t.createElementBlock("view",Hf,[t.createVNode(a,{class:"fox-tabbar-item_icon-box_icon",size:e.state.size,name:e.icon,"font-class-name":e.fontClassName,"class-prefix":e.classPrefix},null,8,["size","name","font-class-name","class-prefix"])])):t.createCommentVNode("",!0),!e.icon&&e.activeImg?(t.openBlock(),t.createElementBlock("div",{key:3,class:"fox-tabbar-item_icon-box_icon",style:t.normalizeStyle({backgroundImage:`url(${e.active?e.activeImg:e.img})`,width:e.state.size,height:e.state.size})},null,4)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-tabbar-item_icon-box_nav-word",{"fox-tabbar-item_icon-box_big-word":!e.icon&&!e.activeImg}])},[e.title?(t.openBlock(),t.createElementBlock("view",jf,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.title?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"default",{key:1})],2)])],6)}const ia=H(Lf,[["render",Wf]]),{componentName:Yf,create:Xf}=O("elevator"),Qf=Xf({props:{height:{type:[Number,String],default:"200px"},acceptKey:{type:[String],default:"title"},indexList:{type:Array,default:()=>[]},isSticky:{type:[Boolean],default:!1},spaceHeight:{type:[Number],default:23},titleHeight:{type:[Number],default:35}},emits:["click-item","click-index"],setup(e,n){const o=t.ref(null),l=t.reactive({anchorIndex:0,codeIndex:0,listHeight:[],listGroup:[],touchState:{y1:0,y2:0},scrollStart:!1,currentIndex:0,currentData:{},currentKey:"",scrollY:0,diff:-1,fixedTop:0}),r=t.computed(()=>({[Yf]:!0})),i=t.computed(()=>({transform:`translate3d(0, ${l.scrollY+l.fixedTop}px, 0)`})),a=t.computed(()=>o.value.clientHeight),s=(u,p)=>{const C="data-";return u.getAttribute(C+p)},c=u=>{t.nextTick(()=>{!l.listGroup.includes(u)&&u!=null&&l.listGroup.push(u)})},m=()=>{let u=0;l.listHeight.push(u);for(let p=0;p<l.listGroup.length;p++){let C=l.listGroup[p];u+=C.clientHeight,l.listHeight.push(u)}},f=u=>{!u&&u!==0||(u<0&&(u=0),u>l.listHeight.length-2&&(u=l.listHeight.length-2),l.codeIndex=u,o.value.scrollTo(0,l.listHeight[u]))},d=u=>{l.scrollStart=!0;let p=s(u.target,"index"),C=u.touches[0];l.touchState.y1=C.pageY,l.anchorIndex=+p,l.codeIndex=+p,f(+p)},g=u=>{let p=u.touches[0];l.touchState.y2=p.pageY;let C=(l.touchState.y2-l.touchState.y1)/e.spaceHeight|0;l.codeIndex=l.anchorIndex+C,f(l.codeIndex)},S=()=>{l.scrollStart=!1},b=(u,p)=>{n.emit("click-item",u,p),l.currentData=p,l.currentKey=u},h=u=>{n.emit("click-index",u)},v=u=>{let C=u.target.scrollTop;const y=l.listHeight;l.scrollY=C;for(let k=0;k<y.length-1;k++){let w=y[k],N=y[k+1];if(l.scrollY>=w&&l.scrollY<N){l.currentIndex=k,l.diff=N-l.scrollY;return}}l.currentIndex=y.length-2};return t.onMounted(()=>{o.value.addEventListener("scroll",v)}),Nt({scrollTo:f}),t.watch(()=>l.listGroup.length,()=>{l.listHeight=[],t.nextTick(m)}),t.watch(()=>l.diff,u=>{const p=l.listHeight;let C=u>0&&u<e.titleHeight?u-e.titleHeight:0;l.scrollY+a.value===p[p.length-1]&&C!==0&&(C=0),l.fixedTop!==C&&(l.fixedTop=C)}),{classes:r,...t.toRefs(l),fixedStyle:i,clientHeight:a,setListGroup:c,listview:o,touchStart:d,touchMove:g,touchEnd:S,handleClickItem:b,handleClickIndex:h}}}),Gf={class:"fox-elevator__list__item__code"},Zf=["onClick"],Jf=["innerHTML"],_f={class:"fixed-title"},em={class:"fox-elevator__bars__inner"},tm=["data-index","onClick"];function nm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:"fox-elevator__list",ref:"listview",style:t.normalizeStyle({height:isNaN(+e.height)?e.height:`${e.height}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.indexList,a=>(t.openBlock(),t.createElementBlock("view",{class:"fox-elevator__list__item",key:a[e.acceptKey],ref_for:!0,ref:e.setListGroup},[t.createElementVNode("view",Gf,t.toDisplayString(a[e.acceptKey]),1),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.list,s=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-elevator__list__item__name",{"fox-elevator__list__item__name--highcolor":e.currentData.id===s.id&&e.currentKey===a[e.acceptKey]}]),key:s.id,onClick:c=>e.handleClickItem(a[e.acceptKey],s)},[t.renderSlot(e.$slots,"default",{item:s},()=>[t.createElementVNode("span",{innerHTML:s.name},null,8,Jf)])],10,Zf))),128))]))),128)),e.isSticky?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-elevator__list__fixed",style:t.normalizeStyle(e.fixedStyle)},[t.createElementVNode("span",_f,t.toDisplayString(e.indexList[e.currentIndex][e.acceptKey]),1)],4)),[[t.vShow,e.scrollY>0]]):t.createCommentVNode("",!0)],4),e.indexList.length?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-elevator__code--current"},t.toDisplayString(e.indexList[e.codeIndex][e.acceptKey]),513)),[[t.vShow,e.scrollStart]]):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-elevator__bars",onTouchstart:n[0]||(n[0]=(...a)=>e.touchStart&&e.touchStart(...a)),onTouchmove:n[1]||(n[1]=t.withModifiers((...a)=>e.touchMove&&e.touchMove(...a),["stop","prevent"])),onTouchend:n[2]||(n[2]=(...a)=>e.touchEnd&&e.touchEnd(...a))},[t.createElementVNode("view",em,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.indexList,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-elevator__bars__inner__item",{active:a[e.acceptKey]===e.indexList[e.currentIndex][e.acceptKey]}]),"data-index":s,key:a[e.acceptKey],onClick:c=>e.handleClickIndex(a[e.acceptKey])},t.toDisplayString(a[e.acceptKey]),11,tm))),128))])],32)],2)}const ca=H(Qf,[["render",nm]]),{componentName:w1,create:om,scope:lm}=O("pagination"),am=om({props:{modelValue:{type:Number,default:1},mode:{type:String,default:"multi"},prevText:{type:String,default:""},nextText:{type:String,default:""},pageCount:{type:[String,Number],default:""},totalItems:{type:[String,Number],default:"0"},itemsPerPage:{type:[String,Number],default:"10"},showPageSize:{type:[String,Number],default:"5"},forceEllipses:{type:Boolean,default:!1}},components:{},emits:["change","update:modelValue"],setup(e,{emit:n}){const{toLocaleRefs:o}=_.useFoxI18n(lm),l=o(e,["prevText","nextText"]),{modelValue:r,mode:i,showPageSize:a,forceEllipses:s}=t.toRefs(e),c=t.computed(()=>{const{pageCount:g,totalItems:S,itemsPerPage:b}=t.toRefs(e),h=+g.value||Math.ceil(+S.value/+b.value);return Math.max(1,h)}),m=(g,S)=>{g>c.value||g<1||(g!=r.value&&n("update:modelValue",g),S&&n("change",g))},f=(g,S,b=!1)=>({number:g,text:S,active:b}),d=t.computed(()=>{if(i.value=="simple")return;let g=[];const S=c.value,b=+a.value;let h=1,v=S;const u=S>b;u&&(h=Math.max(r.value-Math.floor(b/2),1),v=h+b-1,v>S&&(v=S,h=v-b+1));for(var p=h;p<=v;p++){const C=f(p,p,r.value==p);g.push(C)}if(u&&b>0&&s.value){if(h>1){const C=f(h-1,"...");g.unshift(C)}if(v<S){const C=f(v+1,"...");g.push(C)}}return g});return t.watchEffect(()=>{m(r.value,!1)}),{...l,modelValue:r,select:m,countRef:c,mode:i,pages:d,forceEllipses:s}}}),rm={class:"fox-pagination"},sm={key:0,class:"fox-pagination-contain"},im=["onClick"],cm={key:1,class:"fox-pagination-contain"},um={class:"fox-pagination-simple"};function dm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",rm,[t.createElementVNode("view",{class:t.normalizeClass(["fox-pagination-prev",e.mode=="multi"?"":"simple-border",e.modelValue==1?"disabled":""]),onClick:n[0]||(n[0]=a=>e.select(e.modelValue-1,!0))},[t.renderSlot(e.$slots,"prev-text",{},()=>[t.createTextVNode(t.toDisplayString(e.prevText),1)])],2),e.mode=="multi"?(t.openBlock(),t.createElementBlock("view",sm,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.pages,(a,s)=>(t.openBlock(),t.createElementBlock("view",{key:s+"pagination",class:t.normalizeClass(["fox-pagination-item",a.active?"active":""]),onClick:c=>e.select(a.number,!0)},[t.renderSlot(e.$slots,"page",{item:a},()=>[t.createTextVNode(t.toDisplayString(a.text),1)])],10,im))),128))])):t.createCommentVNode("",!0),e.mode=="simple"?(t.openBlock(),t.createElementBlock("view",cm,[t.createElementVNode("view",um,t.toDisplayString(e.modelValue)+"/"+t.toDisplayString(e.countRef),1)])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-pagination-next",e.modelValue>=e.countRef?"disabled":""]),onClick:n[1]||(n[1]=a=>e.select(e.modelValue+1,!0))},[t.renderSlot(e.$slots,"next-text",{},()=>[t.createTextVNode(t.toDisplayString(e.nextText),1)])],2)])}const ua=H(am,[["render",dm]]);class fm{title="";titleSlot;paneKey="";disabled=!1;constructor(){}}const mm={props:{modelValue:{type:[String,Number],default:0},color:{type:String,default:""},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},type:{type:String,default:"line"},titleScroll:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},autoHeight:{type:Boolean,default:!1},background:{type:String,default:""},animatedTime:{type:[Number,String],default:300},titleGutter:{type:[Number,String],default:0},sticky:{type:Boolean,default:!1},top:{type:Number,default:0}},components:{},emits:["update:modelValue","click","change"],setup(e,{emit:n,slots:o}){const l=t.ref(null);let r;t.provide("activeKey",{activeKey:t.computed(()=>e.modelValue)}),t.provide("autoHeight",{autoHeight:t.computed(()=>e.autoHeight)});const i=t.ref([]),a=p=>{let C=p["pane-key"];return typeof C=="string"||typeof C=="number"||(C=p.paneKey,typeof C=="string"||typeof C=="number")?String(C):null},s=p=>{p.forEach((C,y)=>{let k=C.type;if(k=k.name||k,k=="fox-tabpane"){let w=new fm;(C.props?.title||C.props?.["pane-key"]||C.props?.paneKey)&&(w.title=C.props?.title,w.paneKey=a(C.props)||String(y),w.disabled=C.props?.disabled),i.value.push(w)}else{if(C.children==" ")return;s(C.children)}})},c=t.ref(e.modelValue||0),m=p=>{let C=i.value.findIndex(y=>y.paneKey==p);if(i.value.length!=0){if(C==-1)return;c.value=C}},f=(p=o.default?.())=>{i.value=[],p=p?.filter(C=>typeof C.children!="string"),p&&p.length&&s(p),m(e.modelValue)},d=p=>{r=p.fixed};t.watch(()=>o.default?.(),p=>{f(p)});const g=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;t.watch(()=>e.modelValue,p=>{if(m(p),r){let C=be(l.value).top+g(),y=Math.ceil(C-e.top);window.scrollTo({top:y,behavior:"smooth"})}}),t.onMounted(f),t.onActivated(f);const S=t.computed(()=>({transform:e.direction=="horizontal"?`translate3d(-${c.value*100}%, 0, 0)`:`translate3d( 0,-${c.value*100}%, 0)`,transitionDuration:`${e.animatedTime}ms`})),b=t.computed(()=>({background:e.background})),h=t.computed(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),v=t.computed(()=>({marginLeft:Z(e.titleGutter),marginRight:Z(e.titleGutter)}));return{titles:i,contentStyle:S,tabsNavStyle:b,titleStyle:v,tabsActiveStyle:h,container:l,onStickyScroll:d,...{tabChange:(p,C)=>{n("click",p),!p.disabled&&(c.value=C,n("update:modelValue",p.paneKey),n("change",p))}}}}},{create:pm}=O("tabs"),hm=pm(mm),gm=["onClick"],ym=["onClick"];function vm(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-sticky");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs",[e.direction]]),ref:"container",id:"container"},[e.sticky?(t.openBlock(),t.createBlock(s,{key:0,top:e.top,container:e.container,onScroll:e.onStickyScroll},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(["fox-tabs__titles",{[e.type]:e.type,scrollable:e.titleScroll,[e.size]:e.size}]),style:t.normalizeStyle(e.tabsNavStyle)},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.titles,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs__titles-item",{active:c.paneKey==e.modelValue,disabled:c.disabled}]),style:t.normalizeStyle(e.titleStyle),onClick:f=>e.tabChange(c,m),key:c.paneKey},[e.type=="line"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-tabs__titles-item__line",style:t.normalizeStyle(e.tabsActiveStyle)},null,4)):t.createCommentVNode("",!0),e.type=="smile"?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-tabs__titles-item__smile",style:t.normalizeStyle(e.tabsActiveStyle)},[t.createVNode(a,{color:e.color,name:"joy-smile"},null,8,["color"])],4)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-tabs__titles-item__text",{ellipsis:e.ellipsis}])},t.toDisplayString(c.title),3)],14,gm))),128))],6)]),_:3},8,["top","container","onScroll"])):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-tabs__titles",{[e.type]:e.type,scrollable:e.titleScroll,[e.size]:e.size}]),style:t.normalizeStyle(e.tabsNavStyle)},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.titles,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs__titles-item",{active:c.paneKey==e.modelValue,disabled:c.disabled}]),style:t.normalizeStyle(e.titleStyle),onClick:f=>e.tabChange(c,m),key:c.paneKey},[e.type=="line"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-tabs__titles-item__line",style:t.normalizeStyle(e.tabsActiveStyle)},null,4)):t.createCommentVNode("",!0),e.type=="smile"?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-tabs__titles-item__smile",style:t.normalizeStyle(e.tabsActiveStyle)},[t.createVNode(a,{color:e.color,name:"joy-smile"},null,8,["color"])],4)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-tabs__titles-item__text",{ellipsis:e.ellipsis}])},t.toDisplayString(c.title),3)],14,ym))),128))],6)),t.createElementVNode("view",{class:"fox-tabs__content",style:t.normalizeStyle(e.contentStyle)},[t.renderSlot(e.$slots,"default")],4)],2)}const da=H(hm,[["render",vm]]),{create:km}=O("tabpane"),Sm=km({props:{title:{type:[String,Number],default:""},paneKey:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:n}){const o=t.inject("activeKey"),l=t.inject("autoHeight");return{classes:t.computed(()=>({["fox-tabpane"]:!0,inactive:e.paneKey!=o.activeKey.value&&l.autoHeight.value}))}}});function bm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)}const fa=H(Sm,[["render",bm]]),{componentName:Ko,create:Cm}=O("indicator"),wm=Cm({props:{size:{type:Number,default:3,required:!0},current:{type:Number,default:1,required:!0},block:{type:Boolean,default:!1},align:{type:String,default:"center"},fillZero:{type:Boolean,default:!0}},setup(e){const{block:n,align:o}=t.toRefs(e);return{classes:t.computed(()=>{const r=Ko;return{[r]:!0,[`${r}--block`]:n.value,[`${r}--align__${o.value}`]:n.value&&o.value}}),componentName:Ko}}});function Nm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.size,a=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:a},[a===e.current?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(`${e.componentName}--number`)},t.toDisplayString(e.fillZero&&a<10?`0${a}`:a),3)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`${e.componentName}--dot`)},null,2))],64))),128))],2)}const ma=H(wm,[["render",Nm]]),{componentName:Bm,create:Vm}=O("sidenavbar"),Am=Vm({props:{offset:{type:[String,Number],default:15}},emits:[],setup:(e,n)=>{const o=t.ref(null),l=t.reactive({count:1,observer:null}),r=t.computed(()=>({[Bm]:!0})),i=(s,c=1)=>{for(let m=0;m<s.length;m++){let f=s[m];f.children[0].style.paddingLeft=e.offset*c+"px",f.className.includes("fox-sidenavbaritem")||i(Array.from(f.children[1].children),++l.count)}l.count--},a=()=>{let s=o.value.childNodes;s.length&&(s=Array.from(s).filter(c=>c.nodeType!==3).map(c=>c),i(s))};return t.onMounted(()=>{a(),l.observer=new MutationObserver(function(){l.count=1,a()}),l.observer.observe(o.value,{attributes:!1,childList:!0,characterData:!1,subtree:!1})}),{...t.toRefs(l),list:o,classes:r}}}),Em={class:"fox-sidenavbar__content"},Tm={class:"fox-sidenavbar__content__list",ref:"list"};function $m(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",Em,[t.createElementVNode("view",Tm,[t.renderSlot(e.$slots,"default")],512)])],2)}const pa=H(Am,[["render",$m]]),{componentName:Dm,create:Im}=O("sidenavbaritem"),qm=Im({props:{title:{type:String,default:""},ikey:{type:String,default:""}},emits:["click"],setup:(e,n)=>({classes:t.computed(()=>({[Dm]:!0})),handleClick:()=>{n.emit("click")}})}),zm=["ikey"],Mm={class:"fox-sidenavbaritem__title"};function Pm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:"fox-sidenavbaritem",onClick:n[0]||(n[0]=t.withModifiers((...a)=>e.handleClick&&e.handleClick(...a),["stop"])),ikey:e.ikey},[t.createElementVNode("span",Mm,t.toDisplayString(e.title),1)],8,zm)}const ha=H(qm,[["render",Pm]]),{componentName:xm,create:Rm}=O("subsidenavbar"),Lm=Rm({props:{title:{type:String,default:""},ikey:{type:[String,Number],default:""},open:{type:Boolean,default:!0}},emits:["title-click"],setup:(e,n)=>{const o=t.reactive({direction:""}),l=t.computed(()=>({[xm]:!0})),r=t.computed(()=>({height:o.direction?"0px":"auto"})),i=()=>{n.emit("title-click"),o.direction=o.direction?"":"up"};return t.onMounted(()=>{o.direction=e.open?"":"up"}),{...t.toRefs(o),classes:l,style:r,handleClick:i}}}),Om=["ikey"],Fm={class:"fox-subsidenavbar__title__text"},Um={class:"fox-subsidenavbar__title__icon"};function Km(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ikey:e.ikey},[t.createElementVNode("view",{class:"fox-subsidenavbar__title",onClick:n[0]||(n[0]=t.withModifiers((...s)=>e.handleClick&&e.handleClick(...s),["stop"]))},[t.createElementVNode("span",Fm,t.toDisplayString(e.title),1),t.createElementVNode("span",Um,[t.createVNode(a,{name:"down-arrow",class:t.normalizeClass(e.direction)},null,8,["class"])])]),t.createElementVNode("view",{class:t.normalizeClass(["fox-subsidenavbar__list",e.direction?"foxFadeOut":"foxFadeIn"]),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)],10,Om)}const ga=H(Lm,[["render",Km]]),{componentName:Hm,create:jm}=O("range"),Wm=jm({props:{range:{type:Boolean,default:!1},disabled:Boolean,activeColor:String,inactiveColor:String,buttonColor:String,vertical:{type:Boolean,default:!1},marks:{type:Object,default:{}},hiddenRange:{type:Boolean,default:!1},hiddenTag:{type:Boolean,default:!1},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},modelValue:{type:[Number,Array],default:0}},emits:["change","drag-end","drag-start","update:modelValue"],setup(e,{emit:n,slots:o}){const l=t.ref(0);let r,i;const a=t.ref(),s=t.ref(),c=Bt(),m=t.computed(()=>{const{marks:$,max:D,min:I}=e;return Object.keys($).map(parseFloat).sort((x,R)=>x-R).filter(x=>x>=I&&x<=D)}),f=t.computed(()=>Number(e.max)-Number(e.min)),d=t.computed(()=>{const $=Hm;return{[$]:!0,[`${$}-disabled`]:e.disabled,[`${$}-vertical`]:e.vertical,[`${$}-show-number`]:!e.hiddenRange}}),g=t.computed(()=>{const $="fox-range-container";return{[$]:!0,[`${$}-vertical`]:e.vertical}}),S=t.computed(()=>({background:e.inactiveColor})),b=t.computed(()=>({borderColor:e.buttonColor})),h=$=>!!e.range&&Array.isArray($),v=()=>{const{modelValue:$,min:D}=e;return h($)?`${($[1]-$[0])*100/f.value}%`:`${($-Number(D))*100/f.value}%`},u=()=>{const{modelValue:$,min:D}=e;return h($)?`${($[0]-Number(D))*100/f.value}%`:"0%"},p=t.computed(()=>e.vertical?{height:v(),top:u(),background:e.activeColor,transition:s.value?"none":void 0}:{width:v(),left:u(),background:e.activeColor,transition:s.value?"none":void 0}),C=$=>{const D="fox-range-mark",{modelValue:I,max:P,min:B}=e;let x=Number(B),R=Number(P);if(e.range){const[F,M]=I;x=F,R=M}else R=I;let T=$<=R&&$>=x;return{[`${D}-text`]:!0,[`${D}-text-active`]:T}},y=$=>{const{max:D,min:I,vertical:P}=e;let B={left:`${($-Number(I))/f.value*100}%`};return P&&(B={top:`${($-Number(I))/f.value*100}%`}),B},k=$=>{const{modelValue:D,max:I,min:P}=e;let B=Number(P),x=Number(I);if(e.range){const[F,M]=D;B=F,x=M}return{background:$<=x&&$>=B?e.activeColor:e.inactiveColor}},w=$=>{const{min:D,max:I,step:P}=e;return $=Math.max(+D,Math.min($,+I)),Math.round($/+P)*+P},N=($,D)=>JSON.stringify($)===JSON.stringify(D),V=$=>$[0]>$[1]?$.slice(0).reverse():$,A=($,D)=>{h($)?$=V($).map(w):$=w($),N($,e.modelValue)||n("update:modelValue",$),D&&!N($,r)&&n("change",$)},E=$=>{if(e.disabled)return;const{min:D,modelValue:I}=e,P=be(a);let B=$.clientX-P.left,x=P.width;e.vertical&&(B=$.clientY-P.top,x=P.height);const R=Number(D)+B/x*f.value;if(h(I)){const[T,F]=I,M=(T+F)/2;R<=M?A([R,F],!0):A([T,R],!0)}else A(R,!0)},q=$=>{e.disabled||(c.start($),i=e.modelValue,h(i)?r=i.map(w):r=w(i),s.value="start")},U=$=>{if(e.disabled)return;s.value==="start"&&n("drag-start"),c.move($),s.value="draging";const D=be(a);let I=c.deltaX.value,P=D.width,B=I/P*f.value;e.vertical&&(I=c.deltaY.value,P=D.height,B=I/P*f.value),h(r)?i[l.value]=r[l.value]+B:i=r+B,A(i),$.stopPropagation(),$.preventDefault()},L=()=>{e.disabled||(s.value==="draging"&&(A(i,!0),n("drag-end")),s.value="")},z=$=>typeof $=="number"?e.modelValue[$]:e.modelValue;return{root:a,classes:d,wrapperStyle:S,buttonStyle:b,onClick:E,onTouchStart:q,onTouchMove:U,onTouchEnd:L,...t.toRefs(e),barStyle:p,curValue:z,buttonIndex:l,containerClasses:g,markClassName:C,marksStyle:y,marksList:m,tickStyle:k}}}),Ym={key:0,class:"min"},Xm={key:0,class:"fox-range-mark"},Qm=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],Gm={key:0,class:"number"},Zm=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],Jm={key:0,class:"number"},_m={key:1,class:"max"};function ep(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.containerClasses)},[e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Ym,t.toDisplayString(+e.min),1)),t.createElementVNode("view",{ref:"root",style:t.normalizeStyle(e.wrapperStyle),class:t.normalizeClass(e.classes),onClick:n[9]||(n[9]=t.withModifiers((...a)=>e.onClick&&e.onClick(...a),["stop"]))},[e.marksList.length>0?(t.openBlock(),t.createElementBlock("view",Xm,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.marksList,a=>(t.openBlock(),t.createElementBlock("span",{key:a,class:t.normalizeClass(e.markClassName(a)),style:t.normalizeStyle(e.marksStyle(a))},[t.createTextVNode(t.toDisplayString(a)+" ",1),t.createElementVNode("span",{class:"fox-range-tick",style:t.normalizeStyle(e.tickStyle(a))},null,4)],6))),128))])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-range-bar",style:t.normalizeStyle(e.barStyle)},[e.range?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},t.renderList([0,1],a=>t.createElementVNode("view",{key:a,role:"slider",class:t.normalizeClass({"fox-range-button-wrapper-left":a==0,"fox-range-button-wrapper-right":a==1}),tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(a),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:t.withModifiers(s=>{typeof a=="number"&&(e.buttonIndex=a),e.onTouchStart(s)},["stop","prevent"]),onTouchmove:n[0]||(n[0]=t.withModifiers((...s)=>e.onTouchMove&&e.onTouchMove(...s),["stop","prevent"])),onTouchend:n[1]||(n[1]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onTouchcancel:n[2]||(n[2]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onClick:n[3]||(n[3]=s=>s.stopPropagation())},[e.$slots.button?t.renderSlot(e.$slots,"button",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-range-button",style:t.normalizeStyle(e.buttonStyle)},[e.hiddenTag?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Gm,t.toDisplayString(e.curValue(a)),1))],4))],42,Qm)),64)):(t.openBlock(),t.createElementBlock("view",{key:1,role:"slider",class:"fox-range-button-wrapper",tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:n[4]||(n[4]=t.withModifiers(a=>{e.onTouchStart(a)},["stop","prevent"])),onTouchmove:n[5]||(n[5]=t.withModifiers((...a)=>e.onTouchMove&&e.onTouchMove(...a),["stop","prevent"])),onTouchend:n[6]||(n[6]=t.withModifiers((...a)=>e.onTouchEnd&&e.onTouchEnd(...a),["stop","prevent"])),onTouchcancel:n[7]||(n[7]=t.withModifiers((...a)=>e.onTouchEnd&&e.onTouchEnd(...a),["stop","prevent"])),onClick:n[8]||(n[8]=a=>a.stopPropagation())},[e.$slots.button?t.renderSlot(e.$slots,"button",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-range-button",style:t.normalizeStyle(e.buttonStyle)},[e.hiddenTag?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Jm,t.toDisplayString(e.curValue()),1))],4))],40,Zm))],4)],6),e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",_m,t.toDisplayString(+e.max),1))],2)}const ya=H(Wm,[["render",ep]]),{create:tp,scope:np}=O("searchbar"),op=tp({props:{modelValue:{type:[String,Number],default:""},inputType:{type:String,default:"textarea"},label:{type:String,default:""},maxLength:{type:[String,Number],default:"9999"},placeholder:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:String,default:"circle-close"},background:{type:String,default:""},inputBackground:{type:String,default:""},focusStyle:{type:Object,default:()=>{}},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},emits:["change","update:modelValue","blur","focus","clear","search","click-input","click-left-icon","click-right-icon"],setup(e,{emit:n}){const{toLocaleRefs:o}=_.useFoxI18n(np),l=o(e,["placeholder"]),r=t.reactive({active:!1}),i=t.computed(()=>({background:e.background})),a=t.computed(()=>({background:e.inputBackground})),s=p=>{let y=p.target.value;e.maxLength&&y.length>Number(e.maxLength)&&(y=y.slice(0,Number(e.maxLength))),n("update:modelValue",y,p),n("change",y,p)},c=t.ref({}),m=p=>{let y=p.target.value;r.active=!0,c.value=e.focusStyle,n("focus",y,p)},f=p=>{setTimeout(()=>{r.active=!1},0);let y=p.target.value;e.maxLength&&y.length>Number(e.maxLength)&&(y=y.slice(0,Number(e.maxLength))),c.value={},n("blur",y,p)},d=p=>{n("update:modelValue","",p),n("change","",p),n("clear","")},g=()=>{n("search",e.modelValue)},S=p=>{n("click-input",p)},b=p=>{n("click-left-icon",e.modelValue,p)},h=p=>{n("click-right-icon",e.modelValue,p)},v=t.computed(()=>({"text-align":e.inputAlign})),u=t.ref(null);return t.onMounted(()=>{e.autofocus&&u.value.focus()}),{...l,inputsearch:u,...t.toRefs(r),valueChange:s,valueFocus:m,valueBlur:f,handleClear:d,handleSubmit:g,searchbarStyle:i,inputSearchbarStyle:a,focusCss:c,clickInput:S,leftIconClick:b,rightIconClick:h,styleSearchbar:v}}}),lp={key:0,class:"fox-searchbar__search-label"},ap={key:1,class:"fox-searchbar__search-icon fox-searchbar__left-search-icon"},rp={class:"fox-searchbar__input-inner"},sp=["type","maxlength","placeholder","value","disabled","readonly"],ip={key:2,class:"fox-searchbar__search-icon fox-searchbar__right-search-icon"};function cp(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:"fox-searchbar",style:t.normalizeStyle(e.searchbarStyle)},[e.label?(t.openBlock(),t.createElementBlock("span",lp,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0),e.$slots.leftout?(t.openBlock(),t.createElementBlock("view",ap,[t.renderSlot(e.$slots,"leftout")])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-searchbar__search-input",style:t.normalizeStyle({...e.inputSearchbarStyle,...e.focusCss})},[e.$slots.leftin?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-searchbar__search-icon fox-searchbar__iptleft-search-icon",onClick:n[0]||(n[0]=(...s)=>e.leftIconClick&&e.leftIconClick(...s))},[t.renderSlot(e.$slots,"leftin")])):t.createCommentVNode("",!0),t.createElementVNode("view",rp,[t.createElementVNode("form",{action:"#",onSubmit:n[5]||(n[5]=t.withModifiers((...s)=>e.handleSubmit&&e.handleSubmit(...s),["prevent"]))},[t.createElementVNode("input",{ref:"inputsearch",class:"fox-searchbar__input-bar",type:e.inputType,maxlength:e.maxLength,placeholder:e.placeholder,value:e.modelValue,disabled:e.disabled,readonly:e.readonly,onClick:n[1]||(n[1]=(...s)=>e.clickInput&&e.clickInput(...s)),onInput:n[2]||(n[2]=(...s)=>e.valueChange&&e.valueChange(...s)),onFocus:n[3]||(n[3]=(...s)=>e.valueFocus&&e.valueFocus(...s)),onBlur:n[4]||(n[4]=(...s)=>e.valueBlur&&e.valueBlur(...s)),style:t.normalizeStyle(e.styleSearchbar)},null,44,sp)],32),e.clearable?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,onClick:n[6]||(n[6]=(...s)=>e.handleClear&&e.handleClear(...s)),class:"fox-searchbar__input-clear"},[t.createVNode(a,{name:e.clearIcon,size:"12",color:"#555"},null,8,["name"])],512)),[[t.vShow,e.modelValue.length>0]]):t.createCommentVNode("",!0)]),e.$slots.rightin?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-searchbar__search-icon fox-searchbar__iptright-sarch-icon",onClick:n[7]||(n[7]=(...s)=>e.rightIconClick&&e.rightIconClick(...s))},[t.renderSlot(e.$slots,"rightin")])):t.createCommentVNode("",!0)],4),e.$slots.rightout?(t.openBlock(),t.createElementBlock("view",ip,[t.renderSlot(e.$slots,"rightout")])):t.createCommentVNode("",!0)],4)}const va=H(op,[["render",cp]]),{componentName:up,create:dp}=O("inputnumber"),fp=dp({props:{modelValue:{type:[Number,String],default:0},inputWidth:{type:[Number,String],default:""},buttonSize:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:9999},step:{type:[Number,String],default:1},decimalPlaces:{type:[Number,String],default:0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},iconLeft:{type:String,default:"minus"},iconRight:{type:String,default:"plus"}},emits:["update:modelValue","change","blur","focus","reduce","add","overlimit"],setup(e,{emit:n}){const o=t.computed(()=>{const g=up;return{[g]:!0,[`${g}--disabled`]:e.disabled}}),l=g=>Number(g).toFixed(Number(e.decimalPlaces)),r=g=>{const S=g.target;n("update:modelValue",S.valueAsNumber,g)},i=(g,S)=>{let b=l(g);n("update:modelValue",b,S),n("change",b,S)},a=(g=Number(e.modelValue))=>g<Number(e.max)&&!e.disabled,s=(g=Number(e.modelValue))=>g>Number(e.min)&&!e.disabled;return{classes:o,change:r,blur:g=>{if(e.disabled||e.readonly)return;let b=g.target.valueAsNumber;b<Number(e.min)?b=Number(e.min):b>Number(e.max)&&(b=Number(e.max)),i(b,g),n("blur",g)},focus:g=>{e.disabled||e.readonly||n("focus",g)},add:g=>{if(n("add",g),a()){let S=Number(e.modelValue)+Number(e.step);i(S,g)}else n("overlimit",g,"add")},addAllow:a,reduce:g=>{if(n("reduce",g),s()){let S=Number(e.modelValue)-Number(e.step);i(S,g)}else n("overlimit",g,"reduce")},reduceAllow:s,toPxDesc:Z}}}),mp=["min","max","disabled","readonly","value"];function pp(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({height:e.toPxDesc(e.buttonSize)})},[t.createVNode(a,{name:e.iconLeft,class:t.normalizeClass(["fox-inputnumber__icon",{"fox-inputnumber__icon--disabled":!e.reduceAllow()}]),size:e.buttonSize,onClick:e.reduce},null,8,["name","class","size","onClick"]),t.createElementVNode("input",{type:"number",min:e.min,max:e.max,style:t.normalizeStyle({width:e.toPxDesc(e.inputWidth)}),disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:n[0]||(n[0]=(...s)=>e.change&&e.change(...s)),onBlur:n[1]||(n[1]=(...s)=>e.blur&&e.blur(...s)),onFocus:n[2]||(n[2]=(...s)=>e.focus&&e.focus(...s))},null,44,mp),t.createVNode(a,{name:e.iconRight,class:t.normalizeClass(["fox-inputnumber__icon",{"fox-inputnumber__icon--disabled":!e.addAllow()}]),size:e.buttonSize,onClick:e.add},null,8,["name","class","size","onClick"])],6)}const ka=H(fp,[["render",pp]]),{componentName:hp,create:gp}=O("rate"),yp=gp({props:{count:{type:[String,Number],default:5},modelValue:{type:[String,Number],default:0},iconSize:{type:[String,Number],default:18},activeColor:{type:String,default:""},voidColor:{type:String,default:""},uncheckedIcon:{type:String,default:"star-n"},checkedIcon:{type:String,default:"star-fill-n"},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},touchable:{type:Boolean,default:!0},spacing:{type:[String,Number],default:14},classPrefix:{type:String,default:"fox-icon"},fontClassName:{type:String,default:"foxui-iconfont"}},emits:["update:modelValue","change"],setup(e,{emit:n}){const o=t.ref([]),l=t.computed(()=>({[hp]:!0})),r=d=>{n("update:modelValue",d),n("change",d)},i=(d,g)=>{if(e.disabled||e.readonly)return;let S=0;g===1&&e.modelValue===g||(S=g,e.allowHalf&&d==2&&(S-=.5)),r(S)},a=(d,g,S)=>{let b=0;for(let h=g.value.length-1;h>=0;h--){const v=g.value[h];if(d>v.offsetLeft){S?b=h+(d>v.offsetLeft+v.clientWidth/2?1:.5):b=h+1;break}}return b},s=!0,c=Bt(),m={onTouchStart(d){e.touchable&&c.start(d)},onTouchMove(d){!e.touchable||!s||(c.move(d),c.isHorizontal()&&o.value&&(d.preventDefault(),r(a(c.moveX.value,o,e.allowHalf))))}},f=Math.random().toString(36).slice(-8);return{classes:l,...m,onClick:i,toPxDesc:Z,rateRefs:o,refRandomId:f}}}),vp=["id"];function kp(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Number(e.count),s=>(t.openBlock(),t.createElementBlock("view",{class:"fox-rate-item",key:s,ref_for:!0,ref:"rateRefs",id:"rateRefs-"+e.refRandomId+s,style:t.normalizeStyle({marginRight:e.toPxDesc(e.spacing)})},[t.createVNode(a,{size:e.iconSize,class:t.normalizeClass(["fox-rate-item__icon",{"fox-rate-item__icon--disabled":e.disabled||s>e.modelValue}]),onClick:c=>e.onClick(1,s),color:s<=e.modelValue?e.activeColor:e.voidColor,"font-class-name":e.fontClassName,"class-prefix":e.classPrefix,name:s<=e.modelValue?e.checkedIcon:e.uncheckedIcon},null,8,["size","onClick","class","color","font-class-name","class-prefix","name"]),e.allowHalf&&Number(e.modelValue)+1>s?(t.openBlock(),t.createBlock(a,{key:0,class:"fox-rate-item__icon fox-rate-item__icon--half",onClick:c=>e.onClick(2,s),"font-class-name":e.fontClassName,"class-prefix":e.classPrefix,color:s<=Number(e.modelValue)+1?e.activeColor:e.voidColor,size:e.iconSize,name:e.checkedIcon},null,8,["onClick","font-class-name","class-prefix","color","size","name"])):e.allowHalf&&Number(e.modelValue)+1<s?(t.openBlock(),t.createBlock(a,{key:1,class:"fox-rate-item__icon fox-rate-item__icon--disabled fox-rate-item__icon--half",onClick:c=>e.onClick(2,s),"font-class-name":e.fontClassName,"class-prefix":e.classPrefix,color:e.voidColor,size:e.iconSize,name:e.uncheckedIcon},null,8,["onClick","font-class-name","class-prefix","color","size","name"])):t.createCommentVNode("",!0)],12,vp))),128))],34)}const Sa=H(yp,[["render",kp]]),{create:Sp,scope:bp}=O("shortpassword"),Cp=Sp({props:{title:{type:String,default:""},desc:{type:String,default:""},tips:{type:String,default:""},visible:{type:Boolean,default:!1},modelValue:{type:String,default:""},errorMsg:{type:String,default:""},noButton:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},length:{type:[String,Number],default:6},isWrapTeleport:{type:Boolean,default:!0}},emits:["update:modelValue","update:visible","complete","change","ok","tips","close","cancel"],setup(e,{emit:n}){const{toLocaleRefs:o}=_.useFoxI18n(bp),l=o(e,["title","desc","tips"]),r=t.ref(e.modelValue),i=t.ref(),a=t.computed(()=>S(Number(e.length))),s=t.ref(e.visible);function c(){n("ok",r.value)}function m(){i.value.focus()}t.watch(()=>e.visible,v=>{s.value=v}),t.watch(()=>e.modelValue,v=>{r.value=v,n("update:modelValue",v)},{deep:!0,immediate:!0});function f(v){let p=v.target.value;p.length>a.value&&(p=p.slice(0,a.value),r.value=p),String(r.value).length===a.value&&n("complete",p),n("change",p),n("update:modelValue",p)}function d(){n("update:visible",!1),n("cancel")}function g(){n("update:visible",!1),n("close")}function S(v){return Math.min(Math.max(4,v),6)}function b(){n("tips")}function h(){let v=navigator.userAgent,u=v.indexOf("Android")>-1||v.indexOf("Linux")>-1;if(!!v.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/))return{paddingRight:"1200px"};if(u)return{opacity:0,zindex:10}}return{...l,comLen:a,sureClick:c,realInput:r,realpwd:i,focus:m,range:S,changeValue:f,close:d,onTips:b,show:s,systemStyle:h,closeIcon:g}}}),wp={class:"fox-shortpsd-title"},Np={class:"fox-shortpsd-subtitle"},Bp={class:"fox-input-normalw"},Vp=t.createElementVNode("div",{class:"fox-input-site"},null,-1),Ap={key:0,class:"fox-shortpsd-icon"},Ep={class:"fox-shortpsd-message"},Tp={class:"fox-shortpsd-error"},$p={key:0,class:"fox-shortpsd-forget"},Dp={key:0,class:"fox-shortpsd-footer"};function Ip(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",null,[t.createVNode(s,{style:{padding:"32px 24px 28px 24px",borderRadius:"12px",textAlign:"center"},visible:e.show,"onUpdate:visible":n[6]||(n[6]=c=>e.show=c),closeable:!0,onClickCloseIcon:e.closeIcon,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,isWrapTeleport:e.isWrapTeleport},{default:t.withCtx(()=>[t.createElementVNode("view",wp,t.toDisplayString(e.title),1),t.createElementVNode("view",Np,t.toDisplayString(e.desc),1),t.createElementVNode("div",Bp,[t.withDirectives(t.createElementVNode("input",{ref:"realpwd",class:"fox-input-real",type:"number",maxlength:"6",style:t.normalizeStyle(e.systemStyle()),"onUpdate:modelValue":n[0]||(n[0]=c=>e.realInput=c),onInput:n[1]||(n[1]=(...c)=>e.changeValue&&e.changeValue(...c))},null,36),[[t.vModelText,e.realInput]]),Vp,t.createElementVNode("view",{class:"fox-shortpsd-fake",onClick:n[2]||(n[2]=(...c)=>e.focus&&e.focus(...c))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(new Array(e.comLen),(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-shortpsd-li",key:m},[String(e.realInput).length>m?(t.openBlock(),t.createElementBlock("view",Ap)):t.createCommentVNode("",!0)]))),128))])]),t.createElementVNode("view",Ep,[t.createElementVNode("view",Tp,t.toDisplayString(e.errorMsg),1),e.tips?(t.openBlock(),t.createElementBlock("view",$p,[t.createVNode(a,{class:"icon",size:"11px",name:"tips"}),t.createElementVNode("view",{onClick:n[3]||(n[3]=(...c)=>e.onTips&&e.onTips(...c))},t.toDisplayString(e.tips),1)])):t.createCommentVNode("",!0)]),e.noButton?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Dp,[t.createElementVNode("view",{class:"fox-shortpsd-cancle",onClick:n[4]||(n[4]=(...c)=>e.close&&e.close(...c))},"取消"),t.createElementVNode("view",{class:"fox-shortpsd-sure",onClick:n[5]||(n[5]=(...c)=>e.sureClick&&e.sureClick(...c))},"确认")]))]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay","isWrapTeleport"])])}const ba=H(Cp,[["render",Ip]]);class qp{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload}let zp=class{options;constructor(n){this.options=n}upload(){const n=this.options,o=new XMLHttpRequest;if(o.timeout=n.timeout,o.upload){o.upload.addEventListener("progress",l=>{n.onProgress?.(l,n)},!1),o.onreadystatechange=()=>{o.readyState===4&&(o.status==n.xhrState?n.onSuccess?.(o.responseText,n):n.onFailure?.(o.responseText,n))},o.withCredentials=n.withCredentials,o.open(n.method,n.url,!0);for(const[l,r]of Object.entries(n.headers))o.setRequestHeader(l,r);n.onStart?.(n),n.beforeXhrUpload?n.beforeXhrUpload(o,n):o.send(n.formData)}else console.warn("浏览器不支持 XMLHttpRequest")}uploadTaro(n,o){const l=this.options;if(o==="WEB")this.upload();else if(l.beforeXhrUpload)l.beforeXhrUpload(n,l);else{const r=n({url:l.url,filePath:l.taroFilePath,fileType:l.fileType,header:{"Content-Type":"multipart/form-data",...l.headers},formData:l.formData,name:l.name,success(i){l.xhrState==i.statusCode?l.onSuccess?.(i,l):l.onFailure?.(i,l)},fail(i){l.onFailure?.(i,l)}});l.onStart?.(l),r.progress(i=>{l.onProgress?.(i,l)})}}};class Mp{status="ready";message="ready";uid=new Date().getTime().toString();name;url;type;path;percentage=0;formData={}}const{componentName:Pp,create:xp,scope:Rp}=O("uploader"),Lp=xp({props:{name:{type:String,default:"file"},url:{type:String,default:""},timeout:{type:[Number,String],default:1e3*30},fileList:{type:Array,default:()=>[]},isPreview:{type:Boolean,default:!0},listType:{type:String,default:"picture"},isDeletable:{type:Boolean,default:!0},method:{type:String,default:"post"},capture:{type:Boolean,default:!1},maximize:{type:[Number,String],default:Number.MAX_VALUE},maximum:{type:[Number,String],default:1},clearInput:{type:Boolean,default:!0},accept:{type:String,default:"*"},headers:{type:Object,default:{}},data:{type:Object,default:{}},uploadIcon:{type:String,default:"photograph"},uploadIconSize:{type:[String,Number],default:""},xhrState:{type:[Number,String],default:200},withCredentials:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autoUpload:{type:Boolean,default:!0},beforeUpload:{type:Function,default:null},beforeXhrUpload:{type:Function,default:null},beforeDelete:{type:Function,default:(e,n)=>!0},onChange:{type:Function}},emits:["start","progress","oversize","success","failure","change","delete","update:fileList","file-item-click"],setup(e,{emit:n}){const{t:o}=_.useFoxI18n(Rp),l=t.reactive(e.fileList);let r=[];const i=t.computed(()=>({[Pp]:!0})),a=v=>{v.value=""},s=v=>{n("file-item-click",{fileItem:v})},c=(v,u)=>{const p=new qp;p.url=e.url,p.formData=v.formData,p.timeout=e.timeout*1,p.method=e.method,p.xhrState=e.xhrState,p.headers=e.headers,p.withCredentials=e.withCredentials;try{p.sourceFile=v.formData.get(e.name)}catch{}p.onStart=y=>{v.status="ready",v.message=o("readyUpload"),m(u),n("start",y)},p.onProgress=(y,k)=>{v.status="uploading",v.message=o("uploading"),v.percentage=(y.loaded/y.total*100).toFixed(0),n("progress",{event:y,option:k,percentage:v.percentage})},p.onSuccess=(y,k)=>{v.status="success",v.message=o("success"),n("success",{responseText:y,option:k,fileItem:v}),n("update:fileList",l)},p.onFailure=(y,k)=>{v.status="error",v.message=o("error"),n("failure",{responseText:y,option:k,fileItem:v})};let C=new zp(p);e.autoUpload?C.upload():r.push(new Promise((y,k)=>{y(C)}))},m=(v=-1)=>{v>-1?r.splice(v,1):(r=[],l.splice(0,l.length))},f=()=>{Promise.all(r).then(v=>{v.forEach(u=>u.upload())})},d=v=>{v.forEach((u,p)=>{const C=new FormData;for(const[k,w]of Object.entries(e.data))C.append(k,w);C.append(e.name,u);const y=t.reactive(new Mp);if(y.name=u.name,y.status="ready",y.type=u.type,y.formData=C,y.message=o("waitingUpload"),c(y,p),e.isPreview&&u.type.includes("image")){const k=new FileReader;k.onload=w=>{y.url=w.target.result,l.push(y)},k.readAsDataURL(u)}else l.push(y)})},g=v=>{const u=e.maximum*1,p=e.maximize*1,C=new Array;v=v.filter(k=>k.size>p?(C.push(k),!1):!0),C.length&&n("oversize",C);let y=v.length+l.length;return y>u&&v.splice(v.length-(y-u)),v},S=(v,u)=>{l.splice(u,1),n("delete",{file:v,fileList:l,index:u})};return{onChange:v=>{if(e.disabled)return;const u=v.target;let{files:p}=u;if(e.beforeUpload)e.beforeUpload(p).then(C=>{const y=g(new Array().slice.call(C));d(y)});else{const C=g(new Array().slice.call(p));d(C)}n("change",{fileList:l,event:v}),e.clearInput&&a(u)},onDelete:(v,u)=>{m(u);let p=e.beforeDelete(v,l);Wt(p)?p.then(C=>{C&&S(v,u)}).catch(C=>{}):p&&S(v,u)},fileList:l,classes:i,fileItemClick:s,clearUploadQueue:m,submit:f}}}),Op={key:0,class:"fox-uploader__slot"},Fp=["accept","multiple","name","disabled"],Up=["accept","multiple","name","disabled"],Kp={key:0,class:"fox-uploader__preview-img"},Hp={key:0,class:"fox-uploader__preview__progress"},jp={class:"fox-uploader__preview__progress__msg"},Wp={key:1,class:"fox-uploader__preview__progress"},Yp={class:"fox-uploader__preview__progress__msg"},Xp=["onClick","src"],Qp={key:4,class:"fox-uploader__preview-img__file"},Gp=["onClick"],Zp={class:"tips"},Jp={key:1,class:"fox-uploader__preview-list"},_p=["onClick"],eh=["accept","multiple","name","disabled"],th=["accept","multiple","name","disabled"];function nh(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-progress");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.$slots.default?(t.openBlock(),t.createElementBlock("view",Op,[t.renderSlot(e.$slots,"default"),e.maximum-e.fileList.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.capture?(t.openBlock(),t.createElementBlock("input",{key:0,class:"fox-uploader__input",type:"file",capture:"camera",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled,onChange:n[0]||(n[0]=(...c)=>e.onChange&&e.onChange(...c))},null,40,Fp)):(t.openBlock(),t.createElementBlock("input",{key:1,class:"fox-uploader__input",type:"file",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled,onChange:n[1]||(n[1]=(...c)=>e.onChange&&e.onChange(...c))},null,40,Up))],64)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.fileList,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-uploader__preview",[e.listType]]),key:c.uid},[e.listType=="picture"&&!e.$slots.default?(t.openBlock(),t.createElementBlock("view",Kp,[c.status=="ready"?(t.openBlock(),t.createElementBlock("view",Hp,[t.createElementVNode("view",jp,t.toDisplayString(c.message),1)])):c.status!="success"?(t.openBlock(),t.createElementBlock("view",Wp,[t.createVNode(a,{color:"#fff",name:c.status=="error"?"failure":"loading"},null,8,["name"]),t.createElementVNode("view",Yp,t.toDisplayString(c.message),1)])):t.createCommentVNode("",!0),e.isDeletable?(t.openBlock(),t.createBlock(a,{key:2,onClick:f=>e.onDelete(c,m),class:"close",name:"failure"},null,8,["onClick"])):t.createCommentVNode("",!0),c.type.includes("image")&&c.url?(t.openBlock(),t.createElementBlock("img",{key:3,class:"fox-uploader__preview-img__c",onClick:f=>e.fileItemClick(c),src:c.url},null,8,Xp)):(t.openBlock(),t.createElementBlock("view",Qp,[t.createElementVNode("view",{onClick:f=>e.fileItemClick(c),class:"fox-uploader__preview-img__file__name"},[t.createVNode(a,{color:"#808080",name:"link"}),t.createTextVNode(" "+t.toDisplayString(c.name),1)],8,Gp)])),t.createElementVNode("view",Zp,t.toDisplayString(c.name),1)])):e.listType=="list"?(t.openBlock(),t.createElementBlock("view",Jp,[t.createElementVNode("view",{onClick:f=>e.fileItemClick(c),class:t.normalizeClass(["fox-uploader__preview-img__file__name",[c.status]])},[t.createVNode(a,{name:"link"}),t.createTextVNode(" "+t.toDisplayString(c.name),1)],10,_p),t.createVNode(a,{class:"fox-uploader__preview-img__file__del",onClick:f=>e.onDelete(c,m),color:"#808080",name:"del"},null,8,["onClick"]),c.status=="uploading"?(t.openBlock(),t.createBlock(s,{key:0,size:"small",percentage:c.percentage,"stroke-color":"linear-gradient(270deg, rgba(18,126,255,1) 0%,rgba(32,147,255,1) 32.815625%,rgba(13,242,204,1) 100%)","show-text":!1},null,8,["percentage"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2))),128)),e.listType=="picture"&&!e.$slots.default&&e.maximum-e.fileList.length?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-uploader__upload",[e.listType]])},[t.createVNode(a,{size:e.uploadIconSize,color:"#808080",name:e.uploadIcon},null,8,["size","name"]),e.capture?(t.openBlock(),t.createElementBlock("input",{key:0,class:"fox-uploader__input",type:"file",capture:"camera",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled,onChange:n[2]||(n[2]=(...c)=>e.onChange&&e.onChange(...c))},null,40,eh)):(t.openBlock(),t.createElementBlock("input",{key:1,class:"fox-uploader__input",type:"file",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled,onChange:n[3]||(n[3]=(...c)=>e.onChange&&e.onChange(...c))},null,40,th))],2)):t.createCommentVNode("",!0)],2)}const Ca=H(Lp,[["render",nh]]),oh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMu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:{type:String,default:""},title:{type:String,default:""},visible:{type:Boolean,default:!1},type:{type:String,default:"default"},customKey:{type:Array,default:()=>[]},value:{type:String,default:""},maxlength:{type:[Number,String],default:6},randomKeys:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},isWrapTeleport:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},popClass:{type:String,default:""}},emits:["input","delete","close","update:value"],setup(e,{emit:n}){const{toLocaleRefs:o}=_.useFoxI18n(rh),l=o(e,["confirmText"]),r=t.ref(void 0),i=t.ref(e.visible),a=t.ref();function s(){const{customKey:h}=e;let v={id:"lock",type:"lock"},u=Array.isArray(h)?h:[h];return u.length===1&&(v={id:u[0],type:"custom"}),[...c(),v,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const h=[];for(let v=1;v<=9;v++)h.push({id:v,type:"number"});return e.randomKeys?h.sort(()=>Math.random()>.5?1:-1):h}function m(){const h=c(),{customKey:v}=e;let u=Array.isArray(v)?v:[v];return u.length>2&&(u=[u[0],u[1]]),u.length==2&&e.title&&e.type!="rightColumn"&&(u=[u[0]]),u.length===1?e.title&&e.type!="rightColumn"?h.push({id:u[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):h.push({id:0,type:"number"},{id:u[0],type:"custom"}):u.length===2&&h.push({id:u[0],type:"custom"},{id:0,type:"number"},{id:u[1],type:"custom"}),h}const f=t.computed(()=>e.type=="rightColumn"||e.title!=""?m():s());t.watch(()=>e.visible,h=>{i.value=h});function d(h,v){v.stopPropagation(),r.value=h.id,(h.type=="number"||h.type=="custom")&&(n("input",h.id),e.value.length<e.maxlength&&n("update:value",e.value+h.id)),h.type=="lock"&&b(),h.type=="delete"&&(n("delete"),n("update:value",e.value.slice(0,e.value.length-1)))}function g(h){h.stopPropagation()}function S(h){h.preventDefault(),r.value=void 0}function b(){n("close")}return{...l,delImg:oh,lockImg:lh,clickKeyIndex:r,defaultKey:s,closeBoard:b,onTouchEnd:S,onTouchMove:g,onTouchstart:d,keysList:f,genCustomKeys:m,getBasicKeys:c,root:a,show:i}}}),ih={class:"fox-numberkeyboard",ref:"root"},ch={key:0,class:"number-board-header"},uh={class:"tit"},dh={class:"number-board-body"},fh={class:"number-board"},mh=["onTouchstart"],ph=["src"],hh=["src"],gh={key:0,class:"number-board-sidebar"},yh={class:"key-board-wrapper"},vh=["src"];function kh(e,n,o,l,r,i){const a=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(a,{visible:e.show,"onUpdate:visible":n[7]||(n[7]=s=>e.show=s),position:"bottom",teleport:e.teleport,popClass:e.popClass,overlay:e.overlay,onClickOverlay:n[8]||(n[8]=s=>e.closeBoard()),isWrapTeleport:e.isWrapTeleport,"overlay-class":"fox-numberkeyboard-overlay"},{default:t.withCtx(()=>[t.createElementVNode("div",ih,[e.title?(t.openBlock(),t.createElementBlock("div",ch,[t.createElementVNode("h3",uh,t.toDisplayString(e.title),1),e.type=="default"?(t.openBlock(),t.createElementBlock("span",{key:0,class:"keyboard-close",onClick:n[0]||(n[0]=s=>e.closeBoard())},t.toDisplayString(e.confirmText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",dh,[t.createElementVNode("div",fh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.keysList,s=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["key-board-wrapper",{"key-board-wrapper-large":s.id==0&&e.type=="rightColumn"&&Array.isArray(e.customKey)&&e.customKey.length==1}]),key:"key"+s.id},[t.createElementVNode("div",{class:t.normalizeClass(["key",{active:s.id==e.clickKeyIndex},{lock:s.type=="lock"},{delete:s.type=="delete"}]),onTouchstart:c=>e.onTouchstart(s,c),onTouchmove:n[1]||(n[1]=c=>e.onTouchMove(c)),onTouchend:n[2]||(n[2]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[s.type=="number"||s.type=="custom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(s.id),1)],64)):t.createCommentVNode("",!0),s.type=="lock"?(t.openBlock(),t.createElementBlock("img",{key:1,src:e.lockImg},null,8,ph)):t.createCommentVNode("",!0),s.type=="delete"?(t.openBlock(),t.createElementBlock("img",{key:2,src:e.delImg},null,8,hh)):t.createCommentVNode("",!0)],42,mh)],2))),128))]),e.type=="rightColumn"?(t.openBlock(),t.createElementBlock("div",gh,[t.createElementVNode("div",yh,[t.createElementVNode("div",{class:t.normalizeClass(["key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:n[3]||(n[3]=s=>e.onTouchstart({id:"delete",type:"delete"},s)),onTouchmove:n[4]||(n[4]=s=>e.onTouchMove(s)),onTouchend:n[5]||(n[5]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[t.createElementVNode("img",{src:e.delImg},null,8,vh)],34)]),t.createElementVNode("div",{class:"key-board-wrapper key-board-finish",onClick:n[6]||(n[6]=s=>e.closeBoard())},[t.createElementVNode("div",{class:t.normalizeClass(["key","finish",{activeFinish:e.clickKeyIndex=="finish"}])},t.toDisplayString(e.confirmText),3)])])):t.createCommentVNode("",!0)])],512)]),_:1},8,["visible","teleport","popClass","overlay","isWrapTeleport"])}const wa=H(sh,[["render",kh]]),{componentName:Sh,create:bh}=O("swipe"),Ch=bh({props:{name:{type:String,default:""},touchMoveStopPropagation:{type:Boolean,default:!1},touchMovePreventDefault:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["open","close"],setup(e,{emit:n}){const o=t.computed(()=>({[Sh]:!0})),l=p=>p.value?.clientWidth||0,r=t.ref(),i=t.computed(()=>l(r)),a=t.ref(),s=t.computed(()=>l(a));let c=!1,m="",f="";const d=t.reactive({offset:0,moving:!1}),g=(p="")=>{c=!0,p&&(d.offset=p==="left"?-s.value:i.value),n("open",{name:e.name,position:m||p})},S=()=>{d.offset=0,c=!1,n("close",{name:e.name,position:m})},b=t.computed(()=>({transform:`translate3d(${d.offset}px, 0, 0)`})),h=p=>{m=p>0?"right":"left";let C=p;switch(m){case"left":c&&f===m?C=-s.value:C=Math.abs(p)>s.value?-s.value:p;break;case"right":c&&f===m?C=i.value:C=Math.abs(p)>i.value?i.value:p;break}d.offset=C},v=Bt();return{classes:o,touchStyle:b,...{onTouchStart(p){e.disabled||v.start(p)},onTouchMove(p){e.disabled||(v.move(p),v.isHorizontal()&&(d.moving=!0,h(v.deltaX.value),e.touchMovePreventDefault&&p.preventDefault(),e.touchMoveStopPropagation&&p.stopPropagation()))},onTouchEnd(){if(d.moving)switch(d.moving=!1,f=m,m){case"left":Math.abs(d.offset)<=s.value/2?S():(d.offset=-s.value,g());break;case"right":Math.abs(d.offset)<=i.value/2?S():(d.offset=i.value,g());break}}},leftRef:r,rightRef:a,open:g,close:S}}}),wh={class:"fox-swipe__left",ref:"leftRef"},Nh={class:"fox-swipe__content"},Bh={class:"fox-swipe__right",ref:"rightRef"};function Vh(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.touchStyle),onTouchstart:n[0]||(n[0]=(...a)=>e.onTouchStart&&e.onTouchStart(...a)),onTouchmove:n[1]||(n[1]=(...a)=>e.onTouchMove&&e.onTouchMove(...a)),onTouchend:n[2]||(n[2]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a)),onTouchcancel:n[3]||(n[3]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a))},[t.createElementVNode("view",wh,[t.renderSlot(e.$slots,"left")],512),t.createElementVNode("view",Nh,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",Bh,[t.renderSlot(e.$slots,"right")],512)],38)}const Na=H(Ch,[["render",Vh]]),{componentName:Ah,create:Eh}=O("actionsheet"),Th=Eh({props:{...Oe,cancelText:{type:String,default:""},optionTag:{type:String,default:"name"},optionSubTag:{type:String,default:"subname"},chooseTagValue:{type:String,default:""},title:{type:String,default:""},color:{type:String,default:"#ee0a24"},description:{type:String,default:""},menuItems:{type:Array,default:()=>[]},isWrapTeleport:{type:Boolean,default:!0},closeAbled:{type:Boolean,default:!0}},emits:["cancel","close","choose","update:visible"],setup(e,{emit:n}){const o=t.computed(()=>({[Ah]:!0}));return{isHighlight:s=>e.chooseTagValue&&e.chooseTagValue===s[e.optionTag]?e.color:"#1a1a1a",cancelActionSheet:()=>{n("cancel"),n("update:visible",!1)},chooseItem:(s,c)=>{s.disable||(n("choose",s,c),n("update:visible",!1))},close:()=>{n("close"),n("update:visible",!1)},classes:o}}}),$h={class:"fox-actionsheet-panel"},Dh={key:0,class:"fox-actionsheet-title"},Ih={key:0,class:"fox-actionsheet-item desc"},qh={key:1,class:"fox-actionsheet-menu"},zh=["onClick"],Mh={class:"subdesc"};function Ph(e,n,o,l,r,i){const a=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(a,{"pop-class":"popclass",visible:e.visible,isWrapTeleport:e.isWrapTeleport,position:"bottom",round:"",onClickOverlay:e.close,closeOnClickOverlay:e.closeAbled},{default:t.withCtx(()=>[t.createElementVNode("view",$h,[e.title?(t.openBlock(),t.createElementBlock("view",Dh,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default",{},()=>[e.description?(t.openBlock(),t.createElementBlock("view",Ih,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0),e.menuItems.length?(t.openBlock(),t.createElementBlock("view",qh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menuItems,(s,c)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-actionsheet-item",{"fox-actionsheet-item-disabled":s.disable}]),style:t.normalizeStyle({color:e.isHighlight(s)}),key:c,onClick:m=>e.chooseItem(s,c)},[t.createTextVNode(t.toDisplayString(s[e.optionTag]),1),t.createElementVNode("view",Mh,t.toDisplayString(s[e.optionSubTag]),1)],14,zh))),128))])):t.createCommentVNode("",!0),e.cancelText?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-actionsheet-cancel",onClick:n[0]||(n[0]=(...s)=>e.cancelActionSheet&&e.cancelActionSheet(...s))},t.toDisplayString(e.cancelText),1)):t.createCommentVNode("",!0)])])]),_:3},8,["visible","isWrapTeleport","onClickOverlay","closeOnClickOverlay"])],2)}const Ba=H(Th,[["render",Ph]]),{componentName:xh,create:Rh}=O("backtop"),Lh=Rh({props:{bottom:{type:Number,default:20},right:{type:Number,default:10},elId:{type:[String,Object],default:"body"},distance:{type:Number,default:200},zIndex:{type:Number,default:10},isAnimation:{type:Boolean,default:!0},duration:{type:Number,default:1e3}},emits:["click"],setup(e,{emit:n}){const o=t.reactive({backTop:!1,scrollTop:0,scrollEl:window,startTime:0,keepAlive:!1}),l=t.computed(()=>({[xh]:!0,show:o.backTop})),r=t.computed(()=>({right:`${e.right}px`,bottom:`${e.bottom}px`,zIndex:e.zIndex}));function i(){o.scrollEl instanceof Window?o.scrollTop=o.scrollEl.pageYOffset:o.scrollTop=o.scrollEl.scrollTop,o.backTop=o.scrollTop>=e.distance}function a(b=0){o.scrollEl instanceof Window?window.scrollTo(0,b):o.scrollEl.scrollTop=b}function s(){let b=d()(function h(){var v=e.duration-Math.max(0,o.startTime-+new Date+e.duration),u=v*-o.scrollTop/e.duration+o.scrollTop;a(u),b=d()(h),(v==e.duration||u==0)&&window.cancelAnimationFrame(b)})}function c(){o.scrollEl.addEventListener("scroll",i,!1),o.scrollEl.addEventListener("resize",i,!1)}function m(){o.scrollEl.removeEventListener("scroll",i,!1),o.scrollEl.removeEventListener("resize",i,!1)}function f(){window.cancelAnimationFrame=window.webkitCancelAnimationFrame}function d(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(b){window.setTimeout(b,1e3/60)}}function g(b){o.startTime=+new Date,e.isAnimation&&e.duration>0?s():a(),n("click",b)}function S(){if(!e.elId)return;let b;typeof e.elId=="string"?b=document.getElementById(e.elId):b=e.elId,o.scrollEl=b,c(),f()}return t.onMounted(()=>{e.distance==0&&(o.backTop=!0),S()}),t.onUnmounted(()=>{m()}),t.onActivated(()=>{o.keepAlive&&(o.keepAlive=!1,S())}),t.onDeactivated(()=>{o.keepAlive=!0,m()}),{state:o,classes:l,style:r,click:g}}});function Oh(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style),onClick:n[0]||(n[0]=t.withModifiers((...s)=>e.click&&e.click(...s),["stop"]))},[t.renderSlot(e.$slots,"default",{},()=>[t.createVNode(a,{size:"19px",class:"fox-backtop-main",name:"top"})])],6)}const Va=H(Lh,[["render",Oh]]),{componentName:Fh,create:Uh}=O("drag"),Kh=Uh({props:{attract:{type:Boolean,default:!1},direction:{type:String,default:"all"},boundary:{type:Object,default:()=>({top:0,left:0,right:0,bottom:0})}},setup(e,{emit:n}){const o=t.ref(),l=t.reactive({keepAlive:!1,elWidth:0,elHeight:0,screenWidth:0,screenHeight:0,startTop:0,startLeft:0,nx:0,ny:0,xPum:0,yPum:0,position:{x:0,y:0},boundary:{top:0,left:0,right:0,bottom:0}}),r=t.computed(()=>({[Fh]:!0}));function i(){const d=document.documentElement;l.elWidth=o.value.offsetWidth,l.elHeight=o.value.offsetHeight,l.screenWidth=d.clientWidth,l.screenHeight=d.clientHeight}function a(d){l.boundary.left?+d.style.left.split("px")[0]>l.boundary.left?(d.style.left=+d.style.left.split("px")[0]-10+"px",Fe(()=>{a(d)})):d.style.left=`${l.boundary.left}px`:+d.style.left.split("px")[0]>10?(d.style.left=+d.style.left.split("px")[0]-10+"px",Fe(()=>{a(d)})):d.style.left="0px"}function s(d,g){g-parseInt(d.style.left.split("px")[0])>10?(d.style.left=parseInt(d.style.left.split("px")[0])+10+"px",Fe(()=>{s(d,g)})):d.style.left=g+"px"}function c(d){d.preventDefault();const g=d.currentTarget;if(d.targetTouches.length===1){const S=d.targetTouches[0];l.nx=S.clientX-l.position.x,l.ny=S.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny;const b=l.screenWidth-l.elWidth-l.boundary.right;Math.abs(l.xPum)>b?l.xPum=b:l.xPum<=l.boundary.left&&(l.xPum=l.boundary.left),l.yPum<l.boundary.top?l.yPum=l.boundary.top:l.yPum>l.screenHeight-l.elHeight-l.boundary.bottom&&(l.yPum=l.screenHeight-l.elHeight-l.boundary.bottom),e.direction!="y"&&(g.style.left=l.xPum+"px"),e.direction!="x"&&(g.style.top=l.yPum+"px")}}function m(d){const g=d.currentTarget;let b=d.changedTouches[0].clientX;const h=l.screenWidth-l.elWidth-l.boundary.right;b>h?b=h:b<l.boundary.left?b=l.boundary.left:b=b<l.screenWidth/2?l.boundary.left:h,e.direction!="y"&&e.attract&&(b<l.screenWidth/2?Fe(()=>{a(g)}):Fe(()=>{s(g,h)})),e.direction!="x"&&(g.style.top=l.yPum+"px")}function f(d){const g=d.currentTarget,S=d.touches[0],b=d.targetTouches[0];l.startTop=g.offsetTop,l.startLeft=g.offsetLeft,l.position.x=S.clientX,l.position.y=S.clientY,l.nx=b.clientX-l.position.x,l.ny=b.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny}return t.onMounted(()=>{i(),l.boundary=e.boundary}),t.onActivated(()=>{l.keepAlive&&(l.keepAlive=!1)}),t.onDeactivated(()=>{l.keepAlive=!0;const d=o;d.value.removeEventListener("touchstart",f),d.value.removeEventListener("touchmove",c),d.value.removeEventListener("touchend",m)}),{classes:r,myDrag:o,touchStart:f,touchMove:c,touchEnd:m}}});function Hh(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"myDrag",onTouchstart:n[0]||(n[0]=a=>e.touchStart(a)),onTouchmove:n[1]||(n[1]=a=>e.touchMove(a)),onTouchend:n[2]||(n[2]=a=>e.touchEnd(a))},[t.renderSlot(e.$slots,"default")],34)}const Aa=H(Kh,[["render",Hh]]),{componentName:jh,create:Wh,scope:Yh}=O("dialog"),Xh=Wh({inheritAttrs:!1,components:{[he.name]:he,[et.name]:et},props:{...Oe,closeOnClickOverlay:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:[String,Object],default:""},noFooter:{type:Boolean,default:!1},noConfirmBtn:{type:Boolean,default:!1},noCancelBtn:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""},cancelAutoClose:{type:Boolean,default:!0},textAlign:{type:String,default:"center"},closeOnPopstate:{type:Boolean,default:!1},footerDirection:{type:String,default:"horizontal"},customClass:{type:String,default:""},popStyle:{type:Object},beforeClose:{type:Function}},emits:["update","update:visible","confirm","cancel","opened","closed"],setup(e,{emit:n}){const{toLocaleRefs:o}=_.useFoxI18n(Yh),l=o(e,["confirmText","cancelText"]),r=t.ref(e.visible);t.onMounted(()=>{e.closeOnPopstate&&Ye&&window.addEventListener("popstate",function(){s("page")})}),t.watch(()=>e.visible,f=>{r.value=f,f&&n("opened")});const i=t.computed(()=>({[jh]:!0,[e.customClass]:!0})),a=f=>{n("update",f),n("update:visible",f)},s=f=>{if(e.beforeClose){const d=e.beforeClose(f);Wt(d)&&d.then(g=>{g&&(a(!1),n("closed"))})}else a(!1),n("closed")};return{...l,closed:s,classes:i,onCancel:()=>{n("cancel"),e.cancelAutoClose&&s("cancel")},onConfirm:()=>{n("confirm"),s("confirm")},showPopup:r}}}),Qh={key:0,class:"fox-dialog__header"},Gh=["innerHTML"];function Zh(e,n,o,l,r,i){const a=t.resolveComponent("fox-button"),s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{teleport:e.teleport,visible:e.showPopup,"onUpdate:visible":n[0]||(n[0]=c=>e.showPopup=c),"close-on-click-overlay":e.closeOnClickOverlay,"lock-scroll":e.lockScroll,"pop-class":e.popClass,style:t.normalizeStyle(e.popStyle),"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,round:"",onClickOverlay:e.closed,onClickCloseIcon:e.closed},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[e.$slots.header||e.title?(t.openBlock(),t.createElementBlock("view",Qh,[e.$slots.header?t.renderSlot(e.$slots,"header",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.title),1)],64))])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-dialog__content",style:t.normalizeStyle({textAlign:e.textAlign})},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:0}):typeof e.content=="string"?(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.content},null,8,Gh)):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.content),{key:2}))],4),e.noFooter?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-dialog__footer",{[e.footerDirection]:e.footerDirection}])},[e.$slots.footer?t.renderSlot(e.$slots,"footer",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.noCancelBtn?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,size:"small",plain:"",type:"primary",class:"fox-dialog__footer-cancel",onClick:e.onCancel},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.cancelText),1)]),_:1},8,["onClick"])),e.noConfirmBtn?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:1,size:"small",type:"primary",class:"fox-dialog__footer-ok",onClick:e.onConfirm},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.confirmText),1)]),_:1},8,["onClick"]))],64))],2))],2)]),_:3},8,["teleport","visible","close-on-click-overlay","lock-scroll","pop-class","style","overlay-class","overlay-style","onClickOverlay","onClickCloseIcon"])}const Ea=H(Xh,[["render",Zh]]);class Jh{title="";content="";cancelText="";confirmText="";textAlign="center";customClass="";overlayStyle={};overlayClass="";popStyle={};popClass="";teleport="body";id=new Date().getTime();footerDirection="horizontal";onUpdate=n=>{};onConfirm=()=>{};onCancel=()=>{};onOpened=()=>{};onClosed=()=>{};beforeClose;visible=!0;noFooter=!1;noConfirmBtn=!1;noCancelBtn=!1;confrimBtnDisabled=!1;closeOnPopstate=!1;lockScroll=!1}class _h{options=new Jh;instance;constructor(n){let o=Object.assign(this.options,n),l=document.body,r=o.teleport;r!="body"&&(typeof r=="string"?l=document.querySelector(r):l=o.teleport);const i=document.createElement("view");i.id="dialog-"+o.id;const a={setup(){return o.onUpdate=s=>{s==!1&&l.removeChild(i)},o?.onOpened&&o?.onOpened(),o.teleport=`#${i.id}`,()=>t.h(Ea,o)}};this.instance=t.createVNode(a),l.appendChild(i),t.render(this.instance,i)}close=()=>{};setDefaultOptions=n=>{};resetDefaultOptions=()=>{}}const Ht=function(e){return new _h(e)};Ht.install=e=>{e.use(Ea),e.config.globalProperties.$dialog=Ht};const{componentName:eg,create:tg,scope:ng}=O("infiniteloading"),og=tg({props:{hasMore:{type:Boolean,default:!0},threshold:{type:Number,default:200},pullIcon:{type:String,default:"refresh"},pullClass:{type:String},pullText:{type:String,default:""},loadIcon:{type:String,default:"refresh"},loadClass:{type:String},loadText:{type:String,default:""},loadMoreText:{type:String,default:"..."},useWindow:{type:Boolean,default:!0},containerId:{type:String,default:""},useCapture:{type:Boolean,default:!1},isOpenRefresh:{type:Boolean,default:!1}},emits:["scroll-change","load-more","refresh"],setup(e,{emit:n,slots:o}){const{toLocaleRefs:l}=_.useFoxI18n(ng),r=l(e,["pullText","loadText","loadMoreText"]),i=t.reactive({scrollEl:window,scroller:null,refreshTop:null,beforeScrollTop:0,isTouching:!1,isInfiniting:!1,refreshMaxH:0,y:0,x:0,distance:0}),a=t.computed(()=>({[eg]:!0})),s=t.computed(()=>({height:i.distance<0?"0px":`${i.distance}px`,transition:i.isTouching?"height 0s cubic-bezier(0.25,0.1,0.25,1)":"height 0.2s cubic-bezier(0.25,0.1,0.25,1)"})),c=()=>window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(k){window.setTimeout(k,1e3/60)},m=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,f=k=>k?k.offsetTop+f(k.offsetParent):0,d=()=>{let k=0,w=0,N="down";const V=m();if(e.useWindow)i.scroller&&(k=f(i.scroller)+i.scroller.offsetHeight-V-window.innerHeight),w=V;else{const{scrollHeight:A,clientHeight:E,scrollTop:q}=i.scrollEl;k=A-E-q,w=q}return i.beforeScrollTop>w?N="up":N="down",i.beforeScrollTop=w,n("scroll-change",w),k<=e.threshold&&N=="down"},g=()=>{i.isInfiniting=!1},S=()=>{c()(()=>{if(!d()||!e.hasMore||i.isInfiniting)return!1;i.isInfiniting=!0,n("load-more",g)})},b=()=>{i.scrollEl.addEventListener("scroll",S,e.useCapture)},h=()=>{i.distance=0,i.isTouching=!1},v=k=>{if(i.beforeScrollTop==0&&!i.isTouching&&e.isOpenRefresh){i.y=k.touches[0].pageY,i.isTouching=!0;const w=i.refreshTop.firstElementChild.offsetHeight;i.refreshMaxH=Math.floor(w*1+10)}},u=k=>{i.distance=k.touches[0].pageY-i.y,i.distance>0&&i.isTouching?(k.preventDefault(),i.distance>=i.refreshMaxH&&(i.distance=i.refreshMaxH)):(i.distance=0,i.isTouching=!1)},p=()=>{i.distance<i.refreshMaxH?i.distance=0:n("refresh",h)},C=k=>e.containerId?document.querySelector(`#${e.containerId}`):k&&k.parentNode;t.onMounted(()=>{const k=C(i.scroller);i.scrollEl=e.useWindow?window:k,b()}),t.onUnmounted(()=>{i.scrollEl.removeEventListener("scroll",S,e.useCapture)});const y=t.ref(!1);return t.onActivated(()=>{y.value&&(y.value=!1,b())}),t.onDeactivated(()=>{y.value=!0,i.scrollEl.removeEventListener("scroll",S,e.useCapture)}),{...r,classes:a,...t.toRefs(i),touchStart:v,touchMove:u,touchEnd:p,getStyle:s,slots:o}}}),lg={class:"top-box"},ag={class:"top-text"},rg={class:"fox-infinite-container"},sg={class:"fox-infinite-bottom"},ig={key:0,class:"bottom-box"},cg={class:"bottom-text"},ug={key:0,class:"tips"};function dg(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"scroller",onTouchstart:n[0]||(n[0]=(...s)=>e.touchStart&&e.touchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.touchMove&&e.touchMove(...s)),onTouchend:n[2]||(n[2]=(...s)=>e.touchEnd&&e.touchEnd(...s))},[t.createElementVNode("view",{class:"fox-infinite-top",ref:"refreshTop",style:t.normalizeStyle(e.getStyle)},[t.createElementVNode("view",lg,[t.createVNode(a,{class:t.normalizeClass(["top-img",e.pullClass]),name:e.pullIcon},null,8,["class","name"]),t.createElementVNode("view",ag,t.toDisplayString(e.pullText),1)])],4),t.createElementVNode("view",rg,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",sg,[e.isInfiniting?(t.openBlock(),t.createElementBlock("view",ig,[e.slots.loading?t.renderSlot(e.$slots,"loading",{key:1}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(a,{class:t.normalizeClass(["bottom-img",e.loadClass]),name:e.loadIcon},null,8,["class","name"]),t.createElementVNode("view",cg,t.toDisplayString(e.loadText),1)],64))])):e.hasMore?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.slots.finished?t.renderSlot(e.$slots,"finished",{key:1}):(t.openBlock(),t.createElementBlock("view",ug,t.toDisplayString(e.loadMoreText),1))],64))])],34)}const Ta=H(og,[["render",dg]]),{componentName:B1,create:fg}=O("notify"),mg=fg({components:{[he.name]:he},props:{id:String,color:{type:String,default:""},msg:{type:String,default:""},duration:{type:Number,default:3e3},className:{type:String,default:""},background:{type:String,default:""},type:{type:String,default:"danger"},modelVisible:{type:Boolean,default:!1},position:{type:String,default:"top"},isWrapTeleport:{type:Boolean,default:!0},onClose:Function,onClick:Function,unmount:Function},setup(e,{slots:n}){let o=null;const l=t.reactive({mounted:!1});t.onMounted(()=>{});const r=t.ref(e.modelVisible),i=()=>{e.onClick&&e.onClick()},a=()=>{o&&(clearTimeout(o),o=null)},s=()=>{l.mounted=!1},c=()=>{a(),e.duration&&(o=setTimeout(()=>{s()},e.duration))};return e.duration&&c(),t.watch(()=>e.duration,f=>{f&&c()}),{state:l,hide:s,onAfterLeave:()=>{a(),e.unmount&&e.unmount(e.id),e.onClose&&e.onClose()},clickCover:i,showPopup:r}}});function pg(e,n,o,l,r,i){const a=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(a,{visible:e.showPopup,"onUpdate:visible":n[1]||(n[1]=s=>e.showPopup=s),position:e.position,overlay:!1,isWrapTeleport:e.isWrapTeleport},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["fox-notify",`fox-notify--${e.type}`,e.className]),style:t.normalizeStyle({color:e.color,background:e.background}),onClick:n[0]||(n[0]=(...s)=>e.clickCover&&e.clickCover(...s))},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.msg),1)],64))],6)]),_:3},8,["visible","position","isWrapTeleport"])}const ao=H(mg,[["render",pg]]),xn={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:""};let Ge=[],yt=[];const $a=e=>{if(e){const n=document.getElementById(e);yt=yt.filter(o=>o.id!==e),Ge=Ge.filter(o=>o!==e),n&&document.body.removeChild(n)}else Ge.forEach(n=>{const o=document.getElementById(n);o&&document.body.removeChild(o)}),yt=[],Ge=[]},hg=e=>{const n=document.getElementById(e.id);if(n){const o=yt.find(r=>r.id===e.id);o?e={...xn,...o,...e}:e={...xn,...e};const l=t.createVNode(ao,e);return t.render(l,n),l.component.ctx}},ut=e=>{e.unmount=$a;let n;if(e.id){if(n=e.id,Ge.find(i=>i===e.id))return hg(e)}else n=new Date().getTime()+"";e={...xn,...e},e.id=n,Ge.push(e.id),yt.push(e);const o=document.createElement("view");o.id="notify-"+e.id;const l={setup(){return e.teleport=`#notify-${e.id}`,t.onMounted(()=>{setTimeout(()=>{document.body.removeChild(o)},e.duration)}),()=>t.h(ao,e)}},r=t.createVNode(l);document.body.appendChild(o),t.render(r,o)},dt=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},ro={text(e,n={}){return dt(e),ut({...n,msg:e})},primary(e,n={}){return dt(e),ut({...n,msg:e,type:"primary"})},success(e,n={}){return dt(e),ut({...n,msg:e,type:"success"})},danger(e,n={}){return dt(e),ut({...n,msg:e,type:"danger"})},warn(e,n={}){return dt(e),ut({...n,msg:e,type:"warning"})},hide(){$a()},install(e){e.use(ao),e.config.globalProperties.$notify=ro}},{create:gg}=O("toast"),yg=gg({components:{[re.name]:re},props:{id:{type:String,required:!1},msg:{type:String,required:!1},duration:{type:Number,default:2e3},center:{type:Boolean,default:!0},type:{type:String,required:!1},customClass:{type:String,required:!1},bottom:{type:String,default:"30px"},size:{type:[String,Number],default:"base"},iconSize:{type:String,default:"20"},icon:{type:String,required:!1},iconColor:{type:String,required:!1,default:"#ffffff"},textAlignCenter:{type:Boolean,default:!0},loadingRotate:{type:Boolean,default:!0},bgColor:{type:String,default:""},onClose:{type:Function,required:!1},unmount:{type:Function,required:!1},cover:{type:Boolean,default:!1},coverColor:{type:String,default:""},title:{type:String,default:""},closeOnClickOverlay:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:n}){let o;const l=t.reactive({mounted:!1});t.onMounted(()=>{l.mounted=!0});const r=()=>{o&&(clearTimeout(o),o=null)},i=()=>{l.mounted=!1},a=()=>{r(),e.duration&&(o=setTimeout(()=>{i()},e.duration))},s=()=>{e.closeOnClickOverlay&&(i(),n("close"))};e.duration&&a(),t.watch(()=>e.duration,g=>{g&&a()});const c=t.computed(()=>e.type!=="text"?!0:!!e.icon),m=t.computed(()=>["fox-toast",{"fox-toast-center":e.center},{"fox-toast-has-icon":c.value},{"fox-toast-cover":e.cover},{"fox-toast-loading":e.type==="loading"},e.customClass,"fox-toast-"+e.size]),f=t.computed(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:l,hide:i,clickCover:s,hasIcon:c,toastBodyClass:m,toastIconWrapperClass:f,onAfterLeave:()=>{r(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),vg={key:1,class:"fox-toast-title"},kg=["innerHTML"];function Sg(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createBlock(t.Transition,{name:"toast-fade",onAfterLeave:e.onAfterLeave},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.toastBodyClass),style:t.normalizeStyle({bottom:e.center?"auto":e.bottom,"background-color":e.coverColor}),onClick:n[0]||(n[0]=(...s)=>e.clickCover&&e.clickCover(...s))},[t.createElementVNode("view",{class:"fox-toast-inner",style:t.normalizeStyle({"text-align":e.textAlignCenter?"center":"left","background-color":e.bgColor})},[e.hasIcon?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.toastIconWrapperClass)},[t.createVNode(a,{size:e.iconSize,color:e.iconColor,name:e.icon},null,8,["size","color","name"])],2)):t.createCommentVNode("",!0),e.title?(t.openBlock(),t.createElementBlock("div",vg,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,kg)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const so=H(yg,[["render",Sg]]),Rn={msg:"",id:"",duration:2e3,center:!0,type:"text",title:"",customClass:"",bottom:"30px",size:"base",iconSize:"20",icon:null,textAlignCenter:!0,loadingRotate:!0,bgColor:"",onClose:null,unmount:null,cover:!1,coverColor:"",closeOnClickOverlay:!1};let Ze=[],vt=[];const Da=e=>{if(e){const n=document.getElementById(e);vt=vt.filter(o=>o.id!==e),Ze=Ze.filter(o=>o!==e),n&&document.body.removeChild(n)}else Ze.forEach(n=>{const o=document.getElementById(n);o&&document.body.removeChild(o)}),vt=[],Ze=[]},bg=e=>{const n=document.getElementById(e.id);if(n){const o=vt.find(r=>r.id===e.id);o?e={...Rn,...o,...e}:e={...Rn,...e};const l=t.createVNode(so,e);return t.render(l,n),Vt}},ft=e=>{e.unmount=Da;let n;if(e.id){if(n=e.id,Ze.find(r=>r===e.id))return bg(e)}else n=new Date().getTime()+"";e={...Rn,...e},e.id=n,Ze.push(e.id),vt.push(e);const o=document.createElement("div");o.id=e.id;const l=t.createVNode(so,e);return t.render(l,o),document.body.appendChild(o),Vt},qt=e=>{if(!e){console.warn("[FoxUI Toast]: msg不能为空");return}},Vt={text(e,n={}){return qt(e),ft({...n,type:"text",msg:e})},success(e,n={}){return qt(e),ft({icon:"success",...n,msg:e,type:"success"})},fail(e,n={}){return qt(e),ft({icon:"failure",...n,msg:e,type:"fail"})},warn(e,n={}){return qt(e),ft({icon:"tips",...n,msg:e,type:"warn"})},loading(e,n={}){return ft({icon:"loading",...n,msg:e,type:"loading"})},hide(e){Da(e)},install(e){e.use(so),e.config.globalProperties.$toast=Vt}},{componentName:V1,create:Cg}=O("audio"),wg=Cg({props:{url:{type:String,default:""},muted:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1},preload:{type:String,default:"auto"},second:{type:Number,default:0},type:{type:String,default:"progress"}},components:{},emits:["fastBack","play","forward","ended","changeProgress","mute","can-play"],setup(e,{emit:n}){const o=t.ref(null),l=t.reactive({currentTime:0,currentDuration:"00:00:00",percent:0,duration:"00:00:00",second:0,hanMuted:e.muted,playing:e.autoplay,handPlaying:!1});t.onMounted(()=>{var b=["webkitVisibilityState","visibilitychange"];try{for(let h=0;h<b.length;h++)document.addEventListener(b[h],()=>{document.hidden?o.value.pause():l.playing&&setTimeout(()=>{o.value.play()},200)})}catch(h){h.message}});const r=b=>{const h=o.value;e.autoplay&&h&&h.paused&&h.play(),l.second=h.duration,l.duration=S(h.duration),n("can-play",b)},i=b=>{l.currentTime=parseInt(b.target.currentTime)},a=()=>{l.currentTime>0&&l.currentTime--,o.value.currentTime=l.currentTime,n("fastBack",l.currentTime)},s=()=>{const b=o.value;l.playing?(b.pause(),l.handPlaying=!1):(b.play(),l.handPlaying=!0),l.playing=!l.playing,n("play",l.playing)},c=()=>{l.currentTime++,o.value.currentTime=l.currentTime,n("forward",l.currentTime)},m=b=>{l.currentDuration=S(b),l.percent=b/l.second*100},f=()=>{l.playing=!1,n("ended")},d=b=>{const h=o.value;h.currentTime=l.second*b/100,n("changeProgress",h.currentTime)},g=()=>{l.hanMuted=!l.hanMuted,n("mute",l.hanMuted)},S=b=>{if(!b)return"00:00:00";let h=parseInt(b),v=Math.floor(h/3600),u=Math.floor((h-v*3600)/60),p=h-v*3600-u*60,C="";return C+=("0"+v.toString()).slice(-2)+":",C+=("0"+u.toString()).slice(-2)+":",C+=("0"+p.toString()).slice(-2),C};return t.watch(()=>l.currentTime,b=>{m(b)}),t.provide("audioParent",{children:[],props:e,audioData:l,handleMute:g,forward:c,fastBack:a,changeStatus:s}),{...t.toRefs(e),...t.toRefs(l),audioRef:o,fastBack:a,forward:c,changeStatus:s,progressChange:d,audioEnd:f,onTimeupdate:i,handleMute:g,onCanplay:r}}}),Ng={class:"fox-audio"},Bg={key:0,class:"progress-wrapper"},Vg={class:"time"},Ag={class:"progress-bar-wrapper"},Eg=t.createElementVNode("div",{class:"custom-button"},null,-1),Tg={class:"time"},$g={key:1,class:"fox-audio-icon"},Dg=["controls","src","preload","autoplay","loop","muted"];function Ig(e,n,o,l,r,i){const a=t.resolveComponent("fox-range"),s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",Ng,[e.type=="progress"?(t.openBlock(),t.createElementBlock("div",Bg,[t.createElementVNode("div",Vg,t.toDisplayString(e.currentDuration),1),t.createElementVNode("div",Ag,[t.createVNode(a,{modelValue:e.percent,"onUpdate:modelValue":n[0]||(n[0]=c=>e.percent=c),"hidden-range":"",onChange:e.progressChange,"inactive-color":"#cccccc","active-color":"#fa2c19"},{button:t.withCtx(()=>[Eg]),_:1},8,["modelValue","onChange"])]),t.createElementVNode("div",Tg,t.toDisplayString(e.duration),1)])):t.createCommentVNode("",!0),e.type=="icon"?(t.openBlock(),t.createElementBlock("div",$g,[t.createElementVNode("div",{class:t.normalizeClass(["fox-audio-icon-box",e.playing?"fox-audio-icon-play":"fox-audio-icon-stop"]),onClick:n[1]||(n[1]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[e.playing?(t.openBlock(),t.createBlock(s,{key:0,name:"service",class:"fox-icon-am-rotate fox-icon-am-infinite"})):t.createCommentVNode("",!0),e.playing?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:1,name:"service"}))],2)])):t.createCommentVNode("",!0),e.type=="none"?(t.openBlock(),t.createElementBlock("div",{key:2,onClick:n[2]||(n[2]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type!="none"?t.renderSlot(e.$slots,"default",{key:3}):t.createCommentVNode("",!0),t.createElementVNode("audio",{class:"audioMain",controls:e.type=="controls",ref:"audioRef",src:e.url,preload:e.preload,autoplay:e.autoplay,loop:e.loop,onTimeupdate:n[3]||(n[3]=(...c)=>e.onTimeupdate&&e.onTimeupdate(...c)),onCanplay:n[4]||(n[4]=(...c)=>e.onCanplay&&e.onCanplay(...c)),onEnded:n[5]||(n[5]=(...c)=>e.audioEnd&&e.audioEnd(...c)),muted:e.hanMuted},null,40,Dg)])}const Ia=H(wg,[["render",Ig]]),{componentName:A1,create:qg,scope:zg}=O("audio-operate"),Mg=qg({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:n}){const{t:o}=_.useFoxI18n(zg),l=t.inject("audioParent"),r=t.reactive(l),i=t.ref(t.useSlots().default);return{...t.toRefs(e),...t.toRefs(r),customSlot:i,t:o}}}),Pg={class:"fox-audio-operate"};function xg(e,n,o,l,r,i){const a=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",Pg,[e.type=="back"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-audio-operate-item",onClick:n[0]||(n[0]=(...s)=>e.fastBack&&e.fastBack(...s))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,type:"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("back")),1)]),_:1})),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type=="play"?(t.openBlock(),t.createElementBlock("div",{key:1,class:"fox-audio-operate-item",onClick:n[1]||(n[1]=(...s)=>e.changeStatus&&e.changeStatus(...s))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,type:"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.audioData.playing?`${e.t("pause")}`:`${e.t("start")}`),1)]),_:1})),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type=="forward"?(t.openBlock(),t.createElementBlock("div",{key:2,class:"fox-audio-operate-item",onClick:n[2]||(n[2]=(...s)=>e.forward&&e.forward(...s))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,type:"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("forward")),1)]),_:1})),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type=="mute"?(t.openBlock(),t.createElementBlock("div",{key:3,class:"fox-audio-operate-item",onClick:n[3]||(n[3]=(...s)=>e.handleMute&&e.handleMute(...s))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,type:e.audioData.hanMuted?"default":"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("mute")),1)]),_:1},8,["type"])),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0)])}const qa=H(Mg,[["render",xg]]),{componentName:Rg,create:Lg}=O("avatar"),Og=Lg({props:{size:{type:String,default:""},shape:{type:String,default:"round"},bgColor:{type:String,default:"#eee"},color:{type:String,default:"#666"},url:{type:String,default:""},alt:{type:String,default:""},icon:{type:String,default:""}},emits:["active-avatar","onError"],setup(e,{emit:n,slots:o}){const{size:l,shape:r,bgColor:i,color:a,icon:s}=t.toRefs(e),c=["large","normal","small"],m=t.inject("avatarGroup",null),f=t.ref(null),d=t.reactive({lightTheme:!1}),g=t.reactive({index:1,showMax:!1,maxIndex:0});t.onMounted(()=>{const k=m?.avatarGroupRef?.value?.children;k&&p(k)});const S=t.computed(()=>({[Rg]:!0,[`fox-avatar-${l.value||m?.props?.size||"normal"}`]:!0,[`fox-avatar-${r.value||m?.props?.shape||"normal"}`]:!0})),b=t.computed(()=>({width:c.indexOf(l.value)>-1?"":`${l.value}px`,height:c.indexOf(l.value)>-1?"":`${l.value}px`,backgroundColor:`${i.value}`,color:`${a.value}`,marginLeft:g.index!=1&&(m?.props?.span?`${m?.props?.span}px`:""),zIndex:m?.props?.zIndex=="right"?`${Math.abs(g.maxIndex-g.index)}`:""})),h=t.computed(()=>({backgroundColor:`${m?.props?.maxBgColor}`,color:`${m?.props?.maxColor}`})),v=t.computed(()=>s.value?s.value:""),u=t.computed(()=>o.default),p=k=>{g.maxIndex=k.length;for(let w=0;w<k.length;w++)k[w]&&k[w].classList&&k[w].classList[0]=="fox-avatar"&&k[w].setAttribute("data-index",w+1);g.index=f?.value?.dataset?.index,g.index==g.maxIndex&&g.index!=m?.props?.maxCount&&(g.showMax=!0)};return{classes:S,styles:b,iconStyles:v,isShowText:u,maxStyles:h,activeAvatar:k=>{n("active-avatar",k)},onError:k=>{n("onError",k)},avatarGroup:m,visible:d,avatarRef:f,...t.toRefs(g)}}}),Fg=["src","alt"],Ug={key:2,class:"text"},Kg={key:1,class:"text"};function Hg(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return e.showMax||!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?(t.openBlock(),t.createElementBlock("view",{key:0,style:t.normalizeStyle(e.showMax?e.maxStyles:e.styles),class:t.normalizeClass(e.classes),onClick:n[1]||(n[1]=(...s)=>e.activeAvatar&&e.activeAvatar(...s)),ref:"avatarRef"},[!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.url?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.url,alt:e.alt,onError:n[0]||(n[0]=(...s)=>e.onError&&e.onError(...s))},null,40,Fg)):e.icon?(t.openBlock(),t.createBlock(a,{key:1,class:"icon",name:e.iconStyles},null,8,["name"])):t.createCommentVNode("",!0),e.isShowText?(t.openBlock(),t.createElementBlock("view",Ug,[t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.showMax?(t.openBlock(),t.createElementBlock("view",Kg,t.toDisplayString(e.avatarGroup?.props?.maxContent?e.avatarGroup?.props?.maxContent:`+ ${e.maxIndex-e.avatarGroup?.props?.maxCount}`),1)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0)}const za=H(Og,[["render",Hg]]),{componentName:jg,create:Wg}=O("avatar-group"),Yg=Wg({props:{maxContent:{type:String,default:""},maxCount:{type:[Number,String],default:""},maxBgColor:{type:String,default:"#eee"},maxColor:{type:String,default:"#666"},size:{type:String,default:""},shape:{type:String,default:""},span:{type:String,default:"-8"},zIndex:{type:String,default:"left"}},setup(e,{emit:n,slots:o}){t.toRefs(e);const l=t.ref(null),r=t.ref(0),i=t.computed(()=>({[jg]:!0}));return t.onMounted(()=>{}),t.provide("avatarGroup",{props:e,avatarGroupRef:l,index:r}),{classes:i,avatarGroupRef:l}}});function Xg(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"avatarGroupRef"},[t.renderSlot(e.$slots,"default")],2)}const Ma=H(Yg,[["render",Xg]]),{componentName:Qg,create:Gg}=O("list"),Zg=Gg({props:{height:{type:[Number],default:50},listData:{type:Array,default:()=>[]},containerHeight:{type:[Number],default:-1}},emits:["scroll","scroll-bottom"],setup(e,{emit:n}){const o=t.ref(null),l=t.reactive({startOffset:0,start:0,list:e.listData.slice()}),r=Ie(e,"containerHeight",S=>S<=0?S:le(S));t.onMounted(()=>{if(r.value==-1){const S=be(o.value);r.value=S.height}});const i=t.computed(()=>r.value==-1?0:Math.ceil(r.value/e.height)),a=t.computed(()=>l.start+i.value),s=t.computed(()=>`translate3d(0, ${l.startOffset}px, 0)`),c=t.computed(()=>({[Qg]:!0})),m=t.computed(()=>({width:`${r.value}px`})),f=t.computed(()=>l.list.length*e.height),d=t.computed(()=>l.list.slice(l.start,Math.min(a.value,l.list.length))),g=()=>{const S=o.value?.scrollTop;l.start=Math.floor(S/e.height),a.value>l.list.length&&(n("scroll"),n("scroll-bottom")),l.startOffset=S-S%e.height};return t.watch(()=>e.listData,()=>{l.list=e.listData.slice()}),{...t.toRefs(l),list:o,getTransform:s,listHeight:f,visibleData:d,classes:c,styles:m,handleScrollEvent:g}}});function Jg(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onScrollPassive:n[0]||(n[0]=(...a)=>e.handleScrollEvent&&e.handleScrollEvent(...a)),ref:"list"},[t.createElementVNode("div",{class:"fox-list-phantom",style:t.normalizeStyle({height:e.listHeight+"px"})},null,4),t.createElementVNode("div",{class:"fox-list-container",style:t.normalizeStyle({transform:e.getTransform})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.visibleData,(a,s)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-list-item",style:t.normalizeStyle({height:e.height+"px"}),key:a},[t.renderSlot(e.$slots,"default",{item:a,index:s})],4))),128))],4)],38)}const Pa=H(Zg,[["render",Jg]]),{create:_g}=O("progress"),ey=_g({props:{percentage:{type:[Number,String],default:0,required:!0},size:{type:String,default:"base"},status:{type:String,default:""},strokeWidth:{type:[Number,String],default:""},textInside:{type:Boolean,default:!1},showText:{type:Boolean,default:!0},strokeColor:{type:String,default:""},textColor:{tyep:String,default:""},textBackground:{tyep:String,default:""},iconName:{type:String,default:"checked"},iconColor:{type:String,default:"#439422"},isShowPercentage:{type:Boolean,default:!0}},setup(e){const n=!!t.useSlots().default,o=t.ref(e.strokeWidth+"px"),l=t.ref(),r=t.ref(),i=t.computed(()=>({width:e.percentage+"%",background:e.strokeColor||""})),a=t.computed(()=>({color:e.textColor||""}));return{height:o,bgStyle:i,textStyle:a,progressOuter:l,insideText:r,slotDefault:n}}}),ty={class:"fox-progress"};function ny(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",ty,[t.createElementVNode("div",{class:t.normalizeClass(["fox-progress-outer",[e.showText&&!e.textInside?"fox-progress-outer-part":"",e.size?"fox-progress-"+e.size:""]]),ref:"progressOuter",style:t.normalizeStyle({height:e.height})},[t.createElementVNode("div",{class:t.normalizeClass(["fox-progress-inner",e.status=="active"?"fox-active":""]),style:t.normalizeStyle(e.bgStyle)},[e.showText&&e.textInside&&!e.slotDefault?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-progress-text fox-progress-insidetext",ref:"insideText",style:t.normalizeStyle({lineHeight:e.height,left:`${e.percentage}%`,transform:`translate(-${+e.percentage}%,-50%)`,background:e.textBackground||e.strokeColor})},[t.createElementVNode("span",{style:t.normalizeStyle(e.textStyle)},t.toDisplayString(e.percentage)+t.toDisplayString(e.isShowPercentage?"%":""),5)],4)):t.createCommentVNode("",!0),e.showText&&e.textInside&&e.slotDefault?(t.openBlock(),t.createElementBlock("div",{key:1,ref:"insideText",style:t.normalizeStyle({position:"absolute",top:"50%",left:`${e.percentage}%`,transform:`translate(-${+e.percentage}%,-50%)`})},[t.renderSlot(e.$slots,"default")],4)):t.createCommentVNode("",!0)],6)],6),e.showText&&!e.textInside?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-progress-text",style:t.normalizeStyle({lineHeight:e.height})},[e.status=="active"||e.status==""?(t.openBlock(),t.createElementBlock("span",{key:0,style:t.normalizeStyle(e.textStyle)},t.toDisplayString(e.percentage)+t.toDisplayString(e.isShowPercentage?"%":""),5)):e.status=="icon"?(t.openBlock(),t.createBlock(a,{key:1,size:"16px",name:e.iconName,color:e.iconColor},null,8,["name","color"])):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0)])}const xa=H(ey,[["render",ny]]),{componentName:oy,create:ly}=O("circleprogress"),ay=ly({props:{progress:{type:[Number,String],required:!0},strokeWidth:{type:[Number,String],default:5},radius:{type:[Number,String],default:50},strokeLinecap:{type:String,default:"round"},color:{type:[String,Object],default:""},pathColor:{type:String,default:""},clockwise:{type:Boolean,default:!0}},setup(e,{emit:n}){const o=!!t.useSlots().default,l=Math.random().toString(36).slice(-8),r=t.computed(()=>({[oy]:!0})),i=t.computed(()=>{const f=e.clockwise?1:0;return`M 50 50 m 0 -45 a 45 45 0 1 ${f} 0 90 a 45 45 0 1, ${f} 0 -90`}),a=t.computed(()=>Ve(e.color)?`url(#${l})`:e.color),s=t.computed(()=>{let f=283,d=f*Number(e.progress)/100;return{stroke:Ve(e.color)?`url(#${l})`:e.color,strokeDasharray:`${d}px ${f}px`}}),c=t.computed(()=>({stroke:e.pathColor})),m=t.computed(()=>{if(!Ve(e.color))return;let f=e.color;const d=Object.keys(f).sort((S,b)=>parseFloat(S)-parseFloat(b));let g=[];return d.map((S,b)=>{let h={key:"",value:""};h.key=S,h.value=f[S],g.push(h)}),g});return{classes:r,hoverStyle:s,pathStyle:c,path:i,hoverColor:a,stop:m,slotDefault:o,refRandomId:l}}}),ry={viewBox:"0 0 100 100"},sy=["id"],iy=["offset","stop-color"],cy=["d","stroke-width"],uy=["d","stroke","stroke-linecap","stroke-width"],dy={class:"fox-circleprogress-text"},fy={key:0};function my(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({height:e.radius*2+"px",width:e.radius*2+"px"})},[(t.openBlock(),t.createElementBlock("svg",ry,[t.createElementVNode("defs",null,[t.createElementVNode("linearGradient",{id:e.refRandomId,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.stop,(a,s)=>(t.openBlock(),t.createElementBlock("stop",{key:s,offset:a.key,"stop-color":a.value},null,8,iy))),128))],8,sy)]),t.createElementVNode("path",{class:"fox-circleprogress-path",style:t.normalizeStyle(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,cy),t.createElementVNode("path",{class:"fox-circleprogress-hover",style:t.normalizeStyle(e.hoverStyle),d:e.path,fill:"none",stroke:e.hoverColor,"stroke-linecap":e.strokeLinecap,"stroke-width":e.strokeWidth},null,12,uy)])),t.createElementVNode("div",dy,[t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",fy,t.toDisplayString(e.progress)+"%",1))])],6)}const Ra=H(ay,[["render",my]]),{componentName:py,create:hy}=O("noticebar"),gy=hy({props:{direction:{type:String,default:"across"},list:{type:Array,default:()=>[]},standTime:{type:Number,default:1e3},complexAm:{type:Boolean,default:!1},height:{type:Number,default:40},text:{type:String,default:""},closeMode:{type:Boolean,default:!1},wrapable:{type:Boolean,default:!1},leftIcon:{type:String,default:""},rightIcon:{type:String,default:""},color:{type:String,default:""},background:{type:String,default:""},delay:{type:[String,Number],default:1},scrollable:{type:Boolean,default:null},speed:{type:Number,default:50}},components:{ScrollItem:function(e){return e.item.props.style=e.style,e.item.key=e.key,t.h(e.item)}},emits:["click","close"],setup(e,{emit:n,slots:o}){const l=t.ref(null),r=t.ref(null),i=t.reactive({wrapWidth:0,firstRound:!0,duration:0,offsetWidth:0,showNoticeBar:!0,animationClass:"",animate:!1,scrollList:[],distance:0,timer:null,keepAlive:!1,isCanScroll:null}),a=t.computed(()=>({[py]:!0})),s=t.computed(()=>i.isCanScroll==null?e.wrapable:!i.isCanScroll&&!e.wrapable),c=t.computed(()=>e.leftIcon!="close"),m=t.computed(()=>{let N={};return e.color&&(N.color=e.color),e.background&&(N.background=e.background),e.direction=="vertical"&&(N.height=`${e.height}px`),N}),f=t.computed(()=>({animationDelay:(i.firstRound?e.delay:0)+"s",animationDuration:i.duration+"s",transform:`translateX(${i.firstRound?0:i.wrapWidth+"px"})`})),d=t.computed(()=>{let N="";return e.leftIcon&&(N=e.leftIcon),N}),g=t.computed(()=>{let N={};if(e.complexAm)N={transform:`translateY(${i.distance}px)`};else if(i.animate){let V=~~(e.height/e.speed/4);N={transition:`all ${V==0?~~(e.height/e.speed):V}s`,"margin-top":`-${e.height}px`}}return N});t.watch(()=>e.text,N=>{S()}),t.watch(()=>e.list,N=>{i.scrollList=[].concat(N)});const S=N=>{i.showNoticeBar!=!1&&setTimeout(()=>{if(!l.value||!r.value)return;const V=l.value.getBoundingClientRect().width,A=r.value.getBoundingClientRect().width;i.isCanScroll=e.scrollable==null?A>V:e.scrollable,i.isCanScroll,i.isCanScroll?(i.wrapWidth=V,i.offsetWidth=A,i.duration=A/e.speed,i.animationClass="play"):i.animationClass=""},0)},b=N=>{n("click",N)},h=N=>{e.closeMode&&(i.showNoticeBar=!e.closeMode),n("close",N)},v=()=>{i.firstRound=!1,setTimeout(()=>{i.duration=(i.offsetWidth+i.wrapWidth)/e.speed,i.animationClass="play-infinite"},0)},u=()=>{p(),i.timer=setInterval(p,~~(e.height/e.speed/4*1e3)+e.standTime)},p=()=>{i.animate=!0,setTimeout(()=>{i.scrollList.push(i.scrollList[0]),i.scrollList.shift(),i.animate=!1},~~(e.height/e.speed/4*1e3))},C=()=>{i.timer=setInterval(()=>{let N=100;for(let V=0;V<N;V++)y(V,!(V<N-1))},e.standTime+100*e.speed)},y=(N,V)=>{setTimeout(()=>{i.distance-=e.height/100,V&&(i.scrollList.push(i.scrollList[0]),i.scrollList.shift(),i.distance=0)},N*e.speed)},k=N=>{n("click",N)},w=()=>{n("close",i.scrollList[0])};return t.onMounted(()=>{e.direction=="vertical"?(o.default?i.scrollList=[].concat(o.default()[0].children):i.scrollList=[].concat(e.list),setTimeout(()=>{e.complexAm?C():u()},e.standTime)):S(e.text)}),t.onActivated(()=>{i.keepAlive&&(i.keepAlive=!1)}),t.onDeactivated(()=>{i.keepAlive=!0,clearInterval(i.timer)}),t.onUnmounted(()=>{clearInterval(i.timer)}),{...t.toRefs(e),...t.toRefs(i),isEllipsis:s,classes:a,iconShow:c,barStyle:m,contentStyle:f,iconBg:d,horseLampStyle:g,wrap:l,content:r,handleClick:b,onClickIcon:h,onAnimationEnd:v,go:k,handleClickIcon:w,slots:o}}}),yy={ref:"wrap",class:"wrap"},vy=["onClick"];function ky(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("ScrollItem");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.direction=="across"?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-noticebar-page",{withicon:e.closeMode,close:e.closeMode,wrapable:e.wrapable}]),style:t.normalizeStyle(e.barStyle),onClick:n[3]||(n[3]=(...c)=>e.handleClick&&e.handleClick(...c))},[e.iconShow?(t.openBlock(),t.createElementBlock("view",{key:0,class:"left-icon",style:t.normalizeStyle({"background-image":`url(${e.iconBg})`})},[t.renderSlot(e.$slots,"left-icon",{},()=>[e.iconBg?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,name:"notice",size:"16",color:e.color},null,8,["color"]))])],4)):t.createCommentVNode("",!0),t.createElementVNode("view",yy,[t.createElementVNode("view",{ref:"content",class:t.normalizeClass(["content",e.animationClass,{"fox-ellipsis":e.isEllipsis}]),style:t.normalizeStyle(e.contentStyle),onAnimationend:n[0]||(n[0]=(...c)=>e.onAnimationEnd&&e.onAnimationEnd(...c)),"on:webkitAnimationEnd":n[1]||(n[1]=(...c)=>e.onAnimationEnd&&e.onAnimationEnd(...c))},[t.renderSlot(e.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(e.text),1)])],38)],512),e.closeMode||e.rightIcon?(t.openBlock(),t.createElementBlock("view",{key:1,class:"right-icon",onClick:n[2]||(n[2]=t.withModifiers((...c)=>e.onClickIcon&&e.onClickIcon(...c),["stop"]))},[t.renderSlot(e.$slots,"right-icon",{},()=>[t.createVNode(a,{name:e.rightIcon?e.rightIcon:"close",color:e.color},null,8,["name","color"])])])):t.createCommentVNode("",!0)],6)),[[t.vShow,e.showNoticeBar]]):t.createCommentVNode("",!0),e.scrollList.length>0&&e.direction=="vertical"?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-noticebar-vertical",style:t.normalizeStyle(e.barStyle)},[e.slots.default?(t.openBlock(),t.createElementBlock("view",{key:0,class:"horseLamp_list",style:t.normalizeStyle(e.horseLampStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(c,m)=>(t.openBlock(),t.createBlock(s,{key:m,style:t.normalizeStyle({height:e.height+"px","line-height":e.height+"px"}),item:c},null,8,["style","item"]))),128))],4)):(t.openBlock(),t.createElementBlock("ul",{key:1,class:"horseLamp_list",style:t.normalizeStyle(e.horseLampStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(c,m)=>(t.openBlock(),t.createElementBlock("li",{class:"horseLamp_list_item",key:m,style:t.normalizeStyle({height:e.height}),onClick:f=>e.go(c)},t.toDisplayString(c),13,vy))),128))],4)),t.createElementVNode("view",{class:"go",onClick:n[4]||(n[4]=c=>!e.slots.rightIcon&&e.handleClickIcon())},[e.slots.rightIcon?t.renderSlot(e.$slots,"rightIcon",{key:0}):e.closeMode?(t.openBlock(),t.createBlock(a,{key:1,type:"cross",color:e.color,size:"11px"},null,8,["color"])):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0)],2)}const La=H(gy,[["render",ky]]),Sy="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAKoCAMAAACMZv1uAAAC+lBMVEUAAAD19fXz9PTd1tvf3t708vPx7/Dz9PTY2NjY2NjWy837+fr09/f09fU0MzX09fX08vP09fXMzMz19vbY2NgyMjLz9PT19vb29/cuLDrY2Njz6uzKw8Tx7e719vby8/PY2Nj19vb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/HOlFS259e4gCrASGRsY1Uy4KcnXzx89vH3tcvOMSOAiF8ip/EGm7+XYxxChFDHKCpKRkyEkFljufOyZal5WhQJxNdna04jCeUMcevuGXLgDlRZpjUBEL+MEpl+7zrnrft8lnLNGDONJGCSvRneJjEbCBEK6klqm8BIVo5ymhBJfNAE0X0Kymip7QStUE3fqKblBLVpxMpRDs1hiMcmvMT/biJnNKYn+jHqFNOyTxgNiinZB4oOZRTMg/IvZRPfRTRk40Cj37S95s9OyYCGIShALrVQIVgBAMVUQsdGBgqgKGHCRz2GEBDhvc05PJzPwTVxpa6np+o+lhK9jclqt1OpSr2iWsN6ntZp0T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:E1,create:wy,scope:Ny}=O("empty"),By={empty:Sy,error:by,network:Cy},Vy=wy({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:n}=_.useFoxI18n(Ny),o=n(e,["description"]),{image:l,imageSize:r}=t.toRefs(e),i=t.computed(()=>r.value?typeof r.value=="number"?`width:${r.value}px;height:${r.value}px`:`width:${r.value};height:${r.value}`:""),s=l.value.startsWith("https://")||l.value.startsWith("http://")||l.value.startsWith("//")?l.value:By[l.value];return{...o,imageUrl:s,imgStyle:i}}}),Ay={class:"fox-empty"},Ey=["src"],Ty={key:1,class:"fox-empty-description"};function $y(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",Ay,[t.createElementVNode("view",{class:"fox-empty-image",style:t.normalizeStyle(e.imgStyle)},[e.$slots.image?t.renderSlot(e.$slots,"image",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.imageUrl?(t.openBlock(),t.createElementBlock("img",{key:0,class:"img",src:e.imageUrl},null,8,Ey)):t.createCommentVNode("",!0)],64))],4),e.$slots.description?t.renderSlot(e.$slots,"description",{key:0}):(t.openBlock(),t.createElementBlock("view",Ty,t.toDisplayString(e.description),1)),e.$slots.default?t.renderSlot(e.$slots,"default",{key:2}):t.createCommentVNode("",!0)])}const Oa=H(Vy,[["render",$y]]),{create:Dy,scope:Iy}=O("video"),qy=Dy({props:{source:{type:Object,default:{}},options:{type:Object,default:{autoplay:!1,volume:.5,poster:"",loop:!1,controls:!0,muted:!1,disabled:!1,playsinline:!1,touchPlay:!1,preload:""},required:!0},model:{type:String,default:""}},components:{},emits:["click","play","pause","playend"],setup(e,{emit:n}){const{t:o}=_.useFoxI18n(Iy),l=t.reactive({videoElm:null,initial:!0,showToolbox:!1,player:{$player:null,pos:null},progressBar:{progressElm:null,pos:null},videoSet:{loaded:0,displayTime:"00:00",totalTime:"00:00",progress:{width:0,current:0}},state:{controlShow:!0,vol:.5,currentTime:0,fullScreen:!1,playing:!1,isLoading:!1,isEnd:!1,isError:!1,isMuted:!1},showTouchMask:!1}),r=t.ref(null),i=t.computed(()=>e.options.disabled);t.watch(()=>e.source,y=>{y.src&&t.nextTick(()=>{l.videoElm.load()})}),t.watch(()=>e.options,y=>{l.state.isMuted=y?y.muted:!1},{immediate:!0});const a=()=>{l.videoElm=r.value,e.options.autoplay&&setTimeout(()=>{l.videoElm.play()},200),e.options.touchPlay&&(l.showTouchMask=!0),e.options.playsinline&&(l.videoElm.setAttribute("playsinline",e.options.playsinline),l.videoElm.setAttribute("webkit-playsinline",e.options.playsinline),l.videoElm.setAttribute("x5-video-player-type","h5-page"),l.videoElm.setAttribute("x5-video-player-fullscreen",!1)),g(),l.showToolbox?s():(l.videoElm.addEventListener("play",()=>{l.state.playing=!0,n("play",l.videoElm)}),l.videoElm.addEventListener("pause",()=>{l.state.playing=!1,n("pause",l.videoElm)}),l.videoElm.addEventListener("ended",f))},s=()=>{const y=r.value,k=r.value.getElementsByClassName("progress")[0];l.player.$player=y,l.progressBar.progressElm=k,l.progressBar.pos=k.getBoundingClientRect(),l.videoSet.progress.width=Math.round(k.getBoundingClientRect().width)},c=()=>{if(e.options.autoplay&&e.options.disabled)return l.state.playing=!0,!1;if(l.state.playing=!l.state.playing,l.videoElm)if(l.state.playing)try{setTimeout(()=>{l.videoElm.play()},200),l.videoElm.addEventListener("progress",()=>{m()}),l.videoElm.addEventListener("ended",f),n("play",l.videoElm)}catch{d()}else l.videoElm.pause(),n("pause",l.videoElm)},m=()=>{l.videoSet.loaded&&(l.videoSet.loaded=l.videoElm.buffered.end(0)/l.videoElm.duration*100)},f=()=>{l.state.playing=!1,l.state.isEnd=!0,l.videoSet.displayTime="00:00",l.videoSet.progress.current=0,l.videoElm.currentTime=0,n("playend",l.videoElm)},d=()=>{l.state.isError=!0},g=()=>{l.state.vol=e.options.volume},S=()=>{l.state.isMuted=!l.state.isMuted,l.videoElm.muted=l.state.isMuted},b=()=>{},h=y=>{let w=y.targetTouches[0].pageX-l.progressBar.pos.left;w<=0&&(w=0),w>=l.videoSet.progress.width&&(w=l.videoSet.progress.width),l.videoSet.progress.current=w;let N=l.videoSet.progress.current/l.videoSet.progress.width;l.videoElm.duration&&u(N,l.videoElm.duration)},v=y=>{let w=y.changedTouches[0].pageX-l.progressBar.pos.left;l.videoSet.progress.current=w;let N=w/l.videoSet.progress.width;l.videoElm.duration&&u(N,l.videoElm.duration)},u=(y,k)=>{l.videoElm.currentTime=Math.floor(y*k)},p=()=>{l.state.isError=!1,a()},C=()=>{l.state.fullScreen?(l.state.fullScreen=!1,document.webkitCancelFullScreen()):(l.state.fullScreen=!0,l.videoElm.webkitRequestFullScreen())};return t.onMounted(()=>{a()}),{root:r,...t.toRefs(e),...t.toRefs(l),handleError:d,isDisabled:i,play:c,handleMuted:S,touchSlidSrart:b,touchSlidMove:h,touchSlidEnd:v,retry:p,fullScreen:C,t:o}}}),zy={class:"fox-video",ref:"videocon"},My=["muted","autoplay","loop","poster","controls","preload"],Py=["src","type"],xy={class:"current-time"},Ry={class:"progress-container"},Ly={class:"progress",ref:"progressBar"},Oy=t.createElementVNode("div",{class:"move-handle"},null,-1),Fy=[Oy],Uy={class:"played",ref:"playedBar"},Ky={class:"duration-time"},Hy={class:"fox-video-error"},jy={class:"lose"};function Wy(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",zy,[t.createElementVNode("video",{ref:"root",class:"fox-video-player",muted:e.options.muted,autoplay:e.options.autoplay,loop:e.options.loop,poster:e.options.poster,controls:e.options.controls,preload:e.options.preload,onError:n[0]||(n[0]=(...a)=>e.handleError&&e.handleError(...a))},[t.createElementVNode("source",{src:e.source.src,type:e.source.type},null,8,Py)],40,My),e.showToolbox&&!e.isDisabled?(t.openBlock(),t.createElementBlock("div",{key:0,class:"playing-mask",ref:"touchMask",onClick:n[1]||(n[1]=(...a)=>e.play&&e.play(...a))},null,512)):t.createCommentVNode("",!0),e.showToolbox&&!e.isDisabled?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:1,class:"fox-video-play-btn",ref:"palyBtn",onClick:n[2]||(n[2]=(...a)=>e.play&&e.play(...a))},null,512)),[[t.vShow,!e.state.playing]]):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["fox-video-controller",{"show-control":!e.state.playing,"hide-control":e.state.playing}])},[t.createElementVNode("div",{class:"control-play-btn",onClick:n[3]||(n[3]=(...a)=>e.play&&e.play(...a))}),t.createElementVNode("div",xy,t.toDisplayString(e.videoSet.displayTime),1),t.createElementVNode("div",Ry,[t.createElementVNode("div",Ly,[t.createElementVNode("div",{class:"buffered",style:t.normalizeStyle({width:`${e.videoSet.loaded}%`})},null,4),t.createElementVNode("div",{class:"video-ball",style:t.normalizeStyle({transform:`translate3d(${e.videoSet.progress.current}px, -50%, 0)`}),onTouchmove:n[4]||(n[4]=t.withModifiers(a=>e.touchSlidMove(a),["stop","prevent"])),onTouchstart:n[5]||(n[5]=t.withModifiers(a=>e.touchSlidSrart(a),["stop"])),onTouchend:n[6]||(n[6]=t.withModifiers(a=>e.touchSlidEnd(a),["stop"]))},Fy,36),t.createElementVNode("div",Uy,null,512)],512)]),t.createElementVNode("div",Ky,t.toDisplayString(e.videoSet.totalTime),1),t.createElementVNode("div",{class:t.normalizeClass(["volume",{muted:e.state.isMuted}]),onClick:n[7]||(n[7]=(...a)=>e.handleMuted&&e.handleMuted(...a))},null,2),t.createElementVNode("div",{class:"fullscreen-icon",onClick:n[8]||(n[8]=(...a)=>e.fullScreen&&e.fullScreen(...a))})],2),[[t.vShow,e.showToolbox&&!e.isDisabled]]),t.withDirectives(t.createElementVNode("div",Hy,[t.createElementVNode("p",jy,t.toDisplayString(e.t("errorTip")),1),t.createElementVNode("p",{class:"retry",onClick:n[9]||(n[9]=(...a)=>e.retry&&e.retry(...a))},t.toDisplayString(e.t("clickRetry")),1)],512),[[t.vShow,e.state.isError]])],512)}const tt=H(qy,[["render",Wy]]),{create:Yy,componentName:Xy}=O("steps"),Fa=Yy({props:{direction:{type:String,default:"horizontal"},current:{type:[String,Number],default:"0"},progressDot:{type:Boolean,default:!1}},emits:["click-step"],setup(e,{emit:n,slots:o}){const l=t.reactive({children:[]}),r=t.computed(()=>{const s=Xy;return{[s]:!0,[`${s}-${e.direction}`]:!0,[`${s}-dot`]:!!e.progressDot}}),i=s=>{s&&l.children.push(s)},a=s=>{n("click-step",s)};return t.provide("parent",{relation:i,state:l,props:e,onEmit:a}),()=>t.h("view",{class:r.value},o.default?.())}}),{create:Qy,componentName:Gy}=O("step"),Zy=Qy({props:{title:{type:String,default:""},content:{type:String,default:""},icon:{type:String,default:null},iconColor:{type:String,default:""},size:{type:[String,Number],default:"12px"}},emits:["click-step"],setup(e,{emit:n,slots:o}){const{proxy:l}=t.getCurrentInstance(),r=t.inject("parent");r.relation(l);const i=t.reactive({dot:r.props.progressDot}),a=t.computed(()=>r.state.children.indexOf(l)+1),s=()=>{const d=a.value;return d<+r.props.current?"finish":d===+r.props.current?"process":"wait"},c=t.computed(()=>s()),m=t.computed(()=>{const d=Gy;return{[d]:!0,[`${d}-${c.value}`]:!0}}),f=()=>{r.onEmit(a.value)};return{...t.toRefs(i),index:a,classes:m,handleClickStep:f}}}),Jy={class:"fox-step-head"},_y=t.createElementVNode("view",{class:"fox-step-line"},null,-1),ev={key:2,class:"fox-step-inner"},tv={class:"fox-step-main"},nv={class:"fox-step-title"},ov={key:0},lv={key:0,class:"fox-step-content"},av=["innerHTML"];function rv(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...s)=>e.handleClickStep&&e.handleClickStep(...s))},[t.createElementVNode("view",Jy,[_y,t.createElementVNode("view",{class:t.normalizeClass(["fox-step-icon",[e.dot?"":e.icon?"is-icon":"is-text"]])},[e.icon?(t.openBlock(),t.createBlock(a,{key:0,class:"fox-step-icon-inner",color:e.iconColor,name:e.icon,size:e.size},null,8,["color","name","size"])):e.dot?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[],64)):(t.openBlock(),t.createElementBlock("view",ev,t.toDisplayString(e.index),1))],2)]),t.createElementVNode("view",tv,[t.createElementVNode("view",nv,[e.$slots.title?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",ov,t.toDisplayString(e.title),1)),t.renderSlot(e.$slots,"title")]),e.content||e.$slots.content?(t.openBlock(),t.createElementBlock("view",lv,[e.$slots.content?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:e.content},null,8,av)),t.renderSlot(e.$slots,"content")])):t.createCommentVNode("",!0)])],2)}const Ua=H(Zy,[["render",rv]]),Ho=5;function sv(){const e=t.reactive({startX:0,startY:0,deltaX:0,deltaY:0,offsetX:0,offsetY:0,direction:""}),n=(i,a)=>i>a&&i>Ho?"horizontal":a>i&&a>Ho?"vertical":"",o=()=>{e.startX=0,e.startY=0,e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0,e.direction=""};return{state:e,start:i=>{o(),e.startX=i.touches[0].clientX,e.startY=i.touches[0].clientY},reset:o,move:i=>{e.deltaX=i.touches[0].clientX-e.startX,e.deltaY=i.touches[0].clientY-e.startY,e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.direction||(e.direction=n(e.offsetX,e.offsetY))}}}const{create:iv,componentName:jo}=O("swiper"),cv=iv({props:{width:{type:[Number,String],default(){}},height:{type:[Number,String],default:0},direction:{type:[String],default:"horizontal"},paginationVisible:{type:Boolean,default:!1},paginationColor:{type:String,default:"#fff"},loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},autoPlay:{type:[Number,String],default:0},initPage:{type:[Number,String],default:0},touchable:{type:Boolean,default:!0},isPreventDefault:{type:Boolean,default:!0},isStopPropagation:{type:Boolean,default:!0},isCenter:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:n,slots:o}){const l=t.ref(),r=t.reactive({active:0,num:0,rect:null,width:0,height:0,moving:!1,offset:0,touchTime:0,autoplayTimer:0,children:[],childrenVNode:[],style:{}}),i=sv(),a=t.computed(()=>({[jo]:!0})),s=t.computed(()=>e.direction==="vertical"),c=t.computed(()=>s.value?i.state.deltaY:i.state.deltaX),m=t.computed(()=>i.state.direction===e.direction),f=t.computed(()=>r.children.length),d=t.computed(()=>r[s.value?"height":"width"]),g=t.computed(()=>f.value*d.value),S=t.computed(()=>r.rect?(s.value?r.rect.height:r.rect.width)-d.value*f.value:0),b=t.computed(()=>(r.active+f.value)%f.value),h=()=>{let D=0;if(!e.isCenter)D=r.offset;else{let I=s.value?r.rect.height-d.value:r.rect.width-d.value;D=r.offset+(r.active===f.value-1?-I/2:I/2)}r.style={transitionDuration:`${r.moving?0:e.duration}ms`,transform:`translate${s.value?"Y":"X"}(${D}px)`,[s.value?"height":"width"]:`${d.value*f.value}px`,[s.value?"width":"height"]:`${s.value?r.width:r.height}px`}},v=D=>{let I=[],P=o?.default?.();if(P=P.filter(B=>B.children&&Array.isArray(B.children)),P.forEach(B=>{I=I.concat(B.children)}),!r.childrenVNode.length)r.childrenVNode=I.slice(),D.proxy&&r.children.push(D.proxy);else if(r.childrenVNode.length>I.length)r.children=r.children.filter(B=>D.proxy!==B);else if(r.childrenVNode.length<I.length){for(let B=0;B<r.childrenVNode.length;B++)if(I[B].key!==r.childrenVNode[B].key){D.proxy&&r.children.splice(B,0,D.proxy),D.vnode&&r.childrenVNode.splice(B,0,D.vnode);break}r.childrenVNode.length!==I.length&&(D.proxy&&r.children.push(D.proxy),D.vnode&&r.childrenVNode.push(D.vnode))}else r.childrenVNode=I.slice(),D.proxy&&r.children.push(D.proxy)},u=(D,I,P)=>Math.min(Math.max(D,I),P),p=D=>{window.requestAnimationFrame.call(window,D)},C=(D,I=0)=>{let P=D*d.value;e.loop||(P=Math.min(P,-S.value));let B=I-P;return e.loop||(B=u(B,S.value,0)),B},y=D=>{const{active:I}=r;return D?e.loop?u(I+D,-1,f.value):u(I+D,0,f.value-1):I},k=({pace:D=0,offset:I=0,isEmit:P=!1})=>{if(f.value<=1)return;const{active:B}=r,x=y(D),R=C(x,I);if(e.loop){if(r.children[0]&&R!==S.value){const T=R<S.value;r.children[0].setOffset(T?g.value:0)}if(r.children[f.value-1]&&R!==0){const T=R>0;r.children[f.value-1].setOffset(T?-g.value:0)}}r.active=x,r.offset=R,P&&B!==r.active&&n("change",b.value),h()},w=()=>{r.moving=!0,r.active<=-1&&k({pace:f.value}),r.active>=f.value&&k({pace:-f.value})},N=()=>{clearTimeout(r.autoplayTimer)},V=()=>{w(),i.reset(),p(()=>{p(()=>{r.moving=!1,k({pace:-1,isEmit:!0})})})},A=()=>{w(),i.reset(),p(()=>{p(()=>{r.moving=!1,k({pace:1,isEmit:!0})})})},E=D=>{w(),i.reset(),p(()=>{p(()=>{r.moving=!1;let I;e.loop&&f.value===D?I=r.active===0?0:D:I=D%f.value,k({pace:I-r.active,isEmit:!0})})})},q=()=>{e.autoPlay<=0||f.value<=1||(N(),r.autoplayTimer=setTimeout(()=>{A(),q()},Number(e.autoPlay)))},U=(D=+e.initPage)=>{N(),r.rect=l.value.getBoundingClientRect(),D=Math.min(f.value-1,D),r.width=e.width?+e.width:r.rect.width,r.height=e.height?+e.height:r.rect.height,r.active=D,r.offset=C(r.active),r.moving=!0,h(),q()},L=D=>{e.isPreventDefault&&D.preventDefault(),e.isStopPropagation&&D.stopPropagation(),e.touchable&&(i.start(D),r.touchTime=Date.now(),N(),w())},z=D=>{e.touchable&&r.moving&&(i.move(D),m.value&&k({offset:c.value}))},$=D=>{if(!e.touchable||!r.moving)return;const I=c.value/(Date.now()-r.touchTime);if((Math.abs(I)>.3||Math.abs(c.value)>+(d.value/2).toFixed(2))&&m.value){let B=0;const x=s.value?i.state.offsetY:i.state.offsetX;e.loop?B=x>0?c.value>0?-1:1:0:B=-Math[c.value>0?"ceil":"floor"](c.value/d.value),k({pace:B,isEmit:!0})}else c.value&&k({pace:0});r.moving=!1,h(),q()};return t.provide("parent",{props:e,size:d,relation:v}),Nt({prev:V,next:A,to:E}),t.onDeactivated(()=>{N()}),t.onBeforeUnmount(()=>{N()}),t.watch(()=>e.initPage,D=>{t.nextTick(()=>{U(Number(D))})}),t.watch(()=>r.children.length,()=>{t.nextTick(()=>{U()})}),t.watch(()=>e.autoPlay,D=>{D>0?q():N()}),{state:r,classes:a,container:l,componentName:jo,isVertical:s,slots:o,activePagination:b,onTouchStart:L,onTouchMove:z,onTouchEnd:$}}});function uv(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{ref:"container",class:t.normalizeClass(e.classes),onTouchstart:n[0]||(n[0]=(...a)=>e.onTouchStart&&e.onTouchStart(...a)),onTouchmove:n[1]||(n[1]=(...a)=>e.onTouchMove&&e.onTouchMove(...a)),onTouchend:n[2]||(n[2]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a)),onTouchcancel:n[3]||(n[3]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a))},[t.createElementVNode("view",{class:t.normalizeClass({[`${e.componentName}-inner`]:!0,[`${e.componentName}-vertical`]:e.isVertical}),style:t.normalizeStyle(e.state.style)},[t.renderSlot(e.$slots,"default")],6),t.renderSlot(e.$slots,"page"),e.paginationVisible&&!e.slots.page?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass({[`${e.componentName}-pagination`]:!0,[`${e.componentName}-pagination-vertical`]:e.isVertical})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.state.children.length,(a,s)=>(t.openBlock(),t.createElementBlock("i",{style:t.normalizeStyle({backgroundColor:e.activePagination===s?e.paginationColor:"#ddd"}),class:t.normalizeClass({active:e.activePagination===s}),key:s},null,6))),128))],2)):t.createCommentVNode("",!0)],34)}const nt=H(cv,[["render",uv]]),{create:dv,componentName:fv}=O("swiper-item"),mv=dv({setup(e,{slots:n}){const o=t.inject("parent");o.relation(t.getCurrentInstance());const l=t.reactive({offset:0}),r=t.computed(()=>({[fv]:!0})),i=t.computed(()=>{const s={},c=o?.props.direction;return o?.size.value&&(s[c==="horizontal"?"width":"height"]=`${o?.size.value}px`),l.offset&&(s.transform=`translate${c==="horizontal"?"X":"Y"}(${l.offset}px)`),s});return Nt({setOffset:s=>{l.offset=s}}),{style:i,classes:r}}});function pv(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const ot=H(mv,[["render",pv]]),{create:hv}=O("imagepreviewitem"),gv=hv({props:{show:{type:Boolean,default:!1},initNo:Number,image:{type:Object,default:()=>({})},video:{type:Object,default:()=>({})},showIndex:{type:Boolean,default:!0},rootWidth:{type:Number,default:0},rootHeight:{type:Number,default:0},minZoom:{type:Number,default:1/3},maxZoom:{type:Number,default:3}},emits:["close","scale"],components:{[he.name]:he,[tt.name]:tt,[nt.name]:nt,[ot.name]:ot,[re.name]:re},setup(e,{emit:n}){const o=t.reactive({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),l=Bt(),r=t.computed(()=>{const{rootWidth:E,rootHeight:q}=e,U=q/E;return o.imageRatio>U}),i=t.computed(()=>{const{scale:E,moveX:q,moveY:U,moving:L,zooming:z}=o,$={transitionDuration:z||L?"0s":".3s"};if(E!==1){const D=q/E,I=U/E;$.transform=`scale(${E}, ${E}) translate(${D}px, ${I}px)`}return $}),a=t.computed(()=>{if(o.imageRatio){const{rootWidth:E,rootHeight:q}=e,U=r.value?q/o.imageRatio:E;return Math.max(0,(o.scale*U-E)/2)}return 0}),s=t.computed(()=>{if(o.imageRatio){const{rootWidth:E,rootHeight:q}=e,U=r.value?q:E*o.imageRatio;return Math.max(0,(o.scale*U-q)/2)}return 0}),c=E=>{const{naturalWidth:q,naturalHeight:U}=E.target;o.imageRatio=U/q},m=()=>{f(1),o.moveX=0,o.moveY=0},f=E=>{E=A(E,+e.minZoom,+e.maxZoom+1),E!==o.scale&&(o.scale=E,n("scale",{scale:E,index:e.initNo}))},d=()=>{const E=o.scale>1?1:2;f(E),o.moveX=0,o.moveY=0},g=E=>Math.sqrt((E[0].clientX-E[1].clientX)**2+(E[0].clientY-E[1].clientY)**2);let S,b,h,v,u,p,C;const y=E=>{const{touches:q}=E,{offsetX:U}=l;l.start(E),C=q.length,S=o.moveX,b=o.moveY,p=Date.now(),o.moving=C===1&&o.scale!==1,o.zooming=C===2&&!U.value,o.zooming&&(h=o.scale,v=g(E.touches))},k=E=>{const{touches:q}=E;if(l.move(E),(o.moving||o.zooming)&&V(E,!0),o.moving){const{deltaX:U,deltaY:L}=l,z=U.value+S,$=L.value+b;o.moveX=A(z,-a.value,a.value),o.moveY=A($,-s.value,s.value)}if(o.zooming&&q.length===2){const U=g(q),L=h*U/v;f(L)}},w=()=>{if(C>1)return;const{offsetX:E,offsetY:q}=l,U=Date.now()-p,L=250,z=5;E.value<z&&q.value<z&&U<L&&(u?(clearTimeout(u),u=null,d()):u=setTimeout(()=>{n("close"),u=null},L))},N=E=>{let q=!1;(o.moving||o.zooming)&&(q=!0,o.moving&&S===o.moveX&&b===o.moveY&&(q=!1),E.touches.length||(o.zooming&&(o.moveX=A(o.moveX,-a.value,a.value),o.moveY=A(o.moveY,-s.value,s.value),o.zooming=!1),o.moving=!1,S=0,b=0,h=1,o.scale<1&&m(),o.scale>e.maxZoom&&(o.scale=+e.maxZoom))),V(E,q),w(),l.reset()},V=(E,q)=>{(typeof E.cancelable!="boolean"||E.cancelable)&&E.preventDefault(),q&&E.stopPropagation()},A=(E,q,U)=>Math.min(Math.max(E,q),U);return t.watch(()=>e.initNo,m),t.watch(()=>e.show,E=>{E||m()}),{...t.toRefs(o),onTouchStart:y,onTouchMove:k,onTouchEnd:N,getDistance:g,imageStyle:i,imageLoad:c}}}),yv=["src"],vv={key:1,class:"fox-imagepreview-box"};function kv(e,n,o,l,r,i){const a=t.resolveComponent("fox-video"),s=t.resolveComponent("fox-swiper-item");return t.openBlock(),t.createBlock(s,{onTouchstart:e.onTouchStart,onTouchmove:e.onTouchMove,onTouchend:e.onTouchEnd,onTouchcancel:e.onTouchEnd},{default:t.withCtx(()=>[e.image&&e.image.src?(t.openBlock(),t.createElementBlock("view",{key:0,style:t.normalizeStyle(e.imageStyle),class:"fox-imagepreview-box"},[t.createElementVNode("img",{src:e.image.src,class:"fox-imagepreview-img",onLoad:n[0]||(n[0]=(...c)=>e.imageLoad&&e.imageLoad(...c))},null,40,yv)],4)):t.createCommentVNode("",!0),e.video&&e.video.source?(t.openBlock(),t.createElementBlock("view",vv,[t.createVNode(a,{source:e.video.source,options:e.video.options},null,8,["source","options"])])):t.createCommentVNode("",!0)]),_:1},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel"])}const Sv=H(gv,[["render",kv]]),{create:bv}=O("imagepreview"),Cv=bv({props:{show:{type:Boolean,default:!1},images:{type:Array,default:()=>[]},videos:{type:Array,default:()=>[]},contentClose:{type:Boolean,default:!0},initNo:{type:Number,default:1},paginationVisible:{type:Boolean,default:!1},paginationColor:{type:String,default:"#fff"},autoplay:{type:[Number,String],default:0},isWrapTeleport:{type:Boolean,default:!1},showIndex:{type:Boolean,default:!0},closeable:{type:Boolean,default:!1},closeIcon:{type:String,default:"circle-close"},closeIconPosition:{type:String,default:"top-right"},beforeClose:Function,minZoom:{type:Number,default:1/3},maxZoom:{type:Number,default:3}},emits:["close","change"],components:{[he.name]:he,[tt.name]:tt,[nt.name]:nt,[ot.name]:ot,[re.name]:re,ImagePreviewItem:Sv},setup(e,{emit:n}){const o=t.ref(),l=t.reactive({showPop:!1,active:1,maxNo:1,rootWidth:0,rootHeight:0}),r=t.computed(()=>{let f={};return e.closeIconPosition=="top-right"?f.right="10px":f.left="10px",f}),i=function(f){l.active=f+1,n("change",l.active)},a=()=>{if(e.beforeClose){const f=e.beforeClose.apply(null,l.active);Wt(f)?f.then(d=>{d&&s()}):f&&s()}else s()},s=()=>{l.showPop=!1,l.active=1,n("close")},c=()=>{a()},m=()=>{setTimeout(()=>{l.rootHeight=o.value.offsetHeight,l.rootWidth=o.value.offsetWidth},100)};return t.watch(()=>e.show,f=>{l.showPop=f,m()}),t.onMounted(()=>{l.active=e.initNo,l.showPop=e.show,l.maxNo=e.images.length+e.videos.length}),{swipeRef:o,...t.toRefs(l),slideChangeEnd:i,onClose:a,handleCloseIcon:c,styles:r}}}),wv={class:"fox-imagepreview",ref:"swipeRef"},Nv={key:0,class:"fox-imagepreview-index"};function Bv(e,n,o,l,r,i){const a=t.resolveComponent("image-preview-item"),s=t.resolveComponent("fox-swiper"),c=t.resolveComponent("fox-icon"),m=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(m,{"pop-class":"custom-pop",visible:e.showPop,"onUpdate:visible":n[1]||(n[1]=f=>e.showPop=f),isWrapTeleport:e.isWrapTeleport,onClick:e.onClose,style:{width:"100%"},"lock-scroll":""},{default:t.withCtx(()=>[t.createElementVNode("view",wv,[e.showPop?(t.openBlock(),t.createBlock(s,{key:0,"auto-play":e.autoplay,class:"fox-imagepreview-swiper",loop:!0,"is-preventDefault":!1,direction:"horizontal",onChange:e.slideChangeEnd,"init-page":e.initNo>e.maxNo?e.maxNo-1:e.initNo-1,"pagination-visible":e.paginationVisible,"pagination-color":e.paginationColor},{default:t.withCtx(()=>[e.videos.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.videos,(f,d)=>(t.openBlock(),t.createBlock(a,{key:d,video:f,rootHeight:e.rootHeight,rootWidth:e.rootWidth,show:e.showPop,"init-no":e.active,onClose:e.onClose,maxZoom:e.maxZoom,minZoom:e.minZoom},null,8,["video","rootHeight","rootWidth","show","init-no","onClose","maxZoom","minZoom"]))),128)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.images,(f,d)=>(t.openBlock(),t.createBlock(a,{key:d,image:f,rootHeight:e.rootHeight,rootWidth:e.rootWidth,show:e.showPop,"init-no":e.active,onClose:e.onClose},null,8,["image","rootHeight","rootWidth","show","init-no","onClose"]))),128))]),_:1},8,["auto-play","onChange","init-page","pagination-visible","pagination-color"])):t.createCommentVNode("",!0)],512),e.showIndex?(t.openBlock(),t.createElementBlock("view",Nv,t.toDisplayString(e.active)+" / "+t.toDisplayString(e.images.length+e.videos.length),1)):t.createCommentVNode("",!0),e.closeable?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-imagepreview-close-icon",onClick:n[0]||(n[0]=(...f)=>e.handleCloseIcon&&e.handleCloseIcon(...f)),style:t.normalizeStyle(e.styles)},[t.createVNode(c,t.mergeProps({name:e.closeIcon},e.$attrs,{color:"#ffffff"}),null,16,["name"])],4)):t.createCommentVNode("",!0)]),_:1},8,["visible","isWrapTeleport","onClick"])}const Ka=H(Cv,[["render",Bv]]);class Vv{show=!1;images=[];initNo=1;paginationVisible=!1;paginationColor="";teleport="body";onClose=()=>{}}class Av{options=new Vv;constructor(n){const o=Object.assign(this.options,n);let l=document.body;const r=o.teleport;r!="body"&&(typeof r=="string"?l=document.querySelector(r):l=o.teleport);const i=document.createElement("view");i.id="imagepreview-"+new Date().getTime();const a={setup(){return o.teleport=`#${i.id}`,()=>t.h(Ka,o)}},s=t.createVNode(a);l.appendChild(i),t.render(s,i)}}const jt=e=>new Av(e);jt.install=e=>{e.use(Ka),e.config.globalProperties.$imagepreview=jt};const{componentName:T1,create:Ev}=O("countup"),Tv=Ev({props:{initNum:{type:Number,default:0},endNum:{type:Number,default:0},speed:{type:Number,default:1},toFixed:{type:Number,default:0},during:{type:Number,default:1e3},startFlag:{type:Boolean,default:!0},numWidth:{type:Number,default:20},numHeight:{type:Number,default:20},scrolling:{type:Boolean,default:!1},customBgImg:{type:String,default:""},customSpacNum:{type:Number,default:0},customChangeNum:{type:Number,default:1},type:{type:String,default:""},machineNum:{type:Number,default:3},machinePrizeNum:{type:Number,default:0},machinePrizeLevel:{type:Number,default:0},machineTrunMore:{type:Number,default:0}},components:{},emits:["click","scroll-end"],setup(e,{emit:n}){const o=t.reactive({valFlag:!1,current:0,sortFlag:"add",initDigit1:0,initDigit2:0,to0_10:[0,1,2,3,4,5,6,7,8,9,0],to10_0:[0,9,8,7,6,5,4,3,2,1,1],timer:null,totalCount:0,pointNum:0,numberVal:0,num_total_len:0,relNum:0,customNumber:1,prizeLevelTrun:0,prizeY:[],prizeYPrev:[],finshMachine:0,notPrize:[],typeMachine:""}),{startFlag:l,scrolling:r,customBgImg:i,type:a}=t.reactive(e);t.watch(()=>e.customChangeNum,(y,k)=>{c(),S(0)}),t.watch(()=>e.machinePrizeLevel,(y,k)=>{o.prizeLevelTrun=y}),t.watch(()=>e.initNum,(y,k)=>{o.current=y,o.valFlag=!1,s()}),t.watch(()=>e.endNum,(y,k)=>{o.current=e.initNum,o.valFlag=!1,s()});const s=()=>{if(o.valFlag)return!1;l&&(r||i?a!="machine"&&S():(g(),setTimeout(()=>{o.valFlag=!0},300)))},c=()=>{clearInterval(Number(o.timer)),o.timer=null},m=(y,k,w)=>{const N=(y.toString().split(".")[1]||"").length,V=(k.toString().split(".")[1]||"").length,A=Math.pow(10,Math.max(N,V));return w=="-"?Number((y*A-k*A).toFixed(0))/A:Number((y*A+k*A).toFixed(0))/A},f=y=>{let{num_total_len:k,pointNum:w,initDigit1:N,initDigit2:V,sortFlag:A}=o,E=A=="add"||A=="equal"?String(V)[y-(k-w)]:10-Number(String(V)[y-(k-w)]),q=A=="add"||A=="equal"?String(N)[y]:10-Number(String(N)[y]),U=y>k-w-1?-E*100+"%":y<=String(N).length-1?-q*100+"%":0;return U=="-1000%"&&(U=0),U},d=y=>{let{num_total_len:k,pointNum:w,initDigit1:N,initDigit2:V,sortFlag:A}=o,E=String(V)[y-(k-w)];return y>k-w-1?E||0:y<=String(N).length-1?String(N)[y]:0},g=()=>{let{endNum:y,initNum:k,speed:w,toFixed:N}=e,V=setInterval(()=>{k>y?o.current<=y||o.current<=w?(o.current=Number(y.toFixed(N)),clearInterval(V),n("scroll-end"),o.valFlag=!1):o.current=Number((parseFloat(String(o.current))-parseFloat(String(w))).toFixed(N)):o.current>=y?(o.current=Number(y.toFixed(N)),clearInterval(V),n("scroll-end"),o.valFlag=!1):o.current=Number((parseFloat(String(o.current))+parseFloat(String(w))).toFixed(N))},e.during)},S=y=>{let{initNum:k,endNum:w,toFixed:N,customBgImg:V}=e;V&&(k=e.customChangeNum);let A,E,q,U;k!=0?(N!=0&&(k=Number(k.toFixed(N))),String(k).indexOf(".")>-1?(A=String(k).split(".")[0].length,E=String(k).split(".")[1].length):(A=String(k).length,E=0)):(A=1,E=0),w!=0?(N!=0&&(w=Number(w.toFixed(N))),String(w).indexOf(".")>-1?(q=String(w).split(".")[0].length,U=String(w).split(".")[1].length):(q=String(w).length,U=0)):(q=1,U=0);let L=A>=q?A:q,z=E>=U?E:U;o.num_total_len=L+z,o.pointNum=z,k>w?(o.sortFlag="reduce",o.to0_10=[0,9,8,7,6,5,4,3,2,1,0],o.totalCount=m(k,w,"-"),o.numberVal=Number(String(k))):k<w?(o.sortFlag="add",o.to0_10=[0,1,2,3,4,5,6,7,8,9,0],o.totalCount=m(w,k,"-"),o.numberVal=Number(String(w))):o.sortFlag="equal";var $=1;for(let I=0;I<o.pointNum;I++)$*=10;var D=o.numberVal*$;if(o.relNum=D,N!=0&&(o.pointNum=String(o.numberVal).split(".")[1]?String(o.numberVal).split(".")[1].length:0,o.num_total_len=String(D).length),String(k).indexOf(".")>-1){let I=String(k).split(".");o.initDigit1=Number(I[0]),o.initDigit2=Number(I[1])}else o.initDigit1=k,o.initDigit2=0;r&&!V?t.nextTick(()=>{if(o.sortFlag=="equal")return!1;let P=document.getElementsByClassName("numberItem")[o.num_total_len-1];b(P)}):y!==0&&v()},b=y=>{c();var k=1;o.pointNum!=0&&(k=1/Math.pow(10,o.pointNum)),o.timer=setInterval(()=>{h(y),o.totalCount=m(o.totalCount,k,"-"),o.totalCount<=0&&(c(),n("scroll-end"),o.valFlag=!1)},e.during)},h=y=>{let k=y.getAttribute("turn-number"),w;if(o.sortFlag=="add"?w=parseInt(String(k))+1:w=parseInt(String(k))-1>=0?parseInt(String(k))-1:9,y.setAttribute("turn-number",String(w)),(y.style.transition=="none 0s ease 0s"||w==1||!y.style.transition)&&(y.style.transition=`all linear ${e.during}ms`),w==10||o.sortFlag=="reduce"&&w==0){var N=null;y.style.top=`-${o.sortFlag=="add"?w*100:(10-w)*100}%`,y.setAttribute("turn-number","0"),N=setTimeout(()=>{N&&clearTimeout(N),y.style.transition="none",y.style.top="0",w==10&&y.previousSibling&&h(y.previousSibling)},.975*e.during)}else y.style.top=`-${o.sortFlag=="add"?w*100:(10-w)*100}%`;y.style.top=="-100%"&&o.sortFlag=="reduce"&&h(y.previousSibling)},v=()=>{o.pointNum!=0&&Math.pow(10,o.pointNum),t.nextTick(()=>{document.getElementsByClassName("run-number-img")[0].addEventListener("webkitTransitionEnd",()=>{n("scroll-end"),o.valFlag=!1})})},u=()=>{for(o.notPrize=[];o.notPrize.length<3;){var y=Math.floor(Math.random()*e.machinePrizeNum+1);o.notPrize.indexOf(y)==-1&&o.notPrize.push(y)}};Yd({machineLuck:()=>{const y=e.machineTrunMore<0?0:e.machineTrunMore;let k=e.numHeight*e.machinePrizeNum;o.prizeLevelTrun<0&&u();for(let w=0;w<e.machineNum;w++)setTimeout(()=>{let N=k*(w+1+parseFloat(String(y)));o.prizeYPrev.length!=0&&(o.prizeY[w]=o.prizeYPrev[w]);let V=o.prizeYPrev[w]?o.prizeYPrev[w]:0,A=N+V+(e.machinePrizeNum-o.prizeLevelTrun+1)*e.numHeight+(k-V);o.prizeLevelTrun<0&&(A+=e.numHeight*o.notPrize[w]),C(w,A,V)},500*w)}});const C=(y,k,w)=>{let N=setInterval(()=>{if(w<=k)w+=10,o.prizeY[y]=parseFloat(String(w));else if(clearInterval(N),N=null,o.finshMachine+=1,o.prizeY[y]=k,o.finshMachine==e.machineNum){let V=e.numHeight*e.machinePrizeNum;o.prizeYPrev=[],JSON.parse(JSON.stringify(o.prizeY)).forEach(E=>{let q=E;for(;q>V;)q-=V;o.prizeYPrev.push(q)}),setTimeout(()=>{o.finshMachine=0,o.prizeLevelTrun<0?(n("scroll-end",!1),o.valFlag=!1):(n("scroll-end",!0),o.valFlag=!1)},130)}},30)};return t.onMounted(()=>{o.current=e.initNum,t.nextTick(()=>{s()})}),t.onUnmounted(()=>{c(),o.timer=null}),{...t.toRefs(o),...t.toRefs(t.reactive(e)),topNumber:f,turnNumber:d}}}),$v={class:"fox-countup"},Dv=["turn-number"];function Iv(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",$v,[e.customBgImg!=""?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.type=="machine"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"run-number-machine-img",style:t.normalizeStyle({height:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.machineNum,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:"run-number-machine-img-li",ref_for:!0,ref:"run-number-machine-img-li",key:"mImg"+s,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionY:e.prizeY[s]+"px"})},null,4))),128))],4)):(t.openBlock(),t.createElementBlock("view",{key:1,class:"run-number-img",style:t.normalizeStyle({height:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.num_total_len,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:"run-number-img-li",key:"cImg"+s,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",left:e.numWidth*(s>e.num_total_len-e.pointNum-1?s==e.num_total_len-e.pointNum?s*1.5:s*1.3:s)+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPosition:"0 "+-(String(e.relNum)[s]*e.numHeight+e.customSpacNum*String(e.relNum)[s])+"px",transition:"all linear "+e.during/10+"ms"})},null,4))),128)),e.pointNum>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"pointstyl",style:t.normalizeStyle({width:e.numWidth/2+"px",bottom:0,left:e.numWidth*(e.num_total_len-e.pointNum)*1.1+"px",fontSize:"30px"})},".",4)):t.createCommentVNode("",!0)],4))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.scrolling?(t.openBlock(),t.createElementBlock("view",{key:0,class:"run-number",style:t.normalizeStyle({width:e.numWidth*e.num_total_len+e.numWidth/3+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.num_total_len,(a,s)=>(t.openBlock(),t.createElementBlock("view",{ref_for:!0,ref:"numberItem",class:"numberItem",key:a,style:t.normalizeStyle({top:e.topNumber(s),left:e.numWidth*(s>e.num_total_len-e.pointNum-1?s*1.1:s)+"px"}),"turn-number":e.turnNumber(s)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.to0_10,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:"itemSpan",key:"dote"+m,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},t.toDisplayString(c),5))),128))],12,Dv))),128)),e.pointNum>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"pointstyl",style:t.normalizeStyle({width:e.numWidth/3+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px",top:0,left:e.numWidth*(e.num_total_len-e.pointNum)+"px"})},".",4)):t.createCommentVNode("",!0)],4)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.current),1)],64))],64))])}const Ha=H(Tv,[["render",Iv]]),mt=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},Wo=e=>{if(!e)return Date.now();let n=Number(e);return n=n>0?+n:Number(n.toString().replace(/\-/g,"/")),new Date(n).getTime()},{componentName:qv,create:zv}=O("countdown"),Mv=zv({props:{modelValue:{type:Object,default:()=>({})},paused:{default:!1,type:Boolean},startTime:{type:[Number,String],validator(e){return new Date(e).toString().toLowerCase()!=="invalid date"}},endTime:{type:[Number,String],validator(e){return new Date(e).toString().toLowerCase()!=="invalid date"}},millisecond:{default:!1,type:Boolean},format:{type:String,default:"HH:mm:ss"},autoStart:{type:Boolean,default:!0},time:{type:[Number,String],default:0}},emits:["input","on-end","on-restart","on-paused","update:modelValue"],setup(e,{emit:n,slots:o}){const l=t.reactive({restTime:0,timer:null,counting:!e.paused&&e.autoStart,handleEndTime:Date.now(),diffTime:0}),r=t.computed(()=>({[qv]:!0})),i=t.computed(()=>c(l.restTime)),a=()=>{l.handleEndTime=e.endTime,l.diffTime=Date.now()-Wo(e.startTime),l.counting||(l.counting=!0),s()},s=()=>{window!==void 0&&(l.timer=requestAnimationFrame(()=>{if(l.counting){const S=Date.now()-l.diffTime,b=Math.max(l.handleEndTime-S,0);l.restTime=b,b||(l.counting=!1,d(),n("on-end")),b>0&&s()}}))},c=(S,b)=>{const h=S;let v={d:0,h:0,m:0,s:0,ms:0};const u=1e3,p=60*u,C=60*p,y=24*C;return h>0&&(v.d=h>=u?Math.floor(h/y):0,v.h=Math.floor(h%y/C),v.m=Math.floor(h%C/p),v.s=Math.floor(h%p/u),v.ms=Math.floor(h%u)),b=="custom"?v:m({...v})},m=S=>{let{d:b,h,m:v,s:u,ms:p}=S,C=e.format;if(C.includes("DD")?C=C.replace("DD",mt(b)):h+=Number(b)*24,C.includes("HH")?C=C.replace("HH",mt(h)):v+=Number(h)*60,C.includes("mm")?C=C.replace("mm",mt(v)):u+=Number(v)*60,C.includes("ss")?C=C.replace("ss",mt(u)):p+=Number(u)*1e3,C.includes("S")){const y=mt(p,3).toString();C.includes("SSS")?C=C.replace("SSS",y):C.includes("SS")?C=C.replace("SS",y.slice(0,2)):C.includes("S")&&(C=C.replace("SS",y.slice(0,1)))}return C},f=()=>{!l.counting&&!e.autoStart&&(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),s(),n("on-restart",l.restTime))},d=()=>{cancelAnimationFrame(l.timer),l.counting=!1,n("on-paused",l.restTime)},g=()=>{e.autoStart||(d(),l.restTime=e.time)};return t.onBeforeMount(()=>{e.autoStart?a():l.restTime=e.time}),t.watch(()=>l.restTime,S=>{let b=c(S,"custom");n("update:modelValue",b),n("input",b)}),t.watch(()=>e.paused,(S,b)=>{b?(l.counting||(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),s()),n("on-restart",l.restTime)):l.counting&&d()}),t.watch(()=>e.endTime,S=>{a()}),t.watch(()=>e.startTime,S=>{a()}),{...t.toRefs(e),slots:o,classes:r,getTimeStamp:Wo,start:f,pause:d,renderTime:i,reset:g}}}),Pv=["innerHTML"];function xv(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.slots.default?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,class:"fo xcd-block",innerHTML:e.renderTime},null,8,Pv))],2)}const ja=H(Mv,[["render",xv]]),{create:Rv}=O("badge"),Lv=Rv({props:{value:{type:[String,Number]},max:{type:Number,default:1e4},dot:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},top:{type:String,default:"0"},right:{type:String,default:"0"},zIndex:{type:Number,default:9},color:{type:String,default:""}},setup(e){const n=t.reactive({}),o=t.computed(()=>({top:`${e.top}px`,right:`${e.right}px`,zIndex:e.zIndex,background:e.color})),l=t.computed(()=>{if(e.dot)return;const r=e.value,i=e.max;return typeof r=="number"&&typeof i=="number"&&i<r?`${i}+`:r});return{state:n,stl:o,content:l}}}),Ov={class:"fox-badge"},Fv={class:"slot-icons"},Uv=["textContent"];function Kv(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",Ov,[t.createElementVNode("view",Fv,[t.renderSlot(e.$slots,"icons")]),t.renderSlot(e.$slots,"default"),t.withDirectives(t.createElementVNode("view",{textContent:t.toDisplayString(e.content),class:t.normalizeClass(["fox-badge__content sup",{"is-dot":e.dot}]),style:t.normalizeStyle(e.stl)},null,14,Uv),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}const Wa=H(Lv,[["render",Kv]]),{componentName:Hv,create:jv}=O("tag"),Wv=jv({props:{color:{type:String,default:""},textColor:{type:String,default:""},type:{type:String,default:"default"},plain:{type:Boolean,default:!1},round:{type:Boolean,default:!1},mark:{type:Boolean,default:!1},closeable:{type:Boolean,default:!1}},emits:["close","click"],setup(e,{emit:n}){const{type:o,color:l,plain:r,round:i,mark:a,textColor:s}=t.toRefs(e);return{classes:t.computed(()=>{const g=Hv;return{[g]:!0,[`${g}--${o.value}`]:o.value,[`${g}--plain`]:r.value,[`${g}--round`]:i.value,[`${g}--mark`]:a.value}}),getStyle:()=>{const g={};return s.value?g.color=s.value:l.value&&r.value&&(g.color=l.value),r.value?(g.background="#fff",g["border-color"]=l.value):l.value&&(g.background=l.value),g},onClose:g=>{g.stopPropagation(),n("close",g)},onClick:g=>{n("click",g)}}}});function Yv(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle()),onClick:n[0]||(n[0]=(...s)=>e.onClick&&e.onClick(...s))},[t.renderSlot(e.$slots,"default"),e.closeable?(t.openBlock(),t.createBlock(a,{key:0,class:"fox-tag--close",name:"close",size:"12",onClick:e.onClose},null,8,["onClick"])):t.createCommentVNode("",!0)],6)}const Ya=H(Wv,[["render",Yv]]),{componentName:Xv,create:Qv}=O("popover"),Gv=Qv({inheritAttrs:!1,components:{[he.name]:he,[et.name]:et},props:{...Oe,list:{type:Array,default:[]},theme:{type:String,default:"light"},location:{type:String,default:"bottom"}},emits:["update","update:visible","close","choose","openPopover"],setup(e,{emit:n}){const o=t.ref(),l=t.reactive({elWidth:0,elHeight:0}),r=t.ref(e.visible),{theme:i,location:a}=t.toRefs(e),s=t.computed(()=>{const u=Xv;return{[u]:!0,[`${u}--${i.value}`]:i.value}}),c=t.computed(()=>{const u="popoverContent";return{[u]:!0,[`${u}--${a.value}`]:a.value}}),m=t.computed(()=>{const u="popoverArrow";return{[u]:!0,[`${u}--${a.value}`]:a.value}});function f(){l.elWidth=o.value.offsetWidth,l.elHeight=o.value.offsetHeight}const d=t.computed(()=>{const u={};return a.value=="top"?(u.bottom=l.elHeight+20+"px",u.left="0px"):a.value=="right"?(u.top="0px",u.right=-l.elWidth+"px"):a.value=="left"?(u.top="0px",u.left=-l.elWidth+"px"):(u.top=l.elHeight+20+"px",u.left="0px"),u}),g=t.computed(()=>{const u={};return a.value=="top"?(u.bottom="-20px",u.left=l.elWidth/2+"px"):a.value=="right"?(u.top="20px",u.left="-20px"):a.value=="left"?(u.top="20px",u.right="-20px"):(u.left=l.elWidth/2+"px",u.top="-20px"),u});t.onMounted(()=>{f()}),t.watch(()=>e.visible,u=>{r.value=u});const S=u=>{n("update",u),n("update:visible",u)};return{classes:s,showPopup:r,openPopover:()=>{S(!e.visible),n("open")},popoverContent:c,popoverArrow:m,closePopover:()=>{n("close"),n("update:visible",!1)},chooseItem:(u,p)=>{u.disabled||n("choose",u,p)},getReference:f,reference:o,getStyle:d,getArrowStyle:g}}}),Zv={ref:"reference"},Jv=["onClick"],_v={class:"title-name"};function ek(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{onClick:n[1]||(n[1]=t.withModifiers((...s)=>e.openPopover&&e.openPopover(...s),["stop"])),class:t.normalizeClass(e.classes)},[t.createElementVNode("div",Zv,[t.renderSlot(e.$slots,"reference")],512),e.showPopup?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("view",{class:"more-background",onClick:n[0]||(n[0]=t.withModifiers((...s)=>e.closePopover&&e.closePopover(...s),["stop"]))}),t.createElementVNode("view",{class:t.normalizeClass(e.popoverContent),style:t.normalizeStyle(e.getStyle)},[t.createElementVNode("view",{class:t.normalizeClass(e.popoverArrow),style:t.normalizeStyle(e.getArrowStyle)},null,6),t.renderSlot(e.$slots,"content"),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.list,(s,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass({"title-item":!0,disabled:s.disabled}),onClick:t.withModifiers(m=>e.chooseItem(s,c),["stop"])},[s.icon?t.renderSlot(e.$slots,"default",{key:0},()=>[t.createVNode(a,{class:"item-img",name:s.icon},null,8,["name"])]):t.createCommentVNode("",!0),t.createElementVNode("view",_v,t.toDisplayString(s.name),1)],10,Jv))),128))],6)],64)):t.createCommentVNode("",!0)],2)}const Xa=H(Gv,[["render",ek]]),tk={props:{width:{type:String,default:"100px"},height:{type:String,default:"100px"},animated:{type:Boolean,default:!1},avatar:{type:Boolean,default:!1},avatarShape:{type:String,default:"round"},avatarSize:{type:String,default:"50px"},loading:{type:Boolean,default:!0},round:{type:Boolean,default:!1},row:{type:String,default:"1"},title:{type:Boolean,default:!0}},setup(e){const{avatarShape:n,round:o,avatarSize:l}=t.toRefs(e),r=t.computed(()=>{const s="avatarClass";return{[s]:!0,[`${s}--${n.value}`]:n.value}}),i=s=>({[s]:!0,[`${s}--round`]:o.value}),a=()=>l.value?{width:l.value,height:l.value}:{width:"50px",height:"50px"};return t.onMounted(()=>{}),{avatarShape:n,avatarClass:r,getBlockClass:i,getStyle:a}}},{create:nk}=O("skeleton"),ok=nk(tk),lk={key:0},ak={key:1,class:"skeleton"},rk={key:0,class:"skeleton-animation"},sk={class:"content"};function ik(e,n,o,l,r,i){const a=t.resolveComponent("fox-avatar");return e.loading?(t.openBlock(),t.createElementBlock("view",ak,[e.animated?(t.openBlock(),t.createElementBlock("view",rk)):t.createCommentVNode("",!0),t.createElementVNode("view",sk,[e.avatar?(t.openBlock(),t.createBlock(a,{key:0,class:t.normalizeClass(e.avatarClass),shape:e.avatarShape,style:t.normalizeStyle(e.getStyle())},null,8,["class","shape","style"])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"content-line",style:t.normalizeStyle({width:e.width})},[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.getBlockClass("blockTitle")),style:t.normalizeStyle({height:e.height})},null,6)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Number(e.row),s=>(t.openBlock(),t.createElementBlock("view",{key:s,class:t.normalizeClass(e.getBlockClass("blockLine")),style:t.normalizeStyle({height:e.height})},null,6))),128))],4)])])):(t.openBlock(),t.createElementBlock("view",lk,[t.renderSlot(e.$slots,"default")]))}const Qa=H(ok,[["render",ik]]),{create:ck}=O("collapse"),uk=ck({props:{active:{type:[String,Number,Array]},accordion:{type:Boolean},titleIcon:{type:String,default:""},titleIconSize:{type:String,default:"16px"},titleIconColor:{type:String,default:""},titleIconPosition:{type:String,default:"left"},icon:{type:String,default:""},iconSize:{type:String,default:"16px"},iconColor:{type:String,default:""},rotate:{type:[String,Number],default:180}},emits:["update:active","change"],setup(e,{emit:n,slots:o}){const l=t.ref(null),r=t.ref([]);t.watch(()=>e.active,(c,m)=>{let f=r.value;Array.from(f).forEach(d=>{typeof c=="number"||typeof c=="string"?c==d.name?d.changeOpen(!0):d.changeOpen(!1):Object.values(c)instanceof Array&&(c.indexOf(Number(d.name))>-1||c.indexOf(String(d.name))>-1?d.changeOpen(!0):d.changeOpen(!1)),d.animation()})}),t.onMounted(()=>{r.value=t.getCurrentInstance().provides.collapseParent.children||[]});const i=c=>{n("update:active",c),n("change",c)},a=c=>{const m=e.active instanceof Object?Object.values(e.active):e.active;let f=-1;m.forEach((d,g)=>{String(d)==String(c)&&(f=g)}),f>-1?m.splice(f,1):m.push(c),i(m)},s=c=>{const{accordion:m,active:f}=e;if(m)return typeof f=="number"||typeof f=="string"?f==c:!1};return t.provide("collapseParent",{children:[],props:e,changeValAry:a,changeVal:i,isExpanded:s}),{collapseDom:l}}}),dk={ref:"collapseDom"};function fk(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",dk,[t.renderSlot(e.$slots,"default")],512)}const Ga=H(uk,[["render",fk]]),{create:mk,componentName:pk}=O("collapse-item"),hk=mk({props:{title:{type:String,default:""},subTitle:{type:String,default:""},disabled:{type:Boolean,default:!1},name:{type:[Number,String],default:-1,required:!0},collapseRef:{type:Object}},setup(e,n){const o=t.inject("collapseParent"),l=t.reactive(o),r=t.computed(()=>{const y=pk;return{[y]:!0,[`${y}-icon`]:l.props.icon}});(y=>{y.proxy&&l.children.push(y.proxy)})(t.getCurrentInstance());const a=t.reactive({icon:l.props.icon,iconSize:l.props.iconSize,iconColor:l.props.iconColor,openExpanded:!1,iconStyle:{transform:"rotate(0deg)",marginTop:l.props.iconHeght?"-"+l.props.iconHeght/2+"px":"-10px"}}),s=t.reactive({titleIcon:l.props.titleIcon,titleIconSize:l.props.titleIconSize,titleIconColor:l.props.titleIconColor,titleIconPosition:l.props.titleIconPosition}),c=t.ref(null),m=t.ref(null),f=()=>{const y=document.getElementsByClassName("collapse-wrapper")[0];y&&(y.style.willChange="auto")},d=()=>{const y=c.value,k=m.value;if(!y||!k)return;const w=k.offsetHeight||"auto";if(w){const N=`${w}px`;y.style.willChange="height",y.style.height=a.openExpanded?N:0,l.props.icon&&!a.openExpanded?a.iconStyle.transform="rotate(0deg)":a.iconStyle.transform="rotate("+l.props.rotate+"deg)"}a.openExpanded||f()},g=()=>{a.openExpanded=!a.openExpanded,d()},S=()=>{g(),l.props.icon&&(a.iconStyle.transform="rotate("+l.props.rotate+"deg)")},b=t.computed(()=>e.name),h=()=>{l.props.accordion?t.nextTick(()=>{b.value==l.props.active?g():l.changeVal(b.value)}):(l.changeValAry(String(e.name)),g())},v=y=>{a.openExpanded=y},u=t.computed(()=>l?l.isExpanded(e.name):null);t.watch(u,(y,k)=>{y&&(a.openExpanded=!0)}),t.watch(()=>n?.slots?.default?.(),()=>{setTimeout(()=>{d()},300)});const p=()=>{const{name:y}=e,k=l&&l.props.active;t.nextTick(()=>{typeof k=="number"||typeof k=="string"?y==k&&S():Object.values(k)instanceof Array&&Object.values(k).filter(N=>N==y).length>0&&S()})};t.onMounted(()=>{p()});const C=t.computed(()=>{let y=m.value,k="";return y?.innerText||(k="empty"),k});return{classes:r,emptyContent:C,...t.toRefs(a),...t.toRefs(l.props),...t.toRefs(s),wrapperRef:c,contentRef:m,open:g,toggleOpen:h,changeOpen:v,animation:d}}}),gk={class:"collapse-title"},yk={class:"collapse-title-value"},vk=["innerHTML"],kk={key:0,class:"subTitle"},Sk=["innerHTML"],bk={key:0,class:"collapse-extraWrapper"},Ck={class:"collapse-extraRender"},wk={class:"collapse-wrapper",ref:"wrapperRef"};function Nk(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["collapse-item",{"item-expanded":e.openExpanded},{"fox-collapse-item-disabled":e.disabled}]),onClick:n[0]||(n[0]=(...s)=>e.toggleOpen&&e.toggleOpen(...s))},[t.createElementVNode("view",gk,[t.createElementVNode("view",null,[t.createElementVNode("view",yk,[e.titleIcon?(t.openBlock(),t.createBlock(a,{key:0,name:e.titleIcon,size:e.titleIconSize,color:e.titleIconColor,class:t.normalizeClass([e.titleIconPosition=="left"?"titleIconLeft":"titleIconRight"])},null,8,["name","size","color","class"])):t.createCommentVNode("",!0),e.$slots.mTitle?t.renderSlot(e.$slots,"mTitle",{key:1}):(t.openBlock(),t.createElementBlock("view",{key:2,innerHTML:e.title,class:"collapse-icon-title"},null,8,vk))])])]),e.$slots.sTitle?(t.openBlock(),t.createElementBlock("view",kk,[t.renderSlot(e.$slots,"sTitle")])):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.subTitle,class:"subTitle"},null,8,Sk)),e.icon?(t.openBlock(),t.createBlock(a,{key:2,name:e.icon,size:e.iconSize,color:e.iconColor,class:t.normalizeClass(["collapse-icon",{"col-expanded":e.openExpanded},{"collapse-icon-disabled":e.disabled}]),style:t.normalizeStyle(e.iconStyle)},null,8,["name","size","color","class","style"])):t.createCommentVNode("",!0)],2),e.$slots.extraRender?(t.openBlock(),t.createElementBlock("view",bk,[t.createElementVNode("div",Ck,[t.renderSlot(e.$slots,"extraRender")])])):t.createCommentVNode("",!0),t.createElementVNode("view",wk,[t.createElementVNode("view",{class:t.normalizeClass(["collapse-content",e.emptyContent]),ref:"contentRef"},[t.renderSlot(e.$slots,"default")],2)],512)],2)}const Za=H(hk,[["render",Nk]]),Bk={setup(e){return()=>t.h("view",{},e.slots[0]?e.slots[0](e.record):e.slots[1](e.record))},props:{slots:Array,record:Object}},Vk=(e,n)=>({components:{RenderColumn:Bk},props:{bordered:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},data:{type:Object,default:()=>({})},summary:{type:Function,default:null},striped:{type:Boolean,default:!1}},emits:["sorter"],setup(o,{emit:l,slots:r}){const{t:i}=_.useFoxI18n(n),a=t.reactive({curData:o.data}),s=t.computed(()=>({[e]:!0})),c=h=>({"fox-table__main__head__tr--border":o.bordered,[`fox-table__main__head__tr--align${h.align?h.align:""}`]:!0}),m=h=>h.stylehead?h.stylehead:"",f=h=>h.stylecolumn?h.stylecolumn:"",d=h=>o.columns.filter(v=>v.key===h)[0],g=h=>{const v=o.columns.filter(u=>u.key===h);return v[0].stylecolumn?v[0].stylecolumn:""},S=h=>{h.sorter&&(l("sorter",h),a.curData=typeof h.sorter=="function"?a.curData.sort(h.sorter):h.sorter==="default"?a.curData.sort():a.curData)},b=()=>o.columns.map(h=>[h.key,h.render]);return t.watch(()=>o.data,h=>{a.curData=h.slice()}),{...t.toRefs(a),classes:s,cellClasses:c,getColumnItem:d,getColumnItemStyle:g,handleSorterClick:S,sortDataItem:b,t:i,stylehead:m,stylecolumn:f}}}),{componentName:Ak,create:Ek,scope:Tk}=O("table"),$k=Ek(Vk(Ak,Tk)),Dk={class:"fox-table__main__head"},Ik={class:"fox-table__main__head__tr"},qk=["onClick"],zk={class:"fox-table__main__body"},Mk={key:1},Pk={key:0,class:"fox-table__nodata"},xk={key:0,class:"fox-table__nodata__text"},Rk={key:1,class:"fox-table__summary"},Lk=["innerHTML"];function Ok(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("RenderColumn");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-table__main",{"fox-table__main--striped":e.striped}])},[t.createElementVNode("view",Dk,[t.createElementVNode("view",Ik,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.columns,c=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__head__tr__th",e.cellClasses(c)]),key:c.key,onClick:m=>e.handleSorterClick(c),style:t.normalizeStyle(c.stylehead)},[t.createTextVNode(t.toDisplayString(c.title)+" ",1),t.renderSlot(e.$slots,"icon"),!e.$slots.icon&&c.sorter?(t.openBlock(),t.createBlock(a,{key:0,name:"down-arrow",size:"12px"})):t.createCommentVNode("",!0)],14,qk))),128))])]),t.createElementVNode("view",zk,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.curData,c=>(t.openBlock(),t.createElementBlock("view",{class:"fox-table__main__body__tr",key:c},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.sortDataItem(),([m,f])=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(m))]),key:m,style:t.normalizeStyle(e.getColumnItemStyle(m))},[typeof c[m]=="function"||typeof f=="function"?(t.openBlock(),t.createBlock(s,{key:0,slots:[f,c[m]],record:c},null,8,["slots","record"])):(t.openBlock(),t.createElementBlock("view",Mk,t.toDisplayString(c[m]),1))],6))),128))]))),128))])],2),e.curData.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Pk,[t.createElementVNode("div",{class:t.normalizeClass(["fox-table__nodata",{"fox-table__nodata--border":e.bordered}])},[t.renderSlot(e.$slots,"nodata"),e.$slots.nodata?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",xk,t.toDisplayString(e.t("noData")),1))],2)])),e.summary?(t.openBlock(),t.createElementBlock("view",Rk,[t.createElementVNode("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,Lk)])):t.createCommentVNode("",!0)],2)}const Ja=H($k,[["render",Ok]]),{componentName:Fk,create:Uk}=O("ellipsis"),Kk=Uk({props:{class:{type:String},content:{type:String,default:""},direction:{type:String,default:"end"},rows:{type:[Number,String],default:1},expandText:{type:String,default:""},collapseText:{type:String,default:""},symbol:{type:String,default:"..."},lineHeight:{type:[Number,String],default:"20"}},emits:["click","change"],setup(e,{emit:n}){const o=t.ref(null);let l=null,r=0;const i=t.ref(),a=t.reactive({exceeded:!1,expanded:!1}),s=t.computed(()=>{let h=Fk;return e.class&&(h=`${h} ${e.class}`),h});t.watch(()=>e.content,(h,v)=>{h!=v&&(l&&document.body.appendChild(l),c())}),t.onMounted(()=>{c()});const c=()=>{if(!o.value)return;const h=window.getComputedStyle(o.value);l=document.createElement("div"),Array.prototype.slice.apply(h).forEach(p=>{l.style.setProperty(p,h.getPropertyValue(p))}),l.style.position="fixed",l.style.left="999999px",l.style.top="999999px",l.style.zIndex="-1000",l.style.height="auto",l.style.minHeight="auto",l.style.maxHeight="auto",l.style.textOverflow="clip",l.style.whiteSpace="normal",l.style.webkitLineClamp="unset",l.style.display="block";const u=g(h.lineHeight==="normal"?e.lineHeight:h.lineHeight);r=Math.floor(u*(Number(e.rows)+.5)+g(h.paddingTop)+g(h.paddingBottom)),l.innerText=e.content,document.body.appendChild(l),m()},m=()=>{if(l.offsetHeight<=r)a.exceeded=!1;else{a.exceeded=!0;const h=e.content.length,v=Math.floor((0+h)/2),u=e.direction==="middle"?d([0,v],[v,h]):f(0,h);i.value=u,document.body.removeChild(l)}},f=(h,v)=>{const u=a.expanded?e.collapseText:e.expandText,p=e.content.length;if(v-h<=1)return e.direction==="end"?{leading:e.content.slice(0,h)+e.symbol}:{tailing:e.symbol+e.content.slice(v,p)};const C=Math.round((h+v)/2);return e.direction==="end"?l.innerText=e.content.slice(0,C)+e.symbol+u:l.innerText=u+e.symbol+e.content.slice(C,p),l.offsetHeight<=r?e.direction==="end"?f(C,v):f(h,C):e.direction==="end"?f(h,C):f(C,v)},d=(h,v)=>{const u=a.expanded?e.collapseText:e.expandText,p=e.content.length;if(h[1]-h[0]<=1&&v[1]-v[0]<=1)return{leading:e.content.slice(0,h[0])+e.symbol,tailing:e.symbol+e.content.slice(v[1],p)};const C=Math.floor((h[0]+h[1])/2),y=Math.ceil((v[0]+v[1])/2);return l.innerText=e.content.slice(0,C)+e.symbol+u+e.symbol+e.content.slice(y,p),l.offsetHeight<=r?d([C,h[1]],[v[0],y]):d([h[0],C],[y,v[1]])},g=h=>{if(!h)return 0;const v=h.match(/^\d*(\.\d*)?/);return v?Number(v[0]):0},S=h=>{h==1?(a.expanded=!0,n("change","expand")):(a.expanded=!1,n("change","collapse"))},b=()=>{n("click")};return{...t.toRefs(a),root:o,ellipsis:i,classes:s,clickHandle:S,handleClick:b}}}),Hk={key:0},jk={key:1},Wk={key:2};function Yk(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[2]||(n[2]=(...a)=>e.handleClick&&e.handleClick(...a)),ref:"root"},[e.exceeded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Hk,t.toDisplayString(e.content),1)),e.exceeded&&!e.expanded?(t.openBlock(),t.createElementBlock("view",jk,[t.createTextVNode(t.toDisplayString(e.ellipsis.leading)+" ",1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis-text",onClick:n[0]||(n[0]=t.withModifiers(a=>e.clickHandle(1),["stop"]))},t.toDisplayString(e.expandText),1)):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(e.ellipsis.tailing),1)])):t.createCommentVNode("",!0),e.exceeded&&e.expanded?(t.openBlock(),t.createElementBlock("view",Wk,[t.createTextVNode(t.toDisplayString(e.content)+" ",1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis-text",onClick:n[1]||(n[1]=t.withModifiers(a=>e.clickHandle(2),["stop"]))},t.toDisplayString(e.collapseText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)}const _a=H(Kk,[["render",Yk]]),{componentName:Xk,create:Qk}=O("animate"),Gk=Qk({props:{type:{type:String,default:""},action:{type:String,default:"initial"},loop:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:n}){const{type:o,loop:l,action:r}=t.toRefs(e),i=t.reactive({clicked:!1});let a=t.computed(()=>({"fox-ani-container":!0,[`${Xk}-${o.value}`]:r.value==="initial"||i.clicked?o.value:!1,loop:l.value}));const s=c=>{i.clicked=!0,l.value||setTimeout(()=>{i.clicked=!1},1e3),n("click",c)};return{...t.toRefs(i),classes:a,handleClick:s}}}),Zk={class:"fox-animate"};function Jk(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",Zk,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...a)=>e.handleClick&&e.handleClick(...a))},[t.renderSlot(e.$slots,"default")],2)])}const er=H(Gk,[["render",Jk]]),{componentName:_k,create:eS}=O("watermark"),tS=eS({props:{name:{type:String,default:""},gapY:{type:Number,default:48},gapX:{type:Number,default:24},zIndex:{type:Number,default:2e3},width:{type:Number,default:120},height:{type:Number,default:64},rotate:{type:Number,default:-22},image:{type:String,default:""},imageWidth:{type:Number,default:120},imageHeight:{type:Number,default:64},content:{type:String,default:""},fontColor:{type:String,default:"rgba(0,0,0,.15)"},fontStyle:{type:String,default:"normal"},fontFamily:{type:String,default:"PingFang SC"},fontWeight:{type:String,default:"normal"},fontSize:{type:[String,Number],default:14},fullPage:{type:Boolean,default:""}},emits:["click"],setup(e,{emit:n}){const o=t.reactive({base64Url:""}),{zIndex:l,gapX:r,gapY:i,width:a,height:s,rotate:c,image:m,imageWidth:f,imageHeight:d,content:g,fontStyle:S,fontWeight:b,fontColor:h,fontSize:v,fontFamily:u}=e,p=()=>{const y=document.createElement("canvas"),k=window.devicePixelRatio,w=y.getContext("2d"),N=`${(r+a)*k}px`,V=`${(i+s)*k}px`,A=a*k,E=s*k;if(y.setAttribute("width",N),y.setAttribute("height",V),w){if(m){w.translate(A/2,E/2),w.rotate(Math.PI/180*Number(c));const q=new Image;q.crossOrigin="anonymous",q.referrerPolicy="no-referrer",q.src=m,q.onload=()=>{w.drawImage(q,-f*k/2,-d*k/2,f*k,d*k),w.restore(),o.base64Url=y.toDataURL()}}else if(g){w.textBaseline="middle",w.textAlign="center",w.translate(A/2,E/2),w.rotate(Math.PI/180*Number(c));const q=Number(v)*k;w.font=`${S} normal ${b} ${q}px/${E}px ${u}`,w.fillStyle=h,w.fillText(g,0,0),w.restore(),o.base64Url=y.toDataURL()}}else throw new Error("当前环境不支持Canvas")};p(),t.watch(()=>[l,r,i,a,s,c,m,f,d,g,S,b,h,v,u],()=>{p()});const C=t.computed(()=>{const y=_k;return{[y]:!0,[`${y}-full-page`]:e.fullPage}});return{...t.toRefs(o),classes:C}}});function nS(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({zIndex:e.zIndex,backgroundSize:`${e.gapX+e.width}px`,backgroundImage:`url('${e.base64Url}')`})},null,6)}const tr=H(tS,[["render",nS]]);function oS(e,n=2){return Object.is(parseFloat(e),NaN)?console.log(`传入的值:${e}不是一个数字`):(e=parseFloat(e),(Math.round((e+Number.EPSILON)*Math.pow(10,n))/Math.pow(10,n)).toFixed(n))}const{componentName:lS,create:aS}=O("trendarrow"),rS=aS({props:{rate:{type:Number,default:0},digits:{type:Number,default:2},showSign:{type:Boolean,default:!1},showZero:{type:Boolean,default:!1},arrowLeft:{type:Boolean,default:!1},syncTextColor:{type:Boolean,default:!0},textColor:{type:String,default:"#333"},riseColor:{type:String,default:"#fa2c19"},dropColor:{type:String,default:"#64b578"},iconSize:{type:String,default:"12px"},upIconName:{type:String,default:"triangle-up"},downIconName:{type:String,default:"triangle-down"}},setup(e){const n=t.reactive({rateTrend:e.rate>0}),o=t.computed(()=>({[lS]:!0})),l=t.computed(()=>{const{rate:a,digits:s,showSign:c,showZero:m}=e;n.rateTrend=a>0;const f=Math.abs(a);return!m&&a===0?"--":`${c&&a!==0?n.rateTrend?"+":"-":""}${oS(Number(f),s)}%`}),r=t.computed(()=>{const{dropColor:a,riseColor:s,syncTextColor:c,textColor:m,rate:f}=e;return{color:f===0?m:c?n.rateTrend?s:a:m}}),i=t.computed(()=>{const{dropColor:a,riseColor:s,iconSize:c,upIconName:m,downIconName:f}=e;return{name:n.rateTrend?m:f,color:n.rateTrend?s:a,size:c}});return{...t.toRefs(n),classes:o,calcRate:l,calcStyle:r,calcIconProps:i}}});function sS(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[e.arrowLeft?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-trendarrow-icon-before fox-trendarrow-rate",style:t.normalizeStyle(e.calcStyle)},t.toDisplayString(e.calcRate),5)),t.renderSlot(e.$slots,"default",{},()=>[Number(e.rate)!==0?(t.openBlock(),t.createBlock(a,{key:0,size:e.calcIconProps.size,name:e.calcIconProps.name,color:e.calcIconProps.color},null,8,["size","name","color"])):t.createCommentVNode("",!0)]),e.arrowLeft?(t.openBlock(),t.createElementBlock("span",{key:1,class:"fox-trendarrow-icon-after fox-trendarrow-rate",style:t.normalizeStyle(e.calcStyle)},t.toDisplayString(e.calcRate),5)):t.createCommentVNode("",!0)],2)}const nr=H(rS,[["render",sS]]),{componentName:iS,create:cS,scope:uS}=O("address"),dS=cS({inheritAttrs:!1,props:{...Oe,modelValue:{type:Array,default:()=>[]},type:{type:String,default:"custom"},customAddressTitle:{type:String,default:""},province:{type:Array,default:()=>[]},city:{type:Array,default:()=>[]},country:{type:Array,default:()=>[]},town:{type:Array,default:()=>[]},isShowCustomAddress:{type:Boolean,default:!0},existAddress:{type:Array,default:()=>[]},existAddressTitle:{type:String,default:""},customAndExistTitle:{type:String,default:""},defaultIcon:{type:String,default:"location2"},selectedIcon:{type:String,default:"Check"},closeBtnIcon:{type:String,default:"circle-close"},backBtnIcon:{type:String,default:"left"},height:{type:[String,Number],default:"200px"},columnsPlaceholder:{type:[String,Array],default:""}},emits:["update:visible","update:modelValue","type","change","selected","close","close-mask","switch-module"],setup(e,{emit:n}){const{localeRef:o,t:l}=_.useFoxI18n(uS),r=o(e.customAddressTitle,"selectRegion"),i=o(e.existAddressTitle,"deliveryTo"),a=o(e.customAndExistTitle,"chooseAnotherAddress"),s=t.computed(()=>({[iS]:!0})),c=t.ref(null),m=t.ref(null),f=t.ref(e.visible),d=t.ref(e.type),g=t.ref(0),S=t.ref(["province","city","country","town"]),b=t.ref([""]),h=t.computed(()=>e.type==="custom2"),v=B=>{if(!Array.isArray(B))throw new TypeError("params muse be array.");if(!B.length)return[];B.forEach(R=>{if(!R.title){console.error("[FoxUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");return}});const x=[];return B=B.sort((R,T)=>R.title.localeCompare(T.title)),B.forEach(R=>{const T=x.findIndex(F=>F.title===R.title);T<=-1?x.push({title:R.title,list:[].concat(R)}):x[T]={title:R.title,list:x[T].list.concat(R)}}),x},u=t.reactive({province:h.value?v(e.province):e.province,city:h.value?v(e.city):e.city,country:h.value?v(e.country):e.country,town:h.value?v(e.town):e.town}),p=t.reactive({province:{},city:{},country:{},town:{}});let C=t.reactive({});const y=t.ref("self"),k=t.ref(20);t.onMounted(()=>{N()});const w=()=>{if(e.modelValue.length>0){g.value=e.modelValue.length-1;for(let B=0;B<e.modelValue.length;B++)if(u[S.value[B]].length==0){g.value=B-1;break}else{const x=e.modelValue[B],R=u[S.value[B]];if(d.value=="custom")p[S.value[B]]=R.filter(T=>T.id==x)[0];else if(d.value=="custom2"){let T=[];R.map(F=>{T.push(...F.list)}),p[S.value[B]]=T.filter(F=>F.id==x)[0]}}q()}},N=()=>{let B=l("select"),x=Object.prototype.toString.call(e.columnsPlaceholder||B);x=="[object String]"?b.value=new Array(4).fill(e.columnsPlaceholder||B):x=="[object Array]"&&(b.value=new Array(4).fill(""),b.value.forEach((R,T)=>{e.columnsPlaceholder[T]?b.value[T]=e.columnsPlaceholder[T]:b.value[T]=B}))},V=(B,x)=>B.name||g.value<x?B.name:b.value[x],A=(B="self")=>{e.closeBtnIcon&&(y.value=B=="cross"?"cross":"self",f.value=!1)},E=()=>{y.value="mask"},q=()=>{t.nextTick(()=>{const B=m.value&&m.value.getElementsByClassName("active")[0];if(B){const x=B.offsetLeft;k.value=x||20}})},U=B=>{const x={next:"",value:"",custom:S.value[g.value]};p[S.value[g.value]]=B;for(let R=g.value;R<4;R++)p[S.value[R+1]]={};g.value<3?(g.value=g.value+1,q(),x.next=S.value[g.value],x.value=B,n("change",x)):(A(),n("update:modelValue"))},L=(B,x,R)=>{V(B,R)&&(g.value=R,q())},z=B=>{const x=e.existAddress;let R={};x.forEach((T,F)=>{T&&T.selectedAddress&&(R=T),T.selectedAddress=!1}),B.selectedAddress=!0,C=B,n("selected",R,B,x),A()},$=()=>{for(let B=0;B<S.value.length;B++)p[S.value[B]]={};g.value=0,q()},D=()=>{const B=Object.assign({addressIdStr:"",addressStr:""},p),x={data:{},type:d.value};if(d.value=="custom"||d.value=="custom2"){const{province:R,city:T,country:F,town:M}=B;B.addressIdStr=[R.id||0,T.id||0,F.id||0,M.id||0].join("_"),B.addressStr=[R.name,T.name,F.name,M.name].join(""),x.data=B}else x.data=C;$(),y.value=="self"?n("close",x):n("close-mask",{closeWay:y}),n("update:visible",!1)},I=()=>{d.value=="exist"?d.value="custom":d.value="exist",$(),n("switch-module",{type:d.value})},P=(B,x)=>{U(x)};return t.watch(()=>e.visible,B=>{f.value=B}),t.watch(()=>f.value,B=>{B==!1?D():w()}),t.watch(()=>e.province,B=>{u.province=h.value?v(B):B}),t.watch(()=>e.city,B=>{u.city=h.value?v(B):B}),t.watch(()=>e.country,B=>{u.country=h.value?v(B):B}),t.watch(()=>e.town,B=>{u.town=h.value?v(B):B}),t.watch(()=>e.existAddress,B=>{B.forEach((x,R)=>{x.selectedAddress&&(C=x)})}),{selectRegion:r,deliveryTo:i,chooseAnotherAddress:a,classes:s,showPopup:f,privateType:d,tabIndex:g,tabName:S,regionList:u,selectedRegion:p,selectedExistAddress:C,switchModule:I,closeWay:y,close:D,getTabName:V,nextAreaList:U,regionLine:c,tabRegion:m,lineDistance:k,changeRegionTab:L,selectedExist:z,clickOverlay:E,handClose:A,handleElevatorItem:P,initCustomSelected:w,...t.toRefs(e)}}}),fS={class:"fox-address__header"},mS={class:"fox-address__header__title"},pS={key:0,class:"custom-address"},hS={class:"region-tab",ref:"tabRegion"},gS=["onClick"],yS={class:"region-con"},vS={class:"region-group"},kS=["onClick"],SS={key:1,class:"custom-address"},bS={class:"region-tab",ref:"tabRegion"},CS=["onClick"],wS={class:"elevator-group"},NS={key:2,class:"exist-address"},BS={class:"exist-address-group"},VS={class:"exist-ul"},AS=["onClick"],ES={class:"exist-item-info"},TS={key:0,class:"exist-item-info-top"},$S={class:"exist-item-info-name"},DS={class:"exist-item-info-phone"},IS={class:"exist-item-info-bottom"},qS={class:"btn"};function zS(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-elevator"),c=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(c,{position:"bottom","lock-scroll":e.lockScroll,onClose:e.close,onClickOverlay:e.clickOverlay,onOpen:n[3]||(n[3]=m=>e.closeWay="self"),visible:e.showPopup,"onUpdate:visible":n[4]||(n[4]=m=>e.showPopup=m),isWrapTeleport:e.isWrapTeleport,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",fS,[t.createElementVNode("view",{class:"arrow-back",onClick:n[0]||(n[0]=(...m)=>e.switchModule&&e.switchModule(...m))},[t.withDirectives(t.createVNode(a,{name:e.backBtnIcon,color:"#cccccc"},null,8,["name"]),[[t.vShow,e.type=="exist"&&e.privateType=="custom"&&e.backBtnIcon]])]),t.createElementVNode("view",mS,t.toDisplayString(e.privateType=="custom"?e.selectRegion:e.deliveryTo),1),t.createElementVNode("view",{class:"arrow-close",onClick:n[1]||(n[1]=m=>e.handClose("cross"))},[e.closeBtnIcon?(t.openBlock(),t.createBlock(a,{key:0,name:e.closeBtnIcon,color:"#cccccc",size:"18px"},null,8,["name"])):t.createCommentVNode("",!0)])]),e.privateType=="custom"?(t.openBlock(),t.createElementBlock("view",pS,[t.createElementVNode("view",hS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(m,f,d)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["tab-item",[d==e.tabIndex?"active":""]]),key:d,onClick:g=>e.changeRegionTab(m,f,d)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(m,d)),1)],10,gS))),128)),t.createElementVNode("view",{class:"region-tab-line",ref:"regionLine",style:t.normalizeStyle({left:e.lineDistance+"px"})},null,4)],512),t.createElementVNode("view",yS,[t.createElementVNode("ul",vS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.regionList[e.tabName[e.tabIndex]],(m,f)=>(t.openBlock(),t.createElementBlock("li",{key:f,class:t.normalizeClass(["region-item",[e.selectedRegion[e.tabName[e.tabIndex]].id==m.id?"active":""]]),onClick:d=>e.nextAreaList(m)},[e.selectedRegion[e.tabName[e.tabIndex]].id==m.id?(t.openBlock(),t.createBlock(a,{key:0,class:"region-item-icon",type:"self",name:e.selectedIcon,size:"13px"},null,8,["name"])):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(m.name),1)],10,kS))),128))])])])):e.privateType=="custom2"?(t.openBlock(),t.createElementBlock("view",SS,[t.createElementVNode("view",bS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(m,f,d)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["tab-item",[d==e.tabIndex?"active":""]]),key:d,onClick:g=>e.changeRegionTab(m,f,d)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(m,d)),1)],10,CS))),128)),t.createElementVNode("view",{class:"region-tab-line",ref:"regionLine",style:t.normalizeStyle({left:e.lineDistance+"px"})},null,4)],512),t.createElementVNode("view",wS,[t.createVNode(s,{height:e.height,"index-list":e.regionList[e.tabName[e.tabIndex]],onClickItem:e.handleElevatorItem},null,8,["height","index-list","onClickItem"])])])):e.privateType=="exist"?(t.openBlock(),t.createElementBlock("view",NS,[t.createElementVNode("div",BS,[t.createElementVNode("ul",VS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.existAddress,(m,f)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass(["exist-item",[m.selectedAddress?"active":""]]),key:f,onClick:d=>e.selectedExist(m)},[t.createVNode(a,{class:"exist-item-icon",type:"self",name:m.selectedAddress?e.selectedIcon:e.defaultIcon,size:"13px"},null,8,["name"]),t.createElementVNode("div",ES,[m.name&&m.phone?(t.openBlock(),t.createElementBlock("div",TS,[t.createElementVNode("div",$S,t.toDisplayString(m.name),1),t.createElementVNode("div",DS,t.toDisplayString(m.phone),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",IS,[t.createElementVNode("view",null,t.toDisplayString(m.provinceName+m.cityName+m.countyName+m.townName+m.addressDetail),1)])])],10,AS))),128))])]),e.isShowCustomAddress?(t.openBlock(),t.createElementBlock("div",{key:0,class:"choose-other",onClick:n[2]||(n[2]=(...m)=>e.switchModule&&e.switchModule(...m))},[t.createElementVNode("div",qS,t.toDisplayString(e.chooseAnotherAddress),1)])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"bottom")],2)]),_:3},8,["lock-scroll","onClose","onClickOverlay","visible","isWrapTeleport","teleport"])}const or=H(dS,[["render",zS]]),{componentName:MS,create:PS}=O("barrage"),io=PS({props:{danmu:{type:Array,default:()=>[]},frequency:{type:Number,default:500},speeds:{type:Number,default:5e3},rows:{type:Number,default:3},top:{type:Number,default:10},loop:{type:Boolean,default:!0}},emits:["click"],setup(e,{slots:n}){const o=!!t.useSlots().default,l=t.computed(()=>({[MS]:!0}));let r=t.ref(document.createElement("div")),i=t.ref(document.createElement("div")),a=0;const s=t.ref(e.danmu),c=t.ref(e.rows),m=t.ref(e.top),f=t.ref(0),d=e.speeds,g=t.ref(0);t.onMounted(()=>{g.value=r.value.offsetWidth,o&&(s.value=n?.default?.()),b()}),t.onUnmounted(()=>{clearInterval(a),a=0}),t.onDeactivated(()=>{clearInterval(a),a=0}),t.watch(()=>e.danmu,u=>{e.danmu.length>0&&(s.value=[...u])});const S=u=>{const p=f.value%s.value.length;!e.loop&&f.value===s.value.length?s.value.splice(s.value.length,0,u):s.value.splice(p,0,u)},b=()=>{clearInterval(a),a=setInterval(()=>{v(),b()},e.frequency)},h=t.ref("0"),v=()=>{if(!e.loop&&f.value>=s.value.length)return;const u=e.loop?f.value%s.value.length:f.value;let p=document.createElement("div");o&&s.value[u]?.el?(p=s.value[u]?.el,p?.classList.contains("dmitem")&&p.classList.remove("dmitem"),p?.classList.contains("move")&&p.classList.remove("move"),p?.classList.add("dmitem")):(p.innerHTML=s.value[u],p.classList.add("dmitem"),i.value.appendChild(p)),t.nextTick(()=>{const C=p.offsetHeight;if(p.classList.add("move"),p.style.animationDuration=`${d}ms`,p.style.top=u%c.value*(C+m.value)+20+"px",!o){const y=p.offsetWidth;p.style.width=y+20+"px"}p.style.setProperty("--move-distance",`-${g.value}px`),h.value="-"+d/1e3*150+"%",p.dataset.index=`${u}`,o||p.addEventListener("animationend",()=>{i.value&&i.value.removeChild(p)}),f.value++})};return{classes:l,danmuList:s,dmBody:r,dmContainer:i,add:S,distance:h}}}),Yo=()=>{t.useCssVars(e=>({a8aebf42:e.distance}))},Xo=io.setup;io.setup=Xo?(e,n)=>(Yo(),Xo(e,n)):Yo;const xS={key:0,ref:"dmContainer",class:"dmContainer slotContainer"},RS={key:1,ref:"dmContainer",class:"dmContainer"};function LS(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",{ref:"dmBody",class:t.normalizeClass(e.classes)},[e.$slots.default?(t.openBlock(),t.createElementBlock("div",xS,[t.renderSlot(e.$slots,"default")],512)):(t.openBlock(),t.createElementBlock("div",RS,null,512))],2)}const lr=H(io,[["render",LS]]),{componentName:OS,create:FS,scope:US}=O("signature"),KS=FS({props:{customClass:{type:String,default:""},lineWidth:{type:Number,default:2},strokeStyle:{type:String,default:()=>document.getElementsByTagName("body")[0].className.indexOf("fox-theme-dark")==-1?"#000":"#fff"},type:{type:String,default:"png"},unSupportTpl:{type:String},reSign:{type:String},confirmText:{type:String}},components:{},emits:["start","end","signing","confirm","clear"],setup(e,{emit:n}){const{toLocaleRefs:o}=_.useFoxI18n(US),l=o(e,["unSupportTpl","reSign","confirmText"]),r=t.ref(null),i=t.ref(null),a=t.computed(()=>({[OS]:!0,[`${e.customClass}`]:e.customClass})),s=t.reactive({canvasHeight:0,canvasWidth:0,ctx:null,isSupportTouch:"ontouchstart"in window,events:"ontouchstart"in window?["touchstart","touchmove","touchend","touchleave"]:["mousedown","mousemove","mouseup","mouseleave"]}),c=()=>{let u=document.createElement("canvas");return!!(u.getContext&&u.getContext("2d"))},m=()=>{r.value.addEventListener(s.events[0],f,!1)},f=u=>{u.preventDefault(),s.ctx.beginPath(),s.ctx.lineWidth=e.lineWidth,s.ctx.strokeStyle=e.strokeStyle,n("start"),r.value.addEventListener(s.events[1],d,!1),r.value.addEventListener(s.events[2],g,!1),r.value.addEventListener(s.events[3],S,!1)},d=u=>{u.preventDefault();let p=s.isSupportTouch?u.touches[0]:u;n("signing",p);let C=r.value.getBoundingClientRect(),y=p.clientX-C.left,k=p.clientY-C.top;s.ctx.lineTo(y,k),s.ctx.stroke()},g=u=>{u.preventDefault(),n("end"),r.value.removeEventListener(s.events[1],d,!1),r.value.removeEventListener(s.events[2],g,!1)},S=u=>{u.preventDefault(),r.value.removeEventListener(s.events[1],d,!1),r.value.removeEventListener(s.events[2],g,!1)},b=()=>{r.value.addEventListener(s.events[2],g,!1),s.ctx.clearRect(0,0,s.canvasWidth,s.canvasHeight),s.ctx.closePath(),n("clear")},h=()=>{v(r.value)},v=u=>{let p;switch(e.type){case"png":p=u.toDataURL("image/png");break;case"jpg":p=u.toDataURL("image/jpeg",.8);break}b(),n("confirm",u,p)};return t.onMounted(()=>{c()&&(s.ctx=r.value.getContext("2d"),s.canvasWidth=i.value.offsetWidth,s.canvasHeight=i.value.offsetHeight,m())}),{...l,...t.toRefs(s),canvas:r,wrap:i,isCanvasSupported:c,confirm:h,clear:b,classes:a}}}),HS={class:"fox-signature-inner",ref:"wrap"},jS=["height","width"],WS={key:0,class:"fox-signature-unsopport"};function YS(e,n,o,l,r,i){const a=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.createElementVNode("div",HS,[t.withDirectives(t.createElementVNode("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,jS),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",WS,t.toDisplayString(e.unSupportTpl),1))],512),t.createVNode(a,{class:"fox-signature-btn",type:"default",onClick:n[0]||(n[0]=s=>e.clear())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.reSign),1)]),_:1}),t.createVNode(a,{class:"fox-signature-btn",type:"primary",onClick:n[1]||(n[1]=s=>e.confirm())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.confirmText),1)]),_:1})],2)}const ar=H(KS,[["render",YS]]),{componentName:XS,create:QS,scope:GS}=O("timeselect"),ZS=QS({props:{visible:{type:Boolean,defalut:!1},height:{type:[String],default:"20%"},title:{type:String},currentKey:{type:[Number,String],default:0},currentTime:{type:Array,default:()=>[]},lockScroll:{type:[Boolean],default:!1},isWrapTeleport:{type:Boolean,default:!1}},emits:["update:visible","select"],setup:(e,n)=>{const{toLocaleRefs:o}=_.useFoxI18n(GS),l=o(e,["title"]),r=t.computed(()=>({[XS]:!0})),i=t.computed(()=>({width:"100%",height:e.height})),a=t.computed(()=>e.currentKey),s=t.computed(()=>e.currentTime),c=()=>{n.emit("update:visible",!1),n.emit("select",s.value)};return t.provide("currentKey",a),t.provide("currentTime",s),{...l,classes:r,popStyle:i,close:c}}}),JS={class:"fox-timeselect__title"},_S={class:"fox-timeselect__title__fixed"},eb={class:"fox-timeselect__content"},tb={class:"fox-timeselect__content__pannel"},nb={class:"fox-timeselect__content__detail"};function ob(e,n,o,l,r,i){const a=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(a,{position:"bottom",closeable:"",round:"",isWrapTeleport:e.isWrapTeleport,visible:e.visible,style:t.normalizeStyle(e.popStyle),"lock-scroll":e.lockScroll,onClickOverlay:e.close,onClickCloseIcon:e.close},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",JS,[t.createElementVNode("view",_S,t.toDisplayString(e.title),1)]),t.createElementVNode("view",eb,[t.createElementVNode("view",tb,[t.renderSlot(e.$slots,"pannel")]),t.createElementVNode("view",nb,[t.renderSlot(e.$slots,"detail")])])],2)]),_:3},8,["isWrapTeleport","visible","style","lock-scroll","onClickOverlay","onClickCloseIcon"])}const rr=H(ZS,[["render",ob]]),{componentName:lb,create:ab}=O("timepannel"),rb=ab({name:"timepannel",props:{name:{type:String,default:""},pannelKey:{type:[Number,String],default:0}},emits:["change"],setup:(e,n)=>{const o=t.inject("currentKey"),l=t.reactive({currentKey:o}),r=t.computed(()=>({[lb]:!0,"fox-timepannel--curr":l.currentKey==e.pannelKey})),i=a=>{n.emit("change",a)};return{...t.toRefs(l),classes:r,handlePannel:i}}});function sb(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=a=>e.handlePannel(e.pannelKey))},t.toDisplayString(e.name),3)}const sr=H(rb,[["render",sb]]),{componentName:ib,create:cb}=O("timedetail"),ub=cb({name:"timedetail",props:{times:{type:Array,default:()=>[]},detailKey:{type:[Number,String],default:0}},emits:["select"],setup:(e,n)=>{const o=t.inject("currentKey"),l=t.inject("currentTime"),r=t.reactive({currentKey:o,currentTime:l}),i=t.computed(()=>({[ib]:!0})),a=m=>{let f=r.currentTime.find(d=>d.key==r.currentKey);if(f)return{"fox-timedetail__detail__list__item":!0,"fox-timedetail__detail__list__item--curr":f.list.filter(d=>d===m).length>0}},s=t.computed(()=>e.times.find(m=>m.key==r.currentKey).list),c=m=>{n.emit("select",m)};return{classes:i,...t.toRefs(r),getClass:a,renderData:s,handleTime:c}}}),db={class:"fox-timedetail__detail fox-timedetail__detail--moring"},fb={class:"fox-timedetail__detail__list"},mb=["onClick"];function pb(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",db,[t.createElementVNode("view",fb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.renderData,a=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.getClass(a)),key:a,onClick:s=>e.handleTime(a)},t.toDisplayString(a),11,mb))),128))])])],2)}const ir=H(ub,[["render",pb]]),{componentName:$1,create:hb,scope:gb}=O("sku-header"),yb=hb({props:{idText:{type:String,default:""},goods:{type:Object,default:{}}},emits:[],setup(e,{emit:n,slots:o}){const{toLocaleRefs:l}=_.useFoxI18n(gb);return{...l(e,["idText"]),getSlots:a=>o[a]}}}),vb={class:"fox-sku-header"},kb=["src"],Sb={class:"fox-sku-header-right"},bb={key:3,class:"fox-sku-header-right-extra"};function Cb(e,n,o,l,r,i){const a=t.resolveComponent("fox-price");return t.openBlock(),t.createElementBlock("view",vb,[t.createElementVNode("img",{src:e.goods.imagePath},null,8,kb),t.createElementVNode("view",Sb,[e.getSlots("sku-header-price")?t.renderSlot(e.$slots,"sku-header-price",{key:0}):(t.openBlock(),t.createBlock(a,{key:1,price:e.goods.price,needSymbol:!0,thousands:!1},null,8,["price"])),e.getSlots("sku-header-extra")?t.renderSlot(e.$slots,"sku-header-extra",{key:2}):t.createCommentVNode("",!0),e.goods.skuId&&!e.getSlots("sku-header-extra")?(t.openBlock(),t.createElementBlock("view",bb,t.toDisplayString(e.idText)+" : "+t.toDisplayString(e.goods.skuId),1)):t.createCommentVNode("",!0)])])}const wb=H(yb,[["render",Cb]]),{componentName:D1,create:Nb}=O("sku-select"),Bb=Nb({props:{sku:{type:Array,default:()=>[]}},emits:["selectSku"],setup(e,{emit:n}){const o=t.ref([]);return t.watch(()=>e.sku,r=>{o.value=[].slice.call(r)},{deep:!0}),t.onMounted(()=>{e.sku.length>0&&(o.value=[].slice.call(e.sku))}),{skuInfo:o,changeSaleChild:(r,i,a,s)=>{r.checkFlag||r.disable||n("selectSku",{sku:r,skuIndex:i,parentSku:a,parentIndex:s})}}}}),Vb={class:"fox-sku-select"},Ab={class:"fox-sku-select-item-title"},Eb={class:"fox-sku-select-item-skus"},Tb=["onClick"];function $b(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",Vb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.skuInfo,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-sku-select-item",key:a.id},[t.createElementVNode("view",Ab,t.toDisplayString(a.name),1),t.createElementVNode("view",Eb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.list,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-sku-select-item-skus-sku",[{active:!c.disable&&c.active},{disable:c.disable}]]),onClick:f=>e.changeSaleChild(c,m,a,s),key:c.name},t.toDisplayString(c.name),11,Tb))),128))])]))),128))])}const Db=H(Bb,[["render",$b]]),{componentName:I1,create:Ib}=O("sku-stepper"),qb=Ib({props:{stepperMax:{type:[Number,String],default:99999},stepperMin:{type:[Number,String],default:1},stepperExtraText:{type:[Function,Boolean],default:!1},stepperTitle:{type:String,default:"购买数量"}},emits:["click","changeSku","changeStepper","clickBtnOptions","overLimit","reduce","add"],setup(e,{emit:n}){const o=t.ref(e.stepperMin);return t.onMounted(()=>{o.value=e.stepperMin}),{goodsCount:o,add:c=>{n("add",c)},reduce:c=>{n("reduce",c)},overlimit:(c,m)=>{n("overLimit",{action:m,value:parseInt(o.value+"")})},getExtraText:()=>{const{stepperExtraText:c}=e;return c&&typeof c=="function"?c():""},changeStepper:c=>{o.value=c,n("changeStepper",c)}}}}),zb={class:"fox-sku-stepper"},Mb={class:"fox-sku-stepper-title"},Pb=["innerHTML"],xb={class:"fox-sku-stepper-count"};function Rb(e,n,o,l,r,i){const a=t.resolveComponent("fox-inputnumber");return t.openBlock(),t.createElementBlock("view",zb,[t.createElementVNode("view",Mb,t.toDisplayString(e.stepperTitle),1),t.createElementVNode("view",{class:"fox-sku-stepper-limit",innerHTML:e.getExtraText()},null,8,Pb),t.createElementVNode("view",xb,[t.createVNode(a,{modelValue:e.goodsCount,"onUpdate:modelValue":n[0]||(n[0]=s=>e.goodsCount=s),min:e.stepperMin,max:e.stepperMax,onAdd:e.add,onReduce:e.reduce,onOverlimit:e.overlimit,onChange:e.changeStepper},null,8,["modelValue","min","max","onAdd","onReduce","onOverlimit","onChange"])])])}const Lb=H(qb,[["render",Rb]]),{componentName:q1,create:Ob}=O("sku-operate"),Fb=Ob({props:{btnOptions:{type:Array,default:()=>["confirm"]},btnExtraText:{type:String,default:""},buyText:{type:String,default:"立即购买"},addCartText:{type:String,default:"加入购物车"},confirmText:{type:String,default:"确定"}},emits:["click","changeSku","changeBuyCount","clickBtnOperate"],setup(e,{emit:n,slots:o}){return{getBtnDesc:a=>({confirm:e.confirmText,cart:e.addCartText,buy:e.buyText})[a],clickBtnOperate:a=>{n("clickBtnOperate",a)},getSlots:a=>o[a]}}}),Ub={key:0,class:"fox-sku-operate"},Kb=["innerHTML"],Hb={key:1,class:"fox-sku-operate-btn"},jb=["onClick"];function Wb(e,n,o,l,r,i){return e.btnOptions.length>0?(t.openBlock(),t.createElementBlock("view",Ub,[e.btnExtraText?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-sku-operate-desc",innerHTML:e.btnExtraText},null,8,Kb)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"operate-btn"),e.getSlots("operate-btn")?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Hb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.btnOptions,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass([`fox-sku-operate-btn-${a}`,"fox-sku-operate-btn-item"]),key:s,onClick:c=>e.clickBtnOperate(a)},t.toDisplayString(e.getBtnDesc(a)),11,jb))),128))]))])):t.createCommentVNode("",!0)}const Yb=H(Fb,[["render",Wb]]),{componentName:z1,create:Xb,scope:Qb}=O("sku"),Gb=Xb({props:{...Oe,sku:{type:Array,default:[]},goods:{type:Object,default:{}},stepperMax:{type:[Number,String],default:99999},stepperMin:{type:[Number,String],default:1},btnOptions:{type:Array,default:()=>["confirm"]},stepperTitle:{type:String,default:""},stepperExtraText:{type:[Function,Boolean],default:!1},btnExtraText:{type:String,default:""},buyText:{type:String,default:""},addCartText:{type:String,default:""},confirmText:{type:String,default:""}},emits:["update:visible","selectSku","changeStepper","clickBtnOperate","clickCloseIcon","clickOverlay","close","reduce","add","overLimit","click-overlay"],components:{SkuHeader:wb,SkuSelect:Db,SkuStepper:Lb,SkuOperate:Yb},setup(e,{emit:n,slots:o}){const{toLocaleRefs:l}=_.useFoxI18n(Qb),r=l(e,["confirmText","buyText","stepperTitle","addCartText"]),i=t.ref(e.visible),a=t.ref(e.stepperMin);t.watch(()=>e.visible,v=>{i.value=v}),t.watch(()=>i.value,v=>{v==!1&&h()}),t.onMounted(()=>{});const s=v=>o[v],c=v=>{n("selectSku",v)},m=v=>{a.value=v,n("changeStepper",v)},f=v=>{n("add",v)},d=v=>{n("reduce",v)},g=v=>{n("overLimit",v)},S=v=>{n("clickBtnOperate",{type:v,value:a.value})},b=v=>{v=="icon"&&n("click-close-icon"),v=="overlay"&&n("click-overlay"),v=="close"&&n("close"),i.value=!1},h=()=>{n("update:visible",!1)};return{...r,showPopup:i,closePopup:b,selectSku:c,changeStepper:m,stepperOverLimit:g,clickBtnOperate:S,add:f,reduce:d,getSlots:s}}}),Zb={class:"fox-sku"},Jb={class:"fox-sku-content"};function _b(e,n,o,l,r,i){const a=t.resolveComponent("sku-header"),s=t.resolveComponent("SkuSelect"),c=t.resolveComponent("sku-stepper"),m=t.resolveComponent("sku-operate"),f=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(f,{position:"bottom",closeable:"",round:"",visible:e.showPopup,"onUpdate:visible":n[0]||(n[0]=d=>e.showPopup=d),onClickCloseIcon:n[1]||(n[1]=d=>e.closePopup("icon")),onClickOverlay:n[2]||(n[2]=d=>e.closePopup("overlay")),onClose:n[3]||(n[3]=d=>e.closePopup("close")),style:{height:"75%"},isWrapTeleport:e.isWrapTeleport,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",Zb,[t.renderSlot(e.$slots,"sku-header"),e.getSlots("sku-header")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,goods:e.goods},t.createSlots({_:2},[e.getSlots("sku-header-price")?{name:"sku-header-price",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"sku-header-price")]),key:"0"}:void 0,e.getSlots("sku-header-extra")?{name:"sku-header-extra",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"sku-header-extra")]),key:"1"}:void 0]),1032,["goods"])),t.createElementVNode("view",Jb,[t.renderSlot(e.$slots,"sku-select-top"),t.renderSlot(e.$slots,"sku-select"),e.getSlots("sku-select")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,sku:e.sku,onSelectSku:e.selectSku},null,8,["sku","onSelectSku"])),t.renderSlot(e.$slots,"sku-stepper"),e.getSlots("sku-stepper")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(c,{key:1,goods:e.goods,stepperTitle:e.stepperTitle,stepperMax:e.stepperMax,stepperMin:e.stepperMin,stepperExtraText:e.stepperExtraText,onAdd:e.add,onReduce:e.reduce,onChangeStepper:e.changeStepper,onOverLimit:e.stepperOverLimit},null,8,["goods","stepperTitle","stepperMax","stepperMin","stepperExtraText","onAdd","onReduce","onChangeStepper","onOverLimit"])),t.renderSlot(e.$slots,"sku-stepper-bottom")]),t.createVNode(m,{btnOptions:e.btnOptions,btnExtraText:e.btnExtraText,buyText:e.buyText,addCartText:e.addCartText,confirmText:e.confirmText,onClickBtnOperate:e.clickBtnOperate},t.createSlots({_:2},[e.getSlots("sku-operate")?{name:"operate-btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"sku-operate")]),key:"0"}:void 0]),1032,["btnOptions","btnExtraText","buyText","addCartText","confirmText","onClickBtnOperate"])])]),_:3},8,["visible","isWrapTeleport","teleport"])}const cr=H(Gb,[["render",_b]]),{create:e0}=O("card"),t0=e0({props:{imgUrl:{type:String,default:""},title:{type:String,default:""},price:{type:String,default:""},vipPrice:{type:String,default:""},shopDesc:{type:String,default:""},delivery:{type:String,default:""},shopName:{type:String,default:""},isNeedPrice:{type:Boolean,default:!0}},setup(e,{emit:n,slots:o}){return{isHaveSlot:r=>o[r]}}}),n0={class:"fox-card"},o0={class:"fox-card__left"},l0=["src"],a0={class:"fox-card__right"},r0={class:"fox-card__right__title"},s0={key:0,class:"fox-card__right__price"},i0={class:"fox-card__right__other"},c0={class:"fox-card__right__shop"},u0={class:"fox-card__right__shop__name"};function d0(e,n,o,l,r,i){const a=t.resolveComponent("fox-price"),s=t.resolveComponent("fox-tag");return t.openBlock(),t.createElementBlock("div",n0,[t.createElementVNode("div",o0,[t.createElementVNode("img",{src:e.imgUrl,alt:""},null,8,l0)]),t.createElementVNode("div",a0,[t.createElementVNode("div",r0,t.toDisplayString(e.title),1),t.renderSlot(e.$slots,"prolist"),e.isNeedPrice?(t.openBlock(),t.createElementBlock("div",s0,[e.isHaveSlot("price")?t.renderSlot(e.$slots,"price",{key:0}):(t.openBlock(),t.createBlock(a,{key:1,price:e.price},null,8,["price"])),e.isHaveSlot("origin")?t.renderSlot(e.$slots,"origin",{key:2}):(t.openBlock(),t.createBlock(a,{key:3,class:"fox-card__right__price__origin",price:e.vipPrice},null,8,["price"]))])):t.createCommentVNode("",!0),t.createElementVNode("div",i0,[e.isHaveSlot("shop-tag")?t.renderSlot(e.$slots,"shop-tag",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(s,{type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.shopDesc),1)]),_:1}),t.createVNode(s,{plain:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.delivery),1)]),_:1})],64))]),t.createElementVNode("div",c0,[t.createElementVNode("div",u0,t.toDisplayString(e.shopName),1),t.renderSlot(e.$slots,"footer")])])])}const ur=H(t0,[["render",d0]]),{componentName:M1,create:f0,scope:m0}=O("ecard"),p0=f0({props:{chooseText:{type:String,default:""},otherValueText:{type:String,default:""},dataList:{type:[Object,Array],default:()=>[]},cardAmountMin:{type:Number,default:1},cardAmountMax:{type:Number,default:9999},cardBuyMin:{type:Number,default:1},cardBuyMax:{type:Number,default:9999},modelValue:{type:[Number,String],default:0},placeholder:{type:String,default:""},suffix:{type:String,default:"¥"}},emits:["inputChange","changeStep","inputClick","change","update:modelValue"],setup(e,{emit:n}){const{t:o}=_.useFoxI18n(m0),l=t.ref(null),r=t.ref(null),i=t.ref(""),a=t.ref(e.cardAmountMin),s=t.ref(e.modelValue),c=(g,S)=>{l.value=S,a.value=e.cardAmountMin,r.value=g.price,n("change",g),n("update:modelValue",g.price)},m=g=>{let b=g.target.value.replace(/[^\d]/g,"");i.value=b,r.value=b,Number(b)>e.cardAmountMax&&(i.value=e.cardAmountMax,r.value=e.cardAmountMax),Number(b)<e.cardAmountMin&&(i.value=e.cardAmountMin,r.value=e.cardAmountMin),n("inputChange",Number(i.value)),n("update:modelValue",Number(i.value))},f=()=>{l.value="input",a.value=e.cardAmountMin,r.value=i.value,n("update:modelValue",i.value),n("inputClick")},d=g=>{a.value=g,n("changeStep",a.value,r.value)};return t.watch(()=>e.modelValue,g=>{s.value=g}),{handleClick:c,changeStep:d,change:m,inputClick:f,stepValue:a,currentIndex:l,inputValue:i,money:s,t:o}}}),h0={class:"fox-ecard"},g0={class:"fox-ecard__title"},y0={class:"fox-ecard__list"},v0=["onClick"],k0={class:"fox-ecard__list__input--con"},S0=["placeholder"],b0={class:"fox-ecard__list__step"};function C0(e,n,o,l,r,i){const a=t.resolveComponent("fox-inputnumber");return t.openBlock(),t.createElementBlock("view",h0,[t.createElementVNode("view",g0,t.toDisplayString(e.chooseText||e.t("chooseText")),1),t.createElementVNode("view",y0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.dataList,(s,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-ecard__list__item",e.currentIndex==c?"active":""]),onClick:m=>e.handleClick(s,c)},t.toDisplayString(s.price),11,v0))),128)),t.createElementVNode("view",{class:t.normalizeClass(["fox-ecard__list__input",e.currentIndex=="input"?"active":""]),onClick:n[2]||(n[2]=(...s)=>e.inputClick&&e.inputClick(...s))},[t.createElementVNode("view",null,t.toDisplayString(e.otherValueText||e.t("otherValueText")),1),t.createElementVNode("view",k0,[t.withDirectives(t.createElementVNode("input",{class:"fox-ecard__list__input--input",type:"text","onUpdate:modelValue":n[0]||(n[0]=s=>e.inputValue=s),onInput:n[1]||(n[1]=(...s)=>e.change&&e.change(...s)),placeholder:e.placeholder||e.t("placeholder")},null,40,S0),[[t.vModelText,e.inputValue]]),t.createTextVNode(" "+t.toDisplayString(e.suffix),1)])],2),t.createElementVNode("view",b0,[t.createElementVNode("view",null,t.toDisplayString(e.suffix)+t.toDisplayString(e.money),1),t.createVNode(a,{modelValue:e.stepValue,"onUpdate:modelValue":n[3]||(n[3]=s=>e.stepValue=s),min:e.cardBuyMin,max:e.cardBuyMax,onChange:e.changeStep},null,8,["modelValue","min","max","onChange"])])])])}const dr=H(p0,[["render",C0]]),{componentName:P1,create:w0}=O("item-contents"),N0=w0({props:{name:{type:String,default:""},item:{type:Object,default:{}}},components:{},emits:["delIconClick","editIconClick","itemClick"],setup(e,{emit:n}){const{t:o}=_.useFoxI18n();return{delClick:a=>{n("delIconClick",a,e.item),a.stopPropagation()},editClick:a=>{n("editIconClick",a,e.item),a.stopPropagation()},contentsClick:a=>{n("itemClick",a,e.item),a.stopPropagation()},t:o}}});const B0={class:"fox-item-contents__info"},V0={class:"fox-item-contents__info-contact"},A0={class:"fox-item-contents__info-contact-name"},E0={class:"fox-item-contents__info-contact-tel"},T0={key:0,class:"fox-item-contents__info-contact-default"},$0={class:"fox-item-contents__info-handle"},D0={class:"fox-item-contents__addr"};function I0(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",{class:"fox-item-contents__contain",onClick:n[0]||(n[0]=(...s)=>e.contentsClick&&e.contentsClick(...s))},[t.createElementVNode("div",B0,[t.createElementVNode("div",V0,[t.renderSlot(e.$slots,"contentTop",{},()=>[t.createElementVNode("div",A0,t.toDisplayString(e.item.addressName),1),t.createElementVNode("div",E0,t.toDisplayString(e.item.phone),1),e.item.defaultAddress?(t.openBlock(),t.createElementBlock("div",T0,t.toDisplayString(e.t("defaultText")),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",$0,[t.renderSlot(e.$slots,"contentIcon",{},()=>[t.createVNode(a,{name:"del",class:"fox-item-contents__info-handle-del",onClick:e.delClick},null,8,["onClick"]),t.createVNode(a,{name:"edit",class:"fox-item-contents__info-handle-edit",onClick:e.editClick},null,8,["onClick"])])])]),t.createElementVNode("div",D0,[t.renderSlot(e.$slots,"contentAddr",{},()=>[t.createTextVNode(t.toDisplayString(e.item.fullAddress),1)])])])}const co=H(N0,[["render",I0]]),{componentName:x1,create:q0}=O("long-press-shell"),z0=q0({props:{item:{type:Object,default:{}}},emits:["holdingDown","handleDel","handelMask","handleCopy","handleSet","handleDelIcon","handleEditIcon","handleItemContent"],components:{ItemContents:co},setup(e,{emit:n,slots:o}){let l=null;const r=t.ref(!1),i=u=>{l=0,r.value=!0,n("holdingDown",u,e.item)};return{holddownstart:u=>{l=setTimeout(()=>{i(u)},300)},holddownmove:u=>{clearTimeout(l)},holddownend:u=>{clearTimeout(l)},showMaskRef:r,delClick:u=>{l!=0&&(n("handleDel",u,e.item),u.stopPropagation())},copyCLick:u=>{l!=0&&(n("handleCopy",u,e.item),u.stopPropagation())},hideMaskClick:u=>{r.value=!1},setDefault:u=>{l!=0&&(n("handleSet",u,e.item),u.stopPropagation())},maskClick:u=>{l!=0&&(r.value=!1),u.stopPropagation(),u.preventDefault()},delShellClick:(u,p)=>{n("handleDelIcon",u,e.item),u.stopPropagation()},editShellClick:(u,p)=>{n("handleEditIcon",u,e.item),u.stopPropagation()},itemShellClick:(u,p)=>{n("handleItemContent",u,e.item),u.stopPropagation()}}}}),M0={class:"fox-long-press-shell"},P0=t.createElementVNode("div",{class:"mask-contain"},[t.createTextVNode("复制"),t.createElementVNode("br"),t.createTextVNode("地址")],-1),x0=[P0],R0=t.createElementVNode("div",{class:"mask-contain"},[t.createTextVNode("设置"),t.createElementVNode("br"),t.createTextVNode("默认")],-1),L0=[R0],O0=t.createElementVNode("div",{class:"mask-contain"},[t.createTextVNode("删除"),t.createElementVNode("br"),t.createTextVNode("地址")],-1),F0=[O0];function U0(e,n,o,l,r,i){const a=t.resolveComponent("item-contents");return t.openBlock(),t.createElementBlock("div",M0,[t.createElementVNode("div",{class:"fox-long-press-shell__contain",onTouchstart:n[4]||(n[4]=(...s)=>e.holddownstart&&e.holddownstart(...s)),onTouchend:n[5]||(n[5]=(...s)=>e.holddownend&&e.holddownend(...s)),onTouchmove:n[6]||(n[6]=(...s)=>e.holddownmove&&e.holddownmove(...s))},[t.createVNode(a,{item:e.item,onDelIconClick:e.delShellClick,onEditIconClick:e.editShellClick,onItemClick:e.itemShellClick},{contentTop:t.withCtx(()=>[t.renderSlot(e.$slots,"contentInfo")]),contentIcon:t.withCtx(()=>[t.renderSlot(e.$slots,"contentIcons")]),contentAddr:t.withCtx(()=>[t.renderSlot(e.$slots,"contentAddrs")]),_:3},8,["item","onDelIconClick","onEditIconClick","onItemClick"]),e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-long-press-shell__contain-mask",onClick:n[3]||(n[3]=(...s)=>e.maskClick&&e.maskClick(...s))},[t.renderSlot(e.$slots,"longpressAll",{},()=>[t.createElementVNode("div",{class:"fox-long-press-shell__contain-mask-copy",onClick:n[0]||(n[0]=(...s)=>e.copyCLick&&e.copyCLick(...s))},x0),t.createElementVNode("div",{class:"fox-long-press-shell__contain-mask-set",onClick:n[1]||(n[1]=(...s)=>e.setDefault&&e.setDefault(...s))},L0),t.createElementVNode("div",{class:"fox-long-press-shell__contain-mask-del",onClick:n[2]||(n[2]=(...s)=>e.delClick&&e.delClick(...s))},F0)])])):t.createCommentVNode("",!0)],32),e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-addresslist__mask-bottom",onClick:n[7]||(n[7]=(...s)=>e.hideMaskClick&&e.hideMaskClick(...s))})):t.createCommentVNode("",!0)])}const K0=H(z0,[["render",U0]]),{componentName:R1,create:H0}=O("swipe-shell"),j0=H0({props:{item:{type:Object,default:{}}},emits:["handleDelIcon","handleEditIcon","handleItemContent","handelSwipeDel"],components:{ItemContents:co},setup(e,{emit:n,slots:o}){const l=t.ref(!1);return{delShellClick:(f,d)=>{n("handleDelIcon",f,e.item),f.stopPropagation()},editShellClick:(f,d)=>{n("handleEditIcon",f,e.item),f.stopPropagation()},itemShellClick:(f,d)=>{l.value||(n("handleItemContent",f,e.item),f.stopPropagation())},swipeDelClick:(f,d)=>{n("handelSwipeDel",f,e.item),f.stopPropagation()},swipestart:()=>{l.value=!1},swipemove:()=>{l.value=!0}}}}),W0={class:"fox-swipe-shell"};function Y0(e,n,o,l,r,i){const a=t.resolveComponent("item-contents"),s=t.resolveComponent("fox-button"),c=t.resolveComponent("fox-swipe");return t.openBlock(),t.createBlock(c,null,{right:t.withCtx(()=>[t.renderSlot(e.$slots,"swiperightbtn",{},()=>[t.createVNode(s,{shape:"square",style:{height:"100%"},type:"danger",onClick:e.swipeDelClick},{default:t.withCtx(()=>[t.createTextVNode("删除")]),_:1},8,["onClick"])])]),default:t.withCtx(()=>[t.createElementVNode("div",W0,[t.createVNode(a,{item:e.item,onDelIconClick:e.delShellClick,onEditIconClick:e.editShellClick,onItemClick:e.itemShellClick,onTouchmove:e.swipemove,onTouchstart:e.swipestart},{contentTop:t.withCtx(()=>[t.renderSlot(e.$slots,"contentInfo")]),contentIcon:t.withCtx(()=>[t.renderSlot(e.$slots,"contentIcons")]),contentAddr:t.withCtx(()=>[t.renderSlot(e.$slots,"contentAddrs")]),_:3},8,["item","onDelIconClick","onEditIconClick","onItemClick","onTouchmove","onTouchstart"])])]),_:3})}const X0=H(j0,[["render",Y0]]),{componentName:L1,create:Q0}=O("general-shell"),G0=Q0({props:{item:{type:Object,default:{}}},emits:["handleDelIcon","handleEditIcon","handleItemContent","handelSwipeDel"],components:{ItemContents:co},setup(e,{emit:n,slots:o}){return{delShellClick:(s,c)=>{n("handleDelIcon",s,e.item),s.stopPropagation()},editShellClick:(s,c)=>{n("handleEditIcon",s,e.item),s.stopPropagation()},itemShellClick:(s,c)=>{n("handleItemContent",s,e.item),s.stopPropagation()},swipeDelClick:(s,c)=>{n("handelSwipeDel",s,e.item),s.stopPropagation()}}}}),Z0={class:"fox-general-shell"};function J0(e,n,o,l,r,i){const a=t.resolveComponent("item-contents");return t.openBlock(),t.createElementBlock("div",Z0,[t.createVNode(a,{item:e.item,onDelIconClick:e.delShellClick,onEditIconClick:e.editShellClick,onItemClick:e.itemShellClick},{contentTop:t.withCtx(()=>[t.renderSlot(e.$slots,"contentInfo")]),contentIcon:t.withCtx(()=>[t.renderSlot(e.$slots,"contentIcons")]),contentAddr:t.withCtx(()=>[t.renderSlot(e.$slots,"contentAddrs")]),_:3},8,["item","onDelIconClick","onEditIconClick","onItemClick"])])}const _0=H(G0,[["render",J0]]),{componentName:O1,create:eC,scope:tC}=O("addresslist"),nC=eC({props:{data:{type:Array,default:[]},longPressEdition:{type:Boolean,default:!1},swipeEdition:{type:Boolean,default:!1},showBottomButton:{type:Boolean,default:!0},dataMapOptions:{type:Object,default:{}}},components:{LongPressShell:K0,SwipeShell:X0,GeneralShell:_0},emits:["handelDelIcon","handelEditIcon","handelItem","longPressCopyClick","longPressSetClick","longPressDelClick","swipeDelClick","addAddressClick"],setup(e,{emit:n}){const{t:o}=_.useFoxI18n(tC),l=t.ref([]),r=t.reactive({id:2,addressName:"",phone:"",defaultAddress:!1,fullAddress:""}),i=()=>{Object.keys(e.dataMapOptions).length>0&&(l.value=e.data.map((b,h)=>ul(r,b,e.dataMapOptions)))};t.watch(()=>e.data,()=>i(),{deep:!0});const a=(b,h)=>{n("handelDelIcon",b,h),b.stopPropagation()},s=(b,h)=>{n("handelEditIcon",b,h),b.stopPropagation()},c=(b,h)=>{n("handelItem",b,h),b.stopPropagation()},m=(b,h)=>{n("longPressCopyClick",b,h),b.stopPropagation()},f=(b,h)=>{n("longPressSetClick",b,h),b.stopPropagation()},d=(b,h)=>{n("longPressDelClick",b,h),b.stopPropagation()},g=(b,h)=>{n("swipeDelClick",b,h),b.stopPropagation()},S=b=>{n("addAddressClick",b),b.stopPropagation()};return t.onMounted(()=>{i()}),{clickDelIcon:a,clickEditIcon:s,clickContentItem:c,clickLongCopy:m,clickLongSet:f,clickLongDel:d,clickSwipeDel:g,addAddress:S,dataArray:l,t:o}}}),oC={class:"fox-addresslist"};function lC(e,n,o,l,r,i){const a=t.resolveComponent("general-shell"),s=t.resolveComponent("long-press-shell"),c=t.resolveComponent("swipe-shell"),m=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",oC,[!e.longPressEdition&&!e.swipeEdition?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.dataArray,(f,d)=>(t.openBlock(),t.createBlock(a,{key:"general"+d,item:f,onHandleDelIcon:e.clickDelIcon,onHandleEditIcon:e.clickEditIcon,onHandleItemContent:e.clickContentItem,onHandelSwipeDel:e.clickSwipeDel},null,8,["item","onHandleDelIcon","onHandleEditIcon","onHandleItemContent","onHandelSwipeDel"]))),128)):t.createCommentVNode("",!0),e.longPressEdition&&!e.swipeEdition?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.dataArray,(f,d)=>(t.openBlock(),t.createBlock(s,{key:"longpress"+d,item:f,onHandleDelIcon:e.clickDelIcon,onHandleEditIcon:e.clickEditIcon,onHandleItemContent:e.clickContentItem,onHandleCopy:e.clickLongCopy,onHandleSet:e.clickLongSet,onHandleDel:e.clickLongDel},{contentInfo:t.withCtx(()=>[t.renderSlot(e.$slots,"iteminfos")]),contentIcons:t.withCtx(()=>[t.renderSlot(e.$slots,"itemicon")]),contentAddrs:t.withCtx(()=>[t.renderSlot(e.$slots,"itemaddr")]),longpressAll:t.withCtx(()=>[t.renderSlot(e.$slots,"longpressbtns")]),_:2},1032,["item","onHandleDelIcon","onHandleEditIcon","onHandleItemContent","onHandleCopy","onHandleSet","onHandleDel"]))),128)):t.createCommentVNode("",!0),!e.longPressEdition&&e.swipeEdition?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(e.dataArray,(f,d)=>(t.openBlock(),t.createBlock(c,{key:"swipe"+d,item:f,onHandleDelIcon:e.clickDelIcon,onHandleEditIcon:e.clickEditIcon,onHandleItemContent:e.clickContentItem,onHandelSwipeDel:e.clickSwipeDel},{contentInfo:t.withCtx(()=>[t.renderSlot(e.$slots,"iteminfos")]),contentIcons:t.withCtx(()=>[t.renderSlot(e.$slots,"itemicon")]),contentAddrs:t.withCtx(()=>[t.renderSlot(e.$slots,"itemaddr")]),swiperightbtn:t.withCtx(()=>[t.renderSlot(e.$slots,"swiperight")]),_:2},1032,["item","onHandleDelIcon","onHandleEditIcon","onHandleItemContent","onHandelSwipeDel"]))),128)):t.createCommentVNode("",!0),e.showBottomButton?(t.openBlock(),t.createElementBlock("div",{key:3,class:"fox-addresslist__bottom",onClick:n[0]||(n[0]=(...f)=>e.addAddress&&e.addAddress(...f))},[t.createVNode(m,{block:"",type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("addAddress")),1)]),_:1})])):t.createCommentVNode("",!0)])}const fr=H(nC,[["render",lC]]),{componentName:F1,create:aC}=O("category"),rC=aC({props:{type:{type:String,default:"classify"},category:{type:Array,default:()=>[]}},setup(e,{emit:n,slots:o}){const l=t.ref(0),r=t.ref(!1),i=a=>{l.value=a,n("change",a)};return t.onMounted(()=>{}),{getChildList:i,checkIndex:l,categoryLeft:r}}}),sC={class:"fox-category"},iC={class:"fox-category__cateList"},cC={key:0},uC=["onClick"];function dC(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",sC,[t.createElementVNode("div",iC,[e.type=="classify"||e.type=="text"?(t.openBlock(),t.createElementBlock("div",cC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.category,(a,s)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category__cateListLeft",key:s},[t.createElementVNode("div",{class:t.normalizeClass([e.checkIndex==s?"fox-category__cateListItemChecked":"fox-category__cateListItem"]),onClick:c=>e.getChildList(s)},t.toDisplayString(a?.catName),11,uC)]))),128))])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")])])}const mr=H(rC,[["render",dC]]),{componentName:U1,create:fC}=O("categorypane"),mC=fC({props:{type:{type:String,default:"classify"},categoryChild:{type:Array,default:()=>[]},customCategory:{type:Array,default:()=>[]}},setup(e,{emit:n}){return{onChange:l=>{n("onChange",l)}}}}),pC={class:"fox-categorypane"},hC={key:0,class:"fox-categorypane__cateListRight"},gC={class:"fox-categorypane__childTitle"},yC={key:0,class:"fox-categorypane__childItemList"},vC=["onClick"],kC=["src"],SC={class:"fox-categorypane__skuImg"},bC={key:1,class:"fox-categorypane__cateListRight"},CC={class:"fox-categorypane__childTitle"},wC={key:0,class:"fox-categorypane__childItemList"},NC=["onClick"],BC={class:"fox-categorypane__skuName"},VC={key:2,class:"fox-categorypane__selfItemList"};function AC(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",pC,[e.type=="classify"?(t.openBlock(),t.createElementBlock("div",hC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(a,s)=>(t.openBlock(),t.createElementBlock("div",{key:s},[t.createElementVNode("div",gC,t.toDisplayString(a.catName),1),a.catType==1?(t.openBlock(),t.createElementBlock("div",yC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.childCateList,(c,m)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-categorypane__childItem",key:m,onClick:f=>e.onChange(c)},[t.createElementVNode("img",{class:"fox-categorypane__childImg",src:c.backImg},null,8,kC),t.createElementVNode("div",SC,t.toDisplayString(c.catName),1)],8,vC))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="text"?(t.openBlock(),t.createElementBlock("div",bC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(a,s)=>(t.openBlock(),t.createElementBlock("div",{key:s},[t.createElementVNode("div",CC,t.toDisplayString(a.catName),1),a.catType==1?(t.openBlock(),t.createElementBlock("div",wC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.childCateList,(c,m)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-categorypane__childItem",key:m,onClick:f=>e.onChange(c)},[t.createElementVNode("div",BC,t.toDisplayString(c.catName),1)],8,NC))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="custom"?(t.openBlock(),t.createElementBlock("div",VC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.customCategory,(a,s)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-categorypane__skuName",key:s,onClick:n[0]||(n[0]=c=>e.onChange())},t.toDisplayString(a.catName),1))),128))])):t.createCommentVNode("",!0)])}const pr=H(mC,[["render",AC]]),{componentName:K1,create:EC}=O("comment-header"),TC=EC({props:{type:{type:String,default:"default"},info:{type:Object,default:()=>{}},labels:{type:Function,default:()=>""}},components:{},emits:["handleClick"],setup(e,{emit:n}){return{handleClick:()=>{n("handleClick")}}}}),$C={class:"fox-comment-header__user"},DC={class:"fox-comment-header__user-avter"},IC=["src"],qC={class:"fox-comment-header__user-score"},zC={key:0,class:"fox-comment-header__time"};function MC(e,n,o,l,r,i){const a=t.resolveComponent("fox-rate");return t.openBlock(),t.createElementBlock("view",null,[e.info?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-header",onClick:n[1]||(n[1]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.createElementVNode("view",$C,[t.createElementVNode("view",DC,[e.info.avatar?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.info.avatar},null,8,IC)):t.createCommentVNode("",!0)]),e.type=="default"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass([`fox-comment-header__user-${e.type}`])},[t.createElementVNode("view",{class:t.normalizeClass([`fox-comment-header__user-${e.type}-name`])},[t.createElementVNode("span",null,t.toDisplayString(e.info.nickName),1),t.renderSlot(e.$slots,"labels")],2),t.createElementVNode("view",qC,[t.createVNode(a,{modelValue:e.info.score,"onUpdate:modelValue":n[0]||(n[0]=s=>e.info.score=s),"icon-size":"10",spacing:"5",readonly:"",onChange:e.handleClick},null,8,["modelValue","onChange"])])],2)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass([`fox-comment-header__user-${e.type}`])},[t.createElementVNode("span",{class:t.normalizeClass([`fox-comment-header__user-${e.type}-name`])},t.toDisplayString(e.info.nickName),3),t.renderSlot(e.$slots,"labels")],2))]),e.info.time?(t.openBlock(),t.createElementBlock("view",zC,t.toDisplayString(e.info.time),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.type=="complex"?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass([`fox-comment-header__${e.type}-score`])},[t.createVNode(a,{modelValue:e.info.score,"onUpdate:modelValue":n[2]||(n[2]=s=>e.info.score=s),"icon-size":"12",spacing:"3",readonly:""},null,8,["modelValue"]),t.createElementVNode("i",{class:t.normalizeClass([`fox-comment-header__${e.type}-score-i`])},null,2),t.createElementVNode("view",{class:t.normalizeClass([`fox-comment-header__${e.type}-score-size`])},t.toDisplayString(e.info.size),3)],2)):t.createCommentVNode("",!0)])}const PC=H(TC,[["render",MC]]),{componentName:H1,create:xC}=O("comment-images"),RC=xC({props:{type:{type:String,default:"one"},videos:{type:Array,default:()=>[]},images:{type:Array,default:()=>[]}},components:{},emits:["click","clickImages"],setup(e,{emit:n}){const o=t.ref(!1),l=t.ref(1),r=t.ref([]);return t.watch(()=>[e.videos,e.images],a=>{a[0].length>0&&a[0].forEach(s=>{s.type="video"}),r.value=a[0].concat(a[1])},{deep:!0}),t.onMounted(()=>{e.videos.length>0&&e.videos.forEach(a=>{a.type="video"}),r.value=e.videos.concat(e.images)}),{isShowImage:o,initIndex:l,showImages:(a,s)=>{const{videos:c,images:m}=e,f=a=="img"?s-c.length:s;n("clickImages",{type:a,index:f,value:a=="img"?m[f]:c[f]})},totalImages:r}}}),LC=["onClick"],OC=["src"],FC=t.createElementVNode("view",{class:"fox-comment-images__play"},null,-1),UC=["onClick"],KC=["src"],HC={key:0,class:"fox-comment-images__mask"};function jC(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(`fox-comment-images fox-comment-images--${e.type}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.videos,(s,c)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-comment-images__item fox-comment-images__item--video",key:s.id,onClick:m=>e.showImages("video",c,c)},[t.createElementVNode("img",{src:s.mainUrl},null,8,OC),FC],8,LC))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.images,(s,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:s.id},[e.type=="multi"&&e.videos.length+c<9||e.type!="multi"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-images__item fox-comment-images__item--imgbox",onClick:m=>e.showImages("img",c+e.videos.length)},[t.createElementVNode("img",{src:s.smallImgUrl?s.smallImgUrl:s.imgUrl},null,8,KC),e.type=="multi"&&e.totalImages.length>9&&e.videos.length+c>7?(t.openBlock(),t.createElementBlock("view",HC,[t.createElementVNode("span",null,"共 "+t.toDisplayString(e.totalImages.length)+" 张",1),t.createVNode(a,{name:"right",size:"12"})])):t.createCommentVNode("",!0)],8,UC)):t.createCommentVNode("",!0)],64))),128))],2)}const WC=H(RC,[["render",jC]]),{componentName:j1,create:YC}=O("comment-bottom"),XC=YC({props:{type:{type:String,default:"base"},info:{type:Object,default:()=>{}},operation:{type:Array,default:["replay","like","more"]},complaintsText:{type:String,default:""}},components:{},emits:["clickOperate","handleClick"],setup(e,{emit:n}){const{toLocaleRefs:o}=_.useFoxI18n("comment"),l=o(e,["complaintsText"]),r=t.ref(!1),i=t.ref([]);return t.onMounted(()=>{const c=["replay","like","more"];e.operation&&e.operation.forEach(m=>{c.includes(m)&&i.value.push(m)})}),{...l,showPopver:r,operate:c=>{c=="more"&&(r.value=!r.value),n("clickOperate",c)},mergeOp:i,handleClick:()=>{n("handleClick")}}}}),QC={class:"fox-comment-bottom"},GC={key:0},ZC={class:"fox-comment-bottom__cpx"},JC=["onClick"];function _C(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",QC,[t.createElementVNode("view",{onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s)),class:"fox-comment-bottom__lable"},[e.type!="complex"?(t.openBlock(),t.createElementBlock("span",GC,t.toDisplayString(e.info.size),1)):t.createCommentVNode("",!0)]),t.createElementVNode("view",ZC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeOp,(s,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-comment-bottom__cpx-item",`fox-comment-bottom__cpx-item--${s}`]),onClick:m=>e.operate(s)},[s!="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",null,t.toDisplayString(e.info[s]),1),t.createVNode(a,{name:s=="like"?"fabulous":"comment"},null,8,["name"])],64)):t.createCommentVNode("",!0),s=="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(a,{name:"more-x"}),e.showPopver?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-bottom__cpx-item-popover",onClick:n[1]||(n[1]=m=>e.operate("popover"))},t.toDisplayString(e.complaintsText),1)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],10,JC))),128))])])}const e1=H(XC,[["render",_C]]),{componentName:t1,create:n1,scope:o1}=O("comment"),l1=n1({props:{headerType:{type:String,default:"default"},imagesRows:{type:String,default:"one"},ellipsis:{type:[String,Number,Boolean],default:!1},videos:{type:Array,default:()=>[]},images:{type:Array,default:()=>[]},info:{type:Object,default:()=>{}},follow:{type:Object,default:()=>{}},labels:{type:Function,default:()=>""},operation:{type:Array,default:["replay","like","more"]}},components:{CommentHeader:PC,CommentImages:WC,CommentBottom:e1},emits:["click","clickImages","clickOperate"],setup(e,{emit:n}){const{t:o}=_.useFoxI18n(o1),l=t.computed(()=>({[t1]:!0})),r=t.computed(()=>e.ellipsis?e.ellipsis:e.headerType=="complex"?6:2);return{classes:l,conEllipsis:r,clickOperate:c=>{n("clickOperate",c)},handleClick:()=>{n("click",e.info)},clickImages:c=>{n("clickImages",c)},t:o}}}),a1=["innerHTML"],r1={class:"fox-comment__follow-title"},s1={class:"fox-comment__follow-com"},i1={key:0,class:"fox-comment__follow-img"};function c1(e,n,o,l,r,i){const a=t.resolveComponent("comment-header"),s=t.resolveComponent("comment-images"),c=t.resolveComponent("fox-icon"),m=t.resolveComponent("comment-bottom");return e.info&&Object.keys(e.info)?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.classes)},[t.createVNode(a,{type:e.headerType,info:e.info,labels:e.labels,onHandleClick:e.handleClick},{labels:t.withCtx(()=>[t.renderSlot(e.$slots,"comment-labels")]),_:3},8,["type","info","labels","onHandleClick"]),t.renderSlot(e.$slots,"feature"),t.createElementVNode("view",{class:"fox-comment__main",style:t.normalizeStyle(`-webkit-line-clamp:${e.conEllipsis}`),onClick:n[0]||(n[0]=(...f)=>e.handleClick&&e.handleClick(...f)),innerHTML:e.info.content.replace(/\n/g,"<br>")},null,12,a1),t.createVNode(s,{images:e.images,videos:e.videos,type:e.imagesRows,onClickImages:e.clickImages},null,8,["images","videos","type","onClickImages"]),e.follow&&e.follow.days>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment__follow",onClick:n[1]||(n[1]=(...f)=>e.handleClick&&e.handleClick(...f))},[t.createElementVNode("view",r1,[t.createVNode(c,{size:"14",name:"joy-smile"}),t.createTextVNode(t.toDisplayString(e.t("additionalReview",[e.follow.days])),1)]),t.createElementVNode("view",s1,t.toDisplayString(e.follow.content),1),e.follow.images&&e.follow.images.length>0?(t.openBlock(),t.createElementBlock("view",i1,[t.createTextVNode(t.toDisplayString(e.t("additionalImages",[e.follow.images.length])),1),t.createVNode(c,{size:"12",name:"right"})])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(m,{type:e.headerType,info:e.info,operation:e.operation,onClickOperate:e.clickOperate,onHandleClick:e.handleClick},null,8,["type","info","operation","onClickOperate","onHandleClick"]),t.renderSlot(e.$slots,"comment-shop-reply")],2)):t.createCommentVNode("",!0)}const hr=H(l1,[["render",c1]]),u1=[yl,vl,kl,Sl,Cl,Te,Nl,Bl,Vl,Al,El,Zn,Il,xl,Rl,Ol,no,Fl,oo,Ul,Kl,Qt,Hl,jl,et,Wl,Yl,re,Ut,he,Xl,Ql,Gl,Zl,Jl,_l,ta,na,oa,la,aa,ra,sa,ia,ca,ua,da,fa,ma,pa,ha,ga,ya,va,Jn,to,eo,ka,Sa,St,ba,Ca,wa,Na,Ba,Va,Aa,Ht,Ta,ro,lo,Vt,Ia,qa,za,Ma,Pa,xa,Ra,La,Oa,tt,Fa,Ua,nt,ot,Ft,jt,Ha,ja,Wa,Ya,Xa,Qa,Ga,Za,Ja,_a,er,tr,nr,or,lr,ar,rr,sr,ir,cr,ur,dr,fr,mr,pr,hr],d1=new Xr(u1,"4.0.0");exports.ActionSheet=Ba;exports.Address=or;exports.AddressList=fr;exports.Animate=er;exports.Audio=Ia;exports.AudioOperate=qa;exports.Avatar=za;exports.AvatarGroup=Ma;exports.BackTop=Va;exports.Badge=Wa;exports.Barrage=lr;exports.Button=et;exports.Calendar=to;exports.CalendarItem=Ol;exports.Card=ur;exports.Cascader=Jn;exports.CascaderItem=xl;exports.Category=mr;exports.CategoryPane=pr;exports.Cell=Wl;exports.CellGroup=Yl;exports.Checkbox=oo;exports.CheckboxItem=Ul;exports.CircleProgress=Ra;exports.Col=Gl;exports.Collapse=Ga;exports.CollapseItem=Za;exports.Comment=hr;exports.Content=Sl;exports.CountDown=ja;exports.CountUp=Ha;exports.DateItem=Rl;exports.DatePicker=eo;exports.DateUtils=Q;exports.Dialog=Ht;exports.Divider=_l;exports.DomainProvider=jl;exports.Drag=Aa;exports.Ecard=dr;exports.Elevator=ca;exports.Ellipsis=_a;exports.Empty=Oa;exports.FixedNav=la;exports.FooterBar=kl;exports.Grid=ta;exports.GridItem=na;exports.Group=Cl;exports.HeaderBar=vl;exports.Icon=re;exports.Image=Xl;exports.ImagePreview=jt;exports.Indicator=ma;exports.InfiniteLoading=Ta;exports.InputItem=Vl;exports.InputNumber=ka;exports.Item=Te;exports.Layout=Ql;exports.LinkItem=Hl;exports.List=Pa;exports.Menu=aa;exports.MenuItem=ra;exports.MoneyItem=Al;exports.Navbar=oa;exports.NoticeBar=La;exports.Notify=ro;exports.NumberKeyboard=wa;exports.OverLay=Ut;exports.Page=yl;exports.Pagination=ua;exports.Picker=St;exports.PickerItem=Il;exports.Popover=Xa;exports.Popup=he;exports.Price=Ft;exports.Progress=xa;exports.Radio=no;exports.RadioItem=Fl;exports.Range=ya;exports.Rate=Sa;exports.Row=Zl;exports.RowItem=Nl;exports.SearchBar=va;exports.ShortPassword=ba;exports.SideNavBar=pa;exports.SideNavBarItem=ha;exports.Signature=ar;exports.Skeleton=Qa;exports.Sku=cr;exports.SlotItem=Bl;exports.Step=Ua;exports.Steps=Fa;exports.Sticky=Jl;exports.SubSideNavBar=ga;exports.Swipe=Na;exports.Swiper=nt;exports.SwiperItem=ot;exports.Switch=lo;exports.SwitchItem=Kl;exports.TabPane=fa;exports.Tabbar=sa;exports.TabbarItem=ia;exports.Table=Ja;exports.Tabs=da;exports.Tag=Ya;exports.Textarea=Zn;exports.TextareaItem=El;exports.TimeDetail=ir;exports.TimePannel=sr;exports.TimeSelect=rr;exports.Toast=Vt;exports.TrendArrow=nr;exports.UniqueID=Gn;exports.Uploader=Ca;exports.Video=tt;exports.WaterMark=tr;exports.clearNonNumber=mn;exports.clone=fn;exports.compareTo=cn;exports.debounce=Rr;exports.decimalLength=sl;exports.default=d1;exports.divide=On;exports.excludeProps=cl;exports.extend=Ue;exports.floatData=ul;exports.hasSymbol=el;exports.hinttext=Qt;exports.includeProps=ke;exports.indexOf=il;exports.integerLength=rl;exports.isArray=vr;exports.isArrayLike=nl;exports.isBrowser=Ye;exports.isDate=De;exports.isESModule=wr;exports.isEmptyString=ye;exports.isEqual=Ae;exports.isFunction=un;exports.isMap=kr;exports.isNumberString=al;exports.isObject=Ve;exports.isPlainObject=dn;exports.isPromise=Wt;exports.isRegExp=ll;exports.isSet=Sr;exports.isString=br;exports.isSymbol=Cr;exports.isWindow=tl;exports.lastIndexOf=Er;exports.makeArray=Ar;exports.merge=ol;exports.multiply=Go;exports.negate=Zo;exports.nextTick=Br;exports.numberFormat=Fn;exports.objectToString=_o;exports.raf=Fe;exports.throttle=Hn;exports.toBoolean=ve;exports.toNumber=oe;exports.toTypeString=Yt;exports.typeOf=Lt;exports.unNumberFormat=Jo;exports.valueLength=ce;
|
|
12
|
+
${o}
|
|
13
|
+
`)}}});function Of(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)}const Na=W(Rf,[["render",Of]]),{componentName:Ff,create:Uf}=U("divider"),Kf=Uf({props:{contentPosition:{type:String,default:"center"},dashed:{type:Boolean,default:!1},hairline:{type:Boolean,default:!0},direction:{type:String,default:"horizontal"}},components:{},setup(e,o){return{classes:t.computed(()=>{const n=Ff;let a={[n]:!0},r={};return e.direction==="horizontal"?r={...a,[`${n}-center`]:o.slots.default,[`${n}-left`]:e.contentPosition==="left",[`${n}-right`]:e.contentPosition==="right",[`${n}-dashed`]:e.dashed,[`${n}-hairline`]:e.hairline}:r={...a,[`${n}-vertical`]:e.direction==="vertical"},r})}}});function Hf(e,o,l,n,a,r){return e.direction==="horizontal"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(e.classes)},null,2))}const Ba=W(Kf,[["render",Hf]]);function jf(e,o){const l=[],n=a=>{Array.isArray(a)&&a.forEach(r=>{if(t.isVNode(r)){if(o){if(r.type&&r.type.name===o){l.push(r);return}}else l.push(r);r.component?.subTree&&n(r.component.subTree.children),r.children&&n(r.children)}})};return n(e),l}function Wf(e,o,l){const n=jf(e.subTree.children,l);o.sort((a,r)=>n.indexOf(a.vnode)-n.indexOf(r.vnode))}function Yf(e,o){const l=t.shallowReactive([]),n=t.getCurrentInstance(),a=i=>{i.proxy&&(l.push(t.markRaw(i)),Wf(n,l,o))},r=i=>{l.splice(l.indexOf(t.markRaw(i)),1)},s=Object.assign;return i=>(t.provide(e,s({add:a,remove:r,internalChildren:l},i)),{internalChildren:l})}const{componentName:nl}=U("grid"),Va=Symbol("grid"),Xf={columnNum:{type:[Number,String],default:4},border:{type:Boolean,default:!0},gutter:{type:[Number,String],default:0},center:{type:Boolean,default:!0},square:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},direction:{type:String},clickable:{type:Boolean,default:!1}},Qf={props:Xf,setup(e,{slots:o}){Yf(Va,`${nl}-item`)({props:e});const l=t.computed(()=>{const a=nl;return{[a]:!0,[`${a}--border`]:e.border&&!e.gutter}}),n=t.computed(()=>{const a={};return e.gutter&&(a.paddingLeft=le(e.gutter)),a});return()=>t.h("view",{class:l.value,style:n.value},o.default?.())}},{create:Gf}=U("grid"),Aa=Gf(Qf);function Zf(e){const o=t.inject(e,null);if(o){const l=t.getCurrentInstance(),{add:n,remove:a,internalChildren:r}=o;n(l),t.onUnmounted(()=>a(l));const s=t.computed(()=>r.indexOf(l));return{parent:o,index:s}}return{parent:null,index:t.ref(-1)}}const{create:Jf,componentName:ll}=U("grid-item"),_f=Jf({props:{text:{type:String}},emits:["click"],setup(e,{emit:o}){const l=Zf(Va);if(!l.parent)return{};const n=l.index,a=l.parent.props,r=t.computed(()=>({[ll]:!0})),s=t.computed(()=>{const d={flexBasis:`${100/+a.columnNum}%`};return a.square?d.paddingTop=`${100/+a.columnNum}%`:a.gutter&&(d.paddingRight=le(a.gutter),n.value>=a.columnNum&&(d.marginTop=le(a.gutter))),d}),i=t.computed(()=>{const d=`${ll}__content`;return{[`${d}`]:!0,[`${d}--border`]:a.border,[`${d}--surround`]:a.border&&a.gutter,[`${d}--center`]:a.center,[`${d}--square`]:a.square,[`${d}--reverse`]:a.reverse,[`${d}--${a.direction}`]:!!a.direction,[`${d}--clickable`]:a.clickable}});return{rootClass:r,rootStyle:s,contentClass:i,handleClick:d=>{o("click",d)}}}}),em={class:"fox-grid-item__text"};function tm(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.rootClass),style:t.normalizeStyle(e.rootStyle),onClick:o[0]||(o[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.createElementVNode("view",{class:t.normalizeClass(e.contentClass)},[t.renderSlot(e.$slots,"default"),t.createElementVNode("view",em,[e.text?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(e.text),1)],64)):t.renderSlot(e.$slots,"text",{key:1})])],2)],6)}const Ea=W(_f,[["render",tm]]),{componentName:om,create:nm}=U("navbar"),lm=nm({components:{Left:G.Left},props:{leftShow:{type:Boolean,default:!1},title:{type:String,default:""},titleIcon:{type:Boolean,default:!1},leftText:{type:String,default:""},desc:{type:String,default:""},fixed:{type:Boolean,default:!1},safeAreaInsetTop:{type:Boolean,default:!1},border:{type:Boolean,default:!1},placeholder:{type:Boolean,default:!0},zIndex:{type:[Number,String],default:10}},emits:["on-click-back","on-click-title","on-click-icon","on-click-right"],setup(e,{emit:o}){const{border:l,fixed:n,safeAreaInsetTop:a,placeholder:r,zIndex:s}=t.toRefs(e),i=t.ref(null),c=t.ref(null);let d=t.ref();const m=t.computed(()=>{const g=om;return{[g]:!0,[`${g}--border`]:l.value,[`${g}--fixed`]:n.value,[`${g}--safe-area-inset-top`]:a.value}}),f=t.computed(()=>({zIndex:s.value}));t.onMounted(()=>{n.value&&r.value&&t.nextTick(()=>{d.value=c?.value?.getBoundingClientRect().height,i.value.style.height=d.value+"px"})});function h(){o("on-click-back")}function y(){o("on-click-title")}function k(){o("on-click-icon")}function v(){o("on-click-right")}return{navBarWrap:i,navBarHtml:c,classes:m,styles:f,handleLeft:h,handleCenter:y,handleCenterIcon:k,handleRight:v}}}),am={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},rm={key:1,class:"fox-navbar__text"},sm={class:"fox-navbar__title"},im={key:0,class:"fox-navbar__text"},cm={key:1,class:"fox-navbar__text"},um={class:"fox-navbar__title"},dm={key:0,class:"fox-navbar__text"};function fm(e,o,l,n,a,r){const s=t.resolveComponent("Left");return e.fixed&&e.placeholder?(t.openBlock(),t.createElementBlock("view",am,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),ref:"navBarHtml"},[t.createElementVNode("view",{class:"fox-navbar__left",onClick:o[0]||(o[0]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?t.renderSlot(e.$slots,"left-show",{key:0},()=>[t.createVNode(s,{height:"12px",color:"#979797"})]):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",rm,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",sm,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:o[1]||(o[1]=(...i)=>e.handleCenter&&e.handleCenter(...i))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titleIcon?(t.openBlock(),t.createElementBlock("view",{key:1,class:"icon",onClick:o[3]||(o[3]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[t.renderSlot(e.$slots,"title-icon",{onClick:o[2]||(o[2]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:o[4]||(o[4]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?(t.openBlock(),t.createElementBlock("view",im,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6)],512)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("view",{class:"fox-navbar__left",onClick:o[5]||(o[5]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?t.renderSlot(e.$slots,"left-show",{key:0},()=>[t.createVNode(s,{height:"12px",color:"#979797"})]):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",cm,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",um,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:o[6]||(o[6]=(...i)=>e.handleCenter&&e.handleCenter(...i))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titleIcon?(t.openBlock(),t.createElementBlock("view",{key:1,class:"icon",onClick:o[8]||(o[8]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[t.renderSlot(e.$slots,"title-icon",{onClick:o[7]||(o[7]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:o[9]||(o[9]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?(t.openBlock(),t.createElementBlock("view",dm,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6))}const Ta=W(lm,[["render",fm]]),mm=(e,o,l)=>({components:l,props:{visible:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},navList:{default:()=>[],type:Array},activeColor:{default:"",type:String},activeText:{default:"",type:String},unActiveText:{default:"",type:String},position:{default:()=>({top:"auto",bottom:"auto"}),type:Object},type:{default:"right",type:String}},emits:["update:visible","selected"],setup(n,{emit:a}){const{toLocaleRefs:r}=se.useFoxI18n(o),s=r(n,["activeText","unActiveText"]),i=t.computed(()=>({[e]:!0,active:n.visible,[n.type]:!0})),c=t.ref(-1);return{...s,classes:i,updateValue:(f=!n.visible)=>{a("update:visible",f)},selected:(f,h)=>{a("selected",{item:f,event:h}),c.value=f.id},current:c}}}),{componentName:pm,create:hm,scope:gm}=U("fixednav"),ym=hm(mm(pm,gm,{[et.name]:et,Left:G.Left})),vm={class:"fox-fixednav__list"},km=["onClick"],bm=["src"],Sm={class:"span"},Cm={key:0,class:"b"},wm={class:"text"};function Nm(e,o,l,n,a,r){const s=t.resolveComponent("fox-overlay"),i=t.resolveComponent("Left");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.position)},[e.overlay?(t.openBlock(),t.createBlock(s,{key:0,visible:e.visible,"z-index":200,onClick:o[0]||(o[0]=c=>e.updateValue(!1))},null,8,["visible"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"list",{},()=>[t.createElementVNode("view",vm,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.navList,(c,d)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-fixednav__list-item",{active:c.id==e.current}]),onClick:m=>e.selected(c,m),key:c.id||d},[t.createElementVNode("img",{src:c.icon},null,8,bm),t.createElementVNode("view",Sm,t.toDisplayString(c.text),1),c.num?(t.openBlock(),t.createElementBlock("view",Cm,t.toDisplayString(c.num),1)):t.createCommentVNode("",!0)],10,km))),128))])]),t.createElementVNode("div",{class:"fox-fixednav__btn",onClick:o[1]||(o[1]=c=>e.updateValue())},[t.renderSlot(e.$slots,"btn",{},()=>[t.createVNode(i,{color:"#fff"}),t.createElementVNode("view",wm,t.toDisplayString(e.visible?e.activeText:e.unActiveText),1)])])],6)}const $a=W(ym,[["render",Nm]]),{componentName:Bm,create:Vm}=U("menu"),Am=Vm({components:{ArrowUp2:G.ArrowUp2,ArrowDown2:G.ArrowDown2},props:{activeColor:{type:String,default:""},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:[Number,String],default:0},titleIcon:String,closeOnClickOverlay:{type:Boolean,default:!0},direction:{type:String,default:"down"},scrollFixed:{type:[Boolean,String,Number],default:!1},titleClass:[String]},setup(e,{emit:o,slots:l}){const n=t.ref(),a=t.ref(0),r=t.ref(!1),s=()=>{const g=t.reactive([]),u=t.reactive([]);return{children:g,linkChildren:b=>{const S=E=>{E.proxy&&(u.push(E),g.push(E.proxy))},B=E=>{if(E.proxy){let I=u.indexOf(E);I>-1&&u.splice(I,1);let V=g.indexOf(E.proxy);I>-1&&g.splice(V,1)}};t.provide("menuParent",Object.assign({removeLink:B,link:S,children:g,internalChildren:u},b))}}},{children:i,linkChildren:c}=s(),d=t.computed(()=>i.some(g=>g.state.showWrapper)),m=t.computed(()=>({[Bm]:!0,"scroll-fixed":r.value})),f=()=>{if(n.value){const g=be(n);e.direction==="down"?a.value=g.bottom:a.value=window.innerHeight-g.top}};c({props:e,offset:a});const h=g=>{i.forEach((u,p)=>{p===g?(f(),u.toggle()):u.state.showPopup&&u.toggle(!1,{immediate:!0})})},y=g=>Math.max(0,"scrollTop"in g?g.scrollTop:g.pageYOffset),k=()=>{const{scrollFixed:g}=e,u=y(window);r.value=u>(typeof g=="boolean"?30:Number(g))},v=g=>{let u="";const{titleClass:p}=e;return g&&(u+="active"),p&&(u+=` ${p}`),u};return t.onMounted(()=>{const{scrollFixed:g}=e;g&&window.addEventListener("scroll",k)}),t.onUnmounted(()=>{const{scrollFixed:g}=e;g&&window.removeEventListener("scroll",k)}),{toggleItem:h,children:i,opened:d,classes:m,barRef:n,getClasses:v}}}),Em=["onClick"],Tm={class:"fox-menu__title-text"},$m={class:"fox-menu__title-icon"};function Dm(e,o,l,n,a,r){const s=t.resolveComponent("ArrowUp2"),i=t.resolveComponent("ArrowDown2");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-menu__bar",{opened:e.opened}]),ref:"barRef"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.children,(c,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,class:t.normalizeClass(["fox-menu__item",{disabled:c.disabled,active:c.state.showPopup}]),onClick:m=>!c.disabled&&e.toggleItem(d),style:t.normalizeStyle({color:c.state.showPopup?e.activeColor:""})},[t.createElementVNode("view",{class:t.normalizeClass(["fox-menu__title",e.getClasses(c.state.showPopup)])},[t.createElementVNode("view",Tm,t.toDisplayString(c.renderTitle()),1),t.createElementVNode("span",$m,[t.renderSlot(e.$slots,"icon",{},()=>[e.direction==="up"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))])])],2)],14,Em))),128))],2),t.renderSlot(e.$slots,"default")],2)}const Da=W(Am,[["render",Dm]]),{componentName:Im,create:qm}=U("menu-item"),Mm=qm({props:{title:String,options:{type:Array,default:[]},disabled:{type:Boolean,default:!1},modelValue:null,cols:{type:Number,default:1},activeTitleClass:String,inactiveTitleClass:String,optionIcon:{type:String,default:"Check"}},components:{[ce.name]:ce,Check:G.Check},emits:["update:modelValue","change","open","close"],setup(e,{emit:o,slots:l}){const n=t.reactive({showPopup:!1,transition:!0,showWrapper:!1,isShowPlaceholderElement:!1}),a=()=>{const y=t.inject("menuParent",null);if(y){const k=t.getCurrentInstance(),{link:v,removeLink:g}=y;return v(k),t.onUnmounted(()=>{g(k)}),{parent:y}}},{parent:r}=a(),s=t.computed(()=>({[Im]:!0})),i=t.computed(()=>{const y={height:r.offset.value+"px"};return r.props.direction==="down"?y:{...y,top:"auto"}});return{classes:s,placeholderElementStyle:i,renderTitle:()=>{if(e.title)return e.title;const y=e.options?.find(k=>k.value===e.modelValue);return y?y.text:""},state:n,parent:r,toggle:(y=!n.showPopup,k={})=>{y!==n.showPopup&&(n.showPopup=y,n.isShowPlaceholderElement=y,y&&(n.showWrapper=!0,o("open")))},onClick:y=>{n.showPopup=!1,n.isShowPlaceholderElement=!1,y.value!==e.modelValue&&(o("update:modelValue",y.value),o("change",y.value))},handleClose:()=>{o("close"),n.showWrapper=!1,n.isShowPlaceholderElement=!1},handleClickOutside:()=>{n.showPopup=!1,o("close")}}}}),zm={class:"fox-menu-item__content fox-menu-item__overflow"},xm=["onClick"];function Lm(e,o,l,n,a,r){const s=t.resolveComponent("Check"),i=t.resolveComponent("fox-popup");return t.withDirectives((t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.withDirectives(t.createElementVNode("div",{onClick:o[0]||(o[0]=(...c)=>e.handleClickOutside&&e.handleClickOutside(...c)),class:t.normalizeClass(["fox-menu-item-placeholder-element",{up:e.parent.props.direction==="up"}]),style:t.normalizeStyle(e.placeholderElementStyle)},null,6),[[t.vShow,e.state.isShowPlaceholderElement]]),t.createVNode(i,t.mergeProps({style:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px"},overlayStyle:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px",top:"auto"}},e.$attrs,{visible:e.state.showPopup,"onUpdate:visible":o[1]||(o[1]=c=>e.state.showPopup=c),position:e.parent.props.direction==="down"?"top":"bottom",duration:e.parent.props.duration,"pop-class":"fox-menu__pop","destroy-on-close":!1,overlay:e.parent.props.overlay,onClosed:e.handleClose,lockScroll:e.parent.props.lockScroll,teleportDisable:!1,"close-on-click-overlay":e.parent.props.closeOnClickOverlay}),{default:t.withCtx(()=>[t.createElementVNode("view",zm,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.options,(c,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,class:t.normalizeClass(["fox-menu-item__option",[{active:c.value===e.modelValue}]]),style:t.normalizeStyle({"flex-basis":100/e.cols+"%"}),onClick:m=>e.onClick(c)},[c.value===e.modelValue?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["fox-menu-item__span",[c.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]])},[t.renderSlot(e.$slots,"icon",{},()=>[t.createVNode(s,t.mergeProps(e.$attrs,{color:e.parent.props.activeColor}),null,16,["color"])])],2)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass([c.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]),style:t.normalizeStyle({color:c.value===e.modelValue?e.parent.props.activeColor:""})},t.toDisplayString(c.text),7)],14,xm))),128)),t.renderSlot(e.$slots,"default")])]),_:3},16,["style","overlayStyle","visible","position","duration","overlay","onClosed","lockScroll","close-on-click-overlay"])],2)),[[t.vShow,e.state.showWrapper]])}const Ia=W(Mm,[["render",Lm]]),{create:Pm}=U("tabbar"),Rm=Pm({props:{modelValue:{type:[Number,String],default:0},bottom:{type:Boolean,default:!1},size:{type:[String,Number],default:"20px"},inactiveColor:{type:String,default:""},activeColor:{type:String,default:""},safeAreaInsetBottom:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(e,o){function l(a){n.value!==a&&(n.value=a,o.emit("update:modelValue",a),o.emit("change",a,n.children[a]))}const n=t.reactive({children:[],size:e.size,value:e.modelValue,inactiveColor:e.inactiveColor,activeColor:e.activeColor,changeIndex:l});return t.provide("parent",n),t.watch(()=>e.modelValue,a=>{n.value=a}),{changeIndex:l}}});function Om(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabbar",{"fox-tabbar-bottom":e.bottom,"fox-tabbar-safebottom":e.safeAreaInsetBottom}])},[t.renderSlot(e.$slots,"default")],2)}const qa=W(Rm,[["render",Om]]),{create:Fm}=U("tabbar-item"),Um=Fm({props:{title:{type:String,default:""},icon:{type:Object},num:{type:String,default:""},activeImg:{type:String,default:""},img:{type:String,default:""},dot:{type:Boolean,default:!1}},setup(e,o){const l=t.inject("parent"),n=t.reactive({size:l.size,inactiveColor:l.inactiveColor,activeColor:l.activeColor,value:l.value,index:0}),a=t.getCurrentInstance();a!==null&&(d=>{if(d.proxy){let m=l.children.length;n.index=m;let f=Object.assign(d.proxy,{index:m});l.children.push(f)}})(a);const r=t.computed(()=>n.index===n.value);function s(c){l&&typeof l.changeIndex=="function"&&l.changeIndex(c)}const i=t.computed(()=>l?l.value:null);return t.watch(i,c=>{n.value=c}),{state:n,active:r,change:s}}}),Km={class:"fox-tabbar-item_icon-box"},Hm={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},jm={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},Wm={key:1,class:"fox-tabbar-item_icon-box_dot"},Ym={key:2},Xm={key:0};function Qm(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["fox-tabbar-item",{"fox-tabbar-item__icon--unactive":!e.active}]),style:t.normalizeStyle({color:e.active?e.state.activeColor:e.state.deactiveColor}),onClick:o[0]||(o[0]=s=>e.change(e.state.index))},[t.createElementVNode("view",Km,[e.dot?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.num&&e.num<=99?(t.openBlock(),t.createElementBlock("view",Hm,t.toDisplayString(e.num),1)):e.num&&e.num>100?(t.openBlock(),t.createElementBlock("view",jm,t.toDisplayString("99+"))):t.createCommentVNode("",!0)],64)),e.dot?(t.openBlock(),t.createElementBlock("div",Wm)):t.createCommentVNode("",!0),e.icon?(t.openBlock(),t.createElementBlock("view",Ym,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.icon),{class:"fox-tabbar-item_icon-box_icon",width:e.state.size,height:e.state.size},null,8,["width","height"]))])):t.createCommentVNode("",!0),!e.icon&&e.activeImg?(t.openBlock(),t.createElementBlock("div",{key:3,class:"fox-tabbar-item_icon-box_icon",style:t.normalizeStyle({backgroundImage:`url(${e.active?e.activeImg:e.img})`,width:e.state.size,height:e.state.size})},null,4)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-tabbar-item_icon-box_nav-word",{"fox-tabbar-item_icon-box_big-word":!e.icon&&!e.activeImg}])},[e.title?(t.openBlock(),t.createElementBlock("view",Xm,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.title?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"default",{key:1})],2)])],6)}const Ma=W(Um,[["render",Qm]]),{componentName:Gm,create:Zm}=U("elevator"),Jm=Zm({props:{height:{type:[Number,String],default:"200px"},acceptKey:{type:[String],default:"title"},indexList:{type:Array,default:()=>[]},isSticky:{type:[Boolean],default:!1},spaceHeight:{type:[Number],default:23},titleHeight:{type:[Number],default:35}},emits:["click-item","click-index","change"],setup(e,o){const l=t.ref(null),n=t.reactive({anchorIndex:0,codeIndex:0,listHeight:[],listGroup:[],touchState:{y1:0,y2:0},scrollStart:!1,currentIndex:0,currentData:{},currentKey:"",scrollY:0,diff:-1,fixedTop:0}),a=t.computed(()=>({[Gm]:!0})),r=t.computed(()=>({transform:`translate3d(0, ${n.scrollY+n.fixedTop}px, 0)`})),s=t.computed(()=>l.value.clientHeight),i=(u,p)=>{const b="data-";return u.getAttribute(b+p)},c=u=>{t.nextTick(()=>{!n.listGroup.includes(u)&&u!=null&&n.listGroup.push(u)})},d=()=>{let u=0;n.listHeight.push(u);for(let p=0;p<n.listGroup.length;p++){let b=n.listGroup[p];u+=Math.floor(b.clientHeight),n.listHeight.push(u)}},m=u=>{!u&&u!==0||(u<0&&(u=0),u>n.listHeight.length-2&&(u=n.listHeight.length-2),n.codeIndex=u,l.value.scrollTo(0,n.listHeight[u]))},f=u=>{n.scrollStart=!0;let p=i(u.target,"index"),b=u.touches[0];n.touchState.y1=b.pageY,n.anchorIndex=+p,n.codeIndex=+p,m(+p)},h=u=>{let p=u.touches[0];n.touchState.y2=p.pageY;let b=(n.touchState.y2-n.touchState.y1)/e.spaceHeight|0;n.codeIndex=n.anchorIndex+b,m(n.codeIndex)},y=()=>{n.scrollStart=!1},k=(u,p)=>{o.emit("click-item",u,p),n.currentData=p,n.currentKey=u},v=u=>{o.emit("click-index",u)},g=u=>{let b=u.target.scrollTop;const S=n.listHeight;n.scrollY=b;for(let B=0;B<S.length-1;B++){let E=S[B],I=S[B+1];if(n.scrollY>=E&&n.scrollY<I){n.currentIndex=B,n.diff=I-n.scrollY;return}}n.currentIndex=S.length-2};return t.onMounted(()=>{l.value.addEventListener("scroll",g)}),De({scrollTo:m}),t.watch(()=>n.listGroup.length,()=>{n.listHeight=[],t.nextTick(d)}),t.watch(()=>n.diff,u=>{const p=n.listHeight;let b=u>0&&u<e.titleHeight?u-e.titleHeight:0;n.scrollY+s.value===p[p.length-1]&&b!==0&&(b=0),n.fixedTop!==b&&(n.fixedTop=b)}),t.watch(()=>n.currentIndex,u=>{o.emit("change",u)}),{classes:a,...t.toRefs(n),fixedStyle:r,clientHeight:s,setListGroup:c,listview:l,touchStart:f,touchMove:h,touchEnd:y,handleClickItem:k,handleClickIndex:v}}}),_m={class:"fox-elevator__list__item__code"},ep=["onClick"],tp=["innerHTML"],op={class:"fox-elevator__fixed-title"},np={class:"fox-elevator__bars__inner"},lp=["data-index","onClick"];function ap(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:"fox-elevator__list",ref:"listview",style:t.normalizeStyle({height:isNaN(+e.height)?e.height:`${e.height}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.indexList,s=>(t.openBlock(),t.createElementBlock("view",{class:"fox-elevator__list__item",key:s[e.acceptKey],ref_for:!0,ref:e.setListGroup},[t.createElementVNode("view",_m,t.toDisplayString(s[e.acceptKey]),1),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,i=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-elevator__list__item__name",{"fox-elevator__list__item__name--highcolor":e.currentData.id===i.id&&e.currentKey===s[e.acceptKey]}]),key:i.id,onClick:c=>e.handleClickItem(s[e.acceptKey],i)},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:1,item:i}):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:i.name},null,8,tp))],10,ep))),128))]))),128)),e.isSticky?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-elevator__list__fixed",style:t.normalizeStyle(e.fixedStyle)},[t.createElementVNode("span",op,t.toDisplayString(e.indexList[e.currentIndex][e.acceptKey]),1)],4)),[[t.vShow,e.scrollY>0]]):t.createCommentVNode("",!0)],4),e.indexList.length?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-elevator__code--current"},t.toDisplayString(e.indexList[e.codeIndex][e.acceptKey]),513)),[[t.vShow,e.scrollStart]]):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-elevator__bars",onTouchstart:o[0]||(o[0]=(...s)=>e.touchStart&&e.touchStart(...s)),onTouchmove:o[1]||(o[1]=t.withModifiers((...s)=>e.touchMove&&e.touchMove(...s),["stop","prevent"])),onTouchend:o[2]||(o[2]=(...s)=>e.touchEnd&&e.touchEnd(...s))},[t.createElementVNode("view",np,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.indexList,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-elevator__bars__inner__item",{active:s[e.acceptKey]===e.indexList[e.currentIndex][e.acceptKey]}]),"data-index":i,key:s[e.acceptKey],onClick:c=>e.handleClickIndex(s[e.acceptKey])},t.toDisplayString(s[e.acceptKey]),11,lp))),128))])],32)],2)}const eo=W(Jm,[["render",ap]]),{componentName:pw,create:rp,scope:sp}=U("pagination"),ip=rp({props:{modelValue:{type:Number,default:1},mode:{type:String,default:"multi"},prevText:{type:String,default:""},nextText:{type:String,default:""},pageCount:{type:[String,Number],default:""},totalItems:{type:[String,Number],default:"0"},itemsPerPage:{type:[String,Number],default:"10"},showPageSize:{type:[String,Number],default:"5"},forceEllipses:{type:Boolean,default:!1}},components:{},emits:["change","update:modelValue"],setup(e,{emit:o}){const{toLocaleRefs:l}=se.useFoxI18n(sp),n=l(e,["prevText","nextText"]),{modelValue:a,mode:r,showPageSize:s,forceEllipses:i}=t.toRefs(e),c=t.computed(()=>{const{pageCount:h,totalItems:y,itemsPerPage:k}=t.toRefs(e),v=+h.value||Math.ceil(+y.value/+k.value);return Math.max(1,v)}),d=(h,y)=>{h>c.value||h<1||(h!=a.value&&o("update:modelValue",h),y&&o("change",h))},m=(h,y,k=!1)=>({number:h,text:y,active:k}),f=t.computed(()=>{if(r.value=="simple")return;let h=[];const y=c.value,k=+s.value;let v=1,g=y;const u=y>k;u&&(v=Math.max(a.value-Math.floor(k/2),1),g=v+k-1,g>y&&(g=y,v=g-k+1));for(var p=v;p<=g;p++){const b=m(p,p,a.value==p);h.push(b)}if(u&&k>0&&i.value){if(v>1){const b=m(v-1,"...");h.unshift(b)}if(g<y){const b=m(g+1,"...");h.push(b)}}return h});return t.watchEffect(()=>{d(a.value,!1)}),{...n,modelValue:a,select:d,countRef:c,mode:r,pages:f,forceEllipses:i}}}),cp={class:"fox-pagination"},up={key:0,class:"fox-pagination-contain"},dp=["onClick"],fp={key:1,class:"fox-pagination-contain"},mp={class:"fox-pagination-simple"};function pp(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",cp,[t.createElementVNode("view",{class:t.normalizeClass(["fox-pagination-prev",e.mode=="multi"?"":"simple-border",e.modelValue==1?"disabled":""]),onClick:o[0]||(o[0]=s=>e.select(e.modelValue-1,!0))},[t.renderSlot(e.$slots,"prev-text",{},()=>[t.createTextVNode(t.toDisplayString(e.prevText),1)])],2),e.mode=="multi"?(t.openBlock(),t.createElementBlock("view",up,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.pages,(s,i)=>(t.openBlock(),t.createElementBlock("view",{key:i+"pagination",class:t.normalizeClass(["fox-pagination-item",s.active?"active":""]),onClick:c=>e.select(s.number,!0)},[t.renderSlot(e.$slots,"page",{item:s},()=>[t.createTextVNode(t.toDisplayString(s.text),1)])],10,dp))),128))])):t.createCommentVNode("",!0),e.mode=="simple"?(t.openBlock(),t.createElementBlock("view",fp,[t.createElementVNode("view",mp,t.toDisplayString(e.modelValue)+"/"+t.toDisplayString(e.countRef),1)])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-pagination-next",e.modelValue>=e.countRef?"disabled":""]),onClick:o[1]||(o[1]=s=>e.select(e.modelValue+1,!0))},[t.renderSlot(e.$slots,"next-text",{},()=>[t.createTextVNode(t.toDisplayString(e.nextText),1)])],2)])}const za=W(ip,[["render",pp]]),{componentName:al,create:hp}=U("indicator"),gp=hp({props:{size:{type:Number,default:3,required:!0},current:{type:Number,default:1,required:!0},block:{type:Boolean,default:!1},align:{type:String,default:"center"},fillZero:{type:Boolean,default:!0}},setup(e){const{block:o,align:l}=t.toRefs(e);return{classes:t.computed(()=>{const a=al;return{[a]:!0,[`${a}--block`]:o.value,[`${a}--align__${l.value}`]:o.value&&l.value}}),componentName:al,padZero:Qe}}});function yp(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.size,s=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:s},[s===e.current?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(`${e.componentName}--number`)},t.toDisplayString(e.fillZero&&e.padZero(s)||s),3)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`${e.componentName}--dot`)},null,2))],64))),128))],2)}const xa=W(gp,[["render",yp]]),{componentName:vp,create:kp}=U("side-navbar"),bp=kp({props:{offset:{type:[String,Number],default:15}},emits:[],setup:e=>{const o=t.ref(null),l=t.reactive({count:1,observer:null}),n=t.computed(()=>({[vp]:!0})),a=(s,i=1)=>{for(let c=0;c<s.length;c++){let d=s[c];d?.children?.[0]&&(d.children[0].style.paddingLeft=+e.offset*i+"px",d.className.includes("fox-side-navbar-item")||a(Array.from(d.children[1].children),++l.count))}l.count--},r=()=>{let s=o.value.childNodes;s.length&&(s=Array.from(s).filter(i=>i.nodeType!==3).map(i=>i),a(s))};return t.onMounted(()=>{r(),l.observer=new MutationObserver(function(){l.count=1,r()}),l.observer.observe(o.value,{attributes:!1,childList:!0,characterData:!1,subtree:!0})}),{...t.toRefs(l),list:o,classes:n}}}),Sp={class:"fox-side-navbar__content"},Cp={class:"fox-side-navbar__content__list",ref:"list"};function wp(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",Sp,[t.createElementVNode("view",Cp,[t.renderSlot(e.$slots,"default")],512)])],2)}const La=W(bp,[["render",wp]]),{componentName:Np,create:Bp}=U("side-navbar-item"),Vp=Bp({props:{title:{type:String,default:""},ikey:{type:String,default:""}},emits:["click"],setup:(e,o)=>({classes:t.computed(()=>({[Np]:!0})),handleClick:()=>{o.emit("click")}})}),Ap=["ikey"],Ep={class:"fox-side-navbar-item__title"};function Tp(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=t.withModifiers((...s)=>e.handleClick&&e.handleClick(...s),["stop"])),ikey:e.ikey},[t.createElementVNode("span",Ep,t.toDisplayString(e.title),1)],10,Ap)}const Pa=W(Vp,[["render",Tp]]),{componentName:$p,create:Dp}=U("sub-side-navbar"),Ip=Dp({props:{title:{type:String,default:""},ikey:{type:[String,Number],default:""},open:{type:Boolean,default:!0}},components:{ArrowDown2:G.ArrowDown2,ArrowUp2:G.ArrowUp2},emits:["title-click"],setup:(e,o)=>{const l=t.reactive({direction:""}),n=t.computed(()=>({[$p]:!0})),a=t.computed(()=>({height:l.direction?"0px":"auto"})),r=()=>{o.emit("title-click"),l.direction=l.direction?"":"up"};return t.onMounted(()=>{l.direction=e.open?"":"up"}),{...t.toRefs(l),classes:n,style:a,handleClick:r}}}),qp=["ikey"],Mp={class:"fox-sub-side-navbar__title__text"},zp={class:"fox-sub-side-navbar__title__icon"};function xp(e,o,l,n,a,r){const s=t.resolveComponent("ArrowDown2"),i=t.resolveComponent("ArrowUp2");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ikey:e.ikey},[t.createElementVNode("view",{class:"fox-sub-side-navbar__title",onClick:o[0]||(o[0]=t.withModifiers((...c)=>e.handleClick&&e.handleClick(...c),["stop"]))},[t.createElementVNode("span",Mp,t.toDisplayString(e.title),1),t.createElementVNode("span",zp,[e.direction?(t.openBlock(),t.createBlock(i,{key:1})):(t.openBlock(),t.createBlock(s,{key:0}))])]),t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(["fox-sub-side-navbar__list",e.direction?"nutFadeOut":"nutFadeIn"]),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6),[[t.vShow,!e.direction]])],10,qp)}const Ra=W(Ip,[["render",xp]]),{componentName:Lp,create:Pp}=U("range"),Rp=Pp({props:{range:{type:Boolean,default:!1},disabled:Boolean,activeColor:String,inactiveColor:String,buttonColor:String,vertical:{type:Boolean,default:!1},marks:{type:Object,default:{}},hiddenRange:{type:Boolean,default:!1},hiddenTag:{type:Boolean,default:!1},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},modelValue:{type:[Number,Array],default:0}},emits:["change","drag-end","drag-start","update:modelValue"],setup(e,{emit:o}){const l=t.ref(0);let n,a;const r=t.ref(),s=t.ref(),i=Ye(),c=t.computed(()=>{const{marks:A,max:T,min:z}=e;return Object.keys(A).map(parseFloat).sort((H,j)=>H-j).filter(H=>H>=z&&H<=T)}),d=t.computed(()=>Number(e.max)-Number(e.min)),m=t.computed(()=>{const A=Lp;return{[A]:!0,[`${A}-disabled`]:e.disabled,[`${A}-vertical`]:e.vertical,[`${A}-show-number`]:!e.hiddenRange}}),f=t.computed(()=>{const A="fox-range-container";return{[A]:!0,[`${A}-vertical`]:e.vertical}}),h=t.computed(()=>({background:e.inactiveColor})),y=t.computed(()=>({borderColor:e.buttonColor})),k=A=>!!e.range&&Array.isArray(A),v=()=>{const{modelValue:A,min:T}=e;return k(A)?`${(A[1]-A[0])*100/d.value}%`:`${(A-Number(T))*100/d.value}%`},g=()=>{const{modelValue:A,min:T}=e;return k(A)?`${(A[0]-Number(T))*100/d.value}%`:"0%"},u=t.computed(()=>e.vertical?{height:v(),top:g(),background:e.activeColor,transition:s.value?"none":void 0}:{width:v(),left:g(),background:e.activeColor,transition:s.value?"none":void 0}),p=A=>{const T="fox-range-mark",{modelValue:z,max:$,min:x}=e;let H=Number(x),j=Number($);if(e.range){const[R,O]=z;H=R,j=O}else j=z;let Y=A<=j&&A>=H;return{[`${T}-text`]:!0,[`${T}-text-active`]:Y}},b=A=>{const{min:T,vertical:z}=e;let $={left:`${(A-Number(T))/d.value*100}%`};return z&&($={top:`${(A-Number(T))/d.value*100}%`}),$},S=A=>{const{modelValue:T,max:z,min:$}=e;let x=Number($),H=Number(z);if(e.range){const[R,O]=T;x=R,H=O}return{background:A<=H&&A>=x?e.activeColor:e.inactiveColor}},B=A=>{const{min:T,max:z,step:$}=e;return A=Math.max(+T,Math.min(A,+z)),Math.round(A/+$)*+$},E=(A,T)=>JSON.stringify(A)===JSON.stringify(T),I=A=>A[0]>A[1]?A.slice(0).reverse():A,V=(A,T)=>{k(A)?A=I(A).map(B):A=B(A),E(A,e.modelValue)||o("update:modelValue",A),T&&!E(A,n)&&o("change",A)},C=A=>{if(e.disabled)return;const{min:T,modelValue:z}=e,$=be(r);let x=A.clientX-$.left,H=$.width;e.vertical&&(x=A.clientY-$.top,H=$.height);const j=Number(T)+x/H*d.value;if(k(z)){const[Y,R]=z,O=(Y+R)/2;j<=O?V([j,R],!0):V([Y,j],!0)}else V(j,!0)},w=A=>{e.disabled||(i.start(A),a=e.modelValue,k(a)?n=a.map(B):n=B(a),s.value="start")},q=A=>{if(e.disabled)return;s.value==="start"&&o("drag-start"),i.move(A),s.value="draging";const T=be(r);let z=i.deltaX.value,$=T.width,x=z/$*d.value;e.vertical&&(z=i.deltaY.value,$=T.height,x=z/$*d.value),k(n)?a[l.value]=n[l.value]+x:a=n+x,V(a),A.stopPropagation(),A.preventDefault()},P=()=>{e.disabled||(s.value==="draging"&&(V(a,!0),o("drag-end")),s.value="")},M=A=>co(e.modelValue)&&typeof A=="number"?e.modelValue[A]:Number(e.modelValue);return{root:r,classes:m,wrapperStyle:h,buttonStyle:y,onClick:C,onTouchStart:w,onTouchMove:q,onTouchEnd:P,...t.toRefs(e),barStyle:u,curValue:M,buttonIndex:l,containerClasses:f,markClassName:p,marksStyle:b,marksList:c,tickStyle:S}}}),Op={key:0,class:"fox-range-min"},Fp={key:0,class:"fox-range-mark"},Up=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],Kp={key:0,class:"number"},Hp=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],jp={key:0,class:"number"},Wp={key:1,class:"fox-range-max"};function Yp(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.containerClasses)},[e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Op,t.toDisplayString(+e.min),1)),t.createElementVNode("view",{ref:"root",style:t.normalizeStyle(e.wrapperStyle),class:t.normalizeClass(e.classes),onClick:o[9]||(o[9]=t.withModifiers((...s)=>e.onClick&&e.onClick(...s),["stop"]))},[e.marksList.length>0?(t.openBlock(),t.createElementBlock("view",Fp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.marksList,s=>(t.openBlock(),t.createElementBlock("span",{key:s,class:t.normalizeClass(e.markClassName(s)),style:t.normalizeStyle(e.marksStyle(s))},[t.createTextVNode(t.toDisplayString(s)+" ",1),t.createElementVNode("span",{class:"fox-range-tick",style:t.normalizeStyle(e.tickStyle(s))},null,4)],6))),128))])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-range-bar",style:t.normalizeStyle(e.barStyle)},[e.range?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},t.renderList([0,1],s=>t.createElementVNode("view",{key:s,role:"slider",class:t.normalizeClass({"fox-range-button-wrapper-left":s==0,"fox-range-button-wrapper-right":s==1}),tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(s),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:t.withModifiers(i=>{typeof s=="number"&&(e.buttonIndex=s),e.onTouchStart(i)},["stop","prevent"]),onTouchmove:o[0]||(o[0]=t.withModifiers((...i)=>e.onTouchMove&&e.onTouchMove(...i),["stop","prevent"])),onTouchend:o[1]||(o[1]=t.withModifiers((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onTouchcancel:o[2]||(o[2]=t.withModifiers((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onClick:o[3]||(o[3]=i=>i.stopPropagation())},[e.$slots.button?t.renderSlot(e.$slots,"button",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-range-button",style:t.normalizeStyle(e.buttonStyle)},[e.hiddenTag?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Kp,t.toDisplayString(e.curValue(s)),1))],4))],42,Up)),64)):(t.openBlock(),t.createElementBlock("view",{key:1,role:"slider",class:"fox-range-button-wrapper",tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:o[4]||(o[4]=t.withModifiers(s=>{e.onTouchStart(s)},["stop","prevent"])),onTouchmove:o[5]||(o[5]=t.withModifiers((...s)=>e.onTouchMove&&e.onTouchMove(...s),["stop","prevent"])),onTouchend:o[6]||(o[6]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onTouchcancel:o[7]||(o[7]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onClick:o[8]||(o[8]=s=>s.stopPropagation())},[e.$slots.button?t.renderSlot(e.$slots,"button",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-range-button",style:t.normalizeStyle(e.buttonStyle)},[e.hiddenTag?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",jp,t.toDisplayString(e.curValue()),1))],4))],40,Hp))],4)],6),e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Wp,t.toDisplayString(+e.max),1))],2)}const to=W(Rp,[["render",Yp]]),{create:Xp,scope:Qp}=U("searchbar"),Gp=Xp({props:{modelValue:{type:[String,Number],default:""},inputType:{type:String,default:"text"},label:{type:String,default:""},shape:{type:String,default:"round"},maxLength:{type:[String,Number],default:"9999"},placeholder:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:Object,default:()=>G.CircleClose},background:{type:String,default:""},inputBackground:{type:String,default:""},focusStyle:{type:Object,default:()=>({})},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},emits:["change","update:modelValue","blur","focus","clear","search","click-input","click-left-icon","click-right-icon"],setup(e,{emit:o}){const{toLocaleRefs:l}=se.useFoxI18n(Qp),n=l(e,["placeholder"]),a=t.reactive({active:!1}),r=t.computed(()=>({background:e.background})),s=t.computed(()=>({background:e.inputBackground})),i=p=>{let S=p.target.value;e.maxLength&&S.length>Number(e.maxLength)&&(S=S.slice(0,Number(e.maxLength))),o("update:modelValue",S,p),o("change",S,p)},c=t.ref({}),d=p=>{let S=p.target.value;a.active=!0,c.value=e.focusStyle,o("focus",S,p)},m=p=>{setTimeout(()=>{a.active=!1},0);let S=p.target.value;e.maxLength&&S.length>Number(e.maxLength)&&(S=S.slice(0,Number(e.maxLength))),c.value={},o("blur",S,p)},f=p=>{o("update:modelValue","",p),o("change","",p),o("clear","")},h=()=>{o("search",e.modelValue)},y=p=>{o("click-input",p)},k=p=>{o("click-left-icon",e.modelValue,p)},v=p=>{o("click-right-icon",e.modelValue,p)},g=t.computed(()=>({textAlign:e.inputAlign})),u=t.ref(null);return t.onMounted(()=>{e.autofocus&&u.value.focus()}),{...n,inputsearch:u,...t.toRefs(a),valueChange:i,valueFocus:d,valueBlur:m,handleClear:f,handleSubmit:h,searchbarStyle:r,inputSearchbarStyle:s,focusCss:c,clickInput:y,leftIconClick:k,rightIconClick:v,styleSearchbar:g}}}),Zp={key:0,class:"fox-searchbar__search-label"},Jp={key:1,class:"fox-searchbar__search-icon fox-searchbar__left-search-icon"},_p=["type","maxlength","placeholder","value","disabled","readonly"],eh={key:1,class:"fox-searchbar__search-icon fox-searchbar__iptright-search-icon"},th={key:2,class:"fox-searchbar__search-icon fox-searchbar__right-search-icon"};function oh(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:"fox-searchbar",style:t.normalizeStyle(e.searchbarStyle)},[e.label?(t.openBlock(),t.createElementBlock("span",Zp,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0),e.$slots.leftout?(t.openBlock(),t.createElementBlock("view",Jp,[t.renderSlot(e.$slots,"leftout")])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-searchbar__search-input",e.shape]),style:t.normalizeStyle({...e.inputSearchbarStyle,...e.focusCss})},[e.$slots.leftin?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-searchbar__search-icon fox-searchbar__iptleft-search-icon",onClick:o[0]||(o[0]=(...s)=>e.leftIconClick&&e.leftIconClick(...s))},[t.renderSlot(e.$slots,"leftin")])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-searchbar__input-inner",e.$slots.rightin&&"fox-searchbar__input-inner-absolute"])},[t.createElementVNode("form",{class:"fox-searchbar__input-form",action:"#",onSubmit:o[5]||(o[5]=t.withModifiers((...s)=>e.handleSubmit&&e.handleSubmit(...s),["prevent"]))},[t.createElementVNode("input",{ref:"inputsearch",class:t.normalizeClass(["fox-searchbar__input-bar",e.clearable&&"fox-searchbar__input-bar_clear"]),type:e.inputType,maxlength:e.maxLength,placeholder:e.placeholder,value:e.modelValue,disabled:e.disabled,readonly:e.readonly,onClick:o[1]||(o[1]=(...s)=>e.clickInput&&e.clickInput(...s)),onInput:o[2]||(o[2]=(...s)=>e.valueChange&&e.valueChange(...s)),onFocus:o[3]||(o[3]=(...s)=>e.valueFocus&&e.valueFocus(...s)),onBlur:o[4]||(o[4]=(...s)=>e.valueBlur&&e.valueBlur(...s)),style:t.normalizeStyle(e.styleSearchbar)},null,46,_p)],32)],2),t.createElementVNode("view",{class:t.normalizeClass(["fox-searchbar__input-inner-icon",e.$slots.rightin&&"fox-searchbar__input-inner-icon-absolute"])},[e.clearable?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,onClick:o[6]||(o[6]=(...s)=>e.handleClear&&e.handleClear(...s)),class:"fox-searchbar__search-icon fox-searchbar__input-clear"},[e.$slots["clear-icon"]?t.renderSlot(e.$slots,"clear-icon",{key:0}):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.clearIcon),{key:1}))],512)),[[t.vShow,String(e.modelValue).length>0]]):t.createCommentVNode("",!0),e.$slots.rightin?(t.openBlock(),t.createElementBlock("view",eh,[t.renderSlot(e.$slots,"rightin")])):t.createCommentVNode("",!0)],2)],6),e.$slots.rightout?(t.openBlock(),t.createElementBlock("view",th,[t.renderSlot(e.$slots,"rightout")])):t.createCommentVNode("",!0)],4)}const Oa=W(Gp,[["render",oh]]),{componentName:nh,create:lh}=U("input-number"),ah=lh({components:{Minus:G.Minus,Plus:G.Plus},props:{modelValue:{type:[Number,String],default:0},inputWidth:{type:[Number,String],default:""},buttonSize:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:9999},step:{type:[Number,String],default:1},decimalPlaces:{type:[Number,String],default:0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},emits:["update:modelValue","change","blur","focus","reduce","add","overlimit"],setup(e,{emit:o}){const l=t.computed(()=>{const y=nh;return{[y]:!0,[`${y}--disabled`]:e.disabled}}),n=y=>Number(y).toFixed(Number(e.decimalPlaces)),a=y=>{const k=y.target;o("update:modelValue",k.valueAsNumber,y)},r=(y,k)=>{let v=n(y);o("update:modelValue",v,k),o("change",v,k)},s=(y=Number(e.modelValue))=>y<Number(e.max)&&!e.disabled,i=(y=Number(e.modelValue))=>y>Number(e.min)&&!e.disabled,c=y=>{if(o("reduce",y),i()){let k=Number(e.modelValue)-Number(e.step);r(k,y)}else o("overlimit",y,"reduce")},d=y=>{if(o("add",y),s()){let k=Number(e.modelValue)+Number(e.step);r(k,y)}else o("overlimit",y,"add")},m=y=>{e.disabled||e.readonly||o("focus",y)},f=y=>{if(e.disabled||e.readonly)return;let v=y.target.valueAsNumber;v<Number(e.min)?v=Number(e.min):v>Number(e.max)&&(v=Number(e.max)),r(v,y),o("blur",y)},h=y=>{let k=Number(y);return k<Number(e.min)?k=Number(e.min):k>Number(e.max)&&(k=Number(e.max)),k};return t.watch(()=>[e.max,e.min],()=>{Number(e.min)>Number(e.max)&&console.warn("[FoxUI] <InputNumber>","props.max < props.min");const y=h(e.modelValue);y!==Number(e.modelValue)&&r(y,{})}),{classes:l,change:a,blur:f,focus:m,add:d,addAllow:s,reduce:c,reduceAllow:i,toPxDesc:le}}}),rh=["min","max","disabled","readonly","value"];function sh(e,o,l,n,a,r){const s=t.resolveComponent("Minus"),i=t.resolveComponent("Plus");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-input-number__icon fox-input-number__left",{"fox-input-number__icon--disabled":!e.reduceAllow()}]),onClick:o[0]||(o[0]=(...c)=>e.reduce&&e.reduce(...c))},[t.renderSlot(e.$slots,"left-icon",{},()=>[t.createVNode(s,{width:e.toPxDesc(e.buttonSize),height:e.toPxDesc(e.buttonSize)},null,8,["width","height"])])],2),t.createElementVNode("input",{type:"number",min:e.min,max:e.max,style:t.normalizeStyle({width:e.toPxDesc(e.inputWidth),height:e.toPxDesc(e.buttonSize)}),disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:o[1]||(o[1]=(...c)=>e.change&&e.change(...c)),onBlur:o[2]||(o[2]=(...c)=>e.blur&&e.blur(...c)),onFocus:o[3]||(o[3]=(...c)=>e.focus&&e.focus(...c))},null,44,rh),t.createElementVNode("view",{class:t.normalizeClass(["fox-input-number__icon fox-input-number__right",{"fox-input-number__icon--disabled":!e.addAllow()}]),onClick:o[4]||(o[4]=(...c)=>e.add&&e.add(...c))},[t.renderSlot(e.$slots,"right-icon",{},()=>[t.createVNode(i,{width:e.toPxDesc(e.buttonSize),height:e.toPxDesc(e.buttonSize)},null,8,["width","height"])])],2)],2)}const ut=W(ah,[["render",sh]]),{create:ih,componentName:ch}=U("rate"),uh=ih({props:{count:{type:[String,Number],default:5},modelValue:{type:[String,Number],default:0},customIcon:{type:Object,default:()=>G.StarFillN},size:{type:[String,Number],default:void 0},activeColor:{type:String,default:""},voidColor:{type:String,default:""},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},touchable:{type:Boolean,default:!0},spacing:{type:[String,Number],default:void 0}},components:{StarFillN:G.StarFillN},emits:["update:modelValue","change"],setup(e,{emit:o,slots:l}){const n=t.ref([]),a=t.computed(()=>({[ch]:!0})),r=h=>{o("update:modelValue",h),o("change",h)},s=(h,y)=>{if(e.disabled||e.readonly)return;let k=0;y===1&&e.modelValue===y||(k=y,e.allowHalf&&h==2&&(k-=.5)),r(k)},i=(h,y,k)=>{let v=0;for(let g=y.value.length-1;g>=0;g--){const u=y.value[g];if(h>u.offsetLeft){k?v=g+(h>u.offsetLeft+u.clientWidth/2?1:.5):v=g+1;break}}return v},c=Ye(),d={onTouchStart(h){!e.touchable||e.readonly||c.start(h)},onTouchMove(h){e.touchable&&(c.move(h),c.isHorizontal()&&n.value&&(h.preventDefault(),r(i(c.moveX.value,n,e.allowHalf))))}},m=Math.random().toString(36).slice(-8);return{classes:a,...d,onClick:s,toPxDesc:le,renderIcon:(h,y)=>t.h(h,y),rateRefs:n,refRandomId:m,slots:l}}}),dh=["id"],fh={class:"fox-rate-item__icon--full"},mh={key:0,class:"fox-rate-item__icon--half"},ph={key:1,class:"fox-rate-item__icon--half"};function hh(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Number(e.count),s=>(t.openBlock(),t.createElementBlock("view",{class:"fox-rate-item",key:s,ref_for:!0,ref:"rateRefs",id:"rateRefs-"+e.refRandomId+s,style:t.normalizeStyle(s<Number(e.count)?{marginRight:e.toPxDesc(e.spacing)}:{})},[t.createElementVNode("view",fh,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:s<=e.modelValue?e.activeColor:e.voidColor})),{class:t.normalizeClass(["fox-rate-item__icon",{"fox-rate-item__icon--disabled":e.disabled||s>e.modelValue}]),onClick:i=>e.onClick(1,s)},null,8,["class","onClick"]))]),e.allowHalf&&Number(e.modelValue)+1>s?(t.openBlock(),t.createElementBlock("view",mh,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:s<=Number(e.modelValue)+1?e.activeColor:e.voidColor})),{class:"fox-rate-item__icon",onClick:i=>e.onClick(2,s)},null,8,["onClick"]))])):e.allowHalf&&Number(e.modelValue)+1<s?(t.openBlock(),t.createElementBlock("view",ph,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:e.voidColor})),{class:"fox-rate-item__icon fox-rate-item__icon--disabled",onClick:i=>e.onClick(2,s)},null,8,["onClick"]))])):t.createCommentVNode("",!0)],12,dh))),128))],34)}const oo=W(uh,[["render",hh]]),{create:gh,scope:yh}=U("short-password"),vh=gh({components:{[ce.name]:ce,Tips:G.Tips},props:{title:{type:String,default:""},desc:{type:String,default:""},tips:{type:String,default:""},visible:{type:Boolean,default:!1},modelValue:{type:String,default:""},errorMsg:{type:String,default:""},closeOnClickOverlay:{type:Boolean,default:!0},length:{type:[String,Number],default:6}},emits:["update:modelValue","update:visible","complete","tips","close","focus"],setup(e,{emit:o}){const{toLocaleRefs:l}=se.useFoxI18n(yh),n=l(e,["title","desc","tips"]),a=t.ref(e.modelValue),r=t.computed(()=>d(Number(e.length))),s=t.ref(e.visible),i=f=>{f.stopPropagation(),o("focus")};t.watch(()=>e.visible,f=>{s.value=f}),t.watch(()=>e.modelValue,f=>{a.value=f,String(f).length===r.value&&o("complete",f)});const c=()=>{o("update:visible",!1),o("close")},d=f=>Math.min(Math.max(4,f),6);return{comLen:r,realInput:a,onTouchStart:i,range:d,close:c,onTips:()=>{o("tips")},show:s,...n}}}),kh={class:"fox-short-password-title"},bh={class:"fox-short-password-subtitle"},Sh={class:"fox-short-password-wrapper"},Ch={key:0,class:"fox-short-password__item-icon"},wh={class:"fox-short-password__message"},Nh={class:"fox-short-password--error"},Bh={key:0,class:"fox-short-password--forget"};function Vh(e,o,l,n,a,r){const s=t.resolveComponent("Tips"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",null,[t.createVNode(i,{style:{padding:"30px 24px 20px 24px",borderRadius:"12px",textAlign:"center",top:"45%"},visible:e.show,"onUpdate:visible":o[2]||(o[2]=c=>e.show=c),closeable:!0,onClickCloseIcon:e.close,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,teleportDisable:!1},{default:t.withCtx(()=>[t.createElementVNode("view",kh,t.toDisplayString(e.title),1),t.createElementVNode("view",bh,t.toDisplayString(e.desc),1),t.createElementVNode("div",Sh,[t.createElementVNode("view",{class:"fox-short-password__list",onTouchstart:o[0]||(o[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(new Array(e.comLen),(c,d)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-short-password__item",key:d},[String(e.realInput).length>d?(t.openBlock(),t.createElementBlock("view",Ch)):t.createCommentVNode("",!0)]))),128))],32)]),t.createElementVNode("view",wh,[t.createElementVNode("view",Nh,t.toDisplayString(e.errorMsg),1),e.tips?(t.openBlock(),t.createElementBlock("view",Bh,[t.createVNode(s,{class:"icon",width:"11px",height:"11px"}),t.createElementVNode("view",{onClick:o[1]||(o[1]=(...c)=>e.onTips&&e.onTips(...c))},t.toDisplayString(e.tips),1)])):t.createCommentVNode("",!0)])]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay"])])}const Fa=W(vh,[["render",Vh]]);class Ah{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload}let Eh=class{options;constructor(o){this.options=o}upload(){const o=this.options,l=new XMLHttpRequest;if(l.timeout=o.timeout,l.upload){l.upload.addEventListener("progress",n=>{o.onProgress?.(n,o)},!1),l.onreadystatechange=()=>{l.readyState===4&&(l.status==o.xhrState?o.onSuccess?.(l.responseText,o):o.onFailure?.(l.responseText,o))},l.withCredentials=o.withCredentials,l.open(o.method,o.url,!0);for(const[n,a]of Object.entries(o.headers))l.setRequestHeader(n,a);o.onStart?.(o),o.beforeXhrUpload?o.beforeXhrUpload(l,o):l.send(o.formData)}else console.warn("浏览器不支持 XMLHttpRequest")}};class Th{status="ready";message="ready";uid=new Date().getTime().toString();name;url;type;path;percentage=0;formData={}}const Ua=(e,{args:o=[],done:l,canceled:n})=>{if(e){const a=e.apply(null,o);en(a)?a.then(r=>{r?l(r):n&&n()}).catch(()=>{}):a?l():n&&n()}else l()},{create:$h}=U("progress"),Dh=$h({components:{Checked:G.Checked},props:{percentage:{type:[Number,String],default:0,required:!0},size:{type:String,default:"base"},status:{type:String,default:""},strokeWidth:{type:[Number,String],default:""},textInside:{type:Boolean,default:!1},showText:{type:Boolean,default:!0},strokeColor:{type:String,default:""},textColor:{type:String,default:""},textBackground:{type:String,default:""},isShowPercentage:{type:Boolean,default:!0}},setup(e){const o=!!t.useSlots().default,l=t.ref(e.strokeWidth+"px"),n=t.ref(),a=t.ref(),r=t.computed(()=>e.percentage>=100?100:e.percentage),s=t.computed(()=>({width:r.value+"%",background:e.strokeColor||""})),i=t.computed(()=>({color:e.textColor||""}));return t.onMounted(()=>{}),{height:l,percentage:r,bgStyle:s,textStyle:i,progressOuter:n,insideText:a,slotDefault:o}}}),Ih={class:"fox-progress"},qh={key:0,class:"fox-progress-text"};function Mh(e,o,l,n,a,r){const s=t.resolveComponent("Checked");return t.openBlock(),t.createElementBlock("div",Ih,[t.createElementVNode("div",{class:t.normalizeClass(["fox-progress-outer",[e.showText&&!e.textInside?"fox-progress-outer-part":"",e.size?"fox-progress-"+e.size:""]]),ref:"progressOuter",style:t.normalizeStyle({height:e.height})},[t.createElementVNode("div",{class:t.normalizeClass(["fox-progress-inner",e.status=="active"?"fox-active":""]),style:t.normalizeStyle(e.bgStyle)},null,6),e.showText&&e.textInside&&!e.slotDefault?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-progress-text fox-progress-insidetext",ref:"insideText",style:t.normalizeStyle({lineHeight:e.height,left:`${e.percentage}%`,transform:`translate(-${+e.percentage}%,-50%)`,background:e.textBackground||e.strokeColor})},[t.createElementVNode("span",{style:t.normalizeStyle(e.textStyle)},t.toDisplayString(e.percentage)+t.toDisplayString(e.isShowPercentage?"%":""),5)],4)):t.createCommentVNode("",!0),e.showText&&e.textInside&&e.slotDefault?(t.openBlock(),t.createElementBlock("div",{key:1,ref:"insideText",style:t.normalizeStyle({position:"absolute",top:"50%",left:`${e.percentage}%`,transform:`translate(-${+e.percentage}%,-50%)`})},[t.renderSlot(e.$slots,"default")],4)):t.createCommentVNode("",!0)],6),e.showText&&!e.textInside?(t.openBlock(),t.createElementBlock("div",qh,[e.status=="active"||e.status==""?(t.openBlock(),t.createElementBlock("span",{key:0,style:t.normalizeStyle(e.textStyle)},t.toDisplayString(e.percentage)+t.toDisplayString(e.isShowPercentage?"%":""),5)):e.status=="icon"?t.renderSlot(e.$slots,"icon-name",{key:1},()=>[t.createVNode(s,{width:"15px",height:"15px",color:"#439422"})]):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])}const no=W(Dh,[["render",Mh]]),{componentName:zh,create:xh,scope:Lh}=U("uploader"),Ph=xh({components:{[no.name]:no,Photograph:G.Photograph,Failure:G.Failure,Loading:G.Loading,Del:G.Del,Link:G.Link},props:{name:{type:String,default:"file"},url:{type:String,default:""},timeout:{type:[Number,String],default:1e3*30},fileList:{type:Array,default:()=>[]},isPreview:{type:Boolean,default:!0},listType:{type:String,default:"picture"},isDeletable:{type:Boolean,default:!0},method:{type:String,default:"post"},capture:{type:Boolean,default:!1},maximize:{type:[Number,String],default:Number.MAX_VALUE},maximum:{type:[Number,String],default:1},clearInput:{type:Boolean,default:!0},accept:{type:String,default:"*"},headers:{type:Object,default:{}},data:{type:Object,default:{}},xhrState:{type:[Number,String],default:200},withCredentials:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autoUpload:{type:Boolean,default:!0},beforeUpload:{type:Function,default:null},beforeXhrUpload:{type:Function,default:null},beforeDelete:{type:Function,default:(e,o)=>!0},onChange:{type:Function}},emits:["start","progress","oversize","success","failure","change","delete","update:fileList","file-item-click"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(Lh),n=t.reactive(e.fileList);let a=[];const r=t.computed(()=>({[zh]:!0})),s=()=>{let p={class:"fox-uploader__input",type:"file",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled};return e.capture&&(p.capture="camera"),t.h("input",p)},i=p=>{p.value=""},c=p=>{o("file-item-click",{fileItem:p})},d=(p,b)=>{const S=new Ah;S.url=e.url,S.formData=p.formData,S.timeout=e.timeout*1,S.method=e.method,S.xhrState=e.xhrState,S.headers=e.headers,S.withCredentials=e.withCredentials,S.beforeXhrUpload=e.beforeXhrUpload;try{S.sourceFile=p.formData.get(e.name)}catch{}S.onStart=E=>{p.status="ready",p.message=l("readyUpload"),m(b),o("start",E)},S.onProgress=(E,I)=>{p.status="uploading",p.message=l("uploading"),p.percentage=(E.loaded/E.total*100).toFixed(0),o("progress",{event:E,option:I,percentage:p.percentage})},S.onSuccess=(E,I)=>{p.status="success",p.message=l("success"),o("success",{responseText:E,option:I,fileItem:p}),o("update:fileList",n)},S.onFailure=(E,I)=>{p.status="error",p.message=l("error"),o("failure",{responseText:E,option:I,fileItem:p})};let B=new Eh(S);e.autoUpload?B.upload():a.push(new Promise((E,I)=>{E(B)}))},m=(p=-1)=>{p>-1?a.splice(p,1):(a=[],n.splice(0,n.length))},f=()=>{Promise.all(a).then(p=>{p.forEach(b=>b.upload())})},h=p=>{p.forEach((b,S)=>{const B=new FormData;for(const[I,V]of Object.entries(e.data))B.append(I,V);B.append(e.name,b);const E=t.reactive(new Th);if(E.name=b.name,E.status="ready",E.type=b.type,E.formData=B,E.message=l("waitingUpload"),d(E,S),e.isPreview&&b.type.includes("image")){const I=new FileReader;I.onload=V=>{E.url=V.target.result,n.push(E)},I.readAsDataURL(b)}else n.push(E)})},y=p=>{const b=e.maximum*1,S=e.maximize*1,B=new Array;p=p.filter(I=>I.size>S?(B.push(I),!1):!0),B.length&&o("oversize",B);let E=p.length+n.length;return E>b&&p.splice(p.length-(E-b)),p},k=(p,b)=>{n.splice(b,1),o("delete",{file:p,fileList:n,index:b})},v=(p,b)=>{m(b),Ua(e.beforeDelete,{args:[p,n],done:()=>k(p,b)})},g=p=>{if(e.disabled)return;const b=p.target;let{files:S}=b;e.beforeUpload?e.beforeUpload(S).then(B=>u(B)):u(S),o("change",{fileList:n,event:p}),e.clearInput&&i(b)},u=p=>{const b=y(new Array().slice.call(p));h(b)};return{onChange:g,onDelete:v,fileList:n,classes:r,fileItemClick:c,clearUploadQueue:m,submit:f,renderInput:s}}}),Rh={key:0,class:"fox-uploader__slot"},Oh={key:0,class:"fox-uploader__preview-img"},Fh={key:0,class:"fox-uploader__preview__progress"},Uh={class:"fox-uploader__preview__progress__msg"},Kh=["onClick"],Hh=["onClick","src"],jh={key:3,class:"fox-uploader__preview-img__file"},Wh=["onClick"],Yh={class:"file__name_tips"},Xh={class:"tips"},Qh={key:1,class:"fox-uploader__preview-list"},Gh=["onClick"],Zh={class:"file__name_tips"};function Jh(e,o,l,n,a,r){const s=t.resolveComponent("Failure"),i=t.resolveComponent("Loading"),c=t.resolveComponent("Link"),d=t.resolveComponent("Del"),m=t.resolveComponent("fox-progress"),f=t.resolveComponent("Photograph");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.$slots.default?(t.openBlock(),t.createElementBlock("view",Rh,[t.renderSlot(e.$slots,"default"),Number(e.maximum)-e.fileList.length?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderInput),{key:0,onChange:e.onChange},null,40,["onChange"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.fileList,(h,y)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-uploader__preview",[e.listType]]),key:h.uid},[e.listType=="picture"&&!e.$slots.default?(t.openBlock(),t.createElementBlock("view",Oh,[h.status!="success"?(t.openBlock(),t.createElementBlock("view",Fh,[h.status!="ready"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[h.status=="error"?(t.openBlock(),t.createBlock(s,{key:0,color:"#fff"})):(t.openBlock(),t.createBlock(i,{key:1,name:"loading",color:"#fff"}))],64)):t.createCommentVNode("",!0),t.createElementVNode("view",Uh,t.toDisplayString(h.message),1)])):t.createCommentVNode("",!0),e.isDeletable?(t.openBlock(),t.createElementBlock("view",{key:1,class:"close",onClick:k=>e.onDelete(h,y)},[t.renderSlot(e.$slots,"delete-icon",{},()=>[t.createVNode(s)])],8,Kh)):t.createCommentVNode("",!0),h?.type?.includes("image")&&h.url?(t.openBlock(),t.createElementBlock("img",{key:2,class:"fox-uploader__preview-img__c",onClick:k=>e.fileItemClick(h),src:h.url},null,8,Hh)):(t.openBlock(),t.createElementBlock("view",jh,[t.createElementVNode("view",{onClick:k=>e.fileItemClick(h),class:"fox-uploader__preview-img__file__name"},[t.createElementVNode("view",Yh,t.toDisplayString(h.name),1)],8,Wh)])),t.createElementVNode("view",Xh,t.toDisplayString(h.name),1)])):e.listType=="list"?(t.openBlock(),t.createElementBlock("view",Qh,[t.createElementVNode("view",{onClick:k=>e.fileItemClick(h),class:t.normalizeClass(["fox-uploader__preview-img__file__name",[h.status]])},[t.createVNode(c,{class:"fox-uploader__preview-img__file__link"}),t.createElementVNode("view",Zh,t.toDisplayString(h.name),1),e.isDeletable?(t.openBlock(),t.createBlock(d,{key:0,color:"#808080",class:"fox-uploader__preview-img__file__del",onClick:k=>e.onDelete(h,y)},null,8,["onClick"])):t.createCommentVNode("",!0)],10,Gh),h.status=="uploading"?(t.openBlock(),t.createBlock(m,{key:0,size:"small",percentage:h.percentage,"stroke-color":"linear-gradient(270deg, rgba(18,126,255,1) 0%,rgba(32,147,255,1) 32.815625%,rgba(13,242,204,1) 100%)","show-text":!1},null,8,["percentage"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2))),128)),e.listType=="picture"&&!e.$slots.default&&Number(e.maximum)-e.fileList.length?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-uploader__upload",[e.listType]])},[t.renderSlot(e.$slots,"upload-icon",{},()=>[t.createVNode(f,{color:"#808080"})]),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderInput),{onChange:e.onChange},null,40,["onChange"]))],2)):t.createCommentVNode("",!0)],2)}const Ka=W(Ph,[["render",Jh]]),_h="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozOUNBQTQ0MkY3RTMxMUVBQjIzNEJCQkYxNDZGQjg5OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozOUNBQTQ0M0Y3RTMxMUVBQjIzNEJCQkYxNDZGQjg5OCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJ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Y0NqbaMHwEYyFJGSMzWJ4CCHGRBRqdPRC7QkAzrml1noWQ6lJu43XepNg/wesz3q72bzdr7kMmMeQEEKck3OhYrAs+xRDQkp5AWtDkykXi0nt+krPEa3qkPBhVdVQRzQiYBti9yTv8QRLidPKkBTrPfHYZBCTbSdhgbr5pK5Pt3nCsEoNsNmog9abZcu0QWCz2U5pWVakDQKMDWDtOjaCEAp5vm3luxr37VPrHW0KB5D/8MHTgvW93nL+vWq378uynFZF/hLOfezM0ESN2syYlzGEjlq2TbvtBPiBc0dz6XpMlu3Eah2JHA2DjvbpRKYZlqhwzl12skOHIkQ0hXOh5pOUcgnnwvTf64toRWEgAT73GtTPxMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:tg,scope:og}=U("number-keyboard"),ng=tg({components:{[ce.name]:ce},props:{confirmText:{type:String,default:""},title:{type:String,default:""},visible:{type:Boolean,default:!1},type:{type:String,default:"default"},customKey:{type:Array,default:()=>[]},modelValue:{type:String,default:""},maxlength:{type:[Number,String],default:6},randomKeys:{type:Boolean,default:!1},popClass:{type:String,default:""}},emits:["input","delete","close","blur","update:modelValue","update:visible"],setup(e,{emit:o}){const{toLocaleRefs:l}=se.useFoxI18n(og),n=l(e,["confirmText"]),a=t.ref(void 0),r=t.ref(e.visible),s=t.ref();function i(){const{customKey:u}=e;let p={id:"lock",type:"lock"},b=Array.isArray(u)?u:[u];return b.length===1&&(p={id:b[0],type:"custom"}),[...c(),p,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const u=[];for(let p=1;p<=9;p++)u.push({id:p,type:"number"});return e.randomKeys?u.sort(()=>Math.random()>.5?1:-1):u}function d(){const u=c(),{customKey:p}=e;let b=Array.isArray(p)?p:[p];return b.length>2&&(b=[b[0],b[1]]),b.length==2&&e.title&&e.type!="rightColumn"&&(b=[b[0]]),b.length===1?e.title&&e.type!="rightColumn"?u.push({id:b[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):u.push({id:0,type:"number"},{id:b[0],type:"custom"}):b.length===2&&u.push({id:b[0],type:"custom"},{id:0,type:"number"},{id:b[1],type:"custom"}),u}const m=t.computed(()=>e.type=="rightColumn"||e.title!=""?d():i()),f=()=>{e.visible&&o("blur")},h=u=>{const p=s.value;p&&!p.contains(u.target)&&f()};t.watch(()=>e.visible,u=>{r.value=u,u?window.addEventListener("touchstart",h,!1):window.removeEventListener("touchstart",h,!1)});function y(u,p){p.stopPropagation(),a.value=u.id,(u.type=="number"||u.type=="custom")&&(o("input",u.id),e.modelValue.length<Number(e.maxlength)&&o("update:modelValue",e.modelValue+u.id)),u.type=="lock"&&g(),u.type=="delete"&&(o("delete"),o("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function k(u){u.stopPropagation()}function v(u){u.preventDefault(),a.value=void 0}function g(){o("update:visible",!1),o("close")}return{...n,delImg:_h,lockImg:eg,clickKeyIndex:a,defaultKey:i,closeBoard:g,onTouchEnd:v,onTouchMove:k,onTouchstart:y,keysList:m,genCustomKeys:d,getBasicKeys:c,root:s,show:r}}}),lg={ref:"root"},ag={class:"fox-number-keyboard"},rg={key:0,class:"fox-number-keyboard__header"},sg={class:"fox-number-keyboard__title"},ig={class:"fox-number-keyboard__body"},cg={class:"fox-number-keyboard__keys"},ug=["onTouchstart"],dg=["src"],fg=["src"],mg={key:0,class:"fox-number-keyboard__sidebar"},pg={class:"fox-key__wrapper"},hg=["src"];function gg(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("div",lg,[t.createVNode(s,{visible:e.show,"onUpdate:visible":o[7]||(o[7]=i=>e.show=i),position:"bottom",popClass:e.popClass,overlay:!1,teleportDisable:!1},{default:t.withCtx(()=>[t.createElementVNode("div",ag,[e.title?(t.openBlock(),t.createElementBlock("div",rg,[t.createElementVNode("h3",sg,t.toDisplayString(e.title),1),e.type=="default"?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-number-keyboard__close",onClick:o[0]||(o[0]=i=>e.closeBoard())},t.toDisplayString(e.confirmText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",ig,[t.createElementVNode("div",cg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.keysList,i=>(t.openBlock(),t.createElementBlock("div",{key:"key"+i.id,class:t.normalizeClass(["fox-key__wrapper",{"fox-key__wrapper--wider":i.id==0&&e.type=="rightColumn"&&Array.isArray(e.customKey)&&e.customKey.length==1}])},[t.createElementVNode("div",{class:t.normalizeClass(["fox-key",{"fox-key--active":i.id==e.clickKeyIndex},{"fox-key--lock":i.type=="lock"},{"fox-key--delete":i.type=="delete"}]),onTouchstart:c=>e.onTouchstart(i,c),onTouchmove:o[1]||(o[1]=c=>e.onTouchMove(c)),onTouchend:o[2]||(o[2]=c=>e.onTouchEnd(c))},[i.type=="number"||i.type=="custom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(i.id),1)],64)):t.createCommentVNode("",!0),i.type=="lock"?(t.openBlock(),t.createElementBlock("img",{key:1,src:e.lockImg},null,8,dg)):t.createCommentVNode("",!0),i.type=="delete"?(t.openBlock(),t.createElementBlock("img",{key:2,src:e.delImg},null,8,fg)):t.createCommentVNode("",!0)],42,ug)],2))),128))]),e.type=="rightColumn"?(t.openBlock(),t.createElementBlock("div",mg,[t.createElementVNode("div",pg,[t.createElementVNode("div",{class:t.normalizeClass(["fox-key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:o[3]||(o[3]=i=>e.onTouchstart({id:"delete",type:"delete"},i)),onTouchmove:o[4]||(o[4]=i=>e.onTouchMove(i)),onTouchend:o[5]||(o[5]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i))},[t.createElementVNode("img",{src:e.delImg},null,8,hg)],34)]),t.createElementVNode("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:o[6]||(o[6]=i=>e.closeBoard())},[t.createElementVNode("div",{class:t.normalizeClass(["fox-key","fox-key--finish ",{activeFinsh:e.clickKeyIndex=="finish"}])},t.toDisplayString(e.confirmText),3)])])):t.createCommentVNode("",!0)])])]),_:1},8,["visible","popClass"])],512)}const Ha=W(ng,[["render",gg]]),{componentName:yg,create:vg}=U("swipe"),kg=vg({props:{name:{type:String,default:""},touchMoveStopPropagation:{type:Boolean,default:!1},touchMovePreventDefault:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["open","close"],setup(e,{emit:o}){const l=t.computed(()=>({[yg]:!0})),n=p=>p.value?.clientWidth||0,a=t.ref(),r=t.computed(()=>n(a)),s=t.ref(),i=t.computed(()=>n(s));let c=!1,d="",m="";const f=t.reactive({offset:0,moving:!1}),h=(p="")=>{c=!0,p&&(f.offset=p==="left"?-i.value:r.value),o("open",{name:e.name,position:d||p})},y=()=>{f.offset=0,c=!1,o("close",{name:e.name,position:d})},k=t.computed(()=>({transform:`translate3d(${f.offset}px, 0, 0)`})),v=p=>{d=p>0?"right":"left";let b=p;switch(d){case"left":c&&m===d?b=-i.value:b=Math.abs(p)>i.value?-i.value:p;break;case"right":c&&m===d?b=r.value:b=Math.abs(p)>r.value?r.value:p;break}f.offset=b},g=Ye();return{classes:l,touchStyle:k,...{onTouchStart(p){e.disabled||g.start(p)},onTouchMove(p){e.disabled||(g.move(p),g.isHorizontal()&&(f.moving=!0,v(g.deltaX.value),e.touchMovePreventDefault&&p.preventDefault(),e.touchMoveStopPropagation&&p.stopPropagation()))},onTouchEnd(){if(f.moving)switch(f.moving=!1,m=d,d){case"left":Math.abs(f.offset)<=i.value/2?y():(f.offset=-i.value,h());break;case"right":Math.abs(f.offset)<=r.value/2?y():(f.offset=r.value,h());break}}},leftRef:a,rightRef:s,open:h,close:y}}}),bg={class:"fox-swipe__left",ref:"leftRef"},Sg={class:"fox-swipe__content"},Cg={class:"fox-swipe__right",ref:"rightRef"};function wg(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.touchStyle),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:o[2]||(o[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:o[3]||(o[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[t.createElementVNode("view",bg,[t.renderSlot(e.$slots,"left")],512),t.createElementVNode("view",Sg,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",Cg,[t.renderSlot(e.$slots,"right")],512)],38)}const lo=W(kg,[["render",wg]]),{componentName:Ng,create:Bg}=U("action-sheet"),Vg=Bg({components:{[ce.name]:ce,Loading:G.Loading},props:{...nt,cancelTxt:{type:String,default:""},optionTag:{type:String,default:"name"},optionSubTag:{type:String,default:"subname"},chooseTagValue:{type:String,default:""},title:{type:String,default:""},color:{type:String,default:"#ee0a24"},description:{type:String,default:""},menuItems:{type:Array,default:()=>[]},closeAbled:{type:Boolean,default:!0}},emits:["cancel","close","choose","update:visible"],setup(e,{emit:o}){const l=!!t.useSlots().default,n=t.computed(()=>({[Ng]:!0}));return{slotDefault:l,isHighlight:c=>e.chooseTagValue&&e.chooseTagValue===c[e.optionTag]?e.color:"",cancelActionSheet:()=>{o("cancel"),o("update:visible",!1)},chooseItem:(c,d)=>{!c.disable&&!c.loading&&(o("choose",c,d),o("update:visible",!1))},close:c=>{o("close",c),o("update:visible",!1)},classes:n}}}),Ag={key:0,class:"fox-action-sheet__title"},Eg={key:1},Tg={key:0,class:"fox-action-sheet__item fox-action-sheet__desc"},$g={key:1,class:"fox-action-sheet__menu"},Dg=["onClick"],Ig={key:1},qg={class:"fox-action-sheet__subdesc"};function Mg(e,o,l,n,a,r){const s=t.resolveComponent("Loading"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(i,{visible:e.visible,position:"bottom",round:"",onClickOverlay:e.close,closeOnClickOverlay:e.closeAbled},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[e.title?(t.openBlock(),t.createElementBlock("view",Ag,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Eg,[e.description?(t.openBlock(),t.createElementBlock("view",Tg,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0),e.menuItems.length?(t.openBlock(),t.createElementBlock("view",$g,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menuItems,(c,d)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-action-sheet__item",{"fox-action-sheet__item--disabled":c.disable,"fox-action-sheet__item--loading":c.loading}]),style:t.normalizeStyle({color:e.isHighlight(c)||c.color}),key:d,onClick:m=>e.chooseItem(c,d)},[c.loading?(t.openBlock(),t.createBlock(s,{key:0,name:"loading"})):(t.openBlock(),t.createElementBlock("view",Ig,t.toDisplayString(c[e.optionTag]),1)),t.createElementVNode("view",qg,t.toDisplayString(c[e.optionSubTag]),1)],14,Dg))),128))])):t.createCommentVNode("",!0),e.cancelTxt?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-action-sheet__cancel",onClick:o[0]||(o[0]=(...c)=>e.cancelActionSheet&&e.cancelActionSheet(...c))},t.toDisplayString(e.cancelTxt),1)):t.createCommentVNode("",!0)]))],2)]),_:3},8,["visible","onClickOverlay","closeOnClickOverlay"])}const ja=W(Vg,[["render",Mg]]),{componentName:zg,create:xg}=U("backtop"),Wa=xg({props:{bottom:{type:Number,default:20},right:{type:Number,default:10},elId:{type:[String]},distance:{type:Number,default:200},zIndex:{type:Number,default:10},isAnimation:{type:Boolean,default:!0},duration:{type:Number,default:1e3}},emits:["click"],setup(e,{emit:o,slots:l}){const n=t.reactive({backTop:!1,scrollTop:0,scrollEl:window,startTime:0,keepAlive:!1}),a=t.computed(()=>({[zg]:!0,show:n.backTop})),r=t.computed(()=>({right:`${e.right}px`,bottom:`${e.bottom}px`,zIndex:e.zIndex}));function s(){n.scrollEl instanceof Window?n.scrollTop=n.scrollEl.pageYOffset:n.scrollTop=n.scrollEl.scrollTop,n.backTop=n.scrollTop>=e.distance}function i(k=0){n.scrollEl instanceof Window?window.scrollTo(0,k):n.scrollEl.scrollTop=k}function c(){let k=je(function v(){var g=e.duration-Math.max(0,n.startTime-+new Date+e.duration),u=g*-n.scrollTop/e.duration+n.scrollTop;i(u),k=je(v),(g==e.duration||u==0)&&il(k)})}function d(){n.scrollEl.addEventListener("scroll",s,!1),n.scrollEl.addEventListener("resize",s,!1)}function m(){n.scrollEl.removeEventListener("scroll",s,!1),n.scrollEl.removeEventListener("resize",s,!1)}function f(k){n.startTime=+new Date,e.isAnimation&&e.duration>0?c():i(),o("click",k)}function h(){y.value?n.scrollEl=y.value.el:e.elId&&document.getElementById(e.elId)&&(n.scrollEl=document.getElementById(e.elId)),d()}t.onMounted(()=>{e.distance==0&&(n.backTop=!0),h()}),t.onUnmounted(()=>{m()}),t.onActivated(()=>{n.keepAlive&&(n.keepAlive=!1,h())}),t.onDeactivated(()=>{n.keepAlive=!0,m()});const y=t.computed(()=>{if(typeof l.content=="function"){const k=l.content();return Array.isArray(k)?k[0]:k}return null});return()=>{const k=[];y.value&&k.push(y.value);const v=[];if(typeof l.default=="function")v.push(l.default());else{const u=t.h(G.Top,{class:["fox-backtop-main"],width:"19px",height:"19px"});v.push(u)}const g=t.h("div",{class:a.value,style:r.value,onClick:f},v);return k.push(g),k}}}),{componentName:Lg,create:Pg}=U("drag"),Rg=Pg({props:{attract:{type:Boolean,default:!1},direction:{type:String,default:"all"},boundary:{type:Object,default:()=>({top:0,left:0,right:0,bottom:0})}},setup(e,{emit:o}){const l=t.ref(),n=t.reactive({keepAlive:!1,elWidth:0,elHeight:0,screenWidth:0,screenHeight:0,startTop:0,startLeft:0,nx:0,ny:0,xPum:0,yPum:0,position:{x:0,y:0},boundary:{top:0,left:0,right:0,bottom:0}}),a=t.computed(()=>({[Lg]:!0}));function r(){const f=document.documentElement;n.elWidth=l.value.offsetWidth,n.elHeight=l.value.offsetHeight,n.screenWidth=f.clientWidth,n.screenHeight=f.clientHeight}function s(f){n.boundary.left?+f.style.left.split("px")[0]>n.boundary.left?(f.style.left=+f.style.left.split("px")[0]-10+"px",Xe(()=>{s(f)})):f.style.left=`${n.boundary.left}px`:+f.style.left.split("px")[0]>10?(f.style.left=+f.style.left.split("px")[0]-10+"px",Xe(()=>{s(f)})):f.style.left="0px"}function i(f,h){h-parseInt(f.style.left.split("px")[0])>10?(f.style.left=parseInt(f.style.left.split("px")[0])+10+"px",Xe(()=>{i(f,h)})):f.style.left=h+"px"}function c(f){f.preventDefault();const h=f.currentTarget;if(f.targetTouches.length===1){const y=f.targetTouches[0];n.nx=y.clientX-n.position.x,n.ny=y.clientY-n.position.y,n.xPum=n.startLeft+n.nx,n.yPum=n.startTop+n.ny;const k=n.screenWidth-n.elWidth-n.boundary.right;Math.abs(n.xPum)>k?n.xPum=k:n.xPum<=n.boundary.left&&(n.xPum=n.boundary.left),n.yPum<n.boundary.top?n.yPum=n.boundary.top:n.yPum>n.screenHeight-n.elHeight-n.boundary.bottom&&(n.yPum=n.screenHeight-n.elHeight-n.boundary.bottom),e.direction!="y"&&(h.style.left=n.xPum+"px"),e.direction!="x"&&(h.style.top=n.yPum+"px")}}function d(f){const h=f.currentTarget;let k=f.changedTouches[0].clientX;const v=n.screenWidth-n.elWidth-n.boundary.right;k>v?k=v:k<n.boundary.left?k=n.boundary.left:k=k<n.screenWidth/2?n.boundary.left:v,e.direction!="y"&&e.attract&&(k<n.screenWidth/2?Xe(()=>{s(h)}):Xe(()=>{i(h,v)})),e.direction!="x"&&(h.style.top=n.yPum+"px")}function m(f){const h=f.currentTarget,y=f.touches[0],k=f.targetTouches[0];n.startTop=h.offsetTop,n.startLeft=h.offsetLeft,n.position.x=y.clientX,n.position.y=y.clientY,n.nx=k.clientX-n.position.x,n.ny=k.clientY-n.position.y,n.xPum=n.startLeft+n.nx,n.yPum=n.startTop+n.ny}return t.onMounted(()=>{r(),n.boundary=e.boundary}),t.onActivated(()=>{n.keepAlive&&(n.keepAlive=!1)}),t.onDeactivated(()=>{n.keepAlive=!0;const f=l;f.value.removeEventListener("touchstart",m),f.value.removeEventListener("touchmove",c),f.value.removeEventListener("touchend",d)}),{classes:a,myDrag:l,touchStart:m,touchMove:c,touchEnd:d}}});function Og(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"myDrag",onTouchstart:o[0]||(o[0]=s=>e.touchStart(s)),onTouchmove:o[1]||(o[1]=s=>e.touchMove(s)),onTouchend:o[2]||(o[2]=s=>e.touchEnd(s))},[t.renderSlot(e.$slots,"default")],34)}const Ya=W(Rg,[["render",Og]]),{componentName:Fg,create:Ug,scope:Kg}=U("dialog"),Hg=Ug({inheritAttrs:!1,components:{[ce.name]:ce,[Me.name]:Me},props:{...nt,closeOnClickOverlay:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:[String,Object],default:""},noFooter:{type:Boolean,default:!1},noConfirmBtn:{type:Boolean,default:!1},noCancelBtn:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""},cancelAutoClose:{type:Boolean,default:!0},textAlign:{type:String,default:"center"},closeOnPopstate:{type:Boolean,default:!1},footerDirection:{type:String,default:"horizontal"},customClass:{type:String,default:""},popStyle:{type:Object},beforeClose:{type:Function}},emits:["update","update:visible","confirm","cancel","opened","closed"],setup(e,{emit:o}){const{toLocaleRefs:l}=se.useFoxI18n(Kg),n=l(e,["confirmText","cancelText"]),a=t.ref(e.visible);t.onMounted(()=>{e.closeOnPopstate&&ot&&window.addEventListener("popstate",function(){i("page")})}),t.watch(()=>e.visible,m=>{a.value=m,m&&o("opened")});const r=t.computed(()=>({[Fg]:!0,[e.customClass]:!0})),s=m=>{o("update",m),o("update:visible",m)},i=m=>{if(e.beforeClose){const f=e.beforeClose(m);en(f)&&f.then(h=>{h&&(s(!1),o("closed"))})}else s(!1),o("closed")};return{...n,closed:i,classes:r,onCancel:()=>{o("cancel"),e.cancelAutoClose&&i("cancel")},onConfirm:()=>{o("confirm"),i("confirm")},showPopup:a}}}),jg={key:0,class:"fox-dialog__header"},Wg=["innerHTML"];function Yg(e,o,l,n,a,r){const s=t.resolveComponent("fox-button"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(i,{teleport:e.teleport,visible:e.showPopup,"onUpdate:visible":o[0]||(o[0]=c=>e.showPopup=c),"close-on-click-overlay":e.closeOnClickOverlay,"lock-scroll":e.lockScroll,"pop-class":e.popClass,style:t.normalizeStyle(e.popStyle),"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,round:"",onClickOverlay:e.closed,onClickCloseIcon:e.closed},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[e.$slots.header||e.title?(t.openBlock(),t.createElementBlock("view",jg,[e.$slots.header?t.renderSlot(e.$slots,"header",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.title),1)],64))])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-dialog__content",style:t.normalizeStyle({textAlign:e.textAlign})},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:0}):typeof e.content=="string"?(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.content},null,8,Wg)):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.content),{key:2}))],4),e.noFooter?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-dialog__footer",{[e.footerDirection]:e.footerDirection}])},[e.$slots.footer?t.renderSlot(e.$slots,"footer",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.noCancelBtn?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,size:"small",plain:"",type:"primary",class:"fox-dialog__footer-cancel",onClick:e.onCancel},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.cancelText),1)]),_:1},8,["onClick"])),e.noConfirmBtn?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:1,size:"small",type:"primary",class:"fox-dialog__footer-ok",onClick:e.onConfirm},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.confirmText),1)]),_:1},8,["onClick"]))],64))],2))],2)]),_:3},8,["teleport","visible","close-on-click-overlay","lock-scroll","pop-class","style","overlay-class","overlay-style","onClickOverlay","onClickCloseIcon"])}const Xa=W(Hg,[["render",Yg]]);class Xg{title="";content="";cancelText="";confirmText="";textAlign="center";customClass="";overlayStyle={};overlayClass="";popStyle={};popClass="";teleport="body";id=new Date().getTime();footerDirection="horizontal";onUpdate=o=>{};onConfirm=()=>{};onCancel=()=>{};onOpened=()=>{};onClosed=()=>{};beforeClose;visible=!0;noFooter=!1;noConfirmBtn=!1;noCancelBtn=!1;confrimBtnDisabled=!1;closeOnPopstate=!1;lockScroll=!1}class Qg{options=new Xg;instance;constructor(o){let l=Object.assign(this.options,o),n=document.body,a=l.teleport;a!="body"&&(typeof a=="string"?n=document.querySelector(a):n=l.teleport);const r=document.createElement("view");r.id="dialog-"+l.id;const s={setup(){return l.onUpdate=i=>{i==!1&&n.removeChild(r)},l?.onOpened&&l?.onOpened(),l.teleport=`#${r.id}`,()=>t.h(Xa,l)}};this.instance=t.createVNode(s),n.appendChild(r),t.render(this.instance,r)}close=()=>{};setDefaultOptions=o=>{};resetDefaultOptions=()=>{}}const ao=function(e){return new Qg(e)};ao.install=e=>{e.use(Xa),e.config.globalProperties.$dialog=ao};const{componentName:Gg,create:Zg,scope:Jg}=U("infinite-loading"),_g=Zg({props:{modelValue:{type:Boolean,default:!1},hasMore:{type:Boolean,default:!0},threshold:{type:Number,default:200},loadText:{type:String},loadMoreText:{type:String},useCapture:{type:Boolean,default:!1}},emits:["scroll-change","load-more","update:modelValue"],components:{Loading:G.Loading},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=se.useFoxI18n(Jg),a=n(e,["pullText","loadText","loadMoreText"]),r=t.ref(),s=Jl(r),i=t.reactive({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),c=t.computed(()=>({[Gg]:!0})),d=v=>v?v.offsetTop+d(v.offsetParent):0,m=()=>{let v=0,g=0,u="down";if(s.value==window){const p=tn();r.value&&(v=d(r.value)+r.value.offsetHeight-p-window.innerHeight),g=p}else{const{scrollHeight:p,clientHeight:b,scrollTop:S}=s.value;v=p-b-S,g=S}return i.beforeScrollTop>g?u="up":u="down",i.beforeScrollTop=g,o("scroll-change",g),v<=e.threshold&&u=="down"},f=()=>{je(()=>{if(!m()||!e.hasMore||i.isInfiniting)return!1;i.isInfiniting=!0,o("update:modelValue",!0),t.nextTick(()=>o("load-more"))})},h=()=>{s.value&&s.value.addEventListener("scroll",f,e.useCapture)},y=()=>{s.value&&s.value.removeEventListener("scroll",f,e.useCapture)};t.onMounted(()=>{h()}),t.onUnmounted(()=>{y()});const k=t.ref(!1);return t.onActivated(()=>{k.value&&(k.value=!1,h())}),t.onDeactivated(()=>{k.value=!0,y()}),t.watch(()=>e.modelValue,v=>{v||(i.isInfiniting=!1)}),{classes:c,scroller:r,...t.toRefs(i),slots:l,...a}}}),ey={class:"fox-infinite__container"},ty={class:"fox-infinite__bottom"},oy={key:0,class:"fox-infinite__bottom-box"},ny={class:"fox-infinite__bottom-box__text"},ly={class:"fox-infinite__bottom-tips"};function ay(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"scroller"},[t.createElementVNode("view",ey,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",ty,[e.isInfiniting?(t.openBlock(),t.createElementBlock("view",oy,[t.renderSlot(e.$slots,"loading",{},()=>[t.renderSlot(e.$slots,"loading-icon",{},()=>[t.createVNode(s,{class:"fox-icon-loading fox-infinite__bottom-box__img"})]),t.createElementVNode("view",ny,t.toDisplayString(e.loadText),1)])])):e.hasMore?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"finished",{key:1},()=>[t.createElementVNode("view",ly,t.toDisplayString(e.loadMoreText),1)])])],2)}const Qa=W(_g,[["render",ay]]),{componentName:ry,create:sy,scope:iy}=U("pull-refresh"),cy=sy({props:{modelValue:{type:Boolean,default:!1},pullingText:{type:String},loosingText:{type:String},loadingText:{type:String},headHeight:{type:[String,Number],default:50},pullDistance:{type:[String,Number],default:50},duration:{type:[String,Number],default:.3}},emits:["change","refresh","update:modelValue"],components:{Loading:G.Loading},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=se.useFoxI18n(iy),a=n(e,["pullingText","loosingText","loadingText"]),r=Ye(),s=t.ref(),i=Jl(s),c=t.reactive({isPullRefresh:!1,distance:0,status:"normal"}),d=t.computed(()=>({[ry]:!0})),m=t.computed(()=>{switch(c.status){case"pulling":return l.pulling?"":a.pullingText.value;case"loosing":return l.loosing?"":a.loosingText.value;case"loading":return l.loading?"":a.loadingText.value}}),f=t.computed(()=>({transitionDuration:`${e.duration}s`,transform:c.distance?`translate3d(0,${c.distance}px, 0)`:""})),h=t.computed(()=>{const S={};return e.headHeight!=50&&(S.height=le(e.headHeight)),S}),y=S=>{const B=+(e.pullDistance||e.headHeight);let E=S;return S>B&&(S<B*2?E=(S+B)/2:E=B+S/4),Math.round(E)},k=(S,B)=>{const E=+(e.pullDistance||e.headHeight);c.distance=S,B?c.status="loading":S===0?c.status="normal":S<E?c.status="pulling":c.status="loosing",o("change",{status:c.status,distance:S})},v=()=>c.status!=="loading"&&c.status!=="complete",g=()=>i.value==window?tn()==0:i.value&&i.value.scrollTop==0,u=S=>{v()&&(g()?(r.start(S),c.isPullRefresh=!0):(c.distance=0,c.isPullRefresh=!1))},p=S=>{if(v()){r.move(S);const{deltaY:B}=r;r.isVertical()&&B.value>0&&c.isPullRefresh&&(S.preventDefault(),k(y(B.value)))}},b=()=>{c.isPullRefresh&&v()&&r.deltaY.value&&(c.status==="loosing"?(k(+e.headHeight,!0),o("update:modelValue",!0),t.nextTick(()=>o("refresh"))):k(0)),setTimeout(()=>{r.reset()},0)};return t.watch(()=>e.modelValue,S=>{S?k(+e.headHeight,!0):k(0)}),{classes:d,scroller:s,...t.toRefs(c),touchStart:u,touchMove:p,touchEnd:b,getStyle:f,slots:l,getHeightStyle:h,getPullStatus:m}}}),uy={class:"fox-pull-refresh-container-topbox-text"};function dy(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),ref:"scroller",onTouchstart:o[0]||(o[0]=(...i)=>e.touchStart&&e.touchStart(...i)),onTouchmove:o[1]||(o[1]=(...i)=>e.touchMove&&e.touchMove(...i)),onTouchend:o[2]||(o[2]=(...i)=>e.touchEnd&&e.touchEnd(...i))},[t.createElementVNode("div",{class:"fox-pull-refresh-container",style:t.normalizeStyle(e.getStyle)},[t.createElementVNode("div",{class:"fox-pull-refresh-container-topbox",style:t.normalizeStyle(e.getHeightStyle)},[e.status=="loading"&&!e.slots.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-icon-loading fox-pull-refresh-container-topbox-icon"})):t.createCommentVNode("",!0),t.createElementVNode("div",uy,t.toDisplayString(e.getPullStatus),1),e.status=="pulling"?t.renderSlot(e.$slots,"pulling",{key:1}):t.createCommentVNode("",!0),e.status=="loosing"?t.renderSlot(e.$slots,"loosing",{key:2}):t.createCommentVNode("",!0),e.status=="loading"?t.renderSlot(e.$slots,"loading",{key:3}):t.createCommentVNode("",!0)],4),t.renderSlot(e.$slots,"default")],4)],34)}const Ga=W(cy,[["render",dy]]),{create:fy}=U("notify"),my=fy({components:{[ce.name]:ce},props:{id:String,color:{type:String,default:""},msg:{type:String,default:""},duration:{type:Number,default:3e3},className:{type:String,default:""},background:{type:String,default:""},type:{type:String,default:"danger"},visible:{type:Boolean,default:!1},position:{type:String,default:"top"},teleportDisable:{type:Boolean,default:!0},onClose:Function,onClick:Function,unmount:Function},emits:["update:visible"],setup(e,{emit:o}){const l=()=>{e.onClick&&e.onClick()};let n=null;const a=()=>{n&&clearTimeout(n),n=null},r=()=>{o("update:visible",!1)},s=t.ref(!1),i=t.watch(()=>e.visible,d=>{s.value=e.visible;const m=e.duration;d&&m&&(n=setTimeout(()=>{r()},m))},{immediate:!0});return{onAfterLeave:()=>{a(),i&&i(),e.unmount&&e.unmount(e.id),e.onClose&&e.onClose()},clickCover:l,isShowPopup:s}}});function py(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{visible:e.isShowPopup,"onUpdate:visible":o[1]||(o[1]=i=>e.isShowPopup=i),position:e.position,overlay:!1,teleportDisable:e.teleportDisable},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["fox-notify",`fox-notify--${e.type}`,e.className]),style:t.normalizeStyle({color:e.color,background:e.background}),onClick:o[0]||(o[0]=(...i)=>e.clickCover&&e.clickCover(...i))},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.msg),1)],64))],6)]),_:3},8,["visible","position","teleportDisable"])}const bn=W(my,[["render",py]]),Qo={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:Function,teleport:"",unmount:new Function};let rt=[],bt=[];const Za=e=>{if(e){const o=document.getElementById(e);bt=bt.filter(l=>l.id!==e),rt=rt.filter(l=>l!==e),o&&document.body.removeChild(o)}else rt.forEach(o=>{const l=document.getElementById(o);l&&document.body.removeChild(l)}),bt=[],rt=[]},hy=e=>{const o=document.getElementById(e.id);if(o){const l=bt.find(a=>a.id===e.id);l?e={...Qo,...l,...e}:e={...Qo,...e};const n=t.createVNode(bn,e);return t.render(n,o),n.component.data}},ht=e=>{e.unmount=Za;let o;if(e.id){if(o=e.id,rt.find(r=>r===e.id))return hy(e)}else o=new Date().getTime()+"";e={...Qo,...e},e.id=o,rt.push(e.id),bt.push(e);const l=document.createElement("view");l.id="notify-"+e.id;const n={setup(){return e.teleport=`#notify-${e.id}`,t.onMounted(()=>{setTimeout(()=>{e.onClose&&e.onClose(),document.body.removeChild(l)},e.duration)}),()=>t.h(bn,e)}},a=t.createVNode(n);document.body.appendChild(l),t.render(a,l)},gt=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},Ja={text(e,o={}){return gt(e),ht({...o,msg:e})},primary(e,o={}){return gt(e),ht({...o,msg:e,type:"primary"})},success(e,o={}){return gt(e),ht({...o,msg:e,type:"success"})},danger(e,o={}){return gt(e),ht({...o,msg:e,type:"danger"})},warn(e,o={}){return gt(e),ht({...o,msg:e,type:"warning"})},hide(){Za()},install(e){e.use(bn)}},{create:gy}=U("toast"),yy=gy({props:{id:{type:String,required:!1},msg:{type:String,required:!1},duration:{type:Number,default:2e3},center:{type:Boolean,default:!0},type:{type:String,required:!1},customClass:{type:String,required:!1},bottom:{type:String,default:"30px"},size:{type:[String,Number],default:"base"},iconSize:{type:[String,Number],default:20},icon:{type:[Object],required:!1},iconColor:{type:String,required:!1,default:"#ffffff"},textAlignCenter:{type:Boolean,default:!0},loadingRotate:{type:Boolean,default:!0},bgColor:{type:String,default:""},onClose:{type:Function,required:!1},unmount:{type:Function,required:!1},cover:{type:Boolean,default:!1},coverColor:{type:String,default:""},title:{type:String,default:""},closeOnClickOverlay:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:o}){let l=null;const n=t.reactive({mounted:!1});t.onMounted(()=>{n.mounted=!0});const a=()=>{l&&(clearTimeout(l),l=null)},r=()=>{n.mounted=!1},s=()=>{a(),e.duration&&(l=setTimeout(()=>{r()},e.duration))},i=()=>{e.closeOnClickOverlay&&(r(),o("close"))};e.duration&&s(),t.watch(()=>e.duration,y=>{y&&s()});const c=t.computed(()=>e.type!=="text"?!0:!!e.icon),d=()=>{const y=ie(e.iconSize);return t.h(e.icon,{width:y,height:y,color:e.iconColor})},m=t.computed(()=>["fox-toast",{"fox-toast-center":e.center},{"fox-toast-has-icon":c.value},{"fox-toast-cover":e.cover},{"fox-toast-loading":e.type==="loading"},e.customClass,"fox-toast-"+e.size]),f=t.computed(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:n,hide:r,clickCover:i,renderIcon:d,hasIcon:c,toastBodyClass:m,toastIconWrapperClass:f,onAfterLeave:()=>{a(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),vy={key:1,class:"fox-toast-title"},ky=["innerHTML"];function by(e,o,l,n,a,r){return t.openBlock(),t.createBlock(t.Transition,{name:"toast-fade",onAfterLeave:e.onAfterLeave},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.toastBodyClass),style:t.normalizeStyle({bottom:e.center?"auto":e.bottom,"background-color":e.coverColor}),onClick:o[0]||(o[0]=(...s)=>e.clickCover&&e.clickCover(...s))},[t.createElementVNode("view",{class:"fox-toast-inner",style:t.normalizeStyle({"text-align":e.textAlignCenter?"center":"left","background-color":e.bgColor})},[e.hasIcon?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.toastIconWrapperClass)},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon())))],2)):t.createCommentVNode("",!0),e.title?(t.openBlock(),t.createElementBlock("div",vy,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,ky)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const Sn=W(yy,[["render",by]]),Go={msg:"",id:"",duration:2e3,center:!0,type:"text",title:"",customClass:"",bottom:"30px",size:"base",iconSize:"20",icon:null,textAlignCenter:!0,loadingRotate:!0,bgColor:"",onClose:null,unmount:null,cover:!1,coverColor:"",closeOnClickOverlay:!1};let st=[],St=[];const _a=e=>{if(e){const o=document.getElementById(e);St=St.filter(l=>l.id!==e),st=st.filter(l=>l!==e),o&&document.body.removeChild(o)}else st.forEach(o=>{const l=document.getElementById(o);l&&document.body.removeChild(l)}),St=[],st=[]},Sy=e=>{const o=document.getElementById(e.id);if(o){const l=St.find(a=>a.id===e.id);l?e={...Go,...l,...e}:e={...Go,...e};const n=t.createVNode(Sn,e);return t.render(n,o),It}},yt=e=>{e.unmount=_a;let o;if(e.id){if(o=e.id,st.find(a=>a===e.id))return Sy(e)}else o=new Date().getTime()+"";e={...Go,...e},e.id=o,st.push(e.id),St.push(e);const l=document.createElement("div");l.id=e.id;const n=t.createVNode(Sn,e);return t.render(n,l),document.body.appendChild(l),It},Ot=e=>{if(!e){console.warn("[FoxUI Toast]: msg不能为空");return}},It={text(e,o={}){return Ot(e),yt({...o,type:"text",msg:e})},success(e,o={}){return Ot(e),yt({icon:G.Success,...o,msg:e,type:"success"})},fail(e,o={}){return Ot(e),yt({icon:G.Failure,...o,msg:e,type:"fail"})},warn(e,o={}){return Ot(e),yt({icon:G.Tips,...o,msg:e,type:"warn"})},loading(e,o={}){return yt({icon:G.Loading,...o,msg:e,type:"loading"})},hide(e){_a(e)},install(e){e.use(Sn),e.config.globalProperties.$toast=It}},{componentName:gw,create:Cy}=U("audio"),wy=Cy({props:{url:{type:String,default:""},muted:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1},preload:{type:String,default:"auto"},second:{type:Number,default:0},type:{type:String,default:"progress"}},components:{Service:G.Service,[to.name]:to},emits:["fastBack","play","forward","ended","changeProgress","mute","can-play"],setup(e,{emit:o,slots:l}){const n=t.ref(null),a=t.reactive({currentTime:0,currentDuration:"00:00:00",percent:0,duration:"00:00:00",second:0,hanMuted:e.muted,playing:e.autoplay,handPlaying:!1});t.onMounted(()=>{var v=["webkitVisibilityState","visibilitychange"];try{for(let g=0;g<v.length;g++)document.addEventListener(v[g],()=>{document.hidden?n.value.pause():a.playing&&setTimeout(()=>{n.value.play()},200)})}catch(g){g.message}});const r=v=>{const g=n.value;e.autoplay&&g&&g.paused&&g.play(),a.second=g.duration,a.duration=k(g.duration),o("can-play",v)},s=v=>{a.currentTime=parseInt(v.target.currentTime)},i=()=>{a.currentTime>0&&a.currentTime--,n.value.currentTime=a.currentTime,o("fastBack",a.currentTime)},c=()=>{const v=n.value;a.playing?(v.pause(),a.handPlaying=!1):(v.play(),a.handPlaying=!0),a.playing=!a.playing,o("play",a.playing)},d=()=>{a.currentTime++,n.value.currentTime=a.currentTime,o("forward",a.currentTime)},m=v=>{a.currentDuration=k(v),a.percent=v/a.second*100},f=()=>{a.playing=!1,o("ended")},h=v=>{const g=n.value;g.currentTime=a.second*v/100,o("changeProgress",g.currentTime)},y=()=>{a.hanMuted=!a.hanMuted,o("mute",a.hanMuted)},k=v=>{if(!v)return"00:00:00";let g=parseInt(v),u=Math.floor(g/3600),p=Math.floor((g-u*3600)/60),b=g-u*3600-p*60,S="";return S+=("0"+u.toString()).slice(-2)+":",S+=("0"+p.toString()).slice(-2)+":",S+=("0"+b.toString()).slice(-2),S};return t.watch(()=>a.currentTime,v=>{m(v)}),t.provide("audioParent",{children:[],props:e,audioData:a,handleMute:y,forward:d,fastBack:i,changeStatus:c}),{...t.toRefs(e),...t.toRefs(a),audioRef:n,fastBack:i,forward:d,changeStatus:c,progressChange:h,audioEnd:f,onTimeupdate:s,handleMute:y,onCanplay:r,slots:l}}}),Ny={class:"fox-audio"},By={key:0,class:"fox-audio__progress"},Vy={class:"fox-audio__time"},Ay={class:"fox-audio__bar"},Ey=t.createElementVNode("div",{class:"fox-audio__button--custom"},null,-1),Ty={class:"fox-audio__time"},$y={key:1,class:"fox-audio__icon"},Dy=["controls","src","preload","autoplay","loop","muted"];function Iy(e,o,l,n,a,r){const s=t.resolveComponent("fox-range"),i=t.resolveComponent("Service");return t.openBlock(),t.createElementBlock("div",Ny,[e.type=="progress"?(t.openBlock(),t.createElementBlock("div",By,[t.createElementVNode("div",Vy,t.toDisplayString(e.currentDuration),1),t.createElementVNode("div",Ay,[t.createVNode(s,{modelValue:e.percent,"onUpdate:modelValue":o[0]||(o[0]=c=>e.percent=c),"hidden-range":"",onChange:e.progressChange,"inactive-color":"#cccccc","active-color":"#fa2c19"},{button:t.withCtx(()=>[Ey]),_:1},8,["modelValue","onChange"])]),t.createElementVNode("div",Ty,t.toDisplayString(e.duration),1)])):t.createCommentVNode("",!0),e.type=="icon"?(t.openBlock(),t.createElementBlock("div",$y,[t.createElementVNode("div",{class:t.normalizeClass(["fox-audio__icon--box",e.playing?"fox-audio__icon--play":"fox-audio__icon--stop"]),onClick:o[1]||(o[1]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[e.playing?(t.openBlock(),t.createBlock(i,{key:0,class:"fox-icon-am-rotate fox-icon-am-infinite"})):(t.openBlock(),t.createBlock(i,{key:1}))],2)])):t.createCommentVNode("",!0),e.type=="none"?(t.openBlock(),t.createElementBlock("div",{key:2,onClick:o[2]||(o[2]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type!="none"?t.renderSlot(e.$slots,"default",{key:3}):t.createCommentVNode("",!0),t.createElementVNode("audio",{class:"audioMain",controls:e.type=="controls",ref:"audioRef",src:e.url,preload:e.preload,autoplay:e.autoplay,loop:e.loop,onTimeupdate:o[3]||(o[3]=(...c)=>e.onTimeupdate&&e.onTimeupdate(...c)),onCanplay:o[4]||(o[4]=(...c)=>e.onCanplay&&e.onCanplay(...c)),onEnded:o[5]||(o[5]=(...c)=>e.audioEnd&&e.audioEnd(...c)),muted:e.hanMuted},null,40,Dy)])}const er=W(wy,[["render",Iy]]),{componentName:yw,create:qy,scope:My}=U("audio-operate"),zy=qy({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(My),n=t.inject("audioParent"),a=t.reactive(n),r=t.ref(t.useSlots().default);return{...t.toRefs(e),...t.toRefs(a),customSlot:r,t:l}}}),xy={class:"fox-audio-operate"};function Ly(e,o,l,n,a,r){const s=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",xy,[e.type=="back"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-audio-operate-item",onClick:o[0]||(o[0]=(...i)=>e.fastBack&&e.fastBack(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,type:"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("back")),1)]),_:1})),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type=="play"?(t.openBlock(),t.createElementBlock("div",{key:1,class:"fox-audio-operate-item",onClick:o[1]||(o[1]=(...i)=>e.changeStatus&&e.changeStatus(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,type:"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.audioData.playing?`${e.t("pause")}`:`${e.t("start")}`),1)]),_:1})),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type=="forward"?(t.openBlock(),t.createElementBlock("div",{key:2,class:"fox-audio-operate-item",onClick:o[2]||(o[2]=(...i)=>e.forward&&e.forward(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,type:"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("forward")),1)]),_:1})),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type=="mute"?(t.openBlock(),t.createElementBlock("div",{key:3,class:"fox-audio-operate-item",onClick:o[3]||(o[3]=(...i)=>e.handleMute&&e.handleMute(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,type:e.audioData.hanMuted?"default":"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("mute")),1)]),_:1},8,["type"])),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0)])}const tr=W(zy,[["render",Ly]]),{componentName:Py,create:Ry}=U("avatar"),Oy=Ry({props:{size:{type:String,default:""},shape:{type:String,default:"round"},bgColor:{type:String,default:"#eee"},color:{type:String,default:"#666"}},setup(e){const{size:o,shape:l,bgColor:n,color:a}=t.toRefs(e),r=["large","normal","small"],s=t.inject("avatarGroup",null),i=t.ref(null),c=t.reactive({lightTheme:!1}),d=t.reactive({index:1,showMax:!1,maxIndex:0});t.onMounted(()=>{const k=s?.avatarGroupRef?.value?.children;k&&y(k)});const m=t.computed(()=>({[Py]:!0,[`fox-avatar-${o.value||s?.props?.size||"normal"}`]:!0,[`fox-avatar-${l.value||s?.props?.shape||"normal"}`]:!0})),f=t.computed(()=>({width:r.indexOf(o.value)>-1?"":`${o.value}px`,height:r.indexOf(o.value)>-1?"":`${o.value}px`,backgroundColor:`${n.value}`,color:`${a.value}`,marginLeft:d.index!=1&&(s?.props?.span?`${s?.props?.span}px`:""),zIndex:s?.props?.zIndex=="right"?`${Math.abs(d.maxIndex-d.index)}`:""})),h=t.computed(()=>({backgroundColor:`${s?.props?.maxBgColor}`,color:`${s?.props?.maxColor}`})),y=k=>{d.maxIndex=k.length;for(let v=0;v<k.length;v++)k[v]&&k[v].classList&&k[v].classList[0]=="fox-avatar"&&k[v].setAttribute("data-index",v+1);d.index=i?.value?.dataset?.index,d.index==d.maxIndex&&d.index!=s?.props?.maxCount&&(d.showMax=!0)};return{classes:m,styles:f,maxStyles:h,avatarGroup:s,visible:c,avatarRef:i,...t.toRefs(d)}}});function Fy(e,o,l,n,a,r){return e.showMax||!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?(t.openBlock(),t.createElementBlock("view",{key:0,style:t.normalizeStyle(e.showMax?e.maxStyles:e.styles),class:t.normalizeClass(e.classes),ref:"avatarRef"},[!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?t.renderSlot(e.$slots,"default",{key:0}):t.createCommentVNode("",!0),e.showMax&&e.avatarGroup?.props?.maxCount?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.avatarGroup?.props?.maxContent?e.avatarGroup?.props?.maxContent:`+ ${e.maxIndex-e.avatarGroup?.props?.maxCount}`),1)],64)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0)}const ro=W(Oy,[["render",Fy]]),{componentName:Uy,create:Ky}=U("avatar-group"),Hy=Ky({props:{maxContent:{type:String,default:""},maxCount:{type:[Number,String],default:""},maxBgColor:{type:String,default:"#eee"},maxColor:{type:String,default:"#666"},size:{type:String,default:""},shape:{type:String,default:""},span:{type:String,default:"-8"},zIndex:{type:String,default:"left"}},setup(e,{emit:o,slots:l}){t.toRefs(e);const n=t.ref(null),a=t.ref(0),r=t.computed(()=>({[Uy]:!0}));return t.onMounted(()=>{}),t.provide("avatarGroup",{props:e,avatarGroupRef:n,index:a}),{classes:r,avatarGroupRef:n}}});function jy(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"avatarGroupRef"},[t.renderSlot(e.$slots,"default")],2)}const or=W(Hy,[["render",jy]]);var jt=(e=>(e[e.eq=1]="eq",e[e.lt=2]="lt",e[e.gt=3]="gt",e))(jt||{});function Wy(e,o,l){let n=0,a=e.length-1,r=null;for(;n<=a;){r=Math.floor((n+a)/2);const s=e[r],i=l(s,o);if(i===1)return r;i===2?n=r+1:i===3&&(a=r-1)}return r}const{componentName:Yy,create:Xy}=U("list"),rl=document.documentElement.clientHeight||document.body.clientHeight||667,Qy=Xy({props:{listData:{type:Array,default:()=>[]},bufferSize:{type:Number,default:5},containerHeight:{type:[Number],default:rl},height:{type:Number,default:80},margin:{type:Number,default:10}},emits:["scroll-up","scroll-down","scroll-bottom"],setup(e,{emit:o}){const l=t.ref(null),n=t.ref(null),a=t.ref(null),r=t.reactive({start:0,originStartIndex:0,scrollTop:0,list:e.listData.slice(),cachePositions:[],phantomHeight:e.height*e.listData.length}),s=t.computed(()=>Math.min(e.containerHeight,rl)),i=t.computed(()=>Math.ceil(s.value/e.height)),c=t.computed(()=>Math.min(r.originStartIndex+i.value+e.bufferSize,r.list.length)),d=t.computed(()=>({[Yy]:!0})),m=t.computed(()=>r.list.slice(r.start,c.value)),f=()=>{if(a.value)return`translate3d(0, ${r.start>=1?r.cachePositions[r.start-1].bottom:0}px, 0)`},h=()=>{r.cachePositions=[];for(let u=0;u<r.list.length;++u)r.cachePositions[u]={index:u,height:e.height,top:u*e.height,bottom:(u+1)*(e.height+e.margin),dValue:0}},y=()=>{let u=a.value.childNodes;u=Array.from(u).filter(I=>I.nodeType===1);const p=u[0];u.forEach((I,V)=>{if(!I)return;const C=be(I),{height:w}=C,P=r.cachePositions[V+r.start].height-w;P&&(r.cachePositions[V+r.start].bottom-=P,r.cachePositions[V+r.start].height=w,r.cachePositions[V+r.start].dValue=P)});let b=0;p&&(b=r.start);const S=r.cachePositions.length;let B=r.cachePositions[b].dValue;r.cachePositions[b].dValue=0;for(let I=b+1;I<S;++I){const V=r.cachePositions[I];r.cachePositions[I].top=r.cachePositions[I-1].bottom,r.cachePositions[I].bottom=r.cachePositions[I].bottom-B,V.dValue!==0&&(B+=V.dValue,V.dValue=0)}const E=r.cachePositions[S-1].bottom;r.phantomHeight=E},k=(u=0)=>{let p=Wy(r.cachePositions,u,(S,B)=>{const E=S.bottom;return E===B?jt.eq:E<B?jt.lt:jt.gt});return r.cachePositions[p].bottom<u&&(p+=1),p},v=()=>{r.originStartIndex=0,r.start=0,r.scrollTop=0,l.value.scrollTop=0,h(),r.phantomHeight=e.height*r.list.length},g=()=>{const u=l.value?.scrollTop,{originStartIndex:p}=r,b=k(u);b!==p&&(r.originStartIndex=b,r.start=Math.max(r.originStartIndex-e.bufferSize,0),c.value>=r.list.length-1&&o("scroll-bottom")),o(u>r.scrollTop?"scroll-up":"scroll-down",u),r.scrollTop=u};return t.watch(()=>e.listData,u=>{if(r.list=u.slice(),r.list.length===u.length)h(),y();else{v();return}}),t.watch(()=>r.start,()=>{a.value&&r.list.length>0&&y()}),{...t.toRefs(r),list:l,phantom:n,actualContent:a,getTransform:f,visibleData:m,classes:d,getContainerHeight:s,handleScrollEvent:g}}});function Gy(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({height:`${e.getContainerHeight}px`}),onScrollPassive:o[0]||(o[0]=(...s)=>e.handleScrollEvent&&e.handleScrollEvent(...s)),ref:"list"},[t.createElementVNode("div",{class:"fox-list-phantom",style:t.normalizeStyle({height:e.phantomHeight+"px"}),ref:"phantom"},null,4),t.createElementVNode("div",{class:"fox-list-container",style:t.normalizeStyle({transform:e.getTransform()}),ref:"actualContent"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.visibleData,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-list-item",key:s},[t.renderSlot(e.$slots,"default",{item:s,index:i+e.start})]))),128))],4)],38)}const nr=W(Qy,[["render",Gy]]),{componentName:Zy,create:Jy}=U("circleprogress"),_y=Jy({props:{progress:{type:[Number,String],required:!0},strokeWidth:{type:[Number,String],default:5},radius:{type:[Number,String],default:50},strokeLinecap:{type:String,default:"round"},color:{type:[String,Object],default:""},pathColor:{type:String,default:""},clockwise:{type:Boolean,default:!0}},setup(e,{emit:o}){const l=!!t.useSlots().default,n=Math.random().toString(36).slice(-8),a=t.computed(()=>({[Zy]:!0})),r=t.computed(()=>{const m=e.clockwise?1:0;return`M 50 50 m 0 -45 a 45 45 0 1 ${m} 0 90 a 45 45 0 1, ${m} 0 -90`}),s=t.computed(()=>Te(e.color)?`url(#${n})`:e.color),i=t.computed(()=>{let m=283,f=m*Number(e.progress)/100;return{stroke:Te(e.color)?`url(#${n})`:e.color,strokeDasharray:`${f}px ${m}px`}}),c=t.computed(()=>({stroke:e.pathColor})),d=t.computed(()=>{if(!Te(e.color))return;let m=e.color;const f=Object.keys(m).sort((y,k)=>parseFloat(y)-parseFloat(k));let h=[];return f.map((y,k)=>{let v={key:"",value:""};v.key=y,v.value=m[y],h.push(v)}),h});return{classes:a,hoverStyle:i,pathStyle:c,path:r,hoverColor:s,stop:d,slotDefault:l,refRandomId:n}}}),ev={viewBox:"0 0 100 100"},tv=["id"],ov=["offset","stop-color"],nv=["d","stroke-width"],lv=["d","stroke","stroke-linecap","stroke-width"],av={class:"fox-circleprogress-text"},rv={key:0};function sv(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({height:e.radius*2+"px",width:e.radius*2+"px"})},[(t.openBlock(),t.createElementBlock("svg",ev,[t.createElementVNode("defs",null,[t.createElementVNode("linearGradient",{id:e.refRandomId,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.stop,(s,i)=>(t.openBlock(),t.createElementBlock("stop",{key:i,offset:s.key,"stop-color":s.value},null,8,ov))),128))],8,tv)]),t.createElementVNode("path",{class:"fox-circleprogress-path",style:t.normalizeStyle(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,nv),t.createElementVNode("path",{class:"fox-circleprogress-hover",style:t.normalizeStyle(e.hoverStyle),d:e.path,fill:"none",stroke:e.hoverColor,"stroke-linecap":e.strokeLinecap,"stroke-width":e.strokeWidth},null,12,lv)])),t.createElementVNode("div",av,[t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",rv,t.toDisplayString(e.progress)+"%",1))])],6)}const lr=W(_y,[["render",sv]]),{componentName:iv,create:cv}=U("noticebar"),uv=cv({props:{direction:{type:String,default:"across"},list:{type:Array,default:()=>[]},standTime:{type:Number,default:1e3},complexAm:{type:Boolean,default:!1},height:{type:Number,default:40},text:{type:String,default:""},closeMode:{type:Boolean,default:!1},wrapable:{type:Boolean,default:!1},leftIcon:{type:Boolean,default:!0},color:{type:String,default:""},background:{type:String,default:""},delay:{type:[String,Number],default:1},scrollable:{type:Boolean,default:null},speed:{type:Number,default:50}},components:{ScrollItem:function(e){return e.item.props.style=e.style,e.item.key=e.key,t.h(e.item)},Notice:G.Notice,CircleClose:G.CircleClose},emits:["click","close","across-end"],setup(e,{emit:o,slots:l}){const n=t.ref(null),a=t.ref(null),r=t.reactive({wrapWidth:0,firstRound:!0,duration:0,offsetWidth:0,showNoticebar:!0,animationClass:"",animate:!1,scrollList:[],distance:0,timer:null,keepAlive:!1,isCanScroll:null,showNotica:!0}),s=t.computed(()=>({[iv]:!0})),i=t.computed(()=>r.isCanScroll==null?e.wrapable:!r.isCanScroll&&!e.wrapable),c=t.computed(()=>({"fox-noticebar__page-wrap-content":!0,"fox-ellipsis":i.value,[r.animationClass]:!0})),d=t.computed(()=>{let V={};return e.color&&(V.color=e.color),e.background&&(V.background=e.background),e.direction=="vertical"&&(V.height=`${e.height}px`),V}),m=t.computed(()=>({animationDelay:(r.firstRound?e.delay:0)+"s",animationDuration:r.duration+"s",transform:`translateX(${r.firstRound?0:r.wrapWidth+"px"})`})),f=t.computed(()=>{let V={};if(e.complexAm)V={transform:`translateY(${r.distance}px)`};else if(r.animate){let C=~~(e.height/e.speed/4);V={transition:`all ${C==0?~~(e.height/e.speed):C}s`,"margin-top":`-${e.height}px`}}return V});t.watch(()=>e.text,V=>{h()}),t.watch(()=>e.list,V=>{r.scrollList=[].concat(V)});const h=V=>{r.showNoticebar!=!1&&setTimeout(()=>{if(!n.value||!a.value)return;const C=n.value.getBoundingClientRect().width,w=a.value.getBoundingClientRect().width;r.isCanScroll=e.scrollable==null?w>C:e.scrollable,r.isCanScroll?(r.wrapWidth=C,r.offsetWidth=w,r.duration=w/e.speed,r.animationClass="play"):r.animationClass=""},0)},y=V=>{o("click",V)},k=V=>{e.closeMode&&(r.showNoticebar=!e.closeMode),o("close",V)},v=V=>{r.firstRound=!1,o("across-end",V),setTimeout(()=>{r.duration=(r.offsetWidth+r.wrapWidth)/e.speed,r.animationClass="play-infinite"},0)},g=()=>{u(),r.timer=setInterval(u,~~(e.height/e.speed/4*1e3)+e.standTime)},u=()=>{r.animate=!0,setTimeout(()=>{r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.animate=!1},~~(e.height/e.speed/4*1e3))},p=()=>{r.timer=setInterval(()=>{let V=100;for(let C=0;C<V;C++)b(C,!(C<V-1))},e.standTime+100*e.speed)},b=(V,C)=>{setTimeout(()=>{r.distance-=e.height/100,C&&(r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.distance=0)},V*e.speed)},S=V=>{o("click",V)},B=()=>{e.closeMode&&(r.showNoticebar=!e.closeMode),o("close",r.scrollList[0])};t.onMounted(()=>{e.direction=="vertical"?(l.default?(E(),I()):r.scrollList=[].concat(e.list),setTimeout(()=>{e.complexAm?p():g()},e.standTime)):h(e.text)});const E=()=>{l.default&&(r.scrollList=[].concat(l.default()[0].children))},I=()=>{setTimeout(()=>{var V=new MutationObserver(w=>{r.showNotica=!1,setTimeout(()=>{r.showNotica=!0}),E()});const C=document.getElementsByClassName("fox-noticebar-custom-item")[0];C&&V.observe(C,{childList:!0,subtree:!0})},100)};return t.onActivated(()=>{r.keepAlive&&(r.keepAlive=!1)}),t.onDeactivated(()=>{r.keepAlive=!0,clearInterval(r.timer)}),t.onUnmounted(()=>{clearInterval(r.timer)}),{...t.toRefs(e),...t.toRefs(r),isEllipsis:i,classes:s,barStyle:d,contentStyle:m,horseLampStyle:f,wrap:n,content:a,handleClick:y,onClickIcon:k,onAnimationEnd:v,go:S,handleClickIcon:B,slots:l,toPxDesc:le,wrapContentClass:c}}}),dv={class:"fox-noticebar__page-lefticon"},fv={ref:"wrap",class:"fox-noticebar__page-wrap"},mv={class:"showNotica"},pv={class:"fox-noticebar-custom-item"},hv=["onClick"];function gv(e,o,l,n,a,r){const s=t.resolveComponent("Notice"),i=t.resolveComponent("CircleClose"),c=t.resolveComponent("ScrollItem");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.direction=="across"?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-noticebar__page",{"fox-noticebar__page--withicon":e.closeMode,"fox-noticebar__page--close":e.closeMode,"fox-noticebar__page--wrapable":e.wrapable}]),style:t.normalizeStyle(e.barStyle),onClick:o[3]||(o[3]=(...d)=>e.handleClick&&e.handleClick(...d))},[t.createElementVNode("view",dv,[t.renderSlot(e.$slots,"left-icon",{},()=>[e.leftIcon?(t.openBlock(),t.createBlock(s,{key:0,size:"16px"})):t.createCommentVNode("",!0)])]),t.createElementVNode("view",fv,[t.createElementVNode("view",{ref:"content",class:t.normalizeClass(e.wrapContentClass),style:t.normalizeStyle(e.contentStyle),onAnimationend:o[0]||(o[0]=(...d)=>e.onAnimationEnd&&e.onAnimationEnd(...d)),"on:webkitAnimationEnd":o[1]||(o[1]=(...d)=>e.onAnimationEnd&&e.onAnimationEnd(...d))},[t.renderSlot(e.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(e.text),1)])],38)],512),e.closeMode||e.$slots["right-icon"]?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-noticebar__page-righticon",onClick:o[2]||(o[2]=t.withModifiers((...d)=>e.onClickIcon&&e.onClickIcon(...d),["stop"]))},[e.$slots["right-icon"]?t.renderSlot(e.$slots,"right-icon",{key:0}):(t.openBlock(),t.createBlock(i,{key:1}))])):t.createCommentVNode("",!0)],6)),[[t.vShow,e.showNoticebar]]):t.createCommentVNode("",!0),e.scrollList.length>0&&e.direction=="vertical"&&e.showNoticebar?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-noticebar__vertical",style:t.normalizeStyle(e.barStyle)},[e.slots.default?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("view",{class:"fox-noticebar__vertical-list",style:t.normalizeStyle(e.horseLampStyle)},[t.createElementVNode("div",mv,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(d,m)=>(t.openBlock(),t.createBlock(c,{key:m,style:t.normalizeStyle({height:e.height+"px","line-height":e.height+"px"}),item:d},null,8,["style","item"]))),128))])],4),t.createElementVNode("view",pv,[t.renderSlot(e.$slots,"default")])],64)):(t.openBlock(),t.createElementBlock("ul",{key:1,class:"fox-noticebar__vertical-list",style:t.normalizeStyle(e.horseLampStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(d,m)=>(t.openBlock(),t.createElementBlock("li",{class:"fox-noticebar__vertical-item",key:m,style:t.normalizeStyle({height:e.toPxDesc(e.height),lineHeight:e.toPxDesc(e.height)}),onClick:f=>e.go(d)},t.toDisplayString(d),13,hv))),128))],4)),t.createElementVNode("view",{class:"go",onClick:o[4]||(o[4]=d=>!e.slots.rightIcon&&e.handleClickIcon())},[t.renderSlot(e.$slots,"right-icon",{},()=>[e.closeMode?(t.openBlock(),t.createBlock(i,{key:0,color:e.color,size:"11px"},null,8,["color"])):t.createCommentVNode("",!0)])])],4)):t.createCommentVNode("",!0)],2)}const ar=W(uv,[["render",gv]]),yv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAKoCAMAAACMZv1uAAAC+lBMVEUAAAD19fXz9PTd1tvf3t708vPx7/Dz9PTY2NjY2NjWy837+fr09/f09fU0MzX09fX08vP09fXMzMz19vbY2NgyMjLz9PT19vb29/cuLDrY2Njz6uzKw8Tx7e719vby8/PY2Nj19vb09fUrKzb09fX19vbc09X09fXLy8v19fX09PS5uLjV1dX09fXV1dXU1NT/y9X19va8vLz09vb19fXX19fSyssxLzz09fX09fX09fX19vb19fX19vbU1NQxLzz09fXY2Nj19vb19vYsKjNVVFYUFBT19fXMzMz09fX09fX09fXMzMzW1tavr6/09fX09fXY2NjX19ebm536ssD09fXMzMw1MzzY2Nj19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hiMcmvMT/biJnNKYn+jHqFNOyTxgNiinZB4oOZRTMg/IvZRPfRTRk40Cj37S95s9OyYCGIShALrVQIVgBAMVUQsdGBgqgKGHCRz2GEBDhvc05PJzPwTVxpa6np+o+lhK9jclqt1OpSr2iWsN6ntZp0T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:vw,create:bv,scope:Sv}=U("empty"),Cv={empty:yv,error:vv,network:kv},wv=bv({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:o}=se.useFoxI18n(Sv),l=o(e,["description"]),{image:n,imageSize:a}=t.toRefs(e),r=t.computed(()=>a.value?typeof a.value=="number"?`width:${a.value}px;height:${a.value}px`:`width:${a.value};height:${a.value}`:""),i=n.value.startsWith("https://")||n.value.startsWith("http://")||n.value.startsWith("//")?n.value:Cv[n.value];return{...l,imageUrl:i,imgStyle:r}}}),Nv={class:"fox-empty"},Bv=["src"],Vv={key:1,class:"fox-empty-description"};function Av(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",Nv,[t.createElementVNode("view",{class:"fox-empty-image",style:t.normalizeStyle(e.imgStyle)},[e.$slots.image?t.renderSlot(e.$slots,"image",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.imageUrl?(t.openBlock(),t.createElementBlock("img",{key:0,class:"img",src:e.imageUrl},null,8,Bv)):t.createCommentVNode("",!0)],64))],4),e.$slots.description?t.renderSlot(e.$slots,"description",{key:0}):(t.openBlock(),t.createElementBlock("view",Vv,t.toDisplayString(e.description),1)),e.$slots.default?t.renderSlot(e.$slots,"default",{key:2}):t.createCommentVNode("",!0)])}const rr=W(wv,[["render",Av]]),{create:Ev,scope:Tv}=U("video"),$v=Ev({props:{source:{type:Object,default:{}},options:{type:Object,default:{autoplay:!1,volume:.5,poster:"",loop:!1,controls:!0,muted:!1,disabled:!1,playsinline:!1,touchPlay:!1,preload:""},required:!0},model:{type:String,default:""}},components:{},emits:["click","play","pause","playend","time"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(Tv),n=t.reactive({videoElm:null,initial:!0,showToolbox:!1,player:{$player:null,pos:null},progressBar:{progressElm:null,pos:null},videoSet:{loaded:0,displayTime:"00:00",totalTime:"00:00",progress:{width:0,current:0}},state:{controlShow:!0,vol:.5,currentTime:0,fullScreen:!1,playing:!1,isLoading:!1,isEnd:!1,isError:!1,isMuted:!1},showTouchMask:!1}),a=t.ref(null),r=t.computed(()=>e.options.disabled);t.watch(()=>e.source,E=>{E.src&&t.nextTick(()=>{n.videoElm.load()})},{immediate:!0,deep:!0}),t.watch(()=>e.options,E=>{n.state.isMuted=E?E.muted:!1},{immediate:!0});const s=()=>{n.videoElm=a.value,e.options.autoplay&&setTimeout(()=>{n.videoElm.play()},200),e.options.touchPlay&&(n.showTouchMask=!0),e.options.playsinline&&(n.videoElm.setAttribute("playsinline",e.options.playsinline),n.videoElm.setAttribute("webkit-playsinline",e.options.playsinline),n.videoElm.setAttribute("x5-video-player-type","h5-page"),n.videoElm.setAttribute("x5-video-player-fullscreen",!1)),k(),n.showToolbox?i():(n.videoElm.addEventListener("play",()=>{n.state.playing=!0,o("play",n.videoElm)}),n.videoElm.addEventListener("pause",()=>{n.state.playing=!1,o("pause",n.videoElm)}),n.videoElm.addEventListener("ended",h),n.videoElm.addEventListener("timeupdate",Xt(f,1e3)))},i=()=>{const E=a.value,I=a.value.getElementsByClassName("fox-video-controller__progress-value")[0];n.player.$player=E,n.progressBar.progressElm=I,n.progressBar.pos=I.getBoundingClientRect(),n.videoSet.progress.width=Math.round(I.getBoundingClientRect().width)},c=()=>{if(e.options.autoplay&&e.options.disabled)return n.state.playing=!0,!1;if(n.state.playing=!n.state.playing,n.videoElm)if(n.state.playing)try{setTimeout(()=>{n.videoElm.play()},200),n.videoElm.addEventListener("progress",()=>{m()}),n.videoElm.addEventListener("timeupdate",Xt(f,1e3)),n.videoElm.addEventListener("ended",h),o("play",n.videoElm)}catch{y()}else n.videoElm.pause(),o("pause",n.videoElm)},d=E=>{var I=Math.floor(E/3600);I<10&&(I="0"+I);var V=Math.floor(E%3600/60);V<10&&(V="0"+V);var C=Math.round(E%3600%60);C<10&&(C="0"+C);var w="";return I!=0?w=I+":"+V+":"+C:w=V+":"+C,w},m=()=>{n.videoSet.loaded&&(n.videoSet.loaded=n.videoElm.buffered.end(0)/n.videoElm.duration*100)},f=()=>{const E=n.videoElm.currentTime/n.videoElm.duration;n.videoSet.progress.current=Math.round(n.videoSet.progress.width*E),n.videoSet.totalTime=d(n.videoElm.duration),n.videoSet.displayTime=d(n.videoElm.currentTime),o("time",n.videoSet.displayTime,n.videoSet.totalTime)},h=()=>{n.state.playing=!1,n.state.isEnd=!0,n.videoSet.displayTime="00:00",n.videoSet.progress.current=0,n.videoElm.currentTime=0,o("playend",n.videoElm)},y=()=>{n.state.isError=!0},k=()=>{n.state.vol=e.options.volume},v=()=>{n.state.isMuted=!n.state.isMuted,n.videoElm.muted=n.state.isMuted},g=()=>{},u=E=>{let V=E.targetTouches[0].pageX-n.progressBar.pos.left;V<=0&&(V=0),V>=n.videoSet.progress.width&&(V=n.videoSet.progress.width),n.videoSet.progress.current=V;let C=n.videoSet.progress.current/n.videoSet.progress.width;n.videoElm.duration&&b(C,n.videoElm.duration)},p=E=>{let V=E.changedTouches[0].pageX-n.progressBar.pos.left;n.videoSet.progress.current=V;let C=V/n.videoSet.progress.width;n.videoElm.duration&&b(C,n.videoElm.duration)},b=(E,I)=>{n.videoElm.currentTime=Math.floor(E*I)},S=()=>{n.state.isError=!1,s()},B=()=>{n.state.fullScreen?(n.state.fullScreen=!1,document.webkitCancelFullScreen()):(n.state.fullScreen=!0,n.videoElm.webkitRequestFullScreen())};return t.onMounted(()=>{s()}),{root:a,...t.toRefs(e),...t.toRefs(n),handleError:y,isDisabled:r,play:c,handleMuted:v,touchSlidSrart:g,touchSlidMove:u,touchSlidEnd:p,retry:S,fullScreen:B,t:l}}}),Dv={class:"fox-video",ref:"videocon"},Iv=["muted","autoplay","loop","poster","controls","preload"],qv=["src","type"],Mv={class:"fox-video-controller__now"},zv={class:"fox-video-controller__progress"},xv={class:"fox-video-controller__progress-value",ref:"progressBar"},Lv=t.createElementVNode("div",{class:"fox-video-controller__ball-move"},null,-1),Pv=[Lv],Rv={class:"fox-video-controller__played",ref:"playedBar"},Ov={class:"fox-video-controller__total"},Fv={class:"fox-video-error"},Uv={class:"fox-video-error-tip"};function Kv(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",Dv,[t.createElementVNode("video",{ref:"root",class:"fox-video-player",muted:e.options.muted,autoplay:e.options.autoplay,loop:e.options.loop,poster:e.options.poster,controls:e.options.controls,preload:e.options.preload,onError:o[0]||(o[0]=(...s)=>e.handleError&&e.handleError(...s))},[t.createElementVNode("source",{src:e.source.src,type:e.source.type},null,8,qv)],40,Iv),e.showToolbox&&!e.isDisabled?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-video-mask",ref:"touchMask",onClick:o[1]||(o[1]=(...s)=>e.play&&e.play(...s))},null,512)):t.createCommentVNode("",!0),e.showToolbox&&!e.isDisabled?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:1,class:"fox-video-play-btn",ref:"palyBtn",onClick:o[2]||(o[2]=(...s)=>e.play&&e.play(...s))},null,512)),[[t.vShow,!e.state.playing]]):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["fox-video-controller",{"fox-video-controller--show":!e.state.playing,"fox-video-controller--hide":e.state.playing}])},[t.createElementVNode("div",{class:"fox-video-controller__playbtn",onClick:o[3]||(o[3]=(...s)=>e.play&&e.play(...s))}),t.createElementVNode("div",Mv,t.toDisplayString(e.videoSet.displayTime),1),t.createElementVNode("div",zv,[t.createElementVNode("div",xv,[t.createElementVNode("div",{class:"buffered",style:t.normalizeStyle({width:`${e.videoSet.loaded}%`})},null,4),t.createElementVNode("div",{class:"fox-video-controller__ball",style:t.normalizeStyle({transform:`translate3d(${e.videoSet.progress.current}px, -50%, 0)`}),onTouchmove:o[4]||(o[4]=t.withModifiers(s=>e.touchSlidMove(s),["stop","prevent"])),onTouchstart:o[5]||(o[5]=t.withModifiers(s=>e.touchSlidSrart(),["stop"])),onTouchend:o[6]||(o[6]=t.withModifiers(s=>e.touchSlidEnd(s),["stop"]))},Pv,36),t.createElementVNode("div",Rv,null,512)],512)]),t.createElementVNode("div",Ov,t.toDisplayString(e.videoSet.totalTime),1),t.createElementVNode("div",{class:t.normalizeClass(["fox-video-controller__volume",{muted:e.state.isMuted}]),onClick:o[7]||(o[7]=(...s)=>e.handleMuted&&e.handleMuted(...s))},null,2),t.createElementVNode("div",{class:"fox-video-controller__full",onClick:o[8]||(o[8]=(...s)=>e.fullScreen&&e.fullScreen(...s))})],2),[[t.vShow,e.showToolbox&&!e.isDisabled]]),t.withDirectives(t.createElementVNode("div",Fv,[t.createElementVNode("p",Uv,t.toDisplayString(e.t("errorTip")),1),t.createElementVNode("p",{class:"fox-video-error-retry",onClick:o[9]||(o[9]=(...s)=>e.retry&&e.retry(...s))},t.toDisplayString(e.t("clickRetry")),1)],512),[[t.vShow,e.state.isError]])],512)}const Et=W($v,[["render",Kv]]),{create:Hv,componentName:jv}=U("steps"),sr=Hv({props:{direction:{type:String,default:"horizontal"},current:{type:[String,Number],default:"0"},progressDot:{type:Boolean,default:!1}},emits:["click-step"],setup(e,{emit:o,slots:l}){const n=t.reactive({children:[]}),a=t.computed(()=>{const i=jv;return{[i]:!0,[`${i}-${e.direction}`]:!0,[`${i}-dot`]:!!e.progressDot}}),r=i=>{i&&n.children.push(i)},s=i=>{o("click-step",i)};return t.provide("parent",{relation:r,state:n,props:e,onEmit:s}),()=>t.h("view",{class:a.value},l.default?.())}}),{create:Wv,componentName:Yv}=U("step"),Xv=Wv({props:{title:{type:String,default:""},content:{type:String,default:""}},emits:["click-step"],setup(){const{proxy:e}=t.getCurrentInstance(),o=t.inject("parent");o.relation(e);const l=t.reactive({dot:o.props.progressDot}),n=t.computed(()=>o.state.children.indexOf(e)+1),a=()=>{const c=n.value;return c<+o.props.current?"finish":c===+o.props.current?"process":"wait"},r=t.computed(()=>a()),s=t.computed(()=>{const c=Yv;return{[c]:!0,[`${c}-${r.value}`]:!0}}),i=()=>{o.onEmit(n.value)};return{...t.toRefs(l),index:n,classes:s,handleClickStep:i}}}),Qv={class:"fox-step-head"},Gv=t.createElementVNode("view",{class:"fox-step-line"},null,-1),Zv={class:"fox-step-icon-inner"},Jv={key:1,class:"fox-step-inner"},_v={class:"fox-step-main"},ek={class:"fox-step-title"},tk={key:0},ok={key:0,class:"fox-step-content"},nk=["innerHTML"];function lk(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=(...s)=>e.handleClickStep&&e.handleClickStep(...s))},[t.createElementVNode("view",Qv,[Gv,t.createElementVNode("view",{class:t.normalizeClass(["fox-step-icon",[e.dot?"":"is-icon"]])},[t.createElementVNode("view",Zv,[t.renderSlot(e.$slots,"icon",{},()=>[e.dot?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[],64)):(t.openBlock(),t.createElementBlock("view",Jv,t.toDisplayString(e.index),1))])])],2)]),t.createElementVNode("view",_v,[t.createElementVNode("view",ek,[e.$slots.title?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",tk,t.toDisplayString(e.title),1)),t.renderSlot(e.$slots,"title")]),e.content||e.$slots.content?(t.openBlock(),t.createElementBlock("view",ok,[e.$slots.content?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:e.content},null,8,nk)),t.renderSlot(e.$slots,"content")])):t.createCommentVNode("",!0)])],2)}const ir=W(Xv,[["render",lk]]),{create:ak,componentName:No}=U("swiper"),rk=ak({props:{width:{type:[Number,String],default:window.innerWidth},height:{type:[Number,String],default:0},direction:{type:String,default:"horizontal"},paginationVisible:{type:Boolean,default:!1},paginationColor:{type:String,default:"#fff"},loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},autoPlay:{type:[Number,String],default:0},initPage:{type:[Number,String],default:0},touchable:{type:Boolean,default:!0},isPreventDefault:{type:Boolean,default:!0},isStopPropagation:{type:Boolean,default:!0}},emits:["change"],setup(e,{emit:o,slots:l}){const n=t.ref(),a=t.reactive({active:0,num:0,rect:null,width:0,height:0,moving:!1,offset:0,touchTime:0,autoplayTimer:null,children:[],childrenVNode:[],style:{}}),r=Ye(),s=t.computed(()=>({[No]:!0})),i=t.computed(()=>e.direction==="vertical"),c=t.computed(()=>{const $=No;return{[`${$}-inner`]:!0,[`${$}-vertical`]:i.value}}),d=t.computed(()=>{const $=No;return{[`${$}-pagination`]:!0,[`${$}-pagination-vertical`]:i.value}}),m=t.computed(()=>i.value?r.deltaY.value:r.deltaX.value),f=t.computed(()=>r.direction.value===e.direction),h=t.computed(()=>a.children.length),y=t.computed(()=>a[i.value?"height":"width"]),k=t.computed(()=>h.value*y.value),v=t.computed(()=>a.rect?(i.value?a.rect.height:a.rect.width)-y.value*h.value:0),g=t.computed(()=>(a.active+h.value)%h.value),u=()=>{let $=0;$=a.offset,a.style={transitionDuration:`${a.moving?0:e.duration}ms`,transform:`translate${i.value?"Y":"X"}(${$}px)`,[i.value?"height":"width"]:`${y.value*h.value}px`,[i.value?"width":"height"]:`${i.value?a.width:a.height}px`}},p=$=>{let x=[];const H=a.childrenVNode.length;let j=l?.default?.();if(j=j.filter(Y=>Y.children&&Array.isArray(Y.children)),j.forEach(Y=>{x=x.concat(Y.children)}),!H)a.childrenVNode=x.slice(),$.proxy&&a.children.push($.proxy);else if(H>x.length)a.children=a.children.filter(Y=>$.proxy!==Y);else if(H<x.length){for(let Y=0;Y<H;Y++)if(x[Y].key!==a.childrenVNode[Y].key){$.proxy&&a.children.splice(Y,0,$.proxy),$.vnode&&a.childrenVNode.splice(Y,0,$.vnode);break}H!==x.length&&($.proxy&&a.children.push($.proxy),$.vnode&&a.childrenVNode.push($.vnode))}else a.childrenVNode=x.slice(),$.proxy&&a.children.push($.proxy)},b=($,x=0)=>{let H=$*y.value;e.loop||(H=Math.min(H,-v.value));let j=x-H;return e.loop||(j=xe(j,v.value,0)),j},S=$=>{const{active:x}=a;return $?e.loop?xe(x+$,-1,h.value):xe(x+$,0,h.value-1):x},B=({pace:$=0,offset:x=0,isEmit:H=!1})=>{if(h.value<=1)return;const{active:j}=a,Y=S($),R=b(Y,x);if(e.loop){if(a.children[0]&&R!==v.value){const O=R<v.value;a.children[0].setOffset(O?k.value:0)}if(a.children[h.value-1]&&R!==0){const O=R>0;a.children[h.value-1].setOffset(O?-k.value:0)}}a.active=Y,a.offset=R,H&&j!==a.active&&o("change",g.value),u()},E=()=>{a.moving=!0,a.active<=-1&&B({pace:h.value}),a.active>=h.value&&B({pace:-h.value})},I=()=>{a.autoplayTimer&&clearTimeout(a.autoplayTimer)},V=$=>{E(),r.reset(),je(()=>{je(()=>{a.moving=!1,B({pace:$,isEmit:!0})})})},C=()=>{V(-1)},w=()=>{V(1)},q=$=>{E(),r.reset(),je(()=>{a.moving=!1;let x;e.loop&&h.value===$?x=a.active===0?0:$:x=$%h.value,B({pace:x-a.active,isEmit:!0})})},P=()=>{e.autoPlay<=0||h.value<=1||(I(),a.autoplayTimer=setTimeout(()=>{w(),P()},Number(e.autoPlay)))},M=($=+e.initPage)=>{I(),a.rect=n.value.getBoundingClientRect(),$=Math.min(h.value-1,$),a.width=e.width?+e.width:a.rect.width,a.height=e.height?+e.height:a.rect.height,a.active=$,a.offset=b(a.active),a.moving=!0,u(),P()},A=$=>{e.isPreventDefault&&$.preventDefault(),e.isStopPropagation&&$.stopPropagation(),e.touchable&&(r.start($),a.touchTime=Date.now(),I(),E())},T=$=>{e.touchable&&a.moving&&(r.move($),f.value&&B({offset:m.value}))},z=$=>{if(!e.touchable||!a.moving)return;const x=m.value/(Date.now()-a.touchTime);if((Math.abs(x)>.3||Math.abs(m.value)>+(y.value/2).toFixed(2))&&f.value){let j=0;const Y=i.value?r.offsetY.value:r.offsetX.value;e.loop?j=Y>0?m.value>0?-1:1:0:j=-Math[m.value>0?"ceil":"floor"](m.value/y.value),B({pace:j,isEmit:!0})}else m.value&&B({pace:0});a.moving=!1,u(),P()};return t.provide("parent",{props:e,size:y,relation:p}),De({prev:C,next:w,to:q}),t.onDeactivated(()=>{I()}),t.onBeforeUnmount(()=>{I()}),t.watch(()=>e.initPage,$=>{t.nextTick(()=>{M(Number($))})}),t.watch(()=>a.children.length,()=>{t.nextTick(()=>{M()})}),t.watch(()=>e.autoPlay,$=>{$>0?P():I()}),{state:a,classes:s,classesInner:c,classesPagination:d,container:n,activePagination:g,onTouchStart:A,onTouchMove:T,onTouchEnd:z}}});function sk(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{ref:"container",class:t.normalizeClass(e.classes),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:o[2]||(o[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:o[3]||(o[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[t.createElementVNode("view",{class:t.normalizeClass(e.classesInner),style:t.normalizeStyle(e.state.style)},[t.renderSlot(e.$slots,"default")],6),t.renderSlot(e.$slots,"page"),e.paginationVisible&&!e.$slots.page?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.classesPagination)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.state.children.length,(s,i)=>(t.openBlock(),t.createElementBlock("i",{style:t.normalizeStyle({backgroundColor:e.activePagination===i?e.paginationColor:"#ddd"}),class:t.normalizeClass({active:e.activePagination===i}),key:i},null,6))),128))],2)):t.createCommentVNode("",!0)],34)}const Tt=W(rk,[["render",sk]]),{create:ik,componentName:ck}=U("swiper-item"),uk=ik({setup(e,{slots:o}){const l=t.inject("parent");l.relation(t.getCurrentInstance());const n=t.reactive({offset:0}),a=t.computed(()=>({[ck]:!0})),r=t.computed(()=>{const i={},c=l?.props.direction;return l?.size.value&&(i[c==="horizontal"?"width":"height"]=`${l?.size.value}px`),n.offset&&(i.transform=`translate${c==="horizontal"?"X":"Y"}(${n.offset}px)`),i}),s=i=>{n.offset=i};return t.onUnmounted(()=>{l.relation(t.getCurrentInstance(),"unmount")}),De({setOffset:s}),{style:r,classes:a}}});function dk(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const $t=W(uk,[["render",dk]]),cr={show:{type:Boolean,default:!1},initNo:{type:Number,default:0},showIndex:{type:Boolean,default:!0},minZoom:{type:Number,default:1/3},maxZoom:{type:Number,default:3}},{create:fk}=U("image-preview-item"),mk=fk({props:{...cr,image:{type:Object,default:()=>({})},video:{type:Object,default:()=>({})},rootWidth:{type:Number,default:0},rootHeight:{type:Number,default:0},contentClose:{type:Boolean,default:!0}},emits:["close","scale"],components:{[Et.name]:Et,[$t.name]:$t},setup(e,{emit:o}){const l=t.reactive({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),n=Ye(),a=t.computed(()=>{const{rootWidth:C,rootHeight:w}=e,q=w/C;return l.imageRatio>q}),r=t.computed(()=>{const C=e.image;if(C&&C.src){const{scale:w,moveX:q,moveY:P,moving:M,zooming:A}=l,T={transitionDuration:A||M?"0s":".3s"};if(w!==1){const z=q/w,$=P/w;T.transform=`scale(${w}, ${w}) translate(${z}px, ${$}px)`}return T}return{}}),s=t.computed(()=>{if(l.imageRatio){const{rootWidth:C,rootHeight:w}=e,q=a.value?w/l.imageRatio:C;return Math.max(0,(l.scale*q-C)/2)}return 0}),i=t.computed(()=>{if(l.imageRatio){const{rootWidth:C,rootHeight:w}=e,q=a.value?w:C*l.imageRatio;return Math.max(0,(l.scale*q-w)/2)}return 0}),c=C=>{const{naturalWidth:w,naturalHeight:q}=C.target;l.imageRatio=q/w},d=()=>{m(1),l.moveX=0,l.moveY=0},m=C=>{C=xe(C,+e.minZoom,+e.maxZoom+1),C!==l.scale&&(l.scale=C,o("scale",{scale:C,index:e.initNo}))},f=()=>{const C=l.scale>1?1:2;m(C),l.moveX=0,l.moveY=0},h=C=>Math.sqrt((C[0].clientX-C[1].clientX)**2+(C[0].clientY-C[1].clientY)**2);let y,k,v,g,u,p,b;const S=C=>{const{touches:w}=C,{offsetX:q}=n;n.start(C),b=w.length,y=l.moveX,k=l.moveY,p=Date.now(),l.moving=b===1&&l.scale!==1,l.zooming=b===2&&!q.value,l.zooming&&(v=l.scale,g=h(C.touches))},B=C=>{const{touches:w}=C;if(n.move(C),(l.moving||l.zooming)&&qo(C,!0),l.moving){const{deltaX:q,deltaY:P}=n,M=q.value+y,A=P.value+k;l.moveX=xe(M,-s.value,s.value),l.moveY=xe(A,-i.value,i.value)}if(l.zooming&&w.length===2){const q=h(w),P=v*q/g;m(P)}},E=()=>{if(b==1&&e.video&&e.video.source||b>1)return;const{offsetX:C,offsetY:w}=n,q=Date.now()-p,P=250,M=5;C.value<M&&w.value<M&&q<P&&(u?(clearTimeout(u),u=null,f()):u=setTimeout(()=>{e.contentClose&&o("close"),u=null},P))},I=C=>{let w=!1;(l.moving||l.zooming)&&(w=!0,l.moving&&y===l.moveX&&k===l.moveY&&(w=!1),C.touches.length||(l.zooming&&(l.moveX=xe(l.moveX,-s.value,s.value),l.moveY=xe(l.moveY,-i.value,i.value),l.zooming=!1),l.moving=!1,y=0,k=0,v=1,l.scale<1&&d(),l.scale>e.maxZoom&&(l.scale=+e.maxZoom))),qo(C,w),E(),n.reset()},V=()=>{o("close")};return t.watch(()=>e.initNo,d),t.watch(()=>e.show,C=>{C||d()}),{...t.toRefs(l),onTouchStart:S,onTouchMove:B,onTouchEnd:I,getDistance:h,imageStyle:r,imageLoad:c,closeSwiper:V}}}),pk=["src"];function hk(e,o,l,n,a,r){const s=t.resolveComponent("fox-video"),i=t.resolveComponent("fox-swiper-item");return t.openBlock(),t.createBlock(i,{onClick:e.closeSwiper},{default:t.withCtx(()=>[t.createElementVNode("view",{style:t.normalizeStyle(e.imageStyle),class:"fox-image-preview-box",onTouchstart:o[1]||(o[1]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:o[2]||(o[2]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:o[3]||(o[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:o[4]||(o[4]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[e.image&&e.image.src?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.image.src,class:"fox-image-preview-img",onLoad:o[0]||(o[0]=(...c)=>e.imageLoad&&e.imageLoad(...c))},null,40,pk)):t.createCommentVNode("",!0),e.video&&e.video.source?(t.openBlock(),t.createBlock(s,{key:1,source:e.video.source,options:e.video.options},null,8,["source","options"])):t.createCommentVNode("",!0)],36)]),_:1},8,["onClick"])}const gk=W(mk,[["render",hk]]),{create:yk}=U("image-preview"),vk=yk({props:{...cr,images:{type:Array,default:()=>[]},videos:{type:Array,default:()=>[]},contentClose:{type:Boolean,default:!0},paginationVisible:{type:Boolean,default:!1},paginationColor:{type:String,default:"#fff"},autoplay:{type:[Number,String],default:0},teleport:{type:[String,Element],default:"body"},teleportDisable:{ype:Boolean,default:!1},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},beforeClose:Function,isLoop:{type:Boolean,default:!0}},emits:["close","change"],components:{ImagePreviewItem:gk,CircleClose:G.CircleClose,[ce.name]:ce,[Tt.name]:Tt},setup(e,{emit:o}){const l=t.ref(),n=t.reactive({showPop:e.show,active:0,rootWidth:0,rootHeight:0}),a=t.computed(()=>{const m="fox-image-preview-close";return`fox-image-preview-close-icon ${e.closeIconPosition=="top-right"?`${m}-right`:`${m}-left`}`}),r=t.computed(()=>co(e.videos)?[].concat(e.videos).concat(e.images):e.images),s=m=>{m!==n.active&&(n.active=m,o("change",n.active))},i=()=>{Ua(e.beforeClose,{args:[n.active],done:()=>c()})},c=()=>{n.showPop=!1,o("close")},d=()=>{if(l.value){const m=be(l.value);n.rootHeight=m.height,n.rootWidth=m.width}};return t.watch(()=>e.show,m=>{n.showPop=m,m&&(s(e.initNo),d())}),t.watch(()=>e.initNo,m=>{m!=n.active&&s(m)}),t.onMounted(()=>{s(e.initNo)}),{swipeRef:l,...t.toRefs(n),onClose:i,mergeImages:r,setActive:s,iconClasses:a}}}),kk={class:"fox-image-preview",ref:"swipeRef"},bk={key:0,class:"fox-image-preview-index"};function Sk(e,o,l,n,a,r){const s=t.resolveComponent("image-preview-item"),i=t.resolveComponent("fox-swiper"),c=t.resolveComponent("CircleClose"),d=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(d,{"pop-class":"fox-image-preview-custom-pop",visible:e.showPop,"onUpdate:visible":o[1]||(o[1]=m=>e.showPop=m),teleportDisable:e.teleportDisable,teleport:e.teleport,onClosed:e.onClose,"lock-scroll":""},{default:t.withCtx(()=>[t.createElementVNode("view",kk,[e.showPop?(t.openBlock(),t.createBlock(i,{key:0,"auto-play":e.autoplay,class:"fox-image-preview-swiper",loop:e.isLoop,"is-preventDefault":!1,direction:"horizontal",onChange:e.setActive,"init-page":e.initNo,"pagination-visible":e.paginationVisible,"pagination-color":e.paginationColor},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeImages,(m,f)=>(t.openBlock(),t.createBlock(s,{key:f,video:f<e.videos.length?m:{},image:f>=e.videos.length?m:{},rootHeight:e.rootHeight,rootWidth:e.rootWidth,show:e.showPop,"init-no":e.active+1,onClose:e.onClose,"content-close":e.contentClose,maxZoom:e.maxZoom,minZoom:e.minZoom},null,8,["video","image","rootHeight","rootWidth","show","init-no","onClose","content-close","maxZoom","minZoom"]))),128))]),_:1},8,["auto-play","loop","onChange","init-page","pagination-visible","pagination-color"])):t.createCommentVNode("",!0)],512),e.showIndex?(t.openBlock(),t.createElementBlock("view",bk,t.toDisplayString(e.active+1)+" / "+t.toDisplayString(e.mergeImages.length),1)):t.createCommentVNode("",!0),e.closeable?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(e.iconClasses),onClick:o[0]||(o[0]=(...m)=>e.onClose&&e.onClose(...m))},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(c,{color:"#ffffff"})])],2)):t.createCommentVNode("",!0)]),_:3},8,["visible","teleportDisable","teleport","onClosed"])}const ur=W(vk,[["render",Sk]]);class Ck{show=!1;images=[];videos=[];contentClose=!0;initNo=0;paginationVisible=!1;paginationColor="";autoplay=0;isWrapTeleport=!1;showIndex=!0;closeable=!1;closeIconPosition="top-right";beforeClose;maxZoom=3;minZoom=1/3;isLoop=!0;teleport="body"}class wk{options=new Ck;constructor(o){const l=Object.assign(this.options,o),{unmount:n}=ys(l,{name:"image-preview",components:[ce,Et,Tt,$t,et],wrapper:()=>({setup(){return()=>(l.onClose=()=>{l.show=!1,t.nextTick(()=>{n()})},t.h(ur,l))}})})}}const Cn=e=>new wk(e);Cn.install=e=>{e.use(ur)};function Nk(e){const o=t.getCurrentInstance();if(o&&o.proxy){let l=o.proxy;Object.assign(l,e)}}const{componentName:kw,create:Bk}=U("countup"),Vk=Bk({props:{initNum:{type:Number,default:0},endNum:{type:Number,default:0},speed:{type:Number,default:1},toFixed:{type:Number,default:0},during:{type:Number,default:1e3},startFlag:{type:Boolean,default:!0},numWidth:{type:Number,default:20},numHeight:{type:Number,default:20},scrolling:{type:Boolean,default:!1},customBgImg:{type:String,default:""},customSpacNum:{type:Number,default:0},customChangeNum:{type:Number,default:1},type:{type:String,default:""},machineNum:{type:Number,default:3},machinePrizeNum:{type:Number,default:0},machinePrizeLevel:{type:Number,default:0},machineTurnMore:{type:Number,default:0}},components:{},emits:["click","scroll-end"],setup(e,{emit:o}){const l=t.ref(null),n=t.ref([]),a=V=>{V&&n.value.push(V)},r=t.reactive({valFlag:!1,current:0,sortFlag:"add",initDigit1:0,initDigit2:0,to0_10:[0,1,2,3,4,5,6,7,8,9,0],to10_0:[0,9,8,7,6,5,4,3,2,1,1],timer:null,totalCount:0,pointNum:0,numberVal:0,num_total_len:0,relNum:0,customNumber:1,prizeLevelTrun:0,prizeY:[],prizeYPrev:[],finshMachine:0,notPrize:[],typeMachine:""}),{startFlag:s,scrolling:i,customBgImg:c,type:d}=t.reactive(e);t.watch(()=>e.customChangeNum,(V,C)=>{f(),g(0)}),t.watch(()=>e.machinePrizeLevel,(V,C)=>{r.prizeLevelTrun=V}),t.watch(()=>e.initNum,(V,C)=>{r.current=V,r.valFlag=!1,m()}),t.watch(()=>e.endNum,(V,C)=>{r.current=e.initNum,r.valFlag=!1,m()});const m=()=>{if(r.valFlag)return!1;s&&(i||c?d!="machine"&&g():(v(),setTimeout(()=>{r.valFlag=!0},300)))},f=()=>{clearInterval(Number(r.timer)),r.timer=null},h=(V,C,w)=>{const q=(V.toString().split(".")[1]||"").length,P=(C.toString().split(".")[1]||"").length,M=Math.pow(10,Math.max(q,P));return w=="-"?Number((V*M-C*M).toFixed(0))/M:Number((V*M+C*M).toFixed(0))/M},y=V=>{let{num_total_len:C,pointNum:w,initDigit1:q,initDigit2:P,sortFlag:M}=r,A=M=="add"||M=="equal"?String(P)[V-(C-w)]:10-Number(String(P)[V-(C-w)]),T=M=="add"||M=="equal"?String(q)[V]:10-Number(String(q)[V]),z=V>C-w-1?-A*100+"%":V<=String(q).length-1?-T*100+"%":0;return z=="-1000%"&&(z=0),z},k=V=>{let{num_total_len:C,pointNum:w,initDigit1:q,initDigit2:P,sortFlag:M}=r,A=String(P)[V-(C-w)];return V>C-w-1?A||0:V<=String(q).length-1?String(q)[V]:0},v=()=>{let{endNum:V,initNum:C,speed:w,toFixed:q}=e,P=setInterval(()=>{if(C>V)if(r.current<=V||r.current<=w)r.current=V.toFixed(q),clearInterval(P),o("scroll-end"),r.valFlag=!1;else{let M=parseFloat(String(r.current))-parseFloat(String(w));r.current=M.toFixed(q)}else if(r.current>=V)r.current=V.toFixed(q),clearInterval(P),o("scroll-end"),r.valFlag=!1;else{let M=parseFloat(String(r.current))+parseFloat(String(w));r.current=M.toFixed(q)}},e.during)},g=V=>{let{initNum:C,endNum:w,toFixed:q,customBgImg:P}=e;P&&(C=e.customChangeNum);let M,A,T,z;C!=0?(q!=0&&(C=Number(C.toFixed(q))),String(C).indexOf(".")>-1?(M=String(C).split(".")[0].length,A=String(C).split(".")[1].length):(M=String(C).length,A=0)):(M=1,A=0),w!=0?(q!=0&&(w=Number(w.toFixed(q))),String(w).indexOf(".")>-1?(T=String(w).split(".")[0].length,z=String(w).split(".")[1].length):(T=String(w).length,z=0)):(T=1,z=0);let $=M>=T?M:T,x=A>=z?A:z;r.num_total_len=$+x,r.pointNum=x,C>w?(r.sortFlag="reduce",r.to0_10=[0,9,8,7,6,5,4,3,2,1,0],r.totalCount=h(C,w,"-"),r.numberVal=Number(String(C))):C<w?(r.sortFlag="add",r.to0_10=[0,1,2,3,4,5,6,7,8,9,0],r.totalCount=h(w,C,"-"),r.numberVal=Number(String(w))):r.sortFlag="equal";var H=1;for(let Y=0;Y<r.pointNum;Y++)H*=10;var j=r.numberVal*H;if(r.relNum=j,q!=0&&(r.pointNum=String(r.numberVal).split(".")[1]?String(r.numberVal).split(".")[1].length:0,r.num_total_len=String(j).length),String(C).indexOf(".")>-1){let Y=String(C).split(".");r.initDigit1=Number(Y[0]),r.initDigit2=Number(Y[1])}else r.initDigit1=C,r.initDigit2=0;i&&!P?t.nextTick(()=>{if(r.sortFlag=="equal")return!1;let Y=n.value[r.num_total_len-1];u(Y)}):V!==0&&S()},u=V=>{f();var C=1;r.pointNum!=0&&(C=1/Math.pow(10,r.pointNum)),r.timer=setInterval(()=>{p(V),r.totalCount=h(r.totalCount,C,"-"),r.totalCount<=0&&(f(),o("scroll-end"),r.valFlag=!1)},e.during)},p=V=>{let C=V.getAttribute("turn-number"),w;if(r.sortFlag=="add"?w=parseInt(String(C))+1:w=parseInt(String(C))-1>=0?parseInt(String(C))-1:9,V.setAttribute("turn-number",String(w)),(V.style.transition=="none 0s ease 0s"||w==1||!V.style.transition)&&(V.style.transition=`all linear ${e.during}ms`),w==10||r.sortFlag=="reduce"&&w==0){var q=null;V.style.top=`-${r.sortFlag=="add"?w*100:(10-w)*100}%`,V.setAttribute("turn-number","0"),q=setTimeout(()=>{q&&clearTimeout(q),V.style.transition="none",V.style.top="0",b(V,w)},.975*e.during)}else V.style.top=`-${r.sortFlag=="add"?w*100:(10-w)*100}%`;V.style.top=="-100%"&&r.sortFlag=="reduce"&&p(V.previousSibling)},b=(V,C)=>{setTimeout(()=>{C==10&&V.previousSibling&&p(V.previousSibling)},200)},S=()=>{r.pointNum!=0&&Math.pow(10,r.pointNum),t.nextTick(()=>{l.value.addEventListener("webkitTransitionEnd",()=>{o("scroll-end"),r.valFlag=!1})})},B=()=>{for(r.notPrize=[];r.notPrize.length<3;){var V=Math.floor(Math.random()*e.machinePrizeNum+1);r.notPrize.indexOf(V)==-1&&r.notPrize.push(V)}};Nk({machineLuck:()=>{const V=e.machineTurnMore<0?0:e.machineTurnMore;let C=e.numHeight*e.machinePrizeNum;r.prizeLevelTrun<0&&B();for(let w=0;w<e.machineNum;w++)setTimeout(()=>{let q=C*(w+1+parseFloat(String(V)));r.prizeYPrev.length!=0&&(r.prizeY[w]=r.prizeYPrev[w]);let P=r.prizeYPrev[w]?r.prizeYPrev[w]:0,M=q+P+(e.machinePrizeNum-r.prizeLevelTrun+1)*e.numHeight+(C-P);r.prizeLevelTrun<0&&(M+=e.numHeight*r.notPrize[w]),I(w,M,P)},500*w)}});const I=(V,C,w)=>{let q=setInterval(()=>{if(w<=C)w+=10,r.prizeY[V]=parseFloat(String(w));else if(clearInterval(q),q=null,r.finshMachine+=1,r.prizeY[V]=C,r.finshMachine==e.machineNum){let P=e.numHeight*e.machinePrizeNum;r.prizeYPrev=[],JSON.parse(JSON.stringify(r.prizeY)).forEach(A=>{let T=A;for(;T>P;)T-=P;r.prizeYPrev.push(T)}),setTimeout(()=>{r.finshMachine=0,r.prizeLevelTrun<0?(o("scroll-end",!1),r.valFlag=!1):(o("scroll-end",!0),r.valFlag=!1)},130)}},30)};return t.onMounted(()=>{r.current=e.initNum,t.nextTick(()=>{m()})}),t.onUnmounted(()=>{f(),r.timer=null}),{...t.toRefs(r),...t.toRefs(t.reactive(e)),runNumberImg:l,setRef:a,topNumber:y,turnNumber:k}}}),Ak={class:"fox-countup"},Ek=["turn-number"];function Tk(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",Ak,[e.customBgImg!=""?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.type=="machine"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-countup__machine",style:t.normalizeStyle({height:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.machineNum,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__machine-item",key:"mImg"+i,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionY:e.prizeY[i]+"px"})},null,4))),128))],4)):(t.openBlock(),t.createElementBlock("view",{key:1,ref:"runNumberImg",class:"fox-countup__numberimg",style:t.normalizeStyle({height:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.num_total_len,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__numberimg__item",key:"cImg"+i,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",left:e.numWidth*(i>e.num_total_len-e.pointNum-1?i==e.num_total_len-e.pointNum?i*1.5:i*1.3:i)+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionX:"0",backgroundPositionY:-(+String(e.relNum)[i]*e.numHeight+e.customSpacNum*+String(e.relNum)[i])+"px",transition:"all linear "+e.during/10+"ms"})},null,4))),128)),e.pointNum>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-countup-pointstyl",style:t.normalizeStyle({width:e.numWidth/2+"px",bottom:0,left:e.numWidth*(e.num_total_len-e.pointNum)*1.1+"px",fontSize:"30px"})},".",4)):t.createCommentVNode("",!0)],4))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.scrolling?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-countup__number",style:t.normalizeStyle({width:e.numWidth*e.num_total_len+e.numWidth/3+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.num_total_len,(s,i)=>(t.openBlock(),t.createElementBlock("view",{ref_for:!0,ref:c=>e.setRef(c),class:"fox-countup__number-item",key:s,style:t.normalizeStyle({top:e.topNumber(i),left:e.numWidth*(i>e.num_total_len-e.pointNum-1?i*1.1:i)+"px"}),"turn-number":e.turnNumber(i)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.to0_10,(c,d)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__number-item__span",key:"dote"+d,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},t.toDisplayString(c),5))),128))],12,Ek))),128)),e.pointNum>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-countup-pointstyl",style:t.normalizeStyle({width:e.numWidth/3+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px",top:0,left:e.numWidth*(e.num_total_len-e.pointNum)+"px"})},".",4)):t.createCommentVNode("",!0)],4)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.current),1)],64))],64))])}const dr=W(Vk,[["render",Tk]]),$k=e=>{if(!e)return Date.now();let o=Number(e),l=o>0?+o:o.toString().replace(/\-/g,"/");return new Date(l).getTime()},{componentName:Dk,create:Ik}=U("countdown"),qk=Ik({props:{modelValue:{type:Object,default:()=>({})},paused:{default:!1,type:Boolean},startTime:{type:[Number,String],validator(e){return new Date(e).toString().toLowerCase()!=="invalid date"}},endTime:{type:[Number,String],validator(e){return new Date(e).toString().toLowerCase()!=="invalid date"}},millisecond:{default:!1,type:Boolean},format:{type:String,default:"HH:mm:ss"},autoStart:{type:Boolean,default:!0},time:{type:[Number,String],default:0}},emits:["input","on-end","on-restart","on-paused","update:modelValue"],setup(e,{emit:o,slots:l}){const n=t.reactive({restTime:0,timer:null,counting:!e.paused&&e.autoStart,handleEndTime:Date.now(),diffTime:0}),a=t.computed(()=>({[Dk]:!0})),r=t.computed(()=>c(n.restTime)),s=()=>{n.handleEndTime=e.endTime,n.diffTime=Date.now()-$k(e.startTime),n.counting||(n.counting=!0),i()},i=()=>{window!==void 0&&(n.timer=requestAnimationFrame(()=>{if(n.counting){const y=Date.now()-n.diffTime,k=Math.max(n.handleEndTime-y,0);n.restTime=k,k||(n.counting=!1,f(),o("on-end")),k>0&&i()}}))},c=(y,k)=>{const v=y;let g={d:0,h:0,m:0,s:0,ms:0};const u=1e3,p=60*u,b=60*p,S=24*b;return v>0&&(g.d=v>=u?Math.floor(v/S):0,g.h=Math.floor(v%S/b),g.m=Math.floor(v%b/p),g.s=Math.floor(v%p/u),g.ms=Math.floor(v%u)),k=="custom"?g:d({...g})},d=y=>{let{d:k,h:v,m:g,s:u,ms:p}=y,b=e.format;if(b.includes("DD")?b=b.replace("DD",Qe(k)):v+=Number(k)*24,b.includes("HH")?b=b.replace("HH",Qe(v)):g+=Number(v)*60,b.includes("mm")?b=b.replace("mm",Qe(g)):u+=Number(g)*60,b.includes("ss")?b=b.replace("ss",Qe(u)):p+=Number(u)*1e3,b.includes("S")){const S=Qe(p,3).toString();b.includes("SSS")?b=b.replace("SSS",S):b.includes("SS")?b=b.replace("SS",S.slice(0,2)):b.includes("S")&&(b=b.replace("SS",S.slice(0,1)))}return b},m=()=>{!n.counting&&!e.autoStart&&(n.counting=!0,n.handleEndTime=Date.now()+Number(n.restTime),i(),o("on-restart",n.restTime))},f=()=>{cancelAnimationFrame(n.timer),n.counting=!1,o("on-paused",n.restTime)},h=()=>{e.autoStart||(f(),n.restTime=e.time)};return t.onBeforeMount(()=>{e.autoStart?s():n.restTime=e.time}),t.watch(()=>n.restTime,y=>{let k=c(y,"custom");o("update:modelValue",k),o("input",k)}),t.watch(()=>e.paused,(y,k)=>{k?(n.counting||(n.counting=!0,n.handleEndTime=Date.now()+Number(n.restTime),i()),o("on-restart",n.restTime)):n.counting&&f()}),t.watch(()=>e.endTime,y=>{s()}),t.watch(()=>e.startTime,y=>{s()}),{...t.toRefs(e),slots:l,classes:a,start:m,pause:f,renderTime:r,reset:h}}}),Mk=["innerHTML"];function zk(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.slots.default?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-countdown__content",innerHTML:e.renderTime},null,8,Mk))],2)}const fr=W(qk,[["render",zk]]),{create:xk}=U("badge"),Lk=xk({props:{value:{type:[String,Number]},max:{type:Number,default:1e4},dot:{type:Boolean,default:!1},bubble:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},top:{type:String,default:"0"},right:{type:String,default:"0"},zIndex:{type:Number,default:9},color:{type:String,default:""}},setup(e){const o=t.reactive({}),l=t.computed(()=>({top:`${e.top}px`,right:`${e.right}px`,zIndex:e.zIndex,background:e.color})),n=t.computed(()=>{if(e.dot)return;const a=e.value,r=e.max;return typeof a=="number"&&typeof r=="number"&&r<a?`${r}+`:a});return{state:o,stl:l,content:n}}}),Pk={class:"fox-badge"},Rk=["textContent"];function Ok(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",Pk,[t.withDirectives(t.createElementVNode("view",{class:"fox-badge__icon",style:t.normalizeStyle(e.stl)},[t.renderSlot(e.$slots,"icon")],4),[[t.vShow,!e.hidden&&!e.dot&&e.$slots.icon]]),t.renderSlot(e.$slots,"default"),t.withDirectives(t.createElementVNode("view",{textContent:t.toDisplayString(e.content),class:t.normalizeClass(["fox-badge__content fox-badge__content--sup",{"fox-badge__content--dot":e.dot,"fox-badge__content--bubble":!e.dot&&e.bubble}]),style:t.normalizeStyle(e.stl)},null,14,Rk),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}const mr=W(Lk,[["render",Ok]]),{componentName:Fk,create:Uk}=U("tag"),Kk=Uk({props:{color:{type:String,default:""},textColor:{type:String,default:""},type:{type:String,default:"default"},plain:{type:Boolean,default:!1},round:{type:Boolean,default:!1},mark:{type:Boolean,default:!1},closeable:{type:Boolean,default:!1}},components:{Close:G.Close},emits:["close","click"],setup(e,{emit:o}){const{type:l,color:n,plain:a,round:r,mark:s,textColor:i}=t.toRefs(e);return{classes:t.computed(()=>{const h=Fk;return{[h]:!0,[`${h}--${l.value}`]:l.value,[`${h}--plain`]:a.value,[`${h}--round`]:r.value,[`${h}--mark`]:s.value}}),getStyle:()=>{const h={};return i.value?h.color=i.value:n.value&&a.value&&(h.color=n.value),a.value?(h.background="#fff",h["border-color"]=n.value):n.value&&(h.background=n.value),h},onClose:h=>{h.stopPropagation(),o("close",h)},onClick:h=>{o("click",h)}}}});function Hk(e,o,l,n,a,r){const s=t.resolveComponent("Close");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle()),onClick:o[0]||(o[0]=(...i)=>e.onClick&&e.onClick(...i))},[t.renderSlot(e.$slots,"default"),e.closeable?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-tag--close",width:"12px",height:"12px",onClick:e.onClose},null,8,["onClick"])):t.createCommentVNode("",!0)],6)}const so=W(Kk,[["render",Hk]]),{create:jk}=U("popover"),Wk=jk({components:{[ce.name]:ce},props:{visible:{type:Boolean,default:!1},list:{type:Array,default:[]},theme:{type:String,default:"light"},location:{type:String,default:"bottom"},offset:{type:Array,default:[0,12]},arrowOffset:{type:Number,default:0},customClass:{type:String,default:""},showArrow:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},overlay:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0},closeOnClickAction:{type:Boolean,default:!0},closeOnClickOutside:{type:Boolean,default:!0},targetId:{type:String,default:""},bgColor:{type:String,default:""}},emits:["update","update:visible","close","choose","open"],setup(e,{emit:o}){const l=t.ref(),n=t.ref(),a=t.ref(e.visible);let r=t.ref(),s=t.ref();const i=t.computed(()=>{const p="fox-popover-arrow",b=e.location,S=b.split("-")[0];return`${p} ${p}-${S} ${p}--${b}`}),c=t.computed(()=>{const p={},{bgColor:b,arrowOffset:S,location:B}=e,E=B.split("-")[0],I=B.split("-")[1],V=16;return b&&(p[`border${d(E)}Color`]=b),e.arrowOffset!=0&&(["bottom","top"].includes(E)&&(I||(p.left=`calc(50% + ${S}px)`),I=="start"&&(p.left=`${V+S}px`),I=="end"&&(p.right=`${V-S}px`)),["left","right"].includes(E)&&(I||(p.top=`calc(50% - ${S}px)`),I=="start"&&(p.top=`${V-S}px`),I=="end"&&(p.bottom=`${V+S}px`))),p}),d=b=>{var b=b.toLowerCase();return b=b.replace(/\b\w+\b/g,S=>S.substring(0,1).toUpperCase()+S.substring(1)),b},m=t.computed(()=>{let p={};if(!r.value||!s.value)return{};const b=s.value.width,S=s.value.height,{width:B,height:E,left:I,top:V}=r.value,{location:C,offset:w}=e,q=C.split("-")[0],P=C.split("-")[1];let M=0,A=0;if(co(w)&&w.length==2&&(M+=+w[1],A+=+w[0]),B){if(["bottom","top"].includes(q)){const T=q=="bottom"?E+M:-(S+M);p.top=`${V+T}px`,P||(p.left=`${-(b-B)/2+I+A}px`),P=="start"&&(p.left=`${I+A}px`),P=="end"&&(p.left=`${r.value.right+A}px`)}if(["left","right"].includes(q)){const T=q=="left"?-(b+M):B+M;p.left=`${I+T}px`,P||(p.top=`${V-S/2+E/2-4+A}px`),P=="start"&&(p.top=`${V+A}px`),P=="end"&&(p.top=`${V+E+A}px`)}}return p}),f=t.computed(()=>{const p={};return e.bgColor&&(p.background=e.bgColor),p}),h=()=>{let p=be(l.value);e.targetId&&(p=be(document.querySelector(`#${e.targetId}`))),r.value=p,setTimeout(()=>{s.value={height:n.value.clientHeight,width:n.value.clientWidth}},0)};t.onMounted(()=>{setTimeout(()=>{h()},200)}),t.watch(()=>e.visible,p=>{a.value=p,p?(window.addEventListener("touchstart",u,!0),h()):window.removeEventListener("touchstart",u,!0)});const y=p=>{o("update",p),o("update:visible",p)},k=()=>{y(!e.visible),o("open")},v=()=>{o("update:visible",!1),o("close")},g=(p,b)=>{!p.disabled&&o("choose",p,b),e.closeOnClickAction&&v()},u=p=>{const b=l.value,S=n.value;let B=b&&!b.contains(p.target);if(e.targetId){const E=document.querySelector(`#${e.targetId}`);B=E&&!E.contains(p.target)}B&&S&&!S.contains(p.target)&&e.closeOnClickOutside&&v()};return{showPopup:a,openPopover:k,popoverArrow:i,closePopover:v,chooseItem:g,popoverRef:l,popoverContentRef:n,getRootPosition:m,customStyle:f,popoverArrowStyle:c,renderIcon:Tl}}}),Yk={ref:"popoverContentRef",class:"fox-popover-content-group"},Xk=["onClick"],Qk={class:"fox-popover-menu-item-name"};function Gk(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.targetId?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-popover-wrapper",onClick:o[0]||(o[0]=(...i)=>e.openPopover&&e.openPopover(...i)),ref:"popoverRef"},[t.renderSlot(e.$slots,"reference")],512)),t.createElementVNode("view",{class:t.normalizeClass(["fox-popover",`fox-popover--${e.theme}`,`${e.customClass}`]),style:t.normalizeStyle(e.getRootPosition)},[t.createVNode(s,{popClass:`fox-popover-content fox-popover-content--${e.location}`,style:t.normalizeStyle(e.customStyle),visible:e.showPopup,"onUpdate:visible":o[1]||(o[1]=i=>e.showPopup=i),position:"",transition:"fox-popover",overlay:e.overlay,duration:e.duration,overlayStyle:e.overlayStyle,overlayClass:e.overlayClass,closeOnClickOverlay:e.closeOnClickOverlay},{default:t.withCtx(()=>[t.createElementVNode("view",Yk,[e.showArrow?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.popoverArrow),style:t.normalizeStyle(e.popoverArrowStyle)},null,6)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content"),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.list,(i,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass([i.className,i.disabled&&"fox-popover-menu-disabled","fox-popover-menu-item"]),onClick:t.withModifiers(d=>e.chooseItem(i,c),["stop"])},[i.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(i.icon)),{key:0,class:"fox-popover-item-img"})):t.createCommentVNode("",!0),t.createElementVNode("view",Qk,t.toDisplayString(i.name),1)],10,Xk))),128))],512)]),_:3},8,["popClass","style","visible","overlay","duration","overlayStyle","overlayClass","closeOnClickOverlay"])],6)],64)}const io=W(Wk,[["render",Gk]]),Zk=e=>({components:e,props:{width:{type:String,default:"100px"},height:{type:String,default:"15px"},animated:{type:Boolean,default:!1},avatar:{type:Boolean,default:!1},avatarShape:{type:String,default:"round"},avatarSize:{type:String,default:"50px"},loading:{type:Boolean,default:!0},round:{type:Boolean,default:!1},row:{type:String,default:"1"},title:{type:Boolean,default:!0}},setup(o){const{avatarShape:l,round:n,avatarSize:a}=t.toRefs(o),r=t.computed(()=>{const c="avatarClass";return{[c]:!0,[`${c}--${l.value}`]:l.value}});return{avatarShape:l,avatarClass:r,getBlockClass:c=>({[c]:!0,[`${c}--round`]:n.value}),getStyle:()=>a.value?{width:a.value,height:a.value}:{width:"50px",height:"50px"}}}}),{create:Jk}=U("skeleton"),_k=Jk(Zk({[ro.name]:ro})),eb={key:0},tb={key:1,class:"fox-skeleton"},ob={key:0,class:"fox-skeleton-animation"},nb={class:"fox-skeleton-content"};function lb(e,o,l,n,a,r){const s=t.resolveComponent("fox-avatar");return e.loading?(t.openBlock(),t.createElementBlock("view",tb,[e.animated?(t.openBlock(),t.createElementBlock("view",ob)):t.createCommentVNode("",!0),t.createElementVNode("view",nb,[e.avatar?(t.openBlock(),t.createBlock(s,{key:0,class:t.normalizeClass(e.avatarClass),shape:e.avatarShape,style:t.normalizeStyle(e.getStyle())},null,8,["class","shape","style"])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-skeleton-content__line",style:t.normalizeStyle({width:e.width})},[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.getBlockClass("fox-skeleton-blockTitle")),style:t.normalizeStyle({height:e.height})},null,6)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Number(e.row),i=>(t.openBlock(),t.createElementBlock("view",{key:i,class:t.normalizeClass(e.getBlockClass("fox-skeleton-blockLine")),style:t.normalizeStyle({height:e.height})},null,6))),128))],4)])])):(t.openBlock(),t.createElementBlock("view",eb,[t.renderSlot(e.$slots,"default")]))}const pr=W(_k,[["render",lb]]),{create:ab,componentName:rb}=U("collapse"),sb=ab({props:{modelValue:{type:[String,Number,Array],default:""},accordion:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:o}){const l=t.ref(null),n=t.ref(e.modelValue||(e.accordion?"":[])),a=t.computed(()=>({[rb]:!0}));t.watch(()=>e.modelValue,c=>{n.value=c});const r=(c,d,m=!0)=>{n.value=c,o("update:modelValue",c),o("change",c,d,m)},s=c=>{if(e.accordion)n.value===c?r("",c,!1):r(c,c,!0);else if(Array.isArray(n.value))if(n.value.includes(c)){const d=n.value.filter(m=>m!==c);r(d,c,!1)}else{const d=n.value.concat([c]);r(d,c,!0)}else console.warn("[FoxUI] <Collapse> 未开启手风琴模式时 v-model 应为数组")},i=c=>e.accordion?n.value===c:Array.isArray(n.value)?n.value.includes(c):!1;return t.provide("collapseParent",{updateVal:s,isExpanded:i}),{collapseDom:l,classes:a}}});function ib(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"collapseDom"},[t.renderSlot(e.$slots,"default")],2)}const hr=W(sb,[["render",ib]]),{create:cb,componentName:ub}=U("collapse-item"),db=cb({props:{collapseRef:{type:Object},title:{type:String,default:""},value:{type:String,default:""},label:{type:String,default:""},disabled:{type:Boolean,default:!1},name:{type:[Number,String],default:-1,required:!0},border:{type:Boolean,default:!0},icon:{type:Object,default:G.DownArrow},rotate:{type:[String,Number],default:180}},setup(e){const o=t.ref(null),l=t.ref(null),n=t.inject("collapseParent"),a=t.reactive(n),r=t.computed(()=>{const h=ub;return{[h]:!0,[h+"__border"]:e.border}}),s=t.computed(()=>a?a.isExpanded(e.name):!1),i=t.ref(s.value?"auto":"0px"),c=()=>{a.updateVal(e.name)},d=()=>{s.value&&(i.value="auto")},m=()=>{i.value="0px",requestAnimationFrame(()=>{requestAnimationFrame(()=>{const h=l.value?.offsetHeight;i.value=h?`${h}px`:"auto"})})},f=()=>{const h=l.value?.offsetHeight;i.value=h?`${h}px`:"auto",requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.value="0px"})})};return t.watch(s,h=>{h?m():f()}),{classes:r,renderIcon:Tl,wrapperRef:o,contentRef:l,open:m,toggle:c,wrapperHeight:i,expanded:s,onTransitionEnd:d}}}),fb={class:"fox-collapse-item__title-main"},mb={class:"fox-collapse-item__title-main-value"},pb=["innerHTML"],hb={key:2,class:"fox-collapse-item__title-label"},gb={key:0,class:"fox-collapse-item__title-sub"},yb=["innerHTML"],vb={key:0,class:"fox-collapse__item-extraWrapper"},kb={class:"fox-collapse__item-extraWrapper__extraRender"},bb={class:"fox-collapse__item-wrapper__content",ref:"contentRef"};function Sb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-collapse-item__title",{"fox-collapse-item__title--disabled":e.disabled}]),onClick:o[0]||(o[0]=(...s)=>e.toggle&&e.toggle(...s))},[t.createElementVNode("view",fb,[t.createElementVNode("view",mb,[e.$slots.title?t.renderSlot(e.$slots,"title",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.title,class:"fox-collapse-item__title-mtitle"},null,8,pb)),e.label?(t.openBlock(),t.createElementBlock("view",hb,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0)])]),e.$slots.value?(t.openBlock(),t.createElementBlock("view",gb,[t.renderSlot(e.$slots,"value")])):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.value,class:"fox-collapse-item__title-sub"},null,8,yb)),t.createElementVNode("view",{class:t.normalizeClass(["fox-collapse-item__title-icon",{"fox-collapse-item__title-icon--expanded":e.expanded}]),style:t.normalizeStyle({transform:"rotate("+(e.expanded?e.rotate:0)+"deg)"})},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.icon))))],6)],2),e.$slots.extra?(t.openBlock(),t.createElementBlock("view",vb,[t.createElementVNode("div",kb,[t.renderSlot(e.$slots,"extra")])])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-collapse__item-wrapper",ref:"wrapperRef",style:t.normalizeStyle({willChange:"height",height:e.wrapperHeight}),onTransitionend:o[1]||(o[1]=(...s)=>e.onTransitionEnd&&e.onTransitionEnd(...s))},[t.createElementVNode("view",bb,[t.renderSlot(e.$slots,"default")],512)],36)],2)}const gr=W(db,[["render",Sb]]),Cb=t.defineComponent({setup(e){return()=>t.h("view",{},e.slots[0]?e.slots[0](e.record):e.slots[1](e.record))},props:{slots:Array,record:Object}}),{componentName:wb,create:Nb,scope:Bb}=U("table"),Vb=Nb({components:{RenderColumn:Cb,DownArrow:G.DownArrow},props:{bordered:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},data:{type:Object,default:()=>({})},summary:{type:Function,default:null},striped:{type:Boolean,default:!1}},emits:["sorter"],setup(e,{emit:o,slots:l}){const{t:n}=se.useFoxI18n(Bb),a=t.reactive({curData:e.data}),r=t.computed(()=>({[wb]:!0})),s=y=>({"fox-table__main__head__tr--border":e.bordered,[`fox-table__main__head__tr--align${y.align?y.align:""}`]:!0}),i=y=>y.stylehead?y.stylehead:"",c=y=>y.stylecolumn?y.stylecolumn:"",d=y=>e.columns.filter(k=>k.key===y)[0],m=y=>{const k=e.columns.filter(v=>v.key===y);return k[0].stylecolumn?k[0].stylecolumn:""},f=y=>{y.sorter&&(o("sorter",y),a.curData=typeof y.sorter=="function"?a.curData.sort(y.sorter):y.sorter==="default"?a.curData.sort():a.curData)},h=()=>e.columns.map(y=>[y.key,y.render]);return t.watch(()=>e.data,y=>{a.curData=y.slice()}),{...t.toRefs(a),classes:r,cellClasses:s,getColumnItem:d,getColumnItemStyle:m,handleSorterClick:f,sortDataItem:h,t:n,stylehead:i,stylecolumn:c}}}),Ab={class:"fox-table__main__head"},Eb={class:"fox-table__main__head__tr"},Tb=["onClick"],$b={class:"fox-table__main__body"},Db={key:1},Ib={key:0,class:"fox-table__nodata"},qb={key:0,class:"fox-table__nodata__text"},Mb={key:1,class:"fox-table__summary"},zb=["innerHTML"];function xb(e,o,l,n,a,r){const s=t.resolveComponent("DownArrow"),i=t.resolveComponent("RenderColumn");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-table__main",{"fox-table__main--striped":e.striped}])},[t.createElementVNode("view",Ab,[t.createElementVNode("view",Eb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.columns,c=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__head__tr__th",e.cellClasses(c)]),key:c.key,onClick:d=>e.handleSorterClick(c),style:t.normalizeStyle(c.stylehead)},[t.createTextVNode(t.toDisplayString(c.title)+" ",1),t.renderSlot(e.$slots,"icon"),!e.$slots.icon&&c.sorter?(t.openBlock(),t.createBlock(s,{key:0,width:"12px",height:"12px"})):t.createCommentVNode("",!0)],14,Tb))),128))])]),t.createElementVNode("view",$b,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.curData,c=>(t.openBlock(),t.createElementBlock("view",{class:"fox-table__main__body__tr",key:c},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.sortDataItem(),([d,m])=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(d))]),key:d,style:t.normalizeStyle(e.getColumnItemStyle(d))},[typeof c[d]=="function"||typeof m=="function"?(t.openBlock(),t.createBlock(i,{key:0,slots:[m,c[d]],record:c},null,8,["slots","record"])):(t.openBlock(),t.createElementBlock("view",Db,t.toDisplayString(c[d]),1))],6))),128))]))),128))])],2),e.curData.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Ib,[t.createElementVNode("div",{class:t.normalizeClass(["fox-table__nodata",{"fox-table__nodata--border":e.bordered}])},[t.renderSlot(e.$slots,"nodata"),e.$slots.nodata?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",qb,t.toDisplayString(e.t("noData")),1))],2)])),e.summary?(t.openBlock(),t.createElementBlock("view",Mb,[t.createElementVNode("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,zb)])):t.createCommentVNode("",!0)],2)}const yr=W(Vb,[["render",xb]]),{componentName:Lb,create:Pb}=U("ellipsis"),Rb=Pb({props:{content:{type:String,default:""},direction:{type:String,default:"end"},rows:{type:[Number,String],default:1},expandText:{type:String,default:""},collapseText:{type:String,default:""},symbol:{type:String,default:"..."},lineHeight:{type:[Number,String],default:"20"}},emits:["click","change"],setup(e,{emit:o}){const l=t.ref(null);let n=null,a=0;const r=t.ref(),s=t.reactive({exceeded:!1,expanded:!1}),i=t.computed(()=>({[Lb]:!0}));t.watch(()=>e.content,(v,g)=>{v!=g&&c()}),t.onMounted(()=>{c()});const c=()=>{if(!l.value)return;const v=window.getComputedStyle(l.value);n=document.createElement("div"),Array.prototype.slice.apply(v).forEach(p=>{n.style.setProperty(p,v.getPropertyValue(p))}),n.style.position="fixed",n.style.left="999999px",n.style.top="999999px",n.style.zIndex="-1000",n.style.height="auto",n.style.minHeight="auto",n.style.maxHeight="auto",n.style.textOverflow="clip",n.style.whiteSpace="normal",n.style.webkitLineClamp="unset",n.style.display="block";const u=h(v.lineHeight==="normal"?e.lineHeight:v.lineHeight);a=Math.floor(u*(Number(e.rows)+.5)+h(v.paddingTop)+h(v.paddingBottom)),n.innerText=e.content,document.body.appendChild(n),d()},d=()=>{if(n.offsetHeight<=a)s.exceeded=!1,document.body.removeChild(n);else{s.exceeded=!0;const v=e.content.length,g=Math.floor((0+v)/2),u=e.direction==="middle"?f([0,g],[g,v]):m(0,v);r.value=u,document.body.removeChild(n)}},m=(v,g)=>{const u=s.expanded?e.collapseText:e.expandText,p=e.content.length;if(g-v<=1)return e.direction==="end"?{leading:e.content.slice(0,v)+e.symbol}:{tailing:e.symbol+e.content.slice(g,p)};const b=Math.round((v+g)/2);return e.direction==="end"?n.innerText=e.content.slice(0,b)+e.symbol+u:n.innerText=u+e.symbol+e.content.slice(b,p),n.offsetHeight<=a?e.direction==="end"?m(b,g):m(v,b):e.direction==="end"?m(v,b):m(b,g)},f=(v,g)=>{const u=s.expanded?e.collapseText:e.expandText,p=e.content.length;if(v[1]-v[0]<=1&&g[1]-g[0]<=1)return{leading:e.content.slice(0,v[0])+e.symbol,tailing:e.symbol+e.content.slice(g[1],p)};const b=Math.floor((v[0]+v[1])/2),S=Math.ceil((g[0]+g[1])/2);return n.innerText=e.content.slice(0,b)+e.symbol+u+e.symbol+e.content.slice(S,p),n.offsetHeight<=a?f([b,v[1]],[g[0],S]):f([v[0],b],[S,g[1]])},h=v=>{if(!v)return 0;const g=v.match(/^\d*(\.\d*)?/);return g?Number(g[0]):0},y=v=>{v==1?(s.expanded=!0,o("change","expand")):(s.expanded=!1,o("change","collapse"))},k=()=>{o("click")};return{...t.toRefs(s),root:l,ellipsis:r,classes:i,clickHandle:y,handleClick:k}}}),Ob={key:0},Fb={key:1},Ub={key:2};function Kb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[2]||(o[2]=(...s)=>e.handleClick&&e.handleClick(...s)),ref:"root"},[e.exceeded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Ob,t.toDisplayString(e.content),1)),e.exceeded&&!e.expanded?(t.openBlock(),t.createElementBlock("view",Fb,[t.createTextVNode(t.toDisplayString(e.ellipsis&&e.ellipsis.leading),1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis__text",onClick:o[0]||(o[0]=t.withModifiers(s=>e.clickHandle(1),["stop"]))},t.toDisplayString(e.expandText),1)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(e.ellipsis&&e.ellipsis.tailing),1)])):t.createCommentVNode("",!0),e.exceeded&&e.expanded?(t.openBlock(),t.createElementBlock("view",Ub,[t.createTextVNode(t.toDisplayString(e.content)+" ",1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis__text",onClick:o[1]||(o[1]=t.withModifiers(s=>e.clickHandle(2),["stop"]))},t.toDisplayString(e.collapseText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)}const vr=W(Rb,[["render",Kb]]),{componentName:Hb,create:jb}=U("animate"),Wb=jb({props:{type:{type:String,default:""},action:{type:String,default:"initial"},loop:{type:Boolean,default:!1},duration:{type:[String,Number]}},emits:["click"],setup(e,{emit:o}){const{type:l,loop:n,action:a}=t.toRefs(e),r=t.reactive({clicked:!1});let s=t.computed(()=>({"fox-animate__container":!0,[`${Hb}-${l.value}`]:a.value==="initial"||r.clicked?l.value:!1,loop:n.value}));const i=c=>{r.clicked=!0,n.value||setTimeout(()=>{r.clicked=!1},1e3),o("click",c)};return{...t.toRefs(r),classes:s,handleClick:i}}}),Yb={class:"fox-animate"};function Xb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",Yb,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=(...s)=>e.handleClick&&e.handleClick(...s)),style:t.normalizeStyle({animationDuration:e.duration?`${e.duration}ms`:void 0})},[t.renderSlot(e.$slots,"default")],6)])}const kr=W(Wb,[["render",Xb]]),{componentName:Qb,create:Gb}=U("watermark"),Zb=Gb({props:{name:{type:String,default:""},gapY:{type:Number,default:48},gapX:{type:Number,default:24},zIndex:{type:Number,default:2e3},width:{type:Number,default:120},height:{type:Number,default:64},rotate:{type:Number,default:-22},image:{type:String,default:""},imageWidth:{type:Number,default:120},imageHeight:{type:Number,default:64},content:{type:String,default:""},fontColor:{type:String,default:"rgba(0,0,0,.15)"},fontStyle:{type:String,default:"normal"},fontFamily:{type:String,default:"PingFang SC"},fontWeight:{type:String,default:"normal"},fontSize:{type:[String,Number],default:14},fullPage:{type:Boolean,default:""}},emits:["click"],setup(e,{emit:o}){const l=t.reactive({base64Url:""}),{zIndex:n,gapX:a,gapY:r,width:s,height:i,rotate:c,image:d,imageWidth:m,imageHeight:f,content:h,fontStyle:y,fontWeight:k,fontColor:v,fontSize:g,fontFamily:u}=e,p=()=>{const S=document.createElement("canvas"),B=window.devicePixelRatio,E=S.getContext("2d"),I=`${(a+s)*B}px`,V=`${(r+i)*B}px`,C=s*B,w=i*B;if(S.setAttribute("width",I),S.setAttribute("height",V),E){if(d){E.translate(C/2,w/2),E.rotate(Math.PI/180*Number(c));const q=new Image;q.crossOrigin="anonymous",q.referrerPolicy="no-referrer",q.src=d,q.onload=()=>{E.drawImage(q,-m*B/2,-f*B/2,m*B,f*B),E.restore(),l.base64Url=S.toDataURL()}}else if(h){E.textBaseline="middle",E.textAlign="center",E.translate(C/2,w/2),E.rotate(Math.PI/180*Number(c));const q=Number(g)*B;E.font=`${y} normal ${k} ${q}px/${w}px ${u}`,E.fillStyle=v,E.fillText(h,0,0),E.restore(),l.base64Url=S.toDataURL()}}else throw new Error("当前环境不支持Canvas")};p(),t.watch(()=>[n,a,r,s,i,c,d,m,f,h,y,k,v,g,u],()=>{p()});const b=t.computed(()=>{const S=Qb;return{[S]:!0,[`${S}-full-page`]:e.fullPage}});return{...t.toRefs(l),classes:b}}});function Jb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({zIndex:e.zIndex,backgroundSize:`${e.gapX+e.width}px`,backgroundImage:`url('${e.base64Url}')`})},null,6)}const br=W(Zb,[["render",Jb]]);function _b(e,o=2){return Object.is(parseFloat(e),NaN)?console.log(`传入的值:${e}不是一个数字`):(e=parseFloat(e),(Math.round((e+Number.EPSILON)*Math.pow(10,o))/Math.pow(10,o)).toFixed(o))}const{componentName:eS,create:tS}=U("trend-arrow"),oS=tS({components:{TriangleUp:G.TriangleUp,TriangleDown:G.TriangleDown},props:{rate:{type:Number,default:0},digits:{type:Number,default:2},showSign:{type:Boolean,default:!1},showZero:{type:Boolean,default:!1},arrowLeft:{type:Boolean,default:!1},syncTextColor:{type:Boolean,default:!0},textColor:{type:String,default:"#333"},riseColor:{type:String,default:"#fa2c19"},dropColor:{type:String,default:"#64b578"}},setup(e){const o=t.reactive({rateTrend:e.rate>0}),l=t.computed(()=>({[eS]:!0})),n=t.computed(()=>{const{rate:r,digits:s,showSign:i,showZero:c}=e;o.rateTrend=r>0;const d=Math.abs(r);return!c&&r===0?"--":`${i&&r!==0?o.rateTrend?"+":"-":""}${_b(Number(d),s)}%`}),a=t.computed(()=>{const{dropColor:r,riseColor:s,syncTextColor:i,textColor:c,rate:d}=e;return{color:d===0?c:i?o.rateTrend?s:r:c}});return{...t.toRefs(o),classes:l,calcRate:n,calcStyle:a}}});function nS(e,o,l,n,a,r){const s=t.resolveComponent("TriangleUp"),i=t.resolveComponent("TriangleDown");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.arrowLeft?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-trend-arrow-icon-before fox-trend-arrow-rate",style:t.normalizeStyle(e.calcStyle)},t.toDisplayString(e.calcRate),5)),Number(e.rate)!==0&&e.rateTrend?t.renderSlot(e.$slots,"up-icon",{key:1},()=>[t.createVNode(s,{color:e.riseColor},null,8,["color"])]):t.createCommentVNode("",!0),Number(e.rate)!==0&&!e.rateTrend?t.renderSlot(e.$slots,"down-icon",{key:2},()=>[t.createVNode(i,{color:e.dropColor},null,8,["color"])]):t.createCommentVNode("",!0),e.arrowLeft?(t.openBlock(),t.createElementBlock("span",{key:3,class:"fox-trend-arrow-icon-after fox-trend-arrow-rate",style:t.normalizeStyle(e.calcStyle)},t.toDisplayString(e.calcRate),5)):t.createCommentVNode("",!0)],2)}const Sr=W(oS,[["render",nS]]),{create:lS}=U("tour"),aS=lS({components:{[io.name]:io,Close:G.Close},props:{modelValue:{type:Boolean,default:!1},type:{type:String,default:"step"},steps:{type:Array,default:()=>[]},location:{type:String,default:"bottom"},current:{type:Number,default:0},nextStepTxt:{type:String,default:"下一步"},prevStepTxt:{type:String,default:"上一步"},completeTxt:{type:String,default:"完成"},mask:{type:Boolean,default:!0},offset:{type:Array,default:[8,10]},bgColor:{type:String,default:""},theme:{type:String,default:"light"},maskWidth:{type:[Number,String],default:""},maskHeight:{type:[Number,String],default:""},closeOnClickOverlay:{type:Boolean,default:!0},showPrevStep:{type:Boolean,default:!0},showTitleBar:{type:Boolean,default:!0}},emits:["update:modelValue","change","close"],setup(e,{emit:o}){const l=t.reactive({showTour:e.modelValue,showPopup:!1,active:0}),n=t.ref({}),a=t.computed(()=>"fox-tour"),r=t.computed(()=>{const{offset:m,maskWidth:f,maskHeight:h}=e,{width:y,height:k,left:v,top:g}=n.value,u=[v+y/2,g+k/2],p=Number(f||y),b=Number(h||k);return{width:`${p+ +m[1]*2}px`,height:`${b+ +m[0]*2}px`,top:`${u[1]-b/2-+m[0]}px`,left:`${u[0]-p/2-+m[1]}px`}}),s=m=>{m=="next"?l.active=l.active+1:l.active=l.active-1,l.showPopup=!1,t.nextTick(()=>{l.showPopup=!0,i()}),o("change",l.active)},i=()=>{const m=document.querySelector(`#${e.steps[l.active].target}`),f=be(m);n.value=f},c=()=>{l.showTour=!1,l.showPopup=!1,o("close",l.active),o("update:modelValue",!1)},d=()=>{e.closeOnClickOverlay&&c()};return t.onMounted(()=>{l.active=0,i()}),t.watch(()=>e.modelValue,m=>{m&&i(),l.active=0,l.showTour=m,l.showPopup=m}),{...t.toRefs(l),classes:a,maskStyle:r,changeStep:s,close:c,handleClickMask:d}}}),rS={key:0,class:"fox-tour-content"},sS={key:0,class:"fox-tour-content-top"},iS={class:"fox-tour-content-inner"},cS={class:"fox-tour-content-bottom"},uS={class:"fox-tour-content-bottom-init"},dS={class:"fox-tour-content-bottom-operate"},fS={key:1,class:"fox-tour-content fox-tour-content-tile"},mS={class:"fox-tour-content-inner"};function pS(e,o,l,n,a,r){const s=t.resolveComponent("Close"),i=t.resolveComponent("fox-popover");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.withDirectives(t.createElementVNode("div",{class:"fox-tour-masked",onClick:o[0]||(o[0]=(...c)=>e.handleClickMask&&e.handleClickMask(...c))},null,512),[[t.vShow,e.showTour]]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.steps,(c,d)=>(t.openBlock(),t.createElementBlock("div",{key:d,style:{height:"0"}},[d==e.active?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.showTour?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["fox-tour-mask",[e.mask?"":"fox-tour-mask-none"]]),style:t.normalizeStyle(e.maskStyle),id:"fox-tour-popid"},null,6)):t.createCommentVNode("",!0),t.createVNode(i,{visible:e.showPopup,"onUpdate:visible":o[5]||(o[5]=m=>e.showPopup=m),location:c.location||e.location,targetId:"fox-tour-popid",bgColor:e.bgColor,theme:e.theme,"close-on-click-outside":!1,offset:c.popoverOffset||[0,12],arrowOffset:c.arrowOffset||0},{content:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},()=>[e.type=="step"?(t.openBlock(),t.createElementBlock("div",rS,[e.showTitleBar?(t.openBlock(),t.createElementBlock("div",sS,[t.createElementVNode("div",{onClick:o[1]||(o[1]=(...m)=>e.close&&e.close(...m))},[t.createVNode(s,{class:"fox-tour-content-top-close"})])])):t.createCommentVNode("",!0),t.createElementVNode("div",iS,t.toDisplayString(c.content),1),t.createElementVNode("div",cS,[t.createElementVNode("div",uS,t.toDisplayString(e.active+1)+"/"+t.toDisplayString(e.steps.length),1),t.createElementVNode("div",dS,[t.renderSlot(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-tour-content-bottom-operate-btn",onClick:o[2]||(o[2]=m=>e.changeStep("prev"))},t.toDisplayString(e.prevStepTxt),1)):t.createCommentVNode("",!0)]),e.steps.length-1==e.active?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:o[3]||(o[3]=(...m)=>e.close&&e.close(...m))},t.toDisplayString(e.completeTxt),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:o[4]||(o[4]=m=>e.changeStep("next"))},t.toDisplayString(e.nextStepTxt),1)):t.createCommentVNode("",!0)])])])])):t.createCommentVNode("",!0),e.type=="tile"?(t.openBlock(),t.createElementBlock("div",fS,[t.createElementVNode("div",mS,t.toDisplayString(c.content),1)])):t.createCommentVNode("",!0)])]),_:2},1032,["visible","location","bgColor","theme","offset","arrowOffset"])],64)):t.createCommentVNode("",!0)]))),128))],2)}const Cr=W(aS,[["render",pS]]),{componentName:bw,create:hS,scope:gS}=U("address"),yS=hS({components:{Location:G.Location,Location2:G.Location2,Check:G.Check,Close:G.Close,Left:G.Left,[ce.name]:ce,[eo.name]:eo},inheritAttrs:!1,props:{...nt,modelValue:{type:Array,default:()=>[]},type:{type:String,default:"custom"},customAddressTitle:{type:String,default:""},province:{type:Array,default:()=>[]},city:{type:Array,default:()=>[]},country:{type:Array,default:()=>[]},town:{type:Array,default:()=>[]},isShowCustomAddress:{type:Boolean,default:!0},existAddress:{type:Array,default:()=>[]},existAddressTitle:{type:String,default:""},customAndExistTitle:{type:String,default:""},height:{type:[String,Number],default:"200px"},columnsPlaceholder:{type:[String,Array],default:""}},emits:["update:visible","update:modelValue","type","change","selected","close","close-mask","switch-module"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(gS),n=t.ref(null),a=t.ref(null),r=t.ref(e.visible),s=t.ref(e.type),i=t.ref(0),c=t.ref(0),d=t.ref(["province","city","country","town"]),m=t.ref(null),f=t.ref([0,0,0,0]),h=t.computed(()=>{switch(i.value){case 0:return e.province;case 1:return e.city;case 2:return e.country;default:return e.town}}),y=T=>{if(!Array.isArray(T))throw new TypeError("params muse be array.");if(!T.length)return[];T.forEach($=>{if(!$.title){console.warn("[NutUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");return}});const z=[];return T=T.sort(($,x)=>$.title.localeCompare(x.title)),T.forEach($=>{const x=z.findIndex(H=>H.title===$.title);x<=-1?z.push({title:$.title,list:[].concat($)}):z[x].list.push($)}),z};let k=t.ref([]),v=t.reactive({});const g=t.ref("self"),u=t.ref(20),p=()=>{const T=e.modelValue,z=T.length;if(z>0){if(i.value=z-1,h.value.length==0){i.value=0;return}for(let $=0;$<z;$++){let x=[];switch($){case 0:x=e.province;break;case 1:x=e.city;break;case 2:x=e.country;break;default:x=e.town}k.value[$]=x.filter(H=>H.id==T[$])[0]}S()}},b=(T,z)=>T&&T.name||i.value<z&&T?T.name:e.columnsPlaceholder[z]||l("select"),S=()=>{I(),t.nextTick(()=>{const T=a.value&&a.value.getElementsByClassName("active")[0];if(T){const z=T.offsetLeft;u.value=z||20}})},B=T=>{const z=i.value;c.value=i.value;const $={custom:d.value[z]};k.value[z]=T;for(let x=z+2;x<4;x++)k.value.splice(x,1);z<3?(i.value=z+1,S(),$.next=d.value[i.value],$.value=T,o("change",$)):(w(),o("update:modelValue"))},E=(T,z)=>{c.value=i.value,b(T,z)&&(i.value=z,S())},I=()=>{const T=m.value,z=c.value,$=f.value[i.value];T?.scrollTop&&(f.value[z]=T?.scrollTop),t.nextTick(()=>{T?.scrollTo({top:$,behavior:"auto"})})},V=T=>{const z=e.existAddress;let $={};z.forEach(x=>{x&&x.selectedAddress&&($=x),x.selectedAddress=!1}),T.selectedAddress=!0,v=T,o("selected",$,T,z),w()},C=()=>{k.value=[],i.value=0,S()},w=(T="self")=>{g.value=T=="cross"?"cross":"self",r.value=!1},q=()=>{g.value="mask"},P=()=>{const T={addressIdStr:"",addressStr:"",province:k.value[0],city:k.value[1],country:k.value[2],town:k.value[3]},z={data:{},type:s.value};["custom","custom2"].includes(s.value)?([0,1,2,3].forEach($=>{const x=k.value[$];T.addressIdStr+=`${$?"_":""}${x&&x.id||0}`,T.addressStr+=x&&x.name||""}),z.data=T):z.data=v,C(),g.value=="self"?o("close",z):o("close-mask",{closeWay:g}),o("update:visible",!1)},M=()=>{const T=s.value;s.value=T=="exist"?"custom":"exist",C(),o("switch-module",{type:s.value})},A=(T,z)=>{B(z)};return t.watch(()=>e.visible,T=>{r.value=T}),t.watch(()=>r.value,T=>{T&&p()}),{showPopup:r,privateType:s,tabIndex:i,tabName:d,selectedRegion:k,switchModule:M,closeWay:g,close:P,getTabName:b,nextAreaList:B,regionLine:n,tabRegion:a,lineDistance:u,changeRegionTab:E,selectedExist:V,clickOverlay:q,handClose:w,handleElevatorItem:A,initCustomSelected:p,...t.toRefs(e),t:l,regionList:h,transformData:y,scrollDom:m}}}),vS={class:"fox-address"},kS={class:"fox-address__header"},bS={class:"fox-address__header__title"},SS={key:0,class:"fox-address__custom"},CS={class:"fox-address__region",ref:"tabRegion"},wS=["onClick"],NS={key:0,class:"active fox-address__region-item"},BS={key:0,class:"fox-address__detail"},VS={class:"fox-address__detail-list",ref:"scrollDom"},AS=["onClick"],ES={key:1,class:"fox-address__elevator-group"},TS={key:1,class:"fox-address__exist"},$S={class:"fox-address__exist-group"},DS={class:"fox-address__exist-group-list"},IS=["onClick"],qS={class:"fox-address__exist-item-info"},MS={key:0,class:"fox-address__exist-item-info-name"},zS={key:1,class:"fox-address__exist-item-info-phone"},xS={class:"fox-address__exist-item-info-bottom"},LS={class:"fox-address__exist-choose-btn"};function PS(e,o,l,n,a,r){const s=t.resolveComponent("Left"),i=t.resolveComponent("Close"),c=t.resolveComponent("Check"),d=t.resolveComponent("fox-elevator"),m=t.resolveComponent("Location2"),f=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(f,{position:"bottom","lock-scroll":e.lockScroll,onClose:e.close,onClickOverlay:e.clickOverlay,onOpen:o[3]||(o[3]=h=>e.closeWay="self"),visible:e.showPopup,"onUpdate:visible":o[4]||(o[4]=h=>e.showPopup=h),teleportDisable:e.teleportDisable,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",vS,[t.createElementVNode("view",kS,[t.createElementVNode("view",{class:"fox-address__header-back",onClick:o[0]||(o[0]=(...h)=>e.switchModule&&e.switchModule(...h))},[t.renderSlot(e.$slots,"back-icon",{},()=>[t.withDirectives(t.createVNode(s,{size:"14px"},null,512),[[t.vShow,e.type=="exist"&&e.privateType=="custom"]])])]),t.createElementVNode("view",bS,t.toDisplayString(e.privateType=="custom"?e.customAddressTitle||e.t("selectRegion"):e.existAddressTitle||e.t("deliveryTo")),1),t.createElementVNode("view",{class:"fox-address__header-close",onClick:o[1]||(o[1]=h=>e.handClose("cross"))},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(i,{color:"#cccccc",size:"14px"})])])]),["custom","custom2"].includes(e.privateType)?(t.openBlock(),t.createElementBlock("view",SS,[t.createElementVNode("view",CS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(h,y)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-address__region-item",y==e.tabIndex?"active":""]),key:y,onClick:k=>e.changeRegionTab(h,y)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(h,y)),1)],10,wS))),128)),e.tabIndex==e.selectedRegion.length?(t.openBlock(),t.createElementBlock("view",NS,[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(null,e.selectedRegion.length)),1)])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-address__region-line",ref:"regionLine",style:t.normalizeStyle({left:e.lineDistance+"px"})},null,4)],512),e.privateType=="custom"?(t.openBlock(),t.createElementBlock("view",BS,[t.createElementVNode("ul",VS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.regionList,(h,y)=>(t.openBlock(),t.createElementBlock("li",{key:y,class:t.normalizeClass(["fox-address__detail-item",e.selectedRegion[e.tabIndex]?.id==h.id?"active":""]),onClick:k=>e.nextAreaList(h)},[t.createElementVNode("div",null,[e.selectedRegion[e.tabIndex]?.id==h.id?t.renderSlot(e.$slots,"icon",{key:0},()=>[t.createVNode(c,{class:"fox-address-select-icon",size:"13px"})]):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(h.name),1)])],10,AS))),128))],512)])):(t.openBlock(),t.createElementBlock("view",ES,[t.createVNode(d,{height:e.height,"index-list":e.transformData(e.regionList),onClickItem:e.handleElevatorItem},null,8,["height","index-list","onClickItem"])]))])):(t.openBlock(),t.createElementBlock("view",TS,[t.createElementVNode("div",$S,[t.createElementVNode("ul",DS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.existAddress,(h,y)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass(["fox-address__exist-group-item",h.selectedAddress?"active":""]),key:y,onClick:k=>e.selectedExist(h)},[h.selectedAddress?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"unselected-icon",{key:0},()=>[t.createVNode(m,{class:"fox-address-select-icon",size:"13px"})]),h.selectedAddress?t.renderSlot(e.$slots,"icon",{key:1},()=>[t.createVNode(c,{class:"fox-address-select-icon",size:"13px"})]):t.createCommentVNode("",!0),t.createElementVNode("div",qS,[h.name?(t.openBlock(),t.createElementBlock("div",MS,t.toDisplayString(h.name),1)):t.createCommentVNode("",!0),h.phone?(t.openBlock(),t.createElementBlock("div",zS,t.toDisplayString(h.phone),1)):t.createCommentVNode("",!0),t.createElementVNode("div",xS,[t.createElementVNode("view",null,t.toDisplayString(h.provinceName+h.cityName+h.countyName+h.townName+h.addressDetail),1)])])],10,IS))),128))])]),e.isShowCustomAddress?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-address__exist-choose",onClick:o[2]||(o[2]=(...h)=>e.switchModule&&e.switchModule(...h))},[t.createElementVNode("div",LS,t.toDisplayString(e.customAndExistTitle||e.t("chooseAnotherAddress")),1)])):t.createCommentVNode("",!0)])),t.renderSlot(e.$slots,"bottom")])]),_:3},8,["lock-scroll","onClose","onClickOverlay","visible","teleportDisable","teleport"])}const wr=W(yS,[["render",PS]]),{componentName:RS,create:OS}=U("barrage"),FS=OS({name:"barrage",props:{danmu:{type:Array,default:()=>[]},frequency:{type:Number,default:500},speeds:{type:Number,default:5e3},rows:{type:Number,default:3},top:{type:Number,default:10},loop:{type:Boolean,default:!0}},setup(e){const o=new Date().getTime(),l=!!t.useSlots().default,n=t.computed(()=>({[RS]:!0}));let a=t.ref(document.createElement("div")),r=t.ref(document.createElement("div")),s=null;const i=t.ref(e.danmu),c=t.ref(e.rows),d=t.ref(e.top),m=t.ref(0),f=e.speeds,h=t.ref(0);t.onMounted(()=>{y(),l&&document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"?(v(),m.value=0,k("hidden")):document.visibilityState==="visible"&&y()})}),t.onUnmounted(()=>{i.value=[],v()});const y=()=>{h.value=a.value.offsetWidth,l&&k("init"),setTimeout(()=>{a.value?.style.setProperty("--move-distance",`-${h.value}px`),u()},300)},k=b=>{let B=document.getElementsByClassName("slotBody"+o)?.[0]?.children||[];const E=[];B&&Array.from(B).forEach(I=>{b=="init"?(I.style.opacity="0",E.push(I)):(I.classList="",I.style={})}),b=="init"&&(i.value=E)},v=()=>{s&&(clearTimeout(s),s=null)};t.watch(()=>e.danmu,b=>{e.danmu.length>0&&(i.value=[...b])});const g=b=>{const S=m.value%i.value.length;!e.loop&&m.value===i.value.length?i.value.splice(i.value.length,0,b):i.value.splice(S,0,b)},u=()=>{v(),s=setTimeout(()=>{p()},e.frequency)},p=()=>{const b=e.loop?m.value%i.value.length:m.value;let S=document.createElement("view");l&&typeof i.value[b]=="object"?(S=i.value[b],S?.classList?.add("fox-barrage__item")):(S.innerHTML=i.value[b],S.classList.add("fox-barrage__item"),r.value.appendChild(S)),t.nextTick(()=>{const B=S.offsetHeight;if(S?.classList?.add("move"),S.style.animationDuration=`${f}ms`,S.style.top=b%c.value*(B+d.value)+20+"px",S.style.opacity="1",!l){const E=S.offsetWidth;S.style.width=E+20+"px"}S.addEventListener("animationend",()=>{l?S.classList.remove("move"):r.value.removeChild(S)}),!(!e.loop&&m.value>=i.value.length-1)&&(m.value++,m.value>=i.value.length&&(m.value=0),S.removeEventListener("animationend",()=>{}),u())})};return{classTime:o,classes:n,danmuList:i,dmBody:a,dmContainer:r,add:g}}});function US(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{ref:"dmBody",class:t.normalizeClass(e.classes)},[t.createElementVNode("div",{ref:"dmContainer",class:t.normalizeClass(["dmContainer",e.$slots.default&&"slotContainer"])},[e.$slots.default?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["slotBody","slotBody"+e.classTime])},[t.renderSlot(e.$slots,"default")],2)):t.createCommentVNode("",!0)],2)],2)}const Nr=W(FS,[["render",US]]),{componentName:KS,create:HS,scope:jS}=U("signature"),WS=HS({props:{customClass:{type:String,default:""},lineWidth:{type:Number,default:2},strokeStyle:{type:String,default:()=>document.getElementsByTagName("body")[0].className.indexOf("fox-theme-dark")==-1?"#000":"#fff"},type:{type:String,default:"png"},unSupportTpl:{type:String,default:""}},components:{[Me.name]:Me},emits:["start","end","signing","confirm","clear"],setup(e,{emit:o}){const{toLocaleRefs:l}=se.useFoxI18n(jS),n=l(e,["unSupportTpl","reSign","confirmText"]),a=t.ref(null),r=t.ref(null),s=t.computed(()=>({[KS]:!0,[`${e.customClass}`]:e.customClass})),i=t.reactive({canvasHeight:0,canvasWidth:0,ctx:null,isSupportTouch:"ontouchstart"in window,events:"ontouchstart"in window?["touchstart","touchmove","touchend","touchleave"]:["mousedown","mousemove","mouseup","mouseleave"]}),c=()=>{let p=document.createElement("canvas");return!!(p.getContext&&p.getContext("2d"))},d=()=>{a.value.addEventListener(i.events[0],m,!1)},m=p=>{p.preventDefault(),i.ctx.beginPath(),i.ctx.lineWidth=e.lineWidth,i.ctx.strokeStyle=e.strokeStyle,o("start"),a.value.addEventListener(i.events[1],f,!1),a.value.addEventListener(i.events[2],h,!1),a.value.addEventListener(i.events[3],y,!1)},f=p=>{p.preventDefault();let b=i.isSupportTouch?p.touches[0]:p;o("signing",b);let S=a.value.getBoundingClientRect(),B=b.clientX-S.left,E=b.clientY-S.top;i.ctx.lineTo(B,E),i.ctx.stroke()},h=p=>{p.preventDefault(),o("end"),a.value.removeEventListener(i.events[1],f,!1),a.value.removeEventListener(i.events[2],h,!1)},y=p=>{p.preventDefault(),a.value.removeEventListener(i.events[1],f,!1),a.value.removeEventListener(i.events[2],h,!1)},k=()=>{a.value.addEventListener(i.events[2],h,!1),i.ctx.clearRect(0,0,i.canvasWidth,i.canvasHeight),i.ctx.closePath(),o("clear")},v=()=>{u(a.value)},g=p=>{if(!p)return!0;var b=document.createElement("canvas");return b.width=p.width,b.height=p.height,p?.toDataURL()==b.toDataURL()},u=p=>{let b;switch(e.type){case"png":b=p.toDataURL("image/png");break;case"jpg":b=p.toDataURL("image/jpeg",.8);break}const S=g(p)?"请绘制签名":p,B=g(p)?"":b;o("confirm",S,B)};return t.onMounted(()=>{c()&&(i.ctx=a.value.getContext("2d"),i.canvasWidth=r.value.offsetWidth,i.canvasHeight=r.value.offsetHeight,d())}),{...n,...t.toRefs(i),canvas:a,wrap:r,isCanvasSupported:c,confirm:v,clear:k,classes:s}}}),YS={class:"fox-signature-inner",ref:"wrap"},XS=["height","width"],QS={key:0,class:"fox-signature-unsopport"};function GS(e,o,l,n,a,r){const s=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.createElementVNode("div",YS,[t.withDirectives(t.createElementVNode("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,XS),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",QS,t.toDisplayString(e.unSupportTpl),1))],512),t.createVNode(s,{class:"fox-signature-btn",type:"default",onClick:o[0]||(o[0]=i=>e.clear())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.reSign),1)]),_:1}),t.createVNode(s,{class:"fox-signature-btn",type:"primary",onClick:o[1]||(o[1]=i=>e.confirm())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.confirmText),1)]),_:1})],2)}const Br=W(WS,[["render",GS]]),{componentName:ZS,create:JS,scope:_S}=U("time-select"),e0=JS({components:{[ce.name]:ce},props:{visible:{type:Boolean,defalut:!1},height:{type:[String],default:"20%"},title:{type:String,default:""},currentKey:{type:[Number,String],default:0},currentTime:{type:Array,default:()=>[]},lockScroll:{type:[Boolean],default:!0},teleportDisable:{type:Boolean,default:!1}},emits:["update:visible","select"],setup:(e,o)=>{const{t:l}=se.useFoxI18n(_S),n=t.computed(()=>({[ZS]:!0})),a=t.computed(()=>({width:"100%",height:e.height})),r=t.computed(()=>e.currentKey),s=t.computed(()=>e.currentTime),i=()=>{o.emit("update:visible",!1),o.emit("select",s.value)};return t.provide("currentKey",r),t.provide("currentTime",s),{classes:n,popStyle:a,props:e,close:i,t:l}}}),t0={class:"fox-time-select__title"},o0={class:"fox-time-select__title__fixed"},n0={key:0},l0={class:"fox-time-select__content"},a0={class:"fox-time-select__content__pannel"},r0={class:"fox-time-select__content__detail"};function s0(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{position:"bottom",closeable:"",round:"",teleportDisable:e.teleportDisable,visible:e.visible,style:t.normalizeStyle(e.popStyle),"lock-scroll":e.lockScroll,onClickOverlay:e.close,onClickCloseIcon:e.close},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",t0,[t.createElementVNode("view",o0,[e.$slots.title?t.renderSlot(e.$slots,"title",{key:1}):(t.openBlock(),t.createElementBlock("span",n0,t.toDisplayString(e.title||e.t("pickupTime")),1))])]),t.createElementVNode("view",l0,[t.createElementVNode("view",a0,[t.renderSlot(e.$slots,"pannel")]),t.createElementVNode("view",r0,[t.renderSlot(e.$slots,"detail")])])],2)]),_:3},8,["teleportDisable","visible","style","lock-scroll","onClickOverlay","onClickCloseIcon"])}const Vr=W(e0,[["render",s0]]),{componentName:i0,create:c0}=U("time-pannel"),u0=c0({name:"timepannel",props:{name:{type:String,default:""},pannelKey:{type:[Number,String],default:0}},emits:["change"],setup:(e,o)=>{const l=t.inject("currentKey"),n=t.reactive({currentKey:l}),a=t.computed(()=>({[i0]:!0,"fox-time-pannel--curr":n.currentKey==e.pannelKey})),r=s=>{o.emit("change",s)};return{...t.toRefs(n),classes:a,handlePannel:r}}});function d0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=s=>e.handlePannel(e.pannelKey))},t.toDisplayString(e.name),3)}const Ar=W(u0,[["render",d0]]),{componentName:f0,create:m0}=U("time-detail"),p0=m0({name:"timedetail",props:{times:{type:Array,default:()=>[]}},emits:["select"],setup:(e,o)=>{const l=t.inject("currentKey"),n=t.inject("currentTime"),a=t.reactive({currentKey:l,currentTime:n}),r=t.computed(()=>({[f0]:!0})),s=d=>{let m=a.currentTime.find(f=>f.key==a.currentKey);if(m)return{"fox-time-detail__detail__list__item":!0,"fox-time-detail__detail__list__item--curr":m.list.filter(f=>f===d).length>0}},i=t.computed(()=>e.times.find(d=>d.key==a.currentKey).list),c=d=>{o.emit("select",d)};return{classes:r,...t.toRefs(a),getClass:s,renderData:i,handleTime:c}}}),h0={class:"fox-time-detail__detail fox-time-detail__detail--moring"},g0={class:"fox-time-detail__detail__list"},y0=["onClick"];function v0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",h0,[t.createElementVNode("view",g0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.renderData,s=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.getClass(s)),key:s,onClick:i=>e.handleTime(s)},t.toDisplayString(s),11,y0))),128))])])],2)}const Er=W(p0,[["render",v0]]),{componentName:Sw,create:k0,scope:b0}=U("sku-header"),S0=k0({props:{goods:{type:Object,default:{}}},emits:[],components:{[_e.name]:_e},setup(e,{emit:o,slots:l}){const{t:n}=se.useFoxI18n(b0);return{getSlots:r=>l[r],t:n}}}),C0={class:"fox-sku-header"},w0=["src"],N0={class:"fox-sku-header-right"},B0={key:3,class:"fox-sku-header-right-extra"};function V0(e,o,l,n,a,r){const s=t.resolveComponent("fox-price");return t.openBlock(),t.createElementBlock("view",C0,[t.createElementVNode("img",{class:"fox-sku-header-img",src:e.goods.imagePath},null,8,w0),t.createElementVNode("view",N0,[e.getSlots("sku-header-price")?t.renderSlot(e.$slots,"sku-header-price",{key:0}):(t.openBlock(),t.createBlock(s,{key:1,price:e.goods.price,needSymbol:!0,thousands:!1},null,8,["price"])),e.getSlots("sku-header-extra")?t.renderSlot(e.$slots,"sku-header-extra",{key:2}):t.createCommentVNode("",!0),e.goods.skuId&&!e.getSlots("sku-header-extra")?(t.openBlock(),t.createElementBlock("view",B0,t.toDisplayString(e.t("skuId"))+" : "+t.toDisplayString(e.goods.skuId),1)):t.createCommentVNode("",!0)])])}const A0=W(S0,[["render",V0]]),{componentName:Cw,create:E0}=U("sku-select"),T0=E0({props:{sku:{type:Array,default:()=>[]}},emits:["selectSku"],setup(e,{emit:o}){const l=t.ref([]);return t.watch(()=>e.sku,a=>{l.value=[].slice.call(a)},{deep:!0}),t.onMounted(()=>{e.sku.length>0&&(l.value=[].slice.call(e.sku))}),{skuInfo:l,changeSaleChild:(a,r,s,i)=>{a.checkFlag||a.disable||o("selectSku",{sku:a,skuIndex:r,parentSku:s,parentIndex:i})}}}}),$0={class:"fox-sku-select"},D0={class:"fox-sku-select-item-title"},I0={class:"fox-sku-select-item-skus"},q0=["onClick"];function M0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",$0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.skuInfo,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-sku-select-item",key:s.id},[t.createElementVNode("view",D0,t.toDisplayString(s.name),1),t.createElementVNode("view",I0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,(c,d)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-sku-select-item-skus-sku",[{active:!c.disable&&c.active},{disable:c.disable}]]),onClick:m=>e.changeSaleChild(c,d,s,i),key:c.name},t.toDisplayString(c.name),11,q0))),128))])]))),128))])}const z0=W(T0,[["render",M0]]),{componentName:ww,create:x0}=U("sku-stepper"),L0=x0({props:{stepperMax:{type:[Number,String],default:99999},stepperMin:{type:[Number,String],default:1},stepperExtraText:{type:[Function,Boolean],default:!1},stepperTitle:{type:String,default:"购买数量"}},emits:["click","changeSku","changeStepper","clickBtnOptions","overLimit","reduce","add"],components:{[ut.name]:ut},setup(e,{emit:o}){const l=t.ref(e.stepperMin);return t.onMounted(()=>{l.value=e.stepperMin}),{goodsCount:l,add:c=>{o("add",c)},reduce:c=>{o("reduce",c)},overlimit:(c,d)=>{o("overLimit",{action:d,value:parseInt(l.value+"")})},getExtraText:()=>{const{stepperExtraText:c}=e;return c&&Ze(c)=="function"?c():""},changeStepper:c=>{l.value=c,o("changeStepper",c)}}}}),P0={class:"fox-sku-stepper"},R0={class:"fox-sku-stepper-title"},O0=["innerHTML"],F0={class:"fox-sku-stepper-count"};function U0(e,o,l,n,a,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",P0,[t.createElementVNode("view",R0,t.toDisplayString(e.stepperTitle),1),t.createElementVNode("view",{class:"fox-sku-stepper-limit",innerHTML:e.getExtraText()},null,8,O0),t.createElementVNode("view",F0,[t.createVNode(s,{modelValue:e.goodsCount,"onUpdate:modelValue":o[0]||(o[0]=i=>e.goodsCount=i),min:e.stepperMin,max:e.stepperMax,onAdd:e.add,onReduce:e.reduce,onOverlimit:e.overlimit,onChange:e.changeStepper},null,8,["modelValue","min","max","onAdd","onReduce","onOverlimit","onChange"])])])}const K0=W(L0,[["render",U0]]),{componentName:Nw,create:H0}=U("sku-operate"),j0=H0({props:{btnOptions:{type:Array,default:()=>["confirm"]},btnExtraText:{type:String,default:""},buyText:{type:String,default:"立即购买"},addCartText:{type:String,default:"加入购物车"},confirmText:{type:String,default:"确定"}},emits:["click","changeSku","changeBuyCount","clickBtnOperate"],setup(e,{emit:o,slots:l}){return{getBtnDesc:s=>({confirm:e.confirmText,cart:e.addCartText,buy:e.buyText})[s],clickBtnOperate:s=>{o("clickBtnOperate",s)},getSlots:s=>l[s]}}}),W0={key:0,class:"fox-sku-operate"},Y0={key:0,class:"fox-sku-operate-desc"},X0={key:1,class:"fox-sku-operate-btn"},Q0=["onClick"];function G0(e,o,l,n,a,r){return e.btnOptions.length>0?(t.openBlock(),t.createElementBlock("view",W0,[e.btnExtraText?(t.openBlock(),t.createElementBlock("view",Y0,t.toDisplayString(e.btnExtraText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"operate-btn"),e.getSlots("operate-btn")?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",X0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.btnOptions,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass([`fox-sku-operate-btn-${s}`,"fox-sku-operate-btn-item"]),key:i,onClick:c=>e.clickBtnOperate(s)},t.toDisplayString(e.getBtnDesc(s)),11,Q0))),128))]))])):t.createCommentVNode("",!0)}const Z0=W(j0,[["render",G0]]),{componentName:Bw,create:J0,scope:_0}=U("sku"),eC=J0({props:{...nt,sku:{type:Array,default:[]},goods:{type:Object,default:{}},stepperMax:{type:[Number,String],default:99999},stepperMin:{type:[Number,String],default:1},btnOptions:{type:Array,default:()=>["confirm"]},stepperTitle:{type:String,default:""},stepperExtraText:{type:[Function,Boolean],default:!1},btnExtraText:{type:String,default:""},buyText:{type:String,default:""},addCartText:{type:String,default:""},confirmText:{type:String,default:""}},emits:["update:visible","select-sku","change-stepper","click-btn-operate","click-close-icon","click-overlay","close","reduce","add","over-limit"],components:{SkuHeader:A0,SkuSelect:z0,SkuStepper:K0,SkuOperate:Z0,[ce.name]:ce},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=se.useFoxI18n(_0),a=n(e,["confirmText","buyText","stepperTitle","addCartText"]),r=t.ref(e.visible),s=t.ref(e.stepperMin);t.watch(()=>e.visible,g=>{r.value=g}),t.watch(()=>r.value,g=>{g==!1&&v()}),t.onMounted(()=>{});const i=g=>l[g],c=g=>{o("select-sku",g)},d=g=>{s.value=g,o("change-stepper",g)},m=g=>{o("add",g)},f=g=>{o("reduce",g)},h=g=>{o("over-limit",g)},y=g=>{o("click-btn-operate",{type:g,value:s.value})},k=g=>{g=="icon"&&o("click-close-icon"),g=="overlay"&&o("click-overlay"),g=="close"&&o("close"),r.value=!1},v=()=>{o("update:visible",!1)};return{showPopup:r,closePopup:k,selectSku:c,changeStepper:d,stepperOverLimit:h,clickBtnOperate:y,add:m,reduce:f,getSlots:i,...a}}}),tC={class:"fox-sku"},oC={class:"fox-sku-content"};function nC(e,o,l,n,a,r){const s=t.resolveComponent("sku-header"),i=t.resolveComponent("SkuSelect"),c=t.resolveComponent("sku-stepper"),d=t.resolveComponent("sku-operate"),m=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(m,{position:"bottom",closeable:"",round:"",visible:e.showPopup,"onUpdate:visible":o[0]||(o[0]=f=>e.showPopup=f),onClickCloseIcon:o[1]||(o[1]=f=>e.closePopup("icon")),onClickOverlay:o[2]||(o[2]=f=>e.closePopup("overlay")),onClose:o[3]||(o[3]=f=>e.closePopup("close")),style:{height:"75%"},teleportDisable:e.teleportDisable,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",tC,[t.renderSlot(e.$slots,"sku-header"),e.getSlots("sku-header")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,goods:e.goods},t.createSlots({_:2},[e.getSlots("sku-header-price")?{name:"sku-header-price",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"sku-header-price")]),key:"0"}:void 0,e.getSlots("sku-header-extra")?{name:"sku-header-extra",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"sku-header-extra")]),key:"1"}:void 0]),1032,["goods"])),t.createElementVNode("view",oC,[t.renderSlot(e.$slots,"sku-select-top"),t.renderSlot(e.$slots,"sku-select"),e.getSlots("sku-select")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(i,{key:0,sku:e.sku,onSelectSku:e.selectSku},null,8,["sku","onSelectSku"])),t.renderSlot(e.$slots,"sku-stepper"),e.getSlots("sku-stepper")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(c,{key:1,goods:e.goods,stepperTitle:e.stepperTitle,stepperMax:e.stepperMax,stepperMin:e.stepperMin,stepperExtraText:e.stepperExtraText,onAdd:e.add,onReduce:e.reduce,onChangeStepper:e.changeStepper,onOverLimit:e.stepperOverLimit},null,8,["goods","stepperTitle","stepperMax","stepperMin","stepperExtraText","onAdd","onReduce","onChangeStepper","onOverLimit"])),t.renderSlot(e.$slots,"sku-stepper-bottom")]),t.createVNode(d,{btnOptions:e.btnOptions,btnExtraText:e.btnExtraText,buyText:e.buyText,addCartText:e.addCartText,confirmText:e.confirmText,onClickBtnOperate:e.clickBtnOperate},t.createSlots({_:2},[e.getSlots("sku-operate")?{name:"operate-btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"sku-operate")]),key:"0"}:void 0]),1032,["btnOptions","btnExtraText","buyText","addCartText","confirmText","onClickBtnOperate"])])]),_:3},8,["visible","teleportDisable","teleport"])}const Tr=W(eC,[["render",nC]]),{create:lC}=U("card"),aC=lC({components:{[_e.name]:_e,[so.name]:so},props:{imgUrl:{type:String},title:{type:String},price:{type:String},vipPrice:{type:String},shopDesc:{type:String},delivery:{type:String},shopName:{type:String},isNeedPrice:{type:Boolean,default:!0}},setup(e,{emit:o,slots:l}){return{isHaveSlot:a=>l[a]}}}),rC={class:"fox-card"},sC={class:"fox-card__left"},iC=["src"],cC={class:"fox-card__right"},uC={class:"fox-card__right__title"},dC={key:0,class:"fox-card__right__price"},fC={class:"fox-card__right__other"},mC={class:"fox-card__right__shop"},pC={class:"fox-card__right__shop__name"};function hC(e,o,l,n,a,r){const s=t.resolveComponent("fox-price"),i=t.resolveComponent("fox-tag");return t.openBlock(),t.createElementBlock("div",rC,[t.createElementVNode("div",sC,[t.createElementVNode("img",{src:e.imgUrl,alt:""},null,8,iC)]),t.createElementVNode("div",cC,[t.createElementVNode("div",uC,t.toDisplayString(e.title),1),t.renderSlot(e.$slots,"prolist"),e.isNeedPrice?(t.openBlock(),t.createElementBlock("div",dC,[e.isHaveSlot("price")?t.renderSlot(e.$slots,"price",{key:0}):(t.openBlock(),t.createBlock(s,{key:1,price:e.price},null,8,["price"])),e.isHaveSlot("origin")?t.renderSlot(e.$slots,"origin",{key:2}):(t.openBlock(),t.createBlock(s,{key:3,class:"fox-card__right__price__origin",price:e.vipPrice},null,8,["price"]))])):t.createCommentVNode("",!0),t.createElementVNode("div",fC,[e.isHaveSlot("shop-tag")?t.renderSlot(e.$slots,"shop-tag",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(i,{type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.shopDesc),1)]),_:1}),t.createVNode(i,{plain:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.delivery),1)]),_:1})],64))]),t.createElementVNode("div",mC,[t.createElementVNode("div",pC,t.toDisplayString(e.shopName),1),t.renderSlot(e.$slots,"footer")])])])}const $r=W(aC,[["render",hC]]),{create:gC,scope:yC}=U("ecard"),vC=gC({components:{[ut.name]:ut},props:{chooseText:{type:String,default:""},otherValueText:{type:String,default:""},dataList:{type:Array,default:()=>[]},cardAmountMin:{type:Number,default:1},cardAmountMax:{type:Number,default:9999},cardBuyMin:{type:Number,default:1},cardBuyMax:{type:Number,default:9999},modelValue:{type:[Number,String],default:0},placeholder:{type:String,default:""},suffix:{type:String,default:"¥"}},emits:["inputChange","changeStep","inputClick","change","update:modelValue"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(yC),n=t.ref(null),a=t.ref(null),r=t.ref(""),s=t.ref(e.cardAmountMin),i=t.ref(e.modelValue),c=(h,y)=>{n.value=y,s.value=e.cardAmountMin,a.value=h.price,o("change",h),o("update:modelValue",h.price)},d=h=>{let k=h.target.value.replace(/[^\d]/g,"");r.value=k,a.value=k,Number(k)>e.cardAmountMax&&(r.value=e.cardAmountMax,a.value=e.cardAmountMax),Number(k)<e.cardAmountMin&&(r.value=e.cardAmountMin,a.value=e.cardAmountMin),o("inputChange",Number(r.value)),o("update:modelValue",Number(r.value))},m=()=>{n.value="input",s.value=e.cardAmountMin,a.value=r.value,o("update:modelValue",r.value),o("inputClick")},f=h=>{s.value=h,o("changeStep",s.value,a.value)};return t.watch(()=>e.modelValue,h=>{i.value=h}),{handleClick:c,changeStep:f,change:d,inputClick:m,stepValue:s,currentIndex:n,inputValue:r,money:i,t:l}}}),kC={class:"fox-ecard"},bC={class:"fox-ecard__title"},SC={class:"fox-ecard__list"},CC=["onClick"],wC={class:"fox-ecard__list__input--con"},NC=["placeholder"],BC={class:"fox-ecard__list__step"};function VC(e,o,l,n,a,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",kC,[t.createElementVNode("view",bC,t.toDisplayString(e.chooseText||e.t("chooseText")),1),t.createElementVNode("view",SC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.dataList,(i,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-ecard__list__item",e.currentIndex==c?"active":""]),onClick:d=>e.handleClick(i,c)},t.toDisplayString(i.price),11,CC))),128)),t.createElementVNode("view",{class:t.normalizeClass(["fox-ecard__list__input",e.currentIndex=="input"?"active":""]),onClick:o[2]||(o[2]=(...i)=>e.inputClick&&e.inputClick(...i))},[t.createElementVNode("view",null,t.toDisplayString(e.otherValueText||e.t("otherValueText")),1),t.createElementVNode("view",wC,[t.withDirectives(t.createElementVNode("input",{class:"fox-ecard__list__input--input",type:"text","onUpdate:modelValue":o[0]||(o[0]=i=>e.inputValue=i),onInput:o[1]||(o[1]=(...i)=>e.change&&e.change(...i)),placeholder:e.placeholder||e.t("placeholder")},null,40,NC),[[t.vModelText,e.inputValue]]),t.createTextVNode(" "+t.toDisplayString(e.suffix),1)])],2),t.createElementVNode("view",BC,[t.createElementVNode("view",null,t.toDisplayString(e.suffix)+t.toDisplayString(e.money),1),t.createVNode(s,{modelValue:e.stepValue,"onUpdate:modelValue":o[3]||(o[3]=i=>e.stepValue=i),min:e.cardBuyMin,max:e.cardBuyMax,onChange:e.changeStep},null,8,["modelValue","min","max","onChange"])])])])}const Dr=W(vC,[["render",VC]]),{create:AC,scope:EC}=U("address-list-item"),TC=AC({components:{Del:G.Del,Edit:G.Edit},props:{item:{type:Object,default:{}}},emits:["delIcon","editIcon","clickItem"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(EC);return{delClick:s=>{o("delIcon",s,e.item),s.stopPropagation()},editClick:s=>{o("editIcon",s,e.item),s.stopPropagation()},contentsClick:s=>{o("clickItem",s,e.item),s.stopPropagation()},t:l}}}),$C={class:"fox-address-list-item__info"},DC={class:"fox-address-list-item__info-contact"},IC={class:"fox-address-list-item__info-contact-name"},qC={class:"fox-address-list-item__info-contact-tel"},MC={key:0,class:"fox-address-list-item__info-contact-default"},zC={class:"fox-address-list-item__info-handle"},xC={class:"fox-address-list-item__addr"};function LC(e,o,l,n,a,r){const s=t.resolveComponent("Del"),i=t.resolveComponent("Edit");return t.openBlock(),t.createElementBlock("div",{class:"fox-address-list-item",onClick:o[0]||(o[0]=(...c)=>e.contentsClick&&e.contentsClick(...c))},[t.createElementVNode("div",$C,[t.createElementVNode("div",DC,[t.renderSlot(e.$slots,"content-top",{},()=>[t.createElementVNode("div",IC,t.toDisplayString(e.item.addressName),1),t.createElementVNode("div",qC,t.toDisplayString(e.item.phone),1),e.item.defaultAddress?(t.openBlock(),t.createElementBlock("div",MC,t.toDisplayString(e.t("default")),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",zC,[t.renderSlot(e.$slots,"content-icon",{},()=>[t.createVNode(s,{name:"del",class:"fox-address-list-item__info-handle-del",onClick:e.delClick},null,8,["onClick"]),t.createVNode(i,{name:"edit",class:"fox-address-list-item__info-handle-edit",onClick:e.editClick},null,8,["onClick"])])])]),t.createElementVNode("div",xC,[t.renderSlot(e.$slots,"content-addr",{},()=>[t.createTextVNode(t.toDisplayString(e.item.fullAddress),1)])])])}const sl=W(TC,[["render",LC]]),{create:PC}=U("address-list-general"),RC=PC({props:{item:{type:Object,default:{}},longPress:{type:Boolean,default:!1},swipeEdition:{type:Boolean,default:!1}},emits:["delIcon","editIcon","clickItem","longDown","longCopy","longSet","longDel","swipeDel"],components:{ItemContents:sl,[Me.name]:Me,[lo.name]:lo},setup(e,{emit:o}){const l=()=>t.h(sl,{item:e.item,onDelIcon(B){s(B)},onEditIcon(B){i(B)},onClickItem(B){c(B)}});let n=null;const a=t.ref(!1),r=t.ref(!1),s=B=>{o("delIcon",B,e.item),B.stopPropagation()},i=B=>{o("editIcon",B,e.item),B.stopPropagation()},c=B=>{a.value||(o("clickItem",B,e.item),B.stopPropagation())},d=B=>{o("longDel",B,e.item),B.stopPropagation()},m=B=>{n=0,r.value=!0,o("longDown",B,e.item)};return{renderCompontent:l,showMaskRef:r,clickItem:c,editClick:i,delClick:s,delLongClick:d,holddownstart:B=>{n=setTimeout(()=>{m(B)},300)},holddownmove:()=>{clearTimeout(n)},holddownend:()=>{clearTimeout(n)},copyCLick:B=>{o("longCopy",B,e.item),B.stopPropagation()},hideMaskClick:()=>{r.value=!1},setDefault:B=>{o("longSet",B,e.item),B.stopPropagation()},maskClick:B=>{n!=0&&(r.value=!1),B.stopPropagation(),B.preventDefault()},swipeDelClick:B=>{o("swipeDel",B,e.item),B.stopPropagation()},swipestart:()=>{a.value=!1},swipemove:()=>{a.value=!0}}}}),OC={key:0,class:"fox-address-list-general"},FC={class:"fox-address-list-swipe"};function UC(e,o,l,n,a,r){const s=t.resolveComponent("fox-button"),i=t.resolveComponent("fox-swipe");return e.swipeEdition?(t.openBlock(),t.createBlock(i,{key:1},{right:t.withCtx(()=>[t.renderSlot(e.$slots,"swipe-right-btn",{},()=>[t.createVNode(s,{shape:"square",style:{height:"100%"},type:"danger",onClick:e.swipeDelClick},{default:t.withCtx(()=>[t.createTextVNode("删除")]),_:1},8,["onClick"])])]),default:t.withCtx(()=>[t.createElementVNode("div",FC,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderCompontent()),{onTouchmove:e.swipemove,onTouchstart:e.swipestart},{"content-top":t.withCtx(()=>[t.renderSlot(e.$slots,"content-info")]),"content-icon":t.withCtx(()=>[t.renderSlot(e.$slots,"content-icons")]),"content-addr":t.withCtx(()=>[t.renderSlot(e.$slots,"content-addrs")]),_:3},40,["onTouchmove","onTouchstart"]))])]),_:3})):(t.openBlock(),t.createElementBlock("div",OC,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderCompontent()),{onTouchstart:e.holddownstart,onTouchend:e.holddownend,onTouchmove:e.holddownmove},{"content-top":t.withCtx(()=>[t.renderSlot(e.$slots,"content-info")]),"content-icon":t.withCtx(()=>[t.renderSlot(e.$slots,"content-icons")]),"content-addr":t.withCtx(()=>[t.renderSlot(e.$slots,"content-addrs")]),_:3},40,["onTouchstart","onTouchend","onTouchmove"])),e.longPress&&e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-address-list-general__mask",onClick:o[3]||(o[3]=(...c)=>e.maskClick&&e.maskClick(...c))},[t.renderSlot(e.$slots,"longpress-all",{},()=>[t.createElementVNode("div",{class:"fox-address-list-general__mask-copy",onClick:o[0]||(o[0]=(...c)=>e.copyCLick&&e.copyCLick(...c))},"复制地址"),t.createElementVNode("div",{class:"fox-address-list-general__mask-set",onClick:o[1]||(o[1]=(...c)=>e.setDefault&&e.setDefault(...c))},"设置默认"),t.createElementVNode("div",{class:"fox-address-list-general__mask-del",onClick:o[2]||(o[2]=(...c)=>e.delLongClick&&e.delLongClick(...c))},"删除地址")])])):t.createCommentVNode("",!0),e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:1,class:"fox-address-list__mask-bottom",onClick:o[4]||(o[4]=(...c)=>e.hideMaskClick&&e.hideMaskClick(...c))})):t.createCommentVNode("",!0)]))}const KC=W(RC,[["render",UC]]),{componentName:HC,create:jC,scope:WC}=U("address-list"),YC=jC({props:{data:{type:Array,default:[]},longPress:{type:Boolean,default:!1},swipeEdition:{type:Boolean,default:!1},showBottomButton:{type:Boolean,default:!0},dataOptions:{type:Object,default:{}}},components:{GeneralShell:KC,[Me.name]:Me},emits:["delIcon","editIcon","clickItem","longCopy","longSet","longDel","swipeDel","add"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(WC),n=t.ref([]),a=t.reactive({id:1,addressName:"",phone:"",defaultAddress:!1,fullAddress:""}),r=t.computed(()=>({[HC]:!0})),s=()=>{Object.keys(e.dataOptions).length>0&&(n.value=e.data.map(v=>Bl(a,v,e.dataOptions)))};t.watch(()=>e.data,()=>s(),{deep:!0});const i=(v,g)=>{o("delIcon",v,g),v.stopPropagation()},c=(v,g)=>{o("editIcon",v,g),v.stopPropagation()},d=(v,g)=>{o("clickItem",v,g),v.stopPropagation()},m=(v,g)=>{o("longCopy",v,g),v.stopPropagation()},f=(v,g)=>{o("longSet",v,g),v.stopPropagation()},h=(v,g)=>{o("longDel",v,g),v.stopPropagation()},y=(v,g)=>{o("swipeDel",v,g),v.stopPropagation()},k=v=>{o("add",v),v.stopPropagation()};return t.onMounted(()=>{s()}),{classes:r,clickDelIcon:i,clickEditIcon:c,clickContentItem:d,clickLongCopy:m,clickLongSet:f,clickLongDel:h,clickSwipeDel:y,addAddress:k,dataArray:n,t:l}}});function XC(e,o,l,n,a,r){const s=t.resolveComponent("general-shell"),i=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.dataArray,(c,d)=>(t.openBlock(),t.createBlock(s,{key:d,item:c,longPress:e.longPress,swipeEdition:e.swipeEdition,onDelIcon:e.clickDelIcon,onEditIcon:e.clickEditIcon,onClickItem:e.clickContentItem,onSwipeDel:e.clickSwipeDel,onLongCopy:e.clickLongCopy,onLongSet:e.clickLongSet,onLongDel:e.clickLongDel},t.createSlots({"content-info":t.withCtx(()=>[t.renderSlot(e.$slots,"item-infos")]),"content-icons":t.withCtx(()=>[t.renderSlot(e.$slots,"item-icon")]),"content-addrs":t.withCtx(()=>[t.renderSlot(e.$slots,"item-addr")]),_:2},[e.longPress?{name:"longpress-all",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"longpress-btns")]),key:"0"}:void 0,e.swipeEdition?{name:"swipe-right-btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"swipe-right")]),key:"1"}:void 0]),1032,["item","longPress","swipeEdition","onDelIcon","onEditIcon","onClickItem","onSwipeDel","onLongCopy","onLongSet","onLongDel"]))),128)),e.showBottomButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-address-list__bottom",onClick:o[0]||(o[0]=(...c)=>e.addAddress&&e.addAddress(...c))},[t.createVNode(i,{block:"",type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("addAddress")),1)]),_:1})])):t.createCommentVNode("",!0)],2)}const Ir=W(YC,[["render",XC]]),{componentName:Vw,create:QC}=U("category"),GC=QC({props:{type:{type:String,default:"classify"},category:{type:Array,default:[]}},setup(e,{emit:o,slots:l}){const n=t.ref(0),a=t.ref(!1);return{getChildList:s=>{n.value=s,o("change",s)},checkIndex:n,categoryLeft:a}}}),ZC={class:"fox-category"},JC={class:"fox-category__cateList"},_C={key:0},e1=["onClick"];function t1(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",ZC,[t.createElementVNode("div",JC,[e.type=="classify"||e.type=="text"?(t.openBlock(),t.createElementBlock("div",_C,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.category,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category__cateListLeft",key:i},[t.createElementVNode("div",{class:t.normalizeClass([e.checkIndex==i?"fox-category__cateListItemChecked":"fox-category__cateListItem"]),onClick:c=>e.getChildList(i)},t.toDisplayString(s.catName),11,e1)]))),128))])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")])])}const qr=W(GC,[["render",t1]]),{componentName:Aw,create:o1}=U("category-pane"),n1=o1({props:{type:{type:String,default:"classify"},categoryChild:{type:Array,default:()=>[]},customCategory:{type:Array,default:()=>[]}},setup(e,{emit:o}){return{onChange:n=>{o("onChange",n)}}}}),l1={class:"fox-category-pane"},a1={key:0,class:"fox-category-pane__cateListRight"},r1={class:"fox-category-pane__childTitle"},s1={key:0,class:"fox-category-pane__childItemList"},i1=["onClick"],c1=["src"],u1={class:"fox-category-pane__skuImg"},d1={key:1,class:"fox-category-pane__cateListRight"},f1={class:"fox-category-pane__childTitle"},m1={key:0,class:"fox-category-pane__childItemList"},p1=["onClick"],h1={class:"fox-category-pane__skuName"},g1={key:2,class:"fox-category-pane__selfItemList"},y1=["onClick"];function v1(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",l1,[e.type=="classify"?(t.openBlock(),t.createElementBlock("div",a1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",r1,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",s1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,d)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:d,onClick:m=>e.onChange(c)},[t.createElementVNode("img",{class:"fox-category-pane__childImg",src:c.backImg},null,8,c1),t.createElementVNode("div",u1,t.toDisplayString(c?.catName),1)],8,i1))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="text"?(t.openBlock(),t.createElementBlock("div",d1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",f1,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",m1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,d)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:d,onClick:m=>e.onChange(c)},[t.createElementVNode("div",h1,t.toDisplayString(c?.catName),1)],8,p1))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="custom"?(t.openBlock(),t.createElementBlock("div",g1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.customCategory,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__skuName",key:i,onClick:c=>e.onChange(s)},t.toDisplayString(s?.catName),9,y1))),128))])):t.createCommentVNode("",!0)])}const Mr=W(n1,[["render",v1]]),{componentName:Ew,create:k1}=U("comment-header"),b1=k1({components:{[oo.name]:oo},props:{type:{type:String,default:"default"},info:{type:Object,default:()=>{}},labels:{type:Function,default:()=>""}},emits:["handleClick"],setup(e,{emit:o}){return{handleClick:()=>{o("handleClick")}}}}),S1={class:"fox-comment-header__user"},C1={class:"fox-comment-header__user-avter"},w1=["src"],N1={class:"fox-comment-header__user-score"},B1={key:0,class:"fox-comment-header__time"};function V1(e,o,l,n,a,r){const s=t.resolveComponent("fox-rate");return t.openBlock(),t.createElementBlock("view",null,[e.info?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-header",onClick:o[1]||(o[1]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.createElementVNode("view",S1,[t.createElementVNode("view",C1,[e.info.avatar?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.info.avatar},null,8,w1)):t.createCommentVNode("",!0)]),e.type=="default"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass([`fox-comment-header__user-${e.type}`])},[t.createElementVNode("view",{class:t.normalizeClass([`fox-comment-header__user-${e.type}-name`])},[t.createElementVNode("span",null,t.toDisplayString(e.info.nickName),1),t.renderSlot(e.$slots,"labels")],2),t.createElementVNode("view",N1,[t.createVNode(s,{modelValue:e.info.score,"onUpdate:modelValue":o[0]||(o[0]=i=>e.info.score=i),size:"12",spacing:"5",readonly:"",onChange:e.handleClick},null,8,["modelValue","onChange"])])],2)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass([`fox-comment-header__user-${e.type}`])},[t.createElementVNode("span",{class:t.normalizeClass([`fox-comment-header__user-${e.type}-name`])},t.toDisplayString(e.info.nickName),3),t.renderSlot(e.$slots,"labels")],2))]),e.info.time?(t.openBlock(),t.createElementBlock("view",B1,t.toDisplayString(e.info.time),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.type=="complex"?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass([`fox-comment-header__${e.type}-score`])},[t.createVNode(s,{modelValue:e.info.score,"onUpdate:modelValue":o[2]||(o[2]=i=>e.info.score=i),size:"12",spacing:"3",readonly:""},null,8,["modelValue"]),t.createElementVNode("i",{class:t.normalizeClass([`fox-comment-header__${e.type}-score-i`])},null,2),t.createElementVNode("view",{class:t.normalizeClass([`fox-comment-header__${e.type}-score-size`])},t.toDisplayString(e.info.size),3)],2)):t.createCommentVNode("",!0)])}const A1=W(b1,[["render",V1]]),{componentName:Tw,create:E1}=U("comment-images"),T1=E1({props:{type:{type:String,default:"one"},videos:{type:Array,default:()=>[]},images:{type:Array,default:()=>[]}},components:{Right:G.Right},emits:["click","clickImages"],setup(e,{emit:o}){const l=t.ref(!1),n=t.ref(1),a=t.ref([]);return t.watch(()=>[e.videos,e.images],s=>{s[0].length>0&&s[0].forEach(i=>{i.type="video"}),a.value=s[0].concat(s[1])},{deep:!0}),t.onMounted(()=>{e.videos.length>0&&e.videos.forEach(s=>{s.type="video"}),a.value=e.videos.concat(e.images)}),{isShowImage:l,initIndex:n,showImages:(s,i)=>{const{videos:c,images:d}=e,m=s=="img"?i-c.length:i;o("clickImages",{type:s,index:m,value:s=="img"?d[m]:c[m]})},totalImages:a}}}),$1=["onClick"],D1=["src"],I1=t.createElementVNode("view",{class:"fox-comment-images__play"},null,-1),q1=["onClick"],M1=["src"],z1={key:0,class:"fox-comment-images__mask"};function x1(e,o,l,n,a,r){const s=t.resolveComponent("Right");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(`fox-comment-images fox-comment-images--${e.type}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.videos,(i,c)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-comment-images__item fox-comment-images__item--video",key:i.id,onClick:d=>e.showImages("video",c)},[t.createElementVNode("img",{src:i.mainUrl},null,8,D1),I1],8,$1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.images,(i,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:i.id},[e.type=="multi"&&e.videos.length+c<9||e.type!="multi"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-images__item fox-comment-images__item--imgbox",onClick:d=>e.showImages("img",c+e.videos.length)},[t.createElementVNode("img",{src:i.smallImgUrl?i.smallImgUrl:i.imgUrl},null,8,M1),e.type=="multi"&&e.totalImages.length>9&&e.videos.length+c>7?(t.openBlock(),t.createElementBlock("view",z1,[t.createElementVNode("span",null,"共 "+t.toDisplayString(e.totalImages.length)+" 张",1),t.createVNode(s,{style:{width:"12px"}})])):t.createCommentVNode("",!0)],8,q1)):t.createCommentVNode("",!0)],64))),128))],2)}const L1=W(T1,[["render",x1]]),{componentName:$w,create:P1,scope:R1}=U("comment-bottom"),O1=P1({props:{type:{type:String,default:"base"},info:{type:Object,default:()=>({})},operation:{type:Array,default:["replay","like","more"]}},components:{Fabulous:G.Fabulous,Comment:G.Comment,MoreX:G.MoreX},emits:["clickOperate","handleClick"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(R1),n=t.ref(!1),a=t.ref([]);return t.onMounted(()=>{const i=["replay","like","more"];e.operation&&e.operation.forEach(c=>{i.includes(c)&&a.value.push(c)})}),{showPopver:n,operate:i=>{i=="more"&&(n.value=!n.value),o("clickOperate",i)},mergeOp:a,handleClick:()=>{o("handleClick")},t:l}}}),F1={class:"fox-comment-bottom"},U1={key:0},K1={class:"fox-comment-bottom__cpx"},H1=["onClick"];function j1(e,o,l,n,a,r){const s=t.resolveComponent("Fabulous"),i=t.resolveComponent("Comment"),c=t.resolveComponent("MoreX");return t.openBlock(),t.createElementBlock("view",F1,[t.createElementVNode("view",{onClick:o[0]||(o[0]=(...d)=>e.handleClick&&e.handleClick(...d)),class:"fox-comment-bottom__lable"},[e.type!="complex"?(t.openBlock(),t.createElementBlock("span",U1,t.toDisplayString(e.info.size),1)):t.createCommentVNode("",!0)]),t.createElementVNode("view",K1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeOp,(d,m)=>(t.openBlock(),t.createElementBlock("view",{key:m,class:t.normalizeClass(["fox-comment-bottom__cpx-item",`fox-comment-bottom__cpx-item--${d}`]),onClick:f=>e.operate(d)},[d!="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",null,t.toDisplayString(e.info[d]),1),d=="like"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))],64)):t.createCommentVNode("",!0),d=="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(c),e.showPopver?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-bottom__cpx-item-popover",onClick:o[1]||(o[1]=f=>e.operate("popover"))},t.toDisplayString(e.t("complaintsText")),1)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],10,H1))),128))])])}const W1=W(O1,[["render",j1]]),{componentName:Y1,create:X1,scope:Q1}=U("comment"),G1=X1({props:{headerType:{type:String,default:"default"},imagesRows:{type:String,default:"one"},ellipsis:{type:[String,Number,Boolean],default:!1},videos:{type:Array,default:()=>[]},images:{type:Array,default:()=>[]},info:{type:Object,default:()=>({})},follow:{type:Object,default:()=>({})},labels:{type:Function,default:()=>""},operation:{type:Array,default:["replay","like","more"]}},components:{CommentHeader:A1,CommentImages:L1,CommentBottom:W1,Right:G.Right},emits:["click","clickImages","clickOperate"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(Q1),n=t.computed(()=>({[Y1]:!0})),a=t.computed(()=>e.ellipsis?e.ellipsis:e.headerType=="complex"?6:2);return{classes:n,conEllipsis:a,clickOperate:c=>{o("clickOperate",c)},handleClick:()=>{o("click",e.info)},clickImages:c=>{o("clickImages",c)},t:l}}}),Z1=["innerHTML"],J1={class:"fox-comment__follow-title"},_1={class:"fox-comment__follow-com"},ew={key:0,class:"fox-comment__follow-img"};function tw(e,o,l,n,a,r){const s=t.resolveComponent("comment-header"),i=t.resolveComponent("comment-images"),c=t.resolveComponent("Right"),d=t.resolveComponent("comment-bottom");return e.info&&Object.keys(e.info)?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.classes)},[t.createVNode(s,{type:e.headerType,info:e.info,labels:e.labels,onHandleClick:e.handleClick},{labels:t.withCtx(()=>[t.renderSlot(e.$slots,"comment-labels")]),_:3},8,["type","info","labels","onHandleClick"]),t.renderSlot(e.$slots,"feature"),t.createElementVNode("view",{class:"fox-comment__main",style:t.normalizeStyle(`-webkit-line-clamp:${e.conEllipsis}`),onClick:o[0]||(o[0]=(...m)=>e.handleClick&&e.handleClick(...m)),innerHTML:e.info.content},null,12,Z1),t.createVNode(i,{images:e.images,videos:e.videos,type:e.imagesRows,onClickImages:e.clickImages},null,8,["images","videos","type","onClickImages"]),e.follow&&e.follow.days>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment__follow",onClick:o[1]||(o[1]=(...m)=>e.handleClick&&e.handleClick(...m))},[t.createElementVNode("view",J1,t.toDisplayString(e.t("additionalReview",e.follow.days)),1),t.createElementVNode("view",_1,t.toDisplayString(e.follow.content),1),e.follow.images&&e.follow.images.length>0?(t.openBlock(),t.createElementBlock("view",ew,[t.createTextVNode(t.toDisplayString(e.t("additionalImages",e.follow.images.length))+" ",1),t.createVNode(c,{width:"12px"})])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(d,{type:e.headerType,info:e.info,operation:e.operation,onClickOperate:e.clickOperate,onHandleClick:e.handleClick},null,8,["type","info","operation","onClickOperate","onHandleClick"]),t.renderSlot(e.$slots,"comment-shop-reply")],2)):t.createCommentVNode("",!0)}const zr=W(G1,[["render",tw]]),ow=[ql,Ml,zl,xl,Pl,we,Fl,Ul,Kl,Hl,jl,un,Ql,oa,fa,ma,hn,gn,pa,yn,vn,ha,ga,po,ya,va,Me,ka,ba,et,ce,Sa,Ca,wa,Na,Gt,Ba,Aa,Ea,Ta,$a,Da,Ia,qa,Ma,eo,za,Zt,Jt,xa,La,Pa,Ra,to,Oa,dn,pn,mn,ut,oo,Bt,Fa,Ka,Ha,lo,ja,Wa,Ya,ao,Qa,Ga,Ja,kn,It,er,tr,ro,or,nr,no,lr,ar,rr,Et,sr,ir,Tt,$t,_e,Cn,dr,fr,mr,so,io,pr,hr,gr,yr,vr,kr,br,Sr,Cr,wr,Nr,Br,Vr,Ar,Er,Tr,$r,Dr,Ir,qr,Mr,zr],nw=new gs(ow,"4.0.0");exports.ActionSheet=ja;exports.Address=wr;exports.AddressList=Ir;exports.Animate=kr;exports.Audio=er;exports.AudioOperate=tr;exports.Avatar=ro;exports.AvatarGroup=or;exports.BackTop=Wa;exports.Badge=mr;exports.Barrage=Nr;exports.Button=Me;exports.Calendar=pn;exports.CalendarItem=ma;exports.Card=$r;exports.Cascader=dn;exports.CascaderItem=oa;exports.Category=qr;exports.CategoryPane=Mr;exports.Cell=ka;exports.CellGroup=ba;exports.Checkbox=yn;exports.CheckboxGroup=vn;exports.CheckboxItem=ha;exports.CircleProgress=lr;exports.Col=wa;exports.Collapse=hr;exports.CollapseItem=gr;exports.Comment=zr;exports.Content=xl;exports.CountDown=fr;exports.CountUp=dr;exports.DateItem=fa;exports.DatePicker=mn;exports.DateUtils=_;exports.Dialog=ao;exports.Divider=Ba;exports.DomainProvider=va;exports.Drag=Ya;exports.Ecard=Dr;exports.Elevator=eo;exports.Ellipsis=vr;exports.Empty=rr;exports.FixedNav=$a;exports.FooterBar=zl;exports.Grid=Aa;exports.GridItem=Ea;exports.Group=Pl;exports.HeaderBar=Ml;exports.Image=Sa;exports.ImagePreview=Cn;exports.Indicator=xa;exports.InfiniteLoading=Qa;exports.InputItem=Kl;exports.InputNumber=ut;exports.Item=we;exports.Layout=Ca;exports.LinkItem=ya;exports.List=nr;exports.Menu=Da;exports.MenuItem=Ia;exports.MoneyItem=Hl;exports.Navbar=Ta;exports.NoticeBar=ar;exports.Notify=Ja;exports.NumberKeyboard=Ha;exports.OverLay=et;exports.Page=ql;exports.Pagination=za;exports.Picker=Bt;exports.PickerItem=Ql;exports.Popover=io;exports.Popup=ce;exports.Price=_e;exports.Progress=no;exports.PullRefresh=Ga;exports.Radio=hn;exports.RadioGroup=gn;exports.RadioItem=pa;exports.Range=to;exports.Rate=oo;exports.Row=Na;exports.RowItem=Fl;exports.SearchBar=Oa;exports.ShortPassword=Fa;exports.SideNavBar=La;exports.SideNavBarItem=Pa;exports.Signature=Br;exports.Skeleton=pr;exports.Sku=Tr;exports.SlotItem=Ul;exports.Step=ir;exports.Steps=sr;exports.Sticky=Gt;exports.SubSideNavBar=Ra;exports.Swipe=lo;exports.Swiper=Tt;exports.SwiperItem=$t;exports.Switch=kn;exports.SwitchItem=ga;exports.TabPane=Jt;exports.Tabbar=qa;exports.TabbarItem=Ma;exports.Table=yr;exports.Tabs=Zt;exports.Tag=so;exports.Textarea=un;exports.TextareaItem=jl;exports.TimeDetail=Er;exports.TimePannel=Ar;exports.TimeSelect=Vr;exports.Toast=It;exports.Tour=Cr;exports.TrendArrow=Sr;exports.UniqueID=Ol;exports.Uploader=Ka;exports.Video=Et;exports.WaterMark=br;exports.cancelRaf=il;exports.clamp=xe;exports.clearNonNumber=Io;exports.clone=Do;exports.compareTo=To;exports.debounce=wt;exports.debounceRef=ls;exports.decimalLength=wl;exports.default=nw;exports.divide=Jo;exports.excludeProps=Nl;exports.extend=Ge;exports.floatData=Bl;exports.getScrollTopRoot=tn;exports.hasSymbol=hl;exports.hinttext=po;exports.includeProps=ye;exports.indexOf=Yr;exports.integerLength=Cl;exports.isArray=co;exports.isArrayLike=vl;exports.isBrowser=ot;exports.isDate=Pe;exports.isESModule=Ur;exports.isEmptyString=Se;exports.isEqual=Re;exports.isFunction=Yt;exports.isHidden=gl;exports.isMap=Rr;exports.isNumberString=Sl;exports.isObject=Te;exports.isPlainObject=$o;exports.isPromise=en;exports.isRegExp=bl;exports.isSet=Or;exports.isString=ml;exports.isSymbol=Fr;exports.isWindow=yl;exports.lastIndexOf=Xr;exports.makeArray=Wr;exports.merge=kl;exports.multiply=ul;exports.negate=dl;exports.nextTick=Hr;exports.numberFormat=_o;exports.objectToString=pl;exports.once=as;exports.padZero=Qe;exports.preventDefault=qo;exports.raf=Xe;exports.throttle=Xt;exports.toBoolean=ge;exports.toNumber=ue;exports.toTypeString=uo;exports.typeOf=Ze;exports.unNumberFormat=fl;exports.valueLength=pe;
|