@kengic/vue 0.26.3-beta.5 → 0.26.3-beta.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +161 -134
- package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +2 -5
- package/dist/src/apis/WMS/models.d.ts +10 -0
- package/dist/src/components/KgSubmit/index.hooks.d.ts +13 -1
- package/dist/src/components/KgTable/KgTable.service.d.ts +2 -0
- package/package.json +1 -1
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.3-beta.
|
2440
|
+
}), version = "0.26.3-beta.6";
|
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")();
|
@@ -8578,121 +8578,119 @@ function requireCore() {
|
|
8578
8578
|
});
|
8579
8579
|
}(core)), core.exports;
|
8580
8580
|
}
|
8581
|
-
var encBase64 = { exports: {} }
|
8582
|
-
function
|
8583
|
-
|
8584
|
-
(
|
8585
|
-
|
8586
|
-
|
8587
|
-
|
8588
|
-
|
8589
|
-
|
8590
|
-
|
8591
|
-
|
8592
|
-
|
8593
|
-
for (var
|
8594
|
-
|
8595
|
-
|
8596
|
-
|
8597
|
-
|
8598
|
-
|
8599
|
-
|
8600
|
-
|
8601
|
-
|
8602
|
-
|
8603
|
-
|
8604
|
-
|
8605
|
-
|
8606
|
-
|
8607
|
-
g[d.charCodeAt(m)] = m;
|
8608
|
-
}
|
8609
|
-
var b = d.charAt(64);
|
8610
|
-
if (b) {
|
8611
|
-
var v = c.indexOf(b);
|
8612
|
-
v !== -1 && (_ = v);
|
8613
|
-
}
|
8614
|
-
return l(c, _, g);
|
8615
|
-
},
|
8616
|
-
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
8617
|
-
};
|
8618
|
-
function l(c, _, d) {
|
8619
|
-
for (var g = [], m = 0, b = 0; b < _; b++)
|
8620
|
-
if (b % 4) {
|
8621
|
-
var v = d[c.charCodeAt(b - 1)] << b % 4 * 2, p = d[c.charCodeAt(b)] >>> 6 - b % 4 * 2, E = v | p;
|
8622
|
-
g[m >>> 2] |= E << 24 - m % 4 * 8, m++;
|
8623
|
-
}
|
8624
|
-
return s.create(g, m);
|
8625
|
-
}
|
8626
|
-
}(), r.enc.Base64;
|
8627
|
-
});
|
8628
|
-
}(encBase64)), encBase64.exports;
|
8629
|
-
}
|
8630
|
-
var md5 = { exports: {} }, hasRequiredMd5;
|
8631
|
-
function requireMd5() {
|
8632
|
-
return hasRequiredMd5 || (hasRequiredMd5 = 1, function(e, a) {
|
8633
|
-
(function(r, n) {
|
8634
|
-
e.exports = n(requireCore());
|
8635
|
-
})(commonjsGlobal, function(r) {
|
8636
|
-
return function(n) {
|
8637
|
-
var u = r, s = u.lib, o = s.WordArray, l = s.Hasher, c = u.algo, _ = [];
|
8638
|
-
(function() {
|
8639
|
-
for (var p = 0; p < 64; p++)
|
8640
|
-
_[p] = n.abs(n.sin(p + 1)) * 4294967296 | 0;
|
8641
|
-
})();
|
8642
|
-
var d = c.MD5 = l.extend({
|
8643
|
-
_doReset: function() {
|
8644
|
-
this._hash = new o.init([
|
8645
|
-
1732584193,
|
8646
|
-
4023233417,
|
8647
|
-
2562383102,
|
8648
|
-
271733878
|
8649
|
-
]);
|
8650
|
-
},
|
8651
|
-
_doProcessBlock: function(p, E) {
|
8652
|
-
for (var T = 0; T < 16; T++) {
|
8653
|
-
var C = E + T, k = p[C];
|
8654
|
-
p[C] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
|
8655
|
-
}
|
8656
|
-
var A = this._hash.words, O = p[E + 0], D = p[E + 1], y = p[E + 2], F = p[E + 3], L = p[E + 4], N = p[E + 5], V = p[E + 6], w = p[E + 7], K = p[E + 8], P = p[E + 9], G = p[E + 10], B = p[E + 11], x = p[E + 12], Y = p[E + 13], z = p[E + 14], W = p[E + 15], $ = A[0], H = A[1], Q = A[2], Z = A[3];
|
8657
|
-
$ = g($, H, Q, Z, O, 7, _[0]), Z = g(Z, $, H, Q, D, 12, _[1]), Q = g(Q, Z, $, H, y, 17, _[2]), H = g(H, Q, Z, $, F, 22, _[3]), $ = g($, H, Q, Z, L, 7, _[4]), Z = g(Z, $, H, Q, N, 12, _[5]), Q = g(Q, Z, $, H, V, 17, _[6]), H = g(H, Q, Z, $, w, 22, _[7]), $ = g($, H, Q, Z, K, 7, _[8]), Z = g(Z, $, H, Q, P, 12, _[9]), Q = g(Q, Z, $, H, G, 17, _[10]), H = g(H, Q, Z, $, B, 22, _[11]), $ = g($, H, Q, Z, x, 7, _[12]), Z = g(Z, $, H, Q, Y, 12, _[13]), Q = g(Q, Z, $, H, z, 17, _[14]), H = g(H, Q, Z, $, W, 22, _[15]), $ = m($, H, Q, Z, D, 5, _[16]), Z = m(Z, $, H, Q, V, 9, _[17]), Q = m(Q, Z, $, H, B, 14, _[18]), H = m(H, Q, Z, $, O, 20, _[19]), $ = m($, H, Q, Z, N, 5, _[20]), Z = m(Z, $, H, Q, G, 9, _[21]), Q = m(Q, Z, $, H, W, 14, _[22]), H = m(H, Q, Z, $, L, 20, _[23]), $ = m($, H, Q, Z, P, 5, _[24]), Z = m(Z, $, H, Q, z, 9, _[25]), Q = m(Q, Z, $, H, F, 14, _[26]), H = m(H, Q, Z, $, K, 20, _[27]), $ = m($, H, Q, Z, Y, 5, _[28]), Z = m(Z, $, H, Q, y, 9, _[29]), Q = m(Q, Z, $, H, w, 14, _[30]), H = m(H, Q, Z, $, x, 20, _[31]), $ = b($, H, Q, Z, N, 4, _[32]), Z = b(Z, $, H, Q, K, 11, _[33]), Q = b(Q, Z, $, H, B, 16, _[34]), H = b(H, Q, Z, $, z, 23, _[35]), $ = b($, H, Q, Z, D, 4, _[36]), Z = b(Z, $, H, Q, L, 11, _[37]), Q = b(Q, Z, $, H, w, 16, _[38]), H = b(H, Q, Z, $, G, 23, _[39]), $ = b($, H, Q, Z, Y, 4, _[40]), Z = b(Z, $, H, Q, O, 11, _[41]), Q = b(Q, Z, $, H, F, 16, _[42]), H = b(H, Q, Z, $, V, 23, _[43]), $ = b($, H, Q, Z, P, 4, _[44]), Z = b(Z, $, H, Q, x, 11, _[45]), Q = b(Q, Z, $, H, W, 16, _[46]), H = b(H, Q, Z, $, y, 23, _[47]), $ = v($, H, Q, Z, O, 6, _[48]), Z = v(Z, $, H, Q, w, 10, _[49]), Q = v(Q, Z, $, H, z, 15, _[50]), H = v(H, Q, Z, $, N, 21, _[51]), $ = v($, H, Q, Z, x, 6, _[52]), Z = v(Z, $, H, Q, F, 10, _[53]), Q = v(Q, Z, $, H, G, 15, _[54]), H = v(H, Q, Z, $, D, 21, _[55]), $ = v($, H, Q, Z, K, 6, _[56]), Z = v(Z, $, H, Q, W, 10, _[57]), Q = v(Q, Z, $, H, V, 15, _[58]), H = v(H, Q, Z, $, Y, 21, _[59]), $ = v($, H, Q, Z, L, 6, _[60]), Z = v(Z, $, H, Q, B, 10, _[61]), Q = v(Q, Z, $, H, y, 15, _[62]), H = v(H, Q, Z, $, P, 21, _[63]), A[0] = A[0] + $ | 0, A[1] = A[1] + H | 0, A[2] = A[2] + Q | 0, A[3] = A[3] + Z | 0;
|
8658
|
-
},
|
8659
|
-
_doFinalize: function() {
|
8660
|
-
var p = this._data, E = p.words, T = this._nDataBytes * 8, C = p.sigBytes * 8;
|
8661
|
-
E[C >>> 5] |= 128 << 24 - C % 32;
|
8662
|
-
var k = n.floor(T / 4294967296), A = T;
|
8663
|
-
E[(C + 64 >>> 9 << 4) + 15] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, E[(C + 64 >>> 9 << 4) + 14] = (A << 8 | A >>> 24) & 16711935 | (A << 24 | A >>> 8) & 4278255360, p.sigBytes = (E.length + 1) * 4, this._process();
|
8664
|
-
for (var O = this._hash, D = O.words, y = 0; y < 4; y++) {
|
8665
|
-
var F = D[y];
|
8666
|
-
D[y] = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360;
|
8667
|
-
}
|
8668
|
-
return O;
|
8669
|
-
},
|
8670
|
-
clone: function() {
|
8671
|
-
var p = l.clone.call(this);
|
8672
|
-
return p._hash = this._hash.clone(), p;
|
8581
|
+
var encBase64 = { exports: {} };
|
8582
|
+
(function(e, a) {
|
8583
|
+
(function(r, n) {
|
8584
|
+
e.exports = n(requireCore());
|
8585
|
+
})(commonjsGlobal, function(r) {
|
8586
|
+
return function() {
|
8587
|
+
var n = r, u = n.lib, s = u.WordArray, o = n.enc;
|
8588
|
+
o.Base64 = {
|
8589
|
+
stringify: function(c) {
|
8590
|
+
var _ = c.words, d = c.sigBytes, g = this._map;
|
8591
|
+
c.clamp();
|
8592
|
+
for (var m = [], b = 0; b < d; b += 3)
|
8593
|
+
for (var v = _[b >>> 2] >>> 24 - b % 4 * 8 & 255, p = _[b + 1 >>> 2] >>> 24 - (b + 1) % 4 * 8 & 255, E = _[b + 2 >>> 2] >>> 24 - (b + 2) % 4 * 8 & 255, T = v << 16 | p << 8 | E, C = 0; C < 4 && b + C * 0.75 < d; C++)
|
8594
|
+
m.push(g.charAt(T >>> 6 * (3 - C) & 63));
|
8595
|
+
var k = g.charAt(64);
|
8596
|
+
if (k)
|
8597
|
+
for (; m.length % 4; )
|
8598
|
+
m.push(k);
|
8599
|
+
return m.join("");
|
8600
|
+
},
|
8601
|
+
parse: function(c) {
|
8602
|
+
var _ = c.length, d = this._map, g = this._reverseMap;
|
8603
|
+
if (!g) {
|
8604
|
+
g = this._reverseMap = [];
|
8605
|
+
for (var m = 0; m < d.length; m++)
|
8606
|
+
g[d.charCodeAt(m)] = m;
|
8673
8607
|
}
|
8674
|
-
|
8675
|
-
|
8676
|
-
|
8677
|
-
|
8678
|
-
|
8679
|
-
|
8680
|
-
|
8681
|
-
|
8682
|
-
|
8683
|
-
|
8684
|
-
|
8685
|
-
|
8686
|
-
|
8687
|
-
|
8688
|
-
|
8689
|
-
|
8608
|
+
var b = d.charAt(64);
|
8609
|
+
if (b) {
|
8610
|
+
var v = c.indexOf(b);
|
8611
|
+
v !== -1 && (_ = v);
|
8612
|
+
}
|
8613
|
+
return l(c, _, g);
|
8614
|
+
},
|
8615
|
+
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
8616
|
+
};
|
8617
|
+
function l(c, _, d) {
|
8618
|
+
for (var g = [], m = 0, b = 0; b < _; b++)
|
8619
|
+
if (b % 4) {
|
8620
|
+
var v = d[c.charCodeAt(b - 1)] << b % 4 * 2, p = d[c.charCodeAt(b)] >>> 6 - b % 4 * 2, E = v | p;
|
8621
|
+
g[m >>> 2] |= E << 24 - m % 4 * 8, m++;
|
8622
|
+
}
|
8623
|
+
return s.create(g, m);
|
8624
|
+
}
|
8625
|
+
}(), r.enc.Base64;
|
8626
|
+
});
|
8627
|
+
})(encBase64);
|
8628
|
+
const Base64 = encBase64.exports;
|
8629
|
+
var md5$1 = { exports: {} };
|
8630
|
+
(function(e, a) {
|
8631
|
+
(function(r, n) {
|
8632
|
+
e.exports = n(requireCore());
|
8633
|
+
})(commonjsGlobal, function(r) {
|
8634
|
+
return function(n) {
|
8635
|
+
var u = r, s = u.lib, o = s.WordArray, l = s.Hasher, c = u.algo, _ = [];
|
8636
|
+
(function() {
|
8637
|
+
for (var p = 0; p < 64; p++)
|
8638
|
+
_[p] = n.abs(n.sin(p + 1)) * 4294967296 | 0;
|
8639
|
+
})();
|
8640
|
+
var d = c.MD5 = l.extend({
|
8641
|
+
_doReset: function() {
|
8642
|
+
this._hash = new o.init([
|
8643
|
+
1732584193,
|
8644
|
+
4023233417,
|
8645
|
+
2562383102,
|
8646
|
+
271733878
|
8647
|
+
]);
|
8648
|
+
},
|
8649
|
+
_doProcessBlock: function(p, E) {
|
8650
|
+
for (var T = 0; T < 16; T++) {
|
8651
|
+
var C = E + T, k = p[C];
|
8652
|
+
p[C] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
|
8653
|
+
}
|
8654
|
+
var A = this._hash.words, O = p[E + 0], D = p[E + 1], y = p[E + 2], F = p[E + 3], L = p[E + 4], N = p[E + 5], V = p[E + 6], w = p[E + 7], K = p[E + 8], P = p[E + 9], G = p[E + 10], B = p[E + 11], x = p[E + 12], Y = p[E + 13], z = p[E + 14], W = p[E + 15], $ = A[0], H = A[1], Q = A[2], Z = A[3];
|
8655
|
+
$ = g($, H, Q, Z, O, 7, _[0]), Z = g(Z, $, H, Q, D, 12, _[1]), Q = g(Q, Z, $, H, y, 17, _[2]), H = g(H, Q, Z, $, F, 22, _[3]), $ = g($, H, Q, Z, L, 7, _[4]), Z = g(Z, $, H, Q, N, 12, _[5]), Q = g(Q, Z, $, H, V, 17, _[6]), H = g(H, Q, Z, $, w, 22, _[7]), $ = g($, H, Q, Z, K, 7, _[8]), Z = g(Z, $, H, Q, P, 12, _[9]), Q = g(Q, Z, $, H, G, 17, _[10]), H = g(H, Q, Z, $, B, 22, _[11]), $ = g($, H, Q, Z, x, 7, _[12]), Z = g(Z, $, H, Q, Y, 12, _[13]), Q = g(Q, Z, $, H, z, 17, _[14]), H = g(H, Q, Z, $, W, 22, _[15]), $ = m($, H, Q, Z, D, 5, _[16]), Z = m(Z, $, H, Q, V, 9, _[17]), Q = m(Q, Z, $, H, B, 14, _[18]), H = m(H, Q, Z, $, O, 20, _[19]), $ = m($, H, Q, Z, N, 5, _[20]), Z = m(Z, $, H, Q, G, 9, _[21]), Q = m(Q, Z, $, H, W, 14, _[22]), H = m(H, Q, Z, $, L, 20, _[23]), $ = m($, H, Q, Z, P, 5, _[24]), Z = m(Z, $, H, Q, z, 9, _[25]), Q = m(Q, Z, $, H, F, 14, _[26]), H = m(H, Q, Z, $, K, 20, _[27]), $ = m($, H, Q, Z, Y, 5, _[28]), Z = m(Z, $, H, Q, y, 9, _[29]), Q = m(Q, Z, $, H, w, 14, _[30]), H = m(H, Q, Z, $, x, 20, _[31]), $ = b($, H, Q, Z, N, 4, _[32]), Z = b(Z, $, H, Q, K, 11, _[33]), Q = b(Q, Z, $, H, B, 16, _[34]), H = b(H, Q, Z, $, z, 23, _[35]), $ = b($, H, Q, Z, D, 4, _[36]), Z = b(Z, $, H, Q, L, 11, _[37]), Q = b(Q, Z, $, H, w, 16, _[38]), H = b(H, Q, Z, $, G, 23, _[39]), $ = b($, H, Q, Z, Y, 4, _[40]), Z = b(Z, $, H, Q, O, 11, _[41]), Q = b(Q, Z, $, H, F, 16, _[42]), H = b(H, Q, Z, $, V, 23, _[43]), $ = b($, H, Q, Z, P, 4, _[44]), Z = b(Z, $, H, Q, x, 11, _[45]), Q = b(Q, Z, $, H, W, 16, _[46]), H = b(H, Q, Z, $, y, 23, _[47]), $ = v($, H, Q, Z, O, 6, _[48]), Z = v(Z, $, H, Q, w, 10, _[49]), Q = v(Q, Z, $, H, z, 15, _[50]), H = v(H, Q, Z, $, N, 21, _[51]), $ = v($, H, Q, Z, x, 6, _[52]), Z = v(Z, $, H, Q, F, 10, _[53]), Q = v(Q, Z, $, H, G, 15, _[54]), H = v(H, Q, Z, $, D, 21, _[55]), $ = v($, H, Q, Z, K, 6, _[56]), Z = v(Z, $, H, Q, W, 10, _[57]), Q = v(Q, Z, $, H, V, 15, _[58]), H = v(H, Q, Z, $, Y, 21, _[59]), $ = v($, H, Q, Z, L, 6, _[60]), Z = v(Z, $, H, Q, B, 10, _[61]), Q = v(Q, Z, $, H, y, 15, _[62]), H = v(H, Q, Z, $, P, 21, _[63]), A[0] = A[0] + $ | 0, A[1] = A[1] + H | 0, A[2] = A[2] + Q | 0, A[3] = A[3] + Z | 0;
|
8656
|
+
},
|
8657
|
+
_doFinalize: function() {
|
8658
|
+
var p = this._data, E = p.words, T = this._nDataBytes * 8, C = p.sigBytes * 8;
|
8659
|
+
E[C >>> 5] |= 128 << 24 - C % 32;
|
8660
|
+
var k = n.floor(T / 4294967296), A = T;
|
8661
|
+
E[(C + 64 >>> 9 << 4) + 15] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, E[(C + 64 >>> 9 << 4) + 14] = (A << 8 | A >>> 24) & 16711935 | (A << 24 | A >>> 8) & 4278255360, p.sigBytes = (E.length + 1) * 4, this._process();
|
8662
|
+
for (var O = this._hash, D = O.words, y = 0; y < 4; y++) {
|
8663
|
+
var F = D[y];
|
8664
|
+
D[y] = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360;
|
8665
|
+
}
|
8666
|
+
return O;
|
8667
|
+
},
|
8668
|
+
clone: function() {
|
8669
|
+
var p = l.clone.call(this);
|
8670
|
+
return p._hash = this._hash.clone(), p;
|
8690
8671
|
}
|
8691
|
-
|
8692
|
-
|
8693
|
-
|
8694
|
-
|
8695
|
-
}
|
8672
|
+
});
|
8673
|
+
function g(p, E, T, C, k, A, O) {
|
8674
|
+
var D = p + (E & T | ~E & C) + k + O;
|
8675
|
+
return (D << A | D >>> 32 - A) + E;
|
8676
|
+
}
|
8677
|
+
function m(p, E, T, C, k, A, O) {
|
8678
|
+
var D = p + (E & C | T & ~C) + k + O;
|
8679
|
+
return (D << A | D >>> 32 - A) + E;
|
8680
|
+
}
|
8681
|
+
function b(p, E, T, C, k, A, O) {
|
8682
|
+
var D = p + (E ^ T ^ C) + k + O;
|
8683
|
+
return (D << A | D >>> 32 - A) + E;
|
8684
|
+
}
|
8685
|
+
function v(p, E, T, C, k, A, O) {
|
8686
|
+
var D = p + (T ^ (E | ~C)) + k + O;
|
8687
|
+
return (D << A | D >>> 32 - A) + E;
|
8688
|
+
}
|
8689
|
+
u.MD5 = l._createHelper(d), u.HmacMD5 = l._createHmacHelper(d);
|
8690
|
+
}(Math), r.MD5;
|
8691
|
+
});
|
8692
|
+
})(md5$1);
|
8693
|
+
const md5 = md5$1.exports;
|
8696
8694
|
var evpkdf = { exports: {} }, sha1 = { exports: {} }, hasRequiredSha1;
|
8697
8695
|
function requireSha1() {
|
8698
8696
|
return hasRequiredSha1 || (hasRequiredSha1 = 1, function(e, a) {
|
@@ -8998,7 +8996,7 @@ function requireCipherCore() {
|
|
8998
8996
|
}
|
8999
8997
|
(function(e, a) {
|
9000
8998
|
(function(r, n, u) {
|
9001
|
-
e.exports = n(requireCore(),
|
8999
|
+
e.exports = n(requireCore(), encBase64.exports, md5$1.exports, requireEvpkdf(), requireCipherCore());
|
9002
9000
|
})(commonjsGlobal, function(r) {
|
9003
9001
|
return function() {
|
9004
9002
|
var n = r, u = n.lib, s = u.BlockCipher, o = n.algo, l = [], c = [], _ = [], d = [], g = [], m = [], b = [], v = [], p = [], E = [];
|
@@ -9053,7 +9051,7 @@ function requireCipherCore() {
|
|
9053
9051
|
}(), r.AES;
|
9054
9052
|
});
|
9055
9053
|
})(aes);
|
9056
|
-
var
|
9054
|
+
var encUtf8 = { exports: {} };
|
9057
9055
|
(function(e, a) {
|
9058
9056
|
(function(r, n) {
|
9059
9057
|
e.exports = n(requireCore());
|
@@ -9062,7 +9060,7 @@ var encBase64Exports = requireEncBase64(), encUtf8 = { exports: {} };
|
|
9062
9060
|
});
|
9063
9061
|
})(encUtf8);
|
9064
9062
|
const UTF8 = encUtf8.exports;
|
9065
|
-
var
|
9063
|
+
var modeEcb = { exports: {} };
|
9066
9064
|
(function(e, a) {
|
9067
9065
|
(function(r, n, u) {
|
9068
9066
|
e.exports = n(requireCore(), requireCipherCore());
|
@@ -9113,13 +9111,13 @@ class AesEncryption {
|
|
9113
9111
|
}
|
9114
9112
|
}
|
9115
9113
|
function encryptByBase64(e) {
|
9116
|
-
return UTF8.parse(e).toString(
|
9114
|
+
return UTF8.parse(e).toString(Base64);
|
9117
9115
|
}
|
9118
9116
|
function decodeByBase64(e) {
|
9119
|
-
return
|
9117
|
+
return Base64.parse(e).toString(UTF8);
|
9120
9118
|
}
|
9121
9119
|
function encryptByMd5(e) {
|
9122
|
-
return
|
9120
|
+
return md5(e).toString();
|
9123
9121
|
}
|
9124
9122
|
const create$2 = ({
|
9125
9123
|
prefixKey: e = "",
|
@@ -16747,6 +16745,7 @@ class UpdateVarGridMasterQuery {
|
|
16747
16745
|
R(this, "def_flg");
|
16748
16746
|
R(this, "frm_id");
|
16749
16747
|
R(this, "grd_var_nam");
|
16748
|
+
R(this, "grd_var_nam_dsc");
|
16750
16749
|
R(this, "grp_nam");
|
16751
16750
|
R(this, "id");
|
16752
16751
|
R(this, "usr_id");
|
@@ -16757,6 +16756,7 @@ class UpdateVarGridMasterQuery {
|
|
16757
16756
|
case "def_flg":
|
16758
16757
|
case "frm_id":
|
16759
16758
|
case "grd_var_nam":
|
16759
|
+
case "grd_var_nam_dsc":
|
16760
16760
|
case "grp_nam":
|
16761
16761
|
case "id":
|
16762
16762
|
case "usr_id":
|
@@ -17269,6 +17269,7 @@ class VarGridMasterDTO {
|
|
17269
17269
|
R(this, "grp_nam");
|
17270
17270
|
R(this, "id");
|
17271
17271
|
R(this, "usr_id");
|
17272
|
+
R(this, "usr_id_dsc");
|
17272
17273
|
R(this, "varGridDetails");
|
17273
17274
|
keys(a != null ? a : {}).forEach((r) => {
|
17274
17275
|
switch (r) {
|
@@ -17280,6 +17281,7 @@ class VarGridMasterDTO {
|
|
17280
17281
|
case "grp_nam":
|
17281
17282
|
case "id":
|
17282
17283
|
case "usr_id":
|
17284
|
+
case "usr_id_dsc":
|
17283
17285
|
case "varGridDetails":
|
17284
17286
|
Reflect.set(this, r, Reflect.get(a != null ? a : {}, r));
|
17285
17287
|
break;
|
@@ -17393,6 +17395,18 @@ class VarProfileMasterDTO {
|
|
17393
17395
|
});
|
17394
17396
|
}
|
17395
17397
|
}
|
17398
|
+
class VarQuery {
|
17399
|
+
constructor(a) {
|
17400
|
+
R(this, "frm_id");
|
17401
|
+
keys(a != null ? a : {}).forEach((r) => {
|
17402
|
+
switch (r) {
|
17403
|
+
case "frm_id":
|
17404
|
+
Reflect.set(this, r, Reflect.get(a != null ? a : {}, r));
|
17405
|
+
break;
|
17406
|
+
}
|
17407
|
+
});
|
17408
|
+
}
|
17409
|
+
}
|
17396
17410
|
class VarSubmitConfig {
|
17397
17411
|
constructor(a) {
|
17398
17412
|
R(this, "button_var_name");
|
@@ -19988,6 +20002,28 @@ function _useResizeObserver(e) {
|
|
19988
20002
|
r == null || r.disconnect();
|
19989
20003
|
}), {};
|
19990
20004
|
}
|
20005
|
+
function _useCacheScrollState(e) {
|
20006
|
+
let a = 0, r = 0, n = debounce((u) => {
|
20007
|
+
var s, o, l, c;
|
20008
|
+
a = (o = (s = u.target) == null ? void 0 : s.scrollLeft) != null ? o : 0, r = (c = (l = u.target) == null ? void 0 : l.scrollTop) != null ? c : 0;
|
20009
|
+
}, 200, {
|
20010
|
+
leading: !1,
|
20011
|
+
trailing: !0
|
20012
|
+
});
|
20013
|
+
return onActivated(() => {
|
20014
|
+
var s;
|
20015
|
+
const u = (s = e.value) == null ? void 0 : s.querySelector("div.ant-table-body");
|
20016
|
+
u && (u.scrollLeft = a, u.scrollTop = r);
|
20017
|
+
}), onMounted(() => {
|
20018
|
+
var s;
|
20019
|
+
const u = (s = e.value) == null ? void 0 : s.querySelector("div.ant-table-body");
|
20020
|
+
u == null || u.addEventListener("scroll", n);
|
20021
|
+
}), onBeforeUnmount(() => {
|
20022
|
+
var s;
|
20023
|
+
const u = (s = e.value) == null ? void 0 : s.querySelector("div.ant-table-body");
|
20024
|
+
u == null || u.removeEventListener("scroll", n);
|
20025
|
+
}), {};
|
20026
|
+
}
|
19991
20027
|
function _useDragColumn(e, a) {
|
19992
20028
|
const r = useKgVar();
|
19993
20029
|
let n = null, u = null;
|
@@ -20185,7 +20221,7 @@ const KgTable$1 = "", getProps$r = () => ({
|
|
20185
20221
|
} = _useLoading(), b = ref(null), {
|
20186
20222
|
renderBodyCell: v
|
20187
20223
|
} = _useRenderBodyCell();
|
20188
|
-
_useResizeObserver(b), _useDragColumn(b, c);
|
20224
|
+
_useCacheScrollState(b), _useResizeObserver(b), _useDragColumn(b, c);
|
20189
20225
|
const {
|
20190
20226
|
transformDatas: p,
|
20191
20227
|
requestDescriptions: E
|
@@ -25107,7 +25143,7 @@ const DEFAULT = KgVarFactory(), KgVarConfigModalVarVarConfigControl = defineComp
|
|
25107
25143
|
KgUtil.showLoading();
|
25108
25144
|
try {
|
25109
25145
|
const k = await GetAll({
|
25110
|
-
|
25146
|
+
data: {
|
25111
25147
|
frm_id: _
|
25112
25148
|
}
|
25113
25149
|
}), A = (v = (b = ((d = k.varGridMasters) == null ? void 0 : d.find((O) => O.def_flg === 1)) || ((g = k.varGridMasters) == null ? void 0 : g.find((O) => O.cust_lvl === KG_CUSTOM_LEVEL.L0)) || ((m = k.varGridMasters) == null ? void 0 : m.find(() => !0))) == null ? void 0 : b.id) != null ? v : null;
|
@@ -26289,7 +26325,7 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
|
|
26289
26325
|
varSubmitConfigs: L,
|
26290
26326
|
varSubmitDetails: N,
|
26291
26327
|
varVariables: V
|
26292
|
-
} = await GetAll({
|
26328
|
+
} = await GetAll({ data: { frm_id: e } }), w = g != null ? g : null, K = V != null ? V : [], P = transformVarConfigControls(p), G = E != null ? E : [], B = transformVarConfigInputs(T), x = transformVarConfigLookups(C), Y = transformVarConfigPossibilities(k), z = transformVarConfigTips(A), W = transformVarButtons(m), $ = transformVarButtonConfig(b), H = transformVarSubmitConfigs(L), Q = transformVarSubmitDetails(N), Z = transformVarProfileConfig(O), oe = transformVarProfileMasters(D), _e = transformVarGridConfig(y), ge = transformVarGridMasters(F), fe = transformVarChildDetails(v), de = (s = (u = (D == null ? void 0 : D.find((q) => q.id === this.getCurrentVarProfileMasterID(e))) || (D == null ? void 0 : D.find((q) => q.def_flg === 1)) || (D == null ? void 0 : D.find((q) => q.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (D == null ? void 0 : D.find(() => !0))) == null ? void 0 : u.id) != null ? s : null, ee = (l = (o = (F == null ? void 0 : F.find((q) => q.id === this.getCurrentVarGridMasterID(e))) || (F == null ? void 0 : F.find((q) => q.def_flg === 1)) || (F == null ? void 0 : F.find((q) => q.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (F == null ? void 0 : F.find(() => !0))) == null ? void 0 : o.id) != null ? l : null;
|
26293
26329
|
createDefaultVarSubmitDetailsForVarProfileDetails(ge, Q, W), this.varDdaMap.set(e, w), this.varVariableMap.set(e, K), this.varConfigControlMap.set(e, P), this.varConfigDescriptionMap.set(e, G), this.varConfigInputMap.set(e, B), this.varConfigLookupMap.set(e, x), this.varConfigPossibilityMap.set(e, Y), this.varConfigTipMap.set(e, z), this.varButtonMap.set(e, W), this.varButtonConfigMap.set(e, $), this.varSubmitConfigMap.set(e, H), this.varSubmitDetailMap.set(e, Q), this.varProfileConfigMap.set(e, Z), this.varProfileMasterMap.set(e, { varProfileMasters: oe, currentVarProfileMasterID: de }), this.varGridConfigMap.set(e, _e), this.varGridMasterMap.set(e, { varGridMasters: ge, currentVarGridMasterID: ee }), this.varChildDetailMap.set(e, fe), await Promise.all([
|
26294
26330
|
this.setCurrentVarGridMasterID(e, this.getCurrentVarGridMasterID(e)),
|
26295
26331
|
this.setCurrentVarProfileMasterID(e, this.getCurrentVarProfileMasterID(e))
|
@@ -29629,16 +29665,6 @@ const index$9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
29629
29665
|
ListQuery
|
29630
29666
|
}, Symbol.toStringTag, { value: "Module" }));
|
29631
29667
|
class GetAllQuery {
|
29632
|
-
constructor(a) {
|
29633
|
-
R(this, "frm_id");
|
29634
|
-
keys(a != null ? a : {}).forEach((r) => {
|
29635
|
-
switch (r) {
|
29636
|
-
case "frm_id":
|
29637
|
-
Reflect.set(this, r, Reflect.get(a != null ? a : {}, r));
|
29638
|
-
break;
|
29639
|
-
}
|
29640
|
-
});
|
29641
|
-
}
|
29642
29668
|
}
|
29643
29669
|
function GetAll(e, a) {
|
29644
29670
|
return httpClient().request(
|
@@ -29650,7 +29676,7 @@ function GetAll(e, a) {
|
|
29650
29676
|
a
|
29651
29677
|
);
|
29652
29678
|
}
|
29653
|
-
GetAll.method = "
|
29679
|
+
GetAll.method = "POST";
|
29654
29680
|
GetAll.url = "/var/Var/getAll";
|
29655
29681
|
const index$8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
29656
29682
|
__proto__: null,
|
@@ -32059,6 +32085,7 @@ export {
|
|
32059
32085
|
VarProfileDetail,
|
32060
32086
|
VarProfileMaster,
|
32061
32087
|
VarProfileMasterDTO,
|
32088
|
+
VarQuery,
|
32062
32089
|
VarSubmitConfig,
|
32063
32090
|
VarSubmitDetail,
|
32064
32091
|
VarVariable,
|
@@ -2,9 +2,6 @@ import { IRequestConfig, IRequestOptions } from '../../../../services';
|
|
2
2
|
import * as DEF from '../../../def';
|
3
3
|
/** 请求参数. */
|
4
4
|
export declare class GetAllQuery {
|
5
|
-
/** 界面标识(FormID). */
|
6
|
-
frm_id?: string | null;
|
7
|
-
constructor(obj?: GetAllQuery);
|
8
5
|
}
|
9
6
|
/**
|
10
7
|
* 查询所有变量配置.
|
@@ -12,8 +9,8 @@ export declare class GetAllQuery {
|
|
12
9
|
* @param config 请求配置.
|
13
10
|
* @param option 请求选项.
|
14
11
|
*/
|
15
|
-
export declare function GetAll(config?: IRequestConfig<GetAllQuery,
|
12
|
+
export declare function GetAll(config?: IRequestConfig<GetAllQuery, DEF.WMS.VarQuery>, option?: IRequestOptions): Promise<DEF.WMS.VarDTO>;
|
16
13
|
export declare namespace GetAll {
|
17
|
-
var method: "
|
14
|
+
var method: "POST";
|
18
15
|
var url: string;
|
19
16
|
}
|
@@ -299,6 +299,8 @@ export declare class UpdateVarGridMasterQuery {
|
|
299
299
|
frm_id?: string | null;
|
300
300
|
/** 视图变量名称(GridVariableName). */
|
301
301
|
grd_var_nam?: string | null;
|
302
|
+
/** 视图名称翻译. */
|
303
|
+
grd_var_nam_dsc?: string | null;
|
302
304
|
/** 分组(GroupName). */
|
303
305
|
grp_nam?: string | null;
|
304
306
|
/** 主键 */
|
@@ -717,6 +719,8 @@ export declare class VarGridMasterDTO {
|
|
717
719
|
id?: string | null;
|
718
720
|
/** 用户(UserID). */
|
719
721
|
usr_id?: string | null;
|
722
|
+
/** 用户姓名. */
|
723
|
+
usr_id_dsc?: string | null;
|
720
724
|
/** 表格视图明细列表. */
|
721
725
|
varGridDetails?: Array<VarGridDetail> | null;
|
722
726
|
constructor(obj?: VarGridMasterDTO);
|
@@ -803,6 +807,12 @@ export declare class VarProfileMasterDTO {
|
|
803
807
|
varProfileDetails?: Array<VarProfileDetail> | null;
|
804
808
|
constructor(obj?: VarProfileMasterDTO);
|
805
809
|
}
|
810
|
+
/** 变量配置查询参数. */
|
811
|
+
export declare class VarQuery {
|
812
|
+
/** 界面标识(FormID). */
|
813
|
+
frm_id?: string | null;
|
814
|
+
constructor(obj?: VarQuery);
|
815
|
+
}
|
806
816
|
/** 提交表单配置. */
|
807
817
|
export declare class VarSubmitConfig {
|
808
818
|
/** 所属按钮的变量名称. */
|
@@ -222,7 +222,19 @@ export interface IUseKgSubmit {
|
|
222
222
|
onOpen(listener: IKgSubmitOpenEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
223
223
|
/**
|
224
224
|
* <p>修改某个「提交表单字段」的部分属性.</p>
|
225
|
-
*
|
225
|
+
*
|
226
|
+
* <p>由于提交表单肯定是关联某个按钮的, 因此需要先确认是哪个按钮, 确认逻辑如下:</p>
|
227
|
+
* <ul>
|
228
|
+
* <li>
|
229
|
+
* <p>如果参数 {@link param.buttonVarName} === <code>undefined</code> && {@link param.buttonVarName} === <code>undefined</code>, 表示修改的是「当前按钮」.</p>
|
230
|
+
* </li>
|
231
|
+
* <li>
|
232
|
+
* <p>如果参数 {@link param.buttonVarName} !== <code>undefined</code>, 则忽略参数 {@link param.buttonType}, 根据 {@link param.buttonVarName} 和 {@link VarButton.var_nam} 是否匹配来确认按钮.</p>
|
233
|
+
* </li>
|
234
|
+
* <li>
|
235
|
+
* <p>如果参数 {@link param.buttonType} !== <code>undefined</code> && {@link param.buttonType} !== <code>OTHER</code>, 根据 {@link param.buttonType} 和 {@link VarButton.typ} 是否匹配来确认按钮.</p>
|
236
|
+
* </li>
|
237
|
+
* </ul>
|
226
238
|
*
|
227
239
|
* @param param.buttonType <p>按钮的类型, 对应的是 {@link VarButton.typ} 属性, 取值请参考 {@link KG__VAR_BUTTON__TYPE}.</p>
|
228
240
|
* @param param.buttonVarName <p>按钮的变量名称, 对应的是 {@link VarButton.var_nam} 属性.</p>
|
@@ -22,6 +22,8 @@ export declare function _useLoading(): {
|
|
22
22
|
isLoading: ComputedRef<boolean>;
|
23
23
|
};
|
24
24
|
export declare function _useResizeObserver(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>): {};
|
25
|
+
export declare type ICacheScrollState = {};
|
26
|
+
export declare function _useCacheScrollState(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>): ICacheScrollState;
|
25
27
|
export declare function _useDragColumn(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>, columns: ComputedRef<ColumnsType<IKgTableRow>>): {};
|
26
28
|
export declare function _useDatas(): {
|
27
29
|
transformDatas: (response: Ref<any>) => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.26.3-beta.
|
3
|
+
"version": "0.26.3-beta.6",
|
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",
|