@vxe-ui/core 4.4.30 → 4.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/dist/all.esm.js CHANGED
@@ -2,7 +2,7 @@ import { h, reactive, computed, inject, provide, createCommentVNode } from 'vue'
2
2
  import XEUtils from 'xe-utils';
3
3
  import DomZIndex from 'dom-zindex';
4
4
 
5
- const coreVersion = "4.4.30";
5
+ const coreVersion = "4.4.31";
6
6
  const VxeCore = {
7
7
  coreVersion,
8
8
  uiVersion: '',
@@ -402,7 +402,7 @@ function createLog(type, name) {
402
402
  return msg;
403
403
  };
404
404
  }
405
- const version = "4.4.30";
405
+ const version = "4.4.31";
406
406
  const log = {
407
407
  create: createLog,
408
408
  warn: createLog('warn', `v${version}`),
@@ -863,6 +863,63 @@ const domUtils = {
863
863
  }
864
864
  };
865
865
 
866
+ const scrollbarUtils = {
867
+ /**
868
+ * 计算滚动条滑块的长度
869
+ */
870
+ getThumbSize(viewportSize, contentSize, trackSize) {
871
+ if (contentSize <= viewportSize) {
872
+ return 0;
873
+ }
874
+ const ratio = viewportSize / contentSize;
875
+ const ideal = trackSize * ratio;
876
+ return Math.max(20, Math.min(ideal, trackSize));
877
+ },
878
+ /**
879
+ * 计算滚动条滑块的偏移位置
880
+ */
881
+ getThumbOffsetSize(offsetSize, viewportSize, contentSize, trackSize, thumbSize) {
882
+ const maxScroll = contentSize - viewportSize;
883
+ if (maxScroll <= 0) {
884
+ return 0;
885
+ }
886
+ const maxThumbOffset = trackSize - thumbSize;
887
+ if (maxThumbOffset <= 0) {
888
+ return 0;
889
+ }
890
+ const clamped = Math.min(Math.max(offsetSize, 0), maxScroll);
891
+ const ratio = clamped / maxScroll;
892
+ return ratio * maxThumbOffset;
893
+ },
894
+ /**
895
+ * 根据点击轨道的位置,计算滑块的偏移位置
896
+ */
897
+ getScrollFromClick(clickPosition, viewportSize, contentSize, trackSize, thumbSize) {
898
+ const maxThumbOffset = trackSize - thumbSize;
899
+ const maxScroll = contentSize - viewportSize;
900
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
901
+ return 0;
902
+ }
903
+ let thumbOffset = clickPosition - thumbSize / 2;
904
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset);
905
+ const scrollOffset = (thumbOffset / maxThumbOffset) * maxScroll;
906
+ return scrollOffset;
907
+ },
908
+ /**
909
+ * 拖拽 thumb 时,根据鼠标位置计算滑块的偏移位置
910
+ */
911
+ getScrollFromDrag(pointerPosition, dragOffset, viewportSize, contentSize, trackSize, thumbSize) {
912
+ const maxScroll = contentSize - viewportSize;
913
+ const maxThumbOffset = trackSize - thumbSize;
914
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
915
+ return 0;
916
+ }
917
+ let thumbOffset = pointerPosition - dragOffset;
918
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset);
919
+ return (thumbOffset / maxThumbOffset) * maxScroll;
920
+ }
921
+ };
922
+
866
923
  const hooks = new Store();
867
924
 
