wave-ui 2.45.1 → 2.46.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.
@@ -1,8 +1,8 @@
1
- var ne = Object.defineProperty;
2
- var re = (e, l, t) => l in e ? ne(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t;
3
- var T = (e, l, t) => (re(e, typeof l != "symbol" ? l + "" : l, t), t);
4
- import { reactive as K, resolveComponent as S, openBlock as s, createElementBlock as u, normalizeClass as m, Fragment as v, renderList as x, createElementVNode as w, withKeys as M, createBlock as g, withModifiers as W, createCommentVNode as p, renderSlot as c, createVNode as V, withCtx as b, mergeProps as C, toHandlers as P, createTextVNode as _, toDisplayString as k, TransitionGroup as te, Transition as L, normalizeStyle as R, resolveDynamicComponent as $, normalizeProps as Y, resolveDirective as le, withDirectives as j, createSlots as q, vShow as ie, vModelText as se, vModelDynamic as de, KeepAlive as ue } from "vue";
5
- const E = K({
1
+ var re = Object.defineProperty;
2
+ var de = (e, l, t) => l in e ? re(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t;
3
+ var z = (e, l, t) => (de(e, typeof l != "symbol" ? l + "" : l, t), t);
4
+ import { reactive as F, resolveComponent as S, openBlock as s, createElementBlock as u, normalizeClass as m, Fragment as v, renderList as x, createElementVNode as w, withKeys as P, createBlock as g, withModifiers as N, createCommentVNode as p, renderSlot as h, createVNode as V, withCtx as f, mergeProps as C, toHandlers as W, createTextVNode as _, toDisplayString as k, TransitionGroup as le, Transition as L, normalizeStyle as R, resolveDynamicComponent as I, normalizeProps as J, resolveDirective as ie, withDirectives as j, createSlots as G, vShow as se, vModelText as ae, vModelDynamic as ue, KeepAlive as he } from "vue";
5
+ const O = F({
6
6
  breakpoints: {
7
7
  xs: 600,
8
8
  sm: 900,
@@ -31,19 +31,19 @@ const E = K({
31
31
  transition: "default"
32
32
  },
33
33
  presets: {}
34
- }), ae = (e, l = E) => {
34
+ }), oe = (e, l = O) => {
35
35
  for (const t in e) {
36
36
  const n = e[t];
37
- typeof n == "object" ? ae(e[t], l[t]) : l[t] = n;
37
+ typeof n == "object" ? oe(e[t], l[t]) : l[t] = n;
38
38
  }
39
- }, H = class {
39
+ }, D = class {
40
40
  constructor() {
41
- T(this, "notifications");
42
- T(this, "_uid");
43
- T(this, "_notificationDefaults");
44
- if (H.instance)
45
- return H.instance;
46
- H.instance = this, this.notifications = [], this._uid = 0, this._notificationDefaults = {
41
+ z(this, "notifications");
42
+ z(this, "_uid");
43
+ z(this, "_notificationDefaults");
44
+ if (D.instance)
45
+ return D.instance;
46
+ D.instance = this, this.notifications = [], this._uid = 0, this._notificationDefaults = {
47
47
  _uid: 0,
48
48
  _value: !0,
49
49
  message: "",
@@ -70,9 +70,9 @@ const E = K({
70
70
  this.notifications = this.notifications.filter((t) => t._uid !== l);
71
71
  }
72
72
  };
73
- let F = H;
74
- T(F, "instance");
75
- const he = [
73
+ let H = D;
74
+ z(H, "instance");
75
+ const ce = [
76
76
  {
77
77
  label: "pink",
78
78
  color: "#e91e63",
@@ -377,11 +377,11 @@ const he = [
377
377
  { label: "grey-dark5", color: "#383838" }
378
378
  ]
379
379
  }
380
- ], Q = (e, l) => "#" + e.slice(1).match(/../g).map((t) => (t = +`0x${t}` + l, t < 0 ? 0 : t > 255 ? 255 : t).toString(16).padStart(2, 0)).join("");
381
- let G = null;
382
- const O = class {
380
+ ], Z = (e, l) => "#" + e.slice(1).match(/../g).map((t) => (t = +`0x${t}` + l, t < 0 ? 0 : t > 255 ? 255 : t).toString(16).padStart(2, 0)).join("");
381
+ let X = null;
382
+ const M = class {
383
383
  constructor(l, t = {}) {
384
- T(this, "breakpoint", {
384
+ z(this, "breakpoint", {
385
385
  name: "",
386
386
  xs: !1,
387
387
  sm: !1,
@@ -389,23 +389,23 @@ const O = class {
389
389
  lg: !1,
390
390
  xl: !1
391
391
  });
392
- T(this, "colors", he.reduce((l, t) => (l[t.label] = t.color, t.shades.forEach((n) => l[n.label] = n.color), l), { ...E.colors, black: "#000", white: "#fff", transparent: "transparent", inherit: "inherit" }));
393
- T(this, "config", {});
394
- if (O.instance)
395
- return O.instance;
396
- if (O.registered || l.use(O), G = K(new F()), ae(t), E.css.colorShades) {
397
- E.colorShades = {};
398
- for (let n in E.colors) {
399
- n = { label: n, color: E.colors[n].replace("#", "") };
392
+ z(this, "colors", ce.reduce((l, t) => (l[t.label] = t.color, t.shades.forEach((n) => l[n.label] = n.color), l), { ...O.colors, black: "#000", white: "#fff", transparent: "transparent", inherit: "inherit" }));
393
+ z(this, "config", {});
394
+ if (M.instance)
395
+ return M.instance;
396
+ if (M.registered || l.use(M), X = F(new H()), oe(t), O.css.colorShades) {
397
+ O.colorShades = {};
398
+ for (let n in O.colors) {
399
+ n = { label: n, color: O.colors[n].replace("#", "") };
400
400
  const r = n.color;
401
401
  r.length === 3 && (n.color = r[0] + "" + r[0] + r[1] + r[1] + r[2] + r[2]), this.colors[n.label] = `#${n.color}`;
402
402
  for (let i = 1; i <= 3; i++) {
403
- const a = Q(`#${n.color}`, i * 40), o = Q(`#${n.color}`, -i * 40);
404
- this.colors[`${n.label}-light${i}`] = a, this.colors[`${n.label}-dark${i}`] = o, E.colorShades[`${n.label}-light${i}`] = a, E.colorShades[`${n.label}-dark${i}`] = o;
403
+ const a = Z(`#${n.color}`, i * 40), o = Z(`#${n.color}`, -i * 40);
404
+ this.colors[`${n.label}-light${i}`] = a, this.colors[`${n.label}-dark${i}`] = o, O.colorShades[`${n.label}-light${i}`] = a, O.colorShades[`${n.label}-dark${i}`] = o;
405
405
  }
406
406
  }
407
407
  }
408
- this.config = E, this.notify = (...n) => G.notify(...n), O.instance = this, l.config.globalProperties.$waveui = K(this), l.provide("$waveui", O.instance);
408
+ this.config = O, this.notify = (...n) => X.notify(...n), M.instance = this, l.config.globalProperties.$waveui = F(this), l.provide("$waveui", M.instance);
409
409
  }
410
410
  static install(l, t = {}) {
411
411
  l.directive("focus", {
@@ -423,30 +423,30 @@ const O = class {
423
423
  const i = n[r];
424
424
  l.component(i.name, i);
425
425
  }
426
- O.registered = !0;
426
+ M.registered = !0;
427
427
  }
428
428
  notify(...l) {
429
- G.notify(...l);
429
+ X.notify(...l);
430
430
  }
431
431
  };
432
- let N = O;
433
- T(N, "instance", null), T(N, "vueInstance", null);
434
- const ce = ["aria-expanded"], pe = ["onClick", "onFocus", "onKeypress", "tabindex"], me = ["innerHTML"], fe = ["innerHTML"];
435
- function be(e, l, t, n, r, i) {
432
+ let A = M;
433
+ z(A, "instance", null), z(A, "vueInstance", null);
434
+ const pe = ["aria-expanded"], me = ["onClick", "onFocus", "onKeypress", "tabindex"], fe = ["innerHTML"], be = ["innerHTML"];
435
+ function ge(e, l, t, n, r, i) {
436
436
  const a = S("w-button"), o = S("w-transition-expand");
437
437
  return s(), u("div", {
438
438
  class: m(["w-accordion", i.accordionClasses])
439
439
  }, [
440
- (s(!0), u(v, null, x(e.accordionItems, (d, h) => (s(), u("div", {
440
+ (s(!0), u(v, null, x(e.accordionItems, (d, b) => (s(), u("div", {
441
441
  class: m(["w-accordion__item", i.itemClasses(d)]),
442
- key: h,
442
+ key: b,
443
443
  "aria-expanded": d._expanded ? "true" : "false"
444
444
  }, [
445
445
  w("div", {
446
446
  class: m(["w-accordion__item-title", t.titleClass]),
447
- onClick: (f) => !d._disabled && i.toggleItem(d, f),
448
- onFocus: (f) => e.$emit("focus", i.getOriginalItem(d)),
449
- onKeypress: M((f) => !d._disabled && i.toggleItem(d, f), ["enter"]),
447
+ onClick: (c) => !d._disabled && i.toggleItem(d, c),
448
+ onFocus: (c) => e.$emit("focus", i.getOriginalItem(d)),
449
+ onKeypress: P((c) => !d._disabled && i.toggleItem(d, c), ["enter"]),
450
450
  tabindex: !d._disabled && 0
451
451
  }, [
452
452
  t.expandIcon && !t.expandIconRight ? (s(), g(a, {
@@ -457,66 +457,66 @@ function be(e, l, t, n, r, i) {
457
457
  disabled: d._disabled || null,
458
458
  tabindex: -1,
459
459
  text: "",
460
- onKeypress: l[0] || (l[0] = W(() => {
460
+ onKeypress: l[0] || (l[0] = N(() => {
461
461
  }, ["stop"])),
462
- onClick: W((f) => !d._disabled && i.toggleItem(d, f), ["stop"])
462
+ onClick: N((c) => !d._disabled && i.toggleItem(d, c), ["stop"])
463
463
  }, null, 8, ["icon", "icon-props", "disabled", "onClick", "class"])) : p("", !0),
464
- e.$slots[`item-title.${d.id || h + 1}`] ? c(e.$slots, `item-title.${d.id || h + 1}`, {
464
+ e.$slots[`item-title.${d.id || b + 1}`] ? h(e.$slots, `item-title.${d.id || b + 1}`, {
465
465
  key: 1,
466
466
  item: i.getOriginalItem(d),
467
467
  expanded: d._expanded,
468
- index: h + 1
469
- }) : c(e.$slots, "item-title", {
468
+ index: b + 1
469
+ }) : h(e.$slots, "item-title", {
470
470
  key: 2,
471
471
  item: i.getOriginalItem(d),
472
472
  expanded: d._expanded,
473
- index: h + 1
473
+ index: b + 1
474
474
  }, () => [
475
475
  w("div", {
476
476
  class: "grow",
477
477
  innerHTML: d[t.itemTitleKey]
478
- }, null, 8, me)
478
+ }, null, 8, fe)
479
479
  ]),
480
480
  t.expandIcon && t.expandIconRight ? (s(), g(a, {
481
481
  key: 3,
482
482
  class: m(["w-accordion__expand-icon", { "w-accordion__expand-icon--expanded": d._expanded, "w-accordion__expand-icon--rotate90": t.expandIconRotate90 }]),
483
483
  icon: d._expanded && t.collapseIcon || t.expandIcon,
484
484
  text: "",
485
- onKeypress: l[1] || (l[1] = W(() => {
485
+ onKeypress: l[1] || (l[1] = N(() => {
486
486
  }, ["stop"])),
487
- onClick: W((f) => !d._disabled && i.toggleItem(d, f), ["stop"])
487
+ onClick: N((c) => !d._disabled && i.toggleItem(d, c), ["stop"])
488
488
  }, null, 8, ["icon", "onClick", "class"])) : p("", !0)
489
- ], 42, pe),
489
+ ], 42, me),
490
490
  V(o, {
491
491
  y: "",
492
- onAfterLeave: (f) => i.onEndOfCollapse(d),
492
+ onAfterLeave: (c) => i.onEndOfCollapse(d),
493
493
  duration: t.duration
494
494
  }, {
495
- default: b(() => [
495
+ default: f(() => [
496
496
  d._expanded ? (s(), u("div", {
497
497
  key: 0,
498
498
  class: m(["w-accordion__item-content", t.contentClass])
499
499
  }, [
500
- e.$slots[`item-content.${d.id || h + 1}`] ? c(e.$slots, `item-content.${d.id || h + 1}`, {
500
+ e.$slots[`item-content.${d.id || b + 1}`] ? h(e.$slots, `item-content.${d.id || b + 1}`, {
501
501
  key: 0,
502
502
  item: i.getOriginalItem(d),
503
503
  expanded: d._expanded,
504
- index: h + 1
505
- }) : c(e.$slots, "item-content", {
504
+ index: b + 1
505
+ }) : h(e.$slots, "item-content", {
506
506
  key: 1,
507
507
  item: i.getOriginalItem(d),
508
508
  expanded: d._expanded,
509
- index: h + 1
509
+ index: b + 1
510
510
  }, () => [
511
511
  w("div", {
512
512
  innerHTML: d[t.itemContentKey]
513
- }, null, 8, fe)
513
+ }, null, 8, be)
514
514
  ])
515
515
  ], 2)) : p("", !0)
516
516
  ]),
517
517
  _: 2
518
518
  }, 1032, ["onAfterLeave", "duration"])
519
- ], 10, ce))), 128))
519
+ ], 10, pe))), 128))
520
520
  ], 2);
521
521
  }
522
522
  const y = (e, l) => {
@@ -524,7 +524,7 @@ const y = (e, l) => {
524
524
  for (const [n, r] of l)
525
525
  t[n] = r;
526
526
  return t;
527
- }, ge = {
527
+ }, ye = {
528
528
  name: "w-accordion",
529
529
  props: {
530
530
  modelValue: { type: Array },
@@ -606,25 +606,25 @@ const y = (e, l) => {
606
606
  deep: !0
607
607
  }
608
608
  }
609
- }, ye = /* @__PURE__ */ y(ge, [["render", be]]), we = { class: "w-alert__content" };
610
- function ve(e, l, t, n, r, i) {
609
+ }, we = /* @__PURE__ */ y(ye, [["render", ge]]), ve = { class: "w-alert__content" };
610
+ function _e(e, l, t, n, r, i) {
611
611
  const a = S("w-icon"), o = S("w-button");
612
612
  return r.show ? (s(), u("div", C({
613
613
  key: 0,
614
614
  class: "w-alert"
615
- }, P(e.$attrs, !0), { class: i.classes }), [
615
+ }, W(e.$attrs, !0), { class: i.classes }), [
616
616
  i.type || t.icon || t.dismiss ? (s(), u(v, { key: 0 }, [
617
617
  i.type || t.icon ? (s(), g(a, {
618
618
  key: 0,
619
619
  class: "w-alert__icon mr2"
620
620
  }, {
621
- default: b(() => [
621
+ default: f(() => [
622
622
  _(k(i.type ? i.typeIcon : t.icon), 1)
623
623
  ]),
624
624
  _: 1
625
625
  })) : p("", !0),
626
- w("div", we, [
627
- c(e.$slots, "default")
626
+ w("div", ve, [
627
+ h(e.$slots, "default")
628
628
  ]),
629
629
  t.dismiss ? (s(), g(o, {
630
630
  key: 1,
@@ -637,10 +637,10 @@ function ve(e, l, t, n, r, i) {
637
637
  sm: "",
638
638
  text: ""
639
639
  })) : p("", !0)
640
- ], 64)) : c(e.$slots, "default", { key: 1 })
640
+ ], 64)) : h(e.$slots, "default", { key: 1 })
641
641
  ], 16)) : p("", !0);
642
642
  }
643
- const _e = {
643
+ const ke = {
644
644
  name: "w-alert",
645
645
  props: {
646
646
  modelValue: { default: !0 },
@@ -715,16 +715,16 @@ const _e = {
715
715
  this.show = e;
716
716
  }
717
717
  }
718
- }, ke = /* @__PURE__ */ y(_e, [["render", ve]]), Ce = ["innerHTML"];
719
- function Se(e, l, t, n, r, i) {
718
+ }, Ce = /* @__PURE__ */ y(ke, [["render", _e]]), Se = ["innerHTML"];
719
+ function Be(e, l, t, n, r, i) {
720
720
  const a = S("w-alert");
721
- return s(), g(te, {
721
+ return s(), g(le, {
722
722
  class: m(["w-notification-manager", { "w-notification-manager--left": i.conf.align === "left" }]),
723
723
  tag: "div",
724
724
  name: i.transition,
725
725
  appear: ""
726
726
  }, {
727
- default: b(() => [
727
+ default: f(() => [
728
728
  (s(!0), u(v, null, x(i.notifications, (o) => (s(), u(v, null, [
729
729
  o._value ? (s(), g(a, C({
730
730
  class: "white--bg",
@@ -733,10 +733,10 @@ function Se(e, l, t, n, r, i) {
733
733
  "onUpdate:modelValue": (d) => o._value = d,
734
734
  onClose: (d) => e.notifManager.dismiss(o._uid)
735
735
  }, i.notifProps(o)), {
736
- default: b(() => [
736
+ default: f(() => [
737
737
  w("div", {
738
738
  innerHTML: o.message
739
- }, null, 8, Ce)
739
+ }, null, 8, Se)
740
740
  ]),
741
741
  _: 2
742
742
  }, 1040, ["modelValue", "onUpdate:modelValue", "onClose"])) : p("", !0)
@@ -745,7 +745,7 @@ function Se(e, l, t, n, r, i) {
745
745
  _: 1
746
746
  }, 8, ["class", "name"]);
747
747
  }
748
- const Be = {
748
+ const $e = {
749
749
  name: "w-notification-manager",
750
750
  data: () => ({
751
751
  notifManager: null
@@ -769,30 +769,30 @@ const Be = {
769
769
  }
770
770
  },
771
771
  created() {
772
- this.notifManager = new F();
772
+ this.notifManager = new H();
773
773
  },
774
774
  beforeUnmount() {
775
775
  this.notifManager.notifications = [], delete this.notifManager;
776
776
  }
777
- }, $e = /* @__PURE__ */ y(Be, [["render", Se]]), D = {
777
+ }, Ve = /* @__PURE__ */ y($e, [["render", Be]]), U = {
778
778
  cssScope: ".w-app",
779
779
  baseIncrement: 4
780
- }, Ve = (e) => {
780
+ }, Ie = (e) => {
781
781
  let l = "";
782
- const { cssScope: t } = D, { info: n, warning: r, success: i, error: a, ...o } = e.colors;
783
- for (const f in o)
784
- l += `${t} .${f}--bg{background-color:${e.colors[f]}}${t} .${f}{color:${e.colors[f]}}`;
785
- e.css.colorShades && e.colorShades && Object.entries(e.colorShades).forEach(([f, B]) => {
786
- l += `${t} .${f}--bg{background-color:${B}}${t} .${f}{color:${B}}`;
782
+ const { cssScope: t } = U, { info: n, warning: r, success: i, error: a, ...o } = e.colors;
783
+ for (const c in o)
784
+ l += `${t} .${c}--bg{background-color:${e.colors[c]}}${t} .${c}{color:${e.colors[c]}}`;
785
+ e.css.colorShades && e.colorShades && Object.entries(e.colorShades).forEach(([c, B]) => {
786
+ l += `${t} .${c}--bg{background-color:${B}}${t} .${c}{color:${B}}`;
787
787
  });
788
788
  const d = { info: n, warning: r, success: i, error: a };
789
- for (const f in d)
790
- l += `${t} .${f}--bg{background-color:${e.colors[f]}}${t} .${f}{color:${e.colors[f]}}`;
791
- const h = [];
792
- return h.push(`--primary: ${e.colors.primary}`), l += `:root {${h.join(";")}}`, l;
793
- }, Ie = (e, l) => {
789
+ for (const c in d)
790
+ l += `${t} .${c}--bg{background-color:${e.colors[c]}}${t} .${c}{color:${e.colors[c]}}`;
791
+ const b = [];
792
+ return b.push(`--primary: ${e.colors.primary}`), l += `:root {${b.join(";")}}`, l;
793
+ }, Re = (e, l) => {
794
794
  let t = "";
795
- const { cssScope: n } = D;
795
+ const { cssScope: n } = U;
796
796
  return e.forEach(({ min: r, label: i }) => {
797
797
  if (i === "xs")
798
798
  for (let a = 0; a < l; a++)
@@ -804,9 +804,9 @@ const Be = {
804
804
  t += "}";
805
805
  }
806
806
  }), t;
807
- }, Re = (e) => {
807
+ }, Le = (e) => {
808
808
  let l = "";
809
- const { cssScope: t, baseIncrement: n } = D, r = [
809
+ const { cssScope: t, baseIncrement: n } = U, r = [
810
810
  "show{display:block}",
811
811
  "hide{display:none}",
812
812
  "d-flex{display:flex}",
@@ -841,32 +841,32 @@ const Be = {
841
841
  "justify-space-evenly{justify-content:space-evenly}"
842
842
  ], i = Array(12).fill();
843
843
  return e.forEach(({ label: a, min: o }) => {
844
- a !== "xs" && (l += `@media(min-width:${o}px){` + r.map((d) => `${t} .${a}u-${d}`).join("") + i.map((d, h) => `.w-grid.${a}u-columns${h + 1}{grid-template-columns:repeat(${h + 1},1fr);}`).join("") + i.map((d, h) => `.w-flex.${a}u-gap${h + 1},.w-grid.${a}u-gap${h + 1}{gap:${(h + 1) * n}px;}`).join("") + `.w-flex.${a}u-gap0,.w-flex.${a}u-gap0{gap:0}}`);
844
+ a !== "xs" && (l += `@media(min-width:${o}px){` + r.map((d) => `${t} .${a}u-${d}`).join("") + i.map((d, b) => `.w-grid.${a}u-columns${b + 1}{grid-template-columns:repeat(${b + 1},1fr);}`).join("") + i.map((d, b) => `.w-flex.${a}u-gap${b + 1},.w-grid.${a}u-gap${b + 1}{gap:${(b + 1) * n}px;}`).join("") + `.w-flex.${a}u-gap0,.w-flex.${a}u-gap0{gap:0}}`);
845
845
  }), e.forEach(({ label: a, min: o, max: d }) => {
846
- l += `@media (min-width:${o}px) and (max-width:${d}px){` + r.map((h) => `${t} .${a}-${h}`).join("") + i.map((h, f) => `.w-grid.${a}-columns${f + 1}{grid-template-columns:repeat(${f + 1},1fr);}`).join("") + i.map((h, f) => `.w-flex.${a}-gap${f + 1},.w-grid.${a}-gap${f + 1}{gap:${(f + 1) * n}px;}`).join("") + `.w-flex.${a}-gap0,.w-flex.${a}-gap0{gap:0}}`;
846
+ l += `@media (min-width:${o}px) and (max-width:${d}px){` + r.map((b) => `${t} .${a}-${b}`).join("") + i.map((b, c) => `.w-grid.${a}-columns${c + 1}{grid-template-columns:repeat(${c + 1},1fr);}`).join("") + i.map((b, c) => `.w-flex.${a}-gap${c + 1},.w-grid.${a}-gap${c + 1}{gap:${(c + 1) * n}px;}`).join("") + `.w-flex.${a}-gap0,.w-flex.${a}-gap0{gap:0}}`;
847
847
  }), e.forEach(({ label: a, max: o }) => {
848
- a !== "xl" && (l += `@media (max-width:${o}px){` + r.map((d) => `${t} .${a}d-${d}`).join("") + i.map((d, h) => `.w-grid.${a}d-columns${h + 1}{grid-template-columns:repeat(${h + 1},1fr);}`).join("") + i.map((d, h) => `.w-flex.${a}d-gap${h + 1},.w-grid.${a}d-gap${h + 1}{gap:${(h + 1) * n}px;}`).join("") + `.w-flex.${a}d-gap0,.w-flex.${a}d-gap0{gap:0}}`);
848
+ a !== "xl" && (l += `@media (max-width:${o}px){` + r.map((d) => `${t} .${a}d-${d}`).join("") + i.map((d, b) => `.w-grid.${a}d-columns${b + 1}{grid-template-columns:repeat(${b + 1},1fr);}`).join("") + i.map((d, b) => `.w-flex.${a}d-gap${b + 1},.w-grid.${a}d-gap${b + 1}{gap:${(b + 1) * n}px;}`).join("") + `.w-flex.${a}d-gap0,.w-flex.${a}d-gap0{gap:0}}`);
849
849
  }), l;
850
- }, Le = (e) => {
850
+ }, xe = (e) => {
851
851
  const l = Object.entries(e.breakpoints), t = l.map(([i, a], o) => {
852
852
  const [, d = 0] = l[o - 1] || [];
853
853
  return { label: i, min: d ? d + 1 : 0, max: a };
854
854
  }), n = getComputedStyle(document.documentElement);
855
- D.cssScope = n.getPropertyValue("--css-scope"), D.baseIncrement = parseInt(n.getPropertyValue("--base-increment"));
855
+ U.cssScope = n.getPropertyValue("--css-scope"), U.baseIncrement = parseInt(n.getPropertyValue("--base-increment"));
856
856
  let r = "";
857
- return r += Ve(e), r += Ie(t, e.css.grid), e.css.breakpointLayoutClasses && (r += Re(t)), r;
857
+ return r += Ie(e), r += Re(t, e.css.grid), e.css.breakpointLayoutClasses && (r += Le(t)), r;
858
858
  };
859
- function xe(e, l, t, n, r, i) {
859
+ function Te(e, l, t, n, r, i) {
860
860
  const a = S("notification-manager");
861
861
  return s(), u("div", {
862
862
  class: m(["w-app", i.classes])
863
863
  }, [
864
- c(e.$slots, "default"),
864
+ h(e.$slots, "default"),
865
865
  V(a)
866
866
  ], 2);
867
867
  }
868
- let X = { keys: [], values: [] };
869
- const Te = {
868
+ let Y = { keys: [], values: [] };
869
+ const ze = {
870
870
  name: "w-app",
871
871
  props: {
872
872
  dark: { type: Boolean },
@@ -882,7 +882,7 @@ const Te = {
882
882
  textCenter: { type: Boolean },
883
883
  textRight: { type: Boolean }
884
884
  },
885
- components: { NotificationManager: $e },
885
+ components: { NotificationManager: Ve },
886
886
  data: () => ({
887
887
  currentBreakpoint: null,
888
888
  notifManager: null
@@ -907,9 +907,9 @@ const Te = {
907
907
  },
908
908
  methods: {
909
909
  getBreakpoint() {
910
- const e = window.innerWidth, l = X.values.slice(0);
910
+ const e = window.innerWidth, l = Y.values.slice(0);
911
911
  l.push(e), l.sort((n, r) => n - r);
912
- const t = X.keys[l.indexOf(e)] || "xl";
912
+ const t = Y.keys[l.indexOf(e)] || "xl";
913
913
  t !== this.currentBreakpoint && (this.currentBreakpoint = t, this.$waveui.breakpoint = {
914
914
  name: t,
915
915
  xs: t === "xs",
@@ -923,9 +923,9 @@ const Te = {
923
923
  },
924
924
  mounted() {
925
925
  const { config: e } = this.$waveui;
926
- if (X = { keys: Object.keys(e.breakpoints), values: Object.values(e.breakpoints) }, !document.getElementById("wave-ui-styles")) {
926
+ if (Y = { keys: Object.keys(e.breakpoints), values: Object.values(e.breakpoints) }, !document.getElementById("wave-ui-styles")) {
927
927
  const l = document.createElement("style");
928
- l.id = "wave-ui-styles", l.innerHTML = Le(e);
928
+ l.id = "wave-ui-styles", l.innerHTML = xe(e);
929
929
  const t = document.head.querySelectorAll('style,link[rel="stylesheet"]')[0];
930
930
  t ? t.before(l) : document.head.appendChild(l);
931
931
  }
@@ -934,14 +934,14 @@ const Te = {
934
934
  beforeUnmount() {
935
935
  window.removeEventListener("resize", this.getBreakpoint);
936
936
  }
937
- }, ze = /* @__PURE__ */ y(Te, [["render", xe]]);
938
- function Ee(e, l, t, n, r, i) {
939
- return s(), u("div", C({ class: "w-badge-wrap" }, P(e.$attrs, !0)), [
940
- c(e.$slots, "default"),
937
+ }, Ee = /* @__PURE__ */ y(ze, [["render", Te]]);
938
+ function Oe(e, l, t, n, r, i) {
939
+ return s(), u("div", C({ class: "w-badge-wrap" }, W(e.$attrs, !0)), [
940
+ h(e.$slots, "default"),
941
941
  V(L, {
942
942
  name: `${t.transition}`
943
943
  }, {
944
- default: b(() => [
944
+ default: f(() => [
945
945
  t.modelValue ? (s(), u("div", {
946
946
  key: 0,
947
947
  class: m(["w-badge", i.classes]),
@@ -951,7 +951,7 @@ function Ee(e, l, t, n, r, i) {
951
951
  "aria-live": "polite",
952
952
  role: "status"
953
953
  }, [
954
- t.dot ? p("", !0) : c(e.$slots, "badge", { key: 0 }, () => [
954
+ t.dot ? p("", !0) : h(e.$slots, "badge", { key: 0 }, () => [
955
955
  _(k(t.modelValue === !0 ? "" : t.modelValue || ""), 1)
956
956
  ])
957
957
  ], 6)) : p("", !0)
@@ -960,7 +960,7 @@ function Ee(e, l, t, n, r, i) {
960
960
  }, 8, ["name"])
961
961
  ], 16);
962
962
  }
963
- const Oe = {
963
+ const Me = {
964
964
  name: "w-badge",
965
965
  props: {
966
966
  modelValue: { default: !0 },
@@ -1021,8 +1021,8 @@ const Oe = {
1021
1021
  return this.forcedSize && `font-size: ${this.forcedSize}`;
1022
1022
  }
1023
1023
  }
1024
- }, Me = /* @__PURE__ */ y(Oe, [["render", Ee]]), Pe = ["innerHTML"];
1025
- function We(e, l, t, n, r, i) {
1024
+ }, Pe = /* @__PURE__ */ y(Me, [["render", Oe]]), We = ["innerHTML"];
1025
+ function Ne(e, l, t, n, r, i) {
1026
1026
  const a = S("w-icon");
1027
1027
  return s(), u("div", {
1028
1028
  class: m(["w-breadcrumbs", i.classes])
@@ -1032,39 +1032,39 @@ function We(e, l, t, n, r, i) {
1032
1032
  class: m(["w-breadcrumbs__separator", t.separatorColor]),
1033
1033
  key: `${d}a`
1034
1034
  }, [
1035
- c(e.$slots, "separator", { index: d })
1035
+ h(e.$slots, "separator", { index: d })
1036
1036
  ], 2)) : d ? (s(), g(a, {
1037
1037
  class: m(["w-breadcrumbs__separator", t.separatorColor]),
1038
1038
  key: `${d}b`
1039
1039
  }, {
1040
- default: b(() => [
1040
+ default: f(() => [
1041
1041
  _(k(t.icon), 1)
1042
1042
  ]),
1043
1043
  _: 2
1044
1044
  }, 1032, ["class"])) : p("", !0),
1045
1045
  o[t.itemRouteKey] && (d < t.items.length - 1 || t.linkLastItem) ? (s(), u(v, { key: 2 }, [
1046
- e.$slots.item ? (s(), g($(i.hasRouter ? "router-link" : "a"), {
1046
+ e.$slots.item ? (s(), g(I(i.hasRouter ? "router-link" : "a"), {
1047
1047
  class: m(["w-breadcrumbs__item", t.color || null]),
1048
1048
  key: `${d}c`,
1049
1049
  to: i.hasRouter && o[t.itemRouteKey],
1050
1050
  href: o[t.itemRouteKey]
1051
1051
  }, {
1052
- default: b(() => [
1053
- c(e.$slots, "item", {
1052
+ default: f(() => [
1053
+ h(e.$slots, "item", {
1054
1054
  item: o,
1055
1055
  index: d + 1,
1056
1056
  isLast: d === t.items.length - 1
1057
1057
  })
1058
1058
  ]),
1059
1059
  _: 2
1060
- }, 1032, ["to", "href", "class"])) : (s(), g($(i.hasRouter ? "router-link" : "a"), {
1060
+ }, 1032, ["to", "href", "class"])) : (s(), g(I(i.hasRouter ? "router-link" : "a"), {
1061
1061
  class: m(["w-breadcrumbs__item", t.color || null]),
1062
1062
  key: `${d}d`,
1063
1063
  to: i.hasRouter && o[t.itemRouteKey],
1064
1064
  href: o[t.itemRouteKey],
1065
1065
  innerHTML: o[t.itemLabelKey]
1066
1066
  }, null, 8, ["to", "href", "innerHTML", "class"]))
1067
- ], 64)) : e.$slots.item ? c(e.$slots, "item", {
1067
+ ], 64)) : e.$slots.item ? h(e.$slots, "item", {
1068
1068
  key: `${d}e`,
1069
1069
  item: o,
1070
1070
  index: d + 1,
@@ -1072,11 +1072,11 @@ function We(e, l, t, n, r, i) {
1072
1072
  }) : (s(), u("span", {
1073
1073
  key: `${d}f`,
1074
1074
  innerHTML: o[t.itemLabelKey]
1075
- }, null, 8, Pe))
1075
+ }, null, 8, We))
1076
1076
  ], 64))), 256))
1077
1077
  ], 2);
1078
1078
  }
1079
- const Ne = {
1079
+ const Ae = {
1080
1080
  name: "w-breadcrumbs",
1081
1081
  props: {
1082
1082
  items: { type: Array, required: !0 },
@@ -1106,7 +1106,7 @@ const Ne = {
1106
1106
  };
1107
1107
  }
1108
1108
  }
1109
- }, Ae = /* @__PURE__ */ y(Ne, [["render", We]]), Ke = {
1109
+ }, Ke = /* @__PURE__ */ y(Ae, [["render", Ne]]), Fe = {
1110
1110
  key: 0,
1111
1111
  class: "w-button__loader"
1112
1112
  }, je = /* @__PURE__ */ w("svg", { viewBox: "0 0 40 40" }, [
@@ -1120,25 +1120,25 @@ const Ne = {
1120
1120
  "stroke-linecap": "round"
1121
1121
  })
1122
1122
  ], -1);
1123
- function Fe(e, l, t, n, r, i) {
1123
+ function He(e, l, t, n, r, i) {
1124
1124
  const a = S("w-icon");
1125
- return s(), g($(t.route ? "a" : "button"), C({
1125
+ return s(), g(I(t.route ? "a" : "button"), C({
1126
1126
  class: ["w-button", i.classes],
1127
1127
  type: !t.route && t.type,
1128
1128
  href: t.route && (i.externalLink ? t.route : i.resolvedRoute) || null,
1129
1129
  disabled: !!t.disabled || null
1130
- }, P(i.listeners), { style: i.styles }), {
1131
- default: b(() => [
1132
- t.icon ? (s(), g(a, Y(C({ key: 0 }, t.iconProps || {})), {
1133
- default: b(() => [
1130
+ }, W(i.listeners), { style: i.styles }), {
1131
+ default: f(() => [
1132
+ t.icon ? (s(), g(a, J(C({ key: 0 }, t.iconProps || {})), {
1133
+ default: f(() => [
1134
1134
  _(k(t.icon), 1)
1135
1135
  ]),
1136
1136
  _: 1
1137
- }, 16)) : c(e.$slots, "default", { key: 1 }),
1137
+ }, 16)) : h(e.$slots, "default", { key: 1 }),
1138
1138
  V(L, { name: "scale-fade" }, {
1139
- default: b(() => [
1140
- t.loading ? (s(), u("div", Ke, [
1141
- c(e.$slots, "loading", {}, () => [
1139
+ default: f(() => [
1140
+ t.loading ? (s(), u("div", Fe, [
1141
+ h(e.$slots, "loading", {}, () => [
1142
1142
  je
1143
1143
  ])
1144
1144
  ])) : p("", !0)
@@ -1149,7 +1149,7 @@ function Fe(e, l, t, n, r, i) {
1149
1149
  _: 3
1150
1150
  }, 16, ["type", "href", "class", "disabled", "style"]);
1151
1151
  }
1152
- const He = {
1152
+ const De = {
1153
1153
  props: {
1154
1154
  color: { type: String },
1155
1155
  bgColor: { type: String },
@@ -1237,30 +1237,30 @@ const He = {
1237
1237
  };
1238
1238
  }
1239
1239
  }
1240
- }, De = /* @__PURE__ */ y(He, [["render", Fe]]), Ue = ["innerHTML"];
1241
- function qe(e, l, t, n, r, i) {
1240
+ }, Ue = /* @__PURE__ */ y(De, [["render", He]]), qe = ["innerHTML"];
1241
+ function Ge(e, l, t, n, r, i) {
1242
1242
  const a = S("button-partial");
1243
- return t.tooltip ? (s(), g($("w-tooltip"), Y(C({ key: 0 }, t.tooltipProps || {})), {
1244
- activator: b(({ on: o }) => [
1245
- V(a, C(i.buttonProps, P(o)), {
1246
- default: b(() => [
1247
- c(e.$slots, "default")
1243
+ return t.tooltip ? (s(), g(I("w-tooltip"), J(C({ key: 0 }, t.tooltipProps || {})), {
1244
+ activator: f(({ on: o }) => [
1245
+ V(a, C(i.buttonProps, W(o)), {
1246
+ default: f(() => [
1247
+ h(e.$slots, "default")
1248
1248
  ]),
1249
1249
  _: 2
1250
1250
  }, 1040)
1251
1251
  ]),
1252
- default: b(() => [
1253
- w("div", { innerHTML: t.tooltip }, null, 8, Ue)
1252
+ default: f(() => [
1253
+ w("div", { innerHTML: t.tooltip }, null, 8, qe)
1254
1254
  ]),
1255
1255
  _: 3
1256
- }, 16)) : (s(), g(a, Y(C({ key: 1 }, i.buttonProps)), {
1257
- default: b(() => [
1258
- c(e.$slots, "default")
1256
+ }, 16)) : (s(), g(a, J(C({ key: 1 }, i.buttonProps)), {
1257
+ default: f(() => [
1258
+ h(e.$slots, "default")
1259
1259
  ]),
1260
1260
  _: 3
1261
1261
  }, 16));
1262
1262
  }
1263
- const Ge = {
1263
+ const Xe = {
1264
1264
  name: "w-button",
1265
1265
  inheritAttrs: !1,
1266
1266
  props: {
@@ -1296,7 +1296,7 @@ const Ge = {
1296
1296
  lg: { type: Boolean },
1297
1297
  xl: { type: Boolean }
1298
1298
  },
1299
- components: { ButtonPartial: De },
1299
+ components: { ButtonPartial: Ue },
1300
1300
  emits: [],
1301
1301
  computed: {
1302
1302
  buttonProps() {
@@ -1304,8 +1304,8 @@ const Ge = {
1304
1304
  return { ...t, ...this.$attrs };
1305
1305
  }
1306
1306
  }
1307
- }, Xe = /* @__PURE__ */ y(Ge, [["render", qe]]), A = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e);
1308
- function Ye(e, l, t, n, r, i) {
1307
+ }, Ye = /* @__PURE__ */ y(Xe, [["render", Ge]]), K = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e);
1308
+ function Je(e, l, t, n, r, i) {
1309
1309
  const a = S("w-image");
1310
1310
  return s(), u("div", {
1311
1311
  class: m(["w-card", i.classes])
@@ -1314,7 +1314,7 @@ function Ye(e, l, t, n, r, i) {
1314
1314
  key: 0,
1315
1315
  class: m(["w-card__title", { "w-card__title--has-toolbar": e.$slots.title && i.titleHasToolbar, ...i.titleClasses }])
1316
1316
  }, [
1317
- c(e.$slots, "title", {}, () => [
1317
+ h(e.$slots, "title", {}, () => [
1318
1318
  _(k(t.title), 1)
1319
1319
  ])
1320
1320
  ], 2)) : p("", !0),
@@ -1323,25 +1323,25 @@ function Ye(e, l, t, n, r, i) {
1323
1323
  class: "w-card__image",
1324
1324
  src: t.image
1325
1325
  }, i.imgProps), {
1326
- default: b(() => [
1327
- c(e.$slots, "image-content")
1326
+ default: f(() => [
1327
+ h(e.$slots, "image-content")
1328
1328
  ]),
1329
1329
  _: 3
1330
1330
  }, 16, ["src"])) : p("", !0),
1331
1331
  w("div", {
1332
1332
  class: m(["w-card__content", i.contentClasses])
1333
1333
  }, [
1334
- c(e.$slots, "default")
1334
+ h(e.$slots, "default")
1335
1335
  ], 2),
1336
1336
  e.$slots.actions ? (s(), u("div", {
1337
1337
  key: 2,
1338
1338
  class: m(["w-card__actions", { "w-card__actions--has-toolbar": i.actionsHasToolbar }])
1339
1339
  }, [
1340
- c(e.$slots, "actions")
1340
+ h(e.$slots, "actions")
1341
1341
  ], 2)) : p("", !0)
1342
1342
  ], 2);
1343
1343
  }
1344
- const Je = {
1344
+ const Qe = {
1345
1345
  name: "w-card",
1346
1346
  props: {
1347
1347
  color: { type: String },
@@ -1358,10 +1358,10 @@ const Je = {
1358
1358
  emits: [],
1359
1359
  computed: {
1360
1360
  titleClasses() {
1361
- return A(this.titleClass);
1361
+ return K(this.titleClass);
1362
1362
  },
1363
1363
  contentClasses() {
1364
- return A(this.contentClass);
1364
+ return K(this.contentClass);
1365
1365
  },
1366
1366
  titleHasToolbar() {
1367
1367
  const { title: e } = this.$slots;
@@ -1388,7 +1388,7 @@ const Je = {
1388
1388
  };
1389
1389
  }
1390
1390
  }
1391
- }, Qe = /* @__PURE__ */ y(Je, [["render", Ye]]), z = {
1391
+ }, Ze = /* @__PURE__ */ y(Qe, [["render", Je]]), E = {
1392
1392
  inject: {
1393
1393
  formRegister: { default: null },
1394
1394
  formProps: { default: () => ({ disabled: !1, readonly: !1 }) }
@@ -1429,13 +1429,13 @@ const Je = {
1429
1429
  this.$refs.formEl.validate(this);
1430
1430
  }
1431
1431
  }
1432
- }, Ze = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], et = ["for"], tt = ["for", "innerHTML"], lt = /* @__PURE__ */ w("svg", { viewBox: "-0.5 0 12 10" }, [
1432
+ }, et = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], tt = ["for"], lt = ["for", "innerHTML"], it = /* @__PURE__ */ w("svg", { viewBox: "-0.5 0 12 10" }, [
1433
1433
  /* @__PURE__ */ w("polyline", { points: "1 5 4 8 10 2" })
1434
- ], -1), it = [
1435
- lt
1436
- ], st = ["for"], at = ["for", "innerHTML"];
1437
- function ot(e, l, t, n, r, i) {
1438
- return s(), g($(e.formRegister && !i.wCheckboxes ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.isChecked, disabled: e.isDisabled }, {
1434
+ ], -1), st = [
1435
+ it
1436
+ ], at = ["for"], ot = ["for", "innerHTML"];
1437
+ function nt(e, l, t, n, r, i) {
1438
+ return s(), g(I(e.formRegister && !i.wCheckboxes ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.isChecked, disabled: e.isDisabled }, {
1439
1439
  valid: e.valid,
1440
1440
  "onUpdate:valid": l[5] || (l[5] = (a) => e.valid = a),
1441
1441
  onReset: l[6] || (l[6] = (a) => {
@@ -1443,7 +1443,7 @@ function ot(e, l, t, n, r, i) {
1443
1443
  }),
1444
1444
  class: i.classes
1445
1445
  }), {
1446
- default: b(() => [
1446
+ default: f(() => [
1447
1447
  w("input", {
1448
1448
  ref: "input",
1449
1449
  id: `w-checkbox--${e._.uid}`,
@@ -1456,55 +1456,55 @@ function ot(e, l, t, n, r, i) {
1456
1456
  onFocus: l[0] || (l[0] = (a) => e.$emit("focus", a)),
1457
1457
  onBlur: l[1] || (l[1] = (a) => e.$emit("blur", a)),
1458
1458
  onChange: l[2] || (l[2] = (a) => i.onInput()),
1459
- onKeypress: l[3] || (l[3] = M((...a) => i.onInput && i.onInput(...a), ["enter"])),
1459
+ onKeypress: l[3] || (l[3] = P((...a) => i.onInput && i.onInput(...a), ["enter"])),
1460
1460
  "aria-checked": r.isChecked || "false",
1461
1461
  role: "checkbox"
1462
- }, null, 40, Ze),
1462
+ }, null, 40, et),
1463
1463
  i.hasLabel && t.labelOnLeft ? (s(), u(v, { key: 0 }, [
1464
1464
  e.$slots.default ? (s(), u("label", {
1465
1465
  key: 0,
1466
1466
  class: m(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
1467
1467
  for: `w-checkbox--${e._.uid}`
1468
1468
  }, [
1469
- c(e.$slots, "default", {}, () => [
1469
+ h(e.$slots, "default", {}, () => [
1470
1470
  _(k(t.label), 1)
1471
1471
  ])
1472
- ], 10, et)) : t.label ? (s(), u("label", {
1472
+ ], 10, tt)) : t.label ? (s(), u("label", {
1473
1473
  key: 1,
1474
1474
  class: m(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
1475
1475
  for: `w-checkbox--${e._.uid}`,
1476
1476
  innerHTML: t.label
1477
- }, null, 10, tt)) : p("", !0)
1477
+ }, null, 10, lt)) : p("", !0)
1478
1478
  ], 64)) : p("", !0),
1479
1479
  w("div", {
1480
1480
  class: m(["w-checkbox__input", this.color]),
1481
1481
  onClick: l[4] || (l[4] = (a) => {
1482
1482
  e.$refs.input.focus(), e.$refs.input.click();
1483
1483
  })
1484
- }, it, 2),
1484
+ }, st, 2),
1485
1485
  i.hasLabel && !t.labelOnLeft ? (s(), u(v, { key: 1 }, [
1486
1486
  e.$slots.default ? (s(), u("label", {
1487
1487
  key: 0,
1488
1488
  class: m(["w-checkbox__label w-form-el-shakable pl2", e.labelClasses]),
1489
1489
  for: `w-checkbox--${e._.uid}`
1490
1490
  }, [
1491
- c(e.$slots, "default", {}, () => [
1491
+ h(e.$slots, "default", {}, () => [
1492
1492
  _(k(t.label), 1)
1493
1493
  ])
1494
- ], 10, st)) : t.label ? (s(), u("label", {
1494
+ ], 10, at)) : t.label ? (s(), u("label", {
1495
1495
  key: 1,
1496
1496
  class: m(["w-checkbox__label w-form-el-shakable pl2", e.labelClasses]),
1497
1497
  for: `w-checkbox--${e._.uid}`,
1498
1498
  innerHTML: t.label
1499
- }, null, 10, at)) : p("", !0)
1499
+ }, null, 10, ot)) : p("", !0)
1500
1500
  ], 64)) : p("", !0)
1501
1501
  ]),
1502
1502
  _: 3
1503
1503
  }, 16, ["valid", "class"]);
1504
1504
  }
1505
- const nt = {
1505
+ const rt = {
1506
1506
  name: "w-checkbox",
1507
- mixins: [z],
1507
+ mixins: [E],
1508
1508
  inject: {
1509
1509
  wCheckboxes: { default: null }
1510
1510
  },
@@ -1557,10 +1557,10 @@ const nt = {
1557
1557
  this.isChecked = e;
1558
1558
  }
1559
1559
  }
1560
- }, rt = /* @__PURE__ */ y(nt, [["render", ot]]), dt = ["innerHTML"];
1561
- function ut(e, l, t, n, r, i) {
1560
+ }, dt = /* @__PURE__ */ y(rt, [["render", nt]]), ut = ["innerHTML"];
1561
+ function ht(e, l, t, n, r, i) {
1562
1562
  const a = S("w-checkbox");
1563
- return s(), g($(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.checkboxItems.some((o) => o._isChecked), disabled: e.isDisabled }, {
1563
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.checkboxItems.some((o) => o._isChecked), disabled: e.isDisabled }, {
1564
1564
  valid: e.valid,
1565
1565
  "onUpdate:valid": l[1] || (l[1] = (o) => e.valid = o),
1566
1566
  onReset: i.reset,
@@ -1568,20 +1568,20 @@ function ut(e, l, t, n, r, i) {
1568
1568
  wrap: t.inline,
1569
1569
  class: i.classes
1570
1570
  }), {
1571
- default: b(() => [
1571
+ default: f(() => [
1572
1572
  (s(!0), u(v, null, x(i.checkboxItems, (o, d) => (s(), g(a, C({
1573
1573
  key: d,
1574
1574
  "model-value": o._isChecked,
1575
- "onUpdate:modelValue": (h) => i.toggleCheck(o, h),
1576
- onFocus: l[0] || (l[0] = (h) => e.$emit("focus", h)),
1575
+ "onUpdate:modelValue": (b) => i.toggleCheck(o, b),
1576
+ onFocus: l[0] || (l[0] = (b) => e.$emit("focus", b)),
1577
1577
  name: `${e.inputName}[]`
1578
1578
  }, { label: o.label, color: o.color, labelOnLeft: t.labelOnLeft, labelColor: t.labelColor, round: t.round }, {
1579
1579
  disabled: e.isDisabled || null,
1580
1580
  readonly: e.isReadonly || null,
1581
1581
  class: { mt1: !t.inline && d }
1582
1582
  }), {
1583
- default: b(() => [
1584
- e.$slots[`item.${d + 1}`] || e.$slots.item ? c(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
1583
+ default: f(() => [
1584
+ e.$slots[`item.${d + 1}`] || e.$slots.item ? h(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
1585
1585
  key: 0,
1586
1586
  item: i.getOriginalItem(o),
1587
1587
  checked: !!o._isChecked,
@@ -1590,7 +1590,7 @@ function ut(e, l, t, n, r, i) {
1590
1590
  }) : o.label ? (s(), u("div", {
1591
1591
  key: 1,
1592
1592
  innerHTML: o.label
1593
- }, null, 8, dt)) : p("", !0)
1593
+ }, null, 8, ut)) : p("", !0)
1594
1594
  ]),
1595
1595
  _: 2
1596
1596
  }, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
@@ -1598,9 +1598,9 @@ function ut(e, l, t, n, r, i) {
1598
1598
  _: 3
1599
1599
  }, 16, ["valid", "onReset", "column", "wrap", "class"]);
1600
1600
  }
1601
- const ht = {
1601
+ const ct = {
1602
1602
  name: "w-checkboxes",
1603
- mixins: [z],
1603
+ mixins: [E],
1604
1604
  props: {
1605
1605
  items: { type: Array, required: !0 },
1606
1606
  modelValue: { type: Array },
@@ -1621,7 +1621,7 @@ const ht = {
1621
1621
  checkboxItems() {
1622
1622
  return (this.items || []).map((e, l) => {
1623
1623
  const t = e[this.itemValueKey] === void 0 ? e[this.itemLabelKey] || l : e[this.itemValueKey];
1624
- return K({
1624
+ return F({
1625
1625
  ...e,
1626
1626
  label: e[this.itemLabelKey],
1627
1627
  _index: l,
@@ -1651,30 +1651,30 @@ const ht = {
1651
1651
  return this.items[e._index];
1652
1652
  }
1653
1653
  }
1654
- }, ct = /* @__PURE__ */ y(ht, [["render", ut]]), pt = { class: "w-confirm" };
1655
- function mt(e, l, t, n, r, i) {
1656
- const a = S("w-button"), o = S("w-flex"), d = S("w-menu"), h = le("focus");
1657
- return s(), u("div", pt, [
1654
+ }, pt = /* @__PURE__ */ y(ct, [["render", ht]]), mt = { class: "w-confirm" };
1655
+ function ft(e, l, t, n, r, i) {
1656
+ const a = S("w-button"), o = S("w-flex"), d = S("w-menu"), b = ie("focus");
1657
+ return s(), u("div", mt, [
1658
1658
  V(d, C({
1659
1659
  modelValue: e.showPopup,
1660
- "onUpdate:modelValue": l[2] || (l[2] = (f) => e.showPopup = f)
1660
+ "onUpdate:modelValue": l[2] || (l[2] = (c) => e.showPopup = c)
1661
1661
  }, i.wMenuProps), {
1662
- activator: b(({ on: f }) => [
1663
- V(a, C({ class: "w-confirm__button" }, { ...e.$attrs, ...i.buttonProps, ...f }), {
1664
- default: b(() => [
1665
- c(e.$slots, "default")
1662
+ activator: f(({ on: c }) => [
1663
+ V(a, C({ class: "w-confirm__button" }, { ...e.$attrs, ...i.buttonProps, ...c }), {
1664
+ default: f(() => [
1665
+ h(e.$slots, "default")
1666
1666
  ]),
1667
1667
  _: 2
1668
1668
  }, 1040)
1669
1669
  ]),
1670
- default: b(() => [
1670
+ default: f(() => [
1671
1671
  V(o, {
1672
1672
  column: !t.inline,
1673
1673
  "align-center": ""
1674
1674
  }, {
1675
- default: b(() => [
1675
+ default: f(() => [
1676
1676
  w("div", null, [
1677
- c(e.$slots, "question", {}, () => [
1677
+ h(e.$slots, "question", {}, () => [
1678
1678
  _(k(t.question), 1)
1679
1679
  ])
1680
1680
  ]),
@@ -1686,11 +1686,11 @@ function mt(e, l, t, n, r, i) {
1686
1686
  class: "mr2"
1687
1687
  }, i.cancelButtonProps, {
1688
1688
  "bg-color": (i.cancelButton || {}).bgColor || "error",
1689
- onKeyup: l[0] || (l[0] = M((f) => !t.persistent && i.onCancel(), ["escape"])),
1689
+ onKeyup: l[0] || (l[0] = P((c) => !t.persistent && i.onCancel(), ["escape"])),
1690
1690
  onClick: i.onCancel
1691
1691
  }), {
1692
- default: b(() => [
1693
- c(e.$slots, "cancel", {}, () => [
1692
+ default: f(() => [
1693
+ h(e.$slots, "cancel", {}, () => [
1694
1694
  _(k(i.cancelButton.label), 1)
1695
1695
  ])
1696
1696
  ]),
@@ -1698,17 +1698,17 @@ function mt(e, l, t, n, r, i) {
1698
1698
  }, 16, ["bg-color", "onClick"])) : p("", !0),
1699
1699
  j((s(), g(a, C(i.confirmButtonProps, {
1700
1700
  "bg-color": (i.confirmButton || {}).bgColor || "success",
1701
- onKeyup: l[1] || (l[1] = M((f) => !t.persistent && i.onCancel(), ["escape"])),
1701
+ onKeyup: l[1] || (l[1] = P((c) => !t.persistent && i.onCancel(), ["escape"])),
1702
1702
  onClick: i.onConfirm
1703
1703
  }), {
1704
- default: b(() => [
1705
- c(e.$slots, "confirm", {}, () => [
1704
+ default: f(() => [
1705
+ h(e.$slots, "confirm", {}, () => [
1706
1706
  _(k(i.confirmButton.label), 1)
1707
1707
  ])
1708
1708
  ]),
1709
1709
  _: 3
1710
1710
  }, 16, ["bg-color", "onClick"])), [
1711
- [h]
1711
+ [b]
1712
1712
  ])
1713
1713
  ], 2)
1714
1714
  ]),
@@ -1719,7 +1719,7 @@ function mt(e, l, t, n, r, i) {
1719
1719
  }, 16, ["modelValue"])
1720
1720
  ]);
1721
1721
  }
1722
- const ft = {
1722
+ const bt = {
1723
1723
  name: "w-confirm",
1724
1724
  props: {
1725
1725
  bgColor: { type: String },
@@ -1806,16 +1806,16 @@ const ft = {
1806
1806
  this.$emit("confirm"), this.showPopup = !1;
1807
1807
  }
1808
1808
  }
1809
- }, bt = /* @__PURE__ */ y(ft, [["render", mt]]);
1810
- function gt(e, l, t, n, r, i) {
1809
+ }, gt = /* @__PURE__ */ y(bt, [["render", ft]]);
1810
+ function yt(e, l, t, n, r, i) {
1811
1811
  return s(), u("div", {
1812
1812
  class: m(["w-date-picker", i.classes]),
1813
1813
  style: R(i.styles)
1814
1814
  }, [
1815
- c(e.$slots, "default")
1815
+ h(e.$slots, "default")
1816
1816
  ], 6);
1817
1817
  }
1818
- const yt = {
1818
+ const wt = {
1819
1819
  name: "w-date-picker",
1820
1820
  props: {},
1821
1821
  emits: [],
@@ -1827,8 +1827,8 @@ const yt = {
1827
1827
  return !1;
1828
1828
  }
1829
1829
  }
1830
- }, wt = /* @__PURE__ */ y(yt, [["render", gt]]);
1831
- function vt(e, l, t, n, r, i) {
1830
+ }, vt = /* @__PURE__ */ y(wt, [["render", yt]]);
1831
+ function _t(e, l, t, n, r, i) {
1832
1832
  const a = S("w-card"), o = S("w-overlay");
1833
1833
  return s(), g(o, {
1834
1834
  class: m(["w-dialog", i.classes]),
@@ -1840,13 +1840,13 @@ function vt(e, l, t, n, r, i) {
1840
1840
  "bg-color": t.overlayColor,
1841
1841
  opacity: t.overlayOpacity
1842
1842
  }, {
1843
- default: b(() => [
1843
+ default: f(() => [
1844
1844
  V(L, {
1845
1845
  name: t.transition,
1846
1846
  appear: "",
1847
1847
  onAfterLeave: i.onBeforeClose
1848
1848
  }, {
1849
- default: b(() => [
1849
+ default: f(() => [
1850
1850
  j(V(a, {
1851
1851
  class: m(["w-dialog__content", t.dialogClass]),
1852
1852
  ref: "dialog",
@@ -1857,28 +1857,28 @@ function vt(e, l, t, n, r, i) {
1857
1857
  "content-class": t.contentClass,
1858
1858
  title: t.title || void 0,
1859
1859
  style: R(i.contentStyles)
1860
- }, q({
1861
- default: b(() => [
1862
- c(e.$slots, "default")
1860
+ }, G({
1861
+ default: f(() => [
1862
+ h(e.$slots, "default")
1863
1863
  ]),
1864
1864
  _: 2
1865
1865
  }, [
1866
1866
  e.$slots.title ? {
1867
1867
  name: "title",
1868
- fn: b(() => [
1869
- c(e.$slots, "title")
1868
+ fn: f(() => [
1869
+ h(e.$slots, "title")
1870
1870
  ]),
1871
1871
  key: "0"
1872
1872
  } : void 0,
1873
1873
  e.$slots.actions ? {
1874
1874
  name: "actions",
1875
- fn: b(() => [
1876
- c(e.$slots, "actions")
1875
+ fn: f(() => [
1876
+ h(e.$slots, "actions")
1877
1877
  ]),
1878
1878
  key: "1"
1879
1879
  } : void 0
1880
1880
  ]), 1032, ["color", "bg-color", "class", "title-class", "content-class", "title", "style"]), [
1881
- [ie, r.showContent]
1881
+ [se, r.showContent]
1882
1882
  ])
1883
1883
  ]),
1884
1884
  _: 3
@@ -1887,7 +1887,7 @@ function vt(e, l, t, n, r, i) {
1887
1887
  _: 3
1888
1888
  }, 8, ["model-value", "persistent", "persistent-no-animation", "onClick", "onClose", "bg-color", "opacity", "class"]);
1889
1889
  }
1890
- const _t = {
1890
+ const kt = {
1891
1891
  name: "w-dialog",
1892
1892
  props: {
1893
1893
  modelValue: { default: !0 },
@@ -1950,17 +1950,17 @@ const _t = {
1950
1950
  this.showWrapper = e, this.showContent = e;
1951
1951
  }
1952
1952
  }
1953
- }, kt = /* @__PURE__ */ y(_t, [["render", vt]]), Ct = ["role", "aria-orientation"];
1954
- function St(e, l, t, n, r, i) {
1953
+ }, Ct = /* @__PURE__ */ y(kt, [["render", _t]]), St = ["role", "aria-orientation"];
1954
+ function Bt(e, l, t, n, r, i) {
1955
1955
  return s(), u("div", {
1956
1956
  class: m(["w-divider", i.classes]),
1957
1957
  role: e.$slots.default ? null : "presentation",
1958
1958
  "aria-orientation": t.vertical ? "vertical" : "horizontal"
1959
1959
  }, [
1960
- c(e.$slots, "default")
1961
- ], 10, Ct);
1960
+ h(e.$slots, "default")
1961
+ ], 10, St);
1962
1962
  }
1963
- const Bt = {
1963
+ const $t = {
1964
1964
  name: "w-divider",
1965
1965
  props: {
1966
1966
  vertical: { type: Boolean },
@@ -1976,8 +1976,8 @@ const Bt = {
1976
1976
  };
1977
1977
  }
1978
1978
  }
1979
- }, $t = /* @__PURE__ */ y(Bt, [["render", St]]), Vt = { class: "w-drawer-wrap__pushable" };
1980
- function It(e, l, t, n, r, i) {
1979
+ }, Vt = /* @__PURE__ */ y($t, [["render", Bt]]), It = { class: "w-drawer-wrap__pushable" };
1980
+ function Rt(e, l, t, n, r, i) {
1981
1981
  const a = S("w-overlay");
1982
1982
  return r.showWrapper || t.pushContent ? (s(), u("div", {
1983
1983
  key: 0,
@@ -1988,7 +1988,7 @@ function It(e, l, t, n, r, i) {
1988
1988
  class: "w-drawer-wrap__track",
1989
1989
  style: R(i.trackStyles)
1990
1990
  }, [
1991
- w("div", Vt, [
1991
+ w("div", It, [
1992
1992
  t.noOverlay ? p("", !0) : (s(), g(a, {
1993
1993
  key: 0,
1994
1994
  modelValue: r.showDrawer,
@@ -1999,22 +1999,22 @@ function It(e, l, t, n, r, i) {
1999
1999
  "bg-color": t.overlayColor || "transparent",
2000
2000
  opacity: t.overlayOpacity
2001
2001
  }, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
2002
- c(e.$slots, "pushable")
2002
+ h(e.$slots, "pushable")
2003
2003
  ]),
2004
2004
  V(L, {
2005
2005
  name: "fade",
2006
2006
  onBeforeLeave: i.onBeforeClose,
2007
2007
  onAfterLeave: i.onClose
2008
2008
  }, {
2009
- default: b(() => [
2010
- r.showDrawer ? (s(), g($(t.tag || "aside"), {
2009
+ default: f(() => [
2010
+ r.showDrawer ? (s(), g(I(t.tag || "aside"), {
2011
2011
  key: 0,
2012
2012
  class: m(["w-drawer", i.drawerClasses]),
2013
2013
  ref: "drawer",
2014
2014
  style: R(i.styles)
2015
2015
  }, {
2016
- default: b(() => [
2017
- c(e.$slots, "default")
2016
+ default: f(() => [
2017
+ h(e.$slots, "default")
2018
2018
  ]),
2019
2019
  _: 3
2020
2020
  }, 8, ["class", "style"])) : p("", !0)
@@ -2038,15 +2038,15 @@ function It(e, l, t, n, r, i) {
2038
2038
  onBeforeLeave: i.onBeforeClose,
2039
2039
  onAfterLeave: i.onClose
2040
2040
  }, {
2041
- default: b(() => [
2042
- r.showDrawer ? (s(), g($(t.tag || "aside"), {
2041
+ default: f(() => [
2042
+ r.showDrawer ? (s(), g(I(t.tag || "aside"), {
2043
2043
  key: 0,
2044
2044
  class: m(["w-drawer", i.drawerClasses]),
2045
2045
  ref: "drawer",
2046
2046
  style: R(i.styles)
2047
2047
  }, {
2048
- default: b(() => [
2049
- c(e.$slots, "default")
2048
+ default: f(() => [
2049
+ h(e.$slots, "default")
2050
2050
  ]),
2051
2051
  _: 3
2052
2052
  }, 8, ["class", "style"])) : p("", !0)
@@ -2056,7 +2056,7 @@ function It(e, l, t, n, r, i) {
2056
2056
  ], 64))
2057
2057
  ], 2)) : p("", !0);
2058
2058
  }
2059
- const Rt = { left: "right", right: "left", top: "down", bottom: "up" }, Lt = {
2059
+ const Lt = { left: "right", right: "left", top: "down", bottom: "up" }, xt = {
2060
2060
  name: "w-drawer",
2061
2061
  props: {
2062
2062
  modelValue: { default: !0 },
@@ -2136,7 +2136,7 @@ const Rt = { left: "right", right: "left", top: "down", bottom: "up" }, Lt = {
2136
2136
  return !this.showWrapper;
2137
2137
  },
2138
2138
  transitionName() {
2139
- return `slide-${Rt[this.position]}`;
2139
+ return `slide-${Lt[this.position]}`;
2140
2140
  }
2141
2141
  },
2142
2142
  methods: {
@@ -2155,18 +2155,18 @@ const Rt = { left: "right", right: "left", top: "down", bottom: "up" }, Lt = {
2155
2155
  e && (this.showWrapper = !0), this.showDrawer = e;
2156
2156
  }
2157
2157
  }
2158
- }, xt = /* @__PURE__ */ y(Lt, [["render", It]]);
2159
- function Tt(e, l, t, n, r, i) {
2160
- return s(), g($(t.tag), {
2158
+ }, Tt = /* @__PURE__ */ y(xt, [["render", Rt]]);
2159
+ function zt(e, l, t, n, r, i) {
2160
+ return s(), g(I(t.tag), {
2161
2161
  class: m(["w-flex", i.classes])
2162
2162
  }, {
2163
- default: b(() => [
2164
- c(e.$slots, "default")
2163
+ default: f(() => [
2164
+ h(e.$slots, "default")
2165
2165
  ]),
2166
2166
  _: 3
2167
2167
  }, 8, ["class"]);
2168
2168
  }
2169
- const zt = {
2169
+ const Et = {
2170
2170
  name: "w-flex",
2171
2171
  props: {
2172
2172
  tag: { type: String, default: "div" },
@@ -2213,23 +2213,23 @@ const zt = {
2213
2213
  };
2214
2214
  }
2215
2215
  }
2216
- }, Et = /* @__PURE__ */ y(zt, [["render", Tt]]);
2217
- function Ot(e, l, t, n, r, i) {
2216
+ }, Ot = /* @__PURE__ */ y(Et, [["render", zt]]);
2217
+ function Mt(e, l, t, n, r, i) {
2218
2218
  return s(), u("form", {
2219
2219
  class: m(["w-form", i.classes]),
2220
2220
  onSubmit: l[0] || (l[0] = (...a) => i.onSubmit && i.onSubmit(...a)),
2221
2221
  onReset: l[1] || (l[1] = (...a) => i.reset && i.reset(...a)),
2222
2222
  novalidate: ""
2223
2223
  }, [
2224
- c(e.$slots, "default")
2224
+ h(e.$slots, "default")
2225
2225
  ], 34);
2226
2226
  }
2227
- const Mt = async (e, l) => {
2227
+ const Pt = async (e, l) => {
2228
2228
  for (const t of e)
2229
2229
  if (await l(t))
2230
2230
  return !0;
2231
2231
  return !1;
2232
- }, Pt = {
2232
+ }, Wt = {
2233
2233
  name: "w-form",
2234
2234
  props: {
2235
2235
  modelValue: {},
@@ -2296,7 +2296,7 @@ const Mt = async (e, l) => {
2296
2296
  },
2297
2297
  async checkElementValidators(e) {
2298
2298
  let l = !1, t = "";
2299
- await Mt(e.validators, async (n) => {
2299
+ await Pt(e.validators, async (n) => {
2300
2300
  const r = await (typeof n == "function" && n(e.inputValue));
2301
2301
  return l = typeof r != "string", t = l ? "" : r, !l;
2302
2302
  }), e.hasJustReset = !1, e.Validation.isValid = l, e.Validation.message = t;
@@ -2319,8 +2319,8 @@ const Mt = async (e, l) => {
2319
2319
  (this.status === !1 && e || e === null && this.status !== null) && this.reset(), this.status = e;
2320
2320
  }
2321
2321
  }
2322
- }, Wt = /* @__PURE__ */ y(Pt, [["render", Ot]]);
2323
- function Nt(e, l, t, n, r, i) {
2322
+ }, Nt = /* @__PURE__ */ y(Wt, [["render", Mt]]);
2323
+ function At(e, l, t, n, r, i) {
2324
2324
  const a = S("w-transition-expand");
2325
2325
  return s(), u("div", {
2326
2326
  class: m(i.classes)
@@ -2328,15 +2328,15 @@ function Nt(e, l, t, n, r, i) {
2328
2328
  w("div", {
2329
2329
  class: m(["w-flex grow", [t.column ? "column" : "align-center", t.wrap ? "wrap" : ""]])
2330
2330
  }, [
2331
- c(e.$slots, "default")
2331
+ h(e.$slots, "default")
2332
2332
  ], 2),
2333
2333
  V(a, { y: "" }, {
2334
- default: b(() => [
2334
+ default: f(() => [
2335
2335
  e.Validation.message ? (s(), u("div", {
2336
2336
  key: 0,
2337
2337
  class: m(["w-form-el__error", i.formProps.validationColor])
2338
2338
  }, [
2339
- c(e.$slots, "error-message", {
2339
+ h(e.$slots, "error-message", {
2340
2340
  message: e.Validation.message
2341
2341
  }, () => [
2342
2342
  _(k(e.Validation.message), 1)
@@ -2347,7 +2347,7 @@ function Nt(e, l, t, n, r, i) {
2347
2347
  })
2348
2348
  ], 2);
2349
2349
  }
2350
- const At = {
2350
+ const Kt = {
2351
2351
  name: "w-form-element",
2352
2352
  props: {
2353
2353
  valid: { required: !0 },
@@ -2413,18 +2413,18 @@ const At = {
2413
2413
  beforeUnmount() {
2414
2414
  this.formUnregister && this.formUnregister(this);
2415
2415
  }
2416
- }, Kt = /* @__PURE__ */ y(At, [["render", Nt]]);
2416
+ }, Ft = /* @__PURE__ */ y(Kt, [["render", At]]);
2417
2417
  function jt(e, l, t, n, r, i) {
2418
- return s(), g($(t.tag), {
2418
+ return s(), g(I(t.tag), {
2419
2419
  class: m(["w-grid", i.classes])
2420
2420
  }, {
2421
- default: b(() => [
2422
- c(e.$slots, "default")
2421
+ default: f(() => [
2422
+ h(e.$slots, "default")
2423
2423
  ]),
2424
2424
  _: 3
2425
2425
  }, 8, ["class"]);
2426
2426
  }
2427
- const Ft = {
2427
+ const Ht = {
2428
2428
  name: "w-grid",
2429
2429
  props: {
2430
2430
  tag: { type: String, default: "div" },
@@ -2468,15 +2468,15 @@ const Ft = {
2468
2468
  };
2469
2469
  }
2470
2470
  }
2471
- }, Ht = /* @__PURE__ */ y(Ft, [["render", jt]]);
2472
- function Dt(e, l, t, n, r, i) {
2473
- return s(), g($(t.tag || "i"), C({ class: "w-icon" }, P(e.$attrs), {
2471
+ }, Dt = /* @__PURE__ */ y(Ht, [["render", jt]]);
2472
+ function Ut(e, l, t, n, r, i) {
2473
+ return s(), g(I(t.tag || "i"), C({ class: "w-icon" }, W(e.$attrs), {
2474
2474
  class: i.classes,
2475
2475
  role: "icon",
2476
2476
  "aria-hidden": "true",
2477
2477
  style: i.readIcon() && i.styles
2478
2478
  }), {
2479
- default: b(() => [
2479
+ default: f(() => [
2480
2480
  i.hasLigature ? (s(), u(v, { key: 0 }, [
2481
2481
  _(k(e.icon), 1)
2482
2482
  ], 64)) : p("", !0)
@@ -2484,7 +2484,7 @@ function Dt(e, l, t, n, r, i) {
2484
2484
  _: 1
2485
2485
  }, 16, ["class", "style"]);
2486
2486
  }
2487
- const Ut = {
2487
+ const qt = {
2488
2488
  name: "w-icon",
2489
2489
  props: {
2490
2490
  tag: { type: String, default: "i" },
@@ -2553,23 +2553,23 @@ const Ut = {
2553
2553
  return this.fontName = l, this.icon = t, !0;
2554
2554
  }
2555
2555
  }
2556
- }, qt = /* @__PURE__ */ y(Ut, [["render", Dt]]), J = (e) => console.warn(`Wave UI: ${e}`), Z = (e) => console.error(`Wave UI: ${e}`), Gt = {
2556
+ }, Gt = /* @__PURE__ */ y(qt, [["render", Ut]]), Q = (e) => console.warn(`Wave UI: ${e}`), ee = (e) => console.error(`Wave UI: ${e}`), Xt = {
2557
2557
  key: 0,
2558
2558
  class: "w-image__loader"
2559
2559
  };
2560
- function Xt(e, l, t, n, r, i) {
2560
+ function Yt(e, l, t, n, r, i) {
2561
2561
  const a = S("w-progress");
2562
- return s(), g($(i.wrapperTag), {
2562
+ return s(), g(I(i.wrapperTag), {
2563
2563
  class: m(["w-image-wrap", i.wrapperClasses]),
2564
2564
  style: R(i.wrapperStyles)
2565
2565
  }, {
2566
- default: b(() => [
2566
+ default: f(() => [
2567
2567
  V(L, {
2568
2568
  name: t.transition,
2569
2569
  appear: ""
2570
2570
  }, {
2571
- default: b(() => [
2572
- r.loaded ? (s(), g($(t.tag), {
2571
+ default: f(() => [
2572
+ r.loaded ? (s(), g(I(t.tag), {
2573
2573
  key: 0,
2574
2574
  class: m(["w-image", i.imageClasses]),
2575
2575
  style: R(i.imageStyles),
@@ -2578,19 +2578,19 @@ function Xt(e, l, t, n, r, i) {
2578
2578
  ]),
2579
2579
  _: 1
2580
2580
  }, 8, ["name"]),
2581
- !t.noSpinner && r.loading ? (s(), u("div", Gt, [
2582
- e.$slots.loading ? c(e.$slots, "loading", { key: 0 }) : (s(), g(a, {
2581
+ !t.noSpinner && r.loading ? (s(), u("div", Xt, [
2582
+ e.$slots.loading ? h(e.$slots, "loading", { key: 0 }) : (s(), g(a, {
2583
2583
  key: 1,
2584
2584
  circle: "",
2585
2585
  indeterminate: ""
2586
2586
  }))
2587
2587
  ])) : p("", !0),
2588
- e.$slots.default ? (s(), g($(i.wrapperTag), {
2588
+ e.$slots.default ? (s(), g(I(i.wrapperTag), {
2589
2589
  key: 1,
2590
2590
  class: m(["w-image__content", t.contentClass])
2591
2591
  }, {
2592
- default: b(() => [
2593
- c(e.$slots, "default")
2592
+ default: f(() => [
2593
+ h(e.$slots, "default")
2594
2594
  ]),
2595
2595
  _: 3
2596
2596
  }, 8, ["class"])) : p("", !0)
@@ -2598,7 +2598,7 @@ function Xt(e, l, t, n, r, i) {
2598
2598
  _: 3
2599
2599
  }, 8, ["class", "style"]);
2600
2600
  }
2601
- const Yt = {
2601
+ const Jt = {
2602
2602
  name: "w-image",
2603
2603
  props: {
2604
2604
  tag: { type: String, default: "span" },
@@ -2673,7 +2673,7 @@ const Yt = {
2673
2673
  },
2674
2674
  mounted() {
2675
2675
  if (!this.src)
2676
- return J("The w-image component was used without src.");
2676
+ return Q("The w-image component was used without src.");
2677
2677
  if (this.lazy) {
2678
2678
  const e = new IntersectionObserver((l) => {
2679
2679
  l[0] && l[0].isIntersecting && (this.loadImage(), e.disconnect());
@@ -2693,13 +2693,13 @@ const Yt = {
2693
2693
  this.imgHeight = e;
2694
2694
  }
2695
2695
  }
2696
- }, Jt = /* @__PURE__ */ y(Yt, [["render", Xt]]), Qt = ["name"], Zt = ["for"], el = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], tl = ["id", "name", "multiple", "data-progress"], ll = {
2696
+ }, Qt = /* @__PURE__ */ y(Jt, [["render", Yt]]), Zt = ["name"], el = ["for"], tl = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], ll = ["id", "name", "multiple", "data-progress"], il = {
2697
2697
  class: "w-input__no-file",
2698
2698
  key: "no-file"
2699
- }, il = ["for"], sl = ["for"], al = ["src"], ol = ["for"];
2700
- function nl(e, l, t, n, r, i) {
2699
+ }, sl = ["for"], al = ["for"], ol = ["src"], nl = ["for"];
2700
+ function rl(e, l, t, n, r, i) {
2701
2701
  const a = S("w-icon"), o = S("w-progress");
2702
- return s(), g($(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: r.isFocused }, {
2702
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: r.isFocused }, {
2703
2703
  valid: e.valid,
2704
2704
  "onUpdate:valid": l[10] || (l[10] = (d) => e.valid = d),
2705
2705
  onReset: l[11] || (l[11] = (d) => {
@@ -2708,14 +2708,14 @@ function nl(e, l, t, n, r, i) {
2708
2708
  wrap: i.hasLabel && t.labelPosition !== "inside",
2709
2709
  class: i.classes
2710
2710
  }), {
2711
- default: b(() => [
2711
+ default: f(() => [
2712
2712
  t.type === "hidden" ? j((s(), u("input", {
2713
2713
  key: 0,
2714
2714
  type: "hidden",
2715
2715
  name: e.name || null,
2716
2716
  "onUpdate:modelValue": l[0] || (l[0] = (d) => r.inputValue = d)
2717
- }, null, 8, Qt)), [
2718
- [se, r.inputValue]
2717
+ }, null, 8, Zt)), [
2718
+ [ae, r.inputValue]
2719
2719
  ]) : (s(), u(v, { key: 1 }, [
2720
2720
  t.labelPosition === "left" ? (s(), u(v, { key: 0 }, [
2721
2721
  e.$slots.default || t.label ? (s(), u("label", {
@@ -2723,10 +2723,10 @@ function nl(e, l, t, n, r, i) {
2723
2723
  class: m(["w-input__label w-input__label--left w-form-el-shakable", e.labelClasses]),
2724
2724
  for: `w-input--${e._.uid}`
2725
2725
  }, [
2726
- c(e.$slots, "default", {}, () => [
2726
+ h(e.$slots, "default", {}, () => [
2727
2727
  _(k(t.label), 1)
2728
2728
  ])
2729
- ], 10, Zt)) : p("", !0)
2729
+ ], 10, el)) : p("", !0)
2730
2730
  ], 64)) : p("", !0),
2731
2731
  w("div", {
2732
2732
  class: m(["w-input__input-wrap", i.inputWrapClasses])
@@ -2738,7 +2738,7 @@ function nl(e, l, t, n, r, i) {
2738
2738
  for: `w-input--${e._.uid}`,
2739
2739
  onClick: l[1] || (l[1] = (d) => e.$emit("click:inner-icon-left", d))
2740
2740
  }, {
2741
- default: b(() => [
2741
+ default: f(() => [
2742
2742
  _(k(t.innerIconLeft), 1)
2743
2743
  ]),
2744
2744
  _: 1
@@ -2748,7 +2748,7 @@ function nl(e, l, t, n, r, i) {
2748
2748
  class: "w-input__input",
2749
2749
  ref: "input",
2750
2750
  "onUpdate:modelValue": l[2] || (l[2] = (d) => r.inputValue = d)
2751
- }, P(i.listeners, !0), {
2751
+ }, W(i.listeners, !0), {
2752
2752
  onInput: l[3] || (l[3] = (...d) => i.onInput && i.onInput(...d)),
2753
2753
  onFocus: l[4] || (l[4] = (...d) => i.onFocus && i.onFocus(...d)),
2754
2754
  onBlur: l[5] || (l[5] = (...d) => i.onBlur && i.onBlur(...d)),
@@ -2766,8 +2766,8 @@ function nl(e, l, t, n, r, i) {
2766
2766
  disabled: e.isDisabled || null,
2767
2767
  required: e.required || null,
2768
2768
  tabindex: e.tabindex || null
2769
- }, i.attrs), null, 16, el)), [
2770
- [de, r.inputValue]
2769
+ }, i.attrs), null, 16, tl)), [
2770
+ [ue, r.inputValue]
2771
2771
  ]) : (s(), u(v, { key: 2 }, [
2772
2772
  w("input", C({
2773
2773
  ref: "input",
@@ -2780,28 +2780,28 @@ function nl(e, l, t, n, r, i) {
2780
2780
  multiple: t.multiple || null
2781
2781
  }, i.attrs, {
2782
2782
  "data-progress": i.overallFilesProgress
2783
- }), null, 16, tl),
2784
- V(te, {
2783
+ }), null, 16, ll),
2784
+ V(le, {
2785
2785
  class: "w-input__input w-input__input--file",
2786
2786
  tag: "label",
2787
2787
  name: "fade",
2788
2788
  for: `w-input--${e._.uid}`
2789
2789
  }, {
2790
- default: b(() => [
2791
- !r.inputFiles.length && r.isFocused ? (s(), u("span", ll, [
2792
- c(e.$slots, "no-file", {}, () => [
2790
+ default: f(() => [
2791
+ !r.inputFiles.length && r.isFocused ? (s(), u("span", il, [
2792
+ h(e.$slots, "no-file", {}, () => [
2793
2793
  e.$slots["no-file"] === void 0 ? (s(), u(v, { key: 0 }, [
2794
2794
  _("No file")
2795
2795
  ], 64)) : p("", !0)
2796
2796
  ])
2797
2797
  ])) : p("", !0),
2798
- (s(!0), u(v, null, x(r.inputFiles, (d, h) => (s(), u("span", {
2798
+ (s(!0), u(v, null, x(r.inputFiles, (d, b) => (s(), u("span", {
2799
2799
  key: d.lastModified
2800
2800
  }, [
2801
- _(k(h ? ", " : ""), 1),
2801
+ _(k(b ? ", " : ""), 1),
2802
2802
  (s(), u("span", {
2803
2803
  class: "filename",
2804
- key: `${h}b`
2804
+ key: `${b}b`
2805
2805
  }, k(d.base), 1)),
2806
2806
  _(k(d.extension ? `.${d.extension}` : ""), 1)
2807
2807
  ]))), 128))
@@ -2815,10 +2815,10 @@ function nl(e, l, t, n, r, i) {
2815
2815
  class: m(["w-input__label w-input__label--inside w-form-el-shakable", e.labelClasses]),
2816
2816
  for: `w-input--${e._.uid}`
2817
2817
  }, [
2818
- c(e.$slots, "default", {}, () => [
2818
+ h(e.$slots, "default", {}, () => [
2819
2819
  _(k(t.label), 1)
2820
2820
  ])
2821
- ], 10, il)) : p("", !0)
2821
+ ], 10, sl)) : p("", !0)
2822
2822
  ], 64)) : p("", !0),
2823
2823
  t.innerIconRight ? (s(), g(a, {
2824
2824
  key: 4,
@@ -2827,7 +2827,7 @@ function nl(e, l, t, n, r, i) {
2827
2827
  for: `w-input--${e._.uid}`,
2828
2828
  onClick: l[9] || (l[9] = (d) => e.$emit("click:inner-icon-right", d))
2829
2829
  }, {
2830
- default: b(() => [
2830
+ default: f(() => [
2831
2831
  _(k(t.innerIconRight), 1)
2832
2832
  ]),
2833
2833
  _: 1
@@ -2845,40 +2845,40 @@ function nl(e, l, t, n, r, i) {
2845
2845
  class: "d-flex",
2846
2846
  for: `w-input--${e._.uid}`
2847
2847
  }, [
2848
- (s(!0), u(v, null, x(r.inputFiles, (d, h) => (s(), u(v, null, [
2848
+ (s(!0), u(v, null, x(r.inputFiles, (d, b) => (s(), u(v, null, [
2849
2849
  d.progress < 100 ? (s(), u("i", {
2850
2850
  class: "w-icon wi-spinner w-icon--spin size--sm w-input__file-preview primary",
2851
- key: `${h}a`
2851
+ key: `${b}a`
2852
2852
  })) : d.preview ? (s(), u("img", {
2853
2853
  class: "w-input__file-preview",
2854
- key: `${h}b`,
2854
+ key: `${b}b`,
2855
2855
  src: d.preview,
2856
2856
  alt: ""
2857
- }, null, 8, al)) : (s(), u("i", {
2857
+ }, null, 8, ol)) : (s(), u("i", {
2858
2858
  class: m(["w-icon w-input__file-preview primary size--md", t.preview && typeof t.preview == "string" ? t.preview : "wi-file"]),
2859
- key: `${h}c`
2859
+ key: `${b}c`
2860
2860
  }, null, 2))
2861
2861
  ], 64))), 256))
2862
- ], 8, sl)) : p("", !0),
2862
+ ], 8, al)) : p("", !0),
2863
2863
  t.labelPosition === "right" ? (s(), u(v, { key: 2 }, [
2864
2864
  e.$slots.default || t.label ? (s(), u("label", {
2865
2865
  key: 0,
2866
2866
  class: m(["w-input__label w-input__label--right w-form-el-shakable", e.labelClasses]),
2867
2867
  for: `w-input--${e._.uid}`
2868
2868
  }, [
2869
- c(e.$slots, "default", {}, () => [
2869
+ h(e.$slots, "default", {}, () => [
2870
2870
  _(k(t.label), 1)
2871
2871
  ])
2872
- ], 10, ol)) : p("", !0)
2872
+ ], 10, nl)) : p("", !0)
2873
2873
  ], 64)) : p("", !0)
2874
2874
  ], 64))
2875
2875
  ]),
2876
2876
  _: 3
2877
2877
  }, 16, ["valid", "wrap", "class"]);
2878
2878
  }
2879
- const rl = {
2879
+ const dl = {
2880
2880
  name: "w-input",
2881
- mixins: [z],
2881
+ mixins: [E],
2882
2882
  props: {
2883
2883
  modelValue: { default: "" },
2884
2884
  type: { type: String, default: "text" },
@@ -3008,7 +3008,7 @@ const rl = {
3008
3008
  },
3009
3009
  onFileChange(e) {
3010
3010
  this.inputFiles = [...e.target.files].map((l) => {
3011
- const [, t = "", n = "", r = ""] = l.name.match(/^(.*?)\.([^.]*)$|(.*)/), i = K({
3011
+ const [, t = "", n = "", r = ""] = l.name.match(/^(.*?)\.([^.]*)$|(.*)/), i = F({
3012
3012
  name: l.name,
3013
3013
  base: t || r,
3014
3014
  extension: n,
@@ -3041,81 +3041,81 @@ const rl = {
3041
3041
  this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1);
3042
3042
  }
3043
3043
  }
3044
- }, dl = /* @__PURE__ */ y(rl, [["render", nl]]);
3045
- function ul(e, l, t, n, r, i) {
3044
+ }, ul = /* @__PURE__ */ y(dl, [["render", rl]]);
3045
+ function hl(e, l, t, n, r, i) {
3046
3046
  const a = S("w-icon"), o = S("w-list", !0);
3047
3047
  return s(), u("ul", {
3048
3048
  class: m(["w-list", i.classes])
3049
3049
  }, [
3050
- (s(!0), u(v, null, x(e.listItems, (d, h) => (s(), u("li", {
3050
+ (s(!0), u(v, null, x(e.listItems, (d, b) => (s(), u("li", {
3051
3051
  class: m(["w-list__item", { "w-list__item--parent": (d.children || []).length }]),
3052
- key: h
3052
+ key: b
3053
3053
  }, [
3054
3054
  t.icon ? (s(), g(a, {
3055
3055
  key: 0,
3056
3056
  class: "w-list__item-bullet"
3057
3057
  }, {
3058
- default: b(() => [
3058
+ default: f(() => [
3059
3059
  _(k(t.icon), 1)
3060
3060
  ]),
3061
3061
  _: 1
3062
3062
  })) : p("", !0),
3063
- e.$slots[`item.${h + 1}`] || e.$slots.item || e.$slots.default ? (s(), g($(t.checklist ? "w-checkbox" : t.nav && !d.disabled && d.route ? i.hasRouter ? "router-link" : "a" : "div"), C({
3063
+ e.$slots[`item.${b + 1}`] || e.$slots.item || e.$slots.default ? (s(), g(I(t.checklist ? "w-checkbox" : t.nav && !d.disabled && d.route ? i.hasRouter ? "router-link" : "a" : "div"), C({
3064
3064
  key: 1,
3065
3065
  class: "w-list__item-label"
3066
- }, i.liLabelProps(d, h, d._selected)), {
3067
- default: b(() => [
3068
- e.$slots[`item.${h + 1}`] ? c(e.$slots, `item.${h + 1}`, {
3066
+ }, i.liLabelProps(d, b, d._selected)), {
3067
+ default: f(() => [
3068
+ e.$slots[`item.${b + 1}`] ? h(e.$slots, `item.${b + 1}`, {
3069
3069
  key: 0,
3070
3070
  item: i.cleanLi(d),
3071
- index: h + 1,
3071
+ index: b + 1,
3072
3072
  selected: d._selected
3073
- }) : e.$slots.item ? c(e.$slots, "item", {
3073
+ }) : e.$slots.item ? h(e.$slots, "item", {
3074
3074
  key: 1,
3075
3075
  item: i.cleanLi(d),
3076
- index: h + 1,
3076
+ index: b + 1,
3077
3077
  selected: d._selected
3078
- }) : c(e.$slots, "default", {
3078
+ }) : h(e.$slots, "default", {
3079
3079
  key: 2,
3080
3080
  item: i.cleanLi(d),
3081
- index: h + 1,
3081
+ index: b + 1,
3082
3082
  selected: d._selected
3083
3083
  }, () => [
3084
3084
  _(k(d._label), 1)
3085
3085
  ])
3086
3086
  ]),
3087
3087
  _: 2
3088
- }, 1040)) : (s(), g($(t.checklist ? "w-checkbox" : t.nav && !d.disabled && d.route ? i.hasRouter ? "router-link" : "a" : "div"), C({
3088
+ }, 1040)) : (s(), g(I(t.checklist ? "w-checkbox" : t.nav && !d.disabled && d.route ? i.hasRouter ? "router-link" : "a" : "div"), C({
3089
3089
  key: 2,
3090
3090
  class: "w-list__item-label"
3091
- }, i.liLabelProps(d, h, d._selected)), null, 16)),
3091
+ }, i.liLabelProps(d, b, d._selected)), null, 16)),
3092
3092
  (d.children || []).length ? (s(), g(o, C({ key: 3 }, e.$props, {
3093
3093
  items: d.children,
3094
3094
  depth: t.depth + 1,
3095
- "onUpdate:modelValue": l[0] || (l[0] = (f) => e.$emit("update:modelValue", f)),
3096
- onInput: l[1] || (l[1] = (f) => e.$emit("input", f)),
3097
- onItemClick: l[2] || (l[2] = (f) => e.$emit("item-click", f)),
3098
- onItemSelect: l[3] || (l[3] = (f) => e.$emit("item-select", f))
3099
- }), q({ _: 2 }, [
3095
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => e.$emit("update:modelValue", c)),
3096
+ onInput: l[1] || (l[1] = (c) => e.$emit("input", c)),
3097
+ onItemClick: l[2] || (l[2] = (c) => e.$emit("item-click", c)),
3098
+ onItemSelect: l[3] || (l[3] = (c) => e.$emit("item-select", c))
3099
+ }), G({ _: 2 }, [
3100
3100
  e.$slots.item ? {
3101
3101
  name: "item",
3102
- fn: b(({ item: f, index: B, selected: I }) => [
3103
- c(e.$slots, "item", {
3104
- item: i.cleanLi(f),
3102
+ fn: f(({ item: c, index: B, selected: $ }) => [
3103
+ h(e.$slots, "item", {
3104
+ item: i.cleanLi(c),
3105
3105
  index: B,
3106
- selected: I
3106
+ selected: $
3107
3107
  })
3108
3108
  ]),
3109
3109
  key: "0"
3110
3110
  } : {
3111
3111
  name: "default",
3112
- fn: b(({ item: f, index: B, selected: I }) => [
3113
- c(e.$slots, "default", {
3114
- item: i.cleanLi(f),
3112
+ fn: f(({ item: c, index: B, selected: $ }) => [
3113
+ h(e.$slots, "default", {
3114
+ item: i.cleanLi(c),
3115
3115
  index: B,
3116
- selected: I
3116
+ selected: $
3117
3117
  }, () => [
3118
- _(k(f[t.itemLabelKey]), 1)
3118
+ _(k(c[t.itemLabelKey]), 1)
3119
3119
  ])
3120
3120
  ]),
3121
3121
  key: "1"
@@ -3124,7 +3124,7 @@ function ul(e, l, t, n, r, i) {
3124
3124
  ], 2))), 128))
3125
3125
  ], 2);
3126
3126
  }
3127
- const hl = {
3127
+ const cl = {
3128
3128
  name: "w-list",
3129
3129
  props: {
3130
3130
  items: { type: [Array, Number], required: !0 },
@@ -3225,8 +3225,8 @@ const hl = {
3225
3225
  role: "option"
3226
3226
  };
3227
3227
  return this.checklist ? (o.modelValue = e._selected, o.color = e[this.itemColorKey] || this.color, o.round = this.roundCheckboxes, o.disabled = e.disabled, n || (o.label = e._label || null), o.onFocus = () => e._focused = !0, o.onBlur = () => e._focused = !1, o.onInput = (d) => this.selectItem(e, d), o.onClick = (d) => {
3228
- const h = d.target.querySelector('input[type="checkbox"]');
3229
- h && (h.focus(), h.click()), r();
3228
+ const b = d.target.querySelector('input[type="checkbox"]');
3229
+ b && (b.focus(), b.click()), r();
3230
3230
  }) : this.nav ? (!e.disabled && e[this.itemRouteKey] && (o.onKeydown = a, o.onMousedown = i, this.$router ? (o.to = e[this.itemRouteKey], o.onClick = (d) => {
3231
3231
  d.preventDefault(), this.$router.push(e[this.itemRouteKey]), r();
3232
3232
  }) : (o.href = e[this.itemRouteKey], o.onClick = r)), n || (o.innerHTML = e._label)) : (this.isSelectable && (e.disabled || (o.tabindex = 0), o.onClick = r, o.onKeydown = a, o.onMousedown = i), n || (o.innerHTML = e._label)), o;
@@ -3286,7 +3286,7 @@ const hl = {
3286
3286
  }
3287
3287
  }
3288
3288
  }
3289
- }, cl = /* @__PURE__ */ y(hl, [["render", ul]]), oe = {
3289
+ }, pl = /* @__PURE__ */ y(cl, [["render", hl]]), ne = {
3290
3290
  props: {
3291
3291
  appendTo: { type: [String, Boolean, Object] },
3292
3292
  fixed: { type: Boolean },
@@ -3313,7 +3313,7 @@ const hl = {
3313
3313
  let e = ".w-app";
3314
3314
  typeof this.detachableDefaultRoot == "function" && (e = this.detachableDefaultRoot() || e);
3315
3315
  let l = this.appendTo || e;
3316
- return l === !0 ? l = e : this.appendTo === "activator" ? l = this.$el.previousElementSibling : l && !["object", "string"].includes(typeof l) ? l = e : typeof l == "object" && !l.nodeType && (l = e, J(`Invalid node provided in ${this.$options.name} \`append-to\`. Falling back to .w-app.`)), typeof l == "string" && (l = document.querySelector(l)), l || (J(`Unable to locate ${this.appendTo ? `target ${this.appendTo}` : e}`), l = document.querySelector(e)), l;
3316
+ return l === !0 ? l = e : this.appendTo === "activator" ? l = this.$el.previousElementSibling : l && !["object", "string"].includes(typeof l) ? l = e : typeof l == "object" && !l.nodeType && (l = e, Q(`Invalid node provided in ${this.$options.name} \`append-to\`. Falling back to .w-app.`)), typeof l == "string" && (l = document.querySelector(l)), l || (Q(`Unable to locate ${this.appendTo ? `target ${this.appendTo}` : e}`), l = document.querySelector(e)), l;
3317
3317
  },
3318
3318
  detachableParentEl() {
3319
3319
  return this.appendToTarget;
@@ -3438,15 +3438,15 @@ const hl = {
3438
3438
  }
3439
3439
  }
3440
3440
  };
3441
- function pl(e, l, t, n, r, i) {
3441
+ function ml(e, l, t, n, r, i) {
3442
3442
  const a = S("w-card"), o = S("w-overlay");
3443
3443
  return s(), u(v, null, [
3444
- c(e.$slots, "activator", { on: i.activatorEventHandlers }),
3444
+ h(e.$slots, "activator", { on: i.activatorEventHandlers }),
3445
3445
  V(L, {
3446
3446
  name: i.transitionName,
3447
3447
  appear: ""
3448
3448
  }, {
3449
- default: b(() => [
3449
+ default: f(() => [
3450
3450
  t.custom && e.detachableVisible ? (s(), u("div", C({
3451
3451
  key: 0,
3452
3452
  class: "w-menu",
@@ -3458,7 +3458,7 @@ function pl(e, l, t, n, r, i) {
3458
3458
  class: i.classes,
3459
3459
  style: i.styles
3460
3460
  }), [
3461
- c(e.$slots, "default")
3461
+ h(e.$slots, "default")
3462
3462
  ], 16)) : e.detachableVisible ? (s(), g(a, C({
3463
3463
  key: 1,
3464
3464
  class: "w-menu",
@@ -3474,23 +3474,23 @@ function pl(e, l, t, n, r, i) {
3474
3474
  "no-border": t.noBorder,
3475
3475
  class: i.classes,
3476
3476
  style: i.styles
3477
- }), q({
3478
- default: b(() => [
3479
- c(e.$slots, "default")
3477
+ }), G({
3478
+ default: f(() => [
3479
+ h(e.$slots, "default")
3480
3480
  ]),
3481
3481
  _: 2
3482
3482
  }, [
3483
3483
  e.$slots.title ? {
3484
3484
  name: "title",
3485
- fn: b(() => [
3486
- c(e.$slots, "title")
3485
+ fn: f(() => [
3486
+ h(e.$slots, "title")
3487
3487
  ]),
3488
3488
  key: "0"
3489
3489
  } : void 0,
3490
3490
  e.$slots.actions ? {
3491
3491
  name: "actions",
3492
- fn: b(() => [
3493
- c(e.$slots, "actions")
3492
+ fn: f(() => [
3493
+ h(e.$slots, "actions")
3494
3494
  ]),
3495
3495
  key: "1"
3496
3496
  } : void 0
@@ -3510,9 +3510,9 @@ function pl(e, l, t, n, r, i) {
3510
3510
  }), null, 16, ["model-value", "persistent", "class", "z-index"])) : p("", !0)
3511
3511
  ], 64);
3512
3512
  }
3513
- const ml = {
3513
+ const fl = {
3514
3514
  name: "w-menu",
3515
- mixins: [oe],
3515
+ mixins: [ne],
3516
3516
  inheritAttrs: !1,
3517
3517
  props: {
3518
3518
  modelValue: {},
@@ -3566,17 +3566,17 @@ const ml = {
3566
3566
  return this.minWidth === "activator" ? this.activatorWidth ? `${this.activatorWidth}px` : 0 : isNaN(this.minWidth) ? this.minWidth : this.minWidth ? `${this.minWidth}px` : 0;
3567
3567
  },
3568
3568
  menuClasses() {
3569
- return A(this.menuClass);
3569
+ return K(this.menuClass);
3570
3570
  },
3571
3571
  titleClasses() {
3572
- return A(this.titleClass);
3572
+ return K(this.titleClass);
3573
3573
  },
3574
3574
  contentClasses() {
3575
- return A(this.contentClass);
3575
+ return K(this.contentClass);
3576
3576
  },
3577
3577
  overlayClasses() {
3578
3578
  return {
3579
- ...A(this.overlayClass),
3579
+ ...K(this.overlayClass),
3580
3580
  "w-overlay--no-pointer-event": this.showOnHover
3581
3581
  };
3582
3582
  },
@@ -3629,14 +3629,14 @@ const ml = {
3629
3629
  !this.detachableVisible || this.showOnHover && !e && (await new Promise((l) => setTimeout(l, 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));
3630
3630
  }
3631
3631
  }
3632
- }, fl = /* @__PURE__ */ y(ml, [["render", pl]]);
3633
- function bl(e, l, t, n, r, i) {
3632
+ }, bl = /* @__PURE__ */ y(fl, [["render", ml]]);
3633
+ function gl(e, l, t, n, r, i) {
3634
3634
  const a = S("w-alert");
3635
3635
  return s(), g(L, {
3636
3636
  name: i.transitionName,
3637
3637
  appear: ""
3638
3638
  }, {
3639
- default: b(() => [
3639
+ default: f(() => [
3640
3640
  r.show ? (s(), u("div", {
3641
3641
  key: 0,
3642
3642
  class: m(["w-notification", i.classes]),
@@ -3648,8 +3648,8 @@ function bl(e, l, t, n, r, i) {
3648
3648
  e.$emit("update:modelValue", !1), e.$emit("input", !1);
3649
3649
  })
3650
3650
  }), {
3651
- default: b(() => [
3652
- c(e.$slots, "default")
3651
+ default: f(() => [
3652
+ h(e.$slots, "default")
3653
3653
  ]),
3654
3654
  _: 3
3655
3655
  }, 16, ["class"])
@@ -3658,7 +3658,7 @@ function bl(e, l, t, n, r, i) {
3658
3658
  _: 3
3659
3659
  }, 8, ["name"]);
3660
3660
  }
3661
- const gl = {
3661
+ const yl = {
3662
3662
  name: "w-notification",
3663
3663
  props: {
3664
3664
  modelValue: { default: !0 },
@@ -3774,34 +3774,34 @@ const gl = {
3774
3774
  clearTimeout(this.timeoutId), this.show = e, e && this.timeoutVal && this.countdown();
3775
3775
  }
3776
3776
  }
3777
- }, yl = /* @__PURE__ */ y(gl, [["render", bl]]);
3778
- function wl(e, l, t, n, r, i) {
3779
- const a = le("focus");
3777
+ }, wl = /* @__PURE__ */ y(yl, [["render", gl]]);
3778
+ function vl(e, l, t, n, r, i) {
3779
+ const a = ie("focus");
3780
3780
  return s(), g(L, {
3781
3781
  name: "fade",
3782
3782
  appear: "",
3783
3783
  onAfterLeave: i.onClose
3784
3784
  }, {
3785
- default: b(() => [
3785
+ default: f(() => [
3786
3786
  t.modelValue ? j((s(), u("div", {
3787
3787
  key: 0,
3788
3788
  class: m(["w-overlay", i.classes]),
3789
3789
  ref: "overlay",
3790
3790
  style: R(t.modelValue && i.styles || null),
3791
- onKeydown: l[0] || (l[0] = M(W((...o) => i.onClick && i.onClick(...o), ["stop"]), ["escape"])),
3791
+ onKeydown: l[0] || (l[0] = P(N((...o) => i.onClick && i.onClick(...o), ["stop"]), ["escape"])),
3792
3792
  onClick: l[1] || (l[1] = (...o) => i.onClick && i.onClick(...o)),
3793
3793
  tabindex: "0"
3794
3794
  }, [
3795
- c(e.$slots, "default")
3795
+ h(e.$slots, "default")
3796
3796
  ], 38)), [
3797
- [ie, e.showOverlay],
3797
+ [se, e.showOverlay],
3798
3798
  [a]
3799
3799
  ]) : p("", !0)
3800
3800
  ]),
3801
3801
  _: 3
3802
3802
  }, 8, ["onAfterLeave"]);
3803
3803
  }
3804
- const vl = {
3804
+ const _l = {
3805
3805
  name: "w-overlay",
3806
3806
  props: {
3807
3807
  modelValue: {},
@@ -3855,17 +3855,17 @@ const vl = {
3855
3855
  e && (this.showOverlay = !0);
3856
3856
  }
3857
3857
  }
3858
- }, _l = /* @__PURE__ */ y(vl, [["render", wl]]), kl = { class: "w-parallax" };
3859
- function Cl(e, l, t, n, r, i) {
3860
- return s(), u("div", kl);
3858
+ }, kl = /* @__PURE__ */ y(_l, [["render", vl]]), Cl = { class: "w-parallax" };
3859
+ function Sl(e, l, t, n, r, i) {
3860
+ return s(), u("div", Cl);
3861
3861
  }
3862
- const Sl = {
3862
+ const Bl = {
3863
3863
  name: "w-parallax",
3864
3864
  props: {},
3865
3865
  emits: [],
3866
3866
  data: () => ({})
3867
- }, Bl = /* @__PURE__ */ y(Sl, [["render", Cl]]), $l = ["viewBox"], Vl = ["cx", "cy", "r", "stroke-dasharray", "stroke-width"], Il = ["cx", "cy", "r", "stroke-width", "stroke-linecap", "stroke-dasharray"];
3868
- function Rl(e, l, t, n, r, i) {
3867
+ }, $l = /* @__PURE__ */ y(Bl, [["render", Sl]]), Vl = ["viewBox"], Il = ["cx", "cy", "r", "stroke-dasharray", "stroke-width"], Rl = ["cx", "cy", "r", "stroke-width", "stroke-linecap", "stroke-dasharray"];
3868
+ function Ll(e, l, t, n, r, i) {
3869
3869
  return s(), u("div", {
3870
3870
  class: m(["w-progress", i.classes]),
3871
3871
  style: R(i.styles)
@@ -3883,7 +3883,7 @@ function Rl(e, l, t, n, r, i) {
3883
3883
  fill: "transparent",
3884
3884
  "stroke-dasharray": e.circleCircumference,
3885
3885
  "stroke-width": t.stroke
3886
- }, null, 10, Vl)) : p("", !0),
3886
+ }, null, 10, Il)) : p("", !0),
3887
3887
  w("circle", {
3888
3888
  class: "w-progress__progress",
3889
3889
  cx: i.circleCenter,
@@ -3894,8 +3894,8 @@ function Rl(e, l, t, n, r, i) {
3894
3894
  "stroke-linecap": t.roundCap && "round",
3895
3895
  "stroke-dasharray": e.circleCircumference,
3896
3896
  style: R(`stroke-dashoffset: ${(1 - i.progressValue / 100) * e.circleCircumference}`)
3897
- }, null, 12, Il)
3898
- ], 8, $l)) : (s(), u("div", {
3897
+ }, null, 12, Rl)
3898
+ ], 8, Vl)) : (s(), u("div", {
3899
3899
  key: 0,
3900
3900
  class: m(["w-progress__progress", { full: i.progressValue === 100 }]),
3901
3901
  style: R(`width: ${i.progressValue}%`)
@@ -3904,13 +3904,13 @@ function Rl(e, l, t, n, r, i) {
3904
3904
  key: 2,
3905
3905
  class: m(["w-progress__label", t.labelColor || !1])
3906
3906
  }, [
3907
- c(e.$slots, "default", {}, () => [
3907
+ h(e.$slots, "default", {}, () => [
3908
3908
  _(k(Math.round(i.progressValue)) + k(t.circle ? "" : "%"), 1)
3909
3909
  ])
3910
3910
  ], 2)) : p("", !0)
3911
3911
  ], 6);
3912
3912
  }
3913
- const U = 40, Ll = U / 2, xl = Math.round(U * 3.14 * 100) / 100, Tl = {
3913
+ const q = 40, xl = q / 2, Tl = Math.round(q * 3.14 * 100) / 100, zl = {
3914
3914
  name: "w-progress",
3915
3915
  props: {
3916
3916
  modelValue: { type: [Number, String, Boolean], default: -1 },
@@ -3935,16 +3935,16 @@ const U = 40, Ll = U / 2, xl = Math.round(U * 3.14 * 100) / 100, Tl = {
3935
3935
  },
3936
3936
  emits: [],
3937
3937
  data: () => ({
3938
- circleSize: U,
3939
- circleRadius: Ll,
3940
- circleCircumference: xl
3938
+ circleSize: q,
3939
+ circleRadius: xl,
3940
+ circleCircumference: Tl
3941
3941
  }),
3942
3942
  computed: {
3943
3943
  progressValue() {
3944
3944
  return parseFloat(this.modelValue);
3945
3945
  },
3946
3946
  circleCenter() {
3947
- return U + this.stroke;
3947
+ return q + this.stroke;
3948
3948
  },
3949
3949
  forcedSize() {
3950
3950
  return this.size && (isNaN(this.size) ? this.size : `${this.size}px`);
@@ -3976,9 +3976,9 @@ const U = 40, Ll = U / 2, xl = Math.round(U * 3.14 * 100) / 100, Tl = {
3976
3976
  };
3977
3977
  }
3978
3978
  }
3979
- }, zl = /* @__PURE__ */ y(Tl, [["render", Rl]]), El = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], Ol = ["for"], Ml = ["for", "innerHTML"], Pl = ["for"], Wl = ["for", "innerHTML"];
3980
- function Nl(e, l, t, n, r, i) {
3981
- return s(), g($(e.formRegister && !i.wRadios ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
3979
+ }, El = /* @__PURE__ */ y(zl, [["render", Ll]]), Ol = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], Ml = ["for"], Pl = ["for", "innerHTML"], Wl = ["for"], Nl = ["for", "innerHTML"];
3980
+ function Al(e, l, t, n, r, i) {
3981
+ return s(), g(I(e.formRegister && !i.wRadios ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
3982
3982
  valid: e.valid,
3983
3983
  "onUpdate:valid": l[3] || (l[3] = (a) => e.valid = a),
3984
3984
  onReset: l[4] || (l[4] = (a) => {
@@ -3986,7 +3986,7 @@ function Nl(e, l, t, n, r, i) {
3986
3986
  }),
3987
3987
  class: i.classes
3988
3988
  }), {
3989
- default: b(() => [
3989
+ default: f(() => [
3990
3990
  w("input", {
3991
3991
  ref: "input",
3992
3992
  id: `w-radio--${e._.uid}`,
@@ -4000,22 +4000,22 @@ function Nl(e, l, t, n, r, i) {
4000
4000
  onChange: l[1] || (l[1] = (a) => i.onInput(a)),
4001
4001
  "aria-checked": e.inputValue || "false",
4002
4002
  role: "radio"
4003
- }, null, 40, El),
4003
+ }, null, 40, Ol),
4004
4004
  i.hasLabel && t.labelOnLeft ? (s(), u(v, { key: 0 }, [
4005
4005
  e.$slots.default ? (s(), u("label", {
4006
4006
  key: 0,
4007
4007
  class: m(["w-radio__label w-form-el-shakable pr2", e.labelClasses]),
4008
4008
  for: `w-radio--${e._.uid}`
4009
4009
  }, [
4010
- c(e.$slots, "default", {}, () => [
4010
+ h(e.$slots, "default", {}, () => [
4011
4011
  _(k(t.label), 1)
4012
4012
  ])
4013
- ], 10, Ol)) : t.label ? (s(), u("label", {
4013
+ ], 10, Ml)) : t.label ? (s(), u("label", {
4014
4014
  key: 1,
4015
4015
  class: m(["w-radio__label w-form-el-shakable pr2", e.labelClasses]),
4016
4016
  for: `w-radio--${e._.uid}`,
4017
4017
  innerHTML: t.label
4018
- }, null, 10, Ml)) : p("", !0)
4018
+ }, null, 10, Pl)) : p("", !0)
4019
4019
  ], 64)) : p("", !0),
4020
4020
  w("div", {
4021
4021
  class: m(["w-radio__input", this.color]),
@@ -4029,23 +4029,23 @@ function Nl(e, l, t, n, r, i) {
4029
4029
  class: m(["w-radio__label w-form-el-shakable pl2", e.labelClasses]),
4030
4030
  for: `w-radio--${e._.uid}`
4031
4031
  }, [
4032
- c(e.$slots, "default", {}, () => [
4032
+ h(e.$slots, "default", {}, () => [
4033
4033
  _(k(t.label), 1)
4034
4034
  ])
4035
- ], 10, Pl)) : t.label ? (s(), u("label", {
4035
+ ], 10, Wl)) : t.label ? (s(), u("label", {
4036
4036
  key: 1,
4037
4037
  class: m(["w-radio__label w-form-el-shakable pl2", e.labelClasses]),
4038
4038
  for: `w-radio--${e._.uid}`,
4039
4039
  innerHTML: t.label
4040
- }, null, 10, Wl)) : p("", !0)
4040
+ }, null, 10, Nl)) : p("", !0)
4041
4041
  ], 64)) : p("", !0)
4042
4042
  ]),
4043
4043
  _: 3
4044
4044
  }, 16, ["valid", "class"]);
4045
4045
  }
4046
- const Al = {
4046
+ const Kl = {
4047
4047
  name: "w-radio",
4048
- mixins: [z],
4048
+ mixins: [E],
4049
4049
  inject: { wRadios: { default: null } },
4050
4050
  props: {
4051
4051
  modelValue: { default: !1 },
@@ -4098,10 +4098,10 @@ const Al = {
4098
4098
  this.toggleFromOutside();
4099
4099
  }
4100
4100
  }
4101
- }, Kl = /* @__PURE__ */ y(Al, [["render", Nl]]), jl = ["innerHTML"];
4102
- function Fl(e, l, t, n, r, i) {
4101
+ }, Fl = /* @__PURE__ */ y(Kl, [["render", Al]]), jl = ["innerHTML"];
4102
+ function Hl(e, l, t, n, r, i) {
4103
4103
  const a = S("w-radio");
4104
- return s(), g($(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
4104
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
4105
4105
  valid: e.valid,
4106
4106
  "onUpdate:valid": l[1] || (l[1] = (o) => e.valid = o),
4107
4107
  onReset: l[2] || (l[2] = (o) => {
@@ -4111,20 +4111,20 @@ function Fl(e, l, t, n, r, i) {
4111
4111
  wrap: t.inline,
4112
4112
  class: i.classes
4113
4113
  }), {
4114
- default: b(() => [
4114
+ default: f(() => [
4115
4115
  (s(!0), u(v, null, x(i.radioItems, (o, d) => (s(), g(a, C({
4116
4116
  key: d,
4117
4117
  "model-value": o.value === t.modelValue,
4118
- "onUpdate:modelValue": (h) => i.onInput(o),
4119
- onFocus: l[0] || (l[0] = (h) => e.$emit("focus", h)),
4118
+ "onUpdate:modelValue": (b) => i.onInput(o),
4119
+ onFocus: l[0] || (l[0] = (b) => e.$emit("focus", b)),
4120
4120
  name: e.inputName
4121
4121
  }, { label: o.label, color: o.color, labelOnLeft: t.labelOnLeft, labelColor: t.labelColor }, {
4122
4122
  disabled: e.isDisabled || null,
4123
4123
  readonly: e.isReadonly || null,
4124
4124
  class: { mt1: !t.inline && d }
4125
4125
  }), {
4126
- default: b(() => [
4127
- e.$slots[`item.${d + 1}`] || e.$slots.item ? c(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
4126
+ default: f(() => [
4127
+ e.$slots[`item.${d + 1}`] || e.$slots.item ? h(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
4128
4128
  key: 0,
4129
4129
  item: i.getOriginalItem(o),
4130
4130
  index: d + 1,
@@ -4141,9 +4141,9 @@ function Fl(e, l, t, n, r, i) {
4141
4141
  _: 3
4142
4142
  }, 16, ["valid", "column", "wrap", "class"]);
4143
4143
  }
4144
- const Hl = {
4144
+ const Dl = {
4145
4145
  name: "w-radios",
4146
- mixins: [z],
4146
+ mixins: [E],
4147
4147
  props: {
4148
4148
  items: { type: Array, required: !0 },
4149
4149
  modelValue: { type: [String, Number, Boolean] },
@@ -4187,9 +4187,9 @@ const Hl = {
4187
4187
  return this.items[e._index];
4188
4188
  }
4189
4189
  }
4190
- }, Dl = /* @__PURE__ */ y(Hl, [["render", Fl]]), Ul = ["id", "name", "value"], ql = ["disabled", "onMouseenter", "onClick", "tabindex"];
4191
- function Gl(e, l, t, n, r, i) {
4192
- return s(), g($(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
4190
+ }, Ul = /* @__PURE__ */ y(Dl, [["render", Hl]]), ql = ["id", "name", "value"], Gl = ["disabled", "onMouseenter", "onClick", "tabindex"];
4191
+ function Xl(e, l, t, n, r, i) {
4192
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
4193
4193
  valid: e.valid,
4194
4194
  "onUpdate:valid": l[4] || (l[4] = (a) => e.valid = a),
4195
4195
  onReset: l[5] || (l[5] = (a) => {
@@ -4197,15 +4197,15 @@ function Gl(e, l, t, n, r, i) {
4197
4197
  }),
4198
4198
  class: i.classes
4199
4199
  }), {
4200
- default: b(() => [
4200
+ default: f(() => [
4201
4201
  w("input", {
4202
4202
  id: e.inputName,
4203
4203
  name: e.inputName,
4204
4204
  type: "hidden",
4205
4205
  value: r.rating
4206
- }, null, 8, Ul),
4206
+ }, null, 8, ql),
4207
4207
  (s(!0), u(v, null, x(t.max, (a) => (s(), u(v, { key: a }, [
4208
- e.$slots.item ? c(e.$slots, "item", {
4208
+ e.$slots.item ? h(e.$slots, "item", {
4209
4209
  key: 0,
4210
4210
  index: a + 1
4211
4211
  }) : p("", !0),
@@ -4228,15 +4228,15 @@ function Gl(e, l, t, n, r, i) {
4228
4228
  "aria-hidden": "true",
4229
4229
  style: R(i.halfStarStyle)
4230
4230
  }, null, 6)) : p("", !0)
4231
- ], 42, ql)
4231
+ ], 42, Gl)
4232
4232
  ], 64))), 128))
4233
4233
  ]),
4234
4234
  _: 3
4235
4235
  }, 16, ["valid", "class"]);
4236
4236
  }
4237
- const Xl = {
4237
+ const Yl = {
4238
4238
  name: "w-rating",
4239
- mixins: [z],
4239
+ mixins: [E],
4240
4240
  props: {
4241
4241
  modelValue: {},
4242
4242
  max: { type: [Number, String], default: 5 },
@@ -4319,34 +4319,34 @@ const Xl = {
4319
4319
  this.rating = parseFloat(e);
4320
4320
  }
4321
4321
  }
4322
- }, Yl = /* @__PURE__ */ y(Xl, [["render", Gl]]), Jl = ["for"], Ql = ["aria-expanded", "aria-owns", "aria-activedescendant"], Zl = {
4322
+ }, Jl = /* @__PURE__ */ y(Yl, [["render", Xl]]), Ql = ["for"], Zl = ["aria-expanded", "aria-owns", "aria-activedescendant"], ei = {
4323
4323
  key: 1,
4324
4324
  class: "w-select__selection-slot"
4325
- }, ei = ["value", "id", "placeholder", "disabled", "required", "tabindex"], ti = ["value", "name"], li = ["for"], ii = ["for"];
4326
- function si(e, l, t, n, r, i) {
4325
+ }, ti = ["value", "id", "placeholder", "disabled", "required", "tabindex"], li = ["value", "name"], ii = ["for"], si = ["for"];
4326
+ function ai(e, l, t, n, r, i) {
4327
4327
  const a = S("w-icon"), o = S("w-list"), d = S("w-menu");
4328
- return s(), g($(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.selectionString, disabled: e.isDisabled, readonly: e.isReadonly }, {
4328
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.selectionString, disabled: e.isDisabled, readonly: e.isReadonly }, {
4329
4329
  valid: e.valid,
4330
- "onUpdate:valid": l[9] || (l[9] = (h) => e.valid = h),
4330
+ "onUpdate:valid": l[9] || (l[9] = (b) => e.valid = b),
4331
4331
  onReset: i.onReset,
4332
4332
  wrap: i.hasLabel && t.labelPosition !== "inside",
4333
4333
  class: i.classes
4334
4334
  }), {
4335
- default: b(() => [
4335
+ default: f(() => [
4336
4336
  t.labelPosition === "left" ? (s(), u(v, { key: 0 }, [
4337
4337
  e.$slots.default || t.label ? (s(), u("label", {
4338
4338
  key: 0,
4339
4339
  class: m(["w-select__label w-select__label--left w-form-el-shakable", e.labelClasses]),
4340
4340
  for: `w-select--${e._.uid}`
4341
4341
  }, [
4342
- c(e.$slots, "default", {}, () => [
4342
+ h(e.$slots, "default", {}, () => [
4343
4343
  _(k(t.label), 1)
4344
4344
  ])
4345
- ], 10, Jl)) : p("", !0)
4345
+ ], 10, Ql)) : p("", !0)
4346
4346
  ], 64)) : p("", !0),
4347
4347
  V(d, C({
4348
4348
  modelValue: e.showMenu,
4349
- "onUpdate:modelValue": l[8] || (l[8] = (h) => e.showMenu = h),
4349
+ "onUpdate:modelValue": l[8] || (l[8] = (b) => e.showMenu = b),
4350
4350
  "menu-class": `w-select__menu ${t.menuClass || ""}`,
4351
4351
  transition: "slide-fade-down",
4352
4352
  "append-to": (t.menuProps || {}).appendTo !== void 0 ? (t.menuProps || {}).appendTo : void 0,
@@ -4354,10 +4354,10 @@ function si(e, l, t, n, r, i) {
4354
4354
  custom: "",
4355
4355
  "min-width": "activator"
4356
4356
  }, t.menuProps || {}), {
4357
- activator: b(({ on: h }) => [
4357
+ activator: f(({ on: b }) => [
4358
4358
  w("div", {
4359
4359
  class: m(["w-select__selection-wrap", i.inputWrapClasses]),
4360
- onClick: l[5] || (l[5] = (f) => !e.isDisabled && !e.isReadonly && (e.showMenu ? i.closeMenu : i.openMenu)()),
4360
+ onClick: l[5] || (l[5] = (c) => !e.isDisabled && !e.isReadonly && (e.showMenu ? i.closeMenu : i.openMenu)()),
4361
4361
  role: "button",
4362
4362
  "aria-haspopup": "listbox",
4363
4363
  "aria-expanded": e.showMenu ? "true" : "false",
@@ -4368,15 +4368,15 @@ function si(e, l, t, n, r, i) {
4368
4368
  key: 0,
4369
4369
  class: "w-select__icon w-select__icon--inner-left",
4370
4370
  tag: "label",
4371
- onClick: l[0] || (l[0] = (f) => e.$emit("click:inner-icon-left", f))
4371
+ onClick: l[0] || (l[0] = (c) => e.$emit("click:inner-icon-left", c))
4372
4372
  }, {
4373
- default: b(() => [
4373
+ default: f(() => [
4374
4374
  _(k(t.innerIconLeft), 1)
4375
4375
  ]),
4376
4376
  _: 1
4377
4377
  })) : p("", !0),
4378
- e.$slots.selection ? (s(), u("div", Zl, [
4379
- c(e.$slots, "selection", {
4378
+ e.$slots.selection ? (s(), u("div", ei, [
4379
+ h(e.$slots, "selection", {
4380
4380
  item: t.multiple ? e.inputValue : e.inputValue[0]
4381
4381
  })
4382
4382
  ])) : p("", !0),
@@ -4385,9 +4385,9 @@ function si(e, l, t, n, r, i) {
4385
4385
  ref: "selection-input",
4386
4386
  type: "text",
4387
4387
  value: e.$slots.selection ? "" : i.selectionString,
4388
- onFocus: l[1] || (l[1] = (f) => !e.isDisabled && !e.isReadonly && i.onFocus(f)),
4389
- onBlur: l[2] || (l[2] = (...f) => i.onBlur && i.onBlur(...f)),
4390
- onKeydown: l[3] || (l[3] = (f) => !e.isDisabled && !e.isReadonly && i.onKeydown(f)),
4388
+ onFocus: l[1] || (l[1] = (c) => !e.isDisabled && !e.isReadonly && i.onFocus(c)),
4389
+ onBlur: l[2] || (l[2] = (...c) => i.onBlur && i.onBlur(...c)),
4390
+ onKeydown: l[3] || (l[3] = (c) => !e.isDisabled && !e.isReadonly && i.onKeydown(c)),
4391
4391
  id: `w-select--${e._.uid}`,
4392
4392
  placeholder: !e.$slots.selection && t.placeholder || null,
4393
4393
  disabled: e.isDisabled || null,
@@ -4396,45 +4396,45 @@ function si(e, l, t, n, r, i) {
4396
4396
  required: e.required || null,
4397
4397
  tabindex: e.tabindex || null,
4398
4398
  autocomplete: "off"
4399
- }, null, 40, ei),
4400
- (s(!0), u(v, null, x(e.inputValue.length ? e.inputValue : [{}], (f, B) => (s(), u("input", {
4399
+ }, null, 40, ti),
4400
+ (s(!0), u(v, null, x(e.inputValue.length ? e.inputValue : [{}], (c, B) => (s(), u("input", {
4401
4401
  key: B,
4402
4402
  type: "hidden",
4403
- value: f.value || "",
4403
+ value: c.value || "",
4404
4404
  name: e.inputName + (t.multiple ? "[]" : "")
4405
- }, null, 8, ti))), 128)),
4405
+ }, null, 8, li))), 128)),
4406
4406
  t.labelPosition === "inside" && i.showLabelInside ? (s(), u(v, { key: 2 }, [
4407
4407
  e.$slots.default || t.label ? (s(), u("label", {
4408
4408
  key: 0,
4409
4409
  class: m(["w-select__label w-select__label--inside w-form-el-shakable", e.labelClasses]),
4410
4410
  for: `w-select--${e._.uid}`
4411
4411
  }, [
4412
- c(e.$slots, "default", {}, () => [
4412
+ h(e.$slots, "default", {}, () => [
4413
4413
  _(k(t.label), 1)
4414
4414
  ])
4415
- ], 10, li)) : p("", !0)
4415
+ ], 10, ii)) : p("", !0)
4416
4416
  ], 64)) : p("", !0),
4417
4417
  t.innerIconRight ? (s(), g(a, {
4418
4418
  key: 3,
4419
4419
  class: "w-select__icon w-select__icon--inner-right",
4420
4420
  tag: "label",
4421
- onClick: l[4] || (l[4] = (f) => e.$emit("click:inner-icon-right", f))
4421
+ onClick: l[4] || (l[4] = (c) => e.$emit("click:inner-icon-right", c))
4422
4422
  }, {
4423
- default: b(() => [
4423
+ default: f(() => [
4424
4424
  _(k(t.innerIconRight), 1)
4425
4425
  ]),
4426
4426
  _: 1
4427
4427
  })) : p("", !0)
4428
- ], 10, Ql)
4428
+ ], 10, Zl)
4429
4429
  ]),
4430
- default: b(() => [
4430
+ default: f(() => [
4431
4431
  V(o, {
4432
4432
  ref: "w-list",
4433
4433
  "model-value": e.inputValue,
4434
4434
  "onUpdate:modelValue": i.onInput,
4435
- onItemClick: l[6] || (l[6] = (h) => e.$emit("item-click", h)),
4435
+ onItemClick: l[6] || (l[6] = (b) => e.$emit("item-click", b)),
4436
4436
  onItemSelect: i.onListItemSelect,
4437
- "onKeydown:enter": l[7] || (l[7] = (h) => t.noUnselect && !t.multiple && i.closeMenu()),
4437
+ "onKeydown:enter": l[7] || (l[7] = (b) => t.noUnselect && !t.multiple && i.closeMenu()),
4438
4438
  "onKeydown:escape": i.closeMenu,
4439
4439
  items: i.selectItems,
4440
4440
  multiple: t.multiple,
@@ -4446,24 +4446,24 @@ function si(e, l, t, n, r, i) {
4446
4446
  "item-color-key": t.itemColorKey,
4447
4447
  role: "listbox",
4448
4448
  tabindex: "-1"
4449
- }, q({ _: 2 }, [
4450
- x(t.items.length, (h) => ({
4451
- name: `item.${h}`,
4452
- fn: b(({ item: f, selected: B, index: I }) => [
4453
- e.$slots[`item.${h}`] && e.$slots[`item.${h}`](f, B, I) ? c(e.$slots, `item.${h}`, {
4449
+ }, G({ _: 2 }, [
4450
+ x(t.items.length, (b) => ({
4451
+ name: `item.${b}`,
4452
+ fn: f(({ item: c, selected: B, index: $ }) => [
4453
+ e.$slots[`item.${b}`] && e.$slots[`item.${b}`](c, B, $) ? h(e.$slots, `item.${b}`, {
4454
4454
  key: 0,
4455
- item: f,
4455
+ item: c,
4456
4456
  selected: B,
4457
- index: I
4457
+ index: $
4458
4458
  }, () => [
4459
- _(k(f[t.itemLabelKey]), 1)
4460
- ]) : c(e.$slots, "item", {
4459
+ _(k(c[t.itemLabelKey]), 1)
4460
+ ]) : h(e.$slots, "item", {
4461
4461
  key: 1,
4462
- item: f,
4462
+ item: c,
4463
4463
  selected: B,
4464
- index: I
4464
+ index: $
4465
4465
  }, () => [
4466
- _(k(f[t.itemLabelKey]), 1)
4466
+ _(k(c[t.itemLabelKey]), 1)
4467
4467
  ])
4468
4468
  ])
4469
4469
  }))
@@ -4477,18 +4477,18 @@ function si(e, l, t, n, r, i) {
4477
4477
  class: m(["w-select__label w-select__label--right w-form-el-shakable", e.labelClasses]),
4478
4478
  for: `w-select--${e._.uid}`
4479
4479
  }, [
4480
- c(e.$slots, "default", {}, () => [
4480
+ h(e.$slots, "default", {}, () => [
4481
4481
  _(k(t.label), 1)
4482
4482
  ])
4483
- ], 10, ii)) : p("", !0)
4483
+ ], 10, si)) : p("", !0)
4484
4484
  ], 64)) : p("", !0)
4485
4485
  ]),
4486
4486
  _: 3
4487
4487
  }, 16, ["valid", "onReset", "wrap", "class"]);
4488
4488
  }
4489
- const ai = {
4489
+ const oi = {
4490
4490
  name: "w-select",
4491
- mixins: [z],
4491
+ mixins: [E],
4492
4492
  props: {
4493
4493
  items: { type: Array, required: !0 },
4494
4494
  modelValue: {},
@@ -4645,12 +4645,12 @@ const ai = {
4645
4645
  this.inputValue = this.checkSelection(this.modelValue);
4646
4646
  }
4647
4647
  }
4648
- }, oi = /* @__PURE__ */ y(ai, [["render", si]]), ni = ["for"], ri = ["for", "innerHTML"], di = { class: "w-slider__track-wrap" }, ui = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], hi = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], ci = ["for"], pi = { key: 0 }, mi = {
4648
+ }, ni = /* @__PURE__ */ y(oi, [["render", ai]]), ri = ["for"], di = ["for", "innerHTML"], ui = { class: "w-slider__track-wrap" }, hi = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], ci = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], pi = ["for"], mi = { key: 0 }, fi = {
4649
4649
  key: 0,
4650
4650
  class: "w-slider__step-labels"
4651
- }, fi = ["onClick"], bi = ["for"], gi = ["for", "innerHTML"];
4652
- function yi(e, l, t, n, r, i) {
4653
- return s(), g($(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.rangeValueScaled, disabled: e.isDisabled, readonly: e.isReadonly }, {
4651
+ }, bi = ["onClick"], gi = ["for"], yi = ["for", "innerHTML"];
4652
+ function wi(e, l, t, n, r, i) {
4653
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.rangeValueScaled, disabled: e.isDisabled, readonly: e.isReadonly }, {
4654
4654
  valid: e.valid,
4655
4655
  "onUpdate:valid": l[8] || (l[8] = (a) => e.valid = a),
4656
4656
  onReset: l[9] || (l[9] = (a) => {
@@ -4659,20 +4659,20 @@ function yi(e, l, t, n, r, i) {
4659
4659
  wrap: e.formRegister || null,
4660
4660
  class: i.wrapperClasses
4661
4661
  }), {
4662
- default: b(() => [
4662
+ default: f(() => [
4663
4663
  e.$slots["label-left"] ? (s(), u("label", {
4664
4664
  key: 0,
4665
4665
  class: m(["w-slider__label w-slider__label--left w-form-el-shakable", e.labelClasses]),
4666
4666
  for: `button--${e._.uid}`
4667
4667
  }, [
4668
- c(e.$slots, "label-left")
4669
- ], 10, ni)) : t.labelLeft ? (s(), u("label", {
4668
+ h(e.$slots, "label-left")
4669
+ ], 10, ri)) : t.labelLeft ? (s(), u("label", {
4670
4670
  key: 1,
4671
4671
  class: m(["w-slider__label w-slider__label--left w-form-el-shakable", e.labelClasses]),
4672
4672
  for: `button--${e._.uid}`,
4673
4673
  innerHTML: t.labelLeft
4674
- }, null, 10, ri)) : p("", !0),
4675
- w("div", di, [
4674
+ }, null, 10, di)) : p("", !0),
4675
+ w("div", ui, [
4676
4676
  w("div", {
4677
4677
  class: m(["w-slider__track", i.trackClasses]),
4678
4678
  ref: "track",
@@ -4705,32 +4705,32 @@ function yi(e, l, t, n, r, i) {
4705
4705
  "aria-readonly": e.isReadonly ? "true" : "false",
4706
4706
  tabindex: e.isDisabled || e.isReadonly ? -1 : null,
4707
4707
  onKeydown: [
4708
- l[0] || (l[0] = M((a) => i.onKeyDown(a, -1), ["left"])),
4709
- l[1] || (l[1] = M((a) => i.onKeyDown(a, 1), ["right"]))
4708
+ l[0] || (l[0] = P((a) => i.onKeyDown(a, -1), ["left"])),
4709
+ l[1] || (l[1] = P((a) => i.onKeyDown(a, 1), ["right"]))
4710
4710
  ],
4711
4711
  onFocus: l[2] || (l[2] = (a) => e.$emit("focus", a)),
4712
- onClick: l[3] || (l[3] = W(() => {
4712
+ onClick: l[3] || (l[3] = N(() => {
4713
4713
  }, ["prevent"]))
4714
- }, null, 42, hi),
4714
+ }, null, 42, ci),
4715
4715
  t.thumbLabel ? (s(), u("label", {
4716
4716
  key: 0,
4717
4717
  class: m(["w-slider__thumb-label", i.thumbClasses]),
4718
4718
  for: `button--${e._.uid}`
4719
4719
  }, [
4720
- t.thumbLabel === "droplet" ? (s(), u("div", pi, [
4721
- c(e.$slots, "label", { value: e.rangeValueScaled }, () => [
4720
+ t.thumbLabel === "droplet" ? (s(), u("div", mi, [
4721
+ h(e.$slots, "label", { value: e.rangeValueScaled }, () => [
4722
4722
  _(k(~~e.rangeValueScaled), 1)
4723
4723
  ])
4724
- ])) : c(e.$slots, "label", {
4724
+ ])) : h(e.$slots, "label", {
4725
4725
  key: 1,
4726
4726
  value: e.rangeValueScaled
4727
4727
  }, () => [
4728
4728
  _(k(~~e.rangeValueScaled), 1)
4729
4729
  ])
4730
- ], 10, ci)) : p("", !0)
4730
+ ], 10, pi)) : p("", !0)
4731
4731
  ], 4)
4732
- ], 42, ui),
4733
- t.stepLabels && t.step ? (s(), u("div", mi, [
4732
+ ], 42, hi),
4733
+ t.stepLabels && t.step ? (s(), u("div", fi, [
4734
4734
  w("div", {
4735
4735
  class: "w-slider__step-label",
4736
4736
  onClick: l[6] || (l[6] = (a) => i.onStepLabelClick(0))
@@ -4740,7 +4740,7 @@ function yi(e, l, t, n, r, i) {
4740
4740
  key: a,
4741
4741
  onClick: (o) => i.onStepLabelClick(a * (100 / i.numberOfSteps)),
4742
4742
  style: R(`left: ${a * (100 / i.numberOfSteps)}%`)
4743
- }, k(i.percentToScaled(a * (100 / i.numberOfSteps))), 13, fi))), 128)),
4743
+ }, k(i.percentToScaled(a * (100 / i.numberOfSteps))), 13, bi))), 128)),
4744
4744
  ~~i.numberOfSteps !== i.numberOfSteps ? (s(), u("div", {
4745
4745
  key: 0,
4746
4746
  class: "w-slider__step-label",
@@ -4754,20 +4754,20 @@ function yi(e, l, t, n, r, i) {
4754
4754
  class: m(["w-slider__label w-slider__label--right w-form-el-shakable", e.labelClasses]),
4755
4755
  for: `button--${e._.uid}`
4756
4756
  }, [
4757
- c(e.$slots, "label-right")
4758
- ], 10, bi)) : t.labelRight ? (s(), u("label", {
4757
+ h(e.$slots, "label-right")
4758
+ ], 10, gi)) : t.labelRight ? (s(), u("label", {
4759
4759
  key: 3,
4760
4760
  class: m(["w-slider__label w-slider__label--right w-form-el-shakable", e.labelClasses]),
4761
4761
  for: `button--${e._.uid}`,
4762
4762
  innerHTML: t.labelRight
4763
- }, null, 10, gi)) : p("", !0)
4763
+ }, null, 10, yi)) : p("", !0)
4764
4764
  ]),
4765
4765
  _: 3
4766
4766
  }, 16, ["valid", "wrap", "class"]);
4767
4767
  }
4768
- const wi = {
4768
+ const vi = {
4769
4769
  name: "w-slider",
4770
- mixins: [z],
4770
+ mixins: [E],
4771
4771
  props: {
4772
4772
  modelValue: { type: Number, default: 0 },
4773
4773
  color: { type: String, default: "primary" },
@@ -4895,17 +4895,17 @@ const wi = {
4895
4895
  this.rangeValueScaled !== e && (this.rangeValueScaled = e, this.rangeValuePercent = this.scaledToPercent(e));
4896
4896
  }
4897
4897
  }
4898
- }, vi = /* @__PURE__ */ y(wi, [["render", yi]]), _i = { key: 0 };
4899
- function ki(e, l, t, n, r, i) {
4898
+ }, _i = /* @__PURE__ */ y(vi, [["render", wi]]), ki = { key: 0 };
4899
+ function Ci(e, l, t, n, r, i) {
4900
4900
  return t.modelValue || t.modelValue === void 0 ? (s(), u("div", {
4901
4901
  key: 0,
4902
4902
  class: m(["w-spinner", i.classes]),
4903
4903
  style: R(i.styles)
4904
4904
  }, [
4905
- i.isThreeDots ? (s(), u("span", _i)) : p("", !0)
4905
+ i.isThreeDots ? (s(), u("span", ki)) : p("", !0)
4906
4906
  ], 6)) : p("", !0);
4907
4907
  }
4908
- const Ci = {
4908
+ const Si = {
4909
4909
  name: "w-spinner",
4910
4910
  props: {
4911
4911
  modelValue: {},
@@ -4943,25 +4943,25 @@ const Ci = {
4943
4943
  };
4944
4944
  }
4945
4945
  }
4946
- }, Si = /* @__PURE__ */ y(Ci, [["render", ki]]), Bi = { class: "w-steps" };
4947
- function $i(e, l, t, n, r, i) {
4948
- return s(), u("div", Bi);
4946
+ }, Bi = /* @__PURE__ */ y(Si, [["render", Ci]]), $i = { class: "w-steps" };
4947
+ function Vi(e, l, t, n, r, i) {
4948
+ return s(), u("div", $i);
4949
4949
  }
4950
- const Vi = {
4950
+ const Ii = {
4951
4951
  name: "w-steps",
4952
4952
  props: {},
4953
4953
  emits: [],
4954
4954
  data: () => ({})
4955
- }, Ii = /* @__PURE__ */ y(Vi, [["render", $i]]), Ri = ["id", "name", "checked", "disabled", "readonly", "aria-readonly", "required", "tabindex", "aria-checked"], Li = ["for"], xi = {
4955
+ }, Ri = /* @__PURE__ */ y(Ii, [["render", Vi]]), Li = ["id", "name", "checked", "disabled", "readonly", "aria-readonly", "required", "tabindex", "aria-checked"], xi = ["for"], Ti = {
4956
4956
  key: 0,
4957
4957
  class: "w-switch__track"
4958
- }, Ti = {
4958
+ }, zi = {
4959
4959
  key: 1,
4960
4960
  class: "w-switch__thumb"
4961
- }, zi = ["for"];
4962
- function Ei(e, l, t, n, r, i) {
4961
+ }, Ei = ["for"];
4962
+ function Oi(e, l, t, n, r, i) {
4963
4963
  const a = S("w-progress");
4964
- return s(), g($(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
4964
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
4965
4965
  valid: e.valid,
4966
4966
  "onUpdate:valid": l[3] || (l[3] = (o) => e.valid = o),
4967
4967
  onReset: l[4] || (l[4] = (o) => {
@@ -4969,7 +4969,7 @@ function Ei(e, l, t, n, r, i) {
4969
4969
  }),
4970
4970
  class: i.classes
4971
4971
  }), {
4972
- default: b(() => [
4972
+ default: f(() => [
4973
4973
  w("input", {
4974
4974
  ref: "input",
4975
4975
  id: `w-switch--${e._.uid}`,
@@ -4985,33 +4985,33 @@ function Ei(e, l, t, n, r, i) {
4985
4985
  onFocus: l[1] || (l[1] = (o) => e.$emit("focus", o)),
4986
4986
  "aria-checked": r.isOn || "false",
4987
4987
  role: "switch"
4988
- }, null, 40, Ri),
4988
+ }, null, 40, Li),
4989
4989
  i.hasLabel && t.labelOnLeft ? (s(), u(v, { key: 0 }, [
4990
4990
  e.$slots.default || t.label ? (s(), u("label", {
4991
4991
  key: 0,
4992
4992
  class: m(["w-switch__label w-switch__label--left w-form-el-shakable", e.labelClasses]),
4993
4993
  for: `w-switch--${e._.uid}`
4994
4994
  }, [
4995
- c(e.$slots, "default", {}, () => [
4995
+ h(e.$slots, "default", {}, () => [
4996
4996
  _(k(t.label), 1)
4997
4997
  ])
4998
- ], 10, Li)) : p("", !0)
4998
+ ], 10, xi)) : p("", !0)
4999
4999
  ], 64)) : p("", !0),
5000
5000
  w("div", C({
5001
5001
  class: "w-switch__input",
5002
5002
  onClick: l[2] || (l[2] = (o) => {
5003
5003
  e.$refs.input.focus(), e.$refs.input.click();
5004
5004
  })
5005
- }, P(e.$attrs, !0), { class: i.inputClasses }), [
5006
- e.$slots.track ? (s(), u("div", xi, [
5007
- c(e.$slots, "track")
5005
+ }, W(e.$attrs, !0), { class: i.inputClasses }), [
5006
+ e.$slots.track ? (s(), u("div", Ti, [
5007
+ h(e.$slots, "track")
5008
5008
  ])) : p("", !0),
5009
- e.$slots.thumb || t.loading ? (s(), u("div", Ti, [
5009
+ e.$slots.thumb || t.loading ? (s(), u("div", zi, [
5010
5010
  t.loading ? (s(), g(a, C({
5011
5011
  key: 0,
5012
5012
  circle: "",
5013
5013
  color: "inherit"
5014
- }, typeof t.loading == "number" ? { "model-value": t.loading } : {}), null, 16)) : c(e.$slots, "thumb", { key: 1 })
5014
+ }, typeof t.loading == "number" ? { "model-value": t.loading } : {}), null, 16)) : h(e.$slots, "thumb", { key: 1 })
5015
5015
  ])) : p("", !0)
5016
5016
  ], 16),
5017
5017
  i.hasLabel && !t.labelOnLeft ? (s(), u(v, { key: 1 }, [
@@ -5020,18 +5020,18 @@ function Ei(e, l, t, n, r, i) {
5020
5020
  class: m(["w-switch__label w-switch__label--right w-form-el-shakable", e.labelClasses]),
5021
5021
  for: `w-switch--${e._.uid}`
5022
5022
  }, [
5023
- c(e.$slots, "default", {}, () => [
5023
+ h(e.$slots, "default", {}, () => [
5024
5024
  _(k(t.label), 1)
5025
5025
  ])
5026
- ], 10, zi)) : p("", !0)
5026
+ ], 10, Ei)) : p("", !0)
5027
5027
  ], 64)) : p("", !0)
5028
5028
  ]),
5029
5029
  _: 3
5030
5030
  }, 16, ["valid", "class"]);
5031
5031
  }
5032
- const Oi = {
5032
+ const Mi = {
5033
5033
  name: "w-switch",
5034
- mixins: [z],
5034
+ mixins: [E],
5035
5035
  props: {
5036
5036
  modelValue: { default: !1 },
5037
5037
  label: { type: String, default: "" },
@@ -5090,22 +5090,22 @@ const Oi = {
5090
5090
  this.isOn = e;
5091
5091
  }
5092
5092
  }
5093
- }, Mi = /* @__PURE__ */ y(Oi, [["render", Ei]]), Pi = { class: "w-tabs__content" };
5094
- function Wi(e, l, t, n, r, i) {
5095
- return s(), u("div", Pi, [
5096
- c(e.$slots, "default", { item: t.item })
5093
+ }, Pi = /* @__PURE__ */ y(Mi, [["render", Oi]]), Wi = { class: "w-tabs__content" };
5094
+ function Ni(e, l, t, n, r, i) {
5095
+ return s(), u("div", Wi, [
5096
+ h(e.$slots, "default", { item: t.item })
5097
5097
  ]);
5098
5098
  }
5099
- const Ni = {
5099
+ const Ai = {
5100
5100
  props: { item: Object }
5101
- }, Ai = /* @__PURE__ */ y(Ni, [["render", Wi]]), Ki = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], ji = ["innerHTML"], Fi = {
5101
+ }, Ki = /* @__PURE__ */ y(Ai, [["render", Ni]]), Fi = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], ji = ["innerHTML"], Hi = {
5102
5102
  key: 0,
5103
5103
  class: "w-tabs__bar-extra"
5104
- }, Hi = {
5104
+ }, Di = {
5105
5105
  key: 0,
5106
5106
  class: "w-tabs__content-wrap"
5107
- }, Di = ["innerHTML"];
5108
- function Ui(e, l, t, n, r, i) {
5107
+ }, Ui = ["innerHTML"];
5108
+ function qi(e, l, t, n, r, i) {
5109
5109
  const a = S("tab-content");
5110
5110
  return s(), u("div", {
5111
5111
  class: m(["w-tabs", i.tabsClasses])
@@ -5117,19 +5117,19 @@ function Ui(e, l, t, n, r, i) {
5117
5117
  (s(!0), u(v, null, x(i.tabsItems, (o, d) => (s(), u("div", {
5118
5118
  class: m(["w-tabs__bar-item", i.barItemClasses(o)]),
5119
5119
  key: d,
5120
- onClick: (h) => !o._disabled && i.openTab(o),
5121
- onFocus: (h) => e.$emit("focus", i.getOriginalItem(o)),
5120
+ onClick: (b) => !o._disabled && i.openTab(o),
5121
+ onFocus: (b) => e.$emit("focus", i.getOriginalItem(o)),
5122
5122
  tabindex: !o._disabled && 0,
5123
- onKeypress: M((h) => !o._disabled && i.openTab(o), ["enter"]),
5123
+ onKeypress: P((b) => !o._disabled && i.openTab(o), ["enter"]),
5124
5124
  "aria-selected": o._index === e.activeTabIndex ? "true" : "false",
5125
5125
  role: "tab"
5126
5126
  }, [
5127
- e.$slots[`item-title.${o.id || d + 1}`] ? c(e.$slots, `item-title.${o.id || d + 1}`, {
5127
+ e.$slots[`item-title.${o.id || d + 1}`] ? h(e.$slots, `item-title.${o.id || d + 1}`, {
5128
5128
  key: 0,
5129
5129
  item: i.getOriginalItem(o),
5130
5130
  index: d + 1,
5131
5131
  active: o._index === e.activeTabIndex
5132
- }) : c(e.$slots, "item-title", {
5132
+ }) : h(e.$slots, "item-title", {
5133
5133
  key: 1,
5134
5134
  item: i.getOriginalItem(o),
5135
5135
  index: d + 1,
@@ -5139,9 +5139,9 @@ function Ui(e, l, t, n, r, i) {
5139
5139
  innerHTML: o[t.itemTitleKey]
5140
5140
  }, null, 8, ji)
5141
5141
  ])
5142
- ], 42, Ki))), 128)),
5143
- e.$slots["tabs-bar-extra"] ? (s(), u("div", Fi, [
5144
- c(e.$slots, "tabs-bar-extra")
5142
+ ], 42, Fi))), 128)),
5143
+ e.$slots["tabs-bar-extra"] ? (s(), u("div", Hi, [
5144
+ h(e.$slots, "tabs-bar-extra")
5145
5145
  ])) : p("", !0),
5146
5146
  !t.noSlider && !t.card ? (s(), u("div", {
5147
5147
  key: 1,
@@ -5149,25 +5149,25 @@ function Ui(e, l, t, n, r, i) {
5149
5149
  style: R(i.sliderStyles)
5150
5150
  }, null, 6)) : p("", !0)
5151
5151
  ], 2),
5152
- i.tabsItems.length ? (s(), u("div", Hi, [
5152
+ i.tabsItems.length ? (s(), u("div", Di, [
5153
5153
  V(L, {
5154
5154
  name: i.transitionName,
5155
5155
  mode: i.transitionMode
5156
5156
  }, {
5157
- default: b(() => [
5158
- (s(), g(ue, null, [
5157
+ default: f(() => [
5158
+ (s(), g(he, null, [
5159
5159
  (s(), g(a, {
5160
5160
  key: i.activeTab._index,
5161
5161
  item: i.activeTab,
5162
5162
  class: m(t.contentClass)
5163
5163
  }, {
5164
- default: b(({ item: o }) => [
5165
- e.$slots[`item-content.${o._index + 1}`] ? c(e.$slots, `item-content.${o._index + 1}`, {
5164
+ default: f(({ item: o }) => [
5165
+ e.$slots[`item-content.${o._index + 1}`] ? h(e.$slots, `item-content.${o._index + 1}`, {
5166
5166
  key: 0,
5167
5167
  item: i.getOriginalItem(o),
5168
5168
  index: o._index + 1,
5169
5169
  active: o._index === i.activeTab._index
5170
- }) : c(e.$slots, "item-content", {
5170
+ }) : h(e.$slots, "item-content", {
5171
5171
  key: 1,
5172
5172
  item: i.getOriginalItem(o),
5173
5173
  index: o._index + 1,
@@ -5176,7 +5176,7 @@ function Ui(e, l, t, n, r, i) {
5176
5176
  o[t.itemContentKey] ? (s(), u("div", {
5177
5177
  key: 0,
5178
5178
  innerHTML: o[t.itemContentKey]
5179
- }, null, 8, Di)) : p("", !0)
5179
+ }, null, 8, Ui)) : p("", !0)
5180
5180
  ])
5181
5181
  ]),
5182
5182
  _: 3
@@ -5188,7 +5188,7 @@ function Ui(e, l, t, n, r, i) {
5188
5188
  ])) : p("", !0)
5189
5189
  ], 2);
5190
5190
  }
5191
- const qi = {
5191
+ const Gi = {
5192
5192
  name: "w-tabs",
5193
5193
  props: {
5194
5194
  modelValue: { type: [Number, String] },
@@ -5209,7 +5209,7 @@ const qi = {
5209
5209
  right: { type: Boolean },
5210
5210
  card: { type: Boolean }
5211
5211
  },
5212
- components: { TabContent: Ai },
5212
+ components: { TabContent: Ki },
5213
5213
  emits: ["input", "update:modelValue", "focus"],
5214
5214
  data: () => ({
5215
5215
  activeTabEl: null,
@@ -5232,7 +5232,7 @@ const qi = {
5232
5232
  return this.activeTab._index < this.prevTabIndex ? "right" : "left";
5233
5233
  },
5234
5234
  tabsItems() {
5235
- return (typeof this.items == "number" ? Array(this.items).fill({}) : this.items).map((l, t) => K({
5235
+ return (typeof this.items == "number" ? Array(this.items).fill({}) : this.items).map((l, t) => F({
5236
5236
  ...l,
5237
5237
  _index: t,
5238
5238
  _disabled: !!l.disabled
@@ -5325,208 +5325,224 @@ const qi = {
5325
5325
  e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
5326
5326
  }
5327
5327
  }
5328
- }, Gi = /* @__PURE__ */ y(qi, [["render", Ui]]), Xi = { ref: "colgroup" }, Yi = ["width"], Ji = { key: 0 }, Qi = ["onClick"], Zi = ["innerHTML"], es = {
5328
+ }, Xi = /* @__PURE__ */ y(Gi, [["render", qi]]), Yi = { ref: "colgroup" }, Ji = ["width"], Qi = { key: 0 }, Zi = ["onClick"], es = ["innerHTML"], ts = {
5329
+ key: 0,
5330
+ class: "w-table__progress-bar"
5331
+ }, ls = ["colspan"], is = {
5329
5332
  key: 0,
5330
5333
  class: "w-table__progress-bar"
5331
- }, ts = ["colspan"], ls = { class: "w-table__loading-text" }, is = {
5334
+ }, ss = ["colspan"], as = { class: "w-table__loading-text" }, os = {
5332
5335
  key: 1,
5333
5336
  class: "no-data"
5334
- }, ss = ["colspan"], as = ["onClick"], os = ["data-label"], ns = ["data-label"], rs = ["innerHTML"], ds = {
5337
+ }, ns = ["colspan"], rs = ["onClick"], ds = ["data-label"], us = ["data-label"], hs = ["innerHTML"], cs = {
5335
5338
  key: 2,
5336
5339
  class: "w-table__row w-table__row--expansion"
5337
- }, us = ["colspan"], hs = { key: 0 }, cs = {
5340
+ }, ps = ["colspan"], ms = { key: 0 }, fs = {
5338
5341
  key: 3,
5339
5342
  class: "w-table__extra-row"
5340
- }, ps = {
5343
+ }, bs = {
5341
5344
  key: 1,
5342
5345
  class: "w-table__footer"
5343
- }, ms = {
5346
+ }, gs = {
5344
5347
  key: 1,
5345
5348
  class: "w-table__row"
5346
- }, fs = ["colspan"];
5347
- function bs(e, l, t, n, r, i) {
5348
- const a = S("w-icon"), o = S("w-progress"), d = S("w-transition-expand");
5349
+ }, ys = ["colspan"];
5350
+ function ws(e, l, t, n, r, i) {
5351
+ const a = S("w-icon"), o = S("w-progress"), d = S("w-transition-fade"), b = S("w-transition-expand");
5349
5352
  return s(), u("div", {
5350
5353
  class: m(["w-table-wrap", i.wrapClasses])
5351
5354
  }, [
5352
5355
  w("table", {
5353
5356
  class: m(["w-table", i.classes]),
5354
- onMousedown: l[1] || (l[1] = (...h) => i.onMouseDown && i.onMouseDown(...h)),
5355
- onMouseover: l[2] || (l[2] = (...h) => i.onMouseOver && i.onMouseOver(...h)),
5356
- onMouseout: l[3] || (l[3] = (...h) => i.onMouseOut && i.onMouseOut(...h))
5357
+ onMousedown: l[1] || (l[1] = (...c) => i.onMouseDown && i.onMouseDown(...c)),
5358
+ onMouseover: l[2] || (l[2] = (...c) => i.onMouseOver && i.onMouseOver(...c)),
5359
+ onMouseout: l[3] || (l[3] = (...c) => i.onMouseOut && i.onMouseOut(...c))
5357
5360
  }, [
5358
- w("colgroup", Xi, [
5359
- (s(!0), u(v, null, x(t.headers, (h, f) => (s(), u("col", {
5361
+ w("colgroup", Yi, [
5362
+ (s(!0), u(v, null, x(t.headers, (c, B) => (s(), u("col", {
5360
5363
  class: "w-table__col",
5361
- key: f,
5362
- width: h.width || null
5363
- }, null, 8, Yi))), 128))
5364
+ key: B,
5365
+ width: c.width || null
5366
+ }, null, 8, Ji))), 128))
5364
5367
  ], 512),
5365
- t.noHeaders ? p("", !0) : (s(), u("thead", Ji, [
5368
+ t.noHeaders ? p("", !0) : (s(), u("thead", Qi, [
5366
5369
  w("tr", null, [
5367
- (s(!0), u(v, null, x(t.headers, (h, f) => (s(), u("th", {
5368
- class: m(["w-table__header", i.headerClasses(h)]),
5369
- key: f,
5370
- onClick: (B) => !e.colResizing.dragging && h.sortable !== !1 && i.sortTable(h)
5370
+ (s(!0), u(v, null, x(t.headers, (c, B) => (s(), u("th", {
5371
+ class: m(["w-table__header", i.headerClasses(c)]),
5372
+ key: B,
5373
+ onClick: ($) => !e.colResizing.dragging && c.sortable !== !1 && i.sortTable(c)
5371
5374
  }, [
5372
- h.sortable !== !1 && h.align === "right" ? (s(), g(a, {
5375
+ c.sortable !== !1 && c.align === "right" ? (s(), g(a, {
5373
5376
  key: 0,
5374
- class: m(["w-table__header-sort", i.headerSortClasses(h)])
5377
+ class: m(["w-table__header-sort", i.headerSortClasses(c)])
5375
5378
  }, {
5376
- default: b(() => [
5379
+ default: f(() => [
5377
5380
  _("wi-arrow-down")
5378
5381
  ]),
5379
5382
  _: 2
5380
5383
  }, 1032, ["class"])) : p("", !0),
5381
- h.label ? (s(), u(v, { key: 1 }, [
5382
- e.$slots["header-label"] ? c(e.$slots, "header-label", {
5384
+ c.label ? (s(), u(v, { key: 1 }, [
5385
+ e.$slots["header-label"] ? h(e.$slots, "header-label", {
5383
5386
  key: 0,
5384
- header: h,
5385
- label: h.label,
5386
- index: f + 1
5387
+ header: c,
5388
+ label: c.label,
5389
+ index: B + 1
5387
5390
  }, () => [
5388
- _(k(h.label || ""), 1)
5391
+ _(k(c.label || ""), 1)
5389
5392
  ]) : (s(), u("span", {
5390
5393
  key: 1,
5391
- innerHTML: h.label || ""
5392
- }, null, 8, Zi))
5394
+ innerHTML: c.label || ""
5395
+ }, null, 8, es))
5393
5396
  ], 64)) : p("", !0),
5394
- h.sortable !== !1 && h.align !== "right" ? (s(), g(a, {
5397
+ c.sortable !== !1 && c.align !== "right" ? (s(), g(a, {
5395
5398
  key: 2,
5396
- class: m(["w-table__header-sort", i.headerSortClasses(h)])
5399
+ class: m(["w-table__header-sort", i.headerSortClasses(c)])
5397
5400
  }, {
5398
- default: b(() => [
5401
+ default: f(() => [
5399
5402
  _("wi-arrow-down")
5400
5403
  ]),
5401
5404
  _: 2
5402
5405
  }, 1032, ["class"])) : p("", !0),
5403
- f < t.headers.length - 1 && t.resizableColumns ? (s(), u("span", {
5406
+ B < t.headers.length - 1 && t.resizableColumns ? (s(), u("span", {
5404
5407
  key: 3,
5405
- class: m(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === f, "w-table__col-resizer--active": e.colResizing.columnIndex === f }]),
5406
- onClick: l[0] || (l[0] = W(() => {
5408
+ class: m(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === B, "w-table__col-resizer--active": e.colResizing.columnIndex === B }]),
5409
+ onClick: l[0] || (l[0] = N(() => {
5407
5410
  }, ["stop"]))
5408
5411
  }, null, 2)) : p("", !0)
5409
- ], 10, Qi))), 128))
5410
- ])
5412
+ ], 10, Zi))), 128))
5413
+ ]),
5414
+ V(d, null, {
5415
+ default: f(() => [
5416
+ t.loading === "header" ? (s(), u("tr", ts, [
5417
+ w("td", {
5418
+ colspan: t.headers.length
5419
+ }, [
5420
+ V(o, { tile: "" })
5421
+ ], 8, ls)
5422
+ ])) : p("", !0)
5423
+ ]),
5424
+ _: 1
5425
+ })
5411
5426
  ])),
5412
5427
  w("tbody", null, [
5413
- t.loading ? (s(), u("tr", es, [
5428
+ t.loading === !0 ? (s(), u("tr", is, [
5414
5429
  w("td", {
5415
5430
  colspan: t.headers.length
5416
5431
  }, [
5417
5432
  V(o, { tile: "" }),
5418
- w("div", ls, [
5419
- c(e.$slots, "loading", {}, () => [
5433
+ w("div", as, [
5434
+ h(e.$slots, "loading", {}, () => [
5420
5435
  _("Loading...")
5421
5436
  ])
5422
5437
  ])
5423
- ], 8, ts)
5424
- ])) : i.tableItems.length ? (s(!0), u(v, { key: 2 }, x(i.sortedItems, (h, f) => (s(), u(v, { key: f }, [
5425
- e.$slots.item ? c(e.$slots, "item", {
5438
+ ], 8, ss)
5439
+ ])) : i.tableItems.length ? p("", !0) : (s(), u("tr", os, [
5440
+ w("td", {
5441
+ class: "w-table__cell text-center",
5442
+ colspan: t.headers.length
5443
+ }, [
5444
+ h(e.$slots, "no-data", {}, () => [
5445
+ _("No data to show.")
5446
+ ])
5447
+ ], 8, ns)
5448
+ ])),
5449
+ i.tableItems.length && t.loading !== !0 ? (s(!0), u(v, { key: 2 }, x(i.sortedItems, (c, B) => (s(), u(v, { key: B }, [
5450
+ e.$slots.item ? h(e.$slots, "item", {
5426
5451
  key: 0,
5427
- item: h,
5428
- index: f + 1,
5429
- select: () => i.doSelectRow(h, f),
5430
- classes: { "w-table__row": !0, "w-table__row--selected": i.selectedRowsByUid[h._uid] !== void 0, "w-table__row--expanded": i.expandedRowsByUid[h._uid] !== void 0 }
5452
+ item: c,
5453
+ index: B + 1,
5454
+ select: () => i.doSelectRow(c, B),
5455
+ classes: { "w-table__row": !0, "w-table__row--selected": i.selectedRowsByUid[c._uid] !== void 0, "w-table__row--expanded": i.expandedRowsByUid[c._uid] !== void 0 }
5431
5456
  }) : (s(), u("tr", {
5432
5457
  key: 1,
5433
- class: m(["w-table__row", { "w-table__row--selected": i.selectedRowsByUid[h._uid] !== void 0, "w-table__row--expanded": i.expandedRowsByUid[h._uid] !== void 0 }]),
5434
- onClick: (B) => i.doSelectRow(h, f)
5458
+ class: m(["w-table__row", { "w-table__row--selected": i.selectedRowsByUid[c._uid] !== void 0, "w-table__row--expanded": i.expandedRowsByUid[c._uid] !== void 0 }]),
5459
+ onClick: ($) => i.doSelectRow(c, B)
5435
5460
  }, [
5436
- (s(!0), u(v, null, x(t.headers, (B, I) => (s(), u(v, null, [
5437
- e.$slots[`item-cell.${B.key}`] || e.$slots[`item-cell.${I + 1}`] || e.$slots["item-cell"] ? (s(), u("td", {
5438
- class: m(["w-table__cell", { [`text-${B.align || "left"}`]: !0, "w-table__cell--sticky": B.sticky }]),
5439
- key: `${I}-a`,
5440
- "data-label": B.label
5461
+ (s(!0), u(v, null, x(t.headers, ($, T) => (s(), u(v, null, [
5462
+ e.$slots[`item-cell.${$.key}`] || e.$slots[`item-cell.${T + 1}`] || e.$slots["item-cell"] ? (s(), u("td", {
5463
+ class: m(["w-table__cell", { [`text-${$.align || "left"}`]: !0, "w-table__cell--sticky": $.sticky }]),
5464
+ key: `${T}-a`,
5465
+ "data-label": $.label
5441
5466
  }, [
5442
- e.$slots[`item-cell.${B.key}`] ? c(e.$slots, `item-cell.${B.key}`, {
5467
+ e.$slots[`item-cell.${$.key}`] ? h(e.$slots, `item-cell.${$.key}`, {
5443
5468
  key: 0,
5444
- header: B,
5445
- item: h,
5446
- label: h[B.key] || "",
5447
- index: f + 1
5448
- }) : e.$slots[`item-cell.${I + 1}`] ? c(e.$slots, `item-cell.${I + 1}`, {
5469
+ header: $,
5470
+ item: c,
5471
+ label: c[$.key] || "",
5472
+ index: B + 1
5473
+ }) : e.$slots[`item-cell.${T + 1}`] ? h(e.$slots, `item-cell.${T + 1}`, {
5449
5474
  key: 1,
5450
- header: B,
5451
- item: h,
5452
- label: h[B.key] || "",
5453
- index: f + 1
5454
- }) : e.$slots["item-cell"] ? c(e.$slots, "item-cell", {
5475
+ header: $,
5476
+ item: c,
5477
+ label: c[$.key] || "",
5478
+ index: B + 1
5479
+ }) : e.$slots["item-cell"] ? h(e.$slots, "item-cell", {
5455
5480
  key: 2,
5456
- header: B,
5457
- item: h,
5458
- label: h[B.key] || "",
5459
- index: f + 1
5481
+ header: $,
5482
+ item: c,
5483
+ label: c[$.key] || "",
5484
+ index: B + 1
5460
5485
  }) : p("", !0),
5461
- I < t.headers.length - 1 && t.resizableColumns ? (s(), u("span", {
5486
+ T < t.headers.length - 1 && t.resizableColumns ? (s(), u("span", {
5462
5487
  key: 3,
5463
- class: m(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === I, "w-table__col-resizer--active": e.colResizing.columnIndex === I }])
5488
+ class: m(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === T, "w-table__col-resizer--active": e.colResizing.columnIndex === T }])
5464
5489
  }, null, 2)) : p("", !0)
5465
- ], 10, os)) : (s(), u("td", {
5466
- class: m(["w-table__cell", { [`text-${B.align || "left"}`]: !0, "w-table__cell--sticky": B.sticky }]),
5467
- key: `${I}-b`,
5468
- "data-label": B.label
5490
+ ], 10, ds)) : (s(), u("td", {
5491
+ class: m(["w-table__cell", { [`text-${$.align || "left"}`]: !0, "w-table__cell--sticky": $.sticky }]),
5492
+ key: `${T}-b`,
5493
+ "data-label": $.label
5469
5494
  }, [
5470
5495
  w("div", {
5471
- innerHTML: h[B.key] || ""
5472
- }, null, 8, rs),
5473
- I < t.headers.length - 1 && t.resizableColumns ? (s(), u("span", {
5496
+ innerHTML: c[$.key] || ""
5497
+ }, null, 8, hs),
5498
+ T < t.headers.length - 1 && t.resizableColumns ? (s(), u("span", {
5474
5499
  key: 0,
5475
- class: m(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === I, "w-table__col-resizer--active": e.colResizing.columnIndex === I }])
5500
+ class: m(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === T, "w-table__col-resizer--active": e.colResizing.columnIndex === T }])
5476
5501
  }, null, 2)) : p("", !0)
5477
- ], 10, ns))
5502
+ ], 10, us))
5478
5503
  ], 64))), 256))
5479
- ], 10, as)),
5480
- i.expandedRowsByUid[h._uid] ? (s(), u("tr", ds, [
5504
+ ], 10, rs)),
5505
+ i.expandedRowsByUid[c._uid] ? (s(), u("tr", cs, [
5481
5506
  w("td", {
5482
5507
  class: "w-table__cell",
5483
5508
  colspan: t.headers.length
5484
5509
  }, [
5485
- V(d, { y: "" }, {
5486
- default: b(() => [
5487
- i.expandedRowsByUid[h._uid] ? (s(), u("div", hs, [
5488
- c(e.$slots, "row-expansion", {
5489
- item: h,
5490
- index: f + 1
5510
+ V(b, { y: "" }, {
5511
+ default: f(() => [
5512
+ i.expandedRowsByUid[c._uid] ? (s(), u("div", ms, [
5513
+ h(e.$slots, "row-expansion", {
5514
+ item: c,
5515
+ index: B + 1
5491
5516
  })
5492
5517
  ])) : p("", !0),
5493
- f < t.headers.length - 1 && t.resizableColumns ? (s(), u("span", {
5518
+ B < t.headers.length - 1 && t.resizableColumns ? (s(), u("span", {
5494
5519
  key: 1,
5495
- class: m(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === f, "w-table__col-resizer--active": e.colResizing.columnIndex === e.j }])
5520
+ class: m(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === B, "w-table__col-resizer--active": e.colResizing.columnIndex === e.j }])
5496
5521
  }, null, 2)) : p("", !0)
5497
5522
  ]),
5498
5523
  _: 2
5499
5524
  }, 1024)
5500
- ], 8, us)
5525
+ ], 8, ps)
5501
5526
  ])) : p("", !0)
5502
- ], 64))), 128)) : (s(), u("tr", is, [
5503
- w("td", {
5504
- class: "w-table__cell text-center",
5505
- colspan: t.headers.length
5506
- }, [
5507
- c(e.$slots, "no-data", {}, () => [
5508
- _("No data to show.")
5509
- ])
5510
- ], 8, ss)
5511
- ])),
5512
- e.$slots["extra-row"] ? (s(), u("div", cs, [
5513
- c(e.$slots, "extra-row")
5527
+ ], 64))), 128)) : p("", !0),
5528
+ e.$slots["extra-row"] ? (s(), u("div", fs, [
5529
+ h(e.$slots, "extra-row")
5514
5530
  ])) : p("", !0)
5515
5531
  ]),
5516
- e.$slots.footer || e.$slots["footer-row"] ? (s(), u("tfoot", ps, [
5517
- e.$slots["footer-row"] ? c(e.$slots, "footer-row", { key: 0 }) : (s(), u("tr", ms, [
5532
+ e.$slots.footer || e.$slots["footer-row"] ? (s(), u("tfoot", bs, [
5533
+ e.$slots["footer-row"] ? h(e.$slots, "footer-row", { key: 0 }) : (s(), u("tr", gs, [
5518
5534
  w("td", {
5519
5535
  class: "w-table__cell",
5520
5536
  colspan: t.headers.length
5521
5537
  }, [
5522
- c(e.$slots, "footer")
5523
- ], 8, fs)
5538
+ h(e.$slots, "footer")
5539
+ ], 8, ys)
5524
5540
  ]))
5525
5541
  ])) : p("", !0)
5526
5542
  ], 34)
5527
5543
  ], 2);
5528
5544
  }
5529
- const ee = 15, gs = {
5545
+ const te = 15, vs = {
5530
5546
  name: "w-table",
5531
5547
  props: {
5532
5548
  items: { type: Array, required: !0 },
@@ -5535,16 +5551,16 @@ const ee = 15, gs = {
5535
5551
  fixedLayout: { type: Boolean },
5536
5552
  fixedHeaders: { type: Boolean },
5537
5553
  fixedFooter: { type: Boolean },
5538
- loading: { type: Boolean },
5554
+ loading: { type: [Boolean, String] },
5539
5555
  sort: { type: [String, Array] },
5540
5556
  expandableRows: {
5541
- validator: (e) => ([void 0, !0, !1, 1, "1", ""].includes(e) || Z(
5557
+ validator: (e) => ([void 0, !0, !1, 1, "1", ""].includes(e) || ee(
5542
5558
  `Wrong value for the w-table's \`expandableRows\` prop. Given: "${e}", expected one of: [undefined, true, false, 1, '1', ''].`
5543
5559
  ), !0)
5544
5560
  },
5545
5561
  expandedRows: { type: Array },
5546
5562
  selectableRows: {
5547
- validator: (e) => ([void 0, !0, !1, 1, "1", ""].includes(e) || Z(
5563
+ validator: (e) => ([void 0, !0, !1, 1, "1", ""].includes(e) || ee(
5548
5564
  `Wrong value for the w-table's \`selectableRows\` prop. Given: "${e}", expected one of: [undefined, true, false, 1, '1', ''].`
5549
5565
  ), !0)
5550
5566
  },
@@ -5552,6 +5568,7 @@ const ee = 15, gs = {
5552
5568
  forceSelection: { type: Boolean },
5553
5569
  uidKey: { type: String, default: "id" },
5554
5570
  filter: { type: Function },
5571
+ sortFunction: { type: Function },
5555
5572
  mobileBreakpoint: { type: Number, default: 0 },
5556
5573
  resizableColumns: { type: Boolean }
5557
5574
  },
@@ -5587,7 +5604,7 @@ const ee = 15, gs = {
5587
5604
  return typeof this.filter == "function" ? this.tableItems.filter(this.filter) : this.tableItems;
5588
5605
  },
5589
5606
  sortedItems() {
5590
- if (!this.activeSorting.length)
5607
+ if (!this.activeSorting.length || this.sortFunction)
5591
5608
  return this.filteredItems;
5592
5609
  const e = this.activeSorting[0].replace(/^[+-]/, ""), l = this.activeSorting[0][0] === "-";
5593
5610
  return [...this.filteredItems].sort((t, n) => (t = t[e], n = n[e], !isNaN(t) && !isNaN(n) && (t = parseFloat(t), n = parseFloat(n)), (t > n ? 1 : -1) * (l ? -1 : 1)));
@@ -5641,11 +5658,9 @@ const ee = 15, gs = {
5641
5658
  `m${e.align === "right" ? "r" : "l"}1`
5642
5659
  ];
5643
5660
  },
5644
- sortTable(e) {
5661
+ async sortTable(e) {
5645
5662
  const l = this.activeSortingKeys[e.key];
5646
- if (l && this.activeSortingKeys[e.key] === "-")
5647
- return this.activeSorting = [], this.$emit("update:sort");
5648
- this.activeSorting[0] = (l ? "-" : "+") + e.key, this.$emit("update:sort", this.activeSorting);
5663
+ l && this.activeSortingKeys[e.key] === "-" ? this.activeSorting = [] : this.activeSorting[0] = (l ? "-" : "+") + e.key, this.$emit("update:sort", this.activeSorting), typeof this.sortFunction == "function" && await this.sortFunction(this.activeSorting);
5649
5664
  },
5650
5665
  doSelectRow(e, l) {
5651
5666
  const t = this.expandableRows === "" ? !0 : this.expandableRows, n = this.selectableRows === "" ? !0 : this.selectableRows;
@@ -5687,12 +5702,12 @@ const ee = 15, gs = {
5687
5702
  onResizerMouseMove(e) {
5688
5703
  const { startCursorX: l, columnEl: t, nextColumnEl: n, colWidth: r, nextColWidth: i } = this.colResizing;
5689
5704
  this.colResizing.dragging = !0;
5690
- const a = e.pageX - l, o = r + i, d = r + a, h = i - a;
5705
+ const a = e.pageX - l, o = r + i, d = r + a, b = i - a;
5691
5706
  t.style.width = r + a + "px", n.style.width = i - a + "px";
5692
- const f = a < 0 && t.offsetWidth > d || t.offsetWidth <= ee, B = a > 0 && n.offsetWidth > h;
5693
- if (f) {
5694
- const I = Math.max(t.offsetWidth, ee);
5695
- t.style.width = I + "px", n.style.width = o - I + "px";
5707
+ const c = a < 0 && t.offsetWidth > d || t.offsetWidth <= te, B = a > 0 && n.offsetWidth > b;
5708
+ if (c) {
5709
+ const $ = Math.max(t.offsetWidth, te);
5710
+ t.style.width = $ + "px", n.style.width = o - $ + "px";
5696
5711
  } else
5697
5712
  B && (t.style.width = o - n.offsetWidth + "px", n.style.width = n.offsetWidth + "px");
5698
5713
  },
@@ -5726,13 +5741,13 @@ const ee = 15, gs = {
5726
5741
  this.selectedRowsInternal = Array.isArray(e) && e.length ? this.selectedRows : [];
5727
5742
  }
5728
5743
  }
5729
- }, ys = /* @__PURE__ */ y(gs, [["render", bs]]), ws = ["role", "aria-pressed", "tabindex"];
5730
- function vs(e, l, t, n, r, i) {
5731
- return s(), u("span", C({ class: "w-tag" }, P(e.$attrs, !0), {
5744
+ }, _s = /* @__PURE__ */ y(vs, [["render", ws]]), ks = ["role", "aria-pressed", "tabindex"];
5745
+ function Cs(e, l, t, n, r, i) {
5746
+ return s(), u("span", C({ class: "w-tag" }, W(e.$attrs, !0), {
5732
5747
  onClick: l[1] || (l[1] = (a) => {
5733
5748
  e.$emit("update:modelValue", !t.modelValue), e.$emit("input", !t.modelValue);
5734
5749
  }),
5735
- onKeypress: l[2] || (l[2] = M((a) => {
5750
+ onKeypress: l[2] || (l[2] = P((a) => {
5736
5751
  e.$emit("update:modelValue", !t.modelValue), e.$emit("input", !t.modelValue);
5737
5752
  }, ["enter"])),
5738
5753
  class: i.classes,
@@ -5741,19 +5756,19 @@ function vs(e, l, t, n, r, i) {
5741
5756
  tabindex: t.modelValue !== -1 && 0,
5742
5757
  style: i.styles
5743
5758
  }), [
5744
- c(e.$slots, "default"),
5759
+ h(e.$slots, "default"),
5745
5760
  t.closable && t.modelValue ? (s(), u("i", {
5746
5761
  key: 0,
5747
5762
  class: "w-icon w-tag__closable wi-cross",
5748
- onClick: l[0] || (l[0] = W((a) => {
5763
+ onClick: l[0] || (l[0] = N((a) => {
5749
5764
  e.$emit("update:modelValue", !1), e.$emit("input", !1);
5750
5765
  }, ["stop"])),
5751
5766
  role: "icon",
5752
5767
  "aria-hidden": "true"
5753
5768
  })) : p("", !0)
5754
- ], 16, ws);
5769
+ ], 16, ks);
5755
5770
  }
5756
- const _s = {
5771
+ const Ss = {
5757
5772
  name: "w-tag",
5758
5773
  props: {
5759
5774
  modelValue: { type: [Boolean, Number], default: -1 },
@@ -5800,10 +5815,10 @@ const _s = {
5800
5815
  };
5801
5816
  }
5802
5817
  }
5803
- }, ks = /* @__PURE__ */ y(_s, [["render", vs]]), Cs = ["for"], Ss = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Bs = ["for"], $s = ["for"];
5804
- function Vs(e, l, t, n, r, i) {
5818
+ }, Bs = /* @__PURE__ */ y(Ss, [["render", Cs]]), $s = ["for"], Vs = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Is = ["for"], Rs = ["for"];
5819
+ function Ls(e, l, t, n, r, i) {
5805
5820
  const a = S("w-icon");
5806
- return s(), g($(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: r.isFocused }, {
5821
+ return s(), g(I(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: r.isFocused }, {
5807
5822
  valid: e.valid,
5808
5823
  "onUpdate:valid": l[6] || (l[6] = (o) => e.valid = o),
5809
5824
  wrap: i.hasLabel && t.labelPosition !== "inside",
@@ -5812,17 +5827,17 @@ function Vs(e, l, t, n, r, i) {
5812
5827
  }),
5813
5828
  class: i.classes
5814
5829
  }), {
5815
- default: b(() => [
5830
+ default: f(() => [
5816
5831
  t.labelPosition === "left" ? (s(), u(v, { key: 0 }, [
5817
5832
  e.$slots.default || t.label ? (s(), u("label", {
5818
5833
  key: 0,
5819
5834
  class: m(["w-textarea__label w-textarea__label--left w-form-el-shakable", e.labelClasses]),
5820
5835
  for: `w-textarea--${e._.uid}`
5821
5836
  }, [
5822
- c(e.$slots, "default", {}, () => [
5837
+ h(e.$slots, "default", {}, () => [
5823
5838
  _(k(t.label), 1)
5824
5839
  ])
5825
- ], 10, Cs)) : p("", !0)
5840
+ ], 10, $s)) : p("", !0)
5826
5841
  ], 64)) : p("", !0),
5827
5842
  w("div", {
5828
5843
  class: m(["w-textarea__textarea-wrap", i.inputWrapClasses])
@@ -5834,7 +5849,7 @@ function Vs(e, l, t, n, r, i) {
5834
5849
  for: `w-textarea--${e._.uid}`,
5835
5850
  onClick: l[0] || (l[0] = (o) => e.$emit("click:inner-icon-left", o))
5836
5851
  }, {
5837
- default: b(() => [
5852
+ default: f(() => [
5838
5853
  _(k(t.innerIconLeft), 1)
5839
5854
  ]),
5840
5855
  _: 1
@@ -5843,7 +5858,7 @@ function Vs(e, l, t, n, r, i) {
5843
5858
  class: "w-textarea__textarea",
5844
5859
  ref: "textarea",
5845
5860
  "onUpdate:modelValue": l[1] || (l[1] = (o) => r.inputValue = o)
5846
- }, P(i.listeners, !0), {
5861
+ }, W(i.listeners, !0), {
5847
5862
  onInput: l[2] || (l[2] = (...o) => i.onInput && i.onInput(...o)),
5848
5863
  onFocus: l[3] || (l[3] = (...o) => i.onFocus && i.onFocus(...o)),
5849
5864
  onBlur: l[4] || (l[4] = (...o) => i.onBlur && i.onBlur(...o)),
@@ -5857,8 +5872,8 @@ function Vs(e, l, t, n, r, i) {
5857
5872
  disabled: e.isDisabled || null,
5858
5873
  required: e.required || null,
5859
5874
  tabindex: e.tabindex || null
5860
- }), null, 16, Ss), [
5861
- [se, r.inputValue]
5875
+ }), null, 16, Vs), [
5876
+ [ae, r.inputValue]
5862
5877
  ]),
5863
5878
  t.labelPosition === "inside" && i.showLabelInside ? (s(), u(v, { key: 1 }, [
5864
5879
  e.$slots.default || t.label ? (s(), u("label", {
@@ -5866,10 +5881,10 @@ function Vs(e, l, t, n, r, i) {
5866
5881
  class: m(["w-textarea__label w-textarea__label--inside w-form-el-shakable", e.labelClasses]),
5867
5882
  for: `w-textarea--${e._.uid}`
5868
5883
  }, [
5869
- c(e.$slots, "default", {}, () => [
5884
+ h(e.$slots, "default", {}, () => [
5870
5885
  _(k(t.label), 1)
5871
5886
  ])
5872
- ], 10, Bs)) : p("", !0)
5887
+ ], 10, Is)) : p("", !0)
5873
5888
  ], 64)) : p("", !0),
5874
5889
  t.innerIconRight ? (s(), g(a, {
5875
5890
  key: 2,
@@ -5878,7 +5893,7 @@ function Vs(e, l, t, n, r, i) {
5878
5893
  for: `w-textarea--${e._.uid}`,
5879
5894
  onClick: l[5] || (l[5] = (o) => e.$emit("click:inner-icon-right", o))
5880
5895
  }, {
5881
- default: b(() => [
5896
+ default: f(() => [
5882
5897
  _(k(t.innerIconRight), 1)
5883
5898
  ]),
5884
5899
  _: 1
@@ -5890,18 +5905,18 @@ function Vs(e, l, t, n, r, i) {
5890
5905
  class: m(["w-textarea__label w-textarea__label--right w-form-el-shakable", e.labelClasses]),
5891
5906
  for: `w-textarea--${e._.uid}`
5892
5907
  }, [
5893
- c(e.$slots, "default", {}, () => [
5908
+ h(e.$slots, "default", {}, () => [
5894
5909
  _(k(t.label), 1)
5895
5910
  ])
5896
- ], 10, $s)) : p("", !0)
5911
+ ], 10, Rs)) : p("", !0)
5897
5912
  ], 64)) : p("", !0)
5898
5913
  ]),
5899
5914
  _: 3
5900
5915
  }, 16, ["valid", "wrap", "class"]);
5901
5916
  }
5902
- const Is = {
5917
+ const xs = {
5903
5918
  name: "w-textarea",
5904
- mixins: [z],
5919
+ mixins: [E],
5905
5920
  props: {
5906
5921
  modelValue: { default: "" },
5907
5922
  label: { type: String },
@@ -6013,26 +6028,26 @@ const Is = {
6013
6028
  e ? this.getLineHeight() : this.height = null;
6014
6029
  }
6015
6030
  }
6016
- }, Rs = /* @__PURE__ */ y(Is, [["render", Vs]]), Ls = { class: "w-timeline" }, xs = ["innerHTML"], Ts = ["innerHTML"];
6017
- function zs(e, l, t, n, r, i) {
6018
- return s(), u("ul", Ls, [
6031
+ }, Ts = /* @__PURE__ */ y(xs, [["render", Ls]]), zs = { class: "w-timeline" }, Es = ["innerHTML"], Os = ["innerHTML"];
6032
+ function Ms(e, l, t, n, r, i) {
6033
+ return s(), u("ul", zs, [
6019
6034
  (s(!0), u(v, null, x(t.items, (a, o) => (s(), u("li", {
6020
6035
  class: "w-timeline-item",
6021
6036
  key: o
6022
6037
  }, [
6023
- (s(), g($(a[t.itemIconKey] || t.icon ? "w-icon" : "div"), {
6038
+ (s(), g(I(a[t.itemIconKey] || t.icon ? "w-icon" : "div"), {
6024
6039
  class: m(["w-timeline-item__bullet", { [a[t.itemColorKey] || t.color]: a[t.itemColorKey] || t.color }])
6025
6040
  }, {
6026
- default: b(() => [
6041
+ default: f(() => [
6027
6042
  _(k(a[t.itemIconKey] || t.icon), 1)
6028
6043
  ]),
6029
6044
  _: 2
6030
6045
  }, 1032, ["class"])),
6031
- e.$slots[`item.${o + 1}`] ? c(e.$slots, `item.${o + 1}`, {
6046
+ e.$slots[`item.${o + 1}`] ? h(e.$slots, `item.${o + 1}`, {
6032
6047
  key: 1,
6033
6048
  item: a,
6034
6049
  index: o + 1
6035
- }) : c(e.$slots, "item", {
6050
+ }) : h(e.$slots, "item", {
6036
6051
  key: 0,
6037
6052
  item: a,
6038
6053
  index: o + 1
@@ -6040,16 +6055,16 @@ function zs(e, l, t, n, r, i) {
6040
6055
  w("div", {
6041
6056
  class: m(["w-timeline-item__title", { [a[t.itemColorKey] || t.color]: a[t.itemColorKey] || t.color }]),
6042
6057
  innerHTML: a[t.itemTitleKey]
6043
- }, null, 10, xs),
6058
+ }, null, 10, Es),
6044
6059
  w("div", {
6045
6060
  class: "w-timeline-item__content",
6046
6061
  innerHTML: a[t.itemContentKey]
6047
- }, null, 8, Ts)
6062
+ }, null, 8, Os)
6048
6063
  ])
6049
6064
  ]))), 128))
6050
6065
  ]);
6051
6066
  }
6052
- const Es = {
6067
+ const Ps = {
6053
6068
  name: "w-timeline",
6054
6069
  props: {
6055
6070
  items: { type: [Array, Number], required: !0 },
@@ -6061,16 +6076,16 @@ const Es = {
6061
6076
  itemColorKey: { type: String, default: "color" }
6062
6077
  },
6063
6078
  emits: []
6064
- }, Os = /* @__PURE__ */ y(Es, [["render", zs]]);
6065
- function Ms(e, l, t, n, r, i) {
6079
+ }, Ws = /* @__PURE__ */ y(Ps, [["render", Ms]]);
6080
+ function Ns(e, l, t, n, r, i) {
6066
6081
  return s(), u("div", {
6067
6082
  class: m(["w-toolbar", i.classes]),
6068
6083
  style: R(i.styles)
6069
6084
  }, [
6070
- c(e.$slots, "default")
6085
+ h(e.$slots, "default")
6071
6086
  ], 6);
6072
6087
  }
6073
- const Ps = {
6088
+ const As = {
6074
6089
  name: "w-toolbar",
6075
6090
  props: {
6076
6091
  color: { type: String },
@@ -6115,31 +6130,31 @@ const Ps = {
6115
6130
  };
6116
6131
  }
6117
6132
  }
6118
- }, Ws = /* @__PURE__ */ y(Ps, [["render", Ms]]);
6119
- function Ns(e, l, t, n, r, i) {
6133
+ }, Ks = /* @__PURE__ */ y(As, [["render", Ns]]);
6134
+ function Fs(e, l, t, n, r, i) {
6120
6135
  return s(), u(v, null, [
6121
- c(e.$slots, "activator", { on: i.activatorEventHandlers }),
6136
+ h(e.$slots, "activator", { on: i.activatorEventHandlers }),
6122
6137
  V(L, {
6123
6138
  name: i.transitionName,
6124
6139
  appear: ""
6125
6140
  }, {
6126
- default: b(() => [
6141
+ default: f(() => [
6127
6142
  e.detachableVisible ? (s(), u("div", {
6128
6143
  class: m(["w-tooltip", i.classes]),
6129
6144
  ref: "detachable",
6130
6145
  key: e._.uid,
6131
6146
  style: R(i.styles)
6132
6147
  }, [
6133
- c(e.$slots, "default")
6148
+ h(e.$slots, "default")
6134
6149
  ], 6)) : p("", !0)
6135
6150
  ]),
6136
6151
  _: 3
6137
6152
  }, 8, ["name"])
6138
6153
  ], 64);
6139
6154
  }
6140
- const As = {
6155
+ const js = {
6141
6156
  name: "w-tooltip",
6142
- mixins: [oe],
6157
+ mixins: [ne],
6143
6158
  props: {
6144
6159
  modelValue: {},
6145
6160
  showOnClick: { type: Boolean },
@@ -6167,7 +6182,7 @@ const As = {
6167
6182
  }),
6168
6183
  computed: {
6169
6184
  tooltipClasses() {
6170
- return A(this.tooltipClass);
6185
+ return K(this.tooltipClass);
6171
6186
  },
6172
6187
  transitionName() {
6173
6188
  const e = this.position.replace(/top|bottom/, (l) => ({ top: "up", bottom: "down" })[l]);
@@ -6219,23 +6234,23 @@ const As = {
6219
6234
  !this.detachableVisible || this.showOnHover && !e && (await new Promise((l) => setTimeout(l, 10)), this.showOnHover && this.hoveringActivator) || (this.$emit("update:modelValue", this.detachableVisible = !1), this.$emit("input", !1), this.$emit("close"), document.removeEventListener("mousedown", this.onOutsideMousedown), window.removeEventListener("resize", this.onResize));
6220
6235
  }
6221
6236
  }
6222
- }, Ks = /* @__PURE__ */ y(As, [["render", Ns]]);
6223
- function js(e, l, t, n, r, i) {
6237
+ }, Hs = /* @__PURE__ */ y(js, [["render", Fs]]);
6238
+ function Ds(e, l, t, n, r, i) {
6224
6239
  return s(), g(L, C({ name: "bounce" }, e.$props), {
6225
- default: b(() => [
6226
- c(e.$slots, "default")
6240
+ default: f(() => [
6241
+ h(e.$slots, "default")
6227
6242
  ]),
6228
6243
  _: 3
6229
6244
  }, 16);
6230
6245
  }
6231
- const Fs = {
6246
+ const Us = {
6232
6247
  name: "w-transition-bounce",
6233
6248
  props: {
6234
6249
  appear: { type: Boolean },
6235
6250
  duration: { type: [Number, String] }
6236
6251
  }
6237
- }, Hs = /* @__PURE__ */ y(Fs, [["render", js]]);
6238
- function Ds(e, l, t, n, r, i) {
6252
+ }, qs = /* @__PURE__ */ y(Us, [["render", Ds]]);
6253
+ function Gs(e, l, t, n, r, i) {
6239
6254
  return s(), g(L, {
6240
6255
  name: "expand",
6241
6256
  mode: "out-in",
@@ -6250,13 +6265,13 @@ function Ds(e, l, t, n, r, i) {
6250
6265
  onLeave: i.leave,
6251
6266
  onAfterLeave: i.afterLeave
6252
6267
  }, {
6253
- default: b(() => [
6254
- c(e.$slots, "default")
6268
+ default: f(() => [
6269
+ h(e.$slots, "default")
6255
6270
  ]),
6256
6271
  _: 3
6257
6272
  }, 8, ["onBeforeAppear", "onAppear", "onAfterAppear", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"]);
6258
6273
  }
6259
- const Us = {
6274
+ const Xs = {
6260
6275
  name: "w-transition-expand",
6261
6276
  props: {
6262
6277
  x: { type: Boolean },
@@ -6342,61 +6357,61 @@ const Us = {
6342
6357
  setTimeout(() => this.applyHideStyles(e), 20), setTimeout(l, this.duration);
6343
6358
  }
6344
6359
  }
6345
- }, qs = /* @__PURE__ */ y(Us, [["render", Ds]]);
6346
- function Gs(e, l, t, n, r, i) {
6360
+ }, Ys = /* @__PURE__ */ y(Xs, [["render", Gs]]);
6361
+ function Js(e, l, t, n, r, i) {
6347
6362
  return s(), g(L, C({ name: "fade" }, e.$props), {
6348
- default: b(() => [
6349
- c(e.$slots, "default")
6363
+ default: f(() => [
6364
+ h(e.$slots, "default")
6350
6365
  ]),
6351
6366
  _: 3
6352
6367
  }, 16);
6353
6368
  }
6354
- const Xs = {
6369
+ const Qs = {
6355
6370
  name: "w-transition-fade",
6356
6371
  props: {
6357
6372
  appear: { type: Boolean },
6358
6373
  duration: { type: [Number, String] }
6359
6374
  }
6360
- }, Ys = /* @__PURE__ */ y(Xs, [["render", Gs]]);
6361
- function Js(e, l, t, n, r, i) {
6375
+ }, Zs = /* @__PURE__ */ y(Qs, [["render", Js]]);
6376
+ function ea(e, l, t, n, r, i) {
6362
6377
  return s(), g(L, C({ name: "scale" }, e.$props), {
6363
- default: b(() => [
6364
- c(e.$slots, "default")
6378
+ default: f(() => [
6379
+ h(e.$slots, "default")
6365
6380
  ]),
6366
6381
  _: 3
6367
6382
  }, 16);
6368
6383
  }
6369
- const Qs = {
6384
+ const ta = {
6370
6385
  name: "w-transition-scale",
6371
6386
  props: {
6372
6387
  appear: { type: Boolean },
6373
6388
  duration: { type: [Number, String] }
6374
6389
  }
6375
- }, Zs = /* @__PURE__ */ y(Qs, [["render", Js]]);
6376
- function ea(e, l, t, n, r, i) {
6390
+ }, la = /* @__PURE__ */ y(ta, [["render", ea]]);
6391
+ function ia(e, l, t, n, r, i) {
6377
6392
  return s(), g(L, C({ name: "scale-fade" }, e.$props), {
6378
- default: b(() => [
6379
- c(e.$slots, "default")
6393
+ default: f(() => [
6394
+ h(e.$slots, "default")
6380
6395
  ]),
6381
6396
  _: 3
6382
6397
  }, 16);
6383
6398
  }
6384
- const ta = {
6399
+ const sa = {
6385
6400
  name: "w-transition-scale-fade",
6386
6401
  props: {
6387
6402
  appear: { type: Boolean },
6388
6403
  duration: { type: [Number, String] }
6389
6404
  }
6390
- }, la = /* @__PURE__ */ y(ta, [["render", ea]]);
6391
- function ia(e, l, t, n, r, i) {
6405
+ }, aa = /* @__PURE__ */ y(sa, [["render", ia]]);
6406
+ function oa(e, l, t, n, r, i) {
6392
6407
  return s(), g(L, C({ name: i.transitionName }, e.$props), {
6393
- default: b(() => [
6394
- c(e.$slots, "default")
6408
+ default: f(() => [
6409
+ h(e.$slots, "default")
6395
6410
  ]),
6396
6411
  _: 3
6397
6412
  }, 16, ["name"]);
6398
6413
  }
6399
- const sa = {
6414
+ const na = {
6400
6415
  name: "w-transition-slide",
6401
6416
  props: {
6402
6417
  appear: { type: Boolean },
@@ -6414,16 +6429,16 @@ const sa = {
6414
6429
  return `slide-${this.direction}`;
6415
6430
  }
6416
6431
  }
6417
- }, aa = /* @__PURE__ */ y(sa, [["render", ia]]);
6418
- function oa(e, l, t, n, r, i) {
6432
+ }, ra = /* @__PURE__ */ y(na, [["render", oa]]);
6433
+ function da(e, l, t, n, r, i) {
6419
6434
  return s(), g(L, C({ name: i.transitionName }, e.$props), {
6420
- default: b(() => [
6421
- c(e.$slots, "default")
6435
+ default: f(() => [
6436
+ h(e.$slots, "default")
6422
6437
  ]),
6423
6438
  _: 3
6424
6439
  }, 16, ["name"]);
6425
6440
  }
6426
- const na = {
6441
+ const ua = {
6427
6442
  name: "w-transition-slide-fade",
6428
6443
  props: {
6429
6444
  appear: { type: Boolean },
@@ -6441,75 +6456,75 @@ const na = {
6441
6456
  return `slide-fade-${this.direction}`;
6442
6457
  }
6443
6458
  }
6444
- }, ra = /* @__PURE__ */ y(na, [["render", oa]]);
6445
- function da(e, l, t, n, r, i) {
6459
+ }, ha = /* @__PURE__ */ y(ua, [["render", da]]);
6460
+ function ca(e, l, t, n, r, i) {
6446
6461
  return s(), g(L, C({ name: "twist" }, e.$props), {
6447
- default: b(() => [
6448
- c(e.$slots, "default")
6462
+ default: f(() => [
6463
+ h(e.$slots, "default")
6449
6464
  ]),
6450
6465
  _: 3
6451
6466
  }, 16);
6452
6467
  }
6453
- const ua = {
6468
+ const pa = {
6454
6469
  name: "w-transition-twist",
6455
6470
  props: {
6456
6471
  appear: { type: Boolean },
6457
6472
  duration: { type: [Number, String] }
6458
6473
  }
6459
- }, ha = /* @__PURE__ */ y(ua, [["render", da]]), ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6474
+ }, ma = /* @__PURE__ */ y(pa, [["render", ca]]), fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6460
6475
  __proto__: null,
6461
- WAccordion: ye,
6462
- WAlert: ke,
6463
- WApp: ze,
6464
- WBadge: Me,
6465
- WBreadcrumbs: Ae,
6466
- WButton: Xe,
6467
- WCard: Qe,
6468
- WCheckbox: rt,
6469
- WCheckboxes: ct,
6470
- WConfirm: bt,
6471
- WDatePicker: wt,
6472
- WDialog: kt,
6473
- WDivider: $t,
6474
- WDrawer: xt,
6475
- WFlex: Et,
6476
- WForm: Wt,
6477
- WFormElement: Kt,
6478
- WGrid: Ht,
6479
- WIcon: qt,
6480
- WImage: Jt,
6481
- WInput: dl,
6482
- WList: cl,
6483
- WMenu: fl,
6484
- WNotification: yl,
6485
- WOverlay: _l,
6486
- WParallax: Bl,
6487
- WProgress: zl,
6488
- WRadio: Kl,
6489
- WRadios: Dl,
6490
- WRating: Yl,
6491
- WSelect: oi,
6492
- WSlider: vi,
6493
- WSpinner: Si,
6494
- WSteps: Ii,
6495
- WSwitch: Mi,
6496
- WTabs: Gi,
6497
- WTable: ys,
6498
- WTag: ks,
6499
- WTextarea: Rs,
6500
- WTimeline: Os,
6501
- WToolbar: Ws,
6502
- WTooltip: Ks,
6503
- WTransitionBounce: Hs,
6504
- WTransitionExpand: qs,
6505
- WTransitionFade: Ys,
6506
- WTransitionScale: Zs,
6507
- WTransitionScaleFade: la,
6508
- WTransitionSlide: aa,
6509
- WTransitionSlideFade: ra,
6510
- WTransitionTwist: ha
6511
- }, Symbol.toStringTag, { value: "Module" })), pa = N.install;
6512
- N.install = (e, l = {}) => pa.call(N, e, { components: ca, ...l });
6476
+ WAccordion: we,
6477
+ WAlert: Ce,
6478
+ WApp: Ee,
6479
+ WBadge: Pe,
6480
+ WBreadcrumbs: Ke,
6481
+ WButton: Ye,
6482
+ WCard: Ze,
6483
+ WCheckbox: dt,
6484
+ WCheckboxes: pt,
6485
+ WConfirm: gt,
6486
+ WDatePicker: vt,
6487
+ WDialog: Ct,
6488
+ WDivider: Vt,
6489
+ WDrawer: Tt,
6490
+ WFlex: Ot,
6491
+ WForm: Nt,
6492
+ WFormElement: Ft,
6493
+ WGrid: Dt,
6494
+ WIcon: Gt,
6495
+ WImage: Qt,
6496
+ WInput: ul,
6497
+ WList: pl,
6498
+ WMenu: bl,
6499
+ WNotification: wl,
6500
+ WOverlay: kl,
6501
+ WParallax: $l,
6502
+ WProgress: El,
6503
+ WRadio: Fl,
6504
+ WRadios: Ul,
6505
+ WRating: Jl,
6506
+ WSelect: ni,
6507
+ WSlider: _i,
6508
+ WSpinner: Bi,
6509
+ WSteps: Ri,
6510
+ WSwitch: Pi,
6511
+ WTabs: Xi,
6512
+ WTable: _s,
6513
+ WTag: Bs,
6514
+ WTextarea: Ts,
6515
+ WTimeline: Ws,
6516
+ WToolbar: Ks,
6517
+ WTooltip: Hs,
6518
+ WTransitionBounce: qs,
6519
+ WTransitionExpand: Ys,
6520
+ WTransitionFade: Zs,
6521
+ WTransitionScale: la,
6522
+ WTransitionScaleFade: aa,
6523
+ WTransitionSlide: ra,
6524
+ WTransitionSlideFade: ha,
6525
+ WTransitionTwist: ma
6526
+ }, Symbol.toStringTag, { value: "Module" })), ba = A.install;
6527
+ A.install = (e, l = {}) => ba.call(A, e, { components: fa, ...l });
6513
6528
  export {
6514
- N as default
6529
+ A as default
6515
6530
  };