@vxe-ui/core 3.4.42 → 3.5.1

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.
Files changed (161) hide show
  1. package/es/index.d.ts +124 -0
  2. package/es/index.esm.js +135 -122
  3. package/es/index.js +147 -0
  4. package/es/src/base-utils.d.ts +2 -0
  5. package/es/src/base-utils.js +40 -37
  6. package/es/src/clipboard.d.ts +2 -0
  7. package/es/src/clipboard.js +48 -45
  8. package/es/src/commands.d.ts +2 -0
  9. package/es/src/commands.js +47 -48
  10. package/es/src/config.d.ts +13 -0
  11. package/es/src/config.js +21 -23
  12. package/es/src/configStore.d.ts +2 -0
  13. package/es/src/configStore.js +8 -5
  14. package/es/src/core.d.ts +3 -0
  15. package/es/src/core.js +11 -7
  16. package/es/src/dataStore.d.ts +2 -0
  17. package/es/src/dataStore.js +4 -1
  18. package/es/src/db-utils.d.ts +2 -0
  19. package/es/src/db-utils.js +234 -0
  20. package/es/src/dom-utils.d.ts +2 -0
  21. package/es/src/dom-utils.js +65 -68
  22. package/es/src/event.d.ts +4 -0
  23. package/es/src/event.js +133 -147
  24. package/es/src/formats.d.ts +2 -0
  25. package/es/src/formats.js +47 -48
  26. package/es/src/i18n.d.ts +6 -0
  27. package/es/src/i18n.js +54 -47
  28. package/es/src/i18nStore.d.ts +5 -0
  29. package/es/src/i18nStore.js +11 -8
  30. package/es/src/icon.d.ts +6 -0
  31. package/es/src/icon.js +27 -21
  32. package/es/src/iconStore.d.ts +2 -0
  33. package/es/src/iconStore.js +4 -1
  34. package/es/src/interceptor.d.ts +2 -0
  35. package/es/src/interceptor.js +52 -54
  36. package/es/src/log.d.ts +2 -0
  37. package/es/src/log.js +14 -11
  38. package/es/src/menus.d.ts +2 -0
  39. package/es/src/menus.js +47 -48
  40. package/es/src/mixins.d.ts +36 -0
  41. package/es/src/mixins.js +229 -236
  42. package/es/src/permission.d.ts +3 -0
  43. package/es/src/permission.js +57 -55
  44. package/es/src/popper-utils.d.ts +2 -0
  45. package/es/src/popper-utils.js +159 -179
  46. package/es/src/renderer.d.ts +5 -0
  47. package/es/src/renderer.js +37 -42
  48. package/es/src/resize.d.ts +2 -0
  49. package/es/src/resize.js +60 -70
  50. package/es/src/scrollbar-utils.d.ts +2 -0
  51. package/es/src/scrollbar-utils.js +57 -54
  52. package/es/src/store.d.ts +13 -0
  53. package/es/src/store.js +43 -45
  54. package/es/src/theme.d.ts +3 -0
  55. package/es/src/theme.js +17 -13
  56. package/es/src/themeStore.d.ts +4 -0
  57. package/es/src/themeStore.js +5 -2
  58. package/es/src/validators.d.ts +2 -0
  59. package/es/src/validators.js +6 -3
  60. package/es/src/vm.d.ts +2 -0
  61. package/es/src/vm.js +9 -6
  62. package/es/src/z-index.d.ts +2 -0
  63. package/es/src/z-index.js +29 -26
  64. package/lib/index.common.js +132 -353
  65. package/lib/index.js +178 -0
  66. package/lib/index.umd.js +790 -3303
  67. package/lib/index.umd.min.js +1 -1
  68. package/lib/src/base-utils.js +39 -13
  69. package/lib/src/clipboard.js +50 -23
  70. package/lib/src/commands.js +46 -27
  71. package/lib/src/config.js +43 -23
  72. package/lib/src/configStore.js +24 -7
  73. package/lib/src/core.js +29 -11
  74. package/lib/src/dataStore.js +22 -5
  75. package/lib/src/db-utils.js +263 -0
  76. package/lib/src/dom-utils.js +40 -20
  77. package/lib/src/event.js +95 -102
  78. package/lib/src/formats.js +46 -27
  79. package/lib/src/i18n.js +54 -41
  80. package/lib/src/i18nStore.js +35 -9
  81. package/lib/src/icon.js +45 -21
  82. package/lib/src/iconStore.js +22 -5
  83. package/lib/src/interceptor.js +40 -18
  84. package/lib/src/log.js +29 -12
  85. package/lib/src/menus.js +46 -27
  86. package/lib/src/mixins.js +67 -83
  87. package/lib/src/permission.js +40 -17
  88. package/lib/src/popper-utils.js +71 -71
  89. package/lib/src/renderer.js +40 -21
  90. package/lib/src/resize.js +48 -42
  91. package/lib/src/scrollbar-utils.js +23 -6
  92. package/lib/src/store.js +44 -25
  93. package/lib/src/theme.js +31 -14
  94. package/lib/src/themeStore.js +24 -7
  95. package/lib/src/validators.js +34 -10
  96. package/lib/src/vm.js +34 -8
  97. package/lib/src/z-index.js +38 -12
  98. package/package.json +17 -3
  99. package/packages/index.ts +169 -166
  100. package/packages/src/base-utils.ts +42 -43
  101. package/packages/src/clipboard.ts +56 -56
  102. package/packages/src/commands.ts +56 -56
  103. package/packages/src/config.ts +30 -30
  104. package/packages/src/configStore.ts +8 -8
  105. package/packages/src/core.ts +11 -11
  106. package/packages/src/dataStore.ts +3 -4
  107. package/packages/src/db-utils.ts +267 -0
  108. package/packages/src/dom-utils.ts +86 -87
  109. package/packages/src/event.ts +161 -161
  110. package/packages/src/formats.ts +56 -56
  111. package/packages/src/i18n.ts +66 -66
  112. package/packages/src/i18nStore.ts +16 -16
  113. package/packages/src/icon.ts +32 -32
  114. package/packages/src/iconStore.ts +3 -3
  115. package/packages/src/interceptor.ts +64 -64
  116. package/packages/src/log.ts +19 -19
  117. package/packages/src/menus.ts +56 -56
  118. package/packages/src/mixins.ts +284 -292
  119. package/packages/src/permission.ts +61 -61
  120. package/packages/src/popper-utils.ts +197 -194
  121. package/packages/src/renderer.ts +50 -50
  122. package/packages/src/resize.ts +89 -89
  123. package/packages/src/scrollbar-utils.ts +58 -58
  124. package/packages/src/store.ts +47 -47
  125. package/packages/src/theme.ts +20 -20
  126. package/packages/src/themeStore.ts +7 -7
  127. package/packages/src/validators.ts +7 -7
  128. package/packages/src/vm.ts +10 -10
  129. package/packages/src/z-index.ts +30 -30
  130. package/types/core/db-utils.d.ts +44 -0
  131. package/types/core/global-config.d.ts +4 -6
  132. package/types/core/index.d.ts +7 -0
  133. package/lib/src/base-utils.min.js +0 -1
  134. package/lib/src/clipboard.min.js +0 -1
  135. package/lib/src/commands.min.js +0 -1
  136. package/lib/src/config.min.js +0 -1
  137. package/lib/src/configStore.min.js +0 -1
  138. package/lib/src/core.min.js +0 -1
  139. package/lib/src/dataStore.min.js +0 -1
  140. package/lib/src/dom-utils.min.js +0 -1
  141. package/lib/src/event.min.js +0 -1
  142. package/lib/src/formats.min.js +0 -1
  143. package/lib/src/i18n.min.js +0 -1
  144. package/lib/src/i18nStore.min.js +0 -1
  145. package/lib/src/icon.min.js +0 -1
  146. package/lib/src/iconStore.min.js +0 -1
  147. package/lib/src/interceptor.min.js +0 -1
  148. package/lib/src/log.min.js +0 -1
  149. package/lib/src/menus.min.js +0 -1
  150. package/lib/src/mixins.min.js +0 -1
  151. package/lib/src/permission.min.js +0 -1
  152. package/lib/src/popper-utils.min.js +0 -1
  153. package/lib/src/renderer.min.js +0 -1
  154. package/lib/src/resize.min.js +0 -1
  155. package/lib/src/scrollbar-utils.min.js +0 -1
  156. package/lib/src/store.min.js +0 -1
  157. package/lib/src/theme.min.js +0 -1
  158. package/lib/src/themeStore.min.js +0 -1
  159. package/lib/src/validators.min.js +0 -1
  160. package/lib/src/vm.min.js +0 -1
  161. package/lib/src/z-index.min.js +0 -1
