@vxe-ui/core 3.4.12 → 3.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +29 -29
- package/es/src/core.js +1 -1
- package/es/src/log.js +1 -1
- package/lib/index.umd.js +173 -73
- package/lib/index.umd.min.js +1 -1
- package/lib/src/core.js +1 -1
- package/lib/src/core.min.js +1 -1
- package/lib/src/log.js +1 -1
- package/lib/src/log.min.js +1 -1
- package/package.json +80 -80
- package/packages/index.ts +147 -147
- package/packages/src/clipboard.ts +56 -56
- package/packages/src/commands.ts +56 -56
- package/packages/src/config.ts +30 -30
- package/packages/src/configStore.ts +8 -8
- package/packages/src/core.ts +11 -11
- package/packages/src/dataStore.ts +4 -4
- package/packages/src/event.ts +160 -160
- package/packages/src/formats.ts +56 -56
- package/packages/src/i18n.ts +66 -66
- package/packages/src/i18nStore.ts +16 -16
- package/packages/src/icon.ts +32 -32
- package/packages/src/iconStore.ts +3 -3
- package/packages/src/interceptor.ts +64 -64
- package/packages/src/log.ts +19 -19
- package/packages/src/menus.ts +56 -56
- package/packages/src/mixins.ts +39 -39
- package/packages/src/permission.ts +61 -61
- package/packages/src/renderer.ts +48 -48
- package/packages/src/resize.ts +89 -89
- package/packages/src/store.ts +47 -47
- package/packages/src/theme.ts +20 -20
- package/packages/src/themeStore.ts +7 -7
- package/packages/src/validators.ts +7 -7
- package/packages/src/vm.ts +10 -10
- package/types/core/clipboard.d.ts +22 -22
- package/types/core/commands.d.ts +19 -19
- package/types/core/components.d.ts +7 -7
- package/types/core/formats.d.ts +19 -19
- package/types/core/global-config.d.ts +70 -70
- package/types/core/global-data.d.ts +7 -7
- package/types/core/global-event.d.ts +47 -47
- package/types/core/global-icon.d.ts +10 -10
- package/types/core/global-lang.d.ts +27 -27
- package/types/core/global-resize.d.ts +3 -3
- package/types/core/global-theme.d.ts +1 -1
- package/types/core/index.d.ts +286 -286
- package/types/core/interceptor.d.ts +22 -22
- package/types/core/log.d.ts +8 -8
- package/types/core/menus.d.ts +19 -19
- package/types/core/mixins.d.ts +16 -16
- package/types/core/permission.d.ts +10 -10
- package/types/core/renderer.d.ts +14 -14
- package/types/core/validators.d.ts +19 -19
- package/types/index.d.ts +13 -13
- package/types/tool/common.d.ts +143 -143
- package/types/tool/index.d.ts +2 -2
- package/types/tool/util.d.ts +4 -4
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019 xuliangzhan
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 xuliangzhan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
# vxe-core
|
|
2
|
-
|
|
3
|
-
Vxe UI v3.x 核心库.
|
|
4
|
-
|
|
5
|
-
## 使用
|
|
6
|
-
|
|
7
|
-
```shell
|
|
8
|
-
npm install @vxe-ui/core
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
```javascript
|
|
12
|
-
// ...
|
|
13
|
-
import VxeUI from '@vxe-ui/core'
|
|
14
|
-
// ...
|
|
15
|
-
|
|
16
|
-
VxeUI.setConfig({
|
|
17
|
-
// ...
|
|
18
|
-
})
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Contributors
|
|
22
|
-
|
|
23
|
-
Thank you to everyone who contributed to this project.
|
|
24
|
-
|
|
25
|
-
[](https://github.com/x-extends/vxe-core/graphs/contributors)
|
|
26
|
-
|
|
27
|
-
## License
|
|
28
|
-
|
|
29
|
-
[MIT](LICENSE) © 2019-present, Xu Liangzhan
|
|
1
|
+
# vxe-core
|
|
2
|
+
|
|
3
|
+
Vxe UI v3.x 核心库.
|
|
4
|
+
|
|
5
|
+
## 使用
|
|
6
|
+
|
|
7
|
+
```shell
|
|
8
|
+
npm install @vxe-ui/core
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```javascript
|
|
12
|
+
// ...
|
|
13
|
+
import VxeUI from '@vxe-ui/core'
|
|
14
|
+
// ...
|
|
15
|
+
|
|
16
|
+
VxeUI.setConfig({
|
|
17
|
+
// ...
|
|
18
|
+
})
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Contributors
|
|
22
|
+
|
|
23
|
+
Thank you to everyone who contributed to this project.
|
|
24
|
+
|
|
25
|
+
[](https://github.com/x-extends/vxe-core/graphs/contributors)
|
|
26
|
+
|
|
27
|
+
## License
|
|
28
|
+
|
|
29
|
+
[MIT](LICENSE) © 2019-present, Xu Liangzhan
|
package/es/src/core.js
CHANGED
package/es/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -42,6 +42,34 @@ module.exports = function (argument) {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
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
|
+
|
|
45
73
|
/***/ }),
|
|
46
74
|
|
|
47
75
|
/***/ 679:
|
|
@@ -408,7 +436,7 @@ var $TypeError = TypeError;
|
|
|
408
436
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
409
437
|
|
|
410
438
|
module.exports = function (it) {
|
|
411
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
439
|
+
if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
|
|
412
440
|
return it;
|
|
413
441
|
};
|
|
414
442
|
|
|
@@ -588,7 +616,7 @@ var fails = __webpack_require__(9039);
|
|
|
588
616
|
|
|
589
617
|
module.exports = !fails(function () {
|
|
590
618
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
591
|
-
var test =
|
|
619
|
+
var test = function () { /* empty */ }.bind();
|
|
592
620
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
593
621
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
594
622
|
});
|
|
@@ -603,7 +631,7 @@ module.exports = !fails(function () {
|
|
|
603
631
|
var NATIVE_BIND = __webpack_require__(616);
|
|
604
632
|
|
|
605
633
|
var call = Function.prototype.call;
|
|
606
|
-
|
|
634
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
607
635
|
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
608
636
|
return call.apply(call, arguments);
|
|
609
637
|
};
|
|
@@ -624,7 +652,7 @@ var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
|
624
652
|
|
|
625
653
|
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
626
654
|
// additional protection from minified / mangled / dropped function names
|
|
627
|
-
var PROPER = EXISTS &&
|
|
655
|
+
var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
|
|
628
656
|
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
629
657
|
|
|
630
658
|
module.exports = {
|
|
@@ -661,6 +689,7 @@ var NATIVE_BIND = __webpack_require__(616);
|
|
|
661
689
|
|
|
662
690
|
var FunctionPrototype = Function.prototype;
|
|
663
691
|
var call = FunctionPrototype.call;
|
|
692
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
664
693
|
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
|
665
694
|
|
|
666
695
|
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
@@ -695,7 +724,7 @@ module.exports = function (namespace, method) {
|
|
|
695
724
|
|
|
696
725
|
|
|
697
726
|
// `GetIteratorDirect(obj)` abstract operation
|
|
698
|
-
// https://tc39.es/
|
|
727
|
+
// https://tc39.es/ecma262/#sec-getiteratordirect
|
|
699
728
|
module.exports = function (obj) {
|
|
700
729
|
return {
|
|
701
730
|
iterator: obj,
|
|
@@ -1143,7 +1172,9 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
1143
1172
|
var iterator, iterFn, index, length, result, next, step;
|
|
1144
1173
|
|
|
1145
1174
|
var stop = function (condition) {
|
|
1146
|
-
|
|
1175
|
+
var $iterator = iterator;
|
|
1176
|
+
iterator = undefined;
|
|
1177
|
+
if ($iterator) iteratorClose($iterator, 'normal');
|
|
1147
1178
|
return new Result(true, condition);
|
|
1148
1179
|
};
|
|
1149
1180
|
|
|
@@ -1173,10 +1204,13 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
1173
1204
|
|
|
1174
1205
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
1175
1206
|
while (!(step = call(next, iterator)).done) {
|
|
1207
|
+
// `IteratorValue` errors should propagate without closing the iterator
|
|
1208
|
+
var value = step.value;
|
|
1176
1209
|
try {
|
|
1177
|
-
result = callFn(
|
|
1210
|
+
result = callFn(value);
|
|
1178
1211
|
} catch (error) {
|
|
1179
|
-
iteratorClose(iterator, 'throw', error);
|
|
1212
|
+
if (iterator) iteratorClose(iterator, 'throw', error);
|
|
1213
|
+
else throw error;
|
|
1180
1214
|
}
|
|
1181
1215
|
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
1182
1216
|
} return new Result(false);
|
|
@@ -1214,6 +1248,36 @@ module.exports = function (iterator, kind, value) {
|
|
|
1214
1248
|
};
|
|
1215
1249
|
|
|
1216
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
|
+
|
|
1217
1281
|
/***/ }),
|
|
1218
1282
|
|
|
1219
1283
|
/***/ 7657:
|
|
@@ -1803,10 +1867,10 @@ var SHARED = '__core-js_shared__';
|
|
|
1803
1867
|
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
1804
1868
|
|
|
1805
1869
|
(store.versions || (store.versions = [])).push({
|
|
1806
|
-
version: '3.
|
|
1870
|
+
version: '3.49.0',
|
|
1807
1871
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1808
|
-
copyright: '©
|
|
1809
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
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',
|
|
1810
1874
|
source: 'https://github.com/zloirock/core-js'
|
|
1811
1875
|
});
|
|
1812
1876
|
|
|
@@ -1997,7 +2061,7 @@ var wellKnownSymbol = __webpack_require__(8227);
|
|
|
1997
2061
|
|
|
1998
2062
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
1999
2063
|
var test = {};
|
|
2000
|
-
|
|
2064
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2001
2065
|
test[TO_STRING_TAG] = 'z';
|
|
2002
2066
|
|
|
2003
2067
|
module.exports = String(test) === '[object z]';
|
|
@@ -2030,7 +2094,7 @@ var uncurryThis = __webpack_require__(9504);
|
|
|
2030
2094
|
|
|
2031
2095
|
var id = 0;
|
|
2032
2096
|
var postfix = Math.random();
|
|
2033
|
-
var toString = uncurryThis(1.
|
|
2097
|
+
var toString = uncurryThis(1.1.toString);
|
|
2034
2098
|
|
|
2035
2099
|
module.exports = function (key) {
|
|
2036
2100
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
@@ -2111,6 +2175,41 @@ module.exports = function (name) {
|
|
|
2111
2175
|
};
|
|
2112
2176
|
|
|
2113
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
|
+
|
|
2114
2213
|
/***/ }),
|
|
2115
2214
|
|
|
2116
2215
|
/***/ 4114:
|
|
@@ -2239,17 +2338,29 @@ $({ global: true, constructor: true, forced: FORCED }, {
|
|
|
2239
2338
|
|
|
2240
2339
|
|
|
2241
2340
|
var $ = __webpack_require__(6518);
|
|
2341
|
+
var call = __webpack_require__(9565);
|
|
2242
2342
|
var iterate = __webpack_require__(2652);
|
|
2243
2343
|
var aCallable = __webpack_require__(9306);
|
|
2244
2344
|
var anObject = __webpack_require__(8551);
|
|
2245
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);
|
|
2246
2350
|
|
|
2247
2351
|
// `Iterator.prototype.forEach` method
|
|
2248
2352
|
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
|
2249
|
-
$({ target: 'Iterator', proto: true, real: true }, {
|
|
2353
|
+
$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
|
2250
2354
|
forEach: function forEach(fn) {
|
|
2251
2355
|
anObject(this);
|
|
2252
|
-
|
|
2356
|
+
try {
|
|
2357
|
+
aCallable(fn);
|
|
2358
|
+
} catch (error) {
|
|
2359
|
+
iteratorClose(this, 'throw', error);
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
|
|
2363
|
+
|
|
2253
2364
|
var record = getIteratorDirect(this);
|
|
2254
2365
|
var counter = 0;
|
|
2255
2366
|
iterate(record, function (value) {
|
|
@@ -2266,17 +2377,29 @@ $({ target: 'Iterator', proto: true, real: true }, {
|
|
|
2266
2377
|
|
|
2267
2378
|
|
|
2268
2379
|
var $ = __webpack_require__(6518);
|
|
2380
|
+
var call = __webpack_require__(9565);
|
|
2269
2381
|
var iterate = __webpack_require__(2652);
|
|
2270
2382
|
var aCallable = __webpack_require__(9306);
|
|
2271
2383
|
var anObject = __webpack_require__(8551);
|
|
2272
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);
|
|
2273
2389
|
|
|
2274
2390
|
// `Iterator.prototype.some` method
|
|
2275
2391
|
// https://tc39.es/ecma262/#sec-iterator.prototype.some
|
|
2276
|
-
$({ target: 'Iterator', proto: true, real: true }, {
|
|
2392
|
+
$({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
|
|
2277
2393
|
some: function some(predicate) {
|
|
2278
2394
|
anObject(this);
|
|
2279
|
-
|
|
2395
|
+
try {
|
|
2396
|
+
aCallable(predicate);
|
|
2397
|
+
} catch (error) {
|
|
2398
|
+
iteratorClose(this, 'throw', error);
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
|
|
2402
|
+
|
|
2280
2403
|
var record = getIteratorDirect(this);
|
|
2281
2404
|
var counter = 0;
|
|
2282
2405
|
return iterate(record, function (value, stop) {
|
|
@@ -2286,36 +2409,6 @@ $({ target: 'Iterator', proto: true, real: true }, {
|
|
|
2286
2409
|
});
|
|
2287
2410
|
|
|
2288
2411
|
|
|
2289
|
-
/***/ }),
|
|
2290
|
-
|
|
2291
|
-
/***/ 8992:
|
|
2292
|
-
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
// TODO: Remove from `core-js@4`
|
|
2296
|
-
__webpack_require__(8111);
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
/***/ }),
|
|
2300
|
-
|
|
2301
|
-
/***/ 3949:
|
|
2302
|
-
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
// TODO: Remove from `core-js@4`
|
|
2306
|
-
__webpack_require__(7588);
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
/***/ }),
|
|
2310
|
-
|
|
2311
|
-
/***/ 7550:
|
|
2312
|
-
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
// TODO: Remove from `core-js@4`
|
|
2316
|
-
__webpack_require__(3579);
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
2412
|
/***/ })
|
|
2320
2413
|
|
|
2321
2414
|
/******/ });
|
|
@@ -2459,7 +2552,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2459
2552
|
|
|
2460
2553
|
if (typeof window !== 'undefined') {
|
|
2461
2554
|
var currentScript = window.document.currentScript
|
|
2462
|
-
if (false)
|
|
2555
|
+
if (false) // removed by dead control flow
|
|
2556
|
+
{ var getCurrentScript; }
|
|
2463
2557
|
|
|
2464
2558
|
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
2465
2559
|
if (src) {
|
|
@@ -2473,7 +2567,7 @@ if (typeof window !== 'undefined') {
|
|
|
2473
2567
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
2474
2568
|
var es_array_push = __webpack_require__(4114);
|
|
2475
2569
|
;// ./packages/src/core.ts
|
|
2476
|
-
const coreVersion = "3.4.
|
|
2570
|
+
const coreVersion = "3.4.14";
|
|
2477
2571
|
const VxeCore = {
|
|
2478
2572
|
coreVersion,
|
|
2479
2573
|
uiVersion: '',
|
|
@@ -2675,8 +2769,8 @@ function getTheme() {
|
|
|
2675
2769
|
|
|
2676
2770
|
|
|
2677
2771
|
|
|
2678
|
-
/**
|
|
2679
|
-
* 全局参数设置
|
|
2772
|
+
/**
|
|
2773
|
+
* 全局参数设置
|
|
2680
2774
|
*/
|
|
2681
2775
|
function setConfig(options) {
|
|
2682
2776
|
if (options) {
|
|
@@ -2690,8 +2784,8 @@ function setConfig(options) {
|
|
|
2690
2784
|
}
|
|
2691
2785
|
return VxeCore;
|
|
2692
2786
|
}
|
|
2693
|
-
/**
|
|
2694
|
-
* 获取全局参数
|
|
2787
|
+
/**
|
|
2788
|
+
* 获取全局参数
|
|
2695
2789
|
*/
|
|
2696
2790
|
function getConfig(key, defaultValue) {
|
|
2697
2791
|
return arguments.length ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(globalConfigStore, key, defaultValue) : globalConfigStore;
|
|
@@ -2940,12 +3034,12 @@ if (browse.isDoc) {
|
|
|
2940
3034
|
capture: false
|
|
2941
3035
|
});
|
|
2942
3036
|
}
|
|
2943
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/
|
|
2944
|
-
var
|
|
2945
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/
|
|
2946
|
-
var
|
|
2947
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/
|
|
2948
|
-
var
|
|
3037
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
3038
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
3039
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
3040
|
+
var es_iterator_for_each = __webpack_require__(7588);
|
|
3041
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
|
|
3042
|
+
var es_iterator_some = __webpack_require__(3579);
|
|
2949
3043
|
;// ./packages/src/resize.ts
|
|
2950
3044
|
|
|
2951
3045
|
|
|
@@ -2954,9 +3048,9 @@ var esnext_iterator_some = __webpack_require__(7550);
|
|
|
2954
3048
|
|
|
2955
3049
|
|
|
2956
3050
|
|
|
2957
|
-
/**
|
|
2958
|
-
* 监听 resize 事件
|
|
2959
|
-
* 如果项目中已使用了 resize-observer-polyfill,那么只需要将方法定义全局,该组件就会自动使用
|
|
3051
|
+
/**
|
|
3052
|
+
* 监听 resize 事件
|
|
3053
|
+
* 如果项目中已使用了 resize-observer-polyfill,那么只需要将方法定义全局,该组件就会自动使用
|
|
2960
3054
|
*/
|
|
2961
3055
|
let resizeTimeout;
|
|
2962
3056
|
/* eslint-disable no-use-before-define */
|
|
@@ -3125,7 +3219,7 @@ function createLog(type, name) {
|
|
|
3125
3219
|
return msg;
|
|
3126
3220
|
};
|
|
3127
3221
|
}
|
|
3128
|
-
const version = "3.4.
|
|
3222
|
+
const version = "3.4.14";
|
|
3129
3223
|
const log = {
|
|
3130
3224
|
create: createLog,
|
|
3131
3225
|
warn: createLog('warn', `v${version}`),
|
|
@@ -3134,12 +3228,12 @@ const log = {
|
|
|
3134
3228
|
;// ./packages/src/renderer.ts
|
|
3135
3229
|
|
|
3136
3230
|
|
|
3137
|
-
/**
|
|
3138
|
-
* 内置的组件渲染
|
|
3231
|
+
/**
|
|
3232
|
+
* 内置的组件渲染
|
|
3139
3233
|
*/
|
|
3140
3234
|
const renderMap = {};
|
|
3141
|
-
/**
|
|
3142
|
-
* 全局渲染器
|
|
3235
|
+
/**
|
|
3236
|
+
* 全局渲染器
|
|
3143
3237
|
*/
|
|
3144
3238
|
const renderer = {
|
|
3145
3239
|
mixin(opts) {
|
|
@@ -3175,12 +3269,15 @@ const renderer = {
|
|
|
3175
3269
|
return renderer;
|
|
3176
3270
|
}
|
|
3177
3271
|
};
|
|
3272
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
3273
|
+
var es_array_includes = __webpack_require__(4423);
|
|
3178
3274
|
;// ./packages/src/store.ts
|
|
3179
3275
|
|
|
3180
3276
|
|
|
3181
3277
|
|
|
3182
|
-
|
|
3183
|
-
|
|
3278
|
+
|
|
3279
|
+
/**
|
|
3280
|
+
* 创建数据仓库
|
|
3184
3281
|
*/
|
|
3185
3282
|
class Store {
|
|
3186
3283
|
constructor() {
|
|
@@ -3228,6 +3325,7 @@ Object.assign(validators, {
|
|
|
3228
3325
|
|
|
3229
3326
|
|
|
3230
3327
|
|
|
3328
|
+
|
|
3231
3329
|
class VXEMenusStore {
|
|
3232
3330
|
constructor() {
|
|
3233
3331
|
_defineProperty(this, "store", {});
|
|
@@ -3278,6 +3376,7 @@ Object.assign(menus, {
|
|
|
3278
3376
|
|
|
3279
3377
|
|
|
3280
3378
|
|
|
3379
|
+
|
|
3281
3380
|
class VXEFormatsStore {
|
|
3282
3381
|
constructor() {
|
|
3283
3382
|
_defineProperty(this, "store", {});
|
|
@@ -3328,6 +3427,7 @@ Object.assign(formats, {
|
|
|
3328
3427
|
|
|
3329
3428
|
|
|
3330
3429
|
|
|
3430
|
+
|
|
3331
3431
|
class VXECommandsStore {
|
|
3332
3432
|
constructor() {
|
|
3333
3433
|
_defineProperty(this, "store", {});
|
|
@@ -3461,10 +3561,10 @@ const clipboard = {
|
|
|
3461
3561
|
setStore(data) {
|
|
3462
3562
|
Object.assign(clipStore, data || {});
|
|
3463
3563
|
},
|
|
3464
|
-
/**
|
|
3465
|
-
* 复制内容到剪贴板
|
|
3466
|
-
*
|
|
3467
|
-
* @param {String} content Text 内容
|
|
3564
|
+
/**
|
|
3565
|
+
* 复制内容到剪贴板
|
|
3566
|
+
*
|
|
3567
|
+
* @param {String} content Text 内容
|
|
3468
3568
|
*/
|
|
3469
3569
|
copy(content) {
|
|
3470
3570
|
let result = false;
|