bkui-vue 0.0.2-beta.8 → 0.0.2-beta.9
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 +54 -54
- package/dist/index.esm.js +7444 -7497
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/components.d.ts +1 -1
- package/lib/container/index.js +1 -1
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +5 -5
- package/lib/message/index.js +1 -1
- package/lib/message/messageConstructor.d.ts +5 -4
- package/lib/plugin-popover/index.js +1 -1
- package/lib/popover/const.d.ts +22 -9
- package/lib/popover/index.d.ts +80 -45
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.d.ts +24 -16
- package/lib/popover/props.d.ts +4 -2
- package/lib/popover/use-floating.d.ts +1 -1
- package/lib/select/index.d.ts +0 -12
- package/lib/select/select.d.ts +0 -6
- package/lib/styles/mixins/clearfix.less +0 -10
- package/lib/styles/mixins/clearfix.variable.css +0 -8
- package/lib/table/components/table-cell.d.ts +15 -6
- package/lib/table/components/table-column.d.ts +108 -215
- package/lib/table/const.d.ts +16 -54
- package/lib/table/events.d.ts +180 -0
- package/lib/table/index.d.ts +746 -425
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.d.ts +3 -7
- package/lib/table/plugins/head-sort.d.ts +3 -7
- package/lib/table/plugins/settings.d.ts +8 -12
- package/lib/table/plugins/use-fixed-column.d.ts +3 -2
- package/lib/table/props.d.ts +146 -167
- package/lib/table/render.d.ts +6 -4
- package/lib/table/table.css +13 -2
- package/lib/table/table.d.ts +192 -92
- package/lib/table/table.less +34 -2
- package/lib/table/table.variable.css +13 -2
- package/lib/table/use-column.d.ts +47 -1
- package/lib/table/use-common.d.ts +22 -9
- package/lib/table/utils.d.ts +1 -0
- package/lib/table-column/index.d.ts +417 -537
- package/lib/table-column/index.js +1 -1
- package/lib/tag-input/index.d.ts +0 -6
- package/lib/tag-input/tag-input.d.ts +0 -4
- package/lib/tag-input/tag-props.d.ts +0 -2
- package/package.json +1 -1
- package/lib/styles/mixins/clearfix.css +0 -8
- package/lib/styles/mixins/mixins.css +0 -72
- package/lib/styles/mixins/mixins.less +0 -5
- package/lib/styles/mixins/mixins.variable.css +0 -72
@@ -3,25 +3,13 @@ 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;
|
26
14
|
readonly render?: any;
|
27
15
|
readonly type?: "none" | "selection" | "index" | "expand";
|
@@ -92,12 +80,6 @@ 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
|
-
prop: import("vue-types").VueTypeDef<any>;
|
96
|
-
index: import("vue-types").VueTypeValidableDef<number> & {
|
97
|
-
default: number;
|
98
|
-
} & {
|
99
|
-
default: number;
|
100
|
-
};
|
101
83
|
label: import("vue-types").VueTypeDef<any>;
|
102
84
|
field: import("vue-types").VueTypeDef<any>;
|
103
85
|
render: import("vue-types").VueTypeDef<any>;
|
@@ -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,138 @@ 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
|
-
filterFn: any;
|
139
|
-
match: "full" | "fuzzy";
|
140
|
-
checked: any[] | (object & (() => any[]));
|
141
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
142
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
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
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
116
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
154
117
|
};
|
155
118
|
colspan: import("vue-types").VueTypeDef<any>;
|
156
119
|
rowspan: import("vue-types").VueTypeDef<any>;
|
157
120
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
158
121
|
className: import("vue-types").VueTypeDef<any>;
|
122
|
+
prop: import("vue-types").VueTypeDef<any>;
|
123
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
124
|
+
default: number;
|
125
|
+
} & {
|
126
|
+
default: number;
|
127
|
+
};
|
159
128
|
}>>, {
|
160
|
-
initColumns: (_col: import("
|
129
|
+
initColumns: (_col: Partial<import("vue").ExtractPropTypes<{
|
130
|
+
label: import("vue-types").VueTypeDef<any>;
|
131
|
+
field: import("vue-types").VueTypeDef<any>;
|
132
|
+
render: import("vue-types").VueTypeDef<any>;
|
133
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
134
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
135
|
+
default: string | number;
|
136
|
+
};
|
137
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
138
|
+
default: string;
|
139
|
+
} & {
|
140
|
+
default: string;
|
141
|
+
};
|
142
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
143
|
+
default: boolean | (() => {
|
144
|
+
content: string | Function;
|
145
|
+
disabled?: boolean;
|
146
|
+
watchCellResize?: boolean;
|
147
|
+
mode?: "auto" | "static";
|
148
|
+
});
|
149
|
+
};
|
150
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
151
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
152
|
+
default: boolean;
|
153
|
+
} & {
|
154
|
+
default: boolean;
|
155
|
+
};
|
156
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
157
|
+
default: boolean | "right" | "left";
|
158
|
+
};
|
159
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
160
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
161
|
+
};
|
162
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
163
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
164
|
+
};
|
165
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
166
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
167
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
168
|
+
className: import("vue-types").VueTypeDef<any>;
|
169
|
+
prop: import("vue-types").VueTypeDef<any>;
|
170
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
171
|
+
default: number;
|
172
|
+
} & {
|
173
|
+
default: number;
|
174
|
+
};
|
175
|
+
}>> | Partial<import("vue").ExtractPropTypes<{
|
176
|
+
label: import("vue-types").VueTypeDef<any>;
|
177
|
+
field: import("vue-types").VueTypeDef<any>;
|
178
|
+
render: import("vue-types").VueTypeDef<any>;
|
179
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
180
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
181
|
+
default: string | number;
|
182
|
+
};
|
183
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
184
|
+
default: string;
|
185
|
+
} & {
|
186
|
+
default: string;
|
187
|
+
};
|
188
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
189
|
+
default: boolean | (() => {
|
190
|
+
content: string | Function;
|
191
|
+
disabled?: boolean;
|
192
|
+
watchCellResize?: boolean;
|
193
|
+
mode?: "auto" | "static";
|
194
|
+
});
|
195
|
+
};
|
196
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
197
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
198
|
+
default: boolean;
|
199
|
+
} & {
|
200
|
+
default: boolean;
|
201
|
+
};
|
202
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
203
|
+
default: boolean | "right" | "left";
|
204
|
+
};
|
205
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
206
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
207
|
+
};
|
208
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
209
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
210
|
+
};
|
211
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
212
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
213
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
214
|
+
className: import("vue-types").VueTypeDef<any>;
|
215
|
+
prop: import("vue-types").VueTypeDef<any>;
|
216
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
217
|
+
default: number;
|
218
|
+
} & {
|
219
|
+
default: number;
|
220
|
+
};
|
221
|
+
}>>[], _rm?: boolean) => void;
|
161
222
|
bkTableCache: {
|
162
223
|
queueStack: (_: any, fn: any) => any;
|
163
224
|
};
|
164
225
|
column: {
|
165
|
-
field:
|
166
|
-
|
167
|
-
|
168
|
-
|
226
|
+
field: any;
|
227
|
+
sort?: string | boolean | {
|
228
|
+
sortFn?: Function;
|
229
|
+
sortScope?: import("../../table/src/props").SortScope;
|
230
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
231
|
+
};
|
232
|
+
filter?: string | boolean | {
|
233
|
+
list: any[];
|
234
|
+
filterFn?: Function;
|
235
|
+
match?: import("../../table/src/props").FullEnum;
|
236
|
+
checked?: any[];
|
237
|
+
filterScope?: import("../../table/src/props").SortScope;
|
238
|
+
btnSave?: string | boolean;
|
239
|
+
btnReset?: string | boolean;
|
240
|
+
};
|
241
|
+
fixed?: boolean | "right" | "left";
|
169
242
|
minWidth?: string | number;
|
243
|
+
index?: number;
|
170
244
|
columnKey?: string;
|
171
245
|
showOverflowTooltip?: boolean | {
|
172
246
|
content: string | Function;
|
@@ -174,155 +248,29 @@ declare const BkTableColumn: {
|
|
174
248
|
watchCellResize?: boolean;
|
175
249
|
mode?: "auto" | "static";
|
176
250
|
};
|
177
|
-
type?: string;
|
178
|
-
fixed?: string | boolean;
|
179
251
|
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;
|
252
|
+
render?: any;
|
253
|
+
type?: "none" | "selection" | "index" | "expand";
|
254
|
+
label?: any;
|
255
|
+
width?: string | number;
|
256
|
+
className?: any;
|
257
|
+
align?: "" | "right" | "left" | "center";
|
258
|
+
colspan?: any;
|
259
|
+
rowspan?: any;
|
260
|
+
prop?: any;
|
301
261
|
};
|
302
262
|
}, unknown, {}, {
|
303
263
|
updateColumnDefine(unmounted?: boolean): void;
|
304
264
|
updateColumnDefineByParent(): void;
|
305
265
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
306
266
|
}, 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
|
-
};
|
267
|
+
sort: import("../../table/src/props").ISortPropShape;
|
268
|
+
filter: import("../../table/src/props").IFilterPropShape;
|
321
269
|
fixed: boolean | "right" | "left";
|
322
270
|
minWidth: string | number;
|
323
271
|
index: number;
|
324
272
|
columnKey: string;
|
325
|
-
showOverflowTooltip:
|
273
|
+
showOverflowTooltip: import("../../table/src/props").IOverflowTooltipProp;
|
326
274
|
resizable: boolean;
|
327
275
|
}, {}, string, {}> & {
|
328
276
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -345,12 +293,6 @@ declare const BkTableColumn: {
|
|
345
293
|
$nextTick: typeof import("vue").nextTick;
|
346
294
|
$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
295
|
} & Readonly<import("vue").ExtractPropTypes<{
|
348
|
-
prop: import("vue-types").VueTypeDef<any>;
|
349
|
-
index: import("vue-types").VueTypeValidableDef<number> & {
|
350
|
-
default: number;
|
351
|
-
} & {
|
352
|
-
default: number;
|
353
|
-
};
|
354
296
|
label: import("vue-types").VueTypeDef<any>;
|
355
297
|
field: import("vue-types").VueTypeDef<any>;
|
356
298
|
render: import("vue-types").VueTypeDef<any>;
|
@@ -363,8 +305,13 @@ declare const BkTableColumn: {
|
|
363
305
|
} & {
|
364
306
|
default: string;
|
365
307
|
};
|
366
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
367
|
-
default: boolean | (() =>
|
308
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
309
|
+
default: boolean | (() => {
|
310
|
+
content: string | Function;
|
311
|
+
disabled?: boolean;
|
312
|
+
watchCellResize?: boolean;
|
313
|
+
mode?: "auto" | "static";
|
314
|
+
});
|
368
315
|
};
|
369
316
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
370
317
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -375,51 +322,138 @@ declare const BkTableColumn: {
|
|
375
322
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
376
323
|
default: boolean | "right" | "left";
|
377
324
|
};
|
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
|
-
});
|
325
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
326
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
388
327
|
};
|
389
|
-
filter: import("vue-types").VueTypeDef<
|
390
|
-
|
391
|
-
filterFn: any;
|
392
|
-
match: "full" | "fuzzy";
|
393
|
-
checked: any[] | (object & (() => any[]));
|
394
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
395
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
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
|
-
});
|
328
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
329
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
407
330
|
};
|
408
331
|
colspan: import("vue-types").VueTypeDef<any>;
|
409
332
|
rowspan: import("vue-types").VueTypeDef<any>;
|
410
333
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
411
334
|
className: import("vue-types").VueTypeDef<any>;
|
335
|
+
prop: import("vue-types").VueTypeDef<any>;
|
336
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
337
|
+
default: number;
|
338
|
+
} & {
|
339
|
+
default: number;
|
340
|
+
};
|
412
341
|
}>> & import("vue").ShallowUnwrapRef<{
|
413
|
-
initColumns: (_col: import("
|
342
|
+
initColumns: (_col: Partial<import("vue").ExtractPropTypes<{
|
343
|
+
label: import("vue-types").VueTypeDef<any>;
|
344
|
+
field: import("vue-types").VueTypeDef<any>;
|
345
|
+
render: import("vue-types").VueTypeDef<any>;
|
346
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
347
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
348
|
+
default: string | number;
|
349
|
+
};
|
350
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
351
|
+
default: string;
|
352
|
+
} & {
|
353
|
+
default: string;
|
354
|
+
};
|
355
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
356
|
+
default: boolean | (() => {
|
357
|
+
content: string | Function;
|
358
|
+
disabled?: boolean;
|
359
|
+
watchCellResize?: boolean;
|
360
|
+
mode?: "auto" | "static";
|
361
|
+
});
|
362
|
+
};
|
363
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
364
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
365
|
+
default: boolean;
|
366
|
+
} & {
|
367
|
+
default: boolean;
|
368
|
+
};
|
369
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
370
|
+
default: boolean | "right" | "left";
|
371
|
+
};
|
372
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
373
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
374
|
+
};
|
375
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
376
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
377
|
+
};
|
378
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
379
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
380
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
381
|
+
className: import("vue-types").VueTypeDef<any>;
|
382
|
+
prop: import("vue-types").VueTypeDef<any>;
|
383
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
384
|
+
default: number;
|
385
|
+
} & {
|
386
|
+
default: number;
|
387
|
+
};
|
388
|
+
}>> | Partial<import("vue").ExtractPropTypes<{
|
389
|
+
label: import("vue-types").VueTypeDef<any>;
|
390
|
+
field: import("vue-types").VueTypeDef<any>;
|
391
|
+
render: import("vue-types").VueTypeDef<any>;
|
392
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
393
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
394
|
+
default: string | number;
|
395
|
+
};
|
396
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
397
|
+
default: string;
|
398
|
+
} & {
|
399
|
+
default: string;
|
400
|
+
};
|
401
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
402
|
+
default: boolean | (() => {
|
403
|
+
content: string | Function;
|
404
|
+
disabled?: boolean;
|
405
|
+
watchCellResize?: boolean;
|
406
|
+
mode?: "auto" | "static";
|
407
|
+
});
|
408
|
+
};
|
409
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
410
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
411
|
+
default: boolean;
|
412
|
+
} & {
|
413
|
+
default: boolean;
|
414
|
+
};
|
415
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
416
|
+
default: boolean | "right" | "left";
|
417
|
+
};
|
418
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
419
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
420
|
+
};
|
421
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
422
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
423
|
+
};
|
424
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
425
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
426
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
427
|
+
className: import("vue-types").VueTypeDef<any>;
|
428
|
+
prop: import("vue-types").VueTypeDef<any>;
|
429
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
430
|
+
default: number;
|
431
|
+
} & {
|
432
|
+
default: number;
|
433
|
+
};
|
434
|
+
}>>[], _rm?: boolean) => void;
|
414
435
|
bkTableCache: {
|
415
436
|
queueStack: (_: any, fn: any) => any;
|
416
437
|
};
|
417
438
|
column: {
|
418
|
-
field:
|
419
|
-
|
420
|
-
|
421
|
-
|
439
|
+
field: any;
|
440
|
+
sort?: string | boolean | {
|
441
|
+
sortFn?: Function;
|
442
|
+
sortScope?: import("../../table/src/props").SortScope;
|
443
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
444
|
+
};
|
445
|
+
filter?: string | boolean | {
|
446
|
+
list: any[];
|
447
|
+
filterFn?: Function;
|
448
|
+
match?: import("../../table/src/props").FullEnum;
|
449
|
+
checked?: any[];
|
450
|
+
filterScope?: import("../../table/src/props").SortScope;
|
451
|
+
btnSave?: string | boolean;
|
452
|
+
btnReset?: string | boolean;
|
453
|
+
};
|
454
|
+
fixed?: boolean | "right" | "left";
|
422
455
|
minWidth?: string | number;
|
456
|
+
index?: number;
|
423
457
|
columnKey?: string;
|
424
458
|
showOverflowTooltip?: boolean | {
|
425
459
|
content: string | Function;
|
@@ -427,130 +461,16 @@ declare const BkTableColumn: {
|
|
427
461
|
watchCellResize?: boolean;
|
428
462
|
mode?: "auto" | "static";
|
429
463
|
};
|
430
|
-
type?: string;
|
431
|
-
fixed?: string | boolean;
|
432
464
|
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;
|
465
|
+
render?: any;
|
466
|
+
type?: "none" | "selection" | "index" | "expand";
|
467
|
+
label?: any;
|
468
|
+
width?: string | number;
|
469
|
+
className?: any;
|
470
|
+
align?: "" | "right" | "left" | "center";
|
471
|
+
colspan?: any;
|
472
|
+
rowspan?: any;
|
473
|
+
prop?: any;
|
554
474
|
};
|
555
475
|
}> & {} & {
|
556
476
|
updateColumnDefine(unmounted?: boolean): void;
|
@@ -561,12 +481,6 @@ declare const BkTableColumn: {
|
|
561
481
|
__isTeleport?: never;
|
562
482
|
__isSuspense?: never;
|
563
483
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
564
|
-
prop: import("vue-types").VueTypeDef<any>;
|
565
|
-
index: import("vue-types").VueTypeValidableDef<number> & {
|
566
|
-
default: number;
|
567
|
-
} & {
|
568
|
-
default: number;
|
569
|
-
};
|
570
484
|
label: import("vue-types").VueTypeDef<any>;
|
571
485
|
field: import("vue-types").VueTypeDef<any>;
|
572
486
|
render: import("vue-types").VueTypeDef<any>;
|
@@ -579,8 +493,13 @@ declare const BkTableColumn: {
|
|
579
493
|
} & {
|
580
494
|
default: string;
|
581
495
|
};
|
582
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
583
|
-
default: boolean | (() =>
|
496
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
497
|
+
default: boolean | (() => {
|
498
|
+
content: string | Function;
|
499
|
+
disabled?: boolean;
|
500
|
+
watchCellResize?: boolean;
|
501
|
+
mode?: "auto" | "static";
|
502
|
+
});
|
584
503
|
};
|
585
504
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
586
505
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -591,51 +510,138 @@ declare const BkTableColumn: {
|
|
591
510
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
592
511
|
default: boolean | "right" | "left";
|
593
512
|
};
|
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
|
-
});
|
513
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
514
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
604
515
|
};
|
605
|
-
filter: import("vue-types").VueTypeDef<
|
606
|
-
|
607
|
-
filterFn: any;
|
608
|
-
match: "full" | "fuzzy";
|
609
|
-
checked: any[] | (object & (() => any[]));
|
610
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
611
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
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
|
-
});
|
516
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
517
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
623
518
|
};
|
624
519
|
colspan: import("vue-types").VueTypeDef<any>;
|
625
520
|
rowspan: import("vue-types").VueTypeDef<any>;
|
626
521
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
627
522
|
className: import("vue-types").VueTypeDef<any>;
|
523
|
+
prop: import("vue-types").VueTypeDef<any>;
|
524
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
525
|
+
default: number;
|
526
|
+
} & {
|
527
|
+
default: number;
|
528
|
+
};
|
628
529
|
}>>, {
|
629
|
-
initColumns: (_col: import("
|
530
|
+
initColumns: (_col: Partial<import("vue").ExtractPropTypes<{
|
531
|
+
label: import("vue-types").VueTypeDef<any>;
|
532
|
+
field: import("vue-types").VueTypeDef<any>;
|
533
|
+
render: import("vue-types").VueTypeDef<any>;
|
534
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
535
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
536
|
+
default: string | number;
|
537
|
+
};
|
538
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
539
|
+
default: string;
|
540
|
+
} & {
|
541
|
+
default: string;
|
542
|
+
};
|
543
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
544
|
+
default: boolean | (() => {
|
545
|
+
content: string | Function;
|
546
|
+
disabled?: boolean;
|
547
|
+
watchCellResize?: boolean;
|
548
|
+
mode?: "auto" | "static";
|
549
|
+
});
|
550
|
+
};
|
551
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
552
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
553
|
+
default: boolean;
|
554
|
+
} & {
|
555
|
+
default: boolean;
|
556
|
+
};
|
557
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
558
|
+
default: boolean | "right" | "left";
|
559
|
+
};
|
560
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
561
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
562
|
+
};
|
563
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
564
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
565
|
+
};
|
566
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
567
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
568
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
569
|
+
className: import("vue-types").VueTypeDef<any>;
|
570
|
+
prop: import("vue-types").VueTypeDef<any>;
|
571
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
572
|
+
default: number;
|
573
|
+
} & {
|
574
|
+
default: number;
|
575
|
+
};
|
576
|
+
}>> | Partial<import("vue").ExtractPropTypes<{
|
577
|
+
label: import("vue-types").VueTypeDef<any>;
|
578
|
+
field: import("vue-types").VueTypeDef<any>;
|
579
|
+
render: import("vue-types").VueTypeDef<any>;
|
580
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
581
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
582
|
+
default: string | number;
|
583
|
+
};
|
584
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
585
|
+
default: string;
|
586
|
+
} & {
|
587
|
+
default: string;
|
588
|
+
};
|
589
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
590
|
+
default: boolean | (() => {
|
591
|
+
content: string | Function;
|
592
|
+
disabled?: boolean;
|
593
|
+
watchCellResize?: boolean;
|
594
|
+
mode?: "auto" | "static";
|
595
|
+
});
|
596
|
+
};
|
597
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
598
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
599
|
+
default: boolean;
|
600
|
+
} & {
|
601
|
+
default: boolean;
|
602
|
+
};
|
603
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
604
|
+
default: boolean | "right" | "left";
|
605
|
+
};
|
606
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
607
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
608
|
+
};
|
609
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
610
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
611
|
+
};
|
612
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
613
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
614
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
615
|
+
className: import("vue-types").VueTypeDef<any>;
|
616
|
+
prop: import("vue-types").VueTypeDef<any>;
|
617
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
618
|
+
default: number;
|
619
|
+
} & {
|
620
|
+
default: number;
|
621
|
+
};
|
622
|
+
}>>[], _rm?: boolean) => void;
|
630
623
|
bkTableCache: {
|
631
624
|
queueStack: (_: any, fn: any) => any;
|
632
625
|
};
|
633
626
|
column: {
|
634
|
-
field:
|
635
|
-
|
636
|
-
|
637
|
-
|
627
|
+
field: any;
|
628
|
+
sort?: string | boolean | {
|
629
|
+
sortFn?: Function;
|
630
|
+
sortScope?: import("../../table/src/props").SortScope;
|
631
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
632
|
+
};
|
633
|
+
filter?: string | boolean | {
|
634
|
+
list: any[];
|
635
|
+
filterFn?: Function;
|
636
|
+
match?: import("../../table/src/props").FullEnum;
|
637
|
+
checked?: any[];
|
638
|
+
filterScope?: import("../../table/src/props").SortScope;
|
639
|
+
btnSave?: string | boolean;
|
640
|
+
btnReset?: string | boolean;
|
641
|
+
};
|
642
|
+
fixed?: boolean | "right" | "left";
|
638
643
|
minWidth?: string | number;
|
644
|
+
index?: number;
|
639
645
|
columnKey?: string;
|
640
646
|
showOverflowTooltip?: boolean | {
|
641
647
|
content: string | Function;
|
@@ -643,155 +649,29 @@ declare const BkTableColumn: {
|
|
643
649
|
watchCellResize?: boolean;
|
644
650
|
mode?: "auto" | "static";
|
645
651
|
};
|
646
|
-
type?: string;
|
647
|
-
fixed?: string | boolean;
|
648
652
|
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;
|
653
|
+
render?: any;
|
654
|
+
type?: "none" | "selection" | "index" | "expand";
|
655
|
+
label?: any;
|
656
|
+
width?: string | number;
|
657
|
+
className?: any;
|
658
|
+
align?: "" | "right" | "left" | "center";
|
659
|
+
colspan?: any;
|
660
|
+
rowspan?: any;
|
661
|
+
prop?: any;
|
770
662
|
};
|
771
663
|
}, unknown, {}, {
|
772
664
|
updateColumnDefine(unmounted?: boolean): void;
|
773
665
|
updateColumnDefineByParent(): void;
|
774
666
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
775
667
|
}, 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
|
-
};
|
668
|
+
sort: import("../../table/src/props").ISortPropShape;
|
669
|
+
filter: import("../../table/src/props").IFilterPropShape;
|
790
670
|
fixed: boolean | "right" | "left";
|
791
671
|
minWidth: string | number;
|
792
672
|
index: number;
|
793
673
|
columnKey: string;
|
794
|
-
showOverflowTooltip:
|
674
|
+
showOverflowTooltip: import("../../table/src/props").IOverflowTooltipProp;
|
795
675
|
resizable: boolean;
|
796
676
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
797
677
|
export default BkTableColumn;
|