@modeltables/fontawesome-vuetify 1.5.0 → 1.7.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.
package/dist/index.esm.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Ea, computed as x, watch as ae, h as Pt, warn as Fa, reactive as Xt, watchEffect as Ke, toRef as O, capitalize as Sn, shallowRef as J, Fragment as ce, isRef as va, isReactive as ad, isProxy as rd, toRaw as Ae, camelize as Qr, isVNode as ld, Comment as id, unref as it, getCurrentInstance as od, ref as te, provide as ze, inject as ke, toValue as Ne, createElementVNode as C, normalizeClass as ee, createVNode as S, normalizeStyle as ge, onScopeDispose as Re, effectScope as Zr, useId as yt, onBeforeUnmount as At, onMounted as wn, onUpdated as sd, mergeProps as Y, toRefs as Bo, Text as ud, readonly as el, Transition as Jt, resolveDynamicComponent as cd, nextTick as Ie, withDirectives as $e, toDisplayString as tt, TransitionGroup as tl, vShow as an, createTextVNode as mn, Teleport as dd, onDeactivated as fd, onBeforeMount as Ta, cloneVNode as vd, resolveComponent as Qe, createBlock as Ze, openBlock as me, createSlots as hr, withCtx as Fe, render as Ro, createElementBlock as Pe, createCommentVNode as Ye, onBeforeUpdate as md, withModifiers as ea, renderList as qa } from "vue";
1
+ import { defineComponent as Ea, computed as x, watch as ae, h as Pt, warn as Fa, reactive as Xt, watchEffect as Ge, toRef as O, capitalize as Sn, shallowRef as J, Fragment as ce, isRef as va, isReactive as ad, isProxy as rd, toRaw as Ae, camelize as Qr, isVNode as ld, Comment as id, unref as it, getCurrentInstance as od, ref as te, provide as ze, inject as ke, toValue as Ne, createElementVNode as C, normalizeClass as ee, createVNode as S, normalizeStyle as ge, onScopeDispose as Re, effectScope as Zr, useId as yt, onBeforeUnmount as At, onMounted as wn, onUpdated as sd, mergeProps as Y, toRefs as Bo, Text as ud, readonly as el, Transition as Jt, resolveDynamicComponent as cd, nextTick as Ie, withDirectives as $e, toDisplayString as tt, TransitionGroup as tl, vShow as an, createTextVNode as mn, Teleport as dd, onDeactivated as fd, onBeforeMount as Ta, cloneVNode as vd, resolveComponent as Qe, createBlock as Ze, openBlock as me, createSlots as hr, withCtx as Fe, render as Ro, createElementBlock as Pe, createCommentVNode as Xe, onBeforeUpdate as md, withModifiers as ea, renderList as qa } from "vue";
2
2
  /*!
3
3
  * Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com
4
4
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
@@ -3655,7 +3655,7 @@ const sg = {
3655
3655
  },
3656
3656
  methods: {
3657
3657
  filterDate(e) {
3658
- this.data[this.prop] = e.target.value, this.$emit("filterValue", e);
3658
+ this.data[this.prop] = e, this.$emit("filterValue", e);
3659
3659
  }
3660
3660
  }
3661
3661
  }, _t = (e, t) => {
@@ -3703,7 +3703,7 @@ function Gs(e, t, n) {
3703
3703
  function Ln(e, t, n) {
3704
3704
  return e == null || !t || typeof t != "string" ? n : e[t] !== void 0 ? e[t] : (t = t.replace(/\[(\w+)\]/g, ".$1"), t = t.replace(/^\./, ""), Gs(e, t.split("."), n));
3705
3705
  }
3706
- function Ge(e, t, n) {
3706
+ function Ye(e, t, n) {
3707
3707
  if (t === !0) return e === void 0 ? n : e;
3708
3708
  if (t == null || typeof t == "boolean") return n;
3709
3709
  if (e !== Object(e)) {
@@ -3884,7 +3884,7 @@ class gg {
3884
3884
  }
3885
3885
  function yl(e) {
3886
3886
  const t = Xt({});
3887
- Ke(() => {
3887
+ Ge(() => {
3888
3888
  const a = e();
3889
3889
  for (const r in a)
3890
3890
  t[r] = a[r];
@@ -4440,7 +4440,7 @@ function Rg() {
4440
4440
  return v !== void 0 ? v : c;
4441
4441
  }
4442
4442
  }), i = J();
4443
- Ke(() => {
4443
+ Ge(() => {
4444
4444
  if (r.value) {
4445
4445
  const s = Object.entries(r.value).filter((u) => {
4446
4446
  let [c] = u;
@@ -4703,7 +4703,7 @@ const Oe = M({
4703
4703
  }, "tag"), Rr = Symbol.for("vuetify:theme"), De = M({
4704
4704
  theme: String
4705
4705
  }, "theme");
4706
- function qe(e) {
4706
+ function Ke(e) {
4707
4707
  Ve("provideTheme");
4708
4708
  const t = ke(Rr, null);
4709
4709
  if (!t) throw new Error("Could not find Vuetify theme injection");
@@ -4842,7 +4842,7 @@ const ou = M({
4842
4842
  } = t;
4843
4843
  const {
4844
4844
  themeClasses: a
4845
- } = qe(e), {
4845
+ } = Ke(e), {
4846
4846
  densityClasses: r
4847
4847
  } = Vt(e), {
4848
4848
  borderClasses: l
@@ -5390,7 +5390,7 @@ const lh = M({
5390
5390
  } = t;
5391
5391
  const a = 20, r = 2 * Math.PI * a, l = te(), {
5392
5392
  themeClasses: i
5393
- } = qe(e), {
5393
+ } = Ke(e), {
5394
5394
  sizeClasses: o,
5395
5395
  sizeStyles: s
5396
5396
  } = Jn(e), {
@@ -5412,7 +5412,7 @@ const lh = M({
5412
5412
  const k = Number(e.rotate);
5413
5413
  return e.rounded ? k + P.value / 2 / r * 360 : k;
5414
5414
  });
5415
- return Ke(() => {
5415
+ return Ge(() => {
5416
5416
  m.value = l.value, f.value = l.value;
5417
5417
  }), le(() => S(e.tag, {
5418
5418
  ref: l,
@@ -5477,7 +5477,7 @@ function St(e) {
5477
5477
  };
5478
5478
  }
5479
5479
  const fu = Symbol.for("vuetify:locale");
5480
- function Xe() {
5480
+ function qe() {
5481
5481
  const e = ke(fu);
5482
5482
  if (!e) throw new Error("[Vuetify] Could not find injected locale instance");
5483
5483
  return e;
@@ -5633,7 +5633,7 @@ const uh = M({
5633
5633
  rtlClasses: i
5634
5634
  } = mt(), {
5635
5635
  themeClasses: o
5636
- } = qe(e), {
5636
+ } = Ke(e), {
5637
5637
  locationStyles: s
5638
5638
  } = Wa(e), {
5639
5639
  textColorClasses: u,
@@ -5661,7 +5661,7 @@ const uh = M({
5661
5661
  const {
5662
5662
  resizeRef: Q
5663
5663
  } = en((W) => F.value = W[0].contentRect.width);
5664
- Ke(() => Q.value = a.value);
5664
+ Ge(() => Q.value = a.value);
5665
5665
  });
5666
5666
  const $ = x(() => L.value ? B(_.value) : _.value), j = x(() => L.value ? B(A.value) : A.value);
5667
5667
  function G(Q) {
@@ -5673,7 +5673,7 @@ const uh = M({
5673
5673
  } = h.value.getBoundingClientRect(), Z = k.value ? z - Q.clientX + (re - z) : Q.clientX - W;
5674
5674
  r.value = Math.round(Z / z * w.value);
5675
5675
  }
5676
- return Ke(() => {
5676
+ return Ge(() => {
5677
5677
  h.value = a.value;
5678
5678
  }), le(() => S(e.tag, {
5679
5679
  ref: a,
@@ -6107,7 +6107,7 @@ const tn = {
6107
6107
  } = t;
6108
6108
  const {
6109
6109
  themeClasses: r
6110
- } = qe(e), {
6110
+ } = Ke(e), {
6111
6111
  borderClasses: l
6112
6112
  } = rn(e), {
6113
6113
  densityClasses: i
@@ -6265,12 +6265,12 @@ const tn = {
6265
6265
  slots: a
6266
6266
  } = t;
6267
6267
  const r = ve(e, "modelValue"), l = te();
6268
- Ke(() => {
6268
+ Ge(() => {
6269
6269
  l.value = structuredClone(Ni(r.value));
6270
6270
  });
6271
6271
  const {
6272
6272
  t: i
6273
- } = Xe(), o = x(() => Je(r.value, l.value));
6273
+ } = qe(), o = x(() => Je(r.value, l.value));
6274
6274
  function s(f) {
6275
6275
  return typeof e.disabled == "boolean" ? e.disabled : Array.isArray(e.disabled) ? e.disabled.includes(f) : o.value;
6276
6276
  }
@@ -6593,7 +6593,7 @@ const Dh = M({
6593
6593
  } = t;
6594
6594
  const {
6595
6595
  t: r
6596
- } = Xe(), l = x(() => Array.isArray(e.disabled) ? e.disabled.includes("text") : !!e.disabled), i = x(() => Array.isArray(e.disabled) ? e.disabled.includes("mode") : !!e.disabled), o = x(() => Array.isArray(e.disabled) ? e.disabled.includes("prev-month") : !!e.disabled), s = x(() => Array.isArray(e.disabled) ? e.disabled.includes("next-month") : !!e.disabled), u = x(() => Array.isArray(e.disabled) ? e.disabled.includes("prev-year") : !!e.disabled), c = x(() => Array.isArray(e.disabled) ? e.disabled.includes("next-year") : !!e.disabled);
6596
+ } = qe(), l = x(() => Array.isArray(e.disabled) ? e.disabled.includes("text") : !!e.disabled), i = x(() => Array.isArray(e.disabled) ? e.disabled.includes("mode") : !!e.disabled), o = x(() => Array.isArray(e.disabled) ? e.disabled.includes("prev-month") : !!e.disabled), s = x(() => Array.isArray(e.disabled) ? e.disabled.includes("next-month") : !!e.disabled), u = x(() => Array.isArray(e.disabled) ? e.disabled.includes("prev-year") : !!e.disabled), c = x(() => Array.isArray(e.disabled) ? e.disabled.includes("next-year") : !!e.disabled);
6597
6597
  function d() {
6598
6598
  n("click:prev");
6599
6599
  }
@@ -6865,7 +6865,7 @@ const Dh = M({
6865
6865
  roundedClasses: r
6866
6866
  } = vt(e), {
6867
6867
  t: l
6868
- } = Xe(), {
6868
+ } = qe(), {
6869
6869
  textColorClasses: i,
6870
6870
  textColorStyles: o
6871
6871
  } = ht(() => e.textColor), {
@@ -6937,7 +6937,7 @@ function Rh(e, t) {
6937
6937
  function Ht() {
6938
6938
  const e = ke(Bh);
6939
6939
  if (!e) throw new Error("[Vuetify] Could not find injected date options");
6940
- const t = Xe();
6940
+ const t = qe();
6941
6941
  return Rh(e, t);
6942
6942
  }
6943
6943
  const $h = M({
@@ -7103,7 +7103,7 @@ const Lu = M({
7103
7103
  } = t;
7104
7104
  const r = te(), {
7105
7105
  t: l
7106
- } = Xe(), {
7106
+ } = qe(), {
7107
7107
  daysInMonth: i,
7108
7108
  model: o,
7109
7109
  weekNumbers: s,
@@ -7255,7 +7255,7 @@ const Lu = M({
7255
7255
  };
7256
7256
  });
7257
7257
  });
7258
- Ke(() => {
7258
+ Ge(() => {
7259
7259
  l.value = l.value ?? r.getMonth(r.date());
7260
7260
  });
7261
7261
  function o(s) {
@@ -7361,7 +7361,7 @@ const bn = {
7361
7361
  };
7362
7362
  });
7363
7363
  });
7364
- Ke(() => {
7364
+ Ge(() => {
7365
7365
  l.value = l.value ?? r.getYear(r.date());
7366
7366
  });
7367
7367
  const s = wa();
@@ -7715,7 +7715,7 @@ const Uh = ju("expand-transition", zu()), Uu = ju("expand-x-transition", zu("",
7715
7715
  } = t;
7716
7716
  const {
7717
7717
  themeClasses: a
7718
- } = qe(e), {
7718
+ } = Ke(e), {
7719
7719
  backgroundColorClasses: r,
7720
7720
  backgroundColorStyles: l
7721
7721
  } = nt(() => e.color), {
@@ -7858,7 +7858,7 @@ const Uh = ju("expand-transition", zu()), Uu = ju("expand-x-transition", zu("",
7858
7858
  } = t;
7859
7859
  const r = Ht(), {
7860
7860
  t: l
7861
- } = Xe(), {
7861
+ } = qe(), {
7862
7862
  rtlClasses: i
7863
7863
  } = mt(), o = ve(e, "modelValue", void 0, (V) => Ce(V).map((T) => r.date(T)), (V) => e.multiple ? V : V[0]), s = ve(e, "viewMode"), {
7864
7864
  minDate: u,
@@ -8076,7 +8076,7 @@ const Uh = ju("expand-transition", zu()), Uu = ju("expand-x-transition", zu("",
8076
8076
  function Ua(e) {
8077
8077
  const {
8078
8078
  t
8079
- } = Xe();
8079
+ } = qe();
8080
8080
  function n(a) {
8081
8081
  let {
8082
8082
  name: r,
@@ -8441,7 +8441,7 @@ const da = {
8441
8441
  function ty(e, t) {
8442
8442
  if (!je) return;
8443
8443
  let n;
8444
- Ke(async () => {
8444
+ Ge(async () => {
8445
8445
  n == null || n.stop(), t.isActive.value && e.scrollStrategy && (n = Zr(), await new Promise((a) => setTimeout(a)), n.active && n.run(() => {
8446
8446
  var a;
8447
8447
  typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : (a = da[e.scrollStrategy]) == null || a.call(da, t, e, n);
@@ -8625,7 +8625,7 @@ function sy(e, t) {
8625
8625
  flush: "post"
8626
8626
  });
8627
8627
  const p = wa();
8628
- Ke(() => {
8628
+ Ge(() => {
8629
8629
  p.value && Ie(() => {
8630
8630
  i.value = p.el;
8631
8631
  });
@@ -8839,7 +8839,7 @@ function gy(e, t, n) {
8839
8839
  });
8840
8840
  });
8841
8841
  const s = J(!0);
8842
- r && Ke(() => {
8842
+ r && Ge(() => {
8843
8843
  var d;
8844
8844
  const c = ((d = In.at(-1)) == null ? void 0 : d[0]) === a.uid;
8845
8845
  setTimeout(() => s.value = c);
@@ -9000,7 +9000,7 @@ const Nl = M({
9000
9000
  }
9001
9001
  }), {
9002
9002
  themeClasses: d
9003
- } = qe(e), {
9003
+ } = Ke(e), {
9004
9004
  rtlClasses: v,
9005
9005
  isRtl: m
9006
9006
  } = mt(), {
@@ -9516,7 +9516,7 @@ const Py = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-f
9516
9516
  } = t;
9517
9517
  const {
9518
9518
  themeClasses: l
9519
- } = qe(e), {
9519
+ } = Ke(e), {
9520
9520
  loaderClasses: i
9521
9521
  } = Il(e), {
9522
9522
  focusClasses: o,
@@ -9954,7 +9954,7 @@ const rc = M({
9954
9954
  dimensionStyles: i
9955
9955
  } = St(e), {
9956
9956
  themeClasses: o
9957
- } = qe(e), {
9957
+ } = Ke(e), {
9958
9958
  rtlClasses: s
9959
9959
  } = mt(), {
9960
9960
  InputIcon: u
@@ -10380,7 +10380,7 @@ const By = M({
10380
10380
  const {
10381
10381
  t: r,
10382
10382
  current: l
10383
- } = Xe(), i = Ht(), {
10383
+ } = qe(), i = Ht(), {
10384
10384
  isValid: o,
10385
10385
  parseDate: s,
10386
10386
  formatDate: u,
@@ -10703,7 +10703,7 @@ function Gy(e, t, n, a, r, l) {
10703
10703
  _: 1
10704
10704
  })), [
10705
10705
  [Va, "Search"]
10706
- ]) : Ye("", !0),
10706
+ ]) : Xe("", !0),
10707
10707
  r.showFilters ? $e((me(), Ze(be, {
10708
10708
  key: 1,
10709
10709
  onClick: t[1] || (t[1] = (o) => l.refresh()),
@@ -10716,7 +10716,7 @@ function Gy(e, t, n, a, r, l) {
10716
10716
  _: 1
10717
10717
  })), [
10718
10718
  [Va, "Refresh"]
10719
- ]) : Ye("", !0)
10719
+ ]) : Xe("", !0)
10720
10720
  ], 64);
10721
10721
  }
10722
10722
  const Ky = /* @__PURE__ */ _t(jy, [["render", Gy]]), qy = {
@@ -10807,7 +10807,7 @@ const oc = /* @__PURE__ */ _t(qy, [["render", Xy]]), Jy = {
10807
10807
  } = t;
10808
10808
  const {
10809
10809
  themeClasses: r
10810
- } = qe(e), {
10810
+ } = Ke(e), {
10811
10811
  textColorClasses: l,
10812
10812
  textColorStyles: i
10813
10813
  } = ht(() => e.color), o = x(() => {
@@ -10928,7 +10928,7 @@ const ab = M({
10928
10928
  toggleUpDown: L
10929
10929
  }), i = Ll(e), o = x(() => i.isDisabled.value || i.isReadonly.value), s = J(e.focused), {
10930
10930
  decimalSeparator: u
10931
- } = Xe(), c = x(() => {
10931
+ } = qe(), c = x(() => {
10932
10932
  var I;
10933
10933
  return ((I = e.decimalSeparator) == null ? void 0 : I[0]) || u.value;
10934
10934
  });
@@ -11248,7 +11248,7 @@ const En = /* @__PURE__ */ _t(Jy, [["render", lb]]), ib = (e) => !isNaN(parseFlo
11248
11248
  this.$emit("filterValue", e, t);
11249
11249
  },
11250
11250
  filterDate(e, t) {
11251
- this.$emit("filterDate", e, t);
11251
+ this.$emit("filterValue", e, t);
11252
11252
  }
11253
11253
  }
11254
11254
  }, cb = { key: 0 }, db = { key: 1 }, fb = { key: 0 }, vb = { key: 1 }, mb = { key: 2 };
@@ -11256,7 +11256,7 @@ function gb(e, t, n, a, r, l) {
11256
11256
  const i = Qe("FontAwesomeIcon"), o = Qe("Number"), s = Qe("Date"), u = Qe("Text");
11257
11257
  return n.prop == n.options.Key && n.options.Active ? (me(), Pe("span", cb, [
11258
11258
  S(i, { icon: r.hashTag }, null, 8, ["icon"])
11259
- ])) : n.prop ? (me(), Pe("span", db, [
11259
+ ])) : (me(), Pe("span", db, [
11260
11260
  r.isNumber(r.item[n.prop]) ? (me(), Pe("div", fb, [
11261
11261
  S(o, {
11262
11262
  filter: r.filters[n.prop],
@@ -11278,8 +11278,8 @@ function gb(e, t, n, a, r, l) {
11278
11278
  prop: n.prop,
11279
11279
  onFilterValue: t[2] || (t[2] = (c) => l.filterValue(c, r.filters[n.prop]))
11280
11280
  }, null, 8, ["data", "filter", "prop"])
11281
- ])) : Ye("", !0)
11282
- ])) : Ye("", !0);
11281
+ ])) : Xe("", !0)
11282
+ ]));
11283
11283
  }
