@solar-taro/ui-vant 1.3.5 → 1.4.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 +8 -0
- package/index11.js +147 -124
- package/index125.js +5 -5
- package/index126.js +1 -1
- package/index134.js +3 -3
- package/index135.js +4 -4
- package/index136.js +4 -10
- package/index137.js +10 -6
- package/index138.js +6 -6
- package/index139.js +6 -4
- 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/index26.js +1 -1
- package/index28.js +5 -3
- package/index29.js +9 -5
- package/index30.js +7 -8
- package/index31.js +3 -8
- package/index32.js +1 -1
- package/index34.js +1 -1
- package/index4.js +1 -1
- package/index63.js +7 -11
- package/index64.js +9 -7
- package/index65.js +11 -9
- package/index70.js +1 -1
- package/index71.js +1 -1
- package/index74.js +1 -1
- package/index75.js +1 -1
- package/index9.js +2 -2
- package/package.json +1 -1
- package/selector/index.scss +3 -3
- package/selector/index.vue.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 1.3.6 (2025-09-28)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for ui-vant to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 1.3.5 (2025-09-28)
|
|
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
|
## 1.3.4 (2025-09-24)
|
|
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/index11.js
CHANGED
|
@@ -1,28 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useFilterList as
|
|
3
|
-
import { SunLazyRender as
|
|
4
|
-
import C from "./
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}, ke = ["onTap"], Ve = {
|
|
15
|
-
class: "sun-selector-option-label",
|
|
16
|
-
name: "title"
|
|
17
|
-
}, $e = {
|
|
18
|
-
key: 0,
|
|
19
|
-
class: "sun-selector-option-icon",
|
|
20
|
-
slot: "right-icon",
|
|
21
|
-
name: "success"
|
|
22
|
-
}, Ke = {
|
|
1
|
+
import { defineComponent as H, ref as L, computed as h, 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 te, normalizeClass as oe, withCtx as ne, createSlots as se, createVNode as re, normalizeStyle as ae, createBlock as ie, Fragment as ue, renderList as de } from "vue";
|
|
2
|
+
import { useFilterList as ce } from "@solar-taro/core";
|
|
3
|
+
import { SunLazyRender as pe, SunVirtualScroll as fe } from "@solar-taro/ui-sun";
|
|
4
|
+
import C from "./index31.js";
|
|
5
|
+
import E from "./index6.js";
|
|
6
|
+
import ve from "./index7.js";
|
|
7
|
+
const p = J, s = Q, r = U, d = X, F = Y, me = Z, O = _, i = x, R = ee, ye = le, f = te, P = oe, c = ne, j = se, I = re, z = ae, N = ie, T = ue, he = de, ge = ["label", "value", "placeholder", "required", "disabled"], be = {
|
|
8
|
+
key: 1,
|
|
9
|
+
name: "right-icon"
|
|
10
|
+
}, ke = ["label", "value", "placeholder", "use-right-icon-slot", "disabled"], Ve = {
|
|
11
|
+
key: 1,
|
|
12
|
+
name: "right-icon"
|
|
13
|
+
}, $e = ["show", "title"], Se = ["value"], Ke = { class: "sun-selector-option-label" }, we = {
|
|
23
14
|
key: 0,
|
|
24
15
|
class: "van-button-container"
|
|
25
|
-
},
|
|
16
|
+
}, qe = /* @__PURE__ */ H({
|
|
26
17
|
__name: "index",
|
|
27
18
|
props: {
|
|
28
19
|
type: { default: "field" },
|
|
@@ -34,7 +25,7 @@ const y = _, a = A, s = G, u = H, L = J, de = Q, E = U, d = X, F = Y, c = Z, O =
|
|
|
34
25
|
labelKey: { default: "fullName" },
|
|
35
26
|
valueKey: { default: "id" },
|
|
36
27
|
loading: { type: Boolean },
|
|
37
|
-
height: { default: "
|
|
28
|
+
height: { default: "64vh" },
|
|
38
29
|
required: { type: Boolean },
|
|
39
30
|
disabled: { type: Boolean },
|
|
40
31
|
delimiter: { default: "," },
|
|
@@ -45,13 +36,13 @@ const y = _, a = A, s = G, u = H, L = J, de = Q, E = U, d = X, F = Y, c = Z, O =
|
|
|
45
36
|
compareWith: { type: Function, default: (g, b) => g === b }
|
|
46
37
|
},
|
|
47
38
|
emits: ["update:modelValue", "select", "unselect", "clear", "close", "confirm", "refresh"],
|
|
48
|
-
setup(g, { expose: b, emit:
|
|
49
|
-
const t = g,
|
|
39
|
+
setup(g, { expose: b, emit: M }) {
|
|
40
|
+
const t = g, a = M, k = L(!1), V = L(!1), { keyword: W, filteredList: $ } = ce(
|
|
50
41
|
() => t.options,
|
|
51
42
|
(e, l) => e[t.labelKey].includes(l.value)
|
|
52
|
-
),
|
|
43
|
+
), S = h(() => {
|
|
53
44
|
var e;
|
|
54
|
-
if (
|
|
45
|
+
if (v.value) {
|
|
55
46
|
const l = C(t.modelValue) ? null : t.options.find(
|
|
56
47
|
(n) => t.compareWith(n[t.valueKey], t.modelValue)
|
|
57
48
|
);
|
|
@@ -63,23 +54,23 @@ const y = _, a = A, s = G, u = H, L = J, de = Q, E = U, d = X, F = Y, c = Z, O =
|
|
|
63
54
|
return ((n = t.options.find((o) => t.compareWith(o[t.valueKey], l))) == null ? void 0 : n[t.labelKey]) || "";
|
|
64
55
|
}
|
|
65
56
|
).join(t.delimiter);
|
|
66
|
-
}),
|
|
57
|
+
}), K = h(() => !C(t.modelValue) && !t.required), v = h(() => t.mode === "single"), A = h(() => {
|
|
67
58
|
var n, o;
|
|
68
|
-
let e, l =
|
|
59
|
+
let e, l = 47;
|
|
69
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 };
|
|
70
61
|
});
|
|
71
|
-
function
|
|
62
|
+
function u(e) {
|
|
72
63
|
var n;
|
|
73
64
|
const l = e[t.valueKey];
|
|
74
|
-
return
|
|
65
|
+
return v.value ? C(t.modelValue) ? !1 : t.compareWith(t.modelValue, l) : ((n = t.modelValue) == null ? void 0 : n.some((o) => t.compareWith(o, l))) || !1;
|
|
75
66
|
}
|
|
76
|
-
function
|
|
67
|
+
function m() {
|
|
77
68
|
t.disabled || (k.value = !0, V.value || setTimeout(() => {
|
|
78
69
|
V.value = !0;
|
|
79
70
|
}, 300));
|
|
80
71
|
}
|
|
81
|
-
function
|
|
82
|
-
k.value = !1,
|
|
72
|
+
function y() {
|
|
73
|
+
k.value = !1, a("close");
|
|
83
74
|
}
|
|
84
75
|
function q() {
|
|
85
76
|
var l;
|
|
@@ -88,155 +79,187 @@ const y = _, a = A, s = G, u = H, L = J, de = Q, E = U, d = X, F = Y, c = Z, O =
|
|
|
88
79
|
(o) => t.compareWith(o[t.valueKey], n)
|
|
89
80
|
)
|
|
90
81
|
)) || [];
|
|
91
|
-
|
|
82
|
+
a("confirm", e), y();
|
|
92
83
|
}
|
|
93
|
-
function
|
|
84
|
+
function D(e) {
|
|
94
85
|
const l = e[t.valueKey];
|
|
95
86
|
let n = t.modelValue;
|
|
96
|
-
|
|
87
|
+
v.value ? (u(e) ? t.required || (a("unselect", e), n = null) : (a("select", e), n = l), y()) : u(e) ? (a("unselect", e), n = t.modelValue.filter(
|
|
97
88
|
(o) => !t.compareWith(o, l)
|
|
98
|
-
)) : (
|
|
89
|
+
)) : (a("select", e), n = (t.modelValue || []).concat(
|
|
99
90
|
e[t.valueKey]
|
|
100
|
-
)),
|
|
91
|
+
)), a("update:modelValue", n);
|
|
101
92
|
}
|
|
102
|
-
function
|
|
103
|
-
|
|
93
|
+
function w() {
|
|
94
|
+
a("clear", t.modelValue), a("update:modelValue", null);
|
|
104
95
|
}
|
|
105
96
|
return b({
|
|
106
|
-
present:
|
|
107
|
-
clear:
|
|
97
|
+
present: m,
|
|
98
|
+
clear: w
|
|
108
99
|
}), (e, l) => {
|
|
109
|
-
const n =
|
|
110
|
-
return
|
|
111
|
-
|
|
112
|
-
present:
|
|
113
|
-
label:
|
|
100
|
+
const n = me("readonly");
|
|
101
|
+
return s(), r(T, null, [
|
|
102
|
+
p(e.$slots, "default", {
|
|
103
|
+
present: m,
|
|
104
|
+
label: S.value
|
|
114
105
|
}, () => [
|
|
115
|
-
e.type === "field" ?
|
|
106
|
+
e.type === "field" ? O((s(), r("van-field", F({ key: 0 }, e.$attrs, {
|
|
116
107
|
class: "sun-selector",
|
|
117
108
|
label: e.label,
|
|
118
|
-
value:
|
|
109
|
+
value: S.value,
|
|
119
110
|
placeholder: e.placeholder,
|
|
120
111
|
required: e.required,
|
|
121
112
|
disabled: e.disabled,
|
|
122
|
-
onClickInput: l[1] || (l[1] = (o) =>
|
|
113
|
+
onClickInput: l[1] || (l[1] = (o) => m())
|
|
123
114
|
}), [
|
|
124
|
-
|
|
115
|
+
K.value ? (s(), r("van-icon", {
|
|
125
116
|
key: 0,
|
|
126
117
|
slot: "right-icon",
|
|
127
118
|
name: "clear",
|
|
128
|
-
onTap: l[0] || (l[0] = (o) =>
|
|
129
|
-
}, null, 32)) :
|
|
130
|
-
|
|
119
|
+
onTap: l[0] || (l[0] = (o) => w())
|
|
120
|
+
}, null, 32)) : d("", !0),
|
|
121
|
+
e.$slots.end ? (s(), r("slot-view", be, [
|
|
122
|
+
p(e.$slots, "end")
|
|
123
|
+
])) : d("", !0)
|
|
124
|
+
], 16, ge)), [
|
|
131
125
|
[n]
|
|
132
|
-
]) : e.type === "search" ?
|
|
126
|
+
]) : e.type === "search" ? O((s(), r("van-search", F({ key: 1 }, e.$attrs, {
|
|
133
127
|
class: "sun-selector",
|
|
134
128
|
label: e.label,
|
|
135
|
-
value:
|
|
129
|
+
value: S.value,
|
|
136
130
|
placeholder: e.placeholder,
|
|
137
|
-
"use-right-icon-slot":
|
|
131
|
+
"use-right-icon-slot": K.value,
|
|
138
132
|
shape: "round",
|
|
139
133
|
clearable: !1,
|
|
140
134
|
disabled: e.disabled,
|
|
141
|
-
onClickInput: l[3] || (l[3] = (o) =>
|
|
135
|
+
onClickInput: l[3] || (l[3] = (o) => m())
|
|
142
136
|
}), [
|
|
143
|
-
|
|
137
|
+
K.value ? (s(), r("van-icon", {
|
|
144
138
|
key: 0,
|
|
145
139
|
slot: "right-icon",
|
|
146
140
|
name: "clear",
|
|
147
|
-
onTap: l[2] || (l[2] = (o) =>
|
|
148
|
-
}, null, 32)) :
|
|
149
|
-
|
|
141
|
+
onTap: l[2] || (l[2] = (o) => w())
|
|
142
|
+
}, null, 32)) : d("", !0),
|
|
143
|
+
e.$slots.end ? (s(), r("slot-view", Ve, [
|
|
144
|
+
p(e.$slots, "end")
|
|
145
|
+
])) : d("", !0)
|
|
146
|
+
], 16, ke)), [
|
|
150
147
|
[n]
|
|
151
|
-
]) :
|
|
148
|
+
]) : d("", !0)
|
|
152
149
|
]),
|
|
153
|
-
|
|
154
|
-
default:
|
|
155
|
-
|
|
150
|
+
I(i(pe), { hook: "created" }, {
|
|
151
|
+
default: c(() => [
|
|
152
|
+
f("van-action-sheet", {
|
|
156
153
|
show: k.value,
|
|
157
154
|
title: e.placeholder,
|
|
158
155
|
"close-on-click-overlay": !0,
|
|
159
|
-
onClose: l[8] || (l[8] = (o) =>
|
|
160
|
-
onCancel: l[9] || (l[9] = (o) =>
|
|
156
|
+
onClose: l[8] || (l[8] = (o) => y()),
|
|
157
|
+
onCancel: l[9] || (l[9] = (o) => y())
|
|
161
158
|
}, [
|
|
162
|
-
e.searchable ? (
|
|
159
|
+
e.searchable ? (s(), r("van-search", {
|
|
163
160
|
key: 0,
|
|
164
161
|
shape: "round",
|
|
165
162
|
"input-align": "center",
|
|
166
|
-
value:
|
|
163
|
+
value: i(W),
|
|
167
164
|
placeholder: "输入关键字搜索",
|
|
168
165
|
onChange: l[4] || (l[4] = (o) => W.value = o.detail.trim())
|
|
169
|
-
}, null, 40,
|
|
170
|
-
e.virtual ? (
|
|
171
|
-
V.value ? (
|
|
166
|
+
}, null, 40, Se)) : d("", !0),
|
|
167
|
+
e.virtual ? (s(), r(T, { key: 1 }, [
|
|
168
|
+
V.value ? (s(), N(i(fe), {
|
|
172
169
|
key: 0,
|
|
173
170
|
class: "sun-selector-options",
|
|
174
171
|
refresher: e.refresher,
|
|
175
172
|
refreshing: e.refreshing,
|
|
176
|
-
items:
|
|
177
|
-
"item-size":
|
|
173
|
+
items: i($),
|
|
174
|
+
"item-size": A.value.itemSize,
|
|
178
175
|
"item-key": e.valueKey,
|
|
179
|
-
style:
|
|
180
|
-
onRefresh: l[5] || (l[5] = (o) =>
|
|
176
|
+
style: z({ height: e.height }),
|
|
177
|
+
onRefresh: l[5] || (l[5] = (o) => a("refresh"))
|
|
181
178
|
}, {
|
|
182
|
-
default:
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}, (
|
|
189
|
-
c(
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
],
|
|
198
|
-
|
|
179
|
+
default: c(({ item: o, index: B }) => [
|
|
180
|
+
I(i(E), {
|
|
181
|
+
lass: "sun-selector-option",
|
|
182
|
+
class: P({ "sun-selector-option-active": u(o) }),
|
|
183
|
+
clickable: !0,
|
|
184
|
+
onTap: (G) => D(o)
|
|
185
|
+
}, j({
|
|
186
|
+
default: c(() => [
|
|
187
|
+
p(e.$slots, "option", {
|
|
188
|
+
option: o,
|
|
189
|
+
index: B,
|
|
190
|
+
active: u(o)
|
|
191
|
+
}, () => [
|
|
192
|
+
ye(R(o[e.labelKey]), 1)
|
|
193
|
+
])
|
|
194
|
+
]),
|
|
195
|
+
_: 2
|
|
196
|
+
}, [
|
|
197
|
+
u(o) ? {
|
|
198
|
+
name: "end",
|
|
199
|
+
fn: c(() => [
|
|
200
|
+
l[10] || (l[10] = f("van-icon", {
|
|
201
|
+
class: "sun-selector-option-icon",
|
|
202
|
+
slot: "right-icon",
|
|
203
|
+
name: "success"
|
|
204
|
+
}, null, -1))
|
|
205
|
+
]),
|
|
206
|
+
key: "0"
|
|
207
|
+
} : void 0
|
|
208
|
+
]), 1032, ["class", "onTap"])
|
|
199
209
|
]),
|
|
200
210
|
_: 3
|
|
201
|
-
}, 8, ["refresher", "refreshing", "items", "item-size", "item-key", "style"])) : (
|
|
211
|
+
}, 8, ["refresher", "refreshing", "items", "item-size", "item-key", "style"])) : (s(), r("view", {
|
|
202
212
|
key: 1,
|
|
203
|
-
style:
|
|
213
|
+
style: z({ height: e.height })
|
|
204
214
|
}, null, 4))
|
|
205
|
-
], 64)) : (
|
|
215
|
+
], 64)) : (s(), N(i(ve), {
|
|
206
216
|
key: 2,
|
|
207
217
|
class: "sun-selector-options",
|
|
208
218
|
refresher: e.refresher,
|
|
209
219
|
refreshing: e.refreshing,
|
|
210
|
-
data:
|
|
220
|
+
data: i($),
|
|
211
221
|
loading: e.loading,
|
|
212
222
|
"empty-type": "search",
|
|
213
|
-
style:
|
|
214
|
-
onRefresh: l[6] || (l[6] = (o) =>
|
|
223
|
+
style: z({ height: e.height }),
|
|
224
|
+
onRefresh: l[6] || (l[6] = (o) => a("refresh"))
|
|
215
225
|
}, {
|
|
216
|
-
default:
|
|
217
|
-
(
|
|
226
|
+
default: c(() => [
|
|
227
|
+
(s(!0), r(T, null, he(i($), (o, B) => (s(), N(i(E), {
|
|
218
228
|
key: o[e.valueKey],
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}, (
|
|
224
|
-
c(
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
],
|
|
233
|
-
|
|
229
|
+
lass: "sun-selector-option",
|
|
230
|
+
class: P({ "sun-selector-option-active": u(o) }),
|
|
231
|
+
clickable: !0,
|
|
232
|
+
onTap: (G) => D(o)
|
|
233
|
+
}, j({
|
|
234
|
+
default: c(() => [
|
|
235
|
+
p(e.$slots, "option", {
|
|
236
|
+
option: o,
|
|
237
|
+
index: B,
|
|
238
|
+
active: u(o)
|
|
239
|
+
}, () => [
|
|
240
|
+
f("view", Ke, R(o[e.labelKey]), 1)
|
|
241
|
+
])
|
|
242
|
+
]),
|
|
243
|
+
_: 2
|
|
244
|
+
}, [
|
|
245
|
+
u(o) ? {
|
|
246
|
+
name: "end",
|
|
247
|
+
fn: c(() => [
|
|
248
|
+
l[11] || (l[11] = f("van-icon", {
|
|
249
|
+
class: "sun-selector-option-icon",
|
|
250
|
+
slot: "right-icon",
|
|
251
|
+
name: "success"
|
|
252
|
+
}, null, -1))
|
|
253
|
+
]),
|
|
254
|
+
key: "0"
|
|
255
|
+
} : void 0
|
|
256
|
+
]), 1032, ["class", "onTap"]))), 128))
|
|
234
257
|
]),
|
|
235
258
|
_: 3
|
|
236
259
|
}, 8, ["refresher", "refreshing", "data", "loading", "style"])),
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
260
|
+
p(e.$slots, "footer", { confirm: q }, () => [
|
|
261
|
+
v.value ? d("", !0) : (s(), r("view", we, [
|
|
262
|
+
f("van-button", {
|
|
240
263
|
type: "primary",
|
|
241
264
|
round: "true",
|
|
242
265
|
block: "true",
|
|
@@ -244,7 +267,7 @@ const y = _, a = A, s = G, u = H, L = J, de = Q, E = U, d = X, F = Y, c = Z, O =
|
|
|
244
267
|
}, "确定", 32)
|
|
245
268
|
]))
|
|
246
269
|
])
|
|
247
|
-
], 40,
|
|
270
|
+
], 40, $e)
|
|
248
271
|
]),
|
|
249
272
|
_: 3
|
|
250
273
|
})
|
|
@@ -253,5 +276,5 @@ const y = _, a = A, s = G, u = H, L = J, de = Q, E = U, d = X, F = Y, c = Z, O =
|
|
|
253
276
|
}
|
|
254
277
|
});
|
|
255
278
|
export {
|
|
256
|
-
|
|
279
|
+
qe as default
|
|
257
280
|
};
|
package/index125.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import p from "./
|
|
2
|
-
import a from "./
|
|
3
|
-
import l from "./
|
|
4
|
-
import s from "./
|
|
5
|
-
import m from "./
|
|
1
|
+
import p from "./index135.js";
|
|
2
|
+
import a from "./index136.js";
|
|
3
|
+
import l from "./index137.js";
|
|
4
|
+
import s from "./index138.js";
|
|
5
|
+
import m from "./index139.js";
|
|
6
6
|
function t(o) {
|
|
7
7
|
var e = -1, h = o == null ? 0 : o.length;
|
|
8
8
|
for (this.clear(); ++e < h; ) {
|
package/index126.js
CHANGED
package/index134.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
function e(t) {
|
|
2
|
+
var o = typeof t;
|
|
3
|
+
return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? t !== "__proto__" : t === null;
|
|
4
4
|
}
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
package/index135.js
CHANGED
package/index136.js
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
var r = this.__data__;
|
|
5
|
-
if (e) {
|
|
6
|
-
var t = r[a];
|
|
7
|
-
return t === n ? void 0 : t;
|
|
8
|
-
}
|
|
9
|
-
return _.call(r, a) ? r[a] : void 0;
|
|
1
|
+
function s(t) {
|
|
2
|
+
var e = this.has(t) && delete this.__data__[t];
|
|
3
|
+
return this.size -= e ? 1 : 0, e;
|
|
10
4
|
}
|
|
11
5
|
export {
|
|
12
|
-
|
|
6
|
+
s as default
|
|
13
7
|
};
|
package/index137.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
function
|
|
4
|
-
var
|
|
5
|
-
|
|
1
|
+
import e from "./index141.js";
|
|
2
|
+
var n = "__lodash_hash_undefined__", o = Object.prototype, _ = o.hasOwnProperty;
|
|
3
|
+
function h(a) {
|
|
4
|
+
var r = this.__data__;
|
|
5
|
+
if (e) {
|
|
6
|
+
var t = r[a];
|
|
7
|
+
return t === n ? void 0 : t;
|
|
8
|
+
}
|
|
9
|
+
return _.call(r, a) ? r[a] : void 0;
|
|
6
10
|
}
|
|
7
11
|
export {
|
|
8
|
-
|
|
12
|
+
h as default
|
|
9
13
|
};
|
package/index138.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
function
|
|
4
|
-
var
|
|
5
|
-
return
|
|
1
|
+
import r from "./index141.js";
|
|
2
|
+
var e = Object.prototype, o = e.hasOwnProperty;
|
|
3
|
+
function p(t) {
|
|
4
|
+
var a = this.__data__;
|
|
5
|
+
return r ? a[t] !== void 0 : o.call(a, t);
|
|
6
6
|
}
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
p as default
|
|
9
9
|
};
|
package/index139.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import e from "./index141.js";
|
|
2
|
+
var h = "__lodash_hash_undefined__";
|
|
3
|
+
function s(t, a) {
|
|
4
|
+
var _ = this.__data__;
|
|
5
|
+
return this.size += this.has(t) ? 0 : 1, _[t] = e && a === void 0 ? h : a, this;
|
|
4
6
|
}
|
|
5
7
|
export {
|
|
6
|
-
|
|
8
|
+
s as default
|
|
7
9
|
};
|
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/index26.js
CHANGED
package/index28.js
CHANGED
package/index29.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import "rxjs";
|
|
2
|
+
import { ref as i } from "vue";
|
|
3
|
+
import { takeUntilDestroyed as p } from "./index32.js";
|
|
4
|
+
function c(t, o) {
|
|
5
|
+
const e = i(o);
|
|
6
|
+
return (typeof t == "function" ? t() : t).pipe(p()).subscribe((r) => {
|
|
7
|
+
e.value = r;
|
|
8
|
+
}), e;
|
|
5
9
|
}
|
|
6
10
|
export {
|
|
7
|
-
|
|
11
|
+
c as useObservable
|
|
8
12
|
};
|
package/index30.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "rxjs";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
e.value = r;
|
|
1
|
+
import { Subject as o } from "rxjs";
|
|
2
|
+
import { onUnmounted as t } from "vue";
|
|
3
|
+
function m() {
|
|
4
|
+
const e = new o();
|
|
5
|
+
return t(() => {
|
|
6
|
+
e.next(), e.complete();
|
|
8
7
|
}), e;
|
|
9
8
|
}
|
|
10
9
|
export {
|
|
11
|
-
|
|
10
|
+
m as useDestroyed
|
|
12
11
|
};
|
package/index31.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
function m() {
|
|
4
|
-
const e = new o();
|
|
5
|
-
return t(() => {
|
|
6
|
-
e.next(), e.complete();
|
|
7
|
-
}), e;
|
|
1
|
+
function n(l) {
|
|
2
|
+
return l == null;
|
|
8
3
|
}
|
|
9
4
|
export {
|
|
10
|
-
|
|
5
|
+
n as default
|
|
11
6
|
};
|
package/index32.js
CHANGED
package/index34.js
CHANGED
package/index4.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as E, ref as N, computed as r, mergeProps as I, createElementVNode as L, openBlock as P, createElementBlock as $, createCommentVNode as q } from "vue";
|
|
2
|
-
import y from "./
|
|
2
|
+
import y from "./index28.js";
|
|
3
3
|
const D = I, A = L, v = P, h = $, T = q, j = ["show"], z = ["title", "value-key", "columns", "loading"], H = /* @__PURE__ */ E({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "index",
|
package/index63.js
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var n = f[s], r = void 0;
|
|
8
|
-
r === void 0 && (r = a[n]), d ? t(i, n, r) : m(i, n, r);
|
|
9
|
-
}
|
|
10
|
-
return i;
|
|
1
|
+
import t from "./index64.js";
|
|
2
|
+
import i from "./index35.js";
|
|
3
|
+
var s = Object.prototype, p = s.hasOwnProperty;
|
|
4
|
+
function l(r, a, o) {
|
|
5
|
+
var n = r[a];
|
|
6
|
+
(!(p.call(r, a) && i(n, o)) || o === void 0 && !(a in r)) && t(r, a, o);
|
|
11
7
|
}
|
|
12
8
|
export {
|
|
13
|
-
|
|
9
|
+
l as default
|
|
14
10
|
};
|
package/index64.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import u from "./index68.js";
|
|
2
|
+
function i(r, e, t) {
|
|
3
|
+
e == "__proto__" && u ? u(r, e, {
|
|
4
|
+
configurable: !0,
|
|
5
|
+
enumerable: !0,
|
|
6
|
+
value: t,
|
|
7
|
+
writable: !0
|
|
8
|
+
}) : r[e] = t;
|
|
7
9
|
}
|
|
8
10
|
export {
|
|
9
|
-
|
|
11
|
+
i as default
|
|
10
12
|
};
|
package/index65.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import m from "./index63.js";
|
|
2
|
+
import t from "./index64.js";
|
|
3
|
+
function v(a, f, i, u) {
|
|
4
|
+
var d = !i;
|
|
5
|
+
i || (i = {});
|
|
6
|
+
for (var s = -1, e = f.length; ++s < e; ) {
|
|
7
|
+
var n = f[s], r = void 0;
|
|
8
|
+
r === void 0 && (r = a[n]), d ? t(i, n, r) : m(i, n, r);
|
|
9
|
+
}
|
|
10
|
+
return i;
|
|
9
11
|
}
|
|
10
12
|
export {
|
|
11
|
-
|
|
13
|
+
v as default
|
|
12
14
|
};
|
package/index70.js
CHANGED
package/index71.js
CHANGED
package/index74.js
CHANGED
package/index75.js
CHANGED
package/index9.js
CHANGED
|
@@ -4,10 +4,10 @@ import { BluetoothLowEnergeDevice as me } from "@opper/wx";
|
|
|
4
4
|
import { checkBluetooth as V, bluetoothService as w, vibrator as fe, overlay as r, withLoading as we } from "@solar-taro/core";
|
|
5
5
|
import { getSystemInfo as he, openSetting as be } from "@tarojs/taro";
|
|
6
6
|
import { filter as A, switchMap as m, combineLatest as ge, of as E, map as $, catchError as D, tap as B, timer as ye, takeUntil as N, finalize as O, from as _e } from "rxjs";
|
|
7
|
-
import { useObservable as j } from "./
|
|
7
|
+
import { useObservable as j } from "./index29.js";
|
|
8
8
|
import De from "./index7.js";
|
|
9
9
|
import { dialog as Se } from "./index16.js";
|
|
10
|
-
import { useDestroyed as F } from "./
|
|
10
|
+
import { useDestroyed as F } from "./index30.js";
|
|
11
11
|
const l = Z, n = ee, p = te, Ce = ne, ke = oe, xe = ie, Ie = se, T = re, h = le, b = ce, Ee = ae, $e = ue, Be = de, Ne = pe, Oe = { class: "sun-opper-controller" }, Te = ["show"], Me = { class: "sun-opper-controller-device" }, Pe = { class: "sun-opper-controller-device-header" }, Re = { class: "sun-opper-controller-device-name" }, ze = { class: "sun-opper-controller-device-infos" }, Le = { class: "sun-opper-controller-device-info" }, Ve = { class: "sun-opper-controller-device-info" }, Ae = { class: "sun-opper-controller-device-info" }, je = { class: "sun-opper-controller-device-info" }, Fe = { class: "van-button-container" }, Ue = ["title", "label", "onTap"], qe = { class: "van-button-container" }, Ke = ["show"], nt = /* @__PURE__ */ J({
|
|
12
12
|
__name: "index",
|
|
13
13
|
props: {
|
package/package.json
CHANGED
package/selector/index.scss
CHANGED
package/selector/index.vue.d.ts
CHANGED
|
@@ -9,11 +9,11 @@ declare function __VLS_template(): {
|
|
|
9
9
|
present: typeof present;
|
|
10
10
|
label: any;
|
|
11
11
|
}): any;
|
|
12
|
+
end?(_: {}): any;
|
|
12
13
|
option?(_: {
|
|
13
14
|
option: SelectorOption;
|
|
14
15
|
index: number;
|
|
15
16
|
active: boolean;
|
|
16
|
-
select: () => void;
|
|
17
17
|
}): any;
|
|
18
18
|
footer?(_: {
|
|
19
19
|
confirm: typeof confirm;
|