wave-ui 3.7.2 → 3.8.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.
@@ -9,7 +9,7 @@ var Y = (e, t, i) => (ne(e, t, "read from private field"), i ? i.call(e) : t.get
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
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";
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 L, 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 _, Transition as O, normalizeStyle as R, resolveDynamicComponent as I, normalizeProps as le, resolveDirective as ge, withDirectives as N, createSlots as Z, vShow as ae, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
13
13
  const Ie = Q({
14
14
  on: "#app",
15
15
  breakpoints: {
@@ -437,21 +437,21 @@ const Ie = Q({
437
437
  baseIncrement: 4
438
438
  };
439
439
  let se = { keys: [], values: [] }, he = null;
440
- const Re = (e) => {
440
+ const Le = (e) => {
441
441
  let t = "";
442
442
  const i = {}, { info: o, warning: n, success: l, error: a, shades: r, ...d } = e, { cssScope: h } = q;
443
443
  for (const b in d)
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};`;
453
453
  }), `:root{${B}}${t}`;
454
- }, Le = (e, t) => {
454
+ }, Re = (e, t) => {
455
455
  let i = "";
456
456
  const { cssScope: o } = q;
457
457
  return e.forEach(({ min: n, label: l }) => {
@@ -505,7 +505,7 @@ 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;
@@ -526,7 +526,7 @@ 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
  }
@@ -534,30 +534,30 @@ const Re = (e) => {
534
534
  }, Pe = (e) => {
535
535
  if (!document.getElementById("wave-ui-colors")) {
536
536
  const t = document.createElement("style");
537
- t.id = "wave-ui-colors", t.innerHTML = Re(e);
537
+ t.id = "wave-ui-colors", t.innerHTML = Le(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 };
545
545
  }), o = getComputedStyle(document.documentElement);
546
546
  q.cssScope = o.getPropertyValue("--w-css-scope"), q.baseIncrement = parseInt(o.getPropertyValue("--w-base-increment"));
547
547
  let n = "";
548
- return n += Le(i, e.css.grid), e.css.breakpointLayoutClasses && (n += xe(i)), n;
549
- }, Me = ["innerHTML"];
548
+ return n += Re(i, e.css.grid), e.css.breakpointLayoutClasses && (n += xe(i)), n;
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, L(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() {
@@ -758,16 +758,16 @@ function qe(e, t, i, o, n, l) {
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, L(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,206 @@ 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 = ["model-value"], st = {
1043
+ key: 0,
1044
+ class: "w-autocomplete__menu",
1045
+ ref: "menu"
1046
+ }, ot = ["onClick"], at = ["innerHTML"], nt = ["innerHTML"];
1047
+ function rt(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[0] || (t[0] = (...d) => l.onClick && l.onClick(...d))
1052
+ }, [
1053
+ e.selection.length ? (s(!0), u(v, { key: 0 }, L(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: "wi-cross",
1060
+ xs: "",
1061
+ text: ""
1062
+ }, null, 8, ["onClick"])
1063
+ ]))), 256)) : c("", !0),
1064
+ !e.selection.length && !e.keywords && i.placeholder ? (s(), u("div", {
1065
+ key: 1,
1066
+ class: "w-autocomplete__placeholder",
1067
+ innerHTML: i.placeholder
1068
+ }, null, 8, it)) : c("", !0),
1069
+ y("input", C({
1070
+ class: "w-autocomplete__input",
1071
+ ref: "input",
1072
+ "model-value": e.keywords
1073
+ }, z(l.inputEventListeners, !0)), null, 16, lt),
1074
+ V(r, { y: "" }, {
1075
+ default: m(() => [
1076
+ e.menuOpen ? (s(), u("ul", st, [
1077
+ (s(!0), u(v, null, L(l.filteredItems, (d, h) => (s(), u("li", {
1078
+ key: h,
1079
+ onClick: M((k) => l.selectItem(d), ["stop"]),
1080
+ class: f({ highlighted: e.highlightedItem === d.uid })
1081
+ }, [
1082
+ y("span", {
1083
+ innerHTML: d[i.itemLabelKey]
1084
+ }, null, 8, at)
1085
+ ], 10, ot))), 128)),
1086
+ l.filteredItems.length ? c("", !0) : (s(), u("li", {
1087
+ key: 0,
1088
+ class: f(["w-autocomplete__no-match", { "w-autocomplete__no-match--default": !e.$slots.noMatch }])
1089
+ }, [
1090
+ p(e.$slots, "no-match", {}, () => {
1091
+ var d;
1092
+ return [
1093
+ y("div", {
1094
+ class: "caption",
1095
+ innerHTML: (d = i.noMatch) != null ? d : "No match."
1096
+ }, null, 8, nt)
1097
+ ];
1098
+ })
1099
+ ], 2))
1100
+ ], 512)) : c("", !0)
1101
+ ]),
1102
+ _: 3
1103
+ })
1104
+ ], 2);
1105
+ }
1106
+ const dt = {
1107
+ name: "w-autocomplete",
1108
+ props: {
1109
+ items: { type: Array, required: !0 },
1110
+ modelValue: { type: [String, Number, Array] },
1111
+ placeholder: { type: String },
1112
+ openOnKeydown: { type: Boolean },
1113
+ multiple: { type: Boolean },
1114
+ allowDuplicates: { type: Boolean },
1115
+ noMatch: { type: String },
1116
+ itemValueKey: { type: String, default: "value" },
1117
+ itemLabelKey: { type: String, default: "label" },
1118
+ itemSearchableKey: { type: String, default: "searchable" }
1119
+ },
1120
+ emits: ["input"],
1121
+ data: () => ({
1122
+ keywords: "",
1123
+ selection: [],
1124
+ menuOpen: !1,
1125
+ highlightedItem: null
1126
+ }),
1127
+ computed: {
1128
+ normalizedKeywords() {
1129
+ return this.normalize(this.keywords);
1130
+ },
1131
+ normalizedSelection() {
1132
+ return this.selection.map((e) => this.normalize(e == null ? void 0 : e.searchable));
1133
+ },
1134
+ optimizedItemsForSearch() {
1135
+ return this.items.map((e, t) => ({
1136
+ ...e,
1137
+ uid: t,
1138
+ searchable: this.normalize(e[this.itemSearchableKey] || "")
1139
+ }));
1140
+ },
1141
+ filteredItems() {
1142
+ let e = this.optimizedItemsForSearch;
1143
+ const t = this.normalizedSelection.join(","), i = (o) => !t.includes(o.searchable);
1144
+ 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;
1145
+ },
1146
+ highlightedItemIndex() {
1147
+ return this.highlightedItem === null ? -1 : this.filteredItems.findIndex((e) => e.uid === this.highlightedItem);
1148
+ },
1149
+ inputEventListeners() {
1150
+ return {
1151
+ ...this.$attrs,
1152
+ input: (e) => {
1153
+ this.keywords = e.target.value, typeof this.$attrs.input == "function" && this.$attrs.input(this.keywords);
1154
+ },
1155
+ focus: this.onFocus,
1156
+ keydown: this.onKeydown,
1157
+ drop: this.onDrop,
1158
+ compositionstart: this.onCompositionStart,
1159
+ compositionupdate: this.onCompositionUpdate
1160
+ };
1161
+ },
1162
+ classes() {
1163
+ return {
1164
+ "w-autocomplete--open": this.menuOpen,
1165
+ "w-autocomplete--filled": this.selection.length,
1166
+ "w-autocomplete--has-keywords": this.keywords,
1167
+ "w-autocomplete--empty": !this.selection.length && !this.keywords
1168
+ };
1169
+ }
1170
+ },
1171
+ methods: {
1172
+ normalize(e) {
1173
+ return e.toLowerCase().normalize("NFKD").replace(/\p{Diacritic}/gu, "").replace(/œ/g, "oe");
1174
+ },
1175
+ selectItem(e) {
1176
+ 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();
1177
+ },
1178
+ unselectItem(e) {
1179
+ this.selection.splice(e != null ? e : this.selection.length - 1, 1), this.highlightedItem = null, this.$emit("input", null), this.$refs.input.focus();
1180
+ },
1181
+ onClick() {
1182
+ this.openOnKeydown || this.openMenu(), this.$refs.input.focus();
1183
+ },
1184
+ onFocus() {
1185
+ this.openOnKeydown || this.openMenu();
1186
+ },
1187
+ onKeydown(e) {
1188
+ var i;
1189
+ const t = this.filteredItems.length;
1190
+ if ((!this.openOnKeydown || (this.keywords || e.key.length === 1) && !this.menuOpen) && this.openMenu(), e.keyCode === 9)
1191
+ this.closeMenu();
1192
+ else if (e.keyCode === 8 && (!this.keywords || !e.target.selectionStart && !e.target.selectionEnd))
1193
+ this.unselectItem();
1194
+ else if (e.keyCode === 13)
1195
+ e.preventDefault(), this.highlightedItemIndex >= 0 && this.selectItem(this.filteredItems[this.highlightedItemIndex]);
1196
+ else if ([38, 40].includes(e.keyCode)) {
1197
+ e.preventDefault();
1198
+ let o = this.highlightedItemIndex;
1199
+ 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;
1200
+ const n = this.$refs.menu;
1201
+ if (n) {
1202
+ const { offsetHeight: l, offsetTop: a } = n.childNodes[o] || {};
1203
+ n.scrollTop + n.offsetHeight - l < a ? n.scrollTop = a - n.offsetHeight + l : n.scrollTop > a && (n.scrollTop = a);
1204
+ }
1205
+ } else
1206
+ !this.multiple && this.selection.length && e.key.length === 1 && e.preventDefault();
1207
+ },
1208
+ onDrop(e) {
1209
+ !this.multiple && this.selection.length && e.preventDefault();
1210
+ },
1211
+ onCompositionStart(e) {
1212
+ !this.multiple && this.selection.length && e.target.setAttribute("readonly", !0);
1213
+ },
1214
+ onCompositionUpdate(e) {
1215
+ !this.multiple && this.selection.length && setTimeout(() => e.target.removeAttribute("readonly"), 200);
1216
+ },
1217
+ openMenu() {
1218
+ this.menuOpen || (this.menuOpen = !0, document.addEventListener("click", this.onDocumentClick));
1219
+ },
1220
+ closeMenu() {
1221
+ this.menuOpen = !1, document.removeEventListener("click", this.onDocumentClick);
1222
+ },
1223
+ onDocumentClick(e) {
1224
+ !this.$el.contains(e.target) && !this.$el.isSameNode(e.target) && this.closeMenu();
1225
+ }
1226
+ },
1227
+ created() {
1228
+ this.modelValue && (Array.isArray(this.modelValue) ? this.modelValue : [this.modelValue]).forEach((t) => {
1229
+ this.selection.push(this.optimizedItemsForSearch.find((i) => i[this.itemValueKey] === +t));
1230
+ });
1231
+ },
1232
+ beforeUnmount() {
1233
+ document.removeEventListener("click", this.onDocumentClick);
1234
+ }
1235
+ }, ut = /* @__PURE__ */ w(dt, [["render", rt]]), ht = { class: "w-app" };
1236
+ function ct(e, t, i, o, n, l) {
1237
+ return s(), u("div", ht, [
1045
1238
  p(e.$slots, "default")
1046
1239
  ]);
1047
1240
  }
1048
- const it = {
1241
+ const pt = {
1049
1242
  name: "w-app",
1050
1243
  props: {
1051
1244
  block: { type: Boolean },
@@ -1060,11 +1253,11 @@ const it = {
1060
1253
  textCenter: { type: Boolean },
1061
1254
  textRight: { type: Boolean }
1062
1255
  }
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)), [
1256
+ }, ft = /* @__PURE__ */ w(pt, [["render", ct]]);
1257
+ function mt(e, t, i, o, n, l) {
1258
+ return s(), u("div", C({ class: "w-badge-wrap" }, z(e.$attrs, !0)), [
1066
1259
  p(e.$slots, "default"),
1067
- I(O, {
1260
+ V(O, {
1068
1261
  name: `${i.transition}`
1069
1262
  }, {
1070
1263
  default: m(() => [
@@ -1086,7 +1279,7 @@ function st(e, t, i, o, n, l) {
1086
1279
  }, 8, ["name"])
1087
1280
  ], 16);
1088
1281
  }
1089
- const at = {
1282
+ const gt = {
1090
1283
  name: "w-badge",
1091
1284
  props: {
1092
1285
  modelValue: { default: !0 },
@@ -1149,13 +1342,13 @@ const at = {
1149
1342
  return this.forcedSize && `font-size: ${this.forcedSize}`;
1150
1343
  }
1151
1344
  }
1152
- }, ot = /* @__PURE__ */ v(at, [["render", st]]), nt = ["innerHTML"];
1153
- function rt(e, t, i, o, n, l) {
1345
+ }, bt = /* @__PURE__ */ w(gt, [["render", mt]]), yt = ["innerHTML"];
1346
+ function wt(e, t, i, o, n, l) {
1154
1347
  const a = $("w-icon");
1155
1348
  return s(), u("div", {
1156
1349
  class: f(["w-breadcrumbs", l.classes])
1157
1350
  }, [
1158
- (s(!0), u(k, null, L(i.items, (r, d) => (s(), u(k, null, [
1351
+ (s(!0), u(v, null, L(i.items, (r, d) => (s(), u(v, null, [
1159
1352
  d && e.$slots.separator ? (s(), u("span", {
1160
1353
  class: f(["w-breadcrumbs__separator", i.separatorColor]),
1161
1354
  key: `${d}a`
@@ -1170,8 +1363,8 @@ function rt(e, t, i, o, n, l) {
1170
1363
  ]),
1171
1364
  _: 2
1172
1365
  }, 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"), {
1366
+ r[i.itemRouteKey] && (d < i.items.length - 1 || i.linkLastItem) ? (s(), u(v, { key: 2 }, [
1367
+ e.$slots.item ? (s(), g(I(l.hasRouter ? "router-link" : "a"), {
1175
1368
  class: f(["w-breadcrumbs__item", i.color || null]),
1176
1369
  key: `${d}c`,
1177
1370
  to: l.hasRouter && r[i.itemRouteKey],
@@ -1185,7 +1378,7 @@ function rt(e, t, i, o, n, l) {
1185
1378
  })
1186
1379
  ]),
1187
1380
  _: 2
1188
- }, 1032, ["to", "href", "class"])) : (s(), g(V(l.hasRouter ? "router-link" : "a"), {
1381
+ }, 1032, ["to", "href", "class"])) : (s(), g(I(l.hasRouter ? "router-link" : "a"), {
1189
1382
  class: f(["w-breadcrumbs__item", i.color || null]),
1190
1383
  key: `${d}d`,
1191
1384
  to: l.hasRouter && r[i.itemRouteKey],
@@ -1200,11 +1393,11 @@ function rt(e, t, i, o, n, l) {
1200
1393
  }) : (s(), u("span", {
1201
1394
  key: `${d}f`,
1202
1395
  innerHTML: r[i.itemLabelKey]
1203
- }, null, 8, nt))
1396
+ }, null, 8, yt))
1204
1397
  ], 64))), 256))
1205
1398
  ], 2);
1206
1399
  }
1207
- const dt = {
1400
+ const vt = {
1208
1401
  name: "w-breadcrumbs",
1209
1402
  props: {
1210
1403
  items: { type: Array, required: !0 },
@@ -1234,11 +1427,11 @@ const dt = {
1234
1427
  };
1235
1428
  }
1236
1429
  }
1237
- }, ut = /* @__PURE__ */ v(dt, [["render", rt]]), ht = {
1430
+ }, kt = /* @__PURE__ */ w(vt, [["render", wt]]), _t = {
1238
1431
  key: 0,
1239
1432
  class: "w-button__loader"
1240
- }, ct = /* @__PURE__ */ w("svg", { viewBox: "0 0 40 40" }, [
1241
- /* @__PURE__ */ w("circle", {
1433
+ }, Ct = /* @__PURE__ */ y("svg", { viewBox: "0 0 40 40" }, [
1434
+ /* @__PURE__ */ y("circle", {
1242
1435
  cx: "20",
1243
1436
  cy: "20",
1244
1437
  r: "18",
@@ -1248,14 +1441,14 @@ const dt = {
1248
1441
  "stroke-linecap": "round"
1249
1442
  })
1250
1443
  ], -1);
1251
- function pt(e, t, i, o, n, l) {
1444
+ function St(e, t, i, o, n, l) {
1252
1445
  const a = $("w-icon");
1253
- return s(), g(V(i.route ? "a" : "button"), C({
1446
+ return s(), g(I(i.route ? "a" : "button"), C({
1254
1447
  class: ["w-button", l.classes],
1255
1448
  type: !i.route && i.type,
1256
1449
  href: i.route && (l.externalLink ? i.route : l.resolvedRoute) || null,
1257
1450
  disabled: !!i.disabled || null
1258
- }, W(l.listeners), { style: l.styles }), {
1451
+ }, z(l.listeners), { style: l.styles }), {
1259
1452
  default: m(() => [
1260
1453
  i.icon ? (s(), g(a, le(C({ key: 0 }, i.iconProps || {})), {
1261
1454
  default: m(() => [
@@ -1263,11 +1456,11 @@ function pt(e, t, i, o, n, l) {
1263
1456
  ]),
1264
1457
  _: 1
1265
1458
  }, 16)) : p(e.$slots, "default", { key: 1 }),
1266
- I(O, { name: "scale-fade" }, {
1459
+ V(O, { name: "scale-fade" }, {
1267
1460
  default: m(() => [
1268
- i.loading ? (s(), u("div", ht, [
1461
+ i.loading ? (s(), u("div", _t, [
1269
1462
  p(e.$slots, "loading", {}, () => [
1270
- ct
1463
+ Ct
1271
1464
  ])
1272
1465
  ])) : c("", !0)
1273
1466
  ]),
@@ -1277,7 +1470,7 @@ function pt(e, t, i, o, n, l) {
1277
1470
  _: 3
1278
1471
  }, 16, ["type", "href", "class", "disabled", "style"]);
1279
1472
  }
1280
- const ft = {
1473
+ const Bt = {
1281
1474
  props: {
1282
1475
  color: { type: String },
1283
1476
  bgColor: { type: String },
@@ -1367,12 +1560,12 @@ const ft = {
1367
1560
  };
1368
1561
  }
1369
1562
  }
1370
- }, mt = /* @__PURE__ */ v(ft, [["render", pt]]), gt = ["innerHTML"];
1371
- function bt(e, t, i, o, n, l) {
1563
+ }, $t = /* @__PURE__ */ w(Bt, [["render", St]]), Vt = ["innerHTML"];
1564
+ function It(e, t, i, o, n, l) {
1372
1565
  const a = $("button-partial");
1373
- return i.tooltip ? (s(), g(V("w-tooltip"), le(C({ key: 0 }, i.tooltipProps || {})), {
1566
+ return i.tooltip ? (s(), g(I("w-tooltip"), le(C({ key: 0 }, i.tooltipProps || {})), {
1374
1567
  activator: m(({ on: r }) => [
1375
- I(a, C(l.buttonProps, W(r)), {
1568
+ V(a, C(l.buttonProps, z(r)), {
1376
1569
  default: m(() => [
1377
1570
  p(e.$slots, "default")
1378
1571
  ]),
@@ -1380,7 +1573,7 @@ function bt(e, t, i, o, n, l) {
1380
1573
  }, 1040)
1381
1574
  ]),
1382
1575
  default: m(() => [
1383
- w("div", { innerHTML: i.tooltip }, null, 8, gt)
1576
+ y("div", { innerHTML: i.tooltip }, null, 8, Vt)
1384
1577
  ]),
1385
1578
  _: 3
1386
1579
  }, 16)) : (s(), g(a, le(C({ key: 1 }, l.buttonProps)), {
@@ -1393,7 +1586,7 @@ function bt(e, t, i, o, n, l) {
1393
1586
  _: 3
1394
1587
  }, 16));
1395
1588
  }
1396
- const yt = {
1589
+ const Tt = {
1397
1590
  name: "w-button",
1398
1591
  inheritAttrs: !1,
1399
1592
  props: {
@@ -1429,7 +1622,7 @@ const yt = {
1429
1622
  lg: { type: Boolean },
1430
1623
  xl: { type: Boolean }
1431
1624
  },
1432
- components: { ButtonPartial: mt },
1625
+ components: { ButtonPartial: $t },
1433
1626
  emits: [],
1434
1627
  computed: {
1435
1628
  buttonProps() {
@@ -1437,8 +1630,8 @@ const yt = {
1437
1630
  return { ...i, ...this.$attrs };
1438
1631
  }
1439
1632
  }
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) {
1633
+ }, Lt = /* @__PURE__ */ w(Tt, [["render", It]]), A = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), Rt = ["innerHTML"];
1634
+ function xt(e, t, i, o, n, l) {
1442
1635
  const a = $("w-image");
1443
1636
  return s(), u("div", {
1444
1637
  class: f(["w-card", l.classes])
@@ -1452,7 +1645,7 @@ function kt(e, t, i, o, n, l) {
1452
1645
  key: 1,
1453
1646
  class: f(["w-card__title", { "w-card__title--has-toolbar": e.$slots.title && l.titleHasToolbar, ...l.titleClasses }]),
1454
1647
  innerHTML: i.title
1455
- }, null, 10, vt)) : c("", !0),
1648
+ }, null, 10, Rt)) : c("", !0),
1456
1649
  i.image ? (s(), g(a, C({
1457
1650
  key: 2,
1458
1651
  class: "w-card__image",
@@ -1463,7 +1656,7 @@ function kt(e, t, i, o, n, l) {
1463
1656
  ]),
1464
1657
  _: 3
1465
1658
  }, 16, ["src"])) : c("", !0),
1466
- w("div", {
1659
+ y("div", {
1467
1660
  class: f(["w-card__content", l.contentClasses])
1468
1661
  }, [
1469
1662
  p(e.$slots, "default")
@@ -1476,7 +1669,7 @@ function kt(e, t, i, o, n, l) {
1476
1669
  ], 2)) : c("", !0)
1477
1670
  ], 2);
1478
1671
  }
1479
- const _t = {
1672
+ const Ot = {
1480
1673
  name: "w-card",
1481
1674
  props: {
1482
1675
  color: { type: String },
@@ -1527,7 +1720,7 @@ const _t = {
1527
1720
  };
1528
1721
  }
1529
1722
  }
1530
- }, Ct = /* @__PURE__ */ v(_t, [["render", kt]]), z = {
1723
+ }, Pt = /* @__PURE__ */ w(Ot, [["render", xt]]), E = {
1531
1724
  inject: {
1532
1725
  formRegister: { default: null },
1533
1726
  formProps: { default: () => ({ disabled: !1, readonly: !1 }) }
@@ -1568,13 +1761,13 @@ const _t = {
1568
1761
  this.$refs.formEl.validate(this);
1569
1762
  }
1570
1763
  }
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 }, {
1764
+ }, Mt = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], zt = ["for"], Et = ["for", "innerHTML"], Wt = /* @__PURE__ */ y("svg", { viewBox: "-0.5 0 12 10" }, [
1765
+ /* @__PURE__ */ y("polyline", { points: "1 5 4 8 10 2" })
1766
+ ], -1), At = [
1767
+ Wt
1768
+ ], Nt = ["for"], Kt = ["for", "innerHTML"];
1769
+ function Ht(e, t, i, o, n, l) {
1770
+ 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
1771
  valid: e.valid,
1579
1772
  "onUpdate:valid": t[5] || (t[5] = (a) => e.valid = a),
1580
1773
  onReset: t[6] || (t[6] = (a) => {
@@ -1583,7 +1776,7 @@ function Lt(e, t, i, o, n, l) {
1583
1776
  class: l.classes
1584
1777
  }), {
1585
1778
  default: m(() => [
1586
- w("input", {
1779
+ y("input", {
1587
1780
  ref: "input",
1588
1781
  id: `w-checkbox--${e._.uid}`,
1589
1782
  type: "checkbox",
@@ -1595,11 +1788,11 @@ function Lt(e, t, i, o, n, l) {
1595
1788
  onFocus: t[0] || (t[0] = (a) => e.$emit("focus", a)),
1596
1789
  onBlur: t[1] || (t[1] = (a) => e.$emit("blur", a)),
1597
1790
  onChange: t[2] || (t[2] = (a) => l.onInput()),
1598
- onKeypress: t[3] || (t[3] = E((...a) => l.onInput && l.onInput(...a), ["enter"])),
1791
+ onKeypress: t[3] || (t[3] = W((...a) => l.onInput && l.onInput(...a), ["enter"])),
1599
1792
  "aria-checked": n.isChecked || "false",
1600
1793
  role: "checkbox"
1601
- }, null, 40, St),
1602
- l.hasLabel && i.labelOnLeft ? (s(), u(k, { key: 0 }, [
1794
+ }, null, 40, Mt),
1795
+ l.hasLabel && i.labelOnLeft ? (s(), u(v, { key: 0 }, [
1603
1796
  e.$slots.default ? (s(), u("label", {
1604
1797
  key: 0,
1605
1798
  class: f(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
@@ -1608,20 +1801,20 @@ function Lt(e, t, i, o, n, l) {
1608
1801
  p(e.$slots, "default", {}, () => [
1609
1802
  S(_(i.label), 1)
1610
1803
  ])
1611
- ], 10, Bt)) : i.label ? (s(), u("label", {
1804
+ ], 10, zt)) : i.label ? (s(), u("label", {
1612
1805
  key: 1,
1613
1806
  class: f(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
1614
1807
  for: `w-checkbox--${e._.uid}`,
1615
1808
  innerHTML: i.label
1616
- }, null, 10, $t)) : c("", !0)
1809
+ }, null, 10, Et)) : c("", !0)
1617
1810
  ], 64)) : c("", !0),
1618
- w("div", {
1811
+ y("div", {
1619
1812
  class: f(["w-checkbox__input", this.color]),
1620
1813
  onClick: t[4] || (t[4] = (a) => {
1621
1814
  e.$refs.input.focus(), e.$refs.input.click();
1622
1815
  })
1623
- }, It, 2),
1624
- l.hasLabel && !i.labelOnLeft ? (s(), u(k, { key: 1 }, [
1816
+ }, At, 2),
1817
+ l.hasLabel && !i.labelOnLeft ? (s(), u(v, { key: 1 }, [
1625
1818
  e.$slots.default ? (s(), u("label", {
1626
1819
  key: 0,
1627
1820
  class: f(["w-checkbox__label w-form-el-shakable pl2", e.labelClasses]),
@@ -1630,20 +1823,20 @@ function Lt(e, t, i, o, n, l) {
1630
1823
  p(e.$slots, "default", {}, () => [
1631
1824
  S(_(i.label), 1)
1632
1825
  ])
1633
- ], 10, Tt)) : i.label ? (s(), u("label", {
1826
+ ], 10, Nt)) : i.label ? (s(), u("label", {
1634
1827
  key: 1,
1635
1828
  class: f(["w-checkbox__label w-form-el-shakable pl2", e.labelClasses]),
1636
1829
  for: `w-checkbox--${e._.uid}`,
1637
1830
  innerHTML: i.label
1638
- }, null, 10, Rt)) : c("", !0)
1831
+ }, null, 10, Kt)) : c("", !0)
1639
1832
  ], 64)) : c("", !0)
1640
1833
  ]),
1641
1834
  _: 3
1642
1835
  }, 16, ["valid", "class"]);
1643
1836
  }
1644
- const xt = {
1837
+ const Dt = {
1645
1838
  name: "w-checkbox",
1646
- mixins: [z],
1839
+ mixins: [E],
1647
1840
  inject: {
1648
1841
  wCheckboxes: { default: null }
1649
1842
  },
@@ -1703,10 +1896,10 @@ const xt = {
1703
1896
  this.isChecked = e;
1704
1897
  }
1705
1898
  }
1706
- }, Ot = /* @__PURE__ */ v(xt, [["render", Lt]]), Pt = ["innerHTML"];
1707
- function zt(e, t, i, o, n, l) {
1899
+ }, Ft = /* @__PURE__ */ w(Dt, [["render", Ht]]), jt = ["innerHTML"];
1900
+ function Ut(e, t, i, o, n, l) {
1708
1901
  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 }, {
1902
+ 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
1903
  valid: e.valid,
1711
1904
  "onUpdate:valid": t[1] || (t[1] = (r) => e.valid = r),
1712
1905
  onReset: l.reset,
@@ -1715,7 +1908,7 @@ function zt(e, t, i, o, n, l) {
1715
1908
  class: l.classes
1716
1909
  }), {
1717
1910
  default: m(() => [
1718
- (s(!0), u(k, null, L(l.checkboxItems, (r, d) => (s(), g(a, C({
1911
+ (s(!0), u(v, null, L(l.checkboxItems, (r, d) => (s(), g(a, C({
1719
1912
  key: d,
1720
1913
  "model-value": r._isChecked,
1721
1914
  "onUpdate:modelValue": (h) => l.toggleCheck(r, h),
@@ -1736,7 +1929,7 @@ function zt(e, t, i, o, n, l) {
1736
1929
  }) : r.label ? (s(), u("div", {
1737
1930
  key: 1,
1738
1931
  innerHTML: r.label
1739
- }, null, 8, Pt)) : c("", !0)
1932
+ }, null, 8, jt)) : c("", !0)
1740
1933
  ]),
1741
1934
  _: 2
1742
1935
  }, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
@@ -1744,9 +1937,9 @@ function zt(e, t, i, o, n, l) {
1744
1937
  _: 3
1745
1938
  }, 16, ["valid", "onReset", "column", "wrap", "class"]);
1746
1939
  }
1747
- const Mt = {
1940
+ const qt = {
1748
1941
  name: "w-checkboxes",
1749
- mixins: [z],
1942
+ mixins: [E],
1750
1943
  props: {
1751
1944
  items: { type: Array, required: !0 },
1752
1945
  modelValue: { type: Array },
@@ -1798,15 +1991,15 @@ const Mt = {
1798
1991
  return this.items[e._index];
1799
1992
  }
1800
1993
  }
1801
- }, Et = /* @__PURE__ */ v(Mt, [["render", zt]]);
1802
- function Wt(e, t, i, o, n, l) {
1994
+ }, Xt = /* @__PURE__ */ w(qt, [["render", Ut]]);
1995
+ function Yt(e, t, i, o, n, l) {
1803
1996
  const a = $("w-button"), r = $("w-flex"), d = $("w-menu"), h = ge("focus");
1804
1997
  return s(), g(d, C({
1805
1998
  modelValue: e.showPopup,
1806
- "onUpdate:modelValue": t[2] || (t[2] = (y) => e.showPopup = y)
1999
+ "onUpdate:modelValue": t[2] || (t[2] = (k) => e.showPopup = k)
1807
2000
  }, l.wMenuProps), {
1808
- activator: m(({ on: y }) => [
1809
- I(a, C({ class: "w-confirm" }, { ...e.$attrs, ...l.buttonProps, ...i.disablePrompt ? {} : y }), {
2001
+ activator: m(({ on: k }) => [
2002
+ V(a, C({ class: "w-confirm" }, { ...e.$attrs, ...l.buttonProps, ...i.disablePrompt ? {} : k }), {
1810
2003
  default: m(() => [
1811
2004
  p(e.$slots, "default")
1812
2005
  ]),
@@ -1814,17 +2007,17 @@ function Wt(e, t, i, o, n, l) {
1814
2007
  }, 1040)
1815
2008
  ]),
1816
2009
  default: m(() => [
1817
- I(r, {
2010
+ V(r, {
1818
2011
  column: !i.inline,
1819
2012
  "align-center": ""
1820
2013
  }, {
1821
2014
  default: m(() => [
1822
- w("div", null, [
2015
+ y("div", null, [
1823
2016
  p(e.$slots, "question", {}, () => [
1824
2017
  S(_(i.question), 1)
1825
2018
  ])
1826
2019
  ]),
1827
- w("div", {
2020
+ y("div", {
1828
2021
  class: f(["w-flex justify-end", i.inline ? "ml2" : "mt2"])
1829
2022
  }, [
1830
2023
  i.cancel !== !1 ? (s(), g(a, C({
@@ -1832,7 +2025,7 @@ function Wt(e, t, i, o, n, l) {
1832
2025
  class: "mr2"
1833
2026
  }, l.cancelButtonProps, {
1834
2027
  "bg-color": (l.cancelButton || {}).bgColor || "error",
1835
- onKeyup: t[0] || (t[0] = E((y) => !i.persistent && l.onCancel(), ["escape"])),
2028
+ onKeyup: t[0] || (t[0] = W((k) => !i.persistent && l.onCancel(), ["escape"])),
1836
2029
  onClick: l.onCancel
1837
2030
  }), {
1838
2031
  default: m(() => [
@@ -1844,7 +2037,7 @@ function Wt(e, t, i, o, n, l) {
1844
2037
  }, 16, ["bg-color", "onClick"])) : c("", !0),
1845
2038
  N((s(), g(a, C(l.confirmButtonProps, {
1846
2039
  "bg-color": (l.confirmButton || {}).bgColor || "success",
1847
- onKeyup: t[1] || (t[1] = E((y) => !i.persistent && l.onCancel(), ["escape"])),
2040
+ onKeyup: t[1] || (t[1] = W((k) => !i.persistent && l.onCancel(), ["escape"])),
1848
2041
  onClick: l.onConfirm
1849
2042
  }), {
1850
2043
  default: m(() => [
@@ -1864,7 +2057,7 @@ function Wt(e, t, i, o, n, l) {
1864
2057
  _: 3
1865
2058
  }, 16, ["modelValue"]);
1866
2059
  }
1867
- const At = {
2060
+ const Gt = {
1868
2061
  name: "w-confirm",
1869
2062
  inheritAttrs: !1,
1870
2063
  props: {
@@ -1957,8 +2150,8 @@ const At = {
1957
2150
  this.$emit("confirm"), this.showPopup = !1;
1958
2151
  }
1959
2152
  }
1960
- }, Nt = /* @__PURE__ */ v(At, [["render", Wt]]);
1961
- function Kt(e, t, i, o, n, l) {
2153
+ }, Jt = /* @__PURE__ */ w(Gt, [["render", Yt]]);
2154
+ function Qt(e, t, i, o, n, l) {
1962
2155
  return s(), u("div", {
1963
2156
  class: f(["w-date-picker", l.classes]),
1964
2157
  style: R(l.styles)
@@ -1966,7 +2159,7 @@ function Kt(e, t, i, o, n, l) {
1966
2159
  p(e.$slots, "default")
1967
2160
  ], 6);
1968
2161
  }
1969
- const Ht = {
2162
+ const Zt = {
1970
2163
  name: "w-date-picker",
1971
2164
  props: {
1972
2165
  dark: { type: Boolean },
@@ -1984,8 +2177,8 @@ const Ht = {
1984
2177
  return !1;
1985
2178
  }
1986
2179
  }
1987
- }, Dt = /* @__PURE__ */ v(Ht, [["render", Kt]]);
1988
- function Ft(e, t, i, o, n, l) {
2180
+ }, ei = /* @__PURE__ */ w(Zt, [["render", Qt]]);
2181
+ function ti(e, t, i, o, n, l) {
1989
2182
  const a = $("w-card"), r = $("w-overlay");
1990
2183
  return s(), g(r, {
1991
2184
  class: f(["w-dialog", l.classes]),
@@ -1998,13 +2191,13 @@ function Ft(e, t, i, o, n, l) {
1998
2191
  opacity: i.overlayOpacity
1999
2192
  }, {
2000
2193
  default: m(() => [
2001
- I(O, {
2194
+ V(O, {
2002
2195
  name: i.transition,
2003
2196
  appear: "",
2004
2197
  onAfterLeave: l.onBeforeClose
2005
2198
  }, {
2006
2199
  default: m(() => [
2007
- N(I(a, {
2200
+ N(V(a, {
2008
2201
  class: f(["w-dialog__content", i.dialogClass]),
2009
2202
  ref: "dialog",
2010
2203
  "no-border": "",
@@ -2035,7 +2228,7 @@ function Ft(e, t, i, o, n, l) {
2035
2228
  key: "1"
2036
2229
  } : void 0
2037
2230
  ]), 1032, ["color", "bg-color", "class", "title-class", "content-class", "title", "style"]), [
2038
- [oe, n.showContent]
2231
+ [ae, n.showContent]
2039
2232
  ])
2040
2233
  ]),
2041
2234
  _: 3
@@ -2044,7 +2237,7 @@ function Ft(e, t, i, o, n, l) {
2044
2237
  _: 3
2045
2238
  }, 8, ["model-value", "persistent", "persistent-no-animation", "onClick", "onClose", "bg-color", "opacity", "class"]);
2046
2239
  }
2047
- const jt = {
2240
+ const ii = {
2048
2241
  name: "w-dialog",
2049
2242
  props: {
2050
2243
  modelValue: { default: !0 },
@@ -2111,17 +2304,17 @@ const jt = {
2111
2304
  this.showWrapper = e, this.showContent = e;
2112
2305
  }
2113
2306
  }
2114
- }, Ut = /* @__PURE__ */ v(jt, [["render", Ft]]), qt = ["role", "aria-orientation"];
2115
- function Xt(e, t, i, o, n, l) {
2307
+ }, li = /* @__PURE__ */ w(ii, [["render", ti]]), si = ["role", "aria-orientation"];
2308
+ function oi(e, t, i, o, n, l) {
2116
2309
  return s(), u("div", {
2117
2310
  class: f(["w-divider", l.classes]),
2118
2311
  role: e.$slots.default ? null : "presentation",
2119
2312
  "aria-orientation": i.vertical ? "vertical" : "horizontal"
2120
2313
  }, [
2121
2314
  p(e.$slots, "default")
2122
- ], 10, qt);
2315
+ ], 10, si);
2123
2316
  }
2124
- const Yt = {
2317
+ const ai = {
2125
2318
  name: "w-divider",
2126
2319
  props: {
2127
2320
  vertical: { type: Boolean },
@@ -2141,8 +2334,8 @@ const Yt = {
2141
2334
  };
2142
2335
  }
2143
2336
  }
2144
- }, Gt = /* @__PURE__ */ v(Yt, [["render", Xt]]), Jt = { class: "w-drawer-wrap__pushable" };
2145
- function Qt(e, t, i, o, n, l) {
2337
+ }, ni = /* @__PURE__ */ w(ai, [["render", oi]]), ri = { class: "w-drawer-wrap__pushable" };
2338
+ function di(e, t, i, o, n, l) {
2146
2339
  const a = $("w-overlay");
2147
2340
  return n.showWrapper || i.pushContent ? (s(), u("div", {
2148
2341
  key: 0,
@@ -2153,7 +2346,7 @@ function Qt(e, t, i, o, n, l) {
2153
2346
  class: "w-drawer-wrap__track",
2154
2347
  style: R(l.trackStyles)
2155
2348
  }, [
2156
- w("div", Jt, [
2349
+ y("div", ri, [
2157
2350
  i.noOverlay ? c("", !0) : (s(), g(a, {
2158
2351
  key: 0,
2159
2352
  modelValue: n.showDrawer,
@@ -2166,13 +2359,13 @@ function Qt(e, t, i, o, n, l) {
2166
2359
  }, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
2167
2360
  p(e.$slots, "pushable")
2168
2361
  ]),
2169
- I(O, {
2362
+ V(O, {
2170
2363
  name: "fade",
2171
2364
  onBeforeLeave: l.onBeforeClose,
2172
2365
  onAfterLeave: l.onClose
2173
2366
  }, {
2174
2367
  default: m(() => [
2175
- n.showDrawer ? (s(), g(V(i.tag || "aside"), {
2368
+ n.showDrawer ? (s(), g(I(i.tag || "aside"), {
2176
2369
  key: 0,
2177
2370
  class: f(["w-drawer", l.drawerClasses]),
2178
2371
  ref: "drawer",
@@ -2186,7 +2379,7 @@ function Qt(e, t, i, o, n, l) {
2186
2379
  ]),
2187
2380
  _: 3
2188
2381
  }, 8, ["onBeforeLeave", "onAfterLeave"])
2189
- ], 4)) : (s(), u(k, { key: 1 }, [
2382
+ ], 4)) : (s(), u(v, { key: 1 }, [
2190
2383
  i.noOverlay ? c("", !0) : (s(), g(a, {
2191
2384
  key: 0,
2192
2385
  modelValue: n.showDrawer,
@@ -2197,14 +2390,14 @@ function Qt(e, t, i, o, n, l) {
2197
2390
  "bg-color": i.overlayColor,
2198
2391
  opacity: i.overlayOpacity
2199
2392
  }, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
2200
- I(O, {
2393
+ V(O, {
2201
2394
  name: l.transitionName,
2202
2395
  appear: "",
2203
2396
  onBeforeLeave: l.onBeforeClose,
2204
2397
  onAfterLeave: l.onClose
2205
2398
  }, {
2206
2399
  default: m(() => [
2207
- n.showDrawer ? (s(), g(V(i.tag || "aside"), {
2400
+ n.showDrawer ? (s(), g(I(i.tag || "aside"), {
2208
2401
  key: 0,
2209
2402
  class: f(["w-drawer", l.drawerClasses]),
2210
2403
  ref: "drawer",
@@ -2221,7 +2414,7 @@ function Qt(e, t, i, o, n, l) {
2221
2414
  ], 64))
2222
2415
  ], 2)) : c("", !0);
2223
2416
  }
2224
- const Zt = { left: "right", right: "left", top: "down", bottom: "up" }, ei = {
2417
+ const ui = { left: "right", right: "left", top: "down", bottom: "up" }, hi = {
2225
2418
  name: "w-drawer",
2226
2419
  props: {
2227
2420
  modelValue: { default: !0 },
@@ -2307,7 +2500,7 @@ const Zt = { left: "right", right: "left", top: "down", bottom: "up" }, ei = {
2307
2500
  return !this.showWrapper;
2308
2501
  },
2309
2502
  transitionName() {
2310
- return `slide-${Zt[this.position]}`;
2503
+ return `slide-${ui[this.position]}`;
2311
2504
  }
2312
2505
  },
2313
2506
  methods: {
@@ -2326,9 +2519,9 @@ const Zt = { left: "right", right: "left", top: "down", bottom: "up" }, ei = {
2326
2519
  e && (this.showWrapper = !0), this.showDrawer = e;
2327
2520
  }
2328
2521
  }
2329
- }, ti = /* @__PURE__ */ v(ei, [["render", Qt]]);
2330
- function ii(e, t, i, o, n, l) {
2331
- return s(), g(V(i.tag), {
2522
+ }, ci = /* @__PURE__ */ w(hi, [["render", di]]);
2523
+ function pi(e, t, i, o, n, l) {
2524
+ return s(), g(I(i.tag), {
2332
2525
  class: f(["w-flex", l.classes])
2333
2526
  }, {
2334
2527
  default: m(() => [
@@ -2337,7 +2530,7 @@ function ii(e, t, i, o, n, l) {
2337
2530
  _: 3
2338
2531
  }, 8, ["class"]);
2339
2532
  }
2340
- const li = {
2533
+ const fi = {
2341
2534
  name: "w-flex",
2342
2535
  props: {
2343
2536
  tag: { type: String, default: "div" },
@@ -2384,8 +2577,8 @@ const li = {
2384
2577
  };
2385
2578
  }
2386
2579
  }
2387
- }, si = /* @__PURE__ */ v(li, [["render", ii]]);
2388
- function ai(e, t, i, o, n, l) {
2580
+ }, mi = /* @__PURE__ */ w(fi, [["render", pi]]);
2581
+ function gi(e, t, i, o, n, l) {
2389
2582
  return s(), u("form", {
2390
2583
  class: f(["w-form", l.classes]),
2391
2584
  onSubmit: t[0] || (t[0] = (...a) => l.onSubmit && l.onSubmit(...a)),
@@ -2395,12 +2588,12 @@ function ai(e, t, i, o, n, l) {
2395
2588
  p(e.$slots, "default")
2396
2589
  ], 34);
2397
2590
  }
2398
- const oi = async (e, t) => {
2591
+ const bi = async (e, t) => {
2399
2592
  for (const i of e)
2400
2593
  if (await t(i))
2401
2594
  return !0;
2402
2595
  return !1;
2403
- }, ni = {
2596
+ }, yi = {
2404
2597
  name: "w-form",
2405
2598
  props: {
2406
2599
  modelValue: {},
@@ -2467,7 +2660,7 @@ const oi = async (e, t) => {
2467
2660
  },
2468
2661
  async checkElementValidators(e) {
2469
2662
  let t = !1, i = "";
2470
- await oi(e.validators, async (o) => {
2663
+ await bi(e.validators, async (o) => {
2471
2664
  const n = await (typeof o == "function" && o(e.inputValue));
2472
2665
  return t = typeof n != "string", i = t ? "" : n, !t;
2473
2666
  }), e.hasJustReset = !1, e.Validation.isValid = t, e.Validation.message = i;
@@ -2490,18 +2683,18 @@ const oi = async (e, t) => {
2490
2683
  (this.status === !1 && e || e === null && this.status !== null) && this.reset(), this.status = e;
2491
2684
  }
2492
2685
  }
2493
- }, ri = /* @__PURE__ */ v(ni, [["render", ai]]);
2494
- function di(e, t, i, o, n, l) {
2686
+ }, wi = /* @__PURE__ */ w(yi, [["render", gi]]);
2687
+ function vi(e, t, i, o, n, l) {
2495
2688
  const a = $("w-transition-expand");
2496
2689
  return s(), u("div", {
2497
2690
  class: f(l.classes)
2498
2691
  }, [
2499
- w("div", {
2692
+ y("div", {
2500
2693
  class: f(["w-flex grow", [i.column ? "column" : "align-center", i.wrap ? "wrap" : ""]])
2501
2694
  }, [
2502
2695
  p(e.$slots, "default")
2503
2696
  ], 2),
2504
- I(a, { y: "" }, {
2697
+ V(a, { y: "" }, {
2505
2698
  default: m(() => [
2506
2699
  e.Validation.message ? (s(), u("div", {
2507
2700
  key: 0,
@@ -2518,7 +2711,7 @@ function di(e, t, i, o, n, l) {
2518
2711
  })
2519
2712
  ], 2);
2520
2713
  }
2521
- const ui = {
2714
+ const ki = {
2522
2715
  name: "w-form-element",
2523
2716
  props: {
2524
2717
  valid: { required: !0 },
@@ -2584,9 +2777,9 @@ const ui = {
2584
2777
  beforeUnmount() {
2585
2778
  this.formUnregister && this.formUnregister(this);
2586
2779
  }
2587
- }, hi = /* @__PURE__ */ v(ui, [["render", di]]);
2588
- function ci(e, t, i, o, n, l) {
2589
- return s(), g(V(i.tag), {
2780
+ }, _i = /* @__PURE__ */ w(ki, [["render", vi]]);
2781
+ function Ci(e, t, i, o, n, l) {
2782
+ return s(), g(I(i.tag), {
2590
2783
  class: f(["w-grid", l.classes])
2591
2784
  }, {
2592
2785
  default: m(() => [
@@ -2595,7 +2788,7 @@ function ci(e, t, i, o, n, l) {
2595
2788
  _: 3
2596
2789
  }, 8, ["class"]);
2597
2790
  }
2598
- const pi = {
2791
+ const Si = {
2599
2792
  name: "w-grid",
2600
2793
  props: {
2601
2794
  tag: { type: String, default: "div" },
@@ -2639,23 +2832,23 @@ const pi = {
2639
2832
  };
2640
2833
  }
2641
2834
  }
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), {
2835
+ }, Bi = /* @__PURE__ */ w(Si, [["render", Ci]]);
2836
+ function $i(e, t, i, o, n, l) {
2837
+ return s(), g(I(i.tag || "i"), C({ class: "w-icon" }, z(e.$attrs), {
2645
2838
  class: l.classes,
2646
2839
  role: "icon",
2647
2840
  "aria-hidden": "true",
2648
2841
  style: l.readIcon() && l.styles
2649
2842
  }), {
2650
2843
  default: m(() => [
2651
- l.hasLigature ? (s(), u(k, { key: 0 }, [
2844
+ l.hasLigature ? (s(), u(v, { key: 0 }, [
2652
2845
  S(_(e.icon), 1)
2653
2846
  ], 64)) : c("", !0)
2654
2847
  ]),
2655
2848
  _: 1
2656
2849
  }, 16, ["class", "style"]);
2657
2850
  }
2658
- const gi = {
2851
+ const Vi = {
2659
2852
  name: "w-icon",
2660
2853
  props: {
2661
2854
  tag: { type: String, default: "i" },
@@ -2724,23 +2917,23 @@ const gi = {
2724
2917
  return this.fontName = t, this.icon = i, !0;
2725
2918
  }
2726
2919
  }
2727
- }, bi = /* @__PURE__ */ v(gi, [["render", mi]]), yi = {
2920
+ }, Ii = /* @__PURE__ */ w(Vi, [["render", $i]]), Ti = {
2728
2921
  key: 0,
2729
2922
  class: "w-image__loader"
2730
2923
  };
2731
- function wi(e, t, i, o, n, l) {
2924
+ function Li(e, t, i, o, n, l) {
2732
2925
  const a = $("w-progress");
2733
- return s(), g(V(l.wrapperTag), {
2926
+ return s(), g(I(l.wrapperTag), {
2734
2927
  class: f(["w-image-wrap", l.wrapperClasses]),
2735
2928
  style: R(l.wrapperStyles)
2736
2929
  }, {
2737
2930
  default: m(() => [
2738
- I(O, {
2931
+ V(O, {
2739
2932
  name: i.transition,
2740
2933
  appear: ""
2741
2934
  }, {
2742
2935
  default: m(() => [
2743
- n.loaded ? (s(), g(V(i.tag), {
2936
+ n.loaded ? (s(), g(I(i.tag), {
2744
2937
  key: 0,
2745
2938
  class: f(["w-image", l.imageClasses]),
2746
2939
  style: R(l.imageStyles),
@@ -2749,14 +2942,14 @@ function wi(e, t, i, o, n, l) {
2749
2942
  ]),
2750
2943
  _: 1
2751
2944
  }, 8, ["name"]),
2752
- !i.noSpinner && n.loading ? (s(), u("div", yi, [
2945
+ !i.noSpinner && n.loading ? (s(), u("div", Ti, [
2753
2946
  e.$slots.loading ? p(e.$slots, "loading", { key: 0 }) : (s(), g(a, C({
2754
2947
  key: 1,
2755
2948
  circle: "",
2756
2949
  indeterminate: ""
2757
2950
  }, i.spinnerColor ? { color: i.spinnerColor } : {}), null, 16))
2758
2951
  ])) : c("", !0),
2759
- e.$slots.default ? (s(), g(V(l.wrapperTag), {
2952
+ e.$slots.default ? (s(), g(I(l.wrapperTag), {
2760
2953
  key: 1,
2761
2954
  class: f(["w-image__content", i.contentClass])
2762
2955
  }, {
@@ -2769,7 +2962,7 @@ function wi(e, t, i, o, n, l) {
2769
2962
  _: 3
2770
2963
  }, 8, ["class", "style"]);
2771
2964
  }
2772
- const vi = {
2965
+ const Ri = {
2773
2966
  name: "w-image",
2774
2967
  props: {
2775
2968
  tag: { type: String, default: "span" },
@@ -2865,13 +3058,13 @@ const vi = {
2865
3058
  this.imgHeight = e;
2866
3059
  }
2867
3060
  }
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 = {
3061
+ }, xi = /* @__PURE__ */ w(Ri, [["render", Li]]), Oi = ["name"], Pi = ["for"], Mi = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], zi = ["id", "name", "multiple", "disabled", "data-progress"], Ei = {
2869
3062
  class: "w-input__no-file",
2870
3063
  key: "no-file"
2871
- }, Vi = ["for"], Ii = ["for"], Ti = ["src"], Ri = ["for"];
2872
- function Li(e, t, i, o, n, l) {
3064
+ }, Wi = ["for"], Ai = ["src"], Ni = ["for"];
3065
+ function Ki(e, t, i, o, n, l) {
2873
3066
  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 }, {
3067
+ 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
3068
  valid: e.valid,
2876
3069
  "onUpdate:valid": t[10] || (t[10] = (d) => e.valid = d),
2877
3070
  onReset: t[11] || (t[11] = (d) => {
@@ -2886,10 +3079,10 @@ function Li(e, t, i, o, n, l) {
2886
3079
  type: "hidden",
2887
3080
  name: e.name || null,
2888
3081
  "onUpdate:modelValue": t[0] || (t[0] = (d) => n.inputValue = d)
2889
- }, null, 8, _i)), [
3082
+ }, null, 8, Oi)), [
2890
3083
  [be, n.inputValue]
2891
- ]) : (s(), u(k, { key: 1 }, [
2892
- i.labelPosition === "left" ? (s(), u(k, { key: 0 }, [
3084
+ ]) : (s(), u(v, { key: 1 }, [
3085
+ i.labelPosition === "left" ? (s(), u(v, { key: 0 }, [
2893
3086
  e.$slots.default || i.label ? (s(), u("label", {
2894
3087
  key: 0,
2895
3088
  class: f(["w-input__label w-input__label--left w-form-el-shakable", e.labelClasses]),
@@ -2898,29 +3091,33 @@ function Li(e, t, i, o, n, l) {
2898
3091
  p(e.$slots, "default", {}, () => [
2899
3092
  S(_(i.label), 1)
2900
3093
  ])
2901
- ], 10, Ci)) : c("", !0)
3094
+ ], 10, Pi)) : c("", !0)
2902
3095
  ], 64)) : c("", !0),
2903
- w("div", {
3096
+ y("div", {
2904
3097
  class: f(["w-input__input-wrap", l.inputWrapClasses])
2905
3098
  }, [
2906
- i.innerIconLeft ? (s(), g(a, {
2907
- 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),
3099
+ p(e.$slots, "icon-left", {
3100
+ inputId: `w-input--${e._.uid}`
3101
+ }, () => [
3102
+ i.innerIconLeft ? (s(), g(a, {
3103
+ key: 0,
3104
+ class: "w-input__icon w-input__icon--inner-left",
3105
+ tag: "label",
3106
+ for: `w-input--${e._.uid}`,
3107
+ onClick: t[1] || (t[1] = (d) => e.$emit("click:inner-icon-left", d))
3108
+ }, {
3109
+ default: m(() => [
3110
+ S(_(i.innerIconLeft), 1)
3111
+ ]),
3112
+ _: 1
3113
+ }, 8, ["for"])) : c("", !0)
3114
+ ]),
2918
3115
  i.type !== "file" ? N((s(), u("input", C({
2919
- key: 1,
3116
+ key: 0,
2920
3117
  class: "w-input__input",
2921
3118
  ref: "input",
2922
3119
  "onUpdate:modelValue": t[2] || (t[2] = (d) => n.inputValue = d)
2923
- }, W(l.listeners, !0), {
3120
+ }, z(l.listeners, !0), {
2924
3121
  onInput: t[3] || (t[3] = (...d) => l.onInput && l.onInput(...d)),
2925
3122
  onFocus: t[4] || (t[4] = (...d) => l.onFocus && l.onFocus(...d)),
2926
3123
  onBlur: t[5] || (t[5] = (...d) => l.onBlur && l.onBlur(...d)),
@@ -2938,10 +3135,10 @@ function Li(e, t, i, o, n, l) {
2938
3135
  disabled: e.isDisabled || null,
2939
3136
  required: e.required || null,
2940
3137
  tabindex: e.tabindex || null
2941
- }, l.attrs), null, 16, Si)), [
3138
+ }, l.attrs), null, 16, Mi)), [
2942
3139
  [$e, n.inputValue]
2943
- ]) : (s(), u(k, { key: 2 }, [
2944
- w("input", C({
3140
+ ]) : (s(), u(v, { key: 1 }, [
3141
+ y("input", C({
2945
3142
  ref: "input",
2946
3143
  id: `w-input--${e._.uid}`,
2947
3144
  type: "file",
@@ -2953,22 +3150,22 @@ function Li(e, t, i, o, n, l) {
2953
3150
  }, l.attrs, {
2954
3151
  disabled: e.isDisabled || null,
2955
3152
  "data-progress": l.overallFilesProgress
2956
- }), null, 16, Bi),
2957
- I(ae, {
3153
+ }), null, 16, zi),
3154
+ V(oe, {
2958
3155
  class: "w-input__input w-input__input--file",
2959
3156
  tag: "label",
2960
3157
  name: "fade",
2961
3158
  for: `w-input--${e._.uid}`
2962
3159
  }, {
2963
3160
  default: m(() => [
2964
- !n.inputFiles.length && n.isFocused ? (s(), u("span", $i, [
3161
+ !n.inputFiles.length && n.isFocused ? (s(), u("span", Ei, [
2965
3162
  p(e.$slots, "no-file", {}, () => [
2966
- e.$slots["no-file"] === void 0 ? (s(), u(k, { key: 0 }, [
3163
+ e.$slots["no-file"] === void 0 ? (s(), u(v, { key: 0 }, [
2967
3164
  S("No file")
2968
3165
  ], 64)) : c("", !0)
2969
3166
  ])
2970
3167
  ])) : c("", !0),
2971
- (s(!0), u(k, null, L(n.inputFiles, (d, h) => (s(), u("span", {
3168
+ (s(!0), u(v, null, L(n.inputFiles, (d, h) => (s(), u("span", {
2972
3169
  key: d.lastModified
2973
3170
  }, [
2974
3171
  S(_(h ? ", " : ""), 1),
@@ -2982,31 +3179,34 @@ function Li(e, t, i, o, n, l) {
2982
3179
  _: 3
2983
3180
  }, 8, ["for"])
2984
3181
  ], 64)),
2985
- i.labelPosition === "inside" && l.showLabelInside ? (s(), u(k, { key: 3 }, [
3182
+ i.labelPosition === "inside" && l.showLabelInside ? (s(), u(v, { key: 2 }, [
2986
3183
  e.$slots.default || i.label ? (s(), u("label", {
2987
3184
  key: 0,
2988
- class: f(["w-input__label w-input__label--inside w-form-el-shakable", e.labelClasses]),
2989
- for: `w-input--${e._.uid}`
3185
+ class: f(["w-input__label w-input__label--inside w-form-el-shakable", e.labelClasses])
2990
3186
  }, [
2991
3187
  p(e.$slots, "default", {}, () => [
2992
3188
  S(_(i.label), 1)
2993
3189
  ])
2994
- ], 10, Vi)) : c("", !0)
3190
+ ], 2)) : c("", !0)
2995
3191
  ], 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),
3192
+ p(e.$slots, "icon-right", {
3193
+ inputId: `w-input--${e._.uid}`
3194
+ }, () => [
3195
+ i.innerIconRight ? (s(), g(a, {
3196
+ key: 0,
3197
+ class: "w-input__icon w-input__icon--inner-right",
3198
+ tag: "label",
3199
+ for: `w-input--${e._.uid}`,
3200
+ onClick: t[9] || (t[9] = (d) => e.$emit("click:inner-icon-right", d))
3201
+ }, {
3202
+ default: m(() => [
3203
+ S(_(i.innerIconRight), 1)
3204
+ ]),
3205
+ _: 1
3206
+ }, 8, ["for"])) : c("", !0)
3207
+ ]),
3008
3208
  l.hasLoading || i.showProgress && (l.uploadInProgress || l.uploadComplete) ? (s(), g(r, {
3009
- key: 5,
3209
+ key: 3,
3010
3210
  class: "fill-width",
3011
3211
  size: "2",
3012
3212
  color: i.progressColor || i.color,
@@ -3018,7 +3218,7 @@ function Li(e, t, i, o, n, l) {
3018
3218
  class: "d-flex",
3019
3219
  for: `w-input--${e._.uid}`
3020
3220
  }, [
3021
- (s(!0), u(k, null, L(n.inputFiles, (d, h) => (s(), u(k, null, [
3221
+ (s(!0), u(v, null, L(n.inputFiles, (d, h) => (s(), u(v, null, [
3022
3222
  d.progress < 100 ? (s(), u("i", {
3023
3223
  class: "w-icon wi-spinner w-icon--spin size--sm w-input__file-preview primary",
3024
3224
  key: `${h}a`
@@ -3027,13 +3227,13 @@ function Li(e, t, i, o, n, l) {
3027
3227
  key: `${h}b`,
3028
3228
  src: d.preview,
3029
3229
  alt: ""
3030
- }, null, 8, Ti)) : (s(), u("i", {
3230
+ }, null, 8, Ai)) : (s(), u("i", {
3031
3231
  class: f(["w-icon w-input__file-preview primary size--md", i.preview && typeof i.preview == "string" ? i.preview : "wi-file"]),
3032
3232
  key: `${h}c`
3033
3233
  }, null, 2))
3034
3234
  ], 64))), 256))
3035
- ], 8, Ii)) : c("", !0),
3036
- i.labelPosition === "right" ? (s(), u(k, { key: 2 }, [
3235
+ ], 8, Wi)) : c("", !0),
3236
+ i.labelPosition === "right" ? (s(), u(v, { key: 2 }, [
3037
3237
  e.$slots.default || i.label ? (s(), u("label", {
3038
3238
  key: 0,
3039
3239
  class: f(["w-input__label w-input__label--right w-form-el-shakable", e.labelClasses]),
@@ -3042,16 +3242,16 @@ function Li(e, t, i, o, n, l) {
3042
3242
  p(e.$slots, "default", {}, () => [
3043
3243
  S(_(i.label), 1)
3044
3244
  ])
3045
- ], 10, Ri)) : c("", !0)
3245
+ ], 10, Ni)) : c("", !0)
3046
3246
  ], 64)) : c("", !0)
3047
3247
  ], 64))
3048
3248
  ]),
3049
3249
  _: 3
3050
3250
  }, 16, ["valid", "wrap", "class"]);
3051
3251
  }
3052
- const xi = {
3252
+ const Hi = {
3053
3253
  name: "w-input",
3054
- mixins: [z],
3254
+ mixins: [E],
3055
3255
  props: {
3056
3256
  modelValue: { default: "" },
3057
3257
  type: { type: String, default: "text" },
@@ -3218,13 +3418,13 @@ const xi = {
3218
3418
  this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1, this.inputFiles = []);
3219
3419
  }
3220
3420
  }
3221
- }, Oi = /* @__PURE__ */ v(xi, [["render", Li]]);
3222
- function Pi(e, t, i, o, n, l) {
3421
+ }, Di = /* @__PURE__ */ w(Hi, [["render", Ki]]);
3422
+ function Fi(e, t, i, o, n, l) {
3223
3423
  const a = $("w-icon"), r = $("w-list", !0);
3224
3424
  return s(), u("ul", {
3225
3425
  class: f(["w-list", l.classes])
3226
3426
  }, [
3227
- (s(!0), u(k, null, L(e.listItems, (d, h) => (s(), u("li", {
3427
+ (s(!0), u(v, null, L(e.listItems, (d, h) => (s(), u("li", {
3228
3428
  class: f(["w-list__item", { "w-list__item--parent": (d.children || []).length }]),
3229
3429
  key: h
3230
3430
  }, [
@@ -3237,7 +3437,7 @@ function Pi(e, t, i, o, n, l) {
3237
3437
  ]),
3238
3438
  _: 1
3239
3439
  })) : 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({
3440
+ 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
3441
  key: 1,
3242
3442
  class: "w-list__item-label"
3243
3443
  }, l.liLabelProps(d, h, d._selected)), {
@@ -3262,23 +3462,23 @@ function Pi(e, t, i, o, n, l) {
3262
3462
  ])
3263
3463
  ]),
3264
3464
  _: 2
3265
- }, 1040)) : (s(), g(V(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), C({
3465
+ }, 1040)) : (s(), g(I(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), C({
3266
3466
  key: 2,
3267
3467
  class: "w-list__item-label"
3268
3468
  }, l.liLabelProps(d, h, d._selected)), null, 16)),
3269
3469
  (d.children || []).length ? (s(), g(r, C({ key: 3 }, e.$props, {
3270
3470
  items: d.children,
3271
3471
  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))
3472
+ "onUpdate:modelValue": t[0] || (t[0] = (k) => e.$emit("update:modelValue", k)),
3473
+ onInput: t[1] || (t[1] = (k) => e.$emit("input", k)),
3474
+ onItemClick: t[2] || (t[2] = (k) => e.$emit("item-click", k)),
3475
+ onItemSelect: t[3] || (t[3] = (k) => e.$emit("item-select", k))
3276
3476
  }), Z({ _: 2 }, [
3277
3477
  e.$slots.item ? {
3278
3478
  name: "item",
3279
- fn: m(({ item: y, index: B, selected: b }) => [
3479
+ fn: m(({ item: k, index: B, selected: b }) => [
3280
3480
  p(e.$slots, "item", {
3281
- item: l.cleanLi(y),
3481
+ item: l.cleanLi(k),
3282
3482
  index: B,
3283
3483
  selected: b
3284
3484
  })
@@ -3286,13 +3486,13 @@ function Pi(e, t, i, o, n, l) {
3286
3486
  key: "0"
3287
3487
  } : {
3288
3488
  name: "default",
3289
- fn: m(({ item: y, index: B, selected: b }) => [
3489
+ fn: m(({ item: k, index: B, selected: b }) => [
3290
3490
  p(e.$slots, "default", {
3291
- item: l.cleanLi(y),
3491
+ item: l.cleanLi(k),
3292
3492
  index: B,
3293
3493
  selected: b
3294
3494
  }, () => [
3295
- S(_(y[i.itemLabelKey]), 1)
3495
+ S(_(k[i.itemLabelKey]), 1)
3296
3496
  ])
3297
3497
  ]),
3298
3498
  key: "1"
@@ -3301,7 +3501,7 @@ function Pi(e, t, i, o, n, l) {
3301
3501
  ], 2))), 128))
3302
3502
  ], 2);
3303
3503
  }
3304
- const zi = {
3504
+ const ji = {
3305
3505
  name: "w-list",
3306
3506
  props: {
3307
3507
  items: { type: [Array, Number], required: !0 },
@@ -3467,7 +3667,7 @@ const zi = {
3467
3667
  }
3468
3668
  }
3469
3669
  }
3470
- }, Mi = /* @__PURE__ */ v(zi, [["render", Pi]]), we = {
3670
+ }, Ui = /* @__PURE__ */ w(ji, [["render", Fi]]), we = {
3471
3671
  props: {
3472
3672
  appendTo: { type: [String, Boolean, Object] },
3473
3673
  fixed: { type: Boolean },
@@ -3623,11 +3823,11 @@ const zi = {
3623
3823
  }
3624
3824
  }
3625
3825
  };
3626
- function Ei(e, t, i, o, n, l) {
3826
+ function qi(e, t, i, o, n, l) {
3627
3827
  const a = $("w-card"), r = $("w-overlay");
3628
- return s(), u(k, null, [
3828
+ return s(), u(v, null, [
3629
3829
  p(e.$slots, "activator", { on: l.activatorEventHandlers }),
3630
- I(O, {
3830
+ V(O, {
3631
3831
  name: l.transitionName,
3632
3832
  appear: ""
3633
3833
  }, {
@@ -3695,7 +3895,7 @@ function Ei(e, t, i, o, n, l) {
3695
3895
  }), null, 16, ["model-value", "persistent", "class", "z-index"])) : c("", !0)
3696
3896
  ], 64);
3697
3897
  }
3698
- const Wi = {
3898
+ const Xi = {
3699
3899
  name: "w-menu",
3700
3900
  mixins: [we],
3701
3901
  inheritAttrs: !1,
@@ -3823,8 +4023,8 @@ const Wi = {
3823
4023
  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
4024
  }
3825
4025
  }
3826
- }, Ai = /* @__PURE__ */ v(Wi, [["render", Ei]]);
3827
- function Ni(e, t, i, o, n, l) {
4026
+ }, Yi = /* @__PURE__ */ w(Xi, [["render", qi]]);
4027
+ function Gi(e, t, i, o, n, l) {
3828
4028
  const a = $("w-alert");
3829
4029
  return s(), g(O, {
3830
4030
  name: l.transitionName,
@@ -3836,7 +4036,7 @@ function Ni(e, t, i, o, n, l) {
3836
4036
  class: f(["w-notification", l.classes]),
3837
4037
  style: R(l.styles)
3838
4038
  }, [
3839
- I(a, C(l.alertProps, {
4039
+ V(a, C(l.alertProps, {
3840
4040
  class: l.alertClasses,
3841
4041
  "onUpdate:modelValue": t[0] || (t[0] = (r) => {
3842
4042
  e.$emit("update:modelValue", !1), e.$emit("input", !1);
@@ -3852,7 +4052,7 @@ function Ni(e, t, i, o, n, l) {
3852
4052
  _: 3
3853
4053
  }, 8, ["name"]);
3854
4054
  }
3855
- const Ki = {
4055
+ const Ji = {
3856
4056
  name: "w-notification",
3857
4057
  props: {
3858
4058
  modelValue: { default: !0 },
@@ -3972,8 +4172,8 @@ const Ki = {
3972
4172
  clearTimeout(this.timeoutId), this.show = e, e && this.timeoutVal && this.countdown();
3973
4173
  }
3974
4174
  }
3975
- }, Hi = /* @__PURE__ */ v(Ki, [["render", Ni]]);
3976
- function Di(e, t, i, o, n, l) {
4175
+ }, Qi = /* @__PURE__ */ w(Ji, [["render", Gi]]);
4176
+ function Zi(e, t, i, o, n, l) {
3977
4177
  const a = ge("focus");
3978
4178
  return s(), g(O, {
3979
4179
  name: "fade",
@@ -3986,20 +4186,20 @@ function Di(e, t, i, o, n, l) {
3986
4186
  class: f(["w-overlay", l.classes]),
3987
4187
  ref: "overlay",
3988
4188
  style: R(i.modelValue && l.styles || null),
3989
- onKeydown: t[0] || (t[0] = E(M((...r) => l.onClick && l.onClick(...r), ["stop"]), ["escape"])),
4189
+ onKeydown: t[0] || (t[0] = W(M((...r) => l.onClick && l.onClick(...r), ["stop"]), ["escape"])),
3990
4190
  onClick: t[1] || (t[1] = (...r) => l.onClick && l.onClick(...r)),
3991
4191
  tabindex: "0"
3992
4192
  }, [
3993
4193
  p(e.$slots, "default")
3994
4194
  ], 38)), [
3995
- [oe, e.showOverlay],
4195
+ [ae, e.showOverlay],
3996
4196
  [a]
3997
4197
  ]) : c("", !0)
3998
4198
  ]),
3999
4199
  _: 3
4000
4200
  }, 8, ["onAfterLeave"]);
4001
4201
  }
4002
- const Fi = {
4202
+ const el = {
4003
4203
  name: "w-overlay",
4004
4204
  props: {
4005
4205
  modelValue: {},
@@ -4053,17 +4253,17 @@ const Fi = {
4053
4253
  e && (this.showOverlay = !0);
4054
4254
  }
4055
4255
  }
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);
4256
+ }, tl = /* @__PURE__ */ w(el, [["render", Zi]]), il = { class: "w-parallax" };
4257
+ function ll(e, t, i, o, n, l) {
4258
+ return s(), u("div", il);
4059
4259
  }
4060
- const Xi = {
4260
+ const sl = {
4061
4261
  name: "w-parallax",
4062
4262
  props: {},
4063
4263
  emits: [],
4064
4264
  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) {
4265
+ }, ol = /* @__PURE__ */ w(sl, [["render", ll]]), al = ["viewBox"], nl = ["cx", "cy", "r", "stroke-dasharray", "stroke-width"], rl = ["cx", "cy", "r", "stroke-width", "stroke-linecap", "stroke-dasharray"];
4266
+ function dl(e, t, i, o, n, l) {
4067
4267
  return s(), u("div", {
4068
4268
  class: f(["w-progress", l.classes]),
4069
4269
  style: R(l.styles)
@@ -4081,8 +4281,8 @@ function Zi(e, t, i, o, n, l) {
4081
4281
  fill: "transparent",
4082
4282
  "stroke-dasharray": e.circleCircumference,
4083
4283
  "stroke-width": i.stroke
4084
- }, null, 10, Ji)) : c("", !0),
4085
- w("circle", {
4284
+ }, null, 10, nl)) : c("", !0),
4285
+ y("circle", {
4086
4286
  class: "w-progress__progress",
4087
4287
  cx: l.circleCenter,
4088
4288
  cy: l.circleCenter,
@@ -4092,8 +4292,8 @@ function Zi(e, t, i, o, n, l) {
4092
4292
  "stroke-linecap": i.roundCap && "round",
4093
4293
  "stroke-dasharray": e.circleCircumference,
4094
4294
  style: R(`stroke-dashoffset: ${(1 - l.progressValue / 100) * e.circleCircumference}`)
4095
- }, null, 12, Qi)
4096
- ], 8, Gi)) : (s(), u("div", {
4295
+ }, null, 12, rl)
4296
+ ], 8, al)) : (s(), u("div", {
4097
4297
  key: 0,
4098
4298
  class: f(["w-progress__progress", { full: l.progressValue === 100 }]),
4099
4299
  style: R(`width: ${l.progressValue}%`)
@@ -4108,7 +4308,7 @@ function Zi(e, t, i, o, n, l) {
4108
4308
  ], 2)) : c("", !0)
4109
4309
  ], 6);
4110
4310
  }
4111
- const J = 40, el = J / 2, tl = Math.round(J * 3.14 * 100) / 100, il = {
4311
+ const J = 40, ul = J / 2, hl = Math.round(J * 3.14 * 100) / 100, cl = {
4112
4312
  name: "w-progress",
4113
4313
  props: {
4114
4314
  modelValue: { type: [Number, String, Boolean], default: -1 },
@@ -4134,8 +4334,8 @@ const J = 40, el = J / 2, tl = Math.round(J * 3.14 * 100) / 100, il = {
4134
4334
  emits: [],
4135
4335
  data: () => ({
4136
4336
  circleSize: J,
4137
- circleRadius: el,
4138
- circleCircumference: tl
4337
+ circleRadius: ul,
4338
+ circleCircumference: hl
4139
4339
  }),
4140
4340
  computed: {
4141
4341
  progressValue() {
@@ -4174,9 +4374,9 @@ const J = 40, el = J / 2, tl = Math.round(J * 3.14 * 100) / 100, il = {
4174
4374
  };
4175
4375
  }
4176
4376
  }
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 }, {
4377
+ }, pl = /* @__PURE__ */ w(cl, [["render", dl]]), fl = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], ml = ["for"], gl = ["for", "innerHTML"], bl = ["for"], yl = ["for", "innerHTML"];
4378
+ function wl(e, t, i, o, n, l) {
4379
+ 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
4380
  valid: e.valid,
4181
4381
  "onUpdate:valid": t[3] || (t[3] = (a) => e.valid = a),
4182
4382
  onReset: t[4] || (t[4] = (a) => {
@@ -4185,7 +4385,7 @@ function dl(e, t, i, o, n, l) {
4185
4385
  class: l.classes
4186
4386
  }), {
4187
4387
  default: m(() => [
4188
- w("input", {
4388
+ y("input", {
4189
4389
  ref: "input",
4190
4390
  id: `w-radio--${e._.uid}`,
4191
4391
  type: "radio",
@@ -4198,8 +4398,8 @@ function dl(e, t, i, o, n, l) {
4198
4398
  onChange: t[1] || (t[1] = (a) => l.onInput(a)),
4199
4399
  "aria-checked": e.inputValue || "false",
4200
4400
  role: "radio"
4201
- }, null, 40, sl),
4202
- l.hasLabel && i.labelOnLeft ? (s(), u(k, { key: 0 }, [
4401
+ }, null, 40, fl),
4402
+ l.hasLabel && i.labelOnLeft ? (s(), u(v, { key: 0 }, [
4203
4403
  e.$slots.default ? (s(), u("label", {
4204
4404
  key: 0,
4205
4405
  class: f(["w-radio__label w-form-el-shakable pr2", e.labelClasses]),
@@ -4208,20 +4408,20 @@ function dl(e, t, i, o, n, l) {
4208
4408
  p(e.$slots, "default", {}, () => [
4209
4409
  S(_(i.label), 1)
4210
4410
  ])
4211
- ], 10, al)) : i.label ? (s(), u("label", {
4411
+ ], 10, ml)) : i.label ? (s(), u("label", {
4212
4412
  key: 1,
4213
4413
  class: f(["w-radio__label w-form-el-shakable pr2", e.labelClasses]),
4214
4414
  for: `w-radio--${e._.uid}`,
4215
4415
  innerHTML: i.label
4216
- }, null, 10, ol)) : c("", !0)
4416
+ }, null, 10, gl)) : c("", !0)
4217
4417
  ], 64)) : c("", !0),
4218
- w("div", {
4418
+ y("div", {
4219
4419
  class: f(["w-radio__input", this.color]),
4220
4420
  onClick: t[2] || (t[2] = (a) => {
4221
4421
  e.$refs.input.focus(), e.$refs.input.click();
4222
4422
  })
4223
4423
  }, null, 2),
4224
- l.hasLabel && !i.labelOnLeft ? (s(), u(k, { key: 1 }, [
4424
+ l.hasLabel && !i.labelOnLeft ? (s(), u(v, { key: 1 }, [
4225
4425
  e.$slots.default ? (s(), u("label", {
4226
4426
  key: 0,
4227
4427
  class: f(["w-radio__label w-form-el-shakable pl2", e.labelClasses]),
@@ -4230,20 +4430,20 @@ function dl(e, t, i, o, n, l) {
4230
4430
  p(e.$slots, "default", {}, () => [
4231
4431
  S(_(i.label), 1)
4232
4432
  ])
4233
- ], 10, nl)) : i.label ? (s(), u("label", {
4433
+ ], 10, bl)) : i.label ? (s(), u("label", {
4234
4434
  key: 1,
4235
4435
  class: f(["w-radio__label w-form-el-shakable pl2", e.labelClasses]),
4236
4436
  for: `w-radio--${e._.uid}`,
4237
4437
  innerHTML: i.label
4238
- }, null, 10, rl)) : c("", !0)
4438
+ }, null, 10, yl)) : c("", !0)
4239
4439
  ], 64)) : c("", !0)
4240
4440
  ]),
4241
4441
  _: 3
4242
4442
  }, 16, ["valid", "class"]);
4243
4443
  }
4244
- const ul = {
4444
+ const vl = {
4245
4445
  name: "w-radio",
4246
- mixins: [z],
4446
+ mixins: [E],
4247
4447
  inject: { wRadios: { default: null } },
4248
4448
  props: {
4249
4449
  modelValue: { default: !1 },
@@ -4301,10 +4501,10 @@ const ul = {
4301
4501
  this.toggleFromOutside();
4302
4502
  }
4303
4503
  }
4304
- }, hl = /* @__PURE__ */ v(ul, [["render", dl]]), cl = ["innerHTML"];
4305
- function pl(e, t, i, o, n, l) {
4504
+ }, kl = /* @__PURE__ */ w(vl, [["render", wl]]), _l = ["innerHTML"];
4505
+ function Cl(e, t, i, o, n, l) {
4306
4506
  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 }, {
4507
+ 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
4508
  valid: e.valid,
4309
4509
  "onUpdate:valid": t[1] || (t[1] = (r) => e.valid = r),
4310
4510
  onReset: t[2] || (t[2] = (r) => {
@@ -4315,7 +4515,7 @@ function pl(e, t, i, o, n, l) {
4315
4515
  class: l.classes
4316
4516
  }), {
4317
4517
  default: m(() => [
4318
- (s(!0), u(k, null, L(l.radioItems, (r, d) => (s(), g(a, C({
4518
+ (s(!0), u(v, null, L(l.radioItems, (r, d) => (s(), g(a, C({
4319
4519
  key: d,
4320
4520
  "model-value": r.value === i.modelValue,
4321
4521
  "onUpdate:modelValue": (h) => l.onInput(r),
@@ -4336,7 +4536,7 @@ function pl(e, t, i, o, n, l) {
4336
4536
  }) : r.label ? (s(), u("div", {
4337
4537
  key: 1,
4338
4538
  innerHTML: r.label
4339
- }, null, 8, cl)) : c("", !0)
4539
+ }, null, 8, _l)) : c("", !0)
4340
4540
  ]),
4341
4541
  _: 2
4342
4542
  }, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
@@ -4344,9 +4544,9 @@ function pl(e, t, i, o, n, l) {
4344
4544
  _: 3
4345
4545
  }, 16, ["valid", "column", "wrap", "class"]);
4346
4546
  }
4347
- const fl = {
4547
+ const Sl = {
4348
4548
  name: "w-radios",
4349
- mixins: [z],
4549
+ mixins: [E],
4350
4550
  props: {
4351
4551
  items: { type: Array, required: !0 },
4352
4552
  modelValue: { type: [String, Number, Boolean] },
@@ -4390,9 +4590,9 @@ const fl = {
4390
4590
  return this.items[e._index];
4391
4591
  }
4392
4592
  }
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 }, {
4593
+ }, Bl = /* @__PURE__ */ w(Sl, [["render", Cl]]), $l = ["id", "name", "value"], Vl = ["disabled", "onMouseenter", "onClick", "tabindex"];
4594
+ function Il(e, t, i, o, n, l) {
4595
+ 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
4596
  valid: e.valid,
4397
4597
  "onUpdate:valid": t[4] || (t[4] = (a) => e.valid = a),
4398
4598
  onReset: t[5] || (t[5] = (a) => {
@@ -4401,18 +4601,18 @@ function yl(e, t, i, o, n, l) {
4401
4601
  class: l.classes
4402
4602
  }), {
4403
4603
  default: m(() => [
4404
- w("input", {
4604
+ y("input", {
4405
4605
  id: e.inputName,
4406
4606
  name: e.inputName,
4407
4607
  type: "hidden",
4408
4608
  value: n.rating
4409
- }, null, 8, gl),
4410
- (s(!0), u(k, null, L(i.max, (a) => (s(), u(k, { key: a }, [
4609
+ }, null, 8, $l),
4610
+ (s(!0), u(v, null, L(i.max, (a) => (s(), u(v, { key: a }, [
4411
4611
  e.$slots.item ? p(e.$slots, "item", {
4412
4612
  key: 0,
4413
4613
  index: a + 1
4414
4614
  }) : c("", !0),
4415
- w("button", {
4615
+ y("button", {
4416
4616
  class: f(["w-rating__button", l.buttonClasses(a)]),
4417
4617
  disabled: e.isDisabled || e.isReadonly,
4418
4618
  onMouseenter: (r) => n.hover = a,
@@ -4431,15 +4631,15 @@ function yl(e, t, i, o, n, l) {
4431
4631
  "aria-hidden": "true",
4432
4632
  style: R(l.halfStarStyle)
4433
4633
  }, null, 6)) : c("", !0)
4434
- ], 42, bl)
4634
+ ], 42, Vl)
4435
4635
  ], 64))), 128))
4436
4636
  ]),
4437
4637
  _: 3
4438
4638
  }, 16, ["valid", "class"]);
4439
4639
  }
4440
- const wl = {
4640
+ const Tl = {
4441
4641
  name: "w-rating",
4442
- mixins: [z],
4642
+ mixins: [E],
4443
4643
  props: {
4444
4644
  modelValue: {},
4445
4645
  max: { type: [Number, String], default: 5 },
@@ -4527,10 +4727,10 @@ const wl = {
4527
4727
  this.rating = parseFloat(e);
4528
4728
  }
4529
4729
  }
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({
4730
+ }, Ll = /* @__PURE__ */ w(Tl, [["render", Il]]);
4731
+ function Rl(e, t, i, o, n, l) {
4732
+ return s(), u(v, null, [
4733
+ y("div", C({
4534
4734
  class: ["w-scrollable", l.scrollableClasses],
4535
4735
  ref: "scrollable",
4536
4736
  onMouseenter: t[0] || (t[0] = (...a) => l.onMouseEnter && l.onMouseEnter(...a)),
@@ -4539,12 +4739,12 @@ function kl(e, t, i, o, n, l) {
4539
4739
  }, e.$attrs, { style: l.scrollableStyles }), [
4540
4740
  p(e.$slots, "default")
4541
4741
  ], 16),
4542
- w("div", {
4742
+ y("div", {
4543
4743
  class: f(["w-scrollbar", l.scrollbarClasses]),
4544
4744
  ref: "track",
4545
4745
  onMousedown: t[3] || (t[3] = (...a) => l.onTrackMouseDown && l.onTrackMouseDown(...a))
4546
4746
  }, [
4547
- w("div", {
4747
+ y("div", {
4548
4748
  class: "w-scrollbar__thumb",
4549
4749
  ref: "thumb",
4550
4750
  style: R(l.thumbStyles)
@@ -4552,7 +4752,7 @@ function kl(e, t, i, o, n, l) {
4552
4752
  ], 34)
4553
4753
  ], 64);
4554
4754
  }
4555
- const _l = {
4755
+ const xl = {
4556
4756
  h: {
4557
4757
  horizOrVert: "horizontal",
4558
4758
  topOrLeft: "left",
@@ -4575,7 +4775,7 @@ const _l = {
4575
4775
  deltaXorY: "deltaY",
4576
4776
  scrollTopOrLeft: "scrollTop"
4577
4777
  }
4578
- }, Cl = {
4778
+ }, Ol = {
4579
4779
  name: "w-scrollable",
4580
4780
  props: {
4581
4781
  color: { type: String, default: "primary" },
@@ -4599,7 +4799,7 @@ const _l = {
4599
4799
  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
4800
  },
4601
4801
  m() {
4602
- return _l[this.isHorizontal ? "h" : "v"];
4802
+ return xl[this.isHorizontal ? "h" : "v"];
4603
4803
  },
4604
4804
  scrollableClasses() {
4605
4805
  return {
@@ -4667,13 +4867,13 @@ const _l = {
4667
4867
  const { top: e, left: t } = this.$refs.scrollable.getBoundingClientRect();
4668
4868
  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
4869
  }
4670
- }, Sl = /* @__PURE__ */ v(Cl, [["render", kl]]), Bl = ["aria-expanded", "aria-owns", "aria-activedescendant"], $l = {
4870
+ }, Pl = /* @__PURE__ */ w(Ol, [["render", Rl]]), Ml = ["aria-expanded", "aria-owns", "aria-activedescendant"], zl = {
4671
4871
  key: 1,
4672
4872
  class: "w-select__selection-slot"
4673
- }, Vl = ["contenteditable", "disabled", "tabindex", "innerHTML"], Il = ["value", "name"];
4674
- function Tl(e, t, i, o, n, l) {
4873
+ }, El = ["innerHTML"], Wl = ["value", "name"];
4874
+ function Al(e, t, i, o, n, l) {
4675
4875
  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 }, {
4876
+ 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
4877
  valid: e.valid,
4678
4878
  "onUpdate:valid": t[12] || (t[12] = (h) => e.valid = h),
4679
4879
  onReset: l.onReset,
@@ -4681,7 +4881,7 @@ function Tl(e, t, i, o, n, l) {
4681
4881
  class: l.classes
4682
4882
  }), {
4683
4883
  default: m(() => [
4684
- i.labelPosition === "left" ? (s(), u(k, { key: 0 }, [
4884
+ i.labelPosition === "left" ? (s(), u(v, { key: 0 }, [
4685
4885
  e.$slots.default || i.label ? (s(), u("label", {
4686
4886
  key: 0,
4687
4887
  class: f(["w-select__label w-select__label--left w-form-el-shakable", e.labelClasses]),
@@ -4692,7 +4892,7 @@ function Tl(e, t, i, o, n, l) {
4692
4892
  ])
4693
4893
  ], 2)) : c("", !0)
4694
4894
  ], 64)) : c("", !0),
4695
- I(d, C({
4895
+ V(d, C({
4696
4896
  modelValue: e.showMenu,
4697
4897
  "onUpdate:modelValue": t[10] || (t[10] = (h) => e.showMenu = h),
4698
4898
  onClose: l.closeMenu,
@@ -4703,10 +4903,10 @@ function Tl(e, t, i, o, n, l) {
4703
4903
  custom: "",
4704
4904
  "min-width": "activator"
4705
4905
  }, i.menuProps || {}), {
4706
- activator: m(({ on: h }) => [
4707
- w("div", {
4906
+ activator: m(() => [
4907
+ y("div", {
4708
4908
  class: f(["w-select__selection-wrap", l.inputWrapClasses]),
4709
- onClick: t[6] || (t[6] = (y) => !e.isDisabled && !e.isReadonly && l.onInputFieldClick()),
4909
+ onClick: t[6] || (t[6] = (h) => !e.isDisabled && !e.isReadonly && l.onInputFieldClick()),
4710
4910
  role: "button",
4711
4911
  "aria-haspopup": "listbox",
4712
4912
  "aria-expanded": e.showMenu ? "true" : "false",
@@ -4717,38 +4917,32 @@ function Tl(e, t, i, o, n, l) {
4717
4917
  key: 0,
4718
4918
  class: "w-select__icon w-select__icon--inner-left",
4719
4919
  tag: "label",
4720
- onClick: t[1] || (t[1] = (y) => e.$emit("click:inner-icon-left", y))
4920
+ onClick: t[1] || (t[1] = (h) => e.$emit("click:inner-icon-left", h))
4721
4921
  }, {
4722
4922
  default: m(() => [
4723
4923
  S(_(i.innerIconLeft), 1)
4724
4924
  ]),
4725
4925
  _: 1
4726
4926
  })) : c("", !0),
4727
- e.$slots.selection ? (s(), u("div", $l, [
4927
+ e.$slots.selection ? (s(), u("div", zl, [
4728
4928
  p(e.$slots, "selection", {
4729
4929
  item: i.multiple ? e.inputValue : e.inputValue[0]
4730
4930
  })
4731
4931
  ])) : c("", !0),
4732
- w("div", {
4733
- class: f(["w-select__selection", { "w-select__selection--placeholder": !e.$slots.selection && !l.selectionString && i.placeholder }]),
4932
+ y("div", C({
4933
+ class: "w-select__selection",
4734
4934
  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,
4935
+ onFocus: t[2] || (t[2] = (h) => !e.isDisabled && !e.isReadonly && l.onFocus(h)),
4936
+ onBlur: t[3] || (t[3] = (...h) => l.onBlur && l.onBlur(...h)),
4937
+ onKeydown: t[4] || (t[4] = (h) => !e.isDisabled && !e.isReadonly && l.onKeydown(h))
4938
+ }, l.selectionAttributes, { innerHTML: l.selectionHtml }), null, 16, El),
4939
+ (s(!0), u(v, null, L(e.inputValue.length ? e.inputValue : [{}], (h, k) => (s(), u("input", {
4940
+ key: k,
4747
4941
  type: "hidden",
4748
- value: y.value === void 0 ? "" : y.value.toString(),
4942
+ value: h.value === void 0 ? "" : h.value.toString(),
4749
4943
  name: e.inputName + (i.multiple ? "[]" : "")
4750
- }, null, 8, Il))), 128)),
4751
- i.labelPosition === "inside" && l.showLabelInside ? (s(), u(k, { key: 2 }, [
4944
+ }, null, 8, Wl))), 128)),
4945
+ i.labelPosition === "inside" && l.showLabelInside ? (s(), u(v, { key: 2 }, [
4752
4946
  e.$slots.default || i.label ? (s(), u("label", {
4753
4947
  key: 0,
4754
4948
  class: f(["w-select__label w-select__label--inside w-form-el-shakable", e.labelClasses])
@@ -4762,24 +4956,24 @@ function Tl(e, t, i, o, n, l) {
4762
4956
  key: 3,
4763
4957
  class: "w-select__icon w-select__icon--inner-right",
4764
4958
  tag: "label",
4765
- onClick: t[5] || (t[5] = (y) => e.$emit("click:inner-icon-right", y))
4959
+ onClick: t[5] || (t[5] = (h) => e.$emit("click:inner-icon-right", h))
4766
4960
  }, {
4767
4961
  default: m(() => [
4768
4962
  S(_(i.innerIconRight), 1)
4769
4963
  ]),
4770
4964
  _: 1
4771
4965
  })) : c("", !0)
4772
- ], 10, Bl)
4966
+ ], 10, Ml)
4773
4967
  ]),
4774
4968
  default: m(() => [
4775
- I(r, {
4969
+ V(r, {
4776
4970
  ref: "w-list",
4777
4971
  "model-value": e.inputValue,
4778
4972
  "onUpdate:modelValue": l.onInput,
4779
4973
  onItemClick: t[7] || (t[7] = (h) => e.$emit("item-click", h)),
4780
4974
  onItemSelect: l.onListItemSelect,
4781
4975
  "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)),
4976
+ "onKeydown:escape": t[9] || (t[9] = (h) => e.showMenu && (e.showMenu = !1)),
4783
4977
  items: l.selectItems,
4784
4978
  multiple: i.multiple,
4785
4979
  "arrows-navigation": "",
@@ -4793,21 +4987,21 @@ function Tl(e, t, i, o, n, l) {
4793
4987
  }, Z({ _: 2 }, [
4794
4988
  L(i.items.length, (h) => ({
4795
4989
  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}`, {
4990
+ fn: m(({ item: k, selected: B, index: b }) => [
4991
+ e.$slots[`item.${h}`] && e.$slots[`item.${h}`](k, B, b) ? p(e.$slots, `item.${h}`, {
4798
4992
  key: 0,
4799
- item: y,
4993
+ item: k,
4800
4994
  selected: B,
4801
4995
  index: b
4802
4996
  }, () => [
4803
- S(_(y[i.itemLabelKey]), 1)
4997
+ S(_(k[i.itemLabelKey]), 1)
4804
4998
  ]) : p(e.$slots, "item", {
4805
4999
  key: 1,
4806
- item: y,
5000
+ item: k,
4807
5001
  selected: B,
4808
5002
  index: b
4809
5003
  }, () => [
4810
- S(_(y[i.itemLabelKey]), 1)
5004
+ S(_(k[i.itemLabelKey]), 1)
4811
5005
  ])
4812
5006
  ])
4813
5007
  }))
@@ -4815,7 +5009,7 @@ function Tl(e, t, i, o, n, l) {
4815
5009
  ]),
4816
5010
  _: 3
4817
5011
  }, 16, ["modelValue", "onClose", "menu-class", "append-to"]),
4818
- i.labelPosition === "right" ? (s(), u(k, { key: 1 }, [
5012
+ i.labelPosition === "right" ? (s(), u(v, { key: 1 }, [
4819
5013
  e.$slots.default || i.label ? (s(), u("label", {
4820
5014
  key: 0,
4821
5015
  class: f(["w-select__label w-select__label--right w-form-el-shakable", e.labelClasses]),
@@ -4830,9 +5024,9 @@ function Tl(e, t, i, o, n, l) {
4830
5024
  _: 3
4831
5025
  }, 16, ["valid", "onReset", "wrap", "class"]);
4832
5026
  }
4833
- const Rl = {
5027
+ const Nl = {
4834
5028
  name: "w-select",
4835
- mixins: [z],
5029
+ mixins: [E],
4836
5030
  props: {
4837
5031
  items: { type: Array, required: !0 },
4838
5032
  modelValue: {},
@@ -4878,23 +5072,34 @@ const Rl = {
4878
5072
  return i.value = i[this.itemValueKey] === void 0 ? i[this.itemLabelKey] || t : i[this.itemValueKey], i.index = t, i;
4879
5073
  });
4880
5074
  },
4881
- hasValue() {
4882
- return Array.isArray(this.inputValue) ? this.inputValue.length : this.inputValue !== null;
4883
- },
4884
5075
  hasLabel() {
4885
5076
  return this.label || this.$slots.default;
4886
5077
  },
4887
5078
  showLabelInside() {
4888
- return !this.staticLabel || !this.hasValue && !this.placeholder;
5079
+ return !this.staticLabel || !this.inputValue.length && !this.placeholder;
5080
+ },
5081
+ selectionAttributes() {
5082
+ var e;
5083
+ return {
5084
+ class: { "w-select__selection--placeholder": !this.$slots.selection && !this.selectionString && this.placeholder },
5085
+ disabled: this.isDisabled || null,
5086
+ readonly: !0,
5087
+ ariareadonly: "true",
5088
+ tabindex: (e = this.tabindex) != null ? e : null,
5089
+ contenteditable: this.isDisabled || this.isReadonly ? "false" : "true"
5090
+ };
4889
5091
  },
4890
5092
  selectionString() {
4891
- return this.inputValue && this.inputValue.map(
5093
+ return this.inputValue.map(
4892
5094
  (e) => {
4893
5095
  var t;
4894
5096
  return e[this.itemValueKey] !== void 0 ? e[this.itemLabelKey] : (t = e[this.itemLabelKey]) != null ? t : e;
4895
5097
  }
4896
5098
  ).join(", ");
4897
5099
  },
5100
+ selectionHtml() {
5101
+ return this.inputValue.length ? this.$slots.selection ? "" : this.selectionString : this.placeholder || "";
5102
+ },
4898
5103
  classes() {
4899
5104
  return {
4900
5105
  "w-select": !0,
@@ -4903,7 +5108,7 @@ const Rl = {
4903
5108
  "w-select--disabled": this.isDisabled,
4904
5109
  "w-select--fit-to-content": this.fitToContent,
4905
5110
  "w-select--readonly": this.isReadonly,
4906
- [`w-select--${this.hasValue ? "filled" : "empty"}`]: !0,
5111
+ [`w-select--${this.inputValue.length ? "filled" : "empty"}`]: !0,
4907
5112
  "w-select--focused": (this.isFocused || this.showMenu) && !this.isReadonly,
4908
5113
  "w-select--floating-label": this.hasLabel && this.labelPosition === "inside" && !this.staticLabel,
4909
5114
  "w-select--no-padding": !this.outline && !this.bgColor && !this.shadow && !this.round,
@@ -4984,8 +5189,9 @@ const Rl = {
4984
5189
  e = Array.isArray(e) ? e : e !== void 0 ? [e] : [];
4985
5190
  const t = this.selectItems.map((i) => i.value);
4986
5191
  return e.map((i) => {
5192
+ var n, l;
4987
5193
  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)];
5194
+ 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
5195
  }).filter((i) => i !== void 0);
4990
5196
  },
4991
5197
  openMenu() {
@@ -5011,12 +5217,12 @@ const Rl = {
5011
5217
  this.inputValue = this.checkSelection(this.modelValue);
5012
5218
  }
5013
5219
  }
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 = {
5220
+ }, Kl = /* @__PURE__ */ w(Nl, [["render", Al]]), Hl = ["for"], Dl = ["for", "innerHTML"], Fl = { class: "w-slider__track-wrap" }, jl = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], Ul = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], ql = ["for"], Xl = { key: 0 }, Yl = {
5015
5221
  key: 0,
5016
5222
  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 }, {
5223
+ }, Gl = ["onClick"], Jl = ["for"], Ql = ["for", "innerHTML"];
5224
+ function Zl(e, t, i, o, n, l) {
5225
+ 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
5226
  valid: e.valid,
5021
5227
  "onUpdate:valid": t[8] || (t[8] = (a) => e.valid = a),
5022
5228
  onReset: t[9] || (t[9] = (a) => {
@@ -5032,14 +5238,14 @@ function Dl(e, t, i, o, n, l) {
5032
5238
  for: `button--${e._.uid}`
5033
5239
  }, [
5034
5240
  p(e.$slots, "label-left")
5035
- ], 10, xl)) : i.labelLeft ? (s(), u("label", {
5241
+ ], 10, Hl)) : i.labelLeft ? (s(), u("label", {
5036
5242
  key: 1,
5037
5243
  class: f(["w-slider__label w-slider__label--left w-form-el-shakable", e.labelClasses]),
5038
5244
  for: `button--${e._.uid}`,
5039
5245
  innerHTML: i.labelLeft
5040
- }, null, 10, Ol)) : c("", !0),
5041
- w("div", Pl, [
5042
- w("div", {
5246
+ }, null, 10, Dl)) : c("", !0),
5247
+ y("div", Fl, [
5248
+ y("div", {
5043
5249
  class: f(["w-slider__track", l.trackClasses]),
5044
5250
  ref: "track",
5045
5251
  onMousedown: t[4] || (t[4] = (...a) => l.onTrackMouseDown && l.onTrackMouseDown(...a)),
@@ -5052,15 +5258,15 @@ function Dl(e, t, i, o, n, l) {
5052
5258
  "aria-readonly": e.isReadonly ? "true" : "false",
5053
5259
  "aria-orientation": "horizontal"
5054
5260
  }, [
5055
- w("div", {
5261
+ y("div", {
5056
5262
  class: f(["w-slider__range", l.rangeClasses]),
5057
5263
  style: R(l.rangeStyles)
5058
5264
  }, null, 6),
5059
- w("div", {
5265
+ y("div", {
5060
5266
  class: "w-slider__thumb",
5061
5267
  style: R(l.thumbStyles)
5062
5268
  }, [
5063
- w("button", {
5269
+ y("button", {
5064
5270
  class: f(["w-slider__thumb-button", [i.color]]),
5065
5271
  ref: "thumb",
5066
5272
  id: `button--${e._.uid}`,
@@ -5071,19 +5277,19 @@ function Dl(e, t, i, o, n, l) {
5071
5277
  "aria-readonly": e.isReadonly ? "true" : "false",
5072
5278
  tabindex: e.isDisabled || e.isReadonly ? -1 : null,
5073
5279
  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"]))
5280
+ t[0] || (t[0] = W((a) => l.onKeyDown(a, -1), ["left"])),
5281
+ t[1] || (t[1] = W((a) => l.onKeyDown(a, 1), ["right"]))
5076
5282
  ],
5077
5283
  onFocus: t[2] || (t[2] = (a) => e.$emit("focus", a)),
5078
5284
  onClick: t[3] || (t[3] = M(() => {
5079
5285
  }, ["prevent"]))
5080
- }, null, 42, Ml),
5286
+ }, null, 42, Ul),
5081
5287
  i.thumbLabel ? (s(), u("label", {
5082
5288
  key: 0,
5083
5289
  class: f(["w-slider__thumb-label", l.thumbClasses]),
5084
5290
  for: `button--${e._.uid}`
5085
5291
  }, [
5086
- i.thumbLabel === "droplet" ? (s(), u("div", Wl, [
5292
+ i.thumbLabel === "droplet" ? (s(), u("div", Xl, [
5087
5293
  p(e.$slots, "label", { value: e.rangeValueScaled }, () => [
5088
5294
  S(_(~~e.rangeValueScaled), 1)
5089
5295
  ])
@@ -5093,20 +5299,20 @@ function Dl(e, t, i, o, n, l) {
5093
5299
  }, () => [
5094
5300
  S(_(~~e.rangeValueScaled), 1)
5095
5301
  ])
5096
- ], 10, El)) : c("", !0)
5302
+ ], 10, ql)) : c("", !0)
5097
5303
  ], 4)
5098
- ], 42, zl),
5099
- i.stepLabels && i.step ? (s(), u("div", Al, [
5100
- w("div", {
5304
+ ], 42, jl),
5305
+ i.stepLabels && i.step ? (s(), u("div", Yl, [
5306
+ y("div", {
5101
5307
  class: "w-slider__step-label",
5102
5308
  onClick: t[6] || (t[6] = (a) => l.onStepLabelClick(0))
5103
5309
  }, _(this.minVal), 1),
5104
- (s(!0), u(k, null, L(~~l.numberOfSteps, (a) => (s(), u("div", {
5310
+ (s(!0), u(v, null, L(~~l.numberOfSteps, (a) => (s(), u("div", {
5105
5311
  class: "w-slider__step-label",
5106
5312
  key: a,
5107
5313
  onClick: (r) => l.onStepLabelClick(a * (100 / l.numberOfSteps)),
5108
5314
  style: R(`left: ${a * (100 / l.numberOfSteps)}%`)
5109
- }, _(l.percentToScaled(a * (100 / l.numberOfSteps))), 13, Nl))), 128)),
5315
+ }, _(l.percentToScaled(a * (100 / l.numberOfSteps))), 13, Gl))), 128)),
5110
5316
  ~~l.numberOfSteps !== l.numberOfSteps ? (s(), u("div", {
5111
5317
  key: 0,
5112
5318
  class: "w-slider__step-label",
@@ -5121,19 +5327,19 @@ function Dl(e, t, i, o, n, l) {
5121
5327
  for: `button--${e._.uid}`
5122
5328
  }, [
5123
5329
  p(e.$slots, "label-right")
5124
- ], 10, Kl)) : i.labelRight ? (s(), u("label", {
5330
+ ], 10, Jl)) : i.labelRight ? (s(), u("label", {
5125
5331
  key: 3,
5126
5332
  class: f(["w-slider__label w-slider__label--right w-form-el-shakable", e.labelClasses]),
5127
5333
  for: `button--${e._.uid}`,
5128
5334
  innerHTML: i.labelRight
5129
- }, null, 10, Hl)) : c("", !0)
5335
+ }, null, 10, Ql)) : c("", !0)
5130
5336
  ]),
5131
5337
  _: 3
5132
5338
  }, 16, ["valid", "wrap", "class"]);
5133
5339
  }
5134
- const Fl = {
5340
+ const es = {
5135
5341
  name: "w-slider",
5136
- mixins: [z],
5342
+ mixins: [E],
5137
5343
  props: {
5138
5344
  modelValue: { type: Number, default: 0 },
5139
5345
  color: { type: String, default: "primary" },
@@ -5265,17 +5471,17 @@ const Fl = {
5265
5471
  this.rangeValueScaled !== e && (this.rangeValueScaled = e, this.rangeValuePercent = this.scaledToPercent(e));
5266
5472
  }
5267
5473
  }
5268
- }, jl = /* @__PURE__ */ v(Fl, [["render", Dl]]), Ul = { key: 0 };
5269
- function ql(e, t, i, o, n, l) {
5474
+ }, ts = /* @__PURE__ */ w(es, [["render", Zl]]), is = { key: 0 };
5475
+ function ls(e, t, i, o, n, l) {
5270
5476
  return i.modelValue || i.modelValue === void 0 ? (s(), u("div", {
5271
5477
  key: 0,
5272
5478
  class: f(["w-spinner", l.classes]),
5273
5479
  style: R(l.styles)
5274
5480
  }, [
5275
- l.isThreeDots ? (s(), u("span", Ul)) : c("", !0)
5481
+ l.isThreeDots ? (s(), u("span", is)) : c("", !0)
5276
5482
  ], 6)) : c("", !0);
5277
5483
  }
5278
- const Xl = {
5484
+ const ss = {
5279
5485
  name: "w-spinner",
5280
5486
  props: {
5281
5487
  modelValue: {},
@@ -5313,13 +5519,13 @@ const Xl = {
5313
5519
  };
5314
5520
  }
5315
5521
  }
5316
- }, Yl = /* @__PURE__ */ v(Xl, [["render", ql]]);
5317
- function Gl(e, t, i, o, n, l) {
5522
+ }, os = /* @__PURE__ */ w(ss, [["render", ls]]);
5523
+ function as(e, t, i, o, n, l) {
5318
5524
  return s(), u("div", {
5319
5525
  class: f(["w-steps", l.classes])
5320
5526
  }, null, 2);
5321
5527
  }
5322
- const Jl = {
5528
+ const ns = {
5323
5529
  name: "w-steps",
5324
5530
  props: {
5325
5531
  dark: { type: Boolean },
@@ -5335,16 +5541,16 @@ const Jl = {
5335
5541
  };
5336
5542
  }
5337
5543
  }
5338
- }, Ql = /* @__PURE__ */ v(Jl, [["render", Gl]]), Zl = ["id", "name", "checked", "disabled", "readonly", "aria-readonly", "required", "tabindex", "aria-checked"], es = ["for"], ts = {
5544
+ }, rs = /* @__PURE__ */ w(ns, [["render", as]]), ds = ["id", "name", "checked", "disabled", "readonly", "aria-readonly", "required", "tabindex", "aria-checked"], us = ["for"], hs = {
5339
5545
  key: 0,
5340
5546
  class: "w-switch__track"
5341
- }, is = {
5547
+ }, cs = {
5342
5548
  key: 1,
5343
5549
  class: "w-switch__thumb"
5344
- }, ls = ["for"];
5345
- function ss(e, t, i, o, n, l) {
5550
+ }, ps = ["for"];
5551
+ function fs(e, t, i, o, n, l) {
5346
5552
  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 }, {
5553
+ 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
5554
  valid: e.valid,
5349
5555
  "onUpdate:valid": t[3] || (t[3] = (r) => e.valid = r),
5350
5556
  onReset: t[4] || (t[4] = (r) => {
@@ -5353,7 +5559,7 @@ function ss(e, t, i, o, n, l) {
5353
5559
  class: l.classes
5354
5560
  }), {
5355
5561
  default: m(() => [
5356
- w("input", {
5562
+ y("input", {
5357
5563
  ref: "input",
5358
5564
  id: `w-switch--${e._.uid}`,
5359
5565
  type: "checkbox",
@@ -5368,8 +5574,8 @@ function ss(e, t, i, o, n, l) {
5368
5574
  onFocus: t[1] || (t[1] = (r) => e.$emit("focus", r)),
5369
5575
  "aria-checked": n.isOn || "false",
5370
5576
  role: "switch"
5371
- }, null, 40, Zl),
5372
- l.hasLabel && i.labelOnLeft ? (s(), u(k, { key: 0 }, [
5577
+ }, null, 40, ds),
5578
+ l.hasLabel && i.labelOnLeft ? (s(), u(v, { key: 0 }, [
5373
5579
  e.$slots.default || i.label ? (s(), u("label", {
5374
5580
  key: 0,
5375
5581
  class: f(["w-switch__label w-switch__label--left w-form-el-shakable", e.labelClasses]),
@@ -5378,18 +5584,18 @@ function ss(e, t, i, o, n, l) {
5378
5584
  p(e.$slots, "default", {}, () => [
5379
5585
  S(_(i.label), 1)
5380
5586
  ])
5381
- ], 10, es)) : c("", !0)
5587
+ ], 10, us)) : c("", !0)
5382
5588
  ], 64)) : c("", !0),
5383
- w("div", C({
5589
+ y("div", C({
5384
5590
  class: "w-switch__input",
5385
5591
  onClick: t[2] || (t[2] = (r) => {
5386
5592
  e.$refs.input.focus(), e.$refs.input.click();
5387
5593
  })
5388
- }, W(e.$attrs, !0), { class: l.inputClasses }), [
5389
- e.$slots.track ? (s(), u("div", ts, [
5594
+ }, z(e.$attrs, !0), { class: l.inputClasses }), [
5595
+ e.$slots.track ? (s(), u("div", hs, [
5390
5596
  p(e.$slots, "track")
5391
5597
  ])) : c("", !0),
5392
- e.$slots.thumb || i.loading ? (s(), u("div", is, [
5598
+ e.$slots.thumb || i.loading ? (s(), u("div", cs, [
5393
5599
  i.loading ? (s(), g(a, C({
5394
5600
  key: 0,
5395
5601
  circle: "",
@@ -5397,7 +5603,7 @@ function ss(e, t, i, o, n, l) {
5397
5603
  }, typeof i.loading == "number" && { "model-value": i.loading }), null, 16)) : p(e.$slots, "thumb", { key: 1 })
5398
5604
  ])) : c("", !0)
5399
5605
  ], 16),
5400
- l.hasLabel && !i.labelOnLeft ? (s(), u(k, { key: 1 }, [
5606
+ l.hasLabel && !i.labelOnLeft ? (s(), u(v, { key: 1 }, [
5401
5607
  e.$slots.default || i.label ? (s(), u("label", {
5402
5608
  key: 0,
5403
5609
  class: f(["w-switch__label w-switch__label--right w-form-el-shakable", e.labelClasses]),
@@ -5406,15 +5612,15 @@ function ss(e, t, i, o, n, l) {
5406
5612
  p(e.$slots, "default", {}, () => [
5407
5613
  S(_(i.label), 1)
5408
5614
  ])
5409
- ], 10, ls)) : c("", !0)
5615
+ ], 10, ps)) : c("", !0)
5410
5616
  ], 64)) : c("", !0)
5411
5617
  ]),
5412
5618
  _: 3
5413
5619
  }, 16, ["valid", "class"]);
5414
5620
  }
5415
- const as = {
5621
+ const ms = {
5416
5622
  name: "w-switch",
5417
- mixins: [z],
5623
+ mixins: [E],
5418
5624
  props: {
5419
5625
  modelValue: { default: !1 },
5420
5626
  label: { type: String, default: "" },
@@ -5477,38 +5683,38 @@ const as = {
5477
5683
  this.isOn = e;
5478
5684
  }
5479
5685
  }
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, [
5686
+ }, gs = /* @__PURE__ */ w(ms, [["render", fs]]), bs = { class: "w-tabs__content" };
5687
+ function ys(e, t, i, o, n, l) {
5688
+ return s(), u("div", bs, [
5483
5689
  p(e.$slots, "default", { item: i.item })
5484
5690
  ]);
5485
5691
  }
5486
- const ds = {
5692
+ const ws = {
5487
5693
  name: "tab-content",
5488
5694
  props: { item: Object }
5489
- }, us = /* @__PURE__ */ v(ds, [["render", rs]]), hs = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], cs = ["innerHTML"], ps = {
5695
+ }, vs = /* @__PURE__ */ w(ws, [["render", ys]]), ks = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], _s = ["innerHTML"], Cs = {
5490
5696
  key: 0,
5491
5697
  class: "w-tabs__bar-extra"
5492
- }, fs = {
5698
+ }, Ss = {
5493
5699
  key: 0,
5494
5700
  class: "w-tabs__content-wrap"
5495
- }, ms = ["innerHTML"], gs = ["innerHTML"];
5496
- function bs(e, t, i, o, n, l) {
5701
+ }, Bs = ["innerHTML"], $s = ["innerHTML"];
5702
+ function Vs(e, t, i, o, n, l) {
5497
5703
  const a = $("tab-content");
5498
5704
  return s(), u("div", {
5499
5705
  class: f(["w-tabs", l.tabsClasses])
5500
5706
  }, [
5501
- w("div", {
5707
+ y("div", {
5502
5708
  class: f(["w-tabs__bar", l.tabsBarClasses]),
5503
5709
  ref: "tabs-bar"
5504
5710
  }, [
5505
- (s(!0), u(k, null, L(e.tabs, (r, d) => (s(), u("div", {
5711
+ (s(!0), u(v, null, L(e.tabs, (r, d) => (s(), u("div", {
5506
5712
  class: f(["w-tabs__bar-item", l.barItemClasses(r)]),
5507
5713
  key: d,
5508
5714
  onClick: (h) => !r._disabled && r._uid !== e.activeTabUid && l.openTab(r._uid),
5509
5715
  onFocus: (h) => e.$emit("focus", l.getOriginalItem(r)),
5510
5716
  tabindex: !r._disabled && 0,
5511
- onKeypress: E((h) => !r._disabled && l.openTab(r._uid), ["enter"]),
5717
+ onKeypress: W((h) => !r._disabled && l.openTab(r._uid), ["enter"]),
5512
5718
  "aria-selected": r._uid === e.activeTabUid ? "true" : "false",
5513
5719
  role: "tab"
5514
5720
  }, [
@@ -5523,12 +5729,12 @@ function bs(e, t, i, o, n, l) {
5523
5729
  index: d + 1,
5524
5730
  active: r._uid === e.activeTabUid
5525
5731
  }, () => [
5526
- w("div", {
5732
+ y("div", {
5527
5733
  innerHTML: r[i.itemTitleKey]
5528
- }, null, 8, cs)
5734
+ }, null, 8, _s)
5529
5735
  ])
5530
- ], 42, hs))), 128)),
5531
- e.$slots["tabs-bar-extra"] ? (s(), u("div", ps, [
5736
+ ], 42, ks))), 128)),
5737
+ e.$slots["tabs-bar-extra"] ? (s(), u("div", Cs, [
5532
5738
  p(e.$slots, "tabs-bar-extra")
5533
5739
  ])) : c("", !0),
5534
5740
  !i.noSlider && !i.card ? (s(), u("div", {
@@ -5537,13 +5743,13 @@ function bs(e, t, i, o, n, l) {
5537
5743
  style: R(l.sliderStyles)
5538
5744
  }, null, 6)) : c("", !0)
5539
5745
  ], 2),
5540
- e.tabs.length ? (s(), u("div", fs, [
5541
- i.keepInDom ? (s(), g(ae, {
5746
+ e.tabs.length ? (s(), u("div", Ss, [
5747
+ i.keepInDom ? (s(), g(oe, {
5542
5748
  key: 0,
5543
5749
  name: l.transitionName
5544
5750
  }, {
5545
5751
  default: m(() => [
5546
- (s(!0), u(k, null, L(e.tabs, (r, d) => N((s(), g(a, {
5752
+ (s(!0), u(v, null, L(e.tabs, (r, d) => N((s(), g(a, {
5547
5753
  key: r._uid,
5548
5754
  item: r,
5549
5755
  class: f(i.contentClass)
@@ -5563,12 +5769,12 @@ function bs(e, t, i, o, n, l) {
5563
5769
  r[i.itemContentKey] ? (s(), u("div", {
5564
5770
  key: 0,
5565
5771
  innerHTML: r[i.itemContentKey]
5566
- }, null, 8, ms)) : c("", !0)
5772
+ }, null, 8, Bs)) : c("", !0)
5567
5773
  ])
5568
5774
  ]),
5569
5775
  _: 2
5570
5776
  }, 1032, ["item", "class"])), [
5571
- [oe, r._uid === l.activeTab._uid]
5777
+ [ae, r._uid === l.activeTab._uid]
5572
5778
  ])), 128))
5573
5779
  ]),
5574
5780
  _: 3
@@ -5587,7 +5793,7 @@ function bs(e, t, i, o, n, l) {
5587
5793
  class: f(i.contentClass)
5588
5794
  }, {
5589
5795
  default: m(({ item: r }) => [
5590
- r ? (s(), u(k, { key: 0 }, [
5796
+ r ? (s(), u(v, { key: 0 }, [
5591
5797
  e.$slots[`item-content.${r._index + 1}`] ? p(e.$slots, `item-content.${r._index + 1}`, {
5592
5798
  key: 0,
5593
5799
  item: l.getOriginalItem(r),
@@ -5602,7 +5808,7 @@ function bs(e, t, i, o, n, l) {
5602
5808
  r[i.itemContentKey] ? (s(), u("div", {
5603
5809
  key: 0,
5604
5810
  innerHTML: r[i.itemContentKey]
5605
- }, null, 8, gs)) : c("", !0)
5811
+ }, null, 8, $s)) : c("", !0)
5606
5812
  ])
5607
5813
  ], 64)) : c("", !0)
5608
5814
  ]),
@@ -5616,7 +5822,7 @@ function bs(e, t, i, o, n, l) {
5616
5822
  ], 2);
5617
5823
  }
5618
5824
  let fe = 0;
5619
- const ys = {
5825
+ const Is = {
5620
5826
  name: "w-tabs",
5621
5827
  props: {
5622
5828
  modelValue: { type: [Number, String] },
@@ -5642,7 +5848,7 @@ const ys = {
5642
5848
  keepAlive: { type: Boolean, default: !0 },
5643
5849
  keepInDom: { type: Boolean, default: !1 }
5644
5850
  },
5645
- components: { TabContent: us },
5851
+ components: { TabContent: vs },
5646
5852
  emits: ["input", "update:modelValue", "focus"],
5647
5853
  data: () => ({
5648
5854
  tabs: [],
@@ -5791,52 +5997,52 @@ const ys = {
5791
5997
  e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
5792
5998
  }
5793
5999
  }
5794
- }, ws = /* @__PURE__ */ v(ys, [["render", bs]]), vs = { ref: "colgroup" }, ks = ["width"], _s = { key: 0 }, Cs = ["onClick"], Ss = ["innerHTML"], Bs = {
6000
+ }, Ts = /* @__PURE__ */ w(Is, [["render", Vs]]), Ls = { ref: "colgroup" }, Rs = ["width"], xs = { key: 0 }, Os = ["onClick"], Ps = ["innerHTML"], Ms = {
5795
6001
  key: 0,
5796
6002
  class: "w-table__progress-bar"
5797
- }, $s = ["colspan"], Vs = {
6003
+ }, zs = ["colspan"], Es = {
5798
6004
  key: 0,
5799
6005
  class: "w-table__progress-bar"
5800
- }, Is = ["colspan"], Ts = { class: "w-table__loading-text" }, Rs = {
6006
+ }, Ws = ["colspan"], As = { class: "w-table__loading-text" }, Ns = {
5801
6007
  key: 1,
5802
6008
  class: "no-data"
5803
- }, Ls = ["colspan"], xs = ["onClick"], Os = ["data-label"], Ps = ["data-label"], zs = ["innerHTML"], Ms = {
6009
+ }, Ks = ["colspan"], Hs = ["onClick"], Ds = ["data-label"], Fs = ["data-label"], js = ["innerHTML"], Us = {
5804
6010
  key: 2,
5805
6011
  class: "w-table__row w-table__row--expansion"
5806
- }, Es = ["colspan"], Ws = { key: 0 }, As = {
6012
+ }, qs = ["colspan"], Xs = { key: 0 }, Ys = {
5807
6013
  key: 3,
5808
6014
  class: "w-table__extra-row"
5809
- }, Ns = {
6015
+ }, Gs = {
5810
6016
  key: 1,
5811
6017
  class: "w-table__footer"
5812
- }, Ks = {
6018
+ }, Js = {
5813
6019
  key: 1,
5814
6020
  class: "w-table__row"
5815
- }, Hs = ["colspan"], Ds = {
6021
+ }, Qs = ["colspan"], Zs = {
5816
6022
  key: 2,
5817
6023
  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");
6024
+ }, eo = ["colspan"], to = { class: "w-table__pagination w-pagination" }, io = { class: "pages-wrap" }, lo = { class: "w-pagination__results" };
6025
+ function so(e, t, i, o, n, l) {
6026
+ const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), k = $("w-select"), B = $("w-button");
5821
6027
  return s(), u("div", {
5822
6028
  class: f(["w-table-wrap", l.wrapClasses])
5823
6029
  }, [
5824
- w("table", {
6030
+ y("table", {
5825
6031
  class: f(["w-table", l.classes]),
5826
6032
  onMousedown: t[5] || (t[5] = (...b) => l.onMouseDown && l.onMouseDown(...b)),
5827
6033
  onMouseover: t[6] || (t[6] = (...b) => l.onMouseOver && l.onMouseOver(...b)),
5828
6034
  onMouseout: t[7] || (t[7] = (...b) => l.onMouseOut && l.onMouseOut(...b))
5829
6035
  }, [
5830
- w("colgroup", vs, [
5831
- (s(!0), u(k, null, L(i.headers, (b, T) => (s(), u("col", {
6036
+ y("colgroup", Ls, [
6037
+ (s(!0), u(v, null, L(i.headers, (b, T) => (s(), u("col", {
5832
6038
  class: f(["w-table__col", l.colClasses[T]]),
5833
6039
  key: T,
5834
6040
  width: b.width || null
5835
- }, null, 10, ks))), 128))
6041
+ }, null, 10, Rs))), 128))
5836
6042
  ], 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", {
6043
+ i.noHeaders ? c("", !0) : (s(), u("thead", xs, [
6044
+ y("tr", null, [
6045
+ (s(!0), u(v, null, L(i.headers, (b, T) => (s(), u("th", {
5840
6046
  class: f(["w-table__header", l.headerClasses(b)]),
5841
6047
  key: T,
5842
6048
  onClick: (x) => !e.colResizing.dragging && b.sortable !== !1 && l.sortTable(b)
@@ -5850,7 +6056,7 @@ function Xs(e, t, i, o, n, l) {
5850
6056
  ]),
5851
6057
  _: 2
5852
6058
  }, 1032, ["class"])) : c("", !0),
5853
- b.label ? (s(), u(k, { key: 1 }, [
6059
+ b.label ? (s(), u(v, { key: 1 }, [
5854
6060
  e.$slots["header-label"] ? p(e.$slots, "header-label", {
5855
6061
  key: 0,
5856
6062
  header: b,
@@ -5861,7 +6067,7 @@ function Xs(e, t, i, o, n, l) {
5861
6067
  ]) : (s(), u("span", {
5862
6068
  key: 1,
5863
6069
  innerHTML: b.label || ""
5864
- }, null, 8, Ss))
6070
+ }, null, 8, Ps))
5865
6071
  ], 64)) : c("", !0),
5866
6072
  b.sortable !== !1 && b.align !== "right" ? (s(), g(a, {
5867
6073
  key: 2,
@@ -5878,44 +6084,44 @@ function Xs(e, t, i, o, n, l) {
5878
6084
  onClick: t[0] || (t[0] = M(() => {
5879
6085
  }, ["stop"]))
5880
6086
  }, null, 2)) : c("", !0)
5881
- ], 10, Cs))), 128))
6087
+ ], 10, Os))), 128))
5882
6088
  ]),
5883
- I(d, null, {
6089
+ V(d, null, {
5884
6090
  default: m(() => [
5885
- i.loading === "header" ? (s(), u("tr", Bs, [
5886
- w("td", {
6091
+ i.loading === "header" ? (s(), u("tr", Ms, [
6092
+ y("td", {
5887
6093
  colspan: i.headers.length
5888
6094
  }, [
5889
- I(r, { tile: "" })
5890
- ], 8, $s)
6095
+ V(r, { tile: "" })
6096
+ ], 8, zs)
5891
6097
  ])) : c("", !0)
5892
6098
  ]),
5893
6099
  _: 1
5894
6100
  })
5895
6101
  ])),
5896
- w("tbody", null, [
5897
- i.loading === !0 ? (s(), u("tr", Vs, [
5898
- w("td", {
6102
+ y("tbody", null, [
6103
+ i.loading === !0 ? (s(), u("tr", Es, [
6104
+ y("td", {
5899
6105
  colspan: i.headers.length
5900
6106
  }, [
5901
- I(r, { tile: "" }),
5902
- w("div", Ts, [
6107
+ V(r, { tile: "" }),
6108
+ y("div", As, [
5903
6109
  p(e.$slots, "loading", {}, () => [
5904
6110
  S("Loading...")
5905
6111
  ])
5906
6112
  ])
5907
- ], 8, Is)
5908
- ])) : l.tableItems.length ? c("", !0) : (s(), u("tr", Rs, [
5909
- w("td", {
6113
+ ], 8, Ws)
6114
+ ])) : l.tableItems.length ? c("", !0) : (s(), u("tr", Ns, [
6115
+ y("td", {
5910
6116
  class: "w-table__cell text-center",
5911
6117
  colspan: i.headers.length
5912
6118
  }, [
5913
6119
  p(e.$slots, "no-data", {}, () => [
5914
6120
  S("No data to show.")
5915
6121
  ])
5916
- ], 8, Ls)
6122
+ ], 8, Ks)
5917
6123
  ])),
5918
- l.tableItems.length && i.loading !== !0 ? (s(!0), u(k, { key: 2 }, L(l.paginatedItems, (b, T) => (s(), u(k, { key: T }, [
6124
+ l.tableItems.length && i.loading !== !0 ? (s(!0), u(v, { key: 2 }, L(l.paginatedItems, (b, T) => (s(), u(v, { key: T }, [
5919
6125
  e.$slots.item ? p(e.$slots, "item", {
5920
6126
  key: 0,
5921
6127
  item: b,
@@ -5927,7 +6133,7 @@ function Xs(e, t, i, o, n, l) {
5927
6133
  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
6134
  onClick: (x) => l.doSelectRow(b, T)
5929
6135
  }, [
5930
- (s(!0), u(k, null, L(i.headers, (x, P) => (s(), u(k, null, [
6136
+ (s(!0), u(v, null, L(i.headers, (x, P) => (s(), u(v, null, [
5931
6137
  e.$slots[`item-cell.${x.key}`] || e.$slots[`item-cell.${P + 1}`] || e.$slots["item-cell"] ? (s(), u("td", {
5932
6138
  class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
5933
6139
  key: `${P}-a`,
@@ -5956,29 +6162,29 @@ function Xs(e, t, i, o, n, l) {
5956
6162
  key: 3,
5957
6163
  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
6164
  }, null, 2)) : c("", !0)
5959
- ], 10, Os)) : (s(), u("td", {
6165
+ ], 10, Ds)) : (s(), u("td", {
5960
6166
  class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
5961
6167
  key: `${P}-b`,
5962
6168
  "data-label": x.label
5963
6169
  }, [
5964
- w("div", {
6170
+ y("div", {
5965
6171
  innerHTML: b[x.key] || ""
5966
- }, null, 8, zs),
6172
+ }, null, 8, js),
5967
6173
  P < i.headers.length - 1 && i.resizableColumns ? (s(), u("span", {
5968
6174
  key: 0,
5969
6175
  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
6176
  }, null, 2)) : c("", !0)
5971
- ], 10, Ps))
6177
+ ], 10, Fs))
5972
6178
  ], 64))), 256))
5973
- ], 10, xs)),
5974
- l.expandedRowsByUid[b._uid] ? (s(), u("tr", Ms, [
5975
- w("td", {
6179
+ ], 10, Hs)),
6180
+ l.expandedRowsByUid[b._uid] ? (s(), u("tr", Us, [
6181
+ y("td", {
5976
6182
  class: "w-table__cell",
5977
6183
  colspan: i.headers.length
5978
6184
  }, [
5979
- I(h, { y: "" }, {
6185
+ V(h, { y: "" }, {
5980
6186
  default: m(() => [
5981
- l.expandedRowsByUid[b._uid] ? (s(), u("div", Ws, [
6187
+ l.expandedRowsByUid[b._uid] ? (s(), u("div", Xs, [
5982
6188
  p(e.$slots, "row-expansion", {
5983
6189
  item: b,
5984
6190
  index: T + 1
@@ -5991,33 +6197,33 @@ function Xs(e, t, i, o, n, l) {
5991
6197
  ]),
5992
6198
  _: 2
5993
6199
  }, 1024)
5994
- ], 8, Es)
6200
+ ], 8, qs)
5995
6201
  ])) : c("", !0)
5996
6202
  ], 64))), 128)) : c("", !0),
5997
- e.$slots["extra-row"] ? (s(), u("div", As, [
6203
+ e.$slots["extra-row"] ? (s(), u("div", Ys, [
5998
6204
  p(e.$slots, "extra-row")
5999
6205
  ])) : c("", !0)
6000
6206
  ]),
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", {
6207
+ e.$slots.footer || e.$slots["footer-row"] || i.pagination ? (s(), u("tfoot", Gs, [
6208
+ e.$slots["footer-row"] ? p(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (s(), u("tr", Js, [
6209
+ y("td", {
6004
6210
  class: "w-table__cell",
6005
6211
  colspan: i.headers.length
6006
6212
  }, [
6007
6213
  p(e.$slots, "footer")
6008
- ], 8, Hs)
6214
+ ], 8, Qs)
6009
6215
  ])) : c("", !0),
6010
- i.pagination && e.paginationConfig ? (s(), u("tr", Ds, [
6011
- w("td", {
6216
+ i.pagination && e.paginationConfig ? (s(), u("tr", Zs, [
6217
+ y("td", {
6012
6218
  class: "w-table__cell",
6013
6219
  colspan: i.headers.length
6014
6220
  }, [
6015
- w("div", js, [
6221
+ y("div", to, [
6016
6222
  p(e.$slots, "pagination", {
6017
6223
  range: `${e.paginationConfig.start}-${e.paginationConfig.end}`,
6018
6224
  total: e.paginationConfig.total
6019
6225
  }, () => [
6020
- e.paginationConfig.itemsPerPageOptions ? (s(), g(y, {
6226
+ e.paginationConfig.itemsPerPageOptions ? (s(), g(k, {
6021
6227
  key: 0,
6022
6228
  class: "w-pagination__items-per-page",
6023
6229
  modelValue: e.paginationConfig.itemsPerPage,
@@ -6028,8 +6234,8 @@ function Xs(e, t, i, o, n, l) {
6028
6234
  label: "Items per page",
6029
6235
  "label-color": "inherit"
6030
6236
  }, null, 8, ["modelValue", "items"])) : c("", !0),
6031
- w("div", Us, [
6032
- I(B, {
6237
+ y("div", io, [
6238
+ V(B, {
6033
6239
  class: "w-pagination__arrow w-pagination__arrow--prev",
6034
6240
  onClick: t[3] || (t[3] = (b) => l.goToPage("-1")),
6035
6241
  disabled: e.paginationConfig.page <= 1,
@@ -6037,7 +6243,7 @@ function Xs(e, t, i, o, n, l) {
6037
6243
  text: "",
6038
6244
  lg: ""
6039
6245
  }, null, 8, ["disabled"]),
6040
- (s(!0), u(k, null, L(e.paginationConfig.pagesCount, (b) => (s(), g(B, {
6246
+ (s(!0), u(v, null, L(e.paginationConfig.pagesCount, (b) => (s(), g(B, {
6041
6247
  class: f(["w-pagination__page", { "w-pagination__page--active": b === e.paginationConfig.page }]),
6042
6248
  key: b,
6043
6249
  onClick: (T) => b !== e.paginationConfig.page && l.goToPage(b),
@@ -6049,7 +6255,7 @@ function Xs(e, t, i, o, n, l) {
6049
6255
  ]),
6050
6256
  _: 2
6051
6257
  }, 1032, ["onClick", "class"]))), 128)),
6052
- I(B, {
6258
+ V(B, {
6053
6259
  class: "w-pagination__arrow w-pagination__arrow--next",
6054
6260
  onClick: t[4] || (t[4] = (b) => l.goToPage("+1")),
6055
6261
  disabled: e.paginationConfig.page >= e.paginationConfig.pagesCount,
@@ -6058,16 +6264,16 @@ function Xs(e, t, i, o, n, l) {
6058
6264
  lg: ""
6059
6265
  }, null, 8, ["disabled"])
6060
6266
  ]),
6061
- w("span", qs, _(e.paginationConfig.start) + "-" + _(e.paginationConfig.end || e.paginationConfig.total) + " of " + _(e.paginationConfig.total), 1)
6267
+ y("span", lo, _(e.paginationConfig.start) + "-" + _(e.paginationConfig.end || e.paginationConfig.total) + " of " + _(e.paginationConfig.total), 1)
6062
6268
  ])
6063
6269
  ])
6064
- ], 8, Fs)
6270
+ ], 8, eo)
6065
6271
  ])) : c("", !0)
6066
6272
  ])) : c("", !0)
6067
6273
  ], 34)
6068
6274
  ], 2);
6069
6275
  }
6070
- const me = 15, Ys = {
6276
+ const me = 15, oo = {
6071
6277
  name: "w-table",
6072
6278
  props: {
6073
6279
  items: { type: Array, required: !0 },
@@ -6266,8 +6472,8 @@ const me = 15, Ys = {
6266
6472
  this.colResizing.dragging = !0;
6267
6473
  const a = e.pageX - t, r = n + l, d = n + a, h = l - a;
6268
6474
  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) {
6475
+ const k = a < 0 && i.offsetWidth > d || i.offsetWidth <= me, B = a > 0 && o.offsetWidth > h;
6476
+ if (k) {
6271
6477
  const b = Math.max(i.offsetWidth, me);
6272
6478
  i.style.width = b + "px", o.style.width = r - b + "px";
6273
6479
  } else
@@ -6351,13 +6557,13 @@ const me = 15, Ys = {
6351
6557
  this.updatePaginationConfig({ total: e });
6352
6558
  }
6353
6559
  }
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), {
6560
+ }, ao = /* @__PURE__ */ w(oo, [["render", so]]), no = ["role", "aria-pressed", "tabindex"];
6561
+ function ro(e, t, i, o, n, l) {
6562
+ return s(), u("span", C({ class: "w-tag" }, z(e.$attrs, !0), {
6357
6563
  onClick: t[1] || (t[1] = (a) => {
6358
6564
  e.$emit("update:modelValue", !i.modelValue), e.$emit("input", !i.modelValue);
6359
6565
  }),
6360
- onKeypress: t[2] || (t[2] = E((a) => {
6566
+ onKeypress: t[2] || (t[2] = W((a) => {
6361
6567
  e.$emit("update:modelValue", !i.modelValue), e.$emit("input", !i.modelValue);
6362
6568
  }, ["enter"])),
6363
6569
  class: l.classes,
@@ -6376,9 +6582,9 @@ function Qs(e, t, i, o, n, l) {
6376
6582
  role: "icon",
6377
6583
  "aria-hidden": "true"
6378
6584
  })) : c("", !0)
6379
- ], 16, Js);
6585
+ ], 16, no);
6380
6586
  }
6381
- const Zs = {
6587
+ const uo = {
6382
6588
  name: "w-tag",
6383
6589
  props: {
6384
6590
  modelValue: { type: [Boolean, Number], default: -1 },
@@ -6427,10 +6633,10 @@ const Zs = {
6427
6633
  };
6428
6634
  }
6429
6635
  }
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) {
6636
+ }, ho = /* @__PURE__ */ w(uo, [["render", ro]]), co = ["for"], po = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], fo = ["for"];
6637
+ function mo(e, t, i, o, n, l) {
6432
6638
  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 }, {
6639
+ 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
6640
  valid: e.valid,
6435
6641
  "onUpdate:valid": t[6] || (t[6] = (r) => e.valid = r),
6436
6642
  wrap: l.hasLabel && i.labelPosition !== "inside",
@@ -6440,7 +6646,7 @@ function aa(e, t, i, o, n, l) {
6440
6646
  class: l.classes
6441
6647
  }), {
6442
6648
  default: m(() => [
6443
- i.labelPosition === "left" ? (s(), u(k, { key: 0 }, [
6649
+ i.labelPosition === "left" ? (s(), u(v, { key: 0 }, [
6444
6650
  e.$slots.default || i.label ? (s(), u("label", {
6445
6651
  key: 0,
6446
6652
  class: f(["w-textarea__label w-textarea__label--left w-form-el-shakable", e.labelClasses]),
@@ -6449,9 +6655,9 @@ function aa(e, t, i, o, n, l) {
6449
6655
  p(e.$slots, "default", {}, () => [
6450
6656
  S(_(i.label), 1)
6451
6657
  ])
6452
- ], 10, ta)) : c("", !0)
6658
+ ], 10, co)) : c("", !0)
6453
6659
  ], 64)) : c("", !0),
6454
- w("div", {
6660
+ y("div", {
6455
6661
  class: f(["w-textarea__textarea-wrap", l.inputWrapClasses])
6456
6662
  }, [
6457
6663
  i.innerIconLeft ? (s(), g(a, {
@@ -6466,11 +6672,11 @@ function aa(e, t, i, o, n, l) {
6466
6672
  ]),
6467
6673
  _: 1
6468
6674
  }, 8, ["for"])) : c("", !0),
6469
- N(w("textarea", C({
6675
+ N(y("textarea", C({
6470
6676
  class: "w-textarea__textarea",
6471
6677
  ref: "textarea",
6472
6678
  "onUpdate:modelValue": t[1] || (t[1] = (r) => n.inputValue = r)
6473
- }, W(l.listeners, !0), {
6679
+ }, z(l.listeners, !0), {
6474
6680
  onInput: t[2] || (t[2] = (...r) => l.onInput && l.onInput(...r)),
6475
6681
  onFocus: t[3] || (t[3] = (...r) => l.onFocus && l.onFocus(...r)),
6476
6682
  onBlur: t[4] || (t[4] = (...r) => l.onBlur && l.onBlur(...r)),
@@ -6484,19 +6690,18 @@ function aa(e, t, i, o, n, l) {
6484
6690
  disabled: e.isDisabled || null,
6485
6691
  required: e.required || null,
6486
6692
  tabindex: e.tabindex || null
6487
- }), null, 16, ia), [
6693
+ }), null, 16, po), [
6488
6694
  [be, n.inputValue]
6489
6695
  ]),
6490
- i.labelPosition === "inside" && l.showLabelInside ? (s(), u(k, { key: 1 }, [
6696
+ i.labelPosition === "inside" && l.showLabelInside ? (s(), u(v, { key: 1 }, [
6491
6697
  e.$slots.default || i.label ? (s(), u("label", {
6492
6698
  key: 0,
6493
- class: f(["w-textarea__label w-textarea__label--inside w-form-el-shakable", e.labelClasses]),
6494
- for: `w-textarea--${e._.uid}`
6699
+ class: f(["w-textarea__label w-textarea__label--inside w-form-el-shakable", e.labelClasses])
6495
6700
  }, [
6496
6701
  p(e.$slots, "default", {}, () => [
6497
6702
  S(_(i.label), 1)
6498
6703
  ])
6499
- ], 10, la)) : c("", !0)
6704
+ ], 2)) : c("", !0)
6500
6705
  ], 64)) : c("", !0),
6501
6706
  i.innerIconRight ? (s(), g(a, {
6502
6707
  key: 2,
@@ -6511,7 +6716,7 @@ function aa(e, t, i, o, n, l) {
6511
6716
  _: 1
6512
6717
  }, 8, ["for"])) : c("", !0)
6513
6718
  ], 2),
6514
- i.labelPosition === "right" ? (s(), u(k, { key: 1 }, [
6719
+ i.labelPosition === "right" ? (s(), u(v, { key: 1 }, [
6515
6720
  e.$slots.default || i.label ? (s(), u("label", {
6516
6721
  key: 0,
6517
6722
  class: f(["w-textarea__label w-textarea__label--right w-form-el-shakable", e.labelClasses]),
@@ -6520,15 +6725,15 @@ function aa(e, t, i, o, n, l) {
6520
6725
  p(e.$slots, "default", {}, () => [
6521
6726
  S(_(i.label), 1)
6522
6727
  ])
6523
- ], 10, sa)) : c("", !0)
6728
+ ], 10, fo)) : c("", !0)
6524
6729
  ], 64)) : c("", !0)
6525
6730
  ]),
6526
6731
  _: 3
6527
6732
  }, 16, ["valid", "wrap", "class"]);
6528
6733
  }
6529
- const oa = {
6734
+ const go = {
6530
6735
  name: "w-textarea",
6531
- mixins: [z],
6736
+ mixins: [E],
6532
6737
  props: {
6533
6738
  modelValue: { default: "" },
6534
6739
  label: { type: String },
@@ -6642,16 +6847,16 @@ const oa = {
6642
6847
  e ? this.getLineHeight() : this.height = null;
6643
6848
  }
6644
6849
  }
6645
- }, na = /* @__PURE__ */ v(oa, [["render", aa]]), ra = ["innerHTML"], da = ["innerHTML"];
6646
- function ua(e, t, i, o, n, l) {
6850
+ }, bo = /* @__PURE__ */ w(go, [["render", mo]]), yo = ["innerHTML"], wo = ["innerHTML"];
6851
+ function vo(e, t, i, o, n, l) {
6647
6852
  return s(), u("ul", {
6648
6853
  class: f(["w-timeline", l.classes])
6649
6854
  }, [
6650
- (s(!0), u(k, null, L(i.items, (a, r) => (s(), u("li", {
6855
+ (s(!0), u(v, null, L(i.items, (a, r) => (s(), u("li", {
6651
6856
  class: "w-timeline-item",
6652
6857
  key: r
6653
6858
  }, [
6654
- (s(), g(V(a[i.itemIconKey] || i.icon ? "w-icon" : "div"), {
6859
+ (s(), g(I(a[i.itemIconKey] || i.icon ? "w-icon" : "div"), {
6655
6860
  class: f(["w-timeline-item__bullet", { [a[i.itemColorKey] || i.color]: a[i.itemColorKey] || i.color }])
6656
6861
  }, {
6657
6862
  default: m(() => [
@@ -6668,19 +6873,19 @@ function ua(e, t, i, o, n, l) {
6668
6873
  item: a,
6669
6874
  index: r + 1
6670
6875
  }, () => [
6671
- w("div", {
6876
+ y("div", {
6672
6877
  class: f(["w-timeline-item__title", { [a[i.itemColorKey] || i.color]: a[i.itemColorKey] || i.color }]),
6673
6878
  innerHTML: a[i.itemTitleKey]
6674
- }, null, 10, ra),
6675
- w("div", {
6879
+ }, null, 10, yo),
6880
+ y("div", {
6676
6881
  class: "w-timeline-item__content",
6677
6882
  innerHTML: a[i.itemContentKey]
6678
- }, null, 8, da)
6883
+ }, null, 8, wo)
6679
6884
  ])
6680
6885
  ]))), 128))
6681
6886
  ], 2);
6682
6887
  }
6683
- const ha = {
6888
+ const ko = {
6684
6889
  name: "w-timeline",
6685
6890
  props: {
6686
6891
  items: { type: [Array, Number], required: !0 },
@@ -6702,8 +6907,8 @@ const ha = {
6702
6907
  };
6703
6908
  }
6704
6909
  }
6705
- }, ca = /* @__PURE__ */ v(ha, [["render", ua]]);
6706
- function pa(e, t, i, o, n, l) {
6910
+ }, _o = /* @__PURE__ */ w(ko, [["render", vo]]);
6911
+ function Co(e, t, i, o, n, l) {
6707
6912
  return s(), u("div", {
6708
6913
  class: f(["w-toolbar", l.classes]),
6709
6914
  style: R(l.styles)
@@ -6711,7 +6916,7 @@ function pa(e, t, i, o, n, l) {
6711
6916
  p(e.$slots, "default")
6712
6917
  ], 6);
6713
6918
  }
6714
- const fa = {
6919
+ const So = {
6715
6920
  name: "w-toolbar",
6716
6921
  props: {
6717
6922
  color: { type: String },
@@ -6760,11 +6965,11 @@ const fa = {
6760
6965
  };
6761
6966
  }
6762
6967
  }
6763
- }, ma = /* @__PURE__ */ v(fa, [["render", pa]]);
6764
- function ga(e, t, i, o, n, l) {
6765
- return s(), u(k, null, [
6968
+ }, Bo = /* @__PURE__ */ w(So, [["render", Co]]);
6969
+ function $o(e, t, i, o, n, l) {
6970
+ return s(), u(v, null, [
6766
6971
  p(e.$slots, "activator", { on: l.activatorEventHandlers }),
6767
- I(O, {
6972
+ V(O, {
6768
6973
  name: l.transitionName,
6769
6974
  appear: ""
6770
6975
  }, {
@@ -6782,7 +6987,7 @@ function ga(e, t, i, o, n, l) {
6782
6987
  }, 8, ["name"])
6783
6988
  ], 64);
6784
6989
  }
6785
- const ba = {
6990
+ const Vo = {
6786
6991
  name: "w-tooltip",
6787
6992
  mixins: [we],
6788
6993
  props: {
@@ -6881,8 +7086,8 @@ const ba = {
6881
7086
  !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
7087
  }
6883
7088
  }
6884
- }, ya = /* @__PURE__ */ v(ba, [["render", ga]]);
6885
- function wa(e, t, i, o, n, l) {
7089
+ }, Io = /* @__PURE__ */ w(Vo, [["render", $o]]);
7090
+ function To(e, t, i, o, n, l) {
6886
7091
  return s(), g(O, C({ name: "bounce" }, e.$props), {
6887
7092
  default: m(() => [
6888
7093
  p(e.$slots, "default")
@@ -6890,14 +7095,14 @@ function wa(e, t, i, o, n, l) {
6890
7095
  _: 3
6891
7096
  }, 16);
6892
7097
  }
6893
- const va = {
7098
+ const Lo = {
6894
7099
  name: "w-transition-bounce",
6895
7100
  props: {
6896
7101
  appear: { type: Boolean },
6897
7102
  duration: { type: [Number, String] }
6898
7103
  }
6899
- }, ka = /* @__PURE__ */ v(va, [["render", wa]]);
6900
- function _a(e, t, i, o, n, l) {
7104
+ }, Ro = /* @__PURE__ */ w(Lo, [["render", To]]);
7105
+ function xo(e, t, i, o, n, l) {
6901
7106
  return s(), g(O, {
6902
7107
  name: "expand",
6903
7108
  mode: "out-in",
@@ -6918,7 +7123,7 @@ function _a(e, t, i, o, n, l) {
6918
7123
  _: 3
6919
7124
  }, 8, ["onBeforeAppear", "onAppear", "onAfterAppear", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"]);
6920
7125
  }
6921
- const Ca = {
7126
+ const Oo = {
6922
7127
  name: "w-transition-expand",
6923
7128
  props: {
6924
7129
  x: { type: Boolean },
@@ -7008,8 +7213,8 @@ const Ca = {
7008
7213
  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
7214
  }
7010
7215
  }
7011
- }, Sa = /* @__PURE__ */ v(Ca, [["render", _a]]);
7012
- function Ba(e, t, i, o, n, l) {
7216
+ }, Po = /* @__PURE__ */ w(Oo, [["render", xo]]);
7217
+ function Mo(e, t, i, o, n, l) {
7013
7218
  return s(), g(O, C({ name: "fade" }, e.$props), {
7014
7219
  default: m(() => [
7015
7220
  p(e.$slots, "default")
@@ -7017,14 +7222,14 @@ function Ba(e, t, i, o, n, l) {
7017
7222
  _: 3
7018
7223
  }, 16);
7019
7224
  }
7020
- const $a = {
7225
+ const zo = {
7021
7226
  name: "w-transition-fade",
7022
7227
  props: {
7023
7228
  appear: { type: Boolean },
7024
7229
  duration: { type: [Number, String] }
7025
7230
  }
7026
- }, Va = /* @__PURE__ */ v($a, [["render", Ba]]);
7027
- function Ia(e, t, i, o, n, l) {
7231
+ }, Eo = /* @__PURE__ */ w(zo, [["render", Mo]]);
7232
+ function Wo(e, t, i, o, n, l) {
7028
7233
  return s(), g(O, C({ name: "scale" }, e.$props), {
7029
7234
  default: m(() => [
7030
7235
  p(e.$slots, "default")
@@ -7032,14 +7237,14 @@ function Ia(e, t, i, o, n, l) {
7032
7237
  _: 3
7033
7238
  }, 16);
7034
7239
  }
7035
- const Ta = {
7240
+ const Ao = {
7036
7241
  name: "w-transition-scale",
7037
7242
  props: {
7038
7243
  appear: { type: Boolean },
7039
7244
  duration: { type: [Number, String] }
7040
7245
  }
7041
- }, Ra = /* @__PURE__ */ v(Ta, [["render", Ia]]);
7042
- function La(e, t, i, o, n, l) {
7246
+ }, No = /* @__PURE__ */ w(Ao, [["render", Wo]]);
7247
+ function Ko(e, t, i, o, n, l) {
7043
7248
  return s(), g(O, C({ name: "scale-fade" }, e.$props), {
7044
7249
  default: m(() => [
7045
7250
  p(e.$slots, "default")
@@ -7047,14 +7252,14 @@ function La(e, t, i, o, n, l) {
7047
7252
  _: 3
7048
7253
  }, 16);
7049
7254
  }
7050
- const xa = {
7255
+ const Ho = {
7051
7256
  name: "w-transition-scale-fade",
7052
7257
  props: {
7053
7258
  appear: { type: Boolean },
7054
7259
  duration: { type: [Number, String] }
7055
7260
  }
7056
- }, Oa = /* @__PURE__ */ v(xa, [["render", La]]);
7057
- function Pa(e, t, i, o, n, l) {
7261
+ }, Do = /* @__PURE__ */ w(Ho, [["render", Ko]]);
7262
+ function Fo(e, t, i, o, n, l) {
7058
7263
  return s(), g(O, C({ name: l.transitionName }, e.$props), {
7059
7264
  default: m(() => [
7060
7265
  p(e.$slots, "default")
@@ -7062,7 +7267,7 @@ function Pa(e, t, i, o, n, l) {
7062
7267
  _: 3
7063
7268
  }, 16, ["name"]);
7064
7269
  }
7065
- const za = {
7270
+ const jo = {
7066
7271
  name: "w-transition-slide",
7067
7272
  props: {
7068
7273
  appear: { type: Boolean },
@@ -7080,8 +7285,8 @@ const za = {
7080
7285
  return `slide-${this.direction}`;
7081
7286
  }
7082
7287
  }
7083
- }, Ma = /* @__PURE__ */ v(za, [["render", Pa]]);
7084
- function Ea(e, t, i, o, n, l) {
7288
+ }, Uo = /* @__PURE__ */ w(jo, [["render", Fo]]);
7289
+ function qo(e, t, i, o, n, l) {
7085
7290
  return s(), g(O, C({ name: l.transitionName }, e.$props), {
7086
7291
  default: m(() => [
7087
7292
  p(e.$slots, "default")
@@ -7089,7 +7294,7 @@ function Ea(e, t, i, o, n, l) {
7089
7294
  _: 3
7090
7295
  }, 16, ["name"]);
7091
7296
  }
7092
- const Wa = {
7297
+ const Xo = {
7093
7298
  name: "w-transition-slide-fade",
7094
7299
  props: {
7095
7300
  appear: { type: Boolean },
@@ -7107,8 +7312,8 @@ const Wa = {
7107
7312
  return `slide-fade-${this.direction}`;
7108
7313
  }
7109
7314
  }
7110
- }, Aa = /* @__PURE__ */ v(Wa, [["render", Ea]]);
7111
- function Na(e, t, i, o, n, l) {
7315
+ }, Yo = /* @__PURE__ */ w(Xo, [["render", qo]]);
7316
+ function Go(e, t, i, o, n, l) {
7112
7317
  return s(), g(O, C({ name: "twist" }, e.$props), {
7113
7318
  default: m(() => [
7114
7319
  p(e.$slots, "default")
@@ -7116,26 +7321,26 @@ function Na(e, t, i, o, n, l) {
7116
7321
  _: 3
7117
7322
  }, 16);
7118
7323
  }
7119
- const Ka = {
7324
+ const Jo = {
7120
7325
  name: "w-transition-twist",
7121
7326
  props: {
7122
7327
  appear: { type: Boolean },
7123
7328
  duration: { type: [Number, String] }
7124
7329
  }
7125
- }, Ha = /* @__PURE__ */ v(Ka, [["render", Na]]), Da = ["innerHTML"], Fa = {
7330
+ }, Qo = /* @__PURE__ */ w(Jo, [["render", Go]]), Zo = ["innerHTML"], ea = {
7126
7331
  key: 1,
7127
7332
  class: "ml1"
7128
7333
  };
7129
- function ja(e, t, i, o, n, l) {
7334
+ function ta(e, t, i, o, n, l) {
7130
7335
  const a = $("w-button"), r = $("w-icon"), d = $("w-tree", !0);
7131
7336
  return s(), u("ul", {
7132
7337
  class: f(["w-tree", l.classes])
7133
7338
  }, [
7134
- (s(!0), u(k, null, L(e.currentDepthItems, (h, y) => (s(), u("li", {
7339
+ (s(!0), u(v, null, L(e.currentDepthItems, (h, k) => (s(), u("li", {
7135
7340
  class: f(["w-tree__item", l.itemClasses(h)]),
7136
- key: y
7341
+ key: k
7137
7342
  }, [
7138
- (s(), g(V(l.getTreeItemComponent(h)), C({ class: "w-tree__item-label" }, h.route && { [!e.$router || l.hasExternalLink(h) ? "href" : "to"]: h.route }, {
7343
+ (s(), g(I(l.getTreeItemComponent(h)), C({ class: "w-tree__item-label" }, h.route && { [!e.$router || l.hasExternalLink(h) ? "href" : "to"]: h.route }, {
7139
7344
  onClick: (B) => !i.disabled && !h.disabled && l.onLabelClick(h, B),
7140
7345
  onKeydown: (B) => !i.disabled && !h.disabled && l.onLabelKeydown(h, B),
7141
7346
  tabindex: l.getTreeItemTabindex(h)
@@ -7171,16 +7376,16 @@ function ja(e, t, i, o, n, l) {
7171
7376
  ]),
7172
7377
  _: 2
7173
7378
  }, 1032, ["color"])) : c("", !0),
7174
- w("span", {
7379
+ y("span", {
7175
7380
  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)
7381
+ }, null, 8, Zo),
7382
+ i.counts && (h.children || h.branch) ? (s(), u("span", ea, "(" + _(((B = h.originalItem.children) == null ? void 0 : B.length) || 0) + ")", 1)) : c("", !0)
7178
7383
  ];
7179
7384
  })
7180
7385
  ]),
7181
7386
  _: 2
7182
7387
  }, 1040, ["onClick", "onKeydown", "tabindex"])),
7183
- (s(), g(V(i.noTransition ? "div" : "w-transition-expand"), {
7388
+ (s(), g(I(i.noTransition ? "div" : "w-transition-expand"), {
7184
7389
  y: !i.noTransition || null,
7185
7390
  onAfterEnter: (B) => e.$emit("open", l.emitPayload(h)),
7186
7391
  onAfterLeave: (B) => e.$emit("close", l.emitPayload(h))
@@ -7214,7 +7419,7 @@ function ja(e, t, i, o, n, l) {
7214
7419
  ], 2))), 128))
7215
7420
  ], 2);
7216
7421
  }
7217
- const Ua = {
7422
+ const ia = {
7218
7423
  name: "w-tree",
7219
7424
  props: {
7220
7425
  modelValue: { type: [Object, Array] },
@@ -7368,62 +7573,63 @@ const Ua = {
7368
7573
  unmounted() {
7369
7574
  this.dataPropUnwatch();
7370
7575
  }
7371
- }, qa = /* @__PURE__ */ v(Ua, [["render", ja]]), Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7576
+ }, la = /* @__PURE__ */ w(ia, [["render", ta]]), sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7372
7577
  __proto__: null,
7373
7578
  WAccordion: Ye,
7374
7579
  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 });
7580
+ WAutocomplete: ut,
7581
+ WApp: ft,
7582
+ WBadge: bt,
7583
+ WBreadcrumbs: kt,
7584
+ WButton: Lt,
7585
+ WCard: Pt,
7586
+ WCheckbox: Ft,
7587
+ WCheckboxes: Xt,
7588
+ WConfirm: Jt,
7589
+ WDatePicker: ei,
7590
+ WDialog: li,
7591
+ WDivider: ni,
7592
+ WDrawer: ci,
7593
+ WFlex: mi,
7594
+ WForm: wi,
7595
+ WFormElement: _i,
7596
+ WGrid: Bi,
7597
+ WIcon: Ii,
7598
+ WImage: xi,
7599
+ WInput: Di,
7600
+ WList: Ui,
7601
+ WMenu: Yi,
7602
+ WNotification: Qi,
7603
+ WOverlay: tl,
7604
+ WParallax: ol,
7605
+ WProgress: pl,
7606
+ WRadio: kl,
7607
+ WRadios: Bl,
7608
+ WRating: Ll,
7609
+ WScrollable: Pl,
7610
+ WSelect: Kl,
7611
+ WSlider: ts,
7612
+ WSpinner: os,
7613
+ WSteps: rs,
7614
+ WSwitch: gs,
7615
+ WTabs: Ts,
7616
+ WTable: ao,
7617
+ WTag: ho,
7618
+ WTextarea: bo,
7619
+ WTimeline: _o,
7620
+ WToolbar: Bo,
7621
+ WTooltip: Io,
7622
+ WTransitionBounce: Ro,
7623
+ WTransitionExpand: Po,
7624
+ WTransitionFade: Eo,
7625
+ WTransitionScale: No,
7626
+ WTransitionScaleFade: Do,
7627
+ WTransitionSlide: Uo,
7628
+ WTransitionSlideFade: Yo,
7629
+ WTransitionTwist: Qo,
7630
+ WTree: la
7631
+ }, Symbol.toStringTag, { value: "Module" })), oa = K.install;
7632
+ K.install = (e, t = {}) => oa.call(K, e, { components: sa, ...t });
7427
7633
  export {
7428
7634
  K as default
7429
7635
  };