@kengic/vue 0.26.7-beta.31 → 0.26.7-beta.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/kengic-vue.js +61 -55
  2. package/package.json +1 -1
@@ -70007,7 +70007,7 @@ function fi(e) {
70007
70007
  })
70008
70008
  );
70009
70009
  }
70010
- const version = "0.26.7-beta.31", en$1 = {
70010
+ const version = "0.26.7-beta.32", en$1 = {
70011
70011
  kg: {
70012
70012
  KgAppSelect: {
70013
70013
  businessManager: "Business Manager",
@@ -74446,54 +74446,55 @@ function requireCore() {
74446
74446
  });
74447
74447
  }(core)), core.exports;
74448
74448
  }
74449
- var encBase64 = { exports: {} };
74450
- (function(e, r) {
74451
- (function(n, a) {
74452
- e.exports = a(requireCore());
74453
- })(commonjsGlobal, function(n) {
74454
- return function() {
74455
- var a = n, o = a.lib, l = o.WordArray, u = a.enc;
74456
- u.Base64 = {
74457
- stringify: function(x) {
74458
- var w = x.words, N = x.sigBytes, U = this._map;
74459
- x.clamp();
74460
- for (var ne = [], ie = 0; ie < N; ie += 3)
74461
- for (var ue = w[ie >>> 2] >>> 24 - ie % 4 * 8 & 255, se = w[ie + 1 >>> 2] >>> 24 - (ie + 1) % 4 * 8 & 255, st = w[ie + 2 >>> 2] >>> 24 - (ie + 2) % 4 * 8 & 255, ut = ue << 16 | se << 8 | st, ta = 0; ta < 4 && ie + ta * 0.75 < N; ta++)
74462
- ne.push(U.charAt(ut >>> 6 * (3 - ta) & 63));
74463
- var ea = U.charAt(64);
74464
- if (ea)
74465
- for (; ne.length % 4; )
74466
- ne.push(ea);
74467
- return ne.join("");
74468
- },
74469
- parse: function(x) {
74470
- var w = x.length, N = this._map, U = this._reverseMap;
74471
- if (!U) {
74472
- U = this._reverseMap = [];
74473
- for (var ne = 0; ne < N.length; ne++)
74474
- U[N.charCodeAt(ne)] = ne;
74475
- }
74476
- var ie = N.charAt(64);
74477
- if (ie) {
74478
- var ue = x.indexOf(ie);
74479
- ue !== -1 && (w = ue);
74480
- }
74481
- return p(x, w, U);
74482
- },
74483
- _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
74484
- };
74485
- function p(x, w, N) {
74486
- for (var U = [], ne = 0, ie = 0; ie < w; ie++)
74487
- if (ie % 4) {
74488
- var ue = N[x.charCodeAt(ie - 1)] << ie % 4 * 2, se = N[x.charCodeAt(ie)] >>> 6 - ie % 4 * 2, st = ue | se;
74489
- U[ne >>> 2] |= st << 24 - ne % 4 * 8, ne++;
74490
- }
74491
- return l.create(U, ne);
74492
- }
74493
- }(), n.enc.Base64;
74494
- });
74495
- })(encBase64);
74496
- const Base64 = encBase64.exports;
74449
+ var encBase64 = { exports: {} }, hasRequiredEncBase64;
74450
+ function requireEncBase64() {
74451
+ return hasRequiredEncBase64 || (hasRequiredEncBase64 = 1, function(e, r) {
74452
+ (function(n, a) {
74453
+ e.exports = a(requireCore());
74454
+ })(commonjsGlobal, function(n) {
74455
+ return function() {
74456
+ var a = n, o = a.lib, l = o.WordArray, u = a.enc;
74457
+ u.Base64 = {
74458
+ stringify: function(x) {
74459
+ var w = x.words, N = x.sigBytes, U = this._map;
74460
+ x.clamp();
74461
+ for (var ne = [], ie = 0; ie < N; ie += 3)
74462
+ for (var ue = w[ie >>> 2] >>> 24 - ie % 4 * 8 & 255, se = w[ie + 1 >>> 2] >>> 24 - (ie + 1) % 4 * 8 & 255, st = w[ie + 2 >>> 2] >>> 24 - (ie + 2) % 4 * 8 & 255, ut = ue << 16 | se << 8 | st, ta = 0; ta < 4 && ie + ta * 0.75 < N; ta++)
74463
+ ne.push(U.charAt(ut >>> 6 * (3 - ta) & 63));
74464
+ var ea = U.charAt(64);
74465
+ if (ea)
74466
+ for (; ne.length % 4; )
74467
+ ne.push(ea);
74468
+ return ne.join("");
74469
+ },
74470
+ parse: function(x) {
74471
+ var w = x.length, N = this._map, U = this._reverseMap;
74472
+ if (!U) {
74473
+ U = this._reverseMap = [];
74474
+ for (var ne = 0; ne < N.length; ne++)
74475
+ U[N.charCodeAt(ne)] = ne;
74476
+ }
74477
+ var ie = N.charAt(64);
74478
+ if (ie) {
74479
+ var ue = x.indexOf(ie);
74480
+ ue !== -1 && (w = ue);
74481
+ }
74482
+ return p(x, w, U);
74483
+ },
74484
+ _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
74485
+ };
74486
+ function p(x, w, N) {
74487
+ for (var U = [], ne = 0, ie = 0; ie < w; ie++)
74488
+ if (ie % 4) {
74489
+ var ue = N[x.charCodeAt(ie - 1)] << ie % 4 * 2, se = N[x.charCodeAt(ie)] >>> 6 - ie % 4 * 2, st = ue | se;
74490
+ U[ne >>> 2] |= st << 24 - ne % 4 * 8, ne++;
74491
+ }
74492
+ return l.create(U, ne);
74493
+ }
74494
+ }(), n.enc.Base64;
74495
+ });
74496
+ }(encBase64)), encBase64.exports;
74497
+ }
74497
74498
  var md5 = { exports: {} }, hasRequiredMd5;
