@vxe-ui/core 4.4.42 → 4.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 (195) hide show
  1. package/dist/all.esm.js +1594 -1389
  2. package/dist/all.esm.min.js +1 -0
  3. package/es/index.d.ts +138 -0
  4. package/es/index.esm.js +138 -125
  5. package/es/index.js +150 -0
  6. package/es/src/base-utils.d.ts +2 -0
  7. package/es/src/base-utils.js +40 -37
  8. package/es/src/clipboard.d.ts +2 -0
  9. package/es/src/clipboard.js +48 -45
  10. package/es/src/commands.d.ts +2 -0
  11. package/es/src/commands.js +47 -48
  12. package/es/src/config.d.ts +13 -0
  13. package/es/src/config.js +21 -23
  14. package/es/src/configStore.d.ts +2 -0
  15. package/es/src/configStore.js +8 -5
  16. package/es/src/core.d.ts +3 -0
  17. package/es/src/core.js +11 -7
  18. package/es/src/dataStore.d.ts +2 -0
  19. package/es/src/dataStore.js +4 -1
  20. package/es/src/db-utils.d.ts +2 -0
  21. package/es/src/db-utils.js +234 -0
  22. package/es/src/dom-utils.d.ts +2 -0
  23. package/es/src/dom-utils.js +65 -68
  24. package/es/src/event.d.ts +4 -0
  25. package/es/src/event.js +133 -147
  26. package/es/src/formats.d.ts +2 -0
  27. package/es/src/formats.js +47 -48
  28. package/es/src/hooks.d.ts +2 -0
  29. package/es/src/hooks.js +5 -2
  30. package/es/src/i18n.d.ts +6 -0
  31. package/es/src/i18n.js +51 -44
  32. package/es/src/i18nStore.d.ts +5 -0
  33. package/es/src/i18nStore.js +7 -4
  34. package/es/src/icon.d.ts +9 -0
  35. package/es/src/icon.js +28 -22
  36. package/es/src/iconStore.d.ts +2 -0
  37. package/es/src/iconStore.js +4 -1
  38. package/es/src/interceptor.d.ts +2 -0
  39. package/es/src/interceptor.js +52 -54
  40. package/es/src/log.d.ts +2 -0
  41. package/es/src/log.js +14 -11
  42. package/es/src/menus.d.ts +2 -0
  43. package/es/src/menus.js +47 -48
  44. package/es/src/permission.d.ts +3 -0
  45. package/es/src/permission.js +57 -55
  46. package/es/src/popper-utils.d.ts +2 -0
  47. package/es/src/popper-utils.js +159 -179
  48. package/es/src/renderer.d.ts +5 -0
  49. package/es/src/renderer.js +37 -42
  50. package/es/src/resize.d.ts +2 -0
  51. package/es/src/resize.js +60 -70
  52. package/es/src/scrollbar-utils.d.ts +2 -0
  53. package/es/src/scrollbar-utils.js +57 -54
  54. package/es/src/store.d.ts +13 -0
  55. package/es/src/store.js +43 -45
  56. package/es/src/theme.d.ts +3 -0
  57. package/es/src/theme.js +17 -13
  58. package/es/src/themeStore.d.ts +4 -0
  59. package/es/src/themeStore.js +5 -2
  60. package/es/src/useFns.d.ts +40 -0
  61. package/es/src/useFns.js +212 -231
  62. package/es/src/validators.d.ts +2 -0
  63. package/es/src/validators.js +6 -3
  64. package/es/src/vm.d.ts +2 -0
  65. package/es/src/vm.js +9 -6
  66. package/es/src/z-index.d.ts +2 -0
  67. package/es/src/z-index.js +29 -26
  68. package/lib/index.common.js +136 -365
  69. package/lib/index.js +181 -0
  70. package/lib/index.umd.js +819 -3343
  71. package/lib/index.umd.min.js +1 -1
  72. package/lib/src/base-utils.js +39 -13
  73. package/lib/src/clipboard.js +50 -23
  74. package/lib/src/commands.js +46 -27
  75. package/lib/src/config.js +43 -23
  76. package/lib/src/configStore.js +24 -7
  77. package/lib/src/core.js +29 -11
  78. package/lib/src/dataStore.js +22 -5
  79. package/lib/src/db-utils.js +263 -0
  80. package/lib/src/dom-utils.js +40 -20
  81. package/lib/src/event.js +95 -102
  82. package/lib/src/formats.js +46 -27
  83. package/lib/src/hooks.js +33 -7
  84. package/lib/src/i18n.js +53 -38
  85. package/lib/src/i18nStore.js +25 -8
  86. package/lib/src/icon.js +46 -22
  87. package/lib/src/iconStore.js +22 -5
  88. package/lib/src/interceptor.js +40 -18
  89. package/lib/src/log.js +29 -12
  90. package/lib/src/menus.js +46 -27
  91. package/lib/src/permission.js +40 -17
  92. package/lib/src/popper-utils.js +71 -71
  93. package/lib/src/renderer.js +40 -21
  94. package/lib/src/resize.js +48 -42
  95. package/lib/src/scrollbar-utils.js +23 -6
  96. package/lib/src/store.js +44 -25
  97. package/lib/src/theme.js +31 -14
  98. package/lib/src/themeStore.js +24 -7
  99. package/lib/src/useFns.js +87 -124
  100. package/lib/src/validators.js +34 -10
  101. package/lib/src/vm.js +34 -8
  102. package/lib/src/z-index.js +38 -12
  103. package/package.json +14 -3
  104. package/packages/index.ts +171 -168
  105. package/packages/src/base-utils.ts +42 -43
  106. package/packages/src/clipboard.ts +56 -56
  107. package/packages/src/commands.ts +56 -56
  108. package/packages/src/config.ts +30 -30
  109. package/packages/src/configStore.ts +8 -8
  110. package/packages/src/core.ts +11 -11
  111. package/packages/src/dataStore.ts +3 -4
  112. package/packages/src/db-utils.ts +267 -0
  113. package/packages/src/dom-utils.ts +86 -87
  114. package/packages/src/event.ts +161 -161
  115. package/packages/src/formats.ts +56 -56
  116. package/packages/src/hooks.ts +5 -5
  117. package/packages/src/i18n.ts +63 -63
  118. package/packages/src/i18nStore.ts +11 -11
  119. package/packages/src/icon.ts +32 -32
  120. package/packages/src/iconStore.ts +3 -3
  121. package/packages/src/interceptor.ts +64 -64
  122. package/packages/src/log.ts +19 -19
  123. package/packages/src/menus.ts +56 -56
  124. package/packages/src/permission.ts +61 -61
  125. package/packages/src/popper-utils.ts +197 -194
  126. package/packages/src/renderer.ts +50 -50
  127. package/packages/src/resize.ts +89 -89
  128. package/packages/src/scrollbar-utils.ts +58 -58
  129. package/packages/src/store.ts +47 -47
  130. package/packages/src/theme.ts +20 -20
  131. package/packages/src/themeStore.ts +7 -7
  132. package/packages/src/useFns.ts +270 -275
  133. package/packages/src/validators.ts +7 -7
  134. package/packages/src/vm.ts +10 -10
  135. package/packages/src/z-index.ts +30 -30
  136. package/types/core/base-utils.d.ts +39 -40
  137. package/types/core/clipboard.d.ts +22 -22
  138. package/types/core/commands.d.ts +17 -19
  139. package/types/core/components.d.ts +5 -5
  140. package/types/core/db-utils.d.ts +44 -0
  141. package/types/core/dom-utils.d.ts +36 -37
  142. package/types/core/formats.d.ts +17 -19
  143. package/types/core/global-config.d.ts +67 -74
  144. package/types/core/global-data.d.ts +7 -7
  145. package/types/core/global-event.d.ts +48 -48
  146. package/types/core/global-icon.d.ts +10 -10
  147. package/types/core/global-lang.d.ts +28 -27
  148. package/types/core/global-resize.d.ts +3 -3
  149. package/types/core/global-theme.d.ts +1 -1
  150. package/types/core/hooks.d.ts +12 -14
  151. package/types/core/index.d.ts +343 -336
  152. package/types/core/interceptor.d.ts +20 -22
  153. package/types/core/log.d.ts +8 -8
  154. package/types/core/menus.d.ts +17 -19
  155. package/types/core/permission.d.ts +10 -10
  156. package/types/core/popper-utils.d.ts +44 -44
  157. package/types/core/renderer.d.ts +14 -14
  158. package/types/core/scrollbar-utils.d.ts +37 -38
  159. package/types/core/useFn.d.ts +121 -126
  160. package/types/core/validators.d.ts +17 -19
  161. package/types/core/z-index.d.ts +18 -18
  162. package/types/index.d.ts +13 -13
  163. package/types/tool/common.d.ts +146 -155
  164. package/types/tool/index.d.ts +2 -2
  165. package/types/tool/util.d.ts +4 -4
  166. package/lib/src/base-utils.min.js +0 -1
  167. package/lib/src/clipboard.min.js +0 -1
  168. package/lib/src/commands.min.js +0 -1
  169. package/lib/src/config.min.js +0 -1
  170. package/lib/src/configStore.min.js +0 -1
  171. package/lib/src/core.min.js +0 -1
  172. package/lib/src/dataStore.min.js +0 -1
  173. package/lib/src/dom-utils.min.js +0 -1
  174. package/lib/src/event.min.js +0 -1
  175. package/lib/src/formats.min.js +0 -1
  176. package/lib/src/hooks.min.js +0 -1
  177. package/lib/src/i18n.min.js +0 -1
  178. package/lib/src/i18nStore.min.js +0 -1
  179. package/lib/src/icon.min.js +0 -1
  180. package/lib/src/iconStore.min.js +0 -1
  181. package/lib/src/interceptor.min.js +0 -1
  182. package/lib/src/log.min.js +0 -1
  183. package/lib/src/menus.min.js +0 -1
  184. package/lib/src/permission.min.js +0 -1
  185. package/lib/src/popper-utils.min.js +0 -1
  186. package/lib/src/renderer.min.js +0 -1
  187. package/lib/src/resize.min.js +0 -1
  188. package/lib/src/scrollbar-utils.min.js +0 -1
  189. package/lib/src/store.min.js +0 -1
  190. package/lib/src/theme.min.js +0 -1
  191. package/lib/src/themeStore.min.js +0 -1
  192. package/lib/src/useFns.min.js +0 -1
  193. package/lib/src/validators.min.js +0 -1
  194. package/lib/src/vm.min.js +0 -1
  195. package/lib/src/z-index.min.js +0 -1
package/lib/index.umd.js CHANGED
@@ -1,2609 +1,148 @@
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;
2238
- }
2239
- };
2240
-
2241
- var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2242
-
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
- }
2259
- });
2260
-
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;
2317
- };
2318
-
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;
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);
2408
10
  }
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__);
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
+ };
2502
22
 
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
- globalResize: function() { return /* reexport */ globalResize; },
2527
- globalStore: function() { return /* reexport */ globalStore; },
2528
- handleCheckInfo: function() { return /* reexport */ handleCheckInfo; },
2529
- hasComponent: function() { return /* reexport */ hasComponent; },
2530
- hasLanguage: function() { return /* reexport */ hasLanguage; },
2531
- hooks: function() { return /* reexport */ hooks; },
2532
- interceptor: function() { return /* reexport */ interceptor; },
2533
- log: function() { return /* reexport */ log; },
2534
- menus: function() { return /* reexport */ menus; },
2535
- permission: function() { return /* reexport */ permission; },
2536
- popperUtils: function() { return /* reexport */ popperUtils; },
2537
- renderCustomIcon: function() { return /* reexport */ renderCustomIcon; },
2538
- renderEmptyElement: function() { return /* reexport */ renderEmptyElement; },
2539
- renderGlobalIcon: function() { return /* reexport */ renderGlobalIcon; },
2540
- renderer: function() { return /* reexport */ renderer; },
2541
- scrollbarUtils: function() { return /* reexport */ scrollbarUtils; },
2542
- setConfig: function() { return /* reexport */ setConfig; },
2543
- setI18n: function() { return /* reexport */ setI18n; },
2544
- setIcon: function() { return /* reexport */ setIcon; },
2545
- setLanguage: function() { return /* reexport */ setLanguage; },
2546
- setTheme: function() { return /* reexport */ setTheme; },
2547
- use: function() { return /* reexport */ use; },
2548
- useFns: function() { return /* reexport */ useFns; },
2549
- useInitVScrollbar: function() { return /* reexport */ useInitVScrollbar; },
2550
- usePermission: function() { return /* reexport */ usePermission; },
2551
- useSize: function() { return /* reexport */ useSize; },
2552
- useVScrollbar: function() { return /* reexport */ useVScrollbar; },
2553
- validators: function() { return /* reexport */ validators; },
2554
- zIndex: function() { return /* reexport */ zIndex; }
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
+ globalResize: () => globalResize,
83
+ globalStore: () => globalStore,
84
+ handleCheckInfo: () => handleCheckInfo,
85
+ hasComponent: () => hasComponent,
86
+ hasLanguage: () => hasLanguage,
87
+ hooks: () => hooks,
88
+ interceptor: () => interceptor,
89
+ log: () => log,
90
+ menus: () => menus,
91
+ permission: () => permission,
92
+ popperUtils: () => popperUtils,
93
+ renderCustomIcon: () => renderCustomIcon,
94
+ renderEmptyElement: () => renderEmptyElement,
95
+ renderGlobalIcon: () => renderGlobalIcon,
96
+ renderer: () => renderer,
97
+ scrollbarUtils: () => scrollbarUtils,
98
+ setConfig: () => setConfig,
99
+ setI18n: () => setI18n,
100
+ setIcon: () => setIcon,
101
+ setLanguage: () => setLanguage,
102
+ setTheme: () => setTheme,
103
+ use: () => use,
104
+ useFns: () => useFns,
105
+ useInitVScrollbar: () => useInitVScrollbar,
106
+ usePermission: () => usePermission,
107
+ useSize: () => useSize,
108
+ useVScrollbar: () => useVScrollbar,
109
+ validators: () => validators,
110
+ zIndex: () => zIndex
2555
111
  });
