@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.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 D, 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 M, 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, withModifiers as $e, nextTick as ae } from "vue";
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 we } from "vue-router";
4
- const xe = (e) => e && (e.tagName == "INPUT" || e.tagName == "TEXTAREA" || e.isContentEditable), Te = () => {
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
- }, Se = () => {
7
+ }, Te = () => {
8
8
  document.addEventListener("contextmenu", (e) => e.preventDefault()), document.addEventListener("pointerup", (e) => {
9
- !xe(e.target) && Te();
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
- }, Be = {}, ze = { class: "t-app" };
17
- function Ie(e, o) {
18
- return c(), p("div", ze, [
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 Ce = /* @__PURE__ */ g(Be, [["render", Ie]]), Ee = /* @__PURE__ */ h({
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", O = "1";
50
- a.placement == "bottom" || a.placement == "right" ? m = "100%" : a.placement == "top" || a.placement == "left" ? m = "-100%" : a.placement == "center" && (m = "0px", O = "0"), n({
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: O,
53
+ contentOpacity: D,
54
54
  backdropOpacity: "0"
55
55
  });
56
56
  };
57
- D(() => a.visible, () => {
58
- a.visible ? (r.value = !0, s.value = Fe.getNewIndex(), setTimeout(() => {
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, O) => (c(), p(W, null, [
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
- }), q = /* @__PURE__ */ g(Ee, [["__scopeId", "data-v-1b25059f"]]), Ve = /* @__PURE__ */ h({
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(Ve, [["__scopeId", "data-v-7c463303"]]), Pe = { class: "t-button-content" }, Re = {
121
+ }), J = /* @__PURE__ */ g(Ee, [["__scopeId", "data-v-7c463303"]]), Ve = { class: "t-button-content" }, Pe = {
122
122
  key: 0,
123
123
  class: "loader"
124
- }, Ae = /* @__PURE__ */ h({
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", Pe, [
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", Re, [
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(Ae, [["__scopeId", "data-v-185a9e49"]]), Xe = {
194
+ }), Q = /* @__PURE__ */ g(Re, [["__scopeId", "data-v-185a9e49"]]), Ae = {
195
195
  key: 0,
196
196
  class: "t-alert-header"
197
- }, De = { class: "t-alert-content" }, Oe = { class: "t-alert-footer" }, We = /* @__PURE__ */ h({
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(q, {
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", Xe, R(s.title), 1)) : I("", !0)
232
+ s.title ? (c(), p("div", Ae, R(s.title), 1)) : I("", !0)
233
233
  ], !0),
234
234
  b(n.$slots, "content", {}, () => [
235
- $("div", De, R(s.message), 1)
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
- M(R(_.text), 1)
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(We, [["__scopeId", "data-v-05d0c578"]]), wo = (e = {}) => ({
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
- }), Me = /* @__PURE__ */ h({
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 D(() => s.visible, (n) => {
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(q, {
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
- M(R(k.text), 1)
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(Me, [["__scopeId", "data-v-844fb240"]]), xo = (e = {}) => ({
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" }, Le = /* @__PURE__ */ h({
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(q, {
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
- }), He = /* @__PURE__ */ g(Le, [["__scopeId", "data-v-8f84c14e"]]), To = (e = {}) => {
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(He, {
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), Fe = {
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]), N = w(() => X[P.value + 1] || void 0), C = w(() => X[X.length - 2]), fe = w(() => !z.value && Z.value && C.value), Y = {
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 (!N.value) return;
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 = N.value.target;
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 (!N.value) return;
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 = N.value.target;
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
- }, Ge = (e) => {
487
+ }, Fe = (e) => {
488
488
  X.push(e);
489
- }, Ue = (e, o) => {
489
+ }, Ge = (e, o) => {
490
490
  X[e].target = o;
491
491
  }, ne = (e) => {
492
492
  e || X.pop();
493
- }, je = () => {
493
+ }, Ue = () => {
494
494
  X.splice(0, X.length);
495
- }, Ke = () => {
495
+ }, je = () => {
496
496
  Z.value = !1;
497
- }, Je = () => {
497
+ }, Ke = () => {
498
498
  Z.value = !0;
499
- }, Qe = (e, o) => {
499
+ }, Je = (e, o) => {
500
500
  e == "scale" && Y.next(o), e == "transform" && ee.next(o);
501
- }, Ze = (e, o) => {
501
+ }, Qe = (e, o) => {
502
502
  e == "scale" && Y.back(o), e == "transform" && ee.back(o);
503
- }, Ye = (e, o) => {
503
+ }, Ze = (e, o) => {
504
504
  e == "scale" && Y.move(o), e == "transform" && ee.move(o);
505
- }, et = (e) => {
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: et,
511
- next: Qe,
512
- back: Ze,
513
- move: Ye,
510
+ reset: Ye,
511
+ next: Je,
512
+ back: Qe,
513
+ move: Ze,
514
514
  screens: X,
515
- addScreen: Ge,
516
- addScreenEl: Ue,
515
+ addScreen: Fe,
516
+ addScreenEl: Ge,
517
517
  removeScreen: ne,
518
- removeAllScreen: je,
519
- lockSwipe: Ke,
520
- unlockSwipe: Je,
518
+ removeAllScreen: Ue,
519
+ lockSwipe: je,
520
+ unlockSwipe: Ke,
521
521
  swipeable: Z,
522
522
  currentScreen: B,
523
523
  lastScreen: C,
524
- nextScreen: N
525
- }, tt = { class: "t-toast-content" }, ot = /* @__PURE__ */ h({
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
- D(() => s.visible, (n) => {
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", tt, R(s.message), 1)
598
+ $("div", et, R(s.message), 1)
599
599
  ], !0)
600
600
  ], 6)) : I("", !0);
601
601
  }
602
- }), me = /* @__PURE__ */ g(ot, [["__scopeId", "data-v-2802d43f"]]), So = (e = {}) => ({
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
- }), st = v(0);
627
+ }), ot = v(0);
628
628
  function ve() {
629
629
  return {
630
- height: st
630
+ height: ot
631
631
  };
632
632
  }
633
- const rt = /* @__PURE__ */ h({
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
- }), nt = /* @__PURE__ */ g(rt, [["__scopeId", "data-v-6cae224b"]]), at = /* @__PURE__ */ h({
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
- }), lt = {}, ct = { class: "t-content" };
674
- function it(e, o) {
675
- return c(), p("div", ct, [
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(lt, [["render", it], ["__scopeId", "data-v-af750e89"]]), ut = /* @__PURE__ */ h({
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 D(() => d.value, () => {
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
- minDist: 60
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
- }), dt = /* @__PURE__ */ g(ut, [["__scopeId", "data-v-1d52477a"]]), pt = {}, ft = { class: "t-screen" };
741
- function mt(e, o) {
742
- return c(), p("div", ft, [
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(pt, [["render", mt], ["__scopeId", "data-v-c2a3436c"]]), vt = /* @__PURE__ */ h({
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 || we(), f = d.getRoutes();
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 D(() => a.name, (n, u) => {
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
- }), yt = /* @__PURE__ */ g(vt, [["__scopeId", "data-v-23e0cfda"]]), _t = /* @__PURE__ */ h({
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
- }), gt = /* @__PURE__ */ g(_t, [["__scopeId", "data-v-1ee9866d"]]), bt = /* @__PURE__ */ h({
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
- }), ht = /* @__PURE__ */ g(bt, [["__scopeId", "data-v-dcf9d363"]]), kt = /* @__PURE__ */ h({
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(kt, [["__scopeId", "data-v-f0f94f05"]]), $t = /* @__PURE__ */ h({
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($t, [["__scopeId", "data-v-ed8f7308"]]), wt = /* @__PURE__ */ h({
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 D(() => r.value, (n) => {
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, O, te;
953
- t.placement == "bottom" || t.placement == "top" ? (m = r.value.offsetHeight, te = u) : (m = r.value.offsetWidth, te = _), O = te / m * 100, O > 50 ? s("dismiss", "gesture") : l.value.open();
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(q, {
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
- }), xt = /* @__PURE__ */ g(wt, [["__scopeId", "data-v-6f7063f0"]]), Tt = { class: "t-input-label" }, St = { class: "t-input-content" }, Bt = ["placeholder", "value"], zt = /* @__PURE__ */ h({
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", Tt, R(i.label), 1),
1026
- $("div", St, [
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
- onTouchstart: $e(f, ["prevent"]),
1037
- onMousedown: f,
1038
- onBlur: y
1039
- }, null, 40, Bt),
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
- M(R(i.error), 1)
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
- M(R(i.help), 1)
1056
+ N(R(i.help), 1)
1057
1057
  ]),
1058
1058
  _: 1
1059
1059
  })) : I("", !0)
1060
1060
  ], 2));
1061
1061
  }
1062
- }), It = /* @__PURE__ */ g(zt, [["__scopeId", "data-v-d9a83433"]]), Ct = {};
1063
- function Et(e, o) {
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 Vt = /* @__PURE__ */ g(Ct, [["render", Et]]), Pt = {};
1067
- function Rt(e, o) {
1066
+ const Et = /* @__PURE__ */ g(It, [["render", Ct]]), Vt = {};
1067
+ function Pt(e, o) {
1068
1068
  return c(), p("div");
1069
1069
  }
1070
- const At = /* @__PURE__ */ g(Pt, [["render", Rt]]), Xt = {}, Dt = { class: "t-grid" };
1070
+ const Rt = /* @__PURE__ */ g(Vt, [["render", Pt]]), At = {}, Xt = { class: "t-grid" };
1071
1071
  function Ot(e, o) {
1072
- return c(), p("div", Dt);
1072
+ return c(), p("div", Xt);
1073
1073
  }
1074
- const Wt = /* @__PURE__ */ g(Xt, [["render", Ot]]), Mt = {}, Nt = { class: "t-grid-item" };
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 Lt = /* @__PURE__ */ g(Mt, [["render", qt]]), Ht = /* @__PURE__ */ h({
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
- }), Ft = /* @__PURE__ */ g(Ht, [["__scopeId", "data-v-47ee8991"]]), Gt = /* @__PURE__ */ h({
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
- }), Ut = /* @__PURE__ */ g(Gt, [["__scopeId", "data-v-3268e9e3"]]), jt = /* @__PURE__ */ h({
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
- }), Kt = /* @__PURE__ */ g(jt, [["__scopeId", "data-v-24384c2f"]]), Jt = { class: "t-collapse-title" }, Qt = {
1140
+ }), jt = /* @__PURE__ */ g(Ut, [["__scopeId", "data-v-24384c2f"]]), Kt = { class: "t-collapse-title" }, Jt = {
1141
1141
  key: 0,
1142
1142
  class: "icon"
1143
- }, Zt = {
1143
+ }, Qt = {
1144
1144
  key: 1,
1145
1145
  class: "icon"
1146
- }, Yt = { class: "t-collapse-content" }, eo = /* @__PURE__ */ h({
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", Jt, [
1165
+ $("div", Kt, [
1166
1166
  b(f.$slots, "title", {}, () => [
1167
- M(R(t.title), 1)
1167
+ N(R(t.title), 1)
1168
1168
  ])
1169
1169
  ]),
1170
1170
  b(f.$slots, "toggle", {}, () => [
1171
- r.value ? (c(), p("div", Qt, [...y[0] || (y[0] = [
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", Zt, [...y[1] || (y[1] = [
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", Yt, [
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
- }), to = /* @__PURE__ */ h({
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
- }), oo = /* @__PURE__ */ g(to, [["__scopeId", "data-v-3616970e"]]), so = /* @__PURE__ */ h({
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
- }), ro = /* @__PURE__ */ g(so, [["__scopeId", "data-v-4b7f4e98"]]), no = /* @__PURE__ */ h({
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
- }), D(() => t.modelValue, async () => {
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
- }), ao = /* @__PURE__ */ g(no, [["__scopeId", "data-v-8d370631"]]), lo = /* @__PURE__ */ h({
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
- }), co = /* @__PURE__ */ g(lo, [["__scopeId", "data-v-1436aa9f"]]), io = { key: 0 }, uo = {
1330
+ }), lo = /* @__PURE__ */ g(ao, [["__scopeId", "data-v-1436aa9f"]]), co = { key: 0 }, io = {
1331
1331
  key: 0,
1332
1332
  class: "t-checkbox-label"
1333
- }, po = /* @__PURE__ */ h({
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", io)) : I("", !0),
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", uo, R(t.label), 1)) : I("", !0)
1375
+ a.label ? (c(), p("span", io, R(t.label), 1)) : I("", !0)
1376
1376
  ], !0)
1377
1377
  ], 6));
1378
1378
  }
1379
- }), fo = /* @__PURE__ */ g(po, [["__scopeId", "data-v-0e13abc3"]]), mo = /* @__PURE__ */ h({
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
- }), vo = /* @__PURE__ */ g(mo, [["__scopeId", "data-v-4b06018d"]]), yo = /* @__PURE__ */ h({
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
- }), _o = /* @__PURE__ */ g(yo, [["__scopeId", "data-v-877bbdb5"]]), go = /* @__PURE__ */ h({
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
- }), bo = /* @__PURE__ */ g(go, [["__scopeId", "data-v-42cb3d71"]]), Bo = () => ({
1428
+ }), go = /* @__PURE__ */ g(_o, [["__scopeId", "data-v-42cb3d71"]]), So = () => ({
1429
1429
  install: (e) => {
1430
- Se(), e.component("t-app", Ce), e.component("t-screen", _e), e.component("t-swipe-screen", yt), e.component("t-cable", nt), e.component("t-toolbar", gt), e.component("t-content", ye), e.component("t-card", at), e.component("t-refresher", dt), e.component("t-button", Q), e.component("t-back-button", ht), e.component("t-present", q), e.component("t-text", oe), e.component("t-sheet", xt), e.component("t-gesture-indicator", ge), e.component("t-input", It), e.component("t-textarea", Vt), e.component("t-rich-text", At), e.component("t-grid", Wt), e.component("t-grid-item", Lt), e.component("t-divider", Ft), e.component("t-toggle-password", Ut), e.component("t-loading-icon", J), e.component("t-alert", pe), e.component("t-avatar", Kt), e.component("t-collapse", eo), e.component("t-toast", me), e.component("t-switch", oo), e.component("t-tab", ro), e.component("t-tabs", ao), e.component("t-loading-app", co), e.component("t-checkbox", fo), e.component("t-keyboard-space", vo), e.component("t-skeleton", _o), e.component("t-ripple", bo);
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
- Te as blurCurrentActive,
1435
- xo as createAction,
1436
- wo as createAlert,
1437
- To as createLoading,
1438
- So as createToast,
1439
- Bo as createToife,
1440
- xe as isFormElement,
1441
- Fe as presentController,
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
  };