@94ai/nf-virtual-select 3.2.21 → 3.2.25
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.
|
@@ -414,7 +414,7 @@ const _sfc_main = {
|
|
|
414
414
|
this.selectArr = ((_a = this.optionsList) == null ? void 0 : _a.map((it) => ({
|
|
415
415
|
label: it[this.keyValue[0]],
|
|
416
416
|
value: it[this.keyValue[1]],
|
|
417
|
-
|
|
417
|
+
[this.dataKey]: it[this.keyValue[1]],
|
|
418
418
|
disabled: it["disabled"] ?? false
|
|
419
419
|
}))) ?? [];
|
|
420
420
|
} else {
|
|
@@ -453,7 +453,7 @@ const _sfc_main = {
|
|
|
453
453
|
return {
|
|
454
454
|
label: it[this.keyValue[0]],
|
|
455
455
|
value: it[this.keyValue[1]],
|
|
456
|
-
|
|
456
|
+
[this.dataKey]: it[this.keyValue[1]],
|
|
457
457
|
disabled: it["disabled"] ? it["disabled"] : false,
|
|
458
458
|
slotContent: (it == null ? void 0 : it.slotContent) || {}
|
|
459
459
|
};
|
|
@@ -506,6 +506,7 @@ var _sfc_render = function render2() {
|
|
|
506
506
|
"filterable": ""
|
|
507
507
|
},
|
|
508
508
|
on: {
|
|
509
|
+
"visible-change": _vm.visibleChange,
|
|
509
510
|
"change": _vm.handleChange
|
|
510
511
|
},
|
|
511
512
|
model: {
|
|
@@ -412,7 +412,7 @@ const _sfc_main = {
|
|
|
412
412
|
this.selectArr = ((_a = this.optionsList) == null ? void 0 : _a.map((it) => ({
|
|
413
413
|
label: it[this.keyValue[0]],
|
|
414
414
|
value: it[this.keyValue[1]],
|
|
415
|
-
|
|
415
|
+
[this.dataKey]: it[this.keyValue[1]],
|
|
416
416
|
disabled: it["disabled"] ?? false
|
|
417
417
|
}))) ?? [];
|
|
418
418
|
} else {
|
|
@@ -451,7 +451,7 @@ const _sfc_main = {
|
|
|
451
451
|
return {
|
|
452
452
|
label: it[this.keyValue[0]],
|
|
453
453
|
value: it[this.keyValue[1]],
|
|
454
|
-
|
|
454
|
+
[this.dataKey]: it[this.keyValue[1]],
|
|
455
455
|
disabled: it["disabled"] ? it["disabled"] : false,
|
|
456
456
|
slotContent: (it == null ? void 0 : it.slotContent) || {}
|
|
457
457
|
};
|
|
@@ -504,6 +504,7 @@ var _sfc_render = function render2() {
|
|
|
504
504
|
"filterable": ""
|
|
505
505
|
},
|
|
506
506
|
on: {
|
|
507
|
+
"visible-change": _vm.visibleChange,
|
|
507
508
|
"change": _vm.handleChange
|
|
508
509
|
},
|
|
509
510
|
model: {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
v-bind="bindProps"
|
|
9
9
|
:disabled="$attrs.disabled"
|
|
10
10
|
:filter-method="filterMethod"
|
|
11
|
+
@visible-change="visibleChange"
|
|
11
12
|
filterable
|
|
12
13
|
:style="`width: ${width};`"
|
|
13
14
|
@change="handleChange"
|
|
@@ -417,7 +418,7 @@ export default {
|
|
|
417
418
|
this.selectArr = this.optionsList?.map(it => ({
|
|
418
419
|
label: it[this.keyValue[0]],
|
|
419
420
|
value: it[this.keyValue[1]],
|
|
420
|
-
|
|
421
|
+
[this.dataKey]: it[this.keyValue[1]],
|
|
421
422
|
disabled: it['disabled'] ?? false
|
|
422
423
|
})) ?? [];
|
|
423
424
|
} else {
|
|
@@ -460,7 +461,7 @@ export default {
|
|
|
460
461
|
return {
|
|
461
462
|
label: it[this.keyValue[0]],
|
|
462
463
|
value: it[this.keyValue[1]],
|
|
463
|
-
|
|
464
|
+
[this.dataKey]: it[this.keyValue[1]],
|
|
464
465
|
disabled: it['disabled'] ? it['disabled'] : false,
|
|
465
466
|
slotContent: it?.slotContent || {}
|
|
466
467
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-virtual-select",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.25",
|
|
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.2.
|
|
17
|
+
"@94ai/nf-theme-chalk": "^3.2.25",
|
|
18
18
|
"lodash-es": "^4.17.21",
|
|
19
19
|
"vue-demi": "^0.14.5",
|
|
20
20
|
"vue-virtual-scroll-list": "^2.3.5"
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"types": "lib/index.d.ts",
|
|
33
33
|
"main": "lib/nf-virtual-select.cjs.js",
|
|
34
34
|
"module": "lib/nf-virtual-select.esm-bundler.js",
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "8cef5ebb5a3f98596f2f279bcfcd337d293767d2"
|
|
36
36
|
}
|