@solar-taro/ui-vant 2.8.8 → 2.8.10
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 +8 -0
- package/index10.js +152 -144
- package/index102.js +1 -1
- package/index103.js +1 -1
- package/index111.js +1 -1
- package/index117.js +1 -1
- package/index126.js +1 -1
- package/index133.js +1 -1
- package/index17.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/index24.js +1 -1
- package/index25.js +1 -1
- package/index27.js +62 -24
- package/index28.js +3 -62
- package/index29.js +8 -4
- package/index30.js +6 -7
- package/index31.js +3 -6
- package/index32.js +2 -4
- package/index33.js +6 -2
- package/index34.js +9 -5
- package/index35.js +4 -9
- package/index36.js +4 -5
- package/index37.js +3 -4
- package/index38.js +4 -3
- package/index39.js +7 -3
- package/index40.js +4 -7
- package/index41.js +5 -5
- package/index42.js +7 -5
- package/index43.js +5 -6
- package/index44.js +9 -6
- package/index45.js +5 -9
- package/index46.js +7 -5
- package/index47.js +4 -6
- package/index48.js +10 -5
- package/index49.js +6 -9
- package/index50.js +17 -6
- package/index51.js +11 -17
- package/index52.js +6 -11
- package/index53.js +12 -6
- package/index54.js +3 -12
- package/index55.js +24 -3
- package/index56.js +11 -7
- package/index57.js +7 -9
- package/index58.js +9 -11
- package/index63.js +2 -2
- package/index64.js +2 -2
- package/index65.js +1 -1
- package/index67.js +1 -1
- package/index68.js +1 -1
- package/index69.js +1 -1
- package/index70.js +1 -1
- package/index71.js +1 -1
- package/index76.js +1 -1
- package/index79.js +1 -1
- package/index83.js +1 -1
- package/index84.js +1 -1
- package/index85.js +1 -1
- package/index86.js +1 -1
- package/index87.js +1 -1
- package/index89.js +2 -2
- package/package.json +1 -1
- package/selector/index.vue.d.ts +10 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 2.8.9 (2026-06-30)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for ui-vant to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 2.8.8 (2026-06-30)
|
|
6
|
+
|
|
7
|
+
This was a version bump only for ui-vant to align it with other projects, there were no code changes.
|
|
8
|
+
|
|
1
9
|
## 2.8.7 (2026-06-25)
|
|
2
10
|
|
|
3
11
|
This was a version bump only for ui-vant to align it with other projects, there were no code changes.
|
package/index10.js
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n = ie, B = ue, y = de, A = pe, Te = ce, U = fe, G = ve, D = me, b = ye, W = he, Be = ["label", "placeholder", "required", "disabled"], Ke = {
|
|
1
|
+
import { defineComponent as x, mergeModels as F, ref as I, computed as v, useModel as ee, renderSlot as le, toDisplayString as te, createTextVNode as oe, Fragment as ae, openBlock as ne, createElementBlock as se, createCommentVNode as re, renderList as ie, unref as ue, withCtx as de, createBlock as pe, createElementVNode as ce, mergeProps as fe, resolveDirective as ve, withDirectives as me, normalizeClass as ye, createSlots as he, createVNode as be, normalizeStyle as ge } from "vue";
|
|
2
|
+
import { SunTag as ke, SunLazyRender as Ve, SunVirtualScroll as $e, SunItem as P } from "@solar-taro/ui-sun";
|
|
3
|
+
import { createReusableTemplate as we } from "./index25.js";
|
|
4
|
+
import Se from "./index7.js";
|
|
5
|
+
import Te from "./index6.js";
|
|
6
|
+
import j from "./index26.js";
|
|
7
|
+
const u = le, K = te, D = oe, b = ae, n = ne, r = se, m = re, A = ie, p = ue, s = de, C = pe, y = ce, U = fe, Be = ve, G = me, H = ye, W = he, g = be, q = ge, Ke = ["label", "placeholder", "required", "disabled"], Ce = {
|
|
9
8
|
key: 0,
|
|
10
9
|
name: "input",
|
|
11
10
|
class: "sun-selector-input"
|
|
12
|
-
},
|
|
11
|
+
}, ze = { name: "right-icon" }, Ne = ["label", "value", "placeholder", "use-right-icon-slot", "disabled"], Le = { name: "right-icon" }, De = ["value"], We = { class: "sun-selector-option-label" }, Ie = /* @__PURE__ */ x({
|
|
13
12
|
__name: "index",
|
|
14
|
-
props: {
|
|
13
|
+
props: /* @__PURE__ */ F({
|
|
15
14
|
type: { default: "field" },
|
|
16
15
|
mode: { default: "single" },
|
|
17
16
|
label: {},
|
|
@@ -31,208 +30,214 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
|
|
|
31
30
|
virtual: { type: [Boolean, Object] },
|
|
32
31
|
refresher: { type: Boolean },
|
|
33
32
|
refreshing: { type: Boolean },
|
|
34
|
-
compareWith: { type: Function, default: (
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
compareWith: { type: Function, default: (k, z) => k === z }
|
|
34
|
+
}, {
|
|
35
|
+
keyword: { default: "" },
|
|
36
|
+
keywordModifiers: {}
|
|
37
|
+
}),
|
|
38
|
+
emits: /* @__PURE__ */ F(["update:modelValue", "select", "unselect", "clear", "close", "confirm", "refresh"], ["update:keyword"]),
|
|
39
|
+
setup(k, { expose: z, emit: J }) {
|
|
40
|
+
const [Q, M] = we(), o = k, d = J, V = I(!1), h = I(!1), X = v(() => o.searcher || ((e, t) => e[o.labelKey].toLowerCase().includes(t))), $ = ee(k, "keyword"), N = v(() => o.options.filter(
|
|
41
|
+
(e) => X.value(e, $.value.toLowerCase())
|
|
42
|
+
)), w = v(() => {
|
|
39
43
|
var e;
|
|
40
44
|
if (c.value) {
|
|
41
45
|
const t = o.options.find(
|
|
42
|
-
(
|
|
46
|
+
(a) => o.compareWith(a[o.valueKey], o.modelValue)
|
|
43
47
|
);
|
|
44
48
|
return t ? [t] : [];
|
|
45
49
|
}
|
|
46
50
|
return ((e = o.modelValue) != null ? e : []).map(
|
|
47
|
-
(t) => o.options.find((
|
|
51
|
+
(t) => o.options.find((a) => o.compareWith(a[o.valueKey], t))
|
|
48
52
|
).filter(Boolean);
|
|
49
|
-
}),
|
|
50
|
-
var
|
|
53
|
+
}), L = v(() => w.value.map((e) => e[o.labelKey]).join(o.delimiter)), S = v(() => !Z(o.modelValue) && o.clearable), c = v(() => o.mode === "single"), Y = v(() => {
|
|
54
|
+
var a, l;
|
|
51
55
|
let e, t = 47;
|
|
52
|
-
return typeof o.virtual != "boolean" && (
|
|
56
|
+
return typeof o.virtual != "boolean" && (a = o.virtual) != null && a.itemSize && (t = (l = o.virtual) == null ? void 0 : l.itemSize), { id: e, itemSize: t };
|
|
53
57
|
});
|
|
54
|
-
function
|
|
55
|
-
return
|
|
58
|
+
function Z(e) {
|
|
59
|
+
return j(e) ? !0 : c.value ? !1 : e.length < 1;
|
|
56
60
|
}
|
|
57
|
-
function
|
|
58
|
-
var
|
|
61
|
+
function i(e) {
|
|
62
|
+
var a;
|
|
59
63
|
const t = e[o.valueKey];
|
|
60
|
-
return c.value ?
|
|
64
|
+
return c.value ? j(o.modelValue) ? !1 : o.compareWith(o.modelValue, t) : ((a = o.modelValue) == null ? void 0 : a.some((l) => o.compareWith(l, t))) || !1;
|
|
61
65
|
}
|
|
62
|
-
function
|
|
63
|
-
o.disabled || (
|
|
64
|
-
|
|
66
|
+
function T() {
|
|
67
|
+
o.disabled || (V.value = !0, h.value || setTimeout(() => {
|
|
68
|
+
h.value = !0;
|
|
65
69
|
}, 300));
|
|
66
70
|
}
|
|
67
|
-
function
|
|
68
|
-
|
|
71
|
+
function O() {
|
|
72
|
+
V.value = !1, d("close");
|
|
69
73
|
}
|
|
70
|
-
function
|
|
74
|
+
function R() {
|
|
71
75
|
var t;
|
|
72
76
|
const e = ((t = o.modelValue) == null ? void 0 : t.map(
|
|
73
|
-
(
|
|
74
|
-
(l) => o.compareWith(l[o.valueKey],
|
|
77
|
+
(a) => o.options.find(
|
|
78
|
+
(l) => o.compareWith(l[o.valueKey], a)
|
|
75
79
|
)
|
|
76
80
|
)) || [];
|
|
77
|
-
|
|
81
|
+
d("confirm", e), O();
|
|
78
82
|
}
|
|
79
|
-
function
|
|
83
|
+
function E(e) {
|
|
80
84
|
const t = e[o.valueKey];
|
|
81
|
-
let
|
|
82
|
-
c.value ? (
|
|
85
|
+
let a = o.modelValue;
|
|
86
|
+
c.value ? (i(e) ? o.required || (d("unselect", e), a = null) : (d("select", e), a = t), O()) : i(e) ? (d("unselect", e), a = o.modelValue.filter(
|
|
83
87
|
(l) => !o.compareWith(l, t)
|
|
84
|
-
)) : (
|
|
88
|
+
)) : (d("select", e), a = (o.modelValue || []).concat(
|
|
85
89
|
e[o.valueKey]
|
|
86
|
-
)),
|
|
90
|
+
)), d("update:modelValue", a);
|
|
87
91
|
}
|
|
88
|
-
function
|
|
89
|
-
|
|
92
|
+
function B() {
|
|
93
|
+
d("clear", o.modelValue), d("update:modelValue", o.required && !c.value ? [] : null);
|
|
90
94
|
}
|
|
91
|
-
return
|
|
92
|
-
present:
|
|
93
|
-
clear:
|
|
95
|
+
return z({
|
|
96
|
+
present: T,
|
|
97
|
+
clear: B,
|
|
98
|
+
keyword: $
|
|
94
99
|
}), (e, t) => {
|
|
95
|
-
const
|
|
96
|
-
return
|
|
97
|
-
|
|
98
|
-
present:
|
|
99
|
-
label:
|
|
100
|
-
selectedOptions:
|
|
100
|
+
const a = Be("readonly");
|
|
101
|
+
return n(), r(b, null, [
|
|
102
|
+
u(e.$slots, "default", {
|
|
103
|
+
present: T,
|
|
104
|
+
label: L.value,
|
|
105
|
+
selectedOptions: w.value
|
|
101
106
|
}, () => [
|
|
102
|
-
e.type === "field" ?
|
|
107
|
+
e.type === "field" ? G((n(), r("van-field", U({ key: 0 }, e.$attrs, {
|
|
103
108
|
class: "sun-selector",
|
|
104
109
|
label: e.label,
|
|
105
110
|
placeholder: e.placeholder,
|
|
106
111
|
required: e.required,
|
|
107
112
|
disabled: e.disabled,
|
|
108
|
-
onClickInput: t[1] || (t[1] = (l) =>
|
|
113
|
+
onClickInput: t[1] || (t[1] = (l) => T())
|
|
109
114
|
}), [
|
|
110
|
-
|
|
111
|
-
c.value ? (
|
|
112
|
-
|
|
113
|
-
], 64)) : (
|
|
115
|
+
w.value.length ? (n(), r("slot-view", Ce, [
|
|
116
|
+
c.value ? (n(), r(b, { key: 0 }, [
|
|
117
|
+
D(K(L.value), 1)
|
|
118
|
+
], 64)) : (n(!0), r(b, { key: 1 }, A(w.value, (l) => (n(), C(p(ke), {
|
|
114
119
|
color: "medium",
|
|
115
120
|
type: "translucent"
|
|
116
121
|
}, {
|
|
117
|
-
default:
|
|
118
|
-
|
|
122
|
+
default: s(() => [
|
|
123
|
+
D(K(l[e.labelKey]), 1)
|
|
119
124
|
]),
|
|
120
125
|
_: 2
|
|
121
126
|
}, 1024))), 256))
|
|
122
127
|
])) : m("", !0),
|
|
123
|
-
y("slot-view",
|
|
124
|
-
|
|
128
|
+
y("slot-view", ze, [
|
|
129
|
+
S.value ? (n(), r("van-icon", {
|
|
125
130
|
key: 0,
|
|
126
131
|
class: "sun-selector-clear-icon",
|
|
127
132
|
name: "clear",
|
|
128
|
-
onTap: t[0] || (t[0] = (l) =>
|
|
133
|
+
onTap: t[0] || (t[0] = (l) => B())
|
|
129
134
|
}, null, 32)) : m("", !0),
|
|
130
|
-
|
|
135
|
+
u(e.$slots, "end")
|
|
131
136
|
])
|
|
132
|
-
], 16,
|
|
133
|
-
[
|
|
134
|
-
]) : e.type === "search" ?
|
|
137
|
+
], 16, Ke)), [
|
|
138
|
+
[a]
|
|
139
|
+
]) : e.type === "search" ? G((n(), r("van-search", U({ key: 1 }, e.$attrs, {
|
|
135
140
|
class: "sun-selector",
|
|
136
141
|
label: e.label,
|
|
137
|
-
value:
|
|
142
|
+
value: L.value,
|
|
138
143
|
placeholder: e.placeholder,
|
|
139
|
-
"use-right-icon-slot":
|
|
144
|
+
"use-right-icon-slot": S.value,
|
|
140
145
|
shape: "round",
|
|
141
146
|
clearable: !1,
|
|
142
147
|
disabled: e.disabled,
|
|
143
|
-
onClickInput: t[3] || (t[3] = (l) =>
|
|
148
|
+
onClickInput: t[3] || (t[3] = (l) => T())
|
|
144
149
|
}), [
|
|
145
|
-
y("slot-view",
|
|
146
|
-
|
|
150
|
+
y("slot-view", Le, [
|
|
151
|
+
S.value ? (n(), r("van-icon", {
|
|
147
152
|
key: 0,
|
|
148
153
|
class: "sun-selector-clear-icon",
|
|
149
154
|
name: "clear",
|
|
150
|
-
onTap: t[2] || (t[2] = (l) =>
|
|
155
|
+
onTap: t[2] || (t[2] = (l) => B())
|
|
151
156
|
}, null, 32)) : m("", !0),
|
|
152
|
-
|
|
157
|
+
u(e.$slots, "end")
|
|
153
158
|
])
|
|
154
|
-
], 16,
|
|
155
|
-
[
|
|
159
|
+
], 16, Ne)), [
|
|
160
|
+
[a]
|
|
156
161
|
]) : m("", !0)
|
|
157
162
|
]),
|
|
158
|
-
|
|
159
|
-
default:
|
|
160
|
-
|
|
161
|
-
show:
|
|
162
|
-
"onUpdate:show": t[9] || (t[9] = (l) =>
|
|
163
|
+
g(p(Ve), { hook: "created" }, {
|
|
164
|
+
default: s(() => [
|
|
165
|
+
g(p(Se), {
|
|
166
|
+
show: V.value,
|
|
167
|
+
"onUpdate:show": t[9] || (t[9] = (l) => V.value = l),
|
|
163
168
|
title: e.placeholder,
|
|
164
169
|
"show-buttons": !c.value
|
|
165
|
-
},
|
|
166
|
-
buttons:
|
|
167
|
-
|
|
168
|
-
c.value ? m("", !0) : (
|
|
170
|
+
}, W({
|
|
171
|
+
buttons: s(() => [
|
|
172
|
+
u(e.$slots, "buttons", { confirm: R }, () => [
|
|
173
|
+
c.value ? m("", !0) : (n(), r("van-button", {
|
|
169
174
|
key: 0,
|
|
170
175
|
type: "primary",
|
|
171
176
|
round: "true",
|
|
172
177
|
block: "true",
|
|
173
|
-
onTap: t[8] || (t[8] = (l) =>
|
|
178
|
+
onTap: t[8] || (t[8] = (l) => R())
|
|
174
179
|
}, "确定", 32))
|
|
175
180
|
])
|
|
176
181
|
]),
|
|
177
|
-
default:
|
|
178
|
-
|
|
179
|
-
e.searchable ? (
|
|
182
|
+
default: s(() => [
|
|
183
|
+
u(e.$slots, "filter", { rendered: h.value }, () => [
|
|
184
|
+
e.searchable ? (n(), r("van-search", {
|
|
180
185
|
key: 0,
|
|
181
186
|
shape: "round",
|
|
182
187
|
"input-align": "center",
|
|
183
|
-
value:
|
|
188
|
+
value: $.value,
|
|
184
189
|
placeholder: "输入关键字搜索",
|
|
185
|
-
onChange: t[5] || (t[5] = (l) =>
|
|
186
|
-
}, null, 40,
|
|
190
|
+
onChange: t[5] || (t[5] = (l) => $.value = l.detail.trim())
|
|
191
|
+
}, null, 40, De)) : m("", !0)
|
|
187
192
|
]),
|
|
188
|
-
|
|
189
|
-
default:
|
|
190
|
-
e.virtual ? (
|
|
191
|
-
|
|
193
|
+
g(p(Q), null, {
|
|
194
|
+
default: s(() => [
|
|
195
|
+
e.virtual ? (n(), r(b, { key: 0 }, [
|
|
196
|
+
h.value ? (n(), C(p($e), {
|
|
192
197
|
key: 0,
|
|
193
198
|
class: "sun-selector-options",
|
|
194
199
|
refresher: e.refresher,
|
|
195
200
|
refreshing: e.refreshing,
|
|
196
|
-
items:
|
|
197
|
-
"item-size":
|
|
201
|
+
items: N.value,
|
|
202
|
+
"item-size": Y.value.itemSize,
|
|
198
203
|
"item-key": e.valueKey,
|
|
199
|
-
style:
|
|
200
|
-
onRefresh: t[6] || (t[6] = (l) =>
|
|
204
|
+
style: q({ height: e.height }),
|
|
205
|
+
onRefresh: t[6] || (t[6] = (l) => d("refresh"))
|
|
201
206
|
}, {
|
|
202
|
-
default:
|
|
203
|
-
|
|
204
|
-
class:
|
|
207
|
+
default: s(({ item: l, index: f }) => [
|
|
208
|
+
g(p(P), {
|
|
209
|
+
class: H(["sun-selector-option", { "sun-selector-option-active": i(l) }]),
|
|
205
210
|
clickable: !0,
|
|
206
|
-
onTap: (
|
|
207
|
-
},
|
|
208
|
-
start:
|
|
209
|
-
|
|
211
|
+
onTap: (_) => E(l)
|
|
212
|
+
}, W({
|
|
213
|
+
start: s(() => [
|
|
214
|
+
u(e.$slots, "option-start", {
|
|
210
215
|
option: l,
|
|
211
216
|
index: f,
|
|
212
|
-
active:
|
|
217
|
+
active: i(l)
|
|
213
218
|
})
|
|
214
219
|
]),
|
|
215
|
-
end:
|
|
216
|
-
|
|
220
|
+
end: s(() => [
|
|
221
|
+
u(e.$slots, "option-end", {
|
|
217
222
|
option: l,
|
|
218
223
|
index: f,
|
|
219
|
-
active:
|
|
224
|
+
active: i(l)
|
|
220
225
|
})
|
|
221
226
|
]),
|
|
222
|
-
default:
|
|
223
|
-
|
|
227
|
+
default: s(() => [
|
|
228
|
+
u(e.$slots, "option", {
|
|
224
229
|
option: l,
|
|
225
230
|
index: f,
|
|
226
|
-
active:
|
|
231
|
+
active: i(l)
|
|
227
232
|
}, () => [
|
|
228
|
-
|
|
233
|
+
D(K(l[e.labelKey]), 1)
|
|
229
234
|
])
|
|
230
235
|
]),
|
|
231
236
|
_: 2
|
|
232
237
|
}, [
|
|
233
|
-
|
|
238
|
+
i(l) ? {
|
|
234
239
|
name: "end",
|
|
235
|
-
fn:
|
|
240
|
+
fn: s(() => [
|
|
236
241
|
t[10] || (t[10] = y("van-icon", {
|
|
237
242
|
class: "sun-selector-option-icon",
|
|
238
243
|
name: "success"
|
|
@@ -243,56 +248,56 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
|
|
|
243
248
|
]), 1032, ["class", "onTap"])
|
|
244
249
|
]),
|
|
245
250
|
_: 3
|
|
246
|
-
}, 8, ["refresher", "refreshing", "items", "item-size", "item-key", "style"])) : (
|
|
251
|
+
}, 8, ["refresher", "refreshing", "items", "item-size", "item-key", "style"])) : (n(), r("view", {
|
|
247
252
|
key: 1,
|
|
248
|
-
style:
|
|
253
|
+
style: q({ height: e.height })
|
|
249
254
|
}, null, 4))
|
|
250
|
-
], 64)) : (
|
|
255
|
+
], 64)) : (n(), C(p(Te), {
|
|
251
256
|
key: 1,
|
|
252
257
|
class: "sun-selector-options",
|
|
253
258
|
refresher: e.refresher,
|
|
254
259
|
refreshing: e.refreshing,
|
|
255
|
-
data:
|
|
260
|
+
data: N.value,
|
|
256
261
|
loading: e.loading,
|
|
257
262
|
"empty-type": "search",
|
|
258
|
-
style:
|
|
259
|
-
onRefresh: t[7] || (t[7] = (l) =>
|
|
263
|
+
style: q({ height: e.height }),
|
|
264
|
+
onRefresh: t[7] || (t[7] = (l) => d("refresh"))
|
|
260
265
|
}, {
|
|
261
|
-
default:
|
|
262
|
-
(
|
|
266
|
+
default: s(() => [
|
|
267
|
+
(n(!0), r(b, null, A(N.value, (l, f) => (n(), C(p(P), {
|
|
263
268
|
key: l[e.valueKey],
|
|
264
|
-
class:
|
|
269
|
+
class: H(["sun-selector-option", { "sun-selector-option-active": i(l) }]),
|
|
265
270
|
clickable: !0,
|
|
266
|
-
onTap: (
|
|
267
|
-
},
|
|
268
|
-
start:
|
|
269
|
-
|
|
271
|
+
onTap: (_) => E(l)
|
|
272
|
+
}, W({
|
|
273
|
+
start: s(() => [
|
|
274
|
+
u(e.$slots, "option-start", {
|
|
270
275
|
option: l,
|
|
271
276
|
index: f,
|
|
272
|
-
active:
|
|
277
|
+
active: i(l)
|
|
273
278
|
})
|
|
274
279
|
]),
|
|
275
|
-
end:
|
|
276
|
-
|
|
280
|
+
end: s(() => [
|
|
281
|
+
u(e.$slots, "option-end", {
|
|
277
282
|
option: l,
|
|
278
283
|
index: f,
|
|
279
|
-
active:
|
|
284
|
+
active: i(l)
|
|
280
285
|
})
|
|
281
286
|
]),
|
|
282
|
-
default:
|
|
283
|
-
|
|
287
|
+
default: s(() => [
|
|
288
|
+
u(e.$slots, "option", {
|
|
284
289
|
option: l,
|
|
285
290
|
index: f,
|
|
286
|
-
active:
|
|
291
|
+
active: i(l)
|
|
287
292
|
}, () => [
|
|
288
|
-
y("view",
|
|
293
|
+
y("view", We, K(l[e.labelKey]), 1)
|
|
289
294
|
])
|
|
290
295
|
]),
|
|
291
296
|
_: 2
|
|
292
297
|
}, [
|
|
293
|
-
|
|
298
|
+
i(l) ? {
|
|
294
299
|
name: "end",
|
|
295
|
-
fn:
|
|
300
|
+
fn: s(() => [
|
|
296
301
|
t[11] || (t[11] = y("van-icon", {
|
|
297
302
|
class: "sun-selector-option-icon",
|
|
298
303
|
slot: "right-icon",
|
|
@@ -308,18 +313,21 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
|
|
|
308
313
|
]),
|
|
309
314
|
_: 3
|
|
310
315
|
}),
|
|
311
|
-
|
|
312
|
-
|
|
316
|
+
u(e.$slots, "list", {
|
|
317
|
+
rendered: h.value,
|
|
318
|
+
ListTemplate: p(M)
|
|
319
|
+
}, () => [
|
|
320
|
+
g(p(M))
|
|
313
321
|
])
|
|
314
322
|
]),
|
|
315
323
|
_: 2
|
|
316
324
|
}, [
|
|
317
|
-
|
|
325
|
+
S.value ? {
|
|
318
326
|
name: "extra",
|
|
319
|
-
fn:
|
|
327
|
+
fn: s(() => [
|
|
320
328
|
y("view", {
|
|
321
329
|
class: "sun-selector-clear-btn",
|
|
322
|
-
onTap: t[4] || (t[4] = (l) =>
|
|
330
|
+
onTap: t[4] || (t[4] = (l) => B())
|
|
323
331
|
}, "清除", 32)
|
|
324
332
|
]),
|
|
325
333
|
key: "0"
|
|
@@ -333,5 +341,5 @@ const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n =
|
|
|
333
341
|
}
|
|
334
342
|
});
|
|
335
343
|
export {
|
|
336
|
-
|
|
344
|
+
Ie as default
|
|
337
345
|
};
|
package/index102.js
CHANGED
package/index103.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index75.js";
|
|
2
2
|
import m from "./index91.js";
|
|
3
3
|
import e from "./index111.js";
|
|
4
|
-
import a from "./
|
|
4
|
+
import a from "./index54.js";
|
|
5
5
|
var s = Object.getOwnPropertySymbols, f = s ? function(r) {
|
|
6
6
|
for (var t = []; r; )
|
|
7
7
|
o(t, e(r)), r = m(r);
|
package/index111.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "./index77.js";
|
|
2
|
-
import a from "./
|
|
2
|
+
import a from "./index54.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/index117.js
CHANGED
package/index126.js
CHANGED
package/index133.js
CHANGED
package/index17.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/index24.js
CHANGED
package/index25.js
CHANGED