wave-ui 3.11.0 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  }, ee = (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 J, resolveComponent as $, openBlock as s, createBlock as b, Teleport as Ce, createVNode as V, TransitionGroup as oe, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as w, renderList as L, mergeProps as S, createElementVNode as y, createCommentVNode as c, createApp as Se, defineComponent as Be, inject as _e, withKeys as W, withModifiers as z, renderSlot as p, toHandlers as M, createTextVNode as B, toDisplayString as C, Transition as O, normalizeStyle as R, resolveDynamicComponent as I, normalizeProps as ie, resolveDirective as ge, withDirectives as A, createSlots as Q, vShow as ae, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
12
+ import { reactive as J, resolveComponent as $, openBlock as s, createBlock as b, Teleport as Ce, createVNode as V, TransitionGroup as oe, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as w, renderList as L, mergeProps as S, createElementVNode as y, createCommentVNode as p, createApp as Se, defineComponent as Be, inject as _e, withKeys as W, withModifiers as z, renderSlot as c, toHandlers as M, createTextVNode as B, toDisplayString as C, Transition as O, normalizeStyle as R, resolveDynamicComponent as I, normalizeProps as ie, resolveDirective as ge, withDirectives as K, createSlots as Q, vShow as ae, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
13
13
  const Ie = J({
14
14
  on: "#app",
15
15
  // Sets the Wave UI root node. If not found, will default to `body`.
@@ -590,7 +590,7 @@ function Ee(e, t, i, o, n, l) {
590
590
  }, null, 8, Me)
591
591
  ]),
592
592
  _: 2
593
- }, 1040, ["modelValue", "onUpdate:modelValue", "onClose"])) : c("", !0)
593
+ }, 1040, ["modelValue", "onUpdate:modelValue", "onClose"])) : p("", !0)
594
594
  ], 64))), 256))
595
595
  ]),
596
596
  _: 1
@@ -624,7 +624,7 @@ const v = (e, t) => {
624
624
  return l.dismiss && (l.dismiss = !0), l;
625
625
  }
626
626
  }
627
- }, Ke = /* @__PURE__ */ v(We, [["render", Ee]]);
627
+ }, Ae = /* @__PURE__ */ v(We, [["render", Ee]]);
628
628
  var H;
629
629
  const N = class N {
630
630
  constructor() {
@@ -667,11 +667,11 @@ const N = class N {
667
667
  };
668
668
  H = new WeakMap(), Z(N, H, void 0);
669
669
  let se = N;
670
- const Ae = (e, t, i) => {
670
+ const Ke = (e, t, i) => {
671
671
  const o = document.createElement("div");
672
672
  e.appendChild(o);
673
673
  const n = Se(Be({
674
- ...Ke,
674
+ ...Ae,
675
675
  inject: ["$waveui"]
676
676
  })).provide("$waveui", i);
677
677
  for (const l in t) {
@@ -776,7 +776,7 @@ const D = class D {
776
776
  if (!pe) {
777
777
  pe = !0;
778
778
  const l = _e("$waveui"), { config: a } = l, r = document.querySelector(a.on) || document.body;
779
- r.classList.add("w-app"), a.theme === "auto" ? Ne(l) : l.switchTheme(a.theme, !0), Oe(l), Ae(r, o, l), t._context.mixins.find((d) => d.mounted && delete d.mounted);
779
+ r.classList.add("w-app"), a.theme === "auto" ? Ne(l) : l.switchTheme(a.theme, !0), Oe(l), Ke(r, o, l), t._context.mixins.find((d) => d.mounted && delete d.mounted);
780
780
  }
781
781
  }
782
782
  }), new D(t, i), ee(D, X, !0);
@@ -813,13 +813,13 @@ function qe(e, t, i, o, n, l) {
813
813
  onKeypress: t[0] || (t[0] = z(() => {
814
814
  }, ["stop"])),
815
815
  onClick: z((k) => !d._disabled && l.toggleItem(d, k), ["stop"])
816
- }, null, 8, ["icon", "icon-props", "disabled", "onClick", "class"])) : c("", !0),
817
- e.$slots[`item-title.${d.id || h + 1}`] ? p(e.$slots, `item-title.${d.id || h + 1}`, {
816
+ }, null, 8, ["icon", "icon-props", "disabled", "onClick", "class"])) : p("", !0),
817
+ e.$slots[`item-title.${d.id || h + 1}`] ? c(e.$slots, `item-title.${d.id || h + 1}`, {
818
818
  key: 1,
819
819
  item: l.getOriginalItem(d),
820
820
  expanded: d._expanded,
821
821
  index: h + 1
822
- }) : p(e.$slots, "item-title", {
822
+ }) : c(e.$slots, "item-title", {
823
823
  key: 2,
824
824
  item: l.getOriginalItem(d),
825
825
  expanded: d._expanded,
@@ -838,7 +838,7 @@ function qe(e, t, i, o, n, l) {
838
838
  onKeypress: t[1] || (t[1] = z(() => {
839
839
  }, ["stop"])),
840
840
  onClick: z((k) => !d._disabled && l.toggleItem(d, k), ["stop"])
841
- }, null, 8, ["icon", "onClick", "class"])) : c("", !0)
841
+ }, null, 8, ["icon", "onClick", "class"])) : p("", !0)
842
842
  ], 42, Fe),
843
843
  V(r, {
844
844
  y: "",
@@ -850,12 +850,12 @@ function qe(e, t, i, o, n, l) {
850
850
  key: 0,
851
851
  class: f(["w-accordion__item-content", i.contentClass])
852
852
  }, [
853
- e.$slots[`item-content.${d.id || h + 1}`] ? p(e.$slots, `item-content.${d.id || h + 1}`, {
853
+ e.$slots[`item-content.${d.id || h + 1}`] ? c(e.$slots, `item-content.${d.id || h + 1}`, {
854
854
  key: 0,
855
855
  item: l.getOriginalItem(d),
856
856
  expanded: d._expanded,
857
857
  index: h + 1
858
- }) : p(e.$slots, "item-content", {
858
+ }) : c(e.$slots, "item-content", {
859
859
  key: 1,
860
860
  item: l.getOriginalItem(d),
861
861
  expanded: d._expanded,
@@ -865,7 +865,7 @@ function qe(e, t, i, o, n, l) {
865
865
  innerHTML: d[i.itemContentKey]
866
866
  }, null, 8, Ue)
867
867
  ])
868
- ], 2)) : c("", !0)
868
+ ], 2)) : p("", !0)
869
869
  ]),
870
870
  _: 2
871
871
  }, 1032, ["onAfterLeave", "duration"])
@@ -976,9 +976,9 @@ function Je(e, t, i, o, n, l) {
976
976
  B(C(l.type ? l.typeIcon : i.icon), 1)
977
977
  ]),
978
978
  _: 1
979
- })) : c("", !0),
979
+ })) : p("", !0),
980
980
  y("div", Ge, [
981
- p(e.$slots, "default")
981
+ c(e.$slots, "default")
982
982
  ]),
983
983
  i.dismiss ? (s(), b(r, {
984
984
  key: 1,
@@ -990,9 +990,9 @@ function Je(e, t, i, o, n, l) {
990
990
  color: "inherit",
991
991
  sm: "",
992
992
  text: ""
993
- })) : c("", !0)
994
- ], 64)) : p(e.$slots, "default", { key: 1 })
995
- ], 16)) : c("", !0);
993
+ })) : p("", !0)
994
+ ], 64)) : c(e.$slots, "default", { key: 1 })
995
+ ], 16)) : p("", !0);
996
996
  }
997
997
  const Qe = {
998
998
  name: "w-alert",
@@ -1085,7 +1085,7 @@ function nt(e, t, i, o, n, l) {
1085
1085
  onClick: t[5] || (t[5] = (...d) => l.onClick && l.onClick(...d))
1086
1086
  }, [
1087
1087
  e.selection.length ? (s(!0), u(w, { key: 0 }, L(e.selection, (d, h) => (s(), u("div", et, [
1088
- p(e.$slots, "selection", {
1088
+ c(e.$slots, "selection", {
1089
1089
  item: d,
1090
1090
  unselect: (k) => l.unselectItem(k)
1091
1091
  }, () => [
@@ -1100,12 +1100,12 @@ function nt(e, t, i, o, n, l) {
1100
1100
  color: "currentColor"
1101
1101
  }, null, 8, ["onClick"])
1102
1102
  ])
1103
- ]))), 256)) : c("", !0),
1103
+ ]))), 256)) : p("", !0),
1104
1104
  !e.selection.length && !e.keywords && i.placeholder ? (s(), u("div", {
1105
1105
  key: 1,
1106
1106
  class: "w-autocomplete__placeholder",
1107
1107
  innerHTML: i.placeholder
1108
- }, null, 8, it)) : c("", !0),
1108
+ }, null, 8, it)) : p("", !0),
1109
1109
  y("input", S({
1110
1110
  class: "w-autocomplete__input",
1111
1111
  ref: "input",
@@ -1127,7 +1127,7 @@ function nt(e, t, i, o, n, l) {
1127
1127
  onClick: z((k) => (l.selectItem(d), e.$emit("item-click", d)), ["stop"]),
1128
1128
  class: f({ highlighted: e.highlightedItem === d.uid })
1129
1129
  }, [
1130
- p(e.$slots, "item", {
1130
+ c(e.$slots, "item", {
1131
1131
  item: d,
1132
1132
  highlighted: e.highlightedItem === d.uid
1133
1133
  }, () => [
@@ -1136,11 +1136,11 @@ function nt(e, t, i, o, n, l) {
1136
1136
  }, null, 8, ot)
1137
1137
  ])
1138
1138
  ], 10, st))), 128)),
1139
- l.filteredItems.length ? c("", !0) : (s(), u("li", {
1139
+ l.filteredItems.length ? p("", !0) : (s(), u("li", {
1140
1140
  key: 0,
1141
1141
  class: f(["w-autocomplete__no-match", { "w-autocomplete__no-match--default": !e.$slots.noMatch }])
1142
1142
  }, [
1143
- p(e.$slots, "no-match", {}, () => [
1143
+ c(e.$slots, "no-match", {}, () => [
1144
1144
  y("div", {
1145
1145
  class: "caption",
1146
1146
  innerHTML: i.noMatch ?? "No match."
@@ -1152,9 +1152,9 @@ function nt(e, t, i, o, n, l) {
1152
1152
  class: f(["w-autocomplete__extra-item", { highlighted: e.highlightedItem === "extra-item" }]),
1153
1153
  onClick: t[0] || (t[0] = (...d) => l.selectExtraItem && l.selectExtraItem(...d))
1154
1154
  }, [
1155
- p(e.$slots, "extra-item")
1156
- ], 2)) : c("", !0)
1157
- ], 544)) : c("", !0)
1155
+ c(e.$slots, "extra-item")
1156
+ ], 2)) : p("", !0)
1157
+ ], 544)) : p("", !0)
1158
1158
  ]),
1159
1159
  _: 3
1160
1160
  })
@@ -1199,11 +1199,6 @@ const rt = {
1199
1199
  return this.normalize(this.keywords);
1200
1200
  },
1201
1201
  // Keep the autocomplete matching as fast as possible by caching optimized search strings.
