bkui-vue 0.0.2-beta.8 → 0.0.2-table-refactor.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 +70 -62
- package/dist/index.esm.js +16711 -16319
- package/dist/index.umd.js +72 -64
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- 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 +4 -4
- package/lib/alert/alert.css +7 -0
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.less +16 -6
- package/lib/alert/alert.variable.css +7 -0
- package/lib/alert/index.d.ts +10 -10
- package/lib/animate-number/index.d.ts +1 -1
- package/lib/backtop/index.d.ts +1 -1
- package/lib/badge/badge.d.ts +2 -2
- package/lib/badge/index.d.ts +7 -7
- package/lib/breadcrumb/index.d.ts +2 -2
- package/lib/button/button.css +20 -0
- package/lib/button/button.less +105 -94
- package/lib/button/button.variable.css +20 -0
- package/lib/button/index.d.ts +2 -2
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +4 -4
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/index.d.ts +5 -2
- package/lib/cascader/index.js +1 -1
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +6 -3
- package/lib/checkbox/checkbox.d.ts +4 -4
- package/lib/checkbox/index.d.ts +22 -19
- package/lib/checkbox/index.js +1 -1
- package/lib/code-diff/index.d.ts +1 -1
- package/lib/collapse/index.d.ts +2 -2
- package/lib/collapse-transition/index.d.ts +128 -2
- package/lib/collapse-transition/index.js +1 -1
- package/lib/color-picker/color-picker.d.ts +16 -0
- package/lib/color-picker/components/recommend-colors.d.ts +16 -0
- package/lib/color-picker/index.d.ts +19 -1
- package/lib/color-picker/index.js +1 -1
- package/lib/components.d.ts +1 -1
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/index.d.ts +5 -1
- package/lib/config-provider/index.js +1 -1
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/config-provider/use-global-config.d.ts +2 -0
- package/lib/config-provider/use-prefix.d.ts +2 -0
- package/lib/container/index.d.ts +2 -2
- package/lib/container/index.js +1 -1
- package/lib/date-picker/date-picker.d.ts +3 -1
- package/lib/date-picker/index.d.ts +12 -5
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/panel/date-range.d.ts +2 -1
- package/lib/dialog/index.d.ts +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +3 -2
- package/lib/divider/index.d.ts +1 -1
- package/lib/dropdown/dropdown.css +1 -0
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/index.d.ts +7 -7
- package/lib/exception/index.d.ts +2 -2
- package/lib/fixed-navbar/index.d.ts +1 -1
- package/lib/form/index.d.ts +3 -3
- package/lib/form/index.js +1 -1
- package/lib/hooks.d.ts +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icon/assistant.d.ts +4 -0
- package/lib/icon/assistant.js +1 -0
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +1 -1
- package/lib/image/index.d.ts +1 -1
- package/lib/image/index.js +1 -1
- package/lib/info-box/index.js +1 -1
- package/lib/input/index.d.ts +146 -50
- package/lib/input/index.js +2 -1
- package/lib/input/index.js.LICENSE.txt +1 -0
- package/lib/input/input.css +34 -6
- package/lib/input/input.d.ts +100 -11
- package/lib/input/input.less +53 -14
- package/lib/input/input.variable.css +34 -6
- package/lib/input/util.d.ts +6 -0
- package/lib/link/index.d.ts +4 -4
- package/lib/link/link.d.ts +1 -1
- package/lib/loading/index.d.ts +2 -2
- package/lib/locale/index.js +1 -1
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/index.d.ts +2 -2
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +33 -9
- package/lib/message/message.less +78 -54
- package/lib/message/message.variable.css +33 -9
- package/lib/message/messageConstructor.d.ts +30 -8
- package/lib/modal/index.d.ts +2 -2
- package/lib/modal/index.js +1 -1
- package/lib/navigation/index.d.ts +4 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation.d.ts +1 -0
- package/lib/notify/index.js +1 -1
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/components/overflow-title.d.ts +257 -1
- package/lib/overflow-title/index.d.ts +387 -2
- package/lib/overflow-title/index.js +1 -1
- package/lib/overflow-title/props.d.ts +129 -0
- package/lib/pagination/index.d.ts +2 -2
- package/lib/plugin-popover/index.js +1 -1
- package/lib/pop-confirm/index.d.ts +1 -1
- package/lib/popover/const.d.ts +22 -9
- package/lib/popover/content.d.ts +33 -0
- package/lib/popover/index.d.ts +154 -61
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +1 -0
- package/lib/popover/popover.d.ts +64 -23
- package/lib/popover/popover.less +3 -2
- package/lib/popover/popover.variable.css +1 -0
- package/lib/popover/props.d.ts +29 -4
- package/lib/popover/use-floating.d.ts +2 -2
- package/lib/popover/use-popover-init.d.ts +2 -1
- package/lib/popover2/index.d.ts +1 -1
- package/lib/preset.d.ts +2 -0
- package/lib/process/index.d.ts +1 -1
- package/lib/progress/index.d.ts +1 -1
- package/lib/radio/index.d.ts +23 -23
- package/lib/radio/radio-button.d.ts +4 -4
- package/lib/radio/radio-group.d.ts +4 -4
- package/lib/radio/radio.d.ts +4 -4
- package/lib/rate/index.d.ts +8 -4
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +2 -1
- package/lib/resize-layout/index.d.ts +4 -4
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.css +12 -0
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/resize-layout/resize-layout.less +12 -0
- package/lib/resize-layout/resize-layout.variable.css +12 -0
- package/lib/search-select/index.d.ts +62 -29
- package/lib/search-select/index.js +1 -1
- package/lib/search-select/input.d.ts +5 -1
- package/lib/search-select/menu.d.ts +33 -2
- package/lib/search-select/search-select.css +31 -11
- package/lib/search-select/search-select.d.ts +23 -20
- package/lib/search-select/search-select.less +29 -10
- package/lib/search-select/search-select.variable.css +31 -11
- package/lib/search-select/selected.d.ts +5 -1
- package/lib/search-select/utils.d.ts +13 -5
- package/lib/select/index.d.ts +180 -84
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +11 -0
- package/lib/select/select.css +9 -1
- package/lib/select/select.d.ts +75 -37
- package/lib/select/select.less +11 -1
- package/lib/select/select.variable.css +9 -1
- package/lib/select/selectTagInput.d.ts +8 -5
- package/lib/shared/helper.d.ts +1 -1
- package/lib/shared/index.js +1 -1
- package/lib/shared/mask-manager.d.ts +3 -4
- package/lib/shared/pop-manager.d.ts +6 -2
- package/lib/shared/popover.d.ts +2 -2
- package/lib/shared/vue-types.d.ts +3 -2
- package/lib/sideslider/index.d.ts +1 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +1 -1
- package/lib/steps/index.d.ts +1 -1
- package/lib/steps/index.js +1 -1
- package/lib/styles/mixins/popper.less +6 -5
- package/lib/swiper/index.d.ts +1 -1
- package/lib/swiper/index.js +1 -1
- package/lib/swiper/swiper.css +0 -6
- package/lib/swiper/swiper.less +0 -8
- package/lib/swiper/swiper.variable.css +0 -6
- package/lib/switcher/index.d.ts +30 -16
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.d.ts +74 -5
- package/lib/tab/index.d.ts +3 -3
- package/lib/tab/tab-nav.d.ts +12 -2
- package/lib/tab/tab-panel.d.ts +1 -1
- package/lib/table/components/table-cell.d.ts +22 -15
- package/lib/table/components/table-column.d.ts +154 -219
- package/lib/table/const.d.ts +34 -56
- package/lib/table/events.d.ts +180 -0
- package/lib/table/index.d.ts +746 -440
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +3 -0
- package/lib/table/plugins/head-filter.d.ts +3 -7
- package/lib/table/plugins/head-filter.less +3 -0
- package/lib/table/plugins/head-filter.variable.css +3 -0
- package/lib/table/plugins/head-sort.d.ts +3 -7
- package/lib/table/plugins/settings.d.ts +12 -26
- package/lib/table/plugins/use-column-resize.d.ts +30 -10
- package/lib/table/plugins/use-fixed-column.d.ts +7 -5
- package/lib/table/plugins/use-pagination.d.ts +7 -4
- package/lib/table/props.d.ts +219 -181
- package/lib/table/render.d.ts +12 -20
- package/lib/table/table.css +85 -5
- package/lib/table/table.d.ts +227 -104
- package/lib/table/table.less +75 -8
- package/lib/table/table.variable.css +85 -5
- package/lib/table/use-attributes.d.ts +55 -0
- package/lib/table/use-column.d.ts +175 -3
- package/lib/table/use-common.d.ts +1609 -76
- package/lib/table/use-render.d.ts +11 -0
- package/lib/table/utils.d.ts +30 -28
- package/lib/table-column/index.d.ts +237 -527
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.d.ts +10 -10
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag-input/index.d.ts +49 -13
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/tag-input.css +6 -1
- package/lib/tag-input/tag-input.d.ts +46 -10
- package/lib/tag-input/tag-input.less +9 -4
- package/lib/tag-input/tag-input.variable.css +6 -1
- package/lib/tag-input/tag-props.d.ts +16 -4
- package/lib/time-picker/index.d.ts +1 -1
- package/lib/timeline/index.d.ts +1 -1
- package/lib/transfer/index.d.ts +1 -1
- package/lib/tree/constant.d.ts +2 -2
- package/lib/tree/index.d.ts +37 -7
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +8 -1
- package/lib/tree/tree.d.ts +20 -2
- package/lib/tree/use-node-action.d.ts +3 -2
- package/lib/tree/use-node-attribute.d.ts +15 -8
- package/lib/tree/use-tree-init.d.ts +1 -2
- package/lib/tree/util.d.ts +7 -2
- package/lib/upload/index.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +43 -1
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +15 -0
- package/lib/virtual-render/v-virtual-render.d.ts +1 -0
- package/lib/virtual-render/virtual-render.d.ts +27 -2
- package/lib/volar.components.d.ts +24 -24
- package/package.json +17 -16
@@ -3,34 +3,23 @@ declare const BkTableColumn: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: {
|
6
|
-
sort?: string | boolean | {
|
7
|
-
sortFn: any;
|
8
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
9
|
-
value: string;
|
10
|
-
};
|
11
|
-
filter?: string | boolean | {
|
12
|
-
list: any[] | (object & (() => any[]));
|
13
|
-
filterFn: any;
|
14
|
-
match: "full" | "fuzzy";
|
15
|
-
checked: any[] | (object & (() => any[]));
|
16
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
17
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
18
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
19
|
-
};
|
20
6
|
fixed?: boolean | "right" | "left";
|
21
7
|
minWidth?: string | number;
|
8
|
+
resizable?: boolean;
|
22
9
|
index?: number;
|
23
10
|
columnKey?: string;
|
24
|
-
|
25
|
-
|
26
|
-
readonly render?:
|
11
|
+
colspan?: import("../../table/src/props").SpanFunctionString;
|
12
|
+
rowspan?: import("../../table/src/props").SpanFunctionString;
|
13
|
+
readonly render?: import("../../table/src/props").RenderFunctionString;
|
14
|
+
readonly sort?: import("../../table/src/props").ISortPropShape;
|
15
|
+
readonly filter?: import("../../table/src/props").IFilterPropShape;
|
27
16
|
readonly type?: "none" | "selection" | "index" | "expand";
|
28
17
|
class?: unknown;
|
29
|
-
readonly label?:
|
18
|
+
readonly label?: import("../../table/src/props").LabelFunctionString;
|
30
19
|
style?: unknown;
|
31
20
|
readonly width?: string | number;
|
32
|
-
key?: string | number | symbol;
|
33
21
|
ref?: import("vue").VNodeRef;
|
22
|
+
key?: string | number | symbol;
|
34
23
|
ref_for?: boolean;
|
35
24
|
ref_key?: string;
|
36
25
|
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -71,12 +60,11 @@ declare const BkTableColumn: {
|
|
71
60
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
72
61
|
[key: string]: any;
|
73
62
|
}>) => void)[];
|
74
|
-
readonly className?:
|
63
|
+
readonly className?: import("../../table/src/props").RowClassFunctionString;
|
75
64
|
readonly align?: "" | "right" | "left" | "center";
|
76
|
-
readonly
|
77
|
-
readonly
|
78
|
-
readonly
|
79
|
-
readonly prop?: any;
|
65
|
+
readonly showOverflowTooltip?: import("../../table/src/props").IOverflowTooltipProp;
|
66
|
+
readonly field?: import("../../table/src/props").LabelFunctionString;
|
67
|
+
readonly prop?: import("../../table/src/props").LabelFunctionString;
|
80
68
|
};
|
81
69
|
$attrs: {
|
82
70
|
[x: string]: unknown;
|
@@ -92,15 +80,9 @@ declare const BkTableColumn: {
|
|
92
80
|
$emit: (event: string, ...args: any[]) => void;
|
93
81
|
$el: any;
|
94
82
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
} & {
|
99
|
-
default: number;
|
100
|
-
};
|
101
|
-
label: import("vue-types").VueTypeDef<any>;
|
102
|
-
field: import("vue-types").VueTypeDef<any>;
|
103
|
-
render: import("vue-types").VueTypeDef<any>;
|
83
|
+
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
84
|
+
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
85
|
+
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
104
86
|
width: import("vue-types").VueTypeDef<string | number>;
|
105
87
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
106
88
|
default: string | number;
|
@@ -110,9 +92,7 @@ declare const BkTableColumn: {
|
|
110
92
|
} & {
|
111
93
|
default: string;
|
112
94
|
};
|
113
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
114
|
-
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
115
|
-
};
|
95
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp>;
|
116
96
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
117
97
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
118
98
|
default: boolean;
|
@@ -122,72 +102,49 @@ declare const BkTableColumn: {
|
|
122
102
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
123
103
|
default: boolean | "right" | "left";
|
124
104
|
};
|
125
|
-
sort: import("vue-types").VueTypeDef<
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
});
|
105
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape>;
|
106
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape>;
|
107
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
108
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
109
|
+
column: any;
|
110
|
+
colIndex: any;
|
111
|
+
row: any;
|
112
|
+
rowIndex: any;
|
113
|
+
}) => number) | (() => Number);
|
135
114
|
};
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
144
|
-
}> & {
|
145
|
-
default: string | boolean | (() => {
|
146
|
-
list: any[] | (object & (() => any[]));
|
147
|
-
filterFn: any;
|
148
|
-
match: "full" | "fuzzy";
|
149
|
-
checked: any[] | (object & (() => any[]));
|
150
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
151
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
152
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
153
|
-
});
|
115
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
116
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
117
|
+
column: any;
|
118
|
+
colIndex: any;
|
119
|
+
row: any;
|
120
|
+
rowIndex: any;
|
121
|
+
}) => number) | (() => Number);
|
154
122
|
};
|
155
|
-
colspan: import("vue-types").VueTypeDef<any>;
|
156
|
-
rowspan: import("vue-types").VueTypeDef<any>;
|
157
123
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
158
|
-
className: import("vue-types").VueTypeDef<
|
124
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
125
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
126
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
127
|
+
default: number;
|
128
|
+
} & {
|
129
|
+
default: number;
|
130
|
+
};
|
159
131
|
}>>, {
|
160
|
-
initColumns: (_col: import("../../
|
132
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
161
133
|
bkTableCache: {
|
162
134
|
queueStack: (_: any, fn: any) => any;
|
163
135
|
};
|
164
136
|
column: {
|
165
|
-
|
166
|
-
label: string | Function;
|
167
|
-
render?: string | Function | import("vue").Slot<any>;
|
168
|
-
width?: string | number;
|
137
|
+
fixed?: boolean | "right" | "left";
|
169
138
|
minWidth?: string | number;
|
170
|
-
columnKey?: string;
|
171
|
-
showOverflowTooltip?: boolean | {
|
172
|
-
content: string | Function;
|
173
|
-
disabled?: boolean;
|
174
|
-
watchCellResize?: boolean;
|
175
|
-
mode?: "auto" | "static";
|
176
|
-
};
|
177
|
-
type?: string;
|
178
|
-
fixed?: string | boolean;
|
179
139
|
resizable?: boolean;
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
checked?: any;
|
189
|
-
};
|
190
|
-
colspan?: Function | {
|
140
|
+
index?: number;
|
141
|
+
columnKey?: string;
|
142
|
+
colspan?: (({ column, colIndex, row, rowIndex }: {
|
143
|
+
column: any;
|
144
|
+
colIndex: any;
|
145
|
+
row: any;
|
146
|
+
rowIndex: any;
|
147
|
+
}) => number) | {
|
191
148
|
toString: (radix?: number) => string;
|
192
149
|
toFixed: (fractionDigits?: number) => string;
|
193
150
|
toExponential: (fractionDigits?: number) => string;
|
@@ -198,7 +155,12 @@ declare const BkTableColumn: {
|
|
198
155
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
199
156
|
};
|
200
157
|
};
|
201
|
-
rowspan?:
|
158
|
+
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
159
|
+
column: any;
|
160
|
+
colIndex: any;
|
161
|
+
row: any;
|
162
|
+
rowIndex: any;
|
163
|
+
}) => number) | {
|
202
164
|
toString: (radix?: number) => string;
|
203
165
|
toFixed: (fractionDigits?: number) => string;
|
204
166
|
toExponential: (fractionDigits?: number) => string;
|
@@ -209,121 +171,50 @@ declare const BkTableColumn: {
|
|
209
171
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
210
172
|
};
|
211
173
|
};
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
concat: (...strings: string[]) => string;
|
218
|
-
indexOf: (searchString: string, position?: number) => number;
|
219
|
-
lastIndexOf: (searchString: string, position?: number) => number;
|
220
|
-
localeCompare: {
|
221
|
-
(that: string): number;
|
222
|
-
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
223
|
-
};
|
224
|
-
match: {
|
225
|
-
(regexp: string | RegExp): RegExpMatchArray;
|
226
|
-
(matcher: {
|
227
|
-
[Symbol.match](string: string): RegExpMatchArray;
|
228
|
-
}): RegExpMatchArray;
|
229
|
-
};
|
230
|
-
replace: {
|
231
|
-
(searchValue: string | RegExp, replaceValue: string): string;
|
232
|
-
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
233
|
-
(searchValue: {
|
234
|
-
[Symbol.replace](string: string, replaceValue: string): string;
|
235
|
-
}, replaceValue: string): string;
|
236
|
-
(searchValue: {
|
237
|
-
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
238
|
-
}, replacer: (substring: string, ...args: any[]) => string): string;
|
239
|
-
};
|
240
|
-
search: {
|
241
|
-
(regexp: string | RegExp): number;
|
242
|
-
(searcher: {
|
243
|
-
[Symbol.search](string: string): number;
|
244
|
-
}): number;
|
245
|
-
};
|
246
|
-
slice: (start?: number, end?: number) => string;
|
247
|
-
split: {
|
248
|
-
(separator: string | RegExp, limit?: number): string[];
|
249
|
-
(splitter: {
|
250
|
-
[Symbol.split](string: string, limit?: number): string[];
|
251
|
-
}, limit?: number): string[];
|
252
|
-
};
|
253
|
-
substring: (start: number, end?: number) => string;
|
254
|
-
toLowerCase: () => string;
|
255
|
-
toLocaleLowerCase: (locales?: string | string[]) => string;
|
256
|
-
toUpperCase: () => string;
|
257
|
-
toLocaleUpperCase: (locales?: string | string[]) => string;
|
258
|
-
trim: () => string;
|
259
|
-
readonly length: number;
|
260
|
-
substr: (from: number, length?: number) => string;
|
261
|
-
valueOf: () => string;
|
262
|
-
codePointAt: (pos: number) => number;
|
263
|
-
includes: (searchString: string, position?: number) => boolean;
|
264
|
-
endsWith: (searchString: string, endPosition?: number) => boolean;
|
265
|
-
normalize: {
|
266
|
-
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
267
|
-
(form?: string): string;
|
268
|
-
};
|
269
|
-
repeat: (count: number) => string;
|
270
|
-
startsWith: (searchString: string, position?: number) => boolean;
|
271
|
-
anchor: (name: string) => string;
|
272
|
-
big: () => string;
|
273
|
-
blink: () => string;
|
274
|
-
bold: () => string;
|
275
|
-
fixed: () => string;
|
276
|
-
fontcolor: (color: string) => string;
|
277
|
-
fontsize: {
|
278
|
-
(size: number): string;
|
279
|
-
(size: string): string;
|
280
|
-
};
|
281
|
-
italics: () => string;
|
282
|
-
link: (url: string) => string;
|
283
|
-
small: () => string;
|
284
|
-
strike: () => string;
|
285
|
-
sub: () => string;
|
286
|
-
sup: () => string;
|
287
|
-
padStart: (maxLength: number, fillString?: string) => string;
|
288
|
-
padEnd: (maxLength: number, fillString?: string) => string;
|
289
|
-
trimEnd: () => string;
|
290
|
-
trimStart: () => string;
|
291
|
-
trimLeft: () => string;
|
292
|
-
trimRight: () => string;
|
293
|
-
matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
|
294
|
-
[Symbol.iterator]: () => IterableIterator<string>;
|
295
|
-
at: (index: number) => string;
|
174
|
+
render?: import("../../table/src/props").RenderFunctionString;
|
175
|
+
sort?: string | boolean | {
|
176
|
+
sortFn?: Function;
|
177
|
+
sortScope?: import("../../table/src/props").SortScope;
|
178
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
296
179
|
};
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
180
|
+
filter?: string | boolean | {
|
181
|
+
list: any[];
|
182
|
+
filterFn?: Function;
|
183
|
+
match?: import("../../table/src/props").FullEnum;
|
184
|
+
checked?: any[];
|
185
|
+
filterScope?: import("../../table/src/props").SortScope;
|
186
|
+
btnSave?: string | boolean;
|
187
|
+
btnReset?: string | boolean;
|
188
|
+
maxHeight?: number;
|
189
|
+
};
|
190
|
+
type?: "none" | "selection" | "index" | "expand";
|
191
|
+
label?: import("../../table/src/props").LabelFunctionString;
|
192
|
+
width?: string | number;
|
193
|
+
className?: import("../../table/src/props").RowClassFunctionString;
|
194
|
+
align?: "" | "right" | "left" | "center";
|
195
|
+
showOverflowTooltip?: boolean | {
|
196
|
+
content: string | Function;
|
197
|
+
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
198
|
+
watchCellResize?: boolean;
|
199
|
+
mode?: "auto" | "static";
|
200
|
+
popoverOption?: any;
|
201
|
+
resizerWay?: import("../../table/src/props").ResizerWay;
|
202
|
+
};
|
203
|
+
field: import("../../table/src/props").LabelFunctionString;
|
204
|
+
prop?: import("../../table/src/props").LabelFunctionString;
|
301
205
|
};
|
302
206
|
}, unknown, {}, {
|
303
207
|
updateColumnDefine(unmounted?: boolean): void;
|
304
208
|
updateColumnDefineByParent(): void;
|
305
209
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
306
210
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
307
|
-
sort: string | boolean | {
|
308
|
-
sortFn: any;
|
309
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
310
|
-
value: string;
|
311
|
-
};
|
312
|
-
filter: string | boolean | {
|
313
|
-
list: any[] | (object & (() => any[]));
|
314
|
-
filterFn: any;
|
315
|
-
match: "full" | "fuzzy";
|
316
|
-
checked: any[] | (object & (() => any[]));
|
317
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
318
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
319
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
320
|
-
};
|
321
211
|
fixed: boolean | "right" | "left";
|
322
212
|
minWidth: string | number;
|
213
|
+
resizable: boolean;
|
323
214
|
index: number;
|
324
215
|
columnKey: string;
|
325
|
-
|
326
|
-
|
216
|
+
colspan: import("../../table/src/props").SpanFunctionString;
|
217
|
+
rowspan: import("../../table/src/props").SpanFunctionString;
|
327
218
|
}, {}, string, {}> & {
|
328
219
|
beforeCreate?: (() => void) | (() => void)[];
|
329
220
|
created?: (() => void) | (() => void)[];
|
@@ -345,15 +236,9 @@ declare const BkTableColumn: {
|
|
345
236
|
$nextTick: typeof import("vue").nextTick;
|
346
237
|
$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;
|
347
238
|
} & Readonly<import("vue").ExtractPropTypes<{
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
} & {
|
352
|
-
default: number;
|
353
|
-
};
|
354
|
-
label: import("vue-types").VueTypeDef<any>;
|
355
|
-
field: import("vue-types").VueTypeDef<any>;
|
356
|
-
render: import("vue-types").VueTypeDef<any>;
|
239
|
+
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
240
|
+
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
241
|
+
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
357
242
|
width: import("vue-types").VueTypeDef<string | number>;
|
358
243
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
359
244
|
default: string | number;
|
@@ -363,9 +248,7 @@ declare const BkTableColumn: {
|
|
363
248
|
} & {
|
364
249
|
default: string;
|
365
250
|
};
|
366
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
367
|
-
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
368
|
-
};
|
251
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp>;
|
369
252
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
370
253
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
371
254
|
default: boolean;
|
@@ -375,72 +258,49 @@ declare const BkTableColumn: {
|
|
375
258
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
376
259
|
default: boolean | "right" | "left";
|
377
260
|
};
|
378
|
-
sort: import("vue-types").VueTypeDef<
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
});
|
261
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape>;
|
262
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape>;
|
263
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
264
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
265
|
+
column: any;
|
266
|
+
colIndex: any;
|
267
|
+
row: any;
|
268
|
+
rowIndex: any;
|
269
|
+
}) => number) | (() => Number);
|
388
270
|
};
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
397
|
-
}> & {
|
398
|
-
default: string | boolean | (() => {
|
399
|
-
list: any[] | (object & (() => any[]));
|
400
|
-
filterFn: any;
|
401
|
-
match: "full" | "fuzzy";
|
402
|
-
checked: any[] | (object & (() => any[]));
|
403
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
404
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
405
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
406
|
-
});
|
271
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
272
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
273
|
+
column: any;
|
274
|
+
colIndex: any;
|
275
|
+
row: any;
|
276
|
+
rowIndex: any;
|
277
|
+
}) => number) | (() => Number);
|
407
278
|
};
|
408
|
-
colspan: import("vue-types").VueTypeDef<any>;
|
409
|
-
rowspan: import("vue-types").VueTypeDef<any>;
|
410
279
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
411
|
-
className: import("vue-types").VueTypeDef<
|
280
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
281
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
282
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
283
|
+
default: number;
|
284
|
+
} & {
|
285
|
+
default: number;
|
286
|
+
};
|
412
287
|
}>> & import("vue").ShallowUnwrapRef<{
|
413
|
-
initColumns: (_col: import("../../
|
288
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
414
289
|
bkTableCache: {
|
415
290
|
queueStack: (_: any, fn: any) => any;
|
416
291
|
};
|
417
292
|
column: {
|
418
|
-
|
419
|
-
label: string | Function;
|
420
|
-
render?: string | Function | import("vue").Slot<any>;
|
421
|
-
width?: string | number;
|
293
|
+
fixed?: boolean | "right" | "left";
|
422
294
|
minWidth?: string | number;
|
423
|
-
columnKey?: string;
|
424
|
-
showOverflowTooltip?: boolean | {
|
425
|
-
content: string | Function;
|
426
|
-
disabled?: boolean;
|
427
|
-
watchCellResize?: boolean;
|
428
|
-
mode?: "auto" | "static";
|
429
|
-
};
|
430
|
-
type?: string;
|
431
|
-
fixed?: string | boolean;
|
432
295
|
resizable?: boolean;
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
checked?: any;
|
442
|
-
};
|
443
|
-
colspan?: Function | {
|
296
|
+
index?: number;
|
297
|
+
columnKey?: string;
|
298
|
+
colspan?: (({ column, colIndex, row, rowIndex }: {
|
299
|
+
column: any;
|
300
|
+
colIndex: any;
|
301
|
+
row: any;
|
302
|
+
rowIndex: any;
|
303
|
+
}) => number) | {
|
444
304
|
toString: (radix?: number) => string;
|
445
305
|
toFixed: (fractionDigits?: number) => string;
|
446
306
|
toExponential: (fractionDigits?: number) => string;
|
@@ -451,7 +311,12 @@ declare const BkTableColumn: {
|
|
451
311
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
452
312
|
};
|
453
313
|
};
|
454
|
-
rowspan?:
|
314
|
+
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
315
|
+
column: any;
|
316
|
+
colIndex: any;
|
317
|
+
row: any;
|
318
|
+
rowIndex: any;
|
319
|
+
}) => number) | {
|
455
320
|
toString: (radix?: number) => string;
|
456
321
|
toFixed: (fractionDigits?: number) => string;
|
457
322
|
toExponential: (fractionDigits?: number) => string;
|
@@ -462,95 +327,37 @@ declare const BkTableColumn: {
|
|
462
327
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
463
328
|
};
|
464
329
|
};
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
concat: (...strings: string[]) => string;
|
471
|
-
indexOf: (searchString: string, position?: number) => number;
|
472
|
-
lastIndexOf: (searchString: string, position?: number) => number;
|
473
|
-
localeCompare: {
|
474
|
-
(that: string): number;
|
475
|
-
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
476
|
-
};
|
477
|
-
match: {
|
478
|
-
(regexp: string | RegExp): RegExpMatchArray;
|
479
|
-
(matcher: {
|
480
|
-
[Symbol.match](string: string): RegExpMatchArray;
|
481
|
-
}): RegExpMatchArray;
|
482
|
-
};
|
483
|
-
replace: {
|
484
|
-
(searchValue: string | RegExp, replaceValue: string): string;
|
485
|
-
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
486
|
-
(searchValue: {
|
487
|
-
[Symbol.replace](string: string, replaceValue: string): string;
|
488
|
-
}, replaceValue: string): string;
|
489
|
-
(searchValue: {
|
490
|
-
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
491
|
-
}, replacer: (substring: string, ...args: any[]) => string): string;
|
492
|
-
};
|
493
|
-
search: {
|
494
|
-
(regexp: string | RegExp): number;
|
495
|
-
(searcher: {
|
496
|
-
[Symbol.search](string: string): number;
|
497
|
-
}): number;
|
498
|
-
};
|
499
|
-
slice: (start?: number, end?: number) => string;
|
500
|
-
split: {
|
501
|
-
(separator: string | RegExp, limit?: number): string[];
|
502
|
-
(splitter: {
|
503
|
-
[Symbol.split](string: string, limit?: number): string[];
|
504
|
-
}, limit?: number): string[];
|
505
|
-
};
|
506
|
-
substring: (start: number, end?: number) => string;
|
507
|
-
toLowerCase: () => string;
|
508
|
-
toLocaleLowerCase: (locales?: string | string[]) => string;
|
509
|
-
toUpperCase: () => string;
|
510
|
-
toLocaleUpperCase: (locales?: string | string[]) => string;
|
511
|
-
trim: () => string;
|
512
|
-
readonly length: number;
|
513
|
-
substr: (from: number, length?: number) => string;
|
514
|
-
valueOf: () => string;
|
515
|
-
codePointAt: (pos: number) => number;
|
516
|
-
includes: (searchString: string, position?: number) => boolean;
|
517
|
-
endsWith: (searchString: string, endPosition?: number) => boolean;
|
518
|
-
normalize: {
|
519
|
-
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
520
|
-
(form?: string): string;
|
521
|
-
};
|
522
|
-
repeat: (count: number) => string;
|
523
|
-
startsWith: (searchString: string, position?: number) => boolean;
|
524
|
-
anchor: (name: string) => string;
|
525
|
-
big: () => string;
|
526
|
-
blink: () => string;
|
527
|
-
bold: () => string;
|
528
|
-
fixed: () => string;
|
529
|
-
fontcolor: (color: string) => string;
|
530
|
-
fontsize: {
|
531
|
-
(size: number): string;
|
532
|
-
(size: string): string;
|
533
|
-
};
|
534
|
-
italics: () => string;
|
535
|
-
link: (url: string) => string;
|
536
|
-
small: () => string;
|
537
|
-
strike: () => string;
|
538
|
-
sub: () => string;
|
539
|
-
sup: () => string;
|
540
|
-
padStart: (maxLength: number, fillString?: string) => string;
|
541
|
-
padEnd: (maxLength: number, fillString?: string) => string;
|
542
|
-
trimEnd: () => string;
|
543
|
-
trimStart: () => string;
|
544
|
-
trimLeft: () => string;
|
545
|
-
trimRight: () => string;
|
546
|
-
matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
|
547
|
-
[Symbol.iterator]: () => IterableIterator<string>;
|
548
|
-
at: (index: number) => string;
|
330
|
+
render?: import("../../table/src/props").RenderFunctionString;
|
331
|
+
sort?: string | boolean | {
|
332
|
+
sortFn?: Function;
|
333
|
+
sortScope?: import("../../table/src/props").SortScope;
|
334
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
549
335
|
};
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
336
|
+
filter?: string | boolean | {
|
337
|
+
list: any[];
|
338
|
+
filterFn?: Function;
|
339
|
+
match?: import("../../table/src/props").FullEnum;
|
340
|
+
checked?: any[];
|
341
|
+
filterScope?: import("../../table/src/props").SortScope;
|
342
|
+
btnSave?: string | boolean;
|
343
|
+
btnReset?: string | boolean;
|
344
|
+
maxHeight?: number;
|
345
|
+
};
|
346
|
+
type?: "none" | "selection" | "index" | "expand";
|
347
|
+
label?: import("../../table/src/props").LabelFunctionString;
|
348
|
+
width?: string | number;
|
349
|
+
className?: import("../../table/src/props").RowClassFunctionString;
|
350
|
+
align?: "" | "right" | "left" | "center";
|
351
|
+
showOverflowTooltip?: boolean | {
|
352
|
+
content: string | Function;
|
353
|
+
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
354
|
+
watchCellResize?: boolean;
|
355
|
+
mode?: "auto" | "static";
|
356
|
+
popoverOption?: any;
|
357
|
+
resizerWay?: import("../../table/src/props").ResizerWay;
|
358
|
+
};
|
359
|
+
field: import("../../table/src/props").LabelFunctionString;
|
360
|
+
prop?: import("../../table/src/props").LabelFunctionString;
|
554
361
|
};
|
555
362
|
}> & {} & {
|
556
363
|
updateColumnDefine(unmounted?: boolean): void;
|
@@ -561,15 +368,9 @@ declare const BkTableColumn: {
|
|
561
368
|
__isTeleport?: never;
|
562
369
|
__isSuspense?: never;
|
563
370
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
} & {
|
568
|
-
default: number;
|
569
|
-
};
|
570
|
-
label: import("vue-types").VueTypeDef<any>;
|
571
|
-
field: import("vue-types").VueTypeDef<any>;
|
572
|
-
render: import("vue-types").VueTypeDef<any>;
|
371
|
+
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
372
|
+
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
373
|
+
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
573
374
|
width: import("vue-types").VueTypeDef<string | number>;
|
574
375
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
575
376
|
default: string | number;
|
@@ -579,9 +380,7 @@ declare const BkTableColumn: {
|
|
579
380
|
} & {
|
580
381
|
default: string;
|
581
382
|
};
|
582
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
583
|
-
default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
|
584
|
-
};
|
383
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp>;
|
585
384
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
586
385
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
587
386
|
default: boolean;
|
@@ -591,72 +390,49 @@ declare const BkTableColumn: {
|
|
591
390
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
592
391
|
default: boolean | "right" | "left";
|
593
392
|
};
|
594
|
-
sort: import("vue-types").VueTypeDef<
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
});
|
393
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape>;
|
394
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape>;
|
395
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
396
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
397
|
+
column: any;
|
398
|
+
colIndex: any;
|
399
|
+
row: any;
|
400
|
+
rowIndex: any;
|
401
|
+
}) => number) | (() => Number);
|
604
402
|
};
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
613
|
-
}> & {
|
614
|
-
default: string | boolean | (() => {
|
615
|
-
list: any[] | (object & (() => any[]));
|
616
|
-
filterFn: any;
|
617
|
-
match: "full" | "fuzzy";
|
618
|
-
checked: any[] | (object & (() => any[]));
|
619
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
620
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
621
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
622
|
-
});
|
403
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
404
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
405
|
+
column: any;
|
406
|
+
colIndex: any;
|
407
|
+
row: any;
|
408
|
+
rowIndex: any;
|
409
|
+
}) => number) | (() => Number);
|
623
410
|
};
|
624
|
-
colspan: import("vue-types").VueTypeDef<any>;
|
625
|
-
rowspan: import("vue-types").VueTypeDef<any>;
|
626
411
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
627
|
-
className: import("vue-types").VueTypeDef<
|
412
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
413
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
414
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
415
|
+
default: number;
|
416
|
+
} & {
|
417
|
+
default: number;
|
418
|
+
};
|
628
419
|
}>>, {
|
629
|
-
initColumns: (_col: import("../../
|
420
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
630
421
|
bkTableCache: {
|
631
422
|
queueStack: (_: any, fn: any) => any;
|
632
423
|
};
|
633
424
|
column: {
|
634
|
-
|
635
|
-
label: string | Function;
|
636
|
-
render?: string | Function | import("vue").Slot<any>;
|
637
|
-
width?: string | number;
|
425
|
+
fixed?: boolean | "right" | "left";
|
638
426
|
minWidth?: string | number;
|
639
|
-
columnKey?: string;
|
640
|
-
showOverflowTooltip?: boolean | {
|
641
|
-
content: string | Function;
|
642
|
-
disabled?: boolean;
|
643
|
-
watchCellResize?: boolean;
|
644
|
-
mode?: "auto" | "static";
|
645
|
-
};
|
646
|
-
type?: string;
|
647
|
-
fixed?: string | boolean;
|
648
427
|
resizable?: boolean;
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
checked?: any;
|
658
|
-
};
|
659
|
-
colspan?: Function | {
|
428
|
+
index?: number;
|
429
|
+
columnKey?: string;
|
430
|
+
colspan?: (({ column, colIndex, row, rowIndex }: {
|
431
|
+
column: any;
|
432
|
+
colIndex: any;
|
433
|
+
row: any;
|
434
|
+
rowIndex: any;
|
435
|
+
}) => number) | {
|
660
436
|
toString: (radix?: number) => string;
|
661
437
|
toFixed: (fractionDigits?: number) => string;
|
662
438
|
toExponential: (fractionDigits?: number) => string;
|
@@ -667,7 +443,12 @@ declare const BkTableColumn: {
|
|
667
443
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
668
444
|
};
|
669
445
|
};
|
670
|
-
rowspan?:
|
446
|
+
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
447
|
+
column: any;
|
448
|
+
colIndex: any;
|
449
|
+
row: any;
|
450
|
+
rowIndex: any;
|
451
|
+
}) => number) | {
|
671
452
|
toString: (radix?: number) => string;
|
672
453
|
toFixed: (fractionDigits?: number) => string;
|
673
454
|
toExponential: (fractionDigits?: number) => string;
|
@@ -678,120 +459,49 @@ declare const BkTableColumn: {
|
|
678
459
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
679
460
|
};
|
680
461
|
};
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
concat: (...strings: string[]) => string;
|
687
|
-
indexOf: (searchString: string, position?: number) => number;
|
688
|
-
lastIndexOf: (searchString: string, position?: number) => number;
|
689
|
-
localeCompare: {
|
690
|
-
(that: string): number;
|
691
|
-
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
692
|
-
};
|
693
|
-
match: {
|
694
|
-
(regexp: string | RegExp): RegExpMatchArray;
|
695
|
-
(matcher: {
|
696
|
-
[Symbol.match](string: string): RegExpMatchArray;
|
697
|
-
}): RegExpMatchArray;
|
698
|
-
};
|
699
|
-
replace: {
|
700
|
-
(searchValue: string | RegExp, replaceValue: string): string;
|
701
|
-
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
702
|
-
(searchValue: {
|
703
|
-
[Symbol.replace](string: string, replaceValue: string): string;
|
704
|
-
}, replaceValue: string): string;
|
705
|
-
(searchValue: {
|
706
|
-
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
707
|
-
}, replacer: (substring: string, ...args: any[]) => string): string;
|
708
|
-
};
|
709
|
-
search: {
|
710
|
-
(regexp: string | RegExp): number;
|
711
|
-
(searcher: {
|
712
|
-
[Symbol.search](string: string): number;
|
713
|
-
}): number;
|
714
|
-
};
|
715
|
-
slice: (start?: number, end?: number) => string;
|
716
|
-
split: {
|
717
|
-
(separator: string | RegExp, limit?: number): string[];
|
718
|
-
(splitter: {
|
719
|
-
[Symbol.split](string: string, limit?: number): string[];
|
720
|
-
}, limit?: number): string[];
|
721
|
-
};
|
722
|
-
substring: (start: number, end?: number) => string;
|
723
|
-
toLowerCase: () => string;
|
724
|
-
toLocaleLowerCase: (locales?: string | string[]) => string;
|
725
|
-
toUpperCase: () => string;
|
726
|
-
toLocaleUpperCase: (locales?: string | string[]) => string;
|
727
|
-
trim: () => string;
|
728
|
-
readonly length: number;
|
729
|
-
substr: (from: number, length?: number) => string;
|
730
|
-
valueOf: () => string;
|
731
|
-
codePointAt: (pos: number) => number;
|
732
|
-
includes: (searchString: string, position?: number) => boolean;
|
733
|
-
endsWith: (searchString: string, endPosition?: number) => boolean;
|
734
|
-
normalize: {
|
735
|
-
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
736
|
-
(form?: string): string;
|
737
|
-
};
|
738
|
-
repeat: (count: number) => string;
|
739
|
-
startsWith: (searchString: string, position?: number) => boolean;
|
740
|
-
anchor: (name: string) => string;
|
741
|
-
big: () => string;
|
742
|
-
blink: () => string;
|
743
|
-
bold: () => string;
|
744
|
-
fixed: () => string;
|
745
|
-
fontcolor: (color: string) => string;
|
746
|
-
fontsize: {
|
747
|
-
(size: number): string;
|
748
|
-
(size: string): string;
|
749
|
-
};
|
750
|
-
italics: () => string;
|
751
|
-
link: (url: string) => string;
|
752
|
-
small: () => string;
|
753
|
-
strike: () => string;
|
754
|
-
sub: () => string;
|
755
|
-
sup: () => string;
|
756
|
-
padStart: (maxLength: number, fillString?: string) => string;
|
757
|
-
padEnd: (maxLength: number, fillString?: string) => string;
|
758
|
-
trimEnd: () => string;
|
759
|
-
trimStart: () => string;
|
760
|
-
trimLeft: () => string;
|
761
|
-
trimRight: () => string;
|
762
|
-
matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
|
763
|
-
[Symbol.iterator]: () => IterableIterator<string>;
|
764
|
-
at: (index: number) => string;
|
462
|
+
render?: import("../../table/src/props").RenderFunctionString;
|
463
|
+
sort?: string | boolean | {
|
464
|
+
sortFn?: Function;
|
465
|
+
sortScope?: import("../../table/src/props").SortScope;
|
466
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
765
467
|
};
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
468
|
+
filter?: string | boolean | {
|
469
|
+
list: any[];
|
470
|
+
filterFn?: Function;
|
471
|
+
match?: import("../../table/src/props").FullEnum;
|
472
|
+
checked?: any[];
|
473
|
+
filterScope?: import("../../table/src/props").SortScope;
|
474
|
+
btnSave?: string | boolean;
|
475
|
+
btnReset?: string | boolean;
|
476
|
+
maxHeight?: number;
|
477
|
+
};
|
478
|
+
type?: "none" | "selection" | "index" | "expand";
|
479
|
+
label?: import("../../table/src/props").LabelFunctionString;
|
480
|
+
width?: string | number;
|
481
|
+
className?: import("../../table/src/props").RowClassFunctionString;
|
482
|
+
align?: "" | "right" | "left" | "center";
|
483
|
+
showOverflowTooltip?: boolean | {
|
484
|
+
content: string | Function;
|
485
|
+
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
486
|
+
watchCellResize?: boolean;
|
487
|
+
mode?: "auto" | "static";
|
488
|
+
popoverOption?: any;
|
489
|
+
resizerWay?: import("../../table/src/props").ResizerWay;
|
490
|
+
};
|
491
|
+
field: import("../../table/src/props").LabelFunctionString;
|
492
|
+
prop?: import("../../table/src/props").LabelFunctionString;
|
770
493
|
};
|
771
494
|
}, unknown, {}, {
|
772
495
|
updateColumnDefine(unmounted?: boolean): void;
|
773
496
|
updateColumnDefineByParent(): void;
|
774
497
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
775
498
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
776
|
-
sort: string | boolean | {
|
777
|
-
sortFn: any;
|
778
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
779
|
-
value: string;
|
780
|
-
};
|
781
|
-
filter: string | boolean | {
|
782
|
-
list: any[] | (object & (() => any[]));
|
783
|
-
filterFn: any;
|
784
|
-
match: "full" | "fuzzy";
|
785
|
-
checked: any[] | (object & (() => any[]));
|
786
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
787
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
788
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
789
|
-
};
|
790
499
|
fixed: boolean | "right" | "left";
|
791
500
|
minWidth: string | number;
|
501
|
+
resizable: boolean;
|
792
502
|
index: number;
|
793
503
|
columnKey: string;
|
794
|
-
|
795
|
-
|
504
|
+
colspan: import("../../table/src/props").SpanFunctionString;
|
505
|
+
rowspan: import("../../table/src/props").SpanFunctionString;
|
796
506
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
797
507
|
export default BkTableColumn;
|