bk-magic-vue 2.5.5 → 2.5.6-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.js +16 -3
- 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/cascade.js +7 -0
- package/lib/dialog.js +7 -0
- package/lib/info-box.js +7 -0
- package/lib/pagination.js +7 -0
- package/lib/popconfirm.js +7 -0
- package/lib/popover.js +7 -0
- package/lib/search-select.js +1 -1
- package/lib/select.js +7 -0
- package/lib/sideslider.js +15 -2
- package/lib/table.js +7 -0
- package/lib/tag-input.js +7 -0
- package/lib/utils/pop-manager.js +7 -0
- package/lib/version-detail.js +7 -0
- package/package.json +2 -2
package/dist/bk-magic-vue.js
CHANGED
|
@@ -12359,6 +12359,13 @@
|
|
|
12359
12359
|
instance.ins.remove();
|
|
12360
12360
|
}
|
|
12361
12361
|
}
|
|
12362
|
+
},
|
|
12363
|
+
isMaskShown: function isMaskShown() {
|
|
12364
|
+
var mask = document.querySelector('[data-bkpop-mask]');
|
|
12365
|
+
if (mask) {
|
|
12366
|
+
return mask.classList.contains('show-active');
|
|
12367
|
+
}
|
|
12368
|
+
return false;
|
|
12362
12369
|
}
|
|
12363
12370
|
};
|
|
12364
12371
|
defineProperty$1(popManager, 'container', {
|
|
@@ -35507,7 +35514,7 @@
|
|
|
35507
35514
|
default: true
|
|
35508
35515
|
},
|
|
35509
35516
|
width: {
|
|
35510
|
-
type: Number,
|
|
35517
|
+
type: [String, Number],
|
|
35511
35518
|
default: 400
|
|
35512
35519
|
},
|
|
35513
35520
|
beforeClose: {
|
|
@@ -35552,6 +35559,12 @@
|
|
|
35552
35559
|
};
|
|
35553
35560
|
},
|
|
35554
35561
|
computed: {
|
|
35562
|
+
calcWidth: function calcWidth() {
|
|
35563
|
+
if (/^\d+$/.test(this.width)) {
|
|
35564
|
+
return "".concat(this.width, "px");
|
|
35565
|
+
}
|
|
35566
|
+
return this.width;
|
|
35567
|
+
},
|
|
35555
35568
|
calcDirection: function calcDirection() {
|
|
35556
35569
|
return this.direction === 'left' ? 'right' : 'left';
|
|
35557
35570
|
}
|
|
@@ -35705,7 +35718,7 @@
|
|
|
35705
35718
|
right: _vm.direction === 'right'
|
|
35706
35719
|
}],
|
|
35707
35720
|
style: {
|
|
35708
|
-
width: _vm.
|
|
35721
|
+
width: _vm.calcWidth
|
|
35709
35722
|
}
|
|
35710
35723
|
}, [_c('div', {
|
|
35711
35724
|
staticClass: "bk-sideslider-header"
|
|
@@ -52227,7 +52240,7 @@
|
|
|
52227
52240
|
_this11.handleEnter(_this11.input.value, (_this11$handleEnter2 = {}, _defineProperty(_this11$handleEnter2, _this11.primaryKey, _this11.input.value), _defineProperty(_this11$handleEnter2, _this11.displayKey, _this11.input.value), _this11$handleEnter2), false, needShowPopover);
|
|
52228
52241
|
}
|
|
52229
52242
|
resolve();
|
|
52230
|
-
},
|
|
52243
|
+
}, 10);
|
|
52231
52244
|
}
|
|
52232
52245
|
});
|
|
52233
52246
|
case 2:
|