bk-magic-vue 2.4.0-beta.5 → 2.4.1-beta.3

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 (96) hide show
  1. package/dist/bk-magic-vue.css +130 -31
  2. package/dist/bk-magic-vue.js +1380 -1092
  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/big-tree.js +4 -4
  12. package/lib/breadcrumb-item.js +426 -426
  13. package/lib/breadcrumb.js +440 -413
  14. package/lib/button.js +509 -509
  15. package/lib/cascade.js +50 -6
  16. package/lib/checkbox-group.js +16 -9
  17. package/lib/checkbox.js +9 -1
  18. package/lib/container.js +454 -454
  19. package/lib/date-picker.js +6 -9
  20. package/lib/dialog.js +9 -10
  21. package/lib/directives/clickoutside.js +61 -61
  22. package/lib/directives/copy.js +51 -51
  23. package/lib/directives/overflow-tips.js +1 -1
  24. package/lib/directives/tooltips.js +1 -1
  25. package/lib/divider.js +446 -446
  26. package/lib/dropdown-menu.js +1747 -1747
  27. package/lib/form-item.js +2 -2
  28. package/lib/image-viewer.js +68 -3
  29. package/lib/image.js +74 -4
  30. package/lib/info-box.js +9 -10
  31. package/lib/link.js +430 -430
  32. package/lib/locale/lang/en-US.js +153 -143
  33. package/lib/locale/lang/zh-CN.js +151 -143
  34. package/lib/message.js +1 -1
  35. package/lib/mixins/emitter.js +18 -18
  36. package/lib/navigation-menu-group.js +412 -412
  37. package/lib/navigation-menu-item.js +722 -722
  38. package/lib/navigation.js +668 -668
  39. package/lib/notify.js +1 -1
  40. package/lib/option-group.js +9 -1
  41. package/lib/option.js +1 -1
  42. package/lib/pagination.js +14 -14
  43. package/lib/process.js +233 -51
  44. package/lib/progress.js +499 -499
  45. package/lib/radio-button.js +541 -541
  46. package/lib/radio.js +555 -555
  47. package/lib/rate.js +607 -607
  48. package/lib/round-progress.js +502 -502
  49. package/lib/row.js +1 -1
  50. package/lib/search-select.js +6 -6
  51. package/lib/select.js +7 -7
  52. package/lib/sideslider.js +1 -1
  53. package/lib/slider.js +6 -6
  54. package/lib/spin.js +500 -500
  55. package/lib/star.js +496 -496
  56. package/lib/steps.js +3 -3
  57. package/lib/switcher.js +538 -538
  58. package/lib/tab-panel.js +456 -456
  59. package/lib/table-column.js +4 -2
  60. package/lib/table-setting-content.js +35 -20
  61. package/lib/table.js +770 -584
  62. package/lib/tag-input.js +1 -1
  63. package/lib/tag.js +459 -459
  64. package/lib/time-picker.js +3 -3
  65. package/lib/transfer.js +7 -7
  66. package/lib/ui/bk-magic-vue.css +130 -31
  67. package/lib/ui/bk-magic-vue.min.css +1 -1
  68. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  69. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  70. package/lib/ui/breadcrumb.css +10 -0
  71. package/lib/ui/breadcrumb.min.css +1 -1
  72. package/lib/ui/breadcrumb.min.css.map +1 -1
  73. package/lib/ui/cascade.css +2 -2
  74. package/lib/ui/cascade.min.css +1 -1
  75. package/lib/ui/cascade.min.css.map +1 -1
  76. package/lib/ui/image-viewer.css +38 -17
  77. package/lib/ui/image-viewer.min.css +1 -1
  78. package/lib/ui/image-viewer.min.css.map +1 -1
  79. package/lib/ui/process.css +76 -0
  80. package/lib/ui/process.min.css +1 -1
  81. package/lib/ui/process.min.css.map +1 -1
  82. package/lib/ui/slider.css +4 -2
  83. package/lib/ui/slider.min.css +1 -1
  84. package/lib/ui/slider.min.css.map +1 -1
  85. package/lib/ui/spin.css +5 -1
  86. package/lib/ui/spin.min.css +1 -1
  87. package/lib/ui/spin.min.css.map +1 -1
  88. package/lib/ui/table.css +24 -10
  89. package/lib/ui/table.min.css +1 -1
  90. package/lib/ui/table.min.css.map +1 -1
  91. package/lib/upload.js +3 -3
  92. package/lib/version-detail.js +10 -11
  93. package/lib/virtual-render.js +1 -1
  94. package/lib/virtual-scroll.js +805 -805
  95. package/lib/zoom-image.js +502 -502
  96. 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;