1202
- // An array of optimized strings.
1203
- normalizedSelection() {
1204
- return this.selection.map((e) => this.normalize(e == null ? void 0 : e.searchable));
1205
- },
1206
- // Keep the autocomplete matching as fast as possible by caching optimized search strings.
1207
1202
  optimizedItemsForSearch() {
1208
1203
  return this.items.map((e, t) => ({
1209
1204
  ...e,
@@ -1213,8 +1208,8 @@ const rt = {
1213
1208
  },
1214
1209
  filteredItems() {
1215
1210
  let e = this.optimizedItemsForSearch;
1216
- const t = this.normalizedSelection.join(","), i = (o) => !t.includes(o.searchable);
1217
- 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;
1211
+ const t = (i) => !this.selection.find((o) => o.uid === i.uid);
1212
+ return this.keywords ? e = e.filter((i) => i.searchable.includes(this.normalizedKeywords) ? this.multiple && !this.allowDuplicates ? t(i) : !0 : !1) : this.multiple && !this.allowDuplicates && (e = e.filter(t)), e;
1218
1213
  },
1219
1214
  highlightedItemIndex() {
1220
1215
  return this.highlightedItem === null ? -1 : this.highlightedItem === "extra-item" ? this.filteredItems.length : this.filteredItems.findIndex((e) => e.uid === this.highlightedItem);
@@ -1343,7 +1338,7 @@ const rt = {
1343
1338
  }, dt = /* @__PURE__ */ v(rt, [["render", nt]]), ut = { class: "w-app" };
1344
1339
  function ht(e, t, i, o, n, l) {
1345
1340
  return s(), u("div", ut, [
1346
- p(e.$slots, "default")
1341
+ c(e.$slots, "default")
1347
1342
  ]);
1348
1343
  }
1349
1344
  const ct = {
@@ -1365,7 +1360,7 @@ const ct = {
1365
1360
  }, pt = /* @__PURE__ */ v(ct, [["render", ht]]);
1366
1361
  function ft(e, t, i, o, n, l) {
1367
1362
  return s(), u("div", S({ class: "w-badge-wrap" }, M(e.$attrs, !0)), [
1368
- p(e.$slots, "default"),
1363
+ c(e.$slots, "default"),
1369
1364
  V(O, {
1370
1365
  name: `${i.transition}`
1371
1366
  }, {
@@ -1379,10 +1374,10 @@ function ft(e, t, i, o, n, l) {
1379
1374
  "aria-live": "polite",
1380
1375
  role: "status"
1381
1376
  }, [
1382
- i.dot ? c("", !0) : p(e.$slots, "badge", { key: 0 }, () => [
1377
+ i.dot ? p("", !0) : c(e.$slots, "badge", { key: 0 }, () => [
1383
1378
  B(C(i.modelValue === !0 ? "" : i.modelValue || ""), 1)
1384
1379
  ])
1385
- ], 6)) : c("", !0)
1380
+ ], 6)) : p("", !0)
1386
1381
  ]),
1387
1382
  _: 3
1388
1383
  }, 8, ["name"])
@@ -1462,7 +1457,7 @@ function yt(e, t, i, o, n, l) {
1462
1457
  class: f(["w-breadcrumbs__separator", i.separatorColor]),
1463
1458
  key: `${d}a`
1464
1459
  }, [
1465
- p(e.$slots, "separator", { index: d })
1460
+ c(e.$slots, "separator", { index: d })
1466
1461
  ], 2)) : d ? (s(), b(a, {
1467
1462
  class: f(["w-breadcrumbs__separator", i.separatorColor]),
1468
1463
  key: `${d}b`
@@ -1471,7 +1466,7 @@ function yt(e, t, i, o, n, l) {
1471
1466
  B(C(i.icon), 1)
1472
1467
  ]),
1473
1468
  _: 2
1474
- }, 1032, ["class"])) : c("", !0),
1469
+ }, 1032, ["class"])) : p("", !0),
1475
1470
  r[i.itemRouteKey] && (d < i.items.length - 1 || i.linkLastItem) ? (s(), u(w, { key: 2 }, [
1476
1471
  e.$slots.item ? (s(), b(I(l.hasRouter ? "router-link" : "a"), {
1477
1472
  class: f(["w-breadcrumbs__item", i.color || null]),
@@ -1480,7 +1475,7 @@ function yt(e, t, i, o, n, l) {
1480
1475
  href: r[i.itemRouteKey]
1481
1476
  }, {
1482
1477
  default: m(() => [
1483
- p(e.$slots, "item", {
1478
+ c(e.$slots, "item", {
1484
1479
  item: r,
1485
1480
  index: d + 1,
1486
1481
  isLast: d === i.items.length - 1
@@ -1494,7 +1489,7 @@ function yt(e, t, i, o, n, l) {
1494
1489
  href: r[i.itemRouteKey],
1495
1490
  innerHTML: r[i.itemLabelKey]
1496
1491
  }, null, 8, ["to", "href", "innerHTML", "class"]))
1497
- ], 64)) : e.$slots.item ? p(e.$slots, "item", {
1492
+ ], 64)) : e.$slots.item ? c(e.$slots, "item", {
1498
1493
  key: `${d}e`,
1499
1494
  item: r,
1500
1495
  index: d + 1,
@@ -1565,14 +1560,14 @@ function St(e, t, i, o, n, l) {
1565
1560
  B(C(i.icon), 1)
1566
1561
  ]),
1567
1562
  _: 1
1568
- }, 16)) : p(e.$slots, "default", { key: 1 }),
1563
+ }, 16)) : c(e.$slots, "default", { key: 1 }),
1569
1564
  V(O, { name: "scale-fade" }, {
1570
1565
  default: m(() => [
1571
1566
  i.loading ? (s(), u("div", vt, [
1572
- p(e.$slots, "loading", {}, () => [
1567
+ c(e.$slots, "loading", {}, () => [
1573
1568
  Ct
1574
1569
  ])
1575
- ])) : c("", !0)
1570
+ ])) : p("", !0)
1576
1571
  ]),
1577
1572
  _: 3
1578
1573
  })
@@ -1684,7 +1679,7 @@ function Vt(e, t, i, o, n, l) {
1684
1679
  activator: m(({ on: r }) => [
1685
1680
  V(a, S(l.buttonProps, M(r)), {
1686
1681
  default: m(() => [
1687
- p(e.$slots, "default")
1682
+ c(e.$slots, "default")
1688
1683
  ]),
1689
1684
  _: 2
1690
1685
  }, 1040)
@@ -1695,10 +1690,10 @@ function Vt(e, t, i, o, n, l) {
1695
1690
  _: 3
1696
1691
  }, 16)) : (s(), b(a, ie(S({ key: 1 }, l.buttonProps)), {
1697
1692
  loading: m(() => [
1698
- p(e.$slots, "loading")
1693
+ c(e.$slots, "loading")
1699
1694
  ]),
1700
1695
  default: m(() => [
1701
- p(e.$slots, "default")
1696
+ c(e.$slots, "default")
1702
1697
  ]),
1703
1698
  _: 3
1704
1699
  }, 16));
@@ -1754,7 +1749,7 @@ const It = {
1754
1749
  return { ...i, ...this.$attrs };
1755
1750
  }
1756
1751
  }
1757
- }, Tt = /* @__PURE__ */ v(It, [["render", Vt]]), K = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), Lt = ["innerHTML"];
1752
+ }, Tt = /* @__PURE__ */ v(It, [["render", Vt]]), A = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), Lt = ["innerHTML"];
1758
1753
  function Rt(e, t, i, o, n, l) {
1759
1754
  const a = $("w-image");
1760
1755
  return s(), u("div", {
@@ -1764,33 +1759,33 @@ function Rt(e, t, i, o, n, l) {
1764
1759
  key: 0,
1765
1760
  class: f(["w-card__title", { "w-card__title--has-toolbar": e.$slots.title && l.titleHasToolbar, ...l.titleClasses }])
1766
1761
  }, [
1767
- p(e.$slots, "title")
1762
+ c(e.$slots, "title")
1768
1763
  ], 2)) : i.title ? (s(), u("div", {
1769
1764
  key: 1,
1770
1765
  class: f(["w-card__title", { "w-card__title--has-toolbar": e.$slots.title && l.titleHasToolbar, ...l.titleClasses }]),
1771
1766
  innerHTML: i.title
1772
- }, null, 10, Lt)) : c("", !0),
1767
+ }, null, 10, Lt)) : p("", !0),
1773
1768
  i.image ? (s(), b(a, S({
1774
1769
  key: 2,
1775
1770
  class: "w-card__image",
1776
1771
  src: i.image
1777
1772
  }, l.imgProps), {
1778
1773
  default: m(() => [
1779
- p(e.$slots, "image-content")
1774
+ c(e.$slots, "image-content")
1780
1775
  ]),
1781
1776
  _: 3
1782
- }, 16, ["src"])) : c("", !0),
1777
+ }, 16, ["src"])) : p("", !0),
1783
1778
  y("div", {
1784
1779
  class: f(["w-card__content", l.contentClasses])
1785
1780
  }, [
1786
- p(e.$slots, "default")
1781
+ c(e.$slots, "default")
1787
1782
  ], 2),
1788
1783
  e.$slots.actions ? (s(), u("div", {
1789
1784
  key: 3,
1790
1785
  class: f(["w-card__actions", { "w-card__actions--has-toolbar": l.actionsHasToolbar }])
1791
1786
  }, [
1792
- p(e.$slots, "actions")
1793
- ], 2)) : c("", !0)
1787
+ c(e.$slots, "actions")
1788
+ ], 2)) : p("", !0)
1794
1789
  ], 2);
1795
1790
  }
1796
1791
  const Pt = {
@@ -1812,10 +1807,10 @@ const Pt = {
1812
1807
  emits: [],
1813
1808
  computed: {
1814
1809
  titleClasses() {
1815
- return K(this.titleClass);
1810
+ return A(this.titleClass);
1816
1811
  },
1817
1812
  contentClasses() {
1818
- return K(this.contentClass);
1813
+ return A(this.contentClass);
1819
1814
  },
1820
1815
  titleHasToolbar() {
1821
1816
  const { title: e } = this.$slots;
@@ -1895,7 +1890,7 @@ const Pt = {
1895
1890
  /* @__PURE__ */ y("polyline", { points: "1 5 4 8 10 2" })
1896
1891
  ], -1), Wt = [
1897
1892
  Et
1898
- ], Kt = ["for"], At = ["for", "innerHTML"];
1893
+ ], At = ["for"], Kt = ["for", "innerHTML"];
1899
1894
  function Nt(e, t, i, o, n, l) {
1900
1895
  return s(), b(I(e.formRegister && !l.wCheckboxes ? "w-form-element" : "div"), S({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isChecked, disabled: e.isDisabled, readonly: e.isReadonly }, {
1901
1896
  valid: e.valid,
@@ -1928,7 +1923,7 @@ function Nt(e, t, i, o, n, l) {
1928
1923
  class: f(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
1929
1924
  for: `w-checkbox--${e._.uid}`
1930
1925
  }, [
1931
- p(e.$slots, "default", {}, () => [
1926
+ c(e.$slots, "default", {}, () => [
1932
1927
  B(C(i.label), 1)
1933
1928
  ])
1934
1929
  ], 10, zt)) : i.label ? (s(), u("label", {
@@ -1936,8 +1931,8 @@ function Nt(e, t, i, o, n, l) {
1936
1931
  class: f(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
1937
1932
  for: `w-checkbox--${e._.uid}`,
1938
1933
  innerHTML: i.label
1939
- }, null, 10, Mt)) : c("", !0)
1940
- ], 64)) : c("", !0),
1934
+ }, null, 10, Mt)) : p("", !0)
1935
+ ], 64)) : p("", !0),
1941
1936
  y("div", {
1942
1937
  class: f(["w-checkbox__input", this.color]),
1943
1938
  onClick: t[4] || (t[4] = (a) => {
@@ -1950,16 +1945,16 @@ function Nt(e, t, i, o, n, l) {
1950
1945
  class: f(["w-checkbox__label w-form-el-shakable pl2", e.labelClasses]),
1951
1946
  for: `w-checkbox--${e._.uid}`
1952
1947
  }, [
1953
- p(e.$slots, "default", {}, () => [
1948
+ c(e.$slots, "default", {}, () => [
1954
1949
  B(C(i.label), 1)
1955
1950
  ])
1956
- ], 10, Kt)) : i.label ? (s(), u("label", {
1951
+ ], 10, At)) : i.label ? (s(), u("label", {
1957
1952
  key: 1,
1958
1953
  class: f(["w-checkbox__label w-form-el-shakable pl2", e.labelClasses]),
1959
1954
  for: `w-checkbox--${e._.uid}`,
1960
1955
  innerHTML: i.label
1961
- }, null, 10, At)) : c("", !0)
1962
- ], 64)) : c("", !0)
1956
+ }, null, 10, Kt)) : p("", !0)
1957
+ ], 64)) : p("", !0)
1963
1958
  ]),
1964
1959
  _: 3
1965
1960
  }, 16, ["valid", "class"]);
@@ -2055,7 +2050,7 @@ function jt(e, t, i, o, n, l) {
2055
2050
  class: { mt1: !i.inline && d }
2056
2051
  }), {
2057
2052
  default: m(() => [
2058
- e.$slots[`item.${d + 1}`] || e.$slots.item ? p(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
2053
+ e.$slots[`item.${d + 1}`] || e.$slots.item ? c(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
2059
2054
  key: 0,
2060
2055
  item: l.getOriginalItem(r),
2061
2056
  checked: !!r._isChecked,
@@ -2064,7 +2059,7 @@ function jt(e, t, i, o, n, l) {
2064
2059
  }) : r.label ? (s(), u("div", {
2065
2060
  key: 1,
2066
2061
  innerHTML: r.label
2067
- }, null, 8, Ft)) : c("", !0)
2062
+ }, null, 8, Ft)) : p("", !0)
2068
2063
  ]),
2069
2064
  _: 2
2070
2065
  }, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
