orion-design 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -0
- package/dist/components/Button/Button.vue.d.ts +2 -0
- package/dist/components/Button/index.d.ts +4 -0
- package/dist/components/Button/index.js +27 -0
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/Flex/Col.d.ts +4 -4
- package/dist/components/Flex/Item.d.ts +4 -4
- package/dist/components/Flex/Row.d.ts +4 -4
- package/dist/components/Flex/index.d.ts +4 -4
- package/dist/components/Flex/index.js +95 -127
- package/dist/components/Flex/index.js.map +1 -0
- package/dist/components/Form/Form.d.ts +21 -0
- package/dist/components/Form/Form.js +5 -0
- package/dist/components/Form/Form.js.map +1 -0
- package/dist/components/Form/Form.vue.d.ts +465 -0
- package/dist/components/Form/PasswordInput/PasswordInput.d.ts +15 -0
- package/dist/components/Form/PasswordInput/PasswordInput.js +2 -0
- package/dist/components/Form/PasswordInput/PasswordInput.js.map +1 -0
- package/dist/components/Form/PasswordInput/PasswordInput.vue.d.ts +3 -0
- package/dist/components/Form/PasswordInput/index.d.ts +1 -0
- package/dist/components/Form/PasswordInput/index.js +2 -0
- package/dist/components/Form/PasswordInput/index.js.map +1 -0
- package/dist/components/Form/StringInput/StringInput.d.ts +15 -0
- package/dist/components/Form/StringInput/StringInput.js +2 -0
- package/dist/components/Form/StringInput/StringInput.js.map +1 -0
- package/dist/components/Form/StringInput/StringInput.vue.d.ts +3 -0
- package/dist/components/Form/StringInput/index.d.ts +1 -0
- package/dist/components/Form/StringInput/index.js +2 -0
- package/dist/components/Form/StringInput/index.js.map +1 -0
- package/dist/components/Form/Textarea/Textarea.d.ts +16 -0
- package/dist/components/Form/Textarea/Textarea.js +2 -0
- package/dist/components/Form/Textarea/Textarea.js.map +1 -0
- package/dist/components/Form/Textarea/Textarea.vue.d.ts +3 -0
- package/dist/components/Form/Textarea/index.d.ts +1 -0
- package/dist/components/Form/Textarea/index.js +2 -0
- package/dist/components/Form/Textarea/index.js.map +1 -0
- package/dist/components/Form/hooks/useForm.d.ts +4 -0
- package/dist/components/Form/hooks/useForm.js +21 -0
- package/dist/components/Form/hooks/useForm.js.map +1 -0
- package/dist/components/Form/index.d.ts +273 -0
- package/dist/components/Form/index.js +194 -0
- package/dist/components/Form/index.js.map +1 -0
- package/dist/components/Modal/index.d.ts +1 -14
- package/dist/components/Modal/useModal.d.ts +1 -1
- package/dist/components/Modal/useModal.js +7 -7
- package/dist/components/Modal/useModal.js.map +1 -0
- package/dist/components/Pagetable/Pagetable.d.ts +79 -0
- package/dist/components/Pagetable/columns/PagetableDatecolumn.d.ts +88 -0
- package/dist/components/Pagetable/columns/PagetableStringcolumn.d.ts +62 -0
- package/dist/components/Pagetable/index.d.ts +60 -0
- package/dist/components/Pagetable/index.js +144 -0
- package/dist/components/Pagetable/index.js.map +1 -0
- package/dist/components/Pagetable/interface.d.ts +10 -0
- package/dist/components/Pagetable/interface.js +2 -0
- package/dist/components/Pagetable/interface.js.map +1 -0
- package/dist/components/Space/index.d.ts +9 -9
- package/dist/components/_util/arrays.d.ts +5 -0
- package/dist/components/_util/arrays.js +8 -0
- package/dist/components/_util/arrays.js.map +1 -0
- package/dist/components/_util/browser.d.ts +3 -0
- package/dist/components/_util/browser.js +9 -0
- package/dist/components/_util/browser.js.map +1 -0
- package/dist/components/_util/classNames.js +20 -27
- package/dist/components/_util/classNames.js.map +1 -0
- package/dist/components/_util/dom/aria.d.ts +30 -0
- package/dist/components/_util/dom/aria.js +46 -0
- package/dist/components/_util/dom/aria.js.map +1 -0
- package/dist/components/_util/dom/element.d.ts +3 -0
- package/dist/components/_util/dom/element.js +18 -0
- package/dist/components/_util/dom/element.js.map +1 -0
- package/dist/components/_util/dom/event.d.ts +6 -0
- package/dist/components/_util/dom/event.js +10 -0
- package/dist/components/_util/dom/event.js.map +1 -0
- package/dist/components/_util/dom/index.d.ts +6 -0
- package/dist/components/_util/dom/index.js +39 -0
- package/dist/components/_util/dom/index.js.map +1 -0
- package/dist/components/_util/dom/position.d.ts +7 -0
- package/dist/components/_util/dom/position.js +30 -0
- package/dist/components/_util/dom/position.js.map +1 -0
- package/dist/components/_util/dom/scroll.d.ts +11 -0
- package/dist/components/_util/dom/scroll.js +78 -0
- package/dist/components/_util/dom/scroll.js.map +1 -0
- package/dist/components/_util/dom/style.d.ts +9 -0
- package/dist/components/_util/dom/style.js +58 -0
- package/dist/components/_util/dom/style.js.map +1 -0
- package/dist/components/_util/easings.d.ts +1 -0
- package/dist/components/_util/easings.js +8 -0
- package/dist/components/_util/easings.js.map +1 -0
- package/dist/components/_util/error.d.ts +3 -0
- package/dist/components/_util/error.js +22 -0
- package/dist/components/_util/error.js.map +1 -0
- package/dist/components/_util/functions.d.ts +1 -0
- package/dist/components/_util/functions.js +6 -0
- package/dist/components/_util/functions.js.map +1 -0
- package/dist/components/_util/i18n.d.ts +1 -0
- package/dist/components/_util/i18n.js +5 -0
- package/dist/components/_util/i18n.js.map +1 -0
- package/dist/components/_util/index.d.ts +15 -0
- package/dist/components/_util/index.js +140 -0
- package/dist/components/_util/index.js.map +1 -0
- package/dist/components/_util/isValid.js +4 -4
- package/dist/components/_util/isValid.js.map +1 -0
- package/dist/components/_util/objects.d.ts +8 -0
- package/dist/components/_util/objects.js +17 -0
- package/dist/components/_util/objects.js.map +1 -0
- package/dist/components/_util/props-util/index.d.ts +4 -4
- package/dist/components/_util/props-util/index.js +23 -50
- package/dist/components/_util/props-util/index.js.map +1 -0
- package/dist/components/_util/props-util/initDefaultProps.d.ts +2 -2
- package/dist/components/_util/props-util/initDefaultProps.js +13 -24
- package/dist/components/_util/props-util/initDefaultProps.js.map +1 -0
- package/dist/components/_util/raf.d.ts +2 -0
- package/dist/components/_util/raf.js +7 -0
- package/dist/components/_util/raf.js.map +1 -0
- package/dist/components/_util/rand.d.ts +12 -0
- package/dist/components/_util/rand.js +6 -0
- package/dist/components/_util/rand.js.map +1 -0
- package/dist/components/_util/strings.d.ts +6 -0
- package/dist/components/_util/strings.js +11 -0
- package/dist/components/_util/strings.js.map +1 -0
- package/dist/components/_util/throttleByRaf.d.ts +4 -0
- package/dist/components/_util/throttleByRaf.js +16 -0
- package/dist/components/_util/throttleByRaf.js.map +1 -0
- package/dist/components/_util/type.d.ts +1 -1
- package/dist/components/_util/type.js +48 -65
- package/dist/components/_util/type.js.map +1 -0
- package/dist/components/_util/types.d.ts +10 -0
- package/dist/components/_util/types.js +25 -0
- package/dist/components/_util/types.js.map +1 -0
- package/dist/components/_util/typescript.d.ts +12 -0
- package/dist/components/_util/typescript.js +5 -0
- package/dist/components/_util/typescript.js.map +1 -0
- package/dist/components/_util/util.d.ts +1 -1
- package/dist/components/_util/util.js +46 -74
- package/dist/components/_util/util.js.map +1 -0
- package/dist/components/_util/vue/global-node.d.ts +3 -0
- package/dist/components/_util/vue/global-node.js +21 -0
- package/dist/components/_util/vue/global-node.js.map +1 -0
- package/dist/components/_util/vue/icon.d.ts +23 -0
- package/dist/components/_util/vue/icon.js +154 -0
- package/dist/components/_util/vue/icon.js.map +1 -0
- package/dist/components/_util/vue/index.d.ts +9 -0
- package/dist/components/_util/vue/index.js +44 -0
- package/dist/components/_util/vue/index.js.map +1 -0
- package/dist/components/_util/vue/install.d.ts +6 -0
- package/dist/components/_util/vue/install.js +21 -0
- package/dist/components/_util/vue/install.js.map +1 -0
- package/dist/components/_util/vue/props/index.d.ts +3 -0
- package/dist/components/_util/vue/props/index.js +9 -0
- package/dist/components/_util/vue/props/index.js.map +1 -0
- package/dist/components/_util/vue/props/runtime.d.ts +29 -0
- package/dist/components/_util/vue/props/runtime.js +37 -0
- package/dist/components/_util/vue/props/runtime.js.map +1 -0
- package/dist/components/_util/vue/props/types.d.ts +120 -0
- package/dist/components/_util/vue/props/types.js +2 -0
- package/dist/components/_util/vue/props/types.js.map +1 -0
- package/dist/components/_util/vue/props/util.d.ts +8 -0
- package/dist/components/_util/vue/props/util.js +2 -0
- package/dist/components/_util/vue/props/util.js.map +1 -0
- package/dist/components/_util/vue/refs.d.ts +3 -0
- package/dist/components/_util/vue/refs.js +12 -0
- package/dist/components/_util/vue/refs.js.map +1 -0
- package/dist/components/_util/vue/size.d.ts +2 -0
- package/dist/components/_util/vue/size.js +6 -0
- package/dist/components/_util/vue/size.js.map +1 -0
- package/dist/components/_util/vue/typescript.d.ts +5 -0
- package/dist/components/_util/vue/typescript.js +2 -0
- package/dist/components/_util/vue/typescript.js.map +1 -0
- package/dist/components/_util/vue/validator.d.ts +3 -0
- package/dist/components/_util/vue/validator.js +7 -0
- package/dist/components/_util/vue/validator.js.map +1 -0
- package/dist/components/_util/vue/vnode.d.ts +50 -0
- package/dist/components/_util/vue/vnode.js +68 -0
- package/dist/components/_util/vue/vnode.js.map +1 -0
- package/dist/components/_util/vue-types/index.d.ts +3 -3
- package/dist/components/_util/vue-types/index.js +275 -417
- package/dist/components/_util/vue-types/index.js.map +1 -0
- package/dist/components/components.d.ts +4 -0
- package/dist/components/components.js +18 -12
- package/dist/components/components.js.map +1 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +25 -24
- package/dist/components/index.js.map +1 -0
- package/dist/components-BZukhWDk.js +106 -0
- package/dist/components-BZukhWDk.js.map +1 -0
- package/dist/error/OrionError.js +7 -12
- package/dist/error/OrionError.js.map +1 -0
- package/dist/functions-DzLqXvGt.js +33 -0
- package/dist/functions-DzLqXvGt.js.map +1 -0
- package/dist/index-C8JNJPWW.js +8 -0
- package/dist/index-C8JNJPWW.js.map +1 -0
- package/dist/index.css +1 -44
- package/dist/index.d.ts +1 -1
- package/dist/index.js +24 -14
- package/dist/index.js.map +1 -0
- package/dist/print/LodopFuncs.js +48 -111
- package/dist/print/LodopFuncs.js.map +1 -0
- package/dist/print/index.d.ts +2 -2
- package/dist/print/index.js +111 -220
- package/dist/print/index.js.map +1 -0
- package/dist/request/ErrorHandlerChain.js +17 -15
- package/dist/request/ErrorHandlerChain.js.map +1 -0
- package/dist/request/RequestFilterChain.d.ts +1 -1
- package/dist/request/RequestFilterChain.js +16 -14
- package/dist/request/RequestFilterChain.js.map +1 -0
- package/dist/request/ResponseParserChain.d.ts +1 -1
- package/dist/request/ResponseParserChain.js +17 -15
- package/dist/request/ResponseParserChain.js.map +1 -0
- package/dist/request/disivion/DateSerializer.js +25 -46
- package/dist/request/disivion/DateSerializer.js.map +1 -0
- package/dist/request/disivion/DivisionErrorHandler.d.ts +1 -1
- package/dist/request/disivion/DivisionErrorHandler.js +30 -52
- package/dist/request/disivion/DivisionErrorHandler.js.map +1 -0
- package/dist/request/disivion/DivisionResponseParser.d.ts +2 -2
- package/dist/request/disivion/DivisionResponseParser.js +13 -25
- package/dist/request/disivion/DivisionResponseParser.js.map +1 -0
- package/dist/request/disivion/index.d.ts +3 -3
- package/dist/request/disivion/index.js +230 -480
- package/dist/request/disivion/index.js.map +1 -0
- package/dist/request/error/BizExceptionResponseError.d.ts +2 -2
- package/dist/request/error/BizExceptionResponseError.js +8 -15
- package/dist/request/error/BizExceptionResponseError.js.map +1 -0
- package/dist/request/error/ExceptionResponseError.d.ts +2 -2
- package/dist/request/error/ExceptionResponseError.js +8 -15
- package/dist/request/error/ExceptionResponseError.js.map +1 -0
- package/dist/request/error/ResponseError.d.ts +1 -1
- package/dist/request/error/ResponseError.js +7 -14
- package/dist/request/error/ResponseError.js.map +1 -0
- package/dist/request/error/SessionExceptionResponseError.d.ts +2 -2
- package/dist/request/error/SessionExceptionResponseError.js +8 -15
- package/dist/request/error/SessionExceptionResponseError.js.map +1 -0
- package/dist/request/index.js +11 -17
- package/dist/request/index.js.map +1 -0
- package/dist/style/index.d.ts +0 -3
- package/dist/style/index.js +1 -0
- package/dist/style/index.js.map +1 -0
- package/dist/utils/DateUtil.js +36 -50
- package/dist/utils/DateUtil.js.map +1 -0
- package/dist/utils/NumberUtil.js +9 -8
- package/dist/utils/NumberUtil.js.map +1 -0
- package/dist/utils/cloneDeep.js +5 -1
- package/dist/utils/cloneDeep.js.map +1 -0
- package/dist/utils/delay.js +6 -4
- package/dist/utils/delay.js.map +1 -0
- package/dist/utils/functions.d.ts +1 -0
- package/dist/utils/functions.js +6 -0
- package/dist/utils/functions.js.map +1 -0
- package/dist/utils/index.js +15 -9
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/md5.js +121 -244
- package/dist/utils/md5.js.map +1 -0
- package/dist/utils/uuid.js +28 -58
- package/dist/utils/uuid.js.map +1 -0
- package/dist/utils/vue/install.d.ts +6 -0
- package/dist/utils/vue/install.js +21 -0
- package/dist/utils/vue/install.js.map +1 -0
- package/dist/utils/vue/typescript.d.ts +5 -0
- package/dist/utils/vue/typescript.js +2 -0
- package/dist/utils/vue/typescript.js.map +1 -0
- package/dist/version/index.d.ts +1 -1
- package/dist/version/index.js +5 -6
- package/dist/version/index.js.map +1 -0
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +5 -3
- package/dist/version/version.js.map +1 -0
- package/dist/vite.svg +1 -0
- package/global.d.ts +6 -0
- package/package.json +52 -63
- package/dist/components-BTX5S_6V.js +0 -128
package/dist/utils/md5.js
CHANGED
@@ -1,272 +1,149 @@
|
|
1
|
-
function
|
2
|
-
|
1
|
+
function w(a) {
|
2
|
+
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
3
3
|
}
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
return
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
for (var
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
// Remove non-base-64 characters
|
70
|
-
base64 = base64.replace(/[^A-Z0-9+\/]/ig, '');
|
71
|
-
for (var bytes = [], i = 0, imod4 = 0; i < base64.length; imod4 = ++i % 4) {
|
72
|
-
if (imod4 == 0) continue;
|
73
|
-
bytes.push((base64map.indexOf(base64.charAt(i - 1)) & Math.pow(2, -2 * imod4 + 8) - 1) << imod4 * 2 | base64map.indexOf(base64.charAt(i)) >>> 6 - imod4 * 2);
|
74
|
-
}
|
75
|
-
return bytes;
|
76
|
-
}
|
77
|
-
};
|
78
|
-
crypt.exports = crypt$1;
|
4
|
+
var T = { exports: {} }, x = { exports: {} };
|
5
|
+
(function() {
|
6
|
+
var a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", g = {
|
7
|
+
// Bit-wise rotation left
|
8
|
+
rotl: function(f, l) {
|
9
|
+
return f << l | f >>> 32 - l;
|
10
|
+
},
|
11
|
+
// Bit-wise rotation right
|
12
|
+
rotr: function(f, l) {
|
13
|
+
return f << 32 - l | f >>> l;
|
14
|
+
},
|
15
|
+
// Swap big-endian to little-endian and vice versa
|
16
|
+
endian: function(f) {
|
17
|
+
if (f.constructor == Number)
|
18
|
+
return g.rotl(f, 8) & 16711935 | g.rotl(f, 24) & 4278255360;
|
19
|
+
for (var l = 0; l < f.length; l++)
|
20
|
+
f[l] = g.endian(f[l]);
|
21
|
+
return f;
|
22
|
+
},
|
23
|
+
// Generate an array of any length of random bytes
|
24
|
+
randomBytes: function(f) {
|
25
|
+
for (var l = []; f > 0; f--)
|
26
|
+
l.push(Math.floor(Math.random() * 256));
|
27
|
+
return l;
|
28
|
+
},
|
29
|
+
// Convert a byte array to big-endian 32-bit words
|
30
|
+
bytesToWords: function(f) {
|
31
|
+
for (var l = [], c = 0, i = 0; c < f.length; c++, i += 8)
|
32
|
+
l[i >>> 5] |= f[c] << 24 - i % 32;
|
33
|
+
return l;
|
34
|
+
},
|
35
|
+
// Convert big-endian 32-bit words to a byte array
|
36
|
+
wordsToBytes: function(f) {
|
37
|
+
for (var l = [], c = 0; c < f.length * 32; c += 8)
|
38
|
+
l.push(f[c >>> 5] >>> 24 - c % 32 & 255);
|
39
|
+
return l;
|
40
|
+
},
|
41
|
+
// Convert a byte array to a hex string
|
42
|
+
bytesToHex: function(f) {
|
43
|
+
for (var l = [], c = 0; c < f.length; c++)
|
44
|
+
l.push((f[c] >>> 4).toString(16)), l.push((f[c] & 15).toString(16));
|
45
|
+
return l.join("");
|
46
|
+
},
|
47
|
+
// Convert a hex string to a byte array
|
48
|
+
hexToBytes: function(f) {
|
49
|
+
for (var l = [], c = 0; c < f.length; c += 2)
|
50
|
+
l.push(parseInt(f.substr(c, 2), 16));
|
51
|
+
return l;
|
52
|
+
},
|
53
|
+
// Convert a byte array to a base-64 string
|
54
|
+
bytesToBase64: function(f) {
|
55
|
+
for (var l = [], c = 0; c < f.length; c += 3)
|
56
|
+
for (var i = f[c] << 16 | f[c + 1] << 8 | f[c + 2], h = 0; h < 4; h++)
|
57
|
+
c * 8 + h * 6 <= f.length * 8 ? l.push(a.charAt(i >>> 6 * (3 - h) & 63)) : l.push("=");
|
58
|
+
return l.join("");
|
59
|
+
},
|
60
|
+
// Convert a base-64 string to a byte array
|
61
|
+
base64ToBytes: function(f) {
|
62
|
+
f = f.replace(/[^A-Z0-9+\/]/ig, "");
|
63
|
+
for (var l = [], c = 0, i = 0; c < f.length; i = ++c % 4)
|
64
|
+
i != 0 && l.push((a.indexOf(f.charAt(c - 1)) & Math.pow(2, -2 * i + 8) - 1) << i * 2 | a.indexOf(f.charAt(c)) >>> 6 - i * 2);
|
65
|
+
return l;
|
66
|
+
}
|
67
|
+
};
|
68
|
+
x.exports = g;
|
79
69
|
})();
|
80
|
-
var
|
81
|
-
|
82
|
-
var charenc = {
|
70
|
+
var E = x.exports, y = {
|
83
71
|
// UTF-8 encoding
|
84
72
|
utf8: {
|
85
73
|
// Convert a string to a byte array
|
86
|
-
stringToBytes: function
|
87
|
-
return
|
74
|
+
stringToBytes: function(a) {
|
75
|
+
return y.bin.stringToBytes(unescape(encodeURIComponent(a)));
|
88
76
|
},
|
89
77
|
// Convert a byte array to a string
|
90
|
-
bytesToString: function
|
91
|
-
return decodeURIComponent(escape(
|
78
|
+
bytesToString: function(a) {
|
79
|
+
return decodeURIComponent(escape(y.bin.bytesToString(a)));
|
92
80
|
}
|
93
81
|
},
|
94
82
|
// Binary encoding
|
95
83
|
bin: {
|
96
84
|
// Convert a string to a byte array
|
97
|
-
stringToBytes: function
|
98
|
-
for (var
|
99
|
-
|
85
|
+
stringToBytes: function(a) {
|
86
|
+
for (var g = [], f = 0; f < a.length; f++)
|
87
|
+
g.push(a.charCodeAt(f) & 255);
|
88
|
+
return g;
|
100
89
|
},
|
101
90
|
// Convert a byte array to a string
|
102
|
-
bytesToString: function
|
103
|
-
for (var
|
104
|
-
|
91
|
+
bytesToString: function(a) {
|
92
|
+
for (var g = [], f = 0; f < a.length; f++)
|
93
|
+
g.push(String.fromCharCode(a[f]));
|
94
|
+
return g.join("");
|
105
95
|
}
|
106
96
|
}
|
107
|
-
};
|
108
|
-
var charenc_1 = charenc;
|
109
|
-
|
97
|
+
}, B = y;
|
110
98
|
/*!
|
111
99
|
* Determine if an object is a Buffer
|
112
100
|
*
|
113
101
|
* @author Feross Aboukhadijeh <https://feross.org>
|
114
102
|
* @license MIT
|
115
103
|
*/
|
116
|
-
|
117
|
-
|
118
|
-
// Object.prototype.constructor. Remove this eventually
|
119
|
-
var isBuffer_1 = function (obj) {
|
120
|
-
return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer);
|
104
|
+
var H = function(a) {
|
105
|
+
return a != null && (_(a) || M(a) || !!a._isBuffer);
|
121
106
|
};
|
122
|
-
function
|
123
|
-
return !!
|
107
|
+
function _(a) {
|
108
|
+
return !!a.constructor && typeof a.constructor.isBuffer == "function" && a.constructor.isBuffer(a);
|
124
109
|
}
|
125
|
-
|
126
|
-
|
127
|
-
function isSlowBuffer(obj) {
|
128
|
-
return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0));
|
110
|
+
function M(a) {
|
111
|
+
return typeof a.readFloatLE == "function" && typeof a.slice == "function" && _(a.slice(0, 0));
|
129
112
|
}
|
130
|
-
|
131
|
-
(
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
} else if (isBuffer(message)) message = Array.prototype.slice.call(message, 0);else if (!Array.isArray(message) && message.constructor !== Uint8Array) message = message.toString();
|
142
|
-
// else, assume byte array already
|
143
|
-
|
144
|
-
var m = crypt.bytesToWords(message),
|
145
|
-
l = message.length * 8,
|
146
|
-
a = 1732584193,
|
147
|
-
b = -271733879,
|
148
|
-
c = -1732584194,
|
149
|
-
d = 271733878;
|
150
|
-
|
151
|
-
// Swap endian
|
152
|
-
for (var i = 0; i < m.length; i++) {
|
153
|
-
m[i] = (m[i] << 8 | m[i] >>> 24) & 0x00FF00FF | (m[i] << 24 | m[i] >>> 8) & 0xFF00FF00;
|
154
|
-
}
|
155
|
-
|
156
|
-
// Padding
|
157
|
-
m[l >>> 5] |= 0x80 << l % 32;
|
158
|
-
m[(l + 64 >>> 9 << 4) + 14] = l;
|
159
|
-
|
160
|
-
// Method shortcuts
|
161
|
-
var FF = md5._ff,
|
162
|
-
GG = md5._gg,
|
163
|
-
HH = md5._hh,
|
164
|
-
II = md5._ii;
|
165
|
-
for (var i = 0; i < m.length; i += 16) {
|
166
|
-
var aa = a,
|
167
|
-
bb = b,
|
168
|
-
cc = c,
|
169
|
-
dd = d;
|
170
|
-
a = FF(a, b, c, d, m[i + 0], 7, -680876936);
|
171
|
-
d = FF(d, a, b, c, m[i + 1], 12, -389564586);
|
172
|
-
c = FF(c, d, a, b, m[i + 2], 17, 606105819);
|
173
|
-
b = FF(b, c, d, a, m[i + 3], 22, -1044525330);
|
174
|
-
a = FF(a, b, c, d, m[i + 4], 7, -176418897);
|
175
|
-
d = FF(d, a, b, c, m[i + 5], 12, 1200080426);
|
176
|
-
c = FF(c, d, a, b, m[i + 6], 17, -1473231341);
|
177
|
-
b = FF(b, c, d, a, m[i + 7], 22, -45705983);
|
178
|
-
a = FF(a, b, c, d, m[i + 8], 7, 1770035416);
|
179
|
-
d = FF(d, a, b, c, m[i + 9], 12, -1958414417);
|
180
|
-
c = FF(c, d, a, b, m[i + 10], 17, -42063);
|
181
|
-
b = FF(b, c, d, a, m[i + 11], 22, -1990404162);
|
182
|
-
a = FF(a, b, c, d, m[i + 12], 7, 1804603682);
|
183
|
-
d = FF(d, a, b, c, m[i + 13], 12, -40341101);
|
184
|
-
c = FF(c, d, a, b, m[i + 14], 17, -1502002290);
|
185
|
-
b = FF(b, c, d, a, m[i + 15], 22, 1236535329);
|
186
|
-
a = GG(a, b, c, d, m[i + 1], 5, -165796510);
|
187
|
-
d = GG(d, a, b, c, m[i + 6], 9, -1069501632);
|
188
|
-
c = GG(c, d, a, b, m[i + 11], 14, 643717713);
|
189
|
-
b = GG(b, c, d, a, m[i + 0], 20, -373897302);
|
190
|
-
a = GG(a, b, c, d, m[i + 5], 5, -701558691);
|
191
|
-
d = GG(d, a, b, c, m[i + 10], 9, 38016083);
|
192
|
-
c = GG(c, d, a, b, m[i + 15], 14, -660478335);
|
193
|
-
b = GG(b, c, d, a, m[i + 4], 20, -405537848);
|
194
|
-
a = GG(a, b, c, d, m[i + 9], 5, 568446438);
|
195
|
-
d = GG(d, a, b, c, m[i + 14], 9, -1019803690);
|
196
|
-
c = GG(c, d, a, b, m[i + 3], 14, -187363961);
|
197
|
-
b = GG(b, c, d, a, m[i + 8], 20, 1163531501);
|
198
|
-
a = GG(a, b, c, d, m[i + 13], 5, -1444681467);
|
199
|
-
d = GG(d, a, b, c, m[i + 2], 9, -51403784);
|
200
|
-
c = GG(c, d, a, b, m[i + 7], 14, 1735328473);
|
201
|
-
b = GG(b, c, d, a, m[i + 12], 20, -1926607734);
|
202
|
-
a = HH(a, b, c, d, m[i + 5], 4, -378558);
|
203
|
-
d = HH(d, a, b, c, m[i + 8], 11, -2022574463);
|
204
|
-
c = HH(c, d, a, b, m[i + 11], 16, 1839030562);
|
205
|
-
b = HH(b, c, d, a, m[i + 14], 23, -35309556);
|
206
|
-
a = HH(a, b, c, d, m[i + 1], 4, -1530992060);
|
207
|
-
d = HH(d, a, b, c, m[i + 4], 11, 1272893353);
|
208
|
-
c = HH(c, d, a, b, m[i + 7], 16, -155497632);
|
209
|
-
b = HH(b, c, d, a, m[i + 10], 23, -1094730640);
|
210
|
-
a = HH(a, b, c, d, m[i + 13], 4, 681279174);
|
211
|
-
d = HH(d, a, b, c, m[i + 0], 11, -358537222);
|
212
|
-
c = HH(c, d, a, b, m[i + 3], 16, -722521979);
|
213
|
-
b = HH(b, c, d, a, m[i + 6], 23, 76029189);
|
214
|
-
a = HH(a, b, c, d, m[i + 9], 4, -640364487);
|
215
|
-
d = HH(d, a, b, c, m[i + 12], 11, -421815835);
|
216
|
-
c = HH(c, d, a, b, m[i + 15], 16, 530742520);
|
217
|
-
b = HH(b, c, d, a, m[i + 2], 23, -995338651);
|
218
|
-
a = II(a, b, c, d, m[i + 0], 6, -198630844);
|
219
|
-
d = II(d, a, b, c, m[i + 7], 10, 1126891415);
|
220
|
-
c = II(c, d, a, b, m[i + 14], 15, -1416354905);
|
221
|
-
b = II(b, c, d, a, m[i + 5], 21, -57434055);
|
222
|
-
a = II(a, b, c, d, m[i + 12], 6, 1700485571);
|
223
|
-
d = II(d, a, b, c, m[i + 3], 10, -1894986606);
|
224
|
-
c = II(c, d, a, b, m[i + 10], 15, -1051523);
|
225
|
-
b = II(b, c, d, a, m[i + 1], 21, -2054922799);
|
226
|
-
a = II(a, b, c, d, m[i + 8], 6, 1873313359);
|
227
|
-
d = II(d, a, b, c, m[i + 15], 10, -30611744);
|
228
|
-
c = II(c, d, a, b, m[i + 6], 15, -1560198380);
|
229
|
-
b = II(b, c, d, a, m[i + 13], 21, 1309151649);
|
230
|
-
a = II(a, b, c, d, m[i + 4], 6, -145523070);
|
231
|
-
d = II(d, a, b, c, m[i + 11], 10, -1120210379);
|
232
|
-
c = II(c, d, a, b, m[i + 2], 15, 718787259);
|
233
|
-
b = II(b, c, d, a, m[i + 9], 21, -343485551);
|
234
|
-
a = a + aa >>> 0;
|
235
|
-
b = b + bb >>> 0;
|
236
|
-
c = c + cc >>> 0;
|
237
|
-
d = d + dd >>> 0;
|
238
|
-
}
|
239
|
-
return crypt.endian([a, b, c, d]);
|
240
|
-
};
|
241
|
-
|
242
|
-
// Auxiliary functions
|
243
|
-
md5._ff = function (a, b, c, d, x, s, t) {
|
244
|
-
var n = a + (b & c | ~b & d) + (x >>> 0) + t;
|
245
|
-
return (n << s | n >>> 32 - s) + b;
|
246
|
-
};
|
247
|
-
md5._gg = function (a, b, c, d, x, s, t) {
|
248
|
-
var n = a + (b & d | c & ~d) + (x >>> 0) + t;
|
249
|
-
return (n << s | n >>> 32 - s) + b;
|
250
|
-
};
|
251
|
-
md5._hh = function (a, b, c, d, x, s, t) {
|
252
|
-
var n = a + (b ^ c ^ d) + (x >>> 0) + t;
|
253
|
-
return (n << s | n >>> 32 - s) + b;
|
254
|
-
};
|
255
|
-
md5._ii = function (a, b, c, d, x, s, t) {
|
256
|
-
var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
|
257
|
-
return (n << s | n >>> 32 - s) + b;
|
113
|
+
(function() {
|
114
|
+
var a = E, g = B.utf8, f = H, l = B.bin, c = function(i, h) {
|
115
|
+
i.constructor == String ? h && h.encoding === "binary" ? i = l.stringToBytes(i) : i = g.stringToBytes(i) : f(i) ? i = Array.prototype.slice.call(i, 0) : !Array.isArray(i) && i.constructor !== Uint8Array && (i = i.toString());
|
116
|
+
for (var u = a.bytesToWords(i), s = i.length * 8, n = 1732584193, r = -271733879, o = -1732584194, t = 271733878, e = 0; e < u.length; e++)
|
117
|
+
u[e] = (u[e] << 8 | u[e] >>> 24) & 16711935 | (u[e] << 24 | u[e] >>> 8) & 4278255360;
|
118
|
+
u[s >>> 5] |= 128 << s % 32, u[(s + 64 >>> 9 << 4) + 14] = s;
|
119
|
+
for (var p = c._ff, v = c._gg, F = c._hh, d = c._ii, e = 0; e < u.length; e += 16) {
|
120
|
+
var S = n, A = r, C = o, I = t;
|
121
|
+
n = p(n, r, o, t, u[e + 0], 7, -680876936), t = p(t, n, r, o, u[e + 1], 12, -389564586), o = p(o, t, n, r, u[e + 2], 17, 606105819), r = p(r, o, t, n, u[e + 3], 22, -1044525330), n = p(n, r, o, t, u[e + 4], 7, -176418897), t = p(t, n, r, o, u[e + 5], 12, 1200080426), o = p(o, t, n, r, u[e + 6], 17, -1473231341), r = p(r, o, t, n, u[e + 7], 22, -45705983), n = p(n, r, o, t, u[e + 8], 7, 1770035416), t = p(t, n, r, o, u[e + 9], 12, -1958414417), o = p(o, t, n, r, u[e + 10], 17, -42063), r = p(r, o, t, n, u[e + 11], 22, -1990404162), n = p(n, r, o, t, u[e + 12], 7, 1804603682), t = p(t, n, r, o, u[e + 13], 12, -40341101), o = p(o, t, n, r, u[e + 14], 17, -1502002290), r = p(r, o, t, n, u[e + 15], 22, 1236535329), n = v(n, r, o, t, u[e + 1], 5, -165796510), t = v(t, n, r, o, u[e + 6], 9, -1069501632), o = v(o, t, n, r, u[e + 11], 14, 643717713), r = v(r, o, t, n, u[e + 0], 20, -373897302), n = v(n, r, o, t, u[e + 5], 5, -701558691), t = v(t, n, r, o, u[e + 10], 9, 38016083), o = v(o, t, n, r, u[e + 15], 14, -660478335), r = v(r, o, t, n, u[e + 4], 20, -405537848), n = v(n, r, o, t, u[e + 9], 5, 568446438), t = v(t, n, r, o, u[e + 14], 9, -1019803690), o = v(o, t, n, r, u[e + 3], 14, -187363961), r = v(r, o, t, n, u[e + 8], 20, 1163531501), n = v(n, r, o, t, u[e + 13], 5, -1444681467), t = v(t, n, r, o, u[e + 2], 9, -51403784), o = v(o, t, n, r, u[e + 7], 14, 1735328473), r = v(r, o, t, n, u[e + 12], 20, -1926607734), n = F(n, r, o, t, u[e + 5], 4, -378558), t = F(t, n, r, o, u[e + 8], 11, -2022574463), o = F(o, t, n, r, u[e + 11], 16, 1839030562), r = F(r, o, t, n, u[e + 14], 23, -35309556), n = F(n, r, o, t, u[e + 1], 4, -1530992060), t = F(t, n, r, o, u[e + 4], 11, 1272893353), o = F(o, t, n, r, u[e + 7], 16, -155497632), r = F(r, o, t, n, u[e + 10], 23, -1094730640), n = F(n, r, o, t, u[e + 13], 4, 681279174), t = F(t, n, r, o, u[e + 0], 11, -358537222), o = F(o, t, n, r, u[e + 3], 16, -722521979), r = F(r, o, t, n, u[e + 6], 23, 76029189), n = F(n, r, o, t, u[e + 9], 4, -640364487), t = F(t, n, r, o, u[e + 12], 11, -421815835), o = F(o, t, n, r, u[e + 15], 16, 530742520), r = F(r, o, t, n, u[e + 2], 23, -995338651), n = d(n, r, o, t, u[e + 0], 6, -198630844), t = d(t, n, r, o, u[e + 7], 10, 1126891415), o = d(o, t, n, r, u[e + 14], 15, -1416354905), r = d(r, o, t, n, u[e + 5], 21, -57434055), n = d(n, r, o, t, u[e + 12], 6, 1700485571), t = d(t, n, r, o, u[e + 3], 10, -1894986606), o = d(o, t, n, r, u[e + 10], 15, -1051523), r = d(r, o, t, n, u[e + 1], 21, -2054922799), n = d(n, r, o, t, u[e + 8], 6, 1873313359), t = d(t, n, r, o, u[e + 15], 10, -30611744), o = d(o, t, n, r, u[e + 6], 15, -1560198380), r = d(r, o, t, n, u[e + 13], 21, 1309151649), n = d(n, r, o, t, u[e + 4], 6, -145523070), t = d(t, n, r, o, u[e + 11], 10, -1120210379), o = d(o, t, n, r, u[e + 2], 15, 718787259), r = d(r, o, t, n, u[e + 9], 21, -343485551), n = n + S >>> 0, r = r + A >>> 0, o = o + C >>> 0, t = t + I >>> 0;
|
122
|
+
}
|
123
|
+
return a.endian([n, r, o, t]);
|
258
124
|
};
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
125
|
+
c._ff = function(i, h, u, s, n, r, o) {
|
126
|
+
var t = i + (h & u | ~h & s) + (n >>> 0) + o;
|
127
|
+
return (t << r | t >>> 32 - r) + h;
|
128
|
+
}, c._gg = function(i, h, u, s, n, r, o) {
|
129
|
+
var t = i + (h & s | u & ~s) + (n >>> 0) + o;
|
130
|
+
return (t << r | t >>> 32 - r) + h;
|
131
|
+
}, c._hh = function(i, h, u, s, n, r, o) {
|
132
|
+
var t = i + (h ^ u ^ s) + (n >>> 0) + o;
|
133
|
+
return (t << r | t >>> 32 - r) + h;
|
134
|
+
}, c._ii = function(i, h, u, s, n, r, o) {
|
135
|
+
var t = i + (u ^ (h | ~s)) + (n >>> 0) + o;
|
136
|
+
return (t << r | t >>> 32 - r) + h;
|
137
|
+
}, c._blocksize = 16, c._digestsize = 16, T.exports = function(i, h) {
|
138
|
+
if (i == null)
|
139
|
+
throw new Error("Illegal argument " + i);
|
140
|
+
var u = a.wordsToBytes(c(i, h));
|
141
|
+
return h && h.asBytes ? u : h && h.asString ? l.bytesToString(u) : a.bytesToHex(u);
|
267
142
|
};
|
268
143
|
})();
|
269
|
-
var
|
270
|
-
|
271
|
-
|
272
|
-
|
144
|
+
var O = T.exports;
|
145
|
+
const U = /* @__PURE__ */ w(O);
|
146
|
+
export {
|
147
|
+
U as default
|
148
|
+
};
|
149
|
+
//# sourceMappingURL=md5.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"md5.js","sources":["../../node_modules/crypt/crypt.js","../../node_modules/charenc/charenc.js","../../node_modules/is-buffer/index.js","../../node_modules/md5/md5.js"],"sourcesContent":["(function() {\n var base64map\n = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',\n\n crypt = {\n // Bit-wise rotation left\n rotl: function(n, b) {\n return (n << b) | (n >>> (32 - b));\n },\n\n // Bit-wise rotation right\n rotr: function(n, b) {\n return (n << (32 - b)) | (n >>> b);\n },\n\n // Swap big-endian to little-endian and vice versa\n endian: function(n) {\n // If number given, swap endian\n if (n.constructor == Number) {\n return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;\n }\n\n // Else, assume array and swap all items\n for (var i = 0; i < n.length; i++)\n n[i] = crypt.endian(n[i]);\n return n;\n },\n\n // Generate an array of any length of random bytes\n randomBytes: function(n) {\n for (var bytes = []; n > 0; n--)\n bytes.push(Math.floor(Math.random() * 256));\n return bytes;\n },\n\n // Convert a byte array to big-endian 32-bit words\n bytesToWords: function(bytes) {\n for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)\n words[b >>> 5] |= bytes[i] << (24 - b % 32);\n return words;\n },\n\n // Convert big-endian 32-bit words to a byte array\n wordsToBytes: function(words) {\n for (var bytes = [], b = 0; b < words.length * 32; b += 8)\n bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);\n return bytes;\n },\n\n // Convert a byte array to a hex string\n bytesToHex: function(bytes) {\n for (var hex = [], i = 0; i < bytes.length; i++) {\n hex.push((bytes[i] >>> 4).toString(16));\n hex.push((bytes[i] & 0xF).toString(16));\n }\n return hex.join('');\n },\n\n // Convert a hex string to a byte array\n hexToBytes: function(hex) {\n for (var bytes = [], c = 0; c < hex.length; c += 2)\n bytes.push(parseInt(hex.substr(c, 2), 16));\n return bytes;\n },\n\n // Convert a byte array to a base-64 string\n bytesToBase64: function(bytes) {\n for (var base64 = [], i = 0; i < bytes.length; i += 3) {\n var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];\n for (var j = 0; j < 4; j++)\n if (i * 8 + j * 6 <= bytes.length * 8)\n base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));\n else\n base64.push('=');\n }\n return base64.join('');\n },\n\n // Convert a base-64 string to a byte array\n base64ToBytes: function(base64) {\n // Remove non-base-64 characters\n base64 = base64.replace(/[^A-Z0-9+\\/]/ig, '');\n\n for (var bytes = [], i = 0, imod4 = 0; i < base64.length;\n imod4 = ++i % 4) {\n if (imod4 == 0) continue;\n bytes.push(((base64map.indexOf(base64.charAt(i - 1))\n & (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))\n | (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));\n }\n return bytes;\n }\n };\n\n module.exports = crypt;\n})();\n","var charenc = {\n // UTF-8 encoding\n utf8: {\n // Convert a string to a byte array\n stringToBytes: function(str) {\n return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));\n },\n\n // Convert a byte array to a string\n bytesToString: function(bytes) {\n return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));\n }\n },\n\n // Binary encoding\n bin: {\n // Convert a string to a byte array\n stringToBytes: function(str) {\n for (var bytes = [], i = 0; i < str.length; i++)\n bytes.push(str.charCodeAt(i) & 0xFF);\n return bytes;\n },\n\n // Convert a byte array to a string\n bytesToString: function(bytes) {\n for (var str = [], i = 0; i < bytes.length; i++)\n str.push(String.fromCharCode(bytes[i]));\n return str.join('');\n }\n }\n};\n\nmodule.exports = charenc;\n","/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nmodule.exports = function (obj) {\n return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)\n}\n\nfunction isBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))\n}\n","(function(){\r\n var crypt = require('crypt'),\r\n utf8 = require('charenc').utf8,\r\n isBuffer = require('is-buffer'),\r\n bin = require('charenc').bin,\r\n\r\n // The core\r\n md5 = function (message, options) {\r\n // Convert to byte array\r\n if (message.constructor == String)\r\n if (options && options.encoding === 'binary')\r\n message = bin.stringToBytes(message);\r\n else\r\n message = utf8.stringToBytes(message);\r\n else if (isBuffer(message))\r\n message = Array.prototype.slice.call(message, 0);\r\n else if (!Array.isArray(message) && message.constructor !== Uint8Array)\r\n message = message.toString();\r\n // else, assume byte array already\r\n\r\n var m = crypt.bytesToWords(message),\r\n l = message.length * 8,\r\n a = 1732584193,\r\n b = -271733879,\r\n c = -1732584194,\r\n d = 271733878;\r\n\r\n // Swap endian\r\n for (var i = 0; i < m.length; i++) {\r\n m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |\r\n ((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;\r\n }\r\n\r\n // Padding\r\n m[l >>> 5] |= 0x80 << (l % 32);\r\n m[(((l + 64) >>> 9) << 4) + 14] = l;\r\n\r\n // Method shortcuts\r\n var FF = md5._ff,\r\n GG = md5._gg,\r\n HH = md5._hh,\r\n II = md5._ii;\r\n\r\n for (var i = 0; i < m.length; i += 16) {\r\n\r\n var aa = a,\r\n bb = b,\r\n cc = c,\r\n dd = d;\r\n\r\n a = FF(a, b, c, d, m[i+ 0], 7, -680876936);\r\n d = FF(d, a, b, c, m[i+ 1], 12, -389564586);\r\n c = FF(c, d, a, b, m[i+ 2], 17, 606105819);\r\n b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);\r\n a = FF(a, b, c, d, m[i+ 4], 7, -176418897);\r\n d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);\r\n c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);\r\n b = FF(b, c, d, a, m[i+ 7], 22, -45705983);\r\n a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);\r\n d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);\r\n c = FF(c, d, a, b, m[i+10], 17, -42063);\r\n b = FF(b, c, d, a, m[i+11], 22, -1990404162);\r\n a = FF(a, b, c, d, m[i+12], 7, 1804603682);\r\n d = FF(d, a, b, c, m[i+13], 12, -40341101);\r\n c = FF(c, d, a, b, m[i+14], 17, -1502002290);\r\n b = FF(b, c, d, a, m[i+15], 22, 1236535329);\r\n\r\n a = GG(a, b, c, d, m[i+ 1], 5, -165796510);\r\n d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);\r\n c = GG(c, d, a, b, m[i+11], 14, 643717713);\r\n b = GG(b, c, d, a, m[i+ 0], 20, -373897302);\r\n a = GG(a, b, c, d, m[i+ 5], 5, -701558691);\r\n d = GG(d, a, b, c, m[i+10], 9, 38016083);\r\n c = GG(c, d, a, b, m[i+15], 14, -660478335);\r\n b = GG(b, c, d, a, m[i+ 4], 20, -405537848);\r\n a = GG(a, b, c, d, m[i+ 9], 5, 568446438);\r\n d = GG(d, a, b, c, m[i+14], 9, -1019803690);\r\n c = GG(c, d, a, b, m[i+ 3], 14, -187363961);\r\n b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);\r\n a = GG(a, b, c, d, m[i+13], 5, -1444681467);\r\n d = GG(d, a, b, c, m[i+ 2], 9, -51403784);\r\n c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);\r\n b = GG(b, c, d, a, m[i+12], 20, -1926607734);\r\n\r\n a = HH(a, b, c, d, m[i+ 5], 4, -378558);\r\n d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);\r\n c = HH(c, d, a, b, m[i+11], 16, 1839030562);\r\n b = HH(b, c, d, a, m[i+14], 23, -35309556);\r\n a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);\r\n d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);\r\n c = HH(c, d, a, b, m[i+ 7], 16, -155497632);\r\n b = HH(b, c, d, a, m[i+10], 23, -1094730640);\r\n a = HH(a, b, c, d, m[i+13], 4, 681279174);\r\n d = HH(d, a, b, c, m[i+ 0], 11, -358537222);\r\n c = HH(c, d, a, b, m[i+ 3], 16, -722521979);\r\n b = HH(b, c, d, a, m[i+ 6], 23, 76029189);\r\n a = HH(a, b, c, d, m[i+ 9], 4, -640364487);\r\n d = HH(d, a, b, c, m[i+12], 11, -421815835);\r\n c = HH(c, d, a, b, m[i+15], 16, 530742520);\r\n b = HH(b, c, d, a, m[i+ 2], 23, -995338651);\r\n\r\n a = II(a, b, c, d, m[i+ 0], 6, -198630844);\r\n d = II(d, a, b, c, m[i+ 7], 10, 1126891415);\r\n c = II(c, d, a, b, m[i+14], 15, -1416354905);\r\n b = II(b, c, d, a, m[i+ 5], 21, -57434055);\r\n a = II(a, b, c, d, m[i+12], 6, 1700485571);\r\n d = II(d, a, b, c, m[i+ 3], 10, -1894986606);\r\n c = II(c, d, a, b, m[i+10], 15, -1051523);\r\n b = II(b, c, d, a, m[i+ 1], 21, -2054922799);\r\n a = II(a, b, c, d, m[i+ 8], 6, 1873313359);\r\n d = II(d, a, b, c, m[i+15], 10, -30611744);\r\n c = II(c, d, a, b, m[i+ 6], 15, -1560198380);\r\n b = II(b, c, d, a, m[i+13], 21, 1309151649);\r\n a = II(a, b, c, d, m[i+ 4], 6, -145523070);\r\n d = II(d, a, b, c, m[i+11], 10, -1120210379);\r\n c = II(c, d, a, b, m[i+ 2], 15, 718787259);\r\n b = II(b, c, d, a, m[i+ 9], 21, -343485551);\r\n\r\n a = (a + aa) >>> 0;\r\n b = (b + bb) >>> 0;\r\n c = (c + cc) >>> 0;\r\n d = (d + dd) >>> 0;\r\n }\r\n\r\n return crypt.endian([a, b, c, d]);\r\n };\r\n\r\n // Auxiliary functions\r\n md5._ff = function (a, b, c, d, x, s, t) {\r\n var n = a + (b & c | ~b & d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._gg = function (a, b, c, d, x, s, t) {\r\n var n = a + (b & d | c & ~d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._hh = function (a, b, c, d, x, s, t) {\r\n var n = a + (b ^ c ^ d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._ii = function (a, b, c, d, x, s, t) {\r\n var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n\r\n // Package private blocksize\r\n md5._blocksize = 16;\r\n md5._digestsize = 16;\r\n\r\n module.exports = function (message, options) {\r\n if (message === undefined || message === null)\r\n throw new Error('Illegal argument ' + message);\r\n\r\n var digestbytes = crypt.wordsToBytes(md5(message, options));\r\n return options && options.asBytes ? digestbytes :\r\n options && options.asString ? bin.bytesToString(digestbytes) :\r\n crypt.bytesToHex(digestbytes);\r\n };\r\n\r\n})();\r\n"],"names":["base64map","crypt","n","b","i","bytes","words","hex","base64","triplet","j","imod4","cryptModule","charenc","str","charenc_1","isBuffer_1","obj","isBuffer","isSlowBuffer","require$$0","utf8","require$$1","require$$2","bin","md5","message","options","m","l","a","c","d","FF","GG","HH","II","aa","bb","cc","dd","x","s","t","md5Module","digestbytes"],"mappings":";;;;CAAC,WAAW;AACV,MAAIA,IACE,oEAENC,IAAQ;AAAA;AAAA,IAEN,MAAM,SAASC,GAAGC,GAAG;AACnB,aAAQD,KAAKC,IAAMD,MAAO,KAAKC;AAAA,IAChC;AAAA;AAAA,IAGD,MAAM,SAASD,GAAGC,GAAG;AACnB,aAAQD,KAAM,KAAKC,IAAOD,MAAMC;AAAA,IACjC;AAAA;AAAA,IAGD,QAAQ,SAASD,GAAG;AAElB,UAAIA,EAAE,eAAe;AACnB,eAAOD,EAAM,KAAKC,GAAG,CAAC,IAAI,WAAaD,EAAM,KAAKC,GAAG,EAAE,IAAI;AAI7D,eAASE,IAAI,GAAGA,IAAIF,EAAE,QAAQE;AAC5B,QAAAF,EAAEE,CAAC,IAAIH,EAAM,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G3B,GAAG4B,GAAGC,GAAGS,GAAGC,GAAGC,GAAG;AACxC,QAAIzC,IAAI4B,KAAKC,KAAK5B,IAAI,CAAC6B,OAAOS,MAAM,KAAKE;AACzC,YAASzC,KAAKwC,IAAMxC,MAAO,KAAKwC,KAAOvC;AAAA,EAC3C,GAGEsB,EAAI,aAAa,IACjBA,EAAI,cAAc,IAElBmB,YAAiB,SAAUlB,GAASC,GAAS;AAC3C,QAA6BD,KAAY;AACvC,YAAM,IAAI,MAAM,sBAAsBA,CAAO;AAE/C,QAAImB,IAAc5C,EAAM,aAAawB,EAAIC,GAASC,CAAO,CAAC;AAC1D,WAAOA,KAAWA,EAAQ,UAAUkB,IAChClB,KAAWA,EAAQ,WAAWH,EAAI,cAAcqB,CAAW,IAC3D5C,EAAM,WAAW4C,CAAW;AAAA,EACpC;AAEA;;;","x_google_ignoreList":[0,1,2,3]}
|
package/dist/utils/uuid.js
CHANGED
@@ -1,63 +1,33 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
for (var i = 0; i < 256; ++i) {
|
7
|
-
byteToHex.push((i + 0x100).toString(16).slice(1));
|
1
|
+
var u = [];
|
2
|
+
for (var o = 0; o < 256; ++o)
|
3
|
+
u.push((o + 256).toString(16).slice(1));
|
4
|
+
function p(n, d = 0) {
|
5
|
+
return (u[n[d + 0]] + u[n[d + 1]] + u[n[d + 2]] + u[n[d + 3]] + "-" + u[n[d + 4]] + u[n[d + 5]] + "-" + u[n[d + 6]] + u[n[d + 7]] + "-" + u[n[d + 8]] + u[n[d + 9]] + "-" + u[n[d + 10]] + u[n[d + 11]] + u[n[d + 12]] + u[n[d + 13]] + u[n[d + 14]] + u[n[d + 15]]).toLowerCase();
|
8
6
|
}
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
// REF: https://github.com/uuidjs/uuid/pull/677#issuecomment-1757351351
|
15
|
-
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
7
|
+
var e, y = new Uint8Array(16);
|
8
|
+
function m() {
|
9
|
+
if (!e && (e = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !e))
|
10
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
11
|
+
return e(y);
|
16
12
|
}
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
// generators (like Math.random()).
|
21
|
-
|
22
|
-
var getRandomValues;
|
23
|
-
var rnds8 = new Uint8Array(16);
|
24
|
-
function rng() {
|
25
|
-
// lazy load so that environments that need to polyfill have a chance to do so
|
26
|
-
if (!getRandomValues) {
|
27
|
-
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
|
28
|
-
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
29
|
-
if (!getRandomValues) {
|
30
|
-
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
31
|
-
}
|
32
|
-
}
|
33
|
-
return getRandomValues(rnds8);
|
34
|
-
}
|
35
|
-
|
36
|
-
var randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
37
|
-
var native = {
|
38
|
-
randomUUID
|
13
|
+
var i = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
14
|
+
const a = {
|
15
|
+
randomUUID: i
|
39
16
|
};
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
17
|
+
function U(n, d, c) {
|
18
|
+
if (a.randomUUID && !d && !n)
|
19
|
+
return a.randomUUID();
|
20
|
+
n = n || {};
|
21
|
+
var r = n.random || (n.rng || m)();
|
22
|
+
if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, d) {
|
23
|
+
c = c || 0;
|
24
|
+
for (var t = 0; t < 16; ++t)
|
25
|
+
d[c + t] = r[t];
|
26
|
+
return d;
|
44
27
|
}
|
45
|
-
|
46
|
-
var rnds = options.random || (options.rng || rng)();
|
47
|
-
|
48
|
-
// Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
49
|
-
rnds[6] = rnds[6] & 0x0f | 0x40;
|
50
|
-
rnds[8] = rnds[8] & 0x3f | 0x80;
|
51
|
-
|
52
|
-
// Copy bytes to buffer, if provided
|
53
|
-
if (buf) {
|
54
|
-
offset = offset || 0;
|
55
|
-
for (var i = 0; i < 16; ++i) {
|
56
|
-
buf[offset + i] = rnds[i];
|
57
|
-
}
|
58
|
-
return buf;
|
59
|
-
}
|
60
|
-
return unsafeStringify(rnds);
|
28
|
+
return p(r);
|
61
29
|
}
|
62
|
-
|
63
|
-
|
30
|
+
export {
|
31
|
+
U as default
|
32
|
+
};
|
33
|
+
//# sourceMappingURL=uuid.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"uuid.js","sources":["../../node_modules/uuid/dist/esm-browser/stringify.js","../../node_modules/uuid/dist/esm-browser/rng.js","../../node_modules/uuid/dist/esm-browser/native.js","../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import validate from './validate.js';\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n //\n // Note to future-self: No, you can't remove the `toLowerCase()` call.\n // REF: https://github.com/uuidjs/uuid/pull/677#issuecomment-1757351351\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\nfunction stringify(arr, offset = 0) {\n var uuid = unsafeStringify(arr, offset);\n // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n return uuid;\n}\nexport default stringify;","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\n\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n return getRandomValues(rnds8);\n}","var randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return unsafeStringify(rnds);\n}\nexport default v4;"],"names":["byteToHex","i","unsafeStringify","arr","offset","getRandomValues","rnds8","rng","randomUUID","native","v4","options","buf","rnds"],"mappings":"AAMA,IAAIA,IAAY,CAAA;AAChB,SAASC,IAAI,GAAGA,IAAI,KAAK,EAAEA;AACzB,EAAAD,EAAU,MAAMC,IAAI,KAAO,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;AAE3C,SAASC,EAAgBC,GAAKC,IAAS,GAAG;AAM/C,UAAQJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,GAAG;AACvf;ACbA,IAAIC,GACAC,IAAQ,IAAI,WAAW,EAAE;AACd,SAASC,IAAM;AAE5B,MAAI,CAACF,MAEHA,IAAkB,OAAO,SAAW,OAAe,OAAO,mBAAmB,OAAO,gBAAgB,KAAK,MAAM,GAC3G,CAACA;AACH,UAAM,IAAI,MAAM,0GAA0G;AAG9H,SAAOA,EAAgBC,CAAK;AAC9B;AChBA,IAAIE,IAAa,OAAO,SAAW,OAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM;AACpG,MAAeC,IAAA;AAAA,EACb,YAAAD;AACF;ACAA,SAASE,EAAGC,GAASC,GAAKR,GAAQ;AAChC,MAAIK,EAAO,cAAc,CAACG,KAAO,CAACD;AAChC,WAAOF,EAAO;AAEhB,EAAAE,IAAUA,KAAW;AACrB,MAAIE,IAAOF,EAAQ,WAAWA,EAAQ,OAAOJ;AAO7C,MAJAM,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,IAC3BA,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,KAGvBD,GAAK;AACP,IAAAR,IAASA,KAAU;AACnB,aAASH,IAAI,GAAGA,IAAI,IAAI,EAAEA;AACxB,MAAAW,EAAIR,IAASH,CAAC,IAAIY,EAAKZ,CAAC;AAE1B,WAAOW;AAAA,EACR;AACD,SAAOV,EAAgBW,CAAI;AAC7B;","x_google_ignoreList":[0,1,2,3]}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { Directive } from 'vue';
|
2
|
+
import { SFCInstallWithContext, SFCWithInstall } from './typescript';
|
3
|
+
export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
|
4
|
+
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
|
5
|
+
export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
|
6
|
+
export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { N as s } from "../../functions-DzLqXvGt.js";
|
2
|
+
const e = (t, l) => {
|
3
|
+
if (t.install = (o) => {
|
4
|
+
for (const n of [t, ...Object.values(l ?? {})])
|
5
|
+
o.component(n.name, n);
|
6
|
+
}, l)
|
7
|
+
for (const [o, n] of Object.entries(l))
|
8
|
+
t[o] = n;
|
9
|
+
return t;
|
10
|
+
}, r = (t, l) => (t.install = (o) => {
|
11
|
+
t._context = o._context, o.config.globalProperties[l] = t;
|
12
|
+
}, t), i = (t, l) => (t.install = (o) => {
|
13
|
+
o.directive(l, t);
|
14
|
+
}, t), a = (t) => (t.install = s, t);
|
15
|
+
export {
|
16
|
+
e as withInstall,
|
17
|
+
i as withInstallDirective,
|
18
|
+
r as withInstallFunction,
|
19
|
+
a as withNoopInstall
|
20
|
+
};
|
21
|
+
//# sourceMappingURL=install.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"install.js","sources":["../../../src/utils/vue/install.ts"],"sourcesContent":["import { NOOP } from '../functions'\r\n\r\nimport type { App, Directive } from 'vue'\r\nimport type { SFCInstallWithContext, SFCWithInstall } from './typescript'\r\n\r\nexport const withInstall = <T, E extends Record<string, any>>(main: T, extra?: E) => {\r\n ;(main as SFCWithInstall<T>).install = (app): void => {\r\n for (const comp of [main, ...Object.values(extra ?? {})]) {\r\n app.component(comp.name, comp)\r\n }\r\n }\r\n\r\n if (extra) {\r\n for (const [key, comp] of Object.entries(extra)) {\r\n ;(main as any)[key] = comp\r\n }\r\n }\r\n return main as SFCWithInstall<T> & E\r\n}\r\n\r\nexport const withInstallFunction = <T>(fn: T, name: string) => {\r\n ;(fn as SFCWithInstall<T>).install = (app: App) => {\r\n ;(fn as SFCInstallWithContext<T>)._context = app._context\r\n app.config.globalProperties[name] = fn\r\n }\r\n\r\n return fn as SFCInstallWithContext<T>\r\n}\r\n\r\nexport const withInstallDirective = <T extends Directive>(directive: T, name: string) => {\r\n ;(directive as SFCWithInstall<T>).install = (app: App): void => {\r\n app.directive(name, directive)\r\n }\r\n\r\n return directive as SFCWithInstall<T>\r\n}\r\n\r\nexport const withNoopInstall = <T>(component: T) => {\r\n ;(component as SFCWithInstall<T>).install = NOOP\r\n\r\n return component as SFCWithInstall<T>\r\n}\r\n"],"names":["withInstall","main","extra","app","comp","key","withInstallFunction","fn","name","withInstallDirective","directive","withNoopInstall","component","NOOP"],"mappings":";AAKa,MAAAA,IAAc,CAAmCC,GAASC,MAAc;AAOnF,MANED,EAA2B,UAAU,CAACE,MAAc;AACzC,eAAAC,KAAQ,CAACH,GAAM,GAAG,OAAO,OAAOC,KAAS,CAAE,CAAA,CAAC;AACjD,MAAAC,EAAA,UAAUC,EAAK,MAAMA,CAAI;AAAA,EAC/B,GAGEF;AACF,eAAW,CAACG,GAAKD,CAAI,KAAK,OAAO,QAAQF,CAAK;AAC1C,MAAAD,EAAaI,CAAG,IAAID;AAGnB,SAAAH;AACT,GAEaK,IAAsB,CAAIC,GAAOC,OAC1CD,EAAyB,UAAU,CAACJ,MAAa;AAC/C,EAAAI,EAAgC,WAAWJ,EAAI,UAC7CA,EAAA,OAAO,iBAAiBK,CAAI,IAAID;AAAA,GAG/BA,IAGIE,IAAuB,CAAsBC,GAAcF,OACpEE,EAAgC,UAAU,CAACP,MAAmB;AAC1D,EAAAA,EAAA,UAAUK,GAAME,CAAS;AAAA,GAGxBA,IAGIC,IAAkB,CAAIC,OAC/BA,EAAgC,UAAUC,GAErCD;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"typescript.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/version/index.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import version from './version';
|
1
|
+
import { default as version } from './version';
|
2
2
|
export default version;
|