74498
74499
  function requireMd5() {
74499
74500
  return hasRequiredMd5 || (hasRequiredMd5 = 1, function(e, r) {
@@ -74865,7 +74866,7 @@ function requireCipherCore() {
74865
74866
  }
74866
74867
  (function(e, r) {
74867
74868
  (function(n, a, o) {
74868
- e.exports = a(requireCore(), encBase64.exports, requireMd5(), requireEvpkdf(), requireCipherCore());
74869
+ e.exports = a(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
74869
74870
  })(commonjsGlobal, function(n) {
74870
74871
  return function() {
74871
74872
  var a = n, o = a.lib, l = o.BlockCipher, u = a.algo, p = [], x = [], w = [], N = [], U = [], ne = [], ie = [], ue = [], se = [], st = [];
@@ -74920,7 +74921,7 @@ function requireCipherCore() {
74920
74921
  }(), n.AES;
74921
74922
  });
74922
74923
  })(aes);
74923
- var encUtf8 = { exports: {} };
74924
+ var encBase64Exports = requireEncBase64(), encUtf8 = { exports: {} };
74924
74925
  (function(e, r) {
74925
74926
  (function(n, a) {
74926
74927
  e.exports = a(requireCore());
@@ -74982,10 +74983,10 @@ class AesEncryption {
74982
74983
  }
74983
74984
  }
74984
74985
  function encryptByBase64(e) {
74985
- return UTF8.parse(e).toString(Base64);
74986
+ return UTF8.parse(e).toString(encBase64Exports);
74986
74987
  }
74987
74988
  function decodeByBase64(e) {
74988
- return Base64.parse(e).toString(UTF8);
74989
+ return encBase64Exports.parse(e).toString(UTF8);
74989
74990
  }
74990
74991
  function encryptByMd5(e) {
74991
74992
  return md5Exports(e).toString();
@@ -75335,11 +75336,16 @@ Spin$1.setDefaultIndicator({
75335
75336
  indicator: h$2(LoadingOutlined$1, { spin: !0 })
75336
75337
  });
75337
75338
  async function setup(e) {
75338
- var n;
75339
+ var n, a;
75339
75340
  if (ai(`${version}`), !e.pFunction)
75340
75341
  throw Pe("setup() | \u7F3A\u5C11\u5FC5\u8981\u7684\u521D\u59CB\u5316\u53C2\u6570.", { options: e }), new Error("[@kengic/vue] \u521D\u59CB\u5316\u5931\u8D25, \u7F3A\u5C11\u5FC5\u8981\u7684\u53C2\u6570.");
75341
75342
  const r = useKg();
75342
- r.store.setI18N(e.I18N), r.store.setI18n(e.i18n), r.store.setOption((n = e.option) != null ? n : {}), r.store.setP(e.pFunction), r.store.setRouter(e.router), r.store.setUsePermissionStore(e.usePermissionStore), r.store.setUseUserStore(e.useUserStore), r.store.setT(e.i18n), initKgCoreReact({ ref: ref$1 });
75343
+ r.store.setI18N(e.I18N), r.store.setI18n(e.i18n), r.store.setOption((n = e.option) != null ? n : {}), r.store.setP(e.pFunction), r.store.setRouter(e.router), r.store.setUsePermissionStore(e.usePermissionStore), r.store.setUseUserStore(e.useUserStore), r.store.setT(e.i18n), initKgCoreReact({
75344
+ ref: ref$1,
75345
+ option: {
75346
+ KgWorkStation: (a = e.option) == null ? void 0 : a.KgStation
75347
+ }
75348
+ });
75343
75349
  }
75344
75350
  var dayjs_min = { exports: {} };
75345
75351
  (function(e, r) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.26.7-beta.31",
3
+ "version": "0.26.7-beta.32",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",