@solar-taro/ui-vant 1.4.1 → 1.5.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.
Files changed (109) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/cascader/index.vue.d.ts +2 -2
  3. package/cascader-picker/index.vue.d.ts +4 -4
  4. package/date-range-picker/index.vue.d.ts +1 -1
  5. package/index100.js +5 -5
  6. package/index101.js +5 -7
  7. package/index102.js +7 -17
  8. package/index103.js +17 -10
  9. package/index104.js +10 -5
  10. package/index105.js +4 -3
  11. package/index106.js +4 -4
  12. package/index107.js +4 -5
  13. package/index108.js +5 -6
  14. package/index109.js +7 -10
  15. package/index11.js +61 -61
  16. package/index110.js +10 -32
  17. package/index111.js +1 -1
  18. package/index117.js +2 -2
  19. package/index118.js +2 -2
  20. package/index122.js +1 -1
  21. package/index124.js +1 -1
  22. package/index133.js +1 -1
  23. package/index140.js +1 -1
  24. package/index17.js +1 -1
  25. package/index20.js +1 -1
  26. package/index21.js +1 -1
  27. package/index22.js +1 -1
  28. package/index23.js +1 -1
  29. package/index27.js +13 -5
  30. package/index28.js +9 -13
  31. package/index29.js +7 -8
  32. package/index3.js +1 -1
  33. package/index30.js +5 -8
  34. package/index32.js +6 -62
  35. package/index33.js +793 -3
  36. package/index34.js +63 -8
  37. package/index35.js +3 -6
  38. package/index36.js +8 -4
  39. package/index37.js +7 -2
  40. package/index38.js +2 -4
  41. package/index39.js +2 -10
  42. package/index4.js +1 -1
  43. package/index40.js +5 -4
  44. package/index41.js +10 -4
  45. package/index42.js +4 -2
  46. package/index43.js +4 -4
  47. package/index44.js +3 -8
  48. package/index45.js +3 -4
  49. package/index46.js +7 -4
  50. package/index47.js +4 -6
  51. package/index48.js +5 -6
  52. package/index49.js +7 -9
  53. package/index50.js +6 -5
  54. package/index51.js +9 -7
  55. package/index52.js +5 -5
  56. package/index53.js +6 -9
  57. package/index54.js +4 -6
  58. package/index55.js +9 -17
  59. package/index56.js +4 -9
  60. package/index57.js +17 -6
  61. package/index58.js +9 -10
  62. package/index59.js +6 -3
  63. package/index60.js +12 -6
  64. package/index61.js +3 -793
  65. package/index62.js +31 -7
  66. package/index63.js +7 -9
  67. package/index64.js +9 -11
  68. package/index65.js +11 -5
  69. package/index66.js +5 -5
  70. package/index67.js +6 -9
  71. package/index68.js +9 -16
  72. package/index69.js +15 -5
  73. package/index7.js +13 -16
  74. package/index70.js +5 -5
  75. package/index71.js +5 -8
  76. package/index72.js +8 -6
  77. package/index73.js +6 -5
  78. package/index74.js +4 -4
  79. package/index75.js +5 -6
  80. package/index76.js +5 -5
  81. package/index77.js +7 -26
  82. package/index78.js +26 -6
  83. package/index79.js +5 -39
  84. package/index80.js +39 -6
  85. package/index81.js +6 -5
  86. package/index82.js +6 -15
  87. package/index83.js +14 -7
  88. package/index84.js +8 -2
  89. package/index85.js +2 -3
  90. package/index86.js +3 -13
  91. package/index87.js +12 -4
  92. package/index88.js +5 -3
  93. package/index89.js +3 -4
  94. package/index9.js +2 -2
  95. package/index90.js +4 -4
  96. package/index91.js +3 -3
  97. package/index92.js +4 -4
  98. package/index93.js +4 -4
  99. package/index94.js +3 -14
  100. package/index95.js +14 -13
  101. package/index96.js +13 -8
  102. package/index97.js +9 -3
  103. package/index98.js +3 -6
  104. package/index99.js +5 -5
  105. package/list/index.vue.d.ts +1 -1
  106. package/modal/index.vue.d.ts +2 -2
  107. package/package.json +1 -1
  108. package/select-picker/index.vue.d.ts +4 -4
  109. package/selector/index.vue.d.ts +5 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## 1.4.2 (2025-10-13)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **selector:** add filter slot for custom filter functionality
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - HyperLife1119
10
+
11
+ ## 1.4.1 (2025-10-13)
12
+
13
+ ### 🚀 Features
14
+
15
+ - **ui-vant/selector:** add option-start and option-end slots
16
+
17
+ ### ❤️ Thank You
18
+
19
+ - HyperLife1119
20
+
1
21
  ## 1.4.0 (2025-10-11)
