@kengic/vue 0.28.2-beta.8 → 0.28.2-beta.9
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
CHANGED
@@ -71373,7 +71373,7 @@ function fi(e) {
|
|
71373
71373
|
})
|
71374
71374
|
);
|
71375
71375
|
}
|
71376
|
-
const version = "0.28.2-beta.
|
71376
|
+
const version = "0.28.2-beta.9", en$1 = {
|
71377
71377
|
kg: {
|
71378
71378
|
KgAppSelect: {
|
71379
71379
|
businessManager: "Business Manager",
|
@@ -76843,71 +76843,72 @@ var encBase64 = { exports: {} };
|
|
76843
76843
|
});
|
76844
76844
|
})(encBase64);
|
76845
76845
|
const Base64 = encBase64.exports;
|
76846
|
-
var md5$
|
76847
|
-
|
76848
|
-
(function(
|
76849
|
-
|
76850
|
-
|
76851
|
-
|
76852
|
-
|
76853
|
-
|
76854
|
-
|
76855
|
-
|
76856
|
-
|
76857
|
-
|
76858
|
-
|
76859
|
-
|
76860
|
-
|
76861
|
-
|
76862
|
-
|
76863
|
-
|
76864
|
-
|
76865
|
-
|
76866
|
-
|
76867
|
-
|
76868
|
-
var
|
76869
|
-
|
76846
|
+
var md5$1 = { exports: {} }, hasRequiredMd5;
|
76847
|
+
function requireMd5() {
|
76848
|
+
return hasRequiredMd5 || (hasRequiredMd5 = 1, function(e, G) {
|
76849
|
+
(function(U, te) {
|
76850
|
+
e.exports = te(requireCore());
|
76851
|
+
})(commonjsGlobal, function(U) {
|
76852
|
+
return function(te) {
|
76853
|
+
var ne = U, oe = ne.lib, ie = oe.WordArray, ue = oe.Hasher, st = ne.algo, ea = [];
|
76854
|
+
(function() {
|
76855
|
+
for (var da = 0; da < 64; da++)
|
76856
|
+
ea[da] = te.abs(te.sin(da + 1)) * 4294967296 | 0;
|
76857
|
+
})();
|
76858
|
+
var ta = st.MD5 = ue.extend({
|
76859
|
+
_doReset: function() {
|
76860
|
+
this._hash = new ie.init([
|
76861
|
+
1732584193,
|
76862
|
+
4023233417,
|
76863
|
+
2562383102,
|
76864
|
+
271733878
|
76865
|
+
]);
|
76866
|
+
},
|
76867
|
+
_doProcessBlock: function(da, fa) {
|
76868
|
+
for (var pa = 0; pa < 16; pa++) {
|
76869
|
+
var ga = fa + pa, ha = da[ga];
|
76870
|
+
da[ga] = (ha << 8 | ha >>> 24) & 16711935 | (ha << 24 | ha >>> 8) & 4278255360;
|
76871
|
+
}
|
76872
|
+
var Ea = this._hash.words, ya = da[fa + 0], Sa = da[fa + 1], Ta = da[fa + 2], wa = da[fa + 3], Na = da[fa + 4], Aa = da[fa + 5], Ra = da[fa + 6], Va = da[fa + 7], Ia = da[fa + 8], Pa = da[fa + 9], Fa = da[fa + 10], Ba = da[fa + 11], Ma = da[fa + 12], Ga = da[fa + 13], za = da[fa + 14], Ya = da[fa + 15], Ka = Ea[0], Qa = Ea[1], pi = Ea[2], di = Ea[3];
|
76873
|
+
Ka = na(Ka, Qa, pi, di, ya, 7, ea[0]), di = na(di, Ka, Qa, pi, Sa, 12, ea[1]), pi = na(pi, di, Ka, Qa, Ta, 17, ea[2]), Qa = na(Qa, pi, di, Ka, wa, 22, ea[3]), Ka = na(Ka, Qa, pi, di, Na, 7, ea[4]), di = na(di, Ka, Qa, pi, Aa, 12, ea[5]), pi = na(pi, di, Ka, Qa, Ra, 17, ea[6]), Qa = na(Qa, pi, di, Ka, Va, 22, ea[7]), Ka = na(Ka, Qa, pi, di, Ia, 7, ea[8]), di = na(di, Ka, Qa, pi, Pa, 12, ea[9]), pi = na(pi, di, Ka, Qa, Fa, 17, ea[10]), Qa = na(Qa, pi, di, Ka, Ba, 22, ea[11]), Ka = na(Ka, Qa, pi, di, Ma, 7, ea[12]), di = na(di, Ka, Qa, pi, Ga, 12, ea[13]), pi = na(pi, di, Ka, Qa, za, 17, ea[14]), Qa = na(Qa, pi, di, Ka, Ya, 22, ea[15]), Ka = oa(Ka, Qa, pi, di, Sa, 5, ea[16]), di = oa(di, Ka, Qa, pi, Ra, 9, ea[17]), pi = oa(pi, di, Ka, Qa, Ba, 14, ea[18]), Qa = oa(Qa, pi, di, Ka, ya, 20, ea[19]), Ka = oa(Ka, Qa, pi, di, Aa, 5, ea[20]), di = oa(di, Ka, Qa, pi, Fa, 9, ea[21]), pi = oa(pi, di, Ka, Qa, Ya, 14, ea[22]), Qa = oa(Qa, pi, di, Ka, Na, 20, ea[23]), Ka = oa(Ka, Qa, pi, di, Pa, 5, ea[24]), di = oa(di, Ka, Qa, pi, za, 9, ea[25]), pi = oa(pi, di, Ka, Qa, wa, 14, ea[26]), Qa = oa(Qa, pi, di, Ka, Ia, 20, ea[27]), Ka = oa(Ka, Qa, pi, di, Ga, 5, ea[28]), di = oa(di, Ka, Qa, pi, Ta, 9, ea[29]), pi = oa(pi, di, Ka, Qa, Va, 14, ea[30]), Qa = oa(Qa, pi, di, Ka, Ma, 20, ea[31]), Ka = la(Ka, Qa, pi, di, Aa, 4, ea[32]), di = la(di, Ka, Qa, pi, Ia, 11, ea[33]), pi = la(pi, di, Ka, Qa, Ba, 16, ea[34]), Qa = la(Qa, pi, di, Ka, za, 23, ea[35]), Ka = la(Ka, Qa, pi, di, Sa, 4, ea[36]), di = la(di, Ka, Qa, pi, Na, 11, ea[37]), pi = la(pi, di, Ka, Qa, Va, 16, ea[38]), Qa = la(Qa, pi, di, Ka, Fa, 23, ea[39]), Ka = la(Ka, Qa, pi, di, Ga, 4, ea[40]), di = la(di, Ka, Qa, pi, ya, 11, ea[41]), pi = la(pi, di, Ka, Qa, wa, 16, ea[42]), Qa = la(Qa, pi, di, Ka, Ra, 23, ea[43]), Ka = la(Ka, Qa, pi, di, Pa, 4, ea[44]), di = la(di, Ka, Qa, pi, Ma, 11, ea[45]), pi = la(pi, di, Ka, Qa, Ya, 16, ea[46]), Qa = la(Qa, pi, di, Ka, Ta, 23, ea[47]), Ka = ca(Ka, Qa, pi, di, ya, 6, ea[48]), di = ca(di, Ka, Qa, pi, Va, 10, ea[49]), pi = ca(pi, di, Ka, Qa, za, 15, ea[50]), Qa = ca(Qa, pi, di, Ka, Aa, 21, ea[51]), Ka = ca(Ka, Qa, pi, di, Ma, 6, ea[52]), di = ca(di, Ka, Qa, pi, wa, 10, ea[53]), pi = ca(pi, di, Ka, Qa, Fa, 15, ea[54]), Qa = ca(Qa, pi, di, Ka, Sa, 21, ea[55]), Ka = ca(Ka, Qa, pi, di, Ia, 6, ea[56]), di = ca(di, Ka, Qa, pi, Ya, 10, ea[57]), pi = ca(pi, di, Ka, Qa, Ra, 15, ea[58]), Qa = ca(Qa, pi, di, Ka, Ga, 21, ea[59]), Ka = ca(Ka, Qa, pi, di, Na, 6, ea[60]), di = ca(di, Ka, Qa, pi, Ba, 10, ea[61]), pi = ca(pi, di, Ka, Qa, Ta, 15, ea[62]), Qa = ca(Qa, pi, di, Ka, Pa, 21, ea[63]), Ea[0] = Ea[0] + Ka | 0, Ea[1] = Ea[1] + Qa | 0, Ea[2] = Ea[2] + pi | 0, Ea[3] = Ea[3] + di | 0;
|
76874
|
+
},
|
76875
|
+
_doFinalize: function() {
|
76876
|
+
var da = this._data, fa = da.words, pa = this._nDataBytes * 8, ga = da.sigBytes * 8;
|
76877
|
+
fa[ga >>> 5] |= 128 << 24 - ga % 32;
|
76878
|
+
var ha = te.floor(pa / 4294967296), Ea = pa;
|
76879
|
+
fa[(ga + 64 >>> 9 << 4) + 15] = (ha << 8 | ha >>> 24) & 16711935 | (ha << 24 | ha >>> 8) & 4278255360, fa[(ga + 64 >>> 9 << 4) + 14] = (Ea << 8 | Ea >>> 24) & 16711935 | (Ea << 24 | Ea >>> 8) & 4278255360, da.sigBytes = (fa.length + 1) * 4, this._process();
|
76880
|
+
for (var ya = this._hash, Sa = ya.words, Ta = 0; Ta < 4; Ta++) {
|
76881
|
+
var wa = Sa[Ta];
|
76882
|
+
Sa[Ta] = (wa << 8 | wa >>> 24) & 16711935 | (wa << 24 | wa >>> 8) & 4278255360;
|
76883
|
+
}
|
76884
|
+
return ya;
|
76885
|
+
},
|
76886
|
+
clone: function() {
|
76887
|
+
var da = ue.clone.call(this);
|
76888
|
+
return da._hash = this._hash.clone(), da;
|
76870
76889
|
}
|
76871
|
-
|
76872
|
-
|
76873
|
-
|
76874
|
-
|
76875
|
-
var da = this._data, fa = da.words, pa = this._nDataBytes * 8, ga = da.sigBytes * 8;
|
76876
|
-
fa[ga >>> 5] |= 128 << 24 - ga % 32;
|
76877
|
-
var ha = te.floor(pa / 4294967296), Ea = pa;
|
76878
|
-
fa[(ga + 64 >>> 9 << 4) + 15] = (ha << 8 | ha >>> 24) & 16711935 | (ha << 24 | ha >>> 8) & 4278255360, fa[(ga + 64 >>> 9 << 4) + 14] = (Ea << 8 | Ea >>> 24) & 16711935 | (Ea << 24 | Ea >>> 8) & 4278255360, da.sigBytes = (fa.length + 1) * 4, this._process();
|
76879
|
-
for (var ya = this._hash, Sa = ya.words, Ta = 0; Ta < 4; Ta++) {
|
76880
|
-
var wa = Sa[Ta];
|
76881
|
-
Sa[Ta] = (wa << 8 | wa >>> 24) & 16711935 | (wa << 24 | wa >>> 8) & 4278255360;
|
76882
|
-
}
|
76883
|
-
return ya;
|
76884
|
-
},
|
76885
|
-
clone: function() {
|
76886
|
-
var da = ue.clone.call(this);
|
76887
|
-
return da._hash = this._hash.clone(), da;
|
76890
|
+
});
|
76891
|
+
function na(da, fa, pa, ga, ha, Ea, ya) {
|
76892
|
+
var Sa = da + (fa & pa | ~fa & ga) + ha + ya;
|
76893
|
+
return (Sa << Ea | Sa >>> 32 - Ea) + fa;
|
76888
76894
|
}
|
76889
|
-
|
76890
|
-
|
76891
|
-
|
76892
|
-
|
76893
|
-
|
76894
|
-
|
76895
|
-
|
76896
|
-
|
76897
|
-
|
76898
|
-
|
76899
|
-
|
76900
|
-
|
76901
|
-
|
76902
|
-
|
76903
|
-
|
76904
|
-
|
76905
|
-
|
76906
|
-
ne.MD5 = ue._createHelper(ta), ne.HmacMD5 = ue._createHmacHelper(ta);
|
76907
|
-
}(Math), U.MD5;
|
76908
|
-
});
|
76909
|
-
})(md5$2);
|
76910
|
-
const md5$1 = md5$2.exports;
|
76895
|
+
function oa(da, fa, pa, ga, ha, Ea, ya) {
|
76896
|
+
var Sa = da + (fa & ga | pa & ~ga) + ha + ya;
|
76897
|
+
return (Sa << Ea | Sa >>> 32 - Ea) + fa;
|
76898
|
+
}
|
76899
|
+
function la(da, fa, pa, ga, ha, Ea, ya) {
|
76900
|
+
var Sa = da + (fa ^ pa ^ ga) + ha + ya;
|
76901
|
+
return (Sa << Ea | Sa >>> 32 - Ea) + fa;
|
76902
|
+
}
|
76903
|
+
function ca(da, fa, pa, ga, ha, Ea, ya) {
|
76904
|
+
var Sa = da + (pa ^ (fa | ~ga)) + ha + ya;
|
76905
|
+
return (Sa << Ea | Sa >>> 32 - Ea) + fa;
|
76906
|
+
}
|
76907
|
+
ne.MD5 = ue._createHelper(ta), ne.HmacMD5 = ue._createHmacHelper(ta);
|
76908
|
+
}(Math), U.MD5;
|
76909
|
+
});
|
76910
|
+
}(md5$1)), md5$1.exports;
|
76911
|
+
}
|
76911
76912
|
var evpkdf = { exports: {} }, sha1 = { exports: {} }, hasRequiredSha1;
|
76912
76913
|
function requireSha1() {
|
76913
76914
|
return hasRequiredSha1 || (hasRequiredSha1 = 1, function(e, G) {
|
@@ -77213,7 +77214,7 @@ function requireCipherCore() {
|
|
77213
77214
|
}
|
77214
77215
|
(function(e, G) {
|
77215
77216
|
(function(U, te, ne) {
|
77216
|
-
e.exports = te(requireCore(), encBase64.exports,
|
77217
|
+
e.exports = te(requireCore(), encBase64.exports, requireMd5(), requireEvpkdf(), requireCipherCore());
|
77217
77218
|
})(commonjsGlobal, function(U) {
|
77218
77219
|
return function() {
|
77219
77220
|
var te = U, ne = te.lib, oe = ne.BlockCipher, ie = te.algo, ue = [], st = [], ea = [], ta = [], na = [], oa = [], la = [], ca = [], da = [], fa = [];
|
@@ -77277,7 +77278,7 @@ var encUtf8 = { exports: {} };
|
|
77277
77278
|
});
|
77278
77279
|
})(encUtf8);
|
77279
77280
|
const UTF8 = encUtf8.exports;
|
77280
|
-
var modeEcb = { exports: {} };
|
77281
|
+
var md5Exports = requireMd5(), modeEcb = { exports: {} };
|
77281
77282
|
(function(e, G) {
|
77282
77283
|
(function(U, te, ne) {
|
77283
77284
|
e.exports = te(requireCore(), requireCipherCore());
|
@@ -77336,7 +77337,7 @@ function decodeByBase64(e) {
|
|
77336
77337
|
return Base64.parse(e).toString(UTF8);
|
77337
77338
|
}
|
77338
77339
|
function encryptByMd5(e) {
|
77339
|
-
return
|
77340
|
+
return md5Exports(e).toString();
|
77340
77341
|
}
|
77341
77342
|
const create$2 = ({
|
77342
77343
|
prefixKey: e = "",
|
@@ -95635,13 +95636,14 @@ const KgFormItemSelect = defineComponent({
|
|
95635
95636
|
onBlur: ga
|
95636
95637
|
}, {
|
95637
95638
|
default: () => na.value.map((ya) => {
|
95638
|
-
|
95639
|
+
const Sa = _KgUtil.evaluateVarConfigPossibilityLabel(ya, ea.value, st.value);
|
95639
95640
|
return createVNode(Select$2.Option, {
|
95640
95641
|
"kg-value": ya[st.value],
|
95641
95642
|
key: ya.id,
|
95642
|
-
title:
|
95643
|
-
value: ya[st.value]
|
95644
|
-
|
95643
|
+
title: Sa,
|
95644
|
+
value: ya[st.value],
|
95645
|
+
label: Sa
|
95646
|
+
}, _isSlot$c(Sa) ? Sa : {
|
95645
95647
|
default: () => [Sa]
|
95646
95648
|
});
|
95647
95649
|
}),
|
@@ -97066,7 +97068,7 @@ const getProps$A = () => ({
|
|
97066
97068
|
onClick: Ia
|
97067
97069
|
}, _isSlot$a(xi = te.t("kg.cancel")) ? xi : {
|
97068
97070
|
default: () => [xi]
|
97069
|
-
}), ((Si = ne.kgSubmit.currentVarSubmitConfig$Props.value.
|
97071
|
+
}), ((Si = ne.kgSubmit.currentVarSubmitConfig$Props.value.okButton) == null ? void 0 : Si.isShow) !== !1 && createVNode(Button$2, {
|
97070
97072
|
type: "primary",
|
97071
97073
|
disabled: st.value,
|
97072
97074
|
loading: ie.value,
|
@@ -3,8 +3,8 @@ import { FormInstance } from 'ant-design-vue';
|
|
3
3
|
import { RuleObject } from 'ant-design-vue/es/form';
|
4
4
|
import { ComputedRef, Ref } from 'vue';
|
5
5
|
import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
|
6
|
-
import { IKgVarSubmitConfigProperties,
|
7
|
-
import { eventListeners,
|
6
|
+
import { IKgVarSubmitConfigProperties, KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT, KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../const';
|
7
|
+
import { eventListeners, IKgSubmitOnAfterValidateEventListener, IKgSubmitOnBeforeCancelEventListener, IKgSubmitOnBeforeOkEventListener, IKgSubmitOnBeforeOpenEventListener, IKgSubmitOnBeforeRequestEventListener, IKgSubmitOnCancelEventListener, IKgSubmitOnCloseEventListener, IKgSubmitOnErrorEventListener, IKgSubmitOnOkEventListener, IKgSubmitOnOpenEventListener, IKgSubmitOnSubmitCancelEventListener, IKgSubmitOnSubmitSaveEventListener } from './KgSubmit.event';
|
8
8
|
import { IKgSubmitStore } from './KgSubmit.store';
|
9
9
|
export interface IUseKgSubmit {
|
10
10
|
/**
|
@@ -105,7 +105,7 @@ export interface IUseKgSubmit {
|
|
105
105
|
* @param param.buttonVarName <p>按钮的变量名称, 对应的是 {@link VarButton.var_nam} 属性.</p>
|
106
106
|
*/
|
107
107
|
getVarSubmitConfig(param?: {
|
108
|
-
buttonType?:
|
108
|
+
buttonType?: string;
|
109
109
|
buttonVarName?: string | null;
|
110
110
|
}): VarSubmitConfig | null;
|
111
111
|
/**
|
@@ -151,7 +151,7 @@ export interface IUseKgSubmit {
|
|
151
151
|
* @param param.varName 提交表单字段的变量名, 对应的是 {@link VarSubmitDetail.var_nam} 属性.
|
152
152
|
*/
|
153
153
|
getVarSubmitDetails(param?: {
|
154
|
-
buttonType?:
|
154
|
+
buttonType?: string;
|
155
155
|
buttonVarName?: string | null;
|
156
156
|
isKey?: 0 | 1 | null;
|
157
157
|
isVisible?: 0 | 1 | null;
|
@@ -285,7 +285,7 @@ export interface IUseKgSubmit {
|
|
285
285
|
* @param param.varName 「提交表单字段」的变量名称, 对应的是 {@link VarSubmitDetail.var_nam} 属性.
|
286
286
|
*/
|
287
287
|
patchVarSubmitDetail(param: {
|
288
|
-
buttonType?:
|
288
|
+
buttonType?: string;
|
289
289
|
buttonVarName?: string | null;
|
290
290
|
properties: VarSubmitDetail;
|
291
291
|
varName: string | null | undefined;
|
@@ -3,7 +3,6 @@ import { FormInstance } from 'ant-design-vue/lib/form/Form';
|
|
3
3
|
import { StoreDefinition } from 'pinia';
|
4
4
|
import { Ref } from 'vue';
|
5
5
|
import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
|
6
|
-
import { KG__VAR_BUTTON__TYPE } from '../../const';
|
7
6
|
export interface IUseKgSubmitStoreState {
|
8
7
|
/** 表单数据对象. */
|
9
8
|
formModelMap: Map<string, Record<string, any>>;
|
@@ -23,7 +22,7 @@ export interface IUseKgSubmitStoreGetters {
|
|
23
22
|
/** 是否处于加载状态. */
|
24
23
|
getIsLoading(): (formID: string | null | undefined) => boolean;
|
25
24
|
getVarSubmitConfig(): (formID: string | null | undefined, param?: {
|
26
|
-
buttonType?:
|
25
|
+
buttonType?: string;
|
27
26
|
buttonVarName?: string | null;
|
28
27
|
}) => VarSubmitConfig | null;
|
29
28
|
getVarSubmitConfigs(): (formID: string | null | undefined) => Array<VarSubmitConfig>;
|
@@ -31,7 +30,7 @@ export interface IUseKgSubmitStoreGetters {
|
|
31
30
|
varProfileDetail: VarProfileDetail | null;
|
32
31
|
}) => VarSubmitDetail | null;
|
33
32
|
getVarSubmitDetails(): (formID: string | null | undefined, param?: {
|
34
|
-
buttonType?:
|
33
|
+
buttonType?: string;
|
35
34
|
buttonVarName?: string | null;
|
36
35
|
isKey?: 0 | 1 | null;
|
37
36
|
isVisible?: 0 | 1 | null;
|
@@ -53,7 +52,7 @@ export interface IUseKgSubmitStoreActions {
|
|
53
52
|
*/
|
54
53
|
dispose(formID: string | null | undefined): void;
|
55
54
|
patchVarSubmitDetail(formID: string | null | undefined, param: {
|
56
|
-
buttonType?:
|
55
|
+
buttonType?: string;
|
57
56
|
buttonVarName?: string | null;
|
58
57
|
properties: VarSubmitDetail;
|
59
58
|
varName: string | null | undefined;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.28.2-beta.
|
3
|
+
"version": "0.28.2-beta.9",
|
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",
|
@@ -17,6 +17,8 @@
|
|
17
17
|
"------- ------------------------------------------": "",
|
18
18
|
"copy-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
19
19
|
"bump-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
20
|
+
"copy-to:luotao:smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts",
|
21
|
+
"bump-to:luotao:smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && tsx script/bump-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts",
|
20
22
|
"----- --------------------------------------------": "更新组件库的版本",
|
21
23
|
"bump:major": "npm run use-node && tsx script/bump.ts major",
|
22
24
|
"bump:minor": "npm run use-node && tsx script/bump.ts minor",
|