@@ -2145,7 +2140,7 @@ function Xt(e, t, i, o, n, l) {
2145
2140
  activator: m(({ on: k }) => [
2146
2141
  V(a, S({ class: "w-confirm" }, { ...e.$attrs, ...l.buttonProps, ...i.disablePrompt ? {} : k }), {
2147
2142
  default: m(() => [
2148
- p(e.$slots, "default")
2143
+ c(e.$slots, "default")
2149
2144
  ]),
2150
2145
  _: 2
2151
2146
  }, 1040)
@@ -2157,7 +2152,7 @@ function Xt(e, t, i, o, n, l) {
2157
2152
  }, {
2158
2153
  default: m(() => [
2159
2154
  y("div", null, [
2160
- p(e.$slots, "question", {}, () => [
2155
+ c(e.$slots, "question", {}, () => [
2161
2156
  B(C(i.question), 1)
2162
2157
  ])
2163
2158
  ]),
@@ -2173,19 +2168,19 @@ function Xt(e, t, i, o, n, l) {
2173
2168
  onClick: l.onCancel
2174
2169
  }), {
2175
2170
  default: m(() => [
2176
- p(e.$slots, "cancel", {}, () => [
2171
+ c(e.$slots, "cancel", {}, () => [
2177
2172
  B(C(l.cancelButton.label), 1)
2178
2173
  ])
2179
2174
  ]),
2180
2175
  _: 3
2181
- }, 16, ["bg-color", "onClick"])) : c("", !0),
2182
- A((s(), b(a, S(l.confirmButtonProps, {
2176
+ }, 16, ["bg-color", "onClick"])) : p("", !0),
2177
+ K((s(), b(a, S(l.confirmButtonProps, {
2183
2178
  "bg-color": (l.confirmButton || {}).bgColor || "success",
2184
2179
  onKeyup: t[1] || (t[1] = W((k) => !i.persistent && l.onCancel(), ["escape"])),
2185
2180
  onClick: l.onConfirm
2186
2181
  }), {
2187
2182
  default: m(() => [
2188
- p(e.$slots, "confirm", {}, () => [
2183
+ c(e.$slots, "confirm", {}, () => [
2189
2184
  B(C(l.confirmButton.label), 1)
2190
2185
  ])
2191
2186
  ]),
@@ -2320,7 +2315,7 @@ function Jt(e, t, i, o, n, l) {
2320
2315
  class: f(["w-date-picker", l.classes]),
2321
2316
  style: R(l.styles)
2322
2317
  }, [
2323
- p(e.$slots, "default")
2318
+ c(e.$slots, "default")
2324
2319
  ], 6);
2325
2320
  }
2326
2321
  const Qt = {
@@ -2361,7 +2356,7 @@ function ei(e, t, i, o, n, l) {
2361
2356
  onAfterLeave: l.onBeforeClose
2362
2357
  }, {
2363
2358
  default: m(() => [
2364
- A(V(a, {
2359
+ K(V(a, {
2365
2360
  class: f(["w-dialog__content", i.dialogClass]),
2366
2361
  ref: "dialog",
2367
2362
  "no-border": "",
@@ -2373,21 +2368,21 @@ function ei(e, t, i, o, n, l) {
2373
2368
  style: R(l.contentStyles)
2374
2369
  }, Q({
2375
2370
  default: m(() => [
2376
- p(e.$slots, "default")
2371
+ c(e.$slots, "default")
2377
2372
  ]),
2378
2373
  _: 2
2379
2374
  }, [
2380
2375
  e.$slots.title ? {
2381
2376
  name: "title",
2382
2377
  fn: m(() => [
2383
- p(e.$slots, "title")
2378
+ c(e.$slots, "title")
2384
2379
  ]),
2385
2380
  key: "0"
2386
2381
  } : void 0,
2387
2382
  e.$slots.actions ? {
2388
2383
  name: "actions",
2389
2384
  fn: m(() => [
2390
- p(e.$slots, "actions")
2385
+ c(e.$slots, "actions")
2391
2386
  ]),
2392
2387
  key: "1"
2393
2388
  } : void 0
@@ -2478,7 +2473,7 @@ function si(e, t, i, o, n, l) {
2478
2473
  role: e.$slots.default ? null : "presentation",
2479
2474
  "aria-orientation": i.vertical ? "vertical" : "horizontal"
2480
2475
  }, [
2481
- p(e.$slots, "default")
2476
+ c(e.$slots, "default")
2482
2477
  ], 10, li);
2483
2478
  }
2484
2479
  const oi = {
@@ -2514,7 +2509,7 @@ function ri(e, t, i, o, n, l) {
2514
2509
  style: R(l.trackStyles)
2515
2510
  }, [
2516
2511
  y("div", ni, [
2517
- i.noOverlay ? c("", !0) : (s(), b(a, {
2512
+ i.noOverlay ? p("", !0) : (s(), b(a, {
2518
2513
  key: 0,
2519
2514
  modelValue: n.showDrawer,
2520
2515
  "onUpdate:modelValue": t[0] || (t[0] = (r) => n.showDrawer = r),
@@ -2524,7 +2519,7 @@ function ri(e, t, i, o, n, l) {
2524
2519
  "bg-color": i.overlayColor || "transparent",
2525
2520
  opacity: i.overlayOpacity
2526
2521
  }, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
2527
- p(e.$slots, "pushable")
2522
+ c(e.$slots, "pushable")
2528
2523
  ]),
2529
2524
  V(O, {
2530
2525
  name: "fade",
@@ -2539,15 +2534,15 @@ function ri(e, t, i, o, n, l) {
2539
2534
  style: R(l.styles)
2540
2535
  }, {
2541
2536
  default: m(() => [
2542
- p(e.$slots, "default")
2537
+ c(e.$slots, "default")
2543
2538
  ]),
2544
2539
  _: 3
2545
- }, 8, ["class", "style"])) : c("", !0)
2540
+ }, 8, ["class", "style"])) : p("", !0)
2546
2541
  ]),
2547
2542
  _: 3
2548
2543
  }, 8, ["onBeforeLeave", "onAfterLeave"])
2549
2544
  ], 4)) : (s(), u(w, { key: 1 }, [
2550
- i.noOverlay ? c("", !0) : (s(), b(a, {
2545
+ i.noOverlay ? p("", !0) : (s(), b(a, {
2551
2546
  key: 0,
2552
2547
  modelValue: n.showDrawer,
2553
2548
  "onUpdate:modelValue": t[1] || (t[1] = (r) => n.showDrawer = r),
@@ -2571,15 +2566,15 @@ function ri(e, t, i, o, n, l) {
2571
2566
  style: R(l.styles)
2572
2567
  }, {
2573
2568
  default: m(() => [
2574
- p(e.$slots, "default")
2569
+ c(e.$slots, "default")
2575
2570
  ]),
2576
2571
  _: 3
2577
- }, 8, ["class", "style"])) : c("", !0)
2572
+ }, 8, ["class", "style"])) : p("", !0)
2578
2573
  ]),
2579
2574
  _: 3
2580
2575
  }, 8, ["name", "onBeforeLeave", "onAfterLeave"])
2581
2576
  ], 64))
2582
- ], 2)) : c("", !0);
2577
+ ], 2)) : p("", !0);
2583
2578
  }
2584
2579
  const di = { left: "right", right: "left", top: "down", bottom: "up" }, ui = {
2585
2580
  name: "w-drawer",
@@ -2700,7 +2695,7 @@ function ci(e, t, i, o, n, l) {
2700
2695
  class: f(["w-flex", l.classes])
2701
2696
  }, {
2702
2697
  default: m(() => [
2703
- p(e.$slots, "default")
2698
+ c(e.$slots, "default")
2704
2699
  ]),
2705
2700
  _: 3
2706
2701
  }, 8, ["class"]);
@@ -2760,7 +2755,7 @@ function mi(e, t, i, o, n, l) {
2760
2755
  onReset: t[1] || (t[1] = (...a) => l.reset && l.reset(...a)),
2761
2756
  novalidate: ""
2762
2757
  }, [
2763
- p(e.$slots, "default")
2758
+ c(e.$slots, "default")
2764
2759
  ], 34);
2765
2760
  }
2766
2761
  const gi = async (e, t) => {
@@ -2883,7 +2878,7 @@ function wi(e, t, i, o, n, l) {
2883
2878
  y("div", {
2884
2879
  class: f(["w-flex grow", [i.column ? "column" : "align-center", i.wrap ? "wrap" : ""]])
2885
2880
  }, [
2886
- p(e.$slots, "default")
2881
+ c(e.$slots, "default")
2887
2882
  ], 2),
2888
2883
  V(a, { y: "" }, {
2889
2884
  default: m(() => [
@@ -2891,12 +2886,12 @@ function wi(e, t, i, o, n, l) {
2891
2886
  key: 0,
2892
2887
  class: f(["w-form-el__error", l.formProps.validationColor])
2893
2888
  }, [
2894
- p(e.$slots, "error-message", {
2889
+ c(e.$slots, "error-message", {
2895
2890
  message: e.Validation.message
2896
2891
  }, () => [
2897
2892
  B(C(e.Validation.message), 1)
2898
2893
  ])
2899
- ], 2)) : c("", !0)
2894
+ ], 2)) : p("", !0)
2900
2895
  ]),
2901
2896
  _: 3
2902
2897
  })
@@ -2982,7 +2977,7 @@ function Ci(e, t, i, o, n, l) {
2982
2977
  class: f(["w-grid", l.classes])
2983
2978
  }, {
2984
2979
  default: m(() => [
2985
- p(e.$slots, "default")
2980
+ c(e.$slots, "default")
2986
2981
  ]),
2987
2982
  _: 3
2988
2983
  }, 8, ["class"]);
@@ -3042,7 +3037,7 @@ function _i(e, t, i, o, n, l) {
3042
3037
  default: m(() => [
3043
3038
  l.hasLigature ? (s(), u(w, { key: 0 }, [
3044
3039
  B(C(e.icon), 1)
3045
- ], 64)) : c("", !0)
3040
+ ], 64)) : p("", !0)
3046
3041
  ]),
3047
3042
  _: 1
3048
3043
  }, 16, ["class", "style"]);
@@ -3137,26 +3132,26 @@ function Ti(e, t, i, o, n, l) {
3137
3132
  class: f(["w-image", l.imageClasses]),
3138
3133
  style: R(l.imageStyles),
3139
3134
  src: i.tag === "img" ? n.imgSrc : null
3140
- }, null, 8, ["class", "style", "src"])) : c("", !0)
3135
+ }, null, 8, ["class", "style", "src"])) : p("", !0)
3141
3136
  ]),
3142
3137
  _: 1
3143
3138
  }, 8, ["name"]),
3144
3139
  !i.noSpinner && n.loading ? (s(), u("div", Ii, [
3145
- e.$slots.loading ? p(e.$slots, "loading", { key: 0 }) : (s(), b(a, S({
3140
+ e.$slots.loading ? c(e.$slots, "loading", { key: 0 }) : (s(), b(a, S({
3146
3141
  key: 1,
3147
3142
  circle: "",
3148
3143
  indeterminate: ""
3149
3144
  }, i.spinnerColor ? { color: i.spinnerColor } : {}), null, 16))
3150
- ])) : c("", !0),
3145
+ ])) : p("", !0),
3151
3146
  e.$slots.default ? (s(), b(I(l.wrapperTag), {
3152
3147
  key: 1,
3153
3148
  class: f(["w-image__content", i.contentClass])
3154
3149
  }, {
3155
3150
  default: m(() => [
3156
- p(e.$slots, "default")
3151
+ c(e.$slots, "default")
3157
3152
  ]),
3158
3153
  _: 3
3159
- }, 8, ["class"])) : c("", !0)
3154
+ }, 8, ["class"])) : p("", !0)
3160
3155
  ]),
3161
3156
  _: 3
3162
3157
  }, 8, ["class", "style"]);
@@ -3260,8 +3255,8 @@ const Li = {
3260
3255
  }, Ri = /* @__PURE__ */ v(Li, [["render", Ti]]), Pi = ["name"], Oi = ["for"], xi = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], zi = ["id", "name", "multiple", "disabled", "data-progress"], Mi = {
3261
3256
  class: "w-input__no-file",
3262
3257
  key: "no-file"
3263
- }, Ei = ["for"], Wi = ["src"], Ki = ["for"];
3264
- function Ai(e, t, i, o, n, l) {
3258
+ }, Ei = ["for"], Wi = ["src"], Ai = ["for"];
3259
+ function Ki(e, t, i, o, n, l) {
3265
3260
  const a = $("w-icon"), r = $("w-progress");
3266
3261
  return s(), b(I(e.formRegister ? "w-form-element" : "div"), S({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
3267
3262
  valid: e.valid,
@@ -3273,7 +3268,7 @@ function Ai(e, t, i, o, n, l) {
3273
3268
  class: l.classes
3274
3269
  }), {
3275
3270
  default: m(() => [
3276
- i.type === "hidden" ? A((s(), u("input", {
3271
+ i.type === "hidden" ? K((s(), u("input", {
3277
3272
  key: 0,
3278
3273
  type: "hidden",
3279
3274
  name: e.name || null,
@@ -3287,15 +3282,15 @@ function Ai(e, t, i, o, n, l) {
3287
3282
  class: f(["w-input__label w-input__label--left w-form-el-shakable", e.labelClasses]),
3288
3283
  for: `w-input--${e._.uid}`
3289
3284
  }, [
3290
- p(e.$slots, "default", {}, () => [
3285
+ c(e.$slots, "default", {}, () => [
3291
3286
  B(C(i.label), 1)
3292
3287
  ])
3293
- ], 10, Oi)) : c("", !0)
3294
- ], 64)) : c("", !0),
3288
+ ], 10, Oi)) : p("", !0)
3289
+ ], 64)) : p("", !0),
3295
3290
  y("div", {
3296
3291
  class: f(["w-input__input-wrap", l.inputWrapClasses])
3297
3292
  }, [
3298
- p(e.$slots, "icon-left", {
3293
+ c(e.$slots, "icon-left", {
3299
3294
  inputId: `w-input--${e._.uid}`
3300
3295
  }, () => [
3301
3296
  i.innerIconLeft ? (s(), b(a, {
@@ -3309,9 +3304,9 @@ function Ai(e, t, i, o, n, l) {
3309
3304
  B(C(i.innerIconLeft), 1)
3310
3305
  ]),
3311
3306
  _: 1
3312
- }, 8, ["for"])) : c("", !0)
3307
+ }, 8, ["for"])) : p("", !0)
3313
3308
  ]),
3314
- i.type !== "file" ? A((s(), u("input", S({
3309
+ i.type !== "file" ? K((s(), u("input", S({
3315
3310
  key: 0,
3316
3311
  class: "w-input__input",
3317
3312
  ref: "input",
@@ -3359,12 +3354,12 @@ function Ai(e, t, i, o, n, l) {
3359
3354
  }, {
3360
3355
  default: m(() => [
3361
3356
  !n.inputFiles.length && n.isFocused ? (s(), u("span", Mi, [
3362
- p(e.$slots, "no-file", {}, () => [
3357
+ c(e.$slots, "no-file", {}, () => [
3363
3358
  e.$slots["no-file"] === void 0 ? (s(), u(w, { key: 0 }, [
3364
3359
  B("No file")
3365
- ], 64)) : c("", !0)
3360
+ ], 64)) : p("", !0)
3366
3361
  ])
3367
- ])) : c("", !0),
3362
+ ])) : p("", !0),
3368
3363
  (s(!0), u(w, null, L(n.inputFiles, (d, h) => (s(), u("span", {
3369
3364
  key: d.lastModified
3370
3365
  }, [
@@ -3384,12 +3379,12 @@ function Ai(e, t, i, o, n, l) {
3384
3379
  key: 0,
3385
3380
  class: f(["w-input__label w-input__label--inside w-form-el-shakable", e.labelClasses])
3386
3381
  }, [
3387
- p(e.$slots, "default", {}, () => [
3382
+ c(e.$slots, "default", {}, () => [
3388
3383
  B(C(i.label), 1)
3389
3384
  ])
3390
- ], 2)) : c("", !0)
3391
- ], 64)) : c("", !0),
3392
- p(e.$slots, "icon-right", {
3385
+ ], 2)) : p("", !0)
3386
+ ], 64)) : p("", !0),
3387
+ c(e.$slots, "icon-right", {
3393
3388
  inputId: `w-input--${e._.uid}`
3394
3389
  }, () => [
3395
3390
  i.innerIconRight ? (s(), b(a, {
@@ -3403,7 +3398,7 @@ function Ai(e, t, i, o, n, l) {
3403
3398
  B(C(i.innerIconRight), 1)
3404
3399
  ]),
3405
3400
  _: 1
3406
- }, 8, ["for"])) : c("", !0)
3401
+ }, 8, ["for"])) : p("", !0)
3407
3402
  ]),
3408
3403
  l.hasLoading || i.showProgress && (l.uploadInProgress || l.uploadComplete) ? (s(), b(r, {
3409
3404
  key: 3,
@@ -3411,7 +3406,7 @@ function Ai(e, t, i, o, n, l) {
3411
3406
  size: "2",
3412
3407
  color: i.progressColor || i.color,
3413
3408
  "model-value": i.showProgress ? (l.uploadInProgress || l.uploadComplete) && l.overallFilesProgress : l.loadingValue
3414
- }, null, 8, ["color", "model-value"])) : c("", !0)
3409
+ }, null, 8, ["color", "model-value"])) : p("", !0)
3415
3410
  ], 2),
3416
3411
  i.type === "file" && i.preview && n.inputFiles.length ? (s(), u("label", {
3417
3412
  key: 1,
@@ -3432,18 +3427,18 @@ function Ai(e, t, i, o, n, l) {
3432
3427
  key: `${h}c`
3433
3428
  }, null, 2))
3434
3429
  ], 64))), 256))
