UNPKG

@fox-js/foxui-pc

Version:

Fox PC端UI框架

1 lines 317 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.FoxUI=e():t.FoxUI=e()}(self,(function(){return function(){var t={7793:function(t){self,t.exports=function(){"use strict";var t={465:function(t,e){function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t){for(var e="",n=t.length,r=t.split(".")[1],i=r?r.length:0,o=0;o<n;o++)t[o]>="0"&&t[o]<="9"?e+=9-parseInt(t[o]):e+=t[o];return l(e,i>0?"0."+new Array(i).join("0")+"1":"1")}function o(t){var e=t.split(".");for(e[0]||(e[0]="0");"0"==e[0][0]&&e[0].length>1;)e[0]=e[0].substring(1);return e[0]+(e[1]?"."+e[1]:"")}function a(t,e){var n=t.split("."),r=e.split("."),i=n[0].length,o=r[0].length;return i>o?r[0]=new Array(Math.abs(i-o)+1).join("0")+(r[0]?r[0]:""):n[0]=new Array(Math.abs(i-o)+1).join("0")+(n[0]?n[0]:""),i=n[1]?n[1].length:0,o=r[1]?r[1].length:0,(i||o)&&(i>o?r[1]=(r[1]?r[1]:"")+new Array(Math.abs(i-o)+1).join("0"):n[1]=(n[1]?n[1]:"")+new Array(Math.abs(i-o)+1).join("0")),[t=n[0]+(n[1]?"."+n[1]:""),e=r[0]+(r[1]?"."+r[1]:"")]}function l(t,e){var r=n(a(t,e),2);t=r[0],e=r[1];for(var i="",o=0,l=t.length-1;l>=0;l--)if("."!==t[l]){var s=parseInt(t[l])+parseInt(e[l])+o;i=s%10+i,o=Math.floor(s/10)}else i="."+i;return o?o.toString()+i:i}Object.defineProperty(e,"__esModule",{value:!0}),e.pad=e.trim=e.add=void 0,e.add=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",r=0,s=-1;"-"==t[0]&&(r++,s=1,(t=t.substring(1)).length),"-"==e[0]&&(r++,s=2,(e=e.substring(1)).length),t=o(t),e=o(e);var u=n(a(o(t),o(e)),2);t=u[0],e=u[1],1==r&&(1==s?t=i(t):e=i(e));var c=l(t,e);return r?2==r?"-"+o(c):t.length<c.length?o(c.substring(1)):"-"+o(i(c)):o(c)},e.trim=o,e.pad=a},152:function(t,e,n){function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.compareTo=void 0;var i=n(465);e.compareTo=function(t,e){var n=!1;if("-"==t[0]&&"-"!=e[0])return-1;if("-"!=t[0]&&"-"==e[0])return 1;"-"==t[0]&&"-"==e[0]&&(t=t.substr(1),e=e.substr(1),n=!0);var o=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),2!==o.length);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return o}}(t)||function(t,e){if(t){if("string"==typeof t)return r(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,2):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,i.pad)(t,e));if(t=o[0],e=o[1],0==t.localeCompare(e))return 0;for(var a=0;a<t.length;a++)if(t[a]!=e[a])return t[a]>e[a]?n?-1:1:n?1:-1;return 0}},753:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.divide=void 0;var r=n(465),i=n(698);e.divide=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8;if(0==e)throw new Error("Cannot divide by 0");if(t=t.toString(),e=e.toString(),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),0==t)return"0";var o=0;"-"==e[0]&&(e=e.substring(1),o++),"-"==t[0]&&(t=t.substring(1),o++);var a=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(e=(0,r.trim)(e.replace(".","")),a>=0){var l=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(-1==l)t=(0,r.trim)(t+new Array(a+1).join("0"));else if(a>l)t=t.replace(".",""),t=(0,r.trim)(t+new Array(a-l+1).join("0"));else if(a<l){var s=(t=t.replace(".","")).length-l+a;t=(0,r.trim)(t.substring(0,s)+"."+t.substring(s))}else a==l&&(t=(0,r.trim)(t.replace(".","")))}var u=0,c=e.length,f="",d=t.indexOf(".")>-1&&t.indexOf(".")<c?t.substring(0,c+1):t.substring(0,c);if(t=t.indexOf(".")>-1&&t.indexOf(".")<c?t.substring(c+1):t.substring(c),d.indexOf(".")>-1){var h=d.length-d.indexOf(".")-1;c>(d=d.replace(".","")).length&&(h+=c-d.length,d+=new Array(c-d.length+1).join("0")),u=h,f="0."+new Array(h).join("0")}for(n+=2;u<=n;){for(var p=0;parseInt(d)>=parseInt(e);)d=(0,r.add)(d,"-"+e),p++;f+=p,t?("."==t[0]&&(f+=".",u++,t=t.substring(1)),d+=t.substring(0,1),t=t.substring(1)):(u||(f+="."),u++,d+="0")}return(1==o?"-":"")+(0,r.trim)((0,i.roundOff)(f,n-2))}},144:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.modulus=void 0;var r=n(753),i=n(698),o=n(850),a=n(507),l=n(581);function s(t){if(-1!=t.indexOf("."))throw new Error("Modulus of non-integers not supported")}e.modulus=function(t,e){if(0==e)throw new Error("Cannot divide by 0");t=t.toString(),e=e.toString(),s(t),s(e);var n="";return"-"==t[0]&&(n="-",t=t.substr(1)),"-"==e[0]&&(e=e.substr(1)),n+(0,a.subtract)(t,(0,o.multiply)(e,(0,i.roundOff)((0,r.divide)(t,e),0,l.RoundingModes.FLOOR)))}},850:function(t,e){function n(t){for(;"0"==t[0];)t=t.substr(1);if(-1!=t.indexOf("."))for(;"0"==t[t.length-1];)t=t.substr(0,t.length-1);return""==t||"."==t?t="0":"."==t[t.length-1]&&(t=t.substr(0,t.length-1)),"."==t[0]&&(t="0"+t),t}Object.defineProperty(e,"__esModule",{value:!0}),e.multiply=void 0,e.multiply=function(t,e){t=t.toString(),e=e.toString();var r=0;"-"==t[0]&&(r++,t=t.substr(1)),"-"==e[0]&&(r++,e=e.substr(1)),t=n(t),e=n(e);var i=0,o=0;-1!=t.indexOf(".")&&(i=t.length-t.indexOf(".")-1),-1!=e.indexOf(".")&&(o=e.length-e.indexOf(".")-1);var a=i+o;if(t=n(t.replace(".","")),e=n(e.replace(".","")),t.length<e.length){var l=t;t=e,e=l}if("0"==e)return"0";for(var s,u,c=e.length,f=0,d=[],h=c-1,p="",m=0;m<c;m++)d[m]=t.length-1;for(var v=0;v<2*t.length;v++){for(var g=0,y=e.length-1;y>=h&&y>=0;y--)d[y]>-1&&d[y]<t.length&&(g+=parseInt(t[d[y]--])*parseInt(e[y]));g+=f,f=Math.floor(g/10),p=g%10+p,h--}return p=n((s=p,0==(u=a)?s:(s=u>=s.length?new Array(u-s.length+1).join("0")+s:s).substr(0,s.length-u)+"."+s.substr(s.length-u,u))),1==r&&(p="-"+p),p}},698:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.roundOff=void 0;var r=n(581);function i(t,e,n,i){if(!t||t===new Array(t.length+1).join("0"))return!1;if(i===r.RoundingModes.DOWN||!n&&i===r.RoundingModes.FLOOR||n&&i===r.RoundingModes.CEILING)return!1;if(i===r.RoundingModes.UP||n&&i===r.RoundingModes.FLOOR||!n&&i===r.RoundingModes.CEILING)return!0;var o="5"+new Array(t.length).join("0");if(t>o)return!0;if(t<o)return!1;switch(i){case r.RoundingModes.HALF_DOWN:return!1;case r.RoundingModes.HALF_UP:return!0;case r.RoundingModes.HALF_EVEN:default:return parseInt(e[e.length-1])%2==1}}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e||(e=1),"number"==typeof t&&t.toString();for(var n="",r=t.length-1;r>=0;r--){var i=parseInt(t[r])+e;10==i?(e=1,i=0):e=0,n+=i}return e&&(n+=e),n.split("").reverse().join("")}e.roundOff=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.RoundingModes.HALF_EVEN;if(a===r.RoundingModes.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");"number"==typeof e&&(e=e.toString());var l=!1;"-"===e[0]&&(l=!0,e=e.substring(1));var s=e.split("."),u=s[0],c=s[1];if(n<0){if(n=-n,u.length<=n)return"0";var f=u.substr(0,u.length-n);return(l?"-":"")+(f=t(e=f+"."+u.substr(u.length-n)+c,0,a))+new Array(n+1).join("0")}if(0==n)return u.length,i(s[1],u,l,a)?(l?"-":"")+o(u):(l?"-":"")+u;if(!s[1])return(l?"-":"")+u+"."+new Array(n+1).join("0");if(s[1].length<n)return(l?"-":"")+u+"."+s[1]+new Array(n-s[1].length+1).join("0");c=s[1].substring(0,n);var d=s[1].substring(n);return d&&i(d,c,l,a)&&(c=o(c)).length>n?(l?"-":"")+o(u,parseInt(c[0]))+"."+c.substring(1):(l?"-":"")+u+"."+c}},581:function(t,e){var n;Object.defineProperty(e,"__esModule",{value:!0}),e.RoundingModes=void 0,(n=e.RoundingModes||(e.RoundingModes={}))[n.CEILING=0]="CEILING",n[n.DOWN=1]="DOWN",n[n.FLOOR=2]="FLOOR",n[n.HALF_DOWN=3]="HALF_DOWN",n[n.HALF_EVEN=4]="HALF_EVEN",n[n.HALF_UP=5]="HALF_UP",n[n.UNNECESSARY=6]="UNNECESSARY",n[n.UP=7]="UP"},507:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.negate=e.subtract=void 0;var r=n(465);function i(t){return"-"==t[0]?t.substr(1):"-"+t}e.subtract=function(t,e){return t=t.toString(),e=i(e=e.toString()),(0,r.add)(t,e)},e.negate=i}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}var r={};return function(){var t=r;function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(465),l=n(698),s=n(850),u=n(753),c=n(144),f=n(152),d=n(507),h=n(581),p=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0";i(this,t),this.value=t.validate(e)}var n,r,p;return n=t,r=[{key:"getValue",value:function(){return this.value}},{key:"getPrettyValue",value:function(e,n){return t.getPrettyValue(this.value,e,n)}},{key:"round",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.RoundingModes.HALF_EVEN;if(isNaN(e))throw Error("Precision is not a number: "+e);return new t((0,l.roundOff)(this.value,e,n))}},{key:"floor",value:function(){return-1===this.value.indexOf(".")?new t(this.value):new t(this.value).round(0,h.RoundingModes.FLOOR)}},{key:"ceil",value:function(){return-1===this.value.indexOf(".")?new t(this.value):new t(this.value).round(0,h.RoundingModes.CEILING)}},{key:"add",value:function(e){return new t((0,a.add)(this.value,e.getValue()))}},{key:"subtract",value:function(e){return new t((0,d.subtract)(this.value,e.getValue()))}},{key:"multiply",value:function(e){return new t((0,s.multiply)(this.value,e.getValue()))}},{key:"divide",value:function(e,n){return new t((0,u.divide)(this.value,e.getValue(),n))}},{key:"modulus",value:function(e){return new t((0,c.modulus)(this.value,e.getValue()))}},{key:"compareTo",value:function(t){return(0,f.compareTo)(this.value,t.getValue())}},{key:"negate",value:function(){return new t((0,d.negate)(this.value))}}],p=[{key:"validate",value:function(t){if(t){if(t=t.toString(),isNaN(t))throw Error("Parameter is not a number: "+t);"+"==t[0]&&(t=t.substring(1))}else t="0";if(t.startsWith(".")?t="0"+t:t.startsWith("-.")&&(t="-0"+t.substr(1)),/e/i.test(t)){var n=(2,function(t){if(Array.isArray(t))return t}(l=t.split(/[eE]/))||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),2!==o.length);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return o}}(l)||function(t,n){if(t){if("string"==typeof t)return e(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,2):void 0}}(l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=n[0],i=n[1],o="";"-"==(r=(0,a.trim)(r))[0]&&(o="-",r=r.substring(1)),r.indexOf(".")>=0?(i=parseInt(i)+r.indexOf("."),r=r.replace(".","")):i=parseInt(i)+r.length,t=r.length<i?o+r+new Array(i-r.length+1).join("0"):r.length>=i&&i>0?o+(0,a.trim)(r.substring(0,i))+(r.length>i?"."+r.substring(i):""):o+"0."+new Array(1-i).join("0")+r}var l;return t}},{key:"getPrettyValue",value:function(e,n,r){if(n||r){if(!n||!r)throw Error("Illegal Arguments. Should pass both digits and separator or pass none")}else n=3,r=",";var i="-"==(e=t.validate(e)).charAt(0);i&&(e=e.substring(1));for(var o=e.indexOf("."),a="",l=o=o>0?o:e.length;l>0;)l<n?(n=l,l=0):l-=n,a=e.substring(l,l+n)+(l<o-n&&l>=0?r:"")+a;return(i?"-":"")+a+e.substring(o)}},{key:"round",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.RoundingModes.HALF_EVEN;if(e=t.validate(e),isNaN(n))throw Error("Precision is not a number: "+n);return(0,l.roundOff)(e,n,r)}},{key:"floor",value:function(e){return-1===(e=t.validate(e)).indexOf(".")?e:t.round(e,0,h.RoundingModes.FLOOR)}},{key:"ceil",value:function(e){return-1===(e=t.validate(e)).indexOf(".")?e:t.round(e,0,h.RoundingModes.CEILING)}},{key:"add",value:function(e,n){return e=t.validate(e),n=t.validate(n),(0,a.add)(e,n)}},{key:"subtract",value:function(e,n){return e=t.validate(e),n=t.validate(n),(0,d.subtract)(e,n)}},{key:"multiply",value:function(e,n){return e=t.validate(e),n=t.validate(n),(0,s.multiply)(e,n)}},{key:"divide",value:function(e,n,r){return e=t.validate(e),n=t.validate(n),(0,u.divide)(e,n,r)}},{key:"modulus",value:function(e,n){return e=t.validate(e),n=t.validate(n),(0,c.modulus)(e,n)}},{key:"compareTo",value:function(e,n){return e=t.validate(e),n=t.validate(n),(0,f.compareTo)(e,n)}},{key:"negate",value:function(e){return e=t.validate(e),(0,d.negate)(e)}}],r&&o(n.prototype,r),p&&o(n,p),Object.defineProperty(n,"prototype",{writable:!1}),t}();p.RoundingModes=h.RoundingModes,t.default=p}(),r}()},7863:function(t,e){"use strict";e.e5=e.Ys=e.Kf=e.kS=void 0;var n=new Map,r=new Map;function i(t,e,i){if(i){var o=r.get(i);o||(o=new Map,r.set(i,o)),o.set(t,e)}else n.set(t,e)}e.kS=i,e.Kf=function(t,e){var i=null;if(e){var o=r.get(e);o&&(i=o.get(t))}return i||(i=n.get(t)),i},e.Ys=function(t,e){for(var n in t)i(n,t[n],e)},e.e5=function(t){r.delete(t)}},2691:function(t,e){"use strict";e.g=void 0,e.g=function(t){return t.$route&&t.$route.params&&t.$route.params.microAppName}},4549:function(t,e){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(void 0,o=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e);if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(i.key,"string"),"symbol"===n(o)?o:String(o)),i)}var o}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t){var e={key:""},n=t.toLocaleLowerCase().split("+");if(1==n.length)return e.key=n[0],e;for(var r=0;r<n.length-1;r++){var i=n[r];"alt"===i?e.altKey=!0:"meta"===i?e.metaKey=!0:"ctrl"===i?e.ctrlKey=!0:"shift"===i&&(e.shiftKey=!0)}return e.key=n[n.length-1],e}e.l3=e.p6=e.wh=void 0;var l=["altKey","metaKey","ctrlKey","shiftKey"];function s(t,e){var n;if((null!==(n=t.key)&&void 0!==n?n:"").toLocaleLowerCase()!==e.key)return!1;var r,i=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){s=!0,a=t},f:function(){try{l||null==n.return||n.return()}finally{if(s)throw a}}}}(l);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(!0===e[a]&&!0!==t[a])return!1}}catch(t){i.e(t)}finally{i.f()}return!0}function u(t,e,n){var r=a(t);return function(t){if(s(t,r)){try{Reflect.apply(e,n,[])}catch(t){console.error(t)}t.preventDefault()}}}var c=i((function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.key=e,this.callback=n,this.listener=r})),f=new WeakMap;e.wh=function(t,e){return s(t,a(e))},e.p6=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=u(e,n,r);t.addEventListener("keyup",i,{capture:!0});var o=new c(e,n,i),a=f.get(t);return a||(a=[],f.set(t,a)),a.push(o),!0},e.l3=function(t,e,n){var r=-1,i=null,o=f.get(t);if(!o)return!1;for(var a=0;a<o.length;a++){var l=o[a];if(l.key===e&&l.callback===n){r=a,i=l;break}}return-1!==r&&(o.splice(r,1),t.removeEventListener("keyup",i.listener),0===o.length&&f.delete(t),!0)}},8465:function(t,e,n){"use strict";e.K=void 0;var r=n(6729),i=n(4688);function o(t,e){var n=function(t){return r.Domain.getDomainProperty(t,"navigateEventTriggerPolicy","none")}(t);if("inPage"===n&&"focus"!==e){var o=(0,i.getPageContext)(t);if(!o)return!0;var a=o.$el,l=document.activeElement,s=a.contains(l);if(!s){var u=t.$el;if(!a.contains(u))return!0}return s}return"ignore"!==n}e.K=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(t.pageScope)if("blur"==e)setTimeout((function(){o(t,e)&&Reflect.apply(t.$emit,t,[e].concat(r))}),0);else if("focus"==e){if(!o(t,e))return;Reflect.apply(t.$emit,t,[e].concat(r))}else Reflect.apply(t.$emit,t,[e].concat(r));else Reflect.apply(t.$emit,t,[e].concat(r))}},4688:function(t,e,n){"use strict";n.r(e),n.d(e,{countTextWidth:function(){return d},getDataValue:function(){return m},getPageContext:function(){return b},isEmptyObject:function(){return s},isEmptyString:function(){return l},isPageContext:function(){return y},isPromiseType:function(){return h},renderText:function(){return f},setData:function(){return p},setDataValue:function(){return v},toBoolean:function(){return u},toNumber:function(){return c}});var r=n(3269),i=n(4108),o=n(2865);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}var l=function(t){return null==t||"string"==typeof t&&0==t.length},s=function(t){return null==t||!(!Array.isArray(t)||0!=t.length)||"object"===a(t)&&0===Object.keys(t).length||"string"==typeof t&&0===t.length};function u(t){return null!=t&&("boolean"==typeof t?t:"string"==typeof t?"true"===t.toLowerCase():"true"==="".concat(t).toLowerCase())}function c(t){return Number(t)}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(-1==e)return t;var n=e;return(t=t.replace("\n","").trim()).length<=n?t:(t=t.substring(0,n-1),t+="...")}function d(t,e,n){if(!i.j)return t.length*e;var r=(0,o.M)().createElement("span");t=t.replace(/\\n/g," ").replace(/\\r/g," "),r.innerText=t,r.style.fontSize=e,n.appendChild(r);var a=r.offsetWidth;return n.removeChild(r),a}function h(t){return null!=t&&-1!==t.toString().indexOf("Promise")}function p(t,e,n,r){for(var i in t){var o=t[i],l=i;if(n&&n.length>0&&(l="".concat(n,".").concat(i)),Reflect.has(e,i)&&("function"!=typeof r||Reflect.apply(r,this,[l,t])))if(null==o||"object"!=a(o)||Array.isArray(o))e[i]=o;else{var s=e[i];if(null==s)continue;"object"!=a(s)||s instanceof Date?e[i]=o:p(o,s,l,r)}}}function m(t,e,n){if(null!=t){var r=e[n],i=r.indexOf("["),o=r.indexOf("]");if(i>0&&o===r.length-1){var l=r.substring(0,i),s=Number(r.substring(i+1,o)),u=t[l];if(null==u)return;return n<e.length-1?m(u[s],e,n+1):u[s]}if(n<e.length-1){var c=t[r];if(null==c||void 0===c)return;return"object"==a(c)?m(c,e,n+1):void 0}return t[r]}}function v(t,e,n,r){if(null!=t){var i=e[n],o=i.indexOf("["),l=i.indexOf("]");if(o>0&&l===i.length-1){var s=i.substring(0,o),u=Number(i.substring(o+1,l)),c=t[s];if(null==c)return;if(n<e.length-1){var f=c[u];"object"==a(f)&&v(f,e,n+1,r)}else c[u]=r}else if(n<e.length-1){var d=t[i];if(null==d)return;"object"==a(d)&&v(d,e,n+1,r)}else t[i]=r}}var g=Symbol.for("$ProxyView");function y(t){if(t&&t.$children&&1==t.$children.length){var e=t.$children[0];return e&&e._data&&!0===e._data[r.Ke]}return!1}function b(t){var e=t&&t.$vnode&&t.$vnode.context;return!e||i.j&&e.$el===(0,o.M)().body?null:(e.$data&&e.$data[g]&&(e=e.$vnode.context),e._provided&&void 0!==e._provided.customRoot&&(e=b(e)),t.pageScope&&!y(e)&&(e=b(e)),e)}},3269:function(t,e,n){"use strict";n.d(e,{AS:function(){return a},Ke:function(){return i},Kp:function(){return o},Xq:function(){return r},_d:function(){return s},oh:function(){return u},on:function(){return l}});var r=function(t){return null!=t},i=Symbol("$PageView"),o=Symbol("$PageHeaderView"),a=Symbol("$PageFooterView"),l=Symbol.for("$DynamicView"),s=Symbol("$GroupView"),u=Symbol("$GroupItemView")},2865:function(t,e,n){"use strict";n.d(e,{M:function(){return r}}),n(4108);var r=function(){return window.document}},6729:function(t,e,n){"use strict";n.r(e),n.d(e,{$Domain:function(){return w},$DomainItem:function(){return S},$RootDomain:function(){return x},Domain:function(){return M},attrKey2PropsKey:function(){return $},defineDomain:function(){return H},getContext:function(){return V},getFirstDomain:function(){return F},getProperty:function(){return E},getVmProperty:function(){return j},release:function(){return q},useDomain:function(){return z}});var r=n(3269),i=n(4688),o=n(7407),a=n(4238),l=n(6758),s=n(6318);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function c(t){return function(t){if(Array.isArray(t))return b(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||y(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,l=[],s=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==e);s=!0);}catch(t){u=!0,i=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}(t,e)||y(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,v(r.key),r)}}function p(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(t,e,n){return(e=v(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===u(e)?e:String(e)}function g(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=y(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){l=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function y(t,e){if(t){if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(t,e):void 0}}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var x=Symbol.for("$RootDomain"),w=Symbol.for("$Domain"),S=Symbol.for("$DomainItem");function $(t){for(var e=t.indexOf("-");-1!=e&&e<t.length;){var n=t.substring(0,e),r=t.substring(e+1,e+2),i=t.substring(e+2);e=(t=n+r.toUpperCase()+i).indexOf("-")}return t}function k(t){return null!=t}function T(t,e,n,a){var l,s=g(t);try{var u=function(){var t=l.value;if(t.listened)return"continue";var s=function(e){e?o.C.setWarn(t.node,e):o.C.resetWarn(t.node)},u=function(){setTimeout((function(){var n=function(t){var e=t.value;return(0,r.Xq)(e)?e:e=t.innerValue}(t.node),o=Reflect.apply(e,{},[n,t.name,t.relate,t.index,t.node]);(0,i.isPromiseType)(o)?o.then((function(t){s(t)}),(function(t){s(t)})):s(o)}),150)};t.node.$on("blur",u),t.node.$on("setValue",u),(0,r.Xq)(n)&&o.C.setInfo(t.node,n,a),t.listened=!0,t.checkFunc=u};for(s.s();!(l=s.n()).done;)u()}catch(t){s.e(t)}finally{s.f()}}function j(t,e,n){var r=t.$attrs[e];if(k(r))return r;var i=$(e);return k(r=t.$props[i])?r:n}var C=Symbol("$modelItem"),I=function(){function t(e,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;d(this,t),m(this,"node",void 0),m(this,"name",void 0),m(this,"relate",void 0),m(this,"label",void 0),m(this,"index",void 0),m(this,"_props",new Proxy(m({},C,this),{set:function(t,e,n){var r=t[C].node;if(null==r)return console.error("model item > node属性未定义"),!1;var i=r._fox_model_options;return null==i?(console.error("model item > node > options属性未定义"),!1):(Reflect.has(i,e)?i[e]=n:l.Y.Vue.util.defineReactive(i,e,n),!0)},get:function(t,e){var n=t[C].node;if(null!=n){var r=n._fox_model_options;if(null!=r)return Reflect.has(r,e)||l.Y.Vue.util.defineReactive(r,e,void 0),r[e];console.error("model item > node > options属性未定义")}else console.error("model item > node属性未定义")}})),m(this,"listened",!1),m(this,"type","item"),this.node=e,this.name=n,this.relate=r,this.label=i,this.index=o,e._fox_model_options={}}return p(t,[{key:"props",get:function(){return this._props}},{key:"destroy",value:function(){this._props=null,this.node._fox_model_options=null,this.node=null}}]),t}(),O=Symbol("_setModel"),P=Symbol("_removeModel"),D=Symbol("toModelItemList"),_=Symbol("toModelNameList"),A=Symbol.for("getModels"),L=Symbol.for("getModelItems"),E=Symbol("getProperty"),q=Symbol("release");function V(t){var e=t&&t.$vnode&&t.$vnode.context;return e.$data&&e.$data[r.on]&&(e=e.$vnode.context),e}var M=function(){function t(e,n,r){d(this,t),m(this,"name",void 0),m(this,"vm",void 0),m(this,"modelsMap",new Map),m(this,"parent",null),m(this,"children",{}),m(this,"checkModels",[]),m(this,"checkFunc",void 0),m(this,"checkInfo",{}),m(this,"options",{}),m(this,"subVmMap",new Map),this.parent=e,this.name=n,this.vm=r,e&&(e.children[n]=this)}return p(t,[{key:q,value:function(){this.parent&&this.parent.children&&Reflect.deleteProperty(this.parent.children,this.name),this.parent=void 0,this.vm=void 0,this.modelsMap.clear(),this.children=void 0,this.checkFunc=void 0,this.checkInfo=void 0,this.options=void 0,this.subVmMap.clear()}},{key:"setSubVm",value:function(t,e){this.subVmMap.set(t,e)}},{key:"getSubVm",value:function(t){return this.subVmMap.get(t)}},{key:"removeSubVm",value:function(t){return this.subVmMap.delete(t)}},{key:"getAllSubNames",value:function(){var t,e=[],n=g(this.subVmMap);try{for(n.s();!(t=n.n()).done;){var r=f(t.value,2),i=r[0];r[1],e.push(i)}}catch(t){n.e(t)}finally{n.f()}return e}},{key:"getAllSubData",value:function(){var t,e={},n=g(this.subVmMap);try{for(n.s();!(t=n.n()).done;){var r=f(t.value,2),i=r[0],o=r[1];e[i]=o.$data}}catch(t){n.e(t)}finally{n.f()}return e}},{key:"getSubData",value:function(t){var e=this.getSubVm(t);if(e)return e.$data}},{key:"setSubData",value:function(t,e,n){var r=this.getSubData(t);r&&(0,i.setData)(e,r,void 0,n)}},{key:"getSubDataValue",value:function(t,e){var n=this.getSubData(t);if(n){var r=e.split(".");return(0,i.getDataValue)(n,r,0)}}},{key:"setSubDataValue",value:function(t,e,n){var r=this.getSubData(t);if(r){var o=e.split(".");(0,i.setDataValue)(r,o,0,n)}}},{key:"setOption",value:function(t,e){Reflect.has(this.options,t)?this.options[t]=e:l.Y.Vue.util.defineReactive(this.options,t,e)}},{key:"getOption",value:function(t){return Reflect.has(this.options,t)||l.Y.Vue.util.defineReactive(this.options,t,void 0),this.options[t]}},{key:"getChildDomain",value:function(t){if(this.children){var e=this.children[t];if(e)return e;for(var n in this.children)if(e=this.children[n].getChildDomain(t))return e}}},{key:"setCheck",value:function(t,e,n,r){var i,o=g(t);try{for(o.s();!(i=o.n()).done;){var a=i.value,l=this.modelsMap.get(a);l&&T(l,e,n,r)}}catch(t){o.e(t)}finally{o.f()}for(var s in this.children)this.children[s].setCheck(t,e,n,r);this.checkModels=t,this.checkFunc=e,this.checkInfo={msg:n,icon:r}}},{key:"check",value:function(t){if(t){var e,n=g(t);try{for(n.s();!(e=n.n()).done;){var r=e.value,i=this.modelsMap.get(r);if(i){var o,a=g(i);try{for(a.s();!(o=a.n()).done;){var l=o.value;l.node&&l.listened&&l.node.$emit("setValue",l.node.value||"")}}catch(t){a.e(t)}finally{a.f()}}}}catch(t){n.e(t)}finally{n.f()}}else{var s,u=g(this.modelsMap);try{for(u.s();!(s=u.n()).done;){var c,d=f(s.value,2),h=(d[0],g(d[1]));try{for(h.s();!(c=h.n()).done;){var p=c.value;p.node&&p.listened&&p.node.$emit("setValue",p.node.value||"")}}catch(t){h.e(t)}finally{h.f()}}}catch(t){u.e(t)}finally{u.f()}}for(var m in this.children)this.children[m].check(t)}},{key:"clearCheckTip",value:function(t){if(t){var e,n=g(t);try{for(n.s();!(e=n.n()).done;){var r=e.value,i=this.modelsMap.get(r);if(i){var a,l=g(i);try{for(l.s();!(a=l.n()).done;){var s=a.value;s.node&&s.listened&&o.C.resetWarn(s.node)}}catch(t){l.e(t)}finally{l.f()}}}}catch(t){n.e(t)}finally{n.f()}}else{var u,c=g(this.modelsMap);try{for(c.s();!(u=c.n()).done;){var d,h=f(u.value,2),p=(h[0],g(h[1]));try{for(p.s();!(d=p.n()).done;){var m=d.value;m.node&&m.listened&&o.C.resetWarn(m.node)}}catch(t){p.e(t)}finally{p.f()}}}catch(t){c.e(t)}finally{c.f()}}for(var v in this.children)this.children[v].clearCheckTip(t)}},{key:"setLockTip",value:function(t,e){o.C.setLock(t,e)}},{key:"setInfo",value:function(t,e,n){var r,i=g(t);try{for(i.s();!(r=i.n()).done;){var a=r.value,l=this.modelsMap.get(a);l&&l.forEach((function(t){o.C.setInfo(t.node,e,n)}))}}catch(t){i.e(t)}finally{i.f()}for(var s in this.children)this.children[s].setInfo(t,e,n)}},{key:"setWarn",value:function(t,e,n){var r,i=g(t);try{for(i.s();!(r=i.n()).done;){var a=r.value,l=this.modelsMap.get(a);l&&l.forEach((function(t){o.C.setWarn(t.node,e,n)}))}}catch(t){i.e(t)}finally{i.f()}for(var s in this.children)this.children[s].setWarn(t,e,n)}},{key:"setError",value:function(t,e,n){var r,i=g(t);try{for(i.s();!(r=i.n()).done;){var a=r.value,l=this.modelsMap.get(a);l&&l.forEach((function(t){o.C.setError(t.node,e,n)}))}}catch(t){i.e(t)}finally{i.f()}for(var s in this.children)this.children[s].setError(t,e,n)}},{key:"getDomainByModelName",value:function(t){if(this.modelsMap.has(t))return this;var e;for(var n in this.children)if(e=this.children[n].getDomainByModelName(t))break;return e}},{key:"getName",value:function(){return this.name}},{key:E,value:function(t){var e=this.getOption(t);return k(e)?e:this.vm?e=j(this.vm,t,void 0):void 0}},{key:O,value:function(t,e,n,r){var i=new I(r,t,e,n),o=this.modelsMap.get(t);if(o){if(o.find((function(t){return t.node===r})))return;var a=o[o.length-1];a.type="listItem",i.index=a.index+1,i.type="listItem",o.push(i)}else o=[i];this.modelsMap.set(t,o),this.checkFunc&&-1!=this.checkModels.indexOf(t)&&T([i],this.checkFunc,this.checkInfo.msg,this.checkInfo.icon)}},{key:P,value:function(t,e){var n=this.modelsMap.get(t);if(n)for(var r=0;r<n.length;r++){var i=n[r];if(i.node===e)return i.destroy(),n.splice(r,1),void(0==n.length&&this.modelsMap.delete(t))}}},{key:D,value:function(t){var e,n=[],r=g(t.values());try{for(r.s();!(e=r.n()).done;){var i=e.value;n=[].concat(c(n),c(i))}}catch(t){r.e(t)}finally{r.f()}return n}},{key:_,value:function(t){var e,n=[],r=g(t.keys());try{for(r.s();!(e=r.n()).done;){var i=e.value;n.push(i)}}catch(t){r.e(t)}finally{r.f()}return n}},{key:L,value:function(t){var e=this[D](this.modelsMap);for(var n in this.children){var r=this.children[n][L](t);e=[].concat(c(e),c(r))}return null!=t&&(e=e.filter((function(e){return e.name==t}))),e}},{key:A,value:function(){var t=this[_](this.modelsMap);for(var e in this.children){var n=this.children[e][A]();t=[].concat(c(t),c(n))}return t}},{key:"setPropertyByModel",value:function(t,e,n,r){this[L](e).forEach((function(t){t.props[n]=r}))}},{key:"setVerifyByModel",value:function(t,e,n,r){this[L](e).forEach((function(t){s.s.setNode(t.node,n,r)}))}},{key:"applyByModel",value:function(t,e,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var a=this[L](e);a.forEach((function(t){var e=t.node[n];"function"==typeof e?setTimeout((function(){Reflect.apply(e,t.node,[].concat(i))}),0):console.warn("can not found the method:".concat(n))}))}},{key:"bindEventByModel",value:function(t,e,n,r){this[L](e).forEach((function(t){t.node.$on(n,r)}))}},{key:"unbindEventByModel",value:function(t,e,n,r){this[L](e).forEach((function(t){t.node.$off(n,r)}))}}],[{key:"getDomain",value:function(e){return e.$data&&e.$data[w]||t.getParentDomain(e)}},{key:"getParentDomain",value:function(t){if(!t)return R;for(var e=t.$parent;e&&(!e.$data||!e.$data[w]);)e=e.$parent;return e&&e.$data&&e.$data[w]||R}},{key:"getRootDomain",value:function(t){if(!t)return null;if(t.$data&&t.$data[x])return t.$data[w];for(var e=t.$parent;e&&(!e.$data||!e.$data[x]);)e=e.$parent;return e&&e.$data&&e.$data[w]}},{key:"getParentDomainProperty",value:function(e,n,r){var i=t.getParentDomain(e);if(i){for(var o=i[E](n);!k(o)&&(i=i.parent);)o=i[E](n);return k(o)?o:r}}},{key:"getDomainProperty",value:function(e,n,r){var i=t.getDomain(e);if(!i)throw new Error("domain not found");for(;i;){var o=i[E](n);if(k(o))return o;i=i.parent}return r}},{key:"getFitProperty",value:function(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n,a=n;Array.isArray(n)&&2==n.length&&(o=n[0],a=n[1]);var l=j(e,o,void 0);if(!e.pageScope)return l||r;var s=!1,u=t.getModelInfo(e);if(u){var c=t.getDomain(e),f=c[L](u.name);if(f&&f.length>0)for(var d=0;d<f.length;d++)if(f[d].node==e){s=f[d].props[o];break}if(1==i&&(t.hasExemption(e,u.relate,"model")||t.hasExemption(e,u.name,"model")))return N(s,l)||r}var h=t.getDomainProperty(e,a,void 0);if(k(h)){var p=j(e,"fox-obey",void 0);if(void 0!==p)return h}return N(s,l)||h||r}},{key:"getFitPropertyForBoolean",value:function(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=n,l=n;Array.isArray(n)&&2==n.length&&(a=n[0],l=n[1]);var s=j(e,a,void 0);if(k(s)&&(s="string"==typeof s&&0==s.length||(0,i.toBoolean)(s)),!e.pageScope)return s||r;var u=void 0,c=t.getModelInfo(e);if(c){var f=t.getDomain(e),d=f[L](c.name);if(d&&d.length>0)for(var h=0;h<d.length;h++)if(d[h].node==e){u=d[h].props[a];break}if(1==o&&(t.hasExemption(e,c.relate,"model")||t.hasExemption(e,c.name,"model")))return N(u,s)||r}var p=t.getDomainProperty(e,l,void 0);if(k(p)){p="string"==typeof p&&0==p.length||(0,i.toBoolean)(p);var m=j(e,"fox-obey",void 0);if(void 0!==m)return p}return N(u,s)||p||r}},{key:"getAllProperties",value:function(e,n){var r=[],i=j(e,n,void 0);k(i)&&r.push(i);for(var o=t.getDomain(e);o;)k(i=o[E](n))&&r.push(i),o=o.parent;return r}},{key:"isReadonly",value:function(e){return t.getFitPropertyForBoolean(e,"readonly",!1,!0)}},{key:"isDisabled",value:function(e){return t.getFitPropertyForBoolean(e,"disabled",!1,!0)}},{key:"setModel",value:function(e,n,r,i){var o=t.getDomain(e);o&&o[O](n,r,i,e)}},{key:"removeModel",value:function(e,n){var r=t.getDomain(e);r&&r[P](n)}},{key:"hasExemption",value:function(e,n,r){if(null==n)return!1;if("model"==r){var i=t.getAllProperties(e,"filter-models");if(!i||0==i.length)return!1;for(var o=0;o<i.length;o++)if(-1!=i[o].indexOf(n))return!0;return!1}return!1}},{key:"getModelInfo",value:function(t){if(t.customScope)for(var e=t.$parent,n=0;n<5;n++){if(e._provided&&!0===e._provided.customRoot){t=e;break}e=e.$parent}var r=t.$vnode&&t.$vnode.data&&t.$vnode.data.model;if(r)return{name:r.expression,relate:t.$attrs["fox-model"]}}},{key:"getVerifyRules",value:function(e,n){return t.getDomainProperty(e,"verify-rules",{})[n]}}]),t}();function N(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=0,i=e;r<i.length;r++){var o=i[r];if(k(o))return o}}var R=new M(null,"_first_",null);function F(){return R}function H(t,e,n){if(!t.$data)return null;var r=t.$data[w];if(r)return r;var i=M.getParentDomain(t),o=e||"domain-".concat((0,a.PG)());return r=new M(i,o,t),n&&(t.$data[x]=!0),t.$data[w]=r,t.$once("hook:destroyed",(function(){t.$data[w]=void 0,t.$data[x]=void 0,r[q]()})),r}function z(t){return t.$data&&t.$data[w]||M.getParentDomain(t)}},4108:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});var r="undefined"!=typeof window},6758:function(t,e,n){"use strict";var r;n.d(e,{Y:function(){return i}});var i={get Vue(){return r},set Vue(t){r=t}}},7407:function(t,e,n){"use strict";n.d(e,{C:function(){return u}});var r=n(3269);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(void 0,o=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key,"string"),"symbol"===i(o)?o:String(o)),r)}var o}var l=!1,s=[],u=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"setLock",value:function(t,e){var n;l=t,e&&Array.isArray(e)&&(s=function(t){if(Array.isArray(t))return o(t)}(n=e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},{key:"setError",value:function(t,e,n){if(!l||0!=s.length&&-1==s.indexOf("error")){if((0,r.Xq)(t.innerErrorTip))return t.innerErrorTip=e,void((0,r.Xq)(n)&&(t.innerInfoIcon=n));if(t.$children&&1==t.$children.length){var i=t.$children[0];if(Reflect.has(i,"innerErrorTip"))return i.innerErrorTip=e,void((0,r.Xq)(n)&&(i.innerInfoIcon=n))}var o=t.$el;if(o){o.classList.add("is-error");var a=o.querySelector(".el-form-item__content");if(!a)return;(t=a.querySelector(".fox-form-item__tip"))||((t=window.document.createElement("div")).classList.add("fox-form-item__tip"),a.appendChild(t)),t.innerText=e}}}},{key:"resetError",value:function(t){if((0,r.Xq)(t.innerErrorTip))t.innerErrorTip="";else{if(t.$children&&1==t.$children.length){var e=t.$children[0];if(Reflect.has(e,"innerErrorTip"))return void(e.innerErrorTip="")}var n=t.$el;n&&(n.classList.remove("is-error"),(t=n.querySelector(".fox-form-item__tip"))&&t.parentNode.removeChild(t))}}},{key:"setWarn",value:function(t,e,n){if(!l||0!=s.length&&-1==s.indexOf("warn")){if((0,r.Xq)(t.innerWarnTip))return t.innerWarnTip=e,void((0,r.Xq)(n)&&(t.innerWarnIcon=n));if(t.$children&&1==t.$children.length){var i=t.$children[0];if(Reflect.has(i,"innerWarnTip"))return i.innerWarnTip=e,void((0,r.Xq)(n)&&(i.innerWranIcon=n))}var o=t.$el;if(o){o.classList.add("is-warn");var a=o.querySelector(".el-form-item__content");if(!a)return;(t=a.querySelector(".fox-form-item__tip"))||((t=window.document.createElement("div")).classList.add("el-form-item__tip"),a.appendChild(t)),t.innerText=e}}}},{key:"resetWarn",value:function(t){if((0,r.Xq)(t.innerWarnTip))t.innerWarnTip="";else{if(t.$children&&1==t.$children.length){var e=t.$children[0];if(Reflect.has(e,"innerWarnTip"))return void(e.innerWarnTip="")}var n=t.$el;n&&(n.classList.remove("is-warn"),(t=n.querySelector(".fox-form-item__tip"))&&t.parentNode.removeChild(t))}}},{key:"setInfo",value:function(t,e,n){if(!l||0!=s.length&&-1==s.indexOf("info")){if((0,r.Xq)(t.innerInfoTip))return t.innerInfoTip=e,void((0,r.Xq)(n)&&(t.innerInfoIcon=n));if(t.$children&&1==t.$children.length){var i=t.$children[0];if(Reflect.has(i,"innerInfoTip"))return i.innerInfoTip=e,void((0,r.Xq)(n)&&(i.innerInfoIcon=n))}var o=t.$el;if(o){o.classList.add("is-info");var a=o.querySelector(".el-form-item__content");if(!a)return;(t=a.querySelector(".fox-form-item__tip"))||((t=window.document.createElement("div")).classList.add("fox-form-item__tip"),a.appendChild(t)),t.innerText=e}}}},{key:"resetInfo",value:function(t){if((0,r.Xq)(t.innerInfoTip))t.innerInfoTip="";else{if(t.$children&&1==t.$children.length){var e=t.$children[0];if(Reflect.has(e,"innerInfoTip"))return void(e.innerInfoTip="")}var n=t.$el;n&&(n.classList.remove("is-info"),(t=n.querySelector(".fox-form-item__tip"))&&t.parentNode.removeChild(t))}}}],null&&a(e.prototype,null),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},4238:function(t,e,n){"use strict";n.d(e,{$$:function(){return j},$y:function(){return D},C1:function(){return H},Ds:function(){return Y},E9:function(){return S},Fs:function(){return u},HE:function(){return x},Ib:function(){return F},P2:function(){return G},PG:function(){return d},PO:function(){return N},Q0:function(){return L},S4:function(){return $},Xy:function(){return z},Y4:function(){return g},aR:function(){return k},hj:function(){return p},kJ:function(){return V},l7:function(){return R},n5:function(){return B},or:function(){return T},p7:function(){return P},qe:function(){return U},tm:function(){return w},uy:function(){return A},x5:function(){return C},xK:function(){return b},xb:function(){return h},xj:function(){return W},y9:function(){return v},zT:function(){return I},zg:function(){return y},zj:function(){return O}});var r=n(3269),i=n(4688),o=n(2865),a=n(7793),l=n.n(a);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function u(){for(var t=[],e="0123456789abcdef",n=0;n<36;n++)t[n]=e.substr(Math.floor(16*Math.random()),1);return t[14]="4",t[19]=e.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")}var c=(new Date).getTime(),f=["a","b"];function d(){var t=++c;return t==Number.MAX_VALUE&&(c=0),"".concat(f[t%2],"_").concat(c)}function h(t){return null==t||"string"==typeof t&&0==t.length}function p(t){return!!h(t)||("-"==t.charAt(0)&&(t=t.substring(1)),h(t)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(t))}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.indexOf(".");if(-1==r)return n;for(var i=r,o=n.length-1;o>=r;o--)if("0"!=n.charAt(o)){i=o;break}return i-r<e?i=r+e+1:i!=r&&(i+=1),i>n.length?n.padEnd(i,"0"):n.substring(0,i)}function v(t,e){return"string"==typeof e&&(e=(0,i.toNumber)(e)),1==e||-1==e?"".concat(t):0==e?"0":m(e>0?l().multiply("".concat(t),"".concat(e)):l().divide("".concat(t),l().negate("".concat(e)),20))}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:",",o="".concat(t);if(0==o.length||"-"===o)return"";var a=o.charAt(0);"-"==a?o=o.substring(1):a="";var l=o,s="",u=o.indexOf(".");-1!=u&&(l=o.substring(0,u),s=o.substring(u+1)),-1!=e&&(e<s.length?s=s.substring(0,e):n&&e>s.length&&(s=s.padEnd(e,"0")));for(var c=l.split("").reverse(),f="",d=0;d<c.length;d++)f+=c[d]+((d+1)%r==0&&d+1!=c.length?i:"");return 0==s.length?"".concat(a).concat(f.split("").reverse().join("")):"".concat(a).concat(f.split("").reverse().join(""),".").concat(s)}function y(t){var e="".concat(t),n=e.charAt(0);"-"==n?e=e.substring(1):n="";var r=e.replace(/[^\d\.-]/g,"");return"".concat(n).concat(r)}function b(t){if(null==t)return 0;var e="".concat(t);if(0==e.length)return 0;"-"==e.charAt(0)&&(e=e.substring(1));var n=(e=e.replace(/[^\d\.-]/g,"")).indexOf(".");return-1==n?e.length:n}function x(t){if(null==t)return 0;var e="".concat(t);if(0==e.length)return 0;var n=e.indexOf(".");return-1==n?0:e.length-(n+1)}function w(t,e){var n="".concat(t),r="".concat(e);return l().compareTo(n,r)}function S(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:",";return g(t,e,n,r,i)}function $(t){return y(t)}function k(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||null==t)return 0;if("number"==typeof t)return t;if(0===(t=t.trim()).length)return 0;var n=t.indexOf("px");if(-1!=n){var r=t.substring(0,n),i=Number(r);return i}if(-1!=(n=t.indexOf("rem"))){var a=t.substring(0,n),l=Number(a),s=(0,o.M)(),u=window.getComputedStyle(s.documentElement,null),c=u.fontSize,f=c.indexOf("px");return c=c.substring(0,f),l*Number(c)}if(-1!=(n=t.indexOf("%"))){var d=t.substring(0,n),h=Number(d),p=e.el;if(p){var m=p.offsetParent;h=e.x?h/100*m.offsetWidth:h/100*m.offsetHeight}else h=e.x?h/100*C():h/100*j();return h}return t}function T(t){var e=(0,o.M)();if("BackCompat"==e.compatMode){var n=0;return"clientWidth"===t?n=e.body.clientWidth:"clientHeight"==t?n=e.body.clientHeight:"scrollWidth"==t?n=e.body.scrollWidth:"scrollHeight"===t?n=e.body.scrollHeight:"scrollLeft"===t?n=e.body.scrollLeft:"scrollTop"===t&&(n=e.body.scrollTop),n}var r=0;return"clientWidth"===t?r=e.documentElement.clientWidth:"clientHeight"==t?r=e.documentElement.clientHeight:"scrollWidth"==t?r=e.documentElement.scrollWidth:"scrollHeight"===t?r=e.documentElement.scrollHeight:"scrollLeft"===t?r=0==e.documentElement.scrollLeft?e.body.scrollLeft:e.documentElement.scrollLeft:"scrollTop"===t&&(r=0==e.documentElement.scrollTop?e.body.scrollTop:e.documentElement.scrollTop),r}function j(){var t=T("clientHeight");return Number(t)}function C(){var t=T("clientWidth");return Number(t)}function I(t){for(var e=0,n=0,r=t;null!=r;)e+=r.offsetLeft,n+=r.offsetTop,r=r.offsetParent;return{x:e,y:n}}function O(t){for(var e=0,n=0,r=t;null!=r;)e+=r.offsetLeft,n+=r.offsetTop,r=r.offsetParent;var i=0,o=0;for(r=t;r!=document;)o+=r.scrollTop,i+=r.scrollLeft,r=r.parentNode;return{x:e-=i,y:n-=o}}function P(t){for(var e=t;null!=e;){var n=e.offsetWidth;if(0!=n)return n;e=e.parentNode}return 0}function D(t){for(var e=t;null!=e;){var n=e.offsetHeight;if(0!=n)return n;e=e.parentNode}return 0}function _(t,e){for(var n=t.scrollTop,r=t.parentNode;null!=r&&r!=e;)n+=r.scrollTop,r=r.parentNode;return n}function A(t){var e=t.offsetTop,n=t.offsetParent,r=t.parentNode;for(r!=n&&(e-=_(r,n));null!=n;)e+=n.offsetTop,r=n.parentNode,null!=(n=n.offsetParent)&&r!=n&&(e-=_(r,n));return e}function L(t){for(var e=t.offsetLeft,n=t.offsetParent;null!=n;)e+=n.offsetLeft,n=n.offsetParent;return e}Date.prototype.format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"H+":this.getHours(),"h+":this.getUTCHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(v