@toife/vue 1.0.13 → 1.0.15

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 f, openBlock as c, renderSlot as b, defineComponent as T, ref as v, computed as z, reactive as Z, watch as D, onUnmounted as O, Fragment as A, withDirectives as Y, createCommentVNode as S, normalizeStyle as I, normalizeClass as x, vShow as U, createElementVNode as $, createVNode as ee, createBlock as E, withCtx as P, toDisplayString as B, renderList as W, createTextVNode as q, createApp as F, h as G, unref as R, onMounted as te, resolveDynamicComponent as le, markRaw as ce } from "vue";
1
+ import { createElementBlock as f, openBlock as c, renderSlot as b, defineComponent as T, ref as v, computed as S, reactive as Z, watch as D, onUnmounted as A, Fragment as V, withDirectives as Y, createCommentVNode as E, normalizeStyle as I, normalizeClass as x, vShow as U, createElementVNode as k, createVNode as ee, createBlock as z, withCtx as P, toDisplayString as B, renderList as W, createTextVNode as X, createApp as F, h as G, unref as R, onMounted as te, resolveDynamicComponent as le, markRaw as ce } from "vue";
2
2
  import { gesture as N } from "@toife/gesture";
3
3
  import { useRouter as ne, useRoute as ie } from "vue-router";
4
- const L = (e) => e && (e.tagName == "INPUT" || e.tagName == "TEXTAREA" || e.isContentEditable), X = () => {
4
+ const O = (e) => e && (e.tagName == "INPUT" || e.tagName == "TEXTAREA" || e.isContentEditable), L = () => {
5
5
  const e = document.activeElement;
6
6
  e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable) && e.blur();
7
7
  }, ue = () => {
8
8
  document.addEventListener("contextmenu", (e) => e.preventDefault()), document.addEventListener("dblclick", (e) => e.preventDefault()), document.addEventListener("selectstart", (e) => e.preventDefault()), document.addEventListener("gesturestart", (e) => e.preventDefault()), document.addEventListener("pointerup", (e) => {
9
- !L(e.target) && X();
9
+ !O(e.target) && L();
10
10
  });
11
- }, g = (e, n) => {
12
- const o = e.__vccOpts || e;
13
- for (const [t, r] of n)
14
- o[t] = r;
15
- return o;
11
+ }, y = (e, o) => {
12
+ const t = e.__vccOpts || e;
13
+ for (const [n, s] of o)
14
+ t[n] = s;
15
+ return t;
16
16
  }, de = {}, pe = { class: "t-app" };