11284
11284
  const hb = /* @__PURE__ */ _t(ub, [["render", gb]]), yb = {
11285
11285
  components: {
@@ -11588,11 +11588,11 @@ const Fb = M({
11588
11588
  const r = ve(e, "modelValue"), {
11589
11589
  t: l,
11590
11590
  n: i
11591
- } = Xe(), {
11591
+ } = qe(), {
11592
11592
  isRtl: o
11593
11593
  } = mt(), {
11594
11594
  themeClasses: s
11595
- } = qe(e), {
11595
+ } = Ke(e), {
11596
11596
  width: u
11597
11597
  } = Wt(), c = J(-1);
11598
11598
  Rt(void 0, {
@@ -12066,7 +12066,7 @@ const uc = M({
12066
12066
  } = t;
12067
12067
  const {
12068
12068
  themeClasses: a
12069
- } = qe(e), {
12069
+ } = Ke(e), {
12070
12070
  borderClasses: r
12071
12071
  } = rn(e), {
12072
12072
  colorClasses: l,
@@ -12736,7 +12736,7 @@ q()({
12736
12736
  } = t;
12737
12737
  const {
12738
12738
  themeClasses: a
12739
- } = qe(e), {
12739
+ } = Ke(e), {
12740
12740
  isSelected: r,
12741
12741
  select: l,
12742
12742
  next: i,
@@ -12850,7 +12850,7 @@ const Hb = M({
12850
12850
  } = t;
12851
12851
  const {
12852
12852
  t: l
12853
- } = Xe(), {
12853
+ } = qe(), {
12854
12854
  borderClasses: i
12855
12855
  } = rn(e), {
12856
12856
  densityClasses: o
@@ -12862,7 +12862,7 @@ const Hb = M({
12862
12862
  sizeClasses: c
12863
12863
  } = Jn(e), {
12864
12864
  themeClasses: d
12865
- } = qe(e), v = ve(e, "modelValue"), m = $r(e, yc, !1), y = $r(e, gc, !1), f = _l(e, n), b = O(() => e.link !== !1 && f.isLink.value), g = x(() => !e.disabled && e.link !== !1 && (!!m || e.link || f.isClickable.value)), h = O(() => ({
12865
+ } = Ke(e), v = ve(e, "modelValue"), m = $r(e, yc, !1), y = $r(e, gc, !1), f = _l(e, n), b = O(() => e.link !== !1 && f.isLink.value), g = x(() => !e.disabled && e.link !== !1 && (!!m || e.link || f.isClickable.value)), h = O(() => ({
12866
12866
  "aria-label": l(e.closeLabel),
12867
12867
  disabled: e.disabled,
12868
12868
  onClick(k) {
@@ -13868,7 +13868,7 @@ const np = Xn({
13868
13868
  }
13869
13869
  const {
13870
13870
  themeClasses: B
13871
- } = qe(e), {
13871
+ } = Ke(e), {
13872
13872
  borderClasses: $
13873
13873
  } = rn(e), {
13874
13874
  colorClasses: j,
@@ -14177,8 +14177,8 @@ const np = Xn({
14177
14177
  valueComparator: Function
14178
14178
  }, "list-items"), cp = /* @__PURE__ */ new Set(["item", "divider", "subheader"]);
14179
14179
  function vn(e, t) {
14180
- const n = Ge(t, e.itemTitle, t), a = Ge(t, e.itemValue, n), r = Ge(t, e.itemChildren), l = e.itemProps === !0 ? typeof t == "object" && t != null && !Array.isArray(t) ? "children" in t ? _e(t, ["children"]) : t : void 0 : Ge(t, e.itemProps);
14181
- let i = Ge(t, e.itemType, "item");
14180
+ const n = Ye(t, e.itemTitle, t), a = Ye(t, e.itemValue, n), r = Ye(t, e.itemChildren), l = e.itemProps === !0 ? typeof t == "object" && t != null && !Array.isArray(t) ? "children" in t ? _e(t, ["children"]) : t : void 0 : Ye(t, e.itemProps);
14181
+ let i = Ye(t, e.itemType, "item");
14182
14182
  cp.has(i) || (i = "item");
14183
14183
  const o = {
14184
14184
  title: n,
@@ -14203,7 +14203,7 @@ function Vc(e, t) {
14203
14203
  }
14204
14204
  function dp(e) {
14205
14205
  const t = x(() => Vc(e, e.items)), n = x(() => t.value.some((o) => o.value === null)), a = J(/* @__PURE__ */ new Map()), r = J([]);
14206
- Ke(() => {
14206
+ Ge(() => {
14207
14207
  const o = t.value, s = /* @__PURE__ */ new Map(), u = [];
14208
14208
  for (let c = 0; c < o.length; c++) {
14209
14209
  const d = o[c];
@@ -14258,8 +14258,8 @@ function dp(e) {
14258
14258
  }
14259
14259
  const fp = /* @__PURE__ */ new Set(["item", "divider", "subheader"]);
14260
14260
  function vp(e, t) {
14261
- const n = Bt(t) ? t : Ge(t, e.itemTitle), a = Bt(t) ? t : Ge(t, e.itemValue, void 0), r = Ge(t, e.itemChildren), l = e.itemProps === !0 ? _e(t, ["children"]) : Ge(t, e.itemProps);
14262
- let i = Ge(t, e.itemType, "item");
14261
+ const n = Bt(t) ? t : Ye(t, e.itemTitle), a = Bt(t) ? t : Ye(t, e.itemValue, void 0), r = Ye(t, e.itemChildren), l = e.itemProps === !0 ? _e(t, ["children"]) : Ye(t, e.itemProps);
14262
+ let i = Ye(t, e.itemType, "item");
14263
14263
  fp.has(i) || (i = "item");
14264
14264
  const o = {
14265
14265
  title: n,
@@ -14342,7 +14342,7 @@ const gp = M({
14342
14342
  items: a
14343
14343
  } = mp(e), {
14344
14344
  themeClasses: r
14345
- } = qe(e), {
14345
+ } = Ke(e), {
14346
14346
  backgroundColorClasses: l,
14347
14347
  backgroundColorStyles: i
14348
14348
  } = nt(() => e.bgColor), {
@@ -14505,7 +14505,7 @@ const gp = M({
14505
14505
  }, "virtual");
14506
14506
  function kp(e, t) {
14507
14507
  const n = Wt(), a = J(0);
14508
- Ke(() => {
14508
+ Ge(() => {
14509
14509
  a.value = parseFloat(e.itemHeight || 0);
14510
14510
  });
14511
14511
  const r = J(0), l = J(Math.ceil(
@@ -14520,7 +14520,7 @@ function kp(e, t) {
14520
14520
  resizeRef: d,
14521
14521
  contentRect: v
14522
14522
  } = en();
14523
- Ke(() => {
14523
+ Ge(() => {
14524
14524
  d.value = s.value;
14525
14525
  });
14526
14526
  const m = x(() => {
@@ -14607,7 +14607,7 @@ function kp(e, t) {
14607
14607
  return {
14608
14608
  raw: z,
14609
14609
  index: R,
14610
- key: Ge(z, e.itemKey, R)
14610
+ key: Ye(z, e.itemKey, R)
14611
14611
  };
14612
14612
  }));
14613
14613
  return ae(t, () => {
@@ -14854,7 +14854,7 @@ const Vp = M({
14854
14854
  } = t;
14855
14855
  const {
14856
14856
  t: a
14857
- } = Xe(), r = te(), l = te(), i = te(), {
14857
+ } = qe(), r = te(), l = te(), i = te(), {
14858
14858
  items: o,
14859
14859
  transformIn: s,
14860
14860
  transformOut: u
@@ -15231,7 +15231,7 @@ function Tp(e, t, n, a, r, l) {
15231
15231
  }, null, 8, ["icon"])
15232
15232
  ]),
15233
15233
  _: 1
15234
- })) : Ye("", !0),
15234
+ })) : Xe("", !0),
15235
15235
  r.pageCount > 1 ? (me(), Ze(be, {
15236
15236
  key: 1,
15237
15237
  onClick: t[1] || (t[1] = (o) => l.previousPage(o))
@@ -15243,7 +15243,7 @@ function Tp(e, t, n, a, r, l) {
15243
15243
  }, null, 8, ["icon"])
15244
15244
  ]),
15245
15245
  _: 1
15246
- })) : Ye("", !0)
15246
+ })) : Xe("", !0)
15247
15247
  ])
15248
15248
  ]),
15249
15249
  key: "0"
@@ -15263,7 +15263,7 @@ function Tp(e, t, n, a, r, l) {
15263
15263
  }, null, 8, ["icon"])
15264
15264
  ]),
15265
15265
  _: 1
15266
- })) : Ye("", !0),
15266
+ })) : Xe("", !0),
15267
15267
  r.pageCount > 1 ? (me(), Ze(be, {
15268
15268
  key: 1,
15269
15269
  onClick: t[3] || (t[3] = (o) => l.lastPage(o)),
@@ -15276,7 +15276,7 @@ function Tp(e, t, n, a, r, l) {
15276
15276
  }, null, 8, ["icon"])
15277
15277
  ]),
15278
15278
  _: 1
15279
- })) : Ye("", !0)
15279
+ })) : Xe("", !0)
15280
15280
  ])
15281
15281
  ]),
15282
15282
  key: "1"
@@ -15308,7 +15308,7 @@ function Tp(e, t, n, a, r, l) {
15308
15308
  ]),
15309
15309
  key: "0"
15310
15310
  } : void 0
15311
- ]), 1032, ["value"])) : Ye("", !0)
15311
+ ]), 1032, ["value"])) : Xe("", !0)
15312
15312
  ]),