3435
- ], 8, Ei)) : c("", !0),
3430
+ ], 8, Ei)) : p("", !0),
3436
3431
  i.labelPosition === "right" ? (s(), u(w, { key: 2 }, [
3437
3432
  e.$slots.default || i.label ? (s(), u("label", {
3438
3433
  key: 0,
3439
3434
  class: f(["w-input__label w-input__label--right w-form-el-shakable", e.labelClasses]),
3440
3435
  for: `w-input--${e._.uid}`
3441
3436
  }, [
3442
- p(e.$slots, "default", {}, () => [
3437
+ c(e.$slots, "default", {}, () => [
3443
3438
  B(C(i.label), 1)
3444
3439
  ])
3445
- ], 10, Ki)) : c("", !0)
3446
- ], 64)) : c("", !0)
3440
+ ], 10, Ai)) : p("", !0)
3441
+ ], 64)) : p("", !0)
3447
3442
  ], 64))
3448
3443
  ]),
3449
3444
  _: 3
@@ -3634,7 +3629,7 @@ const Ni = {
3634
3629
  this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1, this.inputFiles = []);
3635
3630
  }
3636
3631
  }
3637
- }, Di = /* @__PURE__ */ v(Ni, [["render", Ai]]);
3632
+ }, Di = /* @__PURE__ */ v(Ni, [["render", Ki]]);
3638
3633
  function Hi(e, t, i, o, n, l) {
3639
3634
  const a = $("w-icon"), r = $("w-list", !0);
3640
3635
  return s(), u("ul", {
@@ -3652,23 +3647,23 @@ function Hi(e, t, i, o, n, l) {
3652
3647
  B(C(i.icon), 1)
3653
3648
  ]),
3654
3649
  _: 1
3655
- })) : c("", !0),
3650
+ })) : p("", !0),
3656
3651
  e.$slots[`item.${h + 1}`] || e.$slots.item || e.$slots.default ? (s(), b(I(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), S({
3657
3652
  key: 1,
3658
3653
  class: "w-list__item-label"
3659
3654
  }, l.liLabelProps(d, h, d._selected)), {
3660
3655
  default: m(() => [
3661
- e.$slots[`item.${h + 1}`] ? p(e.$slots, `item.${h + 1}`, {
3656
+ e.$slots[`item.${h + 1}`] ? c(e.$slots, `item.${h + 1}`, {
3662
3657
  key: 0,
3663
3658
  item: l.cleanLi(d),
3664
3659
  index: h + 1,
3665
3660
  selected: d._selected
3666
- }) : e.$slots.item ? p(e.$slots, "item", {
3661
+ }) : e.$slots.item ? c(e.$slots, "item", {
3667
3662
  key: 1,
3668
3663
  item: l.cleanLi(d),
3669
3664
  index: h + 1,
3670
3665
  selected: d._selected
3671
- }) : p(e.$slots, "default", {
3666
+ }) : c(e.$slots, "default", {
3672
3667
  key: 2,
3673
3668
  item: l.cleanLi(d),
3674
3669
  index: h + 1,
@@ -3693,7 +3688,7 @@ function Hi(e, t, i, o, n, l) {
3693
3688
  e.$slots.item ? {
3694
3689
  name: "item",
3695
3690
  fn: m(({ item: k, index: _, selected: g }) => [
3696
- p(e.$slots, "item", {
3691
+ c(e.$slots, "item", {
3697
3692
  item: l.cleanLi(k),
3698
3693
  index: _,
3699
3694
  selected: g
@@ -3703,7 +3698,7 @@ function Hi(e, t, i, o, n, l) {
3703
3698
  } : {
3704
3699
  name: "default",
3705
3700
  fn: m(({ item: k, index: _, selected: g }) => [
3706
- p(e.$slots, "default", {
3701
+ c(e.$slots, "default", {
3707
3702
  item: l.cleanLi(k),
3708
3703
  index: _,
3709
3704
  selected: g
@@ -3713,7 +3708,7 @@ function Hi(e, t, i, o, n, l) {
3713
3708
  ]),
3714
3709
  key: "1"
3715
3710
  }
3716
- ]), 1040, ["items", "depth"])) : c("", !0)
3711
+ ]), 1040, ["items", "depth"])) : p("", !0)
3717
3712
  ], 2))), 128))
3718
3713
  ], 2);
3719
3714
  }
@@ -4094,7 +4089,7 @@ const Fi = {
4094
4089
  function Ui(e, t, i, o, n, l) {
4095
4090
  const a = $("w-card"), r = $("w-overlay");
4096
4091
  return s(), u(w, null, [
4097
- p(e.$slots, "activator", { on: l.activatorEventHandlers }),
4092
+ c(e.$slots, "activator", { on: l.activatorEventHandlers }),
4098
4093
  V(O, {
4099
4094
  name: l.transitionName,
4100
4095
  appear: ""
@@ -4111,7 +4106,7 @@ function Ui(e, t, i, o, n, l) {
4111
4106
  class: l.classes,
4112
4107
  style: l.styles
4113
4108
  }), [
4114
- p(e.$slots, "default")
4109
+ c(e.$slots, "default")
4115
4110
  ], 16)) : e.detachableVisible ? (s(), b(a, S({
4116
4111
  key: 1,
4117
4112
  class: "w-menu",
@@ -4129,25 +4124,25 @@ function Ui(e, t, i, o, n, l) {
4129
4124
  style: l.styles
4130
4125
  }), Q({
4131
4126
  default: m(() => [
4132
- p(e.$slots, "default")
4127
+ c(e.$slots, "default")
4133
4128
  ]),
4134
4129
  _: 2
4135
4130
  }, [
4136
4131
  e.$slots.title ? {
4137
4132
  name: "title",
4138
4133
  fn: m(() => [
4139
- p(e.$slots, "title")
4134
+ c(e.$slots, "title")
4140
4135
  ]),
4141
4136
  key: "0"
4142
4137
  } : void 0,
4143
4138
  e.$slots.actions ? {
4144
4139
  name: "actions",
4145
4140
  fn: m(() => [
4146
- p(e.$slots, "actions")
4141
+ c(e.$slots, "actions")
4147
4142
  ]),
4148
4143
  key: "1"
4149
4144
  } : void 0
4150
- ]), 1040, ["tile", "title-class", "content-class", "shadow", "no-border", "class", "style"])) : c("", !0)
4145
+ ]), 1040, ["tile", "title-class", "content-class", "shadow", "no-border", "class", "style"])) : p("", !0)
4151
4146
  ]),
4152
4147
  _: 3
4153
4148
  }, 8, ["name"]),
@@ -4160,7 +4155,7 @@ function Ui(e, t, i, o, n, l) {
4160
4155
  }, i.overlayProps, {
4161
4156
  "z-index": (e.zIndex || 200) - 1,
4162
4157
  "onUpdate:modelValue": t[6] || (t[6] = (d) => e.detachableVisible = !1)
4163
- }), null, 16, ["model-value", "persistent", "class", "z-index"])) : c("", !0)
4158
+ }), null, 16, ["model-value", "persistent", "class", "z-index"])) : p("", !0)
4164
4159
  ], 64);
4165
4160
  }
4166
4161
  const qi = {
@@ -4246,17 +4241,17 @@ const qi = {
4246
4241
  return this.maxWidth === "activator" ? this.activatorWidth ? `${this.activatorWidth}px` : 0 : isNaN(this.maxWidth) ? this.maxWidth : this.maxWidth ? `${this.maxWidth}px` : 0;
4247
4242
  },
4248
4243
  menuClasses() {
4249
- return K(this.menuClass);
4244
+ return A(this.menuClass);
4250
4245
  },
4251
4246
  titleClasses() {
4252
- return K(this.titleClass);
4247
+ return A(this.titleClass);
4253
4248
  },
4254
4249
  contentClasses() {
4255
- return K(this.contentClass);
4250
+ return A(this.contentClass);
4256
4251
  },
4257
4252
  overlayClasses() {
4258
4253
  return {
4259
- ...K(this.overlayClass),
4254
+ ...A(this.overlayClass),
4260
4255
  "w-overlay--no-pointer-event": this.showOnHover
4261
4256
  };
4262
4257
  },
@@ -4356,11 +4351,11 @@ function Yi(e, t, i, o, n, l) {
4356
4351
  })
4357
4352
  }), {
4358
4353
  default: m(() => [
4359
- p(e.$slots, "default")
4354
+ c(e.$slots, "default")
4360
4355
  ]),
4361
4356
  _: 3
4362
4357
  }, 16, ["class"])
4363
- ], 6)) : c("", !0)
4358
+ ], 6)) : p("", !0)
4364
4359
  ]),
4365
4360
  _: 3
4366
4361
  }, 8, ["name"]);
@@ -4497,7 +4492,7 @@ function Qi(e, t, i, o, n, l) {
4497
4492
  onAfterLeave: l.onClose
4498
4493
  }, {
4499
4494
  default: m(() => [
4500
- i.modelValue ? A((s(), u("div", {
4495
+ i.modelValue ? K((s(), u("div", {
4501
4496
  key: 0,
4502
4497
  class: f(["w-overlay", l.classes]),
4503
4498
  ref: "overlay",
@@ -4506,11 +4501,11 @@ function Qi(e, t, i, o, n, l) {
4506
4501
  onClick: t[1] || (t[1] = (...r) => l.onClick && l.onClick(...r)),
4507
4502
  tabindex: "0"
4508
4503
  }, [
4509
- p(e.$slots, "default")
4504
+ c(e.$slots, "default")
4510
4505
  ], 38)), [
4511
4506
  [ae, e.showOverlay],
4512
4507
  [a]
4513
- ]) : c("", !0)
4508
+ ]) : p("", !0)
4514
4509
  ]),
4515
4510
  _: 3
4516
4511
  }, 8, ["onAfterLeave"]);
@@ -4601,7 +4596,7 @@ function rl(e, t, i, o, n, l) {
4601
4596
  fill: "transparent",
4602
4597
  "stroke-dasharray": e.circleCircumference,
4603
4598
  "stroke-width": i.stroke
4604
- }, null, 10, al)) : c("", !0),
4599
+ }, null, 10, al)) : p("", !0),
4605
4600
  y("circle", {
4606
4601
  class: "w-progress__progress",
4607
4602
  cx: l.circleCenter,
@@ -4622,10 +4617,10 @@ function rl(e, t, i, o, n, l) {
4622
4617
  key: 2,
4623
4618
  class: f(["w-progress__label", i.labelColor || !1])
4624
4619
  }, [
4625
- p(e.$slots, "default", {}, () => [
4620
+ c(e.$slots, "default", {}, () => [
4626
4621
  B(C(Math.round(l.progressValue)) + C(i.circle ? "" : "%"), 1)
4627
4622
  ])
4628
- ], 2)) : c("", !0)
4623
+ ], 2)) : p("", !0)
4629
4624
  ], 6);
4630
4625
  }
4631
4626
  const G = 40, dl = G / 2, ul = Math.round(G * 3.14 * 100) / 100, hl = {
@@ -4728,7 +4723,7 @@ function yl(e, t, i, o, n, l) {
4728
4723
  class: f(["w-radio__label w-form-el-shakable pr2", e.labelClasses]),
4729
4724
  for: `w-radio--${e._.uid}`
4730
4725
  }, [
4731
- p(e.$slots, "default", {}, () => [
4726
+ c(e.$slots, "default", {}, () => [
4732
4727
  B(C(i.label), 1)
4733
4728
  ])
4734
4729
  ], 10, fl)) : i.label ? (s(), u("label", {
@@ -4736,8 +4731,8 @@ function yl(e, t, i, o, n, l) {
4736
4731
  class: f(["w-radio__label w-form-el-shakable pr2", e.labelClasses]),
4737
4732
  for: `w-radio--${e._.uid}`,
4738
4733
  innerHTML: i.label
4739
- }, null, 10, ml)) : c("", !0)
4740
- ], 64)) : c("", !0),
4734
+ }, null, 10, ml)) : p("", !0)
4735
+ ], 64)) : p("", !0),
4741
4736
  y("div", {
4742
4737
  class: f(["w-radio__input", this.color]),
4743
4738
  onClick: t[2] || (t[2] = (a) => {
@@ -4750,7 +4745,7 @@ function yl(e, t, i, o, n, l) {
4750
4745
  class: f(["w-radio__label w-form-el-shakable pl2", e.labelClasses]),
4751
4746
  for: `w-radio--${e._.uid}`
4752
4747
  }, [
4753
- p(e.$slots, "default", {}, () => [
4748
+ c(e.$slots, "default", {}, () => [
4754
4749
  B(C(i.label), 1)
4755
4750
  ])
4756
4751
  ], 10, gl)) : i.label ? (s(), u("label", {
@@ -4758,8 +4753,8 @@ function yl(e, t, i, o, n, l) {
4758
4753
  class: f(["w-radio__label w-form-el-shakable pl2", e.labelClasses]),
4759
4754
  for: `w-radio--${e._.uid}`,
4760
4755
  innerHTML: i.label
4761
- }, null, 10, bl)) : c("", !0)
4762
- ], 64)) : c("", !0)
4756
+ }, null, 10, bl)) : p("", !0)
4757
+ ], 64)) : p("", !0)
4763
4758
  ]),
