@solar-taro/ui-vant 2.5.2 → 2.6.0

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,23 @@
1
+ ## 2.5.3 (2026-01-24)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **ui-vant/selector:** add button visibility control for modal based on selection mode
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - HyperLife1119
10
+
11
+ ## 2.5.2 (2026-01-21)
12
+
13
+ ### 🩹 Fixes
14
+
15
+ - **ui-vant/cascader:** fix bug
16
+
17
+ ### ❤️ Thank You
18
+
19
+ - HyperLife1119
20
+
1
21
  ## 2.5.1 (2026-01-12)
2
22
 
3
23
  ### 🚀 Features
package/index10.js CHANGED
@@ -1,13 +1,13 @@
1
- import { defineComponent as J, ref as F, computed as m, renderSlot as Q, openBlock as X, createElementBlock as Y, createCommentVNode as Z, mergeProps as _, resolveDirective as x, withDirectives as ee, createElementVNode as le, unref as te, toDisplayString as oe, createTextVNode as re, normalizeClass as ae, withCtx as ne, createSlots as se, createVNode as ie, normalizeStyle as ue, createBlock as de, Fragment as pe, renderList as ce } from "vue";
1
+ import { defineComponent as J, ref as F, computed as m, renderSlot as Q, openBlock as X, createElementBlock as Y, createCommentVNode as Z, mergeProps as _, resolveDirective as x, withDirectives as ee, createElementVNode as le, unref as te, toDisplayString as oe, createTextVNode as se, normalizeClass as ae, withCtx as ne, createSlots as re, createVNode as ie, normalizeStyle as ue, createBlock as de, Fragment as pe, renderList as ce } from "vue";
2
2
  import { useFilterList as fe } from "@solar-taro/core";
3
3
  import { SunLazyRender as ve, SunVirtualScroll as me, SunItem as O } from "@solar-taro/ui-sun";
4
4
  import B from "./index25.js";
