bkui-vue 1.0.3-beta.11 → 1.0.3-beta.13
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 +25 -25
- package/dist/index.esm.js +2520 -2506
- package/dist/index.umd.js +25 -25
- package/lib/info-box/index.js +9 -3
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/table/index.js +35 -14
- package/lib/table/props.d.ts +3 -2
- package/lib/table-column/index.d.ts +106 -106
- package/lib/table-column/index.js +15 -3
- package/lib/tag-input/index.d.ts +4 -4
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +35 -35
- package/package.json +1 -1
@@ -1,8 +1,8 @@
|
|
1
1
|
declare const BkTableColumn: {
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
-
label: import("vue-types").VueTypeDef<import("
|
4
|
-
field: import("vue-types").VueTypeDef<import("
|
5
|
-
render: import("vue-types").VueTypeDef<import("
|
3
|
+
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
4
|
+
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
5
|
+
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
6
6
|
width: import("vue-types").VueTypeDef<string | number>;
|
7
7
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
8
8
|
default: string | number;
|
@@ -12,7 +12,7 @@ declare const BkTableColumn: {
|
|
12
12
|
} & {
|
13
13
|
default: string;
|
14
14
|
};
|
15
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("
|
15
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
16
16
|
type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
17
17
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
18
18
|
default: boolean;
|
@@ -22,9 +22,9 @@ declare const BkTableColumn: {
|
|
22
22
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
23
23
|
default: boolean | "right" | "left";
|
24
24
|
};
|
25
|
-
sort: import("vue-types").VueTypeDef<import("
|
26
|
-
filter: import("vue-types").VueTypeDef<import("
|
27
|
-
colspan: import("vue-types").VueTypeDef<import("
|
25
|
+
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
26
|
+
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
27
|
+
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
28
28
|
default: (({ column, colIndex, row, rowIndex }: {
|
29
29
|
column: any;
|
30
30
|
colIndex: any;
|
@@ -32,7 +32,7 @@ declare const BkTableColumn: {
|
|
32
32
|
rowIndex: any;
|
33
33
|
}) => number) | (() => Number);
|
34
34
|
};
|
35
|
-
rowspan: import("vue-types").VueTypeDef<import("
|
35
|
+
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
36
36
|
default: (({ column, colIndex, row, rowIndex }: {
|
37
37
|
column: any;
|
38
38
|
colIndex: any;
|
@@ -41,8 +41,8 @@ declare const BkTableColumn: {
|
|
41
41
|
}) => number) | (() => Number);
|
42
42
|
};
|
43
43
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
44
|
-
className: import("vue-types").VueTypeDef<import("
|
45
|
-
prop: import("vue-types").VueTypeDef<import("
|
44
|
+
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
45
|
+
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
46
46
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
47
47
|
default: number;
|
48
48
|
} & {
|
@@ -91,27 +91,27 @@ declare const BkTableColumn: {
|
|
91
91
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
92
92
|
};
|
93
93
|
};
|
94
|
-
render?: import("
|
94
|
+
render?: import("../table/props").RenderFunctionString;
|
95
95
|
sort?: string | boolean | {
|
96
96
|
sortFn?: Function;
|
97
|
-
sortScope?: import("
|
98
|
-
value?: import("
|
97
|
+
sortScope?: import("../table/props").SortScope;
|
98
|
+
value?: import("../table/const").SORT_OPTION;
|
99
99
|
};
|
100
100
|
filter?: string | boolean | {
|
101
101
|
list: any[];
|
102
102
|
filterFn?: Function;
|
103
|
-
match?: import("
|
103
|
+
match?: import("../table/props").FullEnum;
|
104
104
|
checked?: any[];
|
105
|
-
filterScope?: import("
|
105
|
+
filterScope?: import("../table/props").SortScope;
|
106
106
|
btnSave?: string | boolean;
|
107
107
|
btnReset?: string | boolean;
|
108
108
|
height?: number;
|
109
109
|
maxHeight?: number;
|
110
110
|
};
|
111
111
|
type?: "none" | "index" | "selection" | "expand";
|
112
|
-
label?: import("
|
112
|
+
label?: import("../table/props").LabelFunctionString;
|
113
113
|
width?: string | number;
|
114
|
-
className?: import("
|
114
|
+
className?: import("../table/props").RowClassFunctionString;
|
115
115
|
align?: "" | "right" | "left" | "center";
|
116
116
|
showOverflowTooltip?: boolean | {
|
117
117
|
content: string | Function;
|
@@ -119,18 +119,18 @@ declare const BkTableColumn: {
|
|
119
119
|
watchCellResize?: boolean;
|
120
120
|
mode?: "auto" | "static";
|
121
121
|
popoverOption?: any;
|
122
|
-
resizerWay?: import("
|
122
|
+
resizerWay?: import("../table/props").ResizerWay;
|
123
123
|
showHead?: boolean;
|
124
124
|
};
|
125
|
-
field: import("
|
126
|
-
prop?: import("
|
125
|
+
field: import("../table/props").LabelFunctionString;
|
126
|
+
prop?: import("../table/props").LabelFunctionString;
|
127
127
|
};
|
128
128
|
}, unknown, {}, {
|
129
129
|
updateColumnDefine(unmounted?: boolean): void;
|
130
130
|
copyProps(props: Partial<import("vue").ExtractPropTypes<{
|
131
|
-
label: import("vue-types").VueTypeDef<import("
|
132
|
-
field: import("vue-types").VueTypeDef<import("
|
133
|
-
render: import("vue-types").VueTypeDef<import("
|
131
|
+
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
132
|
+
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
133
|
+
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
134
134
|
width: import("vue-types").VueTypeDef<string | number>;
|
135
135
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
136
136
|
default: string | number;
|
@@ -140,7 +140,7 @@ declare const BkTableColumn: {
|
|
140
140
|
} & {
|
141
141
|
default: string;
|
142
142
|
};
|
143
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("
|
143
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
144
144
|
type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
145
145
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
146
146
|
default: boolean;
|
@@ -150,9 +150,9 @@ declare const BkTableColumn: {
|
|
150
150
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
151
151
|
default: boolean | "right" | "left";
|
152
152
|
};
|
153
|
-
sort: import("vue-types").VueTypeDef<import("
|
154
|
-
filter: import("vue-types").VueTypeDef<import("
|
155
|
-
colspan: import("vue-types").VueTypeDef<import("
|
153
|
+
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
154
|
+
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
155
|
+
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
156
156
|
default: (({ column, colIndex, row, rowIndex }: {
|
157
157
|
column: any;
|
158
158
|
colIndex: any;
|
@@ -160,7 +160,7 @@ declare const BkTableColumn: {
|
|
160
160
|
rowIndex: any;
|
161
161
|
}) => number) | (() => Number);
|
162
162
|
};
|
163
|
-
rowspan: import("vue-types").VueTypeDef<import("
|
163
|
+
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
164
164
|
default: (({ column, colIndex, row, rowIndex }: {
|
165
165
|
column: any;
|
166
166
|
colIndex: any;
|
@@ -169,8 +169,8 @@ declare const BkTableColumn: {
|
|
169
169
|
}) => number) | (() => Number);
|
170
170
|
};
|
171
171
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
172
|
-
className: import("vue-types").VueTypeDef<import("
|
173
|
-
prop: import("vue-types").VueTypeDef<import("
|
172
|
+
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
173
|
+
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
174
174
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
175
175
|
default: number;
|
176
176
|
} & {
|
@@ -180,9 +180,9 @@ declare const BkTableColumn: {
|
|
180
180
|
updateColumnDefineByParent(): void;
|
181
181
|
unmountColumn(): void;
|
182
182
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
183
|
-
label: import("vue-types").VueTypeDef<import("
|
184
|
-
field: import("vue-types").VueTypeDef<import("
|
185
|
-
render: import("vue-types").VueTypeDef<import("
|
183
|
+
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
184
|
+
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
185
|
+
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
186
186
|
width: import("vue-types").VueTypeDef<string | number>;
|
187
187
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
188
188
|
default: string | number;
|
@@ -192,7 +192,7 @@ declare const BkTableColumn: {
|
|
192
192
|
} & {
|
193
193
|
default: string;
|
194
194
|
};
|
195
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("
|
195
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
196
196
|
type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
197
197
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
198
198
|
default: boolean;
|
@@ -202,9 +202,9 @@ declare const BkTableColumn: {
|
|
202
202
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
203
203
|
default: boolean | "right" | "left";
|
204
204
|
};
|
205
|
-
sort: import("vue-types").VueTypeDef<import("
|
206
|
-
filter: import("vue-types").VueTypeDef<import("
|
207
|
-
colspan: import("vue-types").VueTypeDef<import("
|
205
|
+
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
206
|
+
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
207
|
+
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
208
208
|
default: (({ column, colIndex, row, rowIndex }: {
|
209
209
|
column: any;
|
210
210
|
colIndex: any;
|
@@ -212,7 +212,7 @@ declare const BkTableColumn: {
|
|
212
212
|
rowIndex: any;
|
213
213
|
}) => number) | (() => Number);
|
214
214
|
};
|
215
|
-
rowspan: import("vue-types").VueTypeDef<import("
|
215
|
+
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
216
216
|
default: (({ column, colIndex, row, rowIndex }: {
|
217
217
|
column: any;
|
218
218
|
colIndex: any;
|
@@ -221,8 +221,8 @@ declare const BkTableColumn: {
|
|
221
221
|
}) => number) | (() => Number);
|
222
222
|
};
|
223
223
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
224
|
-
className: import("vue-types").VueTypeDef<import("
|
225
|
-
prop: import("vue-types").VueTypeDef<import("
|
224
|
+
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
225
|
+
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
226
226
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
227
227
|
default: number;
|
228
228
|
} & {
|
@@ -234,8 +234,8 @@ declare const BkTableColumn: {
|
|
234
234
|
minWidth: string | number;
|
235
235
|
index: number;
|
236
236
|
columnKey: string;
|
237
|
-
colspan: import("
|
238
|
-
rowspan: import("
|
237
|
+
colspan: import("../table/props").SpanFunctionString;
|
238
|
+
rowspan: import("../table/props").SpanFunctionString;
|
239
239
|
}, true, {}, {}, {
|
240
240
|
P: {};
|
241
241
|
B: {};
|
@@ -244,9 +244,9 @@ declare const BkTableColumn: {
|
|
244
244
|
M: {};
|
245
245
|
Defaults: {};
|
246
246
|
}, Readonly<import("vue").ExtractPropTypes<{
|
247
|
-
label: import("vue-types").VueTypeDef<import("
|
248
|
-
field: import("vue-types").VueTypeDef<import("
|
249
|
-
render: import("vue-types").VueTypeDef<import("
|
247
|
+
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
248
|
+
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
249
|
+
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
250
250
|
width: import("vue-types").VueTypeDef<string | number>;
|
251
251
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
252
252
|
default: string | number;
|
@@ -256,7 +256,7 @@ declare const BkTableColumn: {
|
|
256
256
|
} & {
|
257
257
|
default: string;
|
258
258
|
};
|
259
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("
|
259
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
260
260
|
type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
261
261
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
262
262
|
default: boolean;
|
@@ -266,9 +266,9 @@ declare const BkTableColumn: {
|
|
266
266
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
267
267
|
default: boolean | "right" | "left";
|
268
268
|
};
|
269
|
-
sort: import("vue-types").VueTypeDef<import("
|
270
|
-
filter: import("vue-types").VueTypeDef<import("
|
271
|
-
colspan: import("vue-types").VueTypeDef<import("
|
269
|
+
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
270
|
+
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
271
|
+
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
272
272
|
default: (({ column, colIndex, row, rowIndex }: {
|
273
273
|
column: any;
|
274
274
|
colIndex: any;
|
@@ -276,7 +276,7 @@ declare const BkTableColumn: {
|
|
276
276
|
rowIndex: any;
|
277
277
|
}) => number) | (() => Number);
|
278
278
|
};
|
279
|
-
rowspan: import("vue-types").VueTypeDef<import("
|
279
|
+
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
280
280
|
default: (({ column, colIndex, row, rowIndex }: {
|
281
281
|
column: any;
|
282
282
|
colIndex: any;
|
@@ -285,8 +285,8 @@ declare const BkTableColumn: {
|
|
285
285
|
}) => number) | (() => Number);
|
286
286
|
};
|
287
287
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
288
|
-
className: import("vue-types").VueTypeDef<import("
|
289
|
-
prop: import("vue-types").VueTypeDef<import("
|
288
|
+
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
289
|
+
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
290
290
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
291
291
|
default: number;
|
292
292
|
} & {
|
@@ -335,27 +335,27 @@ declare const BkTableColumn: {
|
|
335
335
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
336
336
|
};
|
337
337
|
};
|
338
|
-
render?: import("
|
338
|
+
render?: import("../table/props").RenderFunctionString;
|
339
339
|
sort?: string | boolean | {
|
340
340
|
sortFn?: Function;
|
341
|
-
sortScope?: import("
|
342
|
-
value?: import("
|
341
|
+
sortScope?: import("../table/props").SortScope;
|
342
|
+
value?: import("../table/const").SORT_OPTION;
|
343
343
|
};
|
344
344
|
filter?: string | boolean | {
|
345
345
|
list: any[];
|
346
346
|
filterFn?: Function;
|
347
|
-
match?: import("
|
347
|
+
match?: import("../table/props").FullEnum;
|
348
348
|
checked?: any[];
|
349
|
-
filterScope?: import("
|
349
|
+
filterScope?: import("../table/props").SortScope;
|
350
350
|
btnSave?: string | boolean;
|
351
351
|
btnReset?: string | boolean;
|
352
352
|
height?: number;
|
353
353
|
maxHeight?: number;
|
354
354
|
};
|
355
355
|
type?: "none" | "index" | "selection" | "expand";
|
356
|
-
label?: import("
|
356
|
+
label?: import("../table/props").LabelFunctionString;
|
357
357
|
width?: string | number;
|
358
|
-
className?: import("
|
358
|
+
className?: import("../table/props").RowClassFunctionString;
|
359
359
|
align?: "" | "right" | "left" | "center";
|
360
360
|
showOverflowTooltip?: boolean | {
|
361
361
|
content: string | Function;
|
@@ -363,18 +363,18 @@ declare const BkTableColumn: {
|
|
363
363
|
watchCellResize?: boolean;
|
364
364
|
mode?: "auto" | "static";
|
365
365
|
popoverOption?: any;
|
366
|
-
resizerWay?: import("
|
366
|
+
resizerWay?: import("../table/props").ResizerWay;
|
367
367
|
showHead?: boolean;
|
368
368
|
};
|
369
|
-
field: import("
|
370
|
-
prop?: import("
|
369
|
+
field: import("../table/props").LabelFunctionString;
|
370
|
+
prop?: import("../table/props").LabelFunctionString;
|
371
371
|
};
|
372
372
|
}, {}, {}, {
|
373
373
|
updateColumnDefine(unmounted?: boolean): void;
|
374
374
|
copyProps(props: Partial<import("vue").ExtractPropTypes<{
|
375
|
-
label: import("vue-types").VueTypeDef<import("
|
376
|
-
field: import("vue-types").VueTypeDef<import("
|
377
|
-
render: import("vue-types").VueTypeDef<import("
|
375
|
+
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
376
|
+
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
377
|
+
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
378
378
|
width: import("vue-types").VueTypeDef<string | number>;
|
379
379
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
380
380
|
default: string | number;
|
@@ -384,7 +384,7 @@ declare const BkTableColumn: {
|
|
384
384
|
} & {
|
385
385
|
default: string;
|
386
386
|
};
|
387
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("
|
387
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
388
388
|
type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
389
389
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
390
390
|
default: boolean;
|
@@ -394,9 +394,9 @@ declare const BkTableColumn: {
|
|
394
394
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
395
395
|
default: boolean | "right" | "left";
|
396
396
|
};
|
397
|
-
sort: import("vue-types").VueTypeDef<import("
|
398
|
-
filter: import("vue-types").VueTypeDef<import("
|
399
|
-
colspan: import("vue-types").VueTypeDef<import("
|
397
|
+
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
398
|
+
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
399
|
+
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
400
400
|
default: (({ column, colIndex, row, rowIndex }: {
|
401
401
|
column: any;
|
402
402
|
colIndex: any;
|
@@ -404,7 +404,7 @@ declare const BkTableColumn: {
|
|
404
404
|
rowIndex: any;
|
405
405
|
}) => number) | (() => Number);
|
406
406
|
};
|
407
|
-
rowspan: import("vue-types").VueTypeDef<import("
|
407
|
+
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
408
408
|
default: (({ column, colIndex, row, rowIndex }: {
|
409
409
|
column: any;
|
410
410
|
colIndex: any;
|
@@ -413,8 +413,8 @@ declare const BkTableColumn: {
|
|
413
413
|
}) => number) | (() => Number);
|
414
414
|
};
|
415
415
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
416
|
-
className: import("vue-types").VueTypeDef<import("
|
417
|
-
prop: import("vue-types").VueTypeDef<import("
|
416
|
+
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
417
|
+
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
418
418
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
419
419
|
default: number;
|
420
420
|
} & {
|
@@ -429,16 +429,16 @@ declare const BkTableColumn: {
|
|
429
429
|
minWidth: string | number;
|
430
430
|
index: number;
|
431
431
|
columnKey: string;
|
432
|
-
colspan: import("
|
433
|
-
rowspan: import("
|
432
|
+
colspan: import("../table/props").SpanFunctionString;
|
433
|
+
rowspan: import("../table/props").SpanFunctionString;
|
434
434
|
}>;
|
435
435
|
__isFragment?: never;
|
436
436
|
__isTeleport?: never;
|
437
437
|
__isSuspense?: never;
|
438
438
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
439
|
-
label: import("vue-types").VueTypeDef<import("
|
440
|
-
field: import("vue-types").VueTypeDef<import("
|
441
|
-
render: import("vue-types").VueTypeDef<import("
|
439
|
+
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
440
|
+
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
441
|
+
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
442
442
|
width: import("vue-types").VueTypeDef<string | number>;
|
443
443
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
444
444
|
default: string | number;
|
@@ -448,7 +448,7 @@ declare const BkTableColumn: {
|
|
448
448
|
} & {
|
449
449
|
default: string;
|
450
450
|
};
|
451
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("
|
451
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
452
452
|
type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
453
453
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
454
454
|
default: boolean;
|
@@ -458,9 +458,9 @@ declare const BkTableColumn: {
|
|
458
458
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
459
459
|
default: boolean | "right" | "left";
|
460
460
|
};
|
461
|
-
sort: import("vue-types").VueTypeDef<import("
|
462
|
-
filter: import("vue-types").VueTypeDef<import("
|
463
|
-
colspan: import("vue-types").VueTypeDef<import("
|
461
|
+
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
462
|
+
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
463
|
+
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
464
464
|
default: (({ column, colIndex, row, rowIndex }: {
|
465
465
|
column: any;
|
466
466
|
colIndex: any;
|
@@ -468,7 +468,7 @@ declare const BkTableColumn: {
|
|
468
468
|
rowIndex: any;
|
469
469
|
}) => number) | (() => Number);
|
470
470
|
};
|
471
|
-
rowspan: import("vue-types").VueTypeDef<import("
|
471
|
+
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
472
472
|
default: (({ column, colIndex, row, rowIndex }: {
|
473
473
|
column: any;
|
474
474
|
colIndex: any;
|
@@ -477,8 +477,8 @@ declare const BkTableColumn: {
|
|
477
477
|
}) => number) | (() => Number);
|
478
478
|
};
|
479
479
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
480
|
-
className: import("vue-types").VueTypeDef<import("
|
481
|
-
prop: import("vue-types").VueTypeDef<import("
|
480
|
+
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
481
|
+
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
482
482
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
483
483
|
default: number;
|
484
484
|
} & {
|
@@ -527,27 +527,27 @@ declare const BkTableColumn: {
|
|
527
527
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
528
528
|
};
|
529
529
|
};
|
530
|
-
render?: import("
|
530
|
+
render?: import("../table/props").RenderFunctionString;
|
531
531
|
sort?: string | boolean | {
|
532
532
|
sortFn?: Function;
|
533
|
-
sortScope?: import("
|
534
|
-
value?: import("
|
533
|
+
sortScope?: import("../table/props").SortScope;
|
534
|
+
value?: import("../table/const").SORT_OPTION;
|
535
535
|
};
|
536
536
|
filter?: string | boolean | {
|
537
537
|
list: any[];
|
538
538
|
filterFn?: Function;
|
539
|
-
match?: import("
|
539
|
+
match?: import("../table/props").FullEnum;
|
540
540
|
checked?: any[];
|
541
|
-
filterScope?: import("
|
541
|
+
filterScope?: import("../table/props").SortScope;
|
542
542
|
btnSave?: string | boolean;
|
543
543
|
btnReset?: string | boolean;
|
544
544
|
height?: number;
|
545
545
|
maxHeight?: number;
|
546
546
|
};
|
547
547
|
type?: "none" | "index" | "selection" | "expand";
|
548
|
-
label?: import("
|
548
|
+
label?: import("../table/props").LabelFunctionString;
|
549
549
|
width?: string | number;
|
550
|
-
className?: import("
|
550
|
+
className?: import("../table/props").RowClassFunctionString;
|
551
551
|
align?: "" | "right" | "left" | "center";
|
552
552
|
showOverflowTooltip?: boolean | {
|
553
553
|
content: string | Function;
|
@@ -555,18 +555,18 @@ declare const BkTableColumn: {
|
|
555
555
|
watchCellResize?: boolean;
|
556
556
|
mode?: "auto" | "static";
|
557
557
|
popoverOption?: any;
|
558
|
-
resizerWay?: import("
|
558
|
+
resizerWay?: import("../table/props").ResizerWay;
|
559
559
|
showHead?: boolean;
|
560
560
|
};
|
561
|
-
field: import("
|
562
|
-
prop?: import("
|
561
|
+
field: import("../table/props").LabelFunctionString;
|
562
|
+
prop?: import("../table/props").LabelFunctionString;
|
563
563
|
};
|
564
564
|
}, unknown, {}, {
|
565
565
|
updateColumnDefine(unmounted?: boolean): void;
|
566
566
|
copyProps(props: Partial<import("vue").ExtractPropTypes<{
|
567
|
-
label: import("vue-types").VueTypeDef<import("
|
568
|
-
field: import("vue-types").VueTypeDef<import("
|
569
|
-
render: import("vue-types").VueTypeDef<import("
|
567
|
+
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
568
|
+
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
569
|
+
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
570
570
|
width: import("vue-types").VueTypeDef<string | number>;
|
571
571
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
572
572
|
default: string | number;
|
@@ -576,7 +576,7 @@ declare const BkTableColumn: {
|
|
576
576
|
} & {
|
577
577
|
default: string;
|
578
578
|
};
|
579
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("
|
579
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
580
580
|
type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
581
581
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
582
582
|
default: boolean;
|
@@ -586,9 +586,9 @@ declare const BkTableColumn: {
|
|
586
586
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
587
587
|
default: boolean | "right" | "left";
|
588
588
|
};
|
589
|
-
sort: import("vue-types").VueTypeDef<import("
|
590
|
-
filter: import("vue-types").VueTypeDef<import("
|
591
|
-
colspan: import("vue-types").VueTypeDef<import("
|
589
|
+
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
590
|
+
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
591
|
+
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
592
592
|
default: (({ column, colIndex, row, rowIndex }: {
|
593
593
|
column: any;
|
594
594
|
colIndex: any;
|
@@ -596,7 +596,7 @@ declare const BkTableColumn: {
|
|
596
596
|
rowIndex: any;
|
597
597
|
}) => number) | (() => Number);
|
598
598
|
};
|
599
|
-
rowspan: import("vue-types").VueTypeDef<import("
|
599
|
+
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
600
600
|
default: (({ column, colIndex, row, rowIndex }: {
|
601
601
|
column: any;
|
602
602
|
colIndex: any;
|
@@ -605,8 +605,8 @@ declare const BkTableColumn: {
|
|
605
605
|
}) => number) | (() => Number);
|
606
606
|
};
|
607
607
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
608
|
-
className: import("vue-types").VueTypeDef<import("
|
609
|
-
prop: import("vue-types").VueTypeDef<import("
|
608
|
+
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
609
|
+
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
610
610
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
611
611
|
default: number;
|
612
612
|
} & {
|
@@ -621,7 +621,7 @@ declare const BkTableColumn: {
|
|
621
621
|
minWidth: string | number;
|
622
622
|
index: number;
|
623
623
|
columnKey: string;
|
624
|
-
colspan: import("
|
625
|
-
rowspan: import("
|
624
|
+
colspan: import("../table/props").SpanFunctionString;
|
625
|
+
rowspan: import("../table/props").SpanFunctionString;
|
626
626
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
627
627
|
export default BkTableColumn;
|
@@ -702,7 +702,19 @@ var TableColumnProp = {
|
|
702
702
|
var fn = function fn() {
|
703
703
|
// @ts-ignore
|
704
704
|
var selfVnode = _this._;
|
705
|
-
var
|
705
|
+
var getTableNode = function getTableNode() {
|
706
|
+
var _parentVnode$type;
|
707
|
+
var parentVnode = selfVnode.parent;
|
708
|
+
if (((_parentVnode$type = parentVnode.type) === null || _parentVnode$type === void 0 ? void 0 : _parentVnode$type.name) === 'Table') {
|
709
|
+
return parentVnode.vnode;
|
710
|
+
}
|
711
|
+
return getTableNode();
|
712
|
+
};
|
713
|
+
var tableNode = getTableNode();
|
714
|
+
if (!tableNode) {
|
715
|
+
return;
|
716
|
+
}
|
717
|
+
var colList = tableNode.children["default"]() || [];
|
706
718
|
var sortColumns = [];
|
707
719
|
var index = 0;
|
708
720
|
var reduceColumns = function reduceColumns(nodes) {
|
@@ -710,7 +722,7 @@ var TableColumnProp = {
|
|
710
722
|
return;
|
711
723
|
}
|
712
724
|
nodes.forEach(function (node) {
|
713
|
-
var _node$type, _node$children2;
|
725
|
+
var _node$type, _node$children2, _node$type2;
|
714
726
|
if (Array.isArray(node)) {
|
715
727
|
reduceColumns(node);
|
716
728
|
return;
|
@@ -728,7 +740,7 @@ var TableColumnProp = {
|
|
728
740
|
sortColumns.push((0,external_vue_namespaceObject.unref)(resolveProp));
|
729
741
|
index = index + 1;
|
730
742
|
}
|
731
|
-
if ((_node$children2 = node.children) !== null && _node$children2 !== void 0 && _node$children2.length && skipValidateKey0) {
|
743
|
+
if ((_node$children2 = node.children) !== null && _node$children2 !== void 0 && _node$children2.length && skipValidateKey0 && ((_node$type2 = node.type) === null || _node$type2 === void 0 ? void 0 : _node$type2.name) !== 'Table') {
|
732
744
|
reduceColumns(node.children);
|
733
745
|
}
|
734
746
|
});
|
package/lib/tag-input/index.d.ts
CHANGED
@@ -274,7 +274,7 @@ declare const TagInput: {
|
|
274
274
|
default: boolean;
|
275
275
|
};
|
276
276
|
tagOverflowTips: {
|
277
|
-
type: import("vue").PropType<Partial<import("../directives/
|
277
|
+
type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
|
278
278
|
default: () => {};
|
279
279
|
};
|
280
280
|
}>> & {
|
@@ -617,7 +617,7 @@ declare const TagInput: {
|
|
617
617
|
default: boolean;
|
618
618
|
};
|
619
619
|
tagOverflowTips: {
|
620
|
-
type: import("vue").PropType<Partial<import("../directives/
|
620
|
+
type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
|
621
621
|
default: () => {};
|
622
622
|
};
|
623
623
|
}>> & {
|
@@ -941,7 +941,7 @@ declare const TagInput: {
|
|
941
941
|
default: boolean;
|
942
942
|
};
|
943
943
|
tagOverflowTips: {
|
944
|
-
type: import("vue").PropType<Partial<import("../directives/
|
944
|
+
type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
|
945
945
|
default: () => {};
|
946
946
|
};
|
947
947
|
}>> & {
|
@@ -1318,7 +1318,7 @@ declare const TagInput: {
|
|
1318
1318
|
default: boolean;
|
1319
1319
|
};
|
1320
1320
|
tagOverflowTips: {
|
1321
|
-
type: import("vue").PropType<Partial<import("../directives/
|
1321
|
+
type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
|
1322
1322
|
default: () => {};
|
1323
1323
|
};
|
1324
1324
|
}>> & {
|