@validol4ik/uikit 0.4.11 → 0.4.12

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.
@@ -1,4 +1,4 @@
1
- import { computed as u, markRaw as ke, defineComponent as Q, h as p, withDirectives as le, getCurrentInstance as X, unref as H, ref as te, onBeforeUnmount as Ae, Transition as ze, openBlock as S, createBlock as _e, normalizeClass as A, withCtx as Te, createElementBlock as B, createCommentVNode as z, renderSlot as $e, Fragment as qe, createTextVNode as Oe, toDisplayString as Y, createElementVNode as F, normalizeStyle as Se, useTemplateRef as De, watch as xe, onMounted as je, renderList as Ie, nextTick as se, withKeys as Ve, vModelText as Ne, defineAsyncComponent as oe } from "vue";
1
+ import { computed as u, markRaw as ke, defineComponent as Q, h as p, withDirectives as le, getCurrentInstance as W, unref as H, ref as Y, onBeforeUnmount as Ae, Transition as ze, openBlock as S, createBlock as _e, normalizeClass as A, withCtx as Te, createElementBlock as B, createCommentVNode as z, renderSlot as $e, Fragment as qe, createTextVNode as Oe, toDisplayString as X, createElementVNode as F, normalizeStyle as Se, watch as De, onMounted as xe, renderList as je, nextTick as se, withKeys as Ie, vModelText as Ve, defineAsyncComponent as oe } from "vue";
2
2
  const we = {
3
3
  PRIMARY: "primary",
4
4
  INFO: "info"
@@ -6,7 +6,7 @@ const we = {
6
6
  SM: "sm",
7
7
  MD: "md",
8
8
  LG: "lg"
9
- }, Ke = {
9
+ }, Ne = {
10
10
  [$.SM]: "3px 9px",
11
11
  [$.MD]: "5px 12px",
12
12
  [$.LG]: "9px 20px"
@@ -22,16 +22,16 @@ const we = {
22
22
  function ie(e, t = ne) {
23
23
  return u(() => e.size !== void 0 ? { fontSize: e.size in t ? `${t[e.size]}px` : e.size } : null);
24
24
  }
25
- function W(e) {
25
+ function J(e) {
26
26
  return ke(Q(e));
27
27
  }
28
- function Fe(e) {
28
+ function Ke(e) {
29
29
  return ke(e);
30
30
  }
31
- function Qe(e, t) {
31
+ function Fe(e, t) {
32
32
  return e !== void 0 && e() || t;
33
33
  }
34
- function Kt(e, t) {
34
+ function Nt(e, t) {
35
35
  if (e !== void 0) {
36
36
  const n = e();
37
37
  if (n != null)
@@ -42,23 +42,23 @@ function Kt(e, t) {
42
42
  function V(e, t) {
43
43
  return e !== void 0 ? t.concat(e()) : t;
44
44
  }
45
- function Ft(e, t) {
45
+ function Kt(e, t) {
46
46
  return e === void 0 ? t : t !== void 0 ? t.concat(e()) : e();
47
47
  }
48
- function Qt(e, t, n, a, o, s) {
48
+ function Ft(e, t, n, a, o, s) {
49
49
  t.key = a + o;
50
50
  const r = p(e, t, n);
51
51
  return o === !0 ? le(r, s()) : r;
52
52
  }
53
- const ue = "0 0 24 24", ce = (e) => e, ee = (e) => `ionicons ${e}`, Be = {
53
+ const ue = "0 0 24 24", ce = (e) => e, te = (e) => `ionicons ${e}`, Be = {
54
54
  "mdi-": (e) => `mdi ${e}`,
55
55
  "icon-": ce,
56
56
  // fontawesome equiv
57
57
  "bt-": (e) => `bt ${e}`,
58
58
  "eva-": (e) => `eva ${e}`,
59
- "ion-md": ee,
60
- "ion-ios": ee,
61
- "ion-logo": ee,
59
+ "ion-md": te,
60
+ "ion-ios": te,
61
+ "ion-logo": te,
62
62
  "iconfont ": ce,
63
63
  "ti-": (e) => `themify-icon ${e}`,
64
64
  "bi-": (e) => `bootstrap-icons ${e}`
@@ -70,7 +70,7 @@ const ue = "0 0 24 24", ce = (e) => e, ee = (e) => `ionicons ${e}`, Be = {
70
70
  sym_o_: "-outlined",
71
71
  sym_r_: "-rounded",
72
72
  sym_s_: "-sharp"
73
- }, Ge = new RegExp("^(" + Object.keys(Be).join("|") + ")"), Ue = new RegExp("^(" + Object.keys(Ce).join("|") + ")"), de = new RegExp("^(" + Object.keys(Le).join("|") + ")"), He = /^[Mm]\s?[-+]?\.?\d/, Ye = /^img:/, Xe = /^svguse:/, We = /^ion-/, Je = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, fe = W({
73
+ }, Qe = new RegExp("^(" + Object.keys(Be).join("|") + ")"), Ge = new RegExp("^(" + Object.keys(Ce).join("|") + ")"), de = new RegExp("^(" + Object.keys(Le).join("|") + ")"), Ue = /^[Mm]\s?[-+]?\.?\d/, He = /^img:/, Ye = /^svguse:/, Xe = /^ion-/, We = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, fe = J({
74
74
  name: "QIcon",
75
75
  props: {
76
76
  ...re,
@@ -84,7 +84,7 @@ const ue = "0 0 24 24", ce = (e) => e, ee = (e) => `ionicons ${e}`, Be = {
84
84
  right: Boolean
85
85
  },
86
86
  setup(e, { slots: t }) {
87
- const { proxy: { $q: n } } = X(), a = ie(e), o = u(
87
+ const { proxy: { $q: n } } = W(), a = ie(e), o = u(
88
88
  () => "q-icon" + (e.left === !0 ? " on-left" : "") + (e.right === !0 ? " on-right" : "") + (e.color !== void 0 ? ` text-${e.color}` : "")
89
89
  ), s = u(() => {
90
90
  let r, i = e.name;
@@ -102,7 +102,7 @@ const ue = "0 0 24 24", ce = (e) => e, ee = (e) => `ionicons ${e}`, Be = {
102
102
  content: f.content !== void 0 ? f.content : " "
103
103
  };
104
104
  }
105
- if (He.test(i) === !0) {
105
+ if (Ue.test(i) === !0) {
106
106
  const [f, _ = ue] = i.split("|");
107
107
  return {
108
108
  svg: !0,
@@ -113,12 +113,12 @@ const ue = "0 0 24 24", ce = (e) => e, ee = (e) => `ionicons ${e}`, Be = {
113
113
  })
114
114
  };
115
115
  }
116
- if (Ye.test(i) === !0)
116
+ if (He.test(i) === !0)
117
117
  return {
118
118
  img: !0,
119
119
  src: i.substring(4)
120
120
  };
121
- if (Xe.test(i) === !0) {
121
+ if (Ye.test(i) === !0) {
122
122
  const [f, _ = ue] = i.split("|");
123
123
  return {
124
124
  svguse: !0,
@@ -127,12 +127,12 @@ const ue = "0 0 24 24", ce = (e) => e, ee = (e) => `ionicons ${e}`, Be = {
127
127
  };
128
128
  }
129
129
  let q = " ";
130
- const k = i.match(Ge);
130
+ const k = i.match(Qe);
131
131
  if (k !== null)
132
132
  r = Be[k[1]](i);
133
- else if (Je.test(i) === !0)
134
- r = i;
135
133
  else if (We.test(i) === !0)
134
+ r = i;
135
+ else if (Xe.test(i) === !0)
136
136
  r = `ionicons ion-${n.platform.is.ios === !0 ? "ios" : "md"}${i.substring(3)}`;
137
137
  else if (de.test(i) === !0) {
138
138
  r = "notranslate material-symbols";
@@ -140,7 +140,7 @@ const ue = "0 0 24 24", ce = (e) => e, ee = (e) => `ionicons ${e}`, Be = {
140
140
  f !== null && (i = i.substring(6), r += Le[f[1]]), q = i;
141
141
  } else {
142
142
  r = "notranslate material-icons";
143
- const f = i.match(Ue);
143
+ const f = i.match(Ge);
144
144
  f !== null && (i = i.substring(2), r += Ce[f[1]]), q = i;
145
145
  }
146
146
  return {
@@ -155,7 +155,7 @@ const ue = "0 0 24 24", ce = (e) => e, ee = (e) => `ionicons ${e}`, Be = {
155
155
  "aria-hidden": "true",
156
156
  role: "presentation"
157
157
  };
158
- return s.value.none === !0 ? p(e.tag, r, Qe(t.default)) : s.value.img === !0 ? p(e.tag, r, V(t.default, [
158
+ return s.value.none === !0 ? p(e.tag, r, Fe(t.default)) : s.value.img === !0 ? p(e.tag, r, V(t.default, [
159
159
  p("img", { src: s.value.src })
160
160
  ])) : s.value.svg === !0 ? p(e.tag, r, V(t.default, [
161
161
  p("svg", {
@@ -172,14 +172,14 @@ const ue = "0 0 24 24", ce = (e) => e, ee = (e) => `ionicons ${e}`, Be = {
172
172
  ])));
173
173
  };
174
174
  }
175
- }), Ze = {
175
+ }), Je = {
176
176
  size: {
177
177
  type: [String, Number],
178
178
  default: "1em"
179
179
  },
180
180
  color: String
181
181
  };
182
- function et(e) {
182
+ function Ze(e) {
183
183
  return {
184
184
  cSize: u(() => e.size in ne ? `${ne[e.size]}px` : e.size),
185
185
  classes: u(
@@ -187,17 +187,17 @@ function et(e) {
187
187
  )
188
188
  };
189
189
  }
190
- const tt = W({
190
+ const et = J({
191
191
  name: "QSpinner",
192
192
  props: {
193
- ...Ze,
193
+ ...Je,
194
194
  thickness: {
195
195
  type: Number,
196
196
  default: 5
197
197
  }
198
198
  },
199
199
  setup(e) {
200
- const { cSize: t, classes: n } = et(e);
200
+ const { cSize: t, classes: n } = Ze(e);
201
201
  return () => p("svg", {
202
202
  class: n.value + " q-spinner-mat",
203
203
  width: t.value,
@@ -217,12 +217,12 @@ const tt = W({
217
217
  ]);
218
218
  }
219
219
  });
220
- function nt(e, t) {
220
+ function tt(e, t) {
221
221
  const n = e.style;
222
222
  for (const a in t)
223
223
  n[a] = t[a];
224
224
  }
225
- function Gt(e) {
225
+ function Qt(e) {
226
226
  if (e == null)
227
227
  return;
228
228
  if (typeof e == "string")
@@ -235,7 +235,7 @@ function Gt(e) {
235
235
  if (t)
236
236
  return t.$el || t;
237
237
  }
238
- function Ut(e, t) {
238
+ function Gt(e, t) {
239
239
  if (e == null || e.contains(t) === !0)
240
240
  return !0;
241
241
  for (let n = e.nextElementSibling; n !== null; n = n.nextElementSibling)
@@ -243,7 +243,7 @@ function Ut(e, t) {
243
243
  return !0;
244
244
  return !1;
245
245
  }
246
- const J = {
246
+ const Z = {
247
247
  hasPassive: !1,
248
248
  passiveCapture: !0,
249
249
  notPassiveCapture: !0
@@ -251,7 +251,7 @@ const J = {
251
251
  try {
252
252
  const e = Object.defineProperty({}, "passive", {
253
253
  get() {
254
- Object.assign(J, {
254
+ Object.assign(Z, {
255
255
  hasPassive: !0,
256
256
  passive: { passive: !0 },
257
257
  notPassive: { passive: !1 },
@@ -263,15 +263,15 @@ try {
263
263
  window.addEventListener("qtest", null, e), window.removeEventListener("qtest", null, e);
264
264
  } catch {
265
265
  }
266
- function Ht() {
266
+ function Ut() {
267
267
  }
268
- function at(e) {
268
+ function nt(e) {
269
269
  return e.touches && e.touches[0] ? e = e.touches[0] : e.changedTouches && e.changedTouches[0] ? e = e.changedTouches[0] : e.targetTouches && e.targetTouches[0] && (e = e.targetTouches[0]), {
270
270
  top: e.clientY,
271
271
  left: e.clientX
272
272
  };
273
273
  }
274
- function Yt(e) {
274
+ function Ht(e) {
275
275
  if (e.path)
276
276
  return e.path;
277
277
  if (e.composedPath)
@@ -287,31 +287,31 @@ function Yt(e) {
287
287
  function Ee(e) {
288
288
  e.stopPropagation();
289
289
  }
290
- function lt(e) {
290
+ function at(e) {
291
291
  e.cancelable !== !1 && e.preventDefault();
292
292
  }
293
293
  function D(e) {
294
294
  e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
295
295
  }
296
- function ot(e, t, n) {
296
+ function lt(e, t, n) {
297
297
  const a = `__q_${t}_evt`;
298
298
  e[a] = e[a] !== void 0 ? e[a].concat(n) : n, n.forEach((o) => {
299
- o[0].addEventListener(o[1], e[o[2]], J[o[3]]);
299
+ o[0].addEventListener(o[1], e[o[2]], Z[o[3]]);
300
300
  });
301
301
  }
302
- function rt(e, t) {
302
+ function ot(e, t) {
303
303
  const n = `__q_${t}_evt`;
304
304
  e[n] !== void 0 && (e[n].forEach((a) => {
305
- a[0].removeEventListener(a[1], e[a[2]], J[a[3]]);
305
+ a[0].removeEventListener(a[1], e[a[2]], Z[a[3]]);
306
306
  }), e[n] = void 0);
307
307
  }
308
- function it(e) {
308
+ function rt(e) {
309
309
  return e !== Object(e) || e.isComposing === !0 || e.qKeyEvent === !0;
310
310
  }
311
311
  function ae(e, t) {
312
- return it(e) === !0 ? !1 : [].concat(t).includes(e.keyCode);
312
+ return rt(e) === !0 ? !1 : [].concat(t).includes(e.keyCode);
313
313
  }
314
- function st(e, t = 250) {
314
+ function it(e, t = 250) {
315
315
  let n = !1, a;
316
316
  return function() {
317
317
  return n === !1 && (n = !0, setTimeout(() => {
@@ -324,8 +324,8 @@ function ve(e, t, n, a) {
324
324
  const o = n.modifiers.color;
325
325
  let s = n.modifiers.center;
326
326
  s = s === !0 || a === !0;
327
- const r = document.createElement("span"), i = document.createElement("span"), q = at(e), { left: k, top: f, width: _, height: l } = t.getBoundingClientRect(), v = Math.sqrt(_ * _ + l * l), m = v / 2, g = `${(_ - v) / 2}px`, d = s ? g : `${q.left - k - m}px`, h = `${(l - v) / 2}px`, w = s ? h : `${q.top - f - m}px`;
328
- i.className = "q-ripple__inner", nt(i, {
327
+ const r = document.createElement("span"), i = document.createElement("span"), q = nt(e), { left: k, top: f, width: _, height: l } = t.getBoundingClientRect(), v = Math.sqrt(_ * _ + l * l), m = v / 2, g = `${(_ - v) / 2}px`, d = s ? g : `${q.left - k - m}px`, h = `${(l - v) / 2}px`, w = s ? h : `${q.top - f - m}px`;
328
+ i.className = "q-ripple__inner", tt(i, {
329
329
  height: `${v}px`,
330
330
  width: `${v}px`,
331
331
  transform: `translate3d(${d},${w},0) scale3d(.2,.2,1)`,
@@ -353,7 +353,7 @@ function ge(e, { modifiers: t, value: n, arg: a }) {
353
353
  keyCodes: [].concat(o.keyCodes || 13)
354
354
  };
355
355
  }
356
- const ut = Fe(
356
+ const st = Ke(
357
357
  {
358
358
  name: "ripple",
359
359
  beforeMount(e, t) {
@@ -368,11 +368,11 @@ const ut = Fe(
368
368
  start(o) {
369
369
  a.enabled === !0 && o.qSkipRipple !== !0 && o.type === (a.modifiers.early === !0 ? "pointerdown" : "click") && ve(o, e, a, o.qKeyEvent === !0);
370
370
  },
371
- keystart: st((o) => {
371
+ keystart: it((o) => {
372
372
  a.enabled === !0 && o.qSkipRipple !== !0 && ae(o, a.modifiers.keyCodes) === !0 && o.type === `key${a.modifiers.early === !0 ? "down" : "up"}` && ve(o, e, a, !0);
373
373
  }, 300)
374
374
  };
375
- ge(a, t), e.__qripple = a, ot(a, "main", [
375
+ ge(a, t), e.__qripple = a, lt(a, "main", [
376
376
  [e, "pointerdown", "start", "passive"],
377
377
  [e, "click", "start", "passive"],
378
378
  [e, "keydown", "keystart", "passive"],
@@ -389,7 +389,7 @@ const ut = Fe(
389
389
  const t = e.__qripple;
390
390
  t !== void 0 && (t.abort.forEach((n) => {
391
391
  n();
392
- }), rt(t, "main"), delete e._qripple);
392
+ }), ot(t, "main"), delete e._qripple);
393
393
  }
394
394
  }
395
395
  ), Re = {
@@ -400,19 +400,19 @@ const ut = Fe(
400
400
  around: "around",
401
401
  evenly: "evenly",
402
402
  stretch: "stretch"
403
- }, ct = Object.keys(Re), dt = {
403
+ }, ut = Object.keys(Re), ct = {
404
404
  align: {
405
405
  type: String,
406
- validator: (e) => ct.includes(e)
406
+ validator: (e) => ut.includes(e)
407
407
  }
408
408
  };
409
- function ft(e) {
409
+ function dt(e) {
410
410
  return u(() => {
411
411
  const t = e.align === void 0 ? e.vertical === !0 ? "stretch" : "left" : e.align;
412
412
  return `${e.vertical === !0 ? "items" : "justify"}-${Re[t]}`;
413
413
  });
414
414
  }
415
- function Xt(e) {
415
+ function Yt(e) {
416
416
  if (Object(e.$parent) === e.$parent)
417
417
  return e.$parent;
418
418
  let { parent: t } = e.$;
@@ -422,10 +422,10 @@ function Xt(e) {
422
422
  t = t.parent;
423
423
  }
424
424
  }
425
- function vt(e) {
425
+ function ft(e) {
426
426
  return e.appContext.config.globalProperties.$router !== void 0;
427
427
  }
428
- function Wt(e) {
428
+ function Xt(e) {
429
429
  return e.isUnmounted === !0 || e.isDeactivated === !0;
430
430
  }
431
431
  function pe(e) {
@@ -434,7 +434,7 @@ function pe(e) {
434
434
  function me(e, t) {
435
435
  return (e.aliasOf || e) === (t.aliasOf || t);
436
436
  }
437
- function gt(e, t) {
437
+ function vt(e, t) {
438
438
  for (const n in t) {
439
439
  const a = t[n], o = e[n];
440
440
  if (typeof a == "string") {
@@ -448,14 +448,14 @@ function gt(e, t) {
448
448
  function he(e, t) {
449
449
  return Array.isArray(t) === !0 ? e.length === t.length && e.every((n, a) => n === t[a]) : e.length === 1 && e[0] === t;
450
450
  }
451
- function pt(e, t) {
451
+ function gt(e, t) {
452
452
  return Array.isArray(e) === !0 ? he(e, t) : Array.isArray(t) === !0 ? he(t, e) : e === t;
453
453
  }
454
- function mt(e, t) {
454
+ function pt(e, t) {
455
455
  if (Object.keys(e).length !== Object.keys(t).length)
456
456
  return !1;
457
457
  for (const n in e)
458
- if (pt(e[n], t[n]) === !1)
458
+ if (gt(e[n], t[n]) === !1)
459
459
  return !1;
460
460
  return !0;
461
461
  }
@@ -468,7 +468,7 @@ const Me = {
468
468
  target: String,
469
469
  // state
470
470
  disable: Boolean
471
- }, Jt = {
471
+ }, Wt = {
472
472
  ...Me,
473
473
  // router-link
474
474
  exact: Boolean,
@@ -481,8 +481,8 @@ const Me = {
481
481
  default: "q-router-link--exact-active"
482
482
  }
483
483
  };
484
- function ht({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
485
- const n = X(), { props: a, proxy: o, emit: s } = n, r = vt(n), i = u(() => a.disable !== !0 && a.href !== void 0), q = t === !0 ? u(
484
+ function mt({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
485
+ const n = W(), { props: a, proxy: o, emit: s } = n, r = ft(n), i = u(() => a.disable !== !0 && a.href !== void 0), q = t === !0 ? u(
486
486
  () => r === !0 && a.disable !== !0 && i.value !== !0 && a.to !== void 0 && a.to !== null && a.to !== ""
487
487
  ) : u(
488
488
  () => r === !0 && i.value !== !0 && a.to !== void 0 && a.to !== null && a.to !== ""
@@ -514,9 +514,9 @@ function ht({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
514
514
  ) : T
515
515
  );
516
516
  }), g = u(
517
- () => f.value === !0 && m.value !== -1 && gt(o.$route.params, k.value.params)
517
+ () => f.value === !0 && m.value !== -1 && vt(o.$route.params, k.value.params)
518
518
  ), d = u(
519
- () => g.value === !0 && m.value === o.$route.matched.length - 1 && mt(o.$route.params, k.value.params)
519
+ () => g.value === !0 && m.value === o.$route.matched.length - 1 && pt(o.$route.params, k.value.params)
520
520
  ), h = u(() => f.value === !0 ? d.value === !0 ? ` ${a.exactActiveClass} ${a.activeClass}` : a.exact === !0 ? "" : g.value === !0 ? ` ${a.activeClass}` : "" : "");
521
521
  function w(b) {
522
522
  try {
@@ -569,21 +569,21 @@ const be = {
569
569
  md: 16,
570
570
  lg: 24,
571
571
  xl: 32
572
- }, bt = {
572
+ }, ht = {
573
573
  xs: 8,
574
574
  sm: 10,
575
575
  md: 14,
576
576
  lg: 20,
577
577
  xl: 24
578
- }, yt = ["button", "submit", "reset"], kt = /[^\s]\/[^\s]/, _t = ["flat", "outline", "push", "unelevated"];
578
+ }, bt = ["button", "submit", "reset"], yt = /[^\s]\/[^\s]/, kt = ["flat", "outline", "push", "unelevated"];
579
579
  function Pe(e, t) {
580
580
  return e.flat === !0 ? "flat" : e.outline === !0 ? "outline" : e.push === !0 ? "push" : e.unelevated === !0 ? "unelevated" : t;
581
581
  }
582
- function Zt(e) {
582
+ function Jt(e) {
583
583
  const t = Pe(e);
584
584
  return t !== void 0 ? { [t]: !0 } : {};
585
585
  }
586
- const $t = {
586
+ const _t = {
587
587
  ...re,
588
588
  ...Me,
589
589
  type: {
@@ -593,7 +593,7 @@ const $t = {
593
593
  label: [Number, String],
594
594
  icon: String,
595
595
  iconRight: String,
596
- ..._t.reduce(
596
+ ...kt.reduce(
597
597
  (e, t) => (e[t] = Boolean) && e,
598
598
  {}
599
599
  ),
@@ -615,7 +615,7 @@ const $t = {
615
615
  default: !0
616
616
  },
617
617
  align: {
618
- ...dt.align,
618
+ ...ct.align,
619
619
  default: "center"
620
620
  },
621
621
  stack: Boolean,
@@ -625,12 +625,12 @@ const $t = {
625
625
  default: null
626
626
  },
627
627
  disable: Boolean
628
- }, qt = {
629
- ...$t,
628
+ }, $t = {
629
+ ..._t,
630
630
  round: Boolean
631
631
  };
632
- function St(e) {
633
- const t = ie(e, bt), n = ft(e), { hasRouterLink: a, hasLink: o, linkTag: s, linkAttrs: r, navigateOnClick: i } = ht({
632
+ function qt(e) {
633
+ const t = ie(e, ht), n = dt(e), { hasRouterLink: a, hasLink: o, linkTag: s, linkAttrs: r, navigateOnClick: i } = mt({
634
634
  fallbackTag: "button"
635
635
  }), q = u(() => {
636
636
  const d = e.fab === !1 && e.fabMini === !1 ? t.value : {};
@@ -645,7 +645,7 @@ function St(e) {
645
645
  () => e.disable !== !0 && e.loading !== !0
646
646
  ), _ = u(() => f.value === !0 ? e.tabindex || 0 : -1), l = u(() => Pe(e, "standard")), v = u(() => {
647
647
  const d = { tabindex: _.value };
648
- return o.value === !0 ? Object.assign(d, r.value) : yt.includes(e.type) === !0 && (d.type = e.type), s.value === "a" ? (e.disable === !0 ? d["aria-disabled"] = "true" : d.href === void 0 && (d.role = "button"), a.value !== !0 && kt.test(e.type) === !0 && (d.type = e.type)) : e.disable === !0 && (d.disabled = "", d["aria-disabled"] = "true"), e.loading === !0 && e.percentage !== void 0 && Object.assign(d, {
648
+ return o.value === !0 ? Object.assign(d, r.value) : bt.includes(e.type) === !0 && (d.type = e.type), s.value === "a" ? (e.disable === !0 ? d["aria-disabled"] = "true" : d.href === void 0 && (d.role = "button"), a.value !== !0 && yt.test(e.type) === !0 && (d.type = e.type)) : e.disable === !0 && (d.disabled = "", d["aria-disabled"] = "true"), e.loading === !0 && e.percentage !== void 0 && Object.assign(d, {
649
649
  role: "progressbar",
650
650
  "aria-valuemin": 0,
651
651
  "aria-valuemax": 100,
@@ -670,19 +670,19 @@ function St(e) {
670
670
  isActionable: f
671
671
  };
672
672
  }
673
- const { passiveCapture: L } = J;
673
+ const { passiveCapture: L } = Z;
674
674
  let x = null, j = null, I = null;
675
- const wt = W({
675
+ const St = J({
676
676
  name: "QBtn",
677
677
  props: {
678
- ...qt,
678
+ ...$t,
679
679
  percentage: Number,
680
680
  darkPercentage: Boolean,
681
681
  onTouchstart: [Function, Array]
682
682
  },
683
683
  emits: ["click", "keydown", "mousedown", "keyup"],
684
684
  setup(e, { slots: t, emit: n }) {
685
- const { proxy: a } = X(), {
685
+ const { proxy: a } = W(), {
686
686
  classes: o,
687
687
  style: s,
688
688
  innerClasses: r,
@@ -691,7 +691,7 @@ const wt = W({
691
691
  linkTag: k,
692
692
  navigateOnClick: f,
693
693
  isActionable: _
694
- } = St(e), l = te(null), v = te(null);
694
+ } = qt(e), l = Y(null), v = Y(null);
695
695
  let m = null, g, d = null;
696
696
  const h = u(
697
697
  () => e.label !== void 0 && e.label !== null && e.label !== ""
@@ -766,7 +766,7 @@ const wt = W({
766
766
  if (c !== void 0 && c.type === "keyup") {
767
767
  if (j === l.value && ae(c, [13, 32]) === !0) {
768
768
  const y = new MouseEvent("click", c);
769
- y.qKeyEvent = !0, c.defaultPrevented === !0 && lt(y), c.cancelBubble === !0 && Ee(y), l.value.dispatchEvent(y), D(c), c.qKeyEvent = !0;
769
+ y.qKeyEvent = !0, c.defaultPrevented === !0 && at(y), c.cancelBubble === !0 && Ee(y), l.value.dispatchEvent(y), D(c), c.qKeyEvent = !0;
770
770
  }
771
771
  n("keyup", c);
772
772
  }
@@ -829,7 +829,7 @@ const wt = W({
829
829
  p("span", {
830
830
  key: "loading",
831
831
  class: "absolute-full flex flex-center"
832
- }, t.loading !== void 0 ? t.loading() : [p(tt)])
832
+ }, t.loading !== void 0 ? t.loading() : [p(et)])
833
833
  ] : null)
834
834
  ), le(
835
835
  p(
@@ -838,7 +838,7 @@ const wt = W({
838
838
  y
839
839
  ),
840
840
  [[
841
- ut,
841
+ st,
842
842
  w.value,
843
843
  void 0,
844
844
  M.value
@@ -846,7 +846,7 @@ const wt = W({
846
846
  );
847
847
  };
848
848
  }
849
- }), Bt = /* @__PURE__ */ Q({
849
+ }), wt = /* @__PURE__ */ Q({
850
850
  __name: "AppButton",
851
851
  props: {
852
852
  size: { default: $.MD },
@@ -885,11 +885,11 @@ const wt = W({
885
885
  },
886
886
  `app-btn_${t.color}`
887
887
  ]);
888
- return (a, o) => (S(), _e(H(wt), {
888
+ return (a, o) => (S(), _e(H(St), {
889
889
  "no-caps": "",
890
890
  unelevated: "",
891
891
  class: A(n.value),
892
- padding: H(Ke)[a.size || H($).MD],
892
+ padding: H(Ne)[a.size || H($).MD],
893
893
  loading: a.loading,
894
894
  disable: a.disabled || void 0,
895
895
  to: a.to,
@@ -912,7 +912,7 @@ const wt = W({
912
912
  }, null, 2)) : z("", !0),
913
913
  $e(a.$slots, "default", {}, void 0, !0),
914
914
  a.label ? (S(), B(qe, { key: 1 }, [
915
- Oe(Y(a.label), 1)
915
+ Oe(X(a.label), 1)
916
916
  ], 64)) : z("", !0),
917
917
  a.iconRight ? (S(), B("i", {
918
918
  key: 2,
@@ -927,18 +927,18 @@ const wt = W({
927
927
  _: 3
928
928
  }, 8, ["class", "padding", "loading", "disable", "to", "href", "target", "type", "aria-label", "download"]));
929
929
  }
930
- }), Z = (e, t) => {
930
+ }), ee = (e, t) => {
931
931
  const n = e.__vccOpts || e;
932
932
  for (const [a, o] of t)
933
933
  n[a] = o;
934
934
  return n;
935
- }, en = /* @__PURE__ */ Z(Bt, [["__scopeId", "data-v-99788ad1"]]), Ct = {
935
+ }, Zt = /* @__PURE__ */ ee(wt, [["__scopeId", "data-v-99788ad1"]]), Bt = {
936
936
  key: 0,
937
937
  class: "app-toggle__label app-toggle__label_left"
938
- }, Lt = { class: "app-toggle__container" }, Et = ["checked", "disabled"], Rt = { class: "app-toggle__thumb" }, Mt = {
938
+ }, Ct = { class: "app-toggle__container" }, Lt = ["checked", "disabled"], Et = { class: "app-toggle__thumb" }, Rt = {
939
939
  key: 1,
940
940
  class: "app-toggle__label"
941
- }, Pt = /* @__PURE__ */ Q({
941
+ }, Mt = /* @__PURE__ */ Q({
942
942
  __name: "AppToggle",
943
943
  props: {
944
944
  modelValue: { type: Boolean },
@@ -972,19 +972,19 @@ const wt = W({
972
972
  return (r, i) => (S(), B("div", {
973
973
  class: A(s.value)
974
974
  }, [
975
- r.label && r.labelLeft ? (S(), B("span", Ct, Y(r.label), 1)) : z("", !0),
976
- F("label", Lt, [
975
+ r.label && r.labelLeft ? (S(), B("span", Bt, X(r.label), 1)) : z("", !0),
976
+ F("label", Ct, [
977
977
  F("input", {
978
978
  type: "checkbox",
979
979
  checked: o.value,
980
980
  onChange: i[0] || (i[0] = (q) => o.value = !o.value),
981
981
  disabled: r.disabled,
982
982
  class: "app-toggle__input"
983
- }, null, 40, Et),
983
+ }, null, 40, Lt),
984
984
  F("span", {
985
985
  class: A(["app-toggle__slider", o.value ? `bg-${r.color}` : ""])
986
986
  }, [
987
- F("span", Rt, [
987
+ F("span", Et, [
988
988
  r.icon && !r.modelValue ? (S(), B("i", {
989
989
  key: 0,
990
990
  class: A(["icon-kl", `icon-kl-${r.icon}`, "app-toggle__icon"])
@@ -1002,10 +1002,10 @@ const wt = W({
1002
1002
  ], 2),
1003
1003
  $e(r.$slots, "default", {}, void 0, !0)
1004
1004
  ]),
1005
- r.label && !r.labelLeft ? (S(), B("span", Mt, Y(r.label), 1)) : z("", !0)
1005
+ r.label && !r.labelLeft ? (S(), B("span", Rt, X(r.label), 1)) : z("", !0)
1006
1006
  ], 2));
1007
1007
  }
1008
- }), tn = /* @__PURE__ */ Z(Pt, [["__scopeId", "data-v-e0e56123"]]), At = /* @__PURE__ */ Q({
1008
+ }), en = /* @__PURE__ */ ee(Mt, [["__scopeId", "data-v-e0e56123"]]), Pt = /* @__PURE__ */ Q({
1009
1009
  __name: "AppIcon",
1010
1010
  props: {
1011
1011
  name: {},
@@ -1018,16 +1018,16 @@ const wt = W({
1018
1018
  style: Se(t.size ? `font-size: ${t.size}` : void 0)
1019
1019
  }, null, 6));
1020
1020
  }
1021
- }), nn = /* @__PURE__ */ Z(At, [["__scopeId", "data-v-941765ee"]]), zt = {
1021
+ }), tn = /* @__PURE__ */ ee(Pt, [["__scopeId", "data-v-941765ee"]]), At = {
1022
1022
  dark: {
1023
1023
  type: Boolean,
1024
1024
  default: null
1025
1025
  }
1026
1026
  };
1027
- function Tt(e, t) {
1027
+ function zt(e, t) {
1028
1028
  return u(() => e.dark === null ? t.dark.isActive : e.dark);
1029
1029
  }
1030
- const Ot = {
1030
+ const Tt = {
1031
1031
  xs: 2,
1032
1032
  sm: 4,
1033
1033
  md: 6,
@@ -1039,10 +1039,10 @@ function ye(e, t, n) {
1039
1039
  transform: t === !0 ? `translateX(${n.lang.rtl === !0 ? "-" : ""}100%) scale3d(${-e},1,1)` : `scale3d(${e},1,1)`
1040
1040
  };
1041
1041
  }
1042
- const Dt = W({
1042
+ const Ot = J({
1043
1043
  name: "QLinearProgress",
1044
1044
  props: {
1045
- ...zt,
1045
+ ...At,
1046
1046
  ...re,
1047
1047
  value: {
1048
1048
  type: Number,
@@ -1063,7 +1063,7 @@ const Dt = W({
1063
1063
  instantFeedback: Boolean
1064
1064
  },
1065
1065
  setup(e, { slots: t }) {
1066
- const { proxy: n } = X(), a = Tt(e, n.$q), o = ie(e, Ot), s = u(() => e.indeterminate === !0 || e.query === !0), r = u(() => e.reverse !== e.query), i = u(() => ({
1066
+ const { proxy: n } = W(), a = zt(e, n.$q), o = ie(e, Tt), s = u(() => e.indeterminate === !0 || e.query === !0), r = u(() => e.reverse !== e.query), i = u(() => ({
1067
1067
  ...o.value !== null ? o.value : {},
1068
1068
  "--q-linear-progress-speed": `${e.animationSpeed}ms`
1069
1069
  })), q = u(
@@ -1101,10 +1101,10 @@ const Dt = W({
1101
1101
  }, V(t.default, d));
1102
1102
  };
1103
1103
  }
1104
- }), xt = {
1104
+ }), Dt = {
1105
1105
  key: 0,
1106
1106
  class: "code-field__label"
1107
- }, jt = { class: "code-field__inputs" }, It = ["onUpdate:modelValue", "disabled", "onInput", "onKeydown", "onPaste"], Vt = /* @__PURE__ */ Q({
1107
+ }, xt = { class: "code-field__inputs" }, jt = ["onUpdate:modelValue", "disabled", "onInput", "onKeydown", "onPaste"], It = /* @__PURE__ */ Q({
1108
1108
  __name: "AppCodeInput",
1109
1109
  props: {
1110
1110
  length: { default: 5 },
@@ -1117,7 +1117,7 @@ const Dt = W({
1117
1117
  },
1118
1118
  emits: ["update:modelValue", "completed"],
1119
1119
  setup(e, { emit: t }) {
1120
- const n = e, a = t, o = te(Array(n.length).fill("")), s = De("inputRefs"), r = u(() => [
1120
+ const n = e, a = t, o = Y(Array(n.length).fill("")), s = Y([]), r = u(() => [
1121
1121
  "code-field",
1122
1122
  {
1123
1123
  "code-field_sm": n.size === $.SM,
@@ -1131,9 +1131,9 @@ const Dt = W({
1131
1131
  return n.size == $.SM && (l += `width: ${n.length * 26 + (n.length - 1) * 5}px`), n.size == $.MD && (l += `width: ${n.length * 32 + (n.length - 1) * 8}px`), n.size == $.LG && (l += `width: ${n.length * 44 + (n.length - 1) * 10}px`), l;
1132
1132
  }), q = (l, v) => {
1133
1133
  var d;
1134
- const m = l.target, g = m.value;
1134
+ const g = l.target.value;
1135
1135
  if (g.length === 1)
1136
- console.log("input", m.value), v < n.length - 1 && s.value && ((d = s.value[v + 1]) == null || d.focus());
1136
+ v < n.length - 1 && s.value && ((d = s.value[v + 1]) == null || d.focus());
1137
1137
  else if (g.length > 1) {
1138
1138
  const h = g.slice(0, n.length - v).split("");
1139
1139
  h.forEach((w, M) => {
@@ -1159,7 +1159,7 @@ const Dt = W({
1159
1159
  s.value && ((h = s.value[Math.min(v + g.length, n.length - 1)]) == null || h.focus());
1160
1160
  });
1161
1161
  };
1162
- xe(
1162
+ De(
1163
1163
  o,
1164
1164
  (l) => {
1165
1165
  const v = l.join("");
@@ -1170,15 +1170,15 @@ const Dt = W({
1170
1170
  const _ = (l) => {
1171
1171
  a("update:modelValue", l), l.length === n.length && !l.includes(" ") && a("completed", l);
1172
1172
  };
1173
- return je(() => {
1173
+ return xe(() => {
1174
1174
  n.autofocus && s.value && s.value[0] && s.value[0].focus();
1175
1175
  }), (l, v) => (S(), B("div", {
1176
1176
  class: A(r.value),
1177
1177
  style: Se(i.value)
1178
1178
  }, [
1179
- l.label ? (S(), B("label", xt, Y(l.label), 1)) : z("", !0),
1180
- F("div", jt, [
1181
- (S(!0), B(qe, null, Ie(l.length, (m, g) => le((S(), B("input", {
1179
+ l.label ? (S(), B("label", Dt, X(l.label), 1)) : z("", !0),
1180
+ F("div", xt, [
1181
+ (S(!0), B(qe, null, je(l.length, (m, g) => le((S(), B("input", {
1182
1182
  key: g,
1183
1183
  "onUpdate:modelValue": (d) => o.value[g] = d,
1184
1184
  ref_for: !0,
@@ -1189,13 +1189,13 @@ const Dt = W({
1189
1189
  class: "code-field__input",
1190
1190
  disabled: l.disabled || l.loading,
1191
1191
  onInput: (d) => q(d, g),
1192
- onKeydown: Ve((d) => k(g), ["backspace"]),
1192
+ onKeydown: Ie((d) => k(g), ["backspace"]),
1193
1193
  onPaste: (d) => f(d, g)
1194
- }, null, 40, It)), [
1195
- [Ne, o.value[g]]
1194
+ }, null, 40, jt)), [
1195
+ [Ve, o.value[g]]
1196
1196
  ])), 128))
1197
1197
  ]),
1198
- l.loading ? (S(), _e(Dt, {
1198
+ l.loading ? (S(), _e(Ot, {
1199
1199
  key: 1,
1200
1200
  indeterminate: "",
1201
1201
  rounded: "",
@@ -1204,57 +1204,57 @@ const Dt = W({
1204
1204
  }, null, 8, ["color"])) : z("", !0)
1205
1205
  ], 6));
1206
1206
  }
1207
- }), an = /* @__PURE__ */ Z(Vt, [["__scopeId", "data-v-b7363163"]]), ln = oe(
1208
- () => import("./AppButtonCopy-DVw7F15T.js")
1207
+ }), nn = /* @__PURE__ */ ee(It, [["__scopeId", "data-v-d6040441"]]), an = oe(
1208
+ () => import("./AppButtonCopy-C0dCS9kH.js")
1209
+ ), ln = oe(
1210
+ () => import("./AppSelect-CJ7lepXJ.js")
1209
1211
  ), on = oe(
1210
- () => import("./AppSelect-GSRA0lfd.js")
1211
- ), rn = oe(
1212
- () => import("./DropdownButton-DuQ2poIa.js")
1212
+ () => import("./DropdownButton-BRrrSH-F.js")
1213
1213
  );
1214
1214
  export {
1215
- en as A,
1216
- rt as B,
1215
+ Zt as A,
1216
+ ot as B,
1217
1217
  we as C,
1218
- vt as D,
1219
- Xt as E,
1220
- Wt as F,
1221
- Gt as G,
1222
- nt as H,
1223
- at as I,
1224
- rn as J,
1225
- ln as K,
1226
- on as L,
1227
- an as M,
1228
- tn as N,
1229
- nn as O,
1218
+ ft as D,
1219
+ Yt as E,
1220
+ Xt as F,
1221
+ Qt as G,
1222
+ tt as H,
1223
+ nt as I,
1224
+ on as J,
1225
+ an as K,
1226
+ ln as L,
1227
+ nn as M,
1228
+ en as N,
1229
+ tn as O,
1230
1230
  fe as Q,
1231
- ut as R,
1231
+ st as R,
1232
1232
  $ as S,
1233
- Z as _,
1233
+ ee as _,
1234
1234
  ie as a,
1235
1235
  V as b,
1236
- W as c,
1236
+ J as c,
1237
1237
  re as d,
1238
- zt as e,
1239
- ht as f,
1240
- Kt as g,
1241
- Qe as h,
1238
+ At as e,
1239
+ mt as f,
1240
+ Nt as g,
1241
+ Fe as h,
1242
1242
  ae as i,
1243
- Jt as j,
1244
- tt as k,
1245
- Qt as l,
1246
- Ft as m,
1247
- J as n,
1248
- Yt as o,
1249
- lt as p,
1250
- Ut as q,
1251
- Ht as r,
1243
+ Wt as j,
1244
+ et as k,
1245
+ Ft as l,
1246
+ Kt as m,
1247
+ Z as n,
1248
+ Ht as o,
1249
+ at as p,
1250
+ Gt as q,
1251
+ Ut as r,
1252
1252
  D as s,
1253
1253
  Ee as t,
1254
- Tt as u,
1255
- it as v,
1256
- Zt as w,
1257
- $t as x,
1258
- wt as y,
1259
- ot as z
1254
+ zt as u,
1255
+ rt as v,
1256
+ Jt as w,
1257
+ _t as x,
1258
+ St as y,
1259
+ lt as z
1260
1260
  };