4764
4759
  _: 3
4765
4760
  }, 16, ["valid", "class"]);
@@ -4855,7 +4850,7 @@ function Cl(e, t, i, o, n, l) {
4855
4850
  class: { mt1: !i.inline && d }
4856
4851
  }), {
4857
4852
  default: m(() => [
4858
- e.$slots[`item.${d + 1}`] || e.$slots.item ? p(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
4853
+ e.$slots[`item.${d + 1}`] || e.$slots.item ? c(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
4859
4854
  key: 0,
4860
4855
  item: l.getOriginalItem(r),
4861
4856
  index: d + 1,
@@ -4864,7 +4859,7 @@ function Cl(e, t, i, o, n, l) {
4864
4859
  }) : r.label ? (s(), u("div", {
4865
4860
  key: 1,
4866
4861
  innerHTML: r.label
4867
- }, null, 8, vl)) : c("", !0)
4862
+ }, null, 8, vl)) : p("", !0)
4868
4863
  ]),
4869
4864
  _: 2
4870
4865
  }, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
@@ -4943,10 +4938,10 @@ function Vl(e, t, i, o, n, l) {
4943
4938
  value: n.rating
4944
4939
  }, null, 8, _l),
4945
4940
  (s(!0), u(w, null, L(i.max, (a) => (s(), u(w, { key: a }, [
4946
- e.$slots.item ? p(e.$slots, "item", {
4941
+ e.$slots.item ? c(e.$slots, "item", {
4947
4942
  key: 0,
4948
4943
  index: a + 1
4949
- }) : c("", !0),
4944
+ }) : p("", !0),
4950
4945
  y("button", {
4951
4946
  class: f(["w-rating__button", l.buttonClasses(a)]),
4952
4947
  disabled: e.isDisabled || e.isReadonly,
@@ -4965,7 +4960,7 @@ function Vl(e, t, i, o, n, l) {
4965
4960
  role: "icon",
4966
4961
  "aria-hidden": "true",
4967
4962
  style: R(l.halfStarStyle)
4968
- }, null, 6)) : c("", !0)
4963
+ }, null, 6)) : p("", !0)
4969
4964
  ], 42, $l)
4970
4965
  ], 64))), 128))
4971
4966
  ]),
@@ -5076,7 +5071,7 @@ function Ll(e, t, i, o, n, l) {
5076
5071
  onMouseleave: t[1] || (t[1] = (...a) => l.onMouseLeave && l.onMouseLeave(...a)),
5077
5072
  onMousewheel: t[2] || (t[2] = (...a) => l.onMouseWheel && l.onMouseWheel(...a))
5078
5073
  }, e.$attrs, { style: l.scrollableStyles }), [
5079
- p(e.$slots, "default")
5074
+ c(e.$slots, "default")
5080
5075
  ], 16),
5081
5076
  y("div", {
5082
5077
  class: f(["w-scrollbar", l.scrollbarClasses]),
@@ -5209,7 +5204,7 @@ const Rl = {
5209
5204
  this.scrollable.top = e, this.scrollable.left = t, this.$el.parentNode.style.position = "relative", this.$el.parentNode.style.padding = 0, window.addEventListener("resize", this.onResize);
5210
5205
  }
5211
5206
  }, Ol = /* @__PURE__ */ v(Pl, [["render", Ll]]), xl = ["aria-expanded", "aria-owns", "aria-activedescendant"], zl = {
5212
- key: 1,
5207
+ key: 0,
5213
5208
  class: "w-select__selection-slot"
5214
5209
  }, Ml = ["innerHTML"], El = ["value", "name"];
5215
5210
  function Wl(e, t, i, o, n, l) {
@@ -5228,11 +5223,11 @@ function Wl(e, t, i, o, n, l) {
5228
5223
  class: f(["w-select__label w-select__label--left w-form-el-shakable", e.labelClasses]),
5229
5224
  onClick: t[0] || (t[0] = (h) => e.$refs["selection-input"].click())
5230
5225
  }, [
5231
- p(e.$slots, "default", {}, () => [
5226
+ c(e.$slots, "default", {}, () => [
5232
5227
  B(C(i.label), 1)
5233
5228
  ])
5234
- ], 2)) : c("", !0)
5235
- ], 64)) : c("", !0),
5229
+ ], 2)) : p("", !0)
5230
+ ], 64)) : p("", !0),
5236
5231
  V(d, S({
5237
5232
  modelValue: e.showMenu,
5238
5233
  "onUpdate:modelValue": t[10] || (t[10] = (h) => e.showMenu = h),
@@ -5254,22 +5249,24 @@ function Wl(e, t, i, o, n, l) {
5254
5249
  "aria-owns": `w-select-menu--${e._.uid}`,
5255
5250
  "aria-activedescendant": `w-select-menu--${e._.uid}_item-1`
5256
5251
  }, [
5257
- i.innerIconLeft ? (s(), b(a, {
5258
- key: 0,
5259
- class: "w-select__icon w-select__icon--inner-left",
5260
- tag: "label",
5261
- onClick: t[1] || (t[1] = (h) => e.$emit("click:inner-icon-left", h))
5262
- }, {
5263
- default: m(() => [
5264
- B(C(i.innerIconLeft), 1)
5265
- ]),
5266
- _: 1
5267
- })) : c("", !0),
5252
+ c(e.$slots, "icon-left", {}, () => [
5253
+ i.innerIconLeft ? (s(), b(a, {
5254
+ key: 0,
5255
+ class: "w-select__icon w-select__icon--inner-left",
5256
+ tag: "label",
5257
+ onClick: t[1] || (t[1] = (h) => e.$emit("click:inner-icon-left", h))
5258
+ }, {
5259
+ default: m(() => [
5260
+ B(C(i.innerIconLeft), 1)
5261
+ ]),
5262
+ _: 1
5263
+ })) : p("", !0)
5264
+ ]),
5268
5265
  e.$slots.selection ? (s(), u("div", zl, [
5269
- p(e.$slots, "selection", {
5266
+ c(e.$slots, "selection", {
5270
5267
  item: i.multiple ? e.inputValue : e.inputValue[0]
5271
5268
  })
5272
- ])) : c("", !0),
5269
+ ])) : p("", !0),
5273
5270
  y("div", S({
5274
5271
  class: "w-select__selection",
5275
5272
  ref: "selection-input",
@@ -5283,27 +5280,29 @@ function Wl(e, t, i, o, n, l) {
5283
5280
  value: h.value === void 0 ? "" : h.value.toString(),
5284
5281
  name: e.inputName + (i.multiple ? "[]" : "")
5285
5282
  }, null, 8, El))), 128)),
5286
- i.labelPosition === "inside" && l.showLabelInside ? (s(), u(w, { key: 2 }, [
5283
+ i.labelPosition === "inside" && l.showLabelInside ? (s(), u(w, { key: 1 }, [
5287
5284
  e.$slots.default || i.label ? (s(), u("label", {
5288
5285
  key: 0,
5289
5286
  class: f(["w-select__label w-select__label--inside w-form-el-shakable", e.labelClasses])
5290
5287
  }, [
5291
- p(e.$slots, "default", {}, () => [
5288
+ c(e.$slots, "default", {}, () => [
5292
5289
  B(C(i.label), 1)
5293
5290
  ])
5294
- ], 2)) : c("", !0)
5295
- ], 64)) : c("", !0),
5296
- i.innerIconRight ? (s(), b(a, {
5297
- key: 3,
5298
- class: "w-select__icon w-select__icon--inner-right",
5299
- tag: "label",
5300
- onClick: t[5] || (t[5] = (h) => e.$emit("click:inner-icon-right", h))
5301
- }, {
5302
- default: m(() => [
5303
- B(C(i.innerIconRight), 1)
5304
- ]),
5305
- _: 1
5306
- })) : c("", !0)
5291
+ ], 2)) : p("", !0)
5292
+ ], 64)) : p("", !0),
5293
+ c(e.$slots, "icon-right", {}, () => [
5294
+ i.innerIconRight ? (s(), b(a, {
5295
+ key: 0,
5296
+ class: "w-select__icon w-select__icon--inner-right",
5297
+ tag: "label",
5298
+ onClick: t[5] || (t[5] = (h) => e.$emit("click:inner-icon-right", h))
5299
+ }, {
5300
+ default: m(() => [
5301
+ B(C(i.innerIconRight), 1)
5302
+ ]),
5303
+ _: 1
5304
+ })) : p("", !0)
5305
+ ])
5307
5306
  ], 10, xl)
5308
5307
  ]),
5309
5308
  default: m(() => [
@@ -5330,14 +5329,14 @@ function Wl(e, t, i, o, n, l) {
5330
5329
  L(i.items.length, (h) => ({
5331
5330
  name: `item.${h}`,
5332
5331
  fn: m(({ item: k, selected: _, index: g }) => [
5333
- e.$slots[`item.${h}`] && e.$slots[`item.${h}`](k, _, g) ? p(e.$slots, `item.${h}`, {
5332
+ e.$slots[`item.${h}`] && e.$slots[`item.${h}`](k, _, g) ? c(e.$slots, `item.${h}`, {
5334
5333
  key: 0,
5335
5334
  item: k,
5336
5335
  selected: _,
5337
5336
  index: g
5338
5337
  }, () => [
5339
5338
  B(C(k[i.itemLabelKey]), 1)
5340
- ]) : p(e.$slots, "item", {
5339
+ ]) : c(e.$slots, "item", {
5341
5340
  key: 1,
5342
5341
  item: k,
5343
5342
  selected: _,
@@ -5357,16 +5356,16 @@ function Wl(e, t, i, o, n, l) {
5357
5356
  class: f(["w-select__label w-select__label--right w-form-el-shakable", e.labelClasses]),
5358
5357
  onClick: t[11] || (t[11] = (h) => e.$refs["selection-input"].click())
5359
5358
  }, [
5360
- p(e.$slots, "default", {}, () => [
5359
+ c(e.$slots, "default", {}, () => [
5361
5360
  B(C(i.label), 1)
5362
5361
  ])
5363
- ], 2)) : c("", !0)
5364
- ], 64)) : c("", !0)
5362
+ ], 2)) : p("", !0)
5363
+ ], 64)) : p("", !0)
5365
5364
  ]),
5366
5365
  _: 3
5367
5366
  }, 16, ["valid", "onReset", "wrap", "class"]);
5368
5367
  }
5369
- const Kl = {
5368
+ const Al = {
5370
5369
  name: "w-select",
5371
5370
  mixins: [E],
5372
5371
  props: {
@@ -5601,7 +5600,7 @@ const Kl = {
5601
5600
  this.inputValue = this.checkSelection(this.modelValue);
5602
5601
  }
5603
5602
  }
5604
- }, Al = /* @__PURE__ */ v(Kl, [["render", Wl]]), Nl = ["for"], Dl = ["for", "innerHTML"], Hl = { class: "w-slider__track-wrap" }, Fl = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], jl = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], Ul = ["for"], ql = { key: 0 }, Xl = {
5603
+ }, Kl = /* @__PURE__ */ v(Al, [["render", Wl]]), Nl = ["for"], Dl = ["for", "innerHTML"], Hl = { class: "w-slider__track-wrap" }, Fl = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], jl = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], Ul = ["for"], ql = { key: 0 }, Xl = {
5605
5604
  key: 0,
5606
5605
  class: "w-slider__step-labels"
5607
5606
  }, Yl = ["onClick"], Gl = ["for"], Jl = ["for", "innerHTML"];
@@ -5621,13 +5620,13 @@ function Ql(e, t, i, o, n, l) {
5621
5620
  class: f(["w-slider__label w-slider__label--left w-form-el-shakable", e.labelClasses]),
5622
5621
  for: `button--${e._.uid}`
5623
5622
  }, [
5624
- p(e.$slots, "label-left")
5623
+ c(e.$slots, "label-left")
5625
5624
  ], 10, Nl)) : i.labelLeft ? (s(), u("label", {
5626
5625
  key: 1,
5627
5626
  class: f(["w-slider__label w-slider__label--left w-form-el-shakable", e.labelClasses]),
5628
5627
  for: `button--${e._.uid}`,
5629
5628
  innerHTML: i.labelLeft
5630
- }, null, 10, Dl)) : c("", !0),
5629
+ }, null, 10, Dl)) : p("", !0),
5631
5630
  y("div", Hl, [
5632
5631
  y("div", {
5633
5632
  class: f(["w-slider__track", l.trackClasses]),
@@ -5674,16 +5673,16 @@ function Ql(e, t, i, o, n, l) {
5674
5673
  for: `button--${e._.uid}`
5675
5674
  }, [
5676
5675
  i.thumbLabel === "droplet" ? (s(), u("div", ql, [
5677
- p(e.$slots, "label", { value: e.rangeValueScaled }, () => [
5676
+ c(e.$slots, "label", { value: e.rangeValueScaled }, () => [
5678
5677
  B(C(~~e.rangeValueScaled), 1)
5679
5678
  ])
5680
- ])) : p(e.$slots, "label", {
5679
+ ])) : c(e.$slots, "label", {
5681
5680
  key: 1,
5682
5681
  value: e.rangeValueScaled
5683
5682
  }, () => [
5684
5683
  B(C(~~e.rangeValueScaled), 1)
5685
5684
  ])
5686
- ], 10, Ul)) : c("", !0)
5685
+ ], 10, Ul)) : p("", !0)
5687
5686
  ], 4)
