bkui-vue 1.0.3-beta.68.dialog.2 → 1.0.3-beta.68.dialog.3
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 +30 -30
- package/dist/index.esm.js +4777 -4887
- package/dist/index.umd.js +28 -28
- package/lib/radio/index.d.ts +14 -0
- package/lib/radio/index.js +15 -7
- package/lib/radio/radio-button.d.ts +10 -0
- package/lib/radio/radio-group.d.ts +10 -0
- package/lib/shared/index.js +3 -0
- package/lib/table/components/table-column.d.ts +3 -119
- package/lib/table/const.d.ts +3 -3
- package/lib/table/index.d.ts +1 -105
- package/lib/table/index.js +17624 -561
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-column-template.d.ts +7 -0
- package/lib/table/use-column.d.ts +9 -10
- package/lib/table/use-common.d.ts +1 -1
- package/lib/table-column/index.d.ts +3 -293
- package/lib/table-column/index.js +18 -280
- package/package.json +1 -1
package/lib/radio/index.d.ts
CHANGED
@@ -198,6 +198,9 @@ declare const BkRadio: {
|
|
198
198
|
default: string;
|
199
199
|
};
|
200
200
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
201
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
202
|
+
default: (...args: any[]) => any;
|
203
|
+
};
|
201
204
|
}, {
|
202
205
|
resolveClassName: (cls: string) => string;
|
203
206
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
@@ -222,6 +225,9 @@ declare const BkRadio: {
|
|
222
225
|
default: string;
|
223
226
|
};
|
224
227
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
228
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
229
|
+
default: (...args: any[]) => any;
|
230
|
+
};
|
225
231
|
}>> & {
|
226
232
|
onChange?: (value: any) => any;
|
227
233
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -230,6 +236,7 @@ declare const BkRadio: {
|
|
230
236
|
type: string;
|
231
237
|
disabled: boolean;
|
232
238
|
withValidate: boolean;
|
239
|
+
beforeChange: (...args: any[]) => any;
|
233
240
|
}, {}>;
|
234
241
|
Button: import("vue").DefineComponent<{
|
235
242
|
name: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -254,6 +261,9 @@ declare const BkRadio: {
|
|
254
261
|
default: boolean;
|
255
262
|
};
|
256
263
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
264
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
265
|
+
default: (...args: any[]) => any;
|
266
|
+
};
|
257
267
|
}, {
|
258
268
|
isFocused: import("vue").Ref<boolean>;
|
259
269
|
size: import("vue").Ref<string>;
|
@@ -290,6 +300,9 @@ declare const BkRadio: {
|
|
290
300
|
default: boolean;
|
291
301
|
};
|
292
302
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
303
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
304
|
+
default: (...args: any[]) => any;
|
305
|
+
};
|
293
306
|
}>> & {
|
294
307
|
onChange?: (value: any) => any;
|
295
308
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -298,6 +311,7 @@ declare const BkRadio: {
|
|
298
311
|
disabled: boolean;
|
299
312
|
modelValue: string | number | boolean;
|
300
313
|
checked: boolean;
|
314
|
+
beforeChange: (...args: any[]) => any;
|
301
315
|
}, {}>;
|
302
316
|
}>;
|
303
317
|
export default BkRadio;
|
package/lib/radio/index.js
CHANGED
@@ -426,7 +426,8 @@ var radioButtonProps = {
|
|
426
426
|
modelValue: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.bool, shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def(''),
|
427
427
|
checked: shared_namespaceObject.PropTypes.bool.def(false),
|
428
428
|
disabled: shared_namespaceObject.PropTypes.bool.def(false),
|
429
|
-
size: shared_namespaceObject.PropTypes.size()
|
429
|
+
size: shared_namespaceObject.PropTypes.size(),
|
430
|
+
beforeChange: shared_namespaceObject.PropTypes.func
|
430
431
|
};
|
431
432
|
/* harmony default export */ const radio_button = ((0,external_vue_namespaceObject.defineComponent)({
|
432
433
|
name: 'RadioButton',
|
@@ -530,7 +531,8 @@ var radioGroupProps = {
|
|
530
531
|
disabled: shared_namespaceObject.PropTypes.bool,
|
531
532
|
withValidate: shared_namespaceObject.PropTypes.bool.def(true),
|
532
533
|
type: shared_namespaceObject.PropTypes.oneOf(['tab', 'capsule', 'card']).def('tab'),
|
533
|
-
size: shared_namespaceObject.PropTypes.size()
|
534
|
+
size: shared_namespaceObject.PropTypes.size(),
|
535
|
+
beforeChange: shared_namespaceObject.PropTypes.func
|
534
536
|
};
|
535
537
|
/* harmony default export */ const radio_group = ((0,external_vue_namespaceObject.defineComponent)({
|
536
538
|
name: 'RadioGroup',
|
@@ -556,14 +558,20 @@ var radioGroupProps = {
|
|
556
558
|
}
|
557
559
|
};
|
558
560
|
var handleChange = function handleChange(checkedRadioInstance) {
|
561
|
+
var _props$beforeChange, _props$beforeChange2;
|
559
562
|
var nextValue = checkedRadioInstance.label;
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
+
var beforeChangeValue = (_props$beforeChange = (_props$beforeChange2 = props.beforeChange) === null || _props$beforeChange2 === void 0 ? void 0 : _props$beforeChange2.call(props, nextValue, checkedRadioInstance, props)) !== null && _props$beforeChange !== void 0 ? _props$beforeChange : true;
|
564
|
+
Promise.resolve(beforeChangeValue).then(function (resp) {
|
565
|
+
if (resp) {
|
566
|
+
radioInstanceList.forEach(function (radioInstance) {
|
567
|
+
if (radioInstance !== checkedRadioInstance) {
|
568
|
+
radioInstance.setChecked(false);
|
569
|
+
}
|
570
|
+
});
|
571
|
+
context.emit('update:modelValue', nextValue);
|
572
|
+
context.emit('change', nextValue);
|
563
573
|
}
|
564
574
|
});
|
565
|
-
context.emit('update:modelValue', nextValue);
|
566
|
-
context.emit('change', nextValue);
|
567
575
|
};
|
568
576
|
(0,external_vue_namespaceObject.provide)(radioGroupKey, {
|
569
577
|
props: props,
|
@@ -22,6 +22,9 @@ declare const radioButtonProps: {
|
|
22
22
|
default: boolean;
|
23
23
|
};
|
24
24
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
25
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
26
|
+
default: (...args: any[]) => any;
|
27
|
+
};
|
25
28
|
};
|
26
29
|
export type RadioButtonProps = Readonly<ExtractPropTypes<typeof radioButtonProps>>;
|
27
30
|
declare const _default: import("vue").DefineComponent<{
|
@@ -47,6 +50,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
47
50
|
default: boolean;
|
48
51
|
};
|
49
52
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
53
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
54
|
+
default: (...args: any[]) => any;
|
55
|
+
};
|
50
56
|
}, {
|
51
57
|
isFocused: import("vue").Ref<boolean>;
|
52
58
|
size: import("vue").Ref<string>;
|
@@ -83,6 +89,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
83
89
|
default: boolean;
|
84
90
|
};
|
85
91
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
92
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
93
|
+
default: (...args: any[]) => any;
|
94
|
+
};
|
86
95
|
}>> & {
|
87
96
|
onChange?: (value: any) => any;
|
88
97
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -91,5 +100,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
91
100
|
disabled: boolean;
|
92
101
|
modelValue: string | number | boolean;
|
93
102
|
checked: boolean;
|
103
|
+
beforeChange: (...args: any[]) => any;
|
94
104
|
}, {}>;
|
95
105
|
export default _default;
|
@@ -18,6 +18,9 @@ declare const radioGroupProps: {
|
|
18
18
|
default: string;
|
19
19
|
};
|
20
20
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
21
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
22
|
+
default: (...args: any[]) => any;
|
23
|
+
};
|
21
24
|
};
|
22
25
|
export type RadioGroupProps = Readonly<ExtractPropTypes<typeof radioGroupProps>>;
|
23
26
|
declare const _default: import("vue").DefineComponent<{
|
@@ -39,6 +42,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
39
42
|
default: string;
|
40
43
|
};
|
41
44
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
45
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
46
|
+
default: (...args: any[]) => any;
|
47
|
+
};
|
42
48
|
}, {
|
43
49
|
resolveClassName: (cls: string) => string;
|
44
50
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
@@ -63,6 +69,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
63
69
|
default: string;
|
64
70
|
};
|
65
71
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
72
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
73
|
+
default: (...args: any[]) => any;
|
74
|
+
};
|
66
75
|
}>> & {
|
67
76
|
onChange?: (value: any) => any;
|
68
77
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -71,5 +80,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
71
80
|
type: string;
|
72
81
|
disabled: boolean;
|
73
82
|
withValidate: boolean;
|
83
|
+
beforeChange: (...args: any[]) => any;
|
74
84
|
}, {}>;
|
75
85
|
export default _default;
|
package/lib/shared/index.js
CHANGED
@@ -445,6 +445,9 @@ function helper_isElement(obj) {
|
|
445
445
|
* Whether the text content is clipped due to CSS overflow, as in showing `...`.
|
446
446
|
*/
|
447
447
|
function hasOverflowEllipsis(element) {
|
448
|
+
if (!element) {
|
449
|
+
return false;
|
450
|
+
}
|
448
451
|
return element.offsetWidth < element.scrollWidth || element.offsetHeight < element.scrollHeight;
|
449
452
|
}
|
450
453
|
/**
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
2
|
-
import { Column } from '../props';
|
3
2
|
declare const TableColumnProp: {
|
4
3
|
label: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
|
5
4
|
field: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
|
@@ -49,17 +48,6 @@ declare const TableColumnProp: {
|
|
49
48
|
} & {
|
50
49
|
default: number;
|
51
50
|
};
|
52
|
-
uniqueId: import("vue-types").VueTypeValidableDef<{
|
53
|
-
[key: string]: any;
|
54
|
-
}> & {
|
55
|
-
default: () => {
|
56
|
-
[key: string]: any;
|
57
|
-
};
|
58
|
-
} & {
|
59
|
-
default: () => {
|
60
|
-
[key: string]: any;
|
61
|
-
};
|
62
|
-
};
|
63
51
|
};
|
64
52
|
export type ITableColumn = Partial<ExtractPropTypes<typeof TableColumnProp>>;
|
65
53
|
declare const _default: import("vue").DefineComponent<{
|
@@ -111,24 +99,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
111
99
|
} & {
|
112
100
|
default: number;
|
113
101
|
};
|
114
|
-
uniqueId: import("vue-types").VueTypeValidableDef<{
|
115
|
-
[key: string]: any;
|
116
|
-
}> & {
|
117
|
-
default: () => {
|
118
|
-
[key: string]: any;
|
119
|
-
};
|
120
|
-
} & {
|
121
|
-
default: () => {
|
122
|
-
[key: string]: any;
|
123
|
-
};
|
124
|
-
};
|
125
102
|
}, {
|
126
|
-
isIndexPropChanged: import("vue").Ref<boolean>;
|
127
|
-
setIsIndexChanged: (val: boolean) => void;
|
128
|
-
initColumns: (_col: Column | Column[], _rm?: boolean) => void;
|
129
|
-
bkTableCache: {
|
130
|
-
queueStack: (_: any, fn: any) => any;
|
131
|
-
};
|
132
103
|
column: {
|
133
104
|
fixed?: boolean | "right" | "left";
|
134
105
|
resizable?: boolean;
|
@@ -167,9 +138,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
167
138
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
168
139
|
};
|
169
140
|
};
|
170
|
-
uniqueId?: {
|
171
|
-
[key: string]: any;
|
172
|
-
};
|
173
141
|
render?: import("../props").RenderFunctionString;
|
174
142
|
sort?: string | boolean | {
|
175
143
|
sortFn?: Function;
|
@@ -193,8 +161,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
193
161
|
className?: import("../props").RowClassFunctionString;
|
194
162
|
align?: "" | "right" | "left" | "center";
|
195
163
|
showOverflowTooltip?: boolean | {
|
196
|
-
content: string | ((col: Column, row: any) => string);
|
197
|
-
disabled?: boolean | ((col: Column, row: any) => boolean);
|
164
|
+
content: string | ((col: import("../props").Column, row: any) => string);
|
165
|
+
disabled?: boolean | ((col: import("../props").Column, row: any) => boolean);
|
198
166
|
watchCellResize?: boolean;
|
199
167
|
mode?: "auto" | "static";
|
200
168
|
popoverOption?: any;
|
@@ -204,77 +172,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
204
172
|
field: import("../props").LabelFunctionString;
|
205
173
|
prop?: import("../props").LabelFunctionString;
|
206
174
|
};
|
207
|
-
}, unknown, {}, {
|
208
|
-
updateColumnDefine(unmounted?: boolean): void;
|
209
|
-
copyProps(props: Partial<ExtractPropTypes<{
|
210
|
-
label: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
|
211
|
-
field: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
|
212
|
-
render: import("vue-types").VueTypeDef<import("../props").RenderFunctionString>;
|
213
|
-
width: import("vue-types").VueTypeDef<string | number>;
|
214
|
-
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
215
|
-
default: string | number;
|
216
|
-
};
|
217
|
-
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
218
|
-
default: string;
|
219
|
-
} & {
|
220
|
-
default: string;
|
221
|
-
};
|
222
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("../props").IOverflowTooltipProp>;
|
223
|
-
type: import("vue-types").VueTypeDef<"index" | "selection" | "expand" | "__COL_TYPE_NONE">;
|
224
|
-
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
225
|
-
default: boolean;
|
226
|
-
} & {
|
227
|
-
default: boolean;
|
228
|
-
};
|
229
|
-
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
230
|
-
default: boolean | "right" | "left";
|
231
|
-
};
|
232
|
-
sort: import("vue-types").VueTypeDef<import("../props").ISortPropShape>;
|
233
|
-
filter: import("vue-types").VueTypeDef<import("../props").IFilterPropShape>;
|
234
|
-
colspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
|
235
|
-
default: (({ column, colIndex, row, rowIndex }: {
|
236
|
-
column: any;
|
237
|
-
colIndex: any;
|
238
|
-
row: any;
|
239
|
-
rowIndex: any;
|
240
|
-
}) => number) | (() => Number);
|
241
|
-
};
|
242
|
-
rowspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
|
243
|
-
default: (({ column, colIndex, row, rowIndex }: {
|
244
|
-
column: any;
|
245
|
-
colIndex: any;
|
246
|
-
row: any;
|
247
|
-
rowIndex: any;
|
248
|
-
}) => number) | (() => Number);
|
249
|
-
};
|
250
|
-
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
251
|
-
className: import("vue-types").VueTypeDef<import("../props").RowClassFunctionString>;
|
252
|
-
prop: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
|
253
|
-
index: import("vue-types").VueTypeValidableDef<number> & {
|
254
|
-
default: number;
|
255
|
-
} & {
|
256
|
-
default: number;
|
257
|
-
};
|
258
|
-
uniqueId: import("vue-types").VueTypeValidableDef<{
|
259
|
-
[key: string]: any;
|
260
|
-
}> & {
|
261
|
-
default: () => {
|
262
|
-
[key: string]: any;
|
263
|
-
};
|
264
|
-
} & {
|
265
|
-
default: () => {
|
266
|
-
[key: string]: any;
|
267
|
-
};
|
268
|
-
};
|
269
|
-
}>> | {
|
270
|
-
[key: string]: any;
|
271
|
-
}): {};
|
272
|
-
rsolveIndexedColumn(): boolean;
|
273
|
-
setNodeUid(): void;
|
274
|
-
getNodeCtxUid(ctx: any): any;
|
275
|
-
updateColumnDefineByParent(): void;
|
276
|
-
unmountColumn(): void;
|
277
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
175
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
278
176
|
label: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
|
279
177
|
field: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
|
280
178
|
render: import("vue-types").VueTypeDef<import("../props").RenderFunctionString>;
|
@@ -323,17 +221,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
323
221
|
} & {
|
324
222
|
default: number;
|
325
223
|
};
|
326
|
-
uniqueId: import("vue-types").VueTypeValidableDef<{
|
327
|
-
[key: string]: any;
|
328
|
-
}> & {
|
329
|
-
default: () => {
|
330
|
-
[key: string]: any;
|
331
|
-
};
|
332
|
-
} & {
|
333
|
-
default: () => {
|
334
|
-
[key: string]: any;
|
335
|
-
};
|
336
|
-
};
|
337
224
|
}>>, {
|
338
225
|
fixed: boolean | "right" | "left";
|
339
226
|
resizable: boolean;
|
@@ -342,8 +229,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
342
229
|
columnKey: string;
|
343
230
|
colspan: import("../props").SpanFunctionString;
|
344
231
|
rowspan: import("../props").SpanFunctionString;
|
345
|
-
uniqueId: {
|
346
|
-
[key: string]: any;
|
347
|
-
};
|
348
232
|
}, {}>;
|
349
233
|
export default _default;
|
package/lib/table/const.d.ts
CHANGED
@@ -82,9 +82,9 @@ export declare const createDefaultSizeList: (t: ComputedRef<Language['table']>)
|
|
82
82
|
/**
|
83
83
|
* Provide key: init column when use <column { ...props }> template
|
84
84
|
*/
|
85
|
-
export declare const PROVIDE_KEY_INIT_COL
|
86
|
-
export declare const PROVIDE_KEY_TB_CACHE
|
87
|
-
export declare const BK_COLUMN_UPDATE_DEFINE
|
85
|
+
export declare const PROVIDE_KEY_INIT_COL: unique symbol;
|
86
|
+
export declare const PROVIDE_KEY_TB_CACHE: unique symbol;
|
87
|
+
export declare const BK_COLUMN_UPDATE_DEFINE: unique symbol;
|
88
88
|
/**
|
89
89
|
* 表格底部高度
|
90
90
|
* 分页组件
|
package/lib/table/index.d.ts
CHANGED
@@ -1347,24 +1347,7 @@ declare const BkTable: {
|
|
1347
1347
|
} & {
|
1348
1348
|
default: number;
|
1349
1349
|
};
|
1350
|
-
uniqueId: import("vue-types").VueTypeValidableDef<{
|
1351
|
-
[key: string]: any;
|
1352
|
-
}> & {
|
1353
|
-
default: () => {
|
1354
|
-
[key: string]: any;
|
1355
|
-
};
|
1356
|
-
} & {
|
1357
|
-
default: () => {
|
1358
|
-
[key: string]: any;
|
1359
|
-
};
|
1360
|
-
};
|
1361
1350
|
}, {
|
1362
|
-
isIndexPropChanged: import("vue").Ref<boolean>;
|
1363
|
-
setIsIndexChanged: (val: boolean) => void;
|
1364
|
-
initColumns: (_col: import("./props").Column | import("./props").Column[], _rm?: boolean) => void;
|
1365
|
-
bkTableCache: {
|
1366
|
-
queueStack: (_: any, fn: any) => any;
|
1367
|
-
};
|
1368
1351
|
column: {
|
1369
1352
|
fixed?: boolean | "right" | "left";
|
1370
1353
|
resizable?: boolean;
|
@@ -1403,9 +1386,6 @@ declare const BkTable: {
|
|
1403
1386
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
1404
1387
|
};
|
1405
1388
|
};
|
1406
|
-
uniqueId?: {
|
1407
|
-
[key: string]: any;
|
1408
|
-
};
|
1409
1389
|
render?: import("./props").RenderFunctionString;
|
1410
1390
|
sort?: string | boolean | {
|
1411
1391
|
sortFn?: Function;
|
@@ -1440,77 +1420,7 @@ declare const BkTable: {
|
|
1440
1420
|
field: import("./props").LabelFunctionString;
|
1441
1421
|
prop?: import("./props").LabelFunctionString;
|
1442
1422
|
};
|
1443
|
-
}, unknown, {}, {
|
1444
|
-
updateColumnDefine(unmounted?: boolean): void;
|
1445
|
-
copyProps(props: Partial<ExtractPropTypes<{
|
1446
|
-
label: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
|
1447
|
-
field: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
|
1448
|
-
render: import("vue-types").VueTypeDef<import("./props").RenderFunctionString>;
|
1449
|
-
width: import("vue-types").VueTypeDef<string | number>;
|
1450
|
-
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
1451
|
-
default: string | number;
|
1452
|
-
};
|
1453
|
-
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
1454
|
-
default: string;
|
1455
|
-
} & {
|
1456
|
-
default: string;
|
1457
|
-
};
|
1458
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
|
1459
|
-
type: import("vue-types").VueTypeDef<"index" | "selection" | "expand" | "__COL_TYPE_NONE">;
|
1460
|
-
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1461
|
-
default: boolean;
|
1462
|
-
} & {
|
1463
|
-
default: boolean;
|
1464
|
-
};
|
1465
|
-
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
1466
|
-
default: boolean | "right" | "left";
|
1467
|
-
};
|
1468
|
-
sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape>;
|
1469
|
-
filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape>;
|
1470
|
-
colspan: import("vue-types").VueTypeDef<import("./props").SpanFunctionString> & {
|
1471
|
-
default: (({ column, colIndex, row, rowIndex }: {
|
1472
|
-
column: any;
|
1473
|
-
colIndex: any;
|
1474
|
-
row: any;
|
1475
|
-
rowIndex: any;
|
1476
|
-
}) => number) | (() => Number);
|
1477
|
-
};
|
1478
|
-
rowspan: import("vue-types").VueTypeDef<import("./props").SpanFunctionString> & {
|
1479
|
-
default: (({ column, colIndex, row, rowIndex }: {
|
1480
|
-
column: any;
|
1481
|
-
colIndex: any;
|
1482
|
-
row: any;
|
1483
|
-
rowIndex: any;
|
1484
|
-
}) => number) | (() => Number);
|
1485
|
-
};
|
1486
|
-
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
1487
|
-
className: import("vue-types").VueTypeDef<import("./props").RowClassFunctionString>;
|
1488
|
-
prop: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
|
1489
|
-
index: import("vue-types").VueTypeValidableDef<number> & {
|
1490
|
-
default: number;
|
1491
|
-
} & {
|
1492
|
-
default: number;
|
1493
|
-
};
|
1494
|
-
uniqueId: import("vue-types").VueTypeValidableDef<{
|
1495
|
-
[key: string]: any;
|
1496
|
-
}> & {
|
1497
|
-
default: () => {
|
1498
|
-
[key: string]: any;
|
1499
|
-
};
|
1500
|
-
} & {
|
1501
|
-
default: () => {
|
1502
|
-
[key: string]: any;
|
1503
|
-
};
|
1504
|
-
};
|
1505
|
-
}>> | {
|
1506
|
-
[key: string]: any;
|
1507
|
-
}): {};
|
1508
|
-
rsolveIndexedColumn(): boolean;
|
1509
|
-
setNodeUid(): void;
|
1510
|
-
getNodeCtxUid(ctx: any): any;
|
1511
|
-
updateColumnDefineByParent(): void;
|
1512
|
-
unmountColumn(): void;
|
1513
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
1423
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
1514
1424
|
label: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
|
1515
1425
|
field: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
|
1516
1426
|
render: import("vue-types").VueTypeDef<import("./props").RenderFunctionString>;
|
@@ -1559,17 +1469,6 @@ declare const BkTable: {
|
|
1559
1469
|
} & {
|
1560
1470
|
default: number;
|
1561
1471
|
};
|
1562
|
-
uniqueId: import("vue-types").VueTypeValidableDef<{
|
1563
|
-
[key: string]: any;
|
1564
|
-
}> & {
|
1565
|
-
default: () => {
|
1566
|
-
[key: string]: any;
|
1567
|
-
};
|
1568
|
-
} & {
|
1569
|
-
default: () => {
|
1570
|
-
[key: string]: any;
|
1571
|
-
};
|
1572
|
-
};
|
1573
1472
|
}>>, {
|
1574
1473
|
fixed: boolean | "right" | "left";
|
1575
1474
|
resizable: boolean;
|
@@ -1578,9 +1477,6 @@ declare const BkTable: {
|
|
1578
1477
|
columnKey: string;
|
1579
1478
|
colspan: import("./props").SpanFunctionString;
|
1580
1479
|
rowspan: import("./props").SpanFunctionString;
|
1581
|
-
uniqueId: {
|
1582
|
-
[key: string]: any;
|
1583
|
-
};
|
1584
1480
|
}, {}>;
|
1585
1481
|
}>;
|
1586
1482
|
export default BkTable;
|