bkui-vue 1.0.0 → 1.0.1
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/README.md +1 -0
- package/dist/index.cjs.js +47 -47
- package/dist/index.esm.js +10405 -10394
- package/dist/index.umd.js +47 -47
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +19 -19
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/backtop/index.d.ts +69 -117
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +19 -20
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +233 -234
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +39 -41
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +381 -438
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +21 -21
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +128 -154
- package/lib/color-picker/index.js +25 -28
- package/lib/config-provider/config-provider.d.ts +9 -0
- package/lib/config-provider/index.d.ts +168 -223
- package/lib/config-provider/index.js +19 -19
- package/lib/config-provider/token.d.ts +3 -0
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +19 -19
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +384 -351
- package/lib/date-picker/index.js +92 -104
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/index.d.ts +355 -309
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.js +27 -27
- package/lib/divider/index.d.ts +57 -111
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +17 -17
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +18 -19
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/form/form.css +3 -0
- package/lib/form/form.d.ts +1 -1
- package/lib/form/form.less +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +29 -27
- package/lib/icon/angle-double-down-line.js +21 -21
- package/lib/icon/angle-double-left-line.js +21 -21
- package/lib/icon/angle-double-left.js +21 -21
- package/lib/icon/angle-double-right-line.js +21 -21
- package/lib/icon/angle-double-right.js +21 -21
- package/lib/icon/angle-double-up-line.js +21 -21
- package/lib/icon/angle-down-fill.js +21 -21
- package/lib/icon/angle-down-line.js +21 -21
- package/lib/icon/angle-down.js +21 -21
- package/lib/icon/angle-left.js +21 -21
- package/lib/icon/angle-right.js +21 -21
- package/lib/icon/angle-up-fill.js +21 -21
- package/lib/icon/angle-up.js +21 -21
- package/lib/icon/archive-fill.js +21 -21
- package/lib/icon/arrows-left.js +21 -21
- package/lib/icon/arrows-right.js +21 -21
- package/lib/icon/assistant.js +21 -21
- package/lib/icon/audio-fill.js +21 -21
- package/lib/icon/bk.js +21 -21
- package/lib/icon/circle.js +21 -21
- package/lib/icon/close-line.js +21 -21
- package/lib/icon/close.js +21 -21
- package/lib/icon/code.js +21 -21
- package/lib/icon/cog-shape.js +21 -21
- package/lib/icon/collapse-left.js +21 -21
- package/lib/icon/copy-shape.js +21 -21
- package/lib/icon/copy.js +21 -21
- package/lib/icon/data-shape.js +21 -21
- package/lib/icon/del.js +21 -21
- package/lib/icon/doc-fill.js +21 -21
- package/lib/icon/done.js +21 -21
- package/lib/icon/down-shape.js +21 -21
- package/lib/icon/down-small.js +21 -21
- package/lib/icon/edit-line.js +21 -21
- package/lib/icon/ellipsis.js +21 -21
- package/lib/icon/enlarge-line.js +21 -21
- package/lib/icon/error.js +21 -21
- package/lib/icon/excel-fill.js +21 -21
- package/lib/icon/exclamation-circle-shape.js +21 -21
- package/lib/icon/eye.js +21 -21
- package/lib/icon/filliscreen-line.js +21 -21
- package/lib/icon/fix-line.js +21 -21
- package/lib/icon/fix-shape.js +21 -21
- package/lib/icon/folder-open.js +21 -21
- package/lib/icon/folder-shape-open.js +21 -21
- package/lib/icon/folder-shape.js +21 -21
- package/lib/icon/folder.js +21 -21
- package/lib/icon/funnel.js +21 -21
- package/lib/icon/grag-fill.js +21 -21
- package/lib/icon/help-document-fill.js +21 -21
- package/lib/icon/help-fill.js +21 -21
- package/lib/icon/help.js +21 -21
- package/lib/icon/image-fill.js +22 -22
- package/lib/icon/img-error.js +22 -22
- package/lib/icon/img-placehoulder.js +22 -22
- package/lib/icon/index.js +192 -192
- package/lib/icon/info-line.js +22 -22
- package/lib/icon/info.js +22 -22
- package/lib/icon/left-shape.js +22 -22
- package/lib/icon/left-turn-line.js +22 -22
- package/lib/icon/loading.js +22 -22
- package/lib/icon/narrow-line.js +22 -22
- package/lib/icon/original.js +22 -22
- package/lib/icon/pdf-fill.js +22 -22
- package/lib/icon/play-shape.js +22 -22
- package/lib/icon/plus.js +22 -22
- package/lib/icon/ppt-fill.js +22 -22
- package/lib/icon/qq.js +22 -22
- package/lib/icon/right-shape.js +22 -22
- package/lib/icon/right-turn-line.js +22 -22
- package/lib/icon/search.js +22 -22
- package/lib/icon/share.js +22 -22
- package/lib/icon/spinner.js +22 -22
- package/lib/icon/success.js +22 -22
- package/lib/icon/switcher-loading.js +22 -22
- package/lib/icon/text-file.js +22 -22
- package/lib/icon/text-fill.js +22 -22
- package/lib/icon/transfer.js +22 -22
- package/lib/icon/tree-application-shape.js +22 -22
- package/lib/icon/unfull-screen.js +22 -22
- package/lib/icon/unvisible.js +22 -22
- package/lib/icon/up-shape.js +22 -22
- package/lib/icon/upload.js +22 -22
- package/lib/icon/video-fill.js +22 -22
- package/lib/icon/warn.js +22 -22
- package/lib/icon/weixin-pro.js +22 -22
- package/lib/icon/weixin.js +22 -22
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +19 -19
- package/lib/info-box/index.js +231 -232
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +256 -258
- package/lib/link/index.d.ts +73 -122
- package/lib/loading/index.d.ts +132 -158
- package/lib/loading/index.js +23 -25
- package/lib/loading/loading.d.ts +4 -4
- package/lib/locale/index.js +8 -12
- package/lib/locale/lang/en.d.ts +3 -0
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +25 -25
- package/lib/message/index.js +28 -30
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +261 -249
- package/lib/modal/index.js +492 -33
- package/lib/navigation/index.d.ts +152 -188
- package/lib/notify/index.js +22 -24
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +1 -1
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +49 -56
- package/lib/plugin-popover/index.js +192 -98
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +0 -1
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +374 -330
- package/lib/popover/index.js +192 -98
- package/lib/popover2/index.d.ts +8 -83
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +225 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +19 -19
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +41 -43
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/search-select/index.d.ts +292 -327
- package/lib/search-select/index.js +239 -240
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +3 -3
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/select/index.d.ts +1234 -1135
- package/lib/select/index.js +259 -262
- package/lib/select/select.d.ts +121 -161
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/helper.d.ts +4 -0
- package/lib/shared/index.js +81 -63
- package/lib/sideslider/index.d.ts +247 -233
- package/lib/sideslider/index.js +241 -247
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +208 -209
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +227 -228
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +23 -25
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +81 -95
- package/lib/table/plugins/use-pagination.d.ts +1 -1
- package/lib/table/table.d.ts +1 -1
- package/lib/table/use-common.d.ts +67 -34
- package/lib/table-column/index.d.ts +207 -243
- package/lib/table-column/index.js +18 -19
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +54 -62
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +191 -206
- package/lib/tree/index.d.ts +322 -288
- package/lib/tree/index.js +36 -39
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +281 -254
- package/lib/upload/index.js +254 -257
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +30 -30
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +6 -13
@@ -1,85 +1,133 @@
|
|
1
1
|
declare const BkTableColumn: {
|
2
|
-
new (...args: any[]): {
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
+
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
4
|
+
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
5
|
+
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
6
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
7
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
8
|
+
default: string | number;
|
9
|
+
};
|
10
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
11
|
+
default: string;
|
12
|
+
} & {
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp>;
|
16
|
+
type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
17
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
18
|
+
default: boolean;
|
19
|
+
} & {
|
20
|
+
default: boolean;
|
21
|
+
};
|
22
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
23
|
+
default: boolean | "right" | "left";
|
24
|
+
};
|
25
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape>;
|
26
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape>;
|
27
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
28
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
29
|
+
column: any;
|
30
|
+
colIndex: any;
|
31
|
+
row: any;
|
32
|
+
rowIndex: any;
|
33
|
+
}) => number) | (() => Number);
|
34
|
+
};
|
35
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
36
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
37
|
+
column: any;
|
38
|
+
colIndex: any;
|
39
|
+
row: any;
|
40
|
+
rowIndex: any;
|
41
|
+
}) => number) | (() => Number);
|
42
|
+
};
|
43
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
44
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
45
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
46
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
47
|
+
default: number;
|
48
|
+
} & {
|
49
|
+
default: number;
|
50
|
+
};
|
51
|
+
}>>, {
|
52
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
53
|
+
bkTableCache: {
|
54
|
+
queueStack: (_: any, fn: any) => any;
|
55
|
+
};
|
56
|
+
column: {
|
6
57
|
fixed?: boolean | "right" | "left";
|
7
|
-
minWidth?: string | number;
|
8
58
|
resizable?: boolean;
|
59
|
+
minWidth?: string | number;
|
9
60
|
index?: number;
|
10
61
|
columnKey?: string;
|
11
|
-
colspan?:
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
}
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
}
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
$emit: (event: string, ...args: any[]) => void;
|
81
|
-
$el: any;
|
82
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
62
|
+
colspan?: (({ 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
|
+
};
|
78
|
+
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
79
|
+
column: any;
|
80
|
+
colIndex: any;
|
81
|
+
row: any;
|
82
|
+
rowIndex: any;
|
83
|
+
}) => number) | {
|
84
|
+
toString: (radix?: number) => string;
|
85
|
+
toFixed: (fractionDigits?: number) => string;
|
86
|
+
toExponential: (fractionDigits?: number) => string;
|
87
|
+
toPrecision: (precision?: number) => string;
|
88
|
+
valueOf: () => number;
|
89
|
+
toLocaleString: {
|
90
|
+
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
91
|
+
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
92
|
+
};
|
93
|
+
};
|
94
|
+
render?: import("../../table/src/props").RenderFunctionString;
|
95
|
+
sort?: string | boolean | {
|
96
|
+
sortFn?: Function;
|
97
|
+
sortScope?: import("../../table/src/props").SortScope;
|
98
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
99
|
+
};
|
100
|
+
filter?: string | boolean | {
|
101
|
+
list: any[];
|
102
|
+
filterFn?: Function;
|
103
|
+
match?: import("../../table/src/props").FullEnum;
|
104
|
+
checked?: any[];
|
105
|
+
filterScope?: import("../../table/src/props").SortScope;
|
106
|
+
btnSave?: string | boolean;
|
107
|
+
btnReset?: string | boolean;
|
108
|
+
height?: number;
|
109
|
+
maxHeight?: number;
|
110
|
+
};
|
111
|
+
type?: "none" | "index" | "selection" | "expand";
|
112
|
+
label?: import("../../table/src/props").LabelFunctionString;
|
113
|
+
width?: string | number;
|
114
|
+
className?: import("../../table/src/props").RowClassFunctionString;
|
115
|
+
align?: "" | "right" | "left" | "center";
|
116
|
+
showOverflowTooltip?: boolean | {
|
117
|
+
content: string | Function;
|
118
|
+
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
119
|
+
watchCellResize?: boolean;
|
120
|
+
mode?: "auto" | "static";
|
121
|
+
popoverOption?: any;
|
122
|
+
resizerWay?: import("../../table/src/props").ResizerWay;
|
123
|
+
showHead?: boolean;
|
124
|
+
};
|
125
|
+
field: import("../../table/src/props").LabelFunctionString;
|
126
|
+
prop?: import("../../table/src/props").LabelFunctionString;
|
127
|
+
};
|
128
|
+
}, unknown, {}, {
|
129
|
+
updateColumnDefine(unmounted?: boolean): void;
|
130
|
+
copyProps(props: Partial<import("vue").ExtractPropTypes<{
|
83
131
|
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
84
132
|
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
85
133
|
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
@@ -128,166 +176,10 @@ declare const BkTableColumn: {
|
|
128
176
|
} & {
|
129
177
|
default: number;
|
130
178
|
};
|
131
|
-
}
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
};
|
136
|
-
column: {
|
137
|
-
fixed?: boolean | "right" | "left";
|
138
|
-
minWidth?: string | number;
|
139
|
-
resizable?: boolean;
|
140
|
-
index?: number;
|
141
|
-
columnKey?: string;
|
142
|
-
colspan?: (({ column, colIndex, row, rowIndex }: {
|
143
|
-
column: any;
|
144
|
-
colIndex: any;
|
145
|
-
row: any;
|
146
|
-
rowIndex: any;
|
147
|
-
}) => number) | {
|
148
|
-
toString: (radix?: number) => string;
|
149
|
-
toFixed: (fractionDigits?: number) => string;
|
150
|
-
toExponential: (fractionDigits?: number) => string;
|
151
|
-
toPrecision: (precision?: number) => string;
|
152
|
-
valueOf: () => number;
|
153
|
-
toLocaleString: {
|
154
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
155
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
156
|
-
};
|
157
|
-
};
|
158
|
-
rowspan?: (({ column, colIndex, row, rowIndex }: {
|
159
|
-
column: any;
|
160
|
-
colIndex: any;
|
161
|
-
row: any;
|
162
|
-
rowIndex: any;
|
163
|
-
}) => number) | {
|
164
|
-
toString: (radix?: number) => string;
|
165
|
-
toFixed: (fractionDigits?: number) => string;
|
166
|
-
toExponential: (fractionDigits?: number) => string;
|
167
|
-
toPrecision: (precision?: number) => string;
|
168
|
-
valueOf: () => number;
|
169
|
-
toLocaleString: {
|
170
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
171
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
172
|
-
};
|
173
|
-
};
|
174
|
-
render?: import("../../table/src/props").RenderFunctionString;
|
175
|
-
sort?: string | boolean | {
|
176
|
-
sortFn?: Function;
|
177
|
-
sortScope?: import("../../table/src/props").SortScope;
|
178
|
-
value?: import("../../table/src/const").SORT_OPTION;
|
179
|
-
};
|
180
|
-
filter?: string | boolean | {
|
181
|
-
list: any[];
|
182
|
-
filterFn?: Function;
|
183
|
-
match?: import("../../table/src/props").FullEnum;
|
184
|
-
checked?: any[];
|
185
|
-
filterScope?: import("../../table/src/props").SortScope;
|
186
|
-
btnSave?: string | boolean;
|
187
|
-
btnReset?: string | boolean;
|
188
|
-
height?: number;
|
189
|
-
maxHeight?: number;
|
190
|
-
};
|
191
|
-
type?: "none" | "index" | "selection" | "expand";
|
192
|
-
label?: import("../../table/src/props").LabelFunctionString;
|
193
|
-
width?: string | number;
|
194
|
-
className?: import("../../table/src/props").RowClassFunctionString;
|
195
|
-
align?: "" | "right" | "left" | "center";
|
196
|
-
showOverflowTooltip?: boolean | {
|
197
|
-
content: string | Function;
|
198
|
-
disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
|
199
|
-
watchCellResize?: boolean;
|
200
|
-
mode?: "auto" | "static";
|
201
|
-
popoverOption?: any;
|
202
|
-
resizerWay?: import("../../table/src/props").ResizerWay;
|
203
|
-
showHead?: boolean;
|
204
|
-
};
|
205
|
-
field: import("../../table/src/props").LabelFunctionString;
|
206
|
-
prop?: import("../../table/src/props").LabelFunctionString;
|
207
|
-
};
|
208
|
-
}, unknown, {}, {
|
209
|
-
updateColumnDefine(unmounted?: boolean): void;
|
210
|
-
copyProps(props: Partial<import("vue").ExtractPropTypes<{
|
211
|
-
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
212
|
-
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
213
|
-
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
214
|
-
width: import("vue-types").VueTypeDef<string | number>;
|
215
|
-
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
216
|
-
default: string | number;
|
217
|
-
};
|
218
|
-
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
219
|
-
default: string;
|
220
|
-
} & {
|
221
|
-
default: string;
|
222
|
-
};
|
223
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp>;
|
224
|
-
type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
225
|
-
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
226
|
-
default: boolean;
|
227
|
-
} & {
|
228
|
-
default: boolean;
|
229
|
-
};
|
230
|
-
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
231
|
-
default: boolean | "right" | "left";
|
232
|
-
};
|
233
|
-
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape>;
|
234
|
-
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape>;
|
235
|
-
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
236
|
-
default: (({ column, colIndex, row, rowIndex }: {
|
237
|
-
column: any;
|
238
|
-
colIndex: any;
|
239
|
-
row: any;
|
240
|
-
rowIndex: any;
|
241
|
-
}) => number) | (() => Number);
|
242
|
-
};
|
243
|
-
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
244
|
-
default: (({ column, colIndex, row, rowIndex }: {
|
245
|
-
column: any;
|
246
|
-
colIndex: any;
|
247
|
-
row: any;
|
248
|
-
rowIndex: any;
|
249
|
-
}) => number) | (() => Number);
|
250
|
-
};
|
251
|
-
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
252
|
-
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
253
|
-
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
254
|
-
index: import("vue-types").VueTypeValidableDef<number> & {
|
255
|
-
default: number;
|
256
|
-
} & {
|
257
|
-
default: number;
|
258
|
-
};
|
259
|
-
}>>): {};
|
260
|
-
updateColumnDefineByParent(): void;
|
261
|
-
unmountColumn(): void;
|
262
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
263
|
-
fixed: boolean | "right" | "left";
|
264
|
-
minWidth: string | number;
|
265
|
-
resizable: boolean;
|
266
|
-
index: number;
|
267
|
-
columnKey: string;
|
268
|
-
colspan: import("../../table/src/props").SpanFunctionString;
|
269
|
-
rowspan: import("../../table/src/props").SpanFunctionString;
|
270
|
-
}, {}, string, {}> & {
|
271
|
-
beforeCreate?: (() => void) | (() => void)[];
|
272
|
-
created?: (() => void) | (() => void)[];
|
273
|
-
beforeMount?: (() => void) | (() => void)[];
|
274
|
-
mounted?: (() => void) | (() => void)[];
|
275
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
276
|
-
updated?: (() => void) | (() => void)[];
|
277
|
-
activated?: (() => void) | (() => void)[];
|
278
|
-
deactivated?: (() => void) | (() => void)[];
|
279
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
280
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
281
|
-
destroyed?: (() => void) | (() => void)[];
|
282
|
-
unmounted?: (() => void) | (() => void)[];
|
283
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
284
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
285
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
286
|
-
};
|
287
|
-
$forceUpdate: () => void;
|
288
|
-
$nextTick: typeof import("vue").nextTick;
|
289
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
290
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
179
|
+
}>>): {};
|
180
|
+
updateColumnDefineByParent(): void;
|
181
|
+
unmountColumn(): void;
|
182
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
291
183
|
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
292
184
|
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
293
185
|
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
@@ -336,15 +228,79 @@ declare const BkTableColumn: {
|
|
336
228
|
} & {
|
337
229
|
default: number;
|
338
230
|
};
|
339
|
-
}
|
231
|
+
}>>, {
|
232
|
+
fixed: boolean | "right" | "left";
|
233
|
+
resizable: boolean;
|
234
|
+
minWidth: string | number;
|
235
|
+
index: number;
|
236
|
+
columnKey: string;
|
237
|
+
colspan: import("../../table/src/props").SpanFunctionString;
|
238
|
+
rowspan: import("../../table/src/props").SpanFunctionString;
|
239
|
+
}, true, {}, {}, {
|
240
|
+
P: {};
|
241
|
+
B: {};
|
242
|
+
D: {};
|
243
|
+
C: {};
|
244
|
+
M: {};
|
245
|
+
Defaults: {};
|
246
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
247
|
+
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
248
|
+
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
249
|
+
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
250
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
251
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
252
|
+
default: string | number;
|
253
|
+
};
|
254
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
255
|
+
default: string;
|
256
|
+
} & {
|
257
|
+
default: string;
|
258
|
+
};
|
259
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp>;
|
260
|
+
type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
261
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
262
|
+
default: boolean;
|
263
|
+
} & {
|
264
|
+
default: boolean;
|
265
|
+
};
|
266
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
267
|
+
default: boolean | "right" | "left";
|
268
|
+
};
|
269
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape>;
|
270
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape>;
|
271
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
272
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
273
|
+
column: any;
|
274
|
+
colIndex: any;
|
275
|
+
row: any;
|
276
|
+
rowIndex: any;
|
277
|
+
}) => number) | (() => Number);
|
278
|
+
};
|
279
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
280
|
+
default: (({ column, colIndex, row, rowIndex }: {
|
281
|
+
column: any;
|
282
|
+
colIndex: any;
|
283
|
+
row: any;
|
284
|
+
rowIndex: any;
|
285
|
+
}) => number) | (() => Number);
|
286
|
+
};
|
287
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
288
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
289
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
290
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
291
|
+
default: number;
|
292
|
+
} & {
|
293
|
+
default: number;
|
294
|
+
};
|
295
|
+
}>>, {
|
340
296
|
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
341
297
|
bkTableCache: {
|
342
298
|
queueStack: (_: any, fn: any) => any;
|
343
299
|
};
|
344
300
|
column: {
|
345
301
|
fixed?: boolean | "right" | "left";
|
346
|
-
minWidth?: string | number;
|
347
302
|
resizable?: boolean;
|
303
|
+
minWidth?: string | number;
|
348
304
|
index?: number;
|
349
305
|
columnKey?: string;
|
350
306
|
colspan?: (({ column, colIndex, row, rowIndex }: {
|
@@ -413,7 +369,7 @@ declare const BkTableColumn: {
|
|
413
369
|
field: import("../../table/src/props").LabelFunctionString;
|
414
370
|
prop?: import("../../table/src/props").LabelFunctionString;
|
415
371
|
};
|
416
|
-
}
|
372
|
+
}, {}, {}, {
|
417
373
|
updateColumnDefine(unmounted?: boolean): void;
|
418
374
|
copyProps(props: Partial<import("vue").ExtractPropTypes<{
|
419
375
|
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
@@ -467,7 +423,15 @@ declare const BkTableColumn: {
|
|
467
423
|
}>>): {};
|
468
424
|
updateColumnDefineByParent(): void;
|
469
425
|
unmountColumn(): void;
|
470
|
-
}
|
426
|
+
}, {
|
427
|
+
fixed: boolean | "right" | "left";
|
428
|
+
resizable: boolean;
|
429
|
+
minWidth: string | number;
|
430
|
+
index: number;
|
431
|
+
columnKey: string;
|
432
|
+
colspan: import("../../table/src/props").SpanFunctionString;
|
433
|
+
rowspan: import("../../table/src/props").SpanFunctionString;
|
434
|
+
}>;
|
471
435
|
__isFragment?: never;
|
472
436
|
__isTeleport?: never;
|
473
437
|
__isSuspense?: never;
|
@@ -527,8 +491,8 @@ declare const BkTableColumn: {
|
|
527
491
|
};
|
528
492
|
column: {
|
529
493
|
fixed?: boolean | "right" | "left";
|
530
|
-
minWidth?: string | number;
|
531
494
|
resizable?: boolean;
|
495
|
+
minWidth?: string | number;
|
532
496
|
index?: number;
|
533
497
|
columnKey?: string;
|
534
498
|
colspan?: (({ column, colIndex, row, rowIndex }: {
|
@@ -653,8 +617,8 @@ declare const BkTableColumn: {
|
|
653
617
|
unmountColumn(): void;
|
654
618
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
655
619
|
fixed: boolean | "right" | "left";
|
656
|
-
minWidth: string | number;
|
657
620
|
resizable: boolean;
|
621
|
+
minWidth: string | number;
|
658
622
|
index: number;
|
659
623
|
columnKey: string;
|
660
624
|
colspan: import("../../table/src/props").SpanFunctionString;
|
@@ -35,38 +35,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
35
35
|
var y = x => () => x
|
36
36
|
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
37
37
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
38
|
-
function _typeof(
|
38
|
+
function _typeof(o) {
|
39
39
|
"@babel/helpers - typeof";
|
40
40
|
|
41
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
42
|
-
return typeof
|
43
|
-
} : function (
|
44
|
-
return
|
45
|
-
}, _typeof(
|
41
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
42
|
+
return typeof o;
|
43
|
+
} : function (o) {
|
44
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
45
|
+
}, _typeof(o);
|
46
46
|
}
|
47
47
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
48
48
|
|
49
|
-
function
|
50
|
-
if (
|
51
|
-
var
|
52
|
-
if (
|
53
|
-
var
|
54
|
-
if (
|
49
|
+
function toPrimitive(t, r) {
|
50
|
+
if ("object" != _typeof(t) || !t) return t;
|
51
|
+
var e = t[Symbol.toPrimitive];
|
52
|
+
if (void 0 !== e) {
|
53
|
+
var i = e.call(t, r || "default");
|
54
|
+
if ("object" != _typeof(i)) return i;
|
55
55
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
56
56
|
}
|
57
|
-
return (
|
57
|
+
return ("string" === r ? String : Number)(t);
|
58
58
|
}
|
59
59
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
60
60
|
|
61
61
|
|
62
|
-
function
|
63
|
-
var
|
64
|
-
return _typeof(
|
62
|
+
function toPropertyKey(t) {
|
63
|
+
var i = toPrimitive(t, "string");
|
64
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
65
65
|
}
|
66
66
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
67
67
|
|
68
68
|
function _defineProperty(obj, key, value) {
|
69
|
-
key =
|
69
|
+
key = toPropertyKey(key);
|
70
70
|
if (key in obj) {
|
71
71
|
Object.defineProperty(obj, key, {
|
72
72
|
value: value,
|
@@ -85,7 +85,6 @@ var external_vue_y = x => () => x
|
|
85
85
|
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref });
|
86
86
|
;// CONCATENATED MODULE: ../../packages/table/src/const.ts
|
87
87
|
|
88
|
-
var _DEF_COLOR;
|
89
88
|
/*
|
90
89
|
* Tencent is pleased to support the open source community by making
|
91
90
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -181,7 +180,7 @@ var IHeadColor;
|
|
181
180
|
/**
|
182
181
|
* 根据表格的使用场景,表头支持颜色自定义,默认提供的选项:FAFBFD、F0F1F5,尽量一个项目选用同一种颜色。
|
183
182
|
*/
|
184
|
-
var DEF_COLOR = (
|
183
|
+
var DEF_COLOR = _defineProperty(_defineProperty({}, IHeadColor.DEF1, '#FAFBFD'), IHeadColor.DEF2, '#F0F1F5');
|
185
184
|
var SETTING_SIZE = {
|
186
185
|
large: 78,
|
187
186
|
medium: 60,
|