@vxe-ui/core 3.0.10 → 3.0.11
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/es/src/core.js +1 -1
- package/es/src/log.js +1 -1
- package/lib/index.common.js +4 -3
- package/lib/index.umd.js +4904 -595
- package/lib/index.umd.min.js +1 -1
- package/lib/src/clipboard.js +9 -9
- package/lib/src/clipboard.min.js +1 -1
- package/lib/src/commands.js +62 -41
- package/lib/src/commands.min.js +1 -1
- package/lib/src/configStore.js +1 -1
- package/lib/src/configStore.min.js +1 -1
- package/lib/src/core.js +38 -40
- package/lib/src/core.min.js +1 -1
- package/lib/src/dataStore.js +1 -1
- package/lib/src/dataStore.min.js +1 -1
- package/lib/src/event.js +46 -36
- package/lib/src/event.min.js +1 -1
- package/lib/src/formats.js +62 -41
- package/lib/src/formats.min.js +1 -1
- package/lib/src/i18n.js +6 -14
- package/lib/src/i18n.min.js +1 -1
- package/lib/src/i18nStore.js +3 -3
- package/lib/src/i18nStore.min.js +1 -1
- package/lib/src/iconStore.js +1 -1
- package/lib/src/iconStore.min.js +1 -1
- package/lib/src/interceptor.js +14 -12
- package/lib/src/interceptor.min.js +1 -1
- package/lib/src/log.js +5 -5
- package/lib/src/log.min.js +1 -1
- package/lib/src/menus.js +62 -41
- package/lib/src/menus.min.js +1 -1
- package/lib/src/mixins.js +10 -12
- package/lib/src/mixins.min.js +1 -1
- package/lib/src/permission.js +19 -19
- package/lib/src/permission.min.js +1 -1
- package/lib/src/renderer.js +13 -11
- package/lib/src/renderer.min.js +1 -1
- package/lib/src/resize.js +65 -43
- package/lib/src/resize.min.js +1 -1
- package/lib/src/store.js +54 -34
- package/lib/src/store.min.js +1 -1
- package/lib/src/themeStore.js +1 -1
- package/lib/src/themeStore.min.js +1 -1
- package/lib/src/validators.js +1 -1
- package/lib/src/validators.min.js +1 -1
- package/package.json +1 -1
package/lib/index.umd.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
((t,e)=>{"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue"),require("xe-utils")):"function"==typeof define&&define.amd?define([,"xe-utils"],e):"object"==typeof exports?exports.VxeCore=e(require("vue"),require("xe-utils")):t.VxeCore=e(t.Vue,t.XEUtils)})("undefined"!=typeof self?self:this,function(xt,wt){{var Et={9274:function(t){t.exports=xt},8871:function(t){t.exports=wt},9306:function(t,e,n){var r=n(4901),o=n(6823),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},8551:function(t,e,n){var r=n(34),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},9617:function(t,e,n){function r(c){return function(t,e,n){var r=a(t),o=f(r);if(0!==o){var i,u=s(n,o);if(c&&e!=e){for(;u<o;)if((i=r[u++])!=i)return!0}else for(;u<o;u++)if((c||u in r)&&r[u]===e)return c||u||0}return!c&&-1}}var a=n(5397),s=n(5610),f=n(6198);t.exports={includes:r(!0),indexOf:r(!1)}},4527:function(t,e,n){var r=n(3724),o=n(4376),i=TypeError,u=Object.getOwnPropertyDescriptor,n=r&&!function(){if(void 0!==this)return 1;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=n?function(t,e){if(o(t)&&!u(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},2195:function(t,e,n){var n=n(9504),r=n({}.toString),o=n("".slice);t.exports=function(t){return o(r(t),8,-1)}},7740:function(t,e,n){var a=n(9297),s=n(5031),f=n(7347),l=n(4913);t.exports=function(t,e,n){for(var r=s(e),o=l.f,i=f.f,u=0;u<r.length;u++){var c=r[u];a(t,c)||n&&a(n,c)||o(t,c,i(e,c))}}},6699:function(t,e,n){var r=n(3724),o=n(4913),i=n(6980);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},6980:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6840:function(t,e,n){var u=n(4901),c=n(4913),a=n(283),s=n(9433);t.exports=function(t,e,n,r){var o=(r=r||{}).enumerable,i=void 0!==r.name?r.name:e;if(u(n)&&a(n,i,r),r.global)o?t[e]=n:s(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:c.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t}},9433:function(t,e,n){var r=n(4576),o=Object.defineProperty;t.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},3724:function(t,e,n){n=n(9039);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055:function(t,e,n){var r=n(4576),n=n(34),o=r.document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},6837:function(t){var e=TypeError;t.exports=function(t){if(9007199254740991<t)throw e("Maximum allowed index exceeded");return t}},8727:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:function(t,e,n){n=n(4576).navigator,n=n&&n.userAgent;t.exports=n?String(n):""},9519:function(t,e,n){var r,o,i=n(4576),n=n(2839),u=i.process,i=i.Deno,u=u&&u.versions||i&&i.version,i=u&&u.v8;!(o=i?0<(r=i.split("."))[0]&&r[0]<4?1:+(r[0]+r[1]):o)&&n&&(!(r=n.match(/Edge\/(\d+)/))||74<=r[1])&&(r=n.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},6518:function(t,e,n){var s=n(4576),f=n(7347).f,l=n(6699),p=n(6840),d=n(9433),h=n(7740),v=n(2796);t.exports=function(t,e){var n,r,o,i=t.target,u=t.global,c=t.stat,a=u?s:c?s[i]||d(i,{}):s[i]&&s[i].prototype;if(a)for(n in e){if(r=e[n],o=t.dontCallGetSet?(o=f(a,n))&&o.value:a[n],!v(u?n:i+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof r==typeof o)continue;h(r,o)}(t.sham||o&&o.sham)&&l(r,"sham",!0),p(a,n,r,t)}}},9039:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},616:function(t,e,n){n=n(9039);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},9565:function(t,e,n){var n=n(616),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},350:function(t,e,n){var r=n(3724),n=n(9297),o=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,n=n(o,"name"),u=n&&"something"===function(){}.name,r=n&&(!r||i(o,"name").configurable);t.exports={EXISTS:n,PROPER:u,CONFIGURABLE:r}},9504:function(t,e,n){var n=n(616),r=Function.prototype,o=r.call,r=n&&r.bind.bind(o,o);t.exports=n?r:function(t){return function(){return o.apply(t,arguments)}}},7751:function(t,e,n){var r=n(4576),o=n(4901);t.exports=function(t,e){return arguments.length<2?(n=r[t],o(n)?n:void 0):r[t]&&r[t][e];var n}},5966:function(t,e,n){var r=n(9306),o=n(4117);t.exports=function(t,e){t=t[e];return o(t)?void 0:r(t)}},4576:function(t,e,n){function r(t){return t&&t.Math===Math&&t}t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(t,e,n){var r=n(9504),o=n(8981),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},421:function(t){t.exports={}},5917:function(t,e,n){var r=n(3724),o=n(9039),i=n(4055);t.exports=!r&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},7055:function(t,e,n){var r=n(9504),o=n(9039),i=n(2195),u=Object,c=r("".split);t.exports=o(function(){return!u("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?c(t,""):u(t)}:u},3706:function(t,e,n){var r=n(9504),o=n(4901),n=n(7629),i=r(Function.toString);o(n.inspectSource)||(n.inspectSource=function(t){return i(t)}),t.exports=n.inspectSource},1181:function(t,e,n){var r,o,i,u,c=n(8622),a=n(4576),s=n(34),f=n(6699),l=n(9297),p=n(7629),d=n(6119),n=n(421),h="Object already initialized",v=a.TypeError,a=a.WeakMap,g=c||p.state?((i=p.state||(p.state=new a)).get=i.get,i.has=i.has,i.set=i.set,r=function(t,e){if(i.has(t))throw new v(h);return e.facade=t,i.set(t,e),e},o=function(t){return i.get(t)||{}},function(t){return i.has(t)}):(n[u=d("state")]=!0,r=function(t,e){if(l(t,u))throw new v(h);return e.facade=t,f(t,u,e),e},o=function(t){return l(t,u)?t[u]:{}},function(t){return l(t,u)});t.exports={set:r,get:o,has:g,enforce:function(t){return g(t)?o(t):r(t,{})},getterFor:function(e){return function(t){if(s(t)&&(t=o(t)).type===e)return t;throw new v("Incompatible receiver, "+e+" required")}}}},4376:function(t,e,n){var r=n(2195);t.exports=Array.isArray||function(t){return"Array"===r(t)}},4901:function(t){var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2796:function(t,e,n){function r(t,e){return(t=a[c(t)])===f||t!==s&&(i(e)?o(e):!!e)}var o=n(9039),i=n(4901),u=/#|\.prototype\./,c=r.normalize=function(t){return String(t).replace(u,".").toLowerCase()},a=r.data={},s=r.NATIVE="N",f=r.POLYFILL="P";t.exports=r},4117:function(t){t.exports=function(t){return null==t}},34:function(t,e,n){var r=n(4901);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},6395:function(t){t.exports=!1},757:function(t,e,n){var r=n(7751),o=n(4901),i=n(1625),n=n(7040),u=Object;t.exports=n?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,u(t))}},6198:function(t,e,n){var r=n(8014);t.exports=function(t){return r(t.length)}},283:function(t,e,n){var r=n(9504),o=n(9039),i=n(4901),u=n(9297),c=n(3724),a=n(350).CONFIGURABLE,s=n(3706),n=n(1181),f=n.enforce,l=n.get,p=String,d=Object.defineProperty,h=r("".slice),v=r("".replace),g=r([].join),m=c&&!o(function(){return 8!==d(function(){},"length",{value:8}).length}),b=String(String).split("String"),n=t.exports=function(t,e,n){"Symbol("===h(p(e),0,7)&&(e="["+v(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!u(t,"name")||a&&t.name!==e)&&(c?d(t,"name",{value:e,configurable:!0}):t.name=e),m&&n&&u(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&u(n,"constructor")&&n.constructor?c&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}n=f(t);return u(n,"source")||(n.source=g(b,"string"==typeof e?e:"")),t};Function.prototype.toString=n(function(){return i(this)&&l(this).source||s(this)},"toString")},741:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){t=+t;return(0<t?n:e)(t)}},4913:function(t,e,n){var r=n(3724),o=n(5917),i=n(8686),u=n(8551),c=n(6969),a=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",d="writable";e.f=r?i?function(t,e,n){var r;return u(t),e=c(e),u(n),"function"==typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]&&(r=f(t,e))&&r[d]&&(t[e]=n.value,n={configurable:(p in n?n:r)[p],enumerable:(l in n?n:r)[l],writable:!1}),s(t,e,n)}:s:function(t,e,n){if(u(t),e=c(e),u(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new a("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},7347:function(t,e,n){var r=n(3724),o=n(9565),i=n(8773),u=n(6980),c=n(5397),a=n(6969),s=n(9297),f=n(5917),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=c(t),e=a(e),f)try{return l(t,e)}catch(t){}if(s(t,e))return u(!o(i.f,t,e),t[e])}},8480:function(t,e,n){var r=n(1828),o=n(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},3717:function(t,e){e.f=Object.getOwnPropertySymbols},1625:function(t,e,n){n=n(9504);t.exports=n({}.isPrototypeOf)},1828:function(t,e,n){var r=n(9504),u=n(9297),c=n(5397),a=n(9617).indexOf,s=n(421),f=r([].push);t.exports=function(t,e){var n,r=c(t),o=0,i=[];for(n in r)!u(s,n)&&u(r,n)&&f(i,n);for(;e.length>o;)!u(r,n=e[o++])||~a(i,n)||f(i,n);return i}},8773:function(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){t=r(this,t);return!!t&&t.enumerable}:n},4270:function(t,e,n){var o=n(9565),i=n(4901),u=n(34),c=TypeError;t.exports=function(t,e){var n,r;if("string"===e&&i(n=t.toString)&&!u(r=o(n,t)))return r;if(i(n=t.valueOf)&&!u(r=o(n,t)))return r;if("string"!==e&&i(n=t.toString)&&!u(r=o(n,t)))return r;throw new c("Can't convert object to primitive value")}},5031:function(t,e,n){var r=n(7751),o=n(9504),i=n(8480),u=n(3717),c=n(8551),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(c(t)),n=u.f;return n?a(e,n(t)):e}},7750:function(t,e,n){var r=n(4117),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},6119:function(t,e,n){var r=n(5745),o=n(3392),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629:function(t,e,n){var r=n(6395),o=n(4576),n=n(9433),i="__core-js_shared__",t=t.exports=o[i]||n(i,{});(t.versions||(t.versions=[])).push({version:"3.38.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(t,e,n){var r=n(7629);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},4495:function(t,e,n){var r=n(9519),o=n(9039),i=n(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},5610:function(t,e,n){var r=n(1291),o=Math.max,i=Math.min;t.exports=function(t,e){t=r(t);return t<0?o(t+e,0):i(t,e)}},5397:function(t,e,n){var r=n(7055),o=n(7750);t.exports=function(t){return r(o(t))}},1291:function(t,e,n){var r=n(741);t.exports=function(t){t=+t;return t!=t||0==t?0:r(t)}},8014:function(t,e,n){var r=n(1291),o=Math.min;t.exports=function(t){t=r(t);return 0<t?o(t,9007199254740991):0}},8981:function(t,e,n){var r=n(7750),o=Object;t.exports=function(t){return o(r(t))}},2777:function(t,e,n){var r=n(9565),o=n(34),i=n(757),u=n(5966),c=n(4270),n=n(8227),a=TypeError,s=n("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n=u(t,s);if(n){if(n=r(n,t,e=void 0===e?"default":e),!o(n)||i(n))return n;throw new a("Can't convert object to primitive value")}return c(t,e=void 0===e?"number":e)}},6969:function(t,e,n){var r=n(2777),o=n(757);t.exports=function(t){t=r(t,"string");return o(t)?t:t+""}},6823:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392:function(t,e,n){var n=n(9504),r=0,o=Math.random(),i=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++r+o,36)}},7040:function(t,e,n){n=n(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(t,e,n){var r=n(3724),n=n(9039);t.exports=r&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8622:function(t,e,n){var r=n(4576),n=n(4901),r=r.WeakMap;t.exports=n(r)&&/native code/.test(String(r))},8227:function(t,e,n){var r=n(4576),o=n(5745),i=n(9297),u=n(3392),c=n(4495),n=n(7040),a=r.Symbol,s=o("wks"),f=n?a.for||a:a&&a.withoutSetter||u;t.exports=function(t){return i(s,t)||(s[t]=c&&i(a,t)?a[t]:f("Symbol."+t)),s[t]}},4114:function(t,e,n){var r=n(6518),i=n(8981),u=n(6198),c=n(4527),a=n(6837);r({target:"Array",proto:!0,arity:1,forced:n(9039)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!(()=>{try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}})()},{push:function(t){var e=i(this),n=u(e),r=arguments.length;a(n+r);for(var o=0;o<r;o++)e[n]=arguments[o],n++;return c(e,n),n}})}},F={};function D(t){var e=F[t];return void 0!==e||(e=F[t]={exports:{}},Et[t].call(e.exports,e,e.exports,D)),e.exports}D.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return D.d(e,{a:e}),e},D.d=function(t,e){for(var n in e)D.o(e,n)&&!D.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},D.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),D.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},D.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},D.p="";var W={},V=(D.r(W),D.d(W,{GLOBAL_EVENT_KEYS:function(){return u},VxeUI:function(){return _},clipboard:function(){return M},commands:function(){return E},component:function(){return Lt},coreVersion:function(){return A},createEvent:function(){return l},default:function(){return Rt},formats:function(){return w},getComponent:function(){return It},getConfig:function(){return Pt},getI18n:function(){return ft},getIcon:function(){return Ct},getLanguage:function(){return pt},getTheme:function(){return gt},globalEvents:function(){return p},globalMixins:function(){return L},globalResize:function(){return v},globalStore:function(){return t},handleCheckInfo:function(){return ht},hasLanguage:function(){return lt},interceptor:function(){return S},log:function(){return g},menus:function(){return x},permission:function(){return C},permissionMixin:function(){return I},renderEmptyElement:function(){return At},renderer:function(){return b},setConfig:function(){return yt},setI18n:function(){return bt},setIcon:function(){return Mt},setLanguage:function(){return mt},setTheme:function(){return vt},sizeMixin:function(){return T},use:function(){return Tt},validators:function(){return y}}),"undefined"!=typeof window&&(V=(V=window.document.currentScript)&&V.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(D.p=V[1]),D(4114),D(8871)),B=D.n(V),$=null,U="z-index-manage",G=null,q="z-index-style",X={m:1e3,s:1e3};function H(){return"undefined"!=typeof document}function K(){var t;G||!H()||(G=document.getElementById(q))||((G=document.createElement("style")).id=q,document.getElementsByTagName("head")[0].appendChild(G)),G&&(G.innerHTML=":root{--dom-main"+(t="-z-index")+":"+tt()+";--dom-sub"+t+":"+ot()+"}")}function Y(){return $||!H()||($=document.getElementById(U))||(($=document.createElement("div")).id=U,$.style.display="none",document.body.appendChild($),J(X.m),nt(X.s)),$}function Z(n){return function(t){var e;return t&&(t=Number(t),X[n]=t,e=Y())&&(e.dataset?e.dataset[n]=t+"":e.setAttribute("data-"+n,t+"")),K(),X[n]}}var J=Z("m");function Q(r,o){return function(t){var e=Y(),n=(n=e&&(e=e.dataset?e.dataset[r]:e.getAttribute("data-"+r))?Number(e):n)||X[r];return t?Number(t)<n?o():t:n}}var tt=Q("m",et);function et(){return J(tt()+1)}var nt=Z("s"),rt=Q("s",it);function ot(){return tt()+rt()}function it(){return nt(rt()+1),ot()}var V={setCurrent:J,getCurrent:tt,getNext:et,setSubCurrent:nt,getSubCurrent:ot,getSubNext:it,getMax:function(){var t=0;if(H())for(var e=document.body.getElementsByTagName("*"),n=0;n<e.length;n++){var r=e[n];r&&r.style&&1===r.nodeType&&(r=r.style.zIndex)&&/^\d+$/.test(r)&&(t=Math.max(t,Number(r)))}return t}},Ot=(K(),V);let f={size:"",version:1,zIndex:999,resizeInterval:500},t={},e={},n={theme:""},r=D(9274),o=D.n(r),i=new(o().extend({data(){return{language:"",langMaps:{}}}}));function ut(t){return(ut="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})(t)}function St(t){t=((t,e)=>{if("object"!=ut(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return("string"===e?String:Number)(t);if("object"!=ut(n=n.call(t,e||"default")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string");return"symbol"==ut(t)?t:t+""}function ct(t,e,n){(e=St(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}let u={F2:"F2",ESCAPE:"Escape",ENTER:"Enter",TAB:"Tab",DELETE:"Delete",BACKSPACE:"Backspace",SPACEBAR:" ",CONTEXT_MENU:"ContextMenu",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",R:"R",P:"P",Z:"Z",X:"X",C:"C",V:"V",M:"M"},c=(V=B().browse(),{" ":"Spacebar",Apps:u.CONTEXT_MENU,Del:u.DELETE,Up:u.ARROW_UP,Down:u.ARROW_DOWN,Left:u.ARROW_LEFT,Right:u.ARROW_RIGHT}),a=V.firefox?"DOMMouseScroll":"mousewheel",s=[];function at(n){let r=n.type===a;s.forEach(({type:t,cb:e})=>{n.cancelBubble||(t===n.type||r&&"mousewheel"===t)&&e(n)})}class zt{constructor(t,e,n){ct(this,"$event",void 0),this.$event=t,Object.assign(this,e,n)}stopPropagation(){var t=this.$event;t&&t.stopPropagation()}preventDefault(){var t=this.$event;t&&t.preventDefault()}}let l=(t,e,n)=>new zt(t,e,n),p={on(t,e,n){s.push({comp:t,type:e,cb:n})},off(e,n){B().remove(s,t=>t.comp===e&&t.type===n)},hasKey(t,e){t=t.key;return e=e.toLowerCase(),!(!t||e!==t.toLowerCase()&&(!c[t]||c[t].toLowerCase()!==e))}};V.isDoc&&(V.msie||(window.addEventListener("copy",at,!1),window.addEventListener("cut",at,!1),window.addEventListener("paste",at,!1)),document.addEventListener("keydown",at,!1),document.addEventListener("contextmenu",at,!1),window.addEventListener("mousedown",at,!1),window.addEventListener("blur",at,!1),window.addEventListener("resize",at,!1),window.addEventListener(a,B().throttle(at,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1}));let d,h=[],N=500;function jt(){h.length&&(h.forEach(i=>{i.tarList.forEach(t=>{var{target:e,width:n,heighe:r}=t,o=e.clientWidth,e=e.clientHeight;(o&&n!==o||e&&r!==e)&&(t.width=o,t.heighe=e,setTimeout(i.callback))})}),st())}function st(){clearTimeout(d),d=setTimeout(jt,f.resizeInterval||N)}class _t{constructor(t){ct(this,"tarList",[]),ct(this,"callback",void 0),this.callback=t}observe(e){var t;e&&(t=this.tarList,t.some(t=>t.target===e)||t.push({target:e,width:e.clientWidth,heighe:e.clientHeight}),h.length||st(),h.some(t=>t===this)||h.push(this))}unobserve(e){B().remove(h,t=>t.tarList.some(t=>t.target===e))}disconnect(){B().remove(h,t=>t===this)}}let v={create(t){return new(window.ResizeObserver||_t)(t)}};function ft(t,e){var{langMaps:n,language:r}=i,o=f.i18n;return o?""+(o(t,e)||""):B().toFormatString(B().get(n[r],t,t),e)}function lt(t){var e=i.langMaps;return!!e[t]}function pt(){var t=i.language;return t}function dt(n,r){return function(t,e){t=`[vxe ${r||""}] `+ft(t,e);return console[n](t),t}}let g={create:dt,warn:dt("warn","v3.0.9"),err:dt("error","v3.0.9")},m={},b={mixin(t){return B().each(t,(t,e)=>b.add(e,t)),b},get(t){return m[t]||null},add(r,t){if(r&&t){let n=m[r];n?(B().each(t,(t,e)=>{B().eqNull(n[e])||n[e]===t||g.warn("vxe.error.coverProp",["Renderer."+r,e])}),Object.assign(n,t)):m[r]=t}return b},forEach(t){return B().objectEach(m,t),b},delete(t){return delete m[t],b}},k=class{constructor(){ct(this,"store",{})}mixin(t){return B().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(r,t){var e=this.store[r];{let n=B().keys(e);B().each(t,(t,e)=>{n.includes(e)&&g.warn("vxe.error.coverProp",[r,e])})}return this.store[r]=e?B().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){B().objectEach(this.store,t)}},y=new k,x=(Object.assign(y,{_name:"Validators"}),new class{constructor(){ct(this,"store",{})}mixin(t){return B().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(r,t){var e=this.store[r];B().isFunction(t)&&(g.warn("vxe.error.delProp",["menus -> callback","menuMethod"]),t={menuMethod:t});{let n=B().keys(e);B().each(t,(t,e)=>{n.includes(e)&&g.warn("vxe.error.coverProp",[r,e])})}return this.store[r]=e?B().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){B().objectEach(this.store,t)}}),w=(Object.assign(x,{_name:"Menus"}),new class{constructor(){ct(this,"store",{})}mixin(t){return B().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(r,t){var e=this.store[r];B().isFunction(t)&&(g.warn("vxe.error.delProp",["formats -> callback","cellFormatMethod"]),t={cellFormatMethod:t});{let n=B().keys(e);B().each(t,(t,e)=>{n.includes(e)&&g.warn("vxe.error.coverProp",[r,e])})}return this.store[r]=e?B().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){B().objectEach(this.store,t)}}),E=(Object.assign(w,{_name:"Formats"}),new class{constructor(){ct(this,"store",{})}mixin(t){return B().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(r,t){var e=this.store[r];B().isFunction(t)&&(g.warn("vxe.error.delProp",["commands -> callback","commandMethod"]),t={commandMethod:t});{let n=B().keys(e);B().each(t,(t,e)=>{n.includes(e)&&g.warn("vxe.error.coverProp",[r,e])})}return this.store[r]=e?B().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){B().objectEach(this.store,t)}}),O=(Object.assign(E,{_name:"Commands"}),{}),S={mixin(t){return B().each(t,(t,e)=>{S.add(e,t)}),S},get(t){return O[t]||[]},add(e,n){n=(n=B().isFunction(n)?{tableInterceptorMethod:n}:n).tableInterceptorMethod;if(n){let t=O[e];-1<(t=t||(O[e]=[])).indexOf(n)&&g.warn("vxe.error.coverProp",["Interceptor",e]),t.push(n)}return S},delete(t,n){var r=O[t];if(r){let e=(n=B().isFunction(n)?{tableInterceptorMethod:n}:n)?n.tableInterceptorMethod:null;e?B().remove(r,t=>t===e):delete O[t]}}},j,P={text:"",html:""},M={getStore(){return P},setStore(t){Object.assign(P,t||{})},copy(t){let e=!1;try{var n=B().toValueString(t);r=n,j||((j=document.createElement("textarea")).id="$VxeCopy",(o=j.style).width="48px",o.height="24px",o.position="fixed",o.zIndex="0",o.left="-500px",o.top="-500px",document.body.appendChild(j)),j.value=r,j.select(),j.setSelectionRange(0,j.value.length),e=document.execCommand("copy"),j.blur(),P.text=n,P.html=""}catch(t){}var r,o;return e}};function ht(t,e){let i=!0,u=!1;var c=e||f.permissionMethod;if(t&&c){i=!1;let r=!(u=!0),o=!1;var a=String(t).split("|");for(let n=0;n<a.length;n++){let t=!0,e=!1;var s=c({code:a[n]});if(B().isBoolean(s)?t=s:s&&(t=!!s.visible,e=!!s.disabled),e||o||(o=!0,u=e),t&&!r&&(r=!0,i=t),r&&o)break}}return{code:t,visible:i,disabled:u}}let C={getCheckInfo(t){return ht(t)},checkVisible(t){return ht(t).visible},checkDisable(t){return ht(t).disabled}},T=o().extend({inject:{$xeSizeInfo:{default:null}},provide(){return{$xeSizeInfo:{size:this.computeSize}}},computed:{computeSize(){var t=this.size,e=this.$xeSizeInfo;return t||(e?e.size:null)}}}),I=o().extend({computed:{computePermissionInfo(){return ht(this.permissionCode,this.permissionMethod)}}}),L={sizeMixin:T,permissionMixin:I};function vt(t){var e,t=t&&"default"!==t?t:"light";return n.theme=t,"undefined"!=typeof document&&(e=document.documentElement)&&e.setAttribute("data-vxe-ui-theme",t),_}function gt(){return n.theme}function mt(t){return i.language=t||"zh-CN",_}function bt(t,e){var n=i.langMaps;return i.langMaps=Object.assign({},n,{[t]:Object.assign({},e)}),_}function yt(t){return t&&(t.zIndex&&Ot.setCurrent(t.zIndex),t.theme&&vt(t.theme),B().merge(f,t)),_}function Pt(t,e){return arguments.length?B().get(f,t,e):f}function Mt(t){return t&&Object.assign(e,t),_}function Ct(t){return arguments.length?B().get(e,t):e}let A="3.0.9",R=[];function Tt(t,e){return t&&t.install&&-1===R.indexOf(t)&&(t.install(_,e),R.push(t)),_}let z={};function It(t){return z[t]||null}function Lt(t){t&&t.name&&(z[t.name]=t)}function At(t){t=t._e;return t()}let _={coreVersion:A,renderEmptyElement:At,setTheme:vt,getTheme:gt,setConfig:yt,getConfig:Pt,setIcon:Mt,getIcon:Ct,setLanguage:mt,hasLanguage:lt,getLanguage:pt,setI18n:bt,getI18n:ft,globalEvents:p,GLOBAL_EVENT_KEYS:u,createEvent:l,globalResize:v,renderer:b,validators:y,menus:x,formats:w,commands:E,interceptor:S,clipboard:M,log:g,permission:C,globalStore:t,component:Lt,getComponent:It,globalMixins:L,use:Tt};vt();var Rt=_;return W}});
|
|
1
|
+
((t,n)=>{"object"==typeof exports&&"object"==typeof module?module.exports=n(require("vue"),require("xe-utils")):"function"==typeof define&&define.amd?define([,"xe-utils"],n):"object"==typeof exports?exports.VxeCore=n(require("vue"),require("xe-utils")):t.VxeCore=n(t.Vue,t.XEUtils)})("undefined"!=typeof self?self:this,function(N,F){return st={1834:function(t,n,e){e(8251).default;e(6280),e(3851),e(4864),e(7465),e(7495),e(7745),e(8781),e(5440),e(2762),e(3611),void 0!==(n="function"==typeof(e=function(){function p(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==p&&document.currentScript)return document.currentScript;try{throw new Error}catch(t){var n=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,e=/@([^@]*):(\d+):(\d+)\s*$/gi,r=n.exec(t.stack)||e.exec(t.stack),o=r&&r[1]||false,i=r&&r[2]||false,u=document.location.href.replace(document.location.hash,""),c,a,f,s=document.getElementsByTagName("script");if(o===u){c=document.documentElement.outerHTML;a=new RegExp("(?:[^\\n]+?\\n){0,"+(i-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i");f=c.replace(a,"$1").trim()}for(var l=0;l<s.length;l++){if(s[l].readyState==="interactive")return s[l];if(s[l].src===o)return s[l];if(o===u&&s[l].innerHTML&&s[l].innerHTML.trim()===f)return s[l]}return null}}return p})?e.apply(n,[]):e)&&(t.exports=n)},9274:function(t){t.exports=N},8871:function(t){t.exports=F},9306:function(t,n,e){var r=e(4901),o=e(6823),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},3506:function(t,n,e){var r=e(3925),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},6469:function(t,n,e){var r=e(8227),o=e(2360),e=e(4913).f,i=r("unscopables"),u=Array.prototype;void 0===u[i]&&e(u,i,{configurable:!0,value:o(null)}),t.exports=function(t){u[i][t]=!0}},7829:function(t,n,e){var r=e(8183).charAt;t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},8551:function(t,n,e){var r=e(34),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},235:function(t,n,e){var r=e(9213).forEach,e=e(4598)("forEach");t.exports=e?[].forEach:function(t){return r(this,t,1<arguments.length?arguments[1]:void 0)}},9617:function(t,n,e){function r(c){return function(t,n,e){var r=a(t),o=s(r);if(0!==o){var i,u=f(e,o);if(c&&n!=n){for(;u<o;)if((i=r[u++])!=i)return!0}else for(;u<o;u++)if((c||u in r)&&r[u]===n)return c||u||0}return!c&&-1}}var a=e(5397),f=e(5610),s=e(6198);t.exports={includes:r(!0),indexOf:r(!1)}},9213:function(t,n,e){function r(p){var v=1===p,d=2===p,g=3===p,h=4===p,y=6===p,m=7===p,b=5===p||y;return function(t,n,e,r){for(var o,i,u=S(t),c=w(u),a=E(c),f=x(n,e),s=0,n=r||O,l=v?n(t,a):d||m?n(t,0):void 0;s<a;s++)if((b||s in c)&&(i=f(o=c[s],s,u),p))if(v)l[s]=i;else if(i)switch(p){case 3:return!0;case 5:return o;case 6:return s;case 2:j(l,o)}else switch(p){case 4:return!1;case 7:j(l,o)}return y?-1:g||h?h:l}}var x=e(6080),o=e(9504),w=e(7055),S=e(8981),E=e(6198),O=e(1469),j=o([].push);t.exports={forEach:r(0),map:r(1),filter:r(2),some:r(3),every:r(4),find:r(5),findIndex:r(6),filterReject:r(7)}},597:function(t,n,e){var r=e(9039),o=e(8227),i=e(9519),u=o("species");t.exports=function(n){return 51<=i||!r(function(){var t=[];return(t.constructor={})[u]=function(){return{foo:1}},1!==t[n](Boolean).foo})}},4598:function(t,n,e){var r=e(9039);t.exports=function(t,n){var e=[][t];return!!e&&r(function(){e.call(null,n||function(){return 1},1)})}},4527:function(t,n,e){var r=e(3724),o=e(4376),i=TypeError,u=Object.getOwnPropertyDescriptor,e=r&&!function(){if(void 0!==this)return 1;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=e?function(t,n){if(o(t)&&!u(t,"length").writable)throw new i("Cannot set read only .length");return t.length=n}:function(t,n){return t.length=n}},7680:function(t,n,e){e=e(9504);t.exports=e([].slice)},7433:function(t,n,e){var r=e(4376),o=e(3517),i=e(34),u=e(8227)("species"),c=Array;t.exports=function(t){var n;return void 0===(n=r(t)&&(n=t.constructor,o(n)&&(n===c||r(n.prototype))||i(n)&&null===(n=n[u]))?void 0:n)?c:n}},1469:function(t,n,e){var r=e(7433);t.exports=function(t,n){return new(r(t))(0===n?0:n)}},2195:function(t,n,e){var e=e(9504),r=e({}.toString),o=e("".slice);t.exports=function(t){return o(r(t),8,-1)}},6955:function(t,n,e){var r=e(2140),o=e(4901),i=e(2195),u=e(8227)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());t.exports=r?i:function(t){var n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=((t,n)=>{try{return t[n]}catch(t){}})(t=c(t),u))?n:a?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},7740:function(t,n,e){var a=e(9297),f=e(5031),s=e(7347),l=e(4913);t.exports=function(t,n,e){for(var r=f(n),o=l.f,i=s.f,u=0;u<r.length;u++){var c=r[u];a(t,c)||e&&a(e,c)||o(t,c,i(n,c))}}},1436:function(t,n,e){var r=e(8227)("match");t.exports=function(n){var e=/./;try{"/./"[n](e)}catch(t){try{return e[r]=!1,"/./"[n](e)}catch(t){}}return!1}},2211:function(t,n,e){e=e(9039);t.exports=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2529:function(t){t.exports=function(t,n){return{value:t,done:n}}},6699:function(t,n,e){var r=e(3724),o=e(4913),i=e(6980);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},6980:function(t){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},2278:function(t,n,e){var r=e(3724),o=e(4913),i=e(6980);t.exports=function(t,n,e){r?o.f(t,n,i(0,e)):t[n]=e}},3640:function(t,n,e){var r=e(8551),o=e(4270),i=TypeError;t.exports=function(t){if(r(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new i("Incorrect hint");return o(this,t)}},2106:function(t,n,e){var r=e(283),o=e(4913);t.exports=function(t,n,e){return e.get&&r(e.get,n,{getter:!0}),e.set&&r(e.set,n,{setter:!0}),o.f(t,n,e)}},6840:function(t,n,e){var u=e(4901),c=e(4913),a=e(283),f=e(9433);t.exports=function(t,n,e,r){var o=(r=r||{}).enumerable,i=void 0!==r.name?r.name:n;if(u(e)&&a(e,i,r),r.global)o?t[n]=e:f(n,e);else{try{r.unsafe?t[n]&&(o=!0):delete t[n]}catch(t){}o?t[n]=e:c.f(t,n,{value:e,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t}},9433:function(t,n,e){var r=e(4576),o=Object.defineProperty;t.exports=function(n,e){try{o(r,n,{value:e,configurable:!0,writable:!0})}catch(t){r[n]=e}return e}},3724:function(t,n,e){e=e(9039);t.exports=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055:function(t,n,e){var r=e(4576),e=e(34),o=r.document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},6837:function(t){var n=TypeError;t.exports=function(t){if(9007199254740991<t)throw n("Maximum allowed index exceeded");return t}},7400:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:function(t,n,e){e=e(4055)("span").classList,e=e&&e.constructor&&e.constructor.prototype;t.exports=e===Object.prototype?void 0:e},8727:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:function(t,n,e){e=e(4576).navigator,e=e&&e.userAgent;t.exports=e?String(e):""},9519:function(t,n,e){var r,o,i=e(4576),e=e(2839),u=i.process,i=i.Deno,u=u&&u.versions||i&&i.version,i=u&&u.v8;!(o=i?0<(r=i.split("."))[0]&&r[0]<4?1:+(r[0]+r[1]):o)&&e&&(!(r=e.match(/Edge\/(\d+)/))||74<=r[1])&&(r=e.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},6193:function(t,n,e){var e=e(9504),r=Error,o=e("".replace),e=String(new r("zxcasd").stack),i=/\n\s*at [^:]*:[^\n]*/,u=i.test(e);t.exports=function(t,n){if(u&&"string"==typeof t&&!r.prepareStackTrace)for(;n--;)t=o(t,i,"");return t}},747:function(t,n,e){var o=e(6699),i=e(6193),u=e(4659),c=Error.captureStackTrace;t.exports=function(t,n,e,r){u&&(c?c(t,n):o(t,"stack",i(e,r)))}},4659:function(t,n,e){var r=e(9039),o=e(6980);t.exports=!r(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)})},6518:function(t,n,e){var f=e(4576),s=e(7347).f,l=e(6699),p=e(6840),v=e(9433),d=e(7740),g=e(2796);t.exports=function(t,n){var e,r,o,i=t.target,u=t.global,c=t.stat,a=u?f:c?f[i]||v(i,{}):f[i]&&f[i].prototype;if(a)for(e in n){if(r=n[e],o=t.dontCallGetSet?(o=s(a,e))&&o.value:a[e],!g(u?e:i+(c?".":"#")+e,t.forced)&&void 0!==o){if(typeof r==typeof o)continue;d(r,o)}(t.sham||o&&o.sham)&&l(r,"sham",!0),p(a,e,r,t)}}},9039:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},9228:function(t,n,e){e(7495);var a=e(9565),f=e(6840),s=e(7323),l=e(9039),p=e(8227),v=e(6699),d=p("species"),g=RegExp.prototype;t.exports=function(e,t,n,r){var u,o=p(e),c=!l(function(){var t={};return t[o]=function(){return 7},7!==""[e](t)}),i=c&&!l(function(){var t=!1,n=/a/;return"split"===e&&((n={constructor:{}}).constructor[d]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t});c&&i&&!n||(u=/./[o],i=t(o,""[e],function(t,n,e,r,o){var i=n.exec;return i===s||i===g.exec?c&&!o?{done:!0,value:a(u,n,e,r)}:{done:!0,value:a(t,e,n,r)}:{done:!1}}),f(String.prototype,e,i[0]),f(g,o,i[1])),r&&v(g[o],"sham",!0)}},8745:function(t,n,e){var e=e(616),r=Function.prototype,o=r.apply,i=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(e?i.bind(o):function(){return i.apply(o,arguments)})},6080:function(t,n,e){var r=e(7476),o=e(9306),i=e(616),u=r(r.bind);t.exports=function(t,n){return o(t),void 0===n?t:i?u(t,n):function(){return t.apply(n,arguments)}}},616:function(t,n,e){e=e(9039);t.exports=!e(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},9565:function(t,n,e){var e=e(616),r=Function.prototype.call;t.exports=e?r.bind(r):function(){return r.apply(r,arguments)}},350:function(t,n,e){var r=e(3724),e=e(9297),o=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,e=e(o,"name"),u=e&&"something"===function(){}.name,r=e&&(!r||i(o,"name").configurable);t.exports={EXISTS:e,PROPER:u,CONFIGURABLE:r}},6706:function(t,n,e){var r=e(9504),o=e(9306);t.exports=function(t,n,e){try{return r(o(Object.getOwnPropertyDescriptor(t,n)[e]))}catch(t){}}},7476:function(t,n,e){var r=e(2195),o=e(9504);t.exports=function(t){if("Function"===r(t))return o(t)}},9504:function(t,n,e){var e=e(616),r=Function.prototype,o=r.call,r=e&&r.bind.bind(o,o);t.exports=e?r:function(t){return function(){return o.apply(t,arguments)}}},7751:function(t,n,e){var r=e(4576),o=e(4901);t.exports=function(t,n){return arguments.length<2?(e=r[t],o(e)?e:void 0):r[t]&&r[t][n];var e}},6933:function(t,n,e){var r=e(9504),c=e(4376),a=e(4901),f=e(2195),s=e(655),l=r([].push);t.exports=function(t){if(a(t))return t;if(c(t)){for(var n=t.length,r=[],e=0;e<n;e++){var o=t[e];"string"==typeof o?l(r,o):"number"!=typeof o&&"Number"!==f(o)&&"String"!==f(o)||l(r,s(o))}var i=r.length,u=!0;return function(t,n){if(u)return u=!1,n;if(c(this))return n;for(var e=0;e<i;e++)if(r[e]===t)return n}}}},5966:function(t,n,e){var r=e(9306),o=e(4117);t.exports=function(t,n){t=t[n];return o(t)?void 0:r(t)}},2478:function(t,n,e){var r=e(9504),o=e(8981),p=Math.floor,v=r("".charAt),d=r("".replace),g=r("".slice),h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,y=/\$([$&'`]|\d{1,2})/g;t.exports=function(i,u,c,a,f,t){var s=c+i.length,l=a.length,n=y;return void 0!==f&&(f=o(f),n=h),d(t,n,function(t,n){var e;switch(v(n,0)){case"$":return"$";case"&":return i;case"`":return g(u,0,c);case"'":return g(u,s);case"<":e=f[g(n,1,-1)];break;default:var r,o=+n;if(0==o)return t;if(l<o)return 0!==(r=p(o/10))&&r<=l?void 0===a[r-1]?v(n,1):a[r-1]+v(n,1):t;e=a[o-1]}return void 0===e?"":e})}},4576:function(t,n,e){function r(t){return t&&t.Math===Math&&t}t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e.g&&e.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(t,n,e){var r=e(9504),o=e(8981),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},421:function(t){t.exports={}},397:function(t,n,e){e=e(7751);t.exports=e("document","documentElement")},5917:function(t,n,e){var r=e(3724),o=e(9039),i=e(4055);t.exports=!r&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},7055:function(t,n,e){var r=e(9504),o=e(9039),i=e(2195),u=Object,c=r("".split);t.exports=o(function(){return!u("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?c(t,""):u(t)}:u},3167:function(t,n,e){var r=e(4901),o=e(34),i=e(2967);t.exports=function(t,n,e){return i&&r(n=n.constructor)&&n!==e&&o(n=n.prototype)&&n!==e.prototype&&i(t,n),t}},3706:function(t,n,e){var r=e(9504),o=e(4901),e=e(7629),i=r(Function.toString);o(e.inspectSource)||(e.inspectSource=function(t){return i(t)}),t.exports=e.inspectSource},7584:function(t,n,e){var r=e(34),o=e(6699);t.exports=function(t,n){r(n)&&"cause"in n&&o(t,"cause",n.cause)}},1181:function(t,n,e){var r,o,i,u,c=e(8622),a=e(4576),f=e(34),s=e(6699),l=e(9297),p=e(7629),v=e(6119),e=e(421),d="Object already initialized",g=a.TypeError,a=a.WeakMap,h=c||p.state?((i=p.state||(p.state=new a)).get=i.get,i.has=i.has,i.set=i.set,r=function(t,n){if(i.has(t))throw new g(d);return n.facade=t,i.set(t,n),n},o=function(t){return i.get(t)||{}},function(t){return i.has(t)}):(e[u=v("state")]=!0,r=function(t,n){if(l(t,u))throw new g(d);return n.facade=t,s(t,u,n),n},o=function(t){return l(t,u)?t[u]:{}},function(t){return l(t,u)});t.exports={set:r,get:o,has:h,enforce:function(t){return h(t)?o(t):r(t,{})},getterFor:function(n){return function(t){if(f(t)&&(t=o(t)).type===n)return t;throw new g("Incompatible receiver, "+n+" required")}}}},4376:function(t,n,e){var r=e(2195);t.exports=Array.isArray||function(t){return"Array"===r(t)}},4901:function(t){var n="object"==typeof document&&document.all;t.exports=void 0===n&&void 0!==n?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},3517:function(t,n,e){function r(){}function o(t){if(!a(t))return!1;try{return p(r,[],t),!0}catch(t){return!1}}function i(t){if(!a(t))return!1;switch(f(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!d(v,l(t))}catch(t){return!0}}var u=e(9504),c=e(9039),a=e(4901),f=e(6955),s=e(7751),l=e(3706),p=s("Reflect","construct"),v=/^\s*(?:class|function)\b/,d=u(v.exec),g=!v.test(r);i.sham=!0,t.exports=!p||c(function(){var t;return o(o.call)||!o(Object)||!o(function(){t=!0})||t})?i:o},2796:function(t,n,e){function r(t,n){return(t=a[c(t)])===s||t!==f&&(i(n)?o(n):!!n)}var o=e(9039),i=e(4901),u=/#|\.prototype\./,c=r.normalize=function(t){return String(t).replace(u,".").toLowerCase()},a=r.data={},f=r.NATIVE="N",s=r.POLYFILL="P";t.exports=r},4117:function(t){t.exports=function(t){return null==t}},34:function(t,n,e){var r=e(4901);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},3925:function(t,n,e){var r=e(34);t.exports=function(t){return r(t)||null===t}},6395:function(t){t.exports=!1},788:function(t,n,e){var r=e(34),o=e(2195),i=e(8227)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"===o(t))}},757:function(t,n,e){var r=e(7751),o=e(4901),i=e(1625),e=e(7040),u=Object;t.exports=e?function(t){return"symbol"==typeof t}:function(t){var n=r("Symbol");return o(n)&&i(n.prototype,u(t))}},3994:function(t,n,e){function o(){return this}var i=e(7657).IteratorPrototype,u=e(2360),c=e(6980),a=e(687),f=e(6269);t.exports=function(t,n,e,r){n+=" Iterator";return t.prototype=u(i,{next:c(+!r,e)}),a(t,n,!1,!0),f[n]=o,t}},1088:function(t,n,e){function g(){return this}var h=e(6518),y=e(9565),m=e(6395),r=e(350),b=e(4901),x=e(3994),w=e(2787),S=e(2967),E=e(687),O=e(6699),j=e(6840),o=e(8227),I=e(6269),e=e(7657),T=r.PROPER,P=r.CONFIGURABLE,k=e.IteratorPrototype,R=e.BUGGY_SAFARI_ITERATORS,A=o("iterator"),L="values",M="entries";t.exports=function(t,n,e,r,o,i,u){x(e,n,r);function c(t){if(t===o&&v)return v;if(!R&&t&&t in l)return l[t];switch(t){case"keys":case L:case M:return function(){return new e(this,t)}}return function(){return new e(this)}}var a,f,r=n+" Iterator",s=!1,l=t.prototype,p=l[A]||l["@@iterator"]||o&&l[o],v=!R&&p||c(o),d="Array"===n&&l.entries||p;if(d&&(d=w(d.call(new t)))!==Object.prototype&&d.next&&(m||w(d)===k||(S?S(d,k):b(d[A])||j(d,A,g)),E(d,r,!0,!0),m)&&(I[r]=g),T&&o===L&&p&&p.name!==L&&(!m&&P?O(l,"name",L):(s=!0,v=function(){return y(p,this)})),o)if(a={values:c(L),keys:i?v:c("keys"),entries:c(M)},u)for(f in a)!R&&!s&&f in l||j(l,f,a[f]);else h({target:n,proto:!0,forced:R||s},a);return m&&!u||l[A]===v||j(l,A,v,{name:o}),I[n]=v,a}},7657:function(t,n,e){var r,o,i=e(9039),u=e(4901),c=e(34),a=e(2360),f=e(2787),s=e(6840),l=e(8227),e=e(6395),p=l("iterator"),l=!1;[].keys&&("next"in(o=[].keys())?(f=f(f(o)))!==Object.prototype&&(r=f):l=!0),!c(r)||i(function(){var t={};return r[p].call(t)!==t})?r={}:e&&(r=a(r)),u(r[p])||s(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:l}},6269:function(t){t.exports={}},6198:function(t,n,e){var r=e(8014);t.exports=function(t){return r(t.length)}},283:function(t,n,e){var r=e(9504),o=e(9039),i=e(4901),u=e(9297),c=e(3724),a=e(350).CONFIGURABLE,f=e(3706),e=e(1181),s=e.enforce,l=e.get,p=String,v=Object.defineProperty,d=r("".slice),g=r("".replace),h=r([].join),y=c&&!o(function(){return 8!==v(function(){},"length",{value:8}).length}),m=String(String).split("String"),e=t.exports=function(t,n,e){"Symbol("===d(p(n),0,7)&&(n="["+g(p(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(n="get "+n),e&&e.setter&&(n="set "+n),(!u(t,"name")||a&&t.name!==n)&&(c?v(t,"name",{value:n,configurable:!0}):t.name=n),y&&e&&u(e,"arity")&&t.length!==e.arity&&v(t,"length",{value:e.arity});try{e&&u(e,"constructor")&&e.constructor?c&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}e=s(t);return u(e,"source")||(e.source=h(m,"string"==typeof n?n:"")),t};Function.prototype.toString=e(function(){return i(this)&&l(this).source||f(this)},"toString")},741:function(t){var n=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){t=+t;return(0<t?e:n)(t)}},2603:function(t,n,e){var r=e(655);t.exports=function(t,n){return void 0===t?arguments.length<2?"":n:r(t)}},5749:function(t,n,e){var r=e(788),o=TypeError;t.exports=function(t){if(r(t))throw new o("The method doesn't accept regular expressions");return t}},4213:function(t,n,e){var p=e(3724),r=e(9504),v=e(9565),o=e(9039),d=e(1072),g=e(3717),h=e(8773),y=e(8981),m=e(7055),i=Object.assign,u=Object.defineProperty,b=r([].concat);t.exports=!i||o(function(){var t,n,e,r;return!(!p||1===i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(n={},r="abcdefghijklmnopqrst",(t={})[e=Symbol("assign detection")]=7,r.split("").forEach(function(t){n[t]=t}),7!==i({},t)[e])||d(i({},n)).join("")!==r})?function(t,n){for(var e=y(t),r=arguments.length,o=1,i=g.f,u=h.f;o<r;)for(var c,a=m(arguments[o++]),f=i?b(d(a),i(a)):d(a),s=f.length,l=0;l<s;)c=f[l++],p&&!v(u,a,c)||(e[c]=a[c]);return e}:i},2360:function(t,n,e){function r(){}function o(t){t.write(y("")),t.close();var n=t.parentWindow.Object;return t=null,n}var i,u=e(8551),c=e(6801),a=e(8727),f=e(421),s=e(397),l=e(4055),e=e(6119),p=">",v="<",d="prototype",g="script",h=e("IE_PROTO"),y=function(t){return v+g+p+t+v+"/"+g+p},m=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}m="undefined"==typeof document||document.domain&&i?o(i):(t=l("iframe"),n="java"+g+":",t.style.display="none",s.appendChild(t),t.src=String(n),(n=t.contentWindow.document).open(),n.write(y("document.F=Object")),n.close(),n.F);for(var t,n,e=a.length;e--;)delete m[d][a[e]];return m()};f[h]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(r[d]=u(t),e=new r,r[d]=null,e[h]=t):e=m(),void 0===n?e:c.f(e,n)}},6801:function(t,n,e){var r=e(3724),o=e(8686),c=e(4913),a=e(8551),f=e(5397),s=e(1072);n.f=r&&!o?Object.defineProperties:function(t,n){a(t);for(var e,r=f(n),o=s(n),i=o.length,u=0;u<i;)c.f(t,e=o[u++],r[e]);return t}},4913:function(t,n,e){var r=e(3724),o=e(5917),i=e(8686),u=e(8551),c=e(6969),a=TypeError,f=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",v="writable";n.f=r?i?function(t,n,e){var r;return u(t),n=c(n),u(e),"function"==typeof t&&"prototype"===n&&"value"in e&&v in e&&!e[v]&&(r=s(t,n))&&r[v]&&(t[n]=e.value,e={configurable:(p in e?e:r)[p],enumerable:(l in e?e:r)[l],writable:!1}),f(t,n,e)}:f:function(t,n,e){if(u(t),n=c(n),u(e),o)try{return f(t,n,e)}catch(t){}if("get"in e||"set"in e)throw new a("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},7347:function(t,n,e){var r=e(3724),o=e(9565),i=e(8773),u=e(6980),c=e(5397),a=e(6969),f=e(9297),s=e(5917),l=Object.getOwnPropertyDescriptor;n.f=r?l:function(t,n){if(t=c(t),n=a(n),s)try{return l(t,n)}catch(t){}if(f(t,n))return u(!o(i.f,t,n),t[n])}},298:function(t,n,e){var r=e(2195),o=e(5397),i=e(8480).f,u=e(7680),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){if(!c||"Window"!==r(t))return i(o(t));try{return i(t)}catch(t){return u(c)}}},8480:function(t,n,e){var r=e(1828),o=e(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},3717:function(t,n){n.f=Object.getOwnPropertySymbols},2787:function(t,n,e){var r=e(9297),o=e(4901),i=e(8981),u=e(6119),e=e(2211),c=u("IE_PROTO"),a=Object,f=a.prototype;t.exports=e?a.getPrototypeOf:function(t){var n,t=i(t);return r(t,c)?t[c]:(n=t.constructor,o(n)&&t instanceof n?n.prototype:t instanceof a?f:null)}},1625:function(t,n,e){e=e(9504);t.exports=e({}.isPrototypeOf)},1828:function(t,n,e){var r=e(9504),u=e(9297),c=e(5397),a=e(9617).indexOf,f=e(421),s=r([].push);t.exports=function(t,n){var e,r=c(t),o=0,i=[];for(e in r)!u(f,e)&&u(r,e)&&s(i,e);for(;n.length>o;)!u(r,e=n[o++])||~a(i,e)||s(i,e);return i}},1072:function(t,n,e){var r=e(1828),o=e(8727);t.exports=Object.keys||function(t){return r(t,o)}},8773:function(t,n){var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!e.call({1:2},1);n.f=o?function(t){t=r(this,t);return!!t&&t.enumerable}:e},2967:function(t,n,e){var o=e(6706),i=e(34),u=e(7750),c=e(3506);t.exports=Object.setPrototypeOf||("__proto__"in{}?(()=>{var e,r=!1,t={};try{(e=o(Object.prototype,"__proto__","set"))(t,[]),r=t instanceof Array}catch(t){}return function(t,n){return u(t),c(n),i(t)&&(r?e(t,n):t.__proto__=n),t}})():void 0)},3179:function(t,n,e){var r=e(2140),o=e(6955);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:function(t,n,e){var o=e(9565),i=e(4901),u=e(34),c=TypeError;t.exports=function(t,n){var e,r;if("string"===n&&i(e=t.toString)&&!u(r=o(e,t)))return r;if(i(e=t.valueOf)&&!u(r=o(e,t)))return r;if("string"!==n&&i(e=t.toString)&&!u(r=o(e,t)))return r;throw new c("Can't convert object to primitive value")}},5031:function(t,n,e){var r=e(7751),o=e(9504),i=e(8480),u=e(3717),c=e(8551),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var n=i.f(c(t)),e=u.f;return e?a(n,e(t)):n}},9167:function(t,n,e){e=e(4576);t.exports=e},1056:function(t,n,e){var r=e(4913).f;t.exports=function(t,n,e){e in t||r(t,e,{configurable:!0,get:function(){return n[e]},set:function(t){n[e]=t}})}},6682:function(t,n,e){var r=e(9565),o=e(8551),i=e(4901),u=e(2195),c=e(7323),a=TypeError;t.exports=function(t,n){var e=t.exec;if(i(e))return null!==(e=r(e,t,n))&&o(e),e;if("RegExp"===u(t))return r(c,t,n);throw new a("RegExp#exec called on incompatible receiver")}},7323:function(t,n,e){var d=e(9565),r=e(9504),g=e(655),h=e(7979),o=e(8429),i=e(5745),y=e(2360),m=e(1181).get,u=e(3635),e=e(8814),b=i("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,w=x,S=r("".charAt),E=r("".indexOf),O=r("".replace),j=r("".slice),I=(i=/b*/g,d(x,r=/a/,"a"),d(x,i,"a"),0!==r.lastIndex||0!==i.lastIndex),T=o.BROKEN_CARET,P=void 0!==/()??/.exec("")[1];(I||P||T||u||e)&&(w=function(t){var n,e,r,o,i,u,c=this,a=m(c),t=g(t),f=a.raw;if(f)return f.lastIndex=c.lastIndex,l=d(w,f,t),c.lastIndex=f.lastIndex,l;var s=a.groups,f=T&&c.sticky,l=d(h,c),a=c.source,p=0,v=t;if(f&&(l=O(l,"y",""),-1===E(l,"g")&&(l+="g"),v=j(t,c.lastIndex),0<c.lastIndex&&(!c.multiline||(c.multiline,"\n"!==S(t,c.lastIndex-1)))&&(a="(?: "+a+")",v=" "+v,p++),n=new RegExp("^(?:"+a+")",l)),P&&(n=new RegExp("^"+a+"$(?!\\s)",l)),I&&(e=c.lastIndex),r=d(x,f?n:c,v),f?r?(r.input=j(r.input,p),r[0]=j(r[0],p),r.index=c.lastIndex,c.lastIndex+=r[0].length):c.lastIndex=0:I&&r&&(c.lastIndex=c.global?r.index+r[0].length:e),P&&r&&1<r.length&&d(b,r[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r&&s)for(r.groups=i=y(null),o=0;o<s.length;o++)i[(u=s[o])[0]]=r[u[1]];return r}),t.exports=w},7979:function(t,n,e){var r=e(8551);t.exports=function(){var t=r(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}},1034:function(t,n,e){var r=e(9565),o=e(9297),i=e(1625),u=e(7979),c=RegExp.prototype;t.exports=function(t){var n=t.flags;return void 0!==n||"flags"in c||o(t,"flags")||!i(c,t)?n:r(u,t)}},8429:function(t,n,e){var r=e(9039),o=e(4576).RegExp,e=r(function(){var t=o("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),i=e||r(function(){return!o("a","y").sticky}),r=e||r(function(){var t=o("^r","gy");return t.lastIndex=2,null!==t.exec("str")});t.exports={BROKEN_CARET:r,MISSED_STICKY:i,UNSUPPORTED_Y:e}},3635:function(t,n,e){var r=e(9039),o=e(4576).RegExp;t.exports=r(function(){var t=o(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})},8814:function(t,n,e){var r=e(9039),o=e(4576).RegExp;t.exports=r(function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})},7750:function(t,n,e){var r=e(4117),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},7633:function(t,n,e){var r=e(7751),o=e(2106),i=e(8227),u=e(3724),c=i("species");t.exports=function(t){t=r(t);u&&t&&!t[c]&&o(t,c,{configurable:!0,get:function(){return this}})}},687:function(t,n,e){var r=e(4913).f,o=e(9297),i=e(8227)("toStringTag");t.exports=function(t,n,e){(t=t&&!e?t.prototype:t)&&!o(t,i)&&r(t,i,{configurable:!0,value:n})}},6119:function(t,n,e){var r=e(5745),o=e(3392),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629:function(t,n,e){var r=e(6395),o=e(4576),e=e(9433),i="__core-js_shared__",t=t.exports=o[i]||e(i,{});(t.versions||(t.versions=[])).push({version:"3.38.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(t,n,e){var r=e(7629);t.exports=function(t,n){return r[t]||(r[t]=n||{})}},8183:function(t,n,e){function r(o){return function(t,n){var e,t=u(c(t)),n=i(n),r=t.length;return n<0||r<=n?o?"":void 0:(e=f(t,n))<55296||56319<e||n+1===r||(r=f(t,n+1))<56320||57343<r?o?a(t,n):e:o?s(t,n,n+2):r-56320+(e-55296<<10)+65536}}var o=e(9504),i=e(1291),u=e(655),c=e(7750),a=o("".charAt),f=o("".charCodeAt),s=o("".slice);t.exports={codeAt:r(!1),charAt:r(!0)}},706:function(t,n,e){var r=e(350).PROPER,o=e(9039),i=e(7452);t.exports=function(t){return o(function(){return!!i[t]()||"
"!=="
"[t]()||r&&i[t].name!==t})}},3802:function(t,n,e){function r(n){return function(t){t=u(i(t));return 1&n&&(t=c(t,a,"")),t=2&n?c(t,f,"$1"):t}}var o=e(9504),i=e(7750),u=e(655),e=e(7452),c=o("".replace),a=RegExp("^["+e+"]+"),f=RegExp("(^|[^"+e+"])["+e+"]+$");t.exports={start:r(1),end:r(2),trim:r(3)}},4495:function(t,n,e){var r=e(9519),o=e(9039),i=e(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},8242:function(t,n,e){var r=e(9565),o=e(7751),i=e(8227),u=e(6840);t.exports=function(){var t=o("Symbol"),t=t&&t.prototype,n=t&&t.valueOf,e=i("toPrimitive");t&&!t[e]&&u(t,e,function(t){return r(n,this)},{arity:1})}},1296:function(t,n,e){e=e(4495);t.exports=e&&!!Symbol.for&&!!Symbol.keyFor},1240:function(t,n,e){e=e(9504);t.exports=e(1..valueOf)},5610:function(t,n,e){var r=e(1291),o=Math.max,i=Math.min;t.exports=function(t,n){t=r(t);return t<0?o(t+n,0):i(t,n)}},5397:function(t,n,e){var r=e(7055),o=e(7750);t.exports=function(t){return r(o(t))}},1291:function(t,n,e){var r=e(741);t.exports=function(t){t=+t;return t!=t||0==t?0:r(t)}},8014:function(t,n,e){var r=e(1291),o=Math.min;t.exports=function(t){t=r(t);return 0<t?o(t,9007199254740991):0}},8981:function(t,n,e){var r=e(7750),o=Object;t.exports=function(t){return o(r(t))}},2777:function(t,n,e){var r=e(9565),o=e(34),i=e(757),u=e(5966),c=e(4270),e=e(8227),a=TypeError,f=e("toPrimitive");t.exports=function(t,n){if(!o(t)||i(t))return t;var e=u(t,f);if(e){if(e=r(e,t,n=void 0===n?"default":n),!o(e)||i(e))return e;throw new a("Can't convert object to primitive value")}return c(t,n=void 0===n?"number":n)}},6969:function(t,n,e){var r=e(2777),o=e(757);t.exports=function(t){t=r(t,"string");return o(t)?t:t+""}},2140:function(t,n,e){var r={};r[e(8227)("toStringTag")]="z",t.exports="[object z]"===String(r)},655:function(t,n,e){var r=e(6955),o=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},6823:function(t){var n=String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},3392:function(t,n,e){var e=e(9504),r=0,o=Math.random(),i=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++r+o,36)}},7040:function(t,n,e){e=e(4495);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(t,n,e){var r=e(3724),e=e(9039);t.exports=r&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8622:function(t,n,e){var r=e(4576),e=e(4901),r=r.WeakMap;t.exports=e(r)&&/native code/.test(String(r))},511:function(t,n,e){var r=e(9167),o=e(9297),i=e(1951),u=e(4913).f;t.exports=function(t){var n=r.Symbol||(r.Symbol={});o(n,t)||u(n,t,{value:i.f(t)})}},1951:function(t,n,e){e=e(8227);n.f=e},8227:function(t,n,e){var r=e(4576),o=e(5745),i=e(9297),u=e(3392),c=e(4495),e=e(7040),a=r.Symbol,f=o("wks"),s=e?a.for||a:a&&a.withoutSetter||u;t.exports=function(t){return i(f,t)||(f[t]=c&&i(a,t)?a[t]:s("Symbol."+t)),f[t]}},7452:function(t){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},4601:function(t,n,e){var s=e(7751),l=e(9297),p=e(6699),v=e(1625),d=e(2967),g=e(7740),h=e(1056),y=e(3167),m=e(2603),b=e(7584),x=e(747),w=e(3724),S=e(6395);t.exports=function(t,n,e,r){var o="stackTraceLimit",i=r?2:1,t=t.split("."),u=t[t.length-1],c=s.apply(null,t);if(c){var a=c.prototype;if(!S&&l(a,"cause")&&delete a.cause,!e)return c;var t=s("Error"),f=n(function(t,n){n=m(r?n:t,void 0),t=r?new c(t):new c;return void 0!==n&&p(t,"message",n),x(t,f,t.stack,2),this&&v(a,this)&&y(t,this,f),i<arguments.length&&b(t,arguments[i]),t});if(f.prototype=a,"Error"!==u?d?d(f,t):g(f,t,{name:!0}):w&&o in c&&(h(f,c,o),h(f,c,"prepareStackTrace")),g(f,c),!S)try{a.name!==u&&p(a,"name",u),a.constructor=f}catch(t){}return f}}},8706:function(t,n,e){var r=e(6518),o=e(9039),l=e(4376),p=e(34),v=e(8981),d=e(6198),g=e(6837),h=e(2278),y=e(1469),i=e(597),u=e(8227),e=e(9519),m=u("isConcatSpreadable"),u=51<=e||!o(function(){var t=[];return t[m]=!1,t.concat()[0]!==t});r({target:"Array",proto:!0,arity:1,forced:!u||!i("concat")},{concat:function(t){for(var n,e,r,o,i,u=v(this),c=y(u,0),a=0,f=-1,s=arguments.length;f<s;f++)if(i=void 0,!p(o=r=-1===f?u:arguments[f])||(void 0!==(i=o[m])?!i:!l(o)))g(a+1),h(c,a++,r);else for(e=d(r),g(a+e),n=0;n<e;n++,a++)n in r&&h(c,a,r[n]);return c.length=a,c}})},4423:function(t,n,e){var r=e(6518),o=e(9617).includes,i=e(9039),e=e(6469);r({target:"Array",proto:!0,forced:i(function(){return!Array(1).includes()})},{includes:function(t){return o(this,t,1<arguments.length?arguments[1]:void 0)}}),e("includes")},3792:function(t,n,e){var r=e(5397),o=e(6469),i=e(6269),u=e(1181),c=e(4913).f,a=e(1088),f=e(2529),s=e(6395),e=e(3724),l="Array Iterator",p=u.set,v=u.getterFor(l),u=(t.exports=a(Array,"Array",function(t,n){p(this,{type:l,target:r(t),index:0,kind:n})},function(){var t=v(this),n=t.target,e=t.index++;if(!n||e>=n.length)return t.target=null,f(void 0,!0);switch(t.kind){case"keys":return f(e,!1);case"values":return f(n[e],!1)}return f([e,n[e]],!1)},"values"),i.Arguments=i.Array);if(o("keys"),o("values"),o("entries"),!s&&e&&"values"!==u.name)try{c(u,"name",{value:"values"})}catch(t){}},4114:function(t,n,e){var r=e(6518),i=e(8981),u=e(6198),c=e(4527),a=e(6837);r({target:"Array",proto:!0,arity:1,forced:e(9039)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!(()=>{try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}})()},{push:function(t){var n=i(this),e=u(n),r=arguments.length;a(e+r);for(var o=0;o<r;o++)n[e]=arguments[o],e++;return c(n,e),e}})},9572:function(t,n,e){var r=e(9297),o=e(6840),i=e(3640),e=e(8227)("toPrimitive"),u=Date.prototype;r(u,e)||o(u,e,i)},6280:function(t,n,e){function r(t,n){var e={};e[t]=a(t,n,l),i({global:!0,constructor:!0,arity:1,forced:l},e)}function o(t,n){var e;s&&s[t]&&((e={})[t]=a(f+"."+t,n,l),i({target:f,stat:!0,constructor:!0,arity:1,forced:l},e))}var i=e(6518),u=e(4576),c=e(8745),a=e(4601),f="WebAssembly",s=u[f],l=7!==new Error("e",{cause:7}).cause;r("Error",function(n){return function(t){return c(n,this,arguments)}}),r("EvalError",function(n){return function(t){return c(n,this,arguments)}}),r("RangeError",function(n){return function(t){return c(n,this,arguments)}}),r("ReferenceError",function(n){return function(t){return c(n,this,arguments)}}),r("SyntaxError",function(n){return function(t){return c(n,this,arguments)}}),r("TypeError",function(n){return function(t){return c(n,this,arguments)}}),r("URIError",function(n){return function(t){return c(n,this,arguments)}}),o("CompileError",function(n){return function(t){return c(n,this,arguments)}}),o("LinkError",function(n){return function(t){return c(n,this,arguments)}}),o("RuntimeError",function(n){return function(t){return c(n,this,arguments)}})},2010:function(t,n,e){var r=e(3724),o=e(350).EXISTS,i=e(9504),e=e(2106),u=Function.prototype,c=i(u.toString),a=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(a.exec);r&&!o&&e(u,"name",{configurable:!0,get:function(){try{return f(a,c(this))[1]}catch(t){return""}}})},3110:function(t,n,e){function o(t,n){var e=v(arguments),r=d(n);if(l(r)||void 0!==t&&!p(t))return e[1]=function(t,n){if(l(r)&&(n=a(r,this,g(t),n)),!p(n))return n},c(h,null,e)}function i(t,n,e){var r=m(e,n-1),e=m(e,n+1);return y(E,t)&&!y(O,e)||y(O,t)&&!y(E,r)?"\\u"+w(b(t,0),16):t}var r=e(6518),u=e(7751),c=e(8745),a=e(9565),f=e(9504),s=e(9039),l=e(4901),p=e(757),v=e(7680),d=e(6933),e=e(4495),g=String,h=u("JSON","stringify"),y=f(/./.exec),m=f("".charAt),b=f("".charCodeAt),x=f("".replace),w=f(1..toString),S=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,O=/^[\uDC00-\uDFFF]$/,j=!e||s(function(){var t=u("Symbol")("stringify detection");return"[null]"!==h([t])||"{}"!==h({a:t})||"{}"!==h(Object(t))}),I=s(function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")});h&&r({target:"JSON",stat:!0,arity:3,forced:j||I},{stringify:function(t,n,e){var r=v(arguments),r=c(j?o:h,null,r);return I&&"string"==typeof r?x(r,S,i):r}})},2892:function(t,n,e){function r(t){var n,t=arguments.length<1?0:E((t=>"bigint"==typeof(t=h(t,"number"))?t:k(t))(t));return d(j,n=this)&&y(function(){w(n)})?v(Object(t),this,r):t}function o(t,n){for(var e,r=c?m(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)p(n,e=r[o])&&!p(t,e)&&x(t,e,b(n,e))}var i=e(6518),u=e(6395),c=e(3724),a=e(4576),f=e(9167),s=e(9504),l=e(2796),p=e(9297),v=e(3167),d=e(1625),g=e(757),h=e(2777),y=e(9039),m=e(8480).f,b=e(7347).f,x=e(4913).f,w=e(1240),S=e(3802).trim,e="Number",E=a[e],O=f[e],j=E.prototype,I=a.TypeError,T=s("".slice),P=s("".charCodeAt),k=function(t){var n,e,r,o,i,u,c,a=h(t,"number");if(g(a))throw new I("Cannot convert a Symbol value to a number");if("string"==typeof a&&2<a.length)if(a=S(a),43===(t=P(a,0))||45===t){if(88===(n=P(a,2))||120===n)return NaN}else if(48===t){switch(P(a,1)){case 66:case 98:e=2,r=49;break;case 79:case 111:e=8,r=55;break;default:return+a}for(i=(o=T(a,2)).length,u=0;u<i;u++)if((c=P(o,u))<48||r<c)return NaN;return parseInt(o,e)}return+a},a=l(e,!E(" 0o1")||!E("0b1")||E("+0x1"));r.prototype=j,a&&!u&&(j.constructor=r),i({global:!0,constructor:!0,wrap:!0,forced:a},{Number:r});u&&O&&o(f[e],O),(a||u)&&o(f[e],E)},9085:function(t,n,e){var r=e(6518),e=e(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})},3851:function(t,n,e){var r=e(6518),o=e(9039),i=e(5397),u=e(7347).f,e=e(3724);r({target:"Object",stat:!0,forced:!e||o(function(){u(1)}),sham:!e},{getOwnPropertyDescriptor:function(t,n){return u(i(t),n)}})},9773:function(t,n,e){var r=e(6518),o=e(4495),i=e(9039),u=e(3717),c=e(8981);r({target:"Object",stat:!0,forced:!o||i(function(){u.f(1)})},{getOwnPropertySymbols:function(t){var n=u.f;return n?n(c(t)):[]}})},6099:function(t,n,e){var r=e(2140),o=e(6840),e=e(3179);r||o(Object.prototype,"toString",e,{unsafe:!0})},4864:function(N,F,t){var n=t(3724),e=t(4576),r=t(9504),o=t(2796),f=t(3167),s=t(6699),l=t(2360),i=t(8480).f,p=t(1625),v=t(788),d=t(655),g=t(1034),u=t(8429),c=t(1056),a=t(6840),h=t(9039),y=t(9297),m=t(1181).enforce,b=t(7633),x=t(8227),w=t(3635),S=t(8814),E=x("match"),O=e.RegExp,j=O.prototype,D=e.SyntaxError,$=r(j.exec),I=r("".charAt),T=r("".replace),P=r("".indexOf),k=r("".slice),z=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,A=/a/g,t=new O(R)!==R,L=u.MISSED_STICKY,V=u.UNSUPPORTED_Y,x=n&&(!t||L||w||S||h(function(){return A[E]=!1,O(R)!==R||O(A)===A||"/a/i"!==String(O(R,"i"))}));if(o("RegExp",x)){for(var M=function(t,n){var e,r,o=p(j,this),i=v(t),u=void 0===n,c=[],a=t;if(!o&&i&&u&&t.constructor===M)return t;if((i||p(j,t))&&(t=t.source,u)&&(n=g(a)),t=void 0===t?"":d(t),n=void 0===n?"":d(n),a=t,i=n=w&&"dotAll"in R&&(e=!!n&&-1<P(n,"s"))?T(n,/s/g,""):n,L&&"sticky"in R&&(r=!!n&&-1<P(n,"y"))&&V&&(n=T(n,/y/g,"")),S&&(t=(u=(t=>{for(var n,e=t.length,r=0,o="",i=[],u=l(null),c=!1,a=!1,f=0,s="";r<=e;r++){if("\\"===(n=I(t,r)))n+=I(t,++r);else if("]"===n)c=!1;else if(!c)switch(!0){case"["===n:c=!0;break;case"("===n:if(o+=n,"?:"===k(t,r+1,r+3))continue;$(z,k(t,r+1))&&(r+=2,a=!0),f++;continue;case">"===n&&a:if(""===s||y(u,s))throw new D("Invalid capture group name");u[s]=!0,a=!(i[i.length]=[s,f]),s="";continue}a?s+=n:o+=n}return[o,i]})(t))[0],c=u[1]),u=f(O(t,n),o?this:j,M),(e||r||c.length)&&(n=m(u),e&&(n.dotAll=!0,n.raw=M((t=>{for(var n,e=t.length,r=0,o="",i=!1;r<=e;r++)"\\"===(n=I(t,r))?o+=n+I(t,++r):i||"."!==n?("["===n?i=!0:"]"===n&&(i=!1),o+=n):o+="[\\s\\S]";return o})(t),i)),r&&(n.sticky=!0),c.length)&&(n.groups=c),t!==a)try{s(u,"source",""===a?"(?:)":a)}catch(t){}return u},C=i(O),_=0;C.length>_;)c(M,O,C[_++]);(j.constructor=M).prototype=j,a(e,"RegExp",M,{constructor:!0})}b("RegExp")},7465:function(t,n,e){var r=e(3724),o=e(3635),i=e(2195),u=e(2106),c=e(1181).get,a=RegExp.prototype,f=TypeError;r&&o&&u(a,"dotAll",{configurable:!0,get:function(){if(this!==a){if("RegExp"===i(this))return!!c(this).dotAll;throw new f("Incompatible receiver, RegExp required")}}})},7495:function(t,n,e){var r=e(6518),e=e(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})},7745:function(t,n,e){var r=e(3724),o=e(8429).MISSED_STICKY,i=e(2195),u=e(2106),c=e(1181).get,a=RegExp.prototype,f=TypeError;r&&o&&u(a,"sticky",{configurable:!0,get:function(){if(this!==a){if("RegExp"===i(this))return!!c(this).sticky;throw new f("Incompatible receiver, RegExp required")}}})},906:function(t,n,e){e(7495);var r,o=e(6518),i=e(9565),u=e(4901),c=e(8551),a=e(655),e=(r=!1,(e=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&r),f=/./.test;o({target:"RegExp",proto:!0,forced:!e},{test:function(t){var n=c(this),t=a(t),e=n.exec;return u(e)?null!==(e=i(e,n,t))&&(c(e),!0):i(f,n,t)}})},8781:function(t,n,e){var r=e(350).PROPER,o=e(6840),i=e(8551),u=e(655),c=e(9039),a=e(1034),e="toString",f=RegExp.prototype,s=f[e],c=c(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),r=r&&s.name!==e;(c||r)&&o(f,e,function(){var t=i(this);return"/"+u(t.source)+"/"+u(a(t))},{unsafe:!0})},1699:function(t,n,e){var r=e(6518),o=e(9504),i=e(5749),u=e(7750),c=e(655),e=e(1436),a=o("".indexOf);r({target:"String",proto:!0,forced:!e("includes")},{includes:function(t){return!!~a(c(u(this)),c(i(t)),1<arguments.length?arguments[1]:void 0)}})},7764:function(t,n,e){var r=e(8183).charAt,o=e(655),i=e(1181),u=e(1088),c=e(2529),a="String Iterator",f=i.set,s=i.getterFor(a);u(String,"String",function(t){f(this,{type:a,string:o(t),index:0})},function(){var t=s(this),n=t.string,e=t.index;return e>=n.length?c(void 0,!0):(n=r(n,e),t.index+=n.length,c(n,!1))})},5440:function(t,n,e){var S=e(8745),o=e(9565),r=e(9504),i=e(9228),u=e(9039),E=e(8551),O=e(4901),c=e(4117),j=e(1291),I=e(8014),T=e(655),a=e(7750),P=e(7829),f=e(5966),k=e(2478),R=e(6682),s=e(8227)("replace"),A=Math.max,L=Math.min,M=r([].concat),C=r([].push),_=r("".indexOf),N=r("".slice),e="$0"==="a".replace(/./,"$0"),l=!!/./[s]&&""===/./[s]("a","$0");i("replace",function(t,b,x){var w=l?"$":"$0";return[function(t,n){var e=a(this),r=c(t)?void 0:f(t,s);return r?o(r,t,e,n):o(b,T(e),t,n)},function(t,n){var e=E(this),r=T(t);if("string"==typeof n&&-1===_(n,w)&&-1===_(n,"$<")){t=x(b,e,r,n);if(t.done)return t.value}for(var o,i=O(n),u=(i||(n=T(n)),e.global),c=(u&&(o=e.unicode,e.lastIndex=0),[]);null!==(p=R(e,r))&&(C(c,p),u);)""===T(p[0])&&(e.lastIndex=P(r,I(e.lastIndex),o));for(var a,f="",s=0,l=0;l<c.length;l++){for(var p,v=T((p=c[l])[0]),d=A(L(j(p.index),r.length),0),g=[],h=1;h<p.length;h++)C(g,void 0===(a=p[h])?a:String(a));var y=p.groups,m=i?(m=M([v],g,d,r),void 0!==y&&C(m,y),T(S(n,void 0,m))):k(v,r,d,g,y,n);s<=d&&(f+=N(r,s,d)+m,s=d+v.length)}return f+N(r,s)}]},!!u(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!e||l)},2762:function(t,n,e){var r=e(6518),o=e(3802).trim;r({target:"String",proto:!0,forced:e(706)("trim")},{trim:function(){return o(this)}})},6761:function(N,F,t){function i(t,n,e){var r=ct(k,n);r&&delete k[n],A(t,n,e),r&&t!==k&&A(k,n,r)}function n(t,n){var e=L[t]=x(R);return rt(e,{type:P,tag:t,description:n}),v||(e.description=n),e}function r(t,n,e){return t===k&&r(M,n,e),h(t),n=m(n),h(e),(g(L,n)?(e.enumerable?(g(t,T)&&t[T][n]&&(t[T][n]=!1),e=x(e,{enumerable:b(0,!1)})):(g(t,T)||A(t,T,b(1,x(null))),t[T][n]=!0),_):A)(t,n,e)}function e(n,t){h(n);var e=y(t),t=w(e).concat(a(e));return I(t,function(t){v&&!l(o,e,t)||r(n,t,e[t])}),n}function o(t){var t=m(t),n=l(ft,this,t);return!(this===k&&g(L,t)&&!g(M,t))&&(!(n||!g(this,t)||!g(L,t)||g(this,T)&&this[T][t])||n)}function u(t,n){var e,t=y(t),n=m(n);if(t!==k||!g(L,n)||g(M,n))return!(e=ct(t,n))||!g(L,n)||g(t,T)&&t[T][n]||(e.enumerable=!0),e}function c(t){var t=at(y(t)),n=[];return I(t,function(t){g(L,t)||g(X,t)||st(n,t)}),n}function a(t){var n=t===k,t=at(n?M:y(t)),e=[];return I(t,function(t){!g(L,t)||n&&!g(k,t)||st(e,L[t])}),e}var f=t(6518),s=t(4576),l=t(9565),p=t(9504),D=t(6395),v=t(3724),d=t(4495),$=t(9039),g=t(9297),z=t(1625),h=t(8551),y=t(5397),m=t(6969),V=t(655),b=t(6980),x=t(2360),w=t(1072),G=t(8480),B=t(298),U=t(3717),W=t(7347),H=t(4913),Y=t(6801),q=t(8773),S=t(6840),K=t(2106),E=t(5745),O=t(6119),X=t(421),J=t(3392),Z=t(8227),Q=t(1951),tt=t(511),nt=t(8242),et=t(687),j=t(1181),I=t(9213).forEach,T=O("hidden"),P="Symbol",t="prototype",rt=j.set,ot=j.getterFor(P),k=Object[t],O=s.Symbol,R=O&&O[t],it=s.RangeError,ut=s.TypeError,j=s.QObject,ct=W.f,A=H.f,at=B.f,ft=q.f,st=p([].push),L=E("symbols"),M=E("op-symbols"),p=E("wks"),C=!j||!j[t]||!j[t].findChild,_=v&&$(function(){return 7!==x(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?i:A;d||(S(R=(O=function(){if(z(R,this))throw new ut("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?V(arguments[0]):void 0,r=J(t),o=function(n){var e=void 0===this?s:this,n=(e===k&&l(o,M,n),g(e,T)&&g(e[T],r)&&(e[T][r]=!1),b(1,n));try{_(e,r,n)}catch(t){if(!(t instanceof it))throw t;i(e,r,n)}};return v&&C&&_(k,r,{configurable:!0,set:o}),n(r,t)})[t],"toString",function(){return ot(this).tag}),S(O,"withoutSetter",function(t){return n(J(t),t)}),q.f=o,H.f=r,Y.f=e,W.f=u,G.f=B.f=c,U.f=a,Q.f=function(t){return n(Z(t),t)},v&&(K(R,"description",{configurable:!0,get:function(){return ot(this).description}}),D||S(k,"propertyIsEnumerable",o,{unsafe:!0}))),f({global:!0,constructor:!0,wrap:!0,forced:!d,sham:!d},{Symbol:O}),I(w(p),function(t){tt(t)}),f({target:P,stat:!0,forced:!d},{useSetter:function(){C=!0},useSimple:function(){C=!1}}),f({target:"Object",stat:!0,forced:!d,sham:!v},{create:function(t,n){return void 0===n?x(t):e(x(t),n)},defineProperty:r,defineProperties:e,getOwnPropertyDescriptor:u}),f({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:c}),nt(),et(O,P),X[T]=!0},9463:function(t,n,e){var r,o,i,u,c,a,f,s=e(6518),l=e(3724),p=e(4576),v=e(9504),d=e(9297),g=e(4901),h=e(1625),y=e(655),m=e(2106),e=e(7740),b=p.Symbol,x=b&&b.prototype;!l||!g(b)||"description"in x&&void 0===b().description||(r={},e(p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:y(arguments[0]),n=h(x,this)?new b(t):void 0===t?b():b(t);return""===t&&(r[n]=!0),n},b),(p.prototype=x).constructor=p,o="Symbol(description detection)"===String(b("description detection")),i=v(x.valueOf),u=v(x.toString),c=/^Symbol\((.*)\)[^)]+$/,a=v("".replace),f=v("".slice),m(x,"description",{configurable:!0,get:function(){var t=i(this);return d(r,t)?"":(t=u(t),""===(t=o?f(t,7,-1):a(t,c,"$1"))?void 0:t)}}),s({global:!0,constructor:!0,forced:!0},{Symbol:p}))},1510:function(t,n,e){var r=e(6518),o=e(7751),i=e(9297),u=e(655),c=e(5745),e=e(1296),a=c("string-to-symbol-registry"),f=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!e},{for:function(t){var n,t=u(t);return i(a,t)?a[t]:(n=o("Symbol")(t),a[t]=n,f[n]=t,n)}})},2259:function(t,n,e){e(511)("iterator")},2675:function(t,n,e){e(6761),e(1510),e(7812),e(3110),e(9773)},7812:function(t,n,e){var r=e(6518),o=e(9297),i=e(757),u=e(6823),c=e(5745),e=e(1296),a=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!e},{keyFor:function(t){if(!i(t))throw new TypeError(u(t)+" is not a symbol");if(o(a,t))return a[t]}})},5700:function(t,n,e){var r=e(511),e=e(8242);r("toPrimitive"),e()},3500:function(t,n,e){function r(n){if(n&&n.forEach!==a)try{f(n,"forEach",a)}catch(t){n.forEach=a}}var o,i=e(4576),u=e(7400),c=e(9296),a=e(235),f=e(6699);for(o in u)u[o]&&r(i[o]&&i[o].prototype);r(c)},2953:function(t,n,e){function r(n,t){if(n){if(n[l]!==p)try{f(n,l,p)}catch(t){n[l]=p}if(s(n,t,!0),u[t])for(var e in a)if(n[e]!==a[e])try{f(n,e,a[e])}catch(t){n[e]=a[e]}}}var o,i=e(4576),u=e(7400),c=e(9296),a=e(3792),f=e(6699),s=e(687),l=e(8227)("iterator"),p=a.values;for(o in u)r(i[o]&&i[o].prototype,o);r(c,"DOMTokenList")},3611:function(t,n,e){var r,o=e(6518),i=e(4576),u=e(2106),e=e(3724),c=TypeError,a=Object.defineProperty,f=i.self!==i;try{e?(r=Object.getOwnPropertyDescriptor(i,"self"),!f&&r&&r.get&&r.enumerable||u(i,"self",{get:function(){return i},set:function(t){if(this!==i)throw new c("Illegal invocation");a(i,"self",{value:t,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})):o({global:!0,simple:!0,forced:f},{self:i})}catch(t){}},8251:function(n,t,e){function r(t){return n.exports=r="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.exports.__esModule=!0,n.exports.default=n.exports,r(t)}e(2675),e(9463),e(2259),e(3792),e(6099),e(7764),e(2953),n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}},lt={},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,{a:n}),n},r.d=function(t,n){for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.p="",r.r(pt={}),r.d(pt,{GLOBAL_EVENT_KEYS:function(){return w},VxeUI:function(){return _},clipboard:function(){return Pt},commands:function(){return A},component:function(){return at},coreVersion:function(){return Mt},createEvent:function(){return Et},default:function(){return Nt},formats:function(){return k},getComponent:function(){return ct},getConfig:function(){return rt},getI18n:function(){return K},getIcon:function(){return it},getLanguage:function(){return J},getTheme:function(){return Q},globalEvents:function(){return Ot},globalMixins:function(){return Lt},globalResize:function(){return Tt},globalStore:function(){return yt},handleCheckInfo:function(){return e},hasLanguage:function(){return X},interceptor:function(){return M},log:function(){return O},menus:function(){return P},permission:function(){return kt},permissionMixin:function(){return At},renderEmptyElement:function(){return ft},renderer:function(){return I},setConfig:function(){return et},setI18n:function(){return nt},setIcon:function(){return ot},setLanguage:function(){return tt},setTheme:function(){return a},sizeMixin:function(){return Rt},use:function(){return ut},validators:function(){return T}}),"undefined"!=typeof window&&(f=window.document.currentScript,f=(y=r(1834))(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:y}),y=f&&f.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(r.p=y[1]),r(2675),r(9463),r(2259),r(3792),r(6099),r(7764),r(2953),r(5700),r(6280),r(9572),r(2892),r(4114),r(2010),r(9085),f=r(8871),p=r.n(f),r(7495),r(906),vt="z-index-manage",l=s=null,dt="z-index-style",v={m:1e3,s:1e3},d=V("m"),g=G("m",B),h=V("s"),gt=G("s",W),y={setCurrent:d,getCurrent:g,getNext:B,setSubCurrent:h,getSubCurrent:U,getSubNext:W,getMax:function(){var t=0;if(u())for(var n=document.body.getElementsByTagName("*"),e=0;e<n.length;e++){var r=n[e];r&&r.style&&1===r.nodeType&&(r=r.style.zIndex)&&/^\d+$/.test(r)&&(t=Math.max(t,Number(r)))}return t}},$(),ht=y,m={size:"",version:1,zIndex:999,resizeInterval:500},yt={},b={},mt={theme:""},f=r(9274),x=new((y=r.n(f))().extend({data:function(){return{language:"",langMaps:{}}}})),w={F2:"F2",ESCAPE:"Escape",ENTER:"Enter",TAB:"Tab",DELETE:"Delete",BACKSPACE:"Backspace",SPACEBAR:" ",CONTEXT_MENU:"ContextMenu",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",R:"R",P:"P",Z:"Z",X:"X",C:"C",V:"V",M:"M"},f=p().browse(),bt={" ":"Spacebar",Apps:w.CONTEXT_MENU,Del:w.DELETE,Up:w.ARROW_UP,Down:w.ARROW_DOWN,Left:w.ARROW_LEFT,Right:w.ARROW_RIGHT},xt=f.firefox?"DOMMouseScroll":"mousewheel",S=[],St=(()=>t(function t(n,e,r){c(this,t),i(this,"$event",void 0),this.$event=n,Object.assign(this,e,r)},[{key:"stopPropagation",value:function(){var t=this.$event;t&&t.stopPropagation()}},{key:"preventDefault",value:function(){var t=this.$event;t&&t.preventDefault()}}]))(),Et=function(t,n,e){return new St(t,n,e)},Ot={on:function(t,n,e){S.push({comp:t,type:n,cb:e})},off:function(n,e){p().remove(S,function(t){return t.comp===n&&t.type===e})},hasKey:function(t,n){t=t.key;return n=n.toLowerCase(),!(!t||n!==t.toLowerCase()&&(!bt[t]||bt[t].toLowerCase()!==n))}},f.isDoc&&(f.msie||(window.addEventListener("copy",n,!1),window.addEventListener("cut",n,!1),window.addEventListener("paste",n,!1)),document.addEventListener("keydown",n,!1),document.addEventListener("contextmenu",n,!1),window.addEventListener("mousedown",n,!1),window.addEventListener("blur",n,!1),window.addEventListener("resize",n,!1),window.addEventListener(xt,p().throttle(n,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1})),r(3500),E=[],jt=500,It=(()=>t(function t(n){c(this,t),i(this,"tarList",[]),i(this,"callback",void 0),this.callback=n},[{key:"observe",value:function(n){var t,e=this;n&&((t=this.tarList).some(function(t){return t.target===n})||t.push({target:n,width:n.clientWidth,heighe:n.clientHeight}),E.length||q(),E.some(function(t){return t===e})||E.push(this))}},{key:"unobserve",value:function(n){p().remove(E,function(t){return t.tarList.some(function(t){return t.target===n})})}},{key:"disconnect",value:function(){var n=this;p().remove(E,function(t){return t===n})}}]))(),Tt={create:function(t){return new(window.ResizeObserver||It)(t)}},r(8706),O={create:Z,warn:Z("warn","v".concat("3.0.11")),err:Z("error","v".concat("3.0.11"))},j={},I={mixin:function(t){return p().each(t,function(t,n){return I.add(n,t)}),I},get:function(t){return j[t]||null},add:function(e,t){var r;return e&&t&&((r=j[e])?(p().each(t,function(t,n){p().eqNull(r[n])||r[n]===t||O.warn("vxe.error.coverProp",["Renderer.".concat(e),n])}),Object.assign(r,t)):j[e]=t),I},forEach:function(t){return p().objectEach(j,t),I},delete:function(t){return delete j[t],I}},r(4423),r(1699),T=new((()=>t(function t(){c(this,t),i(this,"store",{})},[{key:"mixin",value:function(t){var e=this;return p().each(t,function(t,n){e.add(n,t)}),this}},{key:"has",value:function(t){return!!this.get(t)}},{key:"get",value:function(t){return this.store[t]}},{key:"add",value:function(e,t){var n=this.store[e],r=p().keys(n);return p().each(t,function(t,n){r.includes(n)&&O.warn("vxe.error.coverProp",[e,n])}),this.store[e]=n?p().merge(n,t):t,this}},{key:"delete",value:function(t){delete this.store[t]}},{key:"forEach",value:function(t){p().objectEach(this.store,t)}}]))()),Object.assign(T,{_name:"Validators"}),P=new((()=>t(function t(){c(this,t),i(this,"store",{})},[{key:"mixin",value:function(t){var e=this;return p().each(t,function(t,n){e.add(n,t)}),this}},{key:"has",value:function(t){return!!this.get(t)}},{key:"get",value:function(t){return this.store[t]}},{key:"add",value:function(e,t){var n=this.store[e],r=(p().isFunction(t)&&(O.warn("vxe.error.delProp",["menus -> callback","menuMethod"]),t={menuMethod:t}),p().keys(n));return p().each(t,function(t,n){r.includes(n)&&O.warn("vxe.error.coverProp",[e,n])}),this.store[e]=n?p().merge(n,t):t,this}},{key:"delete",value:function(t){delete this.store[t]}},{key:"forEach",value:function(t){p().objectEach(this.store,t)}}]))()),Object.assign(P,{_name:"Menus"}),k=new((()=>t(function t(){c(this,t),i(this,"store",{})},[{key:"mixin",value:function(t){var e=this;return p().each(t,function(t,n){e.add(n,t)}),this}},{key:"has",value:function(t){return!!this.get(t)}},{key:"get",value:function(t){return this.store[t]}},{key:"add",value:function(e,t){var n=this.store[e],r=(p().isFunction(t)&&(O.warn("vxe.error.delProp",["formats -> callback","cellFormatMethod"]),t={cellFormatMethod:t}),p().keys(n));return p().each(t,function(t,n){r.includes(n)&&O.warn("vxe.error.coverProp",[e,n])}),this.store[e]=n?p().merge(n,t):t,this}},{key:"delete",value:function(t){delete this.store[t]}},{key:"forEach",value:function(t){p().objectEach(this.store,t)}}]))()),Object.assign(k,{_name:"Formats"}),A=new((()=>t(function t(){c(this,t),i(this,"store",{})},[{key:"mixin",value:function(t){var e=this;return p().each(t,function(t,n){e.add(n,t)}),this}},{key:"has",value:function(t){return!!this.get(t)}},{key:"get",value:function(t){return this.store[t]}},{key:"add",value:function(e,t){var n=this.store[e],r=(p().isFunction(t)&&(O.warn("vxe.error.delProp",["commands -> callback","commandMethod"]),t={commandMethod:t}),p().keys(n));return p().each(t,function(t,n){r.includes(n)&&O.warn("vxe.error.coverProp",[e,n])}),this.store[e]=n?p().merge(n,t):t,this}},{key:"delete",value:function(t){delete this.store[t]}},{key:"forEach",value:function(t){p().objectEach(this.store,t)}}]))()),Object.assign(A,{_name:"Commands"}),L={},M={mixin:function(t){return p().each(t,function(t,n){M.add(n,t)}),M},get:function(t){return L[t]||[]},add:function(t,n){var e,n=(n=p().isFunction(n)?{tableInterceptorMethod:n}:n).tableInterceptorMethod;return n&&(-1<(e=(e=L[t])||(L[t]=[])).indexOf(n)&&O.warn("vxe.error.coverProp",["Interceptor",t]),e.push(n)),M},delete:function(t,n){var e,r=L[t];r&&((e=(n=p().isFunction(n)?{tableInterceptorMethod:n}:n)?n.tableInterceptorMethod:null)?p().remove(r,function(t){return t===e}):delete L[t])}},C={text:"",html:""},Pt={getStore:function(){return C},setStore:function(t){Object.assign(C,t||{})},copy:function(t){var n,e,r=!1;try{var o=p().toValueString(t);n=o,R||((R=document.createElement("textarea")).id="$VxeCopy",(e=R.style).width="48px",e.height="24px",e.position="fixed",e.zIndex="0",e.left="-500px",e.top="-500px",document.body.appendChild(R)),R.value=n,R.select(),R.setSelectionRange(0,R.value.length),r=document.execCommand("copy"),R.blur(),C.text=o,C.html=""}catch(t){}return r}},kt={getCheckInfo:function(t){return e(t)},checkVisible:function(t){return e(t).visible},checkDisable:function(t){return e(t).disabled}},Rt=y().extend({inject:{$xeSizeInfo:{default:null}},provide:function(){return{$xeSizeInfo:{size:this.computeSize}}},computed:{computeSize:function(){var t=this.size,n=this.$xeSizeInfo;return t||(n?n.size:null)}}}),At=y().extend({computed:{computePermissionInfo:function(){return e(this.permissionCode,this.permissionMethod)}}}),Ct=[],_t={},_={coreVersion:Mt="3.0.11",renderEmptyElement:ft,setTheme:a,getTheme:Q,setConfig:et,getConfig:rt,setIcon:ot,getIcon:it,setLanguage:tt,hasLanguage:X,getLanguage:J,setI18n:nt,getI18n:K,globalEvents:Ot,GLOBAL_EVENT_KEYS:w,createEvent:Et,globalResize:Tt,renderer:I,validators:T,menus:P,formats:k,commands:A,interceptor:M,clipboard:Pt,log:O,permission:kt,globalStore:yt,component:at,getComponent:ct,globalMixins:Lt={sizeMixin:Rt,permissionMixin:At},use:ut},a(),Nt=_,pt;function r(t){var n=lt[t];return void 0!==n||(n=lt[t]={exports:{}},st[t].call(n.exports,n,n.exports,r)),n.exports}function o(t){return(o="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})(t)}function D(t){t=((t,n)=>{if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return("string"===n?String:Number)(t);if("object"!=o(e=e.call(t,n||"default")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string");return"symbol"==o(t)?t:t+""}function i(t,n,e){return(n=D(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function u(){return"undefined"!=typeof document}function $(){var t;l||!u()||(l=document.getElementById(dt))||((l=document.createElement("style")).id=dt,document.getElementsByTagName("head")[0].appendChild(l)),l&&(l.innerHTML=":root{--dom-main"+(t="-z-index")+":"+g()+";--dom-sub"+t+":"+U()+"}")}function z(){return s||!u()||(s=document.getElementById(vt))||((s=document.createElement("div")).id=vt,s.style.display="none",document.body.appendChild(s),d(v.m),h(v.s)),s}function V(e){return function(t){var n;return t&&(t=Number(t),v[e]=t,n=z())&&(n.dataset?n.dataset[e]=t+"":n.setAttribute("data-"+e,t+"")),$(),v[e]}}function G(r,o){return function(t){var n=z(),e=(e=n&&(n=n.dataset?n.dataset[r]:n.getAttribute("data-"+r))?Number(n):e)||v[r];return t?Number(t)<e?o():t:e}}function B(){return d(g()+1)}function U(){return g()+gt()}function W(){return h(gt()+1),U()}function c(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function H(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,D(r.key),r)}}function t(t,n,e){return n&&H(t.prototype,n),e&&H(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(e){var r=e.type===xt;S.forEach(function(t){var n=t.type,t=t.cb;e.cancelBubble||(n===e.type||r&&"mousewheel"===n)&&t(e)})}function Y(){E.length&&(E.forEach(function(r){r.tarList.forEach(function(t){var n=t.target,e=n.clientWidth,n=n.clientHeight;(e&&t.width!==e||n&&t.heighe!==n)&&(t.width=e,t.heighe=n,setTimeout(r.callback))})}),q())}function q(){clearTimeout(wt),wt=setTimeout(Y,m.resizeInterval||jt)}function K(t,n){var e=x.langMaps,r=x.language,o=m.i18n;return o?"".concat(o(t,n)||""):p().toFormatString(p().get(e[r],t,t),n)}function X(t){return!!x.langMaps[t]}function J(){return x.language}function Z(e,r){return function(t,n){t="[vxe ".concat(r||"","] ").concat(K(t,n));return console[e](t),t}}function e(t,n){var e=!0,r=!1,o=n||m.permissionMethod;if(t&&o)for(var e=!1,r=!0,i=!1,u=!1,c=String(t).split("|"),a=0;a<c.length;a++){var f=!0,s=!1,l=o({code:c[a]});if(p().isBoolean(l)?f=l:l&&(f=!!l.visible,s=!!l.disabled),s||u||(u=!0,r=s),f&&!i&&(i=!0,e=f),i&&u)break}return{code:t,visible:e,disabled:r}}function a(t){var n,t=t&&"default"!==t?t:"light";return mt.theme=t,"undefined"!=typeof document&&(n=document.documentElement)&&n.setAttribute("data-vxe-ui-theme",t),_}function Q(){return mt.theme}function tt(t){return x.language=t||"zh-CN",_}function nt(t,n){var e=x.langMaps;return x.langMaps=Object.assign({},e,i({},t,Object.assign({},n))),_}function et(t){return t&&(t.zIndex&&ht.setCurrent(t.zIndex),t.theme&&a(t.theme),p().merge(m,t)),_}function rt(t,n){return arguments.length?p().get(m,t,n):m}function ot(t){return t&&Object.assign(b,t),_}function it(t){return arguments.length?p().get(b,t):b}function ut(t,n){return t&&t.install&&-1===Ct.indexOf(t)&&(t.install(_,n),Ct.push(t)),_}function ct(t){return _t[t]||null}function at(t){t&&t.name&&(_t[t.name]=t)}function ft(t){return(0,t._e)()}var st,lt,pt,f,p,s,vt,l,dt,v,d,g,h,gt,y,ht,m,yt,b,mt,x,w,bt,xt,S,wt,St,Et,Ot,E,jt,It,Tt,O,j,I,T,P,k,R,A,L,M,C,Pt,kt,Rt,At,Lt,Mt,Ct,_t,_,Nt});
|
package/lib/src/clipboard.js
CHANGED
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.clipboard = void 0;
|
|
7
7
|
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
var copyElem;
|
|
10
|
+
var clipStore = {
|
|
11
11
|
text: '',
|
|
12
12
|
html: ''
|
|
13
13
|
};
|
|
@@ -15,7 +15,7 @@ function handleText(text) {
|
|
|
15
15
|
if (!copyElem) {
|
|
16
16
|
copyElem = document.createElement('textarea');
|
|
17
17
|
copyElem.id = '$VxeCopy';
|
|
18
|
-
|
|
18
|
+
var styles = copyElem.style;
|
|
19
19
|
styles.width = '48px';
|
|
20
20
|
styles.height = '24px';
|
|
21
21
|
styles.position = 'fixed';
|
|
@@ -26,11 +26,11 @@ function handleText(text) {
|
|
|
26
26
|
}
|
|
27
27
|
copyElem.value = text;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
getStore() {
|
|
29
|
+
var clipboard = exports.clipboard = {
|
|
30
|
+
getStore: function getStore() {
|
|
31
31
|
return clipStore;
|
|
32
32
|
},
|
|
33
|
-
setStore(data) {
|
|
33
|
+
setStore: function setStore(data) {
|
|
34
34
|
Object.assign(clipStore, data || {});
|
|
35
35
|
},
|
|
36
36
|
/**
|
|
@@ -38,10 +38,10 @@ const clipboard = exports.clipboard = {
|
|
|
38
38
|
*
|
|
39
39
|
* @param {String} content Text 内容
|
|
40
40
|
*/
|
|
41
|
-
copy(content) {
|
|
42
|
-
|
|
41
|
+
copy: function copy(content) {
|
|
42
|
+
var result = false;
|
|
43
43
|
try {
|
|
44
|
-
|
|
44
|
+
var text = _xeUtils.default.toValueString(content);
|
|
45
45
|
handleText(text);
|
|
46
46
|
copyElem.select();
|
|
47
47
|
copyElem.setSelectionRange(0, copyElem.value.length);
|
package/lib/src/clipboard.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.clipboard=void 0;var _xeUtils=_interopRequireDefault(require("xe-utils"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.clipboard=void 0;var copyElem,_xeUtils=_interopRequireDefault(require("xe-utils"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var clipStore={text:"",html:""};function handleText(e){var t;copyElem||((copyElem=document.createElement("textarea")).id="$VxeCopy",(t=copyElem.style).width="48px",t.height="24px",t.position="fixed",t.zIndex="0",t.left="-500px",t.top="-500px",document.body.appendChild(copyElem)),copyElem.value=e}var clipboard=exports.clipboard={getStore:function(){return clipStore},setStore:function(e){Object.assign(clipStore,e||{})},copy:function(e){var t=!1;try{var o=_xeUtils.default.toValueString(e);handleText(o),copyElem.select(),copyElem.setSelectionRange(0,copyElem.value.length),t=document.execCommand("copy"),copyElem.blur(),clipStore.text=o,clipStore.html=""}catch(e){}return t}};
|
package/lib/src/commands.js
CHANGED
|
@@ -7,8 +7,15 @@ exports.commands = void 0;
|
|
|
7
7
|
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
8
8
|
var _log = require("./log");
|
|
9
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
12
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
13
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16
|
+
var VXECommandsStore = /*#__PURE__*/function () {
|
|
17
|
+
function VXECommandsStore() {
|
|
18
|
+
_classCallCheck(this, VXECommandsStore);
|
|
12
19
|
Object.defineProperty(this, "store", {
|
|
13
20
|
enumerable: true,
|
|
14
21
|
configurable: true,
|
|
@@ -16,49 +23,63 @@ class VXECommandsStore {
|
|
|
16
23
|
value: {}
|
|
17
24
|
});
|
|
18
25
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
return _createClass(VXECommandsStore, [{
|
|
27
|
+
key: "mixin",
|
|
28
|
+
value: function mixin(options) {
|
|
29
|
+
var _this = this;
|
|
30
|
+
_xeUtils.default.each(options, function (item, key) {
|
|
31
|
+
_this.add(key, item);
|
|
32
|
+
});
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
}, {
|
|
36
|
+
key: "has",
|
|
37
|
+
value: function has(name) {
|
|
38
|
+
return !!this.get(name);
|
|
39
|
+
}
|
|
40
|
+
}, {
|
|
41
|
+
key: "get",
|
|
42
|
+
value: function get(name) {
|
|
43
|
+
return this.store[name];
|
|
44
|
+
}
|
|
45
|
+
}, {
|
|
46
|
+
key: "add",
|
|
47
|
+
value: function add(name, render) {
|
|
48
|
+
var conf = this.store[name];
|
|
49
|
+
// 兼容
|
|
50
|
+
if (_xeUtils.default.isFunction(render)) {
|
|
51
|
+
if (process.env.NODE_ENV === 'development') {
|
|
52
|
+
_log.log.warn('vxe.error.delProp', ['commands -> callback', 'commandMethod']);
|
|
53
|
+
}
|
|
54
|
+
render = {
|
|
55
|
+
commandMethod: render
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
// 检测是否覆盖
|
|
35
59
|
if (process.env.NODE_ENV === 'development') {
|
|
36
|
-
|
|
60
|
+
var confKeys = _xeUtils.default.keys(conf);
|
|
61
|
+
_xeUtils.default.each(render, function (item, key) {
|
|
62
|
+
if (confKeys.includes(key)) {
|
|
63
|
+
_log.log.warn('vxe.error.coverProp', [name, key]);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
37
66
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
};
|
|
67
|
+
this.store[name] = conf ? _xeUtils.default.merge(conf, render) : render;
|
|
68
|
+
return this;
|
|
41
69
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
if (confKeys.includes(key)) {
|
|
47
|
-
_log.log.warn('vxe.error.coverProp', [name, key]);
|
|
48
|
-
}
|
|
49
|
-
});
|
|
70
|
+
}, {
|
|
71
|
+
key: "delete",
|
|
72
|
+
value: function _delete(name) {
|
|
73
|
+
delete this.store[name];
|
|
50
74
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
const commands = exports.commands = new VXECommandsStore();
|
|
75
|
+
}, {
|
|
76
|
+
key: "forEach",
|
|
77
|
+
value: function forEach(callback) {
|
|
78
|
+
_xeUtils.default.objectEach(this.store, callback);
|
|
79
|
+
}
|
|
80
|
+
}]);
|
|
81
|
+
}();
|
|
82
|
+
var commands = exports.commands = new VXECommandsStore();
|
|
62
83
|
if (process.env.NODE_ENV === 'development') {
|
|
63
84
|
Object.assign(commands, {
|
|
64
85
|
_name: 'Commands'
|
package/lib/src/commands.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.commands=void 0;var _xeUtils=_interopRequireDefault(require("xe-utils")),_log=require("./log");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.commands=void 0;var _xeUtils=_interopRequireDefault(require("xe-utils")),_log=require("./log");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_toPropertyKey(r.key),r)}}function _createClass(e,t,o){return t&&_defineProperties(e.prototype,t),o&&_defineProperties(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);o=o.call(e,t||"default");if("object"!=_typeof(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}var VXECommandsStore=(()=>_createClass(function e(){_classCallCheck(this,e),Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})},[{key:"mixin",value:function(e){var o=this;return _xeUtils.default.each(e,function(e,t){o.add(t,e)}),this}},{key:"has",value:function(e){return!!this.get(e)}},{key:"get",value:function(e){return this.store[e]}},{key:"add",value:function(o,e){var r,t=this.store[o];return _xeUtils.default.isFunction(e)&&("development"===process.env.NODE_ENV&&_log.log.warn("vxe.error.delProp",["commands -> callback","commandMethod"]),e={commandMethod:e}),"development"===process.env.NODE_ENV&&(r=_xeUtils.default.keys(t),_xeUtils.default.each(e,function(e,t){r.includes(t)&&_log.log.warn("vxe.error.coverProp",[o,t])})),this.store[o]=t?_xeUtils.default.merge(t,e):e,this}},{key:"delete",value:function(e){delete this.store[e]}},{key:"forEach",value:function(e){_xeUtils.default.objectEach(this.store,e)}}]))(),commands=exports.commands=new VXECommandsStore;"development"===process.env.NODE_ENV&&Object.assign(commands,{_name:"Commands"});
|
package/lib/src/configStore.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.globalConfigStore=void 0;
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.globalConfigStore=void 0;var globalConfigStore=exports.globalConfigStore={size:"",version:1,zIndex:999,resizeInterval:500};
|