@kengic/vue 0.21.5-beta.0 → 0.21.5-beta.2
Sign up to get free protection for your applications and to get access to all the features.
package/dist/kengic-vue.js
CHANGED
@@ -2462,7 +2462,7 @@ const emptyIcon = {
|
|
2462
2462
|
...t.data
|
2463
2463
|
}, r);
|
2464
2464
|
}
|
2465
|
-
}), version = "0.21.5-beta.
|
2465
|
+
}), version = "0.21.5-beta.2";
|
2466
2466
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
2467
2467
|
const freeGlobal$1 = freeGlobal;
|
2468
2468
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self, root = freeGlobal$1 || freeSelf || Function("return this")();
|
@@ -9101,17 +9101,13 @@ function useKgTable(e) {
|
|
9101
9101
|
}), d = computed(() => {
|
9102
9102
|
var E;
|
9103
9103
|
return ((E = t.varGridConfig.value) == null ? void 0 : E.aut_load_flg) === 1;
|
9104
|
-
}), b = computed(
|
9105
|
-
|
9106
|
-
|
9107
|
-
|
9108
|
-
|
9109
|
-
|
9110
|
-
|
9111
|
-
var E, v;
|
9112
|
-
return !!((E = t.varGridConfig.value) != null && E.id) && ((v = t.varGridConfig.value) == null ? void 0 : v.show_bottom_right_flg) !== 0;
|
9113
|
-
}
|
9114
|
-
);
|
9104
|
+
}), b = computed(() => {
|
9105
|
+
var E, v;
|
9106
|
+
return !!((E = t.varGridConfig.value) != null && E.id) && ((v = t.varGridConfig.value) == null ? void 0 : v.show_bottom_left_flg) !== 0;
|
9107
|
+
}), y = computed(() => {
|
9108
|
+
var E, v;
|
9109
|
+
return !!((E = t.varGridConfig.value) != null && E.id) && ((v = t.varGridConfig.value) == null ? void 0 : v.show_bottom_right_flg) !== 0;
|
9110
|
+
});
|
9115
9111
|
computed(() => {
|
9116
9112
|
var E, v;
|
9117
9113
|
return (v = (E = t.varGridConfig.value) == null ? void 0 : E.id_clm) != null ? v : "id";
|
@@ -9147,41 +9143,13 @@ function useKgTable(e) {
|
|
9147
9143
|
pageSizeOptions: g,
|
9148
9144
|
pageSizeOption: m,
|
9149
9145
|
kgSearchFormID: _,
|
9150
|
-
onReady: onEventFactory(
|
9151
|
-
|
9152
|
-
|
9153
|
-
|
9154
|
-
),
|
9155
|
-
|
9156
|
-
|
9157
|
-
r,
|
9158
|
-
"rowDoubleClick"
|
9159
|
-
),
|
9160
|
-
onBeforeSearch: onEventFactory(
|
9161
|
-
t.formID,
|
9162
|
-
r,
|
9163
|
-
"beforeSearch"
|
9164
|
-
),
|
9165
|
-
onBeforeSetDatas: onEventFactory(
|
9166
|
-
t.formID,
|
9167
|
-
r,
|
9168
|
-
"beforeSetDatas"
|
9169
|
-
),
|
9170
|
-
onAfterSearch: onEventFactory(
|
9171
|
-
t.formID,
|
9172
|
-
r,
|
9173
|
-
"afterSearch"
|
9174
|
-
),
|
9175
|
-
onBeforeRetrieve: onEventFactory(
|
9176
|
-
t.formID,
|
9177
|
-
r,
|
9178
|
-
"beforeSearch"
|
9179
|
-
),
|
9180
|
-
onRetrieve: onEventFactory(
|
9181
|
-
t.formID,
|
9182
|
-
r,
|
9183
|
-
"afterSearch"
|
9184
|
-
)
|
9146
|
+
onReady: onEventFactory(t.formID, r, "ready"),
|
9147
|
+
onRowDoubleClick: onEventFactory(t.formID, r, "rowDoubleClick"),
|
9148
|
+
onBeforeSearch: onEventFactory(t.formID, r, "beforeSearch"),
|
9149
|
+
onBeforeSetDatas: onEventFactory(t.formID, r, "beforeSetDatas"),
|
9150
|
+
onAfterSearch: onEventFactory(t.formID, r, "afterSearch"),
|
9151
|
+
onBeforeRetrieve: onEventFactory(t.formID, r, "beforeSearch"),
|
9152
|
+
onRetrieve: onEventFactory(t.formID, r, "afterSearch")
|
9185
9153
|
};
|
9186
9154
|
}
|
9187
9155
|
const KgTable_Setting = "", FORM_ID__VAR_GRID_CONFIG = "kg-table.VarGridConfig", getProps$H = () => ({
|
@@ -14490,7 +14458,7 @@ function transformVarSubmitConfig(e) {
|
|
14490
14458
|
e.dft_width = SUBMIT_DEFAULT_WIDTH, KgLogger.error(`| \u6570\u636E\u6709\u8BEF | var_sbt_cfg.dft_width \u975E\u6CD5, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${SUBMIT_DEFAULT_WIDTH}.`, { VarSubmitConfig: e });
|
14491
14459
|
break;
|
14492
14460
|
}
|
14493
|
-
case (a < e.min_width || a > e.max_width): {
|
14461
|
+
case (a < e.min_width || !isNil(e.max_width) && a > e.max_width): {
|
14494
14462
|
e.dft_width = SUBMIT_DEFAULT_WIDTH, KgLogger.error(
|
14495
14463
|
`| \u6570\u636E\u6709\u8BEF | var_sbt_cfg.dft_width \u8D85\u51FA\u8303\u56F4 [${e.min_width}, ${e.max_width}], \u6539\u4E3A\u4F7F\u7528\u6700\u5C0F\u5BBD\u5EA6 ${e.min_width}.`,
|
14496
14464
|
{ VarSubmitConfig: e }
|
@@ -16044,7 +16012,7 @@ const getProps$p = () => ({
|
|
16044
16012
|
var m, _, E, v;
|
16045
16013
|
if (!(e.onKgClick && await e.onKgClick())) {
|
16046
16014
|
if (!o.value) {
|
16047
|
-
KgLogger.error("
|
16015
|
+
KgLogger.error("KgButton | \u300C\u5BFC\u51FA\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.", {
|
16048
16016
|
VarButton: i.value
|
16049
16017
|
});
|
16050
16018
|
return;
|
@@ -19498,11 +19466,16 @@ function httpClient() {
|
|
19498
19466
|
[KG_HTTP_HEADERS.KG_QUERY_ORDER_BY_SQL]: _
|
19499
19467
|
};
|
19500
19468
|
}
|
19501
|
-
|
19469
|
+
if ((o = n.headers) != null && o[KG_HTTP_HEADERS.KG_QUERY_SQL] && (n.headers[KG_HTTP_HEADERS.KG_QUERY_SQL] = encodeURIComponent(decodeURIComponent(String(n.headers[KG_HTTP_HEADERS.KG_QUERY_SQL])))), (l = n.headers) != null && l[KG_HTTP_HEADERS.KG_QUERY_WHERE_SQL] && (n.headers[KG_HTTP_HEADERS.KG_QUERY_WHERE_SQL] = encodeURIComponent(
|
19502
19470
|
decodeURIComponent(String(n.headers[KG_HTTP_HEADERS.KG_QUERY_WHERE_SQL]))
|
19503
19471
|
)), (c = n.headers) != null && c[KG_HTTP_HEADERS.KG_QUERY_ORDER_BY_SQL] && (n.headers[KG_HTTP_HEADERS.KG_QUERY_ORDER_BY_SQL] = encodeURIComponent(
|
19504
19472
|
decodeURIComponent(String(n.headers[KG_HTTP_HEADERS.KG_QUERY_ORDER_BY_SQL]))
|
19505
|
-
)), ((u = a.option.value.KgWarehouse) == null ? void 0 : u.on) !== !1
|
19473
|
+
)), ((u = a.option.value.KgWarehouse) == null ? void 0 : u.on) !== !1) {
|
19474
|
+
n.headers || (n.headers = {});
|
19475
|
+
const y = (b = (d = useKgWarehouse().warehouse.value) == null ? void 0 : d.whId) != null ? b : "";
|
19476
|
+
n.headers[KG_HTTP_HEADERS.KG_WAREHOUSE] = encodeURIComponent(y);
|
19477
|
+
}
|
19478
|
+
return e.apply(t, [n, s]);
|
19506
19479
|
}
|
19507
19480
|
}), _httpClient;
|
19508
19481
|
}
|
@@ -8,18 +8,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
8
8
|
/** 状态数据. */
|
9
9
|
store: import("pinia").Store<"KgTable", {
|
10
10
|
isReadyMap: Map<string, boolean>;
|
11
|
-
datasMap: Map<String, any[]>;
|
11
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
12
12
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
13
13
|
selectedRowsMap: Map<string, any[]>;
|
14
|
-
isRequestedMap: Map<string, boolean>;
|
14
|
+
isRequestedMap: Map<string, boolean>;
|
15
15
|
isRequestingMap: Map<string, boolean>;
|
16
16
|
requestParamsMap: Map<string, Record<string, any>>;
|
17
17
|
tableWidthMap: Map<string, number>;
|
18
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
19
|
-
* 事件: 双击某行.
|
20
|
-
* @param cb 回调函数.
|
21
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
22
|
-
*/
|
18
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
23
19
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
24
20
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
25
21
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -43,18 +39,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
43
39
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
44
40
|
} & import("pinia").PiniaCustomStateProperties<{
|
45
41
|
isReadyMap: Map<string, boolean>;
|
46
|
-
datasMap: Map<String, any[]>;
|
42
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
47
43
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
48
44
|
selectedRowsMap: Map<string, any[]>;
|
49
|
-
isRequestedMap: Map<string, boolean>;
|
45
|
+
isRequestedMap: Map<string, boolean>;
|
50
46
|
isRequestingMap: Map<string, boolean>;
|
51
47
|
requestParamsMap: Map<string, Record<string, any>>;
|
52
48
|
tableWidthMap: Map<string, number>;
|
53
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
54
|
-
* 事件: 双击某行.
|
55
|
-
* @param cb 回调函数.
|
56
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
57
|
-
*/
|
49
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
58
50
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
59
51
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
60
52
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -78,18 +70,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
78
70
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
79
71
|
} & import("pinia").PiniaCustomStateProperties<{
|
80
72
|
isReadyMap: Map<string, boolean>;
|
81
|
-
datasMap: Map<String, any[]>;
|
73
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
82
74
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
83
75
|
selectedRowsMap: Map<string, any[]>;
|
84
|
-
isRequestedMap: Map<string, boolean>;
|
76
|
+
isRequestedMap: Map<string, boolean>;
|
85
77
|
isRequestingMap: Map<string, boolean>;
|
86
78
|
requestParamsMap: Map<string, Record<string, any>>;
|
87
79
|
tableWidthMap: Map<string, number>;
|
88
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
89
|
-
* 事件: 双击某行.
|
90
|
-
* @param cb 回调函数.
|
91
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
92
|
-
*/
|
80
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
93
81
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
94
82
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
95
83
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -113,18 +101,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
113
101
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
114
102
|
} & import("pinia").PiniaCustomStateProperties<{
|
115
103
|
isReadyMap: Map<string, boolean>;
|
116
|
-
datasMap: Map<String, any[]>;
|
104
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
117
105
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
118
106
|
selectedRowsMap: Map<string, any[]>;
|
119
|
-
isRequestedMap: Map<string, boolean>;
|
107
|
+
isRequestedMap: Map<string, boolean>;
|
120
108
|
isRequestingMap: Map<string, boolean>;
|
121
109
|
requestParamsMap: Map<string, Record<string, any>>;
|
122
110
|
tableWidthMap: Map<string, number>;
|
123
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
124
|
-
* 事件: 双击某行.
|
125
|
-
* @param cb 回调函数.
|
126
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
127
|
-
*/
|
111
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
128
112
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
129
113
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
130
114
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -148,18 +132,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
148
132
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
149
133
|
} & import("pinia").PiniaCustomStateProperties<{
|
150
134
|
isReadyMap: Map<string, boolean>;
|
151
|
-
datasMap: Map<String, any[]>;
|
135
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
152
136
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
153
137
|
selectedRowsMap: Map<string, any[]>;
|
154
|
-
isRequestedMap: Map<string, boolean>;
|
138
|
+
isRequestedMap: Map<string, boolean>;
|
155
139
|
isRequestingMap: Map<string, boolean>;
|
156
140
|
requestParamsMap: Map<string, Record<string, any>>;
|
157
141
|
tableWidthMap: Map<string, number>;
|
158
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
159
|
-
* 事件: 双击某行.
|
160
|
-
* @param cb 回调函数.
|
161
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
162
|
-
*/
|
142
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
163
143
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
164
144
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
165
145
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -183,18 +163,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
183
163
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
184
164
|
} & import("pinia").PiniaCustomStateProperties<{
|
185
165
|
isReadyMap: Map<string, boolean>;
|
186
|
-
datasMap: Map<String, any[]>;
|
166
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
187
167
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
188
168
|
selectedRowsMap: Map<string, any[]>;
|
189
|
-
isRequestedMap: Map<string, boolean>;
|
169
|
+
isRequestedMap: Map<string, boolean>;
|
190
170
|
isRequestingMap: Map<string, boolean>;
|
191
171
|
requestParamsMap: Map<string, Record<string, any>>;
|
192
172
|
tableWidthMap: Map<string, number>;
|
193
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
194
|
-
* 事件: 双击某行.
|
195
|
-
* @param cb 回调函数.
|
196
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
197
|
-
*/
|
173
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
198
174
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
199
175
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
200
176
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -218,18 +194,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
218
194
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
219
195
|
} & import("pinia").PiniaCustomStateProperties<{
|
220
196
|
isReadyMap: Map<string, boolean>;
|
221
|
-
datasMap: Map<String, any[]>;
|
197
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
222
198
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
223
199
|
selectedRowsMap: Map<string, any[]>;
|
224
|
-
isRequestedMap: Map<string, boolean>;
|
200
|
+
isRequestedMap: Map<string, boolean>;
|
225
201
|
isRequestingMap: Map<string, boolean>;
|
226
202
|
requestParamsMap: Map<string, Record<string, any>>;
|
227
203
|
tableWidthMap: Map<string, number>;
|
228
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
229
|
-
* 事件: 双击某行.
|
230
|
-
* @param cb 回调函数.
|
231
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
232
|
-
*/
|
204
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
233
205
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
234
206
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
235
207
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -253,18 +225,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
253
225
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
254
226
|
} & import("pinia").PiniaCustomStateProperties<{
|
255
227
|
isReadyMap: Map<string, boolean>;
|
256
|
-
datasMap: Map<String, any[]>;
|
228
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
257
229
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
258
230
|
selectedRowsMap: Map<string, any[]>;
|
259
|
-
isRequestedMap: Map<string, boolean>;
|
231
|
+
isRequestedMap: Map<string, boolean>;
|
260
232
|
isRequestingMap: Map<string, boolean>;
|
261
233
|
requestParamsMap: Map<string, Record<string, any>>;
|
262
234
|
tableWidthMap: Map<string, number>;
|
263
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
264
|
-
* 事件: 双击某行.
|
265
|
-
* @param cb 回调函数.
|
266
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
267
|
-
*/
|
235
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
268
236
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
269
237
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
270
238
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -288,18 +256,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
288
256
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
289
257
|
} & import("pinia").PiniaCustomStateProperties<{
|
290
258
|
isReadyMap: Map<string, boolean>;
|
291
|
-
datasMap: Map<String, any[]>;
|
259
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
292
260
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
293
261
|
selectedRowsMap: Map<string, any[]>;
|
294
|
-
isRequestedMap: Map<string, boolean>;
|
262
|
+
isRequestedMap: Map<string, boolean>;
|
295
263
|
isRequestingMap: Map<string, boolean>;
|
296
264
|
requestParamsMap: Map<string, Record<string, any>>;
|
297
265
|
tableWidthMap: Map<string, number>;
|
298
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
299
|
-
* 事件: 双击某行.
|
300
|
-
* @param cb 回调函数.
|
301
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
302
|
-
*/
|
266
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
303
267
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
304
268
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
305
269
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -323,18 +287,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
323
287
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
324
288
|
} & import("pinia").PiniaCustomStateProperties<{
|
325
289
|
isReadyMap: Map<string, boolean>;
|
326
|
-
datasMap: Map<String, any[]>;
|
290
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
327
291
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
328
292
|
selectedRowsMap: Map<string, any[]>;
|
329
|
-
isRequestedMap: Map<string, boolean>;
|
293
|
+
isRequestedMap: Map<string, boolean>;
|
330
294
|
isRequestingMap: Map<string, boolean>;
|
331
295
|
requestParamsMap: Map<string, Record<string, any>>;
|
332
296
|
tableWidthMap: Map<string, number>;
|
333
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
334
|
-
* 事件: 双击某行.
|
335
|
-
* @param cb 回调函数.
|
336
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
337
|
-
*/
|
297
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
338
298
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
339
299
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
340
300
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -358,18 +318,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
358
318
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
359
319
|
} & import("pinia").PiniaCustomStateProperties<{
|
360
320
|
isReadyMap: Map<string, boolean>;
|
361
|
-
datasMap: Map<String, any[]>;
|
321
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
362
322
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
363
323
|
selectedRowsMap: Map<string, any[]>;
|
364
|
-
isRequestedMap: Map<string, boolean>;
|
324
|
+
isRequestedMap: Map<string, boolean>;
|
365
325
|
isRequestingMap: Map<string, boolean>;
|
366
326
|
requestParamsMap: Map<string, Record<string, any>>;
|
367
327
|
tableWidthMap: Map<string, number>;
|
368
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
369
|
-
* 事件: 双击某行.
|
370
|
-
* @param cb 回调函数.
|
371
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
372
|
-
*/
|
328
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
373
329
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
374
330
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
375
331
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
@@ -393,18 +349,14 @@ export declare function useKgTable(formID?: string | null): {
|
|
393
349
|
afterRequestListenersMap: Map<string, IKgTableAfterRequestCb[]>;
|
394
350
|
} & import("pinia").PiniaCustomStateProperties<{
|
395
351
|
isReadyMap: Map<string, boolean>;
|
396
|
-
datasMap: Map<String, any[]>;
|
352
|
+
datasMap: Map<String, any[]>; /** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
397
353
|
selectedRowKeysMap: Map<string, import("vue").Ref<import("ant-design-vue/lib/_util/type").Key[]>>;
|
398
354
|
selectedRowsMap: Map<string, any[]>;
|
399
|
-
isRequestedMap: Map<string, boolean>;
|
355
|
+
isRequestedMap: Map<string, boolean>;
|
400
356
|
isRequestingMap: Map<string, boolean>;
|
401
357
|
requestParamsMap: Map<string, Record<string, any>>;
|
402
358
|
tableWidthMap: Map<string, number>;
|
403
|
-
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
404
|
-
* 事件: 双击某行.
|
405
|
-
* @param cb 回调函数.
|
406
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
407
|
-
*/
|
359
|
+
rowHeightMap: Map<string, import("./index.vm").IKgTableRowHeight>;
|
408
360
|
onReadyListenersMap: Map<string, IKgTableReadyCb[]>;
|
409
361
|
rowDoubleClickListenersMap: Map<string, IKgTableRowDoubleClickCb[]>;
|
410
362
|
beforeRequestListenersMap: Map<string, IKgTableBeforeRequestCb[]>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.21.5-beta.
|
3
|
+
"version": "0.21.5-beta.2",
|
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",
|