@94ai/nf-virtual-select 6.1.0 → 6.1.6
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.
|
@@ -2567,7 +2567,7 @@ const _sfc_main = {
|
|
|
2567
2567
|
config() {
|
|
2568
2568
|
const configData = {
|
|
2569
2569
|
...this.bindProps,
|
|
2570
|
-
"popper-class": (this.bindProps.popperClass || "") + ` ${this.isVirtualSelect ? "nf-virtual-select-virtual-list-popper" : "nf-virtual-select-el-select-popper"}`
|
|
2570
|
+
"popper-class": (this.bindProps.popperClass || "") + ` ${this.isVirtualSelect ? "nf-virtual-select-virtual-list-popper" : "nf-virtual-select-el-select-popper"}${this.bindProps.multiple && this.selectAll ? " nf-virtual-select-all" : ""}`
|
|
2571
2571
|
};
|
|
2572
2572
|
if (this.isVirtualSelect) {
|
|
2573
2573
|
return {
|
|
@@ -2904,7 +2904,7 @@ var _sfc_render = function render2() {
|
|
|
2904
2904
|
"slot": "footer"
|
|
2905
2905
|
}), _vm._t("header", null, {
|
|
2906
2906
|
"slot": "header"
|
|
2907
|
-
})], 2), _vm._t("default")] : [_vm._t("header"), _vm.bindProps.multiple && _vm.
|
|
2907
|
+
})], 2), _vm._t("default")] : [_vm._t("header"), _vm.bindProps.multiple && _vm.selectAll ? _c("div", {
|
|
2908
2908
|
staticClass: "el-select-dropdown__item top-select-all",
|
|
2909
2909
|
class: ((_c2 = _vm.currentVal) == null ? void 0 : _c2.length) === ((_d = _vm.selectArr) == null ? void 0 : _d.length) ? "selected" : ""
|
|
2910
2910
|
}, [_c("el-checkbox", {
|
|
@@ -2565,7 +2565,7 @@ const _sfc_main = {
|
|
|
2565
2565
|
config() {
|
|
2566
2566
|
const configData = {
|
|
2567
2567
|
...this.bindProps,
|
|
2568
|
-
"popper-class": (this.bindProps.popperClass || "") + ` ${this.isVirtualSelect ? "nf-virtual-select-virtual-list-popper" : "nf-virtual-select-el-select-popper"}`
|
|
2568
|
+
"popper-class": (this.bindProps.popperClass || "") + ` ${this.isVirtualSelect ? "nf-virtual-select-virtual-list-popper" : "nf-virtual-select-el-select-popper"}${this.bindProps.multiple && this.selectAll ? " nf-virtual-select-all" : ""}`
|
|
2569
2569
|
};
|
|
2570
2570
|
if (this.isVirtualSelect) {
|
|
2571
2571
|
return {
|
|
@@ -2902,7 +2902,7 @@ var _sfc_render = function render2() {
|
|
|
2902
2902
|
"slot": "footer"
|
|
2903
2903
|
}), _vm._t("header", null, {
|
|
2904
2904
|
"slot": "header"
|
|
2905
|
-
})], 2), _vm._t("default")] : [_vm._t("header"), _vm.bindProps.multiple && _vm.
|
|
2905
|
+
})], 2), _vm._t("default")] : [_vm._t("header"), _vm.bindProps.multiple && _vm.selectAll ? _c("div", {
|
|
2906
2906
|
staticClass: "el-select-dropdown__item top-select-all",
|
|
2907
2907
|
class: ((_c2 = _vm.currentVal) == null ? void 0 : _c2.length) === ((_d = _vm.selectArr) == null ? void 0 : _d.length) ? "selected" : ""
|
|
2908
2908
|
}, [_c("el-checkbox", {
|
package/lib/style/css.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/lib/style/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<template v-else>
|
|
60
60
|
<slot name="header" />
|
|
61
61
|
<div
|
|
62
|
-
v-if="bindProps.multiple &&
|
|
62
|
+
v-if="bindProps.multiple && selectAll"
|
|
63
63
|
class="el-select-dropdown__item top-select-all"
|
|
64
64
|
:class="currentVal?.length === selectArr?.length ? 'selected' : ''"
|
|
65
65
|
>
|
|
@@ -337,7 +337,7 @@ export default {
|
|
|
337
337
|
config() {
|
|
338
338
|
const configData = {
|
|
339
339
|
...this.bindProps,
|
|
340
|
-
'popper-class': (this.bindProps.popperClass || '') + ` ${this.isVirtualSelect ? 'nf-virtual-select-virtual-list-popper' : 'nf-virtual-select-el-select-popper'}`
|
|
340
|
+
'popper-class': (this.bindProps.popperClass || '') + ` ${this.isVirtualSelect ? 'nf-virtual-select-virtual-list-popper' : 'nf-virtual-select-el-select-popper'}` + `${(this.bindProps.multiple && this.selectAll) ? ' nf-virtual-select-all' : ''}`
|
|
341
341
|
}
|
|
342
342
|
if (this.isVirtualSelect) {
|
|
343
343
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-virtual-select",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.6",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "zoujiahe <zoujiahe@94ai.com>,DESKTOP-1EDDQ79\\dev026 <liuxiangxiang@94ai.com>",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/common-utils": "^6.1.
|
|
18
|
-
"@94ai/nf-theme-chalk": "^6.1.
|
|
17
|
+
"@94ai/common-utils": "^6.1.6",
|
|
18
|
+
"@94ai/nf-theme-chalk": "^6.1.6",
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
20
|
"sortablejs": "^1.15.2",
|
|
21
21
|
"vue-demi": "^0.14.5",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"types": "lib/index.d.ts",
|
|
35
35
|
"main": "lib/nf-virtual-select.cjs.js",
|
|
36
36
|
"module": "lib/nf-virtual-select.esm-bundler.js",
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "3f508f12c6e83ba484c438df227a6c566aa492c2"
|
|
38
38
|
}
|