metronics-vue 1.0.12 → 1.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var Cn = Object.defineProperty;
2
2
  var Sn = (i, s, t) => s in i ? Cn(i, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[s] = t;
3
3
  var m = (i, s, t) => Sn(i, typeof s != "symbol" ? s + "" : s, t);
4
- import { defineComponent as dt, createElementBlock as L, openBlock as I, normalizeClass as q, renderSlot as B, normalizeStyle as Qe, createCommentVNode as R, createTextVNode as ct, toDisplayString as V, resolveComponent as G, createBlock as st, resolveDynamicComponent as Ee, withCtx as mt, Fragment as et, createElementVNode as M, createVNode as it, mergeProps as tn, withDirectives as le, vShow as In, renderList as yt, vModelCheckbox as ze, vModelSelect as An, withKeys as Ln, provide as Tn, createApp as en, ref as Pn, computed as nn, nextTick as Mn } from "vue";
4
+ import { defineComponent as dt, createElementBlock as A, openBlock as I, normalizeClass as q, renderSlot as B, normalizeStyle as Qe, createCommentVNode as R, createTextVNode as ct, toDisplayString as V, resolveComponent as G, createBlock as st, resolveDynamicComponent as Ee, withCtx as mt, Fragment as J, createElementVNode as M, createVNode as it, mergeProps as tn, withDirectives as le, vShow as In, renderList as yt, vModelCheckbox as ze, vModelSelect as An, withKeys as Ln, provide as Tn, createApp as en, ref as Pn, computed as nn, nextTick as Mn } from "vue";
5
5
  const Y = {
6
6
  geUID(i = "") {
7
7
  return i + Math.floor(Math.random() * (/* @__PURE__ */ new Date()).getTime());
@@ -260,7 +260,7 @@ const Y = {
260
260
  !i || Yt[t] === null || (i.removeEventListener(s, Yt[t]), delete Yt[t]);
261
261
  }
262
262
  };
263
- var J = "top", at = "bottom", ot = "right", Q = "left", xe = "auto", ee = [J, at, ot, Q], zt = "start", Qt = "end", $n = "clippingParents", sn = "viewport", Zt = "popper", Dn = "reference", Ve = /* @__PURE__ */ ee.reduce(function(i, s) {
263
+ var Q = "top", at = "bottom", ot = "right", tt = "left", xe = "auto", ee = [Q, at, ot, tt], zt = "start", Qt = "end", $n = "clippingParents", sn = "viewport", Zt = "popper", Dn = "reference", Ve = /* @__PURE__ */ ee.reduce(function(i, s) {
264
264
  return i.concat([s + "-" + zt, s + "-" + Qt]);
265
265
  }, []), rn = /* @__PURE__ */ [].concat(ee, [xe]).reduce(function(i, s) {
266
266
  return i.concat([s, s + "-" + zt, s + "-" + Qt]);
@@ -466,9 +466,9 @@ var Jn = function(s, t) {
466
466
  })) : s, cn(typeof s != "number" ? s : dn(s, ee));
467
467
  };
468
468
  function Qn(i) {
469
- var s, t = i.state, e = i.name, n = i.options, r = t.elements.arrow, a = t.modifiersData.popperOffsets, o = ht(t.placement), l = Ce(o), c = [Q, ot].indexOf(o) >= 0, d = c ? "height" : "width";
469
+ var s, t = i.state, e = i.name, n = i.options, r = t.elements.arrow, a = t.modifiersData.popperOffsets, o = ht(t.placement), l = Ce(o), c = [tt, ot].indexOf(o) >= 0, d = c ? "height" : "width";
470
470
  if (!(!r || !a)) {
471
- var h = Jn(n.padding, t), b = Oe(r), p = l === "y" ? J : Q, y = l === "y" ? at : ot, E = t.rects.reference[d] + t.rects.reference[l] - a[l] - t.rects.popper[d], k = a[l] - t.rects.reference[l], u = ne(r), g = u ? l === "y" ? u.clientHeight || 0 : u.clientWidth || 0 : 0, f = E / 2 - k / 2, v = h[p], S = g - b[d] - h[y], $ = g / 2 - b[d] / 2 + f, D = Xt(v, $, S), C = l;
471
+ var h = Jn(n.padding, t), b = Oe(r), p = l === "y" ? Q : tt, y = l === "y" ? at : ot, E = t.rects.reference[d] + t.rects.reference[l] - a[l] - t.rects.popper[d], k = a[l] - t.rects.reference[l], u = ne(r), g = u ? l === "y" ? u.clientHeight || 0 : u.clientWidth || 0 : 0, f = E / 2 - k / 2, v = h[p], S = g - b[d] - h[y], $ = g / 2 - b[d] / 2 + f, D = Xt(v, $, S), C = l;
472
472
  t.modifiersData[e] = (s = {}, s[C] = D, s.centerOffset = D - $, s);
473
473
  }
474
474
  }
@@ -510,10 +510,10 @@ function Fe(i) {
510
510
  y: E
511
511
  };
512
512
  p = k.x, E = k.y;
513
- var u = a.hasOwnProperty("x"), g = a.hasOwnProperty("y"), f = Q, v = J, S = window;
513
+ var u = a.hasOwnProperty("x"), g = a.hasOwnProperty("y"), f = tt, v = Q, S = window;
514
514
  if (c) {
515
515
  var $ = ne(t), D = "clientHeight", C = "clientWidth";
516
- if ($ === nt(t) && ($ = Et(t), _t($).position !== "static" && o === "absolute" && (D = "scrollHeight", C = "scrollWidth")), $ = $, n === J || (n === Q || n === ot) && r === Qt) {
516
+ if ($ === nt(t) && ($ = Et(t), _t($).position !== "static" && o === "absolute" && (D = "scrollHeight", C = "scrollWidth")), $ = $, n === Q || (n === tt || n === ot) && r === Qt) {
517
517
  v = at;
518
518
  var x = h && $ === S && S.visualViewport ? S.visualViewport.height : (
519
519
  // $FlowFixMe[prop-missing]
@@ -521,13 +521,13 @@ function Fe(i) {
521
521
  );
522
522
  E -= x - e.height, E *= l ? 1 : -1;
523
523
  }
524
- if (n === Q || (n === J || n === at) && r === Qt) {
524
+ if (n === tt || (n === Q || n === at) && r === Qt) {
525
525
  f = ot;
526
- var A = h && $ === S && S.visualViewport ? S.visualViewport.width : (
526
+ var L = h && $ === S && S.visualViewport ? S.visualViewport.width : (
527
527
  // $FlowFixMe[prop-missing]
528
528
  $[C]
529
529
  );
530
- p -= A - e.width, p *= l ? 1 : -1;
530
+ p -= L - e.width, p *= l ? 1 : -1;
531
531
  }
532
532
  }
533
533
  var O = Object.assign({
@@ -697,7 +697,7 @@ function pi(i, s, t, e) {
697
697
  function hn(i) {
698
698
  var s = i.reference, t = i.element, e = i.placement, n = e ? ht(e) : null, r = e ? Ft(e) : null, a = s.x + s.width / 2 - t.width / 2, o = s.y + s.height / 2 - t.height / 2, l;
699
699
  switch (n) {
700
- case J:
700
+ case Q:
701
701
  l = {
702
702
  x: a,
703
703
  y: s.y - t.height
@@ -715,7 +715,7 @@ function hn(i) {
715
715
  y: o
716
716
  };
717
717
  break;
718
- case Q:
718
+ case tt:
719
719
  l = {
720
720
  x: s.x - t.width,
721
721
  y: o
@@ -747,7 +747,7 @@ function te(i, s) {
747
747
  reference: $,
748
748
  element: f,
749
749
  placement: n
750
- }), C = ye(Object.assign({}, f, D)), x = b === Zt ? C : $, A = {
750
+ }), C = ye(Object.assign({}, f, D)), x = b === Zt ? C : $, L = {
751
751
  top: S.top - x.top + u.top,
752
752
  bottom: x.bottom - S.bottom + u.bottom,
753
753
  left: S.left - x.left + u.left,
@@ -755,12 +755,12 @@ function te(i, s) {
755
755
  }, O = i.modifiersData.offset;
756
756
  if (b === Zt && O) {
757
757
  var P = O[n];
758
- Object.keys(A).forEach(function(T) {
759
- var j = [ot, at].indexOf(T) >= 0 ? 1 : -1, z = [J, at].indexOf(T) >= 0 ? "y" : "x";
760
- A[T] += P[z] * j;
758
+ Object.keys(L).forEach(function(T) {
759
+ var j = [ot, at].indexOf(T) >= 0 ? 1 : -1, z = [Q, at].indexOf(T) >= 0 ? "y" : "x";
760
+ L[T] += P[z] * j;
761
761
  });
762
762
  }
763
- return A;
763
+ return L;
764
764
  }
765
765
  function gi(i, s) {
766
766
  s === void 0 && (s = {});
@@ -800,17 +800,17 @@ function _i(i) {
800
800
  flipVariations: y,
801
801
  allowedAutoPlacements: E
802
802
  }) : bt);
803
- }, []), S = s.rects.reference, $ = s.rects.popper, D = /* @__PURE__ */ new Map(), C = !0, x = v[0], A = 0; A < v.length; A++) {
804
- var O = v[A], P = ht(O), T = Ft(O) === zt, j = [J, at].indexOf(P) >= 0, z = j ? "width" : "height", K = te(s, {
803
+ }, []), S = s.rects.reference, $ = s.rects.popper, D = /* @__PURE__ */ new Map(), C = !0, x = v[0], L = 0; L < v.length; L++) {
804
+ var O = v[L], P = ht(O), T = Ft(O) === zt, j = [Q, at].indexOf(P) >= 0, z = j ? "width" : "height", K = te(s, {
805
805
  placement: O,
806
806
  boundary: d,
807
807
  rootBoundary: h,
808
808
  altBoundary: b,
809
809
  padding: c
810
- }), tt = j ? T ? ot : Q : T ? at : J;
811
- S[z] > $[z] && (tt = ce(tt));
812
- var xt = ce(tt), kt = [];
813
- if (r && kt.push(K[P] <= 0), o && kt.push(K[tt] <= 0, K[xt] <= 0), kt.every(function(qt) {
810
+ }), et = j ? T ? ot : tt : T ? at : Q;
811
+ S[z] > $[z] && (et = ce(et));
812
+ var xt = ce(et), kt = [];
813
+ if (r && kt.push(K[P] <= 0), o && kt.push(K[et] <= 0, K[xt] <= 0), kt.every(function(qt) {
814
814
  return qt;
815
815
  })) {
816
816
  x = O, C = !1;
@@ -858,7 +858,7 @@ function We(i, s, t) {
858
858
  };
859
859
  }
860
860
  function Ye(i) {
861
- return [J, ot, at, Q].some(function(s) {
861
+ return [Q, ot, at, tt].some(function(s) {
862
862
  return i[s] >= 0;
863
863
  });
864
864
  }
@@ -886,10 +886,10 @@ const wi = {
886
886
  fn: vi
887
887
  };
888
888
  function yi(i, s, t) {
889
- var e = ht(i), n = [Q, J].indexOf(e) >= 0 ? -1 : 1, r = typeof t == "function" ? t(Object.assign({}, s, {
889
+ var e = ht(i), n = [tt, Q].indexOf(e) >= 0 ? -1 : 1, r = typeof t == "function" ? t(Object.assign({}, s, {
890
890
  placement: i
891
891
  })) : t, a = r[0], o = r[1];
892
- return a = a || 0, o = (o || 0) * n, [Q, ot].indexOf(e) >= 0 ? {
892
+ return a = a || 0, o = (o || 0) * n, [tt, ot].indexOf(e) >= 0 ? {
893
893
  x: o,
894
894
  y: a
895
895
  } : {
@@ -936,7 +936,7 @@ function Si(i) {
936
936
  altBoundary: d
937
937
  }), u = ht(s.placement), g = Ft(s.placement), f = !g, v = Ce(u), S = Ci(v), $ = s.modifiersData.popperOffsets, D = s.rects.reference, C = s.rects.popper, x = typeof E == "function" ? E(Object.assign({}, s.rects, {
938
938
  placement: s.placement
939
- })) : E, A = typeof x == "number" ? {
939
+ })) : E, L = typeof x == "number" ? {
940
940
  mainAxis: x,
941
941
  altAxis: x
942
942
  } : Object.assign({
@@ -948,14 +948,14 @@ function Si(i) {
948
948
  };
949
949
  if ($) {
950
950
  if (r) {
951
- var T, j = v === "y" ? J : Q, z = v === "y" ? at : ot, K = v === "y" ? "height" : "width", tt = $[v], xt = tt + k[j], kt = tt - k[z], ie = p ? -C[K] / 2 : 0, ge = g === zt ? D[K] : C[K], Kt = g === zt ? -C[K] : -D[K], se = s.elements.arrow, qt = p && se ? Oe(se) : {
951
+ var T, j = v === "y" ? Q : tt, z = v === "y" ? at : ot, K = v === "y" ? "height" : "width", et = $[v], xt = et + k[j], kt = et - k[z], ie = p ? -C[K] / 2 : 0, ge = g === zt ? D[K] : C[K], Kt = g === zt ? -C[K] : -D[K], se = s.elements.arrow, qt = p && se ? Oe(se) : {
952
952
  width: 0,
953
953
  height: 0
954
- }, bt = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : ln(), Wt = bt[j], re = bt[z], Ot = Xt(0, D[K], qt[K]), me = f ? D[K] / 2 - ie - Ot - Wt - A.mainAxis : ge - Ot - Wt - A.mainAxis, wn = f ? -D[K] / 2 + ie + Ot + re + A.mainAxis : Kt + Ot + re + A.mainAxis, _e = s.elements.arrow && ne(s.elements.arrow), yn = _e ? v === "y" ? _e.clientTop || 0 : _e.clientLeft || 0 : 0, Pe = (T = O == null ? void 0 : O[v]) != null ? T : 0, En = tt + me - Pe - yn, xn = tt + wn - Pe, Me = Xt(p ? ue(xt, En) : xt, tt, p ? Rt(kt, xn) : kt);
955
- $[v] = Me, P[v] = Me - tt;
954
+ }, bt = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : ln(), Wt = bt[j], re = bt[z], Ot = Xt(0, D[K], qt[K]), me = f ? D[K] / 2 - ie - Ot - Wt - L.mainAxis : ge - Ot - Wt - L.mainAxis, wn = f ? -D[K] / 2 + ie + Ot + re + L.mainAxis : Kt + Ot + re + L.mainAxis, _e = s.elements.arrow && ne(s.elements.arrow), yn = _e ? v === "y" ? _e.clientTop || 0 : _e.clientLeft || 0 : 0, Pe = (T = O == null ? void 0 : O[v]) != null ? T : 0, En = et + me - Pe - yn, xn = et + wn - Pe, Me = Xt(p ? ue(xt, En) : xt, et, p ? Rt(kt, xn) : kt);
955
+ $[v] = Me, P[v] = Me - et;
956
956
  }
957
957
  if (o) {
958
- var $e, kn = v === "x" ? J : Q, On = v === "x" ? at : ot, Ct = $[S], ae = S === "y" ? "height" : "width", De = Ct + k[kn], Ne = Ct - k[On], be = [J, Q].indexOf(u) !== -1, Be = ($e = O == null ? void 0 : O[S]) != null ? $e : 0, Re = be ? De : Ct - D[ae] - C[ae] - Be + A.altAxis, je = be ? Ct + D[ae] + C[ae] - Be - A.altAxis : Ne, qe = p && be ? Gn(Re, Ct, je) : Xt(p ? Re : De, Ct, p ? je : Ne);
958
+ var $e, kn = v === "x" ? Q : tt, On = v === "x" ? at : ot, Ct = $[S], ae = S === "y" ? "height" : "width", De = Ct + k[kn], Ne = Ct - k[On], be = [Q, tt].indexOf(u) !== -1, Be = ($e = O == null ? void 0 : O[S]) != null ? $e : 0, Re = be ? De : Ct - D[ae] - C[ae] - Be + L.altAxis, je = be ? Ct + D[ae] + C[ae] - Be - L.altAxis : Ne, qe = p && be ? Gn(Re, Ct, je) : Xt(p ? Re : De, Ct, p ? je : Ne);
959
959
  $[S] = qe, P[S] = qe - Ct;
960
960
  }
961
961
  s.modifiersData[e] = P;
@@ -1100,8 +1100,8 @@ function Bi(i) {
1100
1100
  d.rects = {
1101
1101
  reference: Pi(g, ne(f), d.options.strategy === "fixed"),
1102
1102
  popper: Oe(f)
1103
- }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(A) {
1104
- return d.modifiersData[A.name] = Object.assign({}, A.data);
1103
+ }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(L) {
1104
+ return d.modifiersData[L.name] = Object.assign({}, L.data);
1105
1105
  });
1106
1106
  for (var v = 0; v < d.orderedModifiers.length; v++) {
1107
1107
  if (d.reset === !0) {
@@ -4579,7 +4579,7 @@ const N = (i, s) => {
4579
4579
  }
4580
4580
  });
4581
4581
  function zi(i, s, t, e, n, r) {
4582
- return I(), L("div", {
4582
+ return I(), A("div", {
4583
4583
  class: q(["card", { "card-grid": i.grid }])
4584
4584
  }, [
4585
4585
  B(i.$slots, "default")
@@ -4587,19 +4587,19 @@ function zi(i, s, t, e, n, r) {
4587
4587
  }
4588
4588
  const fn = /* @__PURE__ */ N(qi, [["render", zi]]), Vi = {}, Hi = { class: "card-header" };
4589
4589
  function Fi(i, s) {
4590
- return I(), L("div", Hi, [
4590
+ return I(), A("div", Hi, [
4591
4591
  B(i.$slots, "default")
4592
4592
  ]);
4593
4593
  }
4594
4594
  const pn = /* @__PURE__ */ N(Vi, [["render", Fi]]), Ui = {}, Ki = { class: "card-body" };
4595
4595
  function Wi(i, s) {
4596
- return I(), L("div", Ki, [
4596
+ return I(), A("div", Ki, [
4597
4597
  B(i.$slots, "default")
4598
4598
  ]);
4599
4599
  }
4600
4600
  const gn = /* @__PURE__ */ N(Ui, [["render", Wi]]), Yi = {}, Zi = { class: "card-title" };
4601
4601
  function Xi(i, s) {
4602
- return I(), L("h3", Zi, [
4602
+ return I(), A("h3", Zi, [
4603
4603
  B(i.$slots, "default")
4604
4604
  ]);
4605
4605
  }
@@ -4642,7 +4642,7 @@ const mn = /* @__PURE__ */ N(Yi, [["render", Xi]]), Gi = {
4642
4642
  }
4643
4643
  };
4644
4644
  function Ji(i, s, t, e, n, r) {
4645
- return I(), L("div", {
4645
+ return I(), A("div", {
4646
4646
  class: q(["overflow-hidden flex items-center justify-center", { "rounded-full": t.roundedFull, [r.avatarType]: !0 }]),
4647
4647
  style: Qe({ width: `${t.size}px`, height: `${t.size}px` })
4648
4648
  }, [
@@ -4705,7 +4705,7 @@ const Qi = /* @__PURE__ */ N(Gi, [["render", Ji]]), ts = dt({
4705
4705
  }
4706
4706
  });
4707
4707
  function es(i, s, t, e, n, r) {
4708
- return I(), L("span", {
4708
+ return I(), A("span", {
4709
4709
  class: q(["badge gap-1.5", {
4710
4710
  [i.badgeType]: !0,
4711
4711
  [i.badgeSize]: !0,
@@ -4713,7 +4713,7 @@ function es(i, s, t, e, n, r) {
4713
4713
  "badge-pill": i.pilled
4714
4714
  }])
4715
4715
  }, [
4716
- i.withDot ? (I(), L("span", {
4716
+ i.withDot ? (I(), A("span", {
4717
4717
  key: 0,
4718
4718
  class: q(["badge badge-dot size-1.5", { [i.badgeType]: !0 }])
4719
4719
  }, null, 2)) : R("", !0),
@@ -4737,7 +4737,7 @@ const ns = /* @__PURE__ */ N(ts, [["render", es]]), is = dt({
4737
4737
  }
4738
4738
  });
4739
4739
  function ss(i, s, t, e, n, r) {
4740
- return I(), L("i", {
4740
+ return I(), A("i", {
4741
4741
  class: q(i.icon)
4742
4742
  }, null, 2);
4743
4743
  }
@@ -4840,7 +4840,7 @@ function os(i, s, t, e, n, r) {
4840
4840
  }, null, 8, ["name", "type"])) : R("", !0)
4841
4841
  ];
4842
4842
  }),
4843
- i.label ? (I(), L("span", {
4843
+ i.label ? (I(), A("span", {
4844
4844
  key: 0,
4845
4845
  textContent: V(i.label)
4846
4846
  }, null, 8, as)) : R("", !0),
@@ -4857,7 +4857,7 @@ function os(i, s, t, e, n, r) {
4857
4857
  }
4858
4858
  const Te = /* @__PURE__ */ N(rs, [["render", os]]), ls = {}, cs = { class: "flex items-center text-sm font-normal text-gray-500 dark:text-gray-400 gap-2" };
4859
4859
  function ds(i, s) {
4860
- return I(), L("div", cs, [
4860
+ return I(), A("div", cs, [
4861
4861
  B(i.$slots, "default", {}, void 0, !0)
4862
4862
  ]);
4863
4863
  }
@@ -4880,7 +4880,7 @@ const us = /* @__PURE__ */ N(ls, [["render", ds], ["__scopeId", "data-v-32659562
4880
4880
  });
4881
4881
  function fs(i, s, t, e, n, r) {
4882
4882
  const a = G("router-link");
4883
- return I(), L(et, null, [
4883
+ return I(), A(J, null, [
4884
4884
  s[0] || (s[0] = M("span", { class: "kt-breadcrumbs-separator text-gray-400 text-sm" }, " / ", -1)),
4885
4885
  it(a, {
4886
4886
  class: q(["kt-breadcrumbs-el cursor-default", { "hover:text-primary cursor-pointer": !i.noLink }]),
@@ -4902,7 +4902,7 @@ const ps = /* @__PURE__ */ N(hs, [["render", fs]]), gs = dt({
4902
4902
  }
4903
4903
  }), ms = ["data-menu-accordion-expand-all"];
4904
4904
  function _s(i, s, t, e, n, r) {
4905
- return I(), L("div", {
4905
+ return I(), A("div", {
4906
4906
  class: "menu",
4907
4907
  "data-menu": "true",
4908
4908
  "data-menu-accordion-expand-all": i.expandAll
@@ -4919,7 +4919,7 @@ const bs = /* @__PURE__ */ N(gs, [["render", _s]]), vs = dt({
4919
4919
  }
4920
4920
  }), ws = ["data-menu-item-toggle", "data-menu-item-trigger", "data-menu-item-offset", "data-menu-item-placement"];
4921
4921
  function ys(i, s, t, e, n, r) {
4922
- return I(), L("div", {
4922
+ return I(), A("div", {
4923
4923
  class: q(["menu-item", { "menu-item-accordion": i.type === "accordion", "menu-item-dropdown": i.type === "dropdown" }]),
4924
4924
  "data-menu-item-toggle": i.type,
4925
4925
  "data-menu-item-trigger": i.trigger,
@@ -4987,7 +4987,7 @@ function Os(i, s, t, e, n, r) {
4987
4987
  class: q(["menu-title text-sm font-medium menu-item-here:text-gray-900 menu-item-active:text-gray-900 menu-link-hover:text-gray-900", { "text-gray-100 dark:text-gray-900": i.active, [i.textColor]: i.textColor }])
4988
4988
  }, V(i.label), 3),
4989
4989
  B(i.$slots, "right", {}, () => [
4990
- i.showArrow ? (I(), L("span", ks, [
4990
+ i.showArrow ? (I(), A("span", ks, [
4991
4991
  it(a, {
4992
4992
  type: "filled",
4993
4993
  name: "down",
@@ -5014,7 +5014,7 @@ const Cs = /* @__PURE__ */ N(xs, [["render", Os]]), Ss = dt({
5014
5014
  }
5015
5015
  });
5016
5016
  function Is(i, s, t, e, n, r) {
5017
- return I(), L("div", {
5017
+ return I(), A("div", {
5018
5018
  class: q([{ "menu-accordion": i.type == "accordion", "menu-dropdown": i.type == "dropdown", "menu-default": i.useDefault }, "ml-6 my-2"])
5019
5019
  }, [
5020
5020
  B(i.$slots, "default")
@@ -5051,7 +5051,7 @@ const As = /* @__PURE__ */ N(Ss, [["render", Is]]), Ls = {
5051
5051
  }, Ts = { class: "pagination" };
5052
5052
  function Ps(i, s, t, e, n, r) {
5053
5053
  const a = G("KtButton");
5054
- return I(), L("div", Ts, [
5054
+ return I(), A("div", Ts, [
5055
5055
  t.arrows ? (I(), st(a, {
5056
5056
  key: 0,
5057
5057
  "icon-only": "",
@@ -5059,7 +5059,7 @@ function Ps(i, s, t, e, n, r) {
5059
5059
  onClick: s[0] || (s[0] = (o) => i.$emit("update:modelValue", t.modelValue - 1)),
5060
5060
  icon: { name: "black-left", type: "outline" }
5061
5061
  }, null, 8, ["disabled"])) : R("", !0),
5062
- (I(!0), L(et, null, yt(r.visiblePages, (o) => (I(), st(a, {
5062
+ (I(!0), A(J, null, yt(r.visiblePages, (o) => (I(), st(a, {
5063
5063
  label: o,
5064
5064
  class: q({ active: o === t.modelValue }),
5065
5065
  onClick: (l) => i.$emit("update:modelValue", o),
@@ -5190,7 +5190,7 @@ const _n = /* @__PURE__ */ N(Ls, [["render", Ps]]), Ms = {
5190
5190
  }, Ks = ["value"], Ws = ["align"], Ys = { class: "card-footer justify-center md:justify-between flex-col md:flex-row gap-5 text-gray-600 text-2sm font-medium" }, Zs = { class: "flex items-center gap-2" }, Xs = ["value"], Gs = { class: "flex items-center gap-4" };
5191
5191
  function Js(i, s, t, e, n, r) {
5192
5192
  const a = G("KtCardTitle"), o = G("KtCardHeader"), l = G("KtPagination"), c = G("KtCardBody"), d = G("KtCard");
5193
- return I(), L("div", $s, [
5193
+ return I(), A("div", $s, [
5194
5194
  it(d, {
5195
5195
  class: "min-w-full",
5196
5196
  grid: ""
@@ -5221,7 +5221,7 @@ function Js(i, s, t, e, n, r) {
5221
5221
  M("thead", null, [
5222
5222
  B(i.$slots, "header", {}, () => [
5223
5223
  M("tr", null, [
5224
- t.multipleSelect ? (I(), L("th", Ns, [
5224
+ t.multipleSelect ? (I(), A("th", Ns, [
5225
5225
  le(M("input", {
5226
5226
  class: "checkbox checkbox-sm",
5227
5227
  type: "checkbox",
@@ -5231,7 +5231,7 @@ function Js(i, s, t, e, n, r) {
5231
5231
  [ze, r.selectAll]
5232
5232
  ])
5233
5233
  ])) : R("", !0),
5234
- (I(!0), L(et, null, yt(t.columns, (h, b) => (I(), L("th", {
5234
+ (I(!0), A(J, null, yt(t.columns, (h, b) => (I(), A("th", {
5235
5235
  class: q(h.headerClasses),
5236
5236
  align: r.alignment(b),
5237
5237
  width: h.width ? h.width : "300px"
@@ -5240,7 +5240,7 @@ function Js(i, s, t, e, n, r) {
5240
5240
  ])
5241
5241
  ]),
5242
5242
  M("tbody", null, [
5243
- t.loading ? (I(), L("tr", Rs, [
5243
+ t.loading ? (I(), A("tr", Rs, [
5244
5244
  M("td", {
5245
5245
  colspan: t.columns.length + (t.multipleSelect ? 1 : 0)
5246
5246
  }, s[4] || (s[4] = [
@@ -5252,7 +5252,7 @@ function Js(i, s, t, e, n, r) {
5252
5252
  ]), 8, js)
5253
5253
  ])) : R("", !0),
5254
5254
  B(i.$slots, "no-data", {}, () => [
5255
- !t.loading && t.rows.length == 0 ? (I(), L("tr", qs, [
5255
+ !t.loading && t.rows.length == 0 ? (I(), A("tr", qs, [
5256
5256
  M("td", {
5257
5257
  colspan: t.columns.length
5258
5258
  }, [
@@ -5270,8 +5270,8 @@ function Js(i, s, t, e, n, r) {
5270
5270
  ], 8, zs)
5271
5271
  ])) : R("", !0)
5272
5272
  ]),
5273
- t.loading ? R("", !0) : (I(!0), L(et, { key: 1 }, yt(r.data, (h) => B(i.$slots, "body", {}, () => [
5274
- (I(), L("tr", {
5273
+ t.loading ? R("", !0) : (I(!0), A(J, { key: 1 }, yt(r.data, (h) => B(i.$slots, "body", {}, () => [
5274
+ (I(), A("tr", {
5275
5275
  key: h.id,
5276
5276
  onClick: (b) => t.selectable && r.selectRow(h),
5277
5277
  class: q({
@@ -5279,7 +5279,7 @@ function Js(i, s, t, e, n, r) {
5279
5279
  "bg-blue-100 dark:bg-blue-900 hover:bg-blue-200 dark:hover:bg-blue-800": n.selectedRow === h
5280
5280
  })
5281
5281
  }, [
5282
- t.multipleSelect ? (I(), L("td", Us, [
5282
+ t.multipleSelect ? (I(), A("td", Us, [
5283
5283
  le(M("input", {
5284
5284
  class: "checkbox checkbox-sm",
5285
5285
  "onUpdate:modelValue": s[2] || (s[2] = (b) => n.selectedItem = b),
@@ -5290,7 +5290,7 @@ function Js(i, s, t, e, n, r) {
5290
5290
  [ze, n.selectedItem]
5291
5291
  ])
5292
5292
  ])) : R("", !0),
5293
- (I(!0), L(et, null, yt(t.columns, (b, p) => B(i.$slots, `body-cell-${b.name}`, {
5293
+ (I(!0), A(J, null, yt(t.columns, (b, p) => B(i.$slots, `body-cell-${b.name}`, {
5294
5294
  align: r.alignment(p),
5295
5295
  row: h
5296
5296
  }, () => [
@@ -5311,7 +5311,7 @@ function Js(i, s, t, e, n, r) {
5311
5311
  "onUpdate:modelValue": s[3] || (s[3] = (h) => n.perPage = h),
5312
5312
  class: "select select-sm w-16"
5313
5313
  }, [
5314
- (I(!0), L(et, null, yt(t.rowsPerPageOptions, (h) => (I(), L("option", {
5314
+ (I(!0), A(J, null, yt(t.rowsPerPageOptions, (h) => (I(), A("option", {
5315
5315
  value: h,
5316
5316
  key: h
5317
5317
  }, V(h), 9, Xs))), 128))
@@ -5364,7 +5364,7 @@ const Qs = /* @__PURE__ */ N(Ms, [["render", Js]]), tr = {
5364
5364
  class: "switch-label order-1 text-sm text-gray-700"
5365
5365
  };
5366
5366
  function sr(i, s, t, e, n, r) {
5367
- return I(), L("label", er, [
5367
+ return I(), A("label", er, [
5368
5368
  M("input", {
5369
5369
  name: "check",
5370
5370
  type: "checkbox",
@@ -5373,12 +5373,12 @@ function sr(i, s, t, e, n, r) {
5373
5373
  disabled: t.disabled,
5374
5374
  class: "order-2"
5375
5375
  }, null, 40, nr),
5376
- t.label ? (I(), L("span", ir, V(t.label), 1)) : R("", !0)
5376
+ t.label ? (I(), A("span", ir, V(t.label), 1)) : R("", !0)
5377
5377
  ]);
5378
5378
  }
5379
5379
  const rr = /* @__PURE__ */ N(tr, [["render", sr]]), ar = {}, or = { class: "menu-separator" };
5380
5380
  function lr(i, s) {
5381
- return I(), L("div", or);
5381
+ return I(), A("div", or);
5382
5382
  }
5383
5383
  const cr = /* @__PURE__ */ N(ar, [["render", lr]]), dr = {
5384
5384
  props: {
@@ -5450,10 +5450,10 @@ const cr = /* @__PURE__ */ N(ar, [["render", lr]]), dr = {
5450
5450
  function gr(i, s, t, e, n, r) {
5451
5451
  var o, l;
5452
5452
  const a = G("kt-icon");
5453
- return I(), L(et, null, [
5454
- t.label ? (I(), L("label", ur, [
5453
+ return I(), A(J, null, [
5454
+ t.label ? (I(), A("label", ur, [
5455
5455
  ct(V(t.label) + ": ", 1),
5456
- t.required ? (I(), L("span", hr, " * ")) : R("", !0)
5456
+ t.required ? (I(), A("span", hr, " * ")) : R("", !0)
5457
5457
  ])) : R("", !0),
5458
5458
  M("div", {
5459
5459
  class: q({
@@ -5481,7 +5481,7 @@ function gr(i, s, t, e, n, r) {
5481
5481
  onBlur: s[3] || (s[3] = (...c) => r.onBlur && r.onBlur(...c))
5482
5482
  }, null, 42, fr)
5483
5483
  ], 2),
5484
- r.inputRequired && n.touched ? (I(), L("span", pr, " This field is required! ")) : R("", !0)
5484
+ r.inputRequired && n.touched ? (I(), A("span", pr, " This field is required! ")) : R("", !0)
5485
5485
  ], 64);
5486
5486
  }
5487
5487
  const mr = /* @__PURE__ */ N(dr, [["render", gr]]), _r = {
@@ -5498,7 +5498,7 @@ const mr = /* @__PURE__ */ N(dr, [["render", gr]]), _r = {
5498
5498
  }
5499
5499
  }, br = { class: "flex flex-col gap-1 w-full" }, vr = { class: "text-md font-semibold text-gray-700" };
5500
5500
  function wr(i, s, t, e, n, r) {
5501
- return I(), L("div", br, [
5501
+ return I(), A("div", br, [
5502
5502
  M("span", vr, V(t.label), 1),
5503
5503
  M("span", {
5504
5504
  class: q(["text-sm font-normal uppercase text-gray-600 p-2 border border-gray-500 rounded-md", { "border-dashed": t.dashed }])
@@ -5557,10 +5557,10 @@ const yr = /* @__PURE__ */ N(_r, [["render", wr]]), Er = {
5557
5557
  class: "text-xs text-red-500"
5558
5558
  };
5559
5559
  function Sr(i, s, t, e, n, r) {
5560
- return I(), L(et, null, [
5560
+ return I(), A(J, null, [
5561
5561
  M("label", xr, [
5562
5562
  ct(V(t.label) + " ", 1),
5563
- t.required ? (I(), L("span", kr, " * ")) : R("", !0)
5563
+ t.required ? (I(), A("span", kr, " * ")) : R("", !0)
5564
5564
  ]),
5565
5565
  M("textarea", {
5566
5566
  class: q(["textarea text-gray-700", { [r.inputSize]: !0, "border-danger": r.inputRequired && n.isFocused }]),
@@ -5571,12 +5571,12 @@ function Sr(i, s, t, e, n, r) {
5571
5571
  onInput: s[0] || (s[0] = (a) => i.$emit("update:modelValue", a.target.value)),
5572
5572
  onFocus: s[1] || (s[1] = (a) => n.isFocused = !0)
5573
5573
  }, null, 42, Or),
5574
- r.inputRequired && n.isFocused ? (I(), L("span", Cr, " *This field is required ")) : R("", !0)
5574
+ r.inputRequired && n.isFocused ? (I(), A("span", Cr, " *This field is required ")) : R("", !0)
5575
5575
  ], 64);
5576
5576
  }
5577
5577
  const Ir = /* @__PURE__ */ N(Er, [["render", Sr]]), Ar = {
5578
5578
  props: {
5579
- modelValue: [String, Number],
5579
+ modelValue: [String, Number, Array],
5580
5580
  // Fix type declaration
5581
5581
  options: {
5582
5582
  type: Array,
@@ -5610,7 +5610,11 @@ const Ir = /* @__PURE__ */ N(Er, [["render", Sr]]), Ar = {
5610
5610
  type: Boolean,
5611
5611
  default: !1
5612
5612
  },
5613
- label: String
5613
+ label: String,
5614
+ multiple: {
5615
+ type: Boolean,
5616
+ default: !1
5617
+ }
5614
5618
  },
5615
5619
  data() {
5616
5620
  return {
@@ -5628,13 +5632,20 @@ const Ir = /* @__PURE__ */ N(Er, [["render", Sr]]), Ar = {
5628
5632
  return "";
5629
5633
  },
5630
5634
  inputRequired() {
5631
- return this.required && !this.modelValue;
5635
+ return this.required ? this.multiple ? !this.modelValue.length : !this.modelValue : !1;
5632
5636
  }
5633
5637
  },
5634
5638
  methods: {
5635
5639
  handleInput(i) {
5636
- const s = i.target.value;
5637
- this.$emit("update:modelValue", s === "close" ? "" : s);
5640
+ if (this.multiple) {
5641
+ const s = Array.from(i.target.selectedOptions).map(
5642
+ (t) => t.value
5643
+ );
5644
+ this.$emit("update:modelValue", s);
5645
+ } else {
5646
+ const s = i.target.value;
5647
+ this.$emit("update:modelValue", s === "close" ? "" : s);
5648
+ }
5638
5649
  }
5639
5650
  }
5640
5651
  }, Lr = {
@@ -5655,10 +5666,10 @@ const Ir = /* @__PURE__ */ N(Er, [["render", Sr]]), Ar = {
5655
5666
  class: "text-xs text-red-500"
5656
5667
  };
5657
5668
  function Br(i, s, t, e, n, r) {
5658
- return I(), L(et, null, [
5659
- t.label ? (I(), L("label", Lr, [
5669
+ return I(), A(J, null, [
5670
+ t.label ? (I(), A("label", Lr, [
5660
5671
  ct(V(t.label) + " ", 1),
5661
- t.required ? (I(), L("span", Tr, " *")) : R("", !0)
5672
+ t.required ? (I(), A("span", Tr, " *")) : R("", !0)
5662
5673
  ])) : R("", !0),
5663
5674
  M("select", {
5664
5675
  class: q(["select", { [r.inputSize]: !0, "border-danger": r.inputRequired && n.isFocused }]),
@@ -5667,14 +5678,14 @@ function Br(i, s, t, e, n, r) {
5667
5678
  value: t.modelValue,
5668
5679
  disabled: t.disabled
5669
5680
  }, [
5670
- t.resetBtn ? (I(), L("option", Mr, "Reset Selection")) : R("", !0),
5681
+ t.resetBtn ? (I(), A("option", Mr, "Reset Selection")) : R("", !0),
5671
5682
  M("option", $r, "Select " + V(t.placeholder), 1),
5672
- (I(!0), L(et, null, yt(t.options, (a) => (I(), L("option", {
5683
+ (I(!0), A(J, null, yt(t.options, (a) => (I(), A("option", {
5673
5684
  key: a[t.optionValue],
5674
5685
  value: a[t.optionValue]
5675
5686
  }, V(a[t.optionLabel]), 9, Dr))), 128))
5676
5687
  ], 42, Pr),
5677
- r.inputRequired && n.isFocused ? (I(), L("span", Nr, " *This field is required ")) : R("", !0)
5688
+ r.inputRequired && n.isFocused ? (I(), A("span", Nr, " *This field is required ")) : R("", !0)
5678
5689
  ], 64);
5679
5690
  }
5680
5691
  const Ge = /* @__PURE__ */ N(Ar, [["render", Br]]), Rr = {
@@ -5718,7 +5729,7 @@ const Ge = /* @__PURE__ */ N(Ar, [["render", Br]]), Rr = {
5718
5729
  }
5719
5730
  }, jr = ["data-modal-backdrop-static"];
5720
5731
  function qr(i, s, t, e, n, r) {
5721
- return I(), L("div", {
5732
+ return I(), A("div", {
5722
5733
  class: "modal flex items-center",
5723
5734
  ref: "dialog",
5724
5735
  "data-modal-backdrop-static": t.persistent
@@ -5971,8 +5982,8 @@ function Fr() {
5971
5982
  };
5972
5983
  }, function(t, e, n) {
5973
5984
  function r(C, x) {
5974
- for (var A = 0; A < C.length; A++) {
5975
- var O = C[A], P = k[O.id];
5985
+ for (var L = 0; L < C.length; L++) {
5986
+ var O = C[L], P = k[O.id];
5976
5987
  if (P) {
5977
5988
  P.refs++;
5978
5989
  for (var T = 0; T < P.parts.length; T++) P.parts[T](O.parts[T]);
@@ -5984,20 +5995,20 @@ function Fr() {
5984
5995
  }
5985
5996
  }
5986
5997
  function a(C, x) {
5987
- for (var A = [], O = {}, P = 0; P < C.length; P++) {
5988
- var T = C[P], j = x.base ? T[0] + x.base : T[0], z = T[1], K = T[2], tt = T[3], xt = { css: z, media: K, sourceMap: tt };
5989
- O[j] ? O[j].parts.push(xt) : A.push(O[j] = { id: j, parts: [xt] });
5998
+ for (var L = [], O = {}, P = 0; P < C.length; P++) {
5999
+ var T = C[P], j = x.base ? T[0] + x.base : T[0], z = T[1], K = T[2], et = T[3], xt = { css: z, media: K, sourceMap: et };
6000
+ O[j] ? O[j].parts.push(xt) : L.push(O[j] = { id: j, parts: [xt] });
5990
6001
  }
5991
- return A;
6002
+ return L;
5992
6003
  }
5993
6004
  function o(C, x) {
5994
- var A = g(C.insertInto);
5995
- if (!A) throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");
6005
+ var L = g(C.insertInto);
6006
+ if (!L) throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");
5996
6007
  var O = S[S.length - 1];
5997
- if (C.insertAt === "top") O ? O.nextSibling ? A.insertBefore(x, O.nextSibling) : A.appendChild(x) : A.insertBefore(x, A.firstChild), S.push(x);
6008
+ if (C.insertAt === "top") O ? O.nextSibling ? L.insertBefore(x, O.nextSibling) : L.appendChild(x) : L.insertBefore(x, L.firstChild), S.push(x);
5998
6009
  else {
5999
6010
  if (C.insertAt !== "bottom") throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");
6000
- A.appendChild(x);
6011
+ L.appendChild(x);
6001
6012
  }
6002
6013
  }
6003
6014
  function l(C) {
@@ -6015,12 +6026,12 @@ function Fr() {
6015
6026
  return C.attrs.type = "text/css", C.attrs.rel = "stylesheet", h(x, C.attrs), o(C, x), x;
6016
6027
  }
6017
6028
  function h(C, x) {
6018
- Object.keys(x).forEach(function(A) {
6019
- C.setAttribute(A, x[A]);
6029
+ Object.keys(x).forEach(function(L) {
6030
+ C.setAttribute(L, x[L]);
6020
6031
  });
6021
6032
  }
6022
6033
  function b(C, x) {
6023
- var A, O, P, T;
6034
+ var L, O, P, T;
6024
6035
  if (x.transform && C.css) {
6025
6036
  if (!(T = x.transform(C.css))) return function() {
6026
6037
  };
@@ -6028,11 +6039,11 @@ function Fr() {
6028
6039
  }
6029
6040
  if (x.singleton) {
6030
6041
  var j = v++;
6031
- A = f || (f = c(x)), O = p.bind(null, A, j, !1), P = p.bind(null, A, j, !0);
6032
- } else C.sourceMap && typeof URL == "function" && typeof URL.createObjectURL == "function" && typeof URL.revokeObjectURL == "function" && typeof Blob == "function" && typeof btoa == "function" ? (A = d(x), O = E.bind(null, A, x), P = function() {
6033
- l(A), A.href && URL.revokeObjectURL(A.href);
6034
- }) : (A = c(x), O = y.bind(null, A), P = function() {
6035
- l(A);
6042
+ L = f || (f = c(x)), O = p.bind(null, L, j, !1), P = p.bind(null, L, j, !0);
6043
+ } else C.sourceMap && typeof URL == "function" && typeof URL.createObjectURL == "function" && typeof URL.revokeObjectURL == "function" && typeof Blob == "function" && typeof btoa == "function" ? (L = d(x), O = E.bind(null, L, x), P = function() {
6044
+ l(L), L.href && URL.revokeObjectURL(L.href);
6045
+ }) : (L = c(x), O = y.bind(null, L), P = function() {
6046
+ l(L);
6036
6047
  });
6037
6048
  return O(C), function(z) {
6038
6049
  if (z) {
@@ -6041,8 +6052,8 @@ function Fr() {
6041
6052
  } else P();
6042
6053
  };
6043
6054
  }
6044
- function p(C, x, A, O) {
6045
- var P = A ? "" : O.css;
6055
+ function p(C, x, L, O) {
6056
+ var P = L ? "" : O.css;
6046
6057
  if (C.styleSheet) C.styleSheet.cssText = D(x, P);
6047
6058
  else {
6048
6059
  var T = document.createTextNode(P), j = C.childNodes;
@@ -6050,15 +6061,15 @@ function Fr() {
6050
6061
  }
6051
6062
  }
6052
6063
  function y(C, x) {
6053
- var A = x.css, O = x.media;
6054
- if (O && C.setAttribute("media", O), C.styleSheet) C.styleSheet.cssText = A;
6064
+ var L = x.css, O = x.media;
6065
+ if (O && C.setAttribute("media", O), C.styleSheet) C.styleSheet.cssText = L;
6055
6066
  else {
6056
6067
  for (; C.firstChild; ) C.removeChild(C.firstChild);
6057
- C.appendChild(document.createTextNode(A));
6068
+ C.appendChild(document.createTextNode(L));
6058
6069
  }
6059
6070
  }
6060
- function E(C, x, A) {
6061
- var O = A.css, P = A.sourceMap, T = x.convertToAbsoluteUrls === void 0 && P;
6071
+ function E(C, x, L) {
6072
+ var O = L.css, P = L.sourceMap, T = x.convertToAbsoluteUrls === void 0 && P;
6062
6073
  (x.convertToAbsoluteUrls || T) && (O = $(O)), P && (O += `
6063
6074
  /*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(P)))) + " */");
6064
6075
  var j = new Blob([O], { type: "text/css" }), z = C.href;
@@ -6073,8 +6084,8 @@ function Fr() {
6073
6084
  return window && document && document.all && !window.atob;
6074
6085
  }), g = /* @__PURE__ */ function(C) {
6075
6086
  var x = {};
6076
- return function(A) {
6077
- return x[A] === void 0 && (x[A] = C.call(this, A)), x[A];
6087
+ return function(L) {
6088
+ return x[L] === void 0 && (x[L] = C.call(this, L)), x[L];
6078
6089
  };
6079
6090
  }(function(C) {
6080
6091
  return document.querySelector(C);
@@ -6082,10 +6093,10 @@ function Fr() {
6082
6093
  t.exports = function(C, x) {
6083
6094
  if (typeof DEBUG < "u" && DEBUG && typeof document != "object") throw new Error("The style-loader cannot be used in a non-browser environment");
6084
6095
  x = x || {}, x.attrs = typeof x.attrs == "object" ? x.attrs : {}, x.singleton || (x.singleton = u()), x.insertInto || (x.insertInto = "head"), x.insertAt || (x.insertAt = "bottom");
6085
- var A = a(C, x);
6086
- return r(A, x), function(O) {
6087
- for (var P = [], T = 0; T < A.length; T++) {
6088
- var j = A[T], z = k[j.id];
6096
+ var L = a(C, x);
6097
+ return r(L, x), function(O) {
6098
+ for (var P = [], T = 0; T < L.length; T++) {
6099
+ var j = L[T], z = k[j.id];
6089
6100
  z.refs--, P.push(z);
6090
6101
  }
6091
6102
  O && r(a(O, x), x);
@@ -6100,8 +6111,8 @@ function Fr() {
6100
6111
  };
6101
6112
  var D = /* @__PURE__ */ function() {
6102
6113
  var C = [];
6103
- return function(x, A) {
6104
- return C[x] = A, C.filter(Boolean).join(`
6114
+ return function(x, L) {
6115
+ return C[x] = L, C.filter(Boolean).join(`
6105
6116
  `);
6106
6117
  };
6107
6118
  }();
@@ -6225,8 +6236,8 @@ function Fr() {
6225
6236
  function S(C, x) {
6226
6237
  try {
6227
6238
  if (x && (typeof x == "object" || typeof x == "function")) {
6228
- var A = x.then;
6229
- if (typeof A == "function") return void A.call(x, function(O) {
6239
+ var L = x.then;
6240
+ if (typeof L == "function") return void L.call(x, function(O) {
6230
6241
  S(C, O);
6231
6242
  }, v);
6232
6243
  }
@@ -6613,8 +6624,8 @@ function Fr() {
6613
6624
  }).forEach(function(O) {
6614
6625
  C.classList.add(O);
6615
6626
  }), g && k === d.CONFIRM_KEY && C.classList.add(c), C.textContent = f;
6616
- var A = {};
6617
- return A[k] = v, p.setActionValue(A), p.setActionOptionsFor(k, { closeModal: $ }), C.addEventListener("click", function() {
6627
+ var L = {};
6628
+ return L[k] = v, p.setActionValue(L), p.setActionOptionsFor(k, { closeModal: $ }), C.addEventListener("click", function() {
6618
6629
  return b.onAction(k);
6619
6630
  }), D;
6620
6631
  }, E = function(k, u) {
@@ -6699,10 +6710,10 @@ function Fr() {
6699
6710
  r.default.timer && clearTimeout(r.default.timer), O && (r.default.timer = window.setTimeout(function() {
6700
6711
  return a.onAction(l.CANCEL_KEY);
6701
6712
  }, O));
6702
- }, A = function(O) {
6713
+ }, L = function(O) {
6703
6714
  O.closeOnEsc ? document.addEventListener("keyup", E) : document.removeEventListener("keyup", E), O.dangerMode ? g() : f(), $(), C(O.closeOnClickOutside), x(O.timer);
6704
6715
  };
6705
- e.default = A;
6716
+ e.default = L;
6706
6717
  }, function(t, e, n) {
6707
6718
  Object.defineProperty(e, "__esModule", { value: !0 });
6708
6719
  var r = n(1), a = n(3), o = n(37), l = n(38), c = { title: null, text: null, icon: null, buttons: a.defaultButtonList, content: null, className: null, closeOnClickOutside: !0, closeOnEsc: !0, dangerMode: !1, timer: null }, d = Object.assign({}, c);
@@ -6770,7 +6781,7 @@ function Fr() {
6770
6781
  var Ur = Fr();
6771
6782
  const ut = /* @__PURE__ */ Vr(Ur);
6772
6783
  let bn = 1;
6773
- const ro = () => {
6784
+ const ao = () => {
6774
6785
  const i = Pn(null);
6775
6786
  function s() {
6776
6787
  i.value.hide();
@@ -6918,7 +6929,7 @@ const ro = () => {
6918
6929
  }), Yr = ["textContent"];
6919
6930
  function Zr(i, s, t, e, n, r) {
6920
6931
  const a = G("kt-button");
6921
- return I(), L("div", {
6932
+ return I(), A("div", {
6922
6933
  class: q(["modal-header bg-inherit", { "kt-dialog-header-fixed": i.fixed }])
6923
6934
  }, [
6924
6935
  B(i.$slots, "default", {}, () => [
@@ -6939,13 +6950,13 @@ function Zr(i, s, t, e, n, r) {
6939
6950
  }
6940
6951
  const Xr = /* @__PURE__ */ N(Wr, [["render", Zr], ["__scopeId", "data-v-b6ffd26d"]]), Gr = {}, Jr = { class: "modal-body md:min-h-[30vh] p-5" };
6941
6952
  function Qr(i, s) {
6942
- return I(), L("div", Jr, [
6953
+ return I(), A("div", Jr, [
6943
6954
  B(i.$slots, "default")
6944
6955
  ]);
6945
6956
  }
6946
6957
  const ta = /* @__PURE__ */ N(Gr, [["render", Qr]]), ea = {}, na = { class: "modal-footer justify-end" };
6947
6958
  function ia(i, s) {
6948
- return I(), L("div", na, [
6959
+ return I(), A("div", na, [
6949
6960
  B(i.$slots, "default")
6950
6961
  ]);
6951
6962
  }
@@ -6954,7 +6965,7 @@ const sa = /* @__PURE__ */ N(ea, [["render", ia]]), ra = {}, aa = {
6954
6965
  style: { maxWidth: "800px", maxHeight: "90vh" }
6955
6966
  };
6956
6967
  function oa(i, s) {
6957
- return I(), L("div", aa, [
6968
+ return I(), A("div", aa, [
6958
6969
  B(i.$slots, "default")
6959
6970
  ]);
6960
6971
  }
@@ -7033,7 +7044,7 @@ const ua = /* @__PURE__ */ N(ca, [["render", da]]), ha = {
7033
7044
  function fa(i, s, t, e, n, r) {
7034
7045
  var o, l;
7035
7046
  const a = G("kt-icon");
7036
- return t.btnTab ? (I(), L("button", {
7047
+ return t.btnTab ? (I(), A("button", {
7037
7048
  key: 1,
7038
7049
  class: "btn btn-icon",
7039
7050
  onClick: s[1] || (s[1] = (c) => r.selectTab(t.name)),
@@ -7043,7 +7054,7 @@ function fa(i, s, t, e, n, r) {
7043
7054
  name: t.icon,
7044
7055
  class: q({ "text-primary": r.active === t.name })
7045
7056
  }, null, 8, ["name", "class"])
7046
- ])) : (I(), L("button", {
7057
+ ])) : (I(), A("button", {
7047
7058
  key: 0,
7048
7059
  class: q(["tab", { active: r.active === t.name }]),
7049
7060
  onClick: s[0] || (s[0] = (c) => r.selectTab(t.name)),
@@ -7071,7 +7082,7 @@ const pa = /* @__PURE__ */ N(ha, [["render", fa]]), ga = {
7071
7082
  }
7072
7083
  }, ma = { key: 0 };
7073
7084
  function _a(i, s, t, e, n, r) {
7074
- return r.isActive ? (I(), L("div", ma, [
7085
+ return r.isActive ? (I(), A("div", ma, [
7075
7086
  B(i.$slots, "default")
7076
7087
  ])) : R("", !0);
7077
7088
  }
@@ -7084,7 +7095,7 @@ const ba = /* @__PURE__ */ N(ga, [["render", _a]]), va = {
7084
7095
  }
7085
7096
  }, wa = { "data-tabs": "true" };
7086
7097
  function ya(i, s, t, e, n, r) {
7087
- return I(), L("div", wa, [
7098
+ return I(), A("div", wa, [
7088
7099
  B(i.$slots, "default")
7089
7100
  ]);
7090
7101
  }
@@ -7104,7 +7115,7 @@ const Ea = /* @__PURE__ */ N(va, [["render", ya]]), xa = {
7104
7115
  }
7105
7116
  };
7106
7117
  function ka(i, s, t, e, n, r) {
7107
- return I(), L("div", {
7118
+ return I(), A("div", {
7108
7119
  class: q({ "btn-tabs": t.btnTabs, tabs: !t.btnTabs })
7109
7120
  }, [
7110
7121
  B(i.$slots, "default")
@@ -7132,27 +7143,32 @@ const Oa = /* @__PURE__ */ N(xa, [["render", ka]]), Ca = {
7132
7143
  return (i == null ? void 0 : i.label) || "Unnamed Page";
7133
7144
  }
7134
7145
  }
7135
- }, Sa = { class: "text-gray-900 text-lg font-semibold" };
7136
- function Ia(i, s, t, e, n, r) {
7146
+ }, Sa = { class: "text-gray-900 text-lg font-semibold" }, Ia = {
7147
+ key: 1,
7148
+ class: "text-gray-500"
7149
+ };
7150
+ function Aa(i, s, t, e, n, r) {
7137
7151
  const a = G("kt-breadcrumbs-el"), o = G("kt-breadcrumbs");
7138
- return I(), L("div", null, [
7152
+ return I(), A("div", null, [
7139
7153
  M("h1", Sa, V(r.pageTitle), 1),
7140
7154
  it(o, null, {
7141
7155
  default: mt(() => [
7142
- (I(!0), L(et, null, yt(r.computedBreadcrumbs, (l, c) => (I(), st(a, {
7143
- key: c,
7144
- to: l.to,
7145
- label: l.label
7146
- }, null, 8, ["to", "label"]))), 128))
7156
+ (I(!0), A(J, null, yt(r.computedBreadcrumbs, (l, c) => (I(), A(J, { key: c }, [
7157
+ l.to ? (I(), st(a, {
7158
+ key: 0,
7159
+ to: l.to,
7160
+ label: l.label
7161
+ }, null, 8, ["to", "label"])) : (I(), A("span", Ia, V(l.label), 1))
7162
+ ], 64))), 128))
7147
7163
  ]),
7148
7164
  _: 1
7149
7165
  })
7150
7166
  ]);
7151
7167
  }
7152
- const Aa = /* @__PURE__ */ N(Ca, [["render", Ia]]), La = {};
7153
- function Ta(i, s) {
7168
+ const La = /* @__PURE__ */ N(Ca, [["render", Aa]]), Ta = {};
7169
+ function Pa(i, s) {
7154
7170
  const t = G("kt-card");
7155
- return I(), L("div", null, [
7171
+ return I(), A("div", null, [
7156
7172
  it(t, { class: "p-4 animate-pulse flex flex-col gap-4" }, {
7157
7173
  default: mt(() => s[0] || (s[0] = [
7158
7174
  M("div", { class: "max-w-40 bg-gray-500 rounded-md p-2 animate-pulse" }, null, -1),
@@ -7162,7 +7178,7 @@ function Ta(i, s) {
7162
7178
  })
7163
7179
  ]);
7164
7180
  }
7165
- const Pa = /* @__PURE__ */ N(La, [["render", Ta]]), Ma = {
7181
+ const Ma = /* @__PURE__ */ N(Ta, [["render", Pa]]), $a = {
7166
7182
  props: {
7167
7183
  modelValue: String,
7168
7184
  options: {
@@ -7194,34 +7210,34 @@ const Pa = /* @__PURE__ */ N(La, [["render", Ta]]), Ma = {
7194
7210
  this.$emit("update:modelValue", i);
7195
7211
  }
7196
7212
  }
7197
- }, $a = {
7213
+ }, Da = {
7198
7214
  key: 0,
7199
7215
  class: "form-label flex items-center max-w-full pb-2"
7200
- }, Da = {
7216
+ }, Na = {
7201
7217
  key: 0,
7202
7218
  class: "text-danger pl-1"
7203
- }, Na = { class: "btn-group w-full flex" }, Ba = ["onClick", "disabled"], Ra = {
7219
+ }, Ba = { class: "btn-group w-full flex" }, Ra = ["onClick", "disabled"], ja = {
7204
7220
  key: 1,
7205
7221
  class: "text-xs text-red-500"
7206
7222
  };
7207
- function ja(i, s, t, e, n, r) {
7208
- return I(), L(et, null, [
7209
- t.label ? (I(), L("label", $a, [
7223
+ function qa(i, s, t, e, n, r) {
7224
+ return I(), A(J, null, [
7225
+ t.label ? (I(), A("label", Da, [
7210
7226
  ct(V(t.label) + ": ", 1),
7211
- t.required ? (I(), L("span", Da, " * ")) : R("", !0)
7227
+ t.required ? (I(), A("span", Na, " * ")) : R("", !0)
7212
7228
  ])) : R("", !0),
7213
- M("div", Na, [
7214
- (I(!0), L(et, null, yt(t.options, (a, o) => (I(), L("button", {
7229
+ M("div", Ba, [
7230
+ (I(!0), A(J, null, yt(t.options, (a, o) => (I(), A("button", {
7215
7231
  key: a.value,
7216
7232
  class: q(["btn flex-1 justify-center", t.modelValue === a.value ? "btn-primary" : "btn-light"]),
7217
7233
  onClick: (l) => r.setActive(a.value),
7218
7234
  disabled: t.disabled
7219
- }, V(a.name), 11, Ba))), 128))
7235
+ }, V(a.name), 11, Ra))), 128))
7220
7236
  ]),
7221
- i.inputRequired && i.touched ? (I(), L("span", Ra, " This field is required! ")) : R("", !0)
7237
+ i.inputRequired && i.touched ? (I(), A("span", ja, " This field is required! ")) : R("", !0)
7222
7238
  ], 64);
7223
7239
  }
7224
- const qa = /* @__PURE__ */ N(Ma, [["render", ja]]), za = {
7240
+ const za = /* @__PURE__ */ N($a, [["render", qa]]), Va = {
7225
7241
  __name: "KtChip",
7226
7242
  props: {
7227
7243
  label: String,
@@ -7236,11 +7252,11 @@ const qa = /* @__PURE__ */ N(Ma, [["render", ja]]), za = {
7236
7252
  "py-2",
7237
7253
  "font-bold"
7238
7254
  ]);
7239
- return (e, n) => (I(), L("div", {
7255
+ return (e, n) => (I(), A("div", {
7240
7256
  class: q(t.value)
7241
7257
  }, V(i.label), 3));
7242
7258
  }
7243
- }, Va = {
7259
+ }, Ha = {
7244
7260
  props: {
7245
7261
  title: {
7246
7262
  type: String,
@@ -7270,47 +7286,47 @@ const qa = /* @__PURE__ */ N(Ma, [["render", ja]]), za = {
7270
7286
  this.disabled || (this.active = !this.active, await Mn(), this.active ? this.contentHeight = this.$refs.content.scrollHeight + "px" : this.contentHeight = "0px");
7271
7287
  }
7272
7288
  }
7273
- }, Ha = { class: "accordion-item border rounded-xl relative bg-white" }, Fa = ["disabled"], Ua = { class: "text-lg uppercase text-gray-900 font-medium flex gap-3 w-full" }, Ka = {
7289
+ }, Fa = { class: "accordion-item border rounded-xl relative bg-white" }, Ua = ["disabled"], Ka = { class: "text-lg uppercase text-gray-900 font-medium flex gap-3 w-full" }, Wa = {
7274
7290
  key: 0,
7275
7291
  class: "flex items-center"
7276
- }, Wa = {
7292
+ }, Ya = {
7277
7293
  key: 0,
7278
7294
  class: "ki-outline ki-down text-gray-600 text-md"
7279
- }, Ya = {
7295
+ }, Za = {
7280
7296
  key: 1,
7281
7297
  class: "ki-outline ki-up text-gray-600 text-md"
7282
- }, Za = { class: "flex flex-row gap-4 items-center" }, Xa = { key: 0 }, Ga = {
7298
+ }, Xa = { class: "flex flex-row gap-4 items-center" }, Ga = { key: 0 }, Ja = {
7283
7299
  key: 0,
7284
7300
  class: "ki-outline ki-down text-gray-600 text-md"
7285
- }, Ja = {
7301
+ }, Qa = {
7286
7302
  key: 1,
7287
7303
  class: "ki-outline ki-up text-gray-600 text-md"
7288
- }, Qa = {
7304
+ }, to = {
7289
7305
  key: 0,
7290
7306
  class: "tooltip-disabled"
7291
- }, to = { class: "text-gray-700 text-md p-4" };
7292
- function eo(i, s, t, e, n, r) {
7307
+ }, eo = { class: "text-gray-700 text-md p-4" };
7308
+ function no(i, s, t, e, n, r) {
7293
7309
  const a = G("kt-icon");
7294
- return I(), L("div", Ha, [
7310
+ return I(), A("div", Fa, [
7295
7311
  M("button", {
7296
7312
  class: q(["accordion-toggle p-4 flex justify-between items-center w-full", { "opacity-50 cursor-not-allowed": t.disabled }]),
7297
7313
  disabled: t.disabled,
7298
7314
  onClick: s[0] || (s[0] = (...o) => r.toggleAccordion && r.toggleAccordion(...o))
7299
7315
  }, [
7300
- M("span", Ua, [
7301
- t.actionFirst ? (I(), L("div", Ka, [
7302
- n.active ? (I(), L("i", Ya)) : (I(), L("i", Wa))
7316
+ M("span", Ka, [
7317
+ t.actionFirst ? (I(), A("div", Wa, [
7318
+ n.active ? (I(), A("i", Za)) : (I(), A("i", Ya))
7303
7319
  ])) : R("", !0),
7304
7320
  B(i.$slots, "title")
7305
7321
  ]),
7306
- M("div", Za, [
7322
+ M("div", Xa, [
7307
7323
  B(i.$slots, "slot-right"),
7308
- t.actionFirst ? R("", !0) : (I(), L("div", Xa, [
7309
- n.active ? (I(), L("i", Ja)) : (I(), L("i", Ga))
7324
+ t.actionFirst ? R("", !0) : (I(), A("div", Ga, [
7325
+ n.active ? (I(), A("i", Qa)) : (I(), A("i", Ja))
7310
7326
  ]))
7311
7327
  ])
7312
- ], 10, Fa),
7313
- t.disabled ? (I(), L("div", Qa, [
7328
+ ], 10, Ua),
7329
+ t.disabled ? (I(), A("div", to, [
7314
7330
  it(a, {
7315
7331
  class: "text-3xl text-blue-100",
7316
7332
  name: "ki-outline ki-information"
@@ -7325,21 +7341,21 @@ function eo(i, s, t, e, n, r) {
7325
7341
  class: q(["accordion-content transition-all duration-700 ease-in-out", { "border-t": n.active }]),
7326
7342
  style: Qe({ height: n.active ? n.contentHeight : "0px" })
7327
7343
  }, [
7328
- M("div", to, [
7344
+ M("div", eo, [
7329
7345
  B(i.$slots, "content")
7330
7346
  ])
7331
7347
  ], 6)
7332
7348
  ]);
7333
7349
  }
7334
- const no = /* @__PURE__ */ N(Va, [["render", eo]]), vn = {
7350
+ const io = /* @__PURE__ */ N(Ha, [["render", no]]), vn = {
7335
7351
  install(i, s) {
7336
- i.component("KtCard", fn), i.component("KtCardHeader", pn), i.component("KtCardBody", gn), i.component("KtCardTitle", mn), i.component("KtIcon", pe), i.component("KtButton", Te), i.component("KtAvatar", Qi), i.component("KtBreadcrumbs", us), i.component("KtBreadcrumbsEl", ps), i.component("KtMenu", bs), i.component("KtMenuItem", Es), i.component("KtMenuLink", Cs), i.component("KtSubMenu", As), i.component("KtPagination", _n), i.component("KtTable", Qs), i.component("KtBadge", ns), i.component("KtSwitch", rr), i.component("KtSeparator", cr), i.component("KtInput", mr), i.component("KtInputLabel", yr), i.component("KtTextarea", Ir), i.component("KtSelect", Ge), i.component("KtDialog", zr), i.component("KtDialogHeader", Xr), i.component("KtDialogBody", ta), i.component("KtDialogFooter", sa), i.component("KtDialogContent", la), i.component("KtDialogManager", ua), i.component("ktTab", pa), i.component("ktTabPanel", ba), i.component("ktTabPanels", Ea), i.component("ktTabs", Oa), i.component("KtPageTitle", Aa), i.component("KtSkeletonCard", Pa), i.component("KtButtonGroup", qa), i.component("KtSelect", Ge), i.component("KtChip", za), i.component("KtAccordion", no);
7352
+ i.component("KtCard", fn), i.component("KtCardHeader", pn), i.component("KtCardBody", gn), i.component("KtCardTitle", mn), i.component("KtIcon", pe), i.component("KtButton", Te), i.component("KtAvatar", Qi), i.component("KtBreadcrumbs", us), i.component("KtBreadcrumbsEl", ps), i.component("KtMenu", bs), i.component("KtMenuItem", Es), i.component("KtMenuLink", Cs), i.component("KtSubMenu", As), i.component("KtPagination", _n), i.component("KtTable", Qs), i.component("KtBadge", ns), i.component("KtSwitch", rr), i.component("KtSeparator", cr), i.component("KtInput", mr), i.component("KtInputLabel", yr), i.component("KtTextarea", Ir), i.component("KtSelect", Ge), i.component("KtDialog", zr), i.component("KtDialogHeader", Xr), i.component("KtDialogBody", ta), i.component("KtDialogFooter", sa), i.component("KtDialogContent", la), i.component("KtDialogManager", ua), i.component("ktTab", pa), i.component("ktTabPanel", ba), i.component("ktTabPanels", Ea), i.component("ktTabs", Oa), i.component("KtPageTitle", La), i.component("KtSkeletonCard", Ma), i.component("KtButtonGroup", za), i.component("KtSelect", Ge), i.component("KtChip", Va), i.component("KtAccordion", io);
7337
7353
  }
7338
7354
  };
7339
7355
  export {
7340
7356
  Ut as KTComponent,
7341
7357
  vn as KtPlugin,
7342
7358
  Kr as dialog,
7343
- ro as useDialog
7359
+ ao as useDialog
7344
7360
  };
7345
7361
  //# sourceMappingURL=metronics-vue.es.js.map