@solar-taro/ui-vant 1.4.0 → 1.4.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 (101) hide show
  1. package/CHANGELOG.md +10 -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 +111 -84
  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/index19.js +1 -1
  24. package/index20.js +1 -1
  25. package/index24.js +1 -1
  26. package/index25.js +1 -1
  27. package/index27.js +5 -13
  28. package/index28.js +13 -5
  29. package/index29.js +1 -1
  30. package/index3.js +1 -1
  31. package/index32.js +62 -6
  32. package/index33.js +3 -793
  33. package/index34.js +8 -63
  34. package/index35.js +6 -3
  35. package/index36.js +4 -8
  36. package/index37.js +2 -7
  37. package/index38.js +4 -2
  38. package/index39.js +10 -2
  39. package/index4.js +1 -1
  40. package/index40.js +4 -5
  41. package/index41.js +4 -10
  42. package/index42.js +2 -4
  43. package/index43.js +4 -4
  44. package/index44.js +8 -3
  45. package/index45.js +4 -3
  46. package/index46.js +4 -7
  47. package/index47.js +6 -4
  48. package/index48.js +6 -5
  49. package/index49.js +9 -7
  50. package/index50.js +5 -6
  51. package/index51.js +7 -9
  52. package/index52.js +5 -5
  53. package/index53.js +9 -6
  54. package/index54.js +6 -4
  55. package/index55.js +17 -9
  56. package/index56.js +9 -4
  57. package/index57.js +6 -17
  58. package/index58.js +10 -9
  59. package/index59.js +3 -6
  60. package/index60.js +6 -12
  61. package/index61.js +793 -3
  62. package/index62.js +7 -31
  63. package/index63.js +9 -7
  64. package/index64.js +11 -9
  65. package/index65.js +5 -11
  66. package/index66.js +5 -5
  67. package/index67.js +9 -6
  68. package/index68.js +16 -9
  69. package/index69.js +5 -15
  70. package/index70.js +5 -5
  71. package/index71.js +8 -5
  72. package/index72.js +6 -8
  73. package/index73.js +5 -6
  74. package/index74.js +4 -4
  75. package/index75.js +6 -5
  76. package/index76.js +5 -5
  77. package/index77.js +26 -7
  78. package/index78.js +6 -26
  79. package/index79.js +39 -5
  80. package/index80.js +6 -39
  81. package/index81.js +5 -6
  82. package/index82.js +15 -6
  83. package/index83.js +7 -14
  84. package/index84.js +2 -8
  85. package/index85.js +3 -2
  86. package/index86.js +13 -3
  87. package/index87.js +4 -12
  88. package/index88.js +3 -5
  89. package/index89.js +4 -3
  90. package/index90.js +4 -4
  91. package/index91.js +3 -3
  92. package/index92.js +4 -4
  93. package/index93.js +4 -4
  94. package/index94.js +14 -3
  95. package/index95.js +13 -14
  96. package/index96.js +8 -13
  97. package/index97.js +3 -9
  98. package/index98.js +6 -3
  99. package/index99.js +5 -5
  100. package/package.json +1 -1
  101. package/selector/index.vue.d.ts +10 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 1.4.0 (2025-10-11)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **selector:** replace van-cell with sun-item
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - HyperLife1119
10
+
1
11
  ## 1.3.6 (2025-09-28)
2
12
 
