@kengic/vue 0.27.0 → 0.27.1-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +12 -1
- package/dist/kengic-vue.js +150 -130
- package/dist/src/component/KgButton/index.event.d.ts +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
# 0.27.0
|
2
2
|
|
3
|
-
### 1.
|
3
|
+
### 1. DDA 的所有表都添加了一个 props 列, 用于存放额外的配置属性
|
4
|
+
|
5
|
+
### 2. 移除 var_profile_detail 中的多个列
|
6
|
+
|
7
|
+
- 移除 `var_profile_detail.vis_flg` 列, 由 `var_submit_detail.visible_flag` 代替,
|
8
|
+
- 移除 `var_profile_detail.ena_flg` 列, 由 `var_submit_detail.enable_flag` 代替,
|
9
|
+
- 移除 `var_profile_detail.rqr_flg` 列, 由 `var_submit_detail.required_flag` 代替,
|
10
|
+
- 移除 `var_profile_detail.dft_val` 列, 由 `var_submit_detail.default_value` 代替,
|
11
|
+
- 移除 `var_profile_detail.width` 列, 由 `var_submit_detail.width` 代替,
|
12
|
+
- 移除 `var_profile_detail.placeholder` 列, 由 `var_submit_detail.placeholder` 代替,
|
13
|
+
|
14
|
+
### 3. kgVar.onRetrieve() 事件回调函数返回类型变更
|
4
15
|
|
5
16
|
```typescript
|
6
17
|
// 旧
|
package/dist/kengic-vue.js
CHANGED
@@ -70071,7 +70071,7 @@ function fi(e) {
|
|
70071
70071
|
})
|
70072
70072
|
);
|
70073
70073
|
}
|
70074
|
-
const version = "0.27.0", en$1 = {
|
70074
|
+
const version = "0.27.1-beta.0", en$1 = {
|
70075
70075
|
kg: {
|
70076
70076
|
KgAppSelect: {
|
70077
70077
|
businessManager: "Business Manager",
|
@@ -74510,119 +74510,121 @@ function requireCore() {
|
|
74510
74510
|
});
|
74511
74511
|
}(core)), core.exports;
|
74512
74512
|
}
|
74513
|
-
var encBase64 = { exports: {} };
|
74514
|
-
|
74515
|
-
(function(
|
74516
|
-
|
74517
|
-
|
74518
|
-
|
74519
|
-
|
74520
|
-
|
74521
|
-
|
74522
|
-
|
74523
|
-
|
74524
|
-
|
74525
|
-
for (var
|
74526
|
-
|
74527
|
-
|
74528
|
-
|
74529
|
-
|
74530
|
-
ne.
|
74531
|
-
|
74532
|
-
|
74533
|
-
|
74534
|
-
|
74535
|
-
|
74536
|
-
U
|
74537
|
-
|
74538
|
-
|
74539
|
-
|
74540
|
-
|
74541
|
-
|
74542
|
-
|
74543
|
-
|
74544
|
-
|
74545
|
-
|
74546
|
-
|
74547
|
-
|
74548
|
-
|
74549
|
-
|
74550
|
-
|
74551
|
-
|
74552
|
-
|
74553
|
-
|
74554
|
-
|
74555
|
-
|
74556
|
-
|
74557
|
-
|
74558
|
-
|
74559
|
-
})
|
74560
|
-
|
74561
|
-
|
74562
|
-
|
74563
|
-
|
74564
|
-
|
74565
|
-
|
74566
|
-
|
74567
|
-
|
74568
|
-
|
74569
|
-
|
74570
|
-
|
74571
|
-
|
74572
|
-
|
74573
|
-
|
74574
|
-
|
74575
|
-
|
74576
|
-
|
74577
|
-
|
74578
|
-
|
74579
|
-
|
74580
|
-
|
74581
|
-
|
74582
|
-
|
74583
|
-
|
74584
|
-
|
74513
|
+
var encBase64 = { exports: {} }, hasRequiredEncBase64;
|
74514
|
+
function requireEncBase64() {
|
74515
|
+
return hasRequiredEncBase64 || (hasRequiredEncBase64 = 1, function(e, r) {
|
74516
|
+
(function(n, a) {
|
74517
|
+
e.exports = a(requireCore());
|
74518
|
+
})(commonjsGlobal, function(n) {
|
74519
|
+
return function() {
|
74520
|
+
var a = n, o = a.lib, l = o.WordArray, u = a.enc;
|
74521
|
+
u.Base64 = {
|
74522
|
+
stringify: function(C) {
|
74523
|
+
var w = C.words, N = C.sigBytes, U = this._map;
|
74524
|
+
C.clamp();
|
74525
|
+
for (var ne = [], oe = 0; oe < N; oe += 3)
|
74526
|
+
for (var ue = w[oe >>> 2] >>> 24 - oe % 4 * 8 & 255, se = w[oe + 1 >>> 2] >>> 24 - (oe + 1) % 4 * 8 & 255, st = w[oe + 2 >>> 2] >>> 24 - (oe + 2) % 4 * 8 & 255, ut = ue << 16 | se << 8 | st, ta = 0; ta < 4 && oe + ta * 0.75 < N; ta++)
|
74527
|
+
ne.push(U.charAt(ut >>> 6 * (3 - ta) & 63));
|
74528
|
+
var ea = U.charAt(64);
|
74529
|
+
if (ea)
|
74530
|
+
for (; ne.length % 4; )
|
74531
|
+
ne.push(ea);
|
74532
|
+
return ne.join("");
|
74533
|
+
},
|
74534
|
+
parse: function(C) {
|
74535
|
+
var w = C.length, N = this._map, U = this._reverseMap;
|
74536
|
+
if (!U) {
|
74537
|
+
U = this._reverseMap = [];
|
74538
|
+
for (var ne = 0; ne < N.length; ne++)
|
74539
|
+
U[N.charCodeAt(ne)] = ne;
|
74540
|
+
}
|
74541
|
+
var oe = N.charAt(64);
|
74542
|
+
if (oe) {
|
74543
|
+
var ue = C.indexOf(oe);
|
74544
|
+
ue !== -1 && (w = ue);
|
74545
|
+
}
|
74546
|
+
return p(C, w, U);
|
74547
|
+
},
|
74548
|
+
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
74549
|
+
};
|
74550
|
+
function p(C, w, N) {
|
74551
|
+
for (var U = [], ne = 0, oe = 0; oe < w; oe++)
|
74552
|
+
if (oe % 4) {
|
74553
|
+
var ue = N[C.charCodeAt(oe - 1)] << oe % 4 * 2, se = N[C.charCodeAt(oe)] >>> 6 - oe % 4 * 2, st = ue | se;
|
74554
|
+
U[ne >>> 2] |= st << 24 - ne % 4 * 8, ne++;
|
74555
|
+
}
|
74556
|
+
return l.create(U, ne);
|
74557
|
+
}
|
74558
|
+
}(), n.enc.Base64;
|
74559
|
+
});
|
74560
|
+
}(encBase64)), encBase64.exports;
|
74561
|
+
}
|
74562
|
+
var md5 = { exports: {} }, hasRequiredMd5;
|
74563
|
+
function requireMd5() {
|
74564
|
+
return hasRequiredMd5 || (hasRequiredMd5 = 1, function(e, r) {
|
74565
|
+
(function(n, a) {
|
74566
|
+
e.exports = a(requireCore());
|
74567
|
+
})(commonjsGlobal, function(n) {
|
74568
|
+
return function(a) {
|
74569
|
+
var o = n, l = o.lib, u = l.WordArray, p = l.Hasher, C = o.algo, w = [];
|
74570
|
+
(function() {
|
74571
|
+
for (var se = 0; se < 64; se++)
|
74572
|
+
w[se] = a.abs(a.sin(se + 1)) * 4294967296 | 0;
|
74573
|
+
})();
|
74574
|
+
var N = C.MD5 = p.extend({
|
74575
|
+
_doReset: function() {
|
74576
|
+
this._hash = new u.init([
|
74577
|
+
1732584193,
|
74578
|
+
4023233417,
|
74579
|
+
2562383102,
|
74580
|
+
271733878
|
74581
|
+
]);
|
74582
|
+
},
|
74583
|
+
_doProcessBlock: function(se, st) {
|
74584
|
+
for (var ut = 0; ut < 16; ut++) {
|
74585
|
+
var ta = st + ut, ea = se[ta];
|
74586
|
+
se[ta] = (ea << 8 | ea >>> 24) & 16711935 | (ea << 24 | ea >>> 8) & 4278255360;
|
74587
|
+
}
|
74588
|
+
var oa = this._hash.words, aa = se[st + 0], la = se[st + 1], ua = se[st + 2], ga = se[st + 3], ma = se[st + 4], da = se[st + 5], va = se[st + 6], wa = se[st + 7], ba = se[st + 8], ha = se[st + 9], Ca = se[st + 10], $a = se[st + 11], xa = se[st + 12], Ta = se[st + 13], Ra = se[st + 14], Ia = se[st + 15], Sa = oa[0], Da = oa[1], Ka = oa[2], Ga = oa[3];
|
74589
|
+
Sa = U(Sa, Da, Ka, Ga, aa, 7, w[0]), Ga = U(Ga, Sa, Da, Ka, la, 12, w[1]), Ka = U(Ka, Ga, Sa, Da, ua, 17, w[2]), Da = U(Da, Ka, Ga, Sa, ga, 22, w[3]), Sa = U(Sa, Da, Ka, Ga, ma, 7, w[4]), Ga = U(Ga, Sa, Da, Ka, da, 12, w[5]), Ka = U(Ka, Ga, Sa, Da, va, 17, w[6]), Da = U(Da, Ka, Ga, Sa, wa, 22, w[7]), Sa = U(Sa, Da, Ka, Ga, ba, 7, w[8]), Ga = U(Ga, Sa, Da, Ka, ha, 12, w[9]), Ka = U(Ka, Ga, Sa, Da, Ca, 17, w[10]), Da = U(Da, Ka, Ga, Sa, $a, 22, w[11]), Sa = U(Sa, Da, Ka, Ga, xa, 7, w[12]), Ga = U(Ga, Sa, Da, Ka, Ta, 12, w[13]), Ka = U(Ka, Ga, Sa, Da, Ra, 17, w[14]), Da = U(Da, Ka, Ga, Sa, Ia, 22, w[15]), Sa = ne(Sa, Da, Ka, Ga, la, 5, w[16]), Ga = ne(Ga, Sa, Da, Ka, va, 9, w[17]), Ka = ne(Ka, Ga, Sa, Da, $a, 14, w[18]), Da = ne(Da, Ka, Ga, Sa, aa, 20, w[19]), Sa = ne(Sa, Da, Ka, Ga, da, 5, w[20]), Ga = ne(Ga, Sa, Da, Ka, Ca, 9, w[21]), Ka = ne(Ka, Ga, Sa, Da, Ia, 14, w[22]), Da = ne(Da, Ka, Ga, Sa, ma, 20, w[23]), Sa = ne(Sa, Da, Ka, Ga, ha, 5, w[24]), Ga = ne(Ga, Sa, Da, Ka, Ra, 9, w[25]), Ka = ne(Ka, Ga, Sa, Da, ga, 14, w[26]), Da = ne(Da, Ka, Ga, Sa, ba, 20, w[27]), Sa = ne(Sa, Da, Ka, Ga, Ta, 5, w[28]), Ga = ne(Ga, Sa, Da, Ka, ua, 9, w[29]), Ka = ne(Ka, Ga, Sa, Da, wa, 14, w[30]), Da = ne(Da, Ka, Ga, Sa, xa, 20, w[31]), Sa = oe(Sa, Da, Ka, Ga, da, 4, w[32]), Ga = oe(Ga, Sa, Da, Ka, ba, 11, w[33]), Ka = oe(Ka, Ga, Sa, Da, $a, 16, w[34]), Da = oe(Da, Ka, Ga, Sa, Ra, 23, w[35]), Sa = oe(Sa, Da, Ka, Ga, la, 4, w[36]), Ga = oe(Ga, Sa, Da, Ka, ma, 11, w[37]), Ka = oe(Ka, Ga, Sa, Da, wa, 16, w[38]), Da = oe(Da, Ka, Ga, Sa, Ca, 23, w[39]), Sa = oe(Sa, Da, Ka, Ga, Ta, 4, w[40]), Ga = oe(Ga, Sa, Da, Ka, aa, 11, w[41]), Ka = oe(Ka, Ga, Sa, Da, ga, 16, w[42]), Da = oe(Da, Ka, Ga, Sa, va, 23, w[43]), Sa = oe(Sa, Da, Ka, Ga, ha, 4, w[44]), Ga = oe(Ga, Sa, Da, Ka, xa, 11, w[45]), Ka = oe(Ka, Ga, Sa, Da, Ia, 16, w[46]), Da = oe(Da, Ka, Ga, Sa, ua, 23, w[47]), Sa = ue(Sa, Da, Ka, Ga, aa, 6, w[48]), Ga = ue(Ga, Sa, Da, Ka, wa, 10, w[49]), Ka = ue(Ka, Ga, Sa, Da, Ra, 15, w[50]), Da = ue(Da, Ka, Ga, Sa, da, 21, w[51]), Sa = ue(Sa, Da, Ka, Ga, xa, 6, w[52]), Ga = ue(Ga, Sa, Da, Ka, ga, 10, w[53]), Ka = ue(Ka, Ga, Sa, Da, Ca, 15, w[54]), Da = ue(Da, Ka, Ga, Sa, la, 21, w[55]), Sa = ue(Sa, Da, Ka, Ga, ba, 6, w[56]), Ga = ue(Ga, Sa, Da, Ka, Ia, 10, w[57]), Ka = ue(Ka, Ga, Sa, Da, va, 15, w[58]), Da = ue(Da, Ka, Ga, Sa, Ta, 21, w[59]), Sa = ue(Sa, Da, Ka, Ga, ma, 6, w[60]), Ga = ue(Ga, Sa, Da, Ka, $a, 10, w[61]), Ka = ue(Ka, Ga, Sa, Da, ua, 15, w[62]), Da = ue(Da, Ka, Ga, Sa, ha, 21, w[63]), oa[0] = oa[0] + Sa | 0, oa[1] = oa[1] + Da | 0, oa[2] = oa[2] + Ka | 0, oa[3] = oa[3] + Ga | 0;
|
74590
|
+
},
|
74591
|
+
_doFinalize: function() {
|
74592
|
+
var se = this._data, st = se.words, ut = this._nDataBytes * 8, ta = se.sigBytes * 8;
|
74593
|
+
st[ta >>> 5] |= 128 << 24 - ta % 32;
|
74594
|
+
var ea = a.floor(ut / 4294967296), oa = ut;
|
74595
|
+
st[(ta + 64 >>> 9 << 4) + 15] = (ea << 8 | ea >>> 24) & 16711935 | (ea << 24 | ea >>> 8) & 4278255360, st[(ta + 64 >>> 9 << 4) + 14] = (oa << 8 | oa >>> 24) & 16711935 | (oa << 24 | oa >>> 8) & 4278255360, se.sigBytes = (st.length + 1) * 4, this._process();
|
74596
|
+
for (var aa = this._hash, la = aa.words, ua = 0; ua < 4; ua++) {
|
74597
|
+
var ga = la[ua];
|
74598
|
+
la[ua] = (ga << 8 | ga >>> 24) & 16711935 | (ga << 24 | ga >>> 8) & 4278255360;
|
74599
|
+
}
|
74600
|
+
return aa;
|
74601
|
+
},
|
74602
|
+
clone: function() {
|
74603
|
+
var se = p.clone.call(this);
|
74604
|
+
return se._hash = this._hash.clone(), se;
|
74585
74605
|
}
|
74586
|
-
|
74587
|
-
|
74588
|
-
|
74589
|
-
|
74590
|
-
var se = this._data, st = se.words, ut = this._nDataBytes * 8, ta = se.sigBytes * 8;
|
74591
|
-
st[ta >>> 5] |= 128 << 24 - ta % 32;
|
74592
|
-
var ea = a.floor(ut / 4294967296), oa = ut;
|
74593
|
-
st[(ta + 64 >>> 9 << 4) + 15] = (ea << 8 | ea >>> 24) & 16711935 | (ea << 24 | ea >>> 8) & 4278255360, st[(ta + 64 >>> 9 << 4) + 14] = (oa << 8 | oa >>> 24) & 16711935 | (oa << 24 | oa >>> 8) & 4278255360, se.sigBytes = (st.length + 1) * 4, this._process();
|
74594
|
-
for (var aa = this._hash, la = aa.words, ua = 0; ua < 4; ua++) {
|
74595
|
-
var ga = la[ua];
|
74596
|
-
la[ua] = (ga << 8 | ga >>> 24) & 16711935 | (ga << 24 | ga >>> 8) & 4278255360;
|
74597
|
-
}
|
74598
|
-
return aa;
|
74599
|
-
},
|
74600
|
-
clone: function() {
|
74601
|
-
var se = p.clone.call(this);
|
74602
|
-
return se._hash = this._hash.clone(), se;
|
74606
|
+
});
|
74607
|
+
function U(se, st, ut, ta, ea, oa, aa) {
|
74608
|
+
var la = se + (st & ut | ~st & ta) + ea + aa;
|
74609
|
+
return (la << oa | la >>> 32 - oa) + st;
|
74603
74610
|
}
|
74604
|
-
|
74605
|
-
|
74606
|
-
|
74607
|
-
|
74608
|
-
|
74609
|
-
|
74610
|
-
|
74611
|
-
|
74612
|
-
|
74613
|
-
|
74614
|
-
|
74615
|
-
|
74616
|
-
|
74617
|
-
|
74618
|
-
|
74619
|
-
|
74620
|
-
|
74621
|
-
o.MD5 = p._createHelper(N), o.HmacMD5 = p._createHmacHelper(N);
|
74622
|
-
}(Math), n.MD5;
|
74623
|
-
});
|
74624
|
-
})(md5$1);
|
74625
|
-
const md5 = md5$1.exports;
|
74611
|
+
function ne(se, st, ut, ta, ea, oa, aa) {
|
74612
|
+
var la = se + (st & ta | ut & ~ta) + ea + aa;
|
74613
|
+
return (la << oa | la >>> 32 - oa) + st;
|
74614
|
+
}
|
74615
|
+
function oe(se, st, ut, ta, ea, oa, aa) {
|
74616
|
+
var la = se + (st ^ ut ^ ta) + ea + aa;
|
74617
|
+
return (la << oa | la >>> 32 - oa) + st;
|
74618
|
+
}
|
74619
|
+
function ue(se, st, ut, ta, ea, oa, aa) {
|
74620
|
+
var la = se + (ut ^ (st | ~ta)) + ea + aa;
|
74621
|
+
return (la << oa | la >>> 32 - oa) + st;
|
74622
|
+
}
|
74623
|
+
o.MD5 = p._createHelper(N), o.HmacMD5 = p._createHmacHelper(N);
|
74624
|
+
}(Math), n.MD5;
|
74625
|
+
});
|
74626
|
+
}(md5)), md5.exports;
|
74627
|
+
}
|
74626
74628
|
var evpkdf = { exports: {} }, sha1 = { exports: {} }, hasRequiredSha1;
|
74627
74629
|
function requireSha1() {
|
74628
74630
|
return hasRequiredSha1 || (hasRequiredSha1 = 1, function(e, r) {
|
@@ -74928,7 +74930,7 @@ function requireCipherCore() {
|
|
74928
74930
|
}
|
74929
74931
|
(function(e, r) {
|
74930
74932
|
(function(n, a, o) {
|
74931
|
-
e.exports = a(requireCore(),
|
74933
|
+
e.exports = a(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
74932
74934
|
})(commonjsGlobal, function(n) {
|
74933
74935
|
return function() {
|
74934
74936
|
var a = n, o = a.lib, l = o.BlockCipher, u = a.algo, p = [], C = [], w = [], N = [], U = [], ne = [], oe = [], ue = [], se = [], st = [];
|
@@ -74983,7 +74985,7 @@ function requireCipherCore() {
|
|
74983
74985
|
}(), n.AES;
|
74984
74986
|
});
|
74985
74987
|
})(aes);
|
74986
|
-
var encUtf8 = { exports: {} };
|
74988
|
+
var encBase64Exports = requireEncBase64(), encUtf8 = { exports: {} };
|
74987
74989
|
(function(e, r) {
|
74988
74990
|
(function(n, a) {
|
74989
74991
|
e.exports = a(requireCore());
|
@@ -74992,7 +74994,7 @@ var encUtf8 = { exports: {} };
|
|
74992
74994
|
});
|
74993
74995
|
})(encUtf8);
|
74994
74996
|
const UTF8 = encUtf8.exports;
|
74995
|
-
var modeEcb = { exports: {} };
|
74997
|
+
var md5Exports = requireMd5(), modeEcb = { exports: {} };
|
74996
74998
|
(function(e, r) {
|
74997
74999
|
(function(n, a, o) {
|
74998
75000
|
e.exports = a(requireCore(), requireCipherCore());
|
@@ -75045,13 +75047,13 @@ class AesEncryption {
|
|
75045
75047
|
}
|
75046
75048
|
}
|
75047
75049
|
function encryptByBase64(e) {
|
75048
|
-
return UTF8.parse(e).toString(
|
75050
|
+
return UTF8.parse(e).toString(encBase64Exports);
|
75049
75051
|
}
|
75050
75052
|
function decodeByBase64(e) {
|
75051
|
-
return
|
75053
|
+
return encBase64Exports.parse(e).toString(UTF8);
|
75052
75054
|
}
|
75053
75055
|
function encryptByMd5(e) {
|
75054
|
-
return
|
75056
|
+
return md5Exports(e).toString();
|
75055
75057
|
}
|
75056
75058
|
const create$2 = ({
|
75057
75059
|
prefixKey: e = "",
|
@@ -103657,12 +103659,15 @@ const KgVar2 = KgVarFactory(), getProps$c = () => ({
|
|
103657
103659
|
}, ha = {};
|
103658
103660
|
if (await a.kgButton.store.emit(a.formID, "onBeforeRequest", {
|
103659
103661
|
requestConfig: ba,
|
103660
|
-
requestOptions: ha
|
103662
|
+
requestOptions: ha,
|
103663
|
+
varButton: o.value
|
103661
103664
|
}))
|
103662
103665
|
return;
|
103663
103666
|
const $a = await httpClient().request(ba, ha);
|
103664
103667
|
if (await a.kgButton.store.emit(a.formID, "onAfterRequest", {
|
103665
|
-
|
103668
|
+
requestConfig: ba,
|
103669
|
+
result: $a,
|
103670
|
+
varButton: o.value
|
103666
103671
|
}))
|
103667
103672
|
return;
|
103668
103673
|
((la = e.kgButton) == null ? void 0 : la.reload_all_after_done_flg) === 1 ? (((ua = e.kgButton) == null ? void 0 : ua.show_success_message_flg) !== 0 && message.success(n.t("kg.executeSuccess")), a.kgSearch.search({
|
@@ -108126,18 +108131,33 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
|
|
108126
108131
|
return !1;
|
108127
108132
|
}), r.kgButton.onBeforeRequest(async ({
|
108128
108133
|
requestConfig: l,
|
108129
|
-
requestOptions: u
|
108130
|
-
|
108131
|
-
result: l
|
108134
|
+
requestOptions: u,
|
108135
|
+
varButton: p
|
108132
108136
|
}) => {
|
108133
|
-
|
108134
|
-
|
108135
|
-
|
108136
|
-
return message.error({
|
108137
|
-
content: (u = JSON.parse(p).message) != null ? u : ""
|
108138
|
-
}), !0;
|
108137
|
+
switch (p.var_nam) {
|
108138
|
+
case "EXPORT-SQL":
|
108139
|
+
return l.responseType = "blob", u.isTransformResponse = !1, !1;
|
108139
108140
|
}
|
108140
|
-
return
|
108141
|
+
return !1;
|
108142
|
+
}), r.kgButton.onAfterRequest(async ({
|
108143
|
+
result: l,
|
108144
|
+
varButton: u,
|
108145
|
+
requestConfig: p
|
108146
|
+
}) => {
|
108147
|
+
var C, w, N, U;
|
108148
|
+
switch (u.var_nam) {
|
108149
|
+
case "EXPORT-SQL": {
|
108150
|
+
const ne = (N = (w = (C = p.data) == null ? void 0 : C.map((oe) => oe.frm_id)) == null ? void 0 : w.join(",")) != null ? N : "";
|
108151
|
+
if (l instanceof Blob && l.type === "application/json") {
|
108152
|
+
const oe = await l.text();
|
108153
|
+
return message.error({
|
108154
|
+
content: (U = JSON.parse(oe).message) != null ? U : ""
|
108155
|
+
}), !0;
|
108156
|
+
}
|
108157
|
+
return h.downloadFile(l, `${ne}.sql`, "text/plain"), !0;
|
108158
|
+
}
|
108159
|
+
}
|
108160
|
+
return !1;
|
108141
108161
|
}), r.kgSubmit.onOpen(async () => {
|
108142
108162
|
switch (!0) {
|
108143
108163
|
case r.isCopying.value: {
|
@@ -29,13 +29,16 @@ export declare type IKgButtonOnSubmitCancelEventListener = ((param: IKgButtonOnS
|
|
29
29
|
export declare type IKgButtonOnBeforeRequestEventListenerParameter = {
|
30
30
|
requestConfig: IRequestConfig;
|
31
31
|
requestOptions: IRequestOptions;
|
32
|
+
varButton: VarButton;
|
32
33
|
};
|
33
34
|
export declare type IKgButtonOnBeforeRequestEventListener = ((param: IKgButtonOnBeforeRequestEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
34
35
|
export declare type IKgButtonOnAfterRequestEventListenerParameter = {
|
36
|
+
requestConfig: IRequestConfig;
|
35
37
|
/**
|
36
38
|
* 请求返回结果.
|
37
39
|
*/
|
38
40
|
result: any;
|
41
|
+
varButton: VarButton;
|
39
42
|
};
|
40
43
|
export declare type IKgButtonOnAfterRequestEventListener = ((param: IKgButtonOnAfterRequestEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
41
44
|
export declare type IKgButtonEventListenerParameter = IKgButtonOnClickEventListenerParameter | IKgButtonOnImportOkEventListenerParameter | IKgButtonOnSubmitSaveEventListenerParameter | IKgButtonOnSubmitCancelEventListenerParameter | IKgButtonOnBeforeRequestEventListenerParameter | IKgButtonOnAfterRequestEventListenerParameter;
|
package/package.json
CHANGED