bk-magic-vue 2.3.10-beta.2 → 2.4.0-beta.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.
Files changed (71) hide show
  1. package/dist/bk-magic-vue.css +107 -131
  2. package/dist/bk-magic-vue.js +337 -173
  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/back-top.js +1 -0
  10. package/lib/big-tree.js +7 -1
  11. package/lib/cascade.js +3 -3
  12. package/lib/date-picker.js +3 -3
  13. package/lib/dialog.js +23 -23
  14. package/lib/directives/overflow-tips.js +1 -1
  15. package/lib/directives/tooltips.js +1 -1
  16. package/lib/form-item.js +1 -1
  17. package/lib/image-viewer.js +1 -1
  18. package/lib/image.js +1 -1
  19. package/lib/info-box.js +23 -23
  20. package/lib/loading.js +1 -2
  21. package/lib/message.js +25 -23
  22. package/lib/option-group.js +1386 -518
  23. package/lib/pagination.js +6 -6
  24. package/lib/popconfirm.js +3 -3
  25. package/lib/popover.js +3 -3
  26. package/lib/row.js +1 -1
  27. package/lib/search-select.js +366 -136
  28. package/lib/select.js +6 -6
  29. package/lib/slider.js +1 -1
  30. package/lib/table-column.js +1 -1
  31. package/lib/table.js +621 -591
  32. package/lib/tag-input.js +6 -7
  33. package/lib/time-picker.js +1 -1
  34. package/lib/transfer.js +1 -1
  35. package/lib/tree.js +7 -1
  36. package/lib/ui/back-top.css +4 -1
  37. package/lib/ui/back-top.min.css +1 -1
  38. package/lib/ui/back-top.min.css.map +1 -1
  39. package/lib/ui/big-tree.css +4 -0
  40. package/lib/ui/big-tree.min.css +1 -1
  41. package/lib/ui/big-tree.min.css.map +1 -1
  42. package/lib/ui/bk-magic-vue.css +107 -131
  43. package/lib/ui/bk-magic-vue.min.css +1 -1
  44. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  45. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  46. package/lib/ui/dialog.css +21 -20
  47. package/lib/ui/dialog.min.css +1 -1
  48. package/lib/ui/dialog.min.css.map +1 -1
  49. package/lib/ui/info-box.css +21 -20
  50. package/lib/ui/info-box.min.css +1 -1
  51. package/lib/ui/info-box.min.css.map +1 -1
  52. package/lib/ui/search-select.css +6 -1
  53. package/lib/ui/search-select.min.css +1 -1
  54. package/lib/ui/search-select.min.css.map +1 -1
  55. package/lib/ui/select.css +13 -1
  56. package/lib/ui/select.min.css +1 -1
  57. package/lib/ui/select.min.css.map +1 -1
  58. package/lib/ui/table.css +8 -0
  59. package/lib/ui/table.min.css +1 -1
  60. package/lib/ui/table.min.css.map +1 -1
  61. package/lib/ui/tree.css +59 -124
  62. package/lib/ui/tree.min.css +1 -1
  63. package/lib/ui/tree.min.css.map +1 -1
  64. package/lib/upload.js +1 -1
  65. package/lib/version-detail.js +24 -25
  66. package/lib/virtual-render.js +1 -1
  67. package/package.json +1 -1
  68. package/dist/images/bk_check.png +0 -0
  69. package/dist/images/bk_half_check.svg +0 -10
  70. package/lib/ui/images/bk_check.png +0 -0
  71. package/lib/ui/images/bk_half_check.svg +0 -10
@@ -4364,25 +4364,8 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
4364
4364
  .bk-dialog-wrapper .bk-dialog-tool{
4365
4365
  min-height:30px;
4366
4366
  position:relative;
4367
+
4367
4368
  }
4368
- .bk-dialog-wrapper .bk-dialog-tool .bk-dialog-close{
4369
- z-index:1;
4370
- cursor:pointer;
4371
- position:absolute;
4372
- color:#979ba5;
4373
- top:5px;
4374
- right:5px;
4375
- width:26px;
4376
- height:26px;
4377
- line-height:26px;
4378
- text-align:center;
4379
- border-radius:50%;
4380
- font-weight:700;
4381
- font-size:22px
4382
- }
4383
- .bk-dialog-wrapper .bk-dialog-tool .bk-dialog-close:hover{
4384
- background-color:#f0f1f5;
4385
- }
4386
4369
  .bk-dialog-wrapper .bk-dialog-header{
4387
4370
  padding:3px 24px 24px 24px;
4388
4371
  line-height:1.2;
@@ -4459,6 +4442,24 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
4459
4442
  margin-left:8px;
4460
4443
  margin-bottom:0;
4461
4444
  }
