@kengic/vue 0.26.5-beta.205 → 0.26.5-beta.206
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/kengic-vue.js +61 -57
- package/package.json +20 -21
package/dist/kengic-vue.js
CHANGED
|
@@ -2437,7 +2437,7 @@ const emptyIcon = {
|
|
|
2437
2437
|
...a.data
|
|
2438
2438
|
}, r);
|
|
2439
2439
|
}
|
|
2440
|
-
}), version = "0.26.5-beta.
|
|
2440
|
+
}), version = "0.26.5-beta.206";
|
|
2441
2441
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
2442
2442
|
const freeGlobal$1 = freeGlobal;
|
|
2443
2443
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self, root = freeGlobal$1 || freeSelf || Function("return this")();
|
|
@@ -7326,7 +7326,7 @@ class KgUtil {
|
|
|
7326
7326
|
if (!u)
|
|
7327
7327
|
return n.format("YYYY-MM-DD HH:mm:ss");
|
|
7328
7328
|
const o = useKgVar(u), l = (() => {
|
|
7329
|
-
var c, _, d, g;
|
|
7329
|
+
var c, _, d, g, m, b;
|
|
7330
7330
|
switch (!0) {
|
|
7331
7331
|
case o.kgTable.isRetrieving.value:
|
|
7332
7332
|
return (_ = (c = o.getVarConfigControl({
|
|
@@ -7334,9 +7334,12 @@ class KgUtil {
|
|
|
7334
7334
|
varName: r
|
|
7335
7335
|
})) == null ? void 0 : c.ctrl_typ) != null ? _ : null;
|
|
7336
7336
|
default:
|
|
7337
|
-
return (
|
|
7337
|
+
return o.kgButton.currentButton ? (b = (m = o.getVarConfigControl({
|
|
7338
|
+
varName: r
|
|
7339
|
+
})) == null ? void 0 : m.ctrl_typ) != null ? b : KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME : (g = (d = o.getVarConfigControl({
|
|
7340
|
+
buttonType: KG__VAR_BUTTON__TYPE.SEARCH,
|
|
7338
7341
|
varName: r
|
|
7339
|
-
})) == null ? void 0 : d.ctrl_typ) != null ? g :
|
|
7342
|
+
})) == null ? void 0 : d.ctrl_typ) != null ? g : KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME;
|
|
7340
7343
|
}
|
|
7341
7344
|
})();
|
|
7342
7345
|
if (!l)
|
|
@@ -8964,55 +8967,54 @@ function requireCore() {
|
|
|
8964
8967
|
});
|
|
8965
8968
|
}(core)), core.exports;
|
|
8966
8969
|
}
|
|
8967
|
-
var encBase64 = { exports: {} }
|
|
8968
|
-
function
|
|
8969
|
-
|
|
8970
|
-
(
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
for (var
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
|
|
8984
|
-
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
8992
|
-
|
|
8993
|
-
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
|
-
|
|
9009
|
-
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
|
|
9015
|
-
}
|
|
8970
|
+
var encBase64 = { exports: {} };
|
|
8971
|
+
(function(e, a) {
|
|
8972
|
+
(function(r, n) {
|
|
8973
|
+
e.exports = n(requireCore());
|
|
8974
|
+
})(commonjsGlobal, function(r) {
|
|
8975
|
+
return function() {
|
|
8976
|
+
var n = r, u = n.lib, s = u.WordArray, o = n.enc;
|
|
8977
|
+
o.Base64 = {
|
|
8978
|
+
stringify: function(c) {
|
|
8979
|
+
var _ = c.words, d = c.sigBytes, g = this._map;
|
|
8980
|
+
c.clamp();
|
|
8981
|
+
for (var m = [], b = 0; b < d; b += 3)
|
|
8982
|
+
for (var E = _[b >>> 2] >>> 24 - b % 4 * 8 & 255, p = _[b + 1 >>> 2] >>> 24 - (b + 1) % 4 * 8 & 255, v = _[b + 2 >>> 2] >>> 24 - (b + 2) % 4 * 8 & 255, C = E << 16 | p << 8 | v, T = 0; T < 4 && b + T * 0.75 < d; T++)
|
|
8983
|
+
m.push(g.charAt(C >>> 6 * (3 - T) & 63));
|
|
8984
|
+
var O = g.charAt(64);
|
|
8985
|
+
if (O)
|
|
8986
|
+
for (; m.length % 4; )
|
|
8987
|
+
m.push(O);
|
|
8988
|
+
return m.join("");
|
|
8989
|
+
},
|
|
8990
|
+
parse: function(c) {
|
|
8991
|
+
var _ = c.length, d = this._map, g = this._reverseMap;
|
|
8992
|
+
if (!g) {
|
|
8993
|
+
g = this._reverseMap = [];
|
|
8994
|
+
for (var m = 0; m < d.length; m++)
|
|
8995
|
+
g[d.charCodeAt(m)] = m;
|
|
8996
|
+
}
|
|
8997
|
+
var b = d.charAt(64);
|
|
8998
|
+
if (b) {
|
|
8999
|
+
var E = c.indexOf(b);
|
|
9000
|
+
E !== -1 && (_ = E);
|
|
9001
|
+
}
|
|
9002
|
+
return l(c, _, g);
|
|
9003
|
+
},
|
|
9004
|
+
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
|
9005
|
+
};
|
|
9006
|
+
function l(c, _, d) {
|
|
9007
|
+
for (var g = [], m = 0, b = 0; b < _; b++)
|
|
9008
|
+
if (b % 4) {
|
|
9009
|
+
var E = d[c.charCodeAt(b - 1)] << b % 4 * 2, p = d[c.charCodeAt(b)] >>> 6 - b % 4 * 2, v = E | p;
|
|
9010
|
+
g[m >>> 2] |= v << 24 - m % 4 * 8, m++;
|
|
9011
|
+
}
|
|
9012
|
+
return s.create(g, m);
|
|
9013
|
+
}
|
|
9014
|
+
}(), r.enc.Base64;
|
|
9015
|
+
});
|
|
9016
|
+
})(encBase64);
|
|
9017
|
+
const Base64 = encBase64.exports;
|
|
9016
9018
|
var md5 = { exports: {} }, hasRequiredMd5;
|
|
9017
9019
|
function requireMd5() {
|
|
9018
9020
|
return hasRequiredMd5 || (hasRequiredMd5 = 1, function(e, a) {
|
|
@@ -9384,7 +9386,7 @@ function requireCipherCore() {
|
|
|
9384
9386
|
}
|
|
9385
9387
|
(function(e, a) {
|
|
9386
9388
|
(function(r, n, u) {
|
|
9387
|
-
e.exports = n(requireCore(),
|
|
9389
|
+
e.exports = n(requireCore(), encBase64.exports, requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
9388
9390
|
})(commonjsGlobal, function(r) {
|
|
9389
9391
|
return function() {
|
|
9390
9392
|
var n = r, u = n.lib, s = u.BlockCipher, o = n.algo, l = [], c = [], _ = [], d = [], g = [], m = [], b = [], E = [], p = [], v = [];
|
|
@@ -9439,7 +9441,7 @@ function requireCipherCore() {
|
|
|
9439
9441
|
}(), r.AES;
|
|
9440
9442
|
});
|
|
9441
9443
|
})(aes);
|
|
9442
|
-
var
|
|
9444
|
+
var encUtf8 = { exports: {} };
|
|
9443
9445
|
(function(e, a) {
|
|
9444
9446
|
(function(r, n) {
|
|
9445
9447
|
e.exports = n(requireCore());
|
|
@@ -9501,10 +9503,10 @@ class AesEncryption {
|
|
|
9501
9503
|
}
|
|
9502
9504
|
}
|
|
9503
9505
|
function encryptByBase64(e) {
|
|
9504
|
-
return UTF8.parse(e).toString(
|
|
9506
|
+
return UTF8.parse(e).toString(Base64);
|
|
9505
9507
|
}
|
|
9506
9508
|
function decodeByBase64(e) {
|
|
9507
|
-
return
|
|
9509
|
+
return Base64.parse(e).toString(UTF8);
|
|
9508
9510
|
}
|
|
9509
9511
|
function encryptByMd5(e) {
|
|
9510
9512
|
return md5Exports(e).toString();
|
|
@@ -20871,6 +20873,8 @@ const KgTable$1 = "", getProps$s = () => ({
|
|
|
20871
20873
|
});
|
|
20872
20874
|
}), watch(T, (Y) => {
|
|
20873
20875
|
s.kgTable.store.setRequestParams(s.formID, Y);
|
|
20876
|
+
}, {
|
|
20877
|
+
immediate: !0
|
|
20874
20878
|
}), watch(s.isCreating, (Y, M) => {
|
|
20875
20879
|
Y === !0 ? q() : Y === !1 && M === !0 && Q();
|
|
20876
20880
|
});
|
package/package.json
CHANGED
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.26.5-beta.
|
|
3
|
+
"version": "0.26.5-beta.206",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"build": "npm run
|
|
6
|
-
"build:dev": "npm run
|
|
5
|
+
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
|
+
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
|
7
|
+
"----- --------------------------------------------": "",
|
|
8
|
+
"gen:apis:WMS": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
|
9
|
+
"- ------------------------------------------------": "",
|
|
10
|
+
"use-node": "nvm use 18.20.4 && corepack enable && corepack use pnpm@7.30.5",
|
|
11
|
+
"cnpm:sync": "npm run use-node && npx cnpm --yes sync @kengic/vue",
|
|
12
|
+
"---- ---------------------------------------------": "",
|
|
13
|
+
"bump-to:luotao--smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
|
14
|
+
"copy-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
|
15
|
+
"copy-to--luotao--smartfactory.delivery-one.group-one.guotongxnlk.xnlkdda--xnlkdda": "npm run build:dev && tsx scripts/copy-to--luotao--smartfactory.delivery-one.group-one.guotongxnlk.xnlkdda--xnlkdda.ts",
|
|
16
|
+
"-- -----------------------------------------------": "",
|
|
17
|
+
"bump-version:beta": "npm run use-node && tsx scripts/bump.ts beta",
|
|
18
|
+
"bump-version:major": "npm run use-node && tsx scripts/bump.ts major",
|
|
19
|
+
"bump-version:minor": "npm run use-node && tsx scripts/bump.ts minor",
|
|
20
|
+
"bump-version:patch": "npm run use-node && tsx scripts/bump.ts patch",
|
|
7
21
|
"--------------------------------------------------": "",
|
|
22
|
+
"publish:npm": "npm run use-node && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
|
|
23
|
+
"publish:all": "npm run use-node && tsx scripts/publish.ts",
|
|
8
24
|
"publish:all:major": "npm run bump-version:major && npm run publish:all",
|
|
9
25
|
"publish:all:minor": "npm run bump-version:minor && npm run publish:all",
|
|
10
26
|
"publish:all:patch": "npm run bump-version:patch && npm run publish:all",
|
|
11
|
-
"publish:all:beta": "npm run bump-version:beta && npm run publish:all"
|
|
12
|
-
"----- --------------------------------------------": "",
|
|
13
|
-
"gen:apis:WMS": "npm run switch-node-version && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
|
14
|
-
"- ------------------------------------------------": "",
|
|
15
|
-
"cnpm:sync": "npm run switch-node-version && npx cnpm --yes sync @kengic/vue",
|
|
16
|
-
"switch-node-version": "nvm use 18.16.0 && corepack enable && corepack prepare pnpm@7.30.5 --activate",
|
|
17
|
-
"-- -----------------------------------------------": "",
|
|
18
|
-
"bump-version:beta": "npm run switch-node-version && tsx scripts/bump.ts beta",
|
|
19
|
-
"bump-version:major": "npm run switch-node-version && tsx scripts/bump.ts major",
|
|
20
|
-
"bump-version:minor": "npm run switch-node-version && tsx scripts/bump.ts minor",
|
|
21
|
-
"bump-version:patch": "npm run switch-node-version && tsx scripts/bump.ts patch",
|
|
22
|
-
"---- ---------------------------------------------": "",
|
|
23
|
-
"publish:all": "npm run switch-node-version && tsx scripts/publish.ts",
|
|
24
|
-
"publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
|
|
25
|
-
"------- ------------------------------------------": "",
|
|
26
|
-
"copy-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
|
27
|
-
"--- ----------------------------------------------": "",
|
|
28
|
-
"bump-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts"
|
|
27
|
+
"publish:all:beta": "npm run bump-version:beta && npm run publish:all"
|
|
29
28
|
},
|
|
30
29
|
"peerDependencies": {
|
|
31
30
|
"vue": "3.2.43"
|