@toife/vue 2.0.7 → 2.0.9
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/index.css +1 -1
- package/dist/index.es.js +140 -140
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { createElementBlock as p, openBlock as c, renderSlot as b, defineComponent as h, ref as v, computed as w, reactive as ce, watch as
|
|
1
|
+
import { createElementBlock as p, openBlock as c, renderSlot as b, defineComponent as h, ref as v, computed as w, reactive as ce, watch as O, onMounted as G, Fragment as W, withDirectives as L, createCommentVNode as I, normalizeStyle as x, normalizeClass as S, vShow as H, createElementVNode as $, createVNode as U, createBlock as E, withCtx as V, toDisplayString as R, renderList as F, createTextVNode as N, createApp as j, h as K, provide as ie, unref as A, onUnmounted as se, resolveDynamicComponent as be, markRaw as he, inject as ue, useAttrs as ke, nextTick as ae } from "vue";
|
|
2
2
|
import { gesture as re } from "@toife/gesture";
|
|
3
|
-
import { useRouter as de, useRoute as
|
|
4
|
-
const
|
|
3
|
+
import { useRouter as de, useRoute as $e } from "vue-router";
|
|
4
|
+
const we = (e) => e && (e.tagName == "INPUT" || e.tagName == "TEXTAREA" || e.isContentEditable), xe = () => {
|
|
5
5
|
const e = document.activeElement;
|
|
6
6
|
e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable) && e.blur();
|
|
7
|
-
},
|
|
7
|
+
}, Te = () => {
|
|
8
8
|
document.addEventListener("contextmenu", (e) => e.preventDefault()), document.addEventListener("pointerup", (e) => {
|
|
9
|
-
!
|
|
9
|
+
!we(e.target) && xe();
|
|
10
10
|
});
|
|
11
11
|
}, g = (e, o) => {
|
|
12
12
|
const t = e.__vccOpts || e;
|
|
13
13
|
for (const [s, r] of o)
|
|
14
14
|
t[s] = r;
|
|
15
15
|
return t;
|
|
16
|
-
},
|
|
17
|
-
function
|
|
18
|
-
return c(), p("div",
|
|
16
|
+
}, Se = {}, Be = { class: "t-app" };
|
|
17
|
+
function ze(e, o) {
|
|
18
|
+
return c(), p("div", Be, [
|
|
19
19
|
b(e.$slots, "default")
|
|
20
20
|
]);
|
|
21
21
|
}
|
|
22
|
-
const
|
|
22
|
+
const Ie = /* @__PURE__ */ g(Se, [["render", ze]]), Ce = /* @__PURE__ */ h({
|
|
23
23
|
__name: "t-present",
|
|
24
24
|
props: {
|
|
25
25
|
keepalive: { type: Boolean, default: !0 },
|
|
@@ -46,16 +46,16 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
46
46
|
contentOpacity: "1"
|
|
47
47
|
});
|
|
48
48
|
}, _ = () => {
|
|
49
|
-
let m = "0px",
|
|
50
|
-
a.placement == "bottom" || a.placement == "right" ? m = "100%" : a.placement == "top" || a.placement == "left" ? m = "-100%" : a.placement == "center" && (m = "0px",
|
|
49
|
+
let m = "0px", D = "1";
|
|
50
|
+
a.placement == "bottom" || a.placement == "right" ? m = "100%" : a.placement == "top" || a.placement == "left" ? m = "-100%" : a.placement == "center" && (m = "0px", D = "0"), n({
|
|
51
51
|
contentTransform: m,
|
|
52
52
|
transition: "0.2s",
|
|
53
|
-
contentOpacity:
|
|
53
|
+
contentOpacity: D,
|
|
54
54
|
backdropOpacity: "0"
|
|
55
55
|
});
|
|
56
56
|
};
|
|
57
|
-
|
|
58
|
-
a.visible ? (r.value = !0, s.value =
|
|
57
|
+
O(() => a.visible, () => {
|
|
58
|
+
a.visible ? (r.value = !0, s.value = He.getNewIndex(), setTimeout(() => {
|
|
59
59
|
u();
|
|
60
60
|
}, 50)) : (_(), setTimeout(() => {
|
|
61
61
|
r.value = !1;
|
|
@@ -70,7 +70,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
70
70
|
};
|
|
71
71
|
return G(() => {
|
|
72
72
|
a.visible ? u() : _();
|
|
73
|
-
}), (m,
|
|
73
|
+
}), (m, D) => (c(), p(W, null, [
|
|
74
74
|
y.value ? L((c(), p("div", {
|
|
75
75
|
key: 0,
|
|
76
76
|
class: S(["t-present", [{ [m.placement]: !0 }, a.class]]),
|
|
@@ -94,7 +94,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
94
94
|
]) : I("", !0)
|
|
95
95
|
], 64));
|
|
96
96
|
}
|
|
97
|
-
}),
|
|
97
|
+
}), M = /* @__PURE__ */ g(Ce, [["__scopeId", "data-v-1b25059f"]]), Ee = /* @__PURE__ */ h({
|
|
98
98
|
__name: "t-loading-icon",
|
|
99
99
|
props: {
|
|
100
100
|
size: {
|
|
@@ -118,10 +118,10 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
118
118
|
"aria-label": "Loading..."
|
|
119
119
|
}, null, 4));
|
|
120
120
|
}
|
|
121
|
-
}), J = /* @__PURE__ */ g(
|
|
121
|
+
}), J = /* @__PURE__ */ g(Ee, [["__scopeId", "data-v-7c463303"]]), Ve = { class: "t-button-content" }, Pe = {
|
|
122
122
|
key: 0,
|
|
123
123
|
class: "loader"
|
|
124
|
-
},
|
|
124
|
+
}, Re = /* @__PURE__ */ h({
|
|
125
125
|
__name: "t-button",
|
|
126
126
|
props: {
|
|
127
127
|
color: { default: null },
|
|
@@ -178,12 +178,12 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
178
178
|
class: S(["t-button", { "active-background": o.activeBackground, rounded: o.rounded, block: o.block, ["size-" + o.size]: !0 }]),
|
|
179
179
|
style: x(t.value)
|
|
180
180
|
}, [
|
|
181
|
-
L($("span",
|
|
181
|
+
L($("span", Ve, [
|
|
182
182
|
b(s.$slots, "default", {}, void 0, !0)
|
|
183
183
|
], 512), [
|
|
184
184
|
[H, !o.loading]
|
|
185
185
|
]),
|
|
186
|
-
o.loading ? (c(), p("span",
|
|
186
|
+
o.loading ? (c(), p("span", Pe, [
|
|
187
187
|
U(J, {
|
|
188
188
|
color: "var(--color)",
|
|
189
189
|
type: o.loadingType
|
|
@@ -191,10 +191,10 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
191
191
|
])) : I("", !0)
|
|
192
192
|
], 6));
|
|
193
193
|
}
|
|
194
|
-
}), Q = /* @__PURE__ */ g(
|
|
194
|
+
}), Q = /* @__PURE__ */ g(Re, [["__scopeId", "data-v-185a9e49"]]), Ae = {
|
|
195
195
|
key: 0,
|
|
196
196
|
class: "t-alert-header"
|
|
197
|
-
},
|
|
197
|
+
}, Xe = { class: "t-alert-content" }, Oe = { class: "t-alert-footer" }, De = /* @__PURE__ */ h({
|
|
198
198
|
__name: "t-alert",
|
|
199
199
|
props: {
|
|
200
200
|
title: {},
|
|
@@ -215,7 +215,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
215
215
|
};
|
|
216
216
|
return o({
|
|
217
217
|
open: f
|
|
218
|
-
}), (n, u) => (c(), E(
|
|
218
|
+
}), (n, u) => (c(), E(M, {
|
|
219
219
|
placement: "center",
|
|
220
220
|
backdrop: !0,
|
|
221
221
|
keepalive: !1,
|
|
@@ -229,10 +229,10 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
229
229
|
ref: d
|
|
230
230
|
}, [
|
|
231
231
|
b(n.$slots, "header", {}, () => [
|
|
232
|
-
s.title ? (c(), p("div",
|
|
232
|
+
s.title ? (c(), p("div", Ae, R(s.title), 1)) : I("", !0)
|
|
233
233
|
], !0),
|
|
234
234
|
b(n.$slots, "content", {}, () => [
|
|
235
|
-
$("div",
|
|
235
|
+
$("div", Xe, R(s.message), 1)
|
|
236
236
|
], !0),
|
|
237
237
|
b(n.$slots, "footer", {}, () => [
|
|
238
238
|
$("div", Oe, [
|
|
@@ -242,7 +242,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
242
242
|
onClick: (k) => y(_)
|
|
243
243
|
}, {
|
|
244
244
|
default: V(() => [
|
|
245
|
-
|
|
245
|
+
N(R(_.text), 1)
|
|
246
246
|
]),
|
|
247
247
|
_: 2
|
|
248
248
|
}, 1032, ["color", "variant", "onClick"]))), 256))
|
|
@@ -253,7 +253,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
253
253
|
_: 3
|
|
254
254
|
}, 8, ["visible"]));
|
|
255
255
|
}
|
|
256
|
-
}), pe = /* @__PURE__ */ g(
|
|
256
|
+
}), pe = /* @__PURE__ */ g(De, [["__scopeId", "data-v-05d0c578"]]), $o = (e = {}) => ({
|
|
257
257
|
open() {
|
|
258
258
|
return new Promise((o) => {
|
|
259
259
|
let t = document.body.querySelector(".t-app");
|
|
@@ -278,7 +278,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
278
278
|
}, 50);
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
|
-
}),
|
|
281
|
+
}), We = /* @__PURE__ */ h({
|
|
282
282
|
__name: "t-action",
|
|
283
283
|
props: {
|
|
284
284
|
actions: {},
|
|
@@ -296,12 +296,12 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
296
296
|
a.value = !1;
|
|
297
297
|
}, 300));
|
|
298
298
|
};
|
|
299
|
-
return
|
|
299
|
+
return O(() => s.visible, (n) => {
|
|
300
300
|
n ? f() : close();
|
|
301
301
|
}), o({
|
|
302
302
|
open: f,
|
|
303
303
|
close
|
|
304
|
-
}), (n, u) => (c(), E(
|
|
304
|
+
}), (n, u) => (c(), E(M, {
|
|
305
305
|
placement: "bottom",
|
|
306
306
|
backdrop: !0,
|
|
307
307
|
keepalive: !1,
|
|
@@ -323,7 +323,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
323
323
|
block: ""
|
|
324
324
|
}, {
|
|
325
325
|
default: V(() => [
|
|
326
|
-
|
|
326
|
+
N(R(k.text), 1)
|
|
327
327
|
]),
|
|
328
328
|
_: 2
|
|
329
329
|
}, 1032, ["color", "size", "variant", "onClick"]))), 256))
|
|
@@ -333,7 +333,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
333
333
|
_: 1
|
|
334
334
|
}, 8, ["visible"]));
|
|
335
335
|
}
|
|
336
|
-
}), Ne = /* @__PURE__ */ g(
|
|
336
|
+
}), Ne = /* @__PURE__ */ g(We, [["__scopeId", "data-v-844fb240"]]), wo = (e = {}) => ({
|
|
337
337
|
open() {
|
|
338
338
|
return new Promise((o) => {
|
|
339
339
|
let t = document.body.querySelector(".t-app");
|
|
@@ -358,7 +358,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
358
358
|
}, 50);
|
|
359
359
|
});
|
|
360
360
|
}
|
|
361
|
-
}), qe = { class: "t-loading" },
|
|
361
|
+
}), qe = { class: "t-loading" }, Me = /* @__PURE__ */ h({
|
|
362
362
|
__name: "t-loading",
|
|
363
363
|
props: {
|
|
364
364
|
type: { default: "spinner" }
|
|
@@ -373,7 +373,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
373
373
|
close: () => {
|
|
374
374
|
r.value = !1;
|
|
375
375
|
}
|
|
376
|
-
}), (a, f) => (c(), E(
|
|
376
|
+
}), (a, f) => (c(), E(M, {
|
|
377
377
|
placement: "center",
|
|
378
378
|
backdrop: !0,
|
|
379
379
|
keepalive: !1,
|
|
@@ -391,7 +391,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
391
391
|
_: 3
|
|
392
392
|
}, 8, ["visible"]));
|
|
393
393
|
}
|
|
394
|
-
}),
|
|
394
|
+
}), Le = /* @__PURE__ */ g(Me, [["__scopeId", "data-v-8f84c14e"]]), xo = (e = {}) => {
|
|
395
395
|
const o = v(), t = document.body.querySelector(".t-app");
|
|
396
396
|
let s = null, r = null;
|
|
397
397
|
return {
|
|
@@ -399,7 +399,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
399
399
|
return new Promise((l) => {
|
|
400
400
|
t && (r = document.createElement("div"), t.appendChild(r), s = j({
|
|
401
401
|
render() {
|
|
402
|
-
return K(
|
|
402
|
+
return K(Le, {
|
|
403
403
|
...e,
|
|
404
404
|
ref: o
|
|
405
405
|
});
|
|
@@ -417,11 +417,11 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
|
-
}, le = v(1e3),
|
|
420
|
+
}, le = v(1e3), He = {
|
|
421
421
|
getNewIndex() {
|
|
422
422
|
return le.value += 2, le.value;
|
|
423
423
|
}
|
|
424
|
-
}, X = ce([]), Z = v(!0), z = v(!1), P = v(-1), B = w(() => X[P.value]),
|
|
424
|
+
}, X = ce([]), Z = v(!0), z = v(!1), P = v(-1), B = w(() => X[P.value]), q = w(() => X[P.value + 1] || void 0), C = w(() => X[X.length - 2]), fe = w(() => !z.value && Z.value && C.value), Y = {
|
|
425
425
|
reset() {
|
|
426
426
|
z.value = !0;
|
|
427
427
|
const e = B.value.target, o = C.value.target;
|
|
@@ -440,13 +440,13 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
440
440
|
}, 400));
|
|
441
441
|
},
|
|
442
442
|
next(e) {
|
|
443
|
-
if (!
|
|
443
|
+
if (!q.value) return;
|
|
444
444
|
if (P.value == -1) {
|
|
445
445
|
P.value += 1, e && e();
|
|
446
446
|
return;
|
|
447
447
|
}
|
|
448
448
|
z.value = !0;
|
|
449
|
-
let o =
|
|
449
|
+
let o = q.value.target;
|
|
450
450
|
o.style.transform = "translateX(var(--t-app-width))", o.transitionOrigin = "center", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0"), setTimeout(() => {
|
|
451
451
|
o.style.transition = "transform 0.35s ease", o.style.transform = "translateX(0px)", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0.35s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0.5"), B.value && (B.value.target.style.transitionOrigin = "left center", B.value.target.style.transition = "transform 0.35s ease", B.value.target.style.transform = "translateX(calc(var(--t-app-width) / 100 * 30 * -1)) scale(0.5) perspective(var(--t-app-width)) rotateY(30deg)"), setTimeout(() => {
|
|
452
452
|
z.value = !1, P.value += 1, e && e();
|
|
@@ -471,58 +471,58 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
471
471
|
}, 400));
|
|
472
472
|
},
|
|
473
473
|
next(e) {
|
|
474
|
-
if (!
|
|
474
|
+
if (!q.value) return;
|
|
475
475
|
if (P.value == -1) {
|
|
476
476
|
P.value += 1, e && e();
|
|
477
477
|
return;
|
|
478
478
|
}
|
|
479
479
|
z.value = !0;
|
|
480
|
-
let o =
|
|
480
|
+
let o = q.value.target;
|
|
481
481
|
o.style.transform = "translateX(var(--t-app-width))", o.transitionOrigin = "center", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0"), setTimeout(() => {
|
|
482
482
|
o.style.transition = "transform 0.35s ease", o.style.transform = "translateX(0px)", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0.35s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0.5"), B.value && (B.value.target.style.transitionOrigin = "left center", B.value.target.style.transition = "transform 0.35s ease", B.value.target.style.transform = "translateX(calc(var(--t-app-width) / 100 * 30 * -1))"), setTimeout(() => {
|
|
483
483
|
z.value = !1, P.value += 1, e && e();
|
|
484
484
|
}, 400);
|
|
485
485
|
}, 100);
|
|
486
486
|
}
|
|
487
|
-
},
|
|
487
|
+
}, Fe = (e) => {
|
|
488
488
|
X.push(e);
|
|
489
|
-
},
|
|
489
|
+
}, Ge = (e, o) => {
|
|
490
490
|
X[e].target = o;
|
|
491
491
|
}, ne = (e) => {
|
|
492
492
|
e || X.pop();
|
|
493
|
-
},
|
|
493
|
+
}, Ue = () => {
|
|
494
494
|
X.splice(0, X.length);
|
|
495
|
-
},
|
|
495
|
+
}, je = () => {
|
|
496
496
|
Z.value = !1;
|
|
497
|
-
},
|
|
497
|
+
}, Ke = () => {
|
|
498
498
|
Z.value = !0;
|
|
499
|
-
},
|
|
499
|
+
}, Je = (e, o) => {
|
|
500
500
|
e == "scale" && Y.next(o), e == "transform" && ee.next(o);
|
|
501
|
-
},
|
|
501
|
+
}, Qe = (e, o) => {
|
|
502
502
|
e == "scale" && Y.back(o), e == "transform" && ee.back(o);
|
|
503
|
-
},
|
|
503
|
+
}, Ze = (e, o) => {
|
|
504
504
|
e == "scale" && Y.move(o), e == "transform" && ee.move(o);
|
|
505
|
-
},
|
|
505
|
+
}, Ye = (e) => {
|
|
506
506
|
e == "scale" && Y.reset(), e == "transform" && ee.reset();
|
|
507
507
|
}, T = {
|
|
508
508
|
isBusy: z,
|
|
509
509
|
isSwipeable: fe,
|
|
510
|
-
reset:
|
|
511
|
-
next:
|
|
512
|
-
back:
|
|
513
|
-
move:
|
|
510
|
+
reset: Ye,
|
|
511
|
+
next: Je,
|
|
512
|
+
back: Qe,
|
|
513
|
+
move: Ze,
|
|
514
514
|
screens: X,
|
|
515
|
-
addScreen:
|
|
516
|
-
addScreenEl:
|
|
515
|
+
addScreen: Fe,
|
|
516
|
+
addScreenEl: Ge,
|
|
517
517
|
removeScreen: ne,
|
|
518
|
-
removeAllScreen:
|
|
519
|
-
lockSwipe:
|
|
520
|
-
unlockSwipe:
|
|
518
|
+
removeAllScreen: Ue,
|
|
519
|
+
lockSwipe: je,
|
|
520
|
+
unlockSwipe: Ke,
|
|
521
521
|
swipeable: Z,
|
|
522
522
|
currentScreen: B,
|
|
523
523
|
lastScreen: C,
|
|
524
|
-
nextScreen:
|
|
525
|
-
},
|
|
524
|
+
nextScreen: q
|
|
525
|
+
}, et = { class: "t-toast-content" }, tt = /* @__PURE__ */ h({
|
|
526
526
|
__name: "t-toast",
|
|
527
527
|
props: {
|
|
528
528
|
message: {},
|
|
@@ -543,7 +543,7 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
543
543
|
d.value = !1, l.value = !1, r("dismiss");
|
|
544
544
|
}, 300);
|
|
545
545
|
};
|
|
546
|
-
|
|
546
|
+
O(() => s.visible, (n) => {
|
|
547
547
|
n ? f() : y();
|
|
548
548
|
});
|
|
549
549
|
const i = w(() => {
|
|
@@ -595,11 +595,11 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
595
595
|
style: x({ "--space": s.space, ...i.value })
|
|
596
596
|
}, [
|
|
597
597
|
b(n.$slots, "content", {}, () => [
|
|
598
|
-
$("div",
|
|
598
|
+
$("div", et, R(s.message), 1)
|
|
599
599
|
], !0)
|
|
600
600
|
], 6)) : I("", !0);
|
|
601
601
|
}
|
|
602
|
-
}), me = /* @__PURE__ */ g(
|
|
602
|
+
}), me = /* @__PURE__ */ g(tt, [["__scopeId", "data-v-2802d43f"]]), To = (e = {}) => ({
|
|
603
603
|
open() {
|
|
604
604
|
let o = document.body.querySelector(".t-app");
|
|
605
605
|
if (!o) return;
|
|
@@ -624,13 +624,13 @@ const Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
|
|
|
624
624
|
}, e.duration + 10);
|
|
625
625
|
}, 50);
|
|
626
626
|
}
|
|
627
|
-
}),
|
|
627
|
+
}), ot = v(0);
|
|
628
628
|
function ve() {
|
|
629
629
|
return {
|
|
630
|
-
height:
|
|
630
|
+
height: ot
|
|
631
631
|
};
|
|
632
632
|
}
|
|
633
|
-
const
|
|
633
|
+
const st = /* @__PURE__ */ h({
|
|
634
634
|
__name: "t-cable",
|
|
635
635
|
props: {
|
|
636
636
|
keyboard: { type: Boolean, default: !1 },
|
|
@@ -647,7 +647,7 @@ const rt = /* @__PURE__ */ h({
|
|
|
647
647
|
b(s.$slots, "default", {}, void 0, !0)
|
|
648
648
|
], 6));
|
|
649
649
|
}
|
|
650
|
-
}),
|
|
650
|
+
}), rt = /* @__PURE__ */ g(st, [["__scopeId", "data-v-6cae224b"]]), nt = /* @__PURE__ */ h({
|
|
651
651
|
__name: "t-card",
|
|
652
652
|
props: {
|
|
653
653
|
color: { default: null }
|
|
@@ -670,13 +670,13 @@ const rt = /* @__PURE__ */ h({
|
|
|
670
670
|
b(s.$slots, "default")
|
|
671
671
|
], 4));
|
|
672
672
|
}
|
|
673
|
-
}),
|
|
674
|
-
function
|
|
675
|
-
return c(), p("div",
|
|
673
|
+
}), at = {}, lt = { class: "t-content" };
|
|
674
|
+
function ct(e, o) {
|
|
675
|
+
return c(), p("div", lt, [
|
|
676
676
|
b(e.$slots, "default", {}, void 0, !0)
|
|
677
677
|
]);
|
|
678
678
|
}
|
|
679
|
-
const ye = /* @__PURE__ */ g(
|
|
679
|
+
const ye = /* @__PURE__ */ g(at, [["render", ct], ["__scopeId", "data-v-af750e89"]]), it = /* @__PURE__ */ h({
|
|
680
680
|
__name: "t-refresher",
|
|
681
681
|
props: {
|
|
682
682
|
threshold: { default: 120 },
|
|
@@ -694,12 +694,12 @@ const ye = /* @__PURE__ */ g(lt, [["render", it], ["__scopeId", "data-v-af750e89
|
|
|
694
694
|
}, n = () => {
|
|
695
695
|
r.value = 0, l.value = !1, f = !1, t("cancel");
|
|
696
696
|
};
|
|
697
|
-
return
|
|
697
|
+
return O(() => d.value, () => {
|
|
698
698
|
a && a.destroy();
|
|
699
699
|
let u = d.value.closest(".t-content");
|
|
700
700
|
u && (a = re(u, {
|
|
701
701
|
options: {
|
|
702
|
-
|
|
702
|
+
minMove: 20
|
|
703
703
|
},
|
|
704
704
|
down() {
|
|
705
705
|
l.value || f || t("start");
|
|
@@ -737,13 +737,13 @@ const ye = /* @__PURE__ */ g(lt, [["render", it], ["__scopeId", "data-v-af750e89
|
|
|
737
737
|
[H, r.value > 0]
|
|
738
738
|
]);
|
|
739
739
|
}
|
|
740
|
-
}),
|
|
741
|
-
function
|
|
742
|
-
return c(), p("div",
|
|
740
|
+
}), ut = /* @__PURE__ */ g(it, [["__scopeId", "data-v-97f40a6d"]]), dt = {}, pt = { class: "t-screen" };
|
|
741
|
+
function ft(e, o) {
|
|
742
|
+
return c(), p("div", pt, [
|
|
743
743
|
b(e.$slots, "default", {}, void 0, !0)
|
|
744
744
|
]);
|
|
745
745
|
}
|
|
746
|
-
const _e = /* @__PURE__ */ g(
|
|
746
|
+
const _e = /* @__PURE__ */ g(dt, [["render", ft], ["__scopeId", "data-v-c2a3436c"]]), mt = /* @__PURE__ */ h({
|
|
747
747
|
__name: "t-swipe-screen",
|
|
748
748
|
props: {
|
|
749
749
|
variant: { default: "scale" },
|
|
@@ -755,7 +755,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
755
755
|
let t = {};
|
|
756
756
|
const s = o, r = e;
|
|
757
757
|
let l;
|
|
758
|
-
const d = r.router || de(), a = r.route ||
|
|
758
|
+
const d = r.router || de(), a = r.route || $e(), f = d.getRoutes();
|
|
759
759
|
for (let n of f)
|
|
760
760
|
t[n.name] = n.component || n.components;
|
|
761
761
|
const y = (n) => {
|
|
@@ -769,7 +769,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
769
769
|
s("change");
|
|
770
770
|
}));
|
|
771
771
|
};
|
|
772
|
-
return
|
|
772
|
+
return O(() => a.name, (n, u) => {
|
|
773
773
|
n != T.currentScreen.value?.name && (T.lastScreen.value?.name == n ? T.back(r.variant, () => {
|
|
774
774
|
s("change");
|
|
775
775
|
}) : y(a.name));
|
|
@@ -816,7 +816,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
816
816
|
}, null, 4)
|
|
817
817
|
], 64));
|
|
818
818
|
}
|
|
819
|
-
}),
|
|
819
|
+
}), vt = /* @__PURE__ */ g(mt, [["__scopeId", "data-v-23e0cfda"]]), yt = /* @__PURE__ */ h({
|
|
820
820
|
__name: "t-toolbar",
|
|
821
821
|
props: {
|
|
822
822
|
placement: { default: null },
|
|
@@ -834,7 +834,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
834
834
|
])
|
|
835
835
|
], 6));
|
|
836
836
|
}
|
|
837
|
-
}),
|
|
837
|
+
}), _t = /* @__PURE__ */ g(yt, [["__scopeId", "data-v-1ee9866d"]]), gt = /* @__PURE__ */ h({
|
|
838
838
|
__name: "t-back-button",
|
|
839
839
|
props: {
|
|
840
840
|
to: {},
|
|
@@ -858,7 +858,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
858
858
|
], !0)
|
|
859
859
|
])) : I("", !0);
|
|
860
860
|
}
|
|
861
|
-
}),
|
|
861
|
+
}), bt = /* @__PURE__ */ g(gt, [["__scopeId", "data-v-dcf9d363"]]), ht = /* @__PURE__ */ h({
|
|
862
862
|
__name: "t-text",
|
|
863
863
|
props: {
|
|
864
864
|
color: { default: "var(--t-color-text)" },
|
|
@@ -879,7 +879,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
879
879
|
b(s.$slots, "default", {}, void 0, !0)
|
|
880
880
|
], 4));
|
|
881
881
|
}
|
|
882
|
-
}), oe = /* @__PURE__ */ g(
|
|
882
|
+
}), oe = /* @__PURE__ */ g(ht, [["__scopeId", "data-v-f0f94f05"]]), kt = /* @__PURE__ */ h({
|
|
883
883
|
__name: "t-gesture-indicator",
|
|
884
884
|
props: {
|
|
885
885
|
placement: { default: "bottom" }
|
|
@@ -889,7 +889,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
889
889
|
class: S(["t-gesture-indicator", { [o.placement]: !0 }])
|
|
890
890
|
}, null, 2));
|
|
891
891
|
}
|
|
892
|
-
}), ge = /* @__PURE__ */ g(
|
|
892
|
+
}), ge = /* @__PURE__ */ g(kt, [["__scopeId", "data-v-ed8f7308"]]), $t = /* @__PURE__ */ h({
|
|
893
893
|
__name: "t-sheet",
|
|
894
894
|
props: {
|
|
895
895
|
background: { default: "var(--t-color-surface)" },
|
|
@@ -921,7 +921,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
921
921
|
d.value = !1;
|
|
922
922
|
}, 300);
|
|
923
923
|
};
|
|
924
|
-
return
|
|
924
|
+
return O(() => r.value, (n) => {
|
|
925
925
|
n && (a = re(r.value, {
|
|
926
926
|
isMoving: !1,
|
|
927
927
|
options: {
|
|
@@ -949,8 +949,8 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
949
949
|
l.value.open();
|
|
950
950
|
return;
|
|
951
951
|
}
|
|
952
|
-
let m,
|
|
953
|
-
t.placement == "bottom" || t.placement == "top" ? (m = r.value.offsetHeight, te = u) : (m = r.value.offsetWidth, te = _),
|
|
952
|
+
let m, D, te;
|
|
953
|
+
t.placement == "bottom" || t.placement == "top" ? (m = r.value.offsetHeight, te = u) : (m = r.value.offsetWidth, te = _), D = te / m * 100, D > 50 ? s("dismiss", "gesture") : l.value.open();
|
|
954
954
|
},
|
|
955
955
|
cancel() {
|
|
956
956
|
this.isMoving = !1, i(), l.value.open();
|
|
@@ -958,7 +958,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
958
958
|
}));
|
|
959
959
|
}), se(() => {
|
|
960
960
|
a && a.destroy();
|
|
961
|
-
}), (n, u) => (c(), E(
|
|
961
|
+
}), (n, u) => (c(), E(M, {
|
|
962
962
|
ref_key: "present",
|
|
963
963
|
ref: l,
|
|
964
964
|
class: S(t.class),
|
|
@@ -986,7 +986,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
986
986
|
_: 3
|
|
987
987
|
}, 8, ["class", "placement", "backdrop", "visible", "keepalive", "style"]));
|
|
988
988
|
}
|
|
989
|
-
}),
|
|
989
|
+
}), wt = /* @__PURE__ */ g($t, [["__scopeId", "data-v-6f7063f0"]]), xt = { class: "t-input-label" }, Tt = { class: "t-input-content" }, St = ["placeholder", "value", "type", "readonly"], Bt = /* @__PURE__ */ h({
|
|
990
990
|
__name: "t-input",
|
|
991
991
|
props: {
|
|
992
992
|
size: { default: "standard" },
|
|
@@ -1022,21 +1022,21 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
1022
1022
|
}])
|
|
1023
1023
|
}, [
|
|
1024
1024
|
$("label", null, [
|
|
1025
|
-
$("span",
|
|
1026
|
-
$("div",
|
|
1025
|
+
$("span", xt, R(i.label), 1),
|
|
1026
|
+
$("div", Tt, [
|
|
1027
1027
|
b(i.$slots, "start", {}, void 0, !0),
|
|
1028
1028
|
$("input", {
|
|
1029
1029
|
ref_key: "editable",
|
|
1030
1030
|
ref: l,
|
|
1031
1031
|
class: "t-input-editable",
|
|
1032
|
-
contenteditable: "true",
|
|
1033
1032
|
placeholder: i.placeholder,
|
|
1034
1033
|
value: i.modelValue,
|
|
1034
|
+
type: i.type,
|
|
1035
1035
|
onInput: a,
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
}, null, 40,
|
|
1036
|
+
onFocus: f,
|
|
1037
|
+
onBlur: y,
|
|
1038
|
+
readonly: i.readonly
|
|
1039
|
+
}, null, 40, St),
|
|
1040
1040
|
b(i.$slots, "end", {}, void 0, !0)
|
|
1041
1041
|
])
|
|
1042
1042
|
]),
|
|
@@ -1045,7 +1045,7 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
1045
1045
|
color: "danger"
|
|
1046
1046
|
}, {
|
|
1047
1047
|
default: V(() => [
|
|
1048
|
-
|
|
1048
|
+
N(R(i.error), 1)
|
|
1049
1049
|
]),
|
|
1050
1050
|
_: 1
|
|
1051
1051
|
})) : i.help ? (c(), E(oe, {
|
|
@@ -1053,29 +1053,29 @@ const _e = /* @__PURE__ */ g(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c
|
|
|
1053
1053
|
color: "secondary"
|
|
1054
1054
|
}, {
|
|
1055
1055
|
default: V(() => [
|
|
1056
|
-
|
|
1056
|
+
N(R(i.help), 1)
|
|
1057
1057
|
]),
|
|
1058
1058
|
_: 1
|
|
1059
1059
|
})) : I("", !0)
|
|
1060
1060
|
], 2));
|
|
1061
1061
|
}
|
|
1062
|
-
}),
|
|
1063
|
-
function
|
|
1062
|
+
}), zt = /* @__PURE__ */ g(Bt, [["__scopeId", "data-v-11ddaa71"]]), It = {};
|
|
1063
|
+
function Ct(e, o) {
|
|
1064
1064
|
return c(), p("textarea");
|
|
1065
1065
|
}
|
|
1066
|
-
const
|
|
1067
|
-
function
|
|
1066
|
+
const Et = /* @__PURE__ */ g(It, [["render", Ct]]), Vt = {};
|
|
1067
|
+
function Pt(e, o) {
|
|
1068
1068
|
return c(), p("div");
|
|
1069
1069
|
}
|
|
1070
|
-
const
|
|
1070
|
+
const Rt = /* @__PURE__ */ g(Vt, [["render", Pt]]), At = {}, Xt = { class: "t-grid" };
|
|
1071
1071
|
function Ot(e, o) {
|
|
1072
|
-
return c(), p("div",
|
|
1072
|
+
return c(), p("div", Xt);
|
|
1073
1073
|
}
|
|
1074
|
-
const
|
|
1074
|
+
const Dt = /* @__PURE__ */ g(At, [["render", Ot]]), Wt = {}, Nt = { class: "t-grid-item" };
|
|
1075
1075
|
function qt(e, o) {
|
|
1076
1076
|
return c(), p("div", Nt);
|
|
1077
1077
|
}
|
|
1078
|
-
const
|
|
1078
|
+
const Mt = /* @__PURE__ */ g(Wt, [["render", qt]]), Lt = /* @__PURE__ */ h({
|
|
1079
1079
|
__name: "t-divider",
|
|
1080
1080
|
props: {
|
|
1081
1081
|
direction: { default: "horizontal" }
|
|
@@ -1086,7 +1086,7 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1086
1086
|
class: S(["t-divider", { [o.direction]: !0 }])
|
|
1087
1087
|
}, null, 2));
|
|
1088
1088
|
}
|
|
1089
|
-
}),
|
|
1089
|
+
}), Ht = /* @__PURE__ */ g(Lt, [["__scopeId", "data-v-47ee8991"]]), Ft = /* @__PURE__ */ h({
|
|
1090
1090
|
__name: "t-toggle-password",
|
|
1091
1091
|
props: {
|
|
1092
1092
|
color: { default: "warning" }
|
|
@@ -1122,7 +1122,7 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1122
1122
|
], !0)
|
|
1123
1123
|
], 4));
|
|
1124
1124
|
}
|
|
1125
|
-
}),
|
|
1125
|
+
}), Gt = /* @__PURE__ */ g(Ft, [["__scopeId", "data-v-3268e9e3"]]), Ut = /* @__PURE__ */ h({
|
|
1126
1126
|
__name: "t-avatar",
|
|
1127
1127
|
props: {
|
|
1128
1128
|
square: { type: Boolean, default: !1 },
|
|
@@ -1137,13 +1137,13 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1137
1137
|
b(s.$slots, "default", {}, void 0, !0)
|
|
1138
1138
|
], 6));
|
|
1139
1139
|
}
|
|
1140
|
-
}),
|
|
1140
|
+
}), jt = /* @__PURE__ */ g(Ut, [["__scopeId", "data-v-24384c2f"]]), Kt = { class: "t-collapse-title" }, Jt = {
|
|
1141
1141
|
key: 0,
|
|
1142
1142
|
class: "icon"
|
|
1143
|
-
},
|
|
1143
|
+
}, Qt = {
|
|
1144
1144
|
key: 1,
|
|
1145
1145
|
class: "icon"
|
|
1146
|
-
},
|
|
1146
|
+
}, Zt = { class: "t-collapse-content" }, Yt = /* @__PURE__ */ h({
|
|
1147
1147
|
__name: "t-collapse",
|
|
1148
1148
|
props: {
|
|
1149
1149
|
title: {}
|
|
@@ -1162,20 +1162,20 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1162
1162
|
onClick: a
|
|
1163
1163
|
}, [
|
|
1164
1164
|
b(f.$slots, "icon"),
|
|
1165
|
-
$("div",
|
|
1165
|
+
$("div", Kt, [
|
|
1166
1166
|
b(f.$slots, "title", {}, () => [
|
|
1167
|
-
|
|
1167
|
+
N(R(t.title), 1)
|
|
1168
1168
|
])
|
|
1169
1169
|
]),
|
|
1170
1170
|
b(f.$slots, "toggle", {}, () => [
|
|
1171
|
-
r.value ? (c(), p("div",
|
|
1171
|
+
r.value ? (c(), p("div", Jt, [...y[0] || (y[0] = [
|
|
1172
1172
|
$("i", { class: "ri-arrow-up-s-line" }, null, -1)
|
|
1173
|
-
])])) : (c(), p("div",
|
|
1173
|
+
])])) : (c(), p("div", Qt, [...y[1] || (y[1] = [
|
|
1174
1174
|
$("i", { class: "ri-arrow-down-s-line" }, null, -1)
|
|
1175
1175
|
])]))
|
|
1176
1176
|
])
|
|
1177
1177
|
]),
|
|
1178
|
-
$("div",
|
|
1178
|
+
$("div", Zt, [
|
|
1179
1179
|
$("div", {
|
|
1180
1180
|
ref_key: "content",
|
|
1181
1181
|
ref: d
|
|
@@ -1187,7 +1187,7 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1187
1187
|
])
|
|
1188
1188
|
], 6));
|
|
1189
1189
|
}
|
|
1190
|
-
}),
|
|
1190
|
+
}), eo = /* @__PURE__ */ h({
|
|
1191
1191
|
__name: "t-switch",
|
|
1192
1192
|
props: {
|
|
1193
1193
|
modelValue: { type: Boolean },
|
|
@@ -1215,7 +1215,7 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1215
1215
|
$("div", { class: "t-switch-icon" }, null, -1)
|
|
1216
1216
|
])], 6));
|
|
1217
1217
|
}
|
|
1218
|
-
}),
|
|
1218
|
+
}), to = /* @__PURE__ */ g(eo, [["__scopeId", "data-v-3616970e"]]), oo = /* @__PURE__ */ h({
|
|
1219
1219
|
__name: "t-tab",
|
|
1220
1220
|
props: {
|
|
1221
1221
|
value: {},
|
|
@@ -1241,7 +1241,7 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1241
1241
|
}, 8, ["size", "color"])
|
|
1242
1242
|
], 2));
|
|
1243
1243
|
}
|
|
1244
|
-
}),
|
|
1244
|
+
}), so = /* @__PURE__ */ g(oo, [["__scopeId", "data-v-4b7f4e98"]]), ro = /* @__PURE__ */ h({
|
|
1245
1245
|
__name: "t-tabs",
|
|
1246
1246
|
props: {
|
|
1247
1247
|
placement: { default: "top-start" },
|
|
@@ -1304,7 +1304,7 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1304
1304
|
setValue: (n) => {
|
|
1305
1305
|
s("update:modelValue", n);
|
|
1306
1306
|
}
|
|
1307
|
-
}),
|
|
1307
|
+
}), O(() => t.modelValue, async () => {
|
|
1308
1308
|
await ae(), i();
|
|
1309
1309
|
}), G(async () => {
|
|
1310
1310
|
await ae(), i();
|
|
@@ -1317,7 +1317,7 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1317
1317
|
b(n.$slots, "default", {}, void 0, !0)
|
|
1318
1318
|
], 6));
|
|
1319
1319
|
}
|
|
1320
|
-
}),
|
|
1320
|
+
}), no = /* @__PURE__ */ g(ro, [["__scopeId", "data-v-8d370631"]]), ao = /* @__PURE__ */ h({
|
|
1321
1321
|
__name: "t-loading-app",
|
|
1322
1322
|
setup(e) {
|
|
1323
1323
|
return (o, t) => (c(), E(ye, null, {
|
|
@@ -1327,10 +1327,10 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1327
1327
|
_: 1
|
|
1328
1328
|
}));
|
|
1329
1329
|
}
|
|
1330
|
-
}),
|
|
1330
|
+
}), lo = /* @__PURE__ */ g(ao, [["__scopeId", "data-v-1436aa9f"]]), co = { key: 0 }, io = {
|
|
1331
1331
|
key: 0,
|
|
1332
1332
|
class: "t-checkbox-label"
|
|
1333
|
-
},
|
|
1333
|
+
}, uo = /* @__PURE__ */ h({
|
|
1334
1334
|
__name: "t-checkbox",
|
|
1335
1335
|
props: {
|
|
1336
1336
|
label: { default: "" },
|
|
@@ -1366,17 +1366,17 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1366
1366
|
$("div", {
|
|
1367
1367
|
class: S(`t-checkbox-${a.type}`)
|
|
1368
1368
|
}, [
|
|
1369
|
-
a.type == "radio" ? (c(), p("div",
|
|
1369
|
+
a.type == "radio" ? (c(), p("div", co)) : I("", !0),
|
|
1370
1370
|
a.type == "check" ? b(a.$slots, "icon", { key: 1 }, () => [
|
|
1371
1371
|
f[0] || (f[0] = $("i", { class: "ri-check-line" }, null, -1))
|
|
1372
1372
|
], !0) : I("", !0)
|
|
1373
1373
|
], 2),
|
|
1374
1374
|
b(a.$slots, "label", {}, () => [
|
|
1375
|
-
a.label ? (c(), p("span",
|
|
1375
|
+
a.label ? (c(), p("span", io, R(t.label), 1)) : I("", !0)
|
|
1376
1376
|
], !0)
|
|
1377
1377
|
], 6));
|
|
1378
1378
|
}
|
|
1379
|
-
}),
|
|
1379
|
+
}), po = /* @__PURE__ */ g(uo, [["__scopeId", "data-v-0e13abc3"]]), fo = /* @__PURE__ */ h({
|
|
1380
1380
|
__name: "t-keyboard-space",
|
|
1381
1381
|
setup(e) {
|
|
1382
1382
|
const { height: o } = ve();
|
|
@@ -1385,7 +1385,7 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1385
1385
|
style: x({ "--height": A(o) + "px" })
|
|
1386
1386
|
}, null, 4));
|
|
1387
1387
|
}
|
|
1388
|
-
}),
|
|
1388
|
+
}), mo = /* @__PURE__ */ g(fo, [["__scopeId", "data-v-4b06018d"]]), vo = /* @__PURE__ */ h({
|
|
1389
1389
|
__name: "t-skeleton",
|
|
1390
1390
|
props: {
|
|
1391
1391
|
width: { default: "100%" },
|
|
@@ -1404,7 +1404,7 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1404
1404
|
style: x(t.value)
|
|
1405
1405
|
}, null, 4));
|
|
1406
1406
|
}
|
|
1407
|
-
}),
|
|
1407
|
+
}), yo = /* @__PURE__ */ g(vo, [["__scopeId", "data-v-877bbdb5"]]), _o = /* @__PURE__ */ h({
|
|
1408
1408
|
__name: "t-ripple",
|
|
1409
1409
|
props: {
|
|
1410
1410
|
color: { default: "primary" }
|
|
@@ -1425,20 +1425,20 @@ const Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
|
|
|
1425
1425
|
style: x(t.value)
|
|
1426
1426
|
}, null, 4));
|
|
1427
1427
|
}
|
|
1428
|
-
}),
|
|
1428
|
+
}), go = /* @__PURE__ */ g(_o, [["__scopeId", "data-v-42cb3d71"]]), So = () => ({
|
|
1429
1429
|
install: (e) => {
|
|
1430
|
-
|
|
1430
|
+
Te(), e.component("t-app", Ie), e.component("t-screen", _e), e.component("t-swipe-screen", vt), e.component("t-cable", rt), e.component("t-toolbar", _t), e.component("t-content", ye), e.component("t-card", nt), e.component("t-refresher", ut), e.component("t-button", Q), e.component("t-back-button", bt), e.component("t-present", M), e.component("t-text", oe), e.component("t-sheet", wt), e.component("t-gesture-indicator", ge), e.component("t-input", zt), e.component("t-textarea", Et), e.component("t-rich-text", Rt), e.component("t-grid", Dt), e.component("t-grid-item", Mt), e.component("t-divider", Ht), e.component("t-toggle-password", Gt), e.component("t-loading-icon", J), e.component("t-alert", pe), e.component("t-avatar", jt), e.component("t-collapse", Yt), e.component("t-toast", me), e.component("t-switch", to), e.component("t-tab", so), e.component("t-tabs", no), e.component("t-loading-app", lo), e.component("t-checkbox", po), e.component("t-keyboard-space", mo), e.component("t-skeleton", yo), e.component("t-ripple", go);
|
|
1431
1431
|
}
|
|
1432
1432
|
});
|
|
1433
1433
|
export {
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1434
|
+
xe as blurCurrentActive,
|
|
1435
|
+
wo as createAction,
|
|
1436
|
+
$o as createAlert,
|
|
1437
|
+
xo as createLoading,
|
|
1438
|
+
To as createToast,
|
|
1439
|
+
So as createToife,
|
|
1440
|
+
we as isFormElement,
|
|
1441
|
+
He as presentController,
|
|
1442
1442
|
T as screenController,
|
|
1443
1443
|
ve as useKeyboard
|
|
1444
1444
|
};
|