bkui-vue 0.0.1-beta.431 → 0.0.1-beta.433
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 +26 -26
- package/dist/index.esm.js +17 -9
- package/dist/index.umd.js +26 -26
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -1
- package/lib/alert/alert.variable.css +1 -1
- package/lib/backtop/backtop.variable.css +1 -1
- package/lib/badge/badge.variable.css +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +1 -1
- package/lib/button/button.variable.css +1 -1
- package/lib/card/card.variable.css +1 -1
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.css +7 -0
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/cascader.less +7 -0
- package/lib/cascader/cascader.variable.css +8 -1
- package/lib/cascader/index.d.ts +4 -0
- package/lib/cascader/index.js +1 -1
- package/lib/checkbox/checkbox.variable.css +1 -1
- package/lib/code-diff/code-diff.variable.css +1 -1
- package/lib/collapse/collapse.variable.css +1 -1
- package/lib/collapse-transition/collapse-transition.variable.css +1 -1
- package/lib/color-picker/color-picker.variable.css +1 -1
- package/lib/components.d.ts +1 -0
- package/lib/config-provider/config-provider.variable.css +1 -1
- package/lib/container/container.variable.css +1 -1
- package/lib/date-picker/date-picker.variable.css +1 -1
- package/lib/dialog/dialog.variable.css +1 -1
- package/lib/divider/divider.variable.css +1 -1
- package/lib/dropdown/dropdown.variable.css +1 -1
- package/lib/exception/exception.variable.css +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -1
- package/lib/form/form.variable.css +1 -1
- package/lib/info-box/info-box.variable.css +1 -1
- package/lib/input/input.variable.css +1 -1
- package/lib/link/link.variable.css +1 -1
- package/lib/loading/loading.variable.css +1 -1
- package/lib/menu/menu.variable.css +1 -1
- package/lib/menu/submenu.variable.css +1 -1
- package/lib/message/message.variable.css +1 -1
- package/lib/modal/modal.variable.css +1 -1
- package/lib/navigation/navigation.variable.css +1 -1
- package/lib/notify/notify.variable.css +1 -1
- package/lib/pagination/pagination.variable.css +1 -1
- package/lib/pop-confirm/pop-confirm.variable.css +1 -1
- package/lib/popover/popover.variable.css +1 -1
- package/lib/process/process.variable.css +1 -1
- package/lib/progress/progress.variable.css +1 -1
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio.css +28 -10
- package/lib/radio/radio.less +10 -1
- package/lib/radio/radio.variable.css +29 -11
- package/lib/resize-layout/resize-layout.variable.css +1 -1
- package/lib/search-select/search-select.variable.css +1 -1
- package/lib/select/index.d.ts +4 -4
- package/lib/select/index.js +1 -1
- package/lib/select/select.d.ts +1 -1
- package/lib/select/select.variable.css +1 -1
- package/lib/sideslider/sideslider.variable.css +1 -1
- package/lib/slider/slider.variable.css +1 -1
- package/lib/steps/steps.variable.css +1 -1
- package/lib/styles/mixins/popper.variable.css +1 -1
- package/lib/styles/mixins/scroll.variable.css +1 -1
- package/lib/styles/themes/themes.less +1 -1
- package/lib/switcher/switcher.variable.css +1 -1
- package/lib/tab/tab.variable.css +1 -1
- package/lib/table/index.d.ts +13 -8
- package/lib/table/plugins/head-filter.variable.css +1 -1
- package/lib/table/plugins/head-sort.variable.css +1 -1
- package/lib/table/plugins/settings.variable.css +1 -1
- package/lib/table/table.css +4 -4
- package/lib/table/table.less +3 -3
- package/lib/table/table.variable.css +5 -5
- package/lib/tag/tag.variable.css +1 -1
- package/lib/tag-input/tag-input.variable.css +1 -1
- package/lib/time-picker/time-picker.variable.css +1 -1
- package/lib/timeline/timeline.variable.css +1 -1
- package/lib/transfer/transfer.variable.css +1 -1
- package/lib/tree/tree.variable.css +1 -1
- package/lib/upload/upload.variable.css +1 -1
- package/lib/virtual-render/virtual-render.variable.css +1 -1
- package/package.json +1 -1
package/lib/table/index.d.ts
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
import { IColumnType, tableProps } from './props';
|
3
|
+
export declare type TableProps = Partial<ExtractPropTypes<typeof tableProps>>;
|
4
|
+
export declare type TableColumnProps = Partial<ExtractPropTypes<typeof IColumnType>>;
|
5
|
+
export type { Column as TableIColumn, Settings as TableSettings } from './props';
|
1
6
|
declare const BkTable: {
|
2
7
|
new (...args: any[]): {
|
3
8
|
$: import("vue").ComponentInternalInstance;
|
@@ -45,7 +50,7 @@ declare const BkTable: {
|
|
45
50
|
defaultSort: import("./props").ISortOption;
|
46
51
|
isRowSelectEnable: any;
|
47
52
|
observerResize: boolean;
|
48
|
-
}> & Omit<Readonly<
|
53
|
+
}> & Omit<Readonly<ExtractPropTypes<{
|
49
54
|
data: import("vue-types").VueTypeDef<any[]> & {
|
50
55
|
default: () => any[];
|
51
56
|
};
|
@@ -215,7 +220,7 @@ declare const BkTable: {
|
|
215
220
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
216
221
|
$emit: ((event: import("./const").EMIT_EVENTS.COLUMN_PICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.COLUMN_SORT, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.COLUMN_FILTER, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.COLUMN_FILTER_SAVE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_DBL_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_EXPAND_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.PAGE_LIMIT_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.PAGE_VALUE_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.SETTING_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.SCROLL_BOTTOM, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_SELECT, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_SELECT_ALL, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_SELECT_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CELL_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CELL_DBL_CLICK, ...args: any[]) => void);
|
217
222
|
$el: any;
|
218
|
-
$options: import("vue").ComponentOptionsBase<Readonly<
|
223
|
+
$options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
219
224
|
data: import("vue-types").VueTypeDef<any[]> & {
|
220
225
|
default: () => any[];
|
221
226
|
};
|
@@ -451,7 +456,7 @@ declare const BkTable: {
|
|
451
456
|
$forceUpdate: () => void;
|
452
457
|
$nextTick: typeof import("vue").nextTick;
|
453
458
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
454
|
-
} & Readonly<
|
459
|
+
} & Readonly<ExtractPropTypes<{
|
455
460
|
data: import("vue-types").VueTypeDef<any[]> & {
|
456
461
|
default: () => any[];
|
457
462
|
};
|
@@ -611,7 +616,7 @@ declare const BkTable: {
|
|
611
616
|
__isFragment?: never;
|
612
617
|
__isTeleport?: never;
|
613
618
|
__isSuspense?: never;
|
614
|
-
} & import("vue").ComponentOptionsBase<Readonly<
|
619
|
+
} & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
615
620
|
data: import("vue-types").VueTypeDef<any[]> & {
|
616
621
|
default: () => any[];
|
617
622
|
};
|
@@ -853,7 +858,7 @@ declare const BkColumn: {
|
|
853
858
|
columnKey: string;
|
854
859
|
showOverflowTooltip: boolean | import("./props").IOverflowTooltip;
|
855
860
|
resizable: boolean;
|
856
|
-
}> & Omit<Readonly<
|
861
|
+
}> & Omit<Readonly<ExtractPropTypes<{
|
857
862
|
prop: import("vue-types").VueTypeDef<any>;
|
858
863
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
859
864
|
default: number;
|
@@ -928,7 +933,7 @@ declare const BkColumn: {
|
|
928
933
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
929
934
|
$emit: (event: string, ...args: any[]) => void;
|
930
935
|
$el: any;
|
931
|
-
$options: import("vue").ComponentOptionsBase<Readonly<
|
936
|
+
$options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
932
937
|
prop: import("vue-types").VueTypeDef<any>;
|
933
938
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
934
939
|
default: number;
|
@@ -1082,7 +1087,7 @@ declare const BkColumn: {
|
|
1082
1087
|
$forceUpdate: () => void;
|
1083
1088
|
$nextTick: typeof import("vue").nextTick;
|
1084
1089
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
1085
|
-
} & Readonly<
|
1090
|
+
} & Readonly<ExtractPropTypes<{
|
1086
1091
|
prop: import("vue-types").VueTypeDef<any>;
|
1087
1092
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
1088
1093
|
default: number;
|
@@ -1200,7 +1205,7 @@ declare const BkColumn: {
|
|
1200
1205
|
__isFragment?: never;
|
1201
1206
|
__isTeleport?: never;
|
1202
1207
|
__isSuspense?: never;
|
1203
|
-
} & import("vue").ComponentOptionsBase<Readonly<
|
1208
|
+
} & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
1204
1209
|
prop: import("vue-types").VueTypeDef<any>;
|
1205
1210
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
1206
1211
|
default: number;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
package/lib/table/table.css
CHANGED
@@ -1059,7 +1059,7 @@
|
|
1059
1059
|
padding: 0 15px;
|
1060
1060
|
overflow: hidden;
|
1061
1061
|
font-size: 12px;
|
1062
|
-
color: #
|
1062
|
+
color: #63656E;
|
1063
1063
|
text-align: left;
|
1064
1064
|
text-overflow: ellipsis;
|
1065
1065
|
white-space: nowrap;
|
@@ -1132,7 +1132,6 @@
|
|
1132
1132
|
.bk-table .bk-table-head table thead th,
|
1133
1133
|
.bk-table .bk-table-body table thead th {
|
1134
1134
|
font-weight: 400;
|
1135
|
-
color: #313238;
|
1136
1135
|
background-color: #fafbfd;
|
1137
1136
|
}
|
1138
1137
|
.bk-table .bk-table-head table thead th .cell,
|
@@ -1140,6 +1139,7 @@
|
|
1140
1139
|
display: flex;
|
1141
1140
|
align-items: center;
|
1142
1141
|
height: calc(var(--row-height) - 1px);
|
1142
|
+
color: #313238;
|
1143
1143
|
}
|
1144
1144
|
.bk-table .bk-table-head table thead th.active,
|
1145
1145
|
.bk-table .bk-table-body table thead th.active,
|
@@ -1180,7 +1180,7 @@
|
|
1180
1180
|
position: absolute;
|
1181
1181
|
top: 0;
|
1182
1182
|
right: 1px;
|
1183
|
-
bottom:
|
1183
|
+
bottom: 0;
|
1184
1184
|
z-index: 2;
|
1185
1185
|
display: block;
|
1186
1186
|
display: flex;
|
@@ -1190,7 +1190,7 @@
|
|
1190
1190
|
background: #fafbfd;
|
1191
1191
|
border-bottom: 1px solid #dcdee5;
|
1192
1192
|
border-left: 1px solid #dcdee5;
|
1193
|
-
border-radius:
|
1193
|
+
border-radius: 0 2px 0 0;
|
1194
1194
|
transform: translateX(var(--scroll-left));
|
1195
1195
|
justify-content: center;
|
1196
1196
|
align-items: center;
|
package/lib/table/table.less
CHANGED
@@ -152,13 +152,13 @@
|
|
152
152
|
thead {
|
153
153
|
th {
|
154
154
|
font-weight: 400;
|
155
|
-
color: @table-head-font-color;
|
156
155
|
background-color: @table-head-bg-color;
|
157
156
|
|
158
157
|
.cell {
|
159
158
|
display: flex;
|
160
159
|
align-items: center;
|
161
160
|
height: calc(var(--row-height) - 1px);
|
161
|
+
color: @table-head-font-color;
|
162
162
|
}
|
163
163
|
|
164
164
|
&.active,
|
@@ -215,7 +215,7 @@
|
|
215
215
|
position: absolute;
|
216
216
|
top: 0;
|
217
217
|
right: 1px;
|
218
|
-
bottom:
|
218
|
+
bottom: 0;
|
219
219
|
z-index: 2;
|
220
220
|
display: block;
|
221
221
|
display: flex;
|
@@ -227,7 +227,7 @@
|
|
227
227
|
//border-right: 1px solid @table-border-color;
|
228
228
|
border-bottom: 1px solid @table-border-color;
|
229
229
|
border-left: 1px solid @table-border-color;
|
230
|
-
border-radius:
|
230
|
+
border-radius: 0 2px 0 0;
|
231
231
|
transform: translateX(var(--scroll-left));
|
232
232
|
justify-content: center;
|
233
233
|
align-items: center;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -1181,7 +1181,7 @@
|
|
1181
1181
|
padding: 0 15px;
|
1182
1182
|
overflow: hidden;
|
1183
1183
|
font-size: 12px;
|
1184
|
-
color: #
|
1184
|
+
color: #63656E;
|
1185
1185
|
text-align: left;
|
1186
1186
|
text-overflow: ellipsis;
|
1187
1187
|
white-space: nowrap;
|
@@ -1254,7 +1254,6 @@
|
|
1254
1254
|
.bk-table .bk-table-head table thead th,
|
1255
1255
|
.bk-table .bk-table-body table thead th {
|
1256
1256
|
font-weight: 400;
|
1257
|
-
color: #313238;
|
1258
1257
|
background-color: #fafbfd;
|
1259
1258
|
}
|
1260
1259
|
.bk-table .bk-table-head table thead th .cell,
|
@@ -1262,6 +1261,7 @@
|
|
1262
1261
|
display: flex;
|
1263
1262
|
align-items: center;
|
1264
1263
|
height: calc(var(--row-height) - 1px);
|
1264
|
+
color: #313238;
|
1265
1265
|
}
|
1266
1266
|
.bk-table .bk-table-head table thead th.active,
|
1267
1267
|
.bk-table .bk-table-body table thead th.active,
|
@@ -1302,7 +1302,7 @@
|
|
1302
1302
|
position: absolute;
|
1303
1303
|
top: 0;
|
1304
1304
|
right: 1px;
|
1305
|
-
bottom:
|
1305
|
+
bottom: 0;
|
1306
1306
|
z-index: 2;
|
1307
1307
|
display: block;
|
1308
1308
|
display: flex;
|
@@ -1312,7 +1312,7 @@
|
|
1312
1312
|
background: #fafbfd;
|
1313
1313
|
border-bottom: 1px solid #dcdee5;
|
1314
1314
|
border-left: 1px solid #dcdee5;
|
1315
|
-
border-radius:
|
1315
|
+
border-radius: 0 2px 0 0;
|
1316
1316
|
transform: translateX(var(--scroll-left));
|
1317
1317
|
justify-content: center;
|
1318
1318
|
align-items: center;
|
package/lib/tag/tag.variable.css
CHANGED
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|