bkui-vue 0.0.2-beta.33 → 0.0.2-beta.35
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.cjs.js +40 -40
- package/dist/index.esm.js +5620 -5599
- package/dist/index.umd.js +41 -41
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/messageConstructor.d.ts +1 -1
- package/lib/plugin-popover/index.js +1 -1
- package/lib/popover/content.d.ts +1 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/props.d.ts +1 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/table/components/table-cell.d.ts +4 -29
- package/lib/table/components/table-column.d.ts +31 -73
- package/lib/table/index.d.ts +36 -102
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.d.ts +2 -7
- package/lib/table/plugins/head-sort.d.ts +2 -7
- package/lib/table/plugins/settings.d.ts +2 -8
- package/lib/table/props.d.ts +8 -48
- package/lib/table/table.css +3 -1
- package/lib/table/table.d.ts +7 -29
- package/lib/table/table.less +3 -3
- package/lib/table/table.variable.css +3 -1
- package/lib/table/use-column.d.ts +3 -16
- package/lib/table/use-common.d.ts +1 -0
- package/lib/table-column/index.d.ts +78 -123
- package/lib/table-column/index.js +1 -1
- package/package.json +1 -1
package/lib/table/index.d.ts
CHANGED
@@ -24,7 +24,6 @@ declare const BkTable: {
|
|
24
24
|
scrollLoading?: boolean | {
|
25
25
|
[key: string]: any;
|
26
26
|
};
|
27
|
-
showOverflowTooltip?: import("./props").IOverflowTooltipProp;
|
28
27
|
columnPick?: "disabled" | "single" | "multi";
|
29
28
|
stripe?: boolean;
|
30
29
|
rowHeight?: import("./props").RowHeightFunctionNumber;
|
@@ -33,7 +32,6 @@ declare const BkTable: {
|
|
33
32
|
paginationHeight?: number;
|
34
33
|
remotePagination?: boolean;
|
35
34
|
emptyText?: string;
|
36
|
-
settings?: import("./props").ISettingPropType;
|
37
35
|
rowClass?: any;
|
38
36
|
rowStyle?: any;
|
39
37
|
cellStyle?: any;
|
@@ -99,6 +97,8 @@ declare const BkTable: {
|
|
99
97
|
readonly headerAlign?: "" | "right" | "left" | "center";
|
100
98
|
readonly align?: "" | "right" | "left" | "center";
|
101
99
|
readonly activeColumn?: number | number[];
|
100
|
+
readonly settings?: import("./props").ISettingPropType;
|
101
|
+
readonly showOverflowTooltip?: import("./props").IOverflowTooltipProp;
|
102
102
|
readonly resizerWay?: "debounce" | "throttle";
|
103
103
|
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
104
104
|
onColumnSort?: (_args: {
|
@@ -315,9 +315,7 @@ declare const BkTable: {
|
|
315
315
|
emptyText: import("vue-types").VueTypeValidableDef<string> & {
|
316
316
|
default: string;
|
317
317
|
};
|
318
|
-
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType
|
319
|
-
default: boolean | (() => import("./props").Settings);
|
320
|
-
};
|
318
|
+
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
|
321
319
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
322
320
|
default: any;
|
323
321
|
};
|
@@ -355,16 +353,7 @@ declare const BkTable: {
|
|
355
353
|
rowKey: import("vue-types").VueTypeDef<any> & {
|
356
354
|
default: any;
|
357
355
|
};
|
358
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp
|
359
|
-
default: boolean | (() => {
|
360
|
-
content: string | Function;
|
361
|
-
disabled?: boolean;
|
362
|
-
watchCellResize?: boolean;
|
363
|
-
mode?: "auto" | "static";
|
364
|
-
popoverOption?: any;
|
365
|
-
resizerWay?: import("./props").ResizerWay;
|
366
|
-
});
|
367
|
-
};
|
356
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
|
368
357
|
asyncData: import("vue-types").VueTypeValidableDef<boolean> & {
|
369
358
|
default: boolean;
|
370
359
|
} & {
|
@@ -565,7 +554,6 @@ declare const BkTable: {
|
|
565
554
|
scrollLoading: boolean | {
|
566
555
|
[key: string]: any;
|
567
556
|
};
|
568
|
-
showOverflowTooltip: import("./props").IOverflowTooltipProp;
|
569
557
|
columnPick: "disabled" | "single" | "multi";
|
570
558
|
stripe: boolean;
|
571
559
|
rowHeight: import("./props").RowHeightFunctionNumber;
|
@@ -574,7 +562,6 @@ declare const BkTable: {
|
|
574
562
|
paginationHeight: number;
|
575
563
|
remotePagination: boolean;
|
576
564
|
emptyText: string;
|
577
|
-
settings: import("./props").ISettingPropType;
|
578
565
|
rowClass: any;
|
579
566
|
rowStyle: any;
|
580
567
|
cellStyle: any;
|
@@ -676,9 +663,7 @@ declare const BkTable: {
|
|
676
663
|
emptyText: import("vue-types").VueTypeValidableDef<string> & {
|
677
664
|
default: string;
|
678
665
|
};
|
679
|
-
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType
|
680
|
-
default: boolean | (() => import("./props").Settings);
|
681
|
-
};
|
666
|
+
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
|
682
667
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
683
668
|
default: any;
|
684
669
|
};
|
@@ -716,16 +701,7 @@ declare const BkTable: {
|
|
716
701
|
rowKey: import("vue-types").VueTypeDef<any> & {
|
717
702
|
default: any;
|
718
703
|
};
|
719
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp
|
720
|
-
default: boolean | (() => {
|
721
|
-
content: string | Function;
|
722
|
-
disabled?: boolean;
|
723
|
-
watchCellResize?: boolean;
|
724
|
-
mode?: "auto" | "static";
|
725
|
-
popoverOption?: any;
|
726
|
-
resizerWay?: import("./props").ResizerWay;
|
727
|
-
});
|
728
|
-
};
|
704
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
|
729
705
|
asyncData: import("vue-types").VueTypeValidableDef<boolean> & {
|
730
706
|
default: boolean;
|
731
707
|
} & {
|
@@ -903,9 +879,7 @@ declare const BkTable: {
|
|
903
879
|
emptyText: import("vue-types").VueTypeValidableDef<string> & {
|
904
880
|
default: string;
|
905
881
|
};
|
906
|
-
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType
|
907
|
-
default: boolean | (() => import("./props").Settings);
|
908
|
-
};
|
882
|
+
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
|
909
883
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
910
884
|
default: any;
|
911
885
|
};
|
@@ -943,16 +917,7 @@ declare const BkTable: {
|
|
943
917
|
rowKey: import("vue-types").VueTypeDef<any> & {
|
944
918
|
default: any;
|
945
919
|
};
|
946
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp
|
947
|
-
default: boolean | (() => {
|
948
|
-
content: string | Function;
|
949
|
-
disabled?: boolean;
|
950
|
-
watchCellResize?: boolean;
|
951
|
-
mode?: "auto" | "static";
|
952
|
-
popoverOption?: any;
|
953
|
-
resizerWay?: import("./props").ResizerWay;
|
954
|
-
});
|
955
|
-
};
|
920
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
|
956
921
|
asyncData: import("vue-types").VueTypeValidableDef<boolean> & {
|
957
922
|
default: boolean;
|
958
923
|
} & {
|
@@ -1153,7 +1118,6 @@ declare const BkTable: {
|
|
1153
1118
|
scrollLoading: boolean | {
|
1154
1119
|
[key: string]: any;
|
1155
1120
|
};
|
1156
|
-
showOverflowTooltip: import("./props").IOverflowTooltipProp;
|
1157
1121
|
columnPick: "disabled" | "single" | "multi";
|
1158
1122
|
stripe: boolean;
|
1159
1123
|
rowHeight: import("./props").RowHeightFunctionNumber;
|
@@ -1162,7 +1126,6 @@ declare const BkTable: {
|
|
1162
1126
|
paginationHeight: number;
|
1163
1127
|
remotePagination: boolean;
|
1164
1128
|
emptyText: string;
|
1165
|
-
settings: import("./props").ISettingPropType;
|
1166
1129
|
rowClass: any;
|
1167
1130
|
rowStyle: any;
|
1168
1131
|
cellStyle: any;
|
@@ -1189,16 +1152,7 @@ declare const BkTable: {
|
|
1189
1152
|
} & {
|
1190
1153
|
default: string;
|
1191
1154
|
};
|
1192
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp
|
1193
|
-
default: boolean | (() => {
|
1194
|
-
content: string | Function;
|
1195
|
-
disabled?: boolean;
|
1196
|
-
watchCellResize?: boolean;
|
1197
|
-
mode?: "auto" | "static";
|
1198
|
-
popoverOption?: any;
|
1199
|
-
resizerWay?: import("./props").ResizerWay;
|
1200
|
-
});
|
1201
|
-
};
|
1155
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
|
1202
1156
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
1203
1157
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1204
1158
|
default: boolean;
|
@@ -1208,12 +1162,8 @@ declare const BkTable: {
|
|
1208
1162
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
1209
1163
|
default: boolean | "right" | "left";
|
1210
1164
|
};
|
1211
|
-
sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape
|
1212
|
-
|
1213
|
-
};
|
1214
|
-
filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape> & {
|
1215
|
-
default: string | boolean | (() => import("./props").IFilterShape);
|
1216
|
-
};
|
1165
|
+
sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape>;
|
1166
|
+
filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape>;
|
1217
1167
|
colspan: import("vue-types").VueTypeDef<import("./props").SpanFunctionString> & {
|
1218
1168
|
default: (({ column, colIndex, row, rowIndex, }: {
|
1219
1169
|
column: any;
|
@@ -1245,32 +1195,10 @@ declare const BkTable: {
|
|
1245
1195
|
};
|
1246
1196
|
column: {
|
1247
1197
|
field: import("./props").LabelFunctionString;
|
1248
|
-
sort?: string | boolean | {
|
1249
|
-
sortFn?: Function;
|
1250
|
-
sortScope?: import("./props").SortScope;
|
1251
|
-
value?: import("./const").SORT_OPTION;
|
1252
|
-
};
|
1253
|
-
filter?: string | boolean | {
|
1254
|
-
list: any[];
|
1255
|
-
filterFn?: Function;
|
1256
|
-
match?: import("./props").FullEnum;
|
1257
|
-
checked?: any[];
|
1258
|
-
filterScope?: import("./props").SortScope;
|
1259
|
-
btnSave?: string | boolean;
|
1260
|
-
btnReset?: string | boolean;
|
1261
|
-
};
|
1262
1198
|
fixed?: boolean | "right" | "left";
|
1263
1199
|
minWidth?: string | number;
|
1264
1200
|
index?: number;
|
1265
1201
|
columnKey?: string;
|
1266
|
-
showOverflowTooltip?: boolean | {
|
1267
|
-
content: string | Function;
|
1268
|
-
disabled?: boolean;
|
1269
|
-
watchCellResize?: boolean;
|
1270
|
-
mode?: "auto" | "static";
|
1271
|
-
popoverOption?: any;
|
1272
|
-
resizerWay?: import("./props").ResizerWay;
|
1273
|
-
};
|
1274
1202
|
resizable?: boolean;
|
1275
1203
|
colspan?: (({ column, colIndex, row, rowIndex, }: {
|
1276
1204
|
column: any;
|
@@ -1305,11 +1233,33 @@ declare const BkTable: {
|
|
1305
1233
|
};
|
1306
1234
|
};
|
1307
1235
|
render?: import("./props").RenderFunctionString;
|
1236
|
+
sort?: string | boolean | {
|
1237
|
+
sortFn?: Function;
|
1238
|
+
sortScope?: import("./props").SortScope;
|
1239
|
+
value?: import("./const").SORT_OPTION;
|
1240
|
+
};
|
1241
|
+
filter?: string | boolean | {
|
1242
|
+
list: any[];
|
1243
|
+
filterFn?: Function;
|
1244
|
+
match?: import("./props").FullEnum;
|
1245
|
+
checked?: any[];
|
1246
|
+
filterScope?: import("./props").SortScope;
|
1247
|
+
btnSave?: string | boolean;
|
1248
|
+
btnReset?: string | boolean;
|
1249
|
+
};
|
1308
1250
|
type?: "none" | "selection" | "index" | "expand";
|
1309
1251
|
label?: import("./props").LabelFunctionString;
|
1310
1252
|
width?: string | number;
|
1311
1253
|
className?: import("./props").RowClassFunctionString;
|
1312
1254
|
align?: "" | "right" | "left" | "center";
|
1255
|
+
showOverflowTooltip?: boolean | {
|
1256
|
+
content: string | Function;
|
1257
|
+
disabled?: boolean;
|
1258
|
+
watchCellResize?: boolean;
|
1259
|
+
mode?: "auto" | "static";
|
1260
|
+
popoverOption?: any;
|
1261
|
+
resizerWay?: import("./props").ResizerWay;
|
1262
|
+
};
|
1313
1263
|
prop?: import("./props").LabelFunctionString;
|
1314
1264
|
};
|
1315
1265
|
}, unknown, {}, {
|
@@ -1329,16 +1279,7 @@ declare const BkTable: {
|
|
1329
1279
|
} & {
|
1330
1280
|
default: string;
|
1331
1281
|
};
|
1332
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp
|
1333
|
-
default: boolean | (() => {
|
1334
|
-
content: string | Function;
|
1335
|
-
disabled?: boolean;
|
1336
|
-
watchCellResize?: boolean;
|
1337
|
-
mode?: "auto" | "static";
|
1338
|
-
popoverOption?: any;
|
1339
|
-
resizerWay?: import("./props").ResizerWay;
|
1340
|
-
});
|
1341
|
-
};
|
1282
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
|
1342
1283
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
1343
1284
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1344
1285
|
default: boolean;
|
@@ -1348,12 +1289,8 @@ declare const BkTable: {
|
|
1348
1289
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
1349
1290
|
default: boolean | "right" | "left";
|
1350
1291
|
};
|
1351
|
-
sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape
|
1352
|
-
|
1353
|
-
};
|
1354
|
-
filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape> & {
|
1355
|
-
default: string | boolean | (() => import("./props").IFilterShape);
|
1356
|
-
};
|
1292
|
+
sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape>;
|
1293
|
+
filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape>;
|
1357
1294
|
colspan: import("vue-types").VueTypeDef<import("./props").SpanFunctionString> & {
|
1358
1295
|
default: (({ column, colIndex, row, rowIndex, }: {
|
1359
1296
|
column: any;
|
@@ -1379,13 +1316,10 @@ declare const BkTable: {
|
|
1379
1316
|
default: number;
|
1380
1317
|
};
|
1381
1318
|
}>>, {
|
1382
|
-
sort: import("./props").ISortPropShape;
|
1383
|
-
filter: import("./props").IFilterPropShape;
|
1384
1319
|
fixed: boolean | "right" | "left";
|
1385
1320
|
minWidth: string | number;
|
1386
1321
|
index: number;
|
1387
1322
|
columnKey: string;
|
1388
|
-
showOverflowTooltip: import("./props").IOverflowTooltipProp;
|
1389
1323
|
resizable: boolean;
|
1390
1324
|
colspan: import("./props").SpanFunctionString;
|
1391
1325
|
rowspan: import("./props").SpanFunctionString;
|