bk-magic-vue 2.5.10-beta.1 → 2.5.10-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.
- package/dist/bk-magic-vue.css +15 -8
- package/dist/bk-magic-vue.js +9 -4
- 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 +6 -1
- package/lib/input.js +6 -1
- package/lib/pagination.js +6 -1
- package/lib/slider.js +6 -1
- package/lib/tab.js +3 -3
- package/lib/table.js +6 -1
- package/lib/transfer.js +6 -1
- package/lib/ui/bk-magic-vue.css +15 -8
- 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/tab.css +18 -8
- package/lib/ui/tab.min.css +1 -1
- package/lib/ui/tab.min.css.map +1 -1
- package/package.json +1 -1
package/dist/bk-magic-vue.css
CHANGED
|
@@ -10168,7 +10168,8 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
10168
10168
|
border-left:1px solid #dcdee5;
|
|
10169
10169
|
}
|
|
10170
10170
|
.bk-tab.bk-tab-card .bk-tab-scroll-controller{
|
|
10171
|
-
border-top:1px solid #dcdee5
|
|
10171
|
+
border-top:1px solid #dcdee5;
|
|
10172
|
+
border-bottom:none
|
|
10172
10173
|
}
|
|
10173
10174
|
.bk-tab.bk-tab-card .bk-tab-scroll-controller.prev{
|
|
10174
10175
|
border-left:1px solid #dcdee5
|
|
@@ -10176,6 +10177,9 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
10176
10177
|
.bk-tab.bk-tab-card .bk-tab-scroll-controller.prev.disabled{
|
|
10177
10178
|
border-right:none;
|
|
10178
10179
|
}
|
|
10180
|
+
.bk-tab.bk-tab-card .bk-tab-scroll-controller.next{
|
|
10181
|
+
border-right:1px solid #dcdee5;
|
|
10182
|
+
}
|
|
10179
10183
|
.bk-tab.bk-tab-card .bk-tab-extension-controller, .bk-tab.bk-tab-card .bk-tab-add-controller{
|
|
10180
10184
|
border-top:1px solid #dcdee5;
|
|
10181
10185
|
background-color:#fff;
|
|
@@ -10212,12 +10216,15 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
10212
10216
|
.bk-tab.bk-tab-unborder-card .bk-tab-label-wrapper .bk-tab-add-controller,
|
|
10213
10217
|
.bk-tab.bk-tab-unborder-card .bk-tab-label-wrapper .bk-tab-scroll-controller{
|
|
10214
10218
|
border:none;
|
|
10215
|
-
border-bottom:1px solid #dcdee5;
|
|
10216
10219
|
background-color:#fff;
|
|
10217
10220
|
}
|
|
10218
10221
|
.bk-tab.bk-tab-unborder-card .bk-tab-label-wrapper .bk-tab-label-list .bk-tab-label-item{
|
|
10219
|
-
|
|
10222
|
+
padding:0 16px;
|
|
10223
|
+
border:none !important
|
|
10220
10224
|
}
|
|
10225
|
+
.bk-tab.bk-tab-unborder-card .bk-tab-label-wrapper .bk-tab-label-list .bk-tab-label-item ~ .bk-tab-label-item{
|
|
10226
|
+
margin-left:8px;
|
|
10227
|
+
}
|
|
10221
10228
|
.bk-tab.bk-tab-unborder-card .bk-tab-section{
|
|
10222
10229
|
border:none;
|
|
10223
10230
|
}
|
|
@@ -10371,8 +10378,7 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
10371
10378
|
position:absolute;
|
|
10372
10379
|
top:0;
|
|
10373
10380
|
right:0;
|
|
10374
|
-
border-bottom:1px solid #dcdee5
|
|
10375
|
-
border-left:1px solid #dcdee5
|
|
10381
|
+
border-bottom:1px solid #dcdee5
|
|
10376
10382
|
}
|
|
10377
10383
|
.bk-tab-label-wrapper.has-scroller.has-add .bk-tab-add-controller.next-right{
|
|
10378
10384
|
right:24px;
|
|
@@ -10384,7 +10390,6 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
10384
10390
|
position:absolute;
|
|
10385
10391
|
top:0;
|
|
10386
10392
|
right:42px;
|
|
10387
|
-
border-left:1px solid #dcdee5;
|
|
10388
10393
|
}
|
|
10389
10394
|
.bk-tab-label-wrapper.has-scroller.has-add.has-extension .bk-tab-add-controller{
|
|
10390
10395
|
border-left-width:0;
|
|
@@ -10506,7 +10511,6 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
10506
10511
|
position:relative;
|
|
10507
10512
|
display:inline-block;
|
|
10508
10513
|
vertical-align:middle;
|
|
10509
|
-
min-width:100px;
|
|
10510
10514
|
padding:0 18px;
|
|
10511
10515
|
border-right:1px solid #dcdee5;
|
|
10512
10516
|
text-align:center;
|
|
@@ -10597,8 +10601,11 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
10597
10601
|
.bk-tab-header-setting{
|
|
10598
10602
|
float:right;
|
|
10599
10603
|
height:42px;
|
|
10600
|
-
line-height:42px
|
|
10604
|
+
line-height:42px
|
|
10601
10605
|
}
|
|
10606
|
+
.bk-tab-header-setting.has-setting{
|
|
10607
|
+
border-left:1px solid #dcdee5;
|
|
10608
|
+
}
|
|
10602
10609
|
.bk-tab-section{
|
|
10603
10610
|
padding:20px;
|
|
10604
10611
|
border:1px solid #dcdee5;
|
package/dist/bk-magic-vue.js
CHANGED
|
@@ -29593,6 +29593,10 @@
|
|
|
29593
29593
|
type: Boolean,
|
|
29594
29594
|
default: false
|
|
29595
29595
|
},
|
|
29596
|
+
allowNumberCopy: {
|
|
29597
|
+
type: Boolean,
|
|
29598
|
+
default: true
|
|
29599
|
+
},
|
|
29596
29600
|
showOverflowTooltips: {
|
|
29597
29601
|
type: Boolean,
|
|
29598
29602
|
default: false
|
|
@@ -29952,8 +29956,9 @@
|
|
|
29952
29956
|
var target = event.currentTarget;
|
|
29953
29957
|
var value = target.value;
|
|
29954
29958
|
var isPaste = (event.ctrlKey || event.metaKey) && keyCode === 86;
|
|
29959
|
+
var isCopy = (event.ctrlKey || event.metaKey) && (event.key === 'c' || event.key === 'C');
|
|
29955
29960
|
if (this.inputType === 'number') {
|
|
29956
|
-
if (!(this.allowNumberPaste && isPaste) && (this.validKeyCodeList.indexOf(keyCode) < 0 || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey)) {
|
|
29961
|
+
if (!(this.allowNumberPaste && isPaste) && !(this.allowNumberCopy && isCopy) && (this.validKeyCodeList.indexOf(keyCode) < 0 || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey)) {
|
|
29957
29962
|
event.stopPropagation();
|
|
29958
29963
|
event.preventDefault();
|
|
29959
29964
|
return false;
|
|
@@ -39219,9 +39224,9 @@
|
|
|
39219
39224
|
} else {
|
|
39220
39225
|
tabLabel.classList.remove('simulate-border-bottom');
|
|
39221
39226
|
}
|
|
39222
|
-
_this5.activeBarStyle.width = "".concat(tabLabelRect.width
|
|
39227
|
+
_this5.activeBarStyle.width = "".concat(tabLabelRect.width, "px");
|
|
39223
39228
|
_this5.activeBarStyle.height = _this5.activeBar.height;
|
|
39224
|
-
_this5.activeBarStyle.transform = "translateX(".concat(tabLabel.offsetLeft
|
|
39229
|
+
_this5.activeBarStyle.transform = "translateX(".concat(tabLabel.offsetLeft, "px)");
|
|
39225
39230
|
_this5.activeBarStyle.left = 0;
|
|
39226
39231
|
if (_this5.activeBar.position === 'top') {
|
|
39227
39232
|
_this5.activeBarStyle.top = '0px';
|
|
@@ -39548,7 +39553,7 @@
|
|
|
39548
39553
|
style: {
|
|
39549
39554
|
height: _vm.labelHeight - 1 + "px",
|
|
39550
39555
|
lineHeight: _vm.labelHeight + "px",
|
|
39551
|
-
right: _vm.hasAddBtnSlot || _vm.addable ? (_vm.addShowNextRight ? 0 : _vm.addCustomRect.width ||
|
|
39556
|
+
right: _vm.hasAddBtnSlot || _vm.addable ? (_vm.addShowNextRight ? 0 : _vm.addCustomRect.width || 42) + "px" : undefined
|
|
39552
39557
|
},
|
|
39553
39558
|
on: {
|
|
39554
39559
|
"click": _vm.stepToNext
|