package/lib/index.umd.js CHANGED
@@ -1,2606 +1,144 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("vue"), require("xe-utils"));
4
- else if(typeof define === 'function' && define.amd)
5
- define([, "xe-utils"], factory);
6
- else if(typeof exports === 'object')
7
- exports["VxeUI"] = factory(require("vue"), require("xe-utils"));
8
- else
9
- root["VxeUI"] = factory(root["Vue"], root["XEUtils"]);
10
- })((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__9274__, __WEBPACK_EXTERNAL_MODULE__8871__) {
11
- return /******/ (function() { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ var __webpack_modules__ = ({
14
1
 
15
- /***/ 9274:
16
- /***/ (function(module) {
17
-
18
- module.exports = __WEBPACK_EXTERNAL_MODULE__9274__;
19
-
20
- /***/ }),
21
-
22
- /***/ 8871:
23
- /***/ (function(module) {
24
-
25
- module.exports = __WEBPACK_EXTERNAL_MODULE__8871__;
26
-
27
- /***/ }),
28
-
29
- /***/ 9306:
30
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
31
-
32
-
33
- var isCallable = __webpack_require__(4901);
34
- var tryToString = __webpack_require__(6823);
35
-
36
- var $TypeError = TypeError;
37
-
38
- // `Assert: IsCallable(argument) is true`
39
- module.exports = function (argument) {
40
- if (isCallable(argument)) return argument;
41
- throw new $TypeError(tryToString(argument) + ' is not a function');
42
- };
43
-
44
-
45
- /***/ }),
46
-
47
- /***/ 6469:
48
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
49
-
50
-
51
- var wellKnownSymbol = __webpack_require__(8227);
52
- var create = __webpack_require__(2360);
53
- var defineProperty = (__webpack_require__(4913).f);
54
-
55
- var UNSCOPABLES = wellKnownSymbol('unscopables');
56
- var ArrayPrototype = Array.prototype;
57
-
58
- // Array.prototype[@@unscopables]
59
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
60
- if (ArrayPrototype[UNSCOPABLES] === undefined) {
61
- defineProperty(ArrayPrototype, UNSCOPABLES, {
62
- configurable: true,
63
- value: create(null)
64
- });
65
- }
66
-
67
- // add a key to Array.prototype[@@unscopables]
68
- module.exports = function (key) {
69
- ArrayPrototype[UNSCOPABLES][key] = true;
70
- };
71
-
72
-
73
- /***/ }),
74
-
75
- /***/ 679:
76
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
77
-
78
-
79
- var isPrototypeOf = __webpack_require__(1625);
80
-
81
- var $TypeError = TypeError;
82
-
83
- module.exports = function (it, Prototype) {
84
- if (isPrototypeOf(Prototype, it)) return it;
85
- throw new $TypeError('Incorrect invocation');
86
- };
87
-
88
-
89
- /***/ }),
90
-
91
- /***/ 8551:
92
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
93
-
94
-
95
- var isObject = __webpack_require__(34);
96
-
97
- var $String = String;
98
- var $TypeError = TypeError;
99
-
100
- // `Assert: Type(argument) is Object`
101
- module.exports = function (argument) {
102
- if (isObject(argument)) return argument;
103
- throw new $TypeError($String(argument) + ' is not an object');
104
- };
105
-
106
-
107
- /***/ }),
108
-
109
- /***/ 9617:
110
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
111
-
112
-
113
- var toIndexedObject = __webpack_require__(5397);
114
- var toAbsoluteIndex = __webpack_require__(5610);
115
- var lengthOfArrayLike = __webpack_require__(6198);
116
-
117
- // `Array.prototype.{ indexOf, includes }` methods implementation
118
- var createMethod = function (IS_INCLUDES) {
119
- return function ($this, el, fromIndex) {
120
- var O = toIndexedObject($this);
121
- var length = lengthOfArrayLike(O);
122
- if (length === 0) return !IS_INCLUDES && -1;
123
- var index = toAbsoluteIndex(fromIndex, length);
124
- var value;
125
- // Array#includes uses SameValueZero equality algorithm
126
- // eslint-disable-next-line no-self-compare -- NaN check
127
- if (IS_INCLUDES && el !== el) while (length > index) {
128
- value = O[index++];
129
- // eslint-disable-next-line no-self-compare -- NaN check
130
- if (value !== value) return true;
131
- // Array#indexOf ignores holes, Array#includes - not
132
- } else for (;length > index; index++) {
133
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
134
- } return !IS_INCLUDES && -1;
135
- };
136
- };
137
-
138
- module.exports = {
139
- // `Array.prototype.includes` method
140
- // https://tc39.es/ecma262/#sec-array.prototype.includes
141
- includes: createMethod(true),
142
- // `Array.prototype.indexOf` method
143
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
144
- indexOf: createMethod(false)
145
- };
146
-
147
-
148
- /***/ }),
149
-
150
- /***/ 4527:
151
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
152
-
153
-
154
- var DESCRIPTORS = __webpack_require__(3724);
155
- var isArray = __webpack_require__(4376);
156
-
157
- var $TypeError = TypeError;
158
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
159
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
160
-
161
- // Safari < 13 does not throw an error in this case
162
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
163
- // makes no sense without proper strict mode support
164
- if (this !== undefined) return true;
165
- try {
166
- // eslint-disable-next-line es/no-object-defineproperty -- safe
167
- Object.defineProperty([], 'length', { writable: false }).length = 1;
168
- } catch (error) {
169
- return error instanceof TypeError;
170
- }
171
- }();
172
-
173
- module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
174
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
175
- throw new $TypeError('Cannot set read only .length');
176
- } return O.length = length;
177
- } : function (O, length) {
178
- return O.length = length;
179
- };
180
-
181
-
182
- /***/ }),
183
-
184
- /***/ 2195:
185
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
186
-
187
-
188
- var uncurryThis = __webpack_require__(9504);
189
-
190
- var toString = uncurryThis({}.toString);
191
- var stringSlice = uncurryThis(''.slice);
192
-
193
- module.exports = function (it) {
194
- return stringSlice(toString(it), 8, -1);
195
- };
196
-
197
-
198
- /***/ }),
199
-
200
- /***/ 6955:
201
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
202
-
203
-
204
- var TO_STRING_TAG_SUPPORT = __webpack_require__(2140);
205
- var isCallable = __webpack_require__(4901);
206
- var classofRaw = __webpack_require__(2195);
207
- var wellKnownSymbol = __webpack_require__(8227);
208
-
209
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
210
- var $Object = Object;
211
-
212
- // ES3 wrong here
213
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
214
-
215
- // fallback for IE11 Script Access Denied error
216
- var tryGet = function (it, key) {
217
- try {
218
- return it[key];
219
- } catch (error) { /* empty */ }
220
- };
221
-
222
- // getting tag from ES6+ `Object.prototype.toString`
223
- module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
224
- var O, tag, result;
225
- return it === undefined ? 'Undefined' : it === null ? 'Null'
226
- // @@toStringTag case
227
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
228
- // builtinTag case
229
- : CORRECT_ARGUMENTS ? classofRaw(O)
230
- // ES3 arguments fallback
231
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
232
- };
233
-
234
-
235
- /***/ }),
236
-
237
- /***/ 7740:
238
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
239
-
240
-
241
- var hasOwn = __webpack_require__(9297);
242
- var ownKeys = __webpack_require__(5031);
243
- var getOwnPropertyDescriptorModule = __webpack_require__(7347);
244
- var definePropertyModule = __webpack_require__(4913);
245
-
246
- module.exports = function (target, source, exceptions) {
247
- var keys = ownKeys(source);
248
- var defineProperty = definePropertyModule.f;
249
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
250
- for (var i = 0; i < keys.length; i++) {
251
- var key = keys[i];
252
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
253
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
254
- }
255
- }
256
- };
257
-
258
-
259
- /***/ }),
260
-
261
- /***/ 2211:
262
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
263
-
264
-
265
- var fails = __webpack_require__(9039);
266
-
267
- module.exports = !fails(function () {
268
- function F() { /* empty */ }
269
- F.prototype.constructor = null;
270
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
271
- return Object.getPrototypeOf(new F()) !== F.prototype;
272
- });
273
-
274
-
275
- /***/ }),
276
-
277
- /***/ 6699:
278
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
279
-
280
-
281
- var DESCRIPTORS = __webpack_require__(3724);
282
- var definePropertyModule = __webpack_require__(4913);
283
- var createPropertyDescriptor = __webpack_require__(6980);
284
-
285
- module.exports = DESCRIPTORS ? function (object, key, value) {
286
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
287
- } : function (object, key, value) {
288
- object[key] = value;
289
- return object;
290
- };
291
-
292
-
293
- /***/ }),
294
-
295
- /***/ 6980:
296
- /***/ (function(module) {
297
-
298
-
299
- module.exports = function (bitmap, value) {
300
- return {
301
- enumerable: !(bitmap & 1),
302
- configurable: !(bitmap & 2),
303
- writable: !(bitmap & 4),
304
- value: value
305
- };
306
- };
307
-
308
-
309
- /***/ }),
310
-
311
- /***/ 4659:
312
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
313
-
314
-
315
- var DESCRIPTORS = __webpack_require__(3724);
316
- var definePropertyModule = __webpack_require__(4913);
317
- var createPropertyDescriptor = __webpack_require__(6980);
318
-
319
- module.exports = function (object, key, value) {
320
- if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
321
- else object[key] = value;
322
- };
323
-
324
-
325
- /***/ }),
326
-
327
- /***/ 2106:
328
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
329
-
330
-
331
- var makeBuiltIn = __webpack_require__(283);
332
- var defineProperty = __webpack_require__(4913);
333
-
334
- module.exports = function (target, name, descriptor) {
335
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
336
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
337
- return defineProperty.f(target, name, descriptor);
338
- };
339
-
340
-
341
- /***/ }),
342
-
343
- /***/ 6840:
344
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
345
-
346
-
347
- var isCallable = __webpack_require__(4901);
348
- var definePropertyModule = __webpack_require__(4913);
349
- var makeBuiltIn = __webpack_require__(283);
350
- var defineGlobalProperty = __webpack_require__(9433);
351
-
352
- module.exports = function (O, key, value, options) {
353
- if (!options) options = {};
354
- var simple = options.enumerable;
355
- var name = options.name !== undefined ? options.name : key;
356
- if (isCallable(value)) makeBuiltIn(value, name, options);
357
- if (options.global) {
358
- if (simple) O[key] = value;
359
- else defineGlobalProperty(key, value);
360
- } else {
361
- try {
362
- if (!options.unsafe) delete O[key];
363
- else if (O[key]) simple = true;
364
- } catch (error) { /* empty */ }
365
- if (simple) O[key] = value;
366
- else definePropertyModule.f(O, key, {
367
- value: value,
368
- enumerable: false,
369
- configurable: !options.nonConfigurable,
370
- writable: !options.nonWritable
371
- });
372
- } return O;
373
- };
374
-
375
-
376
- /***/ }),
377
-
378
- /***/ 9433:
379
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
380
-
381
-
382
- var globalThis = __webpack_require__(4576);
383
-
384
- // eslint-disable-next-line es/no-object-defineproperty -- safe
385
- var defineProperty = Object.defineProperty;
386
-
387
- module.exports = function (key, value) {
388
- try {
389
- defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
390
- } catch (error) {
391
- globalThis[key] = value;
392
- } return value;
393
- };
394
-
395
-
396
- /***/ }),
397
-
398
- /***/ 3724:
399
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
400
-
401
-
402
- var fails = __webpack_require__(9039);
403
-
404
- // Detect IE8's incomplete defineProperty implementation
405
- module.exports = !fails(function () {
406
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
407
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
408
- });
409
-
410
-
411
- /***/ }),
412
-
413
- /***/ 4055:
414
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
415
-
416
-
417
- var globalThis = __webpack_require__(4576);
418
- var isObject = __webpack_require__(34);
419
-
420
- var document = globalThis.document;
421
- // typeof document.createElement is 'object' in old IE
422
- var EXISTS = isObject(document) && isObject(document.createElement);
423
-
424
- module.exports = function (it) {
425
- return EXISTS ? document.createElement(it) : {};
426
- };
427
-
428
-
429
- /***/ }),
430
-
431
- /***/ 6837:
432
- /***/ (function(module) {
433
-
434
-
435
- var $TypeError = TypeError;
436
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
437
-
438
- module.exports = function (it) {
439
- if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
440
- return it;
441
- };
442
-
443
-
444
- /***/ }),
445
-
446
- /***/ 8727:
447
- /***/ (function(module) {
448
-
449
-
450
- // IE8- don't enum bug keys
451
- module.exports = [
452
- 'constructor',
453
- 'hasOwnProperty',
454
- 'isPrototypeOf',
455
- 'propertyIsEnumerable',
456
- 'toLocaleString',
457
- 'toString',
458
- 'valueOf'
459
- ];
460
-
461
-
462
- /***/ }),
463
-
464
- /***/ 2839:
465
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
466
-
467
-
468
- var globalThis = __webpack_require__(4576);
469
-
470
- var navigator = globalThis.navigator;
471
- var userAgent = navigator && navigator.userAgent;
472
-
473
- module.exports = userAgent ? String(userAgent) : '';
474
-
475
-
476
- /***/ }),
477
-
478
- /***/ 9519:
479
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
480
-
481
-
482
- var globalThis = __webpack_require__(4576);
483
- var userAgent = __webpack_require__(2839);
484
-
485
- var process = globalThis.process;
486
- var Deno = globalThis.Deno;
487
- var versions = process && process.versions || Deno && Deno.version;
488
- var v8 = versions && versions.v8;
489
- var match, version;
490
-
491
- if (v8) {
492
- match = v8.split('.');
493
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
494
- // but their correct versions are not interesting for us
495
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
496
- }
497
-
498
- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
499
- // so check `userAgent` even if `.v8` exists, but 0
500
- if (!version && userAgent) {
501
- match = userAgent.match(/Edge\/(\d+)/);
502
- if (!match || match[1] >= 74) {
503
- match = userAgent.match(/Chrome\/(\d+)/);
504
- if (match) version = +match[1];
505
- }
506
- }
507
-
508
- module.exports = version;
509
-
510
-
511
- /***/ }),
512
-
513
- /***/ 6518:
514
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
515
-
516
-
517
- var globalThis = __webpack_require__(4576);
518
- var getOwnPropertyDescriptor = (__webpack_require__(7347).f);
519
- var createNonEnumerableProperty = __webpack_require__(6699);
520
- var defineBuiltIn = __webpack_require__(6840);
521
- var defineGlobalProperty = __webpack_require__(9433);
522
- var copyConstructorProperties = __webpack_require__(7740);
523
- var isForced = __webpack_require__(2796);
524
-
525
- /*
526
- options.target - name of the target object
527
- options.global - target is the global object
528
- options.stat - export as static methods of target
529
- options.proto - export as prototype methods of target
530
- options.real - real prototype method for the `pure` version
531
- options.forced - export even if the native feature is available
532
- options.bind - bind methods to the target, required for the `pure` version
533
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
534
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
535
- options.sham - add a flag to not completely full polyfills
536
- options.enumerable - export as enumerable property
537
- options.dontCallGetSet - prevent calling a getter on target
538
- options.name - the .name of the function if it does not match the key
539
- */
540
- module.exports = function (options, source) {
541
- var TARGET = options.target;
542
- var GLOBAL = options.global;
543
- var STATIC = options.stat;
544
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
545
- if (GLOBAL) {
546
- target = globalThis;
547
- } else if (STATIC) {
548
- target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
549
- } else {
550
- target = globalThis[TARGET] && globalThis[TARGET].prototype;
551
- }
552
- if (target) for (key in source) {
553
- sourceProperty = source[key];
554
- if (options.dontCallGetSet) {
555
- descriptor = getOwnPropertyDescriptor(target, key);
556
- targetProperty = descriptor && descriptor.value;
557
- } else targetProperty = target[key];
558
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
559
- // contained in target
560
- if (!FORCED && targetProperty !== undefined) {
561
- if (typeof sourceProperty == typeof targetProperty) continue;
562
- copyConstructorProperties(sourceProperty, targetProperty);
563
- }
564
- // add a flag to not completely full polyfills
565
- if (options.sham || (targetProperty && targetProperty.sham)) {
566
- createNonEnumerableProperty(sourceProperty, 'sham', true);
567
- }
568
- defineBuiltIn(target, key, sourceProperty, options);
569
- }
570
- };
571
-
572
-
573
- /***/ }),
574
-
575
- /***/ 9039:
576
- /***/ (function(module) {
577
-
578
-
579
- module.exports = function (exec) {
580
- try {
581
- return !!exec();
582
- } catch (error) {
583
- return true;
584
- }
585
- };
586
-
587
-
588
- /***/ }),
589
-
590
- /***/ 6080:
591
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
592
-
593
-
594
- var uncurryThis = __webpack_require__(7476);
595
- var aCallable = __webpack_require__(9306);
596
- var NATIVE_BIND = __webpack_require__(616);
597
-
598
- var bind = uncurryThis(uncurryThis.bind);
599
-
600
- // optional / simple context binding
601
- module.exports = function (fn, that) {
602
- aCallable(fn);
603
- return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
604
- return fn.apply(that, arguments);
605
- };
606
- };
607
-
608
-
609
- /***/ }),
610
-
611
- /***/ 616:
612
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
613
-
614
-
615
- var fails = __webpack_require__(9039);
616
-
617
- module.exports = !fails(function () {
618
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
619
- var test = function () { /* empty */ }.bind();
620
- // eslint-disable-next-line no-prototype-builtins -- safe
621
- return typeof test != 'function' || test.hasOwnProperty('prototype');
622
- });
623
-
624
-
625
- /***/ }),
626
-
627
- /***/ 9565:
628
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
629
-
630
-
631
- var NATIVE_BIND = __webpack_require__(616);
632
-
633
- var call = Function.prototype.call;
634
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
635
- module.exports = NATIVE_BIND ? call.bind(call) : function () {
636
- return call.apply(call, arguments);
637
- };
638
-
639
-
640
- /***/ }),
641
-
642
- /***/ 350:
643
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
644
-
645
-
646
- var DESCRIPTORS = __webpack_require__(3724);
647
- var hasOwn = __webpack_require__(9297);
648
-
649
- var FunctionPrototype = Function.prototype;
650
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
651
- var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
652
-
653
- var EXISTS = hasOwn(FunctionPrototype, 'name');
654
- // additional protection from minified / mangled / dropped function names
655
- var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
656
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
657
-
658
- module.exports = {
659
- EXISTS: EXISTS,
660
- PROPER: PROPER,
661
- CONFIGURABLE: CONFIGURABLE
662
- };
663
-
664
-
665
- /***/ }),
666
-
667
- /***/ 7476:
668
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
669
-
670
-
671
- var classofRaw = __webpack_require__(2195);
672
- var uncurryThis = __webpack_require__(9504);
673
-
674
- module.exports = function (fn) {
675
- // Nashorn bug:
676
- // https://github.com/zloirock/core-js/issues/1128
677
- // https://github.com/zloirock/core-js/issues/1130
678
- if (classofRaw(fn) === 'Function') return uncurryThis(fn);
679
- };
680
-
681
-
682
- /***/ }),
683
-
684
- /***/ 9504:
685
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
686
-
687
-
688
- var NATIVE_BIND = __webpack_require__(616);
689
-
690
- var FunctionPrototype = Function.prototype;
691
- var call = FunctionPrototype.call;
692
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
693
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
694
-
695
- module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
696
- return function () {
697
- return call.apply(fn, arguments);
698
- };
699
- };
700
-
701
-
702
- /***/ }),
703
-
704
- /***/ 7751:
705
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
706
-
707
-
708
- var globalThis = __webpack_require__(4576);
709
- var isCallable = __webpack_require__(4901);
710
-
711
- var aFunction = function (argument) {
712
- return isCallable(argument) ? argument : undefined;
713
- };
714
-
715
- module.exports = function (namespace, method) {
716
- return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
717
- };
718
-
719
-
720
- /***/ }),
721
-
722
- /***/ 1767:
723
- /***/ (function(module) {
724
-
725
-
726
- // `GetIteratorDirect(obj)` abstract operation
727
- // https://tc39.es/ecma262/#sec-getiteratordirect
728
- module.exports = function (obj) {
729
- return {
730
- iterator: obj,
731
- next: obj.next,
732
- done: false
733
- };
734
- };
735
-
736
-
737
- /***/ }),
738
-
739
- /***/ 851:
740
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
741
-
742
-
743
- var classof = __webpack_require__(6955);
744
- var getMethod = __webpack_require__(5966);
745
- var isNullOrUndefined = __webpack_require__(4117);
746
- var Iterators = __webpack_require__(6269);
747
- var wellKnownSymbol = __webpack_require__(8227);
748
-
749
- var ITERATOR = wellKnownSymbol('iterator');
750
-
751
- module.exports = function (it) {
752
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
753
- || getMethod(it, '@@iterator')
754
- || Iterators[classof(it)];
755
- };
756
-
757
-
758
- /***/ }),
759
-
760
- /***/ 81:
761
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
762
-
763
-
764
- var call = __webpack_require__(9565);
765
- var aCallable = __webpack_require__(9306);
766
- var anObject = __webpack_require__(8551);
767
- var tryToString = __webpack_require__(6823);
768
- var getIteratorMethod = __webpack_require__(851);
769
-
770
- var $TypeError = TypeError;
771
-
772
- module.exports = function (argument, usingIterator) {
773
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
774
- if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
775
- throw new $TypeError(tryToString(argument) + ' is not iterable');
776
- };
777
-
778
-
779
- /***/ }),
780
-
781
- /***/ 5966:
782
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
783
-
784
-
785
- var aCallable = __webpack_require__(9306);
786
- var isNullOrUndefined = __webpack_require__(4117);
787
-
788
- // `GetMethod` abstract operation
789
- // https://tc39.es/ecma262/#sec-getmethod
790
- module.exports = function (V, P) {
791
- var func = V[P];
792
- return isNullOrUndefined(func) ? undefined : aCallable(func);
793
- };
794
-
795
-
796
- /***/ }),
797
-
798
- /***/ 4576:
799
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
800
-
801
-
802
- var check = function (it) {
803
- return it && it.Math === Math && it;
804
- };
805
-
806
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
807
- module.exports =
808
- // eslint-disable-next-line es/no-global-this -- safe
809
- check(typeof globalThis == 'object' && globalThis) ||
810
- check(typeof window == 'object' && window) ||
811
- // eslint-disable-next-line no-restricted-globals -- safe
812
- check(typeof self == 'object' && self) ||
813
- check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
814
- check(typeof this == 'object' && this) ||
815
- // eslint-disable-next-line no-new-func -- fallback
816
- (function () { return this; })() || Function('return this')();
817
-
818
-
819
- /***/ }),
820
-
821
- /***/ 9297:
822
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
823
-
824
-
825
- var uncurryThis = __webpack_require__(9504);
826
- var toObject = __webpack_require__(8981);
827
-
828
- var hasOwnProperty = uncurryThis({}.hasOwnProperty);
829
-
830
- // `HasOwnProperty` abstract operation
831
- // https://tc39.es/ecma262/#sec-hasownproperty
832
- // eslint-disable-next-line es/no-object-hasown -- safe
833
- module.exports = Object.hasOwn || function hasOwn(it, key) {
834
- return hasOwnProperty(toObject(it), key);
835
- };
836
-
837
-
838
- /***/ }),
839
-
840
- /***/ 421:
841
- /***/ (function(module) {
842
-
843
-
844
- module.exports = {};
845
-
846
-
847
- /***/ }),
848
-
849
- /***/ 397:
850
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
851
-
852
-
853
- var getBuiltIn = __webpack_require__(7751);
854
-
855
- module.exports = getBuiltIn('document', 'documentElement');
856
-
857
-
858
- /***/ }),
859
-
860
- /***/ 5917:
861
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
862
-
863
-
864
- var DESCRIPTORS = __webpack_require__(3724);
865
- var fails = __webpack_require__(9039);
866
- var createElement = __webpack_require__(4055);
867
-
868
- // Thanks to IE8 for its funny defineProperty
869
- module.exports = !DESCRIPTORS && !fails(function () {
870
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
871
- return Object.defineProperty(createElement('div'), 'a', {
872
- get: function () { return 7; }
873
- }).a !== 7;
874
- });
875
-
876
-
877
- /***/ }),
878
-
879
- /***/ 7055:
880
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
881
-
882
-
883
- var uncurryThis = __webpack_require__(9504);
884
- var fails = __webpack_require__(9039);
885
- var classof = __webpack_require__(2195);
886
-
887
- var $Object = Object;
888
- var split = uncurryThis(''.split);
889
-
890
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
891
- module.exports = fails(function () {
892
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
893
- // eslint-disable-next-line no-prototype-builtins -- safe
894
- return !$Object('z').propertyIsEnumerable(0);
895
- }) ? function (it) {
896
- return classof(it) === 'String' ? split(it, '') : $Object(it);
897
- } : $Object;
898
-
899
-
900
- /***/ }),
901
-
902
- /***/ 3706:
903
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
904
-
905
-
906
- var uncurryThis = __webpack_require__(9504);
907
- var isCallable = __webpack_require__(4901);
908
- var store = __webpack_require__(7629);
909
-
910
- var functionToString = uncurryThis(Function.toString);
911
-
912
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
913
- if (!isCallable(store.inspectSource)) {
914
- store.inspectSource = function (it) {
915
- return functionToString(it);
916
- };
917
- }
918
-
919
- module.exports = store.inspectSource;
920
-
921
-
922
- /***/ }),
923
-
924
- /***/ 1181:
925
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
926
-
927
-
928
- var NATIVE_WEAK_MAP = __webpack_require__(8622);
929
- var globalThis = __webpack_require__(4576);
930
- var isObject = __webpack_require__(34);
931
- var createNonEnumerableProperty = __webpack_require__(6699);
932
- var hasOwn = __webpack_require__(9297);
933
- var shared = __webpack_require__(7629);
934
- var sharedKey = __webpack_require__(6119);
935
- var hiddenKeys = __webpack_require__(421);
936
-
937
- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
938
- var TypeError = globalThis.TypeError;
939
- var WeakMap = globalThis.WeakMap;
940
- var set, get, has;
941
-
942
- var enforce = function (it) {
943
- return has(it) ? get(it) : set(it, {});
944
- };
945
-
946
- var getterFor = function (TYPE) {
947
- return function (it) {
948
- var state;
949
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
950
- throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
951
- } return state;
952
- };
953
- };
954
-
955
- if (NATIVE_WEAK_MAP || shared.state) {
956
- var store = shared.state || (shared.state = new WeakMap());
957
- /* eslint-disable no-self-assign -- prototype methods protection */
958
- store.get = store.get;
959
- store.has = store.has;
960
- store.set = store.set;
961
- /* eslint-enable no-self-assign -- prototype methods protection */
962
- set = function (it, metadata) {
963
- if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
964
- metadata.facade = it;
965
- store.set(it, metadata);
966
- return metadata;
967
- };
968
- get = function (it) {
969
- return store.get(it) || {};
970
- };
971
- has = function (it) {
972
- return store.has(it);
973
- };
974
- } else {
975
- var STATE = sharedKey('state');
976
- hiddenKeys[STATE] = true;
977
- set = function (it, metadata) {
978
- if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
979
- metadata.facade = it;
980
- createNonEnumerableProperty(it, STATE, metadata);
981
- return metadata;
982
- };
983
- get = function (it) {
984
- return hasOwn(it, STATE) ? it[STATE] : {};
985
- };
986
- has = function (it) {
987
- return hasOwn(it, STATE);
988
- };
989
- }
990
-
991
- module.exports = {
992
- set: set,
993
- get: get,
994
- has: has,
995
- enforce: enforce,
996
- getterFor: getterFor
997
- };
998
-
999
-
1000
- /***/ }),
1001
-
1002
- /***/ 4209:
1003
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1004
-
1005
-
1006
- var wellKnownSymbol = __webpack_require__(8227);
1007
- var Iterators = __webpack_require__(6269);
1008
-
1009
- var ITERATOR = wellKnownSymbol('iterator');
1010
- var ArrayPrototype = Array.prototype;
1011
-
1012
- // check on default Array iterator
1013
- module.exports = function (it) {
1014
- return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
1015
- };
1016
-
1017
-
1018
- /***/ }),
1019
-
1020
- /***/ 4376:
1021
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1022
-
1023
-
1024
- var classof = __webpack_require__(2195);
1025
-
1026
- // `IsArray` abstract operation
1027
- // https://tc39.es/ecma262/#sec-isarray
1028
- // eslint-disable-next-line es/no-array-isarray -- safe
1029
- module.exports = Array.isArray || function isArray(argument) {
1030
- return classof(argument) === 'Array';
1031
- };
1032
-
1033
-
1034
- /***/ }),
1035
-
1036
- /***/ 4901:
1037
- /***/ (function(module) {
1038
-
1039
-
1040
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
1041
- var documentAll = typeof document == 'object' && document.all;
1042
-
1043
- // `IsCallable` abstract operation
1044
- // https://tc39.es/ecma262/#sec-iscallable
1045
- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
1046
- module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
1047
- return typeof argument == 'function' || argument === documentAll;
1048
- } : function (argument) {
1049
- return typeof argument == 'function';
1050
- };
1051
-
1052
-
1053
- /***/ }),
1054
-
1055
- /***/ 2796:
1056
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1057
-
1058
-
1059
- var fails = __webpack_require__(9039);
1060
- var isCallable = __webpack_require__(4901);
1061
-
1062
- var replacement = /#|\.prototype\./;
1063
-
1064
- var isForced = function (feature, detection) {
1065
- var value = data[normalize(feature)];
1066
- return value === POLYFILL ? true
1067
- : value === NATIVE ? false
1068
- : isCallable(detection) ? fails(detection)
1069
- : !!detection;
1070
- };
1071
-
1072
- var normalize = isForced.normalize = function (string) {
1073
- return String(string).replace(replacement, '.').toLowerCase();
1074
- };
1075
-
1076
- var data = isForced.data = {};
1077
- var NATIVE = isForced.NATIVE = 'N';
1078
- var POLYFILL = isForced.POLYFILL = 'P';
1079
-
1080
- module.exports = isForced;
1081
-
1082
-
1083
- /***/ }),
1084
-
1085
- /***/ 4117:
1086
- /***/ (function(module) {
1087
-
1088
-
1089
- // we can't use just `it == null` since of `document.all` special case
1090
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
1091
- module.exports = function (it) {
1092
- return it === null || it === undefined;
1093
- };
1094
-
1095
-
1096
- /***/ }),
1097
-
1098
- /***/ 34:
1099
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1100
-
1101
-
1102
- var isCallable = __webpack_require__(4901);
1103
-
1104
- module.exports = function (it) {
1105
- return typeof it == 'object' ? it !== null : isCallable(it);
1106
- };
1107
-
1108
-
1109
- /***/ }),
1110
-
1111
- /***/ 6395:
1112
- /***/ (function(module) {
1113
-
1114
-
1115
- module.exports = false;
1116
-
1117
-
1118
- /***/ }),
1119
-
1120
- /***/ 757:
1121
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1122
-
1123
-
1124
- var getBuiltIn = __webpack_require__(7751);
1125
- var isCallable = __webpack_require__(4901);
1126
- var isPrototypeOf = __webpack_require__(1625);
1127
- var USE_SYMBOL_AS_UID = __webpack_require__(7040);
1128
-
1129
- var $Object = Object;
1130
-
1131
- module.exports = USE_SYMBOL_AS_UID ? function (it) {
1132
- return typeof it == 'symbol';
1133
- } : function (it) {
1134
- var $Symbol = getBuiltIn('Symbol');
1135
- return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
1136
- };
1137
-
1138
-
1139
- /***/ }),
1140
-
1141
- /***/ 2652:
1142
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1143
-
1144
-
1145
- var bind = __webpack_require__(6080);
1146
- var call = __webpack_require__(9565);
1147
- var anObject = __webpack_require__(8551);
1148
- var tryToString = __webpack_require__(6823);
1149
- var isArrayIteratorMethod = __webpack_require__(4209);
1150
- var lengthOfArrayLike = __webpack_require__(6198);
1151
- var isPrototypeOf = __webpack_require__(1625);
1152
- var getIterator = __webpack_require__(81);
1153
- var getIteratorMethod = __webpack_require__(851);
1154
- var iteratorClose = __webpack_require__(9539);
1155
-
1156
- var $TypeError = TypeError;
1157
-
1158
- var Result = function (stopped, result) {
1159
- this.stopped = stopped;
1160
- this.result = result;
1161
- };
1162
-
1163
- var ResultPrototype = Result.prototype;
1164
-
1165
- module.exports = function (iterable, unboundFunction, options) {
1166
- var that = options && options.that;
1167
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
1168
- var IS_RECORD = !!(options && options.IS_RECORD);
1169
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
1170
- var INTERRUPTED = !!(options && options.INTERRUPTED);
1171
- var fn = bind(unboundFunction, that);
1172
- var iterator, iterFn, index, length, result, next, step;
1173
-
1174
- var stop = function (condition) {
1175
- var $iterator = iterator;
1176
- iterator = undefined;
1177
- if ($iterator) iteratorClose($iterator, 'normal');
1178
- return new Result(true, condition);
1179
- };
1180
-
1181
- var callFn = function (value) {
1182
- if (AS_ENTRIES) {
1183
- anObject(value);
1184
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
1185
- } return INTERRUPTED ? fn(value, stop) : fn(value);
1186
- };
1187
-
1188
- if (IS_RECORD) {
1189
- iterator = iterable.iterator;
1190
- } else if (IS_ITERATOR) {
1191
- iterator = iterable;
1192
- } else {
1193
- iterFn = getIteratorMethod(iterable);
1194
- if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
1195
- // optimisation for array iterators
1196
- if (isArrayIteratorMethod(iterFn)) {
1197
- for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
1198
- result = callFn(iterable[index]);
1199
- if (result && isPrototypeOf(ResultPrototype, result)) return result;
1200
- } return new Result(false);
1201
- }
1202
- iterator = getIterator(iterable, iterFn);
1203
- }
1204
-
1205
- next = IS_RECORD ? iterable.next : iterator.next;
1206
- while (!(step = call(next, iterator)).done) {
1207
- // `IteratorValue` errors should propagate without closing the iterator
1208
- var value = step.value;
1209
- try {
1210
- result = callFn(value);
1211
- } catch (error) {
1212
- if (iterator) iteratorClose(iterator, 'throw', error);
1213
- else throw error;
1214
- }
1215
- if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
1216
- } return new Result(false);
1217
- };
1218
-
1219
-
1220
- /***/ }),
1221
-
1222
- /***/ 9539:
1223
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1224
-
1225
-
1226
- var call = __webpack_require__(9565);
1227
- var anObject = __webpack_require__(8551);
1228
- var getMethod = __webpack_require__(5966);
1229
-
1230
- module.exports = function (iterator, kind, value) {
1231
- var innerResult, innerError;
1232
- anObject(iterator);
1233
- try {
1234
- innerResult = getMethod(iterator, 'return');
1235
- if (!innerResult) {
1236
- if (kind === 'throw') throw value;
1237
- return value;
1238
- }
1239
- innerResult = call(innerResult, iterator);
1240
- } catch (error) {
1241
- innerError = true;
1242
- innerResult = error;
1243
- }
1244
- if (kind === 'throw') throw value;
1245
- if (innerError) throw innerResult;
1246
- anObject(innerResult);
1247
- return value;
1248
- };
1249
-
1250
-
1251
- /***/ }),
1252
-
1253
- /***/ 4549:
1254
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1255
-
1256
-
1257
- var globalThis = __webpack_require__(4576);
1258
-
1259
- // https://github.com/tc39/ecma262/pull/3467
1260
- module.exports = function (METHOD_NAME, ExpectedError) {
1261
- var Iterator = globalThis.Iterator;
1262
- var IteratorPrototype = Iterator && Iterator.prototype;
1263
- var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
1264
-
1265
- var CLOSED = false;
1266
-
1267
- if (method) try {
1268
- method.call({
1269
- next: function () { return { done: true }; },
1270
- 'return': function () { CLOSED = true; }
1271
- }, -1);
1272
- } catch (error) {
1273
- // https://bugs.webkit.org/show_bug.cgi?id=291195
1274
- if (!(error instanceof ExpectedError)) CLOSED = false;
1275
- }
1276
-
1277
- if (!CLOSED) return method;
1278
- };
1279
-
1280
-
1281
- /***/ }),
1282
-
1283
- /***/ 7657:
1284
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1285
-
1286
-
1287
- var fails = __webpack_require__(9039);
1288
- var isCallable = __webpack_require__(4901);
1289
- var isObject = __webpack_require__(34);
1290
- var create = __webpack_require__(2360);
1291
- var getPrototypeOf = __webpack_require__(2787);
1292
- var defineBuiltIn = __webpack_require__(6840);
1293
- var wellKnownSymbol = __webpack_require__(8227);
1294
- var IS_PURE = __webpack_require__(6395);
1295
-
1296
- var ITERATOR = wellKnownSymbol('iterator');
1297
- var BUGGY_SAFARI_ITERATORS = false;
1298
-
1299
- // `%IteratorPrototype%` object
1300
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1301
- var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
1302
-
1303
- /* eslint-disable es/no-array-prototype-keys -- safe */
1304
- if ([].keys) {
1305
- arrayIterator = [].keys();
1306
- // Safari 8 has buggy iterators w/o `next`
1307
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
1308
- else {
1309
- PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
1310
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
1311
- }
1312
- }
1313
-
1314
- var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
1315
- var test = {};
1316
- // FF44- legacy iterators case
1317
- return IteratorPrototype[ITERATOR].call(test) !== test;
1318
- });
1319
-
1320
- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
1321
- else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
1322
-
1323
- // `%IteratorPrototype%[@@iterator]()` method
1324
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1325
- if (!isCallable(IteratorPrototype[ITERATOR])) {
1326
- defineBuiltIn(IteratorPrototype, ITERATOR, function () {
1327
- return this;
1328
- });
1329
- }
1330
-
1331
- module.exports = {
1332
- IteratorPrototype: IteratorPrototype,
1333
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
1334
- };
1335
-
1336
-
1337
- /***/ }),
1338
-
1339
- /***/ 6269:
1340
- /***/ (function(module) {
1341
-
1342
-
1343
- module.exports = {};
1344
-
1345
-
1346
- /***/ }),
1347
-
1348
- /***/ 6198:
1349
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1350
-
1351
-
1352
- var toLength = __webpack_require__(8014);
1353
-
1354
- // `LengthOfArrayLike` abstract operation
1355
- // https://tc39.es/ecma262/#sec-lengthofarraylike
1356
- module.exports = function (obj) {
1357
- return toLength(obj.length);
1358
- };
1359
-
1360
-
1361
- /***/ }),
1362
-
1363
- /***/ 283:
1364
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1365
-
1366
-
1367
- var uncurryThis = __webpack_require__(9504);
1368
- var fails = __webpack_require__(9039);
1369
- var isCallable = __webpack_require__(4901);
1370
- var hasOwn = __webpack_require__(9297);
1371
- var DESCRIPTORS = __webpack_require__(3724);
1372
- var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE);
1373
- var inspectSource = __webpack_require__(3706);
1374
- var InternalStateModule = __webpack_require__(1181);
1375
-
1376
- var enforceInternalState = InternalStateModule.enforce;
1377
- var getInternalState = InternalStateModule.get;
1378
- var $String = String;
1379
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1380
- var defineProperty = Object.defineProperty;
1381
- var stringSlice = uncurryThis(''.slice);
1382
- var replace = uncurryThis(''.replace);
1383
- var join = uncurryThis([].join);
1384
-
1385
- var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
1386
- return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
1387
- });
1388
-
1389
- var TEMPLATE = String(String).split('String');
1390
-
1391
- var makeBuiltIn = module.exports = function (value, name, options) {
1392
- if (stringSlice($String(name), 0, 7) === 'Symbol(') {
1393
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
1394
- }
1395
- if (options && options.getter) name = 'get ' + name;
1396
- if (options && options.setter) name = 'set ' + name;
1397
- if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
1398
- if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
1399
- else value.name = name;
1400
- }
1401
- if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
1402
- defineProperty(value, 'length', { value: options.arity });
1403
- }
1404
- try {
1405
- if (options && hasOwn(options, 'constructor') && options.constructor) {
1406
- if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
1407
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
1408
- } else if (value.prototype) value.prototype = undefined;
1409
- } catch (error) { /* empty */ }
1410
- var state = enforceInternalState(value);
1411
- if (!hasOwn(state, 'source')) {
1412
- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
1413
- } return value;
1414
- };
1415
-
1416
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1417
- // eslint-disable-next-line no-extend-native -- required
1418
- Function.prototype.toString = makeBuiltIn(function toString() {
1419
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
1420
- }, 'toString');
1421
-
1422
-
1423
- /***/ }),
1424
-
1425
- /***/ 741:
1426
- /***/ (function(module) {
1427
-
1428
-
1429
- var ceil = Math.ceil;
1430
- var floor = Math.floor;
1431
-
1432
- // `Math.trunc` method
1433
- // https://tc39.es/ecma262/#sec-math.trunc
1434
- // eslint-disable-next-line es/no-math-trunc -- safe
1435
- module.exports = Math.trunc || function trunc(x) {
1436
- var n = +x;
1437
- return (n > 0 ? floor : ceil)(n);
1438
- };
1439
-
1440
-
1441
- /***/ }),
1442
-
1443
- /***/ 2360:
1444
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1445
-
1446
-
1447
- /* global ActiveXObject -- old IE, WSH */
1448
- var anObject = __webpack_require__(8551);
1449
- var definePropertiesModule = __webpack_require__(6801);
1450
- var enumBugKeys = __webpack_require__(8727);
1451
- var hiddenKeys = __webpack_require__(421);
1452
- var html = __webpack_require__(397);
1453
- var documentCreateElement = __webpack_require__(4055);
1454
- var sharedKey = __webpack_require__(6119);
1455
-
1456
- var GT = '>';
1457
- var LT = '<';
1458
- var PROTOTYPE = 'prototype';
1459
- var SCRIPT = 'script';
1460
- var IE_PROTO = sharedKey('IE_PROTO');
1461
-
1462
- var EmptyConstructor = function () { /* empty */ };
1463
-
1464
- var scriptTag = function (content) {
1465
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1466
- };
1467
-
1468
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1469
- var NullProtoObjectViaActiveX = function (activeXDocument) {
1470
- activeXDocument.write(scriptTag(''));
1471
- activeXDocument.close();
1472
- var temp = activeXDocument.parentWindow.Object;
1473
- // eslint-disable-next-line no-useless-assignment -- avoid memory leak
1474
- activeXDocument = null;
1475
- return temp;
1476
- };
1477
-
1478
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1479
- var NullProtoObjectViaIFrame = function () {
1480
- // Thrash, waste and sodomy: IE GC bug
1481
- var iframe = documentCreateElement('iframe');
1482
- var JS = 'java' + SCRIPT + ':';
1483
- var iframeDocument;
1484
- iframe.style.display = 'none';
1485
- html.appendChild(iframe);
1486
- // https://github.com/zloirock/core-js/issues/475
1487
- iframe.src = String(JS);
1488
- iframeDocument = iframe.contentWindow.document;
1489
- iframeDocument.open();
1490
- iframeDocument.write(scriptTag('document.F=Object'));
1491
- iframeDocument.close();
1492
- return iframeDocument.F;
1493
- };
1494
-
1495
- // Check for document.domain and active x support
1496
- // No need to use active x approach when document.domain is not set
1497
- // see https://github.com/es-shims/es5-shim/issues/150
1498
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1499
- // avoid IE GC bug
1500
- var activeXDocument;
1501
- var NullProtoObject = function () {
1502
- try {
1503
- activeXDocument = new ActiveXObject('htmlfile');
1504
- } catch (error) { /* ignore */ }
1505
- NullProtoObject = typeof document != 'undefined'
1506
- ? document.domain && activeXDocument
1507
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1508
- : NullProtoObjectViaIFrame()
1509
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
1510
- var length = enumBugKeys.length;
1511
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1512
- return NullProtoObject();
1513
- };
1514
-
1515
- hiddenKeys[IE_PROTO] = true;
1516
-
1517
- // `Object.create` method
1518
- // https://tc39.es/ecma262/#sec-object.create
1519
- // eslint-disable-next-line es/no-object-create -- safe
1520
- module.exports = Object.create || function create(O, Properties) {
1521
- var result;
1522
- if (O !== null) {
1523
- EmptyConstructor[PROTOTYPE] = anObject(O);
1524
- result = new EmptyConstructor();
1525
- EmptyConstructor[PROTOTYPE] = null;
1526
- // add "__proto__" for Object.getPrototypeOf polyfill
1527
- result[IE_PROTO] = O;
1528
- } else result = NullProtoObject();
1529
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1530
- };
1531
-
1532
-
1533
- /***/ }),
1534
-
1535
- /***/ 6801:
1536
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1537
-
1538
-
1539
- var DESCRIPTORS = __webpack_require__(3724);
1540
- var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
1541
- var definePropertyModule = __webpack_require__(4913);
1542
- var anObject = __webpack_require__(8551);
1543
- var toIndexedObject = __webpack_require__(5397);
1544
- var objectKeys = __webpack_require__(1072);
1545
-
1546
- // `Object.defineProperties` method
1547
- // https://tc39.es/ecma262/#sec-object.defineproperties
1548
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1549
- exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1550
- anObject(O);
1551
- var props = toIndexedObject(Properties);
1552
- var keys = objectKeys(Properties);
1553
- var length = keys.length;
1554
- var index = 0;
1555
- var key;
1556
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1557
- return O;
1558
- };
1559
-
1560
-
1561
- /***/ }),
1562
-
1563
- /***/ 4913:
1564
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1565
-
1566
-
1567
- var DESCRIPTORS = __webpack_require__(3724);
1568
- var IE8_DOM_DEFINE = __webpack_require__(5917);
1569
- var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
1570
- var anObject = __webpack_require__(8551);
1571
- var toPropertyKey = __webpack_require__(6969);
1572
-
1573
- var $TypeError = TypeError;
1574
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1575
- var $defineProperty = Object.defineProperty;
1576
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1577
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1578
- var ENUMERABLE = 'enumerable';
1579
- var CONFIGURABLE = 'configurable';
1580
- var WRITABLE = 'writable';
1581
-
1582
- // `Object.defineProperty` method
1583
- // https://tc39.es/ecma262/#sec-object.defineproperty
1584
- exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
1585
- anObject(O);
1586
- P = toPropertyKey(P);
1587
- anObject(Attributes);
1588
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
1589
- var current = $getOwnPropertyDescriptor(O, P);
1590
- if (current && current[WRITABLE]) {
1591
- O[P] = Attributes.value;
1592
- Attributes = {
1593
- configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
1594
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
1595
- writable: false
1596
- };
1597
- }
1598
- } return $defineProperty(O, P, Attributes);
1599
- } : $defineProperty : function defineProperty(O, P, Attributes) {
1600
- anObject(O);
1601
- P = toPropertyKey(P);
1602
- anObject(Attributes);
1603
- if (IE8_DOM_DEFINE) try {
1604
- return $defineProperty(O, P, Attributes);
1605
- } catch (error) { /* empty */ }
1606
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
1607
- if ('value' in Attributes) O[P] = Attributes.value;
1608
- return O;
1609
- };
1610
-
1611
-
1612
- /***/ }),
1613
-
1614
- /***/ 7347:
1615
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1616
-
1617
-
1618
- var DESCRIPTORS = __webpack_require__(3724);
1619
- var call = __webpack_require__(9565);
1620
- var propertyIsEnumerableModule = __webpack_require__(8773);
1621
- var createPropertyDescriptor = __webpack_require__(6980);
1622
- var toIndexedObject = __webpack_require__(5397);
1623
- var toPropertyKey = __webpack_require__(6969);
1624
- var hasOwn = __webpack_require__(9297);
1625
- var IE8_DOM_DEFINE = __webpack_require__(5917);
1626
-
1627
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1628
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1629
-
1630
- // `Object.getOwnPropertyDescriptor` method
1631
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
1632
- exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
1633
- O = toIndexedObject(O);
1634
- P = toPropertyKey(P);
1635
- if (IE8_DOM_DEFINE) try {
1636
- return $getOwnPropertyDescriptor(O, P);
1637
- } catch (error) { /* empty */ }
1638
- if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
1639
- };
1640
-
1641
-
1642
- /***/ }),
1643
-
1644
- /***/ 8480:
1645
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1646
-
1647
-
1648
- var internalObjectKeys = __webpack_require__(1828);
1649
- var enumBugKeys = __webpack_require__(8727);
1650
-
1651
- var hiddenKeys = enumBugKeys.concat('length', 'prototype');
1652
-
1653
- // `Object.getOwnPropertyNames` method
1654
- // https://tc39.es/ecma262/#sec-object.getownpropertynames
1655
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
1656
- exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1657
- return internalObjectKeys(O, hiddenKeys);
1658
- };
1659
-
1660
-
1661
- /***/ }),
1662
-
1663
- /***/ 3717:
1664
- /***/ (function(__unused_webpack_module, exports) {
1665
-
1666
-
1667
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1668
- exports.f = Object.getOwnPropertySymbols;
1669
-
1670
-
1671
- /***/ }),
1672
-
1673
- /***/ 2787:
1674
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1675
-
1676
-
1677
- var hasOwn = __webpack_require__(9297);
1678
- var isCallable = __webpack_require__(4901);
1679
- var toObject = __webpack_require__(8981);
1680
- var sharedKey = __webpack_require__(6119);
1681
- var CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211);
1682
-
1683
- var IE_PROTO = sharedKey('IE_PROTO');
1684
- var $Object = Object;
1685
- var ObjectPrototype = $Object.prototype;
1686
-
1687
- // `Object.getPrototypeOf` method
1688
- // https://tc39.es/ecma262/#sec-object.getprototypeof
1689
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
1690
- module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1691
- var object = toObject(O);
1692
- if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
1693
- var constructor = object.constructor;
1694
- if (isCallable(constructor) && object instanceof constructor) {
1695
- return constructor.prototype;
1696
- } return object instanceof $Object ? ObjectPrototype : null;
1697
- };
1698
-
1699
-
1700
- /***/ }),
1701
-
1702
- /***/ 1625:
1703
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1704
-
1705
-
1706
- var uncurryThis = __webpack_require__(9504);
1707
-
1708
- module.exports = uncurryThis({}.isPrototypeOf);
1709
-
1710
-
1711
- /***/ }),
1712
-
1713
- /***/ 1828:
1714
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1715
-
1716
-
1717
- var uncurryThis = __webpack_require__(9504);
1718
- var hasOwn = __webpack_require__(9297);
1719
- var toIndexedObject = __webpack_require__(5397);
1720
- var indexOf = (__webpack_require__(9617).indexOf);
1721
- var hiddenKeys = __webpack_require__(421);
1722
-
1723
- var push = uncurryThis([].push);
1724
-
1725
- module.exports = function (object, names) {
1726
- var O = toIndexedObject(object);
1727
- var i = 0;
1728
- var result = [];
1729
- var key;
1730
- for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
1731
- // Don't enum bug & hidden keys
1732
- while (names.length > i) if (hasOwn(O, key = names[i++])) {
1733
- ~indexOf(result, key) || push(result, key);
1734
- }
1735
- return result;
1736
- };
1737
-
1738
-
1739
- /***/ }),
1740
-
1741
- /***/ 1072:
1742
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1743
-
1744
-
1745
- var internalObjectKeys = __webpack_require__(1828);
1746
- var enumBugKeys = __webpack_require__(8727);
1747
-
1748
- // `Object.keys` method
1749
- // https://tc39.es/ecma262/#sec-object.keys
1750
- // eslint-disable-next-line es/no-object-keys -- safe
1751
- module.exports = Object.keys || function keys(O) {
1752
- return internalObjectKeys(O, enumBugKeys);
1753
- };
1754
-
1755
-
1756
- /***/ }),
1757
-
1758
- /***/ 8773:
1759
- /***/ (function(__unused_webpack_module, exports) {
1760
-
1761
-
1762
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
1763
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1764
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1765
-
1766
- // Nashorn ~ JDK8 bug
1767
- var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
1768
-
1769
- // `Object.prototype.propertyIsEnumerable` method implementation
1770
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
1771
- exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
1772
- var descriptor = getOwnPropertyDescriptor(this, V);
1773
- return !!descriptor && descriptor.enumerable;
1774
- } : $propertyIsEnumerable;
1775
-
1776
-
1777
- /***/ }),
1778
-
1779
- /***/ 4270:
1780
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1781
-
1782
-
1783
- var call = __webpack_require__(9565);
1784
- var isCallable = __webpack_require__(4901);
1785
- var isObject = __webpack_require__(34);
1786
-
1787
- var $TypeError = TypeError;
1788
-
1789
- // `OrdinaryToPrimitive` abstract operation
1790
- // https://tc39.es/ecma262/#sec-ordinarytoprimitive
1791
- module.exports = function (input, pref) {
1792
- var fn, val;
1793
- if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
1794
- if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
1795
- if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
1796
- throw new $TypeError("Can't convert object to primitive value");
1797
- };
1798
-
1799
-
1800
- /***/ }),
1801
-
1802
- /***/ 5031:
1803
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1804
-
1805
-
1806
- var getBuiltIn = __webpack_require__(7751);
1807
- var uncurryThis = __webpack_require__(9504);
1808
- var getOwnPropertyNamesModule = __webpack_require__(8480);
1809
- var getOwnPropertySymbolsModule = __webpack_require__(3717);
1810
- var anObject = __webpack_require__(8551);
1811
-
1812
- var concat = uncurryThis([].concat);
1813
-
1814
- // all object keys, includes non-enumerable and symbols
1815
- module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1816
- var keys = getOwnPropertyNamesModule.f(anObject(it));
1817
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1818
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
1819
- };
1820
-
1821
-
1822
- /***/ }),
1823
-
1824
- /***/ 7750:
1825
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1826
-
1827
-
1828
- var isNullOrUndefined = __webpack_require__(4117);
1829
-
1830
- var $TypeError = TypeError;
1831
-
1832
- // `RequireObjectCoercible` abstract operation
1833
- // https://tc39.es/ecma262/#sec-requireobjectcoercible
1834
- module.exports = function (it) {
1835
- if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
1836
- return it;
1837
- };
1838
-
1839
-
1840
- /***/ }),
1841
-
1842
- /***/ 6119:
1843
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1844
-
1845
-
1846
- var shared = __webpack_require__(5745);
1847
- var uid = __webpack_require__(3392);
1848
-
1849
- var keys = shared('keys');
1850
-
1851
- module.exports = function (key) {
1852
- return keys[key] || (keys[key] = uid(key));
1853
- };
1854
-
1855
-
1856
- /***/ }),
1857
-
1858
- /***/ 7629:
1859
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1860
-
1861
-
1862
- var IS_PURE = __webpack_require__(6395);
1863
- var globalThis = __webpack_require__(4576);
1864
- var defineGlobalProperty = __webpack_require__(9433);
1865
-
1866
- var SHARED = '__core-js_shared__';
1867
- var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
1868
-
1869
- (store.versions || (store.versions = [])).push({
1870
- version: '3.49.0',
1871
- mode: IS_PURE ? 'pure' : 'global',
1872
- copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
1873
- license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
1874
- source: 'https://github.com/zloirock/core-js'
1875
- });
1876
-
1877
-
1878
- /***/ }),
1879
-
1880
- /***/ 5745:
1881
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1882
-
1883
-
1884
- var store = __webpack_require__(7629);
1885
-
1886
- module.exports = function (key, value) {
1887
- return store[key] || (store[key] = value || {});
1888
- };
1889
-
1890
-
1891
- /***/ }),
1892
-
1893
- /***/ 4495:
1894
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1895
-
1896
-
1897
- /* eslint-disable es/no-symbol -- required for testing */
1898
- var V8_VERSION = __webpack_require__(9519);
1899
- var fails = __webpack_require__(9039);
1900
- var globalThis = __webpack_require__(4576);
1901
-
1902
- var $String = globalThis.String;
1903
-
1904
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
1905
- module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
1906
- var symbol = Symbol('symbol detection');
1907
- // Chrome 38 Symbol has incorrect toString conversion
1908
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
1909
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
1910
- // of course, fail.
1911
- return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
1912
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
1913
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
1914
- });
1915
-
1916
-
1917
- /***/ }),
1918
-
1919
- /***/ 5610:
1920
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1921
-
1922
-
1923
- var toIntegerOrInfinity = __webpack_require__(1291);
1924
-
1925
- var max = Math.max;
1926
- var min = Math.min;
1927
-
1928
- // Helper for a popular repeating case of the spec:
1929
- // Let integer be ? ToInteger(index).
1930
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
1931
- module.exports = function (index, length) {
1932
- var integer = toIntegerOrInfinity(index);
1933
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
1934
- };
1935
-
1936
-
1937
- /***/ }),
1938
-
1939
- /***/ 5397:
1940
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1941
-
1942
-
1943
- // toObject with fallback for non-array-like ES3 strings
1944
- var IndexedObject = __webpack_require__(7055);
1945
- var requireObjectCoercible = __webpack_require__(7750);
1946
-
1947
- module.exports = function (it) {
1948
- return IndexedObject(requireObjectCoercible(it));
1949
- };
1950
-
1951
-
1952
- /***/ }),
1953
-
1954
- /***/ 1291:
1955
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1956
-
1957
-
1958
- var trunc = __webpack_require__(741);
1959
-
1960
- // `ToIntegerOrInfinity` abstract operation
1961
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
1962
- module.exports = function (argument) {
1963
- var number = +argument;
1964
- // eslint-disable-next-line no-self-compare -- NaN check
1965
- return number !== number || number === 0 ? 0 : trunc(number);
1966
- };
1967
-
1968
-
1969
- /***/ }),
1970
-
1971
- /***/ 8014:
1972
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1973
-
1974
-
1975
- var toIntegerOrInfinity = __webpack_require__(1291);
1976
-
1977
- var min = Math.min;
1978
-
1979
- // `ToLength` abstract operation
1980
- // https://tc39.es/ecma262/#sec-tolength
1981
- module.exports = function (argument) {
1982
- var len = toIntegerOrInfinity(argument);
1983
- return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
1984
- };
1985
-
1986
-
1987
- /***/ }),
1988
-
1989
- /***/ 8981:
1990
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1991
-
1992
-
1993
- var requireObjectCoercible = __webpack_require__(7750);
1994
-
1995
- var $Object = Object;
1996
-
1997
- // `ToObject` abstract operation
1998
- // https://tc39.es/ecma262/#sec-toobject
1999
- module.exports = function (argument) {
2000
- return $Object(requireObjectCoercible(argument));
2001
- };
2002
-
2003
-
2004
- /***/ }),
2005
-
2006
- /***/ 2777:
2007
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2008
-
2009
-
2010
- var call = __webpack_require__(9565);
2011
- var isObject = __webpack_require__(34);
2012
- var isSymbol = __webpack_require__(757);
2013
- var getMethod = __webpack_require__(5966);
2014
- var ordinaryToPrimitive = __webpack_require__(4270);
2015
- var wellKnownSymbol = __webpack_require__(8227);
2016
-
2017
- var $TypeError = TypeError;
2018
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
2019
-
2020
- // `ToPrimitive` abstract operation
2021
- // https://tc39.es/ecma262/#sec-toprimitive
2022
- module.exports = function (input, pref) {
2023
- if (!isObject(input) || isSymbol(input)) return input;
2024
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
2025
- var result;
2026
- if (exoticToPrim) {
2027
- if (pref === undefined) pref = 'default';
2028
- result = call(exoticToPrim, input, pref);
2029
- if (!isObject(result) || isSymbol(result)) return result;
2030
- throw new $TypeError("Can't convert object to primitive value");
2031
- }
2032
- if (pref === undefined) pref = 'number';
2033
- return ordinaryToPrimitive(input, pref);
2034
- };
2035
-
2036
-
2037
- /***/ }),
2038
-
2039
- /***/ 6969:
2040
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2041
-
2042
-
2043
- var toPrimitive = __webpack_require__(2777);
2044
- var isSymbol = __webpack_require__(757);
2045
-
2046
- // `ToPropertyKey` abstract operation
2047
- // https://tc39.es/ecma262/#sec-topropertykey
2048
- module.exports = function (argument) {
2049
- var key = toPrimitive(argument, 'string');
2050
- return isSymbol(key) ? key : key + '';
2051
- };
2052
-
2053
-
2054
- /***/ }),
2055
-
2056
- /***/ 2140:
2057
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2058
-
2059
-
2060
- var wellKnownSymbol = __webpack_require__(8227);
2061
-
2062
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
2063
- var test = {};
2064
- // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
2065
- test[TO_STRING_TAG] = 'z';
2066
-
2067
- module.exports = String(test) === '[object z]';
2068
-
2069
-
2070
- /***/ }),
2071
-
2072
- /***/ 6823:
2073
- /***/ (function(module) {
2074
-
2075
-
2076
- var $String = String;
2077
-
2078
- module.exports = function (argument) {
2079
- try {
2080
- return $String(argument);
2081
- } catch (error) {
2082
- return 'Object';
2083
- }
2084
- };
2085
-
2086
-
2087
- /***/ }),
2088
-
2089
- /***/ 3392:
2090
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2091
-
2092
-
2093
- var uncurryThis = __webpack_require__(9504);
2094
-
2095
- var id = 0;
2096
- var postfix = Math.random();
2097
- var toString = uncurryThis(1.1.toString);
2098
-
2099
- module.exports = function (key) {
2100
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
2101
- };
2102
-
2103
-
2104
- /***/ }),
2105
-
2106
- /***/ 7040:
2107
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2108
-
2109
-
2110
- /* eslint-disable es/no-symbol -- required for testing */
2111
- var NATIVE_SYMBOL = __webpack_require__(4495);
2112
-
2113
- module.exports = NATIVE_SYMBOL &&
2114
- !Symbol.sham &&
2115
- typeof Symbol.iterator == 'symbol';
2116
-
2117
-
2118
- /***/ }),
2119
-
2120
- /***/ 8686:
2121
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2122
-
2123
-
2124
- var DESCRIPTORS = __webpack_require__(3724);
2125
- var fails = __webpack_require__(9039);
2126
-
2127
- // V8 ~ Chrome 36-
2128
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
2129
- module.exports = DESCRIPTORS && fails(function () {
2130
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2131
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
2132
- value: 42,
2133
- writable: false
2134
- }).prototype !== 42;
2135
- });
2136
-
2137
-
2138
- /***/ }),
2139
-
2140
- /***/ 8622:
2141
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2142
-
2143
-
2144
- var globalThis = __webpack_require__(4576);
2145
- var isCallable = __webpack_require__(4901);
2146
-
2147
- var WeakMap = globalThis.WeakMap;
2148
-
2149
- module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
2150
-
2151
-
2152
- /***/ }),
2153
-
2154
- /***/ 8227:
2155
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2156
-
2157
-
2158
- var globalThis = __webpack_require__(4576);
2159
- var shared = __webpack_require__(5745);
2160
- var hasOwn = __webpack_require__(9297);
2161
- var uid = __webpack_require__(3392);
2162
- var NATIVE_SYMBOL = __webpack_require__(4495);
2163
- var USE_SYMBOL_AS_UID = __webpack_require__(7040);
2164
-
2165
- var Symbol = globalThis.Symbol;
2166
- var WellKnownSymbolsStore = shared('wks');
2167
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
2168
-
2169
- module.exports = function (name) {
2170
- if (!hasOwn(WellKnownSymbolsStore, name)) {
2171
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
2172
- ? Symbol[name]
2173
- : createWellKnownSymbol('Symbol.' + name);
2174
- } return WellKnownSymbolsStore[name];
2175
- };
2176
-
2177
-
2178
- /***/ }),
2179
-
2180
- /***/ 4423:
2181
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2182
-
2183
-
2184
- var $ = __webpack_require__(6518);
2185
- var $includes = (__webpack_require__(9617).includes);
2186
- var fails = __webpack_require__(9039);
2187
- var addToUnscopables = __webpack_require__(6469);
2188
-
2189
- // FF99+ bug
2190
- var BROKEN_ON_SPARSE = fails(function () {
2191
- // eslint-disable-next-line es/no-array-prototype-includes -- detection
2192
- return !Array(1).includes();
2193
- });
2194
-
2195
- // Safari 26.4- bug
2196
- var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
2197
- // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
2198
- return [, 1].includes(undefined, 1);
2199
- });
2200
-
2201
- // `Array.prototype.includes` method
2202
- // https://tc39.es/ecma262/#sec-array.prototype.includes
2203
- $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
2204
- includes: function includes(el /* , fromIndex = 0 */) {
2205
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
2206
- }
2207
- });
2208
-
2209
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2210
- addToUnscopables('includes');
2211
-
2212
-
2213
- /***/ }),
2214
-
2215
- /***/ 4114:
2216
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2217
-
2218
-
2219
- var $ = __webpack_require__(6518);
2220
- var toObject = __webpack_require__(8981);
2221
- var lengthOfArrayLike = __webpack_require__(6198);
2222
- var setArrayLength = __webpack_require__(4527);
2223
- var doesNotExceedSafeInteger = __webpack_require__(6837);
2224
- var fails = __webpack_require__(9039);
2225
-
2226
- var INCORRECT_TO_LENGTH = fails(function () {
2227
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
2228
- });
2229
-
2230
- // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
2231
- // https://bugs.chromium.org/p/v8/issues/detail?id=12681
2232
- var properErrorOnNonWritableLength = function () {
2233
- try {
2234
- // eslint-disable-next-line es/no-object-defineproperty -- safe
2235
- Object.defineProperty([], 'length', { writable: false }).push();
2236
- } catch (error) {
2237
- return error instanceof TypeError;
2
+ (function (root, factory) {
3
+ if (typeof module === 'object' && typeof module.exports === 'object') {
4
+ module.exports = factory(require('vue'), require('xe-utils'));
5
+ } else if (typeof define === 'function' && define.amd) {
6
+ define(['vue', 'xe-utils'], factory);
7
+ } else {
8
+ root = typeof globalThis !== 'undefined' ? globalThis : root || self;
9
+ root.VxeUI = factory(root.Vue, root.XEUtils);
2238
10
  }
2239
- };
2240
-
2241
- var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
11
+ })(this, function (vue, xe_utils) {
12
+ var _requires = {
13
+ 'vue': vue,
14
+ 'xe-utils': xe_utils
15
+ };
16
+ var require = function(name) {
17
+ if (_requires[name] !== undefined) return _requires[name];
18
+ if (typeof window !== 'undefined' && window[name]) return window[name];
19
+ if (typeof globalThis !== 'undefined' && globalThis[name]) return globalThis[name];
20
+ return _requires[name];
21
+ };
2242
22
 
2243
- // `Array.prototype.push` method
2244
- // https://tc39.es/ecma262/#sec-array.prototype.push
2245
- $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
2246
- // eslint-disable-next-line no-unused-vars -- required for `.length`
2247
- push: function push(item) {
2248
- var O = toObject(this);
2249
- var len = lengthOfArrayLike(O);
2250
- var argCount = arguments.length;
2251
- doesNotExceedSafeInteger(len + argCount);
2252
- for (var i = 0; i < argCount; i++) {
2253
- O[len] = arguments[i];
2254
- len++;
2255
- }
2256
- setArrayLength(O, len);
2257
- return len;
2258
- }
23
+ var module = { exports: {} };
24
+ var exports = module.exports;
25
+
26
+ "use strict";
27
+ var __create = Object.create;
28
+ var __defProp = Object.defineProperty;
29
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
30
+ var __getOwnPropNames = Object.getOwnPropertyNames;
31
+ var __getProtoOf = Object.getPrototypeOf;
32
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
33
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34
+ var __export = (target, all) => {
35
+ for (var name in all)
36
+ __defProp(target, name, { get: all[name], enumerable: true });
37
+ };
38
+ var __copyProps = (to, from, except, desc) => {
39
+ if (from && typeof from === "object" || typeof from === "function") {
40
+ for (let key of __getOwnPropNames(from))
41
+ if (!__hasOwnProp.call(to, key) && key !== except)
42
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
43
+ }
44
+ return to;
45
+ };
46
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
47
+ // If the importer is in node compatibility mode or this is not an ESM
48
+ // file that has been converted to a CommonJS file using a Babel-
49
+ // compatible transform (i.e. "__esModule" has not been set), then set
50
+ // "default" to the CommonJS "module.exports" for node compatibility.
51
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
52
+ mod
53
+ ));
54
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
55
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
56
+
57
+ // packages_temp/index.ts
58
+ var index_exports = {};
59
+ __export(index_exports, {
60
+ GLOBAL_EVENT_KEYS: () => GLOBAL_EVENT_KEYS,
61
+ VxeCore: () => VxeCore,
62
+ VxeUI: () => VxeUI,
63
+ baseUtils: () => baseUtils,
64
+ checkVersion: () => checkVersion,
65
+ clipboard: () => clipboard,
66
+ commands: () => commands,
67
+ component: () => component,
68
+ coreVersion: () => coreVersion,
69
+ createEvent: () => createEvent,
70
+ dbUtils: () => dbUtils,
71
+ default: () => index_default,
72
+ domUtils: () => domUtils,
73
+ formats: () => formats,
74
+ getComponent: () => getComponent,
75
+ getConfig: () => getConfig,
76
+ getI18n: () => getI18n,
77
+ getIcon: () => getIcon,
78
+ getLanguage: () => getLanguage,
79
+ getSlotVNs: () => getSlotVNs,
80
+ getTheme: () => getTheme,
81
+ globalEvents: () => globalEvents,
82
+ globalMixins: () => globalMixins,
83
+ globalResize: () => globalResize,
84
+ globalStore: () => globalStore,
85
+ handleCheckInfo: () => handleCheckInfo,
86
+ hasComponent: () => hasComponent,
87
+ hasLanguage: () => hasLanguage,
88
+ initVScrollbarMixin: () => initVScrollbarMixin,
89
+ interceptor: () => interceptor,
90
+ log: () => log,
91
+ menus: () => menus,
92
+ permission: () => permission,
93
+ permissionMixin: () => permissionMixin,
94
+ popperUtils: () => popperUtils,
95
+ renderCustomIcon: () => renderCustomIcon,
96
+ renderEmptyElement: () => renderEmptyElement,
97
+ renderGlobalIcon: () => renderGlobalIcon,
98
+ renderer: () => renderer,
99
+ scrollbarUtils: () => scrollbarUtils,
100
+ setConfig: () => setConfig,
101
+ setI18n: () => setI18n,
102
+ setIcon: () => setIcon,
103
+ setLanguage: () => setLanguage,
104
+ setTheme: () => setTheme,
105
+ sizeMixin: () => sizeMixin,
106
+ use: () => use,
107
+ vScrollbarMixin: () => vScrollbarMixin,
108
+ validators: () => validators,
109
+ zIndex: () => zIndex
2259
110
  });
111
+ module.exports = __toCommonJS(index_exports);
2260
112
 
2261
-
2262
- /***/ }),
2263
-
2264
- /***/ 8111:
2265
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2266
-
2267
-
2268
- var $ = __webpack_require__(6518);
2269
- var globalThis = __webpack_require__(4576);
2270
- var anInstance = __webpack_require__(679);
2271
- var anObject = __webpack_require__(8551);
2272
- var isCallable = __webpack_require__(4901);
2273
- var getPrototypeOf = __webpack_require__(2787);
2274
- var defineBuiltInAccessor = __webpack_require__(2106);
2275
- var createProperty = __webpack_require__(4659);
2276
- var fails = __webpack_require__(9039);
2277
- var hasOwn = __webpack_require__(9297);
2278
- var wellKnownSymbol = __webpack_require__(8227);
2279
- var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
2280
- var DESCRIPTORS = __webpack_require__(3724);
2281
- var IS_PURE = __webpack_require__(6395);
2282
-
2283
- var CONSTRUCTOR = 'constructor';
2284
- var ITERATOR = 'Iterator';
2285
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
2286
-
2287
- var $TypeError = TypeError;
2288
- var NativeIterator = globalThis[ITERATOR];
2289
-
2290
- // FF56- have non-standard global helper `Iterator`
2291
- var FORCED = IS_PURE
2292
- || !isCallable(NativeIterator)
2293
- || NativeIterator.prototype !== IteratorPrototype
2294
- // FF44- non-standard `Iterator` passes previous tests
2295
- || !fails(function () { NativeIterator({}); });
2296
-
2297
- var IteratorConstructor = function Iterator() {
2298
- anInstance(this, IteratorPrototype);
2299
- if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
2300
- };
2301
-
2302
- var defineIteratorPrototypeAccessor = function (key, value) {
2303
- if (DESCRIPTORS) {
2304
- defineBuiltInAccessor(IteratorPrototype, key, {
2305
- configurable: true,
2306
- get: function () {
2307
- return value;
2308
- },
2309
- set: function (replacement) {
2310
- anObject(this);
2311
- if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
2312
- if (hasOwn(this, key)) this[key] = replacement;
2313
- else createProperty(this, key, replacement);
2314
- }
2315
- });
2316
- } else IteratorPrototype[key] = value;
113
+ // packages_temp/src/core.ts
114
+ var coreVersion = "3.5.1";
115
+ var VxeCore = {
116
+ coreVersion,
117
+ uiVersion: "",
118
+ tableVersion: "",
119
+ designVersion: "",
120
+ ganttVersion: ""
2317
121
  };
2318
122
 
2319
- if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
2320
-
2321
- if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
2322
- defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
2323
- }
2324
-
2325
- IteratorConstructor.prototype = IteratorPrototype;
2326
-
2327
- // `Iterator` constructor
2328
- // https://tc39.es/ecma262/#sec-iterator
2329
- $({ global: true, constructor: true, forced: FORCED }, {
2330
- Iterator: IteratorConstructor
2331
- });
2332
-
2333
-
2334
- /***/ }),
2335
-
2336
- /***/ 7588:
2337
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2338
-
2339
-
2340
- var $ = __webpack_require__(6518);
2341
- var call = __webpack_require__(9565);
2342
- var iterate = __webpack_require__(2652);
2343
- var aCallable = __webpack_require__(9306);
2344
- var anObject = __webpack_require__(8551);
2345
- var getIteratorDirect = __webpack_require__(1767);
2346
- var iteratorClose = __webpack_require__(9539);
2347
- var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
2348
-
2349
- var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);
2350
-
2351
- // `Iterator.prototype.forEach` method
2352
- // https://tc39.es/ecma262/#sec-iterator.prototype.foreach
2353
- $({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
2354
- forEach: function forEach(fn) {
2355
- anObject(this);
2356
- try {
2357
- aCallable(fn);
2358
- } catch (error) {
2359
- iteratorClose(this, 'throw', error);
2360
- }
2361
-
2362
- if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
2363
-
2364
- var record = getIteratorDirect(this);
2365
- var counter = 0;
2366
- iterate(record, function (value) {
2367
- fn(value, counter++);
2368
- }, { IS_RECORD: true });
2369
- }
2370
- });
2371
-
2372
-
2373
- /***/ }),
2374
-
2375
- /***/ 3579:
2376
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2377
-
2378
-
2379
- var $ = __webpack_require__(6518);
2380
- var call = __webpack_require__(9565);
2381
- var iterate = __webpack_require__(2652);
2382
- var aCallable = __webpack_require__(9306);
2383
- var anObject = __webpack_require__(8551);
2384
- var getIteratorDirect = __webpack_require__(1767);
2385
- var iteratorClose = __webpack_require__(9539);
2386
- var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
2387
-
2388
- var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError);
2389
-
2390
- // `Iterator.prototype.some` method
2391
- // https://tc39.es/ecma262/#sec-iterator.prototype.some
2392
- $({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
2393
- some: function some(predicate) {
2394
- anObject(this);
2395
- try {
2396
- aCallable(predicate);
2397
- } catch (error) {
2398
- iteratorClose(this, 'throw', error);
2399
- }
2400
-
2401
- if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
2402
-
2403
- var record = getIteratorDirect(this);
2404
- var counter = 0;
2405
- return iterate(record, function (value, stop) {
2406
- if (predicate(value, counter++)) return stop();
2407
- }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
2408
- }
2409
- });
2410
-
2411
-
2412
- /***/ })
2413
-
2414
- /******/ });
2415
- /************************************************************************/
2416
- /******/ // The module cache
2417
- /******/ var __webpack_module_cache__ = {};
2418
- /******/
2419
- /******/ // The require function
2420
- /******/ function __webpack_require__(moduleId) {
2421
- /******/ // Check if module is in cache
2422
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
2423
- /******/ if (cachedModule !== undefined) {
2424
- /******/ return cachedModule.exports;
2425
- /******/ }
2426
- /******/ // Create a new module (and put it into the cache)
2427
- /******/ var module = __webpack_module_cache__[moduleId] = {
2428
- /******/ // no module.id needed
2429
- /******/ // no module.loaded needed
2430
- /******/ exports: {}
2431
- /******/ };
2432
- /******/
2433
- /******/ // Execute the module function
2434
- /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
2435
- /******/
2436
- /******/ // Return the exports of the module
2437
- /******/ return module.exports;
2438
- /******/ }
2439
- /******/
2440
- /************************************************************************/
2441
- /******/ /* webpack/runtime/compat get default export */
2442
- /******/ !function() {
2443
- /******/ // getDefaultExport function for compatibility with non-harmony modules
2444
- /******/ __webpack_require__.n = function(module) {
2445
- /******/ var getter = module && module.__esModule ?
2446
- /******/ function() { return module['default']; } :
2447
- /******/ function() { return module; };
2448
- /******/ __webpack_require__.d(getter, { a: getter });
2449
- /******/ return getter;
2450
- /******/ };
2451
- /******/ }();
2452
- /******/
2453
- /******/ /* webpack/runtime/define property getters */
2454
- /******/ !function() {
2455
- /******/ // define getter functions for harmony exports
2456
- /******/ __webpack_require__.d = function(exports, definition) {
2457
- /******/ for(var key in definition) {
2458
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
2459
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
2460
- /******/ }
2461
- /******/ }
2462
- /******/ };
2463
- /******/ }();
2464
- /******/
2465
- /******/ /* webpack/runtime/global */
2466
- /******/ !function() {
2467
- /******/ __webpack_require__.g = (function() {
2468
- /******/ if (typeof globalThis === 'object') return globalThis;
2469
- /******/ try {
2470
- /******/ return this || new Function('return this')();
2471
- /******/ } catch (e) {
2472
- /******/ if (typeof window === 'object') return window;
2473
- /******/ }
2474
- /******/ })();
2475
- /******/ }();
2476
- /******/
2477
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
2478
- /******/ !function() {
2479
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
2480
- /******/ }();
2481
- /******/
2482
- /******/ /* webpack/runtime/make namespace object */
2483
- /******/ !function() {
2484
- /******/ // define __esModule on exports
2485
- /******/ __webpack_require__.r = function(exports) {
2486
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
2487
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2488
- /******/ }
2489
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
2490
- /******/ };
2491
- /******/ }();
2492
- /******/
2493
- /******/ /* webpack/runtime/publicPath */
2494
- /******/ !function() {
2495
- /******/ __webpack_require__.p = "";
2496
- /******/ }();
2497
- /******/
2498
- /************************************************************************/
2499
- var __webpack_exports__ = {};
2500
- // ESM COMPAT FLAG
2501
- __webpack_require__.r(__webpack_exports__);
2502
-
2503
- // EXPORTS
2504
- __webpack_require__.d(__webpack_exports__, {
2505
- GLOBAL_EVENT_KEYS: function() { return /* reexport */ GLOBAL_EVENT_KEYS; },
2506
- VxeCore: function() { return /* reexport */ VxeCore; },
2507
- VxeUI: function() { return /* reexport */ VxeUI; },
2508
- baseUtils: function() { return /* reexport */ baseUtils; },
2509
- checkVersion: function() { return /* reexport */ checkVersion; },
2510
- clipboard: function() { return /* reexport */ clipboard; },
2511
- commands: function() { return /* reexport */ commands; },
2512
- component: function() { return /* reexport */ component; },
2513
- coreVersion: function() { return /* reexport */ coreVersion; },
2514
- createEvent: function() { return /* reexport */ createEvent; },
2515
- "default": function() { return /* binding */ entry_lib; },
2516
- domUtils: function() { return /* reexport */ domUtils; },
2517
- formats: function() { return /* reexport */ formats; },
2518
- getComponent: function() { return /* reexport */ getComponent; },
2519
- getConfig: function() { return /* reexport */ getConfig; },
2520
- getI18n: function() { return /* reexport */ getI18n; },
2521
- getIcon: function() { return /* reexport */ getIcon; },
2522
- getLanguage: function() { return /* reexport */ getLanguage; },
2523
- getSlotVNs: function() { return /* reexport */ getSlotVNs; },
2524
- getTheme: function() { return /* reexport */ getTheme; },
2525
- globalEvents: function() { return /* reexport */ globalEvents; },
2526
- globalMixins: function() { return /* reexport */ globalMixins; },
2527
- globalResize: function() { return /* reexport */ globalResize; },
2528
- globalStore: function() { return /* reexport */ globalStore; },
2529
- handleCheckInfo: function() { return /* reexport */ handleCheckInfo; },
2530
- hasComponent: function() { return /* reexport */ hasComponent; },
2531
- hasLanguage: function() { return /* reexport */ hasLanguage; },
2532
- initVScrollbarMixin: function() { return /* reexport */ initVScrollbarMixin; },
2533
- interceptor: function() { return /* reexport */ interceptor; },
2534
- log: function() { return /* reexport */ log; },
2535
- menus: function() { return /* reexport */ menus; },
2536
- permission: function() { return /* reexport */ permission; },
2537
- permissionMixin: function() { return /* reexport */ permissionMixin; },
2538
- popperUtils: function() { return /* reexport */ popperUtils; },
2539
- renderCustomIcon: function() { return /* reexport */ renderCustomIcon; },
2540
- renderEmptyElement: function() { return /* reexport */ renderEmptyElement; },
2541
- renderGlobalIcon: function() { return /* reexport */ renderGlobalIcon; },
2542
- renderer: function() { return /* reexport */ renderer; },
2543
- scrollbarUtils: function() { return /* reexport */ scrollbarUtils; },
2544
- setConfig: function() { return /* reexport */ setConfig; },
2545
- setI18n: function() { return /* reexport */ setI18n; },
2546
- setIcon: function() { return /* reexport */ setIcon; },
2547
- setLanguage: function() { return /* reexport */ setLanguage; },
2548
- setTheme: function() { return /* reexport */ setTheme; },
2549
- sizeMixin: function() { return /* reexport */ sizeMixin; },
2550
- use: function() { return /* reexport */ use; },
2551
- vScrollbarMixin: function() { return /* reexport */ vScrollbarMixin; },
2552
- validators: function() { return /* reexport */ validators; },
2553
- zIndex: function() { return /* reexport */ zIndex; }
2554
- });
2555
-
2556
- ;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
2557
- /* eslint-disable no-var */
2558
- // This file is imported into lib/wc client bundles.
2559
-
2560
- if (typeof window !== 'undefined') {
2561
- var currentScript = window.document.currentScript
2562
- if (false) // removed by dead control flow
2563
- { var getCurrentScript; }
2564
-
2565
- var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
2566
- if (src) {
2567
- __webpack_require__.p = src[1] // eslint-disable-line
2568
- }
2569
- }
2570
-
2571
- // Indicate to webpack that this file can be concatenated
2572
- /* harmony default export */ var setPublicPath = (null);
123
+ // packages_temp/src/config.ts
124
+ var import_xe_utils = __toESM(require("xe-utils"));
2573
125
 
