bkui-vue 0.0.1-beta.132 → 0.0.1-beta.135
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 +100 -82
- package/dist/index.umd.js +26 -26
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.d.ts +1 -48
- package/lib/alert/index.d.ts +1 -63
- package/lib/animate-number/index.d.ts +1 -28
- package/lib/backtop/index.d.ts +1 -61
- package/lib/badge/index.d.ts +1 -103
- package/lib/breadcrumb/index.d.ts +1 -55
- package/lib/button/index.d.ts +1 -97
- package/lib/card/index.d.ts +1 -111
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/index.d.ts +5 -275
- package/lib/checkbox/index.d.ts +1 -84
- package/lib/code-diff/index.d.ts +1 -51
- package/lib/collapse/index.d.ts +1 -64
- package/lib/container/index.d.ts +1 -59
- package/lib/date-picker/index.d.ts +1 -312
- package/lib/dialog/dialog.css +13 -9
- package/lib/dialog/dialog.less +16 -9
- package/lib/dialog/dialog.variable.css +13 -9
- package/lib/dialog/index.d.ts +1 -317
- package/lib/dialog/index.js +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.d.ts +1 -49
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +5 -60
- package/lib/exception/index.d.ts +1 -27
- package/lib/fixed-navbar/index.d.ts +1 -49
- package/lib/form/index.d.ts +1 -59
- package/lib/input/index.d.ts +1 -226
- package/lib/link/index.d.ts +1 -59
- package/lib/loading/index.d.ts +1 -94
- package/lib/menu/index.d.ts +1 -40
- package/lib/modal/index.d.ts +1 -215
- package/lib/navigation/index.d.ts +1 -119
- package/lib/pagination/index.d.ts +1 -158
- package/lib/popover/index.d.ts +5 -170
- package/lib/popover/popover.d.ts +1 -1
- package/lib/popover2/index.d.ts +5 -214
- package/lib/popover2/popover2.d.ts +1 -1
- package/lib/process/index.d.ts +1 -75
- package/lib/progress/index.d.ts +1 -169
- package/lib/radio/index.d.ts +1 -63
- package/lib/rate/index.d.ts +1 -33
- package/lib/resize-layout/index.d.ts +1 -128
- package/lib/resize-layout/index.js +1 -1
- package/lib/select/index.d.ts +1 -469
- package/lib/select/select.css +13 -0
- package/lib/select/select.less +18 -4
- package/lib/select/select.variable.css +13 -0
- package/lib/shared/index.d.ts +2 -6
- package/lib/sideslider/index.d.ts +1 -206
- package/lib/slider/index.d.ts +1 -175
- package/lib/steps/index.d.ts +1 -96
- package/lib/swiper/index.d.ts +1 -66
- package/lib/switcher/index.d.ts +1 -114
- package/lib/tab/index.d.ts +1 -140
- package/lib/table/index.d.ts +1 -230
- package/lib/table/index.js +1 -1
- package/lib/table/table.css +15 -12
- package/lib/table/table.less +18 -18
- package/lib/table/table.variable.css +15 -12
- package/lib/tag/index.d.ts +1 -85
- package/lib/tag-input/index.d.ts +5 -378
- package/lib/tag-input/tag-input.d.ts +1 -1
- package/lib/timeline/index.d.ts +1 -40
- package/lib/transfer/index.d.ts +1 -136
- package/lib/tree/index.d.ts +1 -227
- package/lib/upload/index.d.ts +1 -252
- package/lib/virtual-render/index.d.ts +1 -256
- package/lib/volar.components.d.ts +97 -28
- package/package.json +1 -1
package/lib/table/table.css
CHANGED
@@ -925,6 +925,7 @@
|
|
925
925
|
.bk-table .bk-table-body table th,
|
926
926
|
.bk-table .bk-table-head table td,
|
927
927
|
.bk-table .bk-table-body table td {
|
928
|
+
height: var(--row-height);
|
928
929
|
min-width: 80px;
|
929
930
|
clear: both;
|
930
931
|
}
|
@@ -932,11 +933,9 @@
|
|
932
933
|
.bk-table .bk-table-body table th .cell,
|
933
934
|
.bk-table .bk-table-head table td .cell,
|
934
935
|
.bk-table .bk-table-body table td .cell {
|
935
|
-
height: var(--row-height);
|
936
936
|
padding: 0 15px;
|
937
937
|
overflow: hidden;
|
938
938
|
font-size: 12px;
|
939
|
-
line-height: var(--row-height);
|
940
939
|
color: #575961;
|
941
940
|
text-align: left;
|
942
941
|
text-overflow: ellipsis;
|
@@ -992,6 +991,7 @@
|
|
992
991
|
.bk-table .bk-table-body table thead th .cell {
|
993
992
|
display: flex;
|
994
993
|
align-items: center;
|
994
|
+
height: calc(var(--row-height) - 1px);
|
995
995
|
}
|
996
996
|
.bk-table .bk-table-head table thead th.active,
|
997
997
|
.bk-table .bk-table-body table thead th.active,
|
@@ -1026,19 +1026,25 @@
|
|
1026
1026
|
position: absolute;
|
1027
1027
|
top: 0;
|
1028
1028
|
right: 1px;
|
1029
|
-
bottom:
|
1029
|
+
bottom: 0px;
|
1030
1030
|
display: block;
|
1031
1031
|
display: flex;
|
1032
1032
|
width: calc(var(--row-height));
|
1033
|
-
font-size:
|
1033
|
+
font-size: 14px;
|
1034
1034
|
cursor: pointer;
|
1035
|
-
background: #
|
1035
|
+
background: #fafbfd;
|
1036
1036
|
border-right: 1px solid #dcdee5;
|
1037
|
+
border-bottom: 1px solid #dcdee5;
|
1037
1038
|
border-left: 1px solid #dcdee5;
|
1038
1039
|
border-radius: 0px 2px 0px 0px;
|
1039
1040
|
justify-content: center;
|
1040
1041
|
align-items: center;
|
1041
1042
|
}
|
1043
|
+
.bk-table .bk-table-head .table-head-settings > span {
|
1044
|
+
display: flex;
|
1045
|
+
width: 1rem;
|
1046
|
+
height: 1rem;
|
1047
|
+
}
|
1042
1048
|
.bk-table .bk-table-footer {
|
1043
1049
|
line-height: 40px;
|
1044
1050
|
border-top: 1px solid #dcdee5;
|
@@ -1047,14 +1053,14 @@
|
|
1047
1053
|
.bk-table .bk-table-footer.is-hidden {
|
1048
1054
|
display: none;
|
1049
1055
|
}
|
1050
|
-
.bk-table.bordered-row td
|
1051
|
-
.bk-table.bordered-row th
|
1056
|
+
.bk-table.bordered-row td,
|
1057
|
+
.bk-table.bordered-row th {
|
1052
1058
|
border-bottom: 1px solid #dcdee5;
|
1053
1059
|
}
|
1054
1060
|
.bk-table.bordered-row.has-footer {
|
1055
1061
|
border-bottom: none;
|
1056
1062
|
}
|
1057
|
-
.bk-table.bordered-row.has-footer.has-scroll-y tr:last-child td
|
1063
|
+
.bk-table.bordered-row.has-footer.has-scroll-y tr:last-child td {
|
1058
1064
|
border-bottom: none;
|
1059
1065
|
}
|
1060
1066
|
.bk-table.bordered-outer {
|
@@ -1073,11 +1079,8 @@
|
|
1073
1079
|
.bk-table.bordered-none td {
|
1074
1080
|
border-top: none;
|
1075
1081
|
border-right: none;
|
1076
|
-
border-left: none;
|
1077
|
-
}
|
1078
|
-
.bk-table.bordered-none th .cell,
|
1079
|
-
.bk-table.bordered-none td .cell {
|
1080
1082
|
border-bottom: none;
|
1083
|
+
border-left: none;
|
1081
1084
|
}
|
1082
1085
|
.bk-table .bk-table-fixed {
|
1083
1086
|
position: absolute;
|
package/lib/table/table.less
CHANGED
@@ -58,15 +58,15 @@
|
|
58
58
|
|
59
59
|
th,
|
60
60
|
td {
|
61
|
+
height: var(--row-height);
|
61
62
|
min-width: 80px;
|
62
63
|
clear: both;
|
63
64
|
|
64
65
|
.cell {
|
65
|
-
height: var(--row-height);
|
66
66
|
padding: 0 15px;
|
67
67
|
overflow: hidden;
|
68
68
|
font-size: 12px;
|
69
|
-
line-height: var(--row-height);
|
69
|
+
// line-height: calc(var(--row-height) - 1px);
|
70
70
|
color: @table-body-font-color;
|
71
71
|
text-align: left;
|
72
72
|
text-overflow: ellipsis;
|
@@ -113,6 +113,7 @@
|
|
113
113
|
.cell {
|
114
114
|
display: flex;
|
115
115
|
align-items: center;
|
116
|
+
height: calc(var(--row-height) - 1px);
|
116
117
|
}
|
117
118
|
|
118
119
|
&.active,
|
@@ -161,20 +162,26 @@
|
|
161
162
|
position: absolute;
|
162
163
|
top: 0;
|
163
164
|
right: 1px;
|
164
|
-
bottom:
|
165
|
+
bottom: 0px;
|
165
166
|
display: block;
|
166
|
-
|
167
167
|
display: flex;
|
168
168
|
width: calc(var(--row-height));
|
169
|
-
font-size:
|
169
|
+
font-size: 14px;
|
170
170
|
cursor: pointer;
|
171
171
|
|
172
|
-
background:
|
173
|
-
border-right: 1px solid
|
174
|
-
border-
|
172
|
+
background: @table-head-bg-color;
|
173
|
+
border-right: 1px solid @table-border-color;
|
174
|
+
border-bottom: 1px solid @table-border-color;
|
175
|
+
border-left: 1px solid @table-border-color;
|
175
176
|
border-radius: 0px 2px 0px 0px;
|
176
177
|
justify-content: center;
|
177
178
|
align-items: center;
|
179
|
+
|
180
|
+
> span {
|
181
|
+
display: flex;
|
182
|
+
width: 1rem;
|
183
|
+
height: 1rem;
|
184
|
+
}
|
178
185
|
}
|
179
186
|
}
|
180
187
|
|
@@ -191,9 +198,7 @@
|
|
191
198
|
&.bordered-row {
|
192
199
|
td,
|
193
200
|
th {
|
194
|
-
|
195
|
-
border-bottom: 1px solid @table-border-color;
|
196
|
-
}
|
201
|
+
border-bottom: 1px solid @table-border-color;
|
197
202
|
}
|
198
203
|
|
199
204
|
&.has-footer {
|
@@ -203,9 +208,7 @@
|
|
203
208
|
tr {
|
204
209
|
&:last-child {
|
205
210
|
td {
|
206
|
-
|
207
|
-
border-bottom: none;
|
208
|
-
}
|
211
|
+
border-bottom: none;
|
209
212
|
}
|
210
213
|
}
|
211
214
|
}
|
@@ -235,11 +238,8 @@
|
|
235
238
|
td {
|
236
239
|
border-top: none;
|
237
240
|
border-right: none;
|
241
|
+
border-bottom: none;
|
238
242
|
border-left: none;
|
239
|
-
|
240
|
-
.cell {
|
241
|
-
border-bottom: none;
|
242
|
-
}
|
243
243
|
}
|
244
244
|
}
|
245
245
|
|
@@ -1027,6 +1027,7 @@
|
|
1027
1027
|
.bk-table .bk-table-body table th,
|
1028
1028
|
.bk-table .bk-table-head table td,
|
1029
1029
|
.bk-table .bk-table-body table td {
|
1030
|
+
height: var(--row-height);
|
1030
1031
|
min-width: 80px;
|
1031
1032
|
clear: both;
|
1032
1033
|
}
|
@@ -1034,11 +1035,9 @@
|
|
1034
1035
|
.bk-table .bk-table-body table th .cell,
|
1035
1036
|
.bk-table .bk-table-head table td .cell,
|
1036
1037
|
.bk-table .bk-table-body table td .cell {
|
1037
|
-
height: var(--row-height);
|
1038
1038
|
padding: 0 15px;
|
1039
1039
|
overflow: hidden;
|
1040
1040
|
font-size: 12px;
|
1041
|
-
line-height: var(--row-height);
|
1042
1041
|
color: #575961;
|
1043
1042
|
text-align: left;
|
1044
1043
|
text-overflow: ellipsis;
|
@@ -1094,6 +1093,7 @@
|
|
1094
1093
|
.bk-table .bk-table-body table thead th .cell {
|
1095
1094
|
display: flex;
|
1096
1095
|
align-items: center;
|
1096
|
+
height: calc(var(--row-height) - 1px);
|
1097
1097
|
}
|
1098
1098
|
.bk-table .bk-table-head table thead th.active,
|
1099
1099
|
.bk-table .bk-table-body table thead th.active,
|
@@ -1128,19 +1128,25 @@
|
|
1128
1128
|
position: absolute;
|
1129
1129
|
top: 0;
|
1130
1130
|
right: 1px;
|
1131
|
-
bottom:
|
1131
|
+
bottom: 0px;
|
1132
1132
|
display: block;
|
1133
1133
|
display: flex;
|
1134
1134
|
width: calc(var(--row-height));
|
1135
|
-
font-size:
|
1135
|
+
font-size: 14px;
|
1136
1136
|
cursor: pointer;
|
1137
|
-
background: #
|
1137
|
+
background: #fafbfd;
|
1138
1138
|
border-right: 1px solid #dcdee5;
|
1139
|
+
border-bottom: 1px solid #dcdee5;
|
1139
1140
|
border-left: 1px solid #dcdee5;
|
1140
1141
|
border-radius: 0px 2px 0px 0px;
|
1141
1142
|
justify-content: center;
|
1142
1143
|
align-items: center;
|
1143
1144
|
}
|
1145
|
+
.bk-table .bk-table-head .table-head-settings > span {
|
1146
|
+
display: flex;
|
1147
|
+
width: 1rem;
|
1148
|
+
height: 1rem;
|
1149
|
+
}
|
1144
1150
|
.bk-table .bk-table-footer {
|
1145
1151
|
line-height: 40px;
|
1146
1152
|
border-top: 1px solid #dcdee5;
|
@@ -1149,14 +1155,14 @@
|
|
1149
1155
|
.bk-table .bk-table-footer.is-hidden {
|
1150
1156
|
display: none;
|
1151
1157
|
}
|
1152
|
-
.bk-table.bordered-row td
|
1153
|
-
.bk-table.bordered-row th
|
1158
|
+
.bk-table.bordered-row td,
|
1159
|
+
.bk-table.bordered-row th {
|
1154
1160
|
border-bottom: 1px solid #dcdee5;
|
1155
1161
|
}
|
1156
1162
|
.bk-table.bordered-row.has-footer {
|
1157
1163
|
border-bottom: none;
|
1158
1164
|
}
|
1159
|
-
.bk-table.bordered-row.has-footer.has-scroll-y tr:last-child td
|
1165
|
+
.bk-table.bordered-row.has-footer.has-scroll-y tr:last-child td {
|
1160
1166
|
border-bottom: none;
|
1161
1167
|
}
|
1162
1168
|
.bk-table.bordered-outer {
|
@@ -1175,11 +1181,8 @@
|
|
1175
1181
|
.bk-table.bordered-none td {
|
1176
1182
|
border-top: none;
|
1177
1183
|
border-right: none;
|
1178
|
-
border-left: none;
|
1179
|
-
}
|
1180
|
-
.bk-table.bordered-none th .cell,
|
1181
|
-
.bk-table.bordered-none td .cell {
|
1182
1184
|
border-bottom: none;
|
1185
|
+
border-left: none;
|
1183
1186
|
}
|
1184
1187
|
.bk-table .bk-table-fixed {
|
1185
1188
|
position: absolute;
|
package/lib/tag/index.d.ts
CHANGED
@@ -225,89 +225,5 @@ declare const BkTag: {
|
|
225
225
|
radius: string;
|
226
226
|
checked: boolean;
|
227
227
|
checkable: boolean;
|
228
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin
|
229
|
-
C: import("vue").DefineComponent<{
|
230
|
-
theme: import("vue-types").VueTypeDef<string> & {
|
231
|
-
default: string;
|
232
|
-
};
|
233
|
-
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
234
|
-
default: boolean;
|
235
|
-
} & {
|
236
|
-
default: boolean;
|
237
|
-
};
|
238
|
-
type: import("vue-types").VueTypeDef<string> & {
|
239
|
-
default: string;
|
240
|
-
};
|
241
|
-
checkable: import("vue-types").VueTypeValidableDef<boolean> & {
|
242
|
-
default: boolean;
|
243
|
-
} & {
|
244
|
-
default: boolean;
|
245
|
-
};
|
246
|
-
checked: import("vue-types").VueTypeValidableDef<boolean> & {
|
247
|
-
default: boolean;
|
248
|
-
} & {
|
249
|
-
default: boolean;
|
250
|
-
};
|
251
|
-
radius: import("vue-types").VueTypeValidableDef<string> & {
|
252
|
-
default: string;
|
253
|
-
} & {
|
254
|
-
default: string;
|
255
|
-
};
|
256
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
257
|
-
default: string;
|
258
|
-
} & {
|
259
|
-
default: string;
|
260
|
-
};
|
261
|
-
}, {
|
262
|
-
wrapperCls: import("vue").ComputedRef<string>;
|
263
|
-
wrapperStyle: import("vue").ComputedRef<{
|
264
|
-
borderRadius: string;
|
265
|
-
}>;
|
266
|
-
handleClose: (e: Event) => void;
|
267
|
-
handleClick: (e: Event) => void;
|
268
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
269
|
-
theme: import("vue-types").VueTypeDef<string> & {
|
270
|
-
default: string;
|
271
|
-
};
|
272
|
-
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
273
|
-
default: boolean;
|
274
|
-
} & {
|
275
|
-
default: boolean;
|
276
|
-
};
|
277
|
-
type: import("vue-types").VueTypeDef<string> & {
|
278
|
-
default: string;
|
279
|
-
};
|
280
|
-
checkable: import("vue-types").VueTypeValidableDef<boolean> & {
|
281
|
-
default: boolean;
|
282
|
-
} & {
|
283
|
-
default: boolean;
|
284
|
-
};
|
285
|
-
checked: import("vue-types").VueTypeValidableDef<boolean> & {
|
286
|
-
default: boolean;
|
287
|
-
} & {
|
288
|
-
default: boolean;
|
289
|
-
};
|
290
|
-
radius: import("vue-types").VueTypeValidableDef<string> & {
|
291
|
-
default: string;
|
292
|
-
} & {
|
293
|
-
default: string;
|
294
|
-
};
|
295
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
296
|
-
default: string;
|
297
|
-
} & {
|
298
|
-
default: string;
|
299
|
-
};
|
300
|
-
}>> & {
|
301
|
-
onChange?: (...args: any[]) => any;
|
302
|
-
onClose?: (...args: any[]) => any;
|
303
|
-
}, {
|
304
|
-
type: string;
|
305
|
-
theme: string;
|
306
|
-
extCls: string;
|
307
|
-
closable: boolean;
|
308
|
-
radius: string;
|
309
|
-
checked: boolean;
|
310
|
-
checkable: boolean;
|
311
|
-
}>;
|
312
|
-
};
|
228
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
313
229
|
export default BkTag;
|