112
+ module.exports = __toCommonJS(index_exports);
2556
113
 
2557
- ;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
2558
- /* eslint-disable no-var */
2559
- // This file is imported into lib/wc client bundles.
2560
-
2561
- if (typeof window !== 'undefined') {
2562
- var currentScript = window.document.currentScript
2563
- if (false) // removed by dead control flow
2564
- { var getCurrentScript; }
114
+ // packages_temp/src/core.ts
115
+ var coreVersion = "4.5.1";
116
+ var VxeCore = {
117
+ coreVersion,
118
+ uiVersion: "",
119
+ tableVersion: "",
120
+ designVersion: "",
121
+ ganttVersion: ""
122
+ };
2565
123
 
2566
- var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
2567
- if (src) {
2568
- __webpack_require__.p = src[1] // eslint-disable-line
2569
- }
2570
- }
124
+ // packages_temp/index.ts
125
+ var import_vue4 = require("vue");
2571
126
 
2572
- // Indicate to webpack that this file can be concatenated
2573
- /* harmony default export */ var setPublicPath = (null);
127
+ // packages_temp/src/config.ts
128
+ var import_xe_utils = __toESM(require("xe-utils"));
2574
129
 
2575
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
2576
- var es_array_push = __webpack_require__(4114);
2577
- ;// ./packages/src/core.ts
2578
- const coreVersion = "4.4.42";
2579
- const VxeCore = {
2580
- coreVersion,
2581
- uiVersion: '',
2582
- tableVersion: '',
2583
- designVersion: '',
2584
- ganttVersion: ''
2585
- };
2586
- // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
2587
- var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(9274);
2588
- // EXTERNAL MODULE: external {"root":"XEUtils","commonjs":"xe-utils","commonjs2":"xe-utils","amd":"xe-utils"}
2589
- var external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_ = __webpack_require__(8871);
2590
- 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_);
2591
- ;// ./node_modules/dom-zindex/es/index.esm.js
130
+ // node_modules/dom-zindex/es/index.esm.js
2592
131
  var winDom = null;
2593
132
  var bodyEl = null;
2594
133
  var storeEl = null;
2595
- var storeId = 'z-index-manage';
134
+ var storeId = "z-index-manage";
2596
135
  var styleEl = null;
2597
- var styleId = 'z-index-style';
2598
- var storeMainKey = 'm';
2599
- var storeSubKey = 's';
136
+ var styleId = "z-index-style";
137
+ var storeMainKey = "m";
138
+ var storeSubKey = "s";
2600
139
  var storeData = {
2601
- m: 1000,
2602
- s: 1000
140
+ m: 1e3,
141
+ s: 1e3
2603
142
  };
