@kengic/vue 0.5.14-beta.2 → 0.5.14
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/index.css +1 -1
- package/dist/kengic-vue.js +1438 -1366
- package/dist/src/apis/WMS/models.d.ts +10 -2
- package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +3 -0
- package/dist/src/components/KgSubmit/components/KgSubmit.Header.d.ts +28 -6
- package/dist/src/components/KgSubmit/index.store.d.ts +1 -0
- package/dist/src/components/KgTable/KgTable.d.ts +1 -13
- package/dist/src/components/KgTable/index.d.ts +1 -1
- package/dist/src/components/KgVar/index.store.d.ts +3 -0
- package/package.json +1 -1
@@ -171,6 +171,8 @@ export declare class VarGridConfig {
|
|
171
171
|
pg_size_opt?: number | null;
|
172
172
|
/** 所有分页下拉选项(PageSizeOptions). */
|
173
173
|
pg_size_opts?: string | null;
|
174
|
+
/** 查询条件的界面标识. */
|
175
|
+
prf_frm_id?: string | null;
|
174
176
|
/** 是否显示表格底部左侧. */
|
175
177
|
show_bottom_left_flg?: number | null;
|
176
178
|
/** 是否显示表格底部右侧. */
|
@@ -409,14 +411,18 @@ export declare class VarProfileMasterDTO {
|
|
409
411
|
}
|
410
412
|
/** 表单配置. */
|
411
413
|
export declare class VarSubmitConfig {
|
414
|
+
/** 复制时可用. */
|
415
|
+
cpy_flg?: number | null;
|
416
|
+
/** 创建时可用. */
|
417
|
+
crt_flg?: number | null;
|
418
|
+
/** 删除时可用. */
|
419
|
+
del_flg?: number | null;
|
412
420
|
/** 是否默认全屏. */
|
413
421
|
dft_fullscreen_flg?: number | null;
|
414
422
|
/** 默认宽度. */
|
415
423
|
dft_width?: number | null;
|
416
424
|
/** 显示方式. */
|
417
425
|
display_type?: string | null;
|
418
|
-
/** 是否启用. */
|
419
|
-
ena_flg?: number | null;
|
420
426
|
/** 界面标识. */
|
421
427
|
frm_id?: string | null;
|
422
428
|
/** 是否支持全屏. */
|
@@ -437,6 +443,8 @@ export declare class VarSubmitConfig {
|
|
437
443
|
resizable_flg?: number | null;
|
438
444
|
/** 是否根据表单宽度自动调整字段宽度. */
|
439
445
|
responsive_flg?: number | null;
|
446
|
+
/** 更新时可用. */
|
447
|
+
upt_flg?: number | null;
|
440
448
|
constructor(obj?: VarSubmitConfig);
|
441
449
|
}
|
442
450
|
/** 提交字段. */
|
@@ -4,3 +4,6 @@ export declare function _useFormModel(): {
|
|
4
4
|
};
|
5
5
|
export declare type IUseResizeObserver = {};
|
6
6
|
export declare function _useResizeObserver(kgFormRef: Ref<UnwrapRef<HTMLDivElement | null>>): IUseResizeObserver;
|
7
|
+
export declare function _useTitle(): {
|
8
|
+
title: Ref<string>;
|
9
|
+
};
|
@@ -7,11 +7,18 @@ export declare const getProps: () => {
|
|
7
7
|
default: boolean;
|
8
8
|
};
|
9
9
|
'onUpdate:isFullscreen': PropType<(value: boolean) => void>;
|
10
|
+
/**
|
11
|
+
* 是否显示头部右侧的全屏按钮.
|
12
|
+
* @default undefined
|
13
|
+
*/
|
14
|
+
kgShowFullscreenButton: {
|
15
|
+
type: PropType<boolean>;
|
16
|
+
default: undefined;
|
17
|
+
};
|
10
18
|
/**
|
11
19
|
* 是否显示头部右侧的设置按钮.
|
12
20
|
* @default true
|
13
|
-
*/
|
14
|
-
kgShowConfigButton: {
|
21
|
+
*/ kgShowConfigButton: {
|
15
22
|
type: PropType<boolean>;
|
16
23
|
default: boolean;
|
17
24
|
};
|
@@ -25,11 +32,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
25
32
|
default: boolean;
|
26
33
|
};
|
27
34
|
'onUpdate:isFullscreen': PropType<(value: boolean) => void>;
|
35
|
+
/**
|
36
|
+
* 是否显示头部右侧的全屏按钮.
|
37
|
+
* @default undefined
|
38
|
+
*/
|
39
|
+
kgShowFullscreenButton: {
|
40
|
+
type: PropType<boolean>;
|
41
|
+
default: undefined;
|
42
|
+
};
|
28
43
|
/**
|
29
44
|
* 是否显示头部右侧的设置按钮.
|
30
45
|
* @default true
|
31
|
-
*/
|
32
|
-
kgShowConfigButton: {
|
46
|
+
*/ kgShowConfigButton: {
|
33
47
|
type: PropType<boolean>;
|
34
48
|
default: boolean;
|
35
49
|
};
|
@@ -41,11 +55,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
41
55
|
default: boolean;
|
42
56
|
};
|
43
57
|
'onUpdate:isFullscreen': PropType<(value: boolean) => void>;
|
58
|
+
/**
|
59
|
+
* 是否显示头部右侧的全屏按钮.
|
60
|
+
* @default undefined
|
61
|
+
*/
|
62
|
+
kgShowFullscreenButton: {
|
63
|
+
type: PropType<boolean>;
|
64
|
+
default: undefined;
|
65
|
+
};
|
44
66
|
/**
|
45
67
|
* 是否显示头部右侧的设置按钮.
|
46
68
|
* @default true
|
47
|
-
*/
|
48
|
-
kgShowConfigButton: {
|
69
|
+
*/ kgShowConfigButton: {
|
49
70
|
type: PropType<boolean>;
|
50
71
|
default: boolean;
|
51
72
|
};
|
@@ -54,6 +75,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
54
75
|
"onUpdate:isFullscreen"?: ((...args: any[]) => any) | undefined;
|
55
76
|
onKgCancel?: ((...args: any[]) => any) | undefined;
|
56
77
|
}, {
|
78
|
+
kgShowFullscreenButton: boolean;
|
57
79
|
kgShowConfigButton: boolean;
|
58
80
|
isFullscreen: boolean;
|
59
81
|
}>;
|
@@ -1,15 +1,3 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
1
|
import './KgTable.less';
|
3
|
-
|
4
|
-
/** 查询条件的界面标识. 表格可能没有自己的查询条件, 而是用的别人的查询条件, 比如多个表格公用一个查询条件, 此时可以传入该参数. */
|
5
|
-
kgSearchFormID: PropType<string | null>;
|
6
|
-
};
|
7
|
-
export declare type IKgTableProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
9
|
-
/** 查询条件的界面标识. 表格可能没有自己的查询条件, 而是用的别人的查询条件, 比如多个表格公用一个查询条件, 此时可以传入该参数. */
|
10
|
-
kgSearchFormID: PropType<string | null>;
|
11
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
12
|
-
/** 查询条件的界面标识. 表格可能没有自己的查询条件, 而是用的别人的查询条件, 比如多个表格公用一个查询条件, 此时可以传入该参数. */
|
13
|
-
kgSearchFormID: PropType<string | null>;
|
14
|
-
}>>, {}>;
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
15
3
|
export default _default;
|
@@ -103,12 +103,15 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
|
|
103
103
|
getVarSubmitFieldsForCopyKey(): (formID?: string | null) => Array<VarSubmitField> | null;
|
104
104
|
/** 获取复制时的提交字段: 不是关键字段. */
|
105
105
|
getVarSubmitFieldsForCopyNotKey(): (formID?: string | null) => Array<VarSubmitField> | null;
|
106
|
+
/** 获取删除时的提交字段. */
|
107
|
+
getVarSubmitFieldsForDelete(): (formID?: string | null) => Array<VarSubmitField> | null;
|
106
108
|
getVarSubmitField(): (formID?: string | null, var_nam?: string | null) => VarSubmitField | null;
|
107
109
|
getVarButton(): (formID?: string | null, var_nam?: string | null) => VarButton | null;
|
108
110
|
getVarButtonSearch(): (formID?: string | null) => VarButton | null;
|
109
111
|
getVarButtonCreate(): (formID?: string | null) => VarButton | null;
|
110
112
|
getVarButtonUpdate(): (formID?: string | null) => VarButton | null;
|
111
113
|
getVarButtonCopy(): (formID?: string | null) => VarButton | null;
|
114
|
+
getVarButtonDelete(): (formID?: string | null) => VarButton | null;
|
112
115
|
getVarProfileConfig(): (formID?: string | null) => VarProfileConfig | null;
|
113
116
|
getVarProfileMasters(): (formID?: string | null) => Array<VarProfileMasterDTO> | null;
|
114
117
|
getVarProfileDetail(): (formID?: string | null, var_nam?: string | null) => VarProfileDetail | null;
|