@stlhorizon/vue-ui 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -26,7 +26,7 @@ function lr(e, a) {
26
26
  function or(e, a) {
27
27
  for (var t = 0; t < a.length; t++) {
28
28
  var n = a[t];
29
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Ha(n.key), n);
29
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Wa(n.key), n);
30
30
  }
31
31
  }
32
32
  function ir(e, a, t) {
@@ -81,8 +81,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
81
81
  }
82
82
  };
83
83
  }
84
- function W(e, a, t) {
85
- return (a = Ha(a)) in e ? Object.defineProperty(e, a, {
84
+ function H(e, a, t) {
85
+ return (a = Wa(a)) in e ? Object.defineProperty(e, a, {
86
86
  value: t,
87
87
  enumerable: !0,
88
88
  configurable: !0,
@@ -135,7 +135,7 @@ function C(e) {
135
135
  for (var a = 1; a < arguments.length; a++) {
136
136
  var t = arguments[a] != null ? arguments[a] : {};
137
137
  a % 2 ? na(Object(t), !0).forEach(function(n) {
138
- W(e, n, t[n]);
138
+ H(e, n, t[n]);
139
139
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : na(Object(t)).forEach(function(n) {
140
140
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
141
141
  });
@@ -158,7 +158,7 @@ function mr(e, a) {
158
158
  }
159
159
  return (a === "string" ? String : Number)(e);
160
160
  }
161
- function Ha(e) {
161
+ function Wa(e) {
162
162
  var a = mr(e, "string");
163
163
  return typeof a == "symbol" ? a : a + "";
164
164
  }
@@ -178,15 +178,15 @@ function Mt(e, a) {
178
178
  }
179
179
  }
180
180
  var ra = function() {
181
- }, Lt = {}, Wa = {}, qa = null, Ua = {
181
+ }, Lt = {}, Ha = {}, qa = null, Ua = {
182
182
  mark: ra,
183
183
  measure: ra
184
184
  };
185
185
  try {
186
- typeof window < "u" && (Lt = window), typeof document < "u" && (Wa = document), typeof MutationObserver < "u" && (qa = MutationObserver), typeof performance < "u" && (Ua = performance);
186
+ typeof window < "u" && (Lt = window), typeof document < "u" && (Ha = document), typeof MutationObserver < "u" && (qa = MutationObserver), typeof performance < "u" && (Ua = performance);
187
187
  } catch {
188
188
  }
189
- var vr = Lt.navigator || {}, sa = vr.userAgent, la = sa === void 0 ? "" : sa, Se = Lt, X = Wa, oa = qa, Ke = Ua;
189
+ var vr = Lt.navigator || {}, sa = vr.userAgent, la = sa === void 0 ? "" : sa, Se = Lt, X = Ha, oa = qa, Ke = Ua;
190
190
  Se.document;
191
191
  var we = !!X.documentElement && !!X.head && typeof X.addEventListener == "function" && typeof X.createElement == "function", Ya = ~la.indexOf("MSIE") || ~la.indexOf("Trident/"), vt, gr = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, hr = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Slab Press|Slab|Whiteboard)?.*/i, Ga = {
192
192
  classic: {
@@ -285,7 +285,7 @@ var we = !!X.documentElement && !!X.head && typeof X.addEventListener == "functi
285
285
  PRIMARY: "primary",
286
286
  SECONDARY: "secondary"
287
287
  }, Ka = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press"], re = "classic", qe = "duotone", Xa = "sharp", Ja = "sharp-duotone", Qa = "chisel", Za = "etch", en = "jelly", tn = "jelly-duo", an = "jelly-fill", nn = "notdog", rn = "notdog-duo", sn = "slab", ln = "slab-press", on = "thumbprint", un = "whiteboard", pr = "Classic", yr = "Duotone", xr = "Sharp", wr = "Sharp Duotone", kr = "Chisel", Sr = "Etch", Cr = "Jelly", $r = "Jelly Duo", zr = "Jelly Fill", Ar = "Notdog", Ir = "Notdog Duo", Pr = "Slab", Tr = "Slab Press", jr = "Thumbprint", Br = "Whiteboard", cn = [re, qe, Xa, Ja, Qa, Za, en, tn, an, nn, rn, sn, ln, on, un];
288
- vt = {}, W(W(W(W(W(W(W(W(W(W(vt, re, pr), qe, yr), Xa, xr), Ja, wr), Qa, kr), Za, Sr), en, Cr), tn, $r), an, zr), nn, Ar), W(W(W(W(W(vt, rn, Ir), sn, Pr), ln, Tr), on, jr), un, Br);
288
+ vt = {}, H(H(H(H(H(H(H(H(H(H(vt, re, pr), qe, yr), Xa, xr), Ja, wr), Qa, kr), Za, Sr), en, Cr), tn, $r), an, zr), nn, Ar), H(H(H(H(H(vt, rn, Ir), sn, Pr), ln, Tr), on, jr), un, Br);
289
289
  var Or = {
290
290
  classic: {
291
291
  900: "fas",
@@ -585,12 +585,12 @@ var Or = {
585
585
  "fa-kit-duotone": "kit-duotone"
586
586
  }
587
587
  }, Nr = ["kit"], _r = "kit", Dr = "kit-duotone", Mr = "Kit", Lr = "Kit Duotone";
588
- W(W({}, _r, Mr), Dr, Lr);
588
+ H(H({}, _r, Mr), Dr, Lr);
589
589
  var Rr = {
590
590
  kit: {
591
591
  "fa-kit": "fak"
592
592
  }
593
- }, Hr = {
593
+ }, Wr = {
594
594
  "Font Awesome Kit": {
595
595
  400: "fak",
596
596
  normal: "fak"
@@ -599,7 +599,7 @@ var Rr = {
599
599
  400: "fakd",
600
600
  normal: "fakd"
601
601
  }
602
- }, Wr = {
602
+ }, Hr = {
603
603
  kit: {
604
604
  fak: "fa-kit"
605
605
  }
@@ -616,9 +616,9 @@ var Rr = {
616
616
  PRIMARY: "primary",
617
617
  SECONDARY: "secondary"
618
618
  }, qr = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press"], Ur = "classic", Yr = "duotone", Gr = "sharp", Kr = "sharp-duotone", Xr = "chisel", Jr = "etch", Qr = "jelly", Zr = "jelly-duo", es = "jelly-fill", ts = "notdog", as = "notdog-duo", ns = "slab", rs = "slab-press", ss = "thumbprint", ls = "whiteboard", os = "Classic", is = "Duotone", us = "Sharp", cs = "Sharp Duotone", ds = "Chisel", fs = "Etch", ms = "Jelly", vs = "Jelly Duo", gs = "Jelly Fill", hs = "Notdog", bs = "Notdog Duo", ps = "Slab", ys = "Slab Press", xs = "Thumbprint", ws = "Whiteboard";
619
- gt = {}, W(W(W(W(W(W(W(W(W(W(gt, Ur, os), Yr, is), Gr, us), Kr, cs), Xr, ds), Jr, fs), Qr, ms), Zr, vs), es, gs), ts, hs), W(W(W(W(W(gt, as, bs), ns, ps), rs, ys), ss, xs), ls, ws);
619
+ gt = {}, H(H(H(H(H(H(H(H(H(H(gt, Ur, os), Yr, is), Gr, us), Kr, cs), Xr, ds), Jr, fs), Qr, ms), Zr, vs), es, gs), ts, hs), H(H(H(H(H(gt, as, bs), ns, ps), rs, ys), ss, xs), ls, ws);
620
620
  var ks = "kit", Ss = "kit-duotone", Cs = "Kit", $s = "Kit Duotone";
621
- W(W({}, ks, Cs), Ss, $s);
621
+ H(H({}, ks, Cs), Ss, $s);
622
622
  var zs = {
623
623
  classic: {
624
624
  "fa-brands": "fab",
@@ -775,7 +775,7 @@ var zs = {
775
775
  "Font Awesome 5 Duotone": {
776
776
  900: "fad"
777
777
  }
778
- }, ye = "___FONT_AWESOME___", St = 16, vn = "fa", gn = "svg-inline--fa", Ie = "data-fa-i2svg", Ct = "data-fa-pseudo-element", Vs = "data-fa-pseudo-element-pending", Rt = "data-prefix", Ht = "data-icon", ca = "fontawesome-i2svg", Fs = "async", Es = ["HTML", "HEAD", "STYLE", "SCRIPT"], hn = ["::before", "::after", ":before", ":after"], bn = (function() {
778
+ }, ye = "___FONT_AWESOME___", St = 16, vn = "fa", gn = "svg-inline--fa", Ie = "data-fa-i2svg", Ct = "data-fa-pseudo-element", Vs = "data-fa-pseudo-element-pending", Rt = "data-prefix", Wt = "data-icon", ca = "fontawesome-i2svg", Fs = "async", Es = ["HTML", "HEAD", "STYLE", "SCRIPT"], hn = ["::before", "::after", ":before", ":after"], bn = (function() {
779
779
  try {
780
780
  return process.env.NODE_ENV === "production";
781
781
  } catch {
@@ -798,25 +798,25 @@ $t[re] = C(C(C(C({}, {
798
798
  duotone: "fad"
799
799
  }), $t[re]), ua.kit), ua["kit-duotone"]);
800
800
  var da = Ue($t), zt = C({}, kt);
801
- zt[re] = C(C({}, zt[re]), Wr.kit);
802
- var Wt = Ue(zt), At = C({}, zs);
801
+ zt[re] = C(C({}, zt[re]), Hr.kit);
802
+ var Ht = Ue(zt), At = C({}, zs);
803
803
  At[re] = C(C({}, At[re]), Rr.kit);
804
804
  Ue(At);
805
805
  var _s = gr, yn = "fa-layers-text", Ds = hr, Ms = C({}, Or);
806
806
  Ue(Ms);
807
807
  var Ls = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], ht = br, Rs = [].concat(me(Nr), me(Bs)), _e = Se.FontAwesomeConfig || {};
808
- function Hs(e) {
808
+ function Ws(e) {
809
809
  var a = X.querySelector("script[" + e + "]");
810
810
  if (a)
811
811
  return a.getAttribute(e);
812
812
  }
813
- function Ws(e) {
813
+ function Hs(e) {
814
814
  return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
815
815
  }
816
816
  if (X && typeof X.querySelector == "function") {
817
817
  var qs = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
818
818
  qs.forEach(function(e) {
819
- var a = ut(e, 2), t = a[0], n = a[1], r = Ws(Hs(t));
819
+ var a = ut(e, 2), t = a[0], n = a[1], r = Hs(Ws(t));
820
820
  r != null && (_e[n] = r);
821
821
  });
822
822
  }
@@ -1564,8 +1564,8 @@ function It(e, a) {
1564
1564
  var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = t.skipHooks, r = n === void 0 ? !1 : n, s = ga(a);
1565
1565
  typeof fe.hooks.addPack == "function" && !r ? fe.hooks.addPack(e, ga(a)) : fe.styles[e] = C(C({}, fe.styles[e] || {}), s), e === "fas" && It("fa", a);
1566
1566
  }
1567
- var He = fe.styles, tl = fe.shims, zn = Object.keys(Wt), al = zn.reduce(function(e, a) {
1568
- return e[a] = Object.keys(Wt[a]), e;
1567
+ var We = fe.styles, tl = fe.shims, zn = Object.keys(Ht), al = zn.reduce(function(e, a) {
1568
+ return e[a] = Object.keys(Ht[a]), e;
1569
1569
  }, {}), Yt = null, An = {}, In = {}, Pn = {}, Tn = {}, jn = {};
1570
1570
  function nl(e) {
1571
1571
  return ~Rs.indexOf(e);
@@ -1576,7 +1576,7 @@ function rl(e, a) {
1576
1576
  }
1577
1577
  var Bn = function() {
1578
1578
  var a = function(s) {
1579
- return pt(He, function(l, i, c) {
1579
+ return pt(We, function(l, i, c) {
1580
1580
  return l[c] = pt(i, s, {}), l;
1581
1581
  }, {});
1582
1582
  };
@@ -1606,7 +1606,7 @@ var Bn = function() {
1606
1606
  r[c] = l;
1607
1607
  }), r;
1608
1608
  });
1609
- var t = "far" in He || F.autoFetchSvg, n = pt(tl, function(r, s) {
1609
+ var t = "far" in We || F.autoFetchSvg, n = pt(tl, function(r, s) {
1610
1610
  var l = s[0], i = s[1], c = s[2];
1611
1611
  return i === "far" && !t && (i = "fas"), typeof l == "string" && (r.names[l] = {
1612
1612
  prefix: i,
@@ -1712,7 +1712,7 @@ function ft(e) {
1712
1712
  return C(C(C({}, A), fl({
1713
1713
  values: e,
1714
1714
  family: S,
1715
- styles: He,
1715
+ styles: We,
1716
1716
  config: F,
1717
1717
  canonical: A,
1718
1718
  givenPrefix: r
@@ -1726,7 +1726,7 @@ function ul(e, a, t) {
1726
1726
  iconName: r
1727
1727
  };
1728
1728
  var s = a === "fa" ? On(r) : {}, l = Ae(n, r);
1729
- return r = s.iconName || l || r, n = s.prefix || n, n === "far" && !He.far && He.fas && !F.autoFetchSvg && (n = "fas"), {
1729
+ return r = s.iconName || l || r, n = s.prefix || n, n === "far" && !We.far && We.fas && !F.autoFetchSvg && (n = "fas"), {
1730
1730
  prefix: n,
1731
1731
  iconName: r
1732
1732
  };
@@ -1763,7 +1763,7 @@ var ml = /* @__PURE__ */ (function() {
1763
1763
  var l = r.reduce(this._pullDefinitions, {});
1764
1764
  Object.keys(l).forEach(function(i) {
1765
1765
  t.definitions[i] = C(C({}, t.definitions[i] || {}), l[i]), It(i, l[i]);
1766
- var c = Wt[re][i];
1766
+ var c = Ht[re][i];
1767
1767
  c && It(c, l[i]), Bn();
1768
1768
  });
1769
1769
  }
@@ -2097,7 +2097,7 @@ function wa(e) {
2097
2097
  return typeof a == "string";
2098
2098
  }
2099
2099
  function Al(e) {
2100
- var a = e.getAttribute ? e.getAttribute(Rt) : null, t = e.getAttribute ? e.getAttribute(Ht) : null;
2100
+ var a = e.getAttribute ? e.getAttribute(Rt) : null, t = e.getAttribute ? e.getAttribute(Wt) : null;
2101
2101
  return a && t;
2102
2102
  }
2103
2103
  function Il(e) {
@@ -2200,7 +2200,7 @@ function Sa(e) {
2200
2200
  if (S.type === "childList" && S.addedNodes.length > 0 && !wa(S.addedNodes[0]) && (F.searchPseudoElements && l(S.target), t(S.target)), S.type === "attributes" && S.target.parentNode && F.searchPseudoElements && l([S.target], !0), S.type === "attributes" && wa(S.target) && ~Ls.indexOf(S.attributeName))
2201
2201
  if (S.attributeName === "class" && Al(S.target)) {
2202
2202
  var A = ft(qt(S.target)), T = A.prefix, z = A.iconName;
2203
- S.target.setAttribute(Rt, T || h), z && S.target.setAttribute(Ht, z);
2203
+ S.target.setAttribute(Rt, T || h), z && S.target.setAttribute(Wt, z);
2204
2204
  } else Il(S.target) && r(S.target);
2205
2205
  });
2206
2206
  }
@@ -2372,7 +2372,7 @@ var Rl = function(a) {
2372
2372
  });
2373
2373
  });
2374
2374
  }
2375
- }, Hl = {
2375
+ }, Wl = {
2376
2376
  mixout: function() {
2377
2377
  return {
2378
2378
  icon: Ll(Rl)
@@ -2430,7 +2430,7 @@ var Rl = function(a) {
2430
2430
  };
2431
2431
  };
2432
2432
  }
2433
- }, Wl = {
2433
+ }, Hl = {
2434
2434
  mixout: function() {
2435
2435
  return {
2436
2436
  layer: function(t) {
@@ -2531,7 +2531,7 @@ var Rl = function(a) {
2531
2531
  normal: "fas",
2532
2532
  400: "fas"
2533
2533
  }
2534
- }), Vr), Os), Hr), Ft = Object.keys(Aa).reduce(function(e, a) {
2534
+ }), Vr), Os), Wr), Ft = Object.keys(Aa).reduce(function(e, a) {
2535
2535
  return e[a.toLowerCase()] = Aa[a], e;
2536
2536
  }, {}), Yl = Object.keys(Ft).reduce(function(e, a) {
2537
2537
  var t = Ft[a];
@@ -2565,7 +2565,7 @@ function Ia(e, a) {
2565
2565
  var I = ll(z);
2566
2566
  I.iconName && I.prefix && (b = I.iconName, T = I.prefix);
2567
2567
  }
2568
- if (b && !g && (!l || l.getAttribute(Rt) !== T || l.getAttribute(Ht) !== y)) {
2568
+ if (b && !g && (!l || l.getAttribute(Rt) !== T || l.getAttribute(Wt) !== y)) {
2569
2569
  e.setAttribute(t, y), l && e.removeChild(l);
2570
2570
  var D = Nl(), R = D.extra;
2571
2571
  R.attributes[Ct] = a, Bt(b, T).then(function(ae) {
@@ -2977,7 +2977,7 @@ var so = {
2977
2977
  }
2978
2978
  };
2979
2979
  }
2980
- }, io = [Zs, Hl, Wl, ql, Ul, to, ao, no, so, lo, oo];
2980
+ }, io = [Zs, Wl, Hl, ql, Ul, to, ao, no, so, lo, oo];
2981
2981
  gl(io, {
2982
2982
  mixoutsTo: ce
2983
2983
  });
@@ -3108,7 +3108,7 @@ function xo(e) {
3108
3108
  return n;
3109
3109
  });
3110
3110
  }
3111
- var wo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Hn = { exports: {} };
3111
+ var wo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Wn = { exports: {} };
3112
3112
  (function(e) {
3113
3113
  (function(a) {
3114
3114
  var t = function(b, y, I) {
@@ -3176,8 +3176,8 @@ var wo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3176
3176
  };
3177
3177
  e.exports ? e.exports = g : a.humps = g;
3178
3178
  })(wo);
3179
- })(Hn);
3180
- var ko = Hn.exports, So = ["class", "style"];
3179
+ })(Wn);
3180
+ var ko = Wn.exports, So = ["class", "style"];
3181
3181
  function Co(e) {
3182
3182
  return e.split(";").map(function(a) {
3183
3183
  return a.trim();
@@ -3224,13 +3224,13 @@ function Qt(e) {
3224
3224
  style: de(de({}, r.style), l)
3225
3225
  }, r.attrs), i), n);
3226
3226
  }
3227
- var Wn = !1;
3227
+ var Hn = !1;
3228
3228
  try {
3229
- Wn = process.env.NODE_ENV === "production";
3229
+ Hn = process.env.NODE_ENV === "production";
3230
3230
  } catch {
3231
3231
  }
3232
3232
  function zo() {
3233
- if (!Wn && console && typeof console.error == "function") {
3233
+ if (!Hn && console && typeof console.error == "function") {
3234
3234
  var e;
3235
3235
  (e = console).error.apply(e, arguments);
3236
3236
  }
@@ -3790,8 +3790,11 @@ const G = {
3790
3790
  }, null, -1),
3791
3791
  u("path", {
3792
3792
  class: "opacity-75",
3793
- fill: "currentColor",
3794
- d: "M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"
3793
+ fill: "none",
3794
+ stroke: "currentColor",
3795
+ "stroke-linecap": "round",
3796
+ "stroke-width": "4",
3797
+ d: "M4 12a8 8 0 018-8"
3795
3798
  }, null, -1)
3796
3799
  ])])) : p("", !0),
3797
3800
  e.loading ? p("", !0) : $(t.$slots, "icon", { key: 1 }),
@@ -4061,7 +4064,7 @@ const G = {
4061
4064
  e.label && e.orientation === "horizontal" ? (o(), d("span", Mo, x(e.label), 1)) : p("", !0)
4062
4065
  ], 2));
4063
4066
  }
4064
- }, Ro = ["aria-label"], Ho = {
4067
+ }, Ro = ["aria-label"], Wo = {
4065
4068
  key: 0,
4066
4069
  class: "sr-only"
4067
4070
  }, qn = {
@@ -4138,10 +4141,10 @@ const G = {
4138
4141
  d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
4139
4142
  }, null, -1)
4140
4143
  ])], 2)),
4141
- e.label ? (o(), d("span", Ho, x(e.label), 1)) : p("", !0)
4144
+ e.label ? (o(), d("span", Wo, x(e.label), 1)) : p("", !0)
4142
4145
  ], 10, Ro));
4143
4146
  }
4144
- }, Wo = ["src", "alt", "loading"], qo = {
4147
+ }, Ho = ["src", "alt", "loading"], qo = {
4145
4148
  __name: "Image",
4146
4149
  props: {
4147
4150
  src: {
@@ -4222,7 +4225,7 @@ const G = {
4222
4225
  loading: e.loading,
4223
4226
  onLoad: S,
4224
4227
  onError: A
4225
- }, null, 42, Wo),
4228
+ }, null, 42, Ho),
4226
4229
  r.value ? (o(), d("div", {
4227
4230
  key: 0,
4228
4231
  class: m(v.value)
@@ -5891,7 +5894,7 @@ const G = {
5891
5894
  })
5892
5895
  ]));
5893
5896
  }
5894
- }, Ri = ["aria-expanded"], Hi = {
5897
+ }, Ri = ["aria-expanded"], Wi = {
5895
5898
  __name: "Dropdown",
5896
5899
  props: {
5897
5900
  triggerText: {
@@ -5987,7 +5990,7 @@ const G = {
5987
5990
  })
5988
5991
  ], 512));
