bkui-vue 2.0.1-beta.2 → 2.0.1-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +166 -166
- package/dist/index.esm.js +31807 -31749
- package/dist/index.umd.js +166 -166
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/index.js +1 -1
- package/lib/button/button.d.ts +7 -7
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -7
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +3 -3
- package/lib/cascader/index.js +35 -36
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox.d.ts +7 -7
- package/lib/checkbox/index.d.ts +11 -11
- package/lib/checkbox/index.js +12 -4
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/index.js +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/color-picker/color-picker.css +3 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +3 -3
- package/lib/color-picker/index.js +45 -45
- package/lib/components.d.ts +32 -32
- package/lib/components.js +31 -31
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/container/index.js +6 -7
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +0 -1
- package/lib/date-picker/index.d.ts +0 -3
- package/lib/date-picker/index.js +318 -218
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +6 -68
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +5 -1
- package/lib/dialog/dialog.css +0 -4
- package/lib/dialog/dialog.d.ts +25 -20
- package/lib/dialog/dialog.variable.css +0 -4
- package/lib/dialog/index.d.ts +55 -44
- package/lib/dialog/index.js +22 -22
- package/lib/dialog/props.d.ts +10 -8
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -166
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -4
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/index.js +14 -15
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/index.js +20 -21
- package/lib/index.d.ts +9 -3
- package/lib/index.js +5 -29
- package/lib/info-box/index.js +13 -13
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +16 -17
- package/lib/input/input.d.ts +15 -15
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.js +0 -1
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/index.d.ts +21 -8
- package/lib/modal/index.js +14 -8
- package/lib/modal/modal.css +0 -4
- package/lib/modal/modal.d.ts +8 -3
- package/lib/modal/modal.less +0 -5
- package/lib/modal/modal.variable.css +0 -4
- package/lib/modal/props.mixin.d.ts +3 -1
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/notify/index.js +4 -4
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +61 -11
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -16
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +18 -20
- package/lib/pop-confirm/index.d.ts +11 -11
- package/lib/pop-confirm/index.js +11 -10
- package/lib/pop-confirm/pop-confirm.d.ts +5 -5
- package/lib/pop-confirm/props.d.ts +4 -4
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +18 -20
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +0 -1
- package/lib/preset.js +0 -1
- package/lib/process/index.js +3 -3
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -11
- package/lib/progress/progress.d.ts +7 -7
- package/lib/radio/index.d.ts +21 -21
- package/lib/radio/index.js +28 -17
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +27 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +27 -0
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +7 -8
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/scrollbar/index.js +0 -1
- package/lib/scrollbar/scrollbar-core/index.d.ts +9 -9
- package/lib/search-select/index.js +66 -66
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/selected.d.ts +1 -1
- package/lib/search-select/utils.d.ts +3 -3
- package/lib/select/index.d.ts +85 -67
- package/lib/select/index.js +126 -120
- package/lib/select/option.d.ts +1 -1
- package/lib/select/select.css +1 -2
- package/lib/select/select.d.ts +34 -26
- package/lib/select/select.less +1 -2
- package/lib/select/select.variable.css +1 -2
- package/lib/select/selectTagInput.d.ts +6 -6
- package/lib/select/type.d.ts +2 -2
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +38 -46
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +46 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +18 -7
- package/lib/sideslider/index.js +11 -11
- package/lib/sideslider/sideslider.d.ts +8 -3
- package/lib/slider/index.js +21 -23
- package/lib/steps/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/styles/index.d.ts +0 -1
- package/lib/swiper/index.js +5 -5
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- package/lib/table/components/table-column.d.ts +27 -87
- package/lib/table/const.d.ts +8 -8
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +194 -244
- package/lib/table/index.js +166 -145
- package/lib/table/plugins/use-shift-key.d.ts +2 -0
- package/lib/table/props.d.ts +34 -34
- package/lib/table/table.css +3 -4
- package/lib/table/table.d.ts +47 -47
- package/lib/table/table.less +4 -12
- package/lib/table/table.variable.css +3 -4
- package/lib/table/use-attributes.d.ts +3 -3
- package/lib/table/use-column.d.ts +9 -129
- package/lib/table/use-common.d.ts +4 -4
- package/lib/table/utils.d.ts +5 -5
- package/lib/table-column/index.d.ts +42 -172
- package/lib/table-column/index.js +19 -19
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +8 -8
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +4 -4
- package/lib/tag-input/tag-props.d.ts +2 -2
- package/lib/timeline/index.js +2 -2
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +19 -19
- package/lib/transfer/transfer.css +9 -9
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +9 -9
- package/lib/tree/constant.d.ts +20 -20
- package/lib/tree/index.d.ts +20 -20
- package/lib/tree/index.js +53 -49
- package/lib/tree/props.d.ts +6 -6
- package/lib/tree/tree.d.ts +8 -14
- package/lib/tree/tree.less +1 -1
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.js +41 -35
- package/lib/upload/props.d.ts +1 -1
- package/lib/upload/upload.type.d.ts +7 -7
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.js +2 -3
- package/package.json +17 -55
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/rate/star.variable.css +0 -156
@@ -43,53 +43,13 @@ declare const _default: (props: TablePropTypes) => {
|
|
43
43
|
height?: number;
|
44
44
|
maxHeight?: number;
|
45
45
|
};
|
46
|
-
colspan?: (
|
47
|
-
|
48
|
-
colIndex: any;
|
49
|
-
row: any;
|
50
|
-
rowIndex: any;
|
51
|
-
}) => number) | {
|
52
|
-
toString: (radix?: number) => string;
|
53
|
-
toFixed: (fractionDigits?: number) => string;
|
54
|
-
toExponential: (fractionDigits?: number) => string;
|
55
|
-
toPrecision: (precision?: number) => string;
|
56
|
-
valueOf: () => number;
|
57
|
-
toLocaleString: {
|
58
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
59
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
60
|
-
};
|
61
|
-
};
|
62
|
-
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
63
|
-
column: any;
|
64
|
-
colIndex: any;
|
65
|
-
row: any;
|
66
|
-
rowIndex: any;
|
67
|
-
}) => number) | {
|
68
|
-
toString: (radix?: number) => string;
|
69
|
-
toFixed: (fractionDigits?: number) => string;
|
70
|
-
toExponential: (fractionDigits?: number) => string;
|
71
|
-
toPrecision: (precision?: number) => string;
|
72
|
-
valueOf: () => number;
|
73
|
-
toLocaleString: {
|
74
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
75
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
76
|
-
};
|
77
|
-
};
|
46
|
+
colspan?: import("./props").SpanFunctionString;
|
47
|
+
rowspan?: import("./props").SpanFunctionString;
|
78
48
|
textAlign?: string;
|
79
49
|
className?: import("./props").RowClassFunctionString;
|
80
50
|
align?: string;
|
81
51
|
prop?: import("./props").LabelFunctionString;
|
82
|
-
index?:
|
83
|
-
toString: (radix?: number) => string;
|
84
|
-
toFixed: (fractionDigits?: number) => string;
|
85
|
-
toExponential: (fractionDigits?: number) => string;
|
86
|
-
toPrecision: (precision?: number) => string;
|
87
|
-
valueOf: () => number;
|
88
|
-
toLocaleString: {
|
89
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
90
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
91
|
-
};
|
92
|
-
};
|
52
|
+
index?: number;
|
93
53
|
explain?: boolean | {
|
94
54
|
content: import("./props").LabelFunctionString;
|
95
55
|
head: import("./props").LabelFunctionString;
|
@@ -131,53 +91,13 @@ declare const _default: (props: TablePropTypes) => {
|
|
131
91
|
height?: number;
|
132
92
|
maxHeight?: number;
|
133
93
|
};
|
134
|
-
colspan?: (
|
135
|
-
|
136
|
-
colIndex: any;
|
137
|
-
row: any;
|
138
|
-
rowIndex: any;
|
139
|
-
}) => number) | {
|
140
|
-
toString: (radix?: number) => string;
|
141
|
-
toFixed: (fractionDigits?: number) => string;
|
142
|
-
toExponential: (fractionDigits?: number) => string;
|
143
|
-
toPrecision: (precision?: number) => string;
|
144
|
-
valueOf: () => number;
|
145
|
-
toLocaleString: {
|
146
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
147
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
148
|
-
};
|
149
|
-
};
|
150
|
-
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
151
|
-
column: any;
|
152
|
-
colIndex: any;
|
153
|
-
row: any;
|
154
|
-
rowIndex: any;
|
155
|
-
}) => number) | {
|
156
|
-
toString: (radix?: number) => string;
|
157
|
-
toFixed: (fractionDigits?: number) => string;
|
158
|
-
toExponential: (fractionDigits?: number) => string;
|
159
|
-
toPrecision: (precision?: number) => string;
|
160
|
-
valueOf: () => number;
|
161
|
-
toLocaleString: {
|
162
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
163
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
164
|
-
};
|
165
|
-
};
|
94
|
+
colspan?: import("./props").SpanFunctionString;
|
95
|
+
rowspan?: import("./props").SpanFunctionString;
|
166
96
|
textAlign?: string;
|
167
97
|
className?: import("./props").RowClassFunctionString;
|
168
98
|
align?: string;
|
169
99
|
prop?: import("./props").LabelFunctionString;
|
170
|
-
index?:
|
171
|
-
toString: (radix?: number) => string;
|
172
|
-
toFixed: (fractionDigits?: number) => string;
|
173
|
-
toExponential: (fractionDigits?: number) => string;
|
174
|
-
toPrecision: (precision?: number) => string;
|
175
|
-
valueOf: () => number;
|
176
|
-
toLocaleString: {
|
177
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
178
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
179
|
-
};
|
180
|
-
};
|
100
|
+
index?: number;
|
181
101
|
explain?: boolean | {
|
182
102
|
content: import("./props").LabelFunctionString;
|
183
103
|
head: import("./props").LabelFunctionString;
|
@@ -219,53 +139,13 @@ declare const _default: (props: TablePropTypes) => {
|
|
219
139
|
height?: number;
|
220
140
|
maxHeight?: number;
|
221
141
|
};
|
222
|
-
colspan?: (
|
223
|
-
|
224
|
-
colIndex: any;
|
225
|
-
row: any;
|
226
|
-
rowIndex: any;
|
227
|
-
}) => number) | {
|
228
|
-
toString: (radix?: number) => string;
|
229
|
-
toFixed: (fractionDigits?: number) => string;
|
230
|
-
toExponential: (fractionDigits?: number) => string;
|
231
|
-
toPrecision: (precision?: number) => string;
|
232
|
-
valueOf: () => number;
|
233
|
-
toLocaleString: {
|
234
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
235
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
236
|
-
};
|
237
|
-
};
|
238
|
-
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
239
|
-
column: any;
|
240
|
-
colIndex: any;
|
241
|
-
row: any;
|
242
|
-
rowIndex: any;
|
243
|
-
}) => number) | {
|
244
|
-
toString: (radix?: number) => string;
|
245
|
-
toFixed: (fractionDigits?: number) => string;
|
246
|
-
toExponential: (fractionDigits?: number) => string;
|
247
|
-
toPrecision: (precision?: number) => string;
|
248
|
-
valueOf: () => number;
|
249
|
-
toLocaleString: {
|
250
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
251
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
252
|
-
};
|
253
|
-
};
|
142
|
+
colspan?: import("./props").SpanFunctionString;
|
143
|
+
rowspan?: import("./props").SpanFunctionString;
|
254
144
|
textAlign?: string;
|
255
145
|
className?: import("./props").RowClassFunctionString;
|
256
146
|
align?: string;
|
257
147
|
prop?: import("./props").LabelFunctionString;
|
258
|
-
index?:
|
259
|
-
toString: (radix?: number) => string;
|
260
|
-
toFixed: (fractionDigits?: number) => string;
|
261
|
-
toExponential: (fractionDigits?: number) => string;
|
262
|
-
toPrecision: (precision?: number) => string;
|
263
|
-
valueOf: () => number;
|
264
|
-
toLocaleString: {
|
265
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
266
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
267
|
-
};
|
268
|
-
};
|
148
|
+
index?: number;
|
269
149
|
explain?: boolean | {
|
270
150
|
content: import("./props").LabelFunctionString;
|
271
151
|
head: import("./props").LabelFunctionString;
|
@@ -23,10 +23,10 @@ export declare const useClass: (props: TablePropTypes, _targetColumns: ITableCol
|
|
23
23
|
height: string;
|
24
24
|
}>;
|
25
25
|
contentStyle: {
|
26
|
-
display:
|
27
|
-
minHeight:
|
28
|
-
height:
|
29
|
-
maxHeight:
|
26
|
+
display: boolean | string;
|
27
|
+
minHeight: number | string;
|
28
|
+
height: number | string;
|
29
|
+
maxHeight: number | string;
|
30
30
|
};
|
31
31
|
headStyle: import("vue").ComputedRef<{
|
32
32
|
'--row-height': string;
|
package/lib/table/utils.d.ts
CHANGED
@@ -19,7 +19,7 @@ export declare const resolveActiveColumns: (props: TablePropTypes) => number[];
|
|
19
19
|
* @returns
|
20
20
|
*/
|
21
21
|
export declare const resolveNumberToNumArray: (prop: number) => number[];
|
22
|
-
export declare const resolveWidth: (propWidth:
|
22
|
+
export declare const resolveWidth: (propWidth: number | string) => string | number;
|
23
23
|
/**
|
24
24
|
* 解析可为数字或者字符串设置的样式配置
|
25
25
|
* @param val 配置值
|
@@ -27,7 +27,7 @@ export declare const resolveWidth: (propWidth: string | number) => string | numb
|
|
27
27
|
* @param offset 偏移量
|
28
28
|
* @returns 标准化px string
|
29
29
|
*/
|
30
|
-
export declare const resolveNumberOrStringToPix: (val:
|
30
|
+
export declare const resolveNumberOrStringToPix: (val: number | string, defaultValue?: number | string, offset?: any) => string | number;
|
31
31
|
/**
|
32
32
|
* 格式化Border配置为标准Class
|
33
33
|
* @param val
|
@@ -62,7 +62,7 @@ export declare const observerResize: (root: HTMLElement, callbackFn: () => void,
|
|
62
62
|
* @param val
|
63
63
|
* @returns
|
64
64
|
*/
|
65
|
-
export declare const isPercentPixOrNumber: (val:
|
65
|
+
export declare const isPercentPixOrNumber: (val: number | string) => boolean;
|
66
66
|
/**
|
67
67
|
* Format Table Head Option
|
68
68
|
* @param props
|
@@ -80,7 +80,7 @@ export declare const resolveHeadConfig: (props: TablePropTypes) => {
|
|
80
80
|
* @param index 当前行Index
|
81
81
|
* @returns
|
82
82
|
*/
|
83
|
-
export declare const getRowText: (row: any, key: string, format?:
|
83
|
+
export declare const getRowText: (row: any, key: string, format?: (() => boolean | number | string)[] | string[]) => any;
|
84
84
|
/**
|
85
85
|
* 获取当前行指定列的值
|
86
86
|
* @param row 当前行
|
@@ -94,7 +94,7 @@ export declare const getRowValue: (row: any, key: string) => any;
|
|
94
94
|
* @param args 如果是function参数
|
95
95
|
* @returns
|
96
96
|
*/
|
97
|
-
export declare const formatPropAsArray: (prop:
|
97
|
+
export declare const formatPropAsArray: (prop: (() => any) | object | string, args: any[]) => any;
|
98
98
|
export declare const isRenderScrollBottomLoading: (props: TablePropTypes) => boolean;
|
99
99
|
export declare const getRowKey: (item: any, props: TablePropTypes, index: number) => any;
|
100
100
|
export declare const getRowKeyNull: (item: any, props: TablePropTypes, index: number) => unknown;
|
@@ -13,34 +13,24 @@ declare const BkTableColumn: {
|
|
13
13
|
default: string;
|
14
14
|
};
|
15
15
|
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
16
|
-
type: import("vue-types").VueTypeDef<"index" | "
|
16
|
+
type: import("vue-types").VueTypeDef<"index" | "expand" | "__COL_TYPE_NONE" | "selection">;
|
17
17
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
18
18
|
default: boolean;
|
19
19
|
} & {
|
20
20
|
default: boolean;
|
21
21
|
};
|
22
|
-
fixed: import("vue-types").VueTypeDef<boolean | "
|
23
|
-
default: boolean | "
|
22
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
23
|
+
default: boolean | "left" | "right";
|
24
24
|
};
|
25
25
|
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
26
26
|
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
27
27
|
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
28
|
-
default: (
|
29
|
-
column: any;
|
30
|
-
colIndex: any;
|
31
|
-
row: any;
|
32
|
-
rowIndex: any;
|
33
|
-
}) => number) | (() => Number);
|
28
|
+
default: import("../table/props").SpanFunctionString;
|
34
29
|
};
|
35
30
|
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
36
|
-
default: (
|
37
|
-
column: any;
|
38
|
-
colIndex: any;
|
39
|
-
row: any;
|
40
|
-
rowIndex: any;
|
41
|
-
}) => number) | (() => Number);
|
31
|
+
default: import("../table/props").SpanFunctionString;
|
42
32
|
};
|
43
|
-
align: import("vue-types").VueTypeDef<"" | "
|
33
|
+
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
44
34
|
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
45
35
|
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
46
36
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -50,43 +40,13 @@ declare const BkTableColumn: {
|
|
50
40
|
};
|
51
41
|
}>>, {
|
52
42
|
column: {
|
53
|
-
fixed?: boolean | "
|
43
|
+
fixed?: boolean | "left" | "right";
|
54
44
|
resizable?: boolean;
|
55
45
|
minWidth?: string | number;
|
56
46
|
index?: number;
|
57
47
|
columnKey?: string;
|
58
|
-
colspan?: (
|
59
|
-
|
60
|
-
colIndex: any;
|
61
|
-
row: any;
|
62
|
-
rowIndex: any;
|
63
|
-
}) => number) | {
|
64
|
-
toString: (radix?: number) => string;
|
65
|
-
toFixed: (fractionDigits?: number) => string;
|
66
|
-
toExponential: (fractionDigits?: number) => string;
|
67
|
-
toPrecision: (precision?: number) => string;
|
68
|
-
valueOf: () => number;
|
69
|
-
toLocaleString: {
|
70
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
71
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
72
|
-
};
|
73
|
-
};
|
74
|
-
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
75
|
-
column: any;
|
76
|
-
colIndex: any;
|
77
|
-
row: any;
|
78
|
-
rowIndex: any;
|
79
|
-
}) => number) | {
|
80
|
-
toString: (radix?: number) => string;
|
81
|
-
toFixed: (fractionDigits?: number) => string;
|
82
|
-
toExponential: (fractionDigits?: number) => string;
|
83
|
-
toPrecision: (precision?: number) => string;
|
84
|
-
valueOf: () => number;
|
85
|
-
toLocaleString: {
|
86
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
87
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
88
|
-
};
|
89
|
-
};
|
48
|
+
colspan?: import("../table/props").SpanFunctionString;
|
49
|
+
rowspan?: import("../table/props").SpanFunctionString;
|
90
50
|
render?: import("../table/props").RenderFunctionString;
|
91
51
|
sort?: string | boolean | {
|
92
52
|
sortFn?: Function;
|
@@ -104,11 +64,11 @@ declare const BkTableColumn: {
|
|
104
64
|
height?: number;
|
105
65
|
maxHeight?: number;
|
106
66
|
};
|
107
|
-
type?: "index" | "
|
67
|
+
type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
|
108
68
|
label?: import("../table/props").LabelFunctionString;
|
109
69
|
width?: string | number;
|
110
70
|
className?: import("../table/props").RowClassFunctionString;
|
111
|
-
align?: "" | "
|
71
|
+
align?: "" | "left" | "right" | "center";
|
112
72
|
showOverflowTooltip?: boolean | {
|
113
73
|
content: string | ((col: import("../../bkui-vue").TableIColumn, row: any) => string);
|
114
74
|
disabled?: boolean | ((col: import("../../bkui-vue").TableIColumn, row: any) => boolean);
|
@@ -135,34 +95,24 @@ declare const BkTableColumn: {
|
|
135
95
|
default: string;
|
136
96
|
};
|
137
97
|
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
138
|
-
type: import("vue-types").VueTypeDef<"index" | "
|
98
|
+
type: import("vue-types").VueTypeDef<"index" | "expand" | "__COL_TYPE_NONE" | "selection">;
|
139
99
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
140
100
|
default: boolean;
|
141
101
|
} & {
|
142
102
|
default: boolean;
|
143
103
|
};
|
144
|
-
fixed: import("vue-types").VueTypeDef<boolean | "
|
145
|
-
default: boolean | "
|
104
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
105
|
+
default: boolean | "left" | "right";
|
146
106
|
};
|
147
107
|
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
148
108
|
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
149
109
|
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
150
|
-
default: (
|
151
|
-
column: any;
|
152
|
-
colIndex: any;
|
153
|
-
row: any;
|
154
|
-
rowIndex: any;
|
155
|
-
}) => number) | (() => Number);
|
110
|
+
default: import("../table/props").SpanFunctionString;
|
156
111
|
};
|
157
112
|
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
158
|
-
default: (
|
159
|
-
column: any;
|
160
|
-
colIndex: any;
|
161
|
-
row: any;
|
162
|
-
rowIndex: any;
|
163
|
-
}) => number) | (() => Number);
|
113
|
+
default: import("../table/props").SpanFunctionString;
|
164
114
|
};
|
165
|
-
align: import("vue-types").VueTypeDef<"" | "
|
115
|
+
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
166
116
|
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
167
117
|
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
168
118
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -171,7 +121,7 @@ declare const BkTableColumn: {
|
|
171
121
|
default: number;
|
172
122
|
};
|
173
123
|
}>>, {
|
174
|
-
fixed: boolean | "
|
124
|
+
fixed: boolean | "left" | "right";
|
175
125
|
resizable: boolean;
|
176
126
|
minWidth: string | number;
|
177
127
|
index: number;
|
@@ -199,34 +149,24 @@ declare const BkTableColumn: {
|
|
199
149
|
default: string;
|
200
150
|
};
|
201
151
|
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
202
|
-
type: import("vue-types").VueTypeDef<"index" | "
|
152
|
+
type: import("vue-types").VueTypeDef<"index" | "expand" | "__COL_TYPE_NONE" | "selection">;
|
203
153
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
204
154
|
default: boolean;
|
205
155
|
} & {
|
206
156
|
default: boolean;
|
207
157
|
};
|
208
|
-
fixed: import("vue-types").VueTypeDef<boolean | "
|
209
|
-
default: boolean | "
|
158
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
159
|
+
default: boolean | "left" | "right";
|
210
160
|
};
|
211
161
|
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
212
162
|
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
213
163
|
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
214
|
-
default: (
|
215
|
-
column: any;
|
216
|
-
colIndex: any;
|
217
|
-
row: any;
|
218
|
-
rowIndex: any;
|
219
|
-
}) => number) | (() => Number);
|
164
|
+
default: import("../table/props").SpanFunctionString;
|
220
165
|
};
|
221
166
|
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
222
|
-
default: (
|
223
|
-
column: any;
|
224
|
-
colIndex: any;
|
225
|
-
row: any;
|
226
|
-
rowIndex: any;
|
227
|
-
}) => number) | (() => Number);
|
167
|
+
default: import("../table/props").SpanFunctionString;
|
228
168
|
};
|
229
|
-
align: import("vue-types").VueTypeDef<"" | "
|
169
|
+
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
230
170
|
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
231
171
|
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
232
172
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -236,43 +176,13 @@ declare const BkTableColumn: {
|
|
236
176
|
};
|
237
177
|
}>>, {
|
238
178
|
column: {
|
239
|
-
fixed?: boolean | "
|
179
|
+
fixed?: boolean | "left" | "right";
|
240
180
|
resizable?: boolean;
|
241
181
|
minWidth?: string | number;
|
242
182
|
index?: number;
|
243
183
|
columnKey?: string;
|
244
|
-
colspan?: (
|
245
|
-
|
246
|
-
colIndex: any;
|
247
|
-
row: any;
|
248
|
-
rowIndex: any;
|
249
|
-
}) => number) | {
|
250
|
-
toString: (radix?: number) => string;
|
251
|
-
toFixed: (fractionDigits?: number) => string;
|
252
|
-
toExponential: (fractionDigits?: number) => string;
|
253
|
-
toPrecision: (precision?: number) => string;
|
254
|
-
valueOf: () => number;
|
255
|
-
toLocaleString: {
|
256
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
257
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
258
|
-
};
|
259
|
-
};
|
260
|
-
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
261
|
-
column: any;
|
262
|
-
colIndex: any;
|
263
|
-
row: any;
|
264
|
-
rowIndex: any;
|
265
|
-
}) => number) | {
|
266
|
-
toString: (radix?: number) => string;
|
267
|
-
toFixed: (fractionDigits?: number) => string;
|
268
|
-
toExponential: (fractionDigits?: number) => string;
|
269
|
-
toPrecision: (precision?: number) => string;
|
270
|
-
valueOf: () => number;
|
271
|
-
toLocaleString: {
|
272
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
273
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
274
|
-
};
|
275
|
-
};
|
184
|
+
colspan?: import("../table/props").SpanFunctionString;
|
185
|
+
rowspan?: import("../table/props").SpanFunctionString;
|
276
186
|
render?: import("../table/props").RenderFunctionString;
|
277
187
|
sort?: string | boolean | {
|
278
188
|
sortFn?: Function;
|
@@ -290,11 +200,11 @@ declare const BkTableColumn: {
|
|
290
200
|
height?: number;
|
291
201
|
maxHeight?: number;
|
292
202
|
};
|
293
|
-
type?: "index" | "
|
203
|
+
type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
|
294
204
|
label?: import("../table/props").LabelFunctionString;
|
295
205
|
width?: string | number;
|
296
206
|
className?: import("../table/props").RowClassFunctionString;
|
297
|
-
align?: "" | "
|
207
|
+
align?: "" | "left" | "right" | "center";
|
298
208
|
showOverflowTooltip?: boolean | {
|
299
209
|
content: string | ((col: import("../../bkui-vue").TableIColumn, row: any) => string);
|
300
210
|
disabled?: boolean | ((col: import("../../bkui-vue").TableIColumn, row: any) => boolean);
|
@@ -308,7 +218,7 @@ declare const BkTableColumn: {
|
|
308
218
|
prop?: import("../table/props").LabelFunctionString;
|
309
219
|
};
|
310
220
|
}, {}, {}, {}, {
|
311
|
-
fixed: boolean | "
|
221
|
+
fixed: boolean | "left" | "right";
|
312
222
|
resizable: boolean;
|
313
223
|
minWidth: string | number;
|
314
224
|
index: number;
|
@@ -333,34 +243,24 @@ declare const BkTableColumn: {
|
|
333
243
|
default: string;
|
334
244
|
};
|
335
245
|
showOverflowTooltip: import("vue-types").VueTypeDef<import("../table/props").IOverflowTooltipProp>;
|
336
|
-
type: import("vue-types").VueTypeDef<"index" | "
|
246
|
+
type: import("vue-types").VueTypeDef<"index" | "expand" | "__COL_TYPE_NONE" | "selection">;
|
337
247
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
338
248
|
default: boolean;
|
339
249
|
} & {
|
340
250
|
default: boolean;
|
341
251
|
};
|
342
|
-
fixed: import("vue-types").VueTypeDef<boolean | "
|
343
|
-
default: boolean | "
|
252
|
+
fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
|
253
|
+
default: boolean | "left" | "right";
|
344
254
|
};
|
345
255
|
sort: import("vue-types").VueTypeDef<import("../table/props").ISortPropShape>;
|
346
256
|
filter: import("vue-types").VueTypeDef<import("../table/props").IFilterPropShape>;
|
347
257
|
colspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
348
|
-
default: (
|
349
|
-
column: any;
|
350
|
-
colIndex: any;
|
351
|
-
row: any;
|
352
|
-
rowIndex: any;
|
353
|
-
}) => number) | (() => Number);
|
258
|
+
default: import("../table/props").SpanFunctionString;
|
354
259
|
};
|
355
260
|
rowspan: import("vue-types").VueTypeDef<import("../table/props").SpanFunctionString> & {
|
356
|
-
default: (
|
357
|
-
column: any;
|
358
|
-
colIndex: any;
|
359
|
-
row: any;
|
360
|
-
rowIndex: any;
|
361
|
-
}) => number) | (() => Number);
|
261
|
+
default: import("../table/props").SpanFunctionString;
|
362
262
|
};
|
363
|
-
align: import("vue-types").VueTypeDef<"" | "
|
263
|
+
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
364
264
|
className: import("vue-types").VueTypeDef<import("../table/props").RowClassFunctionString>;
|
365
265
|
prop: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
366
266
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -370,43 +270,13 @@ declare const BkTableColumn: {
|
|
370
270
|
};
|
371
271
|
}>>, {
|
372
272
|
column: {
|
373
|
-
fixed?: boolean | "
|
273
|
+
fixed?: boolean | "left" | "right";
|
374
274
|
resizable?: boolean;
|
375
275
|
minWidth?: string | number;
|
376
276
|
index?: number;
|
377
277
|
columnKey?: string;
|
378
|
-
colspan?: (
|
379
|
-
|
380
|
-
colIndex: any;
|
381
|
-
row: any;
|
382
|
-
rowIndex: any;
|
383
|
-
}) => number) | {
|
384
|
-
toString: (radix?: number) => string;
|
385
|
-
toFixed: (fractionDigits?: number) => string;
|
386
|
-
toExponential: (fractionDigits?: number) => string;
|
387
|
-
toPrecision: (precision?: number) => string;
|
388
|
-
valueOf: () => number;
|
389
|
-
toLocaleString: {
|
390
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
391
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
392
|
-
};
|
393
|
-
};
|
394
|
-
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
395
|
-
column: any;
|
396
|
-
colIndex: any;
|
397
|
-
row: any;
|
398
|
-
rowIndex: any;
|
399
|
-
}) => number) | {
|
400
|
-
toString: (radix?: number) => string;
|
401
|
-
toFixed: (fractionDigits?: number) => string;
|
402
|
-
toExponential: (fractionDigits?: number) => string;
|
403
|
-
toPrecision: (precision?: number) => string;
|
404
|
-
valueOf: () => number;
|
405
|
-
toLocaleString: {
|
406
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
407
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
408
|
-
};
|
409
|
-
};
|
278
|
+
colspan?: import("../table/props").SpanFunctionString;
|
279
|
+
rowspan?: import("../table/props").SpanFunctionString;
|
410
280
|
render?: import("../table/props").RenderFunctionString;
|
411
281
|
sort?: string | boolean | {
|
412
282
|
sortFn?: Function;
|
@@ -424,11 +294,11 @@ declare const BkTableColumn: {
|
|
424
294
|
height?: number;
|
425
295
|
maxHeight?: number;
|
426
296
|
};
|
427
|
-
type?: "index" | "
|
297
|
+
type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
|
428
298
|
label?: import("../table/props").LabelFunctionString;
|
429
299
|
width?: string | number;
|
430
300
|
className?: import("../table/props").RowClassFunctionString;
|
431
|
-
align?: "" | "
|
301
|
+
align?: "" | "left" | "right" | "center";
|
432
302
|
showOverflowTooltip?: boolean | {
|
433
303
|
content: string | ((col: import("../../bkui-vue").TableIColumn, row: any) => string);
|
434
304
|
disabled?: boolean | ((col: import("../../bkui-vue").TableIColumn, row: any) => boolean);
|
@@ -442,7 +312,7 @@ declare const BkTableColumn: {
|
|
442
312
|
prop?: import("../table/props").LabelFunctionString;
|
443
313
|
};
|
444
314
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
445
|
-
fixed: boolean | "
|
315
|
+
fixed: boolean | "left" | "right";
|
446
316
|
resizable: boolean;
|
447
317
|
minWidth: string | number;
|
448
318
|
index: number;
|