@solar-taro/ui-vant 2.8.3 → 2.8.4
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 +14 -0
- package/index16.js +1 -1
- package/index18.js +1 -1
- package/index19.js +1 -1
- package/index20.js +1 -1
- package/index21.js +1 -1
- package/index22.js +1 -1
- package/index23.js +1 -1
- package/index5.js +21 -21
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 2.8.3 (2026-05-21)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **ui-vant/date-range-picker:** update min/max date properties and refactor model handling
|
|
6
|
+
|
|
7
|
+
### 🩹 Fixes
|
|
8
|
+
|
|
9
|
+
- **ui-vant/selector:** fix bug
|
|
10
|
+
|
|
11
|
+
### ❤️ Thank You
|
|
12
|
+
|
|
13
|
+
- HyperLife1119
|
|
14
|
+
|
|
1
15
|
## 2.8.2 (2026-05-14)
|
|
2
16
|
|
|
3
17
|
This was a version bump only for ui-vant to align it with other projects, there were no code changes.
|
package/index16.js
CHANGED
package/index18.js
CHANGED
package/index19.js
CHANGED
package/index20.js
CHANGED
package/index21.js
CHANGED
package/index22.js
CHANGED
package/index23.js
CHANGED
package/index5.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
import { date as p } from "@solar-taro/core";
|
|
3
3
|
import { vDatetimePicker as U } from "./index13.js";
|
|
4
|
-
const W = z, o = Y, i = j, X = x,
|
|
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 = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "sun-date-range-picker-input-value"
|
|
7
7
|
}, ie = {
|
|
@@ -10,7 +10,7 @@ const W = z, o = Y, i = j, X = x, r = A, Z = G, ee = J, C = K, k = L, d = O, M =
|
|
|
10
10
|
}, se = { class: "sun-date-range-picker-input-label" }, ue = {
|
|
11
11
|
key: 0,
|
|
12
12
|
name: "down",
|
|
13
|
-
color: "var(--color-
|
|
13
|
+
color: "var(--color-medium)"
|
|
14
14
|
}, de = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "date-range-picker-input-value"
|
|
@@ -109,63 +109,63 @@ const we = /* @__PURE__ */ S({
|
|
|
109
109
|
value: T.value,
|
|
110
110
|
placeholder: y.value.join(h),
|
|
111
111
|
required: t.required,
|
|
112
|
-
onClickInput: e[1] || (e[1] = (
|
|
112
|
+
onClickInput: e[1] || (e[1] = (r) => _())
|
|
113
113
|
}), [
|
|
114
|
-
|
|
114
|
+
l("slot-view", ne, [
|
|
115
115
|
q.value ? (o(), i("van-icon", {
|
|
116
116
|
key: 0,
|
|
117
117
|
name: "clear",
|
|
118
|
-
onTap: e[0] || (e[0] = (
|
|
118
|
+
onTap: e[0] || (e[0] = (r) => E())
|
|
119
119
|
}, null, 32)) : X("", !0)
|
|
120
120
|
])
|
|
121
121
|
], 16, ae)), [
|
|
122
122
|
[P]
|
|
123
123
|
])
|
|
124
124
|
]),
|
|
125
|
-
|
|
125
|
+
l("van-action-sheet", {
|
|
126
126
|
show: f.value,
|
|
127
127
|
title: B.value,
|
|
128
128
|
"close-on-click-overlay": !0,
|
|
129
|
-
onClose: e[6] || (e[6] = (
|
|
130
|
-
onCancel: e[7] || (e[7] = (
|
|
129
|
+
onClose: e[6] || (e[6] = (r) => g()),
|
|
130
|
+
onCancel: e[7] || (e[7] = (r) => g())
|
|
131
131
|
}, [
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
l("view", re, [
|
|
133
|
+
l("view", {
|
|
134
134
|
class: M(["sun-date-range-picker-input", { "sun-date-range-picker-input-active": u.value === 0 }]),
|
|
135
|
-
onTap: e[2] || (e[2] = (
|
|
135
|
+
onTap: e[2] || (e[2] = (r) => v(0))
|
|
136
136
|
}, [
|
|
137
137
|
a.value[0] ? (o(), i("view", oe, d(k(p)(a.value[0], c.value)), 1)) : (o(), i("view", ie, "请选择")),
|
|
138
|
-
|
|
138
|
+
l("view", se, d(y.value[0]), 1)
|
|
139
139
|
], 34),
|
|
140
140
|
(o(), i("van-icon", ue)),
|
|
141
|
-
|
|
141
|
+
l("view", {
|
|
142
142
|
class: M(["sun-date-range-picker-input", { "sun-date-range-picker-input-active": u.value === 1 }]),
|
|
143
|
-
onTap: e[3] || (e[3] = (
|
|
143
|
+
onTap: e[3] || (e[3] = (r) => v(1))
|
|
144
144
|
}, [
|
|
145
145
|
a.value[1] ? (o(), i("view", de, d(k(p)(a.value[1], c.value)), 1)) : (o(), i("view", ce, "请选择")),
|
|
146
|
-
|
|
146
|
+
l("view", ve, d(y.value[1]), 1)
|
|
147
147
|
], 34)
|
|
148
148
|
]),
|
|
149
|
-
C(
|
|
149
|
+
C(l("van-datetime-picker", {
|
|
150
150
|
id: t.id,
|
|
151
151
|
type: t.type,
|
|
152
152
|
"show-toolbar": !1,
|
|
153
153
|
value: $.value,
|
|
154
154
|
"min-date": t.min,
|
|
155
155
|
"max-date": t.max,
|
|
156
|
-
onInput: e[4] || (e[4] = (
|
|
156
|
+
onInput: e[4] || (e[4] = (r) => I(r.detail))
|
|
157
157
|
}, null, 40, pe), [
|
|
158
158
|
[k(U)]
|
|
159
159
|
]),
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
l("view", me, [
|
|
161
|
+
l("van-button", {
|
|
162
162
|
type: "primary",
|
|
163
163
|
round: "true",
|
|
164
164
|
block: "true",
|
|
165
|
-
onTap: e[5] || (e[5] = (
|
|
165
|
+
onTap: e[5] || (e[5] = (r) => N())
|
|
166
166
|
}, d(a.value[0] && a.value[1] ? "确定" : "继续"), 33)
|
|
167
167
|
])
|
|
168
|
-
], 40,
|
|
168
|
+
], 40, le)
|
|
169
169
|
], 64);
|
|
170
170
|
};
|
|
171
171
|
}
|