@toife/vue 1.2.22 → 1.2.24
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-skeleton.vue.d.ts +13 -0
- package/dist/index.css +1 -1
- package/dist/index.es.js +264 -230
- 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
|
|
1
|
+
import { createElementBlock as p, openBlock as c, renderSlot as h, defineComponent as k, ref as v, computed as S, reactive as te, watch as L, Fragment as A, withDirectives as O, createCommentVNode as I, normalizeStyle as T, normalizeClass as x, vShow as N, createElementVNode as $, createVNode as W, createBlock as B, withCtx as V, toDisplayString as M, renderList as q, createTextVNode as R, createApp as H, h as U, unref as E, onUnmounted as G, onMounted as K, resolveDynamicComponent as ie, markRaw as ue, inject as de, provide as pe } from "vue";
|
|
2
2
|
import { gesture as J } from "@toife/gesture";
|
|
3
3
|
import { useRouter as oe, useRoute as fe } from "vue-router";
|
|
4
4
|
const me = (o) => o && (o.tagName == "INPUT" || o.tagName == "TEXTAREA" || o.isContentEditable), ve = () => {
|
|
@@ -14,12 +14,12 @@ const me = (o) => o && (o.tagName == "INPUT" || o.tagName == "TEXTAREA" || o.isC
|
|
|
14
14
|
e[t] = n;
|
|
15
15
|
return e;
|
|
16
16
|
}, ge = {}, ye = { class: "t-app" };
|
|
17
|
-
function
|
|
18
|
-
return c(),
|
|
19
|
-
|
|
17
|
+
function he(o, s) {
|
|
18
|
+
return c(), p("div", ye, [
|
|
19
|
+
h(o.$slots, "default")
|
|
20
20
|
]);
|
|
21
21
|
}
|
|
22
|
-
const
|
|
22
|
+
const be = /* @__PURE__ */ g(ge, [["render", he]]), ke = /* @__PURE__ */ k({
|
|
23
23
|
__name: "t-present",
|
|
24
24
|
props: {
|
|
25
25
|
keepalive: { type: Boolean, default: !0 },
|
|
@@ -29,13 +29,13 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
29
29
|
},
|
|
30
30
|
emits: ["dismiss"],
|
|
31
31
|
setup(o, { expose: s, emit: e }) {
|
|
32
|
-
const t = v(0), n = v(!1), r = v(), i = v(), a = o, d = e, m =
|
|
32
|
+
const t = v(0), n = v(!1), r = v(), i = v(), a = o, d = e, m = S(() => n.value || a.keepalive), _ = te({
|
|
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
|
-
}), l = (
|
|
38
|
-
a.backdrop ?
|
|
37
|
+
}), l = (f) => {
|
|
38
|
+
a.backdrop ? f?.backdropOpacity && (_["--t-present-backdrop-opacity"] = f.backdropOpacity) : _["--t-present-backdrop-opacity"] = "0", f?.transition && (_["--t-present-transition"] = f.transition, _["--t-present-transition"] = f.transition), f?.contentTransform && (_["--t-present-content-transform"] = f.contentTransform), f?.contentOpacity && (_["--t-present-content-opacity"] = f.contentOpacity);
|
|
39
39
|
}, y = () => {
|
|
40
40
|
l({
|
|
41
41
|
contentTransform: "0px",
|
|
@@ -44,11 +44,11 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
44
44
|
contentOpacity: "1"
|
|
45
45
|
});
|
|
46
46
|
}, u = () => {
|
|
47
|
-
let
|
|
48
|
-
a.placement == "bottom" || a.placement == "right" ?
|
|
49
|
-
contentTransform:
|
|
47
|
+
let f = "0px", z = "1";
|
|
48
|
+
a.placement == "bottom" || a.placement == "right" ? f = "100%" : a.placement == "top" || a.placement == "left" ? f = "-100%" : a.placement == "center" && (f = "0px", z = "0"), l({
|
|
49
|
+
contentTransform: f,
|
|
50
50
|
transition: "0.2s",
|
|
51
|
-
contentOpacity:
|
|
51
|
+
contentOpacity: z,
|
|
52
52
|
backdropOpacity: "0"
|
|
53
53
|
});
|
|
54
54
|
};
|
|
@@ -63,34 +63,34 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
63
63
|
open: y,
|
|
64
64
|
close: u
|
|
65
65
|
});
|
|
66
|
-
const
|
|
67
|
-
|
|
66
|
+
const b = (f) => {
|
|
67
|
+
f.preventDefault(), d("dismiss", "backdrop");
|
|
68
68
|
};
|
|
69
|
-
return u(), (
|
|
70
|
-
m.value ? O((c(),
|
|
69
|
+
return u(), (f, z) => (c(), p(A, null, [
|
|
70
|
+
m.value ? O((c(), p("div", {
|
|
71
71
|
key: 0,
|
|
72
|
-
class: x(["t-present", { [
|
|
72
|
+
class: x(["t-present", { [f.placement]: !0 }]),
|
|
73
73
|
ref_key: "present",
|
|
74
74
|
ref: i,
|
|
75
|
-
style:
|
|
75
|
+
style: T({ ..._, zIndex: t.value })
|
|
76
76
|
}, [
|
|
77
|
-
|
|
77
|
+
h(f.$slots, "default", {}, void 0, !0)
|
|
78
78
|
], 6)), [
|
|
79
79
|
[N, n.value]
|
|
80
80
|
]) : I("", !0),
|
|
81
|
-
m.value ? O((c(),
|
|
81
|
+
m.value ? O((c(), p("div", {
|
|
82
82
|
key: 1,
|
|
83
83
|
class: "t-present-backdrop",
|
|
84
|
-
onClick:
|
|
84
|
+
onClick: b,
|
|
85
85
|
ref_key: "backdrop",
|
|
86
86
|
ref: r,
|
|
87
|
-
style:
|
|
87
|
+
style: T({ ..._, zIndex: t.value - 1 })
|
|
88
88
|
}, null, 4)), [
|
|
89
89
|
[N, n.value]
|
|
90
90
|
]) : I("", !0)
|
|
91
91
|
], 64));
|
|
92
92
|
}
|
|
93
|
-
}), D = /* @__PURE__ */ g(ke, [["__scopeId", "data-v-3d0c3227"]]), $e = /* @__PURE__ */
|
|
93
|
+
}), D = /* @__PURE__ */ g(ke, [["__scopeId", "data-v-3d0c3227"]]), $e = /* @__PURE__ */ k({
|
|
94
94
|
__name: "t-loading-icon",
|
|
95
95
|
props: {
|
|
96
96
|
size: {
|
|
@@ -103,9 +103,9 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
setup(o) {
|
|
106
|
-
return (s, e) => (c(),
|
|
106
|
+
return (s, e) => (c(), p("span", {
|
|
107
107
|
class: "t-loading-icon",
|
|
108
|
-
style:
|
|
108
|
+
style: T({
|
|
109
109
|
width: o.size,
|
|
110
110
|
height: o.size,
|
|
111
111
|
borderTopColor: o.color
|
|
@@ -114,10 +114,10 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
114
114
|
"aria-label": "Loading..."
|
|
115
115
|
}, null, 4));
|
|
116
116
|
}
|
|
117
|
-
}), X = /* @__PURE__ */ g($e, [["__scopeId", "data-v-7c463303"]]),
|
|
117
|
+
}), X = /* @__PURE__ */ g($e, [["__scopeId", "data-v-7c463303"]]), we = {
|
|
118
118
|
key: 0,
|
|
119
119
|
class: "loader"
|
|
120
|
-
},
|
|
120
|
+
}, Te = /* @__PURE__ */ k({
|
|
121
121
|
__name: "t-button",
|
|
122
122
|
props: {
|
|
123
123
|
color: { default: null },
|
|
@@ -130,7 +130,7 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
130
130
|
activeBackground: { type: Boolean, default: !1 }
|
|
131
131
|
},
|
|
132
132
|
setup(o) {
|
|
133
|
-
const s = o, e =
|
|
133
|
+
const s = o, e = S(() => {
|
|
134
134
|
let t;
|
|
135
135
|
return s.variant == "default" && (s.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(s.color) ? t = {
|
|
136
136
|
"--border": "none",
|
|
@@ -170,16 +170,16 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
170
170
|
"--background": "transparent"
|
|
171
171
|
}), t;
|
|
172
172
|
});
|
|
173
|
-
return (t, n) => (c(),
|
|
173
|
+
return (t, n) => (c(), p("button", {
|
|
174
174
|
class: x(["t-button", { "active-background": s.activeBackground, rounded: s.rounded, block: s.block, ["size-" + s.size]: !0 }]),
|
|
175
|
-
style:
|
|
175
|
+
style: T(e.value)
|
|
176
176
|
}, [
|
|
177
|
-
O(
|
|
178
|
-
|
|
177
|
+
O($("span", null, [
|
|
178
|
+
h(t.$slots, "default", {}, void 0, !0)
|
|
179
179
|
], 512), [
|
|
180
180
|
[N, !s.loading]
|
|
181
181
|
]),
|
|
182
|
-
s.loading ? (c(),
|
|
182
|
+
s.loading ? (c(), p("span", we, [
|
|
183
183
|
W(X, {
|
|
184
184
|
color: "var(--color)",
|
|
185
185
|
type: s.loadingType
|
|
@@ -187,10 +187,10 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
187
187
|
])) : I("", !0)
|
|
188
188
|
], 6));
|
|
189
189
|
}
|
|
190
|
-
}), j = /* @__PURE__ */ g(
|
|
190
|
+
}), j = /* @__PURE__ */ g(Te, [["__scopeId", "data-v-48e285d7"]]), xe = {
|
|
191
191
|
key: 0,
|
|
192
192
|
class: "t-alert-header"
|
|
193
|
-
}, Se = { class: "t-alert-content" }, ze = { class: "t-alert-footer" }, Ie = /* @__PURE__ */
|
|
193
|
+
}, Se = { class: "t-alert-content" }, ze = { class: "t-alert-footer" }, Ie = /* @__PURE__ */ k({
|
|
194
194
|
__name: "t-alert",
|
|
195
195
|
props: {
|
|
196
196
|
title: {},
|
|
@@ -219,23 +219,23 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
219
219
|
onDismiss: _
|
|
220
220
|
}, {
|
|
221
221
|
default: V(() => [
|
|
222
|
-
|
|
222
|
+
$("div", {
|
|
223
223
|
class: x(["t-alert", { pop: a.value }]),
|
|
224
224
|
ref_key: "container",
|
|
225
225
|
ref: i
|
|
226
226
|
}, [
|
|
227
|
-
|
|
228
|
-
t.title ? (c(),
|
|
227
|
+
h(l.$slots, "header", {}, () => [
|
|
228
|
+
t.title ? (c(), p("div", xe, M(t.title), 1)) : I("", !0)
|
|
229
229
|
], !0),
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
h(l.$slots, "content", {}, () => [
|
|
231
|
+
$("div", Se, M(t.message), 1)
|
|
232
232
|
], !0),
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
(c(!0),
|
|
233
|
+
h(l.$slots, "footer", {}, () => [
|
|
234
|
+
$("div", ze, [
|
|
235
|
+
(c(!0), p(A, null, q(t.actions, (u) => (c(), B(j, {
|
|
236
236
|
color: u.color,
|
|
237
237
|
variant: u.variant,
|
|
238
|
-
onClick: (
|
|
238
|
+
onClick: (b) => m(u)
|
|
239
239
|
}, {
|
|
240
240
|
default: V(() => [
|
|
241
241
|
R(M(u.text), 1)
|
|
@@ -249,7 +249,7 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
249
249
|
_: 3
|
|
250
250
|
}, 8, ["visible"]));
|
|
251
251
|
}
|
|
252
|
-
}), se = /* @__PURE__ */ g(Ie, [["__scopeId", "data-v-05d0c578"]]),
|
|
252
|
+
}), se = /* @__PURE__ */ g(Ie, [["__scopeId", "data-v-05d0c578"]]), no = (o = {}) => ({
|
|
253
253
|
open() {
|
|
254
254
|
return new Promise((s) => {
|
|
255
255
|
let e = document.body.querySelector(".t-app");
|
|
@@ -274,7 +274,7 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
274
274
|
}, 50);
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
|
-
}), Be = /* @__PURE__ */
|
|
277
|
+
}), Be = /* @__PURE__ */ k({
|
|
278
278
|
__name: "t-action",
|
|
279
279
|
props: {
|
|
280
280
|
actions: {},
|
|
@@ -301,21 +301,21 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
301
301
|
onDismiss: _
|
|
302
302
|
}, {
|
|
303
303
|
default: V(() => [
|
|
304
|
-
|
|
304
|
+
$("div", {
|
|
305
305
|
class: x(["t-action", { pop: a.value }]),
|
|
306
306
|
ref_key: "container",
|
|
307
307
|
ref: i
|
|
308
308
|
}, [
|
|
309
|
-
(c(!0),
|
|
310
|
-
(c(!0),
|
|
311
|
-
color:
|
|
312
|
-
size:
|
|
313
|
-
variant:
|
|
314
|
-
onClick: (
|
|
309
|
+
(c(!0), p(A, null, q(t.actions, (u) => (c(), p("div", null, [
|
|
310
|
+
(c(!0), p(A, null, q(u, (b) => (c(), B(j, {
|
|
311
|
+
color: b.color,
|
|
312
|
+
size: b.size,
|
|
313
|
+
variant: b.variant,
|
|
314
|
+
onClick: (f) => m(b),
|
|
315
315
|
block: ""
|
|
316
316
|
}, {
|
|
317
317
|
default: V(() => [
|
|
318
|
-
R(M(
|
|
318
|
+
R(M(b.text), 1)
|
|
319
319
|
]),
|
|
320
320
|
_: 2
|
|
321
321
|
}, 1032, ["color", "size", "variant", "onClick"]))), 256))
|
|
@@ -325,7 +325,7 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
325
325
|
_: 1
|
|
326
326
|
}, 8, ["visible"]));
|
|
327
327
|
}
|
|
328
|
-
}), Ce = /* @__PURE__ */ g(Be, [["__scopeId", "data-v-c6bccffb"]]),
|
|
328
|
+
}), Ce = /* @__PURE__ */ g(Be, [["__scopeId", "data-v-c6bccffb"]]), ro = (o = {}) => ({
|
|
329
329
|
open() {
|
|
330
330
|
return new Promise((s) => {
|
|
331
331
|
let e = document.body.querySelector(".t-app");
|
|
@@ -350,7 +350,7 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
350
350
|
}, 50);
|
|
351
351
|
});
|
|
352
352
|
}
|
|
353
|
-
}), Ee = { class: "t-loading" }, Ve = /* @__PURE__ */
|
|
353
|
+
}), Ee = { class: "t-loading" }, Ve = /* @__PURE__ */ k({
|
|
354
354
|
__name: "t-loading",
|
|
355
355
|
props: {
|
|
356
356
|
type: { default: "spinner" }
|
|
@@ -372,8 +372,8 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
372
372
|
visible: n.value
|
|
373
373
|
}, {
|
|
374
374
|
default: V(() => [
|
|
375
|
-
|
|
376
|
-
|
|
375
|
+
$("div", Ee, [
|
|
376
|
+
h(a.$slots, "default", {}, () => [
|
|
377
377
|
W(X, {
|
|
378
378
|
type: t.type
|
|
379
379
|
}, null, 8, ["type"])
|
|
@@ -383,7 +383,7 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
383
383
|
_: 3
|
|
384
384
|
}, 8, ["visible"]));
|
|
385
385
|
}
|
|
386
|
-
}), Me = /* @__PURE__ */ g(Ve, [["__scopeId", "data-v-8f84c14e"]]),
|
|
386
|
+
}), Me = /* @__PURE__ */ g(Ve, [["__scopeId", "data-v-8f84c14e"]]), ao = (o = {}) => {
|
|
387
387
|
const s = v(), e = document.body.querySelector(".t-app");
|
|
388
388
|
let t = null, n = null;
|
|
389
389
|
return {
|
|
@@ -423,7 +423,7 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
423
423
|
Q.value = !1;
|
|
424
424
|
}, Ne = () => {
|
|
425
425
|
Q.value = !0;
|
|
426
|
-
},
|
|
426
|
+
}, w = {
|
|
427
427
|
screens: C,
|
|
428
428
|
addScreen: Ae,
|
|
429
429
|
removeScreen: Re,
|
|
@@ -431,13 +431,13 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
431
431
|
lockSwipe: Oe,
|
|
432
432
|
unlockSwipe: Ne,
|
|
433
433
|
swipeable: Q,
|
|
434
|
-
hasPrevious:
|
|
435
|
-
currentScreen:
|
|
436
|
-
lastScreen:
|
|
434
|
+
hasPrevious: S(() => C.length > 1),
|
|
435
|
+
currentScreen: S(() => C[C.length - 1]),
|
|
436
|
+
lastScreen: S(() => {
|
|
437
437
|
if (!(C.length < 2))
|
|
438
438
|
return C[C.length - 2];
|
|
439
439
|
})
|
|
440
|
-
}, qe = /* @__PURE__ */
|
|
440
|
+
}, qe = /* @__PURE__ */ k({
|
|
441
441
|
__name: "t-toast",
|
|
442
442
|
props: {
|
|
443
443
|
message: {},
|
|
@@ -459,7 +459,7 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
459
459
|
a.value = !0, setTimeout(() => {
|
|
460
460
|
i.value = !1, r.value = !1, n("dismiss");
|
|
461
461
|
}, 300);
|
|
462
|
-
}, _ =
|
|
462
|
+
}, _ = S(() => {
|
|
463
463
|
let l;
|
|
464
464
|
return t.variant == "default" && (t.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(t.color) ? l = {
|
|
465
465
|
"--border": "none",
|
|
@@ -501,13 +501,13 @@ const he = /* @__PURE__ */ g(ge, [["render", be]]), ke = /* @__PURE__ */ $({
|
|
|
501
501
|
});
|
|
502
502
|
return s({
|
|
503
503
|
open: d
|
|
504
|
-
}), (l, y) => i.value ? (c(),
|
|
504
|
+
}), (l, y) => i.value ? (c(), p("div", {
|
|
505
505
|
key: 0,
|
|
506
506
|
class: x(["t-toast", { [t.placement]: !0, open: r.value, closing: a.value }]),
|
|
507
|
-
style:
|
|
507
|
+
style: T({ "--space": t.space, ..._.value })
|
|
508
508
|
}, M(t.message), 7)) : I("", !0);
|
|
509
509
|
}
|
|
510
|
-
}), ne = /* @__PURE__ */ g(qe, [["__scopeId", "data-v-61960e03"]]),
|
|
510
|
+
}), ne = /* @__PURE__ */ g(qe, [["__scopeId", "data-v-61960e03"]]), lo = (o = {}) => ({
|
|
511
511
|
open() {
|
|
512
512
|
let s = document.body.querySelector(".t-app");
|
|
513
513
|
if (!s) return;
|
|
@@ -536,7 +536,7 @@ function re() {
|
|
|
536
536
|
height: Le
|
|
537
537
|
};
|
|
538
538
|
}
|
|
539
|
-
const We = /* @__PURE__ */
|
|
539
|
+
const We = /* @__PURE__ */ k({
|
|
540
540
|
__name: "t-cable",
|
|
541
541
|
props: {
|
|
542
542
|
keyboard: { type: Boolean, default: !0 },
|
|
@@ -544,20 +544,20 @@ const We = /* @__PURE__ */ $({
|
|
|
544
544
|
},
|
|
545
545
|
setup(o) {
|
|
546
546
|
const s = o, { height: e } = re();
|
|
547
|
-
return (t, n) => (c(),
|
|
547
|
+
return (t, n) => (c(), p("div", {
|
|
548
548
|
class: x(["t-cable", { keyboard: s.keyboard && E(e) > 0, [s.placement]: !0 }]),
|
|
549
|
-
style:
|
|
549
|
+
style: T({ "--t-keyboard-height": E(e) + "px", "--t-keyboard-transition": E(e) > 0 ? "0.3s" : "0.1s" })
|
|
550
550
|
}, [
|
|
551
|
-
|
|
551
|
+
h(t.$slots, "default", {}, void 0, !0)
|
|
552
552
|
], 6));
|
|
553
553
|
}
|
|
554
|
-
}), He = /* @__PURE__ */ g(We, [["__scopeId", "data-v-ecb72421"]]), Ue = /* @__PURE__ */
|
|
554
|
+
}), He = /* @__PURE__ */ g(We, [["__scopeId", "data-v-ecb72421"]]), Ue = /* @__PURE__ */ k({
|
|
555
555
|
__name: "t-card",
|
|
556
556
|
props: {
|
|
557
557
|
color: { default: null }
|
|
558
558
|
},
|
|
559
559
|
setup(o) {
|
|
560
|
-
const s = o, e =
|
|
560
|
+
const s = o, e = S(() => {
|
|
561
561
|
let t;
|
|
562
562
|
return s.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(s.color) ? t = {
|
|
563
563
|
"--background": "var(--t-color-status-" + s.color + ")"
|
|
@@ -567,20 +567,20 @@ const We = /* @__PURE__ */ $({
|
|
|
567
567
|
"--background": "var(--t-color-surface)"
|
|
568
568
|
}, t;
|
|
569
569
|
});
|
|
570
|
-
return (t, n) => (c(),
|
|
570
|
+
return (t, n) => (c(), p("div", {
|
|
571
571
|
class: "t-card",
|
|
572
|
-
style:
|
|
572
|
+
style: T(e.value)
|
|
573
573
|
}, [
|
|
574
|
-
|
|
574
|
+
h(t.$slots, "default")
|
|
575
575
|
], 4));
|
|
576
576
|
}
|
|
577
577
|
}), Xe = {}, je = { class: "t-content" };
|
|
578
578
|
function Fe(o, s) {
|
|
579
|
-
return c(),
|
|
580
|
-
|
|
579
|
+
return c(), p("div", je, [
|
|
580
|
+
h(o.$slots, "default", {}, void 0, !0)
|
|
581
581
|
]);
|
|
582
582
|
}
|
|
583
|
-
const ae = /* @__PURE__ */ g(Xe, [["render", Fe], ["__scopeId", "data-v-3fd76212"]]), ee = 80, Ge = /* @__PURE__ */
|
|
583
|
+
const ae = /* @__PURE__ */ g(Xe, [["render", Fe], ["__scopeId", "data-v-3fd76212"]]), ee = 80, Ge = /* @__PURE__ */ k({
|
|
584
584
|
__name: "t-refresher",
|
|
585
585
|
emits: ["refresh"],
|
|
586
586
|
setup(o, { emit: s }) {
|
|
@@ -618,13 +618,13 @@ const ae = /* @__PURE__ */ g(Xe, [["render", Fe], ["__scopeId", "data-v-3fd76212
|
|
|
618
618
|
}));
|
|
619
619
|
}), G(() => {
|
|
620
620
|
i && i.destroy();
|
|
621
|
-
}), (_, l) => O((c(),
|
|
621
|
+
}), (_, l) => O((c(), p("div", {
|
|
622
622
|
class: "t-refresher",
|
|
623
623
|
ref_key: "container",
|
|
624
624
|
ref: r,
|
|
625
|
-
style:
|
|
625
|
+
style: T({ height: `${t.value}px` })
|
|
626
626
|
}, [
|
|
627
|
-
|
|
627
|
+
$("img", {
|
|
628
628
|
class: x({ spiner: n.value }),
|
|
629
629
|
src: "https://static.toikit.com/toikit/home_2.png?v=3",
|
|
630
630
|
alt: "Loading...",
|
|
@@ -636,11 +636,11 @@ const ae = /* @__PURE__ */ g(Xe, [["render", Fe], ["__scopeId", "data-v-3fd76212
|
|
|
636
636
|
}
|
|
637
637
|
}), Ke = /* @__PURE__ */ g(Ge, [["__scopeId", "data-v-c6364c14"]]), Je = {}, Qe = { class: "t-screen" };
|
|
638
638
|
function Ze(o, s) {
|
|
639
|
-
return c(),
|
|
640
|
-
|
|
639
|
+
return c(), p("div", Qe, [
|
|
640
|
+
h(o.$slots, "default", {}, void 0, !0)
|
|
641
641
|
]);
|
|
642
642
|
}
|
|
643
|
-
const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c"]]), Ye = /* @__PURE__ */
|
|
643
|
+
const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c"]]), Ye = /* @__PURE__ */ k({
|
|
644
644
|
__name: "t-swipe-screen",
|
|
645
645
|
emits: ["change"],
|
|
646
646
|
setup(o, { emit: s }) {
|
|
@@ -649,29 +649,29 @@ const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c
|
|
|
649
649
|
for (let u of r)
|
|
650
650
|
e[u.name] = u.components;
|
|
651
651
|
const d = (u) => {
|
|
652
|
-
u &&
|
|
652
|
+
u && w.addScreen({
|
|
653
653
|
name: u,
|
|
654
654
|
target: null,
|
|
655
655
|
component: ue(e[u] || null)
|
|
656
656
|
});
|
|
657
|
-
}, m = (u,
|
|
658
|
-
!
|
|
659
|
-
|
|
657
|
+
}, m = (u, b) => {
|
|
658
|
+
!b || w.screens[u].target || (w.screens[u].target = b.$el, u > 0 && (i.value = !0, b.$el.style.transform = "translateX(var(--t-app-width))", b.$el.transitionOrigin = "center", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0"), setTimeout(() => {
|
|
659
|
+
b.$el.style.transition = "transform 0.35s ease", b.$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"), w.screens.length > 1 && (w.lastScreen.value.target.style.transitionOrigin = "left center", w.lastScreen.value.target.style.transition = "transform 0.35s ease", w.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(() => {
|
|
660
660
|
a("change"), i.value = !1;
|
|
661
661
|
}, 400);
|
|
662
662
|
}, 100)));
|
|
663
663
|
}, _ = () => {
|
|
664
|
-
|
|
665
|
-
|
|
664
|
+
w.currentScreen.value.target.style.transition = "transform 0.35s ease", w.currentScreen.value.target.style.transform = "translateX(var(--t-app-width)) scale(1)", w.lastScreen.value.target.style.transition = "transform 0.35s ease", w.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"), i.value = !0, setTimeout(() => {
|
|
665
|
+
w.removeScreen(), a("change"), i.value = !1;
|
|
666
666
|
}, 400);
|
|
667
667
|
};
|
|
668
|
-
d(n.name), L(() => n.name, (u,
|
|
669
|
-
u !=
|
|
668
|
+
d(n.name), L(() => n.name, (u, b) => {
|
|
669
|
+
u != w.currentScreen.value.name && (w.lastScreen.value?.name == u ? _() : d(u));
|
|
670
670
|
});
|
|
671
671
|
const l = () => {
|
|
672
672
|
i.value = !0;
|
|
673
|
-
const u =
|
|
674
|
-
u.style.transition = "transform 0.35s ease", u.style.transform = "translateX(0px)",
|
|
673
|
+
const u = w.currentScreen.value.target, b = w.lastScreen.value.target;
|
|
674
|
+
u.style.transition = "transform 0.35s ease", u.style.transform = "translateX(0px)", b.style.transition = "transform 0.35s ease", b.style.transform = "translateX(calc(var(--t-app-width) / 100 * 30 * -1)) scale(0.5) perspective(var(--t-app-width)) rotateY(30deg)", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0.35s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0.5"), setTimeout(() => {
|
|
675
675
|
i.value = !1;
|
|
676
676
|
}, 400);
|
|
677
677
|
};
|
|
@@ -680,7 +680,7 @@ const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c
|
|
|
680
680
|
y = J(document.body, {
|
|
681
681
|
isMoving: !1,
|
|
682
682
|
beforeEvent(u) {
|
|
683
|
-
return !(i.value || !
|
|
683
|
+
return !(i.value || !w.swipeable.value || w.screens.length < 2);
|
|
684
684
|
},
|
|
685
685
|
fast({ initialDirection: u }) {
|
|
686
686
|
u == "right" && t.back();
|
|
@@ -688,41 +688,41 @@ const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c
|
|
|
688
688
|
down() {
|
|
689
689
|
this.isMoving = !1;
|
|
690
690
|
},
|
|
691
|
-
move({ deltaX: u, initialDirection:
|
|
692
|
-
if (
|
|
693
|
-
const
|
|
694
|
-
(u > 15 && u <=
|
|
691
|
+
move({ deltaX: u, initialDirection: b }) {
|
|
692
|
+
if (b != "right") return;
|
|
693
|
+
const f = window.innerWidth, z = u / f * 100, P = w.currentScreen.value.target, Z = w.lastScreen?.value?.target;
|
|
694
|
+
(u > 15 && u <= f || this.isMoving) && (u = u > 0 ? u : 0, this.isMoving = !0, P.style.transition = "transform 0s ease", P.style.transform = `translateX(${u}px)`, Z.style.transition = "transform 0s ease", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0s"), Z.style.transform = `translateX(calc((var(--t-app-width) / 100 * 30 * -1) + ((var(--t-app-width) / 100 * 30) / 100 * ${z}))) scale(${0.5 + 0.5 / 100 * z}) perspective(var(--t-app-width)) rotateY(${30 - 30 / 100 * z}deg)`, document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", `${0.5 - 0.5 / 100 * z}`));
|
|
695
695
|
},
|
|
696
|
-
up({ deltaX: u, initialDirection:
|
|
697
|
-
this.isMoving = !1,
|
|
698
|
-
const
|
|
699
|
-
u /
|
|
696
|
+
up({ deltaX: u, initialDirection: b }) {
|
|
697
|
+
this.isMoving = !1, b != "right" && l();
|
|
698
|
+
const f = window.innerWidth;
|
|
699
|
+
u / f * 100 >= 50 ? t.back() : l();
|
|
700
700
|
},
|
|
701
701
|
cancel() {
|
|
702
702
|
this.isMoving = !1, l();
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
705
|
}), G(() => {
|
|
706
|
-
y && y.destroy(),
|
|
707
|
-
}), (u,
|
|
708
|
-
(c(!0),
|
|
706
|
+
y && y.destroy(), w.removeAllScreen();
|
|
707
|
+
}), (u, b) => (c(), p(A, null, [
|
|
708
|
+
(c(!0), p(A, null, q(E(w).screens, (f, z) => (c(), B(le, {
|
|
709
709
|
ref_for: !0,
|
|
710
|
-
ref: (P) => m(
|
|
711
|
-
style:
|
|
712
|
-
key:
|
|
710
|
+
ref: (P) => m(z, P),
|
|
711
|
+
style: T({ zIndex: z + (z == E(w).screens.length - 1 ? 2 : 1) }),
|
|
712
|
+
key: z
|
|
713
713
|
}, {
|
|
714
714
|
default: V(() => [
|
|
715
|
-
(c(), B(ie(
|
|
715
|
+
(c(), B(ie(f.component.default)))
|
|
716
716
|
]),
|
|
717
717
|
_: 2
|
|
718
718
|
}, 1032, ["style"]))), 128)),
|
|
719
|
-
|
|
719
|
+
$("div", {
|
|
720
720
|
class: "t-swipe-backdrop",
|
|
721
|
-
style:
|
|
721
|
+
style: T({ zIndex: E(w).screens.length })
|
|
722
722
|
}, null, 4)
|
|
723
723
|
], 64));
|
|
724
724
|
}
|
|
725
|
-
}), et = /* @__PURE__ */ g(Ye, [["__scopeId", "data-v-abea77ec"]]), tt = /* @__PURE__ */
|
|
725
|
+
}), et = /* @__PURE__ */ g(Ye, [["__scopeId", "data-v-abea77ec"]]), tt = /* @__PURE__ */ k({
|
|
726
726
|
__name: "t-toolbar",
|
|
727
727
|
props: {
|
|
728
728
|
placement: { default: "bottom" },
|
|
@@ -731,66 +731,66 @@ const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c
|
|
|
731
731
|
},
|
|
732
732
|
setup(o) {
|
|
733
733
|
const s = o;
|
|
734
|
-
return (e, t) => (c(),
|
|
734
|
+
return (e, t) => (c(), p("div", {
|
|
735
735
|
class: x(["t-toolbar", { [s.placement]: !0, safe: s.safe }]),
|
|
736
|
-
style:
|
|
736
|
+
style: T({ "--t-size-toolbar": s.size })
|
|
737
737
|
}, [
|
|
738
|
-
|
|
739
|
-
|
|
738
|
+
$("div", null, [
|
|
739
|
+
h(e.$slots, "default", {}, void 0, !0)
|
|
740
740
|
])
|
|
741
741
|
], 6));
|
|
742
742
|
}
|
|
743
|
-
}), ot = /* @__PURE__ */ g(tt, [["__scopeId", "data-v-db1924b1"]]), st = /* @__PURE__ */
|
|
743
|
+
}), ot = /* @__PURE__ */ g(tt, [["__scopeId", "data-v-db1924b1"]]), st = /* @__PURE__ */ k({
|
|
744
744
|
__name: "t-back-button",
|
|
745
745
|
props: {
|
|
746
746
|
to: {}
|
|
747
747
|
},
|
|
748
748
|
setup(o) {
|
|
749
749
|
const s = oe(), e = o, t = () => {
|
|
750
|
-
|
|
750
|
+
w.hasPrevious.value ? s?.back?.() : e.to && s?.push?.(e.to);
|
|
751
751
|
};
|
|
752
|
-
return (n, r) => n.to || E(
|
|
752
|
+
return (n, r) => n.to || E(w).hasPrevious ? (c(), p("button", {
|
|
753
753
|
key: 0,
|
|
754
754
|
class: "t-back-button",
|
|
755
755
|
onClick: t
|
|
756
756
|
}, [
|
|
757
|
-
|
|
758
|
-
r[0] || (r[0] =
|
|
757
|
+
h(n.$slots, "default", {}, () => [
|
|
758
|
+
r[0] || (r[0] = $("i", { class: "ri-arrow-left-s-line" }, null, -1))
|
|
759
759
|
], !0)
|
|
760
760
|
])) : I("", !0);
|
|
761
761
|
}
|
|
762
|
-
}), nt = /* @__PURE__ */ g(st, [["__scopeId", "data-v-ed626a3d"]]), rt = /* @__PURE__ */
|
|
762
|
+
}), nt = /* @__PURE__ */ g(st, [["__scopeId", "data-v-ed626a3d"]]), rt = /* @__PURE__ */ k({
|
|
763
763
|
__name: "t-text",
|
|
764
764
|
props: {
|
|
765
765
|
color: { default: "var(--t-color-text)" },
|
|
766
766
|
size: { default: "standard" }
|
|
767
767
|
},
|
|
768
768
|
setup(o) {
|
|
769
|
-
const s = o, e =
|
|
769
|
+
const s = o, e = S(() => {
|
|
770
770
|
let t, n = s.color;
|
|
771
771
|
return s.size == "standard" ? t = "var(--t-fs-10)" : s.size == "small" ? t = "var(--t-fs-08)" : s.size == "large" ? t = "var(--t-fs-12)" : t = s.size, ["warning", "info", "danger", "primary", "secondary", "success"].includes(s.color) && (n = `var(--t-color-status-${s.color})`), {
|
|
772
772
|
"--color": n,
|
|
773
773
|
"--font-size": t
|
|
774
774
|
};
|
|
775
775
|
});
|
|
776
|
-
return (t, n) => (c(),
|
|
776
|
+
return (t, n) => (c(), p("span", {
|
|
777
777
|
class: "t-text",
|
|
778
|
-
style:
|
|
778
|
+
style: T(e.value)
|
|
779
779
|
}, [
|
|
780
|
-
|
|
780
|
+
h(t.$slots, "default", {}, void 0, !0)
|
|
781
781
|
], 4));
|
|
782
782
|
}
|
|
783
|
-
}), F = /* @__PURE__ */ g(rt, [["__scopeId", "data-v-f0f94f05"]]), at = /* @__PURE__ */
|
|
783
|
+
}), F = /* @__PURE__ */ g(rt, [["__scopeId", "data-v-f0f94f05"]]), at = /* @__PURE__ */ k({
|
|
784
784
|
__name: "t-pull-signal",
|
|
785
785
|
props: {
|
|
786
786
|
placement: { default: "bottom" }
|
|
787
787
|
},
|
|
788
788
|
setup(o) {
|
|
789
|
-
return (s, e) => (c(),
|
|
789
|
+
return (s, e) => (c(), p("div", {
|
|
790
790
|
class: x(["t-pull-bar", { [s.placement]: !0 }])
|
|
791
791
|
}, null, 2));
|
|
792
792
|
}
|
|
793
|
-
}), ce = /* @__PURE__ */ g(at, [["__scopeId", "data-v-daa38c85"]]), lt = /* @__PURE__ */
|
|
793
|
+
}), ce = /* @__PURE__ */ g(at, [["__scopeId", "data-v-daa38c85"]]), lt = /* @__PURE__ */ k({
|
|
794
794
|
__name: "t-sheet",
|
|
795
795
|
props: {
|
|
796
796
|
background: { default: "var(--t-color-surface)" },
|
|
@@ -808,7 +808,7 @@ const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c
|
|
|
808
808
|
setup(o, { emit: s }) {
|
|
809
809
|
const e = o, t = s, n = v(), r = v(), i = v(!1);
|
|
810
810
|
let a = null;
|
|
811
|
-
const d =
|
|
811
|
+
const d = S(() => {
|
|
812
812
|
if (e.placement == "bottom") return "down";
|
|
813
813
|
if (e.placement == "top") return "up";
|
|
814
814
|
if (e.placement == "left") return "left";
|
|
@@ -835,21 +835,21 @@ const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c
|
|
|
835
835
|
fast({ initialDirection: y }) {
|
|
836
836
|
_(), y == d.value ? t("dismiss", "gesture") : r.value.open();
|
|
837
837
|
},
|
|
838
|
-
move({ deltaY: y, deltaX: u, initialDirection:
|
|
839
|
-
if (
|
|
840
|
-
let
|
|
841
|
-
e.placement == "bottom" || e.placement == "top" ?
|
|
842
|
-
contentTransform:
|
|
838
|
+
move({ deltaY: y, deltaX: u, initialDirection: b }) {
|
|
839
|
+
if (b != d.value) return;
|
|
840
|
+
let f = 0;
|
|
841
|
+
e.placement == "bottom" || e.placement == "top" ? f = y : f = u, e.placement == "bottom" && (f = y > 0 ? y : 0), e.placement == "top" && (f = y < 0 ? y : 0), e.placement == "left" && (f = u < 0 ? y : 0), e.placement == "right" && (f = u > 0 ? y : 0), (e.placement == "bottom" && (f >= 10 || this.isMoving) || e.placement == "top" && (f <= -10 || this.isMoving) || e.placement == "left" && (f >= 10 || this.isMoving) || e.placement == "right" && (f <= -10 || this.isMoving)) && (this.isMoving = !0, r.value.render({
|
|
842
|
+
contentTransform: f + "px",
|
|
843
843
|
transition: "0s"
|
|
844
844
|
}));
|
|
845
845
|
},
|
|
846
|
-
up({ deltaY: y, deltaX: u, initialDirection:
|
|
847
|
-
if (this.isMoving = !1, _(),
|
|
846
|
+
up({ deltaY: y, deltaX: u, initialDirection: b }) {
|
|
847
|
+
if (this.isMoving = !1, _(), b != d.value) {
|
|
848
848
|
r.value.open();
|
|
849
849
|
return;
|
|
850
850
|
}
|
|
851
|
-
let
|
|
852
|
-
e.placement == "bottom" || e.placement == "top" ? (
|
|
851
|
+
let f, z, P;
|
|
852
|
+
e.placement == "bottom" || e.placement == "top" ? (f = n.value.offsetHeight, P = y) : (f = n.value.offsetWidth, P = u), z = P / f * 100, z > 50 ? t("dismiss", "gesture") : r.value.open();
|
|
853
853
|
},
|
|
854
854
|
cancel() {
|
|
855
855
|
this.isMoving = !1, _(), r.value.open();
|
|
@@ -871,28 +871,28 @@ const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c
|
|
|
871
871
|
key: 0,
|
|
872
872
|
placement: e.placement
|
|
873
873
|
}, null, 8, ["placement"])) : I("", !0),
|
|
874
|
-
e.closeButton && e.placement == "center" ? (c(),
|
|
874
|
+
e.closeButton && e.placement == "center" ? (c(), p("button", {
|
|
875
875
|
key: 1,
|
|
876
876
|
class: "t-sheet-close",
|
|
877
877
|
onClick: y[0] || (y[0] = (u) => m("close-button"))
|
|
878
878
|
}, [
|
|
879
|
-
|
|
880
|
-
y[1] || (y[1] =
|
|
879
|
+
h(l.$slots, "close-icon", {}, () => [
|
|
880
|
+
y[1] || (y[1] = $("i", { class: "ri-close-large-line" }, null, -1))
|
|
881
881
|
], !0)
|
|
882
882
|
])) : I("", !0),
|
|
883
|
-
|
|
883
|
+
$("div", {
|
|
884
884
|
class: x(["t-sheet", { fullscreen: e.fullscreen, [e.placement]: !0, rounded: l.rounded, radius: e.radius }]),
|
|
885
|
-
style:
|
|
885
|
+
style: T({ "--background": e.background }),
|
|
886
886
|
ref_key: "sheet",
|
|
887
887
|
ref: n
|
|
888
888
|
}, [
|
|
889
|
-
|
|
889
|
+
h(l.$slots, "default", {}, void 0, !0)
|
|
890
890
|
], 6)
|
|
891
891
|
]),
|
|
892
892
|
_: 3
|
|
893
893
|
}, 8, ["placement", "backdrop", "visible", "keepalive"]));
|
|
894
894
|
}
|
|
895
|
-
}), ct = /* @__PURE__ */ g(lt, [["__scopeId", "data-v-0ff00a13"]]), it = { class: "t-input-label" }, ut = { class: "t-input-content" }, dt = ["type", "placeholder", "value"], pt = /* @__PURE__ */
|
|
895
|
+
}), ct = /* @__PURE__ */ g(lt, [["__scopeId", "data-v-0ff00a13"]]), it = { class: "t-input-label" }, ut = { class: "t-input-content" }, dt = ["type", "placeholder", "value"], pt = /* @__PURE__ */ k({
|
|
896
896
|
__name: "t-input",
|
|
897
897
|
props: {
|
|
898
898
|
size: { default: "standard" },
|
|
@@ -910,20 +910,20 @@ const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c
|
|
|
910
910
|
const e = o, t = s, n = (r) => {
|
|
911
911
|
t("update:modelValue", r.target.value);
|
|
912
912
|
};
|
|
913
|
-
return (r, i) => (c(),
|
|
913
|
+
return (r, i) => (c(), p("div", {
|
|
914
914
|
class: x(["t-input", { rounded: e.rounded, ["size-" + e.size]: !0, ["variant-" + e.variant]: !0 }])
|
|
915
915
|
}, [
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
916
|
+
$("label", null, [
|
|
917
|
+
$("span", it, M(r.label), 1),
|
|
918
|
+
$("div", ut, [
|
|
919
|
+
h(r.$slots, "start", {}, void 0, !0),
|
|
920
|
+
$("input", {
|
|
921
921
|
type: r.type,
|
|
922
922
|
placeholder: r.placeholder,
|
|
923
923
|
value: r.modelValue,
|
|
924
924
|
onInput: n
|
|
925
925
|
}, null, 40, dt),
|
|
926
|
-
|
|
926
|
+
h(r.$slots, "end", {}, void 0, !0)
|
|
927
927
|
])
|
|
928
928
|
]),
|
|
929
929
|
e.error ? (c(), B(F, {
|
|
@@ -947,39 +947,39 @@ const le = /* @__PURE__ */ g(Je, [["render", Ze], ["__scopeId", "data-v-c2a3436c
|
|
|
947
947
|
}
|
|
948
948
|
}), ft = /* @__PURE__ */ g(pt, [["__scopeId", "data-v-1a9425cf"]]), mt = {};
|
|
949
949
|
function vt(o, s) {
|
|
950
|
-
return c(),
|
|
950
|
+
return c(), p("textarea");
|
|
951
951
|
}
|
|
952
952
|
const _t = /* @__PURE__ */ g(mt, [["render", vt]]), gt = {};
|
|
953
953
|
function yt(o, s) {
|
|
954
|
-
return c(),
|
|
954
|
+
return c(), p("div");
|
|
955
955
|
}
|
|
956
|
-
const
|
|
956
|
+
const ht = /* @__PURE__ */ g(gt, [["render", yt]]), bt = {}, kt = { class: "t-grid" };
|
|
957
957
|
function $t(o, s) {
|
|
958
|
-
return c(),
|
|
958
|
+
return c(), p("div", kt);
|
|
959
959
|
}
|
|
960
|
-
const
|
|
960
|
+
const wt = /* @__PURE__ */ g(bt, [["render", $t]]), Tt = {}, xt = { class: "t-grid-item" };
|
|
961
961
|
function St(o, s) {
|
|
962
|
-
return c(),
|
|
962
|
+
return c(), p("div", xt);
|
|
963
963
|
}
|
|
964
|
-
const zt = /* @__PURE__ */ g(
|
|
964
|
+
const zt = /* @__PURE__ */ g(Tt, [["render", St]]), It = /* @__PURE__ */ k({
|
|
965
965
|
__name: "t-divider",
|
|
966
966
|
props: {
|
|
967
967
|
direction: { default: "horizontal" }
|
|
968
968
|
},
|
|
969
969
|
setup(o) {
|
|
970
970
|
const s = o;
|
|
971
|
-
return (e, t) => (c(),
|
|
971
|
+
return (e, t) => (c(), p("div", {
|
|
972
972
|
class: x(["t-divider", { [s.direction]: !0 }])
|
|
973
973
|
}, null, 2));
|
|
974
974
|
}
|
|
975
|
-
}), Bt = /* @__PURE__ */ g(It, [["__scopeId", "data-v-47ee8991"]]), Ct = /* @__PURE__ */
|
|
975
|
+
}), Bt = /* @__PURE__ */ g(It, [["__scopeId", "data-v-47ee8991"]]), Ct = /* @__PURE__ */ k({
|
|
976
976
|
__name: "t-toggle-password",
|
|
977
977
|
props: {
|
|
978
978
|
color: { default: "warning" }
|
|
979
979
|
},
|
|
980
980
|
emits: ["change"],
|
|
981
981
|
setup(o, { emit: s }) {
|
|
982
|
-
const e = o, t = s, n = v(!1), r = v(), i =
|
|
982
|
+
const e = o, t = s, n = v(!1), r = v(), i = S(() => {
|
|
983
983
|
let m = e.color;
|
|
984
984
|
return ["warning", "info", "danger", "primary", "secondary", "success"].includes(e.color) && (m = `var(--t-color-status-${e.color})`), {
|
|
985
985
|
"--color": m
|
|
@@ -993,34 +993,34 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
993
993
|
let m = a();
|
|
994
994
|
m && (n.value = !n.value, n.value ? m.type = "text" : m.type = "password", t("change", n.value));
|
|
995
995
|
};
|
|
996
|
-
return (m, _) => (c(),
|
|
996
|
+
return (m, _) => (c(), p("button", {
|
|
997
997
|
ref_key: "toggle",
|
|
998
998
|
ref: r,
|
|
999
999
|
class: "t-toggle-password",
|
|
1000
|
-
style:
|
|
1000
|
+
style: T(i.value),
|
|
1001
1001
|
onClick: d
|
|
1002
1002
|
}, [
|
|
1003
|
-
n.value ?
|
|
1004
|
-
_[0] || (_[0] =
|
|
1003
|
+
n.value ? h(m.$slots, "on", { key: 0 }, () => [
|
|
1004
|
+
_[0] || (_[0] = $("i", { class: "ri-eye-line" }, null, -1))
|
|
1005
1005
|
], !0) : I("", !0),
|
|
1006
|
-
n.value ? I("", !0) :
|
|
1007
|
-
_[1] || (_[1] =
|
|
1006
|
+
n.value ? I("", !0) : h(m.$slots, "off", { key: 1 }, () => [
|
|
1007
|
+
_[1] || (_[1] = $("i", { class: "ri-eye-off-line" }, null, -1))
|
|
1008
1008
|
], !0)
|
|
1009
1009
|
], 4));
|
|
1010
1010
|
}
|
|
1011
|
-
}), Et = /* @__PURE__ */ g(Ct, [["__scopeId", "data-v-3268e9e3"]]), Vt = /* @__PURE__ */
|
|
1011
|
+
}), Et = /* @__PURE__ */ g(Ct, [["__scopeId", "data-v-3268e9e3"]]), Vt = /* @__PURE__ */ k({
|
|
1012
1012
|
__name: "t-avatar",
|
|
1013
1013
|
props: {
|
|
1014
1014
|
square: { type: Boolean, default: !1 },
|
|
1015
1015
|
size: { default: "standard" }
|
|
1016
1016
|
},
|
|
1017
1017
|
setup(o) {
|
|
1018
|
-
const s = o, e =
|
|
1019
|
-
return (t, n) => (c(),
|
|
1018
|
+
const s = o, e = S(() => s.size == "small" ? "24px" : s.size == "standard" ? "40px" : s.size == "large" ? "60px" : s.size);
|
|
1019
|
+
return (t, n) => (c(), p("div", {
|
|
1020
1020
|
class: x(["t-avatar", { square: t.square }]),
|
|
1021
|
-
style:
|
|
1021
|
+
style: T({ "--size": e.value })
|
|
1022
1022
|
}, [
|
|
1023
|
-
|
|
1023
|
+
h(t.$slots, "default", {}, void 0, !0)
|
|
1024
1024
|
], 6));
|
|
1025
1025
|
}
|
|
1026
1026
|
}), Mt = /* @__PURE__ */ g(Vt, [["__scopeId", "data-v-24384c2f"]]), Pt = { class: "t-collapse-title" }, At = {
|
|
@@ -1029,7 +1029,7 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1029
1029
|
}, Rt = {
|
|
1030
1030
|
key: 1,
|
|
1031
1031
|
class: "icon"
|
|
1032
|
-
}, Dt = { class: "t-collapse-content" }, Ot = /* @__PURE__ */
|
|
1032
|
+
}, Dt = { class: "t-collapse-content" }, Ot = /* @__PURE__ */ k({
|
|
1033
1033
|
__name: "t-collapse",
|
|
1034
1034
|
props: {
|
|
1035
1035
|
title: {}
|
|
@@ -1039,41 +1039,41 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1039
1039
|
const e = o, t = s, n = v(!1), r = v(""), i = v(), a = () => {
|
|
1040
1040
|
n.value = !n.value, r.value = `calc(${i.value.offsetHeight}px + 2rem)`, t("change", n.value);
|
|
1041
1041
|
};
|
|
1042
|
-
return t("change", n.value), (d, m) => (c(),
|
|
1042
|
+
return t("change", n.value), (d, m) => (c(), p("div", {
|
|
1043
1043
|
class: x(["t-collapse", { open: n.value }]),
|
|
1044
|
-
style:
|
|
1044
|
+
style: T({ "--height": r.value })
|
|
1045
1045
|
}, [
|
|
1046
|
-
|
|
1046
|
+
$("div", {
|
|
1047
1047
|
class: "t-collapse-header",
|
|
1048
1048
|
onClick: a
|
|
1049
1049
|
}, [
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1050
|
+
h(d.$slots, "icon"),
|
|
1051
|
+
$("div", Pt, [
|
|
1052
|
+
h(d.$slots, "title", {}, () => [
|
|
1053
1053
|
R(M(e.title), 1)
|
|
1054
1054
|
])
|
|
1055
1055
|
]),
|
|
1056
|
-
|
|
1057
|
-
n.value ? (c(),
|
|
1058
|
-
|
|
1059
|
-
])])) : (c(),
|
|
1060
|
-
|
|
1056
|
+
h(d.$slots, "toggle", {}, () => [
|
|
1057
|
+
n.value ? (c(), p("div", At, [...m[0] || (m[0] = [
|
|
1058
|
+
$("i", { class: "ri-arrow-up-s-line" }, null, -1)
|
|
1059
|
+
])])) : (c(), p("div", Rt, [...m[1] || (m[1] = [
|
|
1060
|
+
$("i", { class: "ri-arrow-down-s-line" }, null, -1)
|
|
1061
1061
|
])]))
|
|
1062
1062
|
])
|
|
1063
1063
|
]),
|
|
1064
|
-
|
|
1065
|
-
|
|
1064
|
+
$("div", Dt, [
|
|
1065
|
+
$("div", {
|
|
1066
1066
|
ref_key: "content",
|
|
1067
1067
|
ref: i
|
|
1068
1068
|
}, [
|
|
1069
|
-
|
|
1070
|
-
|
|
1069
|
+
h(d.$slots, "content", {}, () => [
|
|
1070
|
+
h(d.$slots, "default")
|
|
1071
1071
|
])
|
|
1072
1072
|
], 512)
|
|
1073
1073
|
])
|
|
1074
1074
|
], 6));
|
|
1075
1075
|
}
|
|
1076
|
-
}), Nt = /* @__PURE__ */
|
|
1076
|
+
}), Nt = /* @__PURE__ */ k({
|
|
1077
1077
|
__name: "t-switch",
|
|
1078
1078
|
props: {
|
|
1079
1079
|
modelValue: { type: Boolean },
|
|
@@ -1083,7 +1083,7 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1083
1083
|
setup(o, { emit: s }) {
|
|
1084
1084
|
const e = o, t = s, n = () => {
|
|
1085
1085
|
t("update:modelValue", !e.modelValue);
|
|
1086
|
-
}, r =
|
|
1086
|
+
}, r = S(() => {
|
|
1087
1087
|
let i = {
|
|
1088
1088
|
"--background": e.color,
|
|
1089
1089
|
"--color": "#ffffff"
|
|
@@ -1093,24 +1093,24 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1093
1093
|
"--color": `var(--t-color-status-${e.color}-text)`
|
|
1094
1094
|
}), i;
|
|
1095
1095
|
});
|
|
1096
|
-
return (i, a) => (c(),
|
|
1096
|
+
return (i, a) => (c(), p("div", {
|
|
1097
1097
|
class: x(["t-switch", { on: e.modelValue }]),
|
|
1098
|
-
style:
|
|
1098
|
+
style: T(r.value),
|
|
1099
1099
|
onClick: n
|
|
1100
1100
|
}, [...a[0] || (a[0] = [
|
|
1101
|
-
|
|
1101
|
+
$("div", { class: "t-switch-icon" }, null, -1)
|
|
1102
1102
|
])], 6));
|
|
1103
1103
|
}
|
|
1104
|
-
}), qt = /* @__PURE__ */ g(Nt, [["__scopeId", "data-v-3616970e"]]), Lt = /* @__PURE__ */
|
|
1104
|
+
}), qt = /* @__PURE__ */ g(Nt, [["__scopeId", "data-v-3616970e"]]), Lt = /* @__PURE__ */ k({
|
|
1105
1105
|
__name: "t-tab",
|
|
1106
1106
|
props: {
|
|
1107
1107
|
value: {}
|
|
1108
1108
|
},
|
|
1109
1109
|
setup(o) {
|
|
1110
|
-
const s = o, e = de("tabsState"), t =
|
|
1110
|
+
const s = o, e = de("tabsState"), t = S(() => e.active.value === s.value), n = () => {
|
|
1111
1111
|
e.setActive(s.value);
|
|
1112
1112
|
};
|
|
1113
|
-
return (r, i) => (c(),
|
|
1113
|
+
return (r, i) => (c(), p("li", {
|
|
1114
1114
|
class: x(["t-tab", { active: t.value }])
|
|
1115
1115
|
}, [
|
|
1116
1116
|
W(j, {
|
|
@@ -1120,13 +1120,13 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1120
1120
|
color: t.value && E(e).variant == "text" ? E(e).color : void 0
|
|
1121
1121
|
}, {
|
|
1122
1122
|
default: V(() => [
|
|
1123
|
-
|
|
1123
|
+
h(r.$slots, "default", {}, void 0, !0)
|
|
1124
1124
|
]),
|
|
1125
1125
|
_: 3
|
|
1126
1126
|
}, 8, ["size", "color"])
|
|
1127
1127
|
], 2));
|
|
1128
1128
|
}
|
|
1129
|
-
}), Wt = /* @__PURE__ */ g(Lt, [["__scopeId", "data-v-36c12a50"]]), Ht = /* @__PURE__ */
|
|
1129
|
+
}), Wt = /* @__PURE__ */ g(Lt, [["__scopeId", "data-v-36c12a50"]]), Ht = /* @__PURE__ */ k({
|
|
1130
1130
|
__name: "t-tabs",
|
|
1131
1131
|
props: {
|
|
1132
1132
|
placement: { default: "top-start" },
|
|
@@ -1138,7 +1138,7 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1138
1138
|
},
|
|
1139
1139
|
emits: ["update:modelValue"],
|
|
1140
1140
|
setup(o, { emit: s }) {
|
|
1141
|
-
const e = o, t = s, n = v("0px"), r = v(), i =
|
|
1141
|
+
const e = o, t = s, n = v("0px"), r = v(), i = S(() => {
|
|
1142
1142
|
let d = e.color;
|
|
1143
1143
|
return ["warning", "info", "danger", "primary", "secondary", "success"].includes(d) && (d = `var(--t-color-status-${d})`), d;
|
|
1144
1144
|
}), a = () => {
|
|
@@ -1159,7 +1159,7 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1159
1159
|
}, 50);
|
|
1160
1160
|
};
|
|
1161
1161
|
return pe("tabsState", {
|
|
1162
|
-
active:
|
|
1162
|
+
active: S(() => e.modelValue),
|
|
1163
1163
|
color: i.value,
|
|
1164
1164
|
size: e.size,
|
|
1165
1165
|
variant: e.variant,
|
|
@@ -1168,16 +1168,16 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1168
1168
|
}
|
|
1169
1169
|
}), K(() => {
|
|
1170
1170
|
a();
|
|
1171
|
-
}), (d, m) => (c(),
|
|
1171
|
+
}), (d, m) => (c(), p("ul", {
|
|
1172
1172
|
ref_key: "container",
|
|
1173
1173
|
ref: r,
|
|
1174
1174
|
class: x(["t-tabs", { [d.placement]: !0, [d.variant]: !0 }]),
|
|
1175
|
-
style:
|
|
1175
|
+
style: T({ "--color": i.value, "--transform": n.value, "--border": d.border + "px" })
|
|
1176
1176
|
}, [
|
|
1177
|
-
|
|
1177
|
+
h(d.$slots, "default", {}, void 0, !0)
|
|
1178
1178
|
], 6));
|
|
1179
1179
|
}
|
|
1180
|
-
}), Ut = /* @__PURE__ */ g(Ht, [["__scopeId", "data-v-65a2c74c"]]), Xt = /* @__PURE__ */
|
|
1180
|
+
}), Ut = /* @__PURE__ */ g(Ht, [["__scopeId", "data-v-65a2c74c"]]), Xt = /* @__PURE__ */ k({
|
|
1181
1181
|
__name: "t-loading-app",
|
|
1182
1182
|
setup(o) {
|
|
1183
1183
|
return (s, e) => (c(), B(ae, null, {
|
|
@@ -1190,7 +1190,7 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1190
1190
|
}), jt = /* @__PURE__ */ g(Xt, [["__scopeId", "data-v-1436aa9f"]]), Ft = { key: 0 }, Gt = {
|
|
1191
1191
|
key: 0,
|
|
1192
1192
|
class: "t-checkbox-label"
|
|
1193
|
-
}, Kt = /* @__PURE__ */
|
|
1193
|
+
}, Kt = /* @__PURE__ */ k({
|
|
1194
1194
|
__name: "t-checkbox",
|
|
1195
1195
|
props: {
|
|
1196
1196
|
label: { default: "" },
|
|
@@ -1203,7 +1203,7 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1203
1203
|
},
|
|
1204
1204
|
emits: ["update:modelValue"],
|
|
1205
1205
|
setup(o, { emit: s }) {
|
|
1206
|
-
const e = o, t = s, n =
|
|
1206
|
+
const e = o, t = s, n = S(() => {
|
|
1207
1207
|
let a = {
|
|
1208
1208
|
"--background": e.color,
|
|
1209
1209
|
"--color": "#ffffff"
|
|
@@ -1212,51 +1212,85 @@ const zt = /* @__PURE__ */ g(wt, [["render", St]]), It = /* @__PURE__ */ $({
|
|
|
1212
1212
|
"--background": `var(--t-color-status-${e.color})`,
|
|
1213
1213
|
"--color": `var(--t-color-status-${e.color}-text)`
|
|
1214
1214
|
}), a;
|
|
1215
|
-
}), r =
|
|
1215
|
+
}), r = S(() => e.multiple ? e.modelValue.includes(e.value) : e.value === void 0 ? e.modelValue : e.modelValue == e.value), i = () => {
|
|
1216
1216
|
if (e.multiple) {
|
|
1217
1217
|
let a = e.modelValue;
|
|
1218
1218
|
e.modelValue.includes(e.value) ? a.splice(a.indexOf(e.value), 1) : a.push(e.value), t("update:modelValue", a);
|
|
1219
1219
|
} else e.value === void 0 ? t("update:modelValue", !e.modelValue) : t("update:modelValue", e.value);
|
|
1220
1220
|
};
|
|
1221
|
-
return (a, d) => (c(),
|
|
1221
|
+
return (a, d) => (c(), p("div", {
|
|
1222
1222
|
class: x(["t-checkbox", { active: r.value }]),
|
|
1223
|
-
style:
|
|
1223
|
+
style: T(n.value),
|
|
1224
1224
|
onClick: i
|
|
1225
1225
|
}, [
|
|
1226
|
-
|
|
1226
|
+
$("div", {
|
|
1227
1227
|
class: x(`t-checkbox-${a.type}`)
|
|
1228
1228
|
}, [
|
|
1229
|
-
a.type == "radio" ? (c(),
|
|
1230
|
-
a.type == "check" ?
|
|
1231
|
-
d[0] || (d[0] =
|
|
1229
|
+
a.type == "radio" ? (c(), p("div", Ft)) : I("", !0),
|
|
1230
|
+
a.type == "check" ? h(a.$slots, "icon", { key: 1 }, () => [
|
|
1231
|
+
d[0] || (d[0] = $("i", { class: "ri-check-line" }, null, -1))
|
|
1232
1232
|
], !0) : I("", !0)
|
|
1233
1233
|
], 2),
|
|
1234
|
-
a.label ? (c(),
|
|
1234
|
+
a.label ? (c(), p("span", Gt, M(e.label), 1)) : I("", !0)
|
|
1235
1235
|
], 6));
|
|
1236
1236
|
}
|
|
1237
|
-
}), Jt = /* @__PURE__ */ g(Kt, [["__scopeId", "data-v-d558d0b0"]]), Qt = /* @__PURE__ */
|
|
1237
|
+
}), Jt = /* @__PURE__ */ g(Kt, [["__scopeId", "data-v-d558d0b0"]]), Qt = /* @__PURE__ */ k({
|
|
1238
1238
|
__name: "t-keyboard",
|
|
1239
1239
|
setup(o) {
|
|
1240
1240
|
const { height: s } = re();
|
|
1241
|
-
return (e, t) => (c(),
|
|
1241
|
+
return (e, t) => (c(), p("div", {
|
|
1242
1242
|
class: "t-keyboard",
|
|
1243
|
-
style:
|
|
1243
|
+
style: T({ "--height": E(s) + "px" })
|
|
1244
1244
|
}, null, 4));
|
|
1245
1245
|
}
|
|
1246
|
-
}), Zt = /* @__PURE__ */ g(Qt, [["__scopeId", "data-v-5d3fa1da"]]),
|
|
1246
|
+
}), Zt = /* @__PURE__ */ g(Qt, [["__scopeId", "data-v-5d3fa1da"]]), Yt = /* @__PURE__ */ k({
|
|
1247
|
+
__name: "t-skeleton",
|
|
1248
|
+
props: {
|
|
1249
|
+
width: { default: "100%" },
|
|
1250
|
+
height: { default: "1rem" },
|
|
1251
|
+
radius: { default: "8px" },
|
|
1252
|
+
color: { default: null }
|
|
1253
|
+
},
|
|
1254
|
+
setup(o) {
|
|
1255
|
+
const s = o, e = S(() => {
|
|
1256
|
+
let t = {
|
|
1257
|
+
"--width": s.width,
|
|
1258
|
+
"--height": s.height,
|
|
1259
|
+
"--radius": s.radius
|
|
1260
|
+
};
|
|
1261
|
+
return s.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(s.color) ? t = {
|
|
1262
|
+
"--color-1": "var(--t-color-status-" + s.color + ")",
|
|
1263
|
+
"--color-2": "rgba(var(--t-color-status-" + s.color + "-text-rgb), 0.2)",
|
|
1264
|
+
...t
|
|
1265
|
+
} : t = {
|
|
1266
|
+
"--color-1": s.color,
|
|
1267
|
+
"--color-2": "rgba(var(--t-color-text-dark-rgb), 0.2)",
|
|
1268
|
+
...t
|
|
1269
|
+
} : t = {
|
|
1270
|
+
"--color-1": "var(--t-color-separate)",
|
|
1271
|
+
"--color-2": "rgba(var(--t-color-text-dark-rgb), 0.2)",
|
|
1272
|
+
...t
|
|
1273
|
+
}, t;
|
|
1274
|
+
});
|
|
1275
|
+
return (t, n) => (c(), p("div", {
|
|
1276
|
+
class: "t-skeleton",
|
|
1277
|
+
style: T(e.value)
|
|
1278
|
+
}, null, 4));
|
|
1279
|
+
}
|
|
1280
|
+
}), eo = /* @__PURE__ */ g(Yt, [["__scopeId", "data-v-25b27b62"]]), co = () => ({
|
|
1247
1281
|
install: (o) => {
|
|
1248
|
-
_e(), o.component("t-app",
|
|
1282
|
+
_e(), o.component("t-app", be), o.component("t-screen", le), o.component("t-swipe-screen", et), o.component("t-cable", He), o.component("t-toolbar", ot), o.component("t-content", ae), o.component("t-card", Ue), o.component("t-refresher", Ke), o.component("t-button", j), o.component("t-back-button", nt), o.component("t-present", D), o.component("t-text", F), o.component("t-sheet", ct), o.component("t-pull-signal", ce), o.component("t-input", ft), o.component("t-textarea", _t), o.component("t-rich-text", ht), o.component("t-grid", wt), o.component("t-grid-item", zt), o.component("t-divider", Bt), o.component("t-toggle-password", Et), o.component("t-loading-icon", X), o.component("t-alert", se), o.component("t-avatar", Mt), o.component("t-collapse", Ot), o.component("t-toast", ne), o.component("t-switch", qt), o.component("t-tab", Wt), o.component("t-tabs", Ut), o.component("t-loading-app", jt), o.component("t-checkbox", Jt), o.component("t-keyboard", Zt), o.component("t-skeleton", eo);
|
|
1249
1283
|
}
|
|
1250
1284
|
});
|
|
1251
1285
|
export {
|
|
1252
1286
|
ve as blurCurrentActive,
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1287
|
+
ro as createAction,
|
|
1288
|
+
no as createAlert,
|
|
1289
|
+
ao as createLoading,
|
|
1290
|
+
lo as createToast,
|
|
1291
|
+
co as createToife,
|
|
1258
1292
|
me as isFormElement,
|
|
1259
1293
|
Pe as presentController,
|
|
1260
|
-
|
|
1294
|
+
w as screenController,
|
|
1261
1295
|
re as useKeyboard
|
|
1262
1296
|
};
|