@kengic/vue 0.19.2-beta.8 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +247 -270
- package/dist/src/apis/WMS/models.d.ts +2 -2
- package/dist/src/components/KgButton/index.hooks.d.ts +0 -5
- package/dist/src/components/KgLayoutHeader/index.d.ts +1 -0
- package/dist/src/components/KgLayoutHeader/index.hooks.d.ts +4 -0
- package/dist/src/components/KgSearch/KgSearch.d.ts +7 -7
- package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +1 -2
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/config/index.hooks.d.ts +3 -0
- package/dist/src/config/index.store.d.ts +10 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +6 -6
- package/package.json +1 -1
@@ -337,8 +337,6 @@ export declare class VarButton {
|
|
337
337
|
dis_mult_select_flg?: number | null;
|
338
338
|
/** 是否在未勾选行时禁用(DisableWhenNoSelect). */
|
339
339
|
dis_no_select_flg?: number | null;
|
340
|
-
/** 是否启用(EnableFlag). */
|
341
|
-
ena_flg?: number | null;
|
342
340
|
/** 导出 EXCEL 的文件名. */
|
343
341
|
export_excel_filename?: string | null;
|
344
342
|
/** 导出 EXCEL 的文件名后缀. */
|
@@ -773,6 +771,8 @@ export declare class VarSubmitField {
|
|
773
771
|
key_flg?: number | null;
|
774
772
|
/** 提示文字(Placeholder). */
|
775
773
|
placeholder?: string | null;
|
774
|
+
/** 是否必填. */
|
775
|
+
required_flag?: number | null;
|
776
776
|
/** 所属分组. */
|
777
777
|
section?: string | null;
|
778
778
|
/** 显示顺序. */
|
@@ -36,11 +36,6 @@ export declare type IUseKgButton = {
|
|
36
36
|
* @param once 是否只会触发一次. 默认为 undefined.
|
37
37
|
*/
|
38
38
|
onImportOk(cb: IKgButtonImportOkCb, once?: boolean): IRemoveEventListenerHandler;
|
39
|
-
/**
|
40
|
-
* 事件: other 类型的按钮接口调用成功.
|
41
|
-
* @param cb 回调函数.
|
42
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
43
|
-
*/
|
44
39
|
onOtherOk(cb: IKgButtonOtherOkCb, once?: boolean): IRemoveEventListenerHandler;
|
45
40
|
/**
|
46
41
|
* 事件: 表格内编辑时, 点击保存按钮.
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './index.hooks';
|
@@ -6,8 +6,8 @@ export declare const getProps: () => {
|
|
6
6
|
type: PropType<boolean>;
|
7
7
|
default: undefined;
|
8
8
|
};
|
9
|
-
/**
|
10
|
-
|
9
|
+
/** 是否将头部放到页面头部. */
|
10
|
+
kgTeleportToHeader: {
|
11
11
|
type: PropType<boolean>;
|
12
12
|
default: undefined;
|
13
13
|
};
|
@@ -19,8 +19,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
19
19
|
type: PropType<boolean>;
|
20
20
|
default: undefined;
|
21
21
|
};
|
22
|
-
/**
|
23
|
-
|
22
|
+
/** 是否将头部放到页面头部. */
|
23
|
+
kgTeleportToHeader: {
|
24
24
|
type: PropType<boolean>;
|
25
25
|
default: undefined;
|
26
26
|
};
|
@@ -30,13 +30,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
30
30
|
type: PropType<boolean>;
|
31
31
|
default: undefined;
|
32
32
|
};
|
33
|
-
/**
|
34
|
-
|
33
|
+
/** 是否将头部放到页面头部. */
|
34
|
+
kgTeleportToHeader: {
|
35
35
|
type: PropType<boolean>;
|
36
36
|
default: undefined;
|
37
37
|
};
|
38
38
|
}>>, {
|
39
39
|
kgDisabled: boolean;
|
40
|
-
|
40
|
+
kgTeleportToHeader: boolean;
|
41
41
|
}>;
|
42
42
|
export default _default;
|
@@ -21,11 +21,10 @@ export declare function getDefaultHeight(varProfileDetails?: Array<VarProfileDet
|
|
21
21
|
* @param headerTeleport 是否将头部放到顶部的导航栏中.
|
22
22
|
*/
|
23
23
|
export declare function getMaxHeight(varProfileDetails?: Array<VarProfileDetail> | null, headerTeleport?: boolean | null): number;
|
24
|
-
export declare function _useLayoutHeaderResizeObserver(): {};
|
25
24
|
export declare function _useCommon(): {
|
26
25
|
isVisible: import("vue").ComputedRef<boolean>;
|
27
26
|
isResizable: import("vue").ComputedRef<boolean>;
|
28
|
-
|
27
|
+
isTeleportToHeader: import("vue").ComputedRef<boolean>;
|
29
28
|
formLevel: import("vue").ComputedRef<number>;
|
30
29
|
defaultHeight: import("vue").ComputedRef<number>;
|
31
30
|
maxHeight: import("vue").ComputedRef<number>;
|
@@ -74,6 +74,9 @@ export declare function useKg(pinia?: Pinia): {
|
|
74
74
|
on?: boolean | undefined;
|
75
75
|
defaultWarehouseID?: string | undefined;
|
76
76
|
} | undefined;
|
77
|
+
KgLayoutTab?: {
|
78
|
+
isTeleportToHeader?: boolean | undefined;
|
79
|
+
} | undefined;
|
77
80
|
}>;
|
78
81
|
/** 翻译. */
|
79
82
|
t: import("./index.store").T;
|
@@ -85,6 +85,16 @@ export declare type IKgOption = {
|
|
85
85
|
/** 默认的仓库编码, 只有在 {@link IKgOption.KgWarehouse.on} 为 false 时才生效. */
|
86
86
|
defaultWarehouseID?: string;
|
87
87
|
};
|
88
|
+
/**
|
89
|
+
* 多标签页.
|
90
|
+
*/
|
91
|
+
KgLayoutTab?: {
|
92
|
+
/**
|
93
|
+
* <p>是否放到页面头部区域.</p>
|
94
|
+
* @default true
|
95
|
+
*/
|
96
|
+
isTeleportToHeader?: boolean;
|
97
|
+
};
|
88
98
|
};
|
89
99
|
/** 翻译的方法. */
|
90
100
|
export declare type T = {
|
@@ -50,7 +50,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
50
50
|
del_param_clm?: string | null | undefined;
|
51
51
|
dis_mult_select_flg?: number | null | undefined;
|
52
52
|
dis_no_select_flg?: number | null | undefined;
|
53
|
-
ena_flg?: number | null | undefined;
|
54
53
|
export_excel_filename?: string | null | undefined;
|
55
54
|
export_excel_suffix?: string | null | undefined;
|
56
55
|
frm_id?: string | null | undefined;
|
@@ -224,6 +223,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
224
223
|
id?: string | null | undefined;
|
225
224
|
key_flg?: number | null | undefined;
|
226
225
|
placeholder?: string | null | undefined;
|
226
|
+
required_flag?: number | null | undefined;
|
227
227
|
section?: string | null | undefined;
|
228
228
|
srtseq?: number | null | undefined;
|
229
229
|
upt_dft_val?: string | null | undefined;
|
@@ -314,7 +314,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
314
314
|
del_param_clm?: string | null | undefined;
|
315
315
|
dis_mult_select_flg?: number | null | undefined;
|
316
316
|
dis_no_select_flg?: number | null | undefined;
|
317
|
-
ena_flg?: number | null | undefined;
|
318
317
|
export_excel_filename?: string | null | undefined;
|
319
318
|
export_excel_suffix?: string | null | undefined;
|
320
319
|
frm_id?: string | null | undefined;
|
@@ -488,6 +487,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
488
487
|
id?: string | null | undefined;
|
489
488
|
key_flg?: number | null | undefined;
|
490
489
|
placeholder?: string | null | undefined;
|
490
|
+
required_flag?: number | null | undefined;
|
491
491
|
section?: string | null | undefined;
|
492
492
|
srtseq?: number | null | undefined;
|
493
493
|
upt_dft_val?: string | null | undefined;
|
@@ -612,7 +612,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
612
612
|
del_param_clm?: string | null | undefined;
|
613
613
|
dis_mult_select_flg?: number | null | undefined;
|
614
614
|
dis_no_select_flg?: number | null | undefined;
|
615
|
-
ena_flg?: number | null | undefined;
|
616
615
|
export_excel_filename?: string | null | undefined;
|
617
616
|
export_excel_suffix?: string | null | undefined;
|
618
617
|
frm_id?: string | null | undefined;
|
@@ -786,6 +785,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
786
785
|
id?: string | null | undefined;
|
787
786
|
key_flg?: number | null | undefined;
|
788
787
|
placeholder?: string | null | undefined;
|
788
|
+
required_flag?: number | null | undefined;
|
789
789
|
section?: string | null | undefined;
|
790
790
|
srtseq?: number | null | undefined;
|
791
791
|
upt_dft_val?: string | null | undefined;
|
@@ -876,7 +876,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
876
876
|
del_param_clm?: string | null | undefined;
|
877
877
|
dis_mult_select_flg?: number | null | undefined;
|
878
878
|
dis_no_select_flg?: number | null | undefined;
|
879
|
-
ena_flg?: number | null | undefined;
|
880
879
|
export_excel_filename?: string | null | undefined;
|
881
880
|
export_excel_suffix?: string | null | undefined;
|
882
881
|
frm_id?: string | null | undefined;
|
@@ -1050,6 +1049,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1050
1049
|
id?: string | null | undefined;
|
1051
1050
|
key_flg?: number | null | undefined;
|
1052
1051
|
placeholder?: string | null | undefined;
|
1052
|
+
required_flag?: number | null | undefined;
|
1053
1053
|
section?: string | null | undefined;
|
1054
1054
|
srtseq?: number | null | undefined;
|
1055
1055
|
upt_dft_val?: string | null | undefined;
|
@@ -1174,7 +1174,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1174
1174
|
del_param_clm?: string | null | undefined;
|
1175
1175
|
dis_mult_select_flg?: number | null | undefined;
|
1176
1176
|
dis_no_select_flg?: number | null | undefined;
|
1177
|
-
ena_flg?: number | null | undefined;
|
1178
1177
|
export_excel_filename?: string | null | undefined;
|
1179
1178
|
export_excel_suffix?: string | null | undefined;
|
1180
1179
|
frm_id?: string | null | undefined;
|
@@ -1348,6 +1347,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1348
1347
|
id?: string | null | undefined;
|
1349
1348
|
key_flg?: number | null | undefined;
|
1350
1349
|
placeholder?: string | null | undefined;
|
1350
|
+
required_flag?: number | null | undefined;
|
1351
1351
|
section?: string | null | undefined;
|
1352
1352
|
srtseq?: number | null | undefined;
|
1353
1353
|
upt_dft_val?: string | null | undefined;
|
@@ -1438,7 +1438,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1438
1438
|
del_param_clm?: string | null | undefined;
|
1439
1439
|
dis_mult_select_flg?: number | null | undefined;
|
1440
1440
|
dis_no_select_flg?: number | null | undefined;
|
1441
|
-
ena_flg?: number | null | undefined;
|
1442
1441
|
export_excel_filename?: string | null | undefined;
|
1443
1442
|
export_excel_suffix?: string | null | undefined;
|
1444
1443
|
frm_id?: string | null | undefined;
|
@@ -1612,6 +1611,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1612
1611
|
id?: string | null | undefined;
|
1613
1612
|
key_flg?: number | null | undefined;
|
1614
1613
|
placeholder?: string | null | undefined;
|
1614
|
+
required_flag?: number | null | undefined;
|
1615
1615
|
section?: string | null | undefined;
|
1616
1616
|
srtseq?: number | null | undefined;
|
1617
1617
|
upt_dft_val?: string | null | undefined;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.20.0",
|
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",
|