@airpower/web 1.10.14 → 1.10.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/WebConfig.d.ts +9 -0
- package/dist/main.js +87 -79
- package/dist/web.css +1 -11
- package/package.json +1 -1
|
@@ -208,6 +208,15 @@ export declare class WebConfig {
|
|
|
208
208
|
resetFilter: string;
|
|
209
209
|
clearFilter: string;
|
|
210
210
|
sumText: string;
|
|
211
|
+
selectAllLabel: string;
|
|
212
|
+
selectRowLabel: string;
|
|
213
|
+
expandRowLabel: string;
|
|
214
|
+
collapseRowLabel: string;
|
|
215
|
+
sortLabel: string;
|
|
216
|
+
filterLabel: string;
|
|
217
|
+
};
|
|
218
|
+
tag: {
|
|
219
|
+
close: string;
|
|
211
220
|
};
|
|
212
221
|
tour: {
|
|
213
222
|
next: string;
|
package/dist/main.js
CHANGED
|
@@ -536,7 +536,16 @@ var zhCn = {
|
|
|
536
536
|
confirmFilter: "筛选",
|
|
537
537
|
resetFilter: "重置",
|
|
538
538
|
clearFilter: "全部",
|
|
539
|
-
sumText: "合计"
|
|
539
|
+
sumText: "合计",
|
|
540
|
+
selectAllLabel: "选择所有行",
|
|
541
|
+
selectRowLabel: "选择当前行",
|
|
542
|
+
expandRowLabel: "展开当前行",
|
|
543
|
+
collapseRowLabel: "收起当前行",
|
|
544
|
+
sortLabel: "按 {column} 排序",
|
|
545
|
+
filterLabel: "按 {column} 过滤"
|
|
546
|
+
},
|
|
547
|
+
tag: {
|
|
548
|
+
close: "关闭此标签"
|
|
540
549
|
},
|
|
541
550
|
tour: {
|
|
542
551
|
next: "下一步",
|
|
@@ -1376,12 +1385,12 @@ function requireClipboard() {
|
|
|
1376
1385
|
})(clipboard, function() {
|
|
1377
1386
|
return (
|
|
1378
1387
|
/******/
|
|
1379
|
-
function() {
|
|
1388
|
+
(function() {
|
|
1380
1389
|
var __webpack_modules__ = {
|
|
1381
1390
|
/***/
|
|
1382
1391
|
686: (
|
|
1383
1392
|
/***/
|
|
1384
|
-
function(__unused_webpack_module, __webpack_exports__, __webpack_require__2) {
|
|
1393
|
+
(function(__unused_webpack_module, __webpack_exports__, __webpack_require__2) {
|
|
1385
1394
|
__webpack_require__2.d(__webpack_exports__, {
|
|
1386
1395
|
"default": function() {
|
|
1387
1396
|
return (
|
|
@@ -1587,7 +1596,7 @@ function requireClipboard() {
|
|
|
1587
1596
|
}
|
|
1588
1597
|
return element.getAttribute(attribute);
|
|
1589
1598
|
}
|
|
1590
|
-
var Clipboard2 = /* @__PURE__ */ function(_Emitter) {
|
|
1599
|
+
var Clipboard2 = /* @__PURE__ */ (function(_Emitter) {
|
|
1591
1600
|
_inherits(Clipboard3, _Emitter);
|
|
1592
1601
|
var _super = _createSuper(Clipboard3);
|
|
1593
1602
|
function Clipboard3(trigger, options) {
|
|
@@ -1726,14 +1735,14 @@ function requireClipboard() {
|
|
|
1726
1735
|
}
|
|
1727
1736
|
}]);
|
|
1728
1737
|
return Clipboard3;
|
|
1729
|
-
}(tiny_emitter_default());
|
|
1738
|
+
})(tiny_emitter_default());
|
|
1730
1739
|
var clipboard2 = Clipboard2;
|
|
1731
|
-
}
|
|
1740
|
+
})
|
|
1732
1741
|
),
|
|
1733
1742
|
/***/
|
|
1734
1743
|
828: (
|
|
1735
1744
|
/***/
|
|
1736
|
-
function(module2) {
|
|
1745
|
+
(function(module2) {
|
|
1737
1746
|
var DOCUMENT_NODE_TYPE = 9;
|
|
1738
1747
|
if (typeof Element !== "undefined" && !Element.prototype.matches) {
|
|
1739
1748
|
var proto = Element.prototype;
|
|
@@ -1748,12 +1757,12 @@ function requireClipboard() {
|
|
|
1748
1757
|
}
|
|
1749
1758
|
}
|
|
1750
1759
|
module2.exports = closest;
|
|
1751
|
-
}
|
|
1760
|
+
})
|
|
1752
1761
|
),
|
|
1753
1762
|
/***/
|
|
1754
1763
|
438: (
|
|
1755
1764
|
/***/
|
|
1756
|
-
function(module2, __unused_webpack_exports, __webpack_require__2) {
|
|
1765
|
+
(function(module2, __unused_webpack_exports, __webpack_require__2) {
|
|
1757
1766
|
var closest = __webpack_require__2(828);
|
|
1758
1767
|
function _delegate(element, selector, type, callback, useCapture) {
|
|
1759
1768
|
var listenerFn = listener.apply(this, arguments);
|
|
@@ -1787,12 +1796,12 @@ function requireClipboard() {
|
|
|
1787
1796
|
};
|
|
1788
1797
|
}
|
|
1789
1798
|
module2.exports = delegate;
|
|
1790
|
-
}
|
|
1799
|
+
})
|
|
1791
1800
|
),
|
|
1792
1801
|
/***/
|
|
1793
1802
|
879: (
|
|
1794
1803
|
/***/
|
|
1795
|
-
function(__unused_webpack_module, exports2) {
|
|
1804
|
+
(function(__unused_webpack_module, exports2) {
|
|
1796
1805
|
exports2.node = function(value) {
|
|
1797
1806
|
return value !== void 0 && value instanceof HTMLElement && value.nodeType === 1;
|
|
1798
1807
|
};
|
|
@@ -1807,12 +1816,12 @@ function requireClipboard() {
|
|
|
1807
1816
|
var type = Object.prototype.toString.call(value);
|
|
1808
1817
|
return type === "[object Function]";
|
|
1809
1818
|
};
|
|
1810
|
-
}
|
|
1819
|
+
})
|
|
1811
1820
|
),
|
|
1812
1821
|
/***/
|
|
1813
1822
|
370: (
|
|
1814
1823
|
/***/
|
|
1815
|
-
function(module2, __unused_webpack_exports, __webpack_require__2) {
|
|
1824
|
+
(function(module2, __unused_webpack_exports, __webpack_require__2) {
|
|
1816
1825
|
var is = __webpack_require__2(879);
|
|
1817
1826
|
var delegate = __webpack_require__2(438);
|
|
1818
1827
|
function listen(target, type, callback) {
|
|
@@ -1859,12 +1868,12 @@ function requireClipboard() {
|
|
|
1859
1868
|
return delegate(document.body, selector, type, callback);
|
|
1860
1869
|
}
|
|
1861
1870
|
module2.exports = listen;
|
|
1862
|
-
}
|
|
1871
|
+
})
|
|
1863
1872
|
),
|
|
1864
1873
|
/***/
|
|
1865
1874
|
817: (
|
|
1866
1875
|
/***/
|
|
1867
|
-
function(module2) {
|
|
1876
|
+
(function(module2) {
|
|
1868
1877
|
function select(element) {
|
|
1869
1878
|
var selectedText;
|
|
1870
1879
|
if (element.nodeName === "SELECT") {
|
|
@@ -1895,12 +1904,12 @@ function requireClipboard() {
|
|
|
1895
1904
|
return selectedText;
|
|
1896
1905
|
}
|
|
1897
1906
|
module2.exports = select;
|
|
1898
|
-
}
|
|
1907
|
+
})
|
|
1899
1908
|
),
|
|
1900
1909
|
/***/
|
|
1901
1910
|
279: (
|
|
1902
1911
|
/***/
|
|
1903
|
-
function(module2) {
|
|
1912
|
+
(function(module2) {
|
|
1904
1913
|
function E() {
|
|
1905
1914
|
}
|
|
1906
1915
|
E.prototype = {
|
|
@@ -1947,7 +1956,7 @@ function requireClipboard() {
|
|
|
1947
1956
|
};
|
|
1948
1957
|
module2.exports = E;
|
|
1949
1958
|
module2.exports.TinyEmitter = E;
|
|
1950
|
-
}
|
|
1959
|
+
})
|
|
1951
1960
|
)
|
|
1952
1961
|
/******/
|
|
1953
1962
|
};
|
|
@@ -1968,7 +1977,7 @@ function requireClipboard() {
|
|
|
1968
1977
|
__webpack_modules__[moduleId](module2, module2.exports, __webpack_require__);
|
|
1969
1978
|
return module2.exports;
|
|
1970
1979
|
}
|
|
1971
|
-
!function() {
|
|
1980
|
+
!(function() {
|
|
1972
1981
|
__webpack_require__.n = function(module2) {
|
|
1973
1982
|
var getter = module2 && module2.__esModule ? (
|
|
1974
1983
|
/******/
|
|
@@ -1984,8 +1993,8 @@ function requireClipboard() {
|
|
|
1984
1993
|
__webpack_require__.d(getter, { a: getter });
|
|
1985
1994
|
return getter;
|
|
1986
1995
|
};
|
|
1987
|
-
}();
|
|
1988
|
-
!function() {
|
|
1996
|
+
})();
|
|
1997
|
+
!(function() {
|
|
1989
1998
|
__webpack_require__.d = function(exports2, definition) {
|
|
1990
1999
|
for (var key in definition) {
|
|
1991
2000
|
if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports2, key)) {
|
|
@@ -1993,14 +2002,14 @@ function requireClipboard() {
|
|
|
1993
2002
|
}
|
|
1994
2003
|
}
|
|
1995
2004
|
};
|
|
1996
|
-
}();
|
|
1997
|
-
!function() {
|
|
2005
|
+
})();
|
|
2006
|
+
!(function() {
|
|
1998
2007
|
__webpack_require__.o = function(obj, prop) {
|
|
1999
2008
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
2000
2009
|
};
|
|
2001
|
-
}();
|
|
2010
|
+
})();
|
|
2002
2011
|
return __webpack_require__(686);
|
|
2003
|
-
}().default
|
|
2012
|
+
})().default
|
|
2004
2013
|
);
|
|
2005
2014
|
});
|
|
2006
2015
|
})(clipboard$1);
|
|
@@ -2437,7 +2446,7 @@ function requireCore() {
|
|
|
2437
2446
|
module.exports = factory();
|
|
2438
2447
|
}
|
|
2439
2448
|
})(core, function() {
|
|
2440
|
-
var CryptoJS2 = CryptoJS2 || function(Math2, undefined$1) {
|
|
2449
|
+
var CryptoJS2 = CryptoJS2 || (function(Math2, undefined$1) {
|
|
2441
2450
|
var crypto;
|
|
2442
2451
|
if (typeof window !== "undefined" && window.crypto) {
|
|
2443
2452
|
crypto = window.crypto;
|
|
@@ -2477,7 +2486,7 @@ function requireCore() {
|
|
|
2477
2486
|
}
|
|
2478
2487
|
throw new Error("Native crypto module could not be used to get secure random number.");
|
|
2479
2488
|
};
|
|
2480
|
-
var create = Object.create || /* @__PURE__ */ function() {
|
|
2489
|
+
var create = Object.create || /* @__PURE__ */ (function() {
|
|
2481
2490
|
function F() {
|
|
2482
2491
|
}
|
|
2483
2492
|
return function(obj) {
|
|
@@ -2487,10 +2496,10 @@ function requireCore() {
|
|
|
2487
2496
|
F.prototype = null;
|
|
2488
2497
|
return subtype;
|
|
2489
2498
|
};
|
|
2490
|
-
}();
|
|
2499
|
+
})();
|
|
2491
2500
|
var C = {};
|
|
2492
2501
|
var C_lib = C.lib = {};
|
|
2493
|
-
var Base = C_lib.Base = /* @__PURE__ */ function() {
|
|
2502
|
+
var Base = C_lib.Base = /* @__PURE__ */ (function() {
|
|
2494
2503
|
return {
|
|
2495
2504
|
/**
|
|
2496
2505
|
* Creates a new object that inherits from this object.
|
|
@@ -2589,7 +2598,7 @@ function requireCore() {
|
|
|
2589
2598
|
return this.init.prototype.extend(this);
|
|
2590
2599
|
}
|
|
2591
2600
|
};
|
|
2592
|
-
}();
|
|
2601
|
+
})();
|
|
2593
2602
|
var WordArray = C_lib.WordArray = Base.extend({
|
|
2594
2603
|
/**
|
|
2595
2604
|
* Initializes a newly created word array.
|
|
@@ -3027,7 +3036,7 @@ function requireCore() {
|
|
|
3027
3036
|
});
|
|
3028
3037
|
var C_algo = C.algo = {};
|
|
3029
3038
|
return C;
|
|
3030
|
-
}(Math);
|
|
3039
|
+
})(Math);
|
|
3031
3040
|
return CryptoJS2;
|
|
3032
3041
|
});
|
|
3033
3042
|
})(core$1);
|
|
@@ -5425,7 +5434,7 @@ function requireCipherCore() {
|
|
|
5425
5434
|
module.exports = factory(requireCore(), requireEvpkdf());
|
|
5426
5435
|
}
|
|
5427
5436
|
})(cipherCore, function(CryptoJS2) {
|
|
5428
|
-
CryptoJS2.lib.Cipher || function(undefined$1) {
|
|
5437
|
+
CryptoJS2.lib.Cipher || (function(undefined$1) {
|
|
5429
5438
|
var C = CryptoJS2;
|
|
5430
5439
|
var C_lib = C.lib;
|
|
5431
5440
|
var Base = C_lib.Base;
|
|
@@ -5559,7 +5568,7 @@ function requireCipherCore() {
|
|
|
5559
5568
|
*
|
|
5560
5569
|
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
|
|
5561
5570
|
*/
|
|
5562
|
-
_createHelper: /* @__PURE__ */ function() {
|
|
5571
|
+
_createHelper: /* @__PURE__ */ (function() {
|
|
5563
5572
|
function selectCipherStrategy(key) {
|
|
5564
5573
|
if (typeof key == "string") {
|
|
5565
5574
|
return PasswordBasedCipher;
|
|
@@ -5577,7 +5586,7 @@ function requireCipherCore() {
|
|
|
5577
5586
|
}
|
|
5578
5587
|
};
|
|
5579
5588
|
};
|
|
5580
|
-
}()
|
|
5589
|
+
})()
|
|
5581
5590
|
});
|
|
5582
5591
|
C_lib.StreamCipher = Cipher.extend({
|
|
5583
5592
|
_doFinalize: function() {
|
|
@@ -5633,7 +5642,7 @@ function requireCipherCore() {
|
|
|
5633
5642
|
this._iv = iv;
|
|
5634
5643
|
}
|
|
5635
5644
|
});
|
|
5636
|
-
var CBC = C_mode.CBC = function() {
|
|
5645
|
+
var CBC = C_mode.CBC = (function() {
|
|
5637
5646
|
var CBC2 = BlockCipherMode.extend();
|
|
5638
5647
|
CBC2.Encryptor = CBC2.extend({
|
|
5639
5648
|
/**
|
|
@@ -5688,7 +5697,7 @@ function requireCipherCore() {
|
|
|
5688
5697
|
}
|
|
5689
5698
|
}
|
|
5690
5699
|
return CBC2;
|
|
5691
|
-
}();
|
|
5700
|
+
})();
|
|
5692
5701
|
var C_pad = C.pad = {};
|
|
5693
5702
|
var Pkcs7 = C_pad.Pkcs7 = {
|
|
5694
5703
|
/**
|
|
@@ -6052,7 +6061,7 @@ function requireCipherCore() {
|
|
|
6052
6061
|
return plaintext;
|
|
6053
6062
|
}
|
|
6054
6063
|
});
|
|
6055
|
-
}();
|
|
6064
|
+
})();
|
|
6056
6065
|
});
|
|
6057
6066
|
})(cipherCore$1);
|
|
6058
6067
|
return cipherCore$1.exports;
|
|
@@ -6069,7 +6078,7 @@ function requireModeCfb() {
|
|
|
6069
6078
|
module.exports = factory(requireCore(), requireCipherCore());
|
|
6070
6079
|
}
|
|
6071
6080
|
})(modeCfb, function(CryptoJS2) {
|
|
6072
|
-
CryptoJS2.mode.CFB = function() {
|
|
6081
|
+
CryptoJS2.mode.CFB = (function() {
|
|
6073
6082
|
var CFB = CryptoJS2.lib.BlockCipherMode.extend();
|
|
6074
6083
|
CFB.Encryptor = CFB.extend({
|
|
6075
6084
|
processBlock: function(words, offset) {
|
|
@@ -6103,7 +6112,7 @@ function requireModeCfb() {
|
|
|
6103
6112
|
}
|
|
6104
6113
|
}
|
|
6105
6114
|
return CFB;
|
|
6106
|
-
}();
|
|
6115
|
+
})();
|
|
6107
6116
|
return CryptoJS2.mode.CFB;
|
|
6108
6117
|
});
|
|
6109
6118
|
})(modeCfb$1);
|
|
@@ -6121,7 +6130,7 @@ function requireModeCtr() {
|
|
|
6121
6130
|
module.exports = factory(requireCore(), requireCipherCore());
|
|
6122
6131
|
}
|
|
6123
6132
|
})(modeCtr, function(CryptoJS2) {
|
|
6124
|
-
CryptoJS2.mode.CTR = function() {
|
|
6133
|
+
CryptoJS2.mode.CTR = (function() {
|
|
6125
6134
|
var CTR = CryptoJS2.lib.BlockCipherMode.extend();
|
|
6126
6135
|
var Encryptor = CTR.Encryptor = CTR.extend({
|
|
6127
6136
|
processBlock: function(words, offset) {
|
|
@@ -6143,7 +6152,7 @@ function requireModeCtr() {
|
|
|
6143
6152
|
});
|
|
6144
6153
|
CTR.Decryptor = Encryptor;
|
|
6145
6154
|
return CTR;
|
|
6146
|
-
}();
|
|
6155
|
+
})();
|
|
6147
6156
|
return CryptoJS2.mode.CTR;
|
|
6148
6157
|
});
|
|
6149
6158
|
})(modeCtr$1);
|
|
@@ -6161,7 +6170,7 @@ function requireModeCtrGladman() {
|
|
|
6161
6170
|
module.exports = factory(requireCore(), requireCipherCore());
|
|
6162
6171
|
}
|
|
6163
6172
|
})(modeCtrGladman, function(CryptoJS2) {
|
|
6164
|
-
CryptoJS2.mode.CTRGladman = function() {
|
|
6173
|
+
CryptoJS2.mode.CTRGladman = (function() {
|
|
6165
6174
|
var CTRGladman = CryptoJS2.lib.BlockCipherMode.extend();
|
|
6166
6175
|
function incWord(word) {
|
|
6167
6176
|
if ((word >> 24 & 255) === 255) {
|
|
@@ -6218,7 +6227,7 @@ function requireModeCtrGladman() {
|
|
|
6218
6227
|
});
|
|
6219
6228
|
CTRGladman.Decryptor = Encryptor;
|
|
6220
6229
|
return CTRGladman;
|
|
6221
|
-
}();
|
|
6230
|
+
})();
|
|
6222
6231
|
return CryptoJS2.mode.CTRGladman;
|
|
6223
6232
|
});
|
|
6224
6233
|
})(modeCtrGladman$1);
|
|
@@ -6236,7 +6245,7 @@ function requireModeOfb() {
|
|
|
6236
6245
|
module.exports = factory(requireCore(), requireCipherCore());
|
|
6237
6246
|
}
|
|
6238
6247
|
})(modeOfb, function(CryptoJS2) {
|
|
6239
|
-
CryptoJS2.mode.OFB = function() {
|
|
6248
|
+
CryptoJS2.mode.OFB = (function() {
|
|
6240
6249
|
var OFB = CryptoJS2.lib.BlockCipherMode.extend();
|
|
6241
6250
|
var Encryptor = OFB.Encryptor = OFB.extend({
|
|
6242
6251
|
processBlock: function(words, offset) {
|
|
@@ -6256,7 +6265,7 @@ function requireModeOfb() {
|
|
|
6256
6265
|
});
|
|
6257
6266
|
OFB.Decryptor = Encryptor;
|
|
6258
6267
|
return OFB;
|
|
6259
|
-
}();
|
|
6268
|
+
})();
|
|
6260
6269
|
return CryptoJS2.mode.OFB;
|
|
6261
6270
|
});
|
|
6262
6271
|
})(modeOfb$1);
|
|
@@ -6274,7 +6283,7 @@ function requireModeEcb() {
|
|
|
6274
6283
|
module.exports = factory(requireCore(), requireCipherCore());
|
|
6275
6284
|
}
|
|
6276
6285
|
})(modeEcb, function(CryptoJS2) {
|
|
6277
|
-
CryptoJS2.mode.ECB = function() {
|
|
6286
|
+
CryptoJS2.mode.ECB = (function() {
|
|
6278
6287
|
var ECB = CryptoJS2.lib.BlockCipherMode.extend();
|
|
6279
6288
|
ECB.Encryptor = ECB.extend({
|
|
6280
6289
|
processBlock: function(words, offset) {
|
|
@@ -6287,7 +6296,7 @@ function requireModeEcb() {
|
|
|
6287
6296
|
}
|
|
6288
6297
|
});
|
|
6289
6298
|
return ECB;
|
|
6290
|
-
}();
|
|
6299
|
+
})();
|
|
6291
6300
|
return CryptoJS2.mode.ECB;
|
|
6292
6301
|
});
|
|
6293
6302
|
})(modeEcb$1);
|
|
@@ -10792,11 +10801,11 @@ function isSameRouteRecord(a, b) {
|
|
|
10792
10801
|
}
|
|
10793
10802
|
function isSameRouteLocationParams(a, b) {
|
|
10794
10803
|
if (Object.keys(a).length !== Object.keys(b).length) return false;
|
|
10795
|
-
for (
|
|
10804
|
+
for (var key in a) if (!isSameRouteLocationParamsValue(a[key], b[key])) return false;
|
|
10796
10805
|
return true;
|
|
10797
10806
|
}
|
|
10798
10807
|
function isSameRouteLocationParamsValue(a, b) {
|
|
10799
|
-
return isArray(a) ? isEquivalentArray(a, b) : isArray(b) ? isEquivalentArray(b, a) : a === b;
|
|
10808
|
+
return isArray(a) ? isEquivalentArray(a, b) : isArray(b) ? isEquivalentArray(b, a) : a?.valueOf() === b?.valueOf();
|
|
10800
10809
|
}
|
|
10801
10810
|
function isEquivalentArray(a, b) {
|
|
10802
10811
|
return isArray(b) ? a.length === b.length && a.every((value, i) => value === b[i]) : a.length === 1 && a[0] === b;
|
|
@@ -10835,17 +10844,17 @@ const START_LOCATION_NORMALIZED = {
|
|
|
10835
10844
|
meta: {},
|
|
10836
10845
|
redirectedFrom: void 0
|
|
10837
10846
|
};
|
|
10838
|
-
let NavigationType = /* @__PURE__ */ function(NavigationType$1) {
|
|
10847
|
+
let NavigationType = /* @__PURE__ */ (function(NavigationType$1) {
|
|
10839
10848
|
NavigationType$1["pop"] = "pop";
|
|
10840
10849
|
NavigationType$1["push"] = "push";
|
|
10841
10850
|
return NavigationType$1;
|
|
10842
|
-
}({});
|
|
10843
|
-
let NavigationDirection = /* @__PURE__ */ function(NavigationDirection$1) {
|
|
10851
|
+
})({});
|
|
10852
|
+
let NavigationDirection = /* @__PURE__ */ (function(NavigationDirection$1) {
|
|
10844
10853
|
NavigationDirection$1["back"] = "back";
|
|
10845
10854
|
NavigationDirection$1["forward"] = "forward";
|
|
10846
10855
|
NavigationDirection$1["unknown"] = "";
|
|
10847
10856
|
return NavigationDirection$1;
|
|
10848
|
-
}({});
|
|
10857
|
+
})({});
|
|
10849
10858
|
function normalizeBase(base) {
|
|
10850
10859
|
if (!base) if (isBrowser) {
|
|
10851
10860
|
const baseEl = document.querySelector("base");
|
|
@@ -10917,15 +10926,15 @@ function isRouteLocation(route) {
|
|
|
10917
10926
|
function isRouteName(name) {
|
|
10918
10927
|
return typeof name === "string" || typeof name === "symbol";
|
|
10919
10928
|
}
|
|
10920
|
-
let ErrorTypes = /* @__PURE__ */ function(ErrorTypes$1) {
|
|
10929
|
+
let ErrorTypes = /* @__PURE__ */ (function(ErrorTypes$1) {
|
|
10921
10930
|
ErrorTypes$1[ErrorTypes$1["MATCHER_NOT_FOUND"] = 1] = "MATCHER_NOT_FOUND";
|
|
10922
10931
|
ErrorTypes$1[ErrorTypes$1["NAVIGATION_GUARD_REDIRECT"] = 2] = "NAVIGATION_GUARD_REDIRECT";
|
|
10923
10932
|
ErrorTypes$1[ErrorTypes$1["NAVIGATION_ABORTED"] = 4] = "NAVIGATION_ABORTED";
|
|
10924
10933
|
ErrorTypes$1[ErrorTypes$1["NAVIGATION_CANCELLED"] = 8] = "NAVIGATION_CANCELLED";
|
|
10925
10934
|
ErrorTypes$1[ErrorTypes$1["NAVIGATION_DUPLICATED"] = 16] = "NAVIGATION_DUPLICATED";
|
|
10926
10935
|
return ErrorTypes$1;
|
|
10927
|
-
}({});
|
|
10928
|
-
const NavigationFailureSymbol = Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
10936
|
+
})({});
|
|
10937
|
+
const NavigationFailureSymbol = /* @__PURE__ */ Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
10929
10938
|
const ErrorTypeMessages = {
|
|
10930
10939
|
[ErrorTypes.MATCHER_NOT_FOUND]({ location: location2, currentLocation }) {
|
|
10931
10940
|
return `No match for
|
|
@@ -11012,11 +11021,11 @@ function normalizeQuery(query) {
|
|
|
11012
11021
|
}
|
|
11013
11022
|
return normalizedQuery;
|
|
11014
11023
|
}
|
|
11015
|
-
const matchedRouteKey = Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
11016
|
-
const viewDepthKey = Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
11017
|
-
const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
11018
|
-
const routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
11019
|
-
const routerViewLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
11024
|
+
const matchedRouteKey = /* @__PURE__ */ Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
11025
|
+
const viewDepthKey = /* @__PURE__ */ Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
11026
|
+
const routerKey = /* @__PURE__ */ Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
11027
|
+
const routeLocationKey = /* @__PURE__ */ Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
11028
|
+
const routerViewLocationKey = /* @__PURE__ */ Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
11020
11029
|
function useCallbacks() {
|
|
11021
11030
|
let handlers = [];
|
|
11022
11031
|
function add(handler) {
|
|
@@ -11627,20 +11636,20 @@ function createWebHistory(base) {
|
|
|
11627
11636
|
});
|
|
11628
11637
|
return routerHistory;
|
|
11629
11638
|
}
|
|
11630
|
-
let TokenType = /* @__PURE__ */ function(TokenType$1) {
|
|
11639
|
+
let TokenType = /* @__PURE__ */ (function(TokenType$1) {
|
|
11631
11640
|
TokenType$1[TokenType$1["Static"] = 0] = "Static";
|
|
11632
11641
|
TokenType$1[TokenType$1["Param"] = 1] = "Param";
|
|
11633
11642
|
TokenType$1[TokenType$1["Group"] = 2] = "Group";
|
|
11634
11643
|
return TokenType$1;
|
|
11635
|
-
}({});
|
|
11636
|
-
var TokenizerState = /* @__PURE__ */ function(TokenizerState$1) {
|
|
11644
|
+
})({});
|
|
11645
|
+
var TokenizerState = /* @__PURE__ */ (function(TokenizerState$1) {
|
|
11637
11646
|
TokenizerState$1[TokenizerState$1["Static"] = 0] = "Static";
|
|
11638
11647
|
TokenizerState$1[TokenizerState$1["Param"] = 1] = "Param";
|
|
11639
11648
|
TokenizerState$1[TokenizerState$1["ParamRegExp"] = 2] = "ParamRegExp";
|
|
11640
11649
|
TokenizerState$1[TokenizerState$1["ParamRegExpEnd"] = 3] = "ParamRegExpEnd";
|
|
11641
11650
|
TokenizerState$1[TokenizerState$1["EscapeNext"] = 4] = "EscapeNext";
|
|
11642
11651
|
return TokenizerState$1;
|
|
11643
|
-
}(TokenizerState || {});
|
|
11652
|
+
})(TokenizerState || {});
|
|
11644
11653
|
const ROOT_TOKEN = {
|
|
11645
11654
|
type: TokenType.Static,
|
|
11646
11655
|
value: ""
|
|
@@ -11744,7 +11753,7 @@ const BASE_PATH_PARSER_OPTIONS = {
|
|
|
11744
11753
|
start: true,
|
|
11745
11754
|
end: true
|
|
11746
11755
|
};
|
|
11747
|
-
var PathScore = /* @__PURE__ */ function(PathScore$1) {
|
|
11756
|
+
var PathScore = /* @__PURE__ */ (function(PathScore$1) {
|
|
11748
11757
|
PathScore$1[PathScore$1["_multiplier"] = 10] = "_multiplier";
|
|
11749
11758
|
PathScore$1[PathScore$1["Root"] = 90] = "Root";
|
|
11750
11759
|
PathScore$1[PathScore$1["Segment"] = 40] = "Segment";
|
|
@@ -11758,7 +11767,7 @@ var PathScore = /* @__PURE__ */ function(PathScore$1) {
|
|
|
11758
11767
|
PathScore$1[PathScore$1["BonusStrict"] = 0.7000000000000001] = "BonusStrict";
|
|
11759
11768
|
PathScore$1[PathScore$1["BonusCaseSensitive"] = 0.25] = "BonusCaseSensitive";
|
|
11760
11769
|
return PathScore$1;
|
|
11761
|
-
}(PathScore || {});
|
|
11770
|
+
})(PathScore || {});
|
|
11762
11771
|
const REGEX_CHARS_RE = /[.+*?^${}()[\]/\\]/g;
|
|
11763
11772
|
function tokensToParser(segments, extraOptions) {
|
|
11764
11773
|
const options = assign({}, BASE_PATH_PARSER_OPTIONS, extraOptions);
|
|
@@ -12256,7 +12265,7 @@ function includesParams(outer, inner) {
|
|
|
12256
12265
|
const outerValue = outer[key];
|
|
12257
12266
|
if (typeof innerValue === "string") {
|
|
12258
12267
|
if (innerValue !== outerValue) return false;
|
|
12259
|
-
} else if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i) => value !== outerValue[i])) return false;
|
|
12268
|
+
} else if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i) => value.valueOf() !== outerValue[i].valueOf())) return false;
|
|
12260
12269
|
}
|
|
12261
12270
|
return true;
|
|
12262
12271
|
}
|
|
@@ -15271,7 +15280,7 @@ var qrcodegen;
|
|
|
15271
15280
|
(function(qrcodegen2) {
|
|
15272
15281
|
var QrCode = (
|
|
15273
15282
|
/** @class */
|
|
15274
|
-
function() {
|
|
15283
|
+
(function() {
|
|
15275
15284
|
function QrCode2(version, errorCorrectionLevel, dataCodewords, msk) {
|
|
15276
15285
|
this.version = version;
|
|
15277
15286
|
this.errorCorrectionLevel = errorCorrectionLevel;
|
|
@@ -15743,7 +15752,7 @@ var qrcodegen;
|
|
|
15743
15752
|
// High
|
|
15744
15753
|
];
|
|
15745
15754
|
return QrCode2;
|
|
15746
|
-
}()
|
|
15755
|
+
})()
|
|
15747
15756
|
);
|
|
15748
15757
|
qrcodegen2.QrCode = QrCode;
|
|
15749
15758
|
function appendBits(val, len, bb) {
|
|
@@ -15761,7 +15770,7 @@ var qrcodegen;
|
|
|
15761
15770
|
}
|
|
15762
15771
|
var QrSegment = (
|
|
15763
15772
|
/** @class */
|
|
15764
|
-
function() {
|
|
15773
|
+
(function() {
|
|
15765
15774
|
function QrSegment2(mode, numChars, bitData) {
|
|
15766
15775
|
this.mode = mode;
|
|
15767
15776
|
this.numChars = numChars;
|
|
@@ -15866,7 +15875,7 @@ var qrcodegen;
|
|
|
15866
15875
|
QrSegment2.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+.\/:-]*$/;
|
|
15867
15876
|
QrSegment2.ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
|
|
15868
15877
|
return QrSegment2;
|
|
15869
|
-
}()
|
|
15878
|
+
})()
|
|
15870
15879
|
);
|
|
15871
15880
|
qrcodegen2.QrSegment = QrSegment;
|
|
15872
15881
|
})(qrcodegen || (qrcodegen = {}));
|
|
@@ -15874,7 +15883,7 @@ var qrcodegen;
|
|
|
15874
15883
|
(function(QrCode) {
|
|
15875
15884
|
var Ecc = (
|
|
15876
15885
|
/** @class */
|
|
15877
|
-
function() {
|
|
15886
|
+
(function() {
|
|
15878
15887
|
function Ecc2(ordinal, formatBits) {
|
|
15879
15888
|
this.ordinal = ordinal;
|
|
15880
15889
|
this.formatBits = formatBits;
|
|
@@ -15884,7 +15893,7 @@ var qrcodegen;
|
|
|
15884
15893
|
Ecc2.QUARTILE = new Ecc2(2, 3);
|
|
15885
15894
|
Ecc2.HIGH = new Ecc2(3, 2);
|
|
15886
15895
|
return Ecc2;
|
|
15887
|
-
}()
|
|
15896
|
+
})()
|
|
15888
15897
|
);
|
|
15889
15898
|
QrCode.Ecc = Ecc;
|
|
15890
15899
|
})(qrcodegen2.QrCode || (qrcodegen2.QrCode = {}));
|
|
@@ -15893,7 +15902,7 @@ var qrcodegen;
|
|
|
15893
15902
|
(function(QrSegment) {
|
|
15894
15903
|
var Mode = (
|
|
15895
15904
|
/** @class */
|
|
15896
|
-
function() {
|
|
15905
|
+
(function() {
|
|
15897
15906
|
function Mode2(modeBits, numBitsCharCount) {
|
|
15898
15907
|
this.modeBits = modeBits;
|
|
15899
15908
|
this.numBitsCharCount = numBitsCharCount;
|
|
@@ -15907,7 +15916,7 @@ var qrcodegen;
|
|
|
15907
15916
|
Mode2.KANJI = new Mode2(8, [8, 10, 12]);
|
|
15908
15917
|
Mode2.ECI = new Mode2(7, [0, 0, 0]);
|
|
15909
15918
|
return Mode2;
|
|
15910
|
-
}()
|
|
15919
|
+
})()
|
|
15911
15920
|
);
|
|
15912
15921
|
QrSegment.Mode = Mode;
|
|
15913
15922
|
})(qrcodegen2.QrSegment || (qrcodegen2.QrSegment = {}));
|
|
@@ -15920,14 +15929,14 @@ var ErrorCorrectLevelMap = {
|
|
|
15920
15929
|
Q: QR.QrCode.Ecc.QUARTILE,
|
|
15921
15930
|
H: QR.QrCode.Ecc.HIGH
|
|
15922
15931
|
};
|
|
15923
|
-
var SUPPORTS_PATH2D = function() {
|
|
15932
|
+
var SUPPORTS_PATH2D = (function() {
|
|
15924
15933
|
try {
|
|
15925
15934
|
new Path2D().addPath(new Path2D());
|
|
15926
15935
|
} catch (e) {
|
|
15927
15936
|
return false;
|
|
15928
15937
|
}
|
|
15929
15938
|
return true;
|
|
15930
|
-
}();
|
|
15939
|
+
})();
|
|
15931
15940
|
function validErrorCorrectLevel(level) {
|
|
15932
15941
|
return level in ErrorCorrectLevelMap;
|
|
15933
15942
|
}
|
|
@@ -19363,7 +19372,6 @@ class RouterUtil {
|
|
|
19363
19372
|
};
|
|
19364
19373
|
this.router.addRoute(parentRouter, route);
|
|
19365
19374
|
}
|
|
19366
|
-
throw new Error("路由添加失败,不太能走到这里");
|
|
19367
19375
|
}
|
|
19368
19376
|
/**
|
|
19369
19377
|
* ### 重载缓存中的路由
|