@kengic/vue 0.19.1-beta.0 → 0.19.2-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -2
- package/dist/kengic-vue.js +2224 -2212
- package/dist/src/components/KgForm/index.hooks.d.ts +5 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -2
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +3 -3
- package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +3 -6
- package/dist/src/components/KgSearch/index.hooks.d.ts +3 -3
- package/dist/src/components/KgSearch/index.store.d.ts +4 -4
- package/dist/src/components/KgTable/index.hooks.d.ts +473 -33
- package/dist/src/components/KgTable/index.store.d.ts +272 -129
- package/dist/src/components/KgTable/index.vm.d.ts +1 -1
- package/dist/src/components/KgVar/index.hooks.d.ts +49 -70
- package/dist/src/components/KgVar/index.store.d.ts +5 -5
- package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +6 -6
- package/dist/src/components/util.d.ts +4 -4
- package/dist/src/consts/index.vm.d.ts +2 -2
- package/dist/src/utils/kg-var.util.d.ts +1 -1
- package/package.json +1 -1
@@ -22,13 +22,13 @@ export declare type IKgTableRowDoubleClickParam = {
|
|
22
22
|
};
|
23
23
|
export declare type IKgTableRowDoubleClickCb = ((param: IKgTableRowDoubleClickParam) => Promise<boolean>) & IKgEventCb;
|
24
24
|
/** 事件监听函数: beforeSearch. */
|
25
|
-
export declare type
|
25
|
+
export declare type IKgTableBeforeRequestCbParam = {
|
26
26
|
/** 查询接口请求参数. */
|
27
27
|
params: Record<string, any>;
|
28
28
|
/** 查询接口返回的数据, 调用者可以直接修改该数据, 从而实现手动提供表格数据. */
|
29
29
|
response: Ref;
|
30
30
|
};
|
31
|
-
export declare type
|
31
|
+
export declare type IKgTableBeforeRequestCb = ((param: IKgTableBeforeRequestCbParam) => Promise<boolean>) & IKgEventCb;
|
32
32
|
/** 事件监听函数: beforeSetDatas. */
|
33
33
|
export declare type IKgTableBeforeSetDatasCbParam = {
|
34
34
|
/** 列表数据. */
|
@@ -36,7 +36,7 @@ export declare type IKgTableBeforeSetDatasCbParam = {
|
|
36
36
|
};
|
37
37
|
export declare type IKgTableBeforeSetDatasCb = ((param: IKgTableBeforeSetDatasCbParam) => Promise<boolean>) & IKgEventCb;
|
38
38
|
/** 事件监听函数: afterSearch. */
|
39
|
-
export declare type
|
39
|
+
export declare type IKgTableAfterRequestCbParam = {
|
40
40
|
/** 查询接口请求参数. */
|
41
41
|
params: Record<string, any>;
|
42
42
|
/** 接口返回的分页数据. */
|
@@ -44,9 +44,9 @@ export declare type IKgTableAfterSearchCbParam = {
|
|
44
44
|
/** 列表数据. */
|
45
45
|
datas: Ref<Array<IKgTableRow>>;
|
46
46
|
};
|
47
|
-
export declare type
|
48
|
-
export declare type IKgTableCbParam = IKgTableReadyParam | IKgTableRowDoubleClickParam |
|
49
|
-
export declare type IKgTableCb = IKgTableReadyCb | IKgTableRowDoubleClickCb |
|
47
|
+
export declare type IKgTableAfterRequestCb = ((param: IKgTableAfterRequestCbParam) => Promise<boolean>) & IKgEventCb;
|
48
|
+
export declare type IKgTableCbParam = IKgTableReadyParam | IKgTableRowDoubleClickParam | IKgTableBeforeRequestCbParam | IKgTableBeforeSetDatasCbParam | IKgTableAfterRequestCbParam;
|
49
|
+
export declare type IKgTableCb = IKgTableReadyCb | IKgTableRowDoubleClickCb | IKgTableBeforeRequestCb | IKgTableBeforeSetDatasCb | IKgTableAfterRequestCb;
|
50
50
|
export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable", {
|
51
51
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
52
52
|
isReadyMap: Map<string, boolean>;
|
@@ -57,13 +57,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
57
57
|
/** 勾选的行. */
|
58
58
|
selectedRowsMap: Map<string, any[]>;
|
59
59
|
/**
|
60
|
-
*
|
61
|
-
*
|
62
|
-
*
|
60
|
+
* <p>是否已经查询过一次了.</p>
|
61
|
+
* <ul>
|
62
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
63
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
64
|
+
* </ul>
|
63
65
|
*/
|
64
|
-
|
66
|
+
isRequestedMap: Map<string, boolean>;
|
65
67
|
/** 是否正在查询. */
|
66
|
-
|
68
|
+
isRequestingMap: Map<string, boolean>;
|
69
|
+
/**
|
70
|
+
* <p>查询参数.</p>
|
71
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
72
|
+
*/
|
73
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
67
74
|
/** 表格宽度. */
|
68
75
|
tableWidthMap: Map<string, number>;
|
69
76
|
/** 行高. */
|
@@ -72,9 +79,9 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
72
79
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
73
80
|
/** '双击某行'事件监听函数列表. */
|
74
81
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
75
|
-
|
82
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
76
83
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
77
|
-
|
84
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
78
85
|
}, {
|
79
86
|
/** 是否就绪. */
|
80
87
|
getIsReady(state: {
|
@@ -82,15 +89,16 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
82
89
|
datasMap: Map<String, any[]>;
|
83
90
|
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
84
91
|
selectedRowsMap: Map<string, any[]>;
|
85
|
-
|
86
|
-
|
92
|
+
isRequestedMap: Map<string, boolean>;
|
93
|
+
isRequestingMap: Map<string, boolean>;
|
94
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
87
95
|
tableWidthMap: Map<string, number>;
|
88
96
|
rowHeightMap: Map<string, IKgTableRowHeight>;
|
89
97
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
90
98
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
91
|
-
|
99
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
92
100
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
93
|
-
|
101
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
94
102
|
} & import("pinia").PiniaCustomStateProperties<{
|
95
103
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
96
104
|
isReadyMap: Map<string, boolean>;
|
@@ -101,13 +109,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
101
109
|
/** 勾选的行. */
|
102
110
|
selectedRowsMap: Map<string, any[]>;
|
103
111
|
/**
|
104
|
-
*
|
105
|
-
*
|
106
|
-
*
|
112
|
+
* <p>是否已经查询过一次了.</p>
|
113
|
+
* <ul>
|
114
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
115
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
116
|
+
* </ul>
|
107
117
|
*/
|
108
|
-
|
118
|
+
isRequestedMap: Map<string, boolean>;
|
109
119
|
/** 是否正在查询. */
|
110
|
-
|
120
|
+
isRequestingMap: Map<string, boolean>;
|
121
|
+
/**
|
122
|
+
* <p>查询参数.</p>
|
123
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
124
|
+
*/
|
125
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
111
126
|
/** 表格宽度. */
|
112
127
|
tableWidthMap: Map<string, number>;
|
113
128
|
/** 行高. */
|
@@ -116,9 +131,9 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
116
131
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
117
132
|
/** '双击某行'事件监听函数列表. */
|
118
133
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
119
|
-
|
134
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
120
135
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
121
|
-
|
136
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
122
137
|
}>): (formID: string | null | undefined) => boolean;
|
123
138
|
/** 列表数据. */
|
124
139
|
getDatas(state: {
|
@@ -126,15 +141,16 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
126
141
|
datasMap: Map<String, any[]>;
|
127
142
|
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
128
143
|
selectedRowsMap: Map<string, any[]>;
|
129
|
-
|
130
|
-
|
144
|
+
isRequestedMap: Map<string, boolean>;
|
145
|
+
isRequestingMap: Map<string, boolean>;
|
146
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
131
147
|
tableWidthMap: Map<string, number>;
|
132
148
|
rowHeightMap: Map<string, IKgTableRowHeight>;
|
133
149
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
134
150
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
135
|
-
|
151
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
136
152
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
137
|
-
|
153
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
138
154
|
} & import("pinia").PiniaCustomStateProperties<{
|
139
155
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
140
156
|
isReadyMap: Map<string, boolean>;
|
@@ -145,13 +161,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
145
161
|
/** 勾选的行. */
|
146
162
|
selectedRowsMap: Map<string, any[]>;
|
147
163
|
/**
|
148
|
-
*
|
149
|
-
*
|
150
|
-
*
|
164
|
+
* <p>是否已经查询过一次了.</p>
|
165
|
+
* <ul>
|
166
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
167
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
168
|
+
* </ul>
|
151
169
|
*/
|
152
|
-
|
170
|
+
isRequestedMap: Map<string, boolean>;
|
153
171
|
/** 是否正在查询. */
|
154
|
-
|
172
|
+
isRequestingMap: Map<string, boolean>;
|
173
|
+
/**
|
174
|
+
* <p>查询参数.</p>
|
175
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
176
|
+
*/
|
177
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
155
178
|
/** 表格宽度. */
|
156
179
|
tableWidthMap: Map<string, number>;
|
157
180
|
/** 行高. */
|
@@ -160,9 +183,9 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
160
183
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
161
184
|
/** '双击某行'事件监听函数列表. */
|
162
185
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
163
|
-
|
186
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
164
187
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
165
|
-
|
188
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
166
189
|
}>): <T = IKgTableRow>(formID: string | null | undefined) => T[];
|
167
190
|
/** 当前勾选的行的主键. */
|
168
191
|
getSelectedRowKeys(state: {
|
@@ -170,15 +193,16 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
170
193
|
datasMap: Map<String, any[]>;
|
171
194
|
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
172
195
|
selectedRowsMap: Map<string, any[]>;
|
173
|
-
|
174
|
-
|
196
|
+
isRequestedMap: Map<string, boolean>;
|
197
|
+
isRequestingMap: Map<string, boolean>;
|
198
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
175
199
|
tableWidthMap: Map<string, number>;
|
176
200
|
rowHeightMap: Map<string, IKgTableRowHeight>;
|
177
201
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
178
202
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
179
|
-
|
203
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
180
204
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
181
|
-
|
205
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
182
206
|
} & import("pinia").PiniaCustomStateProperties<{
|
183
207
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
184
208
|
isReadyMap: Map<string, boolean>;
|
@@ -189,13 +213,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
189
213
|
/** 勾选的行. */
|
190
214
|
selectedRowsMap: Map<string, any[]>;
|
191
215
|
/**
|
192
|
-
*
|
193
|
-
*
|
194
|
-
*
|
216
|
+
* <p>是否已经查询过一次了.</p>
|
217
|
+
* <ul>
|
218
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
219
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
220
|
+
* </ul>
|
195
221
|
*/
|
196
|
-
|
222
|
+
isRequestedMap: Map<string, boolean>;
|
197
223
|
/** 是否正在查询. */
|
198
|
-
|
224
|
+
isRequestingMap: Map<string, boolean>;
|
225
|
+
/**
|
226
|
+
* <p>查询参数.</p>
|
227
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
228
|
+
*/
|
229
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
199
230
|
/** 表格宽度. */
|
200
231
|
tableWidthMap: Map<string, number>;
|
201
232
|
/** 行高. */
|
@@ -204,9 +235,9 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
204
235
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
205
236
|
/** '双击某行'事件监听函数列表. */
|
206
237
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
207
|
-
|
238
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
208
239
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
209
|
-
|
240
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
210
241
|
}>): (formID: string | null | undefined) => Ref<Array<Key>>;
|
211
242
|
/** 当前勾选的行. */
|
212
243
|
getSelectedRows(state: {
|
@@ -214,15 +245,16 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
214
245
|
datasMap: Map<String, any[]>;
|
215
246
|
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
216
247
|
selectedRowsMap: Map<string, any[]>;
|
217
|
-
|
218
|
-
|
248
|
+
isRequestedMap: Map<string, boolean>;
|
249
|
+
isRequestingMap: Map<string, boolean>;
|
250
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
219
251
|
tableWidthMap: Map<string, number>;
|
220
252
|
rowHeightMap: Map<string, IKgTableRowHeight>;
|
221
253
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
222
254
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
223
|
-
|
255
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
224
256
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
225
|
-
|
257
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
226
258
|
} & import("pinia").PiniaCustomStateProperties<{
|
227
259
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
228
260
|
isReadyMap: Map<string, boolean>;
|
@@ -233,13 +265,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
233
265
|
/** 勾选的行. */
|
234
266
|
selectedRowsMap: Map<string, any[]>;
|
235
267
|
/**
|
236
|
-
*
|
237
|
-
*
|
238
|
-
*
|
268
|
+
* <p>是否已经查询过一次了.</p>
|
269
|
+
* <ul>
|
270
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
271
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
272
|
+
* </ul>
|
239
273
|
*/
|
240
|
-
|
274
|
+
isRequestedMap: Map<string, boolean>;
|
241
275
|
/** 是否正在查询. */
|
242
|
-
|
276
|
+
isRequestingMap: Map<string, boolean>;
|
277
|
+
/**
|
278
|
+
* <p>查询参数.</p>
|
279
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
280
|
+
*/
|
281
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
243
282
|
/** 表格宽度. */
|
244
283
|
tableWidthMap: Map<string, number>;
|
245
284
|
/** 行高. */
|
@@ -248,9 +287,9 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
248
287
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
249
288
|
/** '双击某行'事件监听函数列表. */
|
250
289
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
251
|
-
|
290
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
252
291
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
253
|
-
|
292
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
254
293
|
}>): (formID: string | null | undefined) => Array<IKgTableRow> | null;
|
255
294
|
/** 当前勾选的第一行. */
|
256
295
|
getSelectedFirstRow(state: {
|
@@ -258,15 +297,16 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
258
297
|
datasMap: Map<String, any[]>;
|
259
298
|
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
260
299
|
selectedRowsMap: Map<string, any[]>;
|
261
|
-
|
262
|
-
|
300
|
+
isRequestedMap: Map<string, boolean>;
|
301
|
+
isRequestingMap: Map<string, boolean>;
|
302
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
263
303
|
tableWidthMap: Map<string, number>;
|
264
304
|
rowHeightMap: Map<string, IKgTableRowHeight>;
|
265
305
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
266
306
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
267
|
-
|
307
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
268
308
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
269
|
-
|
309
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
270
310
|
} & import("pinia").PiniaCustomStateProperties<{
|
271
311
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
272
312
|
isReadyMap: Map<string, boolean>;
|
@@ -277,13 +317,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
277
317
|
/** 勾选的行. */
|
278
318
|
selectedRowsMap: Map<string, any[]>;
|
279
319
|
/**
|
280
|
-
*
|
281
|
-
*
|
282
|
-
*
|
320
|
+
* <p>是否已经查询过一次了.</p>
|
321
|
+
* <ul>
|
322
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
323
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
324
|
+
* </ul>
|
283
325
|
*/
|
284
|
-
|
326
|
+
isRequestedMap: Map<string, boolean>;
|
285
327
|
/** 是否正在查询. */
|
286
|
-
|
328
|
+
isRequestingMap: Map<string, boolean>;
|
329
|
+
/**
|
330
|
+
* <p>查询参数.</p>
|
331
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
332
|
+
*/
|
333
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
287
334
|
/** 表格宽度. */
|
288
335
|
tableWidthMap: Map<string, number>;
|
289
336
|
/** 行高. */
|
@@ -292,9 +339,9 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
292
339
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
293
340
|
/** '双击某行'事件监听函数列表. */
|
294
341
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
295
|
-
|
342
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
296
343
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
297
|
-
|
344
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
298
345
|
}>): (formID: string | null | undefined) => IKgTableRow | null;
|
299
346
|
/** 当前勾选的唯一行. */
|
300
347
|
getSelectedRow(state: {
|
@@ -302,15 +349,16 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
302
349
|
datasMap: Map<String, any[]>;
|
303
350
|
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
304
351
|
selectedRowsMap: Map<string, any[]>;
|
305
|
-
|
306
|
-
|
352
|
+
isRequestedMap: Map<string, boolean>;
|
353
|
+
isRequestingMap: Map<string, boolean>;
|
354
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
307
355
|
tableWidthMap: Map<string, number>;
|
308
356
|
rowHeightMap: Map<string, IKgTableRowHeight>;
|
309
357
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
310
358
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
311
|
-
|
359
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
312
360
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
313
|
-
|
361
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
314
362
|
} & import("pinia").PiniaCustomStateProperties<{
|
315
363
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
316
364
|
isReadyMap: Map<string, boolean>;
|
@@ -321,13 +369,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
321
369
|
/** 勾选的行. */
|
322
370
|
selectedRowsMap: Map<string, any[]>;
|
323
371
|
/**
|
324
|
-
*
|
325
|
-
*
|
326
|
-
*
|
372
|
+
* <p>是否已经查询过一次了.</p>
|
373
|
+
* <ul>
|
374
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
375
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
376
|
+
* </ul>
|
327
377
|
*/
|
328
|
-
|
378
|
+
isRequestedMap: Map<string, boolean>;
|
329
379
|
/** 是否正在查询. */
|
330
|
-
|
380
|
+
isRequestingMap: Map<string, boolean>;
|
381
|
+
/**
|
382
|
+
* <p>查询参数.</p>
|
383
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
384
|
+
*/
|
385
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
331
386
|
/** 表格宽度. */
|
332
387
|
tableWidthMap: Map<string, number>;
|
333
388
|
/** 行高. */
|
@@ -336,27 +391,28 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
336
391
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
337
392
|
/** '双击某行'事件监听函数列表. */
|
338
393
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
339
|
-
|
394
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
340
395
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
341
|
-
|
396
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
342
397
|
}>): (formID: string | null | undefined) => IKgTableRow | null;
|
343
398
|
/**
|
344
399
|
* 根据 formID 获取是否已经查询过一次了.
|
345
400
|
*/
|
346
|
-
|
401
|
+
getIsRequested(state: {
|
347
402
|
isReadyMap: Map<string, boolean>;
|
348
403
|
datasMap: Map<String, any[]>;
|
349
404
|
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
350
405
|
selectedRowsMap: Map<string, any[]>;
|
351
|
-
|
352
|
-
|
406
|
+
isRequestedMap: Map<string, boolean>;
|
407
|
+
isRequestingMap: Map<string, boolean>;
|
408
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
353
409
|
tableWidthMap: Map<string, number>;
|
354
410
|
rowHeightMap: Map<string, IKgTableRowHeight>;
|
355
411
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
356
412
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
357
|
-
|
413
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
358
414
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
359
|
-
|
415
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
360
416
|
} & import("pinia").PiniaCustomStateProperties<{
|
361
417
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
362
418
|
isReadyMap: Map<string, boolean>;
|
@@ -367,13 +423,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
367
423
|
/** 勾选的行. */
|
368
424
|
selectedRowsMap: Map<string, any[]>;
|
369
425
|
/**
|
370
|
-
*
|
371
|
-
*
|
372
|
-
*
|
426
|
+
* <p>是否已经查询过一次了.</p>
|
427
|
+
* <ul>
|
428
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
429
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
430
|
+
* </ul>
|
373
431
|
*/
|
374
|
-
|
432
|
+
isRequestedMap: Map<string, boolean>;
|
375
433
|
/** 是否正在查询. */
|
376
|
-
|
434
|
+
isRequestingMap: Map<string, boolean>;
|
435
|
+
/**
|
436
|
+
* <p>查询参数.</p>
|
437
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
438
|
+
*/
|
439
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
377
440
|
/** 表格宽度. */
|
378
441
|
tableWidthMap: Map<string, number>;
|
379
442
|
/** 行高. */
|
@@ -382,28 +445,29 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
382
445
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
383
446
|
/** '双击某行'事件监听函数列表. */
|
384
447
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
385
|
-
|
448
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
386
449
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
387
|
-
|
450
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
388
451
|
}>): (formID: string | null | undefined) => boolean;
|
389
452
|
/**
|
390
453
|
* 根据 formID 获取是否正在查询.
|
391
454
|
* @param state
|
392
455
|
*/
|
393
|
-
|
456
|
+
getIsRequesting(state: {
|
394
457
|
isReadyMap: Map<string, boolean>;
|
395
458
|
datasMap: Map<String, any[]>;
|
396
459
|
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
397
460
|
selectedRowsMap: Map<string, any[]>;
|
398
|
-
|
399
|
-
|
461
|
+
isRequestedMap: Map<string, boolean>;
|
462
|
+
isRequestingMap: Map<string, boolean>;
|
463
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
400
464
|
tableWidthMap: Map<string, number>;
|
401
465
|
rowHeightMap: Map<string, IKgTableRowHeight>;
|
402
466
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
403
467
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
404
|
-
|
468
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
405
469
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
406
|
-
|
470
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
407
471
|
} & import("pinia").PiniaCustomStateProperties<{
|
408
472
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
409
473
|
isReadyMap: Map<string, boolean>;
|
@@ -414,13 +478,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
414
478
|
/** 勾选的行. */
|
415
479
|
selectedRowsMap: Map<string, any[]>;
|
416
480
|
/**
|
417
|
-
*
|
418
|
-
*
|
419
|
-
*
|
481
|
+
* <p>是否已经查询过一次了.</p>
|
482
|
+
* <ul>
|
483
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
484
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
485
|
+
* </ul>
|
420
486
|
*/
|
421
|
-
|
487
|
+
isRequestedMap: Map<string, boolean>;
|
422
488
|
/** 是否正在查询. */
|
423
|
-
|
489
|
+
isRequestingMap: Map<string, boolean>;
|
490
|
+
/**
|
491
|
+
* <p>查询参数.</p>
|
492
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
493
|
+
*/
|
494
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
424
495
|
/** 表格宽度. */
|
425
496
|
tableWidthMap: Map<string, number>;
|
426
497
|
/** 行高. */
|
@@ -429,10 +500,65 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
429
500
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
430
501
|
/** '双击某行'事件监听函数列表. */
|
431
502
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
432
|
-
|
503
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
433
504
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
434
|
-
|
505
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
435
506
|
}>): (formID: string | null | undefined) => boolean | null;
|
507
|
+
/**
|
508
|
+
* 根据 formID 获取查询参数.
|
509
|
+
* @param state
|
510
|
+
*/
|
511
|
+
getRequestParams(state: {
|
512
|
+
isReadyMap: Map<string, boolean>;
|
513
|
+
datasMap: Map<String, any[]>;
|
514
|
+
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
515
|
+
selectedRowsMap: Map<string, any[]>;
|
516
|
+
isRequestedMap: Map<string, boolean>;
|
517
|
+
isRequestingMap: Map<string, boolean>;
|
518
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
519
|
+
tableWidthMap: Map<string, number>;
|
520
|
+
rowHeightMap: Map<string, IKgTableRowHeight>;
|
521
|
+
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
522
|
+
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
523
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
524
|
+
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
525
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
526
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
527
|
+
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
528
|
+
isReadyMap: Map<string, boolean>;
|
529
|
+
/** 列表数据. */
|
530
|
+
datasMap: Map<String, any[]>;
|
531
|
+
/** 勾选的行的主键. */
|
532
|
+
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
533
|
+
/** 勾选的行. */
|
534
|
+
selectedRowsMap: Map<string, any[]>;
|
535
|
+
/**
|
536
|
+
* <p>是否已经查询过一次了.</p>
|
537
|
+
* <ul>
|
538
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
539
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
540
|
+
* </ul>
|
541
|
+
*/
|
542
|
+
isRequestedMap: Map<string, boolean>;
|
543
|
+
/** 是否正在查询. */
|
544
|
+
isRequestingMap: Map<string, boolean>;
|
545
|
+
/**
|
546
|
+
* <p>查询参数.</p>
|
547
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
548
|
+
*/
|
549
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
550
|
+
/** 表格宽度. */
|
551
|
+
tableWidthMap: Map<string, number>;
|
552
|
+
/** 行高. */
|
553
|
+
rowHeightMap: Map<string, IKgTableRowHeight>;
|
554
|
+
/** 事件监听函数列表: ready. */
|
555
|
+
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
556
|
+
/** '双击某行'事件监听函数列表. */
|
557
|
+
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
558
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
559
|
+
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
560
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
561
|
+
}>): (formID: string | null | undefined) => Record<string, any>;
|
436
562
|
/**
|
437
563
|
* 根据 formID 获取表格宽度.
|
438
564
|
* @param state
|
@@ -442,15 +568,16 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
442
568
|
datasMap: Map<String, any[]>;
|
443
569
|
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
444
570
|
selectedRowsMap: Map<string, any[]>;
|
445
|
-
|
446
|
-
|
571
|
+
isRequestedMap: Map<string, boolean>;
|
572
|
+
isRequestingMap: Map<string, boolean>;
|
573
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
447
574
|
tableWidthMap: Map<string, number>;
|
448
575
|
rowHeightMap: Map<string, IKgTableRowHeight>;
|
449
576
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
450
577
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
451
|
-
|
578
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
452
579
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
453
|
-
|
580
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
454
581
|
} & import("pinia").PiniaCustomStateProperties<{
|
455
582
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
456
583
|
isReadyMap: Map<string, boolean>;
|
@@ -461,13 +588,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
461
588
|
/** 勾选的行. */
|
462
589
|
selectedRowsMap: Map<string, any[]>;
|
463
590
|
/**
|
464
|
-
*
|
465
|
-
*
|
466
|
-
*
|
591
|
+
* <p>是否已经查询过一次了.</p>
|
592
|
+
* <ul>
|
593
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
594
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
595
|
+
* </ul>
|
467
596
|
*/
|
468
|
-
|
597
|
+
isRequestedMap: Map<string, boolean>;
|
469
598
|
/** 是否正在查询. */
|
470
|
-
|
599
|
+
isRequestingMap: Map<string, boolean>;
|
600
|
+
/**
|
601
|
+
* <p>查询参数.</p>
|
602
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
603
|
+
*/
|
604
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
471
605
|
/** 表格宽度. */
|
472
606
|
tableWidthMap: Map<string, number>;
|
473
607
|
/** 行高. */
|
@@ -476,24 +610,25 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
476
610
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
477
611
|
/** '双击某行'事件监听函数列表. */
|
478
612
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
479
|
-
|
613
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
480
614
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
481
|
-
|
615
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
482
616
|
}>): (formID: string | null | undefined) => number | null;
|
483
617
|
getRowHeight(state: {
|
484
618
|
isReadyMap: Map<string, boolean>;
|
485
619
|
datasMap: Map<String, any[]>;
|
486
620
|
selectedRowKeysMap: Map<string, Ref<Key[]>>;
|
487
621
|
selectedRowsMap: Map<string, any[]>;
|
488
|
-
|
489
|
-
|
622
|
+
isRequestedMap: Map<string, boolean>;
|
623
|
+
isRequestingMap: Map<string, boolean>;
|
624
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
490
625
|
tableWidthMap: Map<string, number>;
|
491
626
|
rowHeightMap: Map<string, IKgTableRowHeight>;
|
492
627
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
493
628
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
494
|
-
|
629
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
495
630
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
496
|
-
|
631
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
497
632
|
} & import("pinia").PiniaCustomStateProperties<{
|
498
633
|
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
499
634
|
isReadyMap: Map<string, boolean>;
|
@@ -504,13 +639,20 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
504
639
|
/** 勾选的行. */
|
505
640
|
selectedRowsMap: Map<string, any[]>;
|
506
641
|
/**
|
507
|
-
*
|
508
|
-
*
|
509
|
-
*
|
642
|
+
* <p>是否已经查询过一次了.</p>
|
643
|
+
* <ul>
|
644
|
+
* <li>如果表格禁用了自动查询, 当用户手动点击查询按钮后, 此属性会设置为 true,</li>
|
645
|
+
* <li>如果表格启用了自动查询, 当第一次自动查询之后, 此属性会设置为 true,</li>
|
646
|
+
* </ul>
|
510
647
|
*/
|
511
|
-
|
648
|
+
isRequestedMap: Map<string, boolean>;
|
512
649
|
/** 是否正在查询. */
|
513
|
-
|
650
|
+
isRequestingMap: Map<string, boolean>;
|
651
|
+
/**
|
652
|
+
* <p>查询参数.</p>
|
653
|
+
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
654
|
+
*/
|
655
|
+
requestParamsMap: Map<string, Record<string, any>>;
|
514
656
|
/** 表格宽度. */
|
515
657
|
tableWidthMap: Map<string, number>;
|
516
658
|
/** 行高. */
|
@@ -519,9 +661,9 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
519
661
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
520
662
|
/** '双击某行'事件监听函数列表. */
|
521
663
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
522
|
-
|
664
|
+
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
523
665
|
beforeSetDatasListenersMap: Map<string, IKgTableBeforeSetDatasCb[]>;
|
524
|
-
|
666
|
+
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
525
667
|
}>): (formID: string | null | undefined) => IKgTableRowHeight;
|
526
668
|
}, {
|
527
669
|
/**
|
@@ -582,11 +724,12 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
|
|
582
724
|
* 设置某行的勾选状态.
|
583
725
|
* @param frmId 界面标识.
|
584
726
|
* @param row 行.
|
585
|
-
* @param
|
727
|
+
* @param isSelected 是否勾选.
|
586
728
|
*/
|
587
|
-
setRowSelect(frmId: string | null | undefined, row: IKgTableRow,
|
588
|
-
|
589
|
-
|
729
|
+
setRowSelect(frmId: string | null | undefined, row: IKgTableRow, isSelected: boolean): void;
|
730
|
+
setIsRequested(frmId: string | null | undefined, value: boolean): void;
|
731
|
+
setIsRequesting(formID: string | null | undefined, value: boolean): void;
|
732
|
+
setRequestParams(formID: string | null | undefined, requestParams: Record<string, any> | null | undefined): void;
|
590
733
|
setTableWidth(formID: string | null | undefined, value: number): void;
|
591
734
|
setRowHeight(formID: string | null | undefined, value: IKgTableRowHeight): void;
|
592
735
|
/**
|