@kengic/vue 0.15.0 → 0.15.1
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
|
@@ -2870,7 +2870,7 @@ const emptyIcon = {
|
|
|
2870
2870
|
...t.data
|
|
2871
2871
|
}, r);
|
|
2872
2872
|
}
|
|
2873
|
-
}), name = "@kengic/vue", version = "0.15.
|
|
2873
|
+
}), name = "@kengic/vue", version = "0.15.1", data$1 = {
|
|
2874
2874
|
width: 24,
|
|
2875
2875
|
height: 24,
|
|
2876
2876
|
body: '<path fill="currentColor" d="M5 21q-.825 0-1.413-.588T3 19V5q0-.825.588-1.413T5 3h11.175q.4 0 .763.15t.637.425l2.85 2.85q.275.275.425.638t.15.762V12.3q-.475-.2-.988-.263T19 12.05V7.825L16.175 5H5v14h6v2H5ZM5 5v14V5Zm8 17v-1.65q0-.2.075-.388t.225-.337l5.225-5.2q.225-.225.5-.325t.55-.1q.3 0 .575.113t.5.337l.925.925q.2.225.313.5t.112.55q0 .275-.1.563t-.325.512l-5.2 5.2q-.15.15-.338.225T15.65 23H14q-.425 0-.712-.287T13 22Zm7.5-5.575l-.925-.925l.925.925Zm-6 5.075h.95l3.025-3.05l-.45-.475l-.475-.45l-3.05 3.025v.95Zm3.525-3.525l-.475-.45l.925.925l-.45-.475ZM7 10h7q.425 0 .713-.288T15 9V7q0-.425-.288-.713T14 6H7q-.425 0-.713.288T6 7v2q0 .425.288.713T7 10Zm5 8h.1l2.9-2.875V15q0-1.25-.875-2.125T12 12q-1.25 0-2.125.875T9 15q0 1.25.875 2.125T12 18Z"/>'
|
|
@@ -6783,6 +6783,7 @@ class UpdateVarGridMasterQuery {
|
|
|
6783
6783
|
}
|
|
6784
6784
|
class VarButton {
|
|
6785
6785
|
constructor(t) {
|
|
6786
|
+
b(this, "available_flag");
|
|
6786
6787
|
b(this, "cmd");
|
|
6787
6788
|
b(this, "cmd_method");
|
|
6788
6789
|
b(this, "cmd_prm");
|
|
@@ -6809,6 +6810,7 @@ class VarButton {
|
|
|
6809
6810
|
b(this, "var_nam");
|
|
6810
6811
|
keys(t != null ? t : {}).forEach((r) => {
|
|
6811
6812
|
switch (r) {
|
|
6813
|
+
case "available_flag":
|
|
6812
6814
|
case "cmd":
|
|
6813
6815
|
case "cmd_method":
|
|
6814
6816
|
case "cmd_prm":
|
|
@@ -7498,6 +7500,7 @@ class WhDTO {
|
|
|
7498
7500
|
b(this, "activeFlg");
|
|
7499
7501
|
b(this, "adrId");
|
|
7500
7502
|
b(this, "adrnam");
|
|
7503
|
+
b(this, "comCod");
|
|
7501
7504
|
b(this, "defWhFlg");
|
|
7502
7505
|
b(this, "id");
|
|
7503
7506
|
b(this, "orgcod");
|
|
@@ -7512,6 +7515,7 @@ class WhDTO {
|
|
|
7512
7515
|
case "activeFlg":
|
|
7513
7516
|
case "adrId":
|
|
7514
7517
|
case "adrnam":
|
|
7518
|
+
case "comCod":
|
|
7515
7519
|
case "defWhFlg":
|
|
7516
7520
|
case "id":
|
|
7517
7521
|
case "orgcod":
|
|
@@ -13966,12 +13970,12 @@ const getProps$h = () => ({
|
|
|
13966
13970
|
disabled: l.value,
|
|
13967
13971
|
ghost: !e.kgPrimary && !l.value,
|
|
13968
13972
|
onClick: o,
|
|
13969
|
-
class: t.class,
|
|
13970
13973
|
"kg-id": (u = s.value) == null ? void 0 : u.id,
|
|
13971
13974
|
"kg-frm_id": (d = s.value) == null ? void 0 : d.frm_id,
|
|
13972
13975
|
"kg-var_nam": (p = s.value) == null ? void 0 : p.var_nam,
|
|
13973
13976
|
"kg-cmd": (E = s.value) == null ? void 0 : E.cmd,
|
|
13974
|
-
"kg-permission": (_ = (y = s.value) == null ? void 0 : y.permission_code) != null ? _ : ""
|
|
13977
|
+
"kg-permission": (_ = (y = s.value) == null ? void 0 : y.permission_code) != null ? _ : "",
|
|
13978
|
+
class: t.class
|
|
13975
13979
|
}, {
|
|
13976
13980
|
default: () => [i(), c()]
|
|
13977
13981
|
});
|
|
@@ -14189,12 +14193,12 @@ const KgButtonCreate = defineComponent({
|
|
|
14189
14193
|
type: "primary",
|
|
14190
14194
|
disabled: u.value,
|
|
14191
14195
|
onClick: p,
|
|
14192
|
-
class: a.class,
|
|
14193
14196
|
"kg-id": (T = c.value) == null ? void 0 : T.id,
|
|
14194
14197
|
"kg-frm_id": (k = c.value) == null ? void 0 : k.frm_id,
|
|
14195
14198
|
"kg-var_nam": (I = c.value) == null ? void 0 : I.var_nam,
|
|
14196
14199
|
"kg-cmd": (C = c.value) == null ? void 0 : C.cmd,
|
|
14197
|
-
"kg-permission": (A = (R = c.value) == null ? void 0 : R.permission_code) != null ? A : ""
|
|
14200
|
+
"kg-permission": (A = (R = c.value) == null ? void 0 : R.permission_code) != null ? A : "",
|
|
14201
|
+
class: a.class
|
|
14198
14202
|
}, {
|
|
14199
14203
|
default: () => [_(), g()]
|
|
14200
14204
|
});
|
|
@@ -14420,7 +14424,6 @@ const KgButtonCreate = defineComponent({
|
|
|
14420
14424
|
default: () => {
|
|
14421
14425
|
var m, v, T, k, I, C;
|
|
14422
14426
|
return [createVNode(Button, {
|
|
14423
|
-
class: r.class,
|
|
14424
14427
|
type: "primary",
|
|
14425
14428
|
disabled: p.value,
|
|
14426
14429
|
ghost: !e.kgPrimary && !p.value,
|
|
@@ -14429,7 +14432,8 @@ const KgButtonCreate = defineComponent({
|
|
|
14429
14432
|
"kg-frm_id": (v = i.value) == null ? void 0 : v.frm_id,
|
|
14430
14433
|
"kg-var_nam": (T = i.value) == null ? void 0 : T.var_nam,
|
|
14431
14434
|
"kg-cmd": (k = i.value) == null ? void 0 : k.cmd,
|
|
14432
|
-
"kg-permission": (C = (I = i.value) == null ? void 0 : I.permission_code) != null ? C : ""
|
|
14435
|
+
"kg-permission": (C = (I = i.value) == null ? void 0 : I.permission_code) != null ? C : "",
|
|
14436
|
+
class: r.class
|
|
14433
14437
|
}, {
|
|
14434
14438
|
default: () => [_(), g()]
|
|
14435
14439
|
})];
|
|
@@ -14701,12 +14705,12 @@ const KgButtonCreate = defineComponent({
|
|
|
14701
14705
|
disabled: u.value,
|
|
14702
14706
|
ghost: !e.kgPrimary && !u.value,
|
|
14703
14707
|
onClick: p,
|
|
14704
|
-
class: a.class,
|
|
14705
14708
|
"kg-id": (T = c.value) == null ? void 0 : T.id,
|
|
14706
14709
|
"kg-frm_id": (k = c.value) == null ? void 0 : k.frm_id,
|
|
14707
14710
|
"kg-var_nam": (I = c.value) == null ? void 0 : I.var_nam,
|
|
14708
14711
|
"kg-cmd": (C = c.value) == null ? void 0 : C.cmd,
|
|
14709
|
-
"kg-permission": (A = (R = c.value) == null ? void 0 : R.permission_code) != null ? A : ""
|
|
14712
|
+
"kg-permission": (A = (R = c.value) == null ? void 0 : R.permission_code) != null ? A : "",
|
|
14713
|
+
class: a.class
|
|
14710
14714
|
}, {
|
|
14711
14715
|
default: () => [_(), g()]
|
|
14712
14716
|
});
|
|
@@ -14858,8 +14862,8 @@ const getProps$e = () => ({
|
|
|
14858
14862
|
}, null);
|
|
14859
14863
|
}
|
|
14860
14864
|
function y() {
|
|
14861
|
-
var g;
|
|
14862
|
-
return (g = n.varButtons.value) == null ? void 0 : g.filter((
|
|
14865
|
+
var g, m;
|
|
14866
|
+
return (m = (g = n.varButtons.value) == null ? void 0 : g.filter((v) => v.typ !== KG_BUTTON_TYPE.SEARCH)) == null ? void 0 : m.filter((v) => v.available_flag !== 0).map((v) => E(v));
|
|
14863
14867
|
}
|
|
14864
14868
|
function _() {
|
|
14865
14869
|
return createVNode(Dropdown, {
|
|
@@ -14873,11 +14877,11 @@ const getProps$e = () => ({
|
|
|
14873
14877
|
}),
|
|
14874
14878
|
overlay: () => createVNode(Menu, null, {
|
|
14875
14879
|
default: () => {
|
|
14876
|
-
var g, m;
|
|
14877
|
-
return [(m = (g = n.varButtons.value) == null ? void 0 : g.filter((
|
|
14878
|
-
let
|
|
14879
|
-
return createVNode(Menu.Item, null, _isSlot$3(
|
|
14880
|
-
default: () => [
|
|
14880
|
+
var g, m, v;
|
|
14881
|
+
return [(v = (m = (g = n.varButtons.value) == null ? void 0 : g.filter((T) => T.typ !== KG_BUTTON_TYPE.SEARCH)) == null ? void 0 : m.filter((T) => T.available_flag === 0)) == null ? void 0 : v.filter((T) => !(KgAuthUtil.getPermissionType(T.permission_code) !== 2 && !a.p(T.permission_code))).map((T) => {
|
|
14882
|
+
let k;
|
|
14883
|
+
return createVNode(Menu.Item, null, _isSlot$3(k = E(T)) ? k : {
|
|
14884
|
+
default: () => [k]
|
|
14881
14885
|
});
|
|
14882
14886
|
})];
|
|
14883
14887
|
}
|
|
@@ -18257,6 +18261,7 @@ class ListVOQuery {
|
|
|
18257
18261
|
b(this, "activeFlg");
|
|
18258
18262
|
b(this, "adrId");
|
|
18259
18263
|
b(this, "adrnam");
|
|
18264
|
+
b(this, "comCod");
|
|
18260
18265
|
b(this, "defWhFlg");
|
|
18261
18266
|
b(this, "id");
|
|
18262
18267
|
b(this, "orgcod");
|
|
@@ -18275,6 +18280,7 @@ class ListVOQuery {
|
|
|
18275
18280
|
case "activeFlg":
|
|
18276
18281
|
case "adrId":
|
|
18277
18282
|
case "adrnam":
|
|
18283
|
+
case "comCod":
|
|
18278
18284
|
case "defWhFlg":
|
|
18279
18285
|
case "id":
|
|
18280
18286
|
case "orgcod":
|
|
@@ -2,12 +2,14 @@ import { IRequestConfig, IRequestOptions } from '../../../../services';
|
|
|
2
2
|
import * as DEF from '../../../def';
|
|
3
3
|
/** 请求参数. */
|
|
4
4
|
export declare class ListVOQuery {
|
|
5
|
-
/**
|
|
5
|
+
/** 是否可用 */
|
|
6
6
|
activeFlg?: number | null;
|
|
7
7
|
/** 地址编号 */
|
|
8
8
|
adrId?: string | null;
|
|
9
|
-
/**
|
|
9
|
+
/** 地址名 */
|
|
10
10
|
adrnam?: string | null;
|
|
11
|
+
/** 公司代码 */
|
|
12
|
+
comCod?: string | null;
|
|
11
13
|
/** 默认仓库 */
|
|
12
14
|
defWhFlg?: number | null;
|
|
13
15
|
/** 主键. */
|
|
@@ -22,7 +24,7 @@ export declare class ListVOQuery {
|
|
|
22
24
|
permCreLod?: string | null;
|
|
23
25
|
/** 永久创建箱 */
|
|
24
26
|
permCreSub?: string | null;
|
|
25
|
-
/**
|
|
27
|
+
/** 仓库名称 */
|
|
26
28
|
whDsc?: string | null;
|
|
27
29
|
/** 仓库编号 */
|
|
28
30
|
whId?: string | null;
|
|
@@ -71,6 +71,8 @@ export declare class UpdateVarGridMasterQuery {
|
|
|
71
71
|
}
|
|
72
72
|
/** 按钮 */
|
|
73
73
|
export declare class VarButton {
|
|
74
|
+
/** 是否可用. */
|
|
75
|
+
available_flag?: number | null;
|
|
74
76
|
/** 接口地址(Command). */
|
|
75
77
|
cmd?: string | null;
|
|
76
78
|
/** 接口方法(CommandMethod). */
|
|
@@ -667,14 +669,16 @@ export declare class VarVariableInput {
|
|
|
667
669
|
var_nam?: string | null;
|
|
668
670
|
constructor(obj?: VarVariableInput);
|
|
669
671
|
}
|
|
670
|
-
/**
|
|
672
|
+
/** 仓库数据传输对象 */
|
|
671
673
|
export declare class WhDTO {
|
|
672
|
-
/**
|
|
674
|
+
/** 是否可用 */
|
|
673
675
|
activeFlg?: number | null;
|
|
674
676
|
/** 地址编号 */
|
|
675
677
|
adrId?: string | null;
|
|
676
|
-
/**
|
|
678
|
+
/** 地址名 */
|
|
677
679
|
adrnam?: string | null;
|
|
680
|
+
/** 公司代码 */
|
|
681
|
+
comCod?: string | null;
|
|
678
682
|
/** 默认仓库 */
|
|
679
683
|
defWhFlg?: number | null;
|
|
680
684
|
/** 主键. */
|
|
@@ -689,7 +693,7 @@ export declare class WhDTO {
|
|
|
689
693
|
permCreLod?: string | null;
|
|
690
694
|
/** 永久创建箱 */
|
|
691
695
|
permCreSub?: string | null;
|
|
692
|
-
/**
|
|
696
|
+
/** 仓库名称 */
|
|
693
697
|
whDsc?: string | null;
|
|
694
698
|
/** 仓库编号 */
|
|
695
699
|
whId?: string | null;
|
package/package.json
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"build": "rimraf dist && vue-tsc && vite build",
|
|
6
|
-
"build:dev": "rimraf dist && vue-tsc && vite build --mode development",
|
|
5
|
+
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
|
6
|
+
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|
|
7
7
|
"publish:all:beta": "npm run bump-version:beta && npm run publish:all",
|
|
8
8
|
"publish:all:patch": "npm run bump-version:patch && npm run publish:all",
|
|
9
9
|
"publish:all:minor": "npm run bump-version:minor && npm run publish:all",
|
|
10
10
|
"publish:all:major": "npm run bump-version:major && npm run publish:all",
|
|
11
11
|
"----------------------- C": "",
|
|
12
|
-
"bump-to:luotao.c.wms-vue3": "tsx scripts/bump-to.luotao.c.wms-vue3.ts",
|
|
12
|
+
"bump-to:luotao.c.wms-vue3": "npm run switch-node-version && tsx scripts/bump-to.luotao.c.wms-vue3.ts",
|
|
13
13
|
"copy-to:luotao.c.wms-vue3": "npm run build:dev && tsx scripts/copy-to.luotao.c.wms-vue3.ts",
|
|
14
|
-
"bump-to:luotao.c.wms-vue3:focus": "tsx scripts/bump-to.luotao.c.wms-vue3.focus.ts",
|
|
14
|
+
"bump-to:luotao.c.wms-vue3:focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.c.wms-vue3.focus.ts",
|
|
15
15
|
"copy-to:luotao.c.wms-vue3:focus": "npm run build:dev && tsx scripts/copy-to.luotao.c.wms-vue3.focus.ts",
|
|
16
16
|
"--------------------- D": "",
|
|
17
|
-
"bump-to:luotao.wms-vue3": "tsx scripts/bump-to.luotao.wms-vue3.ts",
|
|
17
|
+
"bump-to:luotao.wms-vue3": "npm run switch-node-version && tsx scripts/bump-to.luotao.wms-vue3.ts",
|
|
18
18
|
"copy-to:luotao.wms-vue3": "npm run build:dev && tsx scripts/copy-to.luotao.wms-vue3.ts",
|
|
19
|
-
"bump-to:luotao.wms-vue3:focus": "tsx scripts/bump-to.luotao.wms-vue3.focus.ts",
|
|
19
|
+
"bump-to:luotao.wms-vue3:focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.wms-vue3.focus.ts",
|
|
20
20
|
"copy-to:luotao.wms-vue3:focus": "npm run build:dev && tsx scripts/copy-to.luotao.wms-vue3.focus.ts",
|
|
21
21
|
"--------------------": "",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"bump-version:
|
|
26
|
-
"bump-version:
|
|
27
|
-
"bump-version:
|
|
28
|
-
"
|
|
29
|
-
"publish:
|
|
22
|
+
"switch-node-version": "node scripts/switch-node-version.mjs --experimental-default-type=module",
|
|
23
|
+
"cnpm:sync": "npm run switch-node-version && cnpm sync @kengic/vue",
|
|
24
|
+
"gen:apis:WMS": "npm run switch-node-version && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
|
25
|
+
"bump-version:beta": "npm run switch-node-version && tsx scripts/bump.ts beta",
|
|
26
|
+
"bump-version:major": "npm run switch-node-version && tsx scripts/bump.ts major",
|
|
27
|
+
"bump-version:minor": "npm run switch-node-version && tsx scripts/bump.ts minor",
|
|
28
|
+
"bump-version:patch": "npm run switch-node-version && tsx scripts/bump.ts patch",
|
|
29
|
+
"publish:all": "npm run switch-node-version && tsx scripts/publish.ts",
|
|
30
|
+
"publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public"
|
|
30
31
|
},
|
|
31
32
|
"peerDependencies": {
|
|
32
33
|
"vue": "3.2.43"
|