2
22
 
3
23
  ### 🚀 Features
@@ -44,9 +44,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
44
44
  default: string;
45
45
  };
46
46
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
47
+ close: () => void;
47
48
  select: (args_0: TreeNode<Record<string, any>>) => void;
48
49
  clear: (args_0: unknown) => void;
49
- close: () => void;
50
50
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
51
51
  modelValue: import('vue').PropType<unknown>;
52
52
  disabled: {
@@ -83,9 +83,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
83
83
  default: string;
84
84
  };
85
85
  }>> & Readonly<{
86
+ onClose?: (() => any) | undefined;
86
87
  onSelect?: ((args_0: TreeNode<Record<string, any>>) => any) | undefined;
87
88
  onClear?: ((args_0: unknown) => any) | undefined;
88
- onClose?: (() => any) | undefined;
89
89
  }>, {
90
90
  height: string;
91
91
  placeholder: string;
@@ -17,11 +17,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
17
17
  searchable: boolean;
18
18
  options: () => never[];
19
19
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ cancel: (args_0: any) => void;
21
+ close: () => void;
20
22
  confirm: (args_0: any) => void;
21
23
  "update:modelValue": (args_0: any) => void;
22
- close: () => void;
23
24
  "update:show": (args_0: boolean) => void;
24
- cancel: (args_0: any) => void;
25
25
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
26
26
  show: boolean;
27
27
  labelKey?: string;
@@ -41,11 +41,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
41
41
  searchable: boolean;
42
42
  options: () => never[];
43
43
  }>>> & Readonly<{
44
+ onCancel?: ((args_0: any) => any) | undefined;
45
+ onClose?: (() => any) | undefined;
44
46
  onConfirm?: ((args_0: any) => any) | undefined;
45
47
  "onUpdate:modelValue"?: ((args_0: any) => any) | undefined;
46
- onClose?: (() => any) | undefined;
47
48
  "onUpdate:show"?: ((args_0: boolean) => any) | undefined;
48
- onCancel?: ((args_0: any) => any) | undefined;
49
49
  }>, {
50
50
  options: any[][];
51
51
  labelKey: string;
@@ -36,10 +36,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
36
36
  minDate: () => number;
37
37
  maxDate: () => number;
38
38
  }>>> & Readonly<{
39
+ onClose?: (() => any) | undefined;
39
40
  onClear?: ((v: [(number | undefined)?, (number | undefined)?]) => any) | undefined;
40
41
  onConfirm?: ((v: [number, number]) => any) | undefined;
41
42
  "onUpdate:modelValue"?: ((v: [(number | undefined)?, (number | undefined)?]) => any) | undefined;
42
- onClose?: (() => any) | undefined;
43
43
  }>, {
44
44
  type: "date" | "datetime";
45
45
  id: string;
package/index100.js CHANGED
@@ -1,8 +1,8 @@
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 i(r, t) {
2
+ for (var e = -1, a = Array(r); ++e < r; )
3
+ a[e] = t(e);
4
+ return a;
5
5
  }
6
6
  export {
7
- f as default
7
+ i as default
8
8
  };
package/index101.js CHANGED
@@ -1,10 +1,8 @@
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
+ 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;
7
5
  }
