@solar-taro/ui-vant 2.7.0 → 2.7.1

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.
Files changed (123) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/index10.js +188 -179
  3. package/index100.js +4 -6
  4. package/index101.js +6 -10
  5. package/index102.js +6 -6
  6. package/index103.js +10 -18
  7. package/index104.js +6 -4
  8. package/index105.js +17 -4
  9. package/index106.js +4 -3
  10. package/index107.js +4 -3
  11. package/index108.js +3 -14
  12. package/index109.js +4 -8
  13. package/index110.js +14 -5
  14. package/index111.js +8 -6
  15. package/index112.js +5 -5
  16. package/index113.js +5 -5
  17. package/index114.js +5 -5
  18. package/index115.js +6 -3
  19. package/index116.js +5 -17
  20. package/index117.js +3 -6
  21. package/index118.js +16 -2
  22. package/index119.js +4 -8
  23. package/index120.js +3 -5
  24. package/index121.js +3 -4
  25. package/index122.js +9 -5
  26. package/index123.js +5 -3
  27. package/index124.js +5 -3
  28. package/index125.js +5 -4
  29. package/index126.js +3 -5
  30. package/index127.js +4 -10
  31. package/index128.js +4 -6
  32. package/index129.js +10 -6
  33. package/index130.js +6 -4
  34. package/index131.js +6 -7
  35. package/index132.js +5 -3
  36. package/index133.js +10 -0
  37. package/index134.js +5 -0
  38. package/index16.js +1 -1
  39. package/index17.js +1 -1
  40. package/index18.js +1 -1
  41. package/index19.js +1 -1
  42. package/index20.js +1 -1
  43. package/index21.js +1 -1
  44. package/index22.js +1 -1
  45. package/index23.js +1 -1
  46. package/index24.js +1 -1
  47. package/index25.js +35 -3
  48. package/index26.js +3 -62
  49. package/index27.js +24 -3
  50. package/index28.js +63 -8
  51. package/index29.js +3 -6
  52. package/index30.js +8 -4
  53. package/index31.js +7 -2
  54. package/index32.js +2 -4
  55. package/index33.js +2 -10
  56. package/index34.js +5 -4
  57. package/index35.js +10 -4
  58. package/index36.js +4 -2
  59. package/index37.js +4 -4
  60. package/index38.js +3 -8
  61. package/index39.js +3 -4
  62. package/index40.js +7 -4
  63. package/index41.js +4 -6
  64. package/index42.js +5 -6
  65. package/index43.js +7 -9
  66. package/index44.js +6 -5
  67. package/index45.js +9 -7
  68. package/index46.js +5 -5
  69. package/index47.js +6 -9
  70. package/index48.js +4 -6
  71. package/index49.js +9 -17
  72. package/index50.js +4 -9
  73. package/index51.js +17 -6
  74. package/index52.js +9 -10
  75. package/index53.js +6 -3
  76. package/index54.js +12 -7
  77. package/index55.js +3 -9
  78. package/index56.js +2 -2
  79. package/index57.js +7 -5
  80. package/index58.js +9 -5
  81. package/index59.js +6 -9
  82. package/index60.js +5 -15
  83. package/index61.js +9 -6
  84. package/index62.js +15 -5
  85. package/index63.js +5 -8
  86. package/index64.js +5 -6
  87. package/index65.js +8 -5
  88. package/index66.js +6 -5
  89. package/index67.js +4 -5
  90. package/index68.js +5 -6
  91. package/index69.js +7 -26
  92. package/index70.js +6 -5
  93. package/index71.js +26 -40
  94. package/index72.js +3 -4
  95. package/index73.js +39 -5
  96. package/index74.js +7 -15
  97. package/index75.js +5 -7
  98. package/index76.js +15 -2
  99. package/index77.js +8 -3
  100. package/index78.js +3 -13
  101. package/index79.js +12 -4
  102. package/index80.js +5 -3
  103. package/index81.js +2 -4
  104. package/index82.js +3 -4
  105. package/index83.js +4 -4
  106. package/index84.js +4 -4
  107. package/index85.js +4 -4
  108. package/index86.js +4 -15
  109. package/index87.js +4 -14
  110. package/index88.js +14 -8
  111. package/index89.js +14 -3
  112. package/index90.js +8 -5
  113. package/index91.js +3 -6
  114. package/index92.js +5 -5
  115. package/index93.js +5 -7
  116. package/index94.js +5 -17
  117. package/index95.js +7 -10
  118. package/index96.js +17 -5
  119. package/index97.js +10 -4
  120. package/index98.js +5 -4
  121. package/index99.js +4 -5
  122. package/package.json +3 -2
  123. package/selector/index.vue.d.ts +3 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 2.7.0 (2026-04-15)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **ui-vant/cascader:** add clearable option
