@94ai/nf-search-form 3.2.58 → 3.2.60

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.
@@ -6133,7 +6133,7 @@ __sfc_main$1.setup = (__props, __ctx) => {
6133
6133
  const handleSearch = (str) => {
6134
6134
  searchValue = [];
6135
6135
  currentTable.value.map((i) => {
6136
- if (i.label.includes(str)) {
6136
+ if ((i.addLabel || i.label).includes(str)) {
6137
6137
  searchValue.push(i);
6138
6138
  }
6139
6139
  });
@@ -6315,7 +6315,7 @@ var _sfc_render$1 = function render5() {
6315
6315
  on: {
6316
6316
  "change": (v) => _vm.handleCheckedChange(v, obj.prop)
6317
6317
  }
6318
- }, [_vm._v(_vm._s(obj.label))]);
6318
+ }, [_vm._v(_vm._s(obj.addLabel || obj.label))]);
6319
6319
  })], 2)], 1);
6320
6320
  }), 0)]), _c("div", {
6321
6321
  staticClass: "nf-already-chosen"
@@ -6371,7 +6371,7 @@ var _sfc_render$1 = function render5() {
6371
6371
  staticClass: "nf-handle"
6372
6372
  }, [_c("i", {
6373
6373
  staticClass: "iconfont icon-ketuozhuai"
6374
- }), _c("span", [_vm._v(_vm._s(dragElement.label))])]), _c("span", [_c("i", {
6374
+ }), _c("span", [_vm._v(_vm._s(dragElement.addLabel || dragElement.label))])]), _c("span", [_c("i", {
6375
6375
  staticClass: "iconfont icon-guanbi1",
6376
6376
  on: {
6377
6377
  "click": function($event) {
@@ -6419,7 +6419,7 @@ var _sfc_render$1 = function render5() {
6419
6419
  staticClass: "nf-handle"
6420
6420
  }, [_c("i", {
6421
6421
  staticClass: "iconfont icon-ketuozhuai nf-handle"
6422
- }), _c("span", [_vm._v(_vm._s(dragElement.label))])]), _c("span", [!_vm.unChangedColumn.includes(dragElement.prop) ? _c("i", {
6422
+ }), _c("span", [_vm._v(_vm._s(dragElement.addLabel || dragElement.label))])]), _c("span", [!_vm.unChangedColumn.includes(dragElement.prop) ? _c("i", {
6423
6423
  staticClass: "iconfont icon-guanbi1",
6424
6424
  on: {
6425
6425
  "click": function($event) {
@@ -6131,7 +6131,7 @@ __sfc_main$1.setup = (__props, __ctx) => {
6131
6131
  const handleSearch = (str) => {
6132
6132
  searchValue = [];
6133
6133
  currentTable.value.map((i) => {
6134
- if (i.label.includes(str)) {
6134
+ if ((i.addLabel || i.label).includes(str)) {
6135
6135
  searchValue.push(i);
6136
6136
  }
6137
6137
  });
@@ -6313,7 +6313,7 @@ var _sfc_render$1 = function render5() {
6313
6313
  on: {
6314
6314
  "change": (v) => _vm.handleCheckedChange(v, obj.prop)
6315
6315
  }
6316
- }, [_vm._v(_vm._s(obj.label))]);
6316
+ }, [_vm._v(_vm._s(obj.addLabel || obj.label))]);
6317
6317
  })], 2)], 1);
6318
6318
  }), 0)]), _c("div", {
6319
6319
  staticClass: "nf-already-chosen"
@@ -6369,7 +6369,7 @@ var _sfc_render$1 = function render5() {
6369
6369
  staticClass: "nf-handle"
6370
6370
  }, [_c("i", {
6371
6371
  staticClass: "iconfont icon-ketuozhuai"
6372
- }), _c("span", [_vm._v(_vm._s(dragElement.label))])]), _c("span", [_c("i", {
6372
+ }), _c("span", [_vm._v(_vm._s(dragElement.addLabel || dragElement.label))])]), _c("span", [_c("i", {
6373
6373
  staticClass: "iconfont icon-guanbi1",
6374
6374
  on: {
6375
6375
  "click": function($event) {
@@ -6417,7 +6417,7 @@ var _sfc_render$1 = function render5() {
6417
6417
  staticClass: "nf-handle"
6418
6418
  }, [_c("i", {
6419
6419
  staticClass: "iconfont icon-ketuozhuai nf-handle"
6420
- }), _c("span", [_vm._v(_vm._s(dragElement.label))])]), _c("span", [!_vm.unChangedColumn.includes(dragElement.prop) ? _c("i", {
6420
+ }), _c("span", [_vm._v(_vm._s(dragElement.addLabel || dragElement.label))])]), _c("span", [!_vm.unChangedColumn.includes(dragElement.prop) ? _c("i", {
6421
6421
  staticClass: "iconfont icon-guanbi1",
6422
6422
  on: {
6423
6423
  "click": function($event) {
@@ -29,7 +29,7 @@
29
29
  :label="obj.prop"
30
30
  :disabled="unChangedColumn.includes(obj.prop)"
31
31
  @change="(v) => handleCheckedChange(v, obj.prop)"
32
- >{{ obj.label }}</el-checkbox>
32
+ >{{ obj.addLabel || obj.label }}</el-checkbox>
33
33
  </el-checkbox-group>
34
34
  </div>
35
35
  </div>
@@ -66,7 +66,7 @@
66
66
  >
67
67
  <span class="nf-handle">
68
68
  <i class="iconfont icon-ketuozhuai" />
69
- <span>{{ dragElement.label }}</span>
69
+ <span>{{ dragElement.addLabel || dragElement.label }}</span>
70
70
  </span>
71
71
  <span>
72
72
  <!-- <el-tooltip placement="top" :content="noFixedDesc">-->
@@ -103,7 +103,7 @@
103
103
  <li v-if="!dragElement.initHidden" :key="dragElement.prop || index" class="nf-drag-element">
104
104
  <span class="nf-handle">
105
105
  <i class="iconfont icon-ketuozhuai nf-handle" />
106
- <span>{{ dragElement.label }}</span>
106
+ <span>{{ dragElement.addLabel || dragElement.label }}</span>
107
107
  </span>
108
108
  <span>
109
109
  <!-- <el-tooltip style="margin-left:20px" placement="top" :content="fixedLeftDesc">-->
@@ -278,7 +278,7 @@ let searchValue: Record<string, any>[] = [] // 搜索结果
278
278
  const handleSearch = (str) => {
279
279
  searchValue = []
280
280
  currentTable.value.map(i => {
281
- if (i.label.includes(str)) {
281
+ if ((i.addLabel || i.label).includes(str)) {
282
282
  searchValue.push(i)
283
283
  }
284
284
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-search-form",
3
- "version": "3.2.58",
3
+ "version": "3.2.60",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,23 +14,23 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/common-utils": "^3.2.58",
18
- "@94ai/nf-action": "^3.2.58",
19
- "@94ai/nf-button": "^3.2.58",
20
- "@94ai/nf-double-half-year": "^3.2.58",
21
- "@94ai/nf-double-quarter": "^3.2.58",
22
- "@94ai/nf-double-week": "^3.2.58",
23
- "@94ai/nf-double-year": "^3.2.58",
24
- "@94ai/nf-drawer": "^3.2.58",
25
- "@94ai/nf-form": "^3.2.58",
26
- "@94ai/nf-form-item": "^3.2.58",
27
- "@94ai/nf-half-year-picker": "^3.2.58",
28
- "@94ai/nf-lazy-select": "^3.2.58",
29
- "@94ai/nf-message": "^3.2.58",
30
- "@94ai/nf-quarter-picker": "^3.2.58",
31
- "@94ai/nf-select-transfer": "^3.2.58",
32
- "@94ai/nf-theme-chalk": "^3.2.58",
33
- "@94ai/nf-virtual-select": "^3.2.58",
17
+ "@94ai/common-utils": "^3.2.60",
18
+ "@94ai/nf-action": "^3.2.60",
19
+ "@94ai/nf-button": "^3.2.60",
20
+ "@94ai/nf-double-half-year": "^3.2.60",
21
+ "@94ai/nf-double-quarter": "^3.2.60",
22
+ "@94ai/nf-double-week": "^3.2.60",
23
+ "@94ai/nf-double-year": "^3.2.60",
24
+ "@94ai/nf-drawer": "^3.2.60",
25
+ "@94ai/nf-form": "^3.2.60",
26
+ "@94ai/nf-form-item": "^3.2.60",
27
+ "@94ai/nf-half-year-picker": "^3.2.60",
28
+ "@94ai/nf-lazy-select": "^3.2.60",
29
+ "@94ai/nf-message": "^3.2.60",
30
+ "@94ai/nf-quarter-picker": "^3.2.60",
31
+ "@94ai/nf-select-transfer": "^3.2.60",
32
+ "@94ai/nf-theme-chalk": "^3.2.60",
33
+ "@94ai/nf-virtual-select": "^3.2.60",
34
34
  "idb-keyval": "^6.2.1",
35
35
  "resize-observer-polyfill": "^1.5.1",
36
36
  "vue-demi": "^0.14.5",
@@ -49,5 +49,5 @@
49
49
  "types": "lib/index.d.ts",
50
50
  "main": "lib/nf-search-form.cjs.js",
51
51
  "module": "lib/nf-search-form.esm-bundler.js",
52
- "gitHead": "f08091dce410b101d5a5dcb1c97dcdfe09a75b34"
52
+ "gitHead": "dc12d02d2085a272c214677ffcf7b06409be54b3"
53
53
  }