wave-ui 3.14.2 → 3.15.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.
@@ -5,7 +5,7 @@ var de = (e) => {
5
5
  var $e = (e, t, i) => t in e ? _e(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
6
6
  var H = (e, t, i) => $e(e, typeof t != "symbol" ? t + "" : t, i), ue = (e, t, i) => t.has(e) || de("Cannot " + i);
7
7
  var Y = (e, t, i) => (ue(e, t, "read from private field"), i ? i.call(e) : t.get(e)), te = (e, t, i) => t.has(e) ? de("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, i), ie = (e, t, i, s) => (ue(e, t, "write to private field"), s ? s.call(e, i) : t.set(e, i), i);
8
- import { reactive as Z, resolveComponent as $, openBlock as o, createBlock as g, Teleport as Ve, createVNode as T, TransitionGroup as ae, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as k, renderList as x, mergeProps as _, createElementVNode as w, createCommentVNode as p, createApp as Ie, defineComponent as Te, inject as Le, withKeys as E, withModifiers as M, renderSlot as c, createTextVNode as S, toDisplayString as C, normalizeStyle as R, toHandlers as ne, Transition as P, resolveDynamicComponent as L, normalizeProps as le, resolveDirective as ke, withDirectives as W, createSlots as ee, vShow as re, vModelText as ve, vModelDynamic as Re, KeepAlive as xe } from "vue";
8
+ import { reactive as Z, resolveComponent as $, openBlock as o, createBlock as b, Teleport as Ie, createVNode as T, TransitionGroup as ae, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as k, renderList as x, mergeProps as _, createElementVNode as w, createCommentVNode as p, createApp as Ve, defineComponent as Te, inject as Le, withKeys as E, withModifiers as O, renderSlot as c, createTextVNode as B, toDisplayString as C, normalizeStyle as R, toHandlers as ne, Transition as P, resolveDynamicComponent as L, normalizeProps as le, resolveDirective as ke, withDirectives as W, createSlots as ee, vShow as re, vModelText as ve, vModelDynamic as Re, KeepAlive as xe } from "vue";
9
9
  const Pe = Z({
10
10
  on: "#app",
11
11
  // Sets the Wave UI root node. If not found, will default to `body`.
@@ -74,18 +74,20 @@ const Pe = Z({
74
74
  typeof s == "object" && typeof t[i] == "object" ? Ce(e[i], t[i]) : t[i] = s;
75
75
  }
76
76
  return t;
77
- }, j = (e) => console.warn(`Wave UI: ${e}`), F = (e) => console.error(`Wave UI: ${e}`), Oe = (e) => {
77
+ }, j = (e) => console.warn(`Wave UI: ${e}`), F = (e) => console.error(`Wave UI: ${e}`), ze = (e) => {
78
78
  ["light", "dark"].forEach((t) => {
79
- var s;
79
+ var s, n, l;
80
80
  const i = e.colors[t];
81
81
  i.shades = {};
82
- for (const n in i) {
83
- if (n === "shades") continue;
84
- const l = i[n], a = { label: n, color: (((s = i[n]) == null ? void 0 : s.color) ?? i[n]).replace("#", "") }, r = a.color;
85
- r.length === 3 && (a.color = r[0] + "" + r[0] + r[1] + r[1] + r[2] + r[2]);
86
- for (let d = 1; d <= 6; d++) {
87
- const h = We(`#${a.color}`, d * ((l == null ? void 0 : l.lightIncrement) ?? 16) + ((l == null ? void 0 : l.lightOffset) ?? 0)), y = Ke(`#${a.color}`, d * ((l == null ? void 0 : l.darkIncrement) ?? 12.4) + ((l == null ? void 0 : l.darkOffset) ?? 0));
88
- i.shades[`${a.label}-light${d}`] = h, i.shades[`${a.label}-dark${d}`] = y;
82
+ for (const a in i) {
83
+ if (a === "shades") continue;
84
+ const r = i[a], d = { label: a, color: (l = (n = ((s = i[a]) == null ? void 0 : s.color) ?? i[a]) == null ? void 0 : n.replace) == null ? void 0 : l.call(n, "#", "") }, h = d.color;
85
+ if (h) {
86
+ h.length === 3 && (d.color = h[0] + "" + h[0] + h[1] + h[1] + h[2] + h[2]);
87
+ for (let y = 1; y <= 6; y++) {
88
+ const S = We(`#${d.color}`, y * ((r == null ? void 0 : r.lightIncrement) ?? 16) + ((r == null ? void 0 : r.lightOffset) ?? 0)), g = Ke(`#${d.color}`, y * ((r == null ? void 0 : r.darkIncrement) ?? 12.4) + ((r == null ? void 0 : r.darkOffset) ?? 0));
89
+ i.shades[`${d.label}-light${y}`] = S, i.shades[`${d.label}-dark${y}`] = g;
90
+ }
89
91
  }
90
92
  }
91
93
  });
@@ -106,17 +108,17 @@ function J(e) {
106
108
  const t = e.toString(16);
107
109
  return t.length === 1 && `0${t}` || t.length === 2 && t || F(`expected value from 0~255, got: ${e}`) || "";
108
110
  }
109
- function Me(e) {
111
+ function Oe(e) {
110
112
  return /^#[0-9a-f]{6}([0-9a-f]{2})?$/i.test(e);
111
113
  }
112
- function ze(e) {
114
+ function Me(e) {
113
115
  return /^#[0-9a-f]{3}([0-9a-f])?$/i.test(e);
114
116
  }
115
117
  function Ee(e) {
116
118
  return `#${e.substring(1).split("").map((t) => `${t}${t}`).join("")}`;
117
119
  }
118
120
  function Ae(e) {
119
- return Me(e) && e || ze(e) && Ee(e) || F(`expected color hex string, got '${e}'`) || "";
121
+ return Oe(e) && e || Me(e) && Ee(e) || F(`expected color hex string, got '${e}'`) || "";
120
122
  }
121
123
  function ce(e) {
122
124
  const t = Ae(e), i = parseInt(t.substring(1, 3), 16), s = parseInt(t.substring(3, 5), 16), n = parseInt(t.substring(5, 7), 16), l = t.length === 9 ? parseInt(t.substring(7, 9), 16) / 255 : 1;
@@ -132,8 +134,8 @@ function pe(e, t, i, s) {
132
134
  return `#${J(e)}${J(t)}${J(i)}${s ? J(Math.floor(s * 255)) : ""}`;
133
135
  }
134
136
  function Se(e, t, i = 50) {
135
- const s = ce(e), n = ce(t), l = G(i, 0, 100) / 100, a = 2 * l - 1, r = s.alpha - n.alpha, d = ((a * r === -1 ? a : (a + r) / (1 + a * r)) + 1) / 2, h = 1 - d, y = G(Math.round(s.red * d + n.red * h), 0, 255), B = G(Math.round(s.green * d + n.green * h), 0, 255), b = G(Math.round(s.blue * d + n.blue * h), 0, 255), I = s.alpha * l + n.alpha * (1 - l);
136
- return s.hasAlpha || n.hasAlpha || I !== 1 ? pe(y, B, b, I) : pe(y, B, b);
137
+ const s = ce(e), n = ce(t), l = G(i, 0, 100) / 100, a = 2 * l - 1, r = s.alpha - n.alpha, d = ((a * r === -1 ? a : (a + r) / (1 + a * r)) + 1) / 2, h = 1 - d, y = G(Math.round(s.red * d + n.red * h), 0, 255), S = G(Math.round(s.green * d + n.green * h), 0, 255), g = G(Math.round(s.blue * d + n.blue * h), 0, 255), V = s.alpha * l + n.alpha * (1 - l);
138
+ return s.hasAlpha || n.hasAlpha || V !== 1 ? pe(y, S, g, V) : pe(y, S, g);
137
139
  }
138
140
  function We(e, t = 15) {
139
141
  return Se("#ffffff", e, t);
@@ -494,21 +496,21 @@ const fe = [
494
496
  };
495
497
  let se = { keys: [], values: [] }, me = null;
496
498
  const Ne = (e, t) => {
497
- var I;
499
+ var V;
498
500
  let i = "";
499
501
  const s = {}, { info: n, warning: l, success: a, error: r, shades: d, ...h } = e, { cssScope: y } = U;
500
- for (const V in h)
501
- i += `${y} .${V}--bg{background-color:var(--w-${V}-color)}${y} .${V}{color:var(--w-${V}-color)}`;
502
- for (const V in d)
503
- i += `${y} .${V}--bg{background-color:${d[V]}}${y} .${V}{color:${d[V]}}`;
504
- const B = { ...h, info: n, warning: l, success: a, error: r };
505
- for (const V in B) s[V] = ((I = B[V]) == null ? void 0 : I.color) ?? B[V];
502
+ for (const I in h)
503
+ i += `${y} .${I}--bg{background-color:var(--w-${I}-color)}${y} .${I}{color:var(--w-${I}-color)}`;
504
+ for (const I in d)
505
+ i += `${y} .${I}--bg{background-color:${d[I]}}${y} .${I}{color:${d[I]}}`;
506
+ const S = { ...h, info: n, warning: l, success: a, error: r };
507
+ for (const I in S) s[I] = ((V = S[I]) == null ? void 0 : V.color) ?? S[I];
506
508
  if (t)
507
- for (const V in d) s[V] = d[V];
508
- let b = "";
509
- return Object.entries(s).forEach(([V, O]) => {
510
- b += `--w-${V}-color: ${O};`;
511
- }), `:root{${b}}${i}`;
509
+ for (const I in d) s[I] = d[I];
510
+ let g = "";
511
+ return Object.entries(s).forEach(([I, z]) => {
512
+ g += `--w-${I}-color: ${z};`;
513
+ }), `:root{${g}}${i}`;
512
514
  }, De = (e, t) => {
513
515
  let i = "";
514
516
  const { cssScope: s } = U;
@@ -543,6 +545,8 @@ const Ne = (e, t) => {
543
545
  "no-grow{flex-grow:0}",
544
546
  "shrink{flex-shrink:1;margin-left:auto;margin-right:auto}",
545
547
  "no-shrink{flex-shrink:0}",
548
+ "wrap{flex-wrap: wrap}",
549
+ "no-wrap{flex-wrap: nowrap}",
546
550
  "fill-width{width:100%}",
547
551
  "fill-height{height:100%}",
548
552
  "basis-zero{flex-basis:0}",
@@ -610,7 +614,7 @@ const Ne = (e, t) => {
610
614
  }, qe = ["innerHTML"];
611
615
  function Xe(e, t, i, s, n, l) {
612
616
  const a = $("w-alert");
613
- return o(), g(Ve, { to: ".w-app" }, [
617
+ return o(), b(Ie, { to: ".w-app" }, [
614
618
  T(ae, {
615
619
  class: f(["w-notification-manager", { "w-notification-manager--left": l.conf.align === "left" }]),
616
620
  tag: "div",
@@ -619,7 +623,7 @@ function Xe(e, t, i, s, n, l) {
619
623
  }, {
620
624
  default: m(() => [
621
625
  (o(!0), u(k, null, x(l.notifications, (r) => (o(), u(k, null, [
622
- r._value ? (o(), g(a, _({
626
+ r._value ? (o(), b(a, _({
623
627
  class: "white--bg",
624
628
  key: r._uid,
625
629
  modelValue: r._value,
@@ -711,7 +715,7 @@ let oe = K;
711
715
  const Je = (e, t, i) => {
712
716
  const s = document.createElement("div");
713
717
  e.appendChild(s);
714
- const n = Ie(Te({
718
+ const n = Ve(Te({
715
719
  ...Ge,
716
720
  inject: ["$waveui"]
717
721
  })).provide("$waveui", i);
@@ -786,7 +790,7 @@ const N = class N {
786
790
  i.colors.light || (i.colors.light = a), i.colors.dark || (i.colors.dark = a), i.colors = { light: i.colors.light, dark: i.colors.dark };
787
791
  }
788
792
  let { components: s, ...n } = i;
789
- n = this.$waveui.config = Ce(n), n.css.colorShades && Oe(n);
793
+ n = this.$waveui.config = Ce(n), n.css.colorShades && ze(n);
790
794
  const l = Z(this.$waveui);
791
795
  t.config.globalProperties.$waveui = l, t.provide("$waveui", l), n.theme !== "auto" && (this.$waveui.colors = he(n.colors[n.theme], fe));
792
796
  }
@@ -840,7 +844,7 @@ function st(e, t, i, s, n, l) {
840
844
  onKeypress: E((y) => !d._disabled && l.toggleItem(d, y), ["enter"]),
841
845
  tabindex: !d._disabled && 0
842
846
  }, [
843
- i.expandIcon && !i.expandIconRight ? (o(), g(a, {
847
+ i.expandIcon && !i.expandIconRight ? (o(), b(a, {
844
848
  key: 0,
845
849
  class: f(["w-accordion__expand-icon", { "w-accordion__expand-icon--expanded": d._expanded, "w-accordion__expand-icon--rotate90": i.expandIconRotate90 }]),
846
850
  icon: d._expanded && i.collapseIcon || i.expandIcon,
@@ -848,9 +852,9 @@ function st(e, t, i, s, n, l) {
848
852
  disabled: d._disabled || null,
849
853
  tabindex: -1,
850
854
  text: "",
851
- onKeypress: t[0] || (t[0] = M(() => {
855
+ onKeypress: t[0] || (t[0] = O(() => {
852
856
  }, ["stop"])),
853
- onClick: M((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
857
+ onClick: O((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
854
858
  }, null, 8, ["icon", "icon-props", "disabled", "onClick", "class"])) : p("", !0),
855
859
  e.$slots[`item-title.${d.id || h + 1}`] ? c(e.$slots, `item-title.${d.id || h + 1}`, {
856
860
  key: 1,
@@ -868,14 +872,14 @@ function st(e, t, i, s, n, l) {
868
872
  innerHTML: d[i.itemTitleKey]
869
873
  }, null, 8, it)
870
874
  ]),
871
- i.expandIcon && i.expandIconRight ? (o(), g(a, {
875
+ i.expandIcon && i.expandIconRight ? (o(), b(a, {
872
876
  key: 3,
873
877
  class: f(["w-accordion__expand-icon", { "w-accordion__expand-icon--expanded": d._expanded, "w-accordion__expand-icon--rotate90": i.expandIconRotate90 }]),
874
878
  icon: d._expanded && i.collapseIcon || i.expandIcon,
875
879
  text: "",
876
- onKeypress: t[1] || (t[1] = M(() => {
880
+ onKeypress: t[1] || (t[1] = O(() => {
877
881
  }, ["stop"])),
878
- onClick: M((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
882
+ onClick: O((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
879
883
  }, null, 8, ["icon", "onClick", "class"])) : p("", !0)
880
884
  ], 42, tt),
881
885
  T(r, {
@@ -1006,19 +1010,19 @@ function rt(e, t, i, s, n, l) {
1006
1010
  class: f(["w-alert", l.classes])
1007
1011
  }, [
1008
1012
  l.type || i.icon || i.dismiss ? (o(), u(k, { key: 0 }, [
1009
- l.type || i.icon ? (o(), g(a, {
1013
+ l.type || i.icon ? (o(), b(a, {
1010
1014
  key: 0,
1011
1015
  class: "w-alert__icon mr2"
1012
1016
  }, {
1013
1017
  default: m(() => [
1014
- S(C(l.type ? l.typeIcon : i.icon), 1)
1018
+ B(C(l.type ? l.typeIcon : i.icon), 1)
1015
1019
  ]),
1016
1020
  _: 1
1017
1021
  })) : p("", !0),
1018
1022
  w("div", nt, [
1019
1023
  c(e.$slots, "default")
1020
1024
  ]),
1021
- i.dismiss ? (o(), g(r, {
1025
+ i.dismiss ? (o(), b(r, {
1022
1026
  key: 1,
1023
1027
  class: "w-alert__dismiss",
1024
1028
  onClick: t[0] || (t[0] = (d) => {
@@ -1132,7 +1136,7 @@ function yt(e, t, i, s, n, l) {
1132
1136
  innerHTML: d[i.itemLabelKey]
1133
1137
  }, null, 8, ct),
1134
1138
  T(a, {
1135
- onClick: M((y) => l.unselectItem(h), ["stop"]),
1139
+ onClick: O((y) => l.unselectItem(h), ["stop"]),
1136
1140
  icon: "wi-cross",
1137
1141
  xs: "",
1138
1142
  text: "",
@@ -1163,7 +1167,7 @@ function yt(e, t, i, s, n, l) {
1163
1167
  }, [
1164
1168
  (o(!0), u(k, null, x(l.filteredItems, (d, h) => (o(), u("li", {
1165
1169
  key: h,
1166
- onClick: M((y) => (l.selectItem(d), e.$emit("item-click", d)), ["stop"]),
1170
+ onClick: O((y) => (l.selectItem(d), e.$emit("item-click", d)), ["stop"]),
1167
1171
  class: f({ highlighted: e.highlightedItem === d.uid })
1168
1172
  }, [
1169
1173
  c(e.$slots, "item", {
@@ -1422,7 +1426,7 @@ function $t(e, t, i, s, n, l) {
1422
1426
  role: "status"
1423
1427
  }, [
1424
1428
  i.dot ? p("", !0) : c(e.$slots, "badge", { key: 0 }, () => [
1425
- S(C(i.modelValue === !0 ? "" : i.modelValue || ""), 1)
1429
+ B(C(i.modelValue === !0 ? "" : i.modelValue || ""), 1)
1426
1430
  ])
1427
1431
  ], 6)) : p("", !0)
1428
1432
  ]),
@@ -1430,7 +1434,7 @@ function $t(e, t, i, s, n, l) {
1430
1434
  }, 8, ["name"])
1431
1435
  ]);
1432
1436
  }
1433
- const Vt = {
1437
+ const It = {
1434
1438
  name: "w-badge",
1435
1439
  props: {
1436
1440
  modelValue: { default: !0 },
@@ -1493,7 +1497,7 @@ const Vt = {
1493
1497
  return this.forcedSize && `font-size: ${this.forcedSize}`;
1494
1498
  }
1495
1499
  }
1496
- }, It = /* @__PURE__ */ v(Vt, [["render", $t]]), Tt = ["innerHTML"];
1500
+ }, Vt = /* @__PURE__ */ v(It, [["render", $t]]), Tt = ["innerHTML"];
1497
1501
  function Lt(e, t, i, s, n, l) {
1498
1502
  const a = $("w-icon");
1499
1503
  return o(), u("div", {
@@ -1505,17 +1509,17 @@ function Lt(e, t, i, s, n, l) {
1505
1509
  key: `${d}a`
1506
1510
  }, [
1507
1511
  c(e.$slots, "separator", { index: d })
1508
- ], 2)) : d ? (o(), g(a, {
1512
+ ], 2)) : d ? (o(), b(a, {
1509
1513
  class: f(["w-breadcrumbs__separator", i.separatorColor]),
1510
1514
  key: `${d}b`
1511
1515
  }, {
1512
1516
  default: m(() => [
1513
- S(C(i.icon), 1)
1517
+ B(C(i.icon), 1)
1514
1518
  ]),
1515
1519
  _: 2
1516
1520
  }, 1032, ["class"])) : p("", !0),
1517
1521
  r[i.itemRouteKey] && (d < i.items.length - 1 || i.linkLastItem) ? (o(), u(k, { key: 2 }, [
1518
- e.$slots.item ? (o(), g(L(l.hasRouter ? "router-link" : "a"), {
1522
+ e.$slots.item ? (o(), b(L(l.hasRouter ? "router-link" : "a"), {
1519
1523
  class: f(["w-breadcrumbs__item", i.color || null]),
1520
1524
  key: `${d}c`,
1521
1525
  to: l.hasRouter && r[i.itemRouteKey],
@@ -1529,7 +1533,7 @@ function Lt(e, t, i, s, n, l) {
1529
1533
  })
1530
1534
  ]),
1531
1535
  _: 2
1532
- }, 1032, ["to", "href", "class"])) : (o(), g(L(l.hasRouter ? "router-link" : "a"), {
1536
+ }, 1032, ["to", "href", "class"])) : (o(), b(L(l.hasRouter ? "router-link" : "a"), {
1533
1537
  class: f(["w-breadcrumbs__item", i.color || null]),
1534
1538
  key: `${d}d`,
1535
1539
  to: l.hasRouter && r[i.itemRouteKey],
@@ -1582,7 +1586,7 @@ const Rt = {
1582
1586
  }, xt = /* @__PURE__ */ v(Rt, [["render", Lt]]), Pt = {
1583
1587
  key: 0,
1584
1588
  class: "w-button__loader"
1585
- }, Ot = /* @__PURE__ */ w("svg", { viewBox: "0 0 40 40" }, [
1589
+ }, zt = /* @__PURE__ */ w("svg", { viewBox: "0 0 40 40" }, [
1586
1590
  /* @__PURE__ */ w("circle", {
1587
1591
  cx: "20",
1588
1592
  cy: "20",
@@ -1593,18 +1597,18 @@ const Rt = {
1593
1597
  "stroke-linecap": "round"
1594
1598
  })
1595
1599
  ], -1);
1596
- function Mt(e, t, i, s, n, l) {
1600
+ function Ot(e, t, i, s, n, l) {
1597
1601
  const a = $("w-icon");
1598
- return o(), g(L(!i.disabled && i.route ? "a" : "button"), _({
1602
+ return o(), b(L(!i.disabled && i.route ? "a" : "button"), _({
1599
1603
  class: ["w-button", l.classes],
1600
1604
  type: !i.route && i.type,
1601
1605
  href: !i.disabled && i.route && (l.externalLink ? i.route : l.resolvedRoute) || null,
1602
1606
  disabled: !!i.disabled || null
1603
1607
  }, l.attrs, { style: l.styles }), {
1604
1608
  default: m(() => [
1605
- i.icon ? (o(), g(a, le(_({ key: 0 }, i.iconProps || {})), {
1609
+ i.icon ? (o(), b(a, le(_({ key: 0 }, i.iconProps || {})), {
1606
1610
  default: m(() => [
1607
- S(C(i.icon), 1)
1611
+ B(C(i.icon), 1)
1608
1612
  ]),
1609
1613
  _: 1
1610
1614
  }, 16)) : c(e.$slots, "default", { key: 1 }),
@@ -1612,7 +1616,7 @@ function Mt(e, t, i, s, n, l) {
1612
1616
  default: m(() => [
1613
1617
  i.loading ? (o(), u("div", Pt, [
1614
1618
  c(e.$slots, "loading", {}, () => [
1615
- Ot
1619
+ zt
1616
1620
  ])
1617
1621
  ])) : p("", !0)
1618
1622
  ]),
@@ -1622,7 +1626,7 @@ function Mt(e, t, i, s, n, l) {
1622
1626
  _: 3
1623
1627
  }, 16, ["type", "href", "class", "disabled", "style"]);
1624
1628
  }
1625
- const zt = {
1629
+ const Mt = {
1626
1630
  // Fully handle the attrs and listeners manually for the case of a router link that has both a
1627
1631
  // route and onClick.
1628
1632
  inheritAttrs: !1,
@@ -1723,10 +1727,10 @@ const zt = {
1723
1727
  };
1724
1728
  }
1725
1729
  }
1726
- }, Et = /* @__PURE__ */ v(zt, [["render", Mt]]), At = ["innerHTML"];
1730
+ }, Et = /* @__PURE__ */ v(Mt, [["render", Ot]]), At = ["innerHTML"];
1727
1731
  function Wt(e, t, i, s, n, l) {
1728
1732
  const a = $("button-partial");
1729
- return i.tooltip ? (o(), g(L("w-tooltip"), le(_({ key: 0 }, i.tooltipProps)), {
1733
+ return i.tooltip ? (o(), b(L("w-tooltip"), le(_({ key: 0 }, i.tooltipProps)), {
1730
1734
  activator: m(({ on: r }) => [
1731
1735
  T(a, _(l.buttonProps, ne(r)), {
1732
1736
  default: m(() => [
@@ -1739,7 +1743,7 @@ function Wt(e, t, i, s, n, l) {
1739
1743
  w("div", { innerHTML: i.tooltip }, null, 8, At)
1740
1744
  ]),
1741
1745
  _: 3
1742
- }, 16)) : (o(), g(a, le(_({ key: 1 }, l.buttonProps)), {
1746
+ }, 16)) : (o(), b(a, le(_({ key: 1 }, l.buttonProps)), {
1743
1747
  loading: m(() => [
1744
1748
  c(e.$slots, "loading")
1745
1749
  ]),
@@ -1816,7 +1820,7 @@ function Ht(e, t, i, s, n, l) {
1816
1820
  class: f(["w-card__title", { "w-card__title--has-toolbar": e.$slots.title && l.titleHasToolbar, ...l.titleClasses }]),
1817
1821
  innerHTML: i.title
1818
1822
  }, null, 10, Dt)) : p("", !0),
1819
- i.image ? (o(), g(a, _({
1823
+ i.image ? (o(), b(a, _({
1820
1824
  key: 2,
1821
1825
  class: "w-card__image",
1822
1826
  src: i.image
@@ -1890,7 +1894,7 @@ const Ft = {
1890
1894
  };
1891
1895
  }
1892
1896
  }
1893
- }, jt = /* @__PURE__ */ v(Ft, [["render", Ht]]), z = {
1897
+ }, jt = /* @__PURE__ */ v(Ft, [["render", Ht]]), M = {
1894
1898
  inject: {
1895
1899
  // Used in each form component to determine whether to use the w-form-element wrap or not.
1896
1900
  // So, if a form component is in a form, use the w-form-element wrap.
@@ -1943,7 +1947,7 @@ const Ft = {
1943
1947
  Yt
1944
1948
  ], Jt = ["for"], Qt = ["for", "innerHTML"];
1945
1949
  function Zt(e, t, i, s, n, l) {
1946
- return o(), g(L(e.formRegister && !l.wCheckboxes ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isChecked, disabled: e.isDisabled, readonly: e.isReadonly }, {
1950
+ return o(), b(L(e.formRegister && !l.wCheckboxes ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isChecked, disabled: e.isDisabled, readonly: e.isReadonly }, {
1947
1951
  valid: e.valid,
1948
1952
  "onUpdate:valid": t[5] || (t[5] = (a) => e.valid = a),
1949
1953
  onReset: t[6] || (t[6] = (a) => {
@@ -1975,7 +1979,7 @@ function Zt(e, t, i, s, n, l) {
1975
1979
  for: `w-checkbox--${e._.uid}`
1976
1980
  }, [
1977
1981
  c(e.$slots, "default", {}, () => [
1978
- S(C(i.label), 1)
1982
+ B(C(i.label), 1)
1979
1983
  ])
1980
1984
  ], 10, qt)) : i.label ? (o(), u("label", {
1981
1985
  key: 1,
@@ -1997,7 +2001,7 @@ function Zt(e, t, i, s, n, l) {
1997
2001
  for: `w-checkbox--${e._.uid}`
1998
2002
  }, [
1999
2003
  c(e.$slots, "default", {}, () => [
2000
- S(C(i.label), 1)
2004
+ B(C(i.label), 1)
2001
2005
  ])
2002
2006
  ], 10, Jt)) : i.label ? (o(), u("label", {
2003
2007
  key: 1,
@@ -2012,7 +2016,7 @@ function Zt(e, t, i, s, n, l) {
2012
2016
  }
2013
2017
  const ei = {
2014
2018
  name: "w-checkbox",
2015
- mixins: [z],
2019
+ mixins: [M],
2016
2020
  inject: {
2017
2021
  wCheckboxes: { default: null }
2018
2022
  },
@@ -2080,7 +2084,7 @@ const ei = {
2080
2084
  }, ti = /* @__PURE__ */ v(ei, [["render", Zt]]), ii = ["innerHTML"];
2081
2085
  function li(e, t, i, s, n, l) {
2082
2086
  const a = $("w-checkbox");
2083
- return o(), g(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.checkboxItems.some((r) => r._isChecked), disabled: e.isDisabled }, {
2087
+ return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.checkboxItems.some((r) => r._isChecked), disabled: e.isDisabled }, {
2084
2088
  valid: e.valid,
2085
2089
  "onUpdate:valid": t[1] || (t[1] = (r) => e.valid = r),
2086
2090
  onReset: l.reset,
@@ -2089,7 +2093,7 @@ function li(e, t, i, s, n, l) {
2089
2093
  class: l.classes
2090
2094
  }), {
2091
2095
  default: m(() => [
2092
- (o(!0), u(k, null, x(l.checkboxItems, (r, d) => (o(), g(a, _({
2096
+ (o(!0), u(k, null, x(l.checkboxItems, (r, d) => (o(), b(a, _({
2093
2097
  key: d,
2094
2098
  "model-value": r._isChecked,
2095
2099
  "onUpdate:modelValue": (h) => l.toggleCheck(r, h),
@@ -2121,7 +2125,7 @@ function li(e, t, i, s, n, l) {
2121
2125
  }
2122
2126
  const si = {
2123
2127
  name: "w-checkboxes",
2124
- mixins: [z],
2128
+ mixins: [M],
2125
2129
  props: {
2126
2130
  items: { type: Array, required: !0 },
2127
2131
  // All the possible options.
@@ -2185,7 +2189,7 @@ const si = {
2185
2189
  }, oi = /* @__PURE__ */ v(si, [["render", li]]);
2186
2190
  function ai(e, t, i, s, n, l) {
2187
2191
  const a = $("w-button"), r = $("w-flex"), d = $("w-menu"), h = ke("focus");
2188
- return o(), g(d, _({
2192
+ return o(), b(d, _({
2189
2193
  modelValue: e.showPopup,
2190
2194
  "onUpdate:modelValue": t[2] || (t[2] = (y) => e.showPopup = y)
2191
2195
  }, l.wMenuProps), {
@@ -2205,13 +2209,13 @@ function ai(e, t, i, s, n, l) {
2205
2209
  default: m(() => [
2206
2210
  w("div", null, [
2207
2211
  c(e.$slots, "question", {}, () => [
2208
- S(C(i.question), 1)
2212
+ B(C(i.question), 1)
2209
2213
  ])
2210
2214
  ]),
2211
2215
  w("div", {
2212
2216
  class: f(["w-flex justify-end", i.inline ? "ml2" : "mt2"])
2213
2217
  }, [
2214
- i.cancel !== !1 ? (o(), g(a, _({
2218
+ i.cancel !== !1 ? (o(), b(a, _({
2215
2219
  key: 0,
2216
2220
  class: "mr2"
2217
2221
  }, l.cancelButtonProps, {
@@ -2221,19 +2225,19 @@ function ai(e, t, i, s, n, l) {
2221
2225
  }), {
2222
2226
  default: m(() => [
2223
2227
  c(e.$slots, "cancel", {}, () => [
2224
- S(C(l.cancelButton.label), 1)
2228
+ B(C(l.cancelButton.label), 1)
2225
2229
  ])
2226
2230
  ]),
2227
2231
  _: 3
2228
2232
  }, 16, ["bg-color", "onClick"])) : p("", !0),
2229
- W((o(), g(a, _(l.confirmButtonProps, {
2233
+ W((o(), b(a, _(l.confirmButtonProps, {
2230
2234
  "bg-color": (l.confirmButton || {}).bgColor || "success",
2231
2235
  onKeyup: t[1] || (t[1] = E((y) => !i.persistent && l.onCancel(), ["escape"])),
2232
2236
  onClick: l.onConfirm
2233
2237
  }), {
2234
2238
  default: m(() => [
2235
2239
  c(e.$slots, "confirm", {}, () => [
2236
- S(C(l.confirmButton.label), 1)
2240
+ B(C(l.confirmButton.label), 1)
2237
2241
  ])
2238
2242
  ]),
2239
2243
  _: 3
@@ -2391,7 +2395,7 @@ const ui = {
2391
2395
  }, hi = /* @__PURE__ */ v(ui, [["render", di]]);
2392
2396
  function ci(e, t, i, s, n, l) {
2393
2397
  const a = $("w-card"), r = $("w-overlay");
2394
- return o(), g(r, {
2398
+ return o(), b(r, {
2395
2399
  class: f(["w-dialog", l.classes]),
2396
2400
  "model-value": n.showWrapper,
2397
2401
  persistent: i.persistent,
@@ -2561,7 +2565,7 @@ function ki(e, t, i, s, n, l) {
2561
2565
  style: R(l.trackStyles)
2562
2566
  }, [
2563
2567
  w("div", wi, [
2564
- i.noOverlay ? p("", !0) : (o(), g(a, {
2568
+ i.noOverlay ? p("", !0) : (o(), b(a, {
2565
2569
  key: 0,
2566
2570
  modelValue: n.showDrawer,
2567
2571
  "onUpdate:modelValue": t[0] || (t[0] = (r) => n.showDrawer = r),
@@ -2579,7 +2583,7 @@ function ki(e, t, i, s, n, l) {
2579
2583
  onAfterLeave: l.onClose
2580
2584
  }, {
2581
2585
  default: m(() => [
2582
- n.showDrawer ? (o(), g(L(i.tag || "aside"), {
2586
+ n.showDrawer ? (o(), b(L(i.tag || "aside"), {
2583
2587
  key: 0,
2584
2588
  class: f(["w-drawer", l.drawerClasses]),
2585
2589
  ref: "drawer",
@@ -2594,7 +2598,7 @@ function ki(e, t, i, s, n, l) {
2594
2598
  _: 3
2595
2599
  }, 8, ["onBeforeLeave", "onAfterLeave"])
2596
2600
  ], 4)) : (o(), u(k, { key: 1 }, [
2597
- i.noOverlay ? p("", !0) : (o(), g(a, {
2601
+ i.noOverlay ? p("", !0) : (o(), b(a, {
2598
2602
  key: 0,
2599
2603
  modelValue: n.showDrawer,
2600
2604
  "onUpdate:modelValue": t[1] || (t[1] = (r) => n.showDrawer = r),
@@ -2611,7 +2615,7 @@ function ki(e, t, i, s, n, l) {
2611
2615
  onAfterLeave: l.onClose
2612
2616
  }, {
2613
2617
  default: m(() => [
2614
- n.showDrawer ? (o(), g(L(i.tag || "aside"), {
2618
+ n.showDrawer ? (o(), b(L(i.tag || "aside"), {
2615
2619
  key: 0,
2616
2620
  class: f(["w-drawer", l.drawerClasses]),
2617
2621
  ref: "drawer",
@@ -2743,7 +2747,7 @@ const vi = { left: "right", right: "left", top: "down", bottom: "up" }, Ci = {
2743
2747
  }
2744
2748
  }, Si = /* @__PURE__ */ v(Ci, [["render", ki]]);
2745
2749
  function Bi(e, t, i, s, n, l) {
2746
- return o(), g(L(i.tag), {
2750
+ return o(), b(L(i.tag), {
2747
2751
  class: f(["w-flex", l.classes])
2748
2752
  }, {
2749
2753
  default: m(() => [
@@ -2800,7 +2804,7 @@ const _i = {
2800
2804
  }
2801
2805
  }
2802
2806
  }, $i = /* @__PURE__ */ v(_i, [["render", Bi]]);
2803
- function Vi(e, t, i, s, n, l) {
2807
+ function Ii(e, t, i, s, n, l) {
2804
2808
  return o(), u("form", {
2805
2809
  class: f(["w-form", l.classes]),
2806
2810
  onSubmit: t[0] || (t[0] = (...a) => l.onSubmit && l.onSubmit(...a)),
@@ -2810,7 +2814,7 @@ function Vi(e, t, i, s, n, l) {
2810
2814
  c(e.$slots, "default")
2811
2815
  ], 34);
2812
2816
  }
2813
- const Ii = async (e, t) => {
2817
+ const Vi = async (e, t) => {
2814
2818
  for (const i of e)
2815
2819
  if (await t(i)) return !0;
2816
2820
  return !1;
@@ -2894,7 +2898,7 @@ const Ii = async (e, t) => {
2894
2898
  // message in the form element.
2895
2899
  async checkElementValidators(e) {
2896
2900
  let t = !1, i = "";
2897
- await Ii(e.validators, async (s) => {
2901
+ await Vi(e.validators, async (s) => {
2898
2902
  const n = await (typeof s == "function" && s(e.inputValue));
2899
2903
  return t = typeof n != "string", i = t ? "" : n, !t;
2900
2904
  }), e.hasJustReset = !1, e.Validation.isValid = t, e.Validation.message = i;
@@ -2920,7 +2924,7 @@ const Ii = async (e, t) => {
2920
2924
  (this.status === !1 && e || e === null && this.status !== null) && this.reset(), this.status = e;
2921
2925
  }
2922
2926
  }
2923
- }, Li = /* @__PURE__ */ v(Ti, [["render", Vi]]);
2927
+ }, Li = /* @__PURE__ */ v(Ti, [["render", Ii]]);
2924
2928
  function Ri(e, t, i, s, n, l) {
2925
2929
  const a = $("w-transition-expand");
2926
2930
  return o(), u("div", {
@@ -2940,7 +2944,7 @@ function Ri(e, t, i, s, n, l) {
2940
2944
  c(e.$slots, "error-message", {
2941
2945
  message: e.Validation.message
2942
2946
  }, () => [
2943
- S(C(e.Validation.message), 1)
2947
+ B(C(e.Validation.message), 1)
2944
2948
  ])
2945
2949
  ], 2)) : p("", !0)
2946
2950
  ]),
@@ -3022,8 +3026,8 @@ const xi = {
3022
3026
  this.formUnregister && this.formUnregister(this);
3023
3027
  }
3024
3028
  }, Pi = /* @__PURE__ */ v(xi, [["render", Ri]]);
3025
- function Oi(e, t, i, s, n, l) {
3026
- return o(), g(L(i.tag), {
3029
+ function zi(e, t, i, s, n, l) {
3030
+ return o(), b(L(i.tag), {
3027
3031
  class: f(["w-grid", l.classes])
3028
3032
  }, {
3029
3033
  default: m(() => [
@@ -3032,7 +3036,7 @@ function Oi(e, t, i, s, n, l) {
3032
3036
  _: 3
3033
3037
  }, 8, ["class"]);
3034
3038
  }
3035
- const Mi = {
3039
+ const Oi = {
3036
3040
  name: "w-grid",
3037
3041
  props: {
3038
3042
  tag: { type: String, default: "div" },
@@ -3076,9 +3080,9 @@ const Mi = {
3076
3080
  };
3077
3081
  }
3078
3082
  }
3079
- }, zi = /* @__PURE__ */ v(Mi, [["render", Oi]]);
3083
+ }, Mi = /* @__PURE__ */ v(Oi, [["render", zi]]);
3080
3084
  function Ei(e, t, i, s, n, l) {
3081
- return o(), g(L(i.tag || "i"), {
3085
+ return o(), b(L(i.tag || "i"), {
3082
3086
  class: f(["w-icon", l.classes]),
3083
3087
  role: "icon",
3084
3088
  "aria-hidden": "true",
@@ -3086,7 +3090,7 @@ function Ei(e, t, i, s, n, l) {
3086
3090
  }, {
3087
3091
  default: m(() => [
3088
3092
  l.hasLigature ? (o(), u(k, { key: 0 }, [
3089
- S(C(e.icon), 1)
3093
+ B(C(e.icon), 1)
3090
3094
  ], 64)) : p("", !0)
3091
3095
  ]),
3092
3096
  _: 1
@@ -3164,11 +3168,11 @@ const Ai = {
3164
3168
  }, Wi = /* @__PURE__ */ v(Ai, [["render", Ei]]), Ki = {
3165
3169
  key: 0,
3166
3170
  class: "w-image__loader"
3167
- };
3168
- function Ni(e, t, i, s, n, l) {
3171
+ }, Ni = ["innerHTML"];
3172
+ function Di(e, t, i, s, n, l) {
3169
3173
  const a = $("w-progress");
3170
- return o(), g(L(l.wrapperTag), {
3171
- class: f(["w-image-wrap", l.wrapperClasses]),
3174
+ return o(), b(L(l.wrapperTag), {
3175
+ class: f(["w-image", l.wrapperClasses]),
3172
3176
  style: R(l.wrapperStyles)
3173
3177
  }, {
3174
3178
  default: m(() => [
@@ -3177,23 +3181,23 @@ function Ni(e, t, i, s, n, l) {
3177
3181
  appear: ""
3178
3182
  }, {
3179
3183
  default: m(() => [
3180
- n.loaded ? (o(), g(L(i.tag), {
3184
+ n.loaded ? (o(), b(L(l.normalized.tag), {
3181
3185
  key: 0,
3182
- class: f(["w-image", l.imageClasses]),
3186
+ class: f(["w-image__image", l.imageClasses]),
3183
3187
  style: R(l.imageStyles),
3184
- src: i.tag === "img" ? n.imgSrc : null
3188
+ src: l.normalized.tag === "img" ? n.computedImg.src : null
3185
3189
  }, null, 8, ["class", "style", "src"])) : p("", !0)
3186
3190
  ]),
3187
3191
  _: 1
3188
3192
  }, 8, ["name"]),
3189
- !i.noSpinner && n.loading ? (o(), u("div", Ki, [
3190
- e.$slots.loading ? c(e.$slots, "loading", { key: 0 }) : (o(), g(a, _({
3193
+ !i.noSpinner && n.loading ? (o(), u("span", Ki, [
3194
+ e.$slots.loading ? c(e.$slots, "loading", { key: 0 }) : (o(), b(a, _({
3191
3195
  key: 1,
3192
3196
  circle: "",
3193
3197
  indeterminate: ""
3194
3198
  }, i.spinnerColor ? { color: i.spinnerColor } : {}), null, 16))
3195
3199
  ])) : p("", !0),
3196
- e.$slots.default ? (o(), g(L(l.wrapperTag), {
3200
+ e.$slots.default ? (o(), b(L(l.wrapperTag), {
3197
3201
  key: 1,
3198
3202
  class: f(["w-image__content", i.contentClass])
3199
3203
  }, {
@@ -3201,18 +3205,31 @@ function Ni(e, t, i, s, n, l) {
3201
3205
  c(e.$slots, "default")
3202
3206
  ]),
3203
3207
  _: 3
3204
- }, 8, ["class"])) : p("", !0)
3208
+ }, 8, ["class"])) : p("", !0),
3209
+ e.$slots.caption ? (o(), u("figcaption", {
3210
+ key: 2,
3211
+ class: f(["w-image__caption caption", i.captionClass])
3212
+ }, [
3213
+ c(e.$slots, "caption")
3214
+ ], 2)) : i.caption ? (o(), u("figcaption", {
3215
+ key: 3,
3216
+ class: f(["w-image__caption caption", i.captionClass]),
3217
+ innerHTML: i.caption
3218
+ }, null, 10, Ni)) : p("", !0)
3205
3219
  ]),
3206
3220
  _: 3
3207
3221
  }, 8, ["class", "style"]);
3208
3222
  }
3209
- const Di = {
3223
+ const Hi = {
3210
3224
  name: "w-image",
3211
3225
  props: {
3212
3226
  tag: { type: String, default: "span" },
3227
+ // span, div, figure, img.
3213
3228
  src: { type: String },
3214
3229
  width: { type: [Number, String] },
3215
3230
  height: { type: [Number, String] },
3231
+ maxWidth: { type: [Number, String] },
3232
+ maxHeight: { type: [Number, String] },
3216
3233
  ratio: { type: [Number, String] },
3217
3234
  lazy: { type: Boolean },
3218
3235
  absolute: { type: Boolean },
@@ -3222,50 +3239,68 @@ const Di = {
3222
3239
  spinnerColor: { type: String },
3223
3240
  fallback: { type: String },
3224
3241
  transition: { type: String, default: "fade" },
3225
- contentClass: { type: [String, Array, Object] }
3242
+ contentClass: { type: [String, Array, Object] },
3243
+ caption: { type: String },
3244
+ captionClass: { type: String }
3226
3245
  },
3227
3246
  emits: ["loading", "loaded", "error"],
3228
3247
  data() {
3229
3248
  return {
3230
3249
  loading: !1,
3231
3250
  loaded: !1,
3232
- imgSrc: "",
3233
- imgWidth: this.width || 0,
3234
- imgHeight: this.height || 0,
3235
- imgComputedRatio: 0
3251
+ // The computed image source, and real image dimensions.
3252
+ computedImg: {
3253
+ src: "",
3254
+ width: 0,
3255
+ height: 0,
3256
+ ratio: 0
3257
+ }
3236
3258
  };
3237
3259
  },
3238
3260
  computed: {
3239
- imgGivenRatio() {
3240
- return parseFloat(this.ratio);
3261
+ // Normalized props.
3262
+ normalized() {
3263
+ return {
3264
+ width: (isNaN(this.width) ? this.width : `${this.width}px`) || null,
3265
+ height: (isNaN(this.height) ? this.height : `${this.height}px`) || null,
3266
+ maxWidth: (isNaN(this.maxWidth) ? this.maxWidth : `${this.maxWidth}px`) || null,
3267
+ maxHeight: (isNaN(this.maxHeight) ? this.maxHeight : `${this.maxHeight}px`) || null,
3268
+ ratio: parseFloat(this.ratio) || void 0,
3269
+ tag: this.tag === "img" || this.tag === "figure" || this.caption ? "img" : "span"
3270
+ };
3241
3271
  },
3242
3272
  wrapperTag() {
3243
- return ["span", "div"].includes(this.tag) ? this.tag : "span";
3273
+ return this.caption || this.tag === "figure" ? "figure" : ["span", "div"].includes(this.tag) ? this.tag : "span";
3244
3274
  },
3245
3275
  wrapperClasses() {
3246
3276
  return {
3247
- "w-image-wrap--absolute": this.absolute,
3248
- "w-image-wrap--fixed": this.fixed,
3249
- "w-image-wrap--has-ratio": this.imgGivenRatio
3277
+ "w-image--absolute": this.absolute,
3278
+ "w-image--fixed": this.fixed,
3279
+ "w-image--has-ratio": this.normalized.ratio
3250
3280
  };
3251
3281
  },
3252
3282
  wrapperStyles() {
3253
- return {
3254
- width: this.imgGivenRatio ? null : (isNaN(this.imgWidth) ? this.imgWidth : `${this.imgWidth}px`) || null,
3255
- height: this.imgGivenRatio || this.tag === "img" ? null : (isNaN(this.imgHeight) ? this.imgHeight : `${this.imgHeight}px`) || null,
3256
- "padding-bottom": this.imgGivenRatio && `${this.imgGivenRatio * 100}%`
3283
+ let e = this.normalized.width;
3284
+ const t = this.normalized.height;
3285
+ let i = this.normalized.maxWidth, s = this.normalized.ratio;
3286
+ return s && !e && !t ? e = "100%" : !e && !t ? (e = "100%", i = this.normalized.maxWidth || `${this.computedImg.width}px`, s = s || this.computedImg.width / this.computedImg.height) : (e && !t || t && !e) && (s = s || this.computedImg.width / this.computedImg.height), {
3287
+ width: e,
3288
+ height: t,
3289
+ maxWidth: i,
3290
+ maxHeight: this.normalized.maxHeight,
3291
+ aspectRatio: s
3257
3292
  };
3258
3293
  },
3259
3294
  imageClasses() {
3260
3295
  return {
3261
- "w-image--loading": this.loading,
3262
- "w-image--loaded": this.loaded,
3263
- "w-image--contain": this.contain
3296
+ "w-image__image--loading": this.loading,
3297
+ "w-image__image--loaded": this.loaded,
3298
+ "w-image__image--contain": this.contain
3264
3299
  };
3265
3300
  },
3266
3301
  imageStyles() {
3267
3302
  return {
3268
- "background-image": this.tag !== "img" && this.loaded ? `url('${this.imgSrc}')` : null
3303
+ "background-image": this.normalized.tag !== "img" && this.loaded ? `url('${this.computedImg.src}')` : null
3269
3304
  };
3270
3305
  }
3271
3306
  },
@@ -3274,7 +3309,7 @@ const Di = {
3274
3309
  if (!this.loading)
3275
3310
  return this.loading = !0, this.loaded = !1, this.$emit("loading", e ? this.fallback : this.src), new Promise((t) => {
3276
3311
  const i = new Image();
3277
- i.onload = (s) => (!this.width && !this.height && !this.imgGivenRatio && (this.imgWidth = s.target.width, this.imgHeight = s.target.height), this.imgComputedRatio = s.target.height / s.target.width, this.loading = !1, this.loaded = !0, this.imgSrc = e ? this.fallback : this.src, this.$emit("loaded", this.imgSrc), t(i)), i.onerror = (s) => {
3312
+ i.onload = (s) => (this.computedImg.width = s.target.width, this.computedImg.height = s.target.height, this.computedImg.ratio = s.target.height / s.target.width, this.loading = !1, this.loaded = !0, this.computedImg.src = e ? this.fallback : this.src, this.$emit("loaded", this.computedImg.src), t(i)), i.onerror = (s) => {
3278
3313
  this.$emit("error", s), this.fallback && !e ? (this.loading = !1, this.loadImage(!0)) : (this.loading = !1, this.loaded = !1);
3279
3314
  }, i.src = e ? this.fallback : this.src;
3280
3315
  });
@@ -3292,21 +3327,15 @@ const Di = {
3292
3327
  watch: {
3293
3328
  src() {
3294
3329
  this.loadImage();
3295
- },
3296
- width(e) {
3297
- this.imgWidth = e;
3298
- },
3299
- height(e) {
3300
- this.imgHeight = e;
3301
3330
  }
3302
3331
  }
3303
- }, Hi = /* @__PURE__ */ v(Di, [["render", Ni]]), Fi = ["name"], ji = ["for"], Ui = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], qi = ["id", "name", "multiple", "disabled", "data-progress"], Xi = {
3332
+ }, Fi = /* @__PURE__ */ v(Hi, [["render", Di]]), ji = ["name"], Ui = ["for"], qi = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Xi = ["id", "name", "multiple", "disabled", "data-progress"], Yi = {
3304
3333
  class: "w-input__no-file",
3305
3334
  key: "no-file"
3306
- }, Yi = ["for"], Gi = ["src"], Ji = ["for"];
3307
- function Qi(e, t, i, s, n, l) {
3335
+ }, Gi = ["for"], Ji = ["src"], Qi = ["for"];
3336
+ function Zi(e, t, i, s, n, l) {
3308
3337
  const a = $("w-icon"), r = $("w-progress");
3309
- return o(), g(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
3338
+ return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
3310
3339
  valid: e.valid,
3311
3340
  "onUpdate:valid": t[10] || (t[10] = (d) => e.valid = d),
3312
3341
  onReset: t[11] || (t[11] = (d) => {
@@ -3322,7 +3351,7 @@ function Qi(e, t, i, s, n, l) {
3322
3351
  type: "hidden",
3323
3352
  name: e.name || null,
3324
3353
  "onUpdate:modelValue": t[0] || (t[0] = (d) => n.inputValue = d)
3325
- }, null, 8, Fi)), [
3354
+ }, null, 8, ji)), [
3326
3355
  [ve, n.inputValue]
3327
3356
  ]) : (o(), u(k, { key: 1 }, [
3328
3357
  i.labelPosition === "left" ? (o(), u(k, { key: 0 }, [
@@ -3332,9 +3361,9 @@ function Qi(e, t, i, s, n, l) {
3332
3361
  for: `w-input--${e._.uid}`
3333
3362
  }, [
3334
3363
  c(e.$slots, "default", {}, () => [
3335
- S(C(i.label), 1)
3364
+ B(C(i.label), 1)
3336
3365
  ])
3337
- ], 10, ji)) : p("", !0)
3366
+ ], 10, Ui)) : p("", !0)
3338
3367
  ], 64)) : p("", !0),
3339
3368
  w("div", {
3340
3369
  class: f(["w-input__input-wrap", l.inputWrapClasses])
@@ -3342,7 +3371,7 @@ function Qi(e, t, i, s, n, l) {
3342
3371
  c(e.$slots, "icon-left", {
3343
3372
  inputId: `w-input--${e._.uid}`
3344
3373
  }, () => [
3345
- i.innerIconLeft ? (o(), g(a, {
3374
+ i.innerIconLeft ? (o(), b(a, {
3346
3375
  key: 0,
3347
3376
  class: "w-input__icon w-input__icon--inner-left",
3348
3377
  tag: "label",
@@ -3350,7 +3379,7 @@ function Qi(e, t, i, s, n, l) {
3350
3379
  onClick: t[1] || (t[1] = (d) => e.$emit("click:inner-icon-left", d))
3351
3380
  }, {
3352
3381
  default: m(() => [
3353
- S(C(i.innerIconLeft), 1)
3382
+ B(C(i.innerIconLeft), 1)
3354
3383
  ]),
3355
3384
  _: 1
3356
3385
  }, 8, ["for"])) : p("", !0)
@@ -3377,7 +3406,7 @@ function Qi(e, t, i, s, n, l) {
3377
3406
  disabled: e.isDisabled || null,
3378
3407
  required: e.required || null,
3379
3408
  tabindex: e.tabindex || null
3380
- }, l.attrs), null, 16, Ui)), [
3409
+ }, l.attrs), null, 16, qi)), [
3381
3410
  [Re, n.inputValue]
3382
3411
  ]) : (o(), u(k, { key: 1 }, [
3383
3412
  w("input", _({
@@ -3393,7 +3422,7 @@ function Qi(e, t, i, s, n, l) {
3393
3422
  disabled: e.isDisabled || null,
3394
3423
  "data-progress": l.overallFilesProgress
3395
3424
  /* Needed to emit the overallProgress. */
3396
- }), null, 16, qi),
3425
+ }), null, 16, Xi),
3397
3426
  T(ae, {
3398
3427
  class: "w-input__input w-input__input--file",
3399
3428
  tag: "label",
@@ -3401,22 +3430,22 @@ function Qi(e, t, i, s, n, l) {
3401
3430
  for: `w-input--${e._.uid}`
3402
3431
  }, {
3403
3432
  default: m(() => [
3404
- !n.inputFiles.length && n.isFocused ? (o(), u("span", Xi, [
3433
+ !n.inputFiles.length && n.isFocused ? (o(), u("span", Yi, [
3405
3434
  c(e.$slots, "no-file", {}, () => [
3406
3435
  e.$slots["no-file"] === void 0 ? (o(), u(k, { key: 0 }, [
3407
- S("No file")
3436
+ B("No file")
3408
3437
  ], 64)) : p("", !0)
3409
3438
  ])
3410
3439
  ])) : p("", !0),
3411
3440
  (o(!0), u(k, null, x(n.inputFiles, (d, h) => (o(), u("span", {
3412
3441
  key: d.lastModified
3413
3442
  }, [
3414
- S(C(h ? ", " : ""), 1),
3443
+ B(C(h ? ", " : ""), 1),
3415
3444
  (o(), u("span", {
3416
3445
  class: "filename",
3417
3446
  key: `${h}b`
3418
3447
  }, C(d.base), 1)),
3419
- S(C(d.extension ? `.${d.extension}` : ""), 1)
3448
+ B(C(d.extension ? `.${d.extension}` : ""), 1)
3420
3449
  ]))), 128))
3421
3450
  ]),
3422
3451
  _: 3
@@ -3428,14 +3457,14 @@ function Qi(e, t, i, s, n, l) {
3428
3457
  class: f(["w-input__label w-input__label--inside w-form-el-shakable", e.labelClasses])
3429
3458
  }, [
3430
3459
  c(e.$slots, "default", {}, () => [
3431
- S(C(i.label), 1)
3460
+ B(C(i.label), 1)
3432
3461
  ])
3433
3462
  ], 2)) : p("", !0)
3434
3463
  ], 64)) : p("", !0),
3435
3464
  c(e.$slots, "icon-right", {
3436
3465
  inputId: `w-input--${e._.uid}`
3437
3466
  }, () => [
3438
- i.innerIconRight ? (o(), g(a, {
3467
+ i.innerIconRight ? (o(), b(a, {
3439
3468
  key: 0,
3440
3469
  class: "w-input__icon w-input__icon--inner-right",
3441
3470
  tag: "label",
@@ -3443,12 +3472,12 @@ function Qi(e, t, i, s, n, l) {
3443
3472
  onClick: t[9] || (t[9] = (d) => e.$emit("click:inner-icon-right", d))
3444
3473
  }, {
3445
3474
  default: m(() => [
3446
- S(C(i.innerIconRight), 1)
3475
+ B(C(i.innerIconRight), 1)
3447
3476
  ]),
3448
3477
  _: 1
3449
3478
  }, 8, ["for"])) : p("", !0)
3450
3479
  ]),
3451
- l.hasLoading || i.showProgress && (l.uploadInProgress || l.uploadComplete) ? (o(), g(r, {
3480
+ l.hasLoading || i.showProgress && (l.uploadInProgress || l.uploadComplete) ? (o(), b(r, {
3452
3481
  key: 3,
3453
3482
  class: "fill-width",
3454
3483
  size: "2",
@@ -3470,12 +3499,12 @@ function Qi(e, t, i, s, n, l) {
3470
3499
  key: `${h}b`,
3471
3500
  src: d.preview,
3472
3501
  alt: ""
3473
- }, null, 8, Gi)) : (o(), u("i", {
3502
+ }, null, 8, Ji)) : (o(), u("i", {
3474
3503
  class: f(["w-icon w-input__file-preview primary size--md", i.preview && typeof i.preview == "string" ? i.preview : "wi-file"]),
3475
3504
  key: `${h}c`
3476
3505
  }, null, 2))
3477
3506
  ], 64))), 256))
3478
- ], 8, Yi)) : p("", !0),
3507
+ ], 8, Gi)) : p("", !0),
3479
3508
  i.labelPosition === "right" ? (o(), u(k, { key: 2 }, [
3480
3509
  e.$slots.default || i.label ? (o(), u("label", {
3481
3510
  key: 0,
@@ -3483,18 +3512,18 @@ function Qi(e, t, i, s, n, l) {
3483
3512
  for: `w-input--${e._.uid}`
3484
3513
  }, [
3485
3514
  c(e.$slots, "default", {}, () => [
3486
- S(C(i.label), 1)
3515
+ B(C(i.label), 1)
3487
3516
  ])
3488
- ], 10, Ji)) : p("", !0)
3517
+ ], 10, Qi)) : p("", !0)
3489
3518
  ], 64)) : p("", !0)
3490
3519
  ], 64))
3491
3520
  ]),
3492
3521
  _: 3
3493
3522
  }, 16, ["valid", "wrap", "class", "style"]);
3494
3523
  }
3495
- const Zi = {
3524
+ const el = {
3496
3525
  name: "w-input",
3497
- mixins: [z],
3526
+ mixins: [M],
3498
3527
  inheritAttrs: !1,
3499
3528
  // The attrs should only be added to the input not the wrapper.
3500
3529
  props: {
@@ -3677,8 +3706,8 @@ const Zi = {
3677
3706
  this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1, this.inputFiles = []);
3678
3707
  }
3679
3708
  }
3680
- }, el = /* @__PURE__ */ v(Zi, [["render", Qi]]);
3681
- function tl(e, t, i, s, n, l) {
3709
+ }, tl = /* @__PURE__ */ v(el, [["render", Zi]]);
3710
+ function il(e, t, i, s, n, l) {
3682
3711
  const a = $("w-icon"), r = $("w-list", !0);
3683
3712
  return o(), u("ul", {
3684
3713
  class: f(["w-list", l.classes])
@@ -3687,16 +3716,16 @@ function tl(e, t, i, s, n, l) {
3687
3716
  class: f(["w-list__item", { "w-list__item--parent": (d.children || []).length }]),
3688
3717
  key: h
3689
3718
  }, [
3690
- i.icon ? (o(), g(a, {
3719
+ i.icon ? (o(), b(a, {
3691
3720
  key: 0,
3692
3721
  class: "w-list__item-bullet"
3693
3722
  }, {
3694
3723
  default: m(() => [
3695
- S(C(i.icon), 1)
3724
+ B(C(i.icon), 1)
3696
3725
  ]),
3697
3726
  _: 1
3698
3727
  })) : p("", !0),
3699
- e.$slots[`item.${h + 1}`] || e.$slots.item || e.$slots.default ? (o(), g(L(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), _({
3728
+ e.$slots[`item.${h + 1}`] || e.$slots.item || e.$slots.default ? (o(), b(L(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), _({
3700
3729
  key: 1,
3701
3730
  class: "w-list__item-label",
3702
3731
  ref_for: !0
@@ -3718,16 +3747,16 @@ function tl(e, t, i, s, n, l) {
3718
3747
  index: h + 1,
3719
3748
  selected: d._selected
3720
3749
  }, () => [
3721
- S(C(d._label), 1)
3750
+ B(C(d._label), 1)
3722
3751
  ])
3723
3752
  ]),
3724
3753
  _: 2
3725
- }, 1040)) : (o(), g(L(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), _({
3754
+ }, 1040)) : (o(), b(L(i.checklist ? "w-checkbox" : i.nav && !d.disabled && d.route ? l.hasRouter ? "router-link" : "a" : "div"), _({
3726
3755
  key: 2,
3727
3756
  class: "w-list__item-label",
3728
3757
  ref_for: !0
3729
3758
  }, l.liLabelProps(d, h, d._selected)), null, 16)),
3730
- (d.children || []).length ? (o(), g(r, _({
3759
+ (d.children || []).length ? (o(), b(r, _({
3731
3760
  key: 3,
3732
3761
  ref_for: !0
3733
3762
  }, e.$props, {
@@ -3740,23 +3769,23 @@ function tl(e, t, i, s, n, l) {
3740
3769
  }), ee({ _: 2 }, [
3741
3770
  e.$slots.item ? {
3742
3771
  name: "item",
3743
- fn: m(({ item: y, index: B, selected: b }) => [
3772
+ fn: m(({ item: y, index: S, selected: g }) => [
3744
3773
  c(e.$slots, "item", {
3745
3774
  item: l.cleanLi(y),
3746
- index: B,
3747
- selected: b
3775
+ index: S,
3776
+ selected: g
3748
3777
  })
3749
3778
  ]),
3750
3779
  key: "0"
3751
3780
  } : {
3752
3781
  name: "default",
3753
- fn: m(({ item: y, index: B, selected: b }) => [
3782
+ fn: m(({ item: y, index: S, selected: g }) => [
3754
3783
  c(e.$slots, "default", {
3755
3784
  item: l.cleanLi(y),
3756
- index: B,
3757
- selected: b
3785
+ index: S,
3786
+ selected: g
3758
3787
  }, () => [
3759
- S(C(y[i.itemLabelKey]), 1)
3788
+ B(C(y[i.itemLabelKey]), 1)
3760
3789
  ])
3761
3790
  ]),
3762
3791
  key: "1"
@@ -3765,7 +3794,7 @@ function tl(e, t, i, s, n, l) {
3765
3794
  ], 2))), 128))
3766
3795
  ], 2);
3767
3796
  }
3768
- const il = {
3797
+ const ll = {
3769
3798
  name: "w-list",
3770
3799
  props: {
3771
3800
  items: { type: [Array, Number], required: !0 },
@@ -3959,7 +3988,7 @@ const il = {
3959
3988
  }
3960
3989
  }
3961
3990
  }
3962
- }, ll = /* @__PURE__ */ v(il, [["render", tl]]), Be = {
3991
+ }, sl = /* @__PURE__ */ v(ll, [["render", il]]), Be = {
3963
3992
  props: {
3964
3993
  // Position.
3965
3994
  appendTo: { type: [String, Boolean, Object] },
@@ -4136,7 +4165,7 @@ const il = {
4136
4165
  }
4137
4166
  }
4138
4167
  };
4139
- function sl(e, t, i, s, n, l) {
4168
+ function ol(e, t, i, s, n, l) {
4140
4169
  const a = $("w-card"), r = $("w-overlay");
4141
4170
  return o(), u(k, null, [
4142
4171
  c(e.$slots, "activator", { on: l.activatorEventHandlers }),
@@ -4157,7 +4186,7 @@ function sl(e, t, i, s, n, l) {
4157
4186
  style: l.styles
4158
4187
  }), [
4159
4188
  c(e.$slots, "default")
4160
- ], 16)) : e.detachableVisible ? (o(), g(a, _({
4189
+ ], 16)) : e.detachableVisible ? (o(), b(a, _({
4161
4190
  key: 1,
4162
4191
  class: "w-menu",
4163
4192
  ref: "detachable"
@@ -4196,7 +4225,7 @@ function sl(e, t, i, s, n, l) {
4196
4225
  ]),
4197
4226
  _: 3
4198
4227
  }, 8, ["name"]),
4199
- i.overlay ? (o(), g(r, _({
4228
+ i.overlay ? (o(), b(r, _({
4200
4229
  key: 0,
4201
4230
  ref: "overlay",
4202
4231
  "model-value": e.detachableVisible,
@@ -4208,7 +4237,7 @@ function sl(e, t, i, s, n, l) {
4208
4237
  }), null, 16, ["model-value", "persistent", "class", "z-index"])) : p("", !0)
4209
4238
  ], 64);
4210
4239
  }
4211
- const ol = {
4240
+ const al = {
4212
4241
  name: "w-menu",
4213
4242
  mixins: [Be],
4214
4243
  inheritAttrs: !1,
@@ -4381,10 +4410,10 @@ const ol = {
4381
4410
  }
4382
4411
  }
4383
4412
  // watch, mounted & beforeDestroy hooks are set in the detachable.js mixin.
4384
- }, al = /* @__PURE__ */ v(ol, [["render", sl]]);
4385
- function nl(e, t, i, s, n, l) {
4413
+ }, nl = /* @__PURE__ */ v(al, [["render", ol]]);
4414
+ function rl(e, t, i, s, n, l) {
4386
4415
  const a = $("w-alert");
4387
- return o(), g(P, {
4416
+ return o(), b(P, {
4388
4417
  name: l.transitionName,
4389
4418
  appear: ""
4390
4419
  }, {
@@ -4410,7 +4439,7 @@ function nl(e, t, i, s, n, l) {
4410
4439
  _: 3
4411
4440
  }, 8, ["name"]);
4412
4441
  }
4413
- const rl = {
4442
+ const dl = {
4414
4443
  name: "w-notification",
4415
4444
  props: {
4416
4445
  // Notification props.
@@ -4533,10 +4562,10 @@ const rl = {
4533
4562
  clearTimeout(this.timeoutId), this.show = e, e && this.timeoutVal && this.countdown();
4534
4563
  }
4535
4564
  }
4536
- }, dl = /* @__PURE__ */ v(rl, [["render", nl]]);
4537
- function ul(e, t, i, s, n, l) {
4565
+ }, ul = /* @__PURE__ */ v(dl, [["render", rl]]);
4566
+ function hl(e, t, i, s, n, l) {
4538
4567
  const a = ke("focus");
4539
- return o(), g(P, {
4568
+ return o(), b(P, {
4540
4569
  name: "fade",
4541
4570
  appear: "",
4542
4571
  onAfterLeave: l.onClose
@@ -4547,7 +4576,7 @@ function ul(e, t, i, s, n, l) {
4547
4576
  class: f(["w-overlay", l.classes]),
4548
4577
  ref: "overlay",
4549
4578
  style: R(i.modelValue && l.styles || null),
4550
- onKeydown: t[0] || (t[0] = E(M((...r) => l.onClick && l.onClick(...r), ["stop"]), ["escape"])),
4579
+ onKeydown: t[0] || (t[0] = E(O((...r) => l.onClick && l.onClick(...r), ["stop"]), ["escape"])),
4551
4580
  onClick: t[1] || (t[1] = (...r) => l.onClick && l.onClick(...r)),
4552
4581
  tabindex: "0"
4553
4582
  }, [
@@ -4560,7 +4589,7 @@ function ul(e, t, i, s, n, l) {
4560
4589
  _: 3
4561
4590
  }, 8, ["onAfterLeave"]);
4562
4591
  }
4563
- const hl = {
4592
+ const cl = {
4564
4593
  name: "w-overlay",
4565
4594
  props: {
4566
4595
  modelValue: {},
@@ -4618,17 +4647,17 @@ const hl = {
4618
4647
  e && (this.showOverlay = !0);
4619
4648
  }
4620
4649
  }
4621
- }, cl = /* @__PURE__ */ v(hl, [["render", ul]]), pl = { class: "w-parallax" };
4622
- function fl(e, t, i, s, n, l) {
4623
- return o(), u("div", pl);
4650
+ }, pl = /* @__PURE__ */ v(cl, [["render", hl]]), fl = { class: "w-parallax" };
4651
+ function ml(e, t, i, s, n, l) {
4652
+ return o(), u("div", fl);
4624
4653
  }
4625
- const ml = {
4654
+ const gl = {
4626
4655
  name: "w-parallax",
4627
4656
  props: {},
4628
4657
  emits: [],
4629
4658
  data: () => ({})
4630
- }, gl = /* @__PURE__ */ v(ml, [["render", fl]]), bl = ["viewBox"], yl = ["cx", "cy", "r", "stroke-dasharray", "stroke-width"], wl = ["cx", "cy", "r", "stroke-width", "stroke-linecap", "stroke-dasharray"];
4631
- function kl(e, t, i, s, n, l) {
4659
+ }, bl = /* @__PURE__ */ v(gl, [["render", ml]]), yl = ["viewBox"], wl = ["cx", "cy", "r", "stroke-dasharray", "stroke-width"], kl = ["cx", "cy", "r", "stroke-width", "stroke-linecap", "stroke-dasharray"];
4660
+ function vl(e, t, i, s, n, l) {
4632
4661
  return o(), u("div", {
4633
4662
  class: f(["w-progress", l.classes]),
4634
4663
  style: R(l.styles)
@@ -4646,7 +4675,7 @@ function kl(e, t, i, s, n, l) {
4646
4675
  fill: "transparent",
4647
4676
  "stroke-dasharray": e.circleCircumference,
4648
4677
  "stroke-width": i.stroke
4649
- }, null, 10, yl)) : p("", !0),
4678
+ }, null, 10, wl)) : p("", !0),
4650
4679
  w("circle", {
4651
4680
  class: "w-progress__progress",
4652
4681
  cx: l.circleCenter,
@@ -4657,8 +4686,8 @@ function kl(e, t, i, s, n, l) {
4657
4686
  "stroke-linecap": i.roundCap && "round",
4658
4687
  "stroke-dasharray": e.circleCircumference,
4659
4688
  style: R(`stroke-dashoffset: ${(1 - l.progressValue / 100) * e.circleCircumference}`)
4660
- }, null, 12, wl)
4661
- ], 8, bl)) : (o(), u("div", {
4689
+ }, null, 12, kl)
4690
+ ], 8, yl)) : (o(), u("div", {
4662
4691
  key: 0,
4663
4692
  class: f(["w-progress__progress", { full: l.progressValue === 100 }]),
4664
4693
  style: R(`width: ${l.progressValue}%`)
@@ -4668,12 +4697,12 @@ function kl(e, t, i, s, n, l) {
4668
4697
  class: f(["w-progress__label", i.labelColor || !1])
4669
4698
  }, [
4670
4699
  c(e.$slots, "default", {}, () => [
4671
- S(C(Math.round(l.progressValue)) + C(i.circle ? "" : "%"), 1)
4700
+ B(C(Math.round(l.progressValue)) + C(i.circle ? "" : "%"), 1)
4672
4701
  ])
4673
4702
  ], 2)) : p("", !0)
4674
4703
  ], 6);
4675
4704
  }
4676
- const Q = 40, vl = Q / 2, Cl = Math.round(Q * 3.14 * 100) / 100, Sl = {
4705
+ const Q = 40, Cl = Q / 2, Sl = Math.round(Q * 3.14 * 100) / 100, Bl = {
4677
4706
  name: "w-progress",
4678
4707
  props: {
4679
4708
  modelValue: { type: [Number, String, Boolean], default: -1 },
@@ -4701,8 +4730,8 @@ const Q = 40, vl = Q / 2, Cl = Math.round(Q * 3.14 * 100) / 100, Sl = {
4701
4730
  emits: [],
4702
4731
  data: () => ({
4703
4732
  circleSize: Q,
4704
- circleRadius: vl,
4705
- circleCircumference: Cl
4733
+ circleRadius: Cl,
4734
+ circleCircumference: Sl
4706
4735
  }),
4707
4736
  computed: {
4708
4737
  progressValue() {
@@ -4742,9 +4771,9 @@ const Q = 40, vl = Q / 2, Cl = Math.round(Q * 3.14 * 100) / 100, Sl = {
4742
4771
  };
4743
4772
  }
4744
4773
  }
4745
- }, Bl = /* @__PURE__ */ v(Sl, [["render", kl]]), _l = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], $l = ["for"], Vl = ["for", "innerHTML"], Il = ["for"], Tl = ["for", "innerHTML"];
4746
- function Ll(e, t, i, s, n, l) {
4747
- return o(), g(L(e.formRegister && !l.wRadios ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled, readonly: e.isReadonly }, {
4774
+ }, _l = /* @__PURE__ */ v(Bl, [["render", vl]]), $l = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], Il = ["for"], Vl = ["for", "innerHTML"], Tl = ["for"], Ll = ["for", "innerHTML"];
4775
+ function Rl(e, t, i, s, n, l) {
4776
+ return o(), b(L(e.formRegister && !l.wRadios ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled, readonly: e.isReadonly }, {
4748
4777
  valid: e.valid,
4749
4778
  "onUpdate:valid": t[3] || (t[3] = (a) => e.valid = a),
4750
4779
  onReset: t[4] || (t[4] = (a) => {
@@ -4766,7 +4795,7 @@ function Ll(e, t, i, s, n, l) {
4766
4795
  onChange: t[1] || (t[1] = (a) => l.onInput(a)),
4767
4796
  "aria-checked": e.inputValue || "false",
4768
4797
  role: "radio"
4769
- }, null, 40, _l),
4798
+ }, null, 40, $l),
4770
4799
  l.hasLabel && i.labelOnLeft ? (o(), u(k, { key: 0 }, [
4771
4800
  e.$slots.default ? (o(), u("label", {
4772
4801
  key: 0,
@@ -4774,9 +4803,9 @@ function Ll(e, t, i, s, n, l) {
4774
4803
  for: `w-radio--${e._.uid}`
4775
4804
  }, [
4776
4805
  c(e.$slots, "default", {}, () => [
4777
- S(C(i.label), 1)
4806
+ B(C(i.label), 1)
4778
4807
  ])
4779
- ], 10, $l)) : i.label ? (o(), u("label", {
4808
+ ], 10, Il)) : i.label ? (o(), u("label", {
4780
4809
  key: 1,
4781
4810
  class: f(["w-radio__label w-form-el-shakable pr2", e.labelClasses]),
4782
4811
  for: `w-radio--${e._.uid}`,
@@ -4796,22 +4825,22 @@ function Ll(e, t, i, s, n, l) {
4796
4825
  for: `w-radio--${e._.uid}`
4797
4826
  }, [
4798
4827
  c(e.$slots, "default", {}, () => [
4799
- S(C(i.label), 1)
4828
+ B(C(i.label), 1)
4800
4829
  ])
4801
- ], 10, Il)) : i.label ? (o(), u("label", {
4830
+ ], 10, Tl)) : i.label ? (o(), u("label", {
4802
4831
  key: 1,
4803
4832
  class: f(["w-radio__label w-form-el-shakable pl2", e.labelClasses]),
4804
4833
  for: `w-radio--${e._.uid}`,
4805
4834
  innerHTML: i.label
4806
- }, null, 10, Tl)) : p("", !0)
4835
+ }, null, 10, Ll)) : p("", !0)
4807
4836
  ], 64)) : p("", !0)
4808
4837
  ]),
4809
4838
  _: 3
4810
4839
  }, 16, ["valid", "class"]);
4811
4840
  }
4812
- const Rl = {
4841
+ const xl = {
4813
4842
  name: "w-radio",
4814
- mixins: [z],
4843
+ mixins: [M],
4815
4844
  inject: { wRadios: { default: null } },
4816
4845
  props: {
4817
4846
  modelValue: { default: !1 },
@@ -4874,10 +4903,10 @@ const Rl = {
4874
4903
  this.toggleFromOutside();
4875
4904
  }
4876
4905
  }
4877
- }, xl = /* @__PURE__ */ v(Rl, [["render", Ll]]), Pl = ["innerHTML"];
4906
+ }, Pl = /* @__PURE__ */ v(xl, [["render", Rl]]), zl = ["innerHTML"];
4878
4907
  function Ol(e, t, i, s, n, l) {
4879
4908
  const a = $("w-radio");
4880
- return o(), g(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
4909
+ return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
4881
4910
  valid: e.valid,
4882
4911
  "onUpdate:valid": t[1] || (t[1] = (r) => e.valid = r),
4883
4912
  onReset: t[2] || (t[2] = (r) => {
@@ -4888,7 +4917,7 @@ function Ol(e, t, i, s, n, l) {
4888
4917
  class: l.classes
4889
4918
  }), {
4890
4919
  default: m(() => [
4891
- (o(!0), u(k, null, x(l.radioItems, (r, d) => (o(), g(a, _({
4920
+ (o(!0), u(k, null, x(l.radioItems, (r, d) => (o(), b(a, _({
4892
4921
  key: d,
4893
4922
  "model-value": r.value === i.modelValue,
4894
4923
  "onUpdate:modelValue": (h) => l.onInput(r),
@@ -4910,7 +4939,7 @@ function Ol(e, t, i, s, n, l) {
4910
4939
  }) : r.label ? (o(), u("div", {
4911
4940
  key: 1,
4912
4941
  innerHTML: r.label
4913
- }, null, 8, Pl)) : p("", !0)
4942
+ }, null, 8, zl)) : p("", !0)
4914
4943
  ]),
4915
4944
  _: 2
4916
4945
  }, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
@@ -4920,7 +4949,7 @@ function Ol(e, t, i, s, n, l) {
4920
4949
  }
4921
4950
  const Ml = {
4922
4951
  name: "w-radios",
4923
- mixins: [z],
4952
+ mixins: [M],
4924
4953
  props: {
4925
4954
  items: { type: Array, required: !0 },
4926
4955
  // All the possible options.
@@ -4971,9 +5000,9 @@ const Ml = {
4971
5000
  return this.items[e._index];
4972
5001
  }
4973
5002
  }
4974
- }, zl = /* @__PURE__ */ v(Ml, [["render", Ol]]), El = ["id", "name", "value"], Al = ["disabled", "onMouseenter", "onClick", "tabindex"];
4975
- function Wl(e, t, i, s, n, l) {
4976
- return o(), g(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
5003
+ }, El = /* @__PURE__ */ v(Ml, [["render", Ol]]), Al = ["id", "name", "value"], Wl = ["disabled", "onMouseenter", "onClick", "tabindex"];
5004
+ function Kl(e, t, i, s, n, l) {
5005
+ return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
4977
5006
  valid: e.valid,
4978
5007
  "onUpdate:valid": t[4] || (t[4] = (a) => e.valid = a),
4979
5008
  onReset: t[5] || (t[5] = (a) => {
@@ -4987,7 +5016,7 @@ function Wl(e, t, i, s, n, l) {
4987
5016
  name: e.inputName,
4988
5017
  type: "hidden",
4989
5018
  value: n.rating
4990
- }, null, 8, El),
5019
+ }, null, 8, Al),
4991
5020
  (o(!0), u(k, null, x(i.max, (a) => (o(), u(k, { key: a }, [
4992
5021
  e.$slots.item ? c(e.$slots, "item", {
4993
5022
  key: 0,
@@ -5012,15 +5041,15 @@ function Wl(e, t, i, s, n, l) {
5012
5041
  "aria-hidden": "true",
5013
5042
  style: R(l.halfStarStyle)
5014
5043
  }, null, 6)) : p("", !0)
5015
- ], 42, Al)
5044
+ ], 42, Wl)
5016
5045
  ], 64))), 128))
5017
5046
  ]),
5018
5047
  _: 3
5019
5048
  }, 16, ["valid", "class"]);
5020
5049
  }
5021
- const Kl = {
5050
+ const Nl = {
5022
5051
  name: "w-rating",
5023
- mixins: [z],
5052
+ mixins: [M],
5024
5053
  props: {
5025
5054
  modelValue: {},
5026
5055
  max: { type: [Number, String], default: 5 },
@@ -5112,8 +5141,8 @@ const Kl = {
5112
5141
  this.rating = parseFloat(e);
5113
5142
  }
5114
5143
  }
5115
- }, Nl = /* @__PURE__ */ v(Kl, [["render", Wl]]);
5116
- function Dl(e, t, i, s, n, l) {
5144
+ }, Dl = /* @__PURE__ */ v(Nl, [["render", Kl]]);
5145
+ function Hl(e, t, i, s, n, l) {
5117
5146
  return o(), u(k, null, [
5118
5147
  w("div", _({
5119
5148
  class: ["w-scrollable", l.scrollableClasses],
@@ -5137,7 +5166,7 @@ function Dl(e, t, i, s, n, l) {
5137
5166
  ], 34)
5138
5167
  ], 64);
5139
5168
  }
5140
- const Hl = {
5169
+ const Fl = {
5141
5170
  h: {
5142
5171
  direction: "horizontal",
5143
5172
  topOrLeft: "left",
@@ -5160,7 +5189,7 @@ const Hl = {
5160
5189
  deltaXorY: "deltaY",
5161
5190
  scrollTopOrLeft: "scrollTop"
5162
5191
  }
5163
- }, Fl = {
5192
+ }, jl = {
5164
5193
  name: "w-scrollable",
5165
5194
  props: {
5166
5195
  color: { type: String, default: "primary" },
@@ -5184,7 +5213,7 @@ const Hl = {
5184
5213
  return this.mounted ? (console.log("💂‍♂️", (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) > ((s = this.$refs.scrollable) == null ? void 0 : s.offsetWidth)) : !1;
5185
5214
  },
5186
5215
  m() {
5187
- return Hl[this.isHorizontal ? "h" : "v"];
5216
+ return Fl[this.isHorizontal ? "h" : "v"];
5188
5217
  },
5189
5218
  scrollableClasses() {
5190
5219
  return {
@@ -5253,13 +5282,13 @@ const Hl = {
5253
5282
  const { top: e, left: t } = this.$refs.scrollable.getBoundingClientRect();
5254
5283
  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);
5255
5284
  }
5256
- }, jl = /* @__PURE__ */ v(Fl, [["render", Dl]]), Ul = ["aria-expanded", "aria-owns", "aria-activedescendant"], ql = {
5285
+ }, Ul = /* @__PURE__ */ v(jl, [["render", Hl]]), ql = ["aria-expanded", "aria-owns", "aria-activedescendant"], Xl = {
5257
5286
  key: 0,
5258
5287
  class: "w-select__selection-slot"
5259
- }, Xl = ["innerHTML"], Yl = ["value", "name"];
5260
- function Gl(e, t, i, s, n, l) {
5288
+ }, Yl = ["innerHTML"], Gl = ["value", "name"];
5289
+ function Jl(e, t, i, s, n, l) {
5261
5290
  const a = $("w-icon"), r = $("w-list"), d = $("w-menu");
5262
- return o(), g(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.selectionString, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: e.isFocused }, {
5291
+ return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.selectionString, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: e.isFocused }, {
5263
5292
  valid: e.valid,
5264
5293
  "onUpdate:valid": t[12] || (t[12] = (h) => e.valid = h),
5265
5294
  onReset: l.onReset,
@@ -5274,7 +5303,7 @@ function Gl(e, t, i, s, n, l) {
5274
5303
  onClick: t[0] || (t[0] = (h) => e.$refs["selection-input"].click())
5275
5304
  }, [
5276
5305
  c(e.$slots, "default", {}, () => [
5277
- S(C(i.label), 1)
5306
+ B(C(i.label), 1)
5278
5307
  ])
5279
5308
  ], 2)) : p("", !0)
5280
5309
  ], 64)) : p("", !0),
@@ -5300,19 +5329,19 @@ function Gl(e, t, i, s, n, l) {
5300
5329
  "aria-activedescendant": `w-select-menu--${e._.uid}_item-1`
5301
5330
  }, [
5302
5331
  c(e.$slots, "icon-left", {}, () => [
5303
- i.innerIconLeft ? (o(), g(a, {
5332
+ i.innerIconLeft ? (o(), b(a, {
5304
5333
  key: 0,
5305
5334
  class: "w-select__icon w-select__icon--inner-left",
5306
5335
  tag: "label",
5307
5336
  onClick: t[1] || (t[1] = (h) => e.$emit("click:inner-icon-left", h))
5308
5337
  }, {
5309
5338
  default: m(() => [
5310
- S(C(i.innerIconLeft), 1)
5339
+ B(C(i.innerIconLeft), 1)
5311
5340
  ]),
5312
5341
  _: 1
5313
5342
  })) : p("", !0)
5314
5343
  ]),
5315
- e.$slots.selection ? (o(), u("div", ql, [
5344
+ e.$slots.selection ? (o(), u("div", Xl, [
5316
5345
  c(e.$slots, "selection", {
5317
5346
  item: i.multiple ? e.inputValue : e.inputValue[0]
5318
5347
  })
@@ -5323,37 +5352,37 @@ function Gl(e, t, i, s, n, l) {
5323
5352
  onFocus: t[2] || (t[2] = (h) => !e.isDisabled && !e.isReadonly && l.onFocus(h)),
5324
5353
  onBlur: t[3] || (t[3] = (...h) => l.onBlur && l.onBlur(...h)),
5325
5354
  onKeydown: t[4] || (t[4] = (h) => !e.isDisabled && !e.isReadonly && l.onKeydown(h))
5326
- }, l.selectionAttributes, { innerHTML: l.selectionHtml }), null, 16, Xl),
5355
+ }, l.selectionAttributes, { innerHTML: l.selectionHtml }), null, 16, Yl),
5327
5356
  (o(!0), u(k, null, x(e.inputValue.length ? e.inputValue : [{}], (h, y) => (o(), u("input", {
5328
5357
  key: y,
5329
5358
  type: "hidden",
5330
5359
  value: h.value === void 0 ? "" : h.value.toString(),
5331
5360
  name: e.inputName + (i.multiple ? "[]" : "")
5332
- }, null, 8, Yl))), 128)),
5361
+ }, null, 8, Gl))), 128)),
5333
5362
  i.labelPosition === "inside" && l.showLabelInside ? (o(), u(k, { key: 1 }, [
5334
5363
  e.$slots.default || i.label ? (o(), u("label", {
5335
5364
  key: 0,
5336
5365
  class: f(["w-select__label w-select__label--inside w-form-el-shakable", e.labelClasses])
5337
5366
  }, [
5338
5367
  c(e.$slots, "default", {}, () => [
5339
- S(C(i.label), 1)
5368
+ B(C(i.label), 1)
5340
5369
  ])
5341
5370
  ], 2)) : p("", !0)
5342
5371
  ], 64)) : p("", !0),
5343
5372
  c(e.$slots, "icon-right", {}, () => [
5344
- i.innerIconRight ? (o(), g(a, {
5373
+ i.innerIconRight ? (o(), b(a, {
5345
5374
  key: 0,
5346
5375
  class: "w-select__icon w-select__icon--inner-right",
5347
5376
  tag: "label",
5348
5377
  onClick: t[5] || (t[5] = (h) => e.$emit("click:inner-icon-right", h))
5349
5378
  }, {
5350
5379
  default: m(() => [
5351
- S(C(i.innerIconRight), 1)
5380
+ B(C(i.innerIconRight), 1)
5352
5381
  ]),
5353
5382
  _: 1
5354
5383
  })) : p("", !0)
5355
5384
  ])
5356
- ], 10, Ul)
5385
+ ], 10, ql)
5357
5386
  ]),
5358
5387
  default: m(() => [
5359
5388
  T(r, {
@@ -5378,21 +5407,21 @@ function Gl(e, t, i, s, n, l) {
5378
5407
  }, ee({ _: 2 }, [
5379
5408
  x(i.items.length, (h) => ({
5380
5409
  name: `item.${h}`,
5381
- fn: m(({ item: y, selected: B, index: b }) => [
5382
- e.$slots[`item.${h}`] && e.$slots[`item.${h}`](y, B, b) ? c(e.$slots, `item.${h}`, {
5410
+ fn: m(({ item: y, selected: S, index: g }) => [
5411
+ e.$slots[`item.${h}`] && e.$slots[`item.${h}`](y, S, g) ? c(e.$slots, `item.${h}`, {
5383
5412
  key: 0,
5384
5413
  item: y,
5385
- selected: B,
5386
- index: b
5414
+ selected: S,
5415
+ index: g
5387
5416
  }, () => [
5388
- S(C(y[i.itemLabelKey]), 1)
5417
+ B(C(y[i.itemLabelKey]), 1)
5389
5418
  ]) : c(e.$slots, "item", {
5390
5419
  key: 1,
5391
5420
  item: y,
5392
- selected: B,
5393
- index: b
5421
+ selected: S,
5422
+ index: g
5394
5423
  }, () => [
5395
- S(C(y[i.itemLabelKey]), 1)
5424
+ B(C(y[i.itemLabelKey]), 1)
5396
5425
  ])
5397
5426
  ])
5398
5427
  }))
@@ -5407,7 +5436,7 @@ function Gl(e, t, i, s, n, l) {
5407
5436
  onClick: t[11] || (t[11] = (h) => e.$refs["selection-input"].click())
5408
5437
  }, [
5409
5438
  c(e.$slots, "default", {}, () => [
5410
- S(C(i.label), 1)
5439
+ B(C(i.label), 1)
5411
5440
  ])
5412
5441
  ], 2)) : p("", !0)
5413
5442
  ], 64)) : p("", !0)
@@ -5415,9 +5444,9 @@ function Gl(e, t, i, s, n, l) {
5415
5444
  _: 3
5416
5445
  }, 16, ["valid", "onReset", "wrap", "class"]);
5417
5446
  }
5418
- const Jl = {
5447
+ const Ql = {
5419
5448
  name: "w-select",
5420
- mixins: [z],
5449
+ mixins: [M],
5421
5450
  props: {
5422
5451
  items: { type: Array, required: !0 },
5423
5452
  modelValue: {},
@@ -5645,12 +5674,12 @@ const Jl = {
5645
5674
  this.inputValue = this.checkSelection(this.modelValue);
5646
5675
  }
5647
5676
  }
5648
- }, Ql = /* @__PURE__ */ v(Jl, [["render", Gl]]), Zl = ["for"], es = ["for", "innerHTML"], ts = { class: "w-slider__track-wrap" }, is = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], ls = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], ss = ["for"], os = { key: 0 }, as = {
5677
+ }, Zl = /* @__PURE__ */ v(Ql, [["render", Jl]]), es = ["for"], ts = ["for", "innerHTML"], is = { class: "w-slider__track-wrap" }, ls = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], ss = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], os = ["for"], as = { key: 0 }, ns = {
5649
5678
  key: 0,
5650
5679
  class: "w-slider__step-labels"
5651
- }, ns = ["onClick"], rs = ["for"], ds = ["for", "innerHTML"];
5652
- function us(e, t, i, s, n, l) {
5653
- return o(), g(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.rangeValueScaled, disabled: e.isDisabled, readonly: e.isReadonly }, {
5680
+ }, rs = ["onClick"], ds = ["for"], us = ["for", "innerHTML"];
5681
+ function hs(e, t, i, s, n, l) {
5682
+ return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.rangeValueScaled, disabled: e.isDisabled, readonly: e.isReadonly }, {
5654
5683
  valid: e.valid,
5655
5684
  "onUpdate:valid": t[8] || (t[8] = (a) => e.valid = a),
5656
5685
  onReset: t[9] || (t[9] = (a) => {
@@ -5666,13 +5695,13 @@ function us(e, t, i, s, n, l) {
5666
5695
  for: `button--${e._.uid}`
5667
5696
  }, [
5668
5697
  c(e.$slots, "label-left")
5669
- ], 10, Zl)) : i.labelLeft ? (o(), u("label", {
5698
+ ], 10, es)) : i.labelLeft ? (o(), u("label", {
5670
5699
  key: 1,
5671
5700
  class: f(["w-slider__label w-slider__label--left w-form-el-shakable", e.labelClasses]),
5672
5701
  for: `button--${e._.uid}`,
5673
5702
  innerHTML: i.labelLeft
5674
- }, null, 10, es)) : p("", !0),
5675
- w("div", ts, [
5703
+ }, null, 10, ts)) : p("", !0),
5704
+ w("div", is, [
5676
5705
  w("div", {
5677
5706
  class: f(["w-slider__track", l.trackClasses]),
5678
5707
  ref: "track",
@@ -5709,28 +5738,28 @@ function us(e, t, i, s, n, l) {
5709
5738
  t[1] || (t[1] = E((a) => l.onKeyDown(a, 1), ["right"]))
5710
5739
  ],
5711
5740
  onFocus: t[2] || (t[2] = (a) => e.$emit("focus", a)),
5712
- onClick: t[3] || (t[3] = M(() => {
5741
+ onClick: t[3] || (t[3] = O(() => {
5713
5742
  }, ["prevent"]))
5714
- }, null, 42, ls),
5743
+ }, null, 42, ss),
5715
5744
  i.thumbLabel ? (o(), u("label", {
5716
5745
  key: 0,
5717
5746
  class: f(["w-slider__thumb-label", l.thumbClasses]),
5718
5747
  for: `button--${e._.uid}`
5719
5748
  }, [
5720
- i.thumbLabel === "droplet" ? (o(), u("div", os, [
5749
+ i.thumbLabel === "droplet" ? (o(), u("div", as, [
5721
5750
  c(e.$slots, "label", { value: e.rangeValueScaled }, () => [
5722
- S(C(~~e.rangeValueScaled), 1)
5751
+ B(C(~~e.rangeValueScaled), 1)
5723
5752
  ])
5724
5753
  ])) : c(e.$slots, "label", {
5725
5754
  key: 1,
5726
5755
  value: e.rangeValueScaled
5727
5756
  }, () => [
5728
- S(C(~~e.rangeValueScaled), 1)
5757
+ B(C(~~e.rangeValueScaled), 1)
5729
5758
  ])
5730
- ], 10, ss)) : p("", !0)
5759
+ ], 10, os)) : p("", !0)
5731
5760
  ], 4)
5732
- ], 42, is),
5733
- i.stepLabels && i.step ? (o(), u("div", as, [
5761
+ ], 42, ls),
5762
+ i.stepLabels && i.step ? (o(), u("div", ns, [
5734
5763
  w("div", {
5735
5764
  class: "w-slider__step-label",
5736
5765
  onClick: t[6] || (t[6] = (a) => l.onStepLabelClick(0))
@@ -5740,7 +5769,7 @@ function us(e, t, i, s, n, l) {
5740
5769
  key: a,
5741
5770
  onClick: (r) => l.onStepLabelClick(a * (100 / l.numberOfSteps)),
5742
5771
  style: R(`left: ${a * (100 / l.numberOfSteps)}%`)
5743
- }, C(l.percentToScaled(a * (100 / l.numberOfSteps))), 13, ns))), 128)),
5772
+ }, C(l.percentToScaled(a * (100 / l.numberOfSteps))), 13, rs))), 128)),
5744
5773
  ~~l.numberOfSteps !== l.numberOfSteps ? (o(), u("div", {
5745
5774
  key: 0,
5746
5775
  class: "w-slider__step-label",
@@ -5755,19 +5784,19 @@ function us(e, t, i, s, n, l) {
5755
5784
  for: `button--${e._.uid}`
5756
5785
  }, [
5757
5786
  c(e.$slots, "label-right")
5758
- ], 10, rs)) : i.labelRight ? (o(), u("label", {
5787
+ ], 10, ds)) : i.labelRight ? (o(), u("label", {
5759
5788
  key: 3,
5760
5789
  class: f(["w-slider__label w-slider__label--right w-form-el-shakable", e.labelClasses]),
5761
5790
  for: `button--${e._.uid}`,
5762
5791
  innerHTML: i.labelRight
5763
- }, null, 10, ds)) : p("", !0)
5792
+ }, null, 10, us)) : p("", !0)
5764
5793
  ]),
5765
5794
  _: 3
5766
5795
  }, 16, ["valid", "wrap", "class"]);
5767
5796
  }
5768
- const hs = {
5797
+ const cs = {
5769
5798
  name: "w-slider",
5770
- mixins: [z],
5799
+ mixins: [M],
5771
5800
  props: {
5772
5801
  modelValue: { type: Number, default: 0 },
5773
5802
  color: { type: String, default: "primary" },
@@ -5902,17 +5931,17 @@ const hs = {
5902
5931
  this.rangeValueScaled !== e && (this.rangeValueScaled = e, this.rangeValuePercent = this.scaledToPercent(e));
5903
5932
  }
5904
5933
  }
5905
- }, cs = /* @__PURE__ */ v(hs, [["render", us]]), ps = { key: 0 };
5906
- function fs(e, t, i, s, n, l) {
5934
+ }, ps = /* @__PURE__ */ v(cs, [["render", hs]]), fs = { key: 0 };
5935
+ function ms(e, t, i, s, n, l) {
5907
5936
  return i.modelValue || i.modelValue === void 0 ? (o(), u("div", {
5908
5937
  key: 0,
5909
5938
  class: f(["w-spinner", l.classes]),
5910
5939
  style: R(l.styles)
5911
5940
  }, [
5912
- l.isThreeDots ? (o(), u("span", ps)) : p("", !0)
5941
+ l.isThreeDots ? (o(), u("span", fs)) : p("", !0)
5913
5942
  ], 6)) : p("", !0);
5914
5943
  }
5915
- const ms = {
5944
+ const gs = {
5916
5945
  name: "w-spinner",
5917
5946
  props: {
5918
5947
  modelValue: {},
@@ -5950,13 +5979,13 @@ const ms = {
5950
5979
  };
5951
5980
  }
5952
5981
  }
5953
- }, gs = /* @__PURE__ */ v(ms, [["render", fs]]);
5954
- function bs(e, t, i, s, n, l) {
5982
+ }, bs = /* @__PURE__ */ v(gs, [["render", ms]]);
5983
+ function ys(e, t, i, s, n, l) {
5955
5984
  return o(), u("div", {
5956
5985
  class: f(["w-steps", l.classes])
5957
5986
  }, null, 2);
5958
5987
  }
5959
- const ys = {
5988
+ const ws = {
5960
5989
  name: "w-steps",
5961
5990
  props: {
5962
5991
  dark: { type: Boolean },
@@ -5972,16 +6001,16 @@ const ys = {
5972
6001
  };
5973
6002
  }
5974
6003
  }
5975
- }, ws = /* @__PURE__ */ v(ys, [["render", bs]]), ks = ["id", "name", "checked", "disabled", "readonly", "aria-readonly", "required", "tabindex", "aria-checked"], vs = ["for"], Cs = {
6004
+ }, ks = /* @__PURE__ */ v(ws, [["render", ys]]), vs = ["id", "name", "checked", "disabled", "readonly", "aria-readonly", "required", "tabindex", "aria-checked"], Cs = ["for"], Ss = {
5976
6005
  key: 0,
5977
6006
  class: "w-switch__track"
5978
- }, Ss = {
6007
+ }, Bs = {
5979
6008
  key: 1,
5980
6009
  class: "w-switch__thumb"
5981
- }, Bs = ["for"];
5982
- function _s(e, t, i, s, n, l) {
6010
+ }, _s = ["for"];
6011
+ function $s(e, t, i, s, n, l) {
5983
6012
  const a = $("w-progress");
5984
- return o(), g(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
6013
+ return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
5985
6014
  valid: e.valid,
5986
6015
  "onUpdate:valid": t[3] || (t[3] = (r) => e.valid = r),
5987
6016
  onReset: t[4] || (t[4] = (r) => {
@@ -6007,7 +6036,7 @@ function _s(e, t, i, s, n, l) {
6007
6036
  onFocus: t[1] || (t[1] = (r) => e.$emit("focus", r)),
6008
6037
  "aria-checked": n.isOn || "false",
6009
6038
  role: "switch"
6010
- }), null, 16, ks),
6039
+ }), null, 16, vs),
6011
6040
  l.hasLabel && i.labelOnLeft ? (o(), u(k, { key: 0 }, [
6012
6041
  e.$slots.default || i.label ? (o(), u("label", {
6013
6042
  key: 0,
@@ -6015,9 +6044,9 @@ function _s(e, t, i, s, n, l) {
6015
6044
  for: `w-switch--${e._.uid}`
6016
6045
  }, [
6017
6046
  c(e.$slots, "default", {}, () => [
6018
- S(C(i.label), 1)
6047
+ B(C(i.label), 1)
6019
6048
  ])
6020
- ], 10, vs)) : p("", !0)
6049
+ ], 10, Cs)) : p("", !0)
6021
6050
  ], 64)) : p("", !0),
6022
6051
  w("div", {
6023
6052
  class: f(["w-switch__input", l.inputClasses]),
@@ -6025,11 +6054,11 @@ function _s(e, t, i, s, n, l) {
6025
6054
  e.$refs.input.focus(), e.$refs.input.click();
6026
6055
  })
6027
6056
  }, [
6028
- e.$slots.track ? (o(), u("div", Cs, [
6057
+ e.$slots.track ? (o(), u("div", Ss, [
6029
6058
  c(e.$slots, "track")
6030
6059
  ])) : p("", !0),
6031
- e.$slots.thumb || i.loading ? (o(), u("div", Ss, [
6032
- i.loading ? (o(), g(a, _({
6060
+ e.$slots.thumb || i.loading ? (o(), u("div", Bs, [
6061
+ i.loading ? (o(), b(a, _({
6033
6062
  key: 0,
6034
6063
  circle: "",
6035
6064
  color: "inherit"
@@ -6043,17 +6072,17 @@ function _s(e, t, i, s, n, l) {
6043
6072
  for: `w-switch--${e._.uid}`
6044
6073
  }, [
6045
6074
  c(e.$slots, "default", {}, () => [
6046
- S(C(i.label), 1)
6075
+ B(C(i.label), 1)
6047
6076
  ])
6048
- ], 10, Bs)) : p("", !0)
6077
+ ], 10, _s)) : p("", !0)
6049
6078
  ], 64)) : p("", !0)
6050
6079
  ]),
6051
6080
  _: 3
6052
6081
  }, 16, ["valid", "class", "style"]);
6053
6082
  }
6054
- const $s = {
6083
+ const Is = {
6055
6084
  name: "w-switch",
6056
- mixins: [z],
6085
+ mixins: [M],
6057
6086
  inheritAttrs: !1,
6058
6087
  // The attrs should only be added to the input not the wrapper.
6059
6088
  props: {
@@ -6127,24 +6156,24 @@ const $s = {
6127
6156
  this.isOn = e;
6128
6157
  }
6129
6158
  }
6130
- }, Vs = /* @__PURE__ */ v($s, [["render", _s]]), Is = { class: "w-tabs__content" };
6131
- function Ts(e, t, i, s, n, l) {
6132
- return o(), u("div", Is, [
6159
+ }, Vs = /* @__PURE__ */ v(Is, [["render", $s]]), Ts = { class: "w-tabs__content" };
6160
+ function Ls(e, t, i, s, n, l) {
6161
+ return o(), u("div", Ts, [
6133
6162
  c(e.$slots, "default", { item: i.item })
6134
6163
  ]);
6135
6164
  }
6136
- const Ls = {
6165
+ const Rs = {
6137
6166
  name: "tab-content",
6138
6167
  // Keep-alive include/exclude mechanism is component-name-based.
6139
6168
  props: { item: Object }
6140
- }, Rs = /* @__PURE__ */ v(Ls, [["render", Ts]]), xs = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], Ps = ["innerHTML"], Os = {
6169
+ }, xs = /* @__PURE__ */ v(Rs, [["render", Ls]]), Ps = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], zs = ["innerHTML"], Os = {
6141
6170
  key: 0,
6142
6171
  class: "w-tabs__bar-extra"
6143
6172
  }, Ms = {
6144
6173
  key: 0,
6145
6174
  class: "w-tabs__content-wrap"
6146
- }, zs = ["innerHTML"], Es = ["innerHTML"];
6147
- function As(e, t, i, s, n, l) {
6175
+ }, Es = ["innerHTML"], As = ["innerHTML"];
6176
+ function Ws(e, t, i, s, n, l) {
6148
6177
  const a = $("tab-content");
6149
6178
  return o(), u("div", {
6150
6179
  class: f(["w-tabs", l.tabsClasses])
@@ -6176,9 +6205,9 @@ function As(e, t, i, s, n, l) {
6176
6205
  }, () => [
6177
6206
  w("div", {
6178
6207
  innerHTML: r[i.itemTitleKey]
6179
- }, null, 8, Ps)
6208
+ }, null, 8, zs)
6180
6209
  ])
6181
- ], 42, xs))), 128)),
6210
+ ], 42, Ps))), 128)),
6182
6211
  e.$slots["tabs-bar-extra"] ? (o(), u("div", Os, [
6183
6212
  c(e.$slots, "tabs-bar-extra")
6184
6213
  ])) : p("", !0),
@@ -6189,12 +6218,12 @@ function As(e, t, i, s, n, l) {
6189
6218
  }, null, 6)) : p("", !0)
6190
6219
  ], 2),
6191
6220
  e.tabs.length ? (o(), u("div", Ms, [
6192
- i.keepInDom ? (o(), g(ae, {
6221
+ i.keepInDom ? (o(), b(ae, {
6193
6222
  key: 0,
6194
6223
  name: l.transitionName
6195
6224
  }, {
6196
6225
  default: m(() => [
6197
- (o(!0), u(k, null, x(e.tabs, (r, d) => W((o(), g(a, {
6226
+ (o(!0), u(k, null, x(e.tabs, (r, d) => W((o(), b(a, {
6198
6227
  key: r._uid,
6199
6228
  item: r,
6200
6229
  class: f(i.contentClass)
@@ -6214,7 +6243,7 @@ function As(e, t, i, s, n, l) {
6214
6243
  r[i.itemContentKey] ? (o(), u("div", {
6215
6244
  key: 0,
6216
6245
  innerHTML: r[i.itemContentKey]
6217
- }, null, 8, zs)) : p("", !0)
6246
+ }, null, 8, Es)) : p("", !0)
6218
6247
  ])
6219
6248
  ]),
6220
6249
  _: 2
@@ -6223,16 +6252,16 @@ function As(e, t, i, s, n, l) {
6223
6252
  ])), 128))
6224
6253
  ]),
6225
6254
  _: 3
6226
- }, 8, ["name"])) : (o(), g(P, {
6255
+ }, 8, ["name"])) : (o(), b(P, {
6227
6256
  key: 1,
6228
6257
  name: l.transitionName,
6229
6258
  mode: l.transitionMode
6230
6259
  }, {
6231
6260
  default: m(() => [
6232
- (o(), g(xe, {
6261
+ (o(), b(xe, {
6233
6262
  exclude: i.keepAlive ? "" : "tab-content"
6234
6263
  }, [
6235
- (o(), g(a, {
6264
+ (o(), b(a, {
6236
6265
  key: e.activeTabUid,
6237
6266
  item: l.activeTab,
6238
6267
  class: f(i.contentClass)
@@ -6253,7 +6282,7 @@ function As(e, t, i, s, n, l) {
6253
6282
  r[i.itemContentKey] ? (o(), u("div", {
6254
6283
  key: 0,
6255
6284
  innerHTML: r[i.itemContentKey]
6256
- }, null, 8, Es)) : p("", !0)
6285
+ }, null, 8, As)) : p("", !0)
6257
6286
  ])
6258
6287
  ], 64)) : p("", !0)
6259
6288
  ]),
@@ -6267,7 +6296,7 @@ function As(e, t, i, s, n, l) {
6267
6296
  ], 2);
6268
6297
  }
6269
6298
  let ye = 0;
6270
- const Ws = {
6299
+ const Ks = {
6271
6300
  name: "w-tabs",
6272
6301
  props: {
6273
6302
  modelValue: { type: [Number, String] },
@@ -6293,7 +6322,7 @@ const Ws = {
6293
6322
  keepAlive: { type: Boolean, default: !0 },
6294
6323
  keepInDom: { type: Boolean, default: !1 }
6295
6324
  },
6296
- components: { TabContent: Rs },
6325
+ components: { TabContent: xs },
6297
6326
  emits: ["input", "update:modelValue", "focus"],
6298
6327
  data: () => ({
6299
6328
  tabs: [],
@@ -6442,227 +6471,227 @@ const Ws = {
6442
6471
  e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
6443
6472
  }
6444
6473
  }
6445
- }, Ks = /* @__PURE__ */ v(Ws, [["render", As]]), Ns = { class: "w-table__scroll-wrap" }, Ds = { ref: "colgroup" }, Hs = ["width"], Fs = { key: 0 }, js = ["onClick"], Us = ["innerHTML"], qs = {
6474
+ }, Ns = /* @__PURE__ */ v(Ks, [["render", Ws]]), Ds = { class: "w-table__scroll-wrap" }, Hs = { ref: "colgroup" }, Fs = ["width"], js = { key: 0 }, Us = ["onClick"], qs = ["innerHTML"], Xs = {
6446
6475
  key: 0,
6447
6476
  class: "w-table__progress-bar"
6448
- }, Xs = ["colspan"], Ys = {
6477
+ }, Ys = ["colspan"], Gs = {
6449
6478
  key: 0,
6450
6479
  class: "w-table__progress-bar"
6451
- }, Gs = ["colspan"], Js = { class: "w-table__loading-text" }, Qs = {
6480
+ }, Js = ["colspan"], Qs = { class: "w-table__loading-text" }, Zs = {
6452
6481
  key: 1,
6453
6482
  class: "no-data"
6454
- }, Zs = ["colspan"], eo = ["onClick"], to = ["data-label"], io = ["data-label"], lo = ["innerHTML"], so = {
6483
+ }, eo = ["colspan"], to = ["onClick"], io = ["data-label"], lo = ["data-label"], so = ["innerHTML"], oo = {
6455
6484
  key: 2,
6456
6485
  class: "w-table__row w-table__row--expansion"
6457
- }, oo = ["colspan"], ao = { key: 0 }, no = {
6486
+ }, ao = ["colspan"], no = { key: 0 }, ro = {
6458
6487
  key: 3,
6459
6488
  class: "w-table__extra-row"
6460
- }, ro = {
6489
+ }, uo = {
6461
6490
  key: 1,
6462
6491
  class: "w-table__footer"
6463
- }, uo = {
6492
+ }, ho = {
6464
6493
  key: 1,
6465
6494
  class: "w-table__row"
6466
- }, ho = ["colspan"], co = {
6495
+ }, co = ["colspan"], po = {
6467
6496
  key: 0,
6468
6497
  class: "w-table__pagination w-pagination"
6469
- }, po = { class: "pages-wrap" }, fo = { class: "w-pagination__results" };
6470
- function mo(e, t, i, s, n, l) {
6471
- const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), B = $("w-button");
6498
+ }, fo = { class: "pages-wrap" }, mo = { class: "w-pagination__results" };
6499
+ function go(e, t, i, s, n, l) {
6500
+ const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), S = $("w-button");
6472
6501
  return o(), u("div", {
6473
6502
  class: f(["w-table w-table--wrap", l.classes])
6474
6503
  }, [
6475
- w("div", Ns, [
6504
+ w("div", Ds, [
6476
6505
  w("table", {
6477
6506
  class: "w-table__table",
6478
- onMousedown: t[1] || (t[1] = (...b) => l.onMouseDown && l.onMouseDown(...b)),
6479
- onMouseover: t[2] || (t[2] = (...b) => l.onMouseOver && l.onMouseOver(...b)),
6480
- onMouseout: t[3] || (t[3] = (...b) => l.onMouseOut && l.onMouseOut(...b))
6507
+ onMousedown: t[1] || (t[1] = (...g) => l.onMouseDown && l.onMouseDown(...g)),
6508
+ onMouseover: t[2] || (t[2] = (...g) => l.onMouseOver && l.onMouseOver(...g)),
6509
+ onMouseout: t[3] || (t[3] = (...g) => l.onMouseOut && l.onMouseOut(...g))
6481
6510
  }, [
6482
- w("colgroup", Ds, [
6483
- (o(!0), u(k, null, x(i.headers, (b, I) => (o(), u("col", {
6484
- class: f(["w-table__col", l.colClasses[I]]),
6485
- key: I,
6486
- width: b.width || null
6487
- }, null, 10, Hs))), 128))
6511
+ w("colgroup", Hs, [
6512
+ (o(!0), u(k, null, x(i.headers, (g, V) => (o(), u("col", {
6513
+ class: f(["w-table__col", l.colClasses[V]]),
6514
+ key: V,
6515
+ width: g.width || null
6516
+ }, null, 10, Fs))), 128))
6488
6517
  ], 512),
6489
- i.noHeaders ? p("", !0) : (o(), u("thead", Fs, [
6518
+ i.noHeaders ? p("", !0) : (o(), u("thead", js, [
6490
6519
  w("tr", null, [
6491
- (o(!0), u(k, null, x(i.headers, (b, I) => (o(), u("th", {
6492
- class: f(["w-table__header", l.headerClasses(b)]),
6493
- key: I,
6494
- onClick: (V) => !e.colResizing.dragging && b.sortable !== !1 && l.sortTable(b)
6520
+ (o(!0), u(k, null, x(i.headers, (g, V) => (o(), u("th", {
6521
+ class: f(["w-table__header", l.headerClasses(g)]),
6522
+ key: V,
6523
+ onClick: (I) => !e.colResizing.dragging && g.sortable !== !1 && l.sortTable(g)
6495
6524
  }, [
6496
- b.sortable !== !1 && b.align === "right" ? (o(), g(a, {
6525
+ g.sortable !== !1 && g.align === "right" ? (o(), b(a, {
6497
6526
  key: 0,
6498
- class: f(["w-table__header-sort", l.headerSortClasses(b)])
6527
+ class: f(["w-table__header-sort", l.headerSortClasses(g)])
6499
6528
  }, {
6500
6529
  default: m(() => [
6501
- S("wi-arrow-down")
6530
+ B("wi-arrow-down")
6502
6531
  ]),
6503
6532
  _: 2
6504
6533
  }, 1032, ["class"])) : p("", !0),
6505
- b.label ? (o(), u(k, { key: 1 }, [
6534
+ g.label ? (o(), u(k, { key: 1 }, [
6506
6535
  e.$slots["header-label"] ? c(e.$slots, "header-label", {
6507
6536
  key: 0,
6508
- header: b,
6509
- label: b.label,
6510
- index: I + 1
6537
+ header: g,
6538
+ label: g.label,
6539
+ index: V + 1
6511
6540
  }, () => [
6512
- S(C(b.label || ""), 1)
6541
+ B(C(g.label || ""), 1)
6513
6542
  ]) : (o(), u("span", {
6514
6543
  key: 1,
6515
- innerHTML: b.label || ""
6516
- }, null, 8, Us))
6544
+ innerHTML: g.label || ""
6545
+ }, null, 8, qs))
6517
6546
  ], 64)) : p("", !0),
6518
- b.sortable !== !1 && b.align !== "right" ? (o(), g(a, {
6547
+ g.sortable !== !1 && g.align !== "right" ? (o(), b(a, {
6519
6548
  key: 2,
6520
- class: f(["w-table__header-sort", l.headerSortClasses(b)])
6549
+ class: f(["w-table__header-sort", l.headerSortClasses(g)])
6521
6550
  }, {
6522
6551
  default: m(() => [
6523
- S("wi-arrow-down")
6552
+ B("wi-arrow-down")
6524
6553
  ]),
6525
6554
  _: 2
6526
6555
  }, 1032, ["class"])) : p("", !0),
6527
- I < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6556
+ V < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6528
6557
  key: 3,
6529
- class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === I, "w-table__col-resizer--active": e.colResizing.columnIndex === I }]),
6530
- onClick: t[0] || (t[0] = M(() => {
6558
+ class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === V, "w-table__col-resizer--active": e.colResizing.columnIndex === V }]),
6559
+ onClick: t[0] || (t[0] = O(() => {
6531
6560
  }, ["stop"]))
6532
6561
  }, null, 2)) : p("", !0)
6533
- ], 10, js))), 128))
6562
+ ], 10, Us))), 128))
6534
6563
  ]),
6535
6564
  T(d, null, {
6536
6565
  default: m(() => [
6537
- i.loading === "header" ? (o(), u("tr", qs, [
6566
+ i.loading === "header" ? (o(), u("tr", Xs, [
6538
6567
  w("td", {
6539
6568
  colspan: i.headers.length
6540
6569
  }, [
6541
6570
  T(r, { tile: "" })
6542
- ], 8, Xs)
6571
+ ], 8, Ys)
6543
6572
  ])) : p("", !0)
6544
6573
  ]),
6545
6574
  _: 1
6546
6575
  })
6547
6576
  ])),
6548
6577
  w("tbody", null, [
6549
- i.loading === !0 ? (o(), u("tr", Ys, [
6578
+ i.loading === !0 ? (o(), u("tr", Gs, [
6550
6579
  w("td", {
6551
6580
  colspan: i.headers.length
6552
6581
  }, [
6553
6582
  T(r, { tile: "" }),
6554
- w("div", Js, [
6583
+ w("div", Qs, [
6555
6584
  c(e.$slots, "loading", {}, () => [
6556
- S("Loading...")
6585
+ B("Loading...")
6557
6586
  ])
6558
6587
  ])
6559
- ], 8, Gs)
6560
- ])) : l.tableItems.length ? p("", !0) : (o(), u("tr", Qs, [
6588
+ ], 8, Js)
6589
+ ])) : l.tableItems.length ? p("", !0) : (o(), u("tr", Zs, [
6561
6590
  w("td", {
6562
6591
  class: "w-table__cell text-center",
6563
6592
  colspan: i.headers.length
6564
6593
  }, [
6565
6594
  c(e.$slots, "no-data", {}, () => [
6566
- S("No data to show.")
6595
+ B("No data to show.")
6567
6596
  ])
6568
- ], 8, Zs)
6597
+ ], 8, eo)
6569
6598
  ])),
6570
- l.tableItems.length && i.loading !== !0 ? (o(!0), u(k, { key: 2 }, x(l.paginatedItems, (b, I) => (o(), u(k, { key: I }, [
6599
+ l.tableItems.length && i.loading !== !0 ? (o(!0), u(k, { key: 2 }, x(l.paginatedItems, (g, V) => (o(), u(k, { key: V }, [
6571
6600
  e.$slots.item ? c(e.$slots, "item", {
6572
6601
  key: 0,
6573
- item: b,
6574
- index: I + 1,
6575
- select: () => l.doSelectRow(b, I),
6576
- classes: { "w-table__row": !0, "w-table__row--selected": l.selectedRowsByUid[b._uid] !== void 0, "w-table__row--expanded": l.expandedRowsByUid[b._uid] !== void 0 }
6602
+ item: g,
6603
+ index: V + 1,
6604
+ select: () => l.doSelectRow(g, V),
6605
+ classes: { "w-table__row": !0, "w-table__row--selected": l.selectedRowsByUid[g._uid] !== void 0, "w-table__row--expanded": l.expandedRowsByUid[g._uid] !== void 0 }
6577
6606
  }) : (o(), u("tr", {
6578
6607
  key: 1,
6579
- 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 }]),
6580
- onClick: (V) => l.doSelectRow(b, I)
6608
+ class: f(["w-table__row", { "w-table__row--selected": l.selectedRowsByUid[g._uid] !== void 0, "w-table__row--expanded": l.expandedRowsByUid[g._uid] !== void 0 }]),
6609
+ onClick: (I) => l.doSelectRow(g, V)
6581
6610
  }, [
6582
- (o(!0), u(k, null, x(i.headers, (V, O) => (o(), u(k, null, [
6583
- e.$slots[`item-cell.${V.key}`] || e.$slots[`item-cell.${O + 1}`] || e.$slots["item-cell"] ? (o(), u("td", {
6584
- class: f(["w-table__cell", { [`text-${V.align || "left"}`]: !0, "w-table__cell--sticky": V.sticky }]),
6585
- key: `${O}-a`,
6586
- "data-label": V.label
6611
+ (o(!0), u(k, null, x(i.headers, (I, z) => (o(), u(k, null, [
6612
+ e.$slots[`item-cell.${I.key}`] || e.$slots[`item-cell.${z + 1}`] || e.$slots["item-cell"] ? (o(), u("td", {
6613
+ class: f(["w-table__cell", { [`text-${I.align || "left"}`]: !0, "w-table__cell--sticky": I.sticky }]),
6614
+ key: `${z}-a`,
6615
+ "data-label": I.label
6587
6616
  }, [
6588
- e.$slots[`item-cell.${V.key}`] ? c(e.$slots, `item-cell.${V.key}`, {
6617
+ e.$slots[`item-cell.${I.key}`] ? c(e.$slots, `item-cell.${I.key}`, {
6589
6618
  key: 0,
6590
- header: V,
6591
- item: b,
6592
- label: b[V.key] || "",
6593
- index: I + 1
6594
- }) : e.$slots[`item-cell.${O + 1}`] ? c(e.$slots, `item-cell.${O + 1}`, {
6619
+ header: I,
6620
+ item: g,
6621
+ label: g[I.key] || "",
6622
+ index: V + 1
6623
+ }) : e.$slots[`item-cell.${z + 1}`] ? c(e.$slots, `item-cell.${z + 1}`, {
6595
6624
  key: 1,
6596
- header: V,
6597
- item: b,
6598
- label: b[V.key] || "",
6599
- index: I + 1
6625
+ header: I,
6626
+ item: g,
6627
+ label: g[I.key] || "",
6628
+ index: V + 1
6600
6629
  }) : e.$slots["item-cell"] ? c(e.$slots, "item-cell", {
6601
6630
  key: 2,
6602
- header: V,
6603
- item: b,
6604
- label: b[V.key] || "",
6605
- index: I + 1
6631
+ header: I,
6632
+ item: g,
6633
+ label: g[I.key] || "",
6634
+ index: V + 1
6606
6635
  }) : p("", !0),
6607
- O < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6636
+ z < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6608
6637
  key: 3,
6609
- class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === O, "w-table__col-resizer--active": e.colResizing.columnIndex === O }])
6638
+ class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === z, "w-table__col-resizer--active": e.colResizing.columnIndex === z }])
6610
6639
  }, null, 2)) : p("", !0)
6611
- ], 10, to)) : (o(), u("td", {
6612
- class: f(["w-table__cell", { [`text-${V.align || "left"}`]: !0, "w-table__cell--sticky": V.sticky }]),
6613
- key: `${O}-b`,
6614
- "data-label": V.label
6640
+ ], 10, io)) : (o(), u("td", {
6641
+ class: f(["w-table__cell", { [`text-${I.align || "left"}`]: !0, "w-table__cell--sticky": I.sticky }]),
6642
+ key: `${z}-b`,
6643
+ "data-label": I.label
6615
6644
  }, [
6616
6645
  w("div", {
6617
- innerHTML: b[V.key] || ""
6618
- }, null, 8, lo),
6619
- O < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6646
+ innerHTML: g[I.key] || ""
6647
+ }, null, 8, so),
6648
+ z < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6620
6649
  key: 0,
6621
- class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === O, "w-table__col-resizer--active": e.colResizing.columnIndex === O }])
6650
+ class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === z, "w-table__col-resizer--active": e.colResizing.columnIndex === z }])
6622
6651
  }, null, 2)) : p("", !0)
6623
- ], 10, io))
6652
+ ], 10, lo))
6624
6653
  ], 64))), 256))
6625
- ], 10, eo)),
6626
- l.expandedRowsByUid[b._uid] ? (o(), u("tr", so, [
6654
+ ], 10, to)),
6655
+ l.expandedRowsByUid[g._uid] ? (o(), u("tr", oo, [
6627
6656
  w("td", {
6628
6657
  class: "w-table__cell",
6629
6658
  colspan: i.headers.length
6630
6659
  }, [
6631
6660
  T(h, { y: "" }, {
6632
6661
  default: m(() => [
6633
- l.expandedRowsByUid[b._uid] ? (o(), u("div", ao, [
6662
+ l.expandedRowsByUid[g._uid] ? (o(), u("div", no, [
6634
6663
  c(e.$slots, "row-expansion", {
6635
- item: b,
6636
- index: I + 1
6664
+ item: g,
6665
+ index: V + 1
6637
6666
  })
6638
6667
  ])) : p("", !0),
6639
- I < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6668
+ V < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6640
6669
  key: 1,
6641
- class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === I, "w-table__col-resizer--active": e.colResizing.columnIndex === e.j }])
6670
+ class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === V, "w-table__col-resizer--active": e.colResizing.columnIndex === e.j }])
6642
6671
  }, null, 2)) : p("", !0)
6643
6672
  ]),
6644
6673
  _: 2
6645
6674
  }, 1024)
6646
- ], 8, oo)
6675
+ ], 8, ao)
6647
6676
  ])) : p("", !0)
6648
6677
  ], 64))), 128)) : p("", !0),
6649
- e.$slots["extra-row"] ? (o(), u("div", no, [
6678
+ e.$slots["extra-row"] ? (o(), u("div", ro, [
6650
6679
  c(e.$slots, "extra-row")
6651
6680
  ])) : p("", !0)
6652
6681
  ]),
6653
- e.$slots.footer || e.$slots["footer-row"] ? (o(), u("tfoot", ro, [
6654
- e.$slots["footer-row"] ? c(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (o(), u("tr", uo, [
6682
+ e.$slots.footer || e.$slots["footer-row"] ? (o(), u("tfoot", uo, [
6683
+ e.$slots["footer-row"] ? c(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (o(), u("tr", ho, [
6655
6684
  w("td", {
6656
6685
  class: "w-table__cell",
6657
6686
  colspan: i.headers.length
6658
6687
  }, [
6659
6688
  c(e.$slots, "footer")
6660
- ], 8, ho)
6689
+ ], 8, co)
6661
6690
  ])) : p("", !0)
6662
6691
  ])) : p("", !0)
6663
6692
  ], 32)
6664
6693
  ]),
6665
- i.pagination && e.paginationConfig ? (o(), u("div", co, [
6694
+ i.pagination && e.paginationConfig ? (o(), u("div", po, [
6666
6695
  c(e.$slots, "pagination", {
6667
6696
  range: `${e.paginationConfig.start}-${e.paginationConfig.end}`,
6668
6697
  total: e.paginationConfig.total,
@@ -6670,77 +6699,77 @@ function mo(e, t, i, s, n, l) {
6670
6699
  page: e.paginationConfig.page,
6671
6700
  goToPage: l.goToPage
6672
6701
  }, () => [
6673
- e.paginationConfig.itemsPerPageOptions ? (o(), g(y, {
6702
+ e.paginationConfig.itemsPerPageOptions ? (o(), b(y, {
6674
6703
  key: 0,
6675
6704
  class: "w-pagination__items-per-page",
6676
6705
  modelValue: e.paginationConfig.itemsPerPage,
6677
- "onUpdate:modelValue": t[4] || (t[4] = (b) => e.paginationConfig.itemsPerPage = b),
6678
- onInput: t[5] || (t[5] = (b) => l.updatePaginationConfig({ itemsPerPage: e.paginationConfig.itemsPerPage })),
6706
+ "onUpdate:modelValue": t[4] || (t[4] = (g) => e.paginationConfig.itemsPerPage = g),
6707
+ onInput: t[5] || (t[5] = (g) => l.updatePaginationConfig({ itemsPerPage: e.paginationConfig.itemsPerPage })),
6679
6708
  items: e.paginationConfig.itemsPerPageOptions,
6680
6709
  "label-position": "left",
6681
6710
  label: "Items per page",
6682
6711
  "label-color": "inherit"
6683
6712
  }, null, 8, ["modelValue", "items"])) : p("", !0),
6684
- w("div", po, [
6685
- T(B, {
6713
+ w("div", fo, [
6714
+ T(S, {
6686
6715
  class: "w-pagination__arrow w-pagination__arrow--prev",
6687
- onClick: t[6] || (t[6] = (b) => l.goToPage("-1")),
6716
+ onClick: t[6] || (t[6] = (g) => l.goToPage("-1")),
6688
6717
  disabled: e.paginationConfig.page <= 1,
6689
6718
  icon: "wi-chevron-left",
6690
6719
  text: "",
6691
6720
  lg: ""
6692
6721
  }, null, 8, ["disabled"]),
6693
- e.paginationConfig.pagesCount > 7 ? (o(!0), u(k, { key: 0 }, x(e.paginationConfig.pagesCount, (b) => (o(), u(k, { key: b }, [
6694
- [1, e.paginationConfig.pagesCount, e.paginationConfig.page - 1, e.paginationConfig.page, e.paginationConfig.page + 1].includes(b) ? (o(), g(B, {
6722
+ e.paginationConfig.pagesCount > 7 ? (o(!0), u(k, { key: 0 }, x(e.paginationConfig.pagesCount, (g) => (o(), u(k, { key: g }, [
6723
+ [1, e.paginationConfig.pagesCount, e.paginationConfig.page - 1, e.paginationConfig.page, e.paginationConfig.page + 1].includes(g) ? (o(), b(S, {
6695
6724
  key: 0,
6696
- class: f(["w-pagination__page", { "w-pagination__page--active": b === e.paginationConfig.page }]),
6697
- onClick: (I) => b !== e.paginationConfig.page && l.goToPage(b),
6725
+ class: f(["w-pagination__page", { "w-pagination__page--active": g === e.paginationConfig.page }]),
6726
+ onClick: (V) => g !== e.paginationConfig.page && l.goToPage(g),
6698
6727
  round: "",
6699
6728
  lg: ""
6700
6729
  }, {
6701
6730
  default: m(() => [
6702
- S(C(b), 1)
6731
+ B(C(g), 1)
6703
6732
  ]),
6704
6733
  _: 2
6705
- }, 1032, ["onClick", "class"])) : [1, e.paginationConfig.pagesCount, e.paginationConfig.page - 1, e.paginationConfig.page, e.paginationConfig.page + 1].includes(b - 1) ? (o(), g(B, {
6734
+ }, 1032, ["onClick", "class"])) : [1, e.paginationConfig.pagesCount, e.paginationConfig.page - 1, e.paginationConfig.page, e.paginationConfig.page + 1].includes(g - 1) ? (o(), b(S, {
6706
6735
  key: 1,
6707
- class: f(["w-pagination__page", { "w-pagination__page--active": b === e.paginationConfig.page }]),
6708
- onClick: (I) => b !== e.paginationConfig.page && l.goToPage(b),
6736
+ class: f(["w-pagination__page", { "w-pagination__page--active": g === e.paginationConfig.page }]),
6737
+ onClick: (V) => g !== e.paginationConfig.page && l.goToPage(g),
6709
6738
  round: "",
6710
6739
  lg: ""
6711
6740
  }, {
6712
6741
  default: m(() => [
6713
- S("...")
6742
+ B("...")
6714
6743
  ]),
6715
6744
  _: 2
6716
6745
  }, 1032, ["onClick", "class"])) : p("", !0)
6717
- ], 64))), 128)) : (o(!0), u(k, { key: 1 }, x(e.paginationConfig.pagesCount, (b) => (o(), g(B, {
6718
- class: f(["w-pagination__page", { "w-pagination__page--active": b === e.paginationConfig.page }]),
6719
- key: b,
6720
- onClick: (I) => b !== e.paginationConfig.page && l.goToPage(b),
6746
+ ], 64))), 128)) : (o(!0), u(k, { key: 1 }, x(e.paginationConfig.pagesCount, (g) => (o(), b(S, {
6747
+ class: f(["w-pagination__page", { "w-pagination__page--active": g === e.paginationConfig.page }]),
6748
+ key: g,
6749
+ onClick: (V) => g !== e.paginationConfig.page && l.goToPage(g),
6721
6750
  round: "",
6722
6751
  lg: ""
6723
6752
  }, {
6724
6753
  default: m(() => [
6725
- S(C(b), 1)
6754
+ B(C(g), 1)
6726
6755
  ]),
6727
6756
  _: 2
6728
6757
  }, 1032, ["onClick", "class"]))), 128)),
6729
- T(B, {
6758
+ T(S, {
6730
6759
  class: "w-pagination__arrow w-pagination__arrow--next",
6731
- onClick: t[7] || (t[7] = (b) => l.goToPage("+1")),
6760
+ onClick: t[7] || (t[7] = (g) => l.goToPage("+1")),
6732
6761
  disabled: e.paginationConfig.page >= e.paginationConfig.pagesCount,
6733
6762
  icon: "wi-chevron-right",
6734
6763
  text: "",
6735
6764
  lg: ""
6736
6765
  }, null, 8, ["disabled"])
6737
6766
  ]),
6738
- w("span", fo, C(e.paginationConfig.start) + "-" + C(e.paginationConfig.end || e.paginationConfig.total) + " of " + C(e.paginationConfig.total), 1)
6767
+ w("span", mo, C(e.paginationConfig.start) + "-" + C(e.paginationConfig.end || e.paginationConfig.total) + " of " + C(e.paginationConfig.total), 1)
6739
6768
  ])
6740
6769
  ])) : p("", !0)
6741
6770
  ], 2);
6742
6771
  }
6743
- const we = 15, go = {
6772
+ const we = 15, bo = {
6744
6773
  name: "w-table",
6745
6774
  props: {
6746
6775
  items: { type: Array, required: !0 },
@@ -6963,11 +6992,11 @@ const we = 15, go = {
6963
6992
  this.colResizing.dragging = !0;
6964
6993
  const a = e.pageX - t, r = n + l, d = n + a, h = l - a;
6965
6994
  i.style.width = n + a + "px", s.style.width = l - a + "px";
6966
- const y = a < 0 && i.offsetWidth > d || i.offsetWidth <= we, B = a > 0 && s.offsetWidth > h;
6995
+ const y = a < 0 && i.offsetWidth > d || i.offsetWidth <= we, S = a > 0 && s.offsetWidth > h;
6967
6996
  if (y) {
6968
- const b = Math.max(i.offsetWidth, we);
6969
- i.style.width = b + "px", s.style.width = r - b + "px";
6970
- } else B && (i.style.width = r - s.offsetWidth + "px", s.style.width = s.offsetWidth + "px");
6997
+ const g = Math.max(i.offsetWidth, we);
6998
+ i.style.width = g + "px", s.style.width = r - g + "px";
6999
+ } else S && (i.style.width = r - s.offsetWidth + "px", s.style.width = s.offsetWidth + "px");
6971
7000
  },
6972
7001
  onResizerMouseUp() {
6973
7002
  document.removeEventListener("mousemove", this.onResizerMouseMove), document.removeEventListener("mouseup", this.onResizerMouseUp), setTimeout(() => {
@@ -7069,8 +7098,8 @@ const we = 15, go = {
7069
7098
  this.updatePaginationConfig({ total: e });
7070
7099
  }
7071
7100
  }
7072
- }, bo = /* @__PURE__ */ v(go, [["render", mo]]), yo = ["role", "aria-pressed", "tabindex"];
7073
- function wo(e, t, i, s, n, l) {
7101
+ }, yo = /* @__PURE__ */ v(bo, [["render", go]]), wo = ["role", "aria-pressed", "tabindex"];
7102
+ function ko(e, t, i, s, n, l) {
7074
7103
  return o(), u("span", {
7075
7104
  class: f(["w-tag", l.classes]),
7076
7105
  onClick: t[1] || (t[1] = (a) => {
@@ -7088,15 +7117,15 @@ function wo(e, t, i, s, n, l) {
7088
7117
  i.closable && i.modelValue ? (o(), u("i", {
7089
7118
  key: 0,
7090
7119
  class: "w-icon w-tag__closable wi-cross",
7091
- onClick: t[0] || (t[0] = M((a) => {
7120
+ onClick: t[0] || (t[0] = O((a) => {
7092
7121
  e.$emit("update:modelValue", !1), e.$emit("input", !1);
7093
7122
  }, ["stop"])),
7094
7123
  role: "icon",
7095
7124
  "aria-hidden": "true"
7096
7125
  })) : p("", !0)
7097
- ], 46, yo);
7126
+ ], 46, wo);
7098
7127
  }
7099
- const ko = {
7128
+ const vo = {
7100
7129
  name: "w-tag",
7101
7130
  props: {
7102
7131
  modelValue: { type: [Boolean, Number], default: -1 },
@@ -7145,10 +7174,10 @@ const ko = {
7145
7174
  };
7146
7175
  }
7147
7176
  }
7148
- }, vo = /* @__PURE__ */ v(ko, [["render", wo]]), Co = ["for"], So = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Bo = ["for"];
7149
- function _o(e, t, i, s, n, l) {
7177
+ }, Co = /* @__PURE__ */ v(vo, [["render", ko]]), So = ["for"], Bo = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], _o = ["for"];
7178
+ function $o(e, t, i, s, n, l) {
7150
7179
  const a = $("w-icon");
7151
- return o(), g(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
7180
+ return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
7152
7181
  valid: e.valid,
7153
7182
  "onUpdate:valid": t[6] || (t[6] = (r) => e.valid = r),
7154
7183
  wrap: l.hasLabel && i.labelPosition !== "inside",
@@ -7166,9 +7195,9 @@ function _o(e, t, i, s, n, l) {
7166
7195
  for: `w-textarea--${e._.uid}`
7167
7196
  }, [
7168
7197
  c(e.$slots, "default", {}, () => [
7169
- S(C(i.label), 1)
7198
+ B(C(i.label), 1)
7170
7199
  ])
7171
- ], 10, Co)) : p("", !0)
7200
+ ], 10, So)) : p("", !0)
7172
7201
  ], 64)) : p("", !0),
7173
7202
  w("div", {
7174
7203
  class: f(["w-textarea__textarea-wrap", l.inputWrapClasses])
@@ -7176,7 +7205,7 @@ function _o(e, t, i, s, n, l) {
7176
7205
  c(e.$slots, "icon-left", {
7177
7206
  inputId: `w-textarea--${e._.uid}`
7178
7207
  }, () => [
7179
- i.innerIconLeft ? (o(), g(a, {
7208
+ i.innerIconLeft ? (o(), b(a, {
7180
7209
  key: 0,
7181
7210
  class: "w-textarea__icon w-textarea__icon--inner-left",
7182
7211
  tag: "label",
@@ -7184,7 +7213,7 @@ function _o(e, t, i, s, n, l) {
7184
7213
  onClick: t[0] || (t[0] = (r) => e.$emit("click:inner-icon-left", r))
7185
7214
  }, {
7186
7215
  default: m(() => [
7187
- S(C(i.innerIconLeft), 1)
7216
+ B(C(i.innerIconLeft), 1)
7188
7217
  ]),
7189
7218
  _: 1
7190
7219
  }, 8, ["for"])) : p("", !0)
@@ -7207,7 +7236,7 @@ function _o(e, t, i, s, n, l) {
7207
7236
  disabled: e.isDisabled || null,
7208
7237
  required: e.required || null,
7209
7238
  tabindex: e.tabindex || null
7210
- }), null, 16, So), [
7239
+ }), null, 16, Bo), [
7211
7240
  [ve, n.inputValue]
7212
7241
  ]),
7213
7242
  i.labelPosition === "inside" && l.showLabelInside ? (o(), u(k, { key: 0 }, [
@@ -7216,14 +7245,14 @@ function _o(e, t, i, s, n, l) {
7216
7245
  class: f(["w-textarea__label w-textarea__label--inside w-form-el-shakable", e.labelClasses])
7217
7246
  }, [
7218
7247
  c(e.$slots, "default", {}, () => [
7219
- S(C(i.label), 1)
7248
+ B(C(i.label), 1)
7220
7249
  ])
7221
7250
  ], 2)) : p("", !0)
7222
7251
  ], 64)) : p("", !0),
7223
7252
  c(e.$slots, "icon-right", {
7224
7253
  inputId: `w-textarea--${e._.uid}`
7225
7254
  }, () => [
7226
- i.innerIconRight ? (o(), g(a, {
7255
+ i.innerIconRight ? (o(), b(a, {
7227
7256
  key: 0,
7228
7257
  class: "w-textarea__icon w-textarea__icon--inner-right",
7229
7258
  tag: "label",
@@ -7231,7 +7260,7 @@ function _o(e, t, i, s, n, l) {
7231
7260
  onClick: t[5] || (t[5] = (r) => e.$emit("click:inner-icon-right", r))
7232
7261
  }, {
7233
7262
  default: m(() => [
7234
- S(C(i.innerIconRight), 1)
7263
+ B(C(i.innerIconRight), 1)
7235
7264
  ]),
7236
7265
  _: 1
7237
7266
  }, 8, ["for"])) : p("", !0)
@@ -7244,17 +7273,17 @@ function _o(e, t, i, s, n, l) {
7244
7273
  for: `w-textarea--${e._.uid}`
7245
7274
  }, [
7246
7275
  c(e.$slots, "default", {}, () => [
7247
- S(C(i.label), 1)
7276
+ B(C(i.label), 1)
7248
7277
  ])
7249
- ], 10, Bo)) : p("", !0)
7278
+ ], 10, _o)) : p("", !0)
7250
7279
  ], 64)) : p("", !0)
7251
7280
  ]),
7252
7281
  _: 3
7253
7282
  }, 16, ["valid", "wrap", "class", "style"]);
7254
7283
  }
7255
- const $o = {
7284
+ const Io = {
7256
7285
  name: "w-textarea",
7257
- mixins: [z],
7286
+ mixins: [M],
7258
7287
  inheritAttrs: !1,
7259
7288
  // The attrs should only be added to the textarea not the wrapper.
7260
7289
  props: {
@@ -7378,8 +7407,8 @@ const $o = {
7378
7407
  e ? this.getLineHeight() : this.height = null;
7379
7408
  }
7380
7409
  }
7381
- }, Vo = /* @__PURE__ */ v($o, [["render", _o]]), Io = ["innerHTML"], To = ["innerHTML"];
7382
- function Lo(e, t, i, s, n, l) {
7410
+ }, Vo = /* @__PURE__ */ v(Io, [["render", $o]]), To = ["innerHTML"], Lo = ["innerHTML"];
7411
+ function Ro(e, t, i, s, n, l) {
7383
7412
  return o(), u("ul", {
7384
7413
  class: f(["w-timeline", l.classes])
7385
7414
  }, [
@@ -7387,11 +7416,11 @@ function Lo(e, t, i, s, n, l) {
7387
7416
  class: "w-timeline-item",
7388
7417
  key: r
7389
7418
  }, [
7390
- (o(), g(L(a[i.itemIconKey] || i.icon ? "w-icon" : "div"), {
7419
+ (o(), b(L(a[i.itemIconKey] || i.icon ? "w-icon" : "div"), {
7391
7420
  class: f(["w-timeline-item__bullet", { [a[i.itemColorKey] || i.color]: a[i.itemColorKey] || i.color }])
7392
7421
  }, {
7393
7422
  default: m(() => [
7394
- S(C(a[i.itemIconKey] || i.icon), 1)
7423
+ B(C(a[i.itemIconKey] || i.icon), 1)
7395
7424
  ]),
7396
7425
  _: 2
7397
7426
  }, 1032, ["class"])),
@@ -7407,16 +7436,16 @@ function Lo(e, t, i, s, n, l) {
7407
7436
  w("div", {
7408
7437
  class: f(["w-timeline-item__title", { [a[i.itemColorKey] || i.color]: a[i.itemColorKey] || i.color }]),
7409
7438
  innerHTML: a[i.itemTitleKey]
7410
- }, null, 10, Io),
7439
+ }, null, 10, To),
7411
7440
  w("div", {
7412
7441
  class: "w-timeline-item__content",
7413
7442
  innerHTML: a[i.itemContentKey]
7414
- }, null, 8, To)
7443
+ }, null, 8, Lo)
7415
7444
  ])
7416
7445
  ]))), 128))
7417
7446
  ], 2);
7418
7447
  }
7419
- const Ro = {
7448
+ const xo = {
7420
7449
  name: "w-timeline",
7421
7450
  props: {
7422
7451
  items: { type: [Array, Number], required: !0 },
@@ -7438,8 +7467,8 @@ const Ro = {
7438
7467
  };
7439
7468
  }
7440
7469
  }
7441
- }, xo = /* @__PURE__ */ v(Ro, [["render", Lo]]);
7442
- function Po(e, t, i, s, n, l) {
7470
+ }, Po = /* @__PURE__ */ v(xo, [["render", Ro]]);
7471
+ function zo(e, t, i, s, n, l) {
7443
7472
  return o(), u("div", {
7444
7473
  class: f(["w-toolbar", l.classes]),
7445
7474
  style: R(l.styles)
@@ -7498,8 +7527,8 @@ const Oo = {
7498
7527
  };
7499
7528
  }
7500
7529
  }
7501
- }, Mo = /* @__PURE__ */ v(Oo, [["render", Po]]);
7502
- function zo(e, t, i, s, n, l) {
7530
+ }, Mo = /* @__PURE__ */ v(Oo, [["render", zo]]);
7531
+ function Eo(e, t, i, s, n, l) {
7503
7532
  return o(), u(k, null, [
7504
7533
  c(e.$slots, "activator", { on: l.activatorEventHandlers }),
7505
7534
  T(P, {
@@ -7520,7 +7549,7 @@ function zo(e, t, i, s, n, l) {
7520
7549
  }, 8, ["name"])
7521
7550
  ], 64);
7522
7551
  }
7523
- const Eo = {
7552
+ const Ao = {
7524
7553
  name: "w-tooltip",
7525
7554
  mixins: [Be],
7526
7555
  props: {
@@ -7656,24 +7685,24 @@ const Eo = {
7656
7685
  }
7657
7686
  }
7658
7687
  // watch, mounted & beforeDestroy hooks are set in the detachable.js mixin.
7659
- }, Ao = /* @__PURE__ */ v(Eo, [["render", zo]]);
7660
- function Wo(e, t, i, s, n, l) {
7661
- return o(), g(P, _({ name: "bounce" }, e.$props), {
7688
+ }, Wo = /* @__PURE__ */ v(Ao, [["render", Eo]]);
7689
+ function Ko(e, t, i, s, n, l) {
7690
+ return o(), b(P, _({ name: "bounce" }, e.$props), {
7662
7691
  default: m(() => [
7663
7692
  c(e.$slots, "default")
7664
7693
  ]),
7665
7694
  _: 3
7666
7695
  }, 16);
7667
7696
  }
7668
- const Ko = {
7697
+ const No = {
7669
7698
  name: "w-transition-bounce",
7670
7699
  props: {
7671
7700
  appear: { type: Boolean },
7672
7701
  duration: { type: [Number, String] }
7673
7702
  }
7674
- }, No = /* @__PURE__ */ v(Ko, [["render", Wo]]);
7675
- function Do(e, t, i, s, n, l) {
7676
- return o(), g(P, {
7703
+ }, Do = /* @__PURE__ */ v(No, [["render", Ko]]);
7704
+ function Ho(e, t, i, s, n, l) {
7705
+ return o(), b(P, {
7677
7706
  name: "expand",
7678
7707
  mode: "out-in",
7679
7708
  css: !1,
@@ -7693,7 +7722,7 @@ function Do(e, t, i, s, n, l) {
7693
7722
  _: 3
7694
7723
  }, 8, ["onBeforeAppear", "onAppear", "onAfterAppear", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"]);
7695
7724
  }
7696
- const Ho = {
7725
+ const Fo = {
7697
7726
  name: "w-transition-expand",
7698
7727
  props: {
7699
7728
  x: { type: Boolean },
@@ -7783,61 +7812,61 @@ const Ho = {
7783
7812
  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;
7784
7813
  }
7785
7814
  }
7786
- }, Fo = /* @__PURE__ */ v(Ho, [["render", Do]]);
7787
- function jo(e, t, i, s, n, l) {
7788
- return o(), g(P, _({ name: "fade" }, e.$props), {
7815
+ }, jo = /* @__PURE__ */ v(Fo, [["render", Ho]]);
7816
+ function Uo(e, t, i, s, n, l) {
7817
+ return o(), b(P, _({ name: "fade" }, e.$props), {
7789
7818
  default: m(() => [
7790
7819
  c(e.$slots, "default")
7791
7820
  ]),
7792
7821
  _: 3
7793
7822
  }, 16);
7794
7823
  }
7795
- const Uo = {
7824
+ const qo = {
7796
7825
  name: "w-transition-fade",
7797
7826
  props: {
7798
7827
  appear: { type: Boolean },
7799
7828
  duration: { type: [Number, String] }
7800
7829
  }
7801
- }, qo = /* @__PURE__ */ v(Uo, [["render", jo]]);
7802
- function Xo(e, t, i, s, n, l) {
7803
- return o(), g(P, _({ name: "scale" }, e.$props), {
7830
+ }, Xo = /* @__PURE__ */ v(qo, [["render", Uo]]);
7831
+ function Yo(e, t, i, s, n, l) {
7832
+ return o(), b(P, _({ name: "scale" }, e.$props), {
7804
7833
  default: m(() => [
7805
7834
  c(e.$slots, "default")
7806
7835
  ]),
7807
7836
  _: 3
7808
7837
  }, 16);
7809
7838
  }
7810
- const Yo = {
7839
+ const Go = {
7811
7840
  name: "w-transition-scale",
7812
7841
  props: {
7813
7842
  appear: { type: Boolean },
7814
7843
  duration: { type: [Number, String] }
7815
7844
  }
7816
- }, Go = /* @__PURE__ */ v(Yo, [["render", Xo]]);
7817
- function Jo(e, t, i, s, n, l) {
7818
- return o(), g(P, _({ name: "scale-fade" }, e.$props), {
7845
+ }, Jo = /* @__PURE__ */ v(Go, [["render", Yo]]);
7846
+ function Qo(e, t, i, s, n, l) {
7847
+ return o(), b(P, _({ name: "scale-fade" }, e.$props), {
7819
7848
  default: m(() => [
7820
7849
  c(e.$slots, "default")
7821
7850
  ]),
7822
7851
  _: 3
7823
7852
  }, 16);
7824
7853
  }
7825
- const Qo = {
7854
+ const Zo = {
7826
7855
  name: "w-transition-scale-fade",
7827
7856
  props: {
7828
7857
  appear: { type: Boolean },
7829
7858
  duration: { type: [Number, String] }
7830
7859
  }
7831
- }, Zo = /* @__PURE__ */ v(Qo, [["render", Jo]]);
7832
- function ea(e, t, i, s, n, l) {
7833
- return o(), g(P, _({ name: l.transitionName }, e.$props), {
7860
+ }, ea = /* @__PURE__ */ v(Zo, [["render", Qo]]);
7861
+ function ta(e, t, i, s, n, l) {
7862
+ return o(), b(P, _({ name: l.transitionName }, e.$props), {
7834
7863
  default: m(() => [
7835
7864
  c(e.$slots, "default")
7836
7865
  ]),
7837
7866
  _: 3
7838
7867
  }, 16, ["name"]);
7839
7868
  }
7840
- const ta = {
7869
+ const ia = {
7841
7870
  name: "w-transition-slide",
7842
7871
  props: {
7843
7872
  appear: { type: Boolean },
@@ -7855,16 +7884,16 @@ const ta = {
7855
7884
  return `slide-${this.direction}`;
7856
7885
  }
7857
7886
  }
7858
- }, ia = /* @__PURE__ */ v(ta, [["render", ea]]);
7859
- function la(e, t, i, s, n, l) {
7860
- return o(), g(P, _({ name: l.transitionName }, e.$props), {
7887
+ }, la = /* @__PURE__ */ v(ia, [["render", ta]]);
7888
+ function sa(e, t, i, s, n, l) {
7889
+ return o(), b(P, _({ name: l.transitionName }, e.$props), {
7861
7890
  default: m(() => [
7862
7891
  c(e.$slots, "default")
7863
7892
  ]),
7864
7893
  _: 3
7865
7894
  }, 16, ["name"]);
7866
7895
  }
7867
- const sa = {
7896
+ const oa = {
7868
7897
  name: "w-transition-slide-fade",
7869
7898
  props: {
7870
7899
  appear: { type: Boolean },
@@ -7882,26 +7911,26 @@ const sa = {
7882
7911
  return `slide-fade-${this.direction}`;
7883
7912
  }
7884
7913
  }
7885
- }, oa = /* @__PURE__ */ v(sa, [["render", la]]);
7886
- function aa(e, t, i, s, n, l) {
7887
- return o(), g(P, _({ name: "twist" }, e.$props), {
7914
+ }, aa = /* @__PURE__ */ v(oa, [["render", sa]]);
7915
+ function na(e, t, i, s, n, l) {
7916
+ return o(), b(P, _({ name: "twist" }, e.$props), {
7888
7917
  default: m(() => [
7889
7918
  c(e.$slots, "default")
7890
7919
  ]),
7891
7920
  _: 3
7892
7921
  }, 16);
7893
7922
  }
7894
- const na = {
7923
+ const ra = {
7895
7924
  name: "w-transition-twist",
7896
7925
  props: {
7897
7926
  appear: { type: Boolean },
7898
7927
  duration: { type: [Number, String] }
7899
7928
  }
7900
- }, ra = /* @__PURE__ */ v(na, [["render", aa]]), da = ["innerHTML"], ua = {
7929
+ }, da = /* @__PURE__ */ v(ra, [["render", na]]), ua = ["innerHTML"], ha = {
7901
7930
  key: 1,
7902
7931
  class: "ml1"
7903
7932
  };
7904
- function ha(e, t, i, s, n, l) {
7933
+ function ca(e, t, i, s, n, l) {
7905
7934
  const a = $("w-button"), r = $("w-icon"), d = $("w-tree", !0);
7906
7935
  return o(), u("ul", {
7907
7936
  class: f(["w-tree", l.classes])
@@ -7910,19 +7939,19 @@ function ha(e, t, i, s, n, l) {
7910
7939
  class: f(["w-tree__item", l.itemClasses(h)]),
7911
7940
  key: y
7912
7941
  }, [
7913
- (o(), g(L(l.getTreeItemComponent(h)), _({
7942
+ (o(), b(L(l.getTreeItemComponent(h)), _({
7914
7943
  class: "w-tree__item-label",
7915
7944
  ref_for: !0
7916
7945
  }, h.route && { [!e.$router || l.hasExternalLink(h) ? "href" : "to"]: h.route }, {
7917
- onClick: (B) => !i.disabled && !h.disabled && l.onLabelClick(h, B),
7918
- onKeydown: (B) => !i.disabled && !h.disabled && l.onLabelKeydown(h, B),
7946
+ onClick: (S) => !i.disabled && !h.disabled && l.onLabelClick(h, S),
7947
+ onKeydown: (S) => !i.disabled && !h.disabled && l.onLabelKeydown(h, S),
7919
7948
  tabindex: l.getTreeItemTabindex(h)
7920
7949
  }), {
7921
7950
  default: m(() => [
7922
- (h.children || h.branch) && (i.expandOpenIcon && h.open || i.expandIcon) && !(i.unexpandableEmpty && !h.children) ? (o(), g(a, {
7951
+ (h.children || h.branch) && (i.expandOpenIcon && h.open || i.expandIcon) && !(i.unexpandableEmpty && !h.children) ? (o(), b(a, {
7923
7952
  key: 0,
7924
7953
  class: "w-tree__item-expand",
7925
- onClick: M((B) => !i.disabled && !h.disabled && l.onLabelClick(h, B), ["stop"]),
7954
+ onClick: O((S) => !i.disabled && !h.disabled && l.onLabelClick(h, S), ["stop"]),
7926
7955
  color: "inherit",
7927
7956
  icon: h.open && i.expandOpenIcon || i.expandIcon,
7928
7957
  "icon-props": { rotate90a: !h.open },
@@ -7937,54 +7966,54 @@ function ha(e, t, i, s, n, l) {
7937
7966
  path: h.path,
7938
7967
  open: h.open
7939
7968
  }, () => {
7940
- var B;
7969
+ var S;
7941
7970
  return [
7942
- l.itemIcon(h) ? (o(), g(r, {
7971
+ l.itemIcon(h) ? (o(), b(r, {
7943
7972
  key: 0,
7944
7973
  class: "w-tree__item-icon",
7945
7974
  color: h.originalItem[i.itemIconColorKey] || i.iconColor
7946
7975
  }, {
7947
7976
  default: m(() => [
7948
- S(C(l.itemIcon(h)), 1)
7977
+ B(C(l.itemIcon(h)), 1)
7949
7978
  ]),
7950
7979
  _: 2
7951
7980
  }, 1032, ["color"])) : p("", !0),
7952
7981
  w("span", {
7953
7982
  innerHTML: h.label
7954
- }, null, 8, da),
7955
- i.counts && (h.children || h.branch) ? (o(), u("span", ua, "(" + C(((B = h.originalItem.children) == null ? void 0 : B.length) || 0) + ")", 1)) : p("", !0)
7983
+ }, null, 8, ua),
7984
+ i.counts && (h.children || h.branch) ? (o(), u("span", ha, "(" + C(((S = h.originalItem.children) == null ? void 0 : S.length) || 0) + ")", 1)) : p("", !0)
7956
7985
  ];
7957
7986
  })
7958
7987
  ]),
7959
7988
  _: 2
7960
7989
  }, 1040, ["onClick", "onKeydown", "tabindex"])),
7961
- (o(), g(L(i.noTransition ? "div" : "w-transition-expand"), {
7990
+ (o(), b(L(i.noTransition ? "div" : "w-transition-expand"), {
7962
7991
  y: !i.noTransition || null,
7963
- onAfterEnter: (B) => e.$emit("open", l.emitPayload(h)),
7964
- onAfterLeave: (B) => e.$emit("close", l.emitPayload(h))
7992
+ onAfterEnter: (S) => e.$emit("open", l.emitPayload(h)),
7993
+ onAfterLeave: (S) => e.$emit("close", l.emitPayload(h))
7965
7994
  }, {
7966
7995
  default: m(() => [
7967
- h.children && h.open ? (o(), g(d, _({
7996
+ h.children && h.open ? (o(), b(d, _({
7968
7997
  key: 0,
7969
7998
  ref_for: !0
7970
7999
  }, e.$props, {
7971
8000
  depth: i.depth + 1,
7972
8001
  data: h.originalItem.children,
7973
8002
  parent: h,
7974
- onBeforeOpen: t[0] || (t[0] = (B) => e.$emit("before-open", B)),
7975
- onOpen: t[1] || (t[1] = (B) => e.$emit("open", B)),
7976
- onBeforeClose: t[2] || (t[2] = (B) => e.$emit("before-close", B)),
7977
- onClose: t[3] || (t[3] = (B) => e.$emit("close", B)),
7978
- onClick: t[4] || (t[4] = (B) => e.$emit("click", B)),
7979
- onSelect: t[5] || (t[5] = (B) => e.$emit("select", B)),
7980
- "onUpdate:modelValue": t[6] || (t[6] = (B) => e.$emit("update:model-value", B))
8003
+ onBeforeOpen: t[0] || (t[0] = (S) => e.$emit("before-open", S)),
8004
+ onOpen: t[1] || (t[1] = (S) => e.$emit("open", S)),
8005
+ onBeforeClose: t[2] || (t[2] = (S) => e.$emit("before-close", S)),
8006
+ onClose: t[3] || (t[3] = (S) => e.$emit("close", S)),
8007
+ onClick: t[4] || (t[4] = (S) => e.$emit("click", S)),
8008
+ onSelect: t[5] || (t[5] = (S) => e.$emit("select", S)),
8009
+ "onUpdate:modelValue": t[6] || (t[6] = (S) => e.$emit("update:model-value", S))
7981
8010
  }), {
7982
- item: m(({ item: B, depth: b, path: I, open: V }) => [
8011
+ item: m(({ item: S, depth: g, path: V, open: I }) => [
7983
8012
  c(e.$slots, "item", {
7984
- item: B,
7985
- depth: b,
7986
- path: I,
7987
- open: V
8013
+ item: S,
8014
+ depth: g,
8015
+ path: V,
8016
+ open: I
7988
8017
  })
7989
8018
  ]),
7990
8019
  _: 2
@@ -7995,7 +8024,7 @@ function ha(e, t, i, s, n, l) {
7995
8024
  ], 2))), 128))
7996
8025
  ], 2);
7997
8026
  }
7998
- const ca = {
8027
+ const pa = {
7999
8028
  name: "w-tree",
8000
8029
  props: {
8001
8030
  modelValue: { type: [Object, Array] },
@@ -8193,13 +8222,13 @@ const ca = {
8193
8222
  unmounted() {
8194
8223
  this.dataPropUnwatch();
8195
8224
  }
8196
- }, pa = /* @__PURE__ */ v(ca, [["render", ha]]), fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8225
+ }, fa = /* @__PURE__ */ v(pa, [["render", ca]]), ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8197
8226
  __proto__: null,
8198
8227
  WAccordion: at,
8199
8228
  WAlert: ut,
8200
8229
  WApp: Bt,
8201
8230
  WAutocomplete: kt,
8202
- WBadge: It,
8231
+ WBadge: Vt,
8203
8232
  WBreadcrumbs: xt,
8204
8233
  WButton: Nt,
8205
8234
  WCard: jt,
@@ -8213,43 +8242,43 @@ const ca = {
8213
8242
  WFlex: $i,
8214
8243
  WForm: Li,
8215
8244
  WFormElement: Pi,
8216
- WGrid: zi,
8245
+ WGrid: Mi,
8217
8246
  WIcon: Wi,
8218
- WImage: Hi,
8219
- WInput: el,
8220
- WList: ll,
8221
- WMenu: al,
8222
- WNotification: dl,
8223
- WOverlay: cl,
8224
- WParallax: gl,
8225
- WProgress: Bl,
8226
- WRadio: xl,
8227
- WRadios: zl,
8228
- WRating: Nl,
8229
- WScrollable: jl,
8230
- WSelect: Ql,
8231
- WSlider: cs,
8232
- WSpinner: gs,
8233
- WSteps: ws,
8247
+ WImage: Fi,
8248
+ WInput: tl,
8249
+ WList: sl,
8250
+ WMenu: nl,
8251
+ WNotification: ul,
8252
+ WOverlay: pl,
8253
+ WParallax: bl,
8254
+ WProgress: _l,
8255
+ WRadio: Pl,
8256
+ WRadios: El,
8257
+ WRating: Dl,
8258
+ WScrollable: Ul,
8259
+ WSelect: Zl,
8260
+ WSlider: ps,
8261
+ WSpinner: bs,
8262
+ WSteps: ks,
8234
8263
  WSwitch: Vs,
8235
- WTable: bo,
8236
- WTabs: Ks,
8237
- WTag: vo,
8264
+ WTable: yo,
8265
+ WTabs: Ns,
8266
+ WTag: Co,
8238
8267
  WTextarea: Vo,
8239
- WTimeline: xo,
8268
+ WTimeline: Po,
8240
8269
  WToolbar: Mo,
8241
- WTooltip: Ao,
8242
- WTransitionBounce: No,
8243
- WTransitionExpand: Fo,
8244
- WTransitionFade: qo,
8245
- WTransitionScale: Go,
8246
- WTransitionScaleFade: Zo,
8247
- WTransitionSlide: ia,
8248
- WTransitionSlideFade: oa,
8249
- WTransitionTwist: ra,
8250
- WTree: pa
8251
- }, Symbol.toStringTag, { value: "Module" })), ma = q.install;
8252
- q.install = (e, t = {}) => ma.call(q, e, { components: fa, ...t });
8270
+ WTooltip: Wo,
8271
+ WTransitionBounce: Do,
8272
+ WTransitionExpand: jo,
8273
+ WTransitionFade: Xo,
8274
+ WTransitionScale: Jo,
8275
+ WTransitionScaleFade: ea,
8276
+ WTransitionSlide: la,
8277
+ WTransitionSlideFade: aa,
8278
+ WTransitionTwist: da,
8279
+ WTree: fa
8280
+ }, Symbol.toStringTag, { value: "Module" })), ga = q.install;
8281
+ q.install = (e, t = {}) => ga.call(q, e, { components: ma, ...t });
8253
8282
  export {
8254
8283
  q as default
8255
8284
  };