6
+ - **ui-vant/selector:** add clearable option
7
+
8
+ ### ❤️ Thank You
9
+
10
+ - HyperLife1119
11
+
1
12
  ## 2.6.4 (2026-03-14)
2
13
 
3
14
  This was a version bump only for ui-vant to align it with other projects, there were no code changes.
package/index10.js CHANGED
@@ -1,10 +1,11 @@
1
- import { defineComponent as J, ref as F, computed as m, renderSlot as Q, openBlock as X, createElementBlock as Y, createCommentVNode as Z, createElementVNode as _, mergeProps as x, resolveDirective as ee, withDirectives as le, unref as te, toDisplayString as oe, createTextVNode as ae, normalizeClass as ne, withCtx as re, createSlots as se, createVNode as ie, normalizeStyle as ue, createBlock as de, Fragment as pe, renderList as ce } from "vue";
2
- import { useFilterList as fe } from "@solar-taro/core";
3
- import { SunLazyRender as ve, SunVirtualScroll as me, SunItem as O } from "@solar-taro/ui-sun";
4
- import B from "./index25.js";
5
- import he from "./index7.js";
6
- import ye from "./index6.js";
7
- const u = Q, r = X, d = Y, h = Z, v = _, R = x, be = ee, I = le, p = te, M = oe, ge = ae, P = ne, n = re, C = se, z = ie, T = ue, N = de, W = pe, Ve = ce, ke = ["label", "value", "placeholder", "required", "disabled"], $e = { name: "right-icon" }, we = ["label", "value", "placeholder", "use-right-icon-slot", "disabled"], Se = { name: "right-icon" }, Ke = ["value"], Be = { class: "sun-selector-option-label" }, De = /* @__PURE__ */ J({
1
+ import { defineComponent as X, ref as F, computed as m, renderSlot as Y, openBlock as Z, createElementBlock as _, createCommentVNode as x, createElementVNode as ee, mergeProps as le, resolveDirective as te, withDirectives as oe, unref as ae, toDisplayString as se, createTextVNode as ne, normalizeClass as re, withCtx as ie, createSlots as ue, createVNode as de, normalizeStyle as pe, createBlock as ce, Fragment as fe, renderList as ve } from "vue";
2
+ import { useFilterList as me } from "@solar-taro/core";
3
+ import { SunLazyRender as he, SunVirtualScroll as ye, SunItem as O } from "@solar-taro/ui-sun";
4
+ import { createReusableTemplate as be } from "./index25.js";
5
+ import B from "./index26.js";
6
+ import ge from "./index7.js";
7
+ import Ve from "./index6.js";
8
+ const u = Y, n = Z, p = _, h = x, v = ee, I = le, ke = te, M = oe, r = ae, P = se, $e = ne, j = re, s = ie, C = ue, y = de, z = pe, N = ce, L = fe, we = ve, Se = ["label", "value", "placeholder", "required", "disabled"], Ke = { name: "right-icon" }, Te = ["label", "value", "placeholder", "use-right-icon-slot", "disabled"], Be = { name: "right-icon" }, Ce = ["value"], ze = { class: "sun-selector-option-label" }, Fe = /* @__PURE__ */ X({
8
9
  __name: "index",
9
10
  props: {
10
11
  type: { default: "field" },
@@ -26,11 +27,11 @@ const u = Q, r = X, d = Y, h = Z, v = _, R = x, be = ee, I = le, p = te, M = oe,
26
27
  virtual: { type: [Boolean, Object] },
27
28
  refresher: { type: Boolean },
28
29
  refreshing: { type: Boolean },
29
- compareWith: { type: Function, default: ($, w) => $ === w }
30
+ compareWith: { type: Function, default: (w, S) => w === S }
30
31
  },
31
32
  emits: ["update:modelValue", "select", "unselect", "clear", "close", "confirm", "refresh"],
32
- setup($, { expose: w, emit: j }) {
33
- const o = $, i = j, y = F(!1), b = 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(() => {
33
+ setup(w, { expose: S, emit: A }) {
34
+ const [U, D] = be(), o = w, d = A, b = F(!1), g = F(!1), G = m(() => o.searcher || ((e, l) => e[o.labelKey].toLowerCase().includes(l))), { keyword: W, filteredList: K } = me(() => o.options, G.value), T = m(() => {
34
35
  var e;
35
36
  if (c.value) {
36
37
  const l = B(o.modelValue) ? null : o.options.find(
@@ -44,259 +45,267 @@ const u = Q, r = X, d = Y, h = Z, v = _, R = x, be = ee, I = le, p = te, M = oe,
44
45
  return ((a = o.options.find((t) => o.compareWith(t[o.valueKey], l))) == null ? void 0 : a[o.labelKey]) || "";
45
46
  }
46
47
  ).join(o.delimiter);
47
- }), g = m(() => !G(o.modelValue) && o.clearable), c = m(() => o.mode === "single"), U = m(() => {
48
+ }), V = m(() => !J(o.modelValue) && o.clearable), c = m(() => o.mode === "single"), H = m(() => {
48
49
  var a, t;
49
50
  let e, l = 47;
50
51
  return typeof o.virtual != "boolean" && (a = o.virtual) != null && a.itemSize && (l = (t = o.virtual) == null ? void 0 : t.itemSize), { id: e, itemSize: l };
51
52
  });
52
- function G(e) {
53
+ function J(e) {
53
54
  return B(e) ? !0 : c.value ? !1 : e.length < 1;
54
55
  }
55
- function s(e) {
56
+ function i(e) {
56
57
  var a;
57
58
  const l = e[o.valueKey];
58
59
  return c.value ? B(o.modelValue) ? !1 : o.compareWith(o.modelValue, l) : ((a = o.modelValue) == null ? void 0 : a.some((t) => o.compareWith(t, l))) || !1;
59
60
  }
60
- function V() {
61
- o.disabled || (y.value = !0, b.value || setTimeout(() => {
62
- b.value = !0;
61
+ function k() {
62
+ o.disabled || (b.value = !0, g.value || setTimeout(() => {
63
+ g.value = !0;
63
64
  }, 300));
64
65
  }
65
- function D() {
66
- y.value = !1, i("close");
66
+ function q() {
67
+ b.value = !1, d("close");
67
68
  }
68
- function L() {
69
+ function R() {
69
70
  var l;
70
71
  const e = ((l = o.modelValue) == null ? void 0 : l.map(
71
72
  (a) => o.options.find(
72
73
  (t) => o.compareWith(t[o.valueKey], a)
73
74
  )
74
75
  )) || [];
75
- i("confirm", e), D();
76
+ d("confirm", e), q();
76
77
  }
77
78
  function E(e) {
78
79
  const l = e[o.valueKey];
79
80
  let a = o.modelValue;
80
- c.value ? (s(e) ? o.required || (i("unselect", e), a = null) : (i("select", e), a = l), D()) : s(e) ? (i("unselect", e), a = o.modelValue.filter(
81
+ c.value ? (i(e) ? o.required || (d("unselect", e), a = null) : (d("select", e), a = l), q()) : i(e) ? (d("unselect", e), a = o.modelValue.filter(
81
82
  (t) => !o.compareWith(t, l)
82
- )) : (i("select", e), a = (o.modelValue || []).concat(
83
+ )) : (d("select", e), a = (o.modelValue || []).concat(
83
84
  e[o.valueKey]
84
- )), i("update:modelValue", a);
85
+ )), d("update:modelValue", a);
85
86
  }
86
- function k() {
87
- i("clear", o.modelValue), i("update:modelValue", o.required && !c.value ? [] : null);
87
+ function $() {
88
+ d("clear", o.modelValue), d("update:modelValue", o.required && !c.value ? [] : null);
88
89
  }
89
- return w({
90
- present: V,
91
- clear: k
90
+ return S({
91
+ present: k,
92
+ clear: $
92
93
  }), (e, l) => {
93
- const a = be("readonly");
94
- return r(), d(W, null, [
94
+ const a = ke("readonly");
95
+ return n(), p(L, null, [
95
96
  u(e.$slots, "default", {
96
- present: V,
97
- label: K.value
97
+ present: k,
98
+ label: T.value
98
99
  }, () => [
99
- e.type === "field" ? I((r(), d("van-field", R({ key: 0 }, e.$attrs, {
100
+ e.type === "field" ? M((n(), p("van-field", I({ key: 0 }, e.$attrs, {
100
101
  class: "sun-selector",
101
102
  label: e.label,
102
- value: K.value,
103
+ value: T.value,
103
104
  placeholder: e.placeholder,
104
105
  required: e.required,
105
106
  disabled: e.disabled,
106
- onClickInput: l[1] || (l[1] = (t) => V())
107
+ onClickInput: l[1] || (l[1] = (t) => k())
107
108
  }), [
108
- v("slot-view", $e, [
109
- g.value ? (r(), d("van-icon", {
109
+ v("slot-view", Ke, [
110
+ V.value ? (n(), p("van-icon", {
110
111
  key: 0,
111
112
  class: "sun-selector-clear-icon",
112
113
  name: "clear",
113
- onTap: l[0] || (l[0] = (t) => k())
114
+ onTap: l[0] || (l[0] = (t) => $())
114
115
  }, null, 32)) : h("", !0),
115
116
  u(e.$slots, "end")
116
117
  ])
117
- ], 16, ke)), [
118
+ ], 16, Se)), [
118
119
  [a]
119
- ]) : e.type === "search" ? I((r(), d("van-search", R({ key: 1 }, e.$attrs, {
120
+ ]) : e.type === "search" ? M((n(), p("van-search", I({ key: 1 }, e.$attrs, {
120
121
  class: "sun-selector",
121
122
  label: e.label,
122
- value: K.value,
123
+ value: T.value,
123
124
  placeholder: e.placeholder,
124
- "use-right-icon-slot": g.value,
125
+ "use-right-icon-slot": V.value,
125
126
  shape: "round",
126
127
  clearable: !1,
127
128
  disabled: e.disabled,
128
- onClickInput: l[3] || (l[3] = (t) => V())
129
+ onClickInput: l[3] || (l[3] = (t) => k())
129
130
  }), [
130
- v("slot-view", Se, [
131
- g.value ? (r(), d("van-icon", {
131
+ v("slot-view", Be, [
132
+ V.value ? (n(), p("van-icon", {
132
133
  key: 0,
133
134
  class: "sun-selector-clear-icon",
134
135
  name: "clear",
135
- onTap: l[2] || (l[2] = (t) => k())
136
+ onTap: l[2] || (l[2] = (t) => $())
136
137
  }, null, 32)) : h("", !0),
137
138
  u(e.$slots, "end")
138
139
  ])
139
- ], 16, we)), [
140
+ ], 16, Te)), [
140
141
  [a]
141
142
  ]) : h("", !0)
142
143
  ]),
143
- z(p(ve), { hook: "created" }, {
144
- default: n(() => [
145
- z(p(he), {
146
- show: y.value,
147
- "onUpdate:show": l[9] || (l[9] = (t) => y.value = t),
144
+ y(r(he), { hook: "created" }, {
145
+ default: s(() => [
146
+ y(r(ge), {
147
+ show: b.value,
148
+ "onUpdate:show": l[9] || (l[9] = (t) => b.value = t),
148
149
  title: e.placeholder,
149
150
  "show-buttons": !c.value
150
151
  }, C({
151
- buttons: n(() => [
152
- u(e.$slots, "buttons", { confirm: L }, () => [
153
- c.value ? h("", !0) : (r(), d("van-button", {
152
+ buttons: s(() => [
153
+ u(e.$slots, "buttons", { confirm: R }, () => [
154
+ c.value ? h("", !0) : (n(), p("van-button", {
154
155
  key: 0,
155
156
  type: "primary",
156
157
  round: "true",
157
158
  block: "true",
158
- onTap: l[8] || (l[8] = (t) => L())
159
+ onTap: l[8] || (l[8] = (t) => R())
159
160
  }, "确定", 32))
160
161
  ])
161
162
  ]),
162
- default: n(() => [
163
- u(e.$slots, "filter", { rendered: b.value }, () => [
164
- e.searchable ? (r(), d("van-search", {
163
+ default: s(() => [
164
+ u(e.$slots, "filter", { rendered: g.value }, () => [
165
+ e.searchable ? (n(), p("van-search", {
165
166
  key: 0,
166
167
  shape: "round",
167
168
  "input-align": "center",
168
- value: p(q),
169
+ value: r(W),
169
170
  placeholder: "输入关键字搜索",
170
- onChange: l[5] || (l[5] = (t) => q.value = t.detail.trim())
171
- }, null, 40, Ke)) : h("", !0)
171
+ onChange: l[5] || (l[5] = (t) => W.value = t.detail.trim())
172
+ }, null, 40, Ce)) : h("", !0)
172
173
  ]),
173
- e.virtual ? (r(), d(W, { key: 0 }, [
174
- b.value ? (r(), N(p(me), {
175
- key: 0,
176
- class: "sun-selector-options",
177
- refresher: e.refresher,
178
- refreshing: e.refreshing,
179
- items: p(S),
180
- "item-size": U.value.itemSize,
181
- "item-key": e.valueKey,
182
- style: T({ height: e.height }),
183
- onRefresh: l[6] || (l[6] = (t) => i("refresh"))
184
- }, {
185
- default: n(({ item: t, index: f }) => [
186
- z(p(O), {
187
- class: P(["sun-selector-option", { "sun-selector-option-active": s(t) }]),
188
- clickable: !0,
189
- onTap: (H) => E(t)
190
- }, C({
191
- start: n(() => [
192
- u(e.$slots, "option-start", {
193
- option: t,
194
- index: f,
195
- active: s(t)
196
- })
174
+ y(r(U), null, {
175
+ default: s(() => [
176
+ e.virtual ? (n(), p(L, { key: 0 }, [
177
+ g.value ? (n(), N(r(ye), {
178
+ key: 0,
179
+ class: "sun-selector-options",
180
+ refresher: e.refresher,
181
+ refreshing: e.refreshing,
182
+ items: r(K),
183
+ "item-size": H.value.itemSize,
184
+ "item-key": e.valueKey,
185
+ style: z({ height: e.height }),
186
+ onRefresh: l[6] || (l[6] = (t) => d("refresh"))
187
+ }, {
188
+ default: s(({ item: t, index: f }) => [
189
+ y(r(O), {
190
+ class: j(["sun-selector-option", { "sun-selector-option-active": i(t) }]),
191
+ clickable: !0,
192
+ onTap: (Q) => E(t)
193
+ }, C({
194
+ start: s(() => [
195
+ u(e.$slots, "option-start", {
196
+ option: t,
197
+ index: f,
198
+ active: i(t)
199
+ })
200
+ ]),
201
+ end: s(() => [
202
+ u(e.$slots, "option-end", {
203
+ option: t,
204
+ index: f,
205
+ active: i(t)
206
+ })
207
+ ]),
208
+ default: s(() => [
209
+ u(e.$slots, "option", {
210
+ option: t,
211
+ index: f,
212
+ active: i(t)
213
+ }, () => [
214
+ $e(P(t[e.labelKey]), 1)
215
+ ])
216
+ ]),
217
+ _: 2
218
+ }, [
219
+ i(t) ? {
220
+ name: "end",
221
+ fn: s(() => [
222
+ l[10] || (l[10] = v("van-icon", {
223
+ class: "sun-selector-option-icon",
224
+ name: "success"
225
+ }, null, -1))
226
+ ]),
227
+ key: "0"
228
+ } : void 0
229
+ ]), 1032, ["class", "onTap"])
197
230
  ]),
198
- end: n(() => [
199
- u(e.$slots, "option-end", {
200
- option: t,
201
- index: f,
202
- active: s(t)
203
- })
204
- ]),
205
- default: n(() => [
206
- u(e.$slots, "option", {
207
- option: t,
208
- index: f,
209
- active: s(t)
210
- }, () => [
211
- ge(M(t[e.labelKey]), 1)
212
- ])
213
- ]),
214
- _: 2
215
- }, [
216
- s(t) ? {
217
- name: "end",
218
- fn: n(() => [
219
- l[10] || (l[10] = v("van-icon", {
220
- class: "sun-selector-option-icon",
221
- name: "success"
222
- }, null, -1))
231
+ _: 3
232
+ }, 8, ["refresher", "refreshing", "items", "item-size", "item-key", "style"])) : (n(), p("view", {
233
+ key: 1,
234
+ style: z({ height: e.height })
235
+ }, null, 4))
236
+ ], 64)) : (n(), N(r(Ve), {
237
+ key: 1,
238
+ class: "sun-selector-options",
239
+ refresher: e.refresher,
240
+ refreshing: e.refreshing,
241
+ data: r(K),
242
+ loading: e.loading,
243
+ "empty-type": "search",
244
+ style: z({ height: e.height }),
245
+ onRefresh: l[7] || (l[7] = (t) => d("refresh"))
246
+ }, {
247
+ default: s(() => [
248
+ (n(!0), p(L, null, we(r(K), (t, f) => (n(), N(r(O), {
249
+ key: t[e.valueKey],
250
+ class: j(["sun-selector-option", { "sun-selector-option-active": i(t) }]),
251
+ clickable: !0,
252
+ onTap: (Q) => E(t)
253
+ }, C({
254
+ start: s(() => [
255
+ u(e.$slots, "option-start", {
256
+ option: t,
257
+ index: f,
258
+ active: i(t)
259
+ })
223
260
  ]),
224
- key: "0"
225
- } : void 0
226
- ]), 1032, ["class", "onTap"])
227
- ]),
228
- _: 3
229
- }, 8, ["refresher", "refreshing", "items", "item-size", "item-key", "style"])) : (r(), d("view", {
230
- key: 1,
231
- style: T({ height: e.height })
232
- }, null, 4))
233
- ], 64)) : (r(), N(p(ye), {
234
- key: 1,
235
- class: "sun-selector-options",
236
- refresher: e.refresher,
237
- refreshing: e.refreshing,
238
- data: p(S),
239
- loading: e.loading,
240
- "empty-type": "search",
241
- style: T({ height: e.height }),
242
- onRefresh: l[7] || (l[7] = (t) => i("refresh"))
243
- }, {
244
- default: n(() => [
245
- (r(!0), d(W, null, Ve(p(S), (t, f) => (r(), N(p(O), {
246
- key: t[e.valueKey],
247
- class: P(["sun-selector-option", { "sun-selector-option-active": s(t) }]),
248
- clickable: !0,
249
- onTap: (H) => E(t)
250
- }, C({
251
- start: n(() => [
252
- u(e.$slots, "option-start", {
253
- option: t,
254
- index: f,
255
- active: s(t)
256
- })
257
- ]),
258
- end: n(() => [
259
- u(e.$slots, "option-end", {
260
- option: t,
261
- index: f,
262
- active: s(t)
263
- })
264
- ]),
265
- default: n(() => [
266
- u(e.$slots, "option", {
267
- option: t,
268
- index: f,
269
- active: s(t)
270
- }, () => [
271
- v("view", Be, M(t[e.labelKey]), 1)
272
- ])
261
+ end: s(() => [
262
+ u(e.$slots, "option-end", {
263
+ option: t,
264
+ index: f,
265
+ active: i(t)
266
+ })
267
+ ]),
268
+ default: s(() => [
269
+ u(e.$slots, "option", {
270
+ option: t,
271
+ index: f,
272
+ active: i(t)
273
+ }, () => [
274
+ v("view", ze, P(t[e.labelKey]), 1)
275
+ ])
276
+ ]),
277
+ _: 2
278
+ }, [
279
+ i(t) ? {
280
+ name: "end",
281
+ fn: s(() => [
282
+ l[11] || (l[11] = v("van-icon", {
283
+ class: "sun-selector-option-icon",
284
+ slot: "right-icon",
285
+ name: "success"
286
+ }, null, -1))
287
+ ]),
288
+ key: "0"
289
+ } : void 0
290
+ ]), 1032, ["class", "onTap"]))), 128))
273
291
  ]),
274
- _: 2
275
- }, [
276
- s(t) ? {
277
- name: "end",
278
- fn: n(() => [
279
- l[11] || (l[11] = v("van-icon", {
280
- class: "sun-selector-option-icon",
281
- slot: "right-icon",
282
- name: "success"
283
- }, null, -1))
284
- ]),
285
- key: "0"
286
- } : void 0
287
- ]), 1032, ["class", "onTap"]))), 128))
292
+ _: 3
293
+ }, 8, ["refresher", "refreshing", "data", "loading", "style"]))
288
294
  ]),
289
295
  _: 3
290
- }, 8, ["refresher", "refreshing", "data", "loading", "style"]))
296
+ }),
297
+ u(e.$slots, "list", { ListTemplate: r(D) }, () => [
298
+ y(r(D))
299
+ ])
291
300
  ]),
292
301
  _: 2
293
302
  }, [
294
- g.value ? {
303
+ V.value ? {
295
304
  name: "extra",
296
- fn: n(() => [
305
+ fn: s(() => [
297
306
  v("view", {
298
307
  class: "sun-selector-clear-btn",
299
- onTap: l[4] || (l[4] = (t) => k())
308
+ onTap: l[4] || (l[4] = (t) => $())
300
309
  }, "清除", 32)
301
310
  ]),
302
311
  key: "0"
@@ -310,5 +319,5 @@ const u = Q, r = X, d = Y, h = Z, v = _, R = x, be = ee, I = le, p = te, M = oe,
310
319
  }
311
320
  });
312
321
  export {
313
- De as default
322
+ Fe as default
314
323
  };
package/index100.js CHANGED
@@ -1,9 +1,7 @@
1
- import e from "./index73.js";
2
- import u from "./index31.js";
3
- function l(r, s, t) {
4
- var a = s(r);
5
- return u(r) ? a : e(a, t(r));
1
+ import t from "./index119.js";
2
+ function e(a) {
3
+ return t(this, a).has(a);
6
4
  }
7
5
  export {
8
- l as default
6
+ e as default
9
7
  };
package/index101.js CHANGED
@@ -1,12 +1,8 @@
1
- import o from "./index73.js";
2
- import m from "./index89.js";
3
- import e from "./index109.js";
4
- import a from "./index53.js";
5
- var s = Object.getOwnPropertySymbols, f = s ? function(r) {
6
- for (var t = []; r; )
7
- o(t, e(r)), r = m(r);
8
- return t;
9
- } : a;
1
+ import s from "./index119.js";
2
+ function h(a, e) {
3
+ var t = s(this, a), i = t.size;
4
+ return t.set(a, e), this.size += t.size == i ? 0 : 1, this;
5
+ }
10
6
  export {
11
- f as default
7
+ h as default
12
8
  };
package/index102.js CHANGED
@@ -1,9 +1,9 @@
1
- import r from "./index87.js";
2
- import i from "./index123.js";
3
- function f(t, a) {
4
- var e = i(t, a);
5
- return r(e) ? e : void 0;
1
+ import e from "./index75.js";
2
+ import u from "./index33.js";
3
+ function l(r, s, t) {
4
+ var a = s(r);
5
+ return u(r) ? a : e(a, t(r));
6
6
  }
7
7
  export {
8
- f as default
8
+ l as default
9
9
  };
package/index103.js CHANGED
@@ -1,20 +1,12 @@
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
- function t(e) {
7
- var o = -1, l = e == null ? 0 : e.length;
8
- for (this.clear(); ++o < l; ) {
9
- var r = e[o];
10
- this.set(r[0], r[1]);
11
- }
12
- }
13
- t.prototype.clear = p;
14
- t.prototype.delete = a;
15
- t.prototype.get = i;
16
- t.prototype.has = h;
17
- t.prototype.set = s;
1
+ import o from "./index75.js";
2
+ import m from "./index91.js";
3
+ import e from "./index111.js";
4
+ import a from "./index55.js";
5
+ var s = Object.getOwnPropertySymbols, f = s ? function(r) {
6
+ for (var t = []; r; )
7
+ o(t, e(r)), r = m(r);
8
+ return t;
9
+ } : a;
18
10
  export {
19
- t as default
11
+ f as default
20
12
  };
package/index104.js CHANGED
@@ -1,7 +1,9 @@
1
- import t from "./index103.js";
2
- function e() {
3
- this.__data__ = new t(), this.size = 0;
1
+ import r from "./index89.js";
2
+ import i from "./index120.js";
3
+ function f(t, a) {
4
+ var e = i(t, a);
5
+ return r(e) ? e : void 0;
4
6
  }
5
7
  export {
6
- e as default
8
+ f as default
7
9
  };
package/index105.js CHANGED
@@ -1,7 +1,20 @@
1
- function s(t) {
2
- var e = this.__data__, a = e.delete(t);
3
- return this.size = e.size, a;
1
+ import p from "./index121.js";
2
+ import a from "./index122.js";
3
+ import i from "./index123.js";
4
+ import h from "./index124.js";
5
+ import s from "./index125.js";
6
+ function t(e) {
7
+ var o = -1, l = e == null ? 0 : e.length;
8
+ for (this.clear(); ++o < l; ) {
9
+ var r = e[o];
10
+ this.set(r[0], r[1]);
11
+ }
4
12
  }
13
+ t.prototype.clear = p;
14
+ t.prototype.delete = a;
15
+ t.prototype.get = i;
16
+ t.prototype.has = h;
17
+ t.prototype.set = s;
5
18
  export {
6
- s as default
19
+ t as default
7
20
  };
package/index106.js CHANGED
@@ -1,6 +1,7 @@
1
- function a(t) {
2
- return this.__data__.get(t);
1
+ import t from "./index105.js";
2
+ function e() {
3
+ this.__data__ = new t(), this.size = 0;
3
4
  }
4
5
  export {
5
- a as default
6
+ e as default
6
7
  };
package/index107.js CHANGED
@@ -1,6 +1,7 @@
1
- function t(a) {
2
- return this.__data__.has(a);
1
+ function s(t) {
2
+ var e = this.__data__, a = e.delete(t);
3
+ return this.size = e.size, a;
3
4
  }
4
5
  export {
5
- t as default
6
+ s as default
6
7
  };