3
13
  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 g, 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 d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le, v = oe, P = te, u = 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: (b, k) => b === k }
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(b, { expose: k, emit: M }) {
40
+ const t = b, i = M, V = L(!1), $ = 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 = g(() => {
44
44
  var e;
45
- if (v.value) {
45
+ if (m.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 = g(() => !C(t.modelValue) && !t.required), m = g(() => t.mode === "single"), A = g(() => {
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 m.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 y() {
68
+ t.disabled || (V.value = !0, $.value || setTimeout(() => {
69
+ $.value = !0;
70
70
  }, 300));
71
71
  }
72
- function y() {
73
- k.value = !1, a("close");
72
+ function h() {
73
+ V.value = !1, i("close");
74
74
  }
75
75
  function q() {
76
76
  var l;
@@ -79,127 +79,140 @@ 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), h();
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
+ m.value ? (a(e) ? t.required || (i("unselect", e), n = null) : (i("select", e), n = l), h()) : 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 k({
97
+ present: y,
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
+ d(e.$slots, "default", {
103
+ present: y,
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) => y())
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
+ d(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) => y())
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
+ d(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: u(() => [
152
+ v("van-action-sheet", {
153
+ show: V.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) => h()),
157
+ onCancel: l[9] || (l[9] = (o) => h())
158
158
  }, [
159
159
  e.searchable ? (s(), r("van-search", {
160
160
  key: 0,
161
161
  shape: "round",
162
162
  "input-align": "center",
163
- value: i(W),
163
+ value: p(W),
164
164
  placeholder: "输入关键字搜索",
165
165
  onChange: l[4] || (l[4] = (o) => W.value = o.detail.trim())
166
- }, null, 40, Se)) : d("", !0),
166
+ }, null, 40, Se)) : f("", !0),
167
167
  e.virtual ? (s(), r(T, { key: 1 }, [
168
- V.value ? (s(), N(i(fe), {
168
+ $.value ? (s(), N(p(fe), {
169
169
  key: 0,
170
170
  class: "sun-selector-options",
171
171
  refresher: e.refresher,
172
172
  refreshing: e.refreshing,
173
- items: i($),
173
+ items: p(S),
174
174
  "item-size": A.value.itemSize,
175
175
  "item-key": e.valueKey,
176
176
  style: z({ height: e.height }),
177
- onRefresh: l[5] || (l[5] = (o) => a("refresh"))
177
+ onRefresh: l[5] || (l[5] = (o) => i("refresh"))
178
178
  }, {
179
- default: c(({ item: o, index: B }) => [
180
- I(i(E), {
179
+ default: u(({ item: o, index: c }) => [
180
+ I(p(E), {
181
181
  lass: "sun-selector-option",
182
- class: P({ "sun-selector-option-active": u(o) }),
182
+ class: P({ "sun-selector-option-active": a(o) }),
183
183
  clickable: !0,
184
184
  onTap: (G) => D(o)
185
185
  }, j({
186
- default: c(() => [
187
- p(e.$slots, "option", {
186
+ start: u(() => [
187
+ d(e.$slots, "option-start", {
188
+ option: o,
189
+ index: c,
190
+ active: a(o)
191
+ })
192
+ ]),
193
+ end: u(() => [
194
+ d(e.$slots, "option-end", {
195
+ option: o,
196
+ index: c,
197
+ active: a(o)
198
+ })
199
+ ]),
200
+ default: u(() => [
201
+ d(e.$slots, "option", {
188
202
  option: o,
189
- index: B,
190
- active: u(o)
203
+ index: c,
204
+ active: a(o)
191
205
  }, () => [
192
206
  ye(R(o[e.labelKey]), 1)
193
207
  ])
194
208
  ]),
195
209
  _: 2
196
210
  }, [
197
- u(o) ? {
211
+ a(o) ? {
198
212
  name: "end",
199
- fn: c(() => [
200
- l[10] || (l[10] = f("van-icon", {
213
+ fn: u(() => [
214
+ l[10] || (l[10] = v("van-icon", {
201
215
  class: "sun-selector-option-icon",
202
- slot: "right-icon",
203
216
  name: "success"
204
217
  }, null, -1))
205
218
  ]),
@@ -212,40 +225,54 @@ const p = J, s = Q, r = U, d = X, F = Y, me = Z, O = _, i = x, R = ee, ye = le,
212
225
  key: 1,
213
226
  style: z({ height: e.height })
214
227
  }, null, 4))
215
- ], 64)) : (s(), N(i(ve), {
228
+ ], 64)) : (s(), N(p(ve), {
216
229
  key: 2,
217
230
  class: "sun-selector-options",
218
231
  refresher: e.refresher,
219
232
  refreshing: e.refreshing,
220
- data: i($),
233
+ data: p(S),
221
234
  loading: e.loading,
222
235
  "empty-type": "search",
223
236
  style: z({ height: e.height }),
224
- onRefresh: l[6] || (l[6] = (o) => a("refresh"))
237
+ onRefresh: l[6] || (l[6] = (o) => i("refresh"))
225
238
  }, {
226
- default: c(() => [
227
- (s(!0), r(T, null, he(i($), (o, B) => (s(), N(i(E), {
239
+ default: u(() => [
240
+ (s(!0), r(T, null, he(p(S), (o, c) => (s(), N(p(E), {
228
241
  key: o[e.valueKey],
229
242
  lass: "sun-selector-option",
230
- class: P({ "sun-selector-option-active": u(o) }),
243
+ class: P({ "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: u(() => [
248
+ d(e.$slots, "option-start", {
249
+ option: o,
250
+ index: c,
251
+ active: a(o)
252
+ })
253
+ ]),
254
+ end: u(() => [
255
+ d(e.$slots, "option-end", {
256
+ option: o,
257
+ index: c,
258
+ active: a(o)
259
+ })
260
+ ]),
261
+ default: u(() => [
262
+ d(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: u(() => [
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
+ d(e.$slots, "footer", { confirm: q }, () => [
288
+ m.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);
package/index122.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index86.js";
1
+ import o from "./index85.js";
2
2
  var e = o ? o.prototype : void 0, l = e ? e.valueOf : void 0;
3
3
  function r(t) {
4
4
  return l ? Object(l.call(t)) : {};
package/index124.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index44.js";
1
+ import r from "./index42.js";
2
2
  var a = r["__core-js_shared__"];
3
3
  export {
4
4
  a as default
package/index133.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index44.js";
1
+ import r from "./index42.js";
2
2
  var a = r.Uint8Array;
3
3
  export {
4
4
  a as default