@kengic/vue 0.20.0 → 0.20.2-beta.0
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 +4200 -4019
- package/dist/src/apis/WMS/models.d.ts +2 -2
- package/dist/src/components/KgForm/index.hooks.d.ts +18 -5
- package/dist/src/components/KgForm/index.store.d.ts +45 -19
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +4 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +2 -4
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +4 -4
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -2
- package/dist/src/components/KgSubmit/index.vm.d.ts +6 -6
- package/dist/src/components/KgTable/index.hooks.d.ts +72 -84
- package/dist/src/components/KgVar/index.hooks.d.ts +82 -73
- package/dist/src/components/KgVar/index.store.d.ts +93 -85
- package/dist/src/consts/index.d.ts +1 -1
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +16 -13
- package/dist/src/utils/kg-var.util.d.ts +6 -6
- package/package.json +1 -1
@@ -2,8 +2,8 @@
|
|
2
2
|
export declare class CreateVarDdaQuery {
|
3
3
|
/** 界面标识(FormID). */
|
4
4
|
frmId?: string | null;
|
5
|
-
/**
|
6
|
-
|
5
|
+
/** 菜单以及按钮权限. */
|
6
|
+
sysPermissions?: Array<SysPermission> | null;
|
7
7
|
/** 按钮. */
|
8
8
|
varButtons?: Array<VarButton> | null;
|
9
9
|
/** 所有变量. */
|
@@ -1,14 +1,27 @@
|
|
1
|
-
import { IKgFormEvent, IKgFormLookupBeforeOkCb, IKgFormLookupBeforeOpenCb, IKgFormLookupOkCb, IKgFormSelectBeforeSetDatasCb, IKgFormSelectChangeCb } from './index.store';
|
1
|
+
import { IKgFormChangeCb, IKgFormEvent, IKgFormLookupBeforeOkCb, IKgFormLookupBeforeOpenCb, IKgFormLookupOkCb, IKgFormSelectBeforeSetDatasCb, IKgFormSelectChangeCb } from './index.store';
|
2
2
|
/**
|
3
3
|
* @param formID 界面标识.
|
4
4
|
*/
|
5
5
|
export declare function useKgForm(formID?: string | null): {
|
6
6
|
formID: string;
|
7
|
-
store: import("pinia").Store<"KgForm",
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
store: import("pinia").Store<"KgForm", {
|
8
|
+
changeListenersMap: Map<string, IKgFormChangeCb[]>;
|
9
|
+
selectBeforeSetDatasListenersMap: Map<string, IKgFormSelectBeforeSetDatasCb[]>;
|
10
|
+
selectChangeListenersMap: Map<string, IKgFormSelectChangeCb[]>;
|
11
|
+
lookupBeforeOpenListenersMap: Map<string, IKgFormLookupBeforeOpenCb[]>;
|
12
|
+
lookupBeforeOkListenersMap: Map<string, IKgFormLookupBeforeOkCb[]>;
|
13
|
+
lookupOkListenersMap: Map<string, IKgFormLookupOkCb[]>;
|
14
|
+
}, {}, {
|
15
|
+
addEventListener(formID: string, event: IKgFormEvent, cb: import("./index.store").IKgFormCb): void;
|
16
|
+
removeEventListener(formID: string, event: IKgFormEvent, cb?: import("./index.store").IKgFormCb | undefined): void;
|
17
|
+
emit<T = import("./index.store").IKgFormCbParam>(formID: string, event: IKgFormEvent, param: T): Promise<boolean>;
|
11
18
|
}>;
|
19
|
+
/**
|
20
|
+
* 事件: 表单控件数据发生变更.
|
21
|
+
* @param cb 回调函数.
|
22
|
+
* @param once 是否只会触发一次. 默认为 undefined.
|
23
|
+
*/
|
24
|
+
onChange: (cb: IKgFormChangeCb, once?: boolean | undefined) => import("../..").IRemoveEventListenerHandler;
|
12
25
|
/**
|
13
26
|
* 事件: 查询请求成功, 列表数据尚未赋值. 此处可以对查询接口返回的列表数据作处理.
|
14
27
|
* @param cb 回调函数.
|
@@ -1,16 +1,32 @@
|
|
1
|
-
import { StoreDefinition } from 'pinia';
|
2
1
|
import { ComputedRef, Ref } from 'vue';
|
3
2
|
import { IKgEventCb } from '../../consts';
|
4
3
|
import { IKgTableRow } from '../KgTable';
|
5
4
|
/**
|
6
5
|
* 事件类型.
|
7
|
-
* '
|
6
|
+
* 'change': 表单控件数据发生变更
|
7
|
+
* 'selectBeforeSetDatas': 下拉列表查询请求成功, 列表数据尚未赋值. 此处可以对查询接口返回的列表数据作处理
|
8
8
|
* 'selectChange': 下拉列表选中某个(可能多个)数据
|
9
9
|
* 'lookupBeforeOpen': 查找弹窗打开之前
|
10
10
|
* 'lookupBeforeOk': 查找弹窗点击确定之前. 如果返回 true 则查找弹窗不会触发 kgOk 事件
|
11
11
|
* 'lookupOk': 查找弹窗点击确定
|
12
12
|
*/
|
13
|
-
export declare type IKgFormEvent = 'selectBeforeSetDatas' | 'selectChange' | 'lookupBeforeOpen' | 'lookupBeforeOk' | 'lookupOk';
|
13
|
+
export declare type IKgFormEvent = 'change' | 'selectBeforeSetDatas' | 'selectChange' | 'lookupBeforeOpen' | 'lookupBeforeOk' | 'lookupOk';
|
14
|
+
/** 事件监听函数: change. */
|
15
|
+
export declare type IKgFormChangeCbParam = {
|
16
|
+
isCopying: boolean | null;
|
17
|
+
isCreating: boolean | null;
|
18
|
+
isDeleting: boolean | null;
|
19
|
+
isUpdating: boolean | null;
|
20
|
+
/**
|
21
|
+
* 表单控件当前数据.
|
22
|
+
*/
|
23
|
+
value: any;
|
24
|
+
/**
|
25
|
+
* 变量名称.
|
26
|
+
*/
|
27
|
+
variableName: string;
|
28
|
+
};
|
29
|
+
export declare type IKgFormChangeCb = ((param: IKgFormChangeCbParam) => Promise<boolean>) & IKgEventCb;
|
14
30
|
/** 事件监听函数: selectBeforeSetDatas. */
|
15
31
|
export declare type IKgFormSelectBeforeSetDatasCbParam<T = any> = {
|
16
32
|
/** 列表数据. */
|
@@ -95,25 +111,35 @@ export declare type IKgFormLookupOkCbParam = {
|
|
95
111
|
var_nam: string;
|
96
112
|
};
|
97
113
|
export declare type IKgFormLookupOkCb = ((param: IKgFormLookupOkCbParam) => Promise<boolean>) & IKgEventCb;
|
98
|
-
export declare type IKgFormCbParam = IKgFormSelectBeforeSetDatasCbParam | IKgFormSelectChangeCbParam | IKgFormLookupBeforeOpenCbParam | IKgFormLookupBeforeOkCbParam | IKgFormLookupOkCbParam;
|
99
|
-
export declare type IKgFormCb = IKgFormSelectBeforeSetDatasCb | IKgFormSelectChangeCb | IKgFormLookupBeforeOpenCb | IKgFormLookupBeforeOkCb | IKgFormLookupOkCb;
|
100
|
-
export
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
114
|
+
export declare type IKgFormCbParam = IKgFormChangeCbParam | IKgFormSelectBeforeSetDatasCbParam | IKgFormSelectChangeCbParam | IKgFormLookupBeforeOpenCbParam | IKgFormLookupBeforeOkCbParam | IKgFormLookupOkCbParam;
|
115
|
+
export declare type IKgFormCb = IKgFormChangeCb | IKgFormSelectBeforeSetDatasCb | IKgFormSelectChangeCb | IKgFormLookupBeforeOpenCb | IKgFormLookupBeforeOkCb | IKgFormLookupOkCb;
|
116
|
+
export declare const useKgFormStore: import("pinia").StoreDefinition<"KgForm", {
|
117
|
+
changeListenersMap: Map<string, IKgFormChangeCb[]>;
|
118
|
+
selectBeforeSetDatasListenersMap: Map<string, IKgFormSelectBeforeSetDatasCb[]>;
|
119
|
+
selectChangeListenersMap: Map<string, IKgFormSelectChangeCb[]>;
|
120
|
+
lookupBeforeOpenListenersMap: Map<string, IKgFormLookupBeforeOpenCb[]>;
|
121
|
+
lookupBeforeOkListenersMap: Map<string, IKgFormLookupBeforeOkCb[]>;
|
122
|
+
lookupOkListenersMap: Map<string, IKgFormLookupOkCb[]>;
|
123
|
+
}, {}, {
|
124
|
+
/**
|
125
|
+
* 注册事件监听.
|
126
|
+
* @param formID 界面标识.
|
127
|
+
* @param event 事件名称.
|
128
|
+
* @param cb 回调函数.
|
129
|
+
*/
|
130
|
+
addEventListener(formID: string, event: IKgFormEvent, cb: IKgFormCb): void;
|
131
|
+
/**
|
132
|
+
* 退订事件监听.
|
133
|
+
* @param formID 界面标识.
|
134
|
+
* @param event 事件名称.
|
135
|
+
* @param cb 回调函数.
|
136
|
+
*/
|
137
|
+
removeEventListener(formID: string, event: IKgFormEvent, cb?: IKgFormCb): void;
|
110
138
|
/**
|
111
139
|
* 触发事件.
|
112
|
-
* @param
|
140
|
+
* @param formID 界面标识.
|
113
141
|
* @param event 事件名称.
|
114
142
|
* @param param 数据.
|
115
143
|
*/
|
116
|
-
emit(
|
144
|
+
emit<T = IKgFormCbParam>(formID: string, event: IKgFormEvent, param: T): Promise<boolean>;
|
117
145
|
}>;
|
118
|
-
export declare type IKgFormStore = ReturnType<IKgFormStoreDefinition>;
|
119
|
-
export declare const useKgFormStore: () => IKgFormStoreDefinition;
|
@@ -6,8 +6,10 @@ import '../KgForm.Item.less';
|
|
6
6
|
declare const _default: import("vue").DefineComponent<{
|
7
7
|
kgVarName: {
|
8
8
|
type: import("vue").PropType<string>;
|
9
|
+
/** 是否勾选. */
|
9
10
|
required: boolean;
|
10
11
|
};
|
12
|
+
/** 是否勾选. */
|
11
13
|
kgContext: {
|
12
14
|
type: import("vue").PropType<string>;
|
13
15
|
default: import("../../..").KG_FORM_CONTEXT;
|
@@ -48,8 +50,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
48
50
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
49
51
|
kgVarName: {
|
50
52
|
type: import("vue").PropType<string>;
|
53
|
+
/** 是否勾选. */
|
51
54
|
required: boolean;
|
52
55
|
};
|
56
|
+
/** 是否勾选. */
|
53
57
|
kgContext: {
|
54
58
|
type: import("vue").PropType<string>;
|
55
59
|
default: import("../../..").KG_FORM_CONTEXT;
|
@@ -14,14 +14,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
14
14
|
};
|
15
15
|
kgSpan: import("vue").PropType<number>;
|
16
16
|
kgPlaceholder: import("vue").PropType<string>;
|
17
|
-
/** 是否全选. */
|
18
17
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
19
18
|
kgShowLabel: {
|
20
19
|
type: import("vue").PropType<boolean>;
|
21
20
|
default: boolean;
|
22
21
|
};
|
23
22
|
kgAllowClear: {
|
24
|
-
type: import("vue").PropType<boolean>;
|
23
|
+
type: import("vue").PropType<boolean>; /** 全选框是否处于半选状态, 即列表数据中部分已勾选, 部分未勾选. */
|
25
24
|
default: undefined;
|
26
25
|
};
|
27
26
|
kgShowTime: {
|
@@ -57,14 +56,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
57
56
|
};
|
58
57
|
kgSpan: import("vue").PropType<number>;
|
59
58
|
kgPlaceholder: import("vue").PropType<string>;
|
60
|
-
/** 是否全选. */
|
61
59
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
62
60
|
kgShowLabel: {
|
63
61
|
type: import("vue").PropType<boolean>;
|
64
62
|
default: boolean;
|
65
63
|
};
|
66
64
|
kgAllowClear: {
|
67
|
-
type: import("vue").PropType<boolean>;
|
65
|
+
type: import("vue").PropType<boolean>; /** 全选框是否处于半选状态, 即列表数据中部分已勾选, 部分未勾选. */
|
68
66
|
default: undefined;
|
69
67
|
};
|
70
68
|
kgShowTime: {
|
@@ -17,8 +17,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
17
17
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
18
18
|
kgShowLabel: {
|
19
19
|
type: import("vue").PropType<boolean>;
|
20
|
-
default: boolean;
|
21
|
-
};
|
20
|
+
default: boolean; /** 初始. */
|
21
|
+
}; /** 初始. */
|
22
22
|
kgAllowClear: {
|
23
23
|
type: import("vue").PropType<boolean>;
|
24
24
|
default: undefined;
|
@@ -59,8 +59,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
59
59
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
60
60
|
kgShowLabel: {
|
61
61
|
type: import("vue").PropType<boolean>;
|
62
|
-
default: boolean;
|
63
|
-
};
|
62
|
+
default: boolean; /** 初始. */
|
63
|
+
}; /** 初始. */
|
64
64
|
kgAllowClear: {
|
65
65
|
type: import("vue").PropType<boolean>;
|
66
66
|
default: undefined;
|
@@ -40,7 +40,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
40
40
|
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
41
41
|
onKgSubmit: import("vue").PropType<() => void>;
|
42
42
|
onKgChange: import("vue").PropType<(value: any) => void>;
|
43
|
-
/** 初始. */
|
44
43
|
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
45
44
|
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
46
45
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "kgSelectChange" | "update:value" | "kgSelectDatasChange")[], "kgSubmit" | "kgChange" | "kgSelectChange" | "update:value" | "kgSelectDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -83,7 +82,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
83
82
|
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
84
83
|
onKgSubmit: import("vue").PropType<() => void>;
|
85
84
|
onKgChange: import("vue").PropType<(value: any) => void>;
|
86
|
-
/** 初始. */
|
87
85
|
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
88
86
|
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
89
87
|
}>> & {
|
@@ -1,10 +1,10 @@
|
|
1
|
-
export declare const
|
2
|
-
export declare const
|
1
|
+
export declare const SUBMIT_DEFAULT_MIN_WIDTH = 300;
|
2
|
+
export declare const SUBMIT_DEFAULT_MAX_WIDTH = 1182;
|
3
3
|
/** 默认宽度. */
|
4
|
-
export declare const
|
4
|
+
export declare const SUBMIT_DEFAULT_WIDTH = 594;
|
5
5
|
/** 默认布局方式. */
|
6
|
-
export declare const
|
6
|
+
export declare const SUBMIT_DEFAULT_LAYOUT = "vertical";
|
7
7
|
/** 单位为 SPAN 时的默认宽度. */
|
8
|
-
export declare const
|
8
|
+
export declare const SUBMIT_DEFAULT_LABEL_COL_FOR_SPAN = 4;
|
9
9
|
/** 单位为 PX 时的默认宽度. */
|
10
|
-
export declare const
|
10
|
+
export declare const SUBMIT_DEFAULT_LABEL_COL_FOR_PX = 100;
|
@@ -8,19 +8,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
8
8
|
/** 状态数据. */
|
9
9
|
store: import("pinia").Store<"KgTable", {
|
10
10
|
isReadyMap: Map<string, boolean>;
|
11
|
-
/** 当前勾选的第一行. */
|
12
11
|
datasMap: Map<String, any[]>;
|
13
12
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
14
13
|
selectedRowsMap: Map<string, any[]>;
|
15
|
-
isRequestedMap: Map<string, boolean>;
|
16
|
-
isRequestingMap: Map<string, boolean>;
|
17
|
-
|
14
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
15
|
+
isRequestingMap: Map<string, boolean>;
|
16
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
17
|
+
tableWidthMap: Map<string, number>;
|
18
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
19
|
+
* 事件: 双击某行.
|
18
20
|
* @param cb 回调函数.
|
19
21
|
* @param once 是否只会触发一次. 默认为 undefined.
|
20
22
|
*/
|
21
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
22
|
-
tableWidthMap: Map<string, number>;
|
23
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
24
23
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
25
24
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
26
25
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -44,19 +43,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
44
43
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
45
44
|
} & import("pinia").PiniaCustomStateProperties<{
|
46
45
|
isReadyMap: Map<string, boolean>;
|
47
|
-
/** 当前勾选的第一行. */
|
48
46
|
datasMap: Map<String, any[]>;
|
49
47
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
50
48
|
selectedRowsMap: Map<string, any[]>;
|
51
|
-
isRequestedMap: Map<string, boolean>;
|
52
|
-
isRequestingMap: Map<string, boolean>;
|
53
|
-
|
49
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
50
|
+
isRequestingMap: Map<string, boolean>;
|
51
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
52
|
+
tableWidthMap: Map<string, number>;
|
53
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
54
|
+
* 事件: 双击某行.
|
54
55
|
* @param cb 回调函数.
|
55
56
|
* @param once 是否只会触发一次. 默认为 undefined.
|
56
57
|
*/
|
57
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
58
|
-
tableWidthMap: Map<string, number>;
|
59
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
60
58
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
61
59
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
62
60
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -80,19 +78,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
80
78
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
81
79
|
} & import("pinia").PiniaCustomStateProperties<{
|
82
80
|
isReadyMap: Map<string, boolean>;
|
83
|
-
/** 当前勾选的第一行. */
|
84
81
|
datasMap: Map<String, any[]>;
|
85
82
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
86
83
|
selectedRowsMap: Map<string, any[]>;
|
87
|
-
isRequestedMap: Map<string, boolean>;
|
88
|
-
isRequestingMap: Map<string, boolean>;
|
89
|
-
|
84
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
85
|
+
isRequestingMap: Map<string, boolean>;
|
86
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
87
|
+
tableWidthMap: Map<string, number>;
|
88
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
89
|
+
* 事件: 双击某行.
|
90
90
|
* @param cb 回调函数.
|
91
91
|
* @param once 是否只会触发一次. 默认为 undefined.
|
92
92
|
*/
|
93
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
94
|
-
tableWidthMap: Map<string, number>;
|
95
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
96
93
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
97
94
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
98
95
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -116,19 +113,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
116
113
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
117
114
|
} & import("pinia").PiniaCustomStateProperties<{
|
118
115
|
isReadyMap: Map<string, boolean>;
|
119
|
-
/** 当前勾选的第一行. */
|
120
116
|
datasMap: Map<String, any[]>;
|
121
117
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
122
118
|
selectedRowsMap: Map<string, any[]>;
|
123
|
-
isRequestedMap: Map<string, boolean>;
|
124
|
-
isRequestingMap: Map<string, boolean>;
|
125
|
-
|
119
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
120
|
+
isRequestingMap: Map<string, boolean>;
|
121
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
122
|
+
tableWidthMap: Map<string, number>;
|
123
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
124
|
+
* 事件: 双击某行.
|
126
125
|
* @param cb 回调函数.
|
127
126
|
* @param once 是否只会触发一次. 默认为 undefined.
|
128
127
|
*/
|
129
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
130
|
-
tableWidthMap: Map<string, number>;
|
131
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
132
128
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
133
129
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
134
130
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -152,19 +148,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
152
148
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
153
149
|
} & import("pinia").PiniaCustomStateProperties<{
|
154
150
|
isReadyMap: Map<string, boolean>;
|
155
|
-
/** 当前勾选的第一行. */
|
156
151
|
datasMap: Map<String, any[]>;
|
157
152
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
158
153
|
selectedRowsMap: Map<string, any[]>;
|
159
|
-
isRequestedMap: Map<string, boolean>;
|
160
|
-
isRequestingMap: Map<string, boolean>;
|
161
|
-
|
154
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
155
|
+
isRequestingMap: Map<string, boolean>;
|
156
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
157
|
+
tableWidthMap: Map<string, number>;
|
158
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
159
|
+
* 事件: 双击某行.
|
162
160
|
* @param cb 回调函数.
|
163
161
|
* @param once 是否只会触发一次. 默认为 undefined.
|
164
162
|
*/
|
165
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
166
|
-
tableWidthMap: Map<string, number>;
|
167
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
168
163
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
169
164
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
170
165
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -188,19 +183,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
188
183
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
189
184
|
} & import("pinia").PiniaCustomStateProperties<{
|
190
185
|
isReadyMap: Map<string, boolean>;
|
191
|
-
/** 当前勾选的第一行. */
|
192
186
|
datasMap: Map<String, any[]>;
|
193
187
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
194
188
|
selectedRowsMap: Map<string, any[]>;
|
195
|
-
isRequestedMap: Map<string, boolean>;
|
196
|
-
isRequestingMap: Map<string, boolean>;
|
197
|
-
|
189
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
190
|
+
isRequestingMap: Map<string, boolean>;
|
191
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
192
|
+
tableWidthMap: Map<string, number>;
|
193
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
194
|
+
* 事件: 双击某行.
|
198
195
|
* @param cb 回调函数.
|
199
196
|
* @param once 是否只会触发一次. 默认为 undefined.
|
200
197
|
*/
|
201
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
202
|
-
tableWidthMap: Map<string, number>;
|
203
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
204
198
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
205
199
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
206
200
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -224,19 +218,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
224
218
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
225
219
|
} & import("pinia").PiniaCustomStateProperties<{
|
226
220
|
isReadyMap: Map<string, boolean>;
|
227
|
-
/** 当前勾选的第一行. */
|
228
221
|
datasMap: Map<String, any[]>;
|
229
222
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
230
223
|
selectedRowsMap: Map<string, any[]>;
|
231
|
-
isRequestedMap: Map<string, boolean>;
|
232
|
-
isRequestingMap: Map<string, boolean>;
|
233
|
-
|
224
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
225
|
+
isRequestingMap: Map<string, boolean>;
|
226
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
227
|
+
tableWidthMap: Map<string, number>;
|
228
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
229
|
+
* 事件: 双击某行.
|
234
230
|
* @param cb 回调函数.
|
235
231
|
* @param once 是否只会触发一次. 默认为 undefined.
|
236
232
|
*/
|
237
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
238
|
-
tableWidthMap: Map<string, number>;
|
239
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
240
233
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
241
234
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
242
235
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -260,19 +253,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
260
253
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
261
254
|
} & import("pinia").PiniaCustomStateProperties<{
|
262
255
|
isReadyMap: Map<string, boolean>;
|
263
|
-
/** 当前勾选的第一行. */
|
264
256
|
datasMap: Map<String, any[]>;
|
265
257
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
266
258
|
selectedRowsMap: Map<string, any[]>;
|
267
|
-
isRequestedMap: Map<string, boolean>;
|
268
|
-
isRequestingMap: Map<string, boolean>;
|
269
|
-
|
259
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
260
|
+
isRequestingMap: Map<string, boolean>;
|
261
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
262
|
+
tableWidthMap: Map<string, number>;
|
263
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
264
|
+
* 事件: 双击某行.
|
270
265
|
* @param cb 回调函数.
|
271
266
|
* @param once 是否只会触发一次. 默认为 undefined.
|
272
267
|
*/
|
273
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
274
|
-
tableWidthMap: Map<string, number>;
|
275
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
276
268
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
277
269
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
278
270
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -296,19 +288,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
296
288
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
297
289
|
} & import("pinia").PiniaCustomStateProperties<{
|
298
290
|
isReadyMap: Map<string, boolean>;
|
299
|
-
/** 当前勾选的第一行. */
|
300
291
|
datasMap: Map<String, any[]>;
|
301
292
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
302
293
|
selectedRowsMap: Map<string, any[]>;
|
303
|
-
isRequestedMap: Map<string, boolean>;
|
304
|
-
isRequestingMap: Map<string, boolean>;
|
305
|
-
|
294
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
295
|
+
isRequestingMap: Map<string, boolean>;
|
296
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
297
|
+
tableWidthMap: Map<string, number>;
|
298
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
299
|
+
* 事件: 双击某行.
|
306
300
|
* @param cb 回调函数.
|
307
301
|
* @param once 是否只会触发一次. 默认为 undefined.
|
308
302
|
*/
|
309
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
310
|
-
tableWidthMap: Map<string, number>;
|
311
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
312
303
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
313
304
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
314
305
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -332,19 +323,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
332
323
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
333
324
|
} & import("pinia").PiniaCustomStateProperties<{
|
334
325
|
isReadyMap: Map<string, boolean>;
|
335
|
-
/** 当前勾选的第一行. */
|
336
326
|
datasMap: Map<String, any[]>;
|
337
327
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
338
328
|
selectedRowsMap: Map<string, any[]>;
|
339
|
-
isRequestedMap: Map<string, boolean>;
|
340
|
-
isRequestingMap: Map<string, boolean>;
|
341
|
-
|
329
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
330
|
+
isRequestingMap: Map<string, boolean>;
|
331
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
332
|
+
tableWidthMap: Map<string, number>;
|
333
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
334
|
+
* 事件: 双击某行.
|
342
335
|
* @param cb 回调函数.
|
343
336
|
* @param once 是否只会触发一次. 默认为 undefined.
|
344
337
|
*/
|
345
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
346
|
-
tableWidthMap: Map<string, number>;
|
347
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
348
338
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
349
339
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
350
340
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -368,19 +358,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
368
358
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
369
359
|
} & import("pinia").PiniaCustomStateProperties<{
|
370
360
|
isReadyMap: Map<string, boolean>;
|
371
|
-
/** 当前勾选的第一行. */
|
372
361
|
datasMap: Map<String, any[]>;
|
373
362
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
374
363
|
selectedRowsMap: Map<string, any[]>;
|
375
|
-
isRequestedMap: Map<string, boolean>;
|
376
|
-
isRequestingMap: Map<string, boolean>;
|
377
|
-
|
364
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
365
|
+
isRequestingMap: Map<string, boolean>;
|
366
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
367
|
+
tableWidthMap: Map<string, number>;
|
368
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
369
|
+
* 事件: 双击某行.
|
378
370
|
* @param cb 回调函数.
|
379
371
|
* @param once 是否只会触发一次. 默认为 undefined.
|
380
372
|
*/
|
381
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
382
|
-
tableWidthMap: Map<string, number>;
|
383
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
384
373
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
385
374
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
386
375
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -404,19 +393,18 @@ export declare function useKgTable(formID?: string | null): {
|
|
404
393
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
405
394
|
} & import("pinia").PiniaCustomStateProperties<{
|
406
395
|
isReadyMap: Map<string, boolean>;
|
407
|
-
/** 当前勾选的第一行. */
|
408
396
|
datasMap: Map<String, any[]>;
|
409
397
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
410
398
|
selectedRowsMap: Map<string, any[]>;
|
411
|
-
isRequestedMap: Map<string, boolean>;
|
412
|
-
isRequestingMap: Map<string, boolean>;
|
413
|
-
|
399
|
+
isRequestedMap: Map<string, boolean>; /** 当前分页选项. */
|
400
|
+
isRequestingMap: Map<string, boolean>;
|
401
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
402
|
+
tableWidthMap: Map<string, number>;
|
403
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>; /**
|
404
|
+
* 事件: 双击某行.
|
414
405
|
* @param cb 回调函数.
|
415
406
|
* @param once 是否只会触发一次. 默认为 undefined.
|
416
407
|
*/
|
417
|
-
requestParamsMap: Map<string, Record<string, any>>;
|
418
|
-
tableWidthMap: Map<string, number>;
|
419
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
420
408
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
421
409
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
422
410
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|