5
- import ye from "./index7.js";
6
- import he from "./index6.js";
7
- const d = Q, a = X, i = Y, f = Z, R = _, be = x, I = ee, V = le, p = te, M = oe, ge = re, P = ae, n = ne, C = se, z = ie, T = ue, N = de, W = pe, ke = ce, Ve = ["label", "value", "placeholder", "required", "disabled"], $e = {
5
+ import he from "./index7.js";
6
+ import ye from "./index6.js";
7
+ const d = Q, a = X, i = Y, v = Z, R = _, be = x, I = ee, V = le, p = te, M = oe, ge = se, P = ae, n = ne, C = re, z = ie, T = ue, N = de, W = pe, ke = ce, Ve = ["label", "value", "placeholder", "required", "disabled"], $e = {
8
8
  key: 1,
9
9
  name: "right-icon"
10
- }, Se = ["label", "value", "placeholder", "use-right-icon-slot", "disabled"], we = {
10
+ }, we = ["label", "value", "placeholder", "use-right-icon-slot", "disabled"], Se = {
11
11
  key: 1,
12
12
  name: "right-icon"
13
13
  }, Ke = ["value"], Be = { class: "sun-selector-option-label" }, De = /* @__PURE__ */ J({
@@ -32,71 +32,71 @@ const d = Q, a = X, i = Y, f = Z, R = _, be = x, I = ee, V = le, p = te, M = oe,
32
32
  virtual: { type: [Boolean, Object] },
33
33
  refresher: { type: Boolean },
34
34
  refreshing: { type: Boolean },
35
- compareWith: { type: Function, default: ($, S) => $ === S }
35
+ compareWith: { type: Function, default: ($, w) => $ === w }
36
36
  },
37
37
  emits: ["update:modelValue", "select", "unselect", "clear", "close", "confirm", "refresh"],
38
- setup($, { expose: S, emit: j }) {
39
- const o = $, u = j, y = F(!1), h = F(!1), A = m(() => o.searcher || ((e, l) => e[o.labelKey].toLowerCase().includes(l))), { keyword: q, filteredList: w } = fe(() => o.options, A.value), K = m(() => {
38
+ setup($, { expose: w, emit: j }) {
39
+ const o = $, u = j, h = F(!1), y = F(!1), A = m(() => o.searcher || ((e, l) => e[o.labelKey].toLowerCase().includes(l))), { keyword: q, filteredList: S } = fe(() => o.options, A.value), K = m(() => {
40
40
  var e;
41
- if (v.value) {
41
+ if (c.value) {
42
42
  const l = B(o.modelValue) ? null : o.options.find(
43
- (r) => o.compareWith(r[o.valueKey], o.modelValue)
43
+ (s) => o.compareWith(s[o.valueKey], o.modelValue)
44
44
  );
45
45
  return (l == null ? void 0 : l[o.labelKey]) || "";
46
46
  }
47
47
  return (e = o.modelValue) == null ? void 0 : e.map(
48
48
  (l) => {
49
- var r;
50
- return ((r = o.options.find((t) => o.compareWith(t[o.valueKey], l))) == null ? void 0 : r[o.labelKey]) || "";
49
+ var s;
50
+ return ((s = o.options.find((t) => o.compareWith(t[o.valueKey], l))) == null ? void 0 : s[o.labelKey]) || "";
51
51
  }
52
52
  ).join(o.delimiter);
53
- }), b = m(() => !G(o.modelValue) && o.clearable), v = m(() => o.mode === "single"), U = m(() => {
54
- var r, t;
53
+ }), b = m(() => !G(o.modelValue) && o.clearable), c = m(() => o.mode === "single"), U = m(() => {
54
+ var s, t;
55
55
  let e, l = 47;
56
- return typeof o.virtual != "boolean" && (r = o.virtual) != null && r.itemSize && (l = (t = o.virtual) == null ? void 0 : t.itemSize), { id: e, itemSize: l };
56
+ return typeof o.virtual != "boolean" && (s = o.virtual) != null && s.itemSize && (l = (t = o.virtual) == null ? void 0 : t.itemSize), { id: e, itemSize: l };
57
57
  });
58
58
  function G(e) {
59
- return B(e) ? !0 : v.value ? !1 : e.length < 1;
59
+ return B(e) ? !0 : c.value ? !1 : e.length < 1;
60
60
  }
61
- function s(e) {
62
- var r;
61
+ function r(e) {
62
+ var s;
63
63
  const l = e[o.valueKey];
64
- return v.value ? B(o.modelValue) ? !1 : o.compareWith(o.modelValue, l) : ((r = o.modelValue) == null ? void 0 : r.some((t) => o.compareWith(t, l))) || !1;
64
+ return c.value ? B(o.modelValue) ? !1 : o.compareWith(o.modelValue, l) : ((s = o.modelValue) == null ? void 0 : s.some((t) => o.compareWith(t, l))) || !1;
65
65
  }
66
66
  function g() {
67
- o.disabled || (y.value = !0, h.value || setTimeout(() => {
68
- h.value = !0;
67
+ o.disabled || (h.value = !0, y.value || setTimeout(() => {
68
+ y.value = !0;
69
69
  }, 300));
70
70
  }
71
71
  function D() {
72
- y.value = !1, u("close");
72
+ h.value = !1, u("close");
73
73
  }
74
74
  function L() {
75
75
  var l;
76
76
  const e = ((l = o.modelValue) == null ? void 0 : l.map(
77
- (r) => o.options.find(
78
- (t) => o.compareWith(t[o.valueKey], r)
77
+ (s) => o.options.find(
78
+ (t) => o.compareWith(t[o.valueKey], s)
79
79
  )
80
80
  )) || [];
81
81
  u("confirm", e), D();
82
82
  }
83
83
  function E(e) {
84
84
  const l = e[o.valueKey];
85
- let r = o.modelValue;
86
- v.value ? (s(e) ? o.required || (u("unselect", e), r = null) : (u("select", e), r = l), D()) : s(e) ? (u("unselect", e), r = o.modelValue.filter(
85
+ let s = o.modelValue;
86
+ c.value ? (r(e) ? o.required || (u("unselect", e), s = null) : (u("select", e), s = l), D()) : r(e) ? (u("unselect", e), s = o.modelValue.filter(
87
87
  (t) => !o.compareWith(t, l)
88
- )) : (u("select", e), r = (o.modelValue || []).concat(
88
+ )) : (u("select", e), s = (o.modelValue || []).concat(
89
89
  e[o.valueKey]
90
- )), u("update:modelValue", r);
90
+ )), u("update:modelValue", s);
91
91
  }
92
92
  function k() {
93
- u("clear", o.modelValue), u("update:modelValue", o.required && !v.value ? [] : null);
93
+ u("clear", o.modelValue), u("update:modelValue", o.required && !c.value ? [] : null);
94
94
  }
95
- return S({
95
+ return w({
96
96
  present: g,
97
97
  clear: k
98
98
  }), (e, l) => {
99
- const r = be("readonly");
99
+ const s = be("readonly");
100
100
  return a(), i(W, null, [
101
101
  d(e.$slots, "default", {
102
102
  present: g,
@@ -117,12 +117,12 @@ const d = Q, a = X, i = Y, f = Z, R = _, be = x, I = ee, V = le, p = te, M = oe,
117
117
  class: "sun-selector-clear-icon",
118
118
  name: "clear",
119
119
  onTap: l[0] || (l[0] = (t) => k())
120
- }, null, 32)) : f("", !0),
120
+ }, null, 32)) : v("", !0),
121
121
  e.$slots.end ? (a(), i("slot-view", $e, [
122
122
  d(e.$slots, "end")
123
- ])) : f("", !0)
123
+ ])) : v("", !0)
124
124
  ], 16, Ve)), [
125
- [r]
125
+ [s]
126
126
  ]) : e.type === "search" ? I((a(), i("van-search", R({ key: 1 }, e.$attrs, {
127
127
  class: "sun-selector",
128
128
  label: e.label,
@@ -140,24 +140,25 @@ const d = Q, a = X, i = Y, f = Z, R = _, be = x, I = ee, V = le, p = te, M = oe,
140
140
  class: "sun-selector-clear-icon",
141
141
  name: "clear",
142
142
  onTap: l[2] || (l[2] = (t) => k())
143
- }, null, 32)) : f("", !0),
144
- e.$slots.end ? (a(), i("slot-view", we, [
143
+ }, null, 32)) : v("", !0),
144
+ e.$slots.end ? (a(), i("slot-view", Se, [
145
145
  d(e.$slots, "end")
146
- ])) : f("", !0)
147
- ], 16, Se)), [
148
- [r]
149
- ]) : f("", !0)
146
+ ])) : v("", !0)
147
+ ], 16, we)), [
148
+ [s]
149
+ ]) : v("", !0)
150
150
  ]),
