bkui-vue 0.0.1-beta.444 → 0.0.1-beta.445

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.
@@ -1016,41 +1016,51 @@ declare const BkColumn: {
1016
1016
  queueStack: (_: any, fn: any) => any;
1017
1017
  };
1018
1018
  column: {
1019
- field: any;
1020
- render: any;
1021
- fixed: boolean | "left" | "right";
1022
- sort: string | boolean | {
1023
- sortFn: any;
1024
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1025
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
1026
- };
1027
- filter: string | boolean | {
1028
- list: any[] | (object & (() => any[]));
1029
- filterFn: any;
1030
- match: "full" | "fuzzy";
1031
- checked: any[] | (object & (() => any[]));
1032
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1033
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1034
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1035
- };
1036
- type: "none" | "selection" | "index" | "expand";
1037
- label: any;
1038
- width: string | number;
1039
- minWidth: string | number;
1040
- className: any;
1041
- align: "" | "left" | "center" | "right";
1042
- index: number;
1043
- columnKey: string;
1044
- showOverflowTooltip: boolean | {
1019
+ field: string | Function;
1020
+ label: string | Function;
1021
+ render?: string | Function | import("vue").Slot;
1022
+ width?: string | number;
1023
+ minWidth?: string | number;
1024
+ columnKey?: string;
1025
+ showOverflowTooltip?: boolean | {
1045
1026
  content: string | Function;
1046
1027
  disabled?: boolean;
1047
1028
  watchCellResize?: boolean;
1048
1029
  mode?: "auto" | "static";
1049
1030
  };
1050
- resizable: boolean;
1051
- colspan: any;
1052
- rowspan: any;
1053
- prop: any;
1031
+ type?: string;
1032
+ fixed?: string | boolean;
1033
+ resizable?: boolean;
1034
+ sort?: string | boolean | {
1035
+ sortFn?: Function;
1036
+ sortScope?: string;
1037
+ value?: string;
1038
+ };
1039
+ filter?: string | boolean | {
1040
+ list?: any;
1041
+ filterFn?: Function;
1042
+ checked?: any;
1043
+ };
1044
+ colspan?: Function | {
1045
+ toString: (radix?: number) => string;
1046
+ toFixed: (fractionDigits?: number) => string;
1047
+ toExponential: (fractionDigits?: number) => string;
1048
+ toPrecision: (precision?: number) => string;
1049
+ valueOf: () => number;
1050
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
1051
+ };
1052
+ rowspan?: Function | {
1053
+ toString: (radix?: number) => string;
1054
+ toFixed: (fractionDigits?: number) => string;
1055
+ toExponential: (fractionDigits?: number) => string;
1056
+ toPrecision: (precision?: number) => string;
1057
+ valueOf: () => number;
1058
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
1059
+ };
1060
+ className?: string | Function;
1061
+ align?: string;
1062
+ prop?: string | Function;
1063
+ index?: number;
1054
1064
  };
1055
1065
  }, unknown, {}, {
1056
1066
  updateColumnDefine(unmounted?: boolean): void;
@@ -1168,41 +1178,51 @@ declare const BkColumn: {
1168
1178
  queueStack: (_: any, fn: any) => any;
1169
1179
  };
1170
1180
  column: {
1171
- field: any;
1172
- render: any;
1173
- fixed: boolean | "left" | "right";
1174
- sort: string | boolean | {
1175
- sortFn: any;
1176
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1177
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
1178
- };
1179
- filter: string | boolean | {
1180
- list: any[] | (object & (() => any[]));
1181
- filterFn: any;
1182
- match: "full" | "fuzzy";
1183
- checked: any[] | (object & (() => any[]));
1184
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1185
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1186
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1187
- };
1188
- type: "none" | "selection" | "index" | "expand";
1189
- label: any;
1190
- width: string | number;
1191
- minWidth: string | number;
1192
- className: any;
1193
- align: "" | "left" | "center" | "right";
1194
- index: number;
1195
- columnKey: string;
1196
- showOverflowTooltip: boolean | {
1181
+ field: string | Function;
1182
+ label: string | Function;
1183
+ render?: string | Function | import("vue").Slot;
1184
+ width?: string | number;
1185
+ minWidth?: string | number;
1186
+ columnKey?: string;
1187
+ showOverflowTooltip?: boolean | {
1197
1188
  content: string | Function;
1198
1189
  disabled?: boolean;
1199
1190
  watchCellResize?: boolean;
1200
1191
  mode?: "auto" | "static";
1201
1192
  };
1202
- resizable: boolean;
1203
- colspan: any;
1204
- rowspan: any;
1205
- prop: any;
1193
+ type?: string;
1194
+ fixed?: string | boolean;
1195
+ resizable?: boolean;
1196
+ sort?: string | boolean | {
1197
+ sortFn?: Function;
1198
+ sortScope?: string;
1199
+ value?: string;
1200
+ };
1201
+ filter?: string | boolean | {
1202
+ list?: any;
1203
+ filterFn?: Function;
1204
+ checked?: any;
1205
+ };
1206
+ colspan?: Function | {
1207
+ toString: (radix?: number) => string;
1208
+ toFixed: (fractionDigits?: number) => string;
1209
+ toExponential: (fractionDigits?: number) => string;
1210
+ toPrecision: (precision?: number) => string;
1211
+ valueOf: () => number;
1212
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
1213
+ };
1214
+ rowspan?: Function | {
1215
+ toString: (radix?: number) => string;
1216
+ toFixed: (fractionDigits?: number) => string;
1217
+ toExponential: (fractionDigits?: number) => string;
1218
+ toPrecision: (precision?: number) => string;
1219
+ valueOf: () => number;
1220
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
1221
+ };
1222
+ className?: string | Function;
1223
+ align?: string;
1224
+ prop?: string | Function;
1225
+ index?: number;
1206
1226
  };
1207
1227
  }> & {} & {} & {
1208
1228
  updateColumnDefine(unmounted?: boolean): void;
@@ -1283,41 +1303,51 @@ declare const BkColumn: {
1283
1303
  queueStack: (_: any, fn: any) => any;
1284
1304
  };
1285
1305
  column: {
1286
- field: any;
1287
- render: any;
1288
- fixed: boolean | "left" | "right";
1289
- sort: string | boolean | {
1290
- sortFn: any;
1291
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1292
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
1293
- };
1294
- filter: string | boolean | {
1295
- list: any[] | (object & (() => any[]));
1296
- filterFn: any;
1297
- match: "full" | "fuzzy";
1298
- checked: any[] | (object & (() => any[]));
1299
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1300
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1301
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1302
- };
1303
- type: "none" | "selection" | "index" | "expand";
1304
- label: any;
1305
- width: string | number;
1306
- minWidth: string | number;
1307
- className: any;
1308
- align: "" | "left" | "center" | "right";
1309
- index: number;
1310
- columnKey: string;
1311
- showOverflowTooltip: boolean | {
1306
+ field: string | Function;
1307
+ label: string | Function;
1308
+ render?: string | Function | import("vue").Slot;
1309
+ width?: string | number;
1310
+ minWidth?: string | number;
1311
+ columnKey?: string;
1312
+ showOverflowTooltip?: boolean | {
1312
1313
  content: string | Function;
1313
1314
  disabled?: boolean;
1314
1315
  watchCellResize?: boolean;
1315
1316
  mode?: "auto" | "static";
1316
1317
  };
1317
- resizable: boolean;
1318
- colspan: any;
1319
- rowspan: any;
1320
- prop: any;
1318
+ type?: string;
1319
+ fixed?: string | boolean;
1320
+ resizable?: boolean;
1321
+ sort?: string | boolean | {
1322
+ sortFn?: Function;
1323
+ sortScope?: string;
1324
+ value?: string;
1325
+ };
1326
+ filter?: string | boolean | {
1327
+ list?: any;
1328
+ filterFn?: Function;
1329
+ checked?: any;
1330
+ };
1331
+ colspan?: Function | {
1332
+ toString: (radix?: number) => string;
1333
+ toFixed: (fractionDigits?: number) => string;
1334
+ toExponential: (fractionDigits?: number) => string;
1335
+ toPrecision: (precision?: number) => string;
1336
+ valueOf: () => number;
1337
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
1338
+ };
1339
+ rowspan?: Function | {
1340
+ toString: (radix?: number) => string;
1341
+ toFixed: (fractionDigits?: number) => string;
1342
+ toExponential: (fractionDigits?: number) => string;
1343
+ toPrecision: (precision?: number) => string;
1344
+ valueOf: () => number;
1345
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
1346
+ };
1347
+ className?: string | Function;
1348
+ align?: string;
1349
+ prop?: string | Function;
1350
+ index?: number;
1321
1351
  };
1322
1352
  }, unknown, {}, {
1323
1353
  updateColumnDefine(unmounted?: boolean): void;
@@ -441,7 +441,7 @@ export declare type Column = {
441
441
  filter?: {
442
442
  list?: any;
443
443
  filterFn?: Function;
444
- checked?: number[] | boolean[] | string[];
444
+ checked?: any;
445
445
  } | boolean | string;
446
446
  colspan?: Function | Number;
447
447
  rowspan?: Function | Number;
@@ -173,41 +173,51 @@ declare const BkTableColumn: {
173
173
  queueStack: (_: any, fn: any) => any;
174
174
  };
175
175
  column: {
176
- field: any;
177
- render: any;
178
- fixed: boolean | "left" | "right";
179
- sort: string | boolean | {
180
- sortFn: any;
181
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
182
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
183
- };
184
- filter: string | boolean | {
185
- list: any[] | (object & (() => any[]));
186
- filterFn: any;
187
- match: "full" | "fuzzy";
188
- checked: any[] | (object & (() => any[]));
189
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
190
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
191
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
192
- };
193
- type: "none" | "selection" | "index" | "expand";
194
- label: any;
195
- width: string | number;
196
- minWidth: string | number;
197
- className: any;
198
- align: "" | "left" | "center" | "right";
199
- index: number;
200
- columnKey: string;
201
- showOverflowTooltip: boolean | {
176
+ field: string | Function;
177
+ label: string | Function;
178
+ render?: string | Function | import("vue").Slot;
179
+ width?: string | number;
180
+ minWidth?: string | number;
181
+ columnKey?: string;
182
+ showOverflowTooltip?: boolean | {
202
183
  content: string | Function;
203
184
  disabled?: boolean;
204
185
  watchCellResize?: boolean;
205
186
  mode?: "auto" | "static";
206
187
  };
207
- resizable: boolean;
208
- colspan: any;
209
- rowspan: any;
210
- prop: any;
188
+ type?: string;
189
+ fixed?: string | boolean;
190
+ resizable?: boolean;
191
+ sort?: string | boolean | {
192
+ sortFn?: Function;
193
+ sortScope?: string;
194
+ value?: string;
195
+ };
196
+ filter?: string | boolean | {
197
+ list?: any;
198
+ filterFn?: Function;
199
+ checked?: any;
200
+ };
201
+ colspan?: Function | {
202
+ toString: (radix?: number) => string;
203
+ toFixed: (fractionDigits?: number) => string;
204
+ toExponential: (fractionDigits?: number) => string;
205
+ toPrecision: (precision?: number) => string;
206
+ valueOf: () => number;
207
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
208
+ };
209
+ rowspan?: Function | {
210
+ toString: (radix?: number) => string;
211
+ toFixed: (fractionDigits?: number) => string;
212
+ toExponential: (fractionDigits?: number) => string;
213
+ toPrecision: (precision?: number) => string;
214
+ valueOf: () => number;
215
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
216
+ };
217
+ className?: string | Function;
218
+ align?: string;
219
+ prop?: string | Function;
220
+ index?: number;
211
221
  };
212
222
  }, unknown, {}, {
213
223
  updateColumnDefine(unmounted?: boolean): void;
@@ -325,41 +335,51 @@ declare const BkTableColumn: {
325
335
  queueStack: (_: any, fn: any) => any;
326
336
  };
327
337
  column: {
328
- field: any;
329
- render: any;
330
- fixed: boolean | "left" | "right";
331
- sort: string | boolean | {
332
- sortFn: any;
333
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
334
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
335
- };
336
- filter: string | boolean | {
337
- list: any[] | (object & (() => any[]));
338
- filterFn: any;
339
- match: "full" | "fuzzy";
340
- checked: any[] | (object & (() => any[]));
341
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
342
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
343
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
344
- };
345
- type: "none" | "selection" | "index" | "expand";
346
- label: any;
347
- width: string | number;
348
- minWidth: string | number;
349
- className: any;
350
- align: "" | "left" | "center" | "right";
351
- index: number;
352
- columnKey: string;
353
- showOverflowTooltip: boolean | {
338
+ field: string | Function;
339
+ label: string | Function;
340
+ render?: string | Function | import("vue").Slot;
341
+ width?: string | number;
342
+ minWidth?: string | number;
343
+ columnKey?: string;
344
+ showOverflowTooltip?: boolean | {
354
345
  content: string | Function;
355
346
  disabled?: boolean;
356
347
  watchCellResize?: boolean;
357
348
  mode?: "auto" | "static";
358
349
  };
359
- resizable: boolean;
360
- colspan: any;
361
- rowspan: any;
362
- prop: any;
350
+ type?: string;
351
+ fixed?: string | boolean;
352
+ resizable?: boolean;
353
+ sort?: string | boolean | {
354
+ sortFn?: Function;
355
+ sortScope?: string;
356
+ value?: string;
357
+ };
358
+ filter?: string | boolean | {
359
+ list?: any;
360
+ filterFn?: Function;
361
+ checked?: any;
362
+ };
363
+ colspan?: Function | {
364
+ toString: (radix?: number) => string;
365
+ toFixed: (fractionDigits?: number) => string;
366
+ toExponential: (fractionDigits?: number) => string;
367
+ toPrecision: (precision?: number) => string;
368
+ valueOf: () => number;
369
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
370
+ };
371
+ rowspan?: Function | {
372
+ toString: (radix?: number) => string;
373
+ toFixed: (fractionDigits?: number) => string;
374
+ toExponential: (fractionDigits?: number) => string;
375
+ toPrecision: (precision?: number) => string;
376
+ valueOf: () => number;
377
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
378
+ };
379
+ className?: string | Function;
380
+ align?: string;
381
+ prop?: string | Function;
382
+ index?: number;
363
383
  };
364
384
  }> & {} & {} & {
365
385
  updateColumnDefine(unmounted?: boolean): void;
@@ -440,41 +460,51 @@ declare const BkTableColumn: {
440
460
  queueStack: (_: any, fn: any) => any;
441
461
  };
442
462
  column: {
443
- field: any;
444
- render: any;
445
- fixed: boolean | "left" | "right";
446
- sort: string | boolean | {
447
- sortFn: any;
448
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
449
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
450
- };
451
- filter: string | boolean | {
452
- list: any[] | (object & (() => any[]));
453
- filterFn: any;
454
- match: "full" | "fuzzy";
455
- checked: any[] | (object & (() => any[]));
456
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
457
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
458
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
459
- };
460
- type: "none" | "selection" | "index" | "expand";
461
- label: any;
462
- width: string | number;
463
- minWidth: string | number;
464
- className: any;
465
- align: "" | "left" | "center" | "right";
466
- index: number;
467
- columnKey: string;
468
- showOverflowTooltip: boolean | {
463
+ field: string | Function;
464
+ label: string | Function;
465
+ render?: string | Function | import("vue").Slot;
466
+ width?: string | number;
467
+ minWidth?: string | number;
468
+ columnKey?: string;
469
+ showOverflowTooltip?: boolean | {
469
470
  content: string | Function;
470
471
  disabled?: boolean;
471
472
  watchCellResize?: boolean;
472
473
  mode?: "auto" | "static";
473
474
  };
474
- resizable: boolean;
475
- colspan: any;
476
- rowspan: any;
477
- prop: any;
475
+ type?: string;
476
+ fixed?: string | boolean;
477
+ resizable?: boolean;
478
+ sort?: string | boolean | {
479
+ sortFn?: Function;
480
+ sortScope?: string;
481
+ value?: string;
482
+ };
483
+ filter?: string | boolean | {
484
+ list?: any;
485
+ filterFn?: Function;
486
+ checked?: any;
487
+ };
488
+ colspan?: Function | {
489
+ toString: (radix?: number) => string;
490
+ toFixed: (fractionDigits?: number) => string;
491
+ toExponential: (fractionDigits?: number) => string;
492
+ toPrecision: (precision?: number) => string;
493
+ valueOf: () => number;
494
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
495
+ };
496
+ rowspan?: Function | {
497
+ toString: (radix?: number) => string;
498
+ toFixed: (fractionDigits?: number) => string;
499
+ toExponential: (fractionDigits?: number) => string;
500
+ toPrecision: (precision?: number) => string;
501
+ valueOf: () => number;
502
+ toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
503
+ };
504
+ className?: string | Function;
505
+ align?: string;
506
+ prop?: string | Function;
507
+ index?: number;
478
508
  };
479
509
  }, unknown, {}, {
480
510
  updateColumnDefine(unmounted?: boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "0.0.1-beta.444",
3
+ "version": "0.0.1-beta.445",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",