bk-magic-vue 2.4.1-beta.1 → 2.4.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.
Files changed (99) hide show
  1. package/dist/bk-magic-vue.css +113 -24
  2. package/dist/bk-magic-vue.js +1110 -851
  3. package/dist/bk-magic-vue.min.css +1 -1
  4. package/dist/bk-magic-vue.min.css.gz +0 -0
  5. package/dist/bk-magic-vue.min.css.map +1 -1
  6. package/dist/bk-magic-vue.min.js +1 -1
  7. package/dist/bk-magic-vue.min.js.gz +0 -0
  8. package/dist/bk-magic-vue.min.js.map +1 -1
  9. package/lib/alert.js +472 -472
  10. package/lib/back-top.js +1 -1
  11. package/lib/badge.js +5 -11
  12. package/lib/big-tree.js +11 -14
  13. package/lib/breadcrumb-item.js +426 -426
  14. package/lib/breadcrumb.js +438 -438
  15. package/lib/button.js +509 -509
  16. package/lib/cascade.js +46 -2
  17. package/lib/checkbox-group.js +16 -9
  18. package/lib/checkbox.js +16 -1
  19. package/lib/container.js +454 -454
  20. package/lib/date-picker.js +10 -19
  21. package/lib/dialog.js +6 -6
  22. package/lib/directives/clickoutside.js +61 -61
  23. package/lib/directives/copy.js +51 -51
  24. package/lib/directives/overflow-tips.js +8 -11
  25. package/lib/directives/tooltips.js +8 -11
  26. package/lib/divider.js +446 -446
  27. package/lib/dropdown-menu.js +1747 -1747
  28. package/lib/form-item.js +9 -12
  29. package/lib/form.js +5 -11
  30. package/lib/image-viewer.js +67 -2
  31. package/lib/image.js +78 -15
  32. package/lib/info-box.js +11 -17
  33. package/lib/link.js +430 -430
  34. package/lib/loading.js +11 -14
  35. package/lib/locale/index.js +5 -11
  36. package/lib/locale/lang/en-US.js +153 -143
  37. package/lib/locale/lang/zh-CN.js +151 -143
  38. package/lib/message.js +6 -12
  39. package/lib/mixins/emitter.js +18 -18
  40. package/lib/navigation-menu-group.js +412 -412
  41. package/lib/navigation-menu-item.js +722 -722
  42. package/lib/navigation.js +668 -668
  43. package/lib/notify.js +6 -12
  44. package/lib/option-group.js +16 -1
  45. package/lib/option.js +1 -1
  46. package/lib/pagination.js +27 -27
  47. package/lib/popconfirm.js +3 -0
  48. package/lib/popover.js +3 -0
  49. package/lib/process.js +227 -51
  50. package/lib/progress.js +499 -499
  51. package/lib/radio-button.js +541 -541
  52. package/lib/radio.js +555 -555
  53. package/lib/rate.js +607 -607
  54. package/lib/round-progress.js +502 -502
  55. package/lib/search-select.js +8 -5
  56. package/lib/select.js +20 -20
  57. package/lib/sideslider.js +1 -1
  58. package/lib/slider.js +13 -16
  59. package/lib/spin.js +500 -500
  60. package/lib/star.js +496 -496
  61. package/lib/steps.js +3 -3
  62. package/lib/switcher.js +538 -538
  63. package/lib/tab-panel.js +456 -456
  64. package/lib/table-column.js +5 -11
  65. package/lib/table-setting-content.js +42 -20
  66. package/lib/table.js +782 -586
  67. package/lib/tag-input.js +14 -14
  68. package/lib/tag.js +459 -459
  69. package/lib/time-picker.js +7 -13
  70. package/lib/timeline.js +5 -11
  71. package/lib/transfer.js +14 -17
  72. package/lib/tree.js +5 -11
  73. package/lib/ui/bk-magic-vue.css +113 -24
  74. package/lib/ui/bk-magic-vue.min.css +1 -1
  75. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  76. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  77. package/lib/ui/image-viewer.css +38 -17
  78. package/lib/ui/image-viewer.min.css +1 -1
  79. package/lib/ui/image-viewer.min.css.map +1 -1
  80. package/lib/ui/process.css +76 -0
  81. package/lib/ui/process.min.css +1 -1
  82. package/lib/ui/process.min.css.map +1 -1
  83. package/lib/ui/slider.css +4 -2
  84. package/lib/ui/slider.min.css +1 -1
  85. package/lib/ui/slider.min.css.map +1 -1
  86. package/lib/ui/spin.css +5 -1
  87. package/lib/ui/spin.min.css +1 -1
  88. package/lib/ui/spin.min.css.map +1 -1
  89. package/lib/ui/table.css +16 -5
  90. package/lib/ui/table.min.css +1 -1
  91. package/lib/ui/table.min.css.map +1 -1
  92. package/lib/upload.js +10 -13
  93. package/lib/utils/deepmerge.js +5 -11
  94. package/lib/utils/pinyin.js +5 -11
  95. package/lib/utils/tippy.js +3 -0
  96. package/lib/version-detail.js +21 -21
  97. package/lib/virtual-scroll.js +805 -805
  98. package/lib/zoom-image.js +502 -502
  99. package/package.json +1 -1
