wave-ui 3.0.0 → 3.0.1

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.
@@ -61,7 +61,7 @@ const Ie = G({
61
61
  }
62
62
  return t;
63
63
  }, Re = ["innerHTML"];
64
- function Le(e, t, l, a, r, i) {
64
+ function Le(e, t, l, a, n, i) {
65
65
  const o = $("w-alert");
66
66
  return s(), g(_e, { to: ".w-app" }, [
67
67
  V(fe, {
@@ -71,17 +71,17 @@ function Le(e, t, l, a, r, i) {
71
71
  appear: ""
72
72
  }, {
73
73
  default: m(() => [
74
- (s(!0), u(C, null, x(i.notifications, (n) => (s(), u(C, null, [
75
- n._value ? (s(), g(o, _({
74
+ (s(!0), u(C, null, x(i.notifications, (r) => (s(), u(C, null, [
75
+ r._value ? (s(), g(o, _({
76
76
  class: "white--bg",
77
- key: n._uid,
78
- modelValue: n._value,
79
- "onUpdate:modelValue": (d) => n._value = d,
80
- onClose: n.dismiss
81
- }, i.notifProps(n)), {
77
+ key: r._uid,
78
+ modelValue: r._value,
79
+ "onUpdate:modelValue": (d) => r._value = d,
80
+ onClose: r.dismiss
81
+ }, i.notifProps(r)), {
82
82
  default: m(() => [
83
83
  w("div", {
84
- innerHTML: n.message
84
+ innerHTML: r.message
85
85
  }, null, 8, Re)
86
86
  ]),
87
87
  _: 2
@@ -94,8 +94,8 @@ function Le(e, t, l, a, r, i) {
94
94
  }
95
95
  const v = (e, t) => {
96
96
  const l = e.__vccOpts || e;
97
- for (const [a, r] of t)
98
- l[a] = r;
97
+ for (const [a, n] of t)
98
+ l[a] = n;
99
99
  return l;
100
100
  }, xe = {
101
101
  name: "w-notification-manager",
@@ -113,7 +113,7 @@ const v = (e, t) => {
113
113
  },
114
114
  methods: {
115
115
  notifProps(e) {
116
- const { _value: t, _uid: l, message: a, timeout: r, ...i } = e;
116
+ const { _value: t, _uid: l, message: a, timeout: n, ...i } = e;
117
117
  return i.dismiss && (i.dismiss = !0), i;
118
118
  }
119
119
  }
@@ -142,11 +142,11 @@ const H = class {
142
142
  if (typeof t[0] == "object")
143
143
  l = { ...l, ...t[0] };
144
144
  else {
145
- const [a, r, i] = t;
145
+ const [a, n, i] = t;
146
146
  l = {
147
147
  ...l,
148
148
  message: a || "",
149
- [r === void 0 ? "info" : r]: !0,
149
+ [n === void 0 ? "info" : n]: !0,
150
150
  timeout: i || i === 0 ? parseFloat(i) : 4e3
151
151
  };
152
152
  }
@@ -161,15 +161,15 @@ K = new WeakMap(), ee(Y, K, void 0);
161
161
  const Oe = (e, t, l) => {
162
162
  const a = document.createElement("div");
163
163
  e.appendChild(a);
164
- const r = Ce(Be({
164
+ const n = Ce(Be({
165
165
  ...Te,
166
166
  inject: ["$waveui"]
167
167
  })).provide("$waveui", l);
168
168
  for (const i in t) {
169
169
  const o = t[i];
170
- r.component(o.name, { ...o, inject: ["$waveui"] });
170
+ n.component(o.name, { ...o, inject: ["$waveui"] });
171
171
  }
172
- r.mount(a), a.remove();
172
+ n.mount(a), a.remove();
173
173
  }, re = (e, t) => "#" + e.slice(1).match(/../g).map((l) => (l = +`0x${l}` + t, (l < 0 ? 0 : l > 255 ? 255 : l).toString(16).padStart(2, 0))).join(""), ze = (e) => {
174
174
  ["light", "dark"].forEach((t) => {
175
175
  const l = e.colors[t];
@@ -178,19 +178,19 @@ const Oe = (e, t, l) => {
178
178
  if (a === "shades")
179
179
  continue;
180
180
  a = { label: a, color: l[a].replace("#", "") };
181
- const r = a.color;
182
- r.length === 3 && (a.color = r[0] + "" + r[0] + r[1] + r[1] + r[2] + r[2]);
181
+ const n = a.color;
182
+ n.length === 3 && (a.color = n[0] + "" + n[0] + n[1] + n[1] + n[2] + n[2]);
183
183
  for (let i = 1; i <= 3; i++) {
184
- const o = re(`#${a.color}`, i * 40), n = re(`#${a.color}`, -i * 40);
185
- l.shades[`${a.label}-light${i}`] = o, l.shades[`${a.label}-dark${i}`] = n;
184
+ const o = re(`#${a.color}`, i * 40), r = re(`#${a.color}`, -i * 40);
185
+ l.shades[`${a.label}-light${i}`] = o, l.shades[`${a.label}-dark${i}`] = r;
186
186
  }
187
187
  }
188
188
  });
189
189
  }, le = (e, t) => {
190
190
  const l = {
191
- ...t.reduce((a, r) => {
192
- a[r.label] = r.color;
193
- const i = (r.shades || []).reduce((o, n) => (o[n.label] = n.color, o), {});
191
+ ...t.reduce((a, n) => {
192
+ a[n.label] = n.color;
193
+ const i = (n.shades || []).reduce((o, r) => (o[r.label] = r.color, o), {});
194
194
  return { ...a, ...i };
195
195
  }, { ...e, ...e.shades })
196
196
  };
@@ -549,12 +549,12 @@ const Oe = (e, t, l) => {
549
549
  let oe = { keys: [], values: [] }, de = null;
550
550
  const Ee = (e) => {
551
551
  let t = "";
552
- const l = {}, { info: a, warning: r, success: i, error: o, shades: n, ...d } = e, { cssScope: h } = U;
552
+ const l = {}, { info: a, warning: n, success: i, error: o, shades: r, ...d } = e, { cssScope: h } = U;
553
553
  for (const b in d)
554
554
  t += `${h} .${b}--bg{background-color:var(--w-${b}-color)}${h} .${b}{color:var(--w-${b}-color)}`;
555
- for (const b in n)
556
- t += `${h} .${b}--bg{background-color:${n[b]}}${h} .${b}{color:${n[b]}}`;
557
- const y = { ...d, info: a, warning: r, success: i, error: o };
555
+ for (const b in r)
556
+ t += `${h} .${b}--bg{background-color:${r[b]}}${h} .${b}{color:${r[b]}}`;
557
+ const y = { ...d, info: a, warning: n, success: i, error: o };
558
558
  for (const b in y)
559
559
  l[b] = y[b];
560
560
  let S = "";
@@ -564,12 +564,12 @@ const Ee = (e) => {
564
564
  }, Pe = (e, t) => {
565
565
  let l = "";
566
566
  const { cssScope: a } = U;
567
- return e.forEach(({ min: r, label: i }) => {
567
+ return e.forEach(({ min: n, label: i }) => {
568
568
  if (i === "xs")
569
569
  for (let o = 0; o < t; o++)
570
570
  l += `${a} .${i}${t - o}{width:${parseFloat(((t - o) * 100 / t).toFixed(4))}%;}`;
571
571
  else {
572
- l += `@media(min-width:${r}px){`;
572
+ l += `@media(min-width:${n}px){`;
573
573
  for (let o = 0; o < t; o++)
574
574
  l += `${a} .${i}${t - o}{width:${parseFloat(((t - o) * 100 / t).toFixed(4))}%;}`;
575
575
  l += "}";
@@ -577,7 +577,7 @@ const Ee = (e) => {
577
577
  }), l;
578
578
  }, Me = (e) => {
579
579
  let t = "";
580
- const { cssScope: l, baseIncrement: a } = U, r = [
580
+ const { cssScope: l, baseIncrement: a } = U, n = [
581
581
  "show{display:block}",
582
582
  "hide{display:none}",
583
583
  "d-flex{display:flex}",
@@ -611,16 +611,16 @@ const Ee = (e) => {
611
611
  "justify-space-around{justify-content:space-around}",
612
612
  "justify-space-evenly{justify-content:space-evenly}"
613
613
  ], i = Array(12).fill();
614
- return e.forEach(({ label: o, min: n }) => {
615
- o !== "xs" && (t += `@media(min-width:${n}px){` + r.map((d) => `${l} .${o}u-${d}`).join("") + i.map((d, h) => `.w-grid.${o}u-columns${h + 1}{grid-template-columns:repeat(${h + 1},1fr);}`).join("") + i.map((d, h) => `.w-flex.${o}u-gap${h + 1},.w-grid.${o}u-gap${h + 1}{gap:${(h + 1) * a}px;}`).join("") + `.w-flex.${o}u-gap0,.w-flex.${o}u-gap0{gap:0}}`);
616
- }), e.forEach(({ label: o, min: n, max: d }) => {
617
- t += `@media (min-width:${n}px) and (max-width:${d}px){` + r.map((h) => `${l} .${o}-${h}`).join("") + i.map((h, y) => `.w-grid.${o}-columns${y + 1}{grid-template-columns:repeat(${y + 1},1fr);}`).join("") + i.map((h, y) => `.w-flex.${o}-gap${y + 1},.w-grid.${o}-gap${y + 1}{gap:${(y + 1) * a}px;}`).join("") + `.w-flex.${o}-gap0,.w-flex.${o}-gap0{gap:0}}`;
618
- }), e.forEach(({ label: o, max: n }) => {
619
- o !== "xl" && (t += `@media (max-width:${n}px){` + r.map((d) => `${l} .${o}d-${d}`).join("") + i.map((d, h) => `.w-grid.${o}d-columns${h + 1}{grid-template-columns:repeat(${h + 1},1fr);}`).join("") + i.map((d, h) => `.w-flex.${o}d-gap${h + 1},.w-grid.${o}d-gap${h + 1}{gap:${(h + 1) * a}px;}`).join("") + `.w-flex.${o}d-gap0,.w-flex.${o}d-gap0{gap:0}}`);
614
+ return e.forEach(({ label: o, min: r }) => {
615
+ o !== "xs" && (t += `@media(min-width:${r}px){` + n.map((d) => `${l} .${o}u-${d}`).join("") + i.map((d, h) => `.w-grid.${o}u-columns${h + 1}{grid-template-columns:repeat(${h + 1},1fr);}`).join("") + i.map((d, h) => `.w-flex.${o}u-gap${h + 1},.w-grid.${o}u-gap${h + 1}{gap:${(h + 1) * a}px;}`).join("") + `.w-flex.${o}u-gap0,.w-flex.${o}u-gap0{gap:0}}`);
616
+ }), e.forEach(({ label: o, min: r, max: d }) => {
617
+ t += `@media (min-width:${r}px) and (max-width:${d}px){` + n.map((h) => `${l} .${o}-${h}`).join("") + i.map((h, y) => `.w-grid.${o}-columns${y + 1}{grid-template-columns:repeat(${y + 1},1fr);}`).join("") + i.map((h, y) => `.w-flex.${o}-gap${y + 1},.w-grid.${o}-gap${y + 1}{gap:${(y + 1) * a}px;}`).join("") + `.w-flex.${o}-gap0,.w-flex.${o}-gap0{gap:0}}`;
618
+ }), e.forEach(({ label: o, max: r }) => {
619
+ o !== "xl" && (t += `@media (max-width:${r}px){` + n.map((d) => `${l} .${o}d-${d}`).join("") + i.map((d, h) => `.w-grid.${o}d-columns${h + 1}{grid-template-columns:repeat(${h + 1},1fr);}`).join("") + i.map((d, h) => `.w-flex.${o}d-gap${h + 1},.w-grid.${o}d-gap${h + 1}{gap:${(h + 1) * a}px;}`).join("") + `.w-flex.${o}d-gap0,.w-flex.${o}d-gap0{gap:0}}`);
620
620
  }), t;
621
621
  }, ue = (e) => {
622
622
  const t = window.innerWidth, l = oe.values.slice(0);
623
- l.push(t), l.sort((r, i) => r - i);
623
+ l.push(t), l.sort((n, i) => n - i);
624
624
  const a = oe.keys[l.indexOf(t)] || "xl";
625
625
  a !== de && (de = a, e.breakpoint = {
626
626
  name: a,
@@ -648,13 +648,13 @@ const Ee = (e) => {
648
648
  l ? l.before(t) : document.head.appendChild(t);
649
649
  }
650
650
  }, We = (e) => {
651
- const t = Object.entries(e.breakpoints), l = t.map(([i, o], n) => {
652
- const [, d = 0] = t[n - 1] || [];
651
+ const t = Object.entries(e.breakpoints), l = t.map(([i, o], r) => {
652
+ const [, d = 0] = t[r - 1] || [];
653
653
  return { label: i, min: d ? d + 1 : 0, max: o };
654
654
  }), a = getComputedStyle(document.documentElement);
655
655
  U.cssScope = a.getPropertyValue("--w-css-scope"), U.baseIncrement = parseInt(a.getPropertyValue("--w-base-increment"));
656
- let r = "";
657
- return r += Pe(l, e.css.grid), e.css.breakpointLayoutClasses && (r += Me(l)), r;
656
+ let n = "";
657
+ return n += Pe(l, e.css.grid), e.css.breakpointLayoutClasses && (n += Me(l)), n;
658
658
  };
659
659
  let ce = !1;
660
660
  const Ae = (e) => {
@@ -688,50 +688,50 @@ const j = class {
688
688
  this._notificationManager.notify(...t);
689
689
  },
690
690
  switchTheme(t) {
691
- var a, r;
692
- this.theme = t, document.documentElement.setAttribute("data-theme", t), (r = (a = document.head.querySelector("#wave-ui-colors")) == null ? void 0 : a.remove) == null || r.call(a);
691
+ var a, n;
692
+ this.theme = t, document.documentElement.setAttribute("data-theme", t), (n = (a = document.head.querySelector("#wave-ui-colors")) == null ? void 0 : a.remove) == null || n.call(a);
693
693
  const l = this.config.colors[this.theme];
694
694
  he(l), this.colors = le(l, ie);
695
695
  }
696
696
  });
697
- var n, d;
698
697
  if (X(j, q)) {
699
698
  console.warn("Wave UI is already instantiated.");
700
699
  return;
701
700
  }
702
- this.$waveui._notificationManager = new Y(), l.theme || (l.theme = "light");
703
- const a = { ...l.colors };
704
- (n = l.colors) != null && n.light || (l.colors.light = a), (d = l.colors) != null && d.dark || (l.colors.dark = a), l.colors = { light: l.colors.light, dark: l.colors.dark };
705
- let { components: r, ...i } = l;
706
- i = this.$waveui.config = ye(i), i.css.colorShades && ze(i);
707
- const o = G(this.$waveui);
708
- t.config.globalProperties.$waveui = o, t.provide("$waveui", o), i.theme !== "auto" && (this.$waveui.colors = le(i.colors[i.theme], ie));
701
+ if (this.$waveui._notificationManager = new Y(), l.theme || (l.theme = "light"), l.colors) {
702
+ const o = { ...l.colors };
703
+ l.colors.light || (l.colors.light = o), l.colors.dark || (l.colors.dark = o), l.colors = { light: l.colors.light, dark: l.colors.dark };
704
+ }
705
+ let { components: a, ...n } = l;
706
+ n = this.$waveui.config = ye(n), n.css.colorShades && ze(n);
707
+ const i = G(this.$waveui);
708
+ t.config.globalProperties.$waveui = i, t.provide("$waveui", i), n.theme !== "auto" && (this.$waveui.colors = le(n.colors[n.theme], ie));
709
709
  }
710
710
  static install(t, l = {}) {
711
- var r;
711
+ var n;
712
712
  t.directive("focus", {
713
713
  mounted: (i) => setTimeout(() => i.focus(), 0)
714
714
  }), t.directive("scroll", {
715
715
  mounted: (i, o) => {
716
- const n = (d) => {
717
- o.value(d, i) && window.removeEventListener("scroll", n);
716
+ const r = (d) => {
717
+ o.value(d, i) && window.removeEventListener("scroll", r);
718
718
  };
719
- window.addEventListener("scroll", n);
719
+ window.addEventListener("scroll", r);
720
720
  }
721
721
  });
722
722
  const { components: a = {} } = l || {};
723
723
  for (const i in a) {
724
724
  const o = a[i];
725
- (r = l.presets) != null && r[o.name] && Ke(o, l.presets[o.name]), t.component(o.name, o);
725
+ (n = l.presets) != null && n[o.name] && Ke(o, l.presets[o.name]), t.component(o.name, o);
726
726
  }
727
727
  t.mixin({
728
728
  beforeMount() {
729
729
  if (!ce) {
730
730
  ce = !0;
731
- const i = Se("$waveui"), { config: o } = i, n = document.querySelector(o.on) || document.body;
732
- n.classList.add("w-app");
731
+ const i = Se("$waveui"), { config: o } = i, r = document.querySelector(o.on) || document.body;
732
+ r.classList.add("w-app");
733
733
  let d = o.colors[o.theme];
734
- o.theme === "auto" && (Ae(i), d = o.colors[i.preferredTheme], i.colors = le(d, ie)), he(d), Ne(i), Oe(n, a, i), t._context.mixins.find((h) => h.mounted && delete h.mounted);
734
+ o.theme === "auto" && (Ae(i), d = o.colors[i.preferredTheme], i.colors = le(d, ie)), he(d), Ne(i), Oe(r, a, i), t._context.mixins.find((h) => h.mounted && delete h.mounted);
735
735
  }
736
736
  }
737
737
  }), new j(t, l), te(j, q, !0);
@@ -740,8 +740,8 @@ const j = class {
740
740
  let A = j;
741
741
  q = new WeakMap(), ee(A, q, !1);
742
742
  const De = ["aria-expanded"], Fe = ["onClick", "onFocus", "onKeypress", "tabindex"], He = ["innerHTML"], je = ["innerHTML"];
743
- function Ue(e, t, l, a, r, i) {
744
- const o = $("w-button"), n = $("w-transition-expand");
743
+ function Ue(e, t, l, a, n, i) {
744
+ const o = $("w-button"), r = $("w-transition-expand");
745
745
  return s(), u("div", {
746
746
  class: f(["w-accordion", i.accordionClasses])
747
747
  }, [
@@ -795,7 +795,7 @@ function Ue(e, t, l, a, r, i) {
795
795
  onClick: P((y) => !d._disabled && i.toggleItem(d, y), ["stop"])
796
796
  }, null, 8, ["icon", "onClick", "class"])) : c("", !0)
797
797
  ], 42, Fe),
798
- V(n, {
798
+ V(r, {
799
799
  y: "",
800
800
  onAfterLeave: (y) => i.onEndOfCollapse(d),
801
801
  duration: l.duration
@@ -914,9 +914,9 @@ const qe = {
914
914
  }
915
915
  }
916
916
  }, Ge = /* @__PURE__ */ v(qe, [["render", Ue]]), Xe = { class: "w-alert__content" };
917
- function Ye(e, t, l, a, r, i) {
918
- const o = $("w-icon"), n = $("w-button");
919
- return r.show ? (s(), u("div", _({
917
+ function Ye(e, t, l, a, n, i) {
918
+ const o = $("w-icon"), r = $("w-button");
919
+ return n.show ? (s(), u("div", _({
920
920
  key: 0,
921
921
  class: "w-alert"
922
922
  }, N(e.$attrs, !0), { class: i.classes }), [
@@ -933,11 +933,11 @@ function Ye(e, t, l, a, r, i) {
933
933
  w("div", Xe, [
934
934
  p(e.$slots, "default")
935
935
  ]),
936
- l.dismiss ? (s(), g(n, {
936
+ l.dismiss ? (s(), g(r, {
937
937
  key: 1,
938
938
  class: "w-alert__dismiss",
939
939
  onClick: t[0] || (t[0] = (d) => {
940
- e.$emit("update:modelValue", r.show = !1), e.$emit("input", !1), e.$emit("close", !1);
940
+ e.$emit("update:modelValue", n.show = !1), e.$emit("input", !1), e.$emit("close", !1);
941
941
  }),
942
942
  icon: "wi-cross",
943
943
  color: "inherit",
@@ -1027,7 +1027,7 @@ const Je = {
1027
1027
  }
1028
1028
  }
1029
1029
  }, Qe = /* @__PURE__ */ v(Je, [["render", Ye]]), Ze = { class: "w-app" };
1030
- function et(e, t, l, a, r, i) {
1030
+ function et(e, t, l, a, n, i) {
1031
1031
  return s(), u("div", Ze, [
1032
1032
  p(e.$slots, "default")
1033
1033
  ]);
@@ -1048,7 +1048,7 @@ const tt = {
1048
1048
  textRight: { type: Boolean }
1049
1049
  }
1050
1050
  }, lt = /* @__PURE__ */ v(tt, [["render", et]]);
1051
- function it(e, t, l, a, r, i) {
1051
+ function it(e, t, l, a, n, i) {
1052
1052
  return s(), u("div", _({ class: "w-badge-wrap" }, N(e.$attrs, !0)), [
1053
1053
  p(e.$slots, "default"),
1054
1054
  V(T, {
@@ -1137,12 +1137,12 @@ const st = {
1137
1137
  }
1138
1138
  }
1139
1139
  }, at = /* @__PURE__ */ v(st, [["render", it]]), ot = ["innerHTML"];
1140
- function nt(e, t, l, a, r, i) {
1140
+ function nt(e, t, l, a, n, i) {
1141
1141
  const o = $("w-icon");
1142
1142
  return s(), u("div", {
1143
1143
  class: f(["w-breadcrumbs", i.classes])
1144
1144
  }, [
1145
- (s(!0), u(C, null, x(l.items, (n, d) => (s(), u(C, null, [
1145
+ (s(!0), u(C, null, x(l.items, (r, d) => (s(), u(C, null, [
1146
1146
  d && e.$slots.separator ? (s(), u("span", {
1147
1147
  class: f(["w-breadcrumbs__separator", l.separatorColor]),
1148
1148
  key: `${d}a`
@@ -1157,16 +1157,16 @@ function nt(e, t, l, a, r, i) {
1157
1157
  ]),
1158
1158
  _: 2
1159
1159
  }, 1032, ["class"])) : c("", !0),
1160
- n[l.itemRouteKey] && (d < l.items.length - 1 || l.linkLastItem) ? (s(), u(C, { key: 2 }, [
1160
+ r[l.itemRouteKey] && (d < l.items.length - 1 || l.linkLastItem) ? (s(), u(C, { key: 2 }, [
1161
1161
  e.$slots.item ? (s(), g(I(i.hasRouter ? "router-link" : "a"), {
1162
1162
  class: f(["w-breadcrumbs__item", l.color || null]),
1163
1163
  key: `${d}c`,
1164
- to: i.hasRouter && n[l.itemRouteKey],
1165
- href: n[l.itemRouteKey]
1164
+ to: i.hasRouter && r[l.itemRouteKey],
1165
+ href: r[l.itemRouteKey]
1166
1166
  }, {
1167
1167
  default: m(() => [
1168
1168
  p(e.$slots, "item", {
1169
- item: n,
1169
+ item: r,
1170
1170
  index: d + 1,
1171
1171
  isLast: d === l.items.length - 1
1172
1172
  })
@@ -1175,18 +1175,18 @@ function nt(e, t, l, a, r, i) {
1175
1175
  }, 1032, ["to", "href", "class"])) : (s(), g(I(i.hasRouter ? "router-link" : "a"), {
1176
1176
  class: f(["w-breadcrumbs__item", l.color || null]),
1177
1177
  key: `${d}d`,
1178
- to: i.hasRouter && n[l.itemRouteKey],
1179
- href: n[l.itemRouteKey],
1180
- innerHTML: n[l.itemLabelKey]
1178
+ to: i.hasRouter && r[l.itemRouteKey],
1179
+ href: r[l.itemRouteKey],
1180
+ innerHTML: r[l.itemLabelKey]
1181
1181
  }, null, 8, ["to", "href", "innerHTML", "class"]))
1182
1182
  ], 64)) : e.$slots.item ? p(e.$slots, "item", {
1183
1183
  key: `${d}e`,
1184
- item: n,
1184
+ item: r,
1185
1185
  index: d + 1,
1186
1186
  isLast: d === l.items.length - 1
1187
1187
  }) : (s(), u("span", {
1188
1188
  key: `${d}f`,
1189
- innerHTML: n[l.itemLabelKey]
1189
+ innerHTML: r[l.itemLabelKey]
1190
1190
  }, null, 8, ot))
1191
1191
  ], 64))), 256))
1192
1192
  ], 2);
@@ -1235,7 +1235,7 @@ const rt = {
1235
1235
  "stroke-linecap": "round"
1236
1236
  })
1237
1237
  ], -1);
1238
- function ct(e, t, l, a, r, i) {
1238
+ function ct(e, t, l, a, n, i) {
1239
1239
  const o = $("w-icon");
1240
1240
  return s(), g(I(l.route ? "a" : "button"), _({
1241
1241
  class: ["w-button", i.classes],
@@ -1355,11 +1355,11 @@ const pt = {
1355
1355
  }
1356
1356
  }
1357
1357
  }, ft = /* @__PURE__ */ v(pt, [["render", ct]]), mt = ["innerHTML"];
1358
- function gt(e, t, l, a, r, i) {
1358
+ function gt(e, t, l, a, n, i) {
1359
1359
  const o = $("button-partial");
1360
1360
  return l.tooltip ? (s(), g(I("w-tooltip"), ae(_({ key: 0 }, l.tooltipProps || {})), {
1361
- activator: m(({ on: n }) => [
1362
- V(o, _(i.buttonProps, N(n)), {
1361
+ activator: m(({ on: r }) => [
1362
+ V(o, _(i.buttonProps, N(r)), {
1363
1363
  default: m(() => [
1364
1364
  p(e.$slots, "default")
1365
1365
  ]),
@@ -1422,7 +1422,7 @@ const bt = {
1422
1422
  }
1423
1423
  }
1424
1424
  }, yt = /* @__PURE__ */ v(bt, [["render", gt]]), W = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), wt = ["innerHTML"];
1425
- function vt(e, t, l, a, r, i) {
1425
+ function vt(e, t, l, a, n, i) {
1426
1426
  const o = $("w-image");
1427
1427
  return s(), u("div", {
1428
1428
  class: f(["w-card", i.classes])
@@ -1557,12 +1557,12 @@ const kt = {
1557
1557
  ], -1), Vt = [
1558
1558
  $t
1559
1559
  ], It = ["for"], Rt = ["for", "innerHTML"];
1560
- function Lt(e, t, l, a, r, i) {
1561
- return s(), g(I(e.formRegister && !i.wCheckboxes ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.isChecked, disabled: e.isDisabled }, {
1560
+ function Lt(e, t, l, a, n, i) {
1561
+ return s(), g(I(e.formRegister && !i.wCheckboxes ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isChecked, disabled: e.isDisabled }, {
1562
1562
  valid: e.valid,
1563
1563
  "onUpdate:valid": t[5] || (t[5] = (o) => e.valid = o),
1564
1564
  onReset: t[6] || (t[6] = (o) => {
1565
- e.$emit("update:modelValue", r.isChecked = null), e.$emit("input", null);
1565
+ e.$emit("update:modelValue", n.isChecked = null), e.$emit("input", null);
1566
1566
  }),
1567
1567
  class: i.classes
1568
1568
  }), {
@@ -1572,7 +1572,7 @@ function Lt(e, t, l, a, r, i) {
1572
1572
  id: `w-checkbox--${e._.uid}`,
1573
1573
  type: "checkbox",
1574
1574
  name: e.inputName,
1575
- checked: r.isChecked || null,
1575
+ checked: n.isChecked || null,
1576
1576
  disabled: e.isDisabled || null,
1577
1577
  required: e.required || null,
1578
1578
  tabindex: e.tabindex || null,
@@ -1580,7 +1580,7 @@ function Lt(e, t, l, a, r, i) {
1580
1580
  onBlur: t[1] || (t[1] = (o) => e.$emit("blur", o)),
1581
1581
  onChange: t[2] || (t[2] = (o) => i.onInput()),
1582
1582
  onKeypress: t[3] || (t[3] = M((...o) => i.onInput && i.onInput(...o), ["enter"])),
1583
- "aria-checked": r.isChecked || "false",
1583
+ "aria-checked": n.isChecked || "false",
1584
1584
  role: "checkbox"
1585
1585
  }, null, 40, Ct),
1586
1586
  i.hasLabel && l.labelOnLeft ? (s(), u(C, { key: 0 }, [
@@ -1685,24 +1685,24 @@ const xt = {
1685
1685
  }
1686
1686
  }
1687
1687
  }, Tt = /* @__PURE__ */ v(xt, [["render", Lt]]), Ot = ["innerHTML"];
1688
- function zt(e, t, l, a, r, i) {
1688
+ function zt(e, t, l, a, n, i) {
1689
1689
  const o = $("w-checkbox");
1690
- return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.checkboxItems.some((n) => n._isChecked), disabled: e.isDisabled }, {
1690
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.checkboxItems.some((r) => r._isChecked), disabled: e.isDisabled }, {
1691
1691
  valid: e.valid,
1692
- "onUpdate:valid": t[1] || (t[1] = (n) => e.valid = n),
1692
+ "onUpdate:valid": t[1] || (t[1] = (r) => e.valid = r),
1693
1693
  onReset: i.reset,
1694
1694
  column: !l.inline,
1695
1695
  wrap: l.inline,
1696
1696
  class: i.classes
1697
1697
  }), {
1698
1698
  default: m(() => [
1699
- (s(!0), u(C, null, x(i.checkboxItems, (n, d) => (s(), g(o, _({
1699
+ (s(!0), u(C, null, x(i.checkboxItems, (r, d) => (s(), g(o, _({
1700
1700
  key: d,
1701
- "model-value": n._isChecked,
1702
- "onUpdate:modelValue": (h) => i.toggleCheck(n, h),
1701
+ "model-value": r._isChecked,
1702
+ "onUpdate:modelValue": (h) => i.toggleCheck(r, h),
1703
1703
  onFocus: t[0] || (t[0] = (h) => e.$emit("focus", h)),
1704
1704
  name: `${e.inputName}[]`
1705
- }, { label: n.label, color: n.color, labelOnLeft: l.labelOnLeft, labelColor: l.labelColor, round: l.round }, {
1705
+ }, { label: r.label, color: r.color, labelOnLeft: l.labelOnLeft, labelColor: l.labelColor, round: l.round }, {
1706
1706
  disabled: e.isDisabled || null,
1707
1707
  readonly: e.isReadonly || null,
1708
1708
  class: { mt1: !l.inline && d }
@@ -1710,13 +1710,13 @@ function zt(e, t, l, a, r, i) {
1710
1710
  default: m(() => [
1711
1711
  e.$slots[`item.${d + 1}`] || e.$slots.item ? p(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
1712
1712
  key: 0,
1713
- item: i.getOriginalItem(n),
1714
- checked: !!n._isChecked,
1713
+ item: i.getOriginalItem(r),
1714
+ checked: !!r._isChecked,
1715
1715
  index: d + 1,
1716
- innerHTML: n.label
1717
- }) : n.label ? (s(), u("div", {
1716
+ innerHTML: r.label
1717
+ }) : r.label ? (s(), u("div", {
1718
1718
  key: 1,
1719
- innerHTML: n.label
1719
+ innerHTML: r.label
1720
1720
  }, null, 8, Ot)) : c("", !0)
1721
1721
  ]),
1722
1722
  _: 2
@@ -1779,8 +1779,8 @@ const Et = {
1779
1779
  }
1780
1780
  }
1781
1781
  }, Pt = /* @__PURE__ */ v(Et, [["render", zt]]), Mt = { class: "w-confirm" };
1782
- function Nt(e, t, l, a, r, i) {
1783
- const o = $("w-button"), n = $("w-flex"), d = $("w-menu"), h = me("focus");
1782
+ function Nt(e, t, l, a, n, i) {
1783
+ const o = $("w-button"), r = $("w-flex"), d = $("w-menu"), h = me("focus");
1784
1784
  return s(), u("div", Mt, [
1785
1785
  V(d, _({
1786
1786
  modelValue: e.showPopup,
@@ -1795,7 +1795,7 @@ function Nt(e, t, l, a, r, i) {
1795
1795
  }, 1040)
1796
1796
  ]),
1797
1797
  default: m(() => [
1798
- V(n, {
1798
+ V(r, {
1799
1799
  column: !l.inline,
1800
1800
  "align-center": ""
1801
1801
  }, {
@@ -1939,7 +1939,7 @@ const Wt = {
1939
1939
  }
1940
1940
  }
1941
1941
  }, At = /* @__PURE__ */ v(Wt, [["render", Nt]]);
1942
- function Kt(e, t, l, a, r, i) {
1942
+ function Kt(e, t, l, a, n, i) {
1943
1943
  return s(), u("div", {
1944
1944
  class: f(["w-date-picker", i.classes]),
1945
1945
  style: L(i.styles)
@@ -1966,11 +1966,11 @@ const Dt = {
1966
1966
  }
1967
1967
  }
1968
1968
  }, Ft = /* @__PURE__ */ v(Dt, [["render", Kt]]);
1969
- function Ht(e, t, l, a, r, i) {
1970
- const o = $("w-card"), n = $("w-overlay");
1971
- return s(), g(n, {
1969
+ function Ht(e, t, l, a, n, i) {
1970
+ const o = $("w-card"), r = $("w-overlay");
1971
+ return s(), g(r, {
1972
1972
  class: f(["w-dialog", i.classes]),
1973
- "model-value": r.showWrapper,
1973
+ "model-value": n.showWrapper,
1974
1974
  persistent: l.persistent,
1975
1975
  "persistent-no-animation": l.persistentNoAnimation,
1976
1976
  onClick: i.onOutsideClick,
@@ -2016,7 +2016,7 @@ function Ht(e, t, l, a, r, i) {
2016
2016
  key: "1"
2017
2017
  } : void 0
2018
2018
  ]), 1032, ["color", "bg-color", "class", "title-class", "content-class", "title", "style"]), [
2019
- [ge, r.showContent]
2019
+ [ge, n.showContent]
2020
2020
  ])
2021
2021
  ]),
2022
2022
  _: 3
@@ -2093,7 +2093,7 @@ const jt = {
2093
2093
  }
2094
2094
  }
2095
2095
  }, Ut = /* @__PURE__ */ v(jt, [["render", Ht]]), qt = ["role", "aria-orientation"];
2096
- function Gt(e, t, l, a, r, i) {
2096
+ function Gt(e, t, l, a, n, i) {
2097
2097
  return s(), u("div", {
2098
2098
  class: f(["w-divider", i.classes]),
2099
2099
  role: e.$slots.default ? null : "presentation",
@@ -2123,9 +2123,9 @@ const Xt = {
2123
2123
  }
2124
2124
  }
2125
2125
  }, Yt = /* @__PURE__ */ v(Xt, [["render", Gt]]), Jt = { class: "w-drawer-wrap__pushable" };
2126
- function Qt(e, t, l, a, r, i) {
2126
+ function Qt(e, t, l, a, n, i) {
2127
2127
  const o = $("w-overlay");
2128
- return r.showWrapper || l.pushContent ? (s(), u("div", {
2128
+ return n.showWrapper || l.pushContent ? (s(), u("div", {
2129
2129
  key: 0,
2130
2130
  class: f(["w-drawer-wrap", i.wrapperClasses])
2131
2131
  }, [
@@ -2137,8 +2137,8 @@ function Qt(e, t, l, a, r, i) {
2137
2137
  w("div", Jt, [
2138
2138
  l.noOverlay ? c("", !0) : (s(), g(o, {
2139
2139
  key: 0,
2140
- modelValue: r.showDrawer,
2141
- "onUpdate:modelValue": t[0] || (t[0] = (n) => r.showDrawer = n),
2140
+ modelValue: n.showDrawer,
2141
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => n.showDrawer = r),
2142
2142
  onClick: i.onOutsideClick,
2143
2143
  persistent: l.persistent,
2144
2144
  "persistent-no-animation": "",
@@ -2153,7 +2153,7 @@ function Qt(e, t, l, a, r, i) {
2153
2153
  onAfterLeave: i.onClose
2154
2154
  }, {
2155
2155
  default: m(() => [
2156
- r.showDrawer ? (s(), g(I(l.tag || "aside"), {
2156
+ n.showDrawer ? (s(), g(I(l.tag || "aside"), {
2157
2157
  key: 0,
2158
2158
  class: f(["w-drawer", i.drawerClasses]),
2159
2159
  ref: "drawer",
@@ -2170,8 +2170,8 @@ function Qt(e, t, l, a, r, i) {
2170
2170
  ], 4)) : (s(), u(C, { key: 1 }, [
2171
2171
  l.noOverlay ? c("", !0) : (s(), g(o, {
2172
2172
  key: 0,
2173
- modelValue: r.showDrawer,
2174
- "onUpdate:modelValue": t[1] || (t[1] = (n) => r.showDrawer = n),
2173
+ modelValue: n.showDrawer,
2174
+ "onUpdate:modelValue": t[1] || (t[1] = (r) => n.showDrawer = r),
2175
2175
  onClick: i.onOutsideClick,
2176
2176
  persistent: l.persistent,
2177
2177
  "persistent-no-animation": "",
@@ -2185,7 +2185,7 @@ function Qt(e, t, l, a, r, i) {
2185
2185
  onAfterLeave: i.onClose
2186
2186
  }, {
2187
2187
  default: m(() => [
2188
- r.showDrawer ? (s(), g(I(l.tag || "aside"), {
2188
+ n.showDrawer ? (s(), g(I(l.tag || "aside"), {
2189
2189
  key: 0,
2190
2190
  class: f(["w-drawer", i.drawerClasses]),
2191
2191
  ref: "drawer",
@@ -2308,7 +2308,7 @@ const Zt = { left: "right", right: "left", top: "down", bottom: "up" }, el = {
2308
2308
  }
2309
2309
  }
2310
2310
  }, tl = /* @__PURE__ */ v(el, [["render", Qt]]);
2311
- function ll(e, t, l, a, r, i) {
2311
+ function ll(e, t, l, a, n, i) {
2312
2312
  return s(), g(I(l.tag), {
2313
2313
  class: f(["w-flex", i.classes])
2314
2314
  }, {
@@ -2366,7 +2366,7 @@ const il = {
2366
2366
  }
2367
2367
  }
2368
2368
  }, sl = /* @__PURE__ */ v(il, [["render", ll]]);
2369
- function al(e, t, l, a, r, i) {
2369
+ function al(e, t, l, a, n, i) {
2370
2370
  return s(), u("form", {
2371
2371
  class: f(["w-form", i.classes]),
2372
2372
  onSubmit: t[0] || (t[0] = (...o) => i.onSubmit && i.onSubmit(...o)),
@@ -2449,8 +2449,8 @@ const ol = async (e, t) => {
2449
2449
  async checkElementValidators(e) {
2450
2450
  let t = !1, l = "";
2451
2451
  await ol(e.validators, async (a) => {
2452
- const r = await (typeof a == "function" && a(e.inputValue));
2453
- return t = typeof r != "string", l = t ? "" : r, !t;
2452
+ const n = await (typeof a == "function" && a(e.inputValue));
2453
+ return t = typeof n != "string", l = t ? "" : n, !t;
2454
2454
  }), e.hasJustReset = !1, e.Validation.isValid = t, e.Validation.message = l;
2455
2455
  },
2456
2456
  reset(e) {
@@ -2472,7 +2472,7 @@ const ol = async (e, t) => {
2472
2472
  }
2473
2473
  }
2474
2474
  }, rl = /* @__PURE__ */ v(nl, [["render", al]]);
2475
- function dl(e, t, l, a, r, i) {
2475
+ function dl(e, t, l, a, n, i) {
2476
2476
  const o = $("w-transition-expand");
2477
2477
  return s(), u("div", {
2478
2478
  class: f(i.classes)
@@ -2566,7 +2566,7 @@ const ul = {
2566
2566
  this.formUnregister && this.formUnregister(this);
2567
2567
  }
2568
2568
  }, hl = /* @__PURE__ */ v(ul, [["render", dl]]);
2569
- function cl(e, t, l, a, r, i) {
2569
+ function cl(e, t, l, a, n, i) {
2570
2570
  return s(), g(I(l.tag), {
2571
2571
  class: f(["w-grid", i.classes])
2572
2572
  }, {
@@ -2612,16 +2612,16 @@ const pl = {
2612
2612
  },
2613
2613
  classes() {
2614
2614
  let e = null;
2615
- typeof this.columns == "object" && (e = Object.entries(this.breakpointsColumns).reduce((l, [a, r]) => (l[`${a}-columns${r}`] = !0, l), {}));
2615
+ typeof this.columns == "object" && (e = Object.entries(this.breakpointsColumns).reduce((l, [a, n]) => (l[`${a}-columns${n}`] = !0, l), {}));
2616
2616
  let t = null;
2617
- return typeof this.gap == "object" && (t = Object.entries(this.breakpointsGap).reduce((l, [a, r]) => (l[`${a}-gap${r}`] = !0, l), {})), {
2617
+ return typeof this.gap == "object" && (t = Object.entries(this.breakpointsGap).reduce((l, [a, n]) => (l[`${a}-gap${n}`] = !0, l), {})), {
2618
2618
  ...e || { [`columns${this.columns}`]: this.columns },
2619
2619
  ...t || { [`gap${this.gap}`]: this.gap }
2620
2620
  };
2621
2621
  }
2622
2622
  }
2623
2623
  }, fl = /* @__PURE__ */ v(pl, [["render", cl]]);
2624
- function ml(e, t, l, a, r, i) {
2624
+ function ml(e, t, l, a, n, i) {
2625
2625
  return s(), g(I(l.tag || "i"), _({ class: "w-icon" }, N(e.$attrs), {
2626
2626
  class: i.classes,
2627
2627
  role: "icon",
@@ -2709,7 +2709,7 @@ const gl = {
2709
2709
  key: 0,
2710
2710
  class: "w-image__loader"
2711
2711
  };
2712
- function wl(e, t, l, a, r, i) {
2712
+ function wl(e, t, l, a, n, i) {
2713
2713
  const o = $("w-progress");
2714
2714
  return s(), g(I(i.wrapperTag), {
2715
2715
  class: f(["w-image-wrap", i.wrapperClasses]),
@@ -2721,16 +2721,16 @@ function wl(e, t, l, a, r, i) {
2721
2721
  appear: ""
2722
2722
  }, {
2723
2723
  default: m(() => [
2724
- r.loaded ? (s(), g(I(l.tag), {
2724
+ n.loaded ? (s(), g(I(l.tag), {
2725
2725
  key: 0,
2726
2726
  class: f(["w-image", i.imageClasses]),
2727
2727
  style: L(i.imageStyles),
2728
- src: l.tag === "img" ? r.imgSrc : null
2728
+ src: l.tag === "img" ? n.imgSrc : null
2729
2729
  }, null, 8, ["class", "style", "src"])) : c("", !0)
2730
2730
  ]),
2731
2731
  _: 1
2732
2732
  }, 8, ["name"]),
2733
- !l.noSpinner && r.loading ? (s(), u("div", yl, [
2733
+ !l.noSpinner && n.loading ? (s(), u("div", yl, [
2734
2734
  e.$slots.loading ? p(e.$slots, "loading", { key: 0 }) : (s(), g(o, _({
2735
2735
  key: 1,
2736
2736
  circle: "",
@@ -2850,13 +2850,13 @@ const vl = {
2850
2850
  class: "w-input__no-file",
2851
2851
  key: "no-file"
2852
2852
  }, Vl = ["for"], Il = ["for"], Rl = ["src"], Ll = ["for"];
2853
- function xl(e, t, l, a, r, i) {
2854
- const o = $("w-icon"), n = $("w-progress");
2855
- return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: r.isFocused }, {
2853
+ function xl(e, t, l, a, n, i) {
2854
+ const o = $("w-icon"), r = $("w-progress");
2855
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
2856
2856
  valid: e.valid,
2857
2857
  "onUpdate:valid": t[10] || (t[10] = (d) => e.valid = d),
2858
2858
  onReset: t[11] || (t[11] = (d) => {
2859
- e.$emit("update:modelValue", r.inputValue = ""), e.$emit("input", "");
2859
+ e.$emit("update:modelValue", n.inputValue = ""), e.$emit("input", "");
2860
2860
  }),
2861
2861
  wrap: i.hasLabel && l.labelPosition !== "inside",
2862
2862
  class: i.classes
@@ -2866,9 +2866,9 @@ function xl(e, t, l, a, r, i) {
2866
2866
  key: 0,
2867
2867
  type: "hidden",
2868
2868
  name: e.name || null,
2869
- "onUpdate:modelValue": t[0] || (t[0] = (d) => r.inputValue = d)
2869
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => n.inputValue = d)
2870
2870
  }, null, 8, _l)), [
2871
- [be, r.inputValue]
2871
+ [be, n.inputValue]
2872
2872
  ]) : (s(), u(C, { key: 1 }, [
2873
2873
  l.labelPosition === "left" ? (s(), u(C, { key: 0 }, [
2874
2874
  e.$slots.default || l.label ? (s(), u("label", {
@@ -2900,7 +2900,7 @@ function xl(e, t, l, a, r, i) {
2900
2900
  key: 1,
2901
2901
  class: "w-input__input",
2902
2902
  ref: "input",
2903
- "onUpdate:modelValue": t[2] || (t[2] = (d) => r.inputValue = d)
2903
+ "onUpdate:modelValue": t[2] || (t[2] = (d) => n.inputValue = d)
2904
2904
  }, N(i.listeners, !0), {
2905
2905
  onInput: t[3] || (t[3] = (...d) => i.onInput && i.onInput(...d)),
2906
2906
  onFocus: t[4] || (t[4] = (...d) => i.onFocus && i.onFocus(...d)),
@@ -2920,7 +2920,7 @@ function xl(e, t, l, a, r, i) {
2920
2920
  required: e.required || null,
2921
2921
  tabindex: e.tabindex || null
2922
2922
  }, i.attrs), null, 16, Bl)), [
2923
- [$e, r.inputValue]
2923
+ [$e, n.inputValue]
2924
2924
  ]) : (s(), u(C, { key: 2 }, [
2925
2925
  w("input", _({
2926
2926
  ref: "input",
@@ -2941,14 +2941,14 @@ function xl(e, t, l, a, r, i) {
2941
2941
  for: `w-input--${e._.uid}`
2942
2942
  }, {
2943
2943
  default: m(() => [
2944
- !r.inputFiles.length && r.isFocused ? (s(), u("span", $l, [
2944
+ !n.inputFiles.length && n.isFocused ? (s(), u("span", $l, [
2945
2945
  p(e.$slots, "no-file", {}, () => [
2946
2946
  e.$slots["no-file"] === void 0 ? (s(), u(C, { key: 0 }, [
2947
2947
  B("No file")
2948
2948
  ], 64)) : c("", !0)
2949
2949
  ])
2950
2950
  ])) : c("", !0),
2951
- (s(!0), u(C, null, x(r.inputFiles, (d, h) => (s(), u("span", {
2951
+ (s(!0), u(C, null, x(n.inputFiles, (d, h) => (s(), u("span", {
2952
2952
  key: d.lastModified
2953
2953
  }, [
2954
2954
  B(k(h ? ", " : ""), 1),
@@ -2985,7 +2985,7 @@ function xl(e, t, l, a, r, i) {
2985
2985
  ]),
2986
2986
  _: 1
2987
2987
  }, 8, ["for"])) : c("", !0),
2988
- i.hasLoading || l.showProgress && (i.uploadInProgress || i.uploadComplete) ? (s(), g(n, {
2988
+ i.hasLoading || l.showProgress && (i.uploadInProgress || i.uploadComplete) ? (s(), g(r, {
2989
2989
  key: 5,
2990
2990
  class: "fill-width",
2991
2991
  size: "2",
@@ -2993,12 +2993,12 @@ function xl(e, t, l, a, r, i) {
2993
2993
  "model-value": l.showProgress ? (i.uploadInProgress || i.uploadComplete) && i.overallFilesProgress : i.loadingValue
2994
2994
  }, null, 8, ["color", "model-value"])) : c("", !0)
2995
2995
  ], 2),
2996
- l.type === "file" && l.preview && r.inputFiles.length ? (s(), u("label", {
2996
+ l.type === "file" && l.preview && n.inputFiles.length ? (s(), u("label", {
2997
2997
  key: 1,
2998
2998
  class: "d-flex",
2999
2999
  for: `w-input--${e._.uid}`
3000
3000
  }, [
3001
- (s(!0), u(C, null, x(r.inputFiles, (d, h) => (s(), u(C, null, [
3001
+ (s(!0), u(C, null, x(n.inputFiles, (d, h) => (s(), u(C, null, [
3002
3002
  d.progress < 100 ? (s(), u("i", {
3003
3003
  class: "w-icon wi-spinner w-icon--spin size--sm w-input__file-preview primary",
3004
3004
  key: `${h}a`
@@ -3163,9 +3163,9 @@ const Tl = {
3163
3163
  },
3164
3164
  onFileChange(e) {
3165
3165
  this.inputFiles = [...e.target.files].map((t) => {
3166
- const [, l = "", a = "", r = ""] = t.name.match(/^(.*?)\.([^.]*)$|(.*)/), i = G({
3166
+ const [, l = "", a = "", n = ""] = t.name.match(/^(.*?)\.([^.]*)$|(.*)/), i = G({
3167
3167
  name: t.name,
3168
- base: l || r,
3168
+ base: l || n,
3169
3169
  extension: a,
3170
3170
  type: t.type,
3171
3171
  size: t.size,
@@ -3178,8 +3178,8 @@ const Tl = {
3178
3178
  }), this.$emit("update:modelValue", this.inputFiles), this.$emit("input", this.inputFiles);
3179
3179
  },
3180
3180
  readFile(e, t) {
3181
- const l = new FileReader(), a = typeof this.preview == "string", r = e.type && e.type.startsWith("image/");
3182
- this.preview && !a && r ? l.addEventListener("load", (i) => {
3181
+ const l = new FileReader(), a = typeof this.preview == "string", n = e.type && e.type.startsWith("image/");
3182
+ this.preview && !a && n ? l.addEventListener("load", (i) => {
3183
3183
  t.preview = i.target.result;
3184
3184
  }) : delete t.preview, l.addEventListener("progress", (i) => {
3185
3185
  i.loaded && i.total && (t.progress = i.loaded * 100 / i.total);
@@ -3197,8 +3197,8 @@ const Tl = {
3197
3197
  }
3198
3198
  }
3199
3199
  }, Ol = /* @__PURE__ */ v(Tl, [["render", xl]]);
3200
- function zl(e, t, l, a, r, i) {
3201
- const o = $("w-icon"), n = $("w-list", !0);
3200
+ function zl(e, t, l, a, n, i) {
3201
+ const o = $("w-icon"), r = $("w-list", !0);
3202
3202
  return s(), u("ul", {
3203
3203
  class: f(["w-list", i.classes])
3204
3204
  }, [
@@ -3244,7 +3244,7 @@ function zl(e, t, l, a, r, i) {
3244
3244
  key: 2,
3245
3245
  class: "w-list__item-label"
3246
3246
  }, i.liLabelProps(d, h, d._selected)), null, 16)),
3247
- (d.children || []).length ? (s(), g(n, _({ key: 3 }, e.$props, {
3247
+ (d.children || []).length ? (s(), g(r, _({ key: 3 }, e.$props, {
3248
3248
  items: d.children,
3249
3249
  depth: l.depth + 1,
3250
3250
  "onUpdate:modelValue": t[0] || (t[0] = (y) => e.$emit("update:modelValue", y)),
@@ -3363,7 +3363,7 @@ const El = {
3363
3363
  };
3364
3364
  },
3365
3365
  liLabelProps(e, t, l) {
3366
- const a = this.$slots[`item.${t + 1}`] || this.$slots.item, r = () => {
3366
+ const a = this.$slots[`item.${t + 1}`] || this.$slots.item, n = () => {
3367
3367
  if (!e.disabled) {
3368
3368
  const d = this.cleanLi(e);
3369
3369
  this.$emit("item-click", d), this.$emit("item-select", d);
@@ -3372,19 +3372,19 @@ const El = {
3372
3372
  d.stopPropagation(), !e.disabled && this.selectItem(e);
3373
3373
  }), o = this.isSelectable && ((d) => {
3374
3374
  !e.disabled && d.keyCode === 13 ? (this.selectItem(e), this.$emit("keydown:enter"), this.$emit("item-select", this.cleanLi(e))) : d.keyCode === 27 ? this.$emit("keydown:escape") : this.arrowsNavigation && [38, 40].includes(d.keyCode) && (d.preventDefault(), d.keyCode === 38 && this.focusPrevNextItem(e._index, !1), d.keyCode === 40 && this.focusPrevNextItem(e._index, !0));
3375
- }), n = {
3375
+ }), r = {
3376
3376
  class: this.liLabelClasses(e),
3377
3377
  tabindex: e.disabled || this.checklist ? null : "0",
3378
3378
  "aria-selected": l ? "true" : "false",
3379
3379
  id: this.listId ? `${this.listId}_item-${t + 1}` : null,
3380
3380
  role: "option"
3381
3381
  };
3382
- return this.checklist ? (n.modelValue = e._selected, n.color = e[this.itemColorKey] || this.color, n.round = this.roundCheckboxes, n.disabled = e.disabled, a || (n.label = e._label || null), n.onFocus = () => e._focused = !0, n.onBlur = () => e._focused = !1, n.onInput = (d) => this.selectItem(e, d), n.onClick = (d) => {
3382
+ return this.checklist ? (r.modelValue = e._selected, r.color = e[this.itemColorKey] || this.color, r.round = this.roundCheckboxes, r.disabled = e.disabled, a || (r.label = e._label || null), r.onFocus = () => e._focused = !0, r.onBlur = () => e._focused = !1, r.onInput = (d) => this.selectItem(e, d), r.onClick = (d) => {
3383
3383
  const h = d.target.querySelector('input[type="checkbox"]');
3384
- h && (h.focus(), h.click()), r();
3385
- }) : this.nav ? (!e.disabled && e[this.itemRouteKey] && (n.onKeydown = o, n.onMousedown = i, this.$router ? (n.to = e[this.itemRouteKey], n.onClick = (d) => {
3386
- d.preventDefault(), this.$router.push(e[this.itemRouteKey]), r();
3387
- }) : (n.href = e[this.itemRouteKey], n.onClick = r)), a || (n.innerHTML = e._label)) : (this.isSelectable && (e.disabled || (n.tabindex = 0), n.onClick = r, n.onKeydown = o, n.onMousedown = i), a || (n.innerHTML = e._label)), n;
3384
+ h && (h.focus(), h.click()), n();
3385
+ }) : this.nav ? (!e.disabled && e[this.itemRouteKey] && (r.onKeydown = o, r.onMousedown = i, this.$router ? (r.to = e[this.itemRouteKey], r.onClick = (d) => {
3386
+ d.preventDefault(), this.$router.push(e[this.itemRouteKey]), n();
3387
+ }) : (r.href = e[this.itemRouteKey], r.onClick = n)), a || (r.innerHTML = e._label)) : (this.isSelectable && (e.disabled || (r.tabindex = 0), r.onClick = n, r.onKeydown = o, r.onMousedown = i), a || (r.innerHTML = e._label)), r;
3388
3388
  },
3389
3389
  checkSelection(e) {
3390
3390
  return e = Array.isArray(e) ? e : e ? [e] : [], this.returnObject && (e = e.map(this.getItemValue)), e;
@@ -3393,7 +3393,7 @@ const El = {
3393
3393
  const e = this.selectedItems.map((l) => {
3394
3394
  if (!this.returnObject)
3395
3395
  return l._value;
3396
- const { _value: a, _selected: r, ...i } = l;
3396
+ const { _value: a, _selected: n, ...i } = l;
3397
3397
  return i;
3398
3398
  }), t = this.isMultipleSelect ? e : e[0] !== void 0 ? e[0] : null;
3399
3399
  this.$emit("update:modelValue", t), this.$emit("input", t);
@@ -3404,7 +3404,7 @@ const El = {
3404
3404
  e === void 0 && (e = this.enabledItemsIndexes[l]), this.$el.querySelector(`#${this.listId}_item-${e + 1}`).focus();
3405
3405
  },
3406
3406
  cleanLi(e) {
3407
- const { _index: t, _value: l, _label: a, _selected: r, _focused: i, ...o } = e;
3407
+ const { _index: t, _value: l, _label: a, _selected: n, _focused: i, ...o } = e;
3408
3408
  return o;
3409
3409
  },
3410
3410
  refreshListItems() {
@@ -3507,30 +3507,30 @@ const El = {
3507
3507
  },
3508
3508
  getActivatorCoordinates() {
3509
3509
  const { top: e, left: t, width: l, height: a } = this.activatorEl.getBoundingClientRect();
3510
- let r = { top: e, left: t, width: l, height: a };
3510
+ let n = { top: e, left: t, width: l, height: a };
3511
3511
  if (!this.fixed) {
3512
- const { top: i, left: o } = this.detachableParentEl.getBoundingClientRect(), n = window.getComputedStyle(this.detachableParentEl, null);
3513
- r = {
3514
- ...r,
3515
- top: e - i + this.detachableParentEl.scrollTop - parseInt(n.getPropertyValue("border-top-width")),
3516
- left: t - o + this.detachableParentEl.scrollLeft - parseInt(n.getPropertyValue("border-left-width"))
3512
+ const { top: i, left: o } = this.detachableParentEl.getBoundingClientRect(), r = window.getComputedStyle(this.detachableParentEl, null);
3513
+ n = {
3514
+ ...n,
3515
+ top: e - i + this.detachableParentEl.scrollTop - parseInt(r.getPropertyValue("border-top-width")),
3516
+ left: t - o + this.detachableParentEl.scrollLeft - parseInt(r.getPropertyValue("border-left-width"))
3517
3517
  };
3518
3518
  }
3519
- return r;
3519
+ return n;
3520
3520
  },
3521
3521
  computeDetachableCoords() {
3522
3522
  let { top: e, left: t, width: l, height: a } = this.getActivatorCoordinates();
3523
3523
  if (!this.detachableEl)
3524
3524
  return;
3525
3525
  this.detachableEl.style.visibility = "hidden", this.detachableEl.style.display = "flex";
3526
- const r = window.getComputedStyle(this.detachableEl, null);
3526
+ const n = window.getComputedStyle(this.detachableEl, null);
3527
3527
  switch (this.position) {
3528
3528
  case "top": {
3529
- e -= this.detachableEl.offsetHeight, this.alignRight ? t += l - this.detachableEl.offsetWidth + parseInt(r.getPropertyValue("border-right-width")) : this.alignLeft || (t += (l - this.detachableEl.offsetWidth) / 2);
3529
+ e -= this.detachableEl.offsetHeight, this.alignRight ? t += l - this.detachableEl.offsetWidth + parseInt(n.getPropertyValue("border-right-width")) : this.alignLeft || (t += (l - this.detachableEl.offsetWidth) / 2);
3530
3530
  break;
3531
3531
  }
3532
3532
  case "bottom": {
3533
- e += a, this.alignRight ? t += l - this.detachableEl.offsetWidth + parseInt(r.getPropertyValue("border-right-width")) : this.alignLeft || (t += (l - this.detachableEl.offsetWidth) / 2);
3533
+ e += a, this.alignRight ? t += l - this.detachableEl.offsetWidth + parseInt(n.getPropertyValue("border-right-width")) : this.alignLeft || (t += (l - this.detachableEl.offsetWidth) / 2);
3534
3534
  break;
3535
3535
  }
3536
3536
  case "left": {
@@ -3538,7 +3538,7 @@ const El = {
3538
3538
  break;
3539
3539
  }
3540
3540
  case "right": {
3541
- t += l, this.alignBottom ? e += a - this.detachableEl.offsetHeight + parseInt(r.getPropertyValue("margin-top")) : this.alignTop || (e += (a - this.detachableEl.offsetHeight) / 2 + parseInt(r.getPropertyValue("margin-top")));
3541
+ t += l, this.alignBottom ? e += a - this.detachableEl.offsetHeight + parseInt(n.getPropertyValue("margin-top")) : this.alignTop || (e += (a - this.detachableEl.offsetHeight) / 2 + parseInt(n.getPropertyValue("margin-top")));
3542
3542
  break;
3543
3543
  }
3544
3544
  }
@@ -3565,9 +3565,9 @@ const El = {
3565
3565
  const e = typeof this.activator == "string";
3566
3566
  Object.entries(this.activatorEventHandlers).forEach(([t, l]) => {
3567
3567
  t = t.replace("mouseenter", "mouseover").replace("mouseleave", "mouseout");
3568
- const a = (r) => {
3568
+ const a = (n) => {
3569
3569
  var i;
3570
- (e && ((i = r.target) == null ? void 0 : i.matches) && r.target.matches(this.activator) || r.target === this.activatorEl || this.activatorEl.contains(r.target)) && l(r);
3570
+ (e && ((i = n.target) == null ? void 0 : i.matches) && n.target.matches(this.activator) || n.target === this.activatorEl || this.activatorEl.contains(n.target)) && l(n);
3571
3571
  };
3572
3572
  document.addEventListener(t, a), this.docEventListenersHandlers.push({ eventName: t, handler: a });
3573
3573
  });
@@ -3593,8 +3593,8 @@ const El = {
3593
3593
  }
3594
3594
  }
3595
3595
  };
3596
- function Ml(e, t, l, a, r, i) {
3597
- const o = $("w-card"), n = $("w-overlay");
3596
+ function Ml(e, t, l, a, n, i) {
3597
+ const o = $("w-card"), r = $("w-overlay");
3598
3598
  return s(), u(C, null, [
3599
3599
  p(e.$slots, "activator", { on: i.activatorEventHandlers }),
3600
3600
  V(T, {
@@ -3653,7 +3653,7 @@ function Ml(e, t, l, a, r, i) {
3653
3653
  ]),
3654
3654
  _: 3
3655
3655
  }, 8, ["name"]),
3656
- l.overlay ? (s(), g(n, _({
3656
+ l.overlay ? (s(), g(r, _({
3657
3657
  key: 0,
3658
3658
  ref: "overlay",
3659
3659
  "model-value": e.detachableVisible,
@@ -3789,21 +3789,21 @@ const Nl = {
3789
3789
  }
3790
3790
  }
3791
3791
  }, Wl = /* @__PURE__ */ v(Nl, [["render", Ml]]);
3792
- function Al(e, t, l, a, r, i) {
3792
+ function Al(e, t, l, a, n, i) {
3793
3793
  const o = $("w-alert");
3794
3794
  return s(), g(T, {
3795
3795
  name: i.transitionName,
3796
3796
  appear: ""
3797
3797
  }, {
3798
3798
  default: m(() => [
3799
- r.show ? (s(), u("div", {
3799
+ n.show ? (s(), u("div", {
3800
3800
  key: 0,
3801
3801
  class: f(["w-notification", i.classes]),
3802
3802
  style: L(i.styles)
3803
3803
  }, [
3804
3804
  V(o, _(i.alertProps, {
3805
3805
  class: i.alertClasses,
3806
- "onUpdate:modelValue": t[0] || (t[0] = (n) => {
3806
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => {
3807
3807
  e.$emit("update:modelValue", !1), e.$emit("input", !1);
3808
3808
  })
3809
3809
  }), {
@@ -3938,7 +3938,7 @@ const Kl = {
3938
3938
  }
3939
3939
  }
3940
3940
  }, Dl = /* @__PURE__ */ v(Kl, [["render", Al]]);
3941
- function Fl(e, t, l, a, r, i) {
3941
+ function Fl(e, t, l, a, n, i) {
3942
3942
  const o = me("focus");
3943
3943
  return s(), g(T, {
3944
3944
  name: "fade",
@@ -3951,8 +3951,8 @@ function Fl(e, t, l, a, r, i) {
3951
3951
  class: f(["w-overlay", i.classes]),
3952
3952
  ref: "overlay",
3953
3953
  style: L(l.modelValue && i.styles || null),
3954
- onKeydown: t[0] || (t[0] = M(P((...n) => i.onClick && i.onClick(...n), ["stop"]), ["escape"])),
3955
- onClick: t[1] || (t[1] = (...n) => i.onClick && i.onClick(...n)),
3954
+ onKeydown: t[0] || (t[0] = M(P((...r) => i.onClick && i.onClick(...r), ["stop"]), ["escape"])),
3955
+ onClick: t[1] || (t[1] = (...r) => i.onClick && i.onClick(...r)),
3956
3956
  tabindex: "0"
3957
3957
  }, [
3958
3958
  p(e.$slots, "default")
@@ -4019,7 +4019,7 @@ const Hl = {
4019
4019
  }
4020
4020
  }
4021
4021
  }, jl = /* @__PURE__ */ v(Hl, [["render", Fl]]), Ul = { class: "w-parallax" };
4022
- function ql(e, t, l, a, r, i) {
4022
+ function ql(e, t, l, a, n, i) {
4023
4023
  return s(), u("div", Ul);
4024
4024
  }
4025
4025
  const Gl = {
@@ -4028,7 +4028,7 @@ const Gl = {
4028
4028
  emits: [],
4029
4029
  data: () => ({})
4030
4030
  }, Xl = /* @__PURE__ */ v(Gl, [["render", ql]]), Yl = ["viewBox"], Jl = ["cx", "cy", "r", "stroke-dasharray", "stroke-width"], Ql = ["cx", "cy", "r", "stroke-width", "stroke-linecap", "stroke-dasharray"];
4031
- function Zl(e, t, l, a, r, i) {
4031
+ function Zl(e, t, l, a, n, i) {
4032
4032
  return s(), u("div", {
4033
4033
  class: f(["w-progress", i.classes]),
4034
4034
  style: L(i.styles)
@@ -4140,7 +4140,7 @@ const Q = 40, ei = Q / 2, ti = Math.round(Q * 3.14 * 100) / 100, li = {
4140
4140
  }
4141
4141
  }
4142
4142
  }, ii = /* @__PURE__ */ v(li, [["render", Zl]]), si = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], ai = ["for"], oi = ["for", "innerHTML"], ni = ["for"], ri = ["for", "innerHTML"];
4143
- function di(e, t, l, a, r, i) {
4143
+ function di(e, t, l, a, n, i) {
4144
4144
  return s(), g(I(e.formRegister && !i.wRadios ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
4145
4145
  valid: e.valid,
4146
4146
  "onUpdate:valid": t[3] || (t[3] = (o) => e.valid = o),
@@ -4266,12 +4266,12 @@ const ui = {
4266
4266
  }
4267
4267
  }
4268
4268
  }, hi = /* @__PURE__ */ v(ui, [["render", di]]), ci = ["innerHTML"];
4269
- function pi(e, t, l, a, r, i) {
4269
+ function pi(e, t, l, a, n, i) {
4270
4270
  const o = $("w-radio");
4271
4271
  return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
4272
4272
  valid: e.valid,
4273
- "onUpdate:valid": t[1] || (t[1] = (n) => e.valid = n),
4274
- onReset: t[2] || (t[2] = (n) => {
4273
+ "onUpdate:valid": t[1] || (t[1] = (r) => e.valid = r),
4274
+ onReset: t[2] || (t[2] = (r) => {
4275
4275
  e.$emit("update:modelValue", e.inputValue = null), e.$emit("input", null);
4276
4276
  }),
4277
4277
  column: !l.inline,
@@ -4279,13 +4279,13 @@ function pi(e, t, l, a, r, i) {
4279
4279
  class: i.classes
4280
4280
  }), {
4281
4281
  default: m(() => [
4282
- (s(!0), u(C, null, x(i.radioItems, (n, d) => (s(), g(o, _({
4282
+ (s(!0), u(C, null, x(i.radioItems, (r, d) => (s(), g(o, _({
4283
4283
  key: d,
4284
- "model-value": n.value === l.modelValue,
4285
- "onUpdate:modelValue": (h) => i.onInput(n),
4284
+ "model-value": r.value === l.modelValue,
4285
+ "onUpdate:modelValue": (h) => i.onInput(r),
4286
4286
  onFocus: t[0] || (t[0] = (h) => e.$emit("focus", h)),
4287
4287
  name: e.inputName
4288
- }, { label: n.label, color: n.color, labelOnLeft: l.labelOnLeft, labelColor: l.labelColor }, {
4288
+ }, { label: r.label, color: r.color, labelOnLeft: l.labelOnLeft, labelColor: l.labelColor }, {
4289
4289
  disabled: e.isDisabled || null,
4290
4290
  readonly: e.isReadonly || null,
4291
4291
  class: { mt1: !l.inline && d }
@@ -4293,13 +4293,13 @@ function pi(e, t, l, a, r, i) {
4293
4293
  default: m(() => [
4294
4294
  e.$slots[`item.${d + 1}`] || e.$slots.item ? p(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
4295
4295
  key: 0,
4296
- item: i.getOriginalItem(n),
4296
+ item: i.getOriginalItem(r),
4297
4297
  index: d + 1,
4298
- checked: n.value === l.modelValue,
4299
- innerHTML: n.label
4300
- }) : n.label ? (s(), u("div", {
4298
+ checked: r.value === l.modelValue,
4299
+ innerHTML: r.label
4300
+ }) : r.label ? (s(), u("div", {
4301
4301
  key: 1,
4302
- innerHTML: n.label
4302
+ innerHTML: r.label
4303
4303
  }, null, 8, ci)) : c("", !0)
4304
4304
  ]),
4305
4305
  _: 2
@@ -4355,12 +4355,12 @@ const fi = {
4355
4355
  }
4356
4356
  }
4357
4357
  }, mi = /* @__PURE__ */ v(fi, [["render", pi]]), gi = ["id", "name", "value"], bi = ["disabled", "onMouseenter", "onClick", "tabindex"];
4358
- function yi(e, t, l, a, r, i) {
4359
- return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
4358
+ function yi(e, t, l, a, n, i) {
4359
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
4360
4360
  valid: e.valid,
4361
4361
  "onUpdate:valid": t[4] || (t[4] = (o) => e.valid = o),
4362
4362
  onReset: t[5] || (t[5] = (o) => {
4363
- e.$emit("update:modelValue", r.rating = null), e.$emit("input", null);
4363
+ e.$emit("update:modelValue", n.rating = null), e.$emit("input", null);
4364
4364
  }),
4365
4365
  class: i.classes
4366
4366
  }), {
@@ -4369,7 +4369,7 @@ function yi(e, t, l, a, r, i) {
4369
4369
  id: e.inputName,
4370
4370
  name: e.inputName,
4371
4371
  type: "hidden",
4372
- value: r.rating
4372
+ value: n.rating
4373
4373
  }, null, 8, gi),
4374
4374
  (s(!0), u(C, null, x(l.max, (o) => (s(), u(C, { key: o }, [
4375
4375
  e.$slots.item ? p(e.$slots, "item", {
@@ -4379,16 +4379,16 @@ function yi(e, t, l, a, r, i) {
4379
4379
  w("button", {
4380
4380
  class: f(["w-rating__button", i.buttonClasses(o)]),
4381
4381
  disabled: e.isDisabled || e.isReadonly,
4382
- onMouseenter: (n) => r.hover = o,
4383
- onMouseleave: t[0] || (t[0] = (n) => r.hover = 0),
4384
- onClick: (n) => i.onButtonClick(o),
4385
- onFocus: t[1] || (t[1] = (...n) => i.onFocus && i.onFocus(...n)),
4386
- onBlur: t[2] || (t[2] = (...n) => i.onBlur && i.onBlur(...n)),
4387
- onKeydown: t[3] || (t[3] = (...n) => i.onKeydown && i.onKeydown(...n)),
4382
+ onMouseenter: (r) => n.hover = o,
4383
+ onMouseleave: t[0] || (t[0] = (r) => n.hover = 0),
4384
+ onClick: (r) => i.onButtonClick(o),
4385
+ onFocus: t[1] || (t[1] = (...r) => i.onFocus && i.onFocus(...r)),
4386
+ onBlur: t[2] || (t[2] = (...r) => i.onBlur && i.onBlur(...r)),
4387
+ onKeydown: t[3] || (t[3] = (...r) => i.onKeydown && i.onKeydown(...r)),
4388
4388
  type: "button",
4389
4389
  tabindex: o === 1 ? 0 : -1
4390
4390
  }, [
4391
- o - 1 === ~~r.rating && r.rating - ~~r.rating ? (s(), u("i", {
4391
+ o - 1 === ~~n.rating && n.rating - ~~n.rating ? (s(), u("i", {
4392
4392
  key: 0,
4393
4393
  class: f(["w-icon", `${l.icon} ${l.color}`]),
4394
4394
  role: "icon",
@@ -4492,7 +4492,7 @@ const wi = {
4492
4492
  }
4493
4493
  }
4494
4494
  }, vi = /* @__PURE__ */ v(wi, [["render", yi]]), ki = { class: "w-scrollbar" };
4495
- function _i(e, t, l, a, r, i) {
4495
+ function _i(e, t, l, a, n, i) {
4496
4496
  return s(), u("div", ki);
4497
4497
  }
4498
4498
  const Ci = {
@@ -4504,8 +4504,8 @@ const Ci = {
4504
4504
  key: 1,
4505
4505
  class: "w-select__selection-slot"
4506
4506
  }, Ii = ["value", "id", "placeholder", "disabled", "required", "tabindex"], Ri = ["value", "name"], Li = ["for"], xi = ["for"];
4507
- function Ti(e, t, l, a, r, i) {
4508
- const o = $("w-icon"), n = $("w-list"), d = $("w-menu");
4507
+ function Ti(e, t, l, a, n, i) {
4508
+ const o = $("w-icon"), r = $("w-list"), d = $("w-menu");
4509
4509
  return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.selectionString, disabled: e.isDisabled, readonly: e.isReadonly }, {
4510
4510
  valid: e.valid,
4511
4511
  "onUpdate:valid": t[9] || (t[9] = (h) => e.valid = h),
@@ -4609,7 +4609,7 @@ function Ti(e, t, l, a, r, i) {
4609
4609
  ], 10, $i)
4610
4610
  ]),
4611
4611
  default: m(() => [
4612
- V(n, {
4612
+ V(r, {
4613
4613
  ref: "w-list",
4614
4614
  "model-value": e.inputValue,
4615
4615
  "onUpdate:modelValue": i.onInput,
@@ -4832,7 +4832,7 @@ const Oi = {
4832
4832
  key: 0,
4833
4833
  class: "w-slider__step-labels"
4834
4834
  }, Fi = ["onClick"], Hi = ["for"], ji = ["for", "innerHTML"];
4835
- function Ui(e, t, l, a, r, i) {
4835
+ function Ui(e, t, l, a, n, i) {
4836
4836
  return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.rangeValueScaled, disabled: e.isDisabled, readonly: e.isReadonly }, {
4837
4837
  valid: e.valid,
4838
4838
  "onUpdate:valid": t[8] || (t[8] = (o) => e.valid = o),
@@ -4921,7 +4921,7 @@ function Ui(e, t, l, a, r, i) {
4921
4921
  (s(!0), u(C, null, x(~~i.numberOfSteps, (o) => (s(), u("div", {
4922
4922
  class: "w-slider__step-label",
4923
4923
  key: o,
4924
- onClick: (n) => i.onStepLabelClick(o * (100 / i.numberOfSteps)),
4924
+ onClick: (r) => i.onStepLabelClick(o * (100 / i.numberOfSteps)),
4925
4925
  style: L(`left: ${o * (100 / i.numberOfSteps)}%`)
4926
4926
  }, k(i.percentToScaled(o * (100 / i.numberOfSteps))), 13, Fi))), 128)),
4927
4927
  ~~i.numberOfSteps !== i.numberOfSteps ? (s(), u("div", {
@@ -5083,7 +5083,7 @@ const qi = {
5083
5083
  }
5084
5084
  }
5085
5085
  }, Gi = /* @__PURE__ */ v(qi, [["render", Ui]]), Xi = { key: 0 };
5086
- function Yi(e, t, l, a, r, i) {
5086
+ function Yi(e, t, l, a, n, i) {
5087
5087
  return l.modelValue || l.modelValue === void 0 ? (s(), u("div", {
5088
5088
  key: 0,
5089
5089
  class: f(["w-spinner", i.classes]),
@@ -5131,7 +5131,7 @@ const Ji = {
5131
5131
  }
5132
5132
  }
5133
5133
  }, Qi = /* @__PURE__ */ v(Ji, [["render", Yi]]);
5134
- function Zi(e, t, l, a, r, i) {
5134
+ function Zi(e, t, l, a, n, i) {
5135
5135
  return s(), u("div", {
5136
5136
  class: f(["w-steps", i.classes])
5137
5137
  }, null, 2);
@@ -5159,13 +5159,13 @@ const es = {
5159
5159
  key: 1,
5160
5160
  class: "w-switch__thumb"
5161
5161
  }, os = ["for"];
5162
- function ns(e, t, l, a, r, i) {
5162
+ function ns(e, t, l, a, n, i) {
5163
5163
  const o = $("w-progress");
5164
- return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
5164
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
5165
5165
  valid: e.valid,
5166
- "onUpdate:valid": t[3] || (t[3] = (n) => e.valid = n),
5167
- onReset: t[4] || (t[4] = (n) => {
5168
- e.$emit("update:modelValue", r.isOn = null), e.$emit("input", null);
5166
+ "onUpdate:valid": t[3] || (t[3] = (r) => e.valid = r),
5167
+ onReset: t[4] || (t[4] = (r) => {
5168
+ e.$emit("update:modelValue", n.isOn = null), e.$emit("input", null);
5169
5169
  }),
5170
5170
  class: i.classes
5171
5171
  }), {
@@ -5175,15 +5175,15 @@ function ns(e, t, l, a, r, i) {
5175
5175
  id: `w-switch--${e._.uid}`,
5176
5176
  type: "checkbox",
5177
5177
  name: e.inputName,
5178
- checked: r.isOn,
5178
+ checked: n.isOn,
5179
5179
  disabled: e.isDisabled || e.isReadonly || null,
5180
5180
  readonly: e.isReadonly || null,
5181
5181
  "aria-readonly": e.isReadonly ? "true" : "false",
5182
5182
  required: e.required || null,
5183
5183
  tabindex: e.tabindex || null,
5184
- onChange: t[0] || (t[0] = (n) => i.onInput()),
5185
- onFocus: t[1] || (t[1] = (n) => e.$emit("focus", n)),
5186
- "aria-checked": r.isOn || "false",
5184
+ onChange: t[0] || (t[0] = (r) => i.onInput()),
5185
+ onFocus: t[1] || (t[1] = (r) => e.$emit("focus", r)),
5186
+ "aria-checked": n.isOn || "false",
5187
5187
  role: "switch"
5188
5188
  }, null, 40, ls),
5189
5189
  i.hasLabel && l.labelOnLeft ? (s(), u(C, { key: 0 }, [
@@ -5199,7 +5199,7 @@ function ns(e, t, l, a, r, i) {
5199
5199
  ], 64)) : c("", !0),
5200
5200
  w("div", _({
5201
5201
  class: "w-switch__input",
5202
- onClick: t[2] || (t[2] = (n) => {
5202
+ onClick: t[2] || (t[2] = (r) => {
5203
5203
  e.$refs.input.focus(), e.$refs.input.click();
5204
5204
  })
5205
5205
  }, N(e.$attrs, !0), { class: i.inputClasses }), [
@@ -5295,7 +5295,7 @@ const rs = {
5295
5295
  }
5296
5296
  }
5297
5297
  }, ds = /* @__PURE__ */ v(rs, [["render", ns]]), us = { class: "w-tabs__content" };
5298
- function hs(e, t, l, a, r, i) {
5298
+ function hs(e, t, l, a, n, i) {
5299
5299
  return s(), u("div", us, [
5300
5300
  p(e.$slots, "default", { item: l.item })
5301
5301
  ]);
@@ -5309,7 +5309,7 @@ const cs = {
5309
5309
  key: 0,
5310
5310
  class: "w-tabs__content-wrap"
5311
5311
  }, ys = ["innerHTML"];
5312
- function ws(e, t, l, a, r, i) {
5312
+ function ws(e, t, l, a, n, i) {
5313
5313
  const o = $("tab-content");
5314
5314
  return s(), u("div", {
5315
5315
  class: f(["w-tabs", i.tabsClasses])
@@ -5318,29 +5318,29 @@ function ws(e, t, l, a, r, i) {
5318
5318
  class: f(["w-tabs__bar", i.tabsBarClasses]),
5319
5319
  ref: "tabs-bar"
5320
5320
  }, [
5321
- (s(!0), u(C, null, x(i.tabsItems, (n, d) => (s(), u("div", {
5322
- class: f(["w-tabs__bar-item", i.barItemClasses(n)]),
5321
+ (s(!0), u(C, null, x(i.tabsItems, (r, d) => (s(), u("div", {
5322
+ class: f(["w-tabs__bar-item", i.barItemClasses(r)]),
5323
5323
  key: d,
5324
- onClick: (h) => !n._disabled && i.openTab(n),
5325
- onFocus: (h) => e.$emit("focus", i.getOriginalItem(n)),
5326
- tabindex: !n._disabled && 0,
5327
- onKeypress: M((h) => !n._disabled && i.openTab(n), ["enter"]),
5328
- "aria-selected": n._index === e.activeTabIndex ? "true" : "false",
5324
+ onClick: (h) => !r._disabled && i.openTab(r),
5325
+ onFocus: (h) => e.$emit("focus", i.getOriginalItem(r)),
5326
+ tabindex: !r._disabled && 0,
5327
+ onKeypress: M((h) => !r._disabled && i.openTab(r), ["enter"]),
5328
+ "aria-selected": r._index === e.activeTabIndex ? "true" : "false",
5329
5329
  role: "tab"
5330
5330
  }, [
5331
- e.$slots[`item-title.${n.id || d + 1}`] ? p(e.$slots, `item-title.${n.id || d + 1}`, {
5331
+ e.$slots[`item-title.${r.id || d + 1}`] ? p(e.$slots, `item-title.${r.id || d + 1}`, {
5332
5332
  key: 0,
5333
- item: i.getOriginalItem(n),
5333
+ item: i.getOriginalItem(r),
5334
5334
  index: d + 1,
5335
- active: n._index === e.activeTabIndex
5335
+ active: r._index === e.activeTabIndex
5336
5336
  }) : p(e.$slots, "item-title", {
5337
5337
  key: 1,
5338
- item: i.getOriginalItem(n),
5338
+ item: i.getOriginalItem(r),
5339
5339
  index: d + 1,
5340
- active: n._index === e.activeTabIndex
5340
+ active: r._index === e.activeTabIndex
5341
5341
  }, () => [
5342
5342
  w("div", {
5343
- innerHTML: n[l.itemTitleKey]
5343
+ innerHTML: r[l.itemTitleKey]
5344
5344
  }, null, 8, ms)
5345
5345
  ])
5346
5346
  ], 42, fs))), 128)),
@@ -5365,21 +5365,21 @@ function ws(e, t, l, a, r, i) {
5365
5365
  item: i.activeTab,
5366
5366
  class: f(l.contentClass)
5367
5367
  }, {
5368
- default: m(({ item: n }) => [
5369
- e.$slots[`item-content.${n._index + 1}`] ? p(e.$slots, `item-content.${n._index + 1}`, {
5368
+ default: m(({ item: r }) => [
5369
+ e.$slots[`item-content.${r._index + 1}`] ? p(e.$slots, `item-content.${r._index + 1}`, {
5370
5370
  key: 0,
5371
- item: i.getOriginalItem(n),
5372
- index: n._index + 1,
5373
- active: n._index === i.activeTab._index
5371
+ item: i.getOriginalItem(r),
5372
+ index: r._index + 1,
5373
+ active: r._index === i.activeTab._index
5374
5374
  }) : p(e.$slots, "item-content", {
5375
5375
  key: 1,
5376
- item: i.getOriginalItem(n),
5377
- index: n._index + 1,
5378
- active: n._index === i.activeTab._index
5376
+ item: i.getOriginalItem(r),
5377
+ index: r._index + 1,
5378
+ active: r._index === i.activeTab._index
5379
5379
  }, () => [
5380
- n[l.itemContentKey] ? (s(), u("div", {
5380
+ r[l.itemContentKey] ? (s(), u("div", {
5381
5381
  key: 0,
5382
- innerHTML: n[l.itemContentKey]
5382
+ innerHTML: r[l.itemContentKey]
5383
5383
  }, null, 8, ys)) : c("", !0)
5384
5384
  ])
5385
5385
  ]),
@@ -5494,8 +5494,8 @@ const vs = {
5494
5494
  this.activeTabEl = t && t.querySelector(".w-tabs__bar-item--active");
5495
5495
  }
5496
5496
  if (!this.fillBar && this.activeTabEl) {
5497
- const { left: t, width: l } = this.activeTabEl.getBoundingClientRect(), a = this.activeTabEl.parentNode, { left: r } = a.getBoundingClientRect(), { borderLeftWidth: i } = getComputedStyle(a);
5498
- this.slider.left = `${t - r - parseInt(i) + a.scrollLeft}px`, this.slider.width = `${l}px`;
5497
+ const { left: t, width: l } = this.activeTabEl.getBoundingClientRect(), a = this.activeTabEl.parentNode, { left: n } = a.getBoundingClientRect(), { borderLeftWidth: i } = getComputedStyle(a);
5498
+ this.slider.left = `${t - n - parseInt(i) + a.scrollLeft}px`, this.slider.width = `${l}px`;
5499
5499
  } else
5500
5500
  this.slider.left = `${this.activeTab._index * 100 / this.tabsItems.length}%`, this.slider.width = `${100 / this.tabsItems.length}%`;
5501
5501
  },
@@ -5558,8 +5558,8 @@ const vs = {
5558
5558
  key: 2,
5559
5559
  class: "w-table__row w-table__pagination-wrap"
5560
5560
  }, Us = ["colspan"], qs = { class: "w-table__pagination" }, Gs = { class: "pagination-number pagination-number--results" }, Xs = { class: "pagination-arrows" };
5561
- function Ys(e, t, l, a, r, i) {
5562
- const o = $("w-icon"), n = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), S = $("w-button");
5561
+ function Ys(e, t, l, a, n, i) {
5562
+ const o = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), S = $("w-button");
5563
5563
  return s(), u("div", {
5564
5564
  class: f(["w-table-wrap", i.wrapClasses])
5565
5565
  }, [
@@ -5628,7 +5628,7 @@ function Ys(e, t, l, a, r, i) {
5628
5628
  w("td", {
5629
5629
  colspan: l.headers.length
5630
5630
  }, [
5631
- V(n, { tile: "" })
5631
+ V(r, { tile: "" })
5632
5632
  ], 8, Is)
5633
5633
  ])) : c("", !0)
5634
5634
  ]),
@@ -5640,7 +5640,7 @@ function Ys(e, t, l, a, r, i) {
5640
5640
  w("td", {
5641
5641
  colspan: l.headers.length
5642
5642
  }, [
5643
- V(n, { tile: "" }),
5643
+ V(r, { tile: "" }),
5644
5644
  w("div", xs, [
5645
5645
  p(e.$slots, "loading", {}, () => [
5646
5646
  B("Loading...")
@@ -5930,20 +5930,20 @@ const pe = 15, Js = {
5930
5930
  doSelectRow(e, t) {
5931
5931
  const l = this.expandableRows === "" ? !0 : this.expandableRows, a = this.selectableRows === "" ? !0 : this.selectableRows;
5932
5932
  if (l) {
5933
- const r = this.expandedRowsByUid[e._uid] === void 0;
5934
- r ? this.expandableRows.toString() === "1" ? this.expandedRowsInternal = [e._uid] : this.expandedRowsInternal.push(e._uid) : this.expandedRowsInternal = this.expandedRowsInternal.filter((i) => i !== e._uid), this.$emit(
5933
+ const n = this.expandedRowsByUid[e._uid] === void 0;
5934
+ n ? this.expandableRows.toString() === "1" ? this.expandedRowsInternal = [e._uid] : this.expandedRowsInternal.push(e._uid) : this.expandedRowsInternal = this.expandedRowsInternal.filter((i) => i !== e._uid), this.$emit(
5935
5935
  "row-expand",
5936
5936
  {
5937
5937
  item: e,
5938
5938
  index: t,
5939
- expanded: r,
5939
+ expanded: n,
5940
5940
  expandedRows: this.expandedRowsInternal.map((i) => this.filteredItems[i])
5941
5941
  }
5942
5942
  ), this.$emit("update:expanded-rows", this.expandedRowsInternal);
5943
5943
  } else if (a) {
5944
- let r = !1;
5944
+ let n = !1;
5945
5945
  const i = this.selectedRowsByUid[e._uid] === void 0;
5946
- i ? (this.selectableRows.toString() === "1" ? this.selectedRowsInternal = [e._uid] : this.selectedRowsInternal.push(e._uid), r = !0) : (!this.forceSelection || this.selectedRowsInternal.length > 1) && (this.selectedRowsInternal = this.selectedRowsInternal.filter((o) => o !== e._uid), r = !0), r && (this.$emit(
5946
+ i ? (this.selectableRows.toString() === "1" ? this.selectedRowsInternal = [e._uid] : this.selectedRowsInternal.push(e._uid), n = !0) : (!this.forceSelection || this.selectedRowsInternal.length > 1) && (this.selectedRowsInternal = this.selectedRowsInternal.filter((o) => o !== e._uid), n = !0), n && (this.$emit(
5947
5947
  "row-select",
5948
5948
  {
5949
5949
  item: e,
@@ -5965,16 +5965,16 @@ const pe = 15, Js = {
5965
5965
  e.classList.contains("w-table__col-resizer") && (this.colResizing.hover = !1);
5966
5966
  },
5967
5967
  onResizerMouseMove(e) {
5968
- const { startCursorX: t, columnEl: l, nextColumnEl: a, colWidth: r, nextColWidth: i } = this.colResizing;
5968
+ const { startCursorX: t, columnEl: l, nextColumnEl: a, colWidth: n, nextColWidth: i } = this.colResizing;
5969
5969
  this.colResizing.dragging = !0;
5970
- const o = e.pageX - t, n = r + i, d = r + o, h = i - o;
5971
- l.style.width = r + o + "px", a.style.width = i - o + "px";
5970
+ const o = e.pageX - t, r = n + i, d = n + o, h = i - o;
5971
+ l.style.width = n + o + "px", a.style.width = i - o + "px";
5972
5972
  const y = o < 0 && l.offsetWidth > d || l.offsetWidth <= pe, S = o > 0 && a.offsetWidth > h;
5973
5973
  if (y) {
5974
5974
  const b = Math.max(l.offsetWidth, pe);
5975
- l.style.width = b + "px", a.style.width = n - b + "px";
5975
+ l.style.width = b + "px", a.style.width = r - b + "px";
5976
5976
  } else
5977
- S && (l.style.width = n - a.offsetWidth + "px", a.style.width = a.offsetWidth + "px");
5977
+ S && (l.style.width = r - a.offsetWidth + "px", a.style.width = a.offsetWidth + "px");
5978
5978
  },
5979
5979
  onResizerMouseUp() {
5980
5980
  document.removeEventListener("mousemove", this.onResizerMouseMove), document.removeEventListener("mouseup", this.onResizerMouseUp), setTimeout(() => {
@@ -5986,13 +5986,13 @@ const pe = 15, Js = {
5986
5986
  }, 0);
5987
5987
  },
5988
5988
  updatePaginationConfig() {
5989
- var a, r, i, o, n;
5990
- const e = ((a = this.pagination) == null ? void 0 : a.itemsPerPage) || 10, t = ((r = this.pagination) == null ? void 0 : r.total) || this.items.length, l = ((i = this.pagination) == null ? void 0 : i.page) || 1;
5989
+ var a, n, i, o, r;
5990
+ const e = ((a = this.pagination) == null ? void 0 : a.itemsPerPage) || 10, t = ((n = this.pagination) == null ? void 0 : n.total) || this.items.length, l = ((i = this.pagination) == null ? void 0 : i.page) || 1;
5991
5991
  this.paginationConfig = {
5992
5992
  itemsPerPage: e,
5993
5993
  itemsPerPageOptions: ((o = this.pagination) == null ? void 0 : o.itemsPerPageOptions) || [{ label: "10", value: 10 }, { label: "100", value: 100 }, { label: "All", value: 0 }],
5994
5994
  page: l,
5995
- start: ((n = this.pagination) == null ? void 0 : n.start) || 1,
5995
+ start: ((r = this.pagination) == null ? void 0 : r.start) || 1,
5996
5996
  end: t >= e * l ? e * l : t % (e * l),
5997
5997
  total: t
5998
5998
  };
@@ -6019,7 +6019,7 @@ const pe = 15, Js = {
6019
6019
  }
6020
6020
  }
6021
6021
  }, Qs = /* @__PURE__ */ v(Js, [["render", Ys]]), Zs = ["role", "aria-pressed", "tabindex"];
6022
- function ea(e, t, l, a, r, i) {
6022
+ function ea(e, t, l, a, n, i) {
6023
6023
  return s(), u("span", _({ class: "w-tag" }, N(e.$attrs, !0), {
6024
6024
  onClick: t[1] || (t[1] = (o) => {
6025
6025
  e.$emit("update:modelValue", !l.modelValue), e.$emit("input", !l.modelValue);
@@ -6095,14 +6095,14 @@ const ta = {
6095
6095
  }
6096
6096
  }
6097
6097
  }, la = /* @__PURE__ */ v(ta, [["render", ea]]), ia = ["for"], sa = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], aa = ["for"], oa = ["for"];
6098
- function na(e, t, l, a, r, i) {
6098
+ function na(e, t, l, a, n, i) {
6099
6099
  const o = $("w-icon");
6100
- return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: r.isFocused }, {
6100
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
6101
6101
  valid: e.valid,
6102
- "onUpdate:valid": t[6] || (t[6] = (n) => e.valid = n),
6102
+ "onUpdate:valid": t[6] || (t[6] = (r) => e.valid = r),
6103
6103
  wrap: i.hasLabel && l.labelPosition !== "inside",
6104
- onReset: t[7] || (t[7] = (n) => {
6105
- e.$emit("update:modelValue", r.inputValue = ""), e.$emit("input", "");
6104
+ onReset: t[7] || (t[7] = (r) => {
6105
+ e.$emit("update:modelValue", n.inputValue = ""), e.$emit("input", "");
6106
6106
  }),
6107
6107
  class: i.classes
6108
6108
  }), {
@@ -6126,7 +6126,7 @@ function na(e, t, l, a, r, i) {
6126
6126
  class: "w-textarea__icon w-textarea__icon--inner-left",
6127
6127
  tag: "label",
6128
6128
  for: `w-textarea--${e._.uid}`,
6129
- onClick: t[0] || (t[0] = (n) => e.$emit("click:inner-icon-left", n))
6129
+ onClick: t[0] || (t[0] = (r) => e.$emit("click:inner-icon-left", r))
6130
6130
  }, {
6131
6131
  default: m(() => [
6132
6132
  B(k(l.innerIconLeft), 1)
@@ -6136,11 +6136,11 @@ function na(e, t, l, a, r, i) {
6136
6136
  D(w("textarea", _({
6137
6137
  class: "w-textarea__textarea",
6138
6138
  ref: "textarea",
6139
- "onUpdate:modelValue": t[1] || (t[1] = (n) => r.inputValue = n)
6139
+ "onUpdate:modelValue": t[1] || (t[1] = (r) => n.inputValue = r)
6140
6140
  }, N(i.listeners, !0), {
6141
- onInput: t[2] || (t[2] = (...n) => i.onInput && i.onInput(...n)),
6142
- onFocus: t[3] || (t[3] = (...n) => i.onFocus && i.onFocus(...n)),
6143
- onBlur: t[4] || (t[4] = (...n) => i.onBlur && i.onBlur(...n)),
6141
+ onInput: t[2] || (t[2] = (...r) => i.onInput && i.onInput(...r)),
6142
+ onFocus: t[3] || (t[3] = (...r) => i.onFocus && i.onFocus(...r)),
6143
+ onBlur: t[4] || (t[4] = (...r) => i.onBlur && i.onBlur(...r)),
6144
6144
  id: `w-textarea--${e._.uid}`,
6145
6145
  name: e.inputName,
6146
6146
  placeholder: l.placeholder || null,
@@ -6152,7 +6152,7 @@ function na(e, t, l, a, r, i) {
6152
6152
  required: e.required || null,
6153
6153
  tabindex: e.tabindex || null
6154
6154
  }), null, 16, sa), [
6155
- [be, r.inputValue]
6155
+ [be, n.inputValue]
6156
6156
  ]),
6157
6157
  l.labelPosition === "inside" && i.showLabelInside ? (s(), u(C, { key: 1 }, [
6158
6158
  e.$slots.default || l.label ? (s(), u("label", {
@@ -6170,7 +6170,7 @@ function na(e, t, l, a, r, i) {
6170
6170
  class: "w-textarea__icon w-textarea__icon--inner-right",
6171
6171
  tag: "label",
6172
6172
  for: `w-textarea--${e._.uid}`,
6173
- onClick: t[5] || (t[5] = (n) => e.$emit("click:inner-icon-right", n))
6173
+ onClick: t[5] || (t[5] = (r) => e.$emit("click:inner-icon-right", r))
6174
6174
  }, {
6175
6175
  default: m(() => [
6176
6176
  B(k(l.innerIconRight), 1)
@@ -6310,13 +6310,13 @@ const ra = {
6310
6310
  }
6311
6311
  }
6312
6312
  }, da = /* @__PURE__ */ v(ra, [["render", na]]), ua = ["innerHTML"], ha = ["innerHTML"];
6313
- function ca(e, t, l, a, r, i) {
6313
+ function ca(e, t, l, a, n, i) {
6314
6314
  return s(), u("ul", {
6315
6315
  class: f(["w-timeline", i.classes])
6316
6316
  }, [
6317
- (s(!0), u(C, null, x(l.items, (o, n) => (s(), u("li", {
6317
+ (s(!0), u(C, null, x(l.items, (o, r) => (s(), u("li", {
6318
6318
  class: "w-timeline-item",
6319
- key: n
6319
+ key: r
6320
6320
  }, [
6321
6321
  (s(), g(I(o[l.itemIconKey] || l.icon ? "w-icon" : "div"), {
6322
6322
  class: f(["w-timeline-item__bullet", { [o[l.itemColorKey] || l.color]: o[l.itemColorKey] || l.color }])
@@ -6326,14 +6326,14 @@ function ca(e, t, l, a, r, i) {
6326
6326
  ]),
6327
6327
  _: 2
6328
6328
  }, 1032, ["class"])),
6329
- e.$slots[`item.${n + 1}`] ? p(e.$slots, `item.${n + 1}`, {
6329
+ e.$slots[`item.${r + 1}`] ? p(e.$slots, `item.${r + 1}`, {
6330
6330
  key: 1,
6331
6331
  item: o,
6332
- index: n + 1
6332
+ index: r + 1
6333
6333
  }) : p(e.$slots, "item", {
6334
6334
  key: 0,
6335
6335
  item: o,
6336
- index: n + 1
6336
+ index: r + 1
6337
6337
  }, () => [
6338
6338
  w("div", {
6339
6339
  class: f(["w-timeline-item__title", { [o[l.itemColorKey] || l.color]: o[l.itemColorKey] || l.color }]),
@@ -6370,7 +6370,7 @@ const pa = {
6370
6370
  }
6371
6371
  }
6372
6372
  }, fa = /* @__PURE__ */ v(pa, [["render", ca]]);
6373
- function ma(e, t, l, a, r, i) {
6373
+ function ma(e, t, l, a, n, i) {
6374
6374
  return s(), u("div", {
6375
6375
  class: f(["w-toolbar", i.classes]),
6376
6376
  style: L(i.styles)
@@ -6428,7 +6428,7 @@ const ga = {
6428
6428
  }
6429
6429
  }
6430
6430
  }, ba = /* @__PURE__ */ v(ga, [["render", ma]]);
6431
- function ya(e, t, l, a, r, i) {
6431
+ function ya(e, t, l, a, n, i) {
6432
6432
  return s(), u(C, null, [
6433
6433
  p(e.$slots, "activator", { on: i.activatorEventHandlers }),
6434
6434
  V(T, {
@@ -6536,7 +6536,7 @@ const wa = {
6536
6536
  }
6537
6537
  }
6538
6538
  }, va = /* @__PURE__ */ v(wa, [["render", ya]]);
6539
- function ka(e, t, l, a, r, i) {
6539
+ function ka(e, t, l, a, n, i) {
6540
6540
  return s(), g(T, _({ name: "bounce" }, e.$props), {
6541
6541
  default: m(() => [
6542
6542
  p(e.$slots, "default")
@@ -6551,7 +6551,7 @@ const _a = {
6551
6551
  duration: { type: [Number, String] }
6552
6552
  }
6553
6553
  }, Ca = /* @__PURE__ */ v(_a, [["render", ka]]);
6554
- function Ba(e, t, l, a, r, i) {
6554
+ function Ba(e, t, l, a, n, i) {
6555
6555
  return s(), g(T, {
6556
6556
  name: "expand",
6557
6557
  mode: "out-in",
@@ -6663,7 +6663,7 @@ const Sa = {
6663
6663
  }
6664
6664
  }
6665
6665
  }, $a = /* @__PURE__ */ v(Sa, [["render", Ba]]);
6666
- function Va(e, t, l, a, r, i) {
6666
+ function Va(e, t, l, a, n, i) {
6667
6667
  return s(), g(T, _({ name: "fade" }, e.$props), {
6668
6668
  default: m(() => [
6669
6669
  p(e.$slots, "default")
@@ -6678,7 +6678,7 @@ const Ia = {
6678
6678
  duration: { type: [Number, String] }
6679
6679
  }
6680
6680
  }, Ra = /* @__PURE__ */ v(Ia, [["render", Va]]);
6681
- function La(e, t, l, a, r, i) {
6681
+ function La(e, t, l, a, n, i) {
6682
6682
  return s(), g(T, _({ name: "scale" }, e.$props), {
6683
6683
  default: m(() => [
6684
6684
  p(e.$slots, "default")
@@ -6693,7 +6693,7 @@ const xa = {
6693
6693
  duration: { type: [Number, String] }
6694
6694
  }
6695
6695
  }, Ta = /* @__PURE__ */ v(xa, [["render", La]]);
6696
- function Oa(e, t, l, a, r, i) {
6696
+ function Oa(e, t, l, a, n, i) {
6697
6697
  return s(), g(T, _({ name: "scale-fade" }, e.$props), {
6698
6698
  default: m(() => [
6699
6699
  p(e.$slots, "default")
@@ -6708,7 +6708,7 @@ const za = {
6708
6708
  duration: { type: [Number, String] }
6709
6709
  }
6710
6710
  }, Ea = /* @__PURE__ */ v(za, [["render", Oa]]);
6711
- function Pa(e, t, l, a, r, i) {
6711
+ function Pa(e, t, l, a, n, i) {
6712
6712
  return s(), g(T, _({ name: i.transitionName }, e.$props), {
6713
6713
  default: m(() => [
6714
6714
  p(e.$slots, "default")
@@ -6735,7 +6735,7 @@ const Ma = {
6735
6735
  }
6736
6736
  }
6737
6737
  }, Na = /* @__PURE__ */ v(Ma, [["render", Pa]]);
6738
- function Wa(e, t, l, a, r, i) {
6738
+ function Wa(e, t, l, a, n, i) {
6739
6739
  return s(), g(T, _({ name: i.transitionName }, e.$props), {
6740
6740
  default: m(() => [
6741
6741
  p(e.$slots, "default")
@@ -6762,7 +6762,7 @@ const Aa = {
6762
6762
  }
6763
6763
  }
6764
6764
  }, Ka = /* @__PURE__ */ v(Aa, [["render", Wa]]);
6765
- function Da(e, t, l, a, r, i) {
6765
+ function Da(e, t, l, a, n, i) {
6766
6766
  return s(), g(T, _({ name: "twist" }, e.$props), {
6767
6767
  default: m(() => [
6768
6768
  p(e.$slots, "default")
@@ -6780,8 +6780,8 @@ const Fa = {
6780
6780
  key: 1,
6781
6781
  class: "ml1"
6782
6782
  };
6783
- function qa(e, t, l, a, r, i) {
6784
- const o = $("w-button"), n = $("w-icon"), d = $("w-tree", !0);
6783
+ function qa(e, t, l, a, n, i) {
6784
+ const o = $("w-button"), r = $("w-icon"), d = $("w-tree", !0);
6785
6785
  return s(), u("ul", {
6786
6786
  class: f(["w-tree", i.classes])
6787
6787
  }, [
@@ -6814,7 +6814,7 @@ function qa(e, t, l, a, r, i) {
6814
6814
  }, () => {
6815
6815
  var S;
6816
6816
  return [
6817
- i.itemIcon(h) ? (s(), g(n, {
6817
+ i.itemIcon(h) ? (s(), g(r, {
6818
6818
  key: 0,
6819
6819
  class: "w-tree__item-icon",
6820
6820
  color: h.originalItem[l.itemIconColorKey] || l.iconColor
@@ -6912,7 +6912,7 @@ const Ga = {
6912
6912
  if (this.currentDepthItems = [], !Array.isArray(e) && typeof e != "object")
6913
6913
  return J(`[w-tree] the tree items must be of type array or object, ${typeof e} received.`);
6914
6914
  Array.isArray(e) || (e = [e]), e.forEach((l, a) => {
6915
- var r;
6915
+ var n;
6916
6916
  this.currentDepthItems.push({
6917
6917
  originalItem: l,
6918
6918
  _uid: this.depth.toString() + (a + 1),
@@ -6922,7 +6922,7 @@ const Ga = {
6922
6922
  route: l[this.itemRouteKey],
6923
6923
  disabled: l[this.itemDisabledKey],
6924
6924
  depth: this.depth,
6925
- open: !!(((r = t[a]) == null ? void 0 : r.open) || this.expandAll || l[this.itemOpenKey])
6925
+ open: !!(((n = t[a]) == null ? void 0 : n.open) || this.expandAll || l[this.itemOpenKey])
6926
6926
  });
6927
6927
  });
6928
6928
  },
@@ -6940,8 +6940,8 @@ const Ga = {
6940
6940
  },
6941
6941
  onLabelKeydown(e, t) {
6942
6942
  if (!(t.metaKey || t.ctrlKey || t.altKey || t.shiftKey) && [13, 32, 37, 38, 39, 40].includes(t.which) && ((e.children || e.branch) && ([13, 32].includes(t.which) ? this.expandDepth(e) && t.preventDefault() : t.which === 37 ? this.expandDepth(e, !1) && t.preventDefault() : t.which === 39 && this.expandDepth(e, !0) && t.preventDefault()), [38, 40].includes(t.which))) {
6943
- const a = this.$el.closest(".w-tree--depth0").querySelectorAll('.w-tree__item-label[tabindex="0"]'), r = t.target.closest(".w-tree__item-label"), i = t.which === 38 ? -1 : 1;
6944
- [...a].some((o, n) => o.isSameNode(r) ? (a[n + i] && a[n + i].focus(), !0) : !1);
6943
+ const a = this.$el.closest(".w-tree--depth0").querySelectorAll('.w-tree__item-label[tabindex="0"]'), n = t.target.closest(".w-tree__item-label"), i = t.which === 38 ? -1 : 1;
6944
+ [...a].some((o, r) => o.isSameNode(n) ? (a[r + i] && a[r + i].focus(), !0) : !1);
6945
6945
  }
6946
6946
  this.selectable && this.emitItemSelection(e, t);
6947
6947
  },