5688
5687
  ], 42, Fl),
5689
5688
  i.stepLabels && i.step ? (s(), u("div", Xl, [
@@ -5702,21 +5701,21 @@ function Ql(e, t, i, o, n, l) {
5702
5701
  class: "w-slider__step-label",
5703
5702
  onClick: t[7] || (t[7] = (a) => l.onStepLabelClick(100)),
5704
5703
  style: { left: "100%" }
5705
- }, C(this.maxVal), 1)) : c("", !0)
5706
- ])) : c("", !0)
5704
+ }, C(this.maxVal), 1)) : p("", !0)
5705
+ ])) : p("", !0)
5707
5706
  ]),
5708
5707
  e.$slots["label-right"] ? (s(), u("label", {
5709
5708
  key: 2,
5710
5709
  class: f(["w-slider__label w-slider__label--right w-form-el-shakable", e.labelClasses]),
5711
5710
  for: `button--${e._.uid}`
5712
5711
  }, [
5713
- p(e.$slots, "label-right")
5712
+ c(e.$slots, "label-right")
5714
5713
  ], 10, Gl)) : i.labelRight ? (s(), u("label", {
5715
5714
  key: 3,
5716
5715
  class: f(["w-slider__label w-slider__label--right w-form-el-shakable", e.labelClasses]),
5717
5716
  for: `button--${e._.uid}`,
5718
5717
  innerHTML: i.labelRight
5719
- }, null, 10, Jl)) : c("", !0)
5718
+ }, null, 10, Jl)) : p("", !0)
5720
5719
  ]),
5721
5720
  _: 3
5722
5721
  }, 16, ["valid", "wrap", "class"]);
@@ -5866,8 +5865,8 @@ function is(e, t, i, o, n, l) {
5866
5865
  class: f(["w-spinner", l.classes]),
5867
5866
  style: R(l.styles)
5868
5867
  }, [
5869
- l.isThreeDots ? (s(), u("span", ts)) : c("", !0)
5870
- ], 6)) : c("", !0);
5868
+ l.isThreeDots ? (s(), u("span", ts)) : p("", !0)
5869
+ ], 6)) : p("", !0);
5871
5870
  }
5872
5871
  const ls = {
5873
5872
  name: "w-spinner",
@@ -5969,11 +5968,11 @@ function ps(e, t, i, o, n, l) {
5969
5968
  class: f(["w-switch__label w-switch__label--left w-form-el-shakable", e.labelClasses]),
5970
5969
  for: `w-switch--${e._.uid}`
5971
5970
  }, [
5972
- p(e.$slots, "default", {}, () => [
5971
+ c(e.$slots, "default", {}, () => [
5973
5972
  B(C(i.label), 1)
5974
5973
  ])
5975
- ], 10, ds)) : c("", !0)
5976
- ], 64)) : c("", !0),
5974
+ ], 10, ds)) : p("", !0)
5975
+ ], 64)) : p("", !0),
5977
5976
  y("div", S({
5978
5977
  class: "w-switch__input",
5979
5978
  onClick: t[2] || (t[2] = (r) => {
@@ -5981,15 +5980,15 @@ function ps(e, t, i, o, n, l) {
5981
5980
  })
5982
5981
  }, M(e.$attrs, !0), { class: l.inputClasses }), [
5983
5982
  e.$slots.track ? (s(), u("div", us, [
5984
- p(e.$slots, "track")
5985
- ])) : c("", !0),
5983
+ c(e.$slots, "track")
5984
+ ])) : p("", !0),
5986
5985
  e.$slots.thumb || i.loading ? (s(), u("div", hs, [
5987
5986
  i.loading ? (s(), b(a, S({
5988
5987
  key: 0,
5989
5988
  circle: "",
5990
5989
  color: "inherit"
5991
- }, typeof i.loading == "number" && { "model-value": i.loading }), null, 16)) : p(e.$slots, "thumb", { key: 1 })
5992
- ])) : c("", !0)
5990
+ }, typeof i.loading == "number" && { "model-value": i.loading }), null, 16)) : c(e.$slots, "thumb", { key: 1 })
5991
+ ])) : p("", !0)
5993
5992
  ], 16),
5994
5993
  l.hasLabel && !i.labelOnLeft ? (s(), u(w, { key: 1 }, [
5995
5994
  e.$slots.default || i.label ? (s(), u("label", {
@@ -5997,11 +5996,11 @@ function ps(e, t, i, o, n, l) {
5997
5996
  class: f(["w-switch__label w-switch__label--right w-form-el-shakable", e.labelClasses]),
5998
5997
  for: `w-switch--${e._.uid}`
5999
5998
  }, [
6000
- p(e.$slots, "default", {}, () => [
5999
+ c(e.$slots, "default", {}, () => [
6001
6000
  B(C(i.label), 1)
6002
6001
  ])
6003
- ], 10, cs)) : c("", !0)
6004
- ], 64)) : c("", !0)
6002
+ ], 10, cs)) : p("", !0)
6003
+ ], 64)) : p("", !0)
6005
6004
  ]),
6006
6005
  _: 3
6007
6006
  }, 16, ["valid", "class"]);
@@ -6077,7 +6076,7 @@ const fs = {
6077
6076
  }, ms = /* @__PURE__ */ v(fs, [["render", ps]]), gs = { class: "w-tabs__content" };
6078
6077
  function bs(e, t, i, o, n, l) {
6079
6078
  return s(), u("div", gs, [
6080
- p(e.$slots, "default", { item: i.item })
6079
+ c(e.$slots, "default", { item: i.item })
6081
6080
  ]);
6082
6081
  }
6083
6082
  const ys = {
@@ -6110,12 +6109,12 @@ function $s(e, t, i, o, n, l) {
6110
6109
  "aria-selected": r._uid === e.activeTabUid ? "true" : "false",
6111
6110
  role: "tab"
6112
6111
  }, [
6113
- e.$slots[`item-title.${r.id || d + 1}`] ? p(e.$slots, `item-title.${r.id || d + 1}`, {
6112
+ e.$slots[`item-title.${r.id || d + 1}`] ? c(e.$slots, `item-title.${r.id || d + 1}`, {
6114
6113
  key: 0,
6115
6114
  item: l.getOriginalItem(r),
6116
6115
  index: d + 1,
6117
6116
  active: r._uid === e.activeTabUid
6118
- }) : p(e.$slots, "item-title", {
6117
+ }) : c(e.$slots, "item-title", {
6119
6118
  key: 1,
6120
6119
  item: l.getOriginalItem(r),
6121
6120
  index: d + 1,
@@ -6127,13 +6126,13 @@ function $s(e, t, i, o, n, l) {
6127
6126
  ])
6128
6127
  ], 42, ks))), 128)),
6129
6128
  e.$slots["tabs-bar-extra"] ? (s(), u("div", Cs, [
6130
- p(e.$slots, "tabs-bar-extra")
6131
- ])) : c("", !0),
6129
+ c(e.$slots, "tabs-bar-extra")
6130
+ ])) : p("", !0),
6132
6131
  !i.noSlider && !i.card ? (s(), u("div", {
6133
6132
  key: 1,
6134
6133
  class: f(["w-tabs__slider", i.sliderColor]),
6135
6134
  style: R(l.sliderStyles)
6136
- }, null, 6)) : c("", !0)
6135
+ }, null, 6)) : p("", !0)
6137
6136
  ], 2),
6138
6137
  e.tabs.length ? (s(), u("div", Ss, [
6139
6138
  i.keepInDom ? (s(), b(oe, {
@@ -6141,18 +6140,18 @@ function $s(e, t, i, o, n, l) {
6141
6140
  name: l.transitionName
6142
6141
  }, {
6143
6142
  default: m(() => [
6144
- (s(!0), u(w, null, L(e.tabs, (r, d) => A((s(), b(a, {
6143
+ (s(!0), u(w, null, L(e.tabs, (r, d) => K((s(), b(a, {
6145
6144
  key: r._uid,
6146
6145
  item: r,
6147
6146
  class: f(i.contentClass)
6148
6147
  }, {
6149
6148
  default: m(() => [
6150
- e.$slots[`item-content.${r._index + 1}`] ? p(e.$slots, `item-content.${r._index + 1}`, {
6149
+ e.$slots[`item-content.${r._index + 1}`] ? c(e.$slots, `item-content.${r._index + 1}`, {
6151
6150
  key: 0,
6152
6151
  item: l.getOriginalItem(r),
6153
6152
  index: r._index + 1,
6154
6153
  active: r._index === l.activeTab._index
6155
- }) : p(e.$slots, "item-content", {
6154
+ }) : c(e.$slots, "item-content", {
6156
6155
  key: 1,
6157
6156
  item: l.getOriginalItem(r),
6158
6157
  index: r._index + 1,
@@ -6161,7 +6160,7 @@ function $s(e, t, i, o, n, l) {
6161
6160
  r[i.itemContentKey] ? (s(), u("div", {
6162
6161
  key: 0,
6163
6162
  innerHTML: r[i.itemContentKey]
6164
- }, null, 8, Bs)) : c("", !0)
6163
+ }, null, 8, Bs)) : p("", !0)
6165
6164
  ])
6166
6165
  ]),
6167
6166
  _: 2
@@ -6186,12 +6185,12 @@ function $s(e, t, i, o, n, l) {
6186
6185
  }, {
6187
6186
  default: m(({ item: r }) => [
6188
6187
  r ? (s(), u(w, { key: 0 }, [
6189
- e.$slots[`item-content.${r._index + 1}`] ? p(e.$slots, `item-content.${r._index + 1}`, {
6188
+ e.$slots[`item-content.${r._index + 1}`] ? c(e.$slots, `item-content.${r._index + 1}`, {
6190
6189
  key: 0,
6191
6190
  item: l.getOriginalItem(r),
6192
6191
  index: r._index + 1,
6193
6192
  active: r._uid === e.activeTabUid
6194
- }) : p(e.$slots, "item-content", {
6193
+ }) : c(e.$slots, "item-content", {
6195
6194
  key: 1,
6196
6195
  item: l.getOriginalItem(r),
6197
6196
  index: r._index + 1,
@@ -6200,9 +6199,9 @@ function $s(e, t, i, o, n, l) {
6200
6199
  r[i.itemContentKey] ? (s(), u("div", {
6201
6200
  key: 0,
6202
6201
  innerHTML: r[i.itemContentKey]
6203
- }, null, 8, _s)) : c("", !0)
6202
+ }, null, 8, _s)) : p("", !0)
6204
6203
  ])
6205
- ], 64)) : c("", !0)
6204
+ ], 64)) : p("", !0)
6206
6205
  ]),
6207
6206
  _: 3
6208
6207
  }, 8, ["item", "class"]))
@@ -6210,7 +6209,7 @@ function $s(e, t, i, o, n, l) {
6210
6209
  ]),
6211
6210
  _: 3
6212
6211
  }, 8, ["name", "mode"]))
6213
- ])) : c("", !0)
6212
+ ])) : p("", !0)
6214
6213
  ], 2);
6215
6214
  }
6216
6215
  let fe = 0;
@@ -6396,7 +6395,7 @@ const Vs = {
6396
6395
  }, Ms = ["colspan"], Es = {
6397
6396
  key: 0,
6398
6397
  class: "w-table__progress-bar"
6399
- }, Ws = ["colspan"], Ks = { class: "w-table__loading-text" }, As = {
6398
+ }, Ws = ["colspan"], As = { class: "w-table__loading-text" }, Ks = {
6400
6399
  key: 1,
6401
6400
  class: "no-data"
6402
6401
  }, Ns = ["colspan"], Ds = ["onClick"], Hs = ["data-label"], Fs = ["data-label"], js = ["innerHTML"], Us = {
@@ -6434,7 +6433,7 @@ function io(e, t, i, o, n, l) {
6434
6433
  width: g.width || null
6435
6434
  }, null, 10, Rs))), 128))
6436
6435
  ], 512),
6437
- i.noHeaders ? c("", !0) : (s(), u("thead", Ps, [
6436
+ i.noHeaders ? p("", !0) : (s(), u("thead", Ps, [
6438
6437
  y("tr", null, [
6439
6438
  (s(!0), u(w, null, L(i.headers, (g, T) => (s(), u("th", {
6440
6439
  class: f(["w-table__header", l.headerClasses(g)]),
@@ -6449,9 +6448,9 @@ function io(e, t, i, o, n, l) {
6449
6448
  B("wi-arrow-down")
6450
6449
  ]),
6451
6450
  _: 2
6452
- }, 1032, ["class"])) : c("", !0),
6451
+ }, 1032, ["class"])) : p("", !0),
6453
6452
  g.label ? (s(), u(w, { key: 1 }, [
6454
- e.$slots["header-label"] ? p(e.$slots, "header-label", {
6453
+ e.$slots["header-label"] ? c(e.$slots, "header-label", {
6455
6454
  key: 0,
6456
6455
  header: g,
6457
6456
  label: g.label,
@@ -6462,7 +6461,7 @@ function io(e, t, i, o, n, l) {
6462
6461
  key: 1,
6463
6462
  innerHTML: g.label || ""
6464
6463
  }, null, 8, xs))
6465
- ], 64)) : c("", !0),
6464
+ ], 64)) : p("", !0),
6466
6465
  g.sortable !== !1 && g.align !== "right" ? (s(), b(a, {
6467
6466
  key: 2,
6468
6467
  class: f(["w-table__header-sort", l.headerSortClasses(g)])
@@ -6471,13 +6470,13 @@ function io(e, t, i, o, n, l) {
6471
6470
  B("wi-arrow-down")
6472
6471
  ]),
6473
6472
  _: 2
6474
- }, 1032, ["class"])) : c("", !0),
6473
+ }, 1032, ["class"])) : p("", !0),
6475
6474
  T < i.headers.length - 1 && i.resizableColumns ? (s(), u("span", {
6476
6475
  key: 3,
6477
6476
  class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === T, "w-table__col-resizer--active": e.colResizing.columnIndex === T }]),
6478
6477
  onClick: t[0] || (t[0] = z(() => {
6479
6478
  }, ["stop"]))
6480
- }, null, 2)) : c("", !0)
6479
+ }, null, 2)) : p("", !0)
6481
6480
  ], 10, Os))), 128))