@@ -8055,6 +8055,10 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
8055
8055
  .bk-process .bk-icon{
8056
8056
  font-size:22px;
8057
8057
  }
8058
+ .bk-process .bk-spin-loading.bk-spin-loading-mini{
8059
+ width:14px;
8060
+ height:14px;
8061
+ }
8058
8062
  .bk-process .bk-process-toggle{
8059
8063
  position:relative;
8060
8064
  left:15px;
@@ -8103,6 +8107,12 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
8103
8107
  .bk-process li i{
8104
8108
  display:none;
8105
8109
  }
8110
+ .bk-process li .bk-process-item{
8111
+ display:inline-block;
8112
+ }
8113
+ .bk-process li .bk-process-item > .bk-icon{
8114
+ font-size:14px;
8115
+ }
8106
8116
  .bk-process li:first-of-type{
8107
8117
  border-radius:13px 0 0 13px;
8108
8118
  }
@@ -8155,6 +8165,16 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
8155
8165
  .bk-process li .bk-process-step .steps-loading{
8156
8166
  top:-2px;
8157
8167
  }
8168
+ .bk-process li .bk-process-step .step-item.error{
8169
+ color:#ff5656;
8170
+ }
8171
+ .bk-process li .bk-process-step .step-item.error .bk-icon{
8172
+ color:#ff5656;
8173
+ vertical-align:-2px;
8174
+ }
8175
+ .bk-process li .bk-process-step .step-item.done .bk-icon{
8176
+ color:#2dcb56;
8177
+ }
8158
8178
  .bk-process li.success{
8159
8179
  background:#2dcb56;
8160
8180
  color:#fff
@@ -8168,6 +8188,44 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
8168
8188
  .bk-process li.success i{
8169
8189
  display:inline-block;
8170
8190
  }
8191
+ .bk-process li.status-error{
8192
+ background:#ff5656;
8193
+ color:#fff
8194
+ }
8195
+ .bk-process li.status-error::after{
8196
+ border-color:transparent transparent transparent #ff5656;
8197
+ }
8198
+ .bk-process li.status-error .bk-process-item > .bk-icon{
8199
+ display:inline-block;
8200
+ }
8201
+ .bk-process li.status-error .bk-process-step .bk-icon{
8202
+ display:inline-block;
8203
+ }
8204
+ .bk-process li.status-done{
8205
+ background:#2dcb56;
8206
+ color:#fff
8207
+ }
8208
+ .bk-process li.status-done::after{
8209
+ border-color:transparent transparent transparent #2dcb56;
8210
+ }
8211
+ .bk-process li.status-done .bk-process-item > .bk-icon{
8212
+ display:inline-block;
8213
+ }
8214
+ .bk-process li.status-done .bk-process-step .bk-icon{
8215
+ display:inline-block;
8216
+ }
8217
+ .bk-process li.status-loading .bk-process-item > .bk-icon{
8218
+ display:inline-block;
8219
+ }
8220
+ .bk-process li.status-loading .bk-process-step .bk-icon{
8221
+ display:inline-block;
8222
+ }
8223
+ .bk-process li.status-default .bk-process-item > .bk-icon{
8224
+ display:inline-block;
8225
+ }
8226
+ .bk-process li.status-default .bk-process-step .bk-icon{
8227
+ display:inline-block;
8228
+ }
8171
8229
  .bk-process li.current{
8172
8230
  background:#3a84ff;
8173
8231
  color:#fff
@@ -9018,7 +9076,8 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
9018
9076
  background:#979ba5;
9019
9077
  }
9020
9078
  .bk-slider .bk-slider-runway .bk-slider-labels{
9021
- position:relative
9079
+ position:relative;
9080
+ font-size:12px
9022
9081
  }
9023
9082
  .bk-slider .bk-slider-runway .bk-slider-labels.vertical{
9024
9083
  left:18px;
@@ -9182,7 +9241,8 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
9182
9241
  align-items:center;
9183
9242
  -webkit-box-pack:center;
9184
9243
  -ms-flex-pack:center;
9185
- justify-content:center
9244
+ justify-content:center;
9245
+ font-size:12px
9186
9246
  }
9187
9247
  .bk-slider-button .slider-button-label.vertical{
9188
9248
  left:28px;
@@ -10719,12 +10779,21 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
10719
10779
  flex:12px 0 0;
10720
10780
  }
10721
10781
  .bk-table-bottom-loading{
10722
- position:absolute;
10723
- bottom:44px;
10724
- height:42px;
10725
- width:calc(100% - 1px);
10726
- z-index:100;
10782
+ position:relative;
10783
+ text-align:center;
10784
+ bottom:0;
10785
+ height:50px;
10786
+ line-height:45px;
10787
+ width:100%;
10788
+ z-index:777;
10727
10789
  }
10790
+ .bk-table-bottom-loading .bk-table-bottom-loading-spin .bk-icon{
10791
+ font-size:15px;
10792
+ }
10793
+ .bk-table-bottom-loading .bk-table-bottom-loading-spin .bk-spin-title{
10794
+ color:#979ba5;
10795
+ font-size:12px;
10796
+ }
10728
10797
  .bk-table-pagination-wrapper{
10729
10798
  padding:15px;
10730
10799
  margin-top:-1px;
@@ -13433,7 +13502,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
13433
13502
  background-color:#ffb848;
13434
13503
  }
13435
13504
  .bk-spin .bk-spin-rotation.bk-spin-rotation-info-wait .rotate{
13436
- background-color:#979ba5;
13505
+ background-color:#63656e;
13437
13506
  }
13438
13507
  .bk-spin .bk-spin-rotation .rotate1{
13439
13508
  -webkit-animation-delay:0.45s;
@@ -13558,6 +13627,9 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
13558
13627
  .bk-spin .bk-spin-icon-danger{
13559
13628
  color:#ff5656
13560
13629
  }
13630
+ .bk-spin .bk-spin-icon-info{
13631
+ color:#979ba5;
13632
+ }
13561
13633
  .bk-spin .bk-spin-icon-large i{
13562
13634
  font-size:69px;
13563
13635
  }
@@ -14963,6 +15035,13 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
14963
15035
  -ms-flex-direction:column;
14964
15036
  flex-direction:column;
14965
15037
  }
15038
+ .bk-image-viewer-mask{
15039
+ position:absolute;
15040
+ top:0;
15041
+ right:0;
15042
+ bottom:0;
15043
+ left:0;
15044
+ }
14966
15045
  .bk-image-viewer-header{
14967
15046
  position:absolute;
14968
15047
  top:0;
@@ -14979,9 +15058,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
14979
15058
  -webkit-box-align:center;
14980
15059
  -ms-flex-align:center;
14981
15060
  align-items:center;
14982
- padding:0 13px 0 25px;
14983
- background:rgba(0, 0, 0, .7);
14984
- color:#63656e;
15061
+ color:#c4c6cc;
14985
15062
  }
14986
15063
  .bk-image-viewer-header > div{
14987
15064
  -webkit-box-flex:1;
@@ -14990,6 +15067,8 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
14990
15067
  overflow:hidden;
14991
15068
  white-space:nowrap;
14992
15069
  text-overflow:ellipsis;
15070
+ font-size:14px;
15071
+ padding:0 25px;
14993
15072
  }
14994
15073
  .bk-image-viewer-header .quit-box{
14995
15074
  display:-webkit-box;
@@ -15002,8 +15081,6 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15002
15081
  -ms-flex-pack:end;
15003
15082
  justify-content:flex-end;
15004
15083
  height:100%;
15005
- }
15006
- .bk-image-viewer-header .quit-tips{
15007
15084
  color:#979ba5;
15008
15085
  }
15009
15086
  .bk-image-viewer-btn{
@@ -15022,18 +15099,23 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15022
15099
  opacity:.8;
15023
15100
  -webkit-box-sizing:border-box;
15024
15101
  box-sizing:border-box;
15025
- color:#fff;
15102
+ background-color:rgba(0, 0, 0, .3);
15103
+ color:#DCDEE5;
15026
15104
  -webkit-user-select:none;
15027
15105
  -moz-user-select:none;
15028
15106
  -ms-user-select:none;
15029
15107
  user-select:none
15030
15108
  }
15109
+ .bk-image-viewer-btn:hover{
15110
+ background-color:rgba(0, 0, 0, .4);
15111
+ color:#63656e;
15112
+ }
15031
15113
  .bk-image-viewer-close{
15032
- width:40px;
15033
- height:40px;
15034
- line-height:38px;
15114
+ width:80px;
15115
+ height:80px;
15116
+ line-height:80px;
15035
15117
  text-align:center;
15036
- font-size:32px;
15118
+ font-size:50px;
15037
15119
  color:#fff;
15038
15120
  cursor:pointer;
15039
15121
  }
@@ -15073,14 +15155,17 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15073
15155
  padding:0 23px;
15074
15156
  background-color:rgba(0,0,0,0.4);
15075
15157
  border-color:#fff;
15076
- border-radius:22px;
15158
+ border-radius:22px
15077
15159
  }
15160
+ .bk-image-viewer-actions:hover{
15161
+ background:rgba(0,0,0,.5);
15162
+ }
15078
15163
  .bk-image-viewer-actions-inner{
15079
15164
  width:100%;
15080
15165
  height:100%;
15081
15166
  text-align:justify;
15082
15167
  font-size:23px;
15083
- color:#fff;
15168
+ color:#c4c6cc;
15084
15169
  display:-webkit-box;
15085
15170
  display:-ms-flexbox;
15086
15171
  display:flex;
@@ -15089,17 +15174,21 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15089
15174
  align-items:center;
15090
15175
  -ms-flex-pack:distribute;
15091
15176
  justify-content:space-around;
15092
- cursor:pointer;
15177
+
15093
15178
  }
15179
+ .bk-image-viewer-actions-inner .bk-icon{
15180
+ cursor:pointer
15181
+ }
15182
+ .bk-image-viewer-actions-inner .bk-icon:hover{
15183
+ color:#fff;
15184
+ }
15094
15185
  .bk-image-viewer-next, .bk-image-viewer-prev{
15095
15186
  top:50%;
15096
15187
  width:80px;
15097
15188
  height:80px;
15098
15189
  font-size:40px;
15099
- color:#fff;
15100
- background-color:rgba(0,0,0,0.4);
15101
- border-color:#fff;
15102
15190
  cursor:pointer;
15191
+ //background:rgb(76,76,76);
15103
15192
  }
15104
15193
  .bk-image-viewer-prev{
15105
15194
  -webkit-transform:translateY(-50%);