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