@kengic/vue 0.23.4 → 0.23.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +3819 -3912
- package/dist/src/components/KgForm/index.vm.d.ts +2 -2
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +2 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +2 -0
- package/dist/src/components/KgForm.Item/index.vm.d.ts +1 -1
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +4 -27
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +0 -1
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +5 -22
- package/dist/src/components/KgSearch/components/{KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts → KgSearch.ConfigModal.VarProfileMaster.service.d.ts} +1 -1
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -22
- package/dist/src/components/KgSearch/index.vm.d.ts +2 -1
- package/dist/src/components/KgSubmit/KgSubmit.d.ts +1 -30
- package/dist/src/components/KgTable/KgTable.service.d.ts +0 -1
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +4 -21
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +5 -18
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +5 -22
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.service.d.ts +2 -2
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -15
- package/dist/src/components/KgTable/index.hooks.d.ts +4 -0
- package/dist/src/components/KgTable/index.store.d.ts +1 -1
- package/dist/src/components/KgVar/index.store.d.ts +10 -10
- package/dist/src/components/KgVar/index.vm.d.ts +2 -2
- package/dist/src/components/{KgSubmit/components/KgSubmit.VarSubmitConfig.Button.d.ts → KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts} +1 -1
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +5 -22
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +4 -21
- package/dist/src/components/KgVarConfig/index.vm.d.ts +3 -1
- package/dist/src/consts/i18n/en.d.ts +1 -1
- package/dist/src/consts/i18n/zh_CN.d.ts +1 -1
- package/dist/src/consts/injection-keys.const.d.ts +4 -4
- package/package.json +1 -1
- package/dist/src/components/KgSubmit/components/KgSubmit.VarSubmitConfig.Modal.d.ts +0 -29
@@ -4,6 +4,6 @@ import { ComputedRef, InjectionKey, Ref } from 'vue';
|
|
4
4
|
* 依赖注入表单数据对象.
|
5
5
|
* 在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.
|
6
6
|
*/
|
7
|
-
export declare const
|
7
|
+
export declare const KG__DI__KG_FORM___FORM_MODEL: InjectionKey<ComputedRef<Record<string, any>>>;
|
8
8
|
/** 依赖注入 formRef. */
|
9
|
-
export declare const
|
9
|
+
export declare const KG__DI__KG_FORM___FORM_REF: InjectionKey<Ref<FormInstance | null>>;
|
@@ -16,6 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
16
16
|
kgPlaceholder: import("vue").PropType<string>;
|
17
17
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
18
18
|
kgShowLabel: {
|
19
|
+
/** 是否全选. */
|
19
20
|
type: import("vue").PropType<boolean>;
|
20
21
|
default: boolean;
|
21
22
|
};
|
@@ -58,6 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
58
59
|
kgPlaceholder: import("vue").PropType<string>;
|
59
60
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
60
61
|
kgShowLabel: {
|
62
|
+
/** 是否全选. */
|
61
63
|
type: import("vue").PropType<boolean>;
|
62
64
|
default: boolean;
|
63
65
|
};
|
@@ -21,6 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
21
21
|
};
|
22
22
|
kgAllowClear: {
|
23
23
|
type: import("vue").PropType<boolean>;
|
24
|
+
/** 是否允许清空. */
|
24
25
|
default: undefined;
|
25
26
|
};
|
26
27
|
kgShowTime: {
|
@@ -63,6 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
63
64
|
};
|
64
65
|
kgAllowClear: {
|
65
66
|
type: import("vue").PropType<boolean>;
|
67
|
+
/** 是否允许清空. */
|
66
68
|
default: undefined;
|
67
69
|
};
|
68
70
|
kgShowTime: {
|
@@ -107,4 +107,4 @@ export declare type IKgFormItemSlotControlRightParam = {
|
|
107
107
|
varSubmitDetail: VarSubmitDetail;
|
108
108
|
};
|
109
109
|
/** 依赖注入 kgContext 参数. */
|
110
|
-
export declare const
|
110
|
+
export declare const KG__DI__KG_FORM_ITEM__CONTEXT: InjectionKey<KG_FORM_CONTEXT>;
|
@@ -1,28 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
*/
|
6
|
-
hostFormID: {
|
7
|
-
type: PropType<string>;
|
8
|
-
required: boolean;
|
9
|
-
};
|
10
|
-
};
|
11
|
-
declare const _default: import("vue").DefineComponent<{
|
12
|
-
/**
|
13
|
-
* 主页面的页面标识.
|
14
|
-
*/
|
15
|
-
hostFormID: {
|
16
|
-
type: PropType<string>;
|
17
|
-
required: boolean;
|
18
|
-
};
|
19
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
-
/**
|
21
|
-
* 主页面的页面标识.
|
22
|
-
*/
|
23
|
-
hostFormID: {
|
24
|
-
type: PropType<string>;
|
25
|
-
required: boolean;
|
26
|
-
};
|
27
|
-
}>>, {}>;
|
1
|
+
export declare const getProps: () => any;
|
2
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
3
|
+
[x: string]: any;
|
4
|
+
}>;
|
28
5
|
export default _default;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
2
|
-
export declare const FORM_ID__VAR_PROFILE_CONFIG = "kg-search.VarProfileConfig";
|
3
2
|
export declare const getProps: () => any;
|
4
3
|
export declare type IKgSearchConfigModalVarProfileConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
5
4
|
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
@@ -1,24 +1,7 @@
|
|
1
|
-
import { ExtractPropTypes
|
2
|
-
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 主页面的页面标识. */
|
5
|
-
hostFormID: {
|
6
|
-
type: PropType<string>;
|
7
|
-
required: boolean;
|
8
|
-
};
|
9
|
-
};
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const getProps: () => any;
|
10
3
|
export declare type IKgSearchConfigModalVarProfileMasterProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
11
|
-
declare const _default: import("vue").DefineComponent<{
|
12
|
-
|
13
|
-
|
14
|
-
type: PropType<string>;
|
15
|
-
required: boolean;
|
16
|
-
};
|
17
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
18
|
-
/** 主页面的页面标识. */
|
19
|
-
hostFormID: {
|
20
|
-
type: PropType<string>;
|
21
|
-
required: boolean;
|
22
|
-
};
|
23
|
-
}>>, {}>;
|
4
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
5
|
+
[x: string]: any;
|
6
|
+
}>;
|
24
7
|
export default _default;
|
@@ -4,4 +4,4 @@ import { VarProfileDetail } from '../../../apis/WMS/models';
|
|
4
4
|
export declare const leftVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
|
5
5
|
export declare const rightVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
|
6
6
|
export declare type IUseDragRow = {};
|
7
|
-
export declare function _useDragRow(hostFormID: string | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
|
7
|
+
export declare function _useDragRow(hostFormID: string | null | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
|
@@ -1,35 +1,13 @@
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgSearch.ConfigModal.less';
|
3
2
|
export declare const getProps: () => {
|
4
|
-
/**
|
5
|
-
* 主页面的页面标识.
|
6
|
-
*/
|
7
|
-
hostFormID: {
|
8
|
-
type: PropType<string>;
|
9
|
-
required: boolean;
|
10
|
-
};
|
11
3
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
12
4
|
visible: PropType<boolean>;
|
13
5
|
};
|
14
6
|
export declare type KgSearchConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
15
7
|
declare const _default: import("vue").DefineComponent<{
|
16
|
-
/**
|
17
|
-
* 主页面的页面标识.
|
18
|
-
*/
|
19
|
-
hostFormID: {
|
20
|
-
type: PropType<string>;
|
21
|
-
required: boolean;
|
22
|
-
};
|
23
8
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
24
9
|
visible: PropType<boolean>;
|
25
10
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
26
|
-
/**
|
27
|
-
* 主页面的页面标识.
|
28
|
-
*/
|
29
|
-
hostFormID: {
|
30
|
-
type: PropType<string>;
|
31
|
-
required: boolean;
|
32
|
-
};
|
33
11
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
34
12
|
visible: PropType<boolean>;
|
35
13
|
}>> & {
|
@@ -1 +1,2 @@
|
|
1
|
-
export declare const FORM_ID__KG_SEARCH__VAR_PROFILE_MASTER = "
|
1
|
+
export declare const FORM_ID__KG_SEARCH__VAR_PROFILE_MASTER = "KgSearch.ConfigModal.VarProfileMaster";
|
2
|
+
export declare const FORM_ID__KG_SEARCH__VAR_PROFILE_CONFIG = "KgSearch.ConfigModal.VarProfileConfig";
|
@@ -5,15 +5,6 @@ export declare const getProps: () => {
|
|
5
5
|
* 自定义的样式类名, 会附加到组件默认的样式类名后面.
|
6
6
|
*/
|
7
7
|
kgClass: PropType<string>;
|
8
|
-
/**
|
9
|
-
* 是否显示头部右侧的表单配置按钮.
|
10
|
-
*
|
11
|
-
* @default true
|
12
|
-
*/
|
13
|
-
kgIsShowVarSubmitConfigButton: {
|
14
|
-
type: PropType<boolean>;
|
15
|
-
default: boolean;
|
16
|
-
};
|
17
8
|
};
|
18
9
|
export declare type KgSubmitProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
19
10
|
declare const _default: import("vue").DefineComponent<{
|
@@ -21,30 +12,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
21
12
|
* 自定义的样式类名, 会附加到组件默认的样式类名后面.
|
22
13
|
*/
|
23
14
|
kgClass: PropType<string>;
|
24
|
-
/**
|
25
|
-
* 是否显示头部右侧的表单配置按钮.
|
26
|
-
*
|
27
|
-
* @default true
|
28
|
-
*/
|
29
|
-
kgIsShowVarSubmitConfigButton: {
|
30
|
-
type: PropType<boolean>;
|
31
|
-
default: boolean;
|
32
|
-
};
|
33
15
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
34
16
|
/**
|
35
17
|
* 自定义的样式类名, 会附加到组件默认的样式类名后面.
|
36
18
|
*/
|
37
19
|
kgClass: PropType<string>;
|
38
|
-
|
39
|
-
* 是否显示头部右侧的表单配置按钮.
|
40
|
-
*
|
41
|
-
* @default true
|
42
|
-
*/
|
43
|
-
kgIsShowVarSubmitConfigButton: {
|
44
|
-
type: PropType<boolean>;
|
45
|
-
default: boolean;
|
46
|
-
};
|
47
|
-
}>>, {
|
48
|
-
kgIsShowVarSubmitConfigButton: boolean;
|
49
|
-
}>;
|
20
|
+
}>>, {}>;
|
50
21
|
export default _default;
|
@@ -24,7 +24,6 @@ export declare function _useLoading(): {
|
|
24
24
|
export declare function _useResizeObserver(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>): {};
|
25
25
|
export declare function _useDragColumn(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>, columns: ComputedRef<ColumnsType<IKgTableRow>>): {};
|
26
26
|
export declare function _useDatas(): {
|
27
|
-
datas: ComputedRef<IKgTableRow[]>;
|
28
27
|
transformDatas: (response: Ref<any>) => {
|
29
28
|
datas: Ref<Array<IKgTableRow>>;
|
30
29
|
total: Ref<number>;
|
package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts
CHANGED
@@ -1,22 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
type: PropType<string>;
|
6
|
-
required: boolean;
|
7
|
-
};
|
8
|
-
};
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
10
|
-
/** 主页面的页面标识. */
|
11
|
-
hostFormID: {
|
12
|
-
type: PropType<string>;
|
13
|
-
required: boolean;
|
14
|
-
};
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
16
|
-
/** 主页面的页面标识. */
|
17
|
-
hostFormID: {
|
18
|
-
type: PropType<string>;
|
19
|
-
required: boolean;
|
20
|
-
};
|
21
|
-
}>>, {}>;
|
1
|
+
export declare const getProps: () => any;
|
2
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
3
|
+
[x: string]: any;
|
4
|
+
}>;
|
22
5
|
export default _default;
|
@@ -1,21 +1,8 @@
|
|
1
|
-
import { ExtractPropTypes
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
2
|
export declare const FORM_ID__VAR_GRID_CONFIG = "kg-table.VarGridConfig";
|
3
|
-
export declare const getProps: () =>
|
4
|
-
hostFormID: {
|
5
|
-
type: PropType<string>;
|
6
|
-
required: boolean;
|
7
|
-
};
|
8
|
-
};
|
3
|
+
export declare const getProps: () => any;
|
9
4
|
export declare type IKgTableSettingConfigModalVarGridConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
10
|
-
declare const _default: import("vue").DefineComponent<{
|
11
|
-
|
12
|
-
|
13
|
-
required: boolean;
|
14
|
-
};
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
16
|
-
hostFormID: {
|
17
|
-
type: PropType<string>;
|
18
|
-
required: boolean;
|
19
|
-
};
|
20
|
-
}>>, {}>;
|
5
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
6
|
+
[x: string]: any;
|
7
|
+
}>;
|
21
8
|
export default _default;
|
@@ -1,24 +1,7 @@
|
|
1
|
-
import { ExtractPropTypes
|
2
|
-
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 主页面的页面标识. */
|
5
|
-
hostFormID: {
|
6
|
-
type: PropType<string>;
|
7
|
-
required: boolean;
|
8
|
-
};
|
9
|
-
};
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const getProps: () => any;
|
10
3
|
export declare type IKgTableSettingConfigModalVarGridMasterProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
11
|
-
declare const _default: import("vue").DefineComponent<{
|
12
|
-
|
13
|
-
|
14
|
-
type: PropType<string>;
|
15
|
-
required: boolean;
|
16
|
-
};
|
17
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
18
|
-
/** 主页面的页面标识. */
|
19
|
-
hostFormID: {
|
20
|
-
type: PropType<string>;
|
21
|
-
required: boolean;
|
22
|
-
};
|
23
|
-
}>>, {}>;
|
4
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
5
|
+
[x: string]: any;
|
6
|
+
}>;
|
24
7
|
export default _default;
|
@@ -12,7 +12,7 @@ export declare type IUseTransferColumns = {
|
|
12
12
|
* @param hostFormID 宿主页面标识.
|
13
13
|
* @param varGridDetails
|
14
14
|
*/
|
15
|
-
export declare function _useTransferColumns(hostFormID: string | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseTransferColumns;
|
15
|
+
export declare function _useTransferColumns(hostFormID: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseTransferColumns;
|
16
16
|
export declare type IUseDragRow = {};
|
17
17
|
/**
|
18
18
|
*
|
@@ -20,4 +20,4 @@ export declare type IUseDragRow = {};
|
|
20
20
|
* @param varGridDetails
|
21
21
|
* @param transferRightRows
|
22
22
|
*/
|
23
|
-
export declare function _useDragRow(hostFormID: string | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseDragRow;
|
23
|
+
export declare function _useDragRow(hostFormID: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseDragRow;
|
package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts
CHANGED
@@ -2,29 +2,14 @@ import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
export declare const getProps: () => {
|
3
3
|
visible: PropType<boolean>;
|
4
4
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
5
|
-
/** 主页面的页面标识. */
|
6
|
-
hostFormID: {
|
7
|
-
type: PropType<string>;
|
8
|
-
required: boolean;
|
9
|
-
};
|
10
5
|
};
|
11
6
|
export declare type IKgTableSettingConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
12
7
|
declare const _default: import("vue").DefineComponent<{
|
13
8
|
visible: PropType<boolean>;
|
14
9
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
15
|
-
/** 主页面的页面标识. */
|
16
|
-
hostFormID: {
|
17
|
-
type: PropType<string>;
|
18
|
-
required: boolean;
|
19
|
-
};
|
20
10
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
21
11
|
visible: PropType<boolean>;
|
22
12
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
23
|
-
/** 主页面的页面标识. */
|
24
|
-
hostFormID: {
|
25
|
-
type: PropType<string>;
|
26
|
-
required: boolean;
|
27
|
-
};
|
28
13
|
}>> & {
|
29
14
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
30
15
|
}, {}>;
|
@@ -3,6 +3,10 @@ import { VarGridConfig } from '../../apis/WMS/models';
|
|
3
3
|
import { IRemoveEventListenerHandler } from '../../consts';
|
4
4
|
import { IKgTableAfterRequestEventListener, IKgTableBeforeParseParameterEventListener, IKgTableBeforeRequestEventListener, IKgTableBeforeSetDatasEventListener, IKgTableReadyEventListener, IKgTableRowDoubleClickEventListener, IKgTableStore } from './index.store';
|
5
5
|
export interface IUseKgTable {
|
6
|
+
/**
|
7
|
+
* 列表数据.
|
8
|
+
*/
|
9
|
+
datas: ComputedRef<ReturnType<IKgTableStore['getDatas']>>;
|
6
10
|
/** 界面标识. */
|
7
11
|
formID: string;
|
8
12
|
/** 主键字段. */
|
@@ -107,7 +107,7 @@ export interface IUseKgTableStoreState {
|
|
107
107
|
}
|
108
108
|
export interface IUseKgTableStoreGetters {
|
109
109
|
/** 列表数据. */
|
110
|
-
getDatas():
|
110
|
+
getDatas(): (formID: string | null | undefined) => Array<Record<string, any>>;
|
111
111
|
/** 是否就绪. */
|
112
112
|
getIsReady(): (formID: string | null | undefined) => boolean;
|
113
113
|
/**
|
@@ -162,11 +162,11 @@ export interface IUseKgVarStoreActions {
|
|
162
162
|
dispose(formID: string): void;
|
163
163
|
/**
|
164
164
|
* 拖拽排序 VarGridDetail 列表.
|
165
|
-
* @param
|
165
|
+
* @param formID 界面标识.
|
166
166
|
* @param from_var_nam 被拽起的变量名称
|
167
167
|
* @param to_var_nam 被放下的变量名称.
|
168
168
|
*/
|
169
|
-
dragSortCurrentVarGridDetails(
|
169
|
+
dragSortCurrentVarGridDetails(formID: string | null | undefined, from_var_nam: string | null | undefined, to_var_nam: string | null | undefined): void;
|
170
170
|
/**
|
171
171
|
* 触发事件.
|
172
172
|
* @param formID 界面标识.
|
@@ -185,11 +185,11 @@ export interface IUseKgVarStoreActions {
|
|
185
185
|
}): Promise<void>;
|
186
186
|
/**
|
187
187
|
* 修改 VarGridDetail 的部分属性.
|
188
|
-
* @param
|
188
|
+
* @param formID 界面标识.
|
189
189
|
* @param var_nam 变量名称.
|
190
190
|
* @param properties 要修改的部分属性.
|
191
191
|
*/
|
192
|
-
patchVarGridDetail(
|
192
|
+
patchVarGridDetail(formID: string, var_nam: string | null | undefined, properties: VarGridDetail): Promise<void>;
|
193
193
|
/**
|
194
194
|
* 修改 VarConfigPossibility 的接口参数 cmd_prm 的部分属性.
|
195
195
|
* @param formID 界面标识.
|
@@ -199,11 +199,11 @@ export interface IUseKgVarStoreActions {
|
|
199
199
|
patchVarPossibilityCommandParameter(formID: string | null | undefined, var_nam: string | null | undefined, properties: Record<string, any>): Promise<void>;
|
200
200
|
/**
|
201
201
|
* 修改 VarProfileDetail 的部分属性.
|
202
|
-
* @param
|
202
|
+
* @param formID 界面标识.
|
203
203
|
* @param var_nam 变量名称.
|
204
204
|
* @param properties 要修改的部分属性.
|
205
205
|
*/
|
206
|
-
patchVarProfileDetail(
|
206
|
+
patchVarProfileDetail(formID: string, var_nam: string | null | undefined, properties: VarProfileDetail): Promise<void>;
|
207
207
|
/**
|
208
208
|
* 退订事件监听.
|
209
209
|
* @param formID 界面标识.
|
@@ -233,11 +233,11 @@ export interface IUseKgVarStoreActions {
|
|
233
233
|
* @param currentVarProfileMasterID 当前选择的查询条件的 ID.
|
234
234
|
*/
|
235
235
|
setCurrentVarProfileMasterID(formID?: string | null, currentVarProfileMasterID?: string | null): Promise<void>;
|
236
|
-
setIsCopyingRequesting(
|
236
|
+
setIsCopyingRequesting(formID: string, value: boolean): void;
|
237
237
|
setIsCreatingRequesting(formID: string, value: boolean): void;
|
238
|
-
setIsDeletingRequesting(
|
239
|
-
setIsOtherRequesting(
|
240
|
-
setIsUpdatingRequesting(
|
238
|
+
setIsDeletingRequesting(formID: string, value: boolean): void;
|
239
|
+
setIsOtherRequesting(formID: string, value: boolean): void;
|
240
|
+
setIsUpdatingRequesting(formID: string, value: boolean): void;
|
241
241
|
/**
|
242
242
|
* 设置列的宽度.
|
243
243
|
* @param formID 界面标识.
|
@@ -36,7 +36,7 @@ export declare type IKgSlots = {
|
|
36
36
|
afterKgTable?: () => any;
|
37
37
|
};
|
38
38
|
/** 注入 kgSlots 参数. */
|
39
|
-
export declare const
|
39
|
+
export declare const KG__DI__KG_VAR__KG_SLOTS: InjectionKey<IKgSlots | undefined>;
|
40
40
|
export declare type IKgProps = {
|
41
41
|
KgButton?: IKgButtonProps;
|
42
42
|
KgSearch?: IKgSearchProps;
|
@@ -44,4 +44,4 @@ export declare type IKgProps = {
|
|
44
44
|
KgTable?: IKgTableProps;
|
45
45
|
};
|
46
46
|
/** 注入 kgProps 参数. */
|
47
|
-
export declare const
|
47
|
+
export declare const KG__DI__KG_VAR__KG_PROPS: InjectionKey<ComputedRef<IKgProps | undefined>>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
2
2
|
export declare const getProps: () => any;
|
3
|
-
export declare type
|
3
|
+
export declare type KgVarConfigModalSubmitVarSubmitConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
4
4
|
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
5
5
|
[x: string]: any;
|
6
6
|
}>;
|
@@ -1,24 +1,7 @@
|
|
1
|
-
import { ExtractPropTypes
|
2
|
-
export declare const
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 主页面的页面标识. */
|
5
|
-
hostFormID: {
|
6
|
-
type: PropType<string>;
|
7
|
-
required: boolean;
|
8
|
-
};
|
9
|
-
};
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const getProps: () => any;
|
10
3
|
export declare type IKgVarConfigModalSubmitVarSubmitDetailProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
11
|
-
declare const _default: import("vue").DefineComponent<{
|
12
|
-
|
13
|
-
|
14
|
-
type: PropType<string>;
|
15
|
-
required: boolean;
|
16
|
-
};
|
17
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
18
|
-
/** 主页面的页面标识. */
|
19
|
-
hostFormID: {
|
20
|
-
type: PropType<string>;
|
21
|
-
required: boolean;
|
22
|
-
};
|
23
|
-
}>>, {}>;
|
4
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
5
|
+
[x: string]: any;
|
6
|
+
}>;
|
24
7
|
export default _default;
|
@@ -1,22 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
type: PropType<string>;
|
6
|
-
required: boolean;
|
7
|
-
};
|
8
|
-
};
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
10
|
-
/** 主页面的页面标识. */
|
11
|
-
hostFormID: {
|
12
|
-
type: PropType<string>;
|
13
|
-
required: boolean;
|
14
|
-
};
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
16
|
-
/** 主页面的页面标识. */
|
17
|
-
hostFormID: {
|
18
|
-
type: PropType<string>;
|
19
|
-
required: boolean;
|
20
|
-
};
|
21
|
-
}>>, {}>;
|
1
|
+
export declare const getProps: () => any;
|
2
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
3
|
+
[x: string]: any;
|
4
|
+
}>;
|
22
5
|
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { InjectionKey, Ref } from 'vue';
|
2
2
|
/** 正在被配置的界面标识. */
|
3
|
-
export declare const
|
3
|
+
export declare const KG__DI__KG_VAR_CONFIG__HOST_FORM_ID: InjectionKey<Ref<string | null>>;
|
4
4
|
/**
|
5
5
|
* 界面标识: 变量配置弹窗:按钮:按钮管理.
|
6
6
|
*/
|
@@ -41,3 +41,5 @@ export declare const FORM_ID__VAR__VAR_CONFIG_LOOKUP__VAR_DDA = "KgVarConfig.Mod
|
|
41
41
|
* 界面标识: 变量配置弹窗:变量配置:提示文本.
|
42
42
|
*/
|
43
43
|
export declare const FORM_ID__VAR__VAR_CONFIG_TIP = "KgVarConfig.Modal.Var.VarConfigTip";
|
44
|
+
export declare const FORM_ID__SUBMIT__VAR_SUBMIT_DETAIL = "kg-submit.VarSubmitDetail";
|
45
|
+
export declare const FORM_ID__SUBMIT__VAR_SUBMIT_CONFIG = "kg-submit.VarSubmitConfig";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { InjectionKey } from 'vue';
|
2
2
|
/** 界面标识. */
|
3
|
-
export declare const
|
3
|
+
export declare const KG__DI__FORM_ID: InjectionKey<string>;
|
4
4
|
/** 宿主界面标识. */
|
5
|
-
export declare const
|
5
|
+
export declare const KG__DI__VAR_CONFIG_LOOKUP__HOST_FORM_ID: InjectionKey<string>;
|
6
6
|
/** 变量名称. */
|
7
|
-
export declare const
|
7
|
+
export declare const KG__DI__KG_FORM_ITEM__VAR_NAME: InjectionKey<string>;
|
8
8
|
/** 变量查找编号. */
|
9
|
-
export declare const
|
9
|
+
export declare const KG__DI__VAR_CONFIG_LOOKUP__LOOKUP_ID: InjectionKey<string>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.23.
|
3
|
+
"version": "0.23.5",
|
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",
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
export declare const FORM_ID__VAR_SUBMIT_CONFIG = "kg-submit.VarSubmitConfig";
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 主页面的页面标识. */
|
5
|
-
hostFormID: {
|
6
|
-
type: PropType<string>;
|
7
|
-
required: boolean;
|
8
|
-
};
|
9
|
-
onKgClose: PropType<() => void>;
|
10
|
-
};
|
11
|
-
export declare type KgSubmitVarSubmitConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
12
|
-
declare const _default: import("vue").DefineComponent<{
|
13
|
-
/** 主页面的页面标识. */
|
14
|
-
hostFormID: {
|
15
|
-
type: PropType<string>;
|
16
|
-
required: boolean;
|
17
|
-
};
|
18
|
-
onKgClose: PropType<() => void>;
|
19
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClose"[], "kgClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
20
|
-
/** 主页面的页面标识. */
|
21
|
-
hostFormID: {
|
22
|
-
type: PropType<string>;
|
23
|
-
required: boolean;
|
24
|
-
};
|
25
|
-
onKgClose: PropType<() => void>;
|
26
|
-
}>> & {
|
27
|
-
onKgClose?: ((...args: any[]) => any) | undefined;
|
28
|
-
}, {}>;
|
29
|
-
export default _default;
|