wave-ui 3.16.2 → 3.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,8 @@ var de = (e) => {
5
5
  var $e = (e, t, i) => t in e ? _e(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
6
6
  var H = (e, t, i) => $e(e, typeof t != "symbol" ? t + "" : t, i), ue = (e, t, i) => t.has(e) || de("Cannot " + i);
7
7
  var Y = (e, t, i) => (ue(e, t, "read from private field"), i ? i.call(e) : t.get(e)), te = (e, t, i) => t.has(e) ? de("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, i), ie = (e, t, i, s) => (ue(e, t, "write to private field"), s ? s.call(e, i) : t.set(e, i), i);
8
- import { reactive as Z, resolveComponent as $, openBlock as o, createBlock as b, Teleport as Ie, createVNode as T, TransitionGroup as ae, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as k, renderList as x, mergeProps as _, createElementVNode as w, createCommentVNode as p, createApp as Ve, defineComponent as Te, inject as Le, withKeys as A, withModifiers as z, renderSlot as c, createTextVNode as B, toDisplayString as C, normalizeStyle as R, toHandlers as ne, Transition as P, resolveDynamicComponent as L, normalizeProps as le, resolveDirective as ke, withDirectives as W, createSlots as ee, vShow as re, vModelText as ve, vModelDynamic as Re, KeepAlive as xe } from "vue";
9
- const Pe = Z({
8
+ import { reactive as Z, resolveComponent as $, openBlock as o, createBlock as b, Teleport as Ie, createVNode as T, TransitionGroup as ae, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as k, renderList as x, mergeProps as _, createElementVNode as w, createCommentVNode as p, createApp as Ve, defineComponent as Te, inject as Le, withKeys as A, withModifiers as M, renderSlot as c, createTextVNode as B, toDisplayString as C, normalizeStyle as R, toHandlers as ne, Transition as O, resolveDynamicComponent as L, normalizeProps as le, resolveDirective as ke, withDirectives as W, createSlots as ee, vShow as re, vModelText as ve, vModelDynamic as Re, KeepAlive as xe } from "vue";
9
+ const Oe = Z({
10
10
  on: "#app",
11
11
  // Sets the Wave UI root node. If not found, will default to `body`.
12
12
  breakpoints: {
@@ -66,7 +66,7 @@ const Pe = Z({
66
66
  },
67
67
  presets: {}
68
68
  // User presets for each component.
69
- }), Ce = (e, t = Pe) => {
69
+ }), Ce = (e, t = Oe) => {
70
70
  if (!Object.keys(t).length) t = Object.assign(t, e);
71
71
  else
72
72
  for (const i in e) {
@@ -74,7 +74,7 @@ const Pe = Z({
74
74
  typeof s == "object" && typeof t[i] == "object" ? Ce(e[i], t[i]) : t[i] = s;
75
75
  }
76
76
  return t;
77
- }, j = (e) => console.warn(`Wave UI: ${e}`), F = (e) => console.error(`Wave UI: ${e}`), Oe = (e) => {
77
+ }, j = (e) => console.warn(`Wave UI: ${e}`), F = (e) => console.error(`Wave UI: ${e}`), Pe = (e) => {
78
78
  ["light", "dark"].forEach((t) => {
79
79
  var s, n, l;
80
80
  const i = e.colors[t];
@@ -508,8 +508,8 @@ const Ne = (e, t) => {
508
508
  if (t)
509
509
  for (const I in d) s[I] = d[I];
510
510
  let g = "";
511
- return Object.entries(s).forEach(([I, O]) => {
512
- g += `--w-${I}-color: ${O};`;
511
+ return Object.entries(s).forEach(([I, z]) => {
512
+ g += `--w-${I}-color: ${z};`;
513
513
  }), `:root{${g}}${i}`;
514
514
  }, De = (e, t) => {
515
515
  let i = "";
@@ -790,7 +790,7 @@ const N = class N {
790
790
  i.colors.light || (i.colors.light = a), i.colors.dark || (i.colors.dark = a), i.colors = { light: i.colors.light, dark: i.colors.dark };
791
791
  }
792
792
  let { components: s, ...n } = i;
793
- n = this.$waveui.config = Ce(n), n.css.colorShades && Oe(n);
793
+ n = this.$waveui.config = Ce(n), n.css.colorShades && Pe(n);
794
794
  const l = Z(this.$waveui);
795
795
  t.config.globalProperties.$waveui = l, t.provide("$waveui", l), n.theme !== "auto" && (this.$waveui.colors = he(n.colors[n.theme], fe));
796
796
  }
@@ -826,7 +826,7 @@ const N = class N {
826
826
  };
827
827
  X = new WeakMap(), te(N, X, !1);
828
828
  let q = N;
829
- const et = ["aria-expanded"], tt = ["onClick", "onFocus", "onKeypress", "tabindex"], it = ["innerHTML"], lt = ["innerHTML"];
829
+ const P = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), et = ["aria-expanded"], tt = ["onClick", "onFocus", "onKeypress", "tabindex"], it = ["innerHTML"], lt = ["innerHTML"];
830
830
  function st(e, t, i, s, n, l) {
831
831
  const a = $("w-button"), r = $("w-transition-expand");
832
832
  return o(), u("div", {
@@ -838,7 +838,7 @@ function st(e, t, i, s, n, l) {
838
838
  "aria-expanded": d._expanded ? "true" : "false"
839
839
  }, [
840
840
  w("div", {
841
- class: f(["w-accordion__item-title", i.titleClass]),
841
+ class: f(["w-accordion__item-title", l.titleClasses]),
842
842
  onClick: (y) => !d._disabled && l.toggleItem(d, y),
843
843
  onFocus: (y) => e.$emit("focus", l.getOriginalItem(d)),
844
844
  onKeypress: A((y) => !d._disabled && l.toggleItem(d, y), ["enter"]),
@@ -852,9 +852,9 @@ function st(e, t, i, s, n, l) {
852
852
  disabled: d._disabled || null,
853
853
  tabindex: -1,
854
854
  text: "",
855
- onKeypress: t[0] || (t[0] = z(() => {
855
+ onKeypress: t[0] || (t[0] = M(() => {
856
856
  }, ["stop"])),
857
- onClick: z((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
857
+ onClick: M((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
858
858
  }, null, 8, ["icon", "icon-props", "disabled", "onClick", "class"])) : p("", !0),
859
859
  e.$slots[`item-title.${d.id || h + 1}`] ? c(e.$slots, `item-title.${d.id || h + 1}`, {
860
860
  key: 1,
@@ -877,9 +877,9 @@ function st(e, t, i, s, n, l) {
877
877
  class: f(["w-accordion__expand-icon", { "w-accordion__expand-icon--expanded": d._expanded, "w-accordion__expand-icon--rotate90": i.expandIconRotate90 }]),
878
878
  icon: d._expanded && i.collapseIcon || i.expandIcon,
879
879
  text: "",
880
- onKeypress: t[1] || (t[1] = z(() => {
880
+ onKeypress: t[1] || (t[1] = M(() => {
881
881
  }, ["stop"])),
882
- onClick: z((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
882
+ onClick: M((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
883
883
  }, null, 8, ["icon", "onClick", "class"])) : p("", !0)
884
884
  ], 42, tt),
885
885
  T(r, {
@@ -890,7 +890,7 @@ function st(e, t, i, s, n, l) {
890
890
  default: m(() => [
891
891
  d._expanded ? (o(), u("div", {
892
892
  key: 0,
893
- class: f(["w-accordion__item-content", i.contentClass])
893
+ class: f(["w-accordion__item-content", l.contentClasses])
894
894
  }, [
895
895
  e.$slots[`item-content.${d.id || h + 1}`] ? c(e.$slots, `item-content.${d.id || h + 1}`, {
896
896
  key: 0,
@@ -925,9 +925,9 @@ const ot = {
925
925
  // Support a different color per item.
926
926
  itemTitleKey: { type: String, default: "title" },
927
927
  itemContentKey: { type: String, default: "content" },
928
- itemClass: { type: String },
929
- titleClass: { type: String },
930
- contentClass: { type: String },
928
+ itemClass: { type: [String, Array, Object] },
929
+ titleClass: { type: [String, Array, Object] },
930
+ contentClass: { type: [String, Array, Object] },
931
931
  expandIcon: { type: [String, Boolean], default: "wi-triangle-down" },
932
932
  expandIconRight: { type: Boolean },
933
933
  expandIconRotate90: { type: Boolean },
@@ -955,6 +955,12 @@ const ot = {
955
955
  "w-accordion--icon-right": this.expandIcon && this.expandIconRight,
956
956
  "w-accordion--rotate-icon": this.expandIcon && !this.collapseIcon
957
957
  };
958
+ },
959
+ titleClasses() {
960
+ return P(this.titleClass);
961
+ },
962
+ contentClasses() {
963
+ return P(this.contentClass);
958
964
  }
959
965
  },
960
966
  methods: {
@@ -972,10 +978,10 @@ const ot = {
972
978
  },
973
979
  itemClasses(e) {
974
980
  return {
975
- [this.itemClass]: this.itemClass || null,
976
981
  "w-accordion__item--expanded": e._expanded,
977
982
  "w-accordion__item--disabled": e._disabled,
978
- [e[this.itemColorKey]]: e[this.itemColorKey]
983
+ [e[this.itemColorKey]]: e[this.itemColorKey],
984
+ ...P(this.itemClass)
979
985
  };
980
986
  },
981
987
  updateItems() {
@@ -1135,7 +1141,7 @@ function yt(e, t, i, s, n, l) {
1135
1141
  innerHTML: d[i.itemLabelKey]
1136
1142
  }, null, 8, ct),
1137
1143
  T(a, {
1138
- onClick: z((y) => l.unselectItem(h), ["stop"]),
1144
+ onClick: M((y) => l.unselectItem(h), ["stop"]),
1139
1145
  icon: "wi-cross",
1140
1146
  xs: "",
1141
1147
  text: "",
@@ -1166,7 +1172,7 @@ function yt(e, t, i, s, n, l) {
1166
1172
  }, [
1167
1173
  (o(!0), u(k, null, x(l.filteredItems, (d, h) => (o(), u("li", {
1168
1174
  key: h,
1169
- onClick: z((y) => (l.selectItem(d), e.$emit("item-click", d)), ["stop"]),
1175
+ onClick: M((y) => (l.selectItem(d), e.$emit("item-click", d)), ["stop"]),
1170
1176
  class: f({ highlighted: e.highlightedItem === d.uid })
1171
1177
  }, [
1172
1178
  c(e.$slots, "item", {
@@ -1411,7 +1417,7 @@ const St = {
1411
1417
  function $t(e, t, i, s, n, l) {
1412
1418
  return o(), u("div", _t, [
1413
1419
  c(e.$slots, "default"),
1414
- T(P, {
1420
+ T(O, {
1415
1421
  name: `${i.transition}`
1416
1422
  }, {
1417
1423
  default: m(() => [
@@ -1582,11 +1588,11 @@ const Rt = {
1582
1588
  };
1583
1589
  }
1584
1590
  }
1585
- }, xt = /* @__PURE__ */ v(Rt, [["render", Lt]]), Pt = {
1591
+ }, xt = /* @__PURE__ */ v(Rt, [["render", Lt]]), Ot = {
1586
1592
  key: 0,
1587
1593
  class: "w-button__loader"
1588
1594
  };
1589
- function Ot(e, t, i, s, n, l) {
1595
+ function Pt(e, t, i, s, n, l) {
1590
1596
  const a = $("w-icon");
1591
1597
  return o(), b(L(!i.disabled && i.route ? "a" : "button"), _({
1592
1598
  class: ["w-button", l.classes],
@@ -1601,9 +1607,9 @@ function Ot(e, t, i, s, n, l) {
1601
1607
  ]),
1602
1608
  _: 1
1603
1609
  }, 16)) : c(e.$slots, "default", { key: 1 }),
1604
- T(P, { name: "scale-fade" }, {
1610
+ T(O, { name: "scale-fade" }, {
1605
1611
  default: m(() => [
1606
- i.loading ? (o(), u("div", Pt, [
1612
+ i.loading ? (o(), u("div", Ot, [
1607
1613
  c(e.$slots, "loading", {}, () => [
1608
1614
  t[0] || (t[0] = w("svg", { viewBox: "0 0 40 40" }, [
1609
1615
  w("circle", {
@@ -1726,7 +1732,7 @@ const zt = {
1726
1732
  };
1727
1733
  }
1728
1734
  }
1729
- }, Mt = /* @__PURE__ */ v(zt, [["render", Ot]]), Et = ["innerHTML"];
1735
+ }, Mt = /* @__PURE__ */ v(zt, [["render", Pt]]), Et = ["innerHTML"];
1730
1736
  function At(e, t, i, s, n, l) {
1731
1737
  const a = $("button-partial");
1732
1738
  return i.tooltip ? (o(), b(L("w-tooltip"), le(_({ key: 0 }, i.tooltipProps)), {
@@ -1803,7 +1809,7 @@ const Wt = {
1803
1809
  return { ...i, ...this.$attrs };
1804
1810
  }
1805
1811
  }
1806
- }, Kt = /* @__PURE__ */ v(Wt, [["render", At]]), M = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), Nt = ["innerHTML"];
1812
+ }, Kt = /* @__PURE__ */ v(Wt, [["render", At]]), Nt = ["innerHTML"];
1807
1813
  function Dt(e, t, i, s, n, l) {
1808
1814
  const a = $("w-image");
1809
1815
  return o(), u("div", {
@@ -1861,10 +1867,10 @@ const Ht = {
1861
1867
  emits: [],
1862
1868
  computed: {
1863
1869
  titleClasses() {
1864
- return M(this.titleClass);
1870
+ return P(this.titleClass);
1865
1871
  },
1866
1872
  contentClasses() {
1867
- return M(this.contentClass);
1873
+ return P(this.contentClass);
1868
1874
  },
1869
1875
  titleHasToolbar() {
1870
1876
  const { title: e } = this.$slots;
@@ -2405,7 +2411,7 @@ function di(e, t, i, s, n, l) {
2405
2411
  opacity: i.overlayOpacity
2406
2412
  }, {
2407
2413
  default: m(() => [
2408
- T(P, {
2414
+ T(O, {
2409
2415
  name: i.transition,
2410
2416
  appear: "",
2411
2417
  onAfterLeave: l.onBeforeClose
@@ -2489,13 +2495,13 @@ const ui = {
2489
2495
  },
2490
2496
  computed: {
2491
2497
  titleClasses() {
2492
- return M(this.titleClass);
2498
+ return P(this.titleClass);
2493
2499
  },
2494
2500
  contentClasses() {
2495
- return M(this.contentClass);
2501
+ return P(this.contentClass);
2496
2502
  },
2497
2503
  dialogClasses() {
2498
- return M(this.dialogClass);
2504
+ return P(this.dialogClass);
2499
2505
  },
2500
2506
  maxWidth() {
2501
2507
  let e = this.width;
@@ -2585,7 +2591,7 @@ function bi(e, t, i, s, n, l) {
2585
2591
  }, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
2586
2592
  c(e.$slots, "pushable")
2587
2593
  ]),
2588
- T(P, {
2594
+ T(O, {
2589
2595
  name: "fade",
2590
2596
  onBeforeLeave: l.onBeforeClose,
2591
2597
  onAfterLeave: l.onClose
@@ -2616,7 +2622,7 @@ function bi(e, t, i, s, n, l) {
2616
2622
  "bg-color": i.overlayColor,
2617
2623
  opacity: i.overlayOpacity
2618
2624
  }, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
2619
- T(P, {
2625
+ T(O, {
2620
2626
  name: l.transitionName,
2621
2627
  appear: "",
2622
2628
  onBeforeLeave: l.onBeforeClose,
@@ -3088,8 +3094,8 @@ const xi = {
3088
3094
  };
3089
3095
  }
3090
3096
  }
3091
- }, Pi = /* @__PURE__ */ v(xi, [["render", Ri]]);
3092
- function Oi(e, t, i, s, n, l) {
3097
+ }, Oi = /* @__PURE__ */ v(xi, [["render", Ri]]);
3098
+ function Pi(e, t, i, s, n, l) {
3093
3099
  return o(), b(L(i.tag || "i"), {
3094
3100
  class: f(["w-icon", l.classes]),
3095
3101
  role: "icon",
@@ -3173,7 +3179,7 @@ const zi = {
3173
3179
  return this.fontName = t, this.icon = i, !0;
3174
3180
  }
3175
3181
  }
3176
- }, Mi = /* @__PURE__ */ v(zi, [["render", Oi]]), Ei = {
3182
+ }, Mi = /* @__PURE__ */ v(zi, [["render", Pi]]), Ei = {
3177
3183
  key: 0,
3178
3184
  class: "w-image__loader"
3179
3185
  }, Ai = ["innerHTML"];
@@ -3184,7 +3190,7 @@ function Wi(e, t, i, s, n, l) {
3184
3190
  style: R(l.wrapperStyles)
3185
3191
  }, {
3186
3192
  default: m(() => [
3187
- T(P, {
3193
+ T(O, {
3188
3194
  name: i.transition,
3189
3195
  appear: ""
3190
3196
  }, {
@@ -4177,7 +4183,7 @@ function il(e, t, i, s, n, l) {
4177
4183
  const a = $("w-card"), r = $("w-overlay");
4178
4184
  return o(), u(k, null, [
4179
4185
  c(e.$slots, "activator", { on: l.activatorEventHandlers }),
4180
- T(P, {
4186
+ T(O, {
4181
4187
  name: l.transitionName,
4182
4188
  appear: ""
4183
4189
  }, {
@@ -4328,17 +4334,17 @@ const ll = {
4328
4334
  return this.maxWidth === "activator" ? this.activatorWidth ? `${this.activatorWidth}px` : 0 : isNaN(this.maxWidth) ? this.maxWidth : this.maxWidth ? `${this.maxWidth}px` : 0;
4329
4335
  },
4330
4336
  menuClasses() {
4331
- return M(this.menuClass);
4337
+ return P(this.menuClass);
4332
4338
  },
4333
4339
  titleClasses() {
4334
- return M(this.titleClass);
4340
+ return P(this.titleClass);
4335
4341
  },
4336
4342
  contentClasses() {
4337
- return M(this.contentClass);
4343
+ return P(this.contentClass);
4338
4344
  },
4339
4345
  overlayClasses() {
4340
4346
  return {
4341
- ...M(this.overlayClass),
4347
+ ...P(this.overlayClass),
4342
4348
  "w-overlay--no-pointer-event": this.showOnHover
4343
4349
  };
4344
4350
  },
@@ -4421,7 +4427,7 @@ const ll = {
4421
4427
  }, sl = /* @__PURE__ */ v(ll, [["render", il]]);
4422
4428
  function ol(e, t, i, s, n, l) {
4423
4429
  const a = $("w-alert");
4424
- return o(), b(P, {
4430
+ return o(), b(O, {
4425
4431
  name: l.transitionName,
4426
4432
  appear: ""
4427
4433
  }, {
@@ -4573,7 +4579,7 @@ const al = {
4573
4579
  }, nl = /* @__PURE__ */ v(al, [["render", ol]]);
4574
4580
  function rl(e, t, i, s, n, l) {
4575
4581
  const a = ke("focus");
4576
- return o(), b(P, {
4582
+ return o(), b(O, {
4577
4583
  name: "fade",
4578
4584
  appear: "",
4579
4585
  onAfterLeave: l.onClose
@@ -4584,7 +4590,7 @@ function rl(e, t, i, s, n, l) {
4584
4590
  class: f(["w-overlay", l.classes]),
4585
4591
  ref: "overlay",
4586
4592
  style: R(i.modelValue && l.styles || null),
4587
- onKeydown: t[0] || (t[0] = A(z((...r) => l.onClick && l.onClick(...r), ["stop"]), ["escape"])),
4593
+ onKeydown: t[0] || (t[0] = A(M((...r) => l.onClick && l.onClick(...r), ["stop"]), ["escape"])),
4588
4594
  onClick: t[1] || (t[1] = (...r) => l.onClick && l.onClick(...r)),
4589
4595
  tabindex: "0"
4590
4596
  }, [
@@ -4955,7 +4961,7 @@ function xl(e, t, i, s, n, l) {
4955
4961
  _: 3
4956
4962
  }, 16, ["valid", "column", "wrap", "class"]);
4957
4963
  }
4958
- const Pl = {
4964
+ const Ol = {
4959
4965
  name: "w-radios",
4960
4966
  mixins: [E],
4961
4967
  props: {
@@ -5008,7 +5014,7 @@ const Pl = {
5008
5014
  return this.items[e._index];
5009
5015
  }
5010
5016
  }
5011
- }, Ol = /* @__PURE__ */ v(Pl, [["render", xl]]), zl = ["id", "name", "value"], Ml = ["disabled", "onMouseenter", "onClick", "tabindex"];
5017
+ }, Pl = /* @__PURE__ */ v(Ol, [["render", xl]]), zl = ["id", "name", "value"], Ml = ["disabled", "onMouseenter", "onClick", "tabindex"];
5012
5018
  function El(e, t, i, s, n, l) {
5013
5019
  return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
5014
5020
  valid: e.valid,
@@ -5746,7 +5752,7 @@ function rs(e, t, i, s, n, l) {
5746
5752
  t[1] || (t[1] = A((a) => l.onKeyDown(a, 1), ["right"]))
5747
5753
  ],
5748
5754
  onFocus: t[2] || (t[2] = (a) => e.$emit("focus", a)),
5749
- onClick: t[3] || (t[3] = z(() => {
5755
+ onClick: t[3] || (t[3] = M(() => {
5750
5756
  }, ["prevent"]))
5751
5757
  }, null, 42, ts),
5752
5758
  i.thumbLabel ? (o(), u("label", {
@@ -6177,10 +6183,10 @@ const Vs = {
6177
6183
  }, Ts = /* @__PURE__ */ v(Vs, [["render", Is]]), Ls = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], Rs = ["innerHTML"], xs = {
6178
6184
  key: 0,
6179
6185
  class: "w-tabs__bar-extra"
6180
- }, Ps = {
6186
+ }, Os = {
6181
6187
  key: 0,
6182
6188
  class: "w-tabs__content-wrap"
6183
- }, Os = ["innerHTML"], zs = ["innerHTML"];
6189
+ }, Ps = ["innerHTML"], zs = ["innerHTML"];
6184
6190
  function Ms(e, t, i, s, n, l) {
6185
6191
  const a = $("tab-content");
6186
6192
  return o(), u("div", {
@@ -6225,7 +6231,7 @@ function Ms(e, t, i, s, n, l) {
6225
6231
  style: R(l.sliderStyles)
6226
6232
  }, null, 6)) : p("", !0)
6227
6233
  ], 2),
6228
- e.tabs.length ? (o(), u("div", Ps, [
6234
+ e.tabs.length ? (o(), u("div", Os, [
6229
6235
  i.keepInDom ? (o(), b(ae, {
6230
6236
  key: 0,
6231
6237
  name: l.transitionName
@@ -6234,7 +6240,7 @@ function Ms(e, t, i, s, n, l) {
6234
6240
  (o(!0), u(k, null, x(e.tabs, (r, d) => W((o(), b(a, {
6235
6241
  key: r._uid,
6236
6242
  item: r,
6237
- class: f(i.contentClass)
6243
+ class: f(l.contentClasses)
6238
6244
  }, {
6239
6245
  default: m(() => [
6240
6246
  e.$slots[`item-content.${r._index + 1}`] ? c(e.$slots, `item-content.${r._index + 1}`, {
@@ -6251,7 +6257,7 @@ function Ms(e, t, i, s, n, l) {
6251
6257
  r[i.itemContentKey] ? (o(), u("div", {
6252
6258
  key: 0,
6253
6259
  innerHTML: r[i.itemContentKey]
6254
- }, null, 8, Os)) : p("", !0)
6260
+ }, null, 8, Ps)) : p("", !0)
6255
6261
  ])
6256
6262
  ]),
6257
6263
  _: 2
@@ -6260,7 +6266,7 @@ function Ms(e, t, i, s, n, l) {
6260
6266
  ])), 128))
6261
6267
  ]),
6262
6268
  _: 3
6263
- }, 8, ["name"])) : (o(), b(P, {
6269
+ }, 8, ["name"])) : (o(), b(O, {
6264
6270
  key: 1,
6265
6271
  name: l.transitionName,
6266
6272
  mode: l.transitionMode
@@ -6314,12 +6320,12 @@ const Es = {
6314
6320
  itemIdKey: { type: String, default: "id" },
6315
6321
  itemTitleKey: { type: String, default: "title" },
6316
6322
  itemContentKey: { type: String, default: "content" },
6317
- titleClass: { type: String },
6318
- activeClass: { type: String, default: "primary" },
6323
+ titleClass: { type: [String, Array, Object] },
6324
+ activeClass: { type: [String, Array, Object], default: "primary" },
6319
6325
  noSlider: { type: Boolean },
6320
6326
  pillSlider: { type: Boolean },
6321
6327
  sliderColor: { type: String, default: "primary" },
6322
- contentClass: { type: String },
6328
+ contentClass: { type: [String, Array, Object] },
6323
6329
  transition: { type: [String, Boolean], default: "" },
6324
6330
  fillBar: { type: Boolean },
6325
6331
  center: { type: Boolean },
@@ -6346,6 +6352,9 @@ const Es = {
6346
6352
  init: !0
6347
6353
  }),
6348
6354
  computed: {
6355
+ contentClasses() {
6356
+ return P(this.contentClass);
6357
+ },
6349
6358
  transitionName() {
6350
6359
  return this.transition === !1 ? "" : this.transition || `w-tabs-slide-${this.direction}`;
6351
6360
  },
@@ -6419,9 +6428,10 @@ const Es = {
6419
6428
  return {
6420
6429
  [`${this.bgColor}--bg`]: this.bgColor,
6421
6430
  [this.color]: this.color && !e._disabled && !(this.activeClass && t),
6422
- [`w-tabs__bar-item--active ${this.activeClass}`]: t,
6431
+ "w-tabs__bar-item--active": t,
6423
6432
  "w-tabs__bar-item--disabled": e._disabled,
6424
- [this.titleClass]: this.titleClass
6433
+ ...P(this.titleClass),
6434
+ ...t ? P(this.activeClass) : {}
6425
6435
  };
6426
6436
  },
6427
6437
  // Switching tabs.
@@ -6564,7 +6574,7 @@ function po(e, t, i, s, n, l) {
6564
6574
  V < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6565
6575
  key: 3,
6566
6576
  class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === V, "w-table__col-resizer--active": e.colResizing.columnIndex === V }]),
6567
- onClick: t[0] || (t[0] = z(() => {
6577
+ onClick: t[0] || (t[0] = M(() => {
6568
6578
  }, ["stop"]))
6569
6579
  }, null, 2)) : p("", !0)
6570
6580
  ], 10, Hs))), 128))
@@ -6616,10 +6626,10 @@ function po(e, t, i, s, n, l) {
6616
6626
  class: f(["w-table__row", { "w-table__row--selected": l.selectedRowsByUid[g._uid] !== void 0, "w-table__row--expanded": l.expandedRowsByUid[g._uid] !== void 0 }]),
6617
6627
  onClick: (I) => l.doSelectRow(g, V)
6618
6628
  }, [
6619
- (o(!0), u(k, null, x(i.headers, (I, O) => (o(), u(k, null, [
6620
- e.$slots[`item-cell.${I.key}`] || e.$slots[`item-cell.${O + 1}`] || e.$slots["item-cell"] ? (o(), u("td", {
6629
+ (o(!0), u(k, null, x(i.headers, (I, z) => (o(), u(k, null, [
6630
+ e.$slots[`item-cell.${I.key}`] || e.$slots[`item-cell.${z + 1}`] || e.$slots["item-cell"] ? (o(), u("td", {
6621
6631
  class: f(["w-table__cell", { [`text-${I.align || "left"}`]: !0, "w-table__cell--sticky": I.sticky }]),
6622
- key: `${O}-a`,
6632
+ key: `${z}-a`,
6623
6633
  "data-label": I.label
6624
6634
  }, [
6625
6635
  e.$slots[`item-cell.${I.key}`] ? c(e.$slots, `item-cell.${I.key}`, {
@@ -6628,7 +6638,7 @@ function po(e, t, i, s, n, l) {
6628
6638
  item: g,
6629
6639
  label: g[I.key] || "",
6630
6640
  index: V + 1
6631
- }) : e.$slots[`item-cell.${O + 1}`] ? c(e.$slots, `item-cell.${O + 1}`, {
6641
+ }) : e.$slots[`item-cell.${z + 1}`] ? c(e.$slots, `item-cell.${z + 1}`, {
6632
6642
  key: 1,
6633
6643
  header: I,
6634
6644
  item: g,
@@ -6641,21 +6651,21 @@ function po(e, t, i, s, n, l) {
6641
6651
  label: g[I.key] || "",
6642
6652
  index: V + 1
6643
6653
  }) : p("", !0),
6644
- O < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6654
+ z < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6645
6655
  key: 3,
6646
- class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === O, "w-table__col-resizer--active": e.colResizing.columnIndex === O }])
6656
+ class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === z, "w-table__col-resizer--active": e.colResizing.columnIndex === z }])
6647
6657
  }, null, 2)) : p("", !0)
6648
6658
  ], 10, Zs)) : (o(), u("td", {
6649
6659
  class: f(["w-table__cell", { [`text-${I.align || "left"}`]: !0, "w-table__cell--sticky": I.sticky }]),
6650
- key: `${O}-b`,
6660
+ key: `${z}-b`,
6651
6661
  "data-label": I.label
6652
6662
  }, [
6653
6663
  w("div", {
6654
6664
  innerHTML: g[I.key] || ""
6655
6665
  }, null, 8, to),
6656
- O < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6666
+ z < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
6657
6667
  key: 0,
6658
- class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === O, "w-table__col-resizer--active": e.colResizing.columnIndex === O }])
6668
+ class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === z, "w-table__col-resizer--active": e.colResizing.columnIndex === z }])
6659
6669
  }, null, 2)) : p("", !0)
6660
6670
  ], 10, eo))
6661
6671
  ], 64))), 256))
@@ -7125,7 +7135,7 @@ function bo(e, t, i, s, n, l) {
7125
7135
  i.closable && i.modelValue ? (o(), u("i", {
7126
7136
  key: 0,
7127
7137
  class: "w-icon w-tag__closable wi-cross",
7128
- onClick: t[0] || (t[0] = z((a) => {
7138
+ onClick: t[0] || (t[0] = M((a) => {
7129
7139
  e.$emit("update:modelValue", !1), e.$emit("input", !1);
7130
7140
  }, ["stop"])),
7131
7141
  role: "icon",
@@ -7535,11 +7545,11 @@ const xo = {
7535
7545
  };
7536
7546
  }
7537
7547
  }
7538
- }, Po = /* @__PURE__ */ v(xo, [["render", Ro]]);
7539
- function Oo(e, t, i, s, n, l) {
7548
+ }, Oo = /* @__PURE__ */ v(xo, [["render", Ro]]);
7549
+ function Po(e, t, i, s, n, l) {
7540
7550
  return o(), u(k, null, [
7541
7551
  c(e.$slots, "activator", { on: l.activatorEventHandlers }),
7542
- T(P, {
7552
+ T(O, {
7543
7553
  name: l.transitionName,
7544
7554
  appear: ""
7545
7555
  }, {
@@ -7609,7 +7619,7 @@ const zo = {
7609
7619
  * - `alignment`
7610
7620
  **/
7611
7621
  tooltipClasses() {
7612
- return M(this.tooltipClass);
7622
+ return P(this.tooltipClass);
7613
7623
  },
7614
7624
  transitionName() {
7615
7625
  const e = this.position.replace(/top|bottom/, (t) => ({ top: "up", bottom: "down" })[t]);
@@ -7693,9 +7703,9 @@ const zo = {
7693
7703
  }
7694
7704
  }
7695
7705
  // watch, mounted & beforeDestroy hooks are set in the detachable.js mixin.
7696
- }, Mo = /* @__PURE__ */ v(zo, [["render", Oo]]);
7706
+ }, Mo = /* @__PURE__ */ v(zo, [["render", Po]]);
7697
7707
  function Eo(e, t, i, s, n, l) {
7698
- return o(), b(P, _({ name: "bounce" }, e.$props), {
7708
+ return o(), b(O, _({ name: "bounce" }, e.$props), {
7699
7709
  default: m(() => [
7700
7710
  c(e.$slots, "default")
7701
7711
  ]),
@@ -7710,7 +7720,7 @@ const Ao = {
7710
7720
  }
7711
7721
  }, Wo = /* @__PURE__ */ v(Ao, [["render", Eo]]);
7712
7722
  function Ko(e, t, i, s, n, l) {
7713
- return o(), b(P, {
7723
+ return o(), b(O, {
7714
7724
  name: "expand",
7715
7725
  mode: "out-in",
7716
7726
  css: !1,
@@ -7822,7 +7832,7 @@ const No = {
7822
7832
  }
7823
7833
  }, Do = /* @__PURE__ */ v(No, [["render", Ko]]);
7824
7834
  function Ho(e, t, i, s, n, l) {
7825
- return o(), b(P, _({ name: "fade" }, e.$props), {
7835
+ return o(), b(O, _({ name: "fade" }, e.$props), {
7826
7836
  default: m(() => [
7827
7837
  c(e.$slots, "default")
7828
7838
  ]),
@@ -7837,7 +7847,7 @@ const Fo = {
7837
7847
  }
7838
7848
  }, jo = /* @__PURE__ */ v(Fo, [["render", Ho]]);
7839
7849
  function Uo(e, t, i, s, n, l) {
7840
- return o(), b(P, _({ name: "scale" }, e.$props), {
7850
+ return o(), b(O, _({ name: "scale" }, e.$props), {
7841
7851
  default: m(() => [
7842
7852
  c(e.$slots, "default")
7843
7853
  ]),
@@ -7852,7 +7862,7 @@ const qo = {
7852
7862
  }
7853
7863
  }, Xo = /* @__PURE__ */ v(qo, [["render", Uo]]);
7854
7864
  function Yo(e, t, i, s, n, l) {
7855
- return o(), b(P, _({ name: "scale-fade" }, e.$props), {
7865
+ return o(), b(O, _({ name: "scale-fade" }, e.$props), {
7856
7866
  default: m(() => [
7857
7867
  c(e.$slots, "default")
7858
7868
  ]),
@@ -7867,7 +7877,7 @@ const Go = {
7867
7877
  }
7868
7878
  }, Jo = /* @__PURE__ */ v(Go, [["render", Yo]]);
7869
7879
  function Qo(e, t, i, s, n, l) {
7870
- return o(), b(P, _({ name: l.transitionName }, e.$props), {
7880
+ return o(), b(O, _({ name: l.transitionName }, e.$props), {
7871
7881
  default: m(() => [
7872
7882
  c(e.$slots, "default")
7873
7883
  ]),
@@ -7894,7 +7904,7 @@ const Zo = {
7894
7904
  }
7895
7905
  }, ea = /* @__PURE__ */ v(Zo, [["render", Qo]]);
7896
7906
  function ta(e, t, i, s, n, l) {
7897
- return o(), b(P, _({ name: l.transitionName }, e.$props), {
7907
+ return o(), b(O, _({ name: l.transitionName }, e.$props), {
7898
7908
  default: m(() => [
7899
7909
  c(e.$slots, "default")
7900
7910
  ]),
@@ -7921,7 +7931,7 @@ const ia = {
7921
7931
  }
7922
7932
  }, la = /* @__PURE__ */ v(ia, [["render", ta]]);
7923
7933
  function sa(e, t, i, s, n, l) {
7924
- return o(), b(P, _({ name: "twist" }, e.$props), {
7934
+ return o(), b(O, _({ name: "twist" }, e.$props), {
7925
7935
  default: m(() => [
7926
7936
  c(e.$slots, "default")
7927
7937
  ]),
@@ -7959,7 +7969,7 @@ function da(e, t, i, s, n, l) {
7959
7969
  (h.children || h.branch) && (i.expandOpenIcon && h.open || i.expandIcon) && !(i.unexpandableEmpty && !h.children) ? (o(), b(a, {
7960
7970
  key: 0,
7961
7971
  class: "w-tree__item-expand",
7962
- onClick: z((S) => !i.disabled && !h.disabled && l.onLabelClick(h, S), ["stop"]),
7972
+ onClick: M((S) => !i.disabled && !h.disabled && l.onLabelClick(h, S), ["stop"]),
7963
7973
  color: "inherit",
7964
7974
  icon: h.open && i.expandOpenIcon || i.expandIcon,
7965
7975
  "icon-props": { rotate90a: !h.open },
@@ -8250,7 +8260,7 @@ const ua = {
8250
8260
  WFlex: Si,
8251
8261
  WForm: Ii,
8252
8262
  WFormElement: Li,
8253
- WGrid: Pi,
8263
+ WGrid: Oi,
8254
8264
  WIcon: Mi,
8255
8265
  WImage: Ni,
8256
8266
  WInput: Qi,
@@ -8261,7 +8271,7 @@ const ua = {
8261
8271
  WParallax: fl,
8262
8272
  WProgress: Cl,
8263
8273
  WRadio: Ll,
8264
- WRadios: Ol,
8274
+ WRadios: Pl,
8265
8275
  WRating: Wl,
8266
8276
  WScrollable: Hl,
8267
8277
  WSelect: Gl,
@@ -8274,7 +8284,7 @@ const ua = {
8274
8284
  WTag: wo,
8275
8285
  WTextarea: _o,
8276
8286
  WTimeline: Lo,
8277
- WToolbar: Po,
8287
+ WToolbar: Oo,
8278
8288
  WTooltip: Mo,
8279
8289
  WTransitionBounce: Wo,
8280
8290
  WTransitionExpand: Do,