151
151
  z(p(ve), { hook: "created" }, {
152
152
  default: n(() => [
153
- z(p(ye), {
154
- show: y.value,
155
- "onUpdate:show": l[9] || (l[9] = (t) => y.value = t),
156
- title: e.placeholder
153
+ z(p(he), {
154
+ show: h.value,
155
+ "onUpdate:show": l[9] || (l[9] = (t) => h.value = t),
156
+ title: e.placeholder,
157
+ "show-buttons": !c.value
157
158
  }, C({
158
159
  buttons: n(() => [
159
160
  d(e.$slots, "buttons", { confirm: L }, () => [
160
- v.value ? f("", !0) : (a(), i("van-button", {
161
+ c.value ? v("", !0) : (a(), i("van-button", {
161
162
  key: 0,
162
163
  type: "primary",
163
164
  round: "true",
@@ -167,7 +168,7 @@ const d = Q, a = X, i = Y, f = Z, R = _, be = x, I = ee, V = le, p = te, M = oe,
167
168
  ])
168
169
  ]),
169
170
  default: n(() => [
170
- d(e.$slots, "filter", { rendered: h.value }, () => [
171
+ d(e.$slots, "filter", { rendered: y.value }, () => [
171
172
  e.searchable ? (a(), i("van-search", {
172
173
  key: 0,
173
174
  shape: "round",
@@ -175,52 +176,52 @@ const d = Q, a = X, i = Y, f = Z, R = _, be = x, I = ee, V = le, p = te, M = oe,
175
176
  value: p(q),
176
177
  placeholder: "输入关键字搜索",
177
178
  onChange: l[5] || (l[5] = (t) => q.value = t.detail.trim())
178
- }, null, 40, Ke)) : f("", !0)
179
+ }, null, 40, Ke)) : v("", !0)
179
180
  ]),
180
181
  e.virtual ? (a(), i(W, { key: 0 }, [
181
- h.value ? (a(), N(p(me), {
182
+ y.value ? (a(), N(p(me), {
182
183
  key: 0,
183
184
  class: "sun-selector-options",
184
185
  refresher: e.refresher,
185
186
  refreshing: e.refreshing,
186
- items: p(w),
187
+ items: p(S),
187
188
  "item-size": U.value.itemSize,
188
189
  "item-key": e.valueKey,
189
190
  style: T({ height: e.height }),
190
191
  onRefresh: l[6] || (l[6] = (t) => u("refresh"))
191
192
  }, {
192
- default: n(({ item: t, index: c }) => [
193
+ default: n(({ item: t, index: f }) => [
193
194
  z(p(O), {
194
- class: P(["sun-selector-option", { "sun-selector-option-active": s(t) }]),
195
+ class: P(["sun-selector-option", { "sun-selector-option-active": r(t) }]),
195
196
  clickable: !0,
196
197
  onTap: (H) => E(t)
197
198
  }, C({
198
199
  start: n(() => [
199
200
  d(e.$slots, "option-start", {
200
201
  option: t,
201
- index: c,
202
- active: s(t)
202
+ index: f,
203
+ active: r(t)
203
204
  })
204
205
  ]),
205
206
  end: n(() => [
206
207
  d(e.$slots, "option-end", {
207
208
  option: t,
208
- index: c,
209
- active: s(t)
209
+ index: f,
210
+ active: r(t)
210
211
  })
211
212
  ]),
212
213
  default: n(() => [
213
214
  d(e.$slots, "option", {
214
215
  option: t,
215
- index: c,
216
- active: s(t)
216
+ index: f,
217
+ active: r(t)
217
218
  }, () => [
218
219
  ge(M(t[e.labelKey]), 1)
219
220
  ])
220
221
  ]),
221
222
  _: 2
222
223
  }, [
223
- s(t) ? {
224
+ r(t) ? {
224
225
  name: "end",
225
226
  fn: n(() => [
226
227
  l[10] || (l[10] = V("van-icon", {
@@ -237,50 +238,50 @@ const d = Q, a = X, i = Y, f = Z, R = _, be = x, I = ee, V = le, p = te, M = oe,
237
238
  key: 1,
238
239
  style: T({ height: e.height })
239
240
  }, null, 4))
240
- ], 64)) : (a(), N(p(he), {
241
+ ], 64)) : (a(), N(p(ye), {
241
242
  key: 1,
242
243
  class: "sun-selector-options",
243
244
  refresher: e.refresher,
244
245
  refreshing: e.refreshing,
245
- data: p(w),
246
+ data: p(S),
246
247
  loading: e.loading,
247
248
  "empty-type": "search",
248
249
  style: T({ height: e.height }),
249
250
  onRefresh: l[7] || (l[7] = (t) => u("refresh"))
250
251
  }, {
251
252
  default: n(() => [
252
- (a(!0), i(W, null, ke(p(w), (t, c) => (a(), N(p(O), {
253
+ (a(!0), i(W, null, ke(p(S), (t, f) => (a(), N(p(O), {
253
254
  key: t[e.valueKey],
254
- class: P(["sun-selector-option", { "sun-selector-option-active": s(t) }]),
255
+ class: P(["sun-selector-option", { "sun-selector-option-active": r(t) }]),
255
256
  clickable: !0,
256
257
  onTap: (H) => E(t)
257
258
  }, C({
258
259
  start: n(() => [
259
260
  d(e.$slots, "option-start", {
260
261
  option: t,
261
- index: c,
262
- active: s(t)
262
+ index: f,
263
+ active: r(t)
263
264
  })
264
265
  ]),
265
266
  end: n(() => [
266
267
  d(e.$slots, "option-end", {
267
268
  option: t,
268
- index: c,
269
- active: s(t)
269
+ index: f,
270
+ active: r(t)
270
271
  })
271
272
  ]),
272
273
  default: n(() => [
273
274
  d(e.$slots, "option", {
274
275
  option: t,
275
- index: c,
276
- active: s(t)
276
+ index: f,
277
+ active: r(t)
277
278
  }, () => [
278
279
  V("view", Be, M(t[e.labelKey]), 1)
279
280
  ])
280
281
  ]),
281
282
  _: 2
282
283
  }, [
283
- s(t) ? {
284
+ r(t) ? {
284
285
  name: "end",
285
286
  fn: n(() => [
286
287
  l[11] || (l[11] = V("van-icon", {
@@ -308,7 +309,7 @@ const d = Q, a = X, i = Y, f = Z, R = _, be = x, I = ee, V = le, p = te, M = oe,
308
309
  ]),
309
310
  key: "0"
310
311
  } : void 0
311
- ]), 1032, ["show", "title"])
312
+ ]), 1032, ["show", "title", "show-buttons"])
312
313
  ]),
313
314
  _: 3
314
315
  })
package/index102.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import r from "./index87.js";
2
- import i from "./index118.js";
2
+ import i from "./index123.js";
3
3
  function f(t, a) {
4
4
  var e = i(t, a);
5
5
  return r(e) ? e : void 0;
package/index103.js CHANGED
@@ -1,8 +1,8 @@
1
- import p from "./index119.js";
2
- import a from "./index120.js";
3
- import i from "./index121.js";
4
- import h from "./index122.js";
5
- import s from "./index123.js";
1
+ import p from "./index118.js";
2
+ import a from "./index119.js";
3
+ import i from "./index120.js";
4
+ import h from "./index121.js";
5
+ import s from "./index122.js";
6
6
  function t(e) {
7
7
  var o = -1, l = e == null ? 0 : e.length;
8
8
  for (this.clear(); ++o < l; ) {
package/index118.js CHANGED
@@ -1,6 +1,6 @@
1
- function u(e, n) {
2
- return e == null ? void 0 : e[n];
1
+ function t() {
2
+ this.__data__ = [], this.size = 0;
3
3
  }
4
4
  export {
5
- u as default
5
+ t as default
6
6
  };
package/index119.js CHANGED
@@ -1,6 +1,12 @@
1
- function t() {
2
- this.__data__ = [], this.size = 0;
1
+ import s from "./index131.js";
2
+ var i = Array.prototype, l = i.splice;
3
+ function n(r) {
4
+ var e = this.__data__, a = s(e, r);
5
+ if (a < 0)
6
+ return !1;
7
+ var t = e.length - 1;
8
+ return a == t ? e.pop() : l.call(e, a, 1), --this.size, !0;
3
9
  }
4
10
  export {
5
- t as default
11
+ n as default
6
12
  };
package/index120.js CHANGED
@@ -1,12 +1,8 @@
1
- import s from "./index131.js";
2
- var i = Array.prototype, l = i.splice;
3
- function n(r) {
4
- var e = this.__data__, a = s(e, r);
5
- if (a < 0)
6
- return !1;
7
- var t = e.length - 1;
8
- return a == t ? e.pop() : l.call(e, a, 1), --this.size, !0;
1
+ import d from "./index131.js";
2
+ function i(e) {
3
+ var t = this.__data__, a = d(t, e);
4
+ return a < 0 ? void 0 : t[a][1];
9
5
  }
10
6
  export {
11
- n as default
7
+ i as default
12
8
  };
package/index121.js CHANGED
@@ -1,8 +1,7 @@
1
- import d from "./index131.js";
2
- function i(e) {
3
- var t = this.__data__, a = d(t, e);
4
- return a < 0 ? void 0 : t[a][1];
1
+ import a from "./index131.js";
2
+ function e(t) {
3
+ return a(this.__data__, t) > -1;
5
4
  }
6
5
  export {
7
- i as default
6
+ e as default
8
7
  };
package/index122.js CHANGED
@@ -1,7 +1,8 @@
1
- import a from "./index131.js";
2
- function e(t) {
3
- return a(this.__data__, t) > -1;
1
+ import e from "./index131.js";
2
+ function d(s, i) {
3
+ var t = this.__data__, a = e(t, s);
4
+ return a < 0 ? (++this.size, t.push([s, i])) : t[a][1] = i, this;
4
5
  }
5
6
  export {
6
- e as default
7
+ d as default
7
8
  };
package/index123.js CHANGED
@@ -1,8 +1,6 @@
1
- import e from "./index131.js";
2
- function d(s, i) {
3
- var t = this.__data__, a = e(t, s);
4
- return a < 0 ? (++this.size, t.push([s, i])) : t[a][1] = i, this;
1
+ function u(e, n) {
2
+ return e == null ? void 0 : e[n];
5
3
  }
6
4
  export {
7
- d as default
5
+ u as default
8
6
  };
package/index16.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.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 "./index4.js";
1
+ import f from "./index3.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index18.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index5.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 "./index9.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index20.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index7.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index21.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index22.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index4.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index26.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import S from "./index60.js";
2
- import L from "./index57.js";
3
- import B from "./index55.js";
2
+ import L from "./index58.js";
3
+ import B from "./index54.js";
4
4
  import I from "./index61.js";
5
5
  import O from "./index62.js";
6
6
  import _ from "./index63.js";
package/index50.js CHANGED
@@ -1,4 +1,4 @@
1
- import a from "./index59.js";
1
+ import a from "./index57.js";
2
2
  import e from "./index80.js";
3
3
  var s = Object.prototype, n = s.hasOwnProperty;
4
4
  function f(r) {
package/index52.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import a from "./index39.js";
2
- import i from "./index59.js";
2
+ import i from "./index57.js";
3
3
  import n from "./index93.js";
4
4
  var e = Object.prototype, p = e.hasOwnProperty;
5
5
  function v(r) {
package/index54.js CHANGED
@@ -1,14 +1,10 @@
1
- import m from "./index55.js";
2
- import t from "./index56.js";
3
- function v(a, f, i, u) {
4
- var d = !i;
5
- i || (i = {});
6
- for (var s = -1, e = f.length; ++s < e; ) {
7
- var n = f[s], r = void 0;
8
- r === void 0 && (r = a[n]), d ? t(i, n, r) : m(i, n, r);
9
- }
10
- return i;
1
+ import t from "./index55.js";
2
+ import i from "./index27.js";
3
+ var s = Object.prototype, p = s.hasOwnProperty;
4
+ function l(r, a, o) {
5
+ var n = r[a];
6
+ (!(p.call(r, a) && i(n, o)) || o === void 0 && !(a in r)) && t(r, a, o);
11
7
  }
12
8
  export {
13
- v as default
9
+ l as default
14
10
  };
package/index55.js CHANGED
@@ -1,10 +1,12 @@
1
- import t from "./index56.js";
2
- import i from "./index27.js";
3
- var s = Object.prototype, p = s.hasOwnProperty;
4
- function l(r, a, o) {
5
- var n = r[a];
6
- (!(p.call(r, a) && i(n, o)) || o === void 0 && !(a in r)) && t(r, a, o);
1
+ import u from "./index59.js";
2
+ function i(r, e, t) {
3
+ e == "__proto__" && u ? u(r, e, {
4
+ configurable: !0,
5
+ enumerable: !0,
6
+ value: t,
7
+ writable: !0
8
+ }) : r[e] = t;
7
9
  }
8
10
  export {
9
- l as default
11
+ i as default
10
12
  };
package/index56.js CHANGED
@@ -1,12 +1,14 @@
1
- import u from "./index58.js";
2
- function i(r, e, t) {
3
- e == "__proto__" && u ? u(r, e, {
4
- configurable: !0,
5
- enumerable: !0,
6
- value: t,
7
- writable: !0
8
- }) : r[e] = t;
1
+ import m from "./index54.js";
2
+ import t from "./index55.js";
3
+ function v(a, f, i, u) {
4
+ var d = !i;
5
+ i || (i = {});
6
+ for (var s = -1, e = f.length; ++s < e; ) {
7
+ var n = f[s], r = void 0;
8
+ r === void 0 && (r = a[n]), d ? t(i, n, r) : m(i, n, r);
9
+ }
10
+ return i;
9
11
  }
10
12
  export {
11
- i as default
13
+ v as default
12
14
  };
package/index57.js CHANGED
@@ -1,8 +1,8 @@
1
- function f(e, n) {
2
- for (var l = -1, t = e == null ? 0 : e.length; ++l < t && n(e[l], l, e) !== !1; )
3
- ;
4
- return e;
1
+ var p = Object.prototype;
2
+ function e(t) {
3
+ var o = t && t.constructor, r = typeof o == "function" && o.prototype || p;
4
+ return t === r;
5
5
  }
6
6
  export {
7
- f as default
7
+ e as default
8
8
  };
package/index58.js CHANGED
@@ -1,11 +1,8 @@
1
- import r from "./index102.js";
2
- var o = function() {
3
- try {
4
- var e = r(Object, "defineProperty");
5
- return e({}, "", {}), e;
6
- } catch {
7
- }
8
- }();
1
+ function f(e, n) {
2
+ for (var l = -1, t = e == null ? 0 : e.length; ++l < t && n(e[l], l, e) !== !1; )
3
+ ;
4
+ return e;
5
+ }
9
6
  export {
10
- o as default
7
+ f as default
11
8
  };
package/index59.js CHANGED
@@ -1,8 +1,11 @@
1
- var p = Object.prototype;
2
- function e(t) {
3
- var o = t && t.constructor, r = typeof o == "function" && o.prototype || p;
4
- return t === r;
5
- }
1
+ import r from "./index102.js";
2
+ var o = function() {
3
+ try {
4
+ var e = r(Object, "defineProperty");
5
+ return e({}, "", {}), e;
6
+ } catch {
7
+ }
8
+ }();
6
9
  export {
7
- e as default
10
+ o as default
8
11
  };
package/index61.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index54.js";
1
+ import o from "./index56.js";
2
2
  import e from "./index48.js";
3
3
  function m(r, t) {
4
4
  return r && o(t, e(t), r);
package/index62.js CHANGED
@@ -1,4 +1,4 @@
1
- import t from "./index54.js";
1
+ import t from "./index56.js";
2
2
  import o from "./index51.js";
3
3
  function i(n, r) {
4
4
  return n && t(r, o(r), n);
package/index65.js CHANGED
@@ -1,4 +1,4 @@
1
- import m from "./index54.js";
1
+ import m from "./index56.js";
2
2
  import r from "./index109.js";
3
3
  function f(o, t) {
4
4
  return m(o, r(o), t);
package/index66.js CHANGED
@@ -1,4 +1,4 @@
1
- import m from "./index54.js";
1
+ import m from "./index56.js";
2
2
  import r from "./index101.js";
3
3
  function e(o, t) {
4
4
  return m(o, r(o), t);
package/index72.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import o from "./index74.js";
2
2
  import r from "./index89.js";
3
- import e from "./index59.js";
3
+ import e from "./index57.js";
4
4
  function p(t) {
5
5
  return typeof t.constructor == "function" && !e(t) ? o(r(t)) : {};
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-vant",
3
- "version": "2.5.2",
3
+ "version": "2.6.0",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",