2574
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
2575
- var es_array_push = __webpack_require__(4114);
2576
- ;// ./packages/src/core.ts
2577
- const coreVersion = "3.4.42";
2578
- const VxeCore = {
2579
- coreVersion,
2580
- uiVersion: '',
2581
- tableVersion: '',
2582
- designVersion: '',
2583
- ganttVersion: ''
2584
- };
2585
- // EXTERNAL MODULE: external {"root":"XEUtils","commonjs":"xe-utils","commonjs2":"xe-utils","amd":"xe-utils"}
2586
- var external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_ = __webpack_require__(8871);
2587
- var external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_);
2588
- ;// ./node_modules/dom-zindex/es/index.esm.js
126
+ // node_modules/dom-zindex/es/index.esm.js
2589
127
  var winDom = null;
2590
128
  var bodyEl = null;
2591
129
  var storeEl = null;
2592
- var storeId = 'z-index-manage';
130
+ var storeId = "z-index-manage";
2593
131
  var styleEl = null;
2594
- var styleId = 'z-index-style';
2595
- var storeMainKey = 'm';
2596
- var storeSubKey = 's';
132
+ var styleId = "z-index-style";
133
+ var storeMainKey = "m";
134
+ var storeSubKey = "s";
2597
135
  var storeData = {
2598
- m: 1000,
2599
- s: 1000
136
+ m: 1e3,
137
+ s: 1e3
2600
138
  };