8
6
  export {
9
- t as default
7
+ f as default
10
8
  };
package/index102.js CHANGED
@@ -1,20 +1,10 @@
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
- }
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;
12
7
  }
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
8
  export {
19
- e as default
9
+ t as default
20
10
  };
package/index103.js CHANGED
@@ -1,13 +1,20 @@
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
- };
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
+ }
10
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;
11
18
  export {
12
- o as default
19
+ e as default
13
20
  };
package/index104.js CHANGED
@@ -1,8 +1,13 @@
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;
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
+ };
5
10
  }
6
11
  export {
7
- i as default
12
+ o as default
8
13
  };
package/index105.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import a from "./index126.js";
2
- function r(t) {
3
- return a(this, t).get(t);
2
+ function i(e) {
3
+ var t = a(this, e).delete(e);
4
+ return this.size -= t ? 1 : 0, t;
4
5
  }
5
6
  export {
6
- r as default
7
+ i as default
7
8
  };
package/index106.js CHANGED
@@ -1,7 +1,7 @@
1
- import t from "./index126.js";
2
- function e(a) {
3
- return t(this, a).has(a);
1
+ import a from "./index126.js";
2
+ function r(t) {
3
+ return a(this, t).get(t);
4
4
  }
5
5
  export {
6
- e as default
6
+ r as default
7
7
  };
package/index107.js CHANGED
@@ -1,8 +1,7 @@
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 t from "./index126.js";
2
+ function e(a) {
3
+ return t(this, a).has(a);
5
4
  }
6
5
  export {
7
- h as default
6
+ e as default
8
7
  };
package/index108.js CHANGED
@@ -1,9 +1,8 @@
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));
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;
6
5
  }
7
6
  export {
8
- l as default
7
+ h as default
9
8
  };
package/index109.js CHANGED
@@ -1,12 +1,9 @@
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;
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
+ }
10
7
  export {
11
- f as default
8
+ l as default
12
9
  };
package/index11.js CHANGED
@@ -1,10 +1,10 @@
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";
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
2
  import { useFilterList as pe } from "@solar-taro/core";
3
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 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 = {
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 d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = 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: (b, k) => b === k }
36
+ compareWith: { type: Function, default: (k, V) => k === V }
37
37
  },
38
38
  emits: ["update:modelValue", "select", "unselect", "clear", "close", "confirm", "refresh"],
