@toife/vue 1.1.25 → 1.1.27

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