2601
139
  function getDocument() {
2602
140
  if (!winDom) {
2603
- if (typeof document !== 'undefined') {
141
+ if (typeof document !== "undefined") {
2604
142
  winDom = document;
2605
143
  }
2606
144
  }
@@ -2608,7 +146,7 @@ function getDocument() {
2608
146
  }
2609
147
  function getBody() {
2610
148
  if (winDom && !bodyEl) {
2611
- bodyEl = winDom.body || winDom.getElementsByTagName('body')[0];
149
+ bodyEl = winDom.body || winDom.getElementsByTagName("body")[0];
2612
150
  }
2613
151
  return bodyEl;
2614
152
  }
@@ -2618,13 +156,13 @@ function getDomMaxZIndex() {
2618
156
  if (dom) {
2619
157
  var body = getBody();
2620
158
  if (body) {
2621
- var allElem = body.getElementsByTagName('*');
159
+ var allElem = body.getElementsByTagName("*");
2622
160
  for (var i = 0; i < allElem.length; i++) {
2623
161
  var elem = allElem[i];
2624
162
  if (elem && elem.style && elem.nodeType === 1) {
2625
- var zIndex = elem.style.zIndex;
2626
- if (zIndex && /^\d+$/.test(zIndex)) {
2627
- max = Math.max(max, Number(zIndex));
163
+ var zIndex2 = elem.style.zIndex;
164
+ if (zIndex2 && /^\d+$/.test(zIndex2)) {
165
+ max = Math.max(max, Number(zIndex2));
2628
166
  }
2629
167
  }
2630
168
  }
@@ -2638,9 +176,9 @@ function getStyle() {
2638
176
  if (dom) {
2639
177
  styleEl = dom.getElementById(styleId);
2640
178
  if (!styleEl) {
2641
- styleEl = dom.createElement('style');
179
+ styleEl = dom.createElement("style");
2642
180
  styleEl.id = styleId;
2643
- dom.getElementsByTagName('head')[0].appendChild(styleEl);
181
+ dom.getElementsByTagName("head")[0].appendChild(styleEl);
2644
182
  }
2645
183
  }
2646
184
  }
@@ -2649,9 +187,9 @@ function getStyle() {
2649
187
  function updateVar() {
2650
188
  var styEl = getStyle();
2651
189
  if (styEl) {
2652
- var prefixes = '--dom-';
2653
- var propKey = '-z-index';
2654
- styEl.innerHTML = ':root{' + prefixes + 'main' + propKey + ':' + getCurrent() + ';' + prefixes + 'sub' + propKey + ':' + getSubCurrent() + '}';
190
+ var prefixes = "--dom-";
191
+ var propKey = "-z-index";
192
+ styEl.innerHTML = ":root{" + prefixes + "main" + propKey + ":" + getCurrent() + ";" + prefixes + "sub" + propKey + ":" + getSubCurrent() + "}";
2655
193
  }
2656
194
  }
2657
195
  function getStoreDom() {
@@ -2662,9 +200,9 @@ function getStoreDom() {
2662
200
  if (!storeEl) {
2663
201
  var body = getBody();
2664
202
  if (body) {
2665
- storeEl = dom.createElement('div');
203
+ storeEl = dom.createElement("div");
2666
204
  storeEl.id = storeId;
2667
- storeEl.style.display = 'none';
205
+ storeEl.style.display = "none";
2668
206
  body.appendChild(storeEl);
2669
207
  setCurrent(storeData.m);
2670
208
  setSubCurrent(storeData.s);
@@ -2675,16 +213,16 @@ function getStoreDom() {
2675
213
  return storeEl;
2676
214
  }
2677
215
  function createSetHandle(key) {
2678
- return function (value) {
216
+ return function(value) {
2679
217
  if (value) {
2680
218
  value = Number(value);
2681
219
  storeData[key] = value;
2682
220
  var el = getStoreDom();
2683
221
  if (el) {
2684
222
  if (el.dataset) {
2685
- el.dataset[key] = value + '';
223
+ el.dataset[key] = value + "";
2686
224
  } else {
2687
- el.setAttribute('data-' + key, value + '');
225
+ el.setAttribute("data-" + key, value + "");
2688
226
  }
2689
227
  }
2690
228
  }
@@ -2694,25 +232,25 @@ function createSetHandle(key) {
2694
232
  }
2695
233
  var setCurrent = createSetHandle(storeMainKey);
2696
234
  function createGetHandle(key, nextMethod) {
2697
- return function getCurrent(currZindex) {
2698
- var zIndex;
235
+ return function getCurrent2(currZindex) {
236
+ var zIndex2;
2699
237
  var el = getStoreDom();
2700
238
  if (el) {
2701
- var domVal = el.dataset ? el.dataset[key] : el.getAttribute('data-' + key);
239
+ var domVal = el.dataset ? el.dataset[key] : el.getAttribute("data-" + key);
2702
240
  if (domVal) {
2703
- zIndex = Number(domVal);
241
+ zIndex2 = Number(domVal);
2704
242
  }
2705
243
  }
2706
- if (!zIndex) {
2707
- zIndex = storeData[key];
244
+ if (!zIndex2) {
245
+ zIndex2 = storeData[key];
2708
246
  }
2709
247
  if (currZindex) {
2710
- if (Number(currZindex) < zIndex) {
248
+ if (Number(currZindex) < zIndex2) {
2711
249
  return nextMethod();
2712
250
  }
2713
251
  return currZindex;
2714
252
  }
2715
- return zIndex;
253
+ return zIndex2;
2716
254
  };
2717
255
  }
2718
256
  var getCurrent = createGetHandle(storeMainKey, getNext);
@@ -2728,41 +266,39 @@ function getSubNext() {
2728
266
  setSubCurrent(_getSubCurrent() + 1);
2729
267
  return getSubCurrent();
2730
268
  }
2731
- /**
2732
- * Web common z-index style management
2733
- */
2734
269
  var DomZIndex = {
2735
- setCurrent: setCurrent,
2736
- getCurrent: getCurrent,
2737
- getNext: getNext,
2738
- setSubCurrent: setSubCurrent,
2739
- getSubCurrent: getSubCurrent,
2740
- getSubNext: getSubNext,
270
+ setCurrent,
271
+ getCurrent,
272
+ getNext,
273
+ setSubCurrent,
274
+ getSubCurrent,
275
+ getSubNext,
2741
276
  getMax: getDomMaxZIndex
2742
277
  };
2743
278
  updateVar();
2744
- /* harmony default export */ var index_esm = (DomZIndex);
2745
- ;// ./packages/src/configStore.ts
2746
- const globalConfigStore = {
2747
- size: '',
279
+ var index_esm_default = DomZIndex;
280
+
281
+ // packages_temp/src/configStore.ts
282
+ var globalConfigStore = {
283
+ size: "",
2748
284
  version: 1,
2749
285
  zIndex: 999,
2750
286
  resizeInterval: 500
2751
287
  };
2752
- ;// ./packages/src/themeStore.ts
2753
- const themeConfigStore = {
2754
- theme: ''
2755
- };
2756
- ;// ./packages/src/theme.ts
2757
288
 
289
+ // packages_temp/src/themeStore.ts
290
+ var themeConfigStore = {
291
+ theme: ""
292
+ };
2758
293
 
294
+ // packages_temp/src/theme.ts
2759
295
  function setTheme(name) {
2760
- const theme = !name || name === 'default' ? 'light' : name;
296
+ const theme = !name || name === "default" ? "light" : name;
2761
297
  themeConfigStore.theme = theme;
2762
- if (typeof document !== 'undefined') {
298
+ if (typeof document !== "undefined") {
2763
299
  const documentElement = document.documentElement;
2764
300
  if (documentElement) {
2765
- documentElement.setAttribute('data-vxe-ui-theme', theme);
301
+ documentElement.setAttribute("data-vxe-ui-theme", theme);
2766
302
  }
2767
303
  }
2768
304
  return VxeCore;
@@ -2770,50 +306,43 @@ function setTheme(name) {
2770
306
  function getTheme() {
2771
307
  return themeConfigStore.theme;
2772
308
  }
2773
- ;// ./packages/src/config.ts
2774
-
2775
-
2776
309
 
2777
-
2778
-
2779
- /**
2780
- * 全局参数设置
2781
- */
310
+ // packages_temp/src/config.ts
2782
311
  function setConfig(options) {
2783
312
  if (options) {
2784
313
  if (options.zIndex) {
2785
- index_esm.setCurrent(options.zIndex);
314
+ index_esm_default.setCurrent(options.zIndex);
2786
315
  }
2787
316
  if (options.theme) {
2788
317
  setTheme(options.theme);
2789
318
  }
2790
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(globalConfigStore, options);
319
+ import_xe_utils.default.merge(globalConfigStore, options);
2791
320
  }
2792
321
  return VxeCore;
2793
322
  }
2794
- /**
2795
- * 获取全局参数
2796
- */
2797
323
  function getConfig(key, defaultValue) {
2798
- return arguments.length ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(globalConfigStore, key, defaultValue) : globalConfigStore;
324
+ return arguments.length ? import_xe_utils.default.get(globalConfigStore, key, defaultValue) : globalConfigStore;
2799
325
  }
2800
- ;// ./packages/src/dataStore.ts
2801
- const globalStore = {};
2802
- ;// ./packages/src/iconStore.ts
2803
- const iconConfigStore = {};
2804
- ;// ./packages/src/vm.ts
2805
326
 
327
+ // packages_temp/src/dataStore.ts
328
+ var globalStore = {};
329
+
330
+ // packages_temp/src/icon.ts
331
+ var import_xe_utils3 = __toESM(require("xe-utils"));
332
+
333
+ // packages_temp/src/iconStore.ts
334
+ var iconConfigStore = {};
335
+
336
+ // packages_temp/src/vm.ts
337
+ var import_xe_utils2 = __toESM(require("xe-utils"));
2806
338
  function getSlotVNs(vns) {
2807
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(vns)) {
339
+ if (import_xe_utils2.default.isArray(vns)) {
2808
340
  return vns;
2809
341
  }
2810
342
  return vns ? [vns] : [];
2811
343
  }
2812
- ;// ./packages/src/icon.ts
2813
-
2814
-
2815
-
2816
344
 
345
+ // packages_temp/src/icon.ts
2817
346
  function setIcon(options) {
2818
347
  if (options) {
2819
348
  Object.assign(iconConfigStore, options);
@@ -2821,104 +350,58 @@ function setIcon(options) {
2821
350
  return VxeCore;
2822
351
  }
2823
352
  function getIcon(key) {
2824
- return arguments.length ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(iconConfigStore, key) : iconConfigStore;
353
+ return arguments.length ? import_xe_utils3.default.get(iconConfigStore, key) : iconConfigStore;
2825
354
  }
2826
355
  function renderGlobalIcon(h, name) {
2827
356
  const icon = getIcon(name);
2828
357
  return renderCustomIcon(h, icon, name);
2829
358
  }
2830
359
  function renderCustomIcon(h, icon, name) {
2831
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(icon)) {
2832
- return h('span', {}, getSlotVNs(icon({
2833
- name
2834
- })));
360
+ if (import_xe_utils3.default.isFunction(icon)) {
361
+ return h("span", {}, getSlotVNs(icon({ name })));
2835
362
  }
2836
- return h('i', {
363
+ return h("i", {
2837
364
  class: icon
2838
365
  });
2839
366
  }
2840
- ;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
2841
- function _typeof(o) {
2842
- "@babel/helpers - typeof";
2843
-
2844
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
2845
- return typeof o;
2846
- } : function (o) {
2847
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
2848
- }, _typeof(o);
2849
- }
2850
-
2851
- ;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
2852
-
2853
- function toPrimitive(t, r) {
2854
- if ("object" != _typeof(t) || !t) return t;
2855
- var e = t[Symbol.toPrimitive];
2856
- if (void 0 !== e) {
2857
- var i = e.call(t, r || "default");
2858
- if ("object" != _typeof(i)) return i;
2859
- throw new TypeError("@@toPrimitive must return a primitive value.");
2860
- }
2861
- return ("string" === r ? String : Number)(t);
2862
- }
2863
-
2864
- ;// ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
2865
-
2866
-
2867
- function toPropertyKey(t) {
2868
- var i = toPrimitive(t, "string");
2869
- return "symbol" == _typeof(i) ? i : i + "";
2870
- }
2871
-
2872
- ;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
2873
-
2874
- function _defineProperty(e, r, t) {
2875
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
2876
- value: t,
2877
- enumerable: !0,
2878
- configurable: !0,
2879
- writable: !0
2880
- }) : e[r] = t, e;
2881
- }
2882
-
2883
- ;// ./packages/src/event.ts
2884
-
2885
-
2886
367
 
2887
- const GLOBAL_EVENT_KEYS = {
2888
- F2: 'F2',
2889
- F10: 'F10',
2890
- TAB: 'Tab',
2891
- ESCAPE: 'Escape',
2892
- ENTER: 'Enter',
2893
- DELETE: 'Delete',
2894
- BACKSPACE: 'Backspace',
2895
- SPACEBAR: ' ',
2896
- CONTEXT_MENU: 'ContextMenu',
2897
- ARROW_UP: 'ArrowUp',
2898
- ARROW_DOWN: 'ArrowDown',
2899
- ARROW_LEFT: 'ArrowLeft',
2900
- ARROW_RIGHT: 'ArrowRight',
2901
- PAGE_UP: 'PageUp',
2902
- PAGE_DOWN: 'PageDown',
2903
- HOME: 'Home',
2904
- END: 'End',
2905
- PROCESS: 'Process',
2906
- A: 'A',
2907
- X: 'X',
2908
- C: 'C',
2909
- V: 'V',
2910
- D: 'D',
2911
- F: 'F',
2912
- H: 'H',
2913
- M: 'M',
2914
- Y: 'Y',
2915
- Z: 'Z',
2916
- R: 'R',
2917
- P: 'P'
2918
- };
2919
- const browse = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().browse();
2920
- const convertEventKeys = {
2921
- ' ': 'Spacebar',
368
+ // packages_temp/src/event.ts
369
+ var import_xe_utils4 = __toESM(require("xe-utils"));
370
+ var GLOBAL_EVENT_KEYS = {
371
+ F2: "F2",
372
+ F10: "F10",
373
+ TAB: "Tab",
374
+ ESCAPE: "Escape",
375
+ ENTER: "Enter",
376
+ DELETE: "Delete",
377
+ BACKSPACE: "Backspace",
378
+ SPACEBAR: " ",
379
+ CONTEXT_MENU: "ContextMenu",
380
+ ARROW_UP: "ArrowUp",
381
+ ARROW_DOWN: "ArrowDown",
382
+ ARROW_LEFT: "ArrowLeft",
383
+ ARROW_RIGHT: "ArrowRight",
384
+ PAGE_UP: "PageUp",
385
+ PAGE_DOWN: "PageDown",
386
+ HOME: "Home",
387
+ END: "End",
388
+ PROCESS: "Process",
389
+ A: "A",
390
+ X: "X",
391
+ C: "C",
392
+ V: "V",
393
+ D: "D",
394
+ F: "F",
395
+ H: "H",
396
+ M: "M",
397
+ Y: "Y",
398
+ Z: "Z",
399
+ R: "R",
400
+ P: "P"
401
+ };
402
+ var browse = import_xe_utils4.default.browse();
403
+ var convertEventKeys = {
404
+ " ": "Spacebar",
2922
405
  Apps: GLOBAL_EVENT_KEYS.CONTEXT_MENU,
2923
406
  Del: GLOBAL_EVENT_KEYS.DELETE,
2924
407
  Up: GLOBAL_EVENT_KEYS.ARROW_UP,
@@ -2926,29 +409,24 @@ const convertEventKeys = {
2926
409
  Left: GLOBAL_EVENT_KEYS.ARROW_LEFT,
2927
410
  Right: GLOBAL_EVENT_KEYS.ARROW_RIGHT
2928
411
  };
2929
- // 监听全局事件
2930
- const wheelName = browse.firefox ? 'DOMMouseScroll' : 'mousewheel';
2931
- const eventStore = [];
412
+ var wheelName = browse.firefox ? "DOMMouseScroll" : "mousewheel";
413
+ var eventStore = [];
2932
414
  function triggerEvent(evnt) {
2933
415
  const isWheel = evnt.type === wheelName;
2934
- eventStore.forEach(({
2935
- type,
2936
- cb
2937
- }) => {
2938
- // 如果被取消冒泡,不再执行
416
+ eventStore.forEach(({ type, cb }) => {
2939
417
  if (!evnt.cancelBubble) {
2940
- if (type === evnt.type || isWheel && type === 'mousewheel') {
418
+ if (type === evnt.type || isWheel && type === "mousewheel") {
2941
419
  cb(evnt);
2942
420
  }
2943
421
  }
2944
422
  });
2945
423
  }
2946
- class VxeComponentEvent {
424
+ var VxeComponentEvent = class {
2947
425
  constructor(evnt, params1, params2) {
2948
- _defineProperty(this, "$event", void 0);
2949
- _defineProperty(this, "type", '');
2950
- _defineProperty(this, "key", '');
2951
- _defineProperty(this, "code", '');
426
+ __publicField(this, "$event");
427
+ __publicField(this, "type", "");
428
+ __publicField(this, "key", "");
429
+ __publicField(this, "code", "");
2952
430
  this.$event = evnt;
2953
431
  if (evnt) {
2954
432
  if (evnt.type) {
@@ -2962,8 +440,8 @@ class VxeComponentEvent {
2962
440
  }
2963
441
  }
2964
442
  Object.assign(this, params1);
2965
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(params2, (val, key) => {
2966
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(val)) {
443
+ import_xe_utils4.default.objectEach(params2, (val, key) => {
444
+ if (import_xe_utils4.default.isFunction(val)) {
2967
445
  let rest = null;
2968
446
  let isRun = false;
2969
447
  Object.defineProperty(this, key, {
@@ -2976,6 +454,7 @@ class VxeComponentEvent {
2976
454
  }
2977
455
  });
2978
456
  } else {
457
+ ;
2979
458
  this[key] = val;
2980
459
  }
2981
460
  });
@@ -2992,87 +471,55 @@ class VxeComponentEvent {
2992
471
  evnt.preventDefault();
2993
472
  }
2994
473
  }
2995
- }
2996
- const createEvent = (evnt, params1, params2) => {
474
+ };
475
+ var createEvent = (evnt, params1, params2) => {
2997
476
  if (evnt instanceof VxeComponentEvent) {
2998
477
  evnt = evnt.$event;
2999
478
  }
3000
479
  return new VxeComponentEvent(evnt, params1, params2);
3001
480
  };
3002
- const globalEvents = {
481
+ var globalEvents = {
3003
482
  on(comp, type, cb) {
3004
- eventStore.push({
3005
- comp,
3006
- type,
3007
- cb
3008
- });
483
+ eventStore.push({ comp, type, cb });
3009
484
  },
3010
485
  off(comp, type) {
3011
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(eventStore, item => item.comp === comp && item.type === type);
486
+ import_xe_utils4.default.remove(eventStore, (item) => item.comp === comp && item.type === type);
3012
487
  },
3013
488
  hasKey(evnt, targetKey) {
3014
489
  if (!targetKey) {
3015
490
  return false;
3016
491
  }
3017
- const {
3018
- key
3019
- } = evnt;
492
+ const { key } = evnt;
3020
493
  targetKey = targetKey.toLowerCase();
3021
494
  return key ? targetKey === key.toLowerCase() || !!(convertEventKeys[key] && convertEventKeys[key].toLowerCase() === targetKey) : false;
3022
495
  }
3023
496
  };
3024
497
  if (browse.isDoc) {
3025
498
  if (!browse.msie) {
3026
- window.addEventListener('copy', triggerEvent, false);
3027
- window.addEventListener('cut', triggerEvent, false);
3028
- window.addEventListener('paste', triggerEvent, false);
3029
- }
3030
- document.addEventListener('scroll', triggerEvent, true);
3031
- document.addEventListener('keydown', triggerEvent, false);
3032
- document.addEventListener('contextmenu', triggerEvent, false);
3033
- window.addEventListener('click', triggerEvent, false);
3034
- window.addEventListener('mousedown', triggerEvent, false);
3035
- window.addEventListener('blur', triggerEvent, false);
3036
- window.addEventListener('resize', triggerEvent, false);
3037
- window.addEventListener(wheelName, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().throttle(triggerEvent, 100, {
3038
- leading: true,
3039
- trailing: false
3040
- }), {
3041
- passive: true,
3042
- capture: false
3043
- });
3044
- }
3045
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
3046
- var es_iterator_constructor = __webpack_require__(8111);
3047
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
3048
- var es_iterator_for_each = __webpack_require__(7588);
3049
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
3050
- var es_iterator_some = __webpack_require__(3579);
3051
- ;// ./packages/src/resize.ts
3052
-
3053
-
3054
-
3055
-
3056
-
3057
-
3058
-
3059
- /**
3060
- * 监听 resize 事件
3061
- * 如果项目中已使用了 resize-observer-polyfill,那么只需要将方法定义全局,该组件就会自动使用
3062
- */
3063
- let resizeTimeout;
3064
- /* eslint-disable no-use-before-define */
3065
- const resize_eventStore = [];
3066
- const defaultInterval = 500;
499
+ window.addEventListener("copy", triggerEvent, false);
500
+ window.addEventListener("cut", triggerEvent, false);
501
+ window.addEventListener("paste", triggerEvent, false);
502
+ }
503
+ document.addEventListener("scroll", triggerEvent, true);
504
+ document.addEventListener("keydown", triggerEvent, false);
505
+ document.addEventListener("contextmenu", triggerEvent, false);
506
+ window.addEventListener("click", triggerEvent, false);
507
+ window.addEventListener("mousedown", triggerEvent, false);
508
+ window.addEventListener("blur", triggerEvent, false);
509
+ window.addEventListener("resize", triggerEvent, false);
510
+ window.addEventListener(wheelName, import_xe_utils4.default.throttle(triggerEvent, 100, { leading: true, trailing: false }), { passive: true, capture: false });
511
+ }
512
+
513
+ // packages_temp/src/resize.ts
514
+ var import_xe_utils5 = __toESM(require("xe-utils"));
515
+ var resizeTimeout;
516
+ var eventStore2 = [];
517
+ var defaultInterval = 500;
3067
518
  function eventHandle() {
3068
- if (resize_eventStore.length) {
3069
- resize_eventStore.forEach(item => {
3070
- item.tarList.forEach(observer => {
3071
- const {
3072
- target,
3073
- width,
3074
- heighe
3075
- } = observer;
519
+ if (eventStore2.length) {
520
+ eventStore2.forEach((item) => {
521
+ item.tarList.forEach((observer) => {
522
+ const { target, width, heighe } = observer;
3076
523
  const clientWidth = target.clientWidth;
3077
524
  const clientHeight = target.clientHeight;
3078
525
  const rWidth = clientWidth && width !== clientWidth;
@@ -3084,7 +531,6 @@ function eventHandle() {
3084
531
  }
3085
532
  });
3086
533
  });
3087
- /* eslint-disable @typescript-eslint/no-use-before-define */
3088
534
  eventListener();
3089
535
  }
3090
536
  }
@@ -3092,40 +538,38 @@ function eventListener() {
3092
538
  clearTimeout(resizeTimeout);
3093
539
  resizeTimeout = setTimeout(eventHandle, globalConfigStore.resizeInterval || defaultInterval);
3094
540
  }
3095
- class XEResizeObserver {
541
+ var XEResizeObserver = class {
3096
542
  constructor(callback) {
3097
- _defineProperty(this, "tarList", []);
3098
- _defineProperty(this, "callback", void 0);
543
+ __publicField(this, "tarList", []);
544
+ __publicField(this, "callback");
3099
545
  this.callback = callback;
3100
546
  }
3101
547
  observe(target) {
3102
548
  if (target) {
3103
- const {
3104
- tarList
3105
- } = this;
3106
- if (!tarList.some(observer => observer.target === target)) {
549
+ const { tarList } = this;
550
+ if (!tarList.some((observer) => observer.target === target)) {
3107
551
  tarList.push({
3108
552
  target,
3109
553
  width: target.clientWidth,
3110
554
  heighe: target.clientHeight
3111
555
  });
3112
556
  }
3113
- if (!resize_eventStore.length) {
557
+ if (!eventStore2.length) {
3114
558
  eventListener();
3115
559
  }
3116
- if (!resize_eventStore.some(item => item === this)) {
3117
- resize_eventStore.push(this);
560
+ if (!eventStore2.some((item) => item === this)) {
561
+ eventStore2.push(this);
3118
562
  }
3119
563
  }
3120
564
  }
3121
565
  unobserve(target) {
3122
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(resize_eventStore, item => item.tarList.some(observer => observer.target === target));
566
+ import_xe_utils5.default.remove(eventStore2, (item) => item.tarList.some((observer) => observer.target === target));
3123
567
  }
3124
568
  disconnect() {
3125
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(resize_eventStore, item => item === this);
569
+ import_xe_utils5.default.remove(eventStore2, (item) => item === this);
3126
570
  }
3127
- }
3128
- const globalResize = {
571
+ };
572
+ var globalResize = {
3129
573
  create(callback) {
3130
574
  if (window.ResizeObserver) {
3131
575
  return new window.ResizeObserver(callback);
@@ -3133,27 +577,25 @@ const globalResize = {
3133
577
  return new XEResizeObserver(callback);
3134
578
  }
3135
579
  };
3136
- // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
3137
- var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(9274);
3138
- var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
3139
- ;// ./packages/src/i18nStore.ts
3140
580
 
3141
- const I18nStore = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
581
+ // packages_temp/src/i18n.ts
582
+ var import_xe_utils6 = __toESM(require("xe-utils"));
583
+
584
+ // packages_temp/src/i18nStore.ts
585
+ var import_vue = __toESM(require("vue"));
586
+ var I18nStore = import_vue.default.extend({
3142
587
  data() {
3143
588
  return {
3144
- language: '',
589
+ language: "",
3145
590
  langMaps: {}
3146
591
  };
3147
592
  }
3148
593
  });
3149
- const i18nConfigStore = new I18nStore();
3150
- ;// ./packages/src/i18n.ts
3151
-
3152
-
594
+ var i18nConfigStore = new I18nStore();
3153
595
 
3154
-
3155
- let checkInstall = false;
3156
- let cacheMaps = {};
596
+ // packages_temp/src/i18n.ts
597
+ var checkInstall = false;
598
+ var cacheMaps = {};
3157
599
  function getDefaultExport(mod) {
3158
600
  if (mod && mod.__esModule) {
3159
601
  return mod.default;
@@ -3161,36 +603,29 @@ function getDefaultExport(mod) {
3161
603
  return mod;
3162
604
  }
3163
605
  function getI18n(key, args) {
3164
- const {
3165
- langMaps,
3166
- language
3167
- } = i18nConfigStore;
3168
- const {
3169
- i18n
3170
- } = globalConfigStore;
606
+ const { langMaps, language } = i18nConfigStore;
607
+ const { i18n } = globalConfigStore;
3171
608
  if (i18n) {
3172
- return `${i18n(key, args) || ''}`;
609
+ return `${i18n(key, args) || ""}`;
3173
610
  }
3174
611
  if (!checkInstall) {
3175
612
  if (!langMaps[language]) {
3176
- console.error(`[vxe core] 语言包未安装。Language not installed. https://${VxeCore.uiVersion ? 'vxeui.com' : 'vxetable.cn'}/#/start/i18n`);
613
+ console.error(`[vxe core] 语言包未安装。Language not installed. https://${VxeCore.uiVersion ? "vxeui.com" : "vxetable.cn"}/#/start/i18n`);
3177
614
  }
3178
615
  checkInstall = true;
3179
616
  }
3180
617
  if (!args && cacheMaps[key]) {
3181
618
  return cacheMaps[key];
3182
619
  }
3183
- const i18nLabel = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toFormatString(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(langMaps[language], key, key), args);
620
+ const i18nLabel = import_xe_utils6.default.toFormatString(import_xe_utils6.default.get(langMaps[language], key, key), args);
3184
621
  if (!args) {
3185
622
  cacheMaps[key] = i18nLabel;
3186
623
  }
3187
624
  return i18nLabel;
3188
625
  }
3189
626
  function setLanguage(locale) {
3190
- const {
3191
- language
3192
- } = i18nConfigStore;
3193
- const targetlang = locale || 'zh-CN';
627
+ const { language } = i18nConfigStore;
628
+ const targetlang = locale || "zh-CN";
3194
629
  if (language !== targetlang) {
3195
630
  i18nConfigStore.language = targetlang;
3196
631
  cacheMaps = {};
@@ -3198,54 +633,44 @@ function setLanguage(locale) {
3198
633
  return VxeCore;
3199
634
  }
3200
635
  function setI18n(locale, data) {
3201
- const {
3202
- langMaps
3203
- } = i18nConfigStore;
636
+ const { langMaps } = i18nConfigStore;
3204
637
  i18nConfigStore.langMaps = Object.assign({}, langMaps, {
3205
638
  [locale]: Object.assign({}, getDefaultExport(data))
3206
639
  });
3207
640
  return VxeCore;
3208
641
  }
3209
642
  function hasLanguage(language) {
3210
- const {
3211
- langMaps
3212
- } = i18nConfigStore;
643
+ const { langMaps } = i18nConfigStore;
3213
644
  return !!langMaps[language];
3214
645
  }
3215
646
  function getLanguage() {
3216
- const {
3217
- language
3218
- } = i18nConfigStore;
647
+ const { language } = i18nConfigStore;
3219
648
  return language;
3220
649
  }
3221
- ;// ./packages/src/log.ts
3222
650
 
651
+ // packages_temp/src/renderer.ts
652
+ var import_xe_utils7 = __toESM(require("xe-utils"));
653
+
654
+ // packages_temp/src/log.ts
3223
655
  function createLog(type, name) {
3224
- return function (key, args) {
3225
- const msg = `[vxe ${name || ''}] ${getI18n(key, args)}`;
656
+ return function(key, args) {
657
+ const msg = `[vxe ${name || ""}] ${getI18n(key, args)}`;
3226
658
  console[type](msg);
3227
659
  return msg;
3228
660
  };
3229
661
  }
3230
- const version = "3.4.42";
3231
- const log = {
662
+ var version = "3.5.1";
663
+ var log = {
3232
664
  create: createLog,
3233
- warn: createLog('warn', `v${version}`),
3234
- err: createLog('error', `v${version}`)
665
+ warn: createLog("warn", `v${version}`),
666
+ err: createLog("error", `v${version}`)
3235
667
  };
3236
- ;// ./packages/src/renderer.ts
3237
668
 
3238
-
3239
- /**
3240
- * 内置的组件渲染
3241
- */
3242
- const renderMap = {};
3243
- /**
3244
- * 全局渲染器
3245
- */
3246
- const renderer = {
669
+ // packages_temp/src/renderer.ts
670
+ var renderMap = {};
671
+ var renderer = {
3247
672
  mixin(opts) {
3248
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(opts, (options, name) => {
673
+ import_xe_utils7.default.each(opts, (options, name) => {
3249
674
  renderer.add(name, options);
3250
675
  });
3251
676
  return renderer;
@@ -3257,10 +682,9 @@ const renderer = {
3257
682
  if (name && options) {
3258
683
  const renders = renderMap[name];
3259
684
  if (renders) {
3260
- // 检测是否覆盖
3261
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (val, key) => {
3262
- if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(renders[key]) && renders[key] !== val) {
3263
- log.warn('vxe.error.coverProp', [`Renderer.${name}`, key]);
685
+ import_xe_utils7.default.each(options, (val, key) => {
686
+ if (!import_xe_utils7.default.eqNull(renders[key]) && renders[key] !== val) {
687
+ log.warn("vxe.error.coverProp", [`Renderer.${name}`, key]);
3264
688
  }
3265
689
  });
3266
690
  Object.assign(renders, options);
@@ -3271,7 +695,7 @@ const renderer = {
3271
695
  return renderer;
3272
696
  },
3273
697
  forEach(callback) {
3274
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(renderMap, callback);
698
+ import_xe_utils7.default.objectEach(renderMap, callback);
3275
699
  return renderer;
3276
700
  },
3277
701
  delete(name) {
@@ -3279,22 +703,15 @@ const renderer = {
3279
703
  return renderer;
3280
704
  }
3281
705
  };
3282
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
3283
- var es_array_includes = __webpack_require__(4423);
3284
- ;// ./packages/src/store.ts
3285
-
3286
706
 
3287
-
3288
-
3289
- /**
3290
- * 创建数据仓库
3291
- */
3292
- class Store {
707
+ // packages_temp/src/store.ts
708
+ var import_xe_utils8 = __toESM(require("xe-utils"));
709
+ var Store = class {
3293
710
  constructor() {
3294
- _defineProperty(this, "store", {});
711
+ __publicField(this, "store", {});
3295
712
  }
3296
713
  mixin(options) {
3297
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (item, key) => {
714
+ import_xe_utils8.default.each(options, (item, key) => {
3298
715
  this.add(key, item);
3299
716
  });
3300
717
  return this;
@@ -3307,41 +724,36 @@ class Store {
3307
724
  }
3308
725
  add(name, options) {
3309
726
  const conf = this.store[name];
3310
- // 检测是否覆盖
3311
- const confKeys = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(conf);
3312
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (item, key) => {
727
+ const confKeys = import_xe_utils8.default.keys(conf);
728
+ import_xe_utils8.default.each(options, (item, key) => {
3313
729
  if (confKeys.includes(key)) {
3314
- log.warn('vxe.error.coverProp', [name, key]);
730
+ log.warn("vxe.error.coverProp", [name, key]);
3315
731
  }
3316
732
  });
3317
- this.store[name] = conf ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(conf, options) : options;
733
+ this.store[name] = conf ? import_xe_utils8.default.merge(conf, options) : options;
3318
734
  return this;
3319
735
  }
3320
736
  delete(name) {
3321
737
  delete this.store[name];
3322
738
  }
3323
739
  forEach(callback) {
3324
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(this.store, callback);
740
+ import_xe_utils8.default.objectEach(this.store, callback);
3325
741
  }
3326
- }
3327
- /* harmony default export */ var store = (Store);
3328
- ;// ./packages/src/validators.ts
3329
-
3330
- const validators = new store();
3331
- Object.assign(validators, {
3332
- _name: 'Validators'
3333
- });
3334
- ;// ./packages/src/menus.ts
3335
-
3336
-
742
+ };
743
+ var store_default = Store;
3337
744
 
745
+ // packages_temp/src/validators.ts
746
+ var validators = new store_default();
747
+ Object.assign(validators, { _name: "Validators" });
3338
748
 
3339
- class VXEMenusStore {
749
+ // packages_temp/src/menus.ts
750
+ var import_xe_utils9 = __toESM(require("xe-utils"));
751
+ var VXEMenusStore = class {
3340
752
  constructor() {
3341
- _defineProperty(this, "store", {});
753
+ __publicField(this, "store", {});
3342
754
  }
3343
755
  mixin(options) {
3344
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (item, key) => {
756
+ import_xe_utils9.default.each(options, (item, key) => {
3345
757
  this.add(key, item);
3346
758
  });
3347
759
  return this;
@@ -3354,45 +766,39 @@ class VXEMenusStore {
3354
766
  }
3355
767
  add(name, render) {
3356
768
  const conf = this.store[name];
3357
- // 兼容
3358
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
3359
- log.warn('vxe.error.delProp', ['menus -> callback', 'menuMethod']);
769
+ if (import_xe_utils9.default.isFunction(render)) {
770
+ log.warn("vxe.error.delProp", ["menus -> callback", "menuMethod"]);
3360
771
  render = {
3361
772
  menuMethod: render
3362
773
  };
3363
774
  }
3364
- // 检测是否覆盖
3365
- const confKeys = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(conf);
3366
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(render, (item, key) => {
775
+ const confKeys = import_xe_utils9.default.keys(conf);
776
+ import_xe_utils9.default.each(render, (item, key) => {
3367
777
  if (confKeys.includes(key)) {
3368
- log.warn('vxe.error.coverProp', [name, key]);
778
+ log.warn("vxe.error.coverProp", [name, key]);
3369
779
  }
3370
780
  });
3371
- this.store[name] = conf ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(conf, render) : render;
781
+ this.store[name] = conf ? import_xe_utils9.default.merge(conf, render) : render;
3372
782
  return this;
3373
783
  }
3374
784
  delete(name) {
3375
785
  delete this.store[name];
3376
786
  }
3377
787
  forEach(callback) {
3378
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(this.store, callback);
788
+ import_xe_utils9.default.objectEach(this.store, callback);
3379
789
  }
3380
- }
3381
- const menus = new VXEMenusStore();
3382
- Object.assign(menus, {
3383
- _name: 'Menus'
3384
- });
3385
- ;// ./packages/src/formats.ts
3386
-
3387
-
3388
-
790
+ };
791
+ var menus = new VXEMenusStore();
792
+ Object.assign(menus, { _name: "Menus" });
3389
793
 
3390
- class VXEFormatsStore {
794
+ // packages_temp/src/formats.ts
795
+ var import_xe_utils10 = __toESM(require("xe-utils"));
796
+ var VXEFormatsStore = class {
3391
797
  constructor() {
3392
- _defineProperty(this, "store", {});
798
+ __publicField(this, "store", {});
3393
799
  }
3394
800
  mixin(options) {
3395
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (item, key) => {
801
+ import_xe_utils10.default.each(options, (item, key) => {
3396
802
  this.add(key, item);
3397
803
  });
3398
804
  return this;
@@ -3405,45 +811,39 @@ class VXEFormatsStore {
3405
811
  }
3406
812
  add(name, render) {
3407
813
  const conf = this.store[name];
3408
- // 兼容
3409
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
3410
- log.warn('vxe.error.delProp', ['formats -> callback', 'cellFormatMethod']);
814
+ if (import_xe_utils10.default.isFunction(render)) {
815
+ log.warn("vxe.error.delProp", ["formats -> callback", "cellFormatMethod"]);
3411
816
  render = {
3412
817
  cellFormatMethod: render
3413
818
  };
3414
819
  }
3415
- // 检测是否覆盖
3416
- const confKeys = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(conf);
3417
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(render, (item, key) => {
820
+ const confKeys = import_xe_utils10.default.keys(conf);
821
+ import_xe_utils10.default.each(render, (item, key) => {
3418
822
  if (confKeys.includes(key)) {
3419
- log.warn('vxe.error.coverProp', [name, key]);
823
+ log.warn("vxe.error.coverProp", [name, key]);
3420
824
  }
3421
825
  });
3422
- this.store[name] = conf ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(conf, render) : render;
826
+ this.store[name] = conf ? import_xe_utils10.default.merge(conf, render) : render;
3423
827
  return this;
3424
828
  }
3425
829
  delete(name) {
3426
830
  delete this.store[name];
3427
831
  }
3428
832
  forEach(callback) {
3429
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(this.store, callback);
833
+ import_xe_utils10.default.objectEach(this.store, callback);
3430
834
  }
3431
- }
3432
- const formats = new VXEFormatsStore();
3433
- Object.assign(formats, {
3434
- _name: 'Formats'
3435
- });
3436
- ;// ./packages/src/commands.ts
3437
-
3438
-
3439
-
835
+ };
836
+ var formats = new VXEFormatsStore();
837
+ Object.assign(formats, { _name: "Formats" });
3440
838
 
3441
- class VXECommandsStore {
839
+ // packages_temp/src/commands.ts
840
+ var import_xe_utils11 = __toESM(require("xe-utils"));
841
+ var VXECommandsStore = class {
3442
842
  constructor() {
3443
- _defineProperty(this, "store", {});
843
+ __publicField(this, "store", {});
3444
844
  }
3445
845
  mixin(options) {
3446
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (item, key) => {
846
+ import_xe_utils11.default.each(options, (item, key) => {
3447
847
  this.add(key, item);
3448
848
  });
3449
849
  return this;
@@ -3456,42 +856,37 @@ class VXECommandsStore {
3456
856
  }
3457
857
  add(name, render) {
3458
858
  const conf = this.store[name];
3459
- // 兼容
3460
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
3461
- log.warn('vxe.error.delProp', ['commands -> callback', 'commandMethod']);
859
+ if (import_xe_utils11.default.isFunction(render)) {
860
+ log.warn("vxe.error.delProp", ["commands -> callback", "commandMethod"]);
3462
861
  render = {
3463
862
  commandMethod: render
3464
863
  };
3465
864
  }
3466
- // 检测是否覆盖
3467
- const confKeys = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(conf);
3468
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(render, (item, key) => {
865
+ const confKeys = import_xe_utils11.default.keys(conf);
866
+ import_xe_utils11.default.each(render, (item, key) => {
3469
867
  if (confKeys.includes(key)) {
3470
- log.warn('vxe.error.coverProp', [name, key]);
868
+ log.warn("vxe.error.coverProp", [name, key]);
3471
869
  }
3472
870
  });
3473
- this.store[name] = conf ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(conf, render) : render;
871
+ this.store[name] = conf ? import_xe_utils11.default.merge(conf, render) : render;
3474
872
  return this;
3475
873
  }
3476
874
  delete(name) {
3477
875
  delete this.store[name];
3478
876
  }
3479
877
  forEach(callback) {
3480
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(this.store, callback);
878
+ import_xe_utils11.default.objectEach(this.store, callback);
3481
879
  }
3482
- }
3483
- const commands = new VXECommandsStore();
3484
- Object.assign(commands, {
3485
- _name: 'Commands'
3486
- });
3487
- ;// ./packages/src/interceptor.ts
3488
-
3489
-
880
+ };
881
+ var commands = new VXECommandsStore();
882
+ Object.assign(commands, { _name: "Commands" });
3490
883
 
3491
- const storeMap = {};
3492
- const interceptor = {
884
+ // packages_temp/src/interceptor.ts
885
+ var import_xe_utils12 = __toESM(require("xe-utils"));
886
+ var storeMap = {};
887
+ var interceptor = {
3493
888
  mixin(options) {
3494
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (render, type) => {
889
+ import_xe_utils12.default.each(options, (render, type) => {
3495
890
  interceptor.add(type, render);
3496
891
  });
3497
892
  return interceptor;
@@ -3503,9 +898,7 @@ const interceptor = {
3503
898
  return [];
3504
899
  },
3505
900
  add(type, render) {
3506
- // 兼容
3507
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
3508
- // log.warn('vxe.error.delProp', ['interceptor -> callback', 'tableInterceptorMethod'])
901
+ if (import_xe_utils12.default.isFunction(render)) {
3509
902
  render = {
3510
903
  tableInterceptorMethod: render
3511
904
  };
@@ -3516,9 +909,8 @@ const interceptor = {
3516
909
  if (!eList) {
3517
910
  eList = storeMap[type] = [];
3518
911
  }
3519
- // 检测重复
3520
912
  if (eList.indexOf(callback) > -1) {
3521
- log.warn('vxe.error.coverProp', ['Interceptor', type]);
913
+ log.warn("vxe.error.coverProp", ["Interceptor", type]);
3522
914
  }
3523
915
  eList.push(callback);
3524
916
  }
@@ -3527,44 +919,44 @@ const interceptor = {
3527
919
  delete(type, render) {
3528
920
  const eList = storeMap[type];
3529
921
  if (eList) {
3530
- // 兼容
3531
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
922
+ if (import_xe_utils12.default.isFunction(render)) {
3532
923
  render = {
3533
924
  tableInterceptorMethod: render
3534
925
  };
3535
926
  }
3536
927
  const callback = render ? render.tableInterceptorMethod : null;
3537
928
  if (callback) {
3538
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(eList, fn => fn === callback);
929
+ import_xe_utils12.default.remove(eList, (fn) => fn === callback);
3539
930
  } else {
3540
931
  delete storeMap[type];
3541
932
  }
3542
933
  }
3543
934
  }
3544
935
  };
3545
- ;// ./packages/src/clipboard.ts
3546
936
 
3547
- let copyElem;
3548
- const clipStore = {
3549
- text: '',
3550
- html: ''
937
+ // packages_temp/src/clipboard.ts
938
+ var import_xe_utils13 = __toESM(require("xe-utils"));
939
+ var copyElem;
940
+ var clipStore = {
941
+ text: "",
942
+ html: ""
3551
943
  };
3552
944
  function handleText(text) {
3553
945
  if (!copyElem) {
3554
- copyElem = document.createElement('textarea');
3555
- copyElem.id = '$VxeCopy';
946
+ copyElem = document.createElement("textarea");
947
+ copyElem.id = "$VxeCopy";
3556
948
  const styles = copyElem.style;
3557
- styles.width = '48px';
3558
- styles.height = '24px';
3559
- styles.position = 'fixed';
3560
- styles.zIndex = '0';
3561
- styles.left = '-500px';
3562
- styles.top = '-500px';
949
+ styles.width = "48px";
950
+ styles.height = "24px";
951
+ styles.position = "fixed";
952
+ styles.zIndex = "0";
953
+ styles.left = "-500px";
954
+ styles.top = "-500px";
3563
955
  document.body.appendChild(copyElem);
3564
956
  }
3565
957
  copyElem.value = text;
3566
958
  }
3567
- const clipboard = {
959
+ var clipboard = {
3568
960
  getStore() {
3569
961
  return clipStore;
3570
962
  },
@@ -3579,24 +971,25 @@ const clipboard = {
3579
971
  copy(content) {
3580
972
  let result = false;
3581
973
  try {
3582
- const text = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(content);
974
+ const text = import_xe_utils13.default.toValueString(content);
3583
975
  handleText(text);
3584
976
  copyElem.select();
3585
977
  copyElem.setSelectionRange(0, copyElem.value.length);
3586
- result = document.execCommand('copy');
978
+ result = document.execCommand("copy");
3587
979
  copyElem.blur();
3588
980
  clipStore.text = text;
3589
- clipStore.html = '';
3590
- } catch (e) {}
981
+ clipStore.html = "";
982
+ } catch (e) {
983
+ }
3591
984
  return result;
3592
985
  },
3593
986
  getText() {
3594
- return clipStore.text || '';
987
+ return clipStore.text || "";
3595
988
  }
3596
989
  };
3597
- ;// ./packages/src/permission.ts
3598
-
3599
990
 
991
+ // packages_temp/src/permission.ts
992
+ var import_xe_utils14 = __toESM(require("xe-utils"));
3600
993
  function handleCheckInfo(permissionCode, permissionMethod) {
3601
994
  let checkVisible = true;
3602
995
  let checkDisabled = false;
@@ -3606,16 +999,13 @@ function handleCheckInfo(permissionCode, permissionMethod) {
3606
999
  checkDisabled = true;
3607
1000
  let vDone = false;
3608
1001
  let dDone = false;
3609
- // 或 使用 | 隔开:任意一个为可视,则可视;任意一个禁用,则禁用
3610
- const codeList = String(permissionCode).split('|');
1002
+ const codeList = String(permissionCode).split("|");
3611
1003
  for (let i = 0; i < codeList.length; i++) {
3612
1004
  const code = codeList[i];
3613
1005
  let visible = true;
3614
1006
  let disabled = false;
3615
- const rest = checkMethod({
3616
- code
3617
- });
3618
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(rest)) {
1007
+ const rest = checkMethod({ code });
1008
+ if (import_xe_utils14.default.isBoolean(rest)) {
3619
1009
  visible = rest;
3620
1010
  } else if (rest) {
3621
1011
  visible = !!rest.visible;
@@ -3641,7 +1031,7 @@ function handleCheckInfo(permissionCode, permissionMethod) {
3641
1031
  };
3642
1032
  return info;
3643
1033
  }
3644
- const permission = {
1034
+ var permission = {
3645
1035
  getCheckInfo(code) {
3646
1036
  return handleCheckInfo(code);
3647
1037
  },
@@ -3654,57 +1044,58 @@ const permission = {
3654
1044
  return permissionInfo.disabled;
3655
1045
  }
3656
1046
  };
3657
- ;// ./packages/src/z-index.ts
3658
1047
 
3659
- const zIndex = {
1048
+ // packages_temp/src/z-index.ts
1049
+ var zIndex = {
3660
1050
  /**
3661
1051
  * 获取主层级下一个 z-index
3662
1052
  */
3663
1053
  next() {
3664
- return index_esm.getNext();
1054
+ return index_esm_default.getNext();
3665
1055
  },
3666
1056
  /**
3667
1057
  * 获取主层级最后一个 z-index
3668
1058
  */
3669
1059
  getLast() {
3670
- return index_esm.getCurrent();
1060
+ return index_esm_default.getCurrent();
3671
1061
  },
3672
1062
  /**
3673
1063
  * 获取子层级的下一个 z-index
3674
1064
  */
3675
1065
  nextSub() {
3676
- return index_esm.getSubNext();
1066
+ return index_esm_default.getSubNext();
3677
1067
  },
3678
1068
  /**
3679
1069
  * 获取子层级的最后一个 z-index
3680
1070
  */
3681
1071
  getSubLast() {
3682
- return index_esm.getSubCurrent();
1072
+ return index_esm_default.getSubCurrent();
3683
1073
  }
3684
1074
  };
3685
- ;// ./packages/src/base-utils.ts
3686
1075
 
3687
- const baseUtils = {
1076
+ // packages_temp/src/base-utils.ts
1077
+ var import_xe_utils15 = __toESM(require("xe-utils"));
1078
+ var baseUtils = {
3688
1079
  /**
3689
1080
  * 转成字符串
3690
1081
  */
3691
1082
  toString(content) {
3692
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(content)) {
3693
- return '';
1083
+ if (import_xe_utils15.default.eqNull(content)) {
1084
+ return "";
3694
1085
  }
3695
- return '' + content;
1086
+ return "" + content;
3696
1087
  },
3697
1088
  /**
3698
1089
  * 判断值为:'' | null | undefined 时都属于空值
3699
1090
  */
3700
1091
  isEmpty(value) {
3701
- return value === null || value === undefined || value === '';
1092
+ return value === null || value === void 0 || value === "";
3702
1093
  },
3703
1094
  /**
3704
1095
  * 获取配置值,如果存在则返回,如果不存在则使用默认值
3705
1096
  */
3706
1097
  getDefVal(value, defVal) {
3707
- return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(value) ? defVal : value;
1098
+ return import_xe_utils15.default.eqNull(value) ? defVal : value;
3708
1099
  },
3709
1100
  /**
3710
1101
  * 判断是否启用
@@ -3722,19 +1113,245 @@ const baseUtils = {
3722
1113
  return !!(opts && (conf ? opts.enabled !== false : opts.enabled));
3723
1114
  }
3724
1115
  };
3725
- ;// ./packages/src/dom-utils.ts
3726
1116
 
1117
+ // packages_temp/src/db-utils.ts
1118
+ var import_xe_utils16 = __toESM(require("xe-utils"));
1119
+ var IdbStore = class {
1120
+ constructor(key, version2) {
1121
+ __publicField(this, "storeName", "Storage");
1122
+ __publicField(this, "key");
1123
+ __publicField(this, "version");
1124
+ __publicField(this, "dbPromise", null);
1125
+ __publicField(this, "dbName", "");
1126
+ this.key = key;
1127
+ this.version = version2;
1128
+ }
1129
+ getDBName() {
1130
+ return `${this.key}_${this.version}`;
1131
+ }
1132
+ /**
1133
+ * 重置连接缓存,下次调用 openDB 会重新建立连接
1134
+ */
1135
+ resetDB() {
1136
+ this.dbPromise = null;
1137
+ this.dbName = "";
1138
+ }
1139
+ openDB() {
1140
+ const name = this.getDBName();
1141
+ if (this.dbPromise && this.dbName === name) {
1142
+ return this.dbPromise;
1143
+ }
1144
+ this.dbName = name;
1145
+ this.dbPromise = new Promise((resolve, reject) => {
1146
+ const request = indexedDB.open(name, 1);
1147
+ request.onupgradeneeded = () => {
1148
+ const db = request.result;
1149
+ if (!db.objectStoreNames.contains(this.storeName)) {
1150
+ db.createObjectStore(this.storeName, { keyPath: "id" });
1151
+ }
1152
+ };
1153
+ request.onsuccess = () => {
1154
+ const db = request.result;
1155
+ db.onversionchange = () => {
1156
+ db.close();
1157
+ this.resetDB();
1158
+ };
1159
+ db.onclose = () => {
1160
+ this.resetDB();
1161
+ };
1162
+ resolve(db);
1163
+ };
1164
+ request.onerror = () => {
1165
+ reject(request.error || new Error(`IdbStore open failed: ${name}`));
1166
+ };
1167
+ request.onblocked = () => {
1168
+ console.warn(`[IdbStore] open blocked: ${name}`);
1169
+ };
1170
+ }).catch((err) => {
1171
+ this.resetDB();
1172
+ throw err;
1173
+ });
1174
+ return this.dbPromise;
1175
+ }
1176
+ getById(id) {
1177
+ return this.openDB().then(
1178
+ (db) => new Promise((resolve, reject) => {
1179
+ const req = db.transaction(this.storeName, "readonly").objectStore(this.storeName).get(id);
1180
+ req.onsuccess = () => resolve(req.result);
1181
+ req.onerror = () => reject(req.error);
1182
+ })
1183
+ );
1184
+ }
1185
+ getAll() {
1186
+ return this.openDB().then(
1187
+ (db) => new Promise((resolve, reject) => {
1188
+ const store = db.transaction(this.storeName, "readonly").objectStore(this.storeName);
1189
+ if (import_xe_utils16.default.isFunction(store.getAll)) {
1190
+ const req2 = store.getAll();
1191
+ req2.onsuccess = () => resolve(req2.result || []);
1192
+ req2.onerror = () => reject(req2.error);
1193
+ return;
1194
+ }
1195
+ const list = [];
1196
+ const req = store.openCursor();
1197
+ req.onsuccess = () => {
1198
+ const cursor = req.result;
1199
+ if (cursor) {
1200
+ list.push(cursor.value);
1201
+ cursor.continue();
1202
+ } else {
1203
+ resolve(list);
1204
+ }
1205
+ };
1206
+ req.onerror = () => reject(req.error);
1207
+ })
1208
+ );
1209
+ }
1210
+ updateById(id, data) {
1211
+ if (data == null) {
1212
+ return this.deleteById(id);
1213
+ }
1214
+ return this.openDB().then(
1215
+ (db) => new Promise((resolve, reject) => {
1216
+ const tx = db.transaction(this.storeName, "readwrite");
1217
+ tx.objectStore(this.storeName).put({ id, data });
1218
+ tx.oncomplete = () => resolve();
1219
+ tx.onerror = () => reject(tx.error);
1220
+ })
1221
+ );
1222
+ }
1223
+ deleteById(id) {
1224
+ return this.openDB().then(
1225
+ (db) => new Promise((resolve, reject) => {
1226
+ const tx = db.transaction(this.storeName, "readwrite");
1227
+ tx.objectStore(this.storeName).delete(id);
1228
+ tx.oncomplete = () => resolve();
1229
+ tx.onerror = () => reject(tx.error);
1230
+ })
1231
+ );
1232
+ }
1233
+ /**
1234
+ * 清空当前库的数据
1235
+ */
1236
+ clear() {
1237
+ return this.openDB().then(
1238
+ (db) => new Promise((resolve, reject) => {
1239
+ const tx = db.transaction(this.storeName, "readwrite");
1240
+ tx.objectStore(this.storeName).clear();
1241
+ tx.oncomplete = () => resolve();
1242
+ tx.onerror = () => reject(tx.error);
1243
+ })
1244
+ );
1245
+ }
1246
+ /**
1247
+ * 清理非当前版本的旧库
1248
+ */
1249
+ cleanupOldDBs() {
1250
+ if (!indexedDB.databases) {
1251
+ return Promise.resolve();
1252
+ }
1253
+ const current = this.getDBName();
1254
+ const prefix = `${this.key}_`;
1255
+ return indexedDB.databases().then((dbs) => {
1256
+ dbs.forEach((db) => {
1257
+ const n = db.name;
1258
+ if (!n || n === current || !n.startsWith(prefix)) {
1259
+ return;
1260
+ }
1261
+ const rest = n.slice(prefix.length);
1262
+ if (!rest.includes("_")) {
1263
+ indexedDB.deleteDatabase(n);
1264
+ }
1265
+ });
1266
+ });
1267
+ }
1268
+ };
1269
+ var LocalStorageStore = class {
1270
+ constructor(key, version2) {
1271
+ __publicField(this, "key");
1272
+ __publicField(this, "version");
1273
+ this.key = key;
1274
+ this.version = version2;
1275
+ }
1276
+ readAll() {
1277
+ const storageData = import_xe_utils16.default.toStringJSON(localStorage.getItem(this.key) || "");
1278
+ return storageData && String(storageData._v) === String(this.version) ? storageData : { _v: this.version };
1279
+ }
1280
+ writeAll(map) {
1281
+ localStorage.setItem(this.key, import_xe_utils16.default.toJSONString(map));
1282
+ }
1283
+ getById(id) {
1284
+ const map = this.readAll();
1285
+ const has = Object.prototype.hasOwnProperty.call(map, id);
1286
+ return Promise.resolve(has && map[id] != null ? { id, data: map[id] } : void 0);
1287
+ }
1288
+ getAll() {
1289
+ const map = this.readAll();
1290
+ const list = [];
1291
+ Object.keys(map).forEach((k) => {
1292
+ if (k !== "_v" && map[k] != null) {
1293
+ list.push({ id: k, data: map[k] });
1294
+ }
1295
+ });
1296
+ return Promise.resolve(list);
1297
+ }
1298
+ updateById(id, data) {
1299
+ if (data == null) {
1300
+ return this.deleteById(id);
1301
+ }
1302
+ const map = this.readAll();
1303
+ map[id] = data;
1304
+ this.writeAll(map);
1305
+ return Promise.resolve();
1306
+ }
1307
+ deleteById(id) {
1308
+ const map = this.readAll();
1309
+ delete map[id];
1310
+ this.writeAll(map);
1311
+ return Promise.resolve();
1312
+ }
1313
+ clear() {
1314
+ this.writeAll({ _v: this.version });
1315
+ return Promise.resolve();
1316
+ }
1317
+ cleanupOldDBs() {
1318
+ const raw = localStorage.getItem(this.key);
1319
+ if (!raw) {
1320
+ return Promise.resolve();
1321
+ }
1322
+ const storageData = import_xe_utils16.default.toStringJSON(raw);
1323
+ if (!storageData || String(storageData._v) !== String(this.version)) {
1324
+ localStorage.removeItem(this.key);
1325
+ }
1326
+ return Promise.resolve();
1327
+ }
1328
+ };
1329
+ var dbUtils = {
1330
+ /**
1331
+ * 创建存储实例
1332
+ * - driver = 'indexedDB' 且环境支持 => IdbStore
1333
+ * - 其余情况(未传 / 不支持)=> LocalStorageStore
1334
+ */
1335
+ createStore(key, options) {
1336
+ const opts = Object.assign({}, options);
1337
+ const version2 = opts.version || globalConfigStore.version || 0;
1338
+ const driver = opts.driver;
1339
+ if ((!driver || driver === "indexedDB") && typeof indexedDB !== "undefined") {
1340
+ return new IdbStore(key, version2);
1341
+ }
1342
+ return new LocalStorageStore(key, version2);
1343
+ }
1344
+ };
3727
1345
 
3728
- const reClsMap = {};
1346
+ // packages_temp/src/dom-utils.ts
1347
+ var import_xe_utils17 = __toESM(require("xe-utils"));
1348
+ var reClsMap = {};
3729
1349
  function getClsRE(cls) {
3730
1350
  if (!reClsMap[cls]) {
3731
- reClsMap[cls] = new RegExp(`(?:^|\\s)${cls}(?!\\S)`, 'g');
1351
+ reClsMap[cls] = new RegExp(`(?:^|\\s)${cls}(?!\\S)`, "g");
3732
1352
  }
3733
1353
  return reClsMap[cls];
3734
1354
  }
3735
- /**
3736
- * 判断元素是否包含 class
3737
- */
3738
1355
  function hasClass(elem, cls) {
3739
1356
  if (elem) {
3740
1357
  if (elem.classList) {
@@ -3744,15 +1361,12 @@ function hasClass(elem, cls) {
3744
1361
  }
3745
1362
  return false;
3746
1363
  }
3747
- /**
3748
- * 给元素删除 class
3749
- */
3750
1364
  function removeClass(elem, cls) {
3751
1365
  if (elem && hasClass(elem, cls)) {
3752
- elem.className = elem.className.replace(getClsRE(cls), '');
1366
+ elem.className = elem.className.replace(getClsRE(cls), "");
3753
1367
  }
3754
1368
  }
3755
- const domUtils = {
1369
+ var domUtils = {
3756
1370
  /**
3757
1371
  * 判断是否像素px单位 '100px' | 100
3758
1372
  */
@@ -3779,7 +1393,7 @@ const domUtils = {
3779
1393
  addClass(elem, cls) {
3780
1394
  if (elem && !hasClass(elem, cls)) {
3781
1395
  removeClass(elem, cls);
3782
- elem.className = elem.className + ' ' + cls;
1396
+ elem.className = elem.className + " " + cls;
3783
1397
  }
3784
1398
  },
3785
1399
  /**
@@ -3791,20 +1405,21 @@ const domUtils = {
3791
1405
  for (let i = 0; i < staticClassNames.length; i++) {
3792
1406
  const val = staticClassNames[i];
3793
1407
  if (val) {
3794
- parts.push('' + val);
1408
+ parts.push("" + val);
3795
1409
  }
3796
1410
  }
3797
1411
  }
3798
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(mapClassName, (val, key) => {
1412
+ import_xe_utils17.default.each(mapClassName, (val, key) => {
3799
1413
  if (val) {
3800
1414
  parts.push(key);
3801
1415
  }
3802
1416
  });
3803
- return parts.join(' ');
1417
+ return parts.join(" ");
3804
1418
  }
3805
1419
  };
3806
- ;// ./packages/src/scrollbar-utils.ts
3807
- const scrollbarUtils = {
1420
+
1421
+ // packages_temp/src/scrollbar-utils.ts
1422
+ var scrollbarUtils = {
3808
1423
  /**
3809
1424
  * 计算滚动条滑块的长度
3810
1425
  */
@@ -3860,65 +1475,51 @@ const scrollbarUtils = {
3860
1475
  return thumbOffset / maxThumbOffset * maxScroll;
3861
1476
  }
3862
1477
  };
3863
- ;// ./packages/src/popper-utils.ts
3864
1478
 
3865
- /**
3866
- * 获取包裹容器的元素
3867
- */
1479
+ // packages_temp/src/popper-utils.ts
1480
+ var import_xe_utils18 = __toESM(require("xe-utils"));
3868
1481
  function getWrapperElement(panelElem) {
3869
1482
  if (!panelElem) {
3870
1483
  return null;
3871
1484
  }
3872
- const bodyEl = document.body;
1485
+ const bodyEl2 = document.body;
3873
1486
  const parentEl = panelElem.parentElement;
3874
- return (parentEl === bodyEl ? document.documentElement : parentEl) || null;
1487
+ return (parentEl === bodyEl2 ? document.documentElement : parentEl) || null;
3875
1488
  }
3876
- /**
3877
- * 获取插入到指定容器的元素或字符串
3878
- */
3879
1489
  function getAppendSelector(appendTo) {
3880
- const selectElem = appendTo && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(appendTo) ? appendTo({}) : appendTo;
3881
- return selectElem || 'body';
1490
+ const selectElem = appendTo && import_xe_utils18.default.isFunction(appendTo) ? appendTo({}) : appendTo;
1491
+ return selectElem || "body";
3882
1492
  }
3883
- /**
3884
- * 获取插入到指定容器的元素
3885
- */
3886
1493
  function getAppendElement(appendTo) {
3887
1494
  const selectElem = getAppendSelector(appendTo);
3888
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(selectElem)) {
1495
+ if (import_xe_utils18.default.isString(selectElem)) {
3889
1496
  return document.querySelector(selectElem) || document.body;
3890
1497
  }
3891
1498
  return selectElem;
3892
1499
  }
3893
- const popperUtils = {
1500
+ var popperUtils = {
3894
1501
  /**
3895
1502
  * 更新位置
3896
1503
  */
3897
1504
  updatePlacement(targetElem, panelElem, options) {
3898
- const {
3899
- defaultTop,
3900
- defaultLeft,
3901
- placement,
3902
- defaultPlacement,
3903
- appendTo,
3904
- teleportTo,
3905
- marginSize,
3906
- isMinWidth
3907
- } = Object.assign({
3908
- appendTo: '',
3909
- teleportTo: false,
3910
- marginSize: 12,
3911
- isMinWidth: true
3912
- }, options);
3913
- let panelPlacement = 'bottom';
3914
- let top = '';
3915
- let bottom = '';
1505
+ const { defaultTop, defaultLeft, placement, defaultPlacement, appendTo, teleportTo, marginSize, isMinWidth } = Object.assign(
1506
+ {
1507
+ appendTo: "",
1508
+ teleportTo: false,
1509
+ marginSize: 12,
1510
+ isMinWidth: true
1511
+ },
1512
+ options
1513
+ );
1514
+ let panelPlacement = "bottom";
1515
+ let top = "";
1516
+ let bottom = "";
3916
1517
  let left = 0;
3917
- let minWidth = '';
3918
- let arrowLeft = '';
1518
+ let minWidth = "";
1519
+ let arrowLeft = "";
3919
1520
  const stys = {};
3920
1521
  if (panelElem && targetElem) {
3921
- const bodyEl = document.body;
1522
+ const bodyEl2 = document.body;
3922
1523
  const parentWrapperEl = getWrapperElement(teleportTo ? getAppendElement(appendTo) : panelElem);
3923
1524
  if (parentWrapperEl) {
3924
1525
  const targetWidth = targetElem.offsetWidth;
@@ -3928,8 +1529,8 @@ const popperUtils = {
3928
1529
  const parentWrapperRect = parentWrapperEl.getBoundingClientRect();
3929
1530
  const panelRect = panelElem.getBoundingClientRect();
3930
1531
  const targetRect = targetElem.getBoundingClientRect();
3931
- const visibleHeight = bodyEl.clientHeight;
3932
- const visibleWidth = bodyEl.clientWidth;
1532
+ const visibleHeight = bodyEl2.clientHeight;
1533
+ const visibleWidth = bodyEl2.clientWidth;
3933
1534
  const parentWrapperScrollLeft = parentWrapperEl.scrollLeft;
3934
1535
  const parentWrapperScrollTop = parentWrapperEl.scrollTop;
3935
1536
  const parentWrapperOffsetLeft = parentWrapperRect.left;
@@ -3940,83 +1541,72 @@ const popperUtils = {
3940
1541
  if (teleportTo) {
3941
1542
  left = (defaultLeft || targetLeft - (panelWidth - targetWidth) / 2) - parentWrapperScrollLeft;
3942
1543
  top = (defaultTop || targetTop + targetHeight) - parentWrapperScrollTop;
3943
- if (placement === 'top') {
3944
- panelPlacement = 'top';
1544
+ if (placement === "top") {
1545
+ panelPlacement = "top";
3945
1546
  top = targetTop - panelHeight;
3946
1547
  } else if (!placement) {
3947
- if (defaultPlacement === 'top') {
3948
- panelPlacement = 'top';
1548
+ if (defaultPlacement === "top") {
1549
+ panelPlacement = "top";
3949
1550
  if (!defaultTop) {
3950
1551
  top = targetTop - panelHeight;
3951
1552
  }
3952
- // 如果上面不够放,则向下
3953
1553
  if (top < marginSize) {
3954
- panelPlacement = 'bottom';
1554
+ panelPlacement = "bottom";
3955
1555
  top = targetTop + targetHeight;
3956
1556
  }
3957
- // 如果下面不够放,则向上(优先)
3958
1557
  if (top + panelHeight + marginSize > visibleHeight) {
3959
- panelPlacement = 'top';
1558
+ panelPlacement = "top";
3960
1559
  top = targetTop - panelHeight;
3961
1560
  }
3962
1561
  } else {
3963
- // 如果下面不够放,则向上
3964
1562
  if (top + panelHeight + marginSize > visibleHeight) {
3965
- panelPlacement = 'top';
1563
+ panelPlacement = "top";
3966
1564
  top = targetTop - panelHeight;
3967
1565
  }
3968
- // 如果上面不够放,则向下(优先)
3969
1566
  if (top < marginSize) {
3970
- panelPlacement = 'bottom';
1567
+ panelPlacement = "bottom";
3971
1568
  top = targetTop + targetHeight;
3972
1569
  }
3973
1570
  }
3974
1571
  }
3975
- // 如果溢出右边
3976
1572
  if (left + panelWidth + marginSize > visibleWidth) {
3977
1573
  left -= left + panelWidth + marginSize - visibleWidth;
3978
1574
  }
3979
- // 如果溢出左边
3980
1575
  if (left < marginSize) {
3981
1576
  left = marginSize;
3982
1577
  }
3983
- // 偏移
3984
1578
  top -= parentWrapperOffsetTop;
3985
1579
  left -= parentWrapperOffsetLeft;
3986
1580
  } else {
3987
- if (placement === 'top') {
3988
- panelPlacement = 'top';
1581
+ if (placement === "top") {
1582
+ panelPlacement = "top";
3989
1583
  bottom = targetHeight;
3990
1584
  } else if (!placement) {
3991
- // 如果下面不够放,则向上
3992
1585
  top = targetHeight;
3993
1586
  if (targetTop + targetHeight + panelHeight + marginSize > visibleHeight) {
3994
- // 如果上面不够放,则向下(优先)
3995
1587
  if (targetTop - targetHeight - panelHeight > marginSize) {
3996
- panelPlacement = 'top';
3997
- top = '';
1588
+ panelPlacement = "top";
1589
+ top = "";
3998
1590
  bottom = targetHeight;
3999
1591
  }
4000
1592
  }
4001
1593
  }
4002
- // 是否超出右侧
4003
1594
  if (panelRect.left + panelRect.width + marginSize > visibleWidth) {
4004
1595
  left = -(panelRect.left + panelRect.width + marginSize - visibleWidth);
4005
1596
  }
4006
1597
  }
4007
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(top)) {
4008
- stys.top = top + 'px';
1598
+ if (import_xe_utils18.default.isNumber(top)) {
1599
+ stys.top = top + "px";
4009
1600
  }
4010
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(bottom)) {
4011
- stys.bottom = bottom + 'px';
1601
+ if (import_xe_utils18.default.isNumber(bottom)) {
1602
+ stys.bottom = bottom + "px";
4012
1603
  }
4013
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(left)) {
4014
- stys.left = left + 'px';
1604
+ if (import_xe_utils18.default.isNumber(left)) {
1605
+ stys.left = left + "px";
4015
1606
  }
4016
- if (isMinWidth && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(minWidth)) {
4017
- stys.minWidth = minWidth + 'px';
1607
+ if (isMinWidth && import_xe_utils18.default.isNumber(minWidth)) {
1608
+ stys.minWidth = minWidth + "px";
4018
1609
  }
4019
- // 箭头
4020
1610
  if (left === targetLeft) {
4021
1611
  if (targetWidth <= panelWidth) {
4022
1612
  arrowLeft = targetWidth / 2;
@@ -4052,31 +1642,18 @@ const popperUtils = {
4052
1642
  */
4053
1643
  getAppendElement
4054
1644
  };
4055
- ;// ./packages/src/mixins.ts
4056
-
4057
-
4058
-
4059
1645
 
4060
- const {
4061
- getThumbOffsetSize,
4062
- getThumbSize,
4063
- getScrollFromClick,
4064
- getScrollFromDrag
4065
- } = scrollbarUtils;
1646
+ // packages_temp/src/mixins.ts
1647
+ var import_xe_utils19 = __toESM(require("xe-utils"));
1648
+ var import_vue2 = __toESM(require("vue"));
1649
+ var { getThumbOffsetSize, getThumbSize, getScrollFromClick, getScrollFromDrag } = scrollbarUtils;
4066
1650
  function getVmInternalData($xeVm) {
4067
- // 新版本 $xeVm.internalData
4068
- // 老版本 $xeVm
4069
1651
  return $xeVm.internalData || $xeVm;
4070
1652
  }
4071
1653
  function getVmReactData($xeVm) {
4072
- // 新版本 $xeVm.reactData
4073
- // 老版本 $xeVm
4074
1654
  return $xeVm.reactData || $xeVm;
4075
1655
  }
4076
- /**
4077
- * 组件尺寸上下文
4078
- */
4079
- const sizeMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
1656
+ var sizeMixin = import_vue2.default.extend({
4080
1657
  inject: {
4081
1658
  $xeSizeInfo: {
4082
1659
  default: null
@@ -4091,28 +1668,20 @@ const sizeMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend(
4091
1668
  },
4092
1669
  computed: {
4093
1670
  computeSize() {
4094
- const {
4095
- size
4096
- } = this;
1671
+ const { size } = this;
4097
1672
  const $xeSizeInfo = this.$xeSizeInfo;
4098
1673
  return size || ($xeSizeInfo ? $xeSizeInfo.getSize() : null);
4099
1674
  }
4100
1675
  }
4101
1676
  });
4102
- /**
4103
- * 权限码处理
4104
- */
4105
- const permissionMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
1677
+ var permissionMixin = import_vue2.default.extend({
4106
1678
  computed: {
4107
1679
  computePermissionInfo() {
4108
1680
  return handleCheckInfo(this.permissionCode, this.permissionMethod);
4109
1681
  }
4110
1682
  }
4111
1683
  });
4112
- /**
4113
- * 虚拟滚动条是否启用
4114
- */
4115
- const vScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
1684
+ var vScrollbarMixin = import_vue2.default.extend({
4116
1685
  inject: {
4117
1686
  $xeScrollbarInfo: {
4118
1687
  default: null
@@ -4127,15 +1696,13 @@ const vScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default().e
4127
1696
  },
4128
1697
  computed: {
4129
1698
  computeIsVScrollbar() {
4130
- const {
4131
- useScrollbar
4132
- } = this;
1699
+ const { useScrollbar } = this;
4133
1700
  const $xeScrollbarInfo = this.$xeScrollbarInfo;
4134
- return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(useScrollbar) ? useScrollbar : $xeScrollbarInfo ? $xeScrollbarInfo.getIsVScrollbar() : null;
1701
+ return import_xe_utils19.default.isBoolean(useScrollbar) ? useScrollbar : $xeScrollbarInfo ? $xeScrollbarInfo.getIsVScrollbar() : null;
4135
1702
  }
4136
1703
  }
4137
1704
  });
4138
- const initVScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
1705
+ var initVScrollbarMixin = import_vue2.default.extend({
4139
1706
  ...{},
4140
1707
  methods: {
4141
1708
  updateThumbSize() {
@@ -4152,14 +1719,14 @@ const initVScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default
4152
1719
  const xThumbWidth = trackXEl ? getThumbSize(viewEl.clientWidth, viewEl.scrollWidth, trackXEl.clientWidth) : 0;
4153
1720
  const thumbXElem = $xeVm.$refs.refThumbXElem;
4154
1721
  if (thumbXElem) {
4155
- thumbXElem.style.width = xThumbWidth + 'px';
1722
+ thumbXElem.style.width = xThumbWidth + "px";
4156
1723
  }
4157
1724
  reactData.xThumbWidth = xThumbWidth;
4158
1725
  const trackYEl = $xeVm.$refs.refTrackYElem;
4159
1726
  const yThumbHeight = trackYEl ? getThumbSize(viewEl.clientHeight, viewEl.scrollHeight, trackYEl.clientHeight) : 0;
4160
1727
  const thumbYElem = $xeVm.$refs.refThumbYElem;
4161
1728
  if (thumbYElem) {
4162
- thumbYElem.style.height = yThumbHeight + 'px';
1729
+ thumbYElem.style.height = yThumbHeight + "px";
4163
1730
  }
4164
1731
  reactData.yThumbHeight = yThumbHeight;
4165
1732
  },
@@ -4174,16 +1741,13 @@ const initVScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default
4174
1741
  if (!viewEl.clientHeight || !viewEl.clientHeight) {
4175
1742
  return;
4176
1743
  }
4177
- const {
4178
- xThumbWidth,
4179
- yThumbHeight
4180
- } = reactData;
1744
+ const { xThumbWidth, yThumbHeight } = reactData;
4181
1745
  const trackXEl = $xeVm.$refs.refTrackXElem;
4182
1746
  const thumbXElem = $xeVm.$refs.refThumbXElem;
4183
1747
  const xThumbLeft = trackXEl && xThumbWidth ? getThumbOffsetSize(viewEl.scrollLeft, viewEl.clientWidth, viewEl.scrollWidth, trackXEl.clientWidth, xThumbWidth) : 0;
4184
1748
  internalData.xThumbLeft = xThumbLeft;
4185
1749
  if (thumbXElem && xThumbWidth) {
4186
- thumbXElem.style.width = xThumbWidth + 'px';
1750
+ thumbXElem.style.width = xThumbWidth + "px";
4187
1751
  thumbXElem.style.transform = `translateX(${xThumbLeft}px)`;
4188
1752
  }
4189
1753
  const trackYEl = $xeVm.$refs.refTrackYElem;
@@ -4191,7 +1755,7 @@ const initVScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default
4191
1755
  const yThumbTop = trackYEl && yThumbHeight ? getThumbOffsetSize(viewEl.scrollTop, viewEl.clientHeight, viewEl.scrollHeight, trackYEl.clientHeight, yThumbHeight) : 0;
4192
1756
  internalData.yThumbTop = yThumbTop;
4193
1757
  if (thumbYElem && yThumbHeight) {
4194
- thumbYElem.style.height = yThumbHeight + 'px';
1758
+ thumbYElem.style.height = yThumbHeight + "px";
4195
1759
  thumbYElem.style.transform = `translateY(${yThumbTop}px)`;
4196
1760
  }
4197
1761
  },
@@ -4206,13 +1770,11 @@ const initVScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default
4206
1770
  if (!viewEl) {
4207
1771
  return;
4208
1772
  }
4209
- const {
4210
- xThumbWidth
4211
- } = reactData;
1773
+ const { xThumbWidth } = reactData;
4212
1774
  const trackRect = trackEl.getBoundingClientRect();
4213
1775
  viewEl.scrollTo({
4214
1776
  left: getScrollFromClick(evnt.clientX - trackRect.left, viewEl.clientWidth, viewEl.scrollWidth, trackEl.clientWidth, xThumbWidth),
4215
- behavior: 'auto'
1777
+ behavior: "auto"
4216
1778
  });
4217
1779
  },
4218
1780
  clickTrackYEvent(evnt) {
@@ -4226,13 +1788,11 @@ const initVScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default
4226
1788
  if (!viewEl) {
4227
1789
  return;
4228
1790
  }
4229
- const {
4230
- yThumbHeight
4231
- } = reactData;
1791
+ const { yThumbHeight } = reactData;
4232
1792
  const trackRect = trackEl.getBoundingClientRect();
4233
1793
  viewEl.scrollTo({
4234
1794
  top: getScrollFromClick(evnt.clientY - trackRect.top, viewEl.clientHeight, viewEl.scrollHeight, trackEl.clientHeight, yThumbHeight),
4235
- behavior: 'auto'
1795
+ behavior: "auto"
4236
1796
  });
4237
1797
  },
4238
1798
  pointerdownThumbXEvent(evnt) {
@@ -4246,13 +1806,10 @@ const initVScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default
4246
1806
  if (!viewEl) {
4247
1807
  return;
4248
1808
  }
4249
- const {
4250
- xThumbWidth
4251
- } = reactData;
1809
+ const { xThumbWidth } = reactData;
4252
1810
  const trackEl = thumbEl.parentElement;
4253
1811
  const trackRect = trackEl.getBoundingClientRect();
4254
1812
  const pointerPosition = evnt.clientX - trackRect.left;
4255
- // 记录 thumb 的偏移
4256
1813
  const thumbOffset = getThumbOffsetSize(viewEl.scrollLeft, viewEl.clientWidth, viewEl.scrollWidth, trackEl.clientWidth, xThumbWidth);
4257
1814
  internalData.thumbDragOffset = pointerPosition - thumbOffset;
4258
1815
  },
@@ -4260,22 +1817,16 @@ const initVScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default
4260
1817
  const $xeVm = this;
4261
1818
  const reactData = getVmReactData($xeVm);
4262
1819
  const internalData = getVmInternalData($xeVm);
4263
- const {
4264
- isThumbDrag,
4265
- thumbDragOffset
4266
- } = internalData;
1820
+ const { isThumbDrag, thumbDragOffset } = internalData;
4267
1821
  if (isThumbDrag) {
4268
1822
  const viewEl = $xeVm.getScrollViewElem();
4269
1823
  if (!viewEl) {
4270
1824
  return;
4271
1825
  }
4272
- const {
4273
- xThumbWidth
4274
- } = reactData;
1826
+ const { xThumbWidth } = reactData;
4275
1827
  const thumbEl = evnt.currentTarget;
4276
1828
  const trackEl = thumbEl.parentElement;
4277
1829
  const trackRect = trackEl.getBoundingClientRect();
4278
- // 更新偏移
4279
1830
  viewEl.scrollLeft = getScrollFromDrag(evnt.clientX - trackRect.left, thumbDragOffset, viewEl.clientWidth, viewEl.scrollWidth, trackEl.clientWidth, xThumbWidth);
4280
1831
  }
4281
1832
  },
@@ -4297,13 +1848,10 @@ const initVScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default
4297
1848
  if (!viewEl) {
4298
1849
  return;
4299
1850
  }
4300
- const {
4301
- yThumbHeight
4302
- } = reactData;
1851
+ const { yThumbHeight } = reactData;
4303
1852
  const trackEl = thumbEl.parentElement;
4304
1853
  const trackRect = trackEl.getBoundingClientRect();
4305
1854
  const pointerPosition = evnt.clientY - trackRect.top;
4306
- // 记录 thumb 的偏移
4307
1855
  const thumbOffset = getThumbOffsetSize(viewEl.scrollTop, viewEl.clientHeight, viewEl.scrollHeight, trackEl.clientHeight, yThumbHeight);
4308
1856
  internalData.thumbDragOffset = pointerPosition - thumbOffset;
4309
1857
  },
@@ -4311,61 +1859,31 @@ const initVScrollbarMixin = external_commonjs_vue_commonjs2_vue_root_Vue_default
4311
1859
  const $xeVm = this;
4312
1860
  const reactData = getVmReactData($xeVm);
4313
1861
  const internalData = getVmInternalData($xeVm);
4314
- const {
4315
- isThumbDrag,
4316
- thumbDragOffset
4317
- } = internalData;
1862
+ const { isThumbDrag, thumbDragOffset } = internalData;
4318
1863
  if (isThumbDrag) {
4319
1864
  const viewEl = $xeVm.getScrollViewElem();
4320
1865
  if (!viewEl) {
4321
1866
  return;
4322
1867
  }
4323
- const {
4324
- yThumbHeight
4325
- } = reactData;
1868
+ const { yThumbHeight } = reactData;
4326
1869
  const thumbEl = evnt.currentTarget;
4327
1870
  const trackEl = thumbEl.parentElement;
4328
1871
  const trackRect = trackEl.getBoundingClientRect();
4329
- // 更新偏移
4330
1872
  viewEl.scrollTop = getScrollFromDrag(evnt.clientY - trackRect.top, thumbDragOffset, viewEl.clientHeight, viewEl.scrollHeight, trackEl.clientHeight, yThumbHeight);
4331
1873
  }
4332
1874
  }
4333
1875
  }
4334
1876
  });
4335
- const globalMixins = {
1877
+ var globalMixins = {
4336
1878
  sizeMixin,
4337
1879
  permissionMixin,
4338
1880
  vScrollbarMixin,
4339
1881
  initVScrollbarMixin
4340
1882
  };
4341
- ;// ./packages/index.ts
4342
-
4343
-
4344
-
4345
-
4346
-
4347
-
4348
-
4349
-
4350
-
4351
-
4352
-
4353
-
4354
-
4355
-
4356
-
4357
-
4358
-
4359
-
4360
-
4361
-
4362
1883
 
4363
-
4364
-
4365
-
4366
-
4367
-
4368
- const installedPlugins = [];
1884
+ // packages_temp/index.ts
1885
+ var import_xe_utils20 = __toESM(require("xe-utils"));
1886
+ var installedPlugins = [];
4369
1887
  function use(Plugin, options) {
4370
1888
  if (Plugin && Plugin.install) {
4371
1889
  if (installedPlugins.indexOf(Plugin) === -1) {
@@ -4375,32 +1893,30 @@ function use(Plugin, options) {
4375
1893
  }
4376
1894
  return VxeUI;
4377
1895
  }
4378
- const components = {};
1896
+ var components = {};
4379
1897
  function getComponent(name) {
4380
1898
  return components[name] || null;
4381
1899
  }
4382
1900
  function component(comp) {
4383
1901
  if (comp && comp.name) {
4384
1902
  components[comp.name] = comp;
4385
- components[external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().kebabCase(comp.name)] = comp;
1903
+ components[import_xe_utils20.default.kebabCase(comp.name)] = comp;
4386
1904
  }
4387
1905
  }
4388
1906
  function hasComponent(name) {
4389
1907
  return !!components[name];
4390
1908
  }
4391
1909
  function renderEmptyElement(_vm) {
4392
- const {
4393
- _e
4394
- } = _vm;
1910
+ const { _e } = _vm;
4395
1911
  return _e();
4396
1912
  }
4397
- function checkVersion(version, pVersion, sVersion) {
4398
- if (version) {
4399
- const vRest = `${version}`.match(/(\d+).(\d+).(\d+)/);
1913
+ function checkVersion(version2, pVersion, sVersion) {
1914
+ if (version2) {
1915
+ const vRest = `${version2}`.match(/(\d+).(\d+).(\d+)/);
4400
1916
  if (vRest) {
4401
- const pV = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(vRest[1]);
1917
+ const pV = import_xe_utils20.default.toNumber(vRest[1]);
4402
1918
  if (sVersion) {
4403
- const sV = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(vRest[2]);
1919
+ const sV = import_xe_utils20.default.toNumber(vRest[2]);
4404
1920
  return pV >= pVersion && sV >= sVersion;
4405
1921
  }
4406
1922
  return pV >= pVersion;
@@ -4408,81 +1924,52 @@ function checkVersion(version, pVersion, sVersion) {
4408
1924
  }
4409
1925
  return false;
4410
1926
  }
4411
- const VxeUI = Object.assign(VxeCore, {
1927
+ var VxeUI = Object.assign(VxeCore, {
4412
1928
  renderEmptyElement,
4413
- setTheme: setTheme,
4414
- getTheme: getTheme,
4415
- setConfig: setConfig,
4416
- getConfig: getConfig,
4417
- setIcon: setIcon,
4418
- getIcon: getIcon,
4419
- renderGlobalIcon: renderGlobalIcon,
4420
- renderCustomIcon: renderCustomIcon,
4421
- setLanguage: setLanguage,
4422
- hasLanguage: hasLanguage,
4423
- getLanguage: getLanguage,
4424
- setI18n: setI18n,
4425
- getI18n: getI18n,
4426
- globalEvents: globalEvents,
4427
- GLOBAL_EVENT_KEYS: GLOBAL_EVENT_KEYS,
4428
- createEvent: createEvent,
4429
- globalResize: globalResize,
4430
- renderer: renderer,
4431
- validators: validators,
4432
- menus: menus,
4433
- formats: formats,
4434
- commands: commands,
4435
- interceptor: interceptor,
4436
- clipboard: clipboard,
4437
- log: log,
4438
- permission: permission,
4439
- zIndex: zIndex,
4440
- baseUtils: baseUtils,
4441
- domUtils: domUtils,
4442
- scrollbarUtils: scrollbarUtils,
4443
- popperUtils: popperUtils,
4444
- globalStore: globalStore,
1929
+ setTheme,
1930
+ getTheme,
1931
+ setConfig,
1932
+ getConfig,
1933
+ setIcon,
1934
+ getIcon,
1935
+ renderGlobalIcon,
1936
+ renderCustomIcon,
1937
+ setLanguage,
1938
+ hasLanguage,
1939
+ getLanguage,
1940
+ setI18n,
1941
+ getI18n,
1942
+ globalEvents,
1943
+ GLOBAL_EVENT_KEYS,
1944
+ createEvent,
1945
+ globalResize,
1946
+ renderer,
1947
+ validators,
1948
+ menus,
1949
+ formats,
1950
+ commands,
1951
+ interceptor,
1952
+ clipboard,
1953
+ log,
1954
+ permission,
1955
+ zIndex,
1956
+ baseUtils,
1957
+ dbUtils,
1958
+ domUtils,
1959
+ scrollbarUtils,
1960
+ popperUtils,
1961
+ globalStore,
4445
1962
  component,
4446
1963
  getComponent,
4447
1964
  hasComponent,
4448
- globalMixins: globalMixins,
4449
- getSlotVNs: getSlotVNs,
1965
+ globalMixins,
1966
+ getSlotVNs,
4450
1967
  checkVersion,
4451
1968
  use
4452
1969
  });
4453
1970
  setTheme();
1971
+ var index_default = VxeUI;
4454
1972
 
1973
+ return module.exports;
1974
+ });
4455
1975
 
4456
-
4457
-
4458
-
4459
-
4460
-
4461
-
4462
-
4463
-
4464
-
4465
-
4466
-
4467
-
4468
-
4469
-
4470
-
4471
-
4472
-
4473
-
4474
-
4475
-
4476
-
4477
-
4478
- /* harmony default export */ var packages_0 = (VxeUI);
4479
- ;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
4480
-
4481
-
4482
- /* harmony default export */ var entry_lib = (packages_0);
4483
-
4484
-
4485
- /******/ return __webpack_exports__;
4486
- /******/ })()
4487
- ;
4488
- });