@vxe-ui/core 3.4.29 → 3.4.31

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/index.esm.js CHANGED
@@ -16,6 +16,7 @@ import { clipboard } from './src/clipboard';
16
16
  import { permission } from './src/permission';
17
17
  import { baseUtils } from './src/base-utils';
18
18
  import { domUtils } from './src/dom-utils';
19
+ import { scrollbarUtils } from './src/scrollbar-utils';
19
20
  import { log } from './src/log';
20
21
  import { globalMixins } from './src/mixins';
21
22
  import { getSlotVNs } from './src/vm';
@@ -91,6 +92,7 @@ export const VxeUI = Object.assign(VxeCore, {
91
92
  permission,
92
93
  baseUtils,
93
94
  domUtils,
95
+ scrollbarUtils,
94
96
  globalStore,
95
97
  component,
96
98
  getComponent,
@@ -118,6 +120,7 @@ export * from './src/clipboard';
118
120
  export * from './src/permission';
119
121
  export * from './src/base-utils';
120
122
  export * from './src/dom-utils';
123
+ export * from './src/scrollbar-utils';
121
124
  export * from './src/dataStore';
122
125
  export * from './src/mixins';
123
126
  export * from './src/vm';
@@ -14,5 +14,11 @@ export const baseUtils = {
14
14
  */
15
15
  isEmpty(value) {
16
16
  return value === null || value === undefined || value === '';
17
+ },
18
+ /**
19
+ * 获取配置值,如果存在则返回,如果不存在则使用默认值
20
+ */
21
+ getDefVal(value, defVal) {
22
+ return XEUtils.eqNull(value) ? defVal : value;
17
23
  }
18
24
  };
package/es/src/core.js CHANGED
@@ -1,4 +1,4 @@
1
- export const coreVersion = "3.4.29";
1
+ export const coreVersion = "3.4.31";
2
2
  export const VxeCore = {
3
3
  coreVersion,
4
4
  uiVersion: '',
package/es/src/log.js CHANGED
@@ -6,7 +6,7 @@ function createLog(type, name) {
6
6
  return msg;
7
7
  };
8
8
  }
9
- const version = "3.4.29";
9
+ const version = "3.4.31";
10
10
  export const log = {
11
11
  create: createLog,
12
12
  warn: createLog('warn', `v${version}`),
@@ -0,0 +1,56 @@
1
+ export const scrollbarUtils = {
2
+ /**
3
+ * 计算滚动条滑块的长度
4
+ */
5
+ getThumbSize(viewportSize, contentSize, trackSize) {
6
+ if (contentSize <= viewportSize) {
7
+ return 0;
8
+ }
9
+ const ratio = viewportSize / contentSize;
10
+ const ideal = trackSize * ratio;
11
+ return Math.max(20, Math.min(ideal, trackSize));
12
+ },
13
+ /**
14
+ * 计算滚动条滑块的偏移位置
15
+ */
16
+ getThumbOffsetSize(offsetSize, viewportSize, contentSize, trackSize, thumbSize) {
17
+ const maxScroll = contentSize - viewportSize;
18
+ if (maxScroll <= 0) {
19
+ return 0;
20
+ }
21
+ const maxThumbOffset = trackSize - thumbSize;
22
+ if (maxThumbOffset <= 0) {
23
+ return 0;
24
+ }
25
+ const clamped = Math.min(Math.max(offsetSize, 0), maxScroll);
26
+ const ratio = clamped / maxScroll;
27
+ return ratio * maxThumbOffset;
28
+ },
29
+ /**
30
+ * 根据点击轨道的位置,计算滑块的偏移位置
31
+ */
32
+ getScrollFromClick(clickPosition, viewportSize, contentSize, trackSize, thumbSize) {
33
+ const maxThumbOffset = trackSize - thumbSize;
34
+ const maxScroll = contentSize - viewportSize;
35
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
36
+ return 0;
37
+ }
38
+ let thumbOffset = clickPosition - thumbSize / 2;
39
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset);
40
+ const scrollOffset = (thumbOffset / maxThumbOffset) * maxScroll;
41
+ return scrollOffset;
42
+ },
43
+ /**
44
+ * 拖拽 thumb 时,根据鼠标位置计算滑块的偏移位置
45
+ */
46
+ getScrollFromDrag(pointerPosition, dragOffset, viewportSize, contentSize, trackSize, thumbSize) {
47
+ const maxScroll = contentSize - viewportSize;
48
+ const maxThumbOffset = trackSize - thumbSize;
49
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
50
+ return 0;
51
+ }
52
+ let thumbOffset = pointerPosition - dragOffset;
53
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset);
54
+ return (thumbOffset / maxThumbOffset) * maxScroll;
55
+ }
56
+ };
@@ -236,6 +236,18 @@ Object.keys(_domUtils).forEach(function (key) {
236
236
  }
237
237
  });
238
238
  });
239
+ var _scrollbarUtils = require("./src/scrollbar-utils");
240
+ Object.keys(_scrollbarUtils).forEach(function (key) {
241
+ if (key === "default" || key === "__esModule") return;
242
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
243
+ if (key in exports && exports[key] === _scrollbarUtils[key]) return;
244
+ Object.defineProperty(exports, key, {
245
+ enumerable: true,
246
+ get: function () {
247
+ return _scrollbarUtils[key];
248
+ }
249
+ });
250
+ });
239
251
  var _log = require("./src/log");
