@solar-taro/ui-vant 2.8.7 → 2.8.9

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 2.8.8 (2026-06-30)
2
+
3
+ This was a version bump only for ui-vant to align it with other projects, there were no code changes.
4
+
5
+ ## 2.8.7 (2026-06-25)
6
+
7
+ This was a version bump only for ui-vant to align it with other projects, there were no code changes.
8
+
1
9
  ## 2.8.6 (2026-06-24)
2
10
 
3
11
  ### 🩹 Fixes
package/index10.js CHANGED
@@ -5,7 +5,7 @@ import { createReusableTemplate as $e } from "./index25.js";
5
5
  import we from "./index7.js";
6
6
  import Se from "./index6.js";
7
7
  import P from "./index26.js";
8
- const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n = ie, B = ue, y = de, A = pe, Te = ce, U = fe, G = ve, D = me, b = ye, W = he, Be = ["label", "placeholder", "required", "disabled"], Ke = {
8
+ const d = x, T = ee, D = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n = ie, B = ue, y = de, A = pe, Te = ce, U = fe, G = ve, W = me, b = ye, q = he, Be = ["label", "placeholder", "required", "disabled"], Ke = {
9
9
  key: 0,
10
10
  name: "input",
11
11
  class: "sun-selector-input"
@@ -35,7 +35,7 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
35
35
  },
36
36
  emits: ["update:modelValue", "select", "unselect", "clear", "close", "confirm", "refresh"],
37
37
  setup(K, { expose: C, emit: H }) {
38
- const [J, q] = $e(), o = K, p = H, g = I(!1), k = I(!1), Q = v(() => o.searcher || ((e, t) => e[o.labelKey].toLowerCase().includes(t))), { keyword: O, filteredList: z } = be(() => o.options, Q.value), V = v(() => {
38
+ const [J, O] = $e(), o = K, p = H, g = I(!1), k = I(!1), Q = v(() => o.searcher || ((e, t) => e[o.labelKey].toLowerCase().includes(t))), { keyword: z, filteredList: N } = be(() => o.options, Q.value), V = v(() => {
39
39
  var e;
40
40
  if (c.value) {
41
41
  const t = o.options.find(
@@ -46,7 +46,7 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
46
46
  return ((e = o.modelValue) != null ? e : []).map(
47
47
  (t) => o.options.find((s) => o.compareWith(s[o.valueKey], t))
48
48
  ).filter(Boolean);
49
- }), N = v(() => V.value.map((e) => e[o.labelKey]).join(o.delimiter)), $ = v(() => !Y(o.modelValue) && o.clearable), c = v(() => o.mode === "single"), X = v(() => {
49
+ }), L = v(() => V.value.map((e) => e[o.labelKey]).join(o.delimiter)), $ = v(() => !Y(o.modelValue) && o.clearable), c = v(() => o.mode === "single"), X = v(() => {
50
50
  var s, l;
51
51
  let e, t = 47;
52
52
  return typeof o.virtual != "boolean" && (s = o.virtual) != null && s.itemSize && (t = (l = o.virtual) == null ? void 0 : l.itemSize), { id: e, itemSize: t };
@@ -90,13 +90,14 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
90
90
  }
91
91
  return C({
92
92
  present: w,
93
- clear: S
93
+ clear: S,
94
+ keyword: z
94
95
  }), (e, t) => {
95
96
  const s = Te("readonly");
96
97
  return a(), i(h, null, [
97
98
  d(e.$slots, "default", {
98
99
  present: w,
99
- label: N.value,
100
+ label: L.value,
100
101
  selectedOptions: V.value
101
102
  }, () => [
102
103
  e.type === "field" ? U((a(), i("van-field", A({ key: 0 }, e.$attrs, {
@@ -109,13 +110,13 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
109
110
  }), [
110
111
  V.value.length ? (a(), i("slot-view", Ke, [
111
112
  c.value ? (a(), i(h, { key: 0 }, [
112
- L(T(N.value), 1)
113
+ D(T(L.value), 1)
113
114
  ], 64)) : (a(!0), i(h, { key: 1 }, j(V.value, (l) => (a(), B(r(ge), {
114
115
  color: "medium",
115
116
  type: "translucent"
116
117
  }, {
117
118
  default: n(() => [
118
- L(T(l[e.labelKey]), 1)
119
+ D(T(l[e.labelKey]), 1)
119
120
  ]),
120
121
  _: 2
121
122
  }, 1024))), 256))
@@ -134,7 +135,7 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
134
135
  ]) : e.type === "search" ? U((a(), i("van-search", A({ key: 1 }, e.$attrs, {
135
136
  class: "sun-selector",
136
137
  label: e.label,
137
- value: N.value,
138
+ value: L.value,
138
139
  placeholder: e.placeholder,
139
140
  "use-right-icon-slot": $.value,
140
141
  shape: "round",
@@ -162,7 +163,7 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
162
163
  "onUpdate:show": t[9] || (t[9] = (l) => g.value = l),
163
164
  title: e.placeholder,
164
165
  "show-buttons": !c.value
165
- }, D({
166
+ }, W({
166
167
  buttons: n(() => [
167
168
  d(e.$slots, "buttons", { confirm: E }, () => [
168
169
  c.value ? m("", !0) : (a(), i("van-button", {
@@ -180,9 +181,9 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
180
181
  key: 0,
181
182
  shape: "round",
182
183
  "input-align": "center",
183
- value: r(O),
184
+ value: r(z),
184
185
  placeholder: "输入关键字搜索",
185
- onChange: t[5] || (t[5] = (l) => O.value = l.detail.trim())
186
+ onChange: t[5] || (t[5] = (l) => z.value = l.detail.trim())
186
187
  }, null, 40, Le)) : m("", !0)
187
188
  ]),
188
189
  b(r(J), null, {
@@ -193,10 +194,10 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
193
194
  class: "sun-selector-options",
194
195
  refresher: e.refresher,
195
196
  refreshing: e.refreshing,
196
- items: r(z),
197
+ items: r(N),
197
198
  "item-size": X.value.itemSize,
198
199
  "item-key": e.valueKey,
199
- style: W({ height: e.height }),
200
+ style: q({ height: e.height }),
200
201
  onRefresh: t[6] || (t[6] = (l) => p("refresh"))
201
202
  }, {
202
203
  default: n(({ item: l, index: f }) => [
@@ -204,7 +205,7 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
204
205
  class: G(["sun-selector-option", { "sun-selector-option-active": u(l) }]),
205
206
  clickable: !0,
206
207
  onTap: (Z) => F(l)
207
- }, D({
208
+ }, W({
208
209
  start: n(() => [
209
210
  d(e.$slots, "option-start", {
210
211
  option: l,
@@ -225,7 +226,7 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
225
226
  index: f,
226
227
  active: u(l)
227
228
  }, () => [
228
- L(T(l[e.labelKey]), 1)
229
+ D(T(l[e.labelKey]), 1)
229
230
  ])
230
231
  ]),
231
232
  _: 2
@@ -245,26 +246,26 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
245
246
  _: 3
246
247
  }, 8, ["refresher", "refreshing", "items", "item-size", "item-key", "style"])) : (a(), i("view", {
247
248
  key: 1,
248
- style: W({ height: e.height })
249
+ style: q({ height: e.height })
249
250
  }, null, 4))
250
251
  ], 64)) : (a(), B(r(Se), {
251
252
  key: 1,
252
253
  class: "sun-selector-options",
253
254
  refresher: e.refresher,
254
255
  refreshing: e.refreshing,
255
- data: r(z),
256
+ data: r(N),
256
257
  loading: e.loading,
257
258
  "empty-type": "search",
258
- style: W({ height: e.height }),
259
+ style: q({ height: e.height }),
259
260
  onRefresh: t[7] || (t[7] = (l) => p("refresh"))
260
261
  }, {
261
262
  default: n(() => [
262
- (a(!0), i(h, null, j(r(z), (l, f) => (a(), B(r(M), {
263
+ (a(!0), i(h, null, j(r(N), (l, f) => (a(), B(r(M), {
263
264
  key: l[e.valueKey],
264
265
  class: G(["sun-selector-option", { "sun-selector-option-active": u(l) }]),
265
266
  clickable: !0,
266
267
  onTap: (Z) => F(l)
267
- }, D({
268
+ }, W({
268
269
  start: n(() => [
269
270
  d(e.$slots, "option-start", {
270
271
  option: l,
@@ -308,8 +309,8 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
308
309
  ]),
309
310
  _: 3
310
311
  }),
311
- d(e.$slots, "list", { ListTemplate: r(q) }, () => [
312
- b(r(q))
312
+ d(e.$slots, "list", { ListTemplate: r(O) }, () => [
313
+ b(r(O))
313
314
  ])
314
315
  ]),
315
316
  _: 2
package/index118.js CHANGED
@@ -1,8 +1,8 @@
1
- import p from "./index127.js";
2
- import a from "./index128.js";
3
- import l from "./index129.js";
4
- import s from "./index130.js";
5
- import m from "./index131.js";
1
+ import p from "./index128.js";
2
+ import a from "./index129.js";
3
+ import l from "./index130.js";
4
+ import s from "./index131.js";
5
+ import m from "./index132.js";
6
6
  function t(o) {
7
7
  var e = -1, h = o == null ? 0 : o.length;
8
8
  for (this.clear(); ++e < h; ) {
package/index119.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from "./index132.js";
1
+ import e from "./index127.js";
2
2
  function n(r, a) {
3
3
  var t = r.__data__;
4
4
  return e(a) ? t[typeof a == "string" ? "string" : "hash"] : t.map;
package/index127.js CHANGED
@@ -1,6 +1,6 @@
1
- import t from "./index134.js";
2
- function e() {
3
- this.__data__ = t ? t(null) : {}, this.size = 0;
1
+ function e(t) {
2
+ var o = typeof t;
3
+ return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? t !== "__proto__" : t === null;
4
4
  }
5
5
  export {
6
6
  e as default
package/index128.js CHANGED
@@ -1,7 +1,7 @@
1
- function s(t) {
2
- var e = this.has(t) && delete this.__data__[t];
3
- return this.size -= e ? 1 : 0, e;
1
+ import t from "./index134.js";
2
+ function e() {
3
+ this.__data__ = t ? t(null) : {}, this.size = 0;
4
4
  }
5
5
  export {
6
- s as default
6
+ e as default
7
7
  };
package/index129.js CHANGED
@@ -1,13 +1,7 @@
1
- import e from "./index134.js";
2
- var n = "__lodash_hash_undefined__", o = Object.prototype, _ = o.hasOwnProperty;
3
- function h(a) {
4
- var r = this.__data__;
5
- if (e) {
6
- var t = r[a];
7
- return t === n ? void 0 : t;
8
- }
9
- return _.call(r, a) ? r[a] : void 0;
1
+ function s(t) {
2
+ var e = this.has(t) && delete this.__data__[t];
3
+ return this.size -= e ? 1 : 0, e;
10
4
  }
11
5
  export {
12
- h as default
6
+ s as default
13
7
  };
package/index130.js CHANGED
@@ -1,9 +1,13 @@
1
- import r from "./index134.js";
2
- var e = Object.prototype, o = e.hasOwnProperty;
3
- function p(t) {
4
- var a = this.__data__;
5
- return r ? a[t] !== void 0 : o.call(a, t);
1
+ import e from "./index134.js";
2
+ var n = "__lodash_hash_undefined__", o = Object.prototype, _ = o.hasOwnProperty;
3
+ function h(a) {
4
+ var r = this.__data__;
5
+ if (e) {
6
+ var t = r[a];
7
+ return t === n ? void 0 : t;
8
+ }
9
+ return _.call(r, a) ? r[a] : void 0;
6
10
  }
7
11
  export {
8
- p as default
12
+ h as default
9
13
  };
package/index131.js CHANGED
@@ -1,9 +1,9 @@
1
- import e from "./index134.js";
2
- var h = "__lodash_hash_undefined__";
3
- function s(t, a) {
4
- var _ = this.__data__;
5
- return this.size += this.has(t) ? 0 : 1, _[t] = e && a === void 0 ? h : a, this;
1
+ import r from "./index134.js";
2
+ var e = Object.prototype, o = e.hasOwnProperty;
3
+ function p(t) {
4
+ var a = this.__data__;
5
+ return r ? a[t] !== void 0 : o.call(a, t);
6
6
  }
7
7
  export {
8
- s as default
8
+ p as default
9
9
  };
package/index132.js CHANGED
@@ -1,7 +1,9 @@
1
- function e(t) {
2
- var o = typeof t;
3
- return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? t !== "__proto__" : t === null;
1
+ import e from "./index134.js";
2
+ var h = "__lodash_hash_undefined__";
3
+ function s(t, a) {
4
+ var _ = this.__data__;
5
+ return this.size += this.has(t) ? 0 : 1, _[t] = e && a === void 0 ? h : a, this;
4
6
  }
5
7
  export {
6
- e as default
8
+ s as default
7
9
  };
package/index16.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index4.js";
1
+ import f from "./index5.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index17.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index18.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.js";
1
+ import f from "./index7.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index19.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index5.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index20.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.js";
1
+ import f from "./index4.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index21.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index7.js";
1
+ import f from "./index3.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index22.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index9.js";
1
+ import f from "./index10.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index23.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index10.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-vant",
3
- "version": "2.8.7",
3
+ "version": "2.8.9",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -35,6 +35,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
35
35
  expose(exposed: import('vue').ShallowUnwrapRef<{
36
36
  present: () => void;
37
37
  clear: () => void;
38
+ keyword: import('vue').Ref<string, string>;
38
39
  }>): void;
39
40
  attrs: any;
40
41
  slots: {