bkui-vue 0.0.1-beta.464 → 0.0.1-beta.466
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 +63 -67
- package/dist/index.esm.js +15211 -14541
- package/dist/index.umd.js +65 -69
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.d.ts +1 -1
- package/lib/affix/index.d.ts +58 -34
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +60 -40
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +3 -3
- package/lib/animate-number/index.d.ts +60 -27
- package/lib/backtop/backtop.d.ts +2 -2
- package/lib/backtop/index.d.ts +61 -43
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +63 -60
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb.d.ts +2 -2
- package/lib/breadcrumb/index.d.ts +61 -39
- package/lib/button/button-group.d.ts +4 -4
- package/lib/button/button.d.ts +3 -3
- package/lib/button/index.d.ts +74 -68
- package/lib/button/index.js +1 -1
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +63 -64
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.d.ts +2 -2
- package/lib/cascader/index.d.ts +81 -146
- package/lib/cascader/index.js +2 -1
- package/lib/cascader/index.js.LICENSE.txt +1 -0
- package/lib/checkbox/checkbox-group.d.ts +2 -2
- package/lib/checkbox/checkbox.d.ts +10 -10
- package/lib/checkbox/index.d.ts +76 -64
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.d.ts +6 -6
- package/lib/code-diff/index.d.ts +30 -43
- package/lib/code-diff/index.js +1 -1
- package/lib/collapse/collapse-panel.d.ts +1 -1
- package/lib/collapse/collapse.d.ts +1 -1
- package/lib/collapse/index.d.ts +68 -74
- package/lib/collapse-transition/collapse-transition.d.ts +2 -2
- package/lib/color-picker/color-picker.d.ts +2 -2
- package/lib/color-picker/components/color-input.d.ts +2 -2
- package/lib/color-picker/components/hue-slider.d.ts +2 -2
- package/lib/color-picker/components/input-container.d.ts +2 -2
- package/lib/color-picker/components/recommend-colors.d.ts +2 -2
- package/lib/color-picker/components/saturation-panel.d.ts +2 -2
- package/lib/color-picker/index.d.ts +63 -62
- package/lib/color-picker/index.js +1 -1
- package/lib/config-provider/config-provider.d.ts +3 -3
- package/lib/config-provider/index.d.ts +175 -138
- package/lib/container/col.d.ts +2 -2
- package/lib/container/container.d.ts +2 -2
- package/lib/container/index.d.ts +29 -48
- package/lib/container/row.d.ts +2 -2
- package/lib/date-picker/base/confirm.d.ts +5 -5
- package/lib/date-picker/base/date-table.d.ts +3 -3
- package/lib/date-picker/base/month-table.d.ts +4 -4
- package/lib/date-picker/base/picker-dropdown.d.ts +4 -4
- package/lib/date-picker/base/time-spinner.d.ts +2 -2
- package/lib/date-picker/base/year-table.d.ts +4 -4
- package/lib/date-picker/date-picker.d.ts +37 -28
- package/lib/date-picker/index.d.ts +162 -209
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +10 -10
- package/lib/date-picker/panel/date-range.d.ts +18 -15
- package/lib/date-picker/panel/date.d.ts +12 -12
- package/lib/date-picker/panel/time-range.d.ts +8 -2
- package/lib/date-picker/panel/time.d.ts +5 -2
- package/lib/date-picker/props.d.ts +3 -3
- package/lib/date-picker/time-picker.d.ts +11 -2
- package/lib/dialog/dialog.d.ts +2 -2
- package/lib/dialog/index.d.ts +90 -163
- package/lib/dialog/index.js +2 -1
- package/lib/dialog/index.js.LICENSE.txt +1 -0
- package/lib/directives/index.js +1 -1
- package/lib/divider/divider.d.ts +2 -2
- package/lib/divider/index.d.ts +61 -37
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +2 -2
- package/lib/dropdown/dropdown.d.ts +2 -2
- package/lib/dropdown/index.d.ts +66 -54
- package/lib/exception/exception.d.ts +2 -2
- package/lib/exception/index.d.ts +60 -29
- package/lib/exception/index.js +1 -1
- package/lib/exception/typings/index.d.ts +2 -2
- package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
- package/lib/fixed-navbar/index.d.ts +58 -34
- package/lib/form/compose-form-item.d.ts +2 -2
- package/lib/form/form-item.d.ts +3 -3
- package/lib/form/form.d.ts +3 -3
- package/lib/form/index.d.ts +62 -40
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/image-viewer.d.ts +2 -2
- package/lib/image/image.d.ts +1 -1
- package/lib/image/index.d.ts +63 -57
- package/lib/info-box/index.d.ts +1 -1
- package/lib/info-box/index.js +2 -1
- package/lib/info-box/index.js.LICENSE.txt +1 -0
- package/lib/input/index.d.ts +82 -119
- package/lib/input/index.js +1 -1
- package/lib/input/input.d.ts +6 -6
- package/lib/link/index.d.ts +59 -40
- package/lib/link/link.d.ts +1 -1
- package/lib/loading/directive.d.ts +2 -2
- package/lib/loading/index.d.ts +67 -71
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.d.ts +3 -3
- package/lib/locale/lang/en.d.ts +1 -1
- package/lib/menu/index.d.ts +69 -32
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu-group.d.ts +2 -2
- package/lib/menu/menu-item.d.ts +5 -1
- package/lib/menu/menu.d.ts +1 -1
- package/lib/menu/submenu.d.ts +5 -1
- package/lib/menu/utils.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +84 -123
- package/lib/modal/modal.d.ts +3 -3
- package/lib/navigation/index.d.ts +84 -65
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation-title.d.ts +6 -3
- package/lib/navigation/navigation.d.ts +10 -3
- package/lib/notify/index.js +1 -1
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/components/overflow-title.d.ts +2 -2
- package/lib/overflow-title/index.d.ts +62 -37
- package/lib/overflow-title/props.d.ts +2 -2
- package/lib/pagination/index.d.ts +75 -94
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.d.ts +6 -6
- package/lib/pagination/type.d.ts +1 -1
- package/lib/plugin-popover/index.js +1 -1
- package/lib/pop-confirm/index.d.ts +66 -63
- package/lib/pop-confirm/pop-confirm.d.ts +2 -2
- package/lib/popover/arrow.d.ts +1 -1
- package/lib/popover/content.d.ts +2 -2
- package/lib/popover/index.d.ts +93 -164
- package/lib/popover/index.js +1 -1
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/props.d.ts +4 -4
- package/lib/popover/reference.d.ts +1 -1
- package/lib/popover/root.d.ts +13 -2
- package/lib/popover/use-floating.d.ts +3 -3
- package/lib/popover2/index.d.ts +55 -10
- package/lib/popover2/popover.d.ts +1 -1
- package/lib/process/index.d.ts +60 -46
- package/lib/process/index.js +2 -1
- package/lib/process/index.js.LICENSE.txt +1 -0
- package/lib/process/process.d.ts +2 -2
- package/lib/progress/index.d.ts +76 -103
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.d.ts +6 -6
- package/lib/radio/index.d.ts +63 -41
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +5 -5
- package/lib/radio/radio-group.d.ts +2 -2
- package/lib/radio/radio.d.ts +2 -2
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.d.ts +61 -34
- package/lib/rate/rate.d.ts +3 -3
- package/lib/rate/star.d.ts +1 -1
- package/lib/resize-layout/index.d.ts +65 -66
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/search-select/index.d.ts +70 -69
- package/lib/search-select/index.js +2 -1
- package/lib/search-select/index.js.LICENSE.txt +1 -0
- package/lib/search-select/input.d.ts +1 -1
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.d.ts +2 -2
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/search-select/utils.d.ts +4 -4
- package/lib/select/index.d.ts +308 -512
- package/lib/select/index.js +2 -1
- package/lib/select/index.js.LICENSE.txt +1 -0
- package/lib/select/option.d.ts +2 -2
- package/lib/select/optionGroup.d.ts +2 -2
- package/lib/select/select.d.ts +76 -66
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/select/type.d.ts +3 -3
- package/lib/shared/index.d.ts +2 -2
- package/lib/shared/index.js +1 -1
- package/lib/shared/mask-manager.d.ts +2 -2
- package/lib/shared/popover.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +7 -7
- package/lib/sideslider/index.d.ts +84 -125
- package/lib/sideslider/index.js +2 -1
- package/lib/sideslider/index.js.LICENSE.txt +1 -0
- package/lib/sideslider/sideslider.d.ts +3 -3
- package/lib/slider/index.d.ts +73 -103
- package/lib/slider/index.js +2 -1
- package/lib/slider/index.js.LICENSE.txt +1 -0
- package/lib/slider/slider-button.d.ts +1 -1
- package/lib/slider/slider.d.ts +1 -1
- package/lib/steps/index.d.ts +68 -62
- package/lib/steps/index.js +2 -1
- package/lib/steps/index.js.LICENSE.txt +1 -0
- package/lib/steps/steps.d.ts +5 -5
- package/lib/swiper/index.d.ts +60 -44
- package/lib/swiper/swiper.d.ts +1 -1
- package/lib/switcher/index.d.ts +72 -77
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.d.ts +3 -3
- package/lib/tab/index.d.ts +81 -99
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +1 -1
- package/lib/tab/tab-nav.d.ts +2 -2
- package/lib/tab/tab-panel.d.ts +2 -2
- package/lib/tab/tab.d.ts +3 -3
- package/lib/table/components/table-cell.d.ts +2 -2
- package/lib/table/components/table-column.d.ts +18 -12
- package/lib/table/components/table-row.d.ts +1 -1
- package/lib/table/index.d.ts +213 -302
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/body-empty.d.ts +1 -1
- package/lib/table/plugins/col-group.d.ts +2 -2
- package/lib/table/plugins/head-filter.d.ts +1 -1
- package/lib/table/plugins/head-sort.d.ts +1 -1
- package/lib/table/plugins/settings.d.ts +1 -1
- package/lib/table/plugins/use-active-columns.d.ts +3 -3
- package/lib/table/plugins/use-fixed-column.d.ts +3 -3
- package/lib/table/props.d.ts +19 -19
- package/lib/table/table.css +3 -0
- package/lib/table/table.d.ts +6 -6
- package/lib/table/table.less +4 -0
- package/lib/table/table.variable.css +3 -0
- package/lib/table/use-column.d.ts +4 -4
- package/lib/table/use-common.d.ts +1 -1
- package/lib/table-column/index.d.ts +113 -106
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.d.ts +68 -50
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.d.ts +5 -1
- package/lib/tag-input/index.d.ts +105 -317
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/list-tag-render.d.ts +2 -2
- package/lib/tag-input/tag-input.d.ts +7 -7
- package/lib/tag-input/tag-input.less +11 -11
- package/lib/tag-input/tag-props.d.ts +3 -3
- package/lib/tag-input/tag-render.d.ts +2 -2
- package/lib/time-picker/index.d.ts +116 -187
- package/lib/timeline/index.d.ts +57 -28
- package/lib/timeline/timeline.d.ts +2 -2
- package/lib/transfer/index.d.ts +67 -82
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/tree/index.d.ts +84 -146
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +4 -4
- package/lib/tree/tree.d.ts +3 -3
- package/lib/upload/index.d.ts +93 -150
- package/lib/upload/index.js +2 -1
- package/lib/upload/index.js.LICENSE.txt +1 -0
- package/lib/upload/upload-list.d.ts +1 -1
- package/lib/upload/upload-trigger.d.ts +1 -1
- package/lib/upload/upload.d.ts +4 -4
- package/lib/upload/upload.type.d.ts +12 -12
- package/lib/upload/use-file-handler.d.ts +1 -24
- package/lib/virtual-render/index.d.ts +64 -160
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +1 -1
- package/lib/virtual-render/virtual-render.d.ts +16 -3
- package/package.json +38 -37
package/lib/table/props.d.ts
CHANGED
@@ -4,7 +4,7 @@ export declare enum SortScope {
|
|
4
4
|
CURRENT = "current",
|
5
5
|
ALL = "all"
|
6
6
|
}
|
7
|
-
export
|
7
|
+
export type ColumnFilterListItem = {
|
8
8
|
text?: string;
|
9
9
|
value?: string;
|
10
10
|
};
|
@@ -43,13 +43,13 @@ export declare enum FixedEnum {
|
|
43
43
|
RIGHT = "right"
|
44
44
|
}
|
45
45
|
export declare const fixedType: import("vue-types").VueTypeValidableDef<"left" | "right">;
|
46
|
-
export
|
46
|
+
export type IOverflowTooltip = {
|
47
47
|
content: string | Function;
|
48
48
|
disabled?: boolean;
|
49
49
|
watchCellResize?: boolean;
|
50
50
|
mode?: `${OverflowModeEnum}`;
|
51
51
|
};
|
52
|
-
export
|
52
|
+
export type ISortOption = {
|
53
53
|
[key: string]: SORT_OPTION;
|
54
54
|
};
|
55
55
|
export declare enum ColumnPickEnum {
|
@@ -89,12 +89,12 @@ export declare const IColumnType: {
|
|
89
89
|
sort: import("vue-types").VueTypeDef<string | boolean | {
|
90
90
|
sortFn: any;
|
91
91
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
92
|
-
value:
|
92
|
+
value: string;
|
93
93
|
}> & {
|
94
94
|
default: string | boolean | (() => {
|
95
95
|
sortFn: any;
|
96
96
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
97
|
-
value:
|
97
|
+
value: string;
|
98
98
|
});
|
99
99
|
};
|
100
100
|
filter: import("vue-types").VueTypeDef<string | boolean | {
|
@@ -121,7 +121,7 @@ export declare const IColumnType: {
|
|
121
121
|
align: import("vue-types").VueTypeDef<"" | "left" | "center" | "right">;
|
122
122
|
className: import("vue-types").VueTypeDef<any>;
|
123
123
|
};
|
124
|
-
export
|
124
|
+
export type TableColumnProps = Partial<ExtractPropTypes<typeof IColumnType>>;
|
125
125
|
export declare const tableProps: {
|
126
126
|
/**
|
127
127
|
* 渲染列表
|
@@ -256,7 +256,7 @@ export declare const tableProps: {
|
|
256
256
|
settings: import("vue-types").VueTypeDef<boolean | {
|
257
257
|
fields: Field[] | (() => Field[]);
|
258
258
|
checked: string[] | (() => string[]);
|
259
|
-
limit:
|
259
|
+
limit: number;
|
260
260
|
size: "small" | "medium" | "large";
|
261
261
|
sizeList: SizeItem[] | (object & (() => SizeItem[]));
|
262
262
|
showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
@@ -264,7 +264,7 @@ export declare const tableProps: {
|
|
264
264
|
default: boolean | (() => {
|
265
265
|
fields: Field[] | (() => Field[]);
|
266
266
|
checked: string[] | (() => string[]);
|
267
|
-
limit:
|
267
|
+
limit: number;
|
268
268
|
size: "small" | "medium" | "large";
|
269
269
|
sizeList: SizeItem[] | (object & (() => SizeItem[]));
|
270
270
|
showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
@@ -412,12 +412,12 @@ export declare const tableProps: {
|
|
412
412
|
/**
|
413
413
|
* 配置自定义行高选项
|
414
414
|
*/
|
415
|
-
export
|
415
|
+
export type SizeItem = {
|
416
416
|
value?: string;
|
417
417
|
label?: string;
|
418
418
|
height?: number;
|
419
419
|
};
|
420
|
-
export
|
420
|
+
export type Settings = {
|
421
421
|
fields?: Field[];
|
422
422
|
checked?: string[];
|
423
423
|
limit?: number;
|
@@ -425,12 +425,12 @@ export declare type Settings = {
|
|
425
425
|
sizeList?: SizeItem[];
|
426
426
|
showLineHeight?: boolean;
|
427
427
|
};
|
428
|
-
export
|
428
|
+
export type Field = {
|
429
429
|
label: string;
|
430
430
|
field?: string;
|
431
431
|
disabled?: boolean;
|
432
432
|
};
|
433
|
-
export
|
433
|
+
export type Column = {
|
434
434
|
label: Function | string;
|
435
435
|
field?: Function | string;
|
436
436
|
render?: Function | string | Slot;
|
@@ -457,24 +457,24 @@ export declare type Column = {
|
|
457
457
|
className?: string | Function;
|
458
458
|
align?: string;
|
459
459
|
};
|
460
|
-
export
|
460
|
+
export type Thead = {
|
461
461
|
height?: Number;
|
462
462
|
isShow?: boolean;
|
463
463
|
cellFn?: Function;
|
464
464
|
};
|
465
|
-
export
|
465
|
+
export type GroupColumn = {
|
466
466
|
calcWidth?: number;
|
467
467
|
resizeWidth?: number;
|
468
468
|
isHidden?: boolean;
|
469
469
|
listeners?: Map<string, any>;
|
470
470
|
} & Column;
|
471
|
-
export
|
472
|
-
export
|
473
|
-
export
|
471
|
+
export type Columns = ReadonlyArray<Column>;
|
472
|
+
export type TablePropTypes = Readonly<ExtractPropTypes<typeof tableProps>>;
|
473
|
+
export type IColumnActive = {
|
474
474
|
index: number;
|
475
475
|
active: boolean;
|
476
476
|
};
|
477
|
-
export
|
477
|
+
export type IReactiveProp = {
|
478
478
|
activeColumns: IColumnActive[];
|
479
479
|
rowActions: Record<string, any>;
|
480
480
|
scrollTranslateY: Number;
|
@@ -484,7 +484,7 @@ export declare type IReactiveProp = {
|
|
484
484
|
setting: any;
|
485
485
|
defaultSort: Record<string, any>;
|
486
486
|
};
|
487
|
-
export
|
487
|
+
export type Colgroups = Column & {
|
488
488
|
calcWidth: number;
|
489
489
|
resizeWidth: number;
|
490
490
|
listeners: Map<string, Function>;
|
package/lib/table/table.css
CHANGED
@@ -1001,6 +1001,9 @@
|
|
1001
1001
|
border-radius: 10px;
|
1002
1002
|
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
1003
1003
|
}
|
1004
|
+
.bk-table .bk-table-body .prepend-row {
|
1005
|
+
transform: translateX(var(--prepend-left));
|
1006
|
+
}
|
1004
1007
|
.bk-table .bk-fixed-bottom-border {
|
1005
1008
|
position: sticky;
|
1006
1009
|
bottom: 0;
|
package/lib/table/table.d.ts
CHANGED
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
63
63
|
settings: import("vue-types").VueTypeDef<boolean | {
|
64
64
|
fields: import("./props").Field[] | (() => import("./props").Field[]);
|
65
65
|
checked: string[] | (() => string[]);
|
66
|
-
limit:
|
66
|
+
limit: number;
|
67
67
|
size: "small" | "medium" | "large";
|
68
68
|
sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
|
69
69
|
showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
71
71
|
default: boolean | (() => {
|
72
72
|
fields: import("./props").Field[] | (() => import("./props").Field[]);
|
73
73
|
checked: string[] | (() => string[]);
|
74
|
-
limit:
|
74
|
+
limit: number;
|
75
75
|
size: "small" | "medium" | "large";
|
76
76
|
sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
|
77
77
|
showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
226
226
|
settings: import("vue-types").VueTypeDef<boolean | {
|
227
227
|
fields: import("./props").Field[] | (() => import("./props").Field[]);
|
228
228
|
checked: string[] | (() => string[]);
|
229
|
-
limit:
|
229
|
+
limit: number;
|
230
230
|
size: "small" | "medium" | "large";
|
231
231
|
sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
|
232
232
|
showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
@@ -234,7 +234,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
234
234
|
default: boolean | (() => {
|
235
235
|
fields: import("./props").Field[] | (() => import("./props").Field[]);
|
236
236
|
checked: string[] | (() => string[]);
|
237
|
-
limit:
|
237
|
+
limit: number;
|
238
238
|
size: "small" | "medium" | "large";
|
239
239
|
sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
|
240
240
|
showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
@@ -350,7 +350,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
350
350
|
settings: boolean | {
|
351
351
|
fields: import("./props").Field[] | (() => import("./props").Field[]);
|
352
352
|
checked: string[] | (() => string[]);
|
353
|
-
limit:
|
353
|
+
limit: number;
|
354
354
|
size: "small" | "medium" | "large";
|
355
355
|
sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
|
356
356
|
showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
@@ -368,5 +368,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
368
368
|
isRowSelectEnable: any;
|
369
369
|
observerResize: boolean;
|
370
370
|
prependStyle: import("vue").CSSProperties;
|
371
|
-
}>;
|
371
|
+
}, {}>;
|
372
372
|
export default _default;
|
package/lib/table/table.less
CHANGED
@@ -1123,6 +1123,9 @@
|
|
1123
1123
|
border-radius: 10px;
|
1124
1124
|
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
1125
1125
|
}
|
1126
|
+
.bk-table .bk-table-body .prepend-row {
|
1127
|
+
transform: translateX(var(--prepend-left));
|
1128
|
+
}
|
1126
1129
|
.bk-table .bk-fixed-bottom-border {
|
1127
1130
|
position: sticky;
|
1128
1131
|
bottom: 0;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { ITableColumn } from './components/table-column';
|
2
2
|
import { TablePropTypes } from './props';
|
3
|
-
declare const _default: (props: TablePropTypes, targetColumns: ITableColumn[]) => {
|
4
|
-
initColumns: (column: ITableColumn | ITableColumn[], remove?: boolean) => void;
|
5
|
-
getColumns: () => import("./props").Column[];
|
6
|
-
};
|
7
3
|
/**
|
8
4
|
* 渲染column settings
|
9
5
|
* @param props: TablePropTypes
|
10
6
|
* @param targetColumns 解析之后的column配置(主要用来处理通过<bk-column>配置的数据结构)
|
11
7
|
*/
|
8
|
+
declare const _default: (props: TablePropTypes, targetColumns: ITableColumn[]) => {
|
9
|
+
initColumns: (column: ITableColumn | ITableColumn[], remove?: boolean) => void;
|
10
|
+
getColumns: () => import("./props").Column[];
|
11
|
+
};
|
12
12
|
export default _default;
|
@@ -69,7 +69,7 @@ export declare const useInit: (props: TablePropTypes, targetColumns: Column[]) =
|
|
69
69
|
disabled?: boolean;
|
70
70
|
}[];
|
71
71
|
checked: string[] | (() => string[]);
|
72
|
-
limit:
|
72
|
+
limit: number;
|
73
73
|
size: "small" | "medium" | "large";
|
74
74
|
sizeList: (object & (() => import("./props").SizeItem[])) | {
|
75
75
|
value?: string;
|
@@ -2,70 +2,13 @@ declare const BkTableColumn: {
|
|
2
2
|
new (...args: any[]): {
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
|
-
$props:
|
6
|
-
|
7
|
-
sort: string | boolean | {
|
8
|
-
sortFn: any;
|
9
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
10
|
-
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
11
|
-
};
|
12
|
-
filter: string | boolean | {
|
13
|
-
list: any[] | (object & (() => any[]));
|
14
|
-
filterFn: any;
|
15
|
-
match: "full" | "fuzzy";
|
16
|
-
checked: any[] | (object & (() => any[]));
|
17
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
18
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
19
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
20
|
-
};
|
21
|
-
minWidth: string | number;
|
22
|
-
index: number;
|
23
|
-
columnKey: string;
|
24
|
-
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
25
|
-
resizable: boolean;
|
26
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
27
|
-
prop: import("vue-types").VueTypeDef<any>;
|
28
|
-
index: import("vue-types").VueTypeValidableDef<number> & {
|
29
|
-
default: number;
|
30
|
-
} & {
|
31
|
-
default: number;
|
32
|
-
};
|
33
|
-
label: import("vue-types").VueTypeDef<any>;
|
34
|
-
field: import("vue-types").VueTypeDef<any>;
|
35
|
-
render: import("vue-types").VueTypeDef<any>;
|
36
|
-
width: import("vue-types").VueTypeDef<string | number>;
|
37
|
-
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
38
|
-
default: string | number;
|
39
|
-
};
|
40
|
-
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
41
|
-
default: string;
|
42
|
-
} & {
|
43
|
-
default: string;
|
44
|
-
};
|
45
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
|
46
|
-
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
47
|
-
};
|
48
|
-
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
49
|
-
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
50
|
-
default: boolean;
|
51
|
-
} & {
|
52
|
-
default: boolean;
|
53
|
-
};
|
54
|
-
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
55
|
-
default: boolean | "left" | "right";
|
56
|
-
};
|
57
|
-
sort: import("vue-types").VueTypeDef<string | boolean | {
|
5
|
+
$props: {
|
6
|
+
sort?: string | boolean | {
|
58
7
|
sortFn: any;
|
59
8
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
60
|
-
value:
|
61
|
-
}> & {
|
62
|
-
default: string | boolean | (() => {
|
63
|
-
sortFn: any;
|
64
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
65
|
-
value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
|
66
|
-
});
|
9
|
+
value: string;
|
67
10
|
};
|
68
|
-
filter
|
11
|
+
filter?: string | boolean | {
|
69
12
|
list: any[] | (object & (() => any[]));
|
70
13
|
filterFn: any;
|
71
14
|
match: "full" | "fuzzy";
|
@@ -73,22 +16,68 @@ declare const BkTableColumn: {
|
|
73
16
|
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
74
17
|
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
75
18
|
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
76
|
-
}> & {
|
77
|
-
default: string | boolean | (() => {
|
78
|
-
list: any[] | (object & (() => any[]));
|
79
|
-
filterFn: any;
|
80
|
-
match: "full" | "fuzzy";
|
81
|
-
checked: any[] | (object & (() => any[]));
|
82
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
83
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
84
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
85
|
-
});
|
86
19
|
};
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
20
|
+
fixed?: boolean | "left" | "right";
|
21
|
+
minWidth?: string | number;
|
22
|
+
index?: number;
|
23
|
+
columnKey?: string;
|
24
|
+
showOverflowTooltip?: boolean | import("../../table/src/props").IOverflowTooltip;
|
25
|
+
resizable?: boolean;
|
26
|
+
readonly render?: any;
|
27
|
+
readonly type?: "none" | "selection" | "index" | "expand";
|
28
|
+
class?: unknown;
|
29
|
+
readonly label?: any;
|
30
|
+
style?: unknown;
|
31
|
+
readonly width?: string | number;
|
32
|
+
key?: string | number | symbol;
|
33
|
+
ref?: import("vue").VNodeRef;
|
34
|
+
ref_for?: boolean;
|
35
|
+
ref_key?: string;
|
36
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
37
|
+
[key: string]: any;
|
38
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
39
|
+
[key: string]: any;
|
40
|
+
}>) => void)[];
|
41
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
42
|
+
[key: string]: any;
|
43
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
44
|
+
[key: string]: any;
|
45
|
+
}>) => void)[];
|
46
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
47
|
+
[key: string]: any;
|
48
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
+
[key: string]: any;
|
50
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
51
|
+
[key: string]: any;
|
52
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
53
|
+
[key: string]: any;
|
54
|
+
}>) => void)[];
|
55
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
56
|
+
[key: string]: any;
|
57
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
58
|
+
[key: string]: any;
|
59
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
60
|
+
[key: string]: any;
|
61
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
62
|
+
[key: string]: any;
|
63
|
+
}>) => void)[];
|
64
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
65
|
+
[key: string]: any;
|
66
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
67
|
+
[key: string]: any;
|
68
|
+
}>) => void)[];
|
69
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
70
|
+
[key: string]: any;
|
71
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
72
|
+
[key: string]: any;
|
73
|
+
}>) => void)[];
|
74
|
+
readonly className?: any;
|
75
|
+
readonly field?: any;
|
76
|
+
readonly colspan?: any;
|
77
|
+
readonly rowspan?: any;
|
78
|
+
readonly align?: "" | "left" | "center" | "right";
|
79
|
+
readonly prop?: any;
|
80
|
+
};
|
92
81
|
$attrs: {
|
93
82
|
[x: string]: unknown;
|
94
83
|
};
|
@@ -96,10 +85,10 @@ declare const BkTableColumn: {
|
|
96
85
|
[x: string]: unknown;
|
97
86
|
};
|
98
87
|
$slots: Readonly<{
|
99
|
-
[name: string]: import("vue").Slot
|
88
|
+
[name: string]: import("vue").Slot<any>;
|
100
89
|
}>;
|
101
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
102
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
90
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
91
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
103
92
|
$emit: (event: string, ...args: any[]) => void;
|
104
93
|
$el: any;
|
105
94
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
@@ -136,12 +125,12 @@ declare const BkTableColumn: {
|
|
136
125
|
sort: import("vue-types").VueTypeDef<string | boolean | {
|
137
126
|
sortFn: any;
|
138
127
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
139
|
-
value:
|
128
|
+
value: string;
|
140
129
|
}> & {
|
141
130
|
default: string | boolean | (() => {
|
142
131
|
sortFn: any;
|
143
132
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
144
|
-
value:
|
133
|
+
value: string;
|
145
134
|
});
|
146
135
|
};
|
147
136
|
filter: import("vue-types").VueTypeDef<string | boolean | {
|
@@ -175,7 +164,7 @@ declare const BkTableColumn: {
|
|
175
164
|
column: {
|
176
165
|
field: string | Function;
|
177
166
|
label: string | Function;
|
178
|
-
render?: string | Function | import("vue").Slot
|
167
|
+
render?: string | Function | import("vue").Slot<any>;
|
179
168
|
width?: string | number;
|
180
169
|
minWidth?: string | number;
|
181
170
|
columnKey?: string;
|
@@ -204,7 +193,10 @@ declare const BkTableColumn: {
|
|
204
193
|
toExponential: (fractionDigits?: number) => string;
|
205
194
|
toPrecision: (precision?: number) => string;
|
206
195
|
valueOf: () => number;
|
207
|
-
toLocaleString:
|
196
|
+
toLocaleString: {
|
197
|
+
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
198
|
+
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
199
|
+
};
|
208
200
|
};
|
209
201
|
rowspan?: Function | {
|
210
202
|
toString: (radix?: number) => string;
|
@@ -212,7 +204,10 @@ declare const BkTableColumn: {
|
|
212
204
|
toExponential: (fractionDigits?: number) => string;
|
213
205
|
toPrecision: (precision?: number) => string;
|
214
206
|
valueOf: () => number;
|
215
|
-
toLocaleString:
|
207
|
+
toLocaleString: {
|
208
|
+
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
209
|
+
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
210
|
+
};
|
216
211
|
};
|
217
212
|
textAlign?: {
|
218
213
|
[x: number]: string;
|
@@ -308,12 +303,11 @@ declare const BkTableColumn: {
|
|
308
303
|
updateColumnDefine(unmounted?: boolean): void;
|
309
304
|
updateColumnDefineByParent(): void;
|
310
305
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
311
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
312
|
-
fixed: boolean | "left" | "right";
|
306
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
313
307
|
sort: string | boolean | {
|
314
308
|
sortFn: any;
|
315
309
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
316
|
-
value:
|
310
|
+
value: string;
|
317
311
|
};
|
318
312
|
filter: string | boolean | {
|
319
313
|
list: any[] | (object & (() => any[]));
|
@@ -324,12 +318,13 @@ declare const BkTableColumn: {
|
|
324
318
|
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
325
319
|
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
326
320
|
};
|
321
|
+
fixed: boolean | "left" | "right";
|
327
322
|
minWidth: string | number;
|
328
323
|
index: number;
|
329
324
|
columnKey: string;
|
330
325
|
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
331
326
|
resizable: boolean;
|
332
|
-
}> & {
|
327
|
+
}, {}, string, {}> & {
|
333
328
|
beforeCreate?: (() => void) | (() => void)[];
|
334
329
|
created?: (() => void) | (() => void)[];
|
335
330
|
beforeMount?: (() => void) | (() => void)[];
|
@@ -344,11 +339,11 @@ declare const BkTableColumn: {
|
|
344
339
|
unmounted?: (() => void) | (() => void)[];
|
345
340
|
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
346
341
|
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
347
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
342
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
348
343
|
};
|
349
344
|
$forceUpdate: () => void;
|
350
345
|
$nextTick: typeof import("vue").nextTick;
|
351
|
-
$watch
|
346
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
352
347
|
} & Readonly<import("vue").ExtractPropTypes<{
|
353
348
|
prop: import("vue-types").VueTypeDef<any>;
|
354
349
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -383,12 +378,12 @@ declare const BkTableColumn: {
|
|
383
378
|
sort: import("vue-types").VueTypeDef<string | boolean | {
|
384
379
|
sortFn: any;
|
385
380
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
386
|
-
value:
|
381
|
+
value: string;
|
387
382
|
}> & {
|
388
383
|
default: string | boolean | (() => {
|
389
384
|
sortFn: any;
|
390
385
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
391
|
-
value:
|
386
|
+
value: string;
|
392
387
|
});
|
393
388
|
};
|
394
389
|
filter: import("vue-types").VueTypeDef<string | boolean | {
|
@@ -422,7 +417,7 @@ declare const BkTableColumn: {
|
|
422
417
|
column: {
|
423
418
|
field: string | Function;
|
424
419
|
label: string | Function;
|
425
|
-
render?: string | Function | import("vue").Slot
|
420
|
+
render?: string | Function | import("vue").Slot<any>;
|
426
421
|
width?: string | number;
|
427
422
|
minWidth?: string | number;
|
428
423
|
columnKey?: string;
|
@@ -451,7 +446,10 @@ declare const BkTableColumn: {
|
|
451
446
|
toExponential: (fractionDigits?: number) => string;
|
452
447
|
toPrecision: (precision?: number) => string;
|
453
448
|
valueOf: () => number;
|
454
|
-
toLocaleString:
|
449
|
+
toLocaleString: {
|
450
|
+
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
451
|
+
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
452
|
+
};
|
455
453
|
};
|
456
454
|
rowspan?: Function | {
|
457
455
|
toString: (radix?: number) => string;
|
@@ -459,7 +457,10 @@ declare const BkTableColumn: {
|
|
459
457
|
toExponential: (fractionDigits?: number) => string;
|
460
458
|
toPrecision: (precision?: number) => string;
|
461
459
|
valueOf: () => number;
|
462
|
-
toLocaleString:
|
460
|
+
toLocaleString: {
|
461
|
+
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
462
|
+
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
463
|
+
};
|
463
464
|
};
|
464
465
|
textAlign?: {
|
465
466
|
[x: number]: string;
|
@@ -551,11 +552,11 @@ declare const BkTableColumn: {
|
|
551
552
|
prop?: string | Function;
|
552
553
|
index?: number;
|
553
554
|
};
|
554
|
-
}> & {} & {
|
555
|
+
}> & {} & {
|
555
556
|
updateColumnDefine(unmounted?: boolean): void;
|
556
557
|
updateColumnDefineByParent(): void;
|
557
558
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
558
|
-
} & import("vue").ComponentCustomProperties;
|
559
|
+
} & import("vue").ComponentCustomProperties & {};
|
559
560
|
__isFragment?: never;
|
560
561
|
__isTeleport?: never;
|
561
562
|
__isSuspense?: never;
|
@@ -593,12 +594,12 @@ declare const BkTableColumn: {
|
|
593
594
|
sort: import("vue-types").VueTypeDef<string | boolean | {
|
594
595
|
sortFn: any;
|
595
596
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
596
|
-
value:
|
597
|
+
value: string;
|
597
598
|
}> & {
|
598
599
|
default: string | boolean | (() => {
|
599
600
|
sortFn: any;
|
600
601
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
601
|
-
value:
|
602
|
+
value: string;
|
602
603
|
});
|
603
604
|
};
|
604
605
|
filter: import("vue-types").VueTypeDef<string | boolean | {
|
@@ -632,7 +633,7 @@ declare const BkTableColumn: {
|
|
632
633
|
column: {
|
633
634
|
field: string | Function;
|
634
635
|
label: string | Function;
|
635
|
-
render?: string | Function | import("vue").Slot
|
636
|
+
render?: string | Function | import("vue").Slot<any>;
|
636
637
|
width?: string | number;
|
637
638
|
minWidth?: string | number;
|
638
639
|
columnKey?: string;
|
@@ -661,7 +662,10 @@ declare const BkTableColumn: {
|
|
661
662
|
toExponential: (fractionDigits?: number) => string;
|
662
663
|
toPrecision: (precision?: number) => string;
|
663
664
|
valueOf: () => number;
|
664
|
-
toLocaleString:
|
665
|
+
toLocaleString: {
|
666
|
+
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
667
|
+
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
668
|
+
};
|
665
669
|
};
|
666
670
|
rowspan?: Function | {
|
667
671
|
toString: (radix?: number) => string;
|
@@ -669,7 +673,10 @@ declare const BkTableColumn: {
|
|
669
673
|
toExponential: (fractionDigits?: number) => string;
|
670
674
|
toPrecision: (precision?: number) => string;
|
671
675
|
valueOf: () => number;
|
672
|
-
toLocaleString:
|
676
|
+
toLocaleString: {
|
677
|
+
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
678
|
+
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
679
|
+
};
|
673
680
|
};
|
674
681
|
textAlign?: {
|
675
682
|
[x: number]: string;
|
@@ -765,12 +772,11 @@ declare const BkTableColumn: {
|
|
765
772
|
updateColumnDefine(unmounted?: boolean): void;
|
766
773
|
updateColumnDefineByParent(): void;
|
767
774
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
768
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
769
|
-
fixed: boolean | "left" | "right";
|
775
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
770
776
|
sort: string | boolean | {
|
771
777
|
sortFn: any;
|
772
778
|
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
773
|
-
value:
|
779
|
+
value: string;
|
774
780
|
};
|
775
781
|
filter: string | boolean | {
|
776
782
|
list: any[] | (object & (() => any[]));
|
@@ -781,10 +787,11 @@ declare const BkTableColumn: {
|
|
781
787
|
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
782
788
|
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
783
789
|
};
|
790
|
+
fixed: boolean | "left" | "right";
|
784
791
|
minWidth: string | number;
|
785
792
|
index: number;
|
786
793
|
columnKey: string;
|
787
794
|
showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
|
788
795
|
resizable: boolean;
|
789
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("
|
796
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
790
797
|
export default BkTableColumn;
|