bkui-vue 0.0.2-beta.99 → 0.0.2-modal-refactor.2
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 +47 -47
- package/dist/index.esm.js +12587 -12621
- package/dist/index.umd.js +34 -34
- 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/affix.css +0 -122
- package/lib/affix/affix.variable.css +5 -245
- package/lib/alert/alert.css +3 -125
- package/lib/alert/alert.variable.css +5 -245
- package/lib/backtop/backtop.css +3 -125
- package/lib/backtop/backtop.variable.css +8 -370
- package/lib/badge/badge.css +34 -150
- package/lib/badge/badge.less +8 -4
- package/lib/badge/badge.variable.css +13 -247
- package/lib/breadcrumb/breadcrumb.css +5 -127
- package/lib/breadcrumb/breadcrumb.variable.css +10 -372
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +137 -256
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.less +98 -93
- package/lib/button/button.variable.css +23 -260
- package/lib/button/index.d.ts +5 -5
- package/lib/card/card.css +11 -133
- package/lib/card/card.less +7 -7
- package/lib/card/card.variable.css +16 -378
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.css +26 -148
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/cascader.less +4 -6
- package/lib/cascader/cascader.variable.css +31 -393
- package/lib/cascader/index.d.ts +4 -0
- package/lib/cascader/index.js +31 -14
- package/lib/checkbox/checkbox.css +22 -132
- package/lib/checkbox/checkbox.d.ts +9 -8
- package/lib/checkbox/checkbox.less +15 -1
- package/lib/checkbox/checkbox.variable.css +18 -246
- package/lib/checkbox/common.d.ts +1 -0
- package/lib/checkbox/index.d.ts +15 -12
- package/lib/checkbox/index.js +33 -9
- package/lib/code-diff/code-diff.css +0 -122
- package/lib/code-diff/code-diff.variable.css +5 -245
- package/lib/collapse/collapse.css +1 -123
- package/lib/collapse/collapse.variable.css +5 -245
- package/lib/collapse-transition/collapse-transition.css +0 -122
- package/lib/collapse-transition/collapse-transition.variable.css +5 -245
- package/lib/color-picker/color-picker.css +0 -122
- package/lib/color-picker/color-picker.variable.css +5 -245
- package/lib/config-provider/config-provider.css +0 -122
- package/lib/config-provider/config-provider.d.ts +18 -0
- package/lib/config-provider/config-provider.variable.css +5 -245
- package/lib/config-provider/index.d.ts +24 -0
- package/lib/config-provider/token.d.ts +6 -0
- package/lib/container/container.css +0 -122
- package/lib/container/container.variable.css +5 -367
- package/lib/date-picker/common.d.ts +2 -0
- package/lib/date-picker/date-picker.css +17 -139
- package/lib/date-picker/date-picker.d.ts +2 -0
- package/lib/date-picker/date-picker.variable.css +5 -245
- package/lib/date-picker/index.d.ts +6 -0
- package/lib/date-picker/index.js +184 -110
- package/lib/date-picker/panel/date.d.ts +2 -2
- package/lib/date-picker/panel/time-range.d.ts +17 -0
- package/lib/date-picker/panel/time.d.ts +17 -1
- package/lib/date-picker/time-picker.d.ts +2 -0
- package/lib/date-picker/use-calendar.d.ts +24 -0
- package/lib/dialog/dialog.css +76 -172
- package/lib/dialog/dialog.d.ts +18 -9
- package/lib/dialog/dialog.less +9 -8
- package/lib/dialog/dialog.variable.css +81 -417
- package/lib/dialog/index.d.ts +34 -18
- package/lib/dialog/index.js +4 -7
- package/lib/dialog/props.d.ts +7 -3
- package/lib/directives/index.js +15 -4
- package/lib/divider/divider.css +3 -125
- package/lib/divider/divider.variable.css +5 -245
- package/lib/dropdown/dropdown.css +1 -123
- package/lib/dropdown/dropdown.variable.css +6 -368
- package/lib/dropdown/index.js +2 -2
- package/lib/exception/exception.css +0 -122
- package/lib/exception/exception.variable.css +5 -245
- package/lib/fixed-navbar/fixed-navbar.css +4 -126
- package/lib/fixed-navbar/fixed-navbar.variable.css +5 -245
- package/lib/form/form.css +2 -123
- package/lib/form/form.less +3 -2
- package/lib/form/form.variable.css +7 -246
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +58 -25
- package/lib/icon/loading.d.ts +4 -0
- package/lib/icon/loading.js +276 -0
- package/lib/image/image-viewer.css +0 -122
- package/lib/image/image-viewer.variable.css +5 -245
- package/lib/image/image.css +0 -122
- package/lib/image/image.variable.css +5 -367
- package/lib/info-box/index.js +28 -20
- package/lib/info-box/info-box.css +10 -132
- package/lib/info-box/info-box.less +37 -34
- package/lib/info-box/info-box.variable.css +15 -255
- package/lib/input/index.d.ts +4 -4
- package/lib/input/index.js +12 -5
- package/lib/input/input.css +84 -190
- package/lib/input/input.d.ts +3 -3
- package/lib/input/input.less +19 -0
- package/lib/input/input.variable.css +89 -435
- package/lib/link/link.css +16 -138
- package/lib/link/link.variable.css +5 -245
- package/lib/loading/index.d.ts +3 -3
- package/lib/loading/loading.css +25 -147
- package/lib/loading/loading.d.ts +1 -1
- package/lib/loading/loading.less +14 -9
- package/lib/loading/loading.variable.css +30 -392
- package/lib/locale/index.js +14 -2
- package/lib/locale/lang/en.d.ts +6 -0
- package/lib/menu/menu.css +18 -140
- package/lib/menu/menu.variable.css +23 -385
- package/lib/menu/submenu.css +0 -122
- package/lib/menu/submenu.variable.css +5 -245
- package/lib/message/message.css +21 -143
- package/lib/message/message.variable.css +5 -245
- package/lib/modal/index.d.ts +103 -60
- package/lib/modal/index.js +131 -103
- package/lib/modal/modal.css +35 -132
- package/lib/modal/modal.d.ts +38 -20
- package/lib/modal/modal.less +33 -0
- package/lib/modal/modal.variable.css +40 -377
- package/lib/modal/props.mixin.d.ts +7 -3
- package/lib/navigation/navigation.css +2 -124
- package/lib/navigation/navigation.variable.css +5 -245
- package/lib/notify/notify.css +13 -135
- package/lib/notify/notify.less +6 -6
- package/lib/notify/notify.variable.css +11 -251
- package/lib/overflow-title/components/overflow-title.d.ts +0 -1
- package/lib/overflow-title/index.js +2 -178
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/pagination.css +2 -123
- package/lib/pagination/pagination.d.ts +3 -3
- package/lib/pagination/pagination.less +1 -0
- package/lib/pagination/pagination.variable.css +6 -245
- package/lib/plugin-popover/index.js +31 -103
- package/lib/pop-confirm/index.d.ts +42 -3
- package/lib/pop-confirm/index.js +55 -47
- package/lib/pop-confirm/pop-confirm.css +4 -126
- package/lib/pop-confirm/pop-confirm.d.ts +14 -1
- package/lib/pop-confirm/pop-confirm.less +4 -4
- package/lib/pop-confirm/pop-confirm.variable.css +9 -249
- package/lib/popover/index.js +31 -103
- package/lib/popover/popover.css +1 -123
- package/lib/popover/popover.less +1 -1
- package/lib/popover/popover.variable.css +6 -246
- package/lib/preset.d.ts +12 -0
- package/lib/process/process.css +13 -135
- package/lib/process/process.variable.css +5 -245
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/progress.css +11 -129
- package/lib/progress/progress.d.ts +3 -3
- package/lib/progress/progress.less +8 -3
- package/lib/progress/progress.variable.css +16 -374
- package/lib/radio/common.d.ts +1 -0
- package/lib/radio/index.d.ts +8 -2
- package/lib/radio/index.js +11 -3
- package/lib/radio/radio-button.d.ts +4 -3
- package/lib/radio/radio-group.d.ts +3 -0
- package/lib/radio/radio.css +49 -157
- package/lib/radio/radio.d.ts +1 -0
- package/lib/radio/radio.less +42 -8
- package/lib/radio/radio.variable.css +25 -251
- package/lib/rate/index.d.ts +4 -4
- package/lib/rate/index.js +22 -6
- package/lib/rate/rate.css +0 -122
- package/lib/rate/rate.d.ts +2 -2
- package/lib/rate/rate.variable.css +5 -245
- package/lib/rate/star.css +3 -122
- package/lib/rate/star.less +3 -0
- package/lib/rate/star.variable.css +8 -245
- package/lib/resize-layout/index.d.ts +3 -3
- package/lib/resize-layout/resize-layout.css +2 -124
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/resize-layout/resize-layout.less +2 -2
- package/lib/resize-layout/resize-layout.variable.css +7 -247
- package/lib/search-select/index.js +6 -6
- package/lib/search-select/search-select.css +34 -156
- package/lib/search-select/search-select.less +9 -9
- package/lib/search-select/search-select.variable.css +39 -401
- package/lib/select/common.d.ts +3 -1
- package/lib/select/index.d.ts +92 -21
- package/lib/select/index.js +193 -63
- package/lib/select/option.d.ts +1 -0
- package/lib/select/select.css +27 -146
- package/lib/select/select.d.ts +38 -9
- package/lib/select/select.less +3 -0
- package/lib/select/select.variable.css +32 -391
- package/lib/select/selectTagInput.d.ts +2 -0
- package/lib/select/type.d.ts +3 -0
- package/lib/shared/index.d.ts +1 -2
- package/lib/shared/index.js +484 -1133
- package/lib/shared/mask.d.ts +11 -0
- package/lib/shared/vue-types.d.ts +1 -1
- package/lib/sideslider/index.d.ts +34 -18
- package/lib/sideslider/index.js +0 -11
- package/lib/sideslider/sideslider.css +12 -134
- package/lib/sideslider/sideslider.d.ts +18 -9
- package/lib/sideslider/sideslider.less +80 -77
- package/lib/sideslider/sideslider.variable.css +16 -256
- package/lib/slider/index.js +7 -1
- package/lib/slider/slider.css +6 -126
- package/lib/slider/slider.less +2 -0
- package/lib/slider/slider.variable.css +7 -245
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/index.js +1 -1
- package/lib/steps/steps.css +53 -163
- package/lib/steps/steps.d.ts +3 -3
- package/lib/steps/steps.less +26 -5
- package/lib/steps/steps.variable.css +23 -251
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/mixins/animate.css +0 -122
- package/lib/styles/mixins/animate.variable.css +5 -245
- package/lib/styles/mixins/mixins.css +0 -122
- package/lib/styles/mixins/mixins.variable.css +0 -122
- package/lib/styles/mixins/popper.css +0 -122
- package/lib/styles/mixins/popper.variable.css +5 -245
- package/lib/styles/mixins/scroll.css +0 -122
- package/lib/styles/mixins/scroll.variable.css +5 -245
- package/lib/styles/reset.css +0 -122
- package/lib/styles/reset.variable.css +5 -245
- package/lib/styles/themes/themes.less +124 -289
- package/lib/swiper/swiper.css +0 -122
- package/lib/swiper/swiper.variable.css +5 -245
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/switcher.css +17 -139
- package/lib/switcher/switcher.d.ts +3 -3
- package/lib/switcher/switcher.variable.css +22 -384
- package/lib/tab/tab.css +17 -139
- package/lib/tab/tab.variable.css +5 -245
- package/lib/table/components/table-column.d.ts +5 -4
- package/lib/table/index.d.ts +8 -7
- package/lib/table/index.js +877 -630
- package/lib/table/plugins/body-empty.d.ts +1 -1
- package/lib/table/plugins/head-filter.css +1 -150
- package/lib/table/plugins/head-filter.less +2 -34
- package/lib/table/plugins/head-filter.variable.css +6 -273
- package/lib/table/plugins/head-sort.css +0 -122
- package/lib/table/plugins/head-sort.variable.css +5 -245
- package/lib/table/plugins/settings.css +0 -122
- package/lib/table/plugins/settings.d.ts +0 -7
- package/lib/table/plugins/settings.variable.css +5 -245
- package/lib/table/plugins/use-head-cell.d.ts +7 -0
- package/lib/table/plugins/use-pagination.d.ts +2 -1
- package/lib/table/props.d.ts +3 -1
- package/lib/table/table.css +207 -337
- package/lib/table/table.d.ts +1 -1
- package/lib/table/table.less +27 -21
- package/lib/table/table.variable.css +212 -582
- package/lib/table/use-attributes.d.ts +5 -1
- package/lib/table/use-column.d.ts +3 -0
- package/lib/table/use-common.d.ts +0 -1
- package/lib/table/utils.d.ts +6 -4
- package/lib/table-column/index.d.ts +13 -10
- package/lib/tag/tag.css +5 -127
- package/lib/tag/tag.variable.css +5 -245
- package/lib/tag-input/index.js +17 -13
- package/lib/tag-input/list-tag-render.d.ts +11 -0
- package/lib/tag-input/tag-input.css +18 -140
- package/lib/tag-input/tag-input.d.ts +14 -2
- package/lib/tag-input/tag-input.variable.css +5 -245
- package/lib/time-picker/index.d.ts +6 -0
- package/lib/time-picker/time-picker.css +4 -125
- package/lib/time-picker/time-picker.less +5 -9
- package/lib/time-picker/time-picker.variable.css +9 -248
- package/lib/timeline/timeline.css +19 -141
- package/lib/timeline/timeline.variable.css +5 -245
- package/lib/transfer/transfer.css +21 -143
- package/lib/transfer/transfer.less +2 -2
- package/lib/transfer/transfer.variable.css +7 -247
- package/lib/tree/index.d.ts +3 -3
- package/lib/tree/index.js +54 -8
- package/lib/tree/tree.css +22 -132
- package/lib/tree/tree.d.ts +5 -1
- package/lib/tree/tree.variable.css +27 -377
- package/lib/tree/use-empty.d.ts +1 -3
- package/lib/upload/index.js +2 -2
- package/lib/upload/upload.css +27 -149
- package/lib/upload/upload.variable.css +32 -394
- package/lib/virtual-render/index.js +71 -30
- package/lib/virtual-render/use-fix-top.d.ts +18 -0
- package/lib/virtual-render/v-virtual-render.d.ts +5 -0
- package/lib/virtual-render/virtual-render.css +0 -122
- package/lib/virtual-render/virtual-render.variable.css +5 -367
- package/package.json +4 -3
- package/lib/shared/mask-manager.d.ts +0 -89
- package/lib/shared/pop-manager.d.ts +0 -41
- package/lib/styles/themes/themes.css +0 -122
- package/lib/styles/themes/themes.variable.css +0 -122
- package/lib/table/render.d.ts +0 -130
- /package/lib/overflow-title/{overflow.css → overflow-title.css} +0 -0
- /package/lib/overflow-title/{overflow.less → overflow-title.less} +0 -0
- /package/lib/overflow-title/{overflow.variable.css → overflow-title.variable.css} +0 -0
package/lib/table/table.d.ts
CHANGED
@@ -473,6 +473,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
473
473
|
minHeight: string | number;
|
474
474
|
columns: Column[];
|
475
475
|
checked: unknown[];
|
476
|
+
emptyText: string;
|
476
477
|
cellClass: any;
|
477
478
|
headHeight: number;
|
478
479
|
rowKey: any;
|
@@ -487,7 +488,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
487
488
|
paginationHeight: number;
|
488
489
|
remotePagination: boolean;
|
489
490
|
acrossAll: boolean;
|
490
|
-
emptyText: string;
|
491
491
|
emptyCellText: any;
|
492
492
|
rowClass: any;
|
493
493
|
rowStyle: any;
|
package/lib/table/table.less
CHANGED
@@ -34,6 +34,7 @@
|
|
34
34
|
.@{bk-prefix}-table-body {
|
35
35
|
position: relative;
|
36
36
|
overflow: auto;
|
37
|
+
scrollbar-gutter: stable;
|
37
38
|
|
38
39
|
&::-webkit-scrollbar {
|
39
40
|
width: 5px;
|
@@ -58,7 +59,7 @@
|
|
58
59
|
tr {
|
59
60
|
&:nth-child(even) {
|
60
61
|
td {
|
61
|
-
background-color: #
|
62
|
+
background-color: #fafbfd;
|
62
63
|
}
|
63
64
|
}
|
64
65
|
|
@@ -108,11 +109,11 @@
|
|
108
109
|
align-items: center;
|
109
110
|
|
110
111
|
.@{bk-prefix}-table-body-content {
|
112
|
+
position: relative;
|
111
113
|
display: flex;
|
112
114
|
width: 100%;
|
113
115
|
height: 100%;
|
114
116
|
padding-bottom: 20px;
|
115
|
-
position: relative;
|
116
117
|
}
|
117
118
|
|
118
119
|
}
|
@@ -120,9 +121,9 @@
|
|
120
121
|
table {
|
121
122
|
width: 100%;
|
122
123
|
border-collapse: collapse;
|
124
|
+
transform: translateZ(0);
|
123
125
|
table-layout: fixed;
|
124
126
|
align-self: flex-start;
|
125
|
-
transform: translateZ(0);
|
126
127
|
|
127
128
|
th,
|
128
129
|
td {
|
@@ -229,24 +230,25 @@
|
|
229
230
|
background-color: @table-head-bg-color;
|
230
231
|
|
231
232
|
th {
|
233
|
+
position: relative;
|
232
234
|
font-weight: 400;
|
233
235
|
background-color: var(--background-color);
|
234
|
-
position: relative;
|
235
236
|
|
236
237
|
&.col-resize-hover {
|
237
238
|
&::after {
|
238
|
-
content: '';
|
239
239
|
position: absolute;
|
240
|
-
right: 0;
|
241
240
|
top: 0;
|
241
|
+
right: 0;
|
242
242
|
bottom: 0;
|
243
|
-
width: 6px;
|
244
|
-
transform: translateX(50%);
|
245
|
-
background-color: #3785FF;
|
246
243
|
z-index: 1;
|
244
|
+
width: 6px;
|
247
245
|
pointer-events: none;
|
246
|
+
background-color: #3785ff;
|
247
|
+
content: '';
|
248
|
+
transform: translateX(50%);
|
248
249
|
}
|
249
250
|
}
|
251
|
+
|
250
252
|
.cell {
|
251
253
|
display: flex;
|
252
254
|
align-items: center;
|
@@ -256,8 +258,8 @@
|
|
256
258
|
|
257
259
|
&.active,
|
258
260
|
&:hover {
|
259
|
-
background: @table-row-active-bg-color;
|
260
261
|
cursor: pointer;
|
262
|
+
background: @table-row-active-bg-color;
|
261
263
|
}
|
262
264
|
|
263
265
|
&.column_fixed {
|
@@ -305,18 +307,23 @@
|
|
305
307
|
|
306
308
|
.@{bk-prefix}-table-head {
|
307
309
|
position: relative;
|
308
|
-
transform: translateX(var(--scroll-head-left));
|
309
310
|
z-index: 2;
|
311
|
+
scrollbar-gutter: stable;
|
312
|
+
overflow: hidden;
|
310
313
|
|
311
314
|
.col-resize-drag {
|
312
315
|
position: absolute;
|
313
|
-
right: 0;
|
314
316
|
top: 0;
|
317
|
+
right: 0;
|
315
318
|
bottom: 0;
|
319
|
+
z-index: 1;
|
316
320
|
width: 6px;
|
321
|
+
background-color: #3785ff;
|
317
322
|
transform: translateX(-50%);
|
318
|
-
|
319
|
-
|
323
|
+
}
|
324
|
+
|
325
|
+
thead {
|
326
|
+
transform: translateX(var(--scroll-head-left));
|
320
327
|
}
|
321
328
|
|
322
329
|
.table-head-settings {
|
@@ -341,16 +348,16 @@
|
|
341
348
|
|
342
349
|
> span {
|
343
350
|
display: flex;
|
344
|
-
width:
|
345
|
-
height:
|
351
|
+
width: 1em;
|
352
|
+
height: 1em;
|
346
353
|
}
|
347
354
|
}
|
348
355
|
}
|
349
356
|
|
350
357
|
.@{bk-prefix}-table-footer {
|
351
|
-
height: var(--footer-height);
|
352
|
-
width: 100%;
|
353
358
|
display: flex;
|
359
|
+
width: 100%;
|
360
|
+
height: var(--footer-height);
|
354
361
|
align-items: center;
|
355
362
|
|
356
363
|
&.is-hidden {
|
@@ -428,9 +435,8 @@
|
|
428
435
|
top: 0;
|
429
436
|
right: 0;
|
430
437
|
bottom: var(--footer-height);
|
431
|
-
max-height: var(--fix-max-height);
|
432
438
|
left: 0;
|
433
|
-
height: var(--fix-height);
|
439
|
+
// height: var(--fix-height);
|
434
440
|
pointer-events: none;
|
435
441
|
|
436
442
|
.column_fixed {
|
@@ -487,6 +493,6 @@
|
|
487
493
|
}
|
488
494
|
|
489
495
|
.stripe-row {
|
490
|
-
background: #
|
496
|
+
background: #fafbfd;
|
491
497
|
}
|
492
498
|
}
|