4445
+ .bk-dialog-wrapper .bk-dialog-close{
4446
+ z-index:1;
4447
+ cursor:pointer;
4448
+ position:absolute;
4449
+ color:#979ba5;
4450
+ top:5px;
4451
+ right:5px;
4452
+ width:26px;
4453
+ height:26px;
4454
+ line-height:26px;
4455
+ text-align:center;
4456
+ border-radius:50%;
4457
+ font-weight:700;
4458
+ font-size:22px
4459
+ }
4460
+ .bk-dialog-wrapper .bk-dialog-close:hover{
4461
+ background-color:#f0f1f5;
4462
+ }
4462
4463
  .bk-dialog-wrapper .bk-info-box .bk-dialog-header{
4463
4464
  padding:15px 30px 10px 30px;
4464
4465
  }
@@ -8624,7 +8625,8 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
8624
8625
  font-size:12px;
8625
8626
  font-size:var(--font-size);
8626
8627
  border-bottom:1px solid #dcdee5;
8627
- color:#979ba5
8628
+ color:#979ba5;
8629
+ position:relative
8628
8630
  }
8629
8631
  .bk-options .bk-option-group .bk-option-group-name.is-collapse{
8630
8632
  cursor:pointer;
@@ -8639,6 +8641,15 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
8639
8641
  .bk-options .bk-option-group .bk-option-group-name .bk-option-group-prefix.readonly{
8640
8642
  cursor:not-allowed;
8641
8643
  }
8644
+ .bk-options .bk-option-group .bk-option-group-name .btn-check-all{
8645
+ position:absolute;
8646
+ disabled:inline-block;
8647
+ right:14px;
8648
+ top:2px;
8649
+ }
8650
+ .bk-options .bk-option-group .bk-option-group-name .btn-check-all .bk-form-checkbox{
8651
+ margin-right:0!important;
8652
+ }
8642
8653
  .bk-options .bk-group-options{
8643
8654
  margin:0;
8644
8655
  padding:0;
@@ -10699,6 +10710,13 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
10699
10710
  -ms-flex:12px 0 0px;
10700
10711
  flex:12px 0 0;
10701
10712
  }
10713
+ .bk-table-bottom-loading{
10714
+ position:absolute;
10715
+ bottom:44px;
10716
+ height:42px;
10717
+ width:calc(100% - 1px);
10718
+ z-index:100;
10719
+ }
10702
10720
  .bk-table-pagination-wrapper{
10703
10721
  padding:15px;
10704
10722
  margin-top:-1px;
@@ -11842,123 +11860,71 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
11842
11860
  display:inline-block;
11843
11861
  font-size:14px;
11844
11862
  }
11845
- .bk-tree .mr5{
11846
- margin-right:-6px !important;
11847
- }
11848
- .bk-tree .bk-form-half-checked{
11849
- margin-right:30px;
11863
+ .bk-tree .bk-form-checkbox{
11864
+ position:relative;
11850
11865
  display:inline-block;
11851
- line-height:0;
11852
- color:#666;
11866
+ vertical-align:middle;
11867
+ width:14px;
11868
+ height:14px;
11869
+ border:1px solid #979ba5;
11870
+ border-radius:2px;
11853
11871
  }
11854
- .bk-tree .bk-form-half-checked .bk-checkbox-text{
11855
- font-style:normal;
11856
- font-weight:normal;
11857
- cursor:pointer;
11858
- vertical-align:middle;
11872
+ .bk-tree .bk-form-checkbox input[type=checkbox]{
11873
+ display:none;
11859
11874
  }
11860
- .bk-tree .bk-form-half-checked input[type=checkbox]{
11861
- width:18px;
11862
- height:18px;
11875
+ .bk-tree .bk-form-checkbox:focus{
11876
+ border-color:#3c96ff;
11863
11877
  outline:none;
11864
- visibility:visible;
11865
- cursor:pointer;
11866
- vertical-align:middle;
11867
- background:#fff;
11868
- background-image:url(images/bk_half_check.svg);
11869
- display:inline-block;
11870
- background-position:0 -62px;
11871
- -webkit-appearance:none;
11872
- margin:0 5px 0 0
11873
11878
  }
11874
- .bk-tree .bk-form-half-checked input[type=checkbox]:checked{
11875
- background-position:-33px -62px
11876
- }
11877
- .bk-tree .bk-form-half-checked input[type=checkbox]:checked[disabled]{
11878
- color:#ccc;
11879
- background-position:-99px -62px;
11880
- }
11881
- .bk-tree .bk-form-half-checked input[type=checkbox][disabled]{
11882
- background-position:-66px -62px;
11883
- cursor:default
11884
- }
11885
- .bk-tree .bk-form-half-checked input[type=checkbox][disabled] + .bk-checkbox-text{
11886
- color:#ccc;
11887
- cursor:default;
11888
- }
11889
- .bk-tree .bk-form-half-checked.bk-checkbox-small input[type=checkbox]{
11890
- width:14px;
11891
- height:14px;
11892
- background-position:0 -98px
11893
- }
11894
- .bk-tree .bk-form-half-checked.bk-checkbox-small input[type=checkbox]:checked{
11895
- background-position:-42px -98px
11896
- }
11897
- .bk-tree .bk-form-half-checked.bk-checkbox-small input[type=checkbox]:checked[disabled]{
11898
- background-position:-99px -98px;
11899
- }
11900
- .bk-tree .bk-form-half-checked.bk-checkbox-small input[type=checkbox][disabled]{
11901
- background-position:-66px -98px;
11902
- background-color:#ccc;
11903
- }
11904
- .bk-tree .bk-form-checkbox{
11905
- margin-right:30px;
11906
- display:inline-block;
11907
- line-height:0;
11908
- color:#666;
11909
- }
11910
- .bk-tree .bk-form-checkbox .bk-checkbox-text{
11911
- font-style:normal;
11912
- font-weight:normal;
11913
- cursor:pointer;
11914
- vertical-align:middle;
11879
+ .bk-tree .bk-form-checkbox--indeterminate{
11880
+ border-color:#3a84ff;
11881
+ background-color:#3a84ff;
11882
+ background-clip:content-box
11915
11883
  }
11916
- .bk-tree .bk-form-checkbox input[type=checkbox]{
11917
- width:18px;
11918
- height:18px;
11919
- outline:none;
11920
- visibility:visible;
11921
- cursor:pointer;
11922
- vertical-align:middle;
11923
- background:#fff;
11924
- background-image:url(images/bk_check.png);
11925
- display:inline-block;
11926
- background-position:0 -62px;
11927
- -webkit-appearance:none;
11928
- margin:0 5px 0 0
11884
+ .bk-tree .bk-form-checkbox--indeterminate::after{
11885
+ content:'';
11886
+ display:block;
11887
+ width:8px;
11888
+ height:2px;
11889
+ background-color:#fff;
11890
+ position:absolute;
11891
+ top:50%;
11892
+ left:50%;
11893
+ -webkit-transform:translate(-50%, -50%);
11894
+ transform:translate(-50%, -50%);
11895
+ border-radius:2px;
11896
+ }
11897
+ .bk-tree .bk-form-checkbox--checked{
11898
+ border-color:#3a84ff;
11899
+ background-color:#3a84ff;
11900
+ background-clip:border-box
11929
11901
  }
11930
- .bk-tree .bk-form-checkbox input[type=checkbox]:checked{
11931
- background-position:-33px -62px
11902
+ .bk-tree .bk-form-checkbox--checked::after{
11903
+ content:"";
11904
+ position:absolute;
11905
+ top:0;
11906
+ left:3px;
11907
+ width:4px;
11908
+ height:8px;
11909
+ border:2px solid #fff;
11910
+ border-left:0;
11911
+ border-top:0;
11912
+ -webkit-transform-origin:center;
11913
+ transform-origin:center;
11914
+ -webkit-transform:rotate(45deg) scaleY(1);
11915
+ transform:rotate(45deg) scaleY(1);
11932
11916
  }
11933
- .bk-tree .bk-form-checkbox input[type=checkbox]:checked[disabled]{
11934
- color:#ccc;
11935
- background-position:-99px -62px;
11936
- }
11937
- .bk-tree .bk-form-checkbox input[type=checkbox][disabled]{
11938
- background-position:-66px -62px;
11939
- cursor:default
11917
+ .bk-tree .bk-form-checkbox--disabled{
11918
+ border-color:#dcdee5;
11919
+ background-color:#dcdee5;
11920
+ cursor:not-allowed;
11921
+ }
11922
+ .bk-tree .bk-form-checkbox--disabled.bk-tree .bk-form-checkbox--disabled--indeterminate ::after{
11923
+ background-color:#fafbfd;
11940
11924
  }
11941
- .bk-tree .bk-form-checkbox input[type=checkbox][disabled] + .bk-checkbox-text{
11942
- color:#ccc;
11943
- cursor:default;
11944
- }
11945
- .bk-tree .bk-form-checkbox.bk-checkbox-small input[type=checkbox]{
11946
- width:14px;
11947
- height:14px;
11948
- background-position:0 -95px
11925
+ .bk-tree .bk-form-checkbox--disabled.bk-tree .bk-form-checkbox--disabled--checked ::after{
11926
+ border-color:#fafbfd;
11949
11927
  }
11950
- .bk-tree .bk-form-checkbox.bk-checkbox-small input[type=checkbox]:checked{
11951
- background-position:-33px -95px
11952
- }
11953
- .bk-tree .bk-form-checkbox.bk-checkbox-small input[type=checkbox]:checked[disabled]{
11954
- background-position:-99px -95px;
11955
- cursor:not-allowed;
11956
- }
11957
- .bk-tree .bk-form-checkbox.bk-checkbox-small input[type=checkbox][disabled]{
11958
- background-position:-66px -95px;
11959
- background-color:#ccc;
11960
- cursor:not-allowed;
11961
- }
11962
11928
  .bk-tree > ul{
11963
11929
  padding-left:0
11964
11930
  }
@@ -11977,28 +11943,28 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
11977
11943
  }
11978
11944
  .bk-has-border-tree li:after{
11979
11945
  content:'';
11980
- left:-8px;
11946
+ left:-10px;
11981
11947
  position:absolute;
11982
11948
  right:auto;
11983
11949
  border-width:1px;
11984
11950
  border-top:1px dashed #ded8d8;
11985
11951
  height:20px;
11986
11952
  top:16px;
11987
- width:16px;
11953
+ width:12px;
11988
11954
  }
11989
11955
  .bk-has-border-tree li:last-child::before{
11990
11956
  height:26px;
11991
11957
  }
11992
11958
  .bk-has-border-tree li.leaf:after{
11993
11959
  content:'';
11994
- left:-7px;
11960
+ left:-10px;
11995
11961
  position:absolute;
11996
11962
  right:auto;
11997
11963
  border-width:1px;
11998
11964
  border-top:1px dashed #ded8d8;
11999
11965
  height:20px;
12000
11966
  top:15px;
12001
- width:20px;
11967
+ width:24px;
12002
11968
  }
12003
11969
  .bk-has-border-tree li.single:before{
12004
11970
  top:-10px;
@@ -13020,7 +12986,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
13020
12986
  resize:none;
13021
12987
  -webkit-transition:border 0.2s linear;
13022
12988
  transition:border 0.2s linear;
13023
- overflow:auto;
12989
+ overflow:hidden;
13024
12990
  color:#63656e;
13025
12991
  -ms-flex-wrap:wrap;
13026
12992
  flex-wrap:wrap
@@ -13029,6 +12995,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
13029
12995
  border-color:#3c96ff !important;
13030
12996
  background:#fff !important;
13031
12997
  color:#3c96ff;
12998
+ overflow:auto;
13032
12999
  }
13033
13000
  .search-select-wrap .bk-search-select .search-prefix{
13034
13001
  -webkit-box-flex:0;
@@ -13080,6 +13047,9 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
13080
13047
  border-radius:2px;
13081
13048
  line-height:22px
13082
13049
  }
13050
+ .search-select-wrap .bk-search-select .search-input-chip.hidden-chip{
13051
+ visibility:hidden
13052
+ }
13083
13053
  .search-select-wrap .bk-search-select .search-input-chip:hover{
13084
13054
  background:#dcdee5;
13085
13055
  }
@@ -13829,6 +13799,9 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
13829
13799
  font-size:14px;
13830
13800
  color:#63656e;
13831
13801
  }
13802
+ .bk-big-tree--small .bk-big-tree-node .node-content{
13803
+ font-size:12px;
13804
+ }
13832
13805
  .bk-big-tree-node{
13833
13806
  position:relative;
13834
13807
  height:32px;
@@ -15698,3 +15671,6 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15698
15671
  font-size:14px;
15699
15672
  color:#979ba5;
15700
15673
  }
15674
+ .bk-back-to-top:hover .bk-icon{
15675
+ color:#3a84ff;
15676
+ }