6482
6481
  ]),
6483
6482
  V(d, null, {
@@ -6488,7 +6487,7 @@ function io(e, t, i, o, n, l) {
6488
6487
  }, [
6489
6488
  V(r, { tile: "" })
6490
6489
  ], 8, Ms)
6491
- ])) : c("", !0)
6490
+ ])) : p("", !0)
6492
6491
  ]),
6493
6492
  _: 1
6494
6493
  })
@@ -6499,24 +6498,24 @@ function io(e, t, i, o, n, l) {
6499
6498
  colspan: i.headers.length
6500
6499
  }, [
6501
6500
  V(r, { tile: "" }),
6502
- y("div", Ks, [
6503
- p(e.$slots, "loading", {}, () => [
6501
+ y("div", As, [
6502
+ c(e.$slots, "loading", {}, () => [
6504
6503
  B("Loading...")
6505
6504
  ])
6506
6505
  ])
6507
6506
  ], 8, Ws)
6508
- ])) : l.tableItems.length ? c("", !0) : (s(), u("tr", As, [
6507
+ ])) : l.tableItems.length ? p("", !0) : (s(), u("tr", Ks, [
6509
6508
  y("td", {
6510
6509
  class: "w-table__cell text-center",
6511
6510
  colspan: i.headers.length
6512
6511
  }, [
6513
- p(e.$slots, "no-data", {}, () => [
6512
+ c(e.$slots, "no-data", {}, () => [
6514
6513
  B("No data to show.")
6515
6514
  ])
6516
6515
  ], 8, Ns)
6517
6516
  ])),
6518
6517
  l.tableItems.length && i.loading !== !0 ? (s(!0), u(w, { key: 2 }, L(l.paginatedItems, (g, T) => (s(), u(w, { key: T }, [
6519
- e.$slots.item ? p(e.$slots, "item", {
6518
+ e.$slots.item ? c(e.$slots, "item", {
6520
6519
  key: 0,
6521
6520
  item: g,
6522
6521
  index: T + 1,
@@ -6533,29 +6532,29 @@ function io(e, t, i, o, n, l) {
6533
6532
  key: `${x}-a`,
6534
6533
  "data-label": P.label
6535
6534
  }, [
6536
- e.$slots[`item-cell.${P.key}`] ? p(e.$slots, `item-cell.${P.key}`, {
6535
+ e.$slots[`item-cell.${P.key}`] ? c(e.$slots, `item-cell.${P.key}`, {
6537
6536
  key: 0,
6538
6537
  header: P,
6539
6538
  item: g,
6540
6539
  label: g[P.key] || "",
6541
6540
  index: T + 1
6542
- }) : e.$slots[`item-cell.${x + 1}`] ? p(e.$slots, `item-cell.${x + 1}`, {
6541
+ }) : e.$slots[`item-cell.${x + 1}`] ? c(e.$slots, `item-cell.${x + 1}`, {
6543
6542
  key: 1,
6544
6543
  header: P,
6545
6544
  item: g,
6546
6545
  label: g[P.key] || "",
6547
6546
  index: T + 1
6548
- }) : e.$slots["item-cell"] ? p(e.$slots, "item-cell", {
6547
+ }) : e.$slots["item-cell"] ? c(e.$slots, "item-cell", {
6549
6548
  key: 2,
6550
6549
  header: P,
6551
6550
  item: g,
6552
6551
  label: g[P.key] || "",
6553
6552
  index: T + 1
6554
- }) : c("", !0),
6553
+ }) : p("", !0),
6555
6554
  x < i.headers.length - 1 && i.resizableColumns ? (s(), u("span", {
6556
6555
  key: 3,
6557
6556
  class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === x, "w-table__col-resizer--active": e.colResizing.columnIndex === x }])
6558
- }, null, 2)) : c("", !0)
6557
+ }, null, 2)) : p("", !0)
6559
6558
  ], 10, Hs)) : (s(), u("td", {
6560
6559
  class: f(["w-table__cell", { [`text-${P.align || "left"}`]: !0, "w-table__cell--sticky": P.sticky }]),
6561
6560
  key: `${x}-b`,
@@ -6567,7 +6566,7 @@ function io(e, t, i, o, n, l) {
6567
6566
  x < i.headers.length - 1 && i.resizableColumns ? (s(), u("span", {
6568
6567
  key: 0,
6569
6568
  class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === x, "w-table__col-resizer--active": e.colResizing.columnIndex === x }])
6570
- }, null, 2)) : c("", !0)
6569
+ }, null, 2)) : p("", !0)
6571
6570
  ], 10, Fs))
6572
6571
  ], 64))), 256))
6573
6572
  ], 10, Ds)),
@@ -6579,39 +6578,39 @@ function io(e, t, i, o, n, l) {
6579
6578
  V(h, { y: "" }, {
6580
6579
  default: m(() => [
6581
6580
  l.expandedRowsByUid[g._uid] ? (s(), u("div", Xs, [
6582
- p(e.$slots, "row-expansion", {
6581
+ c(e.$slots, "row-expansion", {
6583
6582
  item: g,
6584
6583
  index: T + 1
6585
6584
  })
6586
- ])) : c("", !0),
6585
+ ])) : p("", !0),
6587
6586
  T < i.headers.length - 1 && i.resizableColumns ? (s(), u("span", {
6588
6587
  key: 1,
6589
6588
  class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === T, "w-table__col-resizer--active": e.colResizing.columnIndex === e.j }])
6590
- }, null, 2)) : c("", !0)
6589
+ }, null, 2)) : p("", !0)
6591
6590
  ]),
6592
6591
  _: 2
6593
6592
  }, 1024)
6594
6593
  ], 8, qs)
6595
- ])) : c("", !0)
6596
- ], 64))), 128)) : c("", !0),
6594
+ ])) : p("", !0)
6595
+ ], 64))), 128)) : p("", !0),
6597
6596
  e.$slots["extra-row"] ? (s(), u("div", Ys, [
6598
- p(e.$slots, "extra-row")
6599
- ])) : c("", !0)
6597
+ c(e.$slots, "extra-row")
6598
+ ])) : p("", !0)
6600
6599
  ]),
6601
6600
  e.$slots.footer || e.$slots["footer-row"] ? (s(), u("tfoot", Gs, [
6602
- e.$slots["footer-row"] ? p(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (s(), u("tr", Js, [
6601
+ e.$slots["footer-row"] ? c(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (s(), u("tr", Js, [
6603
6602
  y("td", {
6604
6603
  class: "w-table__cell",
6605
6604
  colspan: i.headers.length
6606
6605
  }, [
6607
- p(e.$slots, "footer")
6606
+ c(e.$slots, "footer")
6608
6607
  ], 8, Qs)
6609
- ])) : c("", !0)
6610
- ])) : c("", !0)
6608
+ ])) : p("", !0)
6609
+ ])) : p("", !0)
6611
6610
  ], 32)
6612
6611
  ]),
6613
6612
  i.pagination && e.paginationConfig ? (s(), u("div", Zs, [
6614
- p(e.$slots, "pagination", {
6613
+ c(e.$slots, "pagination", {
6615
6614
  range: `${e.paginationConfig.start}-${e.paginationConfig.end}`,
6616
6615
  total: e.paginationConfig.total,
6617
6616
  pagesCount: e.paginationConfig.pagesCount,
@@ -6628,7 +6627,7 @@ function io(e, t, i, o, n, l) {
6628
6627
  "label-position": "left",
6629
6628
  label: "Items per page",
6630
6629
  "label-color": "inherit"
6631
- }, null, 8, ["modelValue", "items"])) : c("", !0),
6630
+ }, null, 8, ["modelValue", "items"])) : p("", !0),
6632
6631
  y("div", eo, [
6633
6632
  V(_, {
6634
6633
  class: "w-pagination__arrow w-pagination__arrow--prev",
@@ -6661,7 +6660,7 @@ function io(e, t, i, o, n, l) {
6661
6660
  B("...")
6662
6661
  ]),
6663
6662
  _: 2
6664
- }, 1032, ["onClick", "class"])) : c("", !0)
6663
+ }, 1032, ["onClick", "class"])) : p("", !0)
6665
6664
  ], 64))), 128)) : (s(!0), u(w, { key: 1 }, L(e.paginationConfig.pagesCount, (g) => (s(), b(_, {
6666
6665
  class: f(["w-pagination__page", { "w-pagination__page--active": g === e.paginationConfig.page }]),
6667
6666
  key: g,
@@ -6685,7 +6684,7 @@ function io(e, t, i, o, n, l) {
6685
6684
  ]),
6686
6685
  y("span", to, C(e.paginationConfig.start) + "-" + C(e.paginationConfig.end || e.paginationConfig.total) + " of " + C(e.paginationConfig.total), 1)
6687
6686
  ])
6688
- ])) : c("", !0)
6687
+ ])) : p("", !0)
6689
6688
  ], 2);
6690
6689
  }
6691
6690
  const me = 15, lo = {
@@ -6943,8 +6942,27 @@ const me = 15, lo = {
6943
6942
  total: this.pagination.total || this.items.length
6944
6943
  });
6945
6944
  },
6945
+ /**
6946
+ * Updates the pagination object and fills up missing variables to always maintain the paginationConfig
6947
+ * object accurate for external use (read and write).
6948
+ * The following vars will always be up to date and if one changes from outside the rest of them
6949
+ * will update accordingly: itemsPerPage, itemsPerPageOptions, start, end, page, total.
6950
+ *
6951
+ * @param {Object} config The config object defining the pagination.
6952
+ * This object can have at most itemsPerPage, page, total, and it will define the start, end and
6953
+ * pagesCount from the given or current itemsPerPage, page and total.
6954
+ * - If a total is given for update, trust it blindly (could come from a backend), and recompute
6955
+ * the rest as long as itemsPerPage is defined.
6956
+ * - If a page is given for update, it will navigate to that page.
6957
+ * - If an itemsPerPage is given for update, it will navigate to that page.
6958
+ */
6946
6959
  updatePaginationConfig({ itemsPerPage: e, page: t, total: i }) {
6947
- i && (this.paginationConfig.total = i), e !== void 0 && (this.paginationConfig.itemsPerPage = e, e = e || this.paginationConfig.total, this.paginationConfig.page = t || this.paginationConfig.page || 1, t = this.paginationConfig.page, i = this.paginationConfig.total, this.paginationConfig.start = 1, this.paginationConfig.end = i >= e * t ? e * t : i % (e * t), this.paginationConfig.pagesCount = Math.ceil(i / e)), t && this.goToPage(t);
6960
+ if (i && (this.paginationConfig.total = i), e !== void 0) {
6961
+ this.paginationConfig.itemsPerPage = e, e = e || this.paginationConfig.total, this.paginationConfig.page = t || this.paginationConfig.page || 1, t = this.paginationConfig.page, i = this.paginationConfig.total;
6962
+ const o = e * t;
6963
+ this.paginationConfig.start = 1, this.paginationConfig.end = i >= o ? o : i % o, this.paginationConfig.pagesCount = Math.ceil(i / e);
6964
+ }
6965
+ t && this.goToPage(t);
6948
6966
  },