17
- function fe(e, n) {
17
+ function fe(e, o) {
18
18
  return c(), f("div", pe, [
19
19
  b(e.$slots, "default")
20
20
  ]);
21
21
  }
22
- const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
22
+ const me = /* @__PURE__ */ y(de, [["render", fe]]), ve = /* @__PURE__ */ T({
23
23
  __name: "t-present",
24
24
  props: {
25
25
  keepalive: { type: Boolean, default: !0 },
@@ -28,77 +28,77 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
28
28
  placement: { default: "bottom" }
29
29
  },
30
30
  emits: ["dismiss"],
31
- setup(e, { expose: n, emit: o }) {
32
- const t = v(0), r = v(!1), a = v(), l = v(), d = e, _ = o, p = z(() => r.value || d.keepalive), m = Z({
31
+ setup(e, { expose: o, emit: t }) {
32
+ const n = v(0), s = v(!1), a = v(), l = v(), i = e, _ = t, p = S(() => s.value || i.keepalive), m = Z({
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
- }), y = (i) => {
38
- d.backdrop ? i?.backdropOpacity && (m["--t-present-backdrop-opacity"] = i.backdropOpacity) : m["--t-present-backdrop-opacity"] = "0", i?.transition && (m["--t-present-transition"] = i.transition, m["--t-present-transition"] = i.transition), i?.contentTransform && (m["--t-present-content-transform"] = i.contentTransform), i?.contentOpacity && (m["--t-present-content-opacity"] = i.contentOpacity);
39
- }, s = () => {
40
- y({
37
+ }), g = (u) => {
38
+ i.backdrop ? u?.backdropOpacity && (m["--t-present-backdrop-opacity"] = u.backdropOpacity) : m["--t-present-backdrop-opacity"] = "0", u?.transition && (m["--t-present-transition"] = u.transition, m["--t-present-transition"] = u.transition), u?.contentTransform && (m["--t-present-content-transform"] = u.contentTransform), u?.contentOpacity && (m["--t-present-content-opacity"] = u.contentOpacity);
39
+ }, r = () => {
40
+ g({
41
41
  contentTransform: "0px",
42
42
  transition: "0.2s",
43
43
  backdropOpacity: "0.4",
44
44
  contentOpacity: "1"
45
45
  });
46
- }, u = () => {
47
- let i = "0px", w = "1";
48
- d.placement == "bottom" || d.placement == "right" ? i = "100%" : d.placement == "top" || d.placement == "left" ? i = "-100%" : d.placement == "center" && (i = "0px", w = "0"), y({
49
- contentTransform: i,
46
+ }, d = () => {
47
+ let u = "0px", w = "1";
48
+ i.placement == "bottom" || i.placement == "right" ? u = "100%" : i.placement == "top" || i.placement == "left" ? u = "-100%" : i.placement == "center" && (u = "0px", w = "0"), g({
49
+ contentTransform: u,
50
50
  transition: "0.2s",
51
51
  contentOpacity: w,
52
52
  backdropOpacity: "0"
53
53
  });
54
54
  };
55
- D(() => d.visible, () => {
56
- d.visible ? (r.value = !0, t.value = Se.getNewIndex(), setTimeout(() => {
57
- s();
58
- }, 50)) : (u(), setTimeout(() => {
59
- r.value = !1;
55
+ D(() => i.visible, () => {
56
+ i.visible ? (s.value = !0, n.value = Se.getNewIndex(), setTimeout(() => {
57
+ r();
58
+ }, 50)) : (d(), setTimeout(() => {
59
+ s.value = !1;
60
60
  }, 200));
61
- }), n({
62
- render: y,
63
- open: s,
64
- close: u
61
+ }), o({
62
+ render: g,
63
+ open: r,
64
+ close: d
65
65
  });
66
66
  let h;
67
- return D(() => a.value, (i) => {
68
- i && (h = N(a.value, {
67
+ return D(() => a.value, (u) => {
68
+ u && (h = N(a.value, {
69
69
  beforeEvent(w) {
70
- return w.stopPropagation(), L(w.target) || (w.preventDefault(), X()), w.type == "pointerup";
70
+ return w.stopPropagation(), O(w.target) || (w.preventDefault(), L()), w.type == "pointerup";
71
71
  },
72
72
  up() {
73
73
  _("dismiss", "backdrop");
74
74
  }
75
75
  }));
76
- }), O(() => {
76
+ }), A(() => {
77
77
  h && h.destroy();
78
- }), u(), (i, w) => (c(), f(A, null, [
78
+ }), d(), (u, w) => (c(), f(V, null, [
79
79
  p.value ? Y((c(), f("div", {
80
80
  key: 0,
81
- class: x(["t-present", { [i.placement]: !0 }]),
81
+ class: x(["t-present", { [u.placement]: !0 }]),
82
82
  ref_key: "present",
83
83
  ref: l,
84
- style: I({ ...m, zIndex: t.value })
84
+ style: I({ ...m, zIndex: n.value })
85
85
  }, [
86
- b(i.$slots, "default", {}, void 0, !0)
86
+ b(u.$slots, "default", {}, void 0, !0)
87
87
  ], 6)), [
88
- [U, r.value]
89
- ]) : S("", !0),
88
+ [U, s.value]
89
+ ]) : E("", !0),
90
90
  p.value ? Y((c(), f("div", {
91
91
  key: 1,
92
92
  class: "t-present-backdrop",
93
93
  ref_key: "backdrop",
94
94
  ref: a,
95
- style: I({ ...m, zIndex: t.value - 1 })
95
+ style: I({ ...m, zIndex: n.value - 1 })
96
96
  }, null, 4)), [
97
- [U, r.value]
98
- ]) : S("", !0)
97
+ [U, s.value]
98
+ ]) : E("", !0)
99
99
  ], 64));
100
100
  }
101
- }), V = /* @__PURE__ */ g(ve, [["__scopeId", "data-v-dc2a4bc9"]]), _e = /* @__PURE__ */ T({
101
+ }), q = /* @__PURE__ */ y(ve, [["__scopeId", "data-v-dc2a4bc9"]]), _e = /* @__PURE__ */ T({
102
102
  __name: "t-loading-icon",
103
103
  props: {
104
104
  size: {
@@ -111,7 +111,7 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
111
111
  }
112
112
  },
113
113
  setup(e) {
114
- return (n, o) => (c(), f("span", {
114
+ return (o, t) => (c(), f("span", {
115
115
  class: "t-loading-icon",
116
116
  style: I({
117
117
  width: e.size,
@@ -122,7 +122,7 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
122
122
  "aria-label": "Loading..."
123
123
  }, null, 4));
124
124
  }
125
- }), K = /* @__PURE__ */ g(_e, [["__scopeId", "data-v-7c463303"]]), ye = {
125
+ }), K = /* @__PURE__ */ y(_e, [["__scopeId", "data-v-7c463303"]]), ye = {
126
126
  key: 0,
127
127
  class: "loader"
128
128
  }, ge = /* @__PURE__ */ T({
@@ -138,37 +138,37 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
138
138
  activeBackground: { type: Boolean, default: !1 }
139
139
  },
140
140
  setup(e) {
141
- const n = e, o = z(() => {
142
- let t;
143
- return n.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(n.color) ? t = {
144
- "--color": "var(--t-color-status-" + n.color + "-text)",
145
- "--background-color": "var(--t-color-status-" + n.color + ")"
146
- } : t = {
141
+ const o = e, t = S(() => {
142
+ let n;
143
+ return o.color ? ["warning", "info", "danger", "primary", "secondary", "success"].includes(o.color) ? n = {
144
+ "--color": "var(--t-color-status-" + o.color + "-text)",
145
+ "--background-color": "var(--t-color-status-" + o.color + ")"
146
+ } : n = {
147
147
  "--color": "var(--t-color-text)",
148
- "--background-color": n.color
149
- } : t = {
148
+ "--background-color": o.color
149
+ } : n = {
150
150
  "--color": "var(--t-color-text)",
151
151
  "--background-color": "transparent"
152
- }, t;
152
+ }, n;
153
153
  });
154
- return (t, r) => (c(), f("button", {
155
- class: x(["t-button", { "active-background": n.activeBackground, rounded: n.rounded, block: n.block, ["size-" + n.size]: !0, ["variant-" + n.variant]: !0 }]),
156
- style: I(o.value)
154
+ return (n, s) => (c(), f("button", {
155
+ class: x(["t-button", { "active-background": o.activeBackground, rounded: o.rounded, block: o.block, ["size-" + o.size]: !0, ["variant-" + o.variant]: !0 }]),
156
+ style: I(t.value)
157
157
  }, [
158
- Y($("span", null, [
159
- b(t.$slots, "default", {}, void 0, !0)
158
+ Y(k("span", null, [
159
+ b(n.$slots, "default", {}, void 0, !0)
160
160
  ], 512), [
161
- [U, !n.loading]
161
+ [U, !o.loading]
162
162
  ]),
163
- n.loading ? (c(), f("span", ye, [
163
+ o.loading ? (c(), f("span", ye, [
164
164
  ee(K, {
165
165
  color: "var(--color)",
166
- type: n.loadingType
166
+ type: o.loadingType
167
167
  }, null, 8, ["type"])
168
- ])) : S("", !0)
168
+ ])) : E("", !0)
169
169
  ], 6));
170
170
  }
171
- }), M = /* @__PURE__ */ g(ge, [["__scopeId", "data-v-cdfe6af8"]]), he = {
171
+ }), M = /* @__PURE__ */ y(ge, [["__scopeId", "data-v-cdfe6af8"]]), he = {
172
172
  key: 0,
173
173
  class: "t-alert-header"
174
174
  }, be = { class: "t-alert-content" }, ke = { class: "t-alert-footer" }, $e = /* @__PURE__ */ T({
@@ -179,56 +179,56 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
179
179
  actions: {}
180
180
  },
181
181
  emits: ["close"],
182
- setup(e, { expose: n, emit: o }) {
183
- const t = e, r = v(!1), a = o, l = v();
184
- let d;
182
+ setup(e, { expose: o, emit: t }) {
183
+ const n = e, s = v(!1), a = t, l = v();
184
+ let i;
185
185
  const _ = v(!1), p = () => {
186
- r.value = !0;
187
- }, m = (s) => {
188
- r.value = !1, s.handler && s.handler(), a("close", s?.data);
189
- }, y = (s) => {
190
- s == "backdrop" && (_.value = !0, setTimeout(() => {
186
+ s.value = !0;
187
+ }, m = (r) => {
188
+ s.value = !1, r.handler && r.handler(), a("close", r?.data);
189
+ }, g = (r) => {
190
+ r == "backdrop" && (_.value = !0, setTimeout(() => {
191
191
  _.value = !1;
192
192
  }, 300));
193
193
  };
194
- return n({
194
+ return o({
195
195
  open: p
196
- }), D(() => l.value, (s) => {
197
- s && (d = N(l.value, {
198
- beforeEvent(u) {
199
- return u.stopPropagation(), L(u.target) || (u.preventDefault(), X()), !1;
196
+ }), D(() => l.value, (r) => {
197
+ r && (i = N(l.value, {
198
+ beforeEvent(d) {
199
+ return d.stopPropagation(), O(d.target) || (d.preventDefault(), L()), !1;
200
200
  }
201
201
  }));
202
- }), O(() => {
203
- d && d.destroy();
204
- }), (s, u) => (c(), E(V, {
202
+ }), A(() => {
203
+ i && i.destroy();
204
+ }), (r, d) => (c(), z(q, {
205
205
  placement: "center",
206
206
  backdrop: !0,
207
207
  keepalive: !1,
208
- visible: r.value,
209
- onDismiss: y
208
+ visible: s.value,
209
+ onDismiss: g
210
210
  }, {
211
211
  default: P(() => [
212
- $("div", {
212
+ k("div", {
213
213
  class: x(["t-alert", { pop: _.value }]),
214
214
  ref_key: "container",
215
215
  ref: l
216
216
  }, [
217
- b(s.$slots, "header", {}, () => [
218
- t.title ? (c(), f("div", he, B(t.title), 1)) : S("", !0)
217
+ b(r.$slots, "header", {}, () => [
218
+ n.title ? (c(), f("div", he, B(n.title), 1)) : E("", !0)
219
219
  ], !0),
220
- b(s.$slots, "content", {}, () => [
221
- $("div", be, B(t.message), 1)
220
+ b(r.$slots, "content", {}, () => [
221
+ k("div", be, B(n.message), 1)
222
222
  ], !0),
223
- b(s.$slots, "footer", {}, () => [
224
- $("div", ke, [
225
- (c(!0), f(A, null, W(t.actions, (h) => (c(), E(M, {
223
+ b(r.$slots, "footer", {}, () => [
224
+ k("div", ke, [
225
+ (c(!0), f(V, null, W(n.actions, (h) => (c(), z(M, {
226
226
  color: h.color,
227
227
  variant: h.variant,
228
- onClick: (i) => m(h)
228
+ onClick: (u) => m(h)
229
229
  }, {
230
230
  default: P(() => [
231
- q(B(h.text), 1)
231
+ X(B(h.text), 1)
232
232
  ]),
233
233
  _: 2
234
234
  }, 1032, ["color", "variant", "onClick"]))), 256))
@@ -239,28 +239,28 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
239
239
  _: 3
240
240
  }, 8, ["visible"]));
241
241
  }
242
- }), oe = /* @__PURE__ */ g($e, [["__scopeId", "data-v-0063c9df"]]), Ot = (e = {}) => ({
242
+ }), oe = /* @__PURE__ */ y($e, [["__scopeId", "data-v-5b4773ce"]]), Lt = (e = {}) => ({
243
243
  open() {
244
- return new Promise((n) => {
245
- let o = document.body.querySelector(".t-app");
246
- if (!o) return;
247
- const t = document.createElement("div"), r = v();
248
- o.appendChild(t);
244
+ return new Promise((o) => {
245
+ let t = document.body.querySelector(".t-app");
246
+ if (!t) return;
247
+ const n = document.createElement("div"), s = v();
248
+ t.appendChild(n);
249
249
  const a = F({
250
250
  render() {
251
251
  return G(oe, {
252
252
  ...e,
253
- ref: r,
253
+ ref: s,
254
254
  onClose: (l) => {
255
255
  setTimeout(() => {
256
- a.unmount(), t.remove();
257
- }, 300), n(l);
256
+ a.unmount(), n.remove();
257
+ }, 300), o(l);
258
258
  }
259
259
  });
260
260
  }
261
261
  });
262
- a.mount(t), setTimeout(() => {
263
- r.value?.open?.();
262
+ a.mount(n), setTimeout(() => {
263
+ s.value?.open?.();
264
264
  }, 50);
265
265
  });
266
266
  }
@@ -270,51 +270,51 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
270
270
  actions: {}
271
271
  },
272
272
  emits: ["close"],
273
- setup(e, { expose: n, emit: o }) {
274
- const t = e, r = v(!1), a = o, l = v();
275
- let d;
273
+ setup(e, { expose: o, emit: t }) {
274
+ const n = e, s = v(!1), a = t, l = v();
275
+ let i;
276
276
  const _ = v(!1), p = () => {
277
- r.value = !0;
278
- }, m = (s) => {
279
- r.value = !1, s.handler && s.handler(), a("close", s?.data);
280
- }, y = (s) => {
281
- s == "backdrop" && (_.value = !0, setTimeout(() => {
277
+ s.value = !0;
278
+ }, m = (r) => {
279
+ s.value = !1, r.handler && r.handler(), a("close", r?.data);
280
+ }, g = (r) => {
281
+ r == "backdrop" && (_.value = !0, setTimeout(() => {
282
282
  _.value = !1;
283
283
  }, 300));
284
284
  };
285
- return n({
285
+ return o({
286
286
  open: p
287
- }), D(() => l.value, (s) => {
288
- s && (d = N(l.value, {
289
- beforeEvent(u) {
290
- return u.stopPropagation(), L(u.target) || (u.preventDefault(), X()), !1;
287
+ }), D(() => l.value, (r) => {
288
+ r && (i = N(l.value, {
289
+ beforeEvent(d) {
290
+ return d.stopPropagation(), O(d.target) || (d.preventDefault(), L()), !1;
291
291
  }
292
292
  }));
293
- }), O(() => {
294
- d && d.destroy();
295
- }), (s, u) => (c(), E(V, {
293
+ }), A(() => {
294
+ i && i.destroy();
295
+ }), (r, d) => (c(), z(q, {
296
296
  placement: "bottom",
297
297
  backdrop: !0,
298
298
  keepalive: !1,
299
- visible: r.value,
300
- onDismiss: y
299
+ visible: s.value,
300
+ onDismiss: g
301
301
  }, {
302
302
  default: P(() => [
303
- $("div", {
303
+ k("div", {
304
304
  class: x(["t-action", { pop: _.value }]),
305
305
  ref_key: "container",
306
306
  ref: l
307
307
  }, [
308
- (c(!0), f(A, null, W(t.actions, (h) => (c(), f("div", null, [
309
- (c(!0), f(A, null, W(h, (i) => (c(), E(M, {
310
- color: i.color,
311
- size: i.size,
312
- variant: i.variant,
313
- onClick: (w) => m(i),
308
+ (c(!0), f(V, null, W(n.actions, (h) => (c(), f("div", null, [
309
+ (c(!0), f(V, null, W(h, (u) => (c(), z(M, {
310
+ color: u.color,
311
+ size: u.size,
312
+ variant: u.variant,
313
+ onClick: (w) => m(u),
314
314
  block: ""
315
315
  }, {
316
316
  default: P(() => [
317
- q(B(i.text), 1)
317
+ X(B(u.text), 1)
318
318
  ]),
319
319
  _: 2
320
320
  }, 1032, ["color", "size", "variant", "onClick"]))), 256))
@@ -324,28 +324,28 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
324
324
  _: 1
325
325
  }, 8, ["visible"]));
326
326
  }
327
- }), we = /* @__PURE__ */ g(Te, [["__scopeId", "data-v-42000b04"]]), Lt = (e = {}) => ({
327
+ }), we = /* @__PURE__ */ y(Te, [["__scopeId", "data-v-42000b04"]]), Xt = (e = {}) => ({
328
328
  open() {
329
- return new Promise((n) => {
330
- let o = document.body.querySelector(".t-app");
331
- if (!o) return;
332
- const t = document.createElement("div"), r = v();
333
- o.appendChild(t);
329
+ return new Promise((o) => {
330
+ let t = document.body.querySelector(".t-app");
331
+ if (!t) return;
332
+ const n = document.createElement("div"), s = v();
333
+ t.appendChild(n);
334
334
  const a = F({
335
335
  render() {
336
336
  return G(we, {
337
337
  ...e,
338
- ref: r,
338
+ ref: s,
339
339
  onClose: (l) => {
340
340
  setTimeout(() => {
341
- a.unmount(), t.remove();
342
- }, 300), n(l);
341
+ a.unmount(), n.remove();
342
+ }, 300), o(l);
343
343
  }
344
344
  });
345
345
  }
346
346
  });
347
- a.mount(t), setTimeout(() => {
348
- r.value?.open?.();
347
+ a.mount(n), setTimeout(() => {
348
+ s.value?.open?.();
349
349
  }, 50);
350
350
  });
351
351
  }
@@ -355,39 +355,39 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
355
355
  type: { default: "spinner" }
356
356
  },
357
357
  emits: ["close"],
358
- setup(e, { expose: n, emit: o }) {
359
- const t = e, r = v(!1), a = v();
358
+ setup(e, { expose: o, emit: t }) {
359
+ const n = e, s = v(!1), a = v();
360
360
  let l;
361
- return n({
361
+ return o({
362
362
  open: () => {
363
- r.value = !0;
363
+ s.value = !0;
364
364
  },
365
365
  close: () => {
366
- r.value = !1;
366
+ s.value = !1;
367
367
  }
368
368
  }), D(() => a.value, (p) => {
369
369
  p && (l = N(a.value, {
370
370
  beforeEvent(m) {
371
- return m.stopPropagation(), L(m.target) || (m.preventDefault(), X()), !1;
371
+ return m.stopPropagation(), O(m.target) || (m.preventDefault(), L()), !1;
372
372
  }
373
373
  }));
374
- }), O(() => {
374
+ }), A(() => {
375
375
  l && l.destroy();
376
- }), (p, m) => (c(), E(V, {
376
+ }), (p, m) => (c(), z(q, {
377
377
  placement: "center",
378
378
  backdrop: !0,
379
379
  keepalive: !1,
380
- visible: r.value
380
+ visible: s.value
381
381
  }, {
382
382
  default: P(() => [
383
- $("div", {
383
+ k("div", {
384
384
  class: "t-loading",
385
385
  ref_key: "container",
386
386
  ref: a
387
387
  }, [
388
388
  b(p.$slots, "default", {}, () => [
389
389
  ee(K, {
390
- type: t.type
390
+ type: n.type
391
391
  }, null, 8, ["type"])
392
392
  ], !0)
393
393
  ], 512)
@@ -395,28 +395,28 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
395
395
  _: 3
396
396
  }, 8, ["visible"]));
397
397
  }
398
- }), xe = /* @__PURE__ */ g(Ie, [["__scopeId", "data-v-96624ceb"]]), Xt = (e = {}) => {
399
- const n = v(), o = document.body.querySelector(".t-app");
400
- let t = null, r = null;
398
+ }), xe = /* @__PURE__ */ y(Ie, [["__scopeId", "data-v-96624ceb"]]), qt = (e = {}) => {
399
+ const o = v(), t = document.body.querySelector(".t-app");
400
+ let n = null, s = null;
401
401
  return {
402
402
  open() {
403
403
  return new Promise((a) => {
404
- o && (r = document.createElement("div"), o.appendChild(r), t = F({
404
+ t && (s = document.createElement("div"), t.appendChild(s), n = F({
405
405
  render() {
406
406
  return G(xe, {
407
407
  ...e,
408
- ref: n
408
+ ref: o
409
409
  });
410
410
  }
411
- }), t.mount(r), setTimeout(() => {
412
- n.value?.open?.(), a(!0);
411
+ }), n.mount(s), setTimeout(() => {
412
+ o.value?.open?.(), a(!0);
413
413
  }, 50));
414
414
  });
415
415
  },
416
416
  close() {
417
417
  return new Promise((a) => {
418
- n.value?.close?.(), setTimeout(() => {
419
- t?.unmount?.(), r?.remove?.(), a(!0);
418
+ o.value?.close?.(), setTimeout(() => {
419
+ n?.unmount?.(), s?.remove?.(), a(!0);
420
420
  }, 300);
421
421
  });
422
422
  }
@@ -429,13 +429,13 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
429
429
  C.push(e);
430
430
  }, ze = (e) => {
431
431
  e || C.pop();
432
- }, k = {
432
+ }, $ = {
433
433
  screens: C,
434
434
  addScreen: Ee,
435
435
  removeScreen: ze,
436
- hasPrevious: z(() => C.length > 1),
437
- currentScreen: z(() => C[C.length - 1]),
438
- lastScreen: z(() => {
436
+ hasPrevious: S(() => C.length > 1),
437
+ currentScreen: S(() => C[C.length - 1]),
438
+ lastScreen: S(() => {
439
439
  if (!(C.length < 2))
440
440
  return C[C.length - 2];
441
441
  })
@@ -450,47 +450,47 @@ const me = /* @__PURE__ */ g(de, [["render", fe]]), ve = /* @__PURE__ */ T({
450
450
  variant: { default: "default" }
451
451
  },
452
452
  emits: ["close"],
453
- setup(e, { expose: n, emit: o }) {
454
- const t = e, r = o, a = v(!1), l = v(!1), d = v(!1), _ = () => {
455
- l.value = !0, d.value = !1, setTimeout(() => {
453
+ setup(e, { expose: o, emit: t }) {
454
+ const n = e, s = t, a = v(!1), l = v(!1), i = v(!1), _ = () => {
455
+ l.value = !0, i.value = !1, setTimeout(() => {
456
456
  a.value = !0;
457
457
  }, 10), setTimeout(() => {
458
458
  p();
459
- }, t.duration + 10);
459
+ }, n.duration + 10);
460
460
  }, p = () => {
461
- d.value = !0, setTimeout(() => {
462
- l.value = !1, a.value = !1, r("close");
461
+ i.value = !0, setTimeout(() => {
462
+ l.value = !1, a.value = !1, s("close");
463
463
  }, 300);
464
- }, m = z(() => ["warning", "info", "danger", "primary", "secondary", "success"].includes(t.color) ? `var(--t-color-status-${t.color}-rgb)` : t.color);
465
- return n({
464
+ }, m = S(() => ["warning", "info", "danger", "primary", "secondary", "success"].includes(n.color) ? `var(--t-color-status-${n.color}-rgb)` : n.color);
465
+ return o({
466
466
  open: _
467
- }), (y, s) => l.value ? (c(), f("div", {
467
+ }), (g, r) => l.value ? (c(), f("div", {
468
468
  key: 0,
469
- class: x(["t-toast", { [t.placement]: !0, open: a.value, closing: d.value, ["variant-" + t.variant]: !0 }]),
470
- style: I({ "--space": t.space, "--color": m.value })
471
- }, B(t.message), 7)) : S("", !0);
469
+ class: x(["t-toast", { [n.placement]: !0, open: a.value, closing: i.value, ["variant-" + n.variant]: !0 }]),
470
+ style: I({ "--space": n.space, "--color": m.value })
471
+ }, B(n.message), 7)) : E("", !0);
472
472
  }
473
- }), se = /* @__PURE__ */ g(Ce, [["__scopeId", "data-v-5b3334bc"]]), qt = (e = {}) => ({
473
+ }), se = /* @__PURE__ */ y(Ce, [["__scopeId", "data-v-5b3334bc"]]), Yt = (e = {}) => ({
474
474
  open() {
475
- let n = document.body.querySelector(".t-app");
476
- if (!n) return;
477
- const o = document.createElement("div"), t = v();
478
- n.appendChild(o);
479
- const r = F({
475
+ let o = document.body.querySelector(".t-app");
476
+ if (!o) return;
477
+ const t = document.createElement("div"), n = v();
478
+ o.appendChild(t);
479
+ const s = F({
480
480
  render() {
481
481
  return G(se, {
482
482
  ...e,
483
- ref: t,
483
+ ref: n,
484
484
  onClose: () => {
485
485
  setTimeout(() => {
486
- r.unmount(), o.remove();
486
+ s.unmount(), t.remove();
487
487
  }, 300);
488
488
  }
489
489
  });
490
490
  }
491
491
  });
492
- r.mount(o), setTimeout(() => {
493
- t.value?.open?.();
492
+ s.mount(t), setTimeout(() => {
493
+ n.value?.open?.();
494
494
  }, 50);
495
495
  }
496
496
  }), Be = v(0);
@@ -506,38 +506,38 @@ const De = /* @__PURE__ */ T({
506
506
  placement: { default: "bottom" }
507
507
  },
508
508
  setup(e) {
509
- const n = e, { height: o } = Pe();
510
- return (t, r) => (c(), f("div", {
511
- class: x(["t-cable", { keyboard: n.keyboard && R(o) > 0, [n.placement]: !0 }]),
512
- style: I({ "--t-keyboard-height": R(o) + "px", "--t-keyboard-transition": R(o) > 0 ? "0.3s" : "0.1s" })
509
+ const o = e, { height: t } = Pe();
510
+ return (n, s) => (c(), f("div", {
511
+ class: x(["t-cable", { keyboard: o.keyboard && R(t) > 0, [o.placement]: !0 }]),
512
+ style: I({ "--t-keyboard-height": R(t) + "px", "--t-keyboard-transition": R(t) > 0 ? "0.3s" : "0.1s" })
513
513
  }, [
514
- b(t.$slots, "default", {}, void 0, !0)
514
+ b(n.$slots, "default", {}, void 0, !0)
515
515
  ], 6));
516
516
  }
517
- }), Re = /* @__PURE__ */ g(De, [["__scopeId", "data-v-ecb72421"]]), Ne = {}, Ae = { class: "t-card" };
518
- function Oe(e, n) {
519
- return c(), f("div", Ae, [
517
+ }), Re = /* @__PURE__ */ y(De, [["__scopeId", "data-v-ecb72421"]]), Ne = {}, Ve = { class: "t-card" };
518
+ function Ae(e, o) {
519
+ return c(), f("div", Ve, [
520
520
  b(e.$slots, "default")
521
521
  ]);
522
522
  }
523
- const Le = /* @__PURE__ */ g(Ne, [["render", Oe]]), Xe = {}, qe = { class: "t-content" };
524
- function Ve(e, n) {
525
- return c(), f("div", qe, [
523
+ const Oe = /* @__PURE__ */ y(Ne, [["render", Ae]]), Le = {}, Xe = { class: "t-content" };
524
+ function qe(e, o) {
525
+ return c(), f("div", Xe, [
526
526
  b(e.$slots, "default", {}, void 0, !0)
527
527
  ]);
528
528
  }
529
- const Ye = /* @__PURE__ */ g(Xe, [["render", Ve], ["__scopeId", "data-v-9a833657"]]), Q = 80, Ue = /* @__PURE__ */ T({
529
+ const Ye = /* @__PURE__ */ y(Le, [["render", qe], ["__scopeId", "data-v-9a833657"]]), Q = 80, Ue = /* @__PURE__ */ T({
530
530
  __name: "t-refresher",
531
531
  emits: ["refresh"],
532
- setup(e, { emit: n }) {
533
- const o = n, t = v(0), r = v(!1), a = v();
534
- let l, d = !1;
532
+ setup(e, { emit: o }) {
533
+ const t = o, n = v(0), s = v(!1), a = v();
534
+ let l, i = !1;
535
535
  const _ = () => {
536
- r.value = !1, t.value = 0, l && l.cancel(), setTimeout(() => {
537
- d = !1;
536
+ s.value = !1, n.value = 0, l && l.cancel(), setTimeout(() => {
537
+ i = !1;
538
538
  }, 2e3);
539
539
  }, p = () => {
540
- d = !0, r.value = !0, t.value = Q, o("refresh", _);
540
+ i = !0, s.value = !0, n.value = Q, t("refresh", _);
541
541
  };
542
542
  return D(() => a.value, () => {
543
543
  l && l.destroy();
@@ -546,188 +546,188 @@ const Ye = /* @__PURE__ */ g(Xe, [["render", Ve], ["__scopeId", "data-v-9a833657
546
546
  options: {
547
547
  minDist: 60
548
548
  },
549
- move({ dy: y }) {
550
- r.value || d || y < 0 || (y >= 120 ? p() : t.value = y);
549
+ move({ dy: g }) {
550
+ s.value || i || g < 0 || (g >= 120 ? p() : n.value = g);
551
551
  },
552
- up({ dy: y }) {
553
- r.value || d || (y > Q ? p() : t.value = 0);
552
+ up({ dy: g }) {
553
+ s.value || i || (g > Q ? p() : n.value = 0);
554
554
  },
555
555
  cancel() {
556
- r.value = !1, t.value = 0;
556
+ s.value = !1, n.value = 0;
557
557
  }
558
558
  });
559
- }), O(() => {
559
+ }), A(() => {
560
560
  l && l.destroy();
561
- }), (m, y) => Y((c(), f("div", {
561
+ }), (m, g) => Y((c(), f("div", {
562
562
  class: "t-refresher",
563
563
  ref_key: "container",
564
564
  ref: a,
565
- style: I({ height: `${t.value}px` })
565
+ style: I({ height: `${n.value}px` })
566
566
  }, [
567
- $("img", {
568
- class: x({ spiner: r.value }),
567
+ k("img", {
568
+ class: x({ spiner: s.value }),
569
569
  src: "https://static.toikit.com/toikit/home_2.png?v=3",
570
570
  alt: "Loading...",
571
571
  style: { width: "22px", height: "22px" }
572
572
  }, null, 2)
573
573
  ], 4)), [
574
- [U, t.value > 0]
574
+ [U, n.value > 0]
575
575
  ]);
576
576
  }
577
- }), We = /* @__PURE__ */ g(Ue, [["__scopeId", "data-v-7f97bb1a"]]), Fe = {}, Ge = { class: "t-screen" };
578
- function He(e, n) {
577
+ }), We = /* @__PURE__ */ y(Ue, [["__scopeId", "data-v-7f97bb1a"]]), Fe = {}, Ge = { class: "t-screen" };
578
+ function He(e, o) {
579
579
  return c(), f("div", Ge, [
580
580
  b(e.$slots, "default", {}, void 0, !0)
581
581
  ]);
582
582
  }
583
- const re = /* @__PURE__ */ g(Fe, [["render", He], ["__scopeId", "data-v-66ea8649"]]), je = /* @__PURE__ */ T({
583
+ const re = /* @__PURE__ */ y(Fe, [["render", He], ["__scopeId", "data-v-66ea8649"]]), je = /* @__PURE__ */ T({
584
584
  __name: "t-swipe-screen",
585
585
  emits: ["change"],
586
- setup(e, { emit: n }) {
587
- let o = {};
588
- const t = ne(), r = ie(), a = t.getRoutes(), l = v(!1), d = n;
589
- for (let s of a)
590
- o[s.name] = s.components;
591
- const _ = (s) => {
592
- s && k.addScreen({
593
- name: s,
586
+ setup(e, { emit: o }) {
587
+ let t = {};
588
+ const n = ne(), s = ie(), a = n.getRoutes(), l = v(!1), i = o;
589
+ for (let r of a)
590
+ t[r.name] = r.components;
591
+ const _ = (r) => {
592
+ r && $.addScreen({
593
+ name: r,
594
594
  target: null,
595
- component: ce(o[s] || null)
595
+ component: ce(t[r] || null)
596
596
  });
597
- }, p = (s, u) => {
598
- !u || k.screens[s].target || (k.screens[s].target = u.$el, s > 0 && (l.value = !0, u.$el.style.transform = "translateX(100vw)", u.$el.transitionOrigin = "center", document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0"), setTimeout(() => {
599
- u.$el.style.transition = "transform 0.35s ease", u.$el.style.transform = "translateX(0px)", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0.35s"), document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0.5"), k.screens.length > 1 && (k.lastScreen.value.target.style.transitionOrigin = "left center", k.lastScreen.value.target.style.transition = "transform 0.35s ease", k.lastScreen.value.target.style.transform = "translateX(-30vw) scale(0.5) perspective(100vw) rotateY(30deg)"), setTimeout(() => {
600
- d("change"), l.value = !1;
597
+ }, p = (r, d) => {
598
+ !d || $.screens[r].target || ($.screens[r].target = d.$el, r > 0 && (l.value = !0, d.$el.style.transform = "translateX(100vw)", d.$el.transitionOrigin = "center", document.documentElement.style.setProperty("--t-swipe-backdrop-opacity", "0"), setTimeout(() => {
599
+ d.$el.style.transition = "transform 0.35s ease", d.$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(() => {
600
+ i("change"), l.value = !1;
601
601
  }, 400);
602
602
  }, 100)));
603
603
  }, m = () => {
604
- k.currentScreen.value.target.style.transition = "transform 0.35s ease", k.currentScreen.value.target.style.transform = "translateX(100vw) scale(1)", k.lastScreen.value.target.style.transition = "transform 0.35s ease", k.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(() => {
605
- k.removeScreen(), d("change"), l.value = !1;
604
+ $.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(() => {
605
+ $.removeScreen(), i("change"), l.value = !1;
606
606
  }, 400);
607
607
  };
608
- _(r.name), D(() => r.name, (s, u) => {
609
- s != k.currentScreen.value.name && (k.lastScreen.value?.name == s ? m() : _(s));
608
+ _(s.name), D(() => s.name, (r, d) => {
609
+ r != $.currentScreen.value.name && ($.lastScreen.value?.name == r ? m() : _(r));
610
610
  });
611
- const y = () => {
611
+ const g = () => {
612
612
  l.value = !0;
613
- const s = k.currentScreen.value.target, u = k.lastScreen.value.target;
614
- s.style.transition = "transform 0.35s ease", s.style.transform = "translateX(0px)", u.style.transition = "transform 0.35s ease", u.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(() => {
613
+ const r = $.currentScreen.value.target, d = $.lastScreen.value.target;
614
+ r.style.transition = "transform 0.35s ease", r.style.transform = "translateX(0px)", d.style.transition = "transform 0.35s ease", d.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(() => {
615
615
  l.value = !1;
616
616
  }, 400);
617
617
  };
618
618
  return te(() => {
619
619
  N(document, {
620
620
  pointerId: null,
621
- beforeEvent(s) {
622
- return l.value || k.screens.length < 2 ? !1 : (s.type == "pointerdown" && !this.pointerId && (this.pointerId = s.pointerId), this.pointerId == s.pointerId);
621
+ beforeEvent(r) {
622
+ return l.value || $.screens.length < 2 ? !1 : (r.type == "pointerdown" && !this.pointerId && (this.pointerId = r.pointerId), this.pointerId == r.pointerId);
623
623
  },
624
- afterEvent(s) {
625
- (s.type == "pointerup" || s.type == "pointercancel") && (this.pointerId = null);
624
+ afterEvent(r) {
625
+ (r.type == "pointerup" || r.type == "pointercancel") && (this.pointerId = null);
626
626
  },
627
- fast({ d: s }) {
628
- s == "right" && t.back();
627
+ fast({ d: r }) {
628
+ r == "right" && n.back();
629
629
  },
630
- move({ dx: s }) {
631
- const u = window.innerWidth, h = s / u * 100, i = k.currentScreen.value.target, w = k.lastScreen?.value?.target;
632
- if (s > 0 && s <= u) {
633
- i.style.transition = "transform 0s ease", i.style.transform = `translateX(${s}px)`, w.style.transition = "transform 0s ease", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0s"), w.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}`);
630
+ move({ dx: r }) {
631
+ const d = window.innerWidth, h = r / d * 100, u = $.currentScreen.value.target, w = $.lastScreen?.value?.target;
632
+ if (r > 0 && r <= d) {
633
+ u.style.transition = "transform 0s ease", u.style.transform = `translateX(${r}px)`, w.style.transition = "transform 0s ease", document.documentElement.style.setProperty("--t-screen-backdrop-duration", "0s"), w.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}`);
634
634
  return;
635
635
  }
636
636
  },
637
- up({ dx: s }) {
638
- const u = window.innerWidth;
639
- s / u * 100 >= 50 ? t.back() : y();
637
+ up({ dx: r }) {
638
+ const d = window.innerWidth;
639
+ r / d * 100 >= 50 ? n.back() : g();
640
640
  },
641
641
  cancel() {
642
- y();
642
+ g();
643
643
  }
644
644
  });
645
- }), (s, u) => (c(), f(A, null, [
646
- (c(!0), f(A, null, W(R(k).screens, (h, i) => (c(), E(re, {
645
+ }), (r, d) => (c(), f(V, null, [
646
+ (c(!0), f(V, null, W(R($).screens, (h, u) => (c(), z(re, {
647
647
  ref_for: !0,
648
- ref: (w) => p(i, w),
649
- style: I({ zIndex: i + (i == R(k).screens.length - 1 ? 2 : 1) }),
650
- key: i
648
+ ref: (w) => p(u, w),
649
+ style: I({ zIndex: u + (u == R($).screens.length - 1 ? 2 : 1) }),
650
+ key: u
651
651
  }, {
652
652
  default: P(() => [
653
- (c(), E(le(h.component.default)))
653
+ (c(), z(le(h.component.default)))
654
654
  ]),
655
655
  _: 2
656
656
  }, 1032, ["style"]))), 128)),
657
- $("div", {
657
+ k("div", {
658
658
  class: "t-swipe-backdrop",
659
- style: I({ zIndex: R(k).screens.length })
659
+ style: I({ zIndex: R($).screens.length })
660
660
  }, null, 4)
661
661
  ], 64));
662
662
  }
663
- }), Ke = /* @__PURE__ */ g(je, [["__scopeId", "data-v-a048cc07"]]), Me = /* @__PURE__ */ T({
663
+ }), Ke = /* @__PURE__ */ y(je, [["__scopeId", "data-v-a048cc07"]]), Me = /* @__PURE__ */ T({
664
664
  __name: "t-toolbar",
665
665
  props: {
666
666
  placement: { default: "bottom" },
667
667
  size: { default: "50px" }
668
668
  },
669
669
  setup(e) {
670
- const n = e;
671
- return (o, t) => (c(), f("div", {
672
- class: x(["t-toolbar", { [n.placement]: !0 }]),
673
- style: I({ "--t-size-toolbar": n.size })
670
+ const o = e;
671
+ return (t, n) => (c(), f("div", {
672
+ class: x(["t-toolbar", { [o.placement]: !0 }]),
673
+ style: I({ "--t-size-toolbar": o.size })
674
674
  }, [
675
- $("div", null, [
676
- b(o.$slots, "default", {}, void 0, !0)
675
+ k("div", null, [
676
+ b(t.$slots, "default", {}, void 0, !0)
677
677
  ])
678
678
  ], 6));
679
679
  }
680
- }), Je = /* @__PURE__ */ g(Me, [["__scopeId", "data-v-3b3a7896"]]), Qe = /* @__PURE__ */ T({
680
+ }), Je = /* @__PURE__ */ y(Me, [["__scopeId", "data-v-3b3a7896"]]), Qe = /* @__PURE__ */ T({
681
681
  __name: "t-back-button",
682
682
  props: {
683
683
  to: {}
684
684
  },
685
685
  setup(e) {
686
- const n = ne(), o = e, t = () => {
687
- k.hasPrevious.value ? n?.back?.() : o.to && n?.push?.(o.to);
686
+ const o = ne(), t = e, n = () => {
687
+ $.hasPrevious.value ? o?.back?.() : t.to && o?.push?.(t.to);
688
688
  };
689
- return (r, a) => r.to || R(k).hasPrevious ? (c(), f("button", {
689
+ return (s, a) => s.to || R($).hasPrevious ? (c(), f("button", {
690
690
  key: 0,
691
691
  class: "t-back-button",
692
- onClick: t
692
+ onClick: n
693
693
  }, [
694
- b(r.$slots, "default", {}, () => [
695
- a[0] || (a[0] = $("i", { class: "ri-arrow-left-s-line" }, null, -1))
694
+ b(s.$slots, "default", {}, () => [
695
+ a[0] || (a[0] = k("i", { class: "ri-arrow-left-s-line" }, null, -1))
696
696
  ], !0)
697
- ])) : S("", !0);
697
+ ])) : E("", !0);
698
698
  }
699
- }), Ze = /* @__PURE__ */ g(Qe, [["__scopeId", "data-v-ed626a3d"]]), et = /* @__PURE__ */ T({
699
+ }), Ze = /* @__PURE__ */ y(Qe, [["__scopeId", "data-v-ed626a3d"]]), et = /* @__PURE__ */ T({
700
700
  __name: "t-text",
701
701
  props: {
702
702
  color: { default: "var(--t-color-text)" },
703
703
  size: { default: "standard" }
704
704
  },
705
705
  setup(e) {
706
- const n = e, o = z(() => {
707
- let t, r = n.color;
708
- return n.size == "standard" ? t = "var(--t-fs-10)" : n.size == "small" ? t = "var(--t-fs-08)" : n.size == "large" ? t = "var(--t-fs-12)" : t = n.size, ["warning", "info", "danger", "primary", "secondary", "success"].includes(n.color) && (r = `var(--t-color-status-${n.color})`), {
709
- "--color": r,
710
- "--font-size": t
706
+ const o = e, t = S(() => {
707
+ let n, s = o.color;
708
+ return o.size == "standard" ? n = "var(--t-fs-10)" : o.size == "small" ? n = "var(--t-fs-08)" : o.size == "large" ? n = "var(--t-fs-12)" : n = o.size, ["warning", "info", "danger", "primary", "secondary", "success"].includes(o.color) && (s = `var(--t-color-status-${o.color})`), {
709
+ "--color": s,
710
+ "--font-size": n
711
711
  };
712
712
  });
713
- return (t, r) => (c(), f("span", {
713
+ return (n, s) => (c(), f("span", {
714
714
  class: "t-text",
715
- style: I(o.value)
715
+ style: I(t.value)
716
716
  }, [
717
- b(t.$slots, "default", {}, void 0, !0)
717
+ b(n.$slots, "default", {}, void 0, !0)
718
718
  ], 4));
719
719
  }
720
- }), j = /* @__PURE__ */ g(et, [["__scopeId", "data-v-f0f94f05"]]), tt = /* @__PURE__ */ T({
720
+ }), j = /* @__PURE__ */ y(et, [["__scopeId", "data-v-f0f94f05"]]), tt = /* @__PURE__ */ T({
721
721
  __name: "t-pull-signal",
722
722
  props: {
723
723
  placement: { default: "bottom" }
724
724
  },
725
725
  setup(e) {
726
- return (n, o) => (c(), f("div", {
727
- class: x(["t-pull-bar", { [n.placement]: !0 }])
726
+ return (o, t) => (c(), f("div", {
727
+ class: x(["t-pull-bar", { [o.placement]: !0 }])
728
728
  }, null, 2));
729
729
  }
730
- }), ae = /* @__PURE__ */ g(tt, [["__scopeId", "data-v-0e72394a"]]), nt = /* @__PURE__ */ T({
730
+ }), ae = /* @__PURE__ */ y(tt, [["__scopeId", "data-v-d2297b66"]]), nt = /* @__PURE__ */ T({
731
731
  __name: "t-sheet",
732
732
  props: {
733
733
  background: { default: "var(--t-color-surface)" },
@@ -738,98 +738,99 @@ const re = /* @__PURE__ */ g(Fe, [["render", He], ["__scopeId", "data-v-66ea8649
738
738
  keepalive: { type: Boolean, default: !0 },
739
739
  backdrop: { type: Boolean, default: !0 },
740
740
  rounded: { type: Boolean, default: !0 },
741
+ radius: { type: Boolean, default: !0 },
741
742
  closeButton: { type: Boolean, default: !0 }
742
743
  },
743
744
  emits: ["dismiss"],
744
- setup(e, { emit: n }) {
745
- const o = e, t = n, r = v(), a = v(), l = v(!1);
746
- let d = null;
747
- const _ = z(() => {
748
- if (o.placement == "bottom") return "down";
749
- if (o.placement == "top") return "up";
750
- if (o.placement == "left") return "left";
751
- if (o.placement == "right") return "right";
752
- }), p = (y) => {
753
- t("dismiss", y);
745
+ setup(e, { emit: o }) {
746
+ const t = e, n = o, s = v(), a = v(), l = v(!1);
747
+ let i = null;
748
+ const _ = S(() => {
749
+ if (t.placement == "bottom") return "down";
750
+ if (t.placement == "top") return "up";
751
+ if (t.placement == "left") return "left";
752
+ if (t.placement == "right") return "right";
753
+ }), p = (g) => {
754
+ n("dismiss", g);
754
755
  }, m = () => {
755
756
  l.value = !0, setTimeout(() => {
756
757
  l.value = !1;
757
758
  }, 300);
758
759
  };
759
- return D(() => r.value, (y) => {
760
- y && (d = N(r.value, {
760
+ return D(() => s.value, (g) => {
761
+ g && (i = N(s.value, {
761
762
  options: {
762
763
  minDist: 30
763
764
  },
764
765
  pointerId: null,
765
- beforeEvent(s) {
766
- let u = !1, h = !1;
767
- return l.value || !o.gesture || o.placement == "center" ? u = !0 : this.pointerId ? (u = !0, h = this.pointerId == s.pointerId) : s.type == "pointerdown" && (this.pointerId = s.pointerId, u = !0, h = !0), u && (s.stopPropagation(), L(s.target) || (s.preventDefault(), X())), h;
766
+ beforeEvent(r) {
767
+ let d = !1, h = !1;
768
+ return l.value || !t.gesture || t.placement == "center" ? d = !0 : this.pointerId ? (d = !0, h = this.pointerId == r.pointerId) : r.type == "pointerdown" && (this.pointerId = r.pointerId, d = !0, h = !0), d && (r.stopPropagation(), O(r.target) || (r.preventDefault(), L())), h;
768
769
  },
769
- afterEvent(s) {
770
- (s.type == "pointerup" || s.type == "pointercancel") && (this.pointerId = null);
770
+ afterEvent(r) {
771
+ (r.type == "pointerup" || r.type == "pointercancel") && (this.pointerId = null);
771
772
  },
772
- fast({ d: s }) {
773
- m(), s == _.value ? t("dismiss", "gesture") : a.value.open();
773
+ fast({ d: r }) {
774
+ m(), r == _.value ? n("dismiss", "gesture") : a.value.open();
774
775
  },
775
- move({ dy: s, dx: u, d: h }) {
776
+ move({ dy: r, dx: d, d: h }) {
776
777
  if (h != _.value) return;
777
- let i = 0;
778
- o.placement == "bottom" || o.placement == "top" ? i = s : i = u, a.value.render({
779
- contentTransform: i + "px",
778
+ let u = 0;
779
+ t.placement == "bottom" || t.placement == "top" ? u = r : u = d, a.value.render({
780
+ contentTransform: u + "px",
780
781
  transition: "0s"
781
782
  });
782
783
  },
783
- up({ dy: s, dx: u, d: h }) {
784
+ up({ dy: r, dx: d, d: h }) {
784
785
  if (m(), h != _.value) {
785
786
  a.value.open();
786
787
  return;
787
788
  }
788
- let i, w, H;
789
- o.placement == "bottom" || o.placement == "top" ? (i = r.value.offsetHeight, H = s) : (i = r.value.offsetWidth, H = u), w = H / i * 100, w > 50 ? t("dismiss", "gesture") : a.value.open();
789
+ let u, w, H;
790
+ t.placement == "bottom" || t.placement == "top" ? (u = s.value.offsetHeight, H = r) : (u = s.value.offsetWidth, H = d), w = H / u * 100, w > 50 ? n("dismiss", "gesture") : a.value.open();
790
791
  },
791
792
  cancel() {
792
793
  m(), a.value.open();
793
794
  }
794
795
  }));
795
- }), O(() => {
796
- d && d.destroy();
797
- }), (y, s) => (c(), E(V, {
796
+ }), A(() => {
797
+ i && i.destroy();
798
+ }), (g, r) => (c(), z(q, {
798
799
  ref_key: "present",
799
800
  ref: a,
800
- placement: o.placement,
801
- backdrop: y.backdrop,
802
- visible: o.visible,
803
- keepalive: o.keepalive,
801
+ placement: t.placement,
802
+ backdrop: g.backdrop,
803
+ visible: t.visible,
804
+ keepalive: t.keepalive,
804
805
  onDismiss: p
805
806
  }, {
806
807
  default: P(() => [
807
- o.gesture && o.placement != "center" ? (c(), E(ae, {
808
+ t.gesture && t.placement != "center" ? (c(), z(ae, {
808
809
  key: 0,
809
- placement: o.placement
810
- }, null, 8, ["placement"])) : S("", !0),
811
- $("div", {
812
- class: x(["t-sheet", { fullscreen: o.fullscreen, [o.placement]: !0, rounded: y.rounded }]),
813
- style: I({ "--background": o.background }),
810
+ placement: t.placement
811
+ }, null, 8, ["placement"])) : E("", !0),
812
+ k("div", {
813
+ class: x(["t-sheet", { fullscreen: t.fullscreen, [t.placement]: !0, rounded: g.rounded, radius: t.radius }]),
814
+ style: I({ "--background": t.background }),
814
815
  ref_key: "sheet",
815
- ref: r
816
+ ref: s
816
817
  }, [
817
- o.closeButton && o.placement == "center" ? (c(), f("button", {
818
+ t.closeButton && t.placement == "center" ? (c(), f("button", {
818
819
  key: 0,
819
820
  class: "t-sheet-close",
820
- onClick: s[0] || (s[0] = (u) => p("close-button"))
821
+ onClick: r[0] || (r[0] = (d) => p("close-button"))
821
822
  }, [
822
- b(y.$slots, "close-icon", {}, () => [
823
- s[1] || (s[1] = $("i", { class: "ri-close-large-line" }, null, -1))
823
+ b(g.$slots, "close-icon", {}, () => [
824
+ r[1] || (r[1] = k("i", { class: "ri-close-large-line" }, null, -1))
824
825
  ], !0)
825
- ])) : S("", !0),
826
- b(y.$slots, "default", {}, void 0, !0)
826
+ ])) : E("", !0),
827
+ b(g.$slots, "default", {}, void 0, !0)
827
828
  ], 6)
828
829
  ]),
829
830
  _: 3
830
831
  }, 8, ["placement", "backdrop", "visible", "keepalive"]));
831
832
  }
832
- }), ot = /* @__PURE__ */ g(nt, [["__scopeId", "data-v-d5772132"]]), st = { class: "t-input-label" }, rt = { class: "t-input-content" }, at = ["type", "placeholder", "value"], lt = /* @__PURE__ */ T({
833
+ }), ot = /* @__PURE__ */ y(nt, [["__scopeId", "data-v-5bf707ac"]]), st = { class: "t-input-label" }, rt = { class: "t-input-content" }, at = ["type", "placeholder", "value"], lt = /* @__PURE__ */ T({
833
834
  __name: "t-input",
834
835
  props: {
835
836
  size: { default: "standard" },
@@ -843,124 +844,124 @@ const re = /* @__PURE__ */ g(Fe, [["render", He], ["__scopeId", "data-v-66ea8649
843
844
  variant: { default: "normal" }
844
845
  },
845
846
  emits: ["update:modelValue"],
846
- setup(e, { emit: n }) {
847
- const o = e, t = n, r = (a) => {
848
- t("update:modelValue", a.target.value);
847
+ setup(e, { emit: o }) {
848
+ const t = e, n = o, s = (a) => {
849
+ n("update:modelValue", a.target.value);
849
850
  };
850
851
  return (a, l) => (c(), f("div", {
851
- class: x(["t-input", { rounded: o.rounded, ["size-" + o.size]: !0 }])
852
+ class: x(["t-input", { rounded: t.rounded, ["size-" + t.size]: !0 }])
852
853
  }, [
853
- $("label", null, [
854
- $("span", st, B(a.label), 1),
855
- $("div", rt, [
854
+ k("label", null, [
855
+ k("span", st, B(a.label), 1),
856
+ k("div", rt, [
856
857
  b(a.$slots, "start", {}, void 0, !0),
857
- $("input", {
858
+ k("input", {
858
859
  type: a.type,
859
860
  placeholder: a.placeholder,
860
861
  value: a.modelValue,
861
- onInput: r
862
+ onInput: s
862
863
  }, null, 40, at),
863
864
  b(a.$slots, "end", {}, void 0, !0)
864
865
  ])
865
866
  ]),
866
- o.error ? (c(), E(j, {
867
+ t.error ? (c(), z(j, {
867
868
  key: 0,
868
869
  color: "danger"
869
870
  }, {
870
871
  default: P(() => [
871
- q(B(o.error), 1)
872
+ X(B(t.error), 1)
872
873
  ]),
873
874
  _: 1
874
- })) : o.help ? (c(), E(j, {
875
+ })) : t.help ? (c(), z(j, {
875
876
  key: 1,
876
877
  color: "secondary"
877
878
  }, {
878
879
  default: P(() => [
879
- q(B(o.help), 1)
880
+ X(B(t.help), 1)
880
881
  ]),
881
882
  _: 1
882
- })) : S("", !0)
883
+ })) : E("", !0)
883
884
  ], 2));
884
885
  }
885
- }), ct = /* @__PURE__ */ g(lt, [["__scopeId", "data-v-75bf0d19"]]), it = {};
886
- function ut(e, n) {
886
+ }), ct = /* @__PURE__ */ y(lt, [["__scopeId", "data-v-75bf0d19"]]), it = {};
887
+ function ut(e, o) {
887
888
  return c(), f("textarea");
888
889
  }
889
- const dt = /* @__PURE__ */ g(it, [["render", ut]]), pt = {};
890
- function ft(e, n) {
890
+ const dt = /* @__PURE__ */ y(it, [["render", ut]]), pt = {};
891
+ function ft(e, o) {
891
892
  return c(), f("div");
892
893
  }
893
- const mt = /* @__PURE__ */ g(pt, [["render", ft]]), vt = {}, _t = { class: "t-grid" };
894
- function yt(e, n) {
894
+ const mt = /* @__PURE__ */ y(pt, [["render", ft]]), vt = {}, _t = { class: "t-grid" };
895
+ function yt(e, o) {
895
896
  return c(), f("div", _t);
896
897
  }
897
- const gt = /* @__PURE__ */ g(vt, [["render", yt]]), ht = {}, bt = { class: "t-grid-item" };
898
- function kt(e, n) {
898
+ const gt = /* @__PURE__ */ y(vt, [["render", yt]]), ht = {}, bt = { class: "t-grid-item" };
899
+ function kt(e, o) {
899
900
  return c(), f("div", bt);
900
901
  }
901
- const $t = /* @__PURE__ */ g(ht, [["render", kt]]), Tt = /* @__PURE__ */ T({
902
+ const $t = /* @__PURE__ */ y(ht, [["render", kt]]), Tt = /* @__PURE__ */ T({
902
903
  __name: "t-divider",
903
904
  props: {
904
905
  type: { default: "horizontal" }
905
906
  },
906
907
  setup(e) {
907
- const n = e;
908
- return (o, t) => (c(), f("div", {
909
- class: x(["t-divider", { [n.type]: !0 }])
908
+ const o = e;
909
+ return (t, n) => (c(), f("div", {
910
+ class: x(["t-divider", { [o.type]: !0 }])
910
911
  }, null, 2));
911
912
  }
912
- }), wt = /* @__PURE__ */ g(Tt, [["__scopeId", "data-v-ea7dc220"]]), It = /* @__PURE__ */ T({
913
- __name: "t-toogle-password",
913
+ }), wt = /* @__PURE__ */ y(Tt, [["__scopeId", "data-v-816784be"]]), It = /* @__PURE__ */ T({
914
+ __name: "t-toggle-password",
914
915
  props: {
915
916
  color: { default: "warning" }
916
917
  },
917
918
  emits: ["change"],
918
- setup(e, { emit: n }) {
919
- const o = e, t = n, r = v(!1), a = v(), l = z(() => {
920
- let p = o.color;
921
- return ["warning", "info", "danger", "primary", "secondary", "success"].includes(o.color) && (p = `var(--t-color-status-${o.color})`), {
919
+ setup(e, { emit: o }) {
920
+ const t = e, n = o, s = v(!1), a = v(), l = S(() => {
921
+ let p = t.color;
922
+ return ["warning", "info", "danger", "primary", "secondary", "success"].includes(t.color) && (p = `var(--t-color-status-${t.color})`), {
922
923
  "--color": p
923
924
  };
924
- }), d = () => a.value?.parentElement?.querySelector?.("input");
925
+ }), i = () => a.value?.parentElement?.querySelector?.("input");
925
926
  te(() => {
926
- let p = d();
927
- p && (r.value = p.type != "password", t("change", r.value));
927
+ let p = i();
928
+ p && (s.value = p.type != "password", n("change", s.value));
928
929
  });
929
930
  const _ = () => {
930
- let p = d();
931
- p && (r.value = !r.value, r.value ? p.type = "text" : p.type = "password", t("change", r.value));
931
+ let p = i();
932
+ p && (s.value = !s.value, s.value ? p.type = "text" : p.type = "password", n("change", s.value));
932
933
  };
933
934
  return (p, m) => (c(), f("button", {
934
- ref_key: "toogle",
935
+ ref_key: "toggle",
935
936
  ref: a,
936
- class: "t-toogle-password",
937
+ class: "t-toggle-password",
937
938
  style: I(l.value),
938
939
  onClick: _
939
940
  }, [
940
- r.value ? b(p.$slots, "on", { key: 0 }, () => [
941
- m[0] || (m[0] = $("i", { class: "ri-eye-line" }, null, -1))
942
- ], !0) : S("", !0),
943
- r.value ? S("", !0) : b(p.$slots, "off", { key: 1 }, () => [
944
- m[1] || (m[1] = $("i", { class: "ri-eye-off-line" }, null, -1))
941
+ s.value ? b(p.$slots, "on", { key: 0 }, () => [
942
+ m[0] || (m[0] = k("i", { class: "ri-eye-line" }, null, -1))
943
+ ], !0) : E("", !0),
944
+ s.value ? E("", !0) : b(p.$slots, "off", { key: 1 }, () => [
945
+ m[1] || (m[1] = k("i", { class: "ri-eye-off-line" }, null, -1))
945
946
  ], !0)
946
947
  ], 4));
947
948
  }
948
- }), xt = /* @__PURE__ */ g(It, [["__scopeId", "data-v-f133b8be"]]), St = /* @__PURE__ */ T({
949
+ }), xt = /* @__PURE__ */ y(It, [["__scopeId", "data-v-3268e9e3"]]), St = /* @__PURE__ */ T({
949
950
  __name: "t-avatar",
950
951
  props: {
951
952
  square: { type: Boolean, default: !1 },
952
953
  size: { default: "standard" }
953
954
  },
954
955
  setup(e) {
955
- const n = e, o = z(() => n.size == "small" ? "24px" : n.size == "standard" ? "40px" : n.size == "large" ? "60px" : n.size);
956
- return (t, r) => (c(), f("div", {
957
- class: x(["t-avatar", { square: t.square }]),
958
- style: I({ "--size": o.value })
956
+ const o = e, t = S(() => o.size == "small" ? "24px" : o.size == "standard" ? "40px" : o.size == "large" ? "60px" : o.size);
957
+ return (n, s) => (c(), f("div", {
958
+ class: x(["t-avatar", { square: n.square }]),
959
+ style: I({ "--size": t.value })
959
960
  }, [
960
- b(t.$slots, "default", {}, void 0, !0)
961
+ b(n.$slots, "default", {}, void 0, !0)
961
962
  ], 6));
962
963
  }
963
- }), Et = /* @__PURE__ */ g(St, [["__scopeId", "data-v-24384c2f"]]), zt = { class: "t-collapse-title" }, Ct = {
964
+ }), Et = /* @__PURE__ */ y(St, [["__scopeId", "data-v-24384c2f"]]), zt = { class: "t-collapse-title" }, Ct = {
964
965
  key: 0,
965
966
  class: "icon"
966
967
  }, Bt = {
@@ -972,34 +973,34 @@ const $t = /* @__PURE__ */ g(ht, [["render", kt]]), Tt = /* @__PURE__ */ T({
972
973
  title: {}
973
974
  },
974
975
  emits: ["change"],
975
- setup(e, { emit: n }) {
976
- const o = e, t = n, r = v(!1), a = v(""), l = v(), d = () => {
977
- r.value = !r.value, a.value = `calc(${l.value.offsetHeight}px + 2rem)`, t("change", r.value);
976
+ setup(e, { emit: o }) {
977
+ const t = e, n = o, s = v(!1), a = v(""), l = v(), i = () => {
978
+ s.value = !s.value, a.value = `calc(${l.value.offsetHeight}px + 2rem)`, n("change", s.value);
978
979
  };
979
- return t("change", r.value), (_, p) => (c(), f("div", {
980
- class: x(["t-collapse", { open: r.value }]),
980
+ return n("change", s.value), (_, p) => (c(), f("div", {
981
+ class: x(["t-collapse", { open: s.value }]),
981
982
  style: I({ "--height": a.value })
982
983
  }, [
983
- $("div", {
984
+ k("div", {
984
985
  class: "t-collapse-header",
985
- onClick: d
986
+ onClick: i
986
987
  }, [
987
988
  b(_.$slots, "icon"),
988
- $("div", zt, [
989
+ k("div", zt, [
989
990
  b(_.$slots, "title", {}, () => [
990
- q(B(o.title), 1)
991
+ X(B(t.title), 1)
991
992
  ])
992
993
  ]),
993
- b(_.$slots, "toogle", {}, () => [
994
- r.value ? (c(), f("div", Ct, [...p[0] || (p[0] = [
995
- $("i", { class: "ri-arrow-up-s-line" }, null, -1)
994
+ b(_.$slots, "toggle", {}, () => [
995
+ s.value ? (c(), f("div", Ct, [...p[0] || (p[0] = [
996
+ k("i", { class: "ri-arrow-up-s-line" }, null, -1)
996
997
  ])])) : (c(), f("div", Bt, [...p[1] || (p[1] = [
997
- $("i", { class: "ri-arrow-down-s-line" }, null, -1)
998
+ k("i", { class: "ri-arrow-down-s-line" }, null, -1)
998
999
  ])]))
999
1000
  ])
1000
1001
  ]),
1001
- $("div", Pt, [
1002
- $("div", {
1002
+ k("div", Pt, [
1003
+ k("div", {
1003
1004
  ref_key: "content",
1004
1005
  ref: l
1005
1006
  }, [
@@ -1010,20 +1011,39 @@ const $t = /* @__PURE__ */ g(ht, [["render", kt]]), Tt = /* @__PURE__ */ T({
1010
1011
  ])
1011
1012
  ], 6));
1012
1013
  }
1013
- }), Vt = () => ({
1014
+ }), Rt = /* @__PURE__ */ T({
1015
+ __name: "t-switch",
1016
+ props: {
1017
+ modelValue: { type: Boolean },
1018
+ color: { default: "primary" }
1019
+ },
1020
+ emits: ["update:modelValue"],
1021
+ setup(e, { emit: o }) {
1022
+ const t = e, n = o, s = () => {
1023
+ n("update:modelValue", !t.modelValue);
1024
+ }, a = S(() => ["warning", "info", "danger", "primary", "secondary", "success"].includes(t.color) ? `var(--t-color-status-${t.color})` : t.color);
1025
+ return (l, i) => (c(), f("div", {
1026
+ class: x(["t-switch", { on: t.modelValue }]),
1027
+ style: I({ "--background-color": a.value }),
1028
+ onClick: s
1029
+ }, [...i[0] || (i[0] = [
1030
+ k("div", { class: "t-switch-icon" }, null, -1)
1031
+ ])], 6));
1032
+ }
1033
+ }), Nt = /* @__PURE__ */ y(Rt, [["__scopeId", "data-v-ef10da22"]]), Ut = () => ({
1014
1034
  install: (e) => {
1015
- ue(), e.component("t-app", me), e.component("t-screen", re), e.component("t-swipe-screen", Ke), e.component("t-cable", Re), e.component("t-toolbar", Je), e.component("t-content", Ye), e.component("t-card", Le), e.component("t-refresher", We), e.component("t-button", M), e.component("t-back-button", Ze), e.component("t-present", V), e.component("t-text", j), e.component("t-sheet", ot), e.component("t-pull-signal", ae), e.component("t-input", ct), e.component("t-textarea", dt), e.component("t-rich-text", mt), e.component("t-grid", gt), e.component("t-grid-item", $t), e.component("t-divider", wt), e.component("t-toogle-password", xt), e.component("t-loading-icon", K), e.component("t-alert", oe), e.component("t-avatar", Et), e.component("t-collapse", Dt), e.component("t-toast", se);
1035
+ ue(), e.component("t-app", me), e.component("t-screen", re), e.component("t-swipe-screen", Ke), e.component("t-cable", Re), e.component("t-toolbar", Je), e.component("t-content", Ye), e.component("t-card", Oe), e.component("t-refresher", We), e.component("t-button", M), e.component("t-back-button", Ze), e.component("t-present", q), e.component("t-text", j), e.component("t-sheet", ot), e.component("t-pull-signal", ae), e.component("t-input", ct), e.component("t-textarea", dt), e.component("t-rich-text", mt), e.component("t-grid", gt), e.component("t-grid-item", $t), e.component("t-divider", wt), e.component("t-toggle-password", xt), e.component("t-loading-icon", K), e.component("t-alert", oe), e.component("t-avatar", Et), e.component("t-collapse", Dt), e.component("t-toast", se), e.component("t-switch", Nt);
1016
1036
  }
1017
1037
  });
1018
1038
  export {
1019
- X as blurCurrentActive,
1020
- Lt as createAction,
1021
- Ot as createAlert,
1022
- Xt as createLoading,
1023
- qt as createToast,
1024
- Vt as createToife,
1025
- L as isFormElement,
1039
+ L as blurCurrentActive,
1040
+ Xt as createAction,
1041
+ Lt as createAlert,
1042
+ qt as createLoading,
1043
+ Yt as createToast,
1044
+ Ut as createToife,
1045
+ O as isFormElement,
1026
1046
  Se as presentController,
1027
- k as screenController,
1047
+ $ as screenController,
1028
1048
  Pe as useKeyboard
1029
1049
  };