240
252
  Object.keys(_log).forEach(function (key) {
241
253
  if (key === "default" || key === "__esModule") return;
@@ -347,6 +359,7 @@ const VxeUI = exports.VxeUI = Object.assign(_core.VxeCore, {
347
359
  permission: _permission.permission,
348
360
  baseUtils: _baseUtils.baseUtils,
349
361
  domUtils: _domUtils.domUtils,
362
+ scrollbarUtils: _scrollbarUtils.scrollbarUtils,
350
363
  globalStore: _dataStore.globalStore,
351
364
  component,
352
365
  getComponent,
package/lib/index.umd.js CHANGED
@@ -2538,6 +2538,7 @@ __webpack_require__.d(__webpack_exports__, {
2538
2538
  renderEmptyElement: function() { return /* reexport */ renderEmptyElement; },
2539
2539
  renderGlobalIcon: function() { return /* reexport */ renderGlobalIcon; },
2540
2540
  renderer: function() { return /* reexport */ renderer; },
2541
+ scrollbarUtils: function() { return /* reexport */ scrollbarUtils; },
2541
2542
  setConfig: function() { return /* reexport */ setConfig; },
2542
2543
  setI18n: function() { return /* reexport */ setI18n; },
2543
2544
  setIcon: function() { return /* reexport */ setIcon; },
@@ -2569,7 +2570,7 @@ if (typeof window !== 'undefined') {
2569
2570
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
2570
2571
  var es_array_push = __webpack_require__(4114);
2571
2572
  ;// ./packages/src/core.ts
2572
- const coreVersion = "3.4.29";
2573
+ const coreVersion = "3.4.31";
2573
2574
  const VxeCore = {
2574
2575
  coreVersion,
2575
2576
  uiVersion: '',
@@ -3222,7 +3223,7 @@ function createLog(type, name) {
3222
3223
  return msg;
3223
3224
  };
3224
3225
  }
3225
- const version = "3.4.29";
3226
+ const version = "3.4.31";
3226
3227
  const log = {
3227
3228
  create: createLog,
3228
3229
  warn: createLog('warn', `v${version}`),
@@ -3666,6 +3667,12 @@ const baseUtils = {
3666
3667
  */
3667
3668
  isEmpty(value) {
3668
3669
  return value === null || value === undefined || value === '';
3670
+ },
3671
+ /**
3672
+ * 获取配置值,如果存在则返回,如果不存在则使用默认值
3673
+ */
3674
+ getDefVal(value, defVal) {
3675
+ return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(value) ? defVal : value;
3669
3676
  }
3670
3677
  };
3671
3678
  ;// ./packages/src/dom-utils.ts
@@ -3693,6 +3700,63 @@ const domUtils = {
3693
3700
  return parts.join(' ');
3694
3701
  }
3695
3702
  };
3703
+ ;// ./packages/src/scrollbar-utils.ts
3704
+ const scrollbarUtils = {
3705
+ /**
3706
+ * 计算滚动条滑块的长度
3707
+ */
3708
+ getThumbSize(viewportSize, contentSize, trackSize) {
3709
+ if (contentSize <= viewportSize) {
3710
+ return 0;
3711
+ }
3712
+ const ratio = viewportSize / contentSize;
3713
+ const ideal = trackSize * ratio;
3714
+ return Math.max(20, Math.min(ideal, trackSize));
3715
+ },
3716
+ /**
3717
+ * 计算滚动条滑块的偏移位置
3718
+ */
3719
+ getThumbOffsetSize(offsetSize, viewportSize, contentSize, trackSize, thumbSize) {
3720
+ const maxScroll = contentSize - viewportSize;
3721
+ if (maxScroll <= 0) {
3722
+ return 0;
3723
+ }
3724
+ const maxThumbOffset = trackSize - thumbSize;
3725
+ if (maxThumbOffset <= 0) {
3726
+ return 0;
3727
+ }
3728
+ const clamped = Math.min(Math.max(offsetSize, 0), maxScroll);
3729
+ const ratio = clamped / maxScroll;
3730
+ return ratio * maxThumbOffset;
3731
+ },
3732
+ /**
3733
+ * 根据点击轨道的位置,计算滑块的偏移位置
3734
+ */
3735
+ getScrollFromClick(clickPosition, viewportSize, contentSize, trackSize, thumbSize) {
3736
+ const maxThumbOffset = trackSize - thumbSize;
3737
+ const maxScroll = contentSize - viewportSize;
3738
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
3739
+ return 0;
3740
+ }
3741
+ let thumbOffset = clickPosition - thumbSize / 2;
3742
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset);
3743
+ const scrollOffset = thumbOffset / maxThumbOffset * maxScroll;
3744
+ return scrollOffset;
3745
+ },
3746
+ /**
3747
+ * 拖拽 thumb 时,根据鼠标位置计算滑块的偏移位置
3748
+ */
3749
+ getScrollFromDrag(pointerPosition, dragOffset, viewportSize, contentSize, trackSize, thumbSize) {
3750
+ const maxScroll = contentSize - viewportSize;
3751
+ const maxThumbOffset = trackSize - thumbSize;
3752
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
3753
+ return 0;
3754
+ }
3755
+ let thumbOffset = pointerPosition - dragOffset;
3756
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset);
3757
+ return thumbOffset / maxThumbOffset * maxScroll;
3758
+ }
3759
+ };
3696
3760
  ;// ./packages/src/mixins.ts
3697
3761
 
3698
3762
 
@@ -3752,6 +3816,7 @@ const globalMixins = {
3752
3816
 
3753
3817
 
3754
3818
 
3819
+
3755
3820
 
3756
3821
 
3757
3822
  const installedPlugins = [];
@@ -3827,6 +3892,7 @@ const VxeUI = Object.assign(VxeCore, {
3827
3892
  permission: permission,
3828
3893
  baseUtils: baseUtils,
3829
3894
  domUtils: domUtils,
3895
+ scrollbarUtils: scrollbarUtils,
3830
3896
  globalStore: globalStore,
3831
3897
  component,
3832
3898
  getComponent,
@@ -3856,6 +3922,7 @@ setTheme();
3856
3922
 
3857
3923
 
3858
3924
 
3925
+
3859
3926
 
3860
3927
 
3861
3928
  /* harmony default export */ var packages_0 = (VxeUI);
@@ -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.VxeUI=e(require("vue"),require("xe-utils")):t.VxeUI=e(t.Vue,t.XEUtils)})("undefined"!=typeof self?self:this,function(Pt,It){{var Tt={9274:function(t){t.exports=Pt},8871:function(t){t.exports=It},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")}},6469:function(t,e,n){var r=n(8227),o=n(2360),n=n(4913).f,i=r("unscopables"),u=Array.prototype;void 0===u[i]&&n(u,i,{configurable:!0,value:o(null)}),t.exports=function(t){u[i][t]=!0}},679:function(t,e,n){var r=n(1625),o=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw new o("Incorrect invocation")}},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)}},6955:function(t,e,n){var r=n(2140),o=n(4901),i=n(2195),u=n(8227)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());t.exports=r?i:function(t){var e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=((t,e)=>{try{return t[e]}catch(t){}})(t=c(t),u))?e:a?i(t):"Object"===(e=i(t))&&o(t.callee)?"Arguments":e}},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))}}},2211:function(t,e,n){n=n(9039);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},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}}},4659:function(t,e,n){var r=n(3724),o=n(4913),i=n(6980);t.exports=function(t,e,n){r?o.f(t,e,i(0,n)):t[e]=n}},2106:function(t,e,n){var r=n(283),o=n(4913);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),o.f(t,e,n)}},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 new 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}}},6080:function(t,e,n){var r=n(7476),o=n(9306),i=n(616),u=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?u(t,e):function(){return t.apply(e,arguments)}}},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}},7476:function(t,e,n){var r=n(2195),o=n(9504);t.exports=function(t){if("Function"===r(t))return o(t)}},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}},1767:function(t){t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},851:function(t,e,n){var r=n(6955),o=n(5966),i=n(4117),u=n(6269),c=n(8227)("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||u[r(t)]}},81:function(t,e,n){var r=n(9565),o=n(9306),i=n(8551),u=n(6823),c=n(851),a=TypeError;t.exports=function(t,e){e=arguments.length<2?c(t):e;if(o(e))return i(r(e,t));throw new a(u(t)+" is not iterable")}},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={}},397:function(t,e,n){n=n(7751);t.exports=n("document","documentElement")},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")}}}},4209:function(t,e,n){var r=n(8227),o=n(6269),i=r("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},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))}},2652:function(t,e,n){function m(t,e){this.stopped=t,this.result=e}var y=n(6080),b=n(9565),x=n(8551),w=n(6823),E=n(4209),O=n(6198),S=n(1625),j=n(81),P=n(851),I=n(9539),T=TypeError,C=m.prototype;t.exports=function(t,e,n){function r(t){var e=i;return i=void 0,e&&I(e,"normal"),new m(!0,t)}function o(t){return l?(x(t),h?v(t[0],t[1],r):v(t[0],t[1])):h?v(t,r):v(t)}var i,u,c,a,s,f=n&&n.that,l=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=y(e,f);if(p)i=t.iterator;else if(d)i=t;else{if(!(n=P(t)))throw new T(w(t)+" is not iterable");if(E(n)){for(u=0,c=O(t);u<c;u++)if((a=o(t[u]))&&S(C,a))return a;return new m(!1)}i=j(t,n)}for(s=(p?t:i).next;!(g=b(s,i)).done;){var g=g.value;try{a=o(g)}catch(t){if(!i)throw t;I(i,"throw",t)}if("object"==typeof a&&a&&S(C,a))return a}return new m(!1)}},9539:function(t,e,n){var i=n(9565),u=n(8551),c=n(5966);t.exports=function(t,e,n){var r,o;u(t);try{if(!(r=c(t,"return"))){if("throw"===e)throw n;return n}r=i(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return u(r),n}},4549:function(t,e,n){var o=n(4576);t.exports=function(t,e){var n=o.Iterator,n=n&&n.prototype,n=n&&n[t],r=!1;if(n)try{n.call({next:function(){return{done:!0}},return:function(){r=!0}},-1)}catch(t){t instanceof e||(r=!1)}if(!r)return n}},7657:function(t,e,n){var r,o,i=n(9039),u=n(4901),c=n(34),a=n(2360),s=n(2787),f=n(6840),l=n(8227),n=n(6395),p=l("iterator"),l=!1;[].keys&&("next"in(o=[].keys())?(s=s(s(o)))!==Object.prototype&&(r=s):l=!0),!c(r)||i(function(){var t={};return r[p].call(t)!==t})?r={}:n&&(r=a(r)),u(r[p])||f(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:l}},6269:function(t){t.exports={}},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}),y=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(y,"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)}},2360:function(t,e,n){function r(){}function o(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e}var i,u=n(8551),c=n(6801),a=n(8727),s=n(421),f=n(397),l=n(4055),n=n(6119),p=">",d="<",h="prototype",v="script",g=n("IE_PROTO"),m=function(t){return d+v+p+t+d+"/"+v+p},y=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}y="undefined"==typeof document||document.domain&&i?o(i):(t=l("iframe"),e="java"+v+":",t.style.display="none",f.appendChild(t),t.src=String(e),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F);for(var t,e,n=a.length;n--;)delete y[h][a[n]];return y()};s[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(r[h]=u(t),n=new r,r[h]=null,n[g]=t):n=y(),void 0===e?n:c.f(n,e)}},6801:function(t,e,n){var r=n(3724),o=n(8686),c=n(4913),a=n(8551),s=n(5397),f=n(1072);e.f=r&&!o?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),o=f(e),i=o.length,u=0;u<i;)c.f(t,n=o[u++],r[n]);return 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},2787:function(t,e,n){var r=n(9297),o=n(4901),i=n(8981),u=n(6119),n=n(2211),c=u("IE_PROTO"),a=Object,s=a.prototype;t.exports=n?a.getPrototypeOf:function(t){var e,t=i(t);return r(t,c)?t[c]:(e=t.constructor,o(e)&&t instanceof e?e.prototype:t instanceof a?s:null)}},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}},1072:function(t,e,n){var r=n(1828),o=n(8727);t.exports=Object.keys||function(t){return r(t,o)}},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.49.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/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+""}},2140:function(t,e,n){var r={};r[n(8227)("toStringTag")]="z",t.exports="[object z]"===String(r)},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.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]}},4423:function(t,e,n){var r=n(6518),o=n(9617).includes,i=n(9039),n=n(6469),u=i(function(){return!Array(1).includes()}),i=i(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:u||i},{includes:function(t){return o(this,t,1<arguments.length?arguments[1]:void 0)}}),n("includes")},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}})},8111:function(t,e,n){function r(){if(c(this,g),f(this)===g)throw new x("Abstract class Iterator not directly constructable")}function o(e,t){m?l(g,e,{configurable:!0,get:function(){return t},set:function(t){if(a(this),this===g)throw new x("You can't redefine this property");h(this,e)?this[e]=t:p(this,e,t)}}):g[e]=t}var i=n(6518),u=n(4576),c=n(679),a=n(8551),s=n(4901),f=n(2787),l=n(2106),p=n(4659),d=n(9039),h=n(9297),v=n(8227),g=n(7657).IteratorPrototype,m=n(3724),n=n(6395),y="constructor",b="Iterator",v=v("toStringTag"),x=TypeError,w=u[b],u=n||!s(w)||w.prototype!==g||!d(function(){w({})});h(g,v)||o(v,b),!u&&h(g,y)&&g[y]!==Object||o(y,r),r.prototype=g,i({global:!0,constructor:!0,forced:u},{Iterator:r})},7588:function(t,e,n){var r=n(6518),o=n(9565),i=n(2652),u=n(9306),c=n(8551),a=n(1767),s=n(9539),f=n(4549)("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:f},{forEach:function(e){c(this);try{u(e)}catch(t){s(this,"throw",t)}if(f)return o(f,this,e);var t=a(this),n=0;i(t,function(t){e(t,n++)},{IS_RECORD:!0})}})},3579:function(t,e,n){var r=n(6518),o=n(9565),i=n(2652),u=n(9306),c=n(8551),a=n(1767),s=n(9539),f=n(4549)("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:f},{some:function(n){c(this);try{u(n)}catch(t){s(this,"throw",t)}var t,r;return f?o(f,this,n):(t=a(this),i(t,function(t,e){if(n(t,r++))return e()},{IS_RECORD:!(r=0),INTERRUPTED:!0}).stopped)}})}},$={};function G(t){var e=$[t];return void 0!==e||(e=$[t]={exports:{}},Tt[t].call(e.exports,e,e.exports,G)),e.exports}G.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return G.d(e,{a:e}),e},G.d=function(t,e){for(var n in e)G.o(e,n)&&!G.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},G.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),G.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},G.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},G.p="";var H={};G.r(H),G.d(H,{GLOBAL_EVENT_KEYS:function(){return o},VxeCore:function(){return i},VxeUI:function(){return N},baseUtils:function(){return M},checkVersion:function(){return qt},clipboard:function(){return A},commands:function(){return j},component:function(){return $t},coreVersion:function(){return t},createEvent:function(){return s},default:function(){return Xt},domUtils:function(){return L},formats:function(){return S},getComponent:function(){return Bt},getConfig:function(){return Mt},getI18n:function(){return Et},getIcon:function(){return mt},getLanguage:function(){return Ut},getSlotVNs:function(){return gt},getTheme:function(){return At},globalEvents:function(){return l},globalMixins:function(){return W},globalResize:function(){return h},globalStore:function(){return e},handleCheckInfo:function(){return St},hasComponent:function(){return Gt},hasLanguage:function(){return Vt},interceptor:function(){return I},log:function(){return b},menus:function(){return O},permission:function(){return R},permissionMixin:function(){return U},renderCustomIcon:function(){return yt},renderEmptyElement:function(){return Ht},renderGlobalIcon:function(){return _t},renderer:function(){return w},setConfig:function(){return Rt},setI18n:function(){return Dt},setIcon:function(){return Lt},setLanguage:function(){return Ft},setTheme:function(){return vt},sizeMixin:function(){return V},use:function(){return Wt},validators:function(){return E}}),"undefined"!=typeof window&&(ht=(ht=window.document.currentScript)&&ht.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(G.p=ht[1]),G(4114);let t="3.4.29",i={coreVersion:t,uiVersion:"",tableVersion:"",designVersion:"",ganttVersion:""},k=G(8871);var q=G.n(k),X=null,Y=null,K=null,Z="z-index-manage",J=null,Q="z-index-style",tt={m:1e3,s:1e3};function et(){return X||"undefined"!=typeof document&&(X=document),X}function nt(){return Y=X&&!Y?X.body||X.getElementsByTagName("body")[0]:Y}function rt(){var t;J||!(t=et())||(J=t.getElementById(Q))||((J=t.createElement("style")).id=Q,t.getElementsByTagName("head")[0].appendChild(J)),J&&(J.innerHTML=":root{--dom-main"+(t="-z-index")+":"+at()+";--dom-sub"+t+":"+pt()+"}")}function ot(){var t,e;return K||(t=et())&&!(K=t.getElementById(Z))&&(e=nt())&&((K=t.createElement("div")).id=Z,K.style.display="none",e.appendChild(K),ut(tt.m),ft(tt.s)),K}function it(n){return function(t){var e;return t&&(t=Number(t),tt[n]=t,e=ot())&&(e.dataset?e.dataset[n]=t+"":e.setAttribute("data-"+n,t+"")),rt(),tt[n]}}var ut=it("m");function ct(r,o){return function(t){var e=ot(),n=(n=e&&(e=e.dataset?e.dataset[r]:e.getAttribute("data-"+r))?Number(e):n)||tt[r];return t?Number(t)<n?o():t:n}}var at=ct("m",st);function st(){return ut(at()+1)}var ft=it("s"),lt=ct("s",dt);function pt(){return at()+lt()}function dt(){return ft(lt()+1),pt()}var ht={setCurrent:ut,getCurrent:at,getNext:st,setSubCurrent:ft,getSubCurrent:pt,getSubNext:dt,getMax:function(){var t=0;if(et()){var e=nt();if(e)for(var n=e.getElementsByTagName("*"),r=0;r<n.length;r++){var o=n[r];o&&o.style&&1===o.nodeType&&(o=o.style.zIndex)&&/^\d+$/.test(o)&&(t=Math.max(t,Number(o)))}}return t}},Ct=(rt(),ht);let f={size:"",version:1,zIndex:999,resizeInterval:500},n={theme:""};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),i}function At(){return n.theme}function Rt(t){return t&&(t.zIndex&&Ct.setCurrent(t.zIndex),t.theme&&vt(t.theme),q().merge(f,t)),i}function Mt(t,e){return arguments.length?q().get(f,t,e):f}let e={},r={};function gt(t){return q().isArray(t)?t:t?[t]:[]}function Lt(t){return t&&Object.assign(r,t),i}function mt(t){return arguments.length?q().get(r,t):r}function _t(t,e){return yt(t,mt(e),e)}function yt(t,e,n){return q().isFunction(e)?t("span",{},gt(e({name:n}))):t("i",{class:e})}function bt(t){return(bt="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 Nt(t){t=((t,e)=>{if("object"!=bt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return("string"===e?String:Number)(t);if("object"!=bt(n=n.call(t,e||"default")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string");return"symbol"==bt(t)?t:t+""}function xt(t,e,n){(e=Nt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}let o={F2:"F2",F10:"F10",TAB:"Tab",ESCAPE:"Escape",ENTER:"Enter",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",HOME:"Home",END:"End",PROCESS:"Process",A:"A",X:"X",C:"C",V:"V",D:"D",F:"F",H:"H",M:"M",Y:"Y",Z:"Z",R:"R",P:"P"},u=(ht=q().browse(),{" ":"Spacebar",Apps:o.CONTEXT_MENU,Del:o.DELETE,Up:o.ARROW_UP,Down:o.ARROW_DOWN,Left:o.ARROW_LEFT,Right:o.ARROW_RIGHT}),c=ht.firefox?"DOMMouseScroll":"mousewheel",a=[];function wt(n){let r=n.type===c;a.forEach(({type:t,cb:e})=>{n.cancelBubble||(t===n.type||r&&"mousewheel"===t)&&e(n)})}class jt{constructor(t,e,n){xt(this,"$event",void 0),xt(this,"type",""),xt(this,"key",""),xt(this,"code",""),(this.$event=t)&&(t.type&&(this.type=t.type),t.key&&(this.key=t.key),t.code)&&(this.code=t.code),Object.assign(this,e),q().objectEach(n,(n,r)=>{if(q().isFunction(n)){let t=null,e=!1;Object.defineProperty(this,r,{get(){return e||(e=!0,t=n()),t}})}else this[r]=n})}stopPropagation(){var t=this.$event;t&&t.stopPropagation()}preventDefault(){var t=this.$event;t&&t.preventDefault()}}let s=(t,e,n)=>(t instanceof jt&&(t=t.$event),new jt(t,e,n)),l={on(t,e,n){a.push({comp:t,type:e,cb:n})},off(e,n){q().remove(a,t=>t.comp===e&&t.type===n)},hasKey(t,e){return!(!e||(t=t.key,e=e.toLowerCase(),!t)||e!==t.toLowerCase()&&(!u[t]||u[t].toLowerCase()!==e))}},p=void(ht.isDoc&&(ht.msie||(window.addEventListener("copy",wt,!1),window.addEventListener("cut",wt,!1),window.addEventListener("paste",wt,!1)),document.addEventListener("scroll",wt,!0),document.addEventListener("keydown",wt,!1),document.addEventListener("contextmenu",wt,!1),window.addEventListener("click",wt,!1),window.addEventListener("mousedown",wt,!1),window.addEventListener("blur",wt,!1),window.addEventListener("resize",wt,!1),window.addEventListener(c,q().throttle(wt,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1})),G(8111),G(7588),G(3579)),d=[],z=500;function kt(){d.length&&(d.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))})}),zt())}function zt(){clearTimeout(p),p=setTimeout(kt,f.resizeInterval||z)}class Yt{constructor(t){xt(this,"tarList",[]),xt(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}),d.length||zt(),d.some(t=>t===this)||d.push(this))}unobserve(e){q().remove(d,t=>t.tarList.some(t=>t.target===e))}disconnect(){q().remove(d,t=>t===this)}}let h={create(t){return new(window.ResizeObserver||Yt)(t)}},F=G(9274),v=G.n(F),g=new(v().extend({data(){return{language:"",langMaps:{}}}})),m=!1,y={};function Et(t,e){var{langMaps:n,language:r}=g,o=f.i18n;return o?""+(o(t,e)||""):(m||(n[r]||console.error(`[vxe core] 语言包未安装。Language not installed. https://${i.uiVersion?"vxeui.com":"vxetable.cn"}/#/start/i18n`),m=!0),!e&&y[t]?y[t]:(o=q().toFormatString(q().get(n[r],t,t),e),e||(y[t]=o),o))}function Ft(t){var e=g.language,t=t||"zh-CN";return e!==t&&(g.language=t,y={}),i}function Dt(t,e){var n=g.langMaps;return g.langMaps=Object.assign({},n,{[t]:Object.assign({},(n=e)&&n.__esModule?n.default:n)}),i}function Vt(t){var e=g.langMaps;return!!e[t]}function Ut(){var t=g.language;return t}function Ot(n,r){return function(t,e){t=`[vxe ${r||""}] `+Et(t,e);return console[n](t),t}}let b={create:Ot,warn:Ot("warn","v3.4.29"),err:Ot("error","v3.4.29")},x={},w={mixin(t){return q().each(t,(t,e)=>{w.add(e,t)}),w},get(t){return x[t]||null},add(r,t){if(r&&t){let n=x[r];n?(q().each(t,(t,e)=>{q().eqNull(n[e])||n[e]===t||b.warn("vxe.error.coverProp",["Renderer."+r,e])}),Object.assign(n,t)):x[r]=t}return w},forEach(t){return q().objectEach(x,t),w},delete(t){return delete x[t],w}},D=(G(4423),class{constructor(){xt(this,"store",{})}mixin(t){return q().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];let r=q().keys(e);return q().each(t,(t,e)=>{r.includes(e)&&b.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?q().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){q().objectEach(this.store,t)}}),E=new D,O=(Object.assign(E,{_name:"Validators"}),new class{constructor(){xt(this,"store",{})}mixin(t){return q().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];q().isFunction(t)&&(b.warn("vxe.error.delProp",["menus -> callback","menuMethod"]),t={menuMethod:t});let r=q().keys(e);return q().each(t,(t,e)=>{r.includes(e)&&b.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?q().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){q().objectEach(this.store,t)}}),S=(Object.assign(O,{_name:"Menus"}),new class{constructor(){xt(this,"store",{})}mixin(t){return q().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];q().isFunction(t)&&(b.warn("vxe.error.delProp",["formats -> callback","cellFormatMethod"]),t={cellFormatMethod:t});let r=q().keys(e);return q().each(t,(t,e)=>{r.includes(e)&&b.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?q().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){q().objectEach(this.store,t)}}),j=(Object.assign(S,{_name:"Formats"}),new class{constructor(){xt(this,"store",{})}mixin(t){return q().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];q().isFunction(t)&&(b.warn("vxe.error.delProp",["commands -> callback","commandMethod"]),t={commandMethod:t});let r=q().keys(e);return q().each(t,(t,e)=>{r.includes(e)&&b.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?q().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){q().objectEach(this.store,t)}}),P=(Object.assign(j,{_name:"Commands"}),{}),I={mixin(t){return q().each(t,(t,e)=>{I.add(e,t)}),I},get(t){return t&&P[t]||[]},add(e,n){n=(n=q().isFunction(n)?{tableInterceptorMethod:n}:n).tableInterceptorMethod;if(n){let t=P[e];-1<(t=t||(P[e]=[])).indexOf(n)&&b.warn("vxe.error.coverProp",["Interceptor",e]),t.push(n)}return I},delete(t,n){var r=P[t];if(r){let e=(n=q().isFunction(n)?{tableInterceptorMethod:n}:n)?n.tableInterceptorMethod:null;e?q().remove(r,t=>t===e):delete P[t]}}},T,C={text:"",html:""},A={getStore(){return C},setStore(t){Object.assign(C,t||{})},copy(t){let e=!1;try{var n=q().toValueString(t);r=n,T||((T=document.createElement("textarea")).id="$VxeCopy",(o=T.style).width="48px",o.height="24px",o.position="fixed",o.zIndex="0",o.left="-500px",o.top="-500px",document.body.appendChild(T)),T.value=r,T.select(),T.setSelectionRange(0,T.value.length),e=document.execCommand("copy"),T.blur(),C.text=n,C.html=""}catch(t){}var r,o;return e},getText(){return C.text||""}};function St(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(q().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 R={getCheckInfo(t){return St(t)},checkVisible(t){return St(t).visible},checkDisable(t){return St(t).disabled}},M={toString(t){return q().eqNull(t)?"":""+t},isEmpty(t){return null==t||""===t}},L={buildClass(e,t){let n=[];if(e)for(let t=0;t<e.length;t++){var r=e[t];r&&n.push(""+r)}return q().each(t,(t,e)=>{t&&n.push(e)}),n.join(" ")}},V=v().extend({inject:{$xeSizeInfo:{default:null}},provide(){return{$xeSizeInfo:{getSize:()=>this.computeSize}}},computed:{computeSize(){var t=this.size,e=this.$xeSizeInfo;return t||(e?e.getSize():null)}}}),U=v().extend({computed:{computePermissionInfo(){return St(this.permissionCode,this.permissionMethod)}}}),W={sizeMixin:V,permissionMixin:U},B=[];function Wt(t,e){return t&&t.install&&-1===B.indexOf(t)&&(t.install(N,e),B.push(t)),N}let _={};function Bt(t){return _[t]||null}function $t(t){t&&t.name&&(_[t.name]=t,_[q().kebabCase(t.name)]=t)}function Gt(t){return!!_[t]}function Ht(t){t=t._e;return t()}function qt(t,e,n){if(t){var r,t=(""+t).match(/(\d+).(\d+).(\d+)/);if(t)return r=q().toNumber(t[1]),n?(t=q().toNumber(t[2]),e<=r&&n<=t):e<=r}return!1}let N=Object.assign(i,{renderEmptyElement:Ht,setTheme:vt,getTheme:At,setConfig:Rt,getConfig:Mt,setIcon:Lt,getIcon:mt,renderGlobalIcon:_t,renderCustomIcon:yt,setLanguage:Ft,hasLanguage:Vt,getLanguage:Ut,setI18n:Dt,getI18n:Et,globalEvents:l,GLOBAL_EVENT_KEYS:o,createEvent:s,globalResize:h,renderer:w,validators:E,menus:O,formats:S,commands:j,interceptor:I,clipboard:A,log:b,permission:R,baseUtils:M,domUtils:L,globalStore:e,component:$t,getComponent:Bt,hasComponent:Gt,globalMixins:W,getSlotVNs:gt,checkVersion:qt,use:Wt});vt();var Xt=N;return H}});
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.VxeUI=e(require("vue"),require("xe-utils")):t.VxeUI=e(t.Vue,t.XEUtils)})("undefined"!=typeof self?self:this,function(Tt,It){{var Ct={9274:function(t){t.exports=Tt},8871:function(t){t.exports=It},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")}},6469:function(t,e,n){var r=n(8227),o=n(2360),n=n(4913).f,i=r("unscopables"),u=Array.prototype;void 0===u[i]&&n(u,i,{configurable:!0,value:o(null)}),t.exports=function(t){u[i][t]=!0}},679:function(t,e,n){var r=n(1625),o=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw new o("Incorrect invocation")}},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)}},6955:function(t,e,n){var r=n(2140),o=n(4901),i=n(2195),u=n(8227)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());t.exports=r?i:function(t){var e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=((t,e)=>{try{return t[e]}catch(t){}})(t=c(t),u))?e:a?i(t):"Object"===(e=i(t))&&o(t.callee)?"Arguments":e}},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))}}},2211:function(t,e,n){n=n(9039);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},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}}},4659:function(t,e,n){var r=n(3724),o=n(4913),i=n(6980);t.exports=function(t,e,n){r?o.f(t,e,i(0,n)):t[e]=n}},2106:function(t,e,n){var r=n(283),o=n(4913);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),o.f(t,e,n)}},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 new 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}}},6080:function(t,e,n){var r=n(7476),o=n(9306),i=n(616),u=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?u(t,e):function(){return t.apply(e,arguments)}}},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}},7476:function(t,e,n){var r=n(2195),o=n(9504);t.exports=function(t){if("Function"===r(t))return o(t)}},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}},1767:function(t){t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},851:function(t,e,n){var r=n(6955),o=n(5966),i=n(4117),u=n(6269),c=n(8227)("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||u[r(t)]}},81:function(t,e,n){var r=n(9565),o=n(9306),i=n(8551),u=n(6823),c=n(851),a=TypeError;t.exports=function(t,e){e=arguments.length<2?c(t):e;if(o(e))return i(r(e,t));throw new a(u(t)+" is not iterable")}},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={}},397:function(t,e,n){n=n(7751);t.exports=n("document","documentElement")},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")}}}},4209:function(t,e,n){var r=n(8227),o=n(6269),i=r("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},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))}},2652:function(t,e,n){function m(t,e){this.stopped=t,this.result=e}var y=n(6080),b=n(9565),x=n(8551),w=n(6823),E=n(4209),O=n(6198),S=n(1625),j=n(81),P=n(851),T=n(9539),I=TypeError,C=m.prototype;t.exports=function(t,e,n){function r(t){var e=i;return i=void 0,e&&T(e,"normal"),new m(!0,t)}function o(t){return l?(x(t),h?v(t[0],t[1],r):v(t[0],t[1])):h?v(t,r):v(t)}var i,u,c,a,s,f=n&&n.that,l=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=y(e,f);if(p)i=t.iterator;else if(d)i=t;else{if(!(n=P(t)))throw new I(w(t)+" is not iterable");if(E(n)){for(u=0,c=O(t);u<c;u++)if((a=o(t[u]))&&S(C,a))return a;return new m(!1)}i=j(t,n)}for(s=(p?t:i).next;!(g=b(s,i)).done;){var g=g.value;try{a=o(g)}catch(t){if(!i)throw t;T(i,"throw",t)}if("object"==typeof a&&a&&S(C,a))return a}return new m(!1)}},9539:function(t,e,n){var i=n(9565),u=n(8551),c=n(5966);t.exports=function(t,e,n){var r,o;u(t);try{if(!(r=c(t,"return"))){if("throw"===e)throw n;return n}r=i(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return u(r),n}},4549:function(t,e,n){var o=n(4576);t.exports=function(t,e){var n=o.Iterator,n=n&&n.prototype,n=n&&n[t],r=!1;if(n)try{n.call({next:function(){return{done:!0}},return:function(){r=!0}},-1)}catch(t){t instanceof e||(r=!1)}if(!r)return n}},7657:function(t,e,n){var r,o,i=n(9039),u=n(4901),c=n(34),a=n(2360),s=n(2787),f=n(6840),l=n(8227),n=n(6395),p=l("iterator"),l=!1;[].keys&&("next"in(o=[].keys())?(s=s(s(o)))!==Object.prototype&&(r=s):l=!0),!c(r)||i(function(){var t={};return r[p].call(t)!==t})?r={}:n&&(r=a(r)),u(r[p])||f(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:l}},6269:function(t){t.exports={}},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}),y=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(y,"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)}},2360:function(t,e,n){function r(){}function o(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e}var i,u=n(8551),c=n(6801),a=n(8727),s=n(421),f=n(397),l=n(4055),n=n(6119),p=">",d="<",h="prototype",v="script",g=n("IE_PROTO"),m=function(t){return d+v+p+t+d+"/"+v+p},y=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}y="undefined"==typeof document||document.domain&&i?o(i):(t=l("iframe"),e="java"+v+":",t.style.display="none",f.appendChild(t),t.src=String(e),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F);for(var t,e,n=a.length;n--;)delete y[h][a[n]];return y()};s[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(r[h]=u(t),n=new r,r[h]=null,n[g]=t):n=y(),void 0===e?n:c.f(n,e)}},6801:function(t,e,n){var r=n(3724),o=n(8686),c=n(4913),a=n(8551),s=n(5397),f=n(1072);e.f=r&&!o?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),o=f(e),i=o.length,u=0;u<i;)c.f(t,n=o[u++],r[n]);return 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},2787:function(t,e,n){var r=n(9297),o=n(4901),i=n(8981),u=n(6119),n=n(2211),c=u("IE_PROTO"),a=Object,s=a.prototype;t.exports=n?a.getPrototypeOf:function(t){var e,t=i(t);return r(t,c)?t[c]:(e=t.constructor,o(e)&&t instanceof e?e.prototype:t instanceof a?s:null)}},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}},1072:function(t,e,n){var r=n(1828),o=n(8727);t.exports=Object.keys||function(t){return r(t,o)}},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.49.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/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+""}},2140:function(t,e,n){var r={};r[n(8227)("toStringTag")]="z",t.exports="[object z]"===String(r)},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.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]}},4423:function(t,e,n){var r=n(6518),o=n(9617).includes,i=n(9039),n=n(6469),u=i(function(){return!Array(1).includes()}),i=i(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:u||i},{includes:function(t){return o(this,t,1<arguments.length?arguments[1]:void 0)}}),n("includes")},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}})},8111:function(t,e,n){function r(){if(c(this,g),f(this)===g)throw new x("Abstract class Iterator not directly constructable")}function o(e,t){m?l(g,e,{configurable:!0,get:function(){return t},set:function(t){if(a(this),this===g)throw new x("You can't redefine this property");h(this,e)?this[e]=t:p(this,e,t)}}):g[e]=t}var i=n(6518),u=n(4576),c=n(679),a=n(8551),s=n(4901),f=n(2787),l=n(2106),p=n(4659),d=n(9039),h=n(9297),v=n(8227),g=n(7657).IteratorPrototype,m=n(3724),n=n(6395),y="constructor",b="Iterator",v=v("toStringTag"),x=TypeError,w=u[b],u=n||!s(w)||w.prototype!==g||!d(function(){w({})});h(g,v)||o(v,b),!u&&h(g,y)&&g[y]!==Object||o(y,r),r.prototype=g,i({global:!0,constructor:!0,forced:u},{Iterator:r})},7588:function(t,e,n){var r=n(6518),o=n(9565),i=n(2652),u=n(9306),c=n(8551),a=n(1767),s=n(9539),f=n(4549)("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:f},{forEach:function(e){c(this);try{u(e)}catch(t){s(this,"throw",t)}if(f)return o(f,this,e);var t=a(this),n=0;i(t,function(t){e(t,n++)},{IS_RECORD:!0})}})},3579:function(t,e,n){var r=n(6518),o=n(9565),i=n(2652),u=n(9306),c=n(8551),a=n(1767),s=n(9539),f=n(4549)("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:f},{some:function(n){c(this);try{u(n)}catch(t){s(this,"throw",t)}var t,r;return f?o(f,this,n):(t=a(this),i(t,function(t,e){if(n(t,r++))return e()},{IS_RECORD:!(r=0),INTERRUPTED:!0}).stopped)}})}},G={};function H(t){var e=G[t];return void 0!==e||(e=G[t]={exports:{}},Ct[t].call(e.exports,e,e.exports,H)),e.exports}H.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return H.d(e,{a:e}),e},H.d=function(t,e){for(var n in e)H.o(e,n)&&!H.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},H.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),H.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},H.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},H.p="";var q={};H.r(q),H.d(q,{GLOBAL_EVENT_KEYS:function(){return o},VxeCore:function(){return i},VxeUI:function(){return N},baseUtils:function(){return R},checkVersion:function(){return Xt},clipboard:function(){return M},commands:function(){return j},component:function(){return Gt},coreVersion:function(){return t},createEvent:function(){return s},default:function(){return Yt},domUtils:function(){return L},formats:function(){return S},getComponent:function(){return $t},getConfig:function(){return Lt},getI18n:function(){return Ot},getIcon:function(){return yt},getLanguage:function(){return Wt},getSlotVNs:function(){return mt},getTheme:function(){return At},globalEvents:function(){return l},globalMixins:function(){return B},globalResize:function(){return h},globalStore:function(){return e},handleCheckInfo:function(){return jt},hasComponent:function(){return Ht},hasLanguage:function(){return Ut},interceptor:function(){return T},log:function(){return b},menus:function(){return O},permission:function(){return A},permissionMixin:function(){return W},renderCustomIcon:function(){return bt},renderEmptyElement:function(){return qt},renderGlobalIcon:function(){return Nt},renderer:function(){return w},scrollbarUtils:function(){return V},setConfig:function(){return Rt},setI18n:function(){return Vt},setIcon:function(){return _t},setLanguage:function(){return Dt},setTheme:function(){return gt},sizeMixin:function(){return U},use:function(){return Bt},validators:function(){return E}}),"undefined"!=typeof window&&(vt=(vt=window.document.currentScript)&&vt.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(H.p=vt[1]),H(4114);let t="3.4.31",i={coreVersion:t,uiVersion:"",tableVersion:"",designVersion:"",ganttVersion:""},k=H(8871);var X=H.n(k),Y=null,K=null,Z=null,J="z-index-manage",Q=null,tt="z-index-style",et={m:1e3,s:1e3};function nt(){return Y||"undefined"!=typeof document&&(Y=document),Y}function rt(){return K=Y&&!K?Y.body||Y.getElementsByTagName("body")[0]:K}function ot(){var t;Q||!(t=nt())||(Q=t.getElementById(tt))||((Q=t.createElement("style")).id=tt,t.getElementsByTagName("head")[0].appendChild(Q)),Q&&(Q.innerHTML=":root{--dom-main"+(t="-z-index")+":"+st()+";--dom-sub"+t+":"+dt()+"}")}function it(){var t,e;return Z||(t=nt())&&!(Z=t.getElementById(J))&&(e=rt())&&((Z=t.createElement("div")).id=J,Z.style.display="none",e.appendChild(Z),ct(et.m),lt(et.s)),Z}function ut(n){return function(t){var e;return t&&(t=Number(t),et[n]=t,e=it())&&(e.dataset?e.dataset[n]=t+"":e.setAttribute("data-"+n,t+"")),ot(),et[n]}}var ct=ut("m");function at(r,o){return function(t){var e=it(),n=(n=e&&(e=e.dataset?e.dataset[r]:e.getAttribute("data-"+r))?Number(e):n)||et[r];return t?Number(t)<n?o():t:n}}var st=at("m",ft);function ft(){return ct(st()+1)}var lt=ut("s"),pt=at("s",ht);function dt(){return st()+pt()}function ht(){return lt(pt()+1),dt()}var vt={setCurrent:ct,getCurrent:st,getNext:ft,setSubCurrent:lt,getSubCurrent:dt,getSubNext:ht,getMax:function(){var t=0;if(nt()){var e=rt();if(e)for(var n=e.getElementsByTagName("*"),r=0;r<n.length;r++){var o=n[r];o&&o.style&&1===o.nodeType&&(o=o.style.zIndex)&&/^\d+$/.test(o)&&(t=Math.max(t,Number(o)))}}return t}},Mt=(ot(),vt);let f={size:"",version:1,zIndex:999,resizeInterval:500},n={theme:""};function gt(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),i}function At(){return n.theme}function Rt(t){return t&&(t.zIndex&&Mt.setCurrent(t.zIndex),t.theme&&gt(t.theme),X().merge(f,t)),i}function Lt(t,e){return arguments.length?X().get(f,t,e):f}let e={},r={};function mt(t){return X().isArray(t)?t:t?[t]:[]}function _t(t){return t&&Object.assign(r,t),i}function yt(t){return arguments.length?X().get(r,t):r}function Nt(t,e){return bt(t,yt(e),e)}function bt(t,e,n){return X().isFunction(e)?t("span",{},mt(e({name:n}))):t("i",{class:e})}function xt(t){return(xt="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 kt(t){t=((t,e)=>{if("object"!=xt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return("string"===e?String:Number)(t);if("object"!=xt(n=n.call(t,e||"default")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string");return"symbol"==xt(t)?t:t+""}function wt(t,e,n){(e=kt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}let o={F2:"F2",F10:"F10",TAB:"Tab",ESCAPE:"Escape",ENTER:"Enter",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",HOME:"Home",END:"End",PROCESS:"Process",A:"A",X:"X",C:"C",V:"V",D:"D",F:"F",H:"H",M:"M",Y:"Y",Z:"Z",R:"R",P:"P"},u=(vt=X().browse(),{" ":"Spacebar",Apps:o.CONTEXT_MENU,Del:o.DELETE,Up:o.ARROW_UP,Down:o.ARROW_DOWN,Left:o.ARROW_LEFT,Right:o.ARROW_RIGHT}),c=vt.firefox?"DOMMouseScroll":"mousewheel",a=[];function Et(n){let r=n.type===c;a.forEach(({type:t,cb:e})=>{n.cancelBubble||(t===n.type||r&&"mousewheel"===t)&&e(n)})}class Pt{constructor(t,e,n){wt(this,"$event",void 0),wt(this,"type",""),wt(this,"key",""),wt(this,"code",""),(this.$event=t)&&(t.type&&(this.type=t.type),t.key&&(this.key=t.key),t.code)&&(this.code=t.code),Object.assign(this,e),X().objectEach(n,(n,r)=>{if(X().isFunction(n)){let t=null,e=!1;Object.defineProperty(this,r,{get(){return e||(e=!0,t=n()),t}})}else this[r]=n})}stopPropagation(){var t=this.$event;t&&t.stopPropagation()}preventDefault(){var t=this.$event;t&&t.preventDefault()}}let s=(t,e,n)=>(t instanceof Pt&&(t=t.$event),new Pt(t,e,n)),l={on(t,e,n){a.push({comp:t,type:e,cb:n})},off(e,n){X().remove(a,t=>t.comp===e&&t.type===n)},hasKey(t,e){return!(!e||(t=t.key,e=e.toLowerCase(),!t)||e!==t.toLowerCase()&&(!u[t]||u[t].toLowerCase()!==e))}},p=void(vt.isDoc&&(vt.msie||(window.addEventListener("copy",Et,!1),window.addEventListener("cut",Et,!1),window.addEventListener("paste",Et,!1)),document.addEventListener("scroll",Et,!0),document.addEventListener("keydown",Et,!1),document.addEventListener("contextmenu",Et,!1),window.addEventListener("click",Et,!1),window.addEventListener("mousedown",Et,!1),window.addEventListener("blur",Et,!1),window.addEventListener("resize",Et,!1),window.addEventListener(c,X().throttle(Et,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1})),H(8111),H(7588),H(3579)),d=[],z=500;function zt(){d.length&&(d.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))})}),Ft())}function Ft(){clearTimeout(p),p=setTimeout(zt,f.resizeInterval||z)}class Kt{constructor(t){wt(this,"tarList",[]),wt(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}),d.length||Ft(),d.some(t=>t===this)||d.push(this))}unobserve(e){X().remove(d,t=>t.tarList.some(t=>t.target===e))}disconnect(){X().remove(d,t=>t===this)}}let h={create(t){return new(window.ResizeObserver||Kt)(t)}},F=H(9274),v=H.n(F),g=new(v().extend({data(){return{language:"",langMaps:{}}}})),m=!1,y={};function Ot(t,e){var{langMaps:n,language:r}=g,o=f.i18n;return o?""+(o(t,e)||""):(m||(n[r]||console.error(`[vxe core] 语言包未安装。Language not installed. https://${i.uiVersion?"vxeui.com":"vxetable.cn"}/#/start/i18n`),m=!0),!e&&y[t]?y[t]:(o=X().toFormatString(X().get(n[r],t,t),e),e||(y[t]=o),o))}function Dt(t){var e=g.language,t=t||"zh-CN";return e!==t&&(g.language=t,y={}),i}function Vt(t,e){var n=g.langMaps;return g.langMaps=Object.assign({},n,{[t]:Object.assign({},(n=e)&&n.__esModule?n.default:n)}),i}function Ut(t){var e=g.langMaps;return!!e[t]}function Wt(){var t=g.language;return t}function St(n,r){return function(t,e){t=`[vxe ${r||""}] `+Ot(t,e);return console[n](t),t}}let b={create:St,warn:St("warn","v3.4.31"),err:St("error","v3.4.31")},x={},w={mixin(t){return X().each(t,(t,e)=>{w.add(e,t)}),w},get(t){return x[t]||null},add(r,t){if(r&&t){let n=x[r];n?(X().each(t,(t,e)=>{X().eqNull(n[e])||n[e]===t||b.warn("vxe.error.coverProp",["Renderer."+r,e])}),Object.assign(n,t)):x[r]=t}return w},forEach(t){return X().objectEach(x,t),w},delete(t){return delete x[t],w}},D=(H(4423),class{constructor(){wt(this,"store",{})}mixin(t){return X().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];let r=X().keys(e);return X().each(t,(t,e)=>{r.includes(e)&&b.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?X().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){X().objectEach(this.store,t)}}),E=new D,O=(Object.assign(E,{_name:"Validators"}),new class{constructor(){wt(this,"store",{})}mixin(t){return X().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];X().isFunction(t)&&(b.warn("vxe.error.delProp",["menus -> callback","menuMethod"]),t={menuMethod:t});let r=X().keys(e);return X().each(t,(t,e)=>{r.includes(e)&&b.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?X().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){X().objectEach(this.store,t)}}),S=(Object.assign(O,{_name:"Menus"}),new class{constructor(){wt(this,"store",{})}mixin(t){return X().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];X().isFunction(t)&&(b.warn("vxe.error.delProp",["formats -> callback","cellFormatMethod"]),t={cellFormatMethod:t});let r=X().keys(e);return X().each(t,(t,e)=>{r.includes(e)&&b.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?X().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){X().objectEach(this.store,t)}}),j=(Object.assign(S,{_name:"Formats"}),new class{constructor(){wt(this,"store",{})}mixin(t){return X().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];X().isFunction(t)&&(b.warn("vxe.error.delProp",["commands -> callback","commandMethod"]),t={commandMethod:t});let r=X().keys(e);return X().each(t,(t,e)=>{r.includes(e)&&b.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?X().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){X().objectEach(this.store,t)}}),P=(Object.assign(j,{_name:"Commands"}),{}),T={mixin(t){return X().each(t,(t,e)=>{T.add(e,t)}),T},get(t){return t&&P[t]||[]},add(e,n){n=(n=X().isFunction(n)?{tableInterceptorMethod:n}:n).tableInterceptorMethod;if(n){let t=P[e];-1<(t=t||(P[e]=[])).indexOf(n)&&b.warn("vxe.error.coverProp",["Interceptor",e]),t.push(n)}return T},delete(t,n){var r=P[t];if(r){let e=(n=X().isFunction(n)?{tableInterceptorMethod:n}:n)?n.tableInterceptorMethod:null;e?X().remove(r,t=>t===e):delete P[t]}}},I,C={text:"",html:""},M={getStore(){return C},setStore(t){Object.assign(C,t||{})},copy(t){let e=!1;try{var n=X().toValueString(t);r=n,I||((I=document.createElement("textarea")).id="$VxeCopy",(o=I.style).width="48px",o.height="24px",o.position="fixed",o.zIndex="0",o.left="-500px",o.top="-500px",document.body.appendChild(I)),I.value=r,I.select(),I.setSelectionRange(0,I.value.length),e=document.execCommand("copy"),I.blur(),C.text=n,C.html=""}catch(t){}var r,o;return e},getText(){return C.text||""}};function jt(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(X().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 A={getCheckInfo(t){return jt(t)},checkVisible(t){return jt(t).visible},checkDisable(t){return jt(t).disabled}},R={toString(t){return X().eqNull(t)?"":""+t},isEmpty(t){return null==t||""===t},getDefVal(t,e){return X().eqNull(t)?e:t}},L={buildClass(e,t){let n=[];if(e)for(let t=0;t<e.length;t++){var r=e[t];r&&n.push(""+r)}return X().each(t,(t,e)=>{t&&n.push(e)}),n.join(" ")}},V={getThumbSize(t,e,n){return e<=t?0:Math.max(20,Math.min(n*(t/e),n))},getThumbOffsetSize(t,e,n,r,o){n-=e;return n<=0||(e=r-o)<=0?0:Math.min(Math.max(t,0),n)/n*e},getScrollFromClick(t,e,n,r,o){r-=o,n-=e;return n<=0||r<=0?0:(e=t-o/2,(e=Math.min(Math.max(e,0),r))/r*n)},getScrollFromDrag(t,e,n,r,o,i){r-=n,n=o-i;return r<=0||n<=0?0:(o=t-e,(o=Math.min(Math.max(o,0),n))/n*r)}},U=v().extend({inject:{$xeSizeInfo:{default:null}},provide(){return{$xeSizeInfo:{getSize:()=>this.computeSize}}},computed:{computeSize(){var t=this.size,e=this.$xeSizeInfo;return t||(e?e.getSize():null)}}}),W=v().extend({computed:{computePermissionInfo(){return jt(this.permissionCode,this.permissionMethod)}}}),B={sizeMixin:U,permissionMixin:W},$=[];function Bt(t,e){return t&&t.install&&-1===$.indexOf(t)&&(t.install(N,e),$.push(t)),N}let _={};function $t(t){return _[t]||null}function Gt(t){t&&t.name&&(_[t.name]=t,_[X().kebabCase(t.name)]=t)}function Ht(t){return!!_[t]}function qt(t){t=t._e;return t()}function Xt(t,e,n){if(t){var r,t=(""+t).match(/(\d+).(\d+).(\d+)/);if(t)return r=X().toNumber(t[1]),n?(t=X().toNumber(t[2]),e<=r&&n<=t):e<=r}return!1}let N=Object.assign(i,{renderEmptyElement:qt,setTheme:gt,getTheme:At,setConfig:Rt,getConfig:Lt,setIcon:_t,getIcon:yt,renderGlobalIcon:Nt,renderCustomIcon:bt,setLanguage:Dt,hasLanguage:Ut,getLanguage:Wt,setI18n:Vt,getI18n:Ot,globalEvents:l,GLOBAL_EVENT_KEYS:o,createEvent:s,globalResize:h,renderer:w,validators:E,menus:O,formats:S,commands:j,interceptor:T,clipboard:M,log:b,permission:A,baseUtils:R,domUtils:L,scrollbarUtils:V,globalStore:e,component:Gt,getComponent:$t,hasComponent:Ht,globalMixins:B,getSlotVNs:mt,checkVersion:Xt,use:Bt});gt();var Yt=N;return q}});
@@ -21,5 +21,11 @@ const baseUtils = exports.baseUtils = {
21
21
  */
22
22
  isEmpty(value) {
23
23
  return value === null || value === undefined || value === '';
24
+ },
25
+ /**
26
+ * 获取配置值,如果存在则返回,如果不存在则使用默认值
27
+ */
28
+ getDefVal(value, defVal) {
29
+ return _xeUtils.default.eqNull(value) ? defVal : value;
24
30
  }
25
31
  };
@@ -1 +1 @@
1
- Object.defineProperty(exports,"__esModule",{value:!0}),exports.baseUtils=void 0;var _xeUtils=_interopRequireDefault(require("xe-utils"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let baseUtils=exports.baseUtils={toString(e){return _xeUtils.default.eqNull(e)?"":""+e},isEmpty(e){return null==e||""===e}};
1
+ Object.defineProperty(exports,"__esModule",{value:!0}),exports.baseUtils=void 0;var _xeUtils=_interopRequireDefault(require("xe-utils"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let baseUtils=exports.baseUtils={toString(e){return _xeUtils.default.eqNull(e)?"":""+e},isEmpty(e){return null==e||""===e},getDefVal(e,t){return _xeUtils.default.eqNull(e)?t:e}};
package/lib/src/core.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.coreVersion = exports.VxeCore = void 0;
7
- const coreVersion = exports.coreVersion = "3.4.29";
7
+ const coreVersion = exports.coreVersion = "3.4.31";
8
8
  const VxeCore = exports.VxeCore = {
9
9
  coreVersion,
10
10
  uiVersion: '',
@@ -1 +1 @@
1
- Object.defineProperty(exports,"__esModule",{value:!0}),exports.coreVersion=exports.VxeCore=void 0;let coreVersion=exports.coreVersion="3.4.29",VxeCore=exports.VxeCore={coreVersion:coreVersion,uiVersion:"",tableVersion:"",designVersion:"",ganttVersion:""};
1
+ Object.defineProperty(exports,"__esModule",{value:!0}),exports.coreVersion=exports.VxeCore=void 0;let coreVersion=exports.coreVersion="3.4.31",VxeCore=exports.VxeCore={coreVersion:coreVersion,uiVersion:"",tableVersion:"",designVersion:"",ganttVersion:""};
package/lib/src/log.js CHANGED
@@ -12,7 +12,7 @@ function createLog(type, name) {
12
12
  return msg;
13
13
  };
14
14
  }
15
- const version = "3.4.29";
15
+ const version = "3.4.31";
16
16
  const log = exports.log = {
17
17
  create: createLog,
18
18
  warn: createLog('warn', `v${version}`),
@@ -1 +1 @@
1
- Object.defineProperty(exports,"__esModule",{value:!0}),exports.log=void 0;var _i18n=require("./i18n");function createLog(o,n){return function(e,r){e=`[vxe ${n||""}] `+(0,_i18n.getI18n)(e,r);return console[o](e),e}}let version="3.4.29",log=exports.log={create:createLog,warn:createLog("warn","v"+version),err:createLog("error","v"+version)};
1
+ Object.defineProperty(exports,"__esModule",{value:!0}),exports.log=void 0;var _i18n=require("./i18n");function createLog(o,n){return function(e,r){e=`[vxe ${n||""}] `+(0,_i18n.getI18n)(e,r);return console[o](e),e}}let version="3.4.31",log=exports.log={create:createLog,warn:createLog("warn","v"+version),err:createLog("error","v"+version)};
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.scrollbarUtils = void 0;
7
+ const scrollbarUtils = exports.scrollbarUtils = {
8
+ /**
9
+ * 计算滚动条滑块的长度
10
+ */
11
+ getThumbSize(viewportSize, contentSize, trackSize) {
12
+ if (contentSize <= viewportSize) {
13
+ return 0;
14
+ }
15
+ const ratio = viewportSize / contentSize;
16
+ const ideal = trackSize * ratio;
17
+ return Math.max(20, Math.min(ideal, trackSize));
18
+ },
19
+ /**
20
+ * 计算滚动条滑块的偏移位置
21
+ */
22
+ getThumbOffsetSize(offsetSize, viewportSize, contentSize, trackSize, thumbSize) {
23
+ const maxScroll = contentSize - viewportSize;
24
+ if (maxScroll <= 0) {
25
+ return 0;
26
+ }
27
+ const maxThumbOffset = trackSize - thumbSize;
28
+ if (maxThumbOffset <= 0) {
29
+ return 0;
30
+ }
31
+ const clamped = Math.min(Math.max(offsetSize, 0), maxScroll);
32
+ const ratio = clamped / maxScroll;
33
+ return ratio * maxThumbOffset;
34
+ },
35
+ /**
36
+ * 根据点击轨道的位置,计算滑块的偏移位置
37
+ */
38
+ getScrollFromClick(clickPosition, viewportSize, contentSize, trackSize, thumbSize) {
39
+ const maxThumbOffset = trackSize - thumbSize;
40
+ const maxScroll = contentSize - viewportSize;
41
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
42
+ return 0;
43
+ }
44
+ let thumbOffset = clickPosition - thumbSize / 2;
45
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset);
46
+ const scrollOffset = thumbOffset / maxThumbOffset * maxScroll;
47
+ return scrollOffset;
48
+ },
49
+ /**
50
+ * 拖拽 thumb 时,根据鼠标位置计算滑块的偏移位置
51
+ */
52
+ getScrollFromDrag(pointerPosition, dragOffset, viewportSize, contentSize, trackSize, thumbSize) {
53
+ const maxScroll = contentSize - viewportSize;
54
+ const maxThumbOffset = trackSize - thumbSize;
55
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
56
+ return 0;
57
+ }
58
+ let thumbOffset = pointerPosition - dragOffset;
59
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset);
60
+ return thumbOffset / maxThumbOffset * maxScroll;
61
+ }
62
+ };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,"__esModule",{value:!0}),exports.scrollbarUtils=void 0;let scrollbarUtils=exports.scrollbarUtils={getThumbSize(t,r,e){return r<=t?0:Math.max(20,Math.min(e*(t/r),e))},getThumbOffsetSize(t,r,e,a,l){e-=r;return e<=0||(r=a-l)<=0?0:Math.min(Math.max(t,0),e)/e*r},getScrollFromClick(t,r,e,a,l){a-=l,e-=r;return e<=0||a<=0?0:(r=t-l/2,(r=Math.min(Math.max(r,0),a))/a*e)},getScrollFromDrag(t,r,e,a,l,o){a-=e,e=l-o;return a<=0||e<=0?0:(l=t-r,(l=Math.min(Math.max(l,0),e))/e*a)}};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vxe-ui/core",
3
- "version": "3.4.29",
3
+ "version": "3.4.31",
4
4
  "description": "Vxe UI core library",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
package/packages/index.ts CHANGED
@@ -17,6 +17,7 @@ import { clipboard } from './src/clipboard'
17
17
  import { permission } from './src/permission'
18
18
  import { baseUtils } from './src/base-utils'
19
19
  import { domUtils } from './src/dom-utils'
20
+ import { scrollbarUtils } from './src/scrollbar-utils'
20
21
  import { log } from './src/log'
21
22
  import { globalMixins } from './src/mixins'
22
23
  import { getSlotVNs } from './src/vm'
@@ -109,6 +110,7 @@ export const VxeUI = Object.assign(VxeCore, {
109
110
 
110
111
  baseUtils,
111
112
  domUtils,
113
+ scrollbarUtils,
112
114
 
113
115
  globalStore,
114
116
 
@@ -145,6 +147,7 @@ export * from './src/permission'
145
147
 
146
148
  export * from './src/base-utils'
147
149
  export * from './src/dom-utils'
150
+ export * from './src/scrollbar-utils'
148
151
 
149
152
  export * from './src/dataStore'
150
153
 
@@ -18,5 +18,11 @@ export const baseUtils: VxeBaseUtils = {
18
18
  */
19
19
  isEmpty (value) : value is VxeBaseEmptyValue {
20
20
  return value === null || value === undefined || value === ''
21
+ },
22
+ /**
23
+ * 获取配置值,如果存在则返回,如果不存在则使用默认值
24
+ */
25
+ getDefVal (value, defVal) {
26
+ return XEUtils.eqNull(value) ? defVal : value
21
27
  }
22
28
  }
@@ -0,0 +1,58 @@
1
+ import { VxeScrollbarUtils } from '../../types'
2
+
3
+ export const scrollbarUtils: VxeScrollbarUtils = {
4
+ /**
5
+ * 计算滚动条滑块的长度
6
+ */
7
+ getThumbSize (viewportSize: number, contentSize: number, trackSize: number) {
8
+ if (contentSize <= viewportSize) {
9
+ return 0
10
+ }
11
+ const ratio = viewportSize / contentSize
12
+ const ideal = trackSize * ratio
13
+ return Math.max(20, Math.min(ideal, trackSize))
14
+ },
15
+ /**
16
+ * 计算滚动条滑块的偏移位置
17
+ */
18
+ getThumbOffsetSize (offsetSize: number, viewportSize: number, contentSize: number, trackSize: number, thumbSize: number) {
19
+ const maxScroll = contentSize - viewportSize
20
+ if (maxScroll <= 0) {
21
+ return 0
22
+ }
23
+ const maxThumbOffset = trackSize - thumbSize
24
+ if (maxThumbOffset <= 0) {
25
+ return 0
26
+ }
27
+ const clamped = Math.min(Math.max(offsetSize, 0), maxScroll)
28
+ const ratio = clamped / maxScroll
29
+ return ratio * maxThumbOffset
30
+ },
31
+ /**
32
+ * 根据点击轨道的位置,计算滑块的偏移位置
33
+ */
34
+ getScrollFromClick (clickPosition: number, viewportSize: number, contentSize: number, trackSize: number, thumbSize: number) {
35
+ const maxThumbOffset = trackSize - thumbSize
36
+ const maxScroll = contentSize - viewportSize
37
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
38
+ return 0
39
+ }
40
+ let thumbOffset = clickPosition - thumbSize / 2
41
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset)
42
+ const scrollOffset = (thumbOffset / maxThumbOffset) * maxScroll
43
+ return scrollOffset
44
+ },
45
+ /**
46
+ * 拖拽 thumb 时,根据鼠标位置计算滑块的偏移位置
47
+ */
48
+ getScrollFromDrag (pointerPosition: number, dragOffset: number, viewportSize: number, contentSize: number, trackSize: number, thumbSize: number) {
49
+ const maxScroll = contentSize - viewportSize
50
+ const maxThumbOffset = trackSize - thumbSize
51
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
52
+ return 0
53
+ }
54
+ let thumbOffset = pointerPosition - dragOffset
55
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset)
56
+ return (thumbOffset / maxThumbOffset) * maxScroll
57
+ }
58
+ }
@@ -13,4 +13,10 @@ export interface VxeBaseUtils {
13
13
  * @param value
14
14
  */
15
15
  isEmpty(value: any): value is VxeBaseEmptyValue
16
+ /**
17
+ * 获取配置值,如果存在则返回,如果不存在则使用默认值
18
+ * @param value
19
+ * @param defVal
20
+ */
21
+ getDefVal<T = any, D = any>(value: T, defVal: D): T | D
16
22
  }
