wave-ui 3.7.2 → 3.8.0

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,15 +1,15 @@
1
1
  var ve = Object.defineProperty;
2
2
  var ke = (e, t, i) => t in e ? ve(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
- var D = (e, t, i) => (ke(e, typeof t != "symbol" ? t + "" : t, i), i), ne = (e, t, i) => {
3
+ var D = (e, t, i) => (ke(e, typeof t != "symbol" ? t + "" : t, i), i), re = (e, t, i) => {
4
4
  if (!t.has(e))
5
5
  throw TypeError("Cannot " + i);
6
6
  };
7
- var Y = (e, t, i) => (ne(e, t, "read from private field"), i ? i.call(e) : t.get(e)), ee = (e, t, i) => {
7
+ var Y = (e, t, i) => (re(e, t, "read from private field"), i ? i.call(e) : t.get(e)), ee = (e, t, i) => {
8
8
  if (t.has(e))
9
9
  throw TypeError("Cannot add the same private member more than once");
10
10
  t instanceof WeakSet ? t.add(e) : t.set(e, i);
11
- }, te = (e, t, i, o) => (ne(e, t, "write to private field"), o ? o.call(e, i) : t.set(e, i), i);
12
- import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as g, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as Se, inject as Be, withKeys as E, withModifiers as M, renderSlot as p, toHandlers as W, createTextVNode as S, toDisplayString as _, Transition as O, normalizeStyle as R, resolveDynamicComponent as V, normalizeProps as le, resolveDirective as ge, withDirectives as N, createSlots as Z, vShow as oe, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
11
+ }, te = (e, t, i, o) => (re(e, t, "write to private field"), o ? o.call(e, i) : t.set(e, i), i);
12
+ import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as g, Teleport as _e, createVNode as V, TransitionGroup as oe, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as v, renderList as R, mergeProps as C, createElementVNode as y, createCommentVNode as c, createApp as Ce, defineComponent as Se, inject as Be, withKeys as W, withModifiers as M, renderSlot as p, toHandlers as z, createTextVNode as S, toDisplayString as _, withDirectives as A, vModelText as ae, Transition as O, normalizeStyle as L, resolveDynamicComponent as I, normalizeProps as le, resolveDirective as be, createSlots as Z, vShow as ne, vModelDynamic as $e, KeepAlive as Ve } from "vue";
13
13
  const Ie = Q({
14
14
  on: "#app",
15
15
  breakpoints: {
@@ -60,7 +60,7 @@ const Ie = Q({
60
60
  typeof o == "object" ? ye(e[i], t[i]) : t[i] = o;
61
61
  }
62
62
  return t;
63
- }, U = (e) => console.warn(`Wave UI: ${e}`), ie = (e) => console.error(`Wave UI: ${e}`), re = (e, t) => "#" + e.slice(1).match(/../g).map((i) => (i = +`0x${i}` + t, (i < 0 ? 0 : i > 255 ? 255 : i).toString(16).padStart(2, 0))).join(""), Te = (e) => {
63
+ }, U = (e) => console.warn(`Wave UI: ${e}`), ie = (e) => console.error(`Wave UI: ${e}`), de = (e, t) => "#" + e.slice(1).match(/../g).map((i) => (i = +`0x${i}` + t, (i < 0 ? 0 : i > 255 ? 255 : i).toString(16).padStart(2, 0))).join(""), Te = (e) => {
64
64
  ["light", "dark"].forEach((t) => {
65
65
  const i = e.colors[t];
66
66
  i.shades = {};
@@ -71,12 +71,12 @@ const Ie = Q({
71
71
  const n = o.color;
72
72
  n.length === 3 && (o.color = n[0] + "" + n[0] + n[1] + n[1] + n[2] + n[2]);
73
73
  for (let l = 1; l <= 3; l++) {
74
- const a = re(`#${o.color}`, l * 40), r = re(`#${o.color}`, -l * 40);
74
+ const a = de(`#${o.color}`, l * 40), r = de(`#${o.color}`, -l * 40);
75
75
  i.shades[`${o.label}-light${l}`] = a, i.shades[`${o.label}-dark${l}`] = r;
76
76
  }
77
77
  }
78
78
  });
79
- }, de = (e, t) => {
79
+ }, ue = (e, t) => {
80
80
  const i = {
81
81
  ...t.reduce((o, n) => {
82
82
  o[n.label] = n.color;
@@ -85,7 +85,7 @@ const Ie = Q({
85
85
  }, { ...e, ...e.shades })
86
86
  };
87
87
  return delete i.shades, i;
88
- }, ue = [
88
+ }, he = [
89
89
  {
90
90
  label: "pink",
91
91
  color: "#e91e63",
@@ -436,7 +436,7 @@ const Ie = Q({
436
436
  cssScope: ".w-app",
437
437
  baseIncrement: 4
438
438
  };
439
- let se = { keys: [], values: [] }, he = null;
439
+ let se = { keys: [], values: [] }, ce = null;
440
440
  const Re = (e) => {
441
441
  let t = "";
442
442
  const i = {}, { info: o, warning: n, success: l, error: a, shades: r, ...d } = e, { cssScope: h } = q;
@@ -444,9 +444,9 @@ const Re = (e) => {
444
444
  t += `${h} .${b}--bg{background-color:var(--w-${b}-color)}${h} .${b}{color:var(--w-${b}-color)}`;
445
445
  for (const b in r)
446
446
  t += `${h} .${b}--bg{background-color:${r[b]}}${h} .${b}{color:${r[b]}}`;
447
- const y = { ...d, info: o, warning: n, success: l, error: a };
448
- for (const b in y)
449
- i[b] = y[b];
447
+ const k = { ...d, info: o, warning: n, success: l, error: a };
448
+ for (const b in k)
449
+ i[b] = k[b];
450
450
  let B = "";
451
451
  return Object.entries(i).forEach(([b, T]) => {
452
452
  B += `--w-${b}-color: ${T};`;
@@ -505,15 +505,15 @@ const Re = (e) => {
505
505
  return e.forEach(({ label: a, min: r }) => {
506
506
  a !== "xs" && (t += `@media(min-width:${r}px){` + n.map((d) => `${i} .${a}u-${d}`).join("") + l.map((d, h) => `.w-grid.${a}u-columns${h + 1}{grid-template-columns:repeat(${h + 1},1fr);}`).join("") + l.map((d, h) => `.w-flex.${a}u-gap${h + 1},.w-grid.${a}u-gap${h + 1}{gap:${(h + 1) * o}px;}`).join("") + `.w-flex.${a}u-gap0,.w-flex.${a}u-gap0{gap:0}}`);
507
507
  }), e.forEach(({ label: a, min: r, max: d }) => {
508
- t += `@media (min-width:${r}px) and (max-width:${d}px){` + n.map((h) => `${i} .${a}-${h}`).join("") + l.map((h, y) => `.w-grid.${a}-columns${y + 1}{grid-template-columns:repeat(${y + 1},1fr);}`).join("") + l.map((h, y) => `.w-flex.${a}-gap${y + 1},.w-grid.${a}-gap${y + 1}{gap:${(y + 1) * o}px;}`).join("") + `.w-flex.${a}-gap0,.w-flex.${a}-gap0{gap:0}}`;
508
+ t += `@media (min-width:${r}px) and (max-width:${d}px){` + n.map((h) => `${i} .${a}-${h}`).join("") + l.map((h, k) => `.w-grid.${a}-columns${k + 1}{grid-template-columns:repeat(${k + 1},1fr);}`).join("") + l.map((h, k) => `.w-flex.${a}-gap${k + 1},.w-grid.${a}-gap${k + 1}{gap:${(k + 1) * o}px;}`).join("") + `.w-flex.${a}-gap0,.w-flex.${a}-gap0{gap:0}}`;
509
509
  }), e.forEach(({ label: a, max: r }) => {
510
510
  a !== "xl" && (t += `@media (max-width:${r}px){` + n.map((d) => `${i} .${a}d-${d}`).join("") + l.map((d, h) => `.w-grid.${a}d-columns${h + 1}{grid-template-columns:repeat(${h + 1},1fr);}`).join("") + l.map((d, h) => `.w-flex.${a}d-gap${h + 1},.w-grid.${a}d-gap${h + 1}{gap:${(h + 1) * o}px;}`).join("") + `.w-flex.${a}d-gap0,.w-flex.${a}d-gap0{gap:0}}`);
511
511
  }), t;
512
- }, ce = (e) => {
512
+ }, pe = (e) => {
513
513
  const t = window.innerWidth, i = se.values.slice(0);
514
514
  i.push(t), i.sort((n, l) => n - l);
515
515
  const o = se.keys[i.indexOf(t)] || "xl";
516
- o !== he && (he = o, e.breakpoint = {
516
+ o !== ce && (ce = o, e.breakpoint = {
517
517
  name: o,
518
518
  xs: o === "xs",
519
519
  sm: o === "sm",
@@ -526,11 +526,11 @@ const Re = (e) => {
526
526
  const { config: t } = e;
527
527
  if (se = { keys: Object.keys(t.breakpoints), values: Object.values(t.breakpoints) }, !document.getElementById("wave-ui-styles")) {
528
528
  const i = document.createElement("style");
529
- i.id = "wave-ui-styles", i.innerHTML = ze(t);
529
+ i.id = "wave-ui-styles", i.innerHTML = Me(t);
530
530
  const o = document.head.querySelectorAll('style,link[rel="stylesheet"]')[0];
531
531
  o ? o.before(i) : document.head.appendChild(i);
532
532
  }
533
- ce(e), window.addEventListener("resize", () => ce(e));
533
+ pe(e), window.addEventListener("resize", () => pe(e));
534
534
  }, Pe = (e) => {
535
535
  if (!document.getElementById("wave-ui-colors")) {
536
536
  const t = document.createElement("style");
@@ -538,7 +538,7 @@ const Re = (e) => {
538
538
  const i = document.head.querySelectorAll('style,link[rel="stylesheet"]')[0];
539
539
  i ? i.before(t) : document.head.appendChild(t);
540
540
  }
541
- }, ze = (e) => {
541
+ }, Me = (e) => {
542
542
  const t = Object.entries(e.breakpoints), i = t.map(([l, a], r) => {
543
543
  const [, d = 0] = t[r - 1] || [];
544
544
  return { label: l, min: d ? d + 1 : 0, max: a };
@@ -546,18 +546,18 @@ const Re = (e) => {
546
546
  q.cssScope = o.getPropertyValue("--w-css-scope"), q.baseIncrement = parseInt(o.getPropertyValue("--w-base-increment"));
547
547
  let n = "";
548
548
  return n += Le(i, e.css.grid), e.css.breakpointLayoutClasses && (n += xe(i)), n;
549
- }, Me = ["innerHTML"];
549
+ }, ze = ["innerHTML"];
550
550
  function Ee(e, t, i, o, n, l) {
551
551
  const a = $("w-alert");
552
552
  return s(), g(_e, { to: ".w-app" }, [
553
- I(ae, {
553
+ V(oe, {
554
554
  class: f(["w-notification-manager", { "w-notification-manager--left": l.conf.align === "left" }]),
555
555
  tag: "div",
556
556
  name: l.transition,
557
557
  appear: ""
558
558
  }, {
559
559
  default: m(() => [
560
- (s(!0), u(k, null, L(l.notifications, (r) => (s(), u(k, null, [
560
+ (s(!0), u(v, null, R(l.notifications, (r) => (s(), u(v, null, [
561
561
  r._value ? (s(), g(a, C({
562
562
  class: "white--bg",
563
563
  key: r._uid,
@@ -566,9 +566,9 @@ function Ee(e, t, i, o, n, l) {
566
566
  onClose: r.dismiss
567
567
  }, l.notifProps(r)), {
568
568
  default: m(() => [
569
- w("div", {
569
+ y("div", {
570
570
  innerHTML: r.message
571
- }, null, 8, Me)
571
+ }, null, 8, ze)
572
572
  ]),
573
573
  _: 2
574
574
  }, 1040, ["modelValue", "onUpdate:modelValue", "onClose"])) : c("", !0)
@@ -578,7 +578,7 @@ function Ee(e, t, i, o, n, l) {
578
578
  }, 8, ["class", "name"])
579
579
  ]);
580
580
  }
581
- const v = (e, t) => {
581
+ const w = (e, t) => {
582
582
  const i = e.__vccOpts || e;
583
583
  for (const [o, n] of t)
584
584
  i[o] = n;
@@ -603,7 +603,7 @@ const v = (e, t) => {
603
603
  return l.dismiss && (l.dismiss = !0), l;
604
604
  }
605
605
  }
606
- }, Ae = /* @__PURE__ */ v(We, [["render", Ee]]);
606
+ }, Ae = /* @__PURE__ */ w(We, [["render", Ee]]);
607
607
  var H;
608
608
  const F = class {
609
609
  constructor() {
@@ -644,7 +644,7 @@ const F = class {
644
644
  };
645
645
  let G = F;
646
646
  H = new WeakMap(), ee(G, H, void 0);
647
- const Ne = (e, t, i) => {
647
+ const Ke = (e, t, i) => {
648
648
  const o = document.createElement("div");
649
649
  e.appendChild(o);
650
650
  const n = Ce(Se({
@@ -657,8 +657,8 @@ const Ne = (e, t, i) => {
657
657
  }
658
658
  n.mount(o), o.remove();
659
659
  };
660
- let pe = !1;
661
- const Ke = (e) => {
660
+ let fe = !1;
661
+ const Ne = (e) => {
662
662
  const t = window.matchMedia("(prefers-color-scheme: dark)");
663
663
  e.preferredTheme = t.matches ? "dark" : "light", e.switchTheme(e.preferredTheme), t.addEventListener("change", (i) => {
664
664
  e.preferredTheme = i.matches ? "dark" : "light", e.switchTheme(e.preferredTheme);
@@ -706,7 +706,7 @@ const j = class {
706
706
  var n, l;
707
707
  this.theme = t, document.documentElement.setAttribute("data-theme", t), (l = (n = document.head.querySelector("#wave-ui-colors")) == null ? void 0 : n.remove) == null || l.call(n);
708
708
  const o = this.config.colors[this.theme];
709
- Pe(o), this.colors = de(o, ue);
709
+ Pe(o), this.colors = ue(o, he);
710
710
  }
711
711
  });
712
712
  if (Y(j, X)) {
@@ -720,7 +720,7 @@ const j = class {
720
720
  let { components: o, ...n } = i;
721
721
  n = this.$waveui.config = ye(n), n.css.colorShades && Te(n);
722
722
  const l = Q(this.$waveui);
723
- t.config.globalProperties.$waveui = l, t.provide("$waveui", l), n.theme !== "auto" && (this.$waveui.colors = de(n.colors[n.theme], ue));
723
+ t.config.globalProperties.$waveui = l, t.provide("$waveui", l), n.theme !== "auto" && (this.$waveui.colors = ue(n.colors[n.theme], he));
724
724
  }
725
725
  static install(t, i = {}) {
726
726
  var n;
@@ -741,33 +741,33 @@ const j = class {
741
741
  }
742
742
  t.mixin({
743
743
  beforeMount() {
744
- if (!pe) {
745
- pe = !0;
744
+ if (!fe) {
745
+ fe = !0;
746
746
  const l = Be("$waveui"), { config: a } = l, r = document.querySelector(a.on) || document.body;
747
- r.classList.add("w-app"), a.theme === "auto" ? Ke(l) : l.switchTheme(a.theme, !0), Oe(l), Ne(r, o, l), t._context.mixins.find((d) => d.mounted && delete d.mounted);
747
+ r.classList.add("w-app"), a.theme === "auto" ? Ne(l) : l.switchTheme(a.theme, !0), Oe(l), Ke(r, o, l), t._context.mixins.find((d) => d.mounted && delete d.mounted);
748
748
  }
749
749
  }
750
750
  }), new j(t, i), te(j, X, !0);
751
751
  }
752
752
  };
753
- let K = j;
754
- X = new WeakMap(), ee(K, X, !1);
753
+ let N = j;
754
+ X = new WeakMap(), ee(N, X, !1);
755
755
  const De = ["aria-expanded"], Fe = ["onClick", "onFocus", "onKeypress", "tabindex"], je = ["innerHTML"], Ue = ["innerHTML"];
756
756
  function qe(e, t, i, o, n, l) {
757
757
  const a = $("w-button"), r = $("w-transition-expand");
758
758
  return s(), u("div", {
759
759
  class: f(["w-accordion", l.accordionClasses])
760
760
  }, [
761
- (s(!0), u(k, null, L(e.accordionItems, (d, h) => (s(), u("div", {
761
+ (s(!0), u(v, null, R(e.accordionItems, (d, h) => (s(), u("div", {
762
762
  class: f(["w-accordion__item", l.itemClasses(d)]),
763
763
  key: h,
764
764
  "aria-expanded": d._expanded ? "true" : "false"
765
765
  }, [
766
- w("div", {
766
+ y("div", {
767
767
  class: f(["w-accordion__item-title", i.titleClass]),
768
- onClick: (y) => !d._disabled && l.toggleItem(d, y),
769
- onFocus: (y) => e.$emit("focus", l.getOriginalItem(d)),
770
- onKeypress: E((y) => !d._disabled && l.toggleItem(d, y), ["enter"]),
768
+ onClick: (k) => !d._disabled && l.toggleItem(d, k),
769
+ onFocus: (k) => e.$emit("focus", l.getOriginalItem(d)),
770
+ onKeypress: W((k) => !d._disabled && l.toggleItem(d, k), ["enter"]),
771
771
  tabindex: !d._disabled && 0
772
772
  }, [
773
773
  i.expandIcon && !i.expandIconRight ? (s(), g(a, {
@@ -780,7 +780,7 @@ function qe(e, t, i, o, n, l) {
780
780
  text: "",
781
781
  onKeypress: t[0] || (t[0] = M(() => {
782
782
  }, ["stop"])),
783
- onClick: M((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
783
+ onClick: M((k) => !d._disabled && l.toggleItem(d, k), ["stop"])
784
784
  }, null, 8, ["icon", "icon-props", "disabled", "onClick", "class"])) : c("", !0),
785
785
  e.$slots[`item-title.${d.id || h + 1}`] ? p(e.$slots, `item-title.${d.id || h + 1}`, {
786
786
  key: 1,
@@ -793,7 +793,7 @@ function qe(e, t, i, o, n, l) {
793
793
  expanded: d._expanded,
794
794
  index: h + 1
795
795
  }, () => [
796
- w("div", {
796
+ y("div", {
797
797
  class: "grow",
798
798
  innerHTML: d[i.itemTitleKey]
799
799
  }, null, 8, je)
@@ -805,12 +805,12 @@ function qe(e, t, i, o, n, l) {
805
805
  text: "",
806
806
  onKeypress: t[1] || (t[1] = M(() => {
807
807
  }, ["stop"])),
808
- onClick: M((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
808
+ onClick: M((k) => !d._disabled && l.toggleItem(d, k), ["stop"])
809
809
  }, null, 8, ["icon", "onClick", "class"])) : c("", !0)
810
810
  ], 42, Fe),
811
- I(r, {
811
+ V(r, {
812
812
  y: "",
813
- onAfterLeave: (y) => l.onEndOfCollapse(d),
813
+ onAfterLeave: (k) => l.onEndOfCollapse(d),
814
814
  duration: i.duration
815
815
  }, {
816
816
  default: m(() => [
@@ -829,7 +829,7 @@ function qe(e, t, i, o, n, l) {
829
829
  expanded: d._expanded,
830
830
  index: h + 1
831
831
  }, () => [
832
- w("div", {
832
+ y("div", {
833
833
  innerHTML: d[i.itemContentKey]
834
834
  }, null, 8, Ue)
835
835
  ])
@@ -926,14 +926,14 @@ const Xe = {
926
926
  deep: !0
927
927
  }
928
928
  }
929
- }, Ye = /* @__PURE__ */ v(Xe, [["render", qe]]), Ge = { class: "w-alert__content" };
929
+ }, Ye = /* @__PURE__ */ w(Xe, [["render", qe]]), Ge = { class: "w-alert__content" };
930
930
  function Je(e, t, i, o, n, l) {
931
931
  const a = $("w-icon"), r = $("w-button");
932
932
  return n.show ? (s(), u("div", C({
933
933
  key: 0,
934
934
  class: "w-alert"
935
- }, W(e.$attrs, !0), { class: l.classes }), [
936
- l.type || i.icon || i.dismiss ? (s(), u(k, { key: 0 }, [
935
+ }, z(e.$attrs, !0), { class: l.classes }), [
936
+ l.type || i.icon || i.dismiss ? (s(), u(v, { key: 0 }, [
937
937
  l.type || i.icon ? (s(), g(a, {
938
938
  key: 0,
939
939
  class: "w-alert__icon mr2"
@@ -943,7 +943,7 @@ function Je(e, t, i, o, n, l) {
943
943
  ]),
944
944
  _: 1
945
945
  })) : c("", !0),
946
- w("div", Ge, [
946
+ y("div", Ge, [
947
947
  p(e.$slots, "default")
948
948
  ]),
949
949
  i.dismiss ? (s(), g(r, {
@@ -1039,13 +1039,196 @@ const Qe = {
1039
1039
  this.show = e;
1040
1040
  }
1041
1041
  }
1042
- }, Ze = /* @__PURE__ */ v(Qe, [["render", Je]]), et = { class: "w-app" };
1043
- function tt(e, t, i, o, n, l) {
1044
- return s(), u("div", et, [
1042
+ }, Ze = /* @__PURE__ */ w(Qe, [["render", Je]]), et = { class: "w-autocomplete__selection" }, tt = ["innerHTML"], it = ["innerHTML"], lt = {
1043
+ key: 0,
1044
+ class: "w-autocomplete__menu",
1045
+ ref: "menu"
1046
+ }, st = ["onClick"], ot = ["innerHTML"], at = ["innerHTML"];
1047
+ function nt(e, t, i, o, n, l) {
1048
+ const a = $("w-button"), r = $("w-transition-slide-fade");
1049
+ return s(), u("div", {
1050
+ class: f(["w-autocomplete", l.classes]),
1051
+ onClick: t[6] || (t[6] = (...d) => l.onClick && l.onClick(...d))
1052
+ }, [
1053
+ e.selection.length ? (s(!0), u(v, { key: 0 }, R(e.selection, (d, h) => (s(), u("div", et, [
1054
+ y("span", {
1055
+ innerHTML: d[i.itemLabelKey]
1056
+ }, null, 8, tt),
1057
+ V(a, {
1058
+ onClick: M((k) => l.unselectItem(h), ["stop"]),
1059
+ icon: "i-cross",
1060
+ xs: "",
1061
+ text: "",
1062
+ color: "currentColor"
1063
+ }, null, 8, ["onClick"])
1064
+ ]))), 256)) : c("", !0),
1065
+ !e.selection.length && !e.keywords && i.placeholder ? (s(), u("div", {
1066
+ key: 1,
1067
+ class: "w-autocomplete__placeholder",
1068
+ innerHTML: i.placeholder
1069
+ }, null, 8, it)) : c("", !0),
1070
+ A(y("input", C({
1071
+ class: "w-autocomplete__input",
1072
+ ref: "input",
1073
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => e.keywords = d),
1074
+ onFocus: t[1] || (t[1] = (...d) => l.onFocus && l.onFocus(...d)),
1075
+ onKeydown: t[2] || (t[2] = (...d) => l.onKeydown && l.onKeydown(...d)),
1076
+ onDrop: t[3] || (t[3] = (...d) => l.onDrop && l.onDrop(...d)),
1077
+ onCompositionstart: t[4] || (t[4] = (...d) => l.onCompositionStart && l.onCompositionStart(...d)),
1078
+ onCompositionupdate: t[5] || (t[5] = (...d) => l.onCompositionUpdate && l.onCompositionUpdate(...d))
1079
+ }, z(e.$listeners, !0)), null, 16), [
1080
+ [ae, e.keywords]
1081
+ ]),
1082
+ V(r, { y: "" }, {
1083
+ default: m(() => [
1084
+ e.menuOpen ? (s(), u("ul", lt, [
1085
+ (s(!0), u(v, null, R(l.filteredItems, (d, h) => (s(), u("li", {
1086
+ key: h,
1087
+ onClick: M((k) => l.selectItem(d), ["stop"]),
1088
+ class: f({ highlighted: e.highlightedItem === d.uid })
1089
+ }, [
1090
+ y("span", {
1091
+ innerHTML: d[i.itemLabelKey]
1092
+ }, null, 8, ot)
1093
+ ], 10, st))), 128)),
1094
+ l.filteredItems.length ? c("", !0) : (s(), u("li", {
1095
+ key: 0,
1096
+ class: f(["w-autocomplete__no-match", { "w-autocomplete__no-match--default": !e.$slots.noMatch }])
1097
+ }, [
1098
+ p(e.$slots, "no-match", {}, () => {
1099
+ var d;
1100
+ return [
1101
+ y("div", {
1102
+ class: "caption",
1103
+ innerHTML: (d = i.noMatch) != null ? d : "No match."
1104
+ }, null, 8, at)
1105
+ ];
1106
+ })
1107
+ ], 2))
1108
+ ], 512)) : c("", !0)
1109
+ ]),
1110
+ _: 3
1111
+ })
1112
+ ], 2);
1113
+ }
1114
+ const rt = {
1115
+ name: "w-autocomplete",
1116
+ props: {
1117
+ items: { type: Array, required: !0 },
1118
+ modelValue: { type: [String, Number, Array] },
1119
+ placeholder: { type: String },
1120
+ openOnKeydown: { type: Boolean },
1121
+ multiple: { type: Boolean },
1122
+ allowDuplicates: { type: Boolean },
1123
+ noMatch: { type: String },
1124
+ itemValueKey: { type: String, default: "value" },
1125
+ itemLabelKey: { type: String, default: "label" },
1126
+ itemSearchableKey: { type: String, default: "searchable" }
1127
+ },
1128
+ emits: ["input"],
1129
+ data: () => ({
1130
+ keywords: "",
1131
+ selection: [],
1132
+ menuOpen: !1,
1133
+ highlightedItem: null
1134
+ }),
1135
+ computed: {
1136
+ normalizedKeywords() {
1137
+ return this.normalize(this.keywords);
1138
+ },
1139
+ normalizedSelection() {
1140
+ return this.selection.map((e) => this.normalize(e == null ? void 0 : e.searchable));
1141
+ },
1142
+ optimizedItemsForSearch() {
1143
+ return this.items.map((e, t) => ({
1144
+ ...e,
1145
+ uid: t,
1146
+ searchable: this.normalize(e[this.itemSearchableKey] || "")
1147
+ }));
1148
+ },
1149
+ filteredItems() {
1150
+ let e = this.optimizedItemsForSearch;
1151
+ const t = this.normalizedSelection.join(","), i = (o) => !t.includes(o.searchable);
1152
+ return this.keywords ? e = e.filter((o) => o.searchable.includes(this.normalizedKeywords) ? this.multiple && !this.allowDuplicates ? i(o) : !0 : !1) : this.multiple && !this.allowDuplicates && (e = e.filter(i)), e;
1153
+ },
1154
+ highlightedItemIndex() {
1155
+ return this.highlightedItem === null ? -1 : this.filteredItems.findIndex((e) => e.uid === this.highlightedItem);
1156
+ },
1157
+ classes() {
1158
+ return {
1159
+ "w-autocomplete--open": this.menuOpen
1160
+ };
1161
+ }
1162
+ },
1163
+ methods: {
1164
+ normalize(e) {
1165
+ return e.toLowerCase().normalize("NFKD").replace(/\p{Diacritic}/gu, "").replace(/œ/g, "oe");
1166
+ },
1167
+ selectItem(e) {
1168
+ this.multiple || (this.selection = []), this.selection.push(e), this.highlightedItem = e.uid, this.keywords = "", this.$emit("input", this.multiple ? this.selection.map((t) => t[this.itemValueKey]) : e[this.itemValueKey]), this.$refs.input.focus(), this.multiple || this.closeMenu();
1169
+ },
1170
+ unselectItem(e) {
1171
+ this.selection.splice(e != null ? e : this.selection.length - 1, 1), this.highlightedItem = null, this.$emit("input", null), this.$refs.input.focus();
1172
+ },
1173
+ onClick() {
1174
+ this.openOnKeydown || this.openMenu(), this.$refs.input.focus();
1175
+ },
1176
+ onFocus() {
1177
+ this.openOnKeydown || this.openMenu();
1178
+ },
1179
+ onKeydown(e) {
1180
+ var i;
1181
+ const t = this.filteredItems.length;
1182
+ if ((!this.openOnKeydown || (this.keywords || e.key.length === 1) && !this.menuOpen) && this.openMenu(), e.keyCode === 8 && (!this.keywords || !e.target.selectionStart && !e.target.selectionEnd))
1183
+ this.unselectItem();
1184
+ else if (e.keyCode === 13)
1185
+ e.preventDefault(), this.highlightedItemIndex >= 0 && this.selectItem(this.filteredItems[this.highlightedItemIndex]);
1186
+ else if ([38, 40].includes(e.keyCode)) {
1187
+ e.preventDefault();
1188
+ let o = this.highlightedItemIndex;
1189
+ o === -1 ? o = e.keyCode === 38 ? t - 1 : 0 : o = (o + (e.keyCode === 38 ? -1 : 1) + t) % t, this.highlightedItem = ((i = this.filteredItems[o]) == null ? void 0 : i.uid) || 0;
1190
+ const n = this.$refs.menu;
1191
+ if (n) {
1192
+ const { offsetHeight: l, offsetTop: a } = n.childNodes[o] || {};
1193
+ n.scrollTop + n.offsetHeight - l < a ? n.scrollTop = a - n.offsetHeight + l : n.scrollTop > a && (n.scrollTop = a);
1194
+ }
1195
+ } else
1196
+ !this.multiple && this.selection.length && e.key.length === 1 && e.preventDefault();
1197
+ },
1198
+ onDrop(e) {
1199
+ !this.multiple && this.selection.length && e.preventDefault();
1200
+ },
1201
+ onCompositionStart(e) {
1202
+ !this.multiple && this.selection.length && e.target.setAttribute("readonly", !0);
1203
+ },
1204
+ onCompositionUpdate(e) {
1205
+ !this.multiple && this.selection.length && setTimeout(() => e.target.removeAttribute("readonly"), 200);
1206
+ },
1207
+ openMenu() {
1208
+ this.menuOpen || (this.menuOpen = !0, document.addEventListener("click", this.onDocumentClick));
1209
+ },
1210
+ closeMenu() {
1211
+ this.menuOpen = !1, document.removeEventListener("click", this.onDocumentClick);
1212
+ },
1213
+ onDocumentClick(e) {
1214
+ !this.$el.contains(e.target) && !this.$el.isSameNode(e.target) && this.closeMenu();
1215
+ }
1216
+ },
1217
+ created() {
1218
+ this.modelValue && (Array.isArray(this.modelValue) ? this.modelValue : [this.modelValue]).forEach((t) => {
1219
+ this.selection.push(this.optimizedItemsForSearch.find((i) => i[this.itemValueKey] === +t));
1220
+ });
1221
+ },
1222
+ beforeUnmount() {
1223
+ document.removeEventListener("click", this.onDocumentClick);
1224
+ }
1225
+ }, dt = /* @__PURE__ */ w(rt, [["render", nt]]), ut = { class: "w-app" };
1226
+ function ht(e, t, i, o, n, l) {
1227
+ return s(), u("div", ut, [
1045
1228
  p(e.$slots, "default")
1046
1229
  ]);
1047
1230
  }
1048
- const it = {
1231
+ const ct = {
1049
1232
  name: "w-app",
1050
1233
  props: {
1051
1234
  block: { type: Boolean },
@@ -1060,18 +1243,18 @@ const it = {
1060
1243
  textCenter: { type: Boolean },
1061
1244
  textRight: { type: Boolean }
1062
1245
  }
1063
- }, lt = /* @__PURE__ */ v(it, [["render", tt]]);
1064
- function st(e, t, i, o, n, l) {
1065
- return s(), u("div", C({ class: "w-badge-wrap" }, W(e.$attrs, !0)), [
1246
+ }, pt = /* @__PURE__ */ w(ct, [["render", ht]]);
1247
+ function ft(e, t, i, o, n, l) {
1248
+ return s(), u("div", C({ class: "w-badge-wrap" }, z(e.$attrs, !0)), [
1066
1249
  p(e.$slots, "default"),
1067
- I(O, {
1250
+ V(O, {
1068
1251
  name: `${i.transition}`
1069
1252
  }, {
1070
1253
  default: m(() => [
1071
1254
  i.modelValue ? (s(), u("div", {
1072
1255
  key: 0,
1073
1256
  class: f(["w-badge", l.classes]),
1074
- style: R(l.styles),
1257
+ style: L(l.styles),
1075
1258
  "aria-atomic": "true",
1076
1259
  "aria-label": "Badge",
1077
1260
  "aria-live": "polite",
@@ -1086,7 +1269,7 @@ function st(e, t, i, o, n, l) {
1086
1269
  }, 8, ["name"])
1087
1270
  ], 16);
1088
1271
  }
1089
- const at = {
1272
+ const mt = {
1090
1273
  name: "w-badge",
1091
1274
  props: {
1092
1275
  modelValue: { default: !0 },
@@ -1149,13 +1332,13 @@ const at = {
1149
1332
  return this.forcedSize && `font-size: ${this.forcedSize}`;
1150
1333
  }
1151
1334
  }
1152
- }, ot = /* @__PURE__ */ v(at, [["render", st]]), nt = ["innerHTML"];
1153
- function rt(e, t, i, o, n, l) {
1335
+ }, gt = /* @__PURE__ */ w(mt, [["render", ft]]), bt = ["innerHTML"];
1336
+ function yt(e, t, i, o, n, l) {
1154
1337
  const a = $("w-icon");
1155
1338
  return s(), u("div", {
1156
1339
  class: f(["w-breadcrumbs", l.classes])
1157
1340
  }, [
1158
- (s(!0), u(k, null, L(i.items, (r, d) => (s(), u(k, null, [
1341
+ (s(!0), u(v, null, R(i.items, (r, d) => (s(), u(v, null, [
1159
1342
  d && e.$slots.separator ? (s(), u("span", {
1160
1343
  class: f(["w-breadcrumbs__separator", i.separatorColor]),
1161
1344
  key: `${d}a`
@@ -1170,8 +1353,8 @@ function rt(e, t, i, o, n, l) {
1170
1353
  ]),
1171
1354
  _: 2
1172
1355
  }, 1032, ["class"])) : c("", !0),
1173
- r[i.itemRouteKey] && (d < i.items.length - 1 || i.linkLastItem) ? (s(), u(k, { key: 2 }, [
1174
- e.$slots.item ? (s(), g(V(l.hasRouter ? "router-link" : "a"), {
1356
+ r[i.itemRouteKey] && (d < i.items.length - 1 || i.linkLastItem) ? (s(), u(v, { key: 2 }, [
1357
+ e.$slots.item ? (s(), g(I(l.hasRouter ? "router-link" : "a"), {
1175
1358
  class: f(["w-breadcrumbs__item", i.color || null]),
1176
1359
  key: `${d}c`,
1177
1360
  to: l.hasRouter && r[i.itemRouteKey],
@@ -1185,7 +1368,7 @@ function rt(e, t, i, o, n, l) {
1185
1368
  })
1186
1369
  ]),
1187
1370
  _: 2
1188
- }, 1032, ["to", "href", "class"])) : (s(), g(V(l.hasRouter ? "router-link" : "a"), {
1371
+ }, 1032, ["to", "href", "class"])) : (s(), g(I(l.hasRouter ? "router-link" : "a"), {
1189
1372
  class: f(["w-breadcrumbs__item", i.color || null]),
1190
1373
  key: `${d}d`,
1191
1374
  to: l.hasRouter && r[i.itemRouteKey],
@@ -1200,11 +1383,11 @@ function rt(e, t, i, o, n, l) {
1200
1383
  }) : (s(), u("span", {
1201
1384
  key: `${d}f`,
1202
1385
  innerHTML: r[i.itemLabelKey]
1203
- }, null, 8, nt))
1386
+ }, null, 8, bt))
1204
1387
  ], 64))), 256))
1205
1388
  ], 2);
1206
1389
  }
1207
- const dt = {
1390
+ const wt = {
1208
1391
  name: "w-breadcrumbs",
1209
1392
  props: {
1210
1393
  items: { type: Array, required: !0 },
@@ -1234,11 +1417,11 @@ const dt = {
1234
1417
  };
1235
1418
  }
1236
1419
  }
1237
- }, ut = /* @__PURE__ */ v(dt, [["render", rt]]), ht = {
1420
+ }, vt = /* @__PURE__ */ w(wt, [["render", yt]]), kt = {
1238
1421
  key: 0,
1239
1422
  class: "w-button__loader"
1240
- }, ct = /* @__PURE__ */ w("svg", { viewBox: "0 0 40 40" }, [
1241
- /* @__PURE__ */ w("circle", {
1423
+ }, _t = /* @__PURE__ */ y("svg", { viewBox: "0 0 40 40" }, [
1424
+ /* @__PURE__ */ y("circle", {
1242
1425
  cx: "20",
1243
1426
  cy: "20",
1244
1427
  r: "18",
@@ -1248,14 +1431,14 @@ const dt = {
1248
1431
  "stroke-linecap": "round"
1249
1432
  })
1250
1433
  ], -1);
1251
- function pt(e, t, i, o, n, l) {
1434
+ function Ct(e, t, i, o, n, l) {
1252
1435
  const a = $("w-icon");
1253
- return s(), g(V(i.route ? "a" : "button"), C({
1436
+ return s(), g(I(i.route ? "a" : "button"), C({
1254
1437
  class: ["w-button", l.classes],
1255
1438
  type: !i.route && i.type,
1256
1439
  href: i.route && (l.externalLink ? i.route : l.resolvedRoute) || null,
1257
1440
  disabled: !!i.disabled || null
1258
- }, W(l.listeners), { style: l.styles }), {
1441
+ }, z(l.listeners), { style: l.styles }), {
1259
1442
  default: m(() => [
1260
1443
  i.icon ? (s(), g(a, le(C({ key: 0 }, i.iconProps || {})), {
1261
1444
  default: m(() => [
@@ -1263,11 +1446,11 @@ function pt(e, t, i, o, n, l) {
1263
1446
  ]),
1264
1447
  _: 1
1265
1448
  }, 16)) : p(e.$slots, "default", { key: 1 }),
1266
- I(O, { name: "scale-fade" }, {
1449
+ V(O, { name: "scale-fade" }, {
1267
1450
  default: m(() => [
1268
- i.loading ? (s(), u("div", ht, [
1451
+ i.loading ? (s(), u("div", kt, [
1269
1452
  p(e.$slots, "loading", {}, () => [
1270
- ct
1453
+ _t
1271
1454
  ])
1272
1455
  ])) : c("", !0)
1273
1456
  ]),
@@ -1277,7 +1460,7 @@ function pt(e, t, i, o, n, l) {
1277
1460
  _: 3
1278
1461
  }, 16, ["type", "href", "class", "disabled", "style"]);
1279
1462
  }
1280
- const ft = {
1463
+ const St = {
1281
1464
  props: {
1282
1465
  color: { type: String },
1283
1466
  bgColor: { type: String },
@@ -1367,12 +1550,12 @@ const ft = {
1367
1550
  };
1368
1551
  }
1369
1552
  }
1370
- }, mt = /* @__PURE__ */ v(ft, [["render", pt]]), gt = ["innerHTML"];
1371
- function bt(e, t, i, o, n, l) {
1553
+ }, Bt = /* @__PURE__ */ w(St, [["render", Ct]]), $t = ["innerHTML"];
1554
+ function Vt(e, t, i, o, n, l) {
1372
1555
  const a = $("button-partial");
1373
- return i.tooltip ? (s(), g(V("w-tooltip"), le(C({ key: 0 }, i.tooltipProps || {})), {
1556
+ return i.tooltip ? (s(), g(I("w-tooltip"), le(C({ key: 0 }, i.tooltipProps || {})), {
1374
1557
  activator: m(({ on: r }) => [
1375
- I(a, C(l.buttonProps, W(r)), {
1558
+ V(a, C(l.buttonProps, z(r)), {
1376
1559
  default: m(() => [
1377
1560
  p(e.$slots, "default")
1378
1561
  ]),
@@ -1380,7 +1563,7 @@ function bt(e, t, i, o, n, l) {
1380
1563
  }, 1040)
1381
1564
  ]),
1382
1565
  default: m(() => [
1383
- w("div", { innerHTML: i.tooltip }, null, 8, gt)
1566
+ y("div", { innerHTML: i.tooltip }, null, 8, $t)
1384
1567
  ]),
1385
1568
  _: 3
1386
1569
  }, 16)) : (s(), g(a, le(C({ key: 1 }, l.buttonProps)), {
@@ -1393,7 +1576,7 @@ function bt(e, t, i, o, n, l) {
1393
1576
  _: 3
1394
1577
  }, 16));
1395
1578
  }
1396
- const yt = {
1579
+ const It = {
1397
1580
  name: "w-button",
1398
1581
  inheritAttrs: !1,
1399
1582
  props: {
@@ -1429,7 +1612,7 @@ const yt = {
1429
1612
  lg: { type: Boolean },
1430
1613
  xl: { type: Boolean }
1431
1614
  },
1432
- components: { ButtonPartial: mt },
1615
+ components: { ButtonPartial: Bt },
1433
1616
  emits: [],
1434
1617
  computed: {
1435
1618
  buttonProps() {
@@ -1437,8 +1620,8 @@ const yt = {
1437
1620
  return { ...i, ...this.$attrs };
1438
1621
  }
1439
1622
  }
1440
- }, wt = /* @__PURE__ */ v(yt, [["render", bt]]), A = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), vt = ["innerHTML"];
1441
- function kt(e, t, i, o, n, l) {
1623
+ }, Tt = /* @__PURE__ */ w(It, [["render", Vt]]), K = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), Rt = ["innerHTML"];
1624
+ function Lt(e, t, i, o, n, l) {
1442
1625
  const a = $("w-image");
1443
1626
  return s(), u("div", {
1444
1627
  class: f(["w-card", l.classes])
@@ -1452,7 +1635,7 @@ function kt(e, t, i, o, n, l) {
1452
1635
  key: 1,
1453
1636
  class: f(["w-card__title", { "w-card__title--has-toolbar": e.$slots.title && l.titleHasToolbar, ...l.titleClasses }]),
1454
1637
  innerHTML: i.title
1455
- }, null, 10, vt)) : c("", !0),
1638
+ }, null, 10, Rt)) : c("", !0),
1456
1639
  i.image ? (s(), g(a, C({
1457
1640
  key: 2,
1458
1641
  class: "w-card__image",
@@ -1463,7 +1646,7 @@ function kt(e, t, i, o, n, l) {
1463
1646
  ]),
1464
1647
  _: 3
1465
1648
  }, 16, ["src"])) : c("", !0),
1466
- w("div", {
1649
+ y("div", {
1467
1650
  class: f(["w-card__content", l.contentClasses])
1468
1651
  }, [
1469
1652
  p(e.$slots, "default")
@@ -1476,7 +1659,7 @@ function kt(e, t, i, o, n, l) {
1476
1659
  ], 2)) : c("", !0)
1477
1660
  ], 2);
1478
1661
  }
1479
- const _t = {
1662
+ const xt = {
1480
1663
  name: "w-card",
1481
1664
  props: {
1482
1665
  color: { type: String },
@@ -1495,10 +1678,10 @@ const _t = {
1495
1678
  emits: [],
1496
1679
  computed: {
1497
1680
  titleClasses() {
1498
- return A(this.titleClass);
1681
+ return K(this.titleClass);
1499
1682
  },
1500
1683
  contentClasses() {
1501
- return A(this.contentClass);
1684
+ return K(this.contentClass);
1502
1685
  },
1503
1686
  titleHasToolbar() {
1504
1687
  const { title: e } = this.$slots;
@@ -1527,7 +1710,7 @@ const _t = {
1527
1710
  };
1528
1711
  }
1529
1712
  }
1530
- }, Ct = /* @__PURE__ */ v(_t, [["render", kt]]), z = {
1713
+ }, Ot = /* @__PURE__ */ w(xt, [["render", Lt]]), E = {
1531
1714
  inject: {
1532
1715
  formRegister: { default: null },
1533
1716
  formProps: { default: () => ({ disabled: !1, readonly: !1 }) }
@@ -1568,13 +1751,13 @@ const _t = {
1568
1751
  this.$refs.formEl.validate(this);
1569
1752
  }
1570
1753
  }
1571
- }, St = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], Bt = ["for"], $t = ["for", "innerHTML"], Vt = /* @__PURE__ */ w("svg", { viewBox: "-0.5 0 12 10" }, [
1572
- /* @__PURE__ */ w("polyline", { points: "1 5 4 8 10 2" })
1573
- ], -1), It = [
1574
- Vt
1575
- ], Tt = ["for"], Rt = ["for", "innerHTML"];
1576
- function Lt(e, t, i, o, n, l) {
1577
- return s(), g(V(e.formRegister && !l.wCheckboxes ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isChecked, disabled: e.isDisabled, readonly: e.isReadonly }, {
1754
+ }, Pt = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], Mt = ["for"], zt = ["for", "innerHTML"], Et = /* @__PURE__ */ y("svg", { viewBox: "-0.5 0 12 10" }, [
1755
+ /* @__PURE__ */ y("polyline", { points: "1 5 4 8 10 2" })
1756
+ ], -1), Wt = [
1757
+ Et
1758
+ ], At = ["for"], Kt = ["for", "innerHTML"];
1759
+ function Nt(e, t, i, o, n, l) {
1760
+ return s(), g(I(e.formRegister && !l.wCheckboxes ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isChecked, disabled: e.isDisabled, readonly: e.isReadonly }, {
1578
1761
  valid: e.valid,
1579
1762
  "onUpdate:valid": t[5] || (t[5] = (a) => e.valid = a),
1580
1763
  onReset: t[6] || (t[6] = (a) => {
@@ -1583,7 +1766,7 @@ function Lt(e, t, i, o, n, l) {
1583
1766
  class: l.classes
1584
1767
  }), {
1585
1768
  default: m(() => [
1586
- w("input", {
1769
+ y("input", {
1587
1770
  ref: "input",
1588
1771
  id: `w-checkbox--${e._.uid}`,
1589
1772
  type: "checkbox",
@@ -1595,11 +1778,11 @@ function Lt(e, t, i, o, n, l) {
1595
1778
  onFocus: t[0] || (t[0] = (a) => e.$emit("focus", a)),
1596
1779
  onBlur: t[1] || (t[1] = (a) => e.$emit("blur", a)),
1597
1780
  onChange: t[2] || (t[2] = (a) => l.onInput()),
1598
- onKeypress: t[3] || (t[3] = E((...a) => l.onInput && l.onInput(...a), ["enter"])),
1781
+ onKeypress: t[3] || (t[3] = W((...a) => l.onInput && l.onInput(...a), ["enter"])),
1599
1782
  "aria-checked": n.isChecked || "false",
1600
1783
  role: "checkbox"
1601
- }, null, 40, St),
1602
- l.hasLabel && i.labelOnLeft ? (s(), u(k, { key: 0 }, [
1784
+ }, null, 40, Pt),
1785
+ l.hasLabel && i.labelOnLeft ? (s(), u(v, { key: 0 }, [
1603
1786
  e.$slots.default ? (s(), u("label", {
1604
1787
  key: 0,
1605
1788
  class: f(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
@@ -1608,20 +1791,20 @@ function Lt(e, t, i, o, n, l) {
1608
1791
  p(e.$slots, "default", {}, () => [
1609
1792
  S(_(i.label), 1)
1610
1793
  ])
1611
- ], 10, Bt)) : i.label ? (s(), u("label", {
1794
+ ], 10, Mt)) : i.label ? (s(), u("label", {
1612
1795
  key: 1,
1613
1796
  class: f(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
1614
1797
  for: `w-checkbox--${e._.uid}`,
1615
1798
  innerHTML: i.label
1616
- }, null, 10, $t)) : c("", !0)
1799
+ }, null, 10, zt)) : c("", !0)
1617
1800
  ], 64)) : c("", !0),
1618
- w("div", {
1801
+ y("div", {
1619
1802
  class: f(["w-checkbox__input", this.color]),
1620
1803
  onClick: t[4] || (t[4] = (a) => {
1621
1804
  e.$refs.input.focus(), e.$refs.input.click();
1622
1805
  })
1623
- }, It, 2),
1624
- l.hasLabel && !i.labelOnLeft ? (s(), u(k, { key: 1 }, [
1806
+ }, Wt, 2),
1807
+ l.hasLabel && !i.labelOnLeft ? (s(), u(v, { key: 1 }, [
1625
1808
  e.$slots.default ? (s(), u("label", {
1626
1809
  key: 0,
1627
1810
  class: f(["w-checkbox__label w-form-el-shakable pl2", e.labelClasses]),
@@ -1630,20 +1813,20 @@ function Lt(e, t, i, o, n, l) {
1630
1813
  p(e.$slots, "default", {}, () => [
1631
1814
  S(_(i.label), 1)
1632
1815
  ])
1633
- ], 10, Tt)) : i.label ? (s(), u("label", {
1816
+ ], 10, At)) : i.label ? (s(), u("label", {
1634
1817
  key: 1,
1635
1818
  class: f(["w-checkbox__label w-form-el-shakable pl2", e.labelClasses]),
1636
1819
  for: `w-checkbox--${e._.uid}`,
1637
1820
  innerHTML: i.label
1638
- }, null, 10, Rt)) : c("", !0)
1821
+ }, null, 10, Kt)) : c("", !0)
1639
1822
  ], 64)) : c("", !0)
1640
1823
  ]),
1641
1824
  _: 3
1642
1825
  }, 16, ["valid", "class"]);
1643
1826
  }
1644
- const xt = {
1827
+ const Ht = {
1645
1828
  name: "w-checkbox",
1646
- mixins: [z],
1829
+ mixins: [E],
1647
1830
  inject: {
1648
1831
  wCheckboxes: { default: null }
1649
1832
  },
@@ -1703,10 +1886,10 @@ const xt = {
1703
1886
  this.isChecked = e;
1704
1887
  }
1705
1888
  }
1706
- }, Ot = /* @__PURE__ */ v(xt, [["render", Lt]]), Pt = ["innerHTML"];
1707
- function zt(e, t, i, o, n, l) {
1889
+ }, Dt = /* @__PURE__ */ w(Ht, [["render", Nt]]), Ft = ["innerHTML"];
1890
+ function jt(e, t, i, o, n, l) {
1708
1891
  const a = $("w-checkbox");
1709
- return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.checkboxItems.some((r) => r._isChecked), disabled: e.isDisabled }, {
1892
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.checkboxItems.some((r) => r._isChecked), disabled: e.isDisabled }, {
1710
1893
  valid: e.valid,
1711
1894
  "onUpdate:valid": t[1] || (t[1] = (r) => e.valid = r),
1712
1895
  onReset: l.reset,
@@ -1715,7 +1898,7 @@ function zt(e, t, i, o, n, l) {
1715
1898
  class: l.classes
1716
1899
  }), {
1717
1900
  default: m(() => [
1718
- (s(!0), u(k, null, L(l.checkboxItems, (r, d) => (s(), g(a, C({
1901
+ (s(!0), u(v, null, R(l.checkboxItems, (r, d) => (s(), g(a, C({
1719
1902
  key: d,
1720
1903
  "model-value": r._isChecked,
1721
1904
  "onUpdate:modelValue": (h) => l.toggleCheck(r, h),
@@ -1736,7 +1919,7 @@ function zt(e, t, i, o, n, l) {
1736
1919
  }) : r.label ? (s(), u("div", {
1737
1920
  key: 1,
1738
1921
  innerHTML: r.label
1739
- }, null, 8, Pt)) : c("", !0)
1922
+ }, null, 8, Ft)) : c("", !0)
1740
1923
  ]),
1741
1924
  _: 2
1742
1925
  }, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
@@ -1744,9 +1927,9 @@ function zt(e, t, i, o, n, l) {
1744
1927
  _: 3
1745
1928
  }, 16, ["valid", "onReset", "column", "wrap", "class"]);
1746
1929
  }
1747
- const Mt = {
1930
+ const Ut = {
1748
1931
  name: "w-checkboxes",
1749
- mixins: [z],
1932
+ mixins: [E],
1750
1933
  props: {
1751
1934
  items: { type: Array, required: !0 },
1752
1935
  modelValue: { type: Array },
@@ -1798,15 +1981,15 @@ const Mt = {
1798
1981
  return this.items[e._index];
1799
1982
  }
1800
1983
  }
1801
- }, Et = /* @__PURE__ */ v(Mt, [["render", zt]]);
1802
- function Wt(e, t, i, o, n, l) {
1803
- const a = $("w-button"), r = $("w-flex"), d = $("w-menu"), h = ge("focus");
1984
+ }, qt = /* @__PURE__ */ w(Ut, [["render", jt]]);
1985
+ function Xt(e, t, i, o, n, l) {
1986
+ const a = $("w-button"), r = $("w-flex"), d = $("w-menu"), h = be("focus");
1804
1987
  return s(), g(d, C({
1805
1988
  modelValue: e.showPopup,
1806
- "onUpdate:modelValue": t[2] || (t[2] = (y) => e.showPopup = y)
1989
+ "onUpdate:modelValue": t[2] || (t[2] = (k) => e.showPopup = k)
1807
1990
  }, l.wMenuProps), {
1808
- activator: m(({ on: y }) => [
1809
- I(a, C({ class: "w-confirm" }, { ...e.$attrs, ...l.buttonProps, ...i.disablePrompt ? {} : y }), {
1991
+ activator: m(({ on: k }) => [
1992
+ V(a, C({ class: "w-confirm" }, { ...e.$attrs, ...l.buttonProps, ...i.disablePrompt ? {} : k }), {
1810
1993
  default: m(() => [
1811
1994
  p(e.$slots, "default")
1812
1995
  ]),
@@ -1814,17 +1997,17 @@ function Wt(e, t, i, o, n, l) {
1814
1997
  }, 1040)
1815
1998
  ]),
1816
1999
  default: m(() => [
1817
- I(r, {
2000
+ V(r, {
1818
2001
  column: !i.inline,
1819
2002
  "align-center": ""
1820
2003
  }, {
1821
2004
  default: m(() => [
1822
- w("div", null, [
2005
+ y("div", null, [
1823
2006
  p(e.$slots, "question", {}, () => [
1824
2007
  S(_(i.question), 1)
1825
2008
  ])
1826
2009
  ]),
1827
- w("div", {
2010
+ y("div", {
1828
2011
  class: f(["w-flex justify-end", i.inline ? "ml2" : "mt2"])
1829
2012
  }, [
1830
2013
  i.cancel !== !1 ? (s(), g(a, C({
@@ -1832,7 +2015,7 @@ function Wt(e, t, i, o, n, l) {
1832
2015
  class: "mr2"
1833
2016
  }, l.cancelButtonProps, {
1834
2017
  "bg-color": (l.cancelButton || {}).bgColor || "error",
1835
- onKeyup: t[0] || (t[0] = E((y) => !i.persistent && l.onCancel(), ["escape"])),
2018
+ onKeyup: t[0] || (t[0] = W((k) => !i.persistent && l.onCancel(), ["escape"])),
1836
2019
  onClick: l.onCancel
1837
2020
  }), {
1838
2021
  default: m(() => [
@@ -1842,9 +2025,9 @@ function Wt(e, t, i, o, n, l) {
1842
2025
  ]),
1843
2026
  _: 3
1844
2027
  }, 16, ["bg-color", "onClick"])) : c("", !0),
1845
- N((s(), g(a, C(l.confirmButtonProps, {
2028
+ A((s(), g(a, C(l.confirmButtonProps, {
1846
2029
  "bg-color": (l.confirmButton || {}).bgColor || "success",
1847
- onKeyup: t[1] || (t[1] = E((y) => !i.persistent && l.onCancel(), ["escape"])),
2030
+ onKeyup: t[1] || (t[1] = W((k) => !i.persistent && l.onCancel(), ["escape"])),
1848
2031
  onClick: l.onConfirm
1849
2032
  }), {
1850
2033
  default: m(() => [
@@ -1864,7 +2047,7 @@ function Wt(e, t, i, o, n, l) {
1864
2047
  _: 3
1865
2048
  }, 16, ["modelValue"]);
1866
2049
  }
1867
- const At = {
2050
+ const Yt = {
1868
2051
  name: "w-confirm",
1869
2052
  inheritAttrs: !1,
1870
2053
  props: {
@@ -1957,16 +2140,16 @@ const At = {
1957
2140
  this.$emit("confirm"), this.showPopup = !1;
1958
2141
  }
1959
2142
  }
1960
- }, Nt = /* @__PURE__ */ v(At, [["render", Wt]]);
1961
- function Kt(e, t, i, o, n, l) {
2143
+ }, Gt = /* @__PURE__ */ w(Yt, [["render", Xt]]);
2144
+ function Jt(e, t, i, o, n, l) {
1962
2145
  return s(), u("div", {
1963
2146
  class: f(["w-date-picker", l.classes]),
1964
- style: R(l.styles)
2147
+ style: L(l.styles)
1965
2148
  }, [
1966
2149
  p(e.$slots, "default")
1967
2150
  ], 6);
1968
2151
  }
1969
- const Ht = {
2152
+ const Qt = {
1970
2153
  name: "w-date-picker",
1971
2154
  props: {
1972
2155
  dark: { type: Boolean },
@@ -1984,8 +2167,8 @@ const Ht = {
1984
2167
  return !1;
1985
2168
  }
1986
2169
  }
1987
- }, Dt = /* @__PURE__ */ v(Ht, [["render", Kt]]);
1988
- function Ft(e, t, i, o, n, l) {
2170
+ }, Zt = /* @__PURE__ */ w(Qt, [["render", Jt]]);
2171
+ function ei(e, t, i, o, n, l) {
1989
2172
  const a = $("w-card"), r = $("w-overlay");
1990
2173
  return s(), g(r, {
1991
2174
  class: f(["w-dialog", l.classes]),
@@ -1998,13 +2181,13 @@ function Ft(e, t, i, o, n, l) {
1998
2181
  opacity: i.overlayOpacity
1999
2182
  }, {
2000
2183
  default: m(() => [
2001
- I(O, {
2184
+ V(O, {
2002
2185
  name: i.transition,
2003
2186
  appear: "",
2004
2187
  onAfterLeave: l.onBeforeClose
2005
2188
  }, {
2006
2189
  default: m(() => [
2007
- N(I(a, {
2190
+ A(V(a, {
2008
2191
  class: f(["w-dialog__content", i.dialogClass]),
2009
2192
  ref: "dialog",
2010
2193
  "no-border": "",
@@ -2013,7 +2196,7 @@ function Ft(e, t, i, o, n, l) {
2013
2196
  "title-class": i.titleClass,
2014
2197
  "content-class": i.contentClass,
2015
2198
  title: i.title || void 0,
2016
- style: R(l.contentStyles)
2199
+ style: L(l.contentStyles)
2017
2200
  }, Z({
2018
2201
  default: m(() => [
2019
2202
  p(e.$slots, "default")
@@ -2035,7 +2218,7 @@ function Ft(e, t, i, o, n, l) {
2035
2218
  key: "1"
2036
2219
  } : void 0
2037
2220
  ]), 1032, ["color", "bg-color", "class", "title-class", "content-class", "title", "style"]), [
2038
- [oe, n.showContent]
2221
+ [ne, n.showContent]
2039
2222
  ])
2040
2223
  ]),
2041
2224
  _: 3
@@ -2044,7 +2227,7 @@ function Ft(e, t, i, o, n, l) {
2044
2227
  _: 3
2045
2228
  }, 8, ["model-value", "persistent", "persistent-no-animation", "onClick", "onClose", "bg-color", "opacity", "class"]);
2046
2229
  }
2047
- const jt = {
2230
+ const ti = {
2048
2231
  name: "w-dialog",
2049
2232
  props: {
2050
2233
  modelValue: { default: !0 },
@@ -2111,17 +2294,17 @@ const jt = {
2111
2294
  this.showWrapper = e, this.showContent = e;
2112
2295
  }
2113
2296
  }
2114
- }, Ut = /* @__PURE__ */ v(jt, [["render", Ft]]), qt = ["role", "aria-orientation"];
2115
- function Xt(e, t, i, o, n, l) {
2297
+ }, ii = /* @__PURE__ */ w(ti, [["render", ei]]), li = ["role", "aria-orientation"];
2298
+ function si(e, t, i, o, n, l) {
2116
2299
  return s(), u("div", {
2117
2300
  class: f(["w-divider", l.classes]),
2118
2301
  role: e.$slots.default ? null : "presentation",
2119
2302
  "aria-orientation": i.vertical ? "vertical" : "horizontal"
2120
2303
  }, [
2121
2304
  p(e.$slots, "default")
2122
- ], 10, qt);
2305
+ ], 10, li);
2123
2306
  }
2124
- const Yt = {
2307
+ const oi = {
2125
2308
  name: "w-divider",
2126
2309
  props: {
2127
2310
  vertical: { type: Boolean },
@@ -2141,8 +2324,8 @@ const Yt = {
2141
2324
  };
2142
2325
  }
2143
2326
  }
2144
- }, Gt = /* @__PURE__ */ v(Yt, [["render", Xt]]), Jt = { class: "w-drawer-wrap__pushable" };
2145
- function Qt(e, t, i, o, n, l) {
2327
+ }, ai = /* @__PURE__ */ w(oi, [["render", si]]), ni = { class: "w-drawer-wrap__pushable" };
2328
+ function ri(e, t, i, o, n, l) {
2146
2329
  const a = $("w-overlay");
2147
2330
  return n.showWrapper || i.pushContent ? (s(), u("div", {
2148
2331
  key: 0,
@@ -2151,9 +2334,9 @@ function Qt(e, t, i, o, n, l) {
2151
2334
  i.pushContent ? (s(), u("div", {
2152
2335
  key: 0,
2153
2336
  class: "w-drawer-wrap__track",
2154
- style: R(l.trackStyles)
2337
+ style: L(l.trackStyles)
2155
2338
  }, [
2156
- w("div", Jt, [
2339
+ y("div", ni, [
2157
2340
  i.noOverlay ? c("", !0) : (s(), g(a, {
2158
2341
  key: 0,
2159
2342
  modelValue: n.showDrawer,
@@ -2166,17 +2349,17 @@ function Qt(e, t, i, o, n, l) {
2166
2349
  }, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
2167
2350
  p(e.$slots, "pushable")
2168
2351
  ]),
2169
- I(O, {
2352
+ V(O, {
2170
2353
  name: "fade",
2171
2354
  onBeforeLeave: l.onBeforeClose,
2172
2355
  onAfterLeave: l.onClose
2173
2356
  }, {
2174
2357
  default: m(() => [
2175
- n.showDrawer ? (s(), g(V(i.tag || "aside"), {
2358
+ n.showDrawer ? (s(), g(I(i.tag || "aside"), {
2176
2359
  key: 0,
2177
2360
  class: f(["w-drawer", l.drawerClasses]),
2178
2361
  ref: "drawer",
2179
- style: R(l.styles)
2362
+ style: L(l.styles)
2180
2363
  }, {
2181
2364
  default: m(() => [
2182
2365
  p(e.$slots, "default")
@@ -2186,7 +2369,7 @@ function Qt(e, t, i, o, n, l) {
2186
2369
  ]),
2187
2370
  _: 3
2188
2371
  }, 8, ["onBeforeLeave", "onAfterLeave"])
2189
- ], 4)) : (s(), u(k, { key: 1 }, [
2372
+ ], 4)) : (s(), u(v, { key: 1 }, [
2190
2373
  i.noOverlay ? c("", !0) : (s(), g(a, {
2191
2374
  key: 0,
2192
2375
  modelValue: n.showDrawer,
@@ -2197,18 +2380,18 @@ function Qt(e, t, i, o, n, l) {
2197
2380
  "bg-color": i.overlayColor,
2198
2381
  opacity: i.overlayOpacity
2199
2382
  }, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
2200
- I(O, {
2383
+ V(O, {
2201
2384
  name: l.transitionName,
2202
2385
  appear: "",
2203
2386
  onBeforeLeave: l.onBeforeClose,
2204
2387
  onAfterLeave: l.onClose
2205
2388
  }, {
2206
2389
  default: m(() => [
2207
- n.showDrawer ? (s(), g(V(i.tag || "aside"), {
2390
+ n.showDrawer ? (s(), g(I(i.tag || "aside"), {
2208
2391
  key: 0,
2209
2392
  class: f(["w-drawer", l.drawerClasses]),
2210
2393
  ref: "drawer",
2211
- style: R(l.styles)
2394
+ style: L(l.styles)
2212
2395
  }, {
2213
2396
  default: m(() => [
2214
2397
  p(e.$slots, "default")
@@ -2221,7 +2404,7 @@ function Qt(e, t, i, o, n, l) {
2221
2404
  ], 64))
2222
2405
  ], 2)) : c("", !0);
2223
2406
  }
2224
- const Zt = { left: "right", right: "left", top: "down", bottom: "up" }, ei = {
2407
+ const di = { left: "right", right: "left", top: "down", bottom: "up" }, ui = {
2225
2408
  name: "w-drawer",
2226
2409
  props: {
2227
2410
  modelValue: { default: !0 },
@@ -2307,7 +2490,7 @@ const Zt = { left: "right", right: "left", top: "down", bottom: "up" }, ei = {
2307
2490
  return !this.showWrapper;
2308
2491
  },
2309
2492
  transitionName() {
2310
- return `slide-${Zt[this.position]}`;
2493
+ return `slide-${di[this.position]}`;
2311
2494
  }
2312
2495
  },
2313
2496
  methods: {
@@ -2326,9 +2509,9 @@ const Zt = { left: "right", right: "left", top: "down", bottom: "up" }, ei = {
2326
2509
  e && (this.showWrapper = !0), this.showDrawer = e;
2327
2510
  }
2328
2511
  }
2329
- }, ti = /* @__PURE__ */ v(ei, [["render", Qt]]);
2330
- function ii(e, t, i, o, n, l) {
2331
- return s(), g(V(i.tag), {
2512
+ }, hi = /* @__PURE__ */ w(ui, [["render", ri]]);
2513
+ function ci(e, t, i, o, n, l) {
2514
+ return s(), g(I(i.tag), {
2332
2515
  class: f(["w-flex", l.classes])
2333
2516
  }, {
2334
2517
  default: m(() => [
@@ -2337,7 +2520,7 @@ function ii(e, t, i, o, n, l) {
2337
2520
  _: 3
2338
2521
  }, 8, ["class"]);
2339
2522
  }
2340
- const li = {
2523
+ const pi = {
2341
2524
  name: "w-flex",
2342
2525
  props: {
2343
2526
  tag: { type: String, default: "div" },
@@ -2384,8 +2567,8 @@ const li = {
2384
2567
  };
2385
2568
  }
2386
2569
  }
2387
- }, si = /* @__PURE__ */ v(li, [["render", ii]]);
2388
- function ai(e, t, i, o, n, l) {
2570
+ }, fi = /* @__PURE__ */ w(pi, [["render", ci]]);
2571
+ function mi(e, t, i, o, n, l) {
2389
2572
  return s(), u("form", {
2390
2573
  class: f(["w-form", l.classes]),
2391
2574
  onSubmit: t[0] || (t[0] = (...a) => l.onSubmit && l.onSubmit(...a)),
@@ -2395,12 +2578,12 @@ function ai(e, t, i, o, n, l) {
2395
2578
  p(e.$slots, "default")
2396
2579
  ], 34);
2397
2580
  }
2398
- const oi = async (e, t) => {
2581
+ const gi = async (e, t) => {
2399
2582
  for (const i of e)
2400
2583
  if (await t(i))
2401
2584
  return !0;
2402
2585
  return !1;
2403
- }, ni = {
2586
+ }, bi = {
2404
2587
  name: "w-form",
2405
2588
  props: {
2406
2589
  modelValue: {},
@@ -2467,7 +2650,7 @@ const oi = async (e, t) => {
2467
2650
  },
2468
2651
  async checkElementValidators(e) {
2469
2652
  let t = !1, i = "";
2470
- await oi(e.validators, async (o) => {
2653
+ await gi(e.validators, async (o) => {
2471
2654
  const n = await (typeof o == "function" && o(e.inputValue));
2472
2655
  return t = typeof n != "string", i = t ? "" : n, !t;
2473
2656
  }), e.hasJustReset = !1, e.Validation.isValid = t, e.Validation.message = i;
@@ -2490,18 +2673,18 @@ const oi = async (e, t) => {
2490
2673
  (this.status === !1 && e || e === null && this.status !== null) && this.reset(), this.status = e;
2491
2674
  }
2492
2675
  }
2493
- }, ri = /* @__PURE__ */ v(ni, [["render", ai]]);
2494
- function di(e, t, i, o, n, l) {
2676
+ }, yi = /* @__PURE__ */ w(bi, [["render", mi]]);
2677
+ function wi(e, t, i, o, n, l) {
2495
2678
  const a = $("w-transition-expand");
2496
2679
  return s(), u("div", {
2497
2680
  class: f(l.classes)
2498
2681
  }, [
2499
- w("div", {
2682
+ y("div", {
2500
2683
  class: f(["w-flex grow", [i.column ? "column" : "align-center", i.wrap ? "wrap" : ""]])
2501
2684
  }, [
2502
2685
  p(e.$slots, "default")
2503
2686
  ], 2),
2504
- I(a, { y: "" }, {
2687
+ V(a, { y: "" }, {
2505
2688
  default: m(() => [
2506
2689
  e.Validation.message ? (s(), u("div", {
2507
2690
  key: 0,
@@ -2518,7 +2701,7 @@ function di(e, t, i, o, n, l) {
2518
2701
  })
2519
2702
  ], 2);
2520
2703
  }
2521
- const ui = {
2704
+ const vi = {
2522
2705
  name: "w-form-element",
2523
2706
  props: {
2524
2707
  valid: { required: !0 },
@@ -2584,9 +2767,9 @@ const ui = {
2584
2767
  beforeUnmount() {
2585
2768
  this.formUnregister && this.formUnregister(this);
2586
2769
  }
2587
- }, hi = /* @__PURE__ */ v(ui, [["render", di]]);
2588
- function ci(e, t, i, o, n, l) {
2589
- return s(), g(V(i.tag), {
2770
+ }, ki = /* @__PURE__ */ w(vi, [["render", wi]]);
2771
+ function _i(e, t, i, o, n, l) {
2772
+ return s(), g(I(i.tag), {
2590
2773
  class: f(["w-grid", l.classes])
2591
2774
  }, {
2592
2775
  default: m(() => [
@@ -2595,7 +2778,7 @@ function ci(e, t, i, o, n, l) {
2595
2778
  _: 3
2596
2779
  }, 8, ["class"]);
2597
2780
  }
2598
- const pi = {
2781
+ const Ci = {
2599
2782
  name: "w-grid",
2600
2783
  props: {
2601
2784
  tag: { type: String, default: "div" },
@@ -2639,23 +2822,23 @@ const pi = {
2639
2822
  };
2640
2823
  }
2641
2824
  }
2642
- }, fi = /* @__PURE__ */ v(pi, [["render", ci]]);
2643
- function mi(e, t, i, o, n, l) {
2644
- return s(), g(V(i.tag || "i"), C({ class: "w-icon" }, W(e.$attrs), {
2825
+ }, Si = /* @__PURE__ */ w(Ci, [["render", _i]]);
2826
+ function Bi(e, t, i, o, n, l) {
2827
+ return s(), g(I(i.tag || "i"), C({ class: "w-icon" }, z(e.$attrs), {
2645
2828
  class: l.classes,
2646
2829
  role: "icon",
2647
2830
  "aria-hidden": "true",
2648
2831
  style: l.readIcon() && l.styles
2649
2832
  }), {
2650
2833
  default: m(() => [
2651
- l.hasLigature ? (s(), u(k, { key: 0 }, [
2834
+ l.hasLigature ? (s(), u(v, { key: 0 }, [
2652
2835
  S(_(e.icon), 1)
2653
2836
  ], 64)) : c("", !0)
2654
2837
  ]),
2655
2838
  _: 1
2656
2839
  }, 16, ["class", "style"]);
2657
2840
  }
2658
- const gi = {
2841
+ const $i = {
2659
2842
  name: "w-icon",
2660
2843
  props: {
2661
2844
  tag: { type: String, default: "i" },
@@ -2724,39 +2907,39 @@ const gi = {
2724
2907
  return this.fontName = t, this.icon = i, !0;
2725
2908
  }
2726
2909
  }
2727
- }, bi = /* @__PURE__ */ v(gi, [["render", mi]]), yi = {
2910
+ }, Vi = /* @__PURE__ */ w($i, [["render", Bi]]), Ii = {
2728
2911
  key: 0,
2729
2912
  class: "w-image__loader"
2730
2913
  };
2731
- function wi(e, t, i, o, n, l) {
2914
+ function Ti(e, t, i, o, n, l) {
2732
2915
  const a = $("w-progress");
2733
- return s(), g(V(l.wrapperTag), {
2916
+ return s(), g(I(l.wrapperTag), {
2734
2917
  class: f(["w-image-wrap", l.wrapperClasses]),
2735
- style: R(l.wrapperStyles)
2918
+ style: L(l.wrapperStyles)
2736
2919
  }, {
2737
2920
  default: m(() => [
2738
- I(O, {
2921
+ V(O, {
2739
2922
  name: i.transition,
2740
2923
  appear: ""
2741
2924
  }, {
2742
2925
  default: m(() => [
2743
- n.loaded ? (s(), g(V(i.tag), {
2926
+ n.loaded ? (s(), g(I(i.tag), {
2744
2927
  key: 0,
2745
2928
  class: f(["w-image", l.imageClasses]),
2746
- style: R(l.imageStyles),
2929
+ style: L(l.imageStyles),
2747
2930
  src: i.tag === "img" ? n.imgSrc : null
2748
2931
  }, null, 8, ["class", "style", "src"])) : c("", !0)
2749
2932
  ]),
2750
2933
  _: 1
2751
2934
  }, 8, ["name"]),
2752
- !i.noSpinner && n.loading ? (s(), u("div", yi, [
2935
+ !i.noSpinner && n.loading ? (s(), u("div", Ii, [
2753
2936
  e.$slots.loading ? p(e.$slots, "loading", { key: 0 }) : (s(), g(a, C({
2754
2937
  key: 1,
2755
2938
  circle: "",
2756
2939
  indeterminate: ""
2757
2940
  }, i.spinnerColor ? { color: i.spinnerColor } : {}), null, 16))
2758
2941
  ])) : c("", !0),
2759
- e.$slots.default ? (s(), g(V(l.wrapperTag), {
2942
+ e.$slots.default ? (s(), g(I(l.wrapperTag), {
2760
2943
  key: 1,
2761
2944
  class: f(["w-image__content", i.contentClass])
2762
2945
  }, {
@@ -2769,7 +2952,7 @@ function wi(e, t, i, o, n, l) {
2769
2952
  _: 3
2770
2953
  }, 8, ["class", "style"]);
2771
2954
  }
2772
- const vi = {
2955
+ const Ri = {
2773
2956
  name: "w-image",
2774
2957
  props: {
2775
2958
  tag: { type: String, default: "span" },
@@ -2865,13 +3048,13 @@ const vi = {
2865
3048
  this.imgHeight = e;
2866
3049
  }
2867
3050
  }
2868
- }, ki = /* @__PURE__ */ v(vi, [["render", wi]]), _i = ["name"], Ci = ["for"], Si = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Bi = ["id", "name", "multiple", "disabled", "data-progress"], $i = {
3051
+ }, Li = /* @__PURE__ */ w(Ri, [["render", Ti]]), xi = ["name"], Oi = ["for"], Pi = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Mi = ["id", "name", "multiple", "disabled", "data-progress"], zi = {
2869
3052
  class: "w-input__no-file",
2870
3053
  key: "no-file"
2871
- }, Vi = ["for"], Ii = ["for"], Ti = ["src"], Ri = ["for"];
2872
- function Li(e, t, i, o, n, l) {
3054
+ }, Ei = ["for"], Wi = ["src"], Ai = ["for"];
3055
+ function Ki(e, t, i, o, n, l) {
2873
3056
  const a = $("w-icon"), r = $("w-progress");
2874
- return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
3057
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
2875
3058
  valid: e.valid,
2876
3059
  "onUpdate:valid": t[10] || (t[10] = (d) => e.valid = d),
2877
3060
  onReset: t[11] || (t[11] = (d) => {
@@ -2881,15 +3064,15 @@ function Li(e, t, i, o, n, l) {
2881
3064
  class: l.classes
2882
3065
  }), {
2883
3066
  default: m(() => [
2884
- i.type === "hidden" ? N((s(), u("input", {
3067
+ i.type === "hidden" ? A((s(), u("input", {
2885
3068
  key: 0,
2886
3069
  type: "hidden",
2887
3070
  name: e.name || null,
2888
3071
  "onUpdate:modelValue": t[0] || (t[0] = (d) => n.inputValue = d)
2889
- }, null, 8, _i)), [
2890
- [be, n.inputValue]
2891
- ]) : (s(), u(k, { key: 1 }, [
2892
- i.labelPosition === "left" ? (s(), u(k, { key: 0 }, [
3072
+ }, null, 8, xi)), [
3073
+ [ae, n.inputValue]
3074
+ ]) : (s(), u(v, { key: 1 }, [
3075
+ i.labelPosition === "left" ? (s(), u(v, { key: 0 }, [
2893
3076
  e.$slots.default || i.label ? (s(), u("label", {
2894
3077
  key: 0,
2895
3078
  class: f(["w-input__label w-input__label--left w-form-el-shakable", e.labelClasses]),
@@ -2898,29 +3081,33 @@ function Li(e, t, i, o, n, l) {
2898
3081
  p(e.$slots, "default", {}, () => [
2899
3082
  S(_(i.label), 1)
2900
3083
  ])
2901
- ], 10, Ci)) : c("", !0)
3084
+ ], 10, Oi)) : c("", !0)
2902
3085
  ], 64)) : c("", !0),
2903
- w("div", {
3086
+ y("div", {
2904
3087
  class: f(["w-input__input-wrap", l.inputWrapClasses])
2905
3088
  }, [
2906
- i.innerIconLeft ? (s(), g(a, {
3089
+ p(e.$slots, "icon-left", {
3090
+ inputId: `w-input--${e._.uid}`
3091
+ }, () => [
3092
+ i.innerIconLeft ? (s(), g(a, {
3093
+ key: 0,
3094
+ class: "w-input__icon w-input__icon--inner-left",
3095
+ tag: "label",
3096
+ for: `w-input--${e._.uid}`,
3097
+ onClick: t[1] || (t[1] = (d) => e.$emit("click:inner-icon-left", d))
3098
+ }, {
3099
+ default: m(() => [
3100
+ S(_(i.innerIconLeft), 1)
3101
+ ]),
3102
+ _: 1
3103
+ }, 8, ["for"])) : c("", !0)
3104
+ ]),
3105
+ i.type !== "file" ? A((s(), u("input", C({
2907
3106
  key: 0,
2908
- class: "w-input__icon w-input__icon--inner-left",
2909
- tag: "label",
2910
- for: `w-input--${e._.uid}`,
2911
- onClick: t[1] || (t[1] = (d) => e.$emit("click:inner-icon-left", d))
2912
- }, {
2913
- default: m(() => [
2914
- S(_(i.innerIconLeft), 1)
2915
- ]),
2916
- _: 1
2917
- }, 8, ["for"])) : c("", !0),
2918
- i.type !== "file" ? N((s(), u("input", C({
2919
- key: 1,
2920
3107
  class: "w-input__input",
2921
3108
  ref: "input",
2922
3109
  "onUpdate:modelValue": t[2] || (t[2] = (d) => n.inputValue = d)
2923
- }, W(l.listeners, !0), {
3110
+ }, z(l.listeners, !0), {
2924
3111
  onInput: t[3] || (t[3] = (...d) => l.onInput && l.onInput(...d)),
2925
3112
  onFocus: t[4] || (t[4] = (...d) => l.onFocus && l.onFocus(...d)),
2926
3113
  onBlur: t[5] || (t[5] = (...d) => l.onBlur && l.onBlur(...d)),
@@ -2938,10 +3125,10 @@ function Li(e, t, i, o, n, l) {
2938
3125
  disabled: e.isDisabled || null,
2939
3126
  required: e.required || null,
2940
3127
  tabindex: e.tabindex || null
2941
- }, l.attrs), null, 16, Si)), [
3128
+ }, l.attrs), null, 16, Pi)), [
2942
3129
  [$e, n.inputValue]
2943
- ]) : (s(), u(k, { key: 2 }, [
2944
- w("input", C({
3130
+ ]) : (s(), u(v, { key: 1 }, [
3131
+ y("input", C({
2945
3132
  ref: "input",
2946
3133
  id: `w-input--${e._.uid}`,
2947
3134
  type: "file",
@@ -2953,22 +3140,22 @@ function Li(e, t, i, o, n, l) {
2953
3140
  }, l.attrs, {
2954
3141
  disabled: e.isDisabled || null,
2955
3142
  "data-progress": l.overallFilesProgress
2956
- }), null, 16, Bi),
2957
- I(ae, {
3143
+ }), null, 16, Mi),
3144
+ V(oe, {
2958
3145
  class: "w-input__input w-input__input--file",
2959
3146
  tag: "label",
2960
3147
  name: "fade",
2961
3148
  for: `w-input--${e._.uid}`
2962
3149
  }, {
2963
3150
  default: m(() => [
2964
- !n.inputFiles.length && n.isFocused ? (s(), u("span", $i, [
3151
+ !n.inputFiles.length && n.isFocused ? (s(), u("span", zi, [
2965
3152
  p(e.$slots, "no-file", {}, () => [
2966
- e.$slots["no-file"] === void 0 ? (s(), u(k, { key: 0 }, [
3153
+ e.$slots["no-file"] === void 0 ? (s(), u(v, { key: 0 }, [
2967
3154
  S("No file")
2968
3155
  ], 64)) : c("", !0)
2969
3156
  ])
2970
3157
  ])) : c("", !0),
2971
- (s(!0), u(k, null, L(n.inputFiles, (d, h) => (s(), u("span", {
3158
+ (s(!0), u(v, null, R(n.inputFiles, (d, h) => (s(), u("span", {
2972
3159
  key: d.lastModified
2973
3160
  }, [
2974
3161
  S(_(h ? ", " : ""), 1),
@@ -2982,31 +3169,34 @@ function Li(e, t, i, o, n, l) {
2982
3169
  _: 3
2983
3170
  }, 8, ["for"])
2984
3171
  ], 64)),
2985
- i.labelPosition === "inside" && l.showLabelInside ? (s(), u(k, { key: 3 }, [
3172
+ i.labelPosition === "inside" && l.showLabelInside ? (s(), u(v, { key: 2 }, [
2986
3173
  e.$slots.default || i.label ? (s(), u("label", {
2987
3174
  key: 0,
2988
- class: f(["w-input__label w-input__label--inside w-form-el-shakable", e.labelClasses]),
2989
- for: `w-input--${e._.uid}`
3175
+ class: f(["w-input__label w-input__label--inside w-form-el-shakable", e.labelClasses])
2990
3176
  }, [
2991
3177
  p(e.$slots, "default", {}, () => [
2992
3178
  S(_(i.label), 1)
2993
3179
  ])
2994
- ], 10, Vi)) : c("", !0)
3180
+ ], 2)) : c("", !0)
2995
3181
  ], 64)) : c("", !0),
2996
- i.innerIconRight ? (s(), g(a, {
2997
- key: 4,
2998
- class: "w-input__icon w-input__icon--inner-right",
2999
- tag: "label",
3000
- for: `w-input--${e._.uid}`,
3001
- onClick: t[9] || (t[9] = (d) => e.$emit("click:inner-icon-right", d))
3002
- }, {
3003
- default: m(() => [
3004
- S(_(i.innerIconRight), 1)
3005
- ]),
3006
- _: 1
3007
- }, 8, ["for"])) : c("", !0),
3182
+ p(e.$slots, "icon-right", {
3183
+ inputId: `w-input--${e._.uid}`
3184
+ }, () => [
3185
+ i.innerIconRight ? (s(), g(a, {
3186
+ key: 0,
3187
+ class: "w-input__icon w-input__icon--inner-right",
3188
+ tag: "label",
3189
+ for: `w-input--${e._.uid}`,
3190
+ onClick: t[9] || (t[9] = (d) => e.$emit("click:inner-icon-right", d))
3191
+ }, {
3192
+ default: m(() => [
3193
+ S(_(i.innerIconRight), 1)
3194
+ ]),
3195
+ _: 1
3196
+ }, 8, ["for"])) : c("", !0)
3197
+ ]),
3008
3198
  l.hasLoading || i.showProgress && (l.uploadInProgress || l.uploadComplete) ? (s(), g(r, {
3009
- key: 5,
3199
+ key: 3,
3010
3200
  class: "fill-width",
3011
3201
  size: "2",
3012
3202
  color: i.progressColor || i.color,
@@ -3018,7 +3208,7 @@ function Li(e, t, i, o, n, l) {
3018
3208
  class: "d-flex",
3019
3209
  for: `w-input--${e._.uid}`
3020
3210
  }, [
3021
- (s(!0), u(k, null, L(n.inputFiles, (d, h) => (s(), u(k, null, [
3211
+ (s(!0), u(v, null, R(n.inputFiles, (d, h) => (s(), u(v, null, [
3022
3212
  d.progress < 100 ? (s(), u("i", {
3023
3213
  class: "w-icon wi-spinner w-icon--spin size--sm w-input__file-preview primary",
3024
3214
  key: `${h}a`
@@ -3027,13 +3217,13 @@ function Li(e, t, i, o, n, l) {
3027
3217
  key: `${h}b`,
3028
3218
  src: d.preview,
3029
3219
  alt: ""
3030
- }, null, 8, Ti)) : (s(), u("i", {
3220
+ }, null, 8, Wi)) : (s(), u("i", {
3031
3221
  class: f(["w-icon w-input__file-preview primary size--md", i.preview && typeof i.preview == "string" ? i.preview : "wi-file"]),
3032
3222
  key: `${h}c`
3033
3223
  }, null, 2))
3034
3224
  ], 64))), 256))
3035
- ], 8, Ii)) : c("", !0),
3036
- i.labelPosition === "right" ? (s(), u(k, { key: 2 }, [
3225
+ ], 8, Ei)) : c("", !0),
3226
+ i.labelPosition === "right" ? (s(), u(v, { key: 2 }, [
3037
3227
  e.$slots.default || i.label ? (s(), u("label", {
3038
3228
  key: 0,
3039
3229
  class: f(["w-input__label w-input__label--right w-form-el-shakable", e.labelClasses]),
@@ -3042,16 +3232,16 @@ function Li(e, t, i, o, n, l) {
3042
3232
  p(e.$slots, "default", {}, () => [
3043
3233
  S(_(i.label), 1)
3044
3234
  ])
3045
- ], 10, Ri)) : c("", !0)
3235
+ ], 10, Ai)) : c("", !0)
3046
3236
  ], 64)) : c("", !0)
3047
3237
  ], 64))
3048
3238
  ]),
3049
3239
  _: 3
3050
3240
  }, 16, ["valid", "wrap", "class"]);
3051
3241
  }
3052
- const xi = {
3242
+ const Ni = {
3053
3243
  name: "w-input",
3054
- mixins: [z],
3244
+ mixins: [E],
3055
3245
  props: {
3056
3246
  modelValue: { default: "" },
3057
3247
  type: { type: String, default: "text" },
@@ -3218,13 +3408,13 @@ const xi = {
3218
3408
  this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1, this.inputFiles = []);
3219
3409
  }
3220
3410
  }
3221
- }, Oi = /* @__PURE__ */ v(xi, [["render", Li]]);
3222
- function Pi(e, t, i, o, n, l) {
3411
+ }, Hi = /* @__PURE__ */ w(Ni, [["render", Ki]]);
3412
+ function Di(e, t, i, o, n, l) {
3223
3413
  const a = $("w-icon"), r = $("w-list", !0);
3224
3414
  return s(), u("ul", {
3225
3415
  class: f(["w-list", l.classes])
3226
3416
  }, [
3227
- (s(!0), u(k, null, L(e.listItems, (d, h) => (s(), u("li", {
3417
+ (s(!0), u(v, null, R(e.listItems, (d, h) => (s(), u("li", {
3228
3418
  class: f(["w-list__item", { "w-list__item--parent": (d.children || []).length }]),
3229
3419
  key: h
3230
3420
  }, [
@@ -3237,7 +3427,7 @@ function Pi(e, t, i, o, n, l) {
3237
3427
  ]),
3238
3428
  _: 1
3239
3429
  })) : c("", !0),
3240
- e.$slots[`item.${h + 1}`] || e.$slots.item || e.$slots.default ? (s(), g(V(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), C({
3430
+ e.$slots[`item.${h + 1}`] || e.$slots.item || e.$slots.default ? (s(), g(I(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), C({
3241
3431
  key: 1,
3242
3432
  class: "w-list__item-label"
3243
3433
  }, l.liLabelProps(d, h, d._selected)), {
@@ -3262,23 +3452,23 @@ function Pi(e, t, i, o, n, l) {
3262
3452
  ])
3263
3453
  ]),
3264
3454
  _: 2
3265
- }, 1040)) : (s(), g(V(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), C({
3455
+ }, 1040)) : (s(), g(I(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), C({
3266
3456
  key: 2,
3267
3457
  class: "w-list__item-label"
3268
3458
  }, l.liLabelProps(d, h, d._selected)), null, 16)),
3269
3459
  (d.children || []).length ? (s(), g(r, C({ key: 3 }, e.$props, {
3270
3460
  items: d.children,
3271
3461
  depth: i.depth + 1,
3272
- "onUpdate:modelValue": t[0] || (t[0] = (y) => e.$emit("update:modelValue", y)),
3273
- onInput: t[1] || (t[1] = (y) => e.$emit("input", y)),
3274
- onItemClick: t[2] || (t[2] = (y) => e.$emit("item-click", y)),
3275
- onItemSelect: t[3] || (t[3] = (y) => e.$emit("item-select", y))
3462
+ "onUpdate:modelValue": t[0] || (t[0] = (k) => e.$emit("update:modelValue", k)),
3463
+ onInput: t[1] || (t[1] = (k) => e.$emit("input", k)),
3464
+ onItemClick: t[2] || (t[2] = (k) => e.$emit("item-click", k)),
3465
+ onItemSelect: t[3] || (t[3] = (k) => e.$emit("item-select", k))
3276
3466
  }), Z({ _: 2 }, [
3277
3467
  e.$slots.item ? {
3278
3468
  name: "item",
3279
- fn: m(({ item: y, index: B, selected: b }) => [
3469
+ fn: m(({ item: k, index: B, selected: b }) => [
3280
3470
  p(e.$slots, "item", {
3281
- item: l.cleanLi(y),
3471
+ item: l.cleanLi(k),
3282
3472
  index: B,
3283
3473
  selected: b
3284
3474
  })
@@ -3286,13 +3476,13 @@ function Pi(e, t, i, o, n, l) {
3286
3476
  key: "0"
3287
3477
  } : {
3288
3478
  name: "default",
3289
- fn: m(({ item: y, index: B, selected: b }) => [
3479
+ fn: m(({ item: k, index: B, selected: b }) => [
3290
3480
  p(e.$slots, "default", {
3291
- item: l.cleanLi(y),
3481
+ item: l.cleanLi(k),
3292
3482
  index: B,
3293
3483
  selected: b
3294
3484
  }, () => [
3295
- S(_(y[i.itemLabelKey]), 1)
3485
+ S(_(k[i.itemLabelKey]), 1)
3296
3486
  ])
3297
3487
  ]),
3298
3488
  key: "1"
@@ -3301,7 +3491,7 @@ function Pi(e, t, i, o, n, l) {
3301
3491
  ], 2))), 128))
3302
3492
  ], 2);
3303
3493
  }
3304
- const zi = {
3494
+ const Fi = {
3305
3495
  name: "w-list",
3306
3496
  props: {
3307
3497
  items: { type: [Array, Number], required: !0 },
@@ -3467,7 +3657,7 @@ const zi = {
3467
3657
  }
3468
3658
  }
3469
3659
  }
3470
- }, Mi = /* @__PURE__ */ v(zi, [["render", Pi]]), we = {
3660
+ }, ji = /* @__PURE__ */ w(Fi, [["render", Di]]), we = {
3471
3661
  props: {
3472
3662
  appendTo: { type: [String, Boolean, Object] },
3473
3663
  fixed: { type: Boolean },
@@ -3623,11 +3813,11 @@ const zi = {
3623
3813
  }
3624
3814
  }
3625
3815
  };
3626
- function Ei(e, t, i, o, n, l) {
3816
+ function Ui(e, t, i, o, n, l) {
3627
3817
  const a = $("w-card"), r = $("w-overlay");
3628
- return s(), u(k, null, [
3818
+ return s(), u(v, null, [
3629
3819
  p(e.$slots, "activator", { on: l.activatorEventHandlers }),
3630
- I(O, {
3820
+ V(O, {
3631
3821
  name: l.transitionName,
3632
3822
  appear: ""
3633
3823
  }, {
@@ -3695,7 +3885,7 @@ function Ei(e, t, i, o, n, l) {
3695
3885
  }), null, 16, ["model-value", "persistent", "class", "z-index"])) : c("", !0)
3696
3886
  ], 64);
3697
3887
  }
3698
- const Wi = {
3888
+ const qi = {
3699
3889
  name: "w-menu",
3700
3890
  mixins: [we],
3701
3891
  inheritAttrs: !1,
@@ -3757,17 +3947,17 @@ const Wi = {
3757
3947
  return this.maxWidth === "activator" ? this.activatorWidth ? `${this.activatorWidth}px` : 0 : isNaN(this.maxWidth) ? this.maxWidth : this.maxWidth ? `${this.maxWidth}px` : 0;
3758
3948
  },
3759
3949
  menuClasses() {
3760
- return A(this.menuClass);
3950
+ return K(this.menuClass);
3761
3951
  },
3762
3952
  titleClasses() {
3763
- return A(this.titleClass);
3953
+ return K(this.titleClass);
3764
3954
  },
3765
3955
  contentClasses() {
3766
- return A(this.contentClass);
3956
+ return K(this.contentClass);
3767
3957
  },
3768
3958
  overlayClasses() {
3769
3959
  return {
3770
- ...A(this.overlayClass),
3960
+ ...K(this.overlayClass),
3771
3961
  "w-overlay--no-pointer-event": this.showOnHover
3772
3962
  };
3773
3963
  },
@@ -3823,8 +4013,8 @@ const Wi = {
3823
4013
  this.openTimeout = clearTimeout(this.openTimeout), this.detachableVisible && (this.showOnHover && !e && (await new Promise((t) => setTimeout(t, 10)), this.showOnHover && (this.hoveringMenu || this.hoveringActivator)) || (this.$emit("update:modelValue", this.detachableVisible = !1), this.$emit("input", !1), this.$emit("close"), document.removeEventListener("mousedown", this.onOutsideMousedown), window.removeEventListener("resize", this.onResize)));
3824
4014
  }
3825
4015
  }
3826
- }, Ai = /* @__PURE__ */ v(Wi, [["render", Ei]]);
3827
- function Ni(e, t, i, o, n, l) {
4016
+ }, Xi = /* @__PURE__ */ w(qi, [["render", Ui]]);
4017
+ function Yi(e, t, i, o, n, l) {
3828
4018
  const a = $("w-alert");
3829
4019
  return s(), g(O, {
3830
4020
  name: l.transitionName,
@@ -3834,9 +4024,9 @@ function Ni(e, t, i, o, n, l) {
3834
4024
  n.show ? (s(), u("div", {
3835
4025
  key: 0,
3836
4026
  class: f(["w-notification", l.classes]),
3837
- style: R(l.styles)
4027
+ style: L(l.styles)
3838
4028
  }, [
3839
- I(a, C(l.alertProps, {
4029
+ V(a, C(l.alertProps, {
3840
4030
  class: l.alertClasses,
3841
4031
  "onUpdate:modelValue": t[0] || (t[0] = (r) => {
3842
4032
  e.$emit("update:modelValue", !1), e.$emit("input", !1);
@@ -3852,7 +4042,7 @@ function Ni(e, t, i, o, n, l) {
3852
4042
  _: 3
3853
4043
  }, 8, ["name"]);
3854
4044
  }
3855
- const Ki = {
4045
+ const Gi = {
3856
4046
  name: "w-notification",
3857
4047
  props: {
3858
4048
  modelValue: { default: !0 },
@@ -3972,34 +4162,34 @@ const Ki = {
3972
4162
  clearTimeout(this.timeoutId), this.show = e, e && this.timeoutVal && this.countdown();
3973
4163
  }
3974
4164
  }
3975
- }, Hi = /* @__PURE__ */ v(Ki, [["render", Ni]]);
3976
- function Di(e, t, i, o, n, l) {
3977
- const a = ge("focus");
4165
+ }, Ji = /* @__PURE__ */ w(Gi, [["render", Yi]]);
4166
+ function Qi(e, t, i, o, n, l) {
4167
+ const a = be("focus");
3978
4168
  return s(), g(O, {
3979
4169
  name: "fade",
3980
4170
  appear: "",
3981
4171
  onAfterLeave: l.onClose
3982
4172
  }, {
3983
4173
  default: m(() => [
3984
- i.modelValue ? N((s(), u("div", {
4174
+ i.modelValue ? A((s(), u("div", {
3985
4175
  key: 0,
3986
4176
  class: f(["w-overlay", l.classes]),
3987
4177
  ref: "overlay",
3988
- style: R(i.modelValue && l.styles || null),
3989
- onKeydown: t[0] || (t[0] = E(M((...r) => l.onClick && l.onClick(...r), ["stop"]), ["escape"])),
4178
+ style: L(i.modelValue && l.styles || null),
4179
+ onKeydown: t[0] || (t[0] = W(M((...r) => l.onClick && l.onClick(...r), ["stop"]), ["escape"])),
3990
4180
  onClick: t[1] || (t[1] = (...r) => l.onClick && l.onClick(...r)),
3991
4181
  tabindex: "0"
3992
4182
  }, [
3993
4183
  p(e.$slots, "default")
3994
4184
  ], 38)), [
3995
- [oe, e.showOverlay],
4185
+ [ne, e.showOverlay],
3996
4186
  [a]
3997
4187
  ]) : c("", !0)
3998
4188
  ]),
3999
4189
  _: 3
4000
4190
  }, 8, ["onAfterLeave"]);
4001
4191
  }
4002
- const Fi = {
4192
+ const Zi = {
4003
4193
  name: "w-overlay",
4004
4194
  props: {
4005
4195
  modelValue: {},
@@ -4053,20 +4243,20 @@ const Fi = {
4053
4243
  e && (this.showOverlay = !0);
4054
4244
  }
4055
4245
  }
4056
- }, ji = /* @__PURE__ */ v(Fi, [["render", Di]]), Ui = { class: "w-parallax" };
4057
- function qi(e, t, i, o, n, l) {
4058
- return s(), u("div", Ui);
4246
+ }, el = /* @__PURE__ */ w(Zi, [["render", Qi]]), tl = { class: "w-parallax" };
4247
+ function il(e, t, i, o, n, l) {
4248
+ return s(), u("div", tl);
4059
4249
  }
4060
- const Xi = {
4250
+ const ll = {
4061
4251
  name: "w-parallax",
4062
4252
  props: {},
4063
4253
  emits: [],
4064
4254
  data: () => ({})
4065
- }, Yi = /* @__PURE__ */ v(Xi, [["render", qi]]), Gi = ["viewBox"], Ji = ["cx", "cy", "r", "stroke-dasharray", "stroke-width"], Qi = ["cx", "cy", "r", "stroke-width", "stroke-linecap", "stroke-dasharray"];
4066
- function Zi(e, t, i, o, n, l) {
4255
+ }, sl = /* @__PURE__ */ w(ll, [["render", il]]), ol = ["viewBox"], al = ["cx", "cy", "r", "stroke-dasharray", "stroke-width"], nl = ["cx", "cy", "r", "stroke-width", "stroke-linecap", "stroke-dasharray"];
4256
+ function rl(e, t, i, o, n, l) {
4067
4257
  return s(), u("div", {
4068
4258
  class: f(["w-progress", l.classes]),
4069
- style: R(l.styles)
4259
+ style: L(l.styles)
4070
4260
  }, [
4071
4261
  i.circle ? (s(), u("svg", {
4072
4262
  key: 1,
@@ -4081,8 +4271,8 @@ function Zi(e, t, i, o, n, l) {
4081
4271
  fill: "transparent",
4082
4272
  "stroke-dasharray": e.circleCircumference,
4083
4273
  "stroke-width": i.stroke
4084
- }, null, 10, Ji)) : c("", !0),
4085
- w("circle", {
4274
+ }, null, 10, al)) : c("", !0),
4275
+ y("circle", {
4086
4276
  class: "w-progress__progress",
4087
4277
  cx: l.circleCenter,
4088
4278
  cy: l.circleCenter,
@@ -4091,12 +4281,12 @@ function Zi(e, t, i, o, n, l) {
4091
4281
  "stroke-width": i.stroke,
4092
4282
  "stroke-linecap": i.roundCap && "round",
4093
4283
  "stroke-dasharray": e.circleCircumference,
4094
- style: R(`stroke-dashoffset: ${(1 - l.progressValue / 100) * e.circleCircumference}`)
4095
- }, null, 12, Qi)
4096
- ], 8, Gi)) : (s(), u("div", {
4284
+ style: L(`stroke-dashoffset: ${(1 - l.progressValue / 100) * e.circleCircumference}`)
4285
+ }, null, 12, nl)
4286
+ ], 8, ol)) : (s(), u("div", {
4097
4287
  key: 0,
4098
4288
  class: f(["w-progress__progress", { full: l.progressValue === 100 }]),
4099
- style: R(`width: ${l.progressValue}%`)
4289
+ style: L(`width: ${l.progressValue}%`)
4100
4290
  }, null, 6)),
4101
4291
  i.label || e.$slots.default ? (s(), u("div", {
4102
4292
  key: 2,
@@ -4108,7 +4298,7 @@ function Zi(e, t, i, o, n, l) {
4108
4298
  ], 2)) : c("", !0)
4109
4299
  ], 6);
4110
4300
  }
4111
- const J = 40, el = J / 2, tl = Math.round(J * 3.14 * 100) / 100, il = {
4301
+ const J = 40, dl = J / 2, ul = Math.round(J * 3.14 * 100) / 100, hl = {
4112
4302
  name: "w-progress",
4113
4303
  props: {
4114
4304
  modelValue: { type: [Number, String, Boolean], default: -1 },
@@ -4134,8 +4324,8 @@ const J = 40, el = J / 2, tl = Math.round(J * 3.14 * 100) / 100, il = {
4134
4324
  emits: [],
4135
4325
  data: () => ({
4136
4326
  circleSize: J,
4137
- circleRadius: el,
4138
- circleCircumference: tl
4327
+ circleRadius: dl,
4328
+ circleCircumference: ul
4139
4329
  }),
4140
4330
  computed: {
4141
4331
  progressValue() {
@@ -4174,9 +4364,9 @@ const J = 40, el = J / 2, tl = Math.round(J * 3.14 * 100) / 100, il = {
4174
4364
  };
4175
4365
  }
4176
4366
  }
4177
- }, ll = /* @__PURE__ */ v(il, [["render", Zi]]), sl = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], al = ["for"], ol = ["for", "innerHTML"], nl = ["for"], rl = ["for", "innerHTML"];
4178
- function dl(e, t, i, o, n, l) {
4179
- return s(), g(V(e.formRegister && !l.wRadios ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled, readonly: e.isReadonly }, {
4367
+ }, cl = /* @__PURE__ */ w(hl, [["render", rl]]), pl = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], fl = ["for"], ml = ["for", "innerHTML"], gl = ["for"], bl = ["for", "innerHTML"];
4368
+ function yl(e, t, i, o, n, l) {
4369
+ return s(), g(I(e.formRegister && !l.wRadios ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled, readonly: e.isReadonly }, {
4180
4370
  valid: e.valid,
4181
4371
  "onUpdate:valid": t[3] || (t[3] = (a) => e.valid = a),
4182
4372
  onReset: t[4] || (t[4] = (a) => {
@@ -4185,7 +4375,7 @@ function dl(e, t, i, o, n, l) {
4185
4375
  class: l.classes
4186
4376
  }), {
4187
4377
  default: m(() => [
4188
- w("input", {
4378
+ y("input", {
4189
4379
  ref: "input",
4190
4380
  id: `w-radio--${e._.uid}`,
4191
4381
  type: "radio",
@@ -4198,8 +4388,8 @@ function dl(e, t, i, o, n, l) {
4198
4388
  onChange: t[1] || (t[1] = (a) => l.onInput(a)),
4199
4389
  "aria-checked": e.inputValue || "false",
4200
4390
  role: "radio"
4201
- }, null, 40, sl),
4202
- l.hasLabel && i.labelOnLeft ? (s(), u(k, { key: 0 }, [
4391
+ }, null, 40, pl),
4392
+ l.hasLabel && i.labelOnLeft ? (s(), u(v, { key: 0 }, [
4203
4393
  e.$slots.default ? (s(), u("label", {
4204
4394
  key: 0,
4205
4395
  class: f(["w-radio__label w-form-el-shakable pr2", e.labelClasses]),
@@ -4208,20 +4398,20 @@ function dl(e, t, i, o, n, l) {
4208
4398
  p(e.$slots, "default", {}, () => [
4209
4399
  S(_(i.label), 1)
4210
4400
  ])
4211
- ], 10, al)) : i.label ? (s(), u("label", {
4401
+ ], 10, fl)) : i.label ? (s(), u("label", {
4212
4402
  key: 1,
4213
4403
  class: f(["w-radio__label w-form-el-shakable pr2", e.labelClasses]),
4214
4404
  for: `w-radio--${e._.uid}`,
4215
4405
  innerHTML: i.label
4216
- }, null, 10, ol)) : c("", !0)
4406
+ }, null, 10, ml)) : c("", !0)
4217
4407
  ], 64)) : c("", !0),
4218
- w("div", {
4408
+ y("div", {
4219
4409
  class: f(["w-radio__input", this.color]),
4220
4410
  onClick: t[2] || (t[2] = (a) => {
4221
4411
  e.$refs.input.focus(), e.$refs.input.click();
4222
4412
  })
4223
4413
  }, null, 2),
4224
- l.hasLabel && !i.labelOnLeft ? (s(), u(k, { key: 1 }, [
4414
+ l.hasLabel && !i.labelOnLeft ? (s(), u(v, { key: 1 }, [
4225
4415
  e.$slots.default ? (s(), u("label", {
4226
4416
  key: 0,
4227
4417
  class: f(["w-radio__label w-form-el-shakable pl2", e.labelClasses]),
@@ -4230,20 +4420,20 @@ function dl(e, t, i, o, n, l) {
4230
4420
  p(e.$slots, "default", {}, () => [
4231
4421
  S(_(i.label), 1)
4232
4422
  ])
4233
- ], 10, nl)) : i.label ? (s(), u("label", {
4423
+ ], 10, gl)) : i.label ? (s(), u("label", {
4234
4424
  key: 1,
4235
4425
  class: f(["w-radio__label w-form-el-shakable pl2", e.labelClasses]),
4236
4426
  for: `w-radio--${e._.uid}`,
4237
4427
  innerHTML: i.label
4238
- }, null, 10, rl)) : c("", !0)
4428
+ }, null, 10, bl)) : c("", !0)
4239
4429
  ], 64)) : c("", !0)
4240
4430
  ]),
4241
4431
  _: 3
4242
4432
  }, 16, ["valid", "class"]);
4243
4433
  }
4244
- const ul = {
4434
+ const wl = {
4245
4435
  name: "w-radio",
4246
- mixins: [z],
4436
+ mixins: [E],
4247
4437
  inject: { wRadios: { default: null } },
4248
4438
  props: {
4249
4439
  modelValue: { default: !1 },
@@ -4301,10 +4491,10 @@ const ul = {
4301
4491
  this.toggleFromOutside();
4302
4492
  }
4303
4493
  }
4304
- }, hl = /* @__PURE__ */ v(ul, [["render", dl]]), cl = ["innerHTML"];
4305
- function pl(e, t, i, o, n, l) {
4494
+ }, vl = /* @__PURE__ */ w(wl, [["render", yl]]), kl = ["innerHTML"];
4495
+ function _l(e, t, i, o, n, l) {
4306
4496
  const a = $("w-radio");
4307
- return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
4497
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
4308
4498
  valid: e.valid,
4309
4499
  "onUpdate:valid": t[1] || (t[1] = (r) => e.valid = r),
4310
4500
  onReset: t[2] || (t[2] = (r) => {
@@ -4315,7 +4505,7 @@ function pl(e, t, i, o, n, l) {
4315
4505
  class: l.classes
4316
4506
  }), {
4317
4507
  default: m(() => [
4318
- (s(!0), u(k, null, L(l.radioItems, (r, d) => (s(), g(a, C({
4508
+ (s(!0), u(v, null, R(l.radioItems, (r, d) => (s(), g(a, C({
4319
4509
  key: d,
4320
4510
  "model-value": r.value === i.modelValue,
4321
4511
  "onUpdate:modelValue": (h) => l.onInput(r),
@@ -4336,7 +4526,7 @@ function pl(e, t, i, o, n, l) {
4336
4526
  }) : r.label ? (s(), u("div", {
4337
4527
  key: 1,
4338
4528
  innerHTML: r.label
4339
- }, null, 8, cl)) : c("", !0)
4529
+ }, null, 8, kl)) : c("", !0)
4340
4530
  ]),
4341
4531
  _: 2
4342
4532
  }, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
@@ -4344,9 +4534,9 @@ function pl(e, t, i, o, n, l) {
4344
4534
  _: 3
4345
4535
  }, 16, ["valid", "column", "wrap", "class"]);
4346
4536
  }
4347
- const fl = {
4537
+ const Cl = {
4348
4538
  name: "w-radios",
4349
- mixins: [z],
4539
+ mixins: [E],
4350
4540
  props: {
4351
4541
  items: { type: Array, required: !0 },
4352
4542
  modelValue: { type: [String, Number, Boolean] },
@@ -4390,9 +4580,9 @@ const fl = {
4390
4580
  return this.items[e._index];
4391
4581
  }
4392
4582
  }
4393
- }, ml = /* @__PURE__ */ v(fl, [["render", pl]]), gl = ["id", "name", "value"], bl = ["disabled", "onMouseenter", "onClick", "tabindex"];
4394
- function yl(e, t, i, o, n, l) {
4395
- return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
4583
+ }, Sl = /* @__PURE__ */ w(Cl, [["render", _l]]), Bl = ["id", "name", "value"], $l = ["disabled", "onMouseenter", "onClick", "tabindex"];
4584
+ function Vl(e, t, i, o, n, l) {
4585
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
4396
4586
  valid: e.valid,
4397
4587
  "onUpdate:valid": t[4] || (t[4] = (a) => e.valid = a),
4398
4588
  onReset: t[5] || (t[5] = (a) => {
@@ -4401,18 +4591,18 @@ function yl(e, t, i, o, n, l) {
4401
4591
  class: l.classes
4402
4592
  }), {
4403
4593
  default: m(() => [
4404
- w("input", {
4594
+ y("input", {
4405
4595
  id: e.inputName,
4406
4596
  name: e.inputName,
4407
4597
  type: "hidden",
4408
4598
  value: n.rating
4409
- }, null, 8, gl),
4410
- (s(!0), u(k, null, L(i.max, (a) => (s(), u(k, { key: a }, [
4599
+ }, null, 8, Bl),
4600
+ (s(!0), u(v, null, R(i.max, (a) => (s(), u(v, { key: a }, [
4411
4601
  e.$slots.item ? p(e.$slots, "item", {
4412
4602
  key: 0,
4413
4603
  index: a + 1
4414
4604
  }) : c("", !0),
4415
- w("button", {
4605
+ y("button", {
4416
4606
  class: f(["w-rating__button", l.buttonClasses(a)]),
4417
4607
  disabled: e.isDisabled || e.isReadonly,
4418
4608
  onMouseenter: (r) => n.hover = a,
@@ -4429,17 +4619,17 @@ function yl(e, t, i, o, n, l) {
4429
4619
  class: f(["w-icon", `${i.icon} ${i.color}`]),
4430
4620
  role: "icon",
4431
4621
  "aria-hidden": "true",
4432
- style: R(l.halfStarStyle)
4622
+ style: L(l.halfStarStyle)
4433
4623
  }, null, 6)) : c("", !0)
4434
- ], 42, bl)
4624
+ ], 42, $l)
4435
4625
  ], 64))), 128))
4436
4626
  ]),
4437
4627
  _: 3
4438
4628
  }, 16, ["valid", "class"]);
4439
4629
  }
4440
- const wl = {
4630
+ const Il = {
4441
4631
  name: "w-rating",
4442
- mixins: [z],
4632
+ mixins: [E],
4443
4633
  props: {
4444
4634
  modelValue: {},
4445
4635
  max: { type: [Number, String], default: 5 },
@@ -4527,10 +4717,10 @@ const wl = {
4527
4717
  this.rating = parseFloat(e);
4528
4718
  }
4529
4719
  }
4530
- }, vl = /* @__PURE__ */ v(wl, [["render", yl]]);
4531
- function kl(e, t, i, o, n, l) {
4532
- return s(), u(k, null, [
4533
- w("div", C({
4720
+ }, Tl = /* @__PURE__ */ w(Il, [["render", Vl]]);
4721
+ function Rl(e, t, i, o, n, l) {
4722
+ return s(), u(v, null, [
4723
+ y("div", C({
4534
4724
  class: ["w-scrollable", l.scrollableClasses],
4535
4725
  ref: "scrollable",
4536
4726
  onMouseenter: t[0] || (t[0] = (...a) => l.onMouseEnter && l.onMouseEnter(...a)),
@@ -4539,20 +4729,20 @@ function kl(e, t, i, o, n, l) {
4539
4729
  }, e.$attrs, { style: l.scrollableStyles }), [
4540
4730
  p(e.$slots, "default")
4541
4731
  ], 16),
4542
- w("div", {
4732
+ y("div", {
4543
4733
  class: f(["w-scrollbar", l.scrollbarClasses]),
4544
4734
  ref: "track",
4545
4735
  onMousedown: t[3] || (t[3] = (...a) => l.onTrackMouseDown && l.onTrackMouseDown(...a))
4546
4736
  }, [
4547
- w("div", {
4737
+ y("div", {
4548
4738
  class: "w-scrollbar__thumb",
4549
4739
  ref: "thumb",
4550
- style: R(l.thumbStyles)
4740
+ style: L(l.thumbStyles)
4551
4741
  }, null, 4)
4552
4742
  ], 34)
4553
4743
  ], 64);
4554
4744
  }
4555
- const _l = {
4745
+ const Ll = {
4556
4746
  h: {
4557
4747
  horizOrVert: "horizontal",
4558
4748
  topOrLeft: "left",
@@ -4575,7 +4765,7 @@ const _l = {
4575
4765
  deltaXorY: "deltaY",
4576
4766
  scrollTopOrLeft: "scrollTop"
4577
4767
  }
4578
- }, Cl = {
4768
+ }, xl = {
4579
4769
  name: "w-scrollable",
4580
4770
  props: {
4581
4771
  color: { type: String, default: "primary" },
@@ -4599,7 +4789,7 @@ const _l = {
4599
4789
  return this.mounted ? (console.log("\u{1F482}\u200D\u2642\uFE0F", (e = this.$refs.scrollable) == null ? void 0 : e.scrollWidth, (t = this.$refs.scrollable) == null ? void 0 : t.offsetWidth), this.width && !this.height || ((i = this.$refs.scrollable) == null ? void 0 : i.scrollWidth) > ((o = this.$refs.scrollable) == null ? void 0 : o.offsetWidth)) : !1;
4600
4790
  },
4601
4791
  m() {
4602
- return _l[this.isHorizontal ? "h" : "v"];
4792
+ return Ll[this.isHorizontal ? "h" : "v"];
4603
4793
  },
4604
4794
  scrollableClasses() {
4605
4795
  return {
@@ -4667,13 +4857,13 @@ const _l = {
4667
4857
  const { top: e, left: t } = this.$refs.scrollable.getBoundingClientRect();
4668
4858
  this.scrollable.top = e, this.scrollable.left = t, this.$el.parentNode.style.position = "relative", this.$el.parentNode.style[this.m.maxWidthOrHeight] = `${this[this.m.widthOrHeight]}px`;
4669
4859
  }
4670
- }, Sl = /* @__PURE__ */ v(Cl, [["render", kl]]), Bl = ["aria-expanded", "aria-owns", "aria-activedescendant"], $l = {
4860
+ }, Ol = /* @__PURE__ */ w(xl, [["render", Rl]]), Pl = ["aria-expanded", "aria-owns", "aria-activedescendant"], Ml = {
4671
4861
  key: 1,
4672
4862
  class: "w-select__selection-slot"
4673
- }, Vl = ["contenteditable", "disabled", "tabindex", "innerHTML"], Il = ["value", "name"];
4674
- function Tl(e, t, i, o, n, l) {
4863
+ }, zl = ["innerHTML"], El = ["value", "name"];
4864
+ function Wl(e, t, i, o, n, l) {
4675
4865
  const a = $("w-icon"), r = $("w-list"), d = $("w-menu");
4676
- return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.selectionString, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: e.isFocused }, {
4866
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.selectionString, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: e.isFocused }, {
4677
4867
  valid: e.valid,
4678
4868
  "onUpdate:valid": t[12] || (t[12] = (h) => e.valid = h),
4679
4869
  onReset: l.onReset,
@@ -4681,7 +4871,7 @@ function Tl(e, t, i, o, n, l) {
4681
4871
  class: l.classes
4682
4872
  }), {
4683
4873
  default: m(() => [
4684
- i.labelPosition === "left" ? (s(), u(k, { key: 0 }, [
4874
+ i.labelPosition === "left" ? (s(), u(v, { key: 0 }, [
4685
4875
  e.$slots.default || i.label ? (s(), u("label", {
4686
4876
  key: 0,
4687
4877
  class: f(["w-select__label w-select__label--left w-form-el-shakable", e.labelClasses]),
@@ -4692,7 +4882,7 @@ function Tl(e, t, i, o, n, l) {
4692
4882
  ])
4693
4883
  ], 2)) : c("", !0)
4694
4884
  ], 64)) : c("", !0),
4695
- I(d, C({
4885
+ V(d, C({
4696
4886
  modelValue: e.showMenu,
4697
4887
  "onUpdate:modelValue": t[10] || (t[10] = (h) => e.showMenu = h),
4698
4888
  onClose: l.closeMenu,
@@ -4703,10 +4893,10 @@ function Tl(e, t, i, o, n, l) {
4703
4893
  custom: "",
4704
4894
  "min-width": "activator"
4705
4895
  }, i.menuProps || {}), {
4706
- activator: m(({ on: h }) => [
4707
- w("div", {
4896
+ activator: m(() => [
4897
+ y("div", {
4708
4898
  class: f(["w-select__selection-wrap", l.inputWrapClasses]),
4709
- onClick: t[6] || (t[6] = (y) => !e.isDisabled && !e.isReadonly && l.onInputFieldClick()),
4899
+ onClick: t[6] || (t[6] = (h) => !e.isDisabled && !e.isReadonly && l.onInputFieldClick()),
4710
4900
  role: "button",
4711
4901
  "aria-haspopup": "listbox",
4712
4902
  "aria-expanded": e.showMenu ? "true" : "false",
@@ -4717,38 +4907,32 @@ function Tl(e, t, i, o, n, l) {
4717
4907
  key: 0,
4718
4908
  class: "w-select__icon w-select__icon--inner-left",
4719
4909
  tag: "label",
4720
- onClick: t[1] || (t[1] = (y) => e.$emit("click:inner-icon-left", y))
4910
+ onClick: t[1] || (t[1] = (h) => e.$emit("click:inner-icon-left", h))
4721
4911
  }, {
4722
4912
  default: m(() => [
4723
4913
  S(_(i.innerIconLeft), 1)
4724
4914
  ]),
4725
4915
  _: 1
4726
4916
  })) : c("", !0),
4727
- e.$slots.selection ? (s(), u("div", $l, [
4917
+ e.$slots.selection ? (s(), u("div", Ml, [
4728
4918
  p(e.$slots, "selection", {
4729
4919
  item: i.multiple ? e.inputValue : e.inputValue[0]
4730
4920
  })
4731
4921
  ])) : c("", !0),
4732
- w("div", {
4733
- class: f(["w-select__selection", { "w-select__selection--placeholder": !e.$slots.selection && !l.selectionString && i.placeholder }]),
4922
+ y("div", C({
4923
+ class: "w-select__selection",
4734
4924
  ref: "selection-input",
4735
- contenteditable: e.isDisabled || e.isReadonly ? "false" : "true",
4736
- onFocus: t[2] || (t[2] = (y) => !e.isDisabled && !e.isReadonly && l.onFocus(y)),
4737
- onBlur: t[3] || (t[3] = (...y) => l.onBlur && l.onBlur(...y)),
4738
- onKeydown: t[4] || (t[4] = (y) => !e.isDisabled && !e.isReadonly && l.onKeydown(y)),
4739
- disabled: e.isDisabled || null,
4740
- readonly: "",
4741
- "aria-readonly": "true",
4742
- tabindex: e.tabindex || null,
4743
- innerHTML: e.$slots.selection ? "" : l.selectionString || i.placeholder
4744
- }, null, 42, Vl),
4745
- (s(!0), u(k, null, L(e.inputValue.length ? e.inputValue : [{}], (y, B) => (s(), u("input", {
4746
- key: B,
4925
+ onFocus: t[2] || (t[2] = (h) => !e.isDisabled && !e.isReadonly && l.onFocus(h)),
4926
+ onBlur: t[3] || (t[3] = (...h) => l.onBlur && l.onBlur(...h)),
4927
+ onKeydown: t[4] || (t[4] = (h) => !e.isDisabled && !e.isReadonly && l.onKeydown(h))
4928
+ }, l.selectionAttributes, { innerHTML: l.selectionHtml }), null, 16, zl),
4929
+ (s(!0), u(v, null, R(e.inputValue.length ? e.inputValue : [{}], (h, k) => (s(), u("input", {
4930
+ key: k,
4747
4931
  type: "hidden",
4748
- value: y.value === void 0 ? "" : y.value.toString(),
4932
+ value: h.value === void 0 ? "" : h.value.toString(),
4749
4933
  name: e.inputName + (i.multiple ? "[]" : "")
4750
- }, null, 8, Il))), 128)),
4751
- i.labelPosition === "inside" && l.showLabelInside ? (s(), u(k, { key: 2 }, [
4934
+ }, null, 8, El))), 128)),
4935
+ i.labelPosition === "inside" && l.showLabelInside ? (s(), u(v, { key: 2 }, [
4752
4936
  e.$slots.default || i.label ? (s(), u("label", {
4753
4937
  key: 0,
4754
4938
  class: f(["w-select__label w-select__label--inside w-form-el-shakable", e.labelClasses])
@@ -4762,24 +4946,24 @@ function Tl(e, t, i, o, n, l) {
4762
4946
  key: 3,
4763
4947
  class: "w-select__icon w-select__icon--inner-right",
4764
4948
  tag: "label",
4765
- onClick: t[5] || (t[5] = (y) => e.$emit("click:inner-icon-right", y))
4949
+ onClick: t[5] || (t[5] = (h) => e.$emit("click:inner-icon-right", h))
4766
4950
  }, {
4767
4951
  default: m(() => [
4768
4952
  S(_(i.innerIconRight), 1)
4769
4953
  ]),
4770
4954
  _: 1
4771
4955
  })) : c("", !0)
4772
- ], 10, Bl)
4956
+ ], 10, Pl)
4773
4957
  ]),
4774
4958
  default: m(() => [
4775
- I(r, {
4959
+ V(r, {
4776
4960
  ref: "w-list",
4777
4961
  "model-value": e.inputValue,
4778
4962
  "onUpdate:modelValue": l.onInput,
4779
4963
  onItemClick: t[7] || (t[7] = (h) => e.$emit("item-click", h)),
4780
4964
  onItemSelect: l.onListItemSelect,
4781
4965
  "onKeydown:enter": t[8] || (t[8] = (h) => i.noUnselect && !i.multiple && l.closeMenu()),
4782
- "onKeydown:escape": t[9] || (t[9] = (h) => e.showMenu && (this.showMenu = !1)),
4966
+ "onKeydown:escape": t[9] || (t[9] = (h) => e.showMenu && (e.showMenu = !1)),
4783
4967
  items: l.selectItems,
4784
4968
  multiple: i.multiple,
4785
4969
  "arrows-navigation": "",
@@ -4791,23 +4975,23 @@ function Tl(e, t, i, o, n, l) {
4791
4975
  role: "listbox",
4792
4976
  tabindex: "-1"
4793
4977
  }, Z({ _: 2 }, [
4794
- L(i.items.length, (h) => ({
4978
+ R(i.items.length, (h) => ({
4795
4979
  name: `item.${h}`,
4796
- fn: m(({ item: y, selected: B, index: b }) => [
4797
- e.$slots[`item.${h}`] && e.$slots[`item.${h}`](y, B, b) ? p(e.$slots, `item.${h}`, {
4980
+ fn: m(({ item: k, selected: B, index: b }) => [
4981
+ e.$slots[`item.${h}`] && e.$slots[`item.${h}`](k, B, b) ? p(e.$slots, `item.${h}`, {
4798
4982
  key: 0,
4799
- item: y,
4983
+ item: k,
4800
4984
  selected: B,
4801
4985
  index: b
4802
4986
  }, () => [
4803
- S(_(y[i.itemLabelKey]), 1)
4987
+ S(_(k[i.itemLabelKey]), 1)
4804
4988
  ]) : p(e.$slots, "item", {
4805
4989
  key: 1,
4806
- item: y,
4990
+ item: k,
4807
4991
  selected: B,
4808
4992
  index: b
4809
4993
  }, () => [
4810
- S(_(y[i.itemLabelKey]), 1)
4994
+ S(_(k[i.itemLabelKey]), 1)
4811
4995
  ])
4812
4996
  ])
4813
4997
  }))
@@ -4815,7 +4999,7 @@ function Tl(e, t, i, o, n, l) {
4815
4999
  ]),
4816
5000
  _: 3
4817
5001
  }, 16, ["modelValue", "onClose", "menu-class", "append-to"]),
4818
- i.labelPosition === "right" ? (s(), u(k, { key: 1 }, [
5002
+ i.labelPosition === "right" ? (s(), u(v, { key: 1 }, [
4819
5003
  e.$slots.default || i.label ? (s(), u("label", {
4820
5004
  key: 0,
4821
5005
  class: f(["w-select__label w-select__label--right w-form-el-shakable", e.labelClasses]),
@@ -4830,9 +5014,9 @@ function Tl(e, t, i, o, n, l) {
4830
5014
  _: 3
4831
5015
  }, 16, ["valid", "onReset", "wrap", "class"]);
4832
5016
  }
4833
- const Rl = {
5017
+ const Al = {
4834
5018
  name: "w-select",
4835
- mixins: [z],
5019
+ mixins: [E],
4836
5020
  props: {
4837
5021
  items: { type: Array, required: !0 },
4838
5022
  modelValue: {},
@@ -4878,23 +5062,34 @@ const Rl = {
4878
5062
  return i.value = i[this.itemValueKey] === void 0 ? i[this.itemLabelKey] || t : i[this.itemValueKey], i.index = t, i;
4879
5063
  });
4880
5064
  },
4881
- hasValue() {
4882
- return Array.isArray(this.inputValue) ? this.inputValue.length : this.inputValue !== null;
4883
- },
4884
5065
  hasLabel() {
4885
5066
  return this.label || this.$slots.default;
4886
5067
  },
4887
5068
  showLabelInside() {
4888
- return !this.staticLabel || !this.hasValue && !this.placeholder;
5069
+ return !this.staticLabel || !this.inputValue.length && !this.placeholder;
5070
+ },
5071
+ selectionAttributes() {
5072
+ var e;
5073
+ return {
5074
+ class: { "w-select__selection--placeholder": !this.$slots.selection && !this.selectionString && this.placeholder },
5075
+ disabled: this.isDisabled || null,
5076
+ readonly: !0,
5077
+ ariareadonly: "true",
5078
+ tabindex: (e = this.tabindex) != null ? e : null,
5079
+ contenteditable: this.isDisabled || this.isReadonly ? "false" : "true"
5080
+ };
4889
5081
  },
4890
5082
  selectionString() {
4891
- return this.inputValue && this.inputValue.map(
5083
+ return this.inputValue.map(
4892
5084
  (e) => {
4893
5085
  var t;
4894
5086
  return e[this.itemValueKey] !== void 0 ? e[this.itemLabelKey] : (t = e[this.itemLabelKey]) != null ? t : e;
4895
5087
  }
4896
5088
  ).join(", ");
4897
5089
  },
5090
+ selectionHtml() {
5091
+ return this.inputValue.length ? this.$slots.selection ? "" : this.selectionString : this.placeholder || "";
5092
+ },
4898
5093
  classes() {
4899
5094
  return {
4900
5095
  "w-select": !0,
@@ -4903,7 +5098,7 @@ const Rl = {
4903
5098
  "w-select--disabled": this.isDisabled,
4904
5099
  "w-select--fit-to-content": this.fitToContent,
4905
5100
  "w-select--readonly": this.isReadonly,
4906
- [`w-select--${this.hasValue ? "filled" : "empty"}`]: !0,
5101
+ [`w-select--${this.inputValue.length ? "filled" : "empty"}`]: !0,
4907
5102
  "w-select--focused": (this.isFocused || this.showMenu) && !this.isReadonly,
4908
5103
  "w-select--floating-label": this.hasLabel && this.labelPosition === "inside" && !this.staticLabel,
4909
5104
  "w-select--no-padding": !this.outline && !this.bgColor && !this.shadow && !this.round,
@@ -4984,8 +5179,9 @@ const Rl = {
4984
5179
  e = Array.isArray(e) ? e : e !== void 0 ? [e] : [];
4985
5180
  const t = this.selectItems.map((i) => i.value);
4986
5181
  return e.map((i) => {
5182
+ var n, l;
4987
5183
  let o = i;
4988
- return i && typeof i == "object" && (o = i[this.itemValueKey] !== void 0 ? i[this.itemValueKey] : i[this.itemLabelKey] !== void 0 ? i[this.itemLabelKey] : i), this.selectItems[t.indexOf(o)];
5184
+ return i && typeof i == "object" && (o = (l = (n = i[this.itemValueKey]) != null ? n : i[this.itemLabelKey]) != null ? l : i), this.selectItems[t.indexOf(o)];
4989
5185
  }).filter((i) => i !== void 0);
4990
5186
  },
4991
5187
  openMenu() {
@@ -5011,12 +5207,12 @@ const Rl = {
5011
5207
  this.inputValue = this.checkSelection(this.modelValue);
5012
5208
  }
5013
5209
  }
5014
- }, Ll = /* @__PURE__ */ v(Rl, [["render", Tl]]), xl = ["for"], Ol = ["for", "innerHTML"], Pl = { class: "w-slider__track-wrap" }, zl = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], Ml = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], El = ["for"], Wl = { key: 0 }, Al = {
5210
+ }, Kl = /* @__PURE__ */ w(Al, [["render", Wl]]), Nl = ["for"], Hl = ["for", "innerHTML"], Dl = { class: "w-slider__track-wrap" }, Fl = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], jl = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], Ul = ["for"], ql = { key: 0 }, Xl = {
5015
5211
  key: 0,
5016
5212
  class: "w-slider__step-labels"
5017
- }, Nl = ["onClick"], Kl = ["for"], Hl = ["for", "innerHTML"];
5018
- function Dl(e, t, i, o, n, l) {
5019
- return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.rangeValueScaled, disabled: e.isDisabled, readonly: e.isReadonly }, {
5213
+ }, Yl = ["onClick"], Gl = ["for"], Jl = ["for", "innerHTML"];
5214
+ function Ql(e, t, i, o, n, l) {
5215
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.rangeValueScaled, disabled: e.isDisabled, readonly: e.isReadonly }, {
5020
5216
  valid: e.valid,
5021
5217
  "onUpdate:valid": t[8] || (t[8] = (a) => e.valid = a),
5022
5218
  onReset: t[9] || (t[9] = (a) => {
@@ -5032,14 +5228,14 @@ function Dl(e, t, i, o, n, l) {
5032
5228
  for: `button--${e._.uid}`
5033
5229
  }, [
5034
5230
  p(e.$slots, "label-left")
5035
- ], 10, xl)) : i.labelLeft ? (s(), u("label", {
5231
+ ], 10, Nl)) : i.labelLeft ? (s(), u("label", {
5036
5232
  key: 1,
5037
5233
  class: f(["w-slider__label w-slider__label--left w-form-el-shakable", e.labelClasses]),
5038
5234
  for: `button--${e._.uid}`,
5039
5235
  innerHTML: i.labelLeft
5040
- }, null, 10, Ol)) : c("", !0),
5041
- w("div", Pl, [
5042
- w("div", {
5236
+ }, null, 10, Hl)) : c("", !0),
5237
+ y("div", Dl, [
5238
+ y("div", {
5043
5239
  class: f(["w-slider__track", l.trackClasses]),
5044
5240
  ref: "track",
5045
5241
  onMousedown: t[4] || (t[4] = (...a) => l.onTrackMouseDown && l.onTrackMouseDown(...a)),
@@ -5052,15 +5248,15 @@ function Dl(e, t, i, o, n, l) {
5052
5248
  "aria-readonly": e.isReadonly ? "true" : "false",
5053
5249
  "aria-orientation": "horizontal"
5054
5250
  }, [
5055
- w("div", {
5251
+ y("div", {
5056
5252
  class: f(["w-slider__range", l.rangeClasses]),
5057
- style: R(l.rangeStyles)
5253
+ style: L(l.rangeStyles)
5058
5254
  }, null, 6),
5059
- w("div", {
5255
+ y("div", {
5060
5256
  class: "w-slider__thumb",
5061
- style: R(l.thumbStyles)
5257
+ style: L(l.thumbStyles)
5062
5258
  }, [
5063
- w("button", {
5259
+ y("button", {
5064
5260
  class: f(["w-slider__thumb-button", [i.color]]),
5065
5261
  ref: "thumb",
5066
5262
  id: `button--${e._.uid}`,
@@ -5071,19 +5267,19 @@ function Dl(e, t, i, o, n, l) {
5071
5267
  "aria-readonly": e.isReadonly ? "true" : "false",
5072
5268
  tabindex: e.isDisabled || e.isReadonly ? -1 : null,
5073
5269
  onKeydown: [
5074
- t[0] || (t[0] = E((a) => l.onKeyDown(a, -1), ["left"])),
5075
- t[1] || (t[1] = E((a) => l.onKeyDown(a, 1), ["right"]))
5270
+ t[0] || (t[0] = W((a) => l.onKeyDown(a, -1), ["left"])),
5271
+ t[1] || (t[1] = W((a) => l.onKeyDown(a, 1), ["right"]))
5076
5272
  ],
5077
5273
  onFocus: t[2] || (t[2] = (a) => e.$emit("focus", a)),
5078
5274
  onClick: t[3] || (t[3] = M(() => {
5079
5275
  }, ["prevent"]))
5080
- }, null, 42, Ml),
5276
+ }, null, 42, jl),
5081
5277
  i.thumbLabel ? (s(), u("label", {
5082
5278
  key: 0,
5083
5279
  class: f(["w-slider__thumb-label", l.thumbClasses]),
5084
5280
  for: `button--${e._.uid}`
5085
5281
  }, [
5086
- i.thumbLabel === "droplet" ? (s(), u("div", Wl, [
5282
+ i.thumbLabel === "droplet" ? (s(), u("div", ql, [
5087
5283
  p(e.$slots, "label", { value: e.rangeValueScaled }, () => [
5088
5284
  S(_(~~e.rangeValueScaled), 1)
5089
5285
  ])
@@ -5093,20 +5289,20 @@ function Dl(e, t, i, o, n, l) {
5093
5289
  }, () => [
5094
5290
  S(_(~~e.rangeValueScaled), 1)
5095
5291
  ])
5096
- ], 10, El)) : c("", !0)
5292
+ ], 10, Ul)) : c("", !0)
5097
5293
  ], 4)
5098
- ], 42, zl),
5099
- i.stepLabels && i.step ? (s(), u("div", Al, [
5100
- w("div", {
5294
+ ], 42, Fl),
5295
+ i.stepLabels && i.step ? (s(), u("div", Xl, [
5296
+ y("div", {
5101
5297
  class: "w-slider__step-label",
5102
5298
  onClick: t[6] || (t[6] = (a) => l.onStepLabelClick(0))
5103
5299
  }, _(this.minVal), 1),
5104
- (s(!0), u(k, null, L(~~l.numberOfSteps, (a) => (s(), u("div", {
5300
+ (s(!0), u(v, null, R(~~l.numberOfSteps, (a) => (s(), u("div", {
5105
5301
  class: "w-slider__step-label",
5106
5302
  key: a,
5107
5303
  onClick: (r) => l.onStepLabelClick(a * (100 / l.numberOfSteps)),
5108
- style: R(`left: ${a * (100 / l.numberOfSteps)}%`)
5109
- }, _(l.percentToScaled(a * (100 / l.numberOfSteps))), 13, Nl))), 128)),
5304
+ style: L(`left: ${a * (100 / l.numberOfSteps)}%`)
5305
+ }, _(l.percentToScaled(a * (100 / l.numberOfSteps))), 13, Yl))), 128)),
5110
5306
  ~~l.numberOfSteps !== l.numberOfSteps ? (s(), u("div", {
5111
5307
  key: 0,
5112
5308
  class: "w-slider__step-label",
@@ -5121,19 +5317,19 @@ function Dl(e, t, i, o, n, l) {
5121
5317
  for: `button--${e._.uid}`
5122
5318
  }, [
5123
5319
  p(e.$slots, "label-right")
5124
- ], 10, Kl)) : i.labelRight ? (s(), u("label", {
5320
+ ], 10, Gl)) : i.labelRight ? (s(), u("label", {
5125
5321
  key: 3,
5126
5322
  class: f(["w-slider__label w-slider__label--right w-form-el-shakable", e.labelClasses]),
5127
5323
  for: `button--${e._.uid}`,
5128
5324
  innerHTML: i.labelRight
5129
- }, null, 10, Hl)) : c("", !0)
5325
+ }, null, 10, Jl)) : c("", !0)
5130
5326
  ]),
5131
5327
  _: 3
5132
5328
  }, 16, ["valid", "wrap", "class"]);
5133
5329
  }
5134
- const Fl = {
5330
+ const Zl = {
5135
5331
  name: "w-slider",
5136
- mixins: [z],
5332
+ mixins: [E],
5137
5333
  props: {
5138
5334
  modelValue: { type: Number, default: 0 },
5139
5335
  color: { type: String, default: "primary" },
@@ -5265,17 +5461,17 @@ const Fl = {
5265
5461
  this.rangeValueScaled !== e && (this.rangeValueScaled = e, this.rangeValuePercent = this.scaledToPercent(e));
5266
5462
  }
5267
5463
  }
5268
- }, jl = /* @__PURE__ */ v(Fl, [["render", Dl]]), Ul = { key: 0 };
5269
- function ql(e, t, i, o, n, l) {
5464
+ }, es = /* @__PURE__ */ w(Zl, [["render", Ql]]), ts = { key: 0 };
5465
+ function is(e, t, i, o, n, l) {
5270
5466
  return i.modelValue || i.modelValue === void 0 ? (s(), u("div", {
5271
5467
  key: 0,
5272
5468
  class: f(["w-spinner", l.classes]),
5273
- style: R(l.styles)
5469
+ style: L(l.styles)
5274
5470
  }, [
5275
- l.isThreeDots ? (s(), u("span", Ul)) : c("", !0)
5471
+ l.isThreeDots ? (s(), u("span", ts)) : c("", !0)
5276
5472
  ], 6)) : c("", !0);
5277
5473
  }
5278
- const Xl = {
5474
+ const ls = {
5279
5475
  name: "w-spinner",
5280
5476
  props: {
5281
5477
  modelValue: {},
@@ -5313,13 +5509,13 @@ const Xl = {
5313
5509
  };
5314
5510
  }
5315
5511
  }
5316
- }, Yl = /* @__PURE__ */ v(Xl, [["render", ql]]);
5317
- function Gl(e, t, i, o, n, l) {
5512
+ }, ss = /* @__PURE__ */ w(ls, [["render", is]]);
5513
+ function os(e, t, i, o, n, l) {
5318
5514
  return s(), u("div", {
5319
5515
  class: f(["w-steps", l.classes])
5320
5516
  }, null, 2);
5321
5517
  }
5322
- const Jl = {
5518
+ const as = {
5323
5519
  name: "w-steps",
5324
5520
  props: {
5325
5521
  dark: { type: Boolean },
@@ -5335,16 +5531,16 @@ const Jl = {
5335
5531
  };
5336
5532
  }
5337
5533
  }
5338
- }, Ql = /* @__PURE__ */ v(Jl, [["render", Gl]]), Zl = ["id", "name", "checked", "disabled", "readonly", "aria-readonly", "required", "tabindex", "aria-checked"], es = ["for"], ts = {
5534
+ }, ns = /* @__PURE__ */ w(as, [["render", os]]), rs = ["id", "name", "checked", "disabled", "readonly", "aria-readonly", "required", "tabindex", "aria-checked"], ds = ["for"], us = {
5339
5535
  key: 0,
5340
5536
  class: "w-switch__track"
5341
- }, is = {
5537
+ }, hs = {
5342
5538
  key: 1,
5343
5539
  class: "w-switch__thumb"
5344
- }, ls = ["for"];
5345
- function ss(e, t, i, o, n, l) {
5540
+ }, cs = ["for"];
5541
+ function ps(e, t, i, o, n, l) {
5346
5542
  const a = $("w-progress");
5347
- return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
5543
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
5348
5544
  valid: e.valid,
5349
5545
  "onUpdate:valid": t[3] || (t[3] = (r) => e.valid = r),
5350
5546
  onReset: t[4] || (t[4] = (r) => {
@@ -5353,7 +5549,7 @@ function ss(e, t, i, o, n, l) {
5353
5549
  class: l.classes
5354
5550
  }), {
5355
5551
  default: m(() => [
5356
- w("input", {
5552
+ y("input", {
5357
5553
  ref: "input",
5358
5554
  id: `w-switch--${e._.uid}`,
5359
5555
  type: "checkbox",
@@ -5368,8 +5564,8 @@ function ss(e, t, i, o, n, l) {
5368
5564
  onFocus: t[1] || (t[1] = (r) => e.$emit("focus", r)),
5369
5565
  "aria-checked": n.isOn || "false",
5370
5566
  role: "switch"
5371
- }, null, 40, Zl),
5372
- l.hasLabel && i.labelOnLeft ? (s(), u(k, { key: 0 }, [
5567
+ }, null, 40, rs),
5568
+ l.hasLabel && i.labelOnLeft ? (s(), u(v, { key: 0 }, [
5373
5569
  e.$slots.default || i.label ? (s(), u("label", {
5374
5570
  key: 0,
5375
5571
  class: f(["w-switch__label w-switch__label--left w-form-el-shakable", e.labelClasses]),
@@ -5378,18 +5574,18 @@ function ss(e, t, i, o, n, l) {
5378
5574
  p(e.$slots, "default", {}, () => [
5379
5575
  S(_(i.label), 1)
5380
5576
  ])
5381
- ], 10, es)) : c("", !0)
5577
+ ], 10, ds)) : c("", !0)
5382
5578
  ], 64)) : c("", !0),
5383
- w("div", C({
5579
+ y("div", C({
5384
5580
  class: "w-switch__input",
5385
5581
  onClick: t[2] || (t[2] = (r) => {
5386
5582
  e.$refs.input.focus(), e.$refs.input.click();
5387
5583
  })
5388
- }, W(e.$attrs, !0), { class: l.inputClasses }), [
5389
- e.$slots.track ? (s(), u("div", ts, [
5584
+ }, z(e.$attrs, !0), { class: l.inputClasses }), [
5585
+ e.$slots.track ? (s(), u("div", us, [
5390
5586
  p(e.$slots, "track")
5391
5587
  ])) : c("", !0),
5392
- e.$slots.thumb || i.loading ? (s(), u("div", is, [
5588
+ e.$slots.thumb || i.loading ? (s(), u("div", hs, [
5393
5589
  i.loading ? (s(), g(a, C({
5394
5590
  key: 0,
5395
5591
  circle: "",
@@ -5397,7 +5593,7 @@ function ss(e, t, i, o, n, l) {
5397
5593
  }, typeof i.loading == "number" && { "model-value": i.loading }), null, 16)) : p(e.$slots, "thumb", { key: 1 })
5398
5594
  ])) : c("", !0)
5399
5595
  ], 16),
5400
- l.hasLabel && !i.labelOnLeft ? (s(), u(k, { key: 1 }, [
5596
+ l.hasLabel && !i.labelOnLeft ? (s(), u(v, { key: 1 }, [
5401
5597
  e.$slots.default || i.label ? (s(), u("label", {
5402
5598
  key: 0,
5403
5599
  class: f(["w-switch__label w-switch__label--right w-form-el-shakable", e.labelClasses]),
@@ -5406,15 +5602,15 @@ function ss(e, t, i, o, n, l) {
5406
5602
  p(e.$slots, "default", {}, () => [
5407
5603
  S(_(i.label), 1)
5408
5604
  ])
5409
- ], 10, ls)) : c("", !0)
5605
+ ], 10, cs)) : c("", !0)
5410
5606
  ], 64)) : c("", !0)
5411
5607
  ]),
5412
5608
  _: 3
5413
5609
  }, 16, ["valid", "class"]);
5414
5610
  }
5415
- const as = {
5611
+ const fs = {
5416
5612
  name: "w-switch",
5417
- mixins: [z],
5613
+ mixins: [E],
5418
5614
  props: {
5419
5615
  modelValue: { default: !1 },
5420
5616
  label: { type: String, default: "" },
@@ -5477,38 +5673,38 @@ const as = {
5477
5673
  this.isOn = e;
5478
5674
  }
5479
5675
  }
5480
- }, os = /* @__PURE__ */ v(as, [["render", ss]]), ns = { class: "w-tabs__content" };
5481
- function rs(e, t, i, o, n, l) {
5482
- return s(), u("div", ns, [
5676
+ }, ms = /* @__PURE__ */ w(fs, [["render", ps]]), gs = { class: "w-tabs__content" };
5677
+ function bs(e, t, i, o, n, l) {
5678
+ return s(), u("div", gs, [
5483
5679
  p(e.$slots, "default", { item: i.item })
5484
5680
  ]);
5485
5681
  }
5486
- const ds = {
5682
+ const ys = {
5487
5683
  name: "tab-content",
5488
5684
  props: { item: Object }
5489
- }, us = /* @__PURE__ */ v(ds, [["render", rs]]), hs = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], cs = ["innerHTML"], ps = {
5685
+ }, ws = /* @__PURE__ */ w(ys, [["render", bs]]), vs = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], ks = ["innerHTML"], _s = {
5490
5686
  key: 0,
5491
5687
  class: "w-tabs__bar-extra"
5492
- }, fs = {
5688
+ }, Cs = {
5493
5689
  key: 0,
5494
5690
  class: "w-tabs__content-wrap"
5495
- }, ms = ["innerHTML"], gs = ["innerHTML"];
5496
- function bs(e, t, i, o, n, l) {
5691
+ }, Ss = ["innerHTML"], Bs = ["innerHTML"];
5692
+ function $s(e, t, i, o, n, l) {
5497
5693
  const a = $("tab-content");
5498
5694
  return s(), u("div", {
5499
5695
  class: f(["w-tabs", l.tabsClasses])
5500
5696
  }, [
5501
- w("div", {
5697
+ y("div", {
5502
5698
  class: f(["w-tabs__bar", l.tabsBarClasses]),
5503
5699
  ref: "tabs-bar"
5504
5700
  }, [
5505
- (s(!0), u(k, null, L(e.tabs, (r, d) => (s(), u("div", {
5701
+ (s(!0), u(v, null, R(e.tabs, (r, d) => (s(), u("div", {
5506
5702
  class: f(["w-tabs__bar-item", l.barItemClasses(r)]),
5507
5703
  key: d,
5508
5704
  onClick: (h) => !r._disabled && r._uid !== e.activeTabUid && l.openTab(r._uid),
5509
5705
  onFocus: (h) => e.$emit("focus", l.getOriginalItem(r)),
5510
5706
  tabindex: !r._disabled && 0,
5511
- onKeypress: E((h) => !r._disabled && l.openTab(r._uid), ["enter"]),
5707
+ onKeypress: W((h) => !r._disabled && l.openTab(r._uid), ["enter"]),
5512
5708
  "aria-selected": r._uid === e.activeTabUid ? "true" : "false",
5513
5709
  role: "tab"
5514
5710
  }, [
@@ -5523,27 +5719,27 @@ function bs(e, t, i, o, n, l) {
5523
5719
  index: d + 1,
5524
5720
  active: r._uid === e.activeTabUid
5525
5721
  }, () => [
5526
- w("div", {
5722
+ y("div", {
5527
5723
  innerHTML: r[i.itemTitleKey]
5528
- }, null, 8, cs)
5724
+ }, null, 8, ks)
5529
5725
  ])
5530
- ], 42, hs))), 128)),
5531
- e.$slots["tabs-bar-extra"] ? (s(), u("div", ps, [
5726
+ ], 42, vs))), 128)),
5727
+ e.$slots["tabs-bar-extra"] ? (s(), u("div", _s, [
5532
5728
  p(e.$slots, "tabs-bar-extra")
5533
5729
  ])) : c("", !0),
5534
5730
  !i.noSlider && !i.card ? (s(), u("div", {
5535
5731
  key: 1,
5536
5732
  class: f(["w-tabs__slider", i.sliderColor]),
5537
- style: R(l.sliderStyles)
5733
+ style: L(l.sliderStyles)
5538
5734
  }, null, 6)) : c("", !0)
5539
5735
  ], 2),
5540
- e.tabs.length ? (s(), u("div", fs, [
5541
- i.keepInDom ? (s(), g(ae, {
5736
+ e.tabs.length ? (s(), u("div", Cs, [
5737
+ i.keepInDom ? (s(), g(oe, {
5542
5738
  key: 0,
5543
5739
  name: l.transitionName
5544
5740
  }, {
5545
5741
  default: m(() => [
5546
- (s(!0), u(k, null, L(e.tabs, (r, d) => N((s(), g(a, {
5742
+ (s(!0), u(v, null, R(e.tabs, (r, d) => A((s(), g(a, {
5547
5743
  key: r._uid,
5548
5744
  item: r,
5549
5745
  class: f(i.contentClass)
@@ -5563,12 +5759,12 @@ function bs(e, t, i, o, n, l) {
5563
5759
  r[i.itemContentKey] ? (s(), u("div", {
5564
5760
  key: 0,
5565
5761
  innerHTML: r[i.itemContentKey]
5566
- }, null, 8, ms)) : c("", !0)
5762
+ }, null, 8, Ss)) : c("", !0)
5567
5763
  ])
5568
5764
  ]),
5569
5765
  _: 2
5570
5766
  }, 1032, ["item", "class"])), [
5571
- [oe, r._uid === l.activeTab._uid]
5767
+ [ne, r._uid === l.activeTab._uid]
5572
5768
  ])), 128))
5573
5769
  ]),
5574
5770
  _: 3
@@ -5587,7 +5783,7 @@ function bs(e, t, i, o, n, l) {
5587
5783
  class: f(i.contentClass)
5588
5784
  }, {
5589
5785
  default: m(({ item: r }) => [
5590
- r ? (s(), u(k, { key: 0 }, [
5786
+ r ? (s(), u(v, { key: 0 }, [
5591
5787
  e.$slots[`item-content.${r._index + 1}`] ? p(e.$slots, `item-content.${r._index + 1}`, {
5592
5788
  key: 0,
5593
5789
  item: l.getOriginalItem(r),
@@ -5602,7 +5798,7 @@ function bs(e, t, i, o, n, l) {
5602
5798
  r[i.itemContentKey] ? (s(), u("div", {
5603
5799
  key: 0,
5604
5800
  innerHTML: r[i.itemContentKey]
5605
- }, null, 8, gs)) : c("", !0)
5801
+ }, null, 8, Bs)) : c("", !0)
5606
5802
  ])
5607
5803
  ], 64)) : c("", !0)
5608
5804
  ]),
@@ -5615,8 +5811,8 @@ function bs(e, t, i, o, n, l) {
5615
5811
  ])) : c("", !0)
5616
5812
  ], 2);
5617
5813
  }
5618
- let fe = 0;
5619
- const ys = {
5814
+ let me = 0;
5815
+ const Vs = {
5620
5816
  name: "w-tabs",
5621
5817
  props: {
5622
5818
  modelValue: { type: [Number, String] },
@@ -5642,7 +5838,7 @@ const ys = {
5642
5838
  keepAlive: { type: Boolean, default: !0 },
5643
5839
  keepInDom: { type: Boolean, default: !1 }
5644
5840
  },
5645
- components: { TabContent: us },
5841
+ components: { TabContent: ws },
5646
5842
  emits: ["input", "update:modelValue", "focus"],
5647
5843
  data: () => ({
5648
5844
  tabs: [],
@@ -5699,7 +5895,7 @@ const ys = {
5699
5895
  methods: {
5700
5896
  addTab(e) {
5701
5897
  var t, i, o;
5702
- (i = (t = e[this.itemIdKey]) != null ? t : e._uid) != null && i || (e._uid = +`${this._.uid}${++fe}`), this.tabs.push({
5898
+ (i = (t = e[this.itemIdKey]) != null ? t : e._uid) != null && i || (e._uid = +`${this._.uid}${++me}`), this.tabs.push({
5703
5899
  _uid: (o = e[this.itemIdKey]) != null ? o : e._uid,
5704
5900
  _index: this.tabs.length,
5705
5901
  ...e,
@@ -5710,7 +5906,7 @@ const ys = {
5710
5906
  let e = this.items;
5711
5907
  typeof e == "number" && (e = Array(e).fill().map((t, i) => this.tabs[i] || {})), this.tabs = e.map((t, i) => {
5712
5908
  var o, n, l;
5713
- return (n = (o = t[this.itemIdKey]) != null ? o : t._uid) != null && n || (t._uid = +`${this._.uid}${++fe}`), {
5909
+ return (n = (o = t[this.itemIdKey]) != null ? o : t._uid) != null && n || (t._uid = +`${this._.uid}${++me}`), {
5714
5910
  ...t,
5715
5911
  _uid: (l = t[this.itemIdKey]) != null ? l : t._uid,
5716
5912
  _index: i,
@@ -5791,52 +5987,52 @@ const ys = {
5791
5987
  e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
5792
5988
  }
5793
5989
  }
5794
- }, ws = /* @__PURE__ */ v(ys, [["render", bs]]), vs = { ref: "colgroup" }, ks = ["width"], _s = { key: 0 }, Cs = ["onClick"], Ss = ["innerHTML"], Bs = {
5990
+ }, Is = /* @__PURE__ */ w(Vs, [["render", $s]]), Ts = { ref: "colgroup" }, Rs = ["width"], Ls = { key: 0 }, xs = ["onClick"], Os = ["innerHTML"], Ps = {
5795
5991
  key: 0,
5796
5992
  class: "w-table__progress-bar"
5797
- }, $s = ["colspan"], Vs = {
5993
+ }, Ms = ["colspan"], zs = {
5798
5994
  key: 0,
5799
5995
  class: "w-table__progress-bar"
5800
- }, Is = ["colspan"], Ts = { class: "w-table__loading-text" }, Rs = {
5996
+ }, Es = ["colspan"], Ws = { class: "w-table__loading-text" }, As = {
5801
5997
  key: 1,
5802
5998
  class: "no-data"
5803
- }, Ls = ["colspan"], xs = ["onClick"], Os = ["data-label"], Ps = ["data-label"], zs = ["innerHTML"], Ms = {
5999
+ }, Ks = ["colspan"], Ns = ["onClick"], Hs = ["data-label"], Ds = ["data-label"], Fs = ["innerHTML"], js = {
5804
6000
  key: 2,
5805
6001
  class: "w-table__row w-table__row--expansion"
5806
- }, Es = ["colspan"], Ws = { key: 0 }, As = {
6002
+ }, Us = ["colspan"], qs = { key: 0 }, Xs = {
5807
6003
  key: 3,
5808
6004
  class: "w-table__extra-row"
5809
- }, Ns = {
6005
+ }, Ys = {
5810
6006
  key: 1,
5811
6007
  class: "w-table__footer"
5812
- }, Ks = {
6008
+ }, Gs = {
5813
6009
  key: 1,
5814
6010
  class: "w-table__row"
5815
- }, Hs = ["colspan"], Ds = {
6011
+ }, Js = ["colspan"], Qs = {
5816
6012
  key: 2,
5817
6013
  class: "w-table__row w-table__pagination-wrap"
5818
- }, Fs = ["colspan"], js = { class: "w-table__pagination w-pagination" }, Us = { class: "pages-wrap" }, qs = { class: "w-pagination__results" };
5819
- function Xs(e, t, i, o, n, l) {
5820
- const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), B = $("w-button");
6014
+ }, Zs = ["colspan"], eo = { class: "w-table__pagination w-pagination" }, to = { class: "pages-wrap" }, io = { class: "w-pagination__results" };
6015
+ function lo(e, t, i, o, n, l) {
6016
+ const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), k = $("w-select"), B = $("w-button");
5821
6017
  return s(), u("div", {
5822
6018
  class: f(["w-table-wrap", l.wrapClasses])
5823
6019
  }, [
5824
- w("table", {
6020
+ y("table", {
5825
6021
  class: f(["w-table", l.classes]),
5826
6022
  onMousedown: t[5] || (t[5] = (...b) => l.onMouseDown && l.onMouseDown(...b)),
5827
6023
  onMouseover: t[6] || (t[6] = (...b) => l.onMouseOver && l.onMouseOver(...b)),
5828
6024
  onMouseout: t[7] || (t[7] = (...b) => l.onMouseOut && l.onMouseOut(...b))
5829
6025
  }, [
5830
- w("colgroup", vs, [
5831
- (s(!0), u(k, null, L(i.headers, (b, T) => (s(), u("col", {
6026
+ y("colgroup", Ts, [
6027
+ (s(!0), u(v, null, R(i.headers, (b, T) => (s(), u("col", {
5832
6028
  class: f(["w-table__col", l.colClasses[T]]),
5833
6029
  key: T,
5834
6030
  width: b.width || null
5835
- }, null, 10, ks))), 128))
6031
+ }, null, 10, Rs))), 128))
5836
6032
  ], 512),
5837
- i.noHeaders ? c("", !0) : (s(), u("thead", _s, [
5838
- w("tr", null, [
5839
- (s(!0), u(k, null, L(i.headers, (b, T) => (s(), u("th", {
6033
+ i.noHeaders ? c("", !0) : (s(), u("thead", Ls, [
6034
+ y("tr", null, [
6035
+ (s(!0), u(v, null, R(i.headers, (b, T) => (s(), u("th", {
5840
6036
  class: f(["w-table__header", l.headerClasses(b)]),
5841
6037
  key: T,
5842
6038
  onClick: (x) => !e.colResizing.dragging && b.sortable !== !1 && l.sortTable(b)
@@ -5850,7 +6046,7 @@ function Xs(e, t, i, o, n, l) {
5850
6046
  ]),
5851
6047
  _: 2
5852
6048
  }, 1032, ["class"])) : c("", !0),
5853
- b.label ? (s(), u(k, { key: 1 }, [
6049
+ b.label ? (s(), u(v, { key: 1 }, [
5854
6050
  e.$slots["header-label"] ? p(e.$slots, "header-label", {
5855
6051
  key: 0,
5856
6052
  header: b,
@@ -5861,7 +6057,7 @@ function Xs(e, t, i, o, n, l) {
5861
6057
  ]) : (s(), u("span", {
5862
6058
  key: 1,
5863
6059
  innerHTML: b.label || ""
5864
- }, null, 8, Ss))
6060
+ }, null, 8, Os))
5865
6061
  ], 64)) : c("", !0),
5866
6062
  b.sortable !== !1 && b.align !== "right" ? (s(), g(a, {
5867
6063
  key: 2,
@@ -5878,44 +6074,44 @@ function Xs(e, t, i, o, n, l) {
5878
6074
  onClick: t[0] || (t[0] = M(() => {
5879
6075
  }, ["stop"]))
5880
6076
  }, null, 2)) : c("", !0)
5881
- ], 10, Cs))), 128))
6077
+ ], 10, xs))), 128))
5882
6078
  ]),
5883
- I(d, null, {
6079
+ V(d, null, {
5884
6080
  default: m(() => [
5885
- i.loading === "header" ? (s(), u("tr", Bs, [
5886
- w("td", {
6081
+ i.loading === "header" ? (s(), u("tr", Ps, [
6082
+ y("td", {
5887
6083
  colspan: i.headers.length
5888
6084
  }, [
5889
- I(r, { tile: "" })
5890
- ], 8, $s)
6085
+ V(r, { tile: "" })
6086
+ ], 8, Ms)
5891
6087
  ])) : c("", !0)
5892
6088
  ]),
5893
6089
  _: 1
5894
6090
  })
5895
6091
  ])),
5896
- w("tbody", null, [
5897
- i.loading === !0 ? (s(), u("tr", Vs, [
5898
- w("td", {
6092
+ y("tbody", null, [
6093
+ i.loading === !0 ? (s(), u("tr", zs, [
6094
+ y("td", {
5899
6095
  colspan: i.headers.length
5900
6096
  }, [
5901
- I(r, { tile: "" }),
5902
- w("div", Ts, [
6097
+ V(r, { tile: "" }),
6098
+ y("div", Ws, [
5903
6099
  p(e.$slots, "loading", {}, () => [
5904
6100
  S("Loading...")
5905
6101
  ])
5906
6102
  ])
5907
- ], 8, Is)
5908
- ])) : l.tableItems.length ? c("", !0) : (s(), u("tr", Rs, [
5909
- w("td", {
6103
+ ], 8, Es)
6104
+ ])) : l.tableItems.length ? c("", !0) : (s(), u("tr", As, [
6105
+ y("td", {
5910
6106
  class: "w-table__cell text-center",
5911
6107
  colspan: i.headers.length
5912
6108
  }, [
5913
6109
  p(e.$slots, "no-data", {}, () => [
5914
6110
  S("No data to show.")
5915
6111
  ])
5916
- ], 8, Ls)
6112
+ ], 8, Ks)
5917
6113
  ])),
5918
- l.tableItems.length && i.loading !== !0 ? (s(!0), u(k, { key: 2 }, L(l.paginatedItems, (b, T) => (s(), u(k, { key: T }, [
6114
+ l.tableItems.length && i.loading !== !0 ? (s(!0), u(v, { key: 2 }, R(l.paginatedItems, (b, T) => (s(), u(v, { key: T }, [
5919
6115
  e.$slots.item ? p(e.$slots, "item", {
5920
6116
  key: 0,
5921
6117
  item: b,
@@ -5927,7 +6123,7 @@ function Xs(e, t, i, o, n, l) {
5927
6123
  class: f(["w-table__row", { "w-table__row--selected": l.selectedRowsByUid[b._uid] !== void 0, "w-table__row--expanded": l.expandedRowsByUid[b._uid] !== void 0 }]),
5928
6124
  onClick: (x) => l.doSelectRow(b, T)
5929
6125
  }, [
5930
- (s(!0), u(k, null, L(i.headers, (x, P) => (s(), u(k, null, [
6126
+ (s(!0), u(v, null, R(i.headers, (x, P) => (s(), u(v, null, [
5931
6127
  e.$slots[`item-cell.${x.key}`] || e.$slots[`item-cell.${P + 1}`] || e.$slots["item-cell"] ? (s(), u("td", {
5932
6128
  class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
5933
6129
  key: `${P}-a`,
@@ -5956,29 +6152,29 @@ function Xs(e, t, i, o, n, l) {
5956
6152
  key: 3,
5957
6153
  class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === P, "w-table__col-resizer--active": e.colResizing.columnIndex === P }])
5958
6154
  }, null, 2)) : c("", !0)
5959
- ], 10, Os)) : (s(), u("td", {
6155
+ ], 10, Hs)) : (s(), u("td", {
5960
6156
  class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
5961
6157
  key: `${P}-b`,
5962
6158
  "data-label": x.label
5963
6159
  }, [
5964
- w("div", {
6160
+ y("div", {
5965
6161
  innerHTML: b[x.key] || ""
5966
- }, null, 8, zs),
6162
+ }, null, 8, Fs),
5967
6163
  P < i.headers.length - 1 && i.resizableColumns ? (s(), u("span", {
5968
6164
  key: 0,
5969
6165
  class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === P, "w-table__col-resizer--active": e.colResizing.columnIndex === P }])
5970
6166
  }, null, 2)) : c("", !0)
5971
- ], 10, Ps))
6167
+ ], 10, Ds))
5972
6168
  ], 64))), 256))
5973
- ], 10, xs)),
5974
- l.expandedRowsByUid[b._uid] ? (s(), u("tr", Ms, [
5975
- w("td", {
6169
+ ], 10, Ns)),
6170
+ l.expandedRowsByUid[b._uid] ? (s(), u("tr", js, [
6171
+ y("td", {
5976
6172
  class: "w-table__cell",
5977
6173
  colspan: i.headers.length
5978
6174
  }, [
5979
- I(h, { y: "" }, {
6175
+ V(h, { y: "" }, {
5980
6176
  default: m(() => [
5981
- l.expandedRowsByUid[b._uid] ? (s(), u("div", Ws, [
6177
+ l.expandedRowsByUid[b._uid] ? (s(), u("div", qs, [
5982
6178
  p(e.$slots, "row-expansion", {
5983
6179
  item: b,
5984
6180
  index: T + 1
@@ -5991,33 +6187,33 @@ function Xs(e, t, i, o, n, l) {
5991
6187
  ]),
5992
6188
  _: 2
5993
6189
  }, 1024)
5994
- ], 8, Es)
6190
+ ], 8, Us)
5995
6191
  ])) : c("", !0)
5996
6192
  ], 64))), 128)) : c("", !0),
5997
- e.$slots["extra-row"] ? (s(), u("div", As, [
6193
+ e.$slots["extra-row"] ? (s(), u("div", Xs, [
5998
6194
  p(e.$slots, "extra-row")
5999
6195
  ])) : c("", !0)
6000
6196
  ]),
6001
- e.$slots.footer || e.$slots["footer-row"] || i.pagination ? (s(), u("tfoot", Ns, [
6002
- e.$slots["footer-row"] ? p(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (s(), u("tr", Ks, [
6003
- w("td", {
6197
+ e.$slots.footer || e.$slots["footer-row"] || i.pagination ? (s(), u("tfoot", Ys, [
6198
+ e.$slots["footer-row"] ? p(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (s(), u("tr", Gs, [
6199
+ y("td", {
6004
6200
  class: "w-table__cell",
6005
6201
  colspan: i.headers.length
6006
6202
  }, [
6007
6203
  p(e.$slots, "footer")
6008
- ], 8, Hs)
6204
+ ], 8, Js)
6009
6205
  ])) : c("", !0),
6010
- i.pagination && e.paginationConfig ? (s(), u("tr", Ds, [
6011
- w("td", {
6206
+ i.pagination && e.paginationConfig ? (s(), u("tr", Qs, [
6207
+ y("td", {
6012
6208
  class: "w-table__cell",
6013
6209
  colspan: i.headers.length
6014
6210
  }, [
6015
- w("div", js, [
6211
+ y("div", eo, [
6016
6212
  p(e.$slots, "pagination", {
6017
6213
  range: `${e.paginationConfig.start}-${e.paginationConfig.end}`,
6018
6214
  total: e.paginationConfig.total
6019
6215
  }, () => [
6020
- e.paginationConfig.itemsPerPageOptions ? (s(), g(y, {
6216
+ e.paginationConfig.itemsPerPageOptions ? (s(), g(k, {
6021
6217
  key: 0,
6022
6218
  class: "w-pagination__items-per-page",
6023
6219
  modelValue: e.paginationConfig.itemsPerPage,
@@ -6028,8 +6224,8 @@ function Xs(e, t, i, o, n, l) {
6028
6224
  label: "Items per page",
6029
6225
  "label-color": "inherit"
6030
6226
  }, null, 8, ["modelValue", "items"])) : c("", !0),
6031
- w("div", Us, [
6032
- I(B, {
6227
+ y("div", to, [
6228
+ V(B, {
6033
6229
  class: "w-pagination__arrow w-pagination__arrow--prev",
6034
6230
  onClick: t[3] || (t[3] = (b) => l.goToPage("-1")),
6035
6231
  disabled: e.paginationConfig.page <= 1,
@@ -6037,7 +6233,7 @@ function Xs(e, t, i, o, n, l) {
6037
6233
  text: "",
6038
6234
  lg: ""
6039
6235
  }, null, 8, ["disabled"]),
6040
- (s(!0), u(k, null, L(e.paginationConfig.pagesCount, (b) => (s(), g(B, {
6236
+ (s(!0), u(v, null, R(e.paginationConfig.pagesCount, (b) => (s(), g(B, {
6041
6237
  class: f(["w-pagination__page", { "w-pagination__page--active": b === e.paginationConfig.page }]),
6042
6238
  key: b,
6043
6239
  onClick: (T) => b !== e.paginationConfig.page && l.goToPage(b),
@@ -6049,7 +6245,7 @@ function Xs(e, t, i, o, n, l) {
6049
6245
  ]),
6050
6246
  _: 2
6051
6247
  }, 1032, ["onClick", "class"]))), 128)),
6052
- I(B, {
6248
+ V(B, {
6053
6249
  class: "w-pagination__arrow w-pagination__arrow--next",
6054
6250
  onClick: t[4] || (t[4] = (b) => l.goToPage("+1")),
6055
6251
  disabled: e.paginationConfig.page >= e.paginationConfig.pagesCount,
@@ -6058,16 +6254,16 @@ function Xs(e, t, i, o, n, l) {
6058
6254
  lg: ""
6059
6255
  }, null, 8, ["disabled"])
6060
6256
  ]),
6061
- w("span", qs, _(e.paginationConfig.start) + "-" + _(e.paginationConfig.end || e.paginationConfig.total) + " of " + _(e.paginationConfig.total), 1)
6257
+ y("span", io, _(e.paginationConfig.start) + "-" + _(e.paginationConfig.end || e.paginationConfig.total) + " of " + _(e.paginationConfig.total), 1)
6062
6258
  ])
6063
6259
  ])
6064
- ], 8, Fs)
6260
+ ], 8, Zs)
6065
6261
  ])) : c("", !0)
6066
6262
  ])) : c("", !0)
6067
6263
  ], 34)
6068
6264
  ], 2);
6069
6265
  }
6070
- const me = 15, Ys = {
6266
+ const ge = 15, so = {
6071
6267
  name: "w-table",
6072
6268
  props: {
6073
6269
  items: { type: Array, required: !0 },
@@ -6266,9 +6462,9 @@ const me = 15, Ys = {
6266
6462
  this.colResizing.dragging = !0;
6267
6463
  const a = e.pageX - t, r = n + l, d = n + a, h = l - a;
6268
6464
  i.style.width = n + a + "px", o.style.width = l - a + "px";
6269
- const y = a < 0 && i.offsetWidth > d || i.offsetWidth <= me, B = a > 0 && o.offsetWidth > h;
6270
- if (y) {
6271
- const b = Math.max(i.offsetWidth, me);
6465
+ const k = a < 0 && i.offsetWidth > d || i.offsetWidth <= ge, B = a > 0 && o.offsetWidth > h;
6466
+ if (k) {
6467
+ const b = Math.max(i.offsetWidth, ge);
6272
6468
  i.style.width = b + "px", o.style.width = r - b + "px";
6273
6469
  } else
6274
6470
  B && (i.style.width = r - o.offsetWidth + "px", o.style.width = o.offsetWidth + "px");
@@ -6351,13 +6547,13 @@ const me = 15, Ys = {
6351
6547
  this.updatePaginationConfig({ total: e });
6352
6548
  }
6353
6549
  }
6354
- }, Gs = /* @__PURE__ */ v(Ys, [["render", Xs]]), Js = ["role", "aria-pressed", "tabindex"];
6355
- function Qs(e, t, i, o, n, l) {
6356
- return s(), u("span", C({ class: "w-tag" }, W(e.$attrs, !0), {
6550
+ }, oo = /* @__PURE__ */ w(so, [["render", lo]]), ao = ["role", "aria-pressed", "tabindex"];
6551
+ function no(e, t, i, o, n, l) {
6552
+ return s(), u("span", C({ class: "w-tag" }, z(e.$attrs, !0), {
6357
6553
  onClick: t[1] || (t[1] = (a) => {
6358
6554
  e.$emit("update:modelValue", !i.modelValue), e.$emit("input", !i.modelValue);
6359
6555
  }),
6360
- onKeypress: t[2] || (t[2] = E((a) => {
6556
+ onKeypress: t[2] || (t[2] = W((a) => {
6361
6557
  e.$emit("update:modelValue", !i.modelValue), e.$emit("input", !i.modelValue);
6362
6558
  }, ["enter"])),
6363
6559
  class: l.classes,
@@ -6376,9 +6572,9 @@ function Qs(e, t, i, o, n, l) {
6376
6572
  role: "icon",
6377
6573
  "aria-hidden": "true"
6378
6574
  })) : c("", !0)
6379
- ], 16, Js);
6575
+ ], 16, ao);
6380
6576
  }
6381
- const Zs = {
6577
+ const ro = {
6382
6578
  name: "w-tag",
6383
6579
  props: {
6384
6580
  modelValue: { type: [Boolean, Number], default: -1 },
@@ -6427,10 +6623,10 @@ const Zs = {
6427
6623
  };
6428
6624
  }
6429
6625
  }
6430
- }, ea = /* @__PURE__ */ v(Zs, [["render", Qs]]), ta = ["for"], ia = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], la = ["for"], sa = ["for"];
6431
- function aa(e, t, i, o, n, l) {
6626
+ }, uo = /* @__PURE__ */ w(ro, [["render", no]]), ho = ["for"], co = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], po = ["for"];
6627
+ function fo(e, t, i, o, n, l) {
6432
6628
  const a = $("w-icon");
6433
- return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
6629
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
6434
6630
  valid: e.valid,
6435
6631
  "onUpdate:valid": t[6] || (t[6] = (r) => e.valid = r),
6436
6632
  wrap: l.hasLabel && i.labelPosition !== "inside",
@@ -6440,7 +6636,7 @@ function aa(e, t, i, o, n, l) {
6440
6636
  class: l.classes
6441
6637
  }), {
6442
6638
  default: m(() => [
6443
- i.labelPosition === "left" ? (s(), u(k, { key: 0 }, [
6639
+ i.labelPosition === "left" ? (s(), u(v, { key: 0 }, [
6444
6640
  e.$slots.default || i.label ? (s(), u("label", {
6445
6641
  key: 0,
6446
6642
  class: f(["w-textarea__label w-textarea__label--left w-form-el-shakable", e.labelClasses]),
@@ -6449,9 +6645,9 @@ function aa(e, t, i, o, n, l) {
6449
6645
  p(e.$slots, "default", {}, () => [
6450
6646
  S(_(i.label), 1)
6451
6647
  ])
6452
- ], 10, ta)) : c("", !0)
6648
+ ], 10, ho)) : c("", !0)
6453
6649
  ], 64)) : c("", !0),
6454
- w("div", {
6650
+ y("div", {
6455
6651
  class: f(["w-textarea__textarea-wrap", l.inputWrapClasses])
6456
6652
  }, [
6457
6653
  i.innerIconLeft ? (s(), g(a, {
@@ -6466,11 +6662,11 @@ function aa(e, t, i, o, n, l) {
6466
6662
  ]),
6467
6663
  _: 1
6468
6664
  }, 8, ["for"])) : c("", !0),
6469
- N(w("textarea", C({
6665
+ A(y("textarea", C({
6470
6666
  class: "w-textarea__textarea",
6471
6667
  ref: "textarea",
6472
6668
  "onUpdate:modelValue": t[1] || (t[1] = (r) => n.inputValue = r)
6473
- }, W(l.listeners, !0), {
6669
+ }, z(l.listeners, !0), {
6474
6670
  onInput: t[2] || (t[2] = (...r) => l.onInput && l.onInput(...r)),
6475
6671
  onFocus: t[3] || (t[3] = (...r) => l.onFocus && l.onFocus(...r)),
6476
6672
  onBlur: t[4] || (t[4] = (...r) => l.onBlur && l.onBlur(...r)),
@@ -6484,19 +6680,18 @@ function aa(e, t, i, o, n, l) {
6484
6680
  disabled: e.isDisabled || null,
6485
6681
  required: e.required || null,
6486
6682
  tabindex: e.tabindex || null
6487
- }), null, 16, ia), [
6488
- [be, n.inputValue]
6683
+ }), null, 16, co), [
6684
+ [ae, n.inputValue]
6489
6685
  ]),
6490
- i.labelPosition === "inside" && l.showLabelInside ? (s(), u(k, { key: 1 }, [
6686
+ i.labelPosition === "inside" && l.showLabelInside ? (s(), u(v, { key: 1 }, [
6491
6687
  e.$slots.default || i.label ? (s(), u("label", {
6492
6688
  key: 0,
6493
- class: f(["w-textarea__label w-textarea__label--inside w-form-el-shakable", e.labelClasses]),
6494
- for: `w-textarea--${e._.uid}`
6689
+ class: f(["w-textarea__label w-textarea__label--inside w-form-el-shakable", e.labelClasses])
6495
6690
  }, [
6496
6691
  p(e.$slots, "default", {}, () => [
6497
6692
  S(_(i.label), 1)
6498
6693
  ])
6499
- ], 10, la)) : c("", !0)
6694
+ ], 2)) : c("", !0)
6500
6695
  ], 64)) : c("", !0),
6501
6696
  i.innerIconRight ? (s(), g(a, {
6502
6697
  key: 2,
@@ -6511,7 +6706,7 @@ function aa(e, t, i, o, n, l) {
6511
6706
  _: 1
6512
6707
  }, 8, ["for"])) : c("", !0)
6513
6708
  ], 2),
6514
- i.labelPosition === "right" ? (s(), u(k, { key: 1 }, [
6709
+ i.labelPosition === "right" ? (s(), u(v, { key: 1 }, [
6515
6710
  e.$slots.default || i.label ? (s(), u("label", {
6516
6711
  key: 0,
6517
6712
  class: f(["w-textarea__label w-textarea__label--right w-form-el-shakable", e.labelClasses]),
@@ -6520,15 +6715,15 @@ function aa(e, t, i, o, n, l) {
6520
6715
  p(e.$slots, "default", {}, () => [
6521
6716
  S(_(i.label), 1)
6522
6717
  ])
6523
- ], 10, sa)) : c("", !0)
6718
+ ], 10, po)) : c("", !0)
6524
6719
  ], 64)) : c("", !0)
6525
6720
  ]),
6526
6721
  _: 3
6527
6722
  }, 16, ["valid", "wrap", "class"]);
6528
6723
  }
6529
- const oa = {
6724
+ const mo = {
6530
6725
  name: "w-textarea",
6531
- mixins: [z],
6726
+ mixins: [E],
6532
6727
  props: {
6533
6728
  modelValue: { default: "" },
6534
6729
  label: { type: String },
@@ -6642,16 +6837,16 @@ const oa = {
6642
6837
  e ? this.getLineHeight() : this.height = null;
6643
6838
  }
6644
6839
  }
6645
- }, na = /* @__PURE__ */ v(oa, [["render", aa]]), ra = ["innerHTML"], da = ["innerHTML"];
6646
- function ua(e, t, i, o, n, l) {
6840
+ }, go = /* @__PURE__ */ w(mo, [["render", fo]]), bo = ["innerHTML"], yo = ["innerHTML"];
6841
+ function wo(e, t, i, o, n, l) {
6647
6842
  return s(), u("ul", {
6648
6843
  class: f(["w-timeline", l.classes])
6649
6844
  }, [
6650
- (s(!0), u(k, null, L(i.items, (a, r) => (s(), u("li", {
6845
+ (s(!0), u(v, null, R(i.items, (a, r) => (s(), u("li", {
6651
6846
  class: "w-timeline-item",
6652
6847
  key: r
6653
6848
  }, [
6654
- (s(), g(V(a[i.itemIconKey] || i.icon ? "w-icon" : "div"), {
6849
+ (s(), g(I(a[i.itemIconKey] || i.icon ? "w-icon" : "div"), {
6655
6850
  class: f(["w-timeline-item__bullet", { [a[i.itemColorKey] || i.color]: a[i.itemColorKey] || i.color }])
6656
6851
  }, {
6657
6852
  default: m(() => [
@@ -6668,19 +6863,19 @@ function ua(e, t, i, o, n, l) {
6668
6863
  item: a,
6669
6864
  index: r + 1
6670
6865
  }, () => [
6671
- w("div", {
6866
+ y("div", {
6672
6867
  class: f(["w-timeline-item__title", { [a[i.itemColorKey] || i.color]: a[i.itemColorKey] || i.color }]),
6673
6868
  innerHTML: a[i.itemTitleKey]
6674
- }, null, 10, ra),
6675
- w("div", {
6869
+ }, null, 10, bo),
6870
+ y("div", {
6676
6871
  class: "w-timeline-item__content",
6677
6872
  innerHTML: a[i.itemContentKey]
6678
- }, null, 8, da)
6873
+ }, null, 8, yo)
6679
6874
  ])
6680
6875
  ]))), 128))
6681
6876
  ], 2);
6682
6877
  }
6683
- const ha = {
6878
+ const vo = {
6684
6879
  name: "w-timeline",
6685
6880
  props: {
6686
6881
  items: { type: [Array, Number], required: !0 },
@@ -6702,16 +6897,16 @@ const ha = {
6702
6897
  };
6703
6898
  }
6704
6899
  }
6705
- }, ca = /* @__PURE__ */ v(ha, [["render", ua]]);
6706
- function pa(e, t, i, o, n, l) {
6900
+ }, ko = /* @__PURE__ */ w(vo, [["render", wo]]);
6901
+ function _o(e, t, i, o, n, l) {
6707
6902
  return s(), u("div", {
6708
6903
  class: f(["w-toolbar", l.classes]),
6709
- style: R(l.styles)
6904
+ style: L(l.styles)
6710
6905
  }, [
6711
6906
  p(e.$slots, "default")
6712
6907
  ], 6);
6713
6908
  }
6714
- const fa = {
6909
+ const Co = {
6715
6910
  name: "w-toolbar",
6716
6911
  props: {
6717
6912
  color: { type: String },
@@ -6760,11 +6955,11 @@ const fa = {
6760
6955
  };
6761
6956
  }
6762
6957
  }
6763
- }, ma = /* @__PURE__ */ v(fa, [["render", pa]]);
6764
- function ga(e, t, i, o, n, l) {
6765
- return s(), u(k, null, [
6958
+ }, So = /* @__PURE__ */ w(Co, [["render", _o]]);
6959
+ function Bo(e, t, i, o, n, l) {
6960
+ return s(), u(v, null, [
6766
6961
  p(e.$slots, "activator", { on: l.activatorEventHandlers }),
6767
- I(O, {
6962
+ V(O, {
6768
6963
  name: l.transitionName,
6769
6964
  appear: ""
6770
6965
  }, {
@@ -6773,7 +6968,7 @@ function ga(e, t, i, o, n, l) {
6773
6968
  class: f(["w-tooltip", l.classes]),
6774
6969
  ref: "detachable",
6775
6970
  key: e._.uid,
6776
- style: R(l.styles)
6971
+ style: L(l.styles)
6777
6972
  }, [
6778
6973
  p(e.$slots, "default")
6779
6974
  ], 6)) : c("", !0)
@@ -6782,7 +6977,7 @@ function ga(e, t, i, o, n, l) {
6782
6977
  }, 8, ["name"])
6783
6978
  ], 64);
6784
6979
  }
6785
- const ba = {
6980
+ const $o = {
6786
6981
  name: "w-tooltip",
6787
6982
  mixins: [we],
6788
6983
  props: {
@@ -6821,7 +7016,7 @@ const ba = {
6821
7016
  }),
6822
7017
  computed: {
6823
7018
  tooltipClasses() {
6824
- return A(this.tooltipClass);
7019
+ return K(this.tooltipClass);
6825
7020
  },
6826
7021
  transitionName() {
6827
7022
  const e = this.position.replace(/top|bottom/, (t) => ({ top: "up", bottom: "down" })[t]);
@@ -6881,8 +7076,8 @@ const ba = {
6881
7076
  !this.detachableVisible || this.showOnHover && !e && (await new Promise((t) => setTimeout(t, 10)), this.showOnHover && this.hoveringActivator) || (this.$emit("update:modelValue", this.detachableVisible = !1), this.$emit("input", !1), this.$emit("close"), document.removeEventListener("mousedown", this.onOutsideMousedown), window.removeEventListener("resize", this.onResize));
6882
7077
  }
6883
7078
  }
6884
- }, ya = /* @__PURE__ */ v(ba, [["render", ga]]);
6885
- function wa(e, t, i, o, n, l) {
7079
+ }, Vo = /* @__PURE__ */ w($o, [["render", Bo]]);
7080
+ function Io(e, t, i, o, n, l) {
6886
7081
  return s(), g(O, C({ name: "bounce" }, e.$props), {
6887
7082
  default: m(() => [
6888
7083
  p(e.$slots, "default")
@@ -6890,14 +7085,14 @@ function wa(e, t, i, o, n, l) {
6890
7085
  _: 3
6891
7086
  }, 16);
6892
7087
  }
6893
- const va = {
7088
+ const To = {
6894
7089
  name: "w-transition-bounce",
6895
7090
  props: {
6896
7091
  appear: { type: Boolean },
6897
7092
  duration: { type: [Number, String] }
6898
7093
  }
6899
- }, ka = /* @__PURE__ */ v(va, [["render", wa]]);
6900
- function _a(e, t, i, o, n, l) {
7094
+ }, Ro = /* @__PURE__ */ w(To, [["render", Io]]);
7095
+ function Lo(e, t, i, o, n, l) {
6901
7096
  return s(), g(O, {
6902
7097
  name: "expand",
6903
7098
  mode: "out-in",
@@ -6918,7 +7113,7 @@ function _a(e, t, i, o, n, l) {
6918
7113
  _: 3
6919
7114
  }, 8, ["onBeforeAppear", "onAppear", "onAfterAppear", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"]);
6920
7115
  }
6921
- const Ca = {
7116
+ const xo = {
6922
7117
  name: "w-transition-expand",
6923
7118
  props: {
6924
7119
  x: { type: Boolean },
@@ -7008,8 +7203,8 @@ const Ca = {
7008
7203
  this.animX && (this.el.width = e.offsetWidth, this.el.marginLeft = t.getPropertyValue("marginLeft"), this.el.marginRight = t.getPropertyValue("marginRight"), this.el.paddingLeft = t.getPropertyValue("paddingLeft"), this.el.paddingRight = t.getPropertyValue("paddingRight"), this.el.borderLeftWidth = t.getPropertyValue("borderLeftWidth"), this.el.borderRightWidth = t.getPropertyValue("borderRightWidth")), this.animY && (this.el.height = e.offsetHeight, this.el.marginTop = t.getPropertyValue("marginTop"), this.el.marginBottom = t.getPropertyValue("marginBottom"), this.el.paddingTop = t.getPropertyValue("paddingTop"), this.el.paddingBottom = t.getPropertyValue("paddingBottom"), this.el.borderTopWidth = t.getPropertyValue("borderTopWidth"), this.el.borderBottomWidth = t.getPropertyValue("borderBottomWidth")), this.el.savedState = !0;
7009
7204
  }
7010
7205
  }
7011
- }, Sa = /* @__PURE__ */ v(Ca, [["render", _a]]);
7012
- function Ba(e, t, i, o, n, l) {
7206
+ }, Oo = /* @__PURE__ */ w(xo, [["render", Lo]]);
7207
+ function Po(e, t, i, o, n, l) {
7013
7208
  return s(), g(O, C({ name: "fade" }, e.$props), {
7014
7209
  default: m(() => [
7015
7210
  p(e.$slots, "default")
@@ -7017,14 +7212,14 @@ function Ba(e, t, i, o, n, l) {
7017
7212
  _: 3
7018
7213
  }, 16);
7019
7214
  }
7020
- const $a = {
7215
+ const Mo = {
7021
7216
  name: "w-transition-fade",
7022
7217
  props: {
7023
7218
  appear: { type: Boolean },
7024
7219
  duration: { type: [Number, String] }
7025
7220
  }
7026
- }, Va = /* @__PURE__ */ v($a, [["render", Ba]]);
7027
- function Ia(e, t, i, o, n, l) {
7221
+ }, zo = /* @__PURE__ */ w(Mo, [["render", Po]]);
7222
+ function Eo(e, t, i, o, n, l) {
7028
7223
  return s(), g(O, C({ name: "scale" }, e.$props), {
7029
7224
  default: m(() => [
7030
7225
  p(e.$slots, "default")
@@ -7032,14 +7227,14 @@ function Ia(e, t, i, o, n, l) {
7032
7227
  _: 3
7033
7228
  }, 16);
7034
7229
  }
7035
- const Ta = {
7230
+ const Wo = {
7036
7231
  name: "w-transition-scale",
7037
7232
  props: {
7038
7233
  appear: { type: Boolean },
7039
7234
  duration: { type: [Number, String] }
7040
7235
  }
7041
- }, Ra = /* @__PURE__ */ v(Ta, [["render", Ia]]);
7042
- function La(e, t, i, o, n, l) {
7236
+ }, Ao = /* @__PURE__ */ w(Wo, [["render", Eo]]);
7237
+ function Ko(e, t, i, o, n, l) {
7043
7238
  return s(), g(O, C({ name: "scale-fade" }, e.$props), {
7044
7239
  default: m(() => [
7045
7240
  p(e.$slots, "default")
@@ -7047,14 +7242,14 @@ function La(e, t, i, o, n, l) {
7047
7242
  _: 3
7048
7243
  }, 16);
7049
7244
  }
7050
- const xa = {
7245
+ const No = {
7051
7246
  name: "w-transition-scale-fade",
7052
7247
  props: {
7053
7248
  appear: { type: Boolean },
7054
7249
  duration: { type: [Number, String] }
7055
7250
  }
7056
- }, Oa = /* @__PURE__ */ v(xa, [["render", La]]);
7057
- function Pa(e, t, i, o, n, l) {
7251
+ }, Ho = /* @__PURE__ */ w(No, [["render", Ko]]);
7252
+ function Do(e, t, i, o, n, l) {
7058
7253
  return s(), g(O, C({ name: l.transitionName }, e.$props), {
7059
7254
  default: m(() => [
7060
7255
  p(e.$slots, "default")
@@ -7062,7 +7257,7 @@ function Pa(e, t, i, o, n, l) {
7062
7257
  _: 3
7063
7258
  }, 16, ["name"]);
7064
7259
  }
7065
- const za = {
7260
+ const Fo = {
7066
7261
  name: "w-transition-slide",
7067
7262
  props: {
7068
7263
  appear: { type: Boolean },
@@ -7080,8 +7275,8 @@ const za = {
7080
7275
  return `slide-${this.direction}`;
7081
7276
  }
7082
7277
  }
7083
- }, Ma = /* @__PURE__ */ v(za, [["render", Pa]]);
7084
- function Ea(e, t, i, o, n, l) {
7278
+ }, jo = /* @__PURE__ */ w(Fo, [["render", Do]]);
7279
+ function Uo(e, t, i, o, n, l) {
7085
7280
  return s(), g(O, C({ name: l.transitionName }, e.$props), {
7086
7281
  default: m(() => [
7087
7282
  p(e.$slots, "default")
@@ -7089,7 +7284,7 @@ function Ea(e, t, i, o, n, l) {
7089
7284
  _: 3
7090
7285
  }, 16, ["name"]);
7091
7286
  }
7092
- const Wa = {
7287
+ const qo = {
7093
7288
  name: "w-transition-slide-fade",
7094
7289
  props: {
7095
7290
  appear: { type: Boolean },
@@ -7107,8 +7302,8 @@ const Wa = {
7107
7302
  return `slide-fade-${this.direction}`;
7108
7303
  }
7109
7304
  }
7110
- }, Aa = /* @__PURE__ */ v(Wa, [["render", Ea]]);
7111
- function Na(e, t, i, o, n, l) {
7305
+ }, Xo = /* @__PURE__ */ w(qo, [["render", Uo]]);
7306
+ function Yo(e, t, i, o, n, l) {
7112
7307
  return s(), g(O, C({ name: "twist" }, e.$props), {
7113
7308
  default: m(() => [
7114
7309
  p(e.$slots, "default")
@@ -7116,26 +7311,26 @@ function Na(e, t, i, o, n, l) {
7116
7311
  _: 3
7117
7312
  }, 16);
7118
7313
  }
7119
- const Ka = {
7314
+ const Go = {
7120
7315
  name: "w-transition-twist",
7121
7316
  props: {
7122
7317
  appear: { type: Boolean },
7123
7318
  duration: { type: [Number, String] }
7124
7319
  }
7125
- }, Ha = /* @__PURE__ */ v(Ka, [["render", Na]]), Da = ["innerHTML"], Fa = {
7320
+ }, Jo = /* @__PURE__ */ w(Go, [["render", Yo]]), Qo = ["innerHTML"], Zo = {
7126
7321
  key: 1,
7127
7322
  class: "ml1"
7128
7323
  };
7129
- function ja(e, t, i, o, n, l) {
7324
+ function ea(e, t, i, o, n, l) {
7130
7325
  const a = $("w-button"), r = $("w-icon"), d = $("w-tree", !0);
7131
7326
  return s(), u("ul", {
7132
7327
  class: f(["w-tree", l.classes])
7133
7328
  }, [
7134
- (s(!0), u(k, null, L(e.currentDepthItems, (h, y) => (s(), u("li", {
7329
+ (s(!0), u(v, null, R(e.currentDepthItems, (h, k) => (s(), u("li", {
7135
7330
  class: f(["w-tree__item", l.itemClasses(h)]),
7136
- key: y
7331
+ key: k
7137
7332
  }, [
7138
- (s(), g(V(l.getTreeItemComponent(h)), C({ class: "w-tree__item-label" }, h.route && { [!e.$router || l.hasExternalLink(h) ? "href" : "to"]: h.route }, {
7333
+ (s(), g(I(l.getTreeItemComponent(h)), C({ class: "w-tree__item-label" }, h.route && { [!e.$router || l.hasExternalLink(h) ? "href" : "to"]: h.route }, {
7139
7334
  onClick: (B) => !i.disabled && !h.disabled && l.onLabelClick(h, B),
7140
7335
  onKeydown: (B) => !i.disabled && !h.disabled && l.onLabelKeydown(h, B),
7141
7336
  tabindex: l.getTreeItemTabindex(h)
@@ -7171,16 +7366,16 @@ function ja(e, t, i, o, n, l) {
7171
7366
  ]),
7172
7367
  _: 2
7173
7368
  }, 1032, ["color"])) : c("", !0),
7174
- w("span", {
7369
+ y("span", {
7175
7370
  innerHTML: h.label
7176
- }, null, 8, Da),
7177
- i.counts && (h.children || h.branch) ? (s(), u("span", Fa, "(" + _(((B = h.originalItem.children) == null ? void 0 : B.length) || 0) + ")", 1)) : c("", !0)
7371
+ }, null, 8, Qo),
7372
+ i.counts && (h.children || h.branch) ? (s(), u("span", Zo, "(" + _(((B = h.originalItem.children) == null ? void 0 : B.length) || 0) + ")", 1)) : c("", !0)
7178
7373
  ];
7179
7374
  })
7180
7375
  ]),
7181
7376
  _: 2
7182
7377
  }, 1040, ["onClick", "onKeydown", "tabindex"])),
7183
- (s(), g(V(i.noTransition ? "div" : "w-transition-expand"), {
7378
+ (s(), g(I(i.noTransition ? "div" : "w-transition-expand"), {
7184
7379
  y: !i.noTransition || null,
7185
7380
  onAfterEnter: (B) => e.$emit("open", l.emitPayload(h)),
7186
7381
  onAfterLeave: (B) => e.$emit("close", l.emitPayload(h))
@@ -7214,7 +7409,7 @@ function ja(e, t, i, o, n, l) {
7214
7409
  ], 2))), 128))
7215
7410
  ], 2);
7216
7411
  }
7217
- const Ua = {
7412
+ const ta = {
7218
7413
  name: "w-tree",
7219
7414
  props: {
7220
7415
  modelValue: { type: [Object, Array] },
@@ -7368,62 +7563,63 @@ const Ua = {
7368
7563
  unmounted() {
7369
7564
  this.dataPropUnwatch();
7370
7565
  }
7371
- }, qa = /* @__PURE__ */ v(Ua, [["render", ja]]), Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7566
+ }, ia = /* @__PURE__ */ w(ta, [["render", ea]]), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7372
7567
  __proto__: null,
7373
7568
  WAccordion: Ye,
7374
7569
  WAlert: Ze,
7375
- WApp: lt,
7376
- WBadge: ot,
7377
- WBreadcrumbs: ut,
7378
- WButton: wt,
7379
- WCard: Ct,
7380
- WCheckbox: Ot,
7381
- WCheckboxes: Et,
7382
- WConfirm: Nt,
7383
- WDatePicker: Dt,
7384
- WDialog: Ut,
7385
- WDivider: Gt,
7386
- WDrawer: ti,
7387
- WFlex: si,
7388
- WForm: ri,
7389
- WFormElement: hi,
7390
- WGrid: fi,
7391
- WIcon: bi,
7392
- WImage: ki,
7393
- WInput: Oi,
7394
- WList: Mi,
7395
- WMenu: Ai,
7396
- WNotification: Hi,
7397
- WOverlay: ji,
7398
- WParallax: Yi,
7399
- WProgress: ll,
7400
- WRadio: hl,
7401
- WRadios: ml,
7402
- WRating: vl,
7403
- WScrollable: Sl,
7404
- WSelect: Ll,
7405
- WSlider: jl,
7406
- WSpinner: Yl,
7407
- WSteps: Ql,
7408
- WSwitch: os,
7409
- WTabs: ws,
7410
- WTable: Gs,
7411
- WTag: ea,
7412
- WTextarea: na,
7413
- WTimeline: ca,
7414
- WToolbar: ma,
7415
- WTooltip: ya,
7416
- WTransitionBounce: ka,
7417
- WTransitionExpand: Sa,
7418
- WTransitionFade: Va,
7419
- WTransitionScale: Ra,
7420
- WTransitionScaleFade: Oa,
7421
- WTransitionSlide: Ma,
7422
- WTransitionSlideFade: Aa,
7423
- WTransitionTwist: Ha,
7424
- WTree: qa
7425
- }, Symbol.toStringTag, { value: "Module" })), Ya = K.install;
7426
- K.install = (e, t = {}) => Ya.call(K, e, { components: Xa, ...t });
7570
+ WAutocomplete: dt,
7571
+ WApp: pt,
7572
+ WBadge: gt,
7573
+ WBreadcrumbs: vt,
7574
+ WButton: Tt,
7575
+ WCard: Ot,
7576
+ WCheckbox: Dt,
7577
+ WCheckboxes: qt,
7578
+ WConfirm: Gt,
7579
+ WDatePicker: Zt,
7580
+ WDialog: ii,
7581
+ WDivider: ai,
7582
+ WDrawer: hi,
7583
+ WFlex: fi,
7584
+ WForm: yi,
7585
+ WFormElement: ki,
7586
+ WGrid: Si,
7587
+ WIcon: Vi,
7588
+ WImage: Li,
7589
+ WInput: Hi,
7590
+ WList: ji,
7591
+ WMenu: Xi,
7592
+ WNotification: Ji,
7593
+ WOverlay: el,
7594
+ WParallax: sl,
7595
+ WProgress: cl,
7596
+ WRadio: vl,
7597
+ WRadios: Sl,
7598
+ WRating: Tl,
7599
+ WScrollable: Ol,
7600
+ WSelect: Kl,
7601
+ WSlider: es,
7602
+ WSpinner: ss,
7603
+ WSteps: ns,
7604
+ WSwitch: ms,
7605
+ WTabs: Is,
7606
+ WTable: oo,
7607
+ WTag: uo,
7608
+ WTextarea: go,
7609
+ WTimeline: ko,
7610
+ WToolbar: So,
7611
+ WTooltip: Vo,
7612
+ WTransitionBounce: Ro,
7613
+ WTransitionExpand: Oo,
7614
+ WTransitionFade: zo,
7615
+ WTransitionScale: Ao,
7616
+ WTransitionScaleFade: Ho,
7617
+ WTransitionSlide: jo,
7618
+ WTransitionSlideFade: Xo,
7619
+ WTransitionTwist: Jo,
7620
+ WTree: ia
7621
+ }, Symbol.toStringTag, { value: "Module" })), sa = N.install;
7622
+ N.install = (e, t = {}) => sa.call(N, e, { components: la, ...t });
7427
7623
  export {
7428
- K as default
7624
+ N as default
7429
7625
  };