wave-ui 3.6.1 → 3.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ var Y = (e, t, l) => (ne(e, t, "read from private field"), l ? l.call(e) : t.get
9
9
  throw TypeError("Cannot add the same private member more than once");
10
10
  t instanceof WeakSet ? t.add(e) : t.set(e, l);
11
11
  }, te = (e, t, l, o) => (ne(e, t, "write to private field"), o ? o.call(e, l) : t.set(e, l), l);
12
- import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as m, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as g, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as Be, inject as Se, withKeys as E, withModifiers as M, renderSlot as p, toHandlers as W, createTextVNode as B, toDisplayString as _, Transition as O, normalizeStyle as T, resolveDynamicComponent as V, normalizeProps as ie, resolveDirective as me, withDirectives as N, createSlots as Z, vShow as oe, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
12
+ import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as m, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as g, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as Se, inject as Be, withKeys as W, withModifiers as E, renderSlot as p, toHandlers as z, createTextVNode as S, toDisplayString as _, Transition as O, normalizeStyle as R, resolveDynamicComponent as V, normalizeProps as ie, resolveDirective as me, withDirectives as N, createSlots as Z, vShow as oe, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
13
13
  const Ie = Q({
14
14
  on: "#app",
15
15
  breakpoints: {
@@ -60,7 +60,7 @@ const Ie = Q({
60
60
  typeof o == "object" ? ye(e[l], t[l]) : t[l] = o;
61
61
  }
62
62
  return t;
63
- }, U = (e) => console.warn(`Wave UI: ${e}`), le = (e) => console.error(`Wave UI: ${e}`), re = (e, t) => "#" + e.slice(1).match(/../g).map((l) => (l = +`0x${l}` + t, (l < 0 ? 0 : l > 255 ? 255 : l).toString(16).padStart(2, 0))).join(""), Re = (e) => {
63
+ }, U = (e) => console.warn(`Wave UI: ${e}`), le = (e) => console.error(`Wave UI: ${e}`), re = (e, t) => "#" + e.slice(1).match(/../g).map((l) => (l = +`0x${l}` + t, (l < 0 ? 0 : l > 255 ? 255 : l).toString(16).padStart(2, 0))).join(""), Te = (e) => {
64
64
  ["light", "dark"].forEach((t) => {
65
65
  const l = e.colors[t];
66
66
  l.shades = {};
@@ -437,7 +437,7 @@ const Ie = Q({
437
437
  baseIncrement: 4
438
438
  };
439
439
  let se = { keys: [], values: [] }, he = null;
440
- const Te = (e) => {
440
+ const Re = (e) => {
441
441
  let t = "";
442
442
  const l = {}, { info: o, warning: n, success: i, error: a, shades: r, ...d } = e, { cssScope: h } = q;
443
443
  for (const b in d)
@@ -447,10 +447,10 @@ const Te = (e) => {
447
447
  const y = { ...d, info: o, warning: n, success: i, error: a };
448
448
  for (const b in y)
449
449
  l[b] = y[b];
450
- let S = "";
451
- return Object.entries(l).forEach(([b, R]) => {
452
- S += `--w-${b}-color: ${R};`;
453
- }), `:root{${S}}${t}`;
450
+ let B = "";
451
+ return Object.entries(l).forEach(([b, T]) => {
452
+ B += `--w-${b}-color: ${T};`;
453
+ }), `:root{${B}}${t}`;
454
454
  }, Le = (e, t) => {
455
455
  let l = "";
456
456
  const { cssScope: o } = q;
@@ -480,6 +480,7 @@ const Te = (e) => {
480
480
  "text-nowrap{white-space:nowrap}",
481
481
  "row{flex-direction:row}",
482
482
  "column{flex-direction:column}",
483
+ "column-reverse{flex-direction:column-reverse}",
483
484
  "grow{flex-grow:1;flex-basis:auto}",
484
485
  "no-grow{flex-grow:0}",
485
486
  "shrink{flex-shrink:1;margin-left:auto;margin-right:auto}",
@@ -533,7 +534,7 @@ const Te = (e) => {
533
534
  }, Pe = (e) => {
534
535
  if (!document.getElementById("wave-ui-colors")) {
535
536
  const t = document.createElement("style");
536
- t.id = "wave-ui-colors", t.innerHTML = Te(e);
537
+ t.id = "wave-ui-colors", t.innerHTML = Re(e);
537
538
  const l = document.head.querySelectorAll('style,link[rel="stylesheet"]')[0];
538
539
  l ? l.before(t) : document.head.appendChild(t);
539
540
  }
@@ -646,7 +647,7 @@ H = new WeakMap(), ee(G, H, void 0);
646
647
  const Ne = (e, t, l) => {
647
648
  const o = document.createElement("div");
648
649
  e.appendChild(o);
649
- const n = Ce(Be({
650
+ const n = Ce(Se({
650
651
  ...Ae,
651
652
  inject: ["$waveui"]
652
653
  })).provide("$waveui", l);
@@ -717,7 +718,7 @@ const j = class {
717
718
  l.colors.light || (l.colors.light = a), l.colors.dark || (l.colors.dark = a), l.colors = { light: l.colors.light, dark: l.colors.dark };
718
719
  }
719
720
  let { components: o, ...n } = l;
720
- n = this.$waveui.config = ye(n), n.css.colorShades && Re(n);
721
+ n = this.$waveui.config = ye(n), n.css.colorShades && Te(n);
721
722
  const i = Q(this.$waveui);
722
723
  t.config.globalProperties.$waveui = i, t.provide("$waveui", i), n.theme !== "auto" && (this.$waveui.colors = de(n.colors[n.theme], ue));
723
724
  }
@@ -742,7 +743,7 @@ const j = class {
742
743
  beforeMount() {
743
744
  if (!pe) {
744
745
  pe = !0;
745
- const i = Se("$waveui"), { config: a } = i, r = document.querySelector(a.on) || document.body;
746
+ const i = Be("$waveui"), { config: a } = i, r = document.querySelector(a.on) || document.body;
746
747
  r.classList.add("w-app"), a.theme === "auto" ? Ke(i) : i.switchTheme(a.theme, !0), Oe(i), Ne(r, o, i), t._context.mixins.find((d) => d.mounted && delete d.mounted);
747
748
  }
748
749
  }
@@ -766,7 +767,7 @@ function qe(e, t, l, o, n, i) {
766
767
  class: f(["w-accordion__item-title", l.titleClass]),
767
768
  onClick: (y) => !d._disabled && i.toggleItem(d, y),
768
769
  onFocus: (y) => e.$emit("focus", i.getOriginalItem(d)),
769
- onKeypress: E((y) => !d._disabled && i.toggleItem(d, y), ["enter"]),
770
+ onKeypress: W((y) => !d._disabled && i.toggleItem(d, y), ["enter"]),
770
771
  tabindex: !d._disabled && 0
771
772
  }, [
772
773
  l.expandIcon && !l.expandIconRight ? (s(), m(a, {
@@ -777,9 +778,9 @@ function qe(e, t, l, o, n, i) {
777
778
  disabled: d._disabled || null,
778
779
  tabindex: -1,
779
780
  text: "",
780
- onKeypress: t[0] || (t[0] = M(() => {
781
+ onKeypress: t[0] || (t[0] = E(() => {
781
782
  }, ["stop"])),
782
- onClick: M((y) => !d._disabled && i.toggleItem(d, y), ["stop"])
783
+ onClick: E((y) => !d._disabled && i.toggleItem(d, y), ["stop"])
783
784
  }, null, 8, ["icon", "icon-props", "disabled", "onClick", "class"])) : c("", !0),
784
785
  e.$slots[`item-title.${d.id || h + 1}`] ? p(e.$slots, `item-title.${d.id || h + 1}`, {
785
786
  key: 1,
@@ -802,9 +803,9 @@ function qe(e, t, l, o, n, i) {
802
803
  class: f(["w-accordion__expand-icon", { "w-accordion__expand-icon--expanded": d._expanded, "w-accordion__expand-icon--rotate90": l.expandIconRotate90 }]),
803
804
  icon: d._expanded && l.collapseIcon || l.expandIcon,
804
805
  text: "",
805
- onKeypress: t[1] || (t[1] = M(() => {
806
+ onKeypress: t[1] || (t[1] = E(() => {
806
807
  }, ["stop"])),
807
- onClick: M((y) => !d._disabled && i.toggleItem(d, y), ["stop"])
808
+ onClick: E((y) => !d._disabled && i.toggleItem(d, y), ["stop"])
808
809
  }, null, 8, ["icon", "onClick", "class"])) : c("", !0)
809
810
  ], 42, Fe),
810
811
  I(r, {
@@ -931,14 +932,14 @@ function Je(e, t, l, o, n, i) {
931
932
  return n.show ? (s(), u("div", C({
932
933
  key: 0,
933
934
  class: "w-alert"
934
- }, W(e.$attrs, !0), { class: i.classes }), [
935
+ }, z(e.$attrs, !0), { class: i.classes }), [
935
936
  i.type || l.icon || l.dismiss ? (s(), u(k, { key: 0 }, [
936
937
  i.type || l.icon ? (s(), m(a, {
937
938
  key: 0,
938
939
  class: "w-alert__icon mr2"
939
940
  }, {
940
941
  default: g(() => [
941
- B(_(i.type ? i.typeIcon : l.icon), 1)
942
+ S(_(i.type ? i.typeIcon : l.icon), 1)
942
943
  ]),
943
944
  _: 1
944
945
  })) : c("", !0),
@@ -1061,7 +1062,7 @@ const lt = {
1061
1062
  }
1062
1063
  }, it = /* @__PURE__ */ v(lt, [["render", tt]]);
1063
1064
  function st(e, t, l, o, n, i) {
1064
- return s(), u("div", C({ class: "w-badge-wrap" }, W(e.$attrs, !0)), [
1065
+ return s(), u("div", C({ class: "w-badge-wrap" }, z(e.$attrs, !0)), [
1065
1066
  p(e.$slots, "default"),
1066
1067
  I(O, {
1067
1068
  name: `${l.transition}`
@@ -1070,14 +1071,14 @@ function st(e, t, l, o, n, i) {
1070
1071
  l.modelValue ? (s(), u("div", {
1071
1072
  key: 0,
1072
1073
  class: f(["w-badge", i.classes]),
1073
- style: T(i.styles),
1074
+ style: R(i.styles),
1074
1075
  "aria-atomic": "true",
1075
1076
  "aria-label": "Badge",
1076
1077
  "aria-live": "polite",
1077
1078
  role: "status"
1078
1079
  }, [
1079
1080
  l.dot ? c("", !0) : p(e.$slots, "badge", { key: 0 }, () => [
1080
- B(_(l.modelValue === !0 ? "" : l.modelValue || ""), 1)
1081
+ S(_(l.modelValue === !0 ? "" : l.modelValue || ""), 1)
1081
1082
  ])
1082
1083
  ], 6)) : c("", !0)
1083
1084
  ]),
@@ -1165,7 +1166,7 @@ function rt(e, t, l, o, n, i) {
1165
1166
  key: `${d}b`
1166
1167
  }, {
1167
1168
  default: g(() => [
1168
- B(_(l.icon), 1)
1169
+ S(_(l.icon), 1)
1169
1170
  ]),
1170
1171
  _: 2
1171
1172
  }, 1032, ["class"])) : c("", !0),
@@ -1254,11 +1255,11 @@ function pt(e, t, l, o, n, i) {
1254
1255
  type: !l.route && l.type,
1255
1256
  href: l.route && (i.externalLink ? l.route : i.resolvedRoute) || null,
1256
1257
  disabled: !!l.disabled || null
1257
- }, W(i.listeners), { style: i.styles }), {
1258
+ }, z(i.listeners), { style: i.styles }), {
1258
1259
  default: g(() => [
1259
1260
  l.icon ? (s(), m(a, ie(C({ key: 0 }, l.iconProps || {})), {
1260
1261
  default: g(() => [
1261
- B(_(l.icon), 1)
1262
+ S(_(l.icon), 1)
1262
1263
  ]),
1263
1264
  _: 1
1264
1265
  }, 16)) : p(e.$slots, "default", { key: 1 }),
@@ -1371,7 +1372,7 @@ function bt(e, t, l, o, n, i) {
1371
1372
  const a = $("button-partial");
1372
1373
  return l.tooltip ? (s(), m(V("w-tooltip"), ie(C({ key: 0 }, l.tooltipProps || {})), {
1373
1374
  activator: g(({ on: r }) => [
1374
- I(a, C(i.buttonProps, W(r)), {
1375
+ I(a, C(i.buttonProps, z(r)), {
1375
1376
  default: g(() => [
1376
1377
  p(e.$slots, "default")
1377
1378
  ]),
@@ -1526,7 +1527,7 @@ const _t = {
1526
1527
  };
1527
1528
  }
1528
1529
  }
1529
- }, Ct = /* @__PURE__ */ v(_t, [["render", kt]]), z = {
1530
+ }, Ct = /* @__PURE__ */ v(_t, [["render", kt]]), M = {
1530
1531
  inject: {
1531
1532
  formRegister: { default: null },
1532
1533
  formProps: { default: () => ({ disabled: !1, readonly: !1 }) }
@@ -1567,11 +1568,11 @@ const _t = {
1567
1568
  this.$refs.formEl.validate(this);
1568
1569
  }
1569
1570
  }
1570
- }, Bt = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], St = ["for"], $t = ["for", "innerHTML"], Vt = /* @__PURE__ */ w("svg", { viewBox: "-0.5 0 12 10" }, [
1571
+ }, St = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], Bt = ["for"], $t = ["for", "innerHTML"], Vt = /* @__PURE__ */ w("svg", { viewBox: "-0.5 0 12 10" }, [
1571
1572
  /* @__PURE__ */ w("polyline", { points: "1 5 4 8 10 2" })
1572
1573
  ], -1), It = [
1573
1574
  Vt
1574
- ], Rt = ["for"], Tt = ["for", "innerHTML"];
1575
+ ], Tt = ["for"], Rt = ["for", "innerHTML"];
1575
1576
  function Lt(e, t, l, o, n, i) {
1576
1577
  return s(), m(V(e.formRegister && !i.wCheckboxes ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isChecked, disabled: e.isDisabled, readonly: e.isReadonly }, {
1577
1578
  valid: e.valid,
@@ -1594,10 +1595,10 @@ function Lt(e, t, l, o, n, i) {
1594
1595
  onFocus: t[0] || (t[0] = (a) => e.$emit("focus", a)),
1595
1596
  onBlur: t[1] || (t[1] = (a) => e.$emit("blur", a)),
1596
1597
  onChange: t[2] || (t[2] = (a) => i.onInput()),
1597
- onKeypress: t[3] || (t[3] = E((...a) => i.onInput && i.onInput(...a), ["enter"])),
1598
+ onKeypress: t[3] || (t[3] = W((...a) => i.onInput && i.onInput(...a), ["enter"])),
1598
1599
  "aria-checked": n.isChecked || "false",
1599
1600
  role: "checkbox"
1600
- }, null, 40, Bt),
1601
+ }, null, 40, St),
1601
1602
  i.hasLabel && l.labelOnLeft ? (s(), u(k, { key: 0 }, [
1602
1603
  e.$slots.default ? (s(), u("label", {
1603
1604
  key: 0,
@@ -1605,9 +1606,9 @@ function Lt(e, t, l, o, n, i) {
1605
1606
  for: `w-checkbox--${e._.uid}`
1606
1607
  }, [
1607
1608
  p(e.$slots, "default", {}, () => [
1608
- B(_(l.label), 1)
1609
+ S(_(l.label), 1)
1609
1610
  ])
1610
- ], 10, St)) : l.label ? (s(), u("label", {
1611
+ ], 10, Bt)) : l.label ? (s(), u("label", {
1611
1612
  key: 1,
1612
1613
  class: f(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
1613
1614
  for: `w-checkbox--${e._.uid}`,
@@ -1627,14 +1628,14 @@ function Lt(e, t, l, o, n, i) {
1627
1628
  for: `w-checkbox--${e._.uid}`
1628
1629
  }, [
1629
1630
  p(e.$slots, "default", {}, () => [
1630
- B(_(l.label), 1)
1631
+ S(_(l.label), 1)
1631
1632
  ])
1632
- ], 10, Rt)) : l.label ? (s(), u("label", {
1633
+ ], 10, Tt)) : l.label ? (s(), u("label", {
1633
1634
  key: 1,
1634
1635
  class: f(["w-checkbox__label w-form-el-shakable pl2", e.labelClasses]),
1635
1636
  for: `w-checkbox--${e._.uid}`,
1636
1637
  innerHTML: l.label
1637
- }, null, 10, Tt)) : c("", !0)
1638
+ }, null, 10, Rt)) : c("", !0)
1638
1639
  ], 64)) : c("", !0)
1639
1640
  ]),
1640
1641
  _: 3
@@ -1642,7 +1643,7 @@ function Lt(e, t, l, o, n, i) {
1642
1643
  }
1643
1644
  const xt = {
1644
1645
  name: "w-checkbox",
1645
- mixins: [z],
1646
+ mixins: [M],
1646
1647
  inject: {
1647
1648
  wCheckboxes: { default: null }
1648
1649
  },
@@ -1743,7 +1744,7 @@ function zt(e, t, l, o, n, i) {
1743
1744
  }
1744
1745
  const Mt = {
1745
1746
  name: "w-checkboxes",
1746
- mixins: [z],
1747
+ mixins: [M],
1747
1748
  props: {
1748
1749
  items: { type: Array, required: !0 },
1749
1750
  modelValue: { type: Array },
@@ -1817,7 +1818,7 @@ function Wt(e, t, l, o, n, i) {
1817
1818
  default: g(() => [
1818
1819
  w("div", null, [
1819
1820
  p(e.$slots, "question", {}, () => [
1820
- B(_(l.question), 1)
1821
+ S(_(l.question), 1)
1821
1822
  ])
1822
1823
  ]),
1823
1824
  w("div", {
@@ -1828,24 +1829,24 @@ function Wt(e, t, l, o, n, i) {
1828
1829
  class: "mr2"
1829
1830
  }, i.cancelButtonProps, {
1830
1831
  "bg-color": (i.cancelButton || {}).bgColor || "error",
1831
- onKeyup: t[0] || (t[0] = E((y) => !l.persistent && i.onCancel(), ["escape"])),
1832
+ onKeyup: t[0] || (t[0] = W((y) => !l.persistent && i.onCancel(), ["escape"])),
1832
1833
  onClick: i.onCancel
1833
1834
  }), {
1834
1835
  default: g(() => [
1835
1836
  p(e.$slots, "cancel", {}, () => [
1836
- B(_(i.cancelButton.label), 1)
1837
+ S(_(i.cancelButton.label), 1)
1837
1838
  ])
1838
1839
  ]),
1839
1840
  _: 3
1840
1841
  }, 16, ["bg-color", "onClick"])) : c("", !0),
1841
1842
  N((s(), m(a, C(i.confirmButtonProps, {
1842
1843
  "bg-color": (i.confirmButton || {}).bgColor || "success",
1843
- onKeyup: t[1] || (t[1] = E((y) => !l.persistent && i.onCancel(), ["escape"])),
1844
+ onKeyup: t[1] || (t[1] = W((y) => !l.persistent && i.onCancel(), ["escape"])),
1844
1845
  onClick: i.onConfirm
1845
1846
  }), {
1846
1847
  default: g(() => [
1847
1848
  p(e.$slots, "confirm", {}, () => [
1848
- B(_(i.confirmButton.label), 1)
1849
+ S(_(i.confirmButton.label), 1)
1849
1850
  ])
1850
1851
  ]),
1851
1852
  _: 3
@@ -1957,7 +1958,7 @@ const At = {
1957
1958
  function Kt(e, t, l, o, n, i) {
1958
1959
  return s(), u("div", {
1959
1960
  class: f(["w-date-picker", i.classes]),
1960
- style: T(i.styles)
1961
+ style: R(i.styles)
1961
1962
  }, [
1962
1963
  p(e.$slots, "default")
1963
1964
  ], 6);
@@ -2009,7 +2010,7 @@ function Ft(e, t, l, o, n, i) {
2009
2010
  "title-class": l.titleClass,
2010
2011
  "content-class": l.contentClass,
2011
2012
  title: l.title || void 0,
2012
- style: T(i.contentStyles)
2013
+ style: R(i.contentStyles)
2013
2014
  }, Z({
2014
2015
  default: g(() => [
2015
2016
  p(e.$slots, "default")
@@ -2147,7 +2148,7 @@ function Qt(e, t, l, o, n, i) {
2147
2148
  l.pushContent ? (s(), u("div", {
2148
2149
  key: 0,
2149
2150
  class: "w-drawer-wrap__track",
2150
- style: T(i.trackStyles)
2151
+ style: R(i.trackStyles)
2151
2152
  }, [
2152
2153
  w("div", Jt, [
2153
2154
  l.noOverlay ? c("", !0) : (s(), m(a, {
@@ -2172,7 +2173,7 @@ function Qt(e, t, l, o, n, i) {
2172
2173
  key: 0,
2173
2174
  class: f(["w-drawer", i.drawerClasses]),
2174
2175
  ref: "drawer",
2175
- style: T(i.styles)
2176
+ style: R(i.styles)
2176
2177
  }, {
2177
2178
  default: g(() => [
2178
2179
  p(e.$slots, "default")
@@ -2204,7 +2205,7 @@ function Qt(e, t, l, o, n, i) {
2204
2205
  key: 0,
2205
2206
  class: f(["w-drawer", i.drawerClasses]),
2206
2207
  ref: "drawer",
2207
- style: T(i.styles)
2208
+ style: R(i.styles)
2208
2209
  }, {
2209
2210
  default: g(() => [
2210
2211
  p(e.$slots, "default")
@@ -2506,7 +2507,7 @@ function dl(e, t, l, o, n, i) {
2506
2507
  p(e.$slots, "error-message", {
2507
2508
  message: e.Validation.message
2508
2509
  }, () => [
2509
- B(_(e.Validation.message), 1)
2510
+ S(_(e.Validation.message), 1)
2510
2511
  ])
2511
2512
  ], 2)) : c("", !0)
2512
2513
  ]),
@@ -2637,7 +2638,7 @@ const pl = {
2637
2638
  }
2638
2639
  }, fl = /* @__PURE__ */ v(pl, [["render", cl]]);
2639
2640
  function gl(e, t, l, o, n, i) {
2640
- return s(), m(V(l.tag || "i"), C({ class: "w-icon" }, W(e.$attrs), {
2641
+ return s(), m(V(l.tag || "i"), C({ class: "w-icon" }, z(e.$attrs), {
2641
2642
  class: i.classes,
2642
2643
  role: "icon",
2643
2644
  "aria-hidden": "true",
@@ -2645,7 +2646,7 @@ function gl(e, t, l, o, n, i) {
2645
2646
  }), {
2646
2647
  default: g(() => [
2647
2648
  i.hasLigature ? (s(), u(k, { key: 0 }, [
2648
- B(_(e.icon), 1)
2649
+ S(_(e.icon), 1)
2649
2650
  ], 64)) : c("", !0)
2650
2651
  ]),
2651
2652
  _: 1
@@ -2728,7 +2729,7 @@ function wl(e, t, l, o, n, i) {
2728
2729
  const a = $("w-progress");
2729
2730
  return s(), m(V(i.wrapperTag), {
2730
2731
  class: f(["w-image-wrap", i.wrapperClasses]),
2731
- style: T(i.wrapperStyles)
2732
+ style: R(i.wrapperStyles)
2732
2733
  }, {
2733
2734
  default: g(() => [
2734
2735
  I(O, {
@@ -2739,7 +2740,7 @@ function wl(e, t, l, o, n, i) {
2739
2740
  n.loaded ? (s(), m(V(l.tag), {
2740
2741
  key: 0,
2741
2742
  class: f(["w-image", i.imageClasses]),
2742
- style: T(i.imageStyles),
2743
+ style: R(i.imageStyles),
2743
2744
  src: l.tag === "img" ? n.imgSrc : null
2744
2745
  }, null, 8, ["class", "style", "src"])) : c("", !0)
2745
2746
  ]),
@@ -2861,10 +2862,10 @@ const vl = {
2861
2862
  this.imgHeight = e;
2862
2863
  }
2863
2864
  }
2864
- }, kl = /* @__PURE__ */ v(vl, [["render", wl]]), _l = ["name"], Cl = ["for"], Bl = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Sl = ["id", "name", "multiple", "disabled", "data-progress"], $l = {
2865
+ }, kl = /* @__PURE__ */ v(vl, [["render", wl]]), _l = ["name"], Cl = ["for"], Sl = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Bl = ["id", "name", "multiple", "disabled", "data-progress"], $l = {
2865
2866
  class: "w-input__no-file",
2866
2867
  key: "no-file"
2867
- }, Vl = ["for"], Il = ["for"], Rl = ["src"], Tl = ["for"];
2868
+ }, Vl = ["for"], Il = ["for"], Tl = ["src"], Rl = ["for"];
2868
2869
  function Ll(e, t, l, o, n, i) {
2869
2870
  const a = $("w-icon"), r = $("w-progress");
2870
2871
  return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
@@ -2892,7 +2893,7 @@ function Ll(e, t, l, o, n, i) {
2892
2893
  for: `w-input--${e._.uid}`
2893
2894
  }, [
2894
2895
  p(e.$slots, "default", {}, () => [
2895
- B(_(l.label), 1)
2896
+ S(_(l.label), 1)
2896
2897
  ])
2897
2898
  ], 10, Cl)) : c("", !0)
2898
2899
  ], 64)) : c("", !0),
@@ -2907,7 +2908,7 @@ function Ll(e, t, l, o, n, i) {
2907
2908
  onClick: t[1] || (t[1] = (d) => e.$emit("click:inner-icon-left", d))
2908
2909
  }, {
2909
2910
  default: g(() => [
2910
- B(_(l.innerIconLeft), 1)
2911
+ S(_(l.innerIconLeft), 1)
2911
2912
  ]),
2912
2913
  _: 1
2913
2914
  }, 8, ["for"])) : c("", !0),
@@ -2916,7 +2917,7 @@ function Ll(e, t, l, o, n, i) {
2916
2917
  class: "w-input__input",
2917
2918
  ref: "input",
2918
2919
  "onUpdate:modelValue": t[2] || (t[2] = (d) => n.inputValue = d)
2919
- }, W(i.listeners, !0), {
2920
+ }, z(i.listeners, !0), {
2920
2921
  onInput: t[3] || (t[3] = (...d) => i.onInput && i.onInput(...d)),
2921
2922
  onFocus: t[4] || (t[4] = (...d) => i.onFocus && i.onFocus(...d)),
2922
2923
  onBlur: t[5] || (t[5] = (...d) => i.onBlur && i.onBlur(...d)),
@@ -2934,7 +2935,7 @@ function Ll(e, t, l, o, n, i) {
2934
2935
  disabled: e.isDisabled || null,
2935
2936
  required: e.required || null,
2936
2937
  tabindex: e.tabindex || null
2937
- }, i.attrs), null, 16, Bl)), [
2938
+ }, i.attrs), null, 16, Sl)), [
2938
2939
  [$e, n.inputValue]
2939
2940
  ]) : (s(), u(k, { key: 2 }, [
2940
2941
  w("input", C({
@@ -2949,7 +2950,7 @@ function Ll(e, t, l, o, n, i) {
2949
2950
  }, i.attrs, {
2950
2951
  disabled: e.isDisabled || null,
2951
2952
  "data-progress": i.overallFilesProgress
2952
- }), null, 16, Sl),
2953
+ }), null, 16, Bl),
2953
2954
  I(ae, {
2954
2955
  class: "w-input__input w-input__input--file",
2955
2956
  tag: "label",
@@ -2960,19 +2961,19 @@ function Ll(e, t, l, o, n, i) {
2960
2961
  !n.inputFiles.length && n.isFocused ? (s(), u("span", $l, [
2961
2962
  p(e.$slots, "no-file", {}, () => [
2962
2963
  e.$slots["no-file"] === void 0 ? (s(), u(k, { key: 0 }, [
2963
- B("No file")
2964
+ S("No file")
2964
2965
  ], 64)) : c("", !0)
2965
2966
  ])
2966
2967
  ])) : c("", !0),
2967
2968
  (s(!0), u(k, null, L(n.inputFiles, (d, h) => (s(), u("span", {
2968
2969
  key: d.lastModified
2969
2970
  }, [
2970
- B(_(h ? ", " : ""), 1),
2971
+ S(_(h ? ", " : ""), 1),
2971
2972
  (s(), u("span", {
2972
2973
  class: "filename",
2973
2974
  key: `${h}b`
2974
2975
  }, _(d.base), 1)),
2975
- B(_(d.extension ? `.${d.extension}` : ""), 1)
2976
+ S(_(d.extension ? `.${d.extension}` : ""), 1)
2976
2977
  ]))), 128))
2977
2978
  ]),
2978
2979
  _: 3
@@ -2985,7 +2986,7 @@ function Ll(e, t, l, o, n, i) {
2985
2986
  for: `w-input--${e._.uid}`
2986
2987
  }, [
2987
2988
  p(e.$slots, "default", {}, () => [
2988
- B(_(l.label), 1)
2989
+ S(_(l.label), 1)
2989
2990
  ])
2990
2991
  ], 10, Vl)) : c("", !0)
2991
2992
  ], 64)) : c("", !0),
@@ -2997,7 +2998,7 @@ function Ll(e, t, l, o, n, i) {
2997
2998
  onClick: t[9] || (t[9] = (d) => e.$emit("click:inner-icon-right", d))
2998
2999
  }, {
2999
3000
  default: g(() => [
3000
- B(_(l.innerIconRight), 1)
3001
+ S(_(l.innerIconRight), 1)
3001
3002
  ]),
3002
3003
  _: 1
3003
3004
  }, 8, ["for"])) : c("", !0),
@@ -3023,7 +3024,7 @@ function Ll(e, t, l, o, n, i) {
3023
3024
  key: `${h}b`,
3024
3025
  src: d.preview,
3025
3026
  alt: ""
3026
- }, null, 8, Rl)) : (s(), u("i", {
3027
+ }, null, 8, Tl)) : (s(), u("i", {
3027
3028
  class: f(["w-icon w-input__file-preview primary size--md", l.preview && typeof l.preview == "string" ? l.preview : "wi-file"]),
3028
3029
  key: `${h}c`
3029
3030
  }, null, 2))
@@ -3036,9 +3037,9 @@ function Ll(e, t, l, o, n, i) {
3036
3037
  for: `w-input--${e._.uid}`
3037
3038
  }, [
3038
3039
  p(e.$slots, "default", {}, () => [
3039
- B(_(l.label), 1)
3040
+ S(_(l.label), 1)
3040
3041
  ])
3041
- ], 10, Tl)) : c("", !0)
3042
+ ], 10, Rl)) : c("", !0)
3042
3043
  ], 64)) : c("", !0)
3043
3044
  ], 64))
3044
3045
  ]),
@@ -3047,7 +3048,7 @@ function Ll(e, t, l, o, n, i) {
3047
3048
  }
3048
3049
  const xl = {
3049
3050
  name: "w-input",
3050
- mixins: [z],
3051
+ mixins: [M],
3051
3052
  props: {
3052
3053
  modelValue: { default: "" },
3053
3054
  type: { type: String, default: "text" },
@@ -3229,7 +3230,7 @@ function Pl(e, t, l, o, n, i) {
3229
3230
  class: "w-list__item-bullet"
3230
3231
  }, {
3231
3232
  default: g(() => [
3232
- B(_(l.icon), 1)
3233
+ S(_(l.icon), 1)
3233
3234
  ]),
3234
3235
  _: 1
3235
3236
  })) : c("", !0),
@@ -3254,7 +3255,7 @@ function Pl(e, t, l, o, n, i) {
3254
3255
  index: h + 1,
3255
3256
  selected: d._selected
3256
3257
  }, () => [
3257
- B(_(d._label), 1)
3258
+ S(_(d._label), 1)
3258
3259
  ])
3259
3260
  ]),
3260
3261
  _: 2
@@ -3272,23 +3273,23 @@ function Pl(e, t, l, o, n, i) {
3272
3273
  }), Z({ _: 2 }, [
3273
3274
  e.$slots.item ? {
3274
3275
  name: "item",
3275
- fn: g(({ item: y, index: S, selected: b }) => [
3276
+ fn: g(({ item: y, index: B, selected: b }) => [
3276
3277
  p(e.$slots, "item", {
3277
3278
  item: i.cleanLi(y),
3278
- index: S,
3279
+ index: B,
3279
3280
  selected: b
3280
3281
  })
3281
3282
  ]),
3282
3283
  key: "0"
3283
3284
  } : {
3284
3285
  name: "default",
3285
- fn: g(({ item: y, index: S, selected: b }) => [
3286
+ fn: g(({ item: y, index: B, selected: b }) => [
3286
3287
  p(e.$slots, "default", {
3287
3288
  item: i.cleanLi(y),
3288
- index: S,
3289
+ index: B,
3289
3290
  selected: b
3290
3291
  }, () => [
3291
- B(_(y[l.itemLabelKey]), 1)
3292
+ S(_(y[l.itemLabelKey]), 1)
3292
3293
  ])
3293
3294
  ]),
3294
3295
  key: "1"
@@ -3483,7 +3484,8 @@ const zl = {
3483
3484
  detachableDefaultRoot: { default: null }
3484
3485
  },
3485
3486
  data: () => ({
3486
- docEventListenersHandlers: []
3487
+ docEventListenersHandlers: [],
3488
+ openTimeout: null
3487
3489
  }),
3488
3490
  computed: {
3489
3491
  appendToTarget() {
@@ -3519,13 +3521,16 @@ const zl = {
3519
3521
  },
3520
3522
  alignment() {
3521
3523
  return ["top", "bottom"].includes(this.position) && this.alignLeft && "left" || ["top", "bottom"].includes(this.position) && this.alignRight && "right" || ["left", "right"].includes(this.position) && this.alignTop && "top" || ["left", "right"].includes(this.position) && this.alignBottom && "bottom" || "";
3524
+ },
3525
+ shouldShowOnClick() {
3526
+ return this.$options.props.showOnHover && !this.showOnHover || this.$options.props.showOnClick && this.showOnClick;
3522
3527
  }
3523
3528
  },
3524
3529
  methods: {
3525
3530
  async open(e) {
3526
- this.delay && await new Promise((t) => setTimeout(t, this.delay)), this.detachableVisible = !0, this.activator && (this.activatorEl = e.target), await this.insertInDOM(), this.minWidth === "activator" && (this.activatorWidth = this.activatorEl.offsetWidth), this.noPosition || this.computeDetachableCoords(), this.timeoutId = setTimeout(() => {
3531
+ this.delay && await new Promise((t) => this.openTimeout = setTimeout(t, this.delay)), !(this.delay && !this.openTimeout) && (this.detachableVisible = !0, this.activator && (this.activatorEl = e.target), await this.insertInDOM(), this.minWidth === "activator" && (this.activatorWidth = this.activatorEl.offsetWidth), this.noPosition || this.computeDetachableCoords(), this.timeoutId = setTimeout(() => {
3527
3532
  this.$emit("update:modelValue", !0), this.$emit("input", !0), this.$emit("open");
3528
- }, 0), this.persistent || document.addEventListener("mousedown", this.onOutsideMousedown), this.noPosition || window.addEventListener("resize", this.onResize);
3533
+ }, 0), this.persistent || document.addEventListener("mousedown", this.onOutsideMousedown), this.noPosition || window.addEventListener("resize", this.onResize));
3529
3534
  },
3530
3535
  getActivatorCoordinates() {
3531
3536
  const { top: e, left: t, width: l, height: o } = this.activatorEl.getBoundingClientRect();
@@ -3599,7 +3604,7 @@ const zl = {
3599
3604
  var e;
3600
3605
  this.activator ? this.bindActivatorEvents() : this.$nextTick(() => {
3601
3606
  this.activator && this.bindActivatorEvents(), this.modelValue && this.open({ target: this.activatorEl });
3602
- }), this.overlay && (this.overlayEl = (e = this.$refs.overlay) == null ? void 0 : e.$el), this.modelValue && this.activator ? this.toggle({ type: this.showOnClick ? "click" : "mouseenter", target: this.activatorEl }) : this.modelValue && this.open({ target: this.activatorEl });
3607
+ }), this.overlay && (this.overlayEl = (e = this.$refs.overlay) == null ? void 0 : e.$el), this.modelValue && this.activator ? this.toggle({ type: this.shouldShowOnClick ? "click" : "mouseenter", target: this.activatorEl }) : this.modelValue && this.open({ target: this.activatorEl });
3603
3608
  },
3604
3609
  unmounted() {
3605
3610
  this.close(), this.removeFromDOM(), this.docEventListenersHandlers.length && this.docEventListenersHandlers.forEach(({ eventName: e, handler: t }) => {
@@ -3608,7 +3613,7 @@ const zl = {
3608
3613
  },
3609
3614
  watch: {
3610
3615
  modelValue(e) {
3611
- !!e !== this.detachableVisible && this.toggle({ type: this.showOnClick ? "click" : "mouseenter", target: this.activatorEl });
3616
+ !!e !== this.detachableVisible && (e ? this.open({ target: this.activatorEl }) : this.close());
3612
3617
  },
3613
3618
  appendTo() {
3614
3619
  this.removeFromDOM(), this.insertInDOM();
@@ -3807,7 +3812,7 @@ const Wl = {
3807
3812
  typeof window < "u" && "ontouchstart" in window && this.showOnHover && e.type === "click" || e.type === "click" && !this.showOnHover ? t = !t : e.type === "mouseenter" && this.showOnHover ? (this.hoveringActivator = !0, t = !0) : e.type === "mouseleave" && this.showOnHover && (this.hoveringActivator = !1, t = !1), this.timeoutId = clearTimeout(this.timeoutId), t ? this.open(e) : this.close();
3808
3813
  },
3809
3814
  async close(e = !1) {
3810
- !this.detachableVisible || this.showOnHover && !e && (await new Promise((t) => setTimeout(t, 10)), this.showOnHover && (this.hoveringMenu || this.hoveringActivator)) || (this.$emit("update:modelValue", this.detachableVisible = !1), this.$emit("input", !1), this.$emit("close"), document.removeEventListener("mousedown", this.onOutsideMousedown), window.removeEventListener("resize", this.onResize));
3815
+ this.openTimeout = clearTimeout(this.openTimeout), this.detachableVisible && (this.showOnHover && !e && (await new Promise((t) => setTimeout(t, 10)), this.showOnHover && (this.hoveringMenu || this.hoveringActivator)) || (this.$emit("update:modelValue", this.detachableVisible = !1), this.$emit("input", !1), this.$emit("close"), document.removeEventListener("mousedown", this.onOutsideMousedown), window.removeEventListener("resize", this.onResize)));
3811
3816
  }
3812
3817
  }
3813
3818
  }, Al = /* @__PURE__ */ v(Wl, [["render", El]]);
@@ -3821,7 +3826,7 @@ function Nl(e, t, l, o, n, i) {
3821
3826
  n.show ? (s(), u("div", {
3822
3827
  key: 0,
3823
3828
  class: f(["w-notification", i.classes]),
3824
- style: T(i.styles)
3829
+ style: R(i.styles)
3825
3830
  }, [
3826
3831
  I(a, C(i.alertProps, {
3827
3832
  class: i.alertClasses,
@@ -3972,8 +3977,8 @@ function Dl(e, t, l, o, n, i) {
3972
3977
  key: 0,
3973
3978
  class: f(["w-overlay", i.classes]),
3974
3979
  ref: "overlay",
3975
- style: T(l.modelValue && i.styles || null),
3976
- onKeydown: t[0] || (t[0] = E(M((...r) => i.onClick && i.onClick(...r), ["stop"]), ["escape"])),
3980
+ style: R(l.modelValue && i.styles || null),
3981
+ onKeydown: t[0] || (t[0] = W(E((...r) => i.onClick && i.onClick(...r), ["stop"]), ["escape"])),
3977
3982
  onClick: t[1] || (t[1] = (...r) => i.onClick && i.onClick(...r)),
3978
3983
  tabindex: "0"
3979
3984
  }, [
@@ -4053,7 +4058,7 @@ const Xl = {
4053
4058
  function Zl(e, t, l, o, n, i) {
4054
4059
  return s(), u("div", {
4055
4060
  class: f(["w-progress", i.classes]),
4056
- style: T(i.styles)
4061
+ style: R(i.styles)
4057
4062
  }, [
4058
4063
  l.circle ? (s(), u("svg", {
4059
4064
  key: 1,
@@ -4078,19 +4083,19 @@ function Zl(e, t, l, o, n, i) {
4078
4083
  "stroke-width": l.stroke,
4079
4084
  "stroke-linecap": l.roundCap && "round",
4080
4085
  "stroke-dasharray": e.circleCircumference,
4081
- style: T(`stroke-dashoffset: ${(1 - i.progressValue / 100) * e.circleCircumference}`)
4086
+ style: R(`stroke-dashoffset: ${(1 - i.progressValue / 100) * e.circleCircumference}`)
4082
4087
  }, null, 12, Ql)
4083
4088
  ], 8, Gl)) : (s(), u("div", {
4084
4089
  key: 0,
4085
4090
  class: f(["w-progress__progress", { full: i.progressValue === 100 }]),
4086
- style: T(`width: ${i.progressValue}%`)
4091
+ style: R(`width: ${i.progressValue}%`)
4087
4092
  }, null, 6)),
4088
4093
  l.label || e.$slots.default ? (s(), u("div", {
4089
4094
  key: 2,
4090
4095
  class: f(["w-progress__label", l.labelColor || !1])
4091
4096
  }, [
4092
4097
  p(e.$slots, "default", {}, () => [
4093
- B(_(Math.round(i.progressValue)) + _(l.circle ? "" : "%"), 1)
4098
+ S(_(Math.round(i.progressValue)) + _(l.circle ? "" : "%"), 1)
4094
4099
  ])
4095
4100
  ], 2)) : c("", !0)
4096
4101
  ], 6);
@@ -4193,7 +4198,7 @@ function di(e, t, l, o, n, i) {
4193
4198
  for: `w-radio--${e._.uid}`
4194
4199
  }, [
4195
4200
  p(e.$slots, "default", {}, () => [
4196
- B(_(l.label), 1)
4201
+ S(_(l.label), 1)
4197
4202
  ])
4198
4203
  ], 10, ai)) : l.label ? (s(), u("label", {
4199
4204
  key: 1,
@@ -4215,7 +4220,7 @@ function di(e, t, l, o, n, i) {
4215
4220
  for: `w-radio--${e._.uid}`
4216
4221
  }, [
4217
4222
  p(e.$slots, "default", {}, () => [
4218
- B(_(l.label), 1)
4223
+ S(_(l.label), 1)
4219
4224
  ])
4220
4225
  ], 10, ni)) : l.label ? (s(), u("label", {
4221
4226
  key: 1,
@@ -4230,7 +4235,7 @@ function di(e, t, l, o, n, i) {
4230
4235
  }
4231
4236
  const ui = {
4232
4237
  name: "w-radio",
4233
- mixins: [z],
4238
+ mixins: [M],
4234
4239
  inject: { wRadios: { default: null } },
4235
4240
  props: {
4236
4241
  modelValue: { default: !1 },
@@ -4333,7 +4338,7 @@ function pi(e, t, l, o, n, i) {
4333
4338
  }
4334
4339
  const fi = {
4335
4340
  name: "w-radios",
4336
- mixins: [z],
4341
+ mixins: [M],
4337
4342
  props: {
4338
4343
  items: { type: Array, required: !0 },
4339
4344
  modelValue: { type: [String, Number, Boolean] },
@@ -4416,7 +4421,7 @@ function yi(e, t, l, o, n, i) {
4416
4421
  class: f(["w-icon", `${l.icon} ${l.color}`]),
4417
4422
  role: "icon",
4418
4423
  "aria-hidden": "true",
4419
- style: T(i.halfStarStyle)
4424
+ style: R(i.halfStarStyle)
4420
4425
  }, null, 6)) : c("", !0)
4421
4426
  ], 42, bi)
4422
4427
  ], 64))), 128))
@@ -4426,7 +4431,7 @@ function yi(e, t, l, o, n, i) {
4426
4431
  }
4427
4432
  const wi = {
4428
4433
  name: "w-rating",
4429
- mixins: [z],
4434
+ mixins: [M],
4430
4435
  props: {
4431
4436
  modelValue: {},
4432
4437
  max: { type: [Number, String], default: 5 },
@@ -4534,7 +4539,7 @@ function ki(e, t, l, o, n, i) {
4534
4539
  w("div", {
4535
4540
  class: "w-scrollbar__thumb",
4536
4541
  ref: "thumb",
4537
- style: T(i.thumbStyles)
4542
+ style: R(i.thumbStyles)
4538
4543
  }, null, 4)
4539
4544
  ], 34)
4540
4545
  ], 64);
@@ -4654,15 +4659,15 @@ const _i = {
4654
4659
  const { top: e, left: t } = this.$refs.scrollable.getBoundingClientRect();
4655
4660
  this.scrollable.top = e, this.scrollable.left = t, this.$el.parentNode.style.position = "relative", this.$el.parentNode.style[this.m.maxWidthOrHeight] = `${this[this.m.widthOrHeight]}px`;
4656
4661
  }
4657
- }, Bi = /* @__PURE__ */ v(Ci, [["render", ki]]), Si = ["for"], $i = ["aria-expanded", "aria-owns", "aria-activedescendant"], Vi = {
4662
+ }, Si = /* @__PURE__ */ v(Ci, [["render", ki]]), Bi = ["for"], $i = ["aria-expanded", "aria-owns", "aria-activedescendant"], Vi = {
4658
4663
  key: 1,
4659
4664
  class: "w-select__selection-slot"
4660
- }, Ii = ["contenteditable", "id", "disabled", "tabindex", "innerHTML"], Ri = ["value", "name"], Ti = ["for"], Li = ["for"];
4665
+ }, Ii = ["contenteditable", "id", "disabled", "tabindex", "innerHTML"], Ti = ["value", "name"], Ri = ["for"], Li = ["for"];
4661
4666
  function xi(e, t, l, o, n, i) {
4662
4667
  const a = $("w-icon"), r = $("w-list"), d = $("w-menu");
4663
4668
  return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.selectionString, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: e.isFocused }, {
4664
4669
  valid: e.valid,
4665
- "onUpdate:valid": t[11] || (t[11] = (h) => e.valid = h),
4670
+ "onUpdate:valid": t[10] || (t[10] = (h) => e.valid = h),
4666
4671
  onReset: i.onReset,
4667
4672
  wrap: i.hasLabel && l.labelPosition !== "inside",
4668
4673
  class: i.classes
@@ -4675,14 +4680,14 @@ function xi(e, t, l, o, n, i) {
4675
4680
  for: `w-select--${e._.uid}`
4676
4681
  }, [
4677
4682
  p(e.$slots, "default", {}, () => [
4678
- B(_(l.label), 1)
4683
+ S(_(l.label), 1)
4679
4684
  ])
4680
- ], 10, Si)) : c("", !0)
4685
+ ], 10, Bi)) : c("", !0)
4681
4686
  ], 64)) : c("", !0),
4682
4687
  I(d, C({
4683
4688
  modelValue: e.showMenu,
4684
4689
  "onUpdate:modelValue": t[9] || (t[9] = (h) => e.showMenu = h),
4685
- onClose: t[10] || (t[10] = (h) => !h && i.closeMenu()),
4690
+ onClose: i.closeMenu,
4686
4691
  "menu-class": `w-select__menu ${l.menuClass || ""}`,
4687
4692
  transition: "slide-fade-down",
4688
4693
  "append-to": (l.menuProps || {}).appendTo !== void 0 ? (l.menuProps || {}).appendTo : void 0,
@@ -4691,15 +4696,15 @@ function xi(e, t, l, o, n, i) {
4691
4696
  "min-width": "activator"
4692
4697
  }, l.menuProps || {}), {
4693
4698
  activator: g(({ on: h }) => [
4694
- w("div", {
4695
- class: f(["w-select__selection-wrap", i.inputWrapClasses]),
4699
+ w("div", C({ class: "w-select__selection-wrap" }, z(h, !0), {
4696
4700
  onClick: t[5] || (t[5] = (y) => !e.isDisabled && !e.isReadonly && i.onInputFieldClick()),
4697
4701
  role: "button",
4698
4702
  "aria-haspopup": "listbox",
4699
4703
  "aria-expanded": e.showMenu ? "true" : "false",
4700
4704
  "aria-owns": `w-select-menu--${e._.uid}`,
4701
- "aria-activedescendant": `w-select-menu--${e._.uid}_item-1`
4702
- }, [
4705
+ "aria-activedescendant": `w-select-menu--${e._.uid}_item-1`,
4706
+ class: i.inputWrapClasses
4707
+ }), [
4703
4708
  l.innerIconLeft ? (s(), m(a, {
4704
4709
  key: 0,
4705
4710
  class: "w-select__icon w-select__icon--inner-left",
@@ -4707,7 +4712,7 @@ function xi(e, t, l, o, n, i) {
4707
4712
  onClick: t[0] || (t[0] = (y) => e.$emit("click:inner-icon-left", y))
4708
4713
  }, {
4709
4714
  default: g(() => [
4710
- B(_(l.innerIconLeft), 1)
4715
+ S(_(l.innerIconLeft), 1)
4711
4716
  ]),
4712
4717
  _: 1
4713
4718
  })) : c("", !0),
@@ -4730,12 +4735,12 @@ function xi(e, t, l, o, n, i) {
4730
4735
  tabindex: e.tabindex || null,
4731
4736
  innerHTML: e.$slots.selection ? "" : i.selectionString || l.placeholder
4732
4737
  }, null, 42, Ii),
4733
- (s(!0), u(k, null, L(e.inputValue.length ? e.inputValue : [{}], (y, S) => (s(), u("input", {
4734
- key: S,
4738
+ (s(!0), u(k, null, L(e.inputValue.length ? e.inputValue : [{}], (y, B) => (s(), u("input", {
4739
+ key: B,
4735
4740
  type: "hidden",
4736
4741
  value: y.value === void 0 ? "" : y.value.toString(),
4737
4742
  name: e.inputName + (l.multiple ? "[]" : "")
4738
- }, null, 8, Ri))), 128)),
4743
+ }, null, 8, Ti))), 128)),
4739
4744
  l.labelPosition === "inside" && i.showLabelInside ? (s(), u(k, { key: 2 }, [
4740
4745
  e.$slots.default || l.label ? (s(), u("label", {
4741
4746
  key: 0,
@@ -4743,9 +4748,9 @@ function xi(e, t, l, o, n, i) {
4743
4748
  for: `w-select--${e._.uid}`
4744
4749
  }, [
4745
4750
  p(e.$slots, "default", {}, () => [
4746
- B(_(l.label), 1)
4751
+ S(_(l.label), 1)
4747
4752
  ])
4748
- ], 10, Ti)) : c("", !0)
4753
+ ], 10, Ri)) : c("", !0)
4749
4754
  ], 64)) : c("", !0),
4750
4755
  l.innerIconRight ? (s(), m(a, {
4751
4756
  key: 3,
@@ -4754,11 +4759,11 @@ function xi(e, t, l, o, n, i) {
4754
4759
  onClick: t[4] || (t[4] = (y) => e.$emit("click:inner-icon-right", y))
4755
4760
  }, {
4756
4761
  default: g(() => [
4757
- B(_(l.innerIconRight), 1)
4762
+ S(_(l.innerIconRight), 1)
4758
4763
  ]),
4759
4764
  _: 1
4760
4765
  })) : c("", !0)
4761
- ], 10, $i)
4766
+ ], 16, $i)
4762
4767
  ]),
4763
4768
  default: g(() => [
4764
4769
  I(r, {
@@ -4782,28 +4787,28 @@ function xi(e, t, l, o, n, i) {
4782
4787
  }, Z({ _: 2 }, [
4783
4788
  L(l.items.length, (h) => ({
4784
4789
  name: `item.${h}`,
4785
- fn: g(({ item: y, selected: S, index: b }) => [
4786
- e.$slots[`item.${h}`] && e.$slots[`item.${h}`](y, S, b) ? p(e.$slots, `item.${h}`, {
4790
+ fn: g(({ item: y, selected: B, index: b }) => [
4791
+ e.$slots[`item.${h}`] && e.$slots[`item.${h}`](y, B, b) ? p(e.$slots, `item.${h}`, {
4787
4792
  key: 0,
4788
4793
  item: y,
4789
- selected: S,
4794
+ selected: B,
4790
4795
  index: b
4791
4796
  }, () => [
4792
- B(_(y[l.itemLabelKey]), 1)
4797
+ S(_(y[l.itemLabelKey]), 1)
4793
4798
  ]) : p(e.$slots, "item", {
4794
4799
  key: 1,
4795
4800
  item: y,
4796
- selected: S,
4801
+ selected: B,
4797
4802
  index: b
4798
4803
  }, () => [
4799
- B(_(y[l.itemLabelKey]), 1)
4804
+ S(_(y[l.itemLabelKey]), 1)
4800
4805
  ])
4801
4806
  ])
4802
4807
  }))
4803
4808
  ]), 1032, ["model-value", "onUpdate:modelValue", "onItemSelect", "items", "multiple", "add-ids", "no-unselect", "selection-color", "item-color-key"])
4804
4809
  ]),
4805
4810
  _: 3
4806
- }, 16, ["modelValue", "menu-class", "append-to"]),
4811
+ }, 16, ["modelValue", "onClose", "menu-class", "append-to"]),
4807
4812
  l.labelPosition === "right" ? (s(), u(k, { key: 1 }, [
4808
4813
  e.$slots.default || l.label ? (s(), u("label", {
4809
4814
  key: 0,
@@ -4811,7 +4816,7 @@ function xi(e, t, l, o, n, i) {
4811
4816
  for: `w-select--${e._.uid}`
4812
4817
  }, [
4813
4818
  p(e.$slots, "default", {}, () => [
4814
- B(_(l.label), 1)
4819
+ S(_(l.label), 1)
4815
4820
  ])
4816
4821
  ], 10, Li)) : c("", !0)
4817
4822
  ], 64)) : c("", !0)
@@ -4821,7 +4826,7 @@ function xi(e, t, l, o, n, i) {
4821
4826
  }
4822
4827
  const Oi = {
4823
4828
  name: "w-select",
4824
- mixins: [z],
4829
+ mixins: [M],
4825
4830
  props: {
4826
4831
  items: { type: Array, required: !0 },
4827
4832
  modelValue: {},
@@ -5033,11 +5038,11 @@ function Ui(e, t, l, o, n, i) {
5033
5038
  }, [
5034
5039
  w("div", {
5035
5040
  class: f(["w-slider__range", i.rangeClasses]),
5036
- style: T(i.rangeStyles)
5041
+ style: R(i.rangeStyles)
5037
5042
  }, null, 6),
5038
5043
  w("div", {
5039
5044
  class: "w-slider__thumb",
5040
- style: T(i.thumbStyles)
5045
+ style: R(i.thumbStyles)
5041
5046
  }, [
5042
5047
  w("button", {
5043
5048
  class: f(["w-slider__thumb-button", [l.color]]),
@@ -5050,11 +5055,11 @@ function Ui(e, t, l, o, n, i) {
5050
5055
  "aria-readonly": e.isReadonly ? "true" : "false",
5051
5056
  tabindex: e.isDisabled || e.isReadonly ? -1 : null,
5052
5057
  onKeydown: [
5053
- t[0] || (t[0] = E((a) => i.onKeyDown(a, -1), ["left"])),
5054
- t[1] || (t[1] = E((a) => i.onKeyDown(a, 1), ["right"]))
5058
+ t[0] || (t[0] = W((a) => i.onKeyDown(a, -1), ["left"])),
5059
+ t[1] || (t[1] = W((a) => i.onKeyDown(a, 1), ["right"]))
5055
5060
  ],
5056
5061
  onFocus: t[2] || (t[2] = (a) => e.$emit("focus", a)),
5057
- onClick: t[3] || (t[3] = M(() => {
5062
+ onClick: t[3] || (t[3] = E(() => {
5058
5063
  }, ["prevent"]))
5059
5064
  }, null, 42, Ai),
5060
5065
  l.thumbLabel ? (s(), u("label", {
@@ -5064,13 +5069,13 @@ function Ui(e, t, l, o, n, i) {
5064
5069
  }, [
5065
5070
  l.thumbLabel === "droplet" ? (s(), u("div", Ki, [
5066
5071
  p(e.$slots, "label", { value: e.rangeValueScaled }, () => [
5067
- B(_(~~e.rangeValueScaled), 1)
5072
+ S(_(~~e.rangeValueScaled), 1)
5068
5073
  ])
5069
5074
  ])) : p(e.$slots, "label", {
5070
5075
  key: 1,
5071
5076
  value: e.rangeValueScaled
5072
5077
  }, () => [
5073
- B(_(~~e.rangeValueScaled), 1)
5078
+ S(_(~~e.rangeValueScaled), 1)
5074
5079
  ])
5075
5080
  ], 10, Ni)) : c("", !0)
5076
5081
  ], 4)
@@ -5084,7 +5089,7 @@ function Ui(e, t, l, o, n, i) {
5084
5089
  class: "w-slider__step-label",
5085
5090
  key: a,
5086
5091
  onClick: (r) => i.onStepLabelClick(a * (100 / i.numberOfSteps)),
5087
- style: T(`left: ${a * (100 / i.numberOfSteps)}%`)
5092
+ style: R(`left: ${a * (100 / i.numberOfSteps)}%`)
5088
5093
  }, _(i.percentToScaled(a * (100 / i.numberOfSteps))), 13, Di))), 128)),
5089
5094
  ~~i.numberOfSteps !== i.numberOfSteps ? (s(), u("div", {
5090
5095
  key: 0,
@@ -5112,7 +5117,7 @@ function Ui(e, t, l, o, n, i) {
5112
5117
  }
5113
5118
  const qi = {
5114
5119
  name: "w-slider",
5115
- mixins: [z],
5120
+ mixins: [M],
5116
5121
  props: {
5117
5122
  modelValue: { type: Number, default: 0 },
5118
5123
  color: { type: String, default: "primary" },
@@ -5249,7 +5254,7 @@ function Gi(e, t, l, o, n, i) {
5249
5254
  return l.modelValue || l.modelValue === void 0 ? (s(), u("div", {
5250
5255
  key: 0,
5251
5256
  class: f(["w-spinner", i.classes]),
5252
- style: T(i.styles)
5257
+ style: R(i.styles)
5253
5258
  }, [
5254
5259
  i.isThreeDots ? (s(), u("span", Yi)) : c("", !0)
5255
5260
  ], 6)) : c("", !0);
@@ -5355,7 +5360,7 @@ function ns(e, t, l, o, n, i) {
5355
5360
  for: `w-switch--${e._.uid}`
5356
5361
  }, [
5357
5362
  p(e.$slots, "default", {}, () => [
5358
- B(_(l.label), 1)
5363
+ S(_(l.label), 1)
5359
5364
  ])
5360
5365
  ], 10, is)) : c("", !0)
5361
5366
  ], 64)) : c("", !0),
@@ -5364,7 +5369,7 @@ function ns(e, t, l, o, n, i) {
5364
5369
  onClick: t[2] || (t[2] = (r) => {
5365
5370
  e.$refs.input.focus(), e.$refs.input.click();
5366
5371
  })
5367
- }, W(e.$attrs, !0), { class: i.inputClasses }), [
5372
+ }, z(e.$attrs, !0), { class: i.inputClasses }), [
5368
5373
  e.$slots.track ? (s(), u("div", ss, [
5369
5374
  p(e.$slots, "track")
5370
5375
  ])) : c("", !0),
@@ -5383,7 +5388,7 @@ function ns(e, t, l, o, n, i) {
5383
5388
  for: `w-switch--${e._.uid}`
5384
5389
  }, [
5385
5390
  p(e.$slots, "default", {}, () => [
5386
- B(_(l.label), 1)
5391
+ S(_(l.label), 1)
5387
5392
  ])
5388
5393
  ], 10, os)) : c("", !0)
5389
5394
  ], 64)) : c("", !0)
@@ -5393,7 +5398,7 @@ function ns(e, t, l, o, n, i) {
5393
5398
  }
5394
5399
  const rs = {
5395
5400
  name: "w-switch",
5396
- mixins: [z],
5401
+ mixins: [M],
5397
5402
  props: {
5398
5403
  modelValue: { default: !1 },
5399
5404
  label: { type: String, default: "" },
@@ -5487,7 +5492,7 @@ function vs(e, t, l, o, n, i) {
5487
5492
  onClick: (h) => !r._disabled && r._uid !== e.activeTabUid && i.openTab(r._uid),
5488
5493
  onFocus: (h) => e.$emit("focus", i.getOriginalItem(r)),
5489
5494
  tabindex: !r._disabled && 0,
5490
- onKeypress: E((h) => !r._disabled && i.openTab(r._uid), ["enter"]),
5495
+ onKeypress: W((h) => !r._disabled && i.openTab(r._uid), ["enter"]),
5491
5496
  "aria-selected": r._uid === e.activeTabUid ? "true" : "false",
5492
5497
  role: "tab"
5493
5498
  }, [
@@ -5513,7 +5518,7 @@ function vs(e, t, l, o, n, i) {
5513
5518
  !l.noSlider && !l.card ? (s(), u("div", {
5514
5519
  key: 1,
5515
5520
  class: f(["w-tabs__slider", l.sliderColor]),
5516
- style: T(i.sliderStyles)
5521
+ style: R(i.sliderStyles)
5517
5522
  }, null, 6)) : c("", !0)
5518
5523
  ], 2),
5519
5524
  e.tabs.length ? (s(), u("div", bs, [
@@ -5770,10 +5775,10 @@ const ks = {
5770
5775
  e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
5771
5776
  }
5772
5777
  }
5773
- }, _s = /* @__PURE__ */ v(ks, [["render", vs]]), Cs = { ref: "colgroup" }, Bs = ["width"], Ss = { key: 0 }, $s = ["onClick"], Vs = ["innerHTML"], Is = {
5778
+ }, _s = /* @__PURE__ */ v(ks, [["render", vs]]), Cs = { ref: "colgroup" }, Ss = ["width"], Bs = { key: 0 }, $s = ["onClick"], Vs = ["innerHTML"], Is = {
5774
5779
  key: 0,
5775
5780
  class: "w-table__progress-bar"
5776
- }, Rs = ["colspan"], Ts = {
5781
+ }, Ts = ["colspan"], Rs = {
5777
5782
  key: 0,
5778
5783
  class: "w-table__progress-bar"
5779
5784
  }, Ls = ["colspan"], xs = { class: "w-table__loading-text" }, Os = {
@@ -5796,7 +5801,7 @@ const ks = {
5796
5801
  class: "w-table__row w-table__pagination-wrap"
5797
5802
  }, qs = ["colspan"], Xs = { class: "w-table__pagination w-pagination" }, Ys = { class: "pages-wrap" }, Gs = { class: "w-pagination__results" };
5798
5803
  function Js(e, t, l, o, n, i) {
5799
- const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), S = $("w-button");
5804
+ const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), B = $("w-button");
5800
5805
  return s(), u("div", {
5801
5806
  class: f(["w-table-wrap", i.wrapClasses])
5802
5807
  }, [
@@ -5807,17 +5812,17 @@ function Js(e, t, l, o, n, i) {
5807
5812
  onMouseout: t[7] || (t[7] = (...b) => i.onMouseOut && i.onMouseOut(...b))
5808
5813
  }, [
5809
5814
  w("colgroup", Cs, [
5810
- (s(!0), u(k, null, L(l.headers, (b, R) => (s(), u("col", {
5811
- class: f(["w-table__col", i.colClasses[R]]),
5812
- key: R,
5815
+ (s(!0), u(k, null, L(l.headers, (b, T) => (s(), u("col", {
5816
+ class: f(["w-table__col", i.colClasses[T]]),
5817
+ key: T,
5813
5818
  width: b.width || null
5814
- }, null, 10, Bs))), 128))
5819
+ }, null, 10, Ss))), 128))
5815
5820
  ], 512),
5816
- l.noHeaders ? c("", !0) : (s(), u("thead", Ss, [
5821
+ l.noHeaders ? c("", !0) : (s(), u("thead", Bs, [
5817
5822
  w("tr", null, [
5818
- (s(!0), u(k, null, L(l.headers, (b, R) => (s(), u("th", {
5823
+ (s(!0), u(k, null, L(l.headers, (b, T) => (s(), u("th", {
5819
5824
  class: f(["w-table__header", i.headerClasses(b)]),
5820
- key: R,
5825
+ key: T,
5821
5826
  onClick: (x) => !e.colResizing.dragging && b.sortable !== !1 && i.sortTable(b)
5822
5827
  }, [
5823
5828
  b.sortable !== !1 && b.align === "right" ? (s(), m(a, {
@@ -5825,7 +5830,7 @@ function Js(e, t, l, o, n, i) {
5825
5830
  class: f(["w-table__header-sort", i.headerSortClasses(b)])
5826
5831
  }, {
5827
5832
  default: g(() => [
5828
- B("wi-arrow-down")
5833
+ S("wi-arrow-down")
5829
5834
  ]),
5830
5835
  _: 2
5831
5836
  }, 1032, ["class"])) : c("", !0),
@@ -5834,9 +5839,9 @@ function Js(e, t, l, o, n, i) {
5834
5839
  key: 0,
5835
5840
  header: b,
5836
5841
  label: b.label,
5837
- index: R + 1
5842
+ index: T + 1
5838
5843
  }, () => [
5839
- B(_(b.label || ""), 1)
5844
+ S(_(b.label || ""), 1)
5840
5845
  ]) : (s(), u("span", {
5841
5846
  key: 1,
5842
5847
  innerHTML: b.label || ""
@@ -5847,14 +5852,14 @@ function Js(e, t, l, o, n, i) {
5847
5852
  class: f(["w-table__header-sort", i.headerSortClasses(b)])
5848
5853
  }, {
5849
5854
  default: g(() => [
5850
- B("wi-arrow-down")
5855
+ S("wi-arrow-down")
5851
5856
  ]),
5852
5857
  _: 2
5853
5858
  }, 1032, ["class"])) : c("", !0),
5854
- R < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
5859
+ T < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
5855
5860
  key: 3,
5856
- class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === R, "w-table__col-resizer--active": e.colResizing.columnIndex === R }]),
5857
- onClick: t[0] || (t[0] = M(() => {
5861
+ class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === T, "w-table__col-resizer--active": e.colResizing.columnIndex === T }]),
5862
+ onClick: t[0] || (t[0] = E(() => {
5858
5863
  }, ["stop"]))
5859
5864
  }, null, 2)) : c("", !0)
5860
5865
  ], 10, $s))), 128))
@@ -5866,21 +5871,21 @@ function Js(e, t, l, o, n, i) {
5866
5871
  colspan: l.headers.length
5867
5872
  }, [
5868
5873
  I(r, { tile: "" })
5869
- ], 8, Rs)
5874
+ ], 8, Ts)
5870
5875
  ])) : c("", !0)
5871
5876
  ]),
5872
5877
  _: 1
5873
5878
  })
5874
5879
  ])),
5875
5880
  w("tbody", null, [
5876
- l.loading === !0 ? (s(), u("tr", Ts, [
5881
+ l.loading === !0 ? (s(), u("tr", Rs, [
5877
5882
  w("td", {
5878
5883
  colspan: l.headers.length
5879
5884
  }, [
5880
5885
  I(r, { tile: "" }),
5881
5886
  w("div", xs, [
5882
5887
  p(e.$slots, "loading", {}, () => [
5883
- B("Loading...")
5888
+ S("Loading...")
5884
5889
  ])
5885
5890
  ])
5886
5891
  ], 8, Ls)
@@ -5890,21 +5895,21 @@ function Js(e, t, l, o, n, i) {
5890
5895
  colspan: l.headers.length
5891
5896
  }, [
5892
5897
  p(e.$slots, "no-data", {}, () => [
5893
- B("No data to show.")
5898
+ S("No data to show.")
5894
5899
  ])
5895
5900
  ], 8, Ps)
5896
5901
  ])),
5897
- i.tableItems.length && l.loading !== !0 ? (s(!0), u(k, { key: 2 }, L(i.paginatedItems, (b, R) => (s(), u(k, { key: R }, [
5902
+ i.tableItems.length && l.loading !== !0 ? (s(!0), u(k, { key: 2 }, L(i.paginatedItems, (b, T) => (s(), u(k, { key: T }, [
5898
5903
  e.$slots.item ? p(e.$slots, "item", {
5899
5904
  key: 0,
5900
5905
  item: b,
5901
- index: R + 1,
5902
- select: () => i.doSelectRow(b, R),
5906
+ index: T + 1,
5907
+ select: () => i.doSelectRow(b, T),
5903
5908
  classes: { "w-table__row": !0, "w-table__row--selected": i.selectedRowsByUid[b._uid] !== void 0, "w-table__row--expanded": i.expandedRowsByUid[b._uid] !== void 0 }
5904
5909
  }) : (s(), u("tr", {
5905
5910
  key: 1,
5906
5911
  class: f(["w-table__row", { "w-table__row--selected": i.selectedRowsByUid[b._uid] !== void 0, "w-table__row--expanded": i.expandedRowsByUid[b._uid] !== void 0 }]),
5907
- onClick: (x) => i.doSelectRow(b, R)
5912
+ onClick: (x) => i.doSelectRow(b, T)
5908
5913
  }, [
5909
5914
  (s(!0), u(k, null, L(l.headers, (x, P) => (s(), u(k, null, [
5910
5915
  e.$slots[`item-cell.${x.key}`] || e.$slots[`item-cell.${P + 1}`] || e.$slots["item-cell"] ? (s(), u("td", {
@@ -5917,19 +5922,19 @@ function Js(e, t, l, o, n, i) {
5917
5922
  header: x,
5918
5923
  item: b,
5919
5924
  label: b[x.key] || "",
5920
- index: R + 1
5925
+ index: T + 1
5921
5926
  }) : e.$slots[`item-cell.${P + 1}`] ? p(e.$slots, `item-cell.${P + 1}`, {
5922
5927
  key: 1,
5923
5928
  header: x,
5924
5929
  item: b,
5925
5930
  label: b[x.key] || "",
5926
- index: R + 1
5931
+ index: T + 1
5927
5932
  }) : e.$slots["item-cell"] ? p(e.$slots, "item-cell", {
5928
5933
  key: 2,
5929
5934
  header: x,
5930
5935
  item: b,
5931
5936
  label: b[x.key] || "",
5932
- index: R + 1
5937
+ index: T + 1
5933
5938
  }) : c("", !0),
5934
5939
  P < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
5935
5940
  key: 3,
@@ -5960,12 +5965,12 @@ function Js(e, t, l, o, n, i) {
5960
5965
  i.expandedRowsByUid[b._uid] ? (s(), u("div", Ks, [
5961
5966
  p(e.$slots, "row-expansion", {
5962
5967
  item: b,
5963
- index: R + 1
5968
+ index: T + 1
5964
5969
  })
5965
5970
  ])) : c("", !0),
5966
- R < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
5971
+ T < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
5967
5972
  key: 1,
5968
- class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === R, "w-table__col-resizer--active": e.colResizing.columnIndex === e.j }])
5973
+ class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === T, "w-table__col-resizer--active": e.colResizing.columnIndex === e.j }])
5969
5974
  }, null, 2)) : c("", !0)
5970
5975
  ]),
5971
5976
  _: 2
@@ -6008,7 +6013,7 @@ function Js(e, t, l, o, n, i) {
6008
6013
  "label-color": "inherit"
6009
6014
  }, null, 8, ["modelValue", "items"])) : c("", !0),
6010
6015
  w("div", Ys, [
6011
- I(S, {
6016
+ I(B, {
6012
6017
  class: "w-pagination__arrow w-pagination__arrow--prev",
6013
6018
  onClick: t[3] || (t[3] = (b) => i.goToPage("-1")),
6014
6019
  disabled: e.paginationConfig.page <= 1,
@@ -6016,19 +6021,19 @@ function Js(e, t, l, o, n, i) {
6016
6021
  text: "",
6017
6022
  lg: ""
6018
6023
  }, null, 8, ["disabled"]),
6019
- (s(!0), u(k, null, L(e.paginationConfig.pagesCount, (b) => (s(), m(S, {
6024
+ (s(!0), u(k, null, L(e.paginationConfig.pagesCount, (b) => (s(), m(B, {
6020
6025
  class: f(["w-pagination__page", { "w-pagination__page--active": b === e.paginationConfig.page }]),
6021
6026
  key: b,
6022
- onClick: (R) => b !== e.paginationConfig.page && i.goToPage(b),
6027
+ onClick: (T) => b !== e.paginationConfig.page && i.goToPage(b),
6023
6028
  round: "",
6024
6029
  lg: ""
6025
6030
  }, {
6026
6031
  default: g(() => [
6027
- B(_(b), 1)
6032
+ S(_(b), 1)
6028
6033
  ]),
6029
6034
  _: 2
6030
6035
  }, 1032, ["onClick", "class"]))), 128)),
6031
- I(S, {
6036
+ I(B, {
6032
6037
  class: "w-pagination__arrow w-pagination__arrow--next",
6033
6038
  onClick: t[4] || (t[4] = (b) => i.goToPage("+1")),
6034
6039
  disabled: e.paginationConfig.page >= e.paginationConfig.pagesCount,
@@ -6245,12 +6250,12 @@ const ge = 15, Qs = {
6245
6250
  this.colResizing.dragging = !0;
6246
6251
  const a = e.pageX - t, r = n + i, d = n + a, h = i - a;
6247
6252
  l.style.width = n + a + "px", o.style.width = i - a + "px";
6248
- const y = a < 0 && l.offsetWidth > d || l.offsetWidth <= ge, S = a > 0 && o.offsetWidth > h;
6253
+ const y = a < 0 && l.offsetWidth > d || l.offsetWidth <= ge, B = a > 0 && o.offsetWidth > h;
6249
6254
  if (y) {
6250
6255
  const b = Math.max(l.offsetWidth, ge);
6251
6256
  l.style.width = b + "px", o.style.width = r - b + "px";
6252
6257
  } else
6253
- S && (l.style.width = r - o.offsetWidth + "px", o.style.width = o.offsetWidth + "px");
6258
+ B && (l.style.width = r - o.offsetWidth + "px", o.style.width = o.offsetWidth + "px");
6254
6259
  },
6255
6260
  onResizerMouseUp() {
6256
6261
  document.removeEventListener("mousemove", this.onResizerMouseMove), document.removeEventListener("mouseup", this.onResizerMouseUp), setTimeout(() => {
@@ -6332,11 +6337,11 @@ const ge = 15, Qs = {
6332
6337
  }
6333
6338
  }, Zs = /* @__PURE__ */ v(Qs, [["render", Js]]), ea = ["role", "aria-pressed", "tabindex"];
6334
6339
  function ta(e, t, l, o, n, i) {
6335
- return s(), u("span", C({ class: "w-tag" }, W(e.$attrs, !0), {
6340
+ return s(), u("span", C({ class: "w-tag" }, z(e.$attrs, !0), {
6336
6341
  onClick: t[1] || (t[1] = (a) => {
6337
6342
  e.$emit("update:modelValue", !l.modelValue), e.$emit("input", !l.modelValue);
6338
6343
  }),
6339
- onKeypress: t[2] || (t[2] = E((a) => {
6344
+ onKeypress: t[2] || (t[2] = W((a) => {
6340
6345
  e.$emit("update:modelValue", !l.modelValue), e.$emit("input", !l.modelValue);
6341
6346
  }, ["enter"])),
6342
6347
  class: i.classes,
@@ -6349,7 +6354,7 @@ function ta(e, t, l, o, n, i) {
6349
6354
  l.closable && l.modelValue ? (s(), u("i", {
6350
6355
  key: 0,
6351
6356
  class: "w-icon w-tag__closable wi-cross",
6352
- onClick: t[0] || (t[0] = M((a) => {
6357
+ onClick: t[0] || (t[0] = E((a) => {
6353
6358
  e.$emit("update:modelValue", !1), e.$emit("input", !1);
6354
6359
  }, ["stop"])),
6355
6360
  role: "icon",
@@ -6426,7 +6431,7 @@ function ra(e, t, l, o, n, i) {
6426
6431
  for: `w-textarea--${e._.uid}`
6427
6432
  }, [
6428
6433
  p(e.$slots, "default", {}, () => [
6429
- B(_(l.label), 1)
6434
+ S(_(l.label), 1)
6430
6435
  ])
6431
6436
  ], 10, sa)) : c("", !0)
6432
6437
  ], 64)) : c("", !0),
@@ -6441,7 +6446,7 @@ function ra(e, t, l, o, n, i) {
6441
6446
  onClick: t[0] || (t[0] = (r) => e.$emit("click:inner-icon-left", r))
6442
6447
  }, {
6443
6448
  default: g(() => [
6444
- B(_(l.innerIconLeft), 1)
6449
+ S(_(l.innerIconLeft), 1)
6445
6450
  ]),
6446
6451
  _: 1
6447
6452
  }, 8, ["for"])) : c("", !0),
@@ -6449,7 +6454,7 @@ function ra(e, t, l, o, n, i) {
6449
6454
  class: "w-textarea__textarea",
6450
6455
  ref: "textarea",
6451
6456
  "onUpdate:modelValue": t[1] || (t[1] = (r) => n.inputValue = r)
6452
- }, W(i.listeners, !0), {
6457
+ }, z(i.listeners, !0), {
6453
6458
  onInput: t[2] || (t[2] = (...r) => i.onInput && i.onInput(...r)),
6454
6459
  onFocus: t[3] || (t[3] = (...r) => i.onFocus && i.onFocus(...r)),
6455
6460
  onBlur: t[4] || (t[4] = (...r) => i.onBlur && i.onBlur(...r)),
@@ -6473,7 +6478,7 @@ function ra(e, t, l, o, n, i) {
6473
6478
  for: `w-textarea--${e._.uid}`
6474
6479
  }, [
6475
6480
  p(e.$slots, "default", {}, () => [
6476
- B(_(l.label), 1)
6481
+ S(_(l.label), 1)
6477
6482
  ])
6478
6483
  ], 10, oa)) : c("", !0)
6479
6484
  ], 64)) : c("", !0),
@@ -6485,7 +6490,7 @@ function ra(e, t, l, o, n, i) {
6485
6490
  onClick: t[5] || (t[5] = (r) => e.$emit("click:inner-icon-right", r))
6486
6491
  }, {
6487
6492
  default: g(() => [
6488
- B(_(l.innerIconRight), 1)
6493
+ S(_(l.innerIconRight), 1)
6489
6494
  ]),
6490
6495
  _: 1
6491
6496
  }, 8, ["for"])) : c("", !0)
@@ -6497,7 +6502,7 @@ function ra(e, t, l, o, n, i) {
6497
6502
  for: `w-textarea--${e._.uid}`
6498
6503
  }, [
6499
6504
  p(e.$slots, "default", {}, () => [
6500
- B(_(l.label), 1)
6505
+ S(_(l.label), 1)
6501
6506
  ])
6502
6507
  ], 10, na)) : c("", !0)
6503
6508
  ], 64)) : c("", !0)
@@ -6507,7 +6512,7 @@ function ra(e, t, l, o, n, i) {
6507
6512
  }
6508
6513
  const da = {
6509
6514
  name: "w-textarea",
6510
- mixins: [z],
6515
+ mixins: [M],
6511
6516
  props: {
6512
6517
  modelValue: { default: "" },
6513
6518
  label: { type: String },
@@ -6634,7 +6639,7 @@ function pa(e, t, l, o, n, i) {
6634
6639
  class: f(["w-timeline-item__bullet", { [a[l.itemColorKey] || l.color]: a[l.itemColorKey] || l.color }])
6635
6640
  }, {
6636
6641
  default: g(() => [
6637
- B(_(a[l.itemIconKey] || l.icon), 1)
6642
+ S(_(a[l.itemIconKey] || l.icon), 1)
6638
6643
  ]),
6639
6644
  _: 2
6640
6645
  }, 1032, ["class"])),
@@ -6685,7 +6690,7 @@ const fa = {
6685
6690
  function ma(e, t, l, o, n, i) {
6686
6691
  return s(), u("div", {
6687
6692
  class: f(["w-toolbar", i.classes]),
6688
- style: T(i.styles)
6693
+ style: R(i.styles)
6689
6694
  }, [
6690
6695
  p(e.$slots, "default")
6691
6696
  ], 6);
@@ -6752,7 +6757,7 @@ function wa(e, t, l, o, n, i) {
6752
6757
  class: f(["w-tooltip", i.classes]),
6753
6758
  ref: "detachable",
6754
6759
  key: e._.uid,
6755
- style: T(i.styles)
6760
+ style: R(i.styles)
6756
6761
  }, [
6757
6762
  p(e.$slots, "default")
6758
6763
  ], 6)) : c("", !0)
@@ -6875,8 +6880,8 @@ const Ca = {
6875
6880
  appear: { type: Boolean },
6876
6881
  duration: { type: [Number, String] }
6877
6882
  }
6878
- }, Ba = /* @__PURE__ */ v(Ca, [["render", _a]]);
6879
- function Sa(e, t, l, o, n, i) {
6883
+ }, Sa = /* @__PURE__ */ v(Ca, [["render", _a]]);
6884
+ function Ba(e, t, l, o, n, i) {
6880
6885
  return s(), m(O, {
6881
6886
  name: "expand",
6882
6887
  mode: "out-in",
@@ -6987,7 +6992,7 @@ const $a = {
6987
6992
  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;
6988
6993
  }
6989
6994
  }
6990
- }, Va = /* @__PURE__ */ v($a, [["render", Sa]]);
6995
+ }, Va = /* @__PURE__ */ v($a, [["render", Ba]]);
6991
6996
  function Ia(e, t, l, o, n, i) {
6992
6997
  return s(), m(O, C({ name: "fade" }, e.$props), {
6993
6998
  default: g(() => [
@@ -6996,13 +7001,13 @@ function Ia(e, t, l, o, n, i) {
6996
7001
  _: 3
6997
7002
  }, 16);
6998
7003
  }
6999
- const Ra = {
7004
+ const Ta = {
7000
7005
  name: "w-transition-fade",
7001
7006
  props: {
7002
7007
  appear: { type: Boolean },
7003
7008
  duration: { type: [Number, String] }
7004
7009
  }
7005
- }, Ta = /* @__PURE__ */ v(Ra, [["render", Ia]]);
7010
+ }, Ra = /* @__PURE__ */ v(Ta, [["render", Ia]]);
7006
7011
  function La(e, t, l, o, n, i) {
7007
7012
  return s(), m(O, C({ name: "scale" }, e.$props), {
7008
7013
  default: g(() => [
@@ -7115,15 +7120,15 @@ function Xa(e, t, l, o, n, i) {
7115
7120
  key: y
7116
7121
  }, [
7117
7122
  (s(), m(V(i.getTreeItemComponent(h)), C({ class: "w-tree__item-label" }, h.route && { [!e.$router || i.hasExternalLink(h) ? "href" : "to"]: h.route }, {
7118
- onClick: (S) => !l.disabled && !h.disabled && i.onLabelClick(h, S),
7119
- onKeydown: (S) => !l.disabled && !h.disabled && i.onLabelKeydown(h, S),
7123
+ onClick: (B) => !l.disabled && !h.disabled && i.onLabelClick(h, B),
7124
+ onKeydown: (B) => !l.disabled && !h.disabled && i.onLabelKeydown(h, B),
7120
7125
  tabindex: i.getTreeItemTabindex(h)
7121
7126
  }), {
7122
7127
  default: g(() => [
7123
7128
  (h.children || h.branch) && (l.expandOpenIcon && h.open || l.expandIcon) && !(l.unexpandableEmpty && !h.children) ? (s(), m(a, {
7124
7129
  key: 0,
7125
7130
  class: "w-tree__item-expand",
7126
- onClick: M((S) => !l.disabled && !h.disabled && i.onLabelClick(h, S), ["stop"]),
7131
+ onClick: E((B) => !l.disabled && !h.disabled && i.onLabelClick(h, B), ["stop"]),
7127
7132
  color: "inherit",
7128
7133
  icon: h.open && l.expandOpenIcon || l.expandIcon,
7129
7134
  "icon-props": { rotate90a: !h.open },
@@ -7138,7 +7143,7 @@ function Xa(e, t, l, o, n, i) {
7138
7143
  path: h.path,
7139
7144
  open: h.open
7140
7145
  }, () => {
7141
- var S;
7146
+ var B;
7142
7147
  return [
7143
7148
  i.itemIcon(h) ? (s(), m(r, {
7144
7149
  key: 0,
@@ -7146,14 +7151,14 @@ function Xa(e, t, l, o, n, i) {
7146
7151
  color: h.originalItem[l.itemIconColorKey] || l.iconColor
7147
7152
  }, {
7148
7153
  default: g(() => [
7149
- B(_(i.itemIcon(h)), 1)
7154
+ S(_(i.itemIcon(h)), 1)
7150
7155
  ]),
7151
7156
  _: 2
7152
7157
  }, 1032, ["color"])) : c("", !0),
7153
7158
  w("span", {
7154
7159
  innerHTML: h.label
7155
7160
  }, null, 8, Ua),
7156
- l.counts && (h.children || h.branch) ? (s(), u("span", qa, "(" + _(((S = h.originalItem.children) == null ? void 0 : S.length) || 0) + ")", 1)) : c("", !0)
7161
+ l.counts && (h.children || h.branch) ? (s(), u("span", qa, "(" + _(((B = h.originalItem.children) == null ? void 0 : B.length) || 0) + ")", 1)) : c("", !0)
7157
7162
  ];
7158
7163
  })
7159
7164
  ]),
@@ -7161,27 +7166,27 @@ function Xa(e, t, l, o, n, i) {
7161
7166
  }, 1040, ["onClick", "onKeydown", "tabindex"])),
7162
7167
  (s(), m(V(l.noTransition ? "div" : "w-transition-expand"), {
7163
7168
  y: !l.noTransition || null,
7164
- onAfterEnter: (S) => e.$emit("open", i.emitPayload(h)),
7165
- onAfterLeave: (S) => e.$emit("close", i.emitPayload(h))
7169
+ onAfterEnter: (B) => e.$emit("open", i.emitPayload(h)),
7170
+ onAfterLeave: (B) => e.$emit("close", i.emitPayload(h))
7166
7171
  }, {
7167
7172
  default: g(() => [
7168
7173
  h.children && h.open ? (s(), m(d, C({ key: 0 }, e.$props, {
7169
7174
  depth: l.depth + 1,
7170
7175
  data: h.originalItem.children,
7171
7176
  parent: h,
7172
- onBeforeOpen: t[0] || (t[0] = (S) => e.$emit("before-open", S)),
7173
- onOpen: t[1] || (t[1] = (S) => e.$emit("open", S)),
7174
- onBeforeClose: t[2] || (t[2] = (S) => e.$emit("before-close", S)),
7175
- onClose: t[3] || (t[3] = (S) => e.$emit("close", S)),
7176
- onClick: t[4] || (t[4] = (S) => e.$emit("click", S)),
7177
- onSelect: t[5] || (t[5] = (S) => e.$emit("select", S)),
7178
- "onUpdate:modelValue": t[6] || (t[6] = (S) => e.$emit("update:model-value", S))
7177
+ onBeforeOpen: t[0] || (t[0] = (B) => e.$emit("before-open", B)),
7178
+ onOpen: t[1] || (t[1] = (B) => e.$emit("open", B)),
7179
+ onBeforeClose: t[2] || (t[2] = (B) => e.$emit("before-close", B)),
7180
+ onClose: t[3] || (t[3] = (B) => e.$emit("close", B)),
7181
+ onClick: t[4] || (t[4] = (B) => e.$emit("click", B)),
7182
+ onSelect: t[5] || (t[5] = (B) => e.$emit("select", B)),
7183
+ "onUpdate:modelValue": t[6] || (t[6] = (B) => e.$emit("update:model-value", B))
7179
7184
  }), {
7180
- item: g(({ item: S, depth: b, path: R, open: x }) => [
7185
+ item: g(({ item: B, depth: b, path: T, open: x }) => [
7181
7186
  p(e.$slots, "item", {
7182
- item: S,
7187
+ item: B,
7183
7188
  depth: b,
7184
- path: R,
7189
+ path: T,
7185
7190
  open: x
7186
7191
  })
7187
7192
  ]),
@@ -7379,7 +7384,7 @@ const Ya = {
7379
7384
  WRadio: hi,
7380
7385
  WRadios: gi,
7381
7386
  WRating: vi,
7382
- WScrollable: Bi,
7387
+ WScrollable: Si,
7383
7388
  WSelect: Pi,
7384
7389
  WSlider: Xi,
7385
7390
  WSpinner: Qi,
@@ -7392,9 +7397,9 @@ const Ya = {
7392
7397
  WTimeline: ga,
7393
7398
  WToolbar: ya,
7394
7399
  WTooltip: ka,
7395
- WTransitionBounce: Ba,
7400
+ WTransitionBounce: Sa,
7396
7401
  WTransitionExpand: Va,
7397
- WTransitionFade: Ta,
7402
+ WTransitionFade: Ra,
7398
7403
  WTransitionScale: Oa,
7399
7404
  WTransitionScaleFade: Ma,
7400
7405
  WTransitionSlide: Aa,