@@ -10344,9 +10404,11 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
10344
10404
  cursor:pointer;
10345
10405
  color:#C4C6CC
10346
10406
  }
10347
- .bk-table th .bk-table-column-filter-trigger.is-open,
10348
- .bk-table th .bk-table-column-filter-trigger.is-filtered{
10349
- color:#63656E;
10407
+ .bk-table th .bk-table-column-filter-trigger.is-open{
10408
+ color:#63656e;
10409
+ }
10410
+ .bk-table th .bk-table-column-filter-trigger.is-filtered{
10411
+ color:#3a84ff;
10350
10412
  }
10351
10413
  .bk-table th .bk-table-caret-wrapper{
10352
10414
  display:-webkit-inline-box;
@@ -10384,10 +10446,10 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
10384
10446
  bottom:-1px;
10385
10447
  }
10386
10448
  .bk-table th.ascending .bk-table-sort-caret.ascending{
10387
- border-bottom-color:#63656E;
10449
+ border-bottom-color:#3a84ff;
10388
10450
  }
10389
10451
  .bk-table th.descending .bk-table-sort-caret.descending{
10390
- border-top-color:#63656E;
10452
+ border-top-color:#3a84ff;
10391
10453
  }
10392
10454
  .bk-table td.gutter{
10393
10455
  width:0;
@@ -10717,12 +10779,21 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
10717
10779
  flex:12px 0 0;
10718
10780
  }
10719
10781
  .bk-table-bottom-loading{
10720
- position:absolute;
10721
- bottom:44px;
10722
- height:42px;
10723
- width:calc(100% - 1px);
10724
- 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;
10725
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
+ }
10726
10797
  .bk-table-pagination-wrapper{
10727
10798
  padding:15px;
10728
10799
  margin-top:-1px;
@@ -13431,7 +13502,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
13431
13502
  background-color:#ffb848;
13432
13503
  }
13433
13504
  .bk-spin .bk-spin-rotation.bk-spin-rotation-info-wait .rotate{
13434
- background-color:#979ba5;
13505
+ background-color:#63656e;
13435
13506
  }
13436
13507
  .bk-spin .bk-spin-rotation .rotate1{
13437
13508
  -webkit-animation-delay:0.45s;
@@ -13556,6 +13627,9 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
13556
13627
  .bk-spin .bk-spin-icon-danger{
13557
13628
  color:#ff5656
13558
13629
  }
13630
+ .bk-spin .bk-spin-icon-info{
13631
+ color:#979ba5;
13632
+ }
13559
13633
  .bk-spin .bk-spin-icon-large i{
13560
13634
  font-size:69px;
13561
13635
  }
@@ -14507,14 +14581,14 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
14507
14581
  min-height:21px;
14508
14582
  line-height:19px;
14509
14583
  word-break:break-all;
14510
- max-width:200px;
14584
+ max-width:150px;
14511
14585
  overflow:hidden;
14512
14586
  display:inline-block;
14513
14587
  text-overflow:ellipsis;
14514
14588
  white-space:nowrap;
14515
14589
  }
14516
14590
  .bk-cascade-tag-list .remove-key{
14517
- position:relative;
14591
+ position:absolute;
14518
14592
  width:18px;
14519
14593
  height:16px;
14520
14594
  top:3px;
@@ -14961,6 +15035,13 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
14961
15035
  -ms-flex-direction:column;
14962
15036
  flex-direction:column;
14963
15037
  }
15038
+ .bk-image-viewer-mask{
15039
+ position:absolute;
15040
+ top:0;
15041
+ right:0;
15042
+ bottom:0;
15043
+ left:0;
15044
+ }
14964
15045
  .bk-image-viewer-header{
14965
15046
  position:absolute;
14966
15047
  top:0;
@@ -14977,9 +15058,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
14977
15058
  -webkit-box-align:center;
14978
15059
  -ms-flex-align:center;
14979
15060
  align-items:center;
14980
- padding:0 13px 0 25px;
14981
- background:rgba(0, 0, 0, .7);
14982
- color:#63656e;
15061
+ color:#c4c6cc;
14983
15062
  }
14984
15063
  .bk-image-viewer-header > div{
14985
15064
  -webkit-box-flex:1;
@@ -14988,6 +15067,8 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
14988
15067
  overflow:hidden;
14989
15068
  white-space:nowrap;
14990
15069
  text-overflow:ellipsis;
15070
+ font-size:14px;
15071
+ padding:0 25px;
14991
15072
  }
14992
15073
  .bk-image-viewer-header .quit-box{
14993
15074
  display:-webkit-box;
@@ -15000,8 +15081,6 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15000
15081
  -ms-flex-pack:end;
15001
15082
  justify-content:flex-end;
15002
15083
  height:100%;
15003
- }
15004
- .bk-image-viewer-header .quit-tips{
15005
15084
  color:#979ba5;
15006
15085
  }
15007
15086
  .bk-image-viewer-btn{
@@ -15020,18 +15099,23 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15020
15099
  opacity:.8;
15021
15100
  -webkit-box-sizing:border-box;
15022
15101
  box-sizing:border-box;
15023
- color:#fff;
15102
+ background-color:rgba(0, 0, 0, .3);
15103
+ color:#DCDEE5;
15024
15104
  -webkit-user-select:none;
15025
15105
  -moz-user-select:none;
15026
15106
  -ms-user-select:none;
15027
15107
  user-select:none
15028
15108
  }
15109
+ .bk-image-viewer-btn:hover{
15110
+ background-color:rgba(0, 0, 0, .4);
15111
+ color:#63656e;
15112
+ }
15029
15113
  .bk-image-viewer-close{
15030
- width:40px;
15031
- height:40px;
15032
- line-height:38px;
15114
+ width:80px;
15115
+ height:80px;
15116
+ line-height:80px;
15033
15117
  text-align:center;
15034
- font-size:32px;
15118
+ font-size:50px;
15035
15119
  color:#fff;
15036
15120
  cursor:pointer;
15037
15121
  }
@@ -15071,14 +15155,17 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15071
15155
  padding:0 23px;
15072
15156
  background-color:rgba(0,0,0,0.4);
15073
15157
  border-color:#fff;
15074
- border-radius:22px;
15158
+ border-radius:22px
15075
15159
  }
