@94ai/nf-virtual-select 3.3.25 → 3.3.35

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.
@@ -610,10 +610,11 @@ const _sfc_main = {
610
610
  }
611
611
  };
612
612
  var _sfc_render = function render2() {
613
+ var _a, _b;
613
614
  var _vm = this, _c = _vm._self._c;
614
615
  return _c("virtual-select-container", _vm._g({
615
616
  ref: "nfVirtualSelectContainer",
616
- class: ["nf-virtual-select nf-virtual-select-el-select", _vm.bindProps["collapse-tags"] ? "nf-virtual-select-collapse-tags" : "", _vm.bindProps.multiple && _vm.currentVal.length > 1 ? "nf-virtual-select-select-one-more" : ""],
617
+ class: ["nf-virtual-select nf-virtual-select-el-select", _vm.bindProps["collapse-tags"] ? "nf-virtual-select-collapse-tags" : "", _vm.bindProps.multiple && ((_a = _vm.currentVal) == null ? void 0 : _a.length) > 1 ? "nf-virtual-select-select-one-more" : "", _vm.bindProps.multiple && !((_b = _vm.currentVal) == null ? void 0 : _b.length) ? "nf-virtual-select-select-no-input" : ""],
617
618
  attrs: {
618
619
  "config": _vm.config,
619
620
  "tag": _vm.tag
@@ -608,10 +608,11 @@ const _sfc_main = {
608
608
  }
609
609
  };
610
610
  var _sfc_render = function render2() {
611
+ var _a, _b;
611
612
  var _vm = this, _c = _vm._self._c;
612
613
  return _c("virtual-select-container", _vm._g({
613
614
  ref: "nfVirtualSelectContainer",
614
- class: ["nf-virtual-select nf-virtual-select-el-select", _vm.bindProps["collapse-tags"] ? "nf-virtual-select-collapse-tags" : "", _vm.bindProps.multiple && _vm.currentVal.length > 1 ? "nf-virtual-select-select-one-more" : ""],
615
+ class: ["nf-virtual-select nf-virtual-select-el-select", _vm.bindProps["collapse-tags"] ? "nf-virtual-select-collapse-tags" : "", _vm.bindProps.multiple && ((_a = _vm.currentVal) == null ? void 0 : _a.length) > 1 ? "nf-virtual-select-select-one-more" : "", _vm.bindProps.multiple && !((_b = _vm.currentVal) == null ? void 0 : _b.length) ? "nf-virtual-select-select-no-input" : ""],
615
616
  attrs: {
616
617
  "config": _vm.config,
617
618
  "tag": _vm.tag
@@ -4,7 +4,11 @@
4
4
  v-on="bindEvents"
5
5
  @visible-change="visibleChange"
6
6
  ref="nfVirtualSelectContainer"
7
- :class="['nf-virtual-select nf-virtual-select-el-select', bindProps['collapse-tags'] ? 'nf-virtual-select-collapse-tags' : '', bindProps.multiple && currentVal.length > 1 ? 'nf-virtual-select-select-one-more' : '']"
7
+ :class="[
8
+ 'nf-virtual-select nf-virtual-select-el-select',
9
+ bindProps['collapse-tags'] ? 'nf-virtual-select-collapse-tags' : '',
10
+ (bindProps.multiple && currentVal?.length > 1) ? 'nf-virtual-select-select-one-more' : '',
11
+ (bindProps.multiple && !currentVal?.length) ? 'nf-virtual-select-select-no-input' : '']"
8
12
  :config="config"
9
13
  :tag="tag"
10
14
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-virtual-select",
3
- "version": "3.3.25",
3
+ "version": "3.3.35",
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": "^3.3.25",
18
- "@94ai/nf-theme-chalk": "^3.3.25",
17
+ "@94ai/common-utils": "^3.3.35",
18
+ "@94ai/nf-theme-chalk": "^3.3.35",
19
19
  "lodash-es": "^4.17.21",
20
20
  "vue-demi": "^0.14.5",
21
21
  "vue-virtual-scroll-list": "^2.3.5"
@@ -33,5 +33,5 @@
33
33
  "types": "lib/index.d.ts",
34
34
  "main": "lib/nf-virtual-select.cjs.js",
35
35
  "module": "lib/nf-virtual-select.esm-bundler.js",
36
- "gitHead": "098b43c351cb8caed4fac2c7950bd12cb4585ebb"
36
+ "gitHead": "7ec765b1c35eb75e8c584e6945590005b48f2c09"
37
37
  }