@kengic/vue 0.32.26 → 0.32.27
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 +64949 -63705
- package/dist/src/component/KgButton/KgButton.Copy.d.ts +2 -3
- package/dist/src/component/KgButton/KgButton.Create.d.ts +3 -3
- package/dist/src/component/KgButton/KgButton.Delete.d.ts +3 -3
- package/dist/src/component/KgButton/KgButton.Export.d.ts +2 -3
- package/dist/src/component/KgButton/KgButton.Import.d.ts +2 -3
- package/dist/src/component/KgButton/KgButton.ImportTemplate.d.ts +2 -3
- package/dist/src/component/KgButton/KgButton.Item.d.ts +3 -3
- package/dist/src/component/KgButton/KgButton.Other.d.ts +2 -2
- package/dist/src/component/KgButton/KgButton.Search.d.ts +3 -3
- package/dist/src/component/KgButton/KgButton.Update.d.ts +2 -3
- package/dist/src/component/KgButton/KgButton.model.d.ts +2 -2
- package/dist/src/component/KgButton/KgButton.store.d.ts +4 -4
- package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +4 -4
- package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +2 -2
- package/dist/src/component/KgVar/KgVar.hooks.d.ts +3 -3
- package/dist/src/component/KgVar/KgVar.model.d.ts +6 -2
- package/dist/src/component/KgVar/KgVar.store.d.ts +1 -2
- package/dist/src/component/KgVarConfig/KgVarConfig$Modal.d.ts +3 -3
- package/dist/src/config/config.store.d.ts +1 -4
- package/dist/src/model/index.d.ts +634 -557
- package/dist/src/util/kg.util.d.ts +5 -26
- package/package.json +3 -3
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { KG__VAR_BUTTON__TYPE } from '../../model';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
kgButton: import("vue").PropType<import("../../api/DDA/models").VarButton>;
|
|
4
3
|
kgColor: import("vue").PropType<import("../../model").KG__VAR_BUTTON__COLOR | null>;
|
|
@@ -13,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
12
|
default: undefined;
|
|
14
13
|
};
|
|
15
14
|
kgText: import("vue").PropType<string | null>;
|
|
16
|
-
kgType: import("vue").PropType<
|
|
15
|
+
kgType: import("vue").PropType<string | null>;
|
|
17
16
|
kgVarName: import("vue").PropType<string | null>;
|
|
18
17
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
19
18
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
29
|
default: undefined;
|
|
31
30
|
};
|
|
32
31
|
kgText: import("vue").PropType<string | null>;
|
|
33
|
-
kgType: import("vue").PropType<
|
|
32
|
+
kgType: import("vue").PropType<string | null>;
|
|
34
33
|
kgVarName: import("vue").PropType<string | null>;
|
|
35
34
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
36
35
|
}>>, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KG__VAR_BUTTON__COLOR
|
|
1
|
+
import { KG__VAR_BUTTON__COLOR } from '../../model';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
kgButton: import("vue").PropType<import("../../api/DDA/models").VarButton>;
|
|
4
4
|
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
default: undefined;
|
|
14
14
|
};
|
|
15
15
|
kgText: import("vue").PropType<string | null>;
|
|
16
|
-
kgType: import("vue").PropType<
|
|
16
|
+
kgType: import("vue").PropType<string | null>;
|
|
17
17
|
kgVarName: import("vue").PropType<string | null>;
|
|
18
18
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
19
19
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
default: undefined;
|
|
31
31
|
};
|
|
32
32
|
kgText: import("vue").PropType<string | null>;
|
|
33
|
-
kgType: import("vue").PropType<
|
|
33
|
+
kgType: import("vue").PropType<string | null>;
|
|
34
34
|
kgVarName: import("vue").PropType<string | null>;
|
|
35
35
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
36
36
|
}>>, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KG__VAR_BUTTON__COLOR
|
|
1
|
+
import { KG__VAR_BUTTON__COLOR } from '../../model';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
kgButton: import("vue").PropType<import("../../api/DDA/models").VarButton>;
|
|
4
4
|
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
default: undefined;
|
|
14
14
|
};
|
|
15
15
|
kgText: import("vue").PropType<string | null>;
|
|
16
|
-
kgType: import("vue").PropType<
|
|
16
|
+
kgType: import("vue").PropType<string | null>;
|
|
17
17
|
kgVarName: import("vue").PropType<string | null>;
|
|
18
18
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
19
19
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
default: undefined;
|
|
31
31
|
};
|
|
32
32
|
kgText: import("vue").PropType<string | null>;
|
|
33
|
-
kgType: import("vue").PropType<
|
|
33
|
+
kgType: import("vue").PropType<string | null>;
|
|
34
34
|
kgVarName: import("vue").PropType<string | null>;
|
|
35
35
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
36
36
|
}>>, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { KG__VAR_BUTTON__TYPE } from '../../model';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
kgButton: import("vue").PropType<import("../../api/DDA/models").VarButton>;
|
|
4
3
|
kgColor: import("vue").PropType<import("../../model").KG__VAR_BUTTON__COLOR | null>;
|
|
@@ -13,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
12
|
default: undefined;
|
|
14
13
|
};
|
|
15
14
|
kgText: import("vue").PropType<string | null>;
|
|
16
|
-
kgType: import("vue").PropType<
|
|
15
|
+
kgType: import("vue").PropType<string | null>;
|
|
17
16
|
kgVarName: import("vue").PropType<string | null>;
|
|
18
17
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
19
18
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
29
|
default: undefined;
|
|
31
30
|
};
|
|
32
31
|
kgText: import("vue").PropType<string | null>;
|
|
33
|
-
kgType: import("vue").PropType<
|
|
32
|
+
kgType: import("vue").PropType<string | null>;
|
|
34
33
|
kgVarName: import("vue").PropType<string | null>;
|
|
35
34
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
36
35
|
}>>, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { KG__VAR_BUTTON__TYPE } from '../../model';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
kgButton: import("vue").PropType<import("../../api/DDA/models").VarButton>;
|
|
4
3
|
kgColor: import("vue").PropType<import("../../model").KG__VAR_BUTTON__COLOR | null>;
|
|
@@ -13,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
12
|
default: undefined;
|
|
14
13
|
};
|
|
15
14
|
kgText: import("vue").PropType<string | null>;
|
|
16
|
-
kgType: import("vue").PropType<
|
|
15
|
+
kgType: import("vue").PropType<string | null>;
|
|
17
16
|
kgVarName: import("vue").PropType<string | null>;
|
|
18
17
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
19
18
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
29
|
default: undefined;
|
|
31
30
|
};
|
|
32
31
|
kgText: import("vue").PropType<string | null>;
|
|
33
|
-
kgType: import("vue").PropType<
|
|
32
|
+
kgType: import("vue").PropType<string | null>;
|
|
34
33
|
kgVarName: import("vue").PropType<string | null>;
|
|
35
34
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
36
35
|
}>>, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { KG__VAR_BUTTON__TYPE } from '../../model';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
kgButton: import("vue").PropType<import("../../api/DDA/models").VarButton>;
|
|
4
3
|
kgColor: import("vue").PropType<import("../../model").KG__VAR_BUTTON__COLOR | null>;
|
|
@@ -13,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
12
|
default: undefined;
|
|
14
13
|
};
|
|
15
14
|
kgText: import("vue").PropType<string | null>;
|
|
16
|
-
kgType: import("vue").PropType<
|
|
15
|
+
kgType: import("vue").PropType<string | null>;
|
|
17
16
|
kgVarName: import("vue").PropType<string | null>;
|
|
18
17
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
19
18
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
29
|
default: undefined;
|
|
31
30
|
};
|
|
32
31
|
kgText: import("vue").PropType<string | null>;
|
|
33
|
-
kgType: import("vue").PropType<
|
|
32
|
+
kgType: import("vue").PropType<string | null>;
|
|
34
33
|
kgVarName: import("vue").PropType<string | null>;
|
|
35
34
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
36
35
|
}>>, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KG__VAR_BUTTON__COLOR
|
|
1
|
+
import { KG__VAR_BUTTON__COLOR } from '../../model';
|
|
2
2
|
export declare const KgButtonItem: import("vue").DefineComponent<{
|
|
3
3
|
kgButton: import("vue").PropType<import("../../api/DDA/models").VarButton>;
|
|
4
4
|
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
|
@@ -13,7 +13,7 @@ export declare const KgButtonItem: import("vue").DefineComponent<{
|
|
|
13
13
|
default: undefined;
|
|
14
14
|
};
|
|
15
15
|
kgText: import("vue").PropType<string | null>;
|
|
16
|
-
kgType: import("vue").PropType<
|
|
16
|
+
kgType: import("vue").PropType<string | null>;
|
|
17
17
|
kgVarName: import("vue").PropType<string | null>;
|
|
18
18
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
19
19
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,7 +30,7 @@ export declare const KgButtonItem: import("vue").DefineComponent<{
|
|
|
30
30
|
default: undefined;
|
|
31
31
|
};
|
|
32
32
|
kgText: import("vue").PropType<string | null>;
|
|
33
|
-
kgType: import("vue").PropType<
|
|
33
|
+
kgType: import("vue").PropType<string | null>;
|
|
34
34
|
kgVarName: import("vue").PropType<string | null>;
|
|
35
35
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
36
36
|
}>>, {
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
default: undefined;
|
|
14
14
|
};
|
|
15
15
|
kgText: import("vue").PropType<string | null>;
|
|
16
|
-
kgType: import("vue").PropType<
|
|
16
|
+
kgType: import("vue").PropType<string | null>;
|
|
17
17
|
kgVarName: import("vue").PropType<string | null>;
|
|
18
18
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
19
19
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
default: undefined;
|
|
31
31
|
};
|
|
32
32
|
kgText: import("vue").PropType<string | null>;
|
|
33
|
-
kgType: import("vue").PropType<
|
|
33
|
+
kgType: import("vue").PropType<string | null>;
|
|
34
34
|
kgVarName: import("vue").PropType<string | null>;
|
|
35
35
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
36
36
|
}>>, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KG__VAR_BUTTON__COLOR
|
|
1
|
+
import { KG__VAR_BUTTON__COLOR } from '../../model';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
kgButton: import("vue").PropType<import("../../api/DDA/models").VarButton>;
|
|
4
4
|
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
default: undefined;
|
|
14
14
|
};
|
|
15
15
|
kgText: import("vue").PropType<string | null>;
|
|
16
|
-
kgType: import("vue").PropType<
|
|
16
|
+
kgType: import("vue").PropType<string | null>;
|
|
17
17
|
kgVarName: import("vue").PropType<string | null>;
|
|
18
18
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
19
19
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
default: undefined;
|
|
31
31
|
};
|
|
32
32
|
kgText: import("vue").PropType<string | null>;
|
|
33
|
-
kgType: import("vue").PropType<
|
|
33
|
+
kgType: import("vue").PropType<string | null>;
|
|
34
34
|
kgVarName: import("vue").PropType<string | null>;
|
|
35
35
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
36
36
|
}>>, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { KG__VAR_BUTTON__TYPE } from '../../model';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
kgButton: import("vue").PropType<import("../../api/DDA/models").VarButton>;
|
|
4
3
|
kgColor: import("vue").PropType<import("../../model").KG__VAR_BUTTON__COLOR | null>;
|
|
@@ -13,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
12
|
default: undefined;
|
|
14
13
|
};
|
|
15
14
|
kgText: import("vue").PropType<string | null>;
|
|
16
|
-
kgType: import("vue").PropType<
|
|
15
|
+
kgType: import("vue").PropType<string | null>;
|
|
17
16
|
kgVarName: import("vue").PropType<string | null>;
|
|
18
17
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
19
18
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
29
|
default: undefined;
|
|
31
30
|
};
|
|
32
31
|
kgText: import("vue").PropType<string | null>;
|
|
33
|
-
kgType: import("vue").PropType<
|
|
32
|
+
kgType: import("vue").PropType<string | null>;
|
|
34
33
|
kgVarName: import("vue").PropType<string | null>;
|
|
35
34
|
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
|
36
35
|
}>>, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { VarButton } from '../../api/DDA/models';
|
|
3
|
-
import { KG__VAR_BUTTON__COLOR
|
|
3
|
+
import { KG__VAR_BUTTON__COLOR } from '../../model';
|
|
4
4
|
export declare const getProps: () => {
|
|
5
5
|
/** 按钮. */
|
|
6
6
|
kgButton: PropType<VarButton>;
|
|
@@ -23,7 +23,7 @@ export declare const getProps: () => {
|
|
|
23
23
|
/** 文本. */
|
|
24
24
|
kgText: PropType<string | null>;
|
|
25
25
|
/** 按钮类型. */
|
|
26
|
-
kgType: PropType<
|
|
26
|
+
kgType: PropType<string | null>;
|
|
27
27
|
/** 变量名称. */
|
|
28
28
|
kgVarName: PropType<string | null>;
|
|
29
29
|
onKgClick: PropType<(args?: any) => Promise<boolean>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type IKgStoreDefinition } from '@kengic/core';
|
|
2
2
|
import { VarButton } from '../../api/DDA/models';
|
|
3
|
-
import { IKgVarButtonProperties
|
|
3
|
+
import { IKgVarButtonProperties } from '../../model';
|
|
4
4
|
export interface IUseKgButtonStoreGetters {
|
|
5
5
|
/**
|
|
6
6
|
* 当前按钮--额外属性.
|
|
@@ -56,7 +56,7 @@ export interface IUseKgButtonStoreActions {
|
|
|
56
56
|
* @param param.varName 按钮变量名称.
|
|
57
57
|
*/
|
|
58
58
|
click(param: {
|
|
59
|
-
type?:
|
|
59
|
+
type?: string;
|
|
60
60
|
varName?: string;
|
|
61
61
|
}): void;
|
|
62
62
|
/**
|
|
@@ -70,7 +70,7 @@ export interface IUseKgButtonStoreActions {
|
|
|
70
70
|
* @param param.varName 按钮变量名称.
|
|
71
71
|
*/
|
|
72
72
|
setCurrentButton(param: {
|
|
73
|
-
type?:
|
|
73
|
+
type?: string;
|
|
74
74
|
varName?: string | null;
|
|
75
75
|
} | null): Promise<void>;
|
|
76
76
|
/**
|
|
@@ -82,7 +82,7 @@ export interface IUseKgButtonStoreActions {
|
|
|
82
82
|
*/
|
|
83
83
|
setIsClickIntercepted(param: {
|
|
84
84
|
isIntercepted: boolean;
|
|
85
|
-
type?:
|
|
85
|
+
type?: string;
|
|
86
86
|
varName?: string | null;
|
|
87
87
|
}): void;
|
|
88
88
|
/**
|
|
@@ -101,7 +101,7 @@ export interface IUseKgSubmit {
|
|
|
101
101
|
* </li>
|
|
102
102
|
* </ul>
|
|
103
103
|
*
|
|
104
|
-
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ
|
|
104
|
+
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ 属性.</p>
|
|
105
105
|
* @param param.buttonVarName <p>按钮的变量名称, 对应的是 VarButton.var_nam 属性.</p>
|
|
106
106
|
*/
|
|
107
107
|
getVarSubmitConfig(param?: {
|
|
@@ -143,7 +143,7 @@ export interface IUseKgSubmit {
|
|
|
143
143
|
* </li>
|
|
144
144
|
* </ul>
|
|
145
145
|
*
|
|
146
|
-
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ
|
|
146
|
+
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ 属性.</p>
|
|
147
147
|
* @param param.buttonVarName <p>按钮的变量名称, 对应的是 VarButton.var_nam 属性.</p>
|
|
148
148
|
* @param param.isKey 提交表单字段是否可见, 对应的是 {@link VarSubmitDetail.key_flg} 属性.
|
|
149
149
|
* @param param.isVisible 提交表单字段是否可见, 对应的是 {@link VarSubmitDetail.visible_flag} 属性.
|
|
@@ -286,7 +286,7 @@ export interface IUseKgSubmit {
|
|
|
286
286
|
* </li>
|
|
287
287
|
* </ul>
|
|
288
288
|
*
|
|
289
|
-
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ
|
|
289
|
+
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ 属性.</p>
|
|
290
290
|
* @param param.buttonVarName <p>按钮的变量名称, 对应的是 VarButton.var_nam 属性.</p>
|
|
291
291
|
* @param param.properties 要修改的部分属性.
|
|
292
292
|
* @param param.varName 「提交表单字段」的变量名称, 对应的是 {@link VarSubmitDetail.var_nam} 属性.
|
|
@@ -313,7 +313,7 @@ export interface IUseKgSubmit {
|
|
|
313
313
|
* </li>
|
|
314
314
|
* </ul>
|
|
315
315
|
*
|
|
316
|
-
* @param param.buttonType <p>按钮的类型, 对应的是 {@link VarButton#typ}
|
|
316
|
+
* @param param.buttonType <p>按钮的类型, 对应的是 {@link VarButton#typ} 属性.</p>
|
|
317
317
|
* @param param.buttonVname <p>按钮的变量名称, 对应的是 VarButton.var_nam 属性.</p>
|
|
318
318
|
* @param param.varSubmitDetailList 要修改的「提交表单字段」列表, 列表中的每个对象只需要包含要修改的属性, 注意 VarSubmitDetail.frm_id 和 VarSubmitDetail.var_nam 必须包含.
|
|
319
319
|
*/
|
|
@@ -68,7 +68,7 @@ export interface IUseKgSubmitStoreActions {
|
|
|
68
68
|
* </li>
|
|
69
69
|
* </ul>
|
|
70
70
|
*
|
|
71
|
-
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ
|
|
71
|
+
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ 属性.</p>
|
|
72
72
|
* @param param.buttonVarName <p>按钮的变量名称, 对应的是 VarButton.var_nam 属性.</p>
|
|
73
73
|
* @param param.properties 要修改的部分属性.
|
|
74
74
|
* @param param.varName 「提交表单字段」的变量名称, 对应的是 {@link VarSubmitDetail.var_nam} 属性.
|
|
@@ -95,7 +95,7 @@ export interface IUseKgSubmitStoreActions {
|
|
|
95
95
|
* </li>
|
|
96
96
|
* </ul>
|
|
97
97
|
*
|
|
98
|
-
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ
|
|
98
|
+
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ 属性.</p>
|
|
99
99
|
* @param param.buttonVname <p>按钮的变量名称, 对应的是 VarButton.var_nam 属性.</p>
|
|
100
100
|
* @param param.varSubmitDetailList 要修改的「提交表单字段」列表, 列表中的每个对象只需要包含要修改的属性, 注意 {@link VarSubmitDetail.frm_id} 和 {@link VarSubmitDetail.var_nam} 必须包含.
|
|
101
101
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigPossibility, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarVariable } from '../../api/DDA/models';
|
|
4
|
-
import { IKgVarButtonConfigProperties, IKgVarDdaProperties, IKgVarGridConfigProperties, IKgVarProfileConfigProperties
|
|
4
|
+
import { IKgVarButtonConfigProperties, IKgVarDdaProperties, IKgVarGridConfigProperties, IKgVarProfileConfigProperties } from '../../model';
|
|
5
5
|
import { IUseKgButton } from '../KgButton';
|
|
6
6
|
import { IUseKgForm } from '../KgForm';
|
|
7
7
|
import { type IUseKgSearch } from '../KgSearch';
|
|
@@ -72,12 +72,12 @@ export declare type IUseKgVar = {
|
|
|
72
72
|
* </li>
|
|
73
73
|
* </ul>
|
|
74
74
|
*
|
|
75
|
-
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ 属性, 取值请参考 {@link
|
|
75
|
+
* @param param.buttonType <p>按钮的类型, 对应的是 VarButton.typ 属性, 取值请参考 {@link KG.VAR_BUTTON__TYPE__SEARCH}.</p>
|
|
76
76
|
* @param param.buttonVarName <p>按钮的变量名称, 对应的是 VarButton.var_nam 属性.</p>
|
|
77
77
|
* @param param.varName 提交表单字段的变量名, 对应的是 {@link VarConfigControl.var_nam} 属性.
|
|
78
78
|
*/
|
|
79
79
|
getVarConfigControl(param: {
|
|
80
|
-
buttonType?:
|
|
80
|
+
buttonType?: string;
|
|
81
81
|
buttonVarName?: string | null;
|
|
82
82
|
varName: string | null | undefined;
|
|
83
83
|
}): VarConfigControl | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type IKgStoreDefinition } from '@kengic/core';
|
|
2
2
|
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../api/DDA/models';
|
|
3
|
-
import { KG__VAR_BUTTON__TYPE } from '../../model';
|
|
4
3
|
import { IUseKgVar } from './KgVar.hooks';
|
|
5
4
|
import { IKgProps, IKgSlots } from './KgVar.model';
|
|
6
5
|
export declare function transformVarDda(varDda: VarDda | null | undefined): VarDda | null;
|
|
@@ -69,7 +68,7 @@ export interface UseKgVarStoreGetters {
|
|
|
69
68
|
getVarButtons: (fid: string | null | undefined) => Array<VarButton>;
|
|
70
69
|
getVarChildDetails: (fid: string | null | undefined) => Array<VarChildDetail>;
|
|
71
70
|
getVarConfigControl: (fid: string | null | undefined, param: {
|
|
72
|
-
buttonType?:
|
|
71
|
+
buttonType?: string;
|
|
73
72
|
buttonVarName?: string | null;
|
|
74
73
|
varName: string | null | undefined;
|
|
75
74
|
}) => VarConfigControl | null;
|
|
@@ -3,7 +3,7 @@ export declare type IKgVarConfig$Modal$Tab = 'variable' | 'search' | 'table' | '
|
|
|
3
3
|
declare const getProps: () => {
|
|
4
4
|
kgEnv: {
|
|
5
5
|
type: PropType<string>;
|
|
6
|
-
default:
|
|
6
|
+
default: "DEFAULT";
|
|
7
7
|
};
|
|
8
8
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
|
9
9
|
visible: PropType<boolean>;
|
|
@@ -15,14 +15,14 @@ export declare type IKgVarConfig$Modal$Props = Partial<ExtractPropTypes<ReturnTy
|
|
|
15
15
|
export declare const KgVarConfig$Modal: import("vue").DefineComponent<{
|
|
16
16
|
kgEnv: {
|
|
17
17
|
type: PropType<string>;
|
|
18
|
-
default:
|
|
18
|
+
default: "DEFAULT";
|
|
19
19
|
};
|
|
20
20
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
|
21
21
|
visible: PropType<boolean>;
|
|
22
22
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
23
23
|
kgEnv: {
|
|
24
24
|
type: PropType<string>;
|
|
25
|
-
default:
|
|
25
|
+
default: "DEFAULT";
|
|
26
26
|
};
|
|
27
27
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
|
28
28
|
visible: PropType<boolean>;
|
|
@@ -181,10 +181,7 @@ export declare type IKgOption = {
|
|
|
181
181
|
[KG_APP.WMS_DATA_MANAGER]?: string;
|
|
182
182
|
};
|
|
183
183
|
/**
|
|
184
|
-
* 数据库的类型.
|
|
185
|
-
*
|
|
186
|
-
* @see {@link KG.DB_TYPE}
|
|
187
|
-
* @default {@link KG.DB_TYPE__SQLSERVER}
|
|
184
|
+
* 数据库的类型. 默认为 {@link KG.DB_TYPE__SQLSERVER}.
|
|
188
185
|
*/
|
|
189
186
|
dbType?: string;
|
|
190
187
|
/**
|