bkui-vue 1.0.3-beta.61 → 1.0.3-beta.61.dialog.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/dist/index.cjs.js +69 -69
- package/dist/index.esm.js +20154 -19397
- package/dist/index.umd.js +69 -69
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/dialog/dialog.css +139 -77
- package/lib/dialog/dialog.d.ts +41 -121
- package/lib/dialog/dialog.less +10 -65
- package/lib/dialog/dialog.variable.css +139 -77
- package/lib/dialog/index.d.ts +105 -272
- package/lib/dialog/index.js +91 -100
- package/lib/dialog/props.d.ts +8 -48
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +312 -173
- package/lib/info-box/info-box.css +63 -7
- package/lib/info-box/info-box.d.ts +17 -16
- package/lib/info-box/info-box.less +76 -14
- package/lib/info-box/info-box.variable.css +63 -7
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/modal/index.d.ts +45 -325
- package/lib/modal/index.js +187 -666
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +131 -31
- package/lib/modal/modal.d.ts +16 -126
- package/lib/modal/modal.less +84 -28
- package/lib/modal/modal.variable.css +131 -31
- package/lib/modal/props.mixin.d.ts +2 -53
- package/lib/scrollbar/index.d.ts +14 -0
- package/lib/scrollbar/index.js +18737 -0
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +236 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +74 -0
- package/lib/scrollbar/scrollbar.less +93 -0
- package/lib/scrollbar/scrollbar.variable.css +203 -0
- package/lib/select/index.d.ts +0 -33
- package/lib/select/index.js +2 -4
- package/lib/select/select.css +5 -19
- package/lib/select/select.d.ts +0 -11
- package/lib/select/select.less +6 -26
- package/lib/select/select.variable.css +5 -19
- package/lib/select/selectTagInput.d.ts +0 -7
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/index.js +1 -48
- package/lib/sideslider/index.d.ts +31 -222
- package/lib/sideslider/index.js +49 -36
- package/lib/sideslider/sideslider.css +4 -42
- package/lib/sideslider/sideslider.d.ts +14 -105
- package/lib/sideslider/sideslider.less +13 -58
- package/lib/sideslider/sideslider.variable.css +4 -42
- package/lib/table/const.d.ts +1 -1
- package/lib/table/index.js +49 -40
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/table.css +97 -42
- package/lib/table/table.less +43 -58
- package/lib/table/table.variable.css +97 -42
- package/lib/table/use-attributes.d.ts +1 -0
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table-column/index.js +1 -1
- package/lib/tree/tree.css +75 -2
- package/lib/tree/tree.variable.css +75 -2
- package/lib/virtual-render/index.d.ts +4 -0
- package/lib/virtual-render/index.js +253 -52
- package/lib/virtual-render/props.d.ts +7 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +23 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +75 -2
- package/lib/virtual-render/virtual-render.d.ts +2 -0
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +75 -2
- package/package.json +2 -1
- package/lib/icon/image-fill.js +0 -191
- package/lib/shared/mask.d.ts +0 -11
package/lib/table/table.less
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
|
13
13
|
.@{bk-prefix}-table {
|
14
14
|
position: relative;
|
15
|
+
width: 100%;
|
15
16
|
height: auto;
|
16
17
|
overflow: hidden;
|
17
|
-
width: 100%;
|
18
18
|
|
19
19
|
&-flex {
|
20
20
|
display: flex;
|
@@ -34,21 +34,9 @@
|
|
34
34
|
|
35
35
|
.@{bk-prefix}-table-body {
|
36
36
|
position: relative;
|
37
|
-
overflow:
|
38
|
-
scrollbar-gutter: stable;
|
37
|
+
overflow: hidden;
|
39
38
|
border-bottom: 1px solid @table-border-color;
|
40
39
|
|
41
|
-
&::-webkit-scrollbar {
|
42
|
-
width: 5px;
|
43
|
-
height: 6px;
|
44
|
-
}
|
45
|
-
|
46
|
-
&::-webkit-scrollbar-thumb {
|
47
|
-
background: #dcdee5;
|
48
|
-
border-radius: 10px;
|
49
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, .3);
|
50
|
-
}
|
51
|
-
|
52
40
|
.prepend-row {
|
53
41
|
transform: translateX(var(--prepend-left));
|
54
42
|
}
|
@@ -93,17 +81,6 @@
|
|
93
81
|
background: @table-bg-color;
|
94
82
|
transform: translateZ(0);
|
95
83
|
|
96
|
-
&::-webkit-scrollbar {
|
97
|
-
width: 5px;
|
98
|
-
height: 5px;
|
99
|
-
}
|
100
|
-
|
101
|
-
&::-webkit-scrollbar-thumb {
|
102
|
-
background: #ddd;
|
103
|
-
border-radius: 20px;
|
104
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, .3);
|
105
|
-
}
|
106
|
-
|
107
84
|
&.__is-empty {
|
108
85
|
display: flex;
|
109
86
|
height: 100%;
|
@@ -148,8 +125,8 @@
|
|
148
125
|
white-space: nowrap;
|
149
126
|
|
150
127
|
.drag-cell {
|
151
|
-
font-size: 14px;
|
152
128
|
height: 100%;
|
129
|
+
font-size: 14px;
|
153
130
|
}
|
154
131
|
|
155
132
|
&.has-sort {
|
@@ -259,7 +236,7 @@
|
|
259
236
|
.cell {
|
260
237
|
display: flex;
|
261
238
|
align-items: center;
|
262
|
-
height: calc(var(--row-height) -
|
239
|
+
height: calc(var(--row-height) - 2px);
|
263
240
|
color: @table-head-font-color;
|
264
241
|
}
|
265
242
|
|
@@ -279,26 +256,31 @@
|
|
279
256
|
tr {
|
280
257
|
td {
|
281
258
|
background-color: #fff;
|
259
|
+
border-top: 1px solid transparent;
|
260
|
+
border-bottom: 1px solid transparent;
|
261
|
+
border-right: 1px solid transparent;
|
262
|
+
|
263
|
+
box-sizing: border-box;
|
282
264
|
|
283
265
|
&.empty-cell {
|
284
266
|
padding-bottom: 30px;
|
285
267
|
}
|
286
268
|
|
287
269
|
&.is-last {
|
288
|
-
border-bottom: none;
|
270
|
+
// border-bottom: none;
|
289
271
|
}
|
290
272
|
|
291
273
|
.cell {
|
292
274
|
display: block;
|
293
275
|
width: 100%;
|
294
|
-
height: 100%;
|
295
|
-
line-height: calc(var(--row-height) -
|
276
|
+
// height: 100%;
|
277
|
+
line-height: calc(var(--row-height) - 2px);
|
296
278
|
box-sizing: border-box;
|
297
279
|
align-items: center;
|
298
280
|
|
299
281
|
&.drag {
|
300
|
-
cursor: move;
|
301
282
|
text-align: center;
|
283
|
+
cursor: move;
|
302
284
|
}
|
303
285
|
}
|
304
286
|
}
|
@@ -313,18 +295,7 @@
|
|
313
295
|
}
|
314
296
|
}
|
315
297
|
|
316
|
-
// &.--drag-enter {
|
317
|
-
// &.--bottom {
|
318
|
-
// border-bottom: solid 1px #3785ff;
|
319
|
-
// }
|
320
|
-
|
321
|
-
// &.--top {
|
322
|
-
// border-top: solid 1px #3785ff;
|
323
|
-
// }
|
324
|
-
// }
|
325
|
-
|
326
298
|
&.--drag-start {
|
327
|
-
|
328
299
|
td {
|
329
300
|
background: #fff!important;
|
330
301
|
}
|
@@ -337,7 +308,6 @@
|
|
337
308
|
.@{bk-prefix}-table-head {
|
338
309
|
position: relative;
|
339
310
|
z-index: 2;
|
340
|
-
scrollbar-gutter: stable;
|
341
311
|
overflow: hidden;
|
342
312
|
background-color: var(--background-color);
|
343
313
|
|
@@ -368,11 +338,8 @@
|
|
368
338
|
cursor: pointer;
|
369
339
|
|
370
340
|
background: @table-head-bg-color;
|
371
|
-
//border-right: 1px solid @table-border-color;
|
372
|
-
// border-bottom: 1px solid @table-border-color;
|
373
341
|
border-left: 1px solid @table-border-color;
|
374
342
|
border-radius: 0 2px 0 0;
|
375
|
-
// transform: translateX(var(--scroll-left));
|
376
343
|
justify-content: center;
|
377
344
|
align-items: center;
|
378
345
|
|
@@ -389,6 +356,7 @@
|
|
389
356
|
width: 100%;
|
390
357
|
height: var(--footer-height);
|
391
358
|
align-items: center;
|
359
|
+
padding: 0 16px 0 22px;
|
392
360
|
|
393
361
|
&.is-hidden {
|
394
362
|
display: none;
|
@@ -400,14 +368,18 @@
|
|
400
368
|
border-bottom: 1px solid @table-border-color;
|
401
369
|
}
|
402
370
|
|
403
|
-
|
404
|
-
|
405
|
-
|
371
|
+
.bk-table-body {
|
372
|
+
tbody {
|
373
|
+
tr {
|
374
|
+
td {
|
375
|
+
border-bottom-color: @table-border-color;
|
376
|
+
}
|
406
377
|
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
378
|
+
&:last-child {
|
379
|
+
td {
|
380
|
+
border-bottom: none;
|
381
|
+
}
|
382
|
+
}
|
411
383
|
}
|
412
384
|
}
|
413
385
|
}
|
@@ -442,8 +414,7 @@
|
|
442
414
|
}
|
443
415
|
|
444
416
|
&.bordered-col {
|
445
|
-
th
|
446
|
-
td {
|
417
|
+
th {
|
447
418
|
border-right: 1px solid @table-border-color;
|
448
419
|
|
449
420
|
&:last-child {
|
@@ -451,9 +422,24 @@
|
|
451
422
|
}
|
452
423
|
}
|
453
424
|
|
425
|
+
.bk-table-body {
|
426
|
+
tbody {
|
427
|
+
tr {
|
428
|
+
td {
|
429
|
+
border-right-color: @table-border-color;
|
430
|
+
|
431
|
+
&:last-child {
|
432
|
+
border-right-color: transparent;
|
433
|
+
}
|
434
|
+
}
|
435
|
+
}
|
436
|
+
}
|
437
|
+
}
|
438
|
+
|
454
439
|
}
|
455
440
|
|
456
|
-
th,
|
441
|
+
th,
|
442
|
+
td {
|
457
443
|
border-right: 1px solid transparent;
|
458
444
|
}
|
459
445
|
|
@@ -473,7 +459,6 @@
|
|
473
459
|
right: 0;
|
474
460
|
bottom: var(--footer-height);
|
475
461
|
left: 0;
|
476
|
-
// height: var(--fix-height);
|
477
462
|
pointer-events: none;
|
478
463
|
|
479
464
|
.column_fixed {
|
@@ -532,4 +517,4 @@
|
|
532
517
|
.stripe-row {
|
533
518
|
background: #fafbfd;
|
534
519
|
}
|
535
|
-
}
|
520
|
+
}
|
@@ -144,11 +144,84 @@
|
|
144
144
|
.bk-F-scroll-y::-webkit-scrollbar-thumb {
|
145
145
|
border-radius: 4px;
|
146
146
|
}
|
147
|
+
.bk-scrollbar-wrapper {
|
148
|
+
position: relative;
|
149
|
+
overflow: hidden;
|
150
|
+
}
|
151
|
+
.bk-scrollbar-wrapper .bk-scrollbar-content-el {
|
152
|
+
display: inline-flex;
|
153
|
+
flex-direction: column;
|
154
|
+
}
|
155
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track {
|
156
|
+
z-index: 1;
|
157
|
+
position: absolute;
|
158
|
+
right: 0;
|
159
|
+
bottom: 0;
|
160
|
+
pointer-events: none;
|
161
|
+
overflow: hidden;
|
162
|
+
}
|
163
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover {
|
164
|
+
background-color: #F0F1F5;
|
165
|
+
cursor: pointer;
|
166
|
+
}
|
167
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover .bk-scrollbar::before {
|
168
|
+
background-color: #979BA5;
|
169
|
+
}
|
170
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-vertical {
|
171
|
+
top: 0;
|
172
|
+
width: 8px;
|
173
|
+
transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
|
174
|
+
}
|
175
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal {
|
176
|
+
left: 0;
|
177
|
+
height: 8px;
|
178
|
+
transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
|
179
|
+
}
|
180
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal.bk-scrollbar {
|
181
|
+
right: auto;
|
182
|
+
left: 0;
|
183
|
+
top: 0;
|
184
|
+
bottom: 0;
|
185
|
+
min-height: 0;
|
186
|
+
min-width: 8px;
|
187
|
+
width: auto;
|
188
|
+
}
|
189
|
+
.bk-scrollbar-wrapper .bk-scrollbar-dragging {
|
190
|
+
pointer-events: none;
|
191
|
+
-webkit-touch-callout: none;
|
192
|
+
-webkit-user-select: none;
|
193
|
+
-khtml-user-select: none;
|
194
|
+
-moz-user-select: none;
|
195
|
+
-ms-user-select: none;
|
196
|
+
user-select: none;
|
197
|
+
}
|
198
|
+
.bk-scrollbar-wrapper .bk-scrollbar {
|
199
|
+
position: absolute;
|
200
|
+
left: 0;
|
201
|
+
right: 0;
|
202
|
+
min-height: 8px;
|
203
|
+
}
|
204
|
+
.bk-scrollbar-wrapper .bk-scrollbar::before {
|
205
|
+
position: absolute;
|
206
|
+
content: '';
|
207
|
+
background: #DCDEE5;
|
208
|
+
border-radius: 6px;
|
209
|
+
left: 1px;
|
210
|
+
right: 1px;
|
211
|
+
top: 1px;
|
212
|
+
bottom: 1px;
|
213
|
+
opacity: 0;
|
214
|
+
transition: opacity 0.2s 0.9s linear;
|
215
|
+
}
|
216
|
+
.bk-scrollbar-wrapper .bk-scrollbar.bk-scrollbar-visible::before {
|
217
|
+
opacity: 0.9;
|
218
|
+
transition-delay: 0s;
|
219
|
+
transition-duration: 0s;
|
220
|
+
}
|
147
221
|
.bk-virtual-render {
|
148
222
|
position: relative;
|
149
223
|
}
|
150
|
-
.bk-virtual-render .bk-virtual-content
|
151
|
-
.bk-virtual-render.bk-virtual-content {
|
224
|
+
.bk-virtual-render .bk-virtual-content {
|
152
225
|
position: absolute;
|
153
226
|
top: 0;
|
154
227
|
bottom: 0;
|
@@ -1126,9 +1199,9 @@
|
|
1126
1199
|
}
|
1127
1200
|
.bk-table {
|
1128
1201
|
position: relative;
|
1202
|
+
width: 100%;
|
1129
1203
|
height: auto;
|
1130
1204
|
overflow: hidden;
|
1131
|
-
width: 100%;
|
1132
1205
|
}
|
1133
1206
|
.bk-table-flex {
|
1134
1207
|
display: flex;
|
@@ -1144,19 +1217,9 @@
|
|
1144
1217
|
}
|
1145
1218
|
.bk-table .bk-table-body {
|
1146
1219
|
position: relative;
|
1147
|
-
overflow:
|
1148
|
-
scrollbar-gutter: stable;
|
1220
|
+
overflow: hidden;
|
1149
1221
|
border-bottom: 1px solid #dcdee5;
|
1150
1222
|
}
|
1151
|
-
.bk-table .bk-table-body::-webkit-scrollbar {
|
1152
|
-
width: 5px;
|
1153
|
-
height: 6px;
|
1154
|
-
}
|
1155
|
-
.bk-table .bk-table-body::-webkit-scrollbar-thumb {
|
1156
|
-
background: #dcdee5;
|
1157
|
-
border-radius: 10px;
|
1158
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
1159
|
-
}
|
1160
1223
|
.bk-table .bk-table-body .prepend-row {
|
1161
1224
|
transform: translateX(var(--prepend-left));
|
1162
1225
|
}
|
@@ -1183,17 +1246,6 @@
|
|
1183
1246
|
background: white;
|
1184
1247
|
transform: translateZ(0);
|
1185
1248
|
}
|
1186
|
-
.bk-table .bk-table-head::-webkit-scrollbar,
|
1187
|
-
.bk-table .bk-table-body::-webkit-scrollbar {
|
1188
|
-
width: 5px;
|
1189
|
-
height: 5px;
|
1190
|
-
}
|
1191
|
-
.bk-table .bk-table-head::-webkit-scrollbar-thumb,
|
1192
|
-
.bk-table .bk-table-body::-webkit-scrollbar-thumb {
|
1193
|
-
background: #ddd;
|
1194
|
-
border-radius: 20px;
|
1195
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
1196
|
-
}
|
1197
1249
|
.bk-table .bk-table-head.__is-empty,
|
1198
1250
|
.bk-table .bk-table-body.__is-empty {
|
1199
1251
|
display: flex;
|
@@ -1246,8 +1298,8 @@
|
|
1246
1298
|
.bk-table .bk-table-body table th .cell .drag-cell,
|
1247
1299
|
.bk-table .bk-table-head table td .cell .drag-cell,
|
1248
1300
|
.bk-table .bk-table-body table td .cell .drag-cell {
|
1249
|
-
font-size: 14px;
|
1250
1301
|
height: 100%;
|
1302
|
+
font-size: 14px;
|
1251
1303
|
}
|
1252
1304
|
.bk-table .bk-table-head table th .cell.has-sort,
|
1253
1305
|
.bk-table .bk-table-body table th .cell.has-sort,
|
@@ -1372,7 +1424,7 @@
|
|
1372
1424
|
.bk-table .bk-table-body table thead th .cell {
|
1373
1425
|
display: flex;
|
1374
1426
|
align-items: center;
|
1375
|
-
height: calc(var(--row-height) -
|
1427
|
+
height: calc(var(--row-height) - 2px);
|
1376
1428
|
color: #313238;
|
1377
1429
|
}
|
1378
1430
|
.bk-table .bk-table-head table thead th.active,
|
@@ -1389,28 +1441,27 @@
|
|
1389
1441
|
.bk-table .bk-table-head table tbody tr td,
|
1390
1442
|
.bk-table .bk-table-body table tbody tr td {
|
1391
1443
|
background-color: #fff;
|
1444
|
+
border-top: 1px solid transparent;
|
1445
|
+
border-bottom: 1px solid transparent;
|
1446
|
+
border-right: 1px solid transparent;
|
1447
|
+
box-sizing: border-box;
|
1392
1448
|
}
|
1393
1449
|
.bk-table .bk-table-head table tbody tr td.empty-cell,
|
1394
1450
|
.bk-table .bk-table-body table tbody tr td.empty-cell {
|
1395
1451
|
padding-bottom: 30px;
|
1396
1452
|
}
|
1397
|
-
.bk-table .bk-table-head table tbody tr td.is-last,
|
1398
|
-
.bk-table .bk-table-body table tbody tr td.is-last {
|
1399
|
-
border-bottom: none;
|
1400
|
-
}
|
1401
1453
|
.bk-table .bk-table-head table tbody tr td .cell,
|
1402
1454
|
.bk-table .bk-table-body table tbody tr td .cell {
|
1403
1455
|
display: block;
|
1404
1456
|
width: 100%;
|
1405
|
-
height:
|
1406
|
-
line-height: calc(var(--row-height) - 1px);
|
1457
|
+
line-height: calc(var(--row-height) - 2px);
|
1407
1458
|
box-sizing: border-box;
|
1408
1459
|
align-items: center;
|
1409
1460
|
}
|
1410
1461
|
.bk-table .bk-table-head table tbody tr td .cell.drag,
|
1411
1462
|
.bk-table .bk-table-body table tbody tr td .cell.drag {
|
1412
|
-
cursor: move;
|
1413
1463
|
text-align: center;
|
1464
|
+
cursor: move;
|
1414
1465
|
}
|
1415
1466
|
.bk-table .bk-table-head table tbody tr:hover.hover-highlight td:not(.empty-cell),
|
1416
1467
|
.bk-table .bk-table-body table tbody tr:hover.hover-highlight td:not(.empty-cell) {
|
@@ -1423,7 +1474,6 @@
|
|
1423
1474
|
.bk-table .bk-table-head {
|
1424
1475
|
position: relative;
|
1425
1476
|
z-index: 2;
|
1426
|
-
scrollbar-gutter: stable;
|
1427
1477
|
overflow: hidden;
|
1428
1478
|
background-color: var(--background-color);
|
1429
1479
|
}
|
@@ -1466,6 +1516,7 @@
|
|
1466
1516
|
width: 100%;
|
1467
1517
|
height: var(--footer-height);
|
1468
1518
|
align-items: center;
|
1519
|
+
padding: 0 16px 0 22px;
|
1469
1520
|
}
|
1470
1521
|
.bk-table .bk-table-footer.is-hidden {
|
1471
1522
|
display: none;
|
@@ -1473,10 +1524,10 @@
|
|
1473
1524
|
.bk-table.bordered-row .bk-table-head {
|
1474
1525
|
border-bottom: 1px solid #dcdee5;
|
1475
1526
|
}
|
1476
|
-
.bk-table.bordered-row td {
|
1477
|
-
border-bottom:
|
1527
|
+
.bk-table.bordered-row .bk-table-body tbody tr td {
|
1528
|
+
border-bottom-color: #dcdee5;
|
1478
1529
|
}
|
1479
|
-
.bk-table.bordered-row tr:last-child td {
|
1530
|
+
.bk-table.bordered-row .bk-table-body tbody tr:last-child td {
|
1480
1531
|
border-bottom: none;
|
1481
1532
|
}
|
1482
1533
|
.bk-table.bordered-outer {
|
@@ -1497,14 +1548,18 @@
|
|
1497
1548
|
.bk-table.bordered-horizontal .__is-empty .bk-table-body-content {
|
1498
1549
|
border-bottom: 1px solid #dcdee5;
|
1499
1550
|
}
|
1500
|
-
.bk-table.bordered-col th
|
1501
|
-
.bk-table.bordered-col td {
|
1551
|
+
.bk-table.bordered-col th {
|
1502
1552
|
border-right: 1px solid #dcdee5;
|
1503
1553
|
}
|
1504
|
-
.bk-table.bordered-col th:last-child
|
1505
|
-
.bk-table.bordered-col td:last-child {
|
1554
|
+
.bk-table.bordered-col th:last-child {
|
1506
1555
|
border-right: none;
|
1507
1556
|
}
|
1557
|
+
.bk-table.bordered-col .bk-table-body tbody tr td {
|
1558
|
+
border-right-color: #dcdee5;
|
1559
|
+
}
|
1560
|
+
.bk-table.bordered-col .bk-table-body tbody tr td:last-child {
|
1561
|
+
border-right-color: transparent;
|
1562
|
+
}
|
1508
1563
|
.bk-table th,
|
1509
1564
|
.bk-table td {
|
1510
1565
|
border-right: 1px solid transparent;
|
@@ -56,6 +56,7 @@ declare const tableSchemaResponse: (props: TablePropTypes) => {
|
|
56
56
|
localPagination: import("vue").Ref<any>;
|
57
57
|
formatData: ITableFormatData;
|
58
58
|
setIndexData: () => Promise<void>;
|
59
|
+
getFilterFnList: () => any[];
|
59
60
|
};
|
60
61
|
export type ITableResponse = ReturnType<typeof tableSchemaResponse>;
|
61
62
|
export default tableSchemaResponse;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { SetupContext } from 'vue';
|
2
2
|
import { TablePropTypes } from './props';
|
3
3
|
import { ITableResponse } from './use-attributes';
|
4
|
-
declare const _default: (props: TablePropTypes, context: SetupContext<any>, tableResp: ITableResponse,
|
4
|
+
declare const _default: (props: TablePropTypes, context: SetupContext<any>, tableResp: ITableResponse, head: any, root: any, resetTableHeight: any) => {
|
5
5
|
renderTableHeadSchema: () => (string | JSX.Element)[];
|
6
6
|
renderTableBodySchema: (rows: any[]) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
7
7
|
[key: string]: any;
|
package/lib/tree/tree.css
CHANGED
@@ -15,11 +15,84 @@
|
|
15
15
|
.bk-F-scroll-y::-webkit-scrollbar-thumb {
|
16
16
|
border-radius: 4px;
|
17
17
|
}
|
18
|
+
.bk-scrollbar-wrapper {
|
19
|
+
position: relative;
|
20
|
+
overflow: hidden;
|
21
|
+
}
|
22
|
+
.bk-scrollbar-wrapper .bk-scrollbar-content-el {
|
23
|
+
display: inline-flex;
|
24
|
+
flex-direction: column;
|
25
|
+
}
|
26
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track {
|
27
|
+
z-index: 1;
|
28
|
+
position: absolute;
|
29
|
+
right: 0;
|
30
|
+
bottom: 0;
|
31
|
+
pointer-events: none;
|
32
|
+
overflow: hidden;
|
33
|
+
}
|
34
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover {
|
35
|
+
background-color: #F0F1F5;
|
36
|
+
cursor: pointer;
|
37
|
+
}
|
38
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover .bk-scrollbar::before {
|
39
|
+
background-color: #979BA5;
|
40
|
+
}
|
41
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-vertical {
|
42
|
+
top: 0;
|
43
|
+
width: 8px;
|
44
|
+
transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
|
45
|
+
}
|
46
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal {
|
47
|
+
left: 0;
|
48
|
+
height: 8px;
|
49
|
+
transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
|
50
|
+
}
|
51
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal.bk-scrollbar {
|
52
|
+
right: auto;
|
53
|
+
left: 0;
|
54
|
+
top: 0;
|
55
|
+
bottom: 0;
|
56
|
+
min-height: 0;
|
57
|
+
min-width: 8px;
|
58
|
+
width: auto;
|
59
|
+
}
|
60
|
+
.bk-scrollbar-wrapper .bk-scrollbar-dragging {
|
61
|
+
pointer-events: none;
|
62
|
+
-webkit-touch-callout: none;
|
63
|
+
-webkit-user-select: none;
|
64
|
+
-khtml-user-select: none;
|
65
|
+
-moz-user-select: none;
|
66
|
+
-ms-user-select: none;
|
67
|
+
user-select: none;
|
68
|
+
}
|
69
|
+
.bk-scrollbar-wrapper .bk-scrollbar {
|
70
|
+
position: absolute;
|
71
|
+
left: 0;
|
72
|
+
right: 0;
|
73
|
+
min-height: 8px;
|
74
|
+
}
|
75
|
+
.bk-scrollbar-wrapper .bk-scrollbar::before {
|
76
|
+
position: absolute;
|
77
|
+
content: '';
|
78
|
+
background: #DCDEE5;
|
79
|
+
border-radius: 6px;
|
80
|
+
left: 1px;
|
81
|
+
right: 1px;
|
82
|
+
top: 1px;
|
83
|
+
bottom: 1px;
|
84
|
+
opacity: 0;
|
85
|
+
transition: opacity 0.2s 0.9s linear;
|
86
|
+
}
|
87
|
+
.bk-scrollbar-wrapper .bk-scrollbar.bk-scrollbar-visible::before {
|
88
|
+
opacity: 0.9;
|
89
|
+
transition-delay: 0s;
|
90
|
+
transition-duration: 0s;
|
91
|
+
}
|
18
92
|
.bk-virtual-render {
|
19
93
|
position: relative;
|
20
94
|
}
|
21
|
-
.bk-virtual-render .bk-virtual-content
|
22
|
-
.bk-virtual-render.bk-virtual-content {
|
95
|
+
.bk-virtual-render .bk-virtual-content {
|
23
96
|
position: absolute;
|
24
97
|
top: 0;
|
25
98
|
bottom: 0;
|
@@ -144,11 +144,84 @@
|
|
144
144
|
.bk-F-scroll-y::-webkit-scrollbar-thumb {
|
145
145
|
border-radius: 4px;
|
146
146
|
}
|
147
|
+
.bk-scrollbar-wrapper {
|
148
|
+
position: relative;
|
149
|
+
overflow: hidden;
|
150
|
+
}
|
151
|
+
.bk-scrollbar-wrapper .bk-scrollbar-content-el {
|
152
|
+
display: inline-flex;
|
153
|
+
flex-direction: column;
|
154
|
+
}
|
155
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track {
|
156
|
+
z-index: 1;
|
157
|
+
position: absolute;
|
158
|
+
right: 0;
|
159
|
+
bottom: 0;
|
160
|
+
pointer-events: none;
|
161
|
+
overflow: hidden;
|
162
|
+
}
|
163
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover {
|
164
|
+
background-color: #F0F1F5;
|
165
|
+
cursor: pointer;
|
166
|
+
}
|
167
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover .bk-scrollbar::before {
|
168
|
+
background-color: #979BA5;
|
169
|
+
}
|
170
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-vertical {
|
171
|
+
top: 0;
|
172
|
+
width: 8px;
|
173
|
+
transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
|
174
|
+
}
|
175
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal {
|
176
|
+
left: 0;
|
177
|
+
height: 8px;
|
178
|
+
transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
|
179
|
+
}
|
180
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal.bk-scrollbar {
|
181
|
+
right: auto;
|
182
|
+
left: 0;
|
183
|
+
top: 0;
|
184
|
+
bottom: 0;
|
185
|
+
min-height: 0;
|
186
|
+
min-width: 8px;
|
187
|
+
width: auto;
|
188
|
+
}
|
189
|
+
.bk-scrollbar-wrapper .bk-scrollbar-dragging {
|
190
|
+
pointer-events: none;
|
191
|
+
-webkit-touch-callout: none;
|
192
|
+
-webkit-user-select: none;
|
193
|
+
-khtml-user-select: none;
|
194
|
+
-moz-user-select: none;
|
195
|
+
-ms-user-select: none;
|
196
|
+
user-select: none;
|
197
|
+
}
|
198
|
+
.bk-scrollbar-wrapper .bk-scrollbar {
|
199
|
+
position: absolute;
|
200
|
+
left: 0;
|
201
|
+
right: 0;
|
202
|
+
min-height: 8px;
|
203
|
+
}
|
204
|
+
.bk-scrollbar-wrapper .bk-scrollbar::before {
|
205
|
+
position: absolute;
|
206
|
+
content: '';
|
207
|
+
background: #DCDEE5;
|
208
|
+
border-radius: 6px;
|
209
|
+
left: 1px;
|
210
|
+
right: 1px;
|
211
|
+
top: 1px;
|
212
|
+
bottom: 1px;
|
213
|
+
opacity: 0;
|
214
|
+
transition: opacity 0.2s 0.9s linear;
|
215
|
+
}
|
216
|
+
.bk-scrollbar-wrapper .bk-scrollbar.bk-scrollbar-visible::before {
|
217
|
+
opacity: 0.9;
|
218
|
+
transition-delay: 0s;
|
219
|
+
transition-duration: 0s;
|
220
|
+
}
|
147
221
|
.bk-virtual-render {
|
148
222
|
position: relative;
|
149
223
|
}
|
150
|
-
.bk-virtual-render .bk-virtual-content
|
151
|
-
.bk-virtual-render.bk-virtual-content {
|
224
|
+
.bk-virtual-render .bk-virtual-content {
|
152
225
|
position: absolute;
|
153
226
|
top: 0;
|
154
227
|
bottom: 0;
|
@@ -124,6 +124,7 @@ declare const BkVirtualRender: {
|
|
124
124
|
} & {
|
125
125
|
default: boolean;
|
126
126
|
};
|
127
|
+
scrollbar: import("vue-types").VueTypeDef<import("./props").IScrollbarOption>;
|
127
128
|
autoReset: import("vue-types").VueTypeValidableDef<boolean> & {
|
128
129
|
default: boolean;
|
129
130
|
} & {
|
@@ -261,6 +262,7 @@ declare const BkVirtualRender: {
|
|
261
262
|
} & {
|
262
263
|
default: boolean;
|
263
264
|
};
|
265
|
+
scrollbar: import("vue-types").VueTypeDef<import("./props").IScrollbarOption>;
|
264
266
|
autoReset: import("vue-types").VueTypeValidableDef<boolean> & {
|
265
267
|
default: boolean;
|
266
268
|
} & {
|
@@ -440,6 +442,7 @@ declare const BkVirtualRender: {
|
|
440
442
|
} & {
|
441
443
|
default: boolean;
|
442
444
|
};
|
445
|
+
scrollbar: import("vue-types").VueTypeDef<import("./props").IScrollbarOption>;
|
443
446
|
autoReset: import("vue-types").VueTypeValidableDef<boolean> & {
|
444
447
|
default: boolean;
|
445
448
|
} & {
|
@@ -613,6 +616,7 @@ declare const BkVirtualRender: {
|
|
613
616
|
} & {
|
614
617
|
default: boolean;
|
615
618
|
};
|
619
|
+
scrollbar: import("vue-types").VueTypeDef<import("./props").IScrollbarOption>;
|
616
620
|
autoReset: import("vue-types").VueTypeValidableDef<boolean> & {
|
617
621
|
default: boolean;
|
618
622
|
} & {
|