868
925
  function useSize(props) {
@@ -957,6 +1014,7 @@ const VxeUI = Object.assign(VxeCore, {
957
1014
  permission,
958
1015
  baseUtils,
959
1016
  domUtils,
1017
+ scrollbarUtils,
960
1018
  globalStore,
961
1019
  hooks,
962
1020
  component,
@@ -969,4 +1027,4 @@ const VxeUI = Object.assign(VxeCore, {
969
1027
  });
970
1028
  setTheme();
971
1029
 
972
- export { GLOBAL_EVENT_KEYS, VxeCore, VxeUI, baseUtils, checkVersion, clipboard, commands, component, coreVersion, createEvent, VxeUI as default, domUtils, formats, getComponent, getConfig, getI18n, getIcon, getLanguage, getSlotVNs, getTheme, globalEvents, globalResize, globalStore, handleCheckInfo, hasComponent, hasLanguage, hooks, interceptor, log, menus, permission, renderCustomIcon, renderEmptyElement, renderGlobalIcon, renderer, setConfig, setI18n, setIcon, setLanguage, setTheme, use, useFns, usePermission, useSize, validators };
1030
+ export { GLOBAL_EVENT_KEYS, VxeCore, VxeUI, baseUtils, checkVersion, clipboard, commands, component, coreVersion, createEvent, VxeUI as default, domUtils, formats, getComponent, getConfig, getI18n, getIcon, getLanguage, getSlotVNs, getTheme, globalEvents, globalResize, globalStore, handleCheckInfo, hasComponent, hasLanguage, hooks, interceptor, log, menus, permission, renderCustomIcon, renderEmptyElement, renderGlobalIcon, renderer, scrollbarUtils, setConfig, setI18n, setIcon, setLanguage, setTheme, use, useFns, usePermission, useSize, validators };
package/es/index.esm.js 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 { hooks } from './src/hooks';
22
23
  import { useFns } from './src/useFns';
@@ -92,6 +93,7 @@ export const VxeUI = Object.assign(VxeCore, {
92
93
  permission,
93
94
  baseUtils,
94
95
  domUtils,
96
+ scrollbarUtils,
95
97
  globalStore,
96
98
  hooks,
97
99
  component,
@@ -120,6 +122,7 @@ export * from './src/clipboard';
120
122
  export * from './src/permission';
121
123
  export * from './src/base-utils';
122
124
  export * from './src/dom-utils';
125
+ export * from './src/scrollbar-utils';
123
126
  export * from './src/dataStore';
124
127
  export * from './src/useFns';
125
128
  export * from './src/vm';
package/es/src/core.js CHANGED
@@ -1,4 +1,4 @@
1
- export const coreVersion = "4.4.30";
1
+ export const coreVersion = "4.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 = "4.4.30";
9
+ const version = "4.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
+ };
@@ -237,6 +237,18 @@ Object.keys(_domUtils).forEach(function (key) {
237
237
  }
238
238
  });
239
239
  });
240
+ var _scrollbarUtils = require("./src/scrollbar-utils");
241
+ Object.keys(_scrollbarUtils).forEach(function (key) {
242
+ if (key === "default" || key === "__esModule") return;
243
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
244
+ if (key in exports && exports[key] === _scrollbarUtils[key]) return;
245
+ Object.defineProperty(exports, key, {
246
+ enumerable: true,
247
+ get: function () {
248
+ return _scrollbarUtils[key];
249
+ }
250
+ });
251
+ });
240
252
  var _log = require("./src/log");
241
253
  Object.keys(_log).forEach(function (key) {
242
254
  if (key === "default" || key === "__esModule") return;
@@ -357,6 +369,7 @@ const VxeUI = exports.VxeUI = Object.assign(_core.VxeCore, {
357
369
  permission: _permission.permission,
358
370
  baseUtils: _baseUtils.baseUtils,
359
371
  domUtils: _domUtils.domUtils,
372
+ scrollbarUtils: _scrollbarUtils.scrollbarUtils,
360
373
  globalStore: _dataStore.globalStore,
361
374
  hooks: _hooks.hooks,
362
375
  component,
package/lib/index.umd.js CHANGED
@@ -2537,6 +2537,7 @@ __webpack_require__.d(__webpack_exports__, {
2537
2537
  renderEmptyElement: function() { return /* reexport */ renderEmptyElement; },
2538
2538
  renderGlobalIcon: function() { return /* reexport */ renderGlobalIcon; },
2539
2539
  renderer: function() { return /* reexport */ renderer; },
2540
+ scrollbarUtils: function() { return /* reexport */ scrollbarUtils; },
2540
2541
  setConfig: function() { return /* reexport */ setConfig; },
2541
2542
  setI18n: function() { return /* reexport */ setI18n; },
2542
2543
  setIcon: function() { return /* reexport */ setIcon; },
@@ -2570,7 +2571,7 @@ if (typeof window !== 'undefined') {
2570
2571
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
2571
2572
  var es_array_push = __webpack_require__(4114);
2572
2573
  ;// ./packages/src/core.ts
2573
- const coreVersion = "4.4.30";
2574
+ const coreVersion = "4.4.31";
2574
2575
  const VxeCore = {
2575
2576
  coreVersion,
2576
2577
  uiVersion: '',
@@ -3213,7 +3214,7 @@ function createLog(type, name) {
3213
3214
  return msg;
3214
3215
  };
3215
3216
  }
3216
- const version = "4.4.30";
3217
+ const version = "4.4.31";
3217
3218
  const log = {
3218
3219
  create: createLog,
3219
3220
  warn: createLog('warn', `v${version}`),
@@ -3690,6 +3691,63 @@ const domUtils = {
3690
3691
  return parts.join(' ');
3691
3692
  }
3692
3693
  };
3694
+ ;// ./packages/src/scrollbar-utils.ts
3695
+ const scrollbarUtils = {
3696
+ /**
3697
+ * 计算滚动条滑块的长度
3698
+ */
3699
+ getThumbSize(viewportSize, contentSize, trackSize) {
3700
+ if (contentSize <= viewportSize) {
3701
+ return 0;
3702
+ }
3703
+ const ratio = viewportSize / contentSize;
3704
+ const ideal = trackSize * ratio;
3705
+ return Math.max(20, Math.min(ideal, trackSize));
3706
+ },
3707
+ /**
3708
+ * 计算滚动条滑块的偏移位置
3709
+ */
3710
+ getThumbOffsetSize(offsetSize, viewportSize, contentSize, trackSize, thumbSize) {
3711
+ const maxScroll = contentSize - viewportSize;
3712
+ if (maxScroll <= 0) {
3713
+ return 0;
3714
+ }
3715
+ const maxThumbOffset = trackSize - thumbSize;
3716
+ if (maxThumbOffset <= 0) {
3717
+ return 0;
3718
+ }
3719
+ const clamped = Math.min(Math.max(offsetSize, 0), maxScroll);
3720
+ const ratio = clamped / maxScroll;
3721
+ return ratio * maxThumbOffset;
3722
+ },
3723
+ /**
3724
+ * 根据点击轨道的位置,计算滑块的偏移位置
3725
+ */
3726
+ getScrollFromClick(clickPosition, viewportSize, contentSize, trackSize, thumbSize) {
3727
+ const maxThumbOffset = trackSize - thumbSize;
3728
+ const maxScroll = contentSize - viewportSize;
3729
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
3730
+ return 0;
3731
+ }
3732
+ let thumbOffset = clickPosition - thumbSize / 2;
3733
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset);
3734
+ const scrollOffset = thumbOffset / maxThumbOffset * maxScroll;
3735
+ return scrollOffset;
3736
+ },
3737
+ /**
3738
+ * 拖拽 thumb 时,根据鼠标位置计算滑块的偏移位置
3739
+ */
3740
+ getScrollFromDrag(pointerPosition, dragOffset, viewportSize, contentSize, trackSize, thumbSize) {
3741
+ const maxScroll = contentSize - viewportSize;
3742
+ const maxThumbOffset = trackSize - thumbSize;
3743
+ if (maxScroll <= 0 || maxThumbOffset <= 0) {
3744
+ return 0;
3745
+ }
3746
+ let thumbOffset = pointerPosition - dragOffset;
3747
+ thumbOffset = Math.min(Math.max(thumbOffset, 0), maxThumbOffset);
3748
+ return thumbOffset / maxThumbOffset * maxScroll;
3749
+ }
3750
+ };
3693
3751
  ;// ./packages/src/hooks.ts
3694
3752
 
3695
3753
  const hooks = new store();
@@ -3743,6 +3801,7 @@ const useFns = {
3743
3801
 
3744
3802
 
3745
3803
 
3804
+
3746
3805
 
3747
3806
 
3748
3807
  const installedPlugins = [];
@@ -3815,6 +3874,7 @@ const VxeUI = Object.assign(VxeCore, {
3815
3874
  permission: permission,
3816
3875
  baseUtils: baseUtils,
3817
3876
  domUtils: domUtils,
3877
+ scrollbarUtils: scrollbarUtils,
3818
3878
  globalStore: globalStore,
3819
3879
  hooks: hooks,
3820
3880
  component,
@@ -3846,6 +3906,7 @@ setTheme();
3846
3906
 
3847
3907
 
3848
3908
 
3909
+
3849
3910
 
3850
3911
 
3851
3912
  /* 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(Et,Ot){{var St={9274:function(t){t.exports=Et},8871:function(t){t.exports=Ot},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)}})}},V={};function U(t){var e=V[t];return void 0!==e||(e=V[t]={exports:{}},St[t].call(e.exports,e,e.exports,U)),e.exports}U.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return U.d(e,{a:e}),e},U.d=function(t,e){for(var n in e)U.o(e,n)&&!U.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},U.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),U.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},U.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},U.p="";var W={};U.r(W),U.d(W,{GLOBAL_EVENT_KEYS:function(){return o},VxeCore:function(){return i},VxeUI:function(){return N},baseUtils:function(){return L},checkVersion:function(){return Ht},clipboard:function(){return A},commands:function(){return j},component:function(){return Gt},coreVersion:function(){return t},createEvent:function(){return s},default:function(){return qt},domUtils:function(){return M},formats:function(){return S},getComponent:function(){return Wt},getConfig:function(){return Ct},getI18n:function(){return yt},getIcon:function(){return dt},getLanguage:function(){return Dt},getSlotVNs:function(){return pt},getTheme:function(){return Tt},globalEvents:function(){return l},globalResize:function(){return h},globalStore:function(){return e},handleCheckInfo:function(){return xt},hasComponent:function(){return Bt},hasLanguage:function(){return Ft},hooks:function(){return F},interceptor:function(){return T},log:function(){return y},menus:function(){return O},permission:function(){return R},renderCustomIcon:function(){return ht},renderEmptyElement:function(){return $t},renderGlobalIcon:function(){return Rt},renderer:function(){return x},setConfig:function(){return It},setI18n:function(){return kt},setIcon:function(){return At},setLanguage:function(){return Nt},setTheme:function(){return lt},use:function(){return Ut},useFns:function(){return D},usePermission:function(){return Vt},useSize:function(){return zt},validators:function(){return E}}),"undefined"!=typeof window&&(G=(G=window.document.currentScript)&&G.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(U.p=G[1]),U(4114);let t="4.4.30",i={coreVersion:t,uiVersion:"",tableVersion:"",designVersion:"",ganttVersion:""};var B=U(9274),G=U(8871),$=U.n(G),H=null,q=null,X=null,Y="z-index-manage",K=null,Z="z-index-style",J={m:1e3,s:1e3};function Q(){return H||"undefined"!=typeof document&&(H=document),H}function tt(){return q=H&&!q?H.body||H.getElementsByTagName("body")[0]:q}function et(){var t;K||!(t=Q())||(K=t.getElementById(Z))||((K=t.createElement("style")).id=Z,t.getElementsByTagName("head")[0].appendChild(K)),K&&(K.innerHTML=":root{--dom-main"+(t="-z-index")+":"+ut()+";--dom-sub"+t+":"+ft()+"}")}function nt(){var t,e;return X||(t=Q())&&!(X=t.getElementById(Y))&&(e=tt())&&((X=t.createElement("div")).id=Y,X.style.display="none",e.appendChild(X),ot(J.m),at(J.s)),X}function rt(n){return function(t){var e;return t&&(t=Number(t),J[n]=t,e=nt())&&(e.dataset?e.dataset[n]=t+"":e.setAttribute("data-"+n,t+"")),et(),J[n]}}var ot=rt("m");function it(r,o){return function(t){var e=nt(),n=(n=e&&(e=e.dataset?e.dataset[r]:e.getAttribute("data-"+r))?Number(e):n)||J[r];return t?Number(t)<n?o():t:n}}var ut=it("m",ct);function ct(){return ot(ut()+1)}var at=rt("s"),st=it("s",jt);function ft(){return ut()+st()}function jt(){return at(st()+1),ft()}var G={setCurrent:ot,getCurrent:ut,getNext:ct,setSubCurrent:at,getSubCurrent:ft,getSubNext:jt,getMax:function(){var t=0;if(Q()){var e=tt();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}},Pt=(et(),G);let f={size:"",version:1,zIndex:999,resizeInterval:500},n={theme:""};function lt(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 Tt(){return n.theme}function It(t){return t&&(t.zIndex&&Pt.setCurrent(t.zIndex),t.theme&&lt(t.theme),$().merge(f,t)),i}function Ct(t,e){return arguments.length?$().get(f,t,e):f}let e={},r={};function pt(t){return $().isArray(t)?t:t?[t]:[]}function At(t){return t&&Object.assign(r,t),i}function dt(t){return arguments.length?$().get(r,t):r}function Rt(t){return ht(dt(t),t)}function ht(t,e){return $().isFunction(t)?(0,B.h)("span",{},pt(t({name:e}))):(0,B.h)("i",{class:t})}function vt(t){return(vt="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 Lt(t){t=((t,e)=>{if("object"!=vt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return("string"===e?String:Number)(t);if("object"!=vt(n=n.call(t,e||"default")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string");return"symbol"==vt(t)?t:t+""}function gt(t,e,n){(e=Lt(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=(G=$().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=G.firefox?"DOMMouseScroll":"mousewheel",a=[];function mt(n){let r=n.type===c;a.forEach(({type:t,cb:e})=>{n.cancelBubble||(t===n.type||r&&"mousewheel"===t)&&e(n)})}class wt{constructor(t,e,n){gt(this,"$event",void 0),gt(this,"type",""),gt(this,"key",""),gt(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),$().objectEach(n,(n,r)=>{if($().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 wt&&(t=t.$event),new wt(t,e,n)),l={on(t,e,n){a.push({comp:t,type:e,cb:n})},off(e,n){$().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(G.isDoc&&(G.msie||(window.addEventListener("copy",mt,!1),window.addEventListener("cut",mt,!1),window.addEventListener("paste",mt,!1)),document.addEventListener("scroll",mt,!0),document.addEventListener("keydown",mt,!1),document.addEventListener("contextmenu",mt,!1),window.addEventListener("mousedown",mt,!1),window.addEventListener("click",mt,!1),window.addEventListener("blur",mt,!1),window.addEventListener("resize",mt,!1),window.addEventListener(c,$().throttle(mt,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1})),U(8111),U(7588),U(3579)),d=[],k=500;function Mt(){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))})}),_t())}function _t(){clearTimeout(p),p=setTimeout(Mt,f.resizeInterval||k)}class Xt{constructor(t){gt(this,"tarList",[]),gt(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||_t(),d.some(t=>t===this)||d.push(this))}unobserve(e){$().remove(d,t=>t.tarList.some(t=>t.target===e))}disconnect(){$().remove(d,t=>t===this)}}let h={create(t){return new(window.ResizeObserver||Xt)(t)}},v=(0,B.reactive)({language:"",langMaps:{}}),g=!1,m={};function yt(t,e){var{langMaps:n,language:r}=v,o=f.i18n;return o?""+(o(t,e)||""):(g||(n[r]||console.error(`[vxe core] 语言包未安装。Language not installed. https://${i.uiVersion?"vxeui.com":"vxetable.cn"}/#/start/i18n`),g=!0),!e&&m[t]?m[t]:(o=$().toFormatString($().get(n[r],t,t),e),e||(m[t]=o),o))}function Nt(t){var e=v.language,t=t||"zh-CN";return e!==t&&(v.language=t,m={}),i}function kt(t,e){return v.langMaps[t]=Object.assign({},(t=e)&&t.__esModule?t.default:t),i}function Ft(t){var e=v.langMaps;return!!e[t]}function Dt(){var t=v.language;return t}function bt(n,r){return function(t,e){t=`[vxe ${r||""}] `+yt(t,e);return console[n](t),t}}let y={create:bt,warn:bt("warn","v4.4.30"),err:bt("error","v4.4.30")},b={},x={mixin(t){return $().each(t,(t,e)=>{x.add(e,t)}),x},get(t){return b[t]||null},add(r,t){if(r&&t){let n=b[r];n?($().each(t,(t,e)=>{$().eqNull(n[e])||n[e]===t||y.warn("vxe.error.coverProp",["Renderer."+r,e])}),Object.assign(n,t)):b[r]=t}return x},forEach(t){return $().objectEach(b,t),x},delete(t){return delete b[t],x}},w=(U(4423),class{constructor(){gt(this,"store",{})}mixin(t){return $().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=$().keys(e);return $().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?$().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){$().objectEach(this.store,t)}}),E=new w,O=(Object.assign(E,{_name:"Validators"}),new class{constructor(){gt(this,"store",{})}mixin(t){return $().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];$().isFunction(t)&&(y.warn("vxe.error.delProp",["menus -> callback","menuMethod"]),t={menuMethod:t});let r=$().keys(e);return $().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?$().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){$().objectEach(this.store,t)}}),S=(Object.assign(O,{_name:"Menus"}),new class{constructor(){gt(this,"store",{})}mixin(t){return $().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];$().isFunction(t)&&(y.warn("vxe.error.delProp",["formats -> callback","cellFormatMethod"]),t={cellFormatMethod:t});let r=$().keys(e);return $().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?$().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){$().objectEach(this.store,t)}}),j=(Object.assign(S,{_name:"Formats"}),new class{constructor(){gt(this,"store",{})}mixin(t){return $().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];$().isFunction(t)&&(y.warn("vxe.error.delProp",["commands -> callback","commandMethod"]),t={commandMethod:t});let r=$().keys(e);return $().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?$().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){$().objectEach(this.store,t)}}),P=(Object.assign(j,{_name:"Commands"}),{}),T={mixin(t){return $().each(t,(t,e)=>{T.add(e,t)}),T},get(t){return t&&P[t]||[]},add(e,n){n=(n=$().isFunction(n)?{tableInterceptorMethod:n}:n).tableInterceptorMethod;if(n){let t=P[e];-1<(t=t||(P[e]=[])).indexOf(n)&&y.warn("vxe.error.coverProp",["Interceptor",e]),t.push(n)}return T},delete(t,n){var r=P[t];if(r){let e=(n=$().isFunction(n)?{tableInterceptorMethod:n}:n)?n.tableInterceptorMethod:null;e?$().remove(r,t=>t===e):delete P[t]}}},I,C={text:"",html:""},A={getStore(){return C},setStore(t){Object.assign(C,t||{})},copy(t){let e=!1;try{var n=$().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 xt(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($().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 xt(t)},checkVisible(t){return xt(t).visible},checkDisable(t){return xt(t).disabled}},L={toString(t){return $().eqNull(t)?"":""+t},isEmpty(t){return null==t||""===t},getDefVal(t,e){return $().eqNull(t)?e:t}},M={buildClass(e,t){let n=[];if(e)for(let t=0;t<e.length;t++){var r=e[t];r&&n.push(""+r)}return $().each(t,(t,e)=>{t&&n.push(e)}),n.join(" ")}},F=new w;function zt(t){let e=(0,B.inject)("xeSizeInfo",null);var n=(0,B.computed)(()=>t.size||(e?e.value:null));return(0,B.provide)("xeSizeInfo",n),{computeSize:n}}function Vt(t){return{computePermissionInfo:(0,B.computed)(()=>xt(t.permissionCode,t.permissionMethod))}}let D={useSize:zt,usePermission:Vt},z=[];function Ut(t,e){return t&&t.install&&-1===z.indexOf(t)&&(t.install(N,e),z.push(t)),N}let _={};function Wt(t){return _[t]||null}function Bt(t){return!!_[t]}function Gt(t){t&&t.name&&(_[t.name]=t,_[$().kebabCase(t.name)]=t)}function $t(){return(0,B.createCommentVNode)()}function Ht(t,e,n){if(t){var r,t=(""+t).match(/(\d+).(\d+).(\d+)/);if(t)return r=$().toNumber(t[1]),n?(t=$().toNumber(t[2]),e<=r&&n<=t):e<=r}return!1}let N=Object.assign(i,{renderEmptyElement:$t,setTheme:lt,getTheme:Tt,setConfig:It,getConfig:Ct,setIcon:At,getIcon:dt,renderGlobalIcon:Rt,renderCustomIcon:ht,setLanguage:Nt,hasLanguage:Ft,getLanguage:Dt,setI18n:kt,getI18n:yt,globalEvents:l,GLOBAL_EVENT_KEYS:o,createEvent:s,globalResize:h,renderer:x,validators:E,menus:O,formats:S,commands:j,interceptor:T,clipboard:A,log:y,permission:R,baseUtils:L,domUtils:M,globalStore:e,hooks:F,component:Gt,getComponent:Wt,hasComponent:Bt,useFns:D,getSlotVNs:pt,checkVersion:Ht,use:Ut});lt();var qt=N;return W}});
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(Ot,St){{var jt={9274:function(t){t.exports=Ot},8871:function(t){t.exports=St},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)}})}},U={};function W(t){var e=U[t];return void 0!==e||(e=U[t]={exports:{}},jt[t].call(e.exports,e,e.exports,W)),e.exports}W.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return W.d(e,{a:e}),e},W.d=function(t,e){for(var n in e)W.o(e,n)&&!W.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},W.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),W.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},W.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},W.p="";var B={};W.r(B),W.d(B,{GLOBAL_EVENT_KEYS:function(){return o},VxeCore:function(){return i},VxeUI:function(){return k},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 At},getI18n:function(){return bt},getIcon:function(){return ht},getLanguage:function(){return Dt},getSlotVNs:function(){return dt},getTheme:function(){return It},globalEvents:function(){return l},globalResize:function(){return h},globalStore:function(){return e},handleCheckInfo:function(){return wt},hasComponent:function(){return Gt},hasLanguage:function(){return zt},hooks:function(){return z},interceptor:function(){return T},log:function(){return y},menus:function(){return O},permission:function(){return R},renderCustomIcon:function(){return vt},renderEmptyElement:function(){return Ht},renderGlobalIcon:function(){return Mt},renderer:function(){return x},scrollbarUtils:function(){return F},setConfig:function(){return Ct},setI18n:function(){return Ft},setIcon:function(){return Rt},setLanguage:function(){return Nt},setTheme:function(){return pt},use:function(){return Wt},useFns:function(){return D},usePermission:function(){return Ut},useSize:function(){return Vt},validators:function(){return E}}),"undefined"!=typeof window&&($=($=window.document.currentScript)&&$.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(W.p=$[1]),W(4114);let t="4.4.31",i={coreVersion:t,uiVersion:"",tableVersion:"",designVersion:"",ganttVersion:""};var G=W(9274),$=W(8871),H=W.n($),q=null,X=null,Y=null,K="z-index-manage",Z=null,J="z-index-style",Q={m:1e3,s:1e3};function tt(){return q||"undefined"!=typeof document&&(q=document),q}function et(){return X=q&&!X?q.body||q.getElementsByTagName("body")[0]:X}function nt(){var t;Z||!(t=tt())||(Z=t.getElementById(J))||((Z=t.createElement("style")).id=J,t.getElementsByTagName("head")[0].appendChild(Z)),Z&&(Z.innerHTML=":root{--dom-main"+(t="-z-index")+":"+ct()+";--dom-sub"+t+":"+lt()+"}")}function rt(){var t,e;return Y||(t=tt())&&!(Y=t.getElementById(K))&&(e=et())&&((Y=t.createElement("div")).id=K,Y.style.display="none",e.appendChild(Y),it(Q.m),st(Q.s)),Y}function ot(n){return function(t){var e;return t&&(t=Number(t),Q[n]=t,e=rt())&&(e.dataset?e.dataset[n]=t+"":e.setAttribute("data-"+n,t+"")),nt(),Q[n]}}var it=ot("m");function ut(r,o){return function(t){var e=rt(),n=(n=e&&(e=e.dataset?e.dataset[r]:e.getAttribute("data-"+r))?Number(e):n)||Q[r];return t?Number(t)<n?o():t:n}}var ct=ut("m",at);function at(){return it(ct()+1)}var st=ot("s"),ft=ut("s",Pt);function lt(){return ct()+ft()}function Pt(){return st(ft()+1),lt()}var $={setCurrent:it,getCurrent:ct,getNext:at,setSubCurrent:st,getSubCurrent:lt,getSubNext:Pt,getMax:function(){var t=0;if(tt()){var e=et();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}},Tt=(nt(),$);let f={size:"",version:1,zIndex:999,resizeInterval:500},n={theme:""};function pt(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 It(){return n.theme}function Ct(t){return t&&(t.zIndex&&Tt.setCurrent(t.zIndex),t.theme&&pt(t.theme),H().merge(f,t)),i}function At(t,e){return arguments.length?H().get(f,t,e):f}let e={},r={};function dt(t){return H().isArray(t)?t:t?[t]:[]}function Rt(t){return t&&Object.assign(r,t),i}function ht(t){return arguments.length?H().get(r,t):r}function Mt(t){return vt(ht(t),t)}function vt(t,e){return H().isFunction(t)?(0,G.h)("span",{},dt(t({name:e}))):(0,G.h)("i",{class:t})}function gt(t){return(gt="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 Lt(t){t=((t,e)=>{if("object"!=gt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return("string"===e?String:Number)(t);if("object"!=gt(n=n.call(t,e||"default")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string");return"symbol"==gt(t)?t:t+""}function mt(t,e,n){(e=Lt(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=($=H().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=$.firefox?"DOMMouseScroll":"mousewheel",a=[];function yt(n){let r=n.type===c;a.forEach(({type:t,cb:e})=>{n.cancelBubble||(t===n.type||r&&"mousewheel"===t)&&e(n)})}class Et{constructor(t,e,n){mt(this,"$event",void 0),mt(this,"type",""),mt(this,"key",""),mt(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),H().objectEach(n,(n,r)=>{if(H().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 Et&&(t=t.$event),new Et(t,e,n)),l={on(t,e,n){a.push({comp:t,type:e,cb:n})},off(e,n){H().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($.isDoc&&($.msie||(window.addEventListener("copy",yt,!1),window.addEventListener("cut",yt,!1),window.addEventListener("paste",yt,!1)),document.addEventListener("scroll",yt,!0),document.addEventListener("keydown",yt,!1),document.addEventListener("contextmenu",yt,!1),window.addEventListener("mousedown",yt,!1),window.addEventListener("click",yt,!1),window.addEventListener("blur",yt,!1),window.addEventListener("resize",yt,!1),window.addEventListener(c,H().throttle(yt,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1})),W(8111),W(7588),W(3579)),d=[],N=500;function _t(){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))})}),kt())}function kt(){clearTimeout(p),p=setTimeout(_t,f.resizeInterval||N)}class Yt{constructor(t){mt(this,"tarList",[]),mt(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||kt(),d.some(t=>t===this)||d.push(this))}unobserve(e){H().remove(d,t=>t.tarList.some(t=>t.target===e))}disconnect(){H().remove(d,t=>t===this)}}let h={create(t){return new(window.ResizeObserver||Yt)(t)}},v=(0,G.reactive)({language:"",langMaps:{}}),g=!1,m={};function bt(t,e){var{langMaps:n,language:r}=v,o=f.i18n;return o?""+(o(t,e)||""):(g||(n[r]||console.error(`[vxe core] 语言包未安装。Language not installed. https://${i.uiVersion?"vxeui.com":"vxetable.cn"}/#/start/i18n`),g=!0),!e&&m[t]?m[t]:(o=H().toFormatString(H().get(n[r],t,t),e),e||(m[t]=o),o))}function Nt(t){var e=v.language,t=t||"zh-CN";return e!==t&&(v.language=t,m={}),i}function Ft(t,e){return v.langMaps[t]=Object.assign({},(t=e)&&t.__esModule?t.default:t),i}function zt(t){var e=v.langMaps;return!!e[t]}function Dt(){var t=v.language;return t}function xt(n,r){return function(t,e){t=`[vxe ${r||""}] `+bt(t,e);return console[n](t),t}}let y={create:xt,warn:xt("warn","v4.4.31"),err:xt("error","v4.4.31")},b={},x={mixin(t){return H().each(t,(t,e)=>{x.add(e,t)}),x},get(t){return b[t]||null},add(r,t){if(r&&t){let n=b[r];n?(H().each(t,(t,e)=>{H().eqNull(n[e])||n[e]===t||y.warn("vxe.error.coverProp",["Renderer."+r,e])}),Object.assign(n,t)):b[r]=t}return x},forEach(t){return H().objectEach(b,t),x},delete(t){return delete b[t],x}},w=(W(4423),class{constructor(){mt(this,"store",{})}mixin(t){return H().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=H().keys(e);return H().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?H().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){H().objectEach(this.store,t)}}),E=new w,O=(Object.assign(E,{_name:"Validators"}),new class{constructor(){mt(this,"store",{})}mixin(t){return H().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];H().isFunction(t)&&(y.warn("vxe.error.delProp",["menus -> callback","menuMethod"]),t={menuMethod:t});let r=H().keys(e);return H().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?H().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){H().objectEach(this.store,t)}}),S=(Object.assign(O,{_name:"Menus"}),new class{constructor(){mt(this,"store",{})}mixin(t){return H().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];H().isFunction(t)&&(y.warn("vxe.error.delProp",["formats -> callback","cellFormatMethod"]),t={cellFormatMethod:t});let r=H().keys(e);return H().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?H().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){H().objectEach(this.store,t)}}),j=(Object.assign(S,{_name:"Formats"}),new class{constructor(){mt(this,"store",{})}mixin(t){return H().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];H().isFunction(t)&&(y.warn("vxe.error.delProp",["commands -> callback","commandMethod"]),t={commandMethod:t});let r=H().keys(e);return H().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?H().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){H().objectEach(this.store,t)}}),P=(Object.assign(j,{_name:"Commands"}),{}),T={mixin(t){return H().each(t,(t,e)=>{T.add(e,t)}),T},get(t){return t&&P[t]||[]},add(e,n){n=(n=H().isFunction(n)?{tableInterceptorMethod:n}:n).tableInterceptorMethod;if(n){let t=P[e];-1<(t=t||(P[e]=[])).indexOf(n)&&y.warn("vxe.error.coverProp",["Interceptor",e]),t.push(n)}return T},delete(t,n){var r=P[t];if(r){let e=(n=H().isFunction(n)?{tableInterceptorMethod:n}:n)?n.tableInterceptorMethod:null;e?H().remove(r,t=>t===e):delete P[t]}}},I,C={text:"",html:""},A={getStore(){return C},setStore(t){Object.assign(C,t||{})},copy(t){let e=!1;try{var n=H().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 wt(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(H().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 wt(t)},checkVisible(t){return wt(t).visible},checkDisable(t){return wt(t).disabled}},M={toString(t){return H().eqNull(t)?"":""+t},isEmpty(t){return null==t||""===t},getDefVal(t,e){return H().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 H().each(t,(t,e)=>{t&&n.push(e)}),n.join(" ")}},F={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)}},z=new w;function Vt(t){let e=(0,G.inject)("xeSizeInfo",null);var n=(0,G.computed)(()=>t.size||(e?e.value:null));return(0,G.provide)("xeSizeInfo",n),{computeSize:n}}function Ut(t){return{computePermissionInfo:(0,G.computed)(()=>wt(t.permissionCode,t.permissionMethod))}}let D={useSize:Vt,usePermission:Ut},V=[];function Wt(t,e){return t&&t.install&&-1===V.indexOf(t)&&(t.install(k,e),V.push(t)),k}let _={};function Bt(t){return _[t]||null}function Gt(t){return!!_[t]}function $t(t){t&&t.name&&(_[t.name]=t,_[H().kebabCase(t.name)]=t)}function Ht(){return(0,G.createCommentVNode)()}function qt(t,e,n){if(t){var r,t=(""+t).match(/(\d+).(\d+).(\d+)/);if(t)return r=H().toNumber(t[1]),n?(t=H().toNumber(t[2]),e<=r&&n<=t):e<=r}return!1}let k=Object.assign(i,{renderEmptyElement:Ht,setTheme:pt,getTheme:It,setConfig:Ct,getConfig:At,setIcon:Rt,getIcon:ht,renderGlobalIcon:Mt,renderCustomIcon:vt,setLanguage:Nt,hasLanguage:zt,getLanguage:Dt,setI18n:Ft,getI18n:bt,globalEvents:l,GLOBAL_EVENT_KEYS:o,createEvent:s,globalResize:h,renderer:x,validators:E,menus:O,formats:S,commands:j,interceptor:T,clipboard:A,log:y,permission:R,baseUtils:M,domUtils:L,scrollbarUtils:F,globalStore:e,hooks:z,component:$t,getComponent:Bt,hasComponent:Gt,useFns:D,getSlotVNs:dt,checkVersion:qt,use:Wt});pt();var Xt=k;return B}});
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 = "4.4.30";
7
+ const coreVersion = exports.coreVersion = "4.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="4.4.30",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="4.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 = "4.4.30";
15
+ const version = "4.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="4.4.30",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="4.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": "4.4.30",
3
+ "version": "4.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 { hooks } from './src/hooks'
22
23
  import { useFns } from './src/useFns'
@@ -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
 
@@ -146,6 +148,7 @@ export * from './src/permission'
146
148
 
147
149
  export * from './src/base-utils'
148
150
  export * from './src/dom-utils'
151
+ export * from './src/scrollbar-utils'
149
152
 
150
153
  export * from './src/dataStore'
151
154
 
@@ -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
+ }
@@ -16,6 +16,7 @@ import { VxeGlobalClipboard } from './clipboard'
16
16
  import { VxeGlobalPermission } from './permission'
17
17
  import { VxeBaseUtils } from './base-utils'
18
18
  import { VxeDomUtils } from './dom-utils'
19
+ import { VxeScrollbarUtils } from './scrollbar-utils'
19
20
  import { VxeGlobalComponentMethod, VxeGlobalGetComponentMethod, VxeGlobalHasComponentMethod } from './components'
20
21
  import { VxeGlobalUseFns } from './useFn'
21
22
  import { VxeGlobalHooks } from './hooks'
@@ -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
 
@@ -217,6 +219,10 @@ export interface VxeUIExport {
217
219
  * Document 工具函数
218
220
  */
219
221
  domUtils: VxeDomUtils
222
+ /**
223
+ * 滚动条工具函数
224
+ */
225
+ scrollbarUtils: VxeScrollbarUtils
220
226
 
221
227
  /**
222
228
  * 全局事件管理
@@ -302,6 +308,7 @@ export * from './permission'
302
308
 
303
309
  export * from './base-utils'
304
310
  export * from './dom-utils'
311
+ export * from './scrollbar-utils'
305
312
 
306
313
  export * from './log'
307
314
 
@@ -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
+ }