@@ -37,6 +37,10 @@ export interface VxeGlobalConfig {
37
37
  * 全局组件尺寸
38
38
  */
39
39
  size?: VxeComponentSizeType
40
+ /**
41
+ * 使用虚拟滚动条
42
+ */
43
+ useScrollbar?: boolean
40
44
  /**
41
45
  * 支持对组件中特定的字段进行翻译
42
46
  * @param key
@@ -17,6 +17,7 @@ import { VxeGlobalClipboard } from './clipboard'
17
17
  import { VxeGlobalPermission } from './permission'
18
18
  import { VxeBaseUtils } from './base-utils'
19
19
  import { VxeDomUtils } from './dom-utils'
20
+ import { VxeScrollbarUtils } from './scrollbar-utils'
20
21
  import { VxeGlobalComponentMethod, VxeGlobalGetComponentMethod, VxeGlobalHasComponentMethod } from './components'
21
22
  import { VxeGlobalUseMixins } from './mixins'
22
23
  import { VxeGlobalLog } from './log'
@@ -74,6 +75,7 @@ export const permission: VxeGlobalPermission
74
75
 
75
76
  export const baseUtils: VxeBaseUtils
76
77
  export const domUtils: VxeDomUtils
78
+ export const scrollbarUtils: VxeScrollbarUtils
77
79
 
78
80
  export const globalEvents: VxeGlobalEvents
79
81
 
@@ -215,6 +217,10 @@ export interface VxeUIExport {
215
217
  * Document 工具函数
216
218
  */
217
219
  domUtils: VxeDomUtils
220
+ /**
221
+ * 滚动条工具函数
222
+ */
223
+ scrollbarUtils: VxeScrollbarUtils
218
224
 
219
225
  /**
220
226
  * 全局事件管理
@@ -295,6 +301,7 @@ export * from './permission'
295
301
 
296
302
  export * from './base-utils'
297
303
  export * from './dom-utils'
304
+ export * from './scrollbar-utils'
298
305
 
299
306
  export * from './log'
300
307
 
@@ -0,0 +1,38 @@
1
+
2
+ export interface VxeScrollbarUtils {
3
+ /**
4
+ * 计算滚动条滑块的长度
5
+ * @param viewportSize
6
+ * @param contentSize
7
+ * @param trackSize
8
+ */
9
+ getThumbSize (viewportSize: number, contentSize: number, trackSize: number): number
10
+ /**
11
+ * 计算滚动条滑块的偏移位置
12
+ * @param offsetSize
13
+ * @param viewportSize
14
+ * @param contentSize
15
+ * @param trackSize
16
+ * @param thumbSize
17
+ */
18
+ getThumbOffsetSize (offsetSize: number, viewportSize: number, contentSize: number, trackSize: number, thumbSize: number): number
19
+ /**
20
+ * 根据点击轨道的位置,计算滑块的偏移位置
21
+ * @param clickPosition
22
+ * @param viewportSize
23
+ * @param contentSize
24
+ * @param trackSize
25
+ * @param thumbSize
26
+ */
27
+ getScrollFromClick (clickPosition: number, viewportSize: number, contentSize: number, trackSize: number, thumbSize: number): number
28
+ /**
29
+ * 拖拽 thumb 时,根据鼠标位置计算滑块的偏移位置
30
+ * @param pointerPosition
31
+ * @param dragOffset
32
+ * @param viewportSize
33
+ * @param contentSize
34
+ * @param trackSize
35
+ * @param thumbSize
36
+ */
37
+ getScrollFromDrag (pointerPosition: number, dragOffset: number, viewportSize: number, contentSize: number, trackSize: number, thumbSize: number): number
38
+ }