bkui-vue 0.0.2-beta.2 → 0.0.2-beta.20
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 +65 -65
- package/dist/index.esm.js +16959 -16663
- package/dist/index.umd.js +63 -63
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +1 -1
- package/lib/alert/alert.css +1 -0
- package/lib/alert/alert.less +119 -119
- package/lib/alert/alert.variable.css +1 -0
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.d.ts +1 -0
- package/lib/badge/index.d.ts +3 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/index.d.ts +4 -4
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/index.d.ts +2 -2
- package/lib/button/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.d.ts +2 -12
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/index.d.ts +7 -18
- package/lib/cascader/index.js +1 -1
- package/lib/checkbox/checkbox-group.d.ts +3 -1
- package/lib/checkbox/checkbox.d.ts +8 -8
- package/lib/checkbox/index.d.ts +15 -13
- package/lib/checkbox/index.js +1 -1
- package/lib/collapse-transition/collapse-transition.d.ts +1 -0
- package/lib/collapse-transition/index.js +1 -1
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +3 -3
- package/lib/color-picker/index.js +1 -1
- package/lib/components.d.ts +1 -1
- package/lib/container/index.js +1 -1
- package/lib/date-picker/base/confirm.d.ts +1 -0
- package/lib/date-picker/base/date-table.d.ts +1 -0
- package/lib/date-picker/base/month-table.d.ts +1 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -0
- package/lib/date-picker/base/time-spinner.d.ts +2 -1
- package/lib/date-picker/base/year-table.d.ts +1 -0
- package/lib/date-picker/date-picker.d.ts +3 -2
- package/lib/date-picker/index.d.ts +9 -6
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/panel/date-range.d.ts +1 -0
- package/lib/date-picker/panel/date.d.ts +1 -0
- package/lib/date-picker/panel/time-range.d.ts +3 -2
- package/lib/date-picker/panel/time.d.ts +3 -2
- package/lib/date-picker/time-picker.d.ts +3 -2
- package/lib/dialog/dialog.d.ts +4 -3
- package/lib/dialog/index.d.ts +10 -7
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/props.d.ts +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +1 -0
- package/lib/divider/divider.less +3 -4
- package/lib/divider/index.js +1 -1
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +5 -5
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/image/image-viewer.less +5 -3
- package/lib/image/image-viewer.variable.css +122 -0
- package/lib/image/image.css +142 -0
- package/lib/image/image.d.ts +0 -1
- package/lib/image/image.less +4 -1
- package/lib/image/image.variable.css +264 -0
- package/lib/image/index.js +1 -1
- package/lib/info-box/index.js +1 -1
- package/lib/input/index.d.ts +74 -56
- package/lib/input/index.js +1 -1
- package/lib/input/input.css +12 -0
- package/lib/input/input.d.ts +29 -13
- package/lib/input/input.less +26 -5
- package/lib/input/input.variable.css +12 -0
- package/lib/link/index.d.ts +3 -0
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +1 -0
- package/lib/loading/index.js +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +16 -8
- package/lib/message/message.less +66 -56
- package/lib/message/message.variable.css +16 -8
- package/lib/message/messageConstructor.d.ts +9 -6
- package/lib/modal/index.d.ts +8 -8
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +3 -3
- package/lib/modal/props.mixin.d.ts +1 -1
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/pagination/index.d.ts +7 -7
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.d.ts +4 -4
- package/lib/plugin-popover/index.js +1 -1
- package/lib/pop-confirm/index.js +1 -1
- package/lib/pop-confirm/pop-confirm.less +9 -8
- package/lib/popover/const.d.ts +22 -9
- package/lib/popover/content.d.ts +1 -0
- package/lib/popover/index.d.ts +84 -57
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.d.ts +26 -23
- package/lib/popover/props.d.ts +5 -5
- package/lib/popover/use-floating.d.ts +1 -1
- package/lib/progress/index.d.ts +7 -7
- package/lib/progress/progress.d.ts +4 -4
- package/lib/radio/index.d.ts +3 -3
- package/lib/radio/radio-button.d.ts +3 -3
- package/lib/radio/radio-group.d.ts +1 -1
- package/lib/radio/radio.less +1 -1
- package/lib/rate/index.d.ts +4 -4
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +2 -2
- package/lib/rate/rate.less +5 -3
- package/lib/rate/rate.variable.css +122 -0
- package/lib/rate/star.less +6 -4
- package/lib/rate/star.variable.css +122 -0
- package/lib/resize-layout/index.js +1 -1
- package/lib/search-select/index.d.ts +3 -0
- package/lib/search-select/index.js +1 -1
- package/lib/search-select/search-select.d.ts +1 -0
- package/lib/search-select/utils.d.ts +1 -0
- package/lib/select/index.d.ts +26 -39
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +1 -0
- package/lib/select/optionGroup.d.ts +1 -0
- package/lib/select/select.d.ts +11 -20
- package/lib/select/selectTagInput.d.ts +1 -0
- 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/vue-types.d.ts +2 -2
- package/lib/sideslider/index.d.ts +7 -7
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.d.ts +3 -3
- package/lib/slider/index.js +1 -1
- package/lib/slider/slider.less +6 -6
- package/lib/steps/index.d.ts +7 -7
- package/lib/steps/index.js +1 -1
- package/lib/steps/steps.d.ts +4 -4
- package/lib/styles/index.d.ts +2 -0
- package/lib/styles/mixins/popper.less +6 -5
- package/lib/styles/reset.less +4 -2
- package/lib/styles/reset.variable.css +122 -0
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/tab/index.d.ts +3 -0
- package/lib/tab/index.js +1 -1
- package/lib/tab/tab-nav.d.ts +1 -0
- package/lib/tab/tab.d.ts +1 -0
- package/lib/table/components/table-cell.d.ts +15 -6
- package/lib/table/components/table-column.d.ts +136 -228
- package/lib/table/const.d.ts +17 -55
- package/lib/table/events.d.ts +180 -0
- package/lib/table/index.d.ts +697 -440
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.d.ts +6 -5
- package/lib/table/plugins/head-filter.less +5 -7
- package/lib/table/plugins/head-sort.d.ts +6 -5
- package/lib/table/plugins/settings.d.ts +8 -12
- package/lib/table/plugins/settings.less +3 -3
- package/lib/table/plugins/use-fixed-column.d.ts +3 -2
- package/lib/table/props.d.ts +185 -169
- package/lib/table/render.d.ts +6 -4
- package/lib/table/table.css +11 -1
- package/lib/table/table.d.ts +202 -91
- package/lib/table/table.less +26 -1
- package/lib/table/table.variable.css +11 -1
- package/lib/table/use-column.d.ts +51 -1
- package/lib/table/use-common.d.ts +13 -9
- package/lib/table/utils.d.ts +1 -0
- package/lib/table-column/index.d.ts +182 -562
- package/lib/table-column/index.js +1 -1
- package/lib/tag-input/index.d.ts +15 -27
- package/lib/tag-input/tag-input.css +1 -1
- package/lib/tag-input/tag-input.d.ts +8 -16
- package/lib/tag-input/tag-input.less +4 -4
- package/lib/tag-input/tag-input.variable.css +1 -1
- package/lib/tag-input/tag-props.d.ts +3 -7
- package/lib/time-picker/index.d.ts +9 -6
- package/lib/time-picker/time-picker.less +39 -39
- package/lib/tree/index.d.ts +3 -3
- package/lib/tree/index.js +1 -1
- package/lib/tree/tree.d.ts +1 -1
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/virtual-render.less +5 -6
- package/package.json +1 -1
@@ -3,30 +3,20 @@ declare const BkTableColumn: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: {
|
6
|
-
sort?:
|
7
|
-
|
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
|
-
};
|
6
|
+
sort?: import("../../table/src/props").ISortPropShape;
|
7
|
+
filter?: import("../../table/src/props").IFilterPropShape;
|
20
8
|
fixed?: boolean | "right" | "left";
|
21
9
|
minWidth?: string | number;
|
22
10
|
index?: number;
|
23
11
|
columnKey?: string;
|
24
|
-
showOverflowTooltip?:
|
12
|
+
showOverflowTooltip?: import("../../table/src/props").IOverflowTooltipProp;
|
25
13
|
resizable?: boolean;
|
14
|
+
colspan?: import("../../table/src/props").SpanFunctionString;
|
15
|
+
rowspan?: import("../../table/src/props").SpanFunctionString;
|
16
|
+
readonly render?: import("../../table/src/props").RenderFunctionString;
|
26
17
|
readonly type?: "none" | "selection" | "index" | "expand";
|
27
|
-
readonly render?: any;
|
28
18
|
class?: unknown;
|
29
|
-
readonly label?:
|
19
|
+
readonly label?: import("../../table/src/props").LabelFunctionString;
|
30
20
|
style?: unknown;
|
31
21
|
readonly width?: string | number;
|
32
22
|
key?: string | number | symbol;
|
@@ -71,12 +61,10 @@ declare const BkTableColumn: {
|
|
71
61
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
72
62
|
[key: string]: any;
|
73
63
|
}>) => void)[];
|
74
|
-
readonly className?:
|
64
|
+
readonly className?: import("../../table/src/props").RowClassFunctionString;
|
75
65
|
readonly align?: "" | "right" | "left" | "center";
|
76
|
-
readonly field?:
|
77
|
-
readonly
|
78
|
-
readonly rowspan?: any;
|
79
|
-
readonly prop?: any;
|
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,8 +92,13 @@ declare const BkTableColumn: {
|
|
110
92
|
} & {
|
111
93
|
default: string;
|
112
94
|
};
|
113
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
114
|
-
default: boolean | (() =>
|
95
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
96
|
+
default: boolean | (() => {
|
97
|
+
content: string | Function;
|
98
|
+
disabled?: boolean;
|
99
|
+
watchCellResize?: boolean;
|
100
|
+
mode?: "auto" | "static";
|
101
|
+
});
|
115
102
|
};
|
116
103
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
117
104
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -122,51 +109,50 @@ declare const BkTableColumn: {
|
|
122
109
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
123
110
|
default: boolean | "right" | "left";
|
124
111
|
};
|
125
|
-
sort: import("vue-types").VueTypeDef<
|
126
|
-
|
127
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
128
|
-
value: string;
|
129
|
-
}> & {
|
130
|
-
default: string | boolean | (() => {
|
131
|
-
sortFn: any;
|
132
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
133
|
-
value: string;
|
134
|
-
});
|
112
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
113
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
135
114
|
};
|
136
|
-
filter: import("vue-types").VueTypeDef<
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
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
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
116
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
117
|
+
};
|
118
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
119
|
+
default: import("../../table/src/props").SpanFunctionString;
|
120
|
+
};
|
121
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
122
|
+
default: import("../../table/src/props").SpanFunctionString;
|
154
123
|
};
|
155
|
-
colspan: import("vue-types").VueTypeDef<any>;
|
156
|
-
rowspan: import("vue-types").VueTypeDef<any>;
|
157
124
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
158
|
-
className: import("vue-types").VueTypeDef<
|
125
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
126
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
127
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
128
|
+
default: number;
|
129
|
+
} & {
|
130
|
+
default: number;
|
131
|
+
};
|
159
132
|
}>>, {
|
160
|
-
initColumns: (_col: import("../../
|
133
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
161
134
|
bkTableCache: {
|
162
135
|
queueStack: (_: any, fn: any) => any;
|
163
136
|
};
|
164
137
|
column: {
|
165
|
-
field:
|
166
|
-
|
167
|
-
|
168
|
-
|
138
|
+
field: import("../../table/src/props").LabelFunctionString;
|
139
|
+
sort?: string | boolean | {
|
140
|
+
sortFn?: Function;
|
141
|
+
sortScope?: import("../../table/src/props").SortScope;
|
142
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
143
|
+
};
|
144
|
+
filter?: string | boolean | {
|
145
|
+
list: any[];
|
146
|
+
filterFn?: Function;
|
147
|
+
match?: import("../../table/src/props").FullEnum;
|
148
|
+
checked?: any[];
|
149
|
+
filterScope?: import("../../table/src/props").SortScope;
|
150
|
+
btnSave?: string | boolean;
|
151
|
+
btnReset?: string | boolean;
|
152
|
+
};
|
153
|
+
fixed?: boolean | "right" | "left";
|
169
154
|
minWidth?: string | number;
|
155
|
+
index?: number;
|
170
156
|
columnKey?: string;
|
171
157
|
showOverflowTooltip?: boolean | {
|
172
158
|
content: string | Function;
|
@@ -174,156 +160,32 @@ declare const BkTableColumn: {
|
|
174
160
|
watchCellResize?: boolean;
|
175
161
|
mode?: "auto" | "static";
|
176
162
|
};
|
177
|
-
type?: string;
|
178
|
-
fixed?: string | boolean;
|
179
163
|
resizable?: boolean;
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
};
|
190
|
-
colspan?: Function | {
|
191
|
-
toString: (radix?: number) => string;
|
192
|
-
toFixed: (fractionDigits?: number) => string;
|
193
|
-
toExponential: (fractionDigits?: number) => string;
|
194
|
-
toPrecision: (precision?: number) => string;
|
195
|
-
valueOf: () => number;
|
196
|
-
toLocaleString: {
|
197
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
198
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
199
|
-
};
|
200
|
-
};
|
201
|
-
rowspan?: Function | {
|
202
|
-
toString: (radix?: number) => string;
|
203
|
-
toFixed: (fractionDigits?: number) => string;
|
204
|
-
toExponential: (fractionDigits?: number) => string;
|
205
|
-
toPrecision: (precision?: number) => string;
|
206
|
-
valueOf: () => number;
|
207
|
-
toLocaleString: {
|
208
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
209
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
210
|
-
};
|
211
|
-
};
|
212
|
-
textAlign?: {
|
213
|
-
[x: number]: string;
|
214
|
-
toString: () => string;
|
215
|
-
charAt: (pos: number) => string;
|
216
|
-
charCodeAt: (index: number) => number;
|
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;
|
296
|
-
};
|
297
|
-
className?: string | Function;
|
298
|
-
align?: string;
|
299
|
-
prop?: string | Function;
|
300
|
-
index?: number;
|
164
|
+
colspan?: import("../../table/src/props").SpanFunctionString;
|
165
|
+
rowspan?: import("../../table/src/props").SpanFunctionString;
|
166
|
+
render?: import("../../table/src/props").RenderFunctionString;
|
167
|
+
type?: "none" | "selection" | "index" | "expand";
|
168
|
+
label?: import("../../table/src/props").LabelFunctionString;
|
169
|
+
width?: string | number;
|
170
|
+
className?: import("../../table/src/props").RowClassFunctionString;
|
171
|
+
align?: "" | "right" | "left" | "center";
|
172
|
+
prop?: import("../../table/src/props").LabelFunctionString;
|
301
173
|
};
|
302
174
|
}, unknown, {}, {
|
303
175
|
updateColumnDefine(unmounted?: boolean): void;
|
304
176
|
updateColumnDefineByParent(): void;
|
305
177
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
306
178
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
307
|
-
sort:
|
308
|
-
|
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
|
-
};
|
179
|
+
sort: import("../../table/src/props").ISortPropShape;
|
180
|
+
filter: import("../../table/src/props").IFilterPropShape;
|
321
181
|
fixed: boolean | "right" | "left";
|
322
182
|
minWidth: string | number;
|
323
183
|
index: number;
|
324
184
|
columnKey: string;
|
325
|
-
showOverflowTooltip:
|
185
|
+
showOverflowTooltip: import("../../table/src/props").IOverflowTooltipProp;
|
326
186
|
resizable: boolean;
|
187
|
+
colspan: import("../../table/src/props").SpanFunctionString;
|
188
|
+
rowspan: import("../../table/src/props").SpanFunctionString;
|
327
189
|
}, {}, string, {}> & {
|
328
190
|
beforeCreate?: (() => void) | (() => void)[];
|
329
191
|
created?: (() => void) | (() => void)[];
|
@@ -345,15 +207,9 @@ declare const BkTableColumn: {
|
|
345
207
|
$nextTick: typeof import("vue").nextTick;
|
346
208
|
$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
209
|
} & 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>;
|
210
|
+
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
211
|
+
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
212
|
+
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
357
213
|
width: import("vue-types").VueTypeDef<string | number>;
|
358
214
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
359
215
|
default: string | number;
|
@@ -363,8 +219,13 @@ declare const BkTableColumn: {
|
|
363
219
|
} & {
|
364
220
|
default: string;
|
365
221
|
};
|
366
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
367
|
-
default: boolean | (() =>
|
222
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
223
|
+
default: boolean | (() => {
|
224
|
+
content: string | Function;
|
225
|
+
disabled?: boolean;
|
226
|
+
watchCellResize?: boolean;
|
227
|
+
mode?: "auto" | "static";
|
228
|
+
});
|
368
229
|
};
|
369
230
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
370
231
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -375,51 +236,50 @@ declare const BkTableColumn: {
|
|
375
236
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
376
237
|
default: boolean | "right" | "left";
|
377
238
|
};
|
378
|
-
sort: import("vue-types").VueTypeDef<
|
379
|
-
|
380
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
381
|
-
value: string;
|
382
|
-
}> & {
|
383
|
-
default: string | boolean | (() => {
|
384
|
-
sortFn: any;
|
385
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
386
|
-
value: string;
|
387
|
-
});
|
239
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
240
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
388
241
|
};
|
389
|
-
filter: import("vue-types").VueTypeDef<
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
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
|
-
});
|
242
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
243
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
244
|
+
};
|
245
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
246
|
+
default: import("../../table/src/props").SpanFunctionString;
|
247
|
+
};
|
248
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
249
|
+
default: import("../../table/src/props").SpanFunctionString;
|
407
250
|
};
|
408
|
-
colspan: import("vue-types").VueTypeDef<any>;
|
409
|
-
rowspan: import("vue-types").VueTypeDef<any>;
|
410
251
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
411
|
-
className: import("vue-types").VueTypeDef<
|
252
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
253
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
254
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
255
|
+
default: number;
|
256
|
+
} & {
|
257
|
+
default: number;
|
258
|
+
};
|
412
259
|
}>> & import("vue").ShallowUnwrapRef<{
|
413
|
-
initColumns: (_col: import("../../
|
260
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
414
261
|
bkTableCache: {
|
415
262
|
queueStack: (_: any, fn: any) => any;
|
416
263
|
};
|
417
264
|
column: {
|
418
|
-
field:
|
419
|
-
|
420
|
-
|
421
|
-
|
265
|
+
field: import("../../table/src/props").LabelFunctionString;
|
266
|
+
sort?: string | boolean | {
|
267
|
+
sortFn?: Function;
|
268
|
+
sortScope?: import("../../table/src/props").SortScope;
|
269
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
270
|
+
};
|
271
|
+
filter?: string | boolean | {
|
272
|
+
list: any[];
|
273
|
+
filterFn?: Function;
|
274
|
+
match?: import("../../table/src/props").FullEnum;
|
275
|
+
checked?: any[];
|
276
|
+
filterScope?: import("../../table/src/props").SortScope;
|
277
|
+
btnSave?: string | boolean;
|
278
|
+
btnReset?: string | boolean;
|
279
|
+
};
|
280
|
+
fixed?: boolean | "right" | "left";
|
422
281
|
minWidth?: string | number;
|
282
|
+
index?: number;
|
423
283
|
columnKey?: string;
|
424
284
|
showOverflowTooltip?: boolean | {
|
425
285
|
content: string | Function;
|
@@ -427,130 +287,16 @@ declare const BkTableColumn: {
|
|
427
287
|
watchCellResize?: boolean;
|
428
288
|
mode?: "auto" | "static";
|
429
289
|
};
|
430
|
-
type?: string;
|
431
|
-
fixed?: string | boolean;
|
432
290
|
resizable?: boolean;
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
};
|
443
|
-
colspan?: Function | {
|
444
|
-
toString: (radix?: number) => string;
|
445
|
-
toFixed: (fractionDigits?: number) => string;
|
446
|
-
toExponential: (fractionDigits?: number) => string;
|
447
|
-
toPrecision: (precision?: number) => string;
|
448
|
-
valueOf: () => number;
|
449
|
-
toLocaleString: {
|
450
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
451
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
452
|
-
};
|
453
|
-
};
|
454
|
-
rowspan?: Function | {
|
455
|
-
toString: (radix?: number) => string;
|
456
|
-
toFixed: (fractionDigits?: number) => string;
|
457
|
-
toExponential: (fractionDigits?: number) => string;
|
458
|
-
toPrecision: (precision?: number) => string;
|
459
|
-
valueOf: () => number;
|
460
|
-
toLocaleString: {
|
461
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
462
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
463
|
-
};
|
464
|
-
};
|
465
|
-
textAlign?: {
|
466
|
-
[x: number]: string;
|
467
|
-
toString: () => string;
|
468
|
-
charAt: (pos: number) => string;
|
469
|
-
charCodeAt: (index: number) => number;
|
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;
|
549
|
-
};
|
550
|
-
className?: string | Function;
|
551
|
-
align?: string;
|
552
|
-
prop?: string | Function;
|
553
|
-
index?: number;
|
291
|
+
colspan?: import("../../table/src/props").SpanFunctionString;
|
292
|
+
rowspan?: import("../../table/src/props").SpanFunctionString;
|
293
|
+
render?: import("../../table/src/props").RenderFunctionString;
|
294
|
+
type?: "none" | "selection" | "index" | "expand";
|
295
|
+
label?: import("../../table/src/props").LabelFunctionString;
|
296
|
+
width?: string | number;
|
297
|
+
className?: import("../../table/src/props").RowClassFunctionString;
|
298
|
+
align?: "" | "right" | "left" | "center";
|
299
|
+
prop?: import("../../table/src/props").LabelFunctionString;
|
554
300
|
};
|
555
301
|
}> & {} & {
|
556
302
|
updateColumnDefine(unmounted?: boolean): void;
|
@@ -561,15 +307,9 @@ declare const BkTableColumn: {
|
|
561
307
|
__isTeleport?: never;
|
562
308
|
__isSuspense?: never;
|
563
309
|
} & 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>;
|
310
|
+
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
311
|
+
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
312
|
+
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
573
313
|
width: import("vue-types").VueTypeDef<string | number>;
|
574
314
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
575
315
|
default: string | number;
|
@@ -579,8 +319,13 @@ declare const BkTableColumn: {
|
|
579
319
|
} & {
|
580
320
|
default: string;
|
581
321
|
};
|
582
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
583
|
-
default: boolean | (() =>
|
322
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
323
|
+
default: boolean | (() => {
|
324
|
+
content: string | Function;
|
325
|
+
disabled?: boolean;
|
326
|
+
watchCellResize?: boolean;
|
327
|
+
mode?: "auto" | "static";
|
328
|
+
});
|
584
329
|
};
|
585
330
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
586
331
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -591,51 +336,50 @@ declare const BkTableColumn: {
|
|
591
336
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
592
337
|
default: boolean | "right" | "left";
|
593
338
|
};
|
594
|
-
sort: import("vue-types").VueTypeDef<
|
595
|
-
|
596
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
597
|
-
value: string;
|
598
|
-
}> & {
|
599
|
-
default: string | boolean | (() => {
|
600
|
-
sortFn: any;
|
601
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
602
|
-
value: string;
|
603
|
-
});
|
339
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
340
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
604
341
|
};
|
605
|
-
filter: import("vue-types").VueTypeDef<
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
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
|
-
});
|
342
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
343
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
344
|
+
};
|
345
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
346
|
+
default: import("../../table/src/props").SpanFunctionString;
|
347
|
+
};
|
348
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
349
|
+
default: import("../../table/src/props").SpanFunctionString;
|
623
350
|
};
|
624
|
-
colspan: import("vue-types").VueTypeDef<any>;
|
625
|
-
rowspan: import("vue-types").VueTypeDef<any>;
|
626
351
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
627
|
-
className: import("vue-types").VueTypeDef<
|
352
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
353
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
354
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
355
|
+
default: number;
|
356
|
+
} & {
|
357
|
+
default: number;
|
358
|
+
};
|
628
359
|
}>>, {
|
629
|
-
initColumns: (_col: import("../../
|
360
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
630
361
|
bkTableCache: {
|
631
362
|
queueStack: (_: any, fn: any) => any;
|
632
363
|
};
|
633
364
|
column: {
|
634
|
-
field:
|
635
|
-
|
636
|
-
|
637
|
-
|
365
|
+
field: import("../../table/src/props").LabelFunctionString;
|
366
|
+
sort?: string | boolean | {
|
367
|
+
sortFn?: Function;
|
368
|
+
sortScope?: import("../../table/src/props").SortScope;
|
369
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
370
|
+
};
|
371
|
+
filter?: string | boolean | {
|
372
|
+
list: any[];
|
373
|
+
filterFn?: Function;
|
374
|
+
match?: import("../../table/src/props").FullEnum;
|
375
|
+
checked?: any[];
|
376
|
+
filterScope?: import("../../table/src/props").SortScope;
|
377
|
+
btnSave?: string | boolean;
|
378
|
+
btnReset?: string | boolean;
|
379
|
+
};
|
380
|
+
fixed?: boolean | "right" | "left";
|
638
381
|
minWidth?: string | number;
|
382
|
+
index?: number;
|
639
383
|
columnKey?: string;
|
640
384
|
showOverflowTooltip?: boolean | {
|
641
385
|
content: string | Function;
|
@@ -643,155 +387,31 @@ declare const BkTableColumn: {
|
|
643
387
|
watchCellResize?: boolean;
|
644
388
|
mode?: "auto" | "static";
|
645
389
|
};
|
646
|
-
type?: string;
|
647
|
-
fixed?: string | boolean;
|
648
390
|
resizable?: boolean;
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
};
|
659
|
-
colspan?: Function | {
|
660
|
-
toString: (radix?: number) => string;
|
661
|
-
toFixed: (fractionDigits?: number) => string;
|
662
|
-
toExponential: (fractionDigits?: number) => string;
|
663
|
-
toPrecision: (precision?: number) => string;
|
664
|
-
valueOf: () => number;
|
665
|
-
toLocaleString: {
|
666
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
667
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
668
|
-
};
|
669
|
-
};
|
670
|
-
rowspan?: Function | {
|
671
|
-
toString: (radix?: number) => string;
|
672
|
-
toFixed: (fractionDigits?: number) => string;
|
673
|
-
toExponential: (fractionDigits?: number) => string;
|
674
|
-
toPrecision: (precision?: number) => string;
|
675
|
-
valueOf: () => number;
|
676
|
-
toLocaleString: {
|
677
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
678
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
679
|
-
};
|
680
|
-
};
|
681
|
-
textAlign?: {
|
682
|
-
[x: number]: string;
|
683
|
-
toString: () => string;
|
684
|
-
charAt: (pos: number) => string;
|
685
|
-
charCodeAt: (index: number) => number;
|
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;
|
765
|
-
};
|
766
|
-
className?: string | Function;
|
767
|
-
align?: string;
|
768
|
-
prop?: string | Function;
|
769
|
-
index?: number;
|
391
|
+
colspan?: import("../../table/src/props").SpanFunctionString;
|
392
|
+
rowspan?: import("../../table/src/props").SpanFunctionString;
|
393
|
+
render?: import("../../table/src/props").RenderFunctionString;
|
394
|
+
type?: "none" | "selection" | "index" | "expand";
|
395
|
+
label?: import("../../table/src/props").LabelFunctionString;
|
396
|
+
width?: string | number;
|
397
|
+
className?: import("../../table/src/props").RowClassFunctionString;
|
398
|
+
align?: "" | "right" | "left" | "center";
|
399
|
+
prop?: import("../../table/src/props").LabelFunctionString;
|
770
400
|
};
|
771
401
|
}, unknown, {}, {
|
772
402
|
updateColumnDefine(unmounted?: boolean): void;
|
773
403
|
updateColumnDefineByParent(): void;
|
774
404
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
775
405
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
776
|
-
sort:
|
777
|
-
|
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
|
-
};
|
406
|
+
sort: import("../../table/src/props").ISortPropShape;
|
407
|
+
filter: import("../../table/src/props").IFilterPropShape;
|
790
408
|
fixed: boolean | "right" | "left";
|
791
409
|
minWidth: string | number;
|
792
410
|
index: number;
|
793
411
|
columnKey: string;
|
794
|
-
showOverflowTooltip:
|
412
|
+
showOverflowTooltip: import("../../table/src/props").IOverflowTooltipProp;
|
795
413
|
resizable: boolean;
|
414
|
+
colspan: import("../../table/src/props").SpanFunctionString;
|
415
|
+
rowspan: import("../../table/src/props").SpanFunctionString;
|
796
416
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
797
417
|
export default BkTableColumn;
|