bkui-vue 2.0.1-beta.15.table.10 → 2.0.1-beta.15.table.12
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 +49 -49
- package/dist/index.esm.js +7966 -7941
- package/dist/index.umd.js +48 -48
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/cascader/index.js +1 -0
- package/lib/checkbox/checkbox.d.ts +7 -7
- package/lib/checkbox/index.d.ts +11 -11
- package/lib/checkbox/index.js +9 -1
- 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 +34 -13
- package/lib/dialog/dialog.d.ts +7 -2
- package/lib/dialog/index.d.ts +15 -4
- package/lib/dialog/props.d.ts +3 -1
- package/lib/index.js +1 -1
- package/lib/modal/index.d.ts +18 -5
- package/lib/modal/index.js +7 -1
- package/lib/modal/modal.d.ts +7 -2
- package/lib/modal/props.mixin.d.ts +3 -1
- package/lib/radio/index.d.ts +21 -21
- package/lib/radio/index.js +18 -7
- 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/select/common.d.ts +4 -4
- package/lib/select/index.d.ts +27 -9
- package/lib/select/index.js +99 -80
- package/lib/select/select.css +3 -4
- package/lib/select/select.d.ts +11 -3
- package/lib/select/select.less +3 -4
- package/lib/select/select.variable.css +3 -4
- package/lib/sideslider/index.d.ts +15 -4
- package/lib/sideslider/sideslider.d.ts +7 -2
- package/lib/table/components/ghost-body.d.ts +2 -0
- package/lib/table/components/table-column.d.ts +3 -45
- package/lib/table/hooks/use-column-template.d.ts +0 -1
- package/lib/table/hooks/use-settings.d.ts +1 -0
- package/lib/table/index.d.ts +7 -60
- package/lib/table/index.js +107 -50
- package/lib/table/props.d.ts +1 -3
- package/lib/table/table.css +5 -6
- package/lib/table/table.d.ts +2 -7
- package/lib/table/table.less +6 -9
- package/lib/table/table.variable.css +5 -6
- package/lib/table-column/index.d.ts +9 -135
- package/lib/table-column/index.js +17282 -20
- package/lib/virtual-render/index.js +2 -3
- package/package.json +1 -1
@@ -1715,6 +1715,9 @@
|
|
1715
1715
|
.bk-table .bk-table-body table td .cell.selection {
|
1716
1716
|
padding: 0;
|
1717
1717
|
text-align: center;
|
1718
|
+
display: flex;
|
1719
|
+
align-items: center;
|
1720
|
+
justify-content: center;
|
1718
1721
|
}
|
1719
1722
|
.bk-table .bk-table-head table th .cell.expand-cell,
|
1720
1723
|
.bk-table .bk-table-body table th .cell.expand-cell,
|
@@ -1832,7 +1835,7 @@
|
|
1832
1835
|
.bk-table .bk-table-body table tbody tr td .cell {
|
1833
1836
|
display: block;
|
1834
1837
|
width: 100%;
|
1835
|
-
line-height: calc(var(--row-height) -
|
1838
|
+
line-height: calc(var(--row-height) - 4px);
|
1836
1839
|
box-sizing: border-box;
|
1837
1840
|
}
|
1838
1841
|
.bk-table .bk-table-head table tbody tr td .cell.drag,
|
@@ -1854,6 +1857,7 @@
|
|
1854
1857
|
z-index: 2;
|
1855
1858
|
overflow: hidden;
|
1856
1859
|
background-color: var(--background-color);
|
1860
|
+
height: var(--row-height);
|
1857
1861
|
}
|
1858
1862
|
.bk-table .bk-table-head .col-resize-drag {
|
1859
1863
|
position: absolute;
|
@@ -1916,13 +1920,8 @@
|
|
1916
1920
|
border-right: 1px solid var(--table-border-color);
|
1917
1921
|
border-left: 1px solid var(--table-border-color);
|
1918
1922
|
}
|
1919
|
-
.bk-table.bordered-outer .bk-table-footer {
|
1920
|
-
border-bottom: 1px solid var(--table-border-color);
|
1921
|
-
}
|
1922
1923
|
.bk-table.bordered-horizontal {
|
1923
1924
|
border-top: 1px solid var(--table-border-color);
|
1924
|
-
}
|
1925
|
-
.bk-table.bordered-horizontal .bk-table-footer {
|
1926
1925
|
border-bottom: 1px solid var(--table-border-color);
|
1927
1926
|
}
|
1928
1927
|
.bk-table.bordered-outer .__is-empty .bk-table-body-content,
|
@@ -38,51 +38,9 @@ declare const BkTableColumn: {
|
|
38
38
|
} & {
|
39
39
|
default: number;
|
40
40
|
};
|
41
|
-
}>>, {
|
42
|
-
|
43
|
-
|
44
|
-
resizable?: boolean;
|
45
|
-
minWidth?: string | number;
|
46
|
-
index?: number;
|
47
|
-
columnKey?: string;
|
48
|
-
colspan?: import("../table/props").SpanFunctionString;
|
49
|
-
rowspan?: import("../table/props").SpanFunctionString;
|
50
|
-
render?: import("../table/props").RenderFunctionString;
|
51
|
-
sort?: string | boolean | {
|
52
|
-
sortFn?: Function;
|
53
|
-
sortScope?: import("../table/props").SortScope;
|
54
|
-
value?: import("../table/const").SORT_OPTION;
|
55
|
-
};
|
56
|
-
filter?: string | boolean | {
|
57
|
-
list: any[];
|
58
|
-
filterFn?: Function;
|
59
|
-
match?: import("../table/props").FullEnum;
|
60
|
-
checked?: any[];
|
61
|
-
filterScope?: import("../table/props").SortScope;
|
62
|
-
btnSave?: string | boolean;
|
63
|
-
btnReset?: string | boolean;
|
64
|
-
height?: number;
|
65
|
-
maxHeight?: number;
|
66
|
-
};
|
67
|
-
type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
|
68
|
-
label?: import("../table/props").LabelFunctionString;
|
69
|
-
width?: string | number;
|
70
|
-
className?: import("../table/props").RowClassFunctionString;
|
71
|
-
align?: "" | "left" | "right" | "center";
|
72
|
-
showOverflowTooltip?: boolean | {
|
73
|
-
content: string | ((col: import("../../bkui-vue").TableIColumn, row: any) => string);
|
74
|
-
disabled?: boolean | ((col: import("../../bkui-vue").TableIColumn, row: any) => boolean);
|
75
|
-
allowHtml?: boolean;
|
76
|
-
watchCellResize?: boolean;
|
77
|
-
mode?: "auto" | "static";
|
78
|
-
popoverOption?: any;
|
79
|
-
resizerWay?: import("../table/props").ResizerWay;
|
80
|
-
showHead?: boolean;
|
81
|
-
};
|
82
|
-
field: import("../table/props").LabelFunctionString;
|
83
|
-
prop?: import("../table/props").LabelFunctionString;
|
84
|
-
};
|
85
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
41
|
+
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
42
|
+
[key: string]: any;
|
43
|
+
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
86
44
|
label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
87
45
|
field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
|
88
46
|
render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
|
@@ -175,51 +133,9 @@ declare const BkTableColumn: {
|
|
175
133
|
} & {
|
176
134
|
default: number;
|
177
135
|
};
|
178
|
-
}>>, {
|
179
|
-
|
180
|
-
|
181
|
-
resizable?: boolean;
|
182
|
-
minWidth?: string | number;
|
183
|
-
index?: number;
|
184
|
-
columnKey?: string;
|
185
|
-
colspan?: import("../table/props").SpanFunctionString;
|
186
|
-
rowspan?: import("../table/props").SpanFunctionString;
|
187
|
-
render?: import("../table/props").RenderFunctionString;
|
188
|
-
sort?: string | boolean | {
|
189
|
-
sortFn?: Function;
|
190
|
-
sortScope?: import("../table/props").SortScope;
|
191
|
-
value?: import("../table/const").SORT_OPTION;
|
192
|
-
};
|
193
|
-
filter?: string | boolean | {
|
194
|
-
list: any[];
|
195
|
-
filterFn?: Function;
|
196
|
-
match?: import("../table/props").FullEnum;
|
197
|
-
checked?: any[];
|
198
|
-
filterScope?: import("../table/props").SortScope;
|
199
|
-
btnSave?: string | boolean;
|
200
|
-
btnReset?: string | boolean;
|
201
|
-
height?: number;
|
202
|
-
maxHeight?: number;
|
203
|
-
};
|
204
|
-
type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
|
205
|
-
label?: import("../table/props").LabelFunctionString;
|
206
|
-
width?: string | number;
|
207
|
-
className?: import("../table/props").RowClassFunctionString;
|
208
|
-
align?: "" | "left" | "right" | "center";
|
209
|
-
showOverflowTooltip?: boolean | {
|
210
|
-
content: string | ((col: import("../../bkui-vue").TableIColumn, row: any) => string);
|
211
|
-
disabled?: boolean | ((col: import("../../bkui-vue").TableIColumn, row: any) => boolean);
|
212
|
-
allowHtml?: boolean;
|
213
|
-
watchCellResize?: boolean;
|
214
|
-
mode?: "auto" | "static";
|
215
|
-
popoverOption?: any;
|
216
|
-
resizerWay?: import("../table/props").ResizerWay;
|
217
|
-
showHead?: boolean;
|
218
|
-
};
|
219
|
-
field: import("../table/props").LabelFunctionString;
|
220
|
-
prop?: import("../table/props").LabelFunctionString;
|
221
|
-
};
|
222
|
-
}, {}, {}, {}, {
|
136
|
+
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
137
|
+
[key: string]: any;
|
138
|
+
}>[], {}, {}, {}, {
|
223
139
|
fixed: boolean | "left" | "right";
|
224
140
|
resizable: boolean;
|
225
141
|
minWidth: string | number;
|
@@ -270,51 +186,9 @@ declare const BkTableColumn: {
|
|
270
186
|
} & {
|
271
187
|
default: number;
|
272
188
|
};
|
273
|
-
}>>, {
|
274
|
-
|
275
|
-
|
276
|
-
resizable?: boolean;
|
277
|
-
minWidth?: string | number;
|
278
|
-
index?: number;
|
279
|
-
columnKey?: string;
|
280
|
-
colspan?: import("../table/props").SpanFunctionString;
|
281
|
-
rowspan?: import("../table/props").SpanFunctionString;
|
282
|
-
render?: import("../table/props").RenderFunctionString;
|
283
|
-
sort?: string | boolean | {
|
284
|
-
sortFn?: Function;
|
285
|
-
sortScope?: import("../table/props").SortScope;
|
286
|
-
value?: import("../table/const").SORT_OPTION;
|
287
|
-
};
|
288
|
-
filter?: string | boolean | {
|
289
|
-
list: any[];
|
290
|
-
filterFn?: Function;
|
291
|
-
match?: import("../table/props").FullEnum;
|
292
|
-
checked?: any[];
|
293
|
-
filterScope?: import("../table/props").SortScope;
|
294
|
-
btnSave?: string | boolean;
|
295
|
-
btnReset?: string | boolean;
|
296
|
-
height?: number;
|
297
|
-
maxHeight?: number;
|
298
|
-
};
|
299
|
-
type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
|
300
|
-
label?: import("../table/props").LabelFunctionString;
|
301
|
-
width?: string | number;
|
302
|
-
className?: import("../table/props").RowClassFunctionString;
|
303
|
-
align?: "" | "left" | "right" | "center";
|
304
|
-
showOverflowTooltip?: boolean | {
|
305
|
-
content: string | ((col: import("../../bkui-vue").TableIColumn, row: any) => string);
|
306
|
-
disabled?: boolean | ((col: import("../../bkui-vue").TableIColumn, row: any) => boolean);
|
307
|
-
allowHtml?: boolean;
|
308
|
-
watchCellResize?: boolean;
|
309
|
-
mode?: "auto" | "static";
|
310
|
-
popoverOption?: any;
|
311
|
-
resizerWay?: import("../table/props").ResizerWay;
|
312
|
-
showHead?: boolean;
|
313
|
-
};
|
314
|
-
field: import("../table/props").LabelFunctionString;
|
315
|
-
prop?: import("../table/props").LabelFunctionString;
|
316
|
-
};
|
317
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
189
|
+
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
190
|
+
[key: string]: any;
|
191
|
+
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
318
192
|
fixed: boolean | "left" | "right";
|
319
193
|
resizable: boolean;
|
320
194
|
minWidth: string | number;
|