39
- setup(b, { expose: k, emit: M }) {
40
- const t = b, i = M, V = L(!1), $ = L(!1), { keyword: W, filteredList: S } = pe(
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
- ), K = g(() => {
43
+ ), K = b(() => {
44
44
  var e;
45
- if (m.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,7 +54,7 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = 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
- }), w = g(() => !C(t.modelValue) && !t.required), m = g(() => t.mode === "single"), A = g(() => {
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 };
@@ -62,15 +62,15 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
62
62
  function a(e) {
63
63
  var n;
64
64
  const l = e[t.valueKey];
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;
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 y() {
68
- t.disabled || (V.value = !0, $.value || setTimeout(() => {
69
- $.value = !0;
67
+ function h() {
68
+ t.disabled || ($.value = !0, m.value || setTimeout(() => {
69
+ m.value = !0;
70
70
  }, 300));
71
71
  }
72
- function h() {
73
- V.value = !1, i("close");
72
+ function g() {
73
+ $.value = !1, i("close");
74
74
  }
75
75
  function q() {
76
76
  var l;
@@ -79,12 +79,12 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
79
79
  (o) => t.compareWith(o[t.valueKey], n)
80
80
  )
81
81
  )) || [];
82
- i("confirm", e), h();
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
- 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(
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
89
  )) : (i("select", e), n = (t.modelValue || []).concat(
90
90
  e[t.valueKey]
@@ -93,14 +93,14 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
93
93
  function B() {
94
94
  i("clear", t.modelValue), i("update:modelValue", null);
95
95
  }
96
- return k({
97
- present: y,
96
+ return V({
97
+ present: h,
98
98
  clear: B
99
99
  }), (e, l) => {
100
100
  const n = me("readonly");
101
101
  return s(), r(T, null, [
102
- d(e.$slots, "default", {
103
- present: y,
102
+ u(e.$slots, "default", {
103
+ present: h,
104
104
  label: K.value
105
105
  }, () => [
106
106
  e.type === "field" ? O((s(), r("van-field", F({ key: 0 }, e.$attrs, {
@@ -110,7 +110,7 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
110
110
  placeholder: e.placeholder,
111
111
  required: e.required,
112
112
  disabled: e.disabled,
113
- onClickInput: l[1] || (l[1] = (o) => y())
113
+ onClickInput: l[1] || (l[1] = (o) => h())
114
114
  }), [
115
115
  w.value ? (s(), r("van-icon", {
116
116
  key: 0,
@@ -119,7 +119,7 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
119
119
  onTap: l[0] || (l[0] = (o) => B())
120
120
  }, null, 32)) : f("", !0),
121
121
  e.$slots.end ? (s(), r("slot-view", be, [
122
- d(e.$slots, "end")
122
+ u(e.$slots, "end")
123
123
  ])) : f("", !0)
124
124
  ], 16, ge)), [
125
125
  [n]
@@ -132,7 +132,7 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
132
132
  shape: "round",
133
133
  clearable: !1,
134
134
  disabled: e.disabled,
135
- onClickInput: l[3] || (l[3] = (o) => y())
135
+ onClickInput: l[3] || (l[3] = (o) => h())
136
136
  }), [
137
137
  w.value ? (s(), r("van-icon", {
138
138
  key: 0,
@@ -141,31 +141,33 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
141
141
  onTap: l[2] || (l[2] = (o) => B())
142
142
  }, null, 32)) : f("", !0),
143
143
  e.$slots.end ? (s(), r("slot-view", Ve, [
144
- d(e.$slots, "end")
144
+ u(e.$slots, "end")
145
145
  ])) : f("", !0)
146
146
  ], 16, ke)), [
147
147
  [n]
148
148
  ]) : f("", !0)
149
149
  ]),
150
150
  I(p(ce), { hook: "created" }, {
151
- default: u(() => [
151
+ default: d(() => [
152
152
  v("van-action-sheet", {
153
- show: V.value,
153
+ show: $.value,
154
154
  title: e.placeholder,
155
155
  "close-on-click-overlay": !0,
156
- onClose: l[8] || (l[8] = (o) => h()),
157
- onCancel: l[9] || (l[9] = (o) => h())
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: p(W),
164
- placeholder: "输入关键字搜索",
165
- onChange: l[4] || (l[4] = (o) => W.value = o.detail.trim())
166
- }, null, 40, Se)) : f("", !0),
167
- e.virtual ? (s(), r(T, { key: 1 }, [
168
- $.value ? (s(), N(p(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,
@@ -176,29 +178,28 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
176
178
  style: z({ height: e.height }),
177
179
  onRefresh: l[5] || (l[5] = (o) => i("refresh"))
178
180
  }, {
179
- default: u(({ item: o, index: c }) => [
181
+ default: d(({ item: o, index: c }) => [
180
182
  I(p(E), {
181
- lass: "sun-selector-option",
182
- class: P({ "sun-selector-option-active": a(o) }),
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
- start: u(() => [
187
- d(e.$slots, "option-start", {
187
+ start: d(() => [
188
+ u(e.$slots, "option-start", {
188
189
  option: o,
189
190
  index: c,
190
191
  active: a(o)
191
192
  })
192
193
  ]),
193
- end: u(() => [
194
- d(e.$slots, "option-end", {
194
+ end: d(() => [
195
+ u(e.$slots, "option-end", {
195
196
  option: o,
196
197
  index: c,
197
198
  active: a(o)
198
199
  })
199
200
  ]),
200
- default: u(() => [
201
- d(e.$slots, "option", {
201
+ default: d(() => [
202
+ u(e.$slots, "option", {
202
203
  option: o,
203
204
  index: c,
204
205
  active: a(o)
@@ -210,7 +211,7 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
210
211
  }, [
211
212
  a(o) ? {
212
213
  name: "end",
213
- fn: u(() => [
214
+ fn: d(() => [
214
215
  l[10] || (l[10] = v("van-icon", {
215
216
  class: "sun-selector-option-icon",
216
217
  name: "success"
@@ -226,7 +227,7 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
226
227
  style: z({ height: e.height })
227
228
  }, null, 4))
228
229
  ], 64)) : (s(), N(p(ve), {
229
- key: 2,
230
+ key: 1,
230
231
  class: "sun-selector-options",
231
232
  refresher: e.refresher,
232
233
  refreshing: e.refreshing,
@@ -236,30 +237,29 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
236
237
  style: z({ height: e.height }),
237
238
  onRefresh: l[6] || (l[6] = (o) => i("refresh"))
238
239
  }, {
239
- default: u(() => [
240
+ default: d(() => [
240
241
  (s(!0), r(T, null, he(p(S), (o, c) => (s(), N(p(E), {
241
242
  key: o[e.valueKey],
242
- lass: "sun-selector-option",
243
- class: P({ "sun-selector-option-active": a(o) }),
243
+ class: P(["sun-selector-option", { "sun-selector-option-active": a(o) }]),
244
244
  clickable: !0,
245
245
  onTap: (G) => D(o)
246
246
  }, j({
247
- start: u(() => [
248
- d(e.$slots, "option-start", {
247
+ start: d(() => [
248
+ u(e.$slots, "option-start", {
249
249
  option: o,
250
250
  index: c,
251
251
  active: a(o)
252
252
  })
253
253
  ]),
254
- end: u(() => [
255
- d(e.$slots, "option-end", {
254
+ end: d(() => [
255
+ u(e.$slots, "option-end", {
256
256
  option: o,
257
257
  index: c,
258
258
  active: a(o)
259
259
  })
260
260
  ]),
261
- default: u(() => [
262
- d(e.$slots, "option", {
261
+ default: d(() => [
262
+ u(e.$slots, "option", {
263
263
  option: o,
264
264
  index: c,
265
265
  active: a(o)
@@ -271,7 +271,7 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
271
271
  }, [
272
272
  a(o) ? {
273
273
  name: "end",
274
- fn: u(() => [
274
+ fn: d(() => [
275
275
  l[11] || (l[11] = v("van-icon", {
276
276
  class: "sun-selector-option-icon",
277
277
  slot: "right-icon",
@@ -284,8 +284,8 @@ const d = J, s = Q, r = U, f = X, F = Y, me = Z, O = _, p = x, R = ee, ye = le,
284
284
  ]),
285
285
  _: 3
286
286
  }, 8, ["refresher", "refreshing", "data", "loading", "style"])),
287
- d(e.$slots, "footer", { confirm: q }, () => [
288
- m.value ? f("", !0) : (s(), r("view", we, [
287
+ u(e.$slots, "footer", { confirm: q }, () => [
288
+ y.value ? f("", !0) : (s(), r("view", we, [
289
289
  v("van-button", {
290
290
  type: "primary",
291
291
  round: "true",
package/index110.js CHANGED
@@ -1,34 +1,12 @@
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);
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;
19
10
  export {
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
11
+ f as default
34
12
  };
package/index111.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index95.js";
1
+ import r from "./index96.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 "./index90.js";
3
- import r from "./index102.js";
2
+ import e from "./index91.js";
3
+ import r from "./index103.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 "./index83.js";
2
- import a from "./index59.js";
1
+ import o from "./index84.js";
2
+ import a from "./index61.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 "./index85.js";
1
+ import o from "./index86.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)) : {};