15313
15313
  _: 1
15314
15314
  })
@@ -15675,7 +15675,7 @@ const Fc = M({
15675
15675
  } = t;
15676
15676
  const {
15677
15677
  t: a
15678
- } = Xe(), {
15678
+ } = qe(), {
15679
15679
  page: r,
15680
15680
  pageCount: l,
15681
15681
  startIndex: i,
@@ -15949,7 +15949,7 @@ function Bc(e) {
15949
15949
  }
15950
15950
  function e1(e, t) {
15951
15951
  const n = te([]), a = te([]), r = te({}), l = te({}), i = te({});
15952
- Ke(() => {
15952
+ Ge(() => {
15953
15953
  var f, b, g;
15954
15954
  const u = (e.headers || Object.keys(e.items[0] ?? {}).map((h) => ({
15955
15955
  key: h,
@@ -16242,7 +16242,7 @@ function zc() {
16242
16242
  return e;
16243
16243
  }
16244
16244
  function u1(e, t, n, a) {
16245
- const r = Xe();
16245
+ const r = qe();
16246
16246
  return {
16247
16247
  sortedItems: x(() => {
16248
16248
  var i, o;
@@ -16319,7 +16319,7 @@ const Wc = M({
16319
16319
  } = t;
16320
16320
  const {
16321
16321
  t: a
16322
- } = Xe(), {
16322
+ } = qe(), {
16323
16323
  toggleSort: r,
16324
16324
  sortBy: l,
16325
16325
  isSorted: i
@@ -16906,7 +16906,7 @@ const Jc = M({
16906
16906
  isGroupOpen: d
16907
16907
  } = Uc(), {
16908
16908
  t: v
16909
- } = Xe(), {
16909
+ } = qe(), {
16910
16910
  mobile: m
16911
16911
  } = Wt(e);
16912
16912
  return le(() => {
@@ -17010,7 +17010,7 @@ const Jc = M({
17010
17010
  } = t;
17011
17011
  const {
17012
17012
  themeClasses: r
17013
- } = qe(e), {
17013
+ } = Ke(e), {
17014
17014
  densityClasses: l
17015
17015
  } = Vt(e);
17016
17016
  return le(() => S(e.tag, {
@@ -17055,10 +17055,10 @@ const Jc = M({
17055
17055
  returnObject: Boolean
17056
17056
  }, "DataTable-items");
17057
17057
  function w1(e, t, n, a) {
17058
- const r = e.returnObject ? t : Ge(t, e.itemValue), l = Ge(t, e.itemSelectable, !0), i = a.reduce((o, s) => (s.key != null && (o[s.key] = Ge(t, s.value)), o), {});
17058
+ const r = e.returnObject ? t : Ye(t, e.itemValue), l = Ye(t, e.itemSelectable, !0), i = a.reduce((o, s) => (s.key != null && (o[s.key] = Ye(t, s.value)), o), {});
17059
17059
  return {
17060
17060
  type: "item",
17061
- key: e.returnObject ? Ge(t, e.itemValue) : r,
17061
+ key: e.returnObject ? Ye(t, e.itemValue) : r,
17062
17062
  index: n,
17063
17063
  value: r,
17064
17064
  selectable: l,
@@ -17143,7 +17143,7 @@ function I1(e, t, n) {
17143
17143
  const h = l || Object.keys(d);
17144
17144
  f = h.length === i;
17145
17145
  for (const p of h) {
17146
- const w = Ge(d, p), P = (s = n == null ? void 0 : n.customKeyFilter) == null ? void 0 : s[p];
17146
+ const w = Ye(d, p), P = (s = n == null ? void 0 : n.customKeyFilter) == null ? void 0 : s[p];
17147
17147
  if (y = P ? P(w, t, c) : r(w, t, c), y !== -1 && y !== !1)
17148
17148
  P ? v[p] = gr(y, t) : m[p] = gr(y, t);
17149
17149
  else if ((n == null ? void 0 : n.filterMode) === "every")
@@ -17166,7 +17166,7 @@ function I1(e, t, n) {
17166
17166
  }
17167
17167
  function _1(e, t, n, a) {
17168
17168
  const r = J([]), l = J(/* @__PURE__ */ new Map()), i = x(() => a != null && a.transform ? it(t).map((s) => [s, a.transform(s)]) : it(t));
17169
- Ke(() => {
17169
+ Ge(() => {
17170
17170
  const s = typeof n == "function" ? n() : it(n), u = typeof s != "string" && typeof s != "number" ? "" : String(s), c = I1(i.value, u, {
17171
17171
  customKeyFilter: {
17172
17172
  ...e.customKeyFilter,
@@ -17415,7 +17415,7 @@ function N1(e, t, n, a, r, l) {
17415
17415
  _: 1
17416
17416
  })), [
17417
17417
  [Va, "Search"]
17418
- ]) : Ye("", !0),
17418
+ ]) : Xe("", !0),
17419
17419
  r.showFilters ? $e((me(), Ze(be, {
17420
17420
  key: 1,
17421
17421
  onClick: t[1] || (t[1] = (d) => l.refresh()),
@@ -17428,7 +17428,7 @@ function N1(e, t, n, a, r, l) {
17428
17428
  _: 1
17429
17429
  })), [
17430
17430
  [Va, "Refresh"]
17431
- ]) : Ye("", !0)
17431
+ ]) : Xe("", !0)
17432
17432
  ]),
17433
17433
  _: 1
17434
17434
  }),
@@ -17457,8 +17457,8 @@ function N1(e, t, n, a, r, l) {
17457
17457
  index: y,
17458
17458
  onSort: (f) => l.sort(f, m, y)
17459
17459
  }, null, 8, ["prop", "index", "onSort"])
17460
- ]))), 256)) : Ye("", !0)
17461
- ])) : Ye("", !0),
17460
+ ]))), 256)) : Xe("", !0)
17461
+ ])) : Xe("", !0),
17462
17462
  v == 0 && r.showFilters ? (me(), Pe("tr", T1, [
17463
17463
  l.isActive(v) ? (me(!0), Pe(ce, { key: 0 }, qa(Object.keys(d), (m, y) => (me(), Pe("td", null, [
17464
17464
  S(s, {
@@ -17470,8 +17470,8 @@ function N1(e, t, n, a, r, l) {
17470
17470
  onFilterDate: (f) => l.filterDate(f, r.filters[m]),
17471
17471
  onFilterValue: (f) => l.filterValue(f, r.filters[m])
17472
17472
  }, null, 8, ["item", "filters", "showFilters", "options", "prop", "onFilterDate", "onFilterValue"])
17473
- ]))), 256)) : Ye("", !0)
17474
- ])) : Ye("", !0),
17473
+ ]))), 256)) : Xe("", !0)
17474
+ ])) : Xe("", !0),
17475
17475
  C("tr", {
17476
17476
  onDblclick: (m) => l.updateItem(d, m)
17477
17477
  }, [
@@ -17482,7 +17482,7 @@ function N1(e, t, n, a, r, l) {
17482
17482
  options: r.options,
17483
17483
  index: y
17484
17484
  }, null, 8, ["item", "prop", "options", "index"])
17485
- ]))), 256)) : Ye("", !0)
17485
+ ]))), 256)) : Xe("", !0)
17486
17486
  ], 40, D1)
17487
17487
  ]),
17488
17488
  _: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modeltables/fontawesome-vuetify",
3
- "version": "1.5.0",
3
+ "version": "1.7.0",
4
4
  "description": "",
5
5
  "main": "./components/index.d.ts",
6
6
  "type": "module",