wave-ui 3.5.1 → 3.6.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.
@@ -4,12 +4,12 @@ var D = (e, t, l) => (ke(e, typeof t != "symbol" ? t + "" : t, l), l), ne = (e,
4
4
  if (!t.has(e))
5
5
  throw TypeError("Cannot " + l);
6
6
  };
7
- var X = (e, t, l) => (ne(e, t, "read from private field"), l ? l.call(e) : t.get(e)), ee = (e, t, l) => {
7
+ var Y = (e, t, l) => (ne(e, t, "read from private field"), l ? l.call(e) : t.get(e)), ee = (e, t, l) => {
8
8
  if (t.has(e))
9
9
  throw TypeError("Cannot add the same private member more than once");
10
10
  t instanceof WeakSet ? t.add(e) : t.set(e, l);
11
- }, te = (e, t, l, a) => (ne(e, t, "write to private field"), a ? a.call(e, l) : t.set(e, l), l);
12
- import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as m, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as g, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as Se, inject as Be, withKeys as E, withModifiers as M, renderSlot as p, toHandlers as W, createTextVNode as S, toDisplayString as _, Transition as P, normalizeStyle as T, resolveDynamicComponent as V, normalizeProps as ie, resolveDirective as me, withDirectives as N, createSlots as Z, vShow as oe, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
11
+ }, te = (e, t, l, o) => (ne(e, t, "write to private field"), o ? o.call(e, l) : t.set(e, l), l);
12
+ import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as m, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as g, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as Be, inject as Se, withKeys as E, withModifiers as M, renderSlot as p, toHandlers as W, createTextVNode as B, toDisplayString as _, Transition as O, normalizeStyle as T, resolveDynamicComponent as V, normalizeProps as ie, resolveDirective as me, withDirectives as N, createSlots as Z, vShow as oe, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
13
13
  const Ie = Q({
14
14
  on: "#app",
15
15
  breakpoints: {
@@ -56,142 +56,32 @@ const Ie = Q({
56
56
  t = Object.assign(t, e);
57
57
  else
58
58
  for (const l in e) {
59
- const a = e[l];
60
- typeof a == "object" ? ye(e[l], t[l]) : t[l] = a;
59
+ const o = e[l];
60
+ typeof o == "object" ? ye(e[l], t[l]) : t[l] = o;
61
61
  }
62
62
  return t;
63
- }, Re = ["innerHTML"];
64
- function Te(e, t, l, a, r, i) {
65
- const o = $("w-alert");
66
- return s(), m(_e, { to: ".w-app" }, [
67
- I(ae, {
68
- class: f(["w-notification-manager", { "w-notification-manager--left": i.conf.align === "left" }]),
69
- tag: "div",
70
- name: i.transition,
71
- appear: ""
72
- }, {
73
- default: g(() => [
74
- (s(!0), u(k, null, L(i.notifications, (n) => (s(), u(k, null, [
75
- n._value ? (s(), m(o, C({
76
- class: "white--bg",
77
- key: n._uid,
78
- modelValue: n._value,
79
- "onUpdate:modelValue": (d) => n._value = d,
80
- onClose: n.dismiss
81
- }, i.notifProps(n)), {
82
- default: g(() => [
83
- w("div", {
84
- innerHTML: n.message
85
- }, null, 8, Re)
86
- ]),
87
- _: 2
88
- }, 1040, ["modelValue", "onUpdate:modelValue", "onClose"])) : c("", !0)
89
- ], 64))), 256))
90
- ]),
91
- _: 1
92
- }, 8, ["class", "name"])
93
- ]);
94
- }
95
- const v = (e, t) => {
96
- const l = e.__vccOpts || e;
97
- for (const [a, r] of t)
98
- l[a] = r;
99
- return l;
100
- }, Le = {
101
- name: "w-notification-manager",
102
- computed: {
103
- conf() {
104
- return this.$waveui.config.notificationManager;
105
- },
106
- notifications() {
107
- var e;
108
- return (e = this.$waveui._notificationManager) == null ? void 0 : e.notifications;
109
- },
110
- transition() {
111
- return this.conf.transition ? this.conf.transition.replace("default", `slide-${this.conf.align === "left" ? "right" : "left"}`) : "";
112
- }
113
- },
114
- methods: {
115
- notifProps(e) {
116
- const { _value: t, _uid: l, message: a, timeout: r, ...i } = e;
117
- return i.dismiss && (i.dismiss = !0), i;
118
- }
119
- }
120
- }, xe = /* @__PURE__ */ v(Le, [["render", Te]]);
121
- var H;
122
- const F = class {
123
- constructor() {
124
- D(this, "notifications");
125
- D(this, "_uid");
126
- D(this, "_notificationDefaults");
127
- if (X(F, H))
128
- return X(F, H);
129
- this.notifications = [], this._uid = 0, this._notificationDefaults = {
130
- _uid: 0,
131
- _value: !0,
132
- message: "",
133
- timeout: 4e3,
134
- dismiss: !0
135
- }, te(F, H, this);
136
- }
137
- notify(...t) {
138
- let l = {
139
- ...this._notificationDefaults,
140
- _uid: this._uid++
141
- };
142
- if (typeof t[0] == "object")
143
- l = { ...l, ...t[0] };
144
- else {
145
- const [a, r, i] = t;
146
- l = {
147
- ...l,
148
- message: a || "",
149
- [r === void 0 ? "info" : r]: !0,
150
- timeout: i || i === 0 ? parseFloat(i) : 4e3
151
- };
152
- }
153
- l.dismiss && (l.dismiss = () => this.dismiss(l._uid)), this.notifications.push(l), ~~l.timeout !== 0 && setTimeout(() => this.dismiss(l._uid), l.timeout);
154
- }
155
- dismiss(t) {
156
- this.notifications = this.notifications.filter((l) => l._uid !== t);
157
- }
158
- };
159
- let Y = F;
160
- H = new WeakMap(), ee(Y, H, void 0);
161
- const Pe = (e, t, l) => {
162
- const a = document.createElement("div");
163
- e.appendChild(a);
164
- const r = Ce(Se({
165
- ...xe,
166
- inject: ["$waveui"]
167
- })).provide("$waveui", l);
168
- for (const i in t) {
169
- const o = t[i];
170
- r.component(o.name, { ...o, inject: ["$waveui"] });
171
- }
172
- r.mount(a), a.remove();
173
- }, re = (e, t) => "#" + e.slice(1).match(/../g).map((l) => (l = +`0x${l}` + t, (l < 0 ? 0 : l > 255 ? 255 : l).toString(16).padStart(2, 0))).join(""), Oe = (e) => {
63
+ }, U = (e) => console.warn(`Wave UI: ${e}`), le = (e) => console.error(`Wave UI: ${e}`), re = (e, t) => "#" + e.slice(1).match(/../g).map((l) => (l = +`0x${l}` + t, (l < 0 ? 0 : l > 255 ? 255 : l).toString(16).padStart(2, 0))).join(""), Re = (e) => {
174
64
  ["light", "dark"].forEach((t) => {
175
65
  const l = e.colors[t];
176
66
  l.shades = {};
177
- for (let a in l) {
178
- if (a === "shades")
67
+ for (let o in l) {
68
+ if (o === "shades")
179
69
  continue;
180
- a = { label: a, color: l[a].replace("#", "") };
181
- const r = a.color;
182
- r.length === 3 && (a.color = r[0] + "" + r[0] + r[1] + r[1] + r[2] + r[2]);
70
+ o = { label: o, color: l[o].replace("#", "") };
71
+ const n = o.color;
72
+ n.length === 3 && (o.color = n[0] + "" + n[0] + n[1] + n[1] + n[2] + n[2]);
183
73
  for (let i = 1; i <= 3; i++) {
184
- const o = re(`#${a.color}`, i * 40), n = re(`#${a.color}`, -i * 40);
185
- l.shades[`${a.label}-light${i}`] = o, l.shades[`${a.label}-dark${i}`] = n;
74
+ const a = re(`#${o.color}`, i * 40), r = re(`#${o.color}`, -i * 40);
75
+ l.shades[`${o.label}-light${i}`] = a, l.shades[`${o.label}-dark${i}`] = r;
186
76
  }
187
77
  }
188
78
  });
189
79
  }, de = (e, t) => {
190
80
  const l = {
191
- ...t.reduce((a, r) => {
192
- a[r.label] = r.color;
193
- const i = (r.shades || []).reduce((o, n) => (o[n.label] = n.color, o), {});
194
- return { ...a, ...i };
81
+ ...t.reduce((o, n) => {
82
+ o[n.label] = n.color;
83
+ const i = (n.shades || []).reduce((a, r) => (a[r.label] = r.color, a), {});
84
+ return { ...o, ...i };
195
85
  }, { ...e, ...e.shades })
196
86
  };
197
87
  return delete l.shades, l;
@@ -542,42 +432,42 @@ const Pe = (e, t, l) => {
542
432
  { label: "white", color: "#fff" },
543
433
  { label: "transparent", color: "transparent" },
544
434
  { label: "inherit", color: "inherit" }
545
- ], U = {
435
+ ], q = {
546
436
  cssScope: ".w-app",
547
437
  baseIncrement: 4
548
438
  };
549
439
  let se = { keys: [], values: [] }, he = null;
550
- const ze = (e) => {
440
+ const Te = (e) => {
551
441
  let t = "";
552
- const l = {}, { info: a, warning: r, success: i, error: o, shades: n, ...d } = e, { cssScope: h } = U;
442
+ const l = {}, { info: o, warning: n, success: i, error: a, shades: r, ...d } = e, { cssScope: h } = q;
553
443
  for (const b in d)
554
444
  t += `${h} .${b}--bg{background-color:var(--w-${b}-color)}${h} .${b}{color:var(--w-${b}-color)}`;
555
- for (const b in n)
556
- t += `${h} .${b}--bg{background-color:${n[b]}}${h} .${b}{color:${n[b]}}`;
557
- const y = { ...d, info: a, warning: r, success: i, error: o };
445
+ for (const b in r)
446
+ t += `${h} .${b}--bg{background-color:${r[b]}}${h} .${b}{color:${r[b]}}`;
447
+ const y = { ...d, info: o, warning: n, success: i, error: a };
558
448
  for (const b in y)
559
449
  l[b] = y[b];
560
- let B = "";
450
+ let S = "";
561
451
  return Object.entries(l).forEach(([b, R]) => {
562
- B += `--w-${b}-color: ${R};`;
563
- }), `:root{${B}}${t}`;
564
- }, Me = (e, t) => {
452
+ S += `--w-${b}-color: ${R};`;
453
+ }), `:root{${S}}${t}`;
454
+ }, Le = (e, t) => {
565
455
  let l = "";
566
- const { cssScope: a } = U;
567
- return e.forEach(({ min: r, label: i }) => {
456
+ const { cssScope: o } = q;
457
+ return e.forEach(({ min: n, label: i }) => {
568
458
  if (i === "xs")
569
- for (let o = 0; o < t; o++)
570
- l += `${a} .${i}${t - o}{width:${parseFloat(((t - o) * 100 / t).toFixed(4))}%;}`;
459
+ for (let a = 0; a < t; a++)
460
+ l += `${o} .${i}${t - a}{width:${parseFloat(((t - a) * 100 / t).toFixed(4))}%;}`;
571
461
  else {
572
- l += `@media(min-width:${r}px){`;
573
- for (let o = 0; o < t; o++)
574
- l += `${a} .${i}${t - o}{width:${parseFloat(((t - o) * 100 / t).toFixed(4))}%;}`;
462
+ l += `@media(min-width:${n}px){`;
463
+ for (let a = 0; a < t; a++)
464
+ l += `${o} .${i}${t - a}{width:${parseFloat(((t - a) * 100 / t).toFixed(4))}%;}`;
575
465
  l += "}";
576
466
  }
577
467
  }), l;
578
- }, Ee = (e) => {
468
+ }, xe = (e) => {
579
469
  let t = "";
580
- const { cssScope: l, baseIncrement: a } = U, r = [
470
+ const { cssScope: l, baseIncrement: o } = q, n = [
581
471
  "show{display:block}",
582
472
  "hide{display:none}",
583
473
  "d-flex{display:flex}",
@@ -611,50 +501,160 @@ const ze = (e) => {
611
501
  "justify-space-around{justify-content:space-around}",
612
502
  "justify-space-evenly{justify-content:space-evenly}"
613
503
  ], i = Array(12).fill();
614
- return e.forEach(({ label: o, min: n }) => {
615
- o !== "xs" && (t += `@media(min-width:${n}px){` + r.map((d) => `${l} .${o}u-${d}`).join("") + i.map((d, h) => `.w-grid.${o}u-columns${h + 1}{grid-template-columns:repeat(${h + 1},1fr);}`).join("") + i.map((d, h) => `.w-flex.${o}u-gap${h + 1},.w-grid.${o}u-gap${h + 1}{gap:${(h + 1) * a}px;}`).join("") + `.w-flex.${o}u-gap0,.w-flex.${o}u-gap0{gap:0}}`);
616
- }), e.forEach(({ label: o, min: n, max: d }) => {
617
- t += `@media (min-width:${n}px) and (max-width:${d}px){` + r.map((h) => `${l} .${o}-${h}`).join("") + i.map((h, y) => `.w-grid.${o}-columns${y + 1}{grid-template-columns:repeat(${y + 1},1fr);}`).join("") + i.map((h, y) => `.w-flex.${o}-gap${y + 1},.w-grid.${o}-gap${y + 1}{gap:${(y + 1) * a}px;}`).join("") + `.w-flex.${o}-gap0,.w-flex.${o}-gap0{gap:0}}`;
618
- }), e.forEach(({ label: o, max: n }) => {
619
- o !== "xl" && (t += `@media (max-width:${n}px){` + r.map((d) => `${l} .${o}d-${d}`).join("") + i.map((d, h) => `.w-grid.${o}d-columns${h + 1}{grid-template-columns:repeat(${h + 1},1fr);}`).join("") + i.map((d, h) => `.w-flex.${o}d-gap${h + 1},.w-grid.${o}d-gap${h + 1}{gap:${(h + 1) * a}px;}`).join("") + `.w-flex.${o}d-gap0,.w-flex.${o}d-gap0{gap:0}}`);
504
+ return e.forEach(({ label: a, min: r }) => {
505
+ a !== "xs" && (t += `@media(min-width:${r}px){` + n.map((d) => `${l} .${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) * o}px;}`).join("") + `.w-flex.${a}u-gap0,.w-flex.${a}u-gap0{gap:0}}`);
506
+ }), e.forEach(({ label: a, min: r, max: d }) => {
507
+ t += `@media (min-width:${r}px) and (max-width:${d}px){` + n.map((h) => `${l} .${a}-${h}`).join("") + i.map((h, y) => `.w-grid.${a}-columns${y + 1}{grid-template-columns:repeat(${y + 1},1fr);}`).join("") + i.map((h, y) => `.w-flex.${a}-gap${y + 1},.w-grid.${a}-gap${y + 1}{gap:${(y + 1) * o}px;}`).join("") + `.w-flex.${a}-gap0,.w-flex.${a}-gap0{gap:0}}`;
508
+ }), e.forEach(({ label: a, max: r }) => {
509
+ a !== "xl" && (t += `@media (max-width:${r}px){` + n.map((d) => `${l} .${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) * o}px;}`).join("") + `.w-flex.${a}d-gap0,.w-flex.${a}d-gap0{gap:0}}`);
620
510
  }), t;
621
511
  }, ce = (e) => {
622
512
  const t = window.innerWidth, l = se.values.slice(0);
623
- l.push(t), l.sort((r, i) => r - i);
624
- const a = se.keys[l.indexOf(t)] || "xl";
625
- a !== he && (he = a, e.breakpoint = {
626
- name: a,
627
- xs: a === "xs",
628
- sm: a === "sm",
629
- md: a === "md",
630
- lg: a === "lg",
631
- xl: a === "xl",
513
+ l.push(t), l.sort((n, i) => n - i);
514
+ const o = se.keys[l.indexOf(t)] || "xl";
515
+ o !== he && (he = o, e.breakpoint = {
516
+ name: o,
517
+ xs: o === "xs",
518
+ sm: o === "sm",
519
+ md: o === "md",
520
+ lg: o === "lg",
521
+ xl: o === "xl",
632
522
  width: t
633
523
  }), e.breakpoint.width = window.innerWidth;
634
- }, We = (e) => {
524
+ }, Oe = (e) => {
635
525
  const { config: t } = e;
636
526
  if (se = { keys: Object.keys(t.breakpoints), values: Object.values(t.breakpoints) }, !document.getElementById("wave-ui-styles")) {
637
527
  const l = document.createElement("style");
638
- l.id = "wave-ui-styles", l.innerHTML = Ne(t);
639
- const a = document.head.querySelectorAll('style,link[rel="stylesheet"]')[0];
640
- a ? a.before(l) : document.head.appendChild(l);
528
+ l.id = "wave-ui-styles", l.innerHTML = ze(t);
529
+ const o = document.head.querySelectorAll('style,link[rel="stylesheet"]')[0];
530
+ o ? o.before(l) : document.head.appendChild(l);
641
531
  }
642
532
  ce(e), window.addEventListener("resize", () => ce(e));
643
- }, Ae = (e) => {
533
+ }, Pe = (e) => {
644
534
  if (!document.getElementById("wave-ui-colors")) {
645
535
  const t = document.createElement("style");
646
- t.id = "wave-ui-colors", t.innerHTML = ze(e);
536
+ t.id = "wave-ui-colors", t.innerHTML = Te(e);
647
537
  const l = document.head.querySelectorAll('style,link[rel="stylesheet"]')[0];
648
538
  l ? l.before(t) : document.head.appendChild(t);
649
539
  }
650
- }, Ne = (e) => {
651
- const t = Object.entries(e.breakpoints), l = t.map(([i, o], n) => {
652
- const [, d = 0] = t[n - 1] || [];
653
- return { label: i, min: d ? d + 1 : 0, max: o };
654
- }), a = getComputedStyle(document.documentElement);
655
- U.cssScope = a.getPropertyValue("--w-css-scope"), U.baseIncrement = parseInt(a.getPropertyValue("--w-base-increment"));
656
- let r = "";
657
- return r += Me(l, e.css.grid), e.css.breakpointLayoutClasses && (r += Ee(l)), r;
540
+ }, ze = (e) => {
541
+ const t = Object.entries(e.breakpoints), l = t.map(([i, a], r) => {
542
+ const [, d = 0] = t[r - 1] || [];
543
+ return { label: i, min: d ? d + 1 : 0, max: a };
544
+ }), o = getComputedStyle(document.documentElement);
545
+ q.cssScope = o.getPropertyValue("--w-css-scope"), q.baseIncrement = parseInt(o.getPropertyValue("--w-base-increment"));
546
+ let n = "";
547
+ return n += Le(l, e.css.grid), e.css.breakpointLayoutClasses && (n += xe(l)), n;
548
+ }, Me = ["innerHTML"];
549
+ function Ee(e, t, l, o, n, i) {
550
+ const a = $("w-alert");
551
+ return s(), m(_e, { to: ".w-app" }, [
552
+ I(ae, {
553
+ class: f(["w-notification-manager", { "w-notification-manager--left": i.conf.align === "left" }]),
554
+ tag: "div",
555
+ name: i.transition,
556
+ appear: ""
557
+ }, {
558
+ default: g(() => [
559
+ (s(!0), u(k, null, L(i.notifications, (r) => (s(), u(k, null, [
560
+ r._value ? (s(), m(a, C({
561
+ class: "white--bg",
562
+ key: r._uid,
563
+ modelValue: r._value,
564
+ "onUpdate:modelValue": (d) => r._value = d,
565
+ onClose: r.dismiss
566
+ }, i.notifProps(r)), {
567
+ default: g(() => [
568
+ w("div", {
569
+ innerHTML: r.message
570
+ }, null, 8, Me)
571
+ ]),
572
+ _: 2
573
+ }, 1040, ["modelValue", "onUpdate:modelValue", "onClose"])) : c("", !0)
574
+ ], 64))), 256))
575
+ ]),
576
+ _: 1
577
+ }, 8, ["class", "name"])
578
+ ]);
579
+ }
580
+ const v = (e, t) => {
581
+ const l = e.__vccOpts || e;
582
+ for (const [o, n] of t)
583
+ l[o] = n;
584
+ return l;
585
+ }, We = {
586
+ name: "w-notification-manager",
587
+ computed: {
588
+ conf() {
589
+ return this.$waveui.config.notificationManager;
590
+ },
591
+ notifications() {
592
+ var e;
593
+ return (e = this.$waveui._notificationManager) == null ? void 0 : e.notifications;
594
+ },
595
+ transition() {
596
+ return this.conf.transition ? this.conf.transition.replace("default", `slide-${this.conf.align === "left" ? "right" : "left"}`) : "";
597
+ }
598
+ },
599
+ methods: {
600
+ notifProps(e) {
601
+ const { _value: t, _uid: l, message: o, timeout: n, ...i } = e;
602
+ return i.dismiss && (i.dismiss = !0), i;
603
+ }
604
+ }
605
+ }, Ae = /* @__PURE__ */ v(We, [["render", Ee]]);
606
+ var H;
607
+ const F = class {
608
+ constructor() {
609
+ D(this, "notifications");
610
+ D(this, "_uid");
611
+ D(this, "_notificationDefaults");
612
+ if (Y(F, H))
613
+ return Y(F, H);
614
+ this.notifications = [], this._uid = 0, this._notificationDefaults = {
615
+ _uid: 0,
616
+ _value: !0,
617
+ message: "",
618
+ timeout: 4e3,
619
+ dismiss: !0
620
+ }, te(F, H, this);
621
+ }
622
+ notify(...t) {
623
+ let l = {
624
+ ...this._notificationDefaults,
625
+ _uid: this._uid++
626
+ };
627
+ if (typeof t[0] == "object")
628
+ l = { ...l, ...t[0] };
629
+ else {
630
+ const [o, n, i] = t;
631
+ l = {
632
+ ...l,
633
+ message: o || "",
634
+ [n === void 0 ? "info" : n]: !0,
635
+ timeout: i || i === 0 ? parseFloat(i) : 4e3
636
+ };
637
+ }
638
+ l.dismiss && (l.dismiss = () => this.dismiss(l._uid)), this.notifications.push(l), ~~l.timeout !== 0 && setTimeout(() => this.dismiss(l._uid), l.timeout);
639
+ }
640
+ dismiss(t) {
641
+ this.notifications = this.notifications.filter((l) => l._uid !== t);
642
+ }
643
+ };
644
+ let G = F;
645
+ H = new WeakMap(), ee(G, H, void 0);
646
+ const Ne = (e, t, l) => {
647
+ const o = document.createElement("div");
648
+ e.appendChild(o);
649
+ const n = Ce(Be({
650
+ ...Ae,
651
+ inject: ["$waveui"]
652
+ })).provide("$waveui", l);
653
+ for (const i in t) {
654
+ const a = t[i];
655
+ n.component(a.name, { ...a, inject: ["$waveui"] });
656
+ }
657
+ n.mount(o), o.remove();
658
658
  };
659
659
  let pe = !1;
660
660
  const Ke = (e) => {
@@ -663,10 +663,24 @@ const Ke = (e) => {
663
663
  e.preferredTheme = l.matches ? "dark" : "light", e.switchTheme(e.preferredTheme);
664
664
  });
665
665
  }, He = (e, t) => {
666
- for (const l in t)
667
- e.props[l].default = t[l];
666
+ var l, o;
667
+ for (const n in t)
668
+ if ((l = e.props) != null && l[n])
669
+ e.props[n].default = t[n];
670
+ else {
671
+ let i = !1;
672
+ if (Array.isArray(e.mixins) && e.mixins.length) {
673
+ for (const a of e.mixins)
674
+ if ((o = a == null ? void 0 : a.props) != null && o[n]) {
675
+ a.props[n].default = t[n], i = !0;
676
+ break;
677
+ }
678
+ i || U(`Attempting to set a preset on a prop that doesn't exist: \`${e.name}.${n}\`.`);
679
+ continue;
680
+ }
681
+ }
668
682
  };
669
- var q;
683
+ var X;
670
684
  const j = class {
671
685
  constructor(t, l = {}) {
672
686
  D(this, "$waveui", {
@@ -688,58 +702,58 @@ const j = class {
688
702
  this._notificationManager.notify(...t);
689
703
  },
690
704
  switchTheme(t, l = !1) {
691
- var r, i;
692
- this.theme = t, document.documentElement.setAttribute("data-theme", t), (i = (r = document.head.querySelector("#wave-ui-colors")) == null ? void 0 : r.remove) == null || i.call(r);
693
- const a = this.config.colors[this.theme];
694
- Ae(a), this.colors = de(a, ue);
705
+ var n, i;
706
+ this.theme = t, document.documentElement.setAttribute("data-theme", t), (i = (n = document.head.querySelector("#wave-ui-colors")) == null ? void 0 : n.remove) == null || i.call(n);
707
+ const o = this.config.colors[this.theme];
708
+ Pe(o), this.colors = de(o, ue);
695
709
  }
696
710
  });
697
- if (X(j, q)) {
711
+ if (Y(j, X)) {
698
712
  console.warn("Wave UI is already instantiated.");
699
713
  return;
700
714
  }
701
- if (this.$waveui._notificationManager = new Y(), l.theme || (l.theme = "light"), l.colors) {
702
- const o = { ...l.colors };
703
- l.colors.light || (l.colors.light = o), l.colors.dark || (l.colors.dark = o), l.colors = { light: l.colors.light, dark: l.colors.dark };
715
+ if (this.$waveui._notificationManager = new G(), l.theme || (l.theme = "light"), l.colors) {
716
+ const a = { ...l.colors };
717
+ l.colors.light || (l.colors.light = a), l.colors.dark || (l.colors.dark = a), l.colors = { light: l.colors.light, dark: l.colors.dark };
704
718
  }
705
- let { components: a, ...r } = l;
706
- r = this.$waveui.config = ye(r), r.css.colorShades && Oe(r);
719
+ let { components: o, ...n } = l;
720
+ n = this.$waveui.config = ye(n), n.css.colorShades && Re(n);
707
721
  const i = Q(this.$waveui);
708
- t.config.globalProperties.$waveui = i, t.provide("$waveui", i), r.theme !== "auto" && (this.$waveui.colors = de(r.colors[r.theme], ue));
722
+ t.config.globalProperties.$waveui = i, t.provide("$waveui", i), n.theme !== "auto" && (this.$waveui.colors = de(n.colors[n.theme], ue));
709
723
  }
710
724
  static install(t, l = {}) {
711
- var r;
725
+ var n;
712
726
  t.directive("focus", {
713
727
  mounted: (i) => setTimeout(() => i.focus(), 0)
714
728
  }), t.directive("scroll", {
715
- mounted: (i, o) => {
716
- const n = (d) => {
717
- o.value(d, i) && window.removeEventListener("scroll", n);
729
+ mounted: (i, a) => {
730
+ const r = (d) => {
731
+ a.value(d, i) && window.removeEventListener("scroll", r);
718
732
  };
719
- window.addEventListener("scroll", n);
733
+ window.addEventListener("scroll", r);
720
734
  }
721
735
  });
722
- const { components: a = {} } = l || {};
723
- for (const i in a) {
724
- const o = a[i];
725
- (r = l.presets) != null && r[o.name] && He(o, l.presets[o.name]), t.component(o.name, o);
736
+ const { components: o = {} } = l || {};
737
+ for (const i in o) {
738
+ const a = o[i];
739
+ (n = l.presets) != null && n[a.name] && He(a, l.presets[a.name]), t.component(a.name, a);
726
740
  }
727
741
  t.mixin({
728
742
  beforeMount() {
729
743
  if (!pe) {
730
744
  pe = !0;
731
- const i = Be("$waveui"), { config: o } = i, n = document.querySelector(o.on) || document.body;
732
- n.classList.add("w-app"), o.theme === "auto" ? Ke(i) : i.switchTheme(o.theme, !0), We(i), Pe(n, a, i), t._context.mixins.find((d) => d.mounted && delete d.mounted);
745
+ const i = Se("$waveui"), { config: a } = i, r = document.querySelector(a.on) || document.body;
746
+ r.classList.add("w-app"), a.theme === "auto" ? Ke(i) : i.switchTheme(a.theme, !0), Oe(i), Ne(r, o, i), t._context.mixins.find((d) => d.mounted && delete d.mounted);
733
747
  }
734
748
  }
735
- }), new j(t, l), te(j, q, !0);
749
+ }), new j(t, l), te(j, X, !0);
736
750
  }
737
751
  };
738
752
  let K = j;
739
- q = new WeakMap(), ee(K, q, !1);
753
+ X = new WeakMap(), ee(K, X, !1);
740
754
  const De = ["aria-expanded"], Fe = ["onClick", "onFocus", "onKeypress", "tabindex"], je = ["innerHTML"], Ue = ["innerHTML"];
741
- function qe(e, t, l, a, r, i) {
742
- const o = $("w-button"), n = $("w-transition-expand");
755
+ function qe(e, t, l, o, n, i) {
756
+ const a = $("w-button"), r = $("w-transition-expand");
743
757
  return s(), u("div", {
744
758
  class: f(["w-accordion", i.accordionClasses])
745
759
  }, [
@@ -755,7 +769,7 @@ function qe(e, t, l, a, r, i) {
755
769
  onKeypress: E((y) => !d._disabled && i.toggleItem(d, y), ["enter"]),
756
770
  tabindex: !d._disabled && 0
757
771
  }, [
758
- l.expandIcon && !l.expandIconRight ? (s(), m(o, {
772
+ l.expandIcon && !l.expandIconRight ? (s(), m(a, {
759
773
  key: 0,
760
774
  class: f(["w-accordion__expand-icon", { "w-accordion__expand-icon--expanded": d._expanded, "w-accordion__expand-icon--rotate90": l.expandIconRotate90 }]),
761
775
  icon: d._expanded && l.collapseIcon || l.expandIcon,
@@ -783,7 +797,7 @@ function qe(e, t, l, a, r, i) {
783
797
  innerHTML: d[l.itemTitleKey]
784
798
  }, null, 8, je)
785
799
  ]),
786
- l.expandIcon && l.expandIconRight ? (s(), m(o, {
800
+ l.expandIcon && l.expandIconRight ? (s(), m(a, {
787
801
  key: 3,
788
802
  class: f(["w-accordion__expand-icon", { "w-accordion__expand-icon--expanded": d._expanded, "w-accordion__expand-icon--rotate90": l.expandIconRotate90 }]),
789
803
  icon: d._expanded && l.collapseIcon || l.expandIcon,
@@ -793,7 +807,7 @@ function qe(e, t, l, a, r, i) {
793
807
  onClick: M((y) => !d._disabled && i.toggleItem(d, y), ["stop"])
794
808
  }, null, 8, ["icon", "onClick", "class"])) : c("", !0)
795
809
  ], 42, Fe),
796
- I(n, {
810
+ I(r, {
797
811
  y: "",
798
812
  onAfterLeave: (y) => i.onEndOfCollapse(d),
799
813
  duration: l.duration
@@ -869,8 +883,8 @@ const Xe = {
869
883
  },
870
884
  methods: {
871
885
  toggleItem(e, t) {
872
- e._expanded = !e._expanded, this.expandSingle && this.accordionItems.forEach((a) => a._index !== e._index && (a._expanded = !1));
873
- const l = this.accordionItems.map((a) => a._expanded || !1);
886
+ e._expanded = !e._expanded, this.expandSingle && this.accordionItems.forEach((o) => o._index !== e._index && (o._expanded = !1));
887
+ const l = this.accordionItems.map((o) => o._expanded || !1);
874
888
  this.$emit("update:modelValue", l), this.$emit("input", l), this.$emit("item-expand", { item: e, expanded: e._expanded }), t.target.blur(), setTimeout(() => t.target.focus(), 300);
875
889
  },
876
890
  onEndOfCollapse(e) {
@@ -912,30 +926,30 @@ const Xe = {
912
926
  }
913
927
  }
914
928
  }, Ye = /* @__PURE__ */ v(Xe, [["render", qe]]), Ge = { class: "w-alert__content" };
915
- function Je(e, t, l, a, r, i) {
916
- const o = $("w-icon"), n = $("w-button");
917
- return r.show ? (s(), u("div", C({
929
+ function Je(e, t, l, o, n, i) {
930
+ const a = $("w-icon"), r = $("w-button");
931
+ return n.show ? (s(), u("div", C({
918
932
  key: 0,
919
933
  class: "w-alert"
920
934
  }, W(e.$attrs, !0), { class: i.classes }), [
921
935
  i.type || l.icon || l.dismiss ? (s(), u(k, { key: 0 }, [
922
- i.type || l.icon ? (s(), m(o, {
936
+ i.type || l.icon ? (s(), m(a, {
923
937
  key: 0,
924
938
  class: "w-alert__icon mr2"
925
939
  }, {
926
940
  default: g(() => [
927
- S(_(i.type ? i.typeIcon : l.icon), 1)
941
+ B(_(i.type ? i.typeIcon : l.icon), 1)
928
942
  ]),
929
943
  _: 1
930
944
  })) : c("", !0),
931
945
  w("div", Ge, [
932
946
  p(e.$slots, "default")
933
947
  ]),
934
- l.dismiss ? (s(), m(n, {
948
+ l.dismiss ? (s(), m(r, {
935
949
  key: 1,
936
950
  class: "w-alert__dismiss",
937
951
  onClick: t[0] || (t[0] = (d) => {
938
- e.$emit("update:modelValue", r.show = !1), e.$emit("input", !1), e.$emit("close", !1);
952
+ e.$emit("update:modelValue", n.show = !1), e.$emit("input", !1), e.$emit("close", !1);
939
953
  }),
940
954
  icon: "wi-cross",
941
955
  color: "inherit",
@@ -1025,7 +1039,7 @@ const Qe = {
1025
1039
  }
1026
1040
  }
1027
1041
  }, Ze = /* @__PURE__ */ v(Qe, [["render", Je]]), et = { class: "w-app" };
1028
- function tt(e, t, l, a, r, i) {
1042
+ function tt(e, t, l, o, n, i) {
1029
1043
  return s(), u("div", et, [
1030
1044
  p(e.$slots, "default")
1031
1045
  ]);
@@ -1046,10 +1060,10 @@ const lt = {
1046
1060
  textRight: { type: Boolean }
1047
1061
  }
1048
1062
  }, it = /* @__PURE__ */ v(lt, [["render", tt]]);
1049
- function st(e, t, l, a, r, i) {
1063
+ function st(e, t, l, o, n, i) {
1050
1064
  return s(), u("div", C({ class: "w-badge-wrap" }, W(e.$attrs, !0)), [
1051
1065
  p(e.$slots, "default"),
1052
- I(P, {
1066
+ I(O, {
1053
1067
  name: `${l.transition}`
1054
1068
  }, {
1055
1069
  default: g(() => [
@@ -1063,7 +1077,7 @@ function st(e, t, l, a, r, i) {
1063
1077
  role: "status"
1064
1078
  }, [
1065
1079
  l.dot ? c("", !0) : p(e.$slots, "badge", { key: 0 }, () => [
1066
- S(_(l.modelValue === !0 ? "" : l.modelValue || ""), 1)
1080
+ B(_(l.modelValue === !0 ? "" : l.modelValue || ""), 1)
1067
1081
  ])
1068
1082
  ], 6)) : c("", !0)
1069
1083
  ]),
@@ -1135,36 +1149,36 @@ const at = {
1135
1149
  }
1136
1150
  }
1137
1151
  }, ot = /* @__PURE__ */ v(at, [["render", st]]), nt = ["innerHTML"];
1138
- function rt(e, t, l, a, r, i) {
1139
- const o = $("w-icon");
1152
+ function rt(e, t, l, o, n, i) {
1153
+ const a = $("w-icon");
1140
1154
  return s(), u("div", {
1141
1155
  class: f(["w-breadcrumbs", i.classes])
1142
1156
  }, [
1143
- (s(!0), u(k, null, L(l.items, (n, d) => (s(), u(k, null, [
1157
+ (s(!0), u(k, null, L(l.items, (r, d) => (s(), u(k, null, [
1144
1158
  d && e.$slots.separator ? (s(), u("span", {
1145
1159
  class: f(["w-breadcrumbs__separator", l.separatorColor]),
1146
1160
  key: `${d}a`
1147
1161
  }, [
1148
1162
  p(e.$slots, "separator", { index: d })
1149
- ], 2)) : d ? (s(), m(o, {
1163
+ ], 2)) : d ? (s(), m(a, {
1150
1164
  class: f(["w-breadcrumbs__separator", l.separatorColor]),
1151
1165
  key: `${d}b`
1152
1166
  }, {
1153
1167
  default: g(() => [
1154
- S(_(l.icon), 1)
1168
+ B(_(l.icon), 1)
1155
1169
  ]),
1156
1170
  _: 2
1157
1171
  }, 1032, ["class"])) : c("", !0),
1158
- n[l.itemRouteKey] && (d < l.items.length - 1 || l.linkLastItem) ? (s(), u(k, { key: 2 }, [
1172
+ r[l.itemRouteKey] && (d < l.items.length - 1 || l.linkLastItem) ? (s(), u(k, { key: 2 }, [
1159
1173
  e.$slots.item ? (s(), m(V(i.hasRouter ? "router-link" : "a"), {
1160
1174
  class: f(["w-breadcrumbs__item", l.color || null]),
1161
1175
  key: `${d}c`,
1162
- to: i.hasRouter && n[l.itemRouteKey],
1163
- href: n[l.itemRouteKey]
1176
+ to: i.hasRouter && r[l.itemRouteKey],
1177
+ href: r[l.itemRouteKey]
1164
1178
  }, {
1165
1179
  default: g(() => [
1166
1180
  p(e.$slots, "item", {
1167
- item: n,
1181
+ item: r,
1168
1182
  index: d + 1,
1169
1183
  isLast: d === l.items.length - 1
1170
1184
  })
@@ -1173,18 +1187,18 @@ function rt(e, t, l, a, r, i) {
1173
1187
  }, 1032, ["to", "href", "class"])) : (s(), m(V(i.hasRouter ? "router-link" : "a"), {
1174
1188
  class: f(["w-breadcrumbs__item", l.color || null]),
1175
1189
  key: `${d}d`,
1176
- to: i.hasRouter && n[l.itemRouteKey],
1177
- href: n[l.itemRouteKey],
1178
- innerHTML: n[l.itemLabelKey]
1190
+ to: i.hasRouter && r[l.itemRouteKey],
1191
+ href: r[l.itemRouteKey],
1192
+ innerHTML: r[l.itemLabelKey]
1179
1193
  }, null, 8, ["to", "href", "innerHTML", "class"]))
1180
1194
  ], 64)) : e.$slots.item ? p(e.$slots, "item", {
1181
1195
  key: `${d}e`,
1182
- item: n,
1196
+ item: r,
1183
1197
  index: d + 1,
1184
1198
  isLast: d === l.items.length - 1
1185
1199
  }) : (s(), u("span", {
1186
1200
  key: `${d}f`,
1187
- innerHTML: n[l.itemLabelKey]
1201
+ innerHTML: r[l.itemLabelKey]
1188
1202
  }, null, 8, nt))
1189
1203
  ], 64))), 256))
1190
1204
  ], 2);
@@ -1233,8 +1247,8 @@ const dt = {
1233
1247
  "stroke-linecap": "round"
1234
1248
  })
1235
1249
  ], -1);
1236
- function pt(e, t, l, a, r, i) {
1237
- const o = $("w-icon");
1250
+ function pt(e, t, l, o, n, i) {
1251
+ const a = $("w-icon");
1238
1252
  return s(), m(V(l.route ? "a" : "button"), C({
1239
1253
  class: ["w-button", i.classes],
1240
1254
  type: !l.route && l.type,
@@ -1242,13 +1256,13 @@ function pt(e, t, l, a, r, i) {
1242
1256
  disabled: !!l.disabled || null
1243
1257
  }, W(i.listeners), { style: i.styles }), {
1244
1258
  default: g(() => [
1245
- l.icon ? (s(), m(o, ie(C({ key: 0 }, l.iconProps || {})), {
1259
+ l.icon ? (s(), m(a, ie(C({ key: 0 }, l.iconProps || {})), {
1246
1260
  default: g(() => [
1247
- S(_(l.icon), 1)
1261
+ B(_(l.icon), 1)
1248
1262
  ]),
1249
1263
  _: 1
1250
1264
  }, 16)) : p(e.$slots, "default", { key: 1 }),
1251
- I(P, { name: "scale-fade" }, {
1265
+ I(O, { name: "scale-fade" }, {
1252
1266
  default: g(() => [
1253
1267
  l.loading ? (s(), u("div", ht, [
1254
1268
  p(e.$slots, "loading", {}, () => [
@@ -1353,11 +1367,11 @@ const ft = {
1353
1367
  }
1354
1368
  }
1355
1369
  }, gt = /* @__PURE__ */ v(ft, [["render", pt]]), mt = ["innerHTML"];
1356
- function bt(e, t, l, a, r, i) {
1357
- const o = $("button-partial");
1370
+ function bt(e, t, l, o, n, i) {
1371
+ const a = $("button-partial");
1358
1372
  return l.tooltip ? (s(), m(V("w-tooltip"), ie(C({ key: 0 }, l.tooltipProps || {})), {
1359
- activator: g(({ on: n }) => [
1360
- I(o, C(i.buttonProps, W(n)), {
1373
+ activator: g(({ on: r }) => [
1374
+ I(a, C(i.buttonProps, W(r)), {
1361
1375
  default: g(() => [
1362
1376
  p(e.$slots, "default")
1363
1377
  ]),
@@ -1368,7 +1382,7 @@ function bt(e, t, l, a, r, i) {
1368
1382
  w("div", { innerHTML: l.tooltip }, null, 8, mt)
1369
1383
  ]),
1370
1384
  _: 3
1371
- }, 16)) : (s(), m(o, ie(C({ key: 1 }, i.buttonProps)), {
1385
+ }, 16)) : (s(), m(a, ie(C({ key: 1 }, i.buttonProps)), {
1372
1386
  loading: g(() => [
1373
1387
  p(e.$slots, "loading")
1374
1388
  ]),
@@ -1423,8 +1437,8 @@ const yt = {
1423
1437
  }
1424
1438
  }
1425
1439
  }, wt = /* @__PURE__ */ v(yt, [["render", bt]]), A = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), vt = ["innerHTML"];
1426
- function kt(e, t, l, a, r, i) {
1427
- const o = $("w-image");
1440
+ function kt(e, t, l, o, n, i) {
1441
+ const a = $("w-image");
1428
1442
  return s(), u("div", {
1429
1443
  class: f(["w-card", i.classes])
1430
1444
  }, [
@@ -1438,7 +1452,7 @@ function kt(e, t, l, a, r, i) {
1438
1452
  class: f(["w-card__title", { "w-card__title--has-toolbar": e.$slots.title && i.titleHasToolbar, ...i.titleClasses }]),
1439
1453
  innerHTML: l.title
1440
1454
  }, null, 10, vt)) : c("", !0),
1441
- l.image ? (s(), m(o, C({
1455
+ l.image ? (s(), m(a, C({
1442
1456
  key: 2,
1443
1457
  class: "w-card__image",
1444
1458
  src: l.image
@@ -1553,17 +1567,17 @@ const _t = {
1553
1567
  this.$refs.formEl.validate(this);
1554
1568
  }
1555
1569
  }
1556
- }, St = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], Bt = ["for"], $t = ["for", "innerHTML"], Vt = /* @__PURE__ */ w("svg", { viewBox: "-0.5 0 12 10" }, [
1570
+ }, Bt = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], St = ["for"], $t = ["for", "innerHTML"], Vt = /* @__PURE__ */ w("svg", { viewBox: "-0.5 0 12 10" }, [
1557
1571
  /* @__PURE__ */ w("polyline", { points: "1 5 4 8 10 2" })
1558
1572
  ], -1), It = [
1559
1573
  Vt
1560
1574
  ], Rt = ["for"], Tt = ["for", "innerHTML"];
1561
- function Lt(e, t, l, a, r, i) {
1562
- return s(), m(V(e.formRegister && !i.wCheckboxes ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.isChecked, disabled: e.isDisabled, readonly: e.isReadonly }, {
1575
+ function Lt(e, t, l, o, n, i) {
1576
+ return s(), m(V(e.formRegister && !i.wCheckboxes ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isChecked, disabled: e.isDisabled, readonly: e.isReadonly }, {
1563
1577
  valid: e.valid,
1564
- "onUpdate:valid": t[5] || (t[5] = (o) => e.valid = o),
1565
- onReset: t[6] || (t[6] = (o) => {
1566
- e.$emit("update:modelValue", r.isChecked = null), e.$emit("input", null);
1578
+ "onUpdate:valid": t[5] || (t[5] = (a) => e.valid = a),
1579
+ onReset: t[6] || (t[6] = (a) => {
1580
+ e.$emit("update:modelValue", n.isChecked = null), e.$emit("input", null);
1567
1581
  }),
1568
1582
  class: i.classes
1569
1583
  }), {
@@ -1573,17 +1587,17 @@ function Lt(e, t, l, a, r, i) {
1573
1587
  id: `w-checkbox--${e._.uid}`,
1574
1588
  type: "checkbox",
1575
1589
  name: e.inputName,
1576
- checked: r.isChecked || null,
1590
+ checked: n.isChecked || null,
1577
1591
  disabled: e.isDisabled || e.isReadonly || null,
1578
1592
  required: e.required || null,
1579
1593
  tabindex: e.tabindex || null,
1580
- onFocus: t[0] || (t[0] = (o) => e.$emit("focus", o)),
1581
- onBlur: t[1] || (t[1] = (o) => e.$emit("blur", o)),
1582
- onChange: t[2] || (t[2] = (o) => i.onInput()),
1583
- onKeypress: t[3] || (t[3] = E((...o) => i.onInput && i.onInput(...o), ["enter"])),
1584
- "aria-checked": r.isChecked || "false",
1594
+ onFocus: t[0] || (t[0] = (a) => e.$emit("focus", a)),
1595
+ onBlur: t[1] || (t[1] = (a) => e.$emit("blur", a)),
1596
+ onChange: t[2] || (t[2] = (a) => i.onInput()),
1597
+ onKeypress: t[3] || (t[3] = E((...a) => i.onInput && i.onInput(...a), ["enter"])),
1598
+ "aria-checked": n.isChecked || "false",
1585
1599
  role: "checkbox"
1586
- }, null, 40, St),
1600
+ }, null, 40, Bt),
1587
1601
  i.hasLabel && l.labelOnLeft ? (s(), u(k, { key: 0 }, [
1588
1602
  e.$slots.default ? (s(), u("label", {
1589
1603
  key: 0,
@@ -1591,9 +1605,9 @@ function Lt(e, t, l, a, r, i) {
1591
1605
  for: `w-checkbox--${e._.uid}`
1592
1606
  }, [
1593
1607
  p(e.$slots, "default", {}, () => [
1594
- S(_(l.label), 1)
1608
+ B(_(l.label), 1)
1595
1609
  ])
1596
- ], 10, Bt)) : l.label ? (s(), u("label", {
1610
+ ], 10, St)) : l.label ? (s(), u("label", {
1597
1611
  key: 1,
1598
1612
  class: f(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
1599
1613
  for: `w-checkbox--${e._.uid}`,
@@ -1602,7 +1616,7 @@ function Lt(e, t, l, a, r, i) {
1602
1616
  ], 64)) : c("", !0),
1603
1617
  w("div", {
1604
1618
  class: f(["w-checkbox__input", this.color]),
1605
- onClick: t[4] || (t[4] = (o) => {
1619
+ onClick: t[4] || (t[4] = (a) => {
1606
1620
  e.$refs.input.focus(), e.$refs.input.click();
1607
1621
  })
1608
1622
  }, It, 2),
@@ -1613,7 +1627,7 @@ function Lt(e, t, l, a, r, i) {
1613
1627
  for: `w-checkbox--${e._.uid}`
1614
1628
  }, [
1615
1629
  p(e.$slots, "default", {}, () => [
1616
- S(_(l.label), 1)
1630
+ B(_(l.label), 1)
1617
1631
  ])
1618
1632
  ], 10, Rt)) : l.label ? (s(), u("label", {
1619
1633
  key: 1,
@@ -1686,25 +1700,25 @@ const xt = {
1686
1700
  this.isChecked = e;
1687
1701
  }
1688
1702
  }
1689
- }, Pt = /* @__PURE__ */ v(xt, [["render", Lt]]), Ot = ["innerHTML"];
1690
- function zt(e, t, l, a, r, i) {
1691
- const o = $("w-checkbox");
1692
- return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.checkboxItems.some((n) => n._isChecked), disabled: e.isDisabled }, {
1703
+ }, Ot = /* @__PURE__ */ v(xt, [["render", Lt]]), Pt = ["innerHTML"];
1704
+ function zt(e, t, l, o, n, i) {
1705
+ const a = $("w-checkbox");
1706
+ return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.checkboxItems.some((r) => r._isChecked), disabled: e.isDisabled }, {
1693
1707
  valid: e.valid,
1694
- "onUpdate:valid": t[1] || (t[1] = (n) => e.valid = n),
1708
+ "onUpdate:valid": t[1] || (t[1] = (r) => e.valid = r),
1695
1709
  onReset: i.reset,
1696
1710
  column: !l.inline,
1697
1711
  wrap: l.inline,
1698
1712
  class: i.classes
1699
1713
  }), {
1700
1714
  default: g(() => [
1701
- (s(!0), u(k, null, L(i.checkboxItems, (n, d) => (s(), m(o, C({
1715
+ (s(!0), u(k, null, L(i.checkboxItems, (r, d) => (s(), m(a, C({
1702
1716
  key: d,
1703
- "model-value": n._isChecked,
1704
- "onUpdate:modelValue": (h) => i.toggleCheck(n, h),
1717
+ "model-value": r._isChecked,
1718
+ "onUpdate:modelValue": (h) => i.toggleCheck(r, h),
1705
1719
  onFocus: t[0] || (t[0] = (h) => e.$emit("focus", h)),
1706
1720
  name: `${e.inputName}[]`
1707
- }, { label: n.label, color: n.color, labelOnLeft: l.labelOnLeft, labelColor: l.labelColor, round: l.round }, {
1721
+ }, { label: r.label, color: r.color, labelOnLeft: l.labelOnLeft, labelColor: l.labelColor, round: l.round }, {
1708
1722
  disabled: e.isDisabled || null,
1709
1723
  readonly: e.isReadonly || null,
1710
1724
  class: { mt1: !l.inline && d }
@@ -1712,14 +1726,14 @@ function zt(e, t, l, a, r, i) {
1712
1726
  default: g(() => [
1713
1727
  e.$slots[`item.${d + 1}`] || e.$slots.item ? p(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
1714
1728
  key: 0,
1715
- item: i.getOriginalItem(n),
1716
- checked: !!n._isChecked,
1729
+ item: i.getOriginalItem(r),
1730
+ checked: !!r._isChecked,
1717
1731
  index: d + 1,
1718
- innerHTML: n.label
1719
- }) : n.label ? (s(), u("div", {
1732
+ innerHTML: r.label
1733
+ }) : r.label ? (s(), u("div", {
1720
1734
  key: 1,
1721
- innerHTML: n.label
1722
- }, null, 8, Ot)) : c("", !0)
1735
+ innerHTML: r.label
1736
+ }, null, 8, Pt)) : c("", !0)
1723
1737
  ]),
1724
1738
  _: 2
1725
1739
  }, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
@@ -1773,7 +1787,7 @@ const Mt = {
1773
1787
  },
1774
1788
  toggleCheck(e, t) {
1775
1789
  e._isChecked = t;
1776
- const l = this.checkboxItems.filter((a) => a._isChecked).map((a) => a.value);
1790
+ const l = this.checkboxItems.filter((o) => o._isChecked).map((o) => o.value);
1777
1791
  this.$emit("update:modelValue", l), this.$emit("input", l);
1778
1792
  },
1779
1793
  getOriginalItem(e) {
@@ -1781,14 +1795,14 @@ const Mt = {
1781
1795
  }
1782
1796
  }
1783
1797
  }, Et = /* @__PURE__ */ v(Mt, [["render", zt]]);
1784
- function Wt(e, t, l, a, r, i) {
1785
- const o = $("w-button"), n = $("w-flex"), d = $("w-menu"), h = me("focus");
1798
+ function Wt(e, t, l, o, n, i) {
1799
+ const a = $("w-button"), r = $("w-flex"), d = $("w-menu"), h = me("focus");
1786
1800
  return s(), m(d, C({
1787
1801
  modelValue: e.showPopup,
1788
1802
  "onUpdate:modelValue": t[2] || (t[2] = (y) => e.showPopup = y)
1789
1803
  }, i.wMenuProps), {
1790
1804
  activator: g(({ on: y }) => [
1791
- I(o, C({ class: "w-confirm" }, { ...e.$attrs, ...i.buttonProps, ...l.disablePrompt ? {} : y }), {
1805
+ I(a, C({ class: "w-confirm" }, { ...e.$attrs, ...i.buttonProps, ...l.disablePrompt ? {} : y }), {
1792
1806
  default: g(() => [
1793
1807
  p(e.$slots, "default")
1794
1808
  ]),
@@ -1796,20 +1810,20 @@ function Wt(e, t, l, a, r, i) {
1796
1810
  }, 1040)
1797
1811
  ]),
1798
1812
  default: g(() => [
1799
- I(n, {
1813
+ I(r, {
1800
1814
  column: !l.inline,
1801
1815
  "align-center": ""
1802
1816
  }, {
1803
1817
  default: g(() => [
1804
1818
  w("div", null, [
1805
1819
  p(e.$slots, "question", {}, () => [
1806
- S(_(l.question), 1)
1820
+ B(_(l.question), 1)
1807
1821
  ])
1808
1822
  ]),
1809
1823
  w("div", {
1810
1824
  class: f(["w-flex justify-end", l.inline ? "ml2" : "mt2"])
1811
1825
  }, [
1812
- l.cancel !== !1 ? (s(), m(o, C({
1826
+ l.cancel !== !1 ? (s(), m(a, C({
1813
1827
  key: 0,
1814
1828
  class: "mr2"
1815
1829
  }, i.cancelButtonProps, {
@@ -1819,19 +1833,19 @@ function Wt(e, t, l, a, r, i) {
1819
1833
  }), {
1820
1834
  default: g(() => [
1821
1835
  p(e.$slots, "cancel", {}, () => [
1822
- S(_(i.cancelButton.label), 1)
1836
+ B(_(i.cancelButton.label), 1)
1823
1837
  ])
1824
1838
  ]),
1825
1839
  _: 3
1826
1840
  }, 16, ["bg-color", "onClick"])) : c("", !0),
1827
- N((s(), m(o, C(i.confirmButtonProps, {
1841
+ N((s(), m(a, C(i.confirmButtonProps, {
1828
1842
  "bg-color": (i.confirmButton || {}).bgColor || "success",
1829
1843
  onKeyup: t[1] || (t[1] = E((y) => !l.persistent && i.onCancel(), ["escape"])),
1830
1844
  onClick: i.onConfirm
1831
1845
  }), {
1832
1846
  default: g(() => [
1833
1847
  p(e.$slots, "confirm", {}, () => [
1834
- S(_(i.confirmButton.label), 1)
1848
+ B(_(i.confirmButton.label), 1)
1835
1849
  ])
1836
1850
  ]),
1837
1851
  _: 3
@@ -1940,7 +1954,7 @@ const At = {
1940
1954
  }
1941
1955
  }
1942
1956
  }, Nt = /* @__PURE__ */ v(At, [["render", Wt]]);
1943
- function Kt(e, t, l, a, r, i) {
1957
+ function Kt(e, t, l, o, n, i) {
1944
1958
  return s(), u("div", {
1945
1959
  class: f(["w-date-picker", i.classes]),
1946
1960
  style: T(i.styles)
@@ -1967,11 +1981,11 @@ const Ht = {
1967
1981
  }
1968
1982
  }
1969
1983
  }, Dt = /* @__PURE__ */ v(Ht, [["render", Kt]]);
1970
- function Ft(e, t, l, a, r, i) {
1971
- const o = $("w-card"), n = $("w-overlay");
1972
- return s(), m(n, {
1984
+ function Ft(e, t, l, o, n, i) {
1985
+ const a = $("w-card"), r = $("w-overlay");
1986
+ return s(), m(r, {
1973
1987
  class: f(["w-dialog", i.classes]),
1974
- "model-value": r.showWrapper,
1988
+ "model-value": n.showWrapper,
1975
1989
  persistent: l.persistent,
1976
1990
  "persistent-no-animation": l.persistentNoAnimation,
1977
1991
  onClick: i.onOutsideClick,
@@ -1980,13 +1994,13 @@ function Ft(e, t, l, a, r, i) {
1980
1994
  opacity: l.overlayOpacity
1981
1995
  }, {
1982
1996
  default: g(() => [
1983
- I(P, {
1997
+ I(O, {
1984
1998
  name: l.transition,
1985
1999
  appear: "",
1986
2000
  onAfterLeave: i.onBeforeClose
1987
2001
  }, {
1988
2002
  default: g(() => [
1989
- N(I(o, {
2003
+ N(I(a, {
1990
2004
  class: f(["w-dialog__content", l.dialogClass]),
1991
2005
  ref: "dialog",
1992
2006
  "no-border": "",
@@ -2017,7 +2031,7 @@ function Ft(e, t, l, a, r, i) {
2017
2031
  key: "1"
2018
2032
  } : void 0
2019
2033
  ]), 1032, ["color", "bg-color", "class", "title-class", "content-class", "title", "style"]), [
2020
- [oe, r.showContent]
2034
+ [oe, n.showContent]
2021
2035
  ])
2022
2036
  ]),
2023
2037
  _: 3
@@ -2094,7 +2108,7 @@ const jt = {
2094
2108
  }
2095
2109
  }
2096
2110
  }, Ut = /* @__PURE__ */ v(jt, [["render", Ft]]), qt = ["role", "aria-orientation"];
2097
- function Xt(e, t, l, a, r, i) {
2111
+ function Xt(e, t, l, o, n, i) {
2098
2112
  return s(), u("div", {
2099
2113
  class: f(["w-divider", i.classes]),
2100
2114
  role: e.$slots.default ? null : "presentation",
@@ -2124,9 +2138,9 @@ const Yt = {
2124
2138
  }
2125
2139
  }
2126
2140
  }, Gt = /* @__PURE__ */ v(Yt, [["render", Xt]]), Jt = { class: "w-drawer-wrap__pushable" };
2127
- function Qt(e, t, l, a, r, i) {
2128
- const o = $("w-overlay");
2129
- return r.showWrapper || l.pushContent ? (s(), u("div", {
2141
+ function Qt(e, t, l, o, n, i) {
2142
+ const a = $("w-overlay");
2143
+ return n.showWrapper || l.pushContent ? (s(), u("div", {
2130
2144
  key: 0,
2131
2145
  class: f(["w-drawer-wrap", i.wrapperClasses])
2132
2146
  }, [
@@ -2136,10 +2150,10 @@ function Qt(e, t, l, a, r, i) {
2136
2150
  style: T(i.trackStyles)
2137
2151
  }, [
2138
2152
  w("div", Jt, [
2139
- l.noOverlay ? c("", !0) : (s(), m(o, {
2153
+ l.noOverlay ? c("", !0) : (s(), m(a, {
2140
2154
  key: 0,
2141
- modelValue: r.showDrawer,
2142
- "onUpdate:modelValue": t[0] || (t[0] = (n) => r.showDrawer = n),
2155
+ modelValue: n.showDrawer,
2156
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => n.showDrawer = r),
2143
2157
  onClick: i.onOutsideClick,
2144
2158
  persistent: l.persistent,
2145
2159
  "persistent-no-animation": "",
@@ -2148,13 +2162,13 @@ function Qt(e, t, l, a, r, i) {
2148
2162
  }, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
2149
2163
  p(e.$slots, "pushable")
2150
2164
  ]),
2151
- I(P, {
2165
+ I(O, {
2152
2166
  name: "fade",
2153
2167
  onBeforeLeave: i.onBeforeClose,
2154
2168
  onAfterLeave: i.onClose
2155
2169
  }, {
2156
2170
  default: g(() => [
2157
- r.showDrawer ? (s(), m(V(l.tag || "aside"), {
2171
+ n.showDrawer ? (s(), m(V(l.tag || "aside"), {
2158
2172
  key: 0,
2159
2173
  class: f(["w-drawer", i.drawerClasses]),
2160
2174
  ref: "drawer",
@@ -2169,24 +2183,24 @@ function Qt(e, t, l, a, r, i) {
2169
2183
  _: 3
2170
2184
  }, 8, ["onBeforeLeave", "onAfterLeave"])
2171
2185
  ], 4)) : (s(), u(k, { key: 1 }, [
2172
- l.noOverlay ? c("", !0) : (s(), m(o, {
2186
+ l.noOverlay ? c("", !0) : (s(), m(a, {
2173
2187
  key: 0,
2174
- modelValue: r.showDrawer,
2175
- "onUpdate:modelValue": t[1] || (t[1] = (n) => r.showDrawer = n),
2188
+ modelValue: n.showDrawer,
2189
+ "onUpdate:modelValue": t[1] || (t[1] = (r) => n.showDrawer = r),
2176
2190
  onClick: i.onOutsideClick,
2177
2191
  persistent: l.persistent,
2178
2192
  "persistent-no-animation": "",
2179
2193
  "bg-color": l.overlayColor,
2180
2194
  opacity: l.overlayOpacity
2181
2195
  }, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
2182
- I(P, {
2196
+ I(O, {
2183
2197
  name: i.transitionName,
2184
2198
  appear: "",
2185
2199
  onBeforeLeave: i.onBeforeClose,
2186
2200
  onAfterLeave: i.onClose
2187
2201
  }, {
2188
2202
  default: g(() => [
2189
- r.showDrawer ? (s(), m(V(l.tag || "aside"), {
2203
+ n.showDrawer ? (s(), m(V(l.tag || "aside"), {
2190
2204
  key: 0,
2191
2205
  class: f(["w-drawer", i.drawerClasses]),
2192
2206
  ref: "drawer",
@@ -2309,7 +2323,7 @@ const Zt = { left: "right", right: "left", top: "down", bottom: "up" }, el = {
2309
2323
  }
2310
2324
  }
2311
2325
  }, tl = /* @__PURE__ */ v(el, [["render", Qt]]);
2312
- function ll(e, t, l, a, r, i) {
2326
+ function ll(e, t, l, o, n, i) {
2313
2327
  return s(), m(V(l.tag), {
2314
2328
  class: f(["w-flex", i.classes])
2315
2329
  }, {
@@ -2367,11 +2381,11 @@ const il = {
2367
2381
  }
2368
2382
  }
2369
2383
  }, sl = /* @__PURE__ */ v(il, [["render", ll]]);
2370
- function al(e, t, l, a, r, i) {
2384
+ function al(e, t, l, o, n, i) {
2371
2385
  return s(), u("form", {
2372
2386
  class: f(["w-form", i.classes]),
2373
- onSubmit: t[0] || (t[0] = (...o) => i.onSubmit && i.onSubmit(...o)),
2374
- onReset: t[1] || (t[1] = (...o) => i.reset && i.reset(...o)),
2387
+ onSubmit: t[0] || (t[0] = (...a) => i.onSubmit && i.onSubmit(...a)),
2388
+ onReset: t[1] || (t[1] = (...a) => i.reset && i.reset(...a)),
2375
2389
  novalidate: ""
2376
2390
  }, [
2377
2391
  p(e.$slots, "default")
@@ -2440,8 +2454,8 @@ const ol = async (e, t) => {
2440
2454
  let t = 0;
2441
2455
  return await (async () => {
2442
2456
  var l;
2443
- for (const a of this.formElements)
2444
- !((l = a.validators) != null && l.length) || a.disabled || a.readonly || (await this.checkElementValidators(a), t += ~~!a.Validation.isValid, a.$emit("update:valid", a.Validation.isValid));
2457
+ for (const o of this.formElements)
2458
+ !((l = o.validators) != null && l.length) || o.disabled || o.readonly || (await this.checkElementValidators(o), t += ~~!o.Validation.isValid, o.$emit("update:valid", o.Validation.isValid));
2445
2459
  })(), this.updateErrorsCount(t), this.status = !t, this.$emit("validate", { e, errorsCount: t }), this.$emit(this.status ? "success" : "error", { e, errorsCount: t }), this.status;
2446
2460
  },
2447
2461
  async validateElement(e) {
@@ -2449,16 +2463,16 @@ const ol = async (e, t) => {
2449
2463
  },
2450
2464
  async checkElementValidators(e) {
2451
2465
  let t = !1, l = "";
2452
- await ol(e.validators, async (a) => {
2453
- const r = await (typeof a == "function" && a(e.inputValue));
2454
- return t = typeof r != "string", l = t ? "" : r, !t;
2466
+ await ol(e.validators, async (o) => {
2467
+ const n = await (typeof o == "function" && o(e.inputValue));
2468
+ return t = typeof n != "string", l = t ? "" : n, !t;
2455
2469
  }), e.hasJustReset = !1, e.Validation.isValid = t, e.Validation.message = l;
2456
2470
  },
2457
2471
  reset(e) {
2458
2472
  this.status = null, this.formElements.forEach((t) => t.reset()), this.updateErrorsCount(0, !0), this.$emit("reset", e);
2459
2473
  },
2460
2474
  updateErrorsCount(e = null, t = !1) {
2461
- this.errorsCount = e !== null ? e : this.formElements.reduce((l, a) => l + ~~(a.Validation.isValid === !1), 0), this.status = t ? null : !this.errorsCount, this.$emit("update:modelValue", this.status), this.$emit("input", this.status), this.$emit("update:errorsCount", this.errorsCount);
2475
+ this.errorsCount = e !== null ? e : this.formElements.reduce((l, o) => l + ~~(o.Validation.isValid === !1), 0), this.status = t ? null : !this.errorsCount, this.$emit("update:modelValue", this.status), this.$emit("input", this.status), this.$emit("update:errorsCount", this.errorsCount);
2462
2476
  },
2463
2477
  onSubmit(e) {
2464
2478
  this.validate(e), this.$emit("submit", e), (!this.allowSubmit || !this.status) && e.preventDefault();
@@ -2473,8 +2487,8 @@ const ol = async (e, t) => {
2473
2487
  }
2474
2488
  }
2475
2489
  }, rl = /* @__PURE__ */ v(nl, [["render", al]]);
2476
- function dl(e, t, l, a, r, i) {
2477
- const o = $("w-transition-expand");
2490
+ function dl(e, t, l, o, n, i) {
2491
+ const a = $("w-transition-expand");
2478
2492
  return s(), u("div", {
2479
2493
  class: f(i.classes)
2480
2494
  }, [
@@ -2483,7 +2497,7 @@ function dl(e, t, l, a, r, i) {
2483
2497
  }, [
2484
2498
  p(e.$slots, "default")
2485
2499
  ], 2),
2486
- I(o, { y: "" }, {
2500
+ I(a, { y: "" }, {
2487
2501
  default: g(() => [
2488
2502
  e.Validation.message ? (s(), u("div", {
2489
2503
  key: 0,
@@ -2492,7 +2506,7 @@ function dl(e, t, l, a, r, i) {
2492
2506
  p(e.$slots, "error-message", {
2493
2507
  message: e.Validation.message
2494
2508
  }, () => [
2495
- S(_(e.Validation.message), 1)
2509
+ B(_(e.Validation.message), 1)
2496
2510
  ])
2497
2511
  ], 2)) : c("", !0)
2498
2512
  ]),
@@ -2567,7 +2581,7 @@ const ul = {
2567
2581
  this.formUnregister && this.formUnregister(this);
2568
2582
  }
2569
2583
  }, hl = /* @__PURE__ */ v(ul, [["render", dl]]);
2570
- function cl(e, t, l, a, r, i) {
2584
+ function cl(e, t, l, o, n, i) {
2571
2585
  return s(), m(V(l.tag), {
2572
2586
  class: f(["w-grid", i.classes])
2573
2587
  }, {
@@ -2613,16 +2627,16 @@ const pl = {
2613
2627
  },
2614
2628
  classes() {
2615
2629
  let e = null;
2616
- typeof this.columns == "object" && (e = Object.entries(this.breakpointsColumns).reduce((l, [a, r]) => (l[`${a}-columns${r}`] = !0, l), {}));
2630
+ typeof this.columns == "object" && (e = Object.entries(this.breakpointsColumns).reduce((l, [o, n]) => (l[`${o}-columns${n}`] = !0, l), {}));
2617
2631
  let t = null;
2618
- return typeof this.gap == "object" && (t = Object.entries(this.breakpointsGap).reduce((l, [a, r]) => (l[`${a}-gap${r}`] = !0, l), {})), {
2632
+ return typeof this.gap == "object" && (t = Object.entries(this.breakpointsGap).reduce((l, [o, n]) => (l[`${o}-gap${n}`] = !0, l), {})), {
2619
2633
  ...e || { [`columns${this.columns}`]: this.columns },
2620
2634
  ...t || { [`gap${this.gap}`]: this.gap }
2621
2635
  };
2622
2636
  }
2623
2637
  }
2624
2638
  }, fl = /* @__PURE__ */ v(pl, [["render", cl]]);
2625
- function gl(e, t, l, a, r, i) {
2639
+ function gl(e, t, l, o, n, i) {
2626
2640
  return s(), m(V(l.tag || "i"), C({ class: "w-icon" }, W(e.$attrs), {
2627
2641
  class: i.classes,
2628
2642
  role: "icon",
@@ -2631,7 +2645,7 @@ function gl(e, t, l, a, r, i) {
2631
2645
  }), {
2632
2646
  default: g(() => [
2633
2647
  i.hasLigature ? (s(), u(k, { key: 0 }, [
2634
- S(_(e.icon), 1)
2648
+ B(_(e.icon), 1)
2635
2649
  ], 64)) : c("", !0)
2636
2650
  ]),
2637
2651
  _: 1
@@ -2706,33 +2720,33 @@ const ml = {
2706
2720
  return this.fontName = t, this.icon = l, !0;
2707
2721
  }
2708
2722
  }
2709
- }, bl = /* @__PURE__ */ v(ml, [["render", gl]]), G = (e) => console.warn(`Wave UI: ${e}`), le = (e) => console.error(`Wave UI: ${e}`), yl = {
2723
+ }, bl = /* @__PURE__ */ v(ml, [["render", gl]]), yl = {
2710
2724
  key: 0,
2711
2725
  class: "w-image__loader"
2712
2726
  };
2713
- function wl(e, t, l, a, r, i) {
2714
- const o = $("w-progress");
2727
+ function wl(e, t, l, o, n, i) {
2728
+ const a = $("w-progress");
2715
2729
  return s(), m(V(i.wrapperTag), {
2716
2730
  class: f(["w-image-wrap", i.wrapperClasses]),
2717
2731
  style: T(i.wrapperStyles)
2718
2732
  }, {
2719
2733
  default: g(() => [
2720
- I(P, {
2734
+ I(O, {
2721
2735
  name: l.transition,
2722
2736
  appear: ""
2723
2737
  }, {
2724
2738
  default: g(() => [
2725
- r.loaded ? (s(), m(V(l.tag), {
2739
+ n.loaded ? (s(), m(V(l.tag), {
2726
2740
  key: 0,
2727
2741
  class: f(["w-image", i.imageClasses]),
2728
2742
  style: T(i.imageStyles),
2729
- src: l.tag === "img" ? r.imgSrc : null
2743
+ src: l.tag === "img" ? n.imgSrc : null
2730
2744
  }, null, 8, ["class", "style", "src"])) : c("", !0)
2731
2745
  ]),
2732
2746
  _: 1
2733
2747
  }, 8, ["name"]),
2734
- !l.noSpinner && r.loading ? (s(), u("div", yl, [
2735
- e.$slots.loading ? p(e.$slots, "loading", { key: 0 }) : (s(), m(o, C({
2748
+ !l.noSpinner && n.loading ? (s(), u("div", yl, [
2749
+ e.$slots.loading ? p(e.$slots, "loading", { key: 0 }) : (s(), m(a, C({
2736
2750
  key: 1,
2737
2751
  circle: "",
2738
2752
  indeterminate: ""
@@ -2819,15 +2833,15 @@ const vl = {
2819
2833
  if (!this.loading)
2820
2834
  return this.loading = !0, this.loaded = !1, this.$emit("loading", e ? this.fallback : this.src), new Promise((t) => {
2821
2835
  const l = new Image();
2822
- l.onload = (a) => (!this.width && !this.height && !this.imgGivenRatio && (this.imgWidth = a.target.width, this.imgHeight = a.target.height), this.imgComputedRatio = a.target.height / a.target.width, this.loading = !1, this.loaded = !0, this.imgSrc = e ? this.fallback : this.src, this.$emit("loaded", this.imgSrc), t(l)), l.onerror = (a) => {
2823
- this.$emit("error", a), this.fallback && !e ? (this.loading = !1, this.loadImage(!0)) : (this.loading = !1, this.loaded = !1);
2836
+ l.onload = (o) => (!this.width && !this.height && !this.imgGivenRatio && (this.imgWidth = o.target.width, this.imgHeight = o.target.height), this.imgComputedRatio = o.target.height / o.target.width, this.loading = !1, this.loaded = !0, this.imgSrc = e ? this.fallback : this.src, this.$emit("loaded", this.imgSrc), t(l)), l.onerror = (o) => {
2837
+ this.$emit("error", o), this.fallback && !e ? (this.loading = !1, this.loadImage(!0)) : (this.loading = !1, this.loaded = !1);
2824
2838
  }, l.src = e ? this.fallback : this.src;
2825
2839
  });
2826
2840
  }
2827
2841
  },
2828
2842
  mounted() {
2829
2843
  if (!this.src)
2830
- return G("The w-image component was used without src.");
2844
+ return U("The w-image component was used without src.");
2831
2845
  if (this.lazy) {
2832
2846
  const e = new IntersectionObserver((t) => {
2833
2847
  t[0] && t[0].isIntersecting && (this.loadImage(), e.disconnect());
@@ -2847,17 +2861,17 @@ const vl = {
2847
2861
  this.imgHeight = e;
2848
2862
  }
2849
2863
  }
2850
- }, kl = /* @__PURE__ */ v(vl, [["render", wl]]), _l = ["name"], Cl = ["for"], Sl = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Bl = ["id", "name", "multiple", "data-progress"], $l = {
2864
+ }, kl = /* @__PURE__ */ v(vl, [["render", wl]]), _l = ["name"], Cl = ["for"], Bl = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Sl = ["id", "name", "multiple", "disabled", "data-progress"], $l = {
2851
2865
  class: "w-input__no-file",
2852
2866
  key: "no-file"
2853
2867
  }, Vl = ["for"], Il = ["for"], Rl = ["src"], Tl = ["for"];
2854
- function Ll(e, t, l, a, r, i) {
2855
- const o = $("w-icon"), n = $("w-progress");
2856
- return s(), m(V(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 }, {
2868
+ function Ll(e, t, l, o, n, i) {
2869
+ const a = $("w-icon"), r = $("w-progress");
2870
+ return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
2857
2871
  valid: e.valid,
2858
2872
  "onUpdate:valid": t[10] || (t[10] = (d) => e.valid = d),
2859
2873
  onReset: t[11] || (t[11] = (d) => {
2860
- e.$emit("update:modelValue", r.inputValue = ""), e.$emit("input", "");
2874
+ e.$emit("update:modelValue", n.inputValue = ""), e.$emit("input", "");
2861
2875
  }),
2862
2876
  wrap: i.hasLabel && l.labelPosition !== "inside",
2863
2877
  class: i.classes
@@ -2867,9 +2881,9 @@ function Ll(e, t, l, a, r, i) {
2867
2881
  key: 0,
2868
2882
  type: "hidden",
2869
2883
  name: e.name || null,
2870
- "onUpdate:modelValue": t[0] || (t[0] = (d) => r.inputValue = d)
2884
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => n.inputValue = d)
2871
2885
  }, null, 8, _l)), [
2872
- [be, r.inputValue]
2886
+ [be, n.inputValue]
2873
2887
  ]) : (s(), u(k, { key: 1 }, [
2874
2888
  l.labelPosition === "left" ? (s(), u(k, { key: 0 }, [
2875
2889
  e.$slots.default || l.label ? (s(), u("label", {
@@ -2878,14 +2892,14 @@ function Ll(e, t, l, a, r, i) {
2878
2892
  for: `w-input--${e._.uid}`
2879
2893
  }, [
2880
2894
  p(e.$slots, "default", {}, () => [
2881
- S(_(l.label), 1)
2895
+ B(_(l.label), 1)
2882
2896
  ])
2883
2897
  ], 10, Cl)) : c("", !0)
2884
2898
  ], 64)) : c("", !0),
2885
2899
  w("div", {
2886
2900
  class: f(["w-input__input-wrap", i.inputWrapClasses])
2887
2901
  }, [
2888
- l.innerIconLeft ? (s(), m(o, {
2902
+ l.innerIconLeft ? (s(), m(a, {
2889
2903
  key: 0,
2890
2904
  class: "w-input__icon w-input__icon--inner-left",
2891
2905
  tag: "label",
@@ -2893,7 +2907,7 @@ function Ll(e, t, l, a, r, i) {
2893
2907
  onClick: t[1] || (t[1] = (d) => e.$emit("click:inner-icon-left", d))
2894
2908
  }, {
2895
2909
  default: g(() => [
2896
- S(_(l.innerIconLeft), 1)
2910
+ B(_(l.innerIconLeft), 1)
2897
2911
  ]),
2898
2912
  _: 1
2899
2913
  }, 8, ["for"])) : c("", !0),
@@ -2901,7 +2915,7 @@ function Ll(e, t, l, a, r, i) {
2901
2915
  key: 1,
2902
2916
  class: "w-input__input",
2903
2917
  ref: "input",
2904
- "onUpdate:modelValue": t[2] || (t[2] = (d) => r.inputValue = d)
2918
+ "onUpdate:modelValue": t[2] || (t[2] = (d) => n.inputValue = d)
2905
2919
  }, W(i.listeners, !0), {
2906
2920
  onInput: t[3] || (t[3] = (...d) => i.onInput && i.onInput(...d)),
2907
2921
  onFocus: t[4] || (t[4] = (...d) => i.onFocus && i.onFocus(...d)),
@@ -2920,8 +2934,8 @@ function Ll(e, t, l, a, r, i) {
2920
2934
  disabled: e.isDisabled || null,
2921
2935
  required: e.required || null,
2922
2936
  tabindex: e.tabindex || null
2923
- }, i.attrs), null, 16, Sl)), [
2924
- [$e, r.inputValue]
2937
+ }, i.attrs), null, 16, Bl)), [
2938
+ [$e, n.inputValue]
2925
2939
  ]) : (s(), u(k, { key: 2 }, [
2926
2940
  w("input", C({
2927
2941
  ref: "input",
@@ -2933,8 +2947,9 @@ function Ll(e, t, l, a, r, i) {
2933
2947
  onChange: t[8] || (t[8] = (...d) => i.onFileChange && i.onFileChange(...d)),
2934
2948
  multiple: l.multiple || null
2935
2949
  }, i.attrs, {
2950
+ disabled: e.isDisabled || null,
2936
2951
  "data-progress": i.overallFilesProgress
2937
- }), null, 16, Bl),
2952
+ }), null, 16, Sl),
2938
2953
  I(ae, {
2939
2954
  class: "w-input__input w-input__input--file",
2940
2955
  tag: "label",
@@ -2942,22 +2957,22 @@ function Ll(e, t, l, a, r, i) {
2942
2957
  for: `w-input--${e._.uid}`
2943
2958
  }, {
2944
2959
  default: g(() => [
2945
- !r.inputFiles.length && r.isFocused ? (s(), u("span", $l, [
2960
+ !n.inputFiles.length && n.isFocused ? (s(), u("span", $l, [
2946
2961
  p(e.$slots, "no-file", {}, () => [
2947
2962
  e.$slots["no-file"] === void 0 ? (s(), u(k, { key: 0 }, [
2948
- S("No file")
2963
+ B("No file")
2949
2964
  ], 64)) : c("", !0)
2950
2965
  ])
2951
2966
  ])) : c("", !0),
2952
- (s(!0), u(k, null, L(r.inputFiles, (d, h) => (s(), u("span", {
2967
+ (s(!0), u(k, null, L(n.inputFiles, (d, h) => (s(), u("span", {
2953
2968
  key: d.lastModified
2954
2969
  }, [
2955
- S(_(h ? ", " : ""), 1),
2970
+ B(_(h ? ", " : ""), 1),
2956
2971
  (s(), u("span", {
2957
2972
  class: "filename",
2958
2973
  key: `${h}b`
2959
2974
  }, _(d.base), 1)),
2960
- S(_(d.extension ? `.${d.extension}` : ""), 1)
2975
+ B(_(d.extension ? `.${d.extension}` : ""), 1)
2961
2976
  ]))), 128))
2962
2977
  ]),
2963
2978
  _: 3
@@ -2970,11 +2985,11 @@ function Ll(e, t, l, a, r, i) {
2970
2985
  for: `w-input--${e._.uid}`
2971
2986
  }, [
2972
2987
  p(e.$slots, "default", {}, () => [
2973
- S(_(l.label), 1)
2988
+ B(_(l.label), 1)
2974
2989
  ])
2975
2990
  ], 10, Vl)) : c("", !0)
2976
2991
  ], 64)) : c("", !0),
2977
- l.innerIconRight ? (s(), m(o, {
2992
+ l.innerIconRight ? (s(), m(a, {
2978
2993
  key: 4,
2979
2994
  class: "w-input__icon w-input__icon--inner-right",
2980
2995
  tag: "label",
@@ -2982,11 +2997,11 @@ function Ll(e, t, l, a, r, i) {
2982
2997
  onClick: t[9] || (t[9] = (d) => e.$emit("click:inner-icon-right", d))
2983
2998
  }, {
2984
2999
  default: g(() => [
2985
- S(_(l.innerIconRight), 1)
3000
+ B(_(l.innerIconRight), 1)
2986
3001
  ]),
2987
3002
  _: 1
2988
3003
  }, 8, ["for"])) : c("", !0),
2989
- i.hasLoading || l.showProgress && (i.uploadInProgress || i.uploadComplete) ? (s(), m(n, {
3004
+ i.hasLoading || l.showProgress && (i.uploadInProgress || i.uploadComplete) ? (s(), m(r, {
2990
3005
  key: 5,
2991
3006
  class: "fill-width",
2992
3007
  size: "2",
@@ -2994,12 +3009,12 @@ function Ll(e, t, l, a, r, i) {
2994
3009
  "model-value": l.showProgress ? (i.uploadInProgress || i.uploadComplete) && i.overallFilesProgress : i.loadingValue
2995
3010
  }, null, 8, ["color", "model-value"])) : c("", !0)
2996
3011
  ], 2),
2997
- l.type === "file" && l.preview && r.inputFiles.length ? (s(), u("label", {
3012
+ l.type === "file" && l.preview && n.inputFiles.length ? (s(), u("label", {
2998
3013
  key: 1,
2999
3014
  class: "d-flex",
3000
3015
  for: `w-input--${e._.uid}`
3001
3016
  }, [
3002
- (s(!0), u(k, null, L(r.inputFiles, (d, h) => (s(), u(k, null, [
3017
+ (s(!0), u(k, null, L(n.inputFiles, (d, h) => (s(), u(k, null, [
3003
3018
  d.progress < 100 ? (s(), u("i", {
3004
3019
  class: "w-icon wi-spinner w-icon--spin size--sm w-input__file-preview primary",
3005
3020
  key: `${h}a`
@@ -3021,7 +3036,7 @@ function Ll(e, t, l, a, r, i) {
3021
3036
  for: `w-input--${e._.uid}`
3022
3037
  }, [
3023
3038
  p(e.$slots, "default", {}, () => [
3024
- S(_(l.label), 1)
3039
+ B(_(l.label), 1)
3025
3040
  ])
3026
3041
  ], 10, Tl)) : c("", !0)
3027
3042
  ], 64)) : c("", !0)
@@ -3080,8 +3095,8 @@ const xl = {
3080
3095
  return this.type === "file" && !this.inputFiles.length && (t.value = null), t;
3081
3096
  },
3082
3097
  listeners() {
3083
- const { input: e, focus: t, blur: l, ...a } = this.$attrs;
3084
- return a;
3098
+ const { input: e, focus: t, blur: l, ...o } = this.$attrs;
3099
+ return o;
3085
3100
  },
3086
3101
  hasValue() {
3087
3102
  switch (this.type) {
@@ -3110,7 +3125,7 @@ const xl = {
3110
3125
  return !this.staticLabel || !this.hasValue && !this.placeholder;
3111
3126
  },
3112
3127
  overallFilesProgress() {
3113
- const t = +this.inputFiles.reduce((l, a) => l + a.progress, 0) / this.inputFiles.length;
3128
+ const t = +this.inputFiles.reduce((l, o) => l + o.progress, 0) / this.inputFiles.length;
3114
3129
  return this.$emit("update:overallProgress", this.inputFiles.length ? t : void 0), t;
3115
3130
  },
3116
3131
  uploadInProgress() {
@@ -3164,10 +3179,10 @@ const xl = {
3164
3179
  },
3165
3180
  onFileChange(e) {
3166
3181
  this.inputFiles = [...e.target.files].map((l) => {
3167
- const [, a = "", r = "", i = ""] = l.name.match(/^(.*?)\.([^.]*)$|(.*)/), o = Q({
3182
+ const [, o = "", n = "", i = ""] = l.name.match(/^(.*?)\.([^.]*)$|(.*)/), a = Q({
3168
3183
  name: l.name,
3169
- base: a || i,
3170
- extension: r,
3184
+ base: o || i,
3185
+ extension: n,
3171
3186
  type: l.type,
3172
3187
  size: l.size,
3173
3188
  lastModified: l.lastModified,
@@ -3175,14 +3190,14 @@ const xl = {
3175
3190
  progress: 0,
3176
3191
  file: l
3177
3192
  });
3178
- return this.readFile(l, o), o;
3193
+ return this.readFile(l, a), a;
3179
3194
  });
3180
3195
  const t = this.multiple ? this.inputFiles : this.inputFiles[0];
3181
3196
  this.$emit("update:modelValue", t), this.$emit("input", t);
3182
3197
  },
3183
3198
  readFile(e, t) {
3184
- const l = new FileReader(), a = typeof this.preview == "string", r = e.type && e.type.startsWith("image/");
3185
- this.preview && !a && r ? l.addEventListener("load", (i) => {
3199
+ const l = new FileReader(), o = typeof this.preview == "string", n = e.type && e.type.startsWith("image/");
3200
+ this.preview && !o && n ? l.addEventListener("load", (i) => {
3186
3201
  t.preview = i.target.result;
3187
3202
  }) : delete t.preview, l.addEventListener("progress", (i) => {
3188
3203
  i.loaded && i.total && (t.progress = i.loaded * 100 / i.total);
@@ -3199,9 +3214,9 @@ const xl = {
3199
3214
  this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1, this.inputFiles = []);
3200
3215
  }
3201
3216
  }
3202
- }, Pl = /* @__PURE__ */ v(xl, [["render", Ll]]);
3203
- function Ol(e, t, l, a, r, i) {
3204
- const o = $("w-icon"), n = $("w-list", !0);
3217
+ }, Ol = /* @__PURE__ */ v(xl, [["render", Ll]]);
3218
+ function Pl(e, t, l, o, n, i) {
3219
+ const a = $("w-icon"), r = $("w-list", !0);
3205
3220
  return s(), u("ul", {
3206
3221
  class: f(["w-list", i.classes])
3207
3222
  }, [
@@ -3209,12 +3224,12 @@ function Ol(e, t, l, a, r, i) {
3209
3224
  class: f(["w-list__item", { "w-list__item--parent": (d.children || []).length }]),
3210
3225
  key: h
3211
3226
  }, [
3212
- l.icon ? (s(), m(o, {
3227
+ l.icon ? (s(), m(a, {
3213
3228
  key: 0,
3214
3229
  class: "w-list__item-bullet"
3215
3230
  }, {
3216
3231
  default: g(() => [
3217
- S(_(l.icon), 1)
3232
+ B(_(l.icon), 1)
3218
3233
  ]),
3219
3234
  _: 1
3220
3235
  })) : c("", !0),
@@ -3239,7 +3254,7 @@ function Ol(e, t, l, a, r, i) {
3239
3254
  index: h + 1,
3240
3255
  selected: d._selected
3241
3256
  }, () => [
3242
- S(_(d._label), 1)
3257
+ B(_(d._label), 1)
3243
3258
  ])
3244
3259
  ]),
3245
3260
  _: 2
@@ -3247,7 +3262,7 @@ function Ol(e, t, l, a, r, i) {
3247
3262
  key: 2,
3248
3263
  class: "w-list__item-label"
3249
3264
  }, i.liLabelProps(d, h, d._selected)), null, 16)),
3250
- (d.children || []).length ? (s(), m(n, C({ key: 3 }, e.$props, {
3265
+ (d.children || []).length ? (s(), m(r, C({ key: 3 }, e.$props, {
3251
3266
  items: d.children,
3252
3267
  depth: l.depth + 1,
3253
3268
  "onUpdate:modelValue": t[0] || (t[0] = (y) => e.$emit("update:modelValue", y)),
@@ -3257,23 +3272,23 @@ function Ol(e, t, l, a, r, i) {
3257
3272
  }), Z({ _: 2 }, [
3258
3273
  e.$slots.item ? {
3259
3274
  name: "item",
3260
- fn: g(({ item: y, index: B, selected: b }) => [
3275
+ fn: g(({ item: y, index: S, selected: b }) => [
3261
3276
  p(e.$slots, "item", {
3262
3277
  item: i.cleanLi(y),
3263
- index: B,
3278
+ index: S,
3264
3279
  selected: b
3265
3280
  })
3266
3281
  ]),
3267
3282
  key: "0"
3268
3283
  } : {
3269
3284
  name: "default",
3270
- fn: g(({ item: y, index: B, selected: b }) => [
3285
+ fn: g(({ item: y, index: S, selected: b }) => [
3271
3286
  p(e.$slots, "default", {
3272
3287
  item: i.cleanLi(y),
3273
- index: B,
3288
+ index: S,
3274
3289
  selected: b
3275
3290
  }, () => [
3276
- S(_(y[l.itemLabelKey]), 1)
3291
+ B(_(y[l.itemLabelKey]), 1)
3277
3292
  ])
3278
3293
  ]),
3279
3294
  key: "1"
@@ -3366,28 +3381,28 @@ const zl = {
3366
3381
  };
3367
3382
  },
3368
3383
  liLabelProps(e, t, l) {
3369
- const a = this.$slots[`item.${t + 1}`] || this.$slots.item, r = () => {
3384
+ const o = this.$slots[`item.${t + 1}`] || this.$slots.item, n = () => {
3370
3385
  if (!e.disabled) {
3371
3386
  const d = this.cleanLi(e);
3372
3387
  this.$emit("item-click", d), this.$emit("item-select", d);
3373
3388
  }
3374
3389
  }, i = this.isSelectable && ((d) => {
3375
3390
  d.stopPropagation(), !e.disabled && this.selectItem(e);
3376
- }), o = this.isSelectable && ((d) => {
3391
+ }), a = this.isSelectable && ((d) => {
3377
3392
  !e.disabled && d.keyCode === 13 ? (this.selectItem(e), this.$emit("keydown:enter"), this.$emit("item-select", this.cleanLi(e))) : d.keyCode === 27 ? this.$emit("keydown:escape") : this.arrowsNavigation && [38, 40].includes(d.keyCode) && (d.preventDefault(), d.keyCode === 38 && this.focusPrevNextItem(e._index, !1), d.keyCode === 40 && this.focusPrevNextItem(e._index, !0));
3378
- }), n = {
3393
+ }), r = {
3379
3394
  class: this.liLabelClasses(e),
3380
3395
  tabindex: e.disabled || this.checklist ? null : "0",
3381
3396
  "aria-selected": l ? "true" : "false",
3382
3397
  id: this.listId ? `${this.listId}_item-${t + 1}` : null,
3383
3398
  role: "option"
3384
3399
  };
3385
- return this.checklist ? (n.modelValue = e._selected, n.color = e[this.itemColorKey] || this.color, n.round = this.roundCheckboxes, n.disabled = e.disabled, a || (n.label = e._label || null), n.onFocus = () => e._focused = !0, n.onBlur = () => e._focused = !1, n.onInput = (d) => this.selectItem(e, d), n.onClick = (d) => {
3400
+ return this.checklist ? (r.modelValue = e._selected, r.color = e[this.itemColorKey] || this.color, r.round = this.roundCheckboxes, r.disabled = e.disabled, o || (r.label = e._label || null), r.onFocus = () => e._focused = !0, r.onBlur = () => e._focused = !1, r.onInput = (d) => this.selectItem(e, d), r.onClick = (d) => {
3386
3401
  const h = d.target.querySelector('input[type="checkbox"]');
3387
- h && (h.focus(), h.click()), r();
3388
- }) : this.nav ? (!e.disabled && e[this.itemRouteKey] && (n.onKeydown = o, n.onMousedown = i, this.$router ? (n.to = e[this.itemRouteKey], n.onClick = (d) => {
3389
- d.preventDefault(), this.$router.push(e[this.itemRouteKey]), r();
3390
- }) : (n.href = e[this.itemRouteKey], n.onClick = r)), a || (n.innerHTML = e._label)) : (this.isSelectable && (e.disabled || (n.tabindex = 0), n.onClick = r, n.onKeydown = o, n.onMousedown = i), a || (n.innerHTML = e._label)), n;
3402
+ h && (h.focus(), h.click()), n();
3403
+ }) : this.nav ? (!e.disabled && e[this.itemRouteKey] && (r.onKeydown = a, r.onMousedown = i, this.$router ? (r.to = e[this.itemRouteKey], r.onClick = (d) => {
3404
+ d.preventDefault(), this.$router.push(e[this.itemRouteKey]), n();
3405
+ }) : (r.href = e[this.itemRouteKey], r.onClick = n)), o || (r.innerHTML = e._label)) : (this.isSelectable && (e.disabled || (r.tabindex = 0), r.onClick = n, r.onKeydown = a, r.onMousedown = i), o || (r.innerHTML = e._label)), r;
3391
3406
  },
3392
3407
  checkSelection(e) {
3393
3408
  return e = Array.isArray(e) ? e : e ? [e] : [], this.returnObject && (e = e.map(this.getItemValue)), e;
@@ -3396,7 +3411,7 @@ const zl = {
3396
3411
  const e = this.selectedItems.map((l) => {
3397
3412
  if (!this.returnObject)
3398
3413
  return l._value;
3399
- const { _value: a, _selected: r, ...i } = l;
3414
+ const { _value: o, _selected: n, ...i } = l;
3400
3415
  return i;
3401
3416
  }), t = this.isMultipleSelect ? e : e[0] !== void 0 ? e[0] : null;
3402
3417
  this.$emit("update:modelValue", t), this.$emit("input", t);
@@ -3407,8 +3422,8 @@ const zl = {
3407
3422
  e === void 0 && (e = this.enabledItemsIndexes[l]), this.$el.querySelector(`#${this.listId}_item-${e + 1}`).focus();
3408
3423
  },
3409
3424
  cleanLi(e) {
3410
- const { _index: t, _value: l, _label: a, _selected: r, _focused: i, ...o } = e;
3411
- return o;
3425
+ const { _index: t, _value: l, _label: o, _selected: n, _focused: i, ...a } = e;
3426
+ return a;
3412
3427
  },
3413
3428
  refreshListItems() {
3414
3429
  const e = typeof this.items == "number" ? Array(this.items).fill({}) : this.items || [];
@@ -3423,7 +3438,7 @@ const zl = {
3423
3438
  },
3424
3439
  applySelectionOnItems(e) {
3425
3440
  this.isMultipleSelect || this.listItems.forEach((t) => t._selected = !1), this.checkSelection(e).forEach((t) => {
3426
- const l = this.listItems.find((a) => a._value === t);
3441
+ const l = this.listItems.find((o) => o._value === t);
3427
3442
  l && (l._selected = !0);
3428
3443
  });
3429
3444
  }
@@ -3447,7 +3462,7 @@ const zl = {
3447
3462
  }
3448
3463
  }
3449
3464
  }
3450
- }, Ml = /* @__PURE__ */ v(zl, [["render", Ol]]), we = {
3465
+ }, Ml = /* @__PURE__ */ v(zl, [["render", Pl]]), we = {
3451
3466
  props: {
3452
3467
  appendTo: { type: [String, Boolean, Object] },
3453
3468
  fixed: { type: Boolean },
@@ -3474,7 +3489,7 @@ const zl = {
3474
3489
  let e = ".w-app";
3475
3490
  typeof this.detachableDefaultRoot == "function" && (e = this.detachableDefaultRoot() || e);
3476
3491
  let t = this.appendTo || e;
3477
- return t === !0 ? t = e : this.appendTo === "activator" ? t = this.$el.previousElementSibling : t && !["object", "string"].includes(typeof t) ? t = e : typeof t == "object" && !t.nodeType && (t = e, G(`Invalid node provided in ${this.$options.name} \`append-to\`. Falling back to .w-app.`)), typeof t == "string" && (t = document.querySelector(t)), t || (G(`Unable to locate ${this.appendTo ? `target ${this.appendTo}` : e}`), t = document.querySelector(e)), t;
3492
+ return t === !0 ? t = e : this.appendTo === "activator" ? t = this.$el.previousElementSibling : t && !["object", "string"].includes(typeof t) ? t = e : typeof t == "object" && !t.nodeType && (t = e, U(`Invalid node provided in ${this.$options.name} \`append-to\`. Falling back to .w-app.`)), typeof t == "string" && (t = document.querySelector(t)), t || (U(`Unable to locate ${this.appendTo ? `target ${this.appendTo}` : e}`), t = document.querySelector(e)), t;
3478
3493
  },
3479
3494
  detachableParentEl() {
3480
3495
  return this.appendToTarget;
@@ -3512,39 +3527,39 @@ const zl = {
3512
3527
  }, 0), this.persistent || document.addEventListener("mousedown", this.onOutsideMousedown), this.noPosition || window.addEventListener("resize", this.onResize);
3513
3528
  },
3514
3529
  getActivatorCoordinates() {
3515
- const { top: e, left: t, width: l, height: a } = this.activatorEl.getBoundingClientRect();
3516
- let r = { top: e, left: t, width: l, height: a };
3530
+ const { top: e, left: t, width: l, height: o } = this.activatorEl.getBoundingClientRect();
3531
+ let n = { top: e, left: t, width: l, height: o };
3517
3532
  if (!this.fixed) {
3518
- const { top: i, left: o } = this.detachableParentEl.getBoundingClientRect(), n = window.getComputedStyle(this.detachableParentEl, null);
3519
- r = {
3520
- ...r,
3521
- top: e - i + this.detachableParentEl.scrollTop - parseInt(n.getPropertyValue("border-top-width")),
3522
- left: t - o + this.detachableParentEl.scrollLeft - parseInt(n.getPropertyValue("border-left-width"))
3533
+ const { top: i, left: a } = this.detachableParentEl.getBoundingClientRect(), r = window.getComputedStyle(this.detachableParentEl, null);
3534
+ n = {
3535
+ ...n,
3536
+ top: e - i + this.detachableParentEl.scrollTop - parseInt(r.getPropertyValue("border-top-width")),
3537
+ left: t - a + this.detachableParentEl.scrollLeft - parseInt(r.getPropertyValue("border-left-width"))
3523
3538
  };
3524
3539
  }
3525
- return r;
3540
+ return n;
3526
3541
  },
3527
3542
  computeDetachableCoords() {
3528
- let { top: e, left: t, width: l, height: a } = this.getActivatorCoordinates();
3543
+ let { top: e, left: t, width: l, height: o } = this.getActivatorCoordinates();
3529
3544
  if (!this.detachableEl)
3530
3545
  return;
3531
3546
  this.detachableEl.style.visibility = "hidden", this.detachableEl.style.display = "flex";
3532
- const r = window.getComputedStyle(this.detachableEl, null);
3547
+ const n = window.getComputedStyle(this.detachableEl, null);
3533
3548
  switch (this.position) {
3534
3549
  case "top": {
3535
- e -= this.detachableEl.offsetHeight, this.alignRight ? t += l - this.detachableEl.offsetWidth + parseInt(r.getPropertyValue("border-right-width")) : this.alignLeft || (t += (l - this.detachableEl.offsetWidth) / 2);
3550
+ e -= this.detachableEl.offsetHeight, this.alignRight ? t += l - this.detachableEl.offsetWidth + parseInt(n.getPropertyValue("border-right-width")) : this.alignLeft || (t += (l - this.detachableEl.offsetWidth) / 2);
3536
3551
  break;
3537
3552
  }
3538
3553
  case "bottom": {
3539
- e += a, this.alignRight ? t += l - this.detachableEl.offsetWidth + parseInt(r.getPropertyValue("border-right-width")) : this.alignLeft || (t += (l - this.detachableEl.offsetWidth) / 2);
3554
+ e += o, this.alignRight ? t += l - this.detachableEl.offsetWidth + parseInt(n.getPropertyValue("border-right-width")) : this.alignLeft || (t += (l - this.detachableEl.offsetWidth) / 2);
3540
3555
  break;
3541
3556
  }
3542
3557
  case "left": {
3543
- t -= this.detachableEl.offsetWidth, this.alignBottom ? e += a - this.detachableEl.offsetHeight : this.alignTop || (e += (a - this.detachableEl.offsetHeight) / 2);
3558
+ t -= this.detachableEl.offsetWidth, this.alignBottom ? e += o - this.detachableEl.offsetHeight : this.alignTop || (e += (o - this.detachableEl.offsetHeight) / 2);
3544
3559
  break;
3545
3560
  }
3546
3561
  case "right": {
3547
- t += l, this.alignBottom ? e += a - this.detachableEl.offsetHeight + parseInt(r.getPropertyValue("margin-top")) : this.alignTop || (e += (a - this.detachableEl.offsetHeight) / 2 + parseInt(r.getPropertyValue("margin-top")));
3562
+ t += l, this.alignBottom ? e += o - this.detachableEl.offsetHeight + parseInt(n.getPropertyValue("margin-top")) : this.alignTop || (e += (o - this.detachableEl.offsetHeight) / 2 + parseInt(n.getPropertyValue("margin-top")));
3548
3563
  break;
3549
3564
  }
3550
3565
  }
@@ -3571,19 +3586,19 @@ const zl = {
3571
3586
  const e = typeof this.activator == "string";
3572
3587
  Object.entries(this.activatorEventHandlers).forEach(([t, l]) => {
3573
3588
  t = t.replace("mouseenter", "mouseover").replace("mouseleave", "mouseout");
3574
- const a = (r) => {
3589
+ const o = (n) => {
3575
3590
  var i;
3576
- (e && ((i = r.target) == null ? void 0 : i.matches) && r.target.matches(this.activator) || r.target === this.activatorEl || this.activatorEl.contains(r.target)) && l(r);
3591
+ (e && ((i = n.target) == null ? void 0 : i.matches) && n.target.matches(this.activator) || n.target === this.activatorEl || this.activatorEl.contains(n.target)) && l(n);
3577
3592
  };
3578
- document.addEventListener(t, a), this.docEventListenersHandlers.push({ eventName: t, handler: a });
3593
+ document.addEventListener(t, o), this.docEventListenersHandlers.push({ eventName: t, handler: o });
3579
3594
  });
3580
3595
  }
3581
3596
  },
3582
3597
  mounted() {
3583
3598
  var e;
3584
3599
  this.activator ? this.bindActivatorEvents() : this.$nextTick(() => {
3585
- this.activator && this.bindActivatorEvents(), this.modelValue && this.toggle({ type: "click", target: this.activatorEl });
3586
- }), this.overlay && (this.overlayEl = (e = this.$refs.overlay) == null ? void 0 : e.$el), this.modelValue && this.activator && this.toggle({ type: "click", target: this.activatorEl });
3600
+ this.activator && this.bindActivatorEvents(), this.modelValue && this.open({ target: this.activatorEl });
3601
+ }), this.overlay && (this.overlayEl = (e = this.$refs.overlay) == null ? void 0 : e.$el), this.modelValue && this.activator ? this.toggle({ type: this.showOnClick ? "click" : "mouseenter", target: this.activatorEl }) : this.modelValue && this.open({ target: this.activatorEl });
3587
3602
  },
3588
3603
  unmounted() {
3589
3604
  this.close(), this.removeFromDOM(), this.docEventListenersHandlers.length && this.docEventListenersHandlers.forEach(({ eventName: e, handler: t }) => {
@@ -3592,18 +3607,18 @@ const zl = {
3592
3607
  },
3593
3608
  watch: {
3594
3609
  modelValue(e) {
3595
- !!e !== this.detachableVisible && this.toggle({ type: "click", target: this.activatorEl });
3610
+ !!e !== this.detachableVisible && this.toggle({ type: this.showOnClick ? "click" : "mouseenter", target: this.activatorEl });
3596
3611
  },
3597
3612
  appendTo() {
3598
3613
  this.removeFromDOM(), this.insertInDOM();
3599
3614
  }
3600
3615
  }
3601
3616
  };
3602
- function El(e, t, l, a, r, i) {
3603
- const o = $("w-card"), n = $("w-overlay");
3617
+ function El(e, t, l, o, n, i) {
3618
+ const a = $("w-card"), r = $("w-overlay");
3604
3619
  return s(), u(k, null, [
3605
3620
  p(e.$slots, "activator", { on: i.activatorEventHandlers }),
3606
- I(P, {
3621
+ I(O, {
3607
3622
  name: i.transitionName,
3608
3623
  appear: ""
3609
3624
  }, {
@@ -3620,7 +3635,7 @@ function El(e, t, l, a, r, i) {
3620
3635
  style: i.styles
3621
3636
  }), [
3622
3637
  p(e.$slots, "default")
3623
- ], 16)) : e.detachableVisible ? (s(), m(o, C({
3638
+ ], 16)) : e.detachableVisible ? (s(), m(a, C({
3624
3639
  key: 1,
3625
3640
  class: "w-menu",
3626
3641
  ref: "detachable"
@@ -3659,7 +3674,7 @@ function El(e, t, l, a, r, i) {
3659
3674
  ]),
3660
3675
  _: 3
3661
3676
  }, 8, ["name"]),
3662
- l.overlay ? (s(), m(n, C({
3677
+ l.overlay ? (s(), m(r, C({
3663
3678
  key: 0,
3664
3679
  ref: "overlay",
3665
3680
  "model-value": e.detachableVisible,
@@ -3766,7 +3781,7 @@ const Wl = {
3766
3781
  top: this.detachableCoords.top && `${~~this.detachableCoords.top}px` || null,
3767
3782
  left: this.detachableCoords.left && `${~~this.detachableCoords.left}px` || null,
3768
3783
  minWidth: this.minWidth && this.menuMinWidth || null,
3769
- "--w-menu-bg-color": this.arrow && this.$waveui.colors[this.bgColor || "white"]
3784
+ "--w-menu-bg-color": this.arrow && (this.$waveui.colors[this.bgColor] || "rgb(var(--w-base-bg-color-rgb))")
3770
3785
  };
3771
3786
  },
3772
3787
  activatorEventHandlers() {
@@ -3795,21 +3810,21 @@ const Wl = {
3795
3810
  }
3796
3811
  }
3797
3812
  }, Al = /* @__PURE__ */ v(Wl, [["render", El]]);
3798
- function Nl(e, t, l, a, r, i) {
3799
- const o = $("w-alert");
3800
- return s(), m(P, {
3813
+ function Nl(e, t, l, o, n, i) {
3814
+ const a = $("w-alert");
3815
+ return s(), m(O, {
3801
3816
  name: i.transitionName,
3802
3817
  appear: ""
3803
3818
  }, {
3804
3819
  default: g(() => [
3805
- r.show ? (s(), u("div", {
3820
+ n.show ? (s(), u("div", {
3806
3821
  key: 0,
3807
3822
  class: f(["w-notification", i.classes]),
3808
3823
  style: T(i.styles)
3809
3824
  }, [
3810
- I(o, C(i.alertProps, {
3825
+ I(a, C(i.alertProps, {
3811
3826
  class: i.alertClasses,
3812
- "onUpdate:modelValue": t[0] || (t[0] = (n) => {
3827
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => {
3813
3828
  e.$emit("update:modelValue", !1), e.$emit("input", !1);
3814
3829
  })
3815
3830
  }), {
@@ -3944,9 +3959,9 @@ const Kl = {
3944
3959
  }
3945
3960
  }
3946
3961
  }, Hl = /* @__PURE__ */ v(Kl, [["render", Nl]]);
3947
- function Dl(e, t, l, a, r, i) {
3948
- const o = me("focus");
3949
- return s(), m(P, {
3962
+ function Dl(e, t, l, o, n, i) {
3963
+ const a = me("focus");
3964
+ return s(), m(O, {
3950
3965
  name: "fade",
3951
3966
  appear: "",
3952
3967
  onAfterLeave: i.onClose
@@ -3957,14 +3972,14 @@ function Dl(e, t, l, a, r, i) {
3957
3972
  class: f(["w-overlay", i.classes]),
3958
3973
  ref: "overlay",
3959
3974
  style: T(l.modelValue && i.styles || null),
3960
- onKeydown: t[0] || (t[0] = E(M((...n) => i.onClick && i.onClick(...n), ["stop"]), ["escape"])),
3961
- onClick: t[1] || (t[1] = (...n) => i.onClick && i.onClick(...n)),
3975
+ onKeydown: t[0] || (t[0] = E(M((...r) => i.onClick && i.onClick(...r), ["stop"]), ["escape"])),
3976
+ onClick: t[1] || (t[1] = (...r) => i.onClick && i.onClick(...r)),
3962
3977
  tabindex: "0"
3963
3978
  }, [
3964
3979
  p(e.$slots, "default")
3965
3980
  ], 38)), [
3966
3981
  [oe, e.showOverlay],
3967
- [o]
3982
+ [a]
3968
3983
  ]) : c("", !0)
3969
3984
  ]),
3970
3985
  _: 3
@@ -4025,7 +4040,7 @@ const Fl = {
4025
4040
  }
4026
4041
  }
4027
4042
  }, jl = /* @__PURE__ */ v(Fl, [["render", Dl]]), Ul = { class: "w-parallax" };
4028
- function ql(e, t, l, a, r, i) {
4043
+ function ql(e, t, l, o, n, i) {
4029
4044
  return s(), u("div", Ul);
4030
4045
  }
4031
4046
  const Xl = {
@@ -4034,7 +4049,7 @@ const Xl = {
4034
4049
  emits: [],
4035
4050
  data: () => ({})
4036
4051
  }, Yl = /* @__PURE__ */ v(Xl, [["render", ql]]), Gl = ["viewBox"], Jl = ["cx", "cy", "r", "stroke-dasharray", "stroke-width"], Ql = ["cx", "cy", "r", "stroke-width", "stroke-linecap", "stroke-dasharray"];
4037
- function Zl(e, t, l, a, r, i) {
4052
+ function Zl(e, t, l, o, n, i) {
4038
4053
  return s(), u("div", {
4039
4054
  class: f(["w-progress", i.classes]),
4040
4055
  style: T(i.styles)
@@ -4074,7 +4089,7 @@ function Zl(e, t, l, a, r, i) {
4074
4089
  class: f(["w-progress__label", l.labelColor || !1])
4075
4090
  }, [
4076
4091
  p(e.$slots, "default", {}, () => [
4077
- S(_(Math.round(i.progressValue)) + _(l.circle ? "" : "%"), 1)
4092
+ B(_(Math.round(i.progressValue)) + _(l.circle ? "" : "%"), 1)
4078
4093
  ])
4079
4094
  ], 2)) : c("", !0)
4080
4095
  ], 6);
@@ -4146,11 +4161,11 @@ const J = 40, ei = J / 2, ti = Math.round(J * 3.14 * 100) / 100, li = {
4146
4161
  }
4147
4162
  }
4148
4163
  }, ii = /* @__PURE__ */ v(li, [["render", Zl]]), si = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], ai = ["for"], oi = ["for", "innerHTML"], ni = ["for"], ri = ["for", "innerHTML"];
4149
- function di(e, t, l, a, r, i) {
4164
+ function di(e, t, l, o, n, i) {
4150
4165
  return s(), m(V(e.formRegister && !i.wRadios ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled, readonly: e.isReadonly }, {
4151
4166
  valid: e.valid,
4152
- "onUpdate:valid": t[3] || (t[3] = (o) => e.valid = o),
4153
- onReset: t[4] || (t[4] = (o) => {
4167
+ "onUpdate:valid": t[3] || (t[3] = (a) => e.valid = a),
4168
+ onReset: t[4] || (t[4] = (a) => {
4154
4169
  e.$emit("update:modelValue", e.inputValue = null), e.$emit("input", null);
4155
4170
  }),
4156
4171
  class: i.classes
@@ -4165,8 +4180,8 @@ function di(e, t, l, a, r, i) {
4165
4180
  disabled: e.isDisabled || e.isReadonly || null,
4166
4181
  required: e.required || null,
4167
4182
  tabindex: e.tabindex || null,
4168
- onFocus: t[0] || (t[0] = (o) => e.$emit("focus", o)),
4169
- onChange: t[1] || (t[1] = (o) => i.onInput(o)),
4183
+ onFocus: t[0] || (t[0] = (a) => e.$emit("focus", a)),
4184
+ onChange: t[1] || (t[1] = (a) => i.onInput(a)),
4170
4185
  "aria-checked": e.inputValue || "false",
4171
4186
  role: "radio"
4172
4187
  }, null, 40, si),
@@ -4177,7 +4192,7 @@ function di(e, t, l, a, r, i) {
4177
4192
  for: `w-radio--${e._.uid}`
4178
4193
  }, [
4179
4194
  p(e.$slots, "default", {}, () => [
4180
- S(_(l.label), 1)
4195
+ B(_(l.label), 1)
4181
4196
  ])
4182
4197
  ], 10, ai)) : l.label ? (s(), u("label", {
4183
4198
  key: 1,
@@ -4188,7 +4203,7 @@ function di(e, t, l, a, r, i) {
4188
4203
  ], 64)) : c("", !0),
4189
4204
  w("div", {
4190
4205
  class: f(["w-radio__input", this.color]),
4191
- onClick: t[2] || (t[2] = (o) => {
4206
+ onClick: t[2] || (t[2] = (a) => {
4192
4207
  e.$refs.input.focus(), e.$refs.input.click();
4193
4208
  })
4194
4209
  }, null, 2),
@@ -4199,7 +4214,7 @@ function di(e, t, l, a, r, i) {
4199
4214
  for: `w-radio--${e._.uid}`
4200
4215
  }, [
4201
4216
  p(e.$slots, "default", {}, () => [
4202
- S(_(l.label), 1)
4217
+ B(_(l.label), 1)
4203
4218
  ])
4204
4219
  ], 10, ni)) : l.label ? (s(), u("label", {
4205
4220
  key: 1,
@@ -4273,12 +4288,12 @@ const ui = {
4273
4288
  }
4274
4289
  }
4275
4290
  }, hi = /* @__PURE__ */ v(ui, [["render", di]]), ci = ["innerHTML"];
4276
- function pi(e, t, l, a, r, i) {
4277
- const o = $("w-radio");
4291
+ function pi(e, t, l, o, n, i) {
4292
+ const a = $("w-radio");
4278
4293
  return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
4279
4294
  valid: e.valid,
4280
- "onUpdate:valid": t[1] || (t[1] = (n) => e.valid = n),
4281
- onReset: t[2] || (t[2] = (n) => {
4295
+ "onUpdate:valid": t[1] || (t[1] = (r) => e.valid = r),
4296
+ onReset: t[2] || (t[2] = (r) => {
4282
4297
  e.$emit("update:modelValue", e.inputValue = null), e.$emit("input", null);
4283
4298
  }),
4284
4299
  column: !l.inline,
@@ -4286,13 +4301,13 @@ function pi(e, t, l, a, r, i) {
4286
4301
  class: i.classes
4287
4302
  }), {
4288
4303
  default: g(() => [
4289
- (s(!0), u(k, null, L(i.radioItems, (n, d) => (s(), m(o, C({
4304
+ (s(!0), u(k, null, L(i.radioItems, (r, d) => (s(), m(a, C({
4290
4305
  key: d,
4291
- "model-value": n.value === l.modelValue,
4292
- "onUpdate:modelValue": (h) => i.onInput(n),
4306
+ "model-value": r.value === l.modelValue,
4307
+ "onUpdate:modelValue": (h) => i.onInput(r),
4293
4308
  onFocus: t[0] || (t[0] = (h) => e.$emit("focus", h)),
4294
4309
  name: e.inputName
4295
- }, { label: n.label, color: n.color, labelOnLeft: l.labelOnLeft, labelColor: l.labelColor }, {
4310
+ }, { label: r.label, color: r.color, labelOnLeft: l.labelOnLeft, labelColor: l.labelColor }, {
4296
4311
  disabled: e.isDisabled || null,
4297
4312
  readonly: e.isReadonly || null,
4298
4313
  class: { mt1: !l.inline && d }
@@ -4300,13 +4315,13 @@ function pi(e, t, l, a, r, i) {
4300
4315
  default: g(() => [
4301
4316
  e.$slots[`item.${d + 1}`] || e.$slots.item ? p(e.$slots, e.$slots[`item.${d + 1}`] ? `item.${d + 1}` : "item", {
4302
4317
  key: 0,
4303
- item: i.getOriginalItem(n),
4318
+ item: i.getOriginalItem(r),
4304
4319
  index: d + 1,
4305
- checked: n.value === l.modelValue,
4306
- innerHTML: n.label
4307
- }) : n.label ? (s(), u("div", {
4320
+ checked: r.value === l.modelValue,
4321
+ innerHTML: r.label
4322
+ }) : r.label ? (s(), u("div", {
4308
4323
  key: 1,
4309
- innerHTML: n.label
4324
+ innerHTML: r.label
4310
4325
  }, null, 8, ci)) : c("", !0)
4311
4326
  ]),
4312
4327
  _: 2
@@ -4362,12 +4377,12 @@ const fi = {
4362
4377
  }
4363
4378
  }
4364
4379
  }, gi = /* @__PURE__ */ v(fi, [["render", pi]]), mi = ["id", "name", "value"], bi = ["disabled", "onMouseenter", "onClick", "tabindex"];
4365
- function yi(e, t, l, a, r, i) {
4366
- return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
4380
+ function yi(e, t, l, o, n, i) {
4381
+ return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
4367
4382
  valid: e.valid,
4368
- "onUpdate:valid": t[4] || (t[4] = (o) => e.valid = o),
4369
- onReset: t[5] || (t[5] = (o) => {
4370
- e.$emit("update:modelValue", r.rating = null), e.$emit("input", null);
4383
+ "onUpdate:valid": t[4] || (t[4] = (a) => e.valid = a),
4384
+ onReset: t[5] || (t[5] = (a) => {
4385
+ e.$emit("update:modelValue", n.rating = null), e.$emit("input", null);
4371
4386
  }),
4372
4387
  class: i.classes
4373
4388
  }), {
@@ -4376,26 +4391,26 @@ function yi(e, t, l, a, r, i) {
4376
4391
  id: e.inputName,
4377
4392
  name: e.inputName,
4378
4393
  type: "hidden",
4379
- value: r.rating
4394
+ value: n.rating
4380
4395
  }, null, 8, mi),
4381
- (s(!0), u(k, null, L(l.max, (o) => (s(), u(k, { key: o }, [
4396
+ (s(!0), u(k, null, L(l.max, (a) => (s(), u(k, { key: a }, [
4382
4397
  e.$slots.item ? p(e.$slots, "item", {
4383
4398
  key: 0,
4384
- index: o + 1
4399
+ index: a + 1
4385
4400
  }) : c("", !0),
4386
4401
  w("button", {
4387
- class: f(["w-rating__button", i.buttonClasses(o)]),
4402
+ class: f(["w-rating__button", i.buttonClasses(a)]),
4388
4403
  disabled: e.isDisabled || e.isReadonly,
4389
- onMouseenter: (n) => r.hover = o,
4390
- onMouseleave: t[0] || (t[0] = (n) => r.hover = 0),
4391
- onClick: (n) => i.onButtonClick(o),
4392
- onFocus: t[1] || (t[1] = (...n) => i.onFocus && i.onFocus(...n)),
4393
- onBlur: t[2] || (t[2] = (...n) => i.onBlur && i.onBlur(...n)),
4394
- onKeydown: t[3] || (t[3] = (...n) => i.onKeydown && i.onKeydown(...n)),
4404
+ onMouseenter: (r) => n.hover = a,
4405
+ onMouseleave: t[0] || (t[0] = (r) => n.hover = 0),
4406
+ onClick: (r) => i.onButtonClick(a),
4407
+ onFocus: t[1] || (t[1] = (...r) => i.onFocus && i.onFocus(...r)),
4408
+ onBlur: t[2] || (t[2] = (...r) => i.onBlur && i.onBlur(...r)),
4409
+ onKeydown: t[3] || (t[3] = (...r) => i.onKeydown && i.onKeydown(...r)),
4395
4410
  type: "button",
4396
- tabindex: o === 1 ? 0 : -1
4411
+ tabindex: a === 1 ? 0 : -1
4397
4412
  }, [
4398
- o - 1 === ~~r.rating && r.rating - ~~r.rating ? (s(), u("i", {
4413
+ a - 1 === ~~n.rating && n.rating - ~~n.rating ? (s(), u("i", {
4399
4414
  key: 0,
4400
4415
  class: f(["w-icon", `${l.icon} ${l.color}`]),
4401
4416
  role: "icon",
@@ -4499,21 +4514,21 @@ const wi = {
4499
4514
  }
4500
4515
  }
4501
4516
  }, vi = /* @__PURE__ */ v(wi, [["render", yi]]);
4502
- function ki(e, t, l, a, r, i) {
4517
+ function ki(e, t, l, o, n, i) {
4503
4518
  return s(), u(k, null, [
4504
4519
  w("div", C({
4505
4520
  class: ["w-scrollable", i.scrollableClasses],
4506
4521
  ref: "scrollable",
4507
- onMouseenter: t[0] || (t[0] = (...o) => i.onMouseEnter && i.onMouseEnter(...o)),
4508
- onMouseleave: t[1] || (t[1] = (...o) => i.onMouseLeave && i.onMouseLeave(...o)),
4509
- onMousewheel: t[2] || (t[2] = (...o) => i.onMouseWheel && i.onMouseWheel(...o))
4522
+ onMouseenter: t[0] || (t[0] = (...a) => i.onMouseEnter && i.onMouseEnter(...a)),
4523
+ onMouseleave: t[1] || (t[1] = (...a) => i.onMouseLeave && i.onMouseLeave(...a)),
4524
+ onMousewheel: t[2] || (t[2] = (...a) => i.onMouseWheel && i.onMouseWheel(...a))
4510
4525
  }, e.$attrs, { style: i.scrollableStyles }), [
4511
4526
  p(e.$slots, "default")
4512
4527
  ], 16),
4513
4528
  w("div", {
4514
4529
  class: f(["w-scrollbar", i.scrollbarClasses]),
4515
4530
  ref: "track",
4516
- onMousedown: t[3] || (t[3] = (...o) => i.onTrackMouseDown && i.onTrackMouseDown(...o))
4531
+ onMousedown: t[3] || (t[3] = (...a) => i.onTrackMouseDown && i.onTrackMouseDown(...a))
4517
4532
  }, [
4518
4533
  w("div", {
4519
4534
  class: "w-scrollbar__thumb",
@@ -4566,8 +4581,8 @@ const _i = {
4566
4581
  }),
4567
4582
  computed: {
4568
4583
  isHorizontal() {
4569
- var e, t, l, a;
4570
- return this.mounted ? (console.log("\u{1F482}\u200D\u2642\uFE0F", (e = this.$refs.scrollable) == null ? void 0 : e.scrollWidth, (t = this.$refs.scrollable) == null ? void 0 : t.offsetWidth), this.width && !this.height || ((l = this.$refs.scrollable) == null ? void 0 : l.scrollWidth) > ((a = this.$refs.scrollable) == null ? void 0 : a.offsetWidth)) : !1;
4584
+ var e, t, l, o;
4585
+ return this.mounted ? (console.log("\u{1F482}\u200D\u2642\uFE0F", (e = this.$refs.scrollable) == null ? void 0 : e.scrollWidth, (t = this.$refs.scrollable) == null ? void 0 : t.offsetWidth), this.width && !this.height || ((l = this.$refs.scrollable) == null ? void 0 : l.scrollWidth) > ((o = this.$refs.scrollable) == null ? void 0 : o.offsetWidth)) : !1;
4571
4586
  },
4572
4587
  m() {
4573
4588
  return _i[this.isHorizontal ? "h" : "v"];
@@ -4603,8 +4618,8 @@ const _i = {
4603
4618
  onTrackMouseDown(e) {
4604
4619
  if (this.isDisabled || this.isReadonly || "ontouchstart" in window && e.type === "mousedown")
4605
4620
  return;
4606
- const { top: t, left: l, width: a, height: r } = this.$refs.track.getBoundingClientRect();
4607
- this.isHorizontal ? (this.$refs.track.width = a, this.$refs.track.left = l) : (this.$refs.track.height = r, this.$refs.track.top = t), this.dragging = !0, this.computeScroll(e.type === "touchstart" ? e.touches[0][this.m.clientXorY] : e[this.m.clientXorY]), this.scroll(), document.addEventListener(e.type === "touchstart" ? "touchmove" : "mousemove", this.onDrag), document.addEventListener(e.type === "touchstart" ? "touchend" : "mouseup", this.onMouseUp, { once: !0 });
4621
+ const { top: t, left: l, width: o, height: n } = this.$refs.track.getBoundingClientRect();
4622
+ this.isHorizontal ? (this.$refs.track.width = o, this.$refs.track.left = l) : (this.$refs.track.height = n, this.$refs.track.top = t), this.dragging = !0, this.computeScroll(e.type === "touchstart" ? e.touches[0][this.m.clientXorY] : e[this.m.clientXorY]), this.scroll(), document.addEventListener(e.type === "touchstart" ? "touchmove" : "mousemove", this.onDrag), document.addEventListener(e.type === "touchstart" ? "touchend" : "mouseup", this.onMouseUp, { once: !0 });
4608
4623
  },
4609
4624
  onDrag(e) {
4610
4625
  this.computeScroll(e.type === "touchmove" ? e.touches[0][this.m.clientXorY] : e[this.m.clientXorY]), this.scroll();
@@ -4622,8 +4637,8 @@ const _i = {
4622
4637
  !this.scrollable.hovered || this.scrollValuePercent <= 0 && e[this.m.deltaXorY] < 0 || this.scrollValuePercent >= 100 - this.thumbSizePercent && e[this.m.deltaXorY] > 0 || (e.preventDefault(), this.scrollValuePercent += e[this.m.deltaXorY] * 0.05, this.scrollValuePercent = Math.max(0, Math.min(this.scrollValuePercent, 100)), this.scroll());
4623
4638
  },
4624
4639
  computeScroll(e) {
4625
- const { top: t, left: l, width: a, height: r } = this.$refs.scrollable.getBoundingClientRect(), i = this.isHorizontal ? l : t, o = this.isHorizontal ? a : r;
4626
- this.scrollValuePercent = Math.max(0, Math.min((e - i) / o * 100, 100));
4640
+ const { top: t, left: l, width: o, height: n } = this.$refs.scrollable.getBoundingClientRect(), i = this.isHorizontal ? l : t, a = this.isHorizontal ? o : n;
4641
+ this.scrollValuePercent = Math.max(0, Math.min((e - i) / a * 100, 100));
4627
4642
  },
4628
4643
  scroll() {
4629
4644
  var e;
@@ -4638,12 +4653,12 @@ const _i = {
4638
4653
  const { top: e, left: t } = this.$refs.scrollable.getBoundingClientRect();
4639
4654
  this.scrollable.top = e, this.scrollable.left = t, this.$el.parentNode.style.position = "relative", this.$el.parentNode.style[this.m.maxWidthOrHeight] = `${this[this.m.widthOrHeight]}px`;
4640
4655
  }
4641
- }, Si = /* @__PURE__ */ v(Ci, [["render", ki]]), Bi = ["for"], $i = ["aria-expanded", "aria-owns", "aria-activedescendant"], Vi = {
4656
+ }, Bi = /* @__PURE__ */ v(Ci, [["render", ki]]), Si = ["for"], $i = ["aria-expanded", "aria-owns", "aria-activedescendant"], Vi = {
4642
4657
  key: 1,
4643
4658
  class: "w-select__selection-slot"
4644
4659
  }, Ii = ["contenteditable", "id", "disabled", "tabindex", "innerHTML"], Ri = ["value", "name"], Ti = ["for"], Li = ["for"];
4645
- function xi(e, t, l, a, r, i) {
4646
- const o = $("w-icon"), n = $("w-list"), d = $("w-menu");
4660
+ function xi(e, t, l, o, n, i) {
4661
+ const a = $("w-icon"), r = $("w-list"), d = $("w-menu");
4647
4662
  return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.selectionString, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: e.isFocused }, {
4648
4663
  valid: e.valid,
4649
4664
  "onUpdate:valid": t[11] || (t[11] = (h) => e.valid = h),
@@ -4659,9 +4674,9 @@ function xi(e, t, l, a, r, i) {
4659
4674
  for: `w-select--${e._.uid}`
4660
4675
  }, [
4661
4676
  p(e.$slots, "default", {}, () => [
4662
- S(_(l.label), 1)
4677
+ B(_(l.label), 1)
4663
4678
  ])
4664
- ], 10, Bi)) : c("", !0)
4679
+ ], 10, Si)) : c("", !0)
4665
4680
  ], 64)) : c("", !0),
4666
4681
  I(d, C({
4667
4682
  modelValue: e.showMenu,
@@ -4684,14 +4699,14 @@ function xi(e, t, l, a, r, i) {
4684
4699
  "aria-owns": `w-select-menu--${e._.uid}`,
4685
4700
  "aria-activedescendant": `w-select-menu--${e._.uid}_item-1`
4686
4701
  }, [
4687
- l.innerIconLeft ? (s(), m(o, {
4702
+ l.innerIconLeft ? (s(), m(a, {
4688
4703
  key: 0,
4689
4704
  class: "w-select__icon w-select__icon--inner-left",
4690
4705
  tag: "label",
4691
4706
  onClick: t[0] || (t[0] = (y) => e.$emit("click:inner-icon-left", y))
4692
4707
  }, {
4693
4708
  default: g(() => [
4694
- S(_(l.innerIconLeft), 1)
4709
+ B(_(l.innerIconLeft), 1)
4695
4710
  ]),
4696
4711
  _: 1
4697
4712
  })) : c("", !0),
@@ -4714,8 +4729,8 @@ function xi(e, t, l, a, r, i) {
4714
4729
  tabindex: e.tabindex || null,
4715
4730
  innerHTML: e.$slots.selection ? "" : i.selectionString || l.placeholder
4716
4731
  }, null, 42, Ii),
4717
- (s(!0), u(k, null, L(e.inputValue.length ? e.inputValue : [{}], (y, B) => (s(), u("input", {
4718
- key: B,
4732
+ (s(!0), u(k, null, L(e.inputValue.length ? e.inputValue : [{}], (y, S) => (s(), u("input", {
4733
+ key: S,
4719
4734
  type: "hidden",
4720
4735
  value: y.value === void 0 ? "" : y.value.toString(),
4721
4736
  name: e.inputName + (l.multiple ? "[]" : "")
@@ -4727,25 +4742,25 @@ function xi(e, t, l, a, r, i) {
4727
4742
  for: `w-select--${e._.uid}`
4728
4743
  }, [
4729
4744
  p(e.$slots, "default", {}, () => [
4730
- S(_(l.label), 1)
4745
+ B(_(l.label), 1)
4731
4746
  ])
4732
4747
  ], 10, Ti)) : c("", !0)
4733
4748
  ], 64)) : c("", !0),
4734
- l.innerIconRight ? (s(), m(o, {
4749
+ l.innerIconRight ? (s(), m(a, {
4735
4750
  key: 3,
4736
4751
  class: "w-select__icon w-select__icon--inner-right",
4737
4752
  tag: "label",
4738
4753
  onClick: t[4] || (t[4] = (y) => e.$emit("click:inner-icon-right", y))
4739
4754
  }, {
4740
4755
  default: g(() => [
4741
- S(_(l.innerIconRight), 1)
4756
+ B(_(l.innerIconRight), 1)
4742
4757
  ]),
4743
4758
  _: 1
4744
4759
  })) : c("", !0)
4745
4760
  ], 10, $i)
4746
4761
  ]),
4747
4762
  default: g(() => [
4748
- I(n, {
4763
+ I(r, {
4749
4764
  ref: "w-list",
4750
4765
  "model-value": e.inputValue,
4751
4766
  "onUpdate:modelValue": i.onInput,
@@ -4766,21 +4781,21 @@ function xi(e, t, l, a, r, i) {
4766
4781
  }, Z({ _: 2 }, [
4767
4782
  L(l.items.length, (h) => ({
4768
4783
  name: `item.${h}`,
4769
- fn: g(({ item: y, selected: B, index: b }) => [
4770
- e.$slots[`item.${h}`] && e.$slots[`item.${h}`](y, B, b) ? p(e.$slots, `item.${h}`, {
4784
+ fn: g(({ item: y, selected: S, index: b }) => [
4785
+ e.$slots[`item.${h}`] && e.$slots[`item.${h}`](y, S, b) ? p(e.$slots, `item.${h}`, {
4771
4786
  key: 0,
4772
4787
  item: y,
4773
- selected: B,
4788
+ selected: S,
4774
4789
  index: b
4775
4790
  }, () => [
4776
- S(_(y[l.itemLabelKey]), 1)
4791
+ B(_(y[l.itemLabelKey]), 1)
4777
4792
  ]) : p(e.$slots, "item", {
4778
4793
  key: 1,
4779
4794
  item: y,
4780
- selected: B,
4795
+ selected: S,
4781
4796
  index: b
4782
4797
  }, () => [
4783
- S(_(y[l.itemLabelKey]), 1)
4798
+ B(_(y[l.itemLabelKey]), 1)
4784
4799
  ])
4785
4800
  ])
4786
4801
  }))
@@ -4795,7 +4810,7 @@ function xi(e, t, l, a, r, i) {
4795
4810
  for: `w-select--${e._.uid}`
4796
4811
  }, [
4797
4812
  p(e.$slots, "default", {}, () => [
4798
- S(_(l.label), 1)
4813
+ B(_(l.label), 1)
4799
4814
  ])
4800
4815
  ], 10, Li)) : c("", !0)
4801
4816
  ], 64)) : c("", !0)
@@ -4803,7 +4818,7 @@ function xi(e, t, l, a, r, i) {
4803
4818
  _: 3
4804
4819
  }, 16, ["valid", "onReset", "wrap", "class"]);
4805
4820
  }
4806
- const Pi = {
4821
+ const Oi = {
4807
4822
  name: "w-select",
4808
4823
  mixins: [z],
4809
4824
  props: {
@@ -4921,8 +4936,8 @@ const Pi = {
4921
4936
  if (t === void 0)
4922
4937
  t = e.keyCode === 38 ? l.length - 1 : 0;
4923
4938
  else {
4924
- const a = e.keyCode === 38 ? -1 : 1;
4925
- t = (t + l.length + a) % l.length;
4939
+ const o = e.keyCode === 38 ? -1 : 1;
4940
+ t = (t + l.length + o) % l.length;
4926
4941
  }
4927
4942
  this.onInput(l[t]);
4928
4943
  }
@@ -4947,8 +4962,8 @@ const Pi = {
4947
4962
  e = Array.isArray(e) ? e : e !== void 0 ? [e] : [];
4948
4963
  const t = this.selectItems.map((l) => l.value);
4949
4964
  return e.map((l) => {
4950
- let a = l;
4951
- return l && typeof l == "object" && (a = l[this.itemValueKey] !== void 0 ? l[this.itemValueKey] : l[this.itemLabelKey] !== void 0 ? l[this.itemLabelKey] : l), this.selectItems[t.indexOf(a)];
4965
+ let o = l;
4966
+ return l && typeof l == "object" && (o = l[this.itemValueKey] !== void 0 ? l[this.itemValueKey] : l[this.itemLabelKey] !== void 0 ? l[this.itemLabelKey] : l), this.selectItems[t.indexOf(o)];
4952
4967
  }).filter((l) => l !== void 0);
4953
4968
  },
4954
4969
  openMenu() {
@@ -4974,15 +4989,15 @@ const Pi = {
4974
4989
  this.inputValue = this.checkSelection(this.modelValue);
4975
4990
  }
4976
4991
  }
4977
- }, Oi = /* @__PURE__ */ v(Pi, [["render", xi]]), zi = ["for"], Mi = ["for", "innerHTML"], Ei = { class: "w-slider__track-wrap" }, Wi = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], Ai = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], Ni = ["for"], Ki = { key: 0 }, Hi = {
4992
+ }, Pi = /* @__PURE__ */ v(Oi, [["render", xi]]), zi = ["for"], Mi = ["for", "innerHTML"], Ei = { class: "w-slider__track-wrap" }, Wi = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], Ai = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], Ni = ["for"], Ki = { key: 0 }, Hi = {
4978
4993
  key: 0,
4979
4994
  class: "w-slider__step-labels"
4980
4995
  }, Di = ["onClick"], Fi = ["for"], ji = ["for", "innerHTML"];
4981
- function Ui(e, t, l, a, r, i) {
4996
+ function Ui(e, t, l, o, n, i) {
4982
4997
  return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.rangeValueScaled, disabled: e.isDisabled, readonly: e.isReadonly }, {
4983
4998
  valid: e.valid,
4984
- "onUpdate:valid": t[8] || (t[8] = (o) => e.valid = o),
4985
- onReset: t[9] || (t[9] = (o) => {
4999
+ "onUpdate:valid": t[8] || (t[8] = (a) => e.valid = a),
5000
+ onReset: t[9] || (t[9] = (a) => {
4986
5001
  e.rangeValuePercent = 0, i.updateRangeValueScaled();
4987
5002
  }),
4988
5003
  wrap: e.formRegister || null,
@@ -5005,8 +5020,8 @@ function Ui(e, t, l, a, r, i) {
5005
5020
  w("div", {
5006
5021
  class: f(["w-slider__track", i.trackClasses]),
5007
5022
  ref: "track",
5008
- onMousedown: t[4] || (t[4] = (...o) => i.onTrackMouseDown && i.onTrackMouseDown(...o)),
5009
- onTouchstart: t[5] || (t[5] = (...o) => i.onTrackMouseDown && i.onTrackMouseDown(...o)),
5023
+ onMousedown: t[4] || (t[4] = (...a) => i.onTrackMouseDown && i.onTrackMouseDown(...a)),
5024
+ onTouchstart: t[5] || (t[5] = (...a) => i.onTrackMouseDown && i.onTrackMouseDown(...a)),
5010
5025
  role: "slider",
5011
5026
  "aria-label": "Slider",
5012
5027
  "aria-valuemin": i.minVal,
@@ -5034,10 +5049,10 @@ function Ui(e, t, l, a, r, i) {
5034
5049
  "aria-readonly": e.isReadonly ? "true" : "false",
5035
5050
  tabindex: e.isDisabled || e.isReadonly ? -1 : null,
5036
5051
  onKeydown: [
5037
- t[0] || (t[0] = E((o) => i.onKeyDown(o, -1), ["left"])),
5038
- t[1] || (t[1] = E((o) => i.onKeyDown(o, 1), ["right"]))
5052
+ t[0] || (t[0] = E((a) => i.onKeyDown(a, -1), ["left"])),
5053
+ t[1] || (t[1] = E((a) => i.onKeyDown(a, 1), ["right"]))
5039
5054
  ],
5040
- onFocus: t[2] || (t[2] = (o) => e.$emit("focus", o)),
5055
+ onFocus: t[2] || (t[2] = (a) => e.$emit("focus", a)),
5041
5056
  onClick: t[3] || (t[3] = M(() => {
5042
5057
  }, ["prevent"]))
5043
5058
  }, null, 42, Ai),
@@ -5048,13 +5063,13 @@ function Ui(e, t, l, a, r, i) {
5048
5063
  }, [
5049
5064
  l.thumbLabel === "droplet" ? (s(), u("div", Ki, [
5050
5065
  p(e.$slots, "label", { value: e.rangeValueScaled }, () => [
5051
- S(_(~~e.rangeValueScaled), 1)
5066
+ B(_(~~e.rangeValueScaled), 1)
5052
5067
  ])
5053
5068
  ])) : p(e.$slots, "label", {
5054
5069
  key: 1,
5055
5070
  value: e.rangeValueScaled
5056
5071
  }, () => [
5057
- S(_(~~e.rangeValueScaled), 1)
5072
+ B(_(~~e.rangeValueScaled), 1)
5058
5073
  ])
5059
5074
  ], 10, Ni)) : c("", !0)
5060
5075
  ], 4)
@@ -5062,18 +5077,18 @@ function Ui(e, t, l, a, r, i) {
5062
5077
  l.stepLabels && l.step ? (s(), u("div", Hi, [
5063
5078
  w("div", {
5064
5079
  class: "w-slider__step-label",
5065
- onClick: t[6] || (t[6] = (o) => i.onStepLabelClick(0))
5080
+ onClick: t[6] || (t[6] = (a) => i.onStepLabelClick(0))
5066
5081
  }, _(this.minVal), 1),
5067
- (s(!0), u(k, null, L(~~i.numberOfSteps, (o) => (s(), u("div", {
5082
+ (s(!0), u(k, null, L(~~i.numberOfSteps, (a) => (s(), u("div", {
5068
5083
  class: "w-slider__step-label",
5069
- key: o,
5070
- onClick: (n) => i.onStepLabelClick(o * (100 / i.numberOfSteps)),
5071
- style: T(`left: ${o * (100 / i.numberOfSteps)}%`)
5072
- }, _(i.percentToScaled(o * (100 / i.numberOfSteps))), 13, Di))), 128)),
5084
+ key: a,
5085
+ onClick: (r) => i.onStepLabelClick(a * (100 / i.numberOfSteps)),
5086
+ style: T(`left: ${a * (100 / i.numberOfSteps)}%`)
5087
+ }, _(i.percentToScaled(a * (100 / i.numberOfSteps))), 13, Di))), 128)),
5073
5088
  ~~i.numberOfSteps !== i.numberOfSteps ? (s(), u("div", {
5074
5089
  key: 0,
5075
5090
  class: "w-slider__step-label",
5076
- onClick: t[7] || (t[7] = (o) => i.onStepLabelClick(100)),
5091
+ onClick: t[7] || (t[7] = (a) => i.onStepLabelClick(100)),
5077
5092
  style: { left: "100%" }
5078
5093
  }, _(this.maxVal), 1)) : c("", !0)
5079
5094
  ])) : c("", !0)
@@ -5229,7 +5244,7 @@ const qi = {
5229
5244
  }
5230
5245
  }
5231
5246
  }, Xi = /* @__PURE__ */ v(qi, [["render", Ui]]), Yi = { key: 0 };
5232
- function Gi(e, t, l, a, r, i) {
5247
+ function Gi(e, t, l, o, n, i) {
5233
5248
  return l.modelValue || l.modelValue === void 0 ? (s(), u("div", {
5234
5249
  key: 0,
5235
5250
  class: f(["w-spinner", i.classes]),
@@ -5277,7 +5292,7 @@ const Ji = {
5277
5292
  }
5278
5293
  }
5279
5294
  }, Qi = /* @__PURE__ */ v(Ji, [["render", Gi]]);
5280
- function Zi(e, t, l, a, r, i) {
5295
+ function Zi(e, t, l, o, n, i) {
5281
5296
  return s(), u("div", {
5282
5297
  class: f(["w-steps", i.classes])
5283
5298
  }, null, 2);
@@ -5305,13 +5320,13 @@ const es = {
5305
5320
  key: 1,
5306
5321
  class: "w-switch__thumb"
5307
5322
  }, os = ["for"];
5308
- function ns(e, t, l, a, r, i) {
5309
- const o = $("w-progress");
5310
- return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: r.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
5323
+ function ns(e, t, l, o, n, i) {
5324
+ const a = $("w-progress");
5325
+ return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
5311
5326
  valid: e.valid,
5312
- "onUpdate:valid": t[3] || (t[3] = (n) => e.valid = n),
5313
- onReset: t[4] || (t[4] = (n) => {
5314
- e.$emit("update:modelValue", r.isOn = null), e.$emit("input", null);
5327
+ "onUpdate:valid": t[3] || (t[3] = (r) => e.valid = r),
5328
+ onReset: t[4] || (t[4] = (r) => {
5329
+ e.$emit("update:modelValue", n.isOn = null), e.$emit("input", null);
5315
5330
  }),
5316
5331
  class: i.classes
5317
5332
  }), {
@@ -5321,15 +5336,15 @@ function ns(e, t, l, a, r, i) {
5321
5336
  id: `w-switch--${e._.uid}`,
5322
5337
  type: "checkbox",
5323
5338
  name: e.inputName,
5324
- checked: r.isOn,
5339
+ checked: n.isOn,
5325
5340
  disabled: e.isDisabled || e.isReadonly || null,
5326
5341
  readonly: e.isReadonly || null,
5327
5342
  "aria-readonly": e.isReadonly ? "true" : "false",
5328
5343
  required: e.required || null,
5329
5344
  tabindex: e.tabindex || null,
5330
- onChange: t[0] || (t[0] = (n) => i.onInput()),
5331
- onFocus: t[1] || (t[1] = (n) => e.$emit("focus", n)),
5332
- "aria-checked": r.isOn || "false",
5345
+ onChange: t[0] || (t[0] = (r) => i.onInput()),
5346
+ onFocus: t[1] || (t[1] = (r) => e.$emit("focus", r)),
5347
+ "aria-checked": n.isOn || "false",
5333
5348
  role: "switch"
5334
5349
  }, null, 40, ls),
5335
5350
  i.hasLabel && l.labelOnLeft ? (s(), u(k, { key: 0 }, [
@@ -5339,13 +5354,13 @@ function ns(e, t, l, a, r, i) {
5339
5354
  for: `w-switch--${e._.uid}`
5340
5355
  }, [
5341
5356
  p(e.$slots, "default", {}, () => [
5342
- S(_(l.label), 1)
5357
+ B(_(l.label), 1)
5343
5358
  ])
5344
5359
  ], 10, is)) : c("", !0)
5345
5360
  ], 64)) : c("", !0),
5346
5361
  w("div", C({
5347
5362
  class: "w-switch__input",
5348
- onClick: t[2] || (t[2] = (n) => {
5363
+ onClick: t[2] || (t[2] = (r) => {
5349
5364
  e.$refs.input.focus(), e.$refs.input.click();
5350
5365
  })
5351
5366
  }, W(e.$attrs, !0), { class: i.inputClasses }), [
@@ -5353,7 +5368,7 @@ function ns(e, t, l, a, r, i) {
5353
5368
  p(e.$slots, "track")
5354
5369
  ])) : c("", !0),
5355
5370
  e.$slots.thumb || l.loading ? (s(), u("div", as, [
5356
- l.loading ? (s(), m(o, C({
5371
+ l.loading ? (s(), m(a, C({
5357
5372
  key: 0,
5358
5373
  circle: "",
5359
5374
  color: "inherit"
@@ -5367,7 +5382,7 @@ function ns(e, t, l, a, r, i) {
5367
5382
  for: `w-switch--${e._.uid}`
5368
5383
  }, [
5369
5384
  p(e.$slots, "default", {}, () => [
5370
- S(_(l.label), 1)
5385
+ B(_(l.label), 1)
5371
5386
  ])
5372
5387
  ], 10, os)) : c("", !0)
5373
5388
  ], 64)) : c("", !0)
@@ -5441,7 +5456,7 @@ const rs = {
5441
5456
  }
5442
5457
  }
5443
5458
  }, ds = /* @__PURE__ */ v(rs, [["render", ns]]), us = { class: "w-tabs__content" };
5444
- function hs(e, t, l, a, r, i) {
5459
+ function hs(e, t, l, o, n, i) {
5445
5460
  return s(), u("div", us, [
5446
5461
  p(e.$slots, "default", { item: l.item })
5447
5462
  ]);
@@ -5456,8 +5471,8 @@ const cs = {
5456
5471
  key: 0,
5457
5472
  class: "w-tabs__content-wrap"
5458
5473
  }, ys = ["innerHTML"], ws = ["innerHTML"];
5459
- function vs(e, t, l, a, r, i) {
5460
- const o = $("tab-content");
5474
+ function vs(e, t, l, o, n, i) {
5475
+ const a = $("tab-content");
5461
5476
  return s(), u("div", {
5462
5477
  class: f(["w-tabs", i.tabsClasses])
5463
5478
  }, [
@@ -5465,29 +5480,29 @@ function vs(e, t, l, a, r, i) {
5465
5480
  class: f(["w-tabs__bar", i.tabsBarClasses]),
5466
5481
  ref: "tabs-bar"
5467
5482
  }, [
5468
- (s(!0), u(k, null, L(e.tabs, (n, d) => (s(), u("div", {
5469
- class: f(["w-tabs__bar-item", i.barItemClasses(n)]),
5483
+ (s(!0), u(k, null, L(e.tabs, (r, d) => (s(), u("div", {
5484
+ class: f(["w-tabs__bar-item", i.barItemClasses(r)]),
5470
5485
  key: d,
5471
- onClick: (h) => !n._disabled && n._uid !== e.activeTabUid && i.openTab(n._uid),
5472
- onFocus: (h) => e.$emit("focus", i.getOriginalItem(n)),
5473
- tabindex: !n._disabled && 0,
5474
- onKeypress: E((h) => !n._disabled && i.openTab(n._uid), ["enter"]),
5475
- "aria-selected": n._uid === e.activeTabUid ? "true" : "false",
5486
+ onClick: (h) => !r._disabled && r._uid !== e.activeTabUid && i.openTab(r._uid),
5487
+ onFocus: (h) => e.$emit("focus", i.getOriginalItem(r)),
5488
+ tabindex: !r._disabled && 0,
5489
+ onKeypress: E((h) => !r._disabled && i.openTab(r._uid), ["enter"]),
5490
+ "aria-selected": r._uid === e.activeTabUid ? "true" : "false",
5476
5491
  role: "tab"
5477
5492
  }, [
5478
- e.$slots[`item-title.${n.id || d + 1}`] ? p(e.$slots, `item-title.${n.id || d + 1}`, {
5493
+ e.$slots[`item-title.${r.id || d + 1}`] ? p(e.$slots, `item-title.${r.id || d + 1}`, {
5479
5494
  key: 0,
5480
- item: i.getOriginalItem(n),
5495
+ item: i.getOriginalItem(r),
5481
5496
  index: d + 1,
5482
- active: n._uid === e.activeTabUid
5497
+ active: r._uid === e.activeTabUid
5483
5498
  }) : p(e.$slots, "item-title", {
5484
5499
  key: 1,
5485
- item: i.getOriginalItem(n),
5500
+ item: i.getOriginalItem(r),
5486
5501
  index: d + 1,
5487
- active: n._uid === e.activeTabUid
5502
+ active: r._uid === e.activeTabUid
5488
5503
  }, () => [
5489
5504
  w("div", {
5490
- innerHTML: n[l.itemTitleKey]
5505
+ innerHTML: r[l.itemTitleKey]
5491
5506
  }, null, 8, gs)
5492
5507
  ])
5493
5508
  ], 42, fs))), 128)),
@@ -5506,36 +5521,36 @@ function vs(e, t, l, a, r, i) {
5506
5521
  name: i.transitionName
5507
5522
  }, {
5508
5523
  default: g(() => [
5509
- (s(!0), u(k, null, L(e.tabs, (n, d) => N((s(), m(o, {
5510
- key: n._uid,
5511
- item: n,
5524
+ (s(!0), u(k, null, L(e.tabs, (r, d) => N((s(), m(a, {
5525
+ key: r._uid,
5526
+ item: r,
5512
5527
  class: f(l.contentClass)
5513
5528
  }, {
5514
5529
  default: g(() => [
5515
- e.$slots[`item-content.${n._index + 1}`] ? p(e.$slots, `item-content.${n._index + 1}`, {
5530
+ e.$slots[`item-content.${r._index + 1}`] ? p(e.$slots, `item-content.${r._index + 1}`, {
5516
5531
  key: 0,
5517
- item: i.getOriginalItem(n),
5518
- index: n._index + 1,
5519
- active: n._index === i.activeTab._index
5532
+ item: i.getOriginalItem(r),
5533
+ index: r._index + 1,
5534
+ active: r._index === i.activeTab._index
5520
5535
  }) : p(e.$slots, "item-content", {
5521
5536
  key: 1,
5522
- item: i.getOriginalItem(n),
5523
- index: n._index + 1,
5524
- active: n._index === i.activeTab._index
5537
+ item: i.getOriginalItem(r),
5538
+ index: r._index + 1,
5539
+ active: r._index === i.activeTab._index
5525
5540
  }, () => [
5526
- n[l.itemContentKey] ? (s(), u("div", {
5541
+ r[l.itemContentKey] ? (s(), u("div", {
5527
5542
  key: 0,
5528
- innerHTML: n[l.itemContentKey]
5543
+ innerHTML: r[l.itemContentKey]
5529
5544
  }, null, 8, ys)) : c("", !0)
5530
5545
  ])
5531
5546
  ]),
5532
5547
  _: 2
5533
5548
  }, 1032, ["item", "class"])), [
5534
- [oe, n._uid === i.activeTab._uid]
5549
+ [oe, r._uid === i.activeTab._uid]
5535
5550
  ])), 128))
5536
5551
  ]),
5537
5552
  _: 3
5538
- }, 8, ["name"])) : (s(), m(P, {
5553
+ }, 8, ["name"])) : (s(), m(O, {
5539
5554
  key: 1,
5540
5555
  name: i.transitionName,
5541
5556
  mode: i.transitionMode
@@ -5544,27 +5559,27 @@ function vs(e, t, l, a, r, i) {
5544
5559
  (s(), m(Ve, {
5545
5560
  exclude: l.keepAlive ? "" : "tab-content"
5546
5561
  }, [
5547
- (s(), m(o, {
5562
+ (s(), m(a, {
5548
5563
  key: e.activeTabUid,
5549
5564
  item: i.activeTab,
5550
5565
  class: f(l.contentClass)
5551
5566
  }, {
5552
- default: g(({ item: n }) => [
5553
- n ? (s(), u(k, { key: 0 }, [
5554
- e.$slots[`item-content.${n._index + 1}`] ? p(e.$slots, `item-content.${n._index + 1}`, {
5567
+ default: g(({ item: r }) => [
5568
+ r ? (s(), u(k, { key: 0 }, [
5569
+ e.$slots[`item-content.${r._index + 1}`] ? p(e.$slots, `item-content.${r._index + 1}`, {
5555
5570
  key: 0,
5556
- item: i.getOriginalItem(n),
5557
- index: n._index + 1,
5558
- active: n._uid === e.activeTabUid
5571
+ item: i.getOriginalItem(r),
5572
+ index: r._index + 1,
5573
+ active: r._uid === e.activeTabUid
5559
5574
  }) : p(e.$slots, "item-content", {
5560
5575
  key: 1,
5561
- item: i.getOriginalItem(n),
5562
- index: n._index + 1,
5563
- active: n._uid === e.activeTabUid
5576
+ item: i.getOriginalItem(r),
5577
+ index: r._index + 1,
5578
+ active: r._uid === e.activeTabUid
5564
5579
  }, () => [
5565
- n[l.itemContentKey] ? (s(), u("div", {
5580
+ r[l.itemContentKey] ? (s(), u("div", {
5566
5581
  key: 0,
5567
- innerHTML: n[l.itemContentKey]
5582
+ innerHTML: r[l.itemContentKey]
5568
5583
  }, null, 8, ws)) : c("", !0)
5569
5584
  ])
5570
5585
  ], 64)) : c("", !0)
@@ -5661,9 +5676,9 @@ const ks = {
5661
5676
  },
5662
5677
  methods: {
5663
5678
  addTab(e) {
5664
- var t, l, a;
5679
+ var t, l, o;
5665
5680
  (l = (t = e[this.itemIdKey]) != null ? t : e._uid) != null && l || (e._uid = +`${this._.uid}${++fe}`), this.tabs.push({
5666
- _uid: (a = e[this.itemIdKey]) != null ? a : e._uid,
5681
+ _uid: (o = e[this.itemIdKey]) != null ? o : e._uid,
5667
5682
  _index: this.tabs.length,
5668
5683
  ...e,
5669
5684
  _disabled: !!e.disabled
@@ -5672,8 +5687,8 @@ const ks = {
5672
5687
  refreshTabs() {
5673
5688
  let e = this.items;
5674
5689
  typeof e == "number" && (e = Array(e).fill().map((t, l) => this.tabs[l] || {})), this.tabs = e.map((t, l) => {
5675
- var a, r, i;
5676
- return (r = (a = t[this.itemIdKey]) != null ? a : t._uid) != null && r || (t._uid = +`${this._.uid}${++fe}`), {
5690
+ var o, n, i;
5691
+ return (n = (o = t[this.itemIdKey]) != null ? o : t._uid) != null && n || (t._uid = +`${this._.uid}${++fe}`), {
5677
5692
  ...t,
5678
5693
  _uid: (i = t[this.itemIdKey]) != null ? i : t._uid,
5679
5694
  _index: l,
@@ -5682,11 +5697,11 @@ const ks = {
5682
5697
  });
5683
5698
  },
5684
5699
  reopenTheActiveTab() {
5685
- var t, l, a;
5700
+ var t, l, o;
5686
5701
  if (this.tabs.length === 1)
5687
5702
  return this.openTab(this.tabs[0]._uid);
5688
5703
  let e = (t = this.tabsByUid[this.activeTabUid]) == null ? void 0 : t._uid;
5689
- e || (e = (l = this.tabs[this.activeTabIndex]) == null ? void 0 : l._uid), e || (e = (a = this.tabs[Math.max(this.activeTabIndex - 1, this.tabs.length - 1)]) == null ? void 0 : a._uid), e && this.openTab(e);
5704
+ e || (e = (l = this.tabs[this.activeTabIndex]) == null ? void 0 : l._uid), e || (e = (o = this.tabs[Math.max(this.activeTabIndex - 1, this.tabs.length - 1)]) == null ? void 0 : o._uid), e && this.openTab(e);
5690
5705
  },
5691
5706
  onResize() {
5692
5707
  this.updateSlider(!1);
@@ -5712,16 +5727,16 @@ const ks = {
5712
5727
  this.activeTabEl = t && t.querySelector(".w-tabs__bar-item--active");
5713
5728
  }
5714
5729
  if (!this.fillBar && this.activeTabEl) {
5715
- const { left: t, width: l } = this.activeTabEl.getBoundingClientRect(), a = this.activeTabEl.parentNode, { left: r } = a.getBoundingClientRect(), { borderLeftWidth: i } = getComputedStyle(a);
5716
- this.slider.left = `${t - r - parseInt(i) + a.scrollLeft}px`, this.slider.width = `${l}px`;
5730
+ const { left: t, width: l } = this.activeTabEl.getBoundingClientRect(), o = this.activeTabEl.parentNode, { left: n } = o.getBoundingClientRect(), { borderLeftWidth: i } = getComputedStyle(o);
5731
+ this.slider.left = `${t - n - parseInt(i) + o.scrollLeft}px`, this.slider.width = `${l}px`;
5717
5732
  } else
5718
5733
  this.slider.left = `${this.activeTab._index * 100 / this.tabs.length}%`, this.slider.width = `${100 / this.tabs.length}%`;
5719
5734
  },
5720
5735
  updateActiveTab(e) {
5721
5736
  var t, l;
5722
5737
  typeof e == "string" ? e = ~~e : (isNaN(e) || e < 0) && (e = 0), (t = this.tabs[e]) != null && t._uid && (this.openTab((l = this.tabs[e]) == null ? void 0 : l._uid), this.$nextTick(() => {
5723
- const a = this.$refs["tabs-bar"];
5724
- this.activeTabEl = a && a.querySelector(`.w-tabs__bar-item:nth-child(${e + 1})`), this.activeTabEl && this.activeTabEl.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
5738
+ const o = this.$refs["tabs-bar"];
5739
+ this.activeTabEl = o && o.querySelector(`.w-tabs__bar-item:nth-child(${e + 1})`), this.activeTabEl && this.activeTabEl.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
5725
5740
  }));
5726
5741
  },
5727
5742
  getOriginalItem(e) {
@@ -5754,16 +5769,16 @@ const ks = {
5754
5769
  e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
5755
5770
  }
5756
5771
  }
5757
- }, _s = /* @__PURE__ */ v(ks, [["render", vs]]), Cs = { ref: "colgroup" }, Ss = ["width"], Bs = { key: 0 }, $s = ["onClick"], Vs = ["innerHTML"], Is = {
5772
+ }, _s = /* @__PURE__ */ v(ks, [["render", vs]]), Cs = { ref: "colgroup" }, Bs = ["width"], Ss = { key: 0 }, $s = ["onClick"], Vs = ["innerHTML"], Is = {
5758
5773
  key: 0,
5759
5774
  class: "w-table__progress-bar"
5760
5775
  }, Rs = ["colspan"], Ts = {
5761
5776
  key: 0,
5762
5777
  class: "w-table__progress-bar"
5763
- }, Ls = ["colspan"], xs = { class: "w-table__loading-text" }, Ps = {
5778
+ }, Ls = ["colspan"], xs = { class: "w-table__loading-text" }, Os = {
5764
5779
  key: 1,
5765
5780
  class: "no-data"
5766
- }, Os = ["colspan"], zs = ["onClick"], Ms = ["data-label"], Es = ["data-label"], Ws = ["innerHTML"], As = {
5781
+ }, Ps = ["colspan"], zs = ["onClick"], Ms = ["data-label"], Es = ["data-label"], Ws = ["innerHTML"], As = {
5767
5782
  key: 2,
5768
5783
  class: "w-table__row w-table__row--expansion"
5769
5784
  }, Ns = ["colspan"], Ks = { key: 0 }, Hs = {
@@ -5779,8 +5794,8 @@ const ks = {
5779
5794
  key: 2,
5780
5795
  class: "w-table__row w-table__pagination-wrap"
5781
5796
  }, qs = ["colspan"], Xs = { class: "w-table__pagination w-pagination" }, Ys = { class: "pages-wrap" }, Gs = { class: "w-pagination__results" };
5782
- function Js(e, t, l, a, r, i) {
5783
- const o = $("w-icon"), n = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), B = $("w-button");
5797
+ function Js(e, t, l, o, n, i) {
5798
+ const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), S = $("w-button");
5784
5799
  return s(), u("div", {
5785
5800
  class: f(["w-table-wrap", i.wrapClasses])
5786
5801
  }, [
@@ -5795,21 +5810,21 @@ function Js(e, t, l, a, r, i) {
5795
5810
  class: f(["w-table__col", i.colClasses[R]]),
5796
5811
  key: R,
5797
5812
  width: b.width || null
5798
- }, null, 10, Ss))), 128))
5813
+ }, null, 10, Bs))), 128))
5799
5814
  ], 512),
5800
- l.noHeaders ? c("", !0) : (s(), u("thead", Bs, [
5815
+ l.noHeaders ? c("", !0) : (s(), u("thead", Ss, [
5801
5816
  w("tr", null, [
5802
5817
  (s(!0), u(k, null, L(l.headers, (b, R) => (s(), u("th", {
5803
5818
  class: f(["w-table__header", i.headerClasses(b)]),
5804
5819
  key: R,
5805
5820
  onClick: (x) => !e.colResizing.dragging && b.sortable !== !1 && i.sortTable(b)
5806
5821
  }, [
5807
- b.sortable !== !1 && b.align === "right" ? (s(), m(o, {
5822
+ b.sortable !== !1 && b.align === "right" ? (s(), m(a, {
5808
5823
  key: 0,
5809
5824
  class: f(["w-table__header-sort", i.headerSortClasses(b)])
5810
5825
  }, {
5811
5826
  default: g(() => [
5812
- S("wi-arrow-down")
5827
+ B("wi-arrow-down")
5813
5828
  ]),
5814
5829
  _: 2
5815
5830
  }, 1032, ["class"])) : c("", !0),
@@ -5820,18 +5835,18 @@ function Js(e, t, l, a, r, i) {
5820
5835
  label: b.label,
5821
5836
  index: R + 1
5822
5837
  }, () => [
5823
- S(_(b.label || ""), 1)
5838
+ B(_(b.label || ""), 1)
5824
5839
  ]) : (s(), u("span", {
5825
5840
  key: 1,
5826
5841
  innerHTML: b.label || ""
5827
5842
  }, null, 8, Vs))
5828
5843
  ], 64)) : c("", !0),
5829
- b.sortable !== !1 && b.align !== "right" ? (s(), m(o, {
5844
+ b.sortable !== !1 && b.align !== "right" ? (s(), m(a, {
5830
5845
  key: 2,
5831
5846
  class: f(["w-table__header-sort", i.headerSortClasses(b)])
5832
5847
  }, {
5833
5848
  default: g(() => [
5834
- S("wi-arrow-down")
5849
+ B("wi-arrow-down")
5835
5850
  ]),
5836
5851
  _: 2
5837
5852
  }, 1032, ["class"])) : c("", !0),
@@ -5849,7 +5864,7 @@ function Js(e, t, l, a, r, i) {
5849
5864
  w("td", {
5850
5865
  colspan: l.headers.length
5851
5866
  }, [
5852
- I(n, { tile: "" })
5867
+ I(r, { tile: "" })
5853
5868
  ], 8, Rs)
5854
5869
  ])) : c("", !0)
5855
5870
  ]),
@@ -5861,22 +5876,22 @@ function Js(e, t, l, a, r, i) {
5861
5876
  w("td", {
5862
5877
  colspan: l.headers.length
5863
5878
  }, [
5864
- I(n, { tile: "" }),
5879
+ I(r, { tile: "" }),
5865
5880
  w("div", xs, [
5866
5881
  p(e.$slots, "loading", {}, () => [
5867
- S("Loading...")
5882
+ B("Loading...")
5868
5883
  ])
5869
5884
  ])
5870
5885
  ], 8, Ls)
5871
- ])) : i.tableItems.length ? c("", !0) : (s(), u("tr", Ps, [
5886
+ ])) : i.tableItems.length ? c("", !0) : (s(), u("tr", Os, [
5872
5887
  w("td", {
5873
5888
  class: "w-table__cell text-center",
5874
5889
  colspan: l.headers.length
5875
5890
  }, [
5876
5891
  p(e.$slots, "no-data", {}, () => [
5877
- S("No data to show.")
5892
+ B("No data to show.")
5878
5893
  ])
5879
- ], 8, Os)
5894
+ ], 8, Ps)
5880
5895
  ])),
5881
5896
  i.tableItems.length && l.loading !== !0 ? (s(!0), u(k, { key: 2 }, L(i.paginatedItems, (b, R) => (s(), u(k, { key: R }, [
5882
5897
  e.$slots.item ? p(e.$slots, "item", {
@@ -5890,10 +5905,10 @@ function Js(e, t, l, a, r, i) {
5890
5905
  class: f(["w-table__row", { "w-table__row--selected": i.selectedRowsByUid[b._uid] !== void 0, "w-table__row--expanded": i.expandedRowsByUid[b._uid] !== void 0 }]),
5891
5906
  onClick: (x) => i.doSelectRow(b, R)
5892
5907
  }, [
5893
- (s(!0), u(k, null, L(l.headers, (x, O) => (s(), u(k, null, [
5894
- e.$slots[`item-cell.${x.key}`] || e.$slots[`item-cell.${O + 1}`] || e.$slots["item-cell"] ? (s(), u("td", {
5908
+ (s(!0), u(k, null, L(l.headers, (x, P) => (s(), u(k, null, [
5909
+ e.$slots[`item-cell.${x.key}`] || e.$slots[`item-cell.${P + 1}`] || e.$slots["item-cell"] ? (s(), u("td", {
5895
5910
  class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
5896
- key: `${O}-a`,
5911
+ key: `${P}-a`,
5897
5912
  "data-label": x.label
5898
5913
  }, [
5899
5914
  e.$slots[`item-cell.${x.key}`] ? p(e.$slots, `item-cell.${x.key}`, {
@@ -5902,7 +5917,7 @@ function Js(e, t, l, a, r, i) {
5902
5917
  item: b,
5903
5918
  label: b[x.key] || "",
5904
5919
  index: R + 1
5905
- }) : e.$slots[`item-cell.${O + 1}`] ? p(e.$slots, `item-cell.${O + 1}`, {
5920
+ }) : e.$slots[`item-cell.${P + 1}`] ? p(e.$slots, `item-cell.${P + 1}`, {
5906
5921
  key: 1,
5907
5922
  header: x,
5908
5923
  item: b,
@@ -5915,21 +5930,21 @@ function Js(e, t, l, a, r, i) {
5915
5930
  label: b[x.key] || "",
5916
5931
  index: R + 1
5917
5932
  }) : c("", !0),
5918
- O < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
5933
+ P < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
5919
5934
  key: 3,
5920
- class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === O, "w-table__col-resizer--active": e.colResizing.columnIndex === O }])
5935
+ class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === P, "w-table__col-resizer--active": e.colResizing.columnIndex === P }])
5921
5936
  }, null, 2)) : c("", !0)
5922
5937
  ], 10, Ms)) : (s(), u("td", {
5923
5938
  class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
5924
- key: `${O}-b`,
5939
+ key: `${P}-b`,
5925
5940
  "data-label": x.label
5926
5941
  }, [
5927
5942
  w("div", {
5928
5943
  innerHTML: b[x.key] || ""
5929
5944
  }, null, 8, Ws),
5930
- O < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
5945
+ P < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
5931
5946
  key: 0,
5932
- class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === O, "w-table__col-resizer--active": e.colResizing.columnIndex === O }])
5947
+ class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === P, "w-table__col-resizer--active": e.colResizing.columnIndex === P }])
5933
5948
  }, null, 2)) : c("", !0)
5934
5949
  ], 10, Es))
5935
5950
  ], 64))), 256))
@@ -5992,7 +6007,7 @@ function Js(e, t, l, a, r, i) {
5992
6007
  "label-color": "inherit"
5993
6008
  }, null, 8, ["modelValue", "items"])) : c("", !0),
5994
6009
  w("div", Ys, [
5995
- I(B, {
6010
+ I(S, {
5996
6011
  class: "w-pagination__arrow w-pagination__arrow--prev",
5997
6012
  onClick: t[3] || (t[3] = (b) => i.goToPage("-1")),
5998
6013
  disabled: e.paginationConfig.page <= 1,
@@ -6000,7 +6015,7 @@ function Js(e, t, l, a, r, i) {
6000
6015
  text: "",
6001
6016
  lg: ""
6002
6017
  }, null, 8, ["disabled"]),
6003
- (s(!0), u(k, null, L(e.paginationConfig.pagesCount, (b) => (s(), m(B, {
6018
+ (s(!0), u(k, null, L(e.paginationConfig.pagesCount, (b) => (s(), m(S, {
6004
6019
  class: f(["w-pagination__page", { "w-pagination__page--active": b === e.paginationConfig.page }]),
6005
6020
  key: b,
6006
6021
  onClick: (R) => b !== e.paginationConfig.page && i.goToPage(b),
@@ -6008,11 +6023,11 @@ function Js(e, t, l, a, r, i) {
6008
6023
  lg: ""
6009
6024
  }, {
6010
6025
  default: g(() => [
6011
- S(_(b), 1)
6026
+ B(_(b), 1)
6012
6027
  ]),
6013
6028
  _: 2
6014
6029
  }, 1032, ["onClick", "class"]))), 128)),
6015
- I(B, {
6030
+ I(S, {
6016
6031
  class: "w-pagination__arrow w-pagination__arrow--next",
6017
6032
  onClick: t[4] || (t[4] = (b) => i.goToPage("+1")),
6018
6033
  disabled: e.paginationConfig.page >= e.paginationConfig.pagesCount,
@@ -6122,7 +6137,7 @@ const ge = 15, Qs = {
6122
6137
  if (!this.activeSorting.length || this.sortFunction || this.fetch)
6123
6138
  return this.filteredItems;
6124
6139
  const e = this.activeSorting[0].replace(/^[+-]/, ""), t = this.activeSorting[0][0] === "-";
6125
- return [...this.filteredItems].sort((l, a) => (l = l[e], a = a[e], !isNaN(l) && !isNaN(a) && (l = parseFloat(l), a = parseFloat(a)), (l > a ? 1 : -1) * (t ? -1 : 1)));
6140
+ return [...this.filteredItems].sort((l, o) => (l = l[e], o = o[e], !isNaN(l) && !isNaN(o) && (l = parseFloat(l), o = parseFloat(o)), (l > o ? 1 : -1) * (t ? -1 : 1)));
6126
6141
  },
6127
6142
  paginatedItems() {
6128
6143
  return typeof this.fetch == "function" ? this.sortedItems : this.sortedItems.slice(this.paginationConfig.start - 1, this.paginationConfig.end);
@@ -6188,28 +6203,28 @@ const ge = 15, Qs = {
6188
6203
  t && this.activeSortingKeys[e.key] === "-" ? this.activeSorting = [] : this.activeSorting[0] = (t ? "-" : "+") + e.key, this.$emit("update:sort", this.activeSorting), typeof this.sortFunction == "function" ? await this.sortFunction(this.activeSorting) : typeof this.fetch == "function" && await this.callApiFetch();
6189
6204
  },
6190
6205
  doSelectRow(e, t) {
6191
- const l = this.expandableRows === "" ? !0 : this.expandableRows, a = this.selectableRows === "" ? !0 : this.selectableRows;
6206
+ const l = this.expandableRows === "" ? !0 : this.expandableRows, o = this.selectableRows === "" ? !0 : this.selectableRows;
6192
6207
  if (l) {
6193
- const r = this.expandedRowsByUid[e._uid] === void 0;
6194
- r ? this.expandableRows.toString() === "1" ? this.expandedRowsInternal = [e._uid] : this.expandedRowsInternal.push(e._uid) : this.expandedRowsInternal = this.expandedRowsInternal.filter((i) => i !== e._uid), this.$emit(
6208
+ const n = this.expandedRowsByUid[e._uid] === void 0;
6209
+ n ? this.expandableRows.toString() === "1" ? this.expandedRowsInternal = [e._uid] : this.expandedRowsInternal.push(e._uid) : this.expandedRowsInternal = this.expandedRowsInternal.filter((i) => i !== e._uid), this.$emit(
6195
6210
  "row-expand",
6196
6211
  {
6197
6212
  item: e,
6198
6213
  index: t,
6199
- expanded: r,
6214
+ expanded: n,
6200
6215
  expandedRows: this.expandedRowsInternal.map((i) => this.filteredItems[i])
6201
6216
  }
6202
6217
  ), this.$emit("update:expanded-rows", this.expandedRowsInternal);
6203
- } else if (a) {
6204
- let r = !1;
6218
+ } else if (o) {
6219
+ let n = !1;
6205
6220
  const i = this.selectedRowsByUid[e._uid] === void 0;
6206
- i ? (this.selectableRows.toString() === "1" ? this.selectedRowsInternal = [e._uid] : this.selectedRowsInternal.push(e._uid), r = !0) : (!this.forceSelection || this.selectedRowsInternal.length > 1) && (this.selectedRowsInternal = this.selectedRowsInternal.filter((o) => o !== e._uid), r = !0), r && (this.$emit(
6221
+ i ? (this.selectableRows.toString() === "1" ? this.selectedRowsInternal = [e._uid] : this.selectedRowsInternal.push(e._uid), n = !0) : (!this.forceSelection || this.selectedRowsInternal.length > 1) && (this.selectedRowsInternal = this.selectedRowsInternal.filter((a) => a !== e._uid), n = !0), n && (this.$emit(
6207
6222
  "row-select",
6208
6223
  {
6209
6224
  item: e,
6210
6225
  index: t,
6211
6226
  selected: i,
6212
- selectedRows: this.selectedRowsInternal.map((o) => this.filteredItems[o])
6227
+ selectedRows: this.selectedRowsInternal.map((a) => this.filteredItems[a])
6213
6228
  }
6214
6229
  ), this.$emit("update:selected-rows", this.selectedRowsInternal));
6215
6230
  }
@@ -6225,16 +6240,16 @@ const ge = 15, Qs = {
6225
6240
  e.classList.contains("w-table__col-resizer") && (this.colResizing.hover = !1);
6226
6241
  },
6227
6242
  onResizerMouseMove(e) {
6228
- const { startCursorX: t, columnEl: l, nextColumnEl: a, colWidth: r, nextColWidth: i } = this.colResizing;
6243
+ const { startCursorX: t, columnEl: l, nextColumnEl: o, colWidth: n, nextColWidth: i } = this.colResizing;
6229
6244
  this.colResizing.dragging = !0;
6230
- const o = e.pageX - t, n = r + i, d = r + o, h = i - o;
6231
- l.style.width = r + o + "px", a.style.width = i - o + "px";
6232
- const y = o < 0 && l.offsetWidth > d || l.offsetWidth <= ge, B = o > 0 && a.offsetWidth > h;
6245
+ const a = e.pageX - t, r = n + i, d = n + a, h = i - a;
6246
+ l.style.width = n + a + "px", o.style.width = i - a + "px";
6247
+ const y = a < 0 && l.offsetWidth > d || l.offsetWidth <= ge, S = a > 0 && o.offsetWidth > h;
6233
6248
  if (y) {
6234
6249
  const b = Math.max(l.offsetWidth, ge);
6235
- l.style.width = b + "px", a.style.width = n - b + "px";
6250
+ l.style.width = b + "px", o.style.width = r - b + "px";
6236
6251
  } else
6237
- B && (l.style.width = n - a.offsetWidth + "px", a.style.width = a.offsetWidth + "px");
6252
+ S && (l.style.width = r - o.offsetWidth + "px", o.style.width = o.offsetWidth + "px");
6238
6253
  },
6239
6254
  onResizerMouseUp() {
6240
6255
  document.removeEventListener("mousemove", this.onResizerMouseMove), document.removeEventListener("mouseup", this.onResizerMouseUp), setTimeout(() => {
@@ -6246,18 +6261,18 @@ const ge = 15, Qs = {
6246
6261
  }, 0);
6247
6262
  },
6248
6263
  initPagination() {
6249
- var a, r, i;
6250
- const e = (r = (a = this.pagination) == null ? void 0 : a.itemsPerPage) != null ? r : 20, t = ((i = this.pagination) == null ? void 0 : i.itemsPerPageOptions) || [20, 100, { label: "All", value: 0 }];
6251
- t.find((o) => {
6252
- var n;
6253
- return ((n = o == null ? void 0 : o.value) != null ? n : o) === +e;
6254
- }) || t.push(e), this.paginationConfig.itemsPerPageOptions = t.map((o) => {
6255
- var n;
6264
+ var o, n, i;
6265
+ const e = (n = (o = this.pagination) == null ? void 0 : o.itemsPerPage) != null ? n : 20, t = ((i = this.pagination) == null ? void 0 : i.itemsPerPageOptions) || [20, 100, { label: "All", value: 0 }];
6266
+ t.find((a) => {
6267
+ var r;
6268
+ return ((r = a == null ? void 0 : a.value) != null ? r : a) === +e;
6269
+ }) || t.push(e), this.paginationConfig.itemsPerPageOptions = t.map((a) => {
6270
+ var r;
6256
6271
  return {
6257
- label: ["string", "number"].includes(typeof o) ? o.toString() : o.label || o.value,
6258
- value: ["string", "number"].includes(typeof o) ? ~~o : (n = o.value) != null ? n : o.label
6272
+ label: ["string", "number"].includes(typeof a) ? a.toString() : a.label || a.value,
6273
+ value: ["string", "number"].includes(typeof a) ? ~~a : (r = a.value) != null ? r : a.label
6259
6274
  };
6260
- }), this.paginationConfig.itemsPerPageOptions.sort((o, n) => o.value < n.value ? -1 : 1);
6275
+ }), this.paginationConfig.itemsPerPageOptions.sort((a, r) => a.value < r.value ? -1 : 1);
6261
6276
  const l = this.paginationConfig.itemsPerPageOptions.shift();
6262
6277
  this.paginationConfig.itemsPerPageOptions.push(l), this.updatePaginationConfig({
6263
6278
  itemsPerPage: e,
@@ -6274,13 +6289,13 @@ const ge = 15, Qs = {
6274
6289
  this.paginationConfig.page = Math.max(1, this.paginationConfig.page), this.paginationConfig.start = t * (this.paginationConfig.page - 1) + 1, this.paginationConfig.end = this.paginationConfig.start - 1 + (t || l), typeof this.fetch == "function" && await this.callApiFetch();
6275
6290
  },
6276
6291
  async callApiFetch() {
6277
- const { page: e, start: t, end: l, total: a, itemsPerPage: r } = this.paginationConfig;
6292
+ const { page: e, start: t, end: l, total: o, itemsPerPage: n } = this.paginationConfig;
6278
6293
  return await this.fetch({
6279
6294
  page: e,
6280
6295
  start: t,
6281
- end: l || a,
6282
- total: a,
6283
- itemsPerPage: r || a,
6296
+ end: l || o,
6297
+ total: o,
6298
+ itemsPerPage: n || o,
6284
6299
  sorting: this.activeSorting
6285
6300
  });
6286
6301
  }
@@ -6315,12 +6330,12 @@ const ge = 15, Qs = {
6315
6330
  }
6316
6331
  }
6317
6332
  }, Zs = /* @__PURE__ */ v(Qs, [["render", Js]]), ea = ["role", "aria-pressed", "tabindex"];
6318
- function ta(e, t, l, a, r, i) {
6333
+ function ta(e, t, l, o, n, i) {
6319
6334
  return s(), u("span", C({ class: "w-tag" }, W(e.$attrs, !0), {
6320
- onClick: t[1] || (t[1] = (o) => {
6335
+ onClick: t[1] || (t[1] = (a) => {
6321
6336
  e.$emit("update:modelValue", !l.modelValue), e.$emit("input", !l.modelValue);
6322
6337
  }),
6323
- onKeypress: t[2] || (t[2] = E((o) => {
6338
+ onKeypress: t[2] || (t[2] = E((a) => {
6324
6339
  e.$emit("update:modelValue", !l.modelValue), e.$emit("input", !l.modelValue);
6325
6340
  }, ["enter"])),
6326
6341
  class: i.classes,
@@ -6333,7 +6348,7 @@ function ta(e, t, l, a, r, i) {
6333
6348
  l.closable && l.modelValue ? (s(), u("i", {
6334
6349
  key: 0,
6335
6350
  class: "w-icon w-tag__closable wi-cross",
6336
- onClick: t[0] || (t[0] = M((o) => {
6351
+ onClick: t[0] || (t[0] = M((a) => {
6337
6352
  e.$emit("update:modelValue", !1), e.$emit("input", !1);
6338
6353
  }, ["stop"])),
6339
6354
  role: "icon",
@@ -6391,14 +6406,14 @@ const la = {
6391
6406
  }
6392
6407
  }
6393
6408
  }, ia = /* @__PURE__ */ v(la, [["render", ta]]), sa = ["for"], aa = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], oa = ["for"], na = ["for"];
6394
- function ra(e, t, l, a, r, i) {
6395
- const o = $("w-icon");
6396
- return s(), m(V(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 }, {
6409
+ function ra(e, t, l, o, n, i) {
6410
+ const a = $("w-icon");
6411
+ return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
6397
6412
  valid: e.valid,
6398
- "onUpdate:valid": t[6] || (t[6] = (n) => e.valid = n),
6413
+ "onUpdate:valid": t[6] || (t[6] = (r) => e.valid = r),
6399
6414
  wrap: i.hasLabel && l.labelPosition !== "inside",
6400
- onReset: t[7] || (t[7] = (n) => {
6401
- e.$emit("update:modelValue", r.inputValue = ""), e.$emit("input", "");
6415
+ onReset: t[7] || (t[7] = (r) => {
6416
+ e.$emit("update:modelValue", n.inputValue = ""), e.$emit("input", "");
6402
6417
  }),
6403
6418
  class: i.classes
6404
6419
  }), {
@@ -6410,33 +6425,33 @@ function ra(e, t, l, a, r, i) {
6410
6425
  for: `w-textarea--${e._.uid}`
6411
6426
  }, [
6412
6427
  p(e.$slots, "default", {}, () => [
6413
- S(_(l.label), 1)
6428
+ B(_(l.label), 1)
6414
6429
  ])
6415
6430
  ], 10, sa)) : c("", !0)
6416
6431
  ], 64)) : c("", !0),
6417
6432
  w("div", {
6418
6433
  class: f(["w-textarea__textarea-wrap", i.inputWrapClasses])
6419
6434
  }, [
6420
- l.innerIconLeft ? (s(), m(o, {
6435
+ l.innerIconLeft ? (s(), m(a, {
6421
6436
  key: 0,
6422
6437
  class: "w-textarea__icon w-textarea__icon--inner-left",
6423
6438
  tag: "label",
6424
6439
  for: `w-textarea--${e._.uid}`,
6425
- onClick: t[0] || (t[0] = (n) => e.$emit("click:inner-icon-left", n))
6440
+ onClick: t[0] || (t[0] = (r) => e.$emit("click:inner-icon-left", r))
6426
6441
  }, {
6427
6442
  default: g(() => [
6428
- S(_(l.innerIconLeft), 1)
6443
+ B(_(l.innerIconLeft), 1)
6429
6444
  ]),
6430
6445
  _: 1
6431
6446
  }, 8, ["for"])) : c("", !0),
6432
6447
  N(w("textarea", C({
6433
6448
  class: "w-textarea__textarea",
6434
6449
  ref: "textarea",
6435
- "onUpdate:modelValue": t[1] || (t[1] = (n) => r.inputValue = n)
6450
+ "onUpdate:modelValue": t[1] || (t[1] = (r) => n.inputValue = r)
6436
6451
  }, W(i.listeners, !0), {
6437
- onInput: t[2] || (t[2] = (...n) => i.onInput && i.onInput(...n)),
6438
- onFocus: t[3] || (t[3] = (...n) => i.onFocus && i.onFocus(...n)),
6439
- onBlur: t[4] || (t[4] = (...n) => i.onBlur && i.onBlur(...n)),
6452
+ onInput: t[2] || (t[2] = (...r) => i.onInput && i.onInput(...r)),
6453
+ onFocus: t[3] || (t[3] = (...r) => i.onFocus && i.onFocus(...r)),
6454
+ onBlur: t[4] || (t[4] = (...r) => i.onBlur && i.onBlur(...r)),
6440
6455
  id: `w-textarea--${e._.uid}`,
6441
6456
  name: e.inputName,
6442
6457
  placeholder: l.placeholder || null,
@@ -6448,7 +6463,7 @@ function ra(e, t, l, a, r, i) {
6448
6463
  required: e.required || null,
6449
6464
  tabindex: e.tabindex || null
6450
6465
  }), null, 16, aa), [
6451
- [be, r.inputValue]
6466
+ [be, n.inputValue]
6452
6467
  ]),
6453
6468
  l.labelPosition === "inside" && i.showLabelInside ? (s(), u(k, { key: 1 }, [
6454
6469
  e.$slots.default || l.label ? (s(), u("label", {
@@ -6457,19 +6472,19 @@ function ra(e, t, l, a, r, i) {
6457
6472
  for: `w-textarea--${e._.uid}`
6458
6473
  }, [
6459
6474
  p(e.$slots, "default", {}, () => [
6460
- S(_(l.label), 1)
6475
+ B(_(l.label), 1)
6461
6476
  ])
6462
6477
  ], 10, oa)) : c("", !0)
6463
6478
  ], 64)) : c("", !0),
6464
- l.innerIconRight ? (s(), m(o, {
6479
+ l.innerIconRight ? (s(), m(a, {
6465
6480
  key: 2,
6466
6481
  class: "w-textarea__icon w-textarea__icon--inner-right",
6467
6482
  tag: "label",
6468
6483
  for: `w-textarea--${e._.uid}`,
6469
- onClick: t[5] || (t[5] = (n) => e.$emit("click:inner-icon-right", n))
6484
+ onClick: t[5] || (t[5] = (r) => e.$emit("click:inner-icon-right", r))
6470
6485
  }, {
6471
6486
  default: g(() => [
6472
- S(_(l.innerIconRight), 1)
6487
+ B(_(l.innerIconRight), 1)
6473
6488
  ]),
6474
6489
  _: 1
6475
6490
  }, 8, ["for"])) : c("", !0)
@@ -6481,7 +6496,7 @@ function ra(e, t, l, a, r, i) {
6481
6496
  for: `w-textarea--${e._.uid}`
6482
6497
  }, [
6483
6498
  p(e.$slots, "default", {}, () => [
6484
- S(_(l.label), 1)
6499
+ B(_(l.label), 1)
6485
6500
  ])
6486
6501
  ], 10, na)) : c("", !0)
6487
6502
  ], 64)) : c("", !0)
@@ -6525,8 +6540,8 @@ const da = {
6525
6540
  },
6526
6541
  computed: {
6527
6542
  listeners() {
6528
- const { input: e, focus: t, blur: l, ...a } = this.$attrs;
6529
- return a;
6543
+ const { input: e, focus: t, blur: l, ...o } = this.$attrs;
6544
+ return o;
6530
6545
  },
6531
6546
  hasValue() {
6532
6547
  return this.inputValue || this.inputValue === 0;
@@ -6606,38 +6621,38 @@ const da = {
6606
6621
  }
6607
6622
  }
6608
6623
  }, ua = /* @__PURE__ */ v(da, [["render", ra]]), ha = ["innerHTML"], ca = ["innerHTML"];
6609
- function pa(e, t, l, a, r, i) {
6624
+ function pa(e, t, l, o, n, i) {
6610
6625
  return s(), u("ul", {
6611
6626
  class: f(["w-timeline", i.classes])
6612
6627
  }, [
6613
- (s(!0), u(k, null, L(l.items, (o, n) => (s(), u("li", {
6628
+ (s(!0), u(k, null, L(l.items, (a, r) => (s(), u("li", {
6614
6629
  class: "w-timeline-item",
6615
- key: n
6630
+ key: r
6616
6631
  }, [
6617
- (s(), m(V(o[l.itemIconKey] || l.icon ? "w-icon" : "div"), {
6618
- class: f(["w-timeline-item__bullet", { [o[l.itemColorKey] || l.color]: o[l.itemColorKey] || l.color }])
6632
+ (s(), m(V(a[l.itemIconKey] || l.icon ? "w-icon" : "div"), {
6633
+ class: f(["w-timeline-item__bullet", { [a[l.itemColorKey] || l.color]: a[l.itemColorKey] || l.color }])
6619
6634
  }, {
6620
6635
  default: g(() => [
6621
- S(_(o[l.itemIconKey] || l.icon), 1)
6636
+ B(_(a[l.itemIconKey] || l.icon), 1)
6622
6637
  ]),
6623
6638
  _: 2
6624
6639
  }, 1032, ["class"])),
6625
- e.$slots[`item.${n + 1}`] ? p(e.$slots, `item.${n + 1}`, {
6640
+ e.$slots[`item.${r + 1}`] ? p(e.$slots, `item.${r + 1}`, {
6626
6641
  key: 1,
6627
- item: o,
6628
- index: n + 1
6642
+ item: a,
6643
+ index: r + 1
6629
6644
  }) : p(e.$slots, "item", {
6630
6645
  key: 0,
6631
- item: o,
6632
- index: n + 1
6646
+ item: a,
6647
+ index: r + 1
6633
6648
  }, () => [
6634
6649
  w("div", {
6635
- class: f(["w-timeline-item__title", { [o[l.itemColorKey] || l.color]: o[l.itemColorKey] || l.color }]),
6636
- innerHTML: o[l.itemTitleKey]
6650
+ class: f(["w-timeline-item__title", { [a[l.itemColorKey] || l.color]: a[l.itemColorKey] || l.color }]),
6651
+ innerHTML: a[l.itemTitleKey]
6637
6652
  }, null, 10, ha),
6638
6653
  w("div", {
6639
6654
  class: "w-timeline-item__content",
6640
- innerHTML: o[l.itemContentKey]
6655
+ innerHTML: a[l.itemContentKey]
6641
6656
  }, null, 8, ca)
6642
6657
  ])
6643
6658
  ]))), 128))
@@ -6666,7 +6681,7 @@ const fa = {
6666
6681
  }
6667
6682
  }
6668
6683
  }, ga = /* @__PURE__ */ v(fa, [["render", pa]]);
6669
- function ma(e, t, l, a, r, i) {
6684
+ function ma(e, t, l, o, n, i) {
6670
6685
  return s(), u("div", {
6671
6686
  class: f(["w-toolbar", i.classes]),
6672
6687
  style: T(i.styles)
@@ -6724,10 +6739,10 @@ const ba = {
6724
6739
  }
6725
6740
  }
6726
6741
  }, ya = /* @__PURE__ */ v(ba, [["render", ma]]);
6727
- function wa(e, t, l, a, r, i) {
6742
+ function wa(e, t, l, o, n, i) {
6728
6743
  return s(), u(k, null, [
6729
6744
  p(e.$slots, "activator", { on: i.activatorEventHandlers }),
6730
- I(P, {
6745
+ I(O, {
6731
6746
  name: i.transitionName,
6732
6747
  appear: ""
6733
6748
  }, {
@@ -6762,7 +6777,14 @@ const va = {
6762
6777
  persistent: { type: Boolean },
6763
6778
  delay: { type: Number },
6764
6779
  dark: { type: Boolean },
6765
- light: { type: Boolean }
6780
+ light: { type: Boolean },
6781
+ caption: { type: Boolean },
6782
+ xs: { type: Boolean },
6783
+ sm: { type: Boolean },
6784
+ md: { type: Boolean },
6785
+ lg: { type: Boolean },
6786
+ xl: { type: Boolean },
6787
+ enableTouch: { type: Boolean }
6766
6788
  },
6767
6789
  emits: ["input", "update:modelValue", "open", "close"],
6768
6790
  data: () => ({
@@ -6783,6 +6805,9 @@ const va = {
6783
6805
  const e = this.position.replace(/top|bottom/, (t) => ({ top: "up", bottom: "down" })[t]);
6784
6806
  return this.transition || `w-tooltip-slide-fade-${e}`;
6785
6807
  },
6808
+ size() {
6809
+ return this.xs && "xs" || this.sm && "sm" || this.sm && "md" || this.lg && "lg" || this.xl && "xl" || (this.caption ? "sm" : "md");
6810
+ },
6786
6811
  classes() {
6787
6812
  return {
6788
6813
  [this.color]: this.color,
@@ -6794,6 +6819,8 @@ const va = {
6794
6819
  "w-tooltip--light": this.light,
6795
6820
  "w-tooltip--tile": this.tile,
6796
6821
  "w-tooltip--round": this.round,
6822
+ caption: this.caption,
6823
+ [`size--${this.size}`]: !0,
6797
6824
  "w-tooltip--shadow": this.shadow,
6798
6825
  "w-tooltip--fixed": this.fixed,
6799
6826
  "w-tooltip--no-border": this.noBorder || this.bgColor,
@@ -6805,35 +6832,36 @@ const va = {
6805
6832
  zIndex: this.zIndex || this.zIndex === 0 || null,
6806
6833
  top: this.detachableCoords.top && `${~~this.detachableCoords.top}px` || null,
6807
6834
  left: this.detachableCoords.left && `${~~this.detachableCoords.left}px` || null,
6808
- "--w-tooltip-bg-color": this.$waveui.colors[this.bgColor || "white"]
6835
+ "--w-tooltip-bg-color": this.$waveui.colors[this.bgColor] || "rgb(var(--w-base-bg-color-rgb))"
6809
6836
  };
6810
6837
  },
6811
6838
  activatorEventHandlers() {
6812
6839
  let e = {};
6813
- return this.showOnClick ? e = { click: this.toggle } : (e = {
6814
- focus: this.toggle,
6815
- blur: this.toggle,
6816
- mouseenter: (t) => {
6817
- this.hoveringActivator = !0, this.open(t);
6840
+ const t = typeof window < "u" && "ontouchstart" in window;
6841
+ return !this.showOnClick && !t ? e = {
6842
+ focus: this.open,
6843
+ blur: this.close,
6844
+ mouseenter: (l) => {
6845
+ this.hoveringActivator = !0, this.open(l);
6818
6846
  },
6819
- mouseleave: (t) => {
6847
+ mouseleave: (l) => {
6820
6848
  this.hoveringActivator = !1, this.close();
6821
6849
  }
6822
- }, typeof window < "u" && "ontouchstart" in window && (e.click = this.toggle)), e;
6850
+ } : (this.enableTouch || this.showOnClick) && (e = { click: this.toggle }), e;
6823
6851
  }
6824
6852
  },
6825
6853
  methods: {
6826
6854
  toggle(e) {
6827
6855
  let t = this.detachableVisible;
6828
- typeof window < "u" && "ontouchstart" in window ? e.type === "click" && (t = !t) : e.type === "click" && this.showOnClick ? t = !t : ["mouseenter", "focus"].includes(e.type) && !this.showOnClick ? t = !0 : ["mouseleave", "blur"].includes(e.type) && !this.showOnClick && (t = !1), this.timeoutId = clearTimeout(this.timeoutId), t ? this.open(e) : this.close();
6856
+ typeof window < "u" && "ontouchstart" in window ? !this.enableTouch && !this.showOnClick ? t = !1 : t = !t : e.type === "click" && this.showOnClick ? t = !t : ["mouseenter", "focus"].includes(e.type) && !this.showOnClick ? t = !0 : ["mouseleave", "blur"].includes(e.type) && !this.showOnClick && (t = !1), this.timeoutId = clearTimeout(this.timeoutId), t ? this.open(e) : this.close();
6829
6857
  },
6830
6858
  async close(e = !1) {
6831
6859
  !this.detachableVisible || this.showOnHover && !e && (await new Promise((t) => setTimeout(t, 10)), this.showOnHover && this.hoveringActivator) || (this.$emit("update:modelValue", this.detachableVisible = !1), this.$emit("input", !1), this.$emit("close"), document.removeEventListener("mousedown", this.onOutsideMousedown), window.removeEventListener("resize", this.onResize));
6832
6860
  }
6833
6861
  }
6834
6862
  }, ka = /* @__PURE__ */ v(va, [["render", wa]]);
6835
- function _a(e, t, l, a, r, i) {
6836
- return s(), m(P, C({ name: "bounce" }, e.$props), {
6863
+ function _a(e, t, l, o, n, i) {
6864
+ return s(), m(O, C({ name: "bounce" }, e.$props), {
6837
6865
  default: g(() => [
6838
6866
  p(e.$slots, "default")
6839
6867
  ]),
@@ -6846,9 +6874,9 @@ const Ca = {
6846
6874
  appear: { type: Boolean },
6847
6875
  duration: { type: [Number, String] }
6848
6876
  }
6849
- }, Sa = /* @__PURE__ */ v(Ca, [["render", _a]]);
6850
- function Ba(e, t, l, a, r, i) {
6851
- return s(), m(P, {
6877
+ }, Ba = /* @__PURE__ */ v(Ca, [["render", _a]]);
6878
+ function Sa(e, t, l, o, n, i) {
6879
+ return s(), m(O, {
6852
6880
  name: "expand",
6853
6881
  mode: "out-in",
6854
6882
  css: !1,
@@ -6958,9 +6986,9 @@ const $a = {
6958
6986
  this.animX && (this.el.width = e.offsetWidth, this.el.marginLeft = t.getPropertyValue("marginLeft"), this.el.marginRight = t.getPropertyValue("marginRight"), this.el.paddingLeft = t.getPropertyValue("paddingLeft"), this.el.paddingRight = t.getPropertyValue("paddingRight"), this.el.borderLeftWidth = t.getPropertyValue("borderLeftWidth"), this.el.borderRightWidth = t.getPropertyValue("borderRightWidth")), this.animY && (this.el.height = e.offsetHeight, this.el.marginTop = t.getPropertyValue("marginTop"), this.el.marginBottom = t.getPropertyValue("marginBottom"), this.el.paddingTop = t.getPropertyValue("paddingTop"), this.el.paddingBottom = t.getPropertyValue("paddingBottom"), this.el.borderTopWidth = t.getPropertyValue("borderTopWidth"), this.el.borderBottomWidth = t.getPropertyValue("borderBottomWidth")), this.el.savedState = !0;
6959
6987
  }
6960
6988
  }
6961
- }, Va = /* @__PURE__ */ v($a, [["render", Ba]]);
6962
- function Ia(e, t, l, a, r, i) {
6963
- return s(), m(P, C({ name: "fade" }, e.$props), {
6989
+ }, Va = /* @__PURE__ */ v($a, [["render", Sa]]);
6990
+ function Ia(e, t, l, o, n, i) {
6991
+ return s(), m(O, C({ name: "fade" }, e.$props), {
6964
6992
  default: g(() => [
6965
6993
  p(e.$slots, "default")
6966
6994
  ]),
@@ -6974,8 +7002,8 @@ const Ra = {
6974
7002
  duration: { type: [Number, String] }
6975
7003
  }
6976
7004
  }, Ta = /* @__PURE__ */ v(Ra, [["render", Ia]]);
6977
- function La(e, t, l, a, r, i) {
6978
- return s(), m(P, C({ name: "scale" }, e.$props), {
7005
+ function La(e, t, l, o, n, i) {
7006
+ return s(), m(O, C({ name: "scale" }, e.$props), {
6979
7007
  default: g(() => [
6980
7008
  p(e.$slots, "default")
6981
7009
  ]),
@@ -6988,9 +7016,9 @@ const xa = {
6988
7016
  appear: { type: Boolean },
6989
7017
  duration: { type: [Number, String] }
6990
7018
  }
6991
- }, Pa = /* @__PURE__ */ v(xa, [["render", La]]);
6992
- function Oa(e, t, l, a, r, i) {
6993
- return s(), m(P, C({ name: "scale-fade" }, e.$props), {
7019
+ }, Oa = /* @__PURE__ */ v(xa, [["render", La]]);
7020
+ function Pa(e, t, l, o, n, i) {
7021
+ return s(), m(O, C({ name: "scale-fade" }, e.$props), {
6994
7022
  default: g(() => [
6995
7023
  p(e.$slots, "default")
6996
7024
  ]),
@@ -7003,9 +7031,9 @@ const za = {
7003
7031
  appear: { type: Boolean },
7004
7032
  duration: { type: [Number, String] }
7005
7033
  }
7006
- }, Ma = /* @__PURE__ */ v(za, [["render", Oa]]);
7007
- function Ea(e, t, l, a, r, i) {
7008
- return s(), m(P, C({ name: i.transitionName }, e.$props), {
7034
+ }, Ma = /* @__PURE__ */ v(za, [["render", Pa]]);
7035
+ function Ea(e, t, l, o, n, i) {
7036
+ return s(), m(O, C({ name: i.transitionName }, e.$props), {
7009
7037
  default: g(() => [
7010
7038
  p(e.$slots, "default")
7011
7039
  ]),
@@ -7031,8 +7059,8 @@ const Wa = {
7031
7059
  }
7032
7060
  }
7033
7061
  }, Aa = /* @__PURE__ */ v(Wa, [["render", Ea]]);
7034
- function Na(e, t, l, a, r, i) {
7035
- return s(), m(P, C({ name: i.transitionName }, e.$props), {
7062
+ function Na(e, t, l, o, n, i) {
7063
+ return s(), m(O, C({ name: i.transitionName }, e.$props), {
7036
7064
  default: g(() => [
7037
7065
  p(e.$slots, "default")
7038
7066
  ]),
@@ -7058,8 +7086,8 @@ const Ka = {
7058
7086
  }
7059
7087
  }
7060
7088
  }, Ha = /* @__PURE__ */ v(Ka, [["render", Na]]);
7061
- function Da(e, t, l, a, r, i) {
7062
- return s(), m(P, C({ name: "twist" }, e.$props), {
7089
+ function Da(e, t, l, o, n, i) {
7090
+ return s(), m(O, C({ name: "twist" }, e.$props), {
7063
7091
  default: g(() => [
7064
7092
  p(e.$slots, "default")
7065
7093
  ]),
@@ -7076,8 +7104,8 @@ const Fa = {
7076
7104
  key: 1,
7077
7105
  class: "ml1"
7078
7106
  };
7079
- function Xa(e, t, l, a, r, i) {
7080
- const o = $("w-button"), n = $("w-icon"), d = $("w-tree", !0);
7107
+ function Xa(e, t, l, o, n, i) {
7108
+ const a = $("w-button"), r = $("w-icon"), d = $("w-tree", !0);
7081
7109
  return s(), u("ul", {
7082
7110
  class: f(["w-tree", i.classes])
7083
7111
  }, [
@@ -7086,15 +7114,15 @@ function Xa(e, t, l, a, r, i) {
7086
7114
  key: y
7087
7115
  }, [
7088
7116
  (s(), m(V(i.getTreeItemComponent(h)), C({ class: "w-tree__item-label" }, h.route && { [!e.$router || i.hasExternalLink(h) ? "href" : "to"]: h.route }, {
7089
- onClick: (B) => !l.disabled && !h.disabled && i.onLabelClick(h, B),
7090
- onKeydown: (B) => !l.disabled && !h.disabled && i.onLabelKeydown(h, B),
7117
+ onClick: (S) => !l.disabled && !h.disabled && i.onLabelClick(h, S),
7118
+ onKeydown: (S) => !l.disabled && !h.disabled && i.onLabelKeydown(h, S),
7091
7119
  tabindex: i.getTreeItemTabindex(h)
7092
7120
  }), {
7093
7121
  default: g(() => [
7094
- (h.children || h.branch) && (l.expandOpenIcon && h.open || l.expandIcon) && !(l.unexpandableEmpty && !h.children) ? (s(), m(o, {
7122
+ (h.children || h.branch) && (l.expandOpenIcon && h.open || l.expandIcon) && !(l.unexpandableEmpty && !h.children) ? (s(), m(a, {
7095
7123
  key: 0,
7096
7124
  class: "w-tree__item-expand",
7097
- onClick: M((B) => !l.disabled && !h.disabled && i.onLabelClick(h, B), ["stop"]),
7125
+ onClick: M((S) => !l.disabled && !h.disabled && i.onLabelClick(h, S), ["stop"]),
7098
7126
  color: "inherit",
7099
7127
  icon: h.open && l.expandOpenIcon || l.expandIcon,
7100
7128
  "icon-props": { rotate90a: !h.open },
@@ -7109,22 +7137,22 @@ function Xa(e, t, l, a, r, i) {
7109
7137
  path: h.path,
7110
7138
  open: h.open
7111
7139
  }, () => {
7112
- var B;
7140
+ var S;
7113
7141
  return [
7114
- i.itemIcon(h) ? (s(), m(n, {
7142
+ i.itemIcon(h) ? (s(), m(r, {
7115
7143
  key: 0,
7116
7144
  class: "w-tree__item-icon",
7117
7145
  color: h.originalItem[l.itemIconColorKey] || l.iconColor
7118
7146
  }, {
7119
7147
  default: g(() => [
7120
- S(_(i.itemIcon(h)), 1)
7148
+ B(_(i.itemIcon(h)), 1)
7121
7149
  ]),
7122
7150
  _: 2
7123
7151
  }, 1032, ["color"])) : c("", !0),
7124
7152
  w("span", {
7125
7153
  innerHTML: h.label
7126
7154
  }, null, 8, Ua),
7127
- l.counts && (h.children || h.branch) ? (s(), u("span", qa, "(" + _(((B = h.originalItem.children) == null ? void 0 : B.length) || 0) + ")", 1)) : c("", !0)
7155
+ l.counts && (h.children || h.branch) ? (s(), u("span", qa, "(" + _(((S = h.originalItem.children) == null ? void 0 : S.length) || 0) + ")", 1)) : c("", !0)
7128
7156
  ];
7129
7157
  })
7130
7158
  ]),
@@ -7132,25 +7160,25 @@ function Xa(e, t, l, a, r, i) {
7132
7160
  }, 1040, ["onClick", "onKeydown", "tabindex"])),
7133
7161
  (s(), m(V(l.noTransition ? "div" : "w-transition-expand"), {
7134
7162
  y: !l.noTransition || null,
7135
- onAfterEnter: (B) => e.$emit("open", i.emitPayload(h)),
7136
- onAfterLeave: (B) => e.$emit("close", i.emitPayload(h))
7163
+ onAfterEnter: (S) => e.$emit("open", i.emitPayload(h)),
7164
+ onAfterLeave: (S) => e.$emit("close", i.emitPayload(h))
7137
7165
  }, {
7138
7166
  default: g(() => [
7139
7167
  h.children && h.open ? (s(), m(d, C({ key: 0 }, e.$props, {
7140
7168
  depth: l.depth + 1,
7141
7169
  data: h.originalItem.children,
7142
7170
  parent: h,
7143
- onBeforeOpen: t[0] || (t[0] = (B) => e.$emit("before-open", B)),
7144
- onOpen: t[1] || (t[1] = (B) => e.$emit("open", B)),
7145
- onBeforeClose: t[2] || (t[2] = (B) => e.$emit("before-close", B)),
7146
- onClose: t[3] || (t[3] = (B) => e.$emit("close", B)),
7147
- onClick: t[4] || (t[4] = (B) => e.$emit("click", B)),
7148
- onSelect: t[5] || (t[5] = (B) => e.$emit("select", B)),
7149
- "onUpdate:modelValue": t[6] || (t[6] = (B) => e.$emit("update:model-value", B))
7171
+ onBeforeOpen: t[0] || (t[0] = (S) => e.$emit("before-open", S)),
7172
+ onOpen: t[1] || (t[1] = (S) => e.$emit("open", S)),
7173
+ onBeforeClose: t[2] || (t[2] = (S) => e.$emit("before-close", S)),
7174
+ onClose: t[3] || (t[3] = (S) => e.$emit("close", S)),
7175
+ onClick: t[4] || (t[4] = (S) => e.$emit("click", S)),
7176
+ onSelect: t[5] || (t[5] = (S) => e.$emit("select", S)),
7177
+ "onUpdate:modelValue": t[6] || (t[6] = (S) => e.$emit("update:model-value", S))
7150
7178
  }), {
7151
- item: g(({ item: B, depth: b, path: R, open: x }) => [
7179
+ item: g(({ item: S, depth: b, path: R, open: x }) => [
7152
7180
  p(e.$slots, "item", {
7153
- item: B,
7181
+ item: S,
7154
7182
  depth: b,
7155
7183
  path: R,
7156
7184
  open: x
@@ -7212,24 +7240,24 @@ const Ya = {
7212
7240
  methods: {
7213
7241
  updateCurrentDepthTree(e, t = []) {
7214
7242
  if (this.currentDepthItems = [], !Array.isArray(e) && typeof e != "object")
7215
- return G(`[w-tree] the tree items must be of type array or object, ${typeof e} received.`);
7216
- Array.isArray(e) || (e = [e]), e.forEach((l, a) => {
7217
- var i, o;
7218
- const r = {
7243
+ return U(`[w-tree] the tree items must be of type array or object, ${typeof e} received.`);
7244
+ Array.isArray(e) || (e = [e]), e.forEach((l, o) => {
7245
+ var i, a;
7246
+ const n = {
7219
7247
  originalItem: l,
7220
- _uid: this.depth.toString() + (a + 1),
7248
+ _uid: this.depth.toString() + (o + 1),
7221
7249
  label: l[this.itemLabelKey],
7222
7250
  children: !!l.children,
7223
7251
  branch: l.branch,
7224
7252
  route: l[this.itemRouteKey],
7225
7253
  disabled: l[this.itemDisabledKey],
7226
- selected: ((i = t[a]) == null ? void 0 : i.selected) || !1,
7254
+ selected: ((i = t[o]) == null ? void 0 : i.selected) || !1,
7227
7255
  depth: this.depth,
7228
- open: !!(((o = t[a]) == null ? void 0 : o.open) || this.expandAll || l[this.itemOpenKey]),
7256
+ open: !!(((a = t[o]) == null ? void 0 : a.open) || this.expandAll || l[this.itemOpenKey]),
7229
7257
  parent: this.parent || null,
7230
7258
  path: []
7231
7259
  };
7232
- r.path = this.getTreeItemPath(r), this.currentDepthItems.push(r);
7260
+ n.path = this.getTreeItemPath(n), this.currentDepthItems.push(n);
7233
7261
  });
7234
7262
  },
7235
7263
  getTreeItemComponent(e) {
@@ -7255,13 +7283,13 @@ const Ya = {
7255
7283
  },
7256
7284
  onLabelClick(e, t) {
7257
7285
  e[this.itemRouteKey] && this.$router && !this.hasExternalLink(e) && t.preventDefault(), (e.children || e.branch && !this.unexpandableEmpty) && this.expandDepth(e), this.selectable && (e.selected = !e.selected);
7258
- const a = this.emitPayload(e, t);
7259
- this.$emit("click", a), this.emitItemSelection(e, t);
7286
+ const o = this.emitPayload(e, t);
7287
+ this.$emit("click", o), this.emitItemSelection(e, t);
7260
7288
  },
7261
7289
  onLabelKeydown(e, t) {
7262
7290
  if (!(t.metaKey || t.ctrlKey || t.altKey || t.shiftKey) && [13, 32, 37, 38, 39, 40].includes(t.which) && ((e.children || e.branch) && ([13, 32].includes(t.which) ? this.expandDepth(e) && t.preventDefault() : t.which === 37 ? this.expandDepth(e, !1) && t.preventDefault() : t.which === 39 && this.expandDepth(e, !0) && t.preventDefault()), [38, 40].includes(t.which))) {
7263
- const a = this.$el.closest(".w-tree--depth0").querySelectorAll('.w-tree__item-label[tabindex="0"]'), r = t.target.closest(".w-tree__item-label"), i = t.which === 38 ? -1 : 1;
7264
- [...a].some((o, n) => o.isSameNode(r) ? (a[n + i] && a[n + i].focus(), !0) : !1);
7291
+ const o = this.$el.closest(".w-tree--depth0").querySelectorAll('.w-tree__item-label[tabindex="0"]'), n = t.target.closest(".w-tree__item-label"), i = t.which === 38 ? -1 : 1;
7292
+ [...o].some((a, r) => a.isSameNode(n) ? (o[r + i] && o[r + i].focus(), !0) : !1);
7265
7293
  }
7266
7294
  t.which === 13 && (this.selectable && (e.selected = !e.selected), this.emitItemSelection(e, t));
7267
7295
  },
@@ -7327,7 +7355,7 @@ const Ya = {
7327
7355
  WBreadcrumbs: ut,
7328
7356
  WButton: wt,
7329
7357
  WCard: Ct,
7330
- WCheckbox: Pt,
7358
+ WCheckbox: Ot,
7331
7359
  WCheckboxes: Et,
7332
7360
  WConfirm: Nt,
7333
7361
  WDatePicker: Dt,
@@ -7340,7 +7368,7 @@ const Ya = {
7340
7368
  WGrid: fl,
7341
7369
  WIcon: bl,
7342
7370
  WImage: kl,
7343
- WInput: Pl,
7371
+ WInput: Ol,
7344
7372
  WList: Ml,
7345
7373
  WMenu: Al,
7346
7374
  WNotification: Hl,
@@ -7350,8 +7378,8 @@ const Ya = {
7350
7378
  WRadio: hi,
7351
7379
  WRadios: gi,
7352
7380
  WRating: vi,
7353
- WScrollable: Si,
7354
- WSelect: Oi,
7381
+ WScrollable: Bi,
7382
+ WSelect: Pi,
7355
7383
  WSlider: Xi,
7356
7384
  WSpinner: Qi,
7357
7385
  WSteps: ts,
@@ -7363,10 +7391,10 @@ const Ya = {
7363
7391
  WTimeline: ga,
7364
7392
  WToolbar: ya,
7365
7393
  WTooltip: ka,
7366
- WTransitionBounce: Sa,
7394
+ WTransitionBounce: Ba,
7367
7395
  WTransitionExpand: Va,
7368
7396
  WTransitionFade: Ta,
7369
- WTransitionScale: Pa,
7397
+ WTransitionScale: Oa,
7370
7398
  WTransitionScaleFade: Ma,
7371
7399
  WTransitionSlide: Aa,
7372
7400
  WTransitionSlideFade: Ha,