bkui-vue 2.0.1-beta.7 → 2.0.1-beta.70.search.1
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 +71 -71
- package/dist/index.esm.js +19703 -20587
- package/dist/index.umd.js +71 -71
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.less +3 -3
- package/lib/cascader/cascader.variable.css +3 -3
- package/lib/cascader/index.js +4 -4
- package/lib/collapse/collapse.css +0 -11
- package/lib/collapse/collapse.d.ts +0 -11
- package/lib/collapse/collapse.less +1 -15
- package/lib/collapse/collapse.variable.css +0 -11
- package/lib/collapse/index.d.ts +0 -23
- package/lib/collapse/index.js +1 -9
- package/lib/collapse/props.d.ts +0 -8
- package/lib/color-picker/color-picker.css +3 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +3 -3
- package/lib/color-picker/index.js +1 -1
- package/lib/components.d.ts +0 -1
- package/lib/components.js +0 -1
- package/lib/date-picker/base/year-table.d.ts +2 -2
- package/lib/date-picker/index.js +36 -111
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/panel/date-range.d.ts +63 -1
- package/lib/date-picker/utils.d.ts +0 -4
- package/lib/dialog/dialog.css +84 -135
- package/lib/dialog/dialog.d.ts +132 -38
- package/lib/dialog/dialog.less +76 -9
- package/lib/dialog/dialog.variable.css +84 -135
- package/lib/dialog/index.d.ts +311 -96
- package/lib/dialog/index.js +221 -197
- package/lib/dialog/props.d.ts +47 -10
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +173 -328
- package/lib/info-box/info-box.css +7 -63
- package/lib/info-box/info-box.d.ts +16 -18
- package/lib/info-box/info-box.less +14 -76
- package/lib/info-box/info-box.variable.css +7 -63
- package/lib/input/index.js +1 -2
- package/lib/modal/hooks.d.ts +1 -1
- package/lib/modal/index.d.ts +345 -29
- package/lib/modal/index.js +703 -218
- package/lib/modal/modal.css +32 -131
- package/lib/modal/modal.d.ts +132 -11
- package/lib/modal/modal.less +29 -83
- package/lib/modal/modal.variable.css +32 -131
- package/lib/modal/props.mixin.d.ts +52 -4
- package/lib/overflow-title/index.js +52 -46
- package/lib/radio/index.d.ts +0 -29
- package/lib/radio/index.js +16 -34
- package/lib/radio/radio-button.d.ts +0 -10
- package/lib/radio/radio-group.d.ts +0 -10
- package/lib/radio/radio.d.ts +0 -10
- package/lib/rate/rate.css +0 -27
- package/lib/rate/rate.less +0 -33
- package/lib/rate/rate.variable.css +0 -27
- package/lib/rate/star.css +27 -0
- package/lib/rate/star.less +34 -0
- package/lib/{scrollbar/scrollbar.variable.css → rate/star.variable.css} +19 -67
- package/lib/search-select/index.d.ts +58 -78
- package/lib/search-select/index.js +311 -211
- package/lib/search-select/input.d.ts +6 -5
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.d.ts +19 -43
- package/lib/search-select/selected.d.ts +12 -10
- package/lib/search-select/utils.d.ts +6 -6
- package/lib/select/index.d.ts +19 -0
- package/lib/select/index.js +21 -8
- package/lib/select/select.css +2 -1
- package/lib/select/select.d.ts +9 -0
- package/lib/select/select.less +2 -1
- package/lib/select/select.variable.css +2 -1
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.js +48 -4
- package/lib/shared/mask.d.ts +11 -0
- package/lib/sideslider/index.d.ts +218 -42
- package/lib/sideslider/index.js +40 -65
- package/lib/sideslider/sideslider.css +86 -17
- package/lib/sideslider/sideslider.d.ts +104 -20
- package/lib/sideslider/sideslider.less +107 -27
- package/lib/sideslider/sideslider.variable.css +86 -17
- package/lib/slider/index.d.ts +0 -19
- package/lib/slider/index.js +5 -45
- package/lib/slider/slider.css +0 -14
- package/lib/slider/slider.d.ts +0 -9
- package/lib/slider/slider.less +0 -15
- package/lib/slider/slider.variable.css +0 -14
- package/lib/styles/index.d.ts +1 -0
- package/lib/table/components/table-cell.d.ts +2 -3
- package/lib/table/components/table-column.d.ts +119 -3
- package/lib/table/const.d.ts +4 -4
- package/lib/table/index.d.ts +107 -26
- package/lib/table/index.js +578 -17818
- package/lib/table/plugins/head-filter.css +4 -8
- package/lib/table/plugins/head-filter.less +3 -6
- package/lib/table/plugins/head-filter.variable.css +4 -8
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-pagination.d.ts +1 -3
- package/lib/table/props.d.ts +4 -12
- package/lib/table/table.css +46 -106
- package/lib/table/table.d.ts +0 -11
- package/lib/table/table.less +58 -43
- package/lib/table/table.variable.css +46 -106
- package/lib/table/use-attributes.d.ts +1 -2
- package/lib/table/use-column.d.ts +10 -9
- package/lib/table/use-common.d.ts +1 -1
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table-column/index.d.ts +299 -9
- package/lib/table-column/index.js +283 -25
- package/lib/transfer/index.js +14 -16
- package/lib/transfer/transfer.css +9 -9
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +9 -9
- package/lib/tree/constant.d.ts +1 -3
- package/lib/tree/index.d.ts +0 -44
- package/lib/tree/index.js +35 -17554
- package/lib/tree/props.d.ts +0 -18
- package/lib/tree/tree.css +2 -76
- package/lib/tree/tree.d.ts +2 -28
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +2 -76
- package/lib/tree/use-node-attribute.d.ts +0 -9
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.js +9 -16
- package/lib/upload/upload.type.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +0 -27
- package/lib/virtual-render/index.js +80 -295
- package/lib/virtual-render/props.d.ts +0 -16
- package/lib/virtual-render/use-fix-top.d.ts +7 -2
- package/lib/virtual-render/v-virtual-render.d.ts +1 -2
- package/lib/virtual-render/virtual-render.css +2 -76
- package/lib/virtual-render/virtual-render.d.ts +0 -13
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +2 -76
- package/package.json +1 -1
- package/lib/info-box/render-component.d.ts +0 -4
- package/lib/modal/mask.d.ts +0 -6
- package/lib/scrollbar/index.d.ts +0 -15
- package/lib/scrollbar/index.js +0 -18763
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.css +0 -75
- package/lib/scrollbar/scrollbar.less +0 -94
- package/lib/table/plugins/use-column-template.d.ts +0 -7
- package/lib/table/plugins/use-shift-key.d.ts +0 -13
- package/lib/tree/use-intersection-observer.d.ts +0 -27
- package/lib/virtual-render/use-scrollbar.d.ts +0 -24
@@ -48,7 +48,24 @@ declare const BkTableColumn: {
|
|
48
48
|
} & {
|
49
49
|
default: number;
|
50
50
|
};
|
51
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
52
|
+
[key: string]: any;
|
53
|
+
}> & {
|
54
|
+
default: () => {
|
55
|
+
[key: string]: any;
|
56
|
+
};
|
57
|
+
} & {
|
58
|
+
default: () => {
|
59
|
+
[key: string]: any;
|
60
|
+
};
|
61
|
+
};
|
51
62
|
}>>, {
|
63
|
+
isIndexPropChanged: import("vue").Ref<boolean>;
|
64
|
+
setIsIndexChanged: (val: boolean) => void;
|
65
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
66
|
+
bkTableCache: {
|
67
|
+
queueStack: (_: any, fn: any) => any;
|
68
|
+
};
|
52
69
|
column: {
|
53
70
|
fixed?: boolean | "right" | "left";
|
54
71
|
resizable?: boolean;
|
@@ -87,6 +104,9 @@ declare const BkTableColumn: {
|
|
87
104
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
88
105
|
};
|
89
106
|
};
|
107
|
+
uniqueId?: {
|
108
|
+
[key: string]: any;
|
109
|
+
};
|
90
110
|
render?: import("../table/props").RenderFunctionString;
|
91
111
|
sort?: string | boolean | {
|
92
112
|
sortFn?: Function;
|
@@ -110,8 +130,8 @@ declare const BkTableColumn: {
|
|
110
130
|
className?: import("../table/props").RowClassFunctionString;
|
111
131
|
align?: "" | "right" | "left" | "center";
|
112
132
|
showOverflowTooltip?: boolean | {
|
113
|
-
content: string |
|
114
|
-
disabled?:
|
133
|
+
content: string | Function;
|
134
|
+
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
115
135
|
watchCellResize?: boolean;
|
116
136
|
mode?: "auto" | "static";
|
117
137
|
popoverOption?: any;
|
@@ -121,7 +141,77 @@ declare const BkTableColumn: {
|
|
121
141
|
field: import("../table/props").LabelFunctionString;
|
122
142
|
prop?: import("../table/props").LabelFunctionString;
|
123
143
|
};
|
124
|
-
}, unknown, {}, {
|
144
|
+
}, unknown, {}, {
|
145
|
+
updateColumnDefine(unmounted?: boolean): void;
|
146
|
+
copyProps(props: Partial<import("vue").ExtractPropTypes<{
|
147
|
+
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
148
|
+
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
149
|
+
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
150
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
151
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
152
|
+
default: string | number;
|
153
|
+
};
|
154
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
155
|
+
default: string;
|
156
|
+
} & {
|
157
|
+
default: string;
|
158
|
+
};
|
159
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
160
|
+
type: import("vue-types").VueTypeDef<"index" | "selection" | "expand" | "__COL_TYPE_NONE">;
|
161
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
162
|
+
default: boolean;
|
163
|
+
} & {
|
164
|
+
default: boolean;
|
165
|
+
};
|
166
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
167
|
+
default: boolean | "right" | "left";
|
168
|
+
};
|
169
|
+
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
170
|
+
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
171
|
+
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
172
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
173
|
+
column: any;
|
174
|
+
colIndex: any;
|
175
|
+
row: any;
|
176
|
+
rowIndex: any;
|
177
|
+
}) => number) | (() => Number);
|
178
|
+
};
|
179
|
+
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
180
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
181
|
+
column: any;
|
182
|
+
colIndex: any;
|
183
|
+
row: any;
|
184
|
+
rowIndex: any;
|
185
|
+
}) => number) | (() => Number);
|
186
|
+
};
|
187
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
188
|
+
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
189
|
+
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
190
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
191
|
+
default: number;
|
192
|
+
} & {
|
193
|
+
default: number;
|
194
|
+
};
|
195
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
196
|
+
[key: string]: any;
|
197
|
+
}> & {
|
198
|
+
default: () => {
|
199
|
+
[key: string]: any;
|
200
|
+
};
|
201
|
+
} & {
|
202
|
+
default: () => {
|
203
|
+
[key: string]: any;
|
204
|
+
};
|
205
|
+
};
|
206
|
+
}>> | {
|
207
|
+
[key: string]: any;
|
208
|
+
}): {};
|
209
|
+
rsolveIndexedColumn(): boolean;
|
210
|
+
setNodeUid(): void;
|
211
|
+
getNodeCtxUid(ctx: any): any;
|
212
|
+
updateColumnDefineByParent(): void;
|
213
|
+
unmountColumn(): void;
|
214
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
125
215
|
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
126
216
|
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
127
217
|
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
@@ -170,6 +260,17 @@ declare const BkTableColumn: {
|
|
170
260
|
} & {
|
171
261
|
default: number;
|
172
262
|
};
|
263
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
264
|
+
[key: string]: any;
|
265
|
+
}> & {
|
266
|
+
default: () => {
|
267
|
+
[key: string]: any;
|
268
|
+
};
|
269
|
+
} & {
|
270
|
+
default: () => {
|
271
|
+
[key: string]: any;
|
272
|
+
};
|
273
|
+
};
|
173
274
|
}>>, {
|
174
275
|
fixed: boolean | "right" | "left";
|
175
276
|
resizable: boolean;
|
@@ -178,6 +279,9 @@ declare const BkTableColumn: {
|
|
178
279
|
columnKey: string;
|
179
280
|
colspan: import("../table/props").SpanFunctionString;
|
180
281
|
rowspan: import("../table/props").SpanFunctionString;
|
282
|
+
uniqueId: {
|
283
|
+
[key: string]: any;
|
284
|
+
};
|
181
285
|
}, true, {}, {}, {
|
182
286
|
P: {};
|
183
287
|
B: {};
|
@@ -234,7 +338,24 @@ declare const BkTableColumn: {
|
|
234
338
|
} & {
|
235
339
|
default: number;
|
236
340
|
};
|
341
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
342
|
+
[key: string]: any;
|
343
|
+
}> & {
|
344
|
+
default: () => {
|
345
|
+
[key: string]: any;
|
346
|
+
};
|
347
|
+
} & {
|
348
|
+
default: () => {
|
349
|
+
[key: string]: any;
|
350
|
+
};
|
351
|
+
};
|
237
352
|
}>>, {
|
353
|
+
isIndexPropChanged: import("vue").Ref<boolean>;
|
354
|
+
setIsIndexChanged: (val: boolean) => void;
|
355
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
356
|
+
bkTableCache: {
|
357
|
+
queueStack: (_: any, fn: any) => any;
|
358
|
+
};
|
238
359
|
column: {
|
239
360
|
fixed?: boolean | "right" | "left";
|
240
361
|
resizable?: boolean;
|
@@ -273,6 +394,9 @@ declare const BkTableColumn: {
|
|
273
394
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
274
395
|
};
|
275
396
|
};
|
397
|
+
uniqueId?: {
|
398
|
+
[key: string]: any;
|
399
|
+
};
|
276
400
|
render?: import("../table/props").RenderFunctionString;
|
277
401
|
sort?: string | boolean | {
|
278
402
|
sortFn?: Function;
|
@@ -296,8 +420,8 @@ declare const BkTableColumn: {
|
|
296
420
|
className?: import("../table/props").RowClassFunctionString;
|
297
421
|
align?: "" | "right" | "left" | "center";
|
298
422
|
showOverflowTooltip?: boolean | {
|
299
|
-
content: string |
|
300
|
-
disabled?:
|
423
|
+
content: string | Function;
|
424
|
+
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
301
425
|
watchCellResize?: boolean;
|
302
426
|
mode?: "auto" | "static";
|
303
427
|
popoverOption?: any;
|
@@ -307,7 +431,77 @@ declare const BkTableColumn: {
|
|
307
431
|
field: import("../table/props").LabelFunctionString;
|
308
432
|
prop?: import("../table/props").LabelFunctionString;
|
309
433
|
};
|
310
|
-
}, {}, {}, {
|
434
|
+
}, {}, {}, {
|
435
|
+
updateColumnDefine(unmounted?: boolean): void;
|
436
|
+
copyProps(props: Partial<import("vue").ExtractPropTypes<{
|
437
|
+
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
438
|
+
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
439
|
+
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
440
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
441
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
442
|
+
default: string | number;
|
443
|
+
};
|
444
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
445
|
+
default: string;
|
446
|
+
} & {
|
447
|
+
default: string;
|
448
|
+
};
|
449
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
450
|
+
type: import("vue-types").VueTypeDef<"index" | "selection" | "expand" | "__COL_TYPE_NONE">;
|
451
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
452
|
+
default: boolean;
|
453
|
+
} & {
|
454
|
+
default: boolean;
|
455
|
+
};
|
456
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
457
|
+
default: boolean | "right" | "left";
|
458
|
+
};
|
459
|
+
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
460
|
+
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
461
|
+
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
462
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
463
|
+
column: any;
|
464
|
+
colIndex: any;
|
465
|
+
row: any;
|
466
|
+
rowIndex: any;
|
467
|
+
}) => number) | (() => Number);
|
468
|
+
};
|
469
|
+
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
470
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
471
|
+
column: any;
|
472
|
+
colIndex: any;
|
473
|
+
row: any;
|
474
|
+
rowIndex: any;
|
475
|
+
}) => number) | (() => Number);
|
476
|
+
};
|
477
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
478
|
+
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
479
|
+
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
480
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
481
|
+
default: number;
|
482
|
+
} & {
|
483
|
+
default: number;
|
484
|
+
};
|
485
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
486
|
+
[key: string]: any;
|
487
|
+
}> & {
|
488
|
+
default: () => {
|
489
|
+
[key: string]: any;
|
490
|
+
};
|
491
|
+
} & {
|
492
|
+
default: () => {
|
493
|
+
[key: string]: any;
|
494
|
+
};
|
495
|
+
};
|
496
|
+
}>> | {
|
497
|
+
[key: string]: any;
|
498
|
+
}): {};
|
499
|
+
rsolveIndexedColumn(): boolean;
|
500
|
+
setNodeUid(): void;
|
501
|
+
getNodeCtxUid(ctx: any): any;
|
502
|
+
updateColumnDefineByParent(): void;
|
503
|
+
unmountColumn(): void;
|
504
|
+
}, {
|
311
505
|
fixed: boolean | "right" | "left";
|
312
506
|
resizable: boolean;
|
313
507
|
minWidth: string | number;
|
@@ -315,6 +509,9 @@ declare const BkTableColumn: {
|
|
315
509
|
columnKey: string;
|
316
510
|
colspan: import("../table/props").SpanFunctionString;
|
317
511
|
rowspan: import("../table/props").SpanFunctionString;
|
512
|
+
uniqueId: {
|
513
|
+
[key: string]: any;
|
514
|
+
};
|
318
515
|
}>;
|
319
516
|
__isFragment?: never;
|
320
517
|
__isTeleport?: never;
|
@@ -368,7 +565,24 @@ declare const BkTableColumn: {
|
|
368
565
|
} & {
|
369
566
|
default: number;
|
370
567
|
};
|
568
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
569
|
+
[key: string]: any;
|
570
|
+
}> & {
|
571
|
+
default: () => {
|
572
|
+
[key: string]: any;
|
573
|
+
};
|
574
|
+
} & {
|
575
|
+
default: () => {
|
576
|
+
[key: string]: any;
|
577
|
+
};
|
578
|
+
};
|
371
579
|
}>>, {
|
580
|
+
isIndexPropChanged: import("vue").Ref<boolean>;
|
581
|
+
setIsIndexChanged: (val: boolean) => void;
|
582
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
583
|
+
bkTableCache: {
|
584
|
+
queueStack: (_: any, fn: any) => any;
|
585
|
+
};
|
372
586
|
column: {
|
373
587
|
fixed?: boolean | "right" | "left";
|
374
588
|
resizable?: boolean;
|
@@ -407,6 +621,9 @@ declare const BkTableColumn: {
|
|
407
621
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
408
622
|
};
|
409
623
|
};
|
624
|
+
uniqueId?: {
|
625
|
+
[key: string]: any;
|
626
|
+
};
|
410
627
|
render?: import("../table/props").RenderFunctionString;
|
411
628
|
sort?: string | boolean | {
|
412
629
|
sortFn?: Function;
|
@@ -430,8 +647,8 @@ declare const BkTableColumn: {
|
|
430
647
|
className?: import("../table/props").RowClassFunctionString;
|
431
648
|
align?: "" | "right" | "left" | "center";
|
432
649
|
showOverflowTooltip?: boolean | {
|
433
|
-
content: string |
|
434
|
-
disabled?:
|
650
|
+
content: string | Function;
|
651
|
+
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
435
652
|
watchCellResize?: boolean;
|
436
653
|
mode?: "auto" | "static";
|
437
654
|
popoverOption?: any;
|
@@ -441,7 +658,77 @@ declare const BkTableColumn: {
|
|
441
658
|
field: import("../table/props").LabelFunctionString;
|
442
659
|
prop?: import("../table/props").LabelFunctionString;
|
443
660
|
};
|
444
|
-
}, unknown, {}, {
|
661
|
+
}, unknown, {}, {
|
662
|
+
updateColumnDefine(unmounted?: boolean): void;
|
663
|
+
copyProps(props: Partial<import("vue").ExtractPropTypes<{
|
664
|
+
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
665
|
+
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
666
|
+
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
667
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
668
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
669
|
+
default: string | number;
|
670
|
+
};
|
671
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
672
|
+
default: string;
|
673
|
+
} & {
|
674
|
+
default: string;
|
675
|
+
};
|
676
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
677
|
+
type: import("vue-types").VueTypeDef<"index" | "selection" | "expand" | "__COL_TYPE_NONE">;
|
678
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
679
|
+
default: boolean;
|
680
|
+
} & {
|
681
|
+
default: boolean;
|
682
|
+
};
|
683
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
684
|
+
default: boolean | "right" | "left";
|
685
|
+
};
|
686
|
+
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
687
|
+
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
688
|
+
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
689
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
690
|
+
column: any;
|
691
|
+
colIndex: any;
|
692
|
+
row: any;
|
693
|
+
rowIndex: any;
|
694
|
+
}) => number) | (() => Number);
|
695
|
+
};
|
696
|
+
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
697
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
698
|
+
column: any;
|
699
|
+
colIndex: any;
|
700
|
+
row: any;
|
701
|
+
rowIndex: any;
|
702
|
+
}) => number) | (() => Number);
|
703
|
+
};
|
704
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
705
|
+
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
706
|
+
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
707
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
708
|
+
default: number;
|
709
|
+
} & {
|
710
|
+
default: number;
|
711
|
+
};
|
712
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
713
|
+
[key: string]: any;
|
714
|
+
}> & {
|
715
|
+
default: () => {
|
716
|
+
[key: string]: any;
|
717
|
+
};
|
718
|
+
} & {
|
719
|
+
default: () => {
|
720
|
+
[key: string]: any;
|
721
|
+
};
|
722
|
+
};
|
723
|
+
}>> | {
|
724
|
+
[key: string]: any;
|
725
|
+
}): {};
|
726
|
+
rsolveIndexedColumn(): boolean;
|
727
|
+
setNodeUid(): void;
|
728
|
+
getNodeCtxUid(ctx: any): any;
|
729
|
+
updateColumnDefineByParent(): void;
|
730
|
+
unmountColumn(): void;
|
731
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
445
732
|
fixed: boolean | "right" | "left";
|
446
733
|
resizable: boolean;
|
447
734
|
minWidth: string | number;
|
@@ -449,5 +736,8 @@ declare const BkTableColumn: {
|
|
449
736
|
columnKey: string;
|
450
737
|
colspan: import("../table/props").SpanFunctionString;
|
451
738
|
rowspan: import("../table/props").SpanFunctionString;
|
739
|
+
uniqueId: {
|
740
|
+
[key: string]: any;
|
741
|
+
};
|
452
742
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
453
743
|
export default BkTableColumn;
|