15160
+ .bk-image-viewer-actions:hover{
15161
+ background:rgba(0,0,0,.5);
15162
+ }
15076
15163
  .bk-image-viewer-actions-inner{
15077
15164
  width:100%;
15078
15165
  height:100%;
15079
15166
  text-align:justify;
15080
15167
  font-size:23px;
15081
- color:#fff;
15168
+ color:#c4c6cc;
15082
15169
  display:-webkit-box;
15083
15170
  display:-ms-flexbox;
15084
15171
  display:flex;
@@ -15087,17 +15174,21 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15087
15174
  align-items:center;
15088
15175
  -ms-flex-pack:distribute;
15089
15176
  justify-content:space-around;
15090
- cursor:pointer;
15177
+
15091
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
+ }
15092
15185
  .bk-image-viewer-next, .bk-image-viewer-prev{
15093
15186
  top:50%;
15094
15187
  width:80px;
15095
15188
  height:80px;
15096
15189
  font-size:40px;
15097
- color:#fff;
15098
- background-color:rgba(0,0,0,0.4);
15099
- border-color:#fff;
15100
15190
  cursor:pointer;
15191
+ //background:rgb(76,76,76);
15101
15192
  }
15102
15193
  .bk-image-viewer-prev{
15103
15194
  -webkit-transform:translateY(-50%);
@@ -15148,6 +15239,14 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15148
15239
  .bk-breadcrumb-item:last-child .bk-breadcrumb-separator{
15149
15240
  display:none;
15150
15241
  }
15242
+ .bk-breadcrumb-goback{
15243
+ color:#699df4;
15244
+ margin-right:12px;
15245
+ cursor:pointer
15246
+ }
15247
+ .bk-breadcrumb-goback .icon-default{
15248
+ font-size:26px;
15249
+ }
15151
15250
  .bk-divider{
15152
15251
  position:relative
15153
15252
  }