yahee-components 0.0.61 → 0.0.63

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.
@@ -1,7 +1,7 @@
1
- import { defineComponent as re, mergeDefaults as se, toRefs as ue, ref as d, createBlock as p, openBlock as n, unref as a, withCtx as t, createElementVNode as x, createVNode as o, withKeys as ne, createSlots as ce, createElementBlock as y, Fragment as C, renderList as b, createCommentVNode as U, createTextVNode as g, toDisplayString as S } from "vue";
1
+ import { defineComponent as ue, mergeDefaults as ne, toRefs as ce, ref as p, createBlock as d, openBlock as n, unref as a, withCtx as t, createElementVNode as x, createVNode as o, withKeys as ie, createSlots as pe, createElementBlock as y, Fragment as b, renderList as S, createCommentVNode as P, createTextVNode as C, toDisplayString as g } from "vue";
2
2
  import T from "../_virtual/lodash.js";
3
- import { defaultComplexSearchProps as ie } from "./props.js";
4
- import { ElConfigProvider as de, ElInput as L, ElIcon as pe, ElSelect as V, ElOption as k, ElCheckbox as me, ElLink as he, ElDialog as fe, ElForm as ve, ElRow as R, ElFormItem as W, ElButton as z } from "element-plus";
3
+ import { defaultComplexSearchProps as de } from "./props.js";
4
+ import { ElConfigProvider as me, ElInput as U, ElIcon as he, ElSelect as V, ElOption as k, ElCheckbox as fe, ElLink as ve, ElDialog as ye, ElForm as be, ElRow as L, ElFormItem as R, ElButton as z } from "element-plus";
5
5
  import "element-plus/theme-chalk/src/base.scss";
6
6
  import "element-plus/theme-chalk/src/input.scss";
7
7
  import "element-plus/theme-chalk/src/checkbox.scss";
@@ -19,12 +19,12 @@ import "element-plus/theme-chalk/src/row.scss";
19
19
  import "element-plus/theme-chalk/src/button.scss";
20
20
  import "element-plus/theme-chalk/src/link.scss";
21
21
  import "element-plus/theme-chalk/src/config-provider.scss";
22
- import { Search as ye } from "@element-plus/icons-vue";
22
+ import { Search as Se } from "@element-plus/icons-vue";
23
23
  import Ce from "../node_modules/.pnpm/element-plus@2.9.7_vue@3.5.13_typescript@5.8.3_/node_modules/element-plus/es/locale/lang/zh-cn.js";
