bk-magic-vue 2.5.9-beta.45 → 2.5.9-beta.46
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 +18 -2
- package/dist/bk-magic-vue.js +11 -2
- 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/tag-input.js +11 -2
- package/lib/ui/bk-magic-vue.css +18 -2
- 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/tag-input.css +21 -2
- package/lib/ui/tag-input.min.css +1 -1
- package/lib/ui/tag-input.min.css.map +1 -1
- package/package.json +1 -1
package/dist/bk-magic-vue.css
CHANGED
|
@@ -11464,9 +11464,25 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
11464
11464
|
.bk-tag-selector .bk-tag-input.disabled .tag-list .key-node{
|
|
11465
11465
|
padding-right:2px;
|
|
11466
11466
|
}
|
|
11467
|
-
.bk-tag-selector .bk-tag-input.active{
|
|
11468
|
-
|
|
11467
|
+
.bk-tag-selector .bk-tag-input.active:not(.fix-height){
|
|
11468
|
+
border-color:#3a84ff;
|
|
11469
|
+
}
|
|
11470
|
+
.bk-tag-selector .bk-tag-input.active.fix-height .tag-list{
|
|
11471
|
+
border-color:#3a84ff;
|
|
11472
|
+
}
|
|
11473
|
+
.bk-tag-selector .bk-tag-input.fix-height{
|
|
11474
|
+
overflow:visible;
|
|
11475
|
+
position:relative;
|
|
11476
|
+
border:1px solid transparent;
|
|
11469
11477
|
}
|
|
11478
|
+
.bk-tag-selector .bk-tag-input.fix-height .tag-list{
|
|
11479
|
+
background:#fff;
|
|
11480
|
+
border:1px solid #c4c6cc;
|
|
11481
|
+
position:absolute;
|
|
11482
|
+
left:0;
|
|
11483
|
+
top:0;
|
|
11484
|
+
right:0;
|
|
11485
|
+
}
|
|
11470
11486
|
.bk-tag-selector .bk-tag-input .placeholder{
|
|
11471
11487
|
margin:0;
|
|
11472
11488
|
padding:0;
|
package/dist/bk-magic-vue.js
CHANGED
|
@@ -45077,6 +45077,10 @@
|
|
|
45077
45077
|
allowRepeat: {
|
|
45078
45078
|
type: Boolean,
|
|
45079
45079
|
default: false
|
|
45080
|
+
},
|
|
45081
|
+
fixHeight: {
|
|
45082
|
+
type: Boolean,
|
|
45083
|
+
default: false
|
|
45080
45084
|
}
|
|
45081
45085
|
},
|
|
45082
45086
|
data: function data() {
|
|
@@ -45255,8 +45259,12 @@
|
|
|
45255
45259
|
},
|
|
45256
45260
|
showPopover: function showPopover() {
|
|
45257
45261
|
var inputLeft = this.isSingleSelect ? 0 : this.$refs.staffInput.offsetLeft;
|
|
45262
|
+
var offsetTop = 0;
|
|
45263
|
+
if (this.fixHeight) {
|
|
45264
|
+
offsetTop = this.$refs.staffInput.offsetTop;
|
|
45265
|
+
}
|
|
45258
45266
|
this.popoverInstance.instance.set({
|
|
45259
|
-
offset: "".concat(inputLeft, ",
|
|
45267
|
+
offset: "".concat(inputLeft, ", ").concat(offsetTop)
|
|
45260
45268
|
});
|
|
45261
45269
|
if (this.popoverInstance.instance.popperInstance) {
|
|
45262
45270
|
this.popoverInstance.instance.popperInstance.update();
|
|
@@ -45949,7 +45957,8 @@
|
|
|
45949
45957
|
}, [_c('div', {
|
|
45950
45958
|
class: ['bk-tag-input', {
|
|
45951
45959
|
'active': _vm.isEdit,
|
|
45952
|
-
'disabled': _vm.disabled
|
|
45960
|
+
'disabled': _vm.disabled,
|
|
45961
|
+
'fix-height': _vm.fixHeight
|
|
45953
45962
|
}]
|
|
45954
45963
|
}, [_c('ul', {
|
|
45955
45964
|
ref: "tagList",
|