5989
5992
  }
5990
- }, Wi = {
5993
+ }, Hi = {
5991
5994
  key: 1,
5992
5995
  class: "ml-auto text-xs tracking-widest opacity-60"
5993
5996
  }, qi = {
@@ -6034,7 +6037,7 @@ const G = {
6034
6037
  class: "mr-2 h-4 w-4"
6035
6038
  }, null, 8, ["name"])) : p("", !0),
6036
6039
  $(i.$slots, "default"),
6037
- e.shortcut ? (o(), d("span", Wi, x(e.shortcut), 1)) : p("", !0)
6040
+ e.shortcut ? (o(), d("span", Hi, x(e.shortcut), 1)) : p("", !0)
6038
6041
  ]),
6039
6042
  _: 3
6040
6043
  }, 8, ["href", "class", "disabled"]));
@@ -6752,7 +6755,7 @@ const G = {
6752
6755
  _: 3
6753
6756
  }));
6754
6757
  }
6755
- }, We = M([]);
6758
+ }, He = M([]);
6756
6759
  let Fu = 0;
6757
6760
  const Eu = {
6758
6761
  duration: 2e3,
@@ -6767,14 +6770,14 @@ const Eu = {
6767
6770
  ...a,
6768
6771
  createdAt: Date.now()
6769
6772
  };
6770
- return We.value.push(Ma(n)), n.duration && n.duration > 0 && setTimeout(() => {
6773
+ return He.value.push(Ma(n)), n.duration && n.duration > 0 && setTimeout(() => {
6771
6774
  Le(t);
6772
6775
  }, n.duration), t;
6773
6776
  }, Le = (e) => {
6774
- const a = We.value.findIndex((t) => t.id === e);
6775
- a > -1 && We.value.splice(a, 1);
6777
+ const a = He.value.findIndex((t) => t.id === e);
6778
+ a > -1 && He.value.splice(a, 1);
6776
6779
  }, Gn = () => {
6777
- We.value = [];
6780
+ He.value = [];
6778
6781
  }, Fa = Object.assign(
6779
6782
  // Default toast function
6780
6783
  (e, a) => pe(e, { ...a }),
@@ -6824,7 +6827,7 @@ const Eu = {
6824
6827
  })
6825
6828
  }
6826
6829
  ), _u = () => ({
6827
- toasts: We,
6830
+ toasts: He,
6828
6831
  dismiss: Le,
6829
6832
  dismissAll: Gn
6830
6833
  }), Du = ["aria-live"], Mu = { class: "flex-1 grid gap-1" }, Lu = {
@@ -6833,10 +6836,10 @@ const Eu = {
6833
6836
  }, Ru = {
6834
6837
  key: 1,
6835
6838
  class: "text-md opacity-90"
6836
- }, Hu = {
6839
+ }, Wu = {
6837
6840
  key: 2,
6838
6841
  class: "text-md opacity-90"
6839
- }, Wu = ["onClick"], qu = ["onClick"], Uu = {
6842
+ }, Hu = ["onClick"], qu = ["onClick"], Uu = {
6840
6843
  __name: "Toast",
6841
6844
  props: {
6842
6845
  position: {
@@ -6948,7 +6951,7 @@ const Eu = {
6948
6951
  u("div", Mu, [
6949
6952
  g.title ? (o(), d("div", Lu, x(g.title), 1)) : p("", !0),
6950
6953
  g.message ? (o(), d("div", Ru, x(g.message), 1)) : p("", !0),
6951
- g.description ? (o(), d("div", Hu, x(g.description), 1)) : p("", !0),
6954
+ g.description ? (o(), d("div", Wu, x(g.description), 1)) : p("", !0),
6952
6955
  g.component ? (o(), N(ie(g.component), Re({
6953
6956
  key: 3,
6954
6957
  ref_for: !0
@@ -6958,7 +6961,7 @@ const Eu = {
6958
6961
  key: 1,
6959
6962
  onClick: g.action.onClick,
6960
6963
  class: "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-xs font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
6961
- }, x(g.action.label), 9, Wu)) : p("", !0),
6964
+ }, x(g.action.label), 9, Hu)) : p("", !0),
6962
6965
  T(g) ? (o(), d("button", {
6963
6966
  key: 2,
6964
6967
  onClick: (b) => _(n)(g.id),
@@ -7989,10 +7992,10 @@ const Eu = {
7989
7992
  }, Rc = {
7990
7993
  key: 2,
7991
7994
  class: "flex items-center gap-4"
7992
- }, Hc = {
7995
+ }, Wc = {
7993
7996
  key: 3,
7994
7997
  class: "flex items-center gap-4"
7995
- }, Wc = { class: "flex items-center gap-2" }, qc = { class: "flex items-center gap-1" }, Uc = ["disabled"], Yc = ["disabled"], Gc = { class: "flex items-center gap-1" }, Kc = ["onClick"], Xc = ["disabled"], Jc = ["disabled"], Qc = { class: "text-sm text-slate-600 ml-4" }, Jn = {
7998
+ }, Hc = { class: "flex items-center gap-2" }, qc = { class: "flex items-center gap-1" }, Uc = ["disabled"], Yc = ["disabled"], Gc = { class: "flex items-center gap-1" }, Kc = ["onClick"], Xc = ["disabled"], Jc = ["disabled"], Qc = { class: "text-sm text-slate-600 ml-4" }, Jn = {
7996
7999
  __name: "DataTablePagination",
7997
8000
  props: {
7998
8001
  currentPage: {
@@ -8138,8 +8141,8 @@ const Eu = {
8138
8141
  z.$slots.footer ? (o(), d("div", Rc, [
8139
8142
  $(z.$slots, "footer")
8140
8143
  ])) : p("", !0),
8141
- e.showPagination ? (o(), d("div", Hc, [
8142
- u("div", Wc, [
8144
+ e.showPagination ? (o(), d("div", Wc, [
8145
+ u("div", Hc, [
8143
8146
  j(Un, {
8144
8147
  for: "pageSize",
8145
8148
  class: m(S.value),
@@ -8403,30 +8406,30 @@ const Eu = {
8403
8406
  }), A = f(() => {
8404
8407
  let V = [...t.data];
8405
8408
  if (l.value) {
8406
- const H = t.columns.find((J) => J.key === l.value);
8407
- H && V.sort((J, be) => {
8408
- const ze = y(J, H), Ge = y(be, H);
8409
+ const W = t.columns.find((J) => J.key === l.value);
8410
+ W && V.sort((J, be) => {
8411
+ const ze = y(J, W), Ge = y(be, W);
8409
8412
  return ze < Ge ? i.value === "asc" ? -1 : 1 : ze > Ge ? i.value === "asc" ? 1 : -1 : 0;
8410
8413
  });
8411
8414
  }
8412
8415
  return V;
8413
8416
  }), T = f(() => Math.ceil(A.value.length / s.value)), z = f(() => {
8414
8417
  if (!t.showPagination) return A.value;
8415
- const V = (r.value - 1) * s.value, H = V + s.value;
8416
- return A.value.slice(V, H);
8418
+ const V = (r.value - 1) * s.value, W = V + s.value;
8419
+ return A.value.slice(V, W);
8417
8420
  }), w = f(() => {
8418
8421
  let V = t.columns.length;
8419
8422
  return t.selectable && V++, t.$slots?.actions && V++, V;
8420
8423
  }), g = f(() => A.value.length > 0 && A.value.every((V) => D(V))), b = f(() => {
8421
- const V = A.value.filter((H) => D(H)).length;
8424
+ const V = A.value.filter((W) => D(W)).length;
8422
8425
  return V > 0 && V < A.value.length;
8423
- }), y = (V, H) => H.accessor ? H.accessor(V) : H.key.split(".").reduce((J, be) => J?.[be], V), I = (V, H) => V[t.rowKey] || H, D = (V) => t.selectedItems.some(
8424
- (H) => I(H) === I(V)
8426
+ }), y = (V, W) => W.accessor ? W.accessor(V) : W.key.split(".").reduce((J, be) => J?.[be], V), I = (V, W) => V[t.rowKey] || W, D = (V) => t.selectedItems.some(
8427
+ (W) => I(W) === I(V)
8425
8428
  ), R = (V) => {
8426
- const H = [...t.selectedItems], J = H.findIndex(
8429
+ const W = [...t.selectedItems], J = W.findIndex(
8427
8430
  (be) => I(be) === I(V)
8428
8431
  );
8429
- J > -1 ? H.splice(J, 1) : H.push(V), n("selection-change", H);
8432
+ J > -1 ? W.splice(J, 1) : W.push(V), n("selection-change", W);
8430
8433
  }, ae = () => {
8431
8434
  const V = g.value ? [] : [...A.value];
8432
8435
  n("selection-change", V);
@@ -8473,16 +8476,16 @@ const Eu = {
8473
8476
  comfortable: "px-8 py-8"
8474
8477
  }[t.density],
8475
8478
  "text-center"
8476
- )), ee = (V, H) => k(
8479
+ )), ee = (V, W) => k(
8477
8480
  {
8478
- "text-blue-600": l.value === V.key && i.value === H,
8479
- "text-slate-300": l.value !== V.key || i.value !== H
8481
+ "text-blue-600": l.value === V.key && i.value === W,
8482
+ "text-slate-300": l.value !== V.key || i.value !== W
8480
8483
  }
8481
8484
  );
8482
8485
  return ge(() => t.selectedItems, (V) => {
8483
8486
  }, { deep: !0 }), ge(() => t.pageSize, (V) => {
8484
8487
  s.value = V;
8485
- }), (V, H) => (o(), d("div", {
8488
+ }), (V, W) => (o(), d("div", {
8486
8489
  class: m(ne.value)
8487
8490
  }, [
8488
8491
  e.title || e.description || V.$slots.header ? (o(), N(Kn, {
@@ -8532,7 +8535,7 @@ const Eu = {
8532
8535
  viewBox: "0 0 24 24",
8533
8536
  "stroke-width": "1.5",
8534
8537
  stroke: "currentColor"
8535
- }, [...H[2] || (H[2] = [
8538
+ }, [...W[2] || (W[2] = [
8536
8539
  u("path", {
8537
8540
  "stroke-linecap": "round",
8538
8541
  "stroke-linejoin": "round",
@@ -8545,7 +8548,7 @@ const Eu = {
8545
8548
  viewBox: "0 0 24 24",
8546
8549
  "stroke-width": "1.5",
8547
8550
  stroke: "currentColor"
8548
- }, [...H[3] || (H[3] = [
8551
+ }, [...W[3] || (W[3] = [
8549
8552
  u("path", {
8550
8553
  "stroke-linecap": "round",
8551
8554
  "stroke-linejoin": "round",
@@ -8597,7 +8600,7 @@ const Eu = {
8597
8600
  }, [
8598
8601
  $(V.$slots, "empty", {}, () => [
8599
8602
  u("div", sd, [
8600
- H[4] || (H[4] = u("div", { class: "text-slate-400 mb-2" }, [
8603
+ W[4] || (W[4] = u("div", { class: "text-slate-400 mb-2" }, [
8601
8604
  u("svg", {
8602
8605
  class: "w-12 h-12 mx-auto",
8603
8606
  fill: "none",
@@ -8631,8 +8634,8 @@ const Eu = {
8631
8634
  "selected-count": e.selectedItems.length,
8632
8635
  variant: e.paginationVariant,
8633
8636
  padding: e.paginationPadding,
8634
- "onUpdate:currentPage": H[0] || (H[0] = (J) => r.value = J),
8635
- "onUpdate:pageSize": H[1] || (H[1] = (J) => s.value = J)
8637
+ "onUpdate:currentPage": W[0] || (W[0] = (J) => r.value = J),
8638
+ "onUpdate:pageSize": W[1] || (W[1] = (J) => s.value = J)
8636
8639
  }, {
8637
8640
  footer: B(() => [
8638
8641
  $(V.$slots, "footer")
@@ -9480,7 +9483,7 @@ const Eu = {
9480
9483
  ], 2);
9481
9484
  };
9482
9485
  }
9483
- }, Rd = { class: "flex items-center justify-between h-16 px-6" }, Hd = { class: "flex items-center" }, Wd = {
9486
+ }, Rd = { class: "flex items-center justify-between h-16 px-6" }, Wd = { class: "flex items-center" }, Hd = {
9484
9487
  key: 0,
9485
9488
  class: "flex items-center space-x-3 mr-6"
9486
9489
  }, qd = { class: "flex items-center space-x-2 text-sm" }, Ud = { class: "text-gray-500" }, Yd = { class: "text-gray-900 font-medium" }, Gd = { class: "flex items-center space-x-4" }, Kd = { class: "relative" }, Xd = {
@@ -9539,8 +9542,8 @@ const Eu = {
9539
9542
  style: ke({ left: `${e.sidebarWidth}px` })
9540
9543
  }, [
9541
9544
  u("div", Rd, [
9542
- u("div", Hd, [
9543
- e.sidebarCollapsed ? (o(), d("div", Wd, [...b[1] || (b[1] = [
9545
+ u("div", Wd, [
9546
+ e.sidebarCollapsed ? (o(), d("div", Hd, [...b[1] || (b[1] = [
9544
9547
  u("div", { class: "w-8 h-8 bg-blue-600 rounded-lg flex items-center justify-center" }, [
9545
9548
  u("span", { class: "text-white font-bold text-sm" }, "UI")
9546
9549
  ], -1),
@@ -9978,10 +9981,10 @@ const Eu = {
9978
9981
  currentYear: f(() => (/* @__PURE__ */ new Date()).getFullYear())
9979
9982
  };
9980
9983
  }
9981
- }, Of = { class: "container mx-auto px-4 relative z-10" }, Vf = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, Ff = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, Ef = { class: "mb-6" }, Nf = { class: "text-4xl lg:text-6xl font-bold mb-2" }, _f = { class: "text-white" }, Df = { class: "flex items-center justify-center lg:justify-start mb-6" }, Mf = { class: "text-3xl lg:text-4xl font-bold text-white" }, Lf = { class: "lg:col-span-4" }, Rf = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, Hf = {
9984
+ }, Of = { class: "container mx-auto px-4 relative z-10" }, Vf = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, Ff = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, Ef = { class: "mb-6" }, Nf = { class: "text-4xl lg:text-6xl font-bold mb-2" }, _f = { class: "text-white" }, Df = { class: "flex items-center justify-center lg:justify-start mb-6" }, Mf = { class: "text-3xl lg:text-4xl font-bold text-white" }, Lf = { class: "lg:col-span-4" }, Rf = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, Wf = {
9982
9985
  key: 0,
9983
9986
  class: "mb-6"
9984
- }, Wf = { class: "text-center" }, qf = { class: "text-2xl font-bold text-gray-900" }, Uf = {
9987
+ }, Hf = { class: "text-center" }, qf = { class: "text-2xl font-bold text-gray-900" }, Uf = {
9985
9988
  key: 0,
9986
9989
  class: "text-gray-600 mt-2"
9987
9990
  }, Yf = { class: "space-y-6" }, Gf = {
@@ -10032,9 +10035,9 @@ function lm(e, a, t, n, r, s) {
10032
10035
  ]),
10033
10036
  u("div", Lf, [
10034
10037
  u("div", Rf, [
10035
- e.$slots["card-header"] || t.title ? (o(), d("div", Hf, [
10038
+ e.$slots["card-header"] || t.title ? (o(), d("div", Wf, [
10036
10039
  $(e.$slots, "card-header", {}, () => [
10037
- u("div", Wf, [
10040
+ u("div", Hf, [
10038
10041
  u("h1", qf, x(t.title), 1),
10039
10042
  t.subtitle ? (o(), d("p", Uf, x(t.subtitle), 1)) : p("", !0)
10040
10043
  ])
@@ -10513,7 +10516,7 @@ const Cm = /* @__PURE__ */ Qn(hm, [["render", Sm]]), Na = {
10513
10516
  CardContent: Ni,
10514
10517
  CardTitle: _i,
10515
10518
  DatePicker: Li,
10516
- Dropdown: Hi,
10519
+ Dropdown: Wi,
10517
10520
  DropdownItem: qi,
10518
10521
  FileUpload: tu,
10519
10522
  FormField: iu,
@@ -10587,7 +10590,7 @@ export {
10587
10590
  Li as DatePicker,
10588
10591
  mm as DefaultLayout,
10589
10592
  Lo as Divider,
10590
- Hi as Dropdown,
10593
+ Wi as Dropdown,
10591
10594
  qi as DropdownItem,
10592
10595
  Cm as ErrorLayout,
10593
10596
  tu as FileUpload,