@94ai/nf-virtual-select 3.1.25 → 3.1.26
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.
|
@@ -9541,7 +9541,7 @@ var _sfc_main = {
|
|
|
9541
9541
|
},
|
|
9542
9542
|
size: {
|
|
9543
9543
|
type: String,
|
|
9544
|
-
"default": "
|
|
9544
|
+
"default": "medium"
|
|
9545
9545
|
},
|
|
9546
9546
|
// 默认['label','value']
|
|
9547
9547
|
keyValue: {
|
|
@@ -9583,7 +9583,7 @@ var _sfc_main = {
|
|
|
9583
9583
|
},
|
|
9584
9584
|
width: {
|
|
9585
9585
|
type: String,
|
|
9586
|
-
"default": "
|
|
9586
|
+
"default": "240px"
|
|
9587
9587
|
}
|
|
9588
9588
|
},
|
|
9589
9589
|
data: function data2() {
|
|
@@ -9683,6 +9683,8 @@ var _sfc_main = {
|
|
|
9683
9683
|
var _this$itemOptions$eve;
|
|
9684
9684
|
if ((_this$itemOptions$eve = this.itemOptions.events) !== null && _this$itemOptions$eve !== void 0 && _this$itemOptions$eve.change) {
|
|
9685
9685
|
this.itemOptions.events.change(event, this);
|
|
9686
|
+
} else {
|
|
9687
|
+
this.$emit("change", event);
|
|
9686
9688
|
}
|
|
9687
9689
|
},
|
|
9688
9690
|
init: function init() {
|
|
@@ -9798,6 +9800,7 @@ var _sfc_render = function render2() {
|
|
|
9798
9800
|
staticClass: "nf-virtual-select"
|
|
9799
9801
|
}, [_vm.isVirtualSelect ? [_c("el-select", _vm._g(_vm._b({
|
|
9800
9802
|
staticClass: "nf-virtual-list-form-item-select",
|
|
9803
|
+
style: "width: ".concat(_vm.width, ";"),
|
|
9801
9804
|
attrs: {
|
|
9802
9805
|
"popper-class": "nf-virtual-list-select",
|
|
9803
9806
|
"disabled": _vm.$attrs.disabled,
|
|
@@ -9805,7 +9808,6 @@ var _sfc_render = function render2() {
|
|
|
9805
9808
|
"filterable": ""
|
|
9806
9809
|
},
|
|
9807
9810
|
on: {
|
|
9808
|
-
"visible-change": _vm.visibleChange,
|
|
9809
9811
|
"change": _vm.handleChange
|
|
9810
9812
|
},
|
|
9811
9813
|
model: {
|
|
@@ -9830,6 +9832,7 @@ var _sfc_render = function render2() {
|
|
|
9830
9832
|
}
|
|
9831
9833
|
}
|
|
9832
9834
|
})], 1)] : _vm.isSelect ? _c("el-select", _vm._g(_vm._b({
|
|
9835
|
+
style: "width: ".concat(_vm.width, ";"),
|
|
9833
9836
|
on: {
|
|
9834
9837
|
"change": _vm.handleChange,
|
|
9835
9838
|
"focus": _vm.handleFocus
|
|
@@ -9539,7 +9539,7 @@ var _sfc_main = {
|
|
|
9539
9539
|
},
|
|
9540
9540
|
size: {
|
|
9541
9541
|
type: String,
|
|
9542
|
-
"default": "
|
|
9542
|
+
"default": "medium"
|
|
9543
9543
|
},
|
|
9544
9544
|
// 默认['label','value']
|
|
9545
9545
|
keyValue: {
|
|
@@ -9581,7 +9581,7 @@ var _sfc_main = {
|
|
|
9581
9581
|
},
|
|
9582
9582
|
width: {
|
|
9583
9583
|
type: String,
|
|
9584
|
-
"default": "
|
|
9584
|
+
"default": "240px"
|
|
9585
9585
|
}
|
|
9586
9586
|
},
|
|
9587
9587
|
data: function data2() {
|
|
@@ -9681,6 +9681,8 @@ var _sfc_main = {
|
|
|
9681
9681
|
var _this$itemOptions$eve;
|
|
9682
9682
|
if ((_this$itemOptions$eve = this.itemOptions.events) !== null && _this$itemOptions$eve !== void 0 && _this$itemOptions$eve.change) {
|
|
9683
9683
|
this.itemOptions.events.change(event, this);
|
|
9684
|
+
} else {
|
|
9685
|
+
this.$emit("change", event);
|
|
9684
9686
|
}
|
|
9685
9687
|
},
|
|
9686
9688
|
init: function init() {
|
|
@@ -9796,6 +9798,7 @@ var _sfc_render = function render2() {
|
|
|
9796
9798
|
staticClass: "nf-virtual-select"
|
|
9797
9799
|
}, [_vm.isVirtualSelect ? [_c("el-select", _vm._g(_vm._b({
|
|
9798
9800
|
staticClass: "nf-virtual-list-form-item-select",
|
|
9801
|
+
style: "width: ".concat(_vm.width, ";"),
|
|
9799
9802
|
attrs: {
|
|
9800
9803
|
"popper-class": "nf-virtual-list-select",
|
|
9801
9804
|
"disabled": _vm.$attrs.disabled,
|
|
@@ -9803,7 +9806,6 @@ var _sfc_render = function render2() {
|
|
|
9803
9806
|
"filterable": ""
|
|
9804
9807
|
},
|
|
9805
9808
|
on: {
|
|
9806
|
-
"visible-change": _vm.visibleChange,
|
|
9807
9809
|
"change": _vm.handleChange
|
|
9808
9810
|
},
|
|
9809
9811
|
model: {
|
|
@@ -9828,6 +9830,7 @@ var _sfc_render = function render2() {
|
|
|
9828
9830
|
}
|
|
9829
9831
|
}
|
|
9830
9832
|
})], 1)] : _vm.isSelect ? _c("el-select", _vm._g(_vm._b({
|
|
9833
|
+
style: "width: ".concat(_vm.width, ";"),
|
|
9831
9834
|
on: {
|
|
9832
9835
|
"change": _vm.handleChange,
|
|
9833
9836
|
"focus": _vm.handleFocus
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-virtual-select",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.26",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "DESKTOP-1EDDQ79\\dev026 <liuxiangxiang@94ai.com>",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/nf-theme-chalk": "^3.1.
|
|
17
|
+
"@94ai/nf-theme-chalk": "^3.1.26",
|
|
18
18
|
"vue-demi": "^0.14.5",
|
|
19
19
|
"vue-virtual-scroll-list": "^2.3.5"
|
|
20
20
|
},
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"types": "lib/index.d.ts",
|
|
32
32
|
"main": "lib/nf-virtual-select.cjs.js",
|
|
33
33
|
"module": "lib/nf-virtual-select.esm-bundler.js",
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "f3b8c00d6a26e25d1afd2b848a168100cef108b3"
|
|
35
35
|
}
|