6949
6967
  /**
6950
6968
  * Goes to a given page or to the next or previous page.
@@ -7016,7 +7034,7 @@ function ao(e, t, i, o, n, l) {
7016
7034
  tabindex: i.modelValue !== -1 && 0,
7017
7035
  style: l.styles
7018
7036
  }), [
7019
- p(e.$slots, "default"),
7037
+ c(e.$slots, "default"),
7020
7038
  i.closable && i.modelValue ? (s(), u("i", {
7021
7039
  key: 0,
7022
7040
  class: "w-icon w-tag__closable wi-cross",
@@ -7025,7 +7043,7 @@ function ao(e, t, i, o, n, l) {
7025
7043
  }, ["stop"])),
7026
7044
  role: "icon",
7027
7045
  "aria-hidden": "true"
7028
- })) : c("", !0)
7046
+ })) : p("", !0)
7029
7047
  ], 16, oo);
7030
7048
  }
7031
7049
  const no = {
@@ -7096,27 +7114,31 @@ function po(e, t, i, o, n, l) {
7096
7114
  class: f(["w-textarea__label w-textarea__label--left w-form-el-shakable", e.labelClasses]),
7097
7115
  for: `w-textarea--${e._.uid}`
7098
7116
  }, [
7099
- p(e.$slots, "default", {}, () => [
7117
+ c(e.$slots, "default", {}, () => [
7100
7118
  B(C(i.label), 1)
7101
7119
  ])
7102
- ], 10, uo)) : c("", !0)
7103
- ], 64)) : c("", !0),
7120
+ ], 10, uo)) : p("", !0)
7121
+ ], 64)) : p("", !0),
7104
7122
  y("div", {
7105
7123
  class: f(["w-textarea__textarea-wrap", l.inputWrapClasses])
7106
7124
  }, [
7107
- i.innerIconLeft ? (s(), b(a, {
7108
- key: 0,
7109
- class: "w-textarea__icon w-textarea__icon--inner-left",
7110
- tag: "label",
7111
- for: `w-textarea--${e._.uid}`,
7112
- onClick: t[0] || (t[0] = (r) => e.$emit("click:inner-icon-left", r))
7113
- }, {
7114
- default: m(() => [
7115
- B(C(i.innerIconLeft), 1)
7116
- ]),
7117
- _: 1
7118
- }, 8, ["for"])) : c("", !0),
7119
- A(y("textarea", S({
7125
+ c(e.$slots, "icon-left", {
7126
+ inputId: `w-textarea--${e._.uid}`
7127
+ }, () => [
7128
+ i.innerIconLeft ? (s(), b(a, {
7129
+ key: 0,
7130
+ class: "w-textarea__icon w-textarea__icon--inner-left",
7131
+ tag: "label",
7132
+ for: `w-textarea--${e._.uid}`,
7133
+ onClick: t[0] || (t[0] = (r) => e.$emit("click:inner-icon-left", r))
7134
+ }, {
7135
+ default: m(() => [
7136
+ B(C(i.innerIconLeft), 1)
7137
+ ]),
7138
+ _: 1
7139
+ }, 8, ["for"])) : p("", !0)
7140
+ ]),
7141
+ K(y("textarea", S({
7120
7142
  class: "w-textarea__textarea",
7121
7143
  ref: "textarea",
7122
7144
  "onUpdate:modelValue": t[1] || (t[1] = (r) => n.inputValue = r)
@@ -7137,28 +7159,32 @@ function po(e, t, i, o, n, l) {
7137
7159
  }), null, 16, ho), [
7138
7160
  [be, n.inputValue]
7139
7161
  ]),
7140
- i.labelPosition === "inside" && l.showLabelInside ? (s(), u(w, { key: 1 }, [
7162
+ i.labelPosition === "inside" && l.showLabelInside ? (s(), u(w, { key: 0 }, [
7141
7163
  e.$slots.default || i.label ? (s(), u("label", {
7142
7164
  key: 0,
7143
7165
  class: f(["w-textarea__label w-textarea__label--inside w-form-el-shakable", e.labelClasses])
7144
7166
  }, [
7145
- p(e.$slots, "default", {}, () => [
7167
+ c(e.$slots, "default", {}, () => [
7146
7168
  B(C(i.label), 1)
7147
7169
  ])
7148
- ], 2)) : c("", !0)
7149
- ], 64)) : c("", !0),
7150
- i.innerIconRight ? (s(), b(a, {
7151
- key: 2,
7152
- class: "w-textarea__icon w-textarea__icon--inner-right",
7153
- tag: "label",
7154
- for: `w-textarea--${e._.uid}`,
7155
- onClick: t[5] || (t[5] = (r) => e.$emit("click:inner-icon-right", r))
7156
- }, {
7157
- default: m(() => [
7158
- B(C(i.innerIconRight), 1)
7159
- ]),
7160
- _: 1
7161
- }, 8, ["for"])) : c("", !0)
7170
+ ], 2)) : p("", !0)
7171
+ ], 64)) : p("", !0),
7172
+ c(e.$slots, "icon-right", {
7173
+ inputId: `w-textarea--${e._.uid}`
7174
+ }, () => [
7175
+ i.innerIconRight ? (s(), b(a, {
7176
+ key: 0,
7177
+ class: "w-textarea__icon w-textarea__icon--inner-right",
7178
+ tag: "label",
7179
+ for: `w-textarea--${e._.uid}`,
7180
+ onClick: t[5] || (t[5] = (r) => e.$emit("click:inner-icon-right", r))
7181
+ }, {
7182
+ default: m(() => [
7183
+ B(C(i.innerIconRight), 1)
7184
+ ]),
7185
+ _: 1
7186
+ }, 8, ["for"])) : p("", !0)
7187
+ ])
7162
7188
  ], 2),
7163
7189
  i.labelPosition === "right" ? (s(), u(w, { key: 1 }, [
7164
7190
  e.$slots.default || i.label ? (s(), u("label", {
@@ -7166,11 +7192,11 @@ function po(e, t, i, o, n, l) {
7166
7192
  class: f(["w-textarea__label w-textarea__label--right w-form-el-shakable", e.labelClasses]),
7167
7193
  for: `w-textarea--${e._.uid}`
7168
7194
  }, [
7169
- p(e.$slots, "default", {}, () => [
7195
+ c(e.$slots, "default", {}, () => [
7170
7196
  B(C(i.label), 1)
7171
7197
  ])
7172
- ], 10, co)) : c("", !0)
7173
- ], 64)) : c("", !0)
7198
+ ], 10, co)) : p("", !0)
7199
+ ], 64)) : p("", !0)
7174
7200
  ]),
7175
7201
  _: 3
7176
7202
  }, 16, ["valid", "wrap", "class"]);
@@ -7314,11 +7340,11 @@ function yo(e, t, i, o, n, l) {
7314
7340
  ]),
7315
7341
  _: 2
7316
7342
  }, 1032, ["class"])),
7317
- e.$slots[`item.${r + 1}`] ? p(e.$slots, `item.${r + 1}`, {
7343
+ e.$slots[`item.${r + 1}`] ? c(e.$slots, `item.${r + 1}`, {
7318
7344
  key: 1,
7319
7345
  item: a,
7320
7346
  index: r + 1
7321
- }) : p(e.$slots, "item", {
7347
+ }) : c(e.$slots, "item", {
7322
7348
  key: 0,
7323
7349
  item: a,
7324
7350
  index: r + 1
@@ -7363,7 +7389,7 @@ function vo(e, t, i, o, n, l) {
7363
7389
  class: f(["w-toolbar", l.classes]),
7364
7390
  style: R(l.styles)
7365
7391
  }, [
7366
- p(e.$slots, "default")
7392
+ c(e.$slots, "default")
7367
7393
  ], 6);
7368
7394
  }
7369
7395
  const Co = {
@@ -7420,7 +7446,7 @@ const Co = {
7420
7446
  }, So = /* @__PURE__ */ v(Co, [["render", vo]]);
7421
7447
  function Bo(e, t, i, o, n, l) {
7422
7448
  return s(), u(w, null, [
7423
- p(e.$slots, "activator", { on: l.activatorEventHandlers }),
7449
+ c(e.$slots, "activator", { on: l.activatorEventHandlers }),
7424
7450
  V(O, {
7425
7451
  name: l.transitionName,
7426
7452
  appear: ""
@@ -7432,8 +7458,8 @@ function Bo(e, t, i, o, n, l) {
7432
7458
  key: e._.uid,
7433
7459
  style: R(l.styles)
7434
7460
  }, [
7435
- p(e.$slots, "default")
7436
- ], 6)) : c("", !0)
7461
+ c(e.$slots, "default")
7462
+ ], 6)) : p("", !0)
7437
7463
  ]),
7438
7464
  _: 3
7439
7465
  }, 8, ["name"])
@@ -7491,7 +7517,7 @@ const _o = {
7491
7517
  * - `alignment`
7492
7518
  **/
7493
7519
  tooltipClasses() {
7494
- return K(this.tooltipClass);
7520
+ return A(this.tooltipClass);
7495
7521
  },
7496
7522
  transitionName() {
7497
7523
  const e = this.position.replace(/top|bottom/, (t) => ({ top: "up", bottom: "down" })[t]);
@@ -7579,7 +7605,7 @@ const _o = {
7579
7605
  function Vo(e, t, i, o, n, l) {
7580
7606
  return s(), b(O, S({ name: "bounce" }, e.$props), {
7581
7607
  default: m(() => [
7582
- p(e.$slots, "default")
7608
+ c(e.$slots, "default")
7583
7609
  ]),
7584
7610
  _: 3
7585
7611
  }, 16);
@@ -7607,7 +7633,7 @@ function Lo(e, t, i, o, n, l) {
7607
7633
  onAfterLeave: l.afterLeave
7608
7634
  }, {
7609
7635
  default: m(() => [
7610
- p(e.$slots, "default")
7636
+ c(e.$slots, "default")
7611
7637
  ]),
7612
7638
  _: 3
7613
7639
  }, 8, ["onBeforeAppear", "onAppear", "onAfterAppear", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"]);
@@ -7706,7 +7732,7 @@ const Ro = {
7706
7732
  function Oo(e, t, i, o, n, l) {
7707
7733
  return s(), b(O, S({ name: "fade" }, e.$props), {
7708
7734
  default: m(() => [
7709
- p(e.$slots, "default")
7735
+ c(e.$slots, "default")
7710
7736
  ]),
7711
7737
  _: 3
7712
7738
  }, 16);
@@ -7721,7 +7747,7 @@ const xo = {
7721
7747
  function Mo(e, t, i, o, n, l) {
7722
7748
  return s(), b(O, S({ name: "scale" }, e.$props), {
7723
7749
  default: m(() => [
7724
- p(e.$slots, "default")
7750
+ c(e.$slots, "default")
7725
7751
  ]),
7726
7752
  _: 3
7727
7753
  }, 16);
@@ -7733,25 +7759,25 @@ const Eo = {
7733
7759
  duration: { type: [Number, String] }
7734
7760
  }
7735
7761
  }, Wo = /* @__PURE__ */ v(Eo, [["render", Mo]]);
7736
- function Ko(e, t, i, o, n, l) {
7762
+ function Ao(e, t, i, o, n, l) {
7737
7763
  return s(), b(O, S({ name: "scale-fade" }, e.$props), {
7738
7764
  default: m(() => [
7739
- p(e.$slots, "default")
7765
+ c(e.$slots, "default")
7740
7766
  ]),
7741
7767
  _: 3
7742
7768
  }, 16);
7743
7769
  }
7744
- const Ao = {
7770
+ const Ko = {
7745
7771
  name: "w-transition-scale-fade",
7746
7772
  props: {
7747
7773
  appear: { type: Boolean },
7748
7774
  duration: { type: [Number, String] }
7749
7775
  }
7750
- }, No = /* @__PURE__ */ v(Ao, [["render", Ko]]);
7776
+ }, No = /* @__PURE__ */ v(Ko, [["render", Ao]]);
7751
7777
  function Do(e, t, i, o, n, l) {
7752
7778
  return s(), b(O, S({ name: l.transitionName }, e.$props), {
7753
7779
  default: m(() => [
7754
- p(e.$slots, "default")
7780
+ c(e.$slots, "default")
7755
7781
  ]),
7756
7782
  _: 3
7757
7783
  }, 16, ["name"]);
@@ -7778,7 +7804,7 @@ const Ho = {
7778
7804
  function jo(e, t, i, o, n, l) {
7779
7805
  return s(), b(O, S({ name: l.transitionName }, e.$props), {
7780
7806
  default: m(() => [
7781
- p(e.$slots, "default")
7807
+ c(e.$slots, "default")
7782
7808
  ]),
7783
7809
  _: 3
7784
7810
  }, 16, ["name"]);
@@ -7805,7 +7831,7 @@ const Uo = {
7805
7831
  function Xo(e, t, i, o, n, l) {
7806
7832
  return s(), b(O, S({ name: "twist" }, e.$props), {
7807
7833
  default: m(() => [
7808
- p(e.$slots, "default")
7834
+ c(e.$slots, "default")
7809
7835
  ]),
7810
7836
  _: 3
7811
7837
  }, 16);
@@ -7846,8 +7872,8 @@ function Zo(e, t, i, o, n, l) {
7846
7872
  disabled: i.disabled || h.disabled,
7847
7873
  text: "",
7848
7874
  sm: ""
7849
- }, null, 8, ["onClick", "icon", "icon-props", "disabled"])) : c("", !0),
7850
- p(e.$slots, "item", {
7875
+ }, null, 8, ["onClick", "icon", "icon-props", "disabled"])) : p("", !0),
7876
+ c(e.$slots, "item", {
7851
7877
  item: h.originalItem,
7852
7878
  depth: i.depth,
7853
7879
  path: h.path,
@@ -7864,11 +7890,11 @@ function Zo(e, t, i, o, n, l) {
7864
7890
  B(C(l.itemIcon(h)), 1)
7865
7891
  ]),
7866
7892
  _: 2
7867
- }, 1032, ["color"])) : c("", !0),
7893
+ }, 1032, ["color"])) : p("", !0),
7868
7894
  y("span", {
7869
7895
  innerHTML: h.label
7870
7896
  }, null, 8, Jo),
7871
- i.counts && (h.children || h.branch) ? (s(), u("span", Qo, "(" + C(((_ = h.originalItem.children) == null ? void 0 : _.length) || 0) + ")", 1)) : c("", !0)
7897
+ i.counts && (h.children || h.branch) ? (s(), u("span", Qo, "(" + C(((_ = h.originalItem.children) == null ? void 0 : _.length) || 0) + ")", 1)) : p("", !0)
7872
7898
  ];
7873
7899
  })
7874
7900
  ]),
@@ -7893,7 +7919,7 @@ function Zo(e, t, i, o, n, l) {
7893
7919
  "onUpdate:modelValue": t[6] || (t[6] = (_) => e.$emit("update:model-value", _))
7894
7920
  }), {
7895
7921
  item: m(({ item: _, depth: g, path: T, open: P }) => [
7896
- p(e.$slots, "item", {
7922
+ c(e.$slots, "item", {
7897
7923
  item: _,
7898
7924
  depth: g,
7899
7925
  path: T,
@@ -7901,7 +7927,7 @@ function Zo(e, t, i, o, n, l) {
7901
7927
  })
7902
7928
  ]),
7903
7929
  _: 2
7904
- }, 1040, ["depth", "data", "parent"])) : c("", !0)
7930
+ }, 1040, ["depth", "data", "parent"])) : p("", !0)
7905
7931
  ]),
7906
7932
  _: 2
7907
7933
  }, 1064, ["y", "onAfterEnter", "onAfterLeave"]))
@@ -8142,7 +8168,7 @@ const ea = {
8142
8168
  WRadios: Bl,
8143
8169
  WRating: Tl,
8144
8170
  WScrollable: Ol,
8145
- WSelect: Al,
8171
+ WSelect: Kl,
8146
8172
  WSlider: es,
8147
8173
  WSpinner: ss,
8148
8174
  WSteps: ns,