@kengic/vue 0.25.4-beta.6 → 0.25.4-beta.8
Sign up to get free protection for your applications and to get access to all the features.
package/dist/kengic-vue.js
CHANGED
@@ -3800,54 +3800,55 @@ function requireCore() {
|
|
3800
3800
|
});
|
3801
3801
|
}(core)), core.exports;
|
3802
3802
|
}
|
3803
|
-
var encBase64 = { exports: {} };
|
3804
|
-
|
3805
|
-
(function(
|
3806
|
-
|
3807
|
-
|
3808
|
-
|
3809
|
-
|
3810
|
-
|
3811
|
-
|
3812
|
-
|
3813
|
-
|
3814
|
-
|
3815
|
-
for (var
|
3816
|
-
|
3817
|
-
|
3818
|
-
|
3819
|
-
|
3820
|
-
g.
|
3821
|
-
|
3822
|
-
|
3823
|
-
|
3824
|
-
|
3825
|
-
|
3826
|
-
d
|
3827
|
-
|
3828
|
-
|
3829
|
-
|
3830
|
-
|
3831
|
-
|
3832
|
-
|
3833
|
-
|
3834
|
-
|
3835
|
-
|
3836
|
-
|
3837
|
-
|
3838
|
-
|
3839
|
-
|
3840
|
-
|
3841
|
-
|
3842
|
-
|
3843
|
-
|
3844
|
-
|
3845
|
-
|
3846
|
-
|
3847
|
-
|
3848
|
-
|
3849
|
-
})
|
3850
|
-
|
3803
|
+
var encBase64 = { exports: {} }, hasRequiredEncBase64;
|
3804
|
+
function requireEncBase64() {
|
3805
|
+
return hasRequiredEncBase64 || (hasRequiredEncBase64 = 1, function(e, a) {
|
3806
|
+
(function(r, n) {
|
3807
|
+
e.exports = n(requireCore());
|
3808
|
+
})(commonjsGlobal, function(r) {
|
3809
|
+
return function() {
|
3810
|
+
var n = r, i = n.lib, u = i.WordArray, s = n.enc;
|
3811
|
+
s.Base64 = {
|
3812
|
+
stringify: function(l) {
|
3813
|
+
var c = l.words, _ = l.sigBytes, d = this._map;
|
3814
|
+
l.clamp();
|
3815
|
+
for (var g = [], E = 0; E < _; E += 3)
|
3816
|
+
for (var p = c[E >>> 2] >>> 24 - E % 4 * 8 & 255, m = c[E + 1 >>> 2] >>> 24 - (E + 1) % 4 * 8 & 255, v = c[E + 2 >>> 2] >>> 24 - (E + 2) % 4 * 8 & 255, b = p << 16 | m << 8 | v, T = 0; T < 4 && E + T * 0.75 < _; T++)
|
3817
|
+
g.push(d.charAt(b >>> 6 * (3 - T) & 63));
|
3818
|
+
var C = d.charAt(64);
|
3819
|
+
if (C)
|
3820
|
+
for (; g.length % 4; )
|
3821
|
+
g.push(C);
|
3822
|
+
return g.join("");
|
3823
|
+
},
|
3824
|
+
parse: function(l) {
|
3825
|
+
var c = l.length, _ = this._map, d = this._reverseMap;
|
3826
|
+
if (!d) {
|
3827
|
+
d = this._reverseMap = [];
|
3828
|
+
for (var g = 0; g < _.length; g++)
|
3829
|
+
d[_.charCodeAt(g)] = g;
|
3830
|
+
}
|
3831
|
+
var E = _.charAt(64);
|
3832
|
+
if (E) {
|
3833
|
+
var p = l.indexOf(E);
|
3834
|
+
p !== -1 && (c = p);
|
3835
|
+
}
|
3836
|
+
return o(l, c, d);
|
3837
|
+
},
|
3838
|
+
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
3839
|
+
};
|
3840
|
+
function o(l, c, _) {
|
3841
|
+
for (var d = [], g = 0, E = 0; E < c; E++)
|
3842
|
+
if (E % 4) {
|
3843
|
+
var p = _[l.charCodeAt(E - 1)] << E % 4 * 2, m = _[l.charCodeAt(E)] >>> 6 - E % 4 * 2, v = p | m;
|
3844
|
+
d[g >>> 2] |= v << 24 - g % 4 * 8, g++;
|
3845
|
+
}
|
3846
|
+
return u.create(d, g);
|
3847
|
+
}
|
3848
|
+
}(), r.enc.Base64;
|
3849
|
+
});
|
3850
|
+
}(encBase64)), encBase64.exports;
|
3851
|
+
}
|
3851
3852
|
var md5 = { exports: {} }, hasRequiredMd5;
|
3852
3853
|
function requireMd5() {
|
3853
3854
|
return hasRequiredMd5 || (hasRequiredMd5 = 1, function(e, a) {
|
@@ -4219,7 +4220,7 @@ function requireCipherCore() {
|
|
4219
4220
|
}
|
4220
4221
|
(function(e, a) {
|
4221
4222
|
(function(r, n, i) {
|
4222
|
-
e.exports = n(requireCore(),
|
4223
|
+
e.exports = n(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
4223
4224
|
})(commonjsGlobal, function(r) {
|
4224
4225
|
return function() {
|
4225
4226
|
var n = r, i = n.lib, u = i.BlockCipher, s = n.algo, o = [], l = [], c = [], _ = [], d = [], g = [], E = [], p = [], m = [], v = [];
|
@@ -4274,7 +4275,7 @@ function requireCipherCore() {
|
|
4274
4275
|
}(), r.AES;
|
4275
4276
|
});
|
4276
4277
|
})(aes);
|
4277
|
-
var encUtf8 = { exports: {} };
|
4278
|
+
var encBase64Exports = requireEncBase64(), encUtf8 = { exports: {} };
|
4278
4279
|
(function(e, a) {
|
4279
4280
|
(function(r, n) {
|
4280
4281
|
e.exports = n(requireCore());
|
@@ -4334,10 +4335,10 @@ class AesEncryption {
|
|
4334
4335
|
}
|
4335
4336
|
}
|
4336
4337
|
function encryptByBase64(e) {
|
4337
|
-
return UTF8.parse(e).toString(
|
4338
|
+
return UTF8.parse(e).toString(encBase64Exports);
|
4338
4339
|
}
|
4339
4340
|
function decodeByBase64(e) {
|
4340
|
-
return
|
4341
|
+
return encBase64Exports.parse(e).toString(UTF8);
|
4341
4342
|
}
|
4342
4343
|
function encryptByMd5(e) {
|
4343
4344
|
return md5Exports(e).toString();
|
@@ -12417,7 +12418,7 @@ const emptyIcon = {
|
|
12417
12418
|
...a.data
|
12418
12419
|
}, r);
|
12419
12420
|
}
|
12420
|
-
}), version = "0.25.4-beta.
|
12421
|
+
}), version = "0.25.4-beta.8";
|
12421
12422
|
import("./aim-outlined.c49e7018.mjs").then(({ default: e }) => addIcon("ant-design:aim-outlined", e));
|
12422
12423
|
import("./audit-outlined.f37f7da2.mjs").then(({ default: e }) => addIcon("ant-design:audit-outlined", e));
|
12423
12424
|
import("./caret-right-filled.bfffd471.mjs").then(({ default: e }) => addIcon("ant-design:caret-right-filled", e));
|
@@ -11,7 +11,7 @@ import windiCSS from 'vite-plugin-windicss';
|
|
11
11
|
import { configCompressPlugin } from './compress';
|
12
12
|
import { configHtmlPlugin } from './html';
|
13
13
|
import { configImageminPlugin } from './imagemin';
|
14
|
-
import { configMockPlugin } from './mock';
|
14
|
+
// import { configMockPlugin } from './mock';
|
15
15
|
import { configPwaConfig } from './pwa';
|
16
16
|
import { configStyleImportPlugin } from './styleImport';
|
17
17
|
import { configSvgIconsPlugin } from './svgSprite';
|
@@ -47,7 +47,7 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
|
|
47
47
|
vitePlugins.push(configSvgIconsPlugin(isBuild));
|
48
48
|
|
49
49
|
// vite-plugin-mock
|
50
|
-
VITE_USE_MOCK && vitePlugins.push(configMockPlugin(isBuild));
|
50
|
+
// VITE_USE_MOCK && vitePlugins.push(configMockPlugin(isBuild));
|
51
51
|
|
52
52
|
// vite-plugin-purge-icons
|
53
53
|
vitePlugins.push(purgeIcons());
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.25.4-beta.
|
3
|
+
"version": "0.25.4-beta.8",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|
@@ -86,7 +86,6 @@
|
|
86
86
|
"vite-plugin-html": "3.2.0",
|
87
87
|
"vite-plugin-imagemin": "0.6.1",
|
88
88
|
"vite-plugin-mkcert": "1.10.1",
|
89
|
-
"vite-plugin-mock": "2.9.6",
|
90
89
|
"vite-plugin-optimize-persist": "0.1.2",
|
91
90
|
"vite-plugin-package-config": "0.1.1",
|
92
91
|
"vite-plugin-purge-icons": "0.8.2",
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Mock plugin for development and production.
|
3
|
-
* https://github.com/anncwb/vite-plugin-mock
|
4
|
-
*/
|
5
|
-
import { viteMockServe } from 'vite-plugin-mock';
|
6
|
-
|
7
|
-
export function configMockPlugin(isBuild: boolean) {
|
8
|
-
return viteMockServe({
|
9
|
-
ignore: /^\_/,
|
10
|
-
mockPath: 'mock',
|
11
|
-
localEnabled: !isBuild,
|
12
|
-
prodEnabled: isBuild,
|
13
|
-
injectCode: `
|
14
|
-
import { setupProdMockServer } from '../mock/_createProductionServer';
|
15
|
-
|
16
|
-
setupProdMockServer();
|
17
|
-
`,
|
18
|
-
});
|
19
|
-
}
|