24
- const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbox" }, Se = { class: "dialog-footer" }, qe = /* @__PURE__ */ re({
24
+ const ge = { class: "yahee-complex-search" }, Ve = { class: "search-type-checkbox" }, ke = { class: "dialog-footer" }, Ye = /* @__PURE__ */ ue({
25
25
  name: "YaheeComplexSearch",
26
26
  __name: "complex-search",
27
- props: /* @__PURE__ */ se({
27
+ props: /* @__PURE__ */ ne({
28
28
  pasteFormat: { type: Function },
29
29
  defaultSearch: {},
30
30
  options: {},
@@ -34,58 +34,62 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
34
34
  specialOptions: {},
35
35
  normalOptions: {},
36
36
  showSelect: { type: Boolean },
37
- searchItem: {}
38
- }, ie()),
37
+ searchItem: {},
38
+ isBatchSelectOptionsSameWithInput: { type: Boolean },
39
+ batchOptions: {}
40
+ }, de()),
39
41
  emits: ["filterChangeGrandson"],
40
42
  setup(G, { emit: H }) {
41
43
  const N = Ce, h = H, A = G, {
42
44
  defaultSearch: q,
43
- options: F,
45
+ options: O,
44
46
  showPatchSearch: X,
45
- specialOptions: O,
47
+ specialOptions: F,
46
48
  showWithinFilterCheckbox: Y,
47
49
  placeholderText: j,
48
50
  normalOptions: J,
49
51
  showSelect: B,
50
- searchItem: c
51
- } = ue(A), u = d(q.value || "WHOLE_SEARCH"), m = d(""), f = d(!1), E = d(!1), v = d(!1), _ = d(null), s = d({ searchType: "WHOLE_SEARCH", searchContent: "" }), M = {
52
+ searchItem: c,
53
+ isBatchSelectOptionsSameWithInput: M,
54
+ batchOptions: Q
55
+ } = ce(A), u = p(q.value || "WHOLE_SEARCH"), m = p(""), f = p(!1), E = p(!1), v = p(!1), I = p(null), s = p({ searchType: "WHOLE_SEARCH", searchContent: "" }), Z = {
52
56
  selectedSearchType: [{ required: !0, message: "请输入查询类型", trigger: "blur" }],
53
57
  searchContent: [{ required: !0, message: "请输入查询内容", trigger: "blur" }]
54
- }, K = [
58
+ }, _ = [
55
59
  {
56
60
  value: "WHOLE_SEARCH",
57
61
  label: "综合搜索"
58
62
  }
59
- ], Q = () => {
63
+ ], $ = () => {
60
64
  v.value = !0;
61
- }, D = () => {
65
+ }, K = () => {
62
66
  v.value = !1;
63
- }, Z = () => {
67
+ }, ee = () => {
64
68
  f.value || (delete c.value.putSearch, h("filterChangeGrandson", c.value, u.value));
65
- }, $ = () => c.value, w = () => {
66
- m.value ? te() : h("filterChangeGrandson", $(), u.value);
67
- }, ee = (r, l) => {
69
+ }, le = () => c.value, w = () => {
70
+ m.value ? re() : h("filterChangeGrandson", le(), u.value);
71
+ }, ae = (r, l) => {
68
72
  const e = { ...r };
69
- return T.map(O.value, (i) => i.key).includes(l.filterKey) ? O.value.forEach((i) => delete e[i.key]) : delete e[l.filterKey], e;
73
+ return T.map(F.value, (i) => i.key).includes(l.filterKey) ? F.value.forEach((i) => delete e[i.key]) : delete e[l.filterKey], e;
70
74
  };
71
- function I(r) {
75
+ function W(r) {
72
76
  T.forEach(r, (l) => {
73
- ee(c.value, l);
77
+ ae(c.value, l);
74
78
  const { checkedValues: e, filterKey: i } = l;
75
79
  T.isEmpty(e) || (J.value.includes(i) ? c.value[i] = e[0] : c.value[i] = e);
76
80
  }), h("filterChangeGrandson", c.value, u.value);
77
81
  }
78
- const le = (r) => {
79
- m.value = P(r) || "";
80
- }, ae = (r) => {
81
- s.value.searchContent = P(r) || "";
82
- }, P = (r) => {
82
+ const te = (r) => {
83
+ m.value = D(r) || "";
84
+ }, oe = (r) => {
85
+ s.value.searchContent = D(r) || "";
86
+ }, D = (r) => {
83
87
  var e;
84
88
  r.preventDefault();
85
89
  const l = (e = r.clipboardData) == null ? void 0 : e.getData("text/plain");
86
90
  return l == null ? void 0 : l.replace(/[\n\r\t]+/g, ",");
87
- }, te = () => {
88
- f.value ? I([
91
+ }, re = () => {
92
+ f.value ? W([
89
93
  {
90
94
  filterKey: "putSearch",
91
95
  checkedValues: m.value
@@ -102,9 +106,9 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
102
106
  },
103
107
  u.value
104
108
  );
105
- }, oe = () => {
106
- _.value.validate((r) => {
107
- r && (E.value = !0, f.value ? I([
109
+ }, se = () => {
110
+ I.value.validate((r) => {
111
+ r && (E.value = !0, f.value ? W([
108
112
  {
109
113
  filterKey: "putSearch",
110
114
  checkedValues: s.value.searchContent
@@ -123,10 +127,10 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
123
127
  ), v.value = !1, E.value = !1);
124
128
  });
125
129
  };
126
- return (r, l) => (n(), p(a(de), { locale: a(N) }, {
130
+ return (r, l) => (n(), d(a(me), { locale: a(N) }, {
127
131
  default: t(() => [
128
- x("div", be, [
129
- o(a(L), {
132
+ x("div", ge, [
133
+ o(a(U), {
130
134
  modelValue: m.value,
131
135
  "onUpdate:modelValue": l[2] || (l[2] = (e) => m.value = e),
132
136
  placeholder: a(j),
@@ -134,11 +138,11 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
134
138
  clearable: "",
135
139
  maxlength: "30",
136
140
  onChange: w,
137
- onKeyup: ne(w, ["enter"]),
138
- onPaste: le
139
- }, ce({
141
+ onKeyup: ie(w, ["enter"]),
142
+ onPaste: te
143
+ }, pe({
140
144
  append: t(() => [
141
- o(a(pe), {
145
+ o(a(he), {
142
146
  size: "12",
143
147
  color: "#3366cc",
144
148
  style: { cursor: "pointer" },
@@ -146,7 +150,7 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
146
150
  onClick: w
147
151
  }, {
148
152
  default: t(() => [
149
- o(a(ye))
153
+ o(a(Se))
150
154
  ]),
151
155
  _: 1
152
156
  })
@@ -163,7 +167,7 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
163
167
  class: "custom-select"
164
168
  }, {
165
169
  default: t(() => [
166
- (n(!0), y(C, null, b(a(F), (e) => (n(), p(a(k), {
170
+ (n(!0), y(b, null, S(a(O), (e) => (n(), d(a(k), {
167
171
  key: e.label,
168
172
  label: e.label,
169
173
  value: e.value
@@ -184,7 +188,7 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
184
188
  disabled: ""
185
189
  }, {
186
190
  default: t(() => [
187
- (n(), y(C, null, b(K, (e) => o(a(k), {
191
+ (n(), y(b, null, S(_, (e) => o(a(k), {
188
192
  key: e.label,
189
193
  label: e.label,
190
194
  value: e.value
@@ -196,72 +200,72 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
196
200
  key: "1"
197
201
  }
198
202
  ]), 1032, ["modelValue", "placeholder"]),
199
- x("div", ge, [
200
- a(Y) ? (n(), p(a(me), {
203
+ x("div", Ve, [
204
+ a(Y) ? (n(), d(a(fe), {
201
205
  key: 0,
202
206
  modelValue: f.value,
203
207
  "onUpdate:modelValue": l[3] || (l[3] = (e) => f.value = e),
204
- onChange: Z
208
+ onChange: ee
205
209
  }, {
206
210
  default: t(() => l[8] || (l[8] = [
207
- g(S("在筛选条件内查询"))
211
+ C(g("在筛选条件内查询"))
208
212
  ])),
209
213
  _: 1
210
- }, 8, ["modelValue"])) : U("", !0),
211
- a(X) ? (n(), p(a(he), {
214
+ }, 8, ["modelValue"])) : P("", !0),
215
+ a(X) ? (n(), d(a(ve), {
212
216
  key: 1,
213
217
  type: "primary",
214
- onClick: Q
218
+ onClick: $
215
219
  }, {
216
220
  default: t(() => l[9] || (l[9] = [
217
- g(S("批量查询"))
221
+ C(g("批量查询"))
218
222
  ])),
219
223
  _: 1
220
- })) : U("", !0)
224
+ })) : P("", !0)
221
225
  ])
222
226
  ]),
223
- o(a(fe), {
227
+ o(a(ye), {
224
228
  modelValue: v.value,
225
229
  "onUpdate:modelValue": l[7] || (l[7] = (e) => v.value = e),
226
230
  title: "批量查询",
227
231
  width: "30%",
228
- "before-close": D,
232
+ "before-close": K,
229
233
  "append-to-body": !0,
230
234
  draggable: ""
231
235
  }, {
232
236
  footer: t(() => [
233
- x("div", Se, [
237
+ x("div", ke, [
234
238
  o(a(z), {
235
239
  type: "primary",
236
240
  loading: E.value,
237
- onClick: oe
241
+ onClick: se
238
242
  }, {
239
243
  default: t(() => l[10] || (l[10] = [
240
- g(S("确认"))
244
+ C(g("确认"))
241
245
  ])),
242
246
  _: 1
243
247
  }, 8, ["loading"]),
244
- o(a(z), { onClick: D }, {
248
+ o(a(z), { onClick: K }, {
245
249
  default: t(() => l[11] || (l[11] = [
246
- g(S("关闭"))
250
+ C(g("关闭"))
247
251
  ])),
248
252
  _: 1
249
253
  })
250
254
  ])
251
255
  ]),
252
256
  default: t(() => [
253
- o(a(ve), {
257
+ o(a(be), {
254
258
  ref_key: "batchSearchFormRef",
255
- ref: _,
259
+ ref: I,
256
260
  model: s.value,
257
- rules: M
261
+ rules: Z
258
262
  }, {
259
263
  default: t(() => [
260
- o(a(R), { class: "row-class" }, {
264
+ o(a(L), { class: "row-class" }, {
261
265
  default: t(() => [
262
- o(a(W), { prop: "searchType" }, {
266
+ o(a(R), { prop: "searchType" }, {
263
267
  default: t(() => [
264
- a(B) ? (n(), p(a(V), {
268
+ a(B) ? (n(), d(a(V), {
265
269
  key: 0,
266
270
  modelValue: s.value.searchType,
267
271
  "onUpdate:modelValue": l[4] || (l[4] = (e) => s.value.searchType = e),
@@ -269,14 +273,14 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
269
273
  style: { width: "100px", "background-color": "white" }
270
274
  }, {
271
275
  default: t(() => [
272
- (n(!0), y(C, null, b(a(F), (e) => (n(), p(a(k), {
276
+ (n(!0), y(b, null, S(a(M) ? a(O) : a(Q), (e) => (n(), d(a(k), {
273
277
  key: e.label,
274
278
  label: e.label,
275
279
  value: e.value
276
280
  }, null, 8, ["label", "value"]))), 128))
277
281
  ]),
278
282
  _: 1
279
- }, 8, ["modelValue"])) : (n(), p(a(V), {
283
+ }, 8, ["modelValue"])) : (n(), d(a(V), {
280
284
  key: 1,
281
285
  modelValue: s.value.searchType,
282
286
  "onUpdate:modelValue": l[5] || (l[5] = (e) => s.value.searchType = e),
@@ -285,7 +289,7 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
285
289
  disabled: ""
286
290
  }, {
287
291
  default: t(() => [
288
- (n(), y(C, null, b(K, (e) => o(a(k), {
292
+ (n(), y(b, null, S(_, (e) => o(a(k), {
289
293
  key: e.label,
290
294
  label: e.label,
291
295
  value: e.value
@@ -299,20 +303,20 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
299
303
  ]),
300
304
  _: 1
301
305
  }),
302
- o(a(R), { class: "row-class" }, {
306
+ o(a(L), { class: "row-class" }, {
303
307
  default: t(() => [
304
- o(a(W), {
308
+ o(a(R), {
305
309
  prop: "searchContent",
306
310
  style: { width: "100%" }
307
311
  }, {
308
312
  default: t(() => [
309
- o(a(L), {
313
+ o(a(U), {
310
314
  modelValue: s.value.searchContent,
311
315
  "onUpdate:modelValue": l[6] || (l[6] = (e) => s.value.searchContent = e),
312
316
  placeholder: "请输入批量查询内容,从EXCEL复制可自动替换为`,`",
313
317
  type: "textarea",
314
318
  rows: 5,
315
- onPaste: ae
319
+ onPaste: oe
316
320
  }, null, 8, ["modelValue"])
317
321
  ]),
318
322
  _: 1
@@ -332,5 +336,5 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
332
336
  }
333
337
  });
334
338
  export {
335
- qe as default
339
+ Ye as default
336
340
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as re, toRefs as ie, ref as v, computed as ce, watch as fe, onMounted as de, nextTick as L, resolveComponent as K, createElementBlock as V, openBlock as p, createVNode as b, withCtx as q, unref as s, createCommentVNode as z, normalizeStyle as ve, toDisplayString as F, Fragment as me, renderList as pe, createBlock as ge, createTextVNode as M } from "vue";
1
+ import { defineComponent as re, toRefs as ie, ref as v, computed as ce, watch as fe, onMounted as de, nextTick as L, resolveComponent as K, createElementBlock as b, openBlock as p, createVNode as C, withCtx as q, unref as s, createCommentVNode as z, normalizeStyle as ve, toDisplayString as F, Fragment as me, renderList as pe, createBlock as ge, createTextVNode as M } from "vue";
2
2
  import l from "../_virtual/lodash.js";
3
3
  import ye from "./left-condition-sub.vue.js";
4
4
  import { stylesUtils as he } from "../utils/style.js";
@@ -35,7 +35,7 @@ const ke = { class: "yahee-left-condition" }, Ne = {
35
35
  setup(O, { expose: Y, emit: j }) {
36
36
  const G = O, {
37
37
  multiSelectList: w,
38
- displayRangeInput: C,
38
+ displayRangeInput: R,
39
39
  selectList: g,
40
40
  hasNum: H,
41
41
  allIsEmpty: Q,
@@ -46,15 +46,15 @@ const ke = { class: "yahee-left-condition" }, Ne = {
46
46
  rangeEndKey: i,
47
47
  noNeedRefreshNumFilterName: $,
48
48
  defaultValues: h,
49
- totalCount: R,
50
- countList: _,
49
+ totalCount: _,
50
+ countList: x,
51
51
  showTotal: Z
52
- } = ie(G), x = j, E = v(R.value), f = v(), d = v(), T = v(_.value), u = /* @__PURE__ */ new Map(), c = v(!0), m = v([]), k = () => {
52
+ } = ie(G), E = j, A = v(_.value), f = v(), d = v(), T = v(x.value), u = /* @__PURE__ */ new Map(), c = v(!0), m = v([]), k = () => {
53
53
  console.log("left condition notifyParent start"), L(() => {
54
- var o, S;
54
+ var o, V;
55
55
  const e = N(), t = ue();
56
56
  if (l.isEmpty(e) && l.isEmpty(t)) {
57
- I();
57
+ S();
58
58
  return;
59
59
  }
60
60
  const a = [
@@ -63,20 +63,20 @@ const ke = { class: "yahee-left-condition" }, Ne = {
63
63
  checkedValues: l.map(e, (n) => n.value)
64
64
  }
65
65
  ];
66
- C.value && (a.push({
66
+ R.value && (a.push({
67
67
  filterKey: r.value,
68
68
  checkedValues: [(o = u.get(r.value)) == null ? void 0 : o.value]
69
69
  }), a.push({
70
70
  filterKey: i.value,
71
- checkedValues: [(S = u.get(i.value)) == null ? void 0 : S.value]
72
- })), x("filterChange", a), console.log(
71
+ checkedValues: [(V = u.get(i.value)) == null ? void 0 : V.value]
72
+ })), E("filterChange", a), console.log(
73
73
  `left condition notifyParent nextTick after emit, filterKey: ${y.value}, checkedValues: ${JSON.stringify(l.map(e, (n) => n.value))}`
74
74
  );
75
75
  });
76
76
  }, ee = () => {
77
- x("setNoNeedRefreshNumFilterName");
77
+ E("setNoNeedRefreshNumFilterName");
78
78
  }, U = () => {
79
- B(), A({ label: r.value, selected: !0, value: f.value }), A({ label: i.value, selected: !0, value: d.value });
79
+ I(), B({ label: r.value, selected: !0, value: f.value }), B({ label: i.value, selected: !0, value: d.value });
80
80
  }, te = () => {
81
81
  const e = u.get(r.value);
82
82
  l.isEmpty(e) && !f.value || l.get(e, "value") === f.value || (U(), k());
@@ -84,7 +84,7 @@ const ke = { class: "yahee-left-condition" }, Ne = {
84
84
  const e = u.get(i.value);
85
85
  l.isEmpty(e) && !d.value || l.get(e, "value") === d.value || (U(), k());
86
86
  };
87
- function A(e) {
87
+ function B(e) {
88
88
  console.log(`left condition setSelectedStatusMap start, item: ${JSON.stringify(e)}`), u.set(e.label, {
89
89
  selected: e.selected,
90
90
  value: e.value
@@ -93,7 +93,7 @@ const ke = { class: "yahee-left-condition" }, Ne = {
93
93
  function P(e) {
94
94
  return l.includes(w.value, e.value);
95
95
  }
96
- function B() {
96
+ function I() {
97
97
  const e = l.map(N(), (t) => t.value);
98
98
  u.clear(), l.forEach(m.value, (t) => {
99
99
  l.includes(e, t.getValue().value) && t.resetValue();
@@ -103,7 +103,7 @@ const ke = { class: "yahee-left-condition" }, Ne = {
103
103
  const e = l.map(N(), (t) => t.value);
104
104
  u.clear(), l.forEach(m.value, (t) => {
105
105
  l.includes(e, t.getValue().value) && t.resetValue();
106
- }), c.value = !0;
106
+ }), c.value = !0, S();
107
107
  }
108
108
  const N = () => {
109
109
  const e = l.filter(
@@ -122,25 +122,25 @@ const ke = { class: "yahee-left-condition" }, Ne = {
122
122
  }, se = ce(() => l.sortBy(g.value, (e) => P(e))), D = () => {
123
123
  f.value = void 0, d.value = void 0, u.delete(r.value), u.delete(i.value);
124
124
  };
125
- function I() {
126
- B(), L(() => {
125
+ function S() {
126
+ I(), L(() => {
127
127
  console.log("selectList.value:", g.value), c.value = !0;
128
128
  const e = g.value.filter((a) => !P(a)), t = l.map(e, (a) => a.value);
129
- x("filterChange", [
129
+ E("filterChange", [
130
130
  {
131
131
  filterKey: y.value,
132
132
  checkedValues: Q.value ? [] : t
133
133
  }
134
134
  ]);
135
- }), C.value && D();
135
+ }), R.value && D();
136
136
  }
137
137
  return fe(
138
- [() => R.value, () => _.value],
138
+ [() => _.value, () => x.value],
139
139
  ([e, t], [a, o]) => {
140
- console.log(e, t), console.log(a, o), (!$.value || !l.eq($.value, y.value)) && (E.value = R.value, T.value = _.value);
140
+ console.log(e, t), console.log(a, o), (!$.value || !l.eq($.value, y.value)) && (A.value = _.value, T.value = x.value);
141
141
  }
142
142
  ), Y({
143
- clickAllSelected: I,
143
+ clickAllSelected: S,
144
144
  resetAllCheckedValueAndSelectAll: ae
145
145
  }), de(() => {
146
146
  if (!Array.isArray(h.value) || l.isEmpty(h.value)) {
@@ -153,19 +153,19 @@ const ke = { class: "yahee-left-condition" }, Ne = {
153
153
  }), k();
154
154
  });
155
155
  }), (e, t) => {
156
- const a = K("el-input-number"), o = K("el-form-item"), S = K("el-form");
157
- return p(), V("div", ke, [
158
- b(S, null, {
156
+ const a = K("el-input-number"), o = K("el-form-item"), V = K("el-form");
157
+ return p(), b("div", ke, [
158
+ C(V, null, {
159
159
  default: q(() => [
160
- b(o, { label: s(X) }, {
160
+ C(o, { label: s(X) }, {
161
161
  default: q(() => [
162
- s(Z) ? (p(), V("span", {
162
+ s(Z) ? (p(), b("span", {
163
163
  key: 0,
164
164
  class: "el-button custom-button el-button--small",
165
165
  style: ve(s(he).getBackgroundColor(c.value)),
166
- onClick: I
167
- }, F(E.value ? `${s(J)("全部")}(${E.value})` : s(J)("全部")), 5)) : z("", !0),
168
- (p(!0), V(me, null, pe(se.value, (n, oe) => (p(), ge(ye, {
166
+ onClick: S
167
+ }, F(A.value ? `${s(J)("全部")}(${A.value})` : s(J)("全部")), 5)) : z("", !0),
168
+ (p(!0), b(me, null, pe(se.value, (n, oe) => (p(), ge(ye, {
169
169
  key: oe,
170
170
  ref_for: !0,
171
171
  ref_key: "itemRefs",
@@ -176,16 +176,16 @@ const ke = { class: "yahee-left-condition" }, Ne = {
176
176
  "count-list": T.value,
177
177
  item: n,
178
178
  "has-num": s(H),
179
- onResetAllCheckedValue: B,
180
- onSetSelectedStatusMap: A,
179
+ onResetAllCheckedValue: I,
180
+ onSetSelectedStatusMap: B,
181
181
  onResetRange: D,
182
182
  onSetNoNeedRefreshNumFilterName: ee,
183
183
  onNotifyParent: k,
184
184
  onResetIsSelectAll: ne
185
185
  }, null, 8, ["all-is-checkbox", "multi-select-list", "translate-user-id", "count-list", "item", "has-num"]))), 128)),
186
- s(C) ? (p(), V("div", Ne, [
186
+ s(R) ? (p(), b("div", Ne, [
187
187
  M(F(e.rangeLabel) + "  ", 1),
188
- b(a, {
188
+ C(a, {
189
189
  modelValue: f.value,
190
190
  "onUpdate:modelValue": t[0] || (t[0] = (n) => f.value = n),
191
191
  style: { "margin-left": "2px", width: "60px", height: "22px" },
@@ -197,7 +197,7 @@ const ke = { class: "yahee-left-condition" }, Ne = {
197
197
  onBlur: te
198
198
  }, null, 8, ["modelValue"]),
199
199
  M("   %   " + F(e.rangeDelimiter) + "   ", 1),
200
- b(a, {
200
+ C(a, {
201
201
  modelValue: d.value,
202
202
  "onUpdate:modelValue": t[1] || (t[1] = (n) => d.value = n),
203
203
  style: { width: "60px", height: "22px" },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yahee-components",
3
3
  "private": false,
4
- "version": "0.0.61",
4
+ "version": "0.0.63",
5
5
  "description": "深圳前海亚讯前端组件库",
6
6
  "main": "lib",
7
7
  "module": "es",
@@ -50,6 +50,8 @@ export interface ComplexSearchProps {
50
50
  * default: {}
51
51
  */
52
52
  searchItem?: SearchItem;
53
+ isBatchSelectOptionsSameWithInput?: boolean;
54
+ batchOptions?: SearchOptions[];
53
55
  }
54
56
  export declare function defaultComplexSearchProps(): {
55
57
  defaultSearch: string;