bk-magic-vue 2.4.15-beta.2 → 2.4.15-beta.4
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/bk-magic-vue.css +11 -49
- package/dist/bk-magic-vue.js +18 -12
- package/dist/bk-magic-vue.min.css +1 -1
- package/dist/bk-magic-vue.min.css.gz +0 -0
- package/dist/bk-magic-vue.min.css.map +1 -1
- package/dist/bk-magic-vue.min.js +1 -1
- package/dist/bk-magic-vue.min.js.gz +0 -0
- package/dist/bk-magic-vue.min.js.map +1 -1
- package/lib/card.js +2 -1
- package/lib/navigation-menu-item.js +2 -0
- package/lib/navigation-menu.js +5 -5
- package/lib/sideslider.js +9 -6
- package/lib/ui/bk-magic-vue.css +11 -49
- package/lib/ui/bk-magic-vue.min.css +1 -1
- package/lib/ui/bk-magic-vue.min.css.gz +0 -0
- package/lib/ui/bk-magic-vue.min.css.map +1 -1
- package/lib/ui/date-picker.base.css +4 -0
- package/lib/ui/date-picker.base.min.css +1 -1
- package/lib/ui/date-picker.base.min.css.map +1 -1
- package/lib/ui/dropdown-menu.css +1 -1
- package/lib/ui/dropdown-menu.min.css +1 -1
- package/lib/ui/dropdown-menu.min.css.map +1 -1
- package/lib/ui/navigation.css +1 -1
- package/lib/ui/navigation.min.css +1 -1
- package/lib/ui/navigation.min.css.map +1 -1
- package/lib/ui/sideslider.css +2 -2
- package/lib/ui/sideslider.min.css +1 -1
- package/lib/ui/sideslider.min.css.map +1 -1
- package/lib/ui/time-picker.css +4 -47
- package/lib/ui/time-picker.min.css +1 -1
- package/lib/ui/time-picker.min.css.map +1 -1
- package/package.json +1 -1
package/dist/bk-magic-vue.css
CHANGED
|
@@ -3923,6 +3923,9 @@ url("fonts/iconcool.eot?#iefix") format("embedded-opentype");
|
|
|
3923
3923
|
color:#63656e;
|
|
3924
3924
|
cursor:pointer
|
|
3925
3925
|
}
|
|
3926
|
+
.bk-date-picker-rel .bk-date-picker-editor:hover{
|
|
3927
|
+
border:1px solid #979ba5;
|
|
3928
|
+
}
|
|
3926
3929
|
.bk-date-picker-rel .bk-date-picker-editor.only-bottom-border{
|
|
3927
3930
|
border-color:transparent transparent #c4c6cc transparent
|
|
3928
3931
|
}
|
|
@@ -5324,7 +5327,7 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
5324
5327
|
white-space:nowrap
|
|
5325
5328
|
}
|
|
5326
5329
|
.bk-dropdown-menu .bk-dropdown-list > li > a:hover{
|
|
5327
|
-
background-color:#
|
|
5330
|
+
background-color:#f0f1f5;
|
|
5328
5331
|
color:#3a84ff;
|
|
5329
5332
|
}
|
|
5330
5333
|
.bk-dropdown-menu .bk-dropdown-list > li .bk-icon{
|
|
@@ -9078,8 +9081,8 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
9078
9081
|
.bk-sideslider-footer{
|
|
9079
9082
|
width:100%;
|
|
9080
9083
|
height:54px;
|
|
9081
|
-
border-top:1px solid
|
|
9082
|
-
background:#fff;
|
|
9084
|
+
border-top:1px solid #dcdee5;
|
|
9085
|
+
background-color:#fff;
|
|
9083
9086
|
display:-webkit-box;
|
|
9084
9087
|
display:-ms-flexbox;
|
|
9085
9088
|
display:flex;
|
|
@@ -11441,28 +11444,8 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
11441
11444
|
color:#3a84ff;
|
|
11442
11445
|
pointer-events:none;
|
|
11443
11446
|
}
|
|
11444
|
-
.bk-time-picker-cells-with-seconds
|
|
11445
|
-
|
|
11446
|
-
position:absolute;
|
|
11447
|
-
width:2px;
|
|
11448
|
-
padding-top:2px;
|
|
11449
|
-
background-color:#3a84ff;
|
|
11450
|
-
top:55px;
|
|
11451
|
-
left:85px;
|
|
11452
|
-
border-radius:50%;
|
|
11453
|
-
z-index:1;
|
|
11454
|
-
}
|
|
11455
|
-
.bk-time-picker-cells-with-seconds .bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(1):after, .bk-time-picker-cells-with-seconds .bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(2):after{
|
|
11456
|
-
content:'';
|
|
11457
|
-
position:absolute;
|
|
11458
|
-
width:2px;
|
|
11459
|
-
padding-top:2px;
|
|
11460
|
-
background-color:#3a84ff;
|
|
11461
|
-
top:calc(55px + 5px);
|
|
11462
|
-
left:85px;
|
|
11463
|
-
border-radius:50%;
|
|
11464
|
-
z-index:1;
|
|
11465
|
-
}
|
|
11447
|
+
.bk-time-picker-cells-with-seconds{
|
|
11448
|
+
}
|
|
11466
11449
|
.bk-time-picker-cells-title-wrapper{
|
|
11467
11450
|
width:100%;
|
|
11468
11451
|
height:42px;
|
|
@@ -11473,35 +11456,14 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
11473
11456
|
width:33.33%;
|
|
11474
11457
|
text-align:center;
|
|
11475
11458
|
list-style:none;
|
|
11476
|
-
color:#
|
|
11477
|
-
font-weight:700;
|
|
11459
|
+
color:#979ba5;
|
|
11478
11460
|
font-size:14px;
|
|
11479
11461
|
position:relative
|
|
11480
11462
|
}
|
|
11481
11463
|
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title.active{
|
|
11482
11464
|
color:#3a84ff;
|
|
11483
11465
|
}
|
|
11484
|
-
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title
|
|
11485
|
-
content:'';
|
|
11486
|
-
position:absolute;
|
|
11487
|
-
width:2px;
|
|
11488
|
-
padding-top:2px;
|
|
11489
|
-
background-color:#3a84ff;
|
|
11490
|
-
top:55px;
|
|
11491
|
-
left:133px;
|
|
11492
|
-
border-radius:50%;
|
|
11493
|
-
z-index:1;
|
|
11494
|
-
}
|
|
11495
|
-
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(1):after{
|
|
11496
|
-
content:'';
|
|
11497
|
-
position:absolute;
|
|
11498
|
-
width:2px;
|
|
11499
|
-
padding-top:2px;
|
|
11500
|
-
background-color:#3a84ff;
|
|
11501
|
-
top:calc(55px + 5px);
|
|
11502
|
-
left:133px;
|
|
11503
|
-
border-radius:50%;
|
|
11504
|
-
z-index:1;
|
|
11466
|
+
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title{
|
|
11505
11467
|
}
|
|
11506
11468
|
.bk-time-picker-cells-list{
|
|
11507
11469
|
width:33.33%;
|
|
@@ -12587,7 +12549,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
12587
12549
|
-ms-flex:0 0 28px;
|
|
12588
12550
|
flex:0 0 28px;
|
|
12589
12551
|
font-size:28px;
|
|
12590
|
-
color:#
|
|
12552
|
+
color:#96A2B9;
|
|
12591
12553
|
display:-webkit-box;
|
|
12592
12554
|
display:-ms-flexbox;
|
|
12593
12555
|
display:flex;
|
package/dist/bk-magic-vue.js
CHANGED
|
@@ -36099,6 +36099,11 @@
|
|
|
36099
36099
|
if (this.showMask) {
|
|
36100
36100
|
this.generatePopUid();
|
|
36101
36101
|
}
|
|
36102
|
+
this.$nextTick(function () {
|
|
36103
|
+
if (_this.$refs.content) {
|
|
36104
|
+
addResizeListener(_this.$refs.content, _this.handleContentResize);
|
|
36105
|
+
}
|
|
36106
|
+
});
|
|
36102
36107
|
setTimeout(function () {
|
|
36103
36108
|
_this.$emit('shown');
|
|
36104
36109
|
}, 200);
|
|
@@ -36114,16 +36119,14 @@
|
|
|
36114
36119
|
}
|
|
36115
36120
|
}
|
|
36116
36121
|
},
|
|
36117
|
-
mounted: function mounted() {
|
|
36118
|
-
if (this.$refs.content && this.showMask) {
|
|
36119
|
-
this.generatePopUid();
|
|
36120
|
-
addResizeListener(this.$refs.content, this.handleContentResize);
|
|
36121
|
-
}
|
|
36122
|
-
},
|
|
36122
|
+
mounted: function mounted() {},
|
|
36123
36123
|
destroyed: function destroyed() {
|
|
36124
36124
|
var root = document.querySelector('html');
|
|
36125
36125
|
removeClass$1(root, 'bk-sideslider-show');
|
|
36126
36126
|
removeResizeListener(this.$refs.content, this.handleContentResize);
|
|
36127
|
+
if (this.$el && this.$el.parentNode) {
|
|
36128
|
+
this.$el.parentNode.removeChild(this.$el);
|
|
36129
|
+
}
|
|
36127
36130
|
},
|
|
36128
36131
|
beforeDestroy: function beforeDestroy() {
|
|
36129
36132
|
this.isShow && this.popUid && popManager.hide(this.popUid);
|
|
@@ -52868,7 +52871,7 @@
|
|
|
52868
52871
|
},
|
|
52869
52872
|
defItemHoverBgColor: {
|
|
52870
52873
|
get: function get() {
|
|
52871
|
-
var themeVals = ['
|
|
52874
|
+
var themeVals = ['#EAEBF0', 'linear-gradient(90deg,rgba(37,48,71,1) 0%,rgba(32,42,60,1) 100%)'];
|
|
52872
52875
|
return !themeVals.includes(this.itemHoverBgColor) ? this.itemHoverBgColor : themeVals[+(this.navigationType === 'left-right')];
|
|
52873
52876
|
}
|
|
52874
52877
|
},
|
|
@@ -52880,13 +52883,13 @@
|
|
|
52880
52883
|
},
|
|
52881
52884
|
defItemActiveBgColor: {
|
|
52882
52885
|
get: function get() {
|
|
52883
|
-
var themeVals = ['
|
|
52886
|
+
var themeVals = ['#E1ECFF', 'linear-gradient(90deg,rgba(63,135,255,1) 0%,rgba(58,132,255,1) 100%)'];
|
|
52884
52887
|
return !themeVals.includes(this.itemActiveBgColor) ? this.itemActiveBgColor : themeVals[+(this.navigationType === 'left-right')];
|
|
52885
52888
|
}
|
|
52886
52889
|
},
|
|
52887
52890
|
defItemActiveColor: {
|
|
52888
52891
|
get: function get() {
|
|
52889
|
-
var themeVals = ['#
|
|
52892
|
+
var themeVals = ['#3A84FF', '#FFFFFF'];
|
|
52890
52893
|
return !themeVals.includes(this.itemActiveColor) ? this.itemActiveColor : themeVals[+(this.navigationType === 'left-right')];
|
|
52891
52894
|
}
|
|
52892
52895
|
},
|
|
@@ -52916,13 +52919,13 @@
|
|
|
52916
52919
|
},
|
|
52917
52920
|
defItemActiveIconColor: {
|
|
52918
52921
|
get: function get() {
|
|
52919
|
-
var themeVals = ['#
|
|
52922
|
+
var themeVals = ['#3A84FF', '#FFFFFF'];
|
|
52920
52923
|
return !themeVals.includes(this.itemActiveIconColor) ? this.itemActiveIconColor : themeVals[+(this.navigationType === 'left-right')];
|
|
52921
52924
|
}
|
|
52922
52925
|
},
|
|
52923
52926
|
defSubMenuOpenBgColor: {
|
|
52924
52927
|
get: function get() {
|
|
52925
|
-
var themeVals = ['#
|
|
52928
|
+
var themeVals = ['#F5F7FA', '#151D2C'];
|
|
52926
52929
|
return !themeVals.includes(this.subMenuOpenBgColor) ? this.subMenuOpenBgColor : themeVals[+(this.navigationType === 'left-right')];
|
|
52927
52930
|
}
|
|
52928
52931
|
},
|
|
@@ -53149,6 +53152,8 @@
|
|
|
53149
53152
|
} else if (this.parentMenu && this.parentMenu.collapse || this.collapse) {
|
|
53150
53153
|
return this.defSubMenuOpenBgColor;
|
|
53151
53154
|
}
|
|
53155
|
+
} else if (this.parentMenu && this.mouseover) {
|
|
53156
|
+
return this.rootMenu.defItemHoverBgColor;
|
|
53152
53157
|
}
|
|
53153
53158
|
return '';
|
|
53154
53159
|
},
|
|
@@ -55191,7 +55196,8 @@
|
|
|
55191
55196
|
}
|
|
55192
55197
|
})])], 2) : _vm._e(), _vm.collapseActive ? [_c('bk-transition', {
|
|
55193
55198
|
attrs: {
|
|
55194
|
-
"name": "collapse"
|
|
55199
|
+
"name": "collapse",
|
|
55200
|
+
"duration-time": ".1.4s"
|
|
55195
55201
|
}
|
|
55196
55202
|
}, [_c('div', {
|
|
55197
55203
|
staticClass: "bk-card-body"
|