@solar-taro/ui-vant 3.4.3 → 3.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.4.3 (2026-07-24)
2
+
3
+ This was a version bump only for ui-vant to align it with other projects, there were no code changes.
4
+
1
5
  ## 3.4.2 (2026-07-22)
2
6
 
3
7
  This was a version bump only for ui-vant to align it with other projects, there were no code changes.
@@ -1,6 +1,7 @@
1
1
  .sun-cascader {
2
2
  &-clear {
3
3
  &-icon {
4
+ display: inline;
4
5
  padding: 4px;
5
6
  }
6
7
  }
@@ -1,14 +1,18 @@
1
1
  .sun-date-range-picker {
2
+ &-clear-icon {
3
+ display: inline;
4
+ }
5
+
2
6
  &-input-group {
3
7
  display: flex;
4
8
  justify-content: center;
5
9
  align-items: center;
6
10
  padding: 10px calc(12px + var(--safe-left)) 20px;
7
11
 
8
- > van-icon {
12
+ &-icon {
9
13
  font-size: 18px;
10
14
  margin: 0 8px;
11
- transform: rotate(-90deg);
15
+ color: var(--color-medium);
12
16
  }
13
17
  }
14
18
 
package/index15.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index5.js";
1
+ import f from "./index3.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index16.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index4.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index17.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index9.js";
1
+ import f from "./index5.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index18.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index7.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index19.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index20.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index4.js";
1
+ import f from "./index7.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index21.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index3.js CHANGED
@@ -1,11 +1,11 @@
1
- import { defineComponent as Q, mergeModels as _, useModel as W, computed as n, ref as D, renderSlot as X, openBlock as Y, createElementBlock as Z, createCommentVNode as x, createElementVNode as ee, mergeProps as le, resolveDirective as ae, withDirectives as te, unref as ne, renderList as oe, Fragment as se, toDisplayString as re, createTextVNode as ue, normalizeClass as ie, withCtx as de, createSlots as ce, createBlock as ve, normalizeStyle as me, createVNode as pe } from "vue";
2
- import { tree2list as fe } from "@solar-kit/core";
3
- import { SunLazyRender as he, SunItem as z } from "@solar-taro/ui-sun";
4
- import { SunModal as ye } from "@solar-taro/ui-vant";
5
- import { linkedRef as E, untracked as be } from "@solar-vue/core";
6
- const q = X, t = Y, o = Z, k = x, m = ee, ke = le, ge = ae, we = te, d = ne, g = oe, p = se, M = re, I = ue, Ke = ie, c = de, Ne = ce, L = ve, F = me, P = pe, Ve = ["label", "value", "placeholder", "required", "disabled"], Ce = { name: "right-icon" }, Se = ["active"], Be = ["name", "title"], $e = ["name"], Me = /* @__PURE__ */ Q({
1
+ import { defineComponent as W, mergeModels as z, useModel as X, computed as n, ref as E, renderSlot as Y, unref as Z, openBlock as x, createBlock as ee, createCommentVNode as le, createElementVNode as ae, mergeProps as te, resolveDirective as ne, createElementBlock as oe, withDirectives as se, renderList as re, Fragment as ue, toDisplayString as ie, createVNode as de, createTextVNode as ce, normalizeClass as ve, withCtx as me, createSlots as pe, normalizeStyle as fe } from "vue";
2
+ import { tree2list as he } from "@solar-kit/core";
3
+ import { SunIcon as q, SunLazyRender as ye, SunItem as I } from "@solar-taro/ui-sun";
4
+ import { SunModal as be } from "@solar-taro/ui-vant";
5
+ import { linkedRef as M, untracked as ke } from "@solar-vue/core";
6
+ const L = Y, r = Z, t = x, b = ee, k = le, g = ae, ge = te, we = ne, s = oe, Ke = se, w = re, m = ue, F = ie, K = de, P = ce, Ne = ve, c = me, Ve = pe, R = fe, Se = ["label", "value", "placeholder", "required", "disabled"], Ce = { name: "right-icon" }, Be = ["active"], _e = ["name", "title"], $e = ["name"], Me = /* @__PURE__ */ W({
7
7
  __name: "index",
8
- props: /* @__PURE__ */ _({
8
+ props: /* @__PURE__ */ z({
9
9
  label: {},
10
10
  placeholder: { default: "请选择" },
11
11
  options: {},
@@ -20,155 +20,155 @@ const q = X, t = Y, o = Z, k = x, m = ee, ke = le, ge = ae, we = te, d = ne, g =
20
20
  modelValue: {},
21
21
  modelModifiers: {}
22
22
  }),
23
- emits: /* @__PURE__ */ _(["select", "clear", "close"], ["update:modelValue"]),
24
- setup(w, { emit: R }) {
25
- const f = R, s = w, r = W(w, "modelValue"), j = n(() => r.value && s.clearable), u = D(!1), K = D(0), U = n(() => fe(s.options)), h = n(() => U.value.find((e) => e.parent && !e.children && e[s.valueKey] === r.value)), A = n(() => {
23
+ emits: /* @__PURE__ */ z(["select", "clear", "close"], ["update:modelValue"]),
24
+ setup(N, { emit: j }) {
25
+ const p = j, o = N, u = X(N, "modelValue"), U = n(() => u.value && o.clearable), i = E(!1), V = E(0), A = n(() => he(o.options)), f = n(() => A.value.find((e) => e.parent && !e.children && e[o.valueKey] === u.value)), G = n(() => {
26
26
  const e = [];
27
- let l = h.value;
27
+ let l = f.value;
28
28
  for (; l; )
29
29
  e.unshift(l), l = l.parent;
30
30
  return e;
31
- }), v = E(() => h.value), y = n(() => {
31
+ }), v = M(() => f.value), h = n(() => {
32
32
  const e = [];
33
33
  let l = v.value;
34
34
  for (; l; )
35
35
  e.unshift(l), l = l.parent;
36
36
  return e;
37
- }), N = n(() => {
37
+ }), S = n(() => {
38
38
  const e = v.value;
39
39
  return e ? !e.children : !1;
40
- }), V = n(() => A.value.map((e) => e[s.labelKey]).join(` ${s.delimiter} `)), b = E(
40
+ }), C = n(() => G.value.map((e) => e[o.labelKey]).join(` ${o.delimiter} `)), y = M(
41
41
  () => (
42
42
  // 如果有值,则取 currentNodes 的最后索引,否则为 0
43
- h.value ? be(() => y.value.length - 1) : 0
43
+ f.value ? ke(() => h.value.length - 1) : 0
44
44
  )
45
- ), C = n(() => s.options.filter((e) => !e.parent)), G = n(() => {
45
+ ), B = n(() => o.options.filter((e) => !e.parent)), H = n(() => {
46
46
  const e = v.value;
47
- return e ? e.children : C.value;
47
+ return e ? e.children : B.value;
48
48
  });
49
- function S() {
50
- s.disabled || (u.value = !0, K.value++);
51
- }
52
- function H() {
53
- u.value = !1, f("close");
49
+ function _() {
50
+ o.disabled || (i.value = !0, V.value++);
54
51
  }
55
52
  function J() {
56
- f("clear", r.value), r.value = null;
53
+ i.value = !1, p("close");
54
+ }
55
+ function O() {
56
+ p("clear", u.value), u.value = null;
57
57
  }
58
- function B(e) {
59
- v.value = e, f("select", e), N.value ? (r.value = e[s.valueKey], u.value = !1) : b.value++;
58
+ function $(e) {
59
+ v.value = e, p("select", e), S.value ? (u.value = e[o.valueKey], i.value = !1) : y.value++;
60
60
  }
61
61
  return (e, l) => {
62
- const O = ge("readonly");
63
- return t(), o(p, null, [
64
- q(e.$slots, "default", {
65
- present: S,
66
- label: V.value
62
+ const Q = we("readonly");
63
+ return t(), s(m, null, [
64
+ L(e.$slots, "default", {
65
+ present: _,
66
+ label: C.value
67
67
  }, () => [
68
- we((t(), o("van-field", ke(e.$attrs, {
68
+ Ke((t(), s("van-field", ge(e.$attrs, {
69
69
  class: "sun-cascader",
70
70
  label: e.label,
71
- value: V.value,
71
+ value: C.value,
72
72
  placeholder: e.placeholder,
73
73
  required: e.required,
74
74
  disabled: e.disabled,
75
- onClickInput: l[1] || (l[1] = (a) => S())
75
+ onClickInput: l[1] || (l[1] = (a) => _())
76
76
  }), [
77
- m("slot-view", Ce, [
78
- j.value ? (t(), o("van-icon", {
77
+ g("slot-view", Ce, [
78
+ U.value ? (t(), b(r(q), {
79
79
  key: 0,
80
80
  class: "sun-cascader-clear-icon",
81
- name: "clear",
82
- onTap: l[0] || (l[0] = (a) => J())
83
- }, null, 32)) : k("", !0),
84
- q(e.$slots, "end")
81
+ name: "close-circle",
82
+ onTap: l[0] || (l[0] = (a) => O())
83
+ })) : k("", !0),
84
+ L(e.$slots, "end")
85
85
  ])
86
- ], 16, Ve)), [
87
- [O]
86
+ ], 16, Se)), [
87
+ [Q]
88
88
  ])
89
89
  ]),
90
- P(d(he), { hook: "created" }, {
90
+ K(r(ye), { hook: "created" }, {
91
91
  default: c(() => [
92
- P(d(ye), {
93
- show: u.value,
94
- "onUpdate:show": l[3] || (l[3] = (a) => u.value = a),
92
+ K(r(be), {
93
+ show: i.value,
94
+ "onUpdate:show": l[3] || (l[3] = (a) => i.value = a),
95
95
  class: "sun-cascader-modal",
96
96
  title: e.placeholder,
97
97
  "show-buttons": !1,
98
- onClose: l[4] || (l[4] = (a) => H())
98
+ onClose: l[4] || (l[4] = (a) => J())
99
99
  }, {
100
100
  default: c(() => [
101
- K.value ? (t(), o("van-tabs", {
101
+ V.value ? (t(), s("van-tabs", {
102
102
  key: 0,
103
103
  class: "sun-cascader-tabs",
104
- active: d(b),
104
+ active: r(y),
105
105
  "line-width": "30px",
106
106
  "line-height": "4px",
107
107
  animated: "true",
108
- onChange: l[2] || (l[2] = (a) => b.value = a.detail.index)
108
+ onChange: l[2] || (l[2] = (a) => y.value = a.detail.index)
109
109
  }, [
110
- (t(!0), o(p, null, g(y.value, (a, $) => {
111
- var T;
112
- return t(), o("van-tab", {
110
+ (t(!0), s(m, null, w(h.value, (a, T) => {
111
+ var D;
112
+ return t(), s("van-tab", {
113
113
  key: a[e.valueKey],
114
- name: $,
114
+ name: T,
115
115
  class: "sun-cascader-tab",
116
116
  title: a[e.labelKey]
117
117
  }, [
118
- m("view", {
118
+ g("view", {
119
119
  class: "sun-cascader-list",
120
- style: F({ height: e.height })
120
+ style: R({ height: e.height })
121
121
  }, [
122
- (t(!0), o(p, null, g(((T = a.parent) == null ? void 0 : T.children) || C.value, (i) => (t(), L(d(z), {
123
- key: i[e.valueKey],
124
- class: Ke(["sun-cascader-option", { "sun-cascader-option-active": a[e.valueKey] === i[e.valueKey] }]),
122
+ (t(!0), s(m, null, w(((D = a.parent) == null ? void 0 : D.children) || B.value, (d) => (t(), b(r(I), {
123
+ key: d[e.valueKey],
124
+ class: Ne(["sun-cascader-option", { "sun-cascader-option-active": a[e.valueKey] === d[e.valueKey] }]),
125
125
  clickable: !0,
126
- onTap: (Te) => B(i)
127
- }, Ne({
126
+ onTap: (Te) => $(d)
127
+ }, Ve({
128
128
  default: c(() => [
129
- I(M(i[e.labelKey]) + " ", 1)
129
+ P(F(d[e.labelKey]) + " ", 1)
130
130
  ]),
131
131
  _: 2
132
132
  }, [
133
- a[e.valueKey] === i[e.valueKey] ? {
133
+ a[e.valueKey] === d[e.valueKey] ? {
134
134
  name: "end",
135
135
  fn: c(() => [
136
- l[5] || (l[5] = m("van-icon", {
136
+ K(r(q), {
137
137
  class: "sun-cascader-option-icon",
138
- name: "success"
139
- }, null, -1))
138
+ name: "checkmark"
139
+ })
140
140
  ]),
141
141
  key: "0"
142
142
  } : void 0
143
143
  ]), 1032, ["class", "onTap"]))), 128))
144
144
  ], 4)
145
- ], 8, Be);
145
+ ], 8, _e);
146
146
  }), 128)),
147
- N.value ? k("", !0) : (t(), o("van-tab", {
147
+ S.value ? k("", !0) : (t(), s("van-tab", {
148
148
  key: 0,
149
- name: y.value.length,
149
+ name: h.value.length,
150
150
  class: "sun-cascader-tab",
151
151
  title: "请选择",
152
152
  "title-style": "color:#94a3b8"
153
153
  }, [
154
- m("view", {
154
+ g("view", {
155
155
  class: "sun-cascader-list",
156
- style: F({ height: e.height })
156
+ style: R({ height: e.height })
157
157
  }, [
158
- (t(!0), o(p, null, g(G.value, (a) => (t(), L(d(z), {
158
+ (t(!0), s(m, null, w(H.value, (a) => (t(), b(r(I), {
159
159
  key: a[e.valueKey],
160
160
  class: "sun-cascader-option",
161
161
  clickable: !0,
162
- onTap: ($) => B(a)
162
+ onTap: (T) => $(a)
163
163
  }, {
164
164
  default: c(() => [
165
- I(M(a[e.labelKey]), 1)
165
+ P(F(a[e.labelKey]), 1)
166
166
  ]),
167
167
  _: 2
168
168
  }, 1032, ["onTap"]))), 128))
169
169
  ], 4)
170
170
  ], 8, $e))
171
- ], 40, Se)) : k("", !0)
171
+ ], 40, Be)) : k("", !0)
172
172
  ]),
173
173
  _: 1
174
174
  }, 8, ["show", "title"])
package/index5.js CHANGED
@@ -1,28 +1,25 @@
1
- import { defineComponent as S, mergeModels as D, useModel as H, computed as s, ref as b, renderSlot as z, openBlock as Y, createElementBlock as j, createCommentVNode as x, createElementVNode as A, mergeProps as G, resolveDirective as J, withDirectives as K, unref as L, toDisplayString as O, normalizeClass as Q, Fragment as R } from "vue";
2
- import { date as p } from "@solar-taro/core";
3
- import { vDatetimePicker as U } from "./index12.js";
4
- const W = z, o = Y, i = j, X = x, l = A, Z = G, ee = J, C = K, k = L, d = O, M = Q, te = R, ae = ["label", "value", "placeholder", "required"], ne = { name: "right-icon" }, le = ["show", "title"], re = { class: "sun-date-range-picker-input-group" }, oe = {
1
+ import { defineComponent as H, mergeModels as D, useModel as z, computed as i, ref as V, renderSlot as Y, unref as j, openBlock as x, createBlock as A, createCommentVNode as G, createElementVNode as J, mergeProps as K, resolveDirective as L, createElementBlock as O, withDirectives as Q, toDisplayString as R, normalizeClass as U, createVNode as W, Fragment as X } from "vue";
2
+ import { date as m } from "@solar-taro/core";
3
+ import { SunIcon as b } from "@solar-taro/ui-sun";
4
+ import { vDatetimePicker as Z } from "./index12.js";
5
+ const ee = Y, c = j, o = x, te = A, ae = G, r = J, ne = K, re = L, s = O, C = Q, d = R, M = U, le = W, oe = X, ie = ["label", "value", "placeholder", "required"], se = { name: "right-icon" }, ue = ["show", "title"], ce = { class: "sun-date-range-picker-input-group" }, de = {
5
6
  key: 0,
6
7
  class: "sun-date-range-picker-input-value"
7
- }, ie = {
8
+ }, ve = {
8
9
  key: 1,
9
10
  class: "sun-date-range-picker-input-placeholder"
10
- }, se = { class: "sun-date-range-picker-input-label" }, ue = {
11
- key: 0,
12
- name: "down",
13
- color: "var(--color-medium)"
14
- }, de = {
11
+ }, pe = { class: "sun-date-range-picker-input-label" }, me = {
15
12
  key: 0,
16
13
  class: "date-range-picker-input-value"
17
- }, ce = {
14
+ }, fe = {
18
15
  key: 1,
19
16
  class: "sun-date-range-picker-input-placeholder"
20
- }, ve = { class: "sun-date-range-picker-input-label" }, pe = ["id", "type", "value", "min-date", "max-date"], me = { class: "sun-date-range-picker-btn-wrapper" };
21
- let fe = 1;
22
- const we = /* @__PURE__ */ S({
17
+ }, ge = { class: "sun-date-range-picker-input-label" }, ke = ["id", "type", "value", "min-date", "max-date"], ye = { class: "sun-date-range-picker-btn-wrapper" };
18
+ let we = 1;
19
+ const be = /* @__PURE__ */ H({
23
20
  __name: "index",
24
21
  props: /* @__PURE__ */ D({
25
- id: { default: () => `van-datetime-picker-${fe++}` },
22
+ id: { default: () => `van-datetime-picker-${we++}` },
26
23
  type: { default: "date" },
27
24
  label: {},
28
25
  title: {},
@@ -36,13 +33,13 @@ const we = /* @__PURE__ */ S({
36
33
  modelModifiers: {}
37
34
  }),
38
35
  emits: /* @__PURE__ */ D(["confirm", "clear", "close"], ["update:modelValue"]),
39
- setup(w, { emit: V }) {
40
- const n = w, a = H(w, "modelValue"), m = V, h = " ~ ", $ = s(
36
+ setup(w, { emit: $ }) {
37
+ const n = w, a = z(w, "modelValue"), f = $, _ = " ~ ", B = i(
41
38
  () => a.value[u.value] || F()
42
- ), f = b(!1), u = b(0), T = s(() => {
39
+ ), g = V(!1), u = V(0), T = i(() => {
43
40
  const [t, e] = a.value;
44
- return t && e ? p(t, c.value) + h + p(e, c.value) : "";
45
- }), q = s(() => a.value.length && !n.required), c = s(() => {
41
+ return t && e ? m(t, v.value) + _ + m(e, v.value) : "";
42
+ }), q = i(() => a.value.length && !n.required), v = i(() => {
46
43
  if (n.format)
47
44
  return n.format;
48
45
  switch (n.type) {
@@ -51,7 +48,7 @@ const we = /* @__PURE__ */ S({
51
48
  case "datetime":
52
49
  return "yyyy-MM-dd HH:mm";
53
50
  }
54
- }), B = s(() => {
51
+ }), N = i(() => {
55
52
  if (n.title)
56
53
  return n.title;
57
54
  switch (n.type) {
@@ -60,7 +57,7 @@ const we = /* @__PURE__ */ S({
60
57
  case "datetime":
61
58
  return "请选择时间";
62
59
  }
63
- }), y = s(() => {
60
+ }), k = i(() => {
64
61
  if (n.placeholder)
65
62
  return n.placeholder;
66
63
  switch (n.type) {
@@ -79,97 +76,101 @@ const we = /* @__PURE__ */ S({
79
76
  return t.setMinutes(e - e % 5);
80
77
  }
81
78
  }
82
- function _() {
83
- f.value = !0, v(0);
79
+ function h() {
80
+ g.value = !0, p(0);
84
81
  }
85
- function g() {
86
- f.value = !1, m("close");
82
+ function y() {
83
+ g.value = !1, f("close");
87
84
  }
88
- function E() {
89
- m("clear", a.value), a.value = [];
85
+ function I() {
86
+ f("clear", a.value), a.value = [];
90
87
  }
91
- function v(t) {
88
+ function p(t) {
92
89
  u.value = t;
93
90
  }
94
- function I(t) {
91
+ function S(t) {
95
92
  a.value[u.value] = t, a.value = [...a.value];
96
93
  }
97
- function N() {
94
+ function E() {
98
95
  const [t, e] = a.value;
99
96
  if (!t || !e)
100
- return v(t ? 1 : 0);
101
- m("confirm", a.value), g();
97
+ return p(t ? 1 : 0);
98
+ f("confirm", a.value), y();
102
99
  }
103
100
  return (t, e) => {
104
- const P = ee("readonly");
105
- return o(), i(te, null, [
106
- W(t.$slots, "default", { present: _ }, () => [
107
- C((o(), i("van-field", Z(t.$attrs, {
101
+ const P = re("readonly");
102
+ return o(), s(oe, null, [
103
+ ee(t.$slots, "default", { present: h }, () => [
104
+ C((o(), s("van-field", ne(t.$attrs, {
108
105
  label: t.label,
109
106
  value: T.value,
110
- placeholder: y.value.join(h),
107
+ placeholder: k.value.join(_),
111
108
  required: t.required,
112
- onClickInput: e[1] || (e[1] = (r) => _())
109
+ onClickInput: e[1] || (e[1] = (l) => h())
113
110
  }), [
114
- l("slot-view", ne, [
115
- q.value ? (o(), i("van-icon", {
111
+ r("slot-view", se, [
112
+ q.value ? (o(), te(c(b), {
116
113
  key: 0,
117
- name: "clear",
118
- onTap: e[0] || (e[0] = (r) => E())
119
- }, null, 32)) : X("", !0)
114
+ class: "sun-date-range-picker-clear-icon",
115
+ name: "close-circle",
116
+ onTap: e[0] || (e[0] = (l) => I())
117
+ })) : ae("", !0)
120
118
  ])
121
- ], 16, ae)), [
119
+ ], 16, ie)), [
122
120
  [P]
123
121
  ])
124
122
  ]),
125
- l("van-action-sheet", {
126
- show: f.value,
127
- title: B.value,
123
+ r("van-action-sheet", {
124
+ show: g.value,
125
+ title: N.value,
128
126
  "close-on-click-overlay": !0,
129
- onClose: e[6] || (e[6] = (r) => g()),
130
- onCancel: e[7] || (e[7] = (r) => g())
127
+ onClose: e[6] || (e[6] = (l) => y()),
128
+ onCancel: e[7] || (e[7] = (l) => y())
131
129
  }, [
132
- l("view", re, [
133
- l("view", {
130
+ r("view", ce, [
131
+ r("view", {
134
132
  class: M(["sun-date-range-picker-input", { "sun-date-range-picker-input-active": u.value === 0 }]),
135
- onTap: e[2] || (e[2] = (r) => v(0))
133
+ onTap: e[2] || (e[2] = (l) => p(0))
136
134
  }, [
137
- a.value[0] ? (o(), i("view", oe, d(k(p)(a.value[0], c.value)), 1)) : (o(), i("view", ie, "请选择")),
138
- l("view", se, d(y.value[0]), 1)
135
+ a.value[0] ? (o(), s("view", de, d(c(m)(a.value[0], v.value)), 1)) : (o(), s("view", ve, "请选择")),
136
+ r("view", pe, d(k.value[0]), 1)
139
137
  ], 34),
140
- (o(), i("van-icon", ue)),
141
- l("view", {
138
+ le(c(b), {
139
+ class: "sun-date-range-picker-input-group-icon",
140
+ name: "arrow-forward"
141
+ }),
142
+ r("view", {
142
143
  class: M(["sun-date-range-picker-input", { "sun-date-range-picker-input-active": u.value === 1 }]),
143
- onTap: e[3] || (e[3] = (r) => v(1))
144
+ onTap: e[3] || (e[3] = (l) => p(1))
144
145
  }, [
145
- a.value[1] ? (o(), i("view", de, d(k(p)(a.value[1], c.value)), 1)) : (o(), i("view", ce, "请选择")),
146
- l("view", ve, d(y.value[1]), 1)
146
+ a.value[1] ? (o(), s("view", me, d(c(m)(a.value[1], v.value)), 1)) : (o(), s("view", fe, "请选择")),
147
+ r("view", ge, d(k.value[1]), 1)
147
148
  ], 34)
148
149
  ]),
149
- C(l("van-datetime-picker", {
150
+ C(r("van-datetime-picker", {
150
151
  id: t.id,
151
152
  type: t.type,
152
153
  "show-toolbar": !1,
153
- value: $.value,
154
+ value: B.value,
154
155
  "min-date": t.min,
155
156
  "max-date": t.max,
156
- onInput: e[4] || (e[4] = (r) => I(r.detail))
157
- }, null, 40, pe), [
158
- [k(U)]
157
+ onInput: e[4] || (e[4] = (l) => S(l.detail))
158
+ }, null, 40, ke), [
159
+ [c(Z)]
159
160
  ]),
160
- l("view", me, [
161
- l("van-button", {
161
+ r("view", ye, [
162
+ r("van-button", {
162
163
  type: "primary",
163
164
  round: "true",
164
165
  block: "true",
165
- onTap: e[5] || (e[5] = (r) => N())
166
+ onTap: e[5] || (e[5] = (l) => E())
166
167
  }, d(a.value[0] && a.value[1] ? "确定" : "继续"), 33)
167
168
  ])
168
- ], 40, le)
169
+ ], 40, ue)
169
170
  ], 64);
170
171
  };
171
172
  }
172
173
  });
173
174
  export {
174
- we as default
175
+ be as default
175
176
  };