2604
143
  function getDocument() {
2605
144
  if (!winDom) {
2606
- if (typeof document !== 'undefined') {
145
+ if (typeof document !== "undefined") {
2607
146
  winDom = document;
2608
147
  }
2609
148
  }
@@ -2611,7 +150,7 @@ function getDocument() {
2611
150
  }
2612
151
  function getBody() {
2613
152
  if (winDom && !bodyEl) {
2614
- bodyEl = winDom.body || winDom.getElementsByTagName('body')[0];
153
+ bodyEl = winDom.body || winDom.getElementsByTagName("body")[0];
2615
154
  }
2616
155
  return bodyEl;
2617
156
  }
@@ -2621,13 +160,13 @@ function getDomMaxZIndex() {
2621
160
  if (dom) {
2622
161
  var body = getBody();
2623
162
  if (body) {
2624
- var allElem = body.getElementsByTagName('*');
163
+ var allElem = body.getElementsByTagName("*");
2625
164
  for (var i = 0; i < allElem.length; i++) {
2626
165
  var elem = allElem[i];
2627
166
  if (elem && elem.style && elem.nodeType === 1) {
2628
- var zIndex = elem.style.zIndex;
2629
- if (zIndex && /^\d+$/.test(zIndex)) {
2630
- max = Math.max(max, Number(zIndex));
167
+ var zIndex2 = elem.style.zIndex;
168
+ if (zIndex2 && /^\d+$/.test(zIndex2)) {
169
+ max = Math.max(max, Number(zIndex2));
2631
170
  }
2632
171
  }
2633
172
  }
@@ -2641,9 +180,9 @@ function getStyle() {
2641
180
  if (dom) {
2642
181
  styleEl = dom.getElementById(styleId);
2643
182
  if (!styleEl) {
2644
- styleEl = dom.createElement('style');
183
+ styleEl = dom.createElement("style");
2645
184
  styleEl.id = styleId;
2646
- dom.getElementsByTagName('head')[0].appendChild(styleEl);
185
+ dom.getElementsByTagName("head")[0].appendChild(styleEl);
2647
186
  }
2648
187
  }
2649
188
  }
@@ -2652,9 +191,9 @@ function getStyle() {
2652
191
  function updateVar() {
2653
192
  var styEl = getStyle();
2654
193
  if (styEl) {
2655
- var prefixes = '--dom-';
2656
- var propKey = '-z-index';
2657
- styEl.innerHTML = ':root{' + prefixes + 'main' + propKey + ':' + getCurrent() + ';' + prefixes + 'sub' + propKey + ':' + getSubCurrent() + '}';
194
+ var prefixes = "--dom-";
195
+ var propKey = "-z-index";
196
+ styEl.innerHTML = ":root{" + prefixes + "main" + propKey + ":" + getCurrent() + ";" + prefixes + "sub" + propKey + ":" + getSubCurrent() + "}";
2658
197
  }
2659
198
  }
2660
199
  function getStoreDom() {
@@ -2665,9 +204,9 @@ function getStoreDom() {
2665
204
  if (!storeEl) {
2666
205
  var body = getBody();
2667
206
  if (body) {
2668
- storeEl = dom.createElement('div');
207
+ storeEl = dom.createElement("div");
2669
208
  storeEl.id = storeId;
2670
- storeEl.style.display = 'none';
209
+ storeEl.style.display = "none";
2671
210
  body.appendChild(storeEl);
2672
211
  setCurrent(storeData.m);
2673
212
  setSubCurrent(storeData.s);
@@ -2678,16 +217,16 @@ function getStoreDom() {
2678
217
  return storeEl;
2679
218
  }
2680
219
  function createSetHandle(key) {
2681
- return function (value) {
220
+ return function(value) {
2682
221
  if (value) {
2683
222
  value = Number(value);
2684
223
  storeData[key] = value;
2685
224
  var el = getStoreDom();
2686
225
  if (el) {
2687
226
  if (el.dataset) {
2688
- el.dataset[key] = value + '';
227
+ el.dataset[key] = value + "";
2689
228
  } else {
2690
- el.setAttribute('data-' + key, value + '');
229
+ el.setAttribute("data-" + key, value + "");
2691
230
  }
2692
231
  }
2693
232
  }
@@ -2697,25 +236,25 @@ function createSetHandle(key) {
2697
236
  }
2698
237
  var setCurrent = createSetHandle(storeMainKey);
2699
238
  function createGetHandle(key, nextMethod) {
2700
- return function getCurrent(currZindex) {
2701
- var zIndex;
239
+ return function getCurrent2(currZindex) {
240
+ var zIndex2;
2702
241
  var el = getStoreDom();
2703
242
  if (el) {
2704
- var domVal = el.dataset ? el.dataset[key] : el.getAttribute('data-' + key);
243
+ var domVal = el.dataset ? el.dataset[key] : el.getAttribute("data-" + key);
2705
244
  if (domVal) {
2706
- zIndex = Number(domVal);
245
+ zIndex2 = Number(domVal);
2707
246
  }
2708
247
  }
2709
- if (!zIndex) {
2710
- zIndex = storeData[key];
248
+ if (!zIndex2) {
249
+ zIndex2 = storeData[key];
2711
250
  }
2712
251
  if (currZindex) {
2713
- if (Number(currZindex) < zIndex) {
252
+ if (Number(currZindex) < zIndex2) {
2714
253
  return nextMethod();
2715
254
  }
2716
255
  return currZindex;
2717
256
  }
2718
- return zIndex;
257
+ return zIndex2;
2719
258
  };
2720
259
  }
2721
260
  var getCurrent = createGetHandle(storeMainKey, getNext);
@@ -2731,41 +270,39 @@ function getSubNext() {
2731
270
  setSubCurrent(_getSubCurrent() + 1);
2732
271
  return getSubCurrent();
2733
272
  }
2734
- /**
2735
- * Web common z-index style management
2736
- */
2737
273
  var DomZIndex = {
2738
- setCurrent: setCurrent,
2739
- getCurrent: getCurrent,
2740
- getNext: getNext,
2741
- setSubCurrent: setSubCurrent,
2742
- getSubCurrent: getSubCurrent,
2743
- getSubNext: getSubNext,
274
+ setCurrent,
275
+ getCurrent,
276
+ getNext,
277
+ setSubCurrent,
278
+ getSubCurrent,
279
+ getSubNext,
2744
280
  getMax: getDomMaxZIndex
2745
281
  };
2746
282
  updateVar();
2747
- /* harmony default export */ var index_esm = (DomZIndex);
2748
- ;// ./packages/src/configStore.ts
2749
- const globalConfigStore = {
2750
- size: '',
283
+ var index_esm_default = DomZIndex;
284
+
285
+ // packages_temp/src/configStore.ts
286
+ var globalConfigStore = {
287
+ size: "",
2751
288
  version: 1,
2752
289
  zIndex: 999,
2753
290
  resizeInterval: 500
2754
291
  };
2755
- ;// ./packages/src/themeStore.ts
2756
- const themeConfigStore = {
2757
- theme: ''
2758
- };
2759
- ;// ./packages/src/theme.ts
2760
292
 
293
+ // packages_temp/src/themeStore.ts
294
+ var themeConfigStore = {
295
+ theme: ""
296
+ };
2761
297
 
298
+ // packages_temp/src/theme.ts
2762
299
  function setTheme(name) {
2763
- const theme = !name || name === 'default' ? 'light' : name;
300
+ const theme = !name || name === "default" ? "light" : name;
2764
301
  themeConfigStore.theme = theme;
2765
- if (typeof document !== 'undefined') {
302
+ if (typeof document !== "undefined") {
2766
303
  const documentElement = document.documentElement;
2767
304
  if (documentElement) {
2768
- documentElement.setAttribute('data-vxe-ui-theme', theme);
305
+ documentElement.setAttribute("data-vxe-ui-theme", theme);
2769
306
  }
2770
307
  }
2771
308
  return VxeCore;
@@ -2773,51 +310,44 @@ function setTheme(name) {
2773
310
  function getTheme() {
2774
311
  return themeConfigStore.theme;
2775
312
  }
2776
- ;// ./packages/src/config.ts
2777
313
 
2778
-
2779
-
2780
-
2781
-
2782
- /**
2783
- * 全局参数设置
2784
- */
314
+ // packages_temp/src/config.ts
2785
315
  function setConfig(options) {
2786
316
  if (options) {
2787
317
  if (options.zIndex) {
2788
- index_esm.setCurrent(options.zIndex);
318
+ index_esm_default.setCurrent(options.zIndex);
2789
319
  }
2790
320
  if (options.theme) {
2791
321
  setTheme(options.theme);
2792
322
  }
2793
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(globalConfigStore, options);
323
+ import_xe_utils.default.merge(globalConfigStore, options);
2794
324
  }
2795
325
  return VxeCore;
2796
326
  }
2797
- /**
2798
- * 获取全局参数
2799
- */
2800
327
  function getConfig(key, defaultValue) {
2801
- return arguments.length ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(globalConfigStore, key, defaultValue) : globalConfigStore;
328
+ return arguments.length ? import_xe_utils.default.get(globalConfigStore, key, defaultValue) : globalConfigStore;
2802
329
  }
2803
- ;// ./packages/src/dataStore.ts
2804
- const globalStore = {};
2805
- ;// ./packages/src/iconStore.ts
2806
- const iconConfigStore = {};
2807
- ;// ./packages/src/vm.ts
2808
330
 
331
+ // packages_temp/src/dataStore.ts
332
+ var globalStore = {};
333
+
334
+ // packages_temp/src/icon.ts
335
+ var import_vue = require("vue");
336
+ var import_xe_utils3 = __toESM(require("xe-utils"));
337
+
338
+ // packages_temp/src/iconStore.ts
339
+ var iconConfigStore = {};
340
+
341
+ // packages_temp/src/vm.ts
342
+ var import_xe_utils2 = __toESM(require("xe-utils"));
2809
343
  function getSlotVNs(vns) {
2810
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(vns)) {
344
+ if (import_xe_utils2.default.isArray(vns)) {
2811
345
  return vns;
2812
346
  }
2813
347
  return vns ? [vns] : [];
2814
348
  }
2815
- ;// ./packages/src/icon.ts
2816
-
2817
-
2818
-
2819
-
2820
349
 
350
+ // packages_temp/src/icon.ts
2821
351
  function setIcon(options) {
2822
352
  if (options) {
2823
353
  Object.assign(iconConfigStore, options);
@@ -2825,104 +355,58 @@ function setIcon(options) {
2825
355
  return VxeCore;
2826
356
  }
2827
357
  function getIcon(key) {
2828
- return arguments.length ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(iconConfigStore, key) : iconConfigStore;
358
+ return arguments.length ? import_xe_utils3.default.get(iconConfigStore, key) : iconConfigStore;
2829
359
  }
2830
360
  function renderGlobalIcon(name) {
2831
361
  const icon = getIcon(name);
2832
362
  return renderCustomIcon(icon, name);
2833
363
  }
2834
364
  function renderCustomIcon(icon, name) {
2835
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(icon)) {
2836
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {}, getSlotVNs(icon({
2837
- name
2838
- })));
365
+ if (import_xe_utils3.default.isFunction(icon)) {
366
+ return (0, import_vue.h)("span", {}, getSlotVNs(icon({ name })));
2839
367
  }
2840
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
368
+ return (0, import_vue.h)("i", {
2841
369
  class: icon
2842
370
  });
2843
371
  }
2844
- ;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
2845
- function _typeof(o) {
2846
- "@babel/helpers - typeof";
2847
-
2848
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
2849
- return typeof o;
2850
- } : function (o) {
2851
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
2852
- }, _typeof(o);
2853
- }
2854
-
2855
- ;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
2856
-
2857
- function toPrimitive(t, r) {
2858
- if ("object" != _typeof(t) || !t) return t;
2859
- var e = t[Symbol.toPrimitive];
2860
- if (void 0 !== e) {
2861
- var i = e.call(t, r || "default");
2862
- if ("object" != _typeof(i)) return i;
2863
- throw new TypeError("@@toPrimitive must return a primitive value.");
2864
- }
2865
- return ("string" === r ? String : Number)(t);
2866
- }
2867
-
2868
- ;// ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
2869
-
2870
-
2871
- function toPropertyKey(t) {
2872
- var i = toPrimitive(t, "string");
2873
- return "symbol" == _typeof(i) ? i : i + "";
2874
- }
2875
-
2876
- ;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
2877
-
2878
- function _defineProperty(e, r, t) {
2879
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
2880
- value: t,
2881
- enumerable: !0,
2882
- configurable: !0,
2883
- writable: !0
2884
- }) : e[r] = t, e;
2885
- }
2886
372
 
2887
- ;// ./packages/src/event.ts
2888
-
2889
-
2890
-
2891
- const GLOBAL_EVENT_KEYS = {
2892
- F2: 'F2',
2893
- F10: 'F10',
2894
- TAB: 'Tab',
2895
- ESCAPE: 'Escape',
2896
- ENTER: 'Enter',
2897
- DELETE: 'Delete',
2898
- BACKSPACE: 'Backspace',
2899
- SPACEBAR: ' ',
2900
- CONTEXT_MENU: 'ContextMenu',
2901
- ARROW_UP: 'ArrowUp',
2902
- ARROW_DOWN: 'ArrowDown',
2903
- ARROW_LEFT: 'ArrowLeft',
2904
- ARROW_RIGHT: 'ArrowRight',
2905
- PAGE_UP: 'PageUp',
2906
- PAGE_DOWN: 'PageDown',
2907
- HOME: 'Home',
2908
- END: 'End',
2909
- PROCESS: 'Process',
2910
- A: 'A',
2911
- X: 'X',
2912
- C: 'C',
2913
- V: 'V',
2914
- D: 'D',
2915
- F: 'F',
2916
- H: 'H',
2917
- M: 'M',
2918
- Y: 'Y',
2919
- Z: 'Z',
2920
- R: 'R',
2921
- P: 'P'
2922
- };
2923
- const browse = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().browse();
2924
- const convertEventKeys = {
2925
- ' ': 'Spacebar',
373
+ // packages_temp/src/event.ts
374
+ var import_xe_utils4 = __toESM(require("xe-utils"));
375
+ var GLOBAL_EVENT_KEYS = {
376
+ F2: "F2",
377
+ F10: "F10",
378
+ TAB: "Tab",
379
+ ESCAPE: "Escape",
380
+ ENTER: "Enter",
381
+ DELETE: "Delete",
382
+ BACKSPACE: "Backspace",
383
+ SPACEBAR: " ",
384
+ CONTEXT_MENU: "ContextMenu",
385
+ ARROW_UP: "ArrowUp",
386
+ ARROW_DOWN: "ArrowDown",
387
+ ARROW_LEFT: "ArrowLeft",
388
+ ARROW_RIGHT: "ArrowRight",
389
+ PAGE_UP: "PageUp",
390
+ PAGE_DOWN: "PageDown",
391
+ HOME: "Home",
392
+ END: "End",
393
+ PROCESS: "Process",
394
+ A: "A",
395
+ X: "X",
396
+ C: "C",
397
+ V: "V",
398
+ D: "D",
399
+ F: "F",
400
+ H: "H",
401
+ M: "M",
402
+ Y: "Y",
403
+ Z: "Z",
404
+ R: "R",
405
+ P: "P"
406
+ };
407
+ var browse = import_xe_utils4.default.browse();
408
+ var convertEventKeys = {
409
+ " ": "Spacebar",
2926
410
  Apps: GLOBAL_EVENT_KEYS.CONTEXT_MENU,
2927
411
  Del: GLOBAL_EVENT_KEYS.DELETE,
2928
412
  Up: GLOBAL_EVENT_KEYS.ARROW_UP,
@@ -2930,29 +414,24 @@ const convertEventKeys = {
2930
414
  Left: GLOBAL_EVENT_KEYS.ARROW_LEFT,
2931
415
  Right: GLOBAL_EVENT_KEYS.ARROW_RIGHT
2932
416
  };
2933
- // 监听全局事件
2934
- const wheelName = browse.firefox ? 'DOMMouseScroll' : 'mousewheel';
2935
- const eventStore = [];
417
+ var wheelName = browse.firefox ? "DOMMouseScroll" : "mousewheel";
418
+ var eventStore = [];
2936
419
  function triggerEvent(evnt) {
2937
420
  const isWheel = evnt.type === wheelName;
2938
- eventStore.forEach(({
2939
- type,
2940
- cb
2941
- }) => {
2942
- // 如果被取消冒泡,不再执行
421
+ eventStore.forEach(({ type, cb }) => {
2943
422
  if (!evnt.cancelBubble) {
2944
- if (type === evnt.type || isWheel && type === 'mousewheel') {
423
+ if (type === evnt.type || isWheel && type === "mousewheel") {
2945
424
  cb(evnt);
2946
425
  }
2947
426
  }
2948
427
  });
2949
428
  }
2950
- class VxeComponentEvent {
429
+ var VxeComponentEvent = class {
2951
430
  constructor(evnt, params1, params2) {
2952
- _defineProperty(this, "$event", void 0);
2953
- _defineProperty(this, "type", '');
2954
- _defineProperty(this, "key", '');
2955
- _defineProperty(this, "code", '');
431
+ __publicField(this, "$event");
432
+ __publicField(this, "type", "");
433
+ __publicField(this, "key", "");
434
+ __publicField(this, "code", "");
2956
435
  this.$event = evnt;
2957
436
  if (evnt) {
2958
437
  if (evnt.type) {
@@ -2966,8 +445,8 @@ class VxeComponentEvent {
2966
445
  }
2967
446
  }
2968
447
  Object.assign(this, params1);
2969
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(params2, (val, key) => {
2970
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(val)) {
448
+ import_xe_utils4.default.objectEach(params2, (val, key) => {
449
+ if (import_xe_utils4.default.isFunction(val)) {
2971
450
  let rest = null;
2972
451
  let isRun = false;
2973
452
  Object.defineProperty(this, key, {
@@ -2980,6 +459,7 @@ class VxeComponentEvent {
2980
459
  }
2981
460
  });
2982
461
  } else {
462
+ ;
2983
463
  this[key] = val;
2984
464
  }
2985
465
  });
@@ -2996,87 +476,55 @@ class VxeComponentEvent {
2996
476
  evnt.preventDefault();
2997
477
  }
2998
478
  }
2999
- }
3000
- const createEvent = (evnt, params1, params2) => {
479
+ };
480
+ var createEvent = (evnt, params1, params2) => {
3001
481
  if (evnt instanceof VxeComponentEvent) {
3002
482
  evnt = evnt.$event;
3003
483
  }
3004
484
  return new VxeComponentEvent(evnt, params1, params2);
3005
485
  };
3006
- const globalEvents = {
486
+ var globalEvents = {
3007
487
  on(comp, type, cb) {
3008
- eventStore.push({
3009
- comp,
3010
- type,
3011
- cb
3012
- });
488
+ eventStore.push({ comp, type, cb });
3013
489
  },
3014
490
  off(comp, type) {
3015
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(eventStore, item => item.comp === comp && item.type === type);
491
+ import_xe_utils4.default.remove(eventStore, (item) => item.comp === comp && item.type === type);
3016
492
  },
3017
493
  hasKey(evnt, targetKey) {
3018
494
  if (!targetKey) {
3019
495
  return false;
3020
496
  }
3021
- const {
3022
- key
3023
- } = evnt;
497
+ const { key } = evnt;
3024
498
  targetKey = targetKey.toLowerCase();
3025
499
  return key ? targetKey === key.toLowerCase() || !!(convertEventKeys[key] && convertEventKeys[key].toLowerCase() === targetKey) : false;
3026
500
  }
3027
501
  };
3028
502
  if (browse.isDoc) {
3029
503
  if (!browse.msie) {
3030
- window.addEventListener('copy', triggerEvent, false);
3031
- window.addEventListener('cut', triggerEvent, false);
3032
- window.addEventListener('paste', triggerEvent, false);
3033
- }
3034
- document.addEventListener('scroll', triggerEvent, true);
3035
- document.addEventListener('keydown', triggerEvent, false);
3036
- document.addEventListener('contextmenu', triggerEvent, false);
3037
- window.addEventListener('mousedown', triggerEvent, false);
3038
- window.addEventListener('click', triggerEvent, false);
3039
- window.addEventListener('blur', triggerEvent, false);
3040
- window.addEventListener('resize', triggerEvent, false);
3041
- window.addEventListener(wheelName, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().throttle(triggerEvent, 100, {
3042
- leading: true,
3043
- trailing: false
3044
- }), {
3045
- passive: true,
3046
- capture: false
3047
- });
3048
- }
3049
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
3050
- var es_iterator_constructor = __webpack_require__(8111);
3051
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
3052
- var es_iterator_for_each = __webpack_require__(7588);
3053
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
3054
- var es_iterator_some = __webpack_require__(3579);
3055
- ;// ./packages/src/resize.ts
3056
-
3057
-
3058
-
3059
-
3060
-
3061
-
3062
-
3063
- /**
3064
- * 监听 resize 事件
3065
- * 如果项目中已使用了 resize-observer-polyfill,那么只需要将方法定义全局,该组件就会自动使用
3066
- */
3067
- let resizeTimeout;
3068
- /* eslint-disable no-use-before-define */
3069
- const resize_eventStore = [];
3070
- const defaultInterval = 500;
504
+ window.addEventListener("copy", triggerEvent, false);
505
+ window.addEventListener("cut", triggerEvent, false);
506
+ window.addEventListener("paste", triggerEvent, false);
507
+ }
508
+ document.addEventListener("scroll", triggerEvent, true);
509
+ document.addEventListener("keydown", triggerEvent, false);
510
+ document.addEventListener("contextmenu", triggerEvent, false);
511
+ window.addEventListener("mousedown", triggerEvent, false);
512
+ window.addEventListener("click", triggerEvent, false);
513
+ window.addEventListener("blur", triggerEvent, false);
514
+ window.addEventListener("resize", triggerEvent, false);
515
+ window.addEventListener(wheelName, import_xe_utils4.default.throttle(triggerEvent, 100, { leading: true, trailing: false }), { passive: true, capture: false });
516
+ }
517
+
518
+ // packages_temp/src/resize.ts
519
+ var import_xe_utils5 = __toESM(require("xe-utils"));
520
+ var resizeTimeout;
521
+ var eventStore2 = [];
522
+ var defaultInterval = 500;
3071
523
  function eventHandle() {
3072
- if (resize_eventStore.length) {
3073
- resize_eventStore.forEach(item => {
3074
- item.tarList.forEach(observer => {
3075
- const {
3076
- target,
3077
- width,
3078
- heighe
3079
- } = observer;
524
+ if (eventStore2.length) {
525
+ eventStore2.forEach((item) => {
526
+ item.tarList.forEach((observer) => {
527
+ const { target, width, heighe } = observer;
3080
528
  const clientWidth = target.clientWidth;
3081
529
  const clientHeight = target.clientHeight;
3082
530
  const rWidth = clientWidth && width !== clientWidth;
@@ -3088,7 +536,6 @@ function eventHandle() {
3088
536
  }
3089
537
  });
3090
538
  });
3091
- /* eslint-disable @typescript-eslint/no-use-before-define */
3092
539
  eventListener();
3093
540
  }
3094
541
  }
@@ -3096,40 +543,38 @@ function eventListener() {
3096
543
  clearTimeout(resizeTimeout);
3097
544
  resizeTimeout = setTimeout(eventHandle, globalConfigStore.resizeInterval || defaultInterval);
3098
545
  }
3099
- class XEResizeObserver {
546
+ var XEResizeObserver = class {
3100
547
  constructor(callback) {
3101
- _defineProperty(this, "tarList", []);
3102
- _defineProperty(this, "callback", void 0);
548
+ __publicField(this, "tarList", []);
549
+ __publicField(this, "callback");
3103
550
  this.callback = callback;
3104
551
  }
3105
552
  observe(target) {
3106
553
  if (target) {
3107
- const {
3108
- tarList
3109
- } = this;
3110
- if (!tarList.some(observer => observer.target === target)) {
554
+ const { tarList } = this;
555
+ if (!tarList.some((observer) => observer.target === target)) {
3111
556
  tarList.push({
3112
557
  target,
3113
558
  width: target.clientWidth,
3114
559
  heighe: target.clientHeight
3115
560
  });
3116
561
  }
3117
- if (!resize_eventStore.length) {
562
+ if (!eventStore2.length) {
3118
563
  eventListener();
3119
564
  }
3120
- if (!resize_eventStore.some(item => item === this)) {
3121
- resize_eventStore.push(this);
565
+ if (!eventStore2.some((item) => item === this)) {
566
+ eventStore2.push(this);
3122
567
  }
3123
568
  }
3124
569
  }
3125
570
  unobserve(target) {
3126
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(resize_eventStore, item => item.tarList.some(observer => observer.target === target));
571
+ import_xe_utils5.default.remove(eventStore2, (item) => item.tarList.some((observer) => observer.target === target));
3127
572
  }
3128
573
  disconnect() {
3129
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(resize_eventStore, item => item === this);
574
+ import_xe_utils5.default.remove(eventStore2, (item) => item === this);
3130
575
  }
3131
- }
3132
- const globalResize = {
576
+ };
577
+ var globalResize = {
3133
578
  create(callback) {
3134
579
  if (window.ResizeObserver) {
3135
580
  return new window.ResizeObserver(callback);
@@ -3137,19 +582,20 @@ const globalResize = {
3137
582
  return new XEResizeObserver(callback);
3138
583
  }
3139
584
  };
3140
- ;// ./packages/src/i18nStore.ts
3141
585
 
3142
- const i18nConfigStore = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
3143
- language: '',
586
+ // packages_temp/src/i18n.ts
587
+ var import_xe_utils6 = __toESM(require("xe-utils"));
588
+
589
+ // packages_temp/src/i18nStore.ts
590
+ var import_vue2 = require("vue");
591
+ var i18nConfigStore = (0, import_vue2.reactive)({
592
+ language: "",
3144
593
  langMaps: {}
3145
594
  });
3146
- ;// ./packages/src/i18n.ts
3147
-
3148
-
3149
-
3150
595
 
3151
- let checkInstall = false;
3152
- let cacheMaps = {};
596
+ // packages_temp/src/i18n.ts
597
+ var checkInstall = false;
598
+ var cacheMaps = {};
3153
599
  function getDefaultExport(mod) {
3154
600
  if (mod && mod.__esModule) {
3155
601
  return mod.default;
@@ -3157,36 +603,29 @@ function getDefaultExport(mod) {
3157
603
  return mod;
3158
604
  }
3159
605
  function getI18n(key, args) {
3160
- const {
3161
- langMaps,
3162
- language
3163
- } = i18nConfigStore;
3164
- const {
3165
- i18n
3166
- } = globalConfigStore;
606
+ const { langMaps, language } = i18nConfigStore;
607
+ const { i18n } = globalConfigStore;
3167
608
  if (i18n) {
3168
- return `${i18n(key, args) || ''}`;
609
+ return `${i18n(key, args) || ""}`;
3169
610
  }
3170
611
  if (!checkInstall) {
3171
612
  if (!langMaps[language]) {
3172
- 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`);
3173
614
  }
3174
615
  checkInstall = true;
3175
616
  }
3176
617
  if (!args && cacheMaps[key]) {
3177
618
  return cacheMaps[key];
3178
619
  }
3179
- 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);
3180
621
  if (!args) {
3181
622
  cacheMaps[key] = i18nLabel;
3182
623
  }
3183
624
  return i18nLabel;
3184
625
  }
3185
626
  function setLanguage(locale) {
3186
- const {
3187
- language
3188
- } = i18nConfigStore;
3189
- const targetlang = locale || 'zh-CN';
627
+ const { language } = i18nConfigStore;
628
+ const targetlang = locale || "zh-CN";
3190
629
  if (language !== targetlang) {
3191
630
  i18nConfigStore.language = targetlang;
3192
631
  cacheMaps = {};
@@ -3198,45 +637,37 @@ function setI18n(locale, data) {
3198
637
  return VxeCore;
3199
638
  }
3200
639
  function hasLanguage(language) {
3201
- const {
3202
- langMaps
3203
- } = i18nConfigStore;
640
+ const { langMaps } = i18nConfigStore;
3204
641
  return !!langMaps[language];
3205
642
  }
3206
643
  function getLanguage() {
3207
- const {
3208
- language
3209
- } = i18nConfigStore;
644
+ const { language } = i18nConfigStore;
3210
645
  return language;
3211
646
  }
3212
- ;// ./packages/src/log.ts
3213
647
 
648
+ // packages_temp/src/renderer.ts
649
+ var import_xe_utils7 = __toESM(require("xe-utils"));
650
+
651
+ // packages_temp/src/log.ts
3214
652
  function createLog(type, name) {
3215
- return function (key, args) {
3216
- const msg = `[vxe ${name || ''}] ${getI18n(key, args)}`;
653
+ return function(key, args) {
654
+ const msg = `[vxe ${name || ""}] ${getI18n(key, args)}`;
3217
655
  console[type](msg);
3218
656
  return msg;
3219
657
  };
3220
658
  }
3221
- const version = "4.4.42";
3222
- const log = {
659
+ var version = "4.5.1";
660
+ var log = {
3223
661
  create: createLog,
3224
- warn: createLog('warn', `v${version}`),
3225
- err: createLog('error', `v${version}`)
662
+ warn: createLog("warn", `v${version}`),
663
+ err: createLog("error", `v${version}`)
3226
664
  };
3227
- ;// ./packages/src/renderer.ts
3228
-
3229
665
 
3230
- /**
3231
- * 内置的组件渲染
3232
- */
3233
- const renderMap = {};
3234
- /**
3235
- * 全局渲染器
3236
- */
3237
- const renderer = {
666
+ // packages_temp/src/renderer.ts
667
+ var renderMap = {};
668
+ var renderer = {
3238
669
  mixin(opts) {
3239
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(opts, (options, name) => {
670
+ import_xe_utils7.default.each(opts, (options, name) => {
3240
671
  renderer.add(name, options);
3241
672
  });
3242
673
  return renderer;
@@ -3248,10 +679,9 @@ const renderer = {
3248
679
  if (name && options) {
3249
680
  const renders = renderMap[name];
3250
681
  if (renders) {
3251
- // 检测是否覆盖
3252
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (val, key) => {
3253
- if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(renders[key]) && renders[key] !== val) {
3254
- log.warn('vxe.error.coverProp', [`Renderer.${name}`, key]);
682
+ import_xe_utils7.default.each(options, (val, key) => {
683
+ if (!import_xe_utils7.default.eqNull(renders[key]) && renders[key] !== val) {
684
+ log.warn("vxe.error.coverProp", [`Renderer.${name}`, key]);
3255
685
  }
3256
686
  });
3257
687
  Object.assign(renders, options);
@@ -3262,7 +692,7 @@ const renderer = {
3262
692
  return renderer;
3263
693
  },
3264
694
  forEach(callback) {
3265
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(renderMap, callback);
695
+ import_xe_utils7.default.objectEach(renderMap, callback);
3266
696
  return renderer;
3267
697
  },
3268
698
  delete(name) {
@@ -3270,22 +700,15 @@ const renderer = {
3270
700
  return renderer;
3271
701
  }
3272
702
  };
3273
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
3274
- var es_array_includes = __webpack_require__(4423);
3275
- ;// ./packages/src/store.ts
3276
-
3277
-
3278
703
 
3279
-
3280
- /**
3281
- * 创建数据仓库
3282
- */
3283
- class Store {
704
+ // packages_temp/src/store.ts
705
+ var import_xe_utils8 = __toESM(require("xe-utils"));
706
+ var Store = class {
3284
707
  constructor() {
3285
- _defineProperty(this, "store", {});
708
+ __publicField(this, "store", {});
3286
709
  }
3287
710
  mixin(options) {
3288
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (item, key) => {
711
+ import_xe_utils8.default.each(options, (item, key) => {
3289
712
  this.add(key, item);
3290
713
  });
3291
714
  return this;
@@ -3298,41 +721,36 @@ class Store {
3298
721
  }
3299
722
  add(name, options) {
3300
723
  const conf = this.store[name];
3301
- // 检测是否覆盖
3302
- const confKeys = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(conf);
3303
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (item, key) => {
724
+ const confKeys = import_xe_utils8.default.keys(conf);
725
+ import_xe_utils8.default.each(options, (item, key) => {
3304
726
  if (confKeys.includes(key)) {
3305
- log.warn('vxe.error.coverProp', [name, key]);
727
+ log.warn("vxe.error.coverProp", [name, key]);
3306
728
  }
3307
729
  });
3308
- this.store[name] = conf ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(conf, options) : options;
730
+ this.store[name] = conf ? import_xe_utils8.default.merge(conf, options) : options;
3309
731
  return this;
3310
732
  }
3311
733
  delete(name) {
3312
734
  delete this.store[name];
3313
735
  }
3314
736
  forEach(callback) {
3315
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(this.store, callback);
737
+ import_xe_utils8.default.objectEach(this.store, callback);
3316
738
  }
3317
- }
3318
- /* harmony default export */ var store = (Store);
3319
- ;// ./packages/src/validators.ts
3320
-
3321
- const validators = new store();
3322
- Object.assign(validators, {
3323
- _name: 'Validators'
3324
- });
3325
- ;// ./packages/src/menus.ts
3326
-
3327
-
739
+ };
740
+ var store_default = Store;
3328
741
 
742
+ // packages_temp/src/validators.ts
743
+ var validators = new store_default();
744
+ Object.assign(validators, { _name: "Validators" });
3329
745
 
3330
- class VXEMenusStore {
746
+ // packages_temp/src/menus.ts
747
+ var import_xe_utils9 = __toESM(require("xe-utils"));
748
+ var VXEMenusStore = class {
3331
749
  constructor() {
3332
- _defineProperty(this, "store", {});
750
+ __publicField(this, "store", {});
3333
751
  }
3334
752
  mixin(options) {
3335
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (item, key) => {
753
+ import_xe_utils9.default.each(options, (item, key) => {
3336
754
  this.add(key, item);
3337
755
  });
3338
756
  return this;
@@ -3345,45 +763,39 @@ class VXEMenusStore {
3345
763
  }
3346
764
  add(name, render) {
3347
765
  const conf = this.store[name];
3348
- // 兼容
3349
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
3350
- log.warn('vxe.error.delProp', ['menus -> callback', 'menuMethod']);
766
+ if (import_xe_utils9.default.isFunction(render)) {
767
+ log.warn("vxe.error.delProp", ["menus -> callback", "menuMethod"]);
3351
768
  render = {
3352
769
  menuMethod: render
3353
770
  };
3354
771
  }
3355
- // 检测是否覆盖
3356
- const confKeys = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(conf);
3357
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(render, (item, key) => {
772
+ const confKeys = import_xe_utils9.default.keys(conf);
773
+ import_xe_utils9.default.each(render, (item, key) => {
3358
774
  if (confKeys.includes(key)) {
3359
- log.warn('vxe.error.coverProp', [name, key]);
775
+ log.warn("vxe.error.coverProp", [name, key]);
3360
776
  }
3361
777
  });
3362
- this.store[name] = conf ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(conf, render) : render;
778
+ this.store[name] = conf ? import_xe_utils9.default.merge(conf, render) : render;
3363
779
  return this;
3364
780
  }
3365
781
  delete(name) {
3366
782
  delete this.store[name];
3367
783
  }
3368
784
  forEach(callback) {
3369
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(this.store, callback);
785
+ import_xe_utils9.default.objectEach(this.store, callback);
3370
786
  }
3371
- }
3372
- const menus = new VXEMenusStore();
3373
- Object.assign(menus, {
3374
- _name: 'Menus'
3375
- });
3376
- ;// ./packages/src/formats.ts
3377
-
3378
-
3379
-
787
+ };
788
+ var menus = new VXEMenusStore();
789
+ Object.assign(menus, { _name: "Menus" });
3380
790
 
3381
- class VXEFormatsStore {
791
+ // packages_temp/src/formats.ts
792
+ var import_xe_utils10 = __toESM(require("xe-utils"));
793
+ var VXEFormatsStore = class {
3382
794
  constructor() {
3383
- _defineProperty(this, "store", {});
795
+ __publicField(this, "store", {});
3384
796
  }
3385
797
  mixin(options) {
3386
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (item, key) => {
798
+ import_xe_utils10.default.each(options, (item, key) => {
3387
799
  this.add(key, item);
3388
800
  });
3389
801
  return this;
@@ -3396,45 +808,39 @@ class VXEFormatsStore {
3396
808
  }
3397
809
  add(name, render) {
3398
810
  const conf = this.store[name];
3399
- // 兼容
3400
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
3401
- log.warn('vxe.error.delProp', ['formats -> callback', 'cellFormatMethod']);
811
+ if (import_xe_utils10.default.isFunction(render)) {
812
+ log.warn("vxe.error.delProp", ["formats -> callback", "cellFormatMethod"]);
3402
813
  render = {
3403
814
  cellFormatMethod: render
3404
815
  };
3405
816
  }
3406
- // 检测是否覆盖
3407
- const confKeys = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(conf);
3408
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(render, (item, key) => {
817
+ const confKeys = import_xe_utils10.default.keys(conf);
818
+ import_xe_utils10.default.each(render, (item, key) => {
3409
819
  if (confKeys.includes(key)) {
3410
- log.warn('vxe.error.coverProp', [name, key]);
820
+ log.warn("vxe.error.coverProp", [name, key]);
3411
821
  }
3412
822
  });
3413
- this.store[name] = conf ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(conf, render) : render;
823
+ this.store[name] = conf ? import_xe_utils10.default.merge(conf, render) : render;
3414
824
  return this;
3415
825
  }
3416
826
  delete(name) {
3417
827
  delete this.store[name];
3418
828
  }
3419
829
  forEach(callback) {
3420
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(this.store, callback);
830
+ import_xe_utils10.default.objectEach(this.store, callback);
3421
831
  }
3422
- }
3423
- const formats = new VXEFormatsStore();
3424
- Object.assign(formats, {
3425
- _name: 'Formats'
3426
- });
3427
- ;// ./packages/src/commands.ts
3428
-
3429
-
3430
-
832
+ };
833
+ var formats = new VXEFormatsStore();
834
+ Object.assign(formats, { _name: "Formats" });
3431
835
 
3432
- class VXECommandsStore {
836
+ // packages_temp/src/commands.ts
837
+ var import_xe_utils11 = __toESM(require("xe-utils"));
838
+ var VXECommandsStore = class {
3433
839
  constructor() {
3434
- _defineProperty(this, "store", {});
840
+ __publicField(this, "store", {});
3435
841
  }
3436
842
  mixin(options) {
3437
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (item, key) => {
843
+ import_xe_utils11.default.each(options, (item, key) => {
3438
844
  this.add(key, item);
3439
845
  });
3440
846
  return this;
@@ -3447,42 +853,37 @@ class VXECommandsStore {
3447
853
  }
3448
854
  add(name, render) {
3449
855
  const conf = this.store[name];
3450
- // 兼容
3451
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
3452
- log.warn('vxe.error.delProp', ['commands -> callback', 'commandMethod']);
856
+ if (import_xe_utils11.default.isFunction(render)) {
857
+ log.warn("vxe.error.delProp", ["commands -> callback", "commandMethod"]);
3453
858
  render = {
3454
859
  commandMethod: render
3455
860
  };
3456
861
  }
3457
- // 检测是否覆盖
3458
- const confKeys = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(conf);
3459
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(render, (item, key) => {
862
+ const confKeys = import_xe_utils11.default.keys(conf);
863
+ import_xe_utils11.default.each(render, (item, key) => {
3460
864
  if (confKeys.includes(key)) {
3461
- log.warn('vxe.error.coverProp', [name, key]);
865
+ log.warn("vxe.error.coverProp", [name, key]);
3462
866
  }
3463
867
  });
3464
- this.store[name] = conf ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(conf, render) : render;
868
+ this.store[name] = conf ? import_xe_utils11.default.merge(conf, render) : render;
3465
869
  return this;
3466
870
  }
3467
871
  delete(name) {
3468
872
  delete this.store[name];
3469
873
  }
3470
874
  forEach(callback) {
3471
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().objectEach(this.store, callback);
875
+ import_xe_utils11.default.objectEach(this.store, callback);
3472
876
  }
3473
- }
3474
- const commands = new VXECommandsStore();
3475
- Object.assign(commands, {
3476
- _name: 'Commands'
3477
- });
3478
- ;// ./packages/src/interceptor.ts
3479
-
3480
-
877
+ };
878
+ var commands = new VXECommandsStore();
879
+ Object.assign(commands, { _name: "Commands" });
3481
880
 
3482
- const storeMap = {};
3483
- const interceptor = {
881
+ // packages_temp/src/interceptor.ts
882
+ var import_xe_utils12 = __toESM(require("xe-utils"));
883
+ var storeMap = {};
884
+ var interceptor = {
3484
885
  mixin(options) {
3485
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(options, (render, type) => {
886
+ import_xe_utils12.default.each(options, (render, type) => {
3486
887
  interceptor.add(type, render);
3487
888
  });
3488
889
  return interceptor;
@@ -3494,9 +895,7 @@ const interceptor = {
3494
895
  return [];
3495
896
  },
3496
897
  add(type, render) {
3497
- // 兼容
3498
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
3499
- // log.warn('vxe.error.delProp', ['interceptor -> callback', 'tableInterceptorMethod'])
898
+ if (import_xe_utils12.default.isFunction(render)) {
3500
899
  render = {
3501
900
  tableInterceptorMethod: render
3502
901
  };
@@ -3507,9 +906,8 @@ const interceptor = {
3507
906
  if (!eList) {
3508
907
  eList = storeMap[type] = [];
3509
908
  }
3510
- // 检测重复
3511
909
  if (eList.indexOf(callback) > -1) {
3512
- log.warn('vxe.error.coverProp', ['Interceptor', type]);
910
+ log.warn("vxe.error.coverProp", ["Interceptor", type]);
3513
911
  }
3514
912
  eList.push(callback);
3515
913
  }
@@ -3518,44 +916,44 @@ const interceptor = {
3518
916
  delete(type, render) {
3519
917
  const eList = storeMap[type];
3520
918
  if (eList) {
3521
- // 兼容
3522
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
919
+ if (import_xe_utils12.default.isFunction(render)) {
3523
920
  render = {
3524
921
  tableInterceptorMethod: render
3525
922
  };
3526
923
  }
3527
924
  const callback = render ? render.tableInterceptorMethod : null;
3528
925
  if (callback) {
3529
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(eList, fn => fn === callback);
926
+ import_xe_utils12.default.remove(eList, (fn) => fn === callback);
3530
927
  } else {
3531
928
  delete storeMap[type];
3532
929
  }
3533
930
  }
3534
931
  }
3535
932
  };
3536
- ;// ./packages/src/clipboard.ts
3537
933
 
3538
- let copyElem;
3539
- const clipStore = {
3540
- text: '',
3541
- html: ''
934
+ // packages_temp/src/clipboard.ts
935
+ var import_xe_utils13 = __toESM(require("xe-utils"));
936
+ var copyElem;
937
+ var clipStore = {
938
+ text: "",
939
+ html: ""
3542
940
  };
3543
941
  function handleText(text) {
3544
942
  if (!copyElem) {
3545
- copyElem = document.createElement('textarea');
3546
- copyElem.id = '$VxeCopy';
943
+ copyElem = document.createElement("textarea");
944
+ copyElem.id = "$VxeCopy";
3547
945
  const styles = copyElem.style;
3548
- styles.width = '48px';
3549
- styles.height = '24px';
3550
- styles.position = 'fixed';
3551
- styles.zIndex = '0';
3552
- styles.left = '-500px';
3553
- styles.top = '-500px';
946
+ styles.width = "48px";
947
+ styles.height = "24px";
948
+ styles.position = "fixed";
949
+ styles.zIndex = "0";
950
+ styles.left = "-500px";
951
+ styles.top = "-500px";
3554
952
  document.body.appendChild(copyElem);
3555
953
  }
3556
954
  copyElem.value = text;
3557
955
  }
3558
- const clipboard = {
956
+ var clipboard = {
3559
957
  getStore() {
3560
958
  return clipStore;
3561
959
  },
@@ -3570,24 +968,25 @@ const clipboard = {
3570
968
  copy(content) {
3571
969
  let result = false;
3572
970
  try {
3573
- const text = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(content);
971
+ const text = import_xe_utils13.default.toValueString(content);
3574
972
  handleText(text);
3575
973
  copyElem.select();
3576
974
  copyElem.setSelectionRange(0, copyElem.value.length);
3577
- result = document.execCommand('copy');
975
+ result = document.execCommand("copy");
3578
976
  copyElem.blur();
3579
977
  clipStore.text = text;
3580
- clipStore.html = '';
3581
- } catch (e) {}
978
+ clipStore.html = "";
979
+ } catch (e) {
980
+ }
3582
981
  return result;
3583
982
  },
3584
983
  getText() {
3585
- return clipStore.text || '';
984
+ return clipStore.text || "";
3586
985
  }
3587
986
  };
3588
- ;// ./packages/src/permission.ts
3589
-
3590
987
 
988
+ // packages_temp/src/permission.ts
989
+ var import_xe_utils14 = __toESM(require("xe-utils"));
3591
990
  function handleCheckInfo(permissionCode, permissionMethod) {
3592
991
  let checkVisible = true;
3593
992
  let checkDisabled = false;
@@ -3597,16 +996,13 @@ function handleCheckInfo(permissionCode, permissionMethod) {
3597
996
  checkDisabled = true;
3598
997
  let vDone = false;
3599
998
  let dDone = false;
3600
- // 或 使用 | 隔开:任意一个为可视,则可视;任意一个禁用,则禁用
3601
- const codeList = String(permissionCode).split('|');
999
+ const codeList = String(permissionCode).split("|");
3602
1000
  for (let i = 0; i < codeList.length; i++) {
3603
1001
  const code = codeList[i];
3604
1002
  let visible = true;
3605
1003
  let disabled = false;
3606
- const rest = checkMethod({
3607
- code
3608
- });
3609
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(rest)) {
1004
+ const rest = checkMethod({ code });
1005
+ if (import_xe_utils14.default.isBoolean(rest)) {
3610
1006
  visible = rest;
3611
1007
  } else if (rest) {
3612
1008
  visible = !!rest.visible;
@@ -3632,7 +1028,7 @@ function handleCheckInfo(permissionCode, permissionMethod) {
3632
1028
  };
3633
1029
  return info;
3634
1030
  }
3635
- const permission = {
1031
+ var permission = {
3636
1032
  getCheckInfo(code) {
3637
1033
  return handleCheckInfo(code);
3638
1034
  },
@@ -3645,57 +1041,58 @@ const permission = {
3645
1041
  return permissionInfo.disabled;
3646
1042
  }
3647
1043
  };
3648
- ;// ./packages/src/z-index.ts
3649
1044
 
3650
- const zIndex = {
1045
+ // packages_temp/src/z-index.ts
1046
+ var zIndex = {
3651
1047
  /**
3652
1048
  * 获取主层级下一个 z-index
3653
1049
  */
3654
1050
  next() {
3655
- return index_esm.getNext();
1051
+ return index_esm_default.getNext();
3656
1052
  },
3657
1053
  /**
3658
1054
  * 获取主层级最后一个 z-index
3659
1055
  */
3660
1056
  getLast() {
3661
- return index_esm.getCurrent();
1057
+ return index_esm_default.getCurrent();
3662
1058
  },
3663
1059
  /**
3664
1060
  * 获取子层级的下一个 z-index
3665
1061
  */
3666
1062
  nextSub() {
3667
- return index_esm.getSubNext();
1063
+ return index_esm_default.getSubNext();
3668
1064
  },
3669
1065
  /**
3670
1066
  * 获取子层级的最后一个 z-index
3671
1067
  */
3672
1068
  getSubLast() {
3673
- return index_esm.getSubCurrent();
1069
+ return index_esm_default.getSubCurrent();
3674
1070
  }
3675
1071
  };
3676
- ;// ./packages/src/base-utils.ts
3677
1072
 
3678
- const baseUtils = {
1073
+ // packages_temp/src/base-utils.ts
1074
+ var import_xe_utils15 = __toESM(require("xe-utils"));
1075
+ var baseUtils = {
3679
1076
  /**
3680
1077
  * 转成字符串
3681
1078
  */
3682
1079
  toString(content) {
3683
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(content)) {
3684
- return '';
1080
+ if (import_xe_utils15.default.eqNull(content)) {
1081
+ return "";
3685
1082
  }
3686
- return '' + content;
1083
+ return "" + content;
3687
1084
  },
3688
1085
  /**
3689
1086
  * 判断值为:'' | null | undefined 时都属于空值
3690
1087
  */
3691
1088
  isEmpty(value) {
3692
- return value === null || value === undefined || value === '';
1089
+ return value === null || value === void 0 || value === "";
3693
1090
  },
3694
1091
  /**
3695
1092
  * 获取配置值,如果存在则返回,如果不存在则使用默认值
3696
1093
  */
3697
1094
  getDefVal(value, defVal) {
3698
- return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(value) ? defVal : value;
1095
+ return import_xe_utils15.default.eqNull(value) ? defVal : value;
3699
1096
  },
3700
1097
  /**
3701
1098
  * 判断是否启用
@@ -3713,19 +1110,245 @@ const baseUtils = {
3713
1110
  return !!(opts && (conf ? opts.enabled !== false : opts.enabled));
3714
1111
  }
3715
1112
  };
3716
- ;// ./packages/src/dom-utils.ts
3717
1113
 
1114
+ // packages_temp/src/db-utils.ts
1115
+ var import_xe_utils16 = __toESM(require("xe-utils"));
1116
+ var IdbStore = class {
1117
+ constructor(key, version2) {
1118
+ __publicField(this, "storeName", "Storage");
1119
+ __publicField(this, "key");
1120
+ __publicField(this, "version");
1121
+ __publicField(this, "dbPromise", null);
1122
+ __publicField(this, "dbName", "");
1123
+ this.key = key;
1124
+ this.version = version2;
1125
+ }
1126
+ getDBName() {
1127
+ return `${this.key}_${this.version}`;
1128
+ }
1129
+ /**
1130
+ * 重置连接缓存,下次调用 openDB 会重新建立连接
1131
+ */
1132
+ resetDB() {
1133
+ this.dbPromise = null;
1134
+ this.dbName = "";
1135
+ }
1136
+ openDB() {
1137
+ const name = this.getDBName();
1138
+ if (this.dbPromise && this.dbName === name) {
1139
+ return this.dbPromise;
1140
+ }
1141
+ this.dbName = name;
1142
+ this.dbPromise = new Promise((resolve, reject) => {
1143
+ const request = indexedDB.open(name, 1);
1144
+ request.onupgradeneeded = () => {
1145
+ const db = request.result;
1146
+ if (!db.objectStoreNames.contains(this.storeName)) {
1147
+ db.createObjectStore(this.storeName, { keyPath: "id" });
1148
+ }
1149
+ };
1150
+ request.onsuccess = () => {
1151
+ const db = request.result;
1152
+ db.onversionchange = () => {
1153
+ db.close();
1154
+ this.resetDB();
1155
+ };
1156
+ db.onclose = () => {
1157
+ this.resetDB();
1158
+ };
1159
+ resolve(db);
1160
+ };
1161
+ request.onerror = () => {
1162
+ reject(request.error || new Error(`IdbStore open failed: ${name}`));
1163
+ };
1164
+ request.onblocked = () => {
1165
+ console.warn(`[IdbStore] open blocked: ${name}`);
1166
+ };
1167
+ }).catch((err) => {
1168
+ this.resetDB();
1169
+ throw err;
1170
+ });
1171
+ return this.dbPromise;
1172
+ }
1173
+ getById(id) {
1174
+ return this.openDB().then(
1175
+ (db) => new Promise((resolve, reject) => {
1176
+ const req = db.transaction(this.storeName, "readonly").objectStore(this.storeName).get(id);
1177
+ req.onsuccess = () => resolve(req.result);
1178
+ req.onerror = () => reject(req.error);
1179
+ })
1180
+ );
1181
+ }
1182
+ getAll() {
1183
+ return this.openDB().then(
1184
+ (db) => new Promise((resolve, reject) => {
1185
+ const store = db.transaction(this.storeName, "readonly").objectStore(this.storeName);
1186
+ if (import_xe_utils16.default.isFunction(store.getAll)) {
1187
+ const req2 = store.getAll();
1188
+ req2.onsuccess = () => resolve(req2.result || []);
1189
+ req2.onerror = () => reject(req2.error);
1190
+ return;
1191
+ }
1192
+ const list = [];
1193
+ const req = store.openCursor();
1194
+ req.onsuccess = () => {
1195
+ const cursor = req.result;
1196
+ if (cursor) {
1197
+ list.push(cursor.value);
1198
+ cursor.continue();
1199
+ } else {
1200
+ resolve(list);
1201
+ }
1202
+ };
1203
+ req.onerror = () => reject(req.error);
1204
+ })
1205
+ );
1206
+ }
1207
+ updateById(id, data) {
1208
+ if (data == null) {
1209
+ return this.deleteById(id);
1210
+ }
1211
+ return this.openDB().then(
1212
+ (db) => new Promise((resolve, reject) => {
1213
+ const tx = db.transaction(this.storeName, "readwrite");
1214
+ tx.objectStore(this.storeName).put({ id, data });
1215
+ tx.oncomplete = () => resolve();
1216
+ tx.onerror = () => reject(tx.error);
1217
+ })
1218
+ );
1219
+ }
1220
+ deleteById(id) {
1221
+ return this.openDB().then(
1222
+ (db) => new Promise((resolve, reject) => {
1223
+ const tx = db.transaction(this.storeName, "readwrite");
1224
+ tx.objectStore(this.storeName).delete(id);
1225
+ tx.oncomplete = () => resolve();
1226
+ tx.onerror = () => reject(tx.error);
1227
+ })
1228
+ );
1229
+ }
1230
+ /**
1231
+ * 清空当前库的数据
1232
+ */
1233
+ clear() {
1234
+ return this.openDB().then(
1235
+ (db) => new Promise((resolve, reject) => {
1236
+ const tx = db.transaction(this.storeName, "readwrite");
1237
+ tx.objectStore(this.storeName).clear();
1238
+ tx.oncomplete = () => resolve();
1239
+ tx.onerror = () => reject(tx.error);
1240
+ })
1241
+ );
1242
+ }
1243
+ /**
1244
+ * 清理非当前版本的旧库
1245
+ */
1246
+ cleanupOldDBs() {
1247
+ if (!indexedDB.databases) {
1248
+ return Promise.resolve();
1249
+ }
1250
+ const current = this.getDBName();
1251
+ const prefix = `${this.key}_`;
1252
+ return indexedDB.databases().then((dbs) => {
1253
+ dbs.forEach((db) => {
1254
+ const n = db.name;
1255
+ if (!n || n === current || !n.startsWith(prefix)) {
1256
+ return;
1257
+ }
1258
+ const rest = n.slice(prefix.length);
1259
+ if (!rest.includes("_")) {
1260
+ indexedDB.deleteDatabase(n);
1261
+ }
1262
+ });
1263
+ });
1264
+ }
1265
+ };
1266
+ var LocalStorageStore = class {
1267
+ constructor(key, version2) {
1268
+ __publicField(this, "key");
1269
+ __publicField(this, "version");
1270
+ this.key = key;
1271
+ this.version = version2;
1272
+ }
1273
+ readAll() {
1274
+ const storageData = import_xe_utils16.default.toStringJSON(localStorage.getItem(this.key) || "");
1275
+ return storageData && String(storageData._v) === String(this.version) ? storageData : { _v: this.version };
1276
+ }
1277
+ writeAll(map) {
1278
+ localStorage.setItem(this.key, import_xe_utils16.default.toJSONString(map));
1279
+ }
1280
+ getById(id) {
1281
+ const map = this.readAll();
1282
+ const has = Object.prototype.hasOwnProperty.call(map, id);
1283
+ return Promise.resolve(has && map[id] != null ? { id, data: map[id] } : void 0);
1284
+ }
1285
+ getAll() {
1286
+ const map = this.readAll();
1287
+ const list = [];
1288
+ Object.keys(map).forEach((k) => {
1289
+ if (k !== "_v" && map[k] != null) {
1290
+ list.push({ id: k, data: map[k] });
1291
+ }
1292
+ });
1293
+ return Promise.resolve(list);
1294
+ }
1295
+ updateById(id, data) {
1296
+ if (data == null) {
1297
+ return this.deleteById(id);
1298
+ }
1299
+ const map = this.readAll();
1300
+ map[id] = data;
1301
+ this.writeAll(map);
1302
+ return Promise.resolve();
1303
+ }
1304
+ deleteById(id) {
1305
+ const map = this.readAll();
1306
+ delete map[id];
1307
+ this.writeAll(map);
1308
+ return Promise.resolve();
1309
+ }
1310
+ clear() {
1311
+ this.writeAll({ _v: this.version });
1312
+ return Promise.resolve();
1313
+ }
1314
+ cleanupOldDBs() {
1315
+ const raw = localStorage.getItem(this.key);
1316
+ if (!raw) {
1317
+ return Promise.resolve();
1318
+ }
1319
+ const storageData = import_xe_utils16.default.toStringJSON(raw);
1320
+ if (!storageData || String(storageData._v) !== String(this.version)) {
1321
+ localStorage.removeItem(this.key);
1322
+ }
1323
+ return Promise.resolve();
1324
+ }
1325
+ };
1326
+ var dbUtils = {
1327
+ /**
1328
+ * 创建存储实例
1329
+ * - driver = 'indexedDB' 且环境支持 => IdbStore
1330
+ * - 其余情况(未传 / 不支持)=> LocalStorageStore
1331
+ */
1332
+ createStore(key, options) {
1333
+ const opts = Object.assign({}, options);
1334
+ const version2 = opts.version || globalConfigStore.version || 0;
1335
+ const driver = opts.driver;
1336
+ if ((!driver || driver === "indexedDB") && typeof indexedDB !== "undefined") {
1337
+ return new IdbStore(key, version2);
1338
+ }
1339
+ return new LocalStorageStore(key, version2);
1340
+ }
1341
+ };
3718
1342
 
3719
- const reClsMap = {};
1343
+ // packages_temp/src/dom-utils.ts
1344
+ var import_xe_utils17 = __toESM(require("xe-utils"));
1345
+ var reClsMap = {};
3720
1346
  function getClsRE(cls) {
3721
1347
  if (!reClsMap[cls]) {
3722
- reClsMap[cls] = new RegExp(`(?:^|\\s)${cls}(?!\\S)`, 'g');
1348
+ reClsMap[cls] = new RegExp(`(?:^|\\s)${cls}(?!\\S)`, "g");
3723
1349
  }
3724
1350
  return reClsMap[cls];
3725
1351
  }
3726
- /**
3727
- * 判断元素是否包含 class
3728
- */
3729
1352
  function hasClass(elem, cls) {
3730
1353
  if (elem) {
3731
1354
  if (elem.classList) {
@@ -3735,15 +1358,12 @@ function hasClass(elem, cls) {
3735
1358
  }
3736
1359
  return false;
3737
1360
  }
3738
- /**
3739
- * 给元素删除 class
3740
- */
3741
1361
  function removeClass(elem, cls) {
3742
1362
  if (elem && hasClass(elem, cls)) {
3743
- elem.className = elem.className.replace(getClsRE(cls), '');
1363
+ elem.className = elem.className.replace(getClsRE(cls), "");
3744
1364
  }
3745
1365
  }
3746
- const domUtils = {
1366
+ var domUtils = {
3747
1367
  /**
3748
1368
  * 判断是否像素px单位 '100px' | 100
3749
1369
  */
@@ -3770,7 +1390,7 @@ const domUtils = {
3770
1390
  addClass(elem, cls) {
3771
1391
  if (elem && !hasClass(elem, cls)) {
3772
1392
  removeClass(elem, cls);
3773
- elem.className = elem.className + ' ' + cls;
1393
+ elem.className = elem.className + " " + cls;
3774
1394
  }
3775
1395
  },
3776
1396
  /**
@@ -3782,20 +1402,21 @@ const domUtils = {
3782
1402
  for (let i = 0; i < staticClassNames.length; i++) {
3783
1403
  const val = staticClassNames[i];
3784
1404
  if (val) {
3785
- parts.push('' + val);
1405
+ parts.push("" + val);
3786
1406
  }
3787
1407
  }
3788
1408
  }
3789
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(mapClassName, (val, key) => {
1409
+ import_xe_utils17.default.each(mapClassName, (val, key) => {
3790
1410
  if (val) {
3791
1411
  parts.push(key);
3792
1412
  }
3793
1413
  });
3794
- return parts.join(' ');
1414
+ return parts.join(" ");
3795
1415
  }
3796
1416
  };
3797
- ;// ./packages/src/scrollbar-utils.ts
3798
- const scrollbarUtils = {
1417
+
1418
+ // packages_temp/src/scrollbar-utils.ts
1419
+ var scrollbarUtils = {
3799
1420
  /**
3800
1421
  * 计算滚动条滑块的长度
3801
1422
  */
@@ -3851,65 +1472,51 @@ const scrollbarUtils = {
3851
1472
  return thumbOffset / maxThumbOffset * maxScroll;
3852
1473
  }
3853
1474
  };
3854
- ;// ./packages/src/popper-utils.ts
3855
1475
 
3856
- /**
3857
- * 获取包裹容器的元素
3858
- */
1476
+ // packages_temp/src/popper-utils.ts
1477
+ var import_xe_utils18 = __toESM(require("xe-utils"));
3859
1478
  function getWrapperElement(panelElem) {
3860
1479
  if (!panelElem) {
3861
1480
  return null;
3862
1481
  }
3863
- const bodyEl = document.body;
1482
+ const bodyEl2 = document.body;
3864
1483
  const parentEl = panelElem.parentElement;
3865
- return (parentEl === bodyEl ? document.documentElement : parentEl) || null;
1484
+ return (parentEl === bodyEl2 ? document.documentElement : parentEl) || null;
3866
1485
  }
3867
- /**
3868
- * 获取插入到指定容器的元素或字符串
3869
- */
3870
1486
  function getAppendSelector(appendTo) {
3871
- const selectElem = appendTo && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(appendTo) ? appendTo({}) : appendTo;
3872
- return selectElem || 'body';
1487
+ const selectElem = appendTo && import_xe_utils18.default.isFunction(appendTo) ? appendTo({}) : appendTo;
1488
+ return selectElem || "body";
3873
1489
  }
3874
- /**
3875
- * 获取插入到指定容器的元素
3876
- */
3877
1490
  function getAppendElement(appendTo) {
3878
1491
  const selectElem = getAppendSelector(appendTo);
3879
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(selectElem)) {
1492
+ if (import_xe_utils18.default.isString(selectElem)) {
3880
1493
  return document.querySelector(selectElem) || document.body;
3881
1494
  }
3882
1495
  return selectElem;
3883
1496
  }
3884
- const popperUtils = {
1497
+ var popperUtils = {
3885
1498
  /**
3886
1499
  * 更新位置
3887
1500
  */
3888
1501
  updatePlacement(targetElem, panelElem, options) {
3889
- const {
3890
- defaultTop,
3891
- defaultLeft,
3892
- placement,
3893
- defaultPlacement,
3894
- appendTo,
3895
- teleportTo,
3896
- marginSize,
3897
- isMinWidth
3898
- } = Object.assign({
3899
- appendTo: '',
3900
- teleportTo: false,
3901
- marginSize: 12,
3902
- isMinWidth: true
3903
- }, options);
3904
- let panelPlacement = 'bottom';
3905
- let top = '';
3906
- let bottom = '';
1502
+ const { defaultTop, defaultLeft, placement, defaultPlacement, appendTo, teleportTo, marginSize, isMinWidth } = Object.assign(
1503
+ {
1504
+ appendTo: "",
1505
+ teleportTo: false,
1506
+ marginSize: 12,
1507
+ isMinWidth: true
1508
+ },
1509
+ options
1510
+ );
1511
+ let panelPlacement = "bottom";
1512
+ let top = "";
1513
+ let bottom = "";
3907
1514
  let left = 0;
3908
- let minWidth = '';
3909
- let arrowLeft = '';
1515
+ let minWidth = "";
1516
+ let arrowLeft = "";
3910
1517
  const stys = {};
3911
1518
  if (panelElem && targetElem) {
3912
- const bodyEl = document.body;
1519
+ const bodyEl2 = document.body;
3913
1520
  const parentWrapperEl = getWrapperElement(teleportTo ? getAppendElement(appendTo) : panelElem);
3914
1521
  if (parentWrapperEl) {
3915
1522
  const targetWidth = targetElem.offsetWidth;
@@ -3919,8 +1526,8 @@ const popperUtils = {
3919
1526
  const parentWrapperRect = parentWrapperEl.getBoundingClientRect();
3920
1527
  const panelRect = panelElem.getBoundingClientRect();
3921
1528
  const targetRect = targetElem.getBoundingClientRect();
3922
- const visibleHeight = bodyEl.clientHeight;
3923
- const visibleWidth = bodyEl.clientWidth;
1529
+ const visibleHeight = bodyEl2.clientHeight;
1530
+ const visibleWidth = bodyEl2.clientWidth;
3924
1531
  const parentWrapperScrollLeft = parentWrapperEl.scrollLeft;
3925
1532
  const parentWrapperScrollTop = parentWrapperEl.scrollTop;
3926
1533
  const parentWrapperOffsetLeft = parentWrapperRect.left;
@@ -3931,83 +1538,72 @@ const popperUtils = {
3931
1538
  if (teleportTo) {
3932
1539
  left = (defaultLeft || targetLeft - (panelWidth - targetWidth) / 2) - parentWrapperScrollLeft;
3933
1540
  top = (defaultTop || targetTop + targetHeight) - parentWrapperScrollTop;
3934
- if (placement === 'top') {
3935
- panelPlacement = 'top';
1541
+ if (placement === "top") {
1542
+ panelPlacement = "top";
3936
1543
  top = targetTop - panelHeight;
3937
1544
  } else if (!placement) {
3938
- if (defaultPlacement === 'top') {
3939
- panelPlacement = 'top';
1545
+ if (defaultPlacement === "top") {
1546
+ panelPlacement = "top";
3940
1547
  if (!defaultTop) {
3941
1548
  top = targetTop - panelHeight;
3942
1549
  }
3943
- // 如果上面不够放,则向下
3944
1550
  if (top < marginSize) {
3945
- panelPlacement = 'bottom';
1551
+ panelPlacement = "bottom";
3946
1552
  top = targetTop + targetHeight;
3947
1553
  }
3948
- // 如果下面不够放,则向上(优先)
3949
1554
  if (top + panelHeight + marginSize > visibleHeight) {
3950
- panelPlacement = 'top';
1555
+ panelPlacement = "top";
3951
1556
  top = targetTop - panelHeight;
3952
1557
  }
3953
1558
  } else {
3954
- // 如果下面不够放,则向上
3955
1559
  if (top + panelHeight + marginSize > visibleHeight) {
3956
- panelPlacement = 'top';
1560
+ panelPlacement = "top";
3957
1561
  top = targetTop - panelHeight;
3958
1562
  }
3959
- // 如果上面不够放,则向下(优先)
3960
1563
  if (top < marginSize) {
3961
- panelPlacement = 'bottom';
1564
+ panelPlacement = "bottom";
3962
1565
  top = targetTop + targetHeight;
3963
1566
  }
3964
1567
  }
3965
1568
  }
3966
- // 如果溢出右边
3967
1569
  if (left + panelWidth + marginSize > visibleWidth) {
3968
1570
  left -= left + panelWidth + marginSize - visibleWidth;
3969
1571
  }
3970
- // 如果溢出左边
3971
1572
  if (left < marginSize) {
3972
1573
  left = marginSize;
3973
1574
  }
3974
- // 偏移
3975
1575
  top -= parentWrapperOffsetTop;
3976
1576
  left -= parentWrapperOffsetLeft;
3977
1577
  } else {
3978
- if (placement === 'top') {
3979
- panelPlacement = 'top';
1578
+ if (placement === "top") {
1579
+ panelPlacement = "top";
3980
1580
  bottom = targetHeight;
3981
1581
  } else if (!placement) {
3982
- // 如果下面不够放,则向上
3983
1582
  top = targetHeight;
3984
1583
  if (targetTop + targetHeight + panelHeight + marginSize > visibleHeight) {
3985
- // 如果上面不够放,则向下(优先)
3986
1584
  if (targetTop - targetHeight - panelHeight > marginSize) {
3987
- panelPlacement = 'top';
3988
- top = '';
1585
+ panelPlacement = "top";
1586
+ top = "";
3989
1587
  bottom = targetHeight;
3990
1588
  }
3991
1589
  }
3992
1590
  }
3993
- // 是否超出右侧
3994
1591
  if (panelRect.left + panelRect.width + marginSize > visibleWidth) {
3995
1592
  left = -(panelRect.left + panelRect.width + marginSize - visibleWidth);
3996
1593
  }
3997
1594
  }
3998
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(top)) {
3999
- stys.top = top + 'px';
1595
+ if (import_xe_utils18.default.isNumber(top)) {
1596
+ stys.top = top + "px";
4000
1597
  }
4001
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(bottom)) {
4002
- stys.bottom = bottom + 'px';
1598
+ if (import_xe_utils18.default.isNumber(bottom)) {
1599
+ stys.bottom = bottom + "px";
4003
1600
  }
4004
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(left)) {
4005
- stys.left = left + 'px';
1601
+ if (import_xe_utils18.default.isNumber(left)) {
1602
+ stys.left = left + "px";
4006
1603
  }
4007
- if (isMinWidth && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(minWidth)) {
4008
- stys.minWidth = minWidth + 'px';
1604
+ if (isMinWidth && import_xe_utils18.default.isNumber(minWidth)) {
1605
+ stys.minWidth = minWidth + "px";
4009
1606
  }
4010
- // 箭头
4011
1607
  if (left === targetLeft) {
4012
1608
  if (targetWidth <= panelWidth) {
4013
1609
  arrowLeft = targetWidth / 2;
@@ -4043,85 +1639,46 @@ const popperUtils = {
4043
1639
  */
4044
1640
  getAppendElement
4045
1641
  };
4046
- ;// ./packages/src/hooks.ts
4047
-
4048
- const hooks = new store();
4049
- ;// ./packages/src/useFns.ts
4050
-
4051
-
4052
1642
 
1643
+ // packages_temp/src/hooks.ts
1644
+ var hooks = new store_default();
4053
1645
 
4054
- const {
4055
- getThumbOffsetSize,
4056
- getThumbSize,
4057
- getScrollFromClick,
4058
- getScrollFromDrag
4059
- } = scrollbarUtils;
4060
- /**
4061
- * 组件尺寸上下文
4062
- * @param props
4063
- * @returns
4064
- */
1646
+ // packages_temp/src/useFns.ts
1647
+ var import_xe_utils19 = __toESM(require("xe-utils"));
1648
+ var import_vue3 = require("vue");
1649
+ var { getThumbOffsetSize, getThumbSize, getScrollFromClick, getScrollFromDrag } = scrollbarUtils;
4065
1650
  function useSize(props) {
4066
- const xeSizeInfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('xeSizeInfo', null);
4067
- const computeSize = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
4068
- const {
4069
- size
4070
- } = props;
1651
+ const xeSizeInfo = (0, import_vue3.inject)("xeSizeInfo", null);
1652
+ const computeSize = (0, import_vue3.computed)(() => {
1653
+ const { size } = props;
4071
1654
  return size || (xeSizeInfo ? xeSizeInfo.value : null);
4072
1655
  });
4073
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('xeSizeInfo', computeSize);
4074
- return {
4075
- computeSize
4076
- };
1656
+ (0, import_vue3.provide)("xeSizeInfo", computeSize);
1657
+ return { computeSize };
4077
1658
  }
4078
- /**
4079
- * 权限码处理
4080
- * @param props
4081
- * @returns
4082
- */
4083
1659
  function usePermission(props) {
4084
- const computePermissionInfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
1660
+ const computePermissionInfo = (0, import_vue3.computed)(() => {
4085
1661
  return handleCheckInfo(props.permissionCode, props.permissionMethod);
4086
1662
  });
4087
1663
  return {
4088
1664
  computePermissionInfo
4089
1665
  };
4090
1666
  }
4091
- /**
4092
- * 虚拟滚动条是否启用
4093
- * @param props
4094
- * @returns
4095
- */
4096
1667
  function useVScrollbar(props) {
4097
- const xeScrollbarInfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('xeScrollbarInfo', null);
4098
- const computeIsVScrollbar = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
4099
- const {
4100
- useScrollbar
4101
- } = props;
4102
- return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(useScrollbar) ? useScrollbar : xeScrollbarInfo ? xeScrollbarInfo.value : null;
1668
+ const xeScrollbarInfo = (0, import_vue3.inject)("xeScrollbarInfo", null);
1669
+ const computeIsVScrollbar = (0, import_vue3.computed)(() => {
1670
+ const { useScrollbar } = props;
1671
+ return import_xe_utils19.default.isBoolean(useScrollbar) ? useScrollbar : xeScrollbarInfo ? xeScrollbarInfo.value : null;
4103
1672
  });
4104
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('xeScrollbarInfo', computeIsVScrollbar);
4105
- return {
4106
- computeIsVScrollbar
4107
- };
4108
- }
4109
- /**
4110
- * 初始化虚拟滚动条
4111
- * @param reactData
4112
- * @param internalData
4113
- * @param refViewElem
4114
- * @returns
4115
- */
4116
- const useInitVScrollbar = $xeVM => {
4117
- const {
4118
- reactData,
4119
- internalData
4120
- } = $xeVM;
4121
- const refTrackXElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
4122
- const refTrackYElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
4123
- const refThumbXElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
4124
- const refThumbYElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
1673
+ (0, import_vue3.provide)("xeScrollbarInfo", computeIsVScrollbar);
1674
+ return { computeIsVScrollbar };
1675
+ }
1676
+ var useInitVScrollbar = ($xeVM) => {
1677
+ const { reactData, internalData } = $xeVM;
1678
+ const refTrackXElem = (0, import_vue3.ref)();
1679
+ const refTrackYElem = (0, import_vue3.ref)();
1680
+ const refThumbXElem = (0, import_vue3.ref)();
1681
+ const refThumbYElem = (0, import_vue3.ref)();
4125
1682
  const updateThumbSize = () => {
4126
1683
  const viewEl = $xeVM.getScrollViewElem();
4127
1684
  if (!viewEl) {
@@ -4134,14 +1691,14 @@ const useInitVScrollbar = $xeVM => {
4134
1691
  const xThumbWidth = trackXEl ? getThumbSize(viewEl.clientWidth, viewEl.scrollWidth, trackXEl.clientWidth) : 0;
4135
1692
  const thumbXElem = refThumbXElem.value;
4136
1693
  if (thumbXElem) {
4137
- thumbXElem.style.width = xThumbWidth + 'px';
1694
+ thumbXElem.style.width = xThumbWidth + "px";
4138
1695
  }
4139
1696
  reactData.xThumbWidth = xThumbWidth;
4140
1697
  const trackYEl = refTrackYElem.value;
4141
1698
  const yThumbHeight = trackYEl ? getThumbSize(viewEl.clientHeight, viewEl.scrollHeight, trackYEl.clientHeight) : 0;
4142
1699
  const thumbYElem = refThumbYElem.value;
4143
1700
  if (thumbYElem) {
4144
- thumbYElem.style.height = yThumbHeight + 'px';
1701
+ thumbYElem.style.height = yThumbHeight + "px";
4145
1702
  }
4146
1703
  reactData.yThumbHeight = yThumbHeight;
4147
1704
  };
@@ -4153,16 +1710,13 @@ const useInitVScrollbar = $xeVM => {
4153
1710
  if (!viewEl.clientHeight || !viewEl.clientHeight) {
4154
1711
  return;
4155
1712
  }
4156
- const {
4157
- xThumbWidth,
4158
- yThumbHeight
4159
- } = reactData;
1713
+ const { xThumbWidth, yThumbHeight } = reactData;
4160
1714
  const trackXEl = refTrackXElem.value;
4161
1715
  const thumbXElem = refThumbXElem.value;
4162
1716
  const xThumbLeft = trackXEl && xThumbWidth ? getThumbOffsetSize(viewEl.scrollLeft, viewEl.clientWidth, viewEl.scrollWidth, trackXEl.clientWidth, xThumbWidth) : 0;
4163
1717
  internalData.xThumbLeft = xThumbLeft;
4164
1718
  if (thumbXElem && xThumbWidth) {
4165
- thumbXElem.style.width = xThumbWidth + 'px';
1719
+ thumbXElem.style.width = xThumbWidth + "px";
4166
1720
  thumbXElem.style.transform = `translateX(${xThumbLeft}px)`;
4167
1721
  }
4168
1722
  const trackYEl = refTrackYElem.value;
@@ -4170,11 +1724,11 @@ const useInitVScrollbar = $xeVM => {
4170
1724
  const yThumbTop = trackYEl && yThumbHeight ? getThumbOffsetSize(viewEl.scrollTop, viewEl.clientHeight, viewEl.scrollHeight, trackYEl.clientHeight, yThumbHeight) : 0;
4171
1725
  internalData.yThumbTop = yThumbTop;
4172
1726
  if (thumbYElem && yThumbHeight) {
4173
- thumbYElem.style.height = yThumbHeight + 'px';
1727
+ thumbYElem.style.height = yThumbHeight + "px";
4174
1728
  thumbYElem.style.transform = `translateY(${yThumbTop}px)`;
4175
1729
  }
4176
1730
  };
4177
- const clickTrackXEvent = evnt => {
1731
+ const clickTrackXEvent = (evnt) => {
4178
1732
  const trackEl = evnt.currentTarget;
4179
1733
  if (trackEl !== evnt.target) {
4180
1734
  return;
@@ -4183,16 +1737,14 @@ const useInitVScrollbar = $xeVM => {
4183
1737
  if (!viewEl) {
4184
1738
  return;
4185
1739
  }
4186
- const {
4187
- xThumbWidth
4188
- } = reactData;
1740
+ const { xThumbWidth } = reactData;
4189
1741
  const trackRect = trackEl.getBoundingClientRect();
4190
1742
  viewEl.scrollTo({
4191
1743
  left: getScrollFromClick(evnt.clientX - trackRect.left, viewEl.clientWidth, viewEl.scrollWidth, trackEl.clientWidth, xThumbWidth),
4192
- behavior: 'auto'
1744
+ behavior: "auto"
4193
1745
  });
4194
1746
  };
4195
- const clickTrackYEvent = evnt => {
1747
+ const clickTrackYEvent = (evnt) => {
4196
1748
  const trackEl = evnt.currentTarget;
4197
1749
  if (trackEl !== evnt.target) {
4198
1750
  return;
@@ -4201,16 +1753,14 @@ const useInitVScrollbar = $xeVM => {
4201
1753
  if (!viewEl) {
4202
1754
  return;
4203
1755
  }
4204
- const {
4205
- yThumbHeight
4206
- } = reactData;
1756
+ const { yThumbHeight } = reactData;
4207
1757
  const trackRect = trackEl.getBoundingClientRect();
4208
1758
  viewEl.scrollTo({
4209
1759
  top: getScrollFromClick(evnt.clientY - trackRect.top, viewEl.clientHeight, viewEl.scrollHeight, trackEl.clientHeight, yThumbHeight),
4210
- behavior: 'auto'
1760
+ behavior: "auto"
4211
1761
  });
4212
1762
  };
4213
- const pointerdownThumbXEvent = evnt => {
1763
+ const pointerdownThumbXEvent = (evnt) => {
4214
1764
  const thumbEl = evnt.currentTarget;
4215
1765
  internalData.isThumbDrag = true;
4216
1766
  thumbEl.setPointerCapture(evnt.pointerId);
@@ -4218,46 +1768,37 @@ const useInitVScrollbar = $xeVM => {
4218
1768
  if (!viewEl) {
4219
1769
  return;
4220
1770
  }
4221
- const {
4222
- xThumbWidth
4223
- } = reactData;
1771
+ const { xThumbWidth } = reactData;
4224
1772
  const trackEl = thumbEl.parentElement;
4225
1773
  const trackRect = trackEl.getBoundingClientRect();
4226
1774
  const pointerPosition = evnt.clientX - trackRect.left;
4227
- // 记录 thumb 的偏移
4228
1775
  const thumbOffset = getThumbOffsetSize(viewEl.scrollLeft, viewEl.clientWidth, viewEl.scrollWidth, trackEl.clientWidth, xThumbWidth);
4229
1776
  internalData.thumbDragOffset = pointerPosition - thumbOffset;
4230
1777
  };
4231
- const pointermoveThumbXEvent = evnt => {
1778
+ const pointermoveThumbXEvent = (evnt) => {
4232
1779
  const thumbEl = evnt.currentTarget;
4233
1780
  if (!thumbEl.hasPointerCapture(evnt.pointerId)) {
4234
1781
  return;
4235
1782
  }
4236
- const {
4237
- isThumbDrag,
4238
- thumbDragOffset
4239
- } = internalData;
1783
+ const { isThumbDrag, thumbDragOffset } = internalData;
4240
1784
  if (isThumbDrag) {
4241
1785
  const viewEl = $xeVM.getScrollViewElem();
4242
1786
  if (!viewEl) {
4243
1787
  return;
4244
1788
  }
4245
- const {
4246
- xThumbWidth
4247
- } = reactData;
4248
- const thumbEl = evnt.currentTarget;
4249
- const trackEl = thumbEl.parentElement;
1789
+ const { xThumbWidth } = reactData;
1790
+ const thumbEl2 = evnt.currentTarget;
1791
+ const trackEl = thumbEl2.parentElement;
4250
1792
  const trackRect = trackEl.getBoundingClientRect();
4251
- // 更新偏移
4252
1793
  viewEl.scrollLeft = getScrollFromDrag(evnt.clientX - trackRect.left, thumbDragOffset, viewEl.clientWidth, viewEl.scrollWidth, trackEl.clientWidth, xThumbWidth);
4253
1794
  }
4254
1795
  };
4255
- const cleatPointerThumbEvent = evnt => {
1796
+ const cleatPointerThumbEvent = (evnt) => {
4256
1797
  const thumbEl = evnt.currentTarget;
4257
1798
  thumbEl.releasePointerCapture(evnt.pointerId);
4258
1799
  internalData.isThumbDrag = false;
4259
1800
  };
4260
- const pointerdownThumbYEvent = evnt => {
1801
+ const pointerdownThumbYEvent = (evnt) => {
4261
1802
  const thumbEl = evnt.currentTarget;
4262
1803
  internalData.isThumbDrag = true;
4263
1804
  thumbEl.setPointerCapture(evnt.pointerId);
@@ -4265,37 +1806,28 @@ const useInitVScrollbar = $xeVM => {
4265
1806
  if (!viewEl) {
4266
1807
  return;
4267
1808
  }
4268
- const {
4269
- yThumbHeight
4270
- } = reactData;
1809
+ const { yThumbHeight } = reactData;
4271
1810
  const trackEl = thumbEl.parentElement;
4272
1811
  const trackRect = trackEl.getBoundingClientRect();
4273
1812
  const pointerPosition = evnt.clientY - trackRect.top;
4274
- // 记录 thumb 的偏移
4275
1813
  const thumbOffset = getThumbOffsetSize(viewEl.scrollTop, viewEl.clientHeight, viewEl.scrollHeight, trackEl.clientHeight, yThumbHeight);
4276
1814
  internalData.thumbDragOffset = pointerPosition - thumbOffset;
4277
1815
  };
4278
- const pointermoveThumbYEvent = evnt => {
1816
+ const pointermoveThumbYEvent = (evnt) => {
4279
1817
  const thumbEl = evnt.currentTarget;
4280
1818
  if (!thumbEl.hasPointerCapture(evnt.pointerId)) {
4281
1819
  return;
4282
1820
  }
4283
- const {
4284
- isThumbDrag,
4285
- thumbDragOffset
4286
- } = internalData;
1821
+ const { isThumbDrag, thumbDragOffset } = internalData;
4287
1822
  if (isThumbDrag) {
4288
1823
  const viewEl = $xeVM.getScrollViewElem();
4289
1824
  if (!viewEl) {
4290
1825
  return;
4291
1826
  }
4292
- const {
4293
- yThumbHeight
4294
- } = reactData;
4295
- const thumbEl = evnt.currentTarget;
4296
- const trackEl = thumbEl.parentElement;
1827
+ const { yThumbHeight } = reactData;
1828
+ const thumbEl2 = evnt.currentTarget;
1829
+ const trackEl = thumbEl2.parentElement;
4297
1830
  const trackRect = trackEl.getBoundingClientRect();
4298
- // 更新偏移
4299
1831
  viewEl.scrollTop = getScrollFromDrag(evnt.clientY - trackRect.top, thumbDragOffset, viewEl.clientHeight, viewEl.scrollHeight, trackEl.clientHeight, yThumbHeight);
4300
1832
  }
4301
1833
  };
@@ -4315,42 +1847,16 @@ const useInitVScrollbar = $xeVM => {
4315
1847
  pointermoveThumbYEvent
4316
1848
  };
4317
1849
  };
4318
- const useFns = {
1850
+ var useFns = {
4319
1851
  useSize,
4320
1852
  useVScrollbar,
4321
1853
  usePermission,
4322
1854
  useInitVScrollbar
4323
1855
  };
4324
- ;// ./packages/index.ts
4325
-
4326
-
4327
-
4328
-
4329
-
4330
-
4331
-
4332
-
4333
-
4334
-
4335
-
4336
-
4337
-
4338
-
4339
-
4340
-
4341
-
4342
-
4343
-
4344
-
4345
-
4346
-
4347
-
4348
1856
 
4349
-
4350
-
4351
-
4352
-
4353
- const installedPlugins = [];
1857
+ // packages_temp/index.ts
1858
+ var import_xe_utils20 = __toESM(require("xe-utils"));
1859
+ var installedPlugins = [];
4354
1860
  function use(Plugin, options) {
4355
1861
  if (Plugin && Plugin.install) {
4356
1862
  if (installedPlugins.indexOf(Plugin) === -1) {
@@ -4360,7 +1866,7 @@ function use(Plugin, options) {
4360
1866
  }
4361
1867
  return VxeUI;
4362
1868
  }
4363
- const components = {};
1869
+ var components = {};
4364
1870
  function getComponent(name) {
4365
1871
  return components[name] || null;
4366
1872
  }
@@ -4370,19 +1876,19 @@ function hasComponent(name) {
4370
1876
  function component(comp) {
4371
1877
  if (comp && comp.name) {
4372
1878
  components[comp.name] = comp;
4373
- components[external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().kebabCase(comp.name)] = comp;
1879
+ components[import_xe_utils20.default.kebabCase(comp.name)] = comp;
4374
1880
  }
4375
1881
  }
4376
1882
  function renderEmptyElement() {
4377
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
1883
+ return (0, import_vue4.createCommentVNode)();
4378
1884
  }
4379
- function checkVersion(version, pVersion, sVersion) {
4380
- if (version) {
4381
- const vRest = `${version}`.match(/(\d+).(\d+).(\d+)/);
1885
+ function checkVersion(version2, pVersion, sVersion) {
1886
+ if (version2) {
1887
+ const vRest = `${version2}`.match(/(\d+).(\d+).(\d+)/);
4382
1888
  if (vRest) {
4383
- const pV = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(vRest[1]);
1889
+ const pV = import_xe_utils20.default.toNumber(vRest[1]);
4384
1890
  if (sVersion) {
4385
- const sV = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(vRest[2]);
1891
+ const sV = import_xe_utils20.default.toNumber(vRest[2]);
4386
1892
  return pV >= pVersion && sV >= sVersion;
4387
1893
  }
4388
1894
  return pV >= pVersion;
@@ -4390,83 +1896,53 @@ function checkVersion(version, pVersion, sVersion) {
4390
1896
  }
4391
1897
  return false;
4392
1898
  }
4393
- const VxeUI = Object.assign(VxeCore, {
1899
+ var VxeUI = Object.assign(VxeCore, {
4394
1900
  renderEmptyElement,
4395
- setTheme: setTheme,
4396
- getTheme: getTheme,
4397
- setConfig: setConfig,
4398
- getConfig: getConfig,
4399
- setIcon: setIcon,
4400
- getIcon: getIcon,
4401
- renderGlobalIcon: renderGlobalIcon,
4402
- renderCustomIcon: renderCustomIcon,
4403
- setLanguage: setLanguage,
4404
- hasLanguage: hasLanguage,
4405
- getLanguage: getLanguage,
4406
- setI18n: setI18n,
4407
- getI18n: getI18n,
4408
- globalEvents: globalEvents,
4409
- GLOBAL_EVENT_KEYS: GLOBAL_EVENT_KEYS,
4410
- createEvent: createEvent,
4411
- globalResize: globalResize,
4412
- renderer: renderer,
4413
- validators: validators,
4414
- menus: menus,
4415
- formats: formats,
4416
- commands: commands,
4417
- interceptor: interceptor,
4418
- clipboard: clipboard,
4419
- log: log,
4420
- permission: permission,
4421
- zIndex: zIndex,
4422
- baseUtils: baseUtils,
4423
- domUtils: domUtils,
4424
- scrollbarUtils: scrollbarUtils,
4425
- popperUtils: popperUtils,
4426
- globalStore: globalStore,
4427
- hooks: hooks,
1901
+ setTheme,
1902
+ getTheme,
1903
+ setConfig,
1904
+ getConfig,
1905
+ setIcon,
1906
+ getIcon,
1907
+ renderGlobalIcon,
1908
+ renderCustomIcon,
1909
+ setLanguage,
1910
+ hasLanguage,
1911
+ getLanguage,
1912
+ setI18n,
1913
+ getI18n,
1914
+ globalEvents,
1915
+ GLOBAL_EVENT_KEYS,
1916
+ createEvent,
1917
+ globalResize,
1918
+ renderer,
1919
+ validators,
1920
+ menus,
1921
+ formats,
1922
+ commands,
1923
+ interceptor,
1924
+ clipboard,
1925
+ log,
1926
+ permission,
1927
+ zIndex,
1928
+ baseUtils,
1929
+ dbUtils,
1930
+ domUtils,
1931
+ scrollbarUtils,
1932
+ popperUtils,
1933
+ globalStore,
1934
+ hooks,
4428
1935
  component,
4429
1936
  getComponent,
4430
1937
  hasComponent,
4431
- useFns: useFns,
4432
- getSlotVNs: getSlotVNs,
1938
+ useFns,
1939
+ getSlotVNs,
4433
1940
  checkVersion,
4434
1941
  use
4435
1942
  });
4436
1943
  setTheme();
1944
+ var index_default = VxeUI;
4437
1945
 
1946
+ return module.exports;
1947
+ });
4438
1948
 
4439
-
4440
-
4441
-
4442
-
4443
-
4444
-
4445
-
4446
-
4447
-
4448
-
4449
-
4450
-
4451
-
4452
-
4453
-
4454
-
4455
-
4456
-
4457
-
4458
-
4459
-
4460
-
4461
-
4462
- /* harmony default export */ var packages_0 = (VxeUI);
4463
- ;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
4464
-
4465
-
4466
- /* harmony default export */ var entry_lib = (packages_0);
4467
-
4468
-
4469
- /******/ return __webpack_exports__;
4470
- /******/ })()
4471
- ;
4472
- });