@solar-taro/ui-vant 1.4.0 → 1.4.2

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