@toife/vue 1.1.51 → 1.1.53
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-action.vue.d.ts +0 -1
- package/dist/components/t-alert.vue.d.ts +0 -1
- package/dist/components/t-loading.vue.d.ts +0 -1
- package/dist/components/t-present.vue.d.ts +0 -4
- package/dist/components/t-sheet.vue.d.ts +3 -24
- package/dist/index.css +1 -1
- package/dist/index.es.js +259 -270
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementBlock as _, openBlock as
|
|
1
|
+
import { createElementBlock as _, openBlock as i, renderSlot as h, defineComponent as T, ref as y, computed as S, reactive as te, watch as A, Fragment as V, withDirectives as Y, createCommentVNode as C, normalizeStyle as w, normalizeClass as x, vShow as H, createElementVNode as $, createVNode as j, onUnmounted as L, createBlock as z, withCtx as E, toDisplayString as D, renderList as U, createTextVNode as O, createApp as F, h as G, unref as P, onMounted as Q, resolveDynamicComponent as ce, markRaw as ie, inject as ue, provide as de } from "vue";
|
|
2
2
|
import { gesture as N } from "@toife/gesture";
|
|
3
3
|
import { useRouter as oe, useRoute as pe } from "vue-router";
|
|
4
4
|
const q = (t) => t && (t.tagName == "INPUT" || t.tagName == "TEXTAREA" || t.isContentEditable), X = () => {
|
|
@@ -8,14 +8,14 @@ const q = (t) => t && (t.tagName == "INPUT" || t.tagName == "TEXTAREA" || t.isCo
|
|
|
8
8
|
document.addEventListener("contextmenu", (t) => t.preventDefault()), document.addEventListener("selectstart", (t) => t.preventDefault()), document.addEventListener("pointerup", (t) => {
|
|
9
9
|
!q(t.target) && X();
|
|
10
10
|
});
|
|
11
|
-
}, b = (t,
|
|
11
|
+
}, b = (t, n) => {
|
|
12
12
|
const o = t.__vccOpts || t;
|
|
13
|
-
for (const [e,
|
|
14
|
-
o[e] =
|
|
13
|
+
for (const [e, s] of n)
|
|
14
|
+
o[e] = s;
|
|
15
15
|
return o;
|
|
16
16
|
}, me = {}, ve = { class: "t-app" };
|
|
17
|
-
function _e(t,
|
|
18
|
-
return
|
|
17
|
+
function _e(t, n) {
|
|
18
|
+
return i(), _("div", ve, [
|
|
19
19
|
h(t.$slots, "default")
|
|
20
20
|
]);
|
|
21
21
|
}
|
|
@@ -25,19 +25,17 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
25
25
|
keepalive: { type: Boolean, default: !0 },
|
|
26
26
|
visible: { type: Boolean, default: !1 },
|
|
27
27
|
backdrop: { type: Boolean, default: !0 },
|
|
28
|
-
placement: { default: "bottom" }
|
|
29
|
-
fullscreen: { type: Boolean, default: !1 },
|
|
30
|
-
size: { default: "fit-content" }
|
|
28
|
+
placement: { default: "bottom" }
|
|
31
29
|
},
|
|
32
30
|
emits: ["dismiss"],
|
|
33
|
-
setup(t, { expose:
|
|
34
|
-
const e = y(0),
|
|
31
|
+
setup(t, { expose: n, emit: o }) {
|
|
32
|
+
const e = y(0), s = y(!1), r = y(), c = y(), u = t, d = o, p = S(() => s.value || u.keepalive), f = te({
|
|
35
33
|
"--t-present-backdrop-opacity": "0.4",
|
|
36
34
|
"--t-present-transition": "0.2s",
|
|
37
35
|
"--t-present-content-transform": "0px",
|
|
38
36
|
"--t-present-content-opacity": "1"
|
|
39
37
|
}), v = (m) => {
|
|
40
|
-
|
|
38
|
+
u.backdrop ? m?.backdropOpacity && (f["--t-present-backdrop-opacity"] = m.backdropOpacity) : f["--t-present-backdrop-opacity"] = "0", m?.transition && (f["--t-present-transition"] = m.transition, f["--t-present-transition"] = m.transition), m?.contentTransform && (f["--t-present-content-transform"] = m.contentTransform), m?.contentOpacity && (f["--t-present-content-opacity"] = m.contentOpacity);
|
|
41
39
|
}, l = () => {
|
|
42
40
|
v({
|
|
43
41
|
contentTransform: "0px",
|
|
@@ -46,21 +44,21 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
46
44
|
contentOpacity: "1"
|
|
47
45
|
});
|
|
48
46
|
}, a = () => {
|
|
49
|
-
let m = "0px",
|
|
50
|
-
|
|
47
|
+
let m = "0px", I = "1";
|
|
48
|
+
u.placement == "bottom" || u.placement == "right" ? m = "100%" : u.placement == "top" || u.placement == "left" ? m = "-100%" : u.placement == "center" && (m = "0px", I = "0"), v({
|
|
51
49
|
contentTransform: m,
|
|
52
50
|
transition: "0.2s",
|
|
53
|
-
contentOpacity:
|
|
51
|
+
contentOpacity: I,
|
|
54
52
|
backdropOpacity: "0"
|
|
55
53
|
});
|
|
56
54
|
};
|
|
57
|
-
A(() =>
|
|
58
|
-
|
|
55
|
+
A(() => u.visible, () => {
|
|
56
|
+
u.visible ? (s.value = !0, e.value = Ce.getNewIndex(), setTimeout(() => {
|
|
59
57
|
l();
|
|
60
58
|
}, 50)) : (a(), setTimeout(() => {
|
|
61
|
-
|
|
59
|
+
s.value = !1;
|
|
62
60
|
}, 200));
|
|
63
|
-
}),
|
|
61
|
+
}), n({
|
|
64
62
|
render: v,
|
|
65
63
|
open: l,
|
|
66
64
|
close: a
|
|
@@ -68,19 +66,19 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
68
66
|
const g = (m) => {
|
|
69
67
|
m.preventDefault(), d("dismiss", "backdrop");
|
|
70
68
|
};
|
|
71
|
-
return a(), (m,
|
|
72
|
-
p.value ? Y((
|
|
69
|
+
return a(), (m, I) => (i(), _(V, null, [
|
|
70
|
+
p.value ? Y((i(), _("div", {
|
|
73
71
|
key: 0,
|
|
74
|
-
class: x(["t-present", { [m.placement]: !0
|
|
72
|
+
class: x(["t-present", { [m.placement]: !0 }]),
|
|
75
73
|
ref_key: "present",
|
|
76
74
|
ref: c,
|
|
77
|
-
style: w({ ...f, zIndex: e.value
|
|
75
|
+
style: w({ ...f, zIndex: e.value })
|
|
78
76
|
}, [
|
|
79
77
|
h(m.$slots, "default", {}, void 0, !0)
|
|
80
78
|
], 6)), [
|
|
81
|
-
[H,
|
|
79
|
+
[H, s.value]
|
|
82
80
|
]) : C("", !0),
|
|
83
|
-
p.value ? Y((
|
|
81
|
+
p.value ? Y((i(), _("div", {
|
|
84
82
|
key: 1,
|
|
85
83
|
class: "t-present-backdrop",
|
|
86
84
|
onClick: g,
|
|
@@ -88,11 +86,11 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
88
86
|
ref: r,
|
|
89
87
|
style: w({ ...f, zIndex: e.value - 1 })
|
|
90
88
|
}, null, 4)), [
|
|
91
|
-
[H,
|
|
89
|
+
[H, s.value]
|
|
92
90
|
]) : C("", !0)
|
|
93
91
|
], 64));
|
|
94
92
|
}
|
|
95
|
-
}), W = /* @__PURE__ */ b(ge, [["__scopeId", "data-v-
|
|
93
|
+
}), W = /* @__PURE__ */ b(ge, [["__scopeId", "data-v-3d0c3227"]]), be = /* @__PURE__ */ T({
|
|
96
94
|
__name: "t-loading-icon",
|
|
97
95
|
props: {
|
|
98
96
|
size: {
|
|
@@ -105,7 +103,7 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
105
103
|
}
|
|
106
104
|
},
|
|
107
105
|
setup(t) {
|
|
108
|
-
return (
|
|
106
|
+
return (n, o) => (i(), _("span", {
|
|
109
107
|
class: "t-loading-icon",
|
|
110
108
|
style: w({
|
|
111
109
|
width: t.size,
|
|
@@ -132,39 +130,39 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
132
130
|
activeBackground: { type: Boolean, default: !1 }
|
|
133
131
|
},
|
|
134
132
|
setup(t) {
|
|
135
|
-
const
|
|
133
|
+
const n = t, o = S(() => {
|
|
136
134
|
let e;
|
|
137
|
-
return
|
|
135
|
+
return n.variant == "default" && (n.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(n.color) ? e = {
|
|
138
136
|
"--border": "none",
|
|
139
|
-
"--color": "var(--t-color-status-" +
|
|
140
|
-
"--background": "var(--t-color-status-" +
|
|
137
|
+
"--color": "var(--t-color-status-" + n.color + "-text)",
|
|
138
|
+
"--background": "var(--t-color-status-" + n.color + ")"
|
|
141
139
|
} : e = {
|
|
142
140
|
"--border": "none",
|
|
143
141
|
"--color": "var(--t-color-text)",
|
|
144
|
-
"--background":
|
|
142
|
+
"--background": n.color
|
|
145
143
|
} : e = {
|
|
146
144
|
"--border": "none",
|
|
147
145
|
"--color": "var(--t-color-text)",
|
|
148
146
|
"--background": "var(--t-color-surface)"
|
|
149
|
-
}),
|
|
147
|
+
}), n.variant == "text" && (n.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(n.color) ? e = {
|
|
150
148
|
"--border": "none",
|
|
151
|
-
"--color": "var(--t-color-status-" +
|
|
149
|
+
"--color": "var(--t-color-status-" + n.color + ")",
|
|
152
150
|
"--background": "transparent"
|
|
153
151
|
} : e = {
|
|
154
152
|
"--border": "none",
|
|
155
|
-
"--color":
|
|
153
|
+
"--color": n.color,
|
|
156
154
|
"--background": "transparent"
|
|
157
155
|
} : e = {
|
|
158
156
|
"--border": "none",
|
|
159
157
|
"--color": "var(--t-color-text)",
|
|
160
158
|
"--background": "transparent"
|
|
161
|
-
}),
|
|
162
|
-
"--border": "0.55px solid var(--t-color-status-" +
|
|
163
|
-
"--color": "var(--t-color-status-" +
|
|
159
|
+
}), n.variant == "outline" && (n.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(n.color) ? e = {
|
|
160
|
+
"--border": "0.55px solid var(--t-color-status-" + n.color + ")",
|
|
161
|
+
"--color": "var(--t-color-status-" + n.color + ")",
|
|
164
162
|
"--background": "transparent"
|
|
165
163
|
} : e = {
|
|
166
|
-
"--border": "0.55px solid " +
|
|
167
|
-
"--color":
|
|
164
|
+
"--border": "0.55px solid " + n.color,
|
|
165
|
+
"--color": n.color,
|
|
168
166
|
"--background": "transparent"
|
|
169
167
|
} : e = {
|
|
170
168
|
"--border": "0.55px solid var(--t-color-text)",
|
|
@@ -172,19 +170,19 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
172
170
|
"--background": "transparent"
|
|
173
171
|
}), e;
|
|
174
172
|
});
|
|
175
|
-
return (e,
|
|
176
|
-
class: x(["t-button", { "active-background":
|
|
173
|
+
return (e, s) => (i(), _("button", {
|
|
174
|
+
class: x(["t-button", { "active-background": n.activeBackground, rounded: n.rounded, block: n.block, ["size-" + n.size]: !0 }]),
|
|
177
175
|
style: w(o.value)
|
|
178
176
|
}, [
|
|
179
177
|
Y($("span", null, [
|
|
180
178
|
h(e.$slots, "default", {}, void 0, !0)
|
|
181
179
|
], 512), [
|
|
182
|
-
[H, !
|
|
180
|
+
[H, !n.loading]
|
|
183
181
|
]),
|
|
184
|
-
|
|
182
|
+
n.loading ? (i(), _("span", he, [
|
|
185
183
|
j(K, {
|
|
186
184
|
color: "var(--color)",
|
|
187
|
-
type:
|
|
185
|
+
type: n.loadingType
|
|
188
186
|
}, null, 8, ["type"])
|
|
189
187
|
])) : C("", !0)
|
|
190
188
|
], 6));
|
|
@@ -198,38 +196,36 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
198
196
|
title: {},
|
|
199
197
|
message: {},
|
|
200
198
|
actions: {},
|
|
201
|
-
dismiss: {}
|
|
202
|
-
size: {}
|
|
199
|
+
dismiss: {}
|
|
203
200
|
},
|
|
204
201
|
emits: ["dismiss"],
|
|
205
|
-
setup(t, { expose:
|
|
206
|
-
const e = t,
|
|
207
|
-
let
|
|
202
|
+
setup(t, { expose: n, emit: o }) {
|
|
203
|
+
const e = t, s = y(!1), r = o, c = y();
|
|
204
|
+
let u;
|
|
208
205
|
const d = y(!1), p = () => {
|
|
209
|
-
|
|
206
|
+
s.value = !0;
|
|
210
207
|
}, f = (l) => {
|
|
211
|
-
|
|
208
|
+
s.value = !1, l.handler && l.handler(), r("dismiss", "choose", l?.data);
|
|
212
209
|
}, v = (l) => {
|
|
213
|
-
e.dismiss && e.dismiss.includes(l) ? (
|
|
210
|
+
e.dismiss && e.dismiss.includes(l) ? (s.value = !1, r("dismiss", l)) : l == "backdrop" && (d.value = !0, setTimeout(() => {
|
|
214
211
|
d.value = !1;
|
|
215
212
|
}, 300));
|
|
216
213
|
};
|
|
217
|
-
return
|
|
214
|
+
return n({
|
|
218
215
|
open: p
|
|
219
216
|
}), A(() => c.value, (l) => {
|
|
220
|
-
l && (
|
|
217
|
+
l && (u = N(c.value, {
|
|
221
218
|
beforeEvent(a) {
|
|
222
219
|
return a.stopPropagation(), q(a.target) || (a.preventDefault(), X()), !1;
|
|
223
220
|
}
|
|
224
221
|
}));
|
|
225
222
|
}), L(() => {
|
|
226
|
-
|
|
227
|
-
}), (l, a) => (
|
|
223
|
+
u && u.destroy();
|
|
224
|
+
}), (l, a) => (i(), z(W, {
|
|
228
225
|
placement: "center",
|
|
229
|
-
size: e.size,
|
|
230
226
|
backdrop: !0,
|
|
231
227
|
keepalive: !1,
|
|
232
|
-
visible:
|
|
228
|
+
visible: s.value,
|
|
233
229
|
onDismiss: v
|
|
234
230
|
}, {
|
|
235
231
|
default: E(() => [
|
|
@@ -239,14 +235,14 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
239
235
|
ref: c
|
|
240
236
|
}, [
|
|
241
237
|
h(l.$slots, "header", {}, () => [
|
|
242
|
-
e.title ? (
|
|
238
|
+
e.title ? (i(), _("div", $e, D(e.title), 1)) : C("", !0)
|
|
243
239
|
], !0),
|
|
244
240
|
h(l.$slots, "content", {}, () => [
|
|
245
241
|
$("div", Te, D(e.message), 1)
|
|
246
242
|
], !0),
|
|
247
243
|
h(l.$slots, "footer", {}, () => [
|
|
248
244
|
$("div", we, [
|
|
249
|
-
(
|
|
245
|
+
(i(!0), _(V, null, U(e.actions, (g) => (i(), z(M, {
|
|
250
246
|
color: g.color,
|
|
251
247
|
variant: g.variant,
|
|
252
248
|
onClick: (m) => f(g)
|
|
@@ -261,69 +257,67 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
261
257
|
], 2)
|
|
262
258
|
]),
|
|
263
259
|
_: 3
|
|
264
|
-
}, 8, ["
|
|
260
|
+
}, 8, ["visible"]));
|
|
265
261
|
}
|
|
266
|
-
}),
|
|
262
|
+
}), ne = /* @__PURE__ */ b(xe, [["__scopeId", "data-v-5cf415ec"]]), Ut = (t = {}) => ({
|
|
267
263
|
open() {
|
|
268
|
-
return new Promise((
|
|
264
|
+
return new Promise((n) => {
|
|
269
265
|
let o = document.body.querySelector(".t-app");
|
|
270
266
|
if (!o) return;
|
|
271
|
-
const e = document.createElement("div"),
|
|
267
|
+
const e = document.createElement("div"), s = y();
|
|
272
268
|
o.appendChild(e);
|
|
273
269
|
const r = F({
|
|
274
270
|
render() {
|
|
275
|
-
return G(
|
|
271
|
+
return G(ne, {
|
|
276
272
|
...t,
|
|
277
|
-
ref:
|
|
278
|
-
onDismiss: (c,
|
|
273
|
+
ref: s,
|
|
274
|
+
onDismiss: (c, u) => {
|
|
279
275
|
setTimeout(() => {
|
|
280
276
|
r.unmount(), e.remove();
|
|
281
|
-
}, 300),
|
|
277
|
+
}, 300), n(u);
|
|
282
278
|
}
|
|
283
279
|
});
|
|
284
280
|
}
|
|
285
281
|
});
|
|
286
282
|
r.mount(e), setTimeout(() => {
|
|
287
|
-
|
|
283
|
+
s.value?.open?.();
|
|
288
284
|
}, 50);
|
|
289
285
|
});
|
|
290
286
|
}
|
|
291
|
-
}),
|
|
287
|
+
}), Ie = /* @__PURE__ */ T({
|
|
292
288
|
__name: "t-action",
|
|
293
289
|
props: {
|
|
294
290
|
actions: {},
|
|
295
|
-
dismiss: {}
|
|
296
|
-
size: {}
|
|
291
|
+
dismiss: {}
|
|
297
292
|
},
|
|
298
293
|
emits: ["dismiss"],
|
|
299
|
-
setup(t, { expose:
|
|
300
|
-
const e = t,
|
|
301
|
-
let
|
|
294
|
+
setup(t, { expose: n, emit: o }) {
|
|
295
|
+
const e = t, s = y(!1), r = o, c = y();
|
|
296
|
+
let u;
|
|
302
297
|
const d = y(!1), p = () => {
|
|
303
|
-
|
|
298
|
+
s.value = !0;
|
|
304
299
|
}, f = (l) => {
|
|
305
|
-
|
|
300
|
+
s.value = !1, l.handler && l.handler(), r("dismiss", "choose", l?.data);
|
|
306
301
|
}, v = (l) => {
|
|
307
|
-
e.dismiss && e.dismiss.includes(l) ? (
|
|
302
|
+
e.dismiss && e.dismiss.includes(l) ? (s.value = !1, r("dismiss", l)) : l == "backdrop" && (d.value = !0, setTimeout(() => {
|
|
308
303
|
d.value = !1;
|
|
309
304
|
}, 300));
|
|
310
305
|
};
|
|
311
|
-
return
|
|
306
|
+
return n({
|
|
312
307
|
open: p
|
|
313
308
|
}), A(() => c.value, (l) => {
|
|
314
|
-
l && (
|
|
309
|
+
l && (u = N(c.value, {
|
|
315
310
|
beforeEvent(a) {
|
|
316
311
|
return a.stopPropagation(), q(a.target) || (a.preventDefault(), X()), !1;
|
|
317
312
|
}
|
|
318
313
|
}));
|
|
319
314
|
}), L(() => {
|
|
320
|
-
|
|
321
|
-
}), (l, a) => (
|
|
315
|
+
u && u.destroy();
|
|
316
|
+
}), (l, a) => (i(), z(W, {
|
|
322
317
|
placement: "bottom",
|
|
323
|
-
size: e.size,
|
|
324
318
|
backdrop: !0,
|
|
325
319
|
keepalive: !1,
|
|
326
|
-
visible:
|
|
320
|
+
visible: s.value,
|
|
327
321
|
onDismiss: v
|
|
328
322
|
}, {
|
|
329
323
|
default: E(() => [
|
|
@@ -332,12 +326,12 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
332
326
|
ref_key: "container",
|
|
333
327
|
ref: c
|
|
334
328
|
}, [
|
|
335
|
-
(
|
|
336
|
-
(
|
|
329
|
+
(i(!0), _(V, null, U(e.actions, (g) => (i(), _("div", null, [
|
|
330
|
+
(i(!0), _(V, null, U(g, (m) => (i(), z(M, {
|
|
337
331
|
color: m.color,
|
|
338
332
|
size: m.size,
|
|
339
333
|
variant: m.variant,
|
|
340
|
-
onClick: (
|
|
334
|
+
onClick: (I) => f(m),
|
|
341
335
|
block: ""
|
|
342
336
|
}, {
|
|
343
337
|
default: E(() => [
|
|
@@ -349,49 +343,48 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
349
343
|
], 2)
|
|
350
344
|
]),
|
|
351
345
|
_: 1
|
|
352
|
-
}, 8, ["
|
|
346
|
+
}, 8, ["visible"]));
|
|
353
347
|
}
|
|
354
|
-
}),
|
|
348
|
+
}), Se = /* @__PURE__ */ b(Ie, [["__scopeId", "data-v-5c29cf79"]]), jt = (t = {}) => ({
|
|
355
349
|
open() {
|
|
356
|
-
return new Promise((
|
|
350
|
+
return new Promise((n) => {
|
|
357
351
|
let o = document.body.querySelector(".t-app");
|
|
358
352
|
if (!o) return;
|
|
359
|
-
const e = document.createElement("div"),
|
|
353
|
+
const e = document.createElement("div"), s = y();
|
|
360
354
|
o.appendChild(e);
|
|
361
355
|
const r = F({
|
|
362
356
|
render() {
|
|
363
|
-
return G(
|
|
357
|
+
return G(Se, {
|
|
364
358
|
...t,
|
|
365
|
-
ref:
|
|
366
|
-
onDismiss: (c,
|
|
359
|
+
ref: s,
|
|
360
|
+
onDismiss: (c, u) => {
|
|
367
361
|
setTimeout(() => {
|
|
368
362
|
r.unmount(), e.remove();
|
|
369
|
-
}, 300),
|
|
363
|
+
}, 300), n(u);
|
|
370
364
|
}
|
|
371
365
|
});
|
|
372
366
|
}
|
|
373
367
|
});
|
|
374
368
|
r.mount(e), setTimeout(() => {
|
|
375
|
-
|
|
369
|
+
s.value?.open?.();
|
|
376
370
|
}, 50);
|
|
377
371
|
});
|
|
378
372
|
}
|
|
379
|
-
}),
|
|
373
|
+
}), ze = /* @__PURE__ */ T({
|
|
380
374
|
__name: "t-loading",
|
|
381
375
|
props: {
|
|
382
|
-
type: { default: "spinner" }
|
|
383
|
-
size: {}
|
|
376
|
+
type: { default: "spinner" }
|
|
384
377
|
},
|
|
385
378
|
emits: ["dismiss"],
|
|
386
|
-
setup(t, { expose:
|
|
387
|
-
const e = t,
|
|
379
|
+
setup(t, { expose: n, emit: o }) {
|
|
380
|
+
const e = t, s = y(!1), r = y();
|
|
388
381
|
let c;
|
|
389
|
-
return
|
|
382
|
+
return n({
|
|
390
383
|
open: () => {
|
|
391
|
-
|
|
384
|
+
s.value = !0;
|
|
392
385
|
},
|
|
393
386
|
close: () => {
|
|
394
|
-
|
|
387
|
+
s.value = !1;
|
|
395
388
|
}
|
|
396
389
|
}), A(() => r.value, (p) => {
|
|
397
390
|
p && (c = N(r.value, {
|
|
@@ -401,12 +394,11 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
401
394
|
}));
|
|
402
395
|
}), L(() => {
|
|
403
396
|
c && c.destroy();
|
|
404
|
-
}), (p, f) => (
|
|
397
|
+
}), (p, f) => (i(), z(W, {
|
|
405
398
|
placement: "center",
|
|
406
|
-
size: e.size,
|
|
407
399
|
backdrop: !0,
|
|
408
400
|
keepalive: !1,
|
|
409
|
-
visible:
|
|
401
|
+
visible: s.value
|
|
410
402
|
}, {
|
|
411
403
|
default: E(() => [
|
|
412
404
|
$("div", {
|
|
@@ -422,30 +414,30 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
422
414
|
], 512)
|
|
423
415
|
]),
|
|
424
416
|
_: 3
|
|
425
|
-
}, 8, ["
|
|
417
|
+
}, 8, ["visible"]));
|
|
426
418
|
}
|
|
427
|
-
}), Be = /* @__PURE__ */ b(
|
|
428
|
-
const
|
|
429
|
-
let e = null,
|
|
419
|
+
}), Be = /* @__PURE__ */ b(ze, [["__scopeId", "data-v-d048a41d"]]), Ft = (t = {}) => {
|
|
420
|
+
const n = y(), o = document.body.querySelector(".t-app");
|
|
421
|
+
let e = null, s = null;
|
|
430
422
|
return {
|
|
431
423
|
open() {
|
|
432
424
|
return new Promise((r) => {
|
|
433
|
-
o && (
|
|
425
|
+
o && (s = document.createElement("div"), o.appendChild(s), e = F({
|
|
434
426
|
render() {
|
|
435
427
|
return G(Be, {
|
|
436
428
|
...t,
|
|
437
|
-
ref:
|
|
429
|
+
ref: n
|
|
438
430
|
});
|
|
439
431
|
}
|
|
440
|
-
}), e.mount(
|
|
441
|
-
|
|
432
|
+
}), e.mount(s), setTimeout(() => {
|
|
433
|
+
n.value?.open?.(), r(!0);
|
|
442
434
|
}, 50));
|
|
443
435
|
});
|
|
444
436
|
},
|
|
445
437
|
close() {
|
|
446
438
|
return new Promise((r) => {
|
|
447
|
-
|
|
448
|
-
e?.unmount?.(),
|
|
439
|
+
n.value?.close?.(), setTimeout(() => {
|
|
440
|
+
e?.unmount?.(), s?.remove?.(), r(!0);
|
|
449
441
|
}, 300);
|
|
450
442
|
});
|
|
451
443
|
}
|
|
@@ -465,9 +457,9 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
465
457
|
addScreen: Ee,
|
|
466
458
|
removeScreen: Pe,
|
|
467
459
|
removeAllScreen: De,
|
|
468
|
-
hasPrevious:
|
|
469
|
-
currentScreen:
|
|
470
|
-
lastScreen:
|
|
460
|
+
hasPrevious: S(() => B.length > 1),
|
|
461
|
+
currentScreen: S(() => B[B.length - 1]),
|
|
462
|
+
lastScreen: S(() => {
|
|
471
463
|
if (!(B.length < 2))
|
|
472
464
|
return B[B.length - 2];
|
|
473
465
|
})
|
|
@@ -482,18 +474,18 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
482
474
|
variant: { default: "default" }
|
|
483
475
|
},
|
|
484
476
|
emits: ["dismiss"],
|
|
485
|
-
setup(t, { expose:
|
|
486
|
-
const e = t,
|
|
487
|
-
c.value = !0,
|
|
477
|
+
setup(t, { expose: n, emit: o }) {
|
|
478
|
+
const e = t, s = o, r = y(!1), c = y(!1), u = y(!1), d = () => {
|
|
479
|
+
c.value = !0, u.value = !1, setTimeout(() => {
|
|
488
480
|
r.value = !0;
|
|
489
481
|
}, 10), setTimeout(() => {
|
|
490
482
|
p();
|
|
491
483
|
}, e.duration + 10);
|
|
492
484
|
}, p = () => {
|
|
493
|
-
|
|
494
|
-
c.value = !1, r.value = !1,
|
|
485
|
+
u.value = !0, setTimeout(() => {
|
|
486
|
+
c.value = !1, r.value = !1, s("dismiss");
|
|
495
487
|
}, 300);
|
|
496
|
-
}, f =
|
|
488
|
+
}, f = S(() => {
|
|
497
489
|
let v;
|
|
498
490
|
return e.variant == "default" && (e.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(e.color) ? v = {
|
|
499
491
|
"--border": "none",
|
|
@@ -533,34 +525,34 @@ const ye = /* @__PURE__ */ b(me, [["render", _e]]), ge = /* @__PURE__ */ T({
|
|
|
533
525
|
"--background": "transparent"
|
|
534
526
|
}), v;
|
|
535
527
|
});
|
|
536
|
-
return
|
|
528
|
+
return n({
|
|
537
529
|
open: d
|
|
538
|
-
}), (v, l) => c.value ? (
|
|
530
|
+
}), (v, l) => c.value ? (i(), _("div", {
|
|
539
531
|
key: 0,
|
|
540
|
-
class: x(["t-toast", { [e.placement]: !0, open: r.value, closing:
|
|
532
|
+
class: x(["t-toast", { [e.placement]: !0, open: r.value, closing: u.value }]),
|
|
541
533
|
style: w({ "--space": e.space, ...f.value })
|
|
542
534
|
}, D(e.message), 7)) : C("", !0);
|
|
543
535
|
}
|
|
544
|
-
}),
|
|
536
|
+
}), se = /* @__PURE__ */ b(Re, [["__scopeId", "data-v-61960e03"]]), Gt = (t = {}) => ({
|
|
545
537
|
open() {
|
|
546
|
-
let
|
|
547
|
-
if (!
|
|
538
|
+
let n = document.body.querySelector(".t-app");
|
|
539
|
+
if (!n) return;
|
|
548
540
|
const o = document.createElement("div"), e = y();
|
|
549
|
-
|
|
550
|
-
const
|
|
541
|
+
n.appendChild(o);
|
|
542
|
+
const s = F({
|
|
551
543
|
render() {
|
|
552
|
-
return G(
|
|
544
|
+
return G(se, {
|
|
553
545
|
...t,
|
|
554
546
|
ref: e,
|
|
555
547
|
onDismiss: () => {
|
|
556
548
|
setTimeout(() => {
|
|
557
|
-
|
|
549
|
+
s.unmount(), o.remove();
|
|
558
550
|
}, 300);
|
|
559
551
|
}
|
|
560
552
|
});
|
|
561
553
|
}
|
|
562
554
|
});
|
|
563
|
-
|
|
555
|
+
s.mount(o), setTimeout(() => {
|
|
564
556
|
e.value?.open?.();
|
|
565
557
|
}, 50);
|
|
566
558
|
}
|
|
@@ -577,9 +569,9 @@ const Le = /* @__PURE__ */ T({
|
|
|
577
569
|
placement: { default: "bottom" }
|
|
578
570
|
},
|
|
579
571
|
setup(t) {
|
|
580
|
-
const
|
|
581
|
-
return (e,
|
|
582
|
-
class: x(["t-cable", { keyboard:
|
|
572
|
+
const n = t, { height: o } = Ve();
|
|
573
|
+
return (e, s) => (i(), _("div", {
|
|
574
|
+
class: x(["t-cable", { keyboard: n.keyboard && P(o) > 0, [n.placement]: !0 }]),
|
|
583
575
|
style: w({ "--t-keyboard-height": P(o) + "px", "--t-keyboard-transition": P(o) > 0 ? "0.3s" : "0.1s" })
|
|
584
576
|
}, [
|
|
585
577
|
h(e.$slots, "default", {}, void 0, !0)
|
|
@@ -591,17 +583,17 @@ const Le = /* @__PURE__ */ T({
|
|
|
591
583
|
color: { default: null }
|
|
592
584
|
},
|
|
593
585
|
setup(t) {
|
|
594
|
-
const
|
|
586
|
+
const n = t, o = S(() => {
|
|
595
587
|
let e;
|
|
596
|
-
return
|
|
597
|
-
"--background": "var(--t-color-status-" +
|
|
588
|
+
return n.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(n.color) ? e = {
|
|
589
|
+
"--background": "var(--t-color-status-" + n.color + ")"
|
|
598
590
|
} : e = {
|
|
599
|
-
"--background":
|
|
591
|
+
"--background": n.color
|
|
600
592
|
} : e = {
|
|
601
593
|
"--background": "var(--t-color-surface)"
|
|
602
594
|
}, e;
|
|
603
595
|
});
|
|
604
|
-
return (e,
|
|
596
|
+
return (e, s) => (i(), _("div", {
|
|
605
597
|
class: "t-card",
|
|
606
598
|
style: w(o.value)
|
|
607
599
|
}, [
|
|
@@ -609,23 +601,23 @@ const Le = /* @__PURE__ */ T({
|
|
|
609
601
|
], 4));
|
|
610
602
|
}
|
|
611
603
|
}), qe = {}, Xe = { class: "t-content" };
|
|
612
|
-
function We(t,
|
|
613
|
-
return
|
|
604
|
+
function We(t, n) {
|
|
605
|
+
return i(), _("div", Xe, [
|
|
614
606
|
h(t.$slots, "default", {}, void 0, !0)
|
|
615
607
|
]);
|
|
616
608
|
}
|
|
617
609
|
const re = /* @__PURE__ */ b(qe, [["render", We], ["__scopeId", "data-v-d58accf4"]]), ee = 80, Ye = /* @__PURE__ */ T({
|
|
618
610
|
__name: "t-refresher",
|
|
619
611
|
emits: ["refresh"],
|
|
620
|
-
setup(t, { emit:
|
|
621
|
-
const o =
|
|
622
|
-
let c,
|
|
612
|
+
setup(t, { emit: n }) {
|
|
613
|
+
const o = n, e = y(0), s = y(!1), r = y();
|
|
614
|
+
let c, u = !1;
|
|
623
615
|
const d = () => {
|
|
624
|
-
|
|
625
|
-
|
|
616
|
+
s.value = !1, e.value = 0, c && c.cancel(), setTimeout(() => {
|
|
617
|
+
u = !1;
|
|
626
618
|
}, 2e3);
|
|
627
619
|
}, p = () => {
|
|
628
|
-
|
|
620
|
+
u = !0, s.value = !0, e.value = ee, o("refresh", d);
|
|
629
621
|
};
|
|
630
622
|
return A(() => r.value, () => {
|
|
631
623
|
c && c.destroy();
|
|
@@ -635,27 +627,27 @@ const re = /* @__PURE__ */ b(qe, [["render", We], ["__scopeId", "data-v-d58accf4
|
|
|
635
627
|
minDist: 60
|
|
636
628
|
},
|
|
637
629
|
move({ dy: v, e: l }) {
|
|
638
|
-
|
|
630
|
+
s.value || u || v < 0 || (v > 5 && f.scrollTop == 0 && (l.preventDefault(), f.classList.add("scroll-hidden")), v >= 120 ? p() : v > 10 && (e.value = v));
|
|
639
631
|
},
|
|
640
632
|
up({ dy: v, e: l }) {
|
|
641
|
-
f.classList.remove("scroll-hidden"), !(
|
|
633
|
+
f.classList.remove("scroll-hidden"), !(s.value || u) && (v > ee ? p() : e.value = 0);
|
|
642
634
|
},
|
|
643
635
|
cancel() {
|
|
644
|
-
f.classList.remove("scroll-hidden"), !(
|
|
636
|
+
f.classList.remove("scroll-hidden"), !(s.value || u) && (s.value = !1, e.value = 0);
|
|
645
637
|
}
|
|
646
638
|
}, {
|
|
647
639
|
passive: !1
|
|
648
640
|
}));
|
|
649
641
|
}), L(() => {
|
|
650
642
|
c && c.destroy();
|
|
651
|
-
}), (f, v) => Y((
|
|
643
|
+
}), (f, v) => Y((i(), _("div", {
|
|
652
644
|
class: "t-refresher",
|
|
653
645
|
ref_key: "container",
|
|
654
646
|
ref: r,
|
|
655
647
|
style: w({ height: `${e.value}px` })
|
|
656
648
|
}, [
|
|
657
649
|
$("img", {
|
|
658
|
-
class: x({ spiner:
|
|
650
|
+
class: x({ spiner: s.value }),
|
|
659
651
|
src: "https://static.toikit.com/toikit/home_2.png?v=3",
|
|
660
652
|
alt: "Loading...",
|
|
661
653
|
style: { width: "22px", height: "22px" }
|
|
@@ -665,17 +657,17 @@ const re = /* @__PURE__ */ b(qe, [["render", We], ["__scopeId", "data-v-d58accf4
|
|
|
665
657
|
]);
|
|
666
658
|
}
|
|
667
659
|
}), He = /* @__PURE__ */ b(Ye, [["__scopeId", "data-v-ac2b2370"]]), Ue = {}, je = { class: "t-screen" };
|
|
668
|
-
function Fe(t,
|
|
669
|
-
return
|
|
660
|
+
function Fe(t, n) {
|
|
661
|
+
return i(), _("div", je, [
|
|
670
662
|
h(t.$slots, "default", {}, void 0, !0)
|
|
671
663
|
]);
|
|
672
664
|
}
|
|
673
665
|
const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c"]]), Ge = /* @__PURE__ */ T({
|
|
674
666
|
__name: "t-swipe-screen",
|
|
675
667
|
emits: ["change"],
|
|
676
|
-
setup(t, { emit:
|
|
668
|
+
setup(t, { emit: n }) {
|
|
677
669
|
let o = {};
|
|
678
|
-
const e = oe(),
|
|
670
|
+
const e = oe(), s = pe(), r = e.getRoutes(), c = y(!1), u = n;
|
|
679
671
|
for (let a of r)
|
|
680
672
|
o[a.name] = a.components;
|
|
681
673
|
const d = (a) => {
|
|
@@ -687,15 +679,15 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
687
679
|
}, p = (a, g) => {
|
|
688
680
|
!g || k.screens[a].target || (k.screens[a].target = g.$el, a > 0 && (c.value = !0, g.$el.style.transform = "translateX(var(--t-app-width))", g.$el.transitionOrigin = "center", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0"), setTimeout(() => {
|
|
689
681
|
g.$el.style.transition = "transform 0.35s ease", g.$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"), k.screens.length > 1 && (k.lastScreen.value.target.style.transitionOrigin = "left center", k.lastScreen.value.target.style.transition = "transform 0.35s ease", k.lastScreen.value.target.style.transform = "translateX(calc(var(--t-app-width) / 100 * 30 * -1)) scale(0.5) perspective(var(--t-app-width)) rotateY(30deg)"), setTimeout(() => {
|
|
690
|
-
|
|
682
|
+
u("change"), c.value = !1;
|
|
691
683
|
}, 400);
|
|
692
684
|
}, 100)));
|
|
693
685
|
}, f = () => {
|
|
694
686
|
k.currentScreen.value.target.style.transition = "transform 0.35s ease", k.currentScreen.value.target.style.transform = "translateX(var(--t-app-width)) scale(1)", k.lastScreen.value.target.style.transition = "transform 0.35s ease", k.lastScreen.value.target.style.transform = "translateX(0px) scale(1) perspective(var(--t-app-width)) rotateY(0deg)", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0.35s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0"), c.value = !0, setTimeout(() => {
|
|
695
|
-
k.removeScreen(),
|
|
687
|
+
k.removeScreen(), u("change"), c.value = !1;
|
|
696
688
|
}, 400);
|
|
697
689
|
};
|
|
698
|
-
d(
|
|
690
|
+
d(s.name), A(() => s.name, (a, g) => {
|
|
699
691
|
a != k.currentScreen.value.name && (k.lastScreen.value?.name == a ? f() : d(a));
|
|
700
692
|
});
|
|
701
693
|
const v = () => {
|
|
@@ -719,9 +711,9 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
719
711
|
a == "right" && e.back();
|
|
720
712
|
},
|
|
721
713
|
move({ dx: a }) {
|
|
722
|
-
const g = window.innerWidth, m = a / g * 100,
|
|
714
|
+
const g = window.innerWidth, m = a / g * 100, I = k.currentScreen.value.target, R = k.lastScreen?.value?.target;
|
|
723
715
|
if (a > 15 && a <= g) {
|
|
724
|
-
|
|
716
|
+
I.style.transition = "transform 0s ease", I.style.transform = `translateX(${a}px)`, R.style.transition = "transform 0s ease", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0s"), R.style.transform = `translateX(calc((var(--t-app-width) / 100 * 30 * -1) + ((var(--t-app-width) / 100 * 30) / 100 * ${m}))) scale(${0.5 + 0.5 / 100 * m}) perspective(var(--t-app-width)) rotateY(${30 - 30 / 100 * m}deg)`, document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", `${0.5 - 0.5 / 100 * m}`);
|
|
725
717
|
return;
|
|
726
718
|
}
|
|
727
719
|
},
|
|
@@ -735,15 +727,15 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
735
727
|
});
|
|
736
728
|
}), L(() => {
|
|
737
729
|
l && l.destroy(), k.removeAllScreen();
|
|
738
|
-
}), (a, g) => (
|
|
739
|
-
(
|
|
730
|
+
}), (a, g) => (i(), _(V, null, [
|
|
731
|
+
(i(!0), _(V, null, U(P(k).screens, (m, I) => (i(), z(ae, {
|
|
740
732
|
ref_for: !0,
|
|
741
|
-
ref: (R) => p(
|
|
742
|
-
style: w({ zIndex:
|
|
743
|
-
key:
|
|
733
|
+
ref: (R) => p(I, R),
|
|
734
|
+
style: w({ zIndex: I + (I == P(k).screens.length - 1 ? 2 : 1) }),
|
|
735
|
+
key: I
|
|
744
736
|
}, {
|
|
745
737
|
default: E(() => [
|
|
746
|
-
(
|
|
738
|
+
(i(), z(ce(m.component.default)))
|
|
747
739
|
]),
|
|
748
740
|
_: 2
|
|
749
741
|
}, 1032, ["style"]))), 128)),
|
|
@@ -760,10 +752,10 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
760
752
|
size: { default: "50px" }
|
|
761
753
|
},
|
|
762
754
|
setup(t) {
|
|
763
|
-
const
|
|
764
|
-
return (o, e) => (
|
|
765
|
-
class: x(["t-toolbar", { [
|
|
766
|
-
style: w({ "--t-size-toolbar":
|
|
755
|
+
const n = t;
|
|
756
|
+
return (o, e) => (i(), _("div", {
|
|
757
|
+
class: x(["t-toolbar", { [n.placement]: !0 }]),
|
|
758
|
+
style: w({ "--t-size-toolbar": n.size })
|
|
767
759
|
}, [
|
|
768
760
|
$("div", null, [
|
|
769
761
|
h(o.$slots, "default", {}, void 0, !0)
|
|
@@ -776,15 +768,15 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
776
768
|
to: {}
|
|
777
769
|
},
|
|
778
770
|
setup(t) {
|
|
779
|
-
const
|
|
780
|
-
k.hasPrevious.value ?
|
|
771
|
+
const n = oe(), o = t, e = () => {
|
|
772
|
+
k.hasPrevious.value ? n?.back?.() : o.to && n?.push?.(o.to);
|
|
781
773
|
};
|
|
782
|
-
return (
|
|
774
|
+
return (s, r) => s.to || P(k).hasPrevious ? (i(), _("button", {
|
|
783
775
|
key: 0,
|
|
784
776
|
class: "t-back-button",
|
|
785
777
|
onClick: e
|
|
786
778
|
}, [
|
|
787
|
-
h(
|
|
779
|
+
h(s.$slots, "default", {}, () => [
|
|
788
780
|
r[0] || (r[0] = $("i", { class: "ri-arrow-left-s-line" }, null, -1))
|
|
789
781
|
], !0)
|
|
790
782
|
])) : C("", !0);
|
|
@@ -796,14 +788,14 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
796
788
|
size: { default: "standard" }
|
|
797
789
|
},
|
|
798
790
|
setup(t) {
|
|
799
|
-
const
|
|
800
|
-
let e,
|
|
801
|
-
return
|
|
802
|
-
"--color":
|
|
791
|
+
const n = t, o = S(() => {
|
|
792
|
+
let e, s = n.color;
|
|
793
|
+
return n.size == "standard" ? e = "var(--t-fs-10)" : n.size == "small" ? e = "var(--t-fs-08)" : n.size == "large" ? e = "var(--t-fs-12)" : e = n.size, ["warning", "info", "danger", "primary", "secondary", "success"].includes(n.color) && (s = `var(--t-color-status-${n.color})`), {
|
|
794
|
+
"--color": s,
|
|
803
795
|
"--font-size": e
|
|
804
796
|
};
|
|
805
797
|
});
|
|
806
|
-
return (e,
|
|
798
|
+
return (e, s) => (i(), _("span", {
|
|
807
799
|
class: "t-text",
|
|
808
800
|
style: w(o.value)
|
|
809
801
|
}, [
|
|
@@ -816,8 +808,8 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
816
808
|
placement: { default: "bottom" }
|
|
817
809
|
},
|
|
818
810
|
setup(t) {
|
|
819
|
-
return (
|
|
820
|
-
class: x(["t-pull-bar", { [
|
|
811
|
+
return (n, o) => (i(), _("div", {
|
|
812
|
+
class: x(["t-pull-bar", { [n.placement]: !0 }])
|
|
821
813
|
}, null, 2));
|
|
822
814
|
}
|
|
823
815
|
}), le = /* @__PURE__ */ b(tt, [["__scopeId", "data-v-daa38c85"]]), ot = /* @__PURE__ */ T({
|
|
@@ -832,14 +824,13 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
832
824
|
backdrop: { type: Boolean, default: !0 },
|
|
833
825
|
rounded: { type: Boolean, default: !0 },
|
|
834
826
|
radius: { type: Boolean, default: !0 },
|
|
835
|
-
size: {},
|
|
836
827
|
closeButton: { type: Boolean, default: !0 }
|
|
837
828
|
},
|
|
838
829
|
emits: ["dismiss"],
|
|
839
|
-
setup(t, { emit:
|
|
840
|
-
const o = t, e =
|
|
841
|
-
let
|
|
842
|
-
const d =
|
|
830
|
+
setup(t, { emit: n }) {
|
|
831
|
+
const o = t, e = n, s = y(), r = y(), c = y(!1);
|
|
832
|
+
let u = null;
|
|
833
|
+
const d = S(() => {
|
|
843
834
|
if (o.placement == "bottom") return "down";
|
|
844
835
|
if (o.placement == "top") return "up";
|
|
845
836
|
if (o.placement == "left") return "left";
|
|
@@ -851,8 +842,8 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
851
842
|
c.value = !1;
|
|
852
843
|
}, 300);
|
|
853
844
|
};
|
|
854
|
-
return A(() =>
|
|
855
|
-
v && (
|
|
845
|
+
return A(() => s.value, (v) => {
|
|
846
|
+
v && (u = N(s.value, {
|
|
856
847
|
options: {
|
|
857
848
|
minDist: 30
|
|
858
849
|
},
|
|
@@ -880,20 +871,18 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
880
871
|
r.value.open();
|
|
881
872
|
return;
|
|
882
873
|
}
|
|
883
|
-
let m,
|
|
884
|
-
o.placement == "bottom" || o.placement == "top" ? (m =
|
|
874
|
+
let m, I, R;
|
|
875
|
+
o.placement == "bottom" || o.placement == "top" ? (m = s.value.offsetHeight, R = l) : (m = s.value.offsetWidth, R = a), I = R / m * 100, I > 50 ? e("dismiss", "gesture") : r.value.open();
|
|
885
876
|
},
|
|
886
877
|
cancel() {
|
|
887
878
|
f(), r.value.open();
|
|
888
879
|
}
|
|
889
880
|
}));
|
|
890
881
|
}), L(() => {
|
|
891
|
-
|
|
892
|
-
}), (v, l) => (
|
|
882
|
+
u && u.destroy();
|
|
883
|
+
}), (v, l) => (i(), z(W, {
|
|
893
884
|
ref_key: "present",
|
|
894
885
|
ref: r,
|
|
895
|
-
size: o.size,
|
|
896
|
-
fullscreen: o.fullscreen,
|
|
897
886
|
placement: o.placement,
|
|
898
887
|
backdrop: v.backdrop,
|
|
899
888
|
visible: o.visible,
|
|
@@ -901,11 +890,11 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
901
890
|
onDismiss: p
|
|
902
891
|
}, {
|
|
903
892
|
default: E(() => [
|
|
904
|
-
o.gesture && o.placement != "center" ? (
|
|
893
|
+
o.gesture && o.placement != "center" ? (i(), z(le, {
|
|
905
894
|
key: 0,
|
|
906
895
|
placement: o.placement
|
|
907
896
|
}, null, 8, ["placement"])) : C("", !0),
|
|
908
|
-
o.closeButton && o.placement == "center" ? (
|
|
897
|
+
o.closeButton && o.placement == "center" ? (i(), _("button", {
|
|
909
898
|
key: 1,
|
|
910
899
|
class: "t-sheet-close",
|
|
911
900
|
onClick: l[0] || (l[0] = (a) => p("close-button"))
|
|
@@ -918,15 +907,15 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
918
907
|
class: x(["t-sheet", { fullscreen: o.fullscreen, [o.placement]: !0, rounded: v.rounded, radius: o.radius }]),
|
|
919
908
|
style: w({ "--background": o.background }),
|
|
920
909
|
ref_key: "sheet",
|
|
921
|
-
ref:
|
|
910
|
+
ref: s
|
|
922
911
|
}, [
|
|
923
912
|
h(v.$slots, "default", {}, void 0, !0)
|
|
924
913
|
], 6)
|
|
925
914
|
]),
|
|
926
915
|
_: 3
|
|
927
|
-
}, 8, ["
|
|
916
|
+
}, 8, ["placement", "backdrop", "visible", "keepalive"]));
|
|
928
917
|
}
|
|
929
|
-
}),
|
|
918
|
+
}), nt = /* @__PURE__ */ b(ot, [["__scopeId", "data-v-421d51f2"]]), st = { class: "t-input-label" }, rt = { class: "t-input-content" }, at = ["type", "placeholder", "value"], lt = /* @__PURE__ */ T({
|
|
930
919
|
__name: "t-input",
|
|
931
920
|
props: {
|
|
932
921
|
size: { default: "standard" },
|
|
@@ -940,27 +929,27 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
940
929
|
variant: { default: "default" }
|
|
941
930
|
},
|
|
942
931
|
emits: ["update:modelValue"],
|
|
943
|
-
setup(t, { emit:
|
|
944
|
-
const o = t, e =
|
|
932
|
+
setup(t, { emit: n }) {
|
|
933
|
+
const o = t, e = n, s = (r) => {
|
|
945
934
|
e("update:modelValue", r.target.value);
|
|
946
935
|
};
|
|
947
|
-
return (r, c) => (
|
|
936
|
+
return (r, c) => (i(), _("div", {
|
|
948
937
|
class: x(["t-input", { rounded: o.rounded, ["size-" + o.size]: !0, ["variant-" + o.variant]: !0 }])
|
|
949
938
|
}, [
|
|
950
939
|
$("label", null, [
|
|
951
|
-
$("span",
|
|
940
|
+
$("span", st, D(r.label), 1),
|
|
952
941
|
$("div", rt, [
|
|
953
942
|
h(r.$slots, "start", {}, void 0, !0),
|
|
954
943
|
$("input", {
|
|
955
944
|
type: r.type,
|
|
956
945
|
placeholder: r.placeholder,
|
|
957
946
|
value: r.modelValue,
|
|
958
|
-
onInput:
|
|
947
|
+
onInput: s
|
|
959
948
|
}, null, 40, at),
|
|
960
949
|
h(r.$slots, "end", {}, void 0, !0)
|
|
961
950
|
])
|
|
962
951
|
]),
|
|
963
|
-
o.error ? (
|
|
952
|
+
o.error ? (i(), z(J, {
|
|
964
953
|
key: 0,
|
|
965
954
|
color: "danger"
|
|
966
955
|
}, {
|
|
@@ -968,7 +957,7 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
968
957
|
O(D(o.error), 1)
|
|
969
958
|
]),
|
|
970
959
|
_: 1
|
|
971
|
-
})) : o.help ? (
|
|
960
|
+
})) : o.help ? (i(), z(J, {
|
|
972
961
|
key: 1,
|
|
973
962
|
color: "secondary"
|
|
974
963
|
}, {
|
|
@@ -980,20 +969,20 @@ const ae = /* @__PURE__ */ b(Ue, [["render", Fe], ["__scopeId", "data-v-c2a3436c
|
|
|
980
969
|
], 2));
|
|
981
970
|
}
|
|
982
971
|
}), ct = /* @__PURE__ */ b(lt, [["__scopeId", "data-v-1a9425cf"]]), it = {};
|
|
983
|
-
function ut(t,
|
|
984
|
-
return
|
|
972
|
+
function ut(t, n) {
|
|
973
|
+
return i(), _("textarea");
|
|
985
974
|
}
|
|
986
975
|
const dt = /* @__PURE__ */ b(it, [["render", ut]]), pt = {};
|
|
987
|
-
function ft(t,
|
|
988
|
-
return
|
|
976
|
+
function ft(t, n) {
|
|
977
|
+
return i(), _("div");
|
|
989
978
|
}
|
|
990
979
|
const mt = /* @__PURE__ */ b(pt, [["render", ft]]), vt = {}, _t = { class: "t-grid" };
|
|
991
|
-
function yt(t,
|
|
992
|
-
return
|
|
980
|
+
function yt(t, n) {
|
|
981
|
+
return i(), _("div", _t);
|
|
993
982
|
}
|
|
994
983
|
const gt = /* @__PURE__ */ b(vt, [["render", yt]]), bt = {}, ht = { class: "t-grid-item" };
|
|
995
|
-
function kt(t,
|
|
996
|
-
return
|
|
984
|
+
function kt(t, n) {
|
|
985
|
+
return i(), _("div", ht);
|
|
997
986
|
}
|
|
998
987
|
const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
999
988
|
__name: "t-divider",
|
|
@@ -1001,9 +990,9 @@ const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1001
990
|
direction: { default: "horizontal" }
|
|
1002
991
|
},
|
|
1003
992
|
setup(t) {
|
|
1004
|
-
const
|
|
1005
|
-
return (o, e) => (
|
|
1006
|
-
class: x(["t-divider", { [
|
|
993
|
+
const n = t;
|
|
994
|
+
return (o, e) => (i(), _("div", {
|
|
995
|
+
class: x(["t-divider", { [n.direction]: !0 }])
|
|
1007
996
|
}, null, 2));
|
|
1008
997
|
}
|
|
1009
998
|
}), wt = /* @__PURE__ */ b(Tt, [["__scopeId", "data-v-47ee8991"]]), xt = /* @__PURE__ */ T({
|
|
@@ -1012,52 +1001,52 @@ const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1012
1001
|
color: { default: "warning" }
|
|
1013
1002
|
},
|
|
1014
1003
|
emits: ["change"],
|
|
1015
|
-
setup(t, { emit:
|
|
1016
|
-
const o = t, e =
|
|
1004
|
+
setup(t, { emit: n }) {
|
|
1005
|
+
const o = t, e = n, s = y(!1), r = y(), c = S(() => {
|
|
1017
1006
|
let p = o.color;
|
|
1018
1007
|
return ["warning", "info", "danger", "primary", "secondary", "success"].includes(o.color) && (p = `var(--t-color-status-${o.color})`), {
|
|
1019
1008
|
"--color": p
|
|
1020
1009
|
};
|
|
1021
|
-
}),
|
|
1010
|
+
}), u = () => r.value?.parentElement?.querySelector?.("input");
|
|
1022
1011
|
Q(() => {
|
|
1023
|
-
let p =
|
|
1024
|
-
p && (
|
|
1012
|
+
let p = u();
|
|
1013
|
+
p && (s.value = p.type != "password", e("change", s.value));
|
|
1025
1014
|
});
|
|
1026
1015
|
const d = () => {
|
|
1027
|
-
let p =
|
|
1028
|
-
p && (
|
|
1016
|
+
let p = u();
|
|
1017
|
+
p && (s.value = !s.value, s.value ? p.type = "text" : p.type = "password", e("change", s.value));
|
|
1029
1018
|
};
|
|
1030
|
-
return (p, f) => (
|
|
1019
|
+
return (p, f) => (i(), _("button", {
|
|
1031
1020
|
ref_key: "toggle",
|
|
1032
1021
|
ref: r,
|
|
1033
1022
|
class: "t-toggle-password",
|
|
1034
1023
|
style: w(c.value),
|
|
1035
1024
|
onClick: d
|
|
1036
1025
|
}, [
|
|
1037
|
-
|
|
1026
|
+
s.value ? h(p.$slots, "on", { key: 0 }, () => [
|
|
1038
1027
|
f[0] || (f[0] = $("i", { class: "ri-eye-line" }, null, -1))
|
|
1039
1028
|
], !0) : C("", !0),
|
|
1040
|
-
|
|
1029
|
+
s.value ? C("", !0) : h(p.$slots, "off", { key: 1 }, () => [
|
|
1041
1030
|
f[1] || (f[1] = $("i", { class: "ri-eye-off-line" }, null, -1))
|
|
1042
1031
|
], !0)
|
|
1043
1032
|
], 4));
|
|
1044
1033
|
}
|
|
1045
|
-
}),
|
|
1034
|
+
}), It = /* @__PURE__ */ b(xt, [["__scopeId", "data-v-3268e9e3"]]), St = /* @__PURE__ */ T({
|
|
1046
1035
|
__name: "t-avatar",
|
|
1047
1036
|
props: {
|
|
1048
1037
|
square: { type: Boolean, default: !1 },
|
|
1049
1038
|
size: { default: "standard" }
|
|
1050
1039
|
},
|
|
1051
1040
|
setup(t) {
|
|
1052
|
-
const
|
|
1053
|
-
return (e,
|
|
1041
|
+
const n = t, o = S(() => n.size == "small" ? "24px" : n.size == "standard" ? "40px" : n.size == "large" ? "60px" : n.size);
|
|
1042
|
+
return (e, s) => (i(), _("div", {
|
|
1054
1043
|
class: x(["t-avatar", { square: e.square }]),
|
|
1055
1044
|
style: w({ "--size": o.value })
|
|
1056
1045
|
}, [
|
|
1057
1046
|
h(e.$slots, "default", {}, void 0, !0)
|
|
1058
1047
|
], 6));
|
|
1059
1048
|
}
|
|
1060
|
-
}),
|
|
1049
|
+
}), zt = /* @__PURE__ */ b(St, [["__scopeId", "data-v-24384c2f"]]), Bt = { class: "t-collapse-title" }, Ct = {
|
|
1061
1050
|
key: 0,
|
|
1062
1051
|
class: "icon"
|
|
1063
1052
|
}, Et = {
|
|
@@ -1069,17 +1058,17 @@ const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1069
1058
|
title: {}
|
|
1070
1059
|
},
|
|
1071
1060
|
emits: ["change"],
|
|
1072
|
-
setup(t, { emit:
|
|
1073
|
-
const o = t, e =
|
|
1074
|
-
|
|
1061
|
+
setup(t, { emit: n }) {
|
|
1062
|
+
const o = t, e = n, s = y(!1), r = y(""), c = y(), u = () => {
|
|
1063
|
+
s.value = !s.value, r.value = `calc(${c.value.offsetHeight}px + 2rem)`, e("change", s.value);
|
|
1075
1064
|
};
|
|
1076
|
-
return e("change",
|
|
1077
|
-
class: x(["t-collapse", { open:
|
|
1065
|
+
return e("change", s.value), (d, p) => (i(), _("div", {
|
|
1066
|
+
class: x(["t-collapse", { open: s.value }]),
|
|
1078
1067
|
style: w({ "--height": r.value })
|
|
1079
1068
|
}, [
|
|
1080
1069
|
$("div", {
|
|
1081
1070
|
class: "t-collapse-header",
|
|
1082
|
-
onClick:
|
|
1071
|
+
onClick: u
|
|
1083
1072
|
}, [
|
|
1084
1073
|
h(d.$slots, "icon"),
|
|
1085
1074
|
$("div", Bt, [
|
|
@@ -1088,9 +1077,9 @@ const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1088
1077
|
])
|
|
1089
1078
|
]),
|
|
1090
1079
|
h(d.$slots, "toggle", {}, () => [
|
|
1091
|
-
|
|
1080
|
+
s.value ? (i(), _("div", Ct, [...p[0] || (p[0] = [
|
|
1092
1081
|
$("i", { class: "ri-arrow-up-s-line" }, null, -1)
|
|
1093
|
-
])])) : (
|
|
1082
|
+
])])) : (i(), _("div", Et, [...p[1] || (p[1] = [
|
|
1094
1083
|
$("i", { class: "ri-arrow-down-s-line" }, null, -1)
|
|
1095
1084
|
])]))
|
|
1096
1085
|
])
|
|
@@ -1114,10 +1103,10 @@ const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1114
1103
|
color: { default: "primary" }
|
|
1115
1104
|
},
|
|
1116
1105
|
emits: ["update:modelValue"],
|
|
1117
|
-
setup(t, { emit:
|
|
1118
|
-
const o = t, e =
|
|
1106
|
+
setup(t, { emit: n }) {
|
|
1107
|
+
const o = t, e = n, s = () => {
|
|
1119
1108
|
e("update:modelValue", !o.modelValue);
|
|
1120
|
-
}, r =
|
|
1109
|
+
}, r = S(() => {
|
|
1121
1110
|
let c = {
|
|
1122
1111
|
"--background": o.color,
|
|
1123
1112
|
"--color": "#ffffff"
|
|
@@ -1127,11 +1116,11 @@ const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1127
1116
|
"--color": `var(--t-color-status-${o.color}-text)`
|
|
1128
1117
|
}), c;
|
|
1129
1118
|
});
|
|
1130
|
-
return (c,
|
|
1119
|
+
return (c, u) => (i(), _("div", {
|
|
1131
1120
|
class: x(["t-switch", { on: o.modelValue }]),
|
|
1132
1121
|
style: w(r.value),
|
|
1133
|
-
onClick:
|
|
1134
|
-
}, [...
|
|
1122
|
+
onClick: s
|
|
1123
|
+
}, [...u[0] || (u[0] = [
|
|
1135
1124
|
$("div", { class: "t-switch-icon" }, null, -1)
|
|
1136
1125
|
])], 6));
|
|
1137
1126
|
}
|
|
@@ -1141,15 +1130,15 @@ const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1141
1130
|
value: {}
|
|
1142
1131
|
},
|
|
1143
1132
|
setup(t) {
|
|
1144
|
-
const
|
|
1145
|
-
o.setActive(
|
|
1133
|
+
const n = t, o = ue("tabsState"), e = S(() => o.active.value === n.value), s = () => {
|
|
1134
|
+
o.setActive(n.value);
|
|
1146
1135
|
};
|
|
1147
|
-
return (r, c) => (
|
|
1136
|
+
return (r, c) => (i(), _("li", {
|
|
1148
1137
|
class: x(["t-tab", { active: e.value }])
|
|
1149
1138
|
}, [
|
|
1150
1139
|
j(M, {
|
|
1151
1140
|
variant: "text",
|
|
1152
|
-
onClick:
|
|
1141
|
+
onClick: s,
|
|
1153
1142
|
size: P(o).size,
|
|
1154
1143
|
color: e.value && P(o).variant == "text" ? P(o).color : void 0
|
|
1155
1144
|
}, {
|
|
@@ -1171,42 +1160,42 @@ const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1171
1160
|
size: { default: "standard" }
|
|
1172
1161
|
},
|
|
1173
1162
|
emits: ["update:modelValue"],
|
|
1174
|
-
setup(t, { emit:
|
|
1175
|
-
const o = t, e =
|
|
1163
|
+
setup(t, { emit: n }) {
|
|
1164
|
+
const o = t, e = n, s = y("0px"), r = y(), c = S(() => {
|
|
1176
1165
|
let d = o.color;
|
|
1177
1166
|
return ["warning", "info", "danger", "primary", "secondary", "success"].includes(d) && (d = `var(--t-color-status-${d})`), d;
|
|
1178
|
-
}),
|
|
1167
|
+
}), u = () => {
|
|
1179
1168
|
setTimeout(() => {
|
|
1180
1169
|
if (o.placement.startsWith("top-") || o.placement.startsWith("bottom-")) {
|
|
1181
1170
|
let d = r.value.querySelector(".active");
|
|
1182
1171
|
if (d) {
|
|
1183
1172
|
let p = d.getBoundingClientRect().left - r.value.getBoundingClientRect().left + r.value.scrollLeft, f = d.offsetWidth / 2;
|
|
1184
|
-
|
|
1173
|
+
s.value = p + f - o.border / 2 + "px";
|
|
1185
1174
|
}
|
|
1186
1175
|
} else if (o.placement.startsWith("left-") || o.placement.startsWith("right-")) {
|
|
1187
1176
|
let d = r.value.querySelector(".active");
|
|
1188
1177
|
if (d) {
|
|
1189
1178
|
let p = d.getBoundingClientRect().top - r.value.getBoundingClientRect().top + r.value.scrollTop, f = d.offsetHeight / 2;
|
|
1190
|
-
|
|
1179
|
+
s.value = p + f - o.border / 2 + "px";
|
|
1191
1180
|
}
|
|
1192
1181
|
}
|
|
1193
1182
|
}, 50);
|
|
1194
1183
|
};
|
|
1195
1184
|
return de("tabsState", {
|
|
1196
|
-
active:
|
|
1185
|
+
active: S(() => o.modelValue),
|
|
1197
1186
|
color: c.value,
|
|
1198
1187
|
size: o.size,
|
|
1199
1188
|
variant: o.variant,
|
|
1200
1189
|
setActive: (d) => {
|
|
1201
|
-
e("update:modelValue", d),
|
|
1190
|
+
e("update:modelValue", d), u();
|
|
1202
1191
|
}
|
|
1203
1192
|
}), Q(() => {
|
|
1204
|
-
|
|
1205
|
-
}), (d, p) => (
|
|
1193
|
+
u();
|
|
1194
|
+
}), (d, p) => (i(), _("ul", {
|
|
1206
1195
|
ref_key: "container",
|
|
1207
1196
|
ref: r,
|
|
1208
1197
|
class: x(["t-tabs", { [d.placement]: !0, [d.variant]: !0 }]),
|
|
1209
|
-
style: w({ "--color": c.value, "--transform":
|
|
1198
|
+
style: w({ "--color": c.value, "--transform": s.value, "--border": d.border + "px" })
|
|
1210
1199
|
}, [
|
|
1211
1200
|
h(d.$slots, "default", {}, void 0, !0)
|
|
1212
1201
|
], 6));
|
|
@@ -1214,7 +1203,7 @@ const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1214
1203
|
}), Ot = /* @__PURE__ */ b(Nt, [["__scopeId", "data-v-65a2c74c"]]), qt = /* @__PURE__ */ T({
|
|
1215
1204
|
__name: "t-loading-app",
|
|
1216
1205
|
setup(t) {
|
|
1217
|
-
return (
|
|
1206
|
+
return (n, o) => (i(), z(re, null, {
|
|
1218
1207
|
default: E(() => [
|
|
1219
1208
|
j(K, { type: "spinner" })
|
|
1220
1209
|
]),
|
|
@@ -1223,7 +1212,7 @@ const $t = /* @__PURE__ */ b(bt, [["render", kt]]), Tt = /* @__PURE__ */ T({
|
|
|
1223
1212
|
}
|
|
1224
1213
|
}), Xt = /* @__PURE__ */ b(qt, [["__scopeId", "data-v-1436aa9f"]]), Kt = () => ({
|
|
1225
1214
|
install: (t) => {
|
|
1226
|
-
fe(), t.component("t-app", ye), t.component("t-screen", ae), t.component("t-swipe-screen", Ke), t.component("t-cable", Ne), t.component("t-toolbar", Je), t.component("t-content", re), t.component("t-card", Oe), t.component("t-refresher", He), t.component("t-button", M), t.component("t-back-button", Ze), t.component("t-present", W), t.component("t-text", J), t.component("t-sheet",
|
|
1215
|
+
fe(), t.component("t-app", ye), t.component("t-screen", ae), t.component("t-swipe-screen", Ke), t.component("t-cable", Ne), t.component("t-toolbar", Je), t.component("t-content", re), t.component("t-card", Oe), t.component("t-refresher", He), t.component("t-button", M), t.component("t-back-button", Ze), t.component("t-present", W), t.component("t-text", J), t.component("t-sheet", nt), t.component("t-pull-signal", le), t.component("t-input", ct), t.component("t-textarea", dt), t.component("t-rich-text", mt), t.component("t-grid", gt), t.component("t-grid-item", $t), t.component("t-divider", wt), t.component("t-toggle-password", It), t.component("t-loading-icon", K), t.component("t-alert", ne), t.component("t-avatar", zt), t.component("t-collapse", Dt), t.component("t-toast", se), t.component("t-switch", At), t.component("t-tab", Lt), t.component("t-tabs", Ot), t.component("t-loading-app", Xt);
|
|
1227
1216
|
}
|
|
1228
1217
|
});
|
|
1229
1218
|
export {
|