@validol4ik/uikit 0.9.2 → 0.9.3

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 r, markRaw as Ee, defineComponent as K, h as p, withDirectives as oe, getCurrentInstance as ee, unref as Z, ref as W, onBeforeUnmount as Fe, Transition as Qe, openBlock as b, createBlock as ae, normalizeClass as P, withCtx as Ue, createElementBlock as _, createCommentVNode as V, renderSlot as se, Fragment as ie, createTextVNode as Pe, toDisplayString as Y, withModifiers as He, createElementVNode as T, toRaw as Q, createVNode as Xe, normalizeStyle as re, watch as We, onMounted as Ye, renderList as Le, withKeys as Ge, vModelText as Je, nextTick as he, useModel as Ze, mergeModels as et, defineAsyncComponent as ge } from "vue";
1
+ import { computed as r, markRaw as Ee, defineComponent as K, h as p, withDirectives as oe, getCurrentInstance as ee, unref as Z, ref as W, onBeforeUnmount as Qe, Transition as Ue, openBlock as h, createBlock as ae, normalizeClass as P, withCtx as He, createElementBlock as _, createCommentVNode as V, renderSlot as se, Fragment as ie, createTextVNode as Pe, toDisplayString as Y, withModifiers as Le, createElementVNode as T, toRaw as Q, createVNode as Xe, normalizeStyle as re, watch as We, onMounted as Ye, renderList as Re, withKeys as Ge, vModelText as Je, nextTick as be, useModel as Ze, mergeModels as et, defineAsyncComponent as ge } from "vue";
2
2
  const $n = ({ app: e }) => {
3
3
  const t = e.config.globalProperties.$q;
4
4
  t.iconMapFn = (n) => {
@@ -7,7 +7,7 @@ const $n = ({ app: e }) => {
7
7
  cls: `icon-kl icon-kl-${n.slice(8)}`
8
8
  };
9
9
  };
10
- }, Re = {
10
+ }, Me = {
11
11
  PRIMARY: "primary",
12
12
  INFO: "info"
13
13
  }, z = {
@@ -35,10 +35,10 @@ function ce(e, t = pe) {
35
35
  function te(e) {
36
36
  return Ee(K(e));
37
37
  }
38
- function Me(e) {
38
+ function Ve(e) {
39
39
  return Ee(e);
40
40
  }
41
- function Ve(e, t) {
41
+ function Ae(e, t) {
42
42
  return e !== void 0 && e() || t;
43
43
  }
44
44
  function qn(e, t) {
@@ -60,7 +60,7 @@ function Sn(e, t, n, a, s, l) {
60
60
  const o = p(e, t, n);
61
61
  return s === !0 ? oe(o, l()) : o;
62
62
  }
63
- const be = "0 0 24 24", fe = (e) => e, ve = (e) => `ionicons ${e}`, Ae = {
63
+ const he = "0 0 24 24", fe = (e) => e, ve = (e) => `ionicons ${e}`, Ie = {
64
64
  "mdi-": (e) => `mdi ${e}`,
65
65
  "icon-": fe,
66
66
  // fontawesome equiv
@@ -74,15 +74,15 @@ const be = "0 0 24 24", fe = (e) => e, ve = (e) => `ionicons ${e}`, Ae = {
74
74
  "bi-": (e) => `bootstrap-icons ${e}`,
75
75
  "i-": fe
76
76
  // UnoCSS pure icons
77
- }, Ie = {
77
+ }, Te = {
78
78
  o_: "-outlined",
79
79
  r_: "-round",
80
80
  s_: "-sharp"
81
- }, Te = {
81
+ }, ze = {
82
82
  sym_o_: "-outlined",
83
83
  sym_r_: "-rounded",
84
84
  sym_s_: "-sharp"
85
- }, nt = new RegExp("^(" + Object.keys(Ae).join("|") + ")"), at = new RegExp("^(" + Object.keys(Ie).join("|") + ")"), ke = new RegExp("^(" + Object.keys(Te).join("|") + ")"), lt = /^[Mm]\s?[-+]?\.?\d/, ot = /^img:/, st = /^svguse:/, it = /^ion-/, rt = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, me = te({
85
+ }, nt = new RegExp("^(" + Object.keys(Ie).join("|") + ")"), at = new RegExp("^(" + Object.keys(Te).join("|") + ")"), ke = new RegExp("^(" + Object.keys(ze).join("|") + ")"), lt = /^[Mm]\s?[-+]?\.?\d/, ot = /^img:/, st = /^svguse:/, it = /^ion-/, rt = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, me = te({
86
86
  name: "QIcon",
87
87
  props: {
88
88
  ...ue,
@@ -115,7 +115,7 @@ const be = "0 0 24 24", fe = (e) => e, ve = (e) => `ionicons ${e}`, Ae = {
115
115
  };
116
116
  }
117
117
  if (lt.test(i) === !0) {
118
- const [f, C = be] = i.split("|");
118
+ const [f, C = he] = i.split("|");
119
119
  return {
120
120
  svg: !0,
121
121
  viewBox: C,
@@ -131,7 +131,7 @@ const be = "0 0 24 24", fe = (e) => e, ve = (e) => `ionicons ${e}`, Ae = {
131
131
  src: i.substring(4)
132
132
  };
133
133
  if (st.test(i) === !0) {
134
- const [f, C = be] = i.split("|");
134
+ const [f, C = he] = i.split("|");
135
135
  return {
136
136
  svguse: !0,
137
137
  src: f.substring(7),
@@ -141,7 +141,7 @@ const be = "0 0 24 24", fe = (e) => e, ve = (e) => `ionicons ${e}`, Ae = {
141
141
  let $ = " ";
142
142
  const y = i.match(nt);
143
143
  if (y !== null)
144
- o = Ae[y[1]](i);
144
+ o = Ie[y[1]](i);
145
145
  else if (rt.test(i) === !0)
146
146
  o = i;
147
147
  else if (it.test(i) === !0)
@@ -149,11 +149,11 @@ const be = "0 0 24 24", fe = (e) => e, ve = (e) => `ionicons ${e}`, Ae = {
149
149
  else if (ke.test(i) === !0) {
150
150
  o = "notranslate material-symbols";
151
151
  const f = i.match(ke);
152
- f !== null && (i = i.substring(6), o += Te[f[1]]), $ = i;
152
+ f !== null && (i = i.substring(6), o += ze[f[1]]), $ = i;
153
153
  } else {
154
154
  o = "notranslate material-icons";
155
155
  const f = i.match(at);
156
- f !== null && (i = i.substring(2), o += Ie[f[1]]), $ = i;
156
+ f !== null && (i = i.substring(2), o += Te[f[1]]), $ = i;
157
157
  }
158
158
  return {
159
159
  cls: o,
@@ -166,7 +166,7 @@ const be = "0 0 24 24", fe = (e) => e, ve = (e) => `ionicons ${e}`, Ae = {
166
166
  style: a.value,
167
167
  "aria-hidden": "true"
168
168
  };
169
- return l.value.none === !0 ? p(e.tag, o, Ve(t.default)) : l.value.img === !0 ? p(e.tag, o, N(t.default, [
169
+ return l.value.none === !0 ? p(e.tag, o, Ae(t.default)) : l.value.img === !0 ? p(e.tag, o, N(t.default, [
170
170
  p("img", { src: l.value.src })
171
171
  ])) : l.value.svg === !0 ? p(e.tag, o, N(t.default, [
172
172
  p("svg", {
@@ -198,7 +198,7 @@ function ct(e) {
198
198
  )
199
199
  };
200
200
  }
201
- const ze = te({
201
+ const Oe = te({
202
202
  name: "QSpinner",
203
203
  props: {
204
204
  ...ut,
@@ -295,7 +295,7 @@ function Pn(e) {
295
295
  n = n.parentElement;
296
296
  }
297
297
  }
298
- function Oe(e) {
298
+ function je(e) {
299
299
  e.stopPropagation();
300
300
  }
301
301
  function vt(e) {
@@ -322,7 +322,7 @@ function gt(e) {
322
322
  function le(e, t) {
323
323
  return gt(e) === !0 ? !1 : [].concat(t).includes(e.keyCode);
324
324
  }
325
- function ht(e, t = 250) {
325
+ function bt(e, t = 250) {
326
326
  let n = !1, a;
327
327
  return function() {
328
328
  return n === !1 && (n = !0, setTimeout(() => {
@@ -331,11 +331,11 @@ function ht(e, t = 250) {
331
331
  };
332
332
  }
333
333
  function ye(e, t, n, a) {
334
- n.modifiers.stop === !0 && Oe(e);
334
+ n.modifiers.stop === !0 && je(e);
335
335
  const s = n.modifiers.color;
336
336
  let l = n.modifiers.center;
337
337
  l = l === !0 || a === !0;
338
- const o = document.createElement("span"), i = document.createElement("span"), $ = ft(e), { left: y, top: f, width: C, height: d } = t.getBoundingClientRect(), q = Math.sqrt(C * C + d * d), u = q / 2, m = `${(C - q) / 2}px`, v = l ? m : `${$.left - y - u}px`, h = `${(d - q) / 2}px`, S = l ? h : `${$.top - f - u}px`;
338
+ const o = document.createElement("span"), i = document.createElement("span"), $ = ft(e), { left: y, top: f, width: C, height: d } = t.getBoundingClientRect(), q = Math.sqrt(C * C + d * d), u = q / 2, m = `${(C - q) / 2}px`, v = l ? m : `${$.left - y - u}px`, b = `${(d - q) / 2}px`, S = l ? b : `${$.top - f - u}px`;
339
339
  i.className = "q-ripple__inner", dt(i, {
340
340
  height: `${q}px`,
341
341
  width: `${q}px`,
@@ -347,7 +347,7 @@ function ye(e, t, n, a) {
347
347
  };
348
348
  n.abort.push(w);
349
349
  let E = setTimeout(() => {
350
- i.classList.add("q-ripple__inner--enter"), i.style.transform = `translate3d(${m},${h},0) scale3d(1,1,1)`, i.style.opacity = 0.2, E = setTimeout(() => {
350
+ i.classList.add("q-ripple__inner--enter"), i.style.transform = `translate3d(${m},${b},0) scale3d(1,1,1)`, i.style.opacity = 0.2, E = setTimeout(() => {
351
351
  i.classList.remove("q-ripple__inner--enter"), i.classList.add("q-ripple__inner--leave"), i.style.opacity = 0, E = setTimeout(() => {
352
352
  o.remove(), n.abort.splice(n.abort.indexOf(w), 1);
353
353
  }, 275);
@@ -364,7 +364,7 @@ function _e(e, { modifiers: t, value: n, arg: a }) {
364
364
  keyCodes: [].concat(s.keyCodes || 13)
365
365
  };
366
366
  }
367
- const bt = Me(
367
+ const ht = Ve(
368
368
  {
369
369
  name: "ripple",
370
370
  beforeMount(e, t) {
@@ -378,7 +378,7 @@ const bt = Me(
378
378
  start(s) {
379
379
  a.enabled === !0 && s.qSkipRipple !== !0 && s.type === (a.modifiers.early === !0 ? "pointerdown" : "click") && ye(s, e, a, s.qKeyEvent === !0);
380
380
  },
381
- keystart: ht((s) => {
381
+ keystart: bt((s) => {
382
382
  a.enabled === !0 && s.qSkipRipple !== !0 && le(s, a.modifiers.keyCodes) === !0 && s.type === `key${a.modifiers.early === !0 ? "down" : "up"}` && ye(s, e, a, !0);
383
383
  }, 300)
384
384
  };
@@ -402,7 +402,7 @@ const bt = Me(
402
402
  }), mt(t, "main"), delete e._qripple);
403
403
  }
404
404
  }
405
- ), je = {
405
+ ), De = {
406
406
  left: "start",
407
407
  center: "center",
408
408
  right: "end",
@@ -410,7 +410,7 @@ const bt = Me(
410
410
  around: "around",
411
411
  evenly: "evenly",
412
412
  stretch: "stretch"
413
- }, kt = Object.keys(je), yt = {
413
+ }, kt = Object.keys(De), yt = {
414
414
  align: {
415
415
  type: String,
416
416
  validator: (e) => kt.includes(e)
@@ -419,7 +419,7 @@ const bt = Me(
419
419
  function _t(e) {
420
420
  return r(() => {
421
421
  const t = e.align === void 0 ? e.vertical === !0 ? "stretch" : "left" : e.align;
422
- return `${e.vertical === !0 ? "items" : "justify"}-${je[t]}`;
422
+ return `${e.vertical === !0 ? "items" : "justify"}-${De[t]}`;
423
423
  });
424
424
  }
425
425
  function ne(e) {
@@ -469,7 +469,7 @@ function St(e, t) {
469
469
  return !1;
470
470
  return !0;
471
471
  }
472
- const De = {
472
+ const xe = {
473
473
  // router-link
474
474
  to: [String, Object],
475
475
  replace: Boolean,
@@ -479,7 +479,7 @@ const De = {
479
479
  // state
480
480
  disable: Boolean
481
481
  }, Rn = {
482
- ...De,
482
+ ...xe,
483
483
  // router-link
484
484
  exact: Boolean,
485
485
  activeClass: {
@@ -527,7 +527,7 @@ function Bt({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
527
527
  () => f.value === !0 && u.value !== -1 && qt(s.$route.params, y.value.params)
528
528
  ), v = r(
529
529
  () => m.value === !0 && u.value === s.$route.matched.length - 1 && St(s.$route.params, y.value.params)
530
- ), h = r(() => f.value === !0 ? v.value === !0 ? ` ${a.exactActiveClass} ${a.activeClass}` : a.exact === !0 ? "" : m.value === !0 ? ` ${a.activeClass}` : "" : "");
530
+ ), b = r(() => f.value === !0 ? v.value === !0 ? ` ${a.exactActiveClass} ${a.activeClass}` : a.exact === !0 ? "" : m.value === !0 ? ` ${a.activeClass}` : "" : "");
531
531
  function S(k) {
532
532
  try {
533
533
  return s.$router.resolve(k);
@@ -565,7 +565,7 @@ function Bt({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
565
565
  resolvedLink: y,
566
566
  linkIsActive: m,
567
567
  linkIsExactActive: v,
568
- linkClass: h,
568
+ linkClass: b,
569
569
  linkAttrs: q,
570
570
  getLink: S,
571
571
  navigateToRouterLink: w,
@@ -586,16 +586,16 @@ const Se = {
586
586
  lg: 20,
587
587
  xl: 24
588
588
  }, Et = ["button", "submit", "reset"], Pt = /[^\s]\/[^\s]/, Lt = ["flat", "outline", "push", "unelevated"];
589
- function xe(e, t) {
589
+ function Ne(e, t) {
590
590
  return e.flat === !0 ? "flat" : e.outline === !0 ? "outline" : e.push === !0 ? "push" : e.unelevated === !0 ? "unelevated" : t;
591
591
  }
592
592
  function Mn(e) {
593
- const t = xe(e);
593
+ const t = Ne(e);
594
594
  return t !== void 0 ? { [t]: !0 } : {};
595
595
  }
596
596
  const Rt = {
597
597
  ...ue,
598
- ...De,
598
+ ...xe,
599
599
  type: {
600
600
  type: String,
601
601
  default: "button"
@@ -645,7 +645,7 @@ function Vt(e) {
645
645
  }), $ = r(() => {
646
646
  const v = e.fab === !1 && e.fabMini === !1 ? t.value : {};
647
647
  return e.padding !== void 0 ? Object.assign({}, v, {
648
- padding: e.padding.split(/\s+/).map((h) => h in Se ? Se[h] + "px" : h).join(" "),
648
+ padding: e.padding.split(/\s+/).map((b) => b in Se ? Se[b] + "px" : b).join(" "),
649
649
  minWidth: "0",
650
650
  minHeight: "0"
651
651
  }) : v;
@@ -653,7 +653,7 @@ function Vt(e) {
653
653
  () => e.rounded === !0 || e.fab === !0 || e.fabMini === !0
654
654
  ), f = r(
655
655
  () => e.disable !== !0 && e.loading !== !0
656
- ), C = r(() => f.value === !0 ? e.tabindex || 0 : -1), d = r(() => xe(e, "standard")), q = r(() => {
656
+ ), C = r(() => f.value === !0 ? e.tabindex || 0 : -1), d = r(() => Ne(e, "standard")), q = r(() => {
657
657
  const v = { tabindex: C.value };
658
658
  return s.value === !0 ? Object.assign(v, o.value) : Et.includes(e.type) === !0 && (v.type = e.type), l.value === "a" ? (e.disable === !0 ? v["aria-disabled"] = "true" : v.href === void 0 && (v.role = "button"), a.value !== !0 && Pt.test(e.type) === !0 && (v.type = e.type)) : e.disable === !0 && (v.disabled = "", v["aria-disabled"] = "true"), e.loading === !0 && e.percentage !== void 0 && Object.assign(v, {
659
659
  role: "progressbar",
@@ -664,8 +664,8 @@ function Vt(e) {
664
664
  }), u = r(() => {
665
665
  let v;
666
666
  e.color !== void 0 ? e.flat === !0 || e.outline === !0 ? v = `text-${e.textColor || e.color}` : v = `bg-${e.color} text-${e.textColor || "white"}` : e.textColor && (v = `text-${e.textColor}`);
667
- const h = e.round === !0 ? "round" : `rectangle${y.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
668
- return `q-btn--${d.value} q-btn--${h}` + (v !== void 0 ? " " + v : "") + (f.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " q-btn--fab" : e.fabMini === !0 ? " q-btn--fab-mini" : "") + (e.noCaps === !0 ? " q-btn--no-uppercase" : "") + (e.dense === !0 ? " q-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius self-stretch" : "") + (e.glossy === !0 ? " glossy" : "") + (e.square ? " q-btn--square" : "");
667
+ const b = e.round === !0 ? "round" : `rectangle${y.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
668
+ return `q-btn--${d.value} q-btn--${b}` + (v !== void 0 ? " " + v : "") + (f.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " q-btn--fab" : e.fabMini === !0 ? " q-btn--fab-mini" : "") + (e.noCaps === !0 ? " q-btn--no-uppercase" : "") + (e.dense === !0 ? " q-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius self-stretch" : "") + (e.glossy === !0 ? " glossy" : "") + (e.square ? " q-btn--square" : "");
669
669
  }), m = r(
670
670
  () => n.value + (e.stack === !0 ? " column" : " row") + (e.noWrap === !0 ? " no-wrap text-no-wrap" : "") + (e.loading === !0 ? " q-btn__content--hidden" : "")
671
671
  );
@@ -703,7 +703,7 @@ const At = te({
703
703
  isActionable: C
704
704
  } = Vt(e), d = W(null), q = W(null);
705
705
  let u = null, m, v = null;
706
- const h = r(
706
+ const b = r(
707
707
  () => e.label !== void 0 && e.label !== null && e.label !== ""
708
708
  ), S = r(() => e.disable === !0 || e.ripple === !1 ? !1 : {
709
709
  keyCodes: $.value === !0 ? [13, 32] : [13],
@@ -776,7 +776,7 @@ const At = te({
776
776
  if ((c == null ? void 0 : c.type) === "keyup") {
777
777
  if (H === d.value && le(c, [13, 32]) === !0) {
778
778
  const B = new MouseEvent("click", c);
779
- B.qKeyEvent = !0, c.defaultPrevented === !0 && vt(B), c.cancelBubble === !0 && Oe(B), d.value.dispatchEvent(B), D(c), c.qKeyEvent = !0;
779
+ B.qKeyEvent = !0, c.defaultPrevented === !0 && vt(B), c.cancelBubble === !0 && je(B), d.value.dispatchEvent(B), D(c), c.qKeyEvent = !0;
780
780
  }
781
781
  n("keyup", c);
782
782
  }
@@ -791,7 +791,7 @@ const At = te({
791
791
  function M(c) {
792
792
  D(c), c.qSkipRipple = !0;
793
793
  }
794
- return Fe(() => {
794
+ return Qe(() => {
795
795
  g(!0);
796
796
  }), Object.assign(a, {
797
797
  click: (c) => {
@@ -802,15 +802,15 @@ const At = te({
802
802
  e.icon !== void 0 && c.push(
803
803
  p(me, {
804
804
  name: e.icon,
805
- left: e.stack !== !0 && h.value === !0,
805
+ left: e.stack !== !0 && b.value === !0,
806
806
  role: "img"
807
807
  })
808
- ), h.value === !0 && c.push(
808
+ ), b.value === !0 && c.push(
809
809
  p("span", { class: "block" }, [e.label])
810
810
  ), c = N(t.default, c), e.iconRight !== void 0 && e.round === !1 && c.push(
811
811
  p(me, {
812
812
  name: e.iconRight,
813
- right: e.stack !== !0 && h.value === !0,
813
+ right: e.stack !== !0 && b.value === !0,
814
814
  role: "img"
815
815
  })
816
816
  );
@@ -834,13 +834,13 @@ const At = te({
834
834
  class: "q-btn__content text-center col items-center q-anchor--skip " + o.value
835
835
  }, c)
836
836
  ), e.loading !== null && B.push(
837
- p(Qe, {
837
+ p(Ue, {
838
838
  name: "q-transition--fade"
839
839
  }, () => e.loading === !0 ? [
840
840
  p("span", {
841
841
  key: "loading",
842
842
  class: "absolute-full flex flex-center"
843
- }, t.loading !== void 0 ? t.loading() : [p(ze)])
843
+ }, t.loading !== void 0 ? t.loading() : [p(Oe)])
844
844
  ] : null)
845
845
  ), oe(
846
846
  p(
@@ -849,7 +849,7 @@ const At = te({
849
849
  B
850
850
  ),
851
851
  [[
852
- bt,
852
+ ht,
853
853
  S.value,
854
854
  void 0,
855
855
  w.value
@@ -864,7 +864,7 @@ const At = te({
864
864
  transparent: { type: Boolean },
865
865
  flat: { type: Boolean },
866
866
  rounded: { type: Boolean },
867
- color: { default: Re.PRIMARY },
867
+ color: { default: Me.PRIMARY },
868
868
  iconLeft: {},
869
869
  iconRight: {},
870
870
  iconMiddle: {},
@@ -894,7 +894,7 @@ const At = te({
894
894
  `app-btn_${t.size}`,
895
895
  `app-btn_${t.color}`
896
896
  ]);
897
- return (a, s) => (b(), ae(Z(At), {
897
+ return (a, s) => (h(), ae(Z(At), {
898
898
  "no-caps": "",
899
899
  unelevated: "",
900
900
  class: P(n.value),
@@ -909,8 +909,8 @@ const At = te({
909
909
  download: a.download,
910
910
  onClick: s[0] || (s[0] = (l) => a.$emit("click", l))
911
911
  }, {
912
- default: Ue(() => [
913
- a.iconLeft || a.iconMiddle ? (b(), _("i", {
912
+ default: He(() => [
913
+ a.iconLeft || a.iconMiddle ? (h(), _("i", {
914
914
  key: 0,
915
915
  class: P([
916
916
  "icon-kl",
@@ -920,10 +920,10 @@ const At = te({
920
920
  ])
921
921
  }, null, 2)) : V("", !0),
922
922
  se(a.$slots, "default", {}, void 0, !0),
923
- a.label ? (b(), _(ie, { key: 1 }, [
923
+ a.label ? (h(), _(ie, { key: 1 }, [
924
924
  Pe(Y(a.label), 1)
925
925
  ], 64)) : V("", !0),
926
- a.iconRight ? (b(), _("i", {
926
+ a.iconRight ? (h(), _("i", {
927
927
  key: 2,
928
928
  class: P([
929
929
  "icon-kl",
@@ -954,7 +954,7 @@ const At = te({
954
954
  size: { default: z.MD },
955
955
  label: {},
956
956
  disabled: { type: Boolean },
957
- color: { default: Re.PRIMARY },
957
+ color: { default: Me.PRIMARY },
958
958
  iconColor: {},
959
959
  icon: {},
960
960
  iconActive: {},
@@ -976,12 +976,12 @@ const At = te({
976
976
  `app-toggle_${n.size}`,
977
977
  `app-toggle_${n.color}`
978
978
  ]);
979
- return (o, i) => (b(), _("div", {
979
+ return (o, i) => (h(), _("div", {
980
980
  class: P(l.value),
981
- onClick: i[1] || (i[1] = He(() => {
981
+ onClick: i[1] || (i[1] = Le(() => {
982
982
  }, ["stop"]))
983
983
  }, [
984
- o.label && o.labelLeft ? (b(), _("span", Tt, Y(o.label), 1)) : V("", !0),
984
+ o.label && o.labelLeft ? (h(), _("span", Tt, Y(o.label), 1)) : V("", !0),
985
985
  T("label", zt, [
986
986
  T("input", {
987
987
  type: "checkbox",
@@ -994,11 +994,11 @@ const At = te({
994
994
  class: P(["app-toggle__slider", s.value ? `bg-${o.color}` : ""])
995
995
  }, [
996
996
  T("span", jt, [
997
- o.icon && !o.modelValue ? (b(), _("i", {
997
+ o.icon && !o.modelValue ? (h(), _("i", {
998
998
  key: 0,
999
999
  class: P(["icon-kl", `icon-kl-${o.icon}`, "app-toggle__icon"])
1000
1000
  }, null, 2)) : V("", !0),
1001
- o.modelValue && (o.iconActive || o.icon) ? (b(), _("i", {
1001
+ o.modelValue && (o.iconActive || o.icon) ? (h(), _("i", {
1002
1002
  key: 1,
1003
1003
  class: P([
1004
1004
  "icon-kl",
@@ -1011,16 +1011,16 @@ const At = te({
1011
1011
  ], 2),
1012
1012
  se(o.$slots, "default", {}, void 0, !0)
1013
1013
  ]),
1014
- o.label && !o.labelLeft ? (b(), _("span", Dt, Y(o.label), 1)) : V("", !0)
1014
+ o.label && !o.labelLeft ? (h(), _("span", Dt, Y(o.label), 1)) : V("", !0)
1015
1015
  ], 2));
1016
1016
  }
1017
- }), Nt = /* @__PURE__ */ G(xt, [["__scopeId", "data-v-ba49356e"]]), Ne = {
1017
+ }), Nt = /* @__PURE__ */ G(xt, [["__scopeId", "data-v-ba49356e"]]), Ke = {
1018
1018
  dark: {
1019
1019
  type: Boolean,
1020
1020
  default: null
1021
1021
  }
1022
1022
  };
1023
- function Ke(e, t) {
1023
+ function Fe(e, t) {
1024
1024
  return r(() => e.dark === null ? t.dark.isActive : e.dark);
1025
1025
  }
1026
1026
  function Kt(e, t) {
@@ -1061,7 +1061,7 @@ const Ut = {
1061
1061
  lg: 50,
1062
1062
  xl: 60
1063
1063
  }, Ht = {
1064
- ...Ne,
1064
+ ...Ke,
1065
1065
  ...ue,
1066
1066
  ...Ft,
1067
1067
  modelValue: {
@@ -1089,14 +1089,14 @@ const Ut = {
1089
1089
  tabindex: [String, Number]
1090
1090
  }, Xt = ["update:modelValue"];
1091
1091
  function Wt(e, t) {
1092
- const { props: n, slots: a, emit: s, proxy: l } = ee(), { $q: o } = l, i = Ke(n, o), $ = W(null), { refocusTargetEl: y, refocusTarget: f } = Kt(n, $), C = ce(n, Ut), d = r(
1092
+ const { props: n, slots: a, emit: s, proxy: l } = ee(), { $q: o } = l, i = Fe(n, o), $ = W(null), { refocusTargetEl: y, refocusTarget: f } = Kt(n, $), C = ce(n, Ut), d = r(
1093
1093
  () => n.val !== void 0 && Array.isArray(n.modelValue)
1094
1094
  ), q = r(() => {
1095
1095
  const g = Q(n.val);
1096
1096
  return d.value === !0 ? n.modelValue.findIndex((M) => Q(M) === g) : -1;
1097
1097
  }), u = r(() => d.value === !0 ? q.value !== -1 : Q(n.modelValue) === Q(n.trueValue)), m = r(() => d.value === !0 ? q.value === -1 : Q(n.modelValue) === Q(n.falseValue)), v = r(
1098
1098
  () => u.value === !1 && m.value === !1
1099
- ), h = r(() => n.disable === !0 ? -1 : n.tabindex || 0), S = r(
1099
+ ), b = r(() => n.disable === !0 ? -1 : n.tabindex || 0), S = r(
1100
1100
  () => `q-${e} cursor-pointer no-outline row inline no-wrap items-center` + (n.disable === !0 ? " disabled" : "") + (i.value === !0 ? ` q-${e}--dark` : "") + (n.dense === !0 ? ` q-${e}--dense` : "") + (n.leftLabel === !0 ? " reverse" : "")
1101
1101
  ), w = r(() => {
1102
1102
  const g = u.value === !0 ? "truthy" : m.value === !0 ? "falsy" : "indet", M = n.color !== void 0 && (n.keepColor === !0 || m.value !== !0) ? ` text-${n.color}` : "";
@@ -1112,7 +1112,7 @@ function Wt(e, t) {
1112
1112
  }), g;
1113
1113
  }), k = Qt(E), L = r(() => {
1114
1114
  const g = {
1115
- tabindex: h.value,
1115
+ tabindex: b.value,
1116
1116
  role: "checkbox",
1117
1117
  "aria-label": n.label,
1118
1118
  "aria-checked": v.value === !0 ? "mixed" : u.value === !0 ? "true" : "false"
@@ -1162,7 +1162,7 @@ function Wt(e, t) {
1162
1162
  }, g)
1163
1163
  ];
1164
1164
  y.value !== null && M.push(y.value);
1165
- const c = n.label !== void 0 ? N(a.default, [n.label]) : Ve(a.default);
1165
+ const c = n.label !== void 0 ? N(a.default, [n.label]) : Ae(a.default);
1166
1166
  return c !== void 0 && M.push(
1167
1167
  p("div", {
1168
1168
  class: `q-${e}__label q-anchor--skip`
@@ -1257,7 +1257,7 @@ function Be(e) {
1257
1257
  const t = parseInt(e, 10);
1258
1258
  return isNaN(t) ? 0 : t;
1259
1259
  }
1260
- const nn = Me(
1260
+ const nn = Ve(
1261
1261
  {
1262
1262
  name: "close-popup",
1263
1263
  beforeMount(e, { value: t }) {
@@ -1320,7 +1320,7 @@ const nn = Me(
1320
1320
  const n = e, a = t, s = () => {
1321
1321
  n.disabled || (n.toggle || n.checkbox ? a("update:modelValue", !n.modelValue) : n.persistent || a("closePopup"));
1322
1322
  };
1323
- return (l, o) => oe((b(), _("div", {
1323
+ return (l, o) => oe((h(), _("div", {
1324
1324
  class: P(["menu-item", [
1325
1325
  { "menu-item_gap": l.gap },
1326
1326
  { "menu-item_disabled": l.disabled },
@@ -1332,23 +1332,25 @@ const nn = Me(
1332
1332
  T("div", {
1333
1333
  class: P(["row items-center no-wrap", `text-${l.color ? l.color : "dark"}`])
1334
1334
  }, [
1335
- l.loading ? (b(), _("div", an, [
1336
- Xe(Z(ze), {
1335
+ l.loading ? (h(), _("div", an, [
1336
+ Xe(Z(Oe), {
1337
1337
  size: "19px",
1338
1338
  color: l.color ? l.color : "dark"
1339
1339
  }, null, 8, ["color"])
1340
- ])) : (b(), _(ie, { key: 1 }, [
1341
- l.checked ? (b(), _("div", ln, [...o[2] || (o[2] = [
1340
+ ])) : (h(), _(ie, { key: 1 }, [
1341
+ l.checked ? (h(), _("div", ln, [...o[3] || (o[3] = [
1342
1342
  T("i", { class: "icon-kl icon-kl-check" }, null, -1)
1343
1343
  ])])) : V("", !0),
1344
- l.checkbox ? (b(), ae(Gt, {
1344
+ l.checkbox ? (h(), ae(Gt, {
1345
1345
  key: 1,
1346
1346
  class: "menu-item__checkbox",
1347
1347
  size: "34px",
1348
1348
  "model-value": l.modelValue,
1349
- "onUpdate:modelValue": o[0] || (o[0] = (i) => a("update:modelValue", i))
1349
+ "onUpdate:modelValue": o[0] || (o[0] = (i) => a("update:modelValue", i)),
1350
+ onClick: o[1] || (o[1] = Le(() => {
1351
+ }, ["stop"]))
1350
1352
  }, null, 8, ["model-value"])) : V("", !0),
1351
- l.icon ? (b(), _("div", on, [
1353
+ l.icon ? (h(), _("div", on, [
1352
1354
  T("i", {
1353
1355
  class: P(`icon-kl icon-kl-${l.icon}`),
1354
1356
  style: re({ fontSize: l.iconSize || "27px" })
@@ -1357,24 +1359,24 @@ const nn = Me(
1357
1359
  ], 64)),
1358
1360
  T("span", sn, Y(l.label), 1)
1359
1361
  ], 2),
1360
- l.$slots.right ? se(l.$slots, "right", { key: 0 }, void 0, !0) : l.toggle ? (b(), ae(Nt, {
1362
+ l.$slots.right ? se(l.$slots, "right", { key: 0 }, void 0, !0) : l.toggle ? (h(), ae(Nt, {
1361
1363
  key: 1,
1362
1364
  class: "menu-item__toggle",
1363
1365
  "model-value": l.modelValue,
1364
1366
  disabled: l.disabled || l.loading,
1365
- "onUpdate:modelValue": o[1] || (o[1] = (i) => a("update:modelValue", i))
1366
- }, null, 8, ["model-value", "disabled"])) : l.iconRight ? (b(), _("i", {
1367
+ "onUpdate:modelValue": o[2] || (o[2] = (i) => a("update:modelValue", i))
1368
+ }, null, 8, ["model-value", "disabled"])) : l.iconRight ? (h(), _("i", {
1367
1369
  key: 2,
1368
1370
  class: P([
1369
1371
  "menu-item__icon-right menu-item__icon-right_custom icon-kl",
1370
1372
  `icon-kl-${l.iconRight}`
1371
1373
  ])
1372
- }, null, 2)) : l.arrow ? (b(), _("i", rn)) : V("", !0)
1374
+ }, null, 2)) : l.arrow ? (h(), _("i", rn)) : V("", !0)
1373
1375
  ], 2)), [
1374
1376
  [nn, !l.toggle && !l.checkbox && !l.persistent && !l.disabled]
1375
1377
  ]);
1376
1378
  }
1377
- }), In = /* @__PURE__ */ G(un, [["__scopeId", "data-v-6b725efb"]]), cn = /* @__PURE__ */ K({
1379
+ }), In = /* @__PURE__ */ G(un, [["__scopeId", "data-v-4b2a03b5"]]), cn = /* @__PURE__ */ K({
1378
1380
  __name: "AppIcon",
1379
1381
  props: {
1380
1382
  name: {},
@@ -1382,7 +1384,7 @@ const nn = Me(
1382
1384
  color: {}
1383
1385
  },
1384
1386
  setup(e) {
1385
- return (t, n) => (b(), _("i", {
1387
+ return (t, n) => (h(), _("i", {
1386
1388
  class: P(["icon-kl", `icon-kl-${t.name}`, t.color ? `text-${t.color}` : ""]),
1387
1389
  style: re(t.size ? `font-size: ${t.size}` : void 0)
1388
1390
  }, null, 6));
@@ -1402,7 +1404,7 @@ function we(e, t, n) {
1402
1404
  const fn = te({
1403
1405
  name: "QLinearProgress",
1404
1406
  props: {
1405
- ...Ne,
1407
+ ...Ke,
1406
1408
  ...ue,
1407
1409
  value: {
1408
1410
  type: Number,
@@ -1423,7 +1425,7 @@ const fn = te({
1423
1425
  instantFeedback: Boolean
1424
1426
  },
1425
1427
  setup(e, { slots: t }) {
1426
- const { proxy: n } = ee(), a = Ke(e, n.$q), s = ce(e, dn), l = r(() => e.indeterminate === !0 || e.query === !0), o = r(() => e.reverse !== e.query), i = r(() => ({
1428
+ const { proxy: n } = ee(), a = Fe(e, n.$q), s = ce(e, dn), l = r(() => e.indeterminate === !0 || e.query === !0), o = r(() => e.reverse !== e.query), i = r(() => ({
1427
1429
  ...s.value !== null ? s.value : {},
1428
1430
  "--q-linear-progress-speed": `${e.animationSpeed}ms`
1429
1431
  })), $ = r(
@@ -1489,14 +1491,14 @@ const fn = te({
1489
1491
  return a.size == z.SM && (u += `width: ${a.length * 26 + (a.length - 1) * 5}px`), a.size == z.MD && (u += `width: ${a.length * 32 + (a.length - 1) * 8}px`), a.size == z.LG && (u += `width: ${a.length * 44 + (a.length - 1) * 10}px`), u;
1490
1492
  }), y = (u, m) => {
1491
1493
  var S;
1492
- const h = u.target.value;
1493
- if (h.length === 1)
1494
+ const b = u.target.value;
1495
+ if (b.length === 1)
1494
1496
  m < a.length - 1 && o.value && ((S = o.value[m + 1]) == null || S.focus());
1495
- else if (h.length > 1) {
1496
- const w = h.slice(0, a.length - m).split("");
1497
+ else if (b.length > 1) {
1498
+ const w = b.slice(0, a.length - m).split("");
1497
1499
  w.forEach((E, k) => {
1498
1500
  l.value[m + k] = E;
1499
- }), he(() => {
1501
+ }), be(() => {
1500
1502
  var E;
1501
1503
  o.value && ((E = o.value[Math.min(m + w.length, a.length - 1)]) == null || E.focus());
1502
1504
  });
@@ -1509,12 +1511,12 @@ const fn = te({
1509
1511
  u.preventDefault();
1510
1512
  const v = ((S = u.clipboardData) == null ? void 0 : S.getData("text")) ?? "";
1511
1513
  if (!v) return;
1512
- const h = v.slice(0, a.length - m).split("");
1513
- h.forEach((w, E) => {
1514
+ const b = v.slice(0, a.length - m).split("");
1515
+ b.forEach((w, E) => {
1514
1516
  l.value[m + E] = w;
1515
- }), he(() => {
1517
+ }), be(() => {
1516
1518
  var w;
1517
- o.value && ((w = o.value[Math.min(m + h.length, a.length - 1)]) == null || w.focus());
1519
+ o.value && ((w = o.value[Math.min(m + b.length, a.length - 1)]) == null || w.focus());
1518
1520
  });
1519
1521
  };
1520
1522
  We(
@@ -1534,15 +1536,15 @@ const fn = te({
1534
1536
  a.autofocus && o.value && o.value[0] && o.value[0].focus();
1535
1537
  }), t({
1536
1538
  injectCode: q
1537
- }), (u, m) => (b(), _("div", {
1539
+ }), (u, m) => (h(), _("div", {
1538
1540
  class: P(i.value),
1539
1541
  style: re($.value)
1540
1542
  }, [
1541
- u.label ? (b(), _("label", vn, Y(u.label), 1)) : V("", !0),
1543
+ u.label ? (h(), _("label", vn, Y(u.label), 1)) : V("", !0),
1542
1544
  T("div", pn, [
1543
- (b(!0), _(ie, null, Le(u.length, (v, h) => oe((b(), _("input", {
1544
- key: h,
1545
- "onUpdate:modelValue": (S) => l.value[h] = S,
1545
+ (h(!0), _(ie, null, Re(u.length, (v, b) => oe((h(), _("input", {
1546
+ key: b,
1547
+ "onUpdate:modelValue": (S) => l.value[b] = S,
1546
1548
  ref_for: !0,
1547
1549
  ref_key: "inputRefs",
1548
1550
  ref: o,
@@ -1550,14 +1552,14 @@ const fn = te({
1550
1552
  maxlength: "1",
1551
1553
  class: "code-field__input",
1552
1554
  disabled: u.disabled || u.loading,
1553
- onInput: (S) => y(S, h),
1554
- onKeydown: Ge((S) => f(h), ["backspace"]),
1555
- onPaste: (S) => C(S, h)
1555
+ onInput: (S) => y(S, b),
1556
+ onKeydown: Ge((S) => f(b), ["backspace"]),
1557
+ onPaste: (S) => C(S, b)
1556
1558
  }, null, 40, mn)), [
1557
- [Je, l.value[h]]
1559
+ [Je, l.value[b]]
1558
1560
  ])), 128))
1559
1561
  ]),
1560
- u.loading ? (b(), ae(fn, {
1562
+ u.loading ? (h(), ae(fn, {
1561
1563
  key: 1,
1562
1564
  indeterminate: "",
1563
1565
  rounded: "",
@@ -1566,7 +1568,7 @@ const fn = te({
1566
1568
  }, null, 8, ["color"])) : V("", !0)
1567
1569
  ], 6));
1568
1570
  }
1569
- }), zn = /* @__PURE__ */ G(gn, [["__scopeId", "data-v-4e11db87"]]), hn = { class: "app-segment__track" }, bn = { class: "app-segment__buttons" }, kn = ["onClick", "disabled"], yn = /* @__PURE__ */ K({
1571
+ }), zn = /* @__PURE__ */ G(gn, [["__scopeId", "data-v-4e11db87"]]), bn = { class: "app-segment__track" }, hn = { class: "app-segment__buttons" }, kn = ["onClick", "disabled"], yn = /* @__PURE__ */ K({
1570
1572
  __name: "AppSegment",
1571
1573
  props: /* @__PURE__ */ et({
1572
1574
  options: {},
@@ -1584,10 +1586,10 @@ const fn = te({
1584
1586
  function s(l) {
1585
1587
  n.disabled || (t.value = l);
1586
1588
  }
1587
- return (l, o) => (b(), _("div", {
1589
+ return (l, o) => (h(), _("div", {
1588
1590
  class: P(["app-segment", [{ "app-segment_disabled": l.disabled }, `app-segment_${l.size}`]])
1589
1591
  }, [
1590
- T("div", hn, [
1592
+ T("div", bn, [
1591
1593
  T("div", {
1592
1594
  class: "app-segment__thumb",
1593
1595
  style: re({
@@ -1596,8 +1598,8 @@ const fn = te({
1596
1598
  })
1597
1599
  }, null, 4)
1598
1600
  ]),
1599
- T("div", bn, [
1600
- (b(!0), _(ie, null, Le(l.options, (i, $) => (b(), _("button", {
1601
+ T("div", hn, [
1602
+ (h(!0), _(ie, null, Re(l.options, (i, $) => (h(), _("button", {
1601
1603
  key: $,
1602
1604
  class: P(["app-segment__btn", { active: t.value === i.value }]),
1603
1605
  onClick: (y) => s(i.value),
@@ -1611,16 +1613,16 @@ const fn = te({
1611
1613
  ], 2));
1612
1614
  }
1613
1615
  }), On = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-ff56abdf"]]), jn = ge(
1614
- () => import("./AppButtonCopy-BiBpclZl.js")
1616
+ () => import("./AppButtonCopy-C4XzQZrx.js")
1615
1617
  ), Dn = ge(
1616
- () => import("./AppSelect-C2Py88wq.js")
1618
+ () => import("./AppSelect-D-M9-0AT.js")
1617
1619
  ), xn = ge(
1618
- () => import("./DropdownButton-D9kVbgTX.js")
1620
+ () => import("./DropdownButton-BqYVhmGH.js")
1619
1621
  );
1620
1622
  export {
1621
1623
  Vn as A,
1622
1624
  At as B,
1623
- Re as C,
1625
+ Me as C,
1624
1626
  pt as D,
1625
1627
  mt as E,
1626
1628
  $t as F,
@@ -1635,7 +1637,7 @@ export {
1635
1637
  Tn as O,
1636
1638
  In as P,
1637
1639
  me as Q,
1638
- bt as R,
1640
+ ht as R,
1639
1641
  z as S,
1640
1642
  On as T,
1641
1643
  Dn as U,
@@ -1643,14 +1645,14 @@ export {
1643
1645
  xn as W,
1644
1646
  $n as X,
1645
1647
  G as _,
1646
- Ke as a,
1647
- ze as b,
1648
+ Fe as a,
1649
+ Oe as b,
1648
1650
  te as c,
1649
1651
  ue as d,
1650
1652
  ce as e,
1651
1653
  Sn as f,
1652
1654
  Cn as g,
1653
- Ve as h,
1655
+ Ae as h,
1654
1656
  Rn as i,
1655
1657
  Bt as j,
1656
1658
  le as k,
@@ -1663,9 +1665,9 @@ export {
1663
1665
  Ft as r,
1664
1666
  D as s,
1665
1667
  An as t,
1666
- Ne as u,
1668
+ Ke as u,
1667
1669
  gt as v,
1668
- Oe as w,
1670
+ je as w,
1669
1671
  N as x,
1670
1672
  Rt as y,
1671
1673
  Mn as z