@toife/vue 1.0.13 → 1.0.14
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/dist/components/t-collapse.vue.d.ts +1 -1
- package/dist/components/t-switch.vue.d.ts +12 -0
- package/dist/components/{t-toogle-password.vue.d.ts → t-toggle-password.vue.d.ts} +2 -2
- package/dist/index.css +1 -1
- package/dist/index.es.js +430 -411
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { createElementBlock as f, openBlock as c, renderSlot as b, defineComponent as T, ref as v, computed as
|
|
1
|
+
import { createElementBlock as f, openBlock as c, renderSlot as b, defineComponent as T, ref as v, computed as S, reactive as Z, watch as D, onUnmounted as A, Fragment as V, withDirectives as Y, createCommentVNode as E, normalizeStyle as I, normalizeClass as x, vShow as U, createElementVNode as k, createVNode as ee, createBlock as z, withCtx as P, toDisplayString as B, renderList as W, createTextVNode as X, createApp as F, h as G, unref as R, onMounted as te, resolveDynamicComponent as le, markRaw as ce } from "vue";
|
|
2
2
|
import { gesture as N } from "@toife/gesture";
|
|
3
3
|
import { useRouter as ne, useRoute as ie } from "vue-router";
|
|
4
|
-
const
|
|
4
|
+
const O = (e) => e && (e.tagName == "INPUT" || e.tagName == "TEXTAREA" || e.isContentEditable), L = () => {
|
|
5
5
|
const e = document.activeElement;
|
|
6
6
|
e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable) && e.blur();
|
|
7
7
|
}, ue = () => {
|
|
8
8
|
document.addEventListener("contextmenu", (e) => e.preventDefault()), document.addEventListener("dblclick", (e) => e.preventDefault()), document.addEventListener("selectstart", (e) => e.preventDefault()), document.addEventListener("gesturestart", (e) => e.preventDefault()), document.addEventListener("pointerup", (e) => {
|
|
9
|
-
!
|
|
9
|
+
!O(e.target) && L();
|
|
10
10
|
});
|
|
11
|
-
},
|
|
12
|
-
const
|
|
13
|
-
for (const [
|
|
14
|
-
|
|
15
|
-
return
|
|
11
|
+
}, y = (e, o) => {
|
|
12
|
+
const t = e.__vccOpts || e;
|
|
13
|
+
for (const [n, s] of o)
|
|
14
|
+
t[n] = s;
|
|
15
|
+
return t;
|
|
16
16
|
}, de = {}, pe = { class: "t-app" };
|
|
17
|
-
function fe(e,
|
|
17
|
+
function fe(e, o) {
|
|
18
18
|
return c(), f("div", pe, [
|
|
19
19
|
b(e.$slots, "default")
|
|
20
20
|
]);
|
|
21
21
|
}
|
|
22
|
-
const me = /* @__PURE__ */
|
|
22
|
+
const me = /* @__PURE__ */ y(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
23
23
|
__name: "t-present",
|
|
24
24
|
props: {
|
|
25
25
|
keepalive: { type: Boolean, default: !0 },
|
|
@@ -28,77 +28,77 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
28
28
|
placement: { default: "bottom" }
|
|
29
29
|
},
|
|
30
30
|
emits: ["dismiss"],
|
|
31
|
-
setup(e, { expose:
|
|
32
|
-
const
|
|
31
|
+
setup(e, { expose: o, emit: t }) {
|
|
32
|
+
const n = v(0), s = v(!1), a = v(), l = v(), i = e, _ = t, p = S(() => s.value || i.keepalive), m = Z({
|
|
33
33
|
"--t-present-backdrop-opacity": "0.4",
|
|
34
34
|
"--t-present-transition": "0.2s",
|
|
35
35
|
"--t-present-content-transform": "0px",
|
|
36
36
|
"--t-present-content-opacity": "1"
|
|
37
|
-
}),
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
|
|
37
|
+
}), g = (u) => {
|
|
38
|
+
i.backdrop ? u?.backdropOpacity && (m["--t-present-backdrop-opacity"] = u.backdropOpacity) : m["--t-present-backdrop-opacity"] = "0", u?.transition && (m["--t-present-transition"] = u.transition, m["--t-present-transition"] = u.transition), u?.contentTransform && (m["--t-present-content-transform"] = u.contentTransform), u?.contentOpacity && (m["--t-present-content-opacity"] = u.contentOpacity);
|
|
39
|
+
}, r = () => {
|
|
40
|
+
g({
|
|
41
41
|
contentTransform: "0px",
|
|
42
42
|
transition: "0.2s",
|
|
43
43
|
backdropOpacity: "0.4",
|
|
44
44
|
contentOpacity: "1"
|
|
45
45
|
});
|
|
46
|
-
},
|
|
47
|
-
let
|
|
48
|
-
|
|
49
|
-
contentTransform:
|
|
46
|
+
}, d = () => {
|
|
47
|
+
let u = "0px", w = "1";
|
|
48
|
+
i.placement == "bottom" || i.placement == "right" ? u = "100%" : i.placement == "top" || i.placement == "left" ? u = "-100%" : i.placement == "center" && (u = "0px", w = "0"), g({
|
|
49
|
+
contentTransform: u,
|
|
50
50
|
transition: "0.2s",
|
|
51
51
|
contentOpacity: w,
|
|
52
52
|
backdropOpacity: "0"
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
|
-
D(() =>
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}, 50)) : (
|
|
59
|
-
|
|
55
|
+
D(() => i.visible, () => {
|
|
56
|
+
i.visible ? (s.value = !0, n.value = Se.getNewIndex(), setTimeout(() => {
|
|
57
|
+
r();
|
|
58
|
+
}, 50)) : (d(), setTimeout(() => {
|
|
59
|
+
s.value = !1;
|
|
60
60
|
}, 200));
|
|
61
|
-
}),
|
|
62
|
-
render:
|
|
63
|
-
open:
|
|
64
|
-
close:
|
|
61
|
+
}), o({
|
|
62
|
+
render: g,
|
|
63
|
+
open: r,
|
|
64
|
+
close: d
|
|
65
65
|
});
|
|
66
66
|
let h;
|
|
67
|
-
return D(() => a.value, (
|
|
68
|
-
|
|
67
|
+
return D(() => a.value, (u) => {
|
|
68
|
+
u && (h = N(a.value, {
|
|
69
69
|
beforeEvent(w) {
|
|
70
|
-
return w.stopPropagation(),
|
|
70
|
+
return w.stopPropagation(), O(w.target) || (w.preventDefault(), L()), w.type == "pointerup";
|
|
71
71
|
},
|
|
72
72
|
up() {
|
|
73
73
|
_("dismiss", "backdrop");
|
|
74
74
|
}
|
|
75
75
|
}));
|
|
76
|
-
}),
|
|
76
|
+
}), A(() => {
|
|
77
77
|
h && h.destroy();
|
|
78
|
-
}),
|
|
78
|
+
}), d(), (u, w) => (c(), f(V, null, [
|
|
79
79
|
p.value ? Y((c(), f("div", {
|
|
80
80
|
key: 0,
|
|
81
|
-
class: x(["t-present", { [
|
|
81
|
+
class: x(["t-present", { [u.placement]: !0 }]),
|
|
82
82
|
ref_key: "present",
|
|
83
83
|
ref: l,
|
|
84
|
-
style: I({ ...m, zIndex:
|
|
84
|
+
style: I({ ...m, zIndex: n.value })
|
|
85
85
|
}, [
|
|
86
|
-
b(
|
|
86
|
+
b(u.$slots, "default", {}, void 0, !0)
|
|
87
87
|
], 6)), [
|
|
88
|
-
[U,
|
|
89
|
-
]) :
|
|
88
|
+
[U, s.value]
|
|
89
|
+
]) : E("", !0),
|
|
90
90
|
p.value ? Y((c(), f("div", {
|
|
91
91
|
key: 1,
|
|
92
92
|
class: "t-present-backdrop",
|
|
93
93
|
ref_key: "backdrop",
|
|
94
94
|
ref: a,
|
|
95
|
-
style: I({ ...m, zIndex:
|
|
95
|
+
style: I({ ...m, zIndex: n.value - 1 })
|
|
96
96
|
}, null, 4)), [
|
|
97
|
-
[U,
|
|
98
|
-
]) :
|
|
97
|
+
[U, s.value]
|
|
98
|
+
]) : E("", !0)
|
|
99
99
|
], 64));
|
|
100
100
|
}
|
|
101
|
-
}),
|
|
101
|
+
}), q = /* @__PURE__ */ y(ve, [["__scopeId", "data-v-dc2a4bc9"]]), _e = /* @__PURE__ */ T({
|
|
102
102
|
__name: "t-loading-icon",
|
|
103
103
|
props: {
|
|
104
104
|
size: {
|
|
@@ -111,7 +111,7 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
setup(e) {
|
|
114
|
-
return (
|
|
114
|
+
return (o, t) => (c(), f("span", {
|
|
115
115
|
class: "t-loading-icon",
|
|
116
116
|
style: I({
|
|
117
117
|
width: e.size,
|
|
@@ -122,7 +122,7 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
122
122
|
"aria-label": "Loading..."
|
|
123
123
|
}, null, 4));
|
|
124
124
|
}
|
|
125
|
-
}), K = /* @__PURE__ */
|
|
125
|
+
}), K = /* @__PURE__ */ y(_e, [["__scopeId", "data-v-7c463303"]]), ye = {
|
|
126
126
|
key: 0,
|
|
127
127
|
class: "loader"
|
|
128
128
|
}, ge = /* @__PURE__ */ T({
|
|
@@ -138,37 +138,37 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
138
138
|
activeBackground: { type: Boolean, default: !1 }
|
|
139
139
|
},
|
|
140
140
|
setup(e) {
|
|
141
|
-
const
|
|
142
|
-
let
|
|
143
|
-
return
|
|
144
|
-
"--color": "var(--t-color-status-" +
|
|
145
|
-
"--background-color": "var(--t-color-status-" +
|
|
146
|
-
} :
|
|
141
|
+
const o = e, t = S(() => {
|
|
142
|
+
let n;
|
|
143
|
+
return o.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(o.color) ? n = {
|
|
144
|
+
"--color": "var(--t-color-status-" + o.color + "-text)",
|
|
145
|
+
"--background-color": "var(--t-color-status-" + o.color + ")"
|
|
146
|
+
} : n = {
|
|
147
147
|
"--color": "var(--t-color-text)",
|
|
148
|
-
"--background-color":
|
|
149
|
-
} :
|
|
148
|
+
"--background-color": o.color
|
|
149
|
+
} : n = {
|
|
150
150
|
"--color": "var(--t-color-text)",
|
|
151
151
|
"--background-color": "transparent"
|
|
152
|
-
},
|
|
152
|
+
}, n;
|
|
153
153
|
});
|
|
154
|
-
return (
|
|
155
|
-
class: x(["t-button", { "active-background":
|
|
156
|
-
style: I(
|
|
154
|
+
return (n, s) => (c(), f("button", {
|
|
155
|
+
class: x(["t-button", { "active-background": o.activeBackground, rounded: o.rounded, block: o.block, ["size-" + o.size]: !0, ["variant-" + o.variant]: !0 }]),
|
|
156
|
+
style: I(t.value)
|
|
157
157
|
}, [
|
|
158
|
-
Y(
|
|
159
|
-
b(
|
|
158
|
+
Y(k("span", null, [
|
|
159
|
+
b(n.$slots, "default", {}, void 0, !0)
|
|
160
160
|
], 512), [
|
|
161
|
-
[U, !
|
|
161
|
+
[U, !o.loading]
|
|
162
162
|
]),
|
|
163
|
-
|
|
163
|
+
o.loading ? (c(), f("span", ye, [
|
|
164
164
|
ee(K, {
|
|
165
165
|
color: "var(--color)",
|
|
166
|
-
type:
|
|
166
|
+
type: o.loadingType
|
|
167
167
|
}, null, 8, ["type"])
|
|
168
|
-
])) :
|
|
168
|
+
])) : E("", !0)
|
|
169
169
|
], 6));
|
|
170
170
|
}
|
|
171
|
-
}), M = /* @__PURE__ */
|
|
171
|
+
}), M = /* @__PURE__ */ y(ge, [["__scopeId", "data-v-cdfe6af8"]]), he = {
|
|
172
172
|
key: 0,
|
|
173
173
|
class: "t-alert-header"
|
|
174
174
|
}, be = { class: "t-alert-content" }, ke = { class: "t-alert-footer" }, $e = /* @__PURE__ */ T({
|
|
@@ -179,56 +179,56 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
179
179
|
actions: {}
|
|
180
180
|
},
|
|
181
181
|
emits: ["close"],
|
|
182
|
-
setup(e, { expose:
|
|
183
|
-
const
|
|
184
|
-
let
|
|
182
|
+
setup(e, { expose: o, emit: t }) {
|
|
183
|
+
const n = e, s = v(!1), a = t, l = v();
|
|
184
|
+
let i;
|
|
185
185
|
const _ = v(!1), p = () => {
|
|
186
|
-
|
|
187
|
-
}, m = (
|
|
188
|
-
|
|
189
|
-
},
|
|
190
|
-
|
|
186
|
+
s.value = !0;
|
|
187
|
+
}, m = (r) => {
|
|
188
|
+
s.value = !1, r.handler && r.handler(), a("close", r?.data);
|
|
189
|
+
}, g = (r) => {
|
|
190
|
+
r == "backdrop" && (_.value = !0, setTimeout(() => {
|
|
191
191
|
_.value = !1;
|
|
192
192
|
}, 300));
|
|
193
193
|
};
|
|
194
|
-
return
|
|
194
|
+
return o({
|
|
195
195
|
open: p
|
|
196
|
-
}), D(() => l.value, (
|
|
197
|
-
|
|
198
|
-
beforeEvent(
|
|
199
|
-
return
|
|
196
|
+
}), D(() => l.value, (r) => {
|
|
197
|
+
r && (i = N(l.value, {
|
|
198
|
+
beforeEvent(d) {
|
|
199
|
+
return d.stopPropagation(), O(d.target) || (d.preventDefault(), L()), !1;
|
|
200
200
|
}
|
|
201
201
|
}));
|
|
202
|
-
}),
|
|
203
|
-
|
|
204
|
-
}), (
|
|
202
|
+
}), A(() => {
|
|
203
|
+
i && i.destroy();
|
|
204
|
+
}), (r, d) => (c(), z(q, {
|
|
205
205
|
placement: "center",
|
|
206
206
|
backdrop: !0,
|
|
207
207
|
keepalive: !1,
|
|
208
|
-
visible:
|
|
209
|
-
onDismiss:
|
|
208
|
+
visible: s.value,
|
|
209
|
+
onDismiss: g
|
|
210
210
|
}, {
|
|
211
211
|
default: P(() => [
|
|
212
|
-
|
|
212
|
+
k("div", {
|
|
213
213
|
class: x(["t-alert", { pop: _.value }]),
|
|
214
214
|
ref_key: "container",
|
|
215
215
|
ref: l
|
|
216
216
|
}, [
|
|
217
|
-
b(
|
|
218
|
-
|
|
217
|
+
b(r.$slots, "header", {}, () => [
|
|
218
|
+
n.title ? (c(), f("div", he, B(n.title), 1)) : E("", !0)
|
|
219
219
|
], !0),
|
|
220
|
-
b(
|
|
221
|
-
|
|
220
|
+
b(r.$slots, "content", {}, () => [
|
|
221
|
+
k("div", be, B(n.message), 1)
|
|
222
222
|
], !0),
|
|
223
|
-
b(
|
|
224
|
-
|
|
225
|
-
(c(!0), f(
|
|
223
|
+
b(r.$slots, "footer", {}, () => [
|
|
224
|
+
k("div", ke, [
|
|
225
|
+
(c(!0), f(V, null, W(n.actions, (h) => (c(), z(M, {
|
|
226
226
|
color: h.color,
|
|
227
227
|
variant: h.variant,
|
|
228
|
-
onClick: (
|
|
228
|
+
onClick: (u) => m(h)
|
|
229
229
|
}, {
|
|
230
230
|
default: P(() => [
|
|
231
|
-
|
|
231
|
+
X(B(h.text), 1)
|
|
232
232
|
]),
|
|
233
233
|
_: 2
|
|
234
234
|
}, 1032, ["color", "variant", "onClick"]))), 256))
|
|
@@ -239,28 +239,28 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
239
239
|
_: 3
|
|
240
240
|
}, 8, ["visible"]));
|
|
241
241
|
}
|
|
242
|
-
}), oe = /* @__PURE__ */
|
|
242
|
+
}), oe = /* @__PURE__ */ y($e, [["__scopeId", "data-v-5b4773ce"]]), Lt = (e = {}) => ({
|
|
243
243
|
open() {
|
|
244
|
-
return new Promise((
|
|
245
|
-
let
|
|
246
|
-
if (!
|
|
247
|
-
const
|
|
248
|
-
|
|
244
|
+
return new Promise((o) => {
|
|
245
|
+
let t = document.body.querySelector(".t-app");
|
|
246
|
+
if (!t) return;
|
|
247
|
+
const n = document.createElement("div"), s = v();
|
|
248
|
+
t.appendChild(n);
|
|
249
249
|
const a = F({
|
|
250
250
|
render() {
|
|
251
251
|
return G(oe, {
|
|
252
252
|
...e,
|
|
253
|
-
ref:
|
|
253
|
+
ref: s,
|
|
254
254
|
onClose: (l) => {
|
|
255
255
|
setTimeout(() => {
|
|
256
|
-
a.unmount(),
|
|
257
|
-
}, 300),
|
|
256
|
+
a.unmount(), n.remove();
|
|
257
|
+
}, 300), o(l);
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
261
|
});
|
|
262
|
-
a.mount(
|
|
263
|
-
|
|
262
|
+
a.mount(n), setTimeout(() => {
|
|
263
|
+
s.value?.open?.();
|
|
264
264
|
}, 50);
|
|
265
265
|
});
|
|
266
266
|
}
|
|
@@ -270,51 +270,51 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
270
270
|
actions: {}
|
|
271
271
|
},
|
|
272
272
|
emits: ["close"],
|
|
273
|
-
setup(e, { expose:
|
|
274
|
-
const
|
|
275
|
-
let
|
|
273
|
+
setup(e, { expose: o, emit: t }) {
|
|
274
|
+
const n = e, s = v(!1), a = t, l = v();
|
|
275
|
+
let i;
|
|
276
276
|
const _ = v(!1), p = () => {
|
|
277
|
-
|
|
278
|
-
}, m = (
|
|
279
|
-
|
|
280
|
-
},
|
|
281
|
-
|
|
277
|
+
s.value = !0;
|
|
278
|
+
}, m = (r) => {
|
|
279
|
+
s.value = !1, r.handler && r.handler(), a("close", r?.data);
|
|
280
|
+
}, g = (r) => {
|
|
281
|
+
r == "backdrop" && (_.value = !0, setTimeout(() => {
|
|
282
282
|
_.value = !1;
|
|
283
283
|
}, 300));
|
|
284
284
|
};
|
|
285
|
-
return
|
|
285
|
+
return o({
|
|
286
286
|
open: p
|
|
287
|
-
}), D(() => l.value, (
|
|
288
|
-
|
|
289
|
-
beforeEvent(
|
|
290
|
-
return
|
|
287
|
+
}), D(() => l.value, (r) => {
|
|
288
|
+
r && (i = N(l.value, {
|
|
289
|
+
beforeEvent(d) {
|
|
290
|
+
return d.stopPropagation(), O(d.target) || (d.preventDefault(), L()), !1;
|
|
291
291
|
}
|
|
292
292
|
}));
|
|
293
|
-
}),
|
|
294
|
-
|
|
295
|
-
}), (
|
|
293
|
+
}), A(() => {
|
|
294
|
+
i && i.destroy();
|
|
295
|
+
}), (r, d) => (c(), z(q, {
|
|
296
296
|
placement: "bottom",
|
|
297
297
|
backdrop: !0,
|
|
298
298
|
keepalive: !1,
|
|
299
|
-
visible:
|
|
300
|
-
onDismiss:
|
|
299
|
+
visible: s.value,
|
|
300
|
+
onDismiss: g
|
|
301
301
|
}, {
|
|
302
302
|
default: P(() => [
|
|
303
|
-
|
|
303
|
+
k("div", {
|
|
304
304
|
class: x(["t-action", { pop: _.value }]),
|
|
305
305
|
ref_key: "container",
|
|
306
306
|
ref: l
|
|
307
307
|
}, [
|
|
308
|
-
(c(!0), f(
|
|
309
|
-
(c(!0), f(
|
|
310
|
-
color:
|
|
311
|
-
size:
|
|
312
|
-
variant:
|
|
313
|
-
onClick: (w) => m(
|
|
308
|
+
(c(!0), f(V, null, W(n.actions, (h) => (c(), f("div", null, [
|
|
309
|
+
(c(!0), f(V, null, W(h, (u) => (c(), z(M, {
|
|
310
|
+
color: u.color,
|
|
311
|
+
size: u.size,
|
|
312
|
+
variant: u.variant,
|
|
313
|
+
onClick: (w) => m(u),
|
|
314
314
|
block: ""
|
|
315
315
|
}, {
|
|
316
316
|
default: P(() => [
|
|
317
|
-
|
|
317
|
+
X(B(u.text), 1)
|
|
318
318
|
]),
|
|
319
319
|
_: 2
|
|
320
320
|
}, 1032, ["color", "size", "variant", "onClick"]))), 256))
|
|
@@ -324,28 +324,28 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
324
324
|
_: 1
|
|
325
325
|
}, 8, ["visible"]));
|
|
326
326
|
}
|
|
327
|
-
}), we = /* @__PURE__ */
|
|
327
|
+
}), we = /* @__PURE__ */ y(Te, [["__scopeId", "data-v-42000b04"]]), Xt = (e = {}) => ({
|
|
328
328
|
open() {
|
|
329
|
-
return new Promise((
|
|
330
|
-
let
|
|
331
|
-
if (!
|
|
332
|
-
const
|
|
333
|
-
|
|
329
|
+
return new Promise((o) => {
|
|
330
|
+
let t = document.body.querySelector(".t-app");
|
|
331
|
+
if (!t) return;
|
|
332
|
+
const n = document.createElement("div"), s = v();
|
|
333
|
+
t.appendChild(n);
|
|
334
334
|
const a = F({
|
|
335
335
|
render() {
|
|
336
336
|
return G(we, {
|
|
337
337
|
...e,
|
|
338
|
-
ref:
|
|
338
|
+
ref: s,
|
|
339
339
|
onClose: (l) => {
|
|
340
340
|
setTimeout(() => {
|
|
341
|
-
a.unmount(),
|
|
342
|
-
}, 300),
|
|
341
|
+
a.unmount(), n.remove();
|
|
342
|
+
}, 300), o(l);
|
|
343
343
|
}
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
346
|
});
|
|
347
|
-
a.mount(
|
|
348
|
-
|
|
347
|
+
a.mount(n), setTimeout(() => {
|
|
348
|
+
s.value?.open?.();
|
|
349
349
|
}, 50);
|
|
350
350
|
});
|
|
351
351
|
}
|
|
@@ -355,39 +355,39 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
355
355
|
type: { default: "spinner" }
|
|
356
356
|
},
|
|
357
357
|
emits: ["close"],
|
|
358
|
-
setup(e, { expose:
|
|
359
|
-
const
|
|
358
|
+
setup(e, { expose: o, emit: t }) {
|
|
359
|
+
const n = e, s = v(!1), a = v();
|
|
360
360
|
let l;
|
|
361
|
-
return
|
|
361
|
+
return o({
|
|
362
362
|
open: () => {
|
|
363
|
-
|
|
363
|
+
s.value = !0;
|
|
364
364
|
},
|
|
365
365
|
close: () => {
|
|
366
|
-
|
|
366
|
+
s.value = !1;
|
|
367
367
|
}
|
|
368
368
|
}), D(() => a.value, (p) => {
|
|
369
369
|
p && (l = N(a.value, {
|
|
370
370
|
beforeEvent(m) {
|
|
371
|
-
return m.stopPropagation(),
|
|
371
|
+
return m.stopPropagation(), O(m.target) || (m.preventDefault(), L()), !1;
|
|
372
372
|
}
|
|
373
373
|
}));
|
|
374
|
-
}),
|
|
374
|
+
}), A(() => {
|
|
375
375
|
l && l.destroy();
|
|
376
|
-
}), (p, m) => (c(),
|
|
376
|
+
}), (p, m) => (c(), z(q, {
|
|
377
377
|
placement: "center",
|
|
378
378
|
backdrop: !0,
|
|
379
379
|
keepalive: !1,
|
|
380
|
-
visible:
|
|
380
|
+
visible: s.value
|
|
381
381
|
}, {
|
|
382
382
|
default: P(() => [
|
|
383
|
-
|
|
383
|
+
k("div", {
|
|
384
384
|
class: "t-loading",
|
|
385
385
|
ref_key: "container",
|
|
386
386
|
ref: a
|
|
387
387
|
}, [
|
|
388
388
|
b(p.$slots, "default", {}, () => [
|
|
389
389
|
ee(K, {
|
|
390
|
-
type:
|
|
390
|
+
type: n.type
|
|
391
391
|
}, null, 8, ["type"])
|
|
392
392
|
], !0)
|
|
393
393
|
], 512)
|
|
@@ -395,28 +395,28 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
395
395
|
_: 3
|
|
396
396
|
}, 8, ["visible"]));
|
|
397
397
|
}
|
|
398
|
-
}), xe = /* @__PURE__ */
|
|
399
|
-
const
|
|
400
|
-
let
|
|
398
|
+
}), xe = /* @__PURE__ */ y(Ie, [["__scopeId", "data-v-96624ceb"]]), qt = (e = {}) => {
|
|
399
|
+
const o = v(), t = document.body.querySelector(".t-app");
|
|
400
|
+
let n = null, s = null;
|
|
401
401
|
return {
|
|
402
402
|
open() {
|
|
403
403
|
return new Promise((a) => {
|
|
404
|
-
|
|
404
|
+
t && (s = document.createElement("div"), t.appendChild(s), n = F({
|
|
405
405
|
render() {
|
|
406
406
|
return G(xe, {
|
|
407
407
|
...e,
|
|
408
|
-
ref:
|
|
408
|
+
ref: o
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
|
-
}),
|
|
412
|
-
|
|
411
|
+
}), n.mount(s), setTimeout(() => {
|
|
412
|
+
o.value?.open?.(), a(!0);
|
|
413
413
|
}, 50));
|
|
414
414
|
});
|
|
415
415
|
},
|
|
416
416
|
close() {
|
|
417
417
|
return new Promise((a) => {
|
|
418
|
-
|
|
419
|
-
|
|
418
|
+
o.value?.close?.(), setTimeout(() => {
|
|
419
|
+
n?.unmount?.(), s?.remove?.(), a(!0);
|
|
420
420
|
}, 300);
|
|
421
421
|
});
|
|
422
422
|
}
|
|
@@ -429,13 +429,13 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
429
429
|
C.push(e);
|
|
430
430
|
}, ze = (e) => {
|
|
431
431
|
e || C.pop();
|
|
432
|
-
},
|
|
432
|
+
}, $ = {
|
|
433
433
|
screens: C,
|
|
434
434
|
addScreen: Ee,
|
|
435
435
|
removeScreen: ze,
|
|
436
|
-
hasPrevious:
|
|
437
|
-
currentScreen:
|
|
438
|
-
lastScreen:
|
|
436
|
+
hasPrevious: S(() => C.length > 1),
|
|
437
|
+
currentScreen: S(() => C[C.length - 1]),
|
|
438
|
+
lastScreen: S(() => {
|
|
439
439
|
if (!(C.length < 2))
|
|
440
440
|
return C[C.length - 2];
|
|
441
441
|
})
|
|
@@ -450,47 +450,47 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
|
|
|
450
450
|
variant: { default: "default" }
|
|
451
451
|
},
|
|
452
452
|
emits: ["close"],
|
|
453
|
-
setup(e, { expose:
|
|
454
|
-
const
|
|
455
|
-
l.value = !0,
|
|
453
|
+
setup(e, { expose: o, emit: t }) {
|
|
454
|
+
const n = e, s = t, a = v(!1), l = v(!1), i = v(!1), _ = () => {
|
|
455
|
+
l.value = !0, i.value = !1, setTimeout(() => {
|
|
456
456
|
a.value = !0;
|
|
457
457
|
}, 10), setTimeout(() => {
|
|
458
458
|
p();
|
|
459
|
-
},
|
|
459
|
+
}, n.duration + 10);
|
|
460
460
|
}, p = () => {
|
|
461
|
-
|
|
462
|
-
l.value = !1, a.value = !1,
|
|
461
|
+
i.value = !0, setTimeout(() => {
|
|
462
|
+
l.value = !1, a.value = !1, s("close");
|
|
463
463
|
}, 300);
|
|
464
|
-
}, m =
|
|
465
|
-
return
|
|
464
|
+
}, m = S(() => ["warning", "info", "danger", "primary", "secondary", "success"].includes(n.color) ? `var(--t-color-status-${n.color}-rgb)` : n.color);
|
|
465
|
+
return o({
|
|
466
466
|
open: _
|
|
467
|
-
}), (
|
|
467
|
+
}), (g, r) => l.value ? (c(), f("div", {
|
|
468
468
|
key: 0,
|
|
469
|
-
class: x(["t-toast", { [
|
|
470
|
-
style: I({ "--space":
|
|
471
|
-
}, B(
|
|
469
|
+
class: x(["t-toast", { [n.placement]: !0, open: a.value, closing: i.value, ["variant-" + n.variant]: !0 }]),
|
|
470
|
+
style: I({ "--space": n.space, "--color": m.value })
|
|
471
|
+
}, B(n.message), 7)) : E("", !0);
|
|
472
472
|
}
|
|
473
|
-
}), se = /* @__PURE__ */
|
|
473
|
+
}), se = /* @__PURE__ */ y(Ce, [["__scopeId", "data-v-5b3334bc"]]), Yt = (e = {}) => ({
|
|
474
474
|
open() {
|
|
475
|
-
let
|
|
476
|
-
if (!
|
|
477
|
-
const
|
|
478
|
-
|
|
479
|
-
const
|
|
475
|
+
let o = document.body.querySelector(".t-app");
|
|
476
|
+
if (!o) return;
|
|
477
|
+
const t = document.createElement("div"), n = v();
|
|
478
|
+
o.appendChild(t);
|
|
479
|
+
const s = F({
|
|
480
480
|
render() {
|
|
481
481
|
return G(se, {
|
|
482
482
|
...e,
|
|
483
|
-
ref:
|
|
483
|
+
ref: n,
|
|
484
484
|
onClose: () => {
|
|
485
485
|
setTimeout(() => {
|
|
486
|
-
|
|
486
|
+
s.unmount(), t.remove();
|
|
487
487
|
}, 300);
|
|
488
488
|
}
|
|
489
489
|
});
|
|
490
490
|
}
|
|
491
491
|
});
|
|
492
|
-
|
|
493
|
-
|
|
492
|
+
s.mount(t), setTimeout(() => {
|
|
493
|
+
n.value?.open?.();
|
|
494
494
|
}, 50);
|
|
495
495
|
}
|
|
496
496
|
}), Be = v(0);
|
|
@@ -506,38 +506,38 @@ const De = /* @__PURE__ */ T({
|
|
|
506
506
|
placement: { default: "bottom" }
|
|
507
507
|
},
|
|
508
508
|
setup(e) {
|
|
509
|
-
const
|
|
510
|
-
return (
|
|
511
|
-
class: x(["t-cable", { keyboard:
|
|
512
|
-
style: I({ "--t-keyboard-height": R(
|
|
509
|
+
const o = e, { height: t } = Pe();
|
|
510
|
+
return (n, s) => (c(), f("div", {
|
|
511
|
+
class: x(["t-cable", { keyboard: o.keyboard && R(t) > 0, [o.placement]: !0 }]),
|
|
512
|
+
style: I({ "--t-keyboard-height": R(t) + "px", "--t-keyboard-transition": R(t) > 0 ? "0.3s" : "0.1s" })
|
|
513
513
|
}, [
|
|
514
|
-
b(
|
|
514
|
+
b(n.$slots, "default", {}, void 0, !0)
|
|
515
515
|
], 6));
|
|
516
516
|
}
|
|
517
|
-
}), Re = /* @__PURE__ */
|
|
518
|
-
function
|
|
519
|
-
return c(), f("div",
|
|
517
|
+
}), Re = /* @__PURE__ */ y(De, [["__scopeId", "data-v-ecb72421"]]), Ne = {}, Ve = { class: "t-card" };
|
|
518
|
+
function Ae(e, o) {
|
|
519
|
+
return c(), f("div", Ve, [
|
|
520
520
|
b(e.$slots, "default")
|
|
521
521
|
]);
|
|
522
522
|
}
|
|
523
|
-
const
|
|
524
|
-
function
|
|
525
|
-
return c(), f("div",
|
|
523
|
+
const Oe = /* @__PURE__ */ y(Ne, [["render", Ae]]), Le = {}, Xe = { class: "t-content" };
|
|
524
|
+
function qe(e, o) {
|
|
525
|
+
return c(), f("div", Xe, [
|
|
526
526
|
b(e.$slots, "default", {}, void 0, !0)
|
|
527
527
|
]);
|
|
528
528
|
}
|
|
529
|
-
const Ye = /* @__PURE__ */
|
|
529
|
+
const Ye = /* @__PURE__ */ y(Le, [["render", qe], ["__scopeId", "data-v-9a833657"]]), Q = 80, Ue = /* @__PURE__ */ T({
|
|
530
530
|
__name: "t-refresher",
|
|
531
531
|
emits: ["refresh"],
|
|
532
|
-
setup(e, { emit:
|
|
533
|
-
const
|
|
534
|
-
let l,
|
|
532
|
+
setup(e, { emit: o }) {
|
|
533
|
+
const t = o, n = v(0), s = v(!1), a = v();
|
|
534
|
+
let l, i = !1;
|
|
535
535
|
const _ = () => {
|
|
536
|
-
|
|
537
|
-
|
|
536
|
+
s.value = !1, n.value = 0, l && l.cancel(), setTimeout(() => {
|
|
537
|
+
i = !1;
|
|
538
538
|
}, 2e3);
|
|
539
539
|
}, p = () => {
|
|
540
|
-
|
|
540
|
+
i = !0, s.value = !0, n.value = Q, t("refresh", _);
|
|
541
541
|
};
|
|
542
542
|
return D(() => a.value, () => {
|
|
543
543
|
l && l.destroy();
|
|
@@ -546,188 +546,188 @@ const Ye = /* @__PURE__ */ g(Xe, [["render", Ve], ["__scopeId", "data-v-9a833657
|
|
|
546
546
|
options: {
|
|
547
547
|
minDist: 60
|
|
548
548
|
},
|
|
549
|
-
move({ dy:
|
|
550
|
-
|
|
549
|
+
move({ dy: g }) {
|
|
550
|
+
s.value || i || g < 0 || (g >= 120 ? p() : n.value = g);
|
|
551
551
|
},
|
|
552
|
-
up({ dy:
|
|
553
|
-
|
|
552
|
+
up({ dy: g }) {
|
|
553
|
+
s.value || i || (g > Q ? p() : n.value = 0);
|
|
554
554
|
},
|
|
555
555
|
cancel() {
|
|
556
|
-
|
|
556
|
+
s.value = !1, n.value = 0;
|
|
557
557
|
}
|
|
558
558
|
});
|
|
559
|
-
}),
|
|
559
|
+
}), A(() => {
|
|
560
560
|
l && l.destroy();
|
|
561
|
-
}), (m,
|
|
561
|
+
}), (m, g) => Y((c(), f("div", {
|
|
562
562
|
class: "t-refresher",
|
|
563
563
|
ref_key: "container",
|
|
564
564
|
ref: a,
|
|
565
|
-
style: I({ height: `${
|
|
565
|
+
style: I({ height: `${n.value}px` })
|
|
566
566
|
}, [
|
|
567
|
-
|
|
568
|
-
class: x({ spiner:
|
|
567
|
+
k("img", {
|
|
568
|
+
class: x({ spiner: s.value }),
|
|
569
569
|
src: "https://static.toikit.com/toikit/home_2.png?v=3",
|
|
570
570
|
alt: "Loading...",
|
|
571
571
|
style: { width: "22px", height: "22px" }
|
|
572
572
|
}, null, 2)
|
|
573
573
|
], 4)), [
|
|
574
|
-
[U,
|
|
574
|
+
[U, n.value > 0]
|
|
575
575
|
]);
|
|
576
576
|
}
|
|
577
|
-
}), We = /* @__PURE__ */
|
|
578
|
-
function He(e,
|
|
577
|
+
}), We = /* @__PURE__ */ y(Ue, [["__scopeId", "data-v-7f97bb1a"]]), Fe = {}, Ge = { class: "t-screen" };
|
|
578
|
+
function He(e, o) {
|
|
579
579
|
return c(), f("div", Ge, [
|
|
580
580
|
b(e.$slots, "default", {}, void 0, !0)
|
|
581
581
|
]);
|
|
582
582
|
}
|
|
583
|
-
const re = /* @__PURE__ */
|
|
583
|
+
const re = /* @__PURE__ */ y(Fe, [["render", He], ["__scopeId", "data-v-66ea8649"]]), je = /* @__PURE__ */ T({
|
|
584
584
|
__name: "t-swipe-screen",
|
|
585
585
|
emits: ["change"],
|
|
586
|
-
setup(e, { emit:
|
|
587
|
-
let
|
|
588
|
-
const
|
|
589
|
-
for (let
|
|
590
|
-
|
|
591
|
-
const _ = (
|
|
592
|
-
|
|
593
|
-
name:
|
|
586
|
+
setup(e, { emit: o }) {
|
|
587
|
+
let t = {};
|
|
588
|
+
const n = ne(), s = ie(), a = n.getRoutes(), l = v(!1), i = o;
|
|
589
|
+
for (let r of a)
|
|
590
|
+
t[r.name] = r.components;
|
|
591
|
+
const _ = (r) => {
|
|
592
|
+
r && $.addScreen({
|
|
593
|
+
name: r,
|
|
594
594
|
target: null,
|
|
595
|
-
component: ce(
|
|
595
|
+
component: ce(t[r] || null)
|
|
596
596
|
});
|
|
597
|
-
}, p = (
|
|
598
|
-
!
|
|
599
|
-
|
|
600
|
-
|
|
597
|
+
}, p = (r, d) => {
|
|
598
|
+
!d || $.screens[r].target || ($.screens[r].target = d.$el, r > 0 && (l.value = !0, d.$el.style.transform = "translateX(100vw)", d.$el.transitionOrigin = "center", document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0"), setTimeout(() => {
|
|
599
|
+
d.$el.style.transition = "transform 0.35s ease", d.$el.style.transform = "translateX(0px)", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0.35s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0.5"), $.screens.length > 1 && ($.lastScreen.value.target.style.transitionOrigin = "left center", $.lastScreen.value.target.style.transition = "transform 0.35s ease", $.lastScreen.value.target.style.transform = "translateX(-30vw) scale(0.5) perspective(100vw) rotateY(30deg)"), setTimeout(() => {
|
|
600
|
+
i("change"), l.value = !1;
|
|
601
601
|
}, 400);
|
|
602
602
|
}, 100)));
|
|
603
603
|
}, m = () => {
|
|
604
|
-
|
|
605
|
-
|
|
604
|
+
$.currentScreen.value.target.style.transition = "transform 0.35s ease", $.currentScreen.value.target.style.transform = "translateX(100vw) scale(1)", $.lastScreen.value.target.style.transition = "transform 0.35s ease", $.lastScreen.value.target.style.transform = "translateX(0px) scale(1) perspective(100vw) rotateY(0deg)", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0.35s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0"), l.value = !0, setTimeout(() => {
|
|
605
|
+
$.removeScreen(), i("change"), l.value = !1;
|
|
606
606
|
}, 400);
|
|
607
607
|
};
|
|
608
|
-
_(
|
|
609
|
-
|
|
608
|
+
_(s.name), D(() => s.name, (r, d) => {
|
|
609
|
+
r != $.currentScreen.value.name && ($.lastScreen.value?.name == r ? m() : _(r));
|
|
610
610
|
});
|
|
611
|
-
const
|
|
611
|
+
const g = () => {
|
|
612
612
|
l.value = !0;
|
|
613
|
-
const
|
|
614
|
-
|
|
613
|
+
const r = $.currentScreen.value.target, d = $.lastScreen.value.target;
|
|
614
|
+
r.style.transition = "transform 0.35s ease", r.style.transform = "translateX(0px)", d.style.transition = "transform 0.35s ease", d.style.transform = "translateX(-30vw) scale(0.5) perspective(100vw) rotateY(30deg)", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0.35s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0.5"), setTimeout(() => {
|
|
615
615
|
l.value = !1;
|
|
616
616
|
}, 400);
|
|
617
617
|
};
|
|
618
618
|
return te(() => {
|
|
619
619
|
N(document, {
|
|
620
620
|
pointerId: null,
|
|
621
|
-
beforeEvent(
|
|
622
|
-
return l.value ||
|
|
621
|
+
beforeEvent(r) {
|
|
622
|
+
return l.value || $.screens.length < 2 ? !1 : (r.type == "pointerdown" && !this.pointerId && (this.pointerId = r.pointerId), this.pointerId == r.pointerId);
|
|
623
623
|
},
|
|
624
|
-
afterEvent(
|
|
625
|
-
(
|
|
624
|
+
afterEvent(r) {
|
|
625
|
+
(r.type == "pointerup" || r.type == "pointercancel") && (this.pointerId = null);
|
|
626
626
|
},
|
|
627
|
-
fast({ d:
|
|
628
|
-
|
|
627
|
+
fast({ d: r }) {
|
|
628
|
+
r == "right" && n.back();
|
|
629
629
|
},
|
|
630
|
-
move({ dx:
|
|
631
|
-
const
|
|
632
|
-
if (
|
|
633
|
-
|
|
630
|
+
move({ dx: r }) {
|
|
631
|
+
const d = window.innerWidth, h = r / d * 100, u = $.currentScreen.value.target, w = $.lastScreen?.value?.target;
|
|
632
|
+
if (r > 0 && r <= d) {
|
|
633
|
+
u.style.transition = "transform 0s ease", u.style.transform = `translateX(${r}px)`, w.style.transition = "transform 0s ease", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0s"), w.style.transform = `translateX(calc(-30vw + (30vw / 100 * ${h}))) scale(${0.5 + 0.5 / 100 * h}) perspective(100vw) rotateY(${30 - 30 / 100 * h}deg)`, document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", `${0.5 - 0.5 / 100 * h}`);
|
|
634
634
|
return;
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
|
-
up({ dx:
|
|
638
|
-
const
|
|
639
|
-
|
|
637
|
+
up({ dx: r }) {
|
|
638
|
+
const d = window.innerWidth;
|
|
639
|
+
r / d * 100 >= 50 ? n.back() : g();
|
|
640
640
|
},
|
|
641
641
|
cancel() {
|
|
642
|
-
|
|
642
|
+
g();
|
|
643
643
|
}
|
|
644
644
|
});
|
|
645
|
-
}), (
|
|
646
|
-
(c(!0), f(
|
|
645
|
+
}), (r, d) => (c(), f(V, null, [
|
|
646
|
+
(c(!0), f(V, null, W(R($).screens, (h, u) => (c(), z(re, {
|
|
647
647
|
ref_for: !0,
|
|
648
|
-
ref: (w) => p(
|
|
649
|
-
style: I({ zIndex:
|
|
650
|
-
key:
|
|
648
|
+
ref: (w) => p(u, w),
|
|
649
|
+
style: I({ zIndex: u + (u == R($).screens.length - 1 ? 2 : 1) }),
|
|
650
|
+
key: u
|
|
651
651
|
}, {
|
|
652
652
|
default: P(() => [
|
|
653
|
-
(c(),
|
|
653
|
+
(c(), z(le(h.component.default)))
|
|
654
654
|
]),
|
|
655
655
|
_: 2
|
|
656
656
|
}, 1032, ["style"]))), 128)),
|
|
657
|
-
|
|
657
|
+
k("div", {
|
|
658
658
|
class: "t-swipe-backdrop",
|
|
659
|
-
style: I({ zIndex: R(
|
|
659
|
+
style: I({ zIndex: R($).screens.length })
|
|
660
660
|
}, null, 4)
|
|
661
661
|
], 64));
|
|
662
662
|
}
|
|
663
|
-
}), Ke = /* @__PURE__ */
|
|
663
|
+
}), Ke = /* @__PURE__ */ y(je, [["__scopeId", "data-v-a048cc07"]]), Me = /* @__PURE__ */ T({
|
|
664
664
|
__name: "t-toolbar",
|
|
665
665
|
props: {
|
|
666
666
|
placement: { default: "bottom" },
|
|
667
667
|
size: { default: "50px" }
|
|
668
668
|
},
|
|
669
669
|
setup(e) {
|
|
670
|
-
const
|
|
671
|
-
return (
|
|
672
|
-
class: x(["t-toolbar", { [
|
|
673
|
-
style: I({ "--t-size-toolbar":
|
|
670
|
+
const o = e;
|
|
671
|
+
return (t, n) => (c(), f("div", {
|
|
672
|
+
class: x(["t-toolbar", { [o.placement]: !0 }]),
|
|
673
|
+
style: I({ "--t-size-toolbar": o.size })
|
|
674
674
|
}, [
|
|
675
|
-
|
|
676
|
-
b(
|
|
675
|
+
k("div", null, [
|
|
676
|
+
b(t.$slots, "default", {}, void 0, !0)
|
|
677
677
|
])
|
|
678
678
|
], 6));
|
|
679
679
|
}
|
|
680
|
-
}), Je = /* @__PURE__ */
|
|
680
|
+
}), Je = /* @__PURE__ */ y(Me, [["__scopeId", "data-v-3b3a7896"]]), Qe = /* @__PURE__ */ T({
|
|
681
681
|
__name: "t-back-button",
|
|
682
682
|
props: {
|
|
683
683
|
to: {}
|
|
684
684
|
},
|
|
685
685
|
setup(e) {
|
|
686
|
-
const
|
|
687
|
-
|
|
686
|
+
const o = ne(), t = e, n = () => {
|
|
687
|
+
$.hasPrevious.value ? o?.back?.() : t.to && o?.push?.(t.to);
|
|
688
688
|
};
|
|
689
|
-
return (
|
|
689
|
+
return (s, a) => s.to || R($).hasPrevious ? (c(), f("button", {
|
|
690
690
|
key: 0,
|
|
691
691
|
class: "t-back-button",
|
|
692
|
-
onClick:
|
|
692
|
+
onClick: n
|
|
693
693
|
}, [
|
|
694
|
-
b(
|
|
695
|
-
a[0] || (a[0] =
|
|
694
|
+
b(s.$slots, "default", {}, () => [
|
|
695
|
+
a[0] || (a[0] = k("i", { class: "ri-arrow-left-s-line" }, null, -1))
|
|
696
696
|
], !0)
|
|
697
|
-
])) :
|
|
697
|
+
])) : E("", !0);
|
|
698
698
|
}
|
|
699
|
-
}), Ze = /* @__PURE__ */
|
|
699
|
+
}), Ze = /* @__PURE__ */ y(Qe, [["__scopeId", "data-v-ed626a3d"]]), et = /* @__PURE__ */ T({
|
|
700
700
|
__name: "t-text",
|
|
701
701
|
props: {
|
|
702
702
|
color: { default: "var(--t-color-text)" },
|
|
703
703
|
size: { default: "standard" }
|
|
704
704
|
},
|
|
705
705
|
setup(e) {
|
|
706
|
-
const
|
|
707
|
-
let
|
|
708
|
-
return
|
|
709
|
-
"--color":
|
|
710
|
-
"--font-size":
|
|
706
|
+
const o = e, t = S(() => {
|
|
707
|
+
let n, s = o.color;
|
|
708
|
+
return o.size == "standard" ? n = "var(--t-fs-10)" : o.size == "small" ? n = "var(--t-fs-08)" : o.size == "large" ? n = "var(--t-fs-12)" : n = o.size, ["warning", "info", "danger", "primary", "secondary", "success"].includes(o.color) && (s = `var(--t-color-status-${o.color})`), {
|
|
709
|
+
"--color": s,
|
|
710
|
+
"--font-size": n
|
|
711
711
|
};
|
|
712
712
|
});
|
|
713
|
-
return (
|
|
713
|
+
return (n, s) => (c(), f("span", {
|
|
714
714
|
class: "t-text",
|
|
715
|
-
style: I(
|
|
715
|
+
style: I(t.value)
|
|
716
716
|
}, [
|
|
717
|
-
b(
|
|
717
|
+
b(n.$slots, "default", {}, void 0, !0)
|
|
718
718
|
], 4));
|
|
719
719
|
}
|
|
720
|
-
}), j = /* @__PURE__ */
|
|
720
|
+
}), j = /* @__PURE__ */ y(et, [["__scopeId", "data-v-f0f94f05"]]), tt = /* @__PURE__ */ T({
|
|
721
721
|
__name: "t-pull-signal",
|
|
722
722
|
props: {
|
|
723
723
|
placement: { default: "bottom" }
|
|
724
724
|
},
|
|
725
725
|
setup(e) {
|
|
726
|
-
return (
|
|
727
|
-
class: x(["t-pull-bar", { [
|
|
726
|
+
return (o, t) => (c(), f("div", {
|
|
727
|
+
class: x(["t-pull-bar", { [o.placement]: !0 }])
|
|
728
728
|
}, null, 2));
|
|
729
729
|
}
|
|
730
|
-
}), ae = /* @__PURE__ */
|
|
730
|
+
}), ae = /* @__PURE__ */ y(tt, [["__scopeId", "data-v-d2297b66"]]), nt = /* @__PURE__ */ T({
|
|
731
731
|
__name: "t-sheet",
|
|
732
732
|
props: {
|
|
733
733
|
background: { default: "var(--t-color-surface)" },
|
|
@@ -741,95 +741,95 @@ const re = /* @__PURE__ */ g(Fe, [["render", He], ["__scopeId", "data-v-66ea8649
|
|
|
741
741
|
closeButton: { type: Boolean, default: !0 }
|
|
742
742
|
},
|
|
743
743
|
emits: ["dismiss"],
|
|
744
|
-
setup(e, { emit:
|
|
745
|
-
const
|
|
746
|
-
let
|
|
747
|
-
const _ =
|
|
748
|
-
if (
|
|
749
|
-
if (
|
|
750
|
-
if (
|
|
751
|
-
if (
|
|
752
|
-
}), p = (
|
|
753
|
-
|
|
744
|
+
setup(e, { emit: o }) {
|
|
745
|
+
const t = e, n = o, s = v(), a = v(), l = v(!1);
|
|
746
|
+
let i = null;
|
|
747
|
+
const _ = S(() => {
|
|
748
|
+
if (t.placement == "bottom") return "down";
|
|
749
|
+
if (t.placement == "top") return "up";
|
|
750
|
+
if (t.placement == "left") return "left";
|
|
751
|
+
if (t.placement == "right") return "right";
|
|
752
|
+
}), p = (g) => {
|
|
753
|
+
n("dismiss", g);
|
|
754
754
|
}, m = () => {
|
|
755
755
|
l.value = !0, setTimeout(() => {
|
|
756
756
|
l.value = !1;
|
|
757
757
|
}, 300);
|
|
758
758
|
};
|
|
759
|
-
return D(() =>
|
|
760
|
-
|
|
759
|
+
return D(() => s.value, (g) => {
|
|
760
|
+
g && (i = N(s.value, {
|
|
761
761
|
options: {
|
|
762
762
|
minDist: 30
|
|
763
763
|
},
|
|
764
764
|
pointerId: null,
|
|
765
|
-
beforeEvent(
|
|
766
|
-
let
|
|
767
|
-
return l.value || !
|
|
765
|
+
beforeEvent(r) {
|
|
766
|
+
let d = !1, h = !1;
|
|
767
|
+
return l.value || !t.gesture || t.placement == "center" ? d = !0 : this.pointerId ? (d = !0, h = this.pointerId == r.pointerId) : r.type == "pointerdown" && (this.pointerId = r.pointerId, d = !0, h = !0), d && (r.stopPropagation(), O(r.target) || (r.preventDefault(), L())), h;
|
|
768
768
|
},
|
|
769
|
-
afterEvent(
|
|
770
|
-
(
|
|
769
|
+
afterEvent(r) {
|
|
770
|
+
(r.type == "pointerup" || r.type == "pointercancel") && (this.pointerId = null);
|
|
771
771
|
},
|
|
772
|
-
fast({ d:
|
|
773
|
-
m(),
|
|
772
|
+
fast({ d: r }) {
|
|
773
|
+
m(), r == _.value ? n("dismiss", "gesture") : a.value.open();
|
|
774
774
|
},
|
|
775
|
-
move({ dy:
|
|
775
|
+
move({ dy: r, dx: d, d: h }) {
|
|
776
776
|
if (h != _.value) return;
|
|
777
|
-
let
|
|
778
|
-
|
|
779
|
-
contentTransform:
|
|
777
|
+
let u = 0;
|
|
778
|
+
t.placement == "bottom" || t.placement == "top" ? u = r : u = d, a.value.render({
|
|
779
|
+
contentTransform: u + "px",
|
|
780
780
|
transition: "0s"
|
|
781
781
|
});
|
|
782
782
|
},
|
|
783
|
-
up({ dy:
|
|
783
|
+
up({ dy: r, dx: d, d: h }) {
|
|
784
784
|
if (m(), h != _.value) {
|
|
785
785
|
a.value.open();
|
|
786
786
|
return;
|
|
787
787
|
}
|
|
788
|
-
let
|
|
789
|
-
|
|
788
|
+
let u, w, H;
|
|
789
|
+
t.placement == "bottom" || t.placement == "top" ? (u = s.value.offsetHeight, H = r) : (u = s.value.offsetWidth, H = d), w = H / u * 100, w > 50 ? n("dismiss", "gesture") : a.value.open();
|
|
790
790
|
},
|
|
791
791
|
cancel() {
|
|
792
792
|
m(), a.value.open();
|
|
793
793
|
}
|
|
794
794
|
}));
|
|
795
|
-
}),
|
|
796
|
-
|
|
797
|
-
}), (
|
|
795
|
+
}), A(() => {
|
|
796
|
+
i && i.destroy();
|
|
797
|
+
}), (g, r) => (c(), z(q, {
|
|
798
798
|
ref_key: "present",
|
|
799
799
|
ref: a,
|
|
800
|
-
placement:
|
|
801
|
-
backdrop:
|
|
802
|
-
visible:
|
|
803
|
-
keepalive:
|
|
800
|
+
placement: t.placement,
|
|
801
|
+
backdrop: g.backdrop,
|
|
802
|
+
visible: t.visible,
|
|
803
|
+
keepalive: t.keepalive,
|
|
804
804
|
onDismiss: p
|
|
805
805
|
}, {
|
|
806
806
|
default: P(() => [
|
|
807
|
-
|
|
807
|
+
t.gesture && t.placement != "center" ? (c(), z(ae, {
|
|
808
808
|
key: 0,
|
|
809
|
-
placement:
|
|
810
|
-
}, null, 8, ["placement"])) :
|
|
811
|
-
|
|
812
|
-
class: x(["t-sheet", { fullscreen:
|
|
813
|
-
style: I({ "--background":
|
|
809
|
+
placement: t.placement
|
|
810
|
+
}, null, 8, ["placement"])) : E("", !0),
|
|
811
|
+
k("div", {
|
|
812
|
+
class: x(["t-sheet", { fullscreen: t.fullscreen, [t.placement]: !0, rounded: g.rounded }]),
|
|
813
|
+
style: I({ "--background": t.background }),
|
|
814
814
|
ref_key: "sheet",
|
|
815
|
-
ref:
|
|
815
|
+
ref: s
|
|
816
816
|
}, [
|
|
817
|
-
|
|
817
|
+
t.closeButton && t.placement == "center" ? (c(), f("button", {
|
|
818
818
|
key: 0,
|
|
819
819
|
class: "t-sheet-close",
|
|
820
|
-
onClick:
|
|
820
|
+
onClick: r[0] || (r[0] = (d) => p("close-button"))
|
|
821
821
|
}, [
|
|
822
|
-
b(
|
|
823
|
-
|
|
822
|
+
b(g.$slots, "close-icon", {}, () => [
|
|
823
|
+
r[1] || (r[1] = k("i", { class: "ri-close-large-line" }, null, -1))
|
|
824
824
|
], !0)
|
|
825
|
-
])) :
|
|
826
|
-
b(
|
|
825
|
+
])) : E("", !0),
|
|
826
|
+
b(g.$slots, "default", {}, void 0, !0)
|
|
827
827
|
], 6)
|
|
828
828
|
]),
|
|
829
829
|
_: 3
|
|
830
830
|
}, 8, ["placement", "backdrop", "visible", "keepalive"]));
|
|
831
831
|
}
|
|
832
|
-
}), ot = /* @__PURE__ */
|
|
832
|
+
}), ot = /* @__PURE__ */ y(nt, [["__scopeId", "data-v-d5772132"]]), st = { class: "t-input-label" }, rt = { class: "t-input-content" }, at = ["type", "placeholder", "value"], lt = /* @__PURE__ */ T({
|
|
833
833
|
__name: "t-input",
|
|
834
834
|
props: {
|
|
835
835
|
size: { default: "standard" },
|
|
@@ -843,124 +843,124 @@ const re = /* @__PURE__ */ g(Fe, [["render", He], ["__scopeId", "data-v-66ea8649
|
|
|
843
843
|
variant: { default: "normal" }
|
|
844
844
|
},
|
|
845
845
|
emits: ["update:modelValue"],
|
|
846
|
-
setup(e, { emit:
|
|
847
|
-
const
|
|
848
|
-
|
|
846
|
+
setup(e, { emit: o }) {
|
|
847
|
+
const t = e, n = o, s = (a) => {
|
|
848
|
+
n("update:modelValue", a.target.value);
|
|
849
849
|
};
|
|
850
850
|
return (a, l) => (c(), f("div", {
|
|
851
|
-
class: x(["t-input", { rounded:
|
|
851
|
+
class: x(["t-input", { rounded: t.rounded, ["size-" + t.size]: !0 }])
|
|
852
852
|
}, [
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
853
|
+
k("label", null, [
|
|
854
|
+
k("span", st, B(a.label), 1),
|
|
855
|
+
k("div", rt, [
|
|
856
856
|
b(a.$slots, "start", {}, void 0, !0),
|
|
857
|
-
|
|
857
|
+
k("input", {
|
|
858
858
|
type: a.type,
|
|
859
859
|
placeholder: a.placeholder,
|
|
860
860
|
value: a.modelValue,
|
|
861
|
-
onInput:
|
|
861
|
+
onInput: s
|
|
862
862
|
}, null, 40, at),
|
|
863
863
|
b(a.$slots, "end", {}, void 0, !0)
|
|
864
864
|
])
|
|
865
865
|
]),
|
|
866
|
-
|
|
866
|
+
t.error ? (c(), z(j, {
|
|
867
867
|
key: 0,
|
|
868
868
|
color: "danger"
|
|
869
869
|
}, {
|
|
870
870
|
default: P(() => [
|
|
871
|
-
|
|
871
|
+
X(B(t.error), 1)
|
|
872
872
|
]),
|
|
873
873
|
_: 1
|
|
874
|
-
})) :
|
|
874
|
+
})) : t.help ? (c(), z(j, {
|
|
875
875
|
key: 1,
|
|
876
876
|
color: "secondary"
|
|
877
877
|
}, {
|
|
878
878
|
default: P(() => [
|
|
879
|
-
|
|
879
|
+
X(B(t.help), 1)
|
|
880
880
|
]),
|
|
881
881
|
_: 1
|
|
882
|
-
})) :
|
|
882
|
+
})) : E("", !0)
|
|
883
883
|
], 2));
|
|
884
884
|
}
|
|
885
|
-
}), ct = /* @__PURE__ */
|
|
886
|
-
function ut(e,
|
|
885
|
+
}), ct = /* @__PURE__ */ y(lt, [["__scopeId", "data-v-75bf0d19"]]), it = {};
|
|
886
|
+
function ut(e, o) {
|
|
887
887
|
return c(), f("textarea");
|
|
888
888
|
}
|
|
889
|
-
const dt = /* @__PURE__ */
|
|
890
|
-
function ft(e,
|
|
889
|
+
const dt = /* @__PURE__ */ y(it, [["render", ut]]), pt = {};
|
|
890
|
+
function ft(e, o) {
|
|
891
891
|
return c(), f("div");
|
|
892
892
|
}
|
|
893
|
-
const mt = /* @__PURE__ */
|
|
894
|
-
function yt(e,
|
|
893
|
+
const mt = /* @__PURE__ */ y(pt, [["render", ft]]), vt = {}, _t = { class: "t-grid" };
|
|
894
|
+
function yt(e, o) {
|
|
895
895
|
return c(), f("div", _t);
|
|
896
896
|
}
|
|
897
|
-
const gt = /* @__PURE__ */
|
|
898
|
-
function kt(e,
|
|
897
|
+
const gt = /* @__PURE__ */ y(vt, [["render", yt]]), ht = {}, bt = { class: "t-grid-item" };
|
|
898
|
+
function kt(e, o) {
|
|
899
899
|
return c(), f("div", bt);
|
|
900
900
|
}
|
|
901
|
-
const $t = /* @__PURE__ */
|
|
901
|
+
const $t = /* @__PURE__ */ y(ht, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
902
902
|
__name: "t-divider",
|
|
903
903
|
props: {
|
|
904
904
|
type: { default: "horizontal" }
|
|
905
905
|
},
|
|
906
906
|
setup(e) {
|
|
907
|
-
const
|
|
908
|
-
return (
|
|
909
|
-
class: x(["t-divider", { [
|
|
907
|
+
const o = e;
|
|
908
|
+
return (t, n) => (c(), f("div", {
|
|
909
|
+
class: x(["t-divider", { [o.type]: !0 }])
|
|
910
910
|
}, null, 2));
|
|
911
911
|
}
|
|
912
|
-
}), wt = /* @__PURE__ */
|
|
913
|
-
__name: "t-
|
|
912
|
+
}), wt = /* @__PURE__ */ y(Tt, [["__scopeId", "data-v-816784be"]]), It = /* @__PURE__ */ T({
|
|
913
|
+
__name: "t-toggle-password",
|
|
914
914
|
props: {
|
|
915
915
|
color: { default: "warning" }
|
|
916
916
|
},
|
|
917
917
|
emits: ["change"],
|
|
918
|
-
setup(e, { emit:
|
|
919
|
-
const
|
|
920
|
-
let p =
|
|
921
|
-
return ["warning", "info", "danger", "primary", "secondary", "success"].includes(
|
|
918
|
+
setup(e, { emit: o }) {
|
|
919
|
+
const t = e, n = o, s = v(!1), a = v(), l = S(() => {
|
|
920
|
+
let p = t.color;
|
|
921
|
+
return ["warning", "info", "danger", "primary", "secondary", "success"].includes(t.color) && (p = `var(--t-color-status-${t.color})`), {
|
|
922
922
|
"--color": p
|
|
923
923
|
};
|
|
924
|
-
}),
|
|
924
|
+
}), i = () => a.value?.parentElement?.querySelector?.("input");
|
|
925
925
|
te(() => {
|
|
926
|
-
let p =
|
|
927
|
-
p && (
|
|
926
|
+
let p = i();
|
|
927
|
+
p && (s.value = p.type != "password", n("change", s.value));
|
|
928
928
|
});
|
|
929
929
|
const _ = () => {
|
|
930
|
-
let p =
|
|
931
|
-
p && (
|
|
930
|
+
let p = i();
|
|
931
|
+
p && (s.value = !s.value, s.value ? p.type = "text" : p.type = "password", n("change", s.value));
|
|
932
932
|
};
|
|
933
933
|
return (p, m) => (c(), f("button", {
|
|
934
|
-
ref_key: "
|
|
934
|
+
ref_key: "toggle",
|
|
935
935
|
ref: a,
|
|
936
|
-
class: "t-
|
|
936
|
+
class: "t-toggle-password",
|
|
937
937
|
style: I(l.value),
|
|
938
938
|
onClick: _
|
|
939
939
|
}, [
|
|
940
|
-
|
|
941
|
-
m[0] || (m[0] =
|
|
942
|
-
], !0) :
|
|
943
|
-
|
|
944
|
-
m[1] || (m[1] =
|
|
940
|
+
s.value ? b(p.$slots, "on", { key: 0 }, () => [
|
|
941
|
+
m[0] || (m[0] = k("i", { class: "ri-eye-line" }, null, -1))
|
|
942
|
+
], !0) : E("", !0),
|
|
943
|
+
s.value ? E("", !0) : b(p.$slots, "off", { key: 1 }, () => [
|
|
944
|
+
m[1] || (m[1] = k("i", { class: "ri-eye-off-line" }, null, -1))
|
|
945
945
|
], !0)
|
|
946
946
|
], 4));
|
|
947
947
|
}
|
|
948
|
-
}), xt = /* @__PURE__ */
|
|
948
|
+
}), xt = /* @__PURE__ */ y(It, [["__scopeId", "data-v-3268e9e3"]]), St = /* @__PURE__ */ T({
|
|
949
949
|
__name: "t-avatar",
|
|
950
950
|
props: {
|
|
951
951
|
square: { type: Boolean, default: !1 },
|
|
952
952
|
size: { default: "standard" }
|
|
953
953
|
},
|
|
954
954
|
setup(e) {
|
|
955
|
-
const
|
|
956
|
-
return (
|
|
957
|
-
class: x(["t-avatar", { square:
|
|
958
|
-
style: I({ "--size":
|
|
955
|
+
const o = e, t = S(() => o.size == "small" ? "24px" : o.size == "standard" ? "40px" : o.size == "large" ? "60px" : o.size);
|
|
956
|
+
return (n, s) => (c(), f("div", {
|
|
957
|
+
class: x(["t-avatar", { square: n.square }]),
|
|
958
|
+
style: I({ "--size": t.value })
|
|
959
959
|
}, [
|
|
960
|
-
b(
|
|
960
|
+
b(n.$slots, "default", {}, void 0, !0)
|
|
961
961
|
], 6));
|
|
962
962
|
}
|
|
963
|
-
}), Et = /* @__PURE__ */
|
|
963
|
+
}), Et = /* @__PURE__ */ y(St, [["__scopeId", "data-v-24384c2f"]]), zt = { class: "t-collapse-title" }, Ct = {
|
|
964
964
|
key: 0,
|
|
965
965
|
class: "icon"
|
|
966
966
|
}, Bt = {
|
|
@@ -972,34 +972,34 @@ const $t = /* @__PURE__ */ g(ht, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
972
972
|
title: {}
|
|
973
973
|
},
|
|
974
974
|
emits: ["change"],
|
|
975
|
-
setup(e, { emit:
|
|
976
|
-
const
|
|
977
|
-
|
|
975
|
+
setup(e, { emit: o }) {
|
|
976
|
+
const t = e, n = o, s = v(!1), a = v(""), l = v(), i = () => {
|
|
977
|
+
s.value = !s.value, a.value = `calc(${l.value.offsetHeight}px + 2rem)`, n("change", s.value);
|
|
978
978
|
};
|
|
979
|
-
return
|
|
980
|
-
class: x(["t-collapse", { open:
|
|
979
|
+
return n("change", s.value), (_, p) => (c(), f("div", {
|
|
980
|
+
class: x(["t-collapse", { open: s.value }]),
|
|
981
981
|
style: I({ "--height": a.value })
|
|
982
982
|
}, [
|
|
983
|
-
|
|
983
|
+
k("div", {
|
|
984
984
|
class: "t-collapse-header",
|
|
985
|
-
onClick:
|
|
985
|
+
onClick: i
|
|
986
986
|
}, [
|
|
987
987
|
b(_.$slots, "icon"),
|
|
988
|
-
|
|
988
|
+
k("div", zt, [
|
|
989
989
|
b(_.$slots, "title", {}, () => [
|
|
990
|
-
|
|
990
|
+
X(B(t.title), 1)
|
|
991
991
|
])
|
|
992
992
|
]),
|
|
993
|
-
b(_.$slots, "
|
|
994
|
-
|
|
995
|
-
|
|
993
|
+
b(_.$slots, "toggle", {}, () => [
|
|
994
|
+
s.value ? (c(), f("div", Ct, [...p[0] || (p[0] = [
|
|
995
|
+
k("i", { class: "ri-arrow-up-s-line" }, null, -1)
|
|
996
996
|
])])) : (c(), f("div", Bt, [...p[1] || (p[1] = [
|
|
997
|
-
|
|
997
|
+
k("i", { class: "ri-arrow-down-s-line" }, null, -1)
|
|
998
998
|
])]))
|
|
999
999
|
])
|
|
1000
1000
|
]),
|
|
1001
|
-
|
|
1002
|
-
|
|
1001
|
+
k("div", Pt, [
|
|
1002
|
+
k("div", {
|
|
1003
1003
|
ref_key: "content",
|
|
1004
1004
|
ref: l
|
|
1005
1005
|
}, [
|
|
@@ -1010,20 +1010,39 @@ const $t = /* @__PURE__ */ g(ht, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1010
1010
|
])
|
|
1011
1011
|
], 6));
|
|
1012
1012
|
}
|
|
1013
|
-
}),
|
|
1013
|
+
}), Rt = /* @__PURE__ */ T({
|
|
1014
|
+
__name: "t-switch",
|
|
1015
|
+
props: {
|
|
1016
|
+
modelValue: { type: Boolean },
|
|
1017
|
+
color: { default: "primary" }
|
|
1018
|
+
},
|
|
1019
|
+
emits: ["update:modelValue"],
|
|
1020
|
+
setup(e, { emit: o }) {
|
|
1021
|
+
const t = e, n = o, s = () => {
|
|
1022
|
+
n("update:modelValue", !t.modelValue);
|
|
1023
|
+
}, a = S(() => ["warning", "info", "danger", "primary", "secondary", "success"].includes(t.color) ? `var(--t-color-status-${t.color})` : t.color);
|
|
1024
|
+
return (l, i) => (c(), f("div", {
|
|
1025
|
+
class: x(["t-switch", { on: t.modelValue }]),
|
|
1026
|
+
style: I({ "--background-color": a.value }),
|
|
1027
|
+
onClick: s
|
|
1028
|
+
}, [...i[0] || (i[0] = [
|
|
1029
|
+
k("div", { class: "t-switch-icon" }, null, -1)
|
|
1030
|
+
])], 6));
|
|
1031
|
+
}
|
|
1032
|
+
}), Nt = /* @__PURE__ */ y(Rt, [["__scopeId", "data-v-ef10da22"]]), Ut = () => ({
|
|
1014
1033
|
install: (e) => {
|
|
1015
|
-
ue(), e.component("t-app", me), e.component("t-screen", re), e.component("t-swipe-screen", Ke), e.component("t-cable", Re), e.component("t-toolbar", Je), e.component("t-content", Ye), e.component("t-card",
|
|
1034
|
+
ue(), e.component("t-app", me), e.component("t-screen", re), e.component("t-swipe-screen", Ke), e.component("t-cable", Re), e.component("t-toolbar", Je), e.component("t-content", Ye), e.component("t-card", Oe), e.component("t-refresher", We), e.component("t-button", M), e.component("t-back-button", Ze), e.component("t-present", q), e.component("t-text", j), e.component("t-sheet", ot), e.component("t-pull-signal", ae), e.component("t-input", ct), e.component("t-textarea", dt), e.component("t-rich-text", mt), e.component("t-grid", gt), e.component("t-grid-item", $t), e.component("t-divider", wt), e.component("t-toggle-password", xt), e.component("t-loading-icon", K), e.component("t-alert", oe), e.component("t-avatar", Et), e.component("t-collapse", Dt), e.component("t-toast", se), e.component("t-switch", Nt);
|
|
1016
1035
|
}
|
|
1017
1036
|
});
|
|
1018
1037
|
export {
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1038
|
+
L as blurCurrentActive,
|
|
1039
|
+
Xt as createAction,
|
|
1040
|
+
Lt as createAlert,
|
|
1041
|
+
qt as createLoading,
|
|
1042
|
+
Yt as createToast,
|
|
1043
|
+
Ut as createToife,
|
|
1044
|
+
O as isFormElement,
|
|
1026
1045
|
Se as presentController,
|
|
1027
|
-
|
|
1046
|
+
$ as screenController,
|
|
1028
1047
|
Pe as useKeyboard
|
|
1029
1048
|
};
|