@fox-js/foxui 4.0.1-6 → 4.0.1-61
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 +9 -19
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +19166 -12835
- package/dist/index.umd.js +10 -20
- package/dist/locale/index.esm.js +234 -168
- package/dist/locale/index.umd.js +3 -0
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -5
- package/dist/types/index.d.ts +1874 -334
- package/package.json +13 -15
- package/dist/locale/index.cjs.js +0 -3
- package/dist/locale/index.d.ts +0 -398
package/dist/index.umd.js
CHANGED
|
@@ -1,23 +1,13 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
* @fox-js/foxui-base v4.0.0
|
|
3
|
-
*/const
|
|
4
|
-
* @fox-js/big-decimal v4.0.1-
|
|
5
|
-
*/function wt(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=me(e),n=me(n),[e,n]=Ht(me(e),me(n)),o==1&&(l==1?e=Kt(e):n=Kt(n));let a=Un(e,n);return o?o==2?"-"+me(a):e.length<a.length?me(a.substring(1)):"-"+me(Kt(a)):me(a)}function Kt(e){let n="",o=e.length,l=e.split(".")[1],a=l?l.length:0;for(let s=0;s<o;s++)e[s]>="0"&&e[s]<="9"?n+=9-parseInt(e[s]):n+=e[s];let r=a>0?"0."+new Array(a).join("0")+"1":"1";return Un(n,r)}function me(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 Ht(e,n){let o=e.split("."),l=n.split("."),a=o[0].length,r=l[0].length;return a>r?l[0]=new Array(Math.abs(a-r)+1).join("0")+(l[0]?l[0]:""):o[0]=new Array(Math.abs(a-r)+1).join("0")+(o[0]?o[0]:""),a=o[1]?o[1].length:0,r=l[1]?l[1].length:0,(a||r)&&(a>r?l[1]=(l[1]?l[1]:"")+new Array(Math.abs(a-r)+1).join("0"):o[1]=(o[1]?o[1]:"")+new Array(Math.abs(a-r)+1).join("0")),e=o[0]+(o[1]?"."+o[1]:""),n=l[0]+(l[1]?"."+l[1]:""),[e,n]}function Un(e,n){[e,n]=Ht(e,n);let o="",l=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){o="."+o;continue}let r=parseInt(e[a])+parseInt(n[a])+l;o=r%10+o,l=Math.floor(r/10)}return l?l.toString()+o:o}var se=(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))(se||{});function Je(e,n=0,o=se.HALF_EVEN){if(o===se.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 a=e.split("."),r=a[0],s=a[1];if(n<0){if(n=-n,r.length<=n)return"0";{let c=r.substr(0,r.length-n);return e=c+"."+r.substr(r.length-n)+s,c=Je(e,0,o),(l?"-":"")+c+new Array(n+1).join("0")}}if(n==0)return r.length,Kn(a[1],r,l,o)?(l?"-":"")+xt(r):(l?"-":"")+r;if(a[1]){if(a[1].length<n)return(l?"-":"")+r+"."+a[1]+new Array(n-a[1].length+1).join("0")}else return(l?"-":"")+r+"."+new Array(n+1).join("0");s=a[1].substring(0,n);let i=a[1].substring(n);return i&&Kn(i,s,l,o)&&(s=xt(s),s.length>n)?(l?"-":"")+xt(r,parseInt(s[0]))+"."+s.substring(1):(l?"-":"")+r+"."+s}function Kn(e,n,o,l){if(!e||e===new Array(e.length+1).join("0")||l===se.DOWN||!o&&l===se.FLOOR||o&&l===se.CEILING)return!1;if(l===se.UP||o&&l===se.FLOOR||!o&&l===se.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(l){case se.HALF_DOWN:return!1;case se.HALF_UP:return!0;case se.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function xt(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let o=e.length-1,l="";for(let a=o;a>=0;a--){let r=parseInt(e[a])+n;r==10?(n=1,r=0):n=0,l+=r}return n&&(l+=n),l.split("").reverse().join("")}function jt(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=_e(e),n=_e(n);let l=0,a=0;e.indexOf(".")!=-1&&(l=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(a=n.length-n.indexOf(".")-1);let r=l+a;if(e=_e(e.replace(".","")),n=_e(n.replace(".","")),e.length<n.length){let m=e;e=n,n=m}if(n=="0")return"0";let s=n.length,i=0,c=[],u=s-1,f="";for(let m=0;m<s;m++)c[m]=e.length-1;for(let m=0;m<2*e.length;m++){let h=0;for(let w=n.length-1;w>=u&&w>=0;w--)c[w]>-1&&c[w]<e.length&&(h+=parseInt(e[c[w]--])*parseInt(n[w]));h+=i,i=Math.floor(h/10),f=h%10+f,u--}return f=_e(Za(f,r)),o==1&&(f="-"+f),f}function Za(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 _e(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 Wt(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 a=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=me(n.replace(".","")),a>=0){let u=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(u==-1)e=me(e+new Array(a+1).join("0"));else if(a>u)e=e.replace(".",""),e=me(e+new Array(a-u+1).join("0"));else if(a<u){e=e.replace(".","");let f=e.length-u+a;e=me(e.substring(0,f)+"."+e.substring(f))}else a==u&&(e=me(e.replace(".","")))}let r=0,s=n.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 u=c.length-c.indexOf(".")-1;c=c.replace(".",""),s>c.length&&(u+=s-c.length,c=c+new Array(s-c.length+1).join("0")),r=u,i="0."+new Array(u).join("0")}for(o=o+2;r<=o;){let u=0;for(;parseInt(c)>=parseInt(n);)c=wt(c,"-"+n),u++;i+=u,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(l==1?"-":"")+me(Je(i,o-2))}function Yt(e,n){return e=e.toString(),n=n.toString(),n=Xt(n),wt(e,n)}function Xt(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Hn(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),xn(e),xn(n);let o="";e[0]=="-"&&(o="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let l=Yt(e,jt(n,Je(Wt(e,n),0,se.FLOOR)));return o+l}function xn(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function jn(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]=Ht(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 ee{value;static RoundingModes=se;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=me(o);let a="";o[0]=="-"&&(a="-",o=o.substring(1)),o.indexOf(".")>=0?(l=parseInt(l)+o.indexOf("."),o=o.replace(".","")):l=parseInt(l)+o.length,o.length<l?n=a+o+new Array(l-o.length+1).join("0"):o.length>=l&&l>0?n=a+me(o.substring(0,l))+(o.length>l?"."+o.substring(l):""):n=a+"0."+new Array(-l+1).join("0")+o}return n}constructor(n="0"){this.value=ee.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=ee.validate(n);let a=n.charAt(0)=="-";a&&(n=n.substring(1));var r=n.indexOf(".");r=r>0?r:n.length;for(var s="",i=r;i>0;)i<o?(o=i,i=0):i-=o,s=n.substring(i,i+o)+(i<r-o&&i>=0?l:"")+s;return(a?"-":"")+s+n.substring(r)}getPrettyValue(n,o){return ee.getPrettyValue(this.value,n,o)}static round(n,o=0,l=se.HALF_EVEN){if(n=ee.validate(n),isNaN(o))throw Error("Precision is not a number: "+o);return Je(n,o,l)}round(n=0,o=se.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new ee(Je(this.value,n,o))}static floor(n){return n=ee.validate(n),n.indexOf(".")===-1?n:ee.round(n,0,se.FLOOR)}floor(){return this.value.indexOf(".")===-1?new ee(this.value):new ee(this.value).round(0,se.FLOOR)}static ceil(n){return n=ee.validate(n),n.indexOf(".")===-1?n:ee.round(n,0,se.CEILING)}ceil(){return this.value.indexOf(".")===-1?new ee(this.value):new ee(this.value).round(0,se.CEILING)}static add(n,o){return n=ee.validate(n),o=ee.validate(o),wt(n,o)}add(n){return new ee(wt(this.value,n.getValue()))}static subtract(n,o){return n=ee.validate(n),o=ee.validate(o),Yt(n,o)}subtract(n){return new ee(Yt(this.value,n.getValue()))}static multiply(n,o){return n=ee.validate(n),o=ee.validate(o),jt(n,o)}multiply(n){return new ee(jt(this.value,n.getValue()))}static divide(n,o,l){return n=ee.validate(n),o=ee.validate(o),Wt(n,o,l)}divide(n,o){return new ee(Wt(this.value,n.getValue(),o))}static modulus(n,o){return n=ee.validate(n),o=ee.validate(o),Hn(n,o)}modulus(n){return new ee(Hn(this.value,n.getValue()))}static compareTo(n,o){return n=ee.validate(n),o=ee.validate(o),jn(n,o)}compareTo(n){return jn(this.value,n.getValue())}static negate(n){return n=ee.validate(n),Xt(n)}negate(){return new ee(Xt(this.value))}}function Wn(e,n){return ee.multiply(`${e}`,`${n}`)}function Qt(e,n,o=8){return ee.divide(`${e}`,`${n}`,o)}function Gt(e,n){return e=`${e}`,n=`${n}`,ee.compareTo(e,n)}function Yn(e){return ee.negate(e)}function vt(e,n=-1,o=!1,l=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="",u=r.indexOf(".");u!=-1&&(i=r.substring(0,u),c=r.substring(u+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 m="",h=i.split("").reverse();for(let w=0;w<h.length;w++)m+=h[w]+((w+1)%l==0&&w+1!=h.length?a:"");c.length==0?f=`${s}${m.split("").reverse().join("")}`:f=`${s}${m.split("").reverse().join("")}.${c}`}else c.length==0?f=`${s}${i}`:f=`${s}${i}.${c}`;return f}function Xn(e){let n=`${e}`,o=n.charAt(0);o=="-"?n=n.substring(1):o="";let l=n.replace(/[^\d\.-]/g,"");return`${o}${l}`}const Ue=typeof window<"u",Pe=Ue&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Qn(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ke=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Gn(e){return ke(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ke(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function vn(e){if(e==null)return 0;let 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 Zn(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 Jn(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 Zt(e,n=!0,o=!0){n?e=Jn(e,".",/\./g):e=e.replace(/\./g,""),o?e=Jn(e,"-",/-/g):e=e.replace(/-/,"");const l=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function _n(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(o=>{if(X.isEqual(e,o))return!0}):n.indexOf(e)}function Ja(e,n){if(typeof e=="object"||Array.isArray(e)){let o=n.reverse().findIndex(l=>{if(X.isEqual(e,l))return!0});return o!==-1&&(o=n.length-1-o),o}return n.lastIndexOf(e)}function ie(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function he(e,...n){const o={};return n.forEach(l=>{for(const a in l)o[a]=e[a]}),o}function eo(e,...n){const o=[];n.forEach(a=>{Reflect.apply([].push,o,Reflect.ownKeys(a))});const l={};for(const a in e)o.includes(a)||(l[a]=e[a]);return l}const to=(e,n,o)=>{const l=Object.assign({},e),a=Object.assign({},o);return Object.keys(n).length>0?(Object.keys(l).forEach(r=>{a.hasOwnProperty(r)?(typeof a[r]=="function"&&(l[r]=a[r](n)),typeof a[r]=="string"&&(l[r]=n[a[r]])):n[r]&&(l[r]=n[r])}),l):e},we=Symbol("BroadcastKey");class _a{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 a=!1;!n.name||n.name==="*"?a=!0:!n.name||n.name==="+"?(a=!1,n.name="*"):Qn(n.name)&&this.name&&n.name.test(this.name)?a=!0:typeof n.name=="function"?a=Reflect.apply(n.name,null,[this.name]):n.name===this.name&&(a=!0);const r=[];if(a){const s=this.callbacks.get(o);if(typeof s=="function"){const c=Reflect.apply(s,this.proxy,[...l]);c!=null&&r.push(c)}const i=this.proxy??{};if(typeof i[o]=="function"){const c=Reflect.apply(i[o],i,[...l]);c!=null&&r.push(c)}}return this.children.forEach(s=>{const i=Reflect.apply(s.emit,s,[{...n},o,...l]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,r,[...i])}),r}emitToChildren(n,o,...l){const a=[];return this.children.forEach(r=>{const s=Reflect.apply(r.emit,r,[{...n},o,...l]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,a,[...s])}),a}on(n,o){this.callbacks.set(n,o)}}function Jt(e,n,o,l){const a=new _a(n,e,o);if(l&&typeof l=="object")for(const r in l)a.on(r,l[r]);return a}function Nt(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[we]??t.inject(we,null):t.inject(we,null)}class er{error(n,o){const l=o,a=Nt(o);a?a.emit({name:"*"},"setErrorTip",n):typeof l.setErrorTip=="function"&&l.setErrorTip(n)}reset(n){const o=n,l=Nt(n);l?l.emit({name:"*"},"setErrorTip",""):typeof o.setErrorTip=="function"&&o.setErrorTip("")}success(n){const o=n,l=Nt(n);l?l.emit({name:"*"},"setErrorTip",""):typeof o.setErrorTip=="function"&&o.setErrorTip("")}decorate(n,o,l){Array.isArray(n)||(n=[n]);const a=l,r=Nt(l),s=o.find(c=>c.required===!0||c.type==="required"&&c.required!==!1),i=n.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(l))}getValue(n){return n.modelValue}}let tr=new er,nr=["blur","clear"];function or(){return nr}let lr=["focus","change"];function ar(){return lr}function et(...e){const n=[];return e.forEach(o=>{o.forEach(l=>{const a=n.findIndex(r=>r.type===l.type);a!==-1&&n.splice(a,1),n.push(l)})}),n}function Bt(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 ze=Symbol("ValidateSchemaKey");class rr{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=Bt(et(this.attrRules,this.rules)),l=[];for(let r in n){let s=n[r];if(this.hasValidator(r,!0)){if(s===!1)continue;let c={type:r};s!==null&&typeof s=="object"&&Object.assign(c,s),l.push(c);continue}let i=this.getValidator(r);if(i!==null){let c={type:r,validator:i};l.push(c)}}this.attrRules=Bt(l);const a=et(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(a,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 a=tr;return a&&typeof a[n]=="function"?Reflect.apply(a[n],a,[...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?Ct.default.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?Ct.default.deleteValidator(n):Reflect.deleteProperty(this.validators,n)}hasValidator(n,o=!1){if(o)return Ct.default.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=et(this.attrRules,this.rules);n===null?this.rules=[]:Array.isArray(n)?this.rules=Bt(n):this.rules=Bt([n]);const l=et(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=et(this.attrRules,this.rules);const l=this.descriptor.fieldName??"value";if(o.length>0){const a={[`${l}`]:o},r=this.getValue(),s={[`${l}`]:r},i=new Ct.default(a),c=this.proxy??s;return i.validate(s,{context:c}).then(f=>{if(f.pass)this.success();else{let m="error";Array.isArray(f.errors)&&f.errors.length>0&&(m=f.errors[0].message??m,f.errors=[f.errors[0]],f.errors[0].ref=c),this.error(m)}return f}).catch(f=>{const m=f.message??`${f}`;return this.error(m),f})}}return Promise.resolve({pass:!0})}}function _t(e,n,o){if(o.valueName=o.valueName??"modelValue",o.valueType=o.valueType??"string",!o.validateHandler&&o.valueName!=="modelValue"){const a=o.valueName;o.validateHandler={getValue(r){return r[a]}}}return new rr(n,o,e)}const no=Symbol("EventEmitterKey");class sr{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 a=l.findIndex(r=>r===o);a!==-1&&l.splice(a,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(a=>{try{Reflect.apply(a,null,[n,...o])}catch(r){console.error(r.message,r)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[n,...o])}}function ir(e,n){let o=0;return function(...l){const a=Date.now();a-o>n&&(Reflect.apply(e,{},[...l]),o=a)}}function en(e,n){let o,l=null;return function(...a){l=a,o||(o=setTimeout(()=>{o=null,Reflect.apply(e,{},[...l??[]])},n))}}const Re=Symbol("DomainKey"),tt=Symbol("DataItemsKey");class oo{_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 a=n[l];o.length>0&&o.indexOf(a)!==-1||(this._props[l]=a)}}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 a=l._props[n];o.push(a)}l=l._parent}return o}}const cr=new oo;function Vt(){return cr}function $e(e=null){e||(e=t.getCurrentInstance());const n=e?.proxy;return n?n[Re]??t.inject(Re,null):t.inject(Re,null)}const tn=Symbol("OriginalDateKey");function lo(e,n,o=[],l){const a=t.getCurrentInstance(),r=a?.proxy;let s=t.inject(Re,null);s===null&&(s=Vt());const i=e||n.prop||n.name,c=new oo(i);c.parent=s;const u=g=>{r[tn]||h(g),c.set("modelValue",g)},f=()=>c.getForSelf("modelValue")??null,m=()=>r[tn]??null,h=g=>{const k={};X.extend(!0,k,t.toRaw(g)),r[tn]=k};t.isReactive(n)?t.watchEffect(()=>{c.merge(n,o)}):c.merge(n,o),n.modelValue&&h(n.modelValue),r[Re]=c,t.provide(Re,c);let w=null,y=null;if(a!==null){const g=t.inject(we,null);w=Jt(r,g,i,l),c.broadcast=w,r[we]=w,t.provide(we,w),r.broadcast=(d,p,...S)=>Reflect.apply(w.emit,w,[d,p,...S]);const k=t.inject(ze,null);y=_t(r,k,{componentName:""}),c.validateSchema=y,r[ze]=y,t.provide(ze,y),r[tt]=new Map,r.validate=(d=!0)=>{const p=[];let S=null;if(d===!0)S={name:"*"};else if(Array.isArray(d)&&d.length>0){const C=d;S={name:b=>b?C.indexOf(b)!==-1:!1}}else if(d!=null&&typeof d=="object"){const C=d;if(Array.isArray(C.include)&&C.include.length>0){const b=C.include;S={name:N=>N?b.indexOf(N)!==-1:!1}}else if(Array.isArray(C.exclude)&&C.exclude.length>0){const b=C.exclude;S={name:N=>N?b.indexOf(N)===-1:!1}}}if(S){const C=w?.emitToChildren(S,"validate",!1);C&&Reflect.apply([].push,p,C)}return p.length==1?p[0]:p.length>1?Promise.all(p).then(C=>{let b=[];return C.forEach(N=>{N.pass===!1&&Array.isArray(N.errors)&&(b=[...b,...N.errors])}),b.length>0?{pass:!1,errors:b}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(d,p=!0)=>{if(p){const S=Reflect.ownKeys(d),C=[...S],b={name:N=>{const B=S.includes(N);if(B){const T=C.findIndex($=>N===$);T!==-1&&C.splice(T,1)}return B}};w?.emitToChildren(b,"setNameValidateRules",d,!1),C.length>0&&C.forEach(N=>{let B=String(N);const $=dr(c,B,{componentName:"",fieldName:B,pureDataValidate:!0},w,y);r[tt].set(B,$);const D=d[B];D&&$.validateSchema.setRule(D)})}},r.clearValidate=(d=!0)=>{let p=null;if(d===!0)p={name:"*"};else if(Array.isArray(d)&&d.length>0){const S=d;p={name:C=>C?S.indexOf(C)!==-1:!1}}else if(d!=null&&typeof d=="object"){const S=d;if(Array.isArray(S.include)&&S.include.length>0){const C=S.include;p={name:b=>b?C.indexOf(b)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const C=S.exclude;p={name:b=>b?C.indexOf(b)===-1:!1}}}p&&w?.emitToChildren(p,"clearValidate",!1)},r.resetFields=d=>{const p=f();if(!p)return;const S={};if(X.extend(!0,S,m()??{}),Array.isArray(d))d.forEach(C=>{p[C]=S[C]});else if(d&&Array.isArray(d.include))(d.include??[]).forEach(b=>{p[b]=S[b]});else if(d&&Array.isArray(d.exclude)){let C=d.exclude??[];Reflect.ownKeys(S).forEach(b=>{C.includes(b)||(p[b]=S[b])})}else Object.assign(p,S);r.clearValidate(d)},r.setModelValue=(d,p)=>{!p||p===i?u(d):w?.emitToChildren({name:p},"setModelValue",d)},r.getModelValue=()=>f()}return t.onUnmounted(()=>{c.destroy(),r[Re]=void 0,r[tt]&&(r[tt].clear(),r[tt]=void 0),w!==null&&(w.destroy(),r[we]=void 0),y!==null&&(y.destroy(),r[ze]=void 0)}),c}function Se(e,n,o){const a=t.getCurrentInstance()?.proxy,r=n??"",s=t.inject(we,null),i=Jt(a,s,r,o);a[we]=i,t.provide(we,i),a.broadcast=(y,g,...k)=>Reflect.apply(i.emit,i,[y,g,...k]);const c=t.inject(ze,null);e.fieldName=e.fieldName??r;const u=_t(a,c,e);a[ze]=u,t.provide(ze,u),a.validate=(y=null)=>{const g=[];if(!Array.isArray(y)||y.indexOf(r)!==-1){const d=u?.validate();g.push(d)}let k=null;if(y===!0)k={name:"*"};else if(Array.isArray(y)&&y.length>0){const d=y;k={name:p=>p?d.indexOf(p)!==-1:!1}}else if(y!=null&&typeof y=="object"){const d=y;if(Array.isArray(d.include)&&d.include.length>0){const p=d.include;k={name:S=>S?p.indexOf(S)!==-1:!1}}else if(Array.isArray(d.exclude)&&d.exclude.length>0){const p=d.exclude;k={name:S=>S?p.indexOf(S)===-1:!1}}}if(k){const d=i.emitToChildren(k,"validate",!1);Reflect.apply([].push,g,d)}return g.length==1?g[0]:g.length>1?Promise.all(g).then(d=>{let p=[];return d.forEach(S=>{S.pass===!1&&Array.isArray(S.errors)&&(p=[...p,...S.errors])}),p.length>0?{pass:!1,errors:p}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=y=>u?.setRule(y),a.setNameValidateRules=(y,g=!1)=>{const k=y[r];if(k&&u?.setRule(k),g){const d={name:p=>Reflect.ownKeys(y).includes(p)};i.emitToChildren(d,"setNameValidateRules",y,!1)}},a.clearValidate=(y=null)=>{(!Array.isArray(y)||y.indexOf(n??"")!==-1)&&u?.clear();let g=null;if(y===!0)g={name:"*"};else if(Array.isArray(y)&&y.length>0){const k=y;g={name:d=>d?k.indexOf(d)!==-1:!1}}else if(y!=null&&typeof y=="object"){const k=y;if(Array.isArray(k.include)&&k.include.length>0){const d=k.include;g={name:p=>p?d.indexOf(p)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const d=k.exclude;g={name:p=>p?d.indexOf(p)===-1:!1}}}g&&i.emitToChildren(g,"clearValidate",!1)};const f=new sr(a);a[no]=f;const m=en((y="validate")=>{y==="reset"?u.clear():u.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:or()).forEach(y=>{f.on(y,g=>{m("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:ar()).forEach(y=>{f.on(y,g=>{m("reset")})}),t.onUnmounted(()=>{i.destroy(),a[we]=void 0,u.destroy(),a[ze]=void 0,f.destroy(),a[no]=void 0}),{broadcast:i,validateSchema:u,emitEvent:(y,...g)=>{Reflect.apply(f.emit,f,[y,...g])},onEvent:(y,g)=>{Reflect.apply(f.on,f,[g])},offEvent:(y,g)=>{Reflect.apply(f.off,f,[g])}}}function dr(e,n,o,l,a){const r={},s=n??"";o.fieldName=s,o.validateHandler={getValue(u){const f=e.getForSelf("modelValue");return f?f[s]:null}};const i=_t({},a,o);r.validate=(u=null)=>{const f=[];if(!Array.isArray(u)||u.indexOf(s)!==-1){const h=i?.validate();f.push(h)}let m=null;if(u===!0)m={name:"*"};else if(Array.isArray(u)&&u.length>0){const h=u;m={name:w=>w?h.indexOf(w)!==-1:!1}}else if(u!=null&&typeof u=="object"){const h=u;if(Array.isArray(h.include)&&h.include.length>0){const w=h.include;m={name:y=>y?w.indexOf(y)!==-1:!1}}else if(Array.isArray(h.exclude)&&h.exclude.length>0){const w=h.exclude;m={name:y=>y?w.indexOf(y)===-1:!1}}}if(m){const h=c.emitToChildren(m,"validate",!1);Reflect.apply([].push,f,h)}return f.length==1?f[0]:f.length>1?Promise.all(f).then(h=>{let w=[];return h.forEach(y=>{y.pass===!1&&Array.isArray(y.errors)&&(w=[...w,...y.errors])}),w.length>0?{pass:!1,errors:w}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=u=>i?.setRule(u),r.setNameValidateRules=u=>{const f=u[s];f&&i?.setRule(f)};const c=Jt(null,l,s,r);return{broadcast:c,validateSchema:i}}const _=e=>e?`${ue(e)}px`:"";function ue(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 a=Number(e.substring(0,o)),r=1;if(Ue){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(o=e.indexOf("%"),o!==-1)return Number(e.substring(0,o))*n;const l=Number(e);return isNaN(l)?0:l}const Le="PageStateKey";function De(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=ue(e.top)),e.left!==null&&e.left!==void 0&&(n.left=ue(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=ue(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=ue(e.right))),n}function ao(e,n,o={},l=!0,a=-1,r=-1,s=0,i=0){e.headerHeight=ue(o.headerHeight??n.headerHeight),e.headerPadding=De(o.headerPadding??n.headerPadding),e.footerHeight=ue(o.footerHeight??n.footerHeight),e.footerPadding=De(o.footerPadding??n.footerPadding),e.contentPadding=De(o.contentPadding??n.contentPadding),l&&(e.height=ue(o.height??n.height,r)-ue(s,r)-ue(i,r),e.width=ue(o.width??n.width,a))}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},a=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});a&&(l.safeAreaTop=ue(a.top),l.safeAreaBottom=ue(a.bottom),l.safeAreaLeft=ue(a.left),l.safeAreaRight=ue(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,u=e.get("footerBarHeight")??0;ao(l,r,n,!0,s,i,c,u);const f=t.reactive(l),m=e.getForParent(Le);m&&(l.height=an(e,m),l.width=rn(e,m),t.watch([()=>m.height,()=>m.width,()=>m.contentPadding,()=>m.headerMounted,()=>m.footerMounted],()=>{f.height=an(e,m),f.width=rn(e,m)}));const h=!m;return t.watch([()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([w,y=-1,g=-1,k=0,d=0])=>{ao(f,w,n,h,y,g,k,d)}),e.set(Le,f),f}function nn(e){return e.get(Le)}function on(e,n){return n=n??e.get(Le),n&&n.headerMounted?n.headerHeight+n.safeAreaTop:0}function ln(e,n){return n=n??e.get(Le),n&&n.footerMounted?n.footerHeight+n.safeAreaBottom:0}function an(e,n){if(n=n??e.get(Le),n){const o=on(e,n),l=ln(e,n);return n.height-o-l-(n.contentPadding.top??0)-(n.contentPadding.bottom??0)}return 0}function rn(e,n){return n=n??e.get(Le),n?n.width-(n.contentPadding.left??0)-(n.contentPadding.right??0):0}var Oe=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(Oe||{});function sn(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function ge(e,n,o=1,l){const a=$e();return a==null?e:o===0?t.computed(()=>{const r=a.getAll(n);for(let i=r.length-1;i>=0;i--){const c=r[i];if(sn(c,l))return c}const s=e.value;return sn(s,l)?s:null}):t.computed(()=>{const r=e.value;return sn(r,l)?r:a?.get(n)})}function Ie(e){return ge(e,"readonly",0,function(o){return X.toBoolean(o)})}function Ne(e){return ge(e,"disabled",0,function(o){return X.toBoolean(o)})}function Ae(e,n="modelValue",o){const l=t.toRef(e,n);let a=l.value;typeof o=="function"&&(a=o(l.value));const r=t.ref(a);return t.watch(l,s=>{if(typeof o=="function"){const i=o(s);i!==r.value&&(r.value=i)}else s!==r.value&&(r.value=s)}),r}const ro=new Map,At=new Map;let cn=null;function fr(e){cn=e}function so(e,n,o){if(o){let l=At.get(o);l||(l=new Map,At.set(o,l)),l.set(e,n)}else ro.set(e,n)}function nt(e,n,o){!o&&cn&&(o=cn(e)??void 0);let l=null;if(o){let a=At.get(o);a&&(l=a.get(n))}return l||(l=ro.get(n)),l}function mr(e,n){for(let o in e){const l=e[o];so(o,l,n)}}function pr(e){At.delete(e)}function hr(){return{top:0,left:0,bottom:0,right:0}}function gr(){if(Ue){const e=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight;return{width:e,height:n,headerHeight:44,footerHeight:44}}else return{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}class yr{packages;_version;get version(){return this._version}constructor(n,o){this.packages=n,this._version=o}install(n,o){this.packages.forEach(r=>{r.install?n.use(r):r.name&&n.component(r.name,r)});const l=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=Vt();if(this.initPageLayout(o,a),o.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=en(()=>{const i={...o},c=document.documentElement.clientWidth||document.body.clientWidth,u=document.documentElement.clientHeight||document.body.clientHeight;i.width=c,i.height=u,this.initPageLayout(i,a)},150);new window.ResizeObserver(r).observe(window.document.body)}for(const r in o)l.indexOf(r)===-1&&a.set(r,o[r])}initPageLayout(n,o){const l=X.extend({},hr(),n.safeAreaInset),a=X.extend({},gr(),n.pageLayout);o=o??Vt(),o.set("safeAreaInset",l),o.set("headerBarHeight",n.headerBarHeight??0),o.set("footerBarHeight",n.footerBarHeight??0),o.set("pageLayout",a),o.set("rootWidth",a.width),o.set("rootHeight",a.height)}setScopeGetter(n){fr(n)}setAPI(n,o,l){so(n,o,l)}getAPI(n,o,l){return nt(n,o,l)}batchSetAPI(n,o){mr(n,o)}clearScopeAPI(n){pr(n)}getRootDomain(){return Vt()}}function K(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 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},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:{}}},io={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},co={name:{type:String,required:!1},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},type:{type:[String],required:!1,default:"flex"},title:{type:String,default:""},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},autoLayout:{type:[Boolean],required:!1,default:!0},isWrap:{type:[Boolean],required:!1,default:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1}},uo=[];for(const e in co)uo.push(e);function ot(e,n=null){if(n||(n=t.getCurrentInstance()),n&&n.proxy){let o=n.proxy;Object.assign(o,e)}}const kr=Symbol.for("InnerPageScopeKey"),Sr=(e,n)=>({inheritAttrs:!0,props:{...de,...io,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 a=lo(o.name,o);if(a){const u=ur(a,o);ot({getPageContentHeight:()=>an(a,u),getPageContentWidth:()=>rn(a,u),getPageHeaderHeight:()=>on(a,u),getPageFooterHeight:()=>ln(a,u)});const f=t.inject(kr,!1);u&&f&&(u.contentHeight="100%")}const r=t.computed(()=>({[e]:!0})),s=t.computed(()=>({})),i=t.getCurrentInstance(),c=u=>{const f=i?.proxy;f&&typeof f.setNameValidateRules=="function"&&f.setNameValidateRules(u,!0)};return t.watch(()=>o.rules,(u,f)=>{if(!u&&!f)return;const m=t.toRaw(f),h=t.toRaw(u),w=h?Reflect.ownKeys(h):[];(m?Reflect.ownKeys(m):[]).forEach(g=>{w.includes(g)||(h[g]=[])}),c(h)},{deep:!0}),t.onMounted(()=>{if(o.rules){const u=t.toRaw(o.rules);c(u)}}),{classes:r,styles:s}}}),{componentName:br,create:Cr,scope:N1}=K("page"),wr=Cr(Sr(br));function Nr(e,n,o,l,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 j=(e,n)=>{const o=e.__vccOpts||e;for(const[l,a]of n)o[l]=a;return o},fo=j(wr,[["render",Nr]]),Br=(e,n)=>({props:{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},defaultIndex:{type:[Number,String],default:0},tabs:{type:Array,default:()=>[]},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","change"],setup(o,l){const a=$e(),r=a?nn(a):null;r&&(r.headerMounted=!0);const s=t.computed(()=>({[e]:!0})),i=t.computed(()=>{const $={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&r){const D=De(o.padding??r.footerPadding);return Object.assign($,D),$.height=r.headerHeight,$.safeAreaTop=r.safeAreaTop,$.safeAreaTop&&($.top=$.safeAreaTop+(D.top??0),$.height=$.height+r.safeAreaTop),console.debug("[header] height",$.height),console.debug("[header] safeBottom",$.safeAreaTop),$}if(o.padding){const D=De(o.padding);Object.assign($,D)}return $});t.onUnmounted(()=>{r&&(r.headerMounted=!1)});const c=t.computed(()=>{const $={};return i.value.height&&($.height=`${i.value.height}px`),i.value.top&&($.paddingTop=`${i.value.top}px`),i.value.left&&($.paddingLeft=`${i.value.left}px`),i.value.right&&($.paddingRight=`${i.value.right}px`),i.value.bottom&&($.paddingBottom=`${i.value.bottom}px`),$}),u=t.computed(()=>{const $={};return i.value.safeAreaTop&&($.top=`${i.value.safeAreaTop}px`),$}),f=t.computed(()=>{const $={};return i.value.safeAreaTop&&($.top=`${i.value.safeAreaTop}px`),$}),m=t.computed(()=>{const $={};return i.value.height&&($.height=`${i.value.height-(i.value.safeAreaTop??0)}px`),$});let h=t.computed(()=>o.leftShow?o.leftIcon||o.leftText||l.slots.left:!1),w=t.computed(()=>o.tabs&&o.tabs.length>0),y=t.computed(()=>o.titleShow?w.value||o.title||o.titleIcon||l.slots.default:!1),g=t.computed(()=>o.rightShow?o.rightIcon||o.rightText||l.slots.right:!1),k=t.computed(()=>{let $={};return typeof o.leftIcon=="object"?Object.assign($,o.leftIcon):$.name=o.leftIcon,$}),d=t.computed(()=>{let $={};return typeof o.titleIcon=="object"?Object.assign($,o.titleIcon):$.name=o.titleIcon,$}),p=t.computed(()=>{let $={};return typeof o.rightIcon=="object"?Object.assign($,o.rightIcon):$.name=o.rightIcon,$});function S(){l.emit("back")}function C(){l.emit("click-title")}function b(){l.emit("click-right")}function N(){l.emit("click-right-text")}const B=t.ref(o.defaultIndex);function T($,D){B.value=$,l.emit("change",B.value,D)}return{classes:s,styles:c,activeIndex:B,leftStyles:u,rightStyles:f,tabStyles:m,mLeftShow:h,mTitleShow:y,mTabsShow:w,mRightShow:g,mLeftIcon:k,mTitleIcon:d,mRightIcon:p,handleLeft:S,handleCenter:C,handleRight:b,handleRightText:N,handleTabChange:T}}}),{componentName:Vr,create:Ar,scope:B1}=K("header"),Er=Ar(Br(Vr)),Tr={key:1,class:"fox-header__title"},$r={key:0,class:"tab-title"},Dr=["onClick"],Ir={key:0,class:"fox-tab-active__line"};function qr(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[e.mLeftShow?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-header__left",style:t.normalizeStyle(e.leftStyles)},[t.renderSlot(e.$slots,"left",{},()=>[e.leftIcon?(t.openBlock(),t.createBlock(s,{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]=(...i)=>e.handleLeft&&e.handleLeft(...i))},t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0),e.mTitleShow?(t.openBlock(),t.createElementBlock("view",Tr,[t.renderSlot(e.$slots,"default",{},()=>[e.mTabsShow?(t.openBlock(),t.createElementBlock("view",$r,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.tabs,i=>(t.openBlock(),t.createElementBlock("view",{key:i.id,style:t.normalizeStyle(e.tabStyles),class:t.normalizeClass(["tab-title-box",{"fox-tab-active":e.activeIndex===i.id}]),onClick:c=>e.handleTabChange(i.id,i.name)},[t.createTextVNode(t.toDisplayString(i.name)+" ",1),e.activeIndex===i.id?(t.openBlock(),t.createElementBlock("view",Ir,[t.createVNode(s,{name:"joy-smile"})])):t.createCommentVNode("",!0)],14,Dr))),128))])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"text-title",onClick:n[1]||(n[1]=(...i)=>e.handleTitle&&e.handleTitle(...i))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titleIcon?(t.openBlock(),t.createBlock(s,{key:1,class:"icon-title",color:e.mTitleIcon.color,name:e.mTitleIcon.name,onClick:e.handleCenter},null,8,["color","name","onClick"])):t.createCommentVNode("",!0)],64))])])):t.createCommentVNode("",!0),e.mRightShow?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-header__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]=(...i)=>e.handleRightText&&e.handleRightText(...i))},t.toDisplayString(e.rightText),1)):t.createCommentVNode("",!0),e.rightIcon?(t.openBlock(),t.createBlock(s,{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)}const mo=j(Er,[["render",qr]]);function zr(e,n){return{props:{padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(o,l){const a=$e(),r=a?nn(a):null;r&&(r.footerMounted=!0);const s=t.computed(()=>{const u=e;let f=e;return o.align==="left"?f=`${f}__left`:o.align==="right"?f=`${f}__right`:f=`${f}__center`,{[u]:!0,[f]:!0}}),i=t.computed(()=>{const u={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&r){const f=De(o.padding??r.footerPadding);return Object.assign(u,f),u.safeAreaBottom=r.safeAreaBottom,u.safeAreaBottom?(u.height=r.footerHeight+r.safeAreaBottom,u.bottom=u.safeAreaBottom+(f.bottom??0)):u.height=r.footerHeight,u}if(o.padding){const f=De(o.padding);Object.assign(u,f)}return u});t.onUnmounted(()=>{r&&(r.footerMounted=!1)});const c=t.computed(()=>{const u={};return i.value.height&&(u.height=_(i.value.height)),i.value.top&&(u.paddingTop=_(i.value.top)),i.value.left&&(u.paddingLeft=_(i.value.left)),i.value.right&&(u.paddingRight=_(i.value.right)),i.value.bottom&&(u.paddingBottom=_(i.value.bottom)),u});return{classes:s,styles:c}}}}const{componentName:Mr,create:Pr,scope:V1}=K("footer"),Rr=Pr(zr(Mr));function Lr(e,n,o,l,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 po=j(Rr,[["render",Lr]]);function Or(e,n){return{props:{padding:{type:[Object],required:!1}},setup(o){const l=$e(),a=t.computed(()=>({[e]:!0})),r=t.computed(()=>{const s={};if(l){const i=nn(l);if(i){if(o.padding){const m=De(o.padding);Object.assign(i.contentPadding,m)}const c=on(l,i),u=ln(l,i);let f="";if(i.contentHeight?f=`${i.contentHeight}`:f=`${i.height}px`,console.debug("[content]page height:",f),console.debug("[content]header height:",c),console.debug("[content]footer height:",u),console.debug("[content]padding:",i.contentPadding),s.height=f,i.contentPadding.top||c>0){const m=(i&&i.contentPadding&&i.contentPadding.top)??0;s.paddingTop=`${c+m}px`}if(i.contentPadding.bottom||u>0){const m=(i&&i.contentPadding&&i.contentPadding.bottom)??0;s.paddingBottom=`${u+m}px`}return i.contentPadding.left&&(s.paddingLeft=`${i.contentPadding.left}px`),i.contentPadding.right&&(s.paddingRight=`${i.contentPadding.right}px`),s}}if(o.padding){const i=De(o.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:Fr,create:Ur,scope:A1}=K("content"),Kr=Ur(Or(Fr));function Hr(e,n,o,l,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 ho=j(Kr,[["render",Hr]]),Et="GroupStateKey",go=Symbol.for("GroupScopeKey");function Ke(){return t.inject(go,!1)}function Tt(e=!0){t.provide(go,e)}function xr(e,n={}){const o=e.get("width",-1),l={type:"form",width:o,column:-1,gutter:-1};Object.assign(l,n);const a=t.shallowRef(l),r=t.markRaw({layout:a,passport:0});return e.set(Et,r),r}function yo(e,n,o=-1,l=-1,a=!1){const r=e.get(Et);if(!r)return;const s=e.get("groupLayout")??{};o===-1&&(o=s.column??1),l===-1&&(l=s.gutter??0);const i=s.minItemWidth??-1,c=()=>{const u=n===""||n===-1,f=ue(n);let m=X.toNumber(o);const h=ue(l);if(!u){let g=(f-(m-1)*h)/m;for(;i!==-1&&m>1&&g<i;)m--,g=(f-(m-1)*h)/m}let w=!1;const y=r.layout;y.value.width=n,y.value.column!==m&&(y.value.column=m,w=!0),y.value.gutter!==h&&(y.value.gutter=h,w=!0),w&&t.triggerRef(y)};if(a)c();else{const u=++r.passport;setTimeout(()=>{u===r.passport&&c()},50)}}function He(e,n=!1){let o;return n?o=e.getForParent(Et):o=e.get(Et),o.layout}function be(e,n=1){return n==="stretch"?-1:(n=X.toNumber(n),n===-1?100:100*n/e)}function jr(e){return e===window}const Ce=e=>{const n=t.unref(e);if(jr(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 dn{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 dn;const lt=(e,n)=>e?n?`fox-group__${e}-${n}`:"":`fox-group__${n}`,Wr=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},Yr=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=X.toNumber(e.props.offset);return n<0?0:n},Xr=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"},Qr=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=X.toNumber(e.props.foxSubItemCount);return n<0?1:n},{componentName:Gr,create:vr}=K("group"),ko=vr({props:{...de,...io,...co},setup(e,n){const o=lo(e.name,e,uo),l=xr(o,{type:e.type}),a=Ke();Tt(!0);const r=t.getCurrentInstance(),s=p=>{const S=r?.proxy;S&&typeof S.setNameValidateRules=="function"&&S.setNameValidateRules(p,!0)};t.watch(()=>e.rules,(p,S)=>{if(!p&&!S)return;const C=t.toRaw(S),b=t.toRaw(p),N=b?Reflect.ownKeys(b):[];(C?Reflect.ownKeys(C):[]).forEach(T=>{N.includes(T)||(b[T]=[])}),s(b)},{deep:!0}),t.onMounted(()=>{if(e.rules){const p=t.toRaw(e.rules);s(p)}});const i=Gr,c=t.computed(()=>{const p={};if(a&&o){const S=He(o,!0);if(S.value.type!=="flex")return{};if(e.width){const N=_(e.width);p.width=N}else{const N=be(S.value.column,e.span);N>0&&(p.width=`${N}%`)}if(e.height){const N=_(e.height);p.height=N}const C=be(S.value.column,e.offset);C>0&&(p["margin-left"]=`${C}%`);const b=S.value.gutter/2;b>0&&(p["padding-left"]=`${b}px`,p["padding-right"]=`${b}px`)}else{if(e.width){const S=_(e.width);p.width=S}if(e.height){const S=_(e.height);p.height=S}}return p}),u=t.computed(()=>e.type==="flex"?{[`${lt("",e.type)}`]:!0,[`${lt("justify",e.justify)}`]:!0,[`${lt("align",e.align)}`]:!0,[`${lt("flex",e.flexWrap)}`]:!0,[`${i}__gutter`]:!0}:{[`${lt("",e.type)}`]:!0,[`${i}__gutter`]:!0}),f=t.toRef(e,"title"),m=t.toRef(e,"gutter"),h=t.toRef(e,"column"),w=t.computed(()=>a?!0:e.isWrap),y=t.ref([]),g=p=>{y.value.push(p)},k=t.ref(-1);if(yo(o,k.value,h.value,m.value,!0),e.autoLayout){t.watch([k,h,m],([S,C,b])=>{yo(o,S,C,b,!1)});let p=null;t.onMounted(()=>{if(Ue&&y.value&&y.value.length>0){const S=y.value[0];k.value=Ce(S).width,window.ResizeObserver&&(p=new window.ResizeObserver(()=>{const C=Ce(S).width;C>0&&C!==k.value&&(k.value=C)}),p.observe(S))}}),t.onUnmounted(()=>{p?.disconnect()})}const d=(p,S,C,b)=>{const N={...u.value};return S===0&&(N[`${i}__first`]=!0),C>=b-1&&(N[`${i}__last`]=!0),t.h("view",{ref:g,key:`${S}`,class:N},p)};return()=>{const p=[];let S=0;if(n.slots.title){const B={key:`${S++}`,class:{[`${i}__title`]:!0,[`${i}__first`]:!0}},T=t.h("view",B,[n.slots.title()]);p.push(T)}else if(f.value){const B={key:`${S++}`,class:{[`${i}__title`]:!0,[`${i}__first`]:!0}},T=[];if(e.showMark){const z=t.h("view",{class:{[`${i}__title-mark`]:!0}});T.push(z)}const $=t.h("view",{class:{[`${i}__title-text`]:!0}},[f.value]);T.push($);const D=t.h("view",B,T);p.push(D)}const C=n.slots.default?n.slots.default():[];let b=[],N=0;if(e.type==="flex"){for(let B=0;B<C.length;B++){const T=C[B];if(Xr(T)==="fragment"){let P=Qr(T);P>l.layout.value.column?P=l.layout.value.column:P<=0&&(P=1);const A=N+P;if(A>l.layout.value.column){const E=d([...b],S++,B-1,C.length);p.push(E),N=P,b=[T]}else b.push(T),N=A;continue}const D=Wr(T),z=Yr(T);if(D==="stretch"){if(N<l.layout.value.column){b.push(T);const P=d([...b],S++,B,C.length);p.push(P)}else{const P=d([...b],S++,B-1,C.length);p.push(P);const A=d([T],S++,B,C.length);p.push(A)}N=0,b=[];continue}let x=X.toNumber(D);if(x===-1){if(b.length>0){const A=d([...b],S++,B-1,C.length);p.push(A)}const P=d([T],S++,B,C.length);p.push(P),N=0,b=[];continue}x>l.layout.value.column?x=l.layout.value.column:x<=0&&(x=1);const H=N+x+z;if(H>l.layout.value.column){const P=d([...b],S++,B-1,C.length);p.push(P),N=x+z,b=[T]}else b.push(T),N=H}if(b.length>0){const B=d([...b],S++,C.length,C.length);p.push(B)}}else for(let B=0;B<C.length;B++){const T=C[B],$=d([T],S++,B,C.length);p.push($)}return w.value?t.h("view",{class:{[`${i}`]:!0},style:c.value},[p]):p}}}),So={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:Zr,create:Jr}=K("price"),_r=Jr({props:{...So},setup(e){const n=t.computed(()=>({[Zr]:!0})),o=t.computed(()=>e.needSymbol?e.symbol:""),l=t.computed(()=>ie(e.price)==0?"":vt(e.price,e.decimalLength,!0,X.toNumber(e.digits),e.separator)),a=t.computed(()=>{let s=l.value;if(s.length==0)return"";let i=s.indexOf(".");return s.substring(0,i)}),r=t.computed(()=>{let s=l.value;if(s.length==0)return"";let i=s.indexOf(".");return s.substring(i+1)});return{classes:n,showSymbol:o,intText:a,decimalText:r}}}),es=["innerHTML"],ts=["innerHTML"];function ns(e,n,o,l,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,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 $t=j(_r,[["render",ns]]),{componentName:un,create:os}=K("hint-text"),ls=os({components:{[$t.name]:$t},props:{...So,type:{type:String,default:"number"},id:{type:String},startPoint:{type:Object},width:{type:Number},height:{type:Number,default:40},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,n){const a=t.computed(()=>({[un]:!0})),r=t.computed(()=>({left:_(e.startPoint.x),top:_(e.startPoint.y-e.height-10-4),height:_(e.height),width:_(e.width)})),s=t.computed(()=>({[`${un}__content`]:!0})),i=t.computed(()=>({})),c=t.computed(()=>({[`${un}__arrow`]:!0})),u=t.computed(()=>({top:_(e.height)}));return{classes:a,styles:r,textClasses:s,textStyles:i,arrowClasses:c,arrowStyles:u}}}),as={key:1,class:"text"};function rs(e,n,o,l,a,r){const s=t.resolveComponent("fox-price");return t.openBlock(),t.createBlock(t.Transition,{name:"hint-text-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{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(s,{key:0,price:e.message,position:"before"},null,8,["price"])):(t.openBlock(),t.createElementBlock("span",as,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 Dt=j(ls,[["render",rs]]);function ss(e){return e===window}const is=e=>{const n=t.unref(e);if(!n)return{x:0,y:0};if(ss(n))return{x:0,y:0};let o=0,l=0,a=n;for(;a!==null;)o+=a.offsetLeft,l+=a.offsetTop,a=a.offsetParent;let r=0,s=0;for(a=n;a!==document;)s+=a.scrollTop,r+=a.scrollLeft,a=a.parentNode;return o-=r,l-=s,{x:o,y:l}},fn={},cs=new dn,xe=new Map,mn=e=>{if(e){const n=document.getElementById(e);xe.delete(e),n&&document.body.removeChild(n)}else{for(const n of xe.keys()){const o=document.getElementById(n);o&&document.body.removeChild(o)}xe.clear()}},ds=e=>{const n=document.getElementById(e.id);if(n){const o=xe.get(e.id);o?e={...fn,...o,...e}:e={...fn,...e};const l=t.createVNode(Dt,e);return t.render(l,n),e.id}},us=e=>{e.unmount=mn;let n;if(e.id){if(n=e.id,xe.has(n))return ds(e)}else n=`hinttext_${cs.get()}`;e={...fn,...e},e.id=n,xe.set(n,e);const o=document.createElement("div");o.id=e.id;const l=t.createVNode(Dt,e);return t.render(l,o),document.body.appendChild(o),n},fs=e=>{if(!e){console.warn("[FoxUI HintText]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},It={show(e,n,o={},l=!0){l&&mn(),fs(n);const a=is(e),r={x:a.x,y:a.y},i=Ce(e).width;return us({...o,message:n,startPoint:r,width:i})},hide(e){mn(e)},install(e){e.config.globalProperties.$hintText=It}},{componentName:bo,create:ms}=K("item"),ps=ms({inheritAttrs:!0,props:{...de,...fe},setup(e,n){Se({componentName:bo,validate:!1},e.prop??e.name);const o=$e(),l=Ke();Tt(!1);const a=bo,r=t.computed(()=>({[a]:!0,[`${a}__gutter`]:!0,[`${a}__stretch`]:e.span==="stretch",[`${a}__input--border`]:e.hasBorder,"is-error":!!T.value,"is-warn":!!N.value,"is-info":!!C.value})),s=t.computed(()=>{const I={};if(l&&o){const V=He(o,!1);if(V.value.type!=="flex")return e.width&&(I.width=_(e.width)),I;if(e.width)I.width=_(e.width);else{const M=be(V.value.column,e.span);M>0&&(I.width=`${M}%`)}const O=be(V.value.column,e.offset);O>0&&(I["margin-left"]=`${O}%`);const F=V.value.gutter/2;return F>0&&(I["padding-left"]=`${F}px`,I["padding-right"]=`${F}px`),I}else e.width&&(I.width=_(e.width));return I}),i=t.ref(null),c=t.computed({get:()=>i.value??X.toBoolean(e.isRequired),set:I=>{i.value=I}}),u=t.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof n.slots.label=="function"),f=ge(t.toRef(e,"labelPosition"),"labelPosition",Oe.Near),m=t.computed(()=>f&&f.value==="top"?"top":f&&f.value==="right"?"right":"left"),h=t.computed(()=>({[`${a}__main`]:!0,[`${a}__main--${m.value}`]:!0})),w=t.computed(()=>({label:!0,[`label--${m.value}`]:!0})),y=ge(t.toRef(e,"labelWidth"),"labelWidth",Oe.Near),g=t.computed(()=>y&&y.value?{width:`${_(y.value)}`}:{}),k=t.computed(()=>({["label--string"]:!0,["label--required"]:c.value})),d=t.computed(()=>({content:!0,[e.contentClass]:!0})),p=t.computed(()=>({...e.contentStyle})),S=t.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});ot({setRequired(I){c.value=I},setErrorTip(I){S.errorTip=I},setErrorIcon(I){S.errorIcon=I},setWarnTip(I){S.warnTip=I},setWarnIcon(I){S.warnIcon=I},setInfoTip(I){S.infoTip=I},setInfoIcon(I){S.infoIcon=I}});const C=t.computed(()=>e.infoTip||S.infoTip),b=t.computed(()=>e.infoIcon||S.infoIcon),N=t.computed(()=>e.warnTip||S.warnTip),B=t.computed(()=>e.warnIcon||S.warnIcon),T=t.computed(()=>e.errorTip||S.errorTip),$=t.computed(()=>e.errorIcon||S.errorIcon),D=t.computed(()=>T.value?"error":N.value?"warn":C.value?"info":""),z=t.computed(()=>D.value.length>0),x=t.computed(()=>D.value==="error"?T.value:D.value==="warn"?N.value:D.value==="info"?C.value:""),H=t.computed(()=>D.value==="error"?$.value:D.value==="warn"?B.value:D.value==="info"?b.value:null),P=t.computed(()=>{let I={[`${a}__tip`]:!0,[`${a}__tip--${D.value}`]:!0};return D.value==="error"&&e.errorClass?I[`${e.errorClass}`]=!0:D.value==="warn"&&e.warnClass?I[`${e.warnClass}`]=!0:D.value==="info"&&e.infoClass&&(I[`${e.infoClass}`]=!0),I}),A=t.computed(()=>{let I={};return f&&f.value==="top"?I["padding-left"]="0px":y&&y.value&&(I["padding-left"]=_(y.value)),I}),E=t.ref();let q="";return t.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([I,V,O,F])=>{!E.value||(I&&!ke(V)?q?It.show(E.value,V,{...F,id:q,type:O}):q=It.show(E.value,V,{...F,type:O}):It.hide(q))}),{classes:r,styles:s,mainClasses:h,hasLabel:u,labelClasses:w,labelStyles:g,labelStringClasses:k,contentClasses:d,contentStyles:p,contentRef:E,hasTip:z,mTip:x,mIcon:H,tipClasses:P,tipStyles:A}}}),hs={class:"text"};function gs(e,n,o,l,a,r){const s=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(s,{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 Be=j(ps,[["render",gs]]);function ys(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]}},setup(o,l){const a=e,r=t.computed(()=>({[a]:!0,[`${a}__stretch`]:o.span==="stretch",[`${a}__${o.align}`]:!0})),s=$e(),i=Ke();Tt(!1);const c=t.computed(()=>{const f={};if(i&&s){const m=He(s,!1);if(m.value.type!=="flex")return o.width&&(f.width=_(o.width)),f;if(o.width)f.width=_(o.width);else{const y=be(m.value.column,o.span);y>0&&(f.width=`${y}%`)}const h=be(m.value.column,o.offset);h>0&&(f["margin-left"]=`${h}%`);const w=m.value.gutter/2;w>0&&(f["padding-left"]=`${w}px`,f["padding-right"]=`${w}px`)}else o.width&&(f.width=_(o.width));return f}),u=t.computed(()=>({[`${a}__content`]:!0}));return()=>{const f=[];l.slots.default&&f.push(l.slots.default());const m={class:u.value},h=t.h("view",m,f),w={class:r.value,style:c.value};return t.h("view",w,[h])}}}}const{componentName:ks,create:Ss,scope:E1}=K("row-item"),Co=Ss(ys(ks));function bs(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 a=e,r=t.computed(()=>({[a]:!0,[`${a}__stretch`]:o.span==="stretch"})),s=$e(),i=Ke();Tt(!1);const c=t.computed(()=>{const u={};if(i&&s){const f=He(s,!1);if(f.value.type!=="flex")return o.width&&(u.width=_(o.width)),u;if(o.width)u.width=_(o.width);else{const w=be(f.value.column,o.span);w>0&&(u.width=`${w}%`)}const m=be(f.value.column,o.offset);m>0&&(u["margin-left"]=`${m}%`);const h=f.value.gutter/2;h>0&&(u["padding-left"]=`${h}px`,u["padding-right"]=`${h}px`)}else o.width&&(u.width=_(o.width));return u});return()=>{const u={class:r.value,style:c.value};return l.slots&&typeof l.slots.default=="function"?t.h("view",u,l.slots.default()):t.h("view",u)}}}}const{componentName:Cs,create:ws,scope:T1}=K("slot-item"),wo=ws(bs(Cs)),{componentName:No,create:Ns}=K("icon"),ae=Ns({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=r=>{n("click",r)},a=t.computed(()=>e.name?e.name.indexOf("/")!==-1:!1);return()=>{const r=a.value;return t.h(r?"img":e.tag,{class:r?`${No}__img`:`${e.fontClassName} ${No} ${e.classPrefix}-${e.name}`,style:{color:e.color,fontSize:_(e.size),width:_(e.size),height:_(e.size)},onClick:l,src:r?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 Bs(e,n,o,l){return{props:{...de,...fe,...Bo},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const{emitEvent:s}=Se({componentName:e},a.prop??a.name),{toLocaleRefs:i}=oe.useFoxI18n(n),c=i(a,["placeholder"]),u=t.ref(!1),f=Ne(t.computed(()=>a.disabled)),m=Ie(t.computed(()=>a.readonly)),h=Ae(a,"modelValue"),w=e,y=t.computed(()=>({[w]:!0,[`${w}__disabled`]:f.value})),g=ge(t.computed(()=>a.textAlign),"textAlign"),k=t.computed(()=>u.value?{textAlign:"left"}:{textAlign:g.value??"right"}),d=P=>{let E=P.target.value;a.type==="digit"&&(E=Zt(E,!0)),a.type==="number"&&(E=Zt(E,!1)),a.maxLength&&E.length>Number(a.maxLength)&&(E=E.slice(0,Number(a.maxLength))),h.value=E,s("update:modelValue",E,P),s("change",E,P)};let p=Ae(a,"hintText"),S=t.ref(!1);const C=P=>{let E=P.target.value;u.value=!0,ke(p.value)||(S.value=!0),s("focus",E,P)},b=P=>{setTimeout(()=>{S.value&&(S.value=!1),u.value=!1},0);let E=P.target.value;a.maxLength&&E.length>Number(a.maxLength)&&(E=E.slice(0,Number(a.maxLength))),s("blur",E,P)},N=t.computed(()=>({[`${w}__append`]:!0})),B=t.computed(()=>ie(a.unit)>0),T=t.computed(()=>!x.value),$=t.computed(()=>({hidden:!T.value})),D=P=>{h.value="",s("update:modelValue","",P),s("change","",P),s("clear","")},z=t.computed(()=>a.clearable&&!f.value&&!m.value),x=t.computed(()=>ie(h.value)>0&&u.value),H=t.computed(()=>({action:!0,hidden:!x.value}));return()=>{const P={class:y.value,style:k.value,type:a.type,maxlength:a.maxLength,placeholder:c.placeholder.value,disabled:f.value,readonly:m.value,value:h.value,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onInput:d,onFocus:C,onBlur:b},A=[],E=t.h("input",P);A.push(E);const q=[];if(z.value){const U={name:"close-little",size:"10px"},Y=t.h(l,U),W={class:H.value,onClick:D},Q=t.h("view",W,{default:()=>[Y]});q.push(Q)}if(B.value){const U=t.h("view",{class:$.value},[a.unit]);q.push(U)}const I={class:N.value},V=t.h("view",I,{default:()=>q});A.push(V);const O={default:()=>A};if(r.slots.default){const U=r.slots.default();O.label=()=>U}if(r.slots.prepend){const U=r.slots.prepend();O.prepend=()=>U}if(r.slots.append){const U=r.slots.append();O.append=()=>U}const M={...eo(a,Bo),hintText:p.value,hintVisible:S.value};return t.h(o,M,O)}}}}const{componentName:Vs,create:As,scope:Es}=K("input-item"),Vo=As(Bs(Vs,Es,Be,ae));function Ao(e,n=0){let o=`${e}`,l=o.indexOf(".");if(l==-1)return o;let a=l;for(let r=o.length-1;r>=l;r--)if(o.charAt(r)!="0"){a=r;break}return a-l<n?a=l+n+1:a!=l&&(a+=1),a>o.length?o=o.padEnd(a,"0"):o=o.substring(0,a),o}function Eo(e,n,o=20){if(typeof n=="string"&&(n=X.toNumber(n)),n==1||n==-1)return`${e}`;if(n==0)return"0";if(n>0){let l=Wn(`${e}`,`${n}`);return Ao(l)}else{let l=Qt(`${e}`,Yn(`${n}`),20);return Ao(l)}}function Ts(e,n=-1,o=!1,l=3,a=","){return vt(e,n,o,l,a)}function To(e,n,o,l,a=!0){if(e=="")return"";if(e=Xn(e),n=X.toNumber(n),n==1)return e;if(l)e=Eo(e,n),o&&(e=="0"&&a?e=`${e}.`.padEnd(X.toNumber(o)+2,"0"):e=Qt(e,1,X.toNumber(o)));else{let r=-1*n;e=Eo(e,r)}return e}function $o(e,n){let o={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let l=X.toBoolean(n.minInclude),a=Gt(e,n.min);if(l&&a==-1||!l&&(a==0||a==-1)){let r="\u8BF7\u8F93\u5165\u4E0D\u5C0F\u4E8E {0} \u7684\u6570\u503C";o.message=r.replace("{0}",n.min),o.minValid=!1}}if(n.max!=null){let l=X.toBoolean(n.maxInclude),a=Gt(e,n.max);(l&&a==1||!l&&(a==0||a==1))&&(o.maxValid=!1)}return o}function $s(e,n,o,l){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{emitEvent:s}=Se({componentName:e},a.prop??a.name),i=t.ref(!1),c=Ne(t.computed(()=>a.disabled)),u=Ie(t.computed(()=>a.readonly)),f=Ae(a,"modelValue"),m=t.ref("");t.watch([()=>f.value,()=>a.rates,()=>a.precision],([I,V,O])=>{const F=To(I,V,O,!1);m.value!==F&&(m.value=F)},{immediate:!0});const h=t.computed(()=>{let I="";return i.value&&(I=m.value),I}),{t:w}=oe.useFoxI18n(n),y=t.computed(()=>{let I=a.placeholder??"";return!i.value&&!ke(m.value)?I=Ts(m.value,a.decimalLength,a.autoPadding,a.digits,a.separator):I=w(["placeholder",I]),I}),g=e,k=t.computed(()=>({[g]:!0,[`${g}__disabled`]:c.value,[`${g}__placeholder`]:m.value.length>0})),d=ge(t.computed(()=>a.textAlign),"textAlign"),p=t.computed(()=>i.value?{textAlign:"left"}:{textAlign:d.value??"right"}),S=t.ref(""),C=t.computed(()=>{let I=S.value;return ke(I)&&(I=a.errorTip??""),I}),b=t.ref(""),N=t.ref(!1),B=I=>{let O=I.target.value;if(ke(O)){m.value="",f.value="",s("update:modelValue","",I),s("change","",I),X.toBoolean(a.showTip)&&N.value&&(N.value=!1);return}if(O.length>=2){let F=O;if(F.charAt(0)=="-"&&(F=F.substring(1)),F.length>=2&&F.charAt(0)=="0"&&F.charAt(1)!="."){t.triggerRef(m);return}}if(O!="-"){if(!Gn(O)){t.triggerRef(m);return}if(a.integerLength!=-1&&vn(O)>Number(a.integerLength)){t.triggerRef(m);return}if(a.decimalLength&&a.decimalLength!=-1&&Zn(O)>Number(a.decimalLength)){t.triggerRef(m);return}let F=$o(O,a);if(F.maxValid===!1){S.value=F.message,t.triggerRef(m);return}}else if(a.min!=null&&X.toNumber(a.min)>=0){t.triggerRef(m);return}b.value=O,X.toBoolean(a.showTip)&&(N.value=O.length>0),m.value=O,f.value=To(O,a.rates,a.precision,!0),s("update:modelValue",f.value,I),s("change",f.value,I)},T=I=>{if(i.value=!0,X.toBoolean(a.showTip)){let V=m.value;ke(V)&&(V=a.hintText),ke(V)||(b.value=V,N.value=!0)}S.value="",s("focus",f.value,I)},$=I=>{if(setTimeout(()=>{i.value=!1,X.toBoolean(a.showTip)&&N.value===!0&&(N.value=!1)},0),!ke(m.value)){let V=$o(m.value,a);if(V.minValid===!1||V.maxValid){S.value=V.message;return}}s("update:modelValue",f.value,I),s("blur",f.value,I)},D=t.computed(()=>({[`${g}__append`]:!0})),z=t.computed(()=>ie(a.unit)>0),x=t.computed(()=>!E.value),H=t.computed(()=>({hidden:!x.value})),P=I=>{f.value="",s("update:modelValue","",I),s("change","",I),s("clear","")},A=t.computed(()=>a.clearable&&!c.value&&!u.value),E=t.computed(()=>ie(f.value)>0&&i.value),q=t.computed(()=>({action:!0,hidden:!E.value}));return()=>{let I={class:k.value,style:p.value,type:"digit",maxlength:a.maxLength,placeholder:y.value,disabled:c.value,readonly:u.value,value:h.value,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onInput:B,onFocus:T,onBlur:$},V=[],O=t.h("input",I);V.push(O);let F=[];if(A.value){let Q={name:"close-little",size:"10px"},Z=t.h(l,Q),v={class:q.value,onClick:P},J=t.h("view",v,{default:()=>[Z]});F.push(J)}if(z.value){let Q=t.h("view",{class:H.value},[a.unit]);F.push(Q)}let M={class:D.value},L=t.h("view",M,{default:()=>F});V.push(L);let U={default:()=>V};if(r.slots.default){let Q=r.slots.default();U.label=()=>Q}if(r.slots.prepend){let Q=r.slots.prepend();U.prepend=()=>Q}if(r.slots.append){let Q=r.slots.append();U.append=()=>Q}let Y={...a,errorTip:C.value,hintText:b.value,hintVisible:N.value,hintType:"number"};return t.h(o,Y,U)}}}}const{componentName:Ds,create:Is,scope:qs}=K("money-item"),Do=Is($s(Ds,qs,Be,ae)),pn={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:zs,create:Ms,scope:Ps}=K("textarea"),Rs=Ms({props:{...pn},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:n}){let{toLocaleRefs:o}=oe.useFoxI18n(Ps);const l=o(e,["placeholder"]),a=t.ref(),r=t.computed(()=>{const h=zs;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 w=h.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:y,minHeight:g}=e.autosize;y!==void 0&&(w=Math.min(w,y)),g!==void 0&&(w=Math.max(w,g))}w&&(h.style.height=w+"px")};t.watch(()=>e.modelValue,()=>{e.autosize&&t.nextTick(i)});const c=(h,w)=>{e.maxLength&&h.length>Number(e.maxLength)&&(h=h.substring(0,Number(e.maxLength))),n("update:modelValue",h,w),n("change",h,w)};return{...l,textareaRef:a,classes:r,styles:s,change:h=>{const w=h.target;c(w.value,h)},focus:h=>{e.disabled||e.readonly||n("focus",h)},blur:h=>{if(e.disabled||e.readonly)return;let y=h.target.value;c(y,h),n("blur",{value:y,event:h})}}}}),Ls=["rows","disabled","readonly","value","maxlength","placeholder","autofocus"],Os={key:0,class:"fox-textarea__limit"};function Fs(e,n,o,l,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: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)),maxlength:e.maxLength,placeholder:e.placeholder,autofocus:e.autofocus},null,44,Ls),e.limitShow?(t.openBlock(),t.createElementBlock("view",Os,t.toDisplayString(e.modelValue?e.modelValue.length:0)+"/"+t.toDisplayString(e.maxLength),1)):t.createCommentVNode("",!0)],2)}const hn=j(Rs,[["render",Fs]]);function Us(e,n,o,l){return{props:{...de,...fe,...pn},emits:["update:modelValue","change","blur","focus"],setup(a,r){const{emitEvent:s}=Se({componentName:e},a.prop??a.name),i=Ne(t.computed(()=>a.disabled)),c=Ie(t.computed(()=>a.readonly)),u=Ae(a,"modelValue"),f=g=>{u.value=g,s("update:modelValue",g,{}),s("change",g,{})};let m=Ae(a,"hintText"),h=t.ref(!1);const w=g=>{ke(m.value)||(h.value=!0),s("focus",u.value,g)},y=g=>{setTimeout(()=>{h.value&&(h.value=!1)},0),s("blur",u.value,g)};return()=>{const k={...he(a,pn),disabled:i.value,readonly:c.value,value:u.value,["onUpdate:modelValue"]:f,onFocus:w,onBlur:y},d=[],p=t.h(l,k);d.push(p);const S={default:()=>d};if(r.slots.default){const N=r.slots.default();S.label=()=>N}const C=he(a,fe,de);return t.h(o,C,S)}}}}const{componentName:Ks,create:Hs,scope:xs}=K("textarea-item"),Io=Hs(Us(Ks,xs,Be,hn));let at=0;const qo="fox-overflow-hidden",js=e=>[()=>{e()&&(!at&&document.body.classList.add(qo),at++)},()=>{e()&&at&&(at--,!at&&document.body.classList.remove(qo))}],zo={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:Ws,create:Ys}=K("overlay"),Xs=Ys({props:zo,emits:["click","update:visible"],setup(e,{emit:n}){const o=t.computed(()=>({[Ws]:!0,[e.overlayClass]:!0}));t.watch(()=>e.visible,c=>{c?l():a()});const l=()=>{e.lockScroll&&e.visible&&document.body.classList.add("fox-overflow-hidden")},a=()=>{document.body.classList.remove("fox-overflow-hidden")};t.onDeactivated(a),t.onBeforeUnmount(a),t.onMounted(l),t.onActivated(l);const r=t.computed(()=>({animationDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return{classes:o,style:r,touchmove:c=>{e.lockScroll&&c.preventDefault()},onClick:c=>{n("click",c),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function Qs(e,n,o,l,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),onTouchmove:n[0]||(n[0]=t.withModifiers((...s)=>e.touchmove&&e.touchmove(...s),["stop"])),onClick:n[1]||(n[1]=(...s)=>e.onClick&&e.onClick(...s)),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],38),[[t.vShow,e.visible]])]),_:3})}const qt=j(Xs,[["render",Qs]]),Me={...zo,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:Gs,create:vs}=K("popup");let Mo=2e3;const Zs=vs({components:{[qt.name]:qt,[ae.name]:ae},props:{...Me},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}),[a,r]=js(()=>e.lockScroll),s=t.computed(()=>({[Gs]:!0,round:e.round,[`popup-${e.position}`]:!0,[`popup-${e.position}--safebottom`]:e.position==="bottom"&&e.safeAreaInsetBottom,[e.popClass]:!0})),i=t.computed(()=>({zIndex:l.zIndex,animationDuration:e.duration?`${e.duration}s`:"initial",...e.style})),c=()=>{e.zIndex!=2e3&&(Mo=Number(e.zIndex)),n("update:visible",!0),a(),l.zIndex=++Mo,e.destroyOnClose&&(l.showSlot=!0),n("open")},u=()=>{r(),n("update:visible",!1),n("close"),e.destroyOnClose&&setTimeout(()=>{l.showSlot=!1},+e.duration*1e3)},f=g=>{n("click",g)},m=g=>{n("click-close-icon",g),u()},h=g=>{e.closeOnClickOverlay&&(n("click-overlay",g),u())},w=g=>{n("opened",g)},y=g=>{n("closed",g)};return t.onMounted(()=>{e.transition?l.transitionName=e.transition:l.transitionName=`popup-slide-${e.position}`,e.visible&&c()}),t.onBeforeUnmount(()=>{e.visible&&u()}),t.onBeforeMount(()=>{e.visible&&r()}),t.onActivated(()=>{l.keepAlive&&(n("update:visible",!0),l.keepAlive=!1)}),t.onDeactivated(()=>{e.visible&&(u(),l.keepAlive=!0)}),t.watch(()=>e.visible,g=>{g?c():u()}),t.watch(()=>e.position,g=>{g==="center"?l.transitionName="popup-fade":l.transitionName=`popup-slide-${g}`}),t.watch(()=>e.closeable,g=>{l.closed=g}),{...t.toRefs(l),popStyle:i,classes:s,onClick:f,onClickCloseIcon:m,onClickOverlay:h,onOpened:w,onClosed:y,popupRef:o}}});function Js(e,n,o,l,a,r){const s=t.resolveComponent("fox-overlay"),i=t.resolveComponent("fox-icon");return t.openBlock(),t.createBlock(t.Teleport,{to:e.teleport,disabled:!e.isWrapTeleport},[e.overlay?(t.openBlock(),t.createBlock(s,{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(i,{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 pe=j(Zs,[["render",Js]]),Po=10;function _s(e,n){return e>n&&e>Po?"horizontal":n>e&&n>Po?"vertical":""}function rt(){const e=t.ref(0),n=t.ref(0),o=t.ref(0),l=t.ref(0),a=t.ref(0),r=t.ref(0),s=t.ref(0),i=t.ref(0),c=t.ref(0),u=t.ref(0),f=t.ref(""),m=()=>f.value==="vertical",h=()=>f.value==="horizontal",w=()=>{s.value=0,i.value=0,c.value=0,u.value=0,f.value="",o.value=0};return{move:k=>{const d=k.touches[0];s.value=d.clientX-e.value,i.value=d.clientY-n.value,a.value=d.clientX,r.value=d.clientY,c.value=Math.abs(s.value),u.value=Math.abs(i.value),l.value=Date.now()-o.value,f.value||(f.value=_s(c.value,u.value))},start:k=>{w(),e.value=k.touches[0].clientX,n.value=k.touches[0].clientY,o.value=Date.now()},reset:w,startX:e,startY:n,startTime:o,duration:l,moveX:a,moveY:r,deltaX:s,deltaY:i,offsetX:c,offsetY:u,direction:f,isVertical:m,isHorizontal:h}}const Ro={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}},gn={...Me,...Ro,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 Lo=36;function ei(){return Lo}function ti(e){Lo=e}function Ee(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function yn(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function ni(e,n,o){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=o),n.children=o}function Fe(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Oo(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}class oi{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 a=nt(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(X.isObject(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}}function li(){const e=t.getCurrentInstance();return new oi(e.proxy)}function Fo(e,n,o){const l=Ee(e,n),a=Ee(e,o);if(l!==a)return!1;const r=Fe(e,n),s=Fe(e,o);return r===s}function ai(e,n,o,l){if(o.length==0)return[];Array.isArray(n)||(n=[n]);const a=[],r=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let s=0;s<n.length&&s<o.length;s++){const i=n[s];let u=o[s].findIndex(f=>{if(r==="text")return Ee(e,f)===i;if(r==="value"){let m=Fe(e,f);return m==null&&(m=Ee(e,f)),m===i}else if(r==="item")return Fo(e,f,i)});if(u==-1)break;a.push(u)}else{let s=o[0];for(let i=0;i<n.length;i++){const c=n[i];let u=s.findIndex(m=>{if(r==="text")return Ee(e,m)===c;if(r==="value"){let h=Fe(e,m);return h==null&&(h=Ee(e,m)),h===c}else if(r==="item")return Fo(e,m,c)});if(u==-1)break;a.push(u);const f=yn(e,s[u]);if(!Array.isArray(f))break;s=f}}return a}function Uo(e,n,o,l){if(o.length==0)return null;const a={texts:[],values:[]},r=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let s=0;s<n.length&&s<o.length;s++){const i=o[s];let c=n[s];c<0&&c>=i.length&&(c=0);const u=i[c],f=Ee(e,u);if(a.texts.push(f),r==="text")a.values.push(f);else if(r==="value"){let m=Fe(e,u);m==null&&(m=f),a.values.push(m)}else a.values.push(u)}else{let s=o[0];for(let i=0;i<n.length;i++){let c=n[i];c<0&&c>=s.length&&(c=0);const u=s[c],f=Ee(e,u);if(a.texts.push(f),r==="text")a.values.push(f);else if(r==="value"){let m=Fe(e,u);m==null&&(m=f),a.values.push(m)}else{const m=Object.assign({},u);m.children=null,a.values.push(m)}if(!Array.isArray(u.children))break;s=u.children}}return a}function Ko(e){return{text:e,value:e}}const ri=15,si=300,ii=200,{create:ci}=K("picker-column");function di(e){e.stopPropagation()}function ui(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&di(e)}const fi=ci({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},...Ro},emits:["click","change","update:modelValue"],setup(e,{emit:n}){const o=t.computed(()=>({"fox-picker__list":!0})),l=t.computed(()=>({height:`${X.toNumber(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=T=>T>=m.currIndex+8||T<=m.currIndex-8,i=t.computed(()=>({transition:`transform ${m.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${m.deg})`,top:`${r.value}px`})),c=T=>`transform: rotate3d(1, 0, 0, ${-m.rotation*T}deg) translate3d(0px, 0px, 104px)`,u=t.computed(()=>({transition:`transform ${m.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${m.scrollDistance+r.value}px, 0)`})),f=t.ref(null),m=t.reactive({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),h=t.toRef(e,"source"),w=T=>Ee(e,T),y=T=>Fe(e,T),g=rt(),k=()=>{m.transitionEndTrigger&&(m.transitionEndTrigger(),m.transitionEndTrigger=null)},d=(T,$=!1,D=!1)=>{if(m.currIndex=T,$){const z=()=>{m.moving=!1,n("update:modelValue",T),n("change",T)};D?m.transitionEndTrigger=z:z()}},p=(T,$,D)=>{let z=T+m.startDistance;if($==="end"){const x=-(h.value.length-1)*e.itemHeight;z<x&&(z=x,(!D||D<=0)&&(D=e.swipeDuration)),z>0&&(z=0,(!D||D<=0)&&(D=e.swipeDuration));let H=Math.abs(Math.round(-z/e.itemHeight));const P=-H*e.itemHeight,A=`${(H+1)*m.rotation}deg`,E=D?D>0:!1;d(H,!0,E),S(P,$,D,A)}else{let x=(-z/e.itemHeight+1)*m.rotation;const H=(h.value.length+1)*m.rotation,P=0;if(x=Math.min(Math.max(x,P),H),e.threeDimensional&&(x<P||x>H))return;S(z,null,void 0,`${x}deg`)}},S=(T=0,$,D=ii,z)=>{$==="end"?m.scrollTime=D:m.scrollTime=0,m.deg=z,m.scrollDistance=T},C=(T,$)=>(T=Math.abs(T/$)/.003*(T<0?-1:1),T),b=T=>{if(!e.readonly){if(m.moving){const $=f.value,{transform:D}=window.getComputedStyle($);m.scrollDistance=+D.slice(7,D.length-1).split(", ")[5]}m.startDistance=m.scrollDistance,g.start(T),m.transitionEndTrigger=null}},N=T=>{e.readonly||(m.moving=!0,g.move(T),g.isVertical()&&(m.moving=!0,ui(T,!0)),p(g.deltaY.value,"",0))},B=()=>{if(e.readonly)return;const T=g.deltaY.value,$=g.duration.value;if($<si&&Math.abs(T)>ri){const z=C(T,$);p(z,"end",e.swipeDuration)}else p(T,"end",0)};return t.watch(()=>e.modelValue,T=>{if(m.currIndex!==T){m.currIndex=T;const $=-T*e.itemHeight;p($)}}),t.onMounted(()=>{const T=-e.modelValue*e.itemHeight;p(T)}),{classes:o,styles:l,contentClasses:a,source:h,itemText:w,itemValue:y,...t.toRefs(m),roller:f,getItemText:Ee,onTouchStart:b,onTouchMove:N,onTouchEnd:B,isHidden:s,setRollerStyle:c,touchRollerStyle:i,touchTileStyle:u,stopMomentum:k}}}),mi={key:1,class:"fox-picker__item-tile"};function pi(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:n[2]||(n[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:n[3]||(n[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTransitionend:n[4]||(n[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",mi,t.toDisplayString(e.itemText(s)),1))],64))),128))],6)],38)}const Ho=j(fi,[["render",pi]]),{create:hi,componentName:gi,scope:yi}=K("picker"),ki=hi({components:{[Ho.name]:Ho,[pe.name]:pe},props:{...gn},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:o,t:l}=oe.useFoxI18n(yi),a=o(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),s=t.ref(ei());t.watch(()=>e.visible,z=>{z&&s.value<=0&&setTimeout(()=>{if(r.value){const x=Ce(r.value);s.value=x.height,ti(s.value)}},50)});const i=t.computed(()=>({[gi]:!0})),c=li(),u=t.ref("singleColumn");let f=t.ref([]);t.watchEffect(async()=>{if(e.source){let z=await c.load("picker",e.source,e.params);if(z.length>0){let x=z[0];if(Array.isArray(x)){if(typeof x[0]=="string"){let H=z,P=[];H.forEach(A=>{let E=A.map(q=>Ko(q));P.push(E)}),f.value=P}else f.value=z;u.value="multipleColumn"}else if(typeof x=="string"){let H=z,P=[],A=H.map(E=>Ko(E));P.push(A),f.value=P,u.value="singleColumn"}else{const H=yn(e,x);Array.isArray(H)?(u.value="cascade",f.value=[z]):(u.value="singleColumn",f.value=[z])}}}});const m=t.ref([]),h=t.ref(e.modelValue),w=t.ref([]);t.watch([()=>e.modelValue,()=>f.value],([z,x])=>{let H=ai(e,z,x,u.value);if(!X.isEqual(H,w.value)){w.value=H;let P=Uo(e,H,x,u.value);P&&(m.value=P.texts,n("update:text",m.value))}});const y=t.ref(e.visible);t.watch(()=>e.visible,z=>{y.value=z});const g=z=>{let x=Oo(e,z);return X.isObject(x)?x.getDefaultIndex??0:0},k=z=>{if(e.readonly===!0)return!0;let x=Oo(e,z);return X.isObject(x)?x.readonly??!1:!1},d=(z,x,H=!1)=>{let P=w.value;P[z]=x;for(let E=0;E<z;E++)P[E]==null&&(P[E]=g(E));if(u.value==="cascade")for(let E=z+1;E<S.value.length;E++){let q=g(E);E<P.length?P[E]=q:P.push(q)}else for(let E=P.length;E<S.value.length;E++){let q=g(E);P.push(q)}w.value=P;let A=Uo(e,P,f.value,u.value);if(A&&(m.value=A.texts,h.value=A.values),H)if(u.value==="singleColumn"){let E=A&&A.values.length>0?A.values[0]:"";n("change",E)}else n("change",A?.values)},p=z=>z<w.value.length?w.value[z]:g(z),S=t.computed(()=>{if(f.value.length==0)return[];if(u.value=="singleColumn"||u.value=="multipleColumn")return f.value;let z=[],x=0,H=f.value[0],P=0;for(;;){let A=H.map(I=>{let V=Object.assign({},I);return ni(e,V,null),V});z.push(A),x>=w.value.length?P=0:P=w.value[x],(P<0||P>=H.length)&&(P=0);let E=H[P];const q=yn(e,E);if(!Array.isArray(q))break;H=q,x++}return z}),C=t.computed(()=>X.toNumber(+e.visibleItemCount-1)/2*s.value),b=t.computed(()=>X.toNumber(e.visibleItemCount)*s.value),N=t.computed(()=>({height:`${b.value+56}px`}));return{...a,pickerLineRef:r,classes:i,popupStyles:N,columns:S,dataType:u,show:y,itemHeight:s,top:C,height:b,isReadonly:k,getIndex:p,change:(z,x)=>{d(z,x,!0)},close:()=>{n("close"),n("update:visible",!1)},confirm:()=>{if(e.readonly===!0){n("update:visible",!1);return}let z=f.value.length-1;for(;z>=0&&!(w.value[z]===null||w.value[z]===void 0);z--);if(z>=0&&d(z,0,!1),u.value==="singleColumn"){let x=h.value.length>0?h.value[0]:"";e.readonly||(n("update:modelValue",x),n("update:text",m.value)),n("confirm",x)}else e.readonly||(n("update:modelValue",h.value),n("update:text",m.value)),n("confirm",h.value);n("update:visible",!1)},clear:()=>{if(e.readonly===!0){n("update:visible",!1);return}u.value==="singleColumn"?(n("update:modelValue",""),n("change","")):(n("update:modelValue",[]),n("change",[])),n("clear",""),n("update:visible",!1)}}}}),Si={class:"fox-picker__bar"},bi={class:"fox-picker__title"},Ci={class:"fox-picker__bar__action"},wi={class:"fox-picker__column"};function Ni(e,n,o,l,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":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",Si,[t.createElementVNode("view",bi,t.toDisplayString(e.title),1),t.createElementVNode("view",Ci,[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",wi,[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,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,class:"fox-picker__columnitem"},[t.createVNode(s,{source:c,readonly:e.isReadonly(u),"column-index":u,modelValue:e.getIndex(u),"onUpdate:modelValue":f=>e.change(u,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=j(ki,[["render",Ni]]);function Bi(e,n,o,l,a){return{props:{...de,...fe,...gn,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(r,s){const{emitEvent:i}=Se({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},r.prop??r.name),{toLocaleRefs:c}=oe.useFoxI18n(n),u=c(r,["placeholder"]),f=t.ref(!1),m=Ne(t.computed(()=>r.disabled)),h=Ie(t.computed(()=>r.readonly)),w=Ae(r,"modelValue"),y=t.ref([]),g=t.computed(()=>Array.isArray(y.value)?y.value.join(" "):y.value),k="fox-input-item",d=t.computed(()=>({[k]:!0,[`${k}__disabled`]:m.value})),p=ge(t.computed(()=>r.textAlign),"textAlign"),S=t.computed(()=>({textAlign:p.value??"right"})),C=t.ref(!1),b=()=>{C.value=!0},N=O=>{C.value=O},B=O=>{w.value=O,i("update:modelValue",O,{}),i("change",O,{})},T=O=>{let M=O.target.value;f.value=!0,i("focus",M,O)},$=O=>{setTimeout(()=>{f.value=!1},0);let M=O.target.value;r.maxLength&&M.length>Number(r.maxLength)&&(M=M.slice(0,Number(r.maxLength))),i("blur",M,O)},D=t.computed(()=>({[`${k}__append`]:!0})),z=t.computed(()=>ie(r.unit)>0),x=t.computed(()=>ie(r.unit)>0&&!f.value),H=t.computed(()=>({hidden:!x.value})),P=O=>{w.value="",i("update:modelValue","",O),i("change","",O),i("clear","")},A=t.computed(()=>r.clearable&&!m.value&&!h.value),E=t.computed(()=>ie(w.value)>0&&f.value),q=O=>{E.value?P(O):b()},I=t.computed(()=>E.value&&A.value?"close-little":"arrow-right"),V=t.computed(()=>({action:!0}));return()=>{const O={class:d.value,style:S.value,type:"text",maxlength:r.maxLength,placeholder:u.placeholder.value,readonly:!0,value:g.value,onClick:b,onFocus:T,onBlur:$},F=[],M=t.h("input",O);F.push(M);const L=[],U={name:I.value,size:"10px"},Y=t.h(l,U),W={class:V.value,onClick:q},Q=t.h("view",W,{default:()=>[Y]});if(L.push(Q),z.value){const ne=t.h("view",{class:H.value},[r.unit]);L.push(ne)}const Z={class:D.value},v=t.h("view",Z,{default:()=>L});F.push(v);const J={default:()=>F};if(s.slots.default){const ne=s.slots.default();J.label=()=>ne}if(s.slots.prepend){const ne=s.slots.prepend();J.prepend=()=>ne}if(s.slots.append){const ne=s.slots.append();J.append=()=>ne}const te=he(r,gn);te.disabled=!1,te.readonly=m.value||h.value,te.visible=C.value,te["onUpdate:visible"]=N,te.modelValue=w.value,te["onUpdate:modelValue"]=B,te.text=y.value,te["onUpdate:text"]=ne=>{y.value=ne};const le=t.h(a,te);J.hide=()=>[le];const ce=he(r,fe,de);return t.h(o,ce,J)}}}}const{componentName:Vi,create:Ai,scope:Ei}=K("picker-item"),xo=Ai(Bi(Vi,Ei,Be,ae,st));let Ti={...Me,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 zt=(e,n,o)=>e.map(l=>{const{value:a="value",text:r="text",children:s="children"}=o??{},{[a]:i,[r]:c,[s]:u,...f}=l,m={loading:!1,...f,level:n?(n&&n.level||0)+1:0,value:i,text:c,children:u,_parent:n};return m.children&&m.children.length&&(m.children=zt(m.children,m,o)),m}),jo=(e,n)=>{let o=0,l;for(;(l=e[o++])&&n(l)!==!0;)l.children&&l.children.length&&jo(l.children,n)},$i={topId:null,idKey:"id",pidKey:"pid",sortKey:""},Di=(e,n)=>{const o={...$i,...n||{}},{topId:l,idKey:a,pidKey:r,sortKey:s}=o;let i=[],c={};return e.forEach(u=>{u={...u};const{[a]:f,[r]:m}=u,h=c[m]=c[m]||[];!i.length&&m===l&&(i=h),h.push(u),u.children=c[f]||(c[f]=[])}),s&&Object.keys(c).forEach(u=>{c[u].length>1&&c[u].sort((f,m)=>f[s]-m[s])}),c=null,i};class Wo{nodes;config;constructor(n,o){this.config={value:"value",text:"text",children:"children",...o||{}},this.nodes=zt(n,null,this.config)}updateChildren(n,o){o?o.children=zt(n,o,this.config):this.nodes=zt(n,null,this.config)}getNodeByValue(n){let o;return jo(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 a=l.find(r=>r.value===n[r.level]);if(!a)break;o.push(a),l=a.children}return o}isLeaf(n,o){const{leaf:l,children:a}=n,r=Array.isArray(a)&&Boolean(a.length);return l||!r&&!o}hasChildren(n,o){if(this.isLeaf(n,o))return!1;const{children:a}=n;return Array.isArray(a)&&Boolean(a.length)}}const{create:Ii,scope:qi}=K("cascaderpane"),zi=Ii({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),a=t.ref(!1),r=t.ref(e.modelValue),s=t.ref(new Wo([],{})),i=t.ref([]),c=t.computed(()=>o.value.lazy&&Boolean(o.value.lazyLoad)),u=new Map;let f;const m=async()=>{u.clear(),i.value=[],l.value=0,a.value=!1,f=null;let{options:d}=e;o.value.convertConfig&&(d=Di(d,o.value.convertConfig)),s.value=new Wo(d,{value:o.value.valueKey,text:o.value.textKey,children:o.value.childrenKey}),c.value&&!s.value.nodes.length&&await w({root:!0,loading:!0,text:"",value:""}),i.value=[{nodes:s.value.nodes,selectedNode:null}],h()},h=async()=>{const d=r.value;if(d===void 0||!s.value.nodes.length)return;if(d.length===0){l.value=0,i.value=[{nodes:s.value.nodes,selectedNode:null}];return}let p=d;if(c.value&&Array.isArray(d)&&d.length){p=[];let S=s.value.nodes.find(C=>C.value===d[0]);if(S){p=[S.value],a.value=!0;const C=await d.slice(1).reduce(async(b,N)=>{const B=await b;await w(B);const T=B?.children?.find($=>$.value===N);return T&&p.push(N),Promise.resolve(T)},Promise.resolve(S));await w(C),a.value=!1}}p.length&&d===e.modelValue&&s.value.getPathNodesByValue(p).map((C,b)=>{l.value=b,k.handleNode(C,!0)})},w=async d=>{if(!d)return;if(!o.value.lazyLoad){d.leaf=!0;return}if(s.value.isLeaf(d,c.value)||s.value.hasChildren(d,c.value))return;d.loading=!0;const p=d.root?null:d;let S=u.get(d);S||(S=new Promise(b=>{o.value.lazyLoad?.(d,b)}),u.set(d,S));const C=await S;Array.isArray(C)&&C.length>0?s.value.updateChildren(C,p):d.leaf=!0,d.loading=!1,u.delete(d)},y=d=>{const p=d.map(S=>S.value);r.value=p,n("change",p,d),n("update:modelValue",p,d)},{t:g}=oe.useFoxI18n(qi),k={async handleNode(d,p){const{disabled:S,loading:C}=d;if(!(!p&&S||!i.value[l.value])){if(s.value.isLeaf(d,c.value)){if(d.leaf=!0,i.value[l.value].selectedNode=d,i.value=i.value.slice(0,d.level+1),!p){const b=i.value.map(N=>N.selectedNode);y(b),n("pathChange",b)}return}if(s.value.hasChildren(d,c.value)){const b=d.level+1;if(i.value[l.value].selectedNode=d,i.value=i.value.slice(0,b),i.value.push({nodes:d.children||[],selectedNode:null}),l.value=b,!p){const N=i.value.map(B=>B.selectedNode);n("pathChange",N)}return}f=d,!C&&(await w(d),f===d&&(i.value[l.value].selectedNode=d,k.handleNode(d,p)))}},handleTabClick(d){f=null,l.value=Number(d.paneKey)},formatTabTitle(d){return d.selectedNode?d.selectedNode.text:g("select")},isSelected(d,p){return d.selectedNode&&d.selectedNode.value===p.value}};return t.watch([o,()=>e.options],()=>{m()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,d=>{d!==r.value&&(r.value=d,h())}),t.watch(()=>e.visible,d=>{d&&Array.isArray(r.value)&&r.value.length>0&&h()}),{panes:i,initLoading:a,tabsCursor:l,...k}}}),Mi={role:"menu",class:"fox-cascader-pane"},Pi=["aria-checked","aria-disabled","onClick"],Ri={class:"fox-cascader-item__title"},Li=t.createElementVNode("view",{class:"fox-cascader-pane"},null,-1);function Oi(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon"),i=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]=u=>e.tabsCursor=u),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,(u,f)=>(t.openBlock(),t.createBlock(i,{title:e.formatTabTitle(u),key:f},{default:t.withCtx(()=>[t.createElementVNode("view",Mi,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(u.nodes,m=>(t.openBlock(),t.createElementBlock("view",{key:m.value,class:t.normalizeClass(["fox-cascader-item",{active:e.isSelected(u,m),disabled:m.disabled}]),"aria-checked":e.isSelected(u,m),"aria-disabled":m.disabled||void 0,role:"menuitemradio",onClick:h=>e.handleNode(m,!1)},[t.createElementVNode("view",Ri,t.toDisplayString(m.text),1),m.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-cascader-item__icon-loading",name:"loading"})):(t.openBlock(),t.createBlock(s,{key:1,class:"fox-cascader-item__icon-check",name:"checklist"}))],10,Pi))),128))])]),_:2},1032,["title"]))),128)):(t.openBlock(),t.createBlock(i,{key:1,title:"Loading..."},{default:t.withCtx(()=>[Li]),_:1}))]),_:1},8,["modelValue","onClick"])}const Yo=j(zi,[["render",Oi]]),{create:Fi}=K("cascader"),Ui=Fi({components:{[Yo.name]:Yo},props:{...Ti},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(s){n("update:visible",s)}}),a=(s,i)=>{o.value=s,l.value=!1,n("change",s,i),n("update:modelValue",s)},r=s=>{n("pathChange",s)};return t.watch(()=>e.modelValue,s=>{s!==o.value&&(s?o.value=s:o.value=[])}),{onChange:a,onPathChange:r,innerValue:o,innerVisible:l}}}),Ki=["innerHTML"];function Hi(e,n,o,l,a,r){const s=t.resolveComponent("fox-cascaderpane"),i=t.resolveComponent("fox-popup");return e.poppable?(t.openBlock(),t.createBlock(i,{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,Ki)):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","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 kn=j(Ui,[["render",Hi]]);function it(e,n){const o=e.textKey??"text";return n[o]??""}function ct(e,n){const o=e.valueKey??"value";return n[o]}function Xo(e,n){const o=e.childrenKey??"children";return n[o]}function Mt(e,n=[]){const o={texts:[],values:[]};for(let l=0;l<n.length;l++){const a=n[l],r=it(e,a),s=ct(e,a);o.texts.push(r),o.values.push(s??"")}return o}function Qo(e,n,o,l,a=[]){const r=o[l];for(let s=0;s<n.length;s++)if(it(e,n[s])===r){const c=ct(e,n[s])??"",u={[e.textKey]:r,[e.valueKey]:c};a.push(u);const f=Xo(e,n[s]);Array.isArray(f)&&Qo(e,f,o,l+1,a);return}}function Go(e,n,o,l,a=[]){const r=o[l];for(let s=0;s<n.length;s++)if(ct(e,n[s])===r){const c=it(e,n[s])??"",u={[e.textKey]:c,[e.valueKey]:r};a.push(u);const f=Xo(e,n[s]);Array.isArray(f)&&Go(e,f,o,l+1,a);return}}function Sn(e,n,o){if(n===o)return!0;if(n.length!==o.length)return!1;for(let l=0;l<n.length;l++){const a=it(e,n[l]),r=it(e,o[l]);if(a!==r)return!1;const s=ct(e,n[l]),i=ct(e,o[l]);if(s!==i)return!1}return!0}class xi{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 a=nt(this.proxy,l);return a===null?(console.error(`${l} component not found api function`),[]):(X.isObject(o)&&t.isReactive(o)&&(o=t.toRaw(o)),await a(n,o))}}function ji(){const e=t.getCurrentInstance();return new xi(e.proxy)}function Wi(e,n,o,l,a){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(r,s){const{emitEvent:i}=Se({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},r.prop??r.name),{toLocaleRefs:c}=oe.useFoxI18n(n),u=c(r,["placeholder"]),f=t.ref(!1),m=Ne(t.computed(()=>r.disabled)),h=Ie(t.computed(()=>r.readonly)),w=ji(),y=t.ref([]);t.watch([()=>r.source,()=>r.params],async([U,Y])=>{U&&(y.value=await w.load(U,Y))},{immediate:!0});const g=t.ref([]),k=t.computed(()=>Array.isArray(g.value)?g.value.join(" "):g.value),d=t.ref(),p=t.ref([]);t.watch([()=>r.modelValue],async([U])=>{if(r.lazy===!0){p.value.length==0&&(g.value=Array.isArray(U)?U:[],d.value=Array.isArray(U)?U:[]);return}if(r.valueType==="item"){let Y=U;if(!Sn(r,Y,p.value)){p.value=Y;let W=Mt(r,Y);g.value=W.texts,d.value=W.values}}else if(r.valueType==="text"){let Y=U,W=[];if(Qo(r,y.value,Y,0,W),!Sn(r,W,p.value)){p.value=W;let Q=Mt(r,W);Y.value=Q.texts,d.value=Q.values}}else{let Y=U,W=[];if(Go(r,y.value,Y,0,W),!Sn(r,W,p.value)){p.value=W;let Q=Mt(r,W);g.value=Q.texts,Y.value=Q.values}}},{immediate:!0});const S="fox-input-item",C=t.computed(()=>({[S]:!0,[`${S}__disabled`]:m.value})),b=ge(t.computed(()=>r.textAlign),"textAlign"),N=t.computed(()=>({textAlign:b.value??"right"})),B=t.ref(!1),T=()=>{m.value===!0||h.value===!0||(B.value=!0)},$=U=>{B.value=U},D=(U,Y)=>{let W=Y.map(Z=>{if(Z==null)return Z;let v={...Z};return Reflect.deleteProperty(v,"text"),v[r.textKey]=Z.text??"",Reflect.deleteProperty(v,"value"),v[r.valueKey]=Z.value??"",v});p.value=W;let Q=Mt(r,W);g.value=Q.texts,d.value=Q.values,r.valueType==="text"?(i("change",g.value,W),i("update:modelValue",g.value)):r.valueType==="item"?(i("change",W,W),i("update:modelValue",W)):(i("change",d.value,W),i("update:modelValue",d.value))},z=U=>{let Y=U.map(W=>{if(W==null)return W;let Q={...W};return Reflect.deleteProperty(Q,"text"),Q[r.textKey]=W.text??"",Reflect.deleteProperty(Q,"value"),Q[r.valueKey]=W.value??"",Q});i("pathChange",Y)},x=U=>{f.value=!0,i("focus",d.value,U)},H=U=>{setTimeout(()=>{f.value=!1},0),i("blur",d.value,U)},P=t.computed(()=>({[`${S}__append`]:!0})),A=t.computed(()=>ie(r.unit)>0),E=t.computed(()=>ie(r.unit)>0&&!f.value),q=t.computed(()=>({hidden:!E.value})),I=U=>{p.value=[],g.value=[],d.value=[],i("update:modelValue",[],U),i("change",[],U),i("clear",[])},V=t.computed(()=>r.clearable&&!m.value&&!h.value),O=t.computed(()=>d.value&&d.value.length>0&&f.value),F=U=>{O.value?I(U):T()},M=t.computed(()=>O.value&&V.value?"close-little":"arrow-right"),L=t.computed(()=>({action:!0}));return()=>{const U={class:C.value,style:N.value,type:"text",maxlength:r.maxLength,placeholder:u.placeholder.value,readonly:!0,value:k.value,onClick:T,onFocus:x,onBlur:H},Y=[],W=t.h("input",U);Y.push(W);const Q=[],Z={name:M.value,size:"10px"},v=t.h(l,Z),J={class:L.value,onClick:F},te=t.h("view",J,{default:()=>[v]});if(Q.push(te),A.value){const Ve=t.h("view",{class:q.value},[r.unit]);Q.push(Ve)}const le={class:P.value},ce=t.h("view",le,{default:()=>Q});Y.push(ce);const re={default:()=>Y};if(s.slots.default){const Ve=s.slots.default();re.label=()=>Ve}if(s.slots.prepend){const Ve=s.slots.prepend();re.prepend=()=>Ve}if(s.slots.append){const Ve=s.slots.append();re.append=()=>Ve}let ne={};ne.visible=B.value,ne["onUpdate:visible"]=$,ne.modelValue=d.value,ne.onChange=D,ne.onPathChange=z,ne.options=y.value,ne.title=r.title,ne.lazy=r.lazy,ne.lazyLoad=r.lazyLoad,ne.valueKey=r.valueKey,ne.textKey=r.textKey,ne.childrenKey=r.childrenKey,ne.convertConfig=r.convertConfig;const bt=t.h(a,ne);re.hide=()=>[bt];const ye=he(r,fe,de);return t.h(o,ye,re)}}}}const{componentName:Yi,create:Xi,scope:Qi}=K("cascader-item"),vo=Xi(Wi(Yi,Qi,Be,ae,kn));var qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zo={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(qe,function(){var o=1e3,l=6e4,a=36e5,r="millisecond",s="second",i="minute",c="hour",u="day",f="week",m="month",h="quarter",w="year",y="date",g="Invalid Date",k=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,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("_")},S=function(H,P,A){var E=String(H);return!E||E.length>=P?H:""+Array(P+1-E.length).join(A)+H},C={s:S,z:function(H){var P=-H.utcOffset(),A=Math.abs(P),E=Math.floor(A/60),q=A%60;return(P<=0?"+":"-")+S(E,2,"0")+":"+S(q,2,"0")},m:function H(P,A){if(P.date()<A.date())return-H(A,P);var E=12*(A.year()-P.year())+(A.month()-P.month()),q=P.clone().add(E,m),I=A-q<0,V=P.clone().add(E+(I?-1:1),m);return+(-(E+(A-q)/(I?q-V:V-q))||0)},a:function(H){return H<0?Math.ceil(H)||0:Math.floor(H)},p:function(H){return{M:m,y:w,w:f,d:u,D:y,h:c,m:i,s,ms:r,Q:h}[H]||String(H||"").toLowerCase().replace(/s$/,"")},u:function(H){return H===void 0}},b="en",N={};N[b]=p;var B=function(H){return H instanceof z},T=function H(P,A,E){var q;if(!P)return b;if(typeof P=="string"){var I=P.toLowerCase();N[I]&&(q=I),A&&(N[I]=A,q=I);var V=P.split("-");if(!q&&V.length>1)return H(V[0])}else{var O=P.name;N[O]=P,q=O}return!E&&q&&(b=q),q||!E&&b},$=function(H,P){if(B(H))return H.clone();var A=typeof P=="object"?P:{};return A.date=H,A.args=arguments,new z(A)},D=C;D.l=T,D.i=B,D.w=function(H,P){return $(H,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var z=function(){function H(A){this.$L=T(A.locale,null,!0),this.parse(A)}var P=H.prototype;return P.parse=function(A){this.$d=function(E){var q=E.date,I=E.utc;if(q===null)return new Date(NaN);if(D.u(q))return new Date;if(q instanceof Date)return new Date(q);if(typeof q=="string"&&!/Z$/i.test(q)){var V=q.match(k);if(V){var O=V[2]-1||0,F=(V[7]||"0").substring(0,3);return I?new Date(Date.UTC(V[1],O,V[3]||1,V[4]||0,V[5]||0,V[6]||0,F)):new Date(V[1],O,V[3]||1,V[4]||0,V[5]||0,V[6]||0,F)}}return new Date(q)}(A),this.$x=A.x||{},this.init()},P.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},P.$utils=function(){return D},P.isValid=function(){return this.$d.toString()!==g},P.isSame=function(A,E){var q=$(A);return this.startOf(E)<=q&&q<=this.endOf(E)},P.isAfter=function(A,E){return $(A)<this.startOf(E)},P.isBefore=function(A,E){return this.endOf(E)<$(A)},P.$g=function(A,E,q){return D.u(A)?this[E]:this.set(q,A)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(A,E){var q=this,I=!!D.u(E)||E,V=D.p(A),O=function(Z,v){var J=D.w(q.$u?Date.UTC(q.$y,v,Z):new Date(q.$y,v,Z),q);return I?J:J.endOf(u)},F=function(Z,v){return D.w(q.toDate()[Z].apply(q.toDate("s"),(I?[0,0,0,0]:[23,59,59,999]).slice(v)),q)},M=this.$W,L=this.$M,U=this.$D,Y="set"+(this.$u?"UTC":"");switch(V){case w:return I?O(1,0):O(31,11);case m:return I?O(1,L):O(0,L+1);case f:var W=this.$locale().weekStart||0,Q=(M<W?M+7:M)-W;return O(I?U-Q:U+(6-Q),L);case u:case y:return F(Y+"Hours",0);case c:return F(Y+"Minutes",1);case i:return F(Y+"Seconds",2);case s:return F(Y+"Milliseconds",3);default:return this.clone()}},P.endOf=function(A){return this.startOf(A,!1)},P.$set=function(A,E){var q,I=D.p(A),V="set"+(this.$u?"UTC":""),O=(q={},q[u]=V+"Date",q[y]=V+"Date",q[m]=V+"Month",q[w]=V+"FullYear",q[c]=V+"Hours",q[i]=V+"Minutes",q[s]=V+"Seconds",q[r]=V+"Milliseconds",q)[I],F=I===u?this.$D+(E-this.$W):E;if(I===m||I===w){var M=this.clone().set(y,1);M.$d[O](F),M.init(),this.$d=M.set(y,Math.min(this.$D,M.daysInMonth())).$d}else O&&this.$d[O](F);return this.init(),this},P.set=function(A,E){return this.clone().$set(A,E)},P.get=function(A){return this[D.p(A)]()},P.add=function(A,E){var q,I=this;A=Number(A);var V=D.p(E),O=function(L){var U=$(I);return D.w(U.date(U.date()+Math.round(L*A)),I)};if(V===m)return this.set(m,this.$M+A);if(V===w)return this.set(w,this.$y+A);if(V===u)return O(1);if(V===f)return O(7);var F=(q={},q[i]=l,q[c]=a,q[s]=o,q)[V]||1,M=this.$d.getTime()+A*F;return D.w(M,this)},P.subtract=function(A,E){return this.add(-1*A,E)},P.format=function(A){var E=this,q=this.$locale();if(!this.isValid())return q.invalidDate||g;var I=A||"YYYY-MM-DDTHH:mm:ssZ",V=D.z(this),O=this.$H,F=this.$m,M=this.$M,L=q.weekdays,U=q.months,Y=function(v,J,te,le){return v&&(v[J]||v(E,I))||te[J].slice(0,le)},W=function(v){return D.s(O%12||12,v,"0")},Q=q.meridiem||function(v,J,te){var le=v<12?"AM":"PM";return te?le.toLowerCase():le},Z={YY:String(this.$y).slice(-2),YYYY:this.$y,M:M+1,MM:D.s(M+1,2,"0"),MMM:Y(q.monthsShort,M,U,3),MMMM:Y(U,M),D:this.$D,DD:D.s(this.$D,2,"0"),d:String(this.$W),dd:Y(q.weekdaysMin,this.$W,L,2),ddd:Y(q.weekdaysShort,this.$W,L,3),dddd:L[this.$W],H:String(O),HH:D.s(O,2,"0"),h:W(1),hh:W(2),a:Q(O,F,!0),A:Q(O,F,!1),m:String(F),mm:D.s(F,2,"0"),s:String(this.$s),ss:D.s(this.$s,2,"0"),SSS:D.s(this.$ms,3,"0"),Z:V};return I.replace(d,function(v,J){return J||Z[v]||V.replace(":","")})},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(A,E,q){var I,V=D.p(E),O=$(A),F=(O.utcOffset()-this.utcOffset())*l,M=this-O,L=D.m(this,O);return L=(I={},I[w]=L/12,I[m]=L,I[h]=L/3,I[f]=(M-F)/6048e5,I[u]=(M-F)/864e5,I[c]=M/a,I[i]=M/l,I[s]=M/o,I)[V]||M,q?L:D.a(L)},P.daysInMonth=function(){return this.endOf(m).$D},P.$locale=function(){return N[this.$L]},P.locale=function(A,E){if(!A)return this.$L;var q=this.clone(),I=T(A,E,!0);return I&&(q.$L=I),q},P.clone=function(){return D.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},H}(),x=z.prototype;return $.prototype=x,[["$ms",r],["$s",s],["$m",i],["$H",c],["$W",u],["$M",m],["$y",w],["$D",y]].forEach(function(H){x[H[1]]=function(P){return this.$g(P,H[0],H[1])}}),$.extend=function(H,P){return H.$i||(H(P,z,$),H.$i=!0),$},$.locale=T,$.isDayjs=B,$.unix=function(H){return $(1e3*H)},$.en=N[b],$.Ls=N,$.p={},$})})(Zo);const Te=Zo.exports;var Jo={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(qe,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,a=/\d\d/,r=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,i={},c=function(g){return(g=+g)+(g>68?1900:2e3)},u=function(g){return function(k){this[g]=+k}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(k){if(!k||k==="Z")return 0;var d=k.match(/([+-]|\d\d)/g),p=60*d[1]+(+d[2]||0);return p===0?0:d[0]==="+"?-p:p}(g)}],m=function(g){var k=i[g];return k&&(k.indexOf?k:k.s.concat(k.f))},h=function(g,k){var d,p=i.meridiem;if(p){for(var S=1;S<=24;S+=1)if(g.indexOf(p(S,0,k))>-1){d=S>12;break}}else d=g===(k?"pm":"PM");return d},w={A:[s,function(g){this.afternoon=h(g,!1)}],a:[s,function(g){this.afternoon=h(g,!0)}],S:[/\d/,function(g){this.milliseconds=100*+g}],SS:[a,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[a,u("day")],Do:[s,function(g){var k=i.ordinal,d=g.match(/\d+/);if(this.day=d[0],k)for(var p=1;p<=31;p+=1)k(p).replace(/\[|\]/g,"")===g&&(this.day=p)}],M:[r,u("month")],MM:[a,u("month")],MMM:[s,function(g){var k=m("months"),d=(m("monthsShort")||k.map(function(p){return p.slice(0,3)})).indexOf(g)+1;if(d<1)throw new Error;this.month=d%12||d}],MMMM:[s,function(g){var k=m("months").indexOf(g)+1;if(k<1)throw new Error;this.month=k%12||k}],Y:[/[+-]?\d+/,u("year")],YY:[a,function(g){this.year=c(g)}],YYYY:[/\d{4}/,u("year")],Z:f,ZZ:f};function y(g){var k,d;k=g,d=i&&i.formats;for(var p=(g=k.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,D,z){var x=z&&z.toUpperCase();return D||d[z]||o[z]||d[x].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(H,P,A){return P||A.slice(1)})})).match(l),S=p.length,C=0;C<S;C+=1){var b=p[C],N=w[b],B=N&&N[0],T=N&&N[1];p[C]=T?{regex:B,parser:T}:b.replace(/^\[|\]$/g,"")}return function($){for(var D={},z=0,x=0;z<S;z+=1){var H=p[z];if(typeof H=="string")x+=H.length;else{var P=H.regex,A=H.parser,E=$.slice(x),q=P.exec(E)[0];A.call(D,q),$=$.replace(q,"")}}return function(I){var V=I.afternoon;if(V!==void 0){var O=I.hours;V?O<12&&(I.hours+=12):O===12&&(I.hours=0),delete I.afternoon}}(D),D}}return function(g,k,d){d.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(c=g.parseTwoDigitYear);var p=k.prototype,S=p.parse;p.parse=function(C){var b=C.date,N=C.utc,B=C.args;this.$u=N;var T=B[1];if(typeof T=="string"){var $=B[2]===!0,D=B[3]===!0,z=$||D,x=B[2];D&&(x=B[2]),i=this.$locale(),!$&&x&&(i=d.Ls[x]),this.$d=function(E,q,I){try{if(["x","X"].indexOf(q)>-1)return new Date((q==="X"?1e3:1)*E);var V=y(q)(E),O=V.year,F=V.month,M=V.day,L=V.hours,U=V.minutes,Y=V.seconds,W=V.milliseconds,Q=V.zone,Z=new Date,v=M||(O||F?1:Z.getDate()),J=O||Z.getFullYear(),te=0;O&&!F||(te=F>0?F-1:Z.getMonth());var le=L||0,ce=U||0,re=Y||0,ne=W||0;return Q?new Date(Date.UTC(J,te,v,le,ce,re,ne+60*Q.offset*1e3)):I?new Date(Date.UTC(J,te,v,le,ce,re,ne)):new Date(J,te,v,le,ce,re,ne)}catch{return new Date("")}}(b,T,N),this.init(),x&&x!==!0&&(this.$L=this.locale(x).$L),z&&b!=this.format(T)&&(this.$d=new Date("")),i={}}else if(T instanceof Array)for(var H=T.length,P=1;P<=H;P+=1){B[1]=T[P-1];var A=d.apply(this,B);if(A.isValid()){this.$d=A.$d,this.$L=A.$L,this.init();break}P===H&&(this.$d=new Date(""))}else S.call(this,C)}}})})(Jo);const Gi=Jo.exports;var _o={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(qe,function(){return function(o,l,a){var r=l.prototype,s=r.format;a.en.ordinal=function(i){var c=["th","st","nd","rd"],u=i%100;return"["+i+(c[(u-20)%10]||c[u]||c[0])+"]"},r.format=function(i){var c=this,u=this.$locale();if(!this.isValid())return s.bind(this)(i);var f=this.$utils(),m=(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 u.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return u.ordinal(c.week(),"W");case"w":case"ww":return f.s(c.week(),h==="w"?1:2,"0");case"W":case"WW":return f.s(c.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return f.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)(m)}}})})(_o);const vi=_o.exports;var el={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(qe,function(){return function(o,l,a){var r=l.prototype,s=function(m){return m&&(m.indexOf?m:m.s)},i=function(m,h,w,y,g){var k=m.name?m:m.$locale(),d=s(k[h]),p=s(k[w]),S=d||p.map(function(b){return b.slice(0,y)});if(!g)return S;var C=k.weekStart;return S.map(function(b,N){return S[(N+(C||0))%7]})},c=function(){return a.Ls[a.locale()]},u=function(m,h){return m.formats[h]||function(w){return w.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(y,g,k){return g||k.slice(1)})}(m.formats[h.toUpperCase()])},f=function(){var m=this;return{months:function(h){return h?h.format("MMMM"):i(m,"months")},monthsShort:function(h){return h?h.format("MMM"):i(m,"monthsShort","months",3)},firstDayOfWeek:function(){return m.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):i(m,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):i(m,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):i(m,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return u(m.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return f.bind(this)()},a.localeData=function(){var m=c();return{firstDayOfWeek:function(){return m.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 u(m,h)},meridiem:m.meridiem,ordinal:m.ordinal}},a.months=function(){return i(c(),"months")},a.monthsShort=function(){return i(c(),"monthsShort","months",3)},a.weekdays=function(m){return i(c(),"weekdays",null,null,m)},a.weekdaysShort=function(m){return i(c(),"weekdaysShort","weekdays",3,m)},a.weekdaysMin=function(m){return i(c(),"weekdaysMin","weekdays",2,m)}}})})(el);const Zi=el.exports;var tl={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(qe,function(){var o="week",l="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 u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var f=s(this).startOf(l).add(1,l).date(u),m=s(this).endOf(o);if(f.isBefore(m))return 1}var h=s(this).startOf(l).date(u).startOf(o).subtract(1,"millisecond"),w=this.diff(h,o,!0);return w<0?s(this).startOf("week").week():Math.ceil(w)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(tl);const Ji=tl.exports;var nl={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(qe,function(){return function(o,l){l.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}}})})(nl);const _i=nl.exports;var ol={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(qe,function(){return function(o,l,a){l.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")}}})})(ol);const ec=ol.exports;var ll={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(qe,function(){return function(o,l){l.prototype.isSameOrAfter=function(a,r){return this.isSame(a,r)||this.isAfter(a,r)}}})})(ll);const tc=ll.exports;var al={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(qe,function(){return function(o,l){l.prototype.isSameOrBefore=function(a,r){return this.isSame(a,r)||this.isBefore(a,r)}}})})(al);const nc=al.exports;Te.extend(Zi),Te.extend(vi),Te.extend(Gi),Te.extend(Ji),Te.extend(_i),Te.extend(ec),Te.extend(tc),Te.extend(nc);const G={format(e,n){return Te(e).format(n)},parser(e,n){return Te(e,n).toDate()},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,o){const a=new Date(e+"/"+n+"/"+o).getDay();return["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"][a]},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),a=this.getNumTwoBit(e.getDate());return[o,l,a].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)),a=e.getTime(),r=l.getTime(),s=n.getTime();return r>s?a>=s&&a<=r:a>=r&&a<=s},inScope4Month(e,n,o){const l=new Date(new Date(n).setMonth(n.getMonth()+o)),a=e.getTime(),r=l.getTime(),s=n.getTime();return r>s?a>=s&&a<=r:a>=r&&a<=s}},rl=new Date().getFullYear(),bn={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",time:"HH:mm:ss",["month-day"]:"MM-DD",datehour:"YYYY-MM-DD HH"},Pt=(e,n,o)=>{let l;if(X.isDate(n)?l=n:typeof n=="string"&&ie(n)>0?l=G.parser(n,o):l=new Date,l.toString()==="Invalid Date")return null;let a=Math.max(l.getTime(),e.minDate.getTime());return a=Math.min(a,e.maxDate.getTime()),new Date(a)},Cn=(e,n,o)=>{X.isDate(n)||(n=e.minDate);let l=Math.max(n.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),G.format(new Date(l),o)};let wn={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(rl-10,0,1),validator:X.isDate},maxDate:{type:Date,default:()=>new Date(rl+10,11,31),validator:X.isDate},visibleItemCount:{type:[Number,String],default:7},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3},isWrapTeleport:{type:Boolean,default:!0}};const{create:oc,scope:lc}=K("date-picker"),ac=oc({components:{[st.name]:st},props:{...wn},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:o}=oe.useFoxI18n(lc),l={day:o("day"),year:o("year"),month:o("month"),hour:o("hour"),minute:o("minute"),seconds:o("seconds")},a=t.ref(!1);t.watch(()=>e.visible,d=>{a.value=d});function r(d,p){return new Date(d,p,0).getDate()}const s=(d,p)=>{const S=e[`${d}Date`],C=S.getFullYear();let b=1,N=1,B=0,T=0;d==="max"&&(b=12,N=r(p.getFullYear(),p.getMonth()+1),B=23,T=59);const $=T;return p.getFullYear()===C&&(b=S.getMonth()+1,p.getMonth()+1===b&&(N=S.getDate(),p.getDate()===N&&(B=S.getHours(),p.getHours()===B&&(T=S.getMinutes())))),{[`${d}Year`]:C,[`${d}Month`]:b,[`${d}Date`]:N,[`${d}Hour`]:B,[`${d}Minute`]:T,[`${d}Seconds`]:$}},i=t.computed(()=>{if(!h.value)return[];const{maxYear:d,maxDate:p,maxMonth:S,maxHour:C,maxMinute:b,maxSeconds:N}=s("max",h.value),{minYear:B,minDate:T,minMonth:$,minHour:D,minMinute:z,minSeconds:x}=s("min",h.value);let H=[{type:"year",range:[B,d]},{type:"month",range:[$,S]},{type:"day",range:[T,p]},{type:"hour",range:[D,C]},{type:"minute",range:[z,b]},{type:"seconds",range:[x,N]}];switch(e.type){case"date":H=H.slice(0,3);break;case"datetime":H=H.slice(0,5);break;case"time":H=H.slice(3,6);break;case"month-day":H=H.slice(1,3);break;case"datehour":H=H.slice(0,4);break}return H}),c=(d,p,S)=>{if(!(p>d))return null;const C=[];for(;d<=p;)e.isShowChinese?C.push({text:d+l[S],value:d}):C.push({text:`${d}`,value:d}),S==="minute"?d+=e.minuteStep:d++;return C},u=t.computed(()=>{let d=[];return i.value.forEach(p=>{let S=c(p.range[0],p.range[1],p.type);S&&d.push(S)}),d}),f=(d,p)=>d==="year"?p.getFullYear():d==="month"?p.getMonth()+1:d==="day"?p.getDate():d==="hour"?p.getHours():d==="minute"?p.getMinutes():d==="seconds"?p.getSeconds():0,m=t.ref(),h=t.ref(null);t.watchEffect(()=>{let d,p=e.modelValue;if(typeof p=="string"?p.length==0?d=new Date:e.valueFormat?d=Pt(e,e.modelValue,e.valueFormat):d=Pt(e,p,bn[e.type]):X.isDate(p)?d=p:d=new Date,!!d&&(!h.value||d.getTime()!==h.value.getTime())){h.value=d;let S=[];i.value.forEach(C=>{let b=f(C.type,d);S.push(b)}),m.value=S}});const w=d=>{if(e.type==="date"){let p=d;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=d;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=d;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=d,S=h.value??new Date,C=new Date(S.getFullYear(),S.getMonth(),S.getDate(),p[0],p[1],p[2]);h.value=C}else if(e.type==="month-day"){let p=d,S=h.value??new Date,C=new Date(S.getFullYear(),p[0]-1,p[1]);h.value=C}m.value=d};return{columns:u,dateIndexs:m,show:a,onClose:()=>{a.value=!1,n("update:visible",!1),n("update:close",!1)},onConfirm:d=>{w(d),a.value=!1;let p=h.value??new Date;if(e.valueFormat){let S=Cn(e,p,e.valueFormat);n("update:modelValue",S)}else n("update:modelValue",p);n("update:visible",!1),n("confirm",d)},onClear:()=>{n("clear")}}}});function rc(e,n,o,l,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,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 Nn=j(ac,[["render",rc]]);function sc(e){let n=e.format;if(!n){let o=e.type??"date";n=bn[o]}return n}function ic(e,n,o,l,a){return{props:{...de,...fe,...wn,format:{type:String},placeholder:{type:String,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}},emits:["change","update:modelValue","blur","focus","clear"],setup(r,s){const{emitEvent:i}=Se({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},r.prop??r.name),{toLocaleRefs:c}=oe.useFoxI18n(n),u=c(r,["placeholder"]),f=t.ref(!1),m=Ne(t.computed(()=>r.disabled)),h=Ie(t.computed(()=>r.readonly)),y=Ae(r,"modelValue",F=>F==null?null:typeof F=="string"?F.length==0?null:r.valueFormat?Pt(r,F,r.valueFormat)??F:Pt(r,F,bn[r.type])??F:X.isDate(F)?F:null),g=t.computed(()=>{if(!y.value)return"";const F=sc(r);return Cn(r,y.value,F)}),k="fox-input-item",d=t.computed(()=>({[k]:!0,[`${k}__disabled`]:m.value})),p=ge(t.computed(()=>r.textAlign),"textAlign"),S=t.computed(()=>({textAlign:p.value??"right"})),C=t.ref(!1),b=()=>{C.value=!0},N=()=>{C.value=!1};s.expose({showPicker:b,hidePicker:N});const B=F=>{C.value=F},T=F=>{if(y.value=F,r.valueFormat){let M=Cn(r,F,r.valueFormat);i("update:modelValue",M,{}),i("change",M,{})}else i("update:modelValue",F,{}),i("change",F,{})},$=F=>{let L=F.target.value;f.value=!0,i("focus",L,F)},D=F=>{setTimeout(()=>{f.value=!1},0);let L=F.target.value;r.maxLength&&L.length>Number(r.maxLength)&&(L=L.slice(0,Number(r.maxLength))),i("blur",L,F)},z=t.computed(()=>({[`${k}__append`]:!0})),x=t.computed(()=>ie(r.unit)>0),H=t.computed(()=>ie(r.unit)>0&&!f.value),P=t.computed(()=>({hidden:!H.value})),A=F=>{y.value="",i("update:modelValue","",F),i("change","",F),i("clear",""),N()},E=t.computed(()=>r.clearable&&!m.value&&!h.value),q=t.computed(()=>ie(y.value)>0&&f.value),I=F=>{q.value?A(F):b()},V=t.computed(()=>q.value&&E.value?"close-little":"date"),O=t.computed(()=>({action:!0}));return()=>{const F={class:d.value,style:S.value,type:"text",maxlength:r.maxLength,placeholder:u.placeholder.value,readonly:!0,value:g.value,onClick:b,onFocus:$,onBlur:D},M=[],L=t.h("input",F);M.push(L);const U=[],Y={name:V.value,size:"10px"},W=t.h(l,Y),Q={class:O.value,onClick:I},Z=t.h("view",Q,{default:()=>[W]});if(U.push(Z),x.value){const ye=t.h("view",{class:P.value},[r.unit]);U.push(ye)}const v={class:z.value},J=t.h("view",v,{default:()=>U});M.push(J);const te={default:()=>M};if(s.slots.default){const ye=s.slots.default();te.label=()=>ye}if(s.slots.prepend){const ye=s.slots.prepend();te.prepend=()=>ye}if(s.slots.append){const ye=s.slots.append();te.append=()=>ye}const le=he(r,wn);le.valueFormat=null,le.disabled=!1,le.readonly=m.value||h.value,le.visible=C.value,le["onUpdate:visible"]=B,le.modelValue=y.value,le["onUpdate:modelValue"]=T,le.onClear=A;const ce={};if(s.slots.top){const ye=s.slots.top();ce.top=()=>ye}if(s.slots.bottom){const ye=s.slots.bottom();ce.default=()=>ye}const re=t.h(a,le,ce);te.hide=()=>[re];const ne=he(r,fe,de);return t.h(o,ne,te)}}}}const{create:cc,componentName:dc,scope:uc}=K("date-item"),sl=cc(ic(dc,uc,Be,ae,Nn)),{create:fc,scope:mc}=K("calendar-pane"),pc=fc({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:G.getDay(0)},endDate:{type:String,default:G.getDay(365)}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:o}){const{localeArrayRef:l,toLocaleRefs:a,t:r}=oe.useFoxI18n(mc),s=l("weekdays"),i=a(e,["title","confirmText","startText","endText"]),c=t.ref(null),u=t.ref(null),f=t.ref(null),m=t.ref(null),h=t.ref(0),w=t.computed(()=>d.monthsData.slice(d.defaultRange[0],d.defaultRange[1])),y=t.computed(()=>o.btn),g=t.computed(()=>o.topInfo),k=t.computed(()=>o.bottomInfo),d=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=M=>M.split("-"),S=M=>G.isEqual(d.currDate[0],M),C=M=>G.isEqual(d.currDate[1],M),b=(M,L,U)=>L.curData[0]+"-"+L.curData[1]+"-"+G.getNumTwoBit(+M.day),N=(M,L,U)=>{const Y=b(M,L);return M.type=="curr"?!d.isRange&&G.isEqual(d.currDate,Y)||d.isRange&&(S(Y)||C(Y))?`${d.dayPrefix}-active`:d.propStartDate&&G.compareDate(Y,d.propStartDate)||d.propEndDate&&G.compareDate(d.propEndDate,Y)?`${d.dayPrefix}-disabled`:d.isRange&&Array.isArray(d.currDate)&&Object.values(d.currDate).length==2&&G.compareDate(d.currDate[0],Y)&&G.compareDate(Y,d.currDate[1])?`${d.dayPrefix}-choose`:null:`${d.dayPrefix}-disabled`},B=()=>{(d.isRange&&d.chooseData.length==2||!d.isRange)&&(n("choose",d.chooseData),e.poppable&&n("update"))},T=(M,L,U,Y)=>{if(N(M,L)!=`${d.dayPrefix}-disabled`){let W=[...L.curData];W[2]=typeof M.day=="number"?G.getNumTwoBit(M.day):M.day,W[3]=`${W[0]}-${W[1]}-${W[2]}`,W[4]=G.getWhatDay(+W[0],+W[1],+W[2]),d.isRange?(Object.values(d.currDate).length==2?d.currDate=[W[3]]:G.compareDate(d.currDate[0],W[3])?Array.isArray(d.currDate)&&d.currDate.push(W[3]):Array.isArray(d.currDate)&&d.currDate.unshift(W[3]),d.chooseData.length==2||!d.chooseData.length?d.chooseData=[...W]:G.compareDate(d.chooseData[3],W[3])?d.chooseData=[[...d.chooseData],[...W]]:d.chooseData=[[...W],[...d.chooseData]]):(d.currDate=W[3],d.chooseData=[...W]),U||(n("select",d.chooseData),e.isAutoBackFill&&B())}},$=M=>{const L=M=="prev"?d.monthsData[0]:d.monthsData[d.monthsData.length-1];let U=parseInt(L.curData[0]),Y=parseInt(L.curData[1].toString().replace(/^0/,""));switch(M){case"prev":Y==1&&(U-=1),Y=Y==1?12:--Y;break;case"next":Y==12&&(U+=1),Y=Y==12?1:++Y;break}return[U,G.getNumTwoBit(Y),G.getMonthDays(String(U),String(Y))]},D=(M,L,U)=>{let{year:Y,month:W}=U;return L=="prev"&&M>=7&&(M-=7),Array.from(Array(M),(Q,Z)=>({day:Z+1,type:L,year:Y,month:W}))},z=(M,L,U,Y)=>{let{year:W,month:Q}=U;return L=="prev"&&M>=7&&(M-=7),Array.from(Array(Y),(v,J)=>({day:J+1,type:L,year:W,month:Q})).slice(Y-M)},x=(M,L)=>{const U=G.getMonthPreDay(+M[0],+M[1]);let Y=M[1]-1,W=M[0];Y<=0&&(Y=12,W+=1);const Q=G.getMonthDays(M[0],M[1]),Z=G.getMonthDays(W+"",Y+""),v={year:M[0],month:M[1]},J={curData:M,title:r("monthTitle",{year:v.year,month:v.month}),monthData:[...z(U,"prev",{month:Y,year:W},Z),...D(Q,"curr",v)]};J.cssHeight=39+(J.monthData.length>35?384:320);let te=0;d.monthsData.length>0&&(te=d.monthsData[d.monthsData.length-1].cssScrollHeight+d.monthsData[d.monthsData.length-1].cssHeight),J.cssScrollHeight=te,L=="next"?(!d.endData||!G.compareDate(`${d.endData[0]}-${d.endData[1]}-${G.getMonthDays(d.endData[0],d.endData[1])}`,`${M[0]}-${M[1]}-${M[2]}`))&&d.monthsData.push(J):!d.startData||!G.compareDate(`${M[0]}-${M[1]}-${M[2]}`,`${d.startData[0]}-${d.startData[1]}-01`)?d.monthsData.unshift(J):d.unLoadPrev=!0},H=()=>{let M=e.startDate?e.startDate:G.getDay(0),L=e.endDate?e.endDate:G.getDay(365);d.propStartDate=M,d.propEndDate=L,d.startData=p(M),d.endData=p(L),!e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length<=0?d.currDate=d.isRange?[G.date2Str(new Date),G.getDay(1)]:G.date2Str(new Date):d.currDate=d.isRange?[...e.defaultValue]:e.defaultValue;const U={year:Number(d.startData[0]),month:Number(d.startData[1])},Y={year:Number(d.endData[0]),month:Number(d.endData[1])};let W=Y.month-U.month;Y.year-U.year>0&&(W=W+12*(Y.year-U.year)),x(d.startData,"next");let Q=1;do x($("next"),"next");while(Q++<W);d.monthsNum=W,d.isRange&&Array.isArray(d.currDate)?(M&&G.compareDate(d.currDate[0],M)&&d.currDate.splice(0,1,M),L&&G.compareDate(L,d.currDate[1])&&d.currDate.splice(1,1,L),d.defaultData=[...p(d.currDate[0]),...p(d.currDate[1])]):(M&&G.compareDate(d.currDate,M)?d.currDate=M:L&&!G.compareDate(d.currDate,L)&&(d.currDate=L),d.defaultData=[...p(d.currDate)]);let Z=0,v=0;d.monthsData.forEach((le,ce)=>{let re=r("monthTitle",{year:d.defaultData[0],month:d.defaultData[1]});le.title==re&&(Z=ce),d.isRange&&(re=r("monthTitle",{year:d.defaultData[3],month:d.defaultData[4]}),le.title==re&&(v=ce))}),P(W,Z),d.currentIndex=Z,d.yearMonthTitle=d.monthsData[d.currentIndex].title,d.isRange?(T({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0),T({day:d.defaultData[5],type:"curr"},d.monthsData[v],!0)):T({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0);let J=d.monthsData[d.monthsData.length-1],te=J.cssHeight+J.cssScrollHeight;Pe(()=>{c?.value&&u?.value&&m?.value&&(h.value=c.value.clientHeight,u.value.style.height=`${te}px`,c.value.scrollTop=d.monthsData[d.currentIndex].cssScrollHeight)}),d.avgHeight=Math.floor(te/(W+1))},P=(M,L)=>{M>=3?L>0&&L<M?d.defaultRange=[L-1,L+3]:L==0?d.defaultRange=[L,L+4]:L==M&&(d.defaultRange=[L-2,L+2]):d.defaultRange=[0,M+2];let U=d.monthsData[d.defaultRange[0]].cssScrollHeight;d.translateY=U},A=(M,L)=>d.isRange&&M.type=="curr"&&N(M,L)=="calendar-month-day-active",E=(M,L)=>A(M,L)&&S(b(M,L)),q=(M,L)=>d.currDate.length>=2&&C(b(M,L))?A(M,L):!1,I=(M,L)=>{if(d.currDate.length>=2)return G.isEqual(d.currDate[0],d.currDate[1])},V=M=>{const L=`${M.year}-${M.month}-${M.day<10?"0"+M.day:M.day}`;return G.isEqual(L,G.date2Str(new Date))},O=M=>{const L=M.target.scrollTop;let U=Math.floor(L/d.avgHeight);if(U==0)L>=d.monthsData[U+1].cssScrollHeight&&(U+=1);else if(U>0&&U<d.monthsNum-1)L>=d.monthsData[U+1].cssScrollHeight&&(U+=1),L<d.monthsData[U].cssScrollHeight&&(U-=1);else{const Y=Math.round(L+h.value);Y<d.monthsData[U].cssScrollHeight+d.monthsData[U].cssHeight&&L>d.monthsData[U-1].cssScrollHeight&&(U-=1),U+1<=d.monthsNum&&Y>=d.monthsData[U+1].cssScrollHeight+d.monthsData[U+1].cssHeight&&(U+=1),L<d.monthsData[U-1].cssScrollHeight&&(U-=1)}d.currentIndex!==U&&(d.currentIndex=U,P(d.monthsNum,U)),d.yearMonthTitle=d.monthsData[U].title},F=()=>{d.chooseData.splice(0),d.monthsData.splice(0),H()};return H(),t.watch(()=>e.defaultValue,M=>{M&&e.poppable&&F()}),{weeks:s,compConthsData:w,showTopBtn:y,topInfo:g,bottomInfo:k,rangeTip:I,mothsViewScroll:O,getClass:N,isStartTip:E,isEndTip:q,chooseDay:T,isCurrDay:V,confirm:B,monthsPanel:u,months:c,weeksPanel:f,viewArea:m,...t.toRefs(d),...t.toRefs(e),...i}}}),hc={key:0,class:"calendar-title"},gc={key:1,class:"calendar-top-slot"},yc={key:2,class:"calendar-curr-month"},kc={class:"calendar-weeks",ref:"weeksPanel"},Sc={class:"calendar-months-panel",ref:"monthsPanel"},bc={class:"calendar-month-title"},Cc={class:"calendar-month-con"},wc=["onClick"],Nc={class:"calendar-day"},Bc={key:0,class:"calendar-curr-tips calendar-curr-tips-top"},Vc={key:1,class:"calendar-curr-tips calendar-curr-tips-bottom"},Ac={key:2,class:"calendar-curr-tip-curr"},Ec={key:4,class:"calendar-day-tip"},Tc={key:0,class:"fox-calendar-footer"};function $c(e,n,o,l,a,r){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",hc,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",gc,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",yc,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",kc,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.weeks,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"calendar-week-item",key:i},t.toDisplayString(s),1))),128))],512)],2),t.createElementVNode("view",{class:"fox-calendar-content",ref:"months",onScroll:n[0]||(n[0]=(...s)=>e.mothsViewScroll&&e.mothsViewScroll(...s))},[t.createElementVNode("view",Sc,[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,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"calendar-month",key:i},[t.createElementVNode("view",bc,t.toDisplayString(s.title),1),t.createElementVNode("view",Cc,[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(s.monthData,(c,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,class:t.normalizeClass(["calendar-month-day",e.getClass(c,s)]),onClick:f=>e.chooseDay(c,s)},[t.createElementVNode("view",Nc,[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",Bc,[t.renderSlot(e.$slots,"topInfo",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",Vc,[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",Ac," \u4ECA\u5929 ")):t.createCommentVNode("",!0),e.isStartTip(c,s)?(t.openBlock(),t.createElementBlock("view",{key:3,class:t.normalizeClass(["calendar-day-tip",{"calendar-curr-tips-top":e.rangeTip(c,s)}])},t.toDisplayString(e.startText),3)):t.createCommentVNode("",!0),e.isEndTip(c,s)?(t.openBlock(),t.createElementBlock("view",Ec,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],10,wc))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",Tc,[t.createElementVNode("view",{class:"calendar-confirm-btn",onClick:n[1]||(n[1]=(...s)=>e.confirm&&e.confirm(...s))},t.toDisplayString(e.confirmText),1)])):t.createCommentVNode("",!0)],2)}const il=j(pc,[["render",$c]]),dt=e=>typeof e=="string"?e:X.isDate(e)?G.date2Str(e):"",cl=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),Bn={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:G.getDay(0)},endDate:{type:[String,Date],default:G.getDay(365)}},{create:Dc}=K("calendar"),Ic=Dc({components:{[il.name]:il},props:{...Bn},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:o}){const l=t.computed(()=>e.type==="range"),a=t.computed(()=>{let p;if(cl(e.defaultValue))p=l.value?[G.date2Str(new Date),G.getDay(1)]:G.date2Str(new Date);else if(l.value)if(Array.isArray(e.defaultValue)&&e.defaultValue.length==2){let S=dt(e.defaultValue[0]),C=dt(e.defaultValue[1]);p=[S,C]}else p=[G.date2Str(new Date),G.getDay(1)];else{let S=Array.isArray(e.defaultValue)?e.defaultValue[0]:e.defaultValue;p=dt(S??new Date)}return p}),r=t.computed(()=>dt(e.startDate)),s=t.computed(()=>dt(e.endDate)),i=t.computed(()=>o.btn),c=t.computed(()=>o.topInfo),u=t.computed(()=>o.day),f=t.computed(()=>o.bottomInfo);let m=t.ref(e.visible);const h=t.ref(null),w=()=>{m.value=!1,n("update:visible",!1)},y=()=>{m.value=!1,n("close"),n("update:visible",!1)},g=p=>{y(),n("choose",p)},k=()=>{y()},d=p=>{n("select",p)};return t.watch(()=>e.visible,p=>{m.value=p}),{defaultValue:a,startDateStr:r,endDateStr:s,closePopup:k,update:w,close:y,choose:g,select:d,calendarRef:h,showTopBtn:i,topInfo:c,dayInfo:u,bottomInfo:f}}});function qc(e,n,o,l,a,r){const s=t.resolveComponent("fox-calendar-pane"),i=t.resolveComponent("fox-popup");return e.poppable?(t.openBlock(),t.createBlock(i,{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(s,{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(s,{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 Vn=j(Ic,[["render",qc]]),An=(e,n)=>{let o;return X.isDate(e)?o=e:typeof e=="string"&&ie(e)>0?o=G.parser(e,n):o=new Date,o},je=(e,n,o)=>(X.isDate(n)||(n=new Date),G.format(n,o)),We=e=>{let n=`${e.getFullYear()}`,o=`${e.getMonth()+1}`,l=`${e.getDate()}`,a=G.date2Str(e),r=G.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[n,o,l,a,r]};function zc(e,n,o,l,a){return{props:{...de,...fe,...Bn,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(r,s){const{emitEvent:i}=Se({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},r.prop??r.name),{toLocaleRefs:c}=oe.useFoxI18n(n),u=c(r,["placeholder"]),f=t.ref(!1),m=Ne(t.computed(()=>r.disabled)),h=Ie(t.computed(()=>r.readonly)),w=t.computed(()=>r.type==="range"),y=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),g=()=>{y.startDate!==null&&(y.startDate=null,y.endDate=null,y.startArray=[],y.endArray=[])},k=(L,U="one",Y="YYYY-MM-DD")=>{if(cl(L)){g();return}if(w.value&&Array.isArray(L)&&L.length==2){let W,Q;typeof L[0]=="string"?(W=An(L[0],Y),Q=An(L[1],Y)):(W=L[0],Q=L[1]);let Z=We(W),v=We(Q);(y.startDate===null||y.startDate.getTime()!==W.getTime()||y.endDate?.getTime()!==Q.getTime())&&(y.startDate=W,y.startArray=Z,y.endDate=Q,y.endArray=v)}else{let W;typeof L=="string"?W=An(L,Y):W=L;let Q=We(W);(y.startDate===null||y.startDate.getTime()!==W.getTime())&&(y.startDate=W,y.startArray=Q)}};k(r.modelValue,r.type,r.valueFormat),t.watch(()=>r.modelValue,L=>{k(L,r.type,r.valueFormat)});const d=t.computed(()=>{if(y.startDate===null)return"";if(w.value){let L=je(r,y.startDate,r.format),U=je(r,y.endDate,r.format);return`${L} ${r.rangeSeparator} ${U}`}else{let L=je(r,y.startDate,r.format);return r.showWeek&&(L=`${L} ${y.startArray[4]}`),L}}),p=t.computed(()=>{if(y.startDate===null)return null;if(w.value){let L=G.date2Str(y.startDate),U=G.date2Str(y.endDate??new Date);return[L,U]}else return G.date2Str(y.startDate)}),S="fox-input-item",C=t.computed(()=>({[S]:!0,[`${S}__disabled`]:m.value})),b=ge(t.computed(()=>r.textAlign),"textAlign"),N=t.computed(()=>({textAlign:b.value??"right"})),B=t.ref(!1),T=()=>{h.value||m.value||(B.value=!0)},$=L=>{B.value=L},D=L=>{if(!!L){if(w.value&&Array.isArray(L)){let U=L[0],Y=X.toNumber(U[0]),W=X.toNumber(U[1]),Q=X.toNumber(U[2]),Z=new Date(Y,W-1,Q),v=L[1];Y=X.toNumber(v[0]),W=X.toNumber(v[1]),Q=X.toNumber(v[2]);let J=new Date(Y,W-1,Q);if(y.startDate=Z,y.startArray=We(Z),y.endDate=J,y.endArray=We(J),r.valueFormat){let te=je(r,Z,r.valueFormat),le=je(r,J,r.valueFormat);i("update:modelValue",[te,le],{})}else i("update:modelValue",[Z,J],{})}else{let U=L,Y=X.toNumber(U[0]),W=X.toNumber(U[1]),Q=X.toNumber(U[2]),Z=new Date(Y,W-1,Q);if(y.startDate=Z,y.startArray=We(Z),r.valueFormat){let v=je(r,Z,r.valueFormat);i("update:modelValue",v,{})}else i("update:modelValue",Z,{})}i("change",L,{})}},z=L=>{let Y=L.target.value;f.value=!0,i("focus",Y,L)},x=L=>{setTimeout(()=>{f.value=!1},0);let Y=L.target.value;r.maxLength&&Y.length>Number(r.maxLength)&&(Y=Y.slice(0,Number(r.maxLength))),i("blur",Y,L)},H=t.computed(()=>({[`${S}__append`]:!0})),P=t.computed(()=>ie(r.unit)>0),A=t.computed(()=>ie(r.unit)>0&&!f.value),E=t.computed(()=>({hidden:!A.value})),q=L=>{g(),i("update:modelValue",null,L),i("change","",L),i("clear","")},I=t.computed(()=>r.clearable&&!m.value&&!h.value),V=t.computed(()=>ie(d.value)>0&&f.value),O=L=>{V.value?q(L):T()},F=t.computed(()=>V.value&&I.value?"close-little":"date"),M=t.computed(()=>({action:!0}));return()=>{const L={class:C.value,style:N.value,type:"text",maxlength:r.maxLength,placeholder:u.placeholder.value,readonly:!0,value:d.value,onClick:T,onFocus:z,onBlur:x},U=[],Y=t.h("input",L);U.push(Y);const W=[],Q={name:F.value,size:"10px"},Z=t.h(a,Q),v={class:M.value,onClick:O},J=t.h("view",v,{default:()=>[Z]});if(W.push(J),P.value){const Ve=t.h("view",{class:E.value},[r.unit]);W.push(Ve)}const te={class:H.value},le=t.h("view",te,{default:()=>W});U.push(le);const ce={default:()=>U};s.slots.default&&(ce.label=s.slots.default),s.slots.prepend&&(ce.prepend=s.slots.prepend),s.slots.append&&(ce.append=s.slots.append);const re=he(r,Bn);re.visible=B.value,re["onUpdate:visible"]=$,re["default-value"]=p.value,re.onChoose=D;const ne={};if(s.slots.btn){const Ve=s.slots.btn();ne.btn=()=>Ve}s.slots.day&&(ne.day=s.slots.day),s.slots.topInfo&&(ne.topInfo=s.slots.topInfo),s.slots.bottomInfo&&(ne.bottomInfo=s.slots.bottomInfo);const bt=t.h(o,re,ne);ce.hide=()=>[bt];const ye=he(r,fe,de);return t.h(l,ye,ce)}}}}const{componentName:Mc,create:Pc,scope:Rc}=K("calendar-item"),dl=Pc(zc(Mc,Rc,Vn,Be,ae)),En={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 Lc(e,n){return{props:{...En,modelValue:{type:[String,Number,Boolean,Object],required:!1},value:{type:[String,Number,Boolean,Object],required:!1}},emits:["click","update:modelValue"],setup(o,l){const a=(k,d)=>`${e}__${k}-${d}`,r=t.computed(()=>`
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
`);let s=t.inject("parent",null);const i=t.computed(()=>s===null?o.value===void 0||o.value===null?!1:X.isEqual(o.value,o.modelValue):s.currentValue===null?!1:X.isEqual(s.currentValue,o.value)),c=t.computed(()=>s&&s.disabled||o.disabled),u=t.computed(()=>c.value?"fox-radio__icon--disable":i.value?"fox-radio__icon":"fox-radio__icon--unchecked"),f=()=>{const{iconName:k,iconSize:d,iconActiveName:p,iconClassPrefix:S,iconFontClassName:C}=t.toRefs(o);return t.h(n,{name:i.value?p.value:k.value,size:d.value,class:u.value,classPrefix:S.value,fontClassName:C.value})},m=t.computed(()=>{let k={[`${e}__label`]:!0,[`${e}__label--disabled`]:c.value};return o.labelPosition&&(o.labelPosition==="top"?k[`${e}__label--top`]=!0:o.labelPosition==="right"?k[`${e}__label--right`]=!0:k[`${e}__label--left`]=!0),k}),h=t.computed(()=>o.labelWidth?{width:_(o.labelWidth)}:{}),w=()=>t.h("view",{class:m.value,style:h.value},l.slots.default?.()),y=k=>{i.value||c.value||(s&&s.updateValue(o.value),l.emit("update:modelValue",o.value),l.emit("click",o.value,k))},g=()=>t.h("view",{class:`${e}__button ${i.value&&`${e}__button--active`} ${o.disabled?`${e}__button--disabled`:""}`},l.slots.default?.());return()=>{let k=[];return o.shape==="button"?k=[g()]:o.position==="left"?k=[w(),f()]:k=[f(),w()],t.h("view",{class:r.value,onClick:y},{default:()=>k})}}}}const{componentName:Oc,create:Fc}=K("radio"),Tn=Fc(Lc(Oc,ae));function ul(e,n,o,l="value"){for(let a=0;a<n.length;a++){let r=n[a];if(l==="text"){if(Rt(e,r)===o)return a}else if(l==="item"){if(X.isEqual(o,r))return a}else if(ut(e,r)===o)return a}return-1}function Rt(e,n){return typeof e.textName=="string"&&e.textName.length>0?n[e.textName]:n.text}function ut(e,n){return typeof e.valueName=="string"&&e.valueName.length>0?n[e.valueName]:n.value}function Uc(e,n,o){return typeof e.itemOptions=="function"?e.itemOptions(n,o):e.itemOptions}class Kc{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 a=nt(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(X.isObject(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}}function Hc(){const e=t.getCurrentInstance();return new Kc(e.proxy)}function xc(e,n){return{props:{...En,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:[Number,String,Boolean,Object],default:""}},emits:["change","update:modelValue"],setup(o,l){const{emitEvent:a}=Se({componentName:e},o.prop??o.name),r=$e(),s=Ke(),i=ge(t.toRef(o,"labelPosition"),"labelPosition",Oe.Near),c=ge(t.toRef(o,"labelWidth"),"labelWidth",Oe.Near),u=t.computed(()=>{if(s&&r){const C=He(r,!1);if(C.value.type!=="flex")return{};const b={},N=be(C.value.column,o.span);N>0&&(b.width=`${N}%`);const B=be(C.value.column,o.offset);B>0&&(b["margin-left"]=`${B}%`);const T=C.value.gutter/2;return T>0&&(b["padding-left"]=`${T}px`,b["padding-right"]=`${T}px`),b}return{}});let f=Hc(),m=t.ref([]);t.watchEffect(async()=>{o.source&&(m.value=await f.load("radio",o.source,o.params))});let h=t.ref(-1);t.watch([()=>o.modelValue,()=>m.value],async([C,b])=>{h.value=ul(o,b,C,o.valueType)},{deep:!0});const w=Ne(t.computed(()=>o.disabled)),y=t.computed(()=>{if(!o.source)return o.modelValue;if(h.value===-1)return null;let C=m.value[h.value];return ut(o,C)}),g=C=>{let b=null,N=null;if(m.value.length>0){let B=ul(o,m.value,C,"value");h.value=B,B>=0&&(N=m.value[B],o.valueType==="text"?b=Rt(o,N):o.valueType==="item"?b=N:b=ut(o,N))}else b=C;a("update:modelValue",b),a("change",b,N)},k=t.computed(()=>{let C=o.column;C<0&&(C=1);let b=100/C;return b<0&&(b=100),`${b}%`}),d=t.readonly({disabled:w,currentValue:y,updateValue:g}),p=()=>{let C=null,b=null;if(m.value.length>0&&h.value!==-1){let N=m.value[h.value];o.valueType==="text"?C=Rt(o,N):o.valueType==="item"?C=N:C=ut(o,N)}a("update:modelValue",C),a("change",C,b)},S={clear(){h.value!==-1&&(h.value=-1,p())}};return l.expose(S),t.provide("parent",d),o.source?()=>{let C=[];return m.value.forEach((b,N)=>{let B=Rt(o,b),T=ut(o,b),$=he(o,En);Object.assign($,{style:{width:k.value},labelWidth:c.value,labelPosition:i.value,value:T});let D=Uc(o,b,N);$={...$,...D};let z;if(l.slots.label){let x=l.slots.label?.({text:B,index:N});z=t.h(n,$,{default:()=>[x]})}else z=t.h(n,$,{default:()=>[B]});C.push(z)}),t.h("view",{class:`${e}`,style:u.value},{default:()=>C})}:()=>t.h("view",{class:`${e}`,style:u.value},l.slots.default?.())}}}const{componentName:jc,create:Wc}=K("radio-item"),fl=Wc(xc(jc,Tn)),$n={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:"checked"},iconIndeterminateName:{type:String,default:"check-disabled"},iconSize:{type:[String,Number],required:!1,default:""},iconClassPrefix:{type:String,default:"fox-icon"},iconFontClassName:{type:String,default:"foxui-iconfont"},indeterminate:{type:Boolean,default:!1}},Yc=(e,n)=>({props:{...$n,modelValue:{type:[String,Number,Boolean,Object],required:!1},value:{type:[String,Number,Boolean,Object],required:!1},disabled:{type:Boolean,default:!1}},emits:["click","update:modelValue","change"],setup(o,l){const a=(p,S)=>`${e}__${p}-${S}`,r=t.computed(()=>`
|
|
11
|
-
${a("justify",o.justify)}
|
|
12
|
-
${a("align",o.align)}
|
|
13
|
-
${a("flex",o.wrap)}
|
|
14
|
-
${e}
|
|
15
|
-
`);let s=t.inject("parent",null);const i=t.computed(()=>s===null?o.value===void 0||o.value===null?!1:X.isEqual(o.value,o.modelValue):s.currentValue===null?!1:_n(o.value,s.currentValue)!==-1),c=t.computed(()=>s&&s.disabled||o.disabled),u=t.computed(()=>c.value?"fox-checkbox__icon--disable":i.value?o.indeterminate?"fox-checkbox__icon--indeterminate":"fox-checkbox__icon":"fox-checkbox__icon--unchecked"),f=()=>{const{iconName:p,iconSize:S,iconActiveName:C,iconClassPrefix:b,iconFontClassName:N,iconIndeterminateName:B}=t.toRefs(o);return t.h(n,{name:i.value?o.indeterminate?B.value:C.value:p.value,size:S.value,class:u.value,classPrefix:b.value,fontClassName:N.value})},m=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}),h=t.computed(()=>o.labelWidth?{width:_(o.labelWidth)}:{}),w=()=>t.h("view",{class:m.value,style:h.value},l.slots.default?.());let y="";const g=p=>{if(c.value)return;s&&s.updateValue(o.value),y="click";let S=i.value?null:o.value;l.emit("update:modelValue",S),l.emit("click",S,p)};t.watch(()=>o.modelValue,p=>{y=="click"?y="":l.emit("change",p)});const k={toggle(){if(c.value)return;s&&s.updateValue(o.value);let p=i.value?null:o.value;l.emit("update:modelValue",p)},select(){if(c.value||i.value)return;s&&s.updateValue(o.value);let p=o.value;l.emit("update:modelValue",p)},clear(){c.value||i.value||(s&&s.updateValue(o.value),l.emit("update:modelValue",null))}};l.expose(k);const d=()=>t.h("view",{class:`${e}__button ${i.value&&`${e}__button--active`} ${o.disabled?`${e}__button--disabled`:""}`},l.slots.default?.());return()=>{let p=[];return o.shape==="button"?p=[d()]:o.position==="left"?p=[w(),f()]:p=[f(),w()],t.h("view",{class:r.value,onClick:g},{default:()=>p})}}}),{componentName:Xc,create:Qc}=K("checkbox"),Dn=Qc(Yc(Xc,ae));function ml(e,n,o,l="value"){for(let a=0;a<n.length;a++){let r=n[a];if(l==="text"){if(Lt(e,r)===o)return a}else if(l==="item"){if(X.isEqual(o,r))return a}else if(ft(e,r)===o)return a}return-1}function Lt(e,n){return typeof e.textName=="string"&&e.textName.length>0?n[e.textName]:n.text}function ft(e,n){return typeof e.valueName=="string"&&e.valueName.length>0?n[e.valueName]:n.value}function Gc(e,n,o){return typeof e.itemOptions=="function"?e.itemOptions(n,o):e.itemOptions}class vc{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 a=nt(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(X.isObject(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}}function Zc(){const e=t.getCurrentInstance();return new vc(e.proxy)}function Jc(e,n){return{props:{...$n,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,default:[]}},emits:["change","update:modelValue"],setup(o,l){const{emitEvent:a}=Se({componentName:e},o.prop??o.name),r=$e(),s=Ke(),i=ge(t.toRef(o,"labelPosition"),"labelPosition",Oe.Near),c=ge(t.toRef(o,"labelWidth"),"labelWidth",Oe.Near),u=t.computed(()=>{if(s&&r){const b=He(r,!1);if(b.value.type!=="flex")return{};const N={},B=be(b.value.column,o.span);B>0&&(N.width=`${B}%`);const T=be(b.value.column,o.offset);T>0&&(N["margin-left"]=`${T}%`);const $=b.value.gutter/2;return $>0&&(N["padding-left"]=`${$}px`,N["padding-right"]=`${$}px`),N}return{}});let f=Zc(),m=t.ref([]);t.watchEffect(async()=>{o.source&&(m.value=await f.load("checkbox",o.source,o.params))});let h=t.ref([]);t.watch([()=>o.modelValue,()=>m.value],async([b,N])=>{let B=[];Array.isArray(b)&&b.forEach(T=>{let $=ml(o,N,T,o.valueType);$!==-1&&B.push($)}),h.value=B},{deep:!0});const w=Ne(t.computed(()=>o.disabled)),y=t.computed(()=>{if(!o.source)return o.modelValue;let b=[];return h.value.forEach(N=>{let B=m.value[N];b.push(ft(o,B))}),b}),g=b=>{let N=[],B=[];if(m.value.length>0){let T=ml(o,m.value,b,"value");if(T===-1)return;let $=h.value.indexOf(T);$===-1?h.value.push(T):h.value.splice($,1),h.value.forEach(D=>{let z=m.value[D];B.push(z),o.valueType==="text"?N.push(Lt(o,z)):o.valueType==="item"?N.push(z):N.push(ft(o,z))})}else{N=y.value;let T=N.indexOf(b);T===-1?N.push(b):N.splice(T,1)}a("update:modelValue",N),a("change",N,B)},k=t.computed(()=>{let b=o.column;b<0&&(b=1);let N=100/b;return N<0&&(N=100),`${N}%`}),d=t.readonly({disabled:w,currentValue:y,updateValue:g});t.provide("parent",d);const p=function(b){},S=()=>{let b=[],N=[];h.value.forEach(B=>{let T=m.value[B];N.push(T),o.valueType==="text"?b.push(Lt(o,T)):o.valueType==="item"?b.push(T):b.push(ft(o,T))}),a("update:modelValue",b),a("change",b,N)},C={selectAll:()=>{let b=!1;for(let N=0;N<m.value.length;N++)h.value.includes(N)||(h.value.push(N),b=!0);b&&S()},clearAll:()=>{let b=!1,N=h.value.length;N>0&&(h.value.splice(0,N),b=!0),b&&S()},toggleAll:()=>{for(let b=0;b<m.value.length;b++){let N=h.value.indexOf(b);N==-1?h.value.push(b):h.value.splice(N,1)}S()},toggleReverse:()=>{let b=[];for(let N=0;N<m.value.length;N++)h.value.indexOf(N)===-1&&b.push(N);h.value=b,S()}};return l.expose(C),o.source?()=>{let b=[];return m.value.forEach((N,B)=>{let T=Lt(o,N),$=ft(o,N),D=he(o,$n);Object.assign(D,{style:{width:k.value},labelWidth:c.value,labelPosition:i.value,value:$});const z=Gc(o,N,B);D={...D,...z,ref:p};let x;if(l.slots.label){let H=l.slots.label?.({text:T,index:B});x=t.h(n,D,{default:()=>[H]})}else x=t.h(n,D,{default:()=>[T]});b.push(x)}),t.h("view",{class:`${e}`,style:u.value},{default:()=>b})}:()=>{let b=l.slots.default?.()??[];return t.h("view",{class:`${e}`,style:u.value,ref:p},{default:()=>b})}}}}const{componentName:_c,create:ed}=K("checkbox-item"),pl=ed(Jc(_c,Dn)),In={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:td,create:nd}=K("switch"),od=nd({props:{...In},emits:["change","update:modelValue","update:loading"],setup(e,{emit:n}){const o=t.computed(()=>e.modelValue===e.activeValue),l=t.computed(()=>{const i=td;return{[i]:!0,[o.value?"switch-open":"switch-close"]:!0,[`${i}-disable`]:e.disable,[`${i}-base`]:!0}}),a=t.computed(()=>({backgroundColor:o.value?e.activeColor:e.inactiveColor}));let r="";const s=i=>{if(e.disable||e.loading)return;r="click";const c=o.value?e.inactiveValue:e.activeValue;n("update:modelValue",c),n("change",c,i)};return t.watch(()=>e.modelValue,i=>{r=="click"?r="":n("change",i)}),{classes:l,style:a,onClick:s}}}),ld={class:"switch-button"};function ad(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...i)=>e.onClick&&e.onClick(...i)),style:t.normalizeStyle(e.style)},[t.createElementVNode("view",ld,[e.loading?(t.openBlock(),t.createBlock(s,{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 qn=j(od,[["render",ad]]);function rd(e,n,o,l){return{props:{...de,...fe,...In},emits:["change","update:modelValue"],setup(a,r){const{emitEvent:s}=Se({componentName:e},a.prop??a.name),i=e,c=Ne(t.computed(()=>a.disabled)),u=Ie(t.computed(()=>a.readonly)),f=Ae(a,"modelValue"),m=h=>{f.value=h,s("update:modelValue",h,{}),s("change",h,{})};return()=>{const w={...he(a,In),disabled:c.value,readonly:u.value,value:f.value,["onUpdate:modelValue"]:m},y=[],g=t.h(l,w);y.push(g);const k={default:()=>y};if(r.slots.default){const S=r.slots.default();k.label=()=>S}const d=he(a,fe,de);return d["content-class"]=i,t.h(o,d,k)}}}}const{componentName:sd,create:id,scope:cd}=K("switch-item"),hl=id(rd(sd,cd,Be,qn));function dd(e,n,o,l){return{props:{...de,...fe,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(a,r){const{emitEvent:s}=Se({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??a.name),{toLocaleRefs:i}=oe.useFoxI18n(n),c=i(a,["placeholder"]),u=Ne(t.computed(()=>a.disabled)),f=Ie(t.computed(()=>a.readonly)),m=Ae(a,"modelValue"),h=t.computed(()=>({[`${e}`]:!0,[`${e}__disabled`]:u.value,[`${e}__placeholder`]:!u.value&&ke(m.value)})),w=ge(t.computed(()=>a.textAlign),"textAlign"),y=t.computed(()=>({textAlign:w.value??"right"})),g=t.computed(()=>ke(m.value)?c.placeholder.value:m.value),k=()=>{s("focus",m.value)},d=()=>{s("blur",m.value)},p=t.computed(()=>({[`${e}__append`]:!0})),S=t.computed(()=>ie(a.unit)>0),C=B=>{u.value==!0||f.value==!0||s("click")},b=t.computed(()=>"arrow-right"),N=t.computed(()=>({action:!0}));return()=>{const B={tabIndex:0,class:h.value,style:y.value,innerHTML:g.value,onFocus:k,onBlur:d,onClick:C},T=[],$=t.h("view",B);T.push($);const D=[],z={name:b.value,size:"10px"},x=t.h(o,z),H={class:N.value,onClick:C},P=t.h("view",H,{default:()=>[x]});if(D.push(P),S.value){const O=t.h("view",{},[a.unit]);D.push(O)}const A={class:p.value},E=t.h("view",A,{default:()=>D});T.push(E);const q={default:()=>T};if(r.slots.default){const O=r.slots.default();q.label=()=>O}if(r.slots.prepend){const O=r.slots.prepend();q.prepend=()=>O}if(r.slots.append){const O=r.slots.append();q.append=()=>O}const I=he(a,fe,de);return t.h(l,I,q)}}}}const{componentName:ud,create:fd,scope:md}=K("link-item"),gl=fd(dd(ud,md,ae,Be)),{componentName:pd,create:hd}=K("button"),gd=hd({components:{[ae.name]:ae},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:a,shape:r,disabled:s,loading:i,icon:c,color:u,plain:f,block:m}=t.toRefs(e),h=d=>{!i.value&&!s.value&&n("click",d)},w=t.computed(()=>{const d=pd;return{[d]:!0,[`${d}--${l.value}`]:l.value,[`${d}--${a.value}`]:a.value,[`${d}--${r.value}`]:r.value,[`${d}--plain`]:f.value,[`${d}--block`]:m.value,[`${d}--disabled`]:s.value,[`${d}--loading`]:i.value}}),y=t.computed(()=>{const d={};return u?.value&&(f.value?(d.color=u.value,d.background="#fff",u.value?.includes("gradient")||(d.borderColor=u.value)):(d.color="#fff",d.background=u.value)),d}),g=t.computed(()=>typeof o.default=="function"),k=t.computed(()=>({text:c??i}));return{handleClick:h,classes:w,getStyle:y,hasText:g,textClasses:k}}}),yd={class:"fox-button__warp"};function kd(e,n,o,l,a,r){const s=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]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.createElementVNode("view",yd,[e.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-icon-loading"})):t.createCommentVNode("",!0),e.icon&&!e.loading?(t.openBlock(),t.createBlock(s,{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 Ye=j(gd,[["render",kd]]),{componentName:Sd,create:bd}=K("cell"),Cd=bd({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 r=Sd;return{[r]:!0,[`${r}--clickable`]:e.isLink,[`${r}--center`]:e.center,[`${r}--large`]:e.size=="large"}}),l=t.computed(()=>({borderRadius:_(e.roundRadius)}));return{handleClick:r=>{n("click",r)},classes:o,baseStyle:l}}}),wd={key:0,class:"fox-cell__icon"},Nd={key:1,class:"fox-cell__title"},Bd={class:"title"},Vd={class:"fox-cell__title-desc"};function Ad(e,n,o,l,a,r){const s=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]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.renderSlot(e.$slots,"default",{},()=>[e.icon||e.$slots.icon?(t.openBlock(),t.createElementBlock("view",wd,[e.$slots.icon?t.renderSlot(e.$slots,"icon",{key:0}):e.icon?(t.openBlock(),t.createBlock(s,{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",Nd,[e.subTitle?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("view",Bd,t.toDisplayString(e.title),1),t.createElementVNode("view",Vd,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(s,{key:4,class:"fox-cell__link",name:"right"})):t.createCommentVNode("",!0)])],6)}const yl=j(Cd,[["render",Ad]]),{componentName:Ed,create:Td}=K("cell-group"),$d=Td({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:t.computed(()=>({[Ed]:!0}))}}}),Dd={key:1,class:"fox-cell-group__title"},Id={key:3,class:"fox-cell-group__desc"},qd={class:"fox-cell-group__warp"};function zd(e,n,o,l,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",Dd,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",Id,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.createElementVNode("view",qd,[t.renderSlot(e.$slots,"default")])],2)}const kl=j($d,[["render",zd]]),{componentName:Md,create:Pd}=K("image"),Rd=Pd({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 u=Md;return{[u]:!0,[`${u}-round`]:e.round}}),a=t.computed(()=>{let u={};return e.width&&(u.width=_(e.width)),e.height&&(u.height=_(e.height)),e.radius!==void 0&&e.radius!==null&&(u.overflow="hidden",u.borderRadius=_(e.radius)),u}),r=t.computed(()=>({objectFit:e.fit,objectPosition:e.position}));t.watch(()=>e.src,u=>{o.isError=!1,o.loading=!0});const s=()=>{o.loading=!1,n("load")},i=()=>{o.isError=!0,o.loading=!1,n("error")},c=u=>{n("click",u)};return{...t.toRefs(o),imageClick:c,classes:l,styles:r,stylebox:a,error:i,load:s}}}),Ld=["src","alt"],Od={key:0,class:"fox-img-loading"},Fd={key:1,class:"fox-img-error"};function Ud(e,n,o,l,a,r){const s=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]=(...i)=>e.imageClick&&e.imageClick(...i))},[t.createElementVNode("img",{class:"fox-img",src:e.src,alt:e.alt,onLoad:n[0]||(n[0]=(...i)=>e.load&&e.load(...i)),onError:n[1]||(n[1]=(...i)=>e.error&&e.error(...i)),style:t.normalizeStyle(e.styles)},null,44,Ld),e.loading?(t.openBlock(),t.createElementBlock("view",Od,[e.slotLoding?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,name:"image"})),t.renderSlot(e.$slots,"loading")])):t.createCommentVNode("",!0),e.isError&&!e.loading?(t.openBlock(),t.createElementBlock("view",Fd,[e.slotError?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,name:"image-error"})),t.renderSlot(e.$slots,"error")])):t.createCommentVNode("",!0)],6)}const Sl=j(Rd,[["render",Ud]]),{create:Kd}=K("layout"),bl=Kd({}),{componentName:Hd,create:xd}=K("col"),jd=xd({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const n=Hd,o=t.inject("gutter"),l=t.computed(()=>({[n]:!0,[`${n}-gutter`]:o,[`fox-col-${e.span}`]:!0,[`fox-col-offset-${e.offset}`]:!0})),a=t.computed(()=>({paddingLeft:o/2+"px",paddingRight:o/2+"px"}));return{classes:l,style:a}}});function Wd(e,n,o,l,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 Cl=j(jd,[["render",Wd]]),{componentName:Yd,create:Xd}=K("row"),Qd=Xd({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=Yd;t.provide("gutter",e.gutter);const o=(a,r)=>a?r?`fox-row-${a}-${r}`:"":`fox-row-${r}`;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)}
|
|
1
|
+
(function(N,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@fox-js/validator"),require("@fox-js/icons-vue"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/validator","@fox-js/icons-vue","@fox-js/i18n"],t):(N=typeof globalThis<"u"?globalThis:N||self,t(N.FoxUI={},N.Vue,N.FoxValidator,N.FoxIconsVue,N.FoxI18n))})(this,function(N,t,tt,oe,ie){"use strict";/*!
|
|
2
|
+
* @fox-js/foxui-base v4.0.0 Sat Jun 29 2024 16:19:24 GMT+0800 (中国标准时间)
|
|
3
|
+
*/const en=window,Hs=typeof window<"u";function js(){return typeof en<"u"?en.requestAnimationFrame||en.webkitRequestAnimationFrame||function(e){en.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function Fa(e){Hs?cancelAnimationFrame(e):clearTimeout(e)}const Qe=js();/*!
|
|
4
|
+
* @fox-js/big-decimal v4.0.1-6 Thu Aug 17 2023 21:31:19 GMT+0800 (中国标准时间)
|
|
5
|
+
*/function tn(e,n="0"){let a=0,o=-1;e[0]=="-"&&(a++,o=1,e=e.substring(1),e.length),n[0]=="-"&&(a++,o=2,n=n.substring(1),n.length),e=Ae(e),n=Ae(n),[e,n]=lo(Ae(e),Ae(n)),a==1&&(o==1?e=oo(e):n=oo(n));let l=Ra(e,n);return a?a==2?"-"+Ae(l):e.length<l.length?Ae(l.substring(1)):"-"+Ae(oo(l)):Ae(l)}function oo(e){let n="",a=e.length,o=e.split(".")[1],l=o?o.length:0;for(let s=0;s<a;s++)e[s]>="0"&&e[s]<="9"?n+=9-parseInt(e[s]):n+=e[s];let r=l>0?"0."+new Array(l).join("0")+"1":"1";return Ra(n,r)}function Ae(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 lo(e,n){let a=e.split("."),o=n.split("."),l=a[0].length,r=o[0].length;return l>r?o[0]=new Array(Math.abs(l-r)+1).join("0")+(o[0]?o[0]:""):a[0]=new Array(Math.abs(l-r)+1).join("0")+(a[0]?a[0]:""),l=a[1]?a[1].length:0,r=o[1]?o[1].length:0,(l||r)&&(l>r?o[1]=(o[1]?o[1]:"")+new Array(Math.abs(l-r)+1).join("0"):a[1]=(a[1]?a[1]:"")+new Array(Math.abs(l-r)+1).join("0")),e=a[0]+(a[1]?"."+a[1]:""),n=o[0]+(o[1]?"."+o[1]:""),[e,n]}function Ra(e,n){[e,n]=lo(e,n);let a="",o=0;for(let l=e.length-1;l>=0;l--){if(e[l]==="."){a="."+a;continue}let r=parseInt(e[l])+parseInt(n[l])+o;a=r%10+a,o=Math.floor(r/10)}return o?o.toString()+a:a}var we=(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))(we||{});function Et(e,n=0,a=we.HALF_EVEN){if(a===we.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let o=!1;e[0]==="-"&&(o=!0,e=e.substring(1));let l=e.split("."),r=l[0],s=l[1];if(n<0){if(n=-n,r.length<=n)return"0";{let c=r.substr(0,r.length-n);return e=c+"."+r.substr(r.length-n)+s,c=Et(e,0,a),(o?"-":"")+c+new Array(n+1).join("0")}}if(n==0)return r.length,Oa(l[1],r,o,a)?(o?"-":"")+ao(r):(o?"-":"")+r;if(l[1]){if(l[1].length<n)return(o?"-":"")+r+"."+l[1]+new Array(n-l[1].length+1).join("0")}else return(o?"-":"")+r+"."+new Array(n+1).join("0");s=l[1].substring(0,n);let i=l[1].substring(n);return i&&Oa(i,s,o,a)&&(s=ao(s),s.length>n)?(o?"-":"")+ao(r,parseInt(s[0]))+"."+s.substring(1):(o?"-":"")+r+"."+s}function Oa(e,n,a,o){if(!e||e===new Array(e.length+1).join("0")||o===we.DOWN||!a&&o===we.FLOOR||a&&o===we.CEILING)return!1;if(o===we.UP||a&&o===we.FLOOR||!a&&o===we.CEILING)return!0;let l="5"+new Array(e.length).join("0");if(e>l)return!0;if(e<l)return!1;switch(o){case we.HALF_DOWN:return!1;case we.HALF_UP:return!0;case we.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function ao(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let a=e.length-1,o="";for(let l=a;l>=0;l--){let r=parseInt(e[l])+n;r==10?(n=1,r=0):n=0,o+=r}return n&&(o+=n),o.split("").reverse().join("")}function ro(e,n){e=e.toString(),n=n.toString();let a=0;e[0]=="-"&&(a++,e=e.substr(1)),n[0]=="-"&&(a++,n=n.substr(1)),e=Dt(e),n=Dt(n);let o=0,l=0;e.indexOf(".")!=-1&&(o=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(l=n.length-n.indexOf(".")-1);let r=o+l;if(e=Dt(e.replace(".","")),n=Dt(n.replace(".","")),e.length<n.length){let d=e;e=n,n=d}if(n=="0")return"0";let s=n.length,i=0,c=[],f=s-1,p="";for(let d=0;d<s;d++)c[d]=e.length-1;for(let d=0;d<2*e.length;d++){let h=0;for(let S=n.length-1;S>=f&&S>=0;S--)c[S]>-1&&c[S]<e.length&&(h+=parseInt(e[c[S]--])*parseInt(n[S]));h+=i,i=Math.floor(h/10),p=h%10+p,f--}return p=Dt(Ws(p,r)),a==1&&(p="-"+p),p}function Ws(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 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 so(e,n,a=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 o=0;n[0]=="-"&&(n=n.substring(1),o++),e[0]=="-"&&(e=e.substring(1),o++);var l=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=Ae(n.replace(".","")),l>=0){let f=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(f==-1)e=Ae(e+new Array(l+1).join("0"));else if(l>f)e=e.replace(".",""),e=Ae(e+new Array(l-f+1).join("0"));else if(l<f){e=e.replace(".","");let p=e.length-f+l;e=Ae(e.substring(0,p)+"."+e.substring(p))}else l==f&&(e=Ae(e.replace(".","")))}let r=0,s=n.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 f=c.length-c.indexOf(".")-1;c=c.replace(".",""),s>c.length&&(f+=s-c.length,c=c+new Array(s-c.length+1).join("0")),r=f,i="0."+new Array(f).join("0")}for(a=a+2;r<=a;){let f=0;for(;parseInt(c)>=parseInt(n);)c=tn(c,"-"+n),f++;i+=f,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(o==1?"-":"")+Ae(Et(i,a-2))}function io(e,n){return e=e.toString(),n=n.toString(),n=co(n),tn(e,n)}function co(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Ka(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),Ua(e),Ua(n);let a="";e[0]=="-"&&(a="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let o=io(e,ro(n,Et(so(e,n),0,we.FLOOR)));return a+o}function Ua(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Ha(e,n){let a=!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),a=!0),[e,n]=lo(e,n),e.localeCompare(n)==0)return 0;for(let o=0;o<e.length;o++)if(e[o]!=n[o])return e[o]>n[o]?a?-1:1:a?1:-1;return 0}class ce{value;static RoundingModes=we;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[a,o]=n.split(/[eE]/);a=Ae(a);let l="";a[0]=="-"&&(l="-",a=a.substring(1)),a.indexOf(".")>=0?(o=parseInt(o)+a.indexOf("."),a=a.replace(".","")):o=parseInt(o)+a.length,a.length<o?n=l+a+new Array(o-a.length+1).join("0"):a.length>=o&&o>0?n=l+Ae(a.substring(0,o))+(a.length>o?"."+a.substring(o):""):n=l+"0."+new Array(-o+1).join("0")+a}return n}constructor(n="0"){this.value=ce.validate(n)}getValue(){return this.value}static getPrettyValue(n,a,o){if(!(a||o))a=3,o=",";else if(!(a&&o))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");n=ce.validate(n);let l=n.charAt(0)=="-";l&&(n=n.substring(1));var r=n.indexOf(".");r=r>0?r:n.length;for(var s="",i=r;i>0;)i<a?(a=i,i=0):i-=a,s=n.substring(i,i+a)+(i<r-a&&i>=0?o:"")+s;return(l?"-":"")+s+n.substring(r)}getPrettyValue(n,a){return ce.getPrettyValue(this.value,n,a)}static round(n,a=0,o=we.HALF_EVEN){if(n=ce.validate(n),isNaN(a))throw Error("Precision is not a number: "+a);return Et(n,a,o)}round(n=0,a=we.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new ce(Et(this.value,n,a))}static floor(n){return n=ce.validate(n),n.indexOf(".")===-1?n:ce.round(n,0,we.FLOOR)}floor(){return this.value.indexOf(".")===-1?new ce(this.value):new ce(this.value).round(0,we.FLOOR)}static ceil(n){return n=ce.validate(n),n.indexOf(".")===-1?n:ce.round(n,0,we.CEILING)}ceil(){return this.value.indexOf(".")===-1?new ce(this.value):new ce(this.value).round(0,we.CEILING)}static add(n,a){return n=ce.validate(n),a=ce.validate(a),tn(n,a)}add(n){return new ce(tn(this.value,n.getValue()))}static subtract(n,a){return n=ce.validate(n),a=ce.validate(a),io(n,a)}subtract(n){return new ce(io(this.value,n.getValue()))}static multiply(n,a){return n=ce.validate(n),a=ce.validate(a),ro(n,a)}multiply(n){return new ce(ro(this.value,n.getValue()))}static divide(n,a,o){return n=ce.validate(n),a=ce.validate(a),so(n,a,o)}divide(n,a){return new ce(so(this.value,n.getValue(),a))}static modulus(n,a){return n=ce.validate(n),a=ce.validate(a),Ka(n,a)}modulus(n){return new ce(Ka(this.value,n.getValue()))}static compareTo(n,a){return n=ce.validate(n),a=ce.validate(a),Ha(n,a)}compareTo(n){return Ha(this.value,n.getValue())}static negate(n){return n=ce.validate(n),co(n)}negate(){return new ce(co(this.value))}}function ja(e,n){return ce.multiply(`${e}`,`${n}`)}function uo(e,n,a=8){return ce.divide(`${e}`,`${n}`,a)}function fo(e,n){return e=`${e}`,n=`${n}`,ce.compareTo(e,n)}function Wa(e){return ce.negate(e)}function nn(e,n=-1,a=!1,o=3,l=","){let r=`${e}`;if(r.length==0||r==="-")return"";let s=r.charAt(0);s=="-"?r=r.substring(1):s="";let i=r,c="",f=r.indexOf(".");f!=-1&&(i=r.substring(0,f),c=r.substring(f+1)),n!=-1&&(n<c.length?c=c.substring(0,n):a&&n>c.length&&(c=c.padEnd(n,"0")));let p;if(o>0){let d="",h=i.split("").reverse();for(let S=0;S<h.length;S++)d+=h[S]+((S+1)%o==0&&S+1!=h.length?l:"");c.length==0?p=`${s}${d.split("").reverse().join("")}`:p=`${s}${d.split("").reverse().join("")}.${c}`}else c.length==0?p=`${s}${i}`:p=`${s}${i}.${c}`;return p}function Ya(e){let n=`${e}`,a=n.charAt(0);a=="-"?n=n.substring(1):a="";let o=n.replace(/[^\d\.-]/g,"");return`${a}${o}`}const nt=typeof window<"u",Ke=Qe;function Xa(e){return e==null}const on=Array.isArray,Ys=e=>an(e)==="[object Map]",Xs=e=>an(e)==="[object Set]",Ue=e=>e instanceof Date,ln=e=>typeof e=="function",Qa=e=>typeof e=="string",Qs=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",dt=e=>De(e)&&ln(e.then)&&ln(e.catch),Ga=Object.prototype.toString,an=e=>Ga.call(e),mo=e=>an(e)==="[object Object]",Za=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Gs(e){return e.__esModule||Za&&e[Symbol.toStringTag]==="Module"}const Zs=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function ot(...e){let n=e[0]!==void 0&&e[0]!==null?e[0]:{},a=1,o=e.length,l=!1;for(typeof n=="boolean"&&(l=n,n=e[a]??{},a++),typeof n!="object"&&(n={});a<o;a++)if(e[a]!==null&&e[a]!==void 0){let r=e[a];for(let s in r){let i=n[s],c=r[s];if(i!==c)if(l===!0&&c&&typeof c=="object"){let f;Array.isArray(c)?f=i&&Array.isArray(i)?i:[]:f=i&&typeof i=="object"?i:{},n[s]=ot(l,f,c)}else c!==void 0&&(n[s]=c)}}return n}function po(e,n,a=!1){if(!a)ot(!0,e,n);else{if(typeof n!="object")return{};typeof e!="object"&&(e={});for(let l in n){let r=e[l],s=n[l];if(r!==s)if(typeof s=="object"){if(!Array.isArray(s)&&!mo(s))continue;r=po(r,s,a),e[l]=r}else{if(typeof s=="function")continue;e[l]=s}}const o=Object.getOwnPropertySymbols(n);for(let l of o){let r=e[l],s=n[l];if(r!==s)if(typeof s=="object"){if(!Array.isArray(s)&&!mo(s))continue;r=po(r,s,a),e[l]=r}else{if(typeof s=="function")continue;e[l]=s}}}return e}const ho=Zs?Promise.resolve():null;function Js(e,...n){ho!==null?n&&n.length>0?ho.then(()=>{e(n)}):ho.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function he(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function me(e){return typeof e=="number"?e:Number(e)}const _s={"[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 a=Object.prototype.toString.call(e);return e==null?String(e):_s[a]||"object"}function rn(e){if(!e)return!0;const{display:n}=window.getComputedStyle(e);return n==="none"}function Ja(e){return e&&typeof e=="object"&&"setInterval"in e}function _a(e){let n=!!e&&"length"in e&&e.length,a=lt(e);return a==="function"||Ja(e)?!1:a==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function er(e,n){let a=+n.length,o=0,l=e.length;for(;o<a;o++)e[l++]=n[o];return e.length=l,e}function ei(e,n=[]){let a=n;return e!=null&&(_a(Object(e))?er(a,typeof e=="string"?[e]:e):a.push(e)),a}function Me(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let a=lt(e),o=lt(n);if(a!==o)return!1;if(a==="object"){let l=Object.keys(e),r=Object.keys(n);if(l.length!==r.length)return!1;for(let s=0;s<l.length;s++){let i=l[s],c=e[i],f=n[i];if(!Me(c,f))return!1}return!0}else if(a==="array"){if(e.length!==n.length)return!1;for(let l=0;l<e.length;l++){let r=e[l],s=n[l];if(!Me(r,s))return!1}return!0}return!1}function tr(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ue=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function nr(e){return ue(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ue(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function or(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 a=n.indexOf(".");return a==-1?n.length:a}function lr(e){if(e==null)return 0;const n=`${e}`;if(n.length==0)return 0;const a=n.indexOf(".");return a==-1?0:n.length-(a+1)}function ar(e,n,a){const o=e.indexOf(n);return o===-1?e:n==="-"&&o!==0?e.slice(0,o):e.slice(0,o+1)+e.slice(o).replace(a,"")}function go(e,n=!0,a=!0){n?e=ar(e,".",/\./g):e=e.replace(/\./g,""),a?e=ar(e,"-",/-/g):e=e.replace(/-/,"");const o=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(o,"")}function ti(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(a=>{if(Me(e,a))return!0}):n.indexOf(e)}function ni(e,n){if(typeof e=="object"||Array.isArray(e)){let a=n.reverse().findIndex(o=>{if(Me(e,o))return!0});return a!==-1&&(a=n.length-1-a),a}return n.lastIndexOf(e)}function ke(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function Se(e,...n){const a={};return n.forEach(o=>{for(const l in o)a[l]=e[l]}),a}function ut(e,...n){const a=[];n.forEach(l=>{Reflect.apply([].push,a,Reflect.ownKeys(l))});const o={};for(const l in e)a.includes(l)||(o[l]=e[l]);return o}const rr=(e,n,a)=>{const o=Object.assign({},e),l=Object.assign({},a);return Object.keys(n).length>0?(Object.keys(o).forEach(r=>{l.hasOwnProperty(r)?typeof l[r]=="string"&&(o[r]=n[l[r]]):n[r]&&(o[r]=n[r])}),o):e};function yo(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&e.stopPropagation()}const at=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},He=(e,n,a)=>Math.min(Math.max(e,n),a),Ne=Symbol.for("BroadcastKey");class bo{parent;children=[];callbacks=new Map;proxy=null;name;constructor(n,a,o){this.parent=n,this.proxy=a,this.name=o,n!==null&&n.addChild(this)}addChild(n){this.children.push(n)}removeChild(n){const a=this.children.findIndex(o=>n===o);a!==-1&&this.children.splice(a,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(n,a,...o){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 l=!1;!n.name||n.name==="*"?l=!0:!n.name||n.name==="+"?(l=!1,n.name="*"):tr(n.name)&&this.name&&n.name.test(this.name)?l=!0:typeof n.name=="function"?l=Reflect.apply(n.name,null,[this.name]):n.name===this.name&&(l=!0);const r=[];if(l){const s=this.callbacks.get(a);if(typeof s=="function"){const c=Reflect.apply(s,this.proxy,[...o]);c!=null&&r.push(c)}const i=this.proxy??{};if(typeof i[a]=="function"){const c=Reflect.apply(i[a],i,[...o]);c!=null&&r.push(c)}}return this.children.forEach(s=>{const i=Reflect.apply(s.emit,s,[{...n},a,...o]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,r,[...i])}),r}emitToChildren(n,a,...o){const l=[];return this.children.forEach(r=>{const s=Reflect.apply(r.emit,r,[{...n},a,...o]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,l,[...s])}),l}on(n,a){this.callbacks.set(n,a)}}function sn(e,n,a,o){const l=new bo(n,e,a);if(o&&typeof o=="object")for(const r in o)l.on(r,o[r]);return l}function oi(e,n,a){const o=a;if(o[Ne])return o[Ne];const l=t.inject(Ne,null),r=new bo(l,a,e);if(n&&typeof n=="object")for(const s in n)r.on(s,n[s]);return o[Ne]=r,t.provide(Ne,r),t.onUnmounted(()=>{r.destroy(),o[Ne]=void 0}),r}function It(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ne]??t.inject(Ne,null):t.inject(Ne,null)}const rt=e=>e.default??e;class li{error(n,a){const o=a,l=a||t.hasInjectionContext()?It(a):null;l?l.emit({name:"*",maxLevel:1},"setErrorTip",n):typeof o.setErrorTip=="function"&&o.setErrorTip(n)}reset(n){const a=n,o=n||t.hasInjectionContext()?It(n):null;o?o.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof a.setErrorTip=="function"&&a.setErrorTip("")}success(n){const a=n,o=n||t.hasInjectionContext()?It(n):null;o?o.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof a.setErrorTip=="function"&&a.setErrorTip("")}decorate(n,a,o){Array.isArray(n)||(n=[n]);const l=o,r=o||t.hasInjectionContext()?It(o):null,s=a.find(c=>c.required===!0||c.type==="required"&&c.required!==!1),i=n.find(c=>c.required===!0||c.type==="required"&&c.required!==!1);!s&&i?r?r.emit({name:"*"},"setRequired",!0):typeof l.setRequired=="function"&&l.setRequired(!0):s&&!i&&(r?r.emit({name:"*"},"setRequired",!1):typeof l.setRequired=="function"&&l.setRequired(!1),this.reset(o))}getValue(n){return n.modelValue}}let xt=new li;function ai(e){xt=e}function ri(e){xt?Object.assign(xt,e):xt=e}function si(e,n){rt(tt).setValidator(e,n)}function ii(e){rt(tt).deleteValidator(e)}let sr=["blur","clear"];function ci(e){sr=e}function ir(){return sr}let cr=["focus","change","setValue"];function di(e){cr=e}function dr(){return cr}function ui(e){rt(tt).messages(e)}function qt(...e){const n=[];return e.forEach(a=>{a.forEach(o=>{const l=n.findIndex(r=>r.type===o.type);l!==-1&&n.splice(l,1),n.push(o)})}),n}function cn(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 Pe=Symbol("ValidateSchemaKey");class ur{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(n,a,o){this.parent=n,this.descriptor=a,this.proxy=o,(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(!0),this.scope.run(()=>{t.watchEffect(()=>{const a=cn(qt(this.attrRules,this.rules)),o=[];for(let r in n){let s=n[r];if(this.hasValidator(r,!0)){if(s===!1)continue;let c={type:r};s!==null&&typeof s=="object"&&Object.assign(c,s),o.push(c);continue}let i=this.getValidator(r);if(i!==null){let c={type:r,validator:i};o.push(c)}}this.attrRules=cn(o);const l=qt(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(l,a)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(n,...a){const o=this.descriptor.validateHandler;if(o&&typeof o[n]=="function")return Reflect.apply(o[n],o,[...a]);const l=xt;return l&&typeof l[n]=="function"?Reflect.apply(l[n],l,[...a]):null}decorate(n,a){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",n,a,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,a,o=!1){o?rt(tt).setValidator(n,a):this.validators[n]=a}getValidator(n){let a=this.validators[n]??null;return a||(a=this.parent?.getValidator(n)??null),a}deleteValidator(n,a=!1){a?rt(tt).deleteValidator(n):Reflect.deleteProperty(this.validators,n)}hasValidator(n,a=!1){if(a)return rt(tt).hasValidator(n);{let o=Reflect.has(this.validators,n);return!o&&this.parent!==null&&(o=this.parent.hasValidator(n,!1)),o}}setRule(n){const a=qt(this.attrRules,this.rules);n===null?this.rules=[]:Array.isArray(n)?this.rules=cn(n):this.rules=cn([n]);const o=qt(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(o,a)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let a=qt(this.attrRules,this.rules);const o=this.descriptor.fieldName??"value";if(a.length>0){const l={[`${o}`]:a},r=this.getValue(),s={[`${o}`]:r},i=rt(tt),c=new i(l),f=this.proxy??s;return c.validate(s,{context:f}).then(d=>{if(d.pass)this.success();else{let h="error";Array.isArray(d.errors)&&d.errors.length>0&&(h=d.errors[0].message??h,d.errors=[d.errors[0]],d.errors[0].ref=f),this.error(h)}return d}).catch(d=>{const h=d.message??`${d}`;return this.error(h),d})}}return Promise.resolve({pass:!0})}}function dn(e,n,a){if(a.valueName=a.valueName??"modelValue",a.valueType=a.valueType??"string",!a.validateHandler&&a.valueName!=="modelValue"){const l=a.valueName;a.validateHandler={getValue(r){return r[l]}}}return new ur(n,a,e)}const un=Symbol.for("EventEmitterKey");class fr{register=new Map;proxy;constructor(n){this.proxy=n}destroy(){this.proxy=null,this.register.clear()}off(n,a){let o=this.register.get(n);if(o&&Array.isArray(o)){let l=o.findIndex(r=>r===a);l!==-1&&o.splice(l,1)}}on(n,a){let o=this.register.get(n);o||(o=new Array,this.register.set(n,o)),o.push(a)}emit(n,...a){const o=this.register.get(n);o&&o.forEach(l=>{try{Reflect.apply(l,null,[n,...a])}catch(r){console.error(r.message,r)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[n,...a])}}function ft(e,n){let a=null;return function(...o){a&&clearTimeout(a),a=setTimeout(()=>{a=null,Reflect.apply(e,null,[...o])},n)}}function fn(e,n){let a=0;return function(...o){const l=new Date().getTime();l-a<n||(a=l,Reflect.apply(e,null,[...o]))}}function fi(e,n){const a=ft((o,l)=>{e=o,l()},n);return t.customRef((o,l)=>({get(){return o(),e},set(r){a(r,l)}}))}function mi(e){let n=!1;return function(...a){n||(n=!0,Reflect.apply(e,null,[...a]))}}function ko(e,n,a,o=0,l=!0){let r=n,s=0;if(l){const c=e();if(s++,c||s>a)return}const i=()=>{const c=e();s++,!(c||s>a)&&(r+=o,setTimeout(i,r))};setTimeout(i,r)}const Ie=Symbol("DomainKey"),mt=Symbol("DataItemsKey");class mn{_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,a=[]){for(const o in n){const l=n[o];a.length>0&&a.indexOf(l)!==-1||(this._props[o]=l)}}has(n){if(Reflect.has(this._props,n)){const a=this._props[n];if(a!=null)return!0}return this.parent==null?!1:this.parent.has(n)}delete(n){Reflect.deleteProperty(this._props,n)}set(n,a){this._props[n]=a}get(n,a){if(Reflect.has(this._props,n)){const o=this._props[n];if(o!=null)return o}return this.parent==null?a:this.parent.get(n,a)}getForParent(n,a){return this.parent==null?a:this.parent.get(n,a)}getForSelf(n){return this._props[n]}getAll(n){const a=[];let o=this;for(;o!=null;){if(Reflect.has(o._props,n)){const l=o._props[n];a.push(l)}o=o._parent}return a}}const pi=new mn;function pt(){return pi}function je(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ie]??t.inject(Ie,null):t.inject(Ie,null)}const So=Symbol("OriginalDateKey");function Co(e,n,a=[],o){const l=t.getCurrentInstance();let r=l?.proxy,s=t.inject(Ie,null);s===null&&(s=pt());const i=e||n.prop||n.name;let c=new mn(i);c.parent=s;const f=S=>{r[So]||h(S),c?.set("modelValue",S)},p=()=>c?.getForSelf("modelValue")??null,d=()=>r[So]??null,h=S=>{const y={};ot(!0,y,t.toRaw(S)),r[So]=y};if(t.isReactive(n)||typeof n=="function"?t.watch(n,S=>{c?.merge(S,a)},{immediate:!0}):c.merge(n,a),n.modelValue&&h(n.modelValue),r[Ie]=c,t.provide(Ie,c),l!==null){const S=t.inject(Ne,null),y=sn(r,S,i,o);c.broadcast=y,r[Ne]=y,t.provide(Ne,y),r.broadcast=(u,m,...g)=>Reflect.apply(y.emit,y,[u,m,...g]);const b=t.inject(Pe,null),k=dn(r,b,{componentName:""});c.validateSchema=k,r[Pe]=k,t.provide(Pe,k),r[mt]=new Map,r.validate=(u=!0)=>{const m=[];let g=null;const C={deep:!1};if(u===!0)g={name:"*"};else if(Array.isArray(u)&&u.length>0){const A=u;g={name:w=>w?A.indexOf(w)!==-1:!1}}else if(u!=null&&typeof u=="object"){const A=u;if(Object.assign(C,A),Array.isArray(A.include)&&A.include.length>0){const w=A.include;g={name:B=>B?w.indexOf(B)!==-1:!1}}else if(Array.isArray(A.exclude)&&A.exclude.length>0){const w=A.exclude;g={name:B=>B?w.indexOf(B)===-1:!1}}else g={name:"*"}}if(g){const A=y?.emitToChildren(g,"validate",C);A&&Reflect.apply([].push,m,A)}return m.length==1?m[0]:m.length>1?Promise.all(m).then(A=>{let w=[];return A.forEach(B=>{B.pass===!1&&Array.isArray(B.errors)&&(w=[...w,...B.errors])}),w.length>0?{pass:!1,errors:w}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(u,m=!0,g=!1)=>{if(g===!0){Reflect.ownKeys(u).forEach(A=>{let w=String(A);const B={componentName:"",fieldName:w,pureDataValidate:!0};if(c){const T=hr(c,w,B,y,k);r[mt].set(w,T);const V=u[w];V&&T.validateSchema.setRule(V)}});return}if(m){const C=Reflect.ownKeys(u),A={name:w=>C.includes(w)};y?.emitToChildren(A,"setNameValidateRules",u,!1)}},r.clearValidate=(u=!0)=>{let m=null;if(u===!0)m={name:"*"};else if(Array.isArray(u)&&u.length>0){const g=u;m={name:C=>C?g.indexOf(C)!==-1:!1}}else if(u!=null&&typeof u=="object"){const g=u;if(Array.isArray(g.include)&&g.include.length>0){const C=g.include;m={name:A=>A?C.indexOf(A)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const C=g.exclude;m={name:A=>A?C.indexOf(A)===-1:!1}}else m={name:"*"}}m&&y?.emitToChildren(m,"clearValidate",!1)},r.resetFields=u=>{const m=p();if(!m)return;const g={};if(ot(!0,g,d()??{}),Array.isArray(u))u.forEach(C=>{m[C]=g[C]});else if(u&&Array.isArray(u.include))(u.include??[]).forEach(A=>{m[A]=g[A]});else if(u&&Array.isArray(u.exclude)){let C=u.exclude??[];Reflect.ownKeys(g).forEach(A=>{C.includes(A)||(m[A]=g[A])})}else Object.assign(m,g);r.clearValidate(u)},r.setModelValue=(u,m)=>{!m||m===i?f(u):y?.emitToChildren({name:m},"setModelValue",u)},r.getModelValue=()=>p()}return t.onUnmounted(function(){c?.validateSchema&&(c.validateSchema.destroy(),r[Pe]=void 0,t.provide(Pe,null)),c?.broadcast&&(c?.broadcast?.destroy(),r[Ne]=void 0,t.provide(Ne,null)),c?.destroy(),r[Ie]=void 0,t.provide(Ie,null),r[mt]&&(r[mt].clear(),r[mt]=void 0),r.broadcast=null,r.validate=null,r.setNameValidateRules=null,r.clearValidate=null,r.resetFields=null,r.setModelValue=null,r.getModelValue=null,c=null,r=null}),c}function mr(e,n,a=[]){let l=t.getCurrentInstance()?.proxy,r=t.inject(Ie,null);r===null&&(r=pt());const s=e||n.prop||n.name;let i=new mn(s);return i.parent=r,t.isReactive(n)||typeof n=="function"?t.watch(n,c=>{i?.merge(c,a)},{immediate:!0}):i.merge(n,a),l[Ie]=i,t.provide(Ie,i),t.onUnmounted(()=>{i?.destroy(),l[Ie]=void 0,t.provide(Ie,null),i=null,l=null}),i}function pr(e,n,a){const l=je(e)?.get("rules");if(!l)return;let r=l[a];r&&(Array.isArray(r)||(r=[r]),n.setRule(r))}function Te(e,n,a){const l=t.getCurrentInstance()?.proxy,r=n??"",s=t.inject(Ne,null);let i=sn(l,s,r,a);l[Ne]=i,t.provide(Ne,i),l.broadcast=(y,b,...k)=>i?Reflect.apply(i.emit,i,[y,b,...k]):null;const c=t.inject(Pe,null);e.fieldName=e.fieldName??r;let f=dn(l,c,e);l[Pe]=f,t.provide(Pe,f),pr(l,f,r),l.validate=(y=null)=>{if(!f)return Promise.resolve({pass:!0});const b=[];let k=!1,u=!1;if(Array.isArray(y)&&y.indexOf(r)!==-1)u=!0,k=!0;else if(y&&typeof y=="object"){const m=y,g=m.ignoreDisabled??!0,C=m.ignoreReadonly??!0,A=m.ignoreHidden??!0;g===!0&&e.disabled===!0||C===!0&&e.readonly===!0||A===!0&&rn(l.$el)?u=!1:(Array.isArray(m.include)&&m.include.indexOf(r)!==-1||Array.isArray(m.exclude)&&m.exclude.indexOf(r),u=!0),k=m.deep??!1}else typeof y=="boolean"&&(k=y),u=!0;if(u){const m=f?.validate();b.push(m)}if(k){let m=null;const g={deep:!1};if(y===!0)m={name:"*"};else if(Array.isArray(y)&&y.length>0){const C=y;m={name:A=>A?C.indexOf(A)!==-1:!1}}else if(y!=null&&typeof y=="object"){const C=y;if(Object.assign(g,C),Array.isArray(C.include)&&C.include.length>0){const A=C.include;m={name:w=>w?A.indexOf(w)!==-1:!1}}else if(Array.isArray(C.exclude)&&C.exclude.length>0){const A=C.exclude;m={name:w=>w?A.indexOf(w)===-1:!1}}else m={name:"*"}}if(m&&i){const C=i.emitToChildren(m,"validate",g);Reflect.apply([].push,b,C)}}return b.length==1?b[0]:b.length>1?Promise.all(b).then(m=>{let g=[];return m.forEach(C=>{C.pass===!1&&Array.isArray(C.errors)&&(g=[...g,...C.errors])}),g.length>0?{pass:!1,errors:g}:{pass:!0}}):Promise.resolve({pass:!0})},l.setValidateRule=y=>f?.setRule(y),l.setNameValidateRules=(y,b=!1)=>{const k=y[r];if(k&&f?.setRule(k),b&&i){const u={name:m=>Reflect.ownKeys(y).includes(m)};i.emitToChildren(u,"setNameValidateRules",y,!1)}},l.clearValidate=(y=null)=>{(!Array.isArray(y)||y.indexOf(n??"")!==-1)&&f?.clear();let b=null;if(y===!0)b={name:"*"};else if(Array.isArray(y)&&y.length>0){const k=y;b={name:u=>u?k.indexOf(u)!==-1:!1}}else if(y!=null&&typeof y=="object"){const k=y;if(Array.isArray(k.include)&&k.include.length>0){const u=k.include;b={name:m=>m?u.indexOf(m)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const u=k.exclude;b={name:m=>m?u.indexOf(m)===-1:!1}}else b={name:"*"}}b&&i&&i.emitToChildren(b,"clearValidate",!1)};let p=new fr(l);l[un]=p;const d=ft((y="validate")=>{f&&(y==="reset"?f.clear():f.validate())},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:ir()).forEach(y=>{p&&p.on(y,b=>{d("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:dr()).forEach(y=>{p&&p.on(y,b=>{d("reset")})}),t.onUnmounted(()=>{i?.destroy(),l[Ne]=void 0,t.provide(Ne,null),i=null,f?.destroy(),l[Pe]=void 0,t.provide(Pe,null),f=null,p?.destroy(),l[un]=void 0,p=null,l.broadcast=null,l.validate=null,l.setValidateRule=null,l.setNameValidateRules=null,l.clearValidate=null}),{broadcast:i,validateSchema:f,emitEvent:(y,...b)=>{p&&Reflect.apply(p.emit,p,[y,...b])},onEvent:(y,b)=>{p&&Reflect.apply(p.on,p,[b])},offEvent:(y,b)=>{p&&Reflect.apply(p.off,p,[b])}}}function hr(e,n,a,o,l){const r={},s=n??"",i={getValue(){const p=e.getForSelf("modelValue");return p?p[s]:null},isExist(){const p=e.getForSelf("modelValue");return p?Reflect.has(p,s):!1}};a.fieldName=s,a.validateHandler={getValue(p){return i.getValue()}};let c=dn({},l,a);r.validate=(p=null)=>{if(!i.isExist())return console.warn(`validate error: field [${s}] not exist`),Promise.resolve({pass:!0});const d=[];let h=!1,S=!1;if(Array.isArray(p)&&p.indexOf(s)!==-1)S=!0,h=!0;else if(p&&typeof p=="object"){const y=p;Array.isArray(y.include)&&y.include.indexOf(s)!==-1||Array.isArray(y.exclude)&&y.exclude.indexOf(s),S=!0,h=y.deep??!1}else typeof p=="boolean"&&(h=p),S=!0;if(S&&c){const y=c.validate();d.push(y)}if(h){let y=null;const b={deep:!1};if(p===!0)y={name:"*"};else if(Array.isArray(p)&&p.length>0){const k=p;y={name:u=>u?k.indexOf(u)!==-1:!1}}else if(p!=null&&typeof p=="object"){const k=p;if(Object.assign(b,k),Array.isArray(k.include)&&k.include.length>0){const u=k.include;y={name:m=>m?u.indexOf(m)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const u=k.exclude;y={name:m=>m?u.indexOf(m)===-1:!1}}else y={name:"*"}}if(y&&f){const k=f.emitToChildren(y,"validate",b);Reflect.apply([].push,d,k)}}return d.length==1?d[0]:d.length>1?Promise.all(d).then(y=>{let b=[];return y.forEach(k=>{k.pass===!1&&Array.isArray(k.errors)&&(b=[...b,...k.errors])}),b.length>0?{pass:!1,errors:b}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=p=>c?.setRule(p),r.setNameValidateRules=p=>{const d=p[s];d&&c?.setRule(d)};let f=sn(null,o,s,r);return t.onUnmounted(()=>{c=null,f=null}),{broadcast:f,validateSchema:c}}function ht(){let n=t.getCurrentInstance()?.proxy,a=new fr(n);return n[un]=a,t.onUnmounted(()=>{a?.destroy(),n[un]=void 0,a=null,n=null}),{emitEvent:(o,...l)=>{a&&Reflect.apply(a.emit,a,[o,...l])},onEvent:(o,l)=>{a&&Reflect.apply(a.on,a,[l])},offEvent:(o,l)=>{a&&Reflect.apply(a.off,a,[l])}}}const ge=e=>e?`${de(e)}px`:"";function de(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 a=e.indexOf("px");if(a!==-1)return Number(e.substring(0,a));if(a=e.indexOf("rem"),a!==-1){let l=Number(e.substring(0,a)),r=1;if(nt){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),i=s.indexOf("px");i>0&&(r=Number(s.substring(0,i)))}return l*=r,l}if(a=e.indexOf("%"),a!==-1)return Number(e.substring(0,a))*n;const o=Number(e);return isNaN(o)?0:o}const Ge="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=de(e.top)),e.left!==null&&e.left!==void 0&&(n.left=de(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=de(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=de(e.right))),n}function wo(e,n,a={},o=!0,l=-1,r=-1,s=0,i=0){if(e.headerHeight=de(a.headerHeight??n.headerHeight??-1),e.headerPadding=ze(a.headerPadding??n.headerPadding),e.footerHeight=de(a.footerHeight??n.footerHeight??-1),e.footerPadding=ze(a.footerPadding??n.footerPadding),e.contentPadding=ze(a.contentPadding??n.contentPadding),o){const c=a.height??n.height;c?e.height=de(c,r):e.height=de(r)-de(s,r)-de(i,r),e.width=de(a.width??n.width??0,l)}}function gr(e,n={}){const a={top:null,left:null,bottom:null,right:null},o={width:0,height:0,headerHeight:0,headerPadding:{...a},footerHeight:0,footerPadding:{...a},contentPadding:{...a},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},l=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});l&&(o.safeAreaTop=de(l.top),o.safeAreaBottom=de(l.bottom),o.safeAreaLeft=de(l.left),o.safeAreaRight=de(l.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,f=e.get("footerBarHeight")??0;wo(o,r,n,!0,s,i,c,f);const p=t.reactive(o),d=e.getForParent(Ge);d&&(o.height=yn(e,d),o.width=bn(e,d),t.watch([()=>yn(e,d),()=>bn(e,d)],([S,y])=>{p.height=S,p.width=y}));const h=!d;return t.watch([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([S,y,b=-1,k=-1,u=0,m=0])=>{wo(p,y,n,h,b,k,u,m)}),e.set(Ge,p),p}function pn(e){return e.get(Ge)}function hn(e,n){if(n=n??e.get(Ge),n&&n.headerMounted){const a=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+a}return 0}function gn(e,n){if(n=n??e.get(Ge),n&&n.footerMounted){const a=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+a}return 0}function yn(e,n){if(n=n??e.get(Ge),n){if(n.contentInnerHeight)return n.contentInnerHeight;const a=hn(e,n),o=gn(e,n);return n.height-a-o-(n.contentPadding.top??0)-(n.contentPadding.bottom??0)}return 0}function bn(e,n){return n=n??e.get(Ge),n?n.contentInnerWidth??n.width-(n.contentPadding.left??0)-(n.contentPadding.right??0):0}function hi(e,n){const a=e.get("isInnerPage");return typeof a=="function"?Reflect.apply(a,{},[n,e]):!1}function gi(e){return!!e.getForParent(Ge)}var kn=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(kn||{});function No(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Ve(e,n,a=1,o){const l=je();return l==null?e:a===0?t.computed(()=>{const r=l.getAll(n);for(let i=r.length-1;i>=0;i--){const c=r[i];if(No(c,o))return c}const s=e.value;return No(s,o)?s:null}):t.computed(()=>{const r=e.value;return No(r,o)?r:l?.get(n)})}function $e(e){return Ve(e,"readonly",0,function(a){return he(a)})}function Ee(e){return Ve(e,"disabled",0,function(a){return he(a)})}function ve(e,n="modelValue",a=null,o){const l=t.toRef(e,n);let r=l.value;typeof a=="function"&&(r=a(l.value));const s=t.ref(r);return t.watch(l,i=>{if(typeof a=="function"){const c=a(i);c!==s.value&&(s.value=c,o&&o("setValue",c))}else i!==s.value&&(s.value=i,o&&o("setValue",i))}),s}const yr=new Map,Sn=new Map;let Bo=null;function yi(e){Bo=e}function br(e,n,a){if(a){let o=Sn.get(a);o||(o=new Map,Sn.set(a,o)),o.set(e,n)}else yr.set(e,n)}function Ze(e,n,a){!a&&Bo&&(a=Bo(e)??void 0);let o=null;if(a){let l=Sn.get(a);l&&(o=l.get(n))}return o||(o=yr.get(n)),o}function bi(e,n){for(let a in e){const o=e[a];br(a,o,n)}}function ki(e){Sn.delete(e)}function Si(){return{top:0,left:0,bottom:0,right:0}}function Ci(e=0,n=0){if(nt){const a=document.documentElement.clientWidth||document.body.clientWidth,o=document.documentElement.clientHeight||document.body.clientHeight,l={width:a,height:o-de(e,o)-de(n,o)};return{rootWidth:a,rootHeight:o,pageLayout:l}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{width:"100%",height:"100%",headerHeight:-1,footerHeight:-1}}}function wi(e,n){if(n.componentPrefix){const a=e.indexOf("-");return`${n.componentPrefix}${e.slice(a)}`}return e}class Ni{packages;_version;get version(){return this._version}constructor(n,a){this.packages=n,this._version=a}install(n,a){a?.install!==!1&&this.packages.forEach(r=>{if(r.install)n.use(r);else if(r.name){const s=wi(r.name,a);n.component(s,r)}});const o=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],l=pt();if(this.initPageLayout(a,l),a.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=fn(()=>{const i={...a},c=document.documentElement.clientWidth||document.body.clientWidth,f=document.documentElement.clientHeight||document.body.clientHeight;i.width=c,i.height=f,this.initPageLayout(i,l)},150);new window.ResizeObserver(r).observe(window.document.body)}for(const r in a)o.indexOf(r)===-1&&l.set(r,a[r])}initPageLayout(n,a){const o=n.headerBarHeight??0,l=n.footerBarHeight??0,r=ot({},Si(),n.safeAreaInset),s=Ci(o,l),i=ot({},s.pageLayout,n.pageLayout);a=a??pt(),a.set("safeAreaInset",r),a.set("headerBarHeight",o),a.set("footerBarHeight",l),a.set("pageLayout",i),a.set("rootWidth",s.rootWidth),a.set("rootHeight",s.rootHeight)}setScopeGetter(n){yi(n)}setAPI(n,a,o){br(n,a,o)}getAPI(n,a,o){return Ze(n,a,o)}batchSetAPI(n,a){bi(n,a)}clearScopeAPI(n){ki(n)}getRootDomain(){return pt()}}function G(e){const n="fox-"+e;return{componentName:n,scope:e.replace("-",""),create(a){return a.baseName=e,a.name=n,a.install=o=>{o.component(a.name,a)},t.defineComponent(a)},createDemo(a){return a.baseName=e,a.name="demo-"+e,t.defineComponent(a)}}}const Bi=(e,n)=>{let a=document.body;const o=e.teleport||"body";o!="body"&&(Qa(o)?a=document.querySelector(o):a=e.teleport);const l=document.createElement("view"),r=n.name?n.name+"-":"",s=e.id||new Date().getTime();l.id=r+s;let i={};ln(n.wrapper)?i=n.wrapper(a,l):i=n.wrapper;const c=t.createApp(i,e),f=n.components;return f&&f.forEach(p=>{c.use(p)}),a.appendChild(l),{instance:c.mount(l),unmount:()=>{c.unmount(),a.removeChild(l)}}},kr=(e,n)=>e?t.h(e,n):"";function xe(e,n=null){if(n||(n=t.getCurrentInstance()),n&&n.proxy){let a=n.proxy;Object.assign(a,e)}}const pe={disabled:{type:[Boolean,String],required:!1},readonly:{type:[Boolean,String],required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},textAlign:{type:[String],required:!1},hasBorder:{type:Boolean,required:!1,default:!0}},be={prop:{type:String,required:!1},label:{type:String,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}},Sr={column:{type:[String,Number],required:!1},columnWidth:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},minItemWidth:{type:[String,Number],required:!1},maxItemWidth:{type:[String,Number],required:!1}},Cr={name:{type:String,required:!1},tag:{type:String,required:!1,default:"div"},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},pureDataRules:{type:[Object],required:!1},type:{type:[String],required:!1},justify:{type:[String],required:!1,default:"stretch"},align:{type:[String],required:!1,default:"start"},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},collapsePosition:{type:[String],requried:!1,default:"right"},collapseText:{type:[String],requried:!1},expandText:{type:[String],requried:!1},collapseIcon:{type:[Object],requried:!1},collapseHeight:{type:[String,Number],requried:!1},rollingDisplay:{type:[Boolean],requried:!1,default:!0}},wr=[];for(const e in Cr)wr.push(e);const Ai=Symbol.for("InnerPageScopeKey"),Ti={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},pureDataRules:{type:[Object],required:!1}},Vi=(e,n)=>({inheritAttrs:!0,props:{...pe,...Sr,...Ti},setup(a,{slots:o}){const l=Co(a.name,a),r=t.inject(Ai,!1);if(l){const p=gr(l,a);xe({getPageContentHeight:()=>yn(l,p),getPageContentWidth:()=>bn(l,p),getPageHeaderHeight:()=>hn(l,p),getPageFooterHeight:()=>gn(l,p)}),p&&r&&(p.contentHeight="100%")}const s=t.computed(()=>({[e]:!0})),i=t.computed(()=>({})),c=t.getCurrentInstance(),f=(p,d=!1)=>{const h=c?.proxy;h&&typeof h.setNameValidateRules=="function"&&h.setNameValidateRules(p,!0,d)};return t.watch([()=>a.rules,()=>a.pureDataRules],([p,d],[h,S])=>{if(p&&h){const y=t.toRaw(h),b=t.toRaw(p),k=b?Reflect.ownKeys(b):[];(y?Reflect.ownKeys(y):[]).forEach(m=>{k.includes(m)||(b[m]=[])}),f(b)}if(d&&S){const y=t.toRaw(S),b=t.toRaw(d),k=b?Reflect.ownKeys(b):[];(y?Reflect.ownKeys(y):[]).forEach(m=>{k.includes(m)||(b[m]=[])}),f(b,!0)}},{deep:!0}),t.onMounted(()=>{if(a.rules){const p=t.toRaw(a.rules);f(p)}if(a.pureDataRules){const p=t.toRaw(a.pureDataRules);f(p,!0)}}),()=>{const p={class:s.value,style:i.value};return t.h("div",p,[o?.default?.()])}}}),{componentName:$i,create:Ei,scope:cA}=G("page"),Ao=Ei(Vi($i));function To(e){const n=t.unref(e);return{width:n.offsetWidth,height:n.offsetHeight}}function Cn(e){const n=t.unref(e),a=window.getComputedStyle(n,null),o=parseFloat(a.getPropertyValue("padding-left")),l=parseFloat(a.getPropertyValue("padding-right")),r=parseFloat(a.getPropertyValue("padding-top")),s=parseFloat(a.getPropertyValue("padding-bottom"));return{width:n.clientWidth-o-l,height:n.clientHeight-r-s}}const Di=Symbol.for("InnerPageScopeKey"),Nr={headerbar:{},radio:{},checkbox:{}};function Ii(e){Object.assign(Nr,e)}function wn(){return Nr}const xi=(e,n,a,o=!1)=>({props:{fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetTop:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},align:{type:[String],default:"center"},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[Object],required:!1},leftText:{type:String,required:!1},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(l,r){const s=je(),i=s?pn(s):null,c=t.inject(Di,!1),f=wn(),p=e,d=t.computed(()=>{const x={[p]:!0,[`${p}--border`]:l.border,[`${p}--fixed`]:l.fixed};return c||(x[`${p}--safe-area-inset-top`]=l.safeAreaInsetTop),x}),h=t.computed(()=>({[`${p}__inner`]:!0,[`${p}__inner--${l.align}`]:!0})),S=l.height!==null&&l.height!==void 0?de(l.height):null,y=t.computed(()=>{const x={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(s&&i){const P=ze(l.padding??i.headerPadding);return Object.assign(x,P),S&&(i.headerHeight=S),i.headerHeight>0&&(x.height=i.headerHeight),x.safeAreaTop=i.safeAreaTop===-1?0:i.safeAreaTop,x.safeAreaTop>0&&(x.top=x.safeAreaTop+(P.top??0),x.height&&x.height>0&&(x.height=x.height+x.safeAreaTop)),x}if(S&&(x.height=S),l.padding){const P=ze(l.padding);Object.assign(x,P)}return x}),b=t.ref(null),k=()=>{if(i&&b.value&&!rn(b.value)){if(!o){const x=To(b.value);i.headerAllHeight=x.height}return i.headerMounted=!0,!0}return!1};let u=null;t.onMounted(()=>{i&&(ko(k,50,5,50,!0),window.ResizeObserver&&b.value&&(u=new window.ResizeObserver(()=>{k()}),u.observe(b.value)))}),t.onUnmounted(()=>{i&&(i.headerMounted=!1,u&&(u.disconnect(),u=null))});const m=t.computed(()=>{const x={};return y.value.height!==null&&y.value.height!==void 0&&(x.height=`${y.value.height}px`),y.value.top!==null&&y.value.top!==void 0&&(x.paddingTop=`${y.value.top}px`),y.value.left!==null&&y.value.left!==void 0&&(x.paddingLeft=`${y.value.left}px`),y.value.right!==null&&y.value.right!==void 0&&(x.paddingRight=`${y.value.right}px`),y.value.bottom!==null&&y.value.bottom!==void 0&&(x.paddingBottom=`${y.value.bottom}px`),x}),g=t.computed(()=>!(y.value.height!==null&&y.value.height!==void 0&&y.value.height<=0));function C(){r.emit("back")}function A(){r.emit("click-title")}function w(){r.emit("click-right")}function B(){r.emit("click-right-text")}const T=()=>{if(!l.leftShow)return null;const x=[];if(r.slots.left)x.push(r.slots.left());else{if(r.slots.leftIcon){const P=t.h("view",{class:"left-icon",onClick:C},[r.slots.leftIcon()]);x.push(P)}else{const P=l.leftIcon??f.headerbar.Left??a,D=t.h("view",{class:"left-icon",onClick:C},[t.h(P)]);x.push(D)}if(l.leftText){const P=t.h("view",{class:"left-text",onClick:C},[l.leftText]);x.push(P)}}return x.length===0?null:t.h("view",{class:"fox-header-bar__left"},x)},V=()=>{if(!l.rightShow)return null;const x=[];if(r.slots.right)x.push(r.slots.right());else{if(l.rightText){const P=t.h("view",{class:"right-text",onClick:B},[l.rightText]);x.push(P)}if(r.slots.rightIcon){const P=t.h("view",{class:"right-icon",onClick:w},[r.slots.rightIcon()]);x.push(P)}else if(l.rightIcon){const P=t.h("view",{class:"right-icon",onClick:w},[t.h(l.rightIcon)]);x.push(P)}}return x.length===0?null:t.h("view",{class:"fox-header-bar__right"},x)},E=()=>{if(!l.titleShow)return null;const x=[],P=r.slots.default?r.slots.default():null;if(P)x.push(P);else{if(l.title){const D=t.h("view",{class:"title-text"},[l.title]);x.push(D)}if(r.slots.titleIcon){const D=t.h("view",{class:"title-icon",onClick:A},[r.slots.titleIcon()]);x.push(D)}else if(l.titleIcon){const D=t.h("view",{class:"title-icon",onClick:A},[t.h(l.titleIcon)]);x.push(D)}}return x.length===0?null:t.h("view",{class:"fox-header-bar__title"},x)},$=()=>{const x=[],P=r.slots.bottom?r.slots.bottom():null;return P&&x.push(P),x.length===0?null:t.h("view",{class:"fox-header-bar__bottom"},x)};return()=>{if(!g.value)return null;const x=[];if(r.slots.all)x.push(r.slots.all());else{const D=[],I=T();I&&D.push(I);const R=E();R&&D.push(R);const v=V();if(v&&D.push(v),D.length>0){const H=t.h("view",{class:h.value},D);x.push(H)}const W=$();W&&x.push(W)}if(x.length===0)return null;const P={class:d.value,style:m.value,ref:b};return t.h("view",P,x)}}}),{componentName:qi,create:vi,scope:Mi}=G("header-bar"),Vo=vi(xi(qi,Mi,oe.Left,!1)),Pi=Symbol.for("InnerPageScopeKey");function Li(e,n,a=!1){return{props:{fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetBottom:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(o,l){const r=je(),s=r?pn(r):null,i=t.inject(Pi,!1),c=e,f=t.computed(()=>{const k={[c]:!0,[`${c}--${o.align}`]:!0,[`${c}--border`]:o.border,[`${c}--fixed`]:o.fixed};return i||(k[`${c}--safe-area-inset-bottom`]=o.safeAreaInsetBottom),k}),p=o.height!==null&&o.height!==void 0?de(o.height):null,d=t.computed(()=>{const k={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&s){const u=ze(o.padding??s.footerPadding);return Object.assign(k,u),p&&(s.footerHeight=p),s.footerHeight>0&&(k.height=s.footerHeight),k.safeAreaBottom=s.safeAreaBottom===-1?0:s.safeAreaBottom,k.safeAreaBottom>0&&(k.bottom=k.safeAreaBottom+(u.bottom??0),k.height&&k.height>0&&(k.height=k.height+k.safeAreaBottom)),k}if(p&&(k.height=p),o.padding){const u=ze(o.padding);Object.assign(k,u)}return k}),h=t.ref(null),S=()=>{if(s&&h.value&&!rn(h.value)){if(!a){const k=To(h.value);s.footerAllHeight=k.height}return s.footerMounted=!0,!0}return!1};let y=null;t.onMounted(()=>{s&&(ko(S,50,5,50,!0),window.ResizeObserver&&(y=new window.ResizeObserver(()=>{S()}),y.observe(h.value)))}),t.onUnmounted(()=>{s&&(s.footerMounted=!1,y&&(y.disconnect(),y=null))});const b=t.computed(()=>{const k={};return d.value.height!==null&&d.value.height!==void 0&&(k.height=ge(d.value.height)),d.value.top!==null&&d.value.top!==void 0&&(k.paddingTop=ge(d.value.top)),d.value.left!==null&&d.value.left!==void 0&&(k.paddingLeft=ge(d.value.left)),d.value.right!==null&&d.value.right!==void 0&&(k.paddingRight=ge(d.value.right)),d.value.bottom!==null&&d.value.bottom!==void 0&&(k.paddingBottom=ge(d.value.bottom)),k});return()=>{const k=l.slots.default?l.slots.default():[],u={ref:h,class:f.value,style:b.value};return t.h("view",u,k)}}}}const{componentName:zi,create:Fi,scope:Ri}=G("footer-bar"),$o=Fi(Li(zi,Ri,!1));function Oi(e,n){return{props:{padding:{type:[Object],required:!1}},setup(a){const o=je(),l=t.computed(()=>({[e]:!0})),r=o?pn(o):null,s=t.computed(()=>{const f={};if(o&&r){if(a.padding){const u=ze(a.padding);Object.assign(r.contentPadding,u)}const p=hn(o,r),d=gn(o,r);let h="";r.contentHeight?h=`${r.contentHeight}`:h=`${r.height}px`,console.debug("[content]page height:",h),console.debug("[content]header height:",p),console.debug("[content]footer height:",d),console.debug("[content]padding:",r.contentPadding),f.height=h;let S=(r&&r.contentPadding&&r.contentPadding.top)??-1;(S>=0||p>0)&&(S=S<0?0:S,f.paddingTop=`${p+S}px`);let y=(r&&r.contentPadding&&r.contentPadding.bottom)??-1;(y>=0||d>0)&&(y=y<0?0:y,f.paddingBottom=`${d+y}px`);const b=(r&&r.contentPadding&&r.contentPadding.left)??-1;b>=0&&(f.paddingLeft=`${b}px`);const k=(r&&r.contentPadding&&r.contentPadding.right)??-1;return k>=0&&(f.paddingRight=`${k}px`),f}if(a.padding){const p=ze(a.padding);p.left&&(f.paddingLeft=`${p.left}px`),p.top&&(f.paddingTop=`${p.top}px`),p.right&&(f.paddingRight=`${p.right}px`),p.bottom&&(f.paddingBottom=`${p.bottom}px`)}return f}),i=t.ref(null),c=ft(()=>{if(r&&i.value){const f=Cn(i.value);r.contentInnerHeight=f.height,r.contentInnerWidth=f.width}},0);return t.onMounted(()=>{c()}),o&&r&&t.watch([()=>s.value,()=>l.value],([])=>{c()}),{contentRef:i,classes:l,styles:s}}}}const{componentName:Ki,create:Ui,scope:dA}=G("content"),Hi=Ui(Oi(Ki));function ji(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{ref:"contentRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const te=(e,n)=>{const a=e.__vccOpts||e;for(const[o,l]of n)a[o]=l;return a},Eo=te(Hi,[["render",ji]]),gt="GroupStateKey",Br=Symbol.for("GroupScopeKey");function Nn(){return t.inject(Br,!1)}function Bn(e=!0){t.provide(Br,e)}function Wi(e,n={}){Reflect.ownKeys(n).forEach(o=>{if(typeof o!="string")return;const l=n[o];Xa(l)||(e[o]=l)})}function Yi(e,n={}){const o={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};Wi(o,n);const l=t.shallowRef(o),r=t.markRaw({layout:l,passport:0,order:{index:0}});return e.set(gt,r),r}function Do(e,n,a=-1,o=-1,l=!1,r,s,i){const c=e.get(gt);if(!c)return;const f=e.get("groupLayout")??{};a===-1&&(a=f.column??1),o===-1&&(o=f.gutter??0),r||(r=f.minItemWidth??-1),s||(s=f.maxItemWidth??-1);const p=de(r),d=de(s);i||(i=f.type??"grid");const h=()=>{const S=n===""||n===-1,y=de(n);let b=me(a);const k=de(o);if(!S){let g=(y-(b-1)*k)/b;for(;d!==-1&&g>d;)b++,g=(y-(b-1)*k)/b;for(;p!==-1&&b>1&&g<p;)b--,g=(y-(b-1)*k)/b}let u=!1;const m=c.layout;m.value.width=n,m.value.column!==b&&(m.value.column=b,u=!0),m.value.gutter!==k&&(m.value.gutter=k,u=!0),m.value.type!==i&&(m.value.type=i,u=!0),u&&t.triggerRef(m)};if(l)h();else{const S=++c.passport;setTimeout(()=>{S===c.passport&&h()},50)}}function An(e,n=!1){let a;return n?a=e.getForParent(gt):a=e.get(gt),a.layout}function Tn(e,n=!1){let a;return n?a=e.getForParent(gt):a=e.get(gt),a.order}function Ar(e,n=1){if(n==="stretch")return-1;const a=me(n);return a===-1?100:100*a/e}function Vn(e,n,a=1,o=0,l){const r={};let s=0;l?s=de(l):s=Ar(n.column,a),s>0&&(r.width=`${s}%`);const i=Ar(n.column,o);i>0&&(r["margin-left"]=`${i}%`);const c=n.gutter/2;return c>0&&(r["padding-left"]=`${c}px`,r["padding-right"]=`${c}px`),r}function $n(e,n,a=1,o=0){if(a==="stretch"){const c=e.index%n.column,f=c+(n.column-c);return e.index=e.index+(f-c),{"grid-column":`${c+1} / -1`}}let l=me(a);if(l===-1){const c=e.index%n.column;return n.column,c==0?e.index=e.index+n.column:e.index=e.index+(n.column-c)+n.column,{"grid-column":"1 / -1"}}if(l>n.column){const c=e.index%n.column;return n.column,c==0?e.index=e.index+n.column:e.index=e.index+(n.column-c)+n.column,{"grid-column":"1 / -1"}}const r=me(o)%n.column;let s=(e.index+r)%n.column,i=s+l;return i>n.column?(s=0,i=s+l,e.index=e.index+(n.column-s)+l):e.index=e.index+r+l,r>0?{"grid-column":`${s+1} / span ${l}`}:{"grid-column-start":`span ${l}`}}const Tr=Symbol("RollingStateKey");function Xi(e){t.provide(Tr,e)}function Qi(){return t.inject(Tr,null)}function Io(e){let n=0;const a=window.getComputedStyle(e,null);if(a.getPropertyValue("box-sizing")==="content-box"){const l=parseFloat(a.getPropertyValue("padding-top")),r=parseFloat(a.getPropertyValue("padding-bottom"));n=e.clientHeight-l-r}else n=e.offsetHeight;return n}function Gi(e){let n=Io(e);if(n<=0){const a=e.cloneNode(!0),o=e.offsetWidth;a.style=`width: ${o}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(a),n=Io(a),console.info("2.---------- get expand height",n),document.body.removeChild(a)}return n}function Zi(e,n,a){if(e<=0)return"1fr";const o=(e-(n-1)*a)/n;return o>0?`${o}px`:"1fr"}const Ji={...pe,...Sr,...Cr};function _i(e,n,a){return{props:Ji,emits:["update:collapse","header-click"],setup(o,l){const r=Co(o.name,o,wr),s=Yi(r,{type:o.type}),i=Nn();Bn(!0);const c=o.rollingDisplay?Qi():null,f=t.ref(null),p=t.computed(()=>o.rollingDisplay?c&&!c.disabled:!1),d=t.computed(()=>i&&r?An(r,!0).value:null),h=t.getCurrentInstance(),S=(U,j=!1)=>{const Q=h?.proxy;Q&&typeof Q.setNameValidateRules=="function"&&Q.setNameValidateRules(U,!0,j)};t.watch([()=>o.rules,()=>o.pureDataRules],([U,j],[Q,O])=>{if(U&&Q){const Z=t.toRaw(Q),ne=t.toRaw(U),re=ne?Reflect.ownKeys(ne):[];(Z?Reflect.ownKeys(Z):[]).forEach(ye=>{re.includes(ye)||(ne[ye]=[])}),S(ne)}if(j&&O){const Z=t.toRaw(O),ne=t.toRaw(j),re=ne?Reflect.ownKeys(ne):[];(Z?Reflect.ownKeys(Z):[]).forEach(ye=>{re.includes(ye)||(ne[ye]=[])}),S(ne,!0)}},{deep:!0});const y=e,b=t.computed(()=>{const U={};if(U.height=I.value,o.width)o.width!=="auto"&&(U.width=ge(o.width));else{const j=i?Tn(r,!0):null;if(d.value&&j){if(d.value.type==="grid"){const Q=$n(j,d.value,o.span,o.offset);Object.assign(U,Q)}else if(d.value.type==="flow"){const Q=Vn(j,d.value,o.span,o.offset,o.width);Object.assign(U,Q)}}}return U}),k=t.computed(()=>{const U=s.layout.value.type;return U==="grid"||U==="flow"?{[`${y}--${U}`]:!0,[`${y}--${U}-justify-${o.justify}`]:!0,[`${y}--${U}-align-${o.align}`]:!0,[`${y}--gutter`]:!0}:{[`${y}--${U}`]:!0,[`${y}--gutter`]:!0}}),u=t.computed(()=>{if(s.layout.value.type==="grid"){let j="";if(o.columnWidth)j=`repeat(auto-fill, ${o.columnWidth})`;else{const Q=Zi(T.value,s.layout.value.column,s.layout.value.gutter);j=`repeat(${s.layout.value.column}, ${Q})`}return{"column-gap":`${s.layout.value.gutter}px`,"grid-template-columns":j}}}),m=t.toRef(o,"gutter"),g=t.toRef(o,"column"),C=t.computed(()=>i||p.value?!0:he(o.isWrap)),A=[],w=U=>{A.push(U)},B=()=>{let U=A.length;A.splice(0,U)},T=t.ref(-1),V=U=>{const j=Cn(U).width;j>0&&j!==T.value&&(T.value=j)};Do(r,T.value,g.value,m.value,!0,o.minItemWidth,o.maxItemWidth,o.type),o.autoLayout&&t.watch([T,g,m],([U,j,Q])=>{s.order.index=0,Do(r,U,j,Q,!1,o.minItemWidth,o.maxItemWidth,o.type)});const E=t.computed(()=>R.value?o.expandText??"":o.collapseText??""),$=t.computed(()=>({[`${e}__header-collapse-text`]:!0})),x=t.computed(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!R.value,"is-collapse":R.value})),P=t.ref(),D=t.ref(),I=t.computed(()=>v.value||ge(o.height)||""),R=t.ref(!1),v=t.ref(""),W=t.ref(!1);let H=-1;const J=(U,j=!0)=>{const Q=P.value;if(Q&&R.value!==U){if(H=H<=0?Gi(Q):H,W.value=!0,j)if(Q.style["will-change"]="height",Q.ontransitionend=function(){Q.ontransitionend=null,this.style["will-change"]="auto",U||(v.value="",W.value=!1)},U){let O=0;o.collapseHeight?O=o.collapseHeight:D.value&&D.value.classList.contains(`${e}__header`)&&(O=D.value.offsetHeight),v.value=`${H}px`,t.nextTick(()=>{v.value=`${O}px`})}else v.value=`${H}px`;else if(U){let O=0;o.collapseHeight?O=o.collapseHeight:D.value&&D.value.classList.contains(`${e}__header`)&&(O=D.value.offsetHeight),v.value=`${O}px`}else W.value=!1,v.value=`${H}px`;R.value=U,l.emit("update:collapse",U)}};t.watch(()=>o.collapse,U=>{J(U)});const ee=U=>{l.emit("header-click",U)},Y=()=>{M()},M=U=>{U=U??!R.value,J(U)};xe({toggleCollapse:M,doLayout:()=>{A[0]&&(V(A[0]),Do(r,T.value,g.value,m.value,!0,o.minItemWidth,o.maxItemWidth,o.type))}});let q=null,F=!0;const L=U=>{if(o.rules){const j=t.toRaw(o.rules);S(j)}if(o.pureDataRules){const j=t.toRaw(o.pureDataRules);S(j,!0)}if(nt&&(U&&J(he(o.collapse),!1),o.autoLayout&&Array.isArray(A)&&A.length>0)){const j=A[0];V(j),window.ResizeObserver&&(q=new window.ResizeObserver(()=>{V(j)}),q.observe(j))}},K=()=>{q?.disconnect(),q=null},X=!p.value||c?.acquire();X&&(f.value=p.value?!0:null),t.onMounted(()=>{if(X&&(L(F),F=!1),p.value&&c){let U=null,j=c.initialHeight;c.observe(P.value,Q=>{if(Q!==f.value)if(Q)f.value=!0,R.value||(v.value=""),U=setTimeout(()=>{U=null,f.value!==!1&&(L(F),F=!1)},100);else{if(U!==null&&clearTimeout(U),f.value=!1,!R.value)if(F)v.value=c.initialHeight;else{let O=Io(P.value);O<=0?v.value=j:(v.value=`${O}px`,j=v.value)}F||K()}})}}),t.onUnmounted(()=>{q?.disconnect(),c&&c.unobserve(P.value)});const _=(U="right")=>{const j=[];if(E.value){const ne={class:$.value},re=t.h("span",ne,[E.value]);j.push(re)}const Q={class:x.value},O=o.collapseIcon??a,Z=t.h(O,Q);return j.push(Z),j.length>0?t.h("div",{class:{[`${y}__header-collapse`]:!0,[`is-${U}`]:!0},onClick:Y},j):null},le=(U,j,Q,O)=>{const Z={...k.value};return j===0&&(Z[`${y}__first`]=!0),Q>=O-1&&(Z[`${y}__last`]=!0),t.h("div",{ref:w,key:`${j}`,class:Z,style:u.value},U)};return()=>{if(p.value&&f.value!==!0){const Z=o.tag||"div";return t.h(Z,{ref:P,prop:o.name,class:{[`${y}`]:!0,"is-collapse":W.value},style:b.value},[])}s.order.index=0;const U=[];let j=0;if(l.slots.header){const Z={key:`${j++}`,ref:D,class:{[`${y}__header`]:!0,[`${y}__first`]:!0},onClick:ee},ne=t.h("div",Z,[l.slots.header()]);U.push(ne)}else{const Z=[],ne=o.collapsePosition==="left";if(ne&&o.showCollapse){const re=_("left");re&&Z.push(re)}if(o.title||l.slots.title){if(o.showMark){const re={class:{[`${y}__header-mark`]:!0}};o.markColor&&(re.style={background:o.markColor});const se=t.h("div",re);Z.push(se)}if(l.slots.title){const re=t.h("div",{class:{[`${y}__header-title`]:!0}},[l.slots.title()]);Z.push(re)}else if(o.title){const re=t.h("div",{class:{[`${y}__header-title`]:!0}},[o.title]);Z.push(re)}}if(l.slots.toolbar&&Z.push(l.slots.toolbar()),!ne&&o.showCollapse){const re=_("right");re&&Z.push(re)}if(Z.length>0){const re={key:`${j++}`,ref:D,class:{[`${y}__header`]:!0,[`${y}__first`]:!0},onClick:ee},se=t.h("div",re,Z);U.push(se)}}B();const Q=l.slots.default?l.slots.default():[],O=s.layout.value.type;if(O==="grid"){const Z=le(Q,j++,0,Q.length);U.push(Z)}else if(O==="flow"){const Z=le(Q,j++,0,Q.length);U.push(Z)}else for(let Z=0;Z<Q.length;Z++){const ne=Q[Z],re=le([ne],j++,Z,Q.length);U.push(re)}if(C.value){const Z=o.tag||"div";return t.h(Z,{ref:P,prop:o.name,class:{[`${y}`]:!0,"is-collapse":W.value},style:b.value},[U])}else return U}}}}const{componentName:ec,create:tc,scope:nc}=G("group"),xo=tc(_i(ec,nc,oe.RectUp));function oc(e){return e===window}const lc=/matrix\((.+)\)/,Vr=e=>{const n=t.unref(e);if(!n)return{x:0,y:0};if(oc(n))return{x:0,y:0};let a=0,o=0,l=n;for(;l!==null;)a+=l.offsetLeft,o+=l.offsetTop,l=l.offsetParent;let r=0,s=0,i=0,c=0;for(l=n;l!==document;){s+=l.scrollTop,r+=l.scrollLeft;const{transform:f}=window.getComputedStyle(l);if(f){const p=lc.exec(f);if(p){let h=p[1].split(/\s*,\s*/);h.length==6&&(i+=Number(h[4]),c+=Number(h[5]))}}l=l.parentNode}return a-=r,o-=s,a+=i,o+=c,{x:a,y:o}};class ac{watchedListeners=[];add(n){this.watchedListeners.push(n)}remove(n){const a=this.watchedListeners.indexOf(n);a!==-1&&this.watchedListeners.splice(a,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(n=>{try{n()}catch{}})}}class rc{monitorRegister=new WeakMap;watch(n,a){let o=n.parentNode;const l=document.body.parentNode;for(;o&&o!==l;){let r=this.monitorRegister.get(o);r||(r=new ac,o.addEventListener("scroll",r.listen),o===document.body&&o.addEventListener("resize",r.listen),this.monitorRegister.set(o,r)),r.add(a),o=o.parentNode}}unwatch(n,a){let o=n.parentNode;const l=document.body.parentNode;for(;o&&o!==l;){let r=this.monitorRegister.get(o);r&&(r.remove(a),r.size()===0&&(this.monitorRegister.delete(o),o.removeEventListener("scroll",r.listen),o===document.body&&o.removeEventListener("resize",r.listen))),o=o.parentNode}}}const $r=new rc,Er={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:sc,create:ic}=G("price"),cc=ic({props:{...Er},setup(e){const n=t.computed(()=>({[sc]:!0})),a=t.computed(()=>e.needSymbol?e.symbol:""),o=t.computed(()=>ke(e.price)==0?"":nn(e.price,e.decimalLength,!0,me(e.digits),e.separator)),l=t.computed(()=>{let s=o.value;if(s.length==0)return"";let i=s.indexOf(".");return s.substring(0,i)}),r=t.computed(()=>{let s=o.value;if(s.length==0)return"";let i=s.indexOf(".");return s.substring(i+1)});return{classes:n,showSymbol:a,intText:l,decimalText:r}}}),dc=["innerHTML"],uc=["innerHTML"];function fc(e,n,a,o,l,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,dc)):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,uc)):t.createCommentVNode("",!0)],2)}const Je=te(cc,[["render",fc]]),{componentName:qo,create:mc}=G("hint-text"),pc=mc({components:{Price:Je},props:{...Er,type:{type:String,default:"number"},placement:{type:String,default:"top-start"},transition:{type:Boolean,default:!0},size:{type:String,default:"default"},arrowSize:{type:Number,default:6},showArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:20},offset:{type:Number,default:12},id:{type:String},reference:{type:Object},autoFit:{type:Boolean,default:!0},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function},customClass:{type:String},customStyle:{type:Object},customTextClass:{type:String},customTextStyle:{type:Object},closeOnClick:{type:Boolean},zIndex:{type:[String,Number]}},emits:["update:visible"],setup(e,n){const a=t.ref({top:null,right:null,bottom:null,left:null}),o=t.ref({x:0,y:0}),l=t.ref(0),r=t.ref(0),s=t.ref(e.placement),i=t.ref(!1),c=t.ref(null),f=($,x,P,D,I,R)=>{const v=document.documentElement.clientWidth||document.body.clientWidth,W=document.documentElement.clientHeight||document.body.clientHeight,H=$.split("-");let J=[];H[0]==="top"?J=["top","bottom","right","left"]:H[0]==="bottom"?J=["bottom","top","right","left"]:H[0]==="left"?J=["left","top","bottom","right"]:H[0]==="right"&&(J=["right","top","bottom","left"]);const ee={top:null,right:null,bottom:null,left:null},Y=[];for(let M=0;M<J.length;M++){const z=J[M];if(Y[0]=z,H[1]&&(Y[1]=H[1]),z==="top"){const q=x.y-R-e.arrowSize-e.offset;if(q>=0){ee.top=q;let F=0;H[1]==="start"?F=x.x:H[1]==="end"?F=x.x+P-I:F=x.x+P/2-I/2;const L=v-F-I;L<0?(F+=L,d.value=-L):d.value=0,ee.left=F<0?0:F;break}}else if(z==="bottom"){const q=x.y+D+e.arrowSize+e.offset;if(q+R<=W){ee.top=q;let F=0;H[1]==="start"?F=x.x:H[1]==="end"?F=x.x+P-I:F=x.x+P/2-I/2;const L=v-F-I;L<0?(F+=L,d.value=-L):d.value=0,ee.left=F<0?0:F;break}}else if(z==="left"){const q=x.x-I-e.arrowSize-e.offset;if(q>=0){ee.left=q;let F=0;H[1]==="start"?F=x.y:H[1]==="end"?F=x.y+D-R:F=x.y+D/2-R/2,ee.top=F<0?0:F;break}}else if(z==="right"){const q=x.x+P+e.arrowSize+e.offset;if(q+I<=v){ee.left=q;let F=0;H[1]==="start"?F=x.y:H[1]==="end"?F=x.y+D-R:F=x.y+D/2-R/2,ee.top=F<0?0:F;break}}}return{bestPlacement:Y.join("-"),bestInsetRect:ee}},p=($,x,P=10)=>{if(!nt||x===!1||!$)return;o.value=Vr(e.reference),l.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const D=c.value.offsetHeight,I=c.value.offsetWidth,{bestPlacement:R,bestInsetRect:v}=f(e.placement,o.value,l.value,r.value,I,D);s.value=R,a.value=v,i.value=!0},d=t.ref(0),h=ft(()=>{p(e.message,e.visible)},10),S=t.ref(e.visible);t.watch(()=>e.visible,$=>{S.value=$});const y=t.computed(()=>S.value&&b.value),b=t.ref(!0),k=ft($=>{const x=$[0];x&&(b.value=x.isIntersecting)},10),u=new IntersectionObserver(k);t.watch([()=>e.message,()=>e.visible],([$,x])=>{setTimeout(()=>{p(e.message,e.visible)},0)}),t.onMounted(()=>{setTimeout(()=>{p(e.message,e.visible)},0),$r.watch(e.reference,h),u.observe(e.reference)}),t.onBeforeMount(()=>{$r.unwatch(e.reference,h),u.unobserve(e.reference),u.disconnect()});const m=t.computed(()=>{const $={[qo]:!0};return s.value.startsWith("top")?$["is-top"]=!0:s.value.startsWith("right")?$["is-right"]=!0:s.value.startsWith("bottom")?$["is-bottom"]=!0:s.value.startsWith("right")&&($["is-right"]=!0),e.size==="small"?$["is-small"]=!0:e.size==="large"&&($["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&($[`${e.customClass}`]=!0),$}),g=t.computed(()=>{const $={};a.value.top!==null&&($.top=`${a.value.top}px`),a.value.right!==null&&($.right=`${a.value.right}px`),a.value.bottom!==null&&($.bottom=`${a.value.bottom}px`),a.value.left!==null&&($.left=`${a.value.left}px`),e.autoFit&&($["min-width"]=`${l.value}px`);const x=document.documentElement.clientWidth||document.body.clientWidth;return $["max-width"]=`${x}px`,i.value&&($.opacity="1"),e.transition||($.transition="none"),e.zIndex&&($["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign($,e.customStyle),$}),C=t.computed(()=>{const $=[`${qo}__content`];return e.customTextClass&&$.push(e.customTextClass),$}),A=t.computed(()=>{const $={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign($,e.customTextStyle),$}),w=t.computed(()=>({[`${qo}__arrow`]:!0})),B=t.computed(()=>{const $={};return e.showArrow?($.width=`${e.arrowSize}px`,$.height=`${e.arrowSize}px`,s.value==="top"?($.left="50%",$.bottom=`-${e.arrowSize}px`,$.transform=" translate(-50%, 0%)"):s.value==="top-start"?($.left=`${e.arrowOffset+d.value}px`,$.bottom=`-${e.arrowSize}px`):s.value==="top-end"?($.right=`${e.arrowOffset-d.value}px`,$.bottom=`-${e.arrowSize}px`):s.value==="right"?($.left=`-${e.arrowSize}px`,$.top="50%",$.transform=" translate(0%, -50%)"):s.value==="right-start"?($.left=`-${e.arrowSize}px`,$.top=`${e.arrowOffset}px`):s.value==="right-end"?($.left=`-${e.arrowSize}px`,$.bottom=`-${e.arrowOffset}px`):s.value==="bottom"?($.left="50%",$.top=`-${e.arrowSize}px`,$.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?($.left=`${e.arrowOffset+d.value}px`,$.top=`-${e.arrowSize}px`):s.value==="bottom-end"?($.right=`${e.arrowOffset-d.value}px`,$.top=`-${e.arrowSize}px`):s.value==="left"?($.right=`-${e.arrowSize}px`,$.top="50%",$.transform=" translate(0%, -50%)"):s.value==="left-start"?($.right=`-${e.arrowSize}px`,$.top=`${e.arrowOffset}px`):s.value==="left-end"&&($.right=`-${e.arrowSize}px`,$.bottom=`-${e.arrowOffset}px`),$):{display:"none"}}),T=t.computed(()=>y.value&&e.closeOnClick),V=t.computed(()=>{const $={};return e.zIndex&&($["z-index"]=`${e.zIndex}`),$});return{show:y,tipRef:c,classes:m,styles:g,textClasses:C,textStyles:A,arrowClasses:w,arrowStyles:B,overlayShow:T,overlayStyle:V,onClickOverlay:()=>{S.value=!1,n.emit("update:visible",!1)}}}}),hc=["innerHTML"];function gc(e,n,a,o,l,r){const s=t.resolveComponent("Price");return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.overlayShow?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-hint-text__overlay",style:t.normalizeStyle(e.overlayStyle),onClick:n[0]||(n[0]=(...i)=>e.onClickOverlay&&e.onClickOverlay(...i))},null,4)):t.createCommentVNode("",!0),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",size:e.size},null,8,["price","size"])):(t.openBlock(),t.createElementBlock("span",{key:1,innerHTML:e.message},null,8,hc))],6),t.createElementVNode("div",{class:t.normalizeClass(e.arrowClasses),style:t.normalizeStyle(e.arrowStyles)},null,6)],6),[[t.vShow,e.show]])],64)}const Dr=te(pc,[["render",gc]]);class En{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}}const vo={},yc=new En,yt=new Map,Dn=e=>{if(e){const n=document.getElementById(e);yt.delete(e),n&&n.parentNode?.removeChild(n)}else{for(const n of yt.keys()){const a=document.getElementById(n);a&&a.parentNode?.removeChild(a)}yt.clear()}},bc=e=>{e.unmount=Dn;const n=document.getElementById(e.id);if(n){const a=yt.get(e.id);a?e={...vo,...a,...e}:e={...vo,...e},e.transition=!1;const o=t.createVNode(Dr,e);return t.render(o,n),e.id}},kc=e=>{e.unmount=Dn;let n=e.id??`hinttext_${yc.get()}`;e={...vo,...e},e.id=n,yt.set(n,e);const a=document.createElement("div");a.id=e.id;const o=t.createVNode(Dr,e);return t.render(o,a),document.body.appendChild(a),n},Sc=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},bt={show(e,n,a={},o=!0){Sc(n);const l=a.id;return l&&yt.has(l)?bc({...a,message:n,reference:e}):(o&&Dn(),kc({...a,message:n,reference:e}))},hide(e){Dn(e)},install(e){e.config.globalProperties.$hintText=bt}};function Cc(e,n,a,o=!1){return{inheritAttrs:!0,props:{...pe,...be},emits:["appear","disappear"],setup(l,r){const s=l.prop??r.attrs.name;Te({componentName:e,validate:!1},s);const i=je(),c=Nn();Bn(!1);const f=t.computed(()=>c&&i?An(i,!1).value:null),p=e,d=t.ref(null),h=t.computed(()=>{const O={[p]:!0,[`${p}__gutter`]:f.value&&f.value.type!=="flow",[`${p}__stretch`]:l.span==="stretch",[`${p}__input--border`]:he(l.hasBorder)};if(O[l.errorMarkClass]=!!R.value,O[l.warnMarkClass]=!!D.value,O[l.infoMarkClass]=!!x.value,typeof d.value=="function"){const Z=d.value(s);O[Z]=!0}else if(typeof d.value=="string"){const Z=d.value;O[Z]=!0}return O}),S=t.ref(null),y=t.computed(()=>{const O={};if(l.width)l.width!=="auto"&&(O.width=ge(l.width));else{const Z=c&&i?Tn(i,!1):null;if(f.value&&Z){if(f.value.type==="grid"){const ne=$n(Z,f.value,l.span,l.offset);Object.assign(O,ne)}else if(f.value.type==="flow"){const ne=Vn(Z,f.value,l.span,l.offset,l.width);Object.assign(O,ne)}}}if(typeof S.value=="function"){const Z=S.value(s);Z&&Object.assign(O,Z)}else if(S.value&&typeof S.value=="object"){const Z=S.value;Object.assign(O,Z)}return O}),b=t.ref(null),k=t.computed({get:()=>b.value??he(l.isRequired),set:O=>{b.value=O}}),u=()=>typeof l.label=="string"&&l.label.length>0||typeof r.slots.label=="function",m=Ve(t.toRef(l,"labelPosition"),"labelPosition",kn.Near),g=t.computed(()=>m&&m.value==="top"?"top":m&&m.value==="right"?"right":"left"),C=t.computed(()=>({[`${p}__main`]:!0,[`${p}__main--${g.value}`]:!0})),A=t.computed(()=>({label:!0,[`label--${g.value}`]:!0})),w=Ve(t.toRef(l,"labelWidth"),"labelWidth",kn.Near),B=t.computed(()=>w&&w.value?{width:ge(w.value)}:{}),T=t.computed(()=>({"label--string":!0,"label--required":k.value})),V=t.computed(()=>({content:!0,[l.contentClass]:!0})),E=t.computed(()=>({...l.contentStyle})),$=t.shallowReactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});xe({setRequired(O){k.value=O},setErrorTip(O){$.errorTip=O},setErrorIcon(O){$.errorIcon=O},setWarnTip(O){$.warnTip=O},setWarnIcon(O){$.warnIcon=O},setInfoTip(O){$.infoTip=O},setInfoIcon(O){$.infoIcon=O},setCustomClassName(O){d.value=O},setCustomStyle(O){S.value=O}});const x=t.computed(()=>l.infoTip||$.infoTip),P=t.computed(()=>l.infoIcon||$.infoIcon),D=t.computed(()=>l.warnTip||$.warnTip),I=t.computed(()=>l.warnIcon||$.warnIcon),R=t.computed(()=>l.errorTip||$.errorTip),v=t.computed(()=>l.errorIcon||$.errorIcon),W=t.computed(()=>R.value?"error":D.value?"warn":x.value?"info":""),H=()=>W.value.length>0,J=t.computed(()=>W.value==="error"?R.value:W.value==="warn"?D.value:W.value==="info"?x.value:""),ee=t.computed(()=>W.value==="error"?v.value:W.value==="warn"?I.value:W.value==="info"?P.value:null),Y=t.computed(()=>{const O={[`${p}__tip`]:!0,[`${p}__tip--${W.value}`]:!0,[`${p}--animate`]:!0};return W.value==="error"&&l.errorClass?O[`${l.errorClass}`]=!0:W.value==="warn"&&l.warnClass?O[`${l.warnClass}`]=!0:W.value==="info"&&l.infoClass&&(O[`${l.infoClass}`]=!0),O}),M=t.computed(()=>{const O={};return m&&m.value==="top"||!u()?O["padding-left"]="0px":w&&w.value&&(O["padding-left"]=ge(w.value)),O}),z=t.ref();let q="";t.watch([()=>l.hintVisible,()=>l.hintText,()=>l.hintType,()=>l.hintProps],([O,Z,ne,re])=>{z.value&&(O&&!ue(Z)?q?a.show(z.value,Z,{...re,id:q,type:ne},!0):q=a.show(z.value,Z,{...re,type:ne},!0):a.hide(q))});let F=null;const L=()=>{F||!z.value||(F=new IntersectionObserver(O=>{let Z=!1;for(let ne of O)if(ne.intersectionRatio>0){Z=!0,Z&&r.emit("appear",ne);break}Z||r.emit("disappear")}),F.observe(z.value))},K=()=>{!F||!z.value||(F.unobserve(z.value),F=null)};t.watch(()=>he(l.appearListen),O=>{O?L():K()}),t.onMounted(()=>{he(l.appearListen)&&L()}),t.onUnmounted(K);const X=()=>{if(!u())return null;const O=[],Z=r.slots?.label?.()??l.label,ne={class:T.value},re=t.h("div",ne,[Z]);if(O.push(re),r.slots.fixedPreTip){const ye=r.slots.fixedPreTip();O.push(ye)}const se={class:A.value,style:B.value};return t.h("div",se,O)},_=()=>{const O=[];if(r.slots.prepend){const ne=r.slots.prepend();O.push(ne)}if(r.slots.default){const ne=r.slots.default();O.push(ne)}if(r.slots.append){const ne=r.slots.append();O.push(ne)}if(r.slots.fixedTip){const ne={class:[`${p}__fixed-tip`]},re=t.h("div",ne,[r.slots.fixedTip()]);O.push(re)}const Z={ref:z,class:V.value,style:E.value};return t.h("div",Z,O)},le=()=>{const O=ee.value;return O?typeof O=="function"?t.h("div",{class:"fox-item__tip--icon"},[O()]):t.h("div",{class:"fox-item__tip--icon"},[t.h(O)]):null},U=()=>{const O=J.value;return O?typeof O=="function"?t.h("div",{class:"fox-item__tip--text"},[O()]):t.h("div",{class:"fox-item__tip--text"},[O]):null},j=()=>{if(!H())return null;const O=[],Z=le();Z&&O.push(Z);const ne=U();ne&&O.push(ne);const re={class:Y.value,style:M.value};return t.h("div",re,O)},Q=()=>r.slots?.hide?.()??null;return()=>{const O=[],Z=[],ne=X();ne&&Z.push(ne);const re=_();re&&Z.push(re);const se={class:C.value},ye=t.h("div",se,Z);O.push(ye);const Ce=j();Ce&&O.push(Ce);const Xe=Q();Xe&&O.push(Xe);const za={class:h.value,style:y.value,prop:l.prop};return t.h("div",za,O)}}}}const{componentName:wc,create:Nc,scope:Bc}=G("item"),Be=Nc(Cc(wc,Bc,bt,!1));function Ac(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,String],required:!1,default:!1}},setup(a,o){const l=e,r=t.computed(()=>({[l]:!0,[`${l}__stretch`]:a.span==="stretch",[`${l}__${a.align}`]:!0})),s=je(),i=Nn();Bn(!1);const c=t.computed(()=>{const f={};if(a.width)a.width!=="auto"&&(f.width=ge(a.width));else if(i&&s){const p=An(s,!1),d=Tn(s,!1);if(p.value&&d){if(p.value.type==="grid"){const h=$n(d,p.value,a.span,a.offset);Object.assign(f,h)}else if(p.value.type==="flow"){const h=Vn(d,p.value,a.span,a.offset,a.width);Object.assign(f,h)}}}return f});return()=>{const f=[];if(o.slots.default){const d=o.slots.default();if(a.divide)for(let h=0;h<d.length;h++){if(h>0){const S=t.h("div",{class:{[`${l}__divide`]:!0}});f.push(S)}f.push(d[h])}else Reflect.apply([].push,f,d)}const p={class:r.value,style:c.value};return t.h("div",p,f)}}}}const{componentName:Tc,create:Vc,scope:uA}=G("row-item"),Mo=Vc(Ac(Tc));function $c(e,n){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}},setup(a,o){const l=je(),r=Nn();Bn(!1);const s=t.computed(()=>r&&l?An(l,!1).value:null),i=e,c=t.computed(()=>({[i]:!0,[`${i}__gutter`]:s.value&&s.value.type!=="flow",[`${i}__stretch`]:a.span==="stretch"})),f=t.computed(()=>{const p={};if(a.width)a.width!=="auto"&&(p.width=ge(a.width));else{const d=r&&l?Tn(l,!1):null;if(s.value&&d){if(s.value.type==="grid"){const h=$n(d,s.value,a.span,a.offset);Object.assign(p,h)}else if(s.value.type==="flow"){const h=Vn(d,s.value,a.span,a.offset,a.width);Object.assign(p,h)}}}return p});return()=>{const p={class:c.value,style:f.value};return o.slots&&typeof o.slots.default=="function"?t.h("div",p,o.slots.default()):t.h("div",p)}}}}const{componentName:Ec,create:Dc,scope:fA}=G("slot-item"),Po=Dc($c(Ec)),Ir={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 Ic(e,n,a,o){return{props:{...pe,...be,...Ir},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(l,r){const s=Ee(t.computed(()=>l.disabled)),i=$e(t.computed(()=>l.readonly)),{emitEvent:c}=Te({componentName:e,get readonly(){return i.value},get disabled(){return s.value}},l.prop??r.attrs.name),{toLocaleRefs:f}=ie.useFoxI18n(n),p=f(l,["placeholder"]),d=t.ref(!1),h=ve(l,"modelValue",null,c),S=e,y=t.computed(()=>({[S]:!0,"is-disabled":s.value,"is-readonly":i.value})),b=Ve(t.computed(()=>l.textAlign),"textAlign"),k=t.computed(()=>{const I={};return b.value&&(I["text-align"]=b.value),I}),u=I=>{let v=I.target.value;l.type==="digit"&&(v=go(v,!0)),l.type==="number"&&(v=go(v,!1)),l.maxLength&&v.length>Number(l.maxLength)&&(v=v.slice(0,Number(l.maxLength))),h.value=v,c("update:modelValue",v,I),c("change",v,I)};let m=ve(l,"hintText"),g=t.ref(!1);const C=I=>{let v=I.target.value;d.value=!0,ue(m.value)||(g.value=!0),c("focus",v,I)},A=I=>{setTimeout(()=>{g.value&&(g.value=!1),d.value=!1},0);let v=I.target.value;l.maxLength&&v.length>Number(l.maxLength)&&(v=v.slice(0,Number(l.maxLength))),c("blur",v,I)},w=t.computed(()=>({[`${S}__append`]:!0,"is-disabled":s.value,"is-readonly":i.value})),B=t.computed(()=>{const I={};return r.slots.append&&!T.value&&!P.value&&(I.display="none"),I}),T=t.computed(()=>ke(l.unit)>0),V=t.computed(()=>!P.value),E=t.computed(()=>({[`${S}__unit`]:!0,hidden:!V.value})),$=I=>{h.value="",c("update:modelValue","",I),c("change","",I),c("clear","")},x=t.computed(()=>he(l.clearable)&&!s.value&&!i.value),P=t.computed(()=>{let I=ke(h.value)>0;return he(l.clearable)&&I&&d.value}),D=t.computed(()=>({action:!0,hidden:!P.value}));return()=>{const I={class:y.value,style:k.value,type:l.type,maxlength:l.maxLength,placeholder:p.placeholder.value,disabled:s.value,readonly:i.value,value:h.value,"adjust-position":l.adjustPosition,"always-system":l.alwaysSystem,onInput:u,onFocus:C,onBlur:A},R=[],v=t.h("input",I);R.push(v);const W=[];if(x.value){const q={class:["action-icon"]},F=t.h(o,q),L={class:D.value,onClick:$},K=t.h("view",L,{default:()=>[F]});W.push(K)}if(T.value){const q=t.h("view",{class:E.value},[l.unit]);W.push(q)}const H={class:w.value,style:B.value},J=t.h("view",H,{default:()=>W});R.push(J);const ee={default:()=>R};ee.label=r.slots.default,ee.prepend=r.slots.prepend,ee.append=r.slots.append,ee.fixedPreTip=r.slots.fixedPreTip,ee.fixedTip=r.slots.fixedTip;const M={...ut(l,Ir),hintText:m.value,hintVisible:g.value,prop:`${l.prop}_item`};return t.h(a,M,ee)}}}}const{componentName:xc,create:qc,scope:vc}=G("input-item"),Lo=qc(Ic(xc,vc,Be,oe.CircleClose));function xr(e,n=0){let a=`${e}`,o=a.indexOf(".");if(o==-1)return a;let l=o;for(let r=a.length-1;r>=o;r--)if(a.charAt(r)!="0"){l=r;break}return l-o<n?l=o+n+1:l!=o&&(l+=1),l>a.length?a=a.padEnd(l,"0"):a=a.substring(0,l),a}function qr(e,n,a=20){if(typeof n=="string"&&(n=me(n)),n==1||n==-1)return`${e}`;if(n==0)return"0";if(n>0){let o=ja(`${e}`,`${n}`);return xr(o)}else{let o=uo(`${e}`,Wa(`${n}`),20);return xr(o)}}function Mc(e,n=-1,a=!1,o=3,l=","){return nn(e,n,a,o,l)}function vr(e,n,a,o,l=!0){if(e==="")return"";if(e=Ya(e),n=me(n),n==1)return e;if(o)e=qr(e,n),a&&(e=="0"&&l?e=`${e}.`.padEnd(me(a)+2,"0"):e=uo(e,1,me(a)));else{let r=-1*n;e=qr(e,r)}return e}function Mr(e,n){let a={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let o=he(n.minInclude),l=fo(e,n.min);if(o&&l==-1||!o&&(l==0||l==-1)){let r="请输入不小于 {0} 的数值";a.message=r.replace("{0}",n.min),a.minValid=!1}}if(n.max!=null){let o=he(n.maxInclude),l=fo(e,n.max);(o&&l==1||!o&&(l==0||l==1))&&(a.maxValid=!1)}return a}const Pr={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},textAlign:{type:String,required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function Pc(e,n,a,o){return{props:{...pe,...be,...Pr},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(l,r){const s=Ee(t.computed(()=>l.disabled)),i=$e(t.computed(()=>l.readonly)),{emitEvent:c}=Te({componentName:e,get readonly(){return i.value},get disabled(){return s.value}},l.prop??r.attrs.name),f=t.ref(!1),p=ve(l,"modelValue",null,c),d=t.ref("");t.watch([()=>p.value,()=>l.rates,()=>l.precision],([H,J,ee])=>{if(ue(H)){d.value="";return}const Y=vr(H,J,ee,!1);d.value!==Y&&(d.value=Y)},{immediate:!0});const h=t.computed(()=>{let H="";return f.value&&(H=d.value),H}),{t:S}=ie.useFoxI18n(n),y=t.computed(()=>{let H=l.placeholder??"";return!f.value&&!ue(d.value)?H=Mc(d.value,l.decimalLength,l.autoPadding,l.digits,l.separator):H=ue(H)?S(["placeholder"]):H,H}),b=e,k=t.computed(()=>({[b]:!0,[`${b}__placeholder`]:d.value.length>0,"is-disabled":s.value,"is-readonly":i.value})),u=Ve(t.computed(()=>l.textAlign),"textAlign"),m=t.computed(()=>{const H={};return u.value&&(H["text-align"]=u.value),H}),g=t.ref(""),C=t.computed(()=>{let H=g.value;return ue(H)&&(H=l.errorTip??""),H}),A=t.ref(""),w=t.ref(!1),B=H=>{let ee=H.target.value;if(ue(ee)){d.value="",p.value="",c("update:modelValue","",H),c("change","",H),he(l.showTip)&&w.value&&(w.value=!1);return}if(ee.length>=2){let Y=ee;if(Y.charAt(0)=="-"&&(Y=Y.substring(1)),Y.length>=2&&Y.charAt(0)=="0"&&Y.charAt(1)!="."){t.triggerRef(d);return}}if(ee!="-"){if(!nr(ee)){t.triggerRef(d);return}if(l.integerLength!=-1&&or(ee)>Number(l.integerLength)){t.triggerRef(d);return}if(l.decimalLength&&l.decimalLength!=-1&&lr(ee)>Number(l.decimalLength)){t.triggerRef(d);return}let Y=Mr(ee,l);if(Y.maxValid===!1){g.value=Y.message,t.triggerRef(d);return}}else if(l.min!=null&&me(l.min)>=0){t.triggerRef(d);return}A.value=ee,he(l.showTip)&&(w.value=ee.length>0),d.value=ee,p.value=vr(ee,l.rates,l.precision,!0),c("update:modelValue",p.value,H),c("change",p.value,H)},T=H=>{if(f.value=!0,he(l.showTip)){let J=d.value;ue(J)&&(J=l.hintText),ue(J)||(A.value=J,w.value=!0)}g.value="",c("focus",p.value,H)},V=H=>{if(setTimeout(()=>{f.value=!1,he(l.showTip)&&w.value===!0&&(w.value=!1)},0),!ue(d.value)){let J=Mr(d.value,l);if(J.minValid===!1||J.maxValid===!1){g.value=J.message;return}}c("update:modelValue",p.value,H),c("blur",p.value,H)},E=t.computed(()=>({[`${b}__append`]:!0,"is-disabled":s.value,"is-readonly":i.value})),$=t.computed(()=>{const H={};return r.slots.append&&!x.value&&!v.value&&(H.display="none"),H}),x=t.computed(()=>ke(l.unit)>0),P=t.computed(()=>!v.value),D=t.computed(()=>({[`${b}__unit`]:!0,hidden:!P.value})),I=H=>{p.value="",c("update:modelValue","",H),c("change","",H),c("clear","")},R=t.computed(()=>he(l.clearable)&&!s.value&&!i.value),v=t.computed(()=>{let H=ke(p.value)>0;return he(l.clearable)&&H&&f.value}),W=t.computed(()=>({action:!0,hidden:!v.value}));return()=>{let H={class:k.value,style:m.value,type:"digit",maxlength:l.maxLength,placeholder:y.value,disabled:s.value,readonly:i.value,value:h.value,"adjust-position":l.adjustPosition,"always-system":l.alwaysSystem,onInput:B,onFocus:T,onBlur:V},J=[],ee=t.h("input",H);J.push(ee);let Y=[];if(R.value){const X={class:["action-icon"]},_=t.h(o,X),le={class:W.value,onClick:I},U=t.h("view",le,{default:()=>[_]});Y.push(U)}if(x.value){const X=t.h("view",{class:D.value},[l.unit]);Y.push(X)}const M={class:E.value,style:$.value},z=t.h("view",M,{default:()=>Y});J.push(z);const q={default:()=>J};q.label=r.slots.default,q.prepend=r.slots.prepend,q.append=r.slots.append,q.fixedPreTip=r.slots.fixedPreTip,q.fixedTip=r.slots.fixedTip;let L={...ut(l,Pr),errorTip:C.value,hintText:A.value,hintVisible:w.value,hintType:"number",prop:`${l.prop}_item`};return t.h(a,L,q)}}}}const{componentName:Lc,create:zc,scope:Fc}=G("money-item"),zo=zc(Pc(Lc,Fc,Be,oe.CircleClose)),Fo={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:Rc,create:Oc,scope:Kc}=G("textarea"),Uc=Oc({props:{...Fo},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:n}){let{toLocaleRefs:a}=ie.useFoxI18n(Kc);const o=a(e,["placeholder"]),l=t.ref(),r=t.computed(()=>{const h=Rc;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=l.value;h.style.height="auto";let S=h.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:y,minHeight:b}=e.autosize;y!==void 0&&(S=Math.min(S,y)),b!==void 0&&(S=Math.max(S,b))}S&&(h.style.height=S+"px")};t.watch(()=>e.modelValue,()=>{e.autosize&&t.nextTick(i)});const c=(h,S)=>{e.maxLength&&h.length>Number(e.maxLength)&&(h=h.substring(0,Number(e.maxLength))),n("update:modelValue",h,S),n("change",h,S)};return{...o,textareaRef:l,classes:r,styles:s,change:h=>{const S=h.target;c(S.value,h)},focus:h=>{e.disabled||e.readonly||n("focus",h)},blur:h=>{if(e.disabled||e.readonly)return;let y=h.target.value;c(y,h),n("blur",{value:y,event:h})}}}}),Hc=["rows","disabled","readonly","value","maxlength","placeholder","autofocus"],jc={key:0,class:"fox-textarea__limit"};function Wc(e,n,a,o,l,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: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)),maxlength:e.maxLength,placeholder:e.placeholder,autofocus:e.autofocus},null,44,Hc),e.limitShow?(t.openBlock(),t.createElementBlock("view",jc,t.toDisplayString(e.modelValue?e.modelValue.length:0)+"/"+t.toDisplayString(e.maxLength),1)):t.createCommentVNode("",!0)],2)}const In=te(Uc,[["render",Wc]]);function Yc(e,n,a,o){return{props:{...pe,...be,...Fo},emits:["update:modelValue","change","blur","focus","setValue"],setup(l,r){const s=Ee(t.computed(()=>l.disabled)),i=$e(t.computed(()=>l.readonly)),{emitEvent:c}=Te({componentName:e,get readonly(){return i.value},get disabled(){return s.value}},l.prop??r.attrs.name),f=ve(l,"modelValue",null,c),p=b=>{f.value=b,c("update:modelValue",b,{}),c("change",b,{})};let d=ve(l,"hintText"),h=t.ref(!1);const S=b=>{ue(d.value)||(h.value=!0),c("focus",f.value,b)},y=b=>{setTimeout(()=>{h.value&&(h.value=!1)},0),c("blur",f.value,b)};return()=>{const k={...Se(l,Fo),disabled:s.value,readonly:i.value,value:f.value,"onUpdate:modelValue":p,onFocus:S,onBlur:y},u=[],m=t.h(o,k);u.push(m);const g={default:()=>u};g.label=r.slots.default,g.prepend=r.slots.prepend,g.append=r.slots.append,g.fixedPreTip=r.slots.fixedPreTip,g.fixedTip=r.slots.fixedTip;const C=Se(l,be,pe);return t.h(a,{...C,prop:`${l.prop}_item`},g)}}}}const{componentName:Xc,create:Qc,scope:Gc}=G("textarea-item"),Ro=Qc(Yc(Xc,Gc,Be,In));function Zc(e){return e===window}const qe=e=>{const n=t.unref(e);if(Zc(n)){const a=n.innerWidth,o=n.innerHeight;return{top:0,left:0,right:a,bottom:o,width:a,height:o}}return n&&n.getBoundingClientRect?n.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}};let Jc=2e3;const Lr=()=>Jc++,Fe={visible:{type:Boolean,default:!1},zIndex:{type:[String,Number]},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,Array],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:{}}},_c=(e,n)=>({components:n,props:{...Fe},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(a,{emit:o}){const l=t.reactive({zIndex:0,showSlot:!0,closed:a.closeable});a.visible&&(l.zIndex=Lr());const r=t.computed(()=>{const b=e,k=[b,`${b}--${a.position}`];return a.round&&k.push("round"),a.position==="bottom"&&a.safeAreaInsetBottom&&k.push(`${b}--${a.position}--safebottom`),typeof a.popClass=="string"?k.push(a.popClass):Array.isArray(a.popClass)&&a.popClass.forEach(u=>{k.push(u)}),k}),s=t.computed(()=>({zIndex:l.zIndex,transitionDuration:`${a.duration}s`,...a.style})),i=t.computed(()=>a.transition?a.transition:`fox-popup-slide-${a.position}`),c=()=>{o("update:visible",!0),a.zIndex?l.zIndex=a.zIndex:l.zIndex=Lr(),a.destroyOnClose&&(l.showSlot=!0),o("open")},f=()=>{o("update:visible",!1),o("close"),a.destroyOnClose&&setTimeout(()=>{l.showSlot=!1},+a.duration*1e3)},p=b=>{o("click-pop",b)},d=b=>{b.stopPropagation(),o("click-close-icon",b),o("update:visible",!1)},h=b=>{o("click-overlay",b),a.closeOnClickOverlay&&o("update:visible",!1)},S=b=>{o("opend",b)},y=b=>{o("closed",b)};return t.watch(()=>a.visible,b=>{a.visible?c():f()}),t.watch(()=>a.closeable,b=>{l.closed=b}),{...t.toRefs(l),popStyle:s,transitionName:i,classes:r,onClick:p,onClickCloseIcon:d,onClickOverlay:h,onOpened:S,onClosed:y}}});let vt=0;const zr="fox-overflow-hidden",Fr=()=>nt?document.body:{classList:[]},ed=e=>[()=>{if(e())try{!vt&&Fr().classList.add(zr),vt++}catch{}},()=>{if(e()&&vt)try{vt--,!vt&&Fr().classList.remove(zr)}catch{}}],td={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:nd,create:od}=G("overlay"),ld=od({props:{...td},emits:["click","update:visible"],setup(e,{emit:n}){const[a,o]=ed(()=>e.lockScroll),l=t.computed(()=>({[nd]:!0,[e.overlayClass]:!0})),r=t.computed(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return t.watch(()=>e.visible,i=>{i?a():o()}),{classes:l,style:r,onClick:i=>{n("click",i),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function ad(e,n,a,o,l,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:n[0]||(n[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 st=te(ld,[["render",ad]]),{componentName:rd,create:sd}=G("popup"),id=sd(_c(rd,{FoxOverLay:st,Close:oe.Close}));function cd(e,n,a,o,l,r){const s=t.resolveComponent("FoxOverLay"),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:n[1]||(n[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:n[0]||(n[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)])],2)):t.createCommentVNode("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const fe=te(id,[["render",cd]]),Rr=10;function Or(e,n){return e>n&&e>Rr?"horizontal":n>e&&n>Rr?"vertical":""}function Oo(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function Ko(){const e={startX:0,startY:0,startTime:0,duration:0,moveX:0,moveY:0,deltaX:0,deltaY:0,offsetX:0,offsetY:0,direction:""},n=()=>e.direction==="vertical",a=()=>e.direction==="horizontal",o=()=>{e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0,e.direction="",e.startTime=0};return{move:s=>{if(s.touches){const f=s.touches[0];e.deltaX=f.clientX-e.startX,e.deltaY=f.clientY-e.startY,e.moveX=f.clientX,e.moveY=f.clientY}else{const c=s;e.deltaX=c.clientX-e.startX,e.deltaY=c.clientY-e.startY,e.moveX=c.clientX,e.moveY=c.clientY}e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.duration=Date.now()-e.startTime,e.direction||(e.direction=Or(e.offsetX,e.offsetY))},start:s=>{if(o(),s.touches){const f=s.touches[0];e.startX=f.clientX,e.startY=f.clientY}else{const c=s;e.startX=c.clientX,e.startY=c.clientY}e.startTime=Date.now()},reset:o,isVertical:n,isHorizontal:a,state:e}}function _e(){const e=t.ref(0),n=t.ref(0),a=t.ref(0),o=t.ref(0),l=t.ref(0),r=t.ref(0),s=t.ref(0),i=t.ref(0),c=t.ref(0),f=t.ref(0),p=t.ref(""),d=()=>p.value==="vertical",h=()=>p.value==="horizontal",S=()=>{s.value=0,i.value=0,c.value=0,f.value=0,p.value="",a.value=0};return{move:k=>{if(k.touches){const g=k.touches[0];s.value=g.clientX-e.value,i.value=g.clientY-n.value,l.value=g.clientX,r.value=g.clientY}else{const m=k;s.value=m.clientX-e.value,i.value=m.clientY-n.value,l.value=m.clientX,r.value=m.clientY}c.value=Math.abs(s.value),f.value=Math.abs(i.value),o.value=Date.now()-a.value,p.value||(p.value=Or(c.value,f.value))},start:k=>{if(S(),k.touches){const g=k.touches[0];e.value=g.clientX,n.value=g.clientY}else{const m=k;e.value=m.clientX,n.value=m.clientY}a.value=Date.now()},reset:S,startX:e,startY:n,startTime:a,duration:o,moveX:l,moveY:r,deltaX:s,deltaY:i,offsetX:c,offsetY:f,direction:p,isVertical:d,isHorizontal:h}}const Kr={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:360}},Uo={...Fe,...Kr,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},cancelText:{type:String},clearText:{type:String},confirmText:{type:String},isAutoBackFill:{type:[Boolean],default:!0}};let Ur=36;function dd(){return Ur}function ud(e){Ur=e}function Re(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Ho(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function fd(e,n,a){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=a),n.children=a}function it(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Hr(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}let md=class{proxy;constructor(n){this.proxy=n}async load(n,a,o){if(Array.isArray(a))return a;if(typeof a=="function")return await a(o);const l=Ze(this.proxy,n);return l===null?(console.error(`${n} component not found api function`),[]):(De(o)&&t.isReactive(o)&&(o=t.toRaw(o)),await l(a,o))}};function pd(){const e=t.getCurrentInstance();return new md(e.proxy)}function jr(e,n,a){const o=Re(e,n),l=Re(e,a);if(o!==l)return!1;const r=it(e,n),s=it(e,a);return r===s}function hd(e,n,a,o){if(a.length==0)return[];Array.isArray(n)||(n=[n]);const l=[],r=e.valueType??"value";if(o==="singleColumn"||o==="multipleColumn")for(let s=0;s<n.length&&s<a.length;s++){const i=n[s];let f=a[s].findIndex(p=>{if(r==="text")return Re(e,p)===i;if(r==="value"){let d=it(e,p);return d==null&&(d=Re(e,p)),d===i}else if(r==="item")return jr(e,p,i)});if(f==-1)break;l.push(f)}else{let s=a[0];for(let i=0;i<n.length;i++){const c=n[i];let f=s.findIndex(d=>{if(r==="text")return Re(e,d)===c;if(r==="value"){let h=it(e,d);return h==null&&(h=Re(e,d)),h===c}else if(r==="item")return jr(e,d,c)});if(f==-1)break;l.push(f);const p=Ho(e,s[f]);if(!Array.isArray(p))break;s=p}}return l}function Wr(e,n,a,o){if(a.length==0)return null;const l={texts:[],values:[],items:[]},r=e.valueType??"value";if(o==="singleColumn"||o==="multipleColumn")for(let s=0;s<n.length&&s<a.length;s++){const i=a[s];let c=n[s];c<0&&c>=i.length&&(c=0);const f=i[c],p=Re(e,f);if(l.texts.push(p),l.items.push(f),r==="text")l.values.push(p);else if(r==="value"){let d=it(e,f);d==null&&(d=p),l.values.push(d)}else l.values.push(f)}else{let s=a[0];for(let i=0;i<n.length;i++){let c=n[i];c<0&&c>=s.length&&(c=0);const f=s[c],p=Object.assign({},f);p.children=null;const d=Re(e,f);if(l.texts.push(d),l.items.push(p),r==="text")l.values.push(d);else if(r==="value"){let h=it(e,f);h==null&&(h=d),l.values.push(h)}else l.values.push(p);if(!Array.isArray(f.children))break;s=f.children}}return l}function Yr(e){return{text:e,value:e}}const gd=15,yd=300,bd=200,{create:kd}=G("picker-column");function Sd(e){e.stopPropagation()}function Cd(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&Sd(e)}const wd=kd({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},visible:{type:Boolean,default:!1},...Kr},emits:["click","change","update:modelValue"],setup(e,{emit:n}){const a=t.computed(()=>({"fox-picker__list":!0})),o=t.computed(()=>({height:`${me(e.visibleItemCount)*+e.itemHeight}px`})),l=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=B=>B>=d.currIndex+8||B<=d.currIndex-8,i=t.computed(()=>({transition:`transform ${d.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${d.deg})`,top:`${r.value}px`})),c=B=>`transform: rotate3d(1, 0, 0, ${-d.rotation*B}deg) translate3d(0px, 0px, 104px)`,f=t.computed(()=>({transition:`transform ${d.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${d.scrollDistance+r.value}px, 0)`})),p=t.ref(null),d=t.reactive({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),h=B=>Re(e,B),S=B=>it(e,B),y=_e(),b=()=>{d.transitionEndTrigger&&(d.transitionEndTrigger(),d.transitionEndTrigger=null)},k=(B,T=!1,V=!1)=>{if(d.currIndex=B,T){const E=()=>{d.moving=!1,n("update:modelValue",B),n("change",B)};V?d.transitionEndTrigger=E:E()}},u=(B,T,V)=>{let E=B+d.startDistance;if(T==="end"){const $=-(e.source.length-1)*e.itemHeight;E<$&&(E=$),E>0&&(E=0);let x=Math.abs(Math.round(-E/e.itemHeight));const P=-x*e.itemHeight,D=`${(x+1)*d.rotation}deg`,I=V?V>0:!1;k(x,!0,I),m(P,T,V,D)}else{let $=(-E/e.itemHeight+1)*d.rotation;const x=(e.source.length+1)*d.rotation,P=0;if($=Math.min(Math.max($,P),x),e.threeDimensional&&($<P||$>x))return;m(E,null,void 0,`${$}deg`)}},m=(B=0,T,V=bd,E)=>{T==="end"?d.scrollTime=V:d.scrollTime=0,d.deg=E,d.scrollDistance=B},g=(B,T)=>(B=Math.abs(B/T)/.003*(B<0?-1:1),B),C=B=>{e.readonly||(d.startDistance=d.scrollDistance,y.start(B),d.transitionEndTrigger=null)},A=B=>{e.readonly||(d.moving=!0,y.move(B),y.isVertical()&&(d.moving=!0,Cd(B,!0)),u(y.deltaY.value,"",0))},w=()=>{if(e.readonly)return;const B=y.deltaY.value,T=y.duration.value;if(T<yd&&Math.abs(B)>gd){const E=g(B,T);u(E,"end",e.swipeDuration)}else u(B,"end",0)};return t.watch(()=>e.modelValue,B=>{const T=d.currIndex-B;if(T!==0){d.currIndex=B,d.startDistance=d.scrollDistance;const V=T*e.itemHeight;u(V,"",0)}}),t.watch(()=>e.source,B=>{if(d.currIndex>=B.length){const E=(B.length-1-d.currIndex)*e.itemHeight;d.startDistance=d.scrollDistance,u(E,"end",0)}}),t.watch(()=>e.visible,B=>{B===!1&&b()}),t.onMounted(()=>{const B=-e.modelValue*e.itemHeight;u(B)}),{classes:a,styles:o,contentClasses:l,itemText:h,itemValue:S,...t.toRefs(d),roller:p,getItemText:Re,onTouchStart:C,onTouchMove:A,onTouchEnd:w,isHidden:s,setRollerStyle:c,touchRollerStyle:i,touchTileStyle:f,stopMomentum:b}}}),Nd={key:1,class:"fox-picker__item-tile"};function Bd(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:n[2]||(n[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:n[3]||(n[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTransitionend:n[4]||(n[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",Nd,t.toDisplayString(e.itemText(s)),1))],64))),128))],6)],38)}const Ad=te(wd,[["render",Bd]]),{create:Td,componentName:Vd,scope:$d}=G("picker"),Ed=Td({components:{Column:Ad,Popup:fe},props:{...Uo},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:a,t:o}=ie.useFoxI18n($d),l=a(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),s=t.ref(dd());t.watch(()=>e.visible,$=>{$&&s.value<=0&&setTimeout(()=>{if(r.value){const x=qe(r.value);s.value=x.height,ud(s.value)}},50)});const i=t.computed(()=>({[Vd]:!0})),c=pd(),f=t.ref("singleColumn");let p=t.ref([]);t.watch([()=>e.source,()=>e.params],async([$,x])=>{if($){let P=await c.load("picker",$,x);if(P.length>0){let D=P[0];if(Array.isArray(D)){if(typeof D[0]=="string"){let I=P,R=[];I.forEach(v=>{let W=v.map(H=>Yr(H));R.push(W)}),p.value=R}else p.value=P;f.value="multipleColumn"}else if(typeof D=="string"){let I=P,R=[],v=I.map(W=>Yr(W));R.push(v),p.value=R,f.value="singleColumn"}else{const I=Ho(e,D);Array.isArray(I)?(f.value="cascade",p.value=[P]):(f.value="singleColumn",p.value=[P])}}else p.value=[]}},{immediate:!0});const d=t.ref([]),h=t.ref(e.modelValue),S=t.ref([]),y=t.ref([]);t.watch([()=>e.modelValue,()=>p.value],([$,x])=>{let P=hd(e,$,x,f.value);if(!Me(P,y.value)){y.value=P;let D=Wr(e,P,x,f.value);D&&(d.value=D.texts,n("update:text",d.value))}});const b=t.ref(e.visible);t.watch(()=>e.visible,$=>{b.value=$});const k=$=>{let x=Hr(e,$);return De(x)?x.defaultIndex??0:0},u=$=>{if(e.readonly===!0)return!0;let x=Hr(e,$);return De(x)?x.readonly??!1:!1},m=($,x)=>{let P=y.value;P[$]=x;for(let I=0;I<$;I++)P[I]==null&&(P[I]=k(I));if(f.value==="cascade")for(let I=$+1;I<C.value.length;I++){let R=k(I);I<P.length?P[I]=R:P.push(R)}else for(let I=P.length;I<C.value.length;I++){let R=k(I);P.push(R)}y.value=P;let D=Wr(e,P,p.value,f.value);D&&(d.value=D.texts,h.value=D.values,S.value=D.items)},g=$=>$<y.value.length?y.value[$]:k($),C=t.computed(()=>{if(p.value.length==0)return[];if(f.value=="singleColumn"||f.value=="multipleColumn")return p.value;let $=[],x=0,P=p.value[0],D=0;for(;;){let I=P.map(W=>{let H=Object.assign({},W);return fd(e,H,null),H});$.push(I),x>=y.value.length?D=0:D=y.value[x],(D<0||D>=P.length)&&(D=0);let R=P[D];const v=Ho(e,R);if(!Array.isArray(v))break;P=v,x++}return $}),A=t.computed(()=>me(+e.visibleItemCount-1)/2*s.value),w=($=!1)=>{if(e.readonly===!0){$&&n("update:visible",!1);return}let x=p.value.length-1;for(;x>=0&&!(y.value[x]===null||y.value[x]===void 0);x--);if(x>=0&&m(x,0),f.value==="singleColumn"){let P=h.value.length>0?h.value[0]:"",D=S.value.length>0?S.value[0]:null;n("update:modelValue",P),n("update:text",d.value),n("change",P,D),$&&(n("confirm",P),n("update:visible",!1))}else n("update:modelValue",h.value),n("update:text",d.value),n("change",h.value,S.value),$&&(n("confirm",h.value),n("update:visible",!1))};return{...l,pickerLineRef:r,classes:i,columns:C,dataType:f,show:b,itemHeight:s,top:A,isReadonly:u,getIndex:g,change:($,x)=>{if(m($,x),e.isAutoBackFill){const P=!b.value;w(P)}},close:()=>{n("close"),n("update:visible",!1)},confirm:()=>{w(!0)},clear:()=>{if(e.readonly===!0){n("update:visible",!1);return}f.value==="singleColumn"?(n("update:modelValue",""),n("change","")):(n("update:modelValue",[]),n("change",[])),n("clear",""),n("update:visible",!1)}}}}),Dd={class:"fox-picker__bar"},Id={class:"fox-picker__title"},xd={class:"fox-picker__bar__action"},qd={class:"fox-picker__column"};function vd(e,n,a,o,l,r){const s=t.resolveComponent("Column"),i=t.resolveComponent("Popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(i,{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,"teleport-disable":e.teleportDisable},{default:t.withCtx(()=>[t.createElementVNode("view",Dd,[t.createElementVNode("view",Id,t.toDisplayString(e.title),1),t.createElementVNode("view",xd,[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",qd,[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,f)=>(t.openBlock(),t.createElementBlock("view",{key:f,class:"fox-picker__columnitem"},[t.createVNode(s,{visible:e.show,source:c,readonly:e.isReadonly(f),"column-index":f,modelValue:e.getIndex(f),"onUpdate:modelValue":p=>e.change(f,p),"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,["visible","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 kt=te(Ed,[["render",vd]]);function Md(e,n,a,o,l,r,s=!0){return{props:{...pe,...be,...Uo,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},text:{type:String},separator:{type:[String],required:!1,defualt:" "}},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(i,c){const f=Ee(t.computed(()=>i.disabled)),p=$e(t.computed(()=>i.readonly)),{emitEvent:d}=Te({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return f.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=ie.useFoxI18n(n),S=h(i,["placeholder"]),y=t.ref(!1),b=ve(i,"modelValue",null,d),k=t.ref([]),u=t.computed(()=>Array.isArray(k.value)?k.value.join(i.separator):k.value),m="fox-input-item",g=t.computed(()=>({[m]:!0,"is-disabled":f.value,"is-readonly":p.value})),C=Ve(t.computed(()=>i.textAlign),"textAlign"),A=t.computed(()=>{const z={};return C.value&&(z["text-align"]=C.value),z}),w=t.ref(!1),B=()=>{w.value=!0},T=z=>{w.value=z},V=z=>{b.value=z,d("update:modelValue",z)},E=(z,q)=>{d("change",z,q)},$=z=>{let F=z.target.value;y.value=!0,d("focus",F,z)},x=z=>{setTimeout(()=>{y.value=!1},0);let F=z.target.value;i.maxLength&&F.length>Number(i.maxLength)&&(F=F.slice(0,Number(i.maxLength))),d("blur",F,z)},P=z=>{k.value=z,Array.isArray(z)&&z.length===0?d("update:text",z[0]):d("update:text",z)},D=t.computed(()=>({[`${m}__append`]:!0,"is-disabled":f.value,"is-readonly":p.value})),I=t.computed(()=>ke(i.unit)>0),R=t.computed(()=>ke(i.unit)>0&&!y.value),v=t.computed(()=>({hidden:!R.value})),W=z=>{b.value="",d("update:modelValue","",z),d("change","",z),d("clear","")},H=t.computed(()=>i.clearable&&!f.value&&!p.value),J=t.computed(()=>ke(b.value)>0&&y.value),ee=z=>{J.value?W(z):B()},Y=t.computed(()=>J.value&&H.value?o:l),M=t.computed(()=>({action:!0}));return()=>{const z={class:g.value,style:A.value,type:"text",maxlength:i.maxLength,placeholder:S.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:B,onFocus:$,onBlur:x};s&&(z.disabled=!0);const q=[],F=t.h("input",z);q.push(F);const L=[],K={class:["action-icon"]},X=t.h(Y.value,K),_={class:M.value,onClick:ee},le=t.h("view",_,{default:()=>[X]});if(L.push(le),I.value){const se=t.h("view",{class:v.value},[i.unit]);L.push(se)}const U={class:D.value},j=t.h("view",U,{default:()=>L});q.push(j);const Q={default:()=>q};Q.label=c.slots.default,Q.prepend=c.slots.prepend,Q.append=c.slots.append,Q.fixedPreTip=c.slots.fixedPreTip,Q.fixedTip=c.slots.fixedTip;const O=Se(i,Uo);O.disabled=!1,O.readonly=f.value||p.value,O.visible=w.value,O["onUpdate:visible"]=T,O.modelValue=b.value,O["onUpdate:modelValue"]=V,O.text=k.value,O["onUpdate:text"]=P,O.onChange=E;const Z=t.h(r,O);Q.hide=()=>[Z];const ne=Se(i,be,pe);return t.h(a,ne,Q)}}}}const{componentName:Pd,create:Ld,scope:zd}=G("picker-item"),jo=Ld(Md(Pd,zd,Be,oe.CircleClose,oe.ArrowRight,kt,!1)),xn=(e,n,a)=>e.map(o=>{const{value:l="value",text:r="text",children:s="children"}=a??{},{[l]:i,[r]:c,[s]:f,...p}=o,d={loading:!1,...p,level:n?(n&&n.level||0)+1:0,value:i,text:c,children:f,_parent:n};return d.children&&d.children.length&&(d.children=xn(d.children,d,a)),d}),Xr=(e,n)=>{let a=0,o;for(;(o=e[a++])&&n(o)!==!0;)o.children&&o.children.length&&Xr(o.children,n)},Fd={topId:null,idKey:"id",pidKey:"pid",sortKey:""},Rd=(e,n)=>{const a={...Fd,...n||{}},{topId:o,idKey:l,pidKey:r,sortKey:s}=a;let i=[],c={};return e.forEach(f=>{f={...f};const{[l]:p,[r]:d}=f,h=c[d]=c[d]||[];!i.length&&d===o&&(i=h),h.push(f),f.children=c[p]||(c[p]=[])}),s&&Object.keys(c).forEach(f=>{c[f].length>1&&c[f].sort((p,d)=>p[s]-d[s])}),c=null,i},Od={modelValue:{type:[String,Number],default:0},data:{type:[Array]},textKey:{type:String,default:"text"},valueKey:{type:String,default:"value"},visibleKey:{type:String,default:"visibile"},disabledKey:{type:String,default:"disabled"},doitKey:{type:String,default:"doit"},numKey:{type:String,default:"num"},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},shape:{type:String},align:{type:String},markShape:{type:String,default:"line"},scroll:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},animatedTime:{type:[Number,String],default:300},gutter:{type:[Number,String],default:0},itemOptions:{type:Object},showQuickNavigation:{type:Boolean,default:!1},beforeChange:{type:Function}},Qr=(e,n)=>n[e.textKey],Mt=(e,n)=>n[e.valueKey],Kd=(e,n)=>n[e.visibleKey],Gr=(e,n)=>n[e.disabledKey],Ud=(e,n)=>{const a=n[e.doitKey];return he(a)},Hd=(e,n)=>{const a=n[e.numKey];return a==null?null:me(n[a])},Zr=(e,n,a)=>{const o=e.itemOptions;return typeof o=="function"?o(n,a):o||null};function jd(e,n,a,o=!1){return{props:{...Od},emits:["update:modelValue","change","click"],setup(l,{slots:r,emit:s}){const i=t.computed(()=>{const Y={};return Y[`${e}`]=!0,Y}),c=t.computed(()=>{const Y={};return Y[`${e}__titles`]=!0,Y[`${l.direction}`]=!0,l.align==="left"&&(Y.left=!0),l.scroll===!0&&(Y.scrollable=!0),l.shape&&(Y[`${l.shape}`]=!0),Y}),f=t.computed(()=>({})),p=t.computed(()=>{if(!l.gutter)return 0;const Y=de(l.gutter);return Y<=0?0:Y}),d=t.ref(l.modelValue);t.watch(()=>l.modelValue,Y=>{d.value!==Y&&(d.value=Y,v(!1))});const h=t.ref({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),S=t.computed(()=>{const Y={};return b.value||(Y.display="none"),Y}),y=t.ref(),b=t.ref(!1),k=()=>{const Y=!b.value;u(Y)},u=Y=>{const M=Y;M?(b.value=M,setTimeout(()=>{h.value["fox-tabs-bar__popup--show"]=!0,h.value["fox-tabs-bar__popup--hide"]=!1},0)):(h.value["fox-tabs-bar__popup--show"]=!1,h.value["fox-tabs-bar__popup--hide"]=!0,y.value?y.value.addEventListener("transitionend",()=>{b.value=!1},{once:!0}):setTimeout(()=>{b.value=!1},0))},m=t.ref(),g=t.ref([]),C=(Y,M)=>{g.value[M]=Y},A=Y=>M=>{C(M,Y)},w=(Y,M)=>{const z=m.value,q=g.value;if(!z||!q||!q[Y])return;const F=q[Y];let L=0;l.direction==="vertical"?L=F.offsetTop-(z.offsetHeight-F.offsetHeight)/2:L=F.offsetLeft-(z.offsetWidth-F.offsetWidth)/2,B(z,L,M?0:.3,l.direction)},B=(Y,M,z,q)=>{let F=0;const L=q==="horizontal"?Y.scrollLeft:Y.scrollTop,K=z===0?1:Math.round(z*1e3/16);function X(){q==="horizontal"?Y.scrollLeft+=(M-L)/K:Y.scrollTop+=(M-L)/K,++F<K&&Ke(X)}X()},T=(Y,M)=>{const z=Mt(l,Y),q={};return q[`${e}__titles-item`]=!0,q.disabled=Gr(l,Y),q.active=z===d.value,l.shape&&(q[`${l.shape}`]=!0),l.ellipsis&&(q.ellipsis=!0),M&&(M.class&&(q[`${M.class}`]=!0),M.disabled===!0&&(q.disabled=M.disabled)),q},V=(Y,M)=>{const z={};if(p.value>0){const q=Math.abs(p.value/2);l.direction==="vertical"?(z["margin-top"]=`${q}px`,z["margin-bottom"]=`${q}px`):(z["margin-left"]=`${q}px`,z["margin-right"]=`${q}px`)}return M&&M.style&&Object.assign(z,M.style),z},E=(Y,M)=>`${Mt(l,Y)??M}`,$=(Y,M)=>{const z=Mt(l,Y),q={};q[`${e}__popup-item`]=!0,q.disabled=Gr(l,Y),q.active=z===d.value,l.shape&&(q[`${l.shape}`]=!0);const F=Zr(l,Y,M);return F&&F.disabled===!0&&(q.disabled=F.disabled),q},x=t.computed(()=>(l.data??[]).filter(M=>Kd(l,M)!==!1)),P=(Y,M)=>{const z=Mt(l,Y);if(s("click",Y,M),d.value==z)return;const q=()=>{d.value=z,l.scroll&&w(M,!1),s("update:modelValue",z),s("change",Y,M)};if(typeof l.beforeChange=="function"){const F=l.beforeChange(Y,M);dt(F)?F.then(L=>{L!==!1&&q()}).catch(()=>{q()}):F!==!1&&q()}else q()},D=(Y,M)=>function(){P(Y,M)},I=(Y,M)=>{P(Y,M),u(!1)},R=(Y,M)=>function(){I(Y,M)},v=Y=>{if(!Array.isArray(l.data)||!l.scroll)return;const M=l.data.findIndex(z=>Mt(l,z)===d.value);M!==-1&&w(M,Y)};t.watch(()=>l.data,()=>{setTimeout(v,0)}),t.onMounted(()=>{v(!0)});const W=(Y,M)=>{if(r.item)return r.item({item:Y,index:M});const z=Zr(l,Y,M),q=[];if(r.text){const X=r.text({item:Y,index:M});q.push(X)}else{const X=[];if(z?.doit===!0||Ud(l,Y)){const j={class:[`${e}__titles-item-tip`,"doit"]},Q=t.h("view",j);X.push(Q)}const _=z?.num??Hd(l,Y);if(_){let j="";const Q=me(_);Q>=100?j="99+":j=`${Q}`;const O={class:[`${e}__titles-item-tip`,"num"]},Z=t.h("view",O,[j]);X.push(Z)}const le={class:`${e}__titles-item-text`};X.push(Qr(l,Y));const U=t.h("view",le,X);q.push(U)}const F={class:`${e}__titles-item-line`},L=t.h("view",F);q.push(L);const K={ref:A(M),class:T(Y,z),style:V(Y,z),key:E(Y,M),onClick:D(Y,M)};return t.h("view",K,q)},H=()=>{const Y=r.default?r.default():[];if(Y.length===0)for(let z=0;z<x.value.length;z++){const q=x.value[z],F=W(q,z);Y.push(F)}const M={ref:m,class:c.value,style:f.value};return t.h("view",M,Y)},J=()=>{let Y=null;r.navigation?Y=r.navigation():Y=t.h(a);const M={class:`${e}__navigation`,onClick:k};return t.h("view",M,[Y])},ee=()=>{const Y=[];for(let z=0;z<x.value.length;z++){const q=x.value[z];let F=null;r.popupItem?F=r.popupItem({item:q,index:z}):F=Qr(l,q);const L={class:$(q,z),key:E(q,z),onClick:R(q,z)},K=t.h("view",L,[F]);Y.push(K)}const M={class:h.value,style:S.value};return t.h("view",M,Y)};return()=>{const Y=[],M=H();if(Y.push(M),l.showQuickNavigation){const q=J();Y.push(q);const F=ee();Y.push(F)}const z={class:i.value};return t.h("view",z,Y)}}}}const{create:Wd,componentName:Yd,scope:Xd}=G("tabs-bar"),qn=Wd(jd(Yd,Xd,oe.MoreH,!1)),Jr=Symbol("TabsStatesKey"),Qd={modelValue:{type:[String,Number]},direction:{type:[String],default:"horizontal"},lazy:{type:[Boolean],default:!0}};function Gd(e,n,a=!1){return{props:{...Qd},emits:["update:modelValue","change"],setup(o,{emit:l,slots:r}){const s=t.shallowRef([]),i={current:t.ref(o.modelValue??""),direction:t.ref(o.direction),tabWidth:t.ref(-1),tabHeight:t.ref(-1),add:b=>{const k={name:b};i.current.value===b&&(k.loaded=!0),s.value.push(k),t.triggerRef(s)},remove:b=>{const k=s.value.findIndex(u=>u.name===b);k!==-1&&s.value.splice(k,1)},isLoaded:b=>{if(!o.lazy)return!0;const k=s.value.findIndex(u=>u.name===b);return k!==-1?i.current.value?s.value[k].loaded??!1:k===0:!1}};t.provide(Jr,i);const c=b=>{const k=s.value.findIndex(u=>u.name===b);k!==-1&&(s.value[k].loaded=!0,t.triggerRef(s))};t.watch([()=>o.modelValue,()=>o.direction],([b,k])=>{i.current.value!==b&&(i.current.value=b??"",c(b??"")),i.direction.value!==k&&(i.direction.value=k)});const f=t.ref(null),p=t.ref(null),d=t.computed(()=>({[e]:!0,[`${o.direction}`]:!0}));let h=!0;const S=t.computed(()=>{const b={},k=s.value.length;if(k<=0)return b;const u=s.value.findIndex(m=>m.name===i.current.value);return i.direction.value==="vertical"?i.tabHeight.value>0&&(b.height=`${k*i.tabHeight.value}px`,u!==-1&&(b.transform=`translate(0, -${u*i.tabHeight.value}px)`)):i.tabWidth.value>0&&(b.width=`${k*i.tabWidth.value}px`,u!==-1&&(b.transform=`translate(-${u*i.tabWidth.value}px, 0)`)),h&&(h=!1,b.transition="transform 0s ease"),b});let y=null;return t.onMounted(()=>{if(!f.value)return;const b=()=>{const k=Cn(f.value);i.tabWidth.value=k.width,i.tabHeight.value=k.height};window.ResizeObserver&&(y=new window.ResizeObserver(b),y.observe(f.value)),b()}),t.onBeforeUnmount(()=>{y&&(y.disconnect(),y=null)}),()=>{const b={class:`${e}__panes`,style:S.value,ref:p},k=t.h("view",b,[r?.default?.()]),u={class:d.value,ref:f};return t.h("view",u,[k])}}}}const{create:Zd,componentName:Jd,scope:_d}=G("tabs-container"),vn=Zd(Gd(Jd,_d,!1)),eu={paneKey:{type:[String,Number],required:!0},loaded:{type:[Boolean,String],default:null},emptyIcon:{type:[Object],required:!1},emptyText:{type:[String],required:!1}};function tu(e,n,a){return{props:{...eu},setup(o,{emit:l,slots:r}){const s=t.inject(Jr);t.onMounted(()=>{s.add(o.paneKey)}),t.onBeforeUnmount(()=>{s.remove(o.paneKey)});const i=t.computed(()=>{const f={};return s.direction.value==="vertical"&&s.tabHeight.value>0?f.height=`${s.tabHeight.value}px`:s.tabWidth.value>0&&(f.width=`${s.tabWidth.value}px`),f}),c=t.computed(()=>o.loaded!=null?he(o.loaded):s.isLoaded(o.paneKey));return()=>{let f=[];if(c.value)f=r?.default?.()??[];else if(r.empty)f=r.empty();else{const d={class:`${e}__empty-icon`},h=o.emptyIcon??a,S=t.h(h,d),y={class:`${e}__empty-text`},b=o.emptyText??"Loading",k=t.h("view",y,[b]),u={class:`${e}__empty`},m=t.h("view",u,[S,k]);f.push(m)}const p={class:`${e}`,style:i.value};return t.h("view",p,f)}}}}const{create:nu,componentName:ou,scope:lu}=G("tabs-pane"),Mn=nu(tu(ou,lu,oe.Loading));class _r{nodes;config;constructor(n,a){this.config={value:"value",text:"text",children:"children",...a||{}},this.nodes=xn(n,null,this.config)}updateChildren(n,a){a?a.children=xn(n,a,this.config):this.nodes=xn(n,null,this.config)}getNodeByValue(n){let a;return Xr(this.nodes,o=>{if(o.value===n)return a=o,!0}),a}getPathNodesByValue(n){if(!n.length)return[];const a=[];let o=this.nodes;for(;o&&o.length;){const l=o.find(r=>r.value===n[r.level]);if(!l)break;a.push(l),o=l.children}return a}isLeaf(n,a){const{leaf:o,children:l}=n,r=Array.isArray(l)&&!!l.length;return o||!r&&!a}hasChildren(n,a){if(this.isLeaf(n,a))return!1;const{children:l}=n;return Array.isArray(l)&&!!l.length}}const{create:au,scope:ru}=G("cascader-pane"),su=au({components:{Loading:oe.Loading,Checklist:oe.Checklist,TabsBar:qn,TabsContainer:vn,TabsPane:Mn},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{t:a}=ie.useFoxI18n(ru),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),s=t.ref(e.modelValue),i=t.ref(new _r([],{})),c=t.ref([]),f=t.computed(()=>o.value.lazy&&!!o.value.lazyLoad),p=t.computed(()=>r.value==!0||c.value.length==0?[{text:"Loading",value:0}]:c.value.map((m,g)=>({text:m.selectedNode?m.selectedNode.text:a("select"),value:g}))),d=new Map;let h;const S=async()=>{d.clear(),c.value=[],l.value=0,r.value=!1,h=null;let{options:m}=e;o.value.convertConfig&&(m=Rd(m,o.value.convertConfig)),i.value=new _r(m,{value:o.value.valueKey,text:o.value.textKey,children:o.value.childrenKey}),f.value&&!i.value.nodes.length&&await b({root:!0,loading:!0,text:"",value:""}),c.value=[{nodes:i.value.nodes,selectedNode:null}],y(!f.value)},y=async(m=!0)=>{const g=s.value;if(g===void 0||!i.value.nodes.length)return;if(g.length===0){l.value=0,c.value=[{nodes:i.value.nodes,selectedNode:null}];return}let C=g;if(f.value&&Array.isArray(g)&&g.length){C=[];let A=i.value.nodes.find(w=>w.value===g[0]);if(A){C=[A.value],r.value=!0;const w=await g.slice(1).reduce(async(B,T)=>{const V=await B;await b(V);const E=V?.children?.find($=>$.value===T);return E&&C.push(T),Promise.resolve(E)},Promise.resolve(A));await b(w),r.value=!1}}C.length&&g===e.modelValue&&i.value.getPathNodesByValue(C).map((w,B)=>{l.value=B,u.handleNode(w,m)})},b=async m=>{if(!m)return;if(!o.value.lazyLoad){m.leaf=!0;return}if(i.value.isLeaf(m,f.value)||i.value.hasChildren(m,f.value))return;m.loading=!0;const g=m.root?null:m;let C=d.get(m);C||(C=new Promise(w=>{o.value.lazyLoad?.(m,w)}),d.set(m,C));const A=await C;Array.isArray(A)&&A.length>0?i.value.updateChildren(A,g):m.leaf=!0,m.loading=!1,d.delete(m)},k=m=>{const g=m.map(C=>C.value);s.value=g,n("change",g,m),n("pathChange",m),n("update:modelValue",g)},u={async handleNode(m,g){const{disabled:C,loading:A}=m;if(!(!g&&C||!c.value[l.value])){if(i.value.isLeaf(m,f.value)){if(m.leaf=!0,c.value[l.value].selectedNode=m,c.value=c.value.slice(0,m.level+1),!g){const w=c.value.map(B=>B.selectedNode);k(w),n("pathChange",w)}return}if(i.value.hasChildren(m,f.value)){const w=m.level+1;if(c.value[l.value].selectedNode=m,c.value=c.value.slice(0,w),c.value.push({nodes:m.children||[],selectedNode:null}),l.value=w,!g){const B=c.value.map(T=>T.selectedNode);n("pathChange",B)}return}h=m,!A&&(await b(m),h===m&&(c.value[l.value].selectedNode=m,u.handleNode(m,g)))}},handleTabChange(m,g){h=null},formatTabTitle(m){return m.selectedNode?m.selectedNode.text:a("select")},isSelected(m,g){return m.selectedNode&&m.selectedNode.value===g.value}};return t.watch([o,()=>e.options],()=>{S()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,m=>{Me(m,s.value)||(s.value=m,y())}),t.watch(()=>e.visible,m=>{m&&Array.isArray(s.value)&&s.value.length>0&&y()}),{panes:c,panesTitles:p,initLoading:r,tabsCursor:l,...u}}}),iu={class:"fox-cascader"},cu={role:"menu",class:"fox-cascader__pane"},du=["aria-checked","aria-disabled","onClick"],uu={class:"fox-cascader__item__title"},fu=t.createElementVNode("view",{class:"fox-cascader__pane"},null,-1);function mu(e,n,a,o,l,r){const s=t.resolveComponent("TabsBar"),i=t.resolveComponent("Loading"),c=t.resolveComponent("Checklist"),f=t.resolveComponent("TabsPane"),p=t.resolveComponent("TabsContainer");return t.openBlock(),t.createElementBlock("view",iu,[t.createVNode(s,{modelValue:e.tabsCursor,"onUpdate:modelValue":n[0]||(n[0]=d=>e.tabsCursor=d),data:e.panesTitles,onChange:e.handleTabChange,scroll:!0,align:"left"},null,8,["modelValue","data","onChange"]),t.createVNode(p,{modelValue:e.tabsCursor,"onUpdate:modelValue":n[1]||(n[1]=d=>e.tabsCursor=d)},{default:t.withCtx(()=>[!e.initLoading&&e.panes.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.panes,(d,h)=>(t.openBlock(),t.createBlock(f,{"pane-key":h,key:h},{default:t.withCtx(()=>[t.createElementVNode("view",cu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.nodes,S=>(t.openBlock(),t.createElementBlock("view",{key:S.value,class:t.normalizeClass(["fox-cascader__item",{active:e.isSelected(d,S),disabled:S.disabled}]),"aria-checked":e.isSelected(d,S),"aria-disabled":S.disabled||void 0,role:"menuitemradio",onClick:y=>e.handleNode(S,!1)},[t.createElementVNode("view",uu,t.toDisplayString(S.text),1),S.loading?(t.openBlock(),t.createBlock(i,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):(t.openBlock(),t.createBlock(c,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,du))),128))])]),_:2},1032,["pane-key"]))),128)):(t.openBlock(),t.createBlock(f,{key:1,"pane-key":0},{default:t.withCtx(()=>[fu]),_:1}))]),_:1},8,["modelValue"])])}const pu=te(su,[["render",mu]]),{create:hu}=G("cascader"),gu=hu({components:{FoxCascaderPane:pu,FoxPopup:fe},props:{...Fe,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:n}){const a=t.ref(e.modelValue),o=t.computed({get(){return e.visible},set(s){n("update:visible",s)}}),l=(s,i)=>{a.value=s,o.value=!1,n("change",s,i),n("update:modelValue",s)},r=s=>{n("pathChange",s)};return t.watch(()=>e.modelValue,s=>{s!==a.value&&(a.value=s)}),{onChange:l,onPathChange:r,innerValue:a,innerVisible:o}}}),yu=["innerHTML"];function bu(e,n,a,o,l,r){const s=t.resolveComponent("FoxCascaderPane"),i=t.resolveComponent("FoxPopup");return e.poppable?(t.openBlock(),t.createBlock(i,{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,"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,yu)):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 Pn=te(gu,[["render",bu]]);function Pt(e,n){const a=e.textKey??"text";return n[a]??""}function Lt(e,n){const a=e.valueKey??"value";return n[a]}function es(e,n){const a=e.childrenKey??"children";return n[a]}function Ln(e,n=[]){const a={texts:[],values:[]};for(let o=0;o<n.length;o++){const l=n[o],r=Pt(e,l),s=Lt(e,l);a.texts.push(r),a.values.push(s??"")}return a}function ts(e,n,a,o,l=[]){if(!a)return;const r=a[o];for(let s=0;s<n.length;s++)if(Pt(e,n[s])===r){const c=Lt(e,n[s])??"",f={[e.textKey]:r,[e.valueKey]:c};l.push(f);const p=es(e,n[s]);Array.isArray(p)&&ts(e,p,a,o+1,l);return}}function ns(e,n,a,o,l=[]){if(!a)return;const r=a[o];for(let s=0;s<n.length;s++)if(Lt(e,n[s])===r){const c=Pt(e,n[s])??"",f={[e.textKey]:c,[e.valueKey]:r};l.push(f);const p=es(e,n[s]);Array.isArray(p)&&ns(e,p,a,o+1,l);return}}function Wo(e,n,a){if(n===a)return!0;if(n.length!==a.length)return!1;for(let o=0;o<n.length;o++){const l=Pt(e,n[o]),r=Pt(e,a[o]);if(l!==r)return!1;const s=Lt(e,n[o]),i=Lt(e,a[o]);if(s!==i)return!1}return!0}let ku=class{proxy;constructor(n){this.proxy=n}async load(n,a){const o="cascader";if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);const l=Ze(this.proxy,o);return l===null?(console.error(`${o} component not found api function`),[]):(De(a)&&t.isReactive(a)&&(a=t.toRaw(a)),await l(n,a))}};function Su(){const e=t.getCurrentInstance();return new ku(e.proxy)}const os={modelValue:{type:[Array,String]},pathNodes:{type:[Array]},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},showAllLevels:{type:[Boolean],default:!0},separator:{type:[String],default:"/"}};function Cu(e,n,a,o,l,r,s=!1){return{props:{...pe,...be,...os},emits:["update:modelValue","change","pathChange","blur","focus","clear","update:pathNodes","setValue"],setup(i,c){const f=Ee(t.computed(()=>i.disabled)),p=$e(t.computed(()=>i.readonly)),{emitEvent:d}=Te({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return f.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=ie.useFoxI18n(n),S=h(i,["placeholder"]),y=t.ref(!1),b=Su(),k=t.ref([]),u=t.ref([]),m=t.computed(()=>{if(Array.isArray(u.value)){if(i.showAllLevels===!1){const F=u.value.length-1;return u.value[F]}return u.value.join(i.separator)}else return u.value}),g=t.ref([]),C=t.ref([]);t.watch([()=>i.modelValue,()=>k.value],async([F,L])=>{if(d("setValue",F),i.lazy===!0){C.value.length==0&&(g.value=Array.isArray(F)?F:[]);return}if(i.valueType==="item"){let K=F;if(!Wo(i,K,C.value)){C.value=K;let X=Ln(i,K);u.value=X.texts,g.value=X.values}}else if(i.valueType==="text"){let K=F,X=[];if(ts(i,L,K,0,X),!Wo(i,X,C.value)){C.value=X;let _=Ln(i,X);K.value=_.texts,g.value=_.values}}else{let K=[];if(ns(i,L,F,0,K),!Wo(i,K,C.value)){C.value=K;let X=Ln(i,K);u.value=X.texts,g.value=X.values}}}),i.lazy===!0&&(g.value=Array.isArray(i.modelValue)?i.modelValue:[]),t.watch([()=>i.source,()=>i.params],async([F,L])=>{F&&(k.value=await b.load(F,L))},{immediate:!0});const A="fox-input-item",w=t.computed(()=>({[A]:!0,"is-disabled":f.value,"is-readonly":p.value})),B=Ve(t.computed(()=>i.textAlign),"textAlign"),T=t.computed(()=>{const F={};return B.value&&(F["text-align"]=B.value),F}),V=t.ref(!1),E=()=>{f.value===!0||p.value===!0||(V.value=!0)},$=F=>{V.value=F},x=(F,L)=>{let K=L.map(_=>{if(_==null)return _;let le={..._};return Reflect.deleteProperty(le,"text"),le[i.textKey]=_.text??"",Reflect.deleteProperty(le,"value"),le[i.valueKey]=_.value??"",le});C.value=K;let X=Ln(i,K);u.value=X.texts,g.value=X.values,i.valueType==="text"?(d("change",u.value,K),d("update:modelValue",u.value)):i.valueType==="item"?(d("change",K,K),d("update:modelValue",K)):(d("change",g.value,K),d("update:modelValue",g.value)),d("update:pathNodes",K)},P=F=>{let L=F.map(K=>{if(K==null)return K;let X={...K};return Reflect.deleteProperty(X,"text"),X[i.textKey]=K.text??"",Reflect.deleteProperty(X,"value"),X[i.valueKey]=K.value??"",X});d("pathChange",L)},D=F=>{y.value=!0,d("focus",g.value,F)},I=F=>{setTimeout(()=>{y.value=!1},0),d("blur",g.value,F)},R=t.computed(()=>({[`${A}__append`]:!0,"is-disabled":f.value,"is-readonly":p.value})),v=t.computed(()=>ke(i.unit)>0),W=t.computed(()=>ke(i.unit)>0&&!y.value),H=t.computed(()=>({hidden:!W.value})),J=F=>{C.value=[],u.value=[],g.value=[],d("update:modelValue",[]),d("change",[],F),d("clear",[]),d("update:pathNodes",[])},ee=t.computed(()=>i.clearable&&!f.value&&!p.value),Y=t.computed(()=>{let F=g.value&&g.value.length>0;return i.clearable&&F&&y.value}),M=F=>{Y.value?J(F):E()},z=t.computed(()=>Y.value&&ee.value?o:l),q=t.computed(()=>({action:!0}));return()=>{const F={class:w.value,style:T.value,type:"text",maxlength:i.maxLength,placeholder:S.placeholder.value,readonly:!0,unselectable:"on",value:m.value,onClick:E,onFocus:D,onBlur:I};s&&(F.disabled=!0);const L=[],K=t.h("input",F);L.push(K);const X=[],_={class:["action-icon"]},le=t.h(z.value,_),U={class:q.value,onClick:M},j=t.h("view",U,{default:()=>[le]});if(X.push(j),v.value){const Ce=t.h("view",{class:H.value},[i.unit]);X.push(Ce)}const Q={class:R.value},O=t.h("view",Q,{default:()=>X});L.push(O);const Z={default:()=>L};Z.label=c.slots.default,Z.prepend=c.slots.prepend,Z.append=c.slots.append,Z.fixedPreTip=c.slots.fixedPreTip,Z.fixedTip=c.slots.fixedTip;let ne={};ne.visible=V.value,ne["onUpdate:visible"]=$,ne.modelValue=g.value,ne.onChange=x,ne.onPathChange=P,ne.options=k.value,ne.title=i.title,ne.lazy=i.lazy,ne.lazyLoad=i.lazyLoad,ne.valueKey=i.valueKey,ne.textKey=i.textKey,ne.childrenKey=i.childrenKey,ne.convertConfig=i.convertConfig;const re=t.h(r,ne);Z.hide=()=>[re];const se=ut(i,os);return t.h(a,{...se,prop:`${i.prop}_item`},Z)}}}}const{componentName:wu,create:Nu,scope:Bu}=G("cascader-item"),Yo=Nu(Cu(wu,Bu,Be,oe.CircleClose,oe.ArrowRight,Pn,!1));var We=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ls={exports:{}};(function(e,n){(function(a,o){e.exports=o()})(We,function(){var a=1e3,o=6e4,l=36e5,r="millisecond",s="second",i="minute",c="hour",f="day",p="week",d="month",h="quarter",S="year",y="date",b="Invalid Date",k=/^(\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,m={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("_")},g=function(P,D,I){var R=String(P);return!R||R.length>=D?P:""+Array(D+1-R.length).join(I)+P},C={s:g,z:function(P){var D=-P.utcOffset(),I=Math.abs(D),R=Math.floor(I/60),v=I%60;return(D<=0?"+":"-")+g(R,2,"0")+":"+g(v,2,"0")},m:function P(D,I){if(D.date()<I.date())return-P(I,D);var R=12*(I.year()-D.year())+(I.month()-D.month()),v=D.clone().add(R,d),W=I-v<0,H=D.clone().add(R+(W?-1:1),d);return+(-(R+(I-v)/(W?v-H:H-v))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:d,y:S,w:p,d:f,D:y,h:c,m:i,s,ms:r,Q:h}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},A="en",w={};w[A]=m;var B=function(P){return P instanceof $},T=function P(D,I,R){var v;if(!D)return A;if(typeof D=="string"){var W=D.toLowerCase();w[W]&&(v=W),I&&(w[W]=I,v=W);var H=D.split("-");if(!v&&H.length>1)return P(H[0])}else{var J=D.name;w[J]=D,v=J}return!R&&v&&(A=v),v||!R&&A},V=function(P,D){if(B(P))return P.clone();var I=typeof D=="object"?D:{};return I.date=P,I.args=arguments,new $(I)},E=C;E.l=T,E.i=B,E.w=function(P,D){return V(P,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var $=function(){function P(I){this.$L=T(I.locale,null,!0),this.parse(I)}var D=P.prototype;return D.parse=function(I){this.$d=function(R){var v=R.date,W=R.utc;if(v===null)return new Date(NaN);if(E.u(v))return new Date;if(v instanceof Date)return new Date(v);if(typeof v=="string"&&!/Z$/i.test(v)){var H=v.match(k);if(H){var J=H[2]-1||0,ee=(H[7]||"0").substring(0,3);return W?new Date(Date.UTC(H[1],J,H[3]||1,H[4]||0,H[5]||0,H[6]||0,ee)):new Date(H[1],J,H[3]||1,H[4]||0,H[5]||0,H[6]||0,ee)}}return new Date(v)}(I),this.$x=I.x||{},this.init()},D.init=function(){var I=this.$d;this.$y=I.getFullYear(),this.$M=I.getMonth(),this.$D=I.getDate(),this.$W=I.getDay(),this.$H=I.getHours(),this.$m=I.getMinutes(),this.$s=I.getSeconds(),this.$ms=I.getMilliseconds()},D.$utils=function(){return E},D.isValid=function(){return this.$d.toString()!==b},D.isSame=function(I,R){var v=V(I);return this.startOf(R)<=v&&v<=this.endOf(R)},D.isAfter=function(I,R){return V(I)<this.startOf(R)},D.isBefore=function(I,R){return this.endOf(R)<V(I)},D.$g=function(I,R,v){return E.u(I)?this[R]:this.set(v,I)},D.unix=function(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function(){return this.$d.getTime()},D.startOf=function(I,R){var v=this,W=!!E.u(R)||R,H=E.p(I),J=function(K,X){var _=E.w(v.$u?Date.UTC(v.$y,X,K):new Date(v.$y,X,K),v);return W?_:_.endOf(f)},ee=function(K,X){return E.w(v.toDate()[K].apply(v.toDate("s"),(W?[0,0,0,0]:[23,59,59,999]).slice(X)),v)},Y=this.$W,M=this.$M,z=this.$D,q="set"+(this.$u?"UTC":"");switch(H){case S:return W?J(1,0):J(31,11);case d:return W?J(1,M):J(0,M+1);case p:var F=this.$locale().weekStart||0,L=(Y<F?Y+7:Y)-F;return J(W?z-L:z+(6-L),M);case f:case y:return ee(q+"Hours",0);case c:return ee(q+"Minutes",1);case i:return ee(q+"Seconds",2);case s:return ee(q+"Milliseconds",3);default:return this.clone()}},D.endOf=function(I){return this.startOf(I,!1)},D.$set=function(I,R){var v,W=E.p(I),H="set"+(this.$u?"UTC":""),J=(v={},v[f]=H+"Date",v[y]=H+"Date",v[d]=H+"Month",v[S]=H+"FullYear",v[c]=H+"Hours",v[i]=H+"Minutes",v[s]=H+"Seconds",v[r]=H+"Milliseconds",v)[W],ee=W===f?this.$D+(R-this.$W):R;if(W===d||W===S){var Y=this.clone().set(y,1);Y.$d[J](ee),Y.init(),this.$d=Y.set(y,Math.min(this.$D,Y.daysInMonth())).$d}else J&&this.$d[J](ee);return this.init(),this},D.set=function(I,R){return this.clone().$set(I,R)},D.get=function(I){return this[E.p(I)]()},D.add=function(I,R){var v,W=this;I=Number(I);var H=E.p(R),J=function(M){var z=V(W);return E.w(z.date(z.date()+Math.round(M*I)),W)};if(H===d)return this.set(d,this.$M+I);if(H===S)return this.set(S,this.$y+I);if(H===f)return J(1);if(H===p)return J(7);var ee=(v={},v[i]=o,v[c]=l,v[s]=a,v)[H]||1,Y=this.$d.getTime()+I*ee;return E.w(Y,this)},D.subtract=function(I,R){return this.add(-1*I,R)},D.format=function(I){var R=this,v=this.$locale();if(!this.isValid())return v.invalidDate||b;var W=I||"YYYY-MM-DDTHH:mm:ssZ",H=E.z(this),J=this.$H,ee=this.$m,Y=this.$M,M=v.weekdays,z=v.months,q=function(X,_,le,U){return X&&(X[_]||X(R,W))||le[_].slice(0,U)},F=function(X){return E.s(J%12||12,X,"0")},L=v.meridiem||function(X,_,le){var U=X<12?"AM":"PM";return le?U.toLowerCase():U},K={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Y+1,MM:E.s(Y+1,2,"0"),MMM:q(v.monthsShort,Y,z,3),MMMM:q(z,Y),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:q(v.weekdaysMin,this.$W,M,2),ddd:q(v.weekdaysShort,this.$W,M,3),dddd:M[this.$W],H:String(J),HH:E.s(J,2,"0"),h:F(1),hh:F(2),a:L(J,ee,!0),A:L(J,ee,!1),m:String(ee),mm:E.s(ee,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:H};return W.replace(u,function(X,_){return _||K[X]||H.replace(":","")})},D.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},D.diff=function(I,R,v){var W,H=E.p(R),J=V(I),ee=(J.utcOffset()-this.utcOffset())*o,Y=this-J,M=E.m(this,J);return M=(W={},W[S]=M/12,W[d]=M,W[h]=M/3,W[p]=(Y-ee)/6048e5,W[f]=(Y-ee)/864e5,W[c]=Y/l,W[i]=Y/o,W[s]=Y/a,W)[H]||Y,v?M:E.a(M)},D.daysInMonth=function(){return this.endOf(d).$D},D.$locale=function(){return w[this.$L]},D.locale=function(I,R){if(!I)return this.$L;var v=this.clone(),W=T(I,R,!0);return W&&(v.$L=W),v},D.clone=function(){return E.w(this.$d,this)},D.toDate=function(){return new Date(this.valueOf())},D.toJSON=function(){return this.isValid()?this.toISOString():null},D.toISOString=function(){return this.$d.toISOString()},D.toString=function(){return this.$d.toUTCString()},P}(),x=$.prototype;return V.prototype=x,[["$ms",r],["$s",s],["$m",i],["$H",c],["$W",f],["$M",d],["$y",S],["$D",y]].forEach(function(P){x[P[1]]=function(D){return this.$g(D,P[0],P[1])}}),V.extend=function(P,D){return P.$i||(P(D,$,V),P.$i=!0),V},V.locale=T,V.isDayjs=B,V.unix=function(P){return V(1e3*P)},V.en=w[A],V.Ls=w,V.p={},V})})(ls);var Au=ls.exports;const Oe=Ye(Au);var as={exports:{}};(function(e,n){(function(a,o){e.exports=o()})(We,function(){var a={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"},o=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,l=/\d\d/,r=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,i={},c=function(b){return(b=+b)+(b>68?1900:2e3)},f=function(b){return function(k){this[b]=+k}},p=[/[+-]\d\d:?(\d\d)?|Z/,function(b){(this.zone||(this.zone={})).offset=function(k){if(!k||k==="Z")return 0;var u=k.match(/([+-]|\d\d)/g),m=60*u[1]+(+u[2]||0);return m===0?0:u[0]==="+"?-m:m}(b)}],d=function(b){var k=i[b];return k&&(k.indexOf?k:k.s.concat(k.f))},h=function(b,k){var u,m=i.meridiem;if(m){for(var g=1;g<=24;g+=1)if(b.indexOf(m(g,0,k))>-1){u=g>12;break}}else u=b===(k?"pm":"PM");return u},S={A:[s,function(b){this.afternoon=h(b,!1)}],a:[s,function(b){this.afternoon=h(b,!0)}],S:[/\d/,function(b){this.milliseconds=100*+b}],SS:[l,function(b){this.milliseconds=10*+b}],SSS:[/\d{3}/,function(b){this.milliseconds=+b}],s:[r,f("seconds")],ss:[r,f("seconds")],m:[r,f("minutes")],mm:[r,f("minutes")],H:[r,f("hours")],h:[r,f("hours")],HH:[r,f("hours")],hh:[r,f("hours")],D:[r,f("day")],DD:[l,f("day")],Do:[s,function(b){var k=i.ordinal,u=b.match(/\d+/);if(this.day=u[0],k)for(var m=1;m<=31;m+=1)k(m).replace(/\[|\]/g,"")===b&&(this.day=m)}],M:[r,f("month")],MM:[l,f("month")],MMM:[s,function(b){var k=d("months"),u=(d("monthsShort")||k.map(function(m){return m.slice(0,3)})).indexOf(b)+1;if(u<1)throw new Error;this.month=u%12||u}],MMMM:[s,function(b){var k=d("months").indexOf(b)+1;if(k<1)throw new Error;this.month=k%12||k}],Y:[/[+-]?\d+/,f("year")],YY:[l,function(b){this.year=c(b)}],YYYY:[/\d{4}/,f("year")],Z:p,ZZ:p};function y(b){var k,u;k=b,u=i&&i.formats;for(var m=(b=k.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(V,E,$){var x=$&&$.toUpperCase();return E||u[$]||a[$]||u[x].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,D,I){return D||I.slice(1)})})).match(o),g=m.length,C=0;C<g;C+=1){var A=m[C],w=S[A],B=w&&w[0],T=w&&w[1];m[C]=T?{regex:B,parser:T}:A.replace(/^\[|\]$/g,"")}return function(V){for(var E={},$=0,x=0;$<g;$+=1){var P=m[$];if(typeof P=="string")x+=P.length;else{var D=P.regex,I=P.parser,R=V.slice(x),v=D.exec(R)[0];I.call(E,v),V=V.replace(v,"")}}return function(W){var H=W.afternoon;if(H!==void 0){var J=W.hours;H?J<12&&(W.hours+=12):J===12&&(W.hours=0),delete W.afternoon}}(E),E}}return function(b,k,u){u.p.customParseFormat=!0,b&&b.parseTwoDigitYear&&(c=b.parseTwoDigitYear);var m=k.prototype,g=m.parse;m.parse=function(C){var A=C.date,w=C.utc,B=C.args;this.$u=w;var T=B[1];if(typeof T=="string"){var V=B[2]===!0,E=B[3]===!0,$=V||E,x=B[2];E&&(x=B[2]),i=this.$locale(),!V&&x&&(i=u.Ls[x]),this.$d=function(R,v,W){try{if(["x","X"].indexOf(v)>-1)return new Date((v==="X"?1e3:1)*R);var H=y(v)(R),J=H.year,ee=H.month,Y=H.day,M=H.hours,z=H.minutes,q=H.seconds,F=H.milliseconds,L=H.zone,K=new Date,X=Y||(J||ee?1:K.getDate()),_=J||K.getFullYear(),le=0;J&&!ee||(le=ee>0?ee-1:K.getMonth());var U=M||0,j=z||0,Q=q||0,O=F||0;return L?new Date(Date.UTC(_,le,X,U,j,Q,O+60*L.offset*1e3)):W?new Date(Date.UTC(_,le,X,U,j,Q,O)):new Date(_,le,X,U,j,Q,O)}catch{return new Date("")}}(A,T,w),this.init(),x&&x!==!0&&(this.$L=this.locale(x).$L),$&&A!=this.format(T)&&(this.$d=new Date("")),i={}}else if(T instanceof Array)for(var P=T.length,D=1;D<=P;D+=1){B[1]=T[D-1];var I=u.apply(this,B);if(I.isValid()){this.$d=I.$d,this.$L=I.$L,this.init();break}D===P&&(this.$d=new Date(""))}else g.call(this,C)}}})})(as);var Tu=as.exports;const Vu=Ye(Tu);var rs={exports:{}};(function(e,n){(function(a,o){e.exports=o()})(We,function(){return function(a,o,l){var r=o.prototype,s=r.format;l.en.ordinal=function(i){var c=["th","st","nd","rd"],f=i%100;return"["+i+(c[(f-20)%10]||c[f]||c[0])+"]"},r.format=function(i){var c=this,f=this.$locale();if(!this.isValid())return s.bind(this)(i);var p=this.$utils(),d=(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 f.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return f.ordinal(c.week(),"W");case"w":case"ww":return p.s(c.week(),h==="w"?1:2,"0");case"W":case"WW":return p.s(c.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return p.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)(d)}}})})(rs);var $u=rs.exports;const Eu=Ye($u);var ss={exports:{}};(function(e,n){(function(a,o){e.exports=o()})(We,function(){return function(a,o,l){var r=o.prototype,s=function(d){return d&&(d.indexOf?d:d.s)},i=function(d,h,S,y,b){var k=d.name?d:d.$locale(),u=s(k[h]),m=s(k[S]),g=u||m.map(function(A){return A.slice(0,y)});if(!b)return g;var C=k.weekStart;return g.map(function(A,w){return g[(w+(C||0))%7]})},c=function(){return l.Ls[l.locale()]},f=function(d,h){return d.formats[h]||function(S){return S.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(y,b,k){return b||k.slice(1)})}(d.formats[h.toUpperCase()])},p=function(){var d=this;return{months:function(h){return h?h.format("MMMM"):i(d,"months")},monthsShort:function(h){return h?h.format("MMM"):i(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):i(d,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):i(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):i(d,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return f(d.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return p.bind(this)()},l.localeData=function(){var d=c();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return l.weekdays()},weekdaysShort:function(){return l.weekdaysShort()},weekdaysMin:function(){return l.weekdaysMin()},months:function(){return l.months()},monthsShort:function(){return l.monthsShort()},longDateFormat:function(h){return f(d,h)},meridiem:d.meridiem,ordinal:d.ordinal}},l.months=function(){return i(c(),"months")},l.monthsShort=function(){return i(c(),"monthsShort","months",3)},l.weekdays=function(d){return i(c(),"weekdays",null,null,d)},l.weekdaysShort=function(d){return i(c(),"weekdaysShort","weekdays",3,d)},l.weekdaysMin=function(d){return i(c(),"weekdaysMin","weekdays",2,d)}}})})(ss);var Du=ss.exports;const Iu=Ye(Du);var is={exports:{}};(function(e,n){(function(a,o){e.exports=o()})(We,function(){var a="week",o="year";return function(l,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 f=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var p=s(this).startOf(o).add(1,o).date(f),d=s(this).endOf(a);if(p.isBefore(d))return 1}var h=s(this).startOf(o).date(f).startOf(a).subtract(1,"millisecond"),S=this.diff(h,a,!0);return S<0?s(this).startOf("week").week():Math.ceil(S)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(is);var xu=is.exports;const qu=Ye(xu);var cs={exports:{}};(function(e,n){(function(a,o){e.exports=o()})(We,function(){return function(a,o){o.prototype.weekYear=function(){var l=this.month(),r=this.week(),s=this.year();return r===1&&l===11?s+1:l===0&&r>=52?s-1:s}}})})(cs);var vu=cs.exports;const Mu=Ye(vu);var ds={exports:{}};(function(e,n){(function(a,o){e.exports=o()})(We,function(){return function(a,o,l){o.prototype.dayOfYear=function(r){var s=Math.round((l(this).startOf("day")-l(this).startOf("year"))/864e5)+1;return r==null?s:this.add(r-s,"day")}}})})(ds);var Pu=ds.exports;const Lu=Ye(Pu);var us={exports:{}};(function(e,n){(function(a,o){e.exports=o()})(We,function(){return function(a,o){o.prototype.isSameOrAfter=function(l,r){return this.isSame(l,r)||this.isAfter(l,r)}}})})(us);var zu=us.exports;const Fu=Ye(zu);var fs={exports:{}};(function(e,n){(function(a,o){e.exports=o()})(We,function(){return function(a,o){o.prototype.isSameOrBefore=function(l,r){return this.isSame(l,r)||this.isBefore(l,r)}}})})(fs);var Ru=fs.exports;const Ou=Ye(Ru);Oe.extend(Iu),Oe.extend(Eu),Oe.extend(Vu),Oe.extend(qu),Oe.extend(Mu),Oe.extend(Lu),Oe.extend(Fu),Oe.extend(Ou);const ae={format(e,n){return Oe(e).format(n)},parser(e,n){return Oe(e,n).toDate()},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,a){const l=new Date(e+"/"+n+"/"+a).getDay();return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][l]},getMonthPreDay(e,n){let o=new Date(e+"/"+n+"/01").getDay();return o==0&&(o=7),o},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 a=e.getFullYear(),o=this.getNumTwoBit(e.getMonth()+1),l=this.getNumTwoBit(e.getDate());return[a,o,l].join(n)},getDay(e,n){e=e||0;let a=n??new Date;const o=e*(1e3*60*60*24);return a=new Date(a.getTime()+o),this.date2Str(a)},compareDate(e,n){let a;typeof e=="string"?a=new Date(e.replace("-","/").replace("-","/")):a=e;let o;return typeof n=="string"?o=new Date(n.replace("-","/").replace("-","/")):o=n,!(a>=o)},isEqual(e,n){if(e===n)return!0;if(!e||!n)return!1;let a;typeof e=="string"?a=new Date(e).getTime():a=e;let o;return typeof n=="string"?o=new Date(n).getTime():o=n,a==o},getMonthWeek:function(e,n,a,o=0){const l=new Date(Number(e),parseInt(n)-1,Number(a));let r=l.getDay(),s=l.getDate(),i=6-r;return o!==0&&(r=r==0?7:r,i=7-r),Math.ceil((s+i)/7)},getYearWeek:function(e,n,a,o=0){const l=new Date(Number(e),parseInt(n)-1,Number(a)),r=new Date(Number(e),0,1),s=Math.round((l.valueOf()-r.valueOf())/864e5);let i=l.getDay(),c=6-i;return o!==0&&(i=i==0?7:i,c=7-i),Math.ceil((s+c)/7)},getWeekDate:function(e,n,a,o=0){const l=new Date(Number(e),parseInt(n)-1,Number(a)),r=l.getTime();let s=l.getDay();if(o===0){const c=r-s*864e5,f=r+(6-s)*864e5,p=this.date2Str(new Date(c)),d=this.date2Str(new Date(f));return[p,d]}else{s=s==0?7:s;const i=24*60*60*1e3,c=r-(s-1)*i,f=r+(7-s)*i,p=this.date2Str(new Date(c)),d=this.date2Str(new Date(f));return[p,d]}},formatResultDate:function(e){let n=[...e.split("-")];return n[2]=ae.getNumTwoBit(Number(n[2])),n[3]=`${n[0]}-${n[1]}-${n[2]}`,n[4]=ae.getWhatDay(+n[0],+n[1],+n[2]),n},inScope4Day(e,n,a){const o=new Date(new Date(n).setDate(n.getDate()+a)),l=e.getTime(),r=o.getTime(),s=n.getTime();return r>s?l>=s&&l<=r:l>=r&&l<=s},inScope4Month(e,n,a){const o=new Date(new Date(n).setMonth(n.getMonth()+a)),l=e.getTime(),r=o.getTime(),s=n.getTime();return r>s?l>=s&&l<=r:l>=r&&l<=s}},ms=new Date().getFullYear(),Xo={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",time:"HH:mm:ss","year-month":"YYYY-MM","month-day":"MM-DD",datehour:"YYYY-MM-DD HH","hour-minute":"HH:mm"},zn=(e,n,a)=>{let o;if(Ue(n)?o=n:typeof n=="string"&&ke(n)>0?o=ae.parser(n,a):o=new Date,o.toString()==="Invalid Date")return null;let l=Math.max(o.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),new Date(l)},Qo=(e,n,a)=>{Ue(n)||(n=e.minDate);let o=Math.max(n.getTime(),e.minDate.getTime());return o=Math.min(o,e.maxDate.getTime()),ae.format(new Date(o),a)};let Go={modelValue:{type:[String,Date]},confirmText:{type:String},cancelText:{type:String},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(ms-10,0,1),validator:Ue},maxDate:{type:Date,default:()=>new Date(ms+10,11,31),validator:Ue},visibleItemCount:{type:[Number,String],default:7},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3},teleportDisable:{type:Boolean}};const{create:Ku,scope:Uu}=G("date-picker"),Hu=Ku({components:{[kt.name]:kt},props:{...Go},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:a}=ie.useFoxI18n(Uu),o={day:a("day"),year:a("year"),month:a("month"),hour:a("hour"),minute:a("minute"),seconds:a("seconds")},l=t.ref(!1);t.watch(()=>e.visible,m=>{l.value=m});function r(m,g){return new Date(m,g,0).getDate()}const s=(m,g)=>{const C=e[`${m}Date`],A=C.getFullYear();let w=1,B=1,T=0,V=0;m==="max"&&(w=12,B=r(g.getFullYear(),g.getMonth()+1),T=23,V=59);const E=V;return g.getFullYear()===A&&(w=C.getMonth()+1,g.getMonth()+1===w&&(B=C.getDate(),g.getDate()===B&&(T=C.getHours(),g.getHours()===T&&(V=C.getMinutes())))),{[`${m}Year`]:A,[`${m}Month`]:w,[`${m}Date`]:B,[`${m}Hour`]:T,[`${m}Minute`]:V,[`${m}Seconds`]:E}},i=t.computed(()=>{if(!h.value)return[];const{maxYear:m,maxDate:g,maxMonth:C,maxHour:A,maxMinute:w,maxSeconds:B}=s("max",h.value),{minYear:T,minDate:V,minMonth:E,minHour:$,minMinute:x,minSeconds:P}=s("min",h.value);let D=[{type:"year",range:[T,m]},{type:"month",range:[E,C]},{type:"day",range:[V,g]},{type:"hour",range:[$,A]},{type:"minute",range:[x,w]},{type:"seconds",range:[P,B]}];switch(e.type){case"date":D=D.slice(0,3);break;case"datetime":D=D.slice(0,5);break;case"time":D=D.slice(3,6);break;case"year-month":D=D.slice(0,2);break;case"month-day":D=D.slice(1,3);break;case"datehour":D=D.slice(0,4);break;case"hour-minute":D=D.slice(3,5);break}return D}),c=(m,g,C)=>{if(!(g>m))return null;const A=[];for(;m<=g;)e.isShowChinese?A.push({text:m+o[C],value:m}):A.push({text:`${m}`,value:m}),C==="minute"?m+=e.minuteStep:m++;return A},f=t.computed(()=>{let m=[];return i.value.forEach(g=>{let C=c(g.range[0],g.range[1],g.type);C&&m.push(C)}),m}),p=(m,g)=>m==="year"?g.getFullYear():m==="month"?g.getMonth()+1:m==="day"?g.getDate():m==="hour"?g.getHours():m==="minute"?g.getMinutes():m==="seconds"?g.getSeconds():0,d=t.ref(),h=t.ref(null);t.watch(()=>e.modelValue,m=>{let g;if(typeof m=="string"?m.length==0?g=new Date:e.valueFormat?g=zn(e,e.modelValue,e.valueFormat):g=zn(e,m,Xo[e.type]):Ue(m)?g=m:g=new Date,!!g&&(!h.value||g.getTime()!==h.value.getTime())){h.value=g;let C=[];i.value.forEach(A=>{let w=p(A.type,g);C.push(w)}),d.value=C}},{immediate:!0});const S=m=>{if(e.type==="date"){const g=m[0],C=m[1]-1,A=Math.min(m[2],r(g,C+1));A!==m[2]&&(m[2]=A),h.value=new Date(g,C,A)}else if(e.type==="datetime"){const g=m[0],C=m[1]-1,A=Math.min(m[2],r(g,C+1)),w=m[3],B=m[4];A!==m[2]&&(m[2]=A),h.value=new Date(g,C,A,w,B)}else if(e.type==="time"){const g=m[0],C=m[1],A=m[2],w=h.value??new Date,B=new Date(w.getFullYear(),w.getMonth(),w.getDate(),g,C,A);h.value=B}else if(e.type==="year-month"){const g=m[0],C=m[1]-1;h.value=new Date(g,C)}else if(e.type==="month-day"){const C=(h.value??new Date).getFullYear(),A=m[0]-1,w=Math.min(m[1],r(C,A+1));w!==m[1]&&(m[1]=w);const B=new Date(C,A,w);h.value=B}else if(e.type==="datehour"){const g=m[0],C=m[1]-1,A=Math.min(m[2],r(g,C+1)),w=m[3];A!==m[2]&&(m[2]=A),h.value=new Date(g,C,A,w)}else if(e.type==="hour-minute"){const g=m[0],C=m[1],A=h.value??new Date,w=new Date(A.getFullYear(),A.getMonth(),A.getDate(),g,C);h.value=w}d.value=m};return{columns:f,dateIndexs:d,show:l,onChange:m=>{S(m)},onClose:()=>{l.value=!1,n("update:visible",!1),n("update:close",!1)},onConfirm:m=>{S(m),l.value=!1;let g=h.value??new Date;if(e.valueFormat){let C=Qo(e,g,e.valueFormat);n("update:modelValue",C)}else n("update:modelValue",g);n("update:visible",!1),n("confirm",m)},onClear:()=>{n("clear")}}}});function ju(e,n,a,o,l,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,onChange:e.onChange,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","onChange","onConfirm","onClose","onClear","visible-item-count","three-dimensional","swipe-duration","teleport-disable"])}const Fn=te(Hu,[["render",ju]]),Wu={format:{type:String},placeholder:{type:String},textAlign:{type:String},clearable:{type:Boolean,default:!0}};function Yu(e){let n=e.format;if(!n){let a=e.type??"date";n=Xo[a]}return n}function Xu(e,n,a,o,l,r,s=!1){return{props:{...pe,...be,...Go,...Wu},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(i,c){const f=Ee(t.computed(()=>i.disabled)),p=$e(t.computed(()=>i.readonly)),{emitEvent:d}=Te({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return f.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=ie.useFoxI18n(n),S=h(i,["placeholder"]),y=t.ref(!1),k=ve(i,"modelValue",M=>M==null?null:typeof M=="string"?M.length==0?null:i.valueFormat?zn(i,M,i.valueFormat)??M:zn(i,M,Xo[i.type])??M:Ue(M)?M:null,d),u=t.computed(()=>{if(!k.value)return"";const M=Yu(i);return Qo(i,k.value,M)}),m="fox-input-item",g=t.computed(()=>({[m]:!0,"is-disabled":f.value,"is-readonly":p.value})),C=Ve(t.computed(()=>i.textAlign),"textAlign"),A=t.computed(()=>{const M={};return C.value&&(M["text-align"]=C.value),M}),w=t.ref(!1),B=()=>{w.value=!0},T=()=>{w.value=!1};c.expose({showPicker:B,hidePicker:T});const V=M=>{w.value=M},E=M=>{if(k.value=M,i.valueFormat){let z=Qo(i,M,i.valueFormat);d("update:modelValue",z,{}),d("change",z,{})}else d("update:modelValue",M,{}),d("change",M,{})},$=M=>{let q=M.target.value;y.value=!0,d("focus",q,M)},x=M=>{setTimeout(()=>{y.value=!1},0);let q=M.target.value;i.maxLength&&q.length>Number(i.maxLength)&&(q=q.slice(0,Number(i.maxLength))),d("blur",q,M)},P=t.computed(()=>({[`${m}__append`]:!0,"is-disabled":f.value,"is-readonly":p.value})),D=t.computed(()=>ke(i.unit)>0),I=t.computed(()=>ke(i.unit)>0&&!y.value),R=t.computed(()=>({hidden:!I.value})),v=M=>{k.value="",d("update:modelValue","",M),d("change","",M),d("clear",""),T()},W=t.computed(()=>i.clearable&&!f.value&&!p.value),H=t.computed(()=>{let M=ke(k.value)>0;return i.clearable&&M&&y.value}),J=M=>{H.value?v(M):B()},ee=t.computed(()=>H.value&&W.value?o:l),Y=t.computed(()=>({action:!0}));return()=>{const M={class:g.value,style:A.value,type:"text",maxlength:i.maxLength,placeholder:S.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:B,onFocus:$,onBlur:x};s&&(M.disabled=!0);const z=[],q=t.h("input",M);z.push(q);const F=[],L={class:["action-icon"]},K=t.h(ee.value,L),X={class:Y.value,onClick:J},_=t.h("view",X,{default:()=>[K]});if(F.push(_),D.value){const se=t.h("view",{class:R.value},[i.unit]);F.push(se)}const le={class:P.value},U=t.h("view",le,{default:()=>F});z.push(U);const j={default:()=>z};j.label=c.slots.default,j.prepend=c.slots.prepend,j.append=c.slots.append,j.fixedPreTip=c.slots.fixedPreTip,j.fixedTip=c.slots.fixedTip;const Q=Se(i,Go);Q.valueFormat=null,Q.disabled=!1,Q.readonly=f.value||p.value,Q.visible=w.value,Q["onUpdate:visible"]=V,Q.modelValue=k.value,Q["onUpdate:modelValue"]=E,Q.onClear=v;const O={};if(c.slots.top){const se=c.slots.top();O.top=()=>se}if(c.slots.bottom){const se=c.slots.bottom();O.default=()=>se}const Z=t.h(r,Q,O);j.hide=()=>[Z];const ne=Se(i,be,pe);return t.h(a,{...ne,prop:`${i.prop}_item`},j)}}}}const{create:Qu,componentName:Gu,scope:Zu}=G("date-item"),Zo=Qu(Xu(Gu,Zu,Be,oe.CircleClose,oe.Date,Fn,!1)),Ju=39,_u=64,{create:ef,scope:tf}=G("calendar-pane"),nf=ef({props:{type:{type:String,default:"one"},valueFormat:{type:String,default:"YYYY-MM-DD"},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:ae.getDay(0)},endDate:{type:String,default:ae.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:a}){const{toLocaleRefs:o,t:l}=ie.useFoxI18n(tf),r=o(e,["title","confirmText","startText","endText","today"]),s=JSON.parse(l("weekdays")),i=t.ref([...s.slice(e.firstDayOfWeek,7),...s.slice(0,e.firstDayOfWeek)]),c=t.ref(null),f=t.ref(null),p=t.ref(null),d=t.ref(null),h=t.ref(0),S=t.computed(()=>u.monthsData.slice(u.defaultRange[0],u.defaultRange[1])),y=t.computed(()=>a.btn),b=t.computed(()=>a["top-info"]),k=t.computed(()=>a["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,containerHeight:0,avgHeight:0,monthsNum:0}),m=L=>L.split("-"),g=L=>ae.isEqual(u.currDate[0],L),C=L=>ae.isEqual(u.currDate[1],L),A=L=>u.currDate?.length>0?u.currDate?.some(K=>ae.isEqual(K,L)):!1,w=(L,K)=>K.curData[0]+"-"+K.curData[1]+"-"+ae.getNumTwoBit(+L.day),B=(L,K)=>{const X=w(L,K),{type:_}=e;return L.type=="curr"?ae.isEqual(u.currDate,X)||(_=="range"||_=="week")&&(g(X)||C(X))||_=="multiple"&&A(X)?`${u.dayPrefix}--active`:u.propStartDate&&ae.compareDate(X,u.propStartDate)||u.propEndDate&&ae.compareDate(u.propEndDate,X)?`${u.dayPrefix}--disabled`:(_=="range"||_=="week")&&Array.isArray(u.currDate)&&Object.values(u.currDate).length==2&&ae.compareDate(u.currDate[0],X)&&ae.compareDate(X,u.currDate[1])?`${u.dayPrefix}--choose`:null:`${u.dayPrefix}--disabled`},T=()=>{const{type:L}=e;if(L=="range"&&u.chooseData.length==2||L!="range"){let K=u.chooseData.slice(0);L=="week"&&(K={weekDate:[E(u.chooseData[0]),E(u.chooseData[1])]}),n("choose",K),e.poppable&&n("update")}},V=(L,K,X=!1)=>{if(B(L,K)!=`${u.dayPrefix}--disabled`){const{type:_}=e;let[le,U]=K.curData,j=[...K.curData];if(j[2]=ae.getNumTwoBit(Number(L.day)),j[3]=`${j[0]}-${j[1]}-${j[2]}`,j[4]=ae.getWhatDay(+j[0],+j[1],+j[2]),_=="multiple")if(u.currDate?.length>0){let Q;u.currDate?.forEach((O,Z)=>{O==j[3]&&(Q=Z)}),X?u.chooseData.push([...j]):Q!==void 0?(u.currDate.splice(Q,1),u.chooseData.splice(Q,1)):(u.currDate.push(j[3]),u.chooseData.push([...j]))}else u.currDate=[j[3]],u.chooseData=[[...j]];else if(_=="range"){let Q=Object.values(u.currDate).length;Q==2||Q==0?u.currDate=[j[3]]:ae.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]]:ae.compareDate(u.chooseData[0][3],j[3])?u.chooseData=[...u.chooseData,[...j]]:u.chooseData=[[...j],...u.chooseData]}else if(_=="week"){let Q=ae.getWeekDate(le,U,L.day,e.firstDayOfWeek);u.propStartDate&&ae.compareDate(Q[0],u.propStartDate)&&Q.splice(0,1,u.propStartDate),u.propEndDate&&ae.compareDate(u.propEndDate,Q[1])&&Q.splice(1,1,u.propEndDate),u.currDate=Q,u.chooseData=[ae.formatResultDate(Q[0]),ae.formatResultDate(Q[1])]}else u.currDate=j[3],u.chooseData=[...j];if(!X){let Q=u.chooseData;_=="week"&&(Q={weekDate:[E(u.chooseData[0]),E(u.chooseData[1])]}),n("select",Q),(e.isAutoBackFill||!e.poppable)&&T()}}},E=L=>{let[K,X,_]=L;return{date:L,monthWeekNum:ae.getMonthWeek(K,X,_,e.firstDayOfWeek),yearWeekNum:ae.getYearWeek(K,X,_,e.firstDayOfWeek)}},$=L=>{const K=L=="prev"?u.monthsData[0]:u.monthsData[u.monthsData.length-1];let X=parseInt(K.curData[0]),_=parseInt(K.curData[1].toString().replace(/^0/,""));switch(L){case"prev":_==1&&(X-=1),_=_==1?12:--_;break;case"next":_==12&&(X+=1),_=_==12?1:++_;break}return[X+"",ae.getNumTwoBit(_),ae.getMonthDays(String(X),String(_))+""]},x=(L,K,X)=>{let{year:_,month:le}=X;return K=="prev"&&L>=7&&(L-=7),Array.from(Array(L),(U,j)=>({day:String(j+1),type:K,year:_,month:le}))},P=(L,K,X,_)=>{L=L-e.firstDayOfWeek;let{year:le,month:U}=X;return K=="prev"&&L>=7&&(L-=7),Array.from(Array(_),(Q,O)=>({day:String(O+1),type:K,year:le,month:U})).slice(_-L)},D=(L,K)=>{const X=ae.getMonthPreDay(+L[0],+L[1]);let _=Number(L[1])-1,le=Number(L[0]);_<=0&&(_=12,le+=1);const U=ae.getMonthDays(String(L[0]),String(L[1])),j=ae.getMonthDays(le+"",_+""),Q={year:L[0],month:L[1]},O={curData:L,title:l("monthTitle",{year:Q.year,month:Q.month}),monthData:[...P(X,"prev",{month:String(_),year:String(le)},j),...x(U,"curr",Q)],cssHeight:0,cssScrollHeight:0},Z=O.monthData.length>35?6:5;O.cssHeight=Ju+_u*Z;let ne=0;u.monthsData.length>0&&(ne=u.monthsData[u.monthsData.length-1].cssScrollHeight+u.monthsData[u.monthsData.length-1].cssHeight),O.cssScrollHeight=ne,K=="next"?(!u.endData||!ae.compareDate(`${u.endData[0]}-${u.endData[1]}-${ae.getMonthDays(u.endData[0],u.endData[1])}`,`${L[0]}-${L[1]}-${L[2]}`))&&u.monthsData.push(O):!u.startData||!ae.compareDate(`${L[0]}-${L[1]}-${L[2]}`,`${u.startData[0]}-${u.startData[1]}-01`)?u.monthsData.unshift(O):u.unLoadPrev=!0},I=()=>{let L=e.startDate?e.startDate:ae.getDay(0),K=e.endDate?e.endDate:ae.getDay(365);u.propStartDate=L,u.propEndDate=K,u.startData=m(L),u.endData=m(K),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(u.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const X={year:Number(u.startData[0]),month:Number(u.startData[1])},_={year:Number(u.endData[0]),month:Number(u.endData[1])};let le=_.month-X.month;_.year-X.year>0&&(le=le+12*(_.year-X.year)),le<=0&&(le=1),D(u.startData,"next");let U=1;do D($("next"),"next");while(U++<le);if(u.monthsNum=le,e.type=="range"&&Array.isArray(u.currDate))u.currDate.length>0&&(L&&ae.compareDate(u.currDate[0],L)&&u.currDate.splice(0,1,L),K&&ae.compareDate(K,u.currDate[1])&&u.currDate.splice(1,1,K),u.defaultData=[...m(u.currDate[0]),...m(u.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(u.currDate)){if(u.currDate.length>0){let j=[],Q={};u.currDate.forEach(O=>{L&&!ae.compareDate(O,L)&&K&&!ae.compareDate(K,O)&&(Object.hasOwnProperty.call(Q,O)||(j.push(O),Q[O]=O))}),u.currDate=[...j],u.defaultData=[...m(j[0])]}}else if(e.type=="week"&&Array.isArray(u.currDate)){if(u.currDate.length>0){let[j,Q,O]=m(u.currDate[0]),Z=ae.getWeekDate(j,Q,O,e.firstDayOfWeek);u.currDate=Z,L&&ae.compareDate(u.currDate[0],L)&&u.currDate.splice(0,1,L),K&&ae.compareDate(K,u.currDate[1])&&u.currDate.splice(1,1,K),u.defaultData=[...m(u.currDate[0]),...m(u.currDate[1])]}}else u.currDate&&(L&&ae.compareDate(u.currDate,L)?u.currDate=L:K&&!ae.compareDate(u.currDate,K)&&(u.currDate=K),u.defaultData=[...m(u.currDate)])};xe({scrollToDate:L=>{ae.compareDate(L,u.propStartDate)?L=u.propStartDate:ae.compareDate(L,u.propEndDate)||(L=u.propEndDate);let K=m(L);u.monthsData.forEach((X,_)=>{if(X.title==l("monthTitle",{year:K[0],month:K[1]})&&c.value){let le=u.monthsData[_].cssScrollHeight-c.value.scrollTop;if(e.toDateAnimation){let U=0,j=setInterval(()=>{if(U++,c.value){let Q=le/10;c.value.scrollTop=c.value.scrollTop+Q}U>=10&&(clearInterval(j),c.value&&(c.value.scrollTop=u.monthsData[_].cssScrollHeight))},40)}else c.value.scrollTop=u.monthsData[_].cssScrollHeight}})},initPosition:()=>{c?.value&&(c.value.scrollTop=u.monthsData[u.currentIndex].cssScrollHeight)},doLayout:()=>{let L=0,K=0;u.defaultData.length>0&&u.monthsData.forEach((le,U)=>{le.title==l("monthTitle",{year:u.defaultData[0],month:u.defaultData[1]})&&(L=U),(e.type=="range"||e.type=="week")&&le.title==l("monthTitle",{year:u.defaultData[3],month:u.defaultData[4]})&&(K=U)}),H(u.monthsNum,L),u.currentIndex=L,u.yearMonthTitle=u.monthsData[u.currentIndex].title,u.defaultData.length>0&&(u.isRange?(V({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0),V({day:u.defaultData[5],type:"curr"},u.monthsData[K],!0)):e.type=="week"?V({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0):e.type=="multiple"?[...u.currDate].forEach(le=>{let U=m(le),j=u.currentIndex;u.monthsData.forEach((Q,O)=>{Q.title==l("monthTitle",{year:U[0],month:U[1]})&&(j=O)}),V({day:U[2],type:"curr"},u.monthsData[j],!0)}):V({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0));let X=u.monthsData[u.monthsData.length-1],_=X.cssHeight+X.cssScrollHeight;Qe(()=>{c?.value&&f?.value&&d?.value&&(h.value=c.value.clientHeight,f.value.style.height=`${_}px`,c.value.scrollTop=u.monthsData[u.currentIndex].cssScrollHeight)}),u.avgHeight=Math.floor(_/(u.monthsNum+1))}});const H=(L,K)=>{L>=3?K>0&&K<L?u.defaultRange=[K-1,K+3]:K==0?u.defaultRange=[K,K+4]:K==L&&(u.defaultRange=[K-2,K+2]):u.defaultRange=[0,L+2];let X=u.monthsData[u.defaultRange[0]].cssScrollHeight;u.translateY=X},J=(L,K)=>(e.type=="range"||e.type=="week")&&L.type=="curr"&&B(L,K)=="fox-calendar__day--active",ee=(L,K)=>J(L,K)&&g(w(L,K)),Y=(L,K)=>u.currDate.length>=2&&C(w(L,K))?J(L,K):!1,M=()=>{if(u.currDate.length>=2)return ae.isEqual(u.currDate[0],u.currDate[1])},z=L=>{const K=`${L.year}-${L.month}-${Number(L.day)<10?"0"+L.day:L.day}`;return ae.isEqual(K,ae.date2Str(new Date))},q=L=>{if(u.monthsData.length<=1)return;const K=L.target.scrollTop;let X=Math.floor(K/u.avgHeight);if(X==0)K>=u.monthsData[X+1].cssScrollHeight&&(X+=1);else if(X>0&&X<u.monthsNum-1)K>=u.monthsData[X+1].cssScrollHeight&&(X+=1),K<u.monthsData[X].cssScrollHeight&&(X-=1);else{const _=Math.round(K+h.value);_<u.monthsData[X].cssScrollHeight+u.monthsData[X].cssHeight&&K>u.monthsData[X-1].cssScrollHeight&&(X-=1),X+1<=u.monthsNum&&_>=u.monthsData[X+1].cssScrollHeight+u.monthsData[X+1].cssHeight&&(X+=1),X>=1&&K<u.monthsData[X-1].cssScrollHeight&&(X-=1)}u.currentIndex!==X&&(u.currentIndex=X,H(u.monthsNum,X)),u.yearMonthTitle=u.monthsData[X].title},F=()=>{u.chooseData.splice(0),u.monthsData.splice(0),I()};return I(),t.watch(()=>e.defaultValue,L=>{L&&e.poppable&&F()}),{weeks:i,compConthsData:S,showTopBtn:y,topInfo:b,bottomInfo:k,rangeTip:M,mothsViewScroll:q,getClass:B,isStartTip:ee,isEndTip:Y,chooseDay:V,isCurrDay:z,confirm:T,months:c,...t.toRefs(u),...t.toRefs(e),...r,monthsPanel:f,weeksPanel:p,viewArea:d}}}),of={class:"fox-calendar__header"},lf={key:0,class:"fox-calendar__header-title"},af={key:1,class:"fox-calendar__header-slot"},rf={key:2,class:"fox-calendar__header-subtitle"},sf={class:"fox-calendar__weekdays",ref:"weeksPanel"},cf={class:"fox-calendar__panel",ref:"monthsPanel"},df={class:"fox-calendar__month-title"},uf={class:"fox-calendar__days"},ff=["onClick"],mf={class:"fox-calendar__day-value"},pf={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},hf={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},gf={key:2,class:"fox-calendar__day-tips--curr"},yf={key:4,class:"fox-calendar__day-tip"},bf={key:0,class:"fox-calendar__footer"};function kf(e,n,a,o,l,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",of,[e.showTitle?(t.openBlock(),t.createElementBlock("view",lf,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",af,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",rf,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",sf,[(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:n[0]||(n[0]=(...s)=>e.mothsViewScroll&&e.mothsViewScroll(...s))},[t.createElementVNode("view",cf,[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",df,t.toDisplayString(s.title),1),t.createElementVNode("view",uf,[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,f)=>(t.openBlock(),t.createElementBlock("view",{key:f,class:t.normalizeClass(["fox-calendar__day",e.getClass(c,s)]),onClick:p=>e.chooseDay(c,s)},[t.createElementVNode("view",mf,[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",pf,[t.renderSlot(e.$slots,"top-info",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",hf,[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",gf,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",yf,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],10,ff))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",bf,[t.createElementVNode("view",{class:"fox-calendar__confirm",onClick:n[1]||(n[1]=(...s)=>e.confirm&&e.confirm(...s))},t.toDisplayString(e.confirmText),1)])):t.createCommentVNode("",!0)],2)}const ps=te(nf,[["render",kf]]),Sf=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),Rn={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},endDate:{type:String},firstDayOfWeek:{type:Number,default:0,validator:e=>e>=0&&e<=6}},{create:Cf}=G("calendar"),wf=Cf({components:{[ps.name]:ps,[fe.name]:fe},props:{...Rn},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:a}){const o=t.computed(()=>a.btn),l=t.computed(()=>a["top-info"]),r=t.computed(()=>a.day),s=t.computed(()=>a["bottom-info"]),i=t.ref(null),c=b=>{i.value?.scrollToDate(b)},f=()=>{i.value?.initPosition()};t.watch(()=>e.visible,b=>{b&&t.nextTick(()=>{i.value?i.value.doLayout():setTimeout(()=>{i.value&&i.value.doLayout()},250)})}),xe({scrollToDate:c,initPosition:f});const p=()=>{n("update:visible",!1)},d=()=>{n("close"),n("update:visible",!1)};return{closePopup:()=>{d()},update:p,close:d,select:b=>{n("select",b)},choose:b=>{d(),n("choose",b)},calendarRef:i,showTopBtn:o,topInfo:l,dayInfo:r,bottomInfo:s}}});function Nf(e,n,a,o,l,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 On=te(wf,[["render",Nf]]),hs={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}},Jo=(e,n)=>{let a;return Ue(e)?a=e:typeof e=="string"&&ke(e)>0?a=ae.parser(e,n):a=new Date,a},St=(e,n,a)=>(Ue(n)||(n=new Date),ae.format(n,a)),Ct=e=>{let n=`${e.getFullYear()}`,a=`${e.getMonth()+1}`,o=`${e.getDate()}`,l=ae.date2Str(e),r=ae.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[n,a,o,l,r]};function Bf(e,n,a,o,{CloseIcon:l,MarkIcon:r},s=!1){return{props:{...pe,...be,...Rn,...hs},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(i,c){const f=Ee(t.computed(()=>i.disabled)),p=$e(t.computed(()=>i.readonly)),{emitEvent:d}=Te({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return f.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=ie.useFoxI18n(n),S=h(i,["placeholder"]),y=t.ref(!1),b=t.computed(()=>i.type==="range"),k=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),u=()=>{k.startDate!==null&&(k.startDate=null,k.endDate=null,k.startArray=[],k.endArray=[])},m=(q,F="one",L="YYYY-MM-DD")=>{if(Sf(q)){u();return}if(b.value&&Array.isArray(q)&&q.length==2){let K,X;typeof q[0]=="string"?(K=Jo(q[0],L),X=Jo(q[1],L)):(K=q[0],X=q[1]);let _=Ct(K),le=Ct(X);(k.startDate===null||k.startDate.getTime()!==K.getTime()||k.endDate?.getTime()!==X.getTime())&&(k.startDate=K,k.startArray=_,k.endDate=X,k.endArray=le)}else{let K;typeof q=="string"?K=Jo(q,L):K=q;let X=Ct(K);(k.startDate===null||k.startDate.getTime()!==K.getTime())&&(k.startDate=K,k.startArray=X)}};m(i.modelValue,i.type,i.valueFormat),t.watch(()=>i.modelValue,q=>{m(q,i.type,i.valueFormat),d("setValue",q)});const g=t.computed(()=>{if(k.startDate===null)return"";if(b.value){let q=St(i,k.startDate,i.format),F=St(i,k.endDate,i.format);return`${q} ${i.rangeSeparator} ${F}`}else{let q=St(i,k.startDate,i.format);return i.showWeek&&(q=`${q} ${k.startArray[4]}`),q}}),C=t.computed(()=>{if(k.startDate===null)return null;if(b.value){let q=ae.date2Str(k.startDate),F=ae.date2Str(k.endDate??new Date);return[q,F]}else return ae.date2Str(k.startDate)}),A="fox-input-item",w=t.computed(()=>({[A]:!0,"is-disabled":f.value,"is-readonly":p.value})),B=Ve(t.computed(()=>i.textAlign),"textAlign"),T=t.computed(()=>{const q={};return B.value&&(q["text-align"]=B.value),q}),V=t.ref(!1),E=()=>{p.value||f.value||(V.value=!0)},$=q=>{V.value=q},x=q=>{if(q){if(b.value&&Array.isArray(q)){let F=q[0],L=me(F[0]),K=me(F[1]),X=me(F[2]),_=new Date(L,K-1,X),le=q[1];L=me(le[0]),K=me(le[1]),X=me(le[2]);let U=new Date(L,K-1,X);if(k.startDate=_,k.startArray=Ct(_),k.endDate=U,k.endArray=Ct(U),i.valueFormat){let j=St(i,_,i.valueFormat),Q=St(i,U,i.valueFormat);d("update:modelValue",[j,Q],{})}else d("update:modelValue",[_,U],{})}else{let F=q,L=me(F[0]),K=me(F[1]),X=me(F[2]),_=new Date(L,K-1,X);if(k.startDate=_,k.startArray=Ct(_),i.valueFormat){let le=St(i,_,i.valueFormat);d("update:modelValue",le,{})}else d("update:modelValue",_,{})}d("change",q,{})}},P=q=>{let L=q.target.value;y.value=!0,d("focus",L,q)},D=q=>{setTimeout(()=>{y.value=!1},0);let L=q.target.value;i.maxLength&&L.length>Number(i.maxLength)&&(L=L.slice(0,Number(i.maxLength))),d("blur",L,q)},I=t.computed(()=>({[`${A}__append`]:!0,"is-disabled":f.value,"is-readonly":p.value})),R=t.computed(()=>ke(i.unit)>0),v=t.computed(()=>ke(i.unit)>0&&!y.value),W=t.computed(()=>({hidden:!v.value})),H=q=>{u(),d("update:modelValue",null,q),d("change","",q),d("clear","")},J=t.computed(()=>i.clearable&&!f.value&&!p.value),ee=t.computed(()=>{let q=ke(g.value)>0;return i.clearable&&q&&y.value}),Y=q=>{ee.value?H(q):E()},M=t.computed(()=>ee.value&&J.value?l:r),z=t.computed(()=>({action:!0}));return()=>{const q={class:w.value,style:T.value,type:"text",maxlength:i.maxLength,placeholder:S.placeholder.value,readonly:!0,unselectable:"on",value:g.value,onClick:E,onFocus:P,onBlur:D};s&&(q.disabled=!0);const F=[],L=t.h("input",q);F.push(L);const K=[],X={class:["action-icon"]},_=t.h(M.value,X),le={class:z.value,onClick:Y},U=t.h("view",le,{default:()=>[_]});if(K.push(U),R.value){const Ce=t.h("view",{class:W.value},[i.unit]);K.push(Ce)}const j={class:I.value},Q=t.h("view",j,{default:()=>K});F.push(Q);const O={default:()=>F};O.label=c.slots.default,O.prepend=c.slots.prepend,O.append=c.slots.append,O.fixedPreTip=c.slots.fixedPreTip,O.fixedTip=c.slots.fixedTip;const Z=Se(i,Rn);Z.visible=V.value,Z["onUpdate:visible"]=$,Z["default-value"]=C.value,Z.onChoose=x;const ne={};if(c.slots.btn){const Ce=c.slots.btn();ne.btn=()=>Ce}c.slots.day&&(ne.day=c.slots.day),c.slots.topInfo&&(ne.topInfo=c.slots.topInfo),c.slots.bottomInfo&&(ne.bottomInfo=c.slots.bottomInfo);const re=t.h(a,Z,ne);O.hide=()=>[re];const se=ut(i,Rn,hs);return t.h(o,{...se,prop:`${i.prop}_item`},O)}}}}const{componentName:Af,create:Tf,scope:Vf}=G("calendar-item"),_o=Tf(Bf(Af,Vf,On,Be,{CloseIcon:oe.CircleClose,MarkIcon:oe.Date},!1)),$f={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 Ef(e,{CheckNormal:n,Checked:a}){return{props:{...$f},setup(o,{emit:l,slots:r}){const s=t.inject("parent",null),i=wn(),c=t.computed(()=>s.label.value===o.label),f=t.computed(()=>s.position),p=()=>{const b=[];if(c.value){if(r.checkedIcon)return r.checkedIcon();{const k=de(o.iconSize),u=o.checkedIcon??i.radio.Checked??a;return b.push("fox-radio__icon"),o.disabled&&b.push("is-disabled"),o.readonly&&b.push("is-readonly"),t.h(u,{width:k,height:k,class:b})}}else{if(r.icon)return r.icon();{const k=de(o.iconSize),u=o.icon??i.radio.CheckNormal??n;return b.push("fox-radio__icon--unchecked"),o.disabled&&b.push("is-disabled"),o.readonly&&b.push("is-readonly"),t.h(u,{width:k,height:k,class:b})}}},d=()=>{const b=[`${e}__label`];return o.disabled&&b.push("is-disabled"),o.readonly&&b.push("is-readonly"),t.h("view",{class:b},r.default?.())},h=()=>{const b=[`${e}__button`];return c.value&&b.push(`${e}__button--active`),o.disabled&&b.push("is-disabled"),o.readonly&&b.push("is-readonly"),t.h("view",{class:b},r.default?.())},S=()=>{c.value||o.disabled||o.readonly||s.updateValue(o.label)},y=f.value==="left";return()=>t.h("view",{class:`${e} ${e}--${o.shape} ${y?`${e}--reverse`:""}`,onClick:S},[o.shape=="button"?h():y?[d(),p()]:[p(),d()]])}}}const{componentName:Df,create:If}=G("radio"),Kn=If(Ef(Df,{CheckNormal:oe.CheckNormal,Checked:oe.CheckChecked})),{componentName:gs,create:xf}=G("radio-group"),Un=xf({props:{modelValue:{type:[Object],default:""},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String}},emits:["change","update:modelValue"],setup(e,{slots:n}){const{emitEvent:a}=ht(),o=l=>a("update:modelValue",l);return t.provide("parent",{label:t.readonly(t.computed(()=>e.modelValue)),position:e.textPosition,updateValue:o}),t.watch(()=>e.modelValue,l=>a("change",l)),()=>{const l={};return e.textAlign&&(l["text-align"]=e.textAlign),t.h("view",{class:`${gs} ${gs}--${e.direction}`,style:l},n.default?.())}}});function ys(e,n,a,o="value"){for(let l=0;l<n.length;l++){let r=n[l];if(o==="text"){if(Hn(e,r)===a)return l}else if(o==="item"){if(Me(a,r))return l}else if(zt(e,r)===a)return l}return-1}function Hn(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function zt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function qf(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function vf(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}let Mf=class{proxy;constructor(n){this.proxy=n}async load(n,a,o){if(Array.isArray(a))return a;if(typeof a=="function")return await a(o);let l=Ze(this.proxy,n);return l===null?(console.error(`${n} component not found api function`),[]):(De(o)&&t.isReactive(o)&&(o=t.toRaw(o)),await l(a,o))}};function Pf(){const e=t.getCurrentInstance();return new Mf(e.proxy)}function Lf(e){return{text:e,value:e}}const bs={shape:{type:String,default:"round"},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number],default:""}},zf={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String}},Ff={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,Object],default:""}};function Rf(e,n,a,o,l){return{props:{...pe,...be,...bs,...zf,...Ff},emits:["change","update:modelValue","setValue"],setup(r,s){const i=$e(t.computed(()=>r.readonly)),c=Ee(t.computed(()=>r.disabled)),f=Ve(t.computed(()=>r.textAlign),"textAlign"),{emitEvent:p}=Te({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return i.value},get disabled(){return c.value}},r.prop??s.attrs.name),d=Pf(),h=t.ref([]);t.watch([()=>r.source,()=>r.params],async([u,m])=>{if(u){const g=await d.load("radio",u,m);if(g.length>0)if(typeof g[0]=="string"){const w=g.map(B=>Lf(B));h.value=w}else h.value=g;else h.value=[]}},{immediate:!0});let S=t.ref(-1);t.watch([()=>r.modelValue,()=>h.value],async([u,m])=>{S.value=ys(r,m,u,r.valueType),p("setValue",u)},{deep:!0});const y=t.computed(()=>{if(!r.source)return r.modelValue;if(S.value===-1)return null;const u=h.value[S.value];return zt(r,u)}),b=u=>{let m=null,g=null;if(h.value.length>0){let C=ys(r,h.value,u,"value");S.value=C,C>=0&&(g=h.value[C],r.valueType==="text"?m=Hn(r,g):r.valueType==="item"?m=g:m=zt(r,g))}else m=u;p("update:modelValue",m),p("change",m,g)},k=()=>{let u=null,m=null;if(h.value.length>0&&S.value!==-1){let g=h.value[S.value];r.valueType==="text"?u=Hn(r,g):r.valueType==="item"?u=g:u=zt(r,g)}p("update:modelValue",u),p("change",u,m)};if(xe({clear(){S.value!==-1&&(S.value=-1,k())}}),r.source){const u=()=>{const m=[],g=Se(r,bs);return h.value.forEach((C,A)=>{const w=zt(r,C),B=qf(r,C);let T={...g,label:w,disabled:B};const V=vf(r,C,A);T={...T,...V},c.value&&(T.disabled=!0),i.value&&(T.readonly=!0);const E={};if(s.slots.icon&&(E.icon=s.slots.icon),s.slots.checkedIcon&&(E.checkedIcon=s.slots.checkedIcon),typeof s.slots.text=="function"){const x=s.slots.text(C);E.default=()=>[x]}else{const x=Hn(r,C);E.default=()=>x}let $=t.h(l,T,E);m.push($)}),m};return()=>{const m=u(),g={class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:f.value,modelValue:y,"onUpdate:modelValue":b},C=t.h(o,g,{default:()=>m}),A={default:()=>C};A.label=s.slots.default,A.prepend=s.slots.prepend,A.append=s.slots.append,A.fixedPreTip=s.slots.fixedPreTip,A.fixedTip=s.slots.fixedTip;const w=Se(r,be,pe);return t.h(a,{...w,prop:`${r.prop}_item`},A)}}else return()=>{const u=s.slots.options?.()??[];return t.h(o,{class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:f.value,modelValue:y,"update:modelValue":b},{default:()=>u})}}}}const{componentName:Of,create:Kf,scope:Uf}=G("radio-item"),el=Kf(Rf(Of,Uf,Be,Un,Kn)),Hf=(e,{CheckNormal:n,Checked:a,Indeterminate:o})=>({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(l,{slots:r}){const{emitEvent:s}=ht(),i=wn(),c=t.inject("parent",null),f=t.reactive({partialSelect:l.indeterminate});t.watch(()=>l.indeterminate,g=>{f.partialSelect=g});const p=t.computed(()=>!!c),d=t.computed(()=>p.value?c.value.value.includes(l.label):!!l.modelValue),h=t.computed(()=>p.value?c.position:l.textPosition);let S="";const y=(g,C)=>{S="click",s("update:modelValue",g),s("change",g,C)};t.watch(()=>l.modelValue,g=>{S=="click"?S="":s("change",g)});const b=()=>{const g=[];if(f.partialSelect){if(r.indeterminateIcon)return r.indeterminateIcon();{const C=de(l.iconSize),A=l.indeterminateIcon??i.checkbox.Indeterminate??o;return g.push("fox-checkbox__icon--indeterminate"),l.disabled&&g.push("is-disabled"),l.readonly&&g.push("is-readonly"),t.h(A,{width:C,height:C,class:g})}}else if(d.value){if(r.checkedIcon)return r.checkedIcon();{const C=de(l.iconSize),A=l.checkedIcon??i.checkbox.Checked??a;return g.push("fox-checkbox__icon"),l.disabled&&g.push("is-disabled"),l.readonly&&g.push("is-readonly"),t.h(A,{width:C,height:C,class:g})}}else{if(r.icon)return r.icon();{const C=de(l.iconSize),A=l.icon??i.checkbox.CheckNormal??n;return g.push("fox-checkbox__icon--unchecked"),l.disabled&&g.push("is-disabled"),l.readonly&&g.push("is-readonly"),t.h(A,{width:C,height:C,class:g})}}},k=()=>{const g=[`${e}__label`];return l.disabled&&g.push("is-disabled"),l.readonly&&g.push("is-readonly"),t.h("view",{class:g},r.default?.())},u=()=>{const g=[`${e}__button`];return d.value&&g.push(`${e}__button--active`),l.disabled&&g.push("is-disabled"),l.readonly&&g.push("is-readonly"),t.h("view",{class:g},r.default?.())},m=g=>{if(!(l.disabled||l.readonly)){if(d.value&&f.partialSelect){f.partialSelect=!1,y(d.value,r.default?.()[0].children);return}if(y(!d.value,r.default?.()[0].children),p.value){const C=c.value.value,A=c.max.value,{label:w}=l,B=C.indexOf(w);B>-1?C.splice(B,1):B<=-1&&(C.length<A||!A)&&C.push(w),c.updateValue(C)}}};return t.onMounted(()=>{p.value&&c.link(t.getCurrentInstance())}),t.onBeforeUnmount(()=>{p.value&&c.unlink(t.getCurrentInstance())}),()=>t.h("view",{class:`${e} ${e}--${l.shape} ${h.value==="left"?`${e}--reverse`:""}`,onClick:m},[l.shape=="button"?u():[b(),k()]])}}),{componentName:jf,create:Wf}=G("checkbox"),jn=Wf(Hf(jf,{CheckNormal:oe.CheckNormal,Checked:oe.Checked,Indeterminate:oe.CheckDisabled})),{create:Yf,componentName:ks}=G("checkbox-group"),Wn=Yf({props:{modelValue:{type:Array,default:()=>[]},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},emits:["change","update:modelValue"],setup(e,{slots:n}){const{emitEvent:a}=ht(),o=t.reactive({children:[]}),l=f=>{f.proxy&&o.children.push(f.proxy)},r=f=>{f.proxy&&(o.children=o.children.filter(p=>p!==f.proxy))},s=f=>{a("update:modelValue",f),a("change",f)},i=f=>{const p=[];f&&o.children.forEach(d=>{d?.disabled||p.push(d?.label)}),a("update:modelValue",p)},c=()=>{const f=o.children.filter(p=>p?.disabled?!1:!e.modelValue.includes(p.label)).map(p=>p.label);a("update:modelValue",f)};return t.provide("parent",{value:t.computed(()=>Array.isArray(e.modelValue)?e.modelValue:[]),position:e.textPosition,max:t.computed(()=>e.max),updateValue:s,link:l,unlink:r}),t.watch(()=>e.modelValue,f=>{a("change",f)}),xe({toggleAll:i,toggleReverse:c}),()=>{const f={};return e.textAlign&&(f["text-align"]=e.textAlign),t.h("view",{class:`${ks} ${ks}--${e.direction}`,style:f},n.default?.())}}});function Ss(e,n,a,o="value"){for(let l=0;l<n.length;l++){let r=n[l];if(o==="text"){if(tl(e,r)===a)return l}else if(o==="item"){if(Me(a,r))return l}else if(Yn(e,r)===a)return l}return-1}function tl(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Yn(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Xf(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function Qf(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}let Gf=class{proxy;constructor(n){this.proxy=n}async load(n,a,o){if(Array.isArray(a))return a;if(typeof a=="function")return await a(o);let l=Ze(this.proxy,n);return l===null?(console.error(`${n} component not found api function`),[]):(De(o)&&t.isReactive(o)&&(o=t.toRaw(o)),await l(a,o))}};function Zf(){const e=t.getCurrentInstance();return new Gf(e.proxy)}function Jf(e){return{text:e,value:e}}const _f={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},Cs={icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},shape:{type:String,default:"round"}},em={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:[]}};function tm(e,n,a,o,l){return{props:{...pe,...be,..._f,...Cs,...em},emits:["change","update:modelValue","setValue"],setup(r,s){const i=Ee(t.computed(()=>r.disabled)),c=$e(t.computed(()=>r.readonly)),f=Ve(t.computed(()=>r.textAlign),"textAlign"),{emitEvent:p}=Te({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return c.value},get disabled(){return i.value}},r.prop??s.attrs.name),d=Zf(),h=t.ref([]);t.watch([()=>r.source,()=>r.params],async([u,m])=>{if(u){const g=await d.load("checkbox",u,m);if(g.length>0)if(typeof g[0]=="string"){const w=g.map(B=>Jf(B));h.value=w}else h.value=g;else h.value=[]}},{immediate:!0});const S=t.ref([]);t.watch([()=>r.modelValue,()=>h.value],async([u,m])=>{const g=[];Array.isArray(u)&&u.forEach(C=>{let A=Ss(r,m,C,r.valueType);A!==-1&&g.push(A)}),!Me(g,S.value)&&(S.value=g,p("setValue",g))},{deep:!0});const y=t.computed(()=>{if(!r.source)return r.modelValue;let u=[];return S.value.forEach(m=>{let g=h.value[m];u.push(Yn(r,g))}),u}),b=u=>{let m=[],g=[];if(h.value.length>0){const C=[];Array.isArray(u)&&u.forEach(A=>{let w=Ss(r,h.value,A,"value");w!==-1&&C.push(w);const B=h.value[w];g.push(B),r.valueType==="text"?m.push(tl(r,B)):r.valueType==="item"?m.push(B):m.push(Yn(r,B))}),S.value=C}else m=u;p("update:modelValue",m),p("change",m,g)},k=t.ref();if(xe({toggleAll:u=>{k.value.toggleAll(u)},toggleReverse:()=>{k.value.toggleReverse()}}),r.source){const u=()=>{const m=[],g=Se(r,Cs);return h.value.forEach((C,A)=>{const w=Yn(r,C),B=Xf(r,C);let T={...g,label:w,disabled:B};const V=Qf(r,C,A);T={...T,...V},i.value&&(T.disabled=!0),c.value&&(T.readonly=!0);const E={};if(s.slots.icon&&(E.icon=s.slots.icon),s.slots.checkedIcon&&(E.checkedIcon=s.slots.checkedIcon),s.slots.indeterminateIcon&&(E.indeterminateIcon=s.slots.indeterminateIcon),typeof s.slots.text=="function"){const x=s.slots.text(C);E.default=()=>[x]}else{const x=tl(r,C);E.default=()=>x}let $=t.h(l,T,E);m.push($)}),m};return()=>{const m=u(),g={class:`${e}`,ref:k,direction:r.direction,max:r.max,textPosition:r.textPosition,modelValue:y.value,"onUpdate:modelValue":b},C=t.h(o,g,{default:()=>m}),A={default:()=>C};A.label=s.slots.default,A.prepend=s.slots.prepend,A.append=s.slots.append,A.fixedPreTip=s.slots.fixedPreTip,A.fixedTip=s.slots.fixedTip;const w=Se(r,be,pe);return t.h(a,{...w,prop:`${r.prop}_item`},A)}}else return()=>{const u=s.slots.options?.()??[];return t.h("view",{class:`${e}`,ref:k,direction:r.direction,max:r.max,textPosition:r.textPosition,textAlign:f.value,modelValue:y,"onUpdate:modelValue":b},{default:()=>u})}}}}const{componentName:nm,create:om,scope:lm}=G("checkbox-item"),nl=om(tm(nm,lm,Be,Wn,jn)),ol={modelValue:{type:[String,Boolean,Number],default:!1},disabled:{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:am,create:rm}=G("switch"),sm=rm({components:{Loading1:oe.Loading1},props:{...ol},emits:["change","update:modelValue","update:loading"],setup(e,{emit:n}){const a=t.computed(()=>e.modelValue===e.activeValue),o=t.computed(()=>{const i=am;return{[i]:!0,[a.value?"fox-switch-open":"fox-switch-close"]:!0,[`${i}-base`]:!0,"is-disabled":e.disabled}}),l=t.computed(()=>({backgroundColor:a.value?e.activeColor:e.inactiveColor}));let r="";const s=i=>{if(e.disabled||e.loading)return;r="click";const c=a.value?e.inactiveValue:e.activeValue;n("update:modelValue",c),n("change",c,i)};return t.watch(()=>e.modelValue,i=>{r=="click"?r="":n("change",i)}),{classes:o,style:l,isActive:a,onClick:s}}}),im={class:"fox-switch-button"};function cm(e,n,a,o,l,r){const s=t.resolveComponent("Loading1");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...i)=>e.onClick&&e.onClick(...i)),style:t.normalizeStyle(e.style)},[t.createElementVNode("view",im,[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 Xn=te(sm,[["render",cm]]);function dm(e,n,a,o){return{props:{...pe,...be,...ol},emits:["change","update:modelValue","setValue"],setup(l,r){const s=Ee(t.computed(()=>l.disabled)),i=$e(t.computed(()=>l.readonly)),{emitEvent:c}=Te({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return i.value},get disabled(){return s.value}},l.prop??r.attrs.name),f=e,p=ve(l,"modelValue",null,c),d=h=>{p.value=h,c("update:modelValue",h,{}),c("change",h,{})};return()=>{const S={...Se(l,ol),disabled:s.value||i.value,value:p.value,"onUpdate:modelValue":d},y=[],b=t.h(o,S);y.push(b);const k={default:()=>y};k.label=r.slots.default,k.fixedPreTip=r.slots.fixedPreTip,k.fixedTip=r.slots.fixedTip;const u=Se(l,be,pe);return u["content-class"]=f,t.h(a,{...u,prop:`${l.prop}_item`},k)}}}}const{componentName:um,create:fm,scope:mm}=G("switch-item"),ll=fm(dm(um,mm,Be,Xn));function pm(e,n,a,o){return{props:{...pe,...be,placeholder:{type:String,default:""},textAlign:{type:String},modelValue:{type:[String],required:!1},desc:{type:[String],required:!1},icon:{type:[Object],required:!1},iconSize:{type:[String],required:!1,default:""}},emits:["click","focus","blur","change"],setup(l,r){const s=Ee(t.computed(()=>l.disabled)),i=$e(t.computed(()=>l.readonly)),{emitEvent:c}=Te({componentName:e,validateCheckEvents:["change"],validateResetEvents:["focus"],get readonly(){return i.value},get disabled(){return s.value}},l.prop??r.attrs.name),{toLocaleRefs:f}=ie.useFoxI18n(n),p=f(l,["placeholder"]),d=t.ref(l.modelValue);t.watch(()=>l.modelValue,x=>{d.value=x,c("change",x)});const h=t.computed(()=>({[`${e}`]:!0})),S=t.computed(()=>({[`${e}__main`]:!0,[`${e}__placeholder`]:!s.value&&ue(d.value),"is-disabled":s.value,"is-readonly":i.value})),y=Ve(t.computed(()=>l.textAlign),"textAlign"),b=t.computed(()=>{const x={};return y.value&&(x["text-align"]=y.value),x}),k=t.computed(()=>!ue(l.modelValue)||r.slots.main?!0:!!ue(l.desc)),u=t.computed(()=>ue(d.value)?p.placeholder.value:d.value),m=t.computed(()=>!ue(l.desc)||r.slots.sub),g=t.computed(()=>({[`${e}__sub`]:!0})),C=t.computed(()=>{const x={};return y.value&&(x["text-align"]=y.value),x}),A=()=>{c("focus",d.value)},w=()=>{c("blur",d.value)},B=t.computed(()=>({[`${e}__append`]:!0,"is-disabled":s.value,"is-readonly":i.value})),T=t.computed(()=>ke(l.unit)>0),V=x=>{s.value==!0||i.value==!0||c("click")},E=t.computed(()=>l.icon??a),$=t.computed(()=>({action:!0}));return()=>{const x=[];if(typeof r.slots.content=="function"){const M=r.slots.content();x.push(M)}else{const M=[];if(k.value){const F={tabIndex:0,class:S.value,style:b.value,onFocus:A,onBlur:w};let L=null;r.slots.main?L=t.h("view",F,[r.slots.main(u.value)]):L=t.h("view",F,[u.value]),M.push(L)}if(m.value){const F={tabIndex:0,class:g.value,style:C.value,onFocus:A,onBlur:w};let L=null;r.slots.sub?L=t.h("view",F,[r.slots.sub(l.desc)]):L=t.h("view",F,[l.desc]),M.push(L)}const z={class:h.value,onClick:V},q=t.h("view",z,M);x.push(q)}const P=[],D=de(l.iconSize);let I=r.slots.icon;if(!I){const M={width:D,height:D,class:["action-icon"]};I=t.h(E.value,M)}const R={class:$.value,onClick:V},v=t.h("view",R,{default:()=>[I]});if(P.push(v),T.value){const M=t.h("view",{},[l.unit]);P.push(M)}const W={class:B.value},H=t.h("view",W,{default:()=>P});x.push(H);const J={default:()=>x};J.label=r.slots.default,J.prepend=r.slots.prepend,J.append=r.slots.append,J.fixedPreTip=r.slots.fixedPreTip,J.fixedTip=r.slots.fixedTip;const ee=Se(l,be,pe);return t.h(o,{...ee,prop:`${l.prop}_item`},J)}}}}const{componentName:hm,create:gm,scope:ym}=G("link-item"),al=gm(pm(hm,ym,oe.ArrowRight,Be)),rl={count:{type:[String,Number],default:5},modelValue:{type:[String,Number],default:0},customIcon:{type:Object},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}},{create:bm,componentName:km}=G("rate"),Sm=bm({props:{...rl},emits:["update:modelValue","change"],setup(e,{emit:n,slots:a}){const o=t.ref([]),l=t.computed(()=>({[km]:!0})),r=S=>{n("update:modelValue",S),n("change",S)},s=(S,y)=>{if(e.disabled||e.readonly)return;let b=0;y===1&&e.modelValue===y||(b=y,e.allowHalf&&S==2&&(b-=.5)),r(b)},i=(S,y,b)=>{let k=0;for(let u=y.value.length-1;u>=0;u--){const m=y.value[u];if(S>m.offsetLeft){b?k=u+(S>m.offsetLeft+m.clientWidth/2?1:.5):k=u+1;break}}return k},c=_e(),f={onTouchStart(S){!e.touchable||e.readonly||c.start(S)},onTouchMove(S){e.touchable&&(c.move(S),c.isHorizontal()&&o.value&&(S.preventDefault(),r(i(c.moveX.value,o,e.allowHalf))))}},p=Math.random().toString(36).slice(-8),d=t.computed(()=>e.customIcon??oe.StarFillN);return{classes:l,...f,onClick:s,toPxDesc:ge,renderIcon:(S,y)=>t.h(S,y),rateRefs:o,refRandomId:p,slots:a,customIcon:d}}}),Cm=["id"],wm={class:"fox-rate-item__icon--full"},Nm={key:0,class:"fox-rate-item__icon--half"},Bm={key:1,class:"fox-rate-item__icon--half"};function Am(e,n,a,o,l,r){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(s<Number(e.count)?{marginRight:e.toPxDesc(e.spacing)}:{})},[t.createElementVNode("view",wm,[(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",Nm,[(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",Bm,[(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,Cm))),128))],34)}const wt=te(Sm,[["render",Am]]);function Tm(e,n,a,o){return{props:{...pe,...be,...rl},emits:["change","update:modelValue","setValue"],setup(l,r){const s=Ee(t.computed(()=>l.disabled)),i=$e(t.computed(()=>l.readonly)),{emitEvent:c}=Te({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return i.value},get disabled(){return s.value}},l.prop??r.attrs.name),f=e,p=ve(l,"modelValue",null,c),d=h=>{p.value=h,c("update:modelValue",h,{}),c("change",h,{})};return()=>{const S={...Se(l,rl),disabled:s.value,readonly:i.value,value:p.value,"onUpdate:modelValue":d},y=[],b=t.h(o,S);y.push(b);const k={default:()=>y};if(r.slots.default){const g=r.slots.default();k.label=()=>g}const u=Se(l,be,pe);return u["content-class"]=f,t.h(a,u,k)}}}}const{componentName:Vm,create:$m,scope:Em}=G("rate-item"),sl=$m(Tm(Vm,Em,Be,wt)),Dm=/scroll|auto|overlay/i,ws=window;function Im(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function il(e,n=ws){let a=e;for(;a&&a!==n&&Im(a);){const{overflowY:o}=window.getComputedStyle(a);if(Dm.test(o))return a;a=a.parentNode}return n}function Ns(e,n=ws){const a=t.ref();return t.onMounted(()=>{e.value&&(a.value=il(e.value,n))}),a}const Bs=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,xm={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},immediate:{type:[Boolean],default:!1}};function qm(e,n,a){return{props:{...xm},emits:["scroll-change","load-more","update:modelValue"],setup(o,{emit:l,slots:r}){const{toLocaleRefs:s}=ie.useFoxI18n(n),i=s(o,["pullText","loadText","loadMoreText"]),c=t.ref(),f=Ns(c),p=t.reactive({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),d=t.computed(()=>({[e]:!0})),h=m=>m?m.offsetTop+h(m.offsetParent):0,S=()=>{let m=0,g=0,C="down";if(f.value==window){const A=Bs();c.value&&(m=h(c.value)+c.value.offsetHeight-A-window.innerHeight),g=A}else{const{scrollHeight:A,clientHeight:w,scrollTop:B}=f.value;m=A-w-B,g=B}return p.beforeScrollTop>g?C="up":C="down",p.beforeScrollTop=g,l("scroll-change",g),m<=o.threshold&&C=="down"},y=()=>{Qe(()=>{if(!S()||!o.hasMore||p.isInfiniting)return!1;p.isInfiniting=!0,l("update:modelValue",!0),t.nextTick(()=>l("load-more"))})},b=()=>{f.value&&f.value.addEventListener("scroll",y,o.useCapture)},k=()=>{f.value&&f.value.removeEventListener("scroll",y,o.useCapture)};t.onMounted(()=>{b(),o.immediate&&y()}),t.onUnmounted(()=>{k()});const u=t.ref(!1);return t.onActivated(()=>{u.value&&(u.value=!1,b())}),t.onDeactivated(()=>{u.value=!0,k()}),t.watch(()=>o.modelValue,m=>{m||(p.isInfiniting=!1)}),()=>{const m={class:"fox-infinite__container"},g=t.h("view",m,[r?.default?.()]),C=[];if(p.isInfiniting){let T=r?.loading?.()??null;if(!T){let $=r?.loadingIcon?.()??null;if(!$){const D={class:["fox-infinite__bottom-box__img"]};$=t.h(a,D)}const x={class:"fox-infinite__bottom-box__text"},P=t.h("view",x,[i.loadText.value]);T=[$,P]}const V={class:"fox-infinite__bottom-box"},E=t.h("view",V,T);C.push(E)}else if(!o.hasMore){let T=r?.finished?.()??null;if(!T){const V={class:"fox-infinite__bottom-tips"};T=t.h("view",V,[i.loadMoreText.value]),C.push(T)}}const A={class:"fox-infinite__bottom"},w=t.h("view",A,C),B={class:d.value,ref:c};return t.h("view",B,[g,w])}}}}const{componentName:vm,create:Mm,scope:Pm}=G("infinite-loading"),Qn=Mm(qm(vm,Pm,oe.Loading)),{componentName:Lm,create:zm}=G("button"),Fm=zm({components:{Loading:oe.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:n,slots:a}){const{type:o,size:l,shape:r,disabled:s,loading:i,color:c,plain:f,block:p}=t.toRefs(e),d=y=>{!i.value&&!s.value&&n("click",y)},h=t.computed(()=>{const y=Lm;return{[y]:!0,[`${y}--${o.value}`]:o.value,[`${y}--${l.value}`]:l.value,[`${y}--${r.value}`]:r.value,[`${y}--plain`]:f.value,[`${y}--block`]:p.value,[`${y}--disabled`]:s.value,[`${y}--loading`]:i.value}}),S=t.computed(()=>{const y={};return c?.value&&(f.value?(y.color=c.value,y.background="#fff",c.value?.includes("gradient")||(y.borderColor=c.value)):(y.color="#fff",y.background=c.value)),y});return{handleClick:d,classes:h,getStyle:S}}}),Rm={class:"fox-button__wrap"};function Om(e,n,a,o,l,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.createElementVNode("view",Rm,[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 Le=te(Fm,[["render",Om]]),Km={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},background:{type:String,default:""},inputBackground:{type:String,default:""},focusStyle:{type:Object,default:()=>({})},autofocus:{type:Boolean,default:!1},autoblur:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},Um=(e,n,a)=>({props:{...Km},emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(o,{slots:l}){const{emitEvent:r}=ht(),{toLocaleRefs:s}=ie.useFoxI18n(n),i=s(o,["placeholder"]),c=t.reactive({active:!1}),f=t.computed(()=>({background:o.background})),p=t.computed(()=>({background:o.inputBackground})),d=V=>{let $=V.target.value;o.maxLength&&$.length>Number(o.maxLength)&&($=$.slice(0,Number(o.maxLength))),r("update:modelValue",$,V),r("change",$,V)},h=t.ref({}),S=V=>{let $=V.target.value;c.active=!0,h.value=o.focusStyle,r("focus",$,V)},y=V=>{setTimeout(()=>{c.active=!1},0);let $=V.target.value;o.maxLength&&$.length>Number(o.maxLength)&&($=$.slice(0,Number(o.maxLength))),h.value={},r("blur",$,V)},b=V=>{r("update:modelValue","",V),r("change","",V),r("clear","")},k=t.computed(()=>String(o.modelValue).length>0),u=t.computed(()=>{const V={};return k.value||(V.display="none"),V}),m=V=>{o.autoblur&&B.value?.blur(),(typeof V.cancelable!="boolean"||V.cancelable)&&V.preventDefault(),r("search",o.modelValue)},g=V=>{r("keyup-input",V)},C=V=>{r("click-input",V)},A=V=>{r("click-left-icon",o.modelValue,V)},w=t.computed(()=>({textAlign:o.inputAlign})),B=t.ref(null);t.onMounted(()=>{o.autofocus&&B.value.focus()});const T=()=>{const V=[];if(l.leftin){const R={class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:A},v=t.h("view",R,[l.leftin()]);V.push(v)}const E={class:`${e}__input-inner-input`,ref:B,style:w.value,type:o.inputType,maxlengt:o.maxLength,placeholder:i.placeholder.value,value:o.modelValue,disabled:o.disabled,readonly:o.readonly,onClick:C,onInput:d,onFocus:S,onBlur:y,onkeyup:g},$=t.h("input",E),x={class:[`${e}__input-inner`],action:"#",onSubmit:m},P=t.h("form",x,[$]);V.push(P);const D=[];if(o.clearable){const R={class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:u.value,onClick:b},v=l?.clear?.()??o.clearIcon??a,W=t.h("view",R,[t.h(v)]);D.push(W)}if(l.rightin){const R={class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},v=t.h("view",R,[l.rightin()]);D.push(v)}if(D.length>0){const R={class:`${e}__input-inner-right`},v=t.h("view",R,D);V.push(v)}const I={class:[`${e}__search-input`,`${o.shape}`],style:{...p.value,...h.value}};return t.h("view",I,V)};return()=>{const V=[];if(o.label){const x={class:`${e}__search-label`},P=t.h("span",x,[o.label]);V.push(P)}if(l.leftout){const x={class:[`${e}__search-icon`,`${e}__left-search-icon`]},P=t.h("view",x,[l.leftout()]);V.push(P)}const E=T();if(V.push(E),l.rightout){const x={class:[`${e}__search-icon`,`${e}__right-search-icon`]},P=t.h("view",x,[l.rightout()]);V.push(P)}const $={class:`${e}`,style:f.value};return t.h("view",$,V)}}}),{componentName:Hm,create:jm,scope:Wm}=G("searchbar"),Gn=jm(Um(Hm,Wm,oe.CircleClose)),Zn={poppable:{type:[Boolean],default:!1},modelValue:{type:[Array,Number,String,Object],default(){return[]}},visible:{type:[Boolean]},disabled:{type:[Boolean,String],required:!1},textPosition:{type:[String],required:!1},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"},subTextKey:{type:String,required:!1,default:"subText"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number]},pageSize:{type:[Number],required:!1,default:10},optionsHeight:{type:[String],required:!1},multiple:{type:[Boolean]},position:{type:[String],default:"bottom"},closeOnClickOverlay:{type:[Boolean],default:!0},title:{type:[String]},confirmText:{type:[String]},loadText:{type:[String]},loadMoreText:{type:[String]},isAutoBackFill:{type:[Boolean]},showHeader:{type:[Boolean],default:!0},showFooter:{type:[Boolean],default:!0},showSearchbar:{type:[Boolean],default:!0},searchKey:{type:String,required:!1,default:"keyword"},seachPlaceholder:{type:String,required:!1},searchDelayTriggerClear:{type:Number,default:250},popClass:{type:String,required:!1},popCloseable:{type:Boolean,required:!1,default:!0},beforeMethod:{type:Function},beforeClose:{type:Function}};function Ym(e,n,a,o="value"){for(let l=0;l<n.length;l++){let r=n[l];if(o==="text"){if(Jn(e,r)===a)return l}else if(o==="item"){if(Me(a,r))return l}else if(Ts(e,r)===a)return l}return-1}function Jn(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function As(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function Ts(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Xm(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function Qm(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}let Gm=class{proxy;constructor(n){this.proxy=n}async load(n,a,o,l,r,s,i){if(Array.isArray(a)){let f=a;typeof i=="function"&&(f=f.filter(i));let p=(o-1)*l,d=p+l;d>f.length&&(d=f.length);const h=f.slice(p,d);return{totalSize:f.length,page:h}}if(typeof a=="function")return await Reflect.apply(a,null,[o,l,r,s]);const c=Ze(this.proxy,n);return c===null?(console.error(`${n} component not found api function`),{totalSize:0,page:[]}):(De(r)&&t.isReactive(r)&&(r=t.toRaw(r)),await Reflect.apply(c,null,[a,o,l,r]))}};function Zm(){const e=t.getCurrentInstance();return new Gm(e.proxy)}function Jm(e,n,a,o,l,r,s,i,c,f,p){return{props:{...Zn},emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(d,{slots:h}){const{emitEvent:S}=ht(),{toLocaleRefs:y}=ie.useFoxI18n(n),b=y(d,["title","loadText","loadMoreText","seachPlaceholder","confirmText"]),k=Zm(),u=t.ref([]),m=t.ref(0),g=t.ref(""),C=t.shallowRef(null),A=t.computed(()=>{const U={};return d.params&&Object.assign(U,d.params),ue(g.value)||(U[`${d.searchKey}`]=g.value),C.value&&Object.assign(U,C.value),U});let w=!0;const B=async(U,j,Q)=>{try{if(V.value===!1)return;let O=null;ue(g.value)||(O=ne=>{const re=Jn(d,ne);if(typeof re=="string"&&re.includes(g.value))return!0;const se=As(d,ne);return!!(typeof se=="string"&&se.includes(g.value))});const Z=await k.load("actionsheet",U,j,Q,A.value,w,O??void 0);w=!1,Array.isArray(Z)?(u.value=Z,m.value=1,V.value=!1):!Array.isArray(Z.page)||Z.page.length===0?(console.warn("[FoxUI] can not load more data"),V.value=!1):(Reflect.apply([].push,u.value,Z.page),m.value=Math.ceil(u.value.length/d.pageSize),(Z.totalSize&&u.value.length>=Z.totalSize||Q<Z.page.length)&&(V.value=!1)),T.value=!1}catch(O){console.error("[FoxUI] ActionSheet load more data fail",O),V.value=!0,m.value=0,u.value=[]}setTimeout(()=>{S("loaded-data")},250)},T=t.ref(!1),V=t.ref(!0),E=async()=>{if(!d.source){T.value=!1;return}await B(d.source,m.value+1,d.pageSize)};let $=null;t.watch(g,(U,j)=>{$&&(clearTimeout($),$=null),ue(U)&&!ue(j)&&($=setTimeout(()=>{P()},d.searchDelayTriggerClear))});const x=()=>{V.value=!0,m.value=0,u.value=[],d.source&&E()},P=()=>{x()};t.watch([()=>d.source,()=>d.pageSize,()=>d.params],async([U,j,Q])=>{d.source&&x()},{immediate:!0});const D=t.computed(()=>!d.multiple&&d.isAutoBackFill),I=t.ref([]);let R=null;const v=t.ref(d.visible);t.watch(()=>d.visible,U=>{v.value!==U&&(v.value=U),U?R=[...I.value]:R=null});const W=(U,j)=>{const Q=[];return Array.isArray(U)||(U=[U]),U.forEach(O=>{let Z=Ym(d,j,O,d.valueType);Z!==-1&&Q.push(Z)}),Me(Q,I.value)?!1:(I.value=Q,!0)};t.watch([()=>d.modelValue,()=>u.value],([U,j],[Q,O])=>{if(W(U,j)){const ne=H();J(ne)}},{deep:!0});const H=()=>{const U=[],j=[],Q=[];for(let re of I.value){const se=u.value[re];j.push(se);const ye=Jn(d,se);if(Q.push(ye),d.valueType==="item")U.push(se);else if(d.valueType==="text")U.push(ye);else{const Ce=Ts(d,se);U.push(Ce)}}let O=null,Z=null,ne=null;return d.multiple?(O=U,Z=Q,ne=j):(O=U[0]??null,Z=Q[0]??null,ne=j[0]??null),{value:O,text:Z,item:ne}},J=U=>{S("update:modelValue",U.value),S("update:text",U.text),S("change",U.value,U.item,U.text)},ee=()=>{R&&(I.value=R)},Y=U=>{const j=I.value.indexOf(U);d.multiple?j===-1?I.value.push(U):I.value.splice(j,1):j===-1?I.value=[U]:I.value=[],(D.value||!d.poppable&&!d.showFooter)&&q()},M=U=>{v.value=U,S("update:visible",U)},z=()=>{const U=()=>{ee(),M(!1)},j=d.beforeMethod??d.beforeClose;if(typeof j=="function"){const Q=j("close");dt(Q)?Q.then(O=>{O!==!1&&U()}).catch(()=>{U()}):Q!==!1&&U()}else U()},q=()=>{const U=H(),j=()=>{J(U),M(!1)},Q=d.beforeMethod??d.beforeClose;if(typeof Q=="function"){const O=Q("confirm",U.value,U.item,U.text);dt(O)?O.then(Z=>{Z!==!1&&j()}).catch(()=>{j()}):O!==!1&&j()}else j()},F=()=>{let U=b.title.value??"";h.title&&(U=h.title());const j=t.h("view",{class:["fox-actionsheet__header-title"]},[U]),Q=t.h(c,{class:["fox-actionsheet__header-icon"],onClick:z});return t.h("view",{class:["fox-actionsheet__header"]},[j,Q])},L=()=>{let U=null;if(h.search)U=h.search();else{const j={onSearch:x,placeholder:b.seachPlaceholder.value,disabled:d.disabled,modelValue:g.value,"onUpdate:modelValue":Q=>{g.value=Q}};U=t.h(r,j,{leftin:()=>t.h(f)})}return t.h("view",{class:["fox-actionsheet__searchbar"]},[U])},K=(U,j,Q,O,Z)=>{if(h.optionLabel)return h.optionLabel({text:U,checked:j,disabled:Q,subText:O,item:Z});const ne=[],re=t.h("view",{class:"fox-actionsheet__list-item-text"},[U]);if(ne.push(re),O){const se=t.h("view",{class:"fox-actionsheet__list-item-subtext"},[O]);ne.push(se)}return t.h("view",{class:["fox-actionsheet__list-item-label"]},ne)},X=(U,j,Q,O)=>{if(h.optionIcon)return h.optionIcon({checked:U,disabled:j,iconSize:Q,item:O});if(U){if(h.checkedIcon)return h.checkedIcon({disabled:j,item:O});{const Z=d.checkedIcon??i;return t.h(Z,{width:Q,height:Q,class:["fox-actionsheet__list-item-icon"]})}}else{if(h.icon)return h.icon({disabled:j,item:O});{const Z=d.icon??s;return t.h(Z,{width:Q,height:Q,class:["fox-actionsheet__list-item-icon"]})}}},_=()=>{const U=[];for(let j=0;j<u.value.length;j++){const Q=u.value[j],O=Jn(d,Q),Z=As(d,Q),ne=["fox-actionsheet__list-item"],re={};let se=Xm(d,Q),ye=d.iconSize?de(d.iconSize):null;const Ce=Qm(d,Q,j);Ce&&(se=se||Ce.disabled,Ce.class&&ne.push(Ce.class),Ce.style&&Object.assign(re,Ce.style)),se=!!(d.disabled||se);const Xe=I.value.includes(j);se&&ne.push("is-disabled"),Xe&&ne.push("is-checked");const za={class:ne,style:re,key:`${j}`,onClick:()=>{se||Y(j)}};let _t=[];if(h.option)_t.push(h.option({item:Q,checked:Xe,disabled:se}));else{const sA=K(O,Xe,se,Z,Q);_t.push(sA);const iA=X(Xe,se,ye,Q);_t.push(iA),d.textPosition==="right"&&_t.reverse()}const rA=t.h("view",za,_t);U.push(rA)}return U},le=()=>{let U=[];if(h.buttons)U=h.buttons();else{const Q=t.h(l,{type:"primary",block:"block",onClick:q,disabled:d.disabled},{default:()=>b.confirmText.value});U.push(Q)}return t.h("view",{class:"fox-actionsheet__footer"},[U])};return xe({search:async(U=null,j=!0)=>{C.value=U&&t.toRaw(U),t.triggerRef(C),j&&(V.value=!0,m.value=0,u.value=[]),t.nextTick(()=>{E()})},clear:()=>{V.value=!0,m.value=0,u.value=[]},confirm:()=>{q()},cancel:()=>{z()}}),()=>{const U=[];if(d.showHeader){const ye=F();U.push(ye)}if(d.showSearchbar){const ye=L();U.push(ye)}let j=null;if(h.content)j=h.content();else{const ye=_(),Ce={hasMore:V.value,loadText:b.loadText.value,loadMoreText:b.loadMoreText.value,modelValue:T.value,"onUpdate:modelValue":Xe=>{T.value=Xe},onLoadMore:E};j=t.h(o,Ce,{default:()=>ye})}const Q={};d.optionsHeight&&(Q.height=d.optionsHeight);const O={"fox-actionsheet__list":!0};d.poppable||(O["fox-actionsheet__list--inner"]=!0);const Z=t.h("view",{class:O,style:Q},[j]);if(U.push(Z),d.showFooter&&!D.value){const ye=le();U.push(ye)}const ne=t.h("view",{class:"fox-actionsheet"},U);if(!d.poppable)return ne;const re=["fox-actionsheet__popup"];d.popClass&&re.push(d.popClass);const se={popClass:re.join(" "),visible:v.value,closeable:!1,"onUpdate:visible":M,position:d.position,round:"round",onClickOverlay:z,closeOnClickOverlay:d.closeOnClickOverlay};return t.h(a,se,{default:()=>ne})}}}}const{componentName:_m,create:ep,scope:tp}=G("actionsheet-pane"),_n=ep(Jm(_m,tp,fe,Qn,Le,Gn,oe.CheckNormal,oe.Checked,oe.Close,oe.Search2)),Vs={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},text:{type:String},actionSheetClass:{type:String},separator:{type:[String],required:!1,defualt:" "}};function np(e,n,a,o,l,r,s){return{props:{...pe,...be,...Vs,...Zn},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(i,c){const f=Ee(t.computed(()=>i.disabled)),p=$e(t.computed(()=>i.readonly)),{emitEvent:d}=Te({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return f.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=ie.useFoxI18n(n),S=h(i,["placeholder"]),y=t.ref(!1),b=ve(i,"modelValue",null,d),k=t.ref(""),u=t.computed(()=>Array.isArray(k.value)?k.value.join(i.separator):k.value),m="fox-input-item",g=t.computed(()=>({[m]:!0,"is-disabled":f.value,"is-readonly":p.value})),C=Ve(t.computed(()=>i.textAlign),"textAlign"),A=t.computed(()=>{const q={};return C.value&&(q["text-align"]=C.value),q}),w=t.ref(!1),B=()=>{w.value=!0},T=q=>{w.value=q},V=q=>{b.value=q,d("update:modelValue",q)},E=(q,F)=>{d("change",q,F)},$=q=>{let L=q.target.value;y.value=!0,d("focus",L,q)},x=q=>{setTimeout(()=>{y.value=!1},0);let L=q.target.value;i.maxLength&&L.length>Number(i.maxLength)&&(L=L.slice(0,Number(i.maxLength))),d("blur",L,q)},P=q=>{k.value=q,d("update:text",q)},D=t.computed(()=>({[`${m}__append`]:!0,"is-disabled":f.value,"is-readonly":p.value})),I=t.computed(()=>ke(i.unit)>0),R=t.computed(()=>ke(i.unit)>0&&!y.value),v=t.computed(()=>({hidden:!R.value})),W=q=>{b.value="",d("update:modelValue","",q),d("change","",q),d("clear","")},H=t.computed(()=>i.clearable&&!f.value&&!p.value),J=t.computed(()=>ke(b.value)>0&&y.value),ee=q=>{J.value?W(q):B()},Y=t.computed(()=>J.value&&H.value?o:l),M=t.computed(()=>({action:!0})),z=t.ref(null);return xe({search:q=>{z.value&&z.value.search(q)},clear:()=>{z.value&&z.value.clear},confirm:q=>{z.value&&z.value.confirm()},cancel:()=>{z.value&&z.value.cancel()}}),()=>{const q={class:g.value,style:A.value,type:"text",maxlength:i.maxLength,placeholder:S.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:B,onFocus:$,onBlur:x};s&&(q.disabled=!0);const F=[],L=t.h("input",q);F.push(L);const K=[],X={class:["action-icon"]},_=t.h(Y.value,X),le={class:M.value,onClick:ee},U=t.h("view",le,{default:()=>[_]});if(K.push(U),I.value){const Ce=t.h("view",{class:v.value},[i.unit]);K.push(Ce)}const j={class:D.value},Q=t.h("view",j,{default:()=>K});F.push(Q);const O={default:()=>F};O.label=c.slots.default,O.prepend=c.slots.prepend,O.append=c.slots.append,O.fixedPreTip=c.slots.fixedPreTip,O.fixedTip=c.slots.fixedTip;const Z=Se(i,Zn);Z.ref=z,Z.class=i.actionsheetProps,Z.disabled=f.value||p.value,Z.visible=w.value,Z["onUpdate:visible"]=T,Z.modelValue=b.value,Z["onUpdate:modelValue"]=V,Z.text=k.value,Z["onUpdate:text"]=P,Z.onChange=E,Z.poppable=!0,Z["text-position"]=i.textPosition;const ne={title:c.slots.title,search:c.slots.search,option:c.slots.option,optionLabel:c.slots.optionLabel,optionIcon:c.slots.optionIcon,buttons:c.slots.buttons},re=t.h(r,Z,ne);O.hide=()=>[re];const se=ut(i,Vs,Zn);return t.h(a,{...se,prop:`${i.prop}_item`},O)}}}}const{componentName:op,create:lp,scope:ap}=G("actionsheet-item"),cl=lp(np(op,ap,Be,oe.CircleClose,oe.ArrowRight,_n)),dl={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}},{componentName:rp,create:sp}=G("input-number"),ip=sp({components:{Minus:oe.Minus,Plus:oe.Plus},props:{...dl},emits:["update:modelValue","change","blur","focus","reduce","add","overlimit"],setup(e,{emit:n}){const a=t.computed(()=>{const S=rp;return{[S]:!0,[`${S}--disabled`]:e.disabled}}),o=S=>Number(S).toFixed(Number(e.decimalPlaces)),l=S=>{const y=S.target;n("update:modelValue",y.valueAsNumber,S)},r=(S,y)=>{let b=o(S);n("update:modelValue",b,y),n("change",b,y)},s=(S=Number(e.modelValue))=>S<Number(e.max)&&!e.disabled,i=(S=Number(e.modelValue))=>S>Number(e.min)&&!e.disabled,c=S=>{if(n("reduce",S),i()){let y=Number(e.modelValue)-Number(e.step);r(y,S)}else n("overlimit",S,"reduce")},f=S=>{if(n("add",S),s()){let y=Number(e.modelValue)+Number(e.step);r(y,S)}else n("overlimit",S,"add")},p=S=>{e.disabled||e.readonly||n("focus",S)},d=S=>{if(e.disabled||e.readonly)return;let b=S.target.valueAsNumber;b<Number(e.min)?b=Number(e.min):b>Number(e.max)&&(b=Number(e.max)),r(b,S),n("blur",S)},h=S=>{let y=Number(S);return y<Number(e.min)?y=Number(e.min):y>Number(e.max)&&(y=Number(e.max)),y};return t.watch(()=>[e.max,e.min],()=>{Number(e.min)>Number(e.max)&&console.warn("[FoxUI] <InputNumber>","props.max < props.min");const S=h(e.modelValue);S!==Number(e.modelValue)&&r(S,{})}),{classes:a,change:l,blur:d,focus:p,add:f,addAllow:s,reduce:c,reduceAllow:i,toPxDesc:ge}}}),cp=["min","max","disabled","readonly","value"];function dp(e,n,a,o,l,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:n[0]||(n[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:n[1]||(n[1]=(...c)=>e.change&&e.change(...c)),onBlur:n[2]||(n[2]=(...c)=>e.blur&&e.blur(...c)),onFocus:n[3]||(n[3]=(...c)=>e.focus&&e.focus(...c))},null,44,cp),t.createElementVNode("view",{class:t.normalizeClass(["fox-input-number__icon fox-input-number__right",{"fox-input-number__icon--disabled":!e.addAllow()}]),onClick:n[4]||(n[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 et=te(ip,[["render",dp]]);function up(e,n,a,o){return{props:{...pe,...be,...dl},emits:["change","update:modelValue","setValue","add","reduce"],setup(l,r){const s=Ee(t.computed(()=>l.disabled)),i=$e(t.computed(()=>l.readonly)),{emitEvent:c}=Te({componentName:e,validateCheckEvents:["blur","update:modelValue","add","reduce"],validateResetEvents:["focus","setValue"],get validate(){return!s.value&&!i.value}},l.prop??r.attrs.name),f=e,p=ve(l,"modelValue",null,c),d=y=>{p.value=y,c("update:modelValue",y,{}),c("change",y,{})},h=y=>{c("add",y)},S=y=>{c("reduce",y)};return()=>{const y={"left-icon":r.slots["left-icon"],"right-icon":r.slots["right-icon"]},b=Se(l,dl),u={...r.attrs,...b,disabled:s.value,readonly:i.value,value:p.value,"onUpdate:modelValue":d,onAdd:h,onReduce:S},m=t.h(o,u,y),g=[];g.push(m);const C={default:()=>g};C.label=r.slots.default,C.fixedPreTip=r.slots.fixedPreTip,C.fixedTip=r.slots.fixedTip;const A=Se(l,be,pe);return A["content-class"]=f,t.h(a,{...A,prop:`${l.prop}_item`},C)}}}}const{componentName:fp,create:mp,scope:pp}=G("inputnumber-item"),ul=mp(up(fp,pp,Be,et)),hp={direction:{type:[String],default:"horizontal"},mode:{type:[String]},align:{type:[String]},modelValue:{type:[Number,Boolean,String]},disabled:{type:[Boolean,String],required:!1},data:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},visibleKey:{type:String,required:!1,default:"visible"},statusKey:{type:String,required:!1,default:"status"},doitKey:{type:String,required:!1,default:"doit"},labelKey:{type:String,required:!1,default:"label"},itemOptions:{type:[Object,Function],required:!1},step:{type:[Boolean,String]},clickNavigatePolicy:{type:[String]},icon:{type:[String]},iconSize:{type:[String,Number]},markIcon:{type:[String]},markIconSize:{type:[String,Number]},layout:{type:[Array],default:()=>["head","main","sub"]},scroll:{type:[Boolean]}};function gp(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function $s(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Es(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function yp(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function fl(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function Ds(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function Is(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function ml(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}let bp=class{proxy;constructor(n){this.proxy=n}async load(n,a,o){if(Array.isArray(a))return a;if(typeof a=="function")return await Reflect.apply(a,null,[o]);const l=Ze(this.proxy,n);return l===null?(console.error(`${n} component not found api function`),[]):(De(o)&&t.isReactive(o)&&(o=t.toRaw(o)),await Reflect.apply(l,null,[a,o]))}};function kp(){const e=t.getCurrentInstance();return new bp(e.proxy)}function Sp(e,n,a,o){return{props:{...hp},emits:["update:modelValue","change","loaded-data","click"],setup(l,{slots:r,emit:s}){const i=e,c=kp(),f=t.ref([]),p=t.computed(()=>f.value.filter(M=>yp(l,M)!==!1)),d=t.ref(-1),h=()=>{const M=l.modelValue,z=p.value.findIndex(q=>$s(l,q)===M);d.value!==z&&(d.value=z,l.scroll&&ee(z,!1))};t.watch([()=>l.modelValue,p],()=>{h()});const S=M=>d.value===M,y=M=>{if(M<0&&M>=p.value.length)return!1;const z=p.value[M],F=(ml(l,z,M)??{}).status??fl(l,z);return S(M)||F},b=t.computed(()=>{const M={[i]:!0};return l.mode?M[`is-${l.mode}`]=!0:l.direction&&(M[`is-${l.direction}`]=!0),l.scroll&&(M["is-scroll"]=!0),M}),k=t.computed(()=>({})),u=(M,z,q,F,L)=>{const K={[`${i}__step`]:!0};return L&&(K[`${L}`]=!0),K[`${m.value}`]=!0,F&&(K["is-doit"]=!0),M===d.value?K["is-active"]=!0:z==="done"?K["is-done"]=!0:z==="error"?K["is-error"]=!0:z==="half"?K["is-half"]=!0:q?K["is-disabled"]=!0:K["is-normal"]=!0,K},m=t.computed(()=>{if(l.mode==="simple")return"start";let M=l.align;return M||(l.direction==="vertical"?M="start":M="center"),M}),g=(M,z={})=>{const q={...z};return m.value==="start"&&M===p.value.length-1?q.flex="0 0 auto":l.step?l.direction==="vertical"?q.height=l.step:q.width=l.step:q.flex="1 1 100%",q},C=(M,z)=>{let q={};if(z<p.value.length-1){const F=z+1;y(z)&&y(F)?l.direction==="vertical"?q.height="100%":q.width="100%":q.opacity="0"}return q},A=M=>p.value.length-1===M,w=(M,z)=>{if(l.clickNavigatePolicy==="disabled"||(l.clickNavigatePolicy==="only-back"||l.clickNavigatePolicy==="only-back-reset")&&z>d.value||d.value===z)return;const q=d.value,F=z;d.value=z,l.scroll&&ee(z,!1);const L=$s(l,M);s("update:modelValue",L);const K={fromIndex:q,currentIndex:F,item:M,items:p.value,clickNavigatePolicy:l.clickNavigatePolicy};s("change",L,K)},B=t.ref(!0),T=async(M,z)=>{try{const q=await c.load("stesbar",M,z);Array.isArray(q)&&(f.value=q),B.value=!1}catch(q){console.error("[FoxUI] Load StepsBar Data Fail",q),f.value=[]}setTimeout(()=>{s("loaded-data")},250)};t.watch([()=>l.data,()=>l.params],async([M,z])=>{M&&T(M,z)},{immediate:!0});const V=(M,z,q,F,L)=>{let K=null;if(r.icon)K=r.icon({item:M,index:z,status:F});else if(F==="done"){const _={};l.iconSize&&(_.width=l.iconSize,_.height=l.iconSize);const le=l.icon??a;K=t.h(le,_)}else{const _=q??`${z+1}`;K=t.h("span",{},[_])}const X={class:"fox-steps-bar__icon",onClick:()=>{s("click",{item:M,index:z}),!L&&w(M,z)}};return t.h("view",X,[K])},E=(M,z,q)=>{const F=t.h("i",{class:"fox-steps-bar__line-inner",style:C(M,z)});return t.h("view",{class:"fox-steps-bar__line"},[F])},$=()=>{let M=null;if(r.markIcon)M=r.markIcon();else{const q={};l.iconSize&&(q.width=l.markIconSize,q.height=l.markIconSize);const F=l.markIcon??o;M=t.h(F,q)}return t.h("view",{class:"fox-steps-bar__mark"},[M])},x=(M,z,q,F,L)=>{const K=[];if(!A(z)){const le=E(M,z);K.push(le)}const X=V(M,z,q,F,L);K.push(X);const _={class:"fox-steps-bar__head"};return t.h("view",_,K)},P=(M,z,q,F)=>{let L=null;r.main?L=r.main({item:M,index:z,status:q}):L=gp(l,M);const K={class:"fox-steps-bar__main",onClick:()=>{s("click",{item:M,index:z}),!F&&w(M,z)}};return t.h("view",K,[L])},D=(M,z,q)=>{let F=null;if(r.sub){F=r.sub({item:M,index:z,status:q});const L={class:"fox-steps-bar__sub"};return t.h("view",L,[F])}return null},I=(M,z)=>{const q=ml(l,M,z)??{},F=q.status??fl(l,M);let L=Es(l,M);q.disabled===!0&&(L=!0),l.disabled===!0&&(L=!0);const K=q.label??Is(l,M),X=[],_=V(M,z,K,F,L);_&&X.push(_);const le=P(M,z,F,L);if(le&&X.push(le),!A(z)){const ne=E(M,z);ne&&X.push(ne)}const U=t.h("view",{class:"fox-steps-bar__head"},X),j=q.class,Q=q.style??{};let O=Ds(l,M);q.doit===!0&&(O=!0);const Z={ref:J(z),class:u(z,F,L,O,j),style:g(z,Q)};return t.h("view",Z,[U])},R=(M,z)=>{const q=ml(l,M,z)??{},F=q.status??fl(l,M);let L=Es(l,M);q.disabled===!0&&(L=!0),l.disabled===!0&&(L=!0);const K=q.label??Is(l,M),X=[],_=l.layout;for(let O of _)if(O==="head"){const Z=x(M,z,K,F,L);X.push(Z)}else if(O==="main"){const Z=P(M,z,F,L);X.push(Z)}else if(O==="sub"){const Z=D(M,z,F);X.push(Z)}else if(O==="mark"){const Z=$();X.push(Z)}const le=q.class,U=q.style??{};let j=Ds(l,M);q.doit===!0&&(j=!0);const Q={ref:J(z),class:u(z,F,L,j,le),style:g(z,U)};return t.h("view",Q,X)},v=t.ref(),W=t.ref([]),H=(M,z)=>{W.value[z]=M},J=M=>z=>{H(z,M)},ee=(M,z)=>{const q=v.value,F=W.value;if(!q||!F||!F[M])return;const L=F[M];let K=0;l.direction==="vertical"?K=L.offsetTop-(q.offsetHeight-L.offsetHeight)/2:K=L.offsetLeft-(q.offsetWidth-L.offsetWidth)/2,Y(q,K,z?0:.3,l.direction)},Y=(M,z,q,F)=>{let L=0;const K=F==="horizontal"?M.scrollLeft:M.scrollTop,X=q===0?1:Math.round(q*1e3/16);function _(){F==="horizontal"?M.scrollLeft+=(z-K)/X:M.scrollTop+=(z-K)/X,++L<X&&Ke(_)}_()};return()=>{const M=[];if(l.mode==="simple")for(let q=0;q<p.value.length;q++){const F=p.value[q],L=I(F,q);M.push(L)}else for(let q=0;q<p.value.length;q++){const F=p.value[q],L=R(F,q);M.push(L)}const z={ref:v,class:b.value,style:k.value};return t.h("view",z,M)}}}}const{componentName:Cp,create:wp,scope:Np}=G("steps-bar"),pl=wp(Sp(Cp,Np,oe.Checklist,oe.ArrowRight));function Bp(e){e.stopPropagation()}class Ap{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(n,a){this.startMove=n,this.updateMove=a,this.isTouch=Oo()}open(n){Array.isArray(n)||(n=[n]),this.els=n;const a=Ko(),o=(l,r,s,i)=>{this.updateMove({x:l,y:r})};this.touchstart=l=>{this.moving||(a.start(l),this.startMove({x:a.state.startX,y:a.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=l=>{this.moving&&(a.move(l),Bp(l),o(a.state.deltaX,a.state.deltaY))},this.touchend=()=>{o(a.state.deltaX,a.state.deltaY),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),a.reset(),this.moving=!1},this.els.forEach(l=>{this.touchstart&&l.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(n=>{this.touchstart&&n.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}}function Tp(e,n){return new Ap(e,n)}const Vp={customClass:{type:[String]},top:{type:[String]},right:{type:[String]},bottom:{type:[String]},left:{type:[String]},width:{type:[String]},height:{type:[String]},color:{type:[String]},background:{type:[String]},borderRadius:{type:[String]},draggable:{type:[Boolean]}},$p=(e,n,a,o=!1)=>({props:{...Vp},emits:["click"],setup(l,{slots:r,emit:s}){const i=t.reactive({top:l.top,right:l.right,bottom:l.bottom,left:l.left}),c=t.computed(()=>{const m=[`${e}`];return l.customClass&&m.push(l.customClass),m}),f=t.computed(()=>{const m={};return ue(i.top)||(m.top=i.top),ue(i.right)||(m.right=i.right),ue(i.bottom)||(m.bottom=i.bottom),ue(i.left)||(m.left=i.left),ue(l.width)||(m.width=l.width),ue(l.height)||(m.height=l.height),ue(l.color)||(m.color=l.color),ue(l.background)||(m.background=l.background),ue(l.borderRadius)||(m["border-radius"]=l.borderRadius),m}),p=t.computed(()=>({[`${e}__icon`]:!0})),d=()=>{s("click")},h=t.ref(null),S=()=>{i.top=null,i.right=null,i.bottom=null,i.left=null},y={x:0,y:0},u=Tp(m=>{if(!h.value)return;const g=h.value;S(),i.left=g.offsetLeft,i.top=g.offsetTop,g.style.left=`${i.left}px`,g.style.top=`${i.top}px`,g.style.right=null,g.style.bottom=null,y.x=i.left,y.y=i.top},m=>{if(!h.value)return;const g=h.value;S(),i.left=y.x+m.x,i.top=y.y+m.y,g.style.left=`${i.left}px`,g.style.top=`${i.top}px`});return t.onMounted(()=>{if(l.draggable&&h.value){const m=[h.value];u.open(m)}}),t.onBeforeUnmount(()=>{l.draggable&&h.value&&u.close()}),()=>{let m=[];const g=typeof r.default=="function"?r.default():[];if(g&&g.length>0)m=g;else{const A=t.h(a,{class:p.value});m.push(A)}const C={ref:A=>{h.value=A},class:c.value,style:f.value,onClick:d};return t.h("view",C,m)}}}),{componentName:Ep,create:Dp,scope:Ip}=G("floating-button"),hl=Dp($p(Ep,Ip,oe.Uploader,!1)),xp={modelValue:{type:[Boolean],requried:!0},type:{type:[String],requried:!1,default:""},disabled:{type:[Boolean,String],requried:!1},textPosition:{type:[String],requried:!1},collapseText:{type:[String],requried:!1,default:"收起"},expandText:{type:[String],requried:!1,default:"更多"},icon:{type:[Object],requried:!1}};function qp(e,n,a){return{props:{...xp},emits:["click","update:modelValue"],setup(o,{emit:l}){const r=t.computed(()=>{const d={[`${e}`]:!0};return o.disabled?d[`${e}--disabled`]=!0:d[`${e}--${o.type}`]=!0,d}),s=ve(o,"modelValue"),i=t.computed(()=>s.value?o.expandText??"":o.collapseText??""),c=t.computed(()=>({[`${e}__text`]:!0})),f=t.computed(()=>({[`${e}__icon`]:!0,"is-expand":!s.value,"is-collapse":s.value})),p=()=>{l("update:modelValue",!s.value)};return()=>{const d=[];if(i.value){const k={class:c.value},u=t.h("span",k,[i.value]);d.push(u)}const h={class:f.value},S=o.icon??a,y=t.h(S,h);return d.push(y),o.textPosition==="right"&&d.reverse(),t.h("view",{class:r.value,onClick:p},d)}}}}const{componentName:vp,create:Mp,scope:Pp}=G("more-button"),gl=Mp(qp(vp,Pp,oe.RectUp)),Lp={width:{type:[String,Number]},height:{type:[String,Number]},type:{type:[String],required:!1,default:"info"},icon:{type:[String,Object],required:!1},closeIcon:{type:[String,Object],required:!1},showClose:{type:[Boolean],required:!1},title:{type:[String],required:!1},message:{type:[Array,String,Object],required:!1},showConfirmButton:{type:[Boolean],required:!1},confirmButtonText:{type:[String],required:!1},confirmText:{type:[String],required:!1},confirmButtonClass:{type:[String],required:!1},confirmButtonStyle:{type:[Object],required:!1},showCancelButton:{type:[Boolean],required:!1},cancelButtonText:{type:[String],required:!1},cancelText:{type:[String],required:!1},cancelButtonClass:{type:[String],required:!1},cancelButtonStyle:{type:[Object],required:!1},popClass:{type:[String]},position:{type:[String],default:"center"},closeOnClickOverlay:{type:[Boolean],required:!1,default:!0},unmount:{type:[Function],required:!1},callback:{type:[Function],required:!1}},zp=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0);function Fp(e,n,a){return{props:{...Lp},setup(o,{attrs:l,slots:r}){const{toLocaleRefs:s}=ie.useFoxI18n(n),i=s(o,["confirmText","cancelText"]),c=e,f=t.ref(!0),p=C=>{f.value=C},d=C=>{if(typeof o.unmount=="function")try{o.unmount()}catch(A){console.error(A)}if(typeof o.callback=="function")try{o.callback(C)}catch(A){console.error(A)}},h=()=>{d("confirm")},S=()=>{d("cancel")},y=()=>{o.closeOnClickOverlay!==!1&&d("close")},b=(C,A)=>zp(C)?(A.src=C,t.h("img",A)):typeof C=="string"?(Array.isArray(A.class)?A.class.push(C):A.class&&typeof A.class=="object"?A[`${C}`]=!0:typeof A.class=="string"?A.class=`${A.class}, ${C}`:A.class=C,t.h(o.tag,A)):t.h(C,A),k=()=>{const C=[];if(o.icon){const w={class:[`${c}__header-icon`]},B=b(o.icon,w);C.push(B)}if(o.title){const w=t.h("view",{class:`${c}__header-title`},[o.title]);C.push(w)}if(o.showClose&&o.closeIcon){const w={class:[`${c}__header-close-icon`],onClick:y},B=b(o.closeIcon,w);C.push(B)}const A={class:[`${c}__header`]};return t.h("view",A,C)},u=(C,A)=>{const w=[];if(A){const T={class:`${c}__group-title`},V=t.h("view",T,[A]);w.push(V)}if(C){const T=[];Array.isArray(C)||(C=[C]);for(let V of C){const E={class:`${c}__group-row`,innerHTML:V},$=t.h("view",E);T.push($)}if(T.length>0){const V={class:`${c}__group-rows`},E=t.h("view",V,T);w.push(E)}}if(w.length===0)return null;const B={class:`${c}__group`};return t.h("view",B,w)},m=()=>{const C=[];if(typeof o.message=="string")C.push(o.message);else if(Array.isArray(o.message))for(let w of o.message)if(typeof w=="string"){const B=u(w);C.push(B)}else{const B=u(w.content,w.title);C.push(B)}else if(typeof o.message=="function"){const w=o.message();C.push(w)}else{const w=o.message;C.push(w)}const A={class:`${c}__body`};return t.h("view",A,C)},g=()=>{const C=[];if(o.showCancelButton){const w={class:[`${c}__footer-button`],style:{},onClick:S};o.cancelButtonClass&&w.class.push(o.cancelButtonClass),o.cancleButtonStyle&&typeof o.cancleButtonStyle=="object"&&Object.assign(w.style,o.cancleButtonStyle);const B=t.h("button",w,[o.cancelButtonText??i.cancelText.value]);C.push(B)}if(o.showConfirmButton){const w={class:[`${c}__footer-button`],style:{},onClick:h};o.confirmButtonClass&&w.class.push(o.confirmButtonClass),o.confirmButtonStyle&&typeof o.confirmButtonStyle=="object"&&Object.assign(w.style,o.confirmButtonStyle);const B=t.h("button",w,[o.confirmButtonText??i.confirmText.value]);C.push(B)}if(C.length===0)return null;const A={class:`${c}__footer`};return t.h("view",A,C)};return()=>{const C=[],A=k();A&&C.push(A);const w=m();w&&C.push(w);const B=g();B&&C.push(B);const T={class:{[`${c}`]:!0,[`${c}--${o.type||"info"}`]:!0}},V=t.h("view",T,C),E=[`${c}__popup`];o.popClass&&E.push(o.popClass);const $={};o.width&&($.width=typeof o.width=="number"?`${o.width}px`:o.width),o.height&&($.height=typeof o.height=="number"?`${o.height}px`:o.height);const x={popClass:E.join(" "),style:$,visible:f.value,teleportDisable:!0,closeable:!1,"onUpdate:visible":p,position:o.position,round:"round",onClickOverlay:y,closeOnClickOverlay:o.closeOnClickOverlay};return t.h(a,x,{default:()=>V})}}}}const{componentName:Rp,create:Op,scope:Kp}=G("messagebox"),Up=Op(Fp(Rp,Kp,fe)),Hp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='102'%20height='110'%20viewBox='0%200%20102%20110'%20fill='none'%3e%3cg%20clip-path='url(%23clip-path-0)'%3e%3cpath%20d='M82.5121%201.93968L81.7498%206.07825C81.6498%206.6214%2081.1284%206.98064%2080.5853%206.8806C80.4326%206.85251%2080.2886%206.78925%2080.1646%206.69578L77.1586%204.43061C76.7175%204.09823%2076.6294%203.47123%2076.9618%203.03016C77.0552%202.90617%2077.1762%202.80562%2077.3153%202.73655L81.0834%200.863097C81.5779%200.617235%2082.1782%200.818843%2082.4241%201.31339C82.5204%201.50712%2082.5512%201.72688%2082.5121%201.93968Z'%20fill='%23FFD1C9'%20%3e%3c/path%3e%3cpath%20d='M3.08218%20102.2L6.53454%2094.2358C6.75419%2093.7291%207.34251%2093.4968%207.84925%2093.7164C7.99216%2093.7778%208.11815%2093.872%208.21791%2093.9909L13.2085%2099.9384C13.5635%20100.361%2013.5081%20100.992%2013.0852%20101.347C12.9665%20101.447%2012.8261%20101.518%2012.675%20101.554L4.23203%20103.571C3.69484%20103.699%203.15538%20103.367%203.02699%20102.83C2.97674%20102.62%202.99607%20102.399%203.08218%20102.2Z'%20fill='%23FFB5AD'%20%3e%3c/path%3e%3ccircle%20cx='51'%20cy='59'%20r='28'%20fill='%23FF5959'%20%3e%3c/circle%3e%3cpath%20d='M59.935%2049.6213C61.3827%2051.069%2061.3827%2053.4162%2059.935%2054.864L45.935%2068.864C44.4873%2070.3117%2042.1401%2070.3117%2040.6924%2068.864C39.2447%2067.4162%2039.2447%2065.069%2040.6924%2063.6213L54.6924%2049.6213C56.1401%2048.1736%2058.4873%2048.1736%2059.935%2049.6213Z'%20fill='%23FFB5AD'%20%3e%3c/path%3e%3cpath%20d='M40.6924%2049.6213C39.2447%2051.069%2039.2447%2053.4162%2040.6924%2054.864L54.6924%2068.864C56.1401%2070.3117%2058.4873%2070.3117%2059.935%2068.864C61.3827%2067.4162%2061.3827%2065.069%2059.935%2063.6213L45.935%2049.6213C44.4873%2048.1736%2042.1401%2048.1736%2040.6924%2049.6213Z'%20fill='%23FFFFFF'%20%3e%3c/path%3e%3ccircle%20cx='3.5'%20cy='19.5'%20r='3.5'%20fill='%23FFB5AD'%20%3e%3c/circle%3e%3ccircle%20cx='85.5'%20cy='106.5'%20r='3.5'%20fill='%23FFD1C9'%20%3e%3c/circle%3e%3ccircle%20cx='95'%20cy='30'%20r='7'%20fill='%23FFB5AD'%20%3e%3c/circle%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip-path-0'%3e%3cpath%20d='M0%20110L102%20110L102%200L0%200L0%20110Z'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",jp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='102'%20height='110'%20viewBox='0%200%20102%20110'%20fill='none'%3e%3cpath%20d='M8%2087L8%2095C8%2095.5523%207.55228%2096%207%2096C6.44772%2096%206%2095.5523%206%2095L6%2087L2%2087C1.44772%2087%201%2086.5523%201%2086C1%2085.4477%201.44772%2085%202%2085L6%2085L6%2082C6%2081.4477%206.44772%2081%207%2081C7.55228%2081%208%2081.4477%208%2082L8%2085L12%2085C12.5523%2085%2013%2085.4477%2013%2086C13%2086.5523%2012.5523%2087%2012%2087L8%2087Z'%20fill-rule='evenodd'%20fill='%2396CEFF'%20%3e%3c/path%3e%3cpath%20d='M89%205L89%2010C89%2010.5523%2088.5523%2011%2088%2011C87.4477%2011%2087%2010.5523%2087%2010L87%205L85%205C84.4477%205%2084%204.55228%2084%204C84%203.44772%2084.4477%203%2085%203L87%203L87%201C87%200.447715%2087.4477%200%2088%200C88.5523%200%2089%200.447715%2089%201L89%203L91%203C91.5523%203%2092%203.44772%2092%204C92%204.55228%2091.5523%205%2091%205L89%205Z'%20fill-rule='evenodd'%20fill='%23BDE2FF'%20%3e%3c/path%3e%3ccircle%20cx='51'%20cy='59'%20r='28'%20fill='%23237FFA'%20%3e%3c/circle%3e%3crect%20x='47.5'%20y='45'%20width='7'%20height='17'%20rx='3'%20fill='%2396CEFF'%20%3e%3c/rect%3e%3crect%20x='47.5'%20y='66'%20width='7'%20height='7'%20rx='4'%20fill='%23FFFFFF'%20%3e%3c/rect%3e%3ccircle%20cx='3.5'%20cy='19.5'%20r='3.5'%20fill='%2396CEFF'%20%3e%3c/circle%3e%3ccircle%20cx='85.5'%20cy='106.5'%20r='3.5'%20fill='%2396CEFF'%20%3e%3c/circle%3e%3ccircle%20cx='95'%20cy='30'%20r='7'%20fill='%2396CEFF'%20%3e%3c/circle%3e%3c/svg%3e",Wp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='102'%20height='105'%20viewBox='0%200%20102%20105'%20fill='none'%3e%3cpath%20d='M7%2076C7.55228%2076%208%2076.4477%208%2077L7.999%2079.999L12%2080C12.5523%2080%2013%2080.4477%2013%2081C13%2081.5523%2012.5523%2082%2012%2082L7.999%2081.999L8%2090C8%2090.5523%207.55228%2091%207%2091C6.44772%2091%206%2090.5523%206%2090L5.999%2081.999L2%2082C1.44772%2082%201%2081.5523%201%2081C1%2080.4477%201.44772%2080%202%2080L5.999%2079.999L6%2077C6%2076.4477%206.44772%2076%207%2076Z'%20fill='%2338D677'%20%3e%3c/path%3e%3cpath%20d='M75%201.72421e-32C75.5523%20-1.01453e-16%2076%200.447715%2076%201L76%202.999L78%203C78.5523%203%2079%203.44772%2079%204C79%204.55228%2078.5523%205%2078%205L76%204.999L76%2010C76%2010.5523%2075.5523%2011%2075%2011C74.4477%2011%2074%2010.5523%2074%2010L74%204.999L72%205C71.4477%205%2071%204.55228%2071%204C71%203.44772%2071.4477%203%2072%203L74%202.999L74%201C74%200.447715%2074.4477%201.01453e-16%2075%201.72421e-32Z'%20fill='%238BF0AD'%20%3e%3c/path%3e%3ccircle%20cx='51'%20cy='54'%20r='28'%20fill='%2338D677'%20%3e%3c/circle%3e%3cpath%20d='M36.8787%2051.8786C38.3265%2050.4309%2040.6736%2050.4309%2042.1213%2051.8786L50.1214%2059.8786C51.5691%2061.3263%2051.5691%2063.6735%2050.1214%2065.1212C48.6737%2066.5689%2046.3265%2066.5689%2044.8787%2065.1212L36.8787%2057.1212C35.431%2055.6735%2035.431%2053.3263%2036.8787%2051.8786Z'%20fill='%23B3F2C6'%20%3e%3c/path%3e%3cpath%20d='M64.1214%2045.8786C65.5691%2047.3263%2065.5691%2049.6735%2064.1214%2051.1212L50.1213%2065.1212C48.6736%2066.5689%2046.3265%2066.5689%2044.8787%2065.1212C43.431%2063.6735%2043.431%2061.3263%2044.8787%2059.8786L58.8788%2045.8786C60.3265%2044.4309%2062.6737%2044.4309%2064.1214%2045.8786Z'%20fill='%23FFFFFF'%20%3e%3c/path%3e%3ccircle%20cx='3.5'%20cy='14.5'%20r='3.5'%20fill='%23B3F2C6'%20%3e%3c/circle%3e%3ccircle%20cx='85.5'%20cy='101.5'%20r='3.5'%20fill='%23B3F2C6'%20%3e%3c/circle%3e%3ccircle%20cx='95'%20cy='25'%20r='7'%20fill='%23B3F2C6'%20%3e%3c/circle%3e%3c/svg%3e",Yp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='101'%20height='110'%20viewBox='0%200%20101%20110'%20fill='none'%3e%3cg%20clip-path='url(%23clip-path-0)'%3e%3cpath%20d='M81.512%201.93968L80.7498%206.07825C80.6498%206.6214%2080.1284%206.98064%2079.5852%206.8806C79.4326%206.85251%2079.2886%206.78925%2079.1645%206.69578L76.1585%204.43061C75.7175%204.09823%2075.6293%203.47123%2075.9617%203.03016C76.0552%202.90617%2076.1761%202.80562%2076.3152%202.73655L80.0833%200.863097C80.5779%200.617235%2081.1781%200.818843%2081.424%201.31339C81.5203%201.50712%2081.5512%201.72688%2081.512%201.93968Z'%20fill='%23FEFAE0'%20%3e%3c/path%3e%3cpath%20d='M2.08224%20102.2L5.5346%2094.2358C5.75425%2093.7291%206.34257%2093.4968%206.84931%2093.7164C6.99222%2093.7778%207.11822%2093.872%207.21798%2093.9909L12.2086%2099.9384C12.5636%20100.361%2012.5082%20100.992%2012.0853%20101.347C11.9666%20101.447%2011.8261%20101.518%2011.675%20101.554L3.23209%20103.571C2.6949%20103.699%202.15544%20103.367%202.02705%20102.83C1.97681%20102.62%201.99613%20102.399%202.08224%20102.2Z'%20fill='%23FEE789'%20%3e%3c/path%3e%3ccircle%20cx='50'%20cy='59'%20r='28'%20fill='%23FAB007'%20%3e%3c/circle%3e%3crect%20x='46.5'%20y='45'%20width='7'%20height='17'%20rx='3'%20fill='%23FEE789'%20%3e%3c/rect%3e%3crect%20x='46.5'%20y='66'%20width='7'%20height='7'%20rx='3.5'%20fill='%23FFFFFF'%20%3e%3c/rect%3e%3ccircle%20cx='3.5'%20cy='19.5'%20r='3.5'%20fill='%23FEE789'%20%3e%3c/circle%3e%3ccircle%20cx='84.5'%20cy='106.5'%20r='3.5'%20fill='%23FEE789'%20%3e%3c/circle%3e%3ccircle%20cx='94'%20cy='30'%20r='7'%20fill='%23FEE789'%20%3e%3c/circle%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip-path-0'%3e%3cpath%20d='M0%20110L101%20110L101%200L0%200L0%20110Z'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Xp=new En,Qp={showCancelButton:!0,cancelText:"取消",showConfirmButton:!0,confirmText:"确认"},Gp=e=>{let n=document.body,a=e.teleport;a!="body"&&(typeof a=="string"?n=document.querySelector(a):a&&(n=e.teleport));const o=document.createElement("view"),l=`messagebox-${Xp.get()}`;o.id=l,o.classList.add("fox-messagebox__root"),e.zIndex&&(o.style.zIndex=`${e.zIndex}`),e.unmount=()=>{const s=document.querySelector(`#${l}`);s&&s.parentNode?.removeChild(s)};const r=t.createVNode(Up,e);n.appendChild(o),t.render(r,o)},ct={show:(e,n,a,o)=>{const l={...Qp};n&&!Array.isArray(n)&&typeof n=="object"?Object.assign(l,n):(n&&(l.message=n),a&&typeof a=="object"?Object.assign(l,a):(typeof a=="string"&&(l.title=a),o&&typeof o=="object"?Object.assign(l,o):typeof o=="string"&&(l.type=o)));const r=l.type??"info";return l.icon||(r==="success"?l.icon=Wp:r==="warning"?l.icon=Yp:r==="error"?l.icon=Hp:l.icon=jp),e==="alert"?(l.showCancelButton=!1,l.showConfirmButton=!0):e==="confirm"&&(l.showCancelButton=!0,l.showConfirmButton=!0),l.showClose&&!l.closeIcon&&(l.closeIcon=oe.Close),new Promise((s,i)=>{const c=l.callback;l.callback=f=>{if(typeof c=="function")try{c(f)}catch(p){console.error(p)}s({action:f})},Gp(l)})},alert:(e,n,a)=>ct.show("alert",e,n,a),confirm:(e,n,a)=>ct.show("confirm",e,n,a),install(e){e.config.globalProperties.$alert=ct.alert,e.config.globalProperties.$confirm=ct.confirm}},Zp=(e,n,a)=>{n=n??{bubbles:!1,cancelable:!1,detail:void 0};const o=document.createEvent("Events");let l=!0,r=!0;for(let i in n)i==="bubbles"?l=!!n[i]:i==="cancelable"?r=!!n[i]:o[i]=n[i];o.initEvent(e,l,r),(a??document).dispatchEvent(o)},Jp=new En,_p=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0),eh=e=>`${e}-${Jp.get()}`,th=Symbol.for("InnerPageScopeKey"),nh=Symbol.for("PageWrapperKey"),oh="FoxLeave",lh="FoxLeaveEnd",ah={width:{type:[String,Number]},height:{type:[String,Number]},closeOnClickOverlay:{type:Boolean,default:!1},title:{type:String},visible:{type:Boolean,default:!0},showDelay:{type:Number,default:10},showClose:{type:Boolean,default:!0},closeIcon:{type:Object},showHeader:{type:Boolean,default:!1},popClass:{type:String},popStyle:{type:Object},position:{type:String,default:"center"},mode:{type:String}};function rh(e,n,a,o){return{props:{...Fe,...ah},emits:["update:visible"],setup(l,{attrs:r,slots:s,emit:i}){t.provide(th,!0);const c={};t.provide(nh,c);const f=w=>(typeof c.beforeClose=="function"&&c.beforeClose(),!1),p=()=>{f()},d=e,h=w=>{S.value=w,i("update:visible",w)},S=t.ref(!1),y=(w,B)=>_p(w)?(B.src=w,t.h("img",B)):typeof w=="string"?(Array.isArray(B.class)?B.class.push(w):B.class&&typeof B.class=="object"?B[`${w}`]=!0:typeof B.class=="string"?B.class=`${B.class}, ${w}`:B.class=w,t.h(l.tag,B)):t.h(w,B),b=()=>{if(!l.showHeader)return null;const w=[];if(s.header){const T=s.header();w.push(T)}else if(l.title){const T=t.h("view",{class:`${d}__header-title`},[l.title]);w.push(T)}if(w.length===0)return null;const B={class:[`${d}__header`]};return t.h("view",B,w)},k=()=>{if(!l.showClose)return null;const w={class:[`${d}__close-icon`],onClick:p},B=l.closeIcon??o;return y(B,w)};let u=null;const m=w=>{Zp(lh,{},u)},g=eh(e),C=()=>{h(!0)},A=()=>{if(!u)return;const w=u.querySelector(".fox-overlay");w&&(w.classList.add("overlay-fade-leave-active"),w.classList.add("overlay-fade-leave-to"));const B=u.querySelector(".fox-popup");B&&(B.classList.add(`fox-popup-slide-${l.position}-leave-active`),B.classList.add(`fox-popup-slide-${l.position}-leave-to`),B.addEventListener("animationend",m,{once:!0}),B.addEventListener("transitionend",m,{once:!0})),document.body.classList.remove("fox-overflow-hidden")};return t.onMounted(()=>{u=document.querySelector(`.${g}`),u?.addEventListener(oh,A,{once:!0}),C()}),()=>{const w=[],B=b();B&&w.push(B);const T=k();T&&w.push(T);const V=s.default?s.default():[];Reflect.apply([].push,w,V);const E={[`${d}`]:!0};l.mode&&(E[`${d}--${l.mode}`]=!0);const $={class:E},x=t.h("view",$,w),P=[`${d}__popup`,g];l.popClass&&P.push(l.popClass),l.position&&P.push(`${d}__popup--${l.position}`);const D={};l.width&&(D.width=typeof l.width=="number"?`${l.width}px`:l.width),l.height&&(D.height=typeof l.height=="number"?`${l.height}px`:l.height);const R={...Se(l,Fe),popClass:P.join(" "),style:D,visible:S.value,teleportDisable:!0,closeable:!1,position:l.position,closeOnClickOverlay:l.closeOnClickOverlay,onClickOverlay:p,"onUpdate:visible":h},v=t.h(a,R,{default:()=>x});return t.h("div",{class:[`${d}__root`,g]},[v])}}}}const{componentName:sh,create:ih,scope:ch}=G("popup-wrapper"),yl=ih(rh(sh,ch,fe,oe.Close)),dh={visible:{type:Boolean},zIndex:{type:Number,default:1},popClass:{type:String},popStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}};function uh(e,n,a,o){return{props:{...dh},emits:["update:visible"],setup(l,{emit:r,slots:s}){const i=c=>{r("update:visible",c)};return()=>{const c=[`${e}__popup`];l.popClass&&c.push(l.popClass);const f={popClass:c,style:l.popStyle??{},position:"top",zIndex:l.zIndex,closeOnClickOverlay:l.closeOnClickOverlay,teleportDisable:!0,visible:l.visible,"onUpdate:visible":i},p=t.h(a,f,s),d={class:`${e}`};return t.h("view",d,[p])}}}}const{componentName:fh,create:mh,scope:ph}=G("dropdown"),bl=mh(uh(fh,ph,fe));function hh(e,n){const a=document.createRange();a.setStart(e,0),a.setEnd(e,e.childNodes.length);const o=a.getBoundingClientRect().width;if(o>0){n(o);return}e.classList.add("is-selectable"),setTimeout(()=>{a.setStart(e,0),a.setEnd(e,e.childNodes.length);const l=a.getBoundingClientRect().width;e.classList.remove("is-selectable"),n(l)},500)}const gh={tag:{type:[String],required:!1,default:"span"},showOverflowTooltip:{type:[Boolean],required:!1},showArrow:{type:[Boolean],required:!1,default:!0},showAfter:{type:[Number],required:!1,default:300},hideAfter:{type:[Number],required:!1,default:0},type:{type:[String],required:!1},size:{type:[String],required:!1},truncated:{type:[Boolean,String],required:!1,default:!0},numberFormat:{type:[Boolean],required:!1,default:!1},decimalLength:{type:[Number,String],required:!1,default:-1},autoPadding:{type:[Boolean,String],required:!1,default:!1},digits:{type:[Number,String],required:!1,default:4},separator:{type:String,required:!1,default:" "},highlightFilter:{type:[String,Function],required:!1},mark:{type:[Boolean],required:!1},color:{type:[String],required:!1},icon:{type:[Object],required:!1},textPosition:{type:String,default:"right"},textColor:{type:String}};function yh(e,n,a,o=!1){return{props:{...gh},emits:["click"],setup(l,r){const s=t.ref(null),i=t.computed(()=>{const g={[`${e}`]:!0,"is-truncated":l.truncated};return l.type&&(g[`${e}--${l.type??"default"}`]=!0),l.size&&(g[`${e}--${l.size}`]=!0),g}),c=t.computed(()=>{const g={},C=l.textColor??l.color;return C&&(g.color=C),g}),f=(g,C)=>{let A=null;if(typeof l.highlightFilter=="string"&&l.highlightFilter.length>0){const w=l.highlightFilter;if(g.indexOf(w)!==-1){const T=g.replace(new RegExp(w,"g"),`<span>${w}</span>`);C.innerHTML=T,C.class["is-highlight"]=!0,A=t.h(l.tag,C)}}else if(typeof l.highlightFilter=="function"){const w=l.highlightFilter(g);w&&(C.innerHTML=w,C.class["is-highlight"]=!0,A=t.h(l.tag,C))}return A},p=g=>{r.emit("click",g)};let d="";const h=()=>{const g=s.value;if(!g)return;const C=g.clientWidth;hh(g,A=>{const w=g.innerHTML??"";ue(w)||A<C||(d?a?.show(g,w,{type:"text",id:d,showArrow:l.showArrow},!0):d=a?.show(g,w,{type:"text",showArrow:l.showArrow},!0)??"")})},S=()=>{d&&a?.hide(d)};let y=null;const b=g=>{y||(y=setTimeout(()=>{h(),y=null},l.showAfter??0))},k=g=>{y&&(clearTimeout(y),y=null),setTimeout(()=>{S()},l.hideAfter??0)},u=()=>{const g=s.value;g&&(g.addEventListener("mouseover",b),g.addEventListener("mouseleave",k))},m=()=>{const g=s.value;g&&(g.removeEventListener("mouseover",b),g.removeEventListener("mouseleave",k))};return t.onMounted(()=>{!he(l.showOverflowTooltip)||!a||u()}),t.onBeforeUnmount(()=>{!he(l.showOverflowTooltip)||!a||m()}),()=>{const g={onClick:p,class:i.value,style:c.value,ref:s};let C=null;if(he(l.numberFormat)&&typeof r.slots.default=="function"){const T=r.slots.default();if(Array.isArray(T)&&T.length===1){const V=T[0].type.toString();if(V==="Symbol(Text)"||V==="Symbol(v-txt)"){const E=me(l.digits),$=me(l.decimalLength),x=he(l.autoPadding);let P=`${T[0].children}`,D=P.split("").reverse().join("");D=nn(D,$,x,E,l.separator),P=D.split("").reverse().join(""),l.highlightFilter!==void 0&&(C=f(P,g)),C||(g.innerHTML=P,C=t.h(l.tag,g))}}}else{if(l.highlightFilter!==void 0&&typeof r.slots.default=="function"){const T=r.slots.default();if(Array.isArray(T)&&T.length===1){const V=T[0].type.toString();if(V==="Symbol(Text)"||V==="Symbol(v-txt)"){const E=`${T[0].children}`;C=f(E,g),C||(g.innerHTML=E,C=t.h(l.tag,g))}}}C||(C=t.h(l.tag,g,{default:r.slots.default}))}if(!l.mark&&!l.icon&&!r.slots.mark)return C;let w=null;if(l.icon){const T={[`${e}__mark-wrap`]:!0};l.type&&(T[`${e}__mark-wrap--${l.type}`]=!0);const V={},E=l.color;E&&(V.color=E);const $={class:T,style:V};w=t.h("view",$,t.h(l.icon))}else if(r.slots.mark){const T={[`${e}__mark-wrap`]:!0};l.type&&(T[`${e}__mark-wrap--${l.type}`]=!0);const V={},E=l.color;E&&(V.color=E);const $={class:T,style:V};w=t.h("view",$,{default:r.slots.mark})}else{const T={[`${e}__mark`]:!0};l.type&&(T[`${e}__mark--${l.type??"default"}`]=!0);const V={},E=l.color;E&&(V["background-color"]=E);const $={class:T,style:V};w=t.h("view",$)}const B={class:{"fox-text__wrap":!0,"text-left":l.textPosition==="left","text-right":l.textPosition==="right"}};return t.h("view",B,[w,C])}}}}const{componentName:bh,create:kh,scope:Sh}=G("text"),kl=kh(yh(bh,Sh,bt,!1));function Ch(e,n,a,o,l){let r=[];Array.isArray(e)?r=e:r=[e];const s=[],i=n[0];if(Array.isArray(e)&&!Array.isArray(i)&&!i[l]){let c=n;for(let f=0;c&&f<r.length;f++){let p=r[f],d=c.find(h=>h[o]===p);if(!d)break;s.push(d[a])}return s}if(Array.isArray(i))for(let c=0;c<n.length&&c<r.length;c++){let f=n[c],p=r[c];const d=f.find(h=>h[o]===p);if(!d)break;s.push(d[a])}else{let c=n;for(let f=0;c&&f<r.length;f++){let p=r[f],d=c.find(h=>h[o]===p);if(!d)break;s.push(d[a]),c=d[l]}}return s}class wh{proxy;constructor(n){this.proxy=n}async load(n,a,o){if(Array.isArray(a))return a;if(typeof a=="function")return await a(o);const l=Ze(this.proxy,n);return l===null?(console.error(`${n} component not found api function`),[]):(De(o)&&t.isReactive(o)&&(o=t.toRaw(o)),await l(a,o))}}function Nh(){const e=t.getCurrentInstance();return new wh(e.proxy)}const Bh={tag:{type:[String,Object],required:!1,default:"span"},resolveTag:{type:[Boolean],required:!1,default:!1},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array],required:!1},separator:{type:[String,Boolean,Number,Array],required:!1,default:"/"},optionType:{type:String,required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},emptyText:{type:[String],required:!1},emptyTag:{type:[String],required:!1,default:"span"},emptyClass:{type:[String],required:!1}};function Ah(e,n,a=!1){return{props:{...Bh},setup(o,{attrs:l,slots:r}){const s=Nh(),i=t.ref([]);t.watch([()=>o.source,()=>o.params],async([p,d])=>{i.value=await s.load(o.sourceType,p,d)},{immediate:!0});const c=t.computed(()=>{if(!Array.isArray(i.value)||i.value.length===0)return"";let p=Ch(o.modelValue,i.value,o.textKey,o.valueKey,o.childrenKey);return p.length==0?o.emptyText??"":p.length===1?o.optionType=="item"?`${o.modelValue}${o.separator}${p[0]}`:p[0]:p.join(o.separator)}),f=o.resolveTag?t.resolveComponent(o.tag):o.tag;return()=>{const p={...l};return r.default?r.default({text:c.value,value:o.modelValue}):o.resolveTag?o.emptyText!==void 0&&o.emptyText===c.value?t.h(o.emptyTag??"span",{...l,class:o.emptyClass},c.value):t.h(f,p,{default:()=>c.value}):t.h(f,p,c.value)}}}}const{componentName:Th,create:Vh,scope:$h}=G("mapping"),Sl=Vh(Ah(Th,$h,!1));function Eh(e,n){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:{}}},setup(a,{slots:o}){return mr(a.name,()=>a.config),()=>typeof o.default=="function"?o.default():null}}}const{componentName:mA,create:Dh,scope:pA}=G("domain-provider"),Cl=Dh(Eh()),Ih={initialVisibleObserverSize:{type:[Number],required:!1},initialInvisibleObserverHeight:{type:[String],required:!1,default:"250px"},disabled:{type:[Boolean],required:!1},loadPolicy:{type:[String],required:!1,default:"rolling"},rootMargin:{type:[String],required:!1,default:"250px 0px 250px 0px"},threshold:{type:[Array],required:!1,default:[0,.25]},root:{type:[Object,String]}};function xh(e,n){return{inheritAttrs:!1,props:Ih,setup(a,{slots:o}){if(nt&&window.IntersectionObserver){const l=new WeakMap;let r=new Map;const s=(h,S)=>{if(p===null){r.set(h,{visible:null,callback:S});return}l.has(h)&&p.unobserve(h),l.set(h,{visible:null,callback:S}),p.observe(h)},i=h=>{if(p===null){r.delete(h);return}l.has(h)&&(l.delete(h),p.unobserve(h))};let c=a.initialVisibleObserverSize;Xi({acquire:()=>{const h=c>0;return c--,h},get disabled(){return a.disabled},get initialHeight(){return a.initialInvisibleObserverHeight},observe:s,unobserve:i});let p=null;const d=(h,S,y)=>{p=new IntersectionObserver(b=>{for(let k of b){let u=!1;k.intersectionRatio>0&&(u=!0);const m=l.get(k.target);if(m)try{if(a.loadPolicy==="lazy"&&!u&&m.visible!==null)return;m.visible=u,m.callback(u)}catch(g){console.error(g)}}},{root:h,rootMargin:S,threshold:y}),r.forEach((b,k)=>{l.set(k,b),p?.observe(k)}),r.clear()};t.watch([()=>a.root,()=>a.disabled],([h,S])=>{if(S||!h||p)return;let y=null;typeof h=="string"?y=document.querySelector(h):y=h,y&&d(y,a.rootMargin,a.threshold)},{immediate:!0}),t.onUnmounted(()=>{p&&(p.disconnect(),p=null)})}return()=>typeof o.default=="function"?o.default():null}}}const{componentName:hA,create:qh,scope:gA}=G("rolling-provider"),wl=qh(xh()),{componentName:vh,create:Mh}=G("cell"),Ph=Mh({components:{Right:oe.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:n}){const a=t.computed(()=>{const r=vh;return{[r]:!0,[`${r}--clickable`]:e.isLink,[`${r}--center`]:e.center,[`${r}--large`]:e.size=="large"}}),o=t.computed(()=>({borderRadius:ge(e.roundRadius)}));return{handleClick:r=>{n("click",r)},classes:a,baseStyle:o}}}),Lh={key:0,class:"fox-cell__icon"},zh={key:1,class:"fox-cell__title"},Fh={class:"title"},Rh={class:"fox-cell__title-desc"};function Oh(e,n,a,o,l,r){const s=t.resolveComponent("Right");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.baseStyle),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.renderSlot(e.$slots,"default",{},()=>[e.$slots.icon?(t.openBlock(),t.createElementBlock("view",Lh,[t.renderSlot(e.$slots,"icon")])):t.createCommentVNode("",!0),e.title||e.subTitle||e.$slots.title?(t.openBlock(),t.createElementBlock("view",zh,[e.subTitle?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.renderSlot(e.$slots,"title",{},()=>[t.createElementVNode("view",Fh,t.toDisplayString(e.title),1)]),t.createElementVNode("view",Rh,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 Nl=te(Ph,[["render",Oh]]),{componentName:Kh,create:Uh}=G("cell-group"),Hh=Uh({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:t.computed(()=>({[Kh]:!0}))}}}),jh={key:1,class:"fox-cell-group__title"},Wh={key:3,class:"fox-cell-group__desc"},Yh={class:"fox-cell-group__wrap"};function Xh(e,n,a,o,l,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",jh,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",Wh,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.createElementVNode("view",Yh,[t.renderSlot(e.$slots,"default")])],2)}const Bl=te(Hh,[["render",Xh]]),{componentName:Qh,create:Gh}=G("image"),Zh=Gh({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:oe.Image,ImageError:oe.ImageError},emits:["click","load","error"],setup(e,{emit:n}){const a=t.reactive({loading:!0,isError:!1,slotLoding:t.useSlots().loading,slotError:t.useSlots().error}),o=t.computed(()=>{const S=Qh;return{[S]:!0,[`${S}-round`]:e.round}}),l=t.ref(null),r=t.ref(!1),s=t.ref(null),i=()=>{const S={threshold:[0],rootMargin:"0px"};l.value=new IntersectionObserver(y=>{y.forEach(b=>{b.isIntersecting&&(r.value=!0,l.value.disconnect())})},S),s.value&&l.value.observe(s.value)};t.onMounted(()=>{e.lazyLoad&&i()}),t.onBeforeUnmount(()=>{l.value&&l.value.disconnect()});const c=t.computed(()=>{let S={};return e.width&&(S.width=ge(e.width)),e.height&&(S.height=ge(e.height)),e.radius!==void 0&&e.radius!==null&&(S.overflow="hidden",S.borderRadius=ge(e.radius)),S}),f=t.computed(()=>({objectFit:e.fit,objectPosition:e.position}));t.watch(()=>e.src,S=>{a.isError=!1,a.loading=!0});const p=()=>{a.loading=!1,n("load")},d=()=>{a.isError=!0,a.loading=!1,n("error")},h=S=>{n("click",S)};return{...t.toRefs(a),imageClick:h,classes:o,styles:f,stylebox:c,error:d,load:p,show:r,imgRef:s}}}),Jh=["src","date-src","alt"],_h={key:0,class:"fox-img-loading"},eg={key:1,class:"fox-img-error"};function tg(e,n,a,o,l,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:n[2]||(n[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:n[0]||(n[0]=(...c)=>e.load&&e.load(...c)),onError:n[1]||(n[1]=(...c)=>e.error&&e.error(...c)),style:t.normalizeStyle(e.styles)},null,44,Jh),e.loading?(t.openBlock(),t.createElementBlock("div",_h,[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",eg,[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 Al=te(Zh,[["render",tg]]),{create:ng}=G("layout"),Tl=ng({}),{componentName:og,create:lg}=G("col"),ag=lg({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const n=og,a=t.inject("gutter"),o=t.computed(()=>({[n]:!0,[`${n}-gutter`]:a,[`fox-col-${e.span}`]:!0,[`fox-col-offset-${e.offset}`]:!0})),l=t.computed(()=>({paddingLeft:a/2+"px",paddingRight:a/2+"px"}));return{classes:o,style:l}}});function rg(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const Vl=te(ag,[["render",rg]]),{componentName:sg,create:ig}=G("row"),cg=ig({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=sg;t.provide("gutter",e.gutter);const a=(l,r)=>l?r?`fox-row-${l}-${r}`:"":`fox-row-${r}`;return{classes:t.computed(()=>e.type==="flex"?`
|
|
6
|
+
${a("",e.type)}
|
|
7
|
+
${a("justify",e.justify)}
|
|
8
|
+
${a("align",e.align)}
|
|
9
|
+
${a("flex",e.flexWrap)}
|
|
20
10
|
${n}
|
|
21
11
|
`:`
|
|
22
12
|
${n}
|
|
23
|
-
`)}}});function Gd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)}const wl=j(Qd,[["render",Gd]]),{componentName:Nl,create:vd}=K("sticky"),Bl=vd({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(),a=t.reactive({width:0,height:0,fixed:!1,transform:0}),r=t.computed(()=>{const{fixed:w,width:y,height:g}=a;if(w)return{width:`${y}px`,height:`${g}px`}}),s=t.computed(()=>{if(!a.fixed)return;const w={width:`${a.width}px`,height:`${a.height}px`,[e.position]:`${i.value}px`,zIndex:+e.zIndex};return a.transform&&(w.transform=`translate3d(0, ${a.transform}px, 0)`),w}),i=t.computed(()=>e.position==="top"?e.top:e.bottom),c=w=>{const y=t.unref(w);if(!y)return!1;const g=window.getComputedStyle(y),k=g.display==="none",d=y.offsetParent===null&&g.position!=="fixed";return k||d},u=()=>!(!l.value||c(l)),f=w=>Math.max(0,"scrollTop"in w?w.scrollTop:w.pageYOffset),m=()=>t.h("view",{style:s.value,class:a.fixed?`${Nl} fox-sticky--fixed`:Nl},o.default?.()),h=()=>{if(!u())return;const{container:w,position:y}=e,g=f(window),k=Ce(l);if((k.width||k.height)&&(a.width=k.width,a.height=k.height),y==="top")if(w){const d=Ce(w),p=d.bottom-+i.value-a.height;a.fixed=+i.value>k.top&&d.bottom>0,a.transform=p<0?p:0}else a.fixed=i.value>k.top;else if(y==="bottom"){const d=document.documentElement.clientHeight;if(w){const p=Ce(w),S=d-p.top-+i.value-a.height;a.fixed=d-+i.value<k.bottom&&d>p.top,a.transform=S<0?-S:0}else a.fixed=d-+i.value<k.bottom}n("scroll",{top:g,fixed:a.fixed})};return t.watch(()=>a.fixed,w=>{n("change",w)}),t.onMounted(()=>{window.addEventListener("scroll",h),h()}),t.onUnmounted(()=>{window.removeEventListener("scroll",h)}),()=>t.h("view",{style:r.value,ref:l},[m()])}}),{componentName:Zd,create:Jd}=K("divider"),_d=Jd({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=Zd;let a={[l]:!0},r={};return e.direction==="horizontal"?r={...a,[`${l}-center`]:n.slots.default,[`${l}-left`]:e.contentPosition==="left",[`${l}-right`]:e.contentPosition==="right",[`${l}-dashed`]:e.dashed,[`${l}-hairline`]:e.hairline}:r={...a,[`${l}-vertical`]:e.direction==="vertical"},r})}}});function eu(e,n,o,l,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 Vl=j(_d,[["render",eu]]);function tu(e,n){const o=[],l=a=>{!Array.isArray(a)||a.forEach(r=>{if(!!t.isVNode(r)){if(n){if(r.type&&r.type.name===n){o.push(r);return}}else o.push(r);r.component?.subTree&&l(r.component.subTree.children),r.children&&l(r.children)}})};return l(e),o}function nu(e,n,o){const l=tu(e.subTree.children,o);n.sort((a,r)=>l.indexOf(a.vnode)-l.indexOf(r.vnode))}function ou(e,n){const o=t.shallowReactive([]),l=t.getCurrentInstance(),a=i=>{!i.proxy||(o.push(t.markRaw(i)),nu(l,o,n))},r=i=>{o.splice(o.indexOf(t.markRaw(i)),1)},s=Object.assign;return i=>(t.provide(e,s({add:a,remove:r,internalChildren:o},i)),{internalChildren:o})}const{componentName:Al}=K("grid"),El=Symbol("grid"),lu={props:{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}},setup(e,{slots:n}){ou(El,`${Al}-item`)({props:e});const o=t.computed(()=>{const a=Al;return{[a]:!0,[`${a}--border`]:e.border&&!e.gutter}}),l=t.computed(()=>{const a={};return e.gutter&&(a.paddingLeft=_(e.gutter)),a});return()=>t.h("view",{class:o.value,style:l.value},n.default?.())}},{create:au}=K("grid"),Tl=au(lu);function ru(e){const n=t.getCurrentInstance();if(n&&n.proxy){let o=n.proxy;Object.assign(o,e)}}function su(e){const n=t.inject(e,null);if(n){const o=t.getCurrentInstance(),{add:l,remove:a,internalChildren:r}=n;l(o),t.onUnmounted(()=>a(o));const s=t.computed(()=>r.indexOf(o));return{parent:n,index:s}}return{parent:null,index:t.ref(-1)}}const{create:iu,componentName:$l}=K("grid-item"),cu=iu({props:{text:{type:String},icon:{type:String},iconSize:{type:[Number,String]},iconColor:{type:String}},emits:["click"],setup(e,{emit:n}){const o=su(El);if(!o.parent)return;const l=o.index,a=o.parent.props,r=t.computed(()=>({[$l]:!0})),s=t.computed(()=>{const f={flexBasis:`${100/+a.columnNum}%`};return a.square?f.paddingTop=`${100/+a.columnNum}%`:a.gutter&&(f.paddingRight=_(a.gutter),l.value>=a.columnNum&&(f.marginTop=_(a.gutter))),f}),i=t.computed(()=>{const f=`${$l}__content`;return{[`${f}`]:!0,[`${f}--border`]:a.border,[`${f}--surround`]:a.border&&a.gutter,[`${f}--center`]:a.center,[`${f}--square`]:a.square,[`${f}--reverse`]:a.reverse,[`${f}--${a.direction}`]:!!a.direction,[`${f}--clickable`]:a.clickable}}),c=t.computed(()=>({name:e.icon,size:e.iconSize||a.iconSize,color:e.iconColor||a.iconColor}));return{rootClass:r,rootStyle:s,contentClass:i,iconProps:c,handleClick:f=>{n("click",f)}}}}),du={key:3,class:"fox-grid-item__text"};function uu(e,n,o,l,a,r){const s=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]=(...i)=>e.handleClick&&e.handleClick(...i))},[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(s,{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",du,t.toDisplayString(e.text),1))],64))],2)],6)}const Dl=j(cu,[["render",uu]]),{componentName:fu,create:mu}=K("navbar"),pu=mu({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:a,placeholder:r,zIndex:s}=t.toRefs(e),i=t.ref(null),c=t.ref(null);let u=t.ref(0);const f=t.computed(()=>{const k=fu;return{[k]:!0,[`${k}--border`]:o.value,[`${k}--fixed`]:l.value,[`${k}--safe-area-inset-top`]:a.value}}),m=t.computed(()=>({zIndex:s.value}));t.onMounted(()=>{l.value&&r.value&&t.nextTick(()=>{u=c?.value?.getBoundingClientRect().height,i.value.style.height=u+"px"})});function h(){n("on-click-back")}function w(){n("on-click-title")}function y(){n("on-click-icon")}function g(){n("on-click-right")}return{navBarWrap:i,navBarHtml:c,classes:f,styles:m,handleLeft:h,handleCenter:w,handleCenterIcon:y,handleRight:g}}}),hu={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},gu={key:1,class:"fox-navbar__text"},yu={class:"fox-navbar__title"},ku={key:0,class:"fox-navbar__text"},Su={key:1,class:"fox-navbar__text"},bu={class:"fox-navbar__title"},Cu={key:0,class:"fox-navbar__text"};function wu(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return e.fixed&&e.placeholder?(t.openBlock(),t.createElementBlock("view",hu,[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]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?(t.openBlock(),t.createBlock(s,{key:0,color:"#979797",name:"left"})):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",gu,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",yu,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:n[1]||(n[1]=(...i)=>e.handleCenter&&e.handleCenter(...i))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titIcon?(t.openBlock(),t.createBlock(s,{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]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?(t.openBlock(),t.createElementBlock("view",ku,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]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?(t.openBlock(),t.createBlock(s,{key:0,color:"#979797",name:"left"})):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",Su,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",bu,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:n[4]||(n[4]=(...i)=>e.handleCenter&&e.handleCenter(...i))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titIcon?(t.openBlock(),t.createBlock(s,{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]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?(t.openBlock(),t.createElementBlock("view",Cu,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6))}const Il=j(pu,[["render",wu]]),Nu=(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:a}=oe.useFoxI18n(n),r=a(o,["activeText","unActiveText"]),s=t.computed(()=>({[e]:!0,active:o.visible,[o.type]:!0})),i=t.ref(-1);return{...r,classes:s,updateValue:(f=!o.visible)=>{l("update:visible",f)},selected:(f,m)=>{l("selected",{item:f,event:m}),i.value=f.id},current:i}}}),{componentName:Bu,create:Vu,scope:Au}=K("fixednav"),Eu=Vu(Nu(Bu,Au)),Tu={class:"fox-fixednav__list"},$u=["onClick"],Du=["src"],Iu={class:"span"},qu={key:0,class:"b"},zu={class:"text"};function Mu(e,n,o,l,a,r){const s=t.resolveComponent("fox-overlay"),i=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(s,{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",Tu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.navList,(c,u)=>(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||u},[t.createElementVNode("img",{src:c.icon},null,8,Du),t.createElementVNode("view",Iu,t.toDisplayString(c.text),1),c.num?(t.openBlock(),t.createElementBlock("view",qu,t.toDisplayString(c.num),1)):t.createCommentVNode("",!0)],10,$u))),128))])]),t.createElementVNode("div",{class:"fox-fixednav__btn",onClick:n[1]||(n[1]=c=>e.updateValue())},[t.renderSlot(e.$slots,"btn",{},()=>[t.createVNode(i,{name:"left",color:"#fff"}),t.createElementVNode("view",zu,t.toDisplayString(e.visible?e.activeText:e.unActiveText),1)])])],6)}const ql=j(Eu,[["render",Mu]]),{componentName:Pu,create:Ru}=K("menu"),Lu=Ru({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(),a=t.ref(0),r=t.ref(!1),s=()=>{const k=t.reactive([]),d=t.reactive([]);return{children:k,linkChildren:S=>{const C=b=>{b.proxy&&(d.push(b),k.push(b.proxy))};t.provide("menuParent",Object.assign({link:C,children:k,internalChildren:d},S))}}},{children:i,linkChildren:c}=s(),u=t.computed(()=>i.some(k=>k.state.showWrapper)),f=t.computed(()=>({[Pu]:!0,"scroll-fixed":r.value})),m=()=>{if(l.value){const k=Ce(l);e.direction==="down"?a.value=k.bottom:a.value=window.innerHeight-k.top}};c({props:e,offset:a});const h=k=>{i.forEach((d,p)=>{p===k?(m(),d.toggle()):d.state.showPopup&&d.toggle(!1,{immediate:!0})})},w=k=>Math.max(0,"scrollTop"in k?k.scrollTop:k.pageYOffset),y=()=>{const{scrollFixed:k}=e,d=w(window);r.value=d>(typeof k=="boolean"?30:Number(k))},g=k=>{let d="";const{titleClass:p}=e;return k&&(d+="active"),p&&(d+=` ${p}`),d};return t.onMounted(()=>{const{scrollFixed:k}=e;k&&window.addEventListener("scroll",y)}),t.onUnmounted(()=>{const{scrollFixed:k}=e;k&&window.removeEventListener("scroll",y)}),{toggleItem:h,children:i,opened:u,classes:f,barRef:l,getClasses:g}}}),Ou=["onClick"],Fu={class:"fox-menu__title-text"};function Uu(e,n,o,l,a,r){const s=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,(i,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-menu__item",{disabled:i.disabled,active:i.state.showPopup}]),onClick:u=>!i.disabled&&e.toggleItem(c),style:t.normalizeStyle({color:i.state.showPopup?e.activeColor:""})},[t.createElementVNode("view",{class:t.normalizeClass(["fox-menu__title",e.getClasses(i.state.showPopup)])},[t.createElementVNode("view",Fu,t.toDisplayString(i.renderTitle()),1),t.createVNode(s,{name:i.titleIcon||(e.direction==="up"?"arrow-up":"down-arrow"),size:"10",class:"fox-menu__title-icon"},null,8,["name"])],2)],14,Ou))),128))],2),t.renderSlot(e.$slots,"default")],2)}const zl=j(Lu,[["render",Uu]]),{componentName:Ku,create:Hu}=K("menu-item"),xu=Hu({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:{[ae.name]:ae,[pe.name]:pe},emits:["update:modelValue","change","open","close"],setup(e,{emit:n,slots:o}){const l=t.reactive({showPopup:!1,transition:!0,showWrapper:!1,isShowPlaceholderElement:!1}),a=()=>{const w=t.inject("menuParent",null);if(w){const y=t.getCurrentInstance(),{link:g}=w;return g(y),{parent:w}}},{parent:r}=a(),s=t.computed(()=>({[Ku]:!0})),i=t.computed(()=>{const w={height:r.offset.value+"px"};return r.props.direction==="down"?w:{...w,top:"auto"}});return{classes:s,placeholderElementStyle:i,renderTitle:()=>{if(e.title)return e.title;const w=e.options?.find(y=>y.value===e.modelValue);return w?w.text:""},state:l,parent:r,toggle:(w=!l.showPopup,y={})=>{w!==l.showPopup&&(l.showPopup=w,l.isShowPlaceholderElement=w,w&&(l.showWrapper=!0,n("open")))},onClick:w=>{l.showPopup=!1,l.isShowPlaceholderElement=!1,w.value!==e.modelValue&&(n("update:modelValue",w.value),n("change",w.value))},handleClose:()=>{l.showWrapper=!1,l.isShowPlaceholderElement=!1,n("close")},handleClickOutside:()=>{l.showPopup=!1,n("close")}}}}),ju={class:"fox-menu-item__content fox-menu-item__overflow"},Wu=["onClick"];function Yu(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon"),i=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(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"}},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",ju,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.options,(c,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,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(s,{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,Wu))),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 Ml=j(xu,[["render",Yu]]),{create:Xu}=K("tabbar"),Qu=Xu({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(a){l.value!==a&&(l.value=a,n.emit("update:modelValue",a),n.emit("change",a,l.children[a]))}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,a=>{l.value=a}),{changeIndex:o}}});function Gu(e,n,o,l,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 Pl=j(Qu,[["render",Gu]]),{create:vu}=K("tabbar-item"),Zu=vu({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}),a=t.getCurrentInstance();a!==null&&(u=>{if(u.proxy){let f=o.children.length;l.index=f;let m=Object.assign(u.proxy,{index:f});o.children.push(m)}})(a);const r=t.computed(()=>l.index===l.value);function s(c){o&&typeof o.changeIndex=="function"&&o.changeIndex(c)}const i=t.computed(()=>o?o.value:null);return t.watch(i,c=>{l.value=c}),{state:l,active:r,change:s}}}),Ju={class:"fox-tabbar-item_icon-box"},_u={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},ef={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},tf={key:1,class:"fox-tabbar-item_icon-box_dot"},nf={key:2},of={key:0};function lf(e,n,o,l,a,r){const s=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]=i=>e.change(e.state.index))},[t.createElementVNode("view",Ju,[e.dot?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.num&&e.num<=99?(t.openBlock(),t.createElementBlock("view",_u,t.toDisplayString(e.num),1)):e.num&&e.num>100?(t.openBlock(),t.createElementBlock("view",ef,t.toDisplayString("99+"))):t.createCommentVNode("",!0)],64)),e.dot?(t.openBlock(),t.createElementBlock("div",tf)):t.createCommentVNode("",!0),e.icon?(t.openBlock(),t.createElementBlock("view",nf,[t.createVNode(s,{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",of,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.title?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"default",{key:1})],2)])],6)}const Rl=j(Zu,[["render",lf]]),{componentName:af,create:rf}=K("elevator"),sf=rf({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}),a=t.computed(()=>({[af]:!0})),r=t.computed(()=>({transform:`translate3d(0, ${l.scrollY+l.fixedTop}px, 0)`})),s=t.computed(()=>o.value.clientHeight),i=(d,p)=>{const S="data-";return d.getAttribute(S+p)},c=d=>{t.nextTick(()=>{!l.listGroup.includes(d)&&d!=null&&l.listGroup.push(d)})},u=()=>{let d=0;l.listHeight.push(d);for(let p=0;p<l.listGroup.length;p++)d+=l.listGroup[p].clientHeight,l.listHeight.push(d)},f=d=>{!d&&d!==0||(d<0&&(d=0),d>l.listHeight.length-2&&(d=l.listHeight.length-2),l.codeIndex=d,o.value.scrollTo(0,l.listHeight[d]))},m=d=>{l.scrollStart=!0;let p=i(d.target,"index"),S=d.touches[0];l.touchState.y1=S.pageY,l.anchorIndex=+p,l.codeIndex=+p,f(+p)},h=d=>{let p=d.touches[0];l.touchState.y2=p.pageY;let S=(l.touchState.y2-l.touchState.y1)/e.spaceHeight|0;l.codeIndex=l.anchorIndex+S,f(l.codeIndex)},w=()=>{l.scrollStart=!1},y=(d,p)=>{n.emit("click-item",d,p),l.currentData=p,l.currentKey=d},g=d=>{n.emit("click-index",d)},k=d=>{let S=d.target.scrollTop;const C=l.listHeight;l.scrollY=S;for(let b=0;b<C.length-1;b++){let N=C[b],B=C[b+1];if(l.scrollY>=N&&l.scrollY<B){l.currentIndex=b,l.diff=B-l.scrollY;return}}l.currentIndex=C.length-2};return t.onMounted(()=>{o.value.addEventListener("scroll",k)}),ot({scrollTo:f}),t.watch(()=>l.listGroup.length,()=>{l.listHeight=[],t.nextTick(u)}),t.watch(()=>l.diff,d=>{const p=l.listHeight;let S=d>0&&d<e.titleHeight?d-e.titleHeight:0;l.scrollY+s.value===p[p.length-1]&&S!==0&&(S=0),l.fixedTop!==S&&(l.fixedTop=S)}),{classes:a,...t.toRefs(l),fixedStyle:r,clientHeight:s,setListGroup:c,listview:o,touchStart:m,touchMove:h,touchEnd:w,handleClickItem:y,handleClickIndex:g}}}),cf={class:"fox-elevator__list__item__code"},df=["onClick"],uf=["innerHTML"],ff={class:"fixed-title"},mf={class:"fox-elevator__bars__inner"},pf=["data-index","onClick"];function hf(e,n,o,l,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",cf,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)},[t.renderSlot(e.$slots,"default",{item:i},()=>[t.createElementVNode("span",{innerHTML:i.name},null,8,uf)])],10,df))),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",ff,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]=(...s)=>e.touchStart&&e.touchStart(...s)),onTouchmove:n[1]||(n[1]=t.withModifiers((...s)=>e.touchMove&&e.touchMove(...s),["stop","prevent"])),onTouchend:n[2]||(n[2]=(...s)=>e.touchEnd&&e.touchEnd(...s))},[t.createElementVNode("view",mf,[(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,pf))),128))])],32)],2)}const Ll=j(sf,[["render",hf]]),{componentName:D1,create:gf,scope:yf}=K("pagination"),kf=gf({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}=oe.useFoxI18n(yf),l=o(e,["prevText","nextText"]),{modelValue:a,mode:r,showPageSize:s,forceEllipses:i}=t.toRefs(e),c=t.computed(()=>{const{pageCount:h,totalItems:w,itemsPerPage:y}=t.toRefs(e),g=+h.value||Math.ceil(+w.value/+y.value);return Math.max(1,g)}),u=(h,w)=>{h>c.value||h<1||(h!=a.value&&n("update:modelValue",h),w&&n("change",h))},f=(h,w,y=!1)=>({number:h,text:w,active:y}),m=t.computed(()=>{if(r.value=="simple")return;let h=[];const w=c.value,y=+s.value;let g=1,k=w;const d=w>y;d&&(g=Math.max(a.value-Math.floor(y/2),1),k=g+y-1,k>w&&(k=w,g=k-y+1));for(var p=g;p<=k;p++){const S=f(p,p,a.value==p);h.push(S)}if(d&&y>0&&i.value){if(g>1){const S=f(g-1,"...");h.unshift(S)}if(k<w){const S=f(k+1,"...");h.push(S)}}return h});return t.watchEffect(()=>{u(a.value,!1)}),{...l,modelValue:a,select:u,countRef:c,mode:r,pages:m,forceEllipses:i}}}),Sf={class:"fox-pagination"},bf={key:0,class:"fox-pagination-contain"},Cf=["onClick"],wf={key:1,class:"fox-pagination-contain"},Nf={class:"fox-pagination-simple"};function Bf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",Sf,[t.createElementVNode("view",{class:t.normalizeClass(["fox-pagination-prev",e.mode=="multi"?"":"simple-border",e.modelValue==1?"disabled":""]),onClick:n[0]||(n[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",bf,[(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,Cf))),128))])):t.createCommentVNode("",!0),e.mode=="simple"?(t.openBlock(),t.createElementBlock("view",wf,[t.createElementVNode("view",Nf,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]=s=>e.select(e.modelValue+1,!0))},[t.renderSlot(e.$slots,"next-text",{},()=>[t.createTextVNode(t.toDisplayString(e.nextText),1)])],2)])}const Ol=j(kf,[["render",Bf]]);class Vf{title="";titleSlot;paneKey="";disabled=!1;constructor(){}}const Af={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 a;t.provide("activeKey",{activeKey:t.computed(()=>e.modelValue)}),t.provide("autoHeight",{autoHeight:t.computed(()=>e.autoHeight)});const r=t.ref([]),s=p=>{let S=p["pane-key"];return typeof S=="string"||typeof S=="number"||(S=p.paneKey,typeof S=="string"||typeof S=="number")?String(S):null},i=p=>{p.forEach((S,C)=>{let b=S.type;if(b=b.name||b,b=="fox-tabpane"){let N=new Vf;(S.props?.title||S.props?.["pane-key"]||S.props?.paneKey)&&(N.title=S.props?.title,N.paneKey=s(S.props)||String(C),N.disabled=S.props?.disabled),r.value.push(N)}else{if(S.children==" ")return;i(S.children)}})},c=t.ref(e.modelValue||0),u=p=>{let S=r.value.findIndex(C=>C.paneKey==p);if(r.value.length!=0){if(S==-1)return;c.value=S}},f=(p=o.default?.())=>{r.value=[],p=p?.filter(S=>typeof S.children!="string"),p&&p.length&&i(p),u(e.modelValue)},m=p=>{a=p.fixed};t.watch(()=>o.default?.(),p=>{f(p)});const h=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;t.watch(()=>e.modelValue,p=>{if(u(p),a){let S=Ce(l.value).top+h(),C=Math.ceil(S-e.top);window.scrollTo({top:C,behavior:"smooth"})}}),t.onMounted(f),t.onActivated(f);const w=t.computed(()=>({transform:e.direction=="horizontal"?`translate3d(-${c.value*100}%, 0, 0)`:`translate3d( 0,-${c.value*100}%, 0)`,transitionDuration:`${e.animatedTime}ms`})),y=t.computed(()=>({background:e.background})),g=t.computed(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),k=t.computed(()=>({marginLeft:_(e.titleGutter),marginRight:_(e.titleGutter)}));return{titles:r,contentStyle:w,tabsNavStyle:y,titleStyle:k,tabsActiveStyle:g,container:l,onStickyScroll:m,...{tabChange:(p,S)=>{n("click",p),!p.disabled&&(c.value=S,n("update:modelValue",p.paneKey),n("change",p))}}}}},{create:Ef}=K("tabs"),Tf=Ef(Af),$f=["onClick"],Df=["onClick"];function If(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon"),i=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(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)},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.titles,(c,u)=>(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,u),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,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,$f))),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,u)=>(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,u),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,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,Df))),128))],6)),t.createElementVNode("view",{class:"fox-tabs__content",style:t.normalizeStyle(e.contentStyle)},[t.renderSlot(e.$slots,"default")],4)],2)}const Fl=j(Tf,[["render",If]]),{create:qf}=K("tabpane"),zf=qf({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 Mf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)}const Ul=j(zf,[["render",Mf]]),{componentName:Kl,create:Pf}=K("indicator"),Rf=Pf({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 a=Kl;return{[a]:!0,[`${a}--block`]:n.value,[`${a}--align__${o.value}`]:n.value&&o.value}}),componentName:Kl}}});function Lf(e,n,o,l,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&&s<10?`0${s}`:s),3)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`${e.componentName}--dot`)},null,2))],64))),128))],2)}const Hl=j(Rf,[["render",Lf]]),{componentName:Of,create:Ff}=K("sidenavbar"),Uf=Ff({props:{offset:{type:[String,Number],default:15}},emits:[],setup:(e,n)=>{const o=t.ref(null),l=t.reactive({count:1,observer:null}),a=t.computed(()=>({[Of]:!0})),r=(i,c=1)=>{for(let u=0;u<i.length;u++){let f=i[u];f.children[0].style.paddingLeft=e.offset*c+"px",f.className.includes("fox-sidenavbaritem")||r(Array.from(f.children[1].children),++l.count)}l.count--},s=()=>{let i=o.value.childNodes;i.length&&(i=Array.from(i).filter(c=>c.nodeType!==3).map(c=>c),r(i))};return t.onMounted(()=>{s(),l.observer=new MutationObserver(function(){l.count=1,s()}),l.observer.observe(o.value,{attributes:!1,childList:!0,characterData:!1,subtree:!1})}),{...t.toRefs(l),list:o,classes:a}}}),Kf={class:"fox-sidenavbar__content"},Hf={class:"fox-sidenavbar__content__list",ref:"list"};function xf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",Kf,[t.createElementVNode("view",Hf,[t.renderSlot(e.$slots,"default")],512)])],2)}const xl=j(Uf,[["render",xf]]),{componentName:jf,create:Wf}=K("sidenavbaritem"),Yf=Wf({props:{title:{type:String,default:""},ikey:{type:String,default:""}},emits:["click"],setup:(e,n)=>({classes:t.computed(()=>({[jf]:!0})),handleClick:()=>{n.emit("click")}})}),Xf=["ikey"],Qf={class:"fox-sidenavbaritem__title"};function Gf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:"fox-sidenavbaritem",onClick:n[0]||(n[0]=t.withModifiers((...s)=>e.handleClick&&e.handleClick(...s),["stop"])),ikey:e.ikey},[t.createElementVNode("span",Qf,t.toDisplayString(e.title),1)],8,Xf)}const jl=j(Yf,[["render",Gf]]),{componentName:vf,create:Zf}=K("subsidenavbar"),Jf=Zf({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(()=>({[vf]:!0})),a=t.computed(()=>({height:o.direction?"0px":"auto"})),r=()=>{n.emit("title-click"),o.direction=o.direction?"":"up"};return t.onMounted(()=>{o.direction=e.open?"":"up"}),{...t.toRefs(o),classes:l,style:a,handleClick:r}}}),_f=["ikey"],em={class:"fox-subsidenavbar__title__text"},tm={class:"fox-subsidenavbar__title__icon"};function nm(e,n,o,l,a,r){const s=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((...i)=>e.handleClick&&e.handleClick(...i),["stop"]))},[t.createElementVNode("span",em,t.toDisplayString(e.title),1),t.createElementVNode("span",tm,[t.createVNode(s,{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,_f)}const Wl=j(Jf,[["render",nm]]),{componentName:om,create:lm}=K("range"),am=lm({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 a,r;const s=t.ref(),i=t.ref(),c=rt(),u=t.computed(()=>{const{marks:A,max:E,min:q}=e;return Object.keys(A).map(parseFloat).sort((O,F)=>O-F).filter(O=>O>=q&&O<=E)}),f=t.computed(()=>Number(e.max)-Number(e.min)),m=t.computed(()=>{const A=om;return{[A]:!0,[`${A}-disabled`]:e.disabled,[`${A}-vertical`]:e.vertical,[`${A}-show-number`]:!e.hiddenRange}}),h=t.computed(()=>{const A="fox-range-container";return{[A]:!0,[`${A}-vertical`]:e.vertical}}),w=t.computed(()=>({background:e.inactiveColor})),y=t.computed(()=>({borderColor:e.buttonColor})),g=A=>!!e.range&&Array.isArray(A),k=()=>{const{modelValue:A,min:E}=e;return g(A)?`${(A[1]-A[0])*100/f.value}%`:`${(A-Number(E))*100/f.value}%`},d=()=>{const{modelValue:A,min:E}=e;return g(A)?`${(A[0]-Number(E))*100/f.value}%`:"0%"},p=t.computed(()=>e.vertical?{height:k(),top:d(),background:e.activeColor,transition:i.value?"none":void 0}:{width:k(),left:d(),background:e.activeColor,transition:i.value?"none":void 0}),S=A=>{const E="fox-range-mark",{modelValue:q,max:I,min:V}=e;let O=Number(V),F=Number(I);if(e.range){const[L,U]=q;O=L,F=U}else F=q;let M=A<=F&&A>=O;return{[`${E}-text`]:!0,[`${E}-text-active`]:M}},C=A=>{const{max:E,min:q,vertical:I}=e;let V={left:`${(A-Number(q))/f.value*100}%`};return I&&(V={top:`${(A-Number(q))/f.value*100}%`}),V},b=A=>{const{modelValue:E,max:q,min:I}=e;let V=Number(I),O=Number(q);if(e.range){const[L,U]=E;V=L,O=U}return{background:A<=O&&A>=V?e.activeColor:e.inactiveColor}},N=A=>{const{min:E,max:q,step:I}=e;return A=Math.max(+E,Math.min(A,+q)),Math.round(A/+I)*+I},B=(A,E)=>JSON.stringify(A)===JSON.stringify(E),T=A=>A[0]>A[1]?A.slice(0).reverse():A,$=(A,E)=>{g(A)?A=T(A).map(N):A=N(A),B(A,e.modelValue)||n("update:modelValue",A),E&&!B(A,a)&&n("change",A)},D=A=>{if(e.disabled)return;const{min:E,modelValue:q}=e,I=Ce(s);let V=A.clientX-I.left,O=I.width;e.vertical&&(V=A.clientY-I.top,O=I.height);const F=Number(E)+V/O*f.value;if(g(q)){const[M,L]=q,U=(M+L)/2;F<=U?$([F,L],!0):$([M,F],!0)}else $(F,!0)},z=A=>{e.disabled||(c.start(A),r=e.modelValue,g(r)?a=r.map(N):a=N(r),i.value="start")},x=A=>{if(e.disabled)return;i.value==="start"&&n("drag-start"),c.move(A),i.value="draging";const E=Ce(s);let q=c.deltaX.value,I=E.width,V=q/I*f.value;e.vertical&&(q=c.deltaY.value,I=E.height,V=q/I*f.value),g(a)?r[l.value]=a[l.value]+V:r=a+V,$(r),A.stopPropagation(),A.preventDefault()},H=()=>{e.disabled||(i.value==="draging"&&($(r,!0),n("drag-end")),i.value="")},P=A=>typeof A=="number"?e.modelValue[A]:e.modelValue;return{root:s,classes:m,wrapperStyle:w,buttonStyle:y,onClick:D,onTouchStart:z,onTouchMove:x,onTouchEnd:H,...t.toRefs(e),barStyle:p,curValue:P,buttonIndex:l,containerClasses:h,markClassName:S,marksStyle:C,marksList:u,tickStyle:b}}}),rm={key:0,class:"min"},sm={key:0,class:"fox-range-mark"},im=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],cm={key:0,class:"number"},dm=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],um={key:0,class:"number"},fm={key:1,class:"max"};function mm(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.containerClasses)},[e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",rm,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((...s)=>e.onClick&&e.onClick(...s),["stop"]))},[e.marksList.length>0?(t.openBlock(),t.createElementBlock("view",sm,[(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:n[0]||(n[0]=t.withModifiers((...i)=>e.onTouchMove&&e.onTouchMove(...i),["stop","prevent"])),onTouchend:n[1]||(n[1]=t.withModifiers((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onTouchcancel:n[2]||(n[2]=t.withModifiers((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onClick:n[3]||(n[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",cm,t.toDisplayString(e.curValue(s)),1))],4))],42,im)),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(s=>{e.onTouchStart(s)},["stop","prevent"])),onTouchmove:n[5]||(n[5]=t.withModifiers((...s)=>e.onTouchMove&&e.onTouchMove(...s),["stop","prevent"])),onTouchend:n[6]||(n[6]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onTouchcancel:n[7]||(n[7]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onClick:n[8]||(n[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",um,t.toDisplayString(e.curValue()),1))],4))],40,dm))],4)],6),e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",fm,t.toDisplayString(+e.max),1))],2)}const Yl=j(am,[["render",mm]]),{create:pm,scope:hm}=K("searchbar"),gm=pm({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}=oe.useFoxI18n(hm),l=o(e,["placeholder"]),a=t.reactive({active:!1}),r=t.computed(()=>({background:e.background})),s=t.computed(()=>({background:e.inputBackground})),i=p=>{let C=p.target.value;e.maxLength&&C.length>Number(e.maxLength)&&(C=C.slice(0,Number(e.maxLength))),n("update:modelValue",C,p),n("change",C,p)},c=t.ref({}),u=p=>{let C=p.target.value;a.active=!0,c.value=e.focusStyle,n("focus",C,p)},f=p=>{setTimeout(()=>{a.active=!1},0);let C=p.target.value;e.maxLength&&C.length>Number(e.maxLength)&&(C=C.slice(0,Number(e.maxLength))),c.value={},n("blur",C,p)},m=p=>{n("update:modelValue","",p),n("change","",p),n("clear","")},h=()=>{n("search",e.modelValue)},w=p=>{n("click-input",p)},y=p=>{n("click-left-icon",e.modelValue,p)},g=p=>{n("click-right-icon",e.modelValue,p)},k=t.computed(()=>({"text-align":e.inputAlign})),d=t.ref(null);return t.onMounted(()=>{e.autofocus&&d.value.focus()}),{...l,inputsearch:d,...t.toRefs(a),valueChange:i,valueFocus:u,valueBlur:f,handleClear:m,handleSubmit:h,searchbarStyle:r,inputSearchbarStyle:s,focusCss:c,clickInput:w,leftIconClick:y,rightIconClick:g,styleSearchbar:k}}}),ym={key:0,class:"fox-searchbar__search-label"},km={key:1,class:"fox-searchbar__search-icon fox-searchbar__left-search-icon"},Sm={class:"fox-searchbar__input-inner"},bm=["type","maxlength","placeholder","value","disabled","readonly"],Cm={key:2,class:"fox-searchbar__search-icon fox-searchbar__right-search-icon"};function wm(e,n,o,l,a,r){const s=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",ym,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0),e.$slots.leftout?(t.openBlock(),t.createElementBlock("view",km,[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]=(...i)=>e.leftIconClick&&e.leftIconClick(...i))},[t.renderSlot(e.$slots,"leftin")])):t.createCommentVNode("",!0),t.createElementVNode("view",Sm,[t.createElementVNode("form",{action:"#",onSubmit:n[5]||(n[5]=t.withModifiers((...i)=>e.handleSubmit&&e.handleSubmit(...i),["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]=(...i)=>e.clickInput&&e.clickInput(...i)),onInput:n[2]||(n[2]=(...i)=>e.valueChange&&e.valueChange(...i)),onFocus:n[3]||(n[3]=(...i)=>e.valueFocus&&e.valueFocus(...i)),onBlur:n[4]||(n[4]=(...i)=>e.valueBlur&&e.valueBlur(...i)),style:t.normalizeStyle(e.styleSearchbar)},null,44,bm)],32),e.clearable?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,onClick:n[6]||(n[6]=(...i)=>e.handleClear&&e.handleClear(...i)),class:"fox-searchbar__input-clear"},[t.createVNode(s,{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]=(...i)=>e.rightIconClick&&e.rightIconClick(...i))},[t.renderSlot(e.$slots,"rightin")])):t.createCommentVNode("",!0)],4),e.$slots.rightout?(t.openBlock(),t.createElementBlock("view",Cm,[t.renderSlot(e.$slots,"rightout")])):t.createCommentVNode("",!0)],4)}const Xl=j(gm,[["render",wm]]),{componentName:Nm,create:Bm}=K("inputnumber"),Vm=Bm({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 h=Nm;return{[h]:!0,[`${h}--disabled`]:e.disabled}}),l=h=>Number(h).toFixed(Number(e.decimalPlaces)),a=h=>{const w=h.target;n("update:modelValue",w.valueAsNumber,h)},r=(h,w)=>{let y=l(h);n("update:modelValue",y,w),n("change",y,w)},s=(h=Number(e.modelValue))=>h<Number(e.max)&&!e.disabled,i=(h=Number(e.modelValue))=>h>Number(e.min)&&!e.disabled;return{classes:o,change:a,blur:h=>{if(e.disabled||e.readonly)return;let y=h.target.valueAsNumber;y<Number(e.min)?y=Number(e.min):y>Number(e.max)&&(y=Number(e.max)),r(y,h),n("blur",h)},focus:h=>{e.disabled||e.readonly||n("focus",h)},add:h=>{if(n("add",h),s()){let w=Number(e.modelValue)+Number(e.step);r(w,h)}else n("overlimit",h,"add")},addAllow:s,reduce:h=>{if(n("reduce",h),i()){let w=Number(e.modelValue)-Number(e.step);r(w,h)}else n("overlimit",h,"reduce")},reduceAllow:i,toPxDesc:_}}}),Am=["min","max","disabled","readonly","value"];function Em(e,n,o,l,a,r){const s=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(s,{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]=(...i)=>e.change&&e.change(...i)),onBlur:n[1]||(n[1]=(...i)=>e.blur&&e.blur(...i)),onFocus:n[2]||(n[2]=(...i)=>e.focus&&e.focus(...i))},null,44,Am),t.createVNode(s,{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 Ql=j(Vm,[["render",Em]]),{componentName:Tm,create:$m}=K("rate"),Dm=$m({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(()=>({[Tm]:!0})),a=m=>{n("update:modelValue",m),n("change",m)},r=(m,h)=>{if(e.disabled||e.readonly)return;let w=0;h===1&&e.modelValue===h||(w=h,e.allowHalf&&m==2&&(w-=.5)),a(w)},s=(m,h,w)=>{let y=0;for(let g=h.value.length-1;g>=0;g--){const k=h.value[g];if(m>k.offsetLeft){w?y=g+(m>k.offsetLeft+k.clientWidth/2?1:.5):y=g+1;break}}return y},i=!0,c=rt(),u={onTouchStart(m){!e.touchable||c.start(m)},onTouchMove(m){!e.touchable||!i||(c.move(m),c.isHorizontal()&&o.value&&(m.preventDefault(),a(s(c.moveX.value,o,e.allowHalf))))}},f=Math.random().toString(36).slice(-8);return{classes:l,...u,onClick:r,toPxDesc:_,rateRefs:o,refRandomId:f}}}),Im=["id"];function qm(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onTouchstart:n[0]||(n[0]=(...i)=>e.onTouchStart&&e.onTouchStart(...i)),onTouchmove:n[1]||(n[1]=(...i)=>e.onTouchMove&&e.onTouchMove(...i))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Number(e.count),i=>(t.openBlock(),t.createElementBlock("view",{class:"fox-rate-item",key:i,ref_for:!0,ref:"rateRefs",id:"rateRefs-"+e.refRandomId+i,style:t.normalizeStyle({marginRight:e.toPxDesc(e.spacing)})},[t.createVNode(s,{size:e.iconSize,class:t.normalizeClass(["fox-rate-item__icon",{"fox-rate-item__icon--disabled":e.disabled||i>e.modelValue}]),onClick:c=>e.onClick(1,i),color:i<=e.modelValue?e.activeColor:e.voidColor,"font-class-name":e.fontClassName,"class-prefix":e.classPrefix,name:i<=e.modelValue?e.checkedIcon:e.uncheckedIcon},null,8,["size","onClick","class","color","font-class-name","class-prefix","name"]),e.allowHalf&&Number(e.modelValue)+1>i?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-rate-item__icon fox-rate-item__icon--half",onClick:c=>e.onClick(2,i),"font-class-name":e.fontClassName,"class-prefix":e.classPrefix,color:i<=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<i?(t.openBlock(),t.createBlock(s,{key:1,class:"fox-rate-item__icon fox-rate-item__icon--disabled fox-rate-item__icon--half",onClick:c=>e.onClick(2,i),"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,Im))),128))],34)}const Gl=j(Dm,[["render",qm]]),{create:zm,scope:Mm}=K("shortpassword"),Pm=zm({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}=oe.useFoxI18n(Mm),l=o(e,["title","desc","tips"]),a=t.ref(e.modelValue),r=t.ref(),s=t.computed(()=>w(Number(e.length))),i=t.ref(e.visible);function c(){n("ok",a.value)}function u(){r.value.focus()}t.watch(()=>e.visible,k=>{i.value=k}),t.watch(()=>e.modelValue,k=>{a.value=k,n("update:modelValue",k)},{deep:!0,immediate:!0});function f(k){let p=k.target.value;p.length>s.value&&(p=p.slice(0,s.value),a.value=p),String(a.value).length===s.value&&n("complete",p),n("change",p),n("update:modelValue",p)}function m(){n("update:visible",!1),n("cancel")}function h(){n("update:visible",!1),n("close")}function w(k){return Math.min(Math.max(4,k),6)}function y(){n("tips")}function g(){let k=navigator.userAgent,d=k.indexOf("Android")>-1||k.indexOf("Linux")>-1;if(!!k.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/))return{paddingRight:"1200px"};if(d)return{opacity:0,zindex:10}}return{...l,comLen:s,sureClick:c,realInput:a,realpwd:r,focus:u,range:w,changeValue:f,close:m,onTips:y,show:i,systemStyle:g,closeIcon:h}}}),Rm={class:"fox-shortpsd-title"},Lm={class:"fox-shortpsd-subtitle"},Om={class:"fox-input-normalw"},Fm=t.createElementVNode("div",{class:"fox-input-site"},null,-1),Um={key:0,class:"fox-shortpsd-icon"},Km={class:"fox-shortpsd-message"},Hm={class:"fox-shortpsd-error"},xm={key:0,class:"fox-shortpsd-forget"},jm={key:0,class:"fox-shortpsd-footer"};function Wm(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",null,[t.createVNode(i,{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",Rm,t.toDisplayString(e.title),1),t.createElementVNode("view",Lm,t.toDisplayString(e.desc),1),t.createElementVNode("div",Om,[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]]),Fm,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,u)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-shortpsd-li",key:u},[String(e.realInput).length>u?(t.openBlock(),t.createElementBlock("view",Um)):t.createCommentVNode("",!0)]))),128))])]),t.createElementVNode("view",Km,[t.createElementVNode("view",Hm,t.toDisplayString(e.errorMsg),1),e.tips?(t.openBlock(),t.createElementBlock("view",xm,[t.createVNode(s,{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",jm,[t.createElementVNode("view",{class:"fox-shortpsd-cancle",onClick:n[4]||(n[4]=(...c)=>e.close&&e.close(...c))},"\u53D6\u6D88"),t.createElementVNode("view",{class:"fox-shortpsd-sure",onClick:n[5]||(n[5]=(...c)=>e.sureClick&&e.sureClick(...c))},"\u786E\u8BA4")]))]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay","isWrapTeleport"])])}const vl=j(Pm,[["render",Wm]]);class Ym{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload}class Xm{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,a]of Object.entries(n.headers))o.setRequestHeader(l,a);n.onStart?.(n),n.beforeXhrUpload?n.beforeXhrUpload(o,n):o.send(n.formData)}else console.warn("\u6D4F\u89C8\u5668\u4E0D\u652F\u6301 XMLHttpRequest")}uploadTaro(n,o){const l=this.options;if(o==="WEB")this.upload();else if(l.beforeXhrUpload)l.beforeXhrUpload(n,l);else{const a=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(r){l.xhrState==r.statusCode?l.onSuccess?.(r,l):l.onFailure?.(r,l)},fail(r){l.onFailure?.(r,l)}});l.onStart?.(l),a.progress(r=>{l.onProgress?.(r,l)})}}}class Qm{status="ready";message="ready";uid=new Date().getTime().toString();name;url;type;path;percentage=0;formData={}}const{componentName:Gm,create:vm,scope:Zm}=K("uploader"),Jm=vm({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}=oe.useFoxI18n(Zm),l=t.reactive(e.fileList);let a=[];const r=t.computed(()=>({[Gm]:!0})),s=k=>{k.value=""},i=k=>{n("file-item-click",{fileItem:k})},c=(k,d)=>{const p=new Ym;p.url=e.url,p.formData=k.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=k.formData.get(e.name)}catch{}p.onStart=C=>{k.status="ready",k.message=o("readyUpload"),u(d),n("start",C)},p.onProgress=(C,b)=>{k.status="uploading",k.message=o("uploading"),k.percentage=(C.loaded/C.total*100).toFixed(0),n("progress",{event:C,option:b,percentage:k.percentage})},p.onSuccess=(C,b)=>{k.status="success",k.message=o("success"),n("success",{responseText:C,option:b,fileItem:k}),n("update:fileList",l)},p.onFailure=(C,b)=>{k.status="error",k.message=o("error"),n("failure",{responseText:C,option:b,fileItem:k})};let S=new Xm(p);e.autoUpload?S.upload():a.push(new Promise((C,b)=>{C(S)}))},u=(k=-1)=>{k>-1?a.splice(k,1):(a=[],l.splice(0,l.length))},f=()=>{Promise.all(a).then(k=>{k.forEach(d=>d.upload())})},m=k=>{k.forEach((d,p)=>{const S=new FormData;for(const[b,N]of Object.entries(e.data))S.append(b,N);S.append(e.name,d);const C=t.reactive(new Qm);if(C.name=d.name,C.status="ready",C.type=d.type,C.formData=S,C.message=o("waitingUpload"),c(C,p),e.isPreview&&d.type.includes("image")){const b=new FileReader;b.onload=N=>{C.url=N.target.result,l.push(C)},b.readAsDataURL(d)}else l.push(C)})},h=k=>{const d=e.maximum*1,p=e.maximize*1,S=new Array;k=k.filter(b=>b.size>p?(S.push(b),!1):!0),S.length&&n("oversize",S);let C=k.length+l.length;return C>d&&k.splice(k.length-(C-d)),k},w=(k,d)=>{l.splice(d,1),n("delete",{file:k,fileList:l,index:d})};return{onChange:k=>{if(e.disabled)return;const d=k.target;let{files:p}=d;if(e.beforeUpload)e.beforeUpload(p).then(S=>{const C=h(new Array().slice.call(S));m(C)});else{const S=h(new Array().slice.call(p));m(S)}n("change",{fileList:l,event:k}),e.clearInput&&s(d)},onDelete:(k,d)=>{u(d);let p=e.beforeDelete(k,l);X.isPromise(p)?p.then(S=>{S&&w(k,d)}).catch(S=>{}):p&&w(k,d)},fileList:l,classes:r,fileItemClick:i,clearUploadQueue:u,submit:f}}}),_m={key:0,class:"fox-uploader__slot"},ep=["accept","multiple","name","disabled"],tp=["accept","multiple","name","disabled"],np={key:0,class:"fox-uploader__preview-img"},op={key:0,class:"fox-uploader__preview__progress"},lp={class:"fox-uploader__preview__progress__msg"},ap={key:1,class:"fox-uploader__preview__progress"},rp={class:"fox-uploader__preview__progress__msg"},sp=["onClick","src"],ip={key:4,class:"fox-uploader__preview-img__file"},cp=["onClick"],dp={class:"tips"},up={key:1,class:"fox-uploader__preview-list"},fp=["onClick"],mp=["accept","multiple","name","disabled"],pp=["accept","multiple","name","disabled"];function hp(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon"),i=t.resolveComponent("fox-progress");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.$slots.default?(t.openBlock(),t.createElementBlock("view",_m,[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,ep)):(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,tp))],64)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.fileList,(c,u)=>(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",np,[c.status=="ready"?(t.openBlock(),t.createElementBlock("view",op,[t.createElementVNode("view",lp,t.toDisplayString(c.message),1)])):c.status!="success"?(t.openBlock(),t.createElementBlock("view",ap,[t.createVNode(s,{color:"#fff",name:c.status=="error"?"failure":"loading"},null,8,["name"]),t.createElementVNode("view",rp,t.toDisplayString(c.message),1)])):t.createCommentVNode("",!0),e.isDeletable?(t.openBlock(),t.createBlock(s,{key:2,onClick:f=>e.onDelete(c,u),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,sp)):(t.openBlock(),t.createElementBlock("view",ip,[t.createElementVNode("view",{onClick:f=>e.fileItemClick(c),class:"fox-uploader__preview-img__file__name"},[t.createVNode(s,{color:"#808080",name:"link"}),t.createTextVNode("\xA0"+t.toDisplayString(c.name),1)],8,cp)])),t.createElementVNode("view",dp,t.toDisplayString(c.name),1)])):e.listType=="list"?(t.openBlock(),t.createElementBlock("view",up,[t.createElementVNode("view",{onClick:f=>e.fileItemClick(c),class:t.normalizeClass(["fox-uploader__preview-img__file__name",[c.status]])},[t.createVNode(s,{name:"link"}),t.createTextVNode("\xA0"+t.toDisplayString(c.name),1)],10,fp),t.createVNode(s,{class:"fox-uploader__preview-img__file__del",onClick:f=>e.onDelete(c,u),color:"#808080",name:"del"},null,8,["onClick"]),c.status=="uploading"?(t.openBlock(),t.createBlock(i,{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(s,{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,mp)):(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,pp))],2)):t.createCommentVNode("",!0)],2)}const Zl=j(Jm,[["render",hp]]),gp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUu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kwMjA5MzIyMjIxMzkzMzc2NzAwNjg0MC0tDQo=",yp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAACb0lEQVRYR+WY33HTMBzHvz/J72QD8tyzhJiAMAHdgDBBywQ0E5BuECYAJqCZAGPl+pxMQPoeSZwUy6ck7sUlBtziJ59P/urj33+ZlFIDa8wHAOcAhujftQYwY5xPSOb5FEQX/WPcI3LumqQQPwEMeg8LrD2sq0DnpdajvkFLIW4AvPJcjx/WJ50x5oX/Gs75qiiKpb9XSg2NMc+r5z+KovDBD3V2pgznz/y91noevSOECBbhxtwVt7dFpfEg7aOWVXk+skTfwqZEk7Isr/ytlPIKzvnKAebc62Kx8C5CKlhqTRG2KcRO0W4Mg1ME/z6sUkNr7ThY0NqbaMHwEYyFJGSMzWJ4CCHGRBRqdPRC7QkAzrml1noWQ6lJu43XepNg/wesz3q72bzdr7kMmMeQEEKck3OhYrAs+xRDQkp5AWtDkykXi0nt+krPEa3qkPBhVdVQRzQiYBti9yTv8QRLidPKkBTrPfHYZBCTbSdhgbr5pK5Pt3nCsEoNsNmog9abZcu0QWCz2U5pWVakDQKMDWDtOjaCEAp5vm3luxr37VPrHW0KB5D/8MHTgvW93nL+vWq378uynFZF/hLOfezM0ESN2syYlzGEjlq2TbvtBPiBc0dz6XpMlu3Eah2JHA2DjvbpRKYZlqhwzl12skOHIkQ0hXOh5pOUcgnnwvTf64toRWEgAT73GtTPxMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:kp,scope:Sp}=K("numberkeyboard"),bp=kp({props:{confirmText:{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}=oe.useFoxI18n(Sp),l=o(e,["confirmText"]),a=t.ref(void 0),r=t.ref(e.visible),s=t.ref();function i(){const{customKey:g}=e;let k={id:"lock",type:"lock"},d=Array.isArray(g)?g:[g];return d.length===1&&(k={id:d[0],type:"custom"}),[...c(),k,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const g=[];for(let k=1;k<=9;k++)g.push({id:k,type:"number"});return e.randomKeys?g.sort(()=>Math.random()>.5?1:-1):g}function u(){const g=c(),{customKey:k}=e;let d=Array.isArray(k)?k:[k];return d.length>2&&(d=[d[0],d[1]]),d.length==2&&e.title&&e.type!="rightColumn"&&(d=[d[0]]),d.length===1?e.title&&e.type!="rightColumn"?g.push({id:d[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):g.push({id:0,type:"number"},{id:d[0],type:"custom"}):d.length===2&&g.push({id:d[0],type:"custom"},{id:0,type:"number"},{id:d[1],type:"custom"}),g}const f=t.computed(()=>e.type=="rightColumn"||e.title!=""?u():i());t.watch(()=>e.visible,g=>{r.value=g});function m(g,k){k.stopPropagation(),a.value=g.id,(g.type=="number"||g.type=="custom")&&(n("input",g.id),e.value.length<e.maxlength&&n("update:value",e.value+g.id)),g.type=="lock"&&y(),g.type=="delete"&&(n("delete"),n("update:value",e.value.slice(0,e.value.length-1)))}function h(g){g.stopPropagation()}function w(g){g.preventDefault(),a.value=void 0}function y(){n("close")}return{...l,delImg:gp,lockImg:yp,clickKeyIndex:a,defaultKey:i,closeBoard:y,onTouchEnd:w,onTouchMove:h,onTouchstart:m,keysList:f,genCustomKeys:u,getBasicKeys:c,root:s,show:r}}}),Cp={class:"fox-numberkeyboard",ref:"root"},wp={key:0,class:"number-board-header"},Np={class:"tit"},Bp={class:"number-board-body"},Vp={class:"number-board"},Ap=["onTouchstart"],Ep=["src"],Tp=["src"],$p={key:0,class:"number-board-sidebar"},Dp={class:"key-board-wrapper"},Ip=["src"];function qp(e,n,o,l,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{visible:e.show,"onUpdate:visible":n[7]||(n[7]=i=>e.show=i),position:"bottom",teleport:e.teleport,popClass:e.popClass,overlay:e.overlay,onClickOverlay:n[8]||(n[8]=i=>e.closeBoard()),isWrapTeleport:e.isWrapTeleport,"overlay-class":"fox-numberkeyboard-overlay"},{default:t.withCtx(()=>[t.createElementVNode("div",Cp,[e.title?(t.openBlock(),t.createElementBlock("div",wp,[t.createElementVNode("h3",Np,t.toDisplayString(e.title),1),e.type=="default"?(t.openBlock(),t.createElementBlock("span",{key:0,class:"keyboard-close",onClick:n[0]||(n[0]=i=>e.closeBoard())},t.toDisplayString(e.confirmText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",Bp,[t.createElementVNode("div",Vp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.keysList,i=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["key-board-wrapper",{"key-board-wrapper-large":i.id==0&&e.type=="rightColumn"&&Array.isArray(e.customKey)&&e.customKey.length==1}]),key:"key"+i.id},[t.createElementVNode("div",{class:t.normalizeClass(["key",{active:i.id==e.clickKeyIndex},{lock:i.type=="lock"},{delete:i.type=="delete"}]),onTouchstart:c=>e.onTouchstart(i,c),onTouchmove:n[1]||(n[1]=c=>e.onTouchMove(c)),onTouchend:n[2]||(n[2]=(...c)=>e.onTouchEnd&&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,Ep)):t.createCommentVNode("",!0),i.type=="delete"?(t.openBlock(),t.createElementBlock("img",{key:2,src:e.delImg},null,8,Tp)):t.createCommentVNode("",!0)],42,Ap)],2))),128))]),e.type=="rightColumn"?(t.openBlock(),t.createElementBlock("div",$p,[t.createElementVNode("div",Dp,[t.createElementVNode("div",{class:t.normalizeClass(["key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:n[3]||(n[3]=i=>e.onTouchstart({id:"delete",type:"delete"},i)),onTouchmove:n[4]||(n[4]=i=>e.onTouchMove(i)),onTouchend:n[5]||(n[5]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i))},[t.createElementVNode("img",{src:e.delImg},null,8,Ip)],34)]),t.createElementVNode("div",{class:"key-board-wrapper key-board-finish",onClick:n[6]||(n[6]=i=>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 Jl=j(bp,[["render",qp]]),{componentName:zp,create:Mp}=K("swipe"),Pp=Mp({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(()=>({[zp]:!0})),l=p=>p.value?.clientWidth||0,a=t.ref(),r=t.computed(()=>l(a)),s=t.ref(),i=t.computed(()=>l(s));let c=!1,u="",f="";const m=t.reactive({offset:0,moving:!1}),h=(p="")=>{c=!0,p&&(m.offset=p==="left"?-i.value:r.value),n("open",{name:e.name,position:u||p})},w=()=>{m.offset=0,c=!1,n("close",{name:e.name,position:u})},y=t.computed(()=>({transform:`translate3d(${m.offset}px, 0, 0)`})),g=p=>{u=p>0?"right":"left";let S=p;switch(u){case"left":c&&f===u?S=-i.value:S=Math.abs(p)>i.value?-i.value:p;break;case"right":c&&f===u?S=r.value:S=Math.abs(p)>r.value?r.value:p;break}m.offset=S},k=rt();return{classes:o,touchStyle:y,...{onTouchStart(p){e.disabled||k.start(p)},onTouchMove(p){e.disabled||(k.move(p),k.isHorizontal()&&(m.moving=!0,g(k.deltaX.value),e.touchMovePreventDefault&&p.preventDefault(),e.touchMoveStopPropagation&&p.stopPropagation()))},onTouchEnd(){if(m.moving)switch(m.moving=!1,f=u,u){case"left":Math.abs(m.offset)<=i.value/2?w():(m.offset=-i.value,h());break;case"right":Math.abs(m.offset)<=r.value/2?w():(m.offset=r.value,h());break}}},leftRef:a,rightRef:s,open:h,close:w}}}),Rp={class:"fox-swipe__left",ref:"leftRef"},Lp={class:"fox-swipe__content"},Op={class:"fox-swipe__right",ref:"rightRef"};function Fp(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.touchStyle),onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:n[2]||(n[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:n[3]||(n[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[t.createElementVNode("view",Rp,[t.renderSlot(e.$slots,"left")],512),t.createElementVNode("view",Lp,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",Op,[t.renderSlot(e.$slots,"right")],512)],38)}const _l=j(Pp,[["render",Fp]]),{componentName:Up,create:Kp}=K("actionsheet"),Hp=Kp({props:{...Me,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(()=>({[Up]:!0}));return{isHighlight:i=>e.chooseTagValue&&e.chooseTagValue===i[e.optionTag]?e.color:"#1a1a1a",cancelActionSheet:()=>{n("cancel"),n("update:visible",!1)},chooseItem:(i,c)=>{i.disable||(n("choose",i,c),n("update:visible",!1))},close:()=>{n("close"),n("update:visible",!1)},classes:o}}}),xp={class:"fox-actionsheet-panel"},jp={key:0,class:"fox-actionsheet-title"},Wp={key:0,class:"fox-actionsheet-item desc"},Yp={key:1,class:"fox-actionsheet-menu"},Xp=["onClick"],Qp={class:"subdesc"};function Gp(e,n,o,l,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(s,{"pop-class":"popclass",visible:e.visible,isWrapTeleport:e.isWrapTeleport,position:"bottom",round:"",onClickOverlay:e.close,closeOnClickOverlay:e.closeAbled},{default:t.withCtx(()=>[t.createElementVNode("view",xp,[e.title?(t.openBlock(),t.createElementBlock("view",jp,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default",{},()=>[e.description?(t.openBlock(),t.createElementBlock("view",Wp,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0),e.menuItems.length?(t.openBlock(),t.createElementBlock("view",Yp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menuItems,(i,c)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-actionsheet-item",{"fox-actionsheet-item-disabled":i.disable}]),style:t.normalizeStyle({color:e.isHighlight(i)}),key:c,onClick:u=>e.chooseItem(i,c)},[t.createTextVNode(t.toDisplayString(i[e.optionTag]),1),t.createElementVNode("view",Qp,t.toDisplayString(i[e.optionSubTag]),1)],14,Xp))),128))])):t.createCommentVNode("",!0),e.cancelText?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-actionsheet-cancel",onClick:n[0]||(n[0]=(...i)=>e.cancelActionSheet&&e.cancelActionSheet(...i))},t.toDisplayString(e.cancelText),1)):t.createCommentVNode("",!0)])])]),_:3},8,["visible","isWrapTeleport","onClickOverlay","closeOnClickOverlay"])],2)}const ea=j(Hp,[["render",Gp]]),{componentName:vp,create:Zp}=K("backtop"),Jp=Zp({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(()=>({[vp]:!0,show:o.backTop})),a=t.computed(()=>({right:`${e.right}px`,bottom:`${e.bottom}px`,zIndex:e.zIndex}));function r(){o.scrollEl instanceof Window?o.scrollTop=o.scrollEl.pageYOffset:o.scrollTop=o.scrollEl.scrollTop,o.backTop=o.scrollTop>=e.distance}function s(y=0){o.scrollEl instanceof Window?window.scrollTo(0,y):o.scrollEl.scrollTop=y}function i(){let y=m()(function g(){var k=e.duration-Math.max(0,o.startTime-+new Date+e.duration),d=k*-o.scrollTop/e.duration+o.scrollTop;s(d),y=m()(g),(k==e.duration||d==0)&&window.cancelAnimationFrame(y)})}function c(){o.scrollEl.addEventListener("scroll",r,!1),o.scrollEl.addEventListener("resize",r,!1)}function u(){o.scrollEl.removeEventListener("scroll",r,!1),o.scrollEl.removeEventListener("resize",r,!1)}function f(){window.cancelAnimationFrame=window.webkitCancelAnimationFrame}function m(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(y){window.setTimeout(y,1e3/60)}}function h(y){o.startTime=+new Date,e.isAnimation&&e.duration>0?i():s(),n("click",y)}function w(){if(!e.elId)return;let y;typeof e.elId=="string"?y=document.getElementById(e.elId):y=e.elId,o.scrollEl=y,c(),f()}return t.onMounted(()=>{e.distance==0&&(o.backTop=!0),w()}),t.onUnmounted(()=>{u()}),t.onActivated(()=>{o.keepAlive&&(o.keepAlive=!1,w())}),t.onDeactivated(()=>{o.keepAlive=!0,u()}),{state:o,classes:l,style:a,click:h}}});function _p(e,n,o,l,a,r){const s=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((...i)=>e.click&&e.click(...i),["stop"]))},[t.renderSlot(e.$slots,"default",{},()=>[t.createVNode(s,{size:"19px",class:"fox-backtop-main",name:"top"})])],6)}const ta=j(Jp,[["render",_p]]),{componentName:eh,create:th}=K("drag"),nh=th({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}}),a=t.computed(()=>({[eh]:!0}));function r(){const m=document.documentElement;l.elWidth=o.value.offsetWidth,l.elHeight=o.value.offsetHeight,l.screenWidth=m.clientWidth,l.screenHeight=m.clientHeight}function s(m){l.boundary.left?+m.style.left.split("px")[0]>l.boundary.left?(m.style.left=+m.style.left.split("px")[0]-10+"px",Pe(()=>{s(m)})):m.style.left=`${l.boundary.left}px`:+m.style.left.split("px")[0]>10?(m.style.left=+m.style.left.split("px")[0]-10+"px",Pe(()=>{s(m)})):m.style.left="0px"}function i(m,h){h-parseInt(m.style.left.split("px")[0])>10?(m.style.left=parseInt(m.style.left.split("px")[0])+10+"px",Pe(()=>{i(m,h)})):m.style.left=h+"px"}function c(m){m.preventDefault();const h=m.currentTarget;if(m.targetTouches.length===1){const w=m.targetTouches[0];l.nx=w.clientX-l.position.x,l.ny=w.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny;const y=l.screenWidth-l.elWidth-l.boundary.right;Math.abs(l.xPum)>y?l.xPum=y: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"&&(h.style.left=l.xPum+"px"),e.direction!="x"&&(h.style.top=l.yPum+"px")}}function u(m){const h=m.currentTarget;let y=m.changedTouches[0].clientX;const g=l.screenWidth-l.elWidth-l.boundary.right;y>g?y=g:y<l.boundary.left?y=l.boundary.left:y=y<l.screenWidth/2?l.boundary.left:g,e.direction!="y"&&e.attract&&(y<l.screenWidth/2?Pe(()=>{s(h)}):Pe(()=>{i(h,g)})),e.direction!="x"&&(h.style.top=l.yPum+"px")}function f(m){const h=m.currentTarget,w=m.touches[0],y=m.targetTouches[0];l.startTop=h.offsetTop,l.startLeft=h.offsetLeft,l.position.x=w.clientX,l.position.y=w.clientY,l.nx=y.clientX-l.position.x,l.ny=y.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny}return t.onMounted(()=>{r(),l.boundary=e.boundary}),t.onActivated(()=>{l.keepAlive&&(l.keepAlive=!1)}),t.onDeactivated(()=>{l.keepAlive=!0;const m=o;m.value.removeEventListener("touchstart",f),m.value.removeEventListener("touchmove",c),m.value.removeEventListener("touchend",u)}),{classes:a,myDrag:o,touchStart:f,touchMove:c,touchEnd:u}}});function oh(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"myDrag",onTouchstart:n[0]||(n[0]=s=>e.touchStart(s)),onTouchmove:n[1]||(n[1]=s=>e.touchMove(s)),onTouchend:n[2]||(n[2]=s=>e.touchEnd(s))},[t.renderSlot(e.$slots,"default")],34)}const na=j(nh,[["render",oh]]),{componentName:lh,create:ah,scope:rh}=K("dialog"),sh=ah({inheritAttrs:!1,components:{[pe.name]:pe,[Ye.name]:Ye},props:{...Me,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}=oe.useFoxI18n(rh),l=o(e,["confirmText","cancelText"]),a=t.ref(e.visible);t.onMounted(()=>{e.closeOnPopstate&&Ue&&window.addEventListener("popstate",function(){i("page")})}),t.watch(()=>e.visible,f=>{a.value=f,f&&n("opened")});const r=t.computed(()=>({[lh]:!0,[e.customClass]:!0})),s=f=>{n("update",f),n("update:visible",f)},i=f=>{if(e.beforeClose){const m=e.beforeClose(f);X.isPromise(m)&&m.then(h=>{h&&(s(!1),n("closed"))})}else s(!1),n("closed")};return{...l,closed:i,classes:r,onCancel:()=>{n("cancel"),e.cancelAutoClose&&i("cancel")},onConfirm:()=>{n("confirm"),i("confirm")},showPopup:a}}}),ih={key:0,class:"fox-dialog__header"},ch=["innerHTML"];function dh(e,n,o,l,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":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",ih,[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,ch)):(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 oa=j(sh,[["render",dh]]);class uh{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 fh{options=new uh;instance;constructor(n){let o=Object.assign(this.options,n),l=document.body,a=o.teleport;a!="body"&&(typeof a=="string"?l=document.querySelector(a):l=o.teleport);const r=document.createElement("view");r.id="dialog-"+o.id;const s={setup(){return o.onUpdate=i=>{i==!1&&l.removeChild(r)},o?.onOpened&&o?.onOpened(),o.teleport=`#${r.id}`,()=>t.h(oa,o)}};this.instance=t.createVNode(s),l.appendChild(r),t.render(this.instance,r)}close=()=>{};setDefaultOptions=n=>{};resetDefaultOptions=()=>{}}const Ot=function(e){return new fh(e)};Ot.install=e=>{e.use(oa),e.config.globalProperties.$dialog=Ot};const{componentName:mh,create:ph,scope:hh}=K("infiniteloading"),gh=ph({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}=oe.useFoxI18n(hh),a=l(e,["pullText","loadText","loadMoreText"]),r=t.reactive({scrollEl:window,scroller:null,refreshTop:null,beforeScrollTop:0,isTouching:!1,isInfiniting:!1,refreshMaxH:0,y:0,x:0,distance:0}),s=t.computed(()=>({[mh]:!0})),i=t.computed(()=>({height:r.distance<0?"0px":`${r.distance}px`,transition:r.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(b){window.setTimeout(b,1e3/60)},u=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,f=b=>b?b.offsetTop+f(b.offsetParent):0,m=()=>{let b=0,N=0,B="down";const T=u();if(e.useWindow)r.scroller&&(b=f(r.scroller)+r.scroller.offsetHeight-T-window.innerHeight),N=T;else{const{scrollHeight:$,clientHeight:D,scrollTop:z}=r.scrollEl;b=$-D-z,N=z}return r.beforeScrollTop>N?B="up":B="down",r.beforeScrollTop=N,n("scroll-change",N),b<=e.threshold&&B=="down"},h=()=>{r.isInfiniting=!1},w=()=>{c()(()=>{if(!m()||!e.hasMore||r.isInfiniting)return!1;r.isInfiniting=!0,n("load-more",h)})},y=()=>{r.scrollEl.addEventListener("scroll",w,e.useCapture)},g=()=>{r.distance=0,r.isTouching=!1},k=b=>{if(r.beforeScrollTop==0&&!r.isTouching&&e.isOpenRefresh){r.y=b.touches[0].pageY,r.isTouching=!0;const N=r.refreshTop.firstElementChild.offsetHeight;r.refreshMaxH=Math.floor(N*1+10)}},d=b=>{r.distance=b.touches[0].pageY-r.y,r.distance>0&&r.isTouching?(b.preventDefault(),r.distance>=r.refreshMaxH&&(r.distance=r.refreshMaxH)):(r.distance=0,r.isTouching=!1)},p=()=>{r.distance<r.refreshMaxH?r.distance=0:n("refresh",g)},S=b=>e.containerId?document.querySelector(`#${e.containerId}`):b&&b.parentNode;t.onMounted(()=>{const b=S(r.scroller);r.scrollEl=e.useWindow?window:b,y()}),t.onUnmounted(()=>{r.scrollEl.removeEventListener("scroll",w,e.useCapture)});const C=t.ref(!1);return t.onActivated(()=>{C.value&&(C.value=!1,y())}),t.onDeactivated(()=>{C.value=!0,r.scrollEl.removeEventListener("scroll",w,e.useCapture)}),{...a,classes:s,...t.toRefs(r),touchStart:k,touchMove:d,touchEnd:p,getStyle:i,slots:o}}}),yh={class:"top-box"},kh={class:"top-text"},Sh={class:"fox-infinite-container"},bh={class:"fox-infinite-bottom"},Ch={key:0,class:"bottom-box"},wh={class:"bottom-text"},Nh={key:0,class:"tips"};function Bh(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"scroller",onTouchstart:n[0]||(n[0]=(...i)=>e.touchStart&&e.touchStart(...i)),onTouchmove:n[1]||(n[1]=(...i)=>e.touchMove&&e.touchMove(...i)),onTouchend:n[2]||(n[2]=(...i)=>e.touchEnd&&e.touchEnd(...i))},[t.createElementVNode("view",{class:"fox-infinite-top",ref:"refreshTop",style:t.normalizeStyle(e.getStyle)},[t.createElementVNode("view",yh,[t.createVNode(s,{class:t.normalizeClass(["top-img",e.pullClass]),name:e.pullIcon},null,8,["class","name"]),t.createElementVNode("view",kh,t.toDisplayString(e.pullText),1)])],4),t.createElementVNode("view",Sh,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",bh,[e.isInfiniting?(t.openBlock(),t.createElementBlock("view",Ch,[e.slots.loading?t.renderSlot(e.$slots,"loading",{key:1}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(s,{class:t.normalizeClass(["bottom-img",e.loadClass]),name:e.loadIcon},null,8,["class","name"]),t.createElementVNode("view",wh,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",Nh,t.toDisplayString(e.loadMoreText),1))],64))])],34)}const la=j(gh,[["render",Bh]]),{componentName:I1,create:Vh}=K("notify"),Ah=Vh({components:{[pe.name]:pe},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 a=t.ref(e.modelVisible),r=()=>{e.onClick&&e.onClick()},s=()=>{o&&(clearTimeout(o),o=null)},i=()=>{l.mounted=!1},c=()=>{s(),e.duration&&(o=setTimeout(()=>{i()},e.duration))};return e.duration&&c(),t.watch(()=>e.duration,f=>{f&&c()}),{state:l,hide:i,onAfterLeave:()=>{s(),e.unmount&&e.unmount(e.id),e.onClose&&e.onClose()},clickCover:r,showPopup:a}}});function Eh(e,n,o,l,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{visible:e.showPopup,"onUpdate:visible":n[1]||(n[1]=i=>e.showPopup=i),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]=(...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","isWrapTeleport"])}const zn=j(Ah,[["render",Eh]]),Mn={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:""};let Xe=[],mt=[];const aa=e=>{if(e){const n=document.getElementById(e);mt=mt.filter(o=>o.id!==e),Xe=Xe.filter(o=>o!==e),n&&document.body.removeChild(n)}else Xe.forEach(n=>{const o=document.getElementById(n);o&&document.body.removeChild(o)}),mt=[],Xe=[]},Th=e=>{const n=document.getElementById(e.id);if(n){const o=mt.find(a=>a.id===e.id);o?e={...Mn,...o,...e}:e={...Mn,...e};const l=t.createVNode(zn,e);return t.render(l,n),l.component.ctx}},pt=e=>{e.unmount=aa;let n;if(e.id){if(n=e.id,Xe.find(r=>r===e.id))return Th(e)}else n=new Date().getTime()+"";e={...Mn,...e},e.id=n,Xe.push(e.id),mt.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(zn,e)}},a=t.createVNode(l);document.body.appendChild(o),t.render(a,o)},ht=e=>{if(!e){console.warn("[NutUI Notify]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},Pn={text(e,n={}){return ht(e),pt({...n,msg:e})},primary(e,n={}){return ht(e),pt({...n,msg:e,type:"primary"})},success(e,n={}){return ht(e),pt({...n,msg:e,type:"success"})},danger(e,n={}){return ht(e),pt({...n,msg:e,type:"danger"})},warn(e,n={}){return ht(e),pt({...n,msg:e,type:"warning"})},hide(){aa()},install(e){e.use(zn),e.config.globalProperties.$notify=Pn}},{create:$h}=K("toast"),Dh=$h({components:{[ae.name]:ae},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 a=()=>{o&&(clearTimeout(o),o=null)},r=()=>{l.mounted=!1},s=()=>{a(),e.duration&&(o=setTimeout(()=>{r()},e.duration))},i=()=>{e.closeOnClickOverlay&&(r(),n("close"))};e.duration&&s(),t.watch(()=>e.duration,h=>{h&&s()});const c=t.computed(()=>e.type!=="text"?!0:!!e.icon),u=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:r,clickCover:i,hasIcon:c,toastBodyClass:u,toastIconWrapperClass:f,onAfterLeave:()=>{a(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),Ih={key:1,class:"fox-toast-title"},qh=["innerHTML"];function zh(e,n,o,l,a,r){const s=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]=(...i)=>e.clickCover&&e.clickCover(...i))},[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(s,{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",Ih,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,qh)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const Rn=j(Dh,[["render",zh]]),Ln={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 Qe=[],gt=[];const ra=e=>{if(e){const n=document.getElementById(e);gt=gt.filter(o=>o.id!==e),Qe=Qe.filter(o=>o!==e),n&&document.body.removeChild(n)}else Qe.forEach(n=>{const o=document.getElementById(n);o&&document.body.removeChild(o)}),gt=[],Qe=[]},Mh=e=>{const n=document.getElementById(e.id);if(n){const o=gt.find(a=>a.id===e.id);o?e={...Ln,...o,...e}:e={...Ln,...e};const l=t.createVNode(Rn,e);return t.render(l,n),kt}},yt=e=>{e.unmount=ra;let n;if(e.id){if(n=e.id,Qe.find(a=>a===e.id))return Mh(e)}else n=new Date().getTime()+"";e={...Ln,...e},e.id=n,Qe.push(e.id),gt.push(e);const o=document.createElement("div");o.id=e.id;const l=t.createVNode(Rn,e);return t.render(l,o),document.body.appendChild(o),kt},Ft=e=>{if(!e){console.warn("[FoxUI Toast]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},kt={text(e,n={}){return Ft(e),yt({...n,type:"text",msg:e})},success(e,n={}){return Ft(e),yt({icon:"success",...n,msg:e,type:"success"})},fail(e,n={}){return Ft(e),yt({icon:"failure",...n,msg:e,type:"fail"})},warn(e,n={}){return Ft(e),yt({icon:"tips",...n,msg:e,type:"warn"})},loading(e,n={}){return yt({icon:"loading",...n,msg:e,type:"loading"})},hide(e){ra(e)},install(e){e.use(Rn),e.config.globalProperties.$toast=kt}},{componentName:q1,create:Ph}=K("audio"),Rh=Ph({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 y=["webkitVisibilityState","visibilitychange"];try{for(let g=0;g<y.length;g++)document.addEventListener(y[g],()=>{document.hidden?o.value.pause():l.playing&&setTimeout(()=>{o.value.play()},200)})}catch(g){g.message}});const a=y=>{const g=o.value;e.autoplay&&g&&g.paused&&g.play(),l.second=g.duration,l.duration=w(g.duration),n("can-play",y)},r=y=>{l.currentTime=parseInt(y.target.currentTime)},s=()=>{l.currentTime>0&&l.currentTime--,o.value.currentTime=l.currentTime,n("fastBack",l.currentTime)},i=()=>{const y=o.value;l.playing?(y.pause(),l.handPlaying=!1):(y.play(),l.handPlaying=!0),l.playing=!l.playing,n("play",l.playing)},c=()=>{l.currentTime++,o.value.currentTime=l.currentTime,n("forward",l.currentTime)},u=y=>{l.currentDuration=w(y),l.percent=y/l.second*100},f=()=>{l.playing=!1,n("ended")},m=y=>{const g=o.value;g.currentTime=l.second*y/100,n("changeProgress",g.currentTime)},h=()=>{l.hanMuted=!l.hanMuted,n("mute",l.hanMuted)},w=y=>{if(!y)return"00:00:00";let g=parseInt(y),k=Math.floor(g/3600),d=Math.floor((g-k*3600)/60),p=g-k*3600-d*60,S="";return S+=("0"+k.toString()).slice(-2)+":",S+=("0"+d.toString()).slice(-2)+":",S+=("0"+p.toString()).slice(-2),S};return t.watch(()=>l.currentTime,y=>{u(y)}),t.provide("audioParent",{children:[],props:e,audioData:l,handleMute:h,forward:c,fastBack:s,changeStatus:i}),{...t.toRefs(e),...t.toRefs(l),audioRef:o,fastBack:s,forward:c,changeStatus:i,progressChange:m,audioEnd:f,onTimeupdate:r,handleMute:h,onCanplay:a}}}),Lh={class:"fox-audio"},Oh={key:0,class:"progress-wrapper"},Fh={class:"time"},Uh={class:"progress-bar-wrapper"},Kh=t.createElementVNode("div",{class:"custom-button"},null,-1),Hh={class:"time"},xh={key:1,class:"fox-audio-icon"},jh=["controls","src","preload","autoplay","loop","muted"];function Wh(e,n,o,l,a,r){const s=t.resolveComponent("fox-range"),i=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",Lh,[e.type=="progress"?(t.openBlock(),t.createElementBlock("div",Oh,[t.createElementVNode("div",Fh,t.toDisplayString(e.currentDuration),1),t.createElementVNode("div",Uh,[t.createVNode(s,{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(()=>[Kh]),_:1},8,["modelValue","onChange"])]),t.createElementVNode("div",Hh,t.toDisplayString(e.duration),1)])):t.createCommentVNode("",!0),e.type=="icon"?(t.openBlock(),t.createElementBlock("div",xh,[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(i,{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(i,{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,jh)])}const sa=j(Rh,[["render",Wh]]),{componentName:z1,create:Yh,scope:Xh}=K("audio-operate"),Qh=Yh({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:n}){const{t:o}=oe.useFoxI18n(Xh),l=t.inject("audioParent"),a=t.reactive(l),r=t.ref(t.useSlots().default);return{...t.toRefs(e),...t.toRefs(a),customSlot:r,t:o}}}),Gh={class:"fox-audio-operate"};function vh(e,n,o,l,a,r){const s=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",Gh,[e.type=="back"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-audio-operate-item",onClick:n[0]||(n[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:n[1]||(n[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:n[2]||(n[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:n[3]||(n[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 ia=j(Qh,[["render",vh]]),{componentName:Zh,create:Jh}=K("avatar"),_h=Jh({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:a,bgColor:r,color:s,icon:i}=t.toRefs(e),c=["large","normal","small"],u=t.inject("avatarGroup",null),f=t.ref(null),m=t.reactive({lightTheme:!1}),h=t.reactive({index:1,showMax:!1,maxIndex:0});t.onMounted(()=>{const b=u?.avatarGroupRef?.value?.children;b&&p(b)});const w=t.computed(()=>({[Zh]:!0,[`fox-avatar-${l.value||u?.props?.size||"normal"}`]:!0,[`fox-avatar-${a.value||u?.props?.shape||"normal"}`]:!0})),y=t.computed(()=>({width:c.indexOf(l.value)>-1?"":`${l.value}px`,height:c.indexOf(l.value)>-1?"":`${l.value}px`,backgroundColor:`${r.value}`,color:`${s.value}`,marginLeft:h.index!=1&&(u?.props?.span?`${u?.props?.span}px`:""),zIndex:u?.props?.zIndex=="right"?`${Math.abs(h.maxIndex-h.index)}`:""})),g=t.computed(()=>({backgroundColor:`${u?.props?.maxBgColor}`,color:`${u?.props?.maxColor}`})),k=t.computed(()=>i.value?i.value:""),d=t.computed(()=>o.default),p=b=>{h.maxIndex=b.length;for(let N=0;N<b.length;N++)b[N]&&b[N].classList&&b[N].classList[0]=="fox-avatar"&&b[N].setAttribute("data-index",N+1);h.index=f?.value?.dataset?.index,h.index==h.maxIndex&&h.index!=u?.props?.maxCount&&(h.showMax=!0)};return{classes:w,styles:y,iconStyles:k,isShowText:d,maxStyles:g,activeAvatar:b=>{n("active-avatar",b)},onError:b=>{n("onError",b)},avatarGroup:u,visible:m,avatarRef:f,...t.toRefs(h)}}}),eg=["src","alt"],tg={key:2,class:"text"},ng={key:1,class:"text"};function og(e,n,o,l,a,r){const s=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]=(...i)=>e.activeAvatar&&e.activeAvatar(...i)),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]=(...i)=>e.onError&&e.onError(...i))},null,40,eg)):e.icon?(t.openBlock(),t.createBlock(s,{key:1,class:"icon",name:e.iconStyles},null,8,["name"])):t.createCommentVNode("",!0),e.isShowText?(t.openBlock(),t.createElementBlock("view",tg,[t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.showMax?(t.openBlock(),t.createElementBlock("view",ng,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 ca=j(_h,[["render",og]]),{componentName:lg,create:ag}=K("avatar-group"),rg=ag({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),a=t.ref(0),r=t.computed(()=>({[lg]:!0}));return t.onMounted(()=>{}),t.provide("avatarGroup",{props:e,avatarGroupRef:l,index:a}),{classes:r,avatarGroupRef:l}}});function sg(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"avatarGroupRef"},[t.renderSlot(e.$slots,"default")],2)}const da=j(rg,[["render",sg]]),{componentName:ig,create:cg}=K("list"),dg=cg({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()}),a=Ae(e,"containerHeight",w=>w<=0?w:ue(w));t.onMounted(()=>{if(a.value==-1){const w=Ce(o.value);a.value=w.height}});const r=t.computed(()=>a.value==-1?0:Math.ceil(a.value/e.height)),s=t.computed(()=>l.start+r.value),i=t.computed(()=>`translate3d(0, ${l.startOffset}px, 0)`),c=t.computed(()=>({[ig]:!0})),u=t.computed(()=>({width:`${a.value}px`})),f=t.computed(()=>l.list.length*e.height),m=t.computed(()=>l.list.slice(l.start,Math.min(s.value,l.list.length))),h=()=>{const w=o.value?.scrollTop;l.start=Math.floor(w/e.height),s.value>l.list.length&&(n("scroll"),n("scroll-bottom")),l.startOffset=w-w%e.height};return t.watch(()=>e.listData,()=>{l.list=e.listData.slice()}),{...t.toRefs(l),list:o,getTransform:i,listHeight:f,visibleData:m,classes:c,styles:u,handleScrollEvent:h}}});function ug(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onScrollPassive:n[0]||(n[0]=(...s)=>e.handleScrollEvent&&e.handleScrollEvent(...s)),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,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-list-item",style:t.normalizeStyle({height:e.height+"px"}),key:s},[t.renderSlot(e.$slots,"default",{item:s,index:i})],4))),128))],4)],38)}const ua=j(dg,[["render",ug]]),{create:fg}=K("progress"),mg=fg({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(),a=t.ref(),r=t.computed(()=>({width:e.percentage+"%",background:e.strokeColor||""})),s=t.computed(()=>({color:e.textColor||""}));return{height:o,bgStyle:r,textStyle:s,progressOuter:l,insideText:a,slotDefault:n}}}),pg={class:"fox-progress"};function hg(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",pg,[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(s,{key:1,size:"16px",name:e.iconName,color:e.iconColor},null,8,["name","color"])):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0)])}const fa=j(mg,[["render",hg]]),{componentName:gg,create:yg}=K("circleprogress"),kg=yg({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),a=t.computed(()=>({[gg]:!0})),r=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`}),s=t.computed(()=>X.isObject(e.color)?`url(#${l})`:e.color),i=t.computed(()=>{let f=283,m=f*Number(e.progress)/100;return{stroke:X.isObject(e.color)?`url(#${l})`:e.color,strokeDasharray:`${m}px ${f}px`}}),c=t.computed(()=>({stroke:e.pathColor})),u=t.computed(()=>{if(!X.isObject(e.color))return;let f=e.color;const m=Object.keys(f).sort((w,y)=>parseFloat(w)-parseFloat(y));let h=[];return m.map((w,y)=>{let g={key:"",value:""};g.key=w,g.value=f[w],h.push(g)}),h});return{classes:a,hoverStyle:i,pathStyle:c,path:r,hoverColor:s,stop:u,slotDefault:o,refRandomId:l}}}),Sg={viewBox:"0 0 100 100"},bg=["id"],Cg=["offset","stop-color"],wg=["d","stroke-width"],Ng=["d","stroke","stroke-linecap","stroke-width"],Bg={class:"fox-circleprogress-text"},Vg={key:0};function Ag(e,n,o,l,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",Sg,[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,Cg))),128))],8,bg)]),t.createElementVNode("path",{class:"fox-circleprogress-path",style:t.normalizeStyle(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,wg),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,Ng)])),t.createElementVNode("div",Bg,[t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Vg,t.toDisplayString(e.progress)+"%",1))])],6)}const ma=j(kg,[["render",Ag]]),{componentName:Eg,create:Tg}=K("noticebar"),$g=Tg({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),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}),s=t.computed(()=>({[Eg]:!0})),i=t.computed(()=>r.isCanScroll==null?e.wrapable:!r.isCanScroll&&!e.wrapable),c=t.computed(()=>e.leftIcon!="close"),u=t.computed(()=>{let B={};return e.color&&(B.color=e.color),e.background&&(B.background=e.background),e.direction=="vertical"&&(B.height=`${e.height}px`),B}),f=t.computed(()=>({animationDelay:(r.firstRound?e.delay:0)+"s",animationDuration:r.duration+"s",transform:`translateX(${r.firstRound?0:r.wrapWidth+"px"})`})),m=t.computed(()=>{let B="";return e.leftIcon&&(B=e.leftIcon),B}),h=t.computed(()=>{let B={};if(e.complexAm)B={transform:`translateY(${r.distance}px)`};else if(r.animate){let T=~~(e.height/e.speed/4);B={transition:`all ${T==0?~~(e.height/e.speed):T}s`,"margin-top":`-${e.height}px`}}return B});t.watch(()=>e.text,B=>{w()}),t.watch(()=>e.list,B=>{r.scrollList=[].concat(B)});const w=B=>{r.showNoticeBar!=!1&&setTimeout(()=>{if(!l.value||!a.value)return;const T=l.value.getBoundingClientRect().width,$=a.value.getBoundingClientRect().width;r.isCanScroll=e.scrollable==null?$>T:e.scrollable,r.isCanScroll,r.isCanScroll?(r.wrapWidth=T,r.offsetWidth=$,r.duration=$/e.speed,r.animationClass="play"):r.animationClass=""},0)},y=B=>{n("click",B)},g=B=>{e.closeMode&&(r.showNoticeBar=!e.closeMode),n("close",B)},k=()=>{r.firstRound=!1,setTimeout(()=>{r.duration=(r.offsetWidth+r.wrapWidth)/e.speed,r.animationClass="play-infinite"},0)},d=()=>{p(),r.timer=setInterval(p,~~(e.height/e.speed/4*1e3)+e.standTime)},p=()=>{r.animate=!0,setTimeout(()=>{r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.animate=!1},~~(e.height/e.speed/4*1e3))},S=()=>{r.timer=setInterval(()=>{let B=100;for(let T=0;T<B;T++)C(T,!(T<B-1))},e.standTime+100*e.speed)},C=(B,T)=>{setTimeout(()=>{r.distance-=e.height/100,T&&(r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.distance=0)},B*e.speed)},b=B=>{n("click",B)},N=()=>{n("close",r.scrollList[0])};return t.onMounted(()=>{e.direction=="vertical"?(o.default?r.scrollList=[].concat(o.default()[0].children):r.scrollList=[].concat(e.list),setTimeout(()=>{e.complexAm?S():d()},e.standTime)):w(e.text)}),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,iconShow:c,barStyle:u,contentStyle:f,iconBg:m,horseLampStyle:h,wrap:l,content:a,handleClick:y,onClickIcon:g,onAnimationEnd:k,go:b,handleClickIcon:N,slots:o}}}),Dg={ref:"wrap",class:"wrap"},Ig=["onClick"];function qg(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon"),i=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(s,{key:0,name:"notice",size:"16",color:e.color},null,8,["color"]))])],4)):t.createCommentVNode("",!0),t.createElementVNode("view",Dg,[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(s,{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,u)=>(t.openBlock(),t.createBlock(i,{key:u,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,u)=>(t.openBlock(),t.createElementBlock("li",{class:"horseLamp_list_item",key:u,style:t.normalizeStyle({height:e.height}),onClick:f=>e.go(c)},t.toDisplayString(c),13,Ig))),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(s,{key:1,type:"cross",color:e.color,size:"11px"},null,8,["color"])):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0)],2)}const pa=j($g,[["render",qg]]),zg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAKoCAMAAACMZv1uAAAC+lBMVEUAAAD19fXz9PTd1tvf3t708vPx7/Dz9PTY2NjY2NjWy837+fr09/f09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mvCgFnxvLOg1vFzwilYCioZUXMwnV+CIcMwQB151N/pIseoLCXcCR/HcCEv8qj/w1eMsSoQEjE9HMOzIF/HOlFS259e4gCrASGRsY1Uy4KcnXzx89vH3tcvOMSOAiF8ip/EGm7+XYxxChFDHKCpKRkyEkFljufOyZal5WhQJxNdna04jCeUMcevuGXLgDlRZpjUBEL+MEpl+7zrnrft8lnLNGDONJGCSvRneJjEbCBEK6klqm8BIVo5ymhBJfNAE0X0Kymip7QStUE3fqKblBLVpxMpRDs1hiMcmvMT/biJnNKYn+jHqFNOyTxgNiinZB4oOZRTMg/IvZRPfRTRk40Cj37S95s9OyYCGIShALrVQIVgBAMVUQsdGBgqgKGHCRz2GEBDhvc05PJzPwTVxpa6np+o+lhK9jclqt1OpSr2iWsN6ntZp0T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:M1,create:Rg,scope:Lg}=K("empty"),Og={empty:zg,error:Mg,network:Pg},Fg=Rg({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:n}=oe.useFoxI18n(Lg),o=n(e,["description"]),{image:l,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=l.value.startsWith("https://")||l.value.startsWith("http://")||l.value.startsWith("//")?l.value:Og[l.value];return{...o,imageUrl:i,imgStyle:r}}}),Ug={class:"fox-empty"},Kg=["src"],Hg={key:1,class:"fox-empty-description"};function xg(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",Ug,[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,Kg)):t.createCommentVNode("",!0)],64))],4),e.$slots.description?t.renderSlot(e.$slots,"description",{key:0}):(t.openBlock(),t.createElementBlock("view",Hg,t.toDisplayString(e.description),1)),e.$slots.default?t.renderSlot(e.$slots,"default",{key:2}):t.createCommentVNode("",!0)])}const ha=j(Fg,[["render",xg]]),{create:jg,scope:Wg}=K("video"),Yg=jg({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}=oe.useFoxI18n(Wg),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}),a=t.ref(null),r=t.computed(()=>e.options.disabled);t.watch(()=>e.source,C=>{C.src&&t.nextTick(()=>{l.videoElm.load()})}),t.watch(()=>e.options,C=>{l.state.isMuted=C?C.muted:!1},{immediate:!0});const s=()=>{l.videoElm=a.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)),h(),l.showToolbox?i():(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))},i=()=>{const C=a.value,b=a.value.getElementsByClassName("progress")[0];l.player.$player=C,l.progressBar.progressElm=b,l.progressBar.pos=b.getBoundingClientRect(),l.videoSet.progress.width=Math.round(b.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",()=>{u()}),l.videoElm.addEventListener("ended",f),n("play",l.videoElm)}catch{m()}else l.videoElm.pause(),n("pause",l.videoElm)},u=()=>{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)},m=()=>{l.state.isError=!0},h=()=>{l.state.vol=e.options.volume},w=()=>{l.state.isMuted=!l.state.isMuted,l.videoElm.muted=l.state.isMuted},y=()=>{},g=C=>{let N=C.targetTouches[0].pageX-l.progressBar.pos.left;N<=0&&(N=0),N>=l.videoSet.progress.width&&(N=l.videoSet.progress.width),l.videoSet.progress.current=N;let B=l.videoSet.progress.current/l.videoSet.progress.width;l.videoElm.duration&&d(B,l.videoElm.duration)},k=C=>{let N=C.changedTouches[0].pageX-l.progressBar.pos.left;l.videoSet.progress.current=N;let B=N/l.videoSet.progress.width;l.videoElm.duration&&d(B,l.videoElm.duration)},d=(C,b)=>{l.videoElm.currentTime=Math.floor(C*b)},p=()=>{l.state.isError=!1,s()},S=()=>{l.state.fullScreen?(l.state.fullScreen=!1,document.webkitCancelFullScreen()):(l.state.fullScreen=!0,l.videoElm.webkitRequestFullScreen())};return t.onMounted(()=>{s()}),{root:a,...t.toRefs(e),...t.toRefs(l),handleError:m,isDisabled:r,play:c,handleMuted:w,touchSlidSrart:y,touchSlidMove:g,touchSlidEnd:k,retry:p,fullScreen:S,t:o}}}),Xg={class:"fox-video",ref:"videocon"},Qg=["muted","autoplay","loop","poster","controls","preload"],Gg=["src","type"],vg={class:"current-time"},Zg={class:"progress-container"},Jg={class:"progress",ref:"progressBar"},_g=[t.createElementVNode("div",{class:"move-handle"},null,-1)],ey={class:"played",ref:"playedBar"},ty={class:"duration-time"},ny={class:"fox-video-error"},oy={class:"lose"};function ly(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("div",Xg,[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]=(...s)=>e.handleError&&e.handleError(...s))},[t.createElementVNode("source",{src:e.source.src,type:e.source.type},null,8,Gg)],40,Qg),e.showToolbox&&!e.isDisabled?(t.openBlock(),t.createElementBlock("div",{key:0,class:"playing-mask",ref:"touchMask",onClick:n[1]||(n[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:n[2]||(n[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",{"show-control":!e.state.playing,"hide-control":e.state.playing}])},[t.createElementVNode("div",{class:"control-play-btn",onClick:n[3]||(n[3]=(...s)=>e.play&&e.play(...s))}),t.createElementVNode("div",vg,t.toDisplayString(e.videoSet.displayTime),1),t.createElementVNode("div",Zg,[t.createElementVNode("div",Jg,[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(s=>e.touchSlidMove(s),["stop","prevent"])),onTouchstart:n[5]||(n[5]=t.withModifiers(s=>e.touchSlidSrart(s),["stop"])),onTouchend:n[6]||(n[6]=t.withModifiers(s=>e.touchSlidEnd(s),["stop"]))},_g,36),t.createElementVNode("div",ey,null,512)],512)]),t.createElementVNode("div",ty,t.toDisplayString(e.videoSet.totalTime),1),t.createElementVNode("div",{class:t.normalizeClass(["volume",{muted:e.state.isMuted}]),onClick:n[7]||(n[7]=(...s)=>e.handleMuted&&e.handleMuted(...s))},null,2),t.createElementVNode("div",{class:"fullscreen-icon",onClick:n[8]||(n[8]=(...s)=>e.fullScreen&&e.fullScreen(...s))})],2),[[t.vShow,e.showToolbox&&!e.isDisabled]]),t.withDirectives(t.createElementVNode("div",ny,[t.createElementVNode("p",oy,t.toDisplayString(e.t("errorTip")),1),t.createElementVNode("p",{class:"retry",onClick:n[9]||(n[9]=(...s)=>e.retry&&e.retry(...s))},t.toDisplayString(e.t("clickRetry")),1)],512),[[t.vShow,e.state.isError]])],512)}const Ge=j(Yg,[["render",ly]]),{create:ay,componentName:ry}=K("steps"),ga=ay({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:[]}),a=t.computed(()=>{const i=ry;return{[i]:!0,[`${i}-${e.direction}`]:!0,[`${i}-dot`]:!!e.progressDot}}),r=i=>{i&&l.children.push(i)},s=i=>{n("click-step",i)};return t.provide("parent",{relation:r,state:l,props:e,onEmit:s}),()=>t.h("view",{class:a.value},o.default?.())}}),{create:sy,componentName:iy}=K("step"),cy=sy({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(),a=t.inject("parent");a.relation(l);const r=t.reactive({dot:a.props.progressDot}),s=t.computed(()=>a.state.children.indexOf(l)+1),i=()=>{const m=s.value;return m<+a.props.current?"finish":m===+a.props.current?"process":"wait"},c=t.computed(()=>i()),u=t.computed(()=>{const m=iy;return{[m]:!0,[`${m}-${c.value}`]:!0}}),f=()=>{a.onEmit(s.value)};return{...t.toRefs(r),index:s,classes:u,handleClickStep:f}}}),dy={class:"fox-step-head"},uy=t.createElementVNode("view",{class:"fox-step-line"},null,-1),fy={key:2,class:"fox-step-inner"},my={class:"fox-step-main"},py={class:"fox-step-title"},hy={key:0},gy={key:0,class:"fox-step-content"},yy=["innerHTML"];function ky(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...i)=>e.handleClickStep&&e.handleClickStep(...i))},[t.createElementVNode("view",dy,[uy,t.createElementVNode("view",{class:t.normalizeClass(["fox-step-icon",[e.dot?"":e.icon?"is-icon":"is-text"]])},[e.icon?(t.openBlock(),t.createBlock(s,{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",fy,t.toDisplayString(e.index),1))],2)]),t.createElementVNode("view",my,[t.createElementVNode("view",py,[e.$slots.title?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",hy,t.toDisplayString(e.title),1)),t.renderSlot(e.$slots,"title")]),e.content||e.$slots.content?(t.openBlock(),t.createElementBlock("view",gy,[e.$slots.content?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:e.content},null,8,yy)),t.renderSlot(e.$slots,"content")])):t.createCommentVNode("",!0)])],2)}const ya=j(cy,[["render",ky]]),ka=5;function Sy(){const e=t.reactive({startX:0,startY:0,deltaX:0,deltaY:0,offsetX:0,offsetY:0,direction:""}),n=(r,s)=>r>s&&r>ka?"horizontal":s>r&&s>ka?"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:r=>{o(),e.startX=r.touches[0].clientX,e.startY=r.touches[0].clientY},reset:o,move:r=>{e.deltaX=r.touches[0].clientX-e.startX,e.deltaY=r.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:by,componentName:Sa}=K("swiper"),Cy=by({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(),a=t.reactive({active:0,num:0,rect:null,width:0,height:0,moving:!1,offset:0,touchTime:0,autoplayTimer:0,children:[],childrenVNode:[],style:{}}),r=Sy(),s=t.computed(()=>({[Sa]:!0})),i=t.computed(()=>e.direction==="vertical"),c=t.computed(()=>i.value?r.state.deltaY:r.state.deltaX),u=t.computed(()=>r.state.direction===e.direction),f=t.computed(()=>a.children.length),m=t.computed(()=>a[i.value?"height":"width"]),h=t.computed(()=>f.value*m.value),w=t.computed(()=>a.rect?(i.value?a.rect.height:a.rect.width)-m.value*f.value:0),y=t.computed(()=>(a.active+f.value)%f.value),g=()=>{let E=0;if(!e.isCenter)E=a.offset;else{let q=i.value?a.rect.height-m.value:a.rect.width-m.value;E=a.offset+(a.active===f.value-1?-q/2:q/2)}a.style={transitionDuration:`${a.moving?0:e.duration}ms`,transform:`translate${i.value?"Y":"X"}(${E}px)`,[i.value?"height":"width"]:`${m.value*f.value}px`,[i.value?"width":"height"]:`${i.value?a.width:a.height}px`}},k=E=>{let q=[],I=o?.default?.();if(I=I.filter(V=>V.children&&Array.isArray(V.children)),I.forEach(V=>{q=q.concat(V.children)}),!a.childrenVNode.length)a.childrenVNode=q.slice(),E.proxy&&a.children.push(E.proxy);else if(a.childrenVNode.length>q.length)a.children=a.children.filter(V=>E.proxy!==V);else if(a.childrenVNode.length<q.length){for(let V=0;V<a.childrenVNode.length;V++)if(q[V].key!==a.childrenVNode[V].key){E.proxy&&a.children.splice(V,0,E.proxy),E.vnode&&a.childrenVNode.splice(V,0,E.vnode);break}a.childrenVNode.length!==q.length&&(E.proxy&&a.children.push(E.proxy),E.vnode&&a.childrenVNode.push(E.vnode))}else a.childrenVNode=q.slice(),E.proxy&&a.children.push(E.proxy)},d=(E,q,I)=>Math.min(Math.max(E,q),I),p=E=>{window.requestAnimationFrame.call(window,E)},S=(E,q=0)=>{let I=E*m.value;e.loop||(I=Math.min(I,-w.value));let V=q-I;return e.loop||(V=d(V,w.value,0)),V},C=E=>{const{active:q}=a;return E?e.loop?d(q+E,-1,f.value):d(q+E,0,f.value-1):q},b=({pace:E=0,offset:q=0,isEmit:I=!1})=>{if(f.value<=1)return;const{active:V}=a,O=C(E),F=S(O,q);if(e.loop){if(a.children[0]&&F!==w.value){const M=F<w.value;a.children[0].setOffset(M?h.value:0)}if(a.children[f.value-1]&&F!==0){const M=F>0;a.children[f.value-1].setOffset(M?-h.value:0)}}a.active=O,a.offset=F,I&&V!==a.active&&n("change",y.value),g()},N=()=>{a.moving=!0,a.active<=-1&&b({pace:f.value}),a.active>=f.value&&b({pace:-f.value})},B=()=>{clearTimeout(a.autoplayTimer)},T=()=>{N(),r.reset(),p(()=>{p(()=>{a.moving=!1,b({pace:-1,isEmit:!0})})})},$=()=>{N(),r.reset(),p(()=>{p(()=>{a.moving=!1,b({pace:1,isEmit:!0})})})},D=E=>{N(),r.reset(),p(()=>{p(()=>{a.moving=!1;let q;e.loop&&f.value===E?q=a.active===0?0:E:q=E%f.value,b({pace:q-a.active,isEmit:!0})})})},z=()=>{e.autoPlay<=0||f.value<=1||(B(),a.autoplayTimer=setTimeout(()=>{$(),z()},Number(e.autoPlay)))},x=(E=+e.initPage)=>{B(),a.rect=l.value.getBoundingClientRect(),E=Math.min(f.value-1,E),a.width=e.width?+e.width:a.rect.width,a.height=e.height?+e.height:a.rect.height,a.active=E,a.offset=S(a.active),a.moving=!0,g(),z()},H=E=>{e.isPreventDefault&&E.preventDefault(),e.isStopPropagation&&E.stopPropagation(),e.touchable&&(r.start(E),a.touchTime=Date.now(),B(),N())},P=E=>{e.touchable&&a.moving&&(r.move(E),u.value&&b({offset:c.value}))},A=E=>{if(!e.touchable||!a.moving)return;const q=c.value/(Date.now()-a.touchTime);if((Math.abs(q)>.3||Math.abs(c.value)>+(m.value/2).toFixed(2))&&u.value){let V=0;const O=i.value?r.state.offsetY:r.state.offsetX;e.loop?V=O>0?c.value>0?-1:1:0:V=-Math[c.value>0?"ceil":"floor"](c.value/m.value),b({pace:V,isEmit:!0})}else c.value&&b({pace:0});a.moving=!1,g(),z()};return t.provide("parent",{props:e,size:m,relation:k}),ot({prev:T,next:$,to:D}),t.onDeactivated(()=>{B()}),t.onBeforeUnmount(()=>{B()}),t.watch(()=>e.initPage,E=>{t.nextTick(()=>{x(Number(E))})}),t.watch(()=>a.children.length,()=>{t.nextTick(()=>{x()})}),t.watch(()=>e.autoPlay,E=>{E>0?z():B()}),{state:a,classes:s,container:l,componentName:Sa,isVertical:i,slots:o,activePagination:y,onTouchStart:H,onTouchMove:P,onTouchEnd:A}}});function wy(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{ref:"container",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)),onTouchend:n[2]||(n[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:n[3]||(n[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[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,(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 ve=j(Cy,[["render",wy]]),{create:Ny,componentName:By}=K("swiper-item"),Vy=Ny({setup(e,{slots:n}){const o=t.inject("parent");o.relation(t.getCurrentInstance());const l=t.reactive({offset:0}),a=t.computed(()=>({[By]:!0})),r=t.computed(()=>{const i={},c=o?.props.direction;return o?.size.value&&(i[c==="horizontal"?"width":"height"]=`${o?.size.value}px`),l.offset&&(i.transform=`translate${c==="horizontal"?"X":"Y"}(${l.offset}px)`),i});return ot({setOffset:i=>{l.offset=i}}),{style:r,classes:a}}});function Ay(e,n,o,l,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 Ze=j(Vy,[["render",Ay]]),{create:Ey}=K("imagepreviewitem"),Ty=Ey({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:{[pe.name]:pe,[Ge.name]:Ge,[ve.name]:ve,[Ze.name]:Ze,[ae.name]:ae},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=rt(),a=t.computed(()=>{const{rootWidth:D,rootHeight:z}=e,x=z/D;return o.imageRatio>x}),r=t.computed(()=>{const{scale:D,moveX:z,moveY:x,moving:H,zooming:P}=o,A={transitionDuration:P||H?"0s":".3s"};if(D!==1){const E=z/D,q=x/D;A.transform=`scale(${D}, ${D}) translate(${E}px, ${q}px)`}return A}),s=t.computed(()=>{if(o.imageRatio){const{rootWidth:D,rootHeight:z}=e,x=a.value?z/o.imageRatio:D;return Math.max(0,(o.scale*x-D)/2)}return 0}),i=t.computed(()=>{if(o.imageRatio){const{rootWidth:D,rootHeight:z}=e,x=a.value?z:D*o.imageRatio;return Math.max(0,(o.scale*x-z)/2)}return 0}),c=D=>{const{naturalWidth:z,naturalHeight:x}=D.target;o.imageRatio=x/z},u=()=>{f(1),o.moveX=0,o.moveY=0},f=D=>{D=$(D,+e.minZoom,+e.maxZoom+1),D!==o.scale&&(o.scale=D,n("scale",{scale:D,index:e.initNo}))},m=()=>{const D=o.scale>1?1:2;f(D),o.moveX=0,o.moveY=0},h=D=>Math.sqrt((D[0].clientX-D[1].clientX)**2+(D[0].clientY-D[1].clientY)**2);let w,y,g,k,d,p,S;const C=D=>{const{touches:z}=D,{offsetX:x}=l;l.start(D),S=z.length,w=o.moveX,y=o.moveY,p=Date.now(),o.moving=S===1&&o.scale!==1,o.zooming=S===2&&!x.value,o.zooming&&(g=o.scale,k=h(D.touches))},b=D=>{const{touches:z}=D;if(l.move(D),(o.moving||o.zooming)&&T(D,!0),o.moving){const{deltaX:x,deltaY:H}=l,P=x.value+w,A=H.value+y;o.moveX=$(P,-s.value,s.value),o.moveY=$(A,-i.value,i.value)}if(o.zooming&&z.length===2){const x=h(z),H=g*x/k;f(H)}},N=()=>{if(S>1)return;const{offsetX:D,offsetY:z}=l,x=Date.now()-p,H=250,P=5;D.value<P&&z.value<P&&x<H&&(d?(clearTimeout(d),d=null,m()):d=setTimeout(()=>{n("close"),d=null},H))},B=D=>{let z=!1;(o.moving||o.zooming)&&(z=!0,o.moving&&w===o.moveX&&y===o.moveY&&(z=!1),D.touches.length||(o.zooming&&(o.moveX=$(o.moveX,-s.value,s.value),o.moveY=$(o.moveY,-i.value,i.value),o.zooming=!1),o.moving=!1,w=0,y=0,g=1,o.scale<1&&u(),o.scale>e.maxZoom&&(o.scale=+e.maxZoom))),T(D,z),N(),l.reset()},T=(D,z)=>{(typeof D.cancelable!="boolean"||D.cancelable)&&D.preventDefault(),z&&D.stopPropagation()},$=(D,z,x)=>Math.min(Math.max(D,z),x);return t.watch(()=>e.initNo,u),t.watch(()=>e.show,D=>{D||u()}),{...t.toRefs(o),onTouchStart:C,onTouchMove:b,onTouchEnd:B,getDistance:h,imageStyle:r,imageLoad:c}}}),$y=["src"],Dy={key:1,class:"fox-imagepreview-box"};function Iy(e,n,o,l,a,r){const s=t.resolveComponent("fox-video"),i=t.resolveComponent("fox-swiper-item");return t.openBlock(),t.createBlock(i,{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,$y)],4)):t.createCommentVNode("",!0),e.video&&e.video.source?(t.openBlock(),t.createElementBlock("view",Dy,[t.createVNode(s,{source:e.video.source,options:e.video.options},null,8,["source","options"])])):t.createCommentVNode("",!0)]),_:1},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel"])}const qy=j(Ty,[["render",Iy]]),{create:zy}=K("imagepreview"),My=zy({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:{[pe.name]:pe,[Ge.name]:Ge,[ve.name]:ve,[Ze.name]:Ze,[ae.name]:ae,ImagePreviewItem:qy},setup(e,{emit:n}){const o=t.ref(),l=t.reactive({showPop:!1,active:1,maxNo:1,rootWidth:0,rootHeight:0}),a=t.computed(()=>{let f={};return e.closeIconPosition=="top-right"?f.right="10px":f.left="10px",f}),r=function(f){l.active=f+1,n("change",l.active)},s=()=>{if(e.beforeClose){const f=e.beforeClose.apply(null,l.active);X.isPromise(f)?f.then(m=>{m&&i()}):f&&i()}else i()},i=()=>{l.showPop=!1,l.active=1,n("close")},c=()=>{s()},u=()=>{setTimeout(()=>{l.rootHeight=o.value.offsetHeight,l.rootWidth=o.value.offsetWidth},100)};return t.watch(()=>e.show,f=>{l.showPop=f,u()}),t.onMounted(()=>{l.active=e.initNo,l.showPop=e.show,l.maxNo=e.images.length+e.videos.length}),{swipeRef:o,...t.toRefs(l),slideChangeEnd:r,onClose:s,handleCloseIcon:c,styles:a}}}),Py={class:"fox-imagepreview",ref:"swipeRef"},Ry={key:0,class:"fox-imagepreview-index"};function Ly(e,n,o,l,a,r){const s=t.resolveComponent("image-preview-item"),i=t.resolveComponent("fox-swiper"),c=t.resolveComponent("fox-icon"),u=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(u,{"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",Py,[e.showPop?(t.openBlock(),t.createBlock(i,{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,m)=>(t.openBlock(),t.createBlock(s,{key:m,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,m)=>(t.openBlock(),t.createBlock(s,{key:m,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",Ry,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 ba=j(My,[["render",Ly]]);class Oy{show=!1;images=[];initNo=1;paginationVisible=!1;paginationColor="";teleport="body";onClose=()=>{}}class Fy{options=new Oy;constructor(n){const o=Object.assign(this.options,n);let l=document.body;const a=o.teleport;a!="body"&&(typeof a=="string"?l=document.querySelector(a):l=o.teleport);const r=document.createElement("view");r.id="imagepreview-"+new Date().getTime();const s={setup(){return o.teleport=`#${r.id}`,()=>t.h(ba,o)}},i=t.createVNode(s);l.appendChild(r),t.render(i,r)}}const Ut=e=>new Fy(e);Ut.install=e=>{e.use(ba),e.config.globalProperties.$imagepreview=Ut};const{componentName:R1,create:Uy}=K("countup"),Ky=Uy({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:a,customBgImg:r,type:s}=t.reactive(e);t.watch(()=>e.customChangeNum,(C,b)=>{c(),w(0)}),t.watch(()=>e.machinePrizeLevel,(C,b)=>{o.prizeLevelTrun=C}),t.watch(()=>e.initNum,(C,b)=>{o.current=C,o.valFlag=!1,i()}),t.watch(()=>e.endNum,(C,b)=>{o.current=e.initNum,o.valFlag=!1,i()});const i=()=>{if(o.valFlag)return!1;l&&(a||r?s!="machine"&&w():(h(),setTimeout(()=>{o.valFlag=!0},300)))},c=()=>{clearInterval(Number(o.timer)),o.timer=null},u=(C,b,N)=>{const B=(C.toString().split(".")[1]||"").length,T=(b.toString().split(".")[1]||"").length,$=Math.pow(10,Math.max(B,T));return N=="-"?Number((C*$-b*$).toFixed(0))/$:Number((C*$+b*$).toFixed(0))/$},f=C=>{let{num_total_len:b,pointNum:N,initDigit1:B,initDigit2:T,sortFlag:$}=o,D=$=="add"||$=="equal"?String(T)[C-(b-N)]:10-Number(String(T)[C-(b-N)]),z=$=="add"||$=="equal"?String(B)[C]:10-Number(String(B)[C]),x=C>b-N-1?-D*100+"%":C<=String(B).length-1?-z*100+"%":0;return x=="-1000%"&&(x=0),x},m=C=>{let{num_total_len:b,pointNum:N,initDigit1:B,initDigit2:T,sortFlag:$}=o,D=String(T)[C-(b-N)];return C>b-N-1?D||0:C<=String(B).length-1?String(B)[C]:0},h=()=>{let{endNum:C,initNum:b,speed:N,toFixed:B}=e,T=setInterval(()=>{b>C?o.current<=C||o.current<=N?(o.current=Number(C.toFixed(B)),clearInterval(T),n("scroll-end"),o.valFlag=!1):o.current=Number((parseFloat(String(o.current))-parseFloat(String(N))).toFixed(B)):o.current>=C?(o.current=Number(C.toFixed(B)),clearInterval(T),n("scroll-end"),o.valFlag=!1):o.current=Number((parseFloat(String(o.current))+parseFloat(String(N))).toFixed(B))},e.during)},w=C=>{let{initNum:b,endNum:N,toFixed:B,customBgImg:T}=e;T&&(b=e.customChangeNum);let $,D,z,x;b!=0?(B!=0&&(b=Number(b.toFixed(B))),String(b).indexOf(".")>-1?($=String(b).split(".")[0].length,D=String(b).split(".")[1].length):($=String(b).length,D=0)):($=1,D=0),N!=0?(B!=0&&(N=Number(N.toFixed(B))),String(N).indexOf(".")>-1?(z=String(N).split(".")[0].length,x=String(N).split(".")[1].length):(z=String(N).length,x=0)):(z=1,x=0);let H=$>=z?$:z,P=D>=x?D:x;o.num_total_len=H+P,o.pointNum=P,b>N?(o.sortFlag="reduce",o.to0_10=[0,9,8,7,6,5,4,3,2,1,0],o.totalCount=u(b,N,"-"),o.numberVal=Number(String(b))):b<N?(o.sortFlag="add",o.to0_10=[0,1,2,3,4,5,6,7,8,9,0],o.totalCount=u(N,b,"-"),o.numberVal=Number(String(N))):o.sortFlag="equal";var A=1;for(let q=0;q<o.pointNum;q++)A*=10;var E=o.numberVal*A;if(o.relNum=E,B!=0&&(o.pointNum=String(o.numberVal).split(".")[1]?String(o.numberVal).split(".")[1].length:0,o.num_total_len=String(E).length),String(b).indexOf(".")>-1){let q=String(b).split(".");o.initDigit1=Number(q[0]),o.initDigit2=Number(q[1])}else o.initDigit1=b,o.initDigit2=0;a&&!T?t.nextTick(()=>{if(o.sortFlag=="equal")return!1;let I=document.getElementsByClassName("numberItem")[o.num_total_len-1];y(I)}):C!==0&&k()},y=C=>{c();var b=1;o.pointNum!=0&&(b=1/Math.pow(10,o.pointNum)),o.timer=setInterval(()=>{g(C),o.totalCount=u(o.totalCount,b,"-"),o.totalCount<=0&&(c(),n("scroll-end"),o.valFlag=!1)},e.during)},g=C=>{let b=C.getAttribute("turn-number"),N;if(o.sortFlag=="add"?N=parseInt(String(b))+1:N=parseInt(String(b))-1>=0?parseInt(String(b))-1:9,C.setAttribute("turn-number",String(N)),(C.style.transition=="none 0s ease 0s"||N==1||!C.style.transition)&&(C.style.transition=`all linear ${e.during}ms`),N==10||o.sortFlag=="reduce"&&N==0){var B=null;C.style.top=`-${o.sortFlag=="add"?N*100:(10-N)*100}%`,C.setAttribute("turn-number","0"),B=setTimeout(()=>{B&&clearTimeout(B),C.style.transition="none",C.style.top="0",N==10&&C.previousSibling&&g(C.previousSibling)},.975*e.during)}else C.style.top=`-${o.sortFlag=="add"?N*100:(10-N)*100}%`;C.style.top=="-100%"&&o.sortFlag=="reduce"&&g(C.previousSibling)},k=()=>{o.pointNum!=0&&Math.pow(10,o.pointNum),t.nextTick(()=>{document.getElementsByClassName("run-number-img")[0].addEventListener("webkitTransitionEnd",()=>{n("scroll-end"),o.valFlag=!1})})},d=()=>{for(o.notPrize=[];o.notPrize.length<3;){var C=Math.floor(Math.random()*e.machinePrizeNum+1);o.notPrize.indexOf(C)==-1&&o.notPrize.push(C)}};ru({machineLuck:()=>{const C=e.machineTrunMore<0?0:e.machineTrunMore;let b=e.numHeight*e.machinePrizeNum;o.prizeLevelTrun<0&&d();for(let N=0;N<e.machineNum;N++)setTimeout(()=>{let B=b*(N+1+parseFloat(String(C)));o.prizeYPrev.length!=0&&(o.prizeY[N]=o.prizeYPrev[N]);let T=o.prizeYPrev[N]?o.prizeYPrev[N]:0,$=B+T+(e.machinePrizeNum-o.prizeLevelTrun+1)*e.numHeight+(b-T);o.prizeLevelTrun<0&&($+=e.numHeight*o.notPrize[N]),S(N,$,T)},500*N)}});const S=(C,b,N)=>{let B=setInterval(()=>{if(N<=b)N+=10,o.prizeY[C]=parseFloat(String(N));else if(clearInterval(B),B=null,o.finshMachine+=1,o.prizeY[C]=b,o.finshMachine==e.machineNum){let T=e.numHeight*e.machinePrizeNum;o.prizeYPrev=[],JSON.parse(JSON.stringify(o.prizeY)).forEach(D=>{let z=D;for(;z>T;)z-=T;o.prizeYPrev.push(z)}),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(()=>{i()})}),t.onUnmounted(()=>{c(),o.timer=null}),{...t.toRefs(o),...t.toRefs(t.reactive(e)),topNumber:f,turnNumber:m}}}),Hy={class:"fox-countup"},xy=["turn-number"];function jy(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",Hy,[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,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"run-number-machine-img-li",ref_for:!0,ref:"run-number-machine-img-li",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,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,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"run-number-img-li",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+")",backgroundPosition:"0 "+-(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:"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,(s,i)=>(t.openBlock(),t.createElementBlock("view",{ref_for:!0,ref:"numberItem",class:"numberItem",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,u)=>(t.openBlock(),t.createElementBlock("view",{class:"itemSpan",key:"dote"+u,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},t.toDisplayString(c),5))),128))],12,xy))),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 Ca=j(Ky,[["render",jy]]),St=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},wa=e=>{if(!e)return Date.now();let n=e;return n=n>0?+n:n.toString().replace(/\-/g,"/"),new Date(n).getTime()},{componentName:Wy,create:Yy}=K("countdown"),Xy=Yy({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}),a=t.computed(()=>({[Wy]:!0})),r=t.computed(()=>c(l.restTime)),s=()=>{l.handleEndTime=e.endTime,l.diffTime=Date.now()-wa(e.startTime),l.counting||(l.counting=!0),i()},i=()=>{window!==void 0&&(l.timer=requestAnimationFrame(()=>{if(l.counting){const w=Date.now()-l.diffTime,y=Math.max(l.handleEndTime-w,0);l.restTime=y,y||(l.counting=!1,m(),n("on-end")),y>0&&i()}}))},c=(w,y)=>{const g=w;let k={d:0,h:0,m:0,s:0,ms:0};const d=1e3,p=60*d,S=60*p,C=24*S;return g>0&&(k.d=g>=d?Math.floor(g/C):0,k.h=Math.floor(g%C/S),k.m=Math.floor(g%S/p),k.s=Math.floor(g%p/d),k.ms=Math.floor(g%d)),y=="custom"?k:u({...k})},u=w=>{let{d:y,h:g,m:k,s:d,ms:p}=w,S=e.format;if(S.includes("DD")?S=S.replace("DD",St(y)):g+=Number(y)*24,S.includes("HH")?S=S.replace("HH",St(g)):k+=Number(g)*60,S.includes("mm")?S=S.replace("mm",St(k)):d+=Number(k)*60,S.includes("ss")?S=S.replace("ss",St(d)):p+=Number(d)*1e3,S.includes("S")){const C=St(p,3).toString();S.includes("SSS")?S=S.replace("SSS",C):S.includes("SS")?S=S.replace("SS",C.slice(0,2)):S.includes("S")&&(S=S.replace("SS",C.slice(0,1)))}return S},f=()=>{!l.counting&&!e.autoStart&&(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),i(),n("on-restart",l.restTime))},m=()=>{cancelAnimationFrame(l.timer),l.counting=!1,n("on-paused",l.restTime)},h=()=>{e.autoStart||(m(),l.restTime=e.time)};return t.onBeforeMount(()=>{e.autoStart?s():l.restTime=e.time}),t.watch(()=>l.restTime,w=>{let y=c(w,"custom");n("update:modelValue",y),n("input",y)}),t.watch(()=>e.paused,(w,y)=>{y?(l.counting||(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),i()),n("on-restart",l.restTime)):l.counting&&m()}),t.watch(()=>e.endTime,w=>{s()}),t.watch(()=>e.startTime,w=>{s()}),{...t.toRefs(e),slots:o,classes:a,getTimeStamp:wa,start:f,pause:m,renderTime:r,reset:h}}}),Qy=["innerHTML"];function Gy(e,n,o,l,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:"fo xcd-block",innerHTML:e.renderTime},null,8,Qy))],2)}const Na=j(Xy,[["render",Gy]]),{create:vy}=K("badge"),Zy=vy({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 a=e.value,r=e.max;return typeof a=="number"&&typeof r=="number"&&r<a?`${r}+`:a});return{state:n,stl:o,content:l}}}),Jy={class:"fox-badge"},_y={class:"slot-icons"},ek=["textContent"];function tk(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",Jy,[t.createElementVNode("view",_y,[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,ek),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}const Ba=j(Zy,[["render",tk]]),{componentName:nk,create:ok}=K("tag"),lk=ok({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:a,round:r,mark:s,textColor:i}=t.toRefs(e);return{classes:t.computed(()=>{const h=nk;return{[h]:!0,[`${h}--${o.value}`]:o.value,[`${h}--plain`]:a.value,[`${h}--round`]:r.value,[`${h}--mark`]:s.value}}),getStyle:()=>{const h={};return i.value?h.color=i.value:l.value&&a.value&&(h.color=l.value),a.value?(h.background="#fff",h["border-color"]=l.value):l.value&&(h.background=l.value),h},onClose:h=>{h.stopPropagation(),n("close",h)},onClick:h=>{n("click",h)}}}});function ak(e,n,o,l,a,r){const s=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]=(...i)=>e.onClick&&e.onClick(...i))},[t.renderSlot(e.$slots,"default"),e.closeable?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-tag--close",name:"close",size:"12",onClick:e.onClose},null,8,["onClick"])):t.createCommentVNode("",!0)],6)}const Va=j(lk,[["render",ak]]),{componentName:rk,create:sk}=K("popover"),ik=sk({inheritAttrs:!1,components:{[pe.name]:pe,[Ye.name]:Ye},props:{...Me,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}),a=t.ref(e.visible),{theme:r,location:s}=t.toRefs(e),i=t.computed(()=>{const d=rk;return{[d]:!0,[`${d}--${r.value}`]:r.value}}),c=t.computed(()=>{const d="popoverContent";return{[d]:!0,[`${d}--${s.value}`]:s.value}}),u=t.computed(()=>{const d="popoverArrow";return{[d]:!0,[`${d}--${s.value}`]:s.value}});function f(){l.elWidth=o.value.offsetWidth,l.elHeight=o.value.offsetHeight}const m=t.computed(()=>{const d={};return s.value=="top"?(d.bottom=l.elHeight+20+"px",d.left=0+"px"):s.value=="right"?(d.top=0+"px",d.right=-l.elWidth+"px"):s.value=="left"?(d.top=0+"px",d.left=-l.elWidth+"px"):(d.top=l.elHeight+20+"px",d.left=0+"px"),d}),h=t.computed(()=>{const d={};return s.value=="top"?(d.bottom=-20+"px",d.left=l.elWidth/2+"px"):s.value=="right"?(d.top=20+"px",d.left=-20+"px"):s.value=="left"?(d.top=20+"px",d.right=-20+"px"):(d.left=l.elWidth/2+"px",d.top=-20+"px"),d});t.onMounted(()=>{f()}),t.watch(()=>e.visible,d=>{a.value=d});const w=d=>{n("update",d),n("update:visible",d)};return{classes:i,showPopup:a,openPopover:()=>{w(!e.visible),n("open")},popoverContent:c,popoverArrow:u,closePopover:()=>{n("close"),n("update:visible",!1)},chooseItem:(d,p)=>{d.disabled||n("choose",d,p)},getReference:f,reference:o,getStyle:m,getArrowStyle:h}}}),ck={ref:"reference"},dk=["onClick"],uk={class:"title-name"};function fk(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{onClick:n[1]||(n[1]=t.withModifiers((...i)=>e.openPopover&&e.openPopover(...i),["stop"])),class:t.normalizeClass(e.classes)},[t.createElementVNode("div",ck,[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((...i)=>e.closePopover&&e.closePopover(...i),["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,(i,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass({"title-item":!0,disabled:i.disabled}),onClick:t.withModifiers(u=>e.chooseItem(i,c),["stop"])},[i.icon?t.renderSlot(e.$slots,"default",{key:0},()=>[t.createVNode(s,{class:"item-img",name:i.icon},null,8,["name"])]):t.createCommentVNode("",!0),t.createElementVNode("view",uk,t.toDisplayString(i.name),1)],10,dk))),128))],6)],64)):t.createCommentVNode("",!0)],2)}const Aa=j(ik,[["render",fk]]),mk={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),a=t.computed(()=>{const i="avatarClass";return{[i]:!0,[`${i}--${n.value}`]:n.value}}),r=i=>({[i]:!0,[`${i}--round`]:o.value}),s=()=>l.value?{width:l.value,height:l.value}:{width:"50px",height:"50px"};return t.onMounted(()=>{}),{avatarShape:n,avatarClass:a,getBlockClass:r,getStyle:s}}},{create:pk}=K("skeleton"),hk=pk(mk),gk={key:0},yk={key:1,class:"skeleton"},kk={key:0,class:"skeleton-animation"},Sk={class:"content"};function bk(e,n,o,l,a,r){const s=t.resolveComponent("fox-avatar");return e.loading?(t.openBlock(),t.createElementBlock("view",yk,[e.animated?(t.openBlock(),t.createElementBlock("view",kk)):t.createCommentVNode("",!0),t.createElementVNode("view",Sk,[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:"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),i=>(t.openBlock(),t.createElementBlock("view",{key:i,class:t.normalizeClass(e.getBlockClass("blockLine")),style:t.normalizeStyle({height:e.height})},null,6))),128))],4)])])):(t.openBlock(),t.createElementBlock("view",gk,[t.renderSlot(e.$slots,"default")]))}const Ea=j(hk,[["render",bk]]),{create:Ck}=K("collapse"),wk=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),a=t.ref([]);t.watch(()=>e.active,(c,u)=>{let f=a.value;Array.from(f).forEach(m=>{typeof c=="number"||typeof c=="string"?c==m.name?m.changeOpen(!0):m.changeOpen(!1):Object.values(c)instanceof Array&&(c.indexOf(Number(m.name))>-1||c.indexOf(String(m.name))>-1?m.changeOpen(!0):m.changeOpen(!1)),m.animation()})}),t.onMounted(()=>{a.value=t.getCurrentInstance().provides.collapseParent.children||[]});const r=c=>{n("update:active",c),n("change",c)},s=c=>{const u=e.active instanceof Object?Object.values(e.active):e.active;let f=-1;u.forEach((m,h)=>{String(m)==String(c)&&(f=h)}),f>-1?u.splice(f,1):u.push(c),r(u)},i=c=>{const{accordion:u,active:f}=e;if(u)return typeof f=="number"||typeof f=="string"?f==c:!1};return t.provide("collapseParent",{children:[],props:e,changeValAry:s,changeVal:r,isExpanded:i}),{collapseDom:l}}}),Nk={ref:"collapseDom"};function Bk(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",Nk,[t.renderSlot(e.$slots,"default")],512)}const Ta=j(wk,[["render",Bk]]),{create:Vk,componentName:Ak}=K("collapse-item"),Ek=Vk({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),a=t.computed(()=>{const C=Ak;return{[C]:!0,[`${C}-icon`]:l.props.icon}});(C=>{C.proxy&&l.children.push(C.proxy)})(t.getCurrentInstance());const s=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"}}),i=t.reactive({titleIcon:l.props.titleIcon,titleIconSize:l.props.titleIconSize,titleIconColor:l.props.titleIconColor,titleIconPosition:l.props.titleIconPosition}),c=t.ref(null),u=t.ref(null),f=()=>{const C=document.getElementsByClassName("collapse-wrapper")[0];C&&(C.style.willChange="auto")},m=()=>{const C=c.value,b=u.value;if(!C||!b)return;const N=b.offsetHeight||"auto";if(N){const B=`${N}px`;C.style.willChange="height",C.style.height=s.openExpanded?B:0,l.props.icon&&!s.openExpanded?s.iconStyle.transform="rotate(0deg)":s.iconStyle.transform="rotate("+l.props.rotate+"deg)"}s.openExpanded||f()},h=()=>{s.openExpanded=!s.openExpanded,m()},w=()=>{h(),l.props.icon&&(s.iconStyle.transform="rotate("+l.props.rotate+"deg)")},y=t.computed(()=>e.name),g=()=>{l.props.accordion?t.nextTick(()=>{y.value==l.props.active?h():l.changeVal(y.value)}):(l.changeValAry(String(e.name)),h())},k=C=>{s.openExpanded=C},d=t.computed(()=>l?l.isExpanded(e.name):null);t.watch(d,(C,b)=>{C&&(s.openExpanded=!0)}),t.watch(()=>n?.slots?.default?.(),()=>{setTimeout(()=>{m()},300)});const p=()=>{const{name:C}=e,b=l&&l.props.active;t.nextTick(()=>{typeof b=="number"||typeof b=="string"?C==b&&w():Object.values(b)instanceof Array&&Object.values(b).filter(B=>B==C).length>0&&w()})};t.onMounted(()=>{p()});const S=t.computed(()=>{let C=u.value,b="";return C?.innerText||(b="empty"),b});return{classes:a,emptyContent:S,...t.toRefs(s),...t.toRefs(l.props),...t.toRefs(i),wrapperRef:c,contentRef:u,open:h,toggleOpen:g,changeOpen:k,animation:m}}}),Tk={class:"collapse-title"},$k={class:"collapse-title-value"},Dk=["innerHTML"],Ik={key:0,class:"subTitle"},qk=["innerHTML"],zk={key:0,class:"collapse-extraWrapper"},Mk={class:"collapse-extraRender"},Pk={class:"collapse-wrapper",ref:"wrapperRef"};function Rk(e,n,o,l,a,r){const s=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]=(...i)=>e.toggleOpen&&e.toggleOpen(...i))},[t.createElementVNode("view",Tk,[t.createElementVNode("view",null,[t.createElementVNode("view",$k,[e.titleIcon?(t.openBlock(),t.createBlock(s,{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,Dk))])])]),e.$slots.sTitle?(t.openBlock(),t.createElementBlock("view",Ik,[t.renderSlot(e.$slots,"sTitle")])):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.subTitle,class:"subTitle"},null,8,qk)),e.icon?(t.openBlock(),t.createBlock(s,{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",zk,[t.createElementVNode("div",Mk,[t.renderSlot(e.$slots,"extraRender")])])):t.createCommentVNode("",!0),t.createElementVNode("view",Pk,[t.createElementVNode("view",{class:t.normalizeClass(["collapse-content",e.emptyContent]),ref:"contentRef"},[t.renderSlot(e.$slots,"default")],2)],512)],2)}const $a=j(Ek,[["render",Rk]]),Lk={setup(e){return()=>t.h("view",{},e.slots[0]?e.slots[0](e.record):e.slots[1](e.record))},props:{slots:Array,record:Object}},Ok=(e,n)=>({components:{RenderColumn:Lk},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:a}){const{t:r}=oe.useFoxI18n(n),s=t.reactive({curData:o.data}),i=t.computed(()=>({[e]:!0})),c=g=>({"fox-table__main__head__tr--border":o.bordered,[`fox-table__main__head__tr--align${g.align?g.align:""}`]:!0}),u=g=>g.stylehead?g.stylehead:"",f=g=>g.stylecolumn?g.stylecolumn:"",m=g=>o.columns.filter(k=>k.key===g)[0],h=g=>{const k=o.columns.filter(d=>d.key===g);return k[0].stylecolumn?k[0].stylecolumn:""},w=g=>{g.sorter&&(l("sorter",g),s.curData=typeof g.sorter=="function"?s.curData.sort(g.sorter):g.sorter==="default"?s.curData.sort():s.curData)},y=()=>o.columns.map(g=>[g.key,g.render]);return t.watch(()=>o.data,g=>{s.curData=g.slice()}),{...t.toRefs(s),classes:i,cellClasses:c,getColumnItem:m,getColumnItemStyle:h,handleSorterClick:w,sortDataItem:y,t:r,stylehead:u,stylecolumn:f}}}),{componentName:Fk,create:Uk,scope:Kk}=K("table"),Hk=Uk(Ok(Fk,Kk)),xk={class:"fox-table__main__head"},jk={class:"fox-table__main__head__tr"},Wk=["onClick"],Yk={class:"fox-table__main__body"},Xk={key:1},Qk={key:0,class:"fox-table__nodata"},Gk={key:0,class:"fox-table__nodata__text"},vk={key:1,class:"fox-table__summary"},Zk=["innerHTML"];function Jk(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon"),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",xk,[t.createElementVNode("view",jk,[(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:u=>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,name:"down-arrow",size:"12px"})):t.createCommentVNode("",!0)],14,Wk))),128))])]),t.createElementVNode("view",Yk,[(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(),([u,f])=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(u))]),key:u,style:t.normalizeStyle(e.getColumnItemStyle(u))},[typeof c[u]=="function"||typeof f=="function"?(t.openBlock(),t.createBlock(i,{key:0,slots:[f,c[u]],record:c},null,8,["slots","record"])):(t.openBlock(),t.createElementBlock("view",Xk,t.toDisplayString(c[u]),1))],6))),128))]))),128))])],2),e.curData.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Qk,[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",Gk,t.toDisplayString(e.t("noData")),1))],2)])),e.summary?(t.openBlock(),t.createElementBlock("view",vk,[t.createElementVNode("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,Zk)])):t.createCommentVNode("",!0)],2)}const Da=j(Hk,[["render",Jk]]),{componentName:_k,create:eS}=K("ellipsis"),tS=eS({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,a=0;const r=t.ref(),s=t.reactive({exceeded:!1,expanded:!1}),i=t.computed(()=>{let g=_k;return e.class&&(g=`${g} ${e.class}`),g});t.watch(()=>e.content,(g,k)=>{g!=k&&(l&&document.body.appendChild(l),c())}),t.onMounted(()=>{c()});const c=()=>{if(!o.value)return;const g=window.getComputedStyle(o.value);l=document.createElement("div"),Array.prototype.slice.apply(g).forEach(p=>{l.style.setProperty(p,g.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 d=h(g.lineHeight==="normal"?e.lineHeight:g.lineHeight);a=Math.floor(d*(Number(e.rows)+.5)+h(g.paddingTop)+h(g.paddingBottom)),l.innerText=e.content,document.body.appendChild(l),u()},u=()=>{if(l.offsetHeight<=a)s.exceeded=!1;else{s.exceeded=!0;const g=e.content.length,k=Math.floor((0+g)/2),d=e.direction==="middle"?m([0,k],[k,g]):f(0,g);r.value=d,document.body.removeChild(l)}},f=(g,k)=>{const d=s.expanded?e.collapseText:e.expandText,p=e.content.length;if(k-g<=1)return e.direction==="end"?{leading:e.content.slice(0,g)+e.symbol}:{tailing:e.symbol+e.content.slice(k,p)};const S=Math.round((g+k)/2);return e.direction==="end"?l.innerText=e.content.slice(0,S)+e.symbol+d:l.innerText=d+e.symbol+e.content.slice(S,p),l.offsetHeight<=a?e.direction==="end"?f(S,k):f(g,S):e.direction==="end"?f(g,S):f(S,k)},m=(g,k)=>{const d=s.expanded?e.collapseText:e.expandText,p=e.content.length;if(g[1]-g[0]<=1&&k[1]-k[0]<=1)return{leading:e.content.slice(0,g[0])+e.symbol,tailing:e.symbol+e.content.slice(k[1],p)};const S=Math.floor((g[0]+g[1])/2),C=Math.ceil((k[0]+k[1])/2);return l.innerText=e.content.slice(0,S)+e.symbol+d+e.symbol+e.content.slice(C,p),l.offsetHeight<=a?m([S,g[1]],[k[0],C]):m([g[0],S],[C,k[1]])},h=g=>{if(!g)return 0;const k=g.match(/^\d*(\.\d*)?/);return k?Number(k[0]):0},w=g=>{g==1?(s.expanded=!0,n("change","expand")):(s.expanded=!1,n("change","collapse"))},y=()=>{n("click")};return{...t.toRefs(s),root:o,ellipsis:r,classes:i,clickHandle:w,handleClick:y}}}),nS={key:0},oS={key:1},lS={key:2};function aS(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[2]||(n[2]=(...s)=>e.handleClick&&e.handleClick(...s)),ref:"root"},[e.exceeded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",nS,t.toDisplayString(e.content),1)),e.exceeded&&!e.expanded?(t.openBlock(),t.createElementBlock("view",oS,[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(s=>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",lS,[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(s=>e.clickHandle(2),["stop"]))},t.toDisplayString(e.collapseText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)}const Ia=j(tS,[["render",aS]]),{componentName:rS,create:sS}=K("animate"),iS=sS({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:a}=t.toRefs(e),r=t.reactive({clicked:!1});let s=t.computed(()=>({"fox-ani-container":!0,[`${rS}-${o.value}`]:a.value==="initial"||r.clicked?o.value:!1,loop:l.value}));const i=c=>{r.clicked=!0,l.value||setTimeout(()=>{r.clicked=!1},1e3),n("click",c)};return{...t.toRefs(r),classes:s,handleClick:i}}}),cS={class:"fox-animate"};function dS(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",cS,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.renderSlot(e.$slots,"default")],2)])}const qa=j(iS,[["render",dS]]),{componentName:uS,create:fS}=K("watermark"),mS=fS({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:a,gapY:r,width:s,height:i,rotate:c,image:u,imageWidth:f,imageHeight:m,content:h,fontStyle:w,fontWeight:y,fontColor:g,fontSize:k,fontFamily:d}=e,p=()=>{const C=document.createElement("canvas"),b=window.devicePixelRatio,N=C.getContext("2d"),B=`${(a+s)*b}px`,T=`${(r+i)*b}px`,$=s*b,D=i*b;if(C.setAttribute("width",B),C.setAttribute("height",T),N){if(u){N.translate($/2,D/2),N.rotate(Math.PI/180*Number(c));const z=new Image;z.crossOrigin="anonymous",z.referrerPolicy="no-referrer",z.src=u,z.onload=()=>{N.drawImage(z,-f*b/2,-m*b/2,f*b,m*b),N.restore(),o.base64Url=C.toDataURL()}}else if(h){N.textBaseline="middle",N.textAlign="center",N.translate($/2,D/2),N.rotate(Math.PI/180*Number(c));const z=Number(k)*b;N.font=`${w} normal ${y} ${z}px/${D}px ${d}`,N.fillStyle=g,N.fillText(h,0,0),N.restore(),o.base64Url=C.toDataURL()}}else throw new Error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")};p(),t.watch(()=>[l,a,r,s,i,c,u,f,m,h,w,y,g,k,d],()=>{p()});const S=t.computed(()=>{const C=uS;return{[C]:!0,[`${C}-full-page`]:e.fullPage}});return{...t.toRefs(o),classes:S}}});function pS(e,n,o,l,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 za=j(mS,[["render",pS]]);function hS(e,n=2){return Object.is(parseFloat(e),NaN)?console.log(`\u4F20\u5165\u7684\u503C\uFF1A${e}\u4E0D\u662F\u4E00\u4E2A\u6570\u5B57`):(e=parseFloat(e),(Math.round((e+Number.EPSILON)*Math.pow(10,n))/Math.pow(10,n)).toFixed(n))}const{componentName:gS,create:yS}=K("trendarrow"),kS=yS({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(()=>({[gS]:!0})),l=t.computed(()=>{const{rate:s,digits:i,showSign:c,showZero:u}=e;n.rateTrend=s>0;const f=Math.abs(s);return!u&&s===0?"--":`${c&&s!==0?n.rateTrend?"+":"-":""}${hS(Number(f),i)}%`}),a=t.computed(()=>{const{dropColor:s,riseColor:i,syncTextColor:c,textColor:u,rate:f}=e;return{color:f===0?u:c?n.rateTrend?i:s:u}}),r=t.computed(()=>{const{dropColor:s,riseColor:i,iconSize:c,upIconName:u,downIconName:f}=e;return{name:n.rateTrend?u:f,color:n.rateTrend?i:s,size:c}});return{...t.toRefs(n),classes:o,calcRate:l,calcStyle:a,calcIconProps:r}}});function SS(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[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(s,{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 Ma=j(kS,[["render",SS]]),{componentName:bS,create:CS,scope:wS}=K("address"),NS=CS({inheritAttrs:!1,props:{...Me,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}=oe.useFoxI18n(wS),a=o(e.customAddressTitle,"selectRegion"),r=o(e.existAddressTitle,"deliveryTo"),s=o(e.customAndExistTitle,"chooseAnotherAddress"),i=t.computed(()=>({[bS]:!0})),c=t.ref(null),u=t.ref(null),f=t.ref(e.visible),m=t.ref(e.type),h=t.ref(0),w=t.ref(["province","city","country","town"]),y=t.ref([""]),g=t.computed(()=>e.type==="custom2"),k=V=>{if(!Array.isArray(V))throw new TypeError("params muse be array.");if(!V.length)return[];V.forEach(F=>{if(!F.title){console.error("[FoxUI] <Address> \u8BF7\u68C0\u67E5\u6570\u7EC4\u9009\u9879\u7684 title \u503C\u662F\u5426\u6709\u8BBE\u7F6E ,title \u4E3A\u5FC5\u586B\u9879 .");return}});const O=[];return V=V.sort((F,M)=>F.title.localeCompare(M.title)),V.forEach(F=>{const M=O.findIndex(L=>L.title===F.title);M<=-1?O.push({title:F.title,list:[].concat(F)}):O[M]={title:F.title,list:O[M].list.concat(F)}}),O},d=t.reactive({province:g.value?k(e.province):e.province,city:g.value?k(e.city):e.city,country:g.value?k(e.country):e.country,town:g.value?k(e.town):e.town}),p=t.reactive({province:{},city:{},country:{},town:{}});let S=t.reactive({});const C=t.ref("self"),b=t.ref(20);t.onMounted(()=>{B()});const N=()=>{if(e.modelValue.length>0){h.value=e.modelValue.length-1;for(let V=0;V<e.modelValue.length;V++)if(d[w.value[V]].length==0){h.value=V-1;break}else{const O=e.modelValue[V],F=d[w.value[V]];if(m.value=="custom")p[w.value[V]]=F.filter(M=>M.id==O)[0];else if(m.value=="custom2"){let M=[];F.map(L=>{M.push(...L.list)}),p[w.value[V]]=M.filter(L=>L.id==O)[0]}}z()}},B=()=>{let V=l("select"),O=Object.prototype.toString.call(e.columnsPlaceholder||V);O=="[object String]"?y.value=new Array(4).fill(e.columnsPlaceholder||V):O=="[object Array]"&&(y.value=new Array(4).fill(""),y.value.forEach((F,M)=>{e.columnsPlaceholder[M]?y.value[M]=e.columnsPlaceholder[M]:y.value[M]=V}))},T=(V,O)=>V.name||h.value<O?V.name:y.value[O],$=(V="self")=>{!e.closeBtnIcon||(C.value=V=="cross"?"cross":"self",f.value=!1)},D=()=>{C.value="mask"},z=()=>{t.nextTick(()=>{const V=u.value&&u.value.getElementsByClassName("active")[0];if(V){const O=V.offsetLeft;b.value=O||20}})},x=V=>{const O={next:"",value:"",custom:w.value[h.value]};p[w.value[h.value]]=V;for(let F=h.value;F<4;F++)p[w.value[F+1]]={};h.value<3?(h.value=h.value+1,z(),O.next=w.value[h.value],O.value=V,n("change",O)):($(),n("update:modelValue"))},H=(V,O,F)=>{T(V,F)&&(h.value=F,z())},P=V=>{const O=e.existAddress;let F={};O.forEach((M,L)=>{M&&M.selectedAddress&&(F=M),M.selectedAddress=!1}),V.selectedAddress=!0,S=V,n("selected",F,V,O),$()},A=()=>{for(let V=0;V<w.value.length;V++)p[w.value[V]]={};h.value=0,z()},E=()=>{const V=Object.assign({addressIdStr:"",addressStr:""},p),O={data:{},type:m.value};if(m.value=="custom"||m.value=="custom2"){const{province:F,city:M,country:L,town:U}=V;V.addressIdStr=[F.id||0,M.id||0,L.id||0,U.id||0].join("_"),V.addressStr=[F.name,M.name,L.name,U.name].join(""),O.data=V}else O.data=S;A(),C.value=="self"?n("close",O):n("close-mask",{closeWay:C}),n("update:visible",!1)},q=()=>{m.value=="exist"?m.value="custom":m.value="exist",A(),n("switch-module",{type:m.value})},I=(V,O)=>{x(O)};return t.watch(()=>e.visible,V=>{f.value=V}),t.watch(()=>f.value,V=>{V==!1?E():N()}),t.watch(()=>e.province,V=>{d.province=g.value?k(V):V}),t.watch(()=>e.city,V=>{d.city=g.value?k(V):V}),t.watch(()=>e.country,V=>{d.country=g.value?k(V):V}),t.watch(()=>e.town,V=>{d.town=g.value?k(V):V}),t.watch(()=>e.existAddress,V=>{V.forEach((O,F)=>{O.selectedAddress&&(S=O)})}),{selectRegion:a,deliveryTo:r,chooseAnotherAddress:s,classes:i,showPopup:f,privateType:m,tabIndex:h,tabName:w,regionList:d,selectedRegion:p,selectedExistAddress:S,switchModule:q,closeWay:C,close:E,getTabName:T,nextAreaList:x,regionLine:c,tabRegion:u,lineDistance:b,changeRegionTab:H,selectedExist:P,clickOverlay:D,handClose:$,handleElevatorItem:I,initCustomSelected:N,...t.toRefs(e)}}}),BS={class:"fox-address__header"},VS={class:"fox-address__header__title"},AS={key:0,class:"custom-address"},ES={class:"region-tab",ref:"tabRegion"},TS=["onClick"],$S={class:"region-con"},DS={class:"region-group"},IS=["onClick"],qS={key:1,class:"custom-address"},zS={class:"region-tab",ref:"tabRegion"},MS=["onClick"],PS={class:"elevator-group"},RS={key:2,class:"exist-address"},LS={class:"exist-address-group"},OS={class:"exist-ul"},FS=["onClick"],US={class:"exist-item-info"},KS={key:0,class:"exist-item-info-top"},HS={class:"exist-item-info-name"},xS={class:"exist-item-info-phone"},jS={class:"exist-item-info-bottom"},WS={class:"btn"};function YS(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon"),i=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]=u=>e.closeWay="self"),visible:e.showPopup,"onUpdate:visible":n[4]||(n[4]=u=>e.showPopup=u),isWrapTeleport:e.isWrapTeleport,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",BS,[t.createElementVNode("view",{class:"arrow-back",onClick:n[0]||(n[0]=(...u)=>e.switchModule&&e.switchModule(...u))},[t.withDirectives(t.createVNode(s,{name:e.backBtnIcon,color:"#cccccc"},null,8,["name"]),[[t.vShow,e.type=="exist"&&e.privateType=="custom"&&e.backBtnIcon]])]),t.createElementVNode("view",VS,t.toDisplayString(e.privateType=="custom"?e.selectRegion:e.deliveryTo),1),t.createElementVNode("view",{class:"arrow-close",onClick:n[1]||(n[1]=u=>e.handClose("cross"))},[e.closeBtnIcon?(t.openBlock(),t.createBlock(s,{key:0,name:e.closeBtnIcon,color:"#cccccc",size:"18px"},null,8,["name"])):t.createCommentVNode("",!0)])]),e.privateType=="custom"?(t.openBlock(),t.createElementBlock("view",AS,[t.createElementVNode("view",ES,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(u,f,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["tab-item",[m==e.tabIndex?"active":""]]),key:m,onClick:h=>e.changeRegionTab(u,f,m)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(u,m)),1)],10,TS))),128)),t.createElementVNode("view",{class:"region-tab-line",ref:"regionLine",style:t.normalizeStyle({left:e.lineDistance+"px"})},null,4)],512),t.createElementVNode("view",$S,[t.createElementVNode("ul",DS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.regionList[e.tabName[e.tabIndex]],(u,f)=>(t.openBlock(),t.createElementBlock("li",{key:f,class:t.normalizeClass(["region-item",[e.selectedRegion[e.tabName[e.tabIndex]].id==u.id?"active":""]]),onClick:m=>e.nextAreaList(u)},[e.selectedRegion[e.tabName[e.tabIndex]].id==u.id?(t.openBlock(),t.createBlock(s,{key:0,class:"region-item-icon",type:"self",name:e.selectedIcon,size:"13px"},null,8,["name"])):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(u.name),1)],10,IS))),128))])])])):e.privateType=="custom2"?(t.openBlock(),t.createElementBlock("view",qS,[t.createElementVNode("view",zS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(u,f,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["tab-item",[m==e.tabIndex?"active":""]]),key:m,onClick:h=>e.changeRegionTab(u,f,m)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(u,m)),1)],10,MS))),128)),t.createElementVNode("view",{class:"region-tab-line",ref:"regionLine",style:t.normalizeStyle({left:e.lineDistance+"px"})},null,4)],512),t.createElementVNode("view",PS,[t.createVNode(i,{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",RS,[t.createElementVNode("div",LS,[t.createElementVNode("ul",OS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.existAddress,(u,f)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass(["exist-item",[u.selectedAddress?"active":""]]),key:f,onClick:m=>e.selectedExist(u)},[t.createVNode(s,{class:"exist-item-icon",type:"self",name:u.selectedAddress?e.selectedIcon:e.defaultIcon,size:"13px"},null,8,["name"]),t.createElementVNode("div",US,[u.name&&u.phone?(t.openBlock(),t.createElementBlock("div",KS,[t.createElementVNode("div",HS,t.toDisplayString(u.name),1),t.createElementVNode("div",xS,t.toDisplayString(u.phone),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",jS,[t.createElementVNode("view",null,t.toDisplayString(u.provinceName+u.cityName+u.countyName+u.townName+u.addressDetail),1)])])],10,FS))),128))])]),e.isShowCustomAddress?(t.openBlock(),t.createElementBlock("div",{key:0,class:"choose-other",onClick:n[2]||(n[2]=(...u)=>e.switchModule&&e.switchModule(...u))},[t.createElementVNode("div",WS,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 Pa=j(NS,[["render",YS]]),{componentName:XS,create:QS}=K("barrage"),On=QS({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(()=>({[XS]:!0}));let a=t.ref(document.createElement("div")),r=t.ref(document.createElement("div")),s=0;const i=t.ref(e.danmu),c=t.ref(e.rows),u=t.ref(e.top),f=t.ref(0),m=e.speeds,h=t.ref(0);t.onMounted(()=>{h.value=a.value.offsetWidth,o&&(i.value=n?.default?.()),y()}),t.onUnmounted(()=>{clearInterval(s),s=0}),t.onDeactivated(()=>{clearInterval(s),s=0}),t.watch(()=>e.danmu,d=>{e.danmu.length>0&&(i.value=[...d])});const w=d=>{const p=f.value%i.value.length;!e.loop&&f.value===i.value.length?i.value.splice(i.value.length,0,d):i.value.splice(p,0,d)},y=()=>{clearInterval(s),s=setInterval(()=>{k(),y()},e.frequency)},g=t.ref("0"),k=()=>{if(!e.loop&&f.value>=i.value.length)return;const d=e.loop?f.value%i.value.length:f.value;let p=document.createElement("div");o&&i.value[d]?.el?(p=i.value[d]?.el,p?.classList.contains("dmitem")&&p.classList.remove("dmitem"),p?.classList.contains("move")&&p.classList.remove("move"),p?.classList.add("dmitem")):(p.innerHTML=i.value[d],p.classList.add("dmitem"),r.value.appendChild(p)),t.nextTick(()=>{const S=p.offsetHeight;if(p.classList.add("move"),p.style.animationDuration=`${m}ms`,p.style.top=d%c.value*(S+u.value)+20+"px",!o){const C=p.offsetWidth;p.style.width=C+20+"px"}p.style.setProperty("--move-distance",`-${h.value}px`),g.value="-"+m/1e3*150+"%",p.dataset.index=`${d}`,o||p.addEventListener("animationend",()=>{r.value&&r.value.removeChild(p)}),f.value++})};return{classes:l,danmuList:i,dmBody:a,dmContainer:r,add:w,distance:g}}}),Ra=()=>{t.useCssVars(e=>({a8aebf42:e.distance}))},La=On.setup;On.setup=La?(e,n)=>(Ra(),La(e,n)):Ra;const L1="",GS={key:0,ref:"dmContainer",class:"dmContainer slotContainer"},vS={key:1,ref:"dmContainer",class:"dmContainer"};function ZS(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("div",{ref:"dmBody",class:t.normalizeClass(e.classes)},[e.$slots.default?(t.openBlock(),t.createElementBlock("div",GS,[t.renderSlot(e.$slots,"default")],512)):(t.openBlock(),t.createElementBlock("div",vS,null,512))],2)}const Oa=j(On,[["render",ZS]]),{componentName:JS,create:_S,scope:eb}=K("signature"),tb=_S({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}=oe.useFoxI18n(eb),l=o(e,["unSupportTpl","reSign","confirmText"]),a=t.ref(null),r=t.ref(null),s=t.computed(()=>({[JS]:!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 d=document.createElement("canvas");return!!(d.getContext&&d.getContext("2d"))},u=()=>{a.value.addEventListener(i.events[0],f,!1)},f=d=>{d.preventDefault(),i.ctx.beginPath(),i.ctx.lineWidth=e.lineWidth,i.ctx.strokeStyle=e.strokeStyle,n("start"),a.value.addEventListener(i.events[1],m,!1),a.value.addEventListener(i.events[2],h,!1),a.value.addEventListener(i.events[3],w,!1)},m=d=>{d.preventDefault();let p=i.isSupportTouch?d.touches[0]:d;n("signing",p);let S=a.value.getBoundingClientRect(),C=p.clientX-S.left,b=p.clientY-S.top;i.ctx.lineTo(C,b),i.ctx.stroke()},h=d=>{d.preventDefault(),n("end"),a.value.removeEventListener(i.events[1],m,!1),a.value.removeEventListener(i.events[2],h,!1)},w=d=>{d.preventDefault(),a.value.removeEventListener(i.events[1],m,!1),a.value.removeEventListener(i.events[2],h,!1)},y=()=>{a.value.addEventListener(i.events[2],h,!1),i.ctx.clearRect(0,0,i.canvasWidth,i.canvasHeight),i.ctx.closePath(),n("clear")},g=()=>{k(a.value)},k=d=>{let p;switch(e.type){case"png":p=d.toDataURL("image/png");break;case"jpg":p=d.toDataURL("image/jpeg",.8);break}y(),n("confirm",d,p)};return t.onMounted(()=>{c()&&(i.ctx=a.value.getContext("2d"),i.canvasWidth=r.value.offsetWidth,i.canvasHeight=r.value.offsetHeight,u())}),{...l,...t.toRefs(i),canvas:a,wrap:r,isCanvasSupported:c,confirm:g,clear:y,classes:s}}}),nb={class:"fox-signature-inner",ref:"wrap"},ob=["height","width"],lb={key:0,class:"fox-signature-unsopport"};function ab(e,n,o,l,a,r){const s=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.createElementVNode("div",nb,[t.withDirectives(t.createElementVNode("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,ob),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",lb,t.toDisplayString(e.unSupportTpl),1))],512),t.createVNode(s,{class:"fox-signature-btn",type:"default",onClick:n[0]||(n[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:n[1]||(n[1]=i=>e.confirm())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.confirmText),1)]),_:1})],2)}const Fa=j(tb,[["render",ab]]),{componentName:rb,create:sb,scope:ib}=K("timeselect"),cb=sb({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}=oe.useFoxI18n(ib),l=o(e,["title"]),a=t.computed(()=>({[rb]:!0})),r=t.computed(()=>({width:"100%",height:e.height})),s=t.computed(()=>e.currentKey),i=t.computed(()=>e.currentTime),c=()=>{n.emit("update:visible",!1),n.emit("select",i.value)};return t.provide("currentKey",s),t.provide("currentTime",i),{...l,classes:a,popStyle:r,close:c}}}),db={class:"fox-timeselect__title"},ub={class:"fox-timeselect__title__fixed"},fb={class:"fox-timeselect__content"},mb={class:"fox-timeselect__content__pannel"},pb={class:"fox-timeselect__content__detail"};function hb(e,n,o,l,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{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",db,[t.createElementVNode("view",ub,t.toDisplayString(e.title),1)]),t.createElementVNode("view",fb,[t.createElementVNode("view",mb,[t.renderSlot(e.$slots,"pannel")]),t.createElementVNode("view",pb,[t.renderSlot(e.$slots,"detail")])])],2)]),_:3},8,["isWrapTeleport","visible","style","lock-scroll","onClickOverlay","onClickCloseIcon"])}const Ua=j(cb,[["render",hb]]),{componentName:gb,create:yb}=K("timepannel"),kb=yb({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}),a=t.computed(()=>({[gb]:!0,"fox-timepannel--curr":l.currentKey==e.pannelKey})),r=s=>{n.emit("change",s)};return{...t.toRefs(l),classes:a,handlePannel:r}}});function Sb(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=s=>e.handlePannel(e.pannelKey))},t.toDisplayString(e.name),3)}const Ka=j(kb,[["render",Sb]]),{componentName:bb,create:Cb}=K("timedetail"),wb=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"),a=t.reactive({currentKey:o,currentTime:l}),r=t.computed(()=>({[bb]:!0})),s=u=>{let f=a.currentTime.find(m=>m.key==a.currentKey);if(f)return{"fox-timedetail__detail__list__item":!0,"fox-timedetail__detail__list__item--curr":f.list.filter(m=>m===u).length>0}},i=t.computed(()=>e.times.find(u=>u.key==a.currentKey).list),c=u=>{n.emit("select",u)};return{classes:r,...t.toRefs(a),getClass:s,renderData:i,handleTime:c}}}),Nb={class:"fox-timedetail__detail fox-timedetail__detail--moring"},Bb={class:"fox-timedetail__detail__list"},Vb=["onClick"];function Ab(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",Nb,[t.createElementVNode("view",Bb,[(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,Vb))),128))])])],2)}const Ha=j(wb,[["render",Ab]]),{componentName:O1,create:Eb,scope:Tb}=K("sku-header"),$b=Eb({props:{idText:{type:String,default:""},goods:{type:Object,default:{}}},emits:[],setup(e,{emit:n,slots:o}){const{toLocaleRefs:l}=oe.useFoxI18n(Tb);return{...l(e,["idText"]),getSlots:s=>o[s]}}}),Db={class:"fox-sku-header"},Ib=["src"],qb={class:"fox-sku-header-right"},zb={key:3,class:"fox-sku-header-right-extra"};function Mb(e,n,o,l,a,r){const s=t.resolveComponent("fox-price");return t.openBlock(),t.createElementBlock("view",Db,[t.createElementVNode("img",{src:e.goods.imagePath},null,8,Ib),t.createElementVNode("view",qb,[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",zb,t.toDisplayString(e.idText)+"\xA0:\xA0"+t.toDisplayString(e.goods.skuId),1)):t.createCommentVNode("",!0)])])}const Pb=j($b,[["render",Mb]]),{componentName:F1,create:Rb}=K("sku-select"),Lb=Rb({props:{sku:{type:Array,default:()=>[]}},emits:["selectSku"],setup(e,{emit:n}){const o=t.ref([]);return t.watch(()=>e.sku,a=>{o.value=[].slice.call(a)},{deep:!0}),t.onMounted(()=>{e.sku.length>0&&(o.value=[].slice.call(e.sku))}),{skuInfo:o,changeSaleChild:(a,r,s,i)=>{a.checkFlag||a.disable||n("selectSku",{sku:a,skuIndex:r,parentSku:s,parentIndex:i})}}}}),Ob={class:"fox-sku-select"},Fb={class:"fox-sku-select-item-title"},Ub={class:"fox-sku-select-item-skus"},Kb=["onClick"];function Hb(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",Ob,[(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",Fb,t.toDisplayString(s.name),1),t.createElementVNode("view",Ub,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,(c,u)=>(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,u,s,i),key:c.name},t.toDisplayString(c.name),11,Kb))),128))])]))),128))])}const xb=j(Lb,[["render",Hb]]),{componentName:U1,create:jb}=K("sku-stepper"),Wb=jb({props:{stepperMax:{type:[Number,String],default:99999},stepperMin:{type:[Number,String],default:1},stepperExtraText:{type:[Function,Boolean],default:!1},stepperTitle:{type:String,default:"\u8D2D\u4E70\u6570\u91CF"}},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,u)=>{n("overLimit",{action:u,value:parseInt(o.value+"")})},getExtraText:()=>{const{stepperExtraText:c}=e;return c&&typeof c=="function"?c():""},changeStepper:c=>{o.value=c,n("changeStepper",c)}}}}),Yb={class:"fox-sku-stepper"},Xb={class:"fox-sku-stepper-title"},Qb=["innerHTML"],Gb={class:"fox-sku-stepper-count"};function vb(e,n,o,l,a,r){const s=t.resolveComponent("fox-inputnumber");return t.openBlock(),t.createElementBlock("view",Yb,[t.createElementVNode("view",Xb,t.toDisplayString(e.stepperTitle),1),t.createElementVNode("view",{class:"fox-sku-stepper-limit",innerHTML:e.getExtraText()},null,8,Qb),t.createElementVNode("view",Gb,[t.createVNode(s,{modelValue:e.goodsCount,"onUpdate:modelValue":n[0]||(n[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 Zb=j(Wb,[["render",vb]]),{componentName:K1,create:Jb}=K("sku-operate"),_b=Jb({props:{btnOptions:{type:Array,default:()=>["confirm"]},btnExtraText:{type:String,default:""},buyText:{type:String,default:"\u7ACB\u5373\u8D2D\u4E70"},addCartText:{type:String,default:"\u52A0\u5165\u8D2D\u7269\u8F66"},confirmText:{type:String,default:"\u786E\u5B9A"}},emits:["click","changeSku","changeBuyCount","clickBtnOperate"],setup(e,{emit:n,slots:o}){return{getBtnDesc:s=>({confirm:e.confirmText,cart:e.addCartText,buy:e.buyText})[s],clickBtnOperate:s=>{n("clickBtnOperate",s)},getSlots:s=>o[s]}}}),eC={key:0,class:"fox-sku-operate"},tC=["innerHTML"],nC={key:1,class:"fox-sku-operate-btn"},oC=["onClick"];function lC(e,n,o,l,a,r){return e.btnOptions.length>0?(t.openBlock(),t.createElementBlock("view",eC,[e.btnExtraText?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-sku-operate-desc",innerHTML:e.btnExtraText},null,8,tC)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"operate-btn"),e.getSlots("operate-btn")?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",nC,[(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,oC))),128))]))])):t.createCommentVNode("",!0)}const aC=j(_b,[["render",lC]]),{componentName:H1,create:rC,scope:sC}=K("sku"),iC=rC({props:{...Me,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:Pb,SkuSelect:xb,SkuStepper:Zb,SkuOperate:aC},setup(e,{emit:n,slots:o}){const{toLocaleRefs:l}=oe.useFoxI18n(sC),a=l(e,["confirmText","buyText","stepperTitle","addCartText"]),r=t.ref(e.visible),s=t.ref(e.stepperMin);t.watch(()=>e.visible,k=>{r.value=k}),t.watch(()=>r.value,k=>{k==!1&&g()}),t.onMounted(()=>{});const i=k=>o[k],c=k=>{n("selectSku",k)},u=k=>{s.value=k,n("changeStepper",k)},f=k=>{n("add",k)},m=k=>{n("reduce",k)},h=k=>{n("overLimit",k)},w=k=>{n("clickBtnOperate",{type:k,value:s.value})},y=k=>{k=="icon"&&n("click-close-icon"),k=="overlay"&&n("click-overlay"),k=="close"&&n("close"),r.value=!1},g=()=>{n("update:visible",!1)};return{...a,showPopup:r,closePopup:y,selectSku:c,changeStepper:u,stepperOverLimit:h,clickBtnOperate:w,add:f,reduce:m,getSlots:i}}}),cC={class:"fox-sku"},dC={class:"fox-sku-content"};function uC(e,n,o,l,a,r){const s=t.resolveComponent("sku-header"),i=t.resolveComponent("SkuSelect"),c=t.resolveComponent("sku-stepper"),u=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]=m=>e.showPopup=m),onClickCloseIcon:n[1]||(n[1]=m=>e.closePopup("icon")),onClickOverlay:n[2]||(n[2]=m=>e.closePopup("overlay")),onClose:n[3]||(n[3]=m=>e.closePopup("close")),style:{height:"75%"},isWrapTeleport:e.isWrapTeleport,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",cC,[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",dC,[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(u,{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 xa=j(iC,[["render",uC]]),{create:fC}=K("card"),mC=fC({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:a=>o[a]}}}),pC={class:"fox-card"},hC={class:"fox-card__left"},gC=["src"],yC={class:"fox-card__right"},kC={class:"fox-card__right__title"},SC={key:0,class:"fox-card__right__price"},bC={class:"fox-card__right__other"},CC={class:"fox-card__right__shop"},wC={class:"fox-card__right__shop__name"};function NC(e,n,o,l,a,r){const s=t.resolveComponent("fox-price"),i=t.resolveComponent("fox-tag");return t.openBlock(),t.createElementBlock("div",pC,[t.createElementVNode("div",hC,[t.createElementVNode("img",{src:e.imgUrl,alt:""},null,8,gC)]),t.createElementVNode("div",yC,[t.createElementVNode("div",kC,t.toDisplayString(e.title),1),t.renderSlot(e.$slots,"prolist"),e.isNeedPrice?(t.openBlock(),t.createElementBlock("div",SC,[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",bC,[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",CC,[t.createElementVNode("div",wC,t.toDisplayString(e.shopName),1),t.renderSlot(e.$slots,"footer")])])])}const ja=j(mC,[["render",NC]]),{componentName:x1,create:BC,scope:VC}=K("ecard"),AC=BC({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:"\xA5"}},emits:["inputChange","changeStep","inputClick","change","update:modelValue"],setup(e,{emit:n}){const{t:o}=oe.useFoxI18n(VC),l=t.ref(null),a=t.ref(null),r=t.ref(""),s=t.ref(e.cardAmountMin),i=t.ref(e.modelValue),c=(h,w)=>{l.value=w,s.value=e.cardAmountMin,a.value=h.price,n("change",h),n("update:modelValue",h.price)},u=h=>{let y=h.target.value.replace(/[^\d]/g,"");r.value=y,a.value=y,Number(y)>e.cardAmountMax&&(r.value=e.cardAmountMax,a.value=e.cardAmountMax),Number(y)<e.cardAmountMin&&(r.value=e.cardAmountMin,a.value=e.cardAmountMin),n("inputChange",Number(r.value)),n("update:modelValue",Number(r.value))},f=()=>{l.value="input",s.value=e.cardAmountMin,a.value=r.value,n("update:modelValue",r.value),n("inputClick")},m=h=>{s.value=h,n("changeStep",s.value,a.value)};return t.watch(()=>e.modelValue,h=>{i.value=h}),{handleClick:c,changeStep:m,change:u,inputClick:f,stepValue:s,currentIndex:l,inputValue:r,money:i,t:o}}}),EC={class:"fox-ecard"},TC={class:"fox-ecard__title"},$C={class:"fox-ecard__list"},DC=["onClick"],IC={class:"fox-ecard__list__input--con"},qC=["placeholder"],zC={class:"fox-ecard__list__step"};function MC(e,n,o,l,a,r){const s=t.resolveComponent("fox-inputnumber");return t.openBlock(),t.createElementBlock("view",EC,[t.createElementVNode("view",TC,t.toDisplayString(e.chooseText||e.t("chooseText")),1),t.createElementVNode("view",$C,[(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:u=>e.handleClick(i,c)},t.toDisplayString(i.price),11,DC))),128)),t.createElementVNode("view",{class:t.normalizeClass(["fox-ecard__list__input",e.currentIndex=="input"?"active":""]),onClick:n[2]||(n[2]=(...i)=>e.inputClick&&e.inputClick(...i))},[t.createElementVNode("view",null,t.toDisplayString(e.otherValueText||e.t("otherValueText")),1),t.createElementVNode("view",IC,[t.withDirectives(t.createElementVNode("input",{class:"fox-ecard__list__input--input",type:"text","onUpdate:modelValue":n[0]||(n[0]=i=>e.inputValue=i),onInput:n[1]||(n[1]=(...i)=>e.change&&e.change(...i)),placeholder:e.placeholder||e.t("placeholder")},null,40,qC),[[t.vModelText,e.inputValue]]),t.createTextVNode(" "+t.toDisplayString(e.suffix),1)])],2),t.createElementVNode("view",zC,[t.createElementVNode("view",null,t.toDisplayString(e.suffix)+t.toDisplayString(e.money),1),t.createVNode(s,{modelValue:e.stepValue,"onUpdate:modelValue":n[3]||(n[3]=i=>e.stepValue=i),min:e.cardBuyMin,max:e.cardBuyMax,onChange:e.changeStep},null,8,["modelValue","min","max","onChange"])])])])}const Wa=j(AC,[["render",MC]]),{componentName:j1,create:PC}=K("item-contents"),RC=PC({props:{name:{type:String,default:""},item:{type:Object,default:{}}},components:{},emits:["delIconClick","editIconClick","itemClick"],setup(e,{emit:n}){const{t:o}=oe.useFoxI18n();return{delClick:s=>{n("delIconClick",s,e.item),s.stopPropagation()},editClick:s=>{n("editIconClick",s,e.item),s.stopPropagation()},contentsClick:s=>{n("itemClick",s,e.item),s.stopPropagation()},t:o}}}),W1="",LC={class:"fox-item-contents__info"},OC={class:"fox-item-contents__info-contact"},FC={class:"fox-item-contents__info-contact-name"},UC={class:"fox-item-contents__info-contact-tel"},KC={key:0,class:"fox-item-contents__info-contact-default"},HC={class:"fox-item-contents__info-handle"},xC={class:"fox-item-contents__addr"};function jC(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",{class:"fox-item-contents__contain",onClick:n[0]||(n[0]=(...i)=>e.contentsClick&&e.contentsClick(...i))},[t.createElementVNode("div",LC,[t.createElementVNode("div",OC,[t.renderSlot(e.$slots,"contentTop",{},()=>[t.createElementVNode("div",FC,t.toDisplayString(e.item.addressName),1),t.createElementVNode("div",UC,t.toDisplayString(e.item.phone),1),e.item.defaultAddress?(t.openBlock(),t.createElementBlock("div",KC,t.toDisplayString(e.t("defaultText")),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",HC,[t.renderSlot(e.$slots,"contentIcon",{},()=>[t.createVNode(s,{name:"del",class:"fox-item-contents__info-handle-del",onClick:e.delClick},null,8,["onClick"]),t.createVNode(s,{name:"edit",class:"fox-item-contents__info-handle-edit",onClick:e.editClick},null,8,["onClick"])])])]),t.createElementVNode("div",xC,[t.renderSlot(e.$slots,"contentAddr",{},()=>[t.createTextVNode(t.toDisplayString(e.item.fullAddress),1)])])])}const Fn=j(RC,[["render",jC]]),{componentName:Y1,create:WC}=K("long-press-shell"),YC=WC({props:{item:{type:Object,default:{}}},emits:["holdingDown","handleDel","handelMask","handleCopy","handleSet","handleDelIcon","handleEditIcon","handleItemContent"],components:{ItemContents:Fn},setup(e,{emit:n,slots:o}){let l=null;const a=t.ref(!1),r=d=>{l=0,a.value=!0,n("holdingDown",d,e.item)};return{holddownstart:d=>{l=setTimeout(()=>{r(d)},300)},holddownmove:d=>{clearTimeout(l)},holddownend:d=>{clearTimeout(l)},showMaskRef:a,delClick:d=>{l!=0&&(n("handleDel",d,e.item),d.stopPropagation())},copyCLick:d=>{l!=0&&(n("handleCopy",d,e.item),d.stopPropagation())},hideMaskClick:d=>{a.value=!1},setDefault:d=>{l!=0&&(n("handleSet",d,e.item),d.stopPropagation())},maskClick:d=>{l!=0&&(a.value=!1),d.stopPropagation(),d.preventDefault()},delShellClick:(d,p)=>{n("handleDelIcon",d,e.item),d.stopPropagation()},editShellClick:(d,p)=>{n("handleEditIcon",d,e.item),d.stopPropagation()},itemShellClick:(d,p)=>{n("handleItemContent",d,e.item),d.stopPropagation()}}}}),XC={class:"fox-long-press-shell"},QC=[t.createElementVNode("div",{class:"mask-contain"},[t.createTextVNode("\u590D\u5236"),t.createElementVNode("br"),t.createTextVNode("\u5730\u5740")],-1)],GC=[t.createElementVNode("div",{class:"mask-contain"},[t.createTextVNode("\u8BBE\u7F6E"),t.createElementVNode("br"),t.createTextVNode("\u9ED8\u8BA4")],-1)],vC=[t.createElementVNode("div",{class:"mask-contain"},[t.createTextVNode("\u5220\u9664"),t.createElementVNode("br"),t.createTextVNode("\u5730\u5740")],-1)];function ZC(e,n,o,l,a,r){const s=t.resolveComponent("item-contents");return t.openBlock(),t.createElementBlock("div",XC,[t.createElementVNode("div",{class:"fox-long-press-shell__contain",onTouchstart:n[4]||(n[4]=(...i)=>e.holddownstart&&e.holddownstart(...i)),onTouchend:n[5]||(n[5]=(...i)=>e.holddownend&&e.holddownend(...i)),onTouchmove:n[6]||(n[6]=(...i)=>e.holddownmove&&e.holddownmove(...i))},[t.createVNode(s,{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]=(...i)=>e.maskClick&&e.maskClick(...i))},[t.renderSlot(e.$slots,"longpressAll",{},()=>[t.createElementVNode("div",{class:"fox-long-press-shell__contain-mask-copy",onClick:n[0]||(n[0]=(...i)=>e.copyCLick&&e.copyCLick(...i))},QC),t.createElementVNode("div",{class:"fox-long-press-shell__contain-mask-set",onClick:n[1]||(n[1]=(...i)=>e.setDefault&&e.setDefault(...i))},GC),t.createElementVNode("div",{class:"fox-long-press-shell__contain-mask-del",onClick:n[2]||(n[2]=(...i)=>e.delClick&&e.delClick(...i))},vC)])])):t.createCommentVNode("",!0)],32),e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-addresslist__mask-bottom",onClick:n[7]||(n[7]=(...i)=>e.hideMaskClick&&e.hideMaskClick(...i))})):t.createCommentVNode("",!0)])}const JC=j(YC,[["render",ZC]]),{componentName:v1,create:_C}=K("swipe-shell"),e0=_C({props:{item:{type:Object,default:{}}},emits:["handleDelIcon","handleEditIcon","handleItemContent","handelSwipeDel"],components:{ItemContents:Fn},setup(e,{emit:n,slots:o}){const l=t.ref(!1);return{delShellClick:(f,m)=>{n("handleDelIcon",f,e.item),f.stopPropagation()},editShellClick:(f,m)=>{n("handleEditIcon",f,e.item),f.stopPropagation()},itemShellClick:(f,m)=>{l.value||(n("handleItemContent",f,e.item),f.stopPropagation())},swipeDelClick:(f,m)=>{n("handelSwipeDel",f,e.item),f.stopPropagation()},swipestart:()=>{l.value=!1},swipemove:()=>{l.value=!0}}}}),t0={class:"fox-swipe-shell"};function n0(e,n,o,l,a,r){const s=t.resolveComponent("item-contents"),i=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(i,{shape:"square",style:{height:"100%"},type:"danger",onClick:e.swipeDelClick},{default:t.withCtx(()=>[t.createTextVNode("\u5220\u9664")]),_:1},8,["onClick"])])]),default:t.withCtx(()=>[t.createElementVNode("div",t0,[t.createVNode(s,{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 o0=j(e0,[["render",n0]]),{componentName:Z1,create:l0}=K("general-shell"),a0=l0({props:{item:{type:Object,default:{}}},emits:["handleDelIcon","handleEditIcon","handleItemContent","handelSwipeDel"],components:{ItemContents:Fn},setup(e,{emit:n,slots:o}){return{delShellClick:(i,c)=>{n("handleDelIcon",i,e.item),i.stopPropagation()},editShellClick:(i,c)=>{n("handleEditIcon",i,e.item),i.stopPropagation()},itemShellClick:(i,c)=>{n("handleItemContent",i,e.item),i.stopPropagation()},swipeDelClick:(i,c)=>{n("handelSwipeDel",i,e.item),i.stopPropagation()}}}}),r0={class:"fox-general-shell"};function s0(e,n,o,l,a,r){const s=t.resolveComponent("item-contents");return t.openBlock(),t.createElementBlock("div",r0,[t.createVNode(s,{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 i0=j(a0,[["render",s0]]),{componentName:J1,create:c0,scope:d0}=K("addresslist"),u0=c0({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:JC,SwipeShell:o0,GeneralShell:i0},emits:["handelDelIcon","handelEditIcon","handelItem","longPressCopyClick","longPressSetClick","longPressDelClick","swipeDelClick","addAddressClick"],setup(e,{emit:n}){const{t:o}=oe.useFoxI18n(d0),l=t.ref([]),a=t.reactive({id:2,addressName:"",phone:"",defaultAddress:!1,fullAddress:""}),r=()=>{Object.keys(e.dataMapOptions).length>0&&(l.value=e.data.map((y,g)=>to(a,y,e.dataMapOptions)))};t.watch(()=>e.data,()=>r(),{deep:!0});const s=(y,g)=>{n("handelDelIcon",y,g),y.stopPropagation()},i=(y,g)=>{n("handelEditIcon",y,g),y.stopPropagation()},c=(y,g)=>{n("handelItem",y,g),y.stopPropagation()},u=(y,g)=>{n("longPressCopyClick",y,g),y.stopPropagation()},f=(y,g)=>{n("longPressSetClick",y,g),y.stopPropagation()},m=(y,g)=>{n("longPressDelClick",y,g),y.stopPropagation()},h=(y,g)=>{n("swipeDelClick",y,g),y.stopPropagation()},w=y=>{n("addAddressClick",y),y.stopPropagation()};return t.onMounted(()=>{r()}),{clickDelIcon:s,clickEditIcon:i,clickContentItem:c,clickLongCopy:u,clickLongSet:f,clickLongDel:m,clickSwipeDel:h,addAddress:w,dataArray:l,t:o}}}),f0={class:"fox-addresslist"};function m0(e,n,o,l,a,r){const s=t.resolveComponent("general-shell"),i=t.resolveComponent("long-press-shell"),c=t.resolveComponent("swipe-shell"),u=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",f0,[!e.longPressEdition&&!e.swipeEdition?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.dataArray,(f,m)=>(t.openBlock(),t.createBlock(s,{key:"general"+m,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,m)=>(t.openBlock(),t.createBlock(i,{key:"longpress"+m,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,m)=>(t.openBlock(),t.createBlock(c,{key:"swipe"+m,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(u,{block:"",type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("addAddress")),1)]),_:1})])):t.createCommentVNode("",!0)])}const Ya=j(u0,[["render",m0]]),{componentName:_1,create:p0}=K("category"),h0=p0({props:{type:{type:String,default:"classify"},category:{type:Array,default:()=>[]}},setup(e,{emit:n,slots:o}){const l=t.ref(0),a=t.ref(!1),r=s=>{l.value=s,n("change",s)};return t.onMounted(()=>{}),{getChildList:r,checkIndex:l,categoryLeft:a}}}),g0={class:"fox-category"},y0={class:"fox-category__cateList"},k0={key:0},S0=["onClick"];function b0(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("div",g0,[t.createElementVNode("div",y0,[e.type=="classify"||e.type=="text"?(t.openBlock(),t.createElementBlock("div",k0,[(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,S0)]))),128))])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")])])}const Xa=j(h0,[["render",b0]]),{componentName:ew,create:C0}=K("categorypane"),w0=C0({props:{type:{type:String,default:"classify"},categoryChild:{type:Array,default:()=>[]},customCategory:{type:Array,default:()=>[]}},setup(e,{emit:n}){return{onChange:l=>{n("onChange",l)}}}}),N0={class:"fox-categorypane"},B0={key:0,class:"fox-categorypane__cateListRight"},V0={class:"fox-categorypane__childTitle"},A0={key:0,class:"fox-categorypane__childItemList"},E0=["onClick"],T0=["src"],$0={class:"fox-categorypane__skuImg"},D0={key:1,class:"fox-categorypane__cateListRight"},I0={class:"fox-categorypane__childTitle"},q0={key:0,class:"fox-categorypane__childItemList"},z0=["onClick"],M0={class:"fox-categorypane__skuName"},P0={key:2,class:"fox-categorypane__selfItemList"};function R0(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("div",N0,[e.type=="classify"?(t.openBlock(),t.createElementBlock("div",B0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",V0,t.toDisplayString(s.catName),1),s.catType==1?(t.openBlock(),t.createElementBlock("div",A0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,u)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-categorypane__childItem",key:u,onClick:f=>e.onChange(c)},[t.createElementVNode("img",{class:"fox-categorypane__childImg",src:c.backImg},null,8,T0),t.createElementVNode("div",$0,t.toDisplayString(c.catName),1)],8,E0))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="text"?(t.openBlock(),t.createElementBlock("div",D0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",I0,t.toDisplayString(s.catName),1),s.catType==1?(t.openBlock(),t.createElementBlock("div",q0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,u)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-categorypane__childItem",key:u,onClick:f=>e.onChange(c)},[t.createElementVNode("div",M0,t.toDisplayString(c.catName),1)],8,z0))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="custom"?(t.openBlock(),t.createElementBlock("div",P0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.customCategory,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-categorypane__skuName",key:i,onClick:n[0]||(n[0]=c=>e.onChange())},t.toDisplayString(s.catName),1))),128))])):t.createCommentVNode("",!0)])}const Qa=j(w0,[["render",R0]]),{componentName:tw,create:L0}=K("comment-header"),O0=L0({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")}}}}),F0={class:"fox-comment-header__user"},U0={class:"fox-comment-header__user-avter"},K0=["src"],H0={class:"fox-comment-header__user-score"},x0={key:0,class:"fox-comment-header__time"};function j0(e,n,o,l,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:n[1]||(n[1]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.createElementVNode("view",F0,[t.createElementVNode("view",U0,[e.info.avatar?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.info.avatar},null,8,K0)):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",H0,[t.createVNode(s,{modelValue:e.info.score,"onUpdate:modelValue":n[0]||(n[0]=i=>e.info.score=i),"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",x0,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":n[2]||(n[2]=i=>e.info.score=i),"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 W0=j(O0,[["render",j0]]),{componentName:nw,create:Y0}=K("comment-images"),X0=Y0({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),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:o,initIndex:l,showImages:(s,i)=>{const{videos:c,images:u}=e,f=s=="img"?i-c.length:i;n("clickImages",{type:s,index:f,value:s=="img"?u[f]:c[f]})},totalImages:a}}}),Q0=["onClick"],G0=["src"],v0=t.createElementVNode("view",{class:"fox-comment-images__play"},null,-1),Z0=["onClick"],J0=["src"],_0={key:0,class:"fox-comment-images__mask"};function e1(e,n,o,l,a,r){const s=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,(i,c)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-comment-images__item fox-comment-images__item--video",key:i.id,onClick:u=>e.showImages("video",c,c)},[t.createElementVNode("img",{src:i.mainUrl},null,8,G0),v0],8,Q0))),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:u=>e.showImages("img",c+e.videos.length)},[t.createElementVNode("img",{src:i.smallImgUrl?i.smallImgUrl:i.imgUrl},null,8,J0),e.type=="multi"&&e.totalImages.length>9&&e.videos.length+c>7?(t.openBlock(),t.createElementBlock("view",_0,[t.createElementVNode("span",null,"\u5171 "+t.toDisplayString(e.totalImages.length)+" \u5F20",1),t.createVNode(s,{name:"right",size:"12"})])):t.createCommentVNode("",!0)],8,Z0)):t.createCommentVNode("",!0)],64))),128))],2)}const t1=j(X0,[["render",e1]]),{componentName:ow,create:n1}=K("comment-bottom"),o1=n1({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}=oe.useFoxI18n("comment"),l=o(e,["complaintsText"]),a=t.ref(!1),r=t.ref([]);return t.onMounted(()=>{const c=["replay","like","more"];e.operation&&e.operation.forEach(u=>{c.includes(u)&&r.value.push(u)})}),{...l,showPopver:a,operate:c=>{c=="more"&&(a.value=!a.value),n("clickOperate",c)},mergeOp:r,handleClick:()=>{n("handleClick")}}}}),l1={class:"fox-comment-bottom"},a1={key:0},r1={class:"fox-comment-bottom__cpx"},s1=["onClick"];function i1(e,n,o,l,a,r){const s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",l1,[t.createElementVNode("view",{onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i)),class:"fox-comment-bottom__lable"},[e.type!="complex"?(t.openBlock(),t.createElementBlock("span",a1,t.toDisplayString(e.info.size),1)):t.createCommentVNode("",!0)]),t.createElementVNode("view",r1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeOp,(i,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-comment-bottom__cpx-item",`fox-comment-bottom__cpx-item--${i}`]),onClick:u=>e.operate(i)},[i!="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",null,t.toDisplayString(e.info[i]),1),t.createVNode(s,{name:i=="like"?"fabulous":"comment"},null,8,["name"])],64)):t.createCommentVNode("",!0),i=="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(s,{name:"more-x"}),e.showPopver?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-bottom__cpx-item-popover",onClick:n[1]||(n[1]=u=>e.operate("popover"))},t.toDisplayString(e.complaintsText),1)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],10,s1))),128))])])}const c1=j(o1,[["render",i1]]),{componentName:d1,create:u1,scope:f1}=K("comment"),m1=u1({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:W0,CommentImages:t1,CommentBottom:c1},emits:["click","clickImages","clickOperate"],setup(e,{emit:n}){const{t:o}=oe.useFoxI18n(f1),l=t.computed(()=>({[d1]:!0})),a=t.computed(()=>e.ellipsis?e.ellipsis:e.headerType=="complex"?6:2);return{classes:l,conEllipsis:a,clickOperate:c=>{n("clickOperate",c)},handleClick:()=>{n("click",e.info)},clickImages:c=>{n("clickImages",c)},t:o}}}),p1=["innerHTML"],h1={class:"fox-comment__follow-title"},g1={class:"fox-comment__follow-com"},y1={key:0,class:"fox-comment__follow-img"};function k1(e,n,o,l,a,r){const s=t.resolveComponent("comment-header"),i=t.resolveComponent("comment-images"),c=t.resolveComponent("fox-icon"),u=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:n[0]||(n[0]=(...f)=>e.handleClick&&e.handleClick(...f)),innerHTML:e.info.content.replace(/\n/g,"<br>")},null,12,p1),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:n[1]||(n[1]=(...f)=>e.handleClick&&e.handleClick(...f))},[t.createElementVNode("view",h1,[t.createVNode(c,{size:"14",name:"joy-smile"}),t.createTextVNode(t.toDisplayString(e.t("additionalReview",[e.follow.days])),1)]),t.createElementVNode("view",g1,t.toDisplayString(e.follow.content),1),e.follow.images&&e.follow.images.length>0?(t.openBlock(),t.createElementBlock("view",y1,[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(u,{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 Ga=j(m1,[["render",k1]]),S1=[fo,mo,po,ho,ko,Be,Co,wo,Vo,Do,Io,hn,xo,vo,sl,dl,Tn,fl,Dn,pl,hl,Dt,gl,Ye,yl,kl,ae,qt,pe,Sl,bl,Cl,wl,Bl,Vl,Tl,Dl,Il,ql,zl,Ml,Pl,Rl,Ll,Ol,Fl,Ul,Hl,xl,jl,Wl,Yl,Xl,kn,Vn,Nn,Ql,Gl,st,vl,Zl,Jl,_l,ea,ta,na,Ot,la,Pn,qn,kt,sa,ia,ca,da,ua,fa,ma,pa,ha,Ge,ga,ya,ve,Ze,$t,Ut,Ca,Na,Ba,Va,Aa,Ea,Ta,$a,Da,Ia,qa,za,Ma,Pa,Oa,Fa,Ua,Ka,Ha,xa,ja,Wa,Ya,Xa,Qa,Ga],b1=new yr(S1,"4.0.0");Object.defineProperty(R,"clone",{enumerable:!0,get:()=>X.clone}),Object.defineProperty(R,"extend",{enumerable:!0,get:()=>X.extend}),Object.defineProperty(R,"isArray",{enumerable:!0,get:()=>X.isArray}),Object.defineProperty(R,"isDate",{enumerable:!0,get:()=>X.isDate}),Object.defineProperty(R,"isESModule",{enumerable:!0,get:()=>X.isESModule}),Object.defineProperty(R,"isEqual",{enumerable:!0,get:()=>X.isEqual}),Object.defineProperty(R,"isFunction",{enumerable:!0,get:()=>X.isFunction}),Object.defineProperty(R,"isMap",{enumerable:!0,get:()=>X.isMap}),Object.defineProperty(R,"isObject",{enumerable:!0,get:()=>X.isObject}),Object.defineProperty(R,"isPlainObject",{enumerable:!0,get:()=>X.isPlainObject}),Object.defineProperty(R,"isPromise",{enumerable:!0,get:()=>X.isPromise}),Object.defineProperty(R,"isSet",{enumerable:!0,get:()=>X.isSet}),Object.defineProperty(R,"isString",{enumerable:!0,get:()=>X.isString}),Object.defineProperty(R,"isSymbol",{enumerable:!0,get:()=>X.isSymbol}),Object.defineProperty(R,"toBoolean",{enumerable:!0,get:()=>X.toBoolean}),Object.defineProperty(R,"toNumber",{enumerable:!0,get:()=>X.toNumber}),Object.defineProperty(R,"toTypeString",{enumerable:!0,get:()=>X.toTypeString}),R.ActionSheet=ea,R.Address=Pa,R.AddressList=Ya,R.Animate=qa,R.Audio=sa,R.AudioOperate=ia,R.Avatar=ca,R.AvatarGroup=da,R.BackTop=ta,R.Badge=Ba,R.Barrage=Oa,R.Button=Ye,R.Calendar=Vn,R.CalendarItem=dl,R.Card=ja,R.Cascader=kn,R.CascaderItem=vo,R.Category=Xa,R.CategoryPane=Qa,R.Cell=yl,R.CellGroup=kl,R.Checkbox=Dn,R.CheckboxItem=pl,R.CircleProgress=ma,R.Col=Cl,R.Collapse=Ta,R.CollapseItem=$a,R.Comment=Ga,R.Content=ho,R.CountDown=Na,R.CountUp=Ca,R.DateItem=sl,R.DatePicker=Nn,R.DateUtils=G,R.Dialog=Ot,R.Divider=Vl,R.Drag=na,R.Ecard=Wa,R.Elevator=Ll,R.Ellipsis=Ia,R.Empty=ha,R.FixedNav=ql,R.Footer=po,R.Grid=Tl,R.GridItem=Dl,R.Group=ko,R.Header=mo,R.Icon=ae,R.Image=Sl,R.ImagePreview=Ut,R.Indicator=Hl,R.InfiniteLoading=la,R.InputItem=Vo,R.InputNumber=Ql,R.Item=Be,R.Layout=bl,R.LinkItem=gl,R.List=ua,R.Menu=zl,R.MenuItem=Ml,R.MoneyItem=Do,R.Navbar=Il,R.NoticeBar=pa,R.Notify=Pn,R.NumberKeyboard=Jl,R.OverLay=qt,R.Page=fo,R.Pagination=Ol,R.Picker=st,R.PickerItem=xo,R.Popover=Aa,R.Popup=pe,R.Price=$t,R.Progress=fa,R.Radio=Tn,R.RadioItem=fl,R.Range=Yl,R.Rate=Gl,R.Row=wl,R.RowItem=Co,R.SearchBar=Xl,R.ShortPassword=vl,R.SideNavBar=xl,R.SideNavBarItem=jl,R.Signature=Fa,R.Skeleton=Ea,R.Sku=xa,R.SlotItem=wo,R.Step=ya,R.Steps=ga,R.Sticky=Bl,R.SubSideNavBar=Wl,R.Swipe=_l,R.Swiper=ve,R.SwiperItem=Ze,R.Switch=qn,R.SwitchItem=hl,R.TabPane=Ul,R.Tabbar=Pl,R.TabbarItem=Rl,R.Table=Da,R.Tabs=Fl,R.Tag=Va,R.Textarea=hn,R.TextareaItem=Io,R.TimeDetail=Ha,R.TimePannel=Ka,R.TimeSelect=Ua,R.Toast=kt,R.TrendArrow=Ma,R.UniqueID=dn,R.Uploader=Zl,R.Video=Ge,R.WaterMark=za,R.clearNonNumber=Zt,R.compareTo=Gt,R.debounce=ir,R.decimalLength=Zn,R.default=b1,R.divide=Qt,R.excludeProps=eo,R.floatData=to,R.hinttext=Dt,R.includeProps=he,R.indexOf=_n,R.integerLength=vn,R.isBrowser=Ue,R.isEmptyString=ke,R.isNumberString=Gn,R.isRegExp=Qn,R.lastIndexOf=Ja,R.multiply=Wn,R.negate=Yn,R.numberFormat=vt,R.raf=Pe,R.throttle=en,R.unNumberFormat=Xn,R.valueLength=ie,Object.defineProperties(R,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
13
|
+
`)}}});function dg(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)}const $l=te(cg,[["render",dg]]),{create:ug}=G("sticky"),fg=ug({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:n}){const a=t.ref(),o=t.ref(),l=t.reactive({fixed:!1,height:0,transform:0}),r=t.computed(()=>e.position==="top"?Number(e.top):Number(e.bottom)),s=t.computed(()=>l.fixed?{height:`${l.height}px`}:{}),i=t.computed(()=>l.fixed?{[e.position]:`${r.value}px`,transform:l.transform?`translate3d(0, ${l.transform}px, 0)`:void 0,position:l.fixed?"fixed":void 0,zIndex:Number(e.zIndex)}:{}),c=()=>{const f=e.container;if(!a.value&&!f)return;const p=qe(a),d=o.value,h=qe(d),S=qe(f);l.height=p.height;const y=()=>{let k=!1;if(e.position==="top")k=f?r.value>p.top&&S.bottom>0:r.value>p.top;else{const u=document.documentElement.clientHeight;k=f?S.bottom>0&&u-r.value-h.height>S.top:u-r.value<p.bottom}return k},b=()=>{if(f)if(e.position==="top"){const k=S.bottom-r.value-h.height;return k<0?k:0}else{const k=document.documentElement.clientHeight,u=S.bottom-(k-r.value);return u<0?u:0}return 0};l.transform=b(),l.fixed=y()};return t.watch(()=>l.fixed,f=>{n("change",f)}),t.onMounted(()=>{c(),il(a.value).addEventListener("scroll",c,!0)}),t.onUnmounted(()=>{il(a.value).removeEventListener("scroll",c)}),{rootRef:a,rootStyle:s,stickyRef:o,stickyStyle:i}}});function mg(e,n,a,o,l,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 Ft=te(fg,[["render",mg]]),{componentName:pg,create:hg}=G("divider"),gg=hg({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 o=pg;let l={[o]:!0},r={};return e.direction==="horizontal"?r={...l,[`${o}-center`]:n.slots.default,[`${o}-left`]:e.contentPosition==="left",[`${o}-right`]:e.contentPosition==="right",[`${o}-dashed`]:e.dashed,[`${o}-hairline`]:e.hairline}:r={...l,[`${o}-vertical`]:e.direction==="vertical"},r})}}});function yg(e,n,a,o,l,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 El=te(gg,[["render",yg]]);function bg(e,n){const a=[],o=l=>{Array.isArray(l)&&l.forEach(r=>{if(t.isVNode(r)){if(n){if(r.type&&r.type.name===n){a.push(r);return}}else a.push(r);r.component?.subTree&&o(r.component.subTree.children),r.children&&o(r.children)}})};return o(e),a}function kg(e,n,a){const o=bg(e.subTree.children,a);n.sort((l,r)=>o.indexOf(l.vnode)-o.indexOf(r.vnode))}function Sg(e,n){const a=t.shallowReactive([]),o=t.getCurrentInstance(),l=i=>{i.proxy&&(a.push(t.markRaw(i)),kg(o,a,n))},r=i=>{a.splice(a.indexOf(t.markRaw(i)),1)},s=Object.assign;return i=>(t.provide(e,s({add:l,remove:r,internalChildren:a},i)),{internalChildren:a})}const{componentName:xs}=G("grid"),qs=Symbol("grid"),Cg={props:{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}},setup(e,{slots:n}){Sg(qs,`${xs}-item`)({props:e});const a=t.computed(()=>{const l=xs;return{[l]:!0,[`${l}--border`]:e.border&&!e.gutter}}),o=t.computed(()=>{const l={};return e.gutter&&(l.paddingLeft=ge(e.gutter)),l});return()=>t.h("view",{class:a.value,style:o.value},n.default?.())}},{create:wg}=G("grid"),Dl=wg(Cg);function Ng(e){const n=t.inject(e,null);if(n){const a=t.getCurrentInstance(),{add:o,remove:l,internalChildren:r}=n;o(a),t.onUnmounted(()=>l(a));const s=t.computed(()=>r.indexOf(a));return{parent:n,index:s}}return{parent:null,index:t.ref(-1)}}const{create:Bg,componentName:vs}=G("grid-item"),Ag=Bg({props:{text:{type:String}},emits:["click"],setup(e,{emit:n}){const a=Ng(qs);if(!a.parent)return{};const o=a.index,l=a.parent.props,r=t.computed(()=>({[vs]:!0})),s=t.computed(()=>{const f={flexBasis:`${100/+l.columnNum}%`};return l.square?f.paddingTop=`${100/+l.columnNum}%`:l.gutter&&(f.paddingRight=ge(l.gutter),o.value>=l.columnNum&&(f.marginTop=ge(l.gutter))),f}),i=t.computed(()=>{const f=`${vs}__content`;return{[`${f}`]:!0,[`${f}--border`]:l.border,[`${f}--surround`]:l.border&&l.gutter,[`${f}--center`]:l.center,[`${f}--square`]:l.square,[`${f}--reverse`]:l.reverse,[`${f}--${l.direction}`]:!!l.direction,[`${f}--clickable`]:l.clickable}});return{rootClass:r,rootStyle:s,contentClass:i,handleClick:f=>{n("click",f)}}}}),Tg={class:"fox-grid-item__text"};function Vg(e,n,a,o,l,r){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)},[t.renderSlot(e.$slots,"default"),t.createElementVNode("view",Tg,[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 Il=te(Ag,[["render",Vg]]),{componentName:$g,create:Eg}=G("navbar"),Dg=Eg({components:{Left:oe.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:n}){const{border:a,fixed:o,safeAreaInsetTop:l,placeholder:r,zIndex:s}=t.toRefs(e),i=t.ref(null),c=t.ref(null);let f=t.ref();const p=t.computed(()=>{const k=$g;return{[k]:!0,[`${k}--border`]:a.value,[`${k}--fixed`]:o.value,[`${k}--safe-area-inset-top`]:l.value}}),d=t.computed(()=>({zIndex:s.value}));t.onMounted(()=>{o.value&&r.value&&t.nextTick(()=>{f.value=c?.value?.getBoundingClientRect().height,i.value.style.height=f.value+"px"})});function h(){n("on-click-back")}function S(){n("on-click-title")}function y(){n("on-click-icon")}function b(){n("on-click-right")}return{navBarWrap:i,navBarHtml:c,classes:p,styles:d,handleLeft:h,handleCenter:S,handleCenterIcon:y,handleRight:b}}}),Ig={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},xg={key:1,class:"fox-navbar__text"},qg={class:"fox-navbar__title"},vg={key:0,class:"fox-navbar__text"},Mg={key:1,class:"fox-navbar__text"},Pg={class:"fox-navbar__title"},Lg={key:0,class:"fox-navbar__text"};function zg(e,n,a,o,l,r){const s=t.resolveComponent("Left");return e.fixed&&e.placeholder?(t.openBlock(),t.createElementBlock("view",Ig,[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]=(...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",xg,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",qg,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:n[1]||(n[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:n[3]||(n[3]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[t.renderSlot(e.$slots,"title-icon",{onClick:n[2]||(n[2]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:n[4]||(n[4]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?(t.openBlock(),t.createElementBlock("view",vg,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[5]||(n[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",Mg,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",Pg,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:n[6]||(n[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:n[8]||(n[8]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[t.renderSlot(e.$slots,"title-icon",{onClick:n[7]||(n[7]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:n[9]||(n[9]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?(t.openBlock(),t.createElementBlock("view",Lg,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6))}const xl=te(Dg,[["render",zg]]),Fg=(e,n,a)=>({components:a,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}=ie.useFoxI18n(n),s=r(o,["activeText","unActiveText"]),i=t.computed(()=>({[e]:!0,active:o.visible,[o.type]:!0})),c=t.ref(-1);return{...s,classes:i,updateValue:(d=!o.visible)=>{l("update:visible",d)},selected:(d,h)=>{l("selected",{item:d,event:h}),c.value=d.id},current:c}}}),{componentName:Rg,create:Og,scope:Kg}=G("fixednav"),Ug=Og(Fg(Rg,Kg,{[st.name]:st,Left:oe.Left})),Hg={class:"fox-fixednav__list"},jg=["onClick"],Wg=["src"],Yg={class:"span"},Xg={key:0,class:"b"},Qg={class:"text"};function Gg(e,n,a,o,l,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:n[0]||(n[0]=c=>e.updateValue(!1))},null,8,["visible"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"list",{},()=>[t.createElementVNode("view",Hg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.navList,(c,f)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-fixednav__list-item",{active:c.id==e.current}]),onClick:p=>e.selected(c,p),key:c.id||f},[t.createElementVNode("img",{src:c.icon},null,8,Wg),t.createElementVNode("view",Yg,t.toDisplayString(c.text),1),c.num?(t.openBlock(),t.createElementBlock("view",Xg,t.toDisplayString(c.num),1)):t.createCommentVNode("",!0)],10,jg))),128))])]),t.createElementVNode("div",{class:"fox-fixednav__btn",onClick:n[1]||(n[1]=c=>e.updateValue())},[t.renderSlot(e.$slots,"btn",{},()=>[t.createVNode(i,{color:"#fff"}),t.createElementVNode("view",Qg,t.toDisplayString(e.visible?e.activeText:e.unActiveText),1)])])],6)}const ql=te(Ug,[["render",Gg]]),{componentName:Zg,create:Jg}=G("menu"),_g=Jg({components:{ArrowUp2:oe.ArrowUp2,ArrowDown2:oe.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:n,slots:a}){const o=t.ref(),l=t.ref(0),r=t.ref(!1),s=()=>{const k=t.reactive([]),u=t.reactive([]);return{children:k,linkChildren:g=>{const C=w=>{w.proxy&&(u.push(w),k.push(w.proxy))},A=w=>{if(w.proxy){let B=u.indexOf(w);B>-1&&u.splice(B,1);let T=k.indexOf(w.proxy);B>-1&&k.splice(T,1)}};t.provide("menuParent",Object.assign({removeLink:A,link:C,children:k,internalChildren:u},g))}}},{children:i,linkChildren:c}=s(),f=t.computed(()=>i.some(k=>k.state.showWrapper)),p=t.computed(()=>({[Zg]:!0,"scroll-fixed":r.value})),d=()=>{if(o.value){const k=qe(o);e.direction==="down"?l.value=k.bottom:l.value=window.innerHeight-k.top}};c({props:e,offset:l});const h=k=>{i.forEach((u,m)=>{m===k?(d(),u.toggle()):u.state.showPopup&&u.toggle(!1,{immediate:!0})})},S=k=>Math.max(0,"scrollTop"in k?k.scrollTop:k.pageYOffset),y=()=>{const{scrollFixed:k}=e,u=S(window);r.value=u>(typeof k=="boolean"?30:Number(k))},b=k=>{let u="";const{titleClass:m}=e;return k&&(u+="active"),m&&(u+=` ${m}`),u};return t.onMounted(()=>{const{scrollFixed:k}=e;k&&window.addEventListener("scroll",y)}),t.onUnmounted(()=>{const{scrollFixed:k}=e;k&&window.removeEventListener("scroll",y)}),{toggleItem:h,children:i,opened:f,classes:p,barRef:o,getClasses:b}}}),ey=["onClick"],ty={class:"fox-menu__title-text"},ny={class:"fox-menu__title-icon"};function oy(e,n,a,o,l,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,f)=>(t.openBlock(),t.createElementBlock("view",{key:f,class:t.normalizeClass(["fox-menu__item",{disabled:c.disabled,active:c.state.showPopup}]),onClick:p=>!c.disabled&&e.toggleItem(f),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",ty,t.toDisplayString(c.renderTitle()),1),t.createElementVNode("span",ny,[t.renderSlot(e.$slots,"icon",{},()=>[e.direction==="up"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))])])],2)],14,ey))),128))],2),t.renderSlot(e.$slots,"default")],2)}const vl=te(_g,[["render",oy]]),{componentName:ly,create:ay}=G("menu-item"),ry=ay({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:{[fe.name]:fe,Check:oe.Check},emits:["update:modelValue","change","open","close"],setup(e,{emit:n,slots:a}){const o=t.reactive({showPopup:!1,transition:!0,showWrapper:!1,isShowPlaceholderElement:!1}),l=()=>{const S=t.inject("menuParent",null);if(S){const y=t.getCurrentInstance(),{link:b,removeLink:k}=S;return b(y),t.onUnmounted(()=>{k(y)}),{parent:S}}},{parent:r}=l(),s=t.computed(()=>({[ly]:!0})),i=t.computed(()=>{const S={height:r.offset.value+"px"};return r.props.direction==="down"?S:{...S,top:"auto"}});return{classes:s,placeholderElementStyle:i,renderTitle:()=>{if(e.title)return e.title;const S=e.options?.find(y=>y.value===e.modelValue);return S?S.text:""},state:o,parent:r,toggle:(S=!o.showPopup,y={})=>{S!==o.showPopup&&(o.showPopup=S,o.isShowPlaceholderElement=S,S&&(o.showWrapper=!0,n("open")))},onClick:S=>{o.showPopup=!1,o.isShowPlaceholderElement=!1,S.value!==e.modelValue&&(n("update:modelValue",S.value),n("change",S.value))},handleClose:()=>{n("close"),o.showWrapper=!1,o.isShowPlaceholderElement=!1},handleClickOutside:()=>{o.showPopup=!1,n("close")}}}}),sy={class:"fox-menu-item__content fox-menu-item__overflow"},iy=["onClick"];function cy(e,n,a,o,l,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:n[0]||(n[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":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","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",sy,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.options,(c,f)=>(t.openBlock(),t.createElementBlock("view",{key:f,class:t.normalizeClass(["fox-menu-item__option",[{active:c.value===e.modelValue}]]),style:t.normalizeStyle({"flex-basis":100/e.cols+"%"}),onClick:p=>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({ref_for:!0},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,iy))),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 Ml=te(ry,[["render",cy]]),{create:dy}=G("tabbar"),uy=dy({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,n){function a(l){o.value!==l&&(o.value=l,n.emit("update:modelValue",l),n.emit("change",l,o.children[l]))}const o=t.reactive({children:[],size:e.size,value:e.modelValue,inactiveColor:e.inactiveColor,activeColor:e.activeColor,changeIndex:a});return t.provide("parent",o),t.watch(()=>e.modelValue,l=>{o.value=l}),{changeIndex:a}}});function fy(e,n,a,o,l,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 Pl=te(uy,[["render",fy]]),{create:my}=G("tabbar-item"),py=my({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,n){const a=t.inject("parent"),o=t.reactive({size:a.size,inactiveColor:a.inactiveColor,activeColor:a.activeColor,value:a.value,index:0}),l=t.getCurrentInstance();l!==null&&(f=>{if(f.proxy){let p=a.children.length;o.index=p;let d=Object.assign(f.proxy,{index:p});a.children.push(d)}})(l);const r=t.computed(()=>o.index===o.value);function s(c){a&&typeof a.changeIndex=="function"&&a.changeIndex(c)}const i=t.computed(()=>a?a.value:null);return t.watch(i,c=>{o.value=c}),{state:o,active:r,change:s}}}),hy={class:"fox-tabbar-item_icon-box"},gy={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},yy={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},by={key:1,class:"fox-tabbar-item_icon-box_dot"},ky={key:2},Sy={key:0};function Cy(e,n,a,o,l,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:n[0]||(n[0]=s=>e.change(e.state.index))},[t.createElementVNode("view",hy,[e.dot?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.num&&e.num<=99?(t.openBlock(),t.createElementBlock("view",gy,t.toDisplayString(e.num),1)):e.num&&e.num>100?(t.openBlock(),t.createElementBlock("view",yy,t.toDisplayString("99+"))):t.createCommentVNode("",!0)],64)),e.dot?(t.openBlock(),t.createElementBlock("div",by)):t.createCommentVNode("",!0),e.icon?(t.openBlock(),t.createElementBlock("view",ky,[(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",Sy,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.title?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"default",{key:1})],2)])],6)}const Ll=te(py,[["render",Cy]]),{componentName:wy,create:Ny}=G("elevator"),By=Ny({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,n){const a=t.ref(null),o=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}),l=t.computed(()=>({[wy]:!0})),r=t.computed(()=>({transform:`translate3d(0, ${o.scrollY+o.fixedTop}px, 0)`})),s=t.computed(()=>a.value.clientHeight),i=(u,m)=>u.getAttribute("data-"+m),c=u=>{t.nextTick(()=>{!o.listGroup.includes(u)&&u!=null&&o.listGroup.push(u)})},f=()=>{let u=0;o.listHeight.push(u);for(let m=0;m<o.listGroup.length;m++){let g=o.listGroup[m];u+=Math.floor(g.clientHeight),o.listHeight.push(u)}},p=u=>{!u&&u!==0||(u<0&&(u=0),u>o.listHeight.length-2&&(u=o.listHeight.length-2),o.codeIndex=u,a.value.scrollTo(0,o.listHeight[u]))},d=u=>{o.scrollStart=!0;let m=i(u.target,"index"),g=u.touches[0];o.touchState.y1=g.pageY,o.anchorIndex=+m,o.codeIndex=+m,p(+m)},h=u=>{let m=u.touches[0];o.touchState.y2=m.pageY;let g=(o.touchState.y2-o.touchState.y1)/e.spaceHeight|0;o.codeIndex=o.anchorIndex+g,p(o.codeIndex)},S=()=>{o.scrollStart=!1},y=(u,m)=>{n.emit("click-item",u,m),o.currentData=m,o.currentKey=u},b=u=>{n.emit("click-index",u)},k=u=>{let g=u.target.scrollTop;const C=o.listHeight;o.scrollY=g;for(let A=0;A<C.length-1;A++){let w=C[A],B=C[A+1];if(o.scrollY>=w&&o.scrollY<B){o.currentIndex=A,o.diff=B-o.scrollY;return}}o.currentIndex=C.length-2};return t.onMounted(()=>{a.value.addEventListener("scroll",k)}),xe({scrollTo:p}),t.watch(()=>o.listGroup.length,()=>{o.listHeight=[],t.nextTick(f)}),t.watch(()=>o.diff,u=>{const m=o.listHeight;let g=u>0&&u<e.titleHeight?u-e.titleHeight:0;o.scrollY+s.value===m[m.length-1]&&g!==0&&(g=0),o.fixedTop!==g&&(o.fixedTop=g)}),t.watch(()=>o.currentIndex,u=>{n.emit("change",u)}),{classes:l,...t.toRefs(o),fixedStyle:r,clientHeight:s,setListGroup:c,listview:a,touchStart:d,touchMove:h,touchEnd:S,handleClickItem:y,handleClickIndex:b}}}),Ay={class:"fox-elevator__list__item__code"},Ty=["onClick"],Vy=["innerHTML"],$y={class:"fox-elevator__fixed-title"},Ey={class:"fox-elevator__bars__inner"},Dy=["data-index","onClick"];function Iy(e,n,a,o,l,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",Ay,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,Vy))],10,Ty))),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",$y,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]=(...s)=>e.touchStart&&e.touchStart(...s)),onTouchmove:n[1]||(n[1]=t.withModifiers((...s)=>e.touchMove&&e.touchMove(...s),["stop","prevent"])),onTouchend:n[2]||(n[2]=(...s)=>e.touchEnd&&e.touchEnd(...s))},[t.createElementVNode("view",Ey,[(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,Dy))),128))])],32)],2)}const Rt=te(By,[["render",Iy]]),{componentName:bA,create:xy,scope:qy}=G("pagination"),vy=xy({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:a}=ie.useFoxI18n(qy),o=a(e,["prevText","nextText"]),{modelValue:l,mode:r,showPageSize:s,forceEllipses:i}=t.toRefs(e),c=t.computed(()=>{const{pageCount:h,totalItems:S,itemsPerPage:y}=t.toRefs(e),b=+h.value||Math.ceil(+S.value/+y.value);return Math.max(1,b)}),f=(h,S)=>{h>c.value||h<1||(h!=l.value&&n("update:modelValue",h),S&&n("change",h))},p=(h,S,y=!1)=>({number:h,text:S,active:y}),d=t.computed(()=>{if(r.value=="simple")return;let h=[];const S=c.value,y=+s.value;let b=1,k=S;const u=S>y;u&&(b=Math.max(l.value-Math.floor(y/2),1),k=b+y-1,k>S&&(k=S,b=k-y+1));for(var m=b;m<=k;m++){const g=p(m,m,l.value==m);h.push(g)}if(u&&y>0&&i.value){if(b>1){const g=p(b-1,"...");h.unshift(g)}if(k<S){const g=p(k+1,"...");h.push(g)}}return h});return t.watchEffect(()=>{f(l.value,!1)}),{...o,modelValue:l,select:f,countRef:c,mode:r,pages:d,forceEllipses:i}}}),My={class:"fox-pagination"},Py={key:0,class:"fox-pagination-contain"},Ly=["onClick"],zy={key:1,class:"fox-pagination-contain"},Fy={class:"fox-pagination-simple"};function Ry(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",My,[t.createElementVNode("view",{class:t.normalizeClass(["fox-pagination-prev",e.mode=="multi"?"":"simple-border",e.modelValue==1?"disabled":""]),onClick:n[0]||(n[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",Py,[(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,Ly))),128))])):t.createCommentVNode("",!0),e.mode=="simple"?(t.openBlock(),t.createElementBlock("view",zy,[t.createElementVNode("view",Fy,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]=s=>e.select(e.modelValue+1,!0))},[t.renderSlot(e.$slots,"next-text",{},()=>[t.createTextVNode(t.toDisplayString(e.nextText),1)])],2)])}const zl=te(vy,[["render",Ry]]),Oy=(e,n,a,o)=>{const l=t.ref(),r=t.ref({width:0,height:0}),s=async()=>{if(a&&a.getEnv()!==a.ENV_TYPE.WEB){let h=await o(l,a);r.value.width=h.width||0,r.value.height=h.height||0}else r.value.width=l.value?.clientWidth||0,r.value.height=l.value?.clientHeight||0};t.onMounted(()=>{setTimeout(()=>{s()},100)});const i=t.reactive({offset:0,moving:!1}),c=_e();let f="";const p=(h,S)=>{let y=h;switch(e.direction=="horizontal"?(f=h>0?"right":"left",y=Math.abs(y)/r.value.width*100):(f=S>0?"bottom":"top",y=S,y=Math.abs(y)/r.value?.height*100),y>85&&(y=85),f){case"left":case"top":n.isEnd()&&(y=0,i.moving=!1);break;case"right":case"bottom":y=-y,n.isBegin()&&(y=0,i.moving=!1);break}i.offset=y};return{touchMethods:{onTouchStart(h){e.swipeable&&c.start(h)},onTouchMove(h){e.swipeable&&(c.move(h),i.moving=!0,p(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,f){case"left":case"top":i.offset>35&&n.next();break;case"right":case"bottom":i.offset<-35&&n.prev();break}}},touchState:i,tabsContentRef:l}};class Ky{title="";titleSlot;paneKey="";disabled=!1;constructor(){}}const{create:Uy}=G("tabs"),Hy=Uy({components:{[Ft.name]:Ft,JoySmile:oe.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:n,slots:a}){const o=t.ref(null);let l;t.provide("tabsOpiton",{activeKey:t.computed(()=>e.modelValue||"0"),autoHeight:t.computed(()=>e.autoHeight),animatedTime:t.computed(()=>e.animatedTime)});const r=t.ref([]),s=E=>{E.forEach(($,x)=>{let P=$.type;if(P=P.name||P,P=="fox-tab-pane"){let D=new Ky;if($.props?.title||$.props?.["pane-key"]||$.props?.paneKey){let I=lt($.props?.["pane-key"]),R=I=="number"||I=="string"?String($.props?.["pane-key"]):null,v=lt($.props?.paneKey),W=v=="number"||v=="string"?String($.props?.paneKey):null;D.title=$.props?.title,D.paneKey=R||W||String(x),D.disabled=$.props?.disabled}r.value.push(D)}else{if($.children==" ")return;Array.isArray($.children)&&s($.children)}})},i=t.ref(e.modelValue||0),c=E=>{let $=r.value.findIndex(x=>x.paneKey==E);r.value.length==0||$==-1||(i.value=$)},f=t.computed(()=>e.titleScroll&&e.direction==="vertical"),p=t.ref(),d=t.ref([]),h=E=>{const $=p.value,x=d.value;if(!$||!x||!x[i.value])return;const P=x[i.value];let D=0;e.direction==="vertical"?D=P.offsetTop-$.offsetTop+10-($.offsetHeight-P.offsetHeight)/2:D=P.offsetLeft-($.offsetWidth-P.offsetWidth)/2,S($,D,E?0:.3,e.direction)},S=(E,$,x,P)=>{let D=0;const I=P==="horizontal"?E.scrollLeft:E.scrollTop,R=x===0?1:Math.round(x*1e3/16);function v(){P==="horizontal"?E.scrollLeft+=($-I)/R:E.scrollTop+=($-I)/R,++D<R&&Ke(v)}v()},y=(E=a.default?.())=>{r.value=[],E=E?.filter($=>typeof $.children!="string"),E&&E.length&&s(E),c(e.modelValue),t.nextTick(()=>{h()})},b=E=>{l=E.fixed};t.watch(()=>a.default?.(),E=>{y(E)});const k=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;t.watch(()=>e.modelValue,E=>{if(c(E),h(),l){let $=qe(o.value).top+k(),x=Math.ceil($-e.top);window.scrollTo({top:x,behavior:"smooth"})}}),t.onMounted(y),t.onActivated(y);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:E=>{n("update:modelValue",E.paneKey),n("change",E)},tabChange:(E,$)=>{n("click",E),!(E.disabled||i.value==$)&&(i.value=$,u.updateValue(E))},setTabItemRef:(E,$)=>{d.value[$]=E}},{tabsContentRef:m,touchState:g,touchMethods:C}=Oy(e,u),A=t.computed(()=>{let E=i.value*100;g.moving&&(E+=g.offset);let $={transform:e.direction=="horizontal"?`translate3d(-${E}%, 0, 0)`:`translate3d( 0,-${E}%, 0)`,transitionDuration:g.moving?void 0:`${e.animatedTime}ms`};return e.animatedTime==0&&($={}),$}),w=t.computed(()=>({background:e.background})),B=t.computed(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),T=t.computed(()=>{if(!e.titleGutter)return{};const E=ge(e.titleGutter);return e.direction==="vertical"?{marginTop:E,marginBottom:E}:{marginLeft:E,marginRight:E}}),V=t.computed(()=>a.fixedTitle);return{navRef:p,tabsContentRef:m,titles:r,contentStyle:A,tabsNavStyle:w,titleStyle:T,tabsActiveStyle:B,container:o,getScrollY:f,onStickyScroll:b,...u,...C,hasFixedTitle:V}}}),jy=["onClick"],Wy={key:0,class:"fox-tabs__titles-fixed-item"},Yy=["onClick"],Xy={key:0,class:"fox-tabs__titles-fixed-item"};function Qy(e,n,a,o,l,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(),t.createElementBlock(t.Fragment,{key:1},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.titles,(c,f)=>(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:p=>e.tabChange(c,f),key:c.paneKey},[t.renderSlot(e.$slots,"title",{title:c.title,paneKey: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,jy))),128)),e.hasFixedTitle?(t.openBlock(),t.createElementBlock("view",Wy,[t.renderSlot(e.$slots,"fixedTitle")])):t.createCommentVNode("",!0)],64))],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(),t.createElementBlock(t.Fragment,{key:1},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.titles,(c,f)=>(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:p=>e.tabChange(c,f),key:c.paneKey,ref_for:!0,ref:p=>e.setTabItemRef(p,f)},[t.renderSlot(e.$slots,"title",{title:c.title,paneKey: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,Yy))),128)),e.hasFixedTitle?(t.openBlock(),t.createElementBlock("view",Xy,[t.renderSlot(e.$slots,"fixedTitle")])):t.createCommentVNode("",!0)],64))],6)),t.createElementVNode("view",{class:"fox-tabs__content",ref:"tabsContentRef",style:t.normalizeStyle(e.contentStyle),onTouchstart:n[0]||(n[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:n[1]||(n[1]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:n[2]||(n[2]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:n[3]||(n[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[t.renderSlot(e.$slots,"default")],36)],2)}const Fl=te(Hy,[["render",Qy]]),{create:Gy}=G("tab-pane"),Zy=Gy({props:{title:{type:[String,Number],default:""},paneKey:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:n}){const a=t.inject("tabsOpiton"),o=t.computed(()=>({display:a.animatedTime.value==0&&e.paneKey!=a.activeKey.value?"none":void 0}));return{...a,paneStyle:o}}});function Jy(e,n,a,o,l,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 Rl=te(Zy,[["render",Jy]]),{componentName:Ms,create:_y}=G("indicator"),e0=_y({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:a}=t.toRefs(e);return{classes:t.computed(()=>{const l=Ms;return{[l]:!0,[`${l}--block`]:n.value,[`${l}--align__${a.value}`]:n.value&&a.value}}),componentName:Ms,padZero:at}}});function t0(e,n,a,o,l,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 Ol=te(e0,[["render",t0]]),{componentName:n0,create:o0}=G("side-navbar"),l0=o0({props:{offset:{type:[String,Number],default:15}},emits:[],setup:e=>{const n=t.ref(null),a=t.reactive({count:1,observer:null}),o=t.computed(()=>({[n0]:!0})),l=(s,i=1)=>{for(let c=0;c<s.length;c++){let f=s[c];f?.children?.[0]&&(f.children[0].style.paddingLeft=+e.offset*i+"px",f.className.includes("fox-side-navbar-item")||l(Array.from(f.children[1].children),++a.count))}a.count--},r=()=>{let s=n.value.childNodes;s.length&&(s=Array.from(s).filter(i=>i.nodeType!==3).map(i=>i),l(s))};return t.onMounted(()=>{r(),a.observer=new MutationObserver(function(){a.count=1,r()}),a.observer.observe(n.value,{attributes:!1,childList:!0,characterData:!1,subtree:!0})}),{...t.toRefs(a),list:n,classes:o}}}),a0={class:"fox-side-navbar__content"},r0={class:"fox-side-navbar__content__list",ref:"list"};function s0(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",a0,[t.createElementVNode("view",r0,[t.renderSlot(e.$slots,"default")],512)])],2)}const Kl=te(l0,[["render",s0]]),{componentName:i0,create:c0}=G("side-navbar-item"),d0=c0({props:{title:{type:String,default:""},ikey:{type:String,default:""}},emits:["click"],setup:(e,n)=>({classes:t.computed(()=>({[i0]:!0})),handleClick:()=>{n.emit("click")}})}),u0=["ikey"],f0={class:"fox-side-navbar-item__title"};function m0(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=t.withModifiers((...s)=>e.handleClick&&e.handleClick(...s),["stop"])),ikey:e.ikey},[t.createElementVNode("span",f0,t.toDisplayString(e.title),1)],10,u0)}const Ul=te(d0,[["render",m0]]),{componentName:p0,create:h0}=G("sub-side-navbar"),g0=h0({props:{title:{type:String,default:""},ikey:{type:[String,Number],default:""},open:{type:Boolean,default:!0}},components:{ArrowDown2:oe.ArrowDown2,ArrowUp2:oe.ArrowUp2},emits:["title-click"],setup:(e,n)=>{const a=t.reactive({direction:""}),o=t.computed(()=>({[p0]:!0})),l=t.computed(()=>({height:a.direction?"0px":"auto"})),r=()=>{n.emit("title-click"),a.direction=a.direction?"":"up"};return t.onMounted(()=>{a.direction=e.open?"":"up"}),{...t.toRefs(a),classes:o,style:l,handleClick:r}}}),y0=["ikey"],b0={class:"fox-sub-side-navbar__title__text"},k0={class:"fox-sub-side-navbar__title__icon"};function S0(e,n,a,o,l,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:n[0]||(n[0]=t.withModifiers((...c)=>e.handleClick&&e.handleClick(...c),["stop"]))},[t.createElementVNode("span",b0,t.toDisplayString(e.title),1),t.createElementVNode("span",k0,[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,y0)}const Hl=te(g0,[["render",S0]]),{componentName:C0,create:w0}=G("range"),N0=w0({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}){const a=t.ref(0);let o,l;const r=t.ref(),s=t.ref(),i=_e(),c=t.computed(()=>{const{marks:D,max:I,min:R}=e;return Object.keys(D).map(parseFloat).sort((H,J)=>H-J).filter(H=>H>=R&&H<=I)}),f=t.computed(()=>Number(e.max)-Number(e.min)),p=t.computed(()=>{const D=C0;return{[D]:!0,[`${D}-disabled`]:e.disabled,[`${D}-vertical`]:e.vertical,[`${D}-show-number`]:!e.hiddenRange}}),d=t.computed(()=>{const D="fox-range-container";return{[D]:!0,[`${D}-vertical`]:e.vertical}}),h=t.computed(()=>({background:e.inactiveColor})),S=t.computed(()=>({borderColor:e.buttonColor})),y=D=>!!e.range&&Array.isArray(D),b=()=>{const{modelValue:D,min:I}=e;return y(D)?`${(D[1]-D[0])*100/f.value}%`:`${(D-Number(I))*100/f.value}%`},k=()=>{const{modelValue:D,min:I}=e;return y(D)?`${(D[0]-Number(I))*100/f.value}%`:"0%"},u=t.computed(()=>e.vertical?{height:b(),top:k(),background:e.activeColor,transition:s.value?"none":void 0}:{width:b(),left:k(),background:e.activeColor,transition:s.value?"none":void 0}),m=D=>{const I="fox-range-mark",{modelValue:R,max:v,min:W}=e;let H=Number(W),J=Number(v);if(e.range){const[Y,M]=R;H=Y,J=M}else J=R;let ee=D<=J&&D>=H;return{[`${I}-text`]:!0,[`${I}-text-active`]:ee}},g=D=>{const{min:I,vertical:R}=e;let v={left:`${(D-Number(I))/f.value*100}%`};return R&&(v={top:`${(D-Number(I))/f.value*100}%`}),v},C=D=>{const{modelValue:I,max:R,min:v}=e;let W=Number(v),H=Number(R);if(e.range){const[Y,M]=I;W=Y,H=M}return{background:D<=H&&D>=W?e.activeColor:e.inactiveColor}},A=D=>{const{min:I,max:R,step:v}=e;return D=Math.max(+I,Math.min(D,+R)),Math.round(D/+v)*+v},w=(D,I)=>JSON.stringify(D)===JSON.stringify(I),B=D=>D[0]>D[1]?D.slice(0).reverse():D,T=(D,I)=>{y(D)?D=B(D).map(A):D=A(D),w(D,e.modelValue)||n("update:modelValue",D),I&&!w(D,o)&&n("change",D)},V=D=>{if(e.disabled)return;const{min:I,modelValue:R}=e,v=qe(r);let W=D.clientX-v.left,H=v.width;e.vertical&&(W=D.clientY-v.top,H=v.height);const J=Number(I)+W/H*f.value;if(y(R)){const[ee,Y]=R,M=(ee+Y)/2;J<=M?T([J,Y],!0):T([ee,J],!0)}else T(J,!0)},E=D=>{e.disabled||(i.start(D),l=e.modelValue,y(l)?o=l.map(A):o=A(l),s.value="start")},$=D=>{if(e.disabled)return;s.value==="start"&&n("drag-start"),i.move(D),s.value="draging";const I=qe(r);let R=i.deltaX.value,v=I.width,W=R/v*f.value;e.vertical&&(R=i.deltaY.value,v=I.height,W=R/v*f.value),y(o)?l[a.value]=o[a.value]+W:l=o+W,T(l),D.stopPropagation(),D.preventDefault()},x=()=>{e.disabled||(s.value==="draging"&&(T(l,!0),n("drag-end")),s.value="")},P=D=>on(e.modelValue)&&typeof D=="number"?e.modelValue[D]:Number(e.modelValue);return{root:r,classes:p,wrapperStyle:h,buttonStyle:S,onClick:V,onTouchStart:E,onTouchMove:$,onTouchEnd:x,...t.toRefs(e),barStyle:u,curValue:P,buttonIndex:a,containerClasses:d,markClassName:m,marksStyle:g,marksList:c,tickStyle:C}}}),B0={key:0,class:"fox-range-min"},A0={key:0,class:"fox-range-mark"},T0=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],V0={key:0,class:"number"},$0=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],E0={key:0,class:"number"},D0={key:1,class:"fox-range-max"};function I0(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.containerClasses)},[e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",B0,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((...s)=>e.onClick&&e.onClick(...s),["stop"]))},[e.marksList.length>0?(t.openBlock(),t.createElementBlock("view",A0,[(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:n[0]||(n[0]=t.withModifiers((...i)=>e.onTouchMove&&e.onTouchMove(...i),["stop","prevent"])),onTouchend:n[1]||(n[1]=t.withModifiers((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onTouchcancel:n[2]||(n[2]=t.withModifiers((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onClick:n[3]||(n[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",V0,t.toDisplayString(e.curValue(s)),1))],4))],42,T0)),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(s=>{e.onTouchStart(s)},["stop","prevent"])),onTouchmove:n[5]||(n[5]=t.withModifiers((...s)=>e.onTouchMove&&e.onTouchMove(...s),["stop","prevent"])),onTouchend:n[6]||(n[6]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onTouchcancel:n[7]||(n[7]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onClick:n[8]||(n[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",E0,t.toDisplayString(e.curValue()),1))],4))],40,$0))],4)],6),e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",D0,t.toDisplayString(+e.max),1))],2)}const Ot=te(N0,[["render",I0]]),{create:x0,scope:q0}=G("short-password"),v0=x0({components:{[fe.name]:fe,Tips:oe.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:n}){const{toLocaleRefs:a}=ie.useFoxI18n(q0),o=a(e,["title","desc","tips"]),l=t.ref(e.modelValue),r=t.computed(()=>f(Number(e.length))),s=t.ref(e.visible),i=d=>{d.stopPropagation(),n("focus")};t.watch(()=>e.visible,d=>{s.value=d}),t.watch(()=>e.modelValue,d=>{l.value=d,String(d).length===r.value&&n("complete",d)});const c=()=>{n("update:visible",!1),n("close")},f=d=>Math.min(Math.max(4,d),6);return{comLen:r,realInput:l,onTouchStart:i,range:f,close:c,onTips:()=>{n("tips")},show:s,...o}}}),M0={class:"fox-short-password-title"},P0={class:"fox-short-password-subtitle"},L0={class:"fox-short-password-wrapper"},z0={key:0,class:"fox-short-password__item-icon"},F0={class:"fox-short-password__message"},R0={class:"fox-short-password--error"},O0={key:0,class:"fox-short-password--forget"};function K0(e,n,a,o,l,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":n[2]||(n[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",M0,t.toDisplayString(e.title),1),t.createElementVNode("view",P0,t.toDisplayString(e.desc),1),t.createElementVNode("div",L0,[t.createElementVNode("view",{class:"fox-short-password__list",onTouchstart:n[0]||(n[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(new Array(e.comLen),(c,f)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-short-password__item",key:f},[String(e.realInput).length>f?(t.openBlock(),t.createElementBlock("view",z0)):t.createCommentVNode("",!0)]))),128))],32)]),t.createElementVNode("view",F0,[t.createElementVNode("view",R0,t.toDisplayString(e.errorMsg),1),e.tips?(t.openBlock(),t.createElementBlock("view",O0,[t.createVNode(s,{class:"icon",width:"11px",height:"11px"}),t.createElementVNode("view",{onClick:n[1]||(n[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 jl=te(v0,[["render",K0]]);class U0{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload}let H0=class{options;constructor(n){this.options=n}upload(){const n=this.options,a=new XMLHttpRequest;if(a.timeout=n.timeout,a.upload){a.upload.addEventListener("progress",o=>{n.onProgress?.(o,n)},!1),a.onreadystatechange=()=>{a.readyState===4&&(a.status==n.xhrState?n.onSuccess?.(a.responseText,n):n.onFailure?.(a.responseText,n))},a.withCredentials=n.withCredentials,a.open(n.method,n.url,!0);for(const[o,l]of Object.entries(n.headers))a.setRequestHeader(o,l);n.onStart?.(n),n.beforeXhrUpload?n.beforeXhrUpload(a,n):a.send(n.formData)}else console.warn("浏览器不支持 XMLHttpRequest")}};class j0{status="ready";message="ready";uid=new Date().getTime().toString();name;url;type;path;percentage=0;formData={}}const Ps=(e,{args:n=[],done:a,canceled:o})=>{if(e){const l=e.apply(null,n);dt(l)?l.then(r=>{r?a(r):o&&o()}).catch(()=>{}):l?a():o&&o()}else a()},{create:W0}=G("progress"),Y0=W0({components:{Checked:oe.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 n=!!t.useSlots().default,a=t.ref(e.strokeWidth+"px"),o=t.ref(),l=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:a,percentage:r,bgStyle:s,textStyle:i,progressOuter:o,insideText:l,slotDefault:n}}}),X0={class:"fox-progress"},Q0={key:0,class:"fox-progress-text"};function G0(e,n,a,o,l,r){const s=t.resolveComponent("Checked");return t.openBlock(),t.createElementBlock("div",X0,[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",Q0,[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 Kt=te(Y0,[["render",G0]]),{componentName:Z0,create:J0,scope:_0}=G("uploader"),eb=J0({components:{[Kt.name]:Kt,Photograph:oe.Photograph,Failure:oe.Failure,Loading:oe.Loading,Del:oe.Del,Link:oe.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,n)=>!0},onChange:{type:Function}},emits:["start","progress","oversize","success","failure","change","delete","update:fileList","file-item-click"],setup(e,{emit:n}){const{t:a}=ie.useFoxI18n(_0),o=t.reactive(e.fileList);let l=[];const r=t.computed(()=>({[Z0]:!0})),s=()=>{let m={class:"fox-uploader__input",type:"file",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled};return e.capture&&(m.capture="camera"),t.h("input",m)},i=m=>{m.value=""},c=m=>{n("file-item-click",{fileItem:m})},f=(m,g)=>{const C=new U0;C.url=e.url,C.formData=m.formData,C.timeout=e.timeout*1,C.method=e.method,C.xhrState=e.xhrState,C.headers=e.headers,C.withCredentials=e.withCredentials,C.beforeXhrUpload=e.beforeXhrUpload;try{C.sourceFile=m.formData.get(e.name)}catch{}C.onStart=w=>{m.status="ready",m.message=a("readyUpload"),p(g),n("start",w)},C.onProgress=(w,B)=>{m.status="uploading",m.message=a("uploading"),m.percentage=(w.loaded/w.total*100).toFixed(0),n("progress",{event:w,option:B,percentage:m.percentage})},C.onSuccess=(w,B)=>{m.status="success",m.message=a("success"),n("success",{responseText:w,option:B,fileItem:m}),n("update:fileList",o)},C.onFailure=(w,B)=>{m.status="error",m.message=a("error"),n("failure",{responseText:w,option:B,fileItem:m})};let A=new H0(C);e.autoUpload?A.upload():l.push(new Promise((w,B)=>{w(A)}))},p=(m=-1)=>{m>-1?l.splice(m,1):(l=[],o.splice(0,o.length))},d=()=>{Promise.all(l).then(m=>{m.forEach(g=>g.upload())})},h=m=>{m.forEach((g,C)=>{const A=new FormData;for(const[B,T]of Object.entries(e.data))A.append(B,T);A.append(e.name,g);const w=t.reactive(new j0);if(w.name=g.name,w.status="ready",w.type=g.type,w.formData=A,w.message=a("waitingUpload"),f(w,C),e.isPreview&&g.type.includes("image")){const B=new FileReader;B.onload=T=>{w.url=T.target.result,o.push(w)},B.readAsDataURL(g)}else o.push(w)})},S=m=>{const g=e.maximum*1,C=e.maximize*1,A=new Array;m=m.filter(B=>B.size>C?(A.push(B),!1):!0),A.length&&n("oversize",A);let w=m.length+o.length;return w>g&&m.splice(m.length-(w-g)),m},y=(m,g)=>{o.splice(g,1),n("delete",{file:m,fileList:o,index:g})},b=(m,g)=>{p(g),Ps(e.beforeDelete,{args:[m,o],done:()=>y(m,g)})},k=m=>{if(e.disabled)return;const g=m.target;let{files:C}=g;e.beforeUpload?e.beforeUpload(C).then(A=>u(A)):u(C),n("change",{fileList:o,event:m}),e.clearInput&&i(g)},u=m=>{const g=S(new Array().slice.call(m));h(g)};return{onChange:k,onDelete:b,fileList:o,classes:r,fileItemClick:c,clearUploadQueue:p,submit:d,renderInput:s}}}),tb={key:0,class:"fox-uploader__slot"},nb={key:0,class:"fox-uploader__preview-img"},ob={key:0,class:"fox-uploader__preview__progress"},lb={class:"fox-uploader__preview__progress__msg"},ab=["onClick"],rb=["onClick","src"],sb={key:3,class:"fox-uploader__preview-img__file"},ib=["onClick"],cb={class:"file__name_tips"},db={class:"tips"},ub={key:1,class:"fox-uploader__preview-list"},fb=["onClick"],mb={class:"file__name_tips"};function pb(e,n,a,o,l,r){const s=t.resolveComponent("Failure"),i=t.resolveComponent("Loading"),c=t.resolveComponent("Link"),f=t.resolveComponent("Del"),p=t.resolveComponent("fox-progress"),d=t.resolveComponent("Photograph");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.$slots.default?(t.openBlock(),t.createElementBlock("view",tb,[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,S)=>(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",nb,[h.status!="success"?(t.openBlock(),t.createElementBlock("view",ob,[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",lb,t.toDisplayString(h.message),1)])):t.createCommentVNode("",!0),e.isDeletable?(t.openBlock(),t.createElementBlock("view",{key:1,class:"close",onClick:y=>e.onDelete(h,S)},[t.renderSlot(e.$slots,"delete-icon",{},()=>[t.createVNode(s)])],8,ab)):t.createCommentVNode("",!0),h?.type?.includes("image")&&h.url?(t.openBlock(),t.createElementBlock("img",{key:2,class:"fox-uploader__preview-img__c",onClick:y=>e.fileItemClick(h),src:h.url},null,8,rb)):(t.openBlock(),t.createElementBlock("view",sb,[t.createElementVNode("view",{onClick:y=>e.fileItemClick(h),class:"fox-uploader__preview-img__file__name"},[t.createElementVNode("view",cb,t.toDisplayString(h.name),1)],8,ib)])),t.createElementVNode("view",db,t.toDisplayString(h.name),1)])):e.listType=="list"?(t.openBlock(),t.createElementBlock("view",ub,[t.createElementVNode("view",{onClick:y=>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",mb,t.toDisplayString(h.name),1),e.isDeletable?(t.openBlock(),t.createBlock(f,{key:0,color:"#808080",class:"fox-uploader__preview-img__file__del",onClick:y=>e.onDelete(h,S)},null,8,["onClick"])):t.createCommentVNode("",!0)],10,fb),h.status=="uploading"?(t.openBlock(),t.createBlock(p,{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(d,{color:"#808080"})]),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderInput),{onChange:e.onChange},null,40,["onChange"]))],2)):t.createCommentVNode("",!0)],2)}const Wl=te(eb,[["render",pb]]),hb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp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TbvtBPiBc0dz6XpMlu3Eah2JHA2DjvbpRKYZlqhwzl12skOHIkQ0hXOh5pOUcgnnwvTf64toRWEgAT73GtTPxMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:yb,scope:bb}=G("number-keyboard"),kb=yb({components:{[fe.name]:fe},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:n}){const{toLocaleRefs:a}=ie.useFoxI18n(bb),o=a(e,["confirmText"]),l=t.ref(void 0),r=t.ref(e.visible),s=t.ref();function i(){const{customKey:u}=e;let m={id:"lock",type:"lock"},g=Array.isArray(u)?u:[u];return g.length===1&&(m={id:g[0],type:"custom"}),[...c(),m,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const u=[];for(let m=1;m<=9;m++)u.push({id:m,type:"number"});return e.randomKeys?u.sort(()=>Math.random()>.5?1:-1):u}function f(){const u=c(),{customKey:m}=e;let g=Array.isArray(m)?m:[m];return g.length>2&&(g=[g[0],g[1]]),g.length==2&&e.title&&e.type!="rightColumn"&&(g=[g[0]]),g.length===1?e.title&&e.type!="rightColumn"?u.push({id:g[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):u.push({id:0,type:"number"},{id:g[0],type:"custom"}):g.length===2&&u.push({id:g[0],type:"custom"},{id:0,type:"number"},{id:g[1],type:"custom"}),u}const p=t.computed(()=>e.type=="rightColumn"||e.title!=""?f():i()),d=()=>{e.visible&&n("blur")},h=u=>{const m=s.value;m&&!m.contains(u.target)&&d()};t.watch(()=>e.visible,u=>{r.value=u,u?window.addEventListener("touchstart",h,!1):window.removeEventListener("touchstart",h,!1)});function S(u,m){m.stopPropagation(),l.value=u.id,(u.type=="number"||u.type=="custom")&&(n("input",u.id),e.modelValue.length<Number(e.maxlength)&&n("update:modelValue",e.modelValue+u.id)),u.type=="lock"&&k(),u.type=="delete"&&(n("delete"),n("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function y(u){u.stopPropagation()}function b(u){u.preventDefault(),l.value=void 0}function k(){n("update:visible",!1),n("close")}return{...o,delImg:hb,lockImg:gb,clickKeyIndex:l,defaultKey:i,closeBoard:k,onTouchEnd:b,onTouchMove:y,onTouchstart:S,keysList:p,genCustomKeys:f,getBasicKeys:c,root:s,show:r}}}),Sb={ref:"root"},Cb={class:"fox-number-keyboard"},wb={key:0,class:"fox-number-keyboard__header"},Nb={class:"fox-number-keyboard__title"},Bb={class:"fox-number-keyboard__body"},Ab={class:"fox-number-keyboard__keys"},Tb=["onTouchstart"],Vb=["src"],$b=["src"],Eb={key:0,class:"fox-number-keyboard__sidebar"},Db={class:"fox-key__wrapper"},Ib=["src"];function xb(e,n,a,o,l,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("div",Sb,[t.createVNode(s,{visible:e.show,"onUpdate:visible":n[7]||(n[7]=i=>e.show=i),position:"bottom",popClass:e.popClass,overlay:!1,teleportDisable:!1},{default:t.withCtx(()=>[t.createElementVNode("div",Cb,[e.title?(t.openBlock(),t.createElementBlock("div",wb,[t.createElementVNode("h3",Nb,t.toDisplayString(e.title),1),e.type=="default"?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-number-keyboard__close",onClick:n[0]||(n[0]=i=>e.closeBoard())},t.toDisplayString(e.confirmText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",Bb,[t.createElementVNode("div",Ab,[(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:n[1]||(n[1]=c=>e.onTouchMove(c)),onTouchend:n[2]||(n[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,Vb)):t.createCommentVNode("",!0),i.type=="delete"?(t.openBlock(),t.createElementBlock("img",{key:2,src:e.delImg},null,8,$b)):t.createCommentVNode("",!0)],42,Tb)],2))),128))]),e.type=="rightColumn"?(t.openBlock(),t.createElementBlock("div",Eb,[t.createElementVNode("div",Db,[t.createElementVNode("div",{class:t.normalizeClass(["fox-key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:n[3]||(n[3]=i=>e.onTouchstart({id:"delete",type:"delete"},i)),onTouchmove:n[4]||(n[4]=i=>e.onTouchMove(i)),onTouchend:n[5]||(n[5]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i))},[t.createElementVNode("img",{src:e.delImg},null,8,Ib)],34)]),t.createElementVNode("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:n[6]||(n[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 Yl=te(kb,[["render",xb]]),{componentName:qb,create:vb}=G("swipe"),Mb=vb({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 a=t.computed(()=>({[qb]:!0})),o=m=>m.value?.clientWidth||0,l=t.ref(),r=t.computed(()=>o(l)),s=t.ref(),i=t.computed(()=>o(s));let c=!1,f="",p="";const d=t.reactive({offset:0,moving:!1}),h=(m="")=>{c=!0,m&&(d.offset=m==="left"?-i.value:r.value),n("open",{name:e.name,position:f||m})},S=()=>{d.offset=0,c=!1,n("close",{name:e.name,position:f})},y=t.computed(()=>({transform:`translate3d(${d.offset}px, 0, 0)`})),b=m=>{f=m>0?"right":"left";let g=m;switch(f){case"left":c&&p===f?g=-i.value:g=Math.abs(m)>i.value?-i.value:m;break;case"right":c&&p===f?g=r.value:g=Math.abs(m)>r.value?r.value:m;break}d.offset=g},k=_e();return{classes:a,touchStyle:y,...{onTouchStart(m){e.disabled||k.start(m)},onTouchMove(m){e.disabled||(k.move(m),k.isHorizontal()&&(d.moving=!0,b(k.deltaX.value),e.touchMovePreventDefault&&m.preventDefault(),e.touchMoveStopPropagation&&m.stopPropagation()))},onTouchEnd(){if(d.moving)switch(d.moving=!1,p=f,f){case"left":Math.abs(d.offset)<=i.value/2?S():(d.offset=-i.value,h());break;case"right":Math.abs(d.offset)<=r.value/2?S():(d.offset=r.value,h());break}}},leftRef:l,rightRef:s,open:h,close:S}}}),Pb={class:"fox-swipe__left",ref:"leftRef"},Lb={class:"fox-swipe__content"},zb={class:"fox-swipe__right",ref:"rightRef"};function Fb(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.touchStyle),onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:n[2]||(n[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:n[3]||(n[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[t.createElementVNode("view",Pb,[t.renderSlot(e.$slots,"left")],512),t.createElementVNode("view",Lb,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",zb,[t.renderSlot(e.$slots,"right")],512)],38)}const Ut=te(Mb,[["render",Fb]]),{componentName:Rb,create:Ob}=G("action-sheet"),Kb=Ob({components:{[fe.name]:fe,Loading:oe.Loading},props:{...Fe,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:n}){const a=!!t.useSlots().default,o=t.computed(()=>({[Rb]:!0}));return{slotDefault:a,isHighlight:c=>e.chooseTagValue&&e.chooseTagValue===c[e.optionTag]?e.color:"",cancelActionSheet:()=>{n("cancel"),n("update:visible",!1)},chooseItem:(c,f)=>{!c.disable&&!c.loading&&(n("choose",c,f),n("update:visible",!1))},close:c=>{n("close",c),n("update:visible",!1)},classes:o}}}),Ub={key:0,class:"fox-action-sheet__title"},Hb={key:1},jb={key:0,class:"fox-action-sheet__item fox-action-sheet__desc"},Wb={key:1,class:"fox-action-sheet__menu"},Yb=["onClick"],Xb={key:1},Qb={class:"fox-action-sheet__subdesc"};function Gb(e,n,a,o,l,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",Ub,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Hb,[e.description?(t.openBlock(),t.createElementBlock("view",jb,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0),e.menuItems.length?(t.openBlock(),t.createElementBlock("view",Wb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menuItems,(c,f)=>(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:f,onClick:p=>e.chooseItem(c,f)},[c.loading?(t.openBlock(),t.createBlock(s,{key:0,name:"loading"})):(t.openBlock(),t.createElementBlock("view",Xb,t.toDisplayString(c[e.optionTag]),1)),t.createElementVNode("view",Qb,t.toDisplayString(c[e.optionSubTag]),1)],14,Yb))),128))])):t.createCommentVNode("",!0),e.cancelTxt?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-action-sheet__cancel",onClick:n[0]||(n[0]=(...c)=>e.cancelActionSheet&&e.cancelActionSheet(...c))},t.toDisplayString(e.cancelTxt),1)):t.createCommentVNode("",!0)]))],2)]),_:3},8,["visible","onClickOverlay","closeOnClickOverlay"])}const Xl=te(Kb,[["render",Gb]]),{componentName:Zb,create:Jb}=G("backtop"),Ql=Jb({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:n,slots:a}){const o=t.reactive({backTop:!1,scrollTop:0,scrollEl:window,startTime:0,keepAlive:!1}),l=t.computed(()=>({[Zb]:!0,show:o.backTop})),r=t.computed(()=>({right:`${e.right}px`,bottom:`${e.bottom}px`,zIndex:e.zIndex}));function s(){o.scrollEl instanceof Window?o.scrollTop=o.scrollEl.pageYOffset:o.scrollTop=o.scrollEl.scrollTop,o.backTop=o.scrollTop>=e.distance}function i(y=0){o.scrollEl instanceof Window?window.scrollTo(0,y):o.scrollEl.scrollTop=y}function c(){let y=Qe(function b(){var k=e.duration-Math.max(0,o.startTime-+new Date+e.duration),u=k*-o.scrollTop/e.duration+o.scrollTop;i(u),y=Qe(b),(k==e.duration||u==0)&&Fa(y)})}function f(){o.scrollEl.addEventListener("scroll",s,!1),o.scrollEl.addEventListener("resize",s,!1)}function p(){o.scrollEl.removeEventListener("scroll",s,!1),o.scrollEl.removeEventListener("resize",s,!1)}function d(y){o.startTime=+new Date,e.isAnimation&&e.duration>0?c():i(),n("click",y)}function h(){S.value?o.scrollEl=S.value.el:e.elId&&document.getElementById(e.elId)&&(o.scrollEl=document.getElementById(e.elId)),f()}t.onMounted(()=>{e.distance==0&&(o.backTop=!0),h()}),t.onUnmounted(()=>{p()}),t.onActivated(()=>{o.keepAlive&&(o.keepAlive=!1,h())}),t.onDeactivated(()=>{o.keepAlive=!0,p()});const S=t.computed(()=>{if(typeof a.content=="function"){const y=a.content();return Array.isArray(y)?y[0]:y}return null});return()=>{const y=[];S.value&&y.push(S.value);const b=[];if(typeof a.default=="function")b.push(a.default());else{const u=t.h(oe.Top,{class:["fox-backtop-main"],width:"19px",height:"19px"});b.push(u)}const k=t.h("div",{class:l.value,style:r.value,onClick:d},b);return y.push(k),y}}}),{componentName:_b,create:ek}=G("drag"),tk=ek({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 a=t.ref(),o=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}}),l=t.computed(()=>({[_b]:!0}));function r(){const d=document.documentElement;o.elWidth=a.value.offsetWidth,o.elHeight=a.value.offsetHeight,o.screenWidth=d.clientWidth,o.screenHeight=d.clientHeight}function s(d){o.boundary.left?+d.style.left.split("px")[0]>o.boundary.left?(d.style.left=+d.style.left.split("px")[0]-10+"px",Ke(()=>{s(d)})):d.style.left=`${o.boundary.left}px`:+d.style.left.split("px")[0]>10?(d.style.left=+d.style.left.split("px")[0]-10+"px",Ke(()=>{s(d)})):d.style.left="0px"}function i(d,h){h-parseInt(d.style.left.split("px")[0])>10?(d.style.left=parseInt(d.style.left.split("px")[0])+10+"px",Ke(()=>{i(d,h)})):d.style.left=h+"px"}function c(d){d.preventDefault();const h=d.currentTarget;if(d.targetTouches.length===1){const S=d.targetTouches[0];o.nx=S.clientX-o.position.x,o.ny=S.clientY-o.position.y,o.xPum=o.startLeft+o.nx,o.yPum=o.startTop+o.ny;const y=o.screenWidth-o.elWidth-o.boundary.right;Math.abs(o.xPum)>y?o.xPum=y:o.xPum<=o.boundary.left&&(o.xPum=o.boundary.left),o.yPum<o.boundary.top?o.yPum=o.boundary.top:o.yPum>o.screenHeight-o.elHeight-o.boundary.bottom&&(o.yPum=o.screenHeight-o.elHeight-o.boundary.bottom),e.direction!="y"&&(h.style.left=o.xPum+"px"),e.direction!="x"&&(h.style.top=o.yPum+"px")}}function f(d){const h=d.currentTarget;let y=d.changedTouches[0].clientX;const b=o.screenWidth-o.elWidth-o.boundary.right;y>b?y=b:y<o.boundary.left?y=o.boundary.left:y=y<o.screenWidth/2?o.boundary.left:b,e.direction!="y"&&e.attract&&(y<o.screenWidth/2?Ke(()=>{s(h)}):Ke(()=>{i(h,b)})),e.direction!="x"&&(h.style.top=o.yPum+"px")}function p(d){const h=d.currentTarget,S=d.touches[0],y=d.targetTouches[0];o.startTop=h.offsetTop,o.startLeft=h.offsetLeft,o.position.x=S.clientX,o.position.y=S.clientY,o.nx=y.clientX-o.position.x,o.ny=y.clientY-o.position.y,o.xPum=o.startLeft+o.nx,o.yPum=o.startTop+o.ny}return t.onMounted(()=>{r(),o.boundary=e.boundary}),t.onActivated(()=>{o.keepAlive&&(o.keepAlive=!1)}),t.onDeactivated(()=>{o.keepAlive=!0;const d=a;d.value.removeEventListener("touchstart",p),d.value.removeEventListener("touchmove",c),d.value.removeEventListener("touchend",f)}),{classes:l,myDrag:a,touchStart:p,touchMove:c,touchEnd:f}}});function nk(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"myDrag",onTouchstart:n[0]||(n[0]=s=>e.touchStart(s)),onTouchmove:n[1]||(n[1]=s=>e.touchMove(s)),onTouchend:n[2]||(n[2]=s=>e.touchEnd(s))},[t.renderSlot(e.$slots,"default")],34)}const Gl=te(tk,[["render",nk]]),ok={width:{type:[String,Number]},height:{type:[String,Number]},plain:{type:[Boolean]},closeOnClickOverlay:{type:Boolean,default:!1},title:{type:String},showClose:{type:Boolean,default:!1},closeIcon:{type:Object},content:{type:[String,Object]},showFooter:{type:Boolean,default:!0},showConfirmButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},cancelButtonText:{type:String},cancelText:{type:String},cancelButtonClass:{type:[String],required:!1},cancelButtonStyle:{type:[Object],required:!1},confirmButtonText:{type:String},confirmText:{type:String},confirmButtonClass:{type:[String],required:!1},confirmButtonStyle:{type:[Object],required:!1},cancelAutoClose:{type:Boolean,default:!0},textAlign:{type:String,default:"center"},footerDirection:{type:String,default:"horizontal"},popClass:{type:String},popStyle:{type:Object},beforeClose:{type:Function}},lk=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0);function ak(e,n,a,o,l){return{props:{...Fe,...ok},setup(r,{attrs:s,slots:i,emit:c}){const{toLocaleRefs:f}=ie.useFoxI18n(n),p=f(r,["confirmText","cancelText"]),d=e,h=t.ref(r.visible);t.watch(()=>r.visible,w=>{h.value!==w&&(h.value=w,w&&c("opened"))});const S=w=>{h.value=w,c("update:visible",w),c("update",w)},y=w=>{if(c(w),!(w==="cancel"&&!r.cancelAutoClose))if(typeof r.beforeClose=="function"){const B=r.beforeClose(w);dt(B)?B.then(T=>{T&&(S(!1),c("closed",w))}):B===!0&&(S(!1),c("closed",w))}else S(!1),c("closed",w)},b=()=>{y("confirm")},k=()=>{y("cancel")},u=()=>{y("close")},m=(w,B)=>lk(w)?(B.src=w,t.h("img",B)):typeof w=="string"?(Array.isArray(B.class)?B.class.push(w):B.class&&typeof B.class=="object"?B[`${w}`]=!0:typeof B.class=="string"?B.class=`${B.class}, ${w}`:B.class=w,t.h(r.tag,B)):t.h(w,B),g=()=>{const w=[];if(i.header){const T=i.header();w.push(T)}else{if(r.title){const T=t.h("view",{class:`${d}__header-title`},[r.title]);w.push(T)}if(r.showClose){const T={class:[`${d}__header-close-icon`],onClick:u},V=r.closeIcon??l,E=m(V,T);w.push(E)}}if(w.length===0)return null;const B={class:[`${d}__header`]};return t.h("view",B,w)},C=()=>{const w=[];if(i.default)w.push(i.default());else{const T={class:[`${d}__content`]};if(r.textAlign&&T.class.push(r.textAlign),typeof r.content=="string"){T.innerHTML=r.content;const V=t.h("view",T);w.push(V)}else if(typeof r.content=="function"){const V=t.h("view",T,[r.content()]);w.push(V)}else{const V=t.h("view",T,[r.content]);w.push(V)}}if(w.length===0)return null;const B={class:[`${d}__body`]};return t.h("view",B,w)},A=()=>{if(!r.showFooter)return null;const w=[];if(i.footer)w.push(i.footer());else if(r.plain){if(r.showCancelButton){const T={class:[`${d}__footer-button`,`${d}__footer-cancel`],style:{},onClick:k};r.cancelButtonClass&&T.class.push(r.cancelButtonClass),r.cancleButtonStyle&&typeof r.cancleButtonStyle=="object"&&Object.assign(T.style,r.cancleButtonStyle);const V=t.h("view",T,[r.cancelButtonText??p.cancelText.value]);w.push(V)}if(r.showConfirmButton){const T={class:[`${d}__footer-button`,`${d}__footer-confirm`],style:{},onClick:b};r.confirmButtonClass&&T.class.push(r.confirmButtonClass),r.confirmButtonStyle&&typeof r.confirmButtonStyle=="object"&&Object.assign(T.style,r.confirmButtonStyle);const V=t.h("view",T,[r.confirmButtonText??p.confirmText.value]);w.push(V)}}else{if(r.showCancelButton){const T={class:[`${d}__footer-button`,`${d}__footer-cancel`],style:{},plain:!0,type:"primary",size:"small",onClick:k};r.cancelButtonClass&&T.class.push(r.cancelButtonClass),r.cancleButtonStyle&&typeof r.cancleButtonStyle=="object"&&Object.assign(T.style,r.cancleButtonStyle);const V=t.h(o,T,{default:()=>[r.cancelButtonText??p.cancelText.value]});w.push(V)}if(r.showConfirmButton){const T={class:[`${d}__footer-button`,`${d}__footer-confirm`],style:{},plain:!1,type:"primary",size:"small",onClick:b};r.confirmButtonClass&&T.class.push(r.confirmButtonClass),r.confirmButtonStyle&&typeof r.confirmButtonStyle=="object"&&Object.assign(T.style,r.confirmButtonStyle);const V=t.h(o,T,{default:()=>[r.confirmButtonText??p.confirmText.value]});w.push(V)}}if(w.length===0)return null;const B={class:[`${d}__footer`,`${d}__footer--${r.footerDirection}`]};return t.h("view",B,w)};return()=>{const w=[],B=g();B&&w.push(B);const T=C();T&&w.push(T);const V=A();V&&w.push(V);const E={class:{[`${d}`]:!0,[`${d}--plain`]:r.plain}},$=t.h("view",E,w),x=[`${d}__popup`];r.popClass&&x.push(r.popClass);const P={};r.width&&(P.width=typeof r.width=="number"?`${r.width}px`:r.width),r.height&&(P.height=typeof r.height=="number"?`${r.height}px`:r.height);const I={...Se(r,Fe),popClass:x.join(" "),style:P,visible:h.value,teleportDisable:!0,closeable:!1,"onUpdate:visible":S,position:r.position,onClickOverlay:u,closeOnClickOverlay:r.closeOnClickOverlay};return t.h(a,I,{default:()=>$})}}}}const{componentName:rk,create:sk,scope:ik}=G("dialog"),Ls=sk(ak(rk,ik,fe,Le,oe.Close));class ck{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 dk{options=new ck;constructor(n){let a=Object.assign(this.options,n),o=document.body,l=a.teleport;l!="body"&&(typeof l=="string"?o=document.querySelector(l):o=a.teleport);const r=document.createElement("view"),s=`dialog-${a.id}`;r.id=s;const i={setup(){return a.onUpdate=f=>{if(f===!1){const p=document.querySelector(`#${s}`);p&&p.parentNode?.removeChild(p)}},a?.onOpened&&a?.onOpened(),()=>t.h(Ls,a)}},c=t.createVNode(i);o.appendChild(r),t.render(c,r)}}const Ht=function(e){return new dk(e)};Ht.install=e=>{e.use(Ls),e.config.globalProperties.$dialog=Ht};const uk={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}},fk=(e,n,a)=>({props:{...uk},emits:["change","refresh","update:modelValue"],setup(o,{emit:l,slots:r}){const{toLocaleRefs:s}=ie.useFoxI18n(n),i=s(o,["pullingText","loosingText","loadingText"]),c=Ko(),f=t.ref(),p=Ns(f),d=t.reactive({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),h=t.computed(()=>({[e]:!0})),S=t.computed(()=>{switch(d.status){case"pulling":return r.pulling?"":i.pullingText.value;case"loosing":return r.loosing?"":i.loosingText.value;case"loading":return r.loading?"":i.loadingText.value;default:return""}}),y=t.computed(()=>({transitionDuration:`${o.duration}s`,transform:d.distance?`translate3d(0,${d.distance}px, 0)`:""})),b=t.computed(()=>{const B={};return o.headHeight!=50&&(B.height=ge(o.headHeight)),B}),k=B=>{const T=+(o.pullDistance||o.headHeight);let V=B;return B>T&&(B<T*2?V=(B+T)/2:V=T+B/4),Math.round(V)},u=(B,T)=>{const V=+(o.pullDistance||o.headHeight);d.distance=B,T?d.status="loading":B===0?d.status="normal":B<V?d.status="pulling":d.status="loosing",l("change",{status:d.status,distance:B})},m=()=>d.status!=="loading"&&d.status!=="complete",g=()=>p.value==window?Bs()==0:p.value&&p.value.scrollTop==0,C=B=>{m()&&(g()?(c.start(B),d.isPullRefresh=!0,d.moving=!0):(d.distance=0,d.isPullRefresh=!1))},A=B=>{m()&&d.moving&&(c.move(B),c.isVertical()&&c.state.deltaY>0&&d.isPullRefresh&&(B.cancelable&&B.preventDefault(),u(k(c.state.deltaY))))},w=()=>{d.moving=!1,d.isPullRefresh&&m()&&c.state.deltaY&&(d.status==="loosing"?(u(+o.headHeight,!0),l("update:modelValue",!0),t.nextTick(()=>l("refresh"))):u(0)),setTimeout(()=>{c.reset()},0)};return t.watch(()=>o.modelValue,B=>{B?u(+o.headHeight,!0):u(0)}),()=>{const B=[];let T=null;if(d.status==="loading"){if(T=r?.loading?.()??null,!T){const R={class:["fox-pull-refresh-container-topbox-icon"]};T=t.h(a,R)}}else d.status==="pulling"?T=r?.pulling?.()??null:d.status==="loosing"&&(T=r?.loosing?.()??null);T&&B.push(T);const V={class:["fox-pull-refresh-container-topbox-text"]},E=t.h("dive",V,[S.value]);B.push(E);const $={class:["fox-pull-refresh-container-topbox"],style:b.value},x=t.h("div",$,B),P={class:"fox-pull-refresh-container",style:y.value},D=t.h("div",P,[x,r?.default?.()]),I={ref:f,class:h.value};return Oo()?Object.assign(I,{onTouchstart:C,onTouchmove:A,onTouchend:w}):Object.assign(I,{onMousedown:C,onMousemove:A,onMouseup:w}),t.h("div",I,[D])}}}),{componentName:mk,create:pk,scope:hk}=G("pull-refresh"),Zl=pk(fk(mk,hk,oe.Loading)),{create:gk}=G("notify"),yk=gk({components:{[fe.name]:fe},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:n}){const a=()=>{e.onClick&&e.onClick()};let o=null;const l=()=>{o&&clearTimeout(o),o=null},r=()=>{n("update:visible",!1)},s=t.ref(!1),i=t.watch(()=>e.visible,f=>{s.value=e.visible;const p=e.duration;f&&p&&(o=setTimeout(()=>{r()},p))},{immediate:!0});return{onAfterLeave:()=>{l(),i&&i(),e.unmount&&e.unmount(e.id),e.onClose&&e.onClose()},clickCover:a,isShowPopup:s}}});function bk(e,n,a,o,l,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{visible:e.isShowPopup,"onUpdate:visible":n[1]||(n[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:n[0]||(n[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 Jl=te(yk,[["render",bk]]),_l={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:Function,teleport:"",unmount:new Function};let Nt=[],jt=[];const zs=e=>{if(e){const n=document.getElementById(e);jt=jt.filter(a=>a.id!==e),Nt=Nt.filter(a=>a!==e),n&&document.body.removeChild(n)}else Nt.forEach(n=>{const a=document.getElementById(n);a&&document.body.removeChild(a)}),jt=[],Nt=[]},kk=e=>{const n=document.getElementById(e.id);if(n){const a=jt.find(l=>l.id===e.id);a?e={..._l,...a,...e}:e={..._l,...e};const o=t.createVNode(Jl,e);return t.render(o,n),o.component.data}},Wt=e=>{e.unmount=zs;let n;if(e.id){if(n=e.id,Nt.find(r=>r===e.id))return kk(e)}else n=new Date().getTime()+"";e={..._l,...e},e.id=n,Nt.push(e.id),jt.push(e);const a=document.createElement("view");a.id="notify-"+e.id;const o={setup(){return e.teleport=`#notify-${e.id}`,t.onMounted(()=>{setTimeout(()=>{e.onClose&&e.onClose(),document.body.removeChild(a)},e.duration)}),()=>t.h(Jl,e)}},l=t.createVNode(o);document.body.appendChild(a),t.render(l,a)},Yt=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},ea={text(e,n={}){return Yt(e),Wt({...n,msg:e})},primary(e,n={}){return Yt(e),Wt({...n,msg:e,type:"primary"})},success(e,n={}){return Yt(e),Wt({...n,msg:e,type:"success"})},danger(e,n={}){return Yt(e),Wt({...n,msg:e,type:"danger"})},warn(e,n={}){return Yt(e),Wt({...n,msg:e,type:"warning"})},hide(){zs()},install(e){e.use(Jl)}},{create:Sk}=G("toast"),Ck=Sk({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:n}){let a=null;const o=t.reactive({mounted:!1});t.onMounted(()=>{o.mounted=!0});const l=()=>{a&&(clearTimeout(a),a=null)},r=()=>{o.mounted=!1},s=()=>{l(),e.duration&&(a=setTimeout(()=>{r()},e.duration))},i=()=>{e.closeOnClickOverlay&&(r(),n("close"))};e.duration&&s(),t.watch(()=>e.duration,S=>{S&&s()});const c=t.computed(()=>e.type!=="text"?!0:!!e.icon),f=()=>{const S=de(e.iconSize);return t.h(e.icon,{width:S,height:S,color:e.iconColor})},p=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]),d=t.computed(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:o,hide:r,clickCover:i,renderIcon:f,hasIcon:c,toastBodyClass:p,toastIconWrapperClass:d,onAfterLeave:()=>{l(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),wk={key:1,class:"fox-toast-title"},Nk=["innerHTML"];function Bk(e,n,a,o,l,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: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.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon())))],2)):t.createCommentVNode("",!0),e.title?(t.openBlock(),t.createElementBlock("div",wk,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,Nk)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const ta=te(Ck,[["render",Bk]]),na={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 Bt=[],Xt=[];const Fs=e=>{if(e){const n=document.getElementById(e);Xt=Xt.filter(a=>a.id!==e),Bt=Bt.filter(a=>a!==e),n&&document.body.removeChild(n)}else Bt.forEach(n=>{const a=document.getElementById(n);a&&document.body.removeChild(a)}),Xt=[],Bt=[]},Ak=e=>{const n=document.getElementById(e.id);if(n){const a=Xt.find(l=>l.id===e.id);a?e={...na,...a,...e}:e={...na,...e};const o=t.createVNode(ta,e);return t.render(o,n),At}},Qt=e=>{e.unmount=Fs;let n;if(e.id){if(n=e.id,Bt.find(l=>l===e.id))return Ak(e)}else n=new Date().getTime()+"";e={...na,...e},e.id=n,Bt.push(e.id),Xt.push(e);const a=document.createElement("div");a.id=e.id;const o=t.createVNode(ta,e);return t.render(o,a),document.body.appendChild(a),At},eo=e=>{if(!e){console.warn("[FoxUI Toast]: msg不能为空");return}},At={text(e,n={}){return eo(e),Qt({...n,type:"text",msg:e})},success(e,n={}){return eo(e),Qt({icon:oe.Success,...n,msg:e,type:"success"})},fail(e,n={}){return eo(e),Qt({icon:oe.Failure,...n,msg:e,type:"fail"})},warn(e,n={}){return eo(e),Qt({icon:oe.Tips,...n,msg:e,type:"warn"})},loading(e,n={}){return Qt({icon:oe.Loading,...n,msg:e,type:"loading"})},hide(e){Fs(e)},install(e){e.use(ta),e.config.globalProperties.$toast=At}},{componentName:kA,create:Tk}=G("audio"),Vk=Tk({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:oe.Service,[Ot.name]:Ot},emits:["fastBack","play","forward","ended","changeProgress","mute","can-play"],setup(e,{emit:n,slots:a}){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 k=0;k<b.length;k++)document.addEventListener(b[k],()=>{document.hidden?o.value.pause():l.playing&&setTimeout(()=>{o.value.play()},200)})}catch(k){k.message}});const r=b=>{const k=o.value;e.autoplay&&k&&k.paused&&k.play(),l.second=k.duration,l.duration=y(k.duration),n("can-play",b)},s=b=>{l.currentTime=parseInt(b.target.currentTime)},i=()=>{l.currentTime>0&&l.currentTime--,o.value.currentTime=l.currentTime,n("fastBack",l.currentTime)},c=()=>{const b=o.value;l.playing?(b.pause(),l.handPlaying=!1):(b.play(),l.handPlaying=!0),l.playing=!l.playing,n("play",l.playing)},f=()=>{l.currentTime++,o.value.currentTime=l.currentTime,n("forward",l.currentTime)},p=b=>{l.currentDuration=y(b),l.percent=b/l.second*100},d=()=>{l.playing=!1,n("ended")},h=b=>{const k=o.value;k.currentTime=l.second*b/100,n("changeProgress",k.currentTime)},S=()=>{l.hanMuted=!l.hanMuted,n("mute",l.hanMuted)},y=b=>{if(!b)return"00:00:00";let k=parseInt(b),u=Math.floor(k/3600),m=Math.floor((k-u*3600)/60),g=k-u*3600-m*60,C="";return C+=("0"+u.toString()).slice(-2)+":",C+=("0"+m.toString()).slice(-2)+":",C+=("0"+g.toString()).slice(-2),C};return t.watch(()=>l.currentTime,b=>{p(b)}),t.provide("audioParent",{children:[],props:e,audioData:l,handleMute:S,forward:f,fastBack:i,changeStatus:c}),{...t.toRefs(e),...t.toRefs(l),audioRef:o,fastBack:i,forward:f,changeStatus:c,progressChange:h,audioEnd:d,onTimeupdate:s,handleMute:S,onCanplay:r,slots:a}}}),$k={class:"fox-audio"},Ek={key:0,class:"fox-audio__progress"},Dk={class:"fox-audio__time"},Ik={class:"fox-audio__bar"},xk=t.createElementVNode("div",{class:"fox-audio__button--custom"},null,-1),qk={class:"fox-audio__time"},vk={key:1,class:"fox-audio__icon"},Mk=["controls","src","preload","autoplay","loop","muted"];function Pk(e,n,a,o,l,r){const s=t.resolveComponent("fox-range"),i=t.resolveComponent("Service");return t.openBlock(),t.createElementBlock("div",$k,[e.type=="progress"?(t.openBlock(),t.createElementBlock("div",Ek,[t.createElementVNode("div",Dk,t.toDisplayString(e.currentDuration),1),t.createElementVNode("div",Ik,[t.createVNode(s,{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(()=>[xk]),_:1},8,["modelValue","onChange"])]),t.createElementVNode("div",qk,t.toDisplayString(e.duration),1)])):t.createCommentVNode("",!0),e.type=="icon"?(t.openBlock(),t.createElementBlock("div",vk,[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(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: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,Mk)])}const oa=te(Vk,[["render",Pk]]),{componentName:SA,create:Lk,scope:zk}=G("audio-operate"),Fk=Lk({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:n}){const{t:a}=ie.useFoxI18n(zk),o=t.inject("audioParent"),l=t.reactive(o),r=t.ref(t.useSlots().default);return{...t.toRefs(e),...t.toRefs(l),customSlot:r,t:a}}}),Rk={class:"fox-audio-operate"};function Ok(e,n,a,o,l,r){const s=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",Rk,[e.type=="back"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-audio-operate-item",onClick:n[0]||(n[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:n[1]||(n[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:n[2]||(n[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:n[3]||(n[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 la=te(Fk,[["render",Ok]]),{componentName:Kk,create:Uk}=G("avatar"),Hk=Uk({props:{size:{type:String,default:""},shape:{type:String,default:"round"},bgColor:{type:String,default:"#eee"},color:{type:String,default:"#666"}},setup(e){const{size:n,shape:a,bgColor:o,color:l}=t.toRefs(e),r=["large","normal","small"],s=t.inject("avatarGroup",null),i=t.ref(null),c=t.reactive({lightTheme:!1}),f=t.reactive({index:1,showMax:!1,maxIndex:0});t.onMounted(()=>{const y=s?.avatarGroupRef?.value?.children;y&&S(y)});const p=t.computed(()=>({[Kk]:!0,[`fox-avatar-${n.value||s?.props?.size||"normal"}`]:!0,[`fox-avatar-${a.value||s?.props?.shape||"normal"}`]:!0})),d=t.computed(()=>({width:r.indexOf(n.value)>-1?"":`${n.value}px`,height:r.indexOf(n.value)>-1?"":`${n.value}px`,backgroundColor:`${o.value}`,color:`${l.value}`,marginLeft:f.index!=1&&(s?.props?.span?`${s?.props?.span}px`:""),zIndex:s?.props?.zIndex=="right"?`${Math.abs(f.maxIndex-f.index)}`:""})),h=t.computed(()=>({backgroundColor:`${s?.props?.maxBgColor}`,color:`${s?.props?.maxColor}`})),S=y=>{f.maxIndex=y.length;for(let b=0;b<y.length;b++)y[b]&&y[b].classList&&y[b].classList[0]=="fox-avatar"&&y[b].setAttribute("data-index",b+1);f.index=i?.value?.dataset?.index,f.index==f.maxIndex&&f.index!=s?.props?.maxCount&&(f.showMax=!0)};return{classes:p,styles:d,maxStyles:h,avatarGroup:s,visible:c,avatarRef:i,...t.toRefs(f)}}});function jk(e,n,a,o,l,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 Gt=te(Hk,[["render",jk]]),{componentName:Wk,create:Yk}=G("avatar-group"),Xk=Yk({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:a}){t.toRefs(e);const o=t.ref(null),l=t.ref(0),r=t.computed(()=>({[Wk]:!0}));return t.onMounted(()=>{}),t.provide("avatarGroup",{props:e,avatarGroupRef:o,index:l}),{classes:r,avatarGroupRef:o}}});function Qk(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"avatarGroupRef"},[t.renderSlot(e.$slots,"default")],2)}const aa=te(Xk,[["render",Qk]]);var to=(e=>(e[e.eq=1]="eq",e[e.lt=2]="lt",e[e.gt=3]="gt",e))(to||{});function Gk(e,n,a){let o=0,l=e.length-1,r=null;for(;o<=l;){r=Math.floor((o+l)/2);const s=e[r],i=a(s,n);if(i===1)return r;i===2?o=r+1:i===3&&(l=r-1)}return r}const{componentName:Zk,create:Jk}=G("list"),Rs=document.documentElement.clientHeight||document.body.clientHeight||667,_k=Jk({props:{listData:{type:Array,default:()=>[]},bufferSize:{type:Number,default:5},containerHeight:{type:[Number],default:Rs},height:{type:Number,default:80},margin:{type:Number,default:10}},emits:["scroll-up","scroll-down","scroll-bottom"],setup(e,{emit:n}){const a=t.ref(null),o=t.ref(null),l=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,Rs)),i=t.computed(()=>Math.ceil(s.value/e.height)),c=t.computed(()=>Math.min(r.originStartIndex+i.value+e.bufferSize,r.list.length)),f=t.computed(()=>({[Zk]:!0})),p=t.computed(()=>r.list.slice(r.start,c.value)),d=()=>{if(l.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}},S=()=>{let u=l.value.childNodes;u=Array.from(u).filter(B=>B.nodeType===1);const m=u[0];u.forEach((B,T)=>{if(!B)return;const V=qe(B),{height:E}=V,x=r.cachePositions[T+r.start].height-E;x&&(r.cachePositions[T+r.start].bottom-=x,r.cachePositions[T+r.start].height=E,r.cachePositions[T+r.start].dValue=x)});let g=0;m&&(g=r.start);const C=r.cachePositions.length;let A=r.cachePositions[g].dValue;r.cachePositions[g].dValue=0;for(let B=g+1;B<C;++B){const T=r.cachePositions[B];r.cachePositions[B].top=r.cachePositions[B-1].bottom,r.cachePositions[B].bottom=r.cachePositions[B].bottom-A,T.dValue!==0&&(A+=T.dValue,T.dValue=0)}const w=r.cachePositions[C-1].bottom;r.phantomHeight=w},y=(u=0)=>{let m=Gk(r.cachePositions,u,(C,A)=>{const w=C.bottom;return w===A?to.eq:w<A?to.lt:to.gt});return r.cachePositions[m].bottom<u&&(m+=1),m},b=()=>{r.originStartIndex=0,r.start=0,r.scrollTop=0,a.value.scrollTop=0,h(),r.phantomHeight=e.height*r.list.length},k=()=>{const u=a.value?.scrollTop,{originStartIndex:m}=r,g=y(u);g!==m&&(r.originStartIndex=g,r.start=Math.max(r.originStartIndex-e.bufferSize,0),c.value>=r.list.length-1&&n("scroll-bottom")),n(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(),S();else{b();return}}),t.watch(()=>r.start,()=>{l.value&&r.list.length>0&&S()}),{...t.toRefs(r),list:a,phantom:o,actualContent:l,getTransform:d,visibleData:p,classes:f,getContainerHeight:s,handleScrollEvent:k}}});function eS(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({height:`${e.getContainerHeight}px`}),onScrollPassive:n[0]||(n[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 ra=te(_k,[["render",eS]]),{componentName:tS,create:nS}=G("circleprogress"),oS=nS({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 a=!!t.useSlots().default,o=Math.random().toString(36).slice(-8),l=t.computed(()=>({[tS]:!0})),r=t.computed(()=>{const p=e.clockwise?1:0;return`M 50 50 m 0 -45 a 45 45 0 1 ${p} 0 90 a 45 45 0 1, ${p} 0 -90`}),s=t.computed(()=>De(e.color)?`url(#${o})`:e.color),i=t.computed(()=>{let p=283,d=p*Number(e.progress)/100;return{stroke:De(e.color)?`url(#${o})`:e.color,strokeDasharray:`${d}px ${p}px`}}),c=t.computed(()=>({stroke:e.pathColor})),f=t.computed(()=>{if(!De(e.color))return;let p=e.color;const d=Object.keys(p).sort((S,y)=>parseFloat(S)-parseFloat(y));let h=[];return d.map((S,y)=>{let b={key:"",value:""};b.key=S,b.value=p[S],h.push(b)}),h});return{classes:l,hoverStyle:i,pathStyle:c,path:r,hoverColor:s,stop:f,slotDefault:a,refRandomId:o}}}),lS={viewBox:"0 0 100 100"},aS=["id"],rS=["offset","stop-color"],sS=["d","stroke-width"],iS=["d","stroke","stroke-linecap","stroke-width"],cS={class:"fox-circleprogress-text"},dS={key:0};function uS(e,n,a,o,l,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",lS,[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,rS))),128))],8,aS)]),t.createElementVNode("path",{class:"fox-circleprogress-path",style:t.normalizeStyle(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,sS),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,iS)])),t.createElementVNode("div",cS,[t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",dS,t.toDisplayString(e.progress)+"%",1))])],6)}const sa=te(oS,[["render",uS]]),{componentName:fS,create:mS}=G("noticebar"),pS=mS({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},showLeftIcon:{type:Boolean,default:!0}},components:{ScrollItem:function(e){return e.item.props.style=e.style,e.item.key=e.key,t.h(e.item)},Notice:oe.Notice,CircleClose:oe.CircleClose},emits:["click","close","across-end"],setup(e,{emit:n,slots:a}){const o=t.ref(null),l=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(()=>({[fS]:!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})),f=t.computed(()=>{let B={};return e.color&&(B.color=e.color),e.background&&(B.background=e.background),e.direction=="vertical"&&(B.height=`${e.height}px`),B}),p=t.computed(()=>({animationDelay:(r.firstRound?e.delay:0)+"s",animationDuration:r.duration+"s",transform:`translateX(${r.firstRound?0:r.wrapWidth+"px"})`})),d=t.computed(()=>{let B={};if(e.complexAm)B={transform:`translateY(${r.distance}px)`};else if(r.animate){let T=~~(e.height/e.speed/4);B={transition:`all ${T==0?~~(e.height/e.speed):T}s`,"margin-top":`-${e.height}px`}}return B});t.watch(()=>e.text,B=>{h()}),t.watch(()=>e.list,B=>{r.scrollList=[...B]});const h=B=>{r.showNoticebar!=!1&&setTimeout(()=>{if(!o.value||!l.value)return;const T=o.value.getBoundingClientRect().width,V=l.value.getBoundingClientRect().width;r.isCanScroll=e.scrollable==null?V>T:e.scrollable,r.isCanScroll?(r.wrapWidth=T,r.offsetWidth=V,r.duration=V/e.speed,r.animationClass="play"):r.animationClass=""},0)},S=B=>{n("click",B)},y=B=>{e.closeMode&&(r.showNoticebar=!e.closeMode),n("close",B)},b=B=>{r.firstRound=!1,n("across-end",B),setTimeout(()=>{r.duration=(r.offsetWidth+r.wrapWidth)/e.speed,r.animationClass="play-infinite"},0)},k=()=>{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))},m=()=>{r.timer=setInterval(()=>{let B=100;for(let T=0;T<B;T++)g(T,!(T<B-1))},e.standTime+100*e.speed)},g=(B,T)=>{setTimeout(()=>{r.distance-=e.height/100,T&&(r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.distance=0)},B*e.speed)},C=B=>{n("click",B)},A=()=>{e.closeMode&&(r.showNoticebar=!e.closeMode),n("close",r.scrollList[0])};t.onMounted(()=>{e.direction=="vertical"?(a.default?w(a.default()):r.scrollList=[...e.list],setTimeout(()=>{e.complexAm?m():k()},e.standTime)):h(e.text)}),t.watch(()=>a.default?a.default():[],B=>{e.direction==="vertical"&&a.default&&(r.showNotica=!1,setTimeout(()=>{r.showNotica=!0}),w(B))});const w=B=>{B&&B.length>0&&(r.scrollList=B[0].children)};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:f,contentStyle:p,horseLampStyle:d,wrap:o,content:l,handleClick:S,onClickIcon:y,onAnimationEnd:b,go:C,handleClickIcon:A,slots:a,toPxDesc:ge,wrapContentClass:c}}}),hS={key:0,class:"fox-noticebar__page-lefticon"},gS={ref:"wrap",class:"fox-noticebar__page-wrap"},yS={class:"showNotica"},bS=["onClick"];function kS(e,n,a,o,l,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:n[3]||(n[3]=(...f)=>e.handleClick&&e.handleClick(...f))},[e.showLeftIcon?(t.openBlock(),t.createElementBlock("view",hS,[t.renderSlot(e.$slots,"left-icon",{},()=>[e.leftIcon?(t.openBlock(),t.createBlock(s,{key:0,size:"16px"})):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),t.createElementVNode("view",gS,[t.createElementVNode("view",{ref:"content",class:t.normalizeClass(e.wrapContentClass),style:t.normalizeStyle(e.contentStyle),onAnimationend:n[0]||(n[0]=(...f)=>e.onAnimationEnd&&e.onAnimationEnd(...f)),"on:webkitAnimationEnd":n[1]||(n[1]=(...f)=>e.onAnimationEnd&&e.onAnimationEnd(...f))},[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:1,class:"fox-noticebar__page-righticon",onClick:n[2]||(n[2]=t.withModifiers((...f)=>e.onClickIcon&&e.onClickIcon(...f),["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("view",{key:0,class:"fox-noticebar__vertical-list",style:t.normalizeStyle(e.horseLampStyle)},[t.createElementVNode("div",yS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(f,p)=>(t.openBlock(),t.createBlock(c,{key:p,style:t.normalizeStyle({height:e.height+"px","line-height":e.height+"px"}),item:f},null,8,["style","item"]))),128))])],4)):(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,(f,p)=>(t.openBlock(),t.createElementBlock("li",{class:"fox-noticebar__vertical-item",key:p,style:t.normalizeStyle({height:e.toPxDesc(e.height),lineHeight:e.toPxDesc(e.height)}),onClick:d=>e.go(f)},[t.renderSlot(e.$slots,"item",{},()=>[t.createTextVNode(t.toDisplayString(f),1)])],12,bS))),128))],4)),t.createElementVNode("view",{class:"go",onClick:n[4]||(n[4]=f=>!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 ia=te(pS,[["render",kS]]),SS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAKoCAMAAACMZv1uAAAC+lBMVEUAAAD19fXz9PTd1tvf3t708vPx7/Dz9PTY2NjY2NjWy837+fr09/f09fU0MzX09fX08vP09fXMzMz19vbY2NgyMjLz9PT19vb29/cuLDrY2Njz6uzKw8Tx7e719vby8/PY2Nj19vb09fUrKzb09fX19vbc09X09fXLy8v19fX09PS5uLjV1dX09fXV1dXU1NT/y9X19va8vLz09vb19fXX19fSyssxLzz09fX09fX09fX19vb19fX19vbU1NQxLzz09fXY2Nj19vb19vYsKjNVVFYUFBT19fXMzMz09fX09fX09fXMzMzW1tavr6/09fX09fXY2NjX19ebm536ssD09fXMzMw1MzzY2Nj19fUyMTz/y9XMzMzMzMzR0dH09fXMzMzY2NjZ2dnY2NjExMQuLDUpJzAyMDzY2NhpaWrMzMz19vbLy8sVFRXMzMy5ubm6ubkqKTL8ws7/x9IqKjIpJy//y9X19va5uLi5uLi5uLjZ2dn09fW5uLi5uLjY2Ni5uLi4t7c1Mz/MzMwbGxv/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AAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:CA,create:NS,scope:BS}=G("empty"),AS={empty:SS,error:CS,network:wS},TS=NS({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:n}=ie.useFoxI18n(BS),a=n(e,["description"]),{image:o,imageSize:l}=t.toRefs(e),r=t.computed(()=>l.value?typeof l.value=="number"?`width:${l.value}px;height:${l.value}px`:`width:${l.value};height:${l.value}`:""),i=o.value.startsWith("https://")||o.value.startsWith("http://")||o.value.startsWith("//")?o.value:AS[o.value];return{...a,imageUrl:i,imgStyle:r}}}),VS={class:"fox-empty"},$S=["src"],ES={key:1,class:"fox-empty-description"};function DS(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",VS,[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,$S)):t.createCommentVNode("",!0)],64))],4),e.$slots.description?t.renderSlot(e.$slots,"description",{key:0}):(t.openBlock(),t.createElementBlock("view",ES,t.toDisplayString(e.description),1)),e.$slots.default?t.renderSlot(e.$slots,"default",{key:2}):t.createCommentVNode("",!0)])}const ca=te(TS,[["render",DS]]),{create:IS,scope:xS}=G("video"),qS=IS({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:n}){const{t:a}=ie.useFoxI18n(xS),o=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}),l=t.ref(null),r=t.computed(()=>e.options.disabled);t.watch(()=>e.source,w=>{w.src&&t.nextTick(()=>{o.videoElm.load()})},{immediate:!0,deep:!0}),t.watch(()=>e.options,w=>{o.state.isMuted=w?w.muted:!1},{immediate:!0});const s=()=>{o.videoElm=l.value,e.options.autoplay&&setTimeout(()=>{o.videoElm.play()},200),e.options.touchPlay&&(o.showTouchMask=!0),e.options.playsinline&&(o.videoElm.setAttribute("playsinline",e.options.playsinline),o.videoElm.setAttribute("webkit-playsinline",e.options.playsinline),o.videoElm.setAttribute("x5-video-player-type","h5-page"),o.videoElm.setAttribute("x5-video-player-fullscreen",!1)),y(),o.showToolbox?i():(o.videoElm.addEventListener("play",()=>{o.state.playing=!0,n("play",o.videoElm)}),o.videoElm.addEventListener("pause",()=>{o.state.playing=!1,n("pause",o.videoElm)}),o.videoElm.addEventListener("ended",h),o.videoElm.addEventListener("timeupdate",fn(d,1e3)))},i=()=>{const w=l.value,B=l.value.getElementsByClassName("fox-video-controller__progress-value")[0];o.player.$player=w,o.progressBar.progressElm=B,o.progressBar.pos=B.getBoundingClientRect(),o.videoSet.progress.width=Math.round(B.getBoundingClientRect().width)},c=()=>{if(e.options.autoplay&&e.options.disabled)return o.state.playing=!0,!1;if(o.state.playing=!o.state.playing,o.videoElm)if(o.state.playing)try{setTimeout(()=>{o.videoElm.play()},200),o.videoElm.addEventListener("progress",()=>{p()}),o.videoElm.addEventListener("timeupdate",fn(d,1e3)),o.videoElm.addEventListener("ended",h),n("play",o.videoElm)}catch{S()}else o.videoElm.pause(),n("pause",o.videoElm)},f=w=>{var B=Math.floor(w/3600);B<10&&(B="0"+B);var T=Math.floor(w%3600/60);T<10&&(T="0"+T);var V=Math.round(w%3600%60);V<10&&(V="0"+V);var E="";return B!=0?E=B+":"+T+":"+V:E=T+":"+V,E},p=()=>{o.videoSet.loaded&&(o.videoSet.loaded=o.videoElm.buffered.end(0)/o.videoElm.duration*100)},d=()=>{const w=o.videoElm.currentTime/o.videoElm.duration;o.videoSet.progress.current=Math.round(o.videoSet.progress.width*w),o.videoSet.totalTime=f(o.videoElm.duration),o.videoSet.displayTime=f(o.videoElm.currentTime),n("time",o.videoSet.displayTime,o.videoSet.totalTime)},h=()=>{o.state.playing=!1,o.state.isEnd=!0,o.videoSet.displayTime="00:00",o.videoSet.progress.current=0,o.videoElm.currentTime=0,n("playend",o.videoElm)},S=()=>{o.state.isError=!0},y=()=>{o.state.vol=e.options.volume},b=()=>{o.state.isMuted=!o.state.isMuted,o.videoElm.muted=o.state.isMuted},k=()=>{},u=w=>{let T=w.targetTouches[0].pageX-o.progressBar.pos.left;T<=0&&(T=0),T>=o.videoSet.progress.width&&(T=o.videoSet.progress.width),o.videoSet.progress.current=T;let V=o.videoSet.progress.current/o.videoSet.progress.width;o.videoElm.duration&&g(V,o.videoElm.duration)},m=w=>{let T=w.changedTouches[0].pageX-o.progressBar.pos.left;o.videoSet.progress.current=T;let V=T/o.videoSet.progress.width;o.videoElm.duration&&g(V,o.videoElm.duration)},g=(w,B)=>{o.videoElm.currentTime=Math.floor(w*B)},C=()=>{o.state.isError=!1,s()},A=()=>{o.state.fullScreen?(o.state.fullScreen=!1,document.webkitCancelFullScreen()):(o.state.fullScreen=!0,o.videoElm.webkitRequestFullScreen())};return t.onMounted(()=>{s()}),{root:l,...t.toRefs(e),...t.toRefs(o),handleError:S,isDisabled:r,play:c,handleMuted:b,touchSlidSrart:k,touchSlidMove:u,touchSlidEnd:m,retry:C,fullScreen:A,t:a}}}),vS={class:"fox-video",ref:"videocon"},MS=["muted","autoplay","loop","poster","controls","preload"],PS=["src","type"],LS={class:"fox-video-controller__now"},zS={class:"fox-video-controller__progress"},FS={class:"fox-video-controller__progress-value",ref:"progressBar"},RS=[t.createElementVNode("div",{class:"fox-video-controller__ball-move"},null,-1)],OS={class:"fox-video-controller__played",ref:"playedBar"},KS={class:"fox-video-controller__total"},US={class:"fox-video-error"},HS={class:"fox-video-error-tip"};function jS(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("div",vS,[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]=(...s)=>e.handleError&&e.handleError(...s))},[t.createElementVNode("source",{src:e.source.src,type:e.source.type},null,8,PS)],40,MS),e.showToolbox&&!e.isDisabled?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-video-mask",ref:"touchMask",onClick:n[1]||(n[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:n[2]||(n[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:n[3]||(n[3]=(...s)=>e.play&&e.play(...s))}),t.createElementVNode("div",LS,t.toDisplayString(e.videoSet.displayTime),1),t.createElementVNode("div",zS,[t.createElementVNode("div",FS,[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:n[4]||(n[4]=t.withModifiers(s=>e.touchSlidMove(s),["stop","prevent"])),onTouchstart:n[5]||(n[5]=t.withModifiers(s=>e.touchSlidSrart(),["stop"])),onTouchend:n[6]||(n[6]=t.withModifiers(s=>e.touchSlidEnd(s),["stop"]))},RS,36),t.createElementVNode("div",OS,null,512)],512)]),t.createElementVNode("div",KS,t.toDisplayString(e.videoSet.totalTime),1),t.createElementVNode("div",{class:t.normalizeClass(["fox-video-controller__volume",{muted:e.state.isMuted}]),onClick:n[7]||(n[7]=(...s)=>e.handleMuted&&e.handleMuted(...s))},null,2),t.createElementVNode("div",{class:"fox-video-controller__full",onClick:n[8]||(n[8]=(...s)=>e.fullScreen&&e.fullScreen(...s))})],2),[[t.vShow,e.showToolbox&&!e.isDisabled]]),t.withDirectives(t.createElementVNode("div",US,[t.createElementVNode("p",HS,t.toDisplayString(e.t("errorTip")),1),t.createElementVNode("p",{class:"fox-video-error-retry",onClick:n[9]||(n[9]=(...s)=>e.retry&&e.retry(...s))},t.toDisplayString(e.t("clickRetry")),1)],512),[[t.vShow,e.state.isError]])],512)}const Tt=te(qS,[["render",jS]]),{create:WS,componentName:YS}=G("steps"),da=WS({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:a}){const o=t.reactive({children:[]}),l=t.computed(()=>{const i=YS;return{[i]:!0,[`${i}-${e.direction}`]:!0,[`${i}-dot`]:!!e.progressDot}}),r=i=>{i&&o.children.push(i)},s=i=>{n("click-step",i)};return t.provide("parent",{relation:r,state:o,props:e,onEmit:s}),()=>t.h("view",{class:l.value},a.default?.())}}),{create:XS,componentName:QS}=G("step"),GS=XS({props:{title:{type:String,default:""},content:{type:String,default:""}},emits:["click-step"],setup(){const{proxy:e}=t.getCurrentInstance(),n=t.inject("parent");n.relation(e);const a=t.reactive({dot:n.props.progressDot}),o=t.computed(()=>n.state.children.indexOf(e)+1),l=()=>{const c=o.value;return c<+n.props.current?"finish":c===+n.props.current?"process":"wait"},r=t.computed(()=>l()),s=t.computed(()=>{const c=QS;return{[c]:!0,[`${c}-${r.value}`]:!0}}),i=()=>{n.onEmit(o.value)};return{...t.toRefs(a),index:o,classes:s,handleClickStep:i}}}),ZS={class:"fox-step-head"},JS=t.createElementVNode("view",{class:"fox-step-line"},null,-1),_S={class:"fox-step-icon-inner"},e1={key:1,class:"fox-step-inner"},t1={class:"fox-step-main"},n1={class:"fox-step-title"},o1={key:0},l1={key:0,class:"fox-step-content"},a1=["innerHTML"];function r1(e,n,a,o,l,r){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",ZS,[JS,t.createElementVNode("view",{class:t.normalizeClass(["fox-step-icon",[e.dot?"":"is-icon"]])},[t.createElementVNode("view",_S,[t.renderSlot(e.$slots,"icon",{},()=>[e.dot?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[],64)):(t.openBlock(),t.createElementBlock("view",e1,t.toDisplayString(e.index),1))])])],2)]),t.createElementVNode("view",t1,[t.createElementVNode("view",n1,[e.$slots.title?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",o1,t.toDisplayString(e.title),1)),t.renderSlot(e.$slots,"title")]),e.content||e.$slots.content?(t.openBlock(),t.createElementBlock("view",l1,[e.$slots.content?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:e.content},null,8,a1)),t.renderSlot(e.$slots,"content")])):t.createCommentVNode("",!0)])],2)}const ua=te(GS,[["render",r1]]),{create:s1,componentName:fa}=G("swiper"),i1=s1({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:n,slots:a}){const o=t.ref(),l=t.reactive({active:0,num:0,rect:null,width:0,height:0,moving:!1,offset:0,touchTime:0,autoplayTimer:null,children:[],childrenVNode:[],style:{}}),r=_e(),s=t.computed(()=>({[fa]:!0})),i=t.computed(()=>e.direction==="vertical"),c=t.computed(()=>{const v=fa;return{[`${v}-inner`]:!0,[`${v}-vertical`]:i.value}}),f=t.computed(()=>{const v=fa;return{[`${v}-pagination`]:!0,[`${v}-pagination-vertical`]:i.value}}),p=t.computed(()=>i.value?r.deltaY.value:r.deltaX.value),d=t.computed(()=>r.direction.value===e.direction),h=t.computed(()=>l.children.length),S=t.computed(()=>l[i.value?"height":"width"]),y=t.computed(()=>h.value*S.value),b=t.computed(()=>l.rect?(i.value?l.rect.height:l.rect.width)-S.value*h.value:0),k=t.computed(()=>(l.active+h.value)%h.value),u=()=>{let v=0;v=l.offset,l.style={transitionDuration:`${l.moving?0:e.duration}ms`,transform:`translate${i.value?"Y":"X"}(${v}px)`,[i.value?"height":"width"]:`${S.value*h.value}px`,[i.value?"width":"height"]:`${i.value?l.width:l.height}px`}},m=v=>{let W=[];const H=l.childrenVNode.length;let J=a?.default?.();if(J=J.filter(ee=>ee.children&&Array.isArray(ee.children)),J.forEach(ee=>{W=W.concat(ee.children)}),!H)l.childrenVNode=W.slice(),v.proxy&&l.children.push(v.proxy);else if(H>W.length)l.children=l.children.filter(ee=>v.proxy!==ee);else if(H<W.length){for(let ee=0;ee<H;ee++)if(W[ee].key!==l.childrenVNode[ee].key){v.proxy&&l.children.splice(ee,0,v.proxy),v.vnode&&l.childrenVNode.splice(ee,0,v.vnode);break}H!==W.length&&(v.proxy&&l.children.push(v.proxy),v.vnode&&l.childrenVNode.push(v.vnode))}else l.childrenVNode=W.slice(),v.proxy&&l.children.push(v.proxy)},g=(v,W=0)=>{let H=v*S.value;e.loop||(H=Math.min(H,-b.value));let J=W-H;return e.loop||(J=He(J,b.value,0)),J},C=v=>{const{active:W}=l;return v?e.loop?He(W+v,-1,h.value):He(W+v,0,h.value-1):W},A=({pace:v=0,offset:W=0,isEmit:H=!1})=>{if(h.value<=1)return;const{active:J}=l,ee=C(v),Y=g(ee,W);if(e.loop){if(l.children[0]&&Y!==b.value){const M=Y<b.value;l.children[0].setOffset(M?y.value:0)}if(l.children[h.value-1]&&Y!==0){const M=Y>0;l.children[h.value-1].setOffset(M?-y.value:0)}}l.active=ee,l.offset=Y,H&&J!==l.active&&n("change",k.value),u()},w=()=>{l.moving=!0,l.active<=-1&&A({pace:h.value}),l.active>=h.value&&A({pace:-h.value})},B=()=>{l.autoplayTimer&&clearTimeout(l.autoplayTimer)},T=v=>{w(),r.reset(),Qe(()=>{Qe(()=>{l.moving=!1,A({pace:v,isEmit:!0})})})},V=()=>{T(-1)},E=()=>{T(1)},$=v=>{w(),r.reset(),Qe(()=>{l.moving=!1;let W;e.loop&&h.value===v?W=l.active===0?0:v:W=v%h.value,A({pace:W-l.active,isEmit:!0})})},x=()=>{e.autoPlay<=0||h.value<=1||(B(),l.autoplayTimer=setTimeout(()=>{E(),x()},Number(e.autoPlay)))},P=(v=+e.initPage)=>{B(),l.rect=o.value.getBoundingClientRect(),v=Math.min(h.value-1,v),l.width=e.width?+e.width:l.rect.width,l.height=e.height?+e.height:l.rect.height,l.active=v,l.offset=g(l.active),l.moving=!0,u(),x()},D=v=>{e.isPreventDefault&&v.preventDefault(),e.isStopPropagation&&v.stopPropagation(),e.touchable&&(r.start(v),l.touchTime=Date.now(),B(),w())},I=v=>{e.touchable&&l.moving&&(r.move(v),d.value&&A({offset:p.value}))},R=v=>{if(!e.touchable||!l.moving)return;const W=p.value/(Date.now()-l.touchTime);if((Math.abs(W)>.3||Math.abs(p.value)>+(S.value/2).toFixed(2))&&d.value){let J=0;const ee=i.value?r.offsetY.value:r.offsetX.value;e.loop?J=ee>0?p.value>0?-1:1:0:J=-Math[p.value>0?"ceil":"floor"](p.value/S.value),A({pace:J,isEmit:!0})}else p.value&&A({pace:0});l.moving=!1,u(),x()};return t.provide("parent",{props:e,size:S,relation:m}),xe({prev:V,next:E,to:$}),t.onDeactivated(()=>{B()}),t.onBeforeUnmount(()=>{B()}),t.watch(()=>e.initPage,v=>{t.nextTick(()=>{P(Number(v))})}),t.watch(()=>l.children.length,()=>{t.nextTick(()=>{P()})}),t.watch(()=>e.autoPlay,v=>{v>0?x():B()}),{state:l,classes:s,classesInner:c,classesPagination:f,container:o,activePagination:k,onTouchStart:D,onTouchMove:I,onTouchEnd:R}}});function c1(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{ref:"container",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)),onTouchend:n[2]||(n[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:n[3]||(n[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 Vt=te(i1,[["render",c1]]),{create:d1,componentName:u1}=G("swiper-item"),f1=d1({setup(e,{slots:n}){const a=t.inject("parent");a.relation(t.getCurrentInstance());const o=t.reactive({offset:0}),l=t.computed(()=>({[u1]:!0})),r=t.computed(()=>{const i={},c=a?.props.direction;return a?.size.value&&(i[c==="horizontal"?"width":"height"]=`${a?.size.value}px`),o.offset&&(i.transform=`translate${c==="horizontal"?"X":"Y"}(${o.offset}px)`),i}),s=i=>{o.offset=i};return t.onUnmounted(()=>{a.relation(t.getCurrentInstance(),"unmount")}),xe({setOffset:s}),{style:r,classes:l}}});function m1(e,n,a,o,l,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=te(f1,[["render",m1]]),Os={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:p1}=G("image-preview-item"),h1=p1({props:{...Os,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:{[Tt.name]:Tt,[$t.name]:$t},setup(e,{emit:n}){const a=t.reactive({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),o=_e(),l=t.computed(()=>{const{rootWidth:V,rootHeight:E}=e,$=E/V;return a.imageRatio>$}),r=t.computed(()=>{const V=e.image;if(V&&V.src){const{scale:E,moveX:$,moveY:x,moving:P,zooming:D}=a,I={transitionDuration:D||P?"0s":".3s"};if(E!==1){const R=$/E,v=x/E;I.transform=`scale(${E}, ${E}) translate(${R}px, ${v}px)`}return I}return{}}),s=t.computed(()=>{if(a.imageRatio){const{rootWidth:V,rootHeight:E}=e,$=l.value?E/a.imageRatio:V;return Math.max(0,(a.scale*$-V)/2)}return 0}),i=t.computed(()=>{if(a.imageRatio){const{rootWidth:V,rootHeight:E}=e,$=l.value?E:V*a.imageRatio;return Math.max(0,(a.scale*$-E)/2)}return 0}),c=V=>{const{naturalWidth:E,naturalHeight:$}=V.target;a.imageRatio=$/E},f=()=>{p(1),a.moveX=0,a.moveY=0},p=V=>{V=He(V,+e.minZoom,+e.maxZoom+1),V!==a.scale&&(a.scale=V,n("scale",{scale:V,index:e.initNo}))},d=()=>{const V=a.scale>1?1:2;p(V),a.moveX=0,a.moveY=0},h=V=>Math.sqrt((V[0].clientX-V[1].clientX)**2+(V[0].clientY-V[1].clientY)**2);let S,y,b,k,u,m,g;const C=V=>{const{touches:E}=V,{offsetX:$}=o;o.start(V),g=E.length,S=a.moveX,y=a.moveY,m=Date.now(),a.moving=g===1&&a.scale!==1,a.zooming=g===2&&!$.value,a.zooming&&(b=a.scale,k=h(V.touches))},A=V=>{const{touches:E}=V;if(o.move(V),(a.moving||a.zooming)&&yo(V,!0),a.moving){const{deltaX:$,deltaY:x}=o,P=$.value+S,D=x.value+y;a.moveX=He(P,-s.value,s.value),a.moveY=He(D,-i.value,i.value)}if(a.zooming&&E.length===2){const $=h(E),x=b*$/k;p(x)}},w=()=>{if(g==1&&e.video&&e.video.source||g>1)return;const{offsetX:V,offsetY:E}=o,$=Date.now()-m,x=250,P=5;V.value<P&&E.value<P&&$<x&&(u?(clearTimeout(u),u=null,d()):u=setTimeout(()=>{e.contentClose&&n("close"),u=null},x))},B=V=>{let E=!1;(a.moving||a.zooming)&&(E=!0,a.moving&&S===a.moveX&&y===a.moveY&&(E=!1),V.touches.length||(a.zooming&&(a.moveX=He(a.moveX,-s.value,s.value),a.moveY=He(a.moveY,-i.value,i.value),a.zooming=!1),a.moving=!1,S=0,y=0,b=1,a.scale<1&&f(),a.scale>e.maxZoom&&(a.scale=+e.maxZoom))),yo(V,E),w(),o.reset()},T=()=>{n("close")};return t.watch(()=>e.initNo,f),t.watch(()=>e.show,V=>{V||f()}),{...t.toRefs(a),onTouchStart:C,onTouchMove:A,onTouchEnd:B,getDistance:h,imageStyle:r,imageLoad:c,closeSwiper:T}}}),g1=["src"];function y1(e,n,a,o,l,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:n[1]||(n[1]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:n[2]||(n[2]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:n[3]||(n[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:n[4]||(n[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:n[0]||(n[0]=(...c)=>e.imageLoad&&e.imageLoad(...c))},null,40,g1)):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 b1=te(h1,[["render",y1]]),{create:k1}=G("image-preview"),S1=k1({props:{...Os,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:b1,CircleClose:oe.CircleClose,[fe.name]:fe,[Vt.name]:Vt},setup(e,{emit:n}){const a=t.ref(),o=t.reactive({showPop:e.show,active:0,rootWidth:0,rootHeight:0}),l=t.computed(()=>{const p="fox-image-preview-close";return`fox-image-preview-close-icon ${e.closeIconPosition=="top-right"?`${p}-right`:`${p}-left`}`}),r=t.computed(()=>on(e.videos)?[].concat(e.videos).concat(e.images):e.images),s=p=>{p!==o.active&&(o.active=p,n("change",o.active))},i=()=>{Ps(e.beforeClose,{args:[o.active],done:()=>c()})},c=()=>{o.showPop=!1,n("close")},f=()=>{if(a.value){const p=qe(a.value);o.rootHeight=p.height,o.rootWidth=p.width}};return t.watch(()=>e.show,p=>{o.showPop=p,p&&(s(e.initNo),f())}),t.watch(()=>e.initNo,p=>{p!=o.active&&s(p)}),t.onMounted(()=>{s(e.initNo)}),{swipeRef:a,...t.toRefs(o),onClose:i,mergeImages:r,setActive:s,iconClasses:l}}}),C1={class:"fox-image-preview",ref:"swipeRef"},w1={key:0,class:"fox-image-preview-index"};function N1(e,n,a,o,l,r){const s=t.resolveComponent("image-preview-item"),i=t.resolveComponent("fox-swiper"),c=t.resolveComponent("CircleClose"),f=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(f,{"pop-class":"fox-image-preview-custom-pop",visible:e.showPop,"onUpdate:visible":n[1]||(n[1]=p=>e.showPop=p),teleportDisable:e.teleportDisable,teleport:e.teleport,onClosed:e.onClose,"lock-scroll":""},{default:t.withCtx(()=>[t.createElementVNode("view",C1,[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,(p,d)=>(t.openBlock(),t.createBlock(s,{key:d,video:d<e.videos.length?p:{},image:d>=e.videos.length?p:{},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",w1,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:n[0]||(n[0]=(...p)=>e.onClose&&e.onClose(...p))},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(c,{color:"#ffffff"})])],2)):t.createCommentVNode("",!0)]),_:3},8,["visible","teleportDisable","teleport","onClosed"])}const Ks=te(S1,[["render",N1]]);class B1{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 A1{options=new B1;constructor(n){const a=Object.assign(this.options,n),{unmount:o}=Bi(a,{name:"image-preview",components:[fe,Tt,Vt,$t,st],wrapper:()=>({setup(){return()=>(a.onClose=()=>{a.show=!1,t.nextTick(()=>{o()})},t.h(Ks,a))}})})}}const no=e=>new A1(e);no.install=e=>{e.use(Ks)};function T1(e){const n=t.getCurrentInstance();if(n&&n.proxy){let a=n.proxy;Object.assign(a,e)}}const{componentName:NA,create:V1}=G("countup"),$1=V1({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:n}){const a=t.ref(null),o=t.ref([]),l=T=>{T&&o.value.push(T)},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:f}=t.reactive(e);t.watch(()=>e.customChangeNum,(T,V)=>{d(),k(0)}),t.watch(()=>e.machinePrizeLevel,(T,V)=>{r.prizeLevelTrun=T}),t.watch(()=>e.initNum,(T,V)=>{r.current=T,r.valFlag=!1,p()}),t.watch(()=>e.endNum,(T,V)=>{r.current=e.initNum,r.valFlag=!1,p()});const p=()=>{if(r.valFlag)return!1;s&&(i||c?f!="machine"&&k():(b(),setTimeout(()=>{r.valFlag=!0},300)))},d=()=>{clearInterval(Number(r.timer)),r.timer=null},h=(T,V,E)=>{const $=(T.toString().split(".")[1]||"").length,x=(V.toString().split(".")[1]||"").length,P=Math.pow(10,Math.max($,x));return E=="-"?Number((T*P-V*P).toFixed(0))/P:Number((T*P+V*P).toFixed(0))/P},S=T=>{let{num_total_len:V,pointNum:E,initDigit1:$,initDigit2:x,sortFlag:P}=r,D=P=="add"||P=="equal"?String(x)[T-(V-E)]:10-Number(String(x)[T-(V-E)]),I=P=="add"||P=="equal"?String($)[T]:10-Number(String($)[T]),R=T>V-E-1?-D*100+"%":T<=String($).length-1?-I*100+"%":0;return R=="-1000%"&&(R=0),R},y=T=>{let{num_total_len:V,pointNum:E,initDigit1:$,initDigit2:x,sortFlag:P}=r,D=String(x)[T-(V-E)];return T>V-E-1?D||0:T<=String($).length-1?String($)[T]:0},b=()=>{let{endNum:T,initNum:V,speed:E,toFixed:$}=e,x=setInterval(()=>{if(V>T)if(r.current<=T||r.current<=E)r.current=T.toFixed($),clearInterval(x),n("scroll-end"),r.valFlag=!1;else{let P=parseFloat(String(r.current))-parseFloat(String(E));r.current=P.toFixed($)}else if(r.current>=T)r.current=T.toFixed($),clearInterval(x),n("scroll-end"),r.valFlag=!1;else{let P=parseFloat(String(r.current))+parseFloat(String(E));r.current=P.toFixed($)}},e.during)},k=T=>{let{initNum:V,endNum:E,toFixed:$,customBgImg:x}=e;x&&(V=e.customChangeNum);let P,D,I,R;V!=0?($!=0&&(V=Number(V.toFixed($))),String(V).indexOf(".")>-1?(P=String(V).split(".")[0].length,D=String(V).split(".")[1].length):(P=String(V).length,D=0)):(P=1,D=0),E!=0?($!=0&&(E=Number(E.toFixed($))),String(E).indexOf(".")>-1?(I=String(E).split(".")[0].length,R=String(E).split(".")[1].length):(I=String(E).length,R=0)):(I=1,R=0);let v=P>=I?P:I,W=D>=R?D:R;r.num_total_len=v+W,r.pointNum=W,V>E?(r.sortFlag="reduce",r.to0_10=[0,9,8,7,6,5,4,3,2,1,0],r.totalCount=h(V,E,"-"),r.numberVal=Number(String(V))):V<E?(r.sortFlag="add",r.to0_10=[0,1,2,3,4,5,6,7,8,9,0],r.totalCount=h(E,V,"-"),r.numberVal=Number(String(E))):r.sortFlag="equal";var H=1;for(let ee=0;ee<r.pointNum;ee++)H*=10;var J=r.numberVal*H;if(r.relNum=J,$!=0&&(r.pointNum=String(r.numberVal).split(".")[1]?String(r.numberVal).split(".")[1].length:0,r.num_total_len=String(J).length),String(V).indexOf(".")>-1){let ee=String(V).split(".");r.initDigit1=Number(ee[0]),r.initDigit2=Number(ee[1])}else r.initDigit1=V,r.initDigit2=0;i&&!x?t.nextTick(()=>{if(r.sortFlag=="equal")return!1;let ee=o.value[r.num_total_len-1];u(ee)}):T!==0&&C()},u=T=>{d();var V=1;r.pointNum!=0&&(V=1/Math.pow(10,r.pointNum)),r.timer=setInterval(()=>{m(T),r.totalCount=h(r.totalCount,V,"-"),r.totalCount<=0&&(d(),n("scroll-end"),r.valFlag=!1)},e.during)},m=T=>{let V=T.getAttribute("turn-number"),E;if(r.sortFlag=="add"?E=parseInt(String(V))+1:E=parseInt(String(V))-1>=0?parseInt(String(V))-1:9,T.setAttribute("turn-number",String(E)),(T.style.transition=="none 0s ease 0s"||E==1||!T.style.transition)&&(T.style.transition=`all linear ${e.during}ms`),E==10||r.sortFlag=="reduce"&&E==0){var $=null;T.style.top=`-${r.sortFlag=="add"?E*100:(10-E)*100}%`,T.setAttribute("turn-number","0"),$=setTimeout(()=>{$&&clearTimeout($),T.style.transition="none",T.style.top="0",g(T,E)},.975*e.during)}else T.style.top=`-${r.sortFlag=="add"?E*100:(10-E)*100}%`;T.style.top=="-100%"&&r.sortFlag=="reduce"&&m(T.previousSibling)},g=(T,V)=>{setTimeout(()=>{V==10&&T.previousSibling&&m(T.previousSibling)},200)},C=()=>{r.pointNum!=0&&Math.pow(10,r.pointNum),t.nextTick(()=>{a.value.addEventListener("webkitTransitionEnd",()=>{n("scroll-end"),r.valFlag=!1})})},A=()=>{for(r.notPrize=[];r.notPrize.length<3;){var T=Math.floor(Math.random()*e.machinePrizeNum+1);r.notPrize.indexOf(T)==-1&&r.notPrize.push(T)}};T1({machineLuck:()=>{const T=e.machineTurnMore<0?0:e.machineTurnMore;let V=e.numHeight*e.machinePrizeNum;r.prizeLevelTrun<0&&A();for(let E=0;E<e.machineNum;E++)setTimeout(()=>{let $=V*(E+1+parseFloat(String(T)));r.prizeYPrev.length!=0&&(r.prizeY[E]=r.prizeYPrev[E]);let x=r.prizeYPrev[E]?r.prizeYPrev[E]:0,P=$+x+(e.machinePrizeNum-r.prizeLevelTrun+1)*e.numHeight+(V-x);r.prizeLevelTrun<0&&(P+=e.numHeight*r.notPrize[E]),B(E,P,x)},500*E)}});const B=(T,V,E)=>{let $=setInterval(()=>{if(E<=V)E+=10,r.prizeY[T]=parseFloat(String(E));else if(clearInterval($),$=null,r.finshMachine+=1,r.prizeY[T]=V,r.finshMachine==e.machineNum){let x=e.numHeight*e.machinePrizeNum;r.prizeYPrev=[],JSON.parse(JSON.stringify(r.prizeY)).forEach(D=>{let I=D;for(;I>x;)I-=x;r.prizeYPrev.push(I)}),setTimeout(()=>{r.finshMachine=0,r.prizeLevelTrun<0?(n("scroll-end",!1),r.valFlag=!1):(n("scroll-end",!0),r.valFlag=!1)},130)}},30)};return t.onMounted(()=>{r.current=e.initNum,t.nextTick(()=>{p()})}),t.onUnmounted(()=>{d(),r.timer=null}),{...t.toRefs(r),...t.toRefs(t.reactive(e)),runNumberImg:a,setRef:l,topNumber:S,turnNumber:y}}}),E1={class:"fox-countup"},D1=["turn-number"];function I1(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",E1,[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,f)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__number-item__span",key:"dote"+f,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},t.toDisplayString(c),5))),128))],12,D1))),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 ma=te($1,[["render",I1]]),x1=e=>{if(!e)return Date.now();let n=Number(e),a=n>0?+n:n.toString().replace(/\-/g,"/");return new Date(a).getTime()},{componentName:q1,create:v1}=G("countdown"),M1=v1({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:a}){const o=t.reactive({restTime:0,timer:null,counting:!e.paused&&e.autoStart,handleEndTime:Date.now(),diffTime:0}),l=t.computed(()=>({[q1]:!0})),r=t.computed(()=>c(o.restTime)),s=()=>{o.handleEndTime=e.endTime,o.diffTime=Date.now()-x1(e.startTime),o.counting||(o.counting=!0),i()},i=()=>{window!==void 0&&(o.timer=requestAnimationFrame(()=>{if(o.counting){const S=Date.now()-o.diffTime,y=Math.max(o.handleEndTime-S,0);o.restTime=y,y||(o.counting=!1,d(),n("on-end")),y>0&&i()}}))},c=(S,y)=>{const b=S;let k={d:0,h:0,m:0,s:0,ms:0};const u=1e3,m=60*u,g=60*m,C=24*g;return b>0&&(k.d=b>=u?Math.floor(b/C):0,k.h=Math.floor(b%C/g),k.m=Math.floor(b%g/m),k.s=Math.floor(b%m/u),k.ms=Math.floor(b%u)),y=="custom"?k:f({...k})},f=S=>{let{d:y,h:b,m:k,s:u,ms:m}=S,g=e.format;if(g.includes("DD")?g=g.replace("DD",at(y)):b+=Number(y)*24,g.includes("HH")?g=g.replace("HH",at(b)):k+=Number(b)*60,g.includes("mm")?g=g.replace("mm",at(k)):u+=Number(k)*60,g.includes("ss")?g=g.replace("ss",at(u)):m+=Number(u)*1e3,g.includes("S")){const C=at(m,3).toString();g.includes("SSS")?g=g.replace("SSS",C):g.includes("SS")?g=g.replace("SS",C.slice(0,2)):g.includes("S")&&(g=g.replace("SS",C.slice(0,1)))}return g},p=()=>{!o.counting&&!e.autoStart&&(o.counting=!0,o.handleEndTime=Date.now()+Number(o.restTime),i(),n("on-restart",o.restTime))},d=()=>{cancelAnimationFrame(o.timer),o.counting=!1,n("on-paused",o.restTime)},h=()=>{e.autoStart||(d(),o.restTime=e.time)};return t.onBeforeMount(()=>{e.autoStart?s():o.restTime=e.time}),t.watch(()=>o.restTime,S=>{let y=c(S,"custom");n("update:modelValue",y),n("input",y)}),t.watch(()=>e.paused,(S,y)=>{y?(o.counting||(o.counting=!0,o.handleEndTime=Date.now()+Number(o.restTime),i()),n("on-restart",o.restTime)):o.counting&&d()}),t.watch(()=>e.endTime,S=>{s()}),t.watch(()=>e.startTime,S=>{s()}),{...t.toRefs(e),slots:a,classes:l,start:p,pause:d,renderTime:r,reset:h}}}),P1=["innerHTML"];function L1(e,n,a,o,l,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,P1))],2)}const pa=te(M1,[["render",L1]]),{create:z1}=G("badge"),F1=z1({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 n=t.reactive({}),a=t.computed(()=>({top:`${e.top}px`,right:`${e.right}px`,zIndex:e.zIndex,background:e.color})),o=t.computed(()=>{if(e.dot)return;const l=e.value,r=e.max;return typeof l=="number"&&typeof r=="number"&&r<l?`${r}+`:l});return{state:n,stl:a,content:o}}}),R1={class:"fox-badge"},O1=["textContent"];function K1(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",R1,[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,O1),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}const ha=te(F1,[["render",K1]]),{componentName:U1,create:H1}=G("tag"),j1=H1({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},symbol:{type:Boolean,default:!1},text:{type:Boolean,default:!1},light:{type:Boolean,default:!1}},components:{Close:oe.Close},emits:["close","click"],setup(e,{emit:n}){return{classes:t.computed(()=>{const s=U1;return{[s]:!0,[`${s}--${e.type}`]:!0,[`${s}--plain`]:e.plain,[`${s}--round`]:e.round,[`${s}--mark`]:e.mark,[`${s}--symbol`]:e.symbol,[`${s}--text`]:e.text,[`${s}--light`]:e.light}}),getStyle:()=>{const s={};return e.textColor?s.color=e.textColor:(e.color&&e.plain||e.color&&e.text)&&(s.color=e.color),e.plain?(s.background="#fff",s["border-color"]=e.color):!e.text&&e.color&&(s.background=e.color),s},onClose:s=>{s.stopPropagation(),n("close",s)},onClick:s=>{n("click",s)}}}});function W1(e,n,a,o,l,r){const s=t.resolveComponent("Close");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle()),onClick:n[0]||(n[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",onClick:e.onClose},null,8,["onClick"])):t.createCommentVNode("",!0)],6)}const Zt=te(j1,[["render",W1]]),{create:Y1}=G("popover"),X1=Y1({components:{FoxPopup:fe},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:""},teleportDisable:{type:Boolean,default:!0}},emits:["update","update:visible","close","choose","open"],setup(e,{emit:n}){const a=t.ref(),o=t.ref(),l=t.ref(e.visible);let r=t.ref(),s=t.ref();const i=t.computed(()=>{const m="fox-popover-arrow",g=e.location,C=g.split("-")[0];return`${m} ${m}-${C} ${m}--${g}`}),c=t.computed(()=>{const m={},{bgColor:g,arrowOffset:C,location:A}=e,w=A.split("-")[0],B=A.split("-")[1],T=16;return g&&(m[`border${f(w)}Color`]=g),e.arrowOffset!=0&&(["bottom","top"].includes(w)&&(B||(m.left=`calc(50% + ${C}px)`),B=="start"&&(m.left=`${T+C}px`),B=="end"&&(m.right=`${T-C}px`)),["left","right"].includes(w)&&(B||(m.top=`calc(50% - ${C}px)`),B=="start"&&(m.top=`${T-C}px`),B=="end"&&(m.bottom=`${T+C}px`))),m}),f=m=>(m=m.toLowerCase(),m=m.replace(/\b\w+\b/g,g=>g.substring(0,1).toUpperCase()+g.substring(1)),m),p=t.computed(()=>{let m={};if(!r.value||!s.value)return{};const g=s.value.width,C=s.value.height,{width:A,height:w,left:B,top:T}=r.value,{location:V,offset:E}=e,$=V.split("-")[0],x=V.split("-")[1];let P=0,D=0;if(on(E)&&E.length==2&&(P+=Number(E[1]),D+=Number(E[0])),A){if(["bottom","top"].includes($)){const I=$=="bottom"?w+P:-(C+P);m.top=`${T+I}px`,x||(m.left=`${-(g-A)/2+B+D}px`),x=="start"&&(m.left=`${B+D}px`),x=="end"&&(m.left=`${r.value.right+D}px`)}if(["left","right"].includes($)){const I=$=="left"?-(g+P):A+P;m.left=`${B+I}px`,x||(m.top=`${T-C/2+w/2-4+D}px`),x=="start"&&(m.top=`${T+D}px`),x=="end"&&(m.top=`${T+w+D}px`)}}return m}),d=t.computed(()=>{const m={};return e.bgColor&&(m.background=e.bgColor),m}),h=()=>{let m=qe(a.value);e.targetId&&(m=qe(document.querySelector(`#${e.targetId}`))),r.value=m,setTimeout(()=>{s.value={height:o.value?.clientHeight,width:o.value?.clientWidth}},0)};t.onMounted(()=>{setTimeout(()=>{h()},200)}),t.watch(()=>e.visible,m=>{l.value=m,m?(window.addEventListener("touchstart",u,!0),h()):window.removeEventListener("touchstart",u,!0)});const S=m=>{n("update",m),n("update:visible",m)},y=()=>{S(!e.visible),n("open")},b=()=>{n("update:visible",!1),n("close")},k=(m,g)=>{!m.disabled&&n("choose",m,g),e.closeOnClickAction&&b()},u=m=>{const g=a.value,C=o.value;let A=g&&!g.contains(m.target);if(e.targetId){const w=document.querySelector(`#${e.targetId}`);A=w&&!w.contains(m.target)}A&&C&&!C.contains(m.target)&&e.closeOnClickOutside&&b()};return{showPopup:l,openPopover:y,popoverArrow:i,closePopover:b,chooseItem:k,popoverRef:a,popoverContentRef:o,getRootPosition:p,customStyle:d,popoverArrowStyle:c,renderIcon:kr}}}),Q1={ref:"popoverContentRef",class:"fox-popover-content-group"},G1=["onClick"],Z1={class:"fox-popover-menu-item-name"};function J1(e,n,a,o,l,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,ref:"popoverRef",class:"fox-popover-wrapper",onClick:n[0]||(n[0]=(...i)=>e.openPopover&&e.openPopover(...i))},[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,{visible:e.showPopup,"onUpdate:visible":n[1]||(n[1]=i=>e.showPopup=i),"pop-class":`fox-popover-content fox-popover-content--${e.location}`,style:t.normalizeStyle(e.customStyle),position:"",transition:"fox-popover","teleport-disable":e.teleportDisable,overlay:e.overlay,duration:e.duration,"overlay-style":e.overlayStyle,"overlay-class":e.overlayClass,"close-on-click-overlay":e.closeOnClickOverlay},{default:t.withCtx(()=>[t.createElementVNode("view",Q1,[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(f=>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",Z1,t.toDisplayString(i.name),1)],10,G1))),128))],512)]),_:3},8,["visible","pop-class","style","teleport-disable","overlay","duration","overlay-style","overlay-class","close-on-click-overlay"])],6)],64)}const Jt=te(X1,[["render",J1]]),_1=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(n){const{avatarShape:a,round:o,avatarSize:l}=t.toRefs(n),r=t.computed(()=>{const c="avatarClass";return{[c]:!0,[`${c}--${a.value}`]:a.value}});return{avatarShape:a,avatarClass:r,getBlockClass:c=>({[c]:!0,[`${c}--round`]:o.value}),getStyle:()=>l.value?{width:l.value,height:l.value}:{width:"50px",height:"50px"}}}}),{create:eC}=G("skeleton"),tC=eC(_1({[Gt.name]:Gt})),nC={key:0},oC={key:1,class:"fox-skeleton"},lC={key:0,class:"fox-skeleton-animation"},aC={class:"fox-skeleton-content"};function rC(e,n,a,o,l,r){const s=t.resolveComponent("fox-avatar");return e.loading?(t.openBlock(),t.createElementBlock("view",oC,[e.animated?(t.openBlock(),t.createElementBlock("view",lC)):t.createCommentVNode("",!0),t.createElementVNode("view",aC,[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",nC,[t.renderSlot(e.$slots,"default")]))}const ga=te(tC,[["render",rC]]),{create:sC,componentName:iC}=G("collapse"),cC=sC({props:{modelValue:{type:[String,Number,Array],default:""},accordion:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:n}){const a=t.ref(null),o=t.ref(e.modelValue||(e.accordion?"":[])),l=t.computed(()=>({[iC]:!0}));t.watch(()=>e.modelValue,c=>{o.value=c});const r=(c,f,p=!0)=>{o.value=c,n("update:modelValue",c),n("change",c,f,p)},s=c=>{if(e.accordion)o.value===c?r("",c,!1):r(c,c,!0);else if(Array.isArray(o.value))if(o.value.includes(c)){const f=o.value.filter(p=>p!==c);r(f,c,!1)}else{const f=o.value.concat([c]);r(f,c,!0)}else console.warn("[FoxUI] <Collapse> 未开启手风琴模式时 v-model 应为数组")},i=c=>e.accordion?o.value===c:Array.isArray(o.value)?o.value.includes(c):!1;return t.provide("collapseParent",{updateVal:s,isExpanded:i}),{collapseDom:a,classes:l}}});function dC(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"collapseDom"},[t.renderSlot(e.$slots,"default")],2)}const ya=te(cC,[["render",dC]]),{create:uC,componentName:fC}=G("collapse-item"),mC=uC({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:oe.DownArrow},rotate:{type:[String,Number],default:180}},setup(e){const n=t.ref(null),a=t.ref(null),o=t.inject("collapseParent"),l=t.reactive(o),r=t.computed(()=>{const h=fC;return{[h]:!0,[h+"__border"]:e.border}}),s=t.computed(()=>l?l.isExpanded(e.name):!1),i=t.ref(s.value?"auto":"0px"),c=()=>{l.updateVal(e.name)},f=()=>{s.value&&(i.value="auto")},p=()=>{i.value="0px",requestAnimationFrame(()=>{requestAnimationFrame(()=>{const h=a.value?.offsetHeight;i.value=h?`${h}px`:"auto"})})},d=()=>{const h=a.value?.offsetHeight;i.value=h?`${h}px`:"auto",requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.value="0px"})})};return t.watch(s,h=>{h?p():d()}),{classes:r,renderIcon:kr,wrapperRef:n,contentRef:a,open:p,toggle:c,wrapperHeight:i,expanded:s,onTransitionEnd:f}}}),pC={class:"fox-collapse-item__title-main"},hC={class:"fox-collapse-item__title-main-value"},gC=["innerHTML"],yC={key:2,class:"fox-collapse-item__title-label"},bC={key:0,class:"fox-collapse-item__title-sub"},kC=["innerHTML"],SC={key:0,class:"fox-collapse__item-extraWrapper"},CC={class:"fox-collapse__item-extraWrapper__extraRender"},wC={class:"fox-collapse__item-wrapper__content",ref:"contentRef"};function NC(e,n,a,o,l,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:n[0]||(n[0]=(...s)=>e.toggle&&e.toggle(...s))},[t.createElementVNode("view",pC,[t.createElementVNode("view",hC,[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,gC)),e.label?(t.openBlock(),t.createElementBlock("view",yC,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0)])]),e.$slots.value?(t.openBlock(),t.createElementBlock("view",bC,[t.renderSlot(e.$slots,"value")])):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.value,class:"fox-collapse-item__title-sub"},null,8,kC)),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",SC,[t.createElementVNode("div",CC,[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:n[1]||(n[1]=(...s)=>e.onTransitionEnd&&e.onTransitionEnd(...s))},[t.createElementVNode("view",wC,[t.renderSlot(e.$slots,"default")],512)],36)],2)}const ba=te(mC,[["render",NC]]),BC=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:AC,create:TC,scope:VC}=G("table"),$C=TC({components:{RenderColumn:BC,DownArrow:oe.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:n,slots:a}){const{t:o}=ie.useFoxI18n(VC),l=t.reactive({curData:e.data}),r=t.computed(()=>({[AC]:!0})),s=S=>({"fox-table__main__head__tr--border":e.bordered,[`fox-table__main__head__tr--align${S.align?S.align:""}`]:!0}),i=S=>S.stylehead?S.stylehead:"",c=S=>S.stylecolumn?S.stylecolumn:"",f=S=>e.columns.filter(y=>y.key===S)[0],p=S=>{const y=e.columns.filter(b=>b.key===S);return y[0].stylecolumn?y[0].stylecolumn:""},d=S=>{S.sorter&&(n("sorter",S),l.curData=typeof S.sorter=="function"?l.curData.sort(S.sorter):S.sorter==="default"?l.curData.sort():l.curData)},h=()=>e.columns.map(S=>[S.key,S.render]);return t.watch(()=>e.data,S=>{l.curData=S.slice()}),{...t.toRefs(l),classes:r,cellClasses:s,getColumnItem:f,getColumnItemStyle:p,handleSorterClick:d,sortDataItem:h,t:o,stylehead:i,stylecolumn:c}}}),EC={class:"fox-table__main__head"},DC={class:"fox-table__main__head__tr"},IC=["onClick"],xC={class:"fox-table__main__body"},qC={key:1},vC={key:0,class:"fox-table__nodata"},MC={key:0,class:"fox-table__nodata__text"},PC={key:1,class:"fox-table__summary"},LC=["innerHTML"];function zC(e,n,a,o,l,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",EC,[t.createElementVNode("view",DC,[(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:f=>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,IC))),128))])]),t.createElementVNode("view",xC,[(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(),([f,p])=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(f))]),key:f,style:t.normalizeStyle(e.getColumnItemStyle(f))},[typeof c[f]=="function"||typeof p=="function"?(t.openBlock(),t.createBlock(i,{key:0,slots:[p,c[f]],record:c},null,8,["slots","record"])):(t.openBlock(),t.createElementBlock("view",qC,t.toDisplayString(c[f]),1))],6))),128))]))),128))])],2),e.curData.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",vC,[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",MC,t.toDisplayString(e.t("noData")),1))],2)])),e.summary?(t.openBlock(),t.createElementBlock("view",PC,[t.createElementVNode("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,LC)])):t.createCommentVNode("",!0)],2)}const ka=te($C,[["render",zC]]),{componentName:FC,create:RC}=G("ellipsis"),OC=RC({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:n}){const a=t.ref(null);let o=null,l=0;const r=t.ref(),s=t.reactive({exceeded:!1,expanded:!1}),i=t.computed(()=>({[FC]:!0}));t.watch(()=>e.content,(b,k)=>{b!=k&&c()}),t.onMounted(()=>{c()});const c=()=>{if(!a.value)return;const b=window.getComputedStyle(a.value);o=document.createElement("div"),Array.prototype.slice.apply(b).forEach(m=>{o.style.setProperty(m,b.getPropertyValue(m))}),o.style.position="fixed",o.style.left="999999px",o.style.top="999999px",o.style.zIndex="-1000",o.style.height="auto",o.style.minHeight="auto",o.style.maxHeight="auto",o.style.textOverflow="clip",o.style.whiteSpace="normal",o.style.webkitLineClamp="unset",o.style.display="block";const u=h(b.lineHeight==="normal"?e.lineHeight:b.lineHeight);l=Math.floor(u*(Number(e.rows)+.5)+h(b.paddingTop)+h(b.paddingBottom)),o.innerText=e.content,document.body.appendChild(o),f()},f=()=>{if(o.offsetHeight<=l)s.exceeded=!1,document.body.removeChild(o);else{s.exceeded=!0;const b=e.content.length,k=Math.floor((0+b)/2),u=e.direction==="middle"?d([0,k],[k,b]):p(0,b);r.value=u,document.body.removeChild(o)}},p=(b,k)=>{const u=s.expanded?e.collapseText:e.expandText,m=e.content.length;if(k-b<=1)return e.direction==="end"?{leading:e.content.slice(0,b)+e.symbol}:{tailing:e.symbol+e.content.slice(k,m)};const g=Math.round((b+k)/2);return e.direction==="end"?o.innerText=e.content.slice(0,g)+e.symbol+u:o.innerText=u+e.symbol+e.content.slice(g,m),o.offsetHeight<=l?e.direction==="end"?p(g,k):p(b,g):e.direction==="end"?p(b,g):p(g,k)},d=(b,k)=>{const u=s.expanded?e.collapseText:e.expandText,m=e.content.length;if(b[1]-b[0]<=1&&k[1]-k[0]<=1)return{leading:e.content.slice(0,b[0])+e.symbol,tailing:e.symbol+e.content.slice(k[1],m)};const g=Math.floor((b[0]+b[1])/2),C=Math.ceil((k[0]+k[1])/2);return o.innerText=e.content.slice(0,g)+e.symbol+u+e.symbol+e.content.slice(C,m),o.offsetHeight<=l?d([g,b[1]],[k[0],C]):d([b[0],g],[C,k[1]])},h=b=>{if(!b)return 0;const k=b.match(/^\d*(\.\d*)?/);return k?Number(k[0]):0},S=b=>{b==1?(s.expanded=!0,n("change","expand")):(s.expanded=!1,n("change","collapse"))},y=()=>{n("click")};return{...t.toRefs(s),root:a,ellipsis:r,classes:i,clickHandle:S,handleClick:y}}}),KC={key:0},UC={key:1},HC={key:2};function jC(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[2]||(n[2]=(...s)=>e.handleClick&&e.handleClick(...s)),ref:"root"},[e.exceeded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",KC,t.toDisplayString(e.content),1)),e.exceeded&&!e.expanded?(t.openBlock(),t.createElementBlock("view",UC,[t.createTextVNode(t.toDisplayString(e.ellipsis&&e.ellipsis.leading),1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis__text",onClick:n[0]||(n[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",HC,[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(s=>e.clickHandle(2),["stop"]))},t.toDisplayString(e.collapseText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)}const Sa=te(OC,[["render",jC]]),{componentName:WC,create:YC}=G("animate"),XC=YC({props:{type:{type:String,default:""},action:{type:String,default:"initial"},loop:{type:Boolean,default:!1},duration:{type:[String,Number]}},emits:["click"],setup(e,{emit:n}){const{type:a,loop:o,action:l}=t.toRefs(e),r=t.reactive({clicked:!1});let s=t.computed(()=>({"fox-animate__container":!0,[`${WC}-${a.value}`]:l.value==="initial"||r.clicked?a.value:!1,loop:o.value}));const i=c=>{r.clicked=!0,o.value||setTimeout(()=>{r.clicked=!1},1e3),n("click",c)};return{...t.toRefs(r),classes:s,handleClick:i}}}),QC={class:"fox-animate"};function GC(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",QC,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[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 Ca=te(XC,[["render",GC]]),{componentName:ZC,create:JC}=G("watermark"),_C=JC({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 a=t.reactive({base64Url:""}),{zIndex:o,gapX:l,gapY:r,width:s,height:i,rotate:c,image:f,imageWidth:p,imageHeight:d,content:h,fontStyle:S,fontWeight:y,fontColor:b,fontSize:k,fontFamily:u}=e,m=()=>{const C=document.createElement("canvas"),A=window.devicePixelRatio,w=C.getContext("2d"),B=`${(l+s)*A}px`,T=`${(r+i)*A}px`,V=s*A,E=i*A;if(C.setAttribute("width",B),C.setAttribute("height",T),w){if(f){w.translate(V/2,E/2),w.rotate(Math.PI/180*Number(c));const $=new Image;$.crossOrigin="anonymous",$.referrerPolicy="no-referrer",$.src=f,$.onload=()=>{w.drawImage($,-p*A/2,-d*A/2,p*A,d*A),w.restore(),a.base64Url=C.toDataURL()}}else if(h){w.textBaseline="middle",w.textAlign="center",w.translate(V/2,E/2),w.rotate(Math.PI/180*Number(c));const $=Number(k)*A;w.font=`${S} normal ${y} ${$}px/${E}px ${u}`,w.fillStyle=b,w.fillText(h,0,0),w.restore(),a.base64Url=C.toDataURL()}}else throw new Error("当前环境不支持Canvas")};m(),t.watch(()=>[o,l,r,s,i,c,f,p,d,h,S,y,b,k,u],()=>{m()});const g=t.computed(()=>{const C=ZC;return{[C]:!0,[`${C}-full-page`]:e.fullPage}});return{...t.toRefs(a),classes:g}}});function ew(e,n,a,o,l,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 wa=te(_C,[["render",ew]]);function tw(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:nw,create:ow}=G("trend-arrow"),lw=ow({components:{TriangleUp:oe.TriangleUp,TriangleDown:oe.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 n=t.reactive({rateTrend:e.rate>0}),a=t.computed(()=>({[nw]:!0})),o=t.computed(()=>{const{rate:r,digits:s,showSign:i,showZero:c}=e;n.rateTrend=r>0;const f=Math.abs(r);return!c&&r===0?"--":`${i&&r!==0?n.rateTrend?"+":"-":""}${tw(Number(f),s)}%`}),l=t.computed(()=>{const{dropColor:r,riseColor:s,syncTextColor:i,textColor:c,rate:f}=e;return{color:f===0?c:i?n.rateTrend?s:r:c}});return{...t.toRefs(n),classes:a,calcRate:o,calcStyle:l}}});function aw(e,n,a,o,l,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 Na=te(lw,[["render",aw]]),{create:rw}=G("tour"),sw=rw({components:{[Jt.name]:Jt,Close:oe.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:n}){const a=t.reactive({showTour:e.modelValue,showPopup:!1,active:0}),o=t.ref({}),l=t.computed(()=>"fox-tour"),r=t.computed(()=>{const{offset:p,maskWidth:d,maskHeight:h}=e,{width:S,height:y,left:b,top:k}=o.value,u=[b+S/2,k+y/2],m=Number(d||S),g=Number(h||y);return{width:`${m+ +p[1]*2}px`,height:`${g+ +p[0]*2}px`,top:`${u[1]-g/2-+p[0]}px`,left:`${u[0]-m/2-+p[1]}px`}}),s=p=>{p=="next"?a.active=a.active+1:a.active=a.active-1,a.showPopup=!1,t.nextTick(()=>{a.showPopup=!0,i()}),n("change",a.active)},i=()=>{const p=document.querySelector(`#${e.steps[a.active].target}`),d=qe(p);o.value=d},c=()=>{a.showTour=!1,a.showPopup=!1,n("close",a.active),n("update:modelValue",!1)},f=()=>{e.closeOnClickOverlay&&c()};return t.onMounted(()=>{a.active=0,i()}),t.watch(()=>e.modelValue,p=>{p&&i(),a.active=0,a.showTour=p,a.showPopup=p}),{...t.toRefs(a),classes:l,maskStyle:r,changeStep:s,close:c,handleClickMask:f}}}),iw={key:0,class:"fox-tour-content"},cw={key:0,class:"fox-tour-content-top"},dw={class:"fox-tour-content-inner"},uw={class:"fox-tour-content-bottom"},fw={class:"fox-tour-content-bottom-init"},mw={class:"fox-tour-content-bottom-operate"},pw={key:1,class:"fox-tour-content fox-tour-content-tile"},hw={class:"fox-tour-content-inner"};function gw(e,n,a,o,l,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:n[0]||(n[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,f)=>(t.openBlock(),t.createElementBlock("div",{key:f,style:{height:"0"}},[f==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":n[5]||(n[5]=p=>e.showPopup=p),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",iw,[e.showTitleBar?(t.openBlock(),t.createElementBlock("div",cw,[t.createElementVNode("div",{onClick:n[1]||(n[1]=(...p)=>e.close&&e.close(...p))},[t.createVNode(s,{class:"fox-tour-content-top-close"})])])):t.createCommentVNode("",!0),t.createElementVNode("div",dw,t.toDisplayString(c.content),1),t.createElementVNode("div",uw,[t.createElementVNode("div",fw,t.toDisplayString(e.active+1)+"/"+t.toDisplayString(e.steps.length),1),t.createElementVNode("div",mw,[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:n[2]||(n[2]=p=>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:n[3]||(n[3]=(...p)=>e.close&&e.close(...p))},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:n[4]||(n[4]=p=>e.changeStep("next"))},t.toDisplayString(e.nextStepTxt),1)):t.createCommentVNode("",!0)])])])])):t.createCommentVNode("",!0),e.type=="tile"?(t.openBlock(),t.createElementBlock("div",pw,[t.createElementVNode("div",hw,t.toDisplayString(c.content),1)])):t.createCommentVNode("",!0)])]),_:2},1032,["visible","location","bgColor","theme","offset","arrowOffset"])],64)):t.createCommentVNode("",!0)]))),128))],2)}const Ba=te(sw,[["render",gw]]),{componentName:BA,create:yw,scope:bw}=G("address"),kw=yw({components:{Location:oe.Location,Location2:oe.Location2,Check:oe.Check,Close:oe.Close,Left:oe.Left,[fe.name]:fe,[Rt.name]:Rt},inheritAttrs:!1,props:{...Fe,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:n}){const{t:a}=ie.useFoxI18n(bw),o=t.ref(null),l=t.ref(null),r=t.ref(e.visible),s=t.ref(e.type),i=t.ref(0),c=t.ref(0),f=t.ref(["province","city","country","town"]),p=t.ref(null),d=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}}),S=I=>{if(!Array.isArray(I))throw new TypeError("params muse be array.");if(!I.length)return[];I.forEach(v=>{if(!v.title){console.warn("[NutUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");return}});const R=[];return I=I.sort((v,W)=>v.title.localeCompare(W.title)),I.forEach(v=>{const W=R.findIndex(H=>H.title===v.title);W<=-1?R.push({title:v.title,list:[].concat(v)}):R[W].list.push(v)}),R};let y=t.ref([]),b=t.reactive({});const k=t.ref("self"),u=t.ref(20),m=()=>{const I=e.modelValue,R=I.length;if(R>0){if(i.value=R-1,h.value.length==0){i.value=0;return}for(let v=0;v<R;v++){let W=[];switch(v){case 0:W=e.province;break;case 1:W=e.city;break;case 2:W=e.country;break;default:W=e.town}y.value[v]=W.filter(H=>H.id==I[v])[0]}C()}},g=(I,R)=>I&&I.name||i.value<R&&I?I.name:e.columnsPlaceholder[R]||a("select"),C=()=>{B(),t.nextTick(()=>{const I=l.value&&l.value.getElementsByClassName("active")[0];if(I){const R=I.offsetLeft;u.value=R||20}})},A=I=>{const R=i.value;c.value=i.value;const v={custom:f.value[R]};y.value[R]=I;for(let W=R+2;W<4;W++)y.value.splice(W,1);R<3?(i.value=R+1,C(),v.next=f.value[i.value],v.value=I,n("change",v)):(E(),n("update:modelValue"))},w=(I,R)=>{c.value=i.value,g(I,R)&&(i.value=R,C())},B=()=>{const I=p.value,R=c.value,v=d.value[i.value];I?.scrollTop&&(d.value[R]=I?.scrollTop),t.nextTick(()=>{I?.scrollTo({top:v,behavior:"auto"})})},T=I=>{const R=e.existAddress;let v={};R.forEach(W=>{W&&W.selectedAddress&&(v=W),W.selectedAddress=!1}),I.selectedAddress=!0,b=I,n("selected",v,I,R),E()},V=()=>{y.value=[],i.value=0,C()},E=(I="self")=>{k.value=I=="cross"?"cross":"self",r.value=!1},$=()=>{k.value="mask"},x=()=>{const I={addressIdStr:"",addressStr:"",province:y.value[0],city:y.value[1],country:y.value[2],town:y.value[3]},R={data:{},type:s.value};["custom","custom2"].includes(s.value)?([0,1,2,3].forEach(v=>{const W=y.value[v];I.addressIdStr+=`${v?"_":""}${W&&W.id||0}`,I.addressStr+=W&&W.name||""}),R.data=I):R.data=b,V(),k.value=="self"?n("close",R):n("close-mask",{closeWay:k}),n("update:visible",!1)},P=()=>{const I=s.value;s.value=I=="exist"?"custom":"exist",V(),n("switch-module",{type:s.value})},D=(I,R)=>{A(R)};return t.watch(()=>e.visible,I=>{r.value=I}),t.watch(()=>r.value,I=>{I&&m()}),{showPopup:r,privateType:s,tabIndex:i,tabName:f,selectedRegion:y,switchModule:P,closeWay:k,close:x,getTabName:g,nextAreaList:A,regionLine:o,tabRegion:l,lineDistance:u,changeRegionTab:w,selectedExist:T,clickOverlay:$,handClose:E,handleElevatorItem:D,initCustomSelected:m,...t.toRefs(e),t:a,regionList:h,transformData:S,scrollDom:p}}}),Sw={class:"fox-address"},Cw={class:"fox-address__header"},ww={class:"fox-address__header__title"},Nw={key:0,class:"fox-address__custom"},Bw={class:"fox-address__region",ref:"tabRegion"},Aw=["onClick"],Tw={key:0,class:"active fox-address__region-item"},Vw={key:0,class:"fox-address__detail"},$w={class:"fox-address__detail-list",ref:"scrollDom"},Ew=["onClick"],Dw={key:1,class:"fox-address__elevator-group"},Iw={key:1,class:"fox-address__exist"},xw={class:"fox-address__exist-group"},qw={class:"fox-address__exist-group-list"},vw=["onClick"],Mw={class:"fox-address__exist-item-info"},Pw={key:0,class:"fox-address__exist-item-info-name"},Lw={key:1,class:"fox-address__exist-item-info-phone"},zw={class:"fox-address__exist-item-info-bottom"},Fw={class:"fox-address__exist-choose-btn"};function Rw(e,n,a,o,l,r){const s=t.resolveComponent("Left"),i=t.resolveComponent("Close"),c=t.resolveComponent("Check"),f=t.resolveComponent("fox-elevator"),p=t.resolveComponent("Location2"),d=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(d,{position:"bottom","lock-scroll":e.lockScroll,onClose:e.close,onClickOverlay:e.clickOverlay,onOpen:n[3]||(n[3]=h=>e.closeWay="self"),visible:e.showPopup,"onUpdate:visible":n[4]||(n[4]=h=>e.showPopup=h),teleportDisable:e.teleportDisable,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",Sw,[t.createElementVNode("view",Cw,[t.createElementVNode("view",{class:"fox-address__header-back",onClick:n[0]||(n[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",ww,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:n[1]||(n[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",Nw,[t.createElementVNode("view",Bw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(h,S)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-address__region-item",S==e.tabIndex?"active":""]),key:S,onClick:y=>e.changeRegionTab(h,S)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(h,S)),1)],10,Aw))),128)),e.tabIndex==e.selectedRegion.length?(t.openBlock(),t.createElementBlock("view",Tw,[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",Vw,[t.createElementVNode("ul",$w,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.regionList,(h,S)=>(t.openBlock(),t.createElementBlock("li",{key:S,class:t.normalizeClass(["fox-address__detail-item",e.selectedRegion[e.tabIndex]?.id==h.id?"active":""]),onClick:y=>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,Ew))),128))],512)])):(t.openBlock(),t.createElementBlock("view",Dw,[t.createVNode(f,{height:e.height,"index-list":e.transformData(e.regionList),onClickItem:e.handleElevatorItem},null,8,["height","index-list","onClickItem"])]))])):(t.openBlock(),t.createElementBlock("view",Iw,[t.createElementVNode("div",xw,[t.createElementVNode("ul",qw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.existAddress,(h,S)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass(["fox-address__exist-group-item",h.selectedAddress?"active":""]),key:S,onClick:y=>e.selectedExist(h)},[h.selectedAddress?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"unselected-icon",{key:0},()=>[t.createVNode(p,{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",Mw,[h.name?(t.openBlock(),t.createElementBlock("div",Pw,t.toDisplayString(h.name),1)):t.createCommentVNode("",!0),h.phone?(t.openBlock(),t.createElementBlock("div",Lw,t.toDisplayString(h.phone),1)):t.createCommentVNode("",!0),t.createElementVNode("div",zw,[t.createElementVNode("view",null,t.toDisplayString(h.provinceName+h.cityName+h.countyName+h.townName+h.addressDetail),1)])])],10,vw))),128))])]),e.isShowCustomAddress?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-address__exist-choose",onClick:n[2]||(n[2]=(...h)=>e.switchModule&&e.switchModule(...h))},[t.createElementVNode("div",Fw,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 Aa=te(kw,[["render",Rw]]),{componentName:Ow,create:Kw}=G("barrage"),Uw=Kw({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 n=new Date().getTime(),a=!!t.useSlots().default,o=t.computed(()=>({[Ow]:!0}));let l=t.ref(document.createElement("div")),r=t.ref(document.createElement("div")),s=null;const i=t.ref(e.danmu),c=t.ref(e.rows),f=t.ref(e.top),p=t.ref(0),d=e.speeds,h=t.ref(0);t.onMounted(()=>{S(),a&&document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"?(b(),p.value=0,y("hidden")):document.visibilityState==="visible"&&S()})}),t.onUnmounted(()=>{i.value=[],b()});const S=()=>{h.value=l.value.offsetWidth,a&&y("init"),setTimeout(()=>{l.value?.style.setProperty("--move-distance",`-${h.value}px`),u()},300)},y=g=>{let A=document.getElementsByClassName("slotBody"+n)?.[0]?.children||[];const w=[];A&&Array.from(A).forEach(B=>{g=="init"?(B.style.opacity="0",w.push(B)):(B.classList="",B.style={})}),g=="init"&&(i.value=w)},b=()=>{s&&(clearTimeout(s),s=null)};t.watch(()=>e.danmu,g=>{e.danmu.length>0&&(i.value=[...g])});const k=g=>{const C=p.value%i.value.length;!e.loop&&p.value===i.value.length?i.value.splice(i.value.length,0,g):i.value.splice(C,0,g)},u=()=>{b(),s=setTimeout(()=>{m()},e.frequency)},m=()=>{const g=e.loop?p.value%i.value.length:p.value;let C=document.createElement("view");a&&typeof i.value[g]=="object"?(C=i.value[g],C?.classList?.add("fox-barrage__item")):(C.innerHTML=i.value[g],C.classList.add("fox-barrage__item"),r.value.appendChild(C)),t.nextTick(()=>{const A=C.offsetHeight;if(C?.classList?.add("move"),C.style.animationDuration=`${d}ms`,C.style.top=g%c.value*(A+f.value)+20+"px",C.style.opacity="1",!a){const w=C.offsetWidth;C.style.width=w+20+"px"}C.addEventListener("animationend",()=>{a?C.classList.remove("move"):r.value.removeChild(C)}),!(!e.loop&&p.value>=i.value.length-1)&&(p.value++,p.value>=i.value.length&&(p.value=0),C.removeEventListener("animationend",()=>{}),u())})};return{classTime:n,classes:o,danmuList:i,dmBody:l,dmContainer:r,add:k}}});function Hw(e,n,a,o,l,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 Ta=te(Uw,[["render",Hw]]),{componentName:jw,create:Ww,scope:Yw}=G("signature"),Xw=Ww({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:{[Le.name]:Le},emits:["start","end","signing","confirm","clear"],setup(e,{emit:n}){const{toLocaleRefs:a}=ie.useFoxI18n(Yw),o=a(e,["unSupportTpl","reSign","confirmText"]),l=t.ref(null),r=t.ref(null),s=t.computed(()=>({[jw]:!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 m=document.createElement("canvas");return!!(m.getContext&&m.getContext("2d"))},f=()=>{l.value.addEventListener(i.events[0],p,!1)},p=m=>{m.preventDefault(),i.ctx.beginPath(),i.ctx.lineWidth=e.lineWidth,i.ctx.strokeStyle=e.strokeStyle,n("start"),l.value.addEventListener(i.events[1],d,!1),l.value.addEventListener(i.events[2],h,!1),l.value.addEventListener(i.events[3],S,!1)},d=m=>{m.preventDefault();let g=i.isSupportTouch?m.touches[0]:m;n("signing",g);let C=l.value.getBoundingClientRect(),A=g.clientX-C.left,w=g.clientY-C.top;i.ctx.lineTo(A,w),i.ctx.stroke()},h=m=>{m.preventDefault(),n("end"),l.value.removeEventListener(i.events[1],d,!1),l.value.removeEventListener(i.events[2],h,!1)},S=m=>{m.preventDefault(),l.value.removeEventListener(i.events[1],d,!1),l.value.removeEventListener(i.events[2],h,!1)},y=()=>{l.value.addEventListener(i.events[2],h,!1),i.ctx.clearRect(0,0,i.canvasWidth,i.canvasHeight),i.ctx.closePath(),n("clear")},b=()=>{u(l.value)},k=m=>{if(!m)return!0;var g=document.createElement("canvas");return g.width=m.width,g.height=m.height,m?.toDataURL()==g.toDataURL()},u=m=>{let g;switch(e.type){case"png":g=m.toDataURL("image/png");break;case"jpg":g=m.toDataURL("image/jpeg",.8);break}const C=k(m)?"请绘制签名":m,A=k(m)?"":g;n("confirm",C,A)};return t.onMounted(()=>{c()&&(i.ctx=l.value.getContext("2d"),i.canvasWidth=r.value.offsetWidth,i.canvasHeight=r.value.offsetHeight,f())}),{...o,...t.toRefs(i),canvas:l,wrap:r,isCanvasSupported:c,confirm:b,clear:y,classes:s}}}),Qw={class:"fox-signature-inner",ref:"wrap"},Gw=["height","width"],Zw={key:0,class:"fox-signature-unsopport"};function Jw(e,n,a,o,l,r){const s=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.createElementVNode("div",Qw,[t.withDirectives(t.createElementVNode("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,Gw),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",Zw,t.toDisplayString(e.unSupportTpl),1))],512),t.createVNode(s,{class:"fox-signature-btn",type:"default",onClick:n[0]||(n[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:n[1]||(n[1]=i=>e.confirm())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.confirmText),1)]),_:1})],2)}const Va=te(Xw,[["render",Jw]]),{componentName:_w,create:eN,scope:tN}=G("time-select"),nN=eN({components:{[fe.name]:fe},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,n)=>{const{t:a}=ie.useFoxI18n(tN),o=t.computed(()=>({[_w]:!0})),l=t.computed(()=>({width:"100%",height:e.height})),r=t.computed(()=>e.currentKey),s=t.computed(()=>e.currentTime),i=()=>{n.emit("update:visible",!1),n.emit("select",s.value)};return t.provide("currentKey",r),t.provide("currentTime",s),{classes:o,popStyle:l,props:e,close:i,t:a}}}),oN={class:"fox-time-select__title"},lN={class:"fox-time-select__title__fixed"},aN={key:0},rN={class:"fox-time-select__content"},sN={class:"fox-time-select__content__pannel"},iN={class:"fox-time-select__content__detail"};function cN(e,n,a,o,l,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",oN,[t.createElementVNode("view",lN,[e.$slots.title?t.renderSlot(e.$slots,"title",{key:1}):(t.openBlock(),t.createElementBlock("span",aN,t.toDisplayString(e.title||e.t("pickupTime")),1))])]),t.createElementVNode("view",rN,[t.createElementVNode("view",sN,[t.renderSlot(e.$slots,"pannel")]),t.createElementVNode("view",iN,[t.renderSlot(e.$slots,"detail")])])],2)]),_:3},8,["teleportDisable","visible","style","lock-scroll","onClickOverlay","onClickCloseIcon"])}const $a=te(nN,[["render",cN]]),{componentName:dN,create:uN}=G("time-pannel"),fN=uN({name:"timepannel",props:{name:{type:String,default:""},pannelKey:{type:[Number,String],default:0}},emits:["change"],setup:(e,n)=>{const a=t.inject("currentKey"),o=t.reactive({currentKey:a}),l=t.computed(()=>({[dN]:!0,"fox-time-pannel--curr":o.currentKey==e.pannelKey})),r=s=>{n.emit("change",s)};return{...t.toRefs(o),classes:l,handlePannel:r}}});function mN(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=s=>e.handlePannel(e.pannelKey))},t.toDisplayString(e.name),3)}const Ea=te(fN,[["render",mN]]),{componentName:pN,create:hN}=G("time-detail"),gN=hN({name:"timedetail",props:{times:{type:Array,default:()=>[]}},emits:["select"],setup:(e,n)=>{const a=t.inject("currentKey"),o=t.inject("currentTime"),l=t.reactive({currentKey:a,currentTime:o}),r=t.computed(()=>({[pN]:!0})),s=f=>{let p=l.currentTime.find(d=>d.key==l.currentKey);if(p)return{"fox-time-detail__detail__list__item":!0,"fox-time-detail__detail__list__item--curr":p.list.filter(d=>d===f).length>0}},i=t.computed(()=>e.times.find(f=>f.key==l.currentKey).list),c=f=>{n.emit("select",f)};return{classes:r,...t.toRefs(l),getClass:s,renderData:i,handleTime:c}}}),yN={class:"fox-time-detail__detail fox-time-detail__detail--moring"},bN={class:"fox-time-detail__detail__list"},kN=["onClick"];function SN(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",yN,[t.createElementVNode("view",bN,[(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,kN))),128))])])],2)}const Da=te(gN,[["render",SN]]),{componentName:AA,create:CN,scope:wN}=G("sku-header"),NN=CN({props:{goods:{type:Object,default:{}}},emits:[],components:{[Je.name]:Je},setup(e,{emit:n,slots:a}){const{t:o}=ie.useFoxI18n(wN);return{getSlots:r=>a[r],t:o}}}),BN={class:"fox-sku-header"},AN=["src"],TN={class:"fox-sku-header-right"},VN={key:3,class:"fox-sku-header-right-extra"};function $N(e,n,a,o,l,r){const s=t.resolveComponent("fox-price");return t.openBlock(),t.createElementBlock("view",BN,[t.createElementVNode("img",{class:"fox-sku-header-img",src:e.goods.imagePath},null,8,AN),t.createElementVNode("view",TN,[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",VN,t.toDisplayString(e.t("skuId"))+" : "+t.toDisplayString(e.goods.skuId),1)):t.createCommentVNode("",!0)])])}const EN=te(NN,[["render",$N]]),{componentName:TA,create:DN}=G("sku-select"),IN=DN({props:{sku:{type:Array,default:()=>[]}},emits:["selectSku"],setup(e,{emit:n}){const a=t.ref([]);return t.watch(()=>e.sku,l=>{a.value=[].slice.call(l)},{deep:!0}),t.onMounted(()=>{e.sku.length>0&&(a.value=[].slice.call(e.sku))}),{skuInfo:a,changeSaleChild:(l,r,s,i)=>{l.checkFlag||l.disable||n("selectSku",{sku:l,skuIndex:r,parentSku:s,parentIndex:i})}}}}),xN={class:"fox-sku-select"},qN={class:"fox-sku-select-item-title"},vN={class:"fox-sku-select-item-skus"},MN=["onClick"];function PN(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("view",xN,[(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",qN,t.toDisplayString(s.name),1),t.createElementVNode("view",vN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,(c,f)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-sku-select-item-skus-sku",[{active:!c.disable&&c.active},{disable:c.disable}]]),onClick:p=>e.changeSaleChild(c,f,s,i),key:c.name},t.toDisplayString(c.name),11,MN))),128))])]))),128))])}const LN=te(IN,[["render",PN]]),{componentName:VA,create:zN}=G("sku-stepper"),FN=zN({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:{[et.name]:et},setup(e,{emit:n}){const a=t.ref(e.stepperMin);return t.onMounted(()=>{a.value=e.stepperMin}),{goodsCount:a,add:c=>{n("add",c)},reduce:c=>{n("reduce",c)},overlimit:(c,f)=>{n("overLimit",{action:f,value:parseInt(a.value+"")})},getExtraText:()=>{const{stepperExtraText:c}=e;return c&<(c)=="function"?c():""},changeStepper:c=>{a.value=c,n("changeStepper",c)}}}}),RN={class:"fox-sku-stepper"},ON={class:"fox-sku-stepper-title"},KN=["innerHTML"],UN={class:"fox-sku-stepper-count"};function HN(e,n,a,o,l,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",RN,[t.createElementVNode("view",ON,t.toDisplayString(e.stepperTitle),1),t.createElementVNode("view",{class:"fox-sku-stepper-limit",innerHTML:e.getExtraText()},null,8,KN),t.createElementVNode("view",UN,[t.createVNode(s,{modelValue:e.goodsCount,"onUpdate:modelValue":n[0]||(n[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 jN=te(FN,[["render",HN]]),{componentName:$A,create:WN}=G("sku-operate"),YN=WN({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:a}){return{getBtnDesc:s=>({confirm:e.confirmText,cart:e.addCartText,buy:e.buyText})[s],clickBtnOperate:s=>{n("clickBtnOperate",s)},getSlots:s=>a[s]}}}),XN={key:0,class:"fox-sku-operate"},QN={key:0,class:"fox-sku-operate-desc"},GN={key:1,class:"fox-sku-operate-btn"},ZN=["onClick"];function JN(e,n,a,o,l,r){return e.btnOptions.length>0?(t.openBlock(),t.createElementBlock("view",XN,[e.btnExtraText?(t.openBlock(),t.createElementBlock("view",QN,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",GN,[(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,ZN))),128))]))])):t.createCommentVNode("",!0)}const _N=te(YN,[["render",JN]]),{componentName:EA,create:eB,scope:tB}=G("sku"),nB=eB({props:{...Fe,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:EN,SkuSelect:LN,SkuStepper:jN,SkuOperate:_N,[fe.name]:fe},setup(e,{emit:n,slots:a}){const{toLocaleRefs:o}=ie.useFoxI18n(tB),l=o(e,["confirmText","buyText","stepperTitle","addCartText"]),r=t.ref(e.visible),s=t.ref(e.stepperMin);t.watch(()=>e.visible,k=>{r.value=k}),t.watch(()=>r.value,k=>{k==!1&&b()}),t.onMounted(()=>{});const i=k=>a[k],c=k=>{n("select-sku",k)},f=k=>{s.value=k,n("change-stepper",k)},p=k=>{n("add",k)},d=k=>{n("reduce",k)},h=k=>{n("over-limit",k)},S=k=>{n("click-btn-operate",{type:k,value:s.value})},y=k=>{k=="icon"&&n("click-close-icon"),k=="overlay"&&n("click-overlay"),k=="close"&&n("close"),r.value=!1},b=()=>{n("update:visible",!1)};return{showPopup:r,closePopup:y,selectSku:c,changeStepper:f,stepperOverLimit:h,clickBtnOperate:S,add:p,reduce:d,getSlots:i,...l}}}),oB={class:"fox-sku"},lB={class:"fox-sku-content"};function aB(e,n,a,o,l,r){const s=t.resolveComponent("sku-header"),i=t.resolveComponent("SkuSelect"),c=t.resolveComponent("sku-stepper"),f=t.resolveComponent("sku-operate"),p=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(p,{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%"},teleportDisable:e.teleportDisable,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",oB,[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",lB,[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(f,{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 Ia=te(nB,[["render",aB]]),{create:rB}=G("card"),sB=rB({components:{[Je.name]:Je,[Zt.name]:Zt},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:n,slots:a}){return{isHaveSlot:l=>a[l]}}}),iB={class:"fox-card"},cB={class:"fox-card__left"},dB=["src"],uB={class:"fox-card__right"},fB={class:"fox-card__right__title"},mB={key:0,class:"fox-card__right__price"},pB={class:"fox-card__right__other"},hB={class:"fox-card__right__shop"},gB={class:"fox-card__right__shop__name"};function yB(e,n,a,o,l,r){const s=t.resolveComponent("fox-price"),i=t.resolveComponent("fox-tag");return t.openBlock(),t.createElementBlock("div",iB,[t.createElementVNode("div",cB,[t.createElementVNode("img",{src:e.imgUrl,alt:""},null,8,dB)]),t.createElementVNode("div",uB,[t.createElementVNode("div",fB,t.toDisplayString(e.title),1),t.renderSlot(e.$slots,"prolist"),e.isNeedPrice?(t.openBlock(),t.createElementBlock("div",mB,[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",pB,[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",hB,[t.createElementVNode("div",gB,t.toDisplayString(e.shopName),1),t.renderSlot(e.$slots,"footer")])])])}const xa=te(sB,[["render",yB]]),{create:bB,scope:kB}=G("ecard"),SB=bB({components:{[et.name]:et},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:n}){const{t:a}=ie.useFoxI18n(kB),o=t.ref(null),l=t.ref(null),r=t.ref(""),s=t.ref(e.cardAmountMin),i=t.ref(e.modelValue),c=(h,S)=>{o.value=S,s.value=e.cardAmountMin,l.value=h.price,n("change",h),n("update:modelValue",h.price)},f=h=>{let y=h.target.value.replace(/[^\d]/g,"");r.value=y,l.value=y,Number(y)>e.cardAmountMax&&(r.value=e.cardAmountMax,l.value=e.cardAmountMax),Number(y)<e.cardAmountMin&&(r.value=e.cardAmountMin,l.value=e.cardAmountMin),n("inputChange",Number(r.value)),n("update:modelValue",Number(r.value))},p=()=>{o.value="input",s.value=e.cardAmountMin,l.value=r.value,n("update:modelValue",r.value),n("inputClick")},d=h=>{s.value=h,n("changeStep",s.value,l.value)};return t.watch(()=>e.modelValue,h=>{i.value=h}),{handleClick:c,changeStep:d,change:f,inputClick:p,stepValue:s,currentIndex:o,inputValue:r,money:i,t:a}}}),CB={class:"fox-ecard"},wB={class:"fox-ecard__title"},NB={class:"fox-ecard__list"},BB=["onClick"],AB={class:"fox-ecard__list__input--con"},TB=["placeholder"],VB={class:"fox-ecard__list__step"};function $B(e,n,a,o,l,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",CB,[t.createElementVNode("view",wB,t.toDisplayString(e.chooseText||e.t("chooseText")),1),t.createElementVNode("view",NB,[(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:f=>e.handleClick(i,c)},t.toDisplayString(i.price),11,BB))),128)),t.createElementVNode("view",{class:t.normalizeClass(["fox-ecard__list__input",e.currentIndex=="input"?"active":""]),onClick:n[2]||(n[2]=(...i)=>e.inputClick&&e.inputClick(...i))},[t.createElementVNode("view",null,t.toDisplayString(e.otherValueText||e.t("otherValueText")),1),t.createElementVNode("view",AB,[t.withDirectives(t.createElementVNode("input",{class:"fox-ecard__list__input--input",type:"text","onUpdate:modelValue":n[0]||(n[0]=i=>e.inputValue=i),onInput:n[1]||(n[1]=(...i)=>e.change&&e.change(...i)),placeholder:e.placeholder||e.t("placeholder")},null,40,TB),[[t.vModelText,e.inputValue]]),t.createTextVNode(" "+t.toDisplayString(e.suffix),1)])],2),t.createElementVNode("view",VB,[t.createElementVNode("view",null,t.toDisplayString(e.suffix)+t.toDisplayString(e.money),1),t.createVNode(s,{modelValue:e.stepValue,"onUpdate:modelValue":n[3]||(n[3]=i=>e.stepValue=i),min:e.cardBuyMin,max:e.cardBuyMax,onChange:e.changeStep},null,8,["modelValue","min","max","onChange"])])])])}const qa=te(SB,[["render",$B]]),{create:EB,scope:DB}=G("address-list-item"),IB=EB({components:{Del:oe.Del,Edit:oe.Edit},props:{item:{type:Object,default:{}}},emits:["delIcon","editIcon","clickItem"],setup(e,{emit:n}){const{t:a}=ie.useFoxI18n(DB);return{delClick:s=>{n("delIcon",s,e.item),s.stopPropagation()},editClick:s=>{n("editIcon",s,e.item),s.stopPropagation()},contentsClick:s=>{n("clickItem",s,e.item),s.stopPropagation()},t:a}}}),xB={class:"fox-address-list-item__info"},qB={class:"fox-address-list-item__info-contact"},vB={class:"fox-address-list-item__info-contact-name"},MB={class:"fox-address-list-item__info-contact-tel"},PB={key:0,class:"fox-address-list-item__info-contact-default"},LB={class:"fox-address-list-item__info-handle"},zB={class:"fox-address-list-item__addr"};function FB(e,n,a,o,l,r){const s=t.resolveComponent("Del"),i=t.resolveComponent("Edit");return t.openBlock(),t.createElementBlock("div",{class:"fox-address-list-item",onClick:n[0]||(n[0]=(...c)=>e.contentsClick&&e.contentsClick(...c))},[t.createElementVNode("div",xB,[t.createElementVNode("div",qB,[t.renderSlot(e.$slots,"content-top",{},()=>[t.createElementVNode("div",vB,t.toDisplayString(e.item.addressName),1),t.createElementVNode("div",MB,t.toDisplayString(e.item.phone),1),e.item.defaultAddress?(t.openBlock(),t.createElementBlock("div",PB,t.toDisplayString(e.t("default")),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",LB,[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",zB,[t.renderSlot(e.$slots,"content-addr",{},()=>[t.createTextVNode(t.toDisplayString(e.item.fullAddress),1)])])])}const Us=te(IB,[["render",FB]]),{create:RB}=G("address-list-general"),OB=RB({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:Us,[Le.name]:Le,[Ut.name]:Ut},setup(e,{emit:n}){const a=()=>t.h(Us,{item:e.item,onDelIcon(A){s(A)},onEditIcon(A){i(A)},onClickItem(A){c(A)}});let o=null;const l=t.ref(!1),r=t.ref(!1),s=A=>{n("delIcon",A,e.item),A.stopPropagation()},i=A=>{n("editIcon",A,e.item),A.stopPropagation()},c=A=>{l.value||(n("clickItem",A,e.item),A.stopPropagation())},f=A=>{n("longDel",A,e.item),A.stopPropagation()},p=A=>{o=0,r.value=!0,n("longDown",A,e.item)};return{renderCompontent:a,showMaskRef:r,clickItem:c,editClick:i,delClick:s,delLongClick:f,holddownstart:A=>{o=setTimeout(()=>{p(A)},300)},holddownmove:()=>{clearTimeout(o)},holddownend:()=>{clearTimeout(o)},copyCLick:A=>{n("longCopy",A,e.item),A.stopPropagation()},hideMaskClick:()=>{r.value=!1},setDefault:A=>{n("longSet",A,e.item),A.stopPropagation()},maskClick:A=>{o!=0&&(r.value=!1),A.stopPropagation(),A.preventDefault()},swipeDelClick:A=>{n("swipeDel",A,e.item),A.stopPropagation()},swipestart:()=>{l.value=!1},swipemove:()=>{l.value=!0}}}}),KB={key:0,class:"fox-address-list-general"},UB={class:"fox-address-list-swipe"};function HB(e,n,a,o,l,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",UB,[(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",KB,[(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:n[3]||(n[3]=(...c)=>e.maskClick&&e.maskClick(...c))},[t.renderSlot(e.$slots,"longpress-all",{},()=>[t.createElementVNode("div",{class:"fox-address-list-general__mask-copy",onClick:n[0]||(n[0]=(...c)=>e.copyCLick&&e.copyCLick(...c))},"复制地址"),t.createElementVNode("div",{class:"fox-address-list-general__mask-set",onClick:n[1]||(n[1]=(...c)=>e.setDefault&&e.setDefault(...c))},"设置默认"),t.createElementVNode("div",{class:"fox-address-list-general__mask-del",onClick:n[2]||(n[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:n[4]||(n[4]=(...c)=>e.hideMaskClick&&e.hideMaskClick(...c))})):t.createCommentVNode("",!0)]))}const jB=te(OB,[["render",HB]]),{componentName:WB,create:YB,scope:XB}=G("address-list"),QB=YB({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:jB,[Le.name]:Le},emits:["delIcon","editIcon","clickItem","longCopy","longSet","longDel","swipeDel","add"],setup(e,{emit:n}){const{t:a}=ie.useFoxI18n(XB),o=t.ref([]),l=t.reactive({id:1,addressName:"",phone:"",defaultAddress:!1,fullAddress:""}),r=t.computed(()=>({[WB]:!0})),s=()=>{Object.keys(e.dataOptions).length>0&&(o.value=e.data.map(b=>rr(l,b,e.dataOptions)))};t.watch(()=>e.data,()=>s(),{deep:!0});const i=(b,k)=>{n("delIcon",b,k),b.stopPropagation()},c=(b,k)=>{n("editIcon",b,k),b.stopPropagation()},f=(b,k)=>{n("clickItem",b,k),b.stopPropagation()},p=(b,k)=>{n("longCopy",b,k),b.stopPropagation()},d=(b,k)=>{n("longSet",b,k),b.stopPropagation()},h=(b,k)=>{n("longDel",b,k),b.stopPropagation()},S=(b,k)=>{n("swipeDel",b,k),b.stopPropagation()},y=b=>{n("add",b),b.stopPropagation()};return t.onMounted(()=>{s()}),{classes:r,clickDelIcon:i,clickEditIcon:c,clickContentItem:f,clickLongCopy:p,clickLongSet:d,clickLongDel:h,clickSwipeDel:S,addAddress:y,dataArray:o,t:a}}});function GB(e,n,a,o,l,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,f)=>(t.openBlock(),t.createBlock(s,{key:f,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:n[0]||(n[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 va=te(QB,[["render",GB]]),{componentName:DA,create:ZB}=G("category"),JB=ZB({props:{type:{type:String,default:"classify"},category:{type:Array,default:[]}},setup(e,{emit:n,slots:a}){const o=t.ref(0),l=t.ref(!1);return{getChildList:s=>{o.value=s,n("change",s)},checkIndex:o,categoryLeft:l}}}),_B={class:"fox-category"},e2={class:"fox-category__cateList"},t2={key:0},n2=["onClick"];function o2(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("div",_B,[t.createElementVNode("div",e2,[e.type=="classify"||e.type=="text"?(t.openBlock(),t.createElementBlock("div",t2,[(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,n2)]))),128))])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")])])}const Ma=te(JB,[["render",o2]]),{componentName:IA,create:l2}=G("category-pane"),a2=l2({props:{type:{type:String,default:"classify"},categoryChild:{type:Array,default:()=>[]},customCategory:{type:Array,default:()=>[]}},setup(e,{emit:n}){return{onChange:o=>{n("onChange",o)}}}}),r2={class:"fox-category-pane"},s2={key:0,class:"fox-category-pane__cateListRight"},i2={class:"fox-category-pane__childTitle"},c2={key:0,class:"fox-category-pane__childItemList"},d2=["onClick"],u2=["src"],f2={class:"fox-category-pane__skuImg"},m2={key:1,class:"fox-category-pane__cateListRight"},p2={class:"fox-category-pane__childTitle"},h2={key:0,class:"fox-category-pane__childItemList"},g2=["onClick"],y2={class:"fox-category-pane__skuName"},b2={key:2,class:"fox-category-pane__selfItemList"},k2=["onClick"];function S2(e,n,a,o,l,r){return t.openBlock(),t.createElementBlock("div",r2,[e.type=="classify"?(t.openBlock(),t.createElementBlock("div",s2,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",i2,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",c2,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,f)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:f,onClick:p=>e.onChange(c)},[t.createElementVNode("img",{class:"fox-category-pane__childImg",src:c.backImg},null,8,u2),t.createElementVNode("div",f2,t.toDisplayString(c?.catName),1)],8,d2))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="text"?(t.openBlock(),t.createElementBlock("div",m2,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",p2,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",h2,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,f)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:f,onClick:p=>e.onChange(c)},[t.createElementVNode("div",y2,t.toDisplayString(c?.catName),1)],8,g2))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="custom"?(t.openBlock(),t.createElementBlock("div",b2,[(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,k2))),128))])):t.createCommentVNode("",!0)])}const Pa=te(a2,[["render",S2]]),{componentName:xA,create:C2}=G("comment-header"),w2=C2({components:{[wt.name]:wt},props:{type:{type:String,default:"default"},info:{type:Object,default:()=>{}},labels:{type:Function,default:()=>""}},emits:["handleClick"],setup(e,{emit:n}){return{handleClick:()=>{n("handleClick")}}}}),N2={class:"fox-comment-header__user"},B2={class:"fox-comment-header__user-avter"},A2=["src"],T2={class:"fox-comment-header__user-score"},V2={key:0,class:"fox-comment-header__time"};function $2(e,n,a,o,l,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:n[1]||(n[1]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.createElementVNode("view",N2,[t.createElementVNode("view",B2,[e.info.avatar?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.info.avatar},null,8,A2)):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",T2,[t.createVNode(s,{modelValue:e.info.score,"onUpdate:modelValue":n[0]||(n[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",V2,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":n[2]||(n[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 E2=te(w2,[["render",$2]]),{componentName:qA,create:D2}=G("comment-images"),I2=D2({props:{type:{type:String,default:"one"},videos:{type:Array,default:()=>[]},images:{type:Array,default:()=>[]}},components:{Right:oe.Right},emits:["click","clickImages"],setup(e,{emit:n}){const a=t.ref(!1),o=t.ref(1),l=t.ref([]);return t.watch(()=>[e.videos,e.images],s=>{s[0].length>0&&s[0].forEach(i=>{i.type="video"}),l.value=s[0].concat(s[1])},{deep:!0}),t.onMounted(()=>{e.videos.length>0&&e.videos.forEach(s=>{s.type="video"}),l.value=e.videos.concat(e.images)}),{isShowImage:a,initIndex:o,showImages:(s,i)=>{const{videos:c,images:f}=e,p=s=="img"?i-c.length:i;n("clickImages",{type:s,index:p,value:s=="img"?f[p]:c[p]})},totalImages:l}}}),x2=["onClick"],q2=["src"],v2=t.createElementVNode("view",{class:"fox-comment-images__play"},null,-1),M2=["onClick"],P2=["src"],L2={key:0,class:"fox-comment-images__mask"};function z2(e,n,a,o,l,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:f=>e.showImages("video",c)},[t.createElementVNode("img",{src:i.mainUrl},null,8,q2),v2],8,x2))),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:f=>e.showImages("img",c+e.videos.length)},[t.createElementVNode("img",{src:i.smallImgUrl?i.smallImgUrl:i.imgUrl},null,8,P2),e.type=="multi"&&e.totalImages.length>9&&e.videos.length+c>7?(t.openBlock(),t.createElementBlock("view",L2,[t.createElementVNode("span",null,"共 "+t.toDisplayString(e.totalImages.length)+" 张",1),t.createVNode(s,{style:{width:"12px"}})])):t.createCommentVNode("",!0)],8,M2)):t.createCommentVNode("",!0)],64))),128))],2)}const F2=te(I2,[["render",z2]]),{componentName:vA,create:R2,scope:O2}=G("comment-bottom"),K2=R2({props:{type:{type:String,default:"base"},info:{type:Object,default:()=>({})},operation:{type:Array,default:["replay","like","more"]}},components:{Fabulous:oe.Fabulous,Comment:oe.Comment,MoreX:oe.MoreX},emits:["clickOperate","handleClick"],setup(e,{emit:n}){const{t:a}=ie.useFoxI18n(O2),o=t.ref(!1),l=t.ref([]);return t.onMounted(()=>{const i=["replay","like","more"];e.operation&&e.operation.forEach(c=>{i.includes(c)&&l.value.push(c)})}),{showPopver:o,operate:i=>{i=="more"&&(o.value=!o.value),n("clickOperate",i)},mergeOp:l,handleClick:()=>{n("handleClick")},t:a}}}),U2={class:"fox-comment-bottom"},H2={key:0},j2={class:"fox-comment-bottom__cpx"},W2=["onClick"];function Y2(e,n,a,o,l,r){const s=t.resolveComponent("Fabulous"),i=t.resolveComponent("Comment"),c=t.resolveComponent("MoreX");return t.openBlock(),t.createElementBlock("view",U2,[t.createElementVNode("view",{onClick:n[0]||(n[0]=(...f)=>e.handleClick&&e.handleClick(...f)),class:"fox-comment-bottom__lable"},[e.type!="complex"?(t.openBlock(),t.createElementBlock("span",H2,t.toDisplayString(e.info.size),1)):t.createCommentVNode("",!0)]),t.createElementVNode("view",j2,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeOp,(f,p)=>(t.openBlock(),t.createElementBlock("view",{key:p,class:t.normalizeClass(["fox-comment-bottom__cpx-item",`fox-comment-bottom__cpx-item--${f}`]),onClick:d=>e.operate(f)},[f!="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",null,t.toDisplayString(e.info[f]),1),f=="like"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))],64)):t.createCommentVNode("",!0),f=="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:n[1]||(n[1]=d=>e.operate("popover"))},t.toDisplayString(e.t("complaintsText")),1)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],10,W2))),128))])])}const X2=te(K2,[["render",Y2]]),{componentName:Q2,create:G2,scope:Z2}=G("comment"),J2=G2({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:E2,CommentImages:F2,CommentBottom:X2,Right:oe.Right},emits:["click","clickImages","clickOperate"],setup(e,{emit:n}){const{t:a}=ie.useFoxI18n(Z2),o=t.computed(()=>({[Q2]:!0})),l=t.computed(()=>e.ellipsis?e.ellipsis:e.headerType=="complex"?6:2);return{classes:o,conEllipsis:l,clickOperate:c=>{n("clickOperate",c)},handleClick:()=>{n("click",e.info)},clickImages:c=>{n("clickImages",c)},t:a}}}),_2=["innerHTML"],eA={class:"fox-comment__follow-title"},tA={class:"fox-comment__follow-com"},nA={key:0,class:"fox-comment__follow-img"};function oA(e,n,a,o,l,r){const s=t.resolveComponent("comment-header"),i=t.resolveComponent("comment-images"),c=t.resolveComponent("Right"),f=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:n[0]||(n[0]=(...p)=>e.handleClick&&e.handleClick(...p)),innerHTML:e.info.content},null,12,_2),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:n[1]||(n[1]=(...p)=>e.handleClick&&e.handleClick(...p))},[t.createElementVNode("view",eA,t.toDisplayString(e.t("additionalReview",e.follow.days)),1),t.createElementVNode("view",tA,t.toDisplayString(e.follow.content),1),e.follow.images&&e.follow.images.length>0?(t.openBlock(),t.createElementBlock("view",nA,[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(f,{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 La=te(J2,[["render",oA]]),lA=[Ao,Vo,$o,Eo,xo,Be,Mo,Po,Lo,zo,Ro,In,jo,Yo,Zo,_o,Kn,Un,el,jn,Wn,nl,ll,bt,al,sl,_n,cl,ul,qn,vn,Mn,pl,hl,gl,ct,yl,bl,kl,Sl,Cl,wl,Le,Nl,Bl,st,fe,Al,Tl,Vl,$l,Ft,El,Dl,Il,xl,ql,vl,Ml,Pl,Ll,Rt,zl,Fl,Rl,Ol,Kl,Ul,Hl,Ot,Gn,Pn,On,Fn,et,wt,kt,jl,Wl,Yl,Ut,Xl,Ql,Gl,Ht,Qn,Zl,ea,Xn,At,oa,la,Gt,aa,ra,Kt,sa,ia,ca,Tt,da,ua,Vt,$t,Je,no,ma,pa,ha,Zt,Jt,ga,ya,ba,ka,Sa,Ca,wa,Na,Ba,Aa,Ta,Va,$a,Ea,Da,Ia,xa,qa,va,Ma,Pa,La],aA=new Ni(lA,"4.0.0");N.ActionSheet=Xl,N.ActionsheetItem=cl,N.ActionsheetPane=_n,N.Address=Aa,N.AddressList=va,N.Animate=Ca,N.Audio=oa,N.AudioOperate=la,N.Avatar=Gt,N.AvatarGroup=aa,N.BackTop=Ql,N.Badge=ha,N.Barrage=Ta,N.Broadcast=bo,N.BroadcastKey=Ne,N.Button=Le,N.Calendar=On,N.CalendarItem=_o,N.Card=xa,N.Cascader=Pn,N.CascaderItem=Yo,N.Category=Ma,N.CategoryPane=Pa,N.Cell=Nl,N.CellGroup=Bl,N.Checkbox=jn,N.CheckboxGroup=Wn,N.CheckboxItem=nl,N.CircleProgress=sa,N.Col=Vl,N.Collapse=ya,N.CollapseItem=ba,N.Comment=La,N.Content=Eo,N.CountDown=pa,N.CountUp=ma,N.DataItemsKey=mt,N.DateItem=Zo,N.DatePicker=Fn,N.DateUtils=ae,N.Dialog=Ht,N.Divider=El,N.Domain=mn,N.DomainKey=Ie,N.DomainProvider=Cl,N.Drag=Gl,N.Dropdown=bl,N.Ecard=qa,N.Elevator=Rt,N.Ellipsis=Sa,N.Empty=ca,N.FixedNav=ql,N.FloatingButton=hl,N.FooterBar=$o,N.FoxActionSheet=Xl,N.FoxActionsheetItem=cl,N.FoxActionsheetPane=_n,N.FoxAddress=Aa,N.FoxAddressList=va,N.FoxAnimate=Ca,N.FoxAudio=oa,N.FoxAudioOperate=la,N.FoxAvatar=Gt,N.FoxAvatarGroup=aa,N.FoxBackTop=Ql,N.FoxBadge=ha,N.FoxBarrage=Ta,N.FoxButton=Le,N.FoxCalendar=On,N.FoxCalendarItem=_o,N.FoxCard=xa,N.FoxCascader=Pn,N.FoxCascaderItem=Yo,N.FoxCategory=Ma,N.FoxCategoryPane=Pa,N.FoxCell=Nl,N.FoxCellGroup=Bl,N.FoxCheckbox=jn,N.FoxCheckboxGroup=Wn,N.FoxCheckboxItem=nl,N.FoxCircleProgress=sa,N.FoxCol=Vl,N.FoxCollapse=ya,N.FoxCollapseItem=ba,N.FoxComment=La,N.FoxContent=Eo,N.FoxCountDown=pa,N.FoxCountUp=ma,N.FoxDateItem=Zo,N.FoxDatePicker=Fn,N.FoxDialog=Ht,N.FoxDivider=El,N.FoxDomainProvider=Cl,N.FoxDrag=Gl,N.FoxDropdown=bl,N.FoxEcard=qa,N.FoxElevator=Rt,N.FoxEllipsis=Sa,N.FoxEmpty=ca,N.FoxFixedNav=ql,N.FoxFloatingButton=hl,N.FoxFooterBar=$o,N.FoxGrid=Dl,N.FoxGridItem=Il,N.FoxGroup=xo,N.FoxHeaderBar=Vo,N.FoxHintText=bt,N.FoxImage=Al,N.FoxImagePreview=no,N.FoxIndicator=Ol,N.FoxInfiniteLoading=Qn,N.FoxInputItem=Lo,N.FoxInputNumber=et,N.FoxInputnumberItem=ul,N.FoxItem=Be,N.FoxLayout=Tl,N.FoxLinkItem=al,N.FoxList=ra,N.FoxMapping=Sl,N.FoxMenu=vl,N.FoxMenuItem=Ml,N.FoxMessageBox=ct,N.FoxMoneyItem=zo,N.FoxMoreButton=gl,N.FoxNavbar=xl,N.FoxNoticeBar=ia,N.FoxNotify=ea,N.FoxNumberKeyboard=Yl,N.FoxOverLay=st,N.FoxPage=Ao,N.FoxPagination=zl,N.FoxPicker=kt,N.FoxPickerItem=jo,N.FoxPopover=Jt,N.FoxPopup=fe,N.FoxPopupWrapper=yl,N.FoxPrice=Je,N.FoxProgress=Kt,N.FoxPullRefresh=Zl,N.FoxRadio=Kn,N.FoxRadioGroup=Un,N.FoxRadioItem=el,N.FoxRange=Ot,N.FoxRate=wt,N.FoxRateItem=sl,N.FoxRollingProvider=wl,N.FoxRow=$l,N.FoxRowItem=Mo,N.FoxSearchBar=Gn,N.FoxShortPassword=jl,N.FoxSideNavBar=Kl,N.FoxSideNavBarItem=Ul,N.FoxSignature=Va,N.FoxSkeleton=ga,N.FoxSku=Ia,N.FoxSlotItem=Po,N.FoxStep=ua,N.FoxSteps=da,N.FoxStepsBar=pl,N.FoxSticky=Ft,N.FoxSubSideNavBar=Hl,N.FoxSwipe=Ut,N.FoxSwiper=Vt,N.FoxSwiperItem=$t,N.FoxSwitch=Xn,N.FoxSwitchItem=ll,N.FoxTabPane=Rl,N.FoxTabbar=Pl,N.FoxTabbarItem=Ll,N.FoxTable=ka,N.FoxTabs=Fl,N.FoxTabsBar=qn,N.FoxTabsContainer=vn,N.FoxTabsPane=Mn,N.FoxTag=Zt,N.FoxText=kl,N.FoxTextarea=In,N.FoxTextareaItem=Ro,N.FoxTimeDetail=Da,N.FoxTimePannel=Ea,N.FoxTimeSelect=$a,N.FoxToast=At,N.FoxTour=Ba,N.FoxTrendArrow=Na,N.FoxUploader=Wl,N.FoxVideo=Tt,N.FoxWaterMark=wa,N.Grid=Dl,N.GridItem=Il,N.Group=xo,N.HeaderBar=Vo,N.HintText=bt,N.Image=Al,N.ImagePreview=no,N.Indicator=Ol,N.InfiniteLoading=Qn,N.InputItem=Lo,N.InputNumber=et,N.InputnumberItem=ul,N.Item=Be,N.Layout=Tl,N.LinkItem=al,N.List=ra,N.Mapping=Sl,N.Menu=vl,N.MenuItem=Ml,N.MessageBox=ct,N.MoneyItem=zo,N.MoreButton=gl,N.Navbar=xl,N.NoticeBar=ia,N.Notify=ea,N.NumberKeyboard=Yl,N.OverLay=st,N.Page=Ao,N.Pagination=zl,N.Picker=kt,N.PickerItem=jo,N.Popover=Jt,N.Popup=fe,N.PopupWrapper=yl,N.Price=Je,N.PriorityPolicy=kn,N.Progress=Kt,N.PullRefresh=Zl,N.Radio=Kn,N.RadioGroup=Un,N.RadioItem=el,N.Range=Ot,N.Rate=wt,N.RateItem=sl,N.RollingProvider=wl,N.Row=$l,N.RowItem=Mo,N.SearchBar=Gn,N.ShortPassword=jl,N.SideNavBar=Kl,N.SideNavBarItem=Ul,N.Signature=Va,N.Skeleton=ga,N.Sku=Ia,N.SlotItem=Po,N.Step=ua,N.Steps=da,N.StepsBar=pl,N.Sticky=Ft,N.SubSideNavBar=Hl,N.Swipe=Ut,N.Swiper=Vt,N.SwiperItem=$t,N.Switch=Xn,N.SwitchItem=ll,N.TabPane=Rl,N.Tabbar=Pl,N.TabbarItem=Ll,N.Table=ka,N.Tabs=Fl,N.TabsBar=qn,N.TabsContainer=vn,N.TabsPane=Mn,N.Tag=Zt,N.Text=kl,N.Textarea=In,N.TextareaItem=Ro,N.TimeDetail=Da,N.TimePannel=Ea,N.TimeSelect=$a,N.Toast=At,N.Tour=Ba,N.TrendArrow=Na,N.UniqueID=En,N.Uploader=Wl,N.ValidateSchema=ur,N.ValidateSchemaKey=Pe,N.Video=Tt,N.WaterMark=wa,N.cancelRaf=Fa,N.clamp=He,N.clearNonNumber=go,N.clone=po,N.compareTo=fo,N.createBroadcast=sn,N.createValidateSchema=dn,N.debounce=ft,N.debounceRef=fi,N.decimalLength=lr,N.default=aA,N.defineBroadcast=oi,N.defineConfigDomain=mr,N.defineDataItem=hr,N.defineDomain=Co,N.defineItem=Te,N.definePageState=gr,N.defineSimpleItem=ht,N.deleteGlobalValidator=ii,N.disabledProperty=Ee,N.divide=uo,N.excludeProps=ut,N.extend=ot,N.floatData=rr,N.getGlobalIcons=wn,N.getGlobalValidateCheckEvents=ir,N.getGlobalValidateResetEvents=dr,N.getPageContentAreaHeight=yn,N.getPageContentAreaWidth=bn,N.getPageFooterAreaHeight=gn,N.getPageHeaderAreaHeight=hn,N.getRootDomain=pt,N.hasSymbol=Za,N.includeProps=Se,N.indexOf=ti,N.installRules=pr,N.integerLength=or,N.isArray=on,N.isArrayLike=_a,N.isBrowser=nt,N.isDate=Ue,N.isESModule=Gs,N.isEmptyString=ue,N.isEqual=Me,N.isFunction=ln,N.isHidden=rn,N.isInnerPage=hi,N.isMap=Ys,N.isNil=Xa,N.isNumberString=nr,N.isObject=De,N.isPlainObject=mo,N.isPromise=dt,N.isRegExp=tr,N.isSet=Xs,N.isString=Qa,N.isSubPage=gi,N.isSymbol=Qs,N.isTouch=Oo,N.isWindow=Ja,N.lastIndexOf=ni,N.makeArray=ei,N.merge=er,N.multiply=ja,N.negate=Wa,N.nextTick=Js,N.numberFormat=nn,N.objectToString=Ga,N.once=mi,N.overrideGlobalIcons=Ii,N.overrideGlobalValidateHandler=ri,N.padZero=at,N.preventDefault=yo,N.property=Ve,N.raf=Ke,N.readonlyProperty=$e,N.setGlobalValidateCheckEvents=ci,N.setGlobalValidateHandler=ai,N.setGlobalValidateMessages=ui,N.setGlobalValidateResetEvents=di,N.setGlobalValidator=si,N.throttle=fn,N.toBoolean=he,N.toNumber=me,N.toPadding=ze,N.toPx=de,N.toPxDesc=ge,N.toTypeString=an,N.toValue=ve,N.tryTimes=ko,N.typeOf=lt,N.unNumberFormat=Ya,N.updatePageState=wo,N.useBroadcast=It,N.useDomain=je,N.useExpose=xe,N.useInnerSize=Cn,N.usePageState=pn,N.usePosition=Vr,N.useRawTouch=Ko,N.useRect=qe,N.useSize=To,N.useTouch=_e,N.valueLength=ke,Object.defineProperties(N,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|