sprintify-ui 0.0.95 → 0.0.97

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.
@@ -2181,12 +2181,12 @@ function pt(e) {
2181
2181
  }
2182
2182
  function Kl(e, o, n = {}) {
2183
2183
  function r() {
2184
- window.removeEventListener("mousedown", l);
2184
+ window.removeEventListener("mousedown", l, { capture: !0 });
2185
2185
  }
2186
2186
  const i = He(
2187
2187
  () => ji(e),
2188
2188
  (u) => {
2189
- u && (r(), window.addEventListener("mousedown", l));
2189
+ u && (r(), window.addEventListener("mousedown", l, { capture: !0 }));
2190
2190
  },
2191
2191
  { immediate: !0 }
2192
2192
  );
@@ -2195,10 +2195,11 @@ function Kl(e, o, n = {}) {
2195
2195
  const p = ji(e), m = (g = (h = n.includes) == null ? void 0 : h.map(ji)) != null ? g : [];
2196
2196
  if (!p)
2197
2197
  return;
2198
- const v = p.contains(u.target), d = m.some(
2198
+ const v = p.contains(u.target);
2199
+ let d = !1;
2200
+ m.length > 0 && (d = m.some(
2199
2201
  (w) => w == null ? void 0 : w.contains(u.target)
2200
- );
2201
- o(!v && !d);
2202
+ )), o(!v && !d);
2202
2203
  }
2203
2204
  const a = () => {
2204
2205
  r(), i();
@@ -4979,7 +4980,7 @@ function va({ slot: e = oe({}), name: o = "Description", props: n = {} } = {}) {
4979
4980
  }
4980
4981
  return $e(pa, { register: i, slot: e, name: o, props: n }), J(() => r.value.length > 0 ? r.value.join(" ") : void 0);
4981
4982
  }
4982
- let Pg = me({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${At()}` } }, setup(e, { attrs: o, slots: n }) {
4983
+ let Lg = me({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${At()}` } }, setup(e, { attrs: o, slots: n }) {
4983
4984
  let r = Sf();
4984
4985
  return Re(() => Ut(r.register(e.id))), () => {
4985
4986
  let { name: i = "Description", slot: l = oe({}), props: a = {} } = r, { id: u, ...p } = e, m = { ...Object.entries(a).reduce((v, [d, s]) => Object.assign(v, { [d]: P(s) }), {}), id: u };
@@ -7490,10 +7491,10 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7490
7491
  ]), 1032, ["url", "url-query", "default-query", "searchable", "actions", "history-mode"]);
7491
7492
  };
7492
7493
  }
7493
- }), qh = { class: "relative" }, Rh = { class: "pointer-events-none absolute top-0 left-0 flex h-full items-center justify-center pl-2.5" }, Dh = ["value", "disabled", "placeholder"], Fh = {
7494
+ }), qh = { class: "pointer-events-none absolute top-0 left-0 flex h-10 items-center justify-center pl-2.5" }, Rh = ["value", "disabled", "placeholder"], Dh = {
7494
7495
  key: 0,
7495
- class: "absolute top-0 right-0 flex h-full items-center justify-center p-1"
7496
- }, Uh = /* @__PURE__ */ me({
7496
+ class: "absolute top-0 right-0 flex h-10 items-center justify-center p-1"
7497
+ }, Fh = /* @__PURE__ */ me({
7497
7498
  __name: "BaseDatePicker",
7498
7499
  props: {
7499
7500
  modelValue: {
@@ -7527,6 +7528,10 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7527
7528
  name: {
7528
7529
  default: void 0,
7529
7530
  type: String
7531
+ },
7532
+ inline: {
7533
+ default: !1,
7534
+ type: Boolean
7530
7535
  }
7531
7536
  },
7532
7537
  emits: ["update:modelValue"],
@@ -7565,6 +7570,7 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7565
7570
  theme: "pikaday-white",
7566
7571
  field: a.value,
7567
7572
  yearRange: n.yearRange,
7573
+ bound: !n.inline,
7568
7574
  i18n: {
7569
7575
  previousMonth: l.t("sui.previous_month"),
7570
7576
  nextMonth: l.t("sui.next_month"),
@@ -7606,8 +7612,10 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7606
7612
  function h(g, w = !1) {
7607
7613
  return w ? g.unshift(g.pop()) : g.push(g.shift()), g;
7608
7614
  }
7609
- return (g, w) => (U(), te("div", qh, [
7610
- D("div", Rh, [
7615
+ return (g, w) => (U(), te("div", {
7616
+ class: ue(["base-date-picker relative", { "base-date-picker--inline": e.inline }])
7617
+ }, [
7618
+ D("div", qh, [
7611
7619
  de(P(je), {
7612
7620
  class: "relative -top-px h-5 w-5 text-slate-400",
7613
7621
  icon: "heroicons:calendar"
@@ -7620,10 +7628,10 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7620
7628
  type: "text",
7621
7629
  readonly: "",
7622
7630
  disabled: e.disabled,
7623
- class: ue(["w-full rounded pl-10 pr-16 disabled:cursor-not-allowed disabled:text-slate-300", [P(r) ? "border-red-500" : "border-slate-300"]]),
7631
+ class: ue(["h-10 w-full rounded pl-10 pr-16 disabled:cursor-not-allowed disabled:text-slate-300", [P(r) ? "border-red-500" : "border-slate-300"]]),
7624
7632
  placeholder: g.$t("sui.click_or_select_date")
7625
- }, null, 10, Dh),
7626
- P(v) && !e.disabled ? (U(), te("div", Fh, [
7633
+ }, null, 10, Rh),
7634
+ P(v) && !e.disabled ? (U(), te("div", Dh, [
7627
7635
  D("button", {
7628
7636
  type: "button",
7629
7637
  class: "flex h-8 items-center rounded p-1 hover:bg-slate-200",
@@ -7635,24 +7643,25 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7635
7643
  })
7636
7644
  ])
7637
7645
  ])) : we("", !0)
7638
- ]));
7646
+ ], 2));
7639
7647
  }
7640
- }), zh = { class: "-m-0.5 flex" }, Vh = { class: "w-auto p-0.5" }, Hh = ["disabled", "required", "placeholder"], Kh = {
7648
+ });
7649
+ const Uh = { class: "-m-0.5 flex" }, zh = { class: "w-auto p-0.5" }, Vh = ["disabled", "required", "placeholder"], Hh = {
7641
7650
  disabled: "",
7642
7651
  selected: "",
7643
7652
  hidden: "",
7644
7653
  value: null
7645
- }, Gh = ["value"], Wh = { class: "w-auto p-0.5" }, Yh = ["disabled", "required", "placeholder"], Qh = {
7654
+ }, Kh = ["value"], Gh = { class: "w-auto p-0.5" }, Wh = ["disabled", "required", "placeholder"], Yh = {
7646
7655
  disabled: "",
7647
7656
  selected: "",
7648
7657
  hidden: "",
7649
7658
  value: null
7650
- }, Zh = ["value"], Xh = { class: "w-auto p-0.5" }, Jh = ["disabled", "required", "placeholder"], ep = {
7659
+ }, Qh = ["value"], Zh = { class: "w-auto p-0.5" }, Xh = ["disabled", "required", "placeholder"], Jh = {
7651
7660
  disabled: "",
7652
7661
  selected: "",
7653
7662
  hidden: "",
7654
7663
  value: null
7655
- }, tp = ["value"], np = ["disabled"], rp = /* @__PURE__ */ me({
7664
+ }, ep = ["value"], tp = ["disabled"], np = /* @__PURE__ */ me({
7656
7665
  __name: "BaseDateSelect",
7657
7666
  props: {
7658
7667
  modelValue: {
@@ -7728,8 +7737,8 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7728
7737
  }
7729
7738
  const h = J(() => p.value.length == 0 || n.disabled);
7730
7739
  return (g, w) => (U(), te("div", null, [
7731
- D("div", zh, [
7732
- D("div", Vh, [
7740
+ D("div", Uh, [
7741
+ D("div", zh, [
7733
7742
  lt(D("select", {
7734
7743
  "onUpdate:modelValue": w[0] || (w[0] = (c) => P(m).year = c),
7735
7744
  disabled: e.disabled,
@@ -7744,16 +7753,16 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7744
7753
  placeholder: g.$t("sui.year"),
7745
7754
  onChange: w[1] || (w[1] = (c) => v())
7746
7755
  }, [
7747
- D("option", Kh, ke(g.$t("sui.year")), 1),
7756
+ D("option", Hh, ke(g.$t("sui.year")), 1),
7748
7757
  (U(!0), te(Le, null, qe(P(a), (c) => (U(), te("option", {
7749
7758
  key: c,
7750
7759
  value: c
7751
- }, ke(c), 9, Gh))), 128))
7752
- ], 42, Hh), [
7760
+ }, ke(c), 9, Kh))), 128))
7761
+ ], 42, Vh), [
7753
7762
  [$i, P(m).year]
7754
7763
  ])
7755
7764
  ]),
7756
- D("div", Wh, [
7765
+ D("div", Gh, [
7757
7766
  lt(D("select", {
7758
7767
  "onUpdate:modelValue": w[2] || (w[2] = (c) => P(m).month = c),
7759
7768
  disabled: e.disabled,
@@ -7768,16 +7777,16 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7768
7777
  placeholder: g.$t("sui.month"),
7769
7778
  onChange: w[3] || (w[3] = (c) => v())
7770
7779
  }, [
7771
- D("option", Qh, ke(g.$t("sui.month")), 1),
7780
+ D("option", Yh, ke(g.$t("sui.month")), 1),
7772
7781
  (U(!0), te(Le, null, qe(P(u), (c, f) => (U(), te("option", {
7773
7782
  key: c,
7774
7783
  value: f + 1
7775
- }, ke(c), 9, Zh))), 128))
7776
- ], 42, Yh), [
7784
+ }, ke(c), 9, Qh))), 128))
7785
+ ], 42, Wh), [
7777
7786
  [$i, P(m).month]
7778
7787
  ])
7779
7788
  ]),
7780
- D("div", Xh, [
7789
+ D("div", Zh, [
7781
7790
  lt(D("select", {
7782
7791
  "onUpdate:modelValue": w[4] || (w[4] = (c) => P(m).day = c),
7783
7792
  disabled: P(h),
@@ -7792,12 +7801,12 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7792
7801
  placeholder: g.$t("sui.day"),
7793
7802
  onChange: w[5] || (w[5] = (c) => v())
7794
7803
  }, [
7795
- D("option", ep, ke(g.$t("sui.day")), 1),
7804
+ D("option", Jh, ke(g.$t("sui.day")), 1),
7796
7805
  (U(!0), te(Le, null, qe(P(p), (c) => (U(), te("option", {
7797
7806
  key: c,
7798
7807
  value: c
7799
- }, ke(c), 9, tp))), 128))
7800
- ], 42, Jh), [
7808
+ }, ke(c), 9, ep))), 128))
7809
+ ], 42, Xh), [
7801
7810
  [$i, P(m).day]
7802
7811
  ])
7803
7812
  ])
@@ -7809,16 +7818,16 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7809
7818
  onClick: w[6] || (w[6] = (c) => d())
7810
7819
  }, [
7811
7820
  D("span", null, ke(g.$t("sui.clear")), 1)
7812
- ], 8, np)
7821
+ ], 8, tp)
7813
7822
  ]));
7814
7823
  }
7815
- }), ip = { class: "" }, op = { class: "divide-y divide-slate-200" }, lp = /* @__PURE__ */ me({
7824
+ }), rp = { class: "" }, ip = { class: "divide-y divide-slate-200" }, op = /* @__PURE__ */ me({
7816
7825
  __name: "BaseDescriptionList",
7817
7826
  setup(e) {
7818
7827
  return (o, n) => (U(), Se(On, null, {
7819
7828
  default: ve(() => [
7820
- D("div", ip, [
7821
- D("dl", op, [
7829
+ D("div", rp, [
7830
+ D("dl", ip, [
7822
7831
  _e(o.$slots, "default")
7823
7832
  ])
7824
7833
  ])
@@ -7826,7 +7835,7 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7826
7835
  _: 3
7827
7836
  }));
7828
7837
  }
7829
- }), ap = { class: "text-sm font-medium leading-tight text-slate-500" }, sp = /* @__PURE__ */ me({
7838
+ }), lp = { class: "text-sm font-medium leading-tight text-slate-500" }, ap = /* @__PURE__ */ me({
7830
7839
  __name: "BaseDescriptionListItem",
7831
7840
  setup(e) {
7832
7841
  const n = oe(null), r = oe(800), i = J(() => r.value < Ea.sm);
@@ -7844,7 +7853,7 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7844
7853
  "grid grid-cols-3 gap-4 py-5 px-6": !P(i)
7845
7854
  })
7846
7855
  }, [
7847
- D("dt", ap, [
7856
+ D("dt", lp, [
7848
7857
  _e(a.$slots, "left")
7849
7858
  ]),
7850
7859
  D("dd", {
@@ -7857,7 +7866,7 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7857
7866
  ], 2)
7858
7867
  ], 2));
7859
7868
  }
7860
- }), up = { class: "inline-block" }, cp = /* @__PURE__ */ me({
7869
+ }), sp = { class: "inline-block" }, up = /* @__PURE__ */ me({
7861
7870
  __name: "BaseDropdown",
7862
7871
  props: {
7863
7872
  placement: {
@@ -7957,7 +7966,7 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7957
7966
  "leave-to-class": "transform scale-90 opacity-0"
7958
7967
  }, {
7959
7968
  default: ve(() => [
7960
- lt(D("div", up, [
7969
+ lt(D("div", sp, [
7961
7970
  _e(E.$slots, "dropdown", {
7962
7971
  showDropdown: P(l),
7963
7972
  close: w,
@@ -7974,13 +7983,13 @@ const Eh = /* @__PURE__ */ ft(wh, [["render", Sh]]), Oh = { class: "flex justify
7974
7983
  ]))
7975
7984
  ]));
7976
7985
  }
7977
- }), fp = {}, dp = { class: "block text-sm font-medium leading-tight text-red-600" };
7978
- function hp(e, o) {
7979
- return U(), te("p", dp, [
7986
+ }), cp = {}, fp = { class: "block text-sm font-medium leading-tight text-red-600" };
7987
+ function dp(e, o) {
7988
+ return U(), te("p", fp, [
7980
7989
  _e(e.$slots, "default")
7981
7990
  ]);
7982
7991
  }
7983
- const pp = /* @__PURE__ */ ft(fp, [["render", hp]]), vp = me({
7992
+ const hp = /* @__PURE__ */ ft(cp, [["render", dp]]), pp = me({
7984
7993
  props: {
7985
7994
  required: {
7986
7995
  default: !1,
@@ -7995,19 +8004,19 @@ const pp = /* @__PURE__ */ ft(fp, [["render", hp]]), vp = me({
7995
8004
  type: String
7996
8005
  }
7997
8006
  }
7998
- }), mp = {
8007
+ }), vp = {
7999
8008
  key: 0,
8000
8009
  class: "text-red-600"
8001
8010
  };
8002
- function yp(e, o, n, r, i, l) {
8011
+ function mp(e, o, n, r, i, l) {
8003
8012
  return U(), te("label", {
8004
8013
  class: ue(e.classes)
8005
8014
  }, [
8006
8015
  bt(ke(e.label), 1),
8007
- e.required ? (U(), te("span", mp, " *")) : we("", !0)
8016
+ e.required ? (U(), te("span", vp, " *")) : we("", !0)
8008
8017
  ], 2);
8009
8018
  }
8010
- const Ca = /* @__PURE__ */ ft(vp, [["render", yp]]), gp = ["data-name"], La = /* @__PURE__ */ me({
8019
+ const Ca = /* @__PURE__ */ ft(pp, [["render", mp]]), yp = ["data-name"], La = /* @__PURE__ */ me({
8011
8020
  __name: "BaseField",
8012
8021
  props: {
8013
8022
  name: {
@@ -8058,7 +8067,7 @@ const Ca = /* @__PURE__ */ ft(vp, [["render", yp]]), gp = ["data-name"], La = /*
8058
8067
  }, null, 8, ["label", "required", "class"])) : we("", !0),
8059
8068
  _e(d.$slots, "default"),
8060
8069
  P(v) ? (U(), te(Le, { key: 1 }, [
8061
- P(n) == "default" ? (U(), Se(pp, {
8070
+ P(n) == "default" ? (U(), Se(hp, {
8062
8071
  key: 0,
8063
8072
  class: "mt-1"
8064
8073
  }, {
@@ -8078,11 +8087,11 @@ const Ca = /* @__PURE__ */ ft(vp, [["render", yp]]), gp = ["data-name"], La = /*
8078
8087
  _: 1
8079
8088
  })) : we("", !0)
8080
8089
  ], 64)) : we("", !0)
8081
- ], 8, gp));
8090
+ ], 8, yp));
8082
8091
  }
8083
8092
  });
8084
8093
  /*! maska v2.1.2 | (c) Alexander Shabunevich | Released under the MIT license */
8085
- var bp = Object.defineProperty, wp = (e, o, n) => o in e ? bp(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, Yn = (e, o, n) => (wp(e, typeof o != "symbol" ? o + "" : o, n), n);
8094
+ var gp = Object.defineProperty, bp = (e, o, n) => o in e ? gp(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, Yn = (e, o, n) => (bp(e, typeof o != "symbol" ? o + "" : o, n), n);
8086
8095
  const hl = {
8087
8096
  "#": { pattern: /[0-9]/ },
8088
8097
  "@": { pattern: /[a-zA-Z]/ },
@@ -8169,8 +8178,8 @@ class pl {
8169
8178
  }
8170
8179
  const Pa = (e) => JSON.parse(e.replaceAll("'", '"')), vl = (e, o = {}) => {
8171
8180
  const n = { ...o };
8172
- return e.dataset.maska != null && e.dataset.maska !== "" && (n.mask = kp(e.dataset.maska)), e.dataset.maskaEager != null && (n.eager = zi(e.dataset.maskaEager)), e.dataset.maskaReversed != null && (n.reversed = zi(e.dataset.maskaReversed)), e.dataset.maskaTokensReplace != null && (n.tokensReplace = zi(e.dataset.maskaTokensReplace)), e.dataset.maskaTokens != null && (n.tokens = _p(e.dataset.maskaTokens)), n;
8173
- }, zi = (e) => e !== "" ? Boolean(JSON.parse(e)) : !0, kp = (e) => e.startsWith("[") && e.endsWith("]") ? Pa(e) : e, _p = (e) => {
8181
+ return e.dataset.maska != null && e.dataset.maska !== "" && (n.mask = wp(e.dataset.maska)), e.dataset.maskaEager != null && (n.eager = zi(e.dataset.maskaEager)), e.dataset.maskaReversed != null && (n.reversed = zi(e.dataset.maskaReversed)), e.dataset.maskaTokensReplace != null && (n.tokensReplace = zi(e.dataset.maskaTokensReplace)), e.dataset.maskaTokens != null && (n.tokens = kp(e.dataset.maskaTokens)), n;
8182
+ }, zi = (e) => e !== "" ? Boolean(JSON.parse(e)) : !0, wp = (e) => e.startsWith("[") && e.endsWith("]") ? Pa(e) : e, kp = (e) => {
8174
8183
  if (e.startsWith("{") && e.endsWith("}"))
8175
8184
  return Pa(e);
8176
8185
  const o = {};
@@ -8184,7 +8193,7 @@ const Pa = (e) => JSON.parse(e.replaceAll("'", '"')), vl = (e, o = {}) => {
8184
8193
  };
8185
8194
  }), o;
8186
8195
  };
8187
- class xp {
8196
+ class _p {
8188
8197
  constructor(o, n = {}) {
8189
8198
  Yn(this, "items", /* @__PURE__ */ new Map()), Yn(this, "beforeinputEvent", (r) => {
8190
8199
  const i = r.target, l = this.items.get(i);
@@ -8240,7 +8249,7 @@ class xp {
8240
8249
  const ml = /* @__PURE__ */ new WeakMap(), yl = (e) => {
8241
8250
  const o = e.dataset.maskaValue;
8242
8251
  (o == null && e.value !== "" || o != null && o !== e.value) && e.dispatchEvent(new CustomEvent("input"));
8243
- }, Sp = (e, o) => {
8252
+ }, xp = (e, o) => {
8244
8253
  const n = e instanceof HTMLInputElement ? e : e.querySelector("input"), r = { ...o.arg };
8245
8254
  if (n == null)
8246
8255
  return;
@@ -8256,10 +8265,10 @@ const ml = /* @__PURE__ */ new WeakMap(), yl = (e) => {
8256
8265
  };
8257
8266
  r.onMaska = r.onMaska == null ? a : Array.isArray(r.onMaska) ? [...r.onMaska, a] : [r.onMaska, a];
8258
8267
  }
8259
- ml.set(n, new xp(n, r)), setTimeout(() => {
8268
+ ml.set(n, new _p(n, r)), setTimeout(() => {
8260
8269
  yl(n);
8261
8270
  });
8262
- }, Ep = ["value", "type", "name", "step", "min", "max", "disabled", "placeholder", "required", "autocomplete", "onKeydown"], uo = /* @__PURE__ */ me({
8271
+ }, Sp = ["value", "type", "name", "step", "min", "max", "disabled", "placeholder", "required", "autocomplete", "onKeydown"], uo = /* @__PURE__ */ me({
8263
8272
  __name: "BaseInput",
8264
8273
  props: {
8265
8274
  modelValue: {
@@ -8397,8 +8406,8 @@ const ml = /* @__PURE__ */ new WeakMap(), yl = (e) => {
8397
8406
  onInput: w[0] || (w[0] = (c) => P(p)(m(c))),
8398
8407
  onFocus: w[1] || (w[1] = (c) => g.$emit("focus", c)),
8399
8408
  onBlur: w[2] || (w[2] = (c) => g.$emit("blur", c))
8400
- }, null, 42, Ep), [
8401
- [P(Sp), void 0, P(r)]
8409
+ }, null, 42, Sp), [
8410
+ [P(xp), void 0, P(r)]
8402
8411
  ]),
8403
8412
  e.suffix ? (U(), te("div", {
8404
8413
  key: 2,
@@ -8417,7 +8426,7 @@ const ml = /* @__PURE__ */ new WeakMap(), yl = (e) => {
8417
8426
  ], 2)) : we("", !0)
8418
8427
  ], 2));
8419
8428
  }
8420
- }), Op = ["value", "type", "name", "placeholder", "disabled", "required", "rows"], co = /* @__PURE__ */ me({
8429
+ }), Ep = ["value", "type", "name", "placeholder", "disabled", "required", "rows"], co = /* @__PURE__ */ me({
8421
8430
  __name: "BaseTextarea",
8422
8431
  props: {
8423
8432
  modelValue: {
@@ -8487,10 +8496,10 @@ const ml = /* @__PURE__ */ new WeakMap(), yl = (e) => {
8487
8496
  rows: e.rows,
8488
8497
  class: ue([[P(l) ? "border-red-500" : "border-slate-300"], "block mb-0 rounded disabled:cursor-not-allowed disabled:text-slate-300"]),
8489
8498
  onInput: m[0] || (m[0] = (d) => P(a)(u(d)))
8490
- }, null, 42, Op);
8499
+ }, null, 42, Ep);
8491
8500
  };
8492
8501
  }
8493
- }), Ap = ["data-name"], Tp = { class: "space-y-2" }, Bp = /* @__PURE__ */ me({
8502
+ }), Op = ["data-name"], Ap = { class: "space-y-2" }, Tp = /* @__PURE__ */ me({
8494
8503
  __name: "BaseFieldI18n",
8495
8504
  props: {
8496
8505
  modelValue: {
@@ -8569,7 +8578,7 @@ const ml = /* @__PURE__ */ new WeakMap(), yl = (e) => {
8569
8578
  }
8570
8579
  const v = J(() => l(r.value));
8571
8580
  return (d, s) => (U(), te("div", { "data-name": P(r) }, [
8572
- D("div", Tp, [
8581
+ D("div", Ap, [
8573
8582
  (U(!0), te(Le, null, qe(P(a), (h, g) => (U(), te("div", { key: g }, [
8574
8583
  de(La, {
8575
8584
  name: `${P(r)}.${g}`,
@@ -8608,9 +8617,9 @@ const ml = /* @__PURE__ */ new WeakMap(), yl = (e) => {
8608
8617
  ]),
8609
8618
  _: 1
8610
8619
  })) : we("", !0)
8611
- ], 8, Ap));
8620
+ ], 8, Op));
8612
8621
  }
8613
- }), Ip = me({
8622
+ }), Bp = me({
8614
8623
  props: {
8615
8624
  disabled: {
8616
8625
  default: !1,
@@ -8666,8 +8675,8 @@ const ml = /* @__PURE__ */ new WeakMap(), yl = (e) => {
8666
8675
  }
8667
8676
  }
8668
8677
  }
8669
- }), Np = ["disabled"], Cp = ["accept"];
8670
- function Lp(e, o, n, r, i, l) {
8678
+ }), Ip = ["disabled"], Np = ["accept"];
8679
+ function Cp(e, o, n, r, i, l) {
8671
8680
  return U(), te(Le, null, [
8672
8681
  D("button", {
8673
8682
  type: "button",
@@ -8686,29 +8695,29 @@ function Lp(e, o, n, r, i, l) {
8686
8695
  dragging: e.dragging,
8687
8696
  disabled: e.disabled
8688
8697
  })
8689
- ], 42, Np),
8698
+ ], 42, Ip),
8690
8699
  D("input", {
8691
8700
  ref: "input",
8692
8701
  type: "file",
8693
8702
  accept: e.accept,
8694
8703
  hidden: "true",
8695
8704
  onChange: o[5] || (o[5] = (...a) => e.onInputChange && e.onInputChange(...a))
8696
- }, null, 40, Cp)
8705
+ }, null, 40, Np)
8697
8706
  ], 64);
8698
8707
  }
8699
- const $a = /* @__PURE__ */ ft(Ip, [["render", Lp]]), Pp = {}, $p = {
8708
+ const $a = /* @__PURE__ */ ft(Bp, [["render", Cp]]), Lp = {}, Pp = {
8700
8709
  class: "animate-spin",
8701
8710
  viewBox: "0 0 24 24"
8702
- }, Mp = /* @__PURE__ */ D("path", {
8711
+ }, $p = /* @__PURE__ */ D("path", {
8703
8712
  fill: "currentColor",
8704
8713
  d: "M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"
8705
- }, null, -1), jp = [
8706
- Mp
8714
+ }, null, -1), Mp = [
8715
+ $p
8707
8716
  ];
8708
- function qp(e, o) {
8709
- return U(), te("svg", $p, jp);
8717
+ function jp(e, o) {
8718
+ return U(), te("svg", Pp, Mp);
8710
8719
  }
8711
- const Rp = /* @__PURE__ */ ft(Pp, [["render", qp]]), Dp = {
8720
+ const qp = /* @__PURE__ */ ft(Lp, [["render", jp]]), Rp = {
8712
8721
  key: 0,
8713
8722
  class: "absolute inset-0 flex h-full w-full items-center justify-center"
8714
8723
  }, Ma = /* @__PURE__ */ me({
@@ -8762,11 +8771,11 @@ const Rp = /* @__PURE__ */ ft(Pp, [["render", qp]]), Dp = {
8762
8771
  "leave-to-class": "opacity-0"
8763
8772
  }, {
8764
8773
  default: ve(() => [
8765
- P(r) ? (U(), te("div", Dp, [
8774
+ P(r) ? (U(), te("div", Rp, [
8766
8775
  D("div", {
8767
8776
  class: ue(["absolute h-full w-full", e.backdropClass])
8768
8777
  }, null, 2),
8769
- e.size == "sm" ? (U(), Se(Rp, {
8778
+ e.size == "sm" ? (U(), Se(qp, {
8770
8779
  key: 0,
8771
8780
  class: ue(e.iconClass)
8772
8781
  }, null, 8, ["class"])) : e.size == "lg" ? (U(), Se(Ba, {
@@ -8778,7 +8787,7 @@ const Rp = /* @__PURE__ */ ft(Pp, [["render", qp]]), Dp = {
8778
8787
  _: 1
8779
8788
  }, 8, ["enter-active-class", "leave-active-class"]));
8780
8789
  }
8781
- }), Fp = { class: "relative" }, ja = /* @__PURE__ */ me({
8790
+ }), Dp = { class: "relative" }, ja = /* @__PURE__ */ me({
8782
8791
  __name: "BaseFileUploader",
8783
8792
  props: {
8784
8793
  url: {
@@ -8873,7 +8882,7 @@ const Rp = /* @__PURE__ */ ft(Pp, [["render", qp]]), Dp = {
8873
8882
  function p(m) {
8874
8883
  o("upload:success", m);
8875
8884
  }
8876
- return (m, v) => (U(), te("div", Fp, [
8885
+ return (m, v) => (U(), te("div", Dp, [
8877
8886
  de($a, {
8878
8887
  "button-class": e.buttonClass,
8879
8888
  disabled: P(a) || e.disabled,
@@ -8908,10 +8917,10 @@ const Rp = /* @__PURE__ */ ft(Pp, [["render", qp]]), Dp = {
8908
8917
  function Ro(e) {
8909
8918
  return e === void 0;
8910
8919
  }
8911
- function Up(e) {
8920
+ function Fp(e) {
8912
8921
  return e === null;
8913
8922
  }
8914
- function zp(e) {
8923
+ function Up(e) {
8915
8924
  return typeof e == "boolean";
8916
8925
  }
8917
8926
  function qr(e) {
@@ -8920,13 +8929,13 @@ function qr(e) {
8920
8929
  function gl(e) {
8921
8930
  return Array.isArray(e);
8922
8931
  }
8923
- function Vp(e) {
8932
+ function zp(e) {
8924
8933
  return e instanceof Date;
8925
8934
  }
8926
8935
  function qa(e, o) {
8927
8936
  return o ? qr(e) && !Ro(e.uri) : qr(e) && typeof e.size == "number" && typeof e.type == "string" && typeof e.slice == "function";
8928
8937
  }
8929
- function Hp(e, o) {
8938
+ function Vp(e, o) {
8930
8939
  return qa(e, o) && typeof e.name == "string" && (qr(e.lastModifiedDate) || typeof e.lastModified == "number");
8931
8940
  }
8932
8941
  function Sn(e) {
@@ -8935,10 +8944,10 @@ function Sn(e) {
8935
8944
  function fo(e, o, n, r) {
8936
8945
  o = o || {}, n = n || new FormData(), o.indices = Sn(o.indices), o.nullsAsUndefineds = Sn(o.nullsAsUndefineds), o.booleansAsIntegers = Sn(o.booleansAsIntegers), o.allowEmptyArrays = Sn(o.allowEmptyArrays), o.noFilesWithArrayNotation = Sn(o.noFilesWithArrayNotation), o.dotsForObjectNotation = Sn(o.dotsForObjectNotation);
8937
8946
  const i = typeof n.getParts == "function";
8938
- return Ro(e) || (Up(e) ? o.nullsAsUndefineds || n.append(r, "") : zp(e) ? o.booleansAsIntegers ? n.append(r, e ? 1 : 0) : n.append(r, e) : gl(e) ? e.length ? e.forEach((l, a) => {
8947
+ return Ro(e) || (Fp(e) ? o.nullsAsUndefineds || n.append(r, "") : Up(e) ? o.booleansAsIntegers ? n.append(r, e ? 1 : 0) : n.append(r, e) : gl(e) ? e.length ? e.forEach((l, a) => {
8939
8948
  let u = r + "[" + (o.indices ? a : "") + "]";
8940
- o.noFilesWithArrayNotation && Hp(l, i) && (u = r), fo(l, o, n, u);
8941
- }) : o.allowEmptyArrays && n.append(r + "[]", "") : Vp(e) ? n.append(r, e.toISOString()) : qr(e) && !qa(e, i) ? Object.keys(e).forEach((l) => {
8949
+ o.noFilesWithArrayNotation && Vp(l, i) && (u = r), fo(l, o, n, u);
8950
+ }) : o.allowEmptyArrays && n.append(r + "[]", "") : zp(e) ? n.append(r, e.toISOString()) : qr(e) && !qa(e, i) ? Object.keys(e).forEach((l) => {
8942
8951
  const a = e[l];
8943
8952
  if (gl(a))
8944
8953
  for (; l.length > 2 && l.lastIndexOf("[]") === l.length - 2; )
@@ -8947,10 +8956,10 @@ function fo(e, o, n, r) {
8947
8956
  fo(a, o, n, u);
8948
8957
  }) : n.append(r, e)), n;
8949
8958
  }
8950
- var Kp = {
8959
+ var Hp = {
8951
8960
  serialize: fo
8952
8961
  }, Lr = /* @__PURE__ */ ((e) => (e.post = "post", e.patch = "patch", e))(Lr || {}), ho = /* @__PURE__ */ ((e) => (e.json = "json", e.formData = "formData", e))(ho || {});
8953
- const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-full" }, Wp = /* @__PURE__ */ D("svg", {
8962
+ const Kp = { class: "absolute inset-0 flex items-center justify-center w-full h-full" }, Gp = /* @__PURE__ */ D("svg", {
8954
8963
  class: "relative w-6 h-6 text-blue-600 animate-spin",
8955
8964
  viewBox: "0 0 24 24"
8956
8965
  }, [
@@ -8958,7 +8967,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
8958
8967
  fill: "currentColor",
8959
8968
  d: "M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"
8960
8969
  })
8961
- ], -1), Yp = /* @__PURE__ */ me({
8970
+ ], -1), Wp = /* @__PURE__ */ me({
8962
8971
  __name: "BaseForm",
8963
8972
  props: {
8964
8973
  url: {
@@ -9033,7 +9042,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9033
9042
  return;
9034
9043
  u.value = !0;
9035
9044
  let S = r.method, _ = r.data, k = { "Content-Type": "application/json" };
9036
- r.format == "formData" && (S = Lr.post, _ = Kp.serialize(r.data, {
9045
+ r.format == "formData" && (S = Lr.post, _ = Hp.serialize(r.data, {
9037
9046
  nullsAsUndefineds: !1,
9038
9047
  booleansAsIntegers: !0,
9039
9048
  allowEmptyArrays: !0
@@ -9114,11 +9123,11 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9114
9123
  }, {
9115
9124
  default: ve(() => [
9116
9125
  P(u) ? _e(S.$slots, "loading", { key: 0 }, () => [
9117
- D("div", Gp, [
9126
+ D("div", Kp, [
9118
9127
  D("div", {
9119
9128
  class: ue(["absolute inset-0 w-full h-full opacity-80", e.loadingMaskClass])
9120
9129
  }, null, 2),
9121
- Wp
9130
+ Gp
9122
9131
  ])
9123
9132
  ]) : we("", !0)
9124
9133
  ]),
@@ -9126,16 +9135,16 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9126
9135
  })
9127
9136
  ], 544));
9128
9137
  }
9129
- }), Qp = { class: "-m-0.5 flex flex-wrap" }, Zp = ["onClick"], Xp = { class: "grow p-0.5" }, Jp = ["disabled", "value", "placeholder"], ev = { class: "relative" }, tv = { class: "absolute top-1 z-menu min-h-[110px] w-full overflow-hidden rounded border border-slate-300 bg-white shadow-md" }, nv = { class: "flex items-center justify-center px-5 py-10 text-center text-slate-600" }, rv = {
9138
+ }), Yp = { class: "-m-0.5 flex flex-wrap" }, Qp = ["onClick"], Zp = { class: "grow p-0.5" }, Xp = ["disabled", "value", "placeholder"], Jp = { class: "relative" }, ev = { class: "absolute top-1 z-menu min-h-[110px] w-full overflow-hidden rounded border border-slate-300 bg-white shadow-md" }, tv = { class: "flex items-center justify-center px-5 py-10 text-center text-slate-600" }, nv = {
9130
9139
  key: 1,
9131
9140
  class: "p-1"
9132
- }, iv = ["onClick", "onMousedown"], ov = {
9141
+ }, rv = ["onClick", "onMousedown"], iv = {
9133
9142
  key: 0,
9134
9143
  class: "bg-white"
9135
- }, lv = {
9144
+ }, ov = {
9136
9145
  key: 0,
9137
9146
  class: "absolute inset-0 h-full w-full space-y-1 bg-white p-2"
9138
- }, av = { class: "space-y-1" }, Ra = /* @__PURE__ */ me({
9147
+ }, lv = { class: "space-y-1" }, Ra = /* @__PURE__ */ me({
9139
9148
  __name: "BaseTagAutocomplete",
9140
9149
  props: {
9141
9150
  modelValue: {
@@ -9329,7 +9338,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9329
9338
  D("div", {
9330
9339
  class: ue(["min-h-[42px] rounded border bg-white p-1", [P(r) ? "border-red-600" : "border-slate-300"]])
9331
9340
  }, [
9332
- D("div", Qp, [
9341
+ D("div", Yp, [
9333
9342
  (U(!0), te(Le, null, qe(P(f), (R) => (U(), te("div", {
9334
9343
  key: R.value,
9335
9344
  class: "p-0.5"
@@ -9349,10 +9358,10 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9349
9358
  class: "flex shrink-0 appearance-none items-center justify-center border-0 bg-transparent pl-1 pr-3 text-xs outline-none",
9350
9359
  onClick: (ee) => A(ee, () => q(R)),
9351
9360
  onMousedown: A
9352
- }, " \u2715 ", 40, Zp))
9361
+ }, " \u2715 ", 40, Qp))
9353
9362
  ], 2)
9354
9363
  ]))), 128)),
9355
- D("div", Xp, [
9364
+ D("div", Zp, [
9356
9365
  D("input", {
9357
9366
  ref: "input",
9358
9367
  disabled: e.disabled,
@@ -9364,12 +9373,12 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9364
9373
  onBlur: S,
9365
9374
  onInput: _,
9366
9375
  onKeydown: k
9367
- }, null, 40, Jp)
9376
+ }, null, 40, Xp)
9368
9377
  ])
9369
9378
  ])
9370
9379
  ], 2),
9371
- D("div", ev, [
9372
- lt(D("div", tv, [
9380
+ D("div", Jp, [
9381
+ lt(D("div", ev, [
9373
9382
  D("div", {
9374
9383
  ref_key: "dropdown",
9375
9384
  ref: d,
@@ -9377,8 +9386,8 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9377
9386
  class: "max-h-[214px] min-h-[75px] w-full overflow-y-auto"
9378
9387
  }, [
9379
9388
  P(x).length == 0 ? _e(W.$slots, "empty", { key: 0 }, () => [
9380
- D("div", nv, ke(W.$t("sui.nothing_found")), 1)
9381
- ]) : (U(), te("ul", rv, [
9389
+ D("div", tv, ke(W.$t("sui.nothing_found")), 1)
9390
+ ]) : (U(), te("ul", nv, [
9382
9391
  (U(!0), te(Le, null, qe(P(x), (R) => (U(), te("li", {
9383
9392
  key: R.value,
9384
9393
  class: "block"
@@ -9398,7 +9407,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9398
9407
  class: ue(["rounded px-2 py-1 text-sm", b(R)])
9399
9408
  }, ke(R.label), 3)
9400
9409
  ])
9401
- ], 40, iv)
9410
+ ], 40, rv)
9402
9411
  ]))), 128))
9403
9412
  ]))
9404
9413
  ], 512),
@@ -9406,12 +9415,12 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9406
9415
  ref_key: "footer",
9407
9416
  ref: F
9408
9417
  }, [
9409
- W.$slots.footer ? (U(), te("div", ov, [
9418
+ W.$slots.footer ? (U(), te("div", iv, [
9410
9419
  _e(W.$slots, "footer", { options: P(x) })
9411
9420
  ])) : we("", !0)
9412
9421
  ], 512),
9413
- e.loading ? (U(), te("div", lv, [
9414
- D("div", av, [
9422
+ e.loading ? (U(), te("div", ov, [
9423
+ D("div", lv, [
9415
9424
  de(pn, {
9416
9425
  class: "h-7 w-full",
9417
9426
  delay: "0ms"
@@ -9432,7 +9441,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9432
9441
  ])
9433
9442
  ]));
9434
9443
  }
9435
- }), sv = {
9444
+ }), av = {
9436
9445
  key: 0,
9437
9446
  class: "flex h-[80px] items-center justify-center px-3 text-center text-base leading-tight text-slate-600"
9438
9447
  }, Da = /* @__PURE__ */ me({
@@ -9526,13 +9535,13 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9526
9535
  ]),
9527
9536
  empty: ve((f) => [
9528
9537
  _e(w.$slots, "empty", Qt(f, { firstSearch: P(l) }), () => [
9529
- P(l) ? (U(), te("div", sv, ke(w.$t("sui.nothing_found")), 1)) : we("", !0)
9538
+ P(l) ? (U(), te("div", av, ke(w.$t("sui.nothing_found")), 1)) : we("", !0)
9530
9539
  ])
9531
9540
  ]),
9532
9541
  _: 3
9533
9542
  }, 8, ["loading", "model-value", "disabled", "placeholder", "options", "value-key", "label-key", "has-error", "max", "filter"]));
9534
9543
  }
9535
- }), uv = /* @__PURE__ */ me({
9544
+ }), sv = /* @__PURE__ */ me({
9536
9545
  __name: "BaseHasMany",
9537
9546
  props: {
9538
9547
  modelValue: {
@@ -9623,10 +9632,10 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9623
9632
  _: 3
9624
9633
  }, 8, ["model-value", "url", "disabled", "placeholder", "required", "value-key", "label-key", "has-error", "query-key", "max"]));
9625
9634
  }
9626
- }), cv = ["src", "alt"], fv = ["src", "alt"], dv = {
9635
+ }), uv = ["src", "alt"], cv = ["src", "alt"], fv = {
9627
9636
  key: 2,
9628
9637
  class: "flex h-full w-full items-center justify-center bg-slate-100"
9629
- }, hv = {
9638
+ }, dv = {
9630
9639
  key: 3,
9631
9640
  class: "text-xs font-semibold uppercase leading-tight text-slate-600"
9632
9641
  }, Fa = /* @__PURE__ */ me({
@@ -9658,12 +9667,12 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9658
9667
  src: P(l),
9659
9668
  class: "h-full w-full bg-black object-contain object-center",
9660
9669
  alt: P(n)
9661
- }, null, 8, cv)) : P(r) == "image" && "data_url" in e.media ? (U(), te("img", {
9670
+ }, null, 8, uv)) : P(r) == "image" && "data_url" in e.media ? (U(), te("img", {
9662
9671
  key: 1,
9663
9672
  src: e.media.data_url,
9664
9673
  class: "h-full w-full bg-black object-contain object-center",
9665
9674
  alt: P(n)
9666
- }, null, 8, fv)) : (U(), te("div", dv, [
9675
+ }, null, 8, cv)) : (U(), te("div", fv, [
9667
9676
  P(i) == "pdf" ? (U(), Se(P(je), {
9668
9677
  key: 0,
9669
9678
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
@@ -9676,13 +9685,13 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9676
9685
  key: 2,
9677
9686
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
9678
9687
  icon: "mdi:music"
9679
- })) : (U(), te("span", hv, ke(P(i)), 1))
9688
+ })) : (U(), te("span", dv, ke(P(i)), 1))
9680
9689
  ]))
9681
9690
  ]),
9682
9691
  _: 1
9683
9692
  }, 8, ["href", "class"]));
9684
9693
  }
9685
- }), pv = { class: "rounded bg-white shadow" }, vv = { class: "relative flex" }, mv = { class: "shrink-0" }, yv = { class: "text-left leading-tight" }, gv = { class: "mb-px grow truncate text-[13px] font-medium" }, bv = { class: "shrink-0 text-[10px] text-slate-400" }, wv = {
9694
+ }), hv = { class: "rounded bg-white shadow" }, pv = { class: "relative flex" }, vv = { class: "shrink-0" }, mv = { class: "text-left leading-tight" }, yv = { class: "mb-px grow truncate text-[13px] font-medium" }, gv = { class: "shrink-0 text-[10px] text-slate-400" }, bv = {
9686
9695
  key: 0,
9687
9696
  class: "shrink-0 p-0.5"
9688
9697
  }, po = /* @__PURE__ */ me({
@@ -9700,9 +9709,9 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9700
9709
  emits: ["remove"],
9701
9710
  setup(e) {
9702
9711
  const o = e, n = J(() => o.media.file_name), r = J(() => qo(o.media.size)), i = J(() => "url" in o.media ? o.media.url : null);
9703
- return (l, a) => (U(), te("div", pv, [
9704
- D("div", vv, [
9705
- D("div", mv, [
9712
+ return (l, a) => (U(), te("div", hv, [
9713
+ D("div", pv, [
9714
+ D("div", vv, [
9706
9715
  de(Fa, {
9707
9716
  class: "h-12 w-12 rounded-l",
9708
9717
  media: e.media
@@ -9714,14 +9723,14 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9714
9723
  class: "flex grow items-center overflow-hidden px-3"
9715
9724
  }, {
9716
9725
  default: ve(() => [
9717
- D("div", yv, [
9718
- D("p", gv, ke(P(n)), 1),
9719
- D("p", bv, ke(P(r)), 1)
9726
+ D("div", mv, [
9727
+ D("p", yv, ke(P(n)), 1),
9728
+ D("p", gv, ke(P(r)), 1)
9720
9729
  ])
9721
9730
  ]),
9722
9731
  _: 1
9723
9732
  }, 8, ["href"])),
9724
- e.showRemove ? (U(), te("div", wv, [
9733
+ e.showRemove ? (U(), te("div", bv, [
9725
9734
  D("button", {
9726
9735
  type: "button",
9727
9736
  class: "rounded-full bg-white p-1 text-slate-400 hover:bg-slate-100",
@@ -9736,10 +9745,10 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9736
9745
  ])
9737
9746
  ]));
9738
9747
  }
9739
- }), kv = { class: "text-center" }, _v = { class: "mb-0 text-sm font-medium leading-tight" }, xv = { class: "mt-1 text-xs leading-tight text-slate-500" }, Sv = { key: 0 }, Ev = {
9748
+ }), wv = { class: "text-center" }, kv = { class: "mb-0 text-sm font-medium leading-tight" }, _v = { class: "mt-1 text-xs leading-tight text-slate-500" }, xv = { key: 0 }, Sv = {
9740
9749
  key: 0,
9741
9750
  class: "mt-5"
9742
- }, Ov = { class: "-m-1 flex flex-wrap" }, Av = /* @__PURE__ */ me({
9751
+ }, Ev = { class: "-m-1 flex flex-wrap" }, Ov = /* @__PURE__ */ me({
9743
9752
  __name: "BaseMediaLibrary",
9744
9753
  props: {
9745
9754
  modelValue: {
@@ -9902,10 +9911,10 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9902
9911
  icon: "heroicons:arrow-up-on-square",
9903
9912
  class: "mx-auto mb-3 h-6 w-6 text-slate-500"
9904
9913
  }),
9905
- D("div", kv, [
9906
- D("p", _v, ke(E.$t("sui.drop_or_click_to_upload")), 1),
9907
- D("div", xv, [
9908
- P(t) ? (U(), te("p", Sv, ke(P(t)), 1)) : we("", !0),
9914
+ D("div", wv, [
9915
+ D("p", kv, ke(E.$t("sui.drop_or_click_to_upload")), 1),
9916
+ D("div", _v, [
9917
+ P(t) ? (U(), te("p", xv, ke(P(t)), 1)) : we("", !0),
9909
9918
  D("p", null, ke(P(x)), 1)
9910
9919
  ])
9911
9920
  ])
@@ -9915,8 +9924,8 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9915
9924
  ]),
9916
9925
  _: 3
9917
9926
  }, 8, ["max-size", "disabled", "accept", "accepted-extensions", "url"]),
9918
- P(m).length + P(v).to_add.length ? (U(), te("div", Ev, [
9919
- D("div", Ov, [
9927
+ P(m).length + P(v).to_add.length ? (U(), te("div", Sv, [
9928
+ D("div", Ev, [
9920
9929
  (U(!0), te(Le, null, qe(P(m), (k, b) => (U(), te("div", {
9921
9930
  key: k.id,
9922
9931
  class: "min-w-[220px] flex-1 p-1"
@@ -9952,10 +9961,10 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9952
9961
  ]);
9953
9962
  };
9954
9963
  }
9955
- }), Tv = {
9964
+ }), Av = {
9956
9965
  "data-scroll-lock-scrollable": "",
9957
9966
  class: "fixed inset-0 z-modal w-full overflow-y-auto overflow-x-hidden"
9958
- }, Bv = { class: "pt-safe grow" }, Iv = /* @__PURE__ */ me({
9967
+ }, Tv = { class: "pt-safe grow" }, Bv = /* @__PURE__ */ me({
9959
9968
  __name: "BaseModalCenter",
9960
9969
  props: {
9961
9970
  modelValue: {
@@ -9999,7 +10008,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
9999
10008
  }, {
10000
10009
  default: ve(() => [
10001
10010
  lt(D("div", null, [
10002
- D("div", Tv, [
10011
+ D("div", Av, [
10003
10012
  D("div", {
10004
10013
  class: ue(["flex min-h-full w-full items-end justify-center overflow-hidden sm:px-6 sm:pb-6", [
10005
10014
  e.showCloseButton ? "pt-20" : "pt-6",
@@ -10009,7 +10018,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10009
10018
  }
10010
10019
  ]])
10011
10020
  }, [
10012
- D("div", Bv, [
10021
+ D("div", Tv, [
10013
10022
  de(gt, {
10014
10023
  appear: "",
10015
10024
  "enter-active-class": "duration-300 ease-out",
@@ -10075,7 +10084,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10075
10084
  ]);
10076
10085
  };
10077
10086
  }
10078
- }), Nv = { class: "flex h-16 justify-between" }, Cv = { class: "grow" }, Lv = { class: "-mr-2 flex items-center md:hidden" }, Pv = /* @__PURE__ */ D("span", { class: "sr-only" }, "Open main menu", -1), Ua = /* @__PURE__ */ me({
10087
+ }), Iv = { class: "flex h-16 justify-between" }, Nv = { class: "grow" }, Cv = { class: "-mr-2 flex items-center md:hidden" }, Lv = /* @__PURE__ */ D("span", { class: "sr-only" }, "Open main menu", -1), Ua = /* @__PURE__ */ me({
10079
10088
  __name: "BaseNavbar",
10080
10089
  props: {
10081
10090
  size: {
@@ -10103,11 +10112,11 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10103
10112
  }, [
10104
10113
  de(Ql, { size: e.size }, {
10105
10114
  default: ve(() => [
10106
- D("div", Nv, [
10107
- D("div", Cv, [
10115
+ D("div", Iv, [
10116
+ D("div", Nv, [
10108
10117
  _e(l.$slots, "navbar")
10109
10118
  ]),
10110
- D("div", Lv, [
10119
+ D("div", Cv, [
10111
10120
  D("button", {
10112
10121
  type: "button",
10113
10122
  class: ue(["inline-flex items-center justify-center rounded-md p-2 focus:outline-none focus:ring-2 focus:ring-offset-2", [
@@ -10115,7 +10124,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10115
10124
  ]]),
10116
10125
  onClick: a[0] || (a[0] = (u) => n())
10117
10126
  }, [
10118
- Pv,
10127
+ Lv,
10119
10128
  P(o) ? (U(), Se(P(je), {
10120
10129
  key: 1,
10121
10130
  icon: "heroicons:x-mark",
@@ -10145,7 +10154,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10145
10154
  ], 2)) : we("", !0)
10146
10155
  ], 2));
10147
10156
  }
10148
- }), $v = { class: "group flex grow items-center" }, Mv = {
10157
+ }), Pv = { class: "group flex grow items-center" }, $v = {
10149
10158
  key: 0,
10150
10159
  class: "relative -top-px ml-[5px]"
10151
10160
  }, za = /* @__PURE__ */ me({
@@ -10187,7 +10196,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10187
10196
  return (i, l) => (U(), te("div", {
10188
10197
  class: ue(P(n))
10189
10198
  }, [
10190
- D("div", $v, [
10199
+ D("div", Pv, [
10191
10200
  e.icon ? (U(), Se(P(je), {
10192
10201
  key: 0,
10193
10202
  icon: e.icon,
@@ -10195,7 +10204,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10195
10204
  }, null, 8, ["icon", "class"])) : we("", !0),
10196
10205
  bt(" " + ke(e.label), 1)
10197
10206
  ]),
10198
- e.count ? (U(), te("div", Mv, [
10207
+ e.count ? (U(), te("div", $v, [
10199
10208
  de(rr, {
10200
10209
  count: e.count,
10201
10210
  "max-digit": 2,
@@ -10204,7 +10213,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10204
10213
  ])) : we("", !0)
10205
10214
  ], 2));
10206
10215
  }
10207
- }), jv = { class: "flex" }, Va = /* @__PURE__ */ me({
10216
+ }), Mv = { class: "flex" }, Va = /* @__PURE__ */ me({
10208
10217
  __name: "BaseNavbarItem",
10209
10218
  props: {
10210
10219
  item: {
@@ -10222,7 +10231,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10222
10231
  async function r() {
10223
10232
  o("click"), n();
10224
10233
  }
10225
- return (i, l) => (U(), te("div", jv, [
10234
+ return (i, l) => (U(), te("div", Mv, [
10226
10235
  de($r, {
10227
10236
  item: e.item,
10228
10237
  dark: e.dark,
@@ -10242,7 +10251,7 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10242
10251
  }, 8, ["item", "dark"])
10243
10252
  ]));
10244
10253
  }
10245
- }), qv = me({
10254
+ }), jv = me({
10246
10255
  props: {
10247
10256
  title: {
10248
10257
  required: !0,
@@ -10257,24 +10266,24 @@ const Gp = { class: "absolute inset-0 flex items-center justify-center w-full h-
10257
10266
  type: Boolean
10258
10267
  }
10259
10268
  }
10260
- }), Rv = { class: "px-4 md:col-span-1 md:px-0" }, Dv = { class: "text-lg font-medium leading-tight text-slate-900" }, Fv = {
10269
+ }), qv = { class: "px-4 md:col-span-1 md:px-0" }, Rv = { class: "text-lg font-medium leading-tight text-slate-900" }, Dv = {
10261
10270
  key: 0,
10262
10271
  class: "mt-2 text-sm leading-tight text-slate-500"
10263
- }, Uv = { class: "mt-5 md:col-span-2 md:mt-0" };
10264
- function zv(e, o, n, r, i, l) {
10272
+ }, Fv = { class: "mt-5 md:col-span-2 md:mt-0" };
10273
+ function Uv(e, o, n, r, i, l) {
10265
10274
  return U(), te("div", {
10266
10275
  class: ue(["pb-8 md:grid md:grid-cols-3 md:gap-8", [e.bordered ? "mb-8 border-b border-slate-300" : ""]])
10267
10276
  }, [
10268
- D("div", Rv, [
10269
- D("h3", Dv, ke(e.title), 1),
10270
- e.description ? (U(), te("p", Fv, ke(e.description), 1)) : we("", !0)
10277
+ D("div", qv, [
10278
+ D("h3", Rv, ke(e.title), 1),
10279
+ e.description ? (U(), te("p", Dv, ke(e.description), 1)) : we("", !0)
10271
10280
  ]),
10272
- D("div", Uv, [
10281
+ D("div", Fv, [
10273
10282
  _e(e.$slots, "default")
10274
10283
  ])
10275
10284
  ], 2);
10276
10285
  }
10277
- const Vv = /* @__PURE__ */ ft(qv, [["render", zv]]), Hv = ["value", "type", "name", "disabled", "placeholder", "required"], Kv = { class: "flex shrink-0 pl-3" }, Gv = ["disabled"], Wv = /* @__PURE__ */ me({
10286
+ const zv = /* @__PURE__ */ ft(jv, [["render", Uv]]), Vv = ["value", "type", "name", "disabled", "placeholder", "required"], Hv = { class: "flex shrink-0 pl-3" }, Kv = ["disabled"], Gv = /* @__PURE__ */ me({
10278
10287
  __name: "BasePassword",
10279
10288
  props: {
10280
10289
  modelValue: {
@@ -10330,8 +10339,8 @@ const Vv = /* @__PURE__ */ ft(qv, [["render", zv]]), Hv = ["value", "type", "nam
10330
10339
  required: P(i),
10331
10340
  class: "grow rounded-l rounded-r-none border-none focus:ring-2 focus:ring-primary-500 disabled:cursor-not-allowed",
10332
10341
  onInput: p
10333
- }, null, 40, Hv),
10334
- D("div", Kv, [
10342
+ }, null, 40, Vv),
10343
+ D("div", Hv, [
10335
10344
  D("button", {
10336
10345
  tabindex: "-1",
10337
10346
  type: "button",
@@ -10348,11 +10357,11 @@ const Vv = /* @__PURE__ */ ft(qv, [["render", zv]]), Hv = ["value", "type", "nam
10348
10357
  icon: "heroicons:eye-slash-20-solid",
10349
10358
  class: "h-5 w-5"
10350
10359
  }))
10351
- ], 8, Gv)
10360
+ ], 8, Kv)
10352
10361
  ])
10353
10362
  ], 2));
10354
10363
  }
10355
- }), Yv = me({
10364
+ }), Wv = me({
10356
10365
  props: {
10357
10366
  radius: {
10358
10367
  default: 10,
@@ -10382,8 +10391,8 @@ const Vv = /* @__PURE__ */ ft(qv, [["render", zv]]), Hv = ["value", "type", "nam
10382
10391
  }
10383
10392
  }
10384
10393
  });
10385
- const Qv = ["height", "width"], Zv = ["stroke-width", "r", "cx", "cy"], Xv = ["stroke-dasharray", "stroke-width", "r", "cx", "cy"], Jv = ["x", "y"];
10386
- function em(e, o, n, r, i, l) {
10394
+ const Yv = ["height", "width"], Qv = ["stroke-width", "r", "cx", "cy"], Zv = ["stroke-dasharray", "stroke-width", "r", "cx", "cy"], Xv = ["x", "y"];
10395
+ function Jv(e, o, n, r, i, l) {
10387
10396
  return U(), te("svg", {
10388
10397
  height: e.radius * 2,
10389
10398
  width: e.radius * 2
@@ -10396,7 +10405,7 @@ function em(e, o, n, r, i, l) {
10396
10405
  r: e.normalizedRadius,
10397
10406
  cx: e.radius,
10398
10407
  cy: e.radius
10399
- }, null, 8, Zv),
10408
+ }, null, 8, Qv),
10400
10409
  D("circle", {
10401
10410
  stroke: "currentColor",
10402
10411
  "stroke-dasharray": `${e.circumference} ${e.circumference}`,
@@ -10406,17 +10415,17 @@ function em(e, o, n, r, i, l) {
10406
10415
  r: e.normalizedRadius,
10407
10416
  cx: e.radius,
10408
10417
  cy: e.radius
10409
- }, null, 12, Xv),
10418
+ }, null, 12, Zv),
10410
10419
  D("text", {
10411
10420
  "text-anchor": "middle",
10412
10421
  "alignment-baseline": "middle",
10413
10422
  x: e.radius,
10414
10423
  y: e.radius + e.fontSize / 10,
10415
10424
  style: Qe({ fontSize: e.fontSize + "px", fontWeight: 600 })
10416
- }, ke(Math.round(e.progress * 100)) + "% ", 13, Jv)
10417
- ], 8, Qv);
10425
+ }, ke(Math.round(e.progress * 100)) + "% ", 13, Xv)
10426
+ ], 8, Yv);
10418
10427
  }
10419
- const tm = /* @__PURE__ */ ft(Yv, [["render", em], ["__scopeId", "data-v-e5ae83e3"]]), nm = { class: "space-y-3" }, rm = ["for"], im = ["id", "name", "checked", "required", "disabled", "value", "onInput"], om = { class: "text-sm" }, lm = /* @__PURE__ */ me({
10428
+ const em = /* @__PURE__ */ ft(Wv, [["render", Jv], ["__scopeId", "data-v-e5ae83e3"]]), tm = { class: "space-y-3" }, nm = ["for"], rm = ["id", "name", "checked", "required", "disabled", "value", "onInput"], im = { class: "text-sm" }, om = /* @__PURE__ */ me({
10420
10429
  __name: "BaseRadioGroup",
10421
10430
  props: {
10422
10431
  modelValue: {
@@ -10477,7 +10486,7 @@ const tm = /* @__PURE__ */ ft(Yv, [["render", em], ["__scopeId", "data-v-e5ae83e
10477
10486
  J(() => !1)
10478
10487
  );
10479
10488
  return (p, m) => (U(), te("div", null, [
10480
- D("ul", nm, [
10489
+ D("ul", tm, [
10481
10490
  (U(!0), te(Le, null, qe(P(a), (v) => (U(), te("li", {
10482
10491
  key: v.value
10483
10492
  }, [
@@ -10495,16 +10504,16 @@ const tm = /* @__PURE__ */ ft(Yv, [["render", em], ["__scopeId", "data-v-e5ae83e
10495
10504
  value: v.value,
10496
10505
  class: ue(e.inputClass),
10497
10506
  onInput: (d) => P(l)(v.option)
10498
- }, null, 42, im),
10507
+ }, null, 42, rm),
10499
10508
  _e(p.$slots, "option", { option: v }, () => [
10500
- D("span", om, ke(v.label), 1)
10509
+ D("span", im, ke(v.label), 1)
10501
10510
  ])
10502
- ], 10, rm)
10511
+ ], 10, nm)
10503
10512
  ]))), 128))
10504
10513
  ])
10505
10514
  ]));
10506
10515
  }
10507
- }), am = { class: "text-base font-medium" }, sm = /* @__PURE__ */ me({
10516
+ }), lm = { class: "text-base font-medium" }, am = /* @__PURE__ */ me({
10508
10517
  __name: "BaseReadMore",
10509
10518
  props: {
10510
10519
  maxLines: {
@@ -10551,7 +10560,7 @@ const tm = /* @__PURE__ */ ft(Yv, [["render", em], ["__scopeId", "data-v-e5ae83e
10551
10560
  class: "mt-1 inline appearance-none border-b border-dashed border-slate-400 bg-transparent px-0.5 py-0 text-slate-900 hover:text-slate-600",
10552
10561
  onClick: p[0] || (p[0] = (m) => r.value = !0)
10553
10562
  }, [
10554
- D("span", am, ke(u.$t("sui.read_more")), 1)
10563
+ D("span", lm, ke(u.$t("sui.read_more")), 1)
10555
10564
  ])) : we("", !0)
10556
10565
  ]));
10557
10566
  }
@@ -17659,7 +17668,7 @@ function tr(e, o, n, r) {
17659
17668
  if (e === o)
17660
17669
  return e ? [[yt, e]] : [];
17661
17670
  if (n != null) {
17662
- var i = hm(e, o, n);
17671
+ var i = dm(e, o, n);
17663
17672
  if (i)
17664
17673
  return i;
17665
17674
  }
@@ -17667,10 +17676,10 @@ function tr(e, o, n, r) {
17667
17676
  e = e.substring(l), o = o.substring(l), l = Fo(e, o);
17668
17677
  var u = e.substring(e.length - l);
17669
17678
  e = e.substring(0, e.length - l), o = o.substring(0, o.length - l);
17670
- var p = um(e, o);
17679
+ var p = sm(e, o);
17671
17680
  return a && p.unshift([yt, a]), u && p.push([yt, u]), Ka(p, r), p;
17672
17681
  }
17673
- function um(e, o) {
17682
+ function sm(e, o) {
17674
17683
  var n;
17675
17684
  if (!e)
17676
17685
  return [[Bt, o]];
@@ -17685,14 +17694,14 @@ function um(e, o) {
17685
17694
  ], e.length > o.length && (n[0][0] = n[2][0] = qt), n;
17686
17695
  if (i.length === 1)
17687
17696
  return [[qt, e], [Bt, o]];
17688
- var a = fm(e, o);
17697
+ var a = cm(e, o);
17689
17698
  if (a) {
17690
17699
  var u = a[0], p = a[1], m = a[2], v = a[3], d = a[4], s = tr(u, m), h = tr(p, v);
17691
17700
  return s.concat([[yt, d]], h);
17692
17701
  }
17693
- return cm(e, o);
17702
+ return um(e, o);
17694
17703
  }
17695
- function cm(e, o) {
17704
+ function um(e, o) {
17696
17705
  for (var n = e.length, r = o.length, i = Math.ceil((n + r) / 2), l = i, a = 2 * i, u = new Array(a), p = new Array(a), m = 0; m < a; m++)
17697
17706
  u[m] = -1, p[m] = -1;
17698
17707
  u[l + 1] = 0, p[l + 1] = 0;
@@ -17754,7 +17763,7 @@ function Fo(e, o) {
17754
17763
  e.substring(e.length - i, e.length - l) == o.substring(o.length - i, o.length - l) ? (n = i, l = n) : r = i, i = Math.floor((r - n) / 2 + n);
17755
17764
  return Wa(e.charCodeAt(e.length - i)) && i--, i;
17756
17765
  }
17757
- function fm(e, o) {
17766
+ function cm(e, o) {
17758
17767
  var n = e.length > o.length ? e : o, r = e.length > o.length ? o : e;
17759
17768
  if (n.length < 4 || r.length * 2 < n.length)
17760
17769
  return null;
@@ -17850,20 +17859,20 @@ function Ya(e) {
17850
17859
  function Qa(e) {
17851
17860
  return Ga(e.charCodeAt(e.length - 1));
17852
17861
  }
17853
- function dm(e) {
17862
+ function fm(e) {
17854
17863
  for (var o = [], n = 0; n < e.length; n++)
17855
17864
  e[n][1].length > 0 && o.push(e[n]);
17856
17865
  return o;
17857
17866
  }
17858
17867
  function Hi(e, o, n, r) {
17859
- return Qa(e) || Ya(r) ? null : dm([
17868
+ return Qa(e) || Ya(r) ? null : fm([
17860
17869
  [yt, e],
17861
17870
  [qt, o],
17862
17871
  [Bt, n],
17863
17872
  [yt, r]
17864
17873
  ]);
17865
17874
  }
17866
- function hm(e, o, n) {
17875
+ function dm(e, o, n) {
17867
17876
  var r = typeof n == "number" ? { index: n, length: 0 } : n.oldRange, i = typeof n == "number" ? null : n.newRange, l = e.length, a = o.length;
17868
17877
  if (r.length === 0 && (i === null || i.length === 0)) {
17869
17878
  var u = r.index, p = e.slice(0, u), m = e.slice(u), v = i ? i.index : null;
@@ -17913,7 +17922,7 @@ function Zr(e, o, n) {
17913
17922
  Zr.INSERT = Bt;
17914
17923
  Zr.DELETE = qt;
17915
17924
  Zr.EQUAL = yt;
17916
- var pm = Zr, Rr = { exports: {} };
17925
+ var hm = Zr, Rr = { exports: {} };
17917
17926
  (function(e, o) {
17918
17927
  var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, l = "[object Arguments]", a = "[object Array]", u = "[object Boolean]", p = "[object Date]", m = "[object Error]", v = "[object Function]", d = "[object GeneratorFunction]", s = "[object Map]", h = "[object Number]", g = "[object Object]", w = "[object Promise]", c = "[object RegExp]", f = "[object Set]", t = "[object String]", x = "[object Symbol]", y = "[object WeakMap]", A = "[object ArrayBuffer]", E = "[object DataView]", S = "[object Float32Array]", _ = "[object Float64Array]", k = "[object Int8Array]", b = "[object Int16Array]", O = "[object Int32Array]", B = "[object Uint8Array]", N = "[object Uint8ClampedArray]", $ = "[object Uint16Array]", q = "[object Uint32Array]", V = /[\\^$.*+?()[\]{}|]/g, Q = /\w*$/, le = /^\[object .+?Constructor\]$/, H = /^(?:0|[1-9]\d*)$/, M = {};
17919
17928
  M[l] = M[a] = M[A] = M[E] = M[u] = M[p] = M[S] = M[_] = M[k] = M[b] = M[O] = M[s] = M[h] = M[g] = M[c] = M[f] = M[t] = M[x] = M[B] = M[N] = M[$] = M[q] = !0, M[m] = M[v] = M[y] = !1;
@@ -18835,11 +18844,11 @@ var Uo = {}, Za = tt && tt.__importDefault || function(e) {
18835
18844
  return e && e.__esModule ? e : { default: e };
18836
18845
  };
18837
18846
  Object.defineProperty(Uo, "__esModule", { value: !0 });
18838
- var vm = Za(Rr.exports), mm = Za(Dr.exports), vo;
18847
+ var pm = Za(Rr.exports), vm = Za(Dr.exports), vo;
18839
18848
  (function(e) {
18840
18849
  function o(l, a, u) {
18841
18850
  l === void 0 && (l = {}), a === void 0 && (a = {}), typeof l != "object" && (l = {}), typeof a != "object" && (a = {});
18842
- var p = vm.default(a);
18851
+ var p = pm.default(a);
18843
18852
  u || (p = Object.keys(p).reduce(function(v, d) {
18844
18853
  return p[d] != null && (v[d] = p[d]), v;
18845
18854
  }, {}));
@@ -18851,7 +18860,7 @@ var vm = Za(Rr.exports), mm = Za(Dr.exports), vo;
18851
18860
  function n(l, a) {
18852
18861
  l === void 0 && (l = {}), a === void 0 && (a = {}), typeof l != "object" && (l = {}), typeof a != "object" && (a = {});
18853
18862
  var u = Object.keys(l).concat(Object.keys(a)).reduce(function(p, m) {
18854
- return mm.default(l[m], a[m]) || (p[m] = a[m] === void 0 ? null : a[m]), p;
18863
+ return vm.default(l[m], a[m]) || (p[m] = a[m] === void 0 ? null : a[m]), p;
18855
18864
  }, {});
18856
18865
  return Object.keys(u).length > 0 ? u : void 0;
18857
18866
  }
@@ -18882,7 +18891,7 @@ var vm = Za(Rr.exports), mm = Za(Dr.exports), vo;
18882
18891
  })(vo || (vo = {}));
18883
18892
  Uo.default = vo;
18884
18893
  var xr = {}, Sr = {}, wl;
18885
- function ym() {
18894
+ function mm() {
18886
18895
  if (wl)
18887
18896
  return Sr;
18888
18897
  wl = 1;
@@ -18934,7 +18943,7 @@ function Xa() {
18934
18943
  return r && r.__esModule ? r : { default: r };
18935
18944
  };
18936
18945
  Object.defineProperty(xr, "__esModule", { value: !0 });
18937
- var o = e(ym()), n;
18946
+ var o = e(mm()), n;
18938
18947
  return function(r) {
18939
18948
  function i(a) {
18940
18949
  return new o.default(a);
@@ -18948,7 +18957,7 @@ function Xa() {
18948
18957
  }
18949
18958
  var or = tt && tt.__importDefault || function(e) {
18950
18959
  return e && e.__esModule ? e : { default: e };
18951
- }, Er = or(pm), gm = or(Rr.exports), Ki = or(Dr.exports), Hn = or(Uo), ot = or(Xa()), bm = String.fromCharCode(0), wm = function() {
18960
+ }, Er = or(hm), ym = or(Rr.exports), Ki = or(Dr.exports), Hn = or(Uo), ot = or(Xa()), gm = String.fromCharCode(0), bm = function() {
18952
18961
  function e(o) {
18953
18962
  Array.isArray(o) ? this.ops = o : o != null && Array.isArray(o.ops) ? this.ops = o.ops : this.ops = [];
18954
18963
  }
@@ -18964,7 +18973,7 @@ var or = tt && tt.__importDefault || function(e) {
18964
18973
  return n != null && typeof n == "object" && Object.keys(n).length > 0 && (r.attributes = n), this.push(r);
18965
18974
  }, e.prototype.push = function(o) {
18966
18975
  var n = this.ops.length, r = this.ops[n - 1];
18967
- if (o = gm.default(o), typeof r == "object") {
18976
+ if (o = ym.default(o), typeof r == "object") {
18968
18977
  if (typeof o.delete == "number" && typeof r.delete == "number")
18969
18978
  return this.ops[n - 1] = { delete: r.delete + o.delete }, this;
18970
18979
  if (typeof r.delete == "number" && o.insert != null && (n -= 1, r = this.ops[n - 1], typeof r != "object"))
@@ -19044,7 +19053,7 @@ var or = tt && tt.__importDefault || function(e) {
19044
19053
  var r = [this, o].map(function(p) {
19045
19054
  return p.map(function(m) {
19046
19055
  if (m.insert != null)
19047
- return typeof m.insert == "string" ? m.insert : bm;
19056
+ return typeof m.insert == "string" ? m.insert : gm;
19048
19057
  var v = p === o ? "on" : "with";
19049
19058
  throw new Error("diff() called " + v + " non-document");
19050
19059
  }).join("");
@@ -19131,7 +19140,7 @@ var or = tt && tt.__importDefault || function(e) {
19131
19140
  }
19132
19141
  return o;
19133
19142
  }, e.Op = ot.default, e.AttributeMap = Hn.default, e;
19134
- }(), km = wm;
19143
+ }(), wm = bm;
19135
19144
  /*!
19136
19145
  * VueQuill @vueup/vue-quill v1.0.1
19137
19146
  * https://vueup.github.io/vue-quill/
@@ -19172,7 +19181,7 @@ const _l = {
19172
19181
  ["link", "video", "image"],
19173
19182
  ["clean"]
19174
19183
  ]
19175
- }, _m = me({
19184
+ }, km = me({
19176
19185
  name: "QuillEditor",
19177
19186
  inheritAttrs: !1,
19178
19187
  props: {
@@ -19364,12 +19373,12 @@ const _l = {
19364
19373
  ];
19365
19374
  }
19366
19375
  });
19367
- const xm = /* @__PURE__ */ me({
19376
+ const _m = /* @__PURE__ */ me({
19368
19377
  __name: "BaseRichText",
19369
19378
  props: {
19370
19379
  modelValue: {
19371
19380
  default: void 0,
19372
- type: [String, km, void 0]
19381
+ type: [String, wm, void 0]
19373
19382
  },
19374
19383
  theme: {
19375
19384
  type: String,
@@ -19423,7 +19432,7 @@ const xm = /* @__PURE__ */ me({
19423
19432
  return (m, v) => (U(), te("div", {
19424
19433
  class: ue(["base-rich-text relative", [P(l) ? "error" : ""]])
19425
19434
  }, [
19426
- de(P(_m), {
19435
+ de(P(km), {
19427
19436
  name: P(r),
19428
19437
  required: P(i),
19429
19438
  theme: e.theme,
@@ -19439,7 +19448,7 @@ const xm = /* @__PURE__ */ me({
19439
19448
  ], 2));
19440
19449
  }
19441
19450
  });
19442
- const Sm = ["value", "name", "disabled", "required"], Em = /* @__PURE__ */ me({
19451
+ const xm = ["value", "name", "disabled", "required"], Sm = /* @__PURE__ */ me({
19443
19452
  __name: "BaseSelect",
19444
19453
  props: {
19445
19454
  modelValue: {
@@ -19527,15 +19536,15 @@ const Sm = ["value", "name", "disabled", "required"], Em = /* @__PURE__ */ me({
19527
19536
  value: r
19528
19537
  }, ke(e.placeholder ? e.placeholder : c.$t("sui.select_an_option")), 1)),
19529
19538
  _e(c.$slots, "default")
19530
- ], 42, Sm));
19539
+ ], 42, xm));
19531
19540
  }
19532
- }), Om = { class: "whitespace-pre-line p-4" }, Am = { class: "text-md font-semibold" }, Tm = {
19541
+ }), Em = { class: "whitespace-pre-line p-4" }, Om = { class: "text-md font-semibold" }, Am = {
19533
19542
  key: 0,
19534
19543
  class: "mt-1 mb-3 whitespace-pre-line text-sm text-slate-500 line-clamp-2"
19535
- }, Bm = {
19544
+ }, Tm = {
19536
19545
  key: 1,
19537
19546
  class: "flex items-center justify-start text-sm font-medium"
19538
- }, Im = { class: "mr-1 leading-none" }, Nm = /* @__PURE__ */ me({
19547
+ }, Bm = { class: "mr-1 leading-none" }, Im = /* @__PURE__ */ me({
19539
19548
  __name: "BaseShortcut",
19540
19549
  props: {
19541
19550
  to: {
@@ -19575,7 +19584,7 @@ const Sm = ["value", "name", "disabled", "required"], Em = /* @__PURE__ */ me({
19575
19584
  default: ve(() => [
19576
19585
  de(a, { to: e.to }, {
19577
19586
  default: ve(() => [
19578
- D("section", Om, [
19587
+ D("section", Em, [
19579
19588
  D("div", {
19580
19589
  class: ue(["mb-2.5 inline-flex items-center rounded p-2", [P(n)]])
19581
19590
  }, [
@@ -19585,10 +19594,10 @@ const Sm = ["value", "name", "disabled", "required"], Em = /* @__PURE__ */ me({
19585
19594
  class: ue(P(r))
19586
19595
  }, null, 8, ["icon", "class"])) : we("", !0)
19587
19596
  ], 2),
19588
- D("div", Am, ke(e.title), 1),
19589
- e.description ? (U(), te("div", Tm, ke(e.description), 1)) : we("", !0),
19590
- e.linkText ? (U(), te("div", Bm, [
19591
- D("div", Im, ke(e.linkText), 1),
19597
+ D("div", Om, ke(e.title), 1),
19598
+ e.description ? (U(), te("div", Am, ke(e.description), 1)) : we("", !0),
19599
+ e.linkText ? (U(), te("div", Tm, [
19600
+ D("div", Bm, ke(e.linkText), 1),
19592
19601
  D("div", null, [
19593
19602
  de(P(je), {
19594
19603
  icon: "heroicons:arrow-right-20-solid",
@@ -19605,24 +19614,24 @@ const Sm = ["value", "name", "disabled", "required"], Em = /* @__PURE__ */ me({
19605
19614
  });
19606
19615
  };
19607
19616
  }
19608
- }), Cm = {}, Lm = {
19617
+ }), Nm = {}, Cm = {
19609
19618
  "aria-label": "Sidebar",
19610
19619
  class: "relative"
19611
- }, Pm = /* @__PURE__ */ D("div", { class: "absolute bottom-0 left-0 h-full w-px bg-slate-300" }, null, -1), $m = {
19620
+ }, Lm = /* @__PURE__ */ D("div", { class: "absolute bottom-0 left-0 h-full w-px bg-slate-300" }, null, -1), Pm = {
19612
19621
  class: "relative overflow-x-auto overflow-y-hidden",
19613
19622
  "data-scroll-lock-scrollable": ""
19614
- }, Mm = { class: "space-y-2" };
19615
- function jm(e, o) {
19616
- return U(), te("nav", Lm, [
19617
- Pm,
19618
- D("div", $m, [
19619
- D("div", Mm, [
19623
+ }, $m = { class: "space-y-2" };
19624
+ function Mm(e, o) {
19625
+ return U(), te("nav", Cm, [
19626
+ Lm,
19627
+ D("div", Pm, [
19628
+ D("div", $m, [
19620
19629
  _e(e.$slots, "default")
19621
19630
  ])
19622
19631
  ])
19623
19632
  ]);
19624
19633
  }
19625
- const qm = /* @__PURE__ */ ft(Cm, [["render", jm]]), Rm = ["href", "disabled", "onClick"], Dm = /* @__PURE__ */ me({
19634
+ const jm = /* @__PURE__ */ ft(Nm, [["render", Mm]]), qm = ["href", "disabled", "onClick"], Rm = /* @__PURE__ */ me({
19626
19635
  __name: "BaseSideNavigationItem",
19627
19636
  props: {
19628
19637
  to: {
@@ -19664,13 +19673,13 @@ const qm = /* @__PURE__ */ ft(Cm, [["render", jm]]), Rm = ["href", "disabled", "
19664
19673
  ]])
19665
19674
  }, null, 2),
19666
19675
  _e(r.$slots, "default")
19667
- ], 10, Rm)
19676
+ ], 10, qm)
19668
19677
  ]),
19669
19678
  _: 3
19670
19679
  }, 8, ["to"]);
19671
19680
  };
19672
19681
  }
19673
- }), Fm = me({
19682
+ }), Dm = me({
19674
19683
  components: { BaseIcon: je },
19675
19684
  props: {
19676
19685
  label: {
@@ -19711,36 +19720,36 @@ const qm = /* @__PURE__ */ ft(Cm, [["render", jm]]), Rm = ["href", "disabled", "
19711
19720
  return "items-center justify-center";
19712
19721
  }
19713
19722
  }
19714
- }), Um = { class: "mb-0.5 text-base font-medium" }, zm = { class: "text-3xl font-bold leading-tight" }, Vm = { key: 0 }, Hm = { class: "text-lg" }, Km = { class: "text-base text-slate-500" };
19715
- function Gm(e, o, n, r, i, l) {
19723
+ }), Fm = { class: "mb-0.5 text-base font-medium" }, Um = { class: "text-3xl font-bold leading-tight" }, zm = { key: 0 }, Vm = { class: "text-lg" }, Hm = { class: "text-base text-slate-500" };
19724
+ function Km(e, o, n, r, i, l) {
19716
19725
  const a = Ke("BaseIcon");
19717
19726
  return U(), te("div", {
19718
19727
  class: ue(["inline-flex rounded-xl p-4", [e.centerClass]])
19719
19728
  }, [
19720
19729
  D("section", null, [
19721
- D("header", Um, ke(e.label), 1),
19730
+ D("header", Fm, ke(e.label), 1),
19722
19731
  D("div", {
19723
19732
  class: ue(["flex", [e.centerClass]])
19724
19733
  }, [
19725
- D("div", zm, ke(e.primaryValue), 1),
19734
+ D("div", Um, ke(e.primaryValue), 1),
19726
19735
  e.secondaryValue ? (U(), te("div", {
19727
19736
  key: 0,
19728
19737
  class: ue(["ml-1 flex rounded-md px-1 text-lg font-bold", [e.backgroundClass, e.textClass, e.centerClass]])
19729
19738
  }, [
19730
- e.trend ? (U(), te("div", Vm, [
19739
+ e.trend ? (U(), te("div", zm, [
19731
19740
  de(a, {
19732
19741
  icon: e.icon,
19733
19742
  class: ue(e.iconClass)
19734
19743
  }, null, 8, ["icon", "class"])
19735
19744
  ])) : we("", !0),
19736
- D("div", Hm, ke(e.secondaryValue), 1)
19745
+ D("div", Vm, ke(e.secondaryValue), 1)
19737
19746
  ], 2)) : we("", !0)
19738
19747
  ], 2),
19739
- D("footer", Km, ke(e.caption), 1)
19748
+ D("footer", Hm, ke(e.caption), 1)
19740
19749
  ])
19741
19750
  ], 2);
19742
19751
  }
19743
- const Wm = /* @__PURE__ */ ft(Fm, [["render", Gm]]), Ym = { class: "inline-flex items-center space-x-3" }, Qm = /* @__PURE__ */ me({
19752
+ const Gm = /* @__PURE__ */ ft(Dm, [["render", Km]]), Wm = { class: "inline-flex items-center space-x-3" }, Ym = /* @__PURE__ */ me({
19744
19753
  __name: "BaseSwitch",
19745
19754
  props: {
19746
19755
  modelValue: {
@@ -19781,7 +19790,7 @@ const Wm = /* @__PURE__ */ ft(Fm, [["render", Gm]]), Ym = { class: "inline-flex
19781
19790
  }
19782
19791
  return (h, g) => (U(), Se(P(jf), null, {
19783
19792
  default: ve(() => [
19784
- D("div", Ym, [
19793
+ D("div", Wm, [
19785
19794
  de(P(qf), {
19786
19795
  "model-value": e.modelValue,
19787
19796
  class: ue([
@@ -19822,7 +19831,7 @@ const Wm = /* @__PURE__ */ ft(Fm, [["render", Gm]]), Ym = { class: "inline-flex
19822
19831
  _: 3
19823
19832
  }));
19824
19833
  }
19825
- }), Zm = { class: "relative" }, Xm = { class: "max-w-4xl" }, Jm = {
19834
+ }), Qm = { class: "relative" }, Zm = { class: "max-w-4xl" }, Xm = {
19826
19835
  key: 0,
19827
19836
  class: "absolute top-0 right-0 p-3"
19828
19837
  }, zo = /* @__PURE__ */ me({
@@ -19854,7 +19863,7 @@ const Wm = /* @__PURE__ */ ft(Fm, [["render", Gm]]), Ym = { class: "inline-flex
19854
19863
  const i = J(() => n.to ? "RouterLink" : n.action ? "button" : "div"), l = J(() => n.color == "info" ? "bg-blue-500 text-white" : n.color == "success" ? "bg-green-600 text-white" : n.color == "danger" ? "bg-red-600 text-white" : n.color == "warning" ? "bg-yellow-400 text-yellow-900" : "bg-slate-900 text-white");
19855
19864
  return (a, u) => {
19856
19865
  const p = Ke("BaseIcon");
19857
- return U(), te("div", Zm, [
19866
+ return U(), te("div", Qm, [
19858
19867
  (U(), Se(nr(P(i)), {
19859
19868
  type: P(i) == "button" ? "button" : void 0,
19860
19869
  to: P(i) == "RouterLink" ? e.to : void 0,
@@ -19865,14 +19874,14 @@ const Wm = /* @__PURE__ */ ft(Fm, [["render", Gm]]), Ym = { class: "inline-flex
19865
19874
  D("div", {
19866
19875
  class: ue(["py-4 text-sm leading-tight", [e.closable ? "pr-10 pl-3" : "px-3"]])
19867
19876
  }, [
19868
- D("div", Xm, [
19877
+ D("div", Zm, [
19869
19878
  _e(a.$slots, "default")
19870
19879
  ])
19871
19880
  ], 2)
19872
19881
  ]),
19873
19882
  _: 3
19874
19883
  }, 8, ["type", "to", "class"])),
19875
- e.closable ? (U(), te("div", Jm, [
19884
+ e.closable ? (U(), te("div", Xm, [
19876
19885
  D("button", {
19877
19886
  type: "button",
19878
19887
  class: "rounded-full bg-black bg-opacity-50 p-1 text-white",
@@ -19884,21 +19893,21 @@ const Wm = /* @__PURE__ */ ft(Fm, [["render", Gm]]), Ym = { class: "inline-flex
19884
19893
  ]);
19885
19894
  };
19886
19895
  }
19887
- }), ey = {}, ty = { class: "relative" }, ny = /* @__PURE__ */ D("div", { class: "absolute bottom-0 left-0 h-px w-full bg-slate-300" }, null, -1), ry = {
19896
+ }), Jm = {}, ey = { class: "relative" }, ty = /* @__PURE__ */ D("div", { class: "absolute bottom-0 left-0 h-px w-full bg-slate-300" }, null, -1), ny = {
19888
19897
  class: "relative overflow-x-auto overflow-y-hidden",
19889
19898
  "data-scroll-lock-scrollable": ""
19890
- }, iy = { class: "flex space-x-4 text-center" };
19891
- function oy(e, o) {
19892
- return U(), te("div", ty, [
19893
- ny,
19894
- D("div", ry, [
19895
- D("ul", iy, [
19899
+ }, ry = { class: "flex space-x-4 text-center" };
19900
+ function iy(e, o) {
19901
+ return U(), te("div", ey, [
19902
+ ty,
19903
+ D("div", ny, [
19904
+ D("ul", ry, [
19896
19905
  _e(e.$slots, "default")
19897
19906
  ])
19898
19907
  ])
19899
19908
  ]);
19900
19909
  }
19901
- const ly = /* @__PURE__ */ ft(ey, [["render", oy]]), ay = { role: "presentation" }, sy = ["href", "onClick"], uy = { class: "whitespace-nowrap" }, cy = /* @__PURE__ */ me({
19910
+ const oy = /* @__PURE__ */ ft(Jm, [["render", iy]]), ly = { role: "presentation" }, ay = ["href", "onClick"], sy = { class: "whitespace-nowrap" }, uy = /* @__PURE__ */ me({
19902
19911
  __name: "BaseTabItem",
19903
19912
  props: {
19904
19913
  to: {
@@ -19917,7 +19926,7 @@ const ly = /* @__PURE__ */ ft(ey, [["render", oy]]), ay = { role: "presentation"
19917
19926
  setup(e) {
19918
19927
  return (o, n) => {
19919
19928
  const r = Ke("router-link");
19920
- return U(), te("li", ay, [
19929
+ return U(), te("li", ly, [
19921
19930
  de(r, {
19922
19931
  to: e.to,
19923
19932
  custom: ""
@@ -19936,17 +19945,17 @@ const ly = /* @__PURE__ */ ft(ey, [["render", oy]]), ay = { role: "presentation"
19936
19945
  (e.activeStrategy == "default" ? a : u) ? "h-[2px] bg-primary-600" : "group-hover:h-px group-hover:bg-slate-700"
19937
19946
  ]])
19938
19947
  }, null, 2),
19939
- D("div", uy, [
19948
+ D("div", sy, [
19940
19949
  _e(o.$slots, "default")
19941
19950
  ])
19942
- ], 10, sy)
19951
+ ], 10, ay)
19943
19952
  ]),
19944
19953
  _: 3
19945
19954
  }, 8, ["to"])
19946
19955
  ]);
19947
19956
  };
19948
19957
  }
19949
- }), fy = ["value", "name", "placeholder", "disabled", "required", "rows"], dy = /* @__PURE__ */ me({
19958
+ }), cy = ["value", "name", "placeholder", "disabled", "required", "rows"], fy = /* @__PURE__ */ me({
19950
19959
  __name: "BaseTextareaAutoresize",
19951
19960
  props: {
19952
19961
  modelValue: {
@@ -20030,7 +20039,7 @@ const ly = /* @__PURE__ */ ft(ey, [["render", oy]]), ay = { role: "presentation"
20030
20039
  onKeyup: g,
20031
20040
  onKeydown: h,
20032
20041
  onFocus: w
20033
- }, null, 46, fy),
20042
+ }, null, 46, cy),
20034
20043
  D("div", {
20035
20044
  class: ue(["invisible whitespace-pre-wrap", [
20036
20045
  r,
@@ -20046,13 +20055,13 @@ const ly = /* @__PURE__ */ ft(ey, [["render", oy]]), ay = { role: "presentation"
20046
20055
  }
20047
20056
  });
20048
20057
  var rn = /* @__PURE__ */ ((e) => (e.primary = "primary", e.danger = "danger", e.warning = "warning", e.info = "info", e.grey = "grey", e.black = "black", e.success = "success", e))(rn || {});
20049
- const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-tight text-slate-600" }, vy = {
20058
+ const dy = { class: "relative flex space-x-3" }, hy = { class: "text-sm leading-tight text-slate-600" }, py = {
20050
20059
  key: 0,
20051
20060
  class: "mt-1 text-xs leading-tight text-slate-500"
20052
- }, my = {
20061
+ }, vy = {
20053
20062
  key: 0,
20054
20063
  class: "whitespace-nowrap text-right text-sm text-slate-500"
20055
- }, yy = ["datetime"], Ja = /* @__PURE__ */ me({
20064
+ }, my = ["datetime"], Ja = /* @__PURE__ */ me({
20056
20065
  __name: "BaseTimelineItem",
20057
20066
  props: {
20058
20067
  item: {
@@ -20062,7 +20071,7 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20062
20071
  },
20063
20072
  setup(e) {
20064
20073
  const o = e, n = J(() => o.item.color == rn.primary ? "bg-primary-600" : o.item.color == rn.danger ? "bg-red-600" : o.item.color == rn.warning ? "bg-yellow-600" : o.item.color == rn.info ? "bg-blue-500" : o.item.color == rn.grey ? "bg-slate-500" : o.item.color == rn.black ? "bg-slate-900" : o.item.color == rn.success ? "bg-green-500" : "bg-slate-500");
20065
- return (r, i) => (U(), te("div", hy, [
20074
+ return (r, i) => (U(), te("div", dy, [
20066
20075
  D("div", null, [
20067
20076
  D("span", {
20068
20077
  class: ue([
@@ -20081,25 +20090,25 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20081
20090
  class: ue(["flex min-w-0 flex-1 justify-between space-x-4", { "pt-1.5": !e.item.description }])
20082
20091
  }, [
20083
20092
  D("div", null, [
20084
- D("p", py, ke(e.item.title), 1),
20085
- e.item.description ? (U(), te("p", vy, ke(e.item.description), 1)) : we("", !0)
20093
+ D("p", hy, ke(e.item.title), 1),
20094
+ e.item.description ? (U(), te("p", py, ke(e.item.description), 1)) : we("", !0)
20086
20095
  ]),
20087
- e.item.date ? (U(), te("div", my, [
20096
+ e.item.date ? (U(), te("div", vy, [
20088
20097
  D("time", {
20089
20098
  datetime: e.item.date
20090
- }, ke(e.item.date), 9, yy)
20099
+ }, ke(e.item.date), 9, my)
20091
20100
  ])) : we("", !0)
20092
20101
  ], 2)
20093
20102
  ]));
20094
20103
  }
20095
- }), gy = { class: "flow-root" }, by = {
20104
+ }), yy = { class: "flow-root" }, gy = {
20096
20105
  role: "list",
20097
20106
  class: "-mb-8"
20098
- }, wy = { class: "relative pb-8" }, ky = {
20107
+ }, by = { class: "relative pb-8" }, wy = {
20099
20108
  key: 0,
20100
20109
  class: "absolute top-4 left-4 -ml-px h-full w-0.5 bg-slate-200",
20101
20110
  "aria-hidden": "true"
20102
- }, _y = /* @__PURE__ */ me({
20111
+ }, ky = /* @__PURE__ */ me({
20103
20112
  __name: "BaseTimeline",
20104
20113
  props: {
20105
20114
  items: {
@@ -20108,11 +20117,11 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20108
20117
  }
20109
20118
  },
20110
20119
  setup(e) {
20111
- return (o, n) => (U(), te("div", gy, [
20112
- D("ul", by, [
20120
+ return (o, n) => (U(), te("div", yy, [
20121
+ D("ul", gy, [
20113
20122
  (U(!0), te(Le, null, qe(e.items, (r, i) => (U(), te("li", { key: i }, [
20114
- D("div", wy, [
20115
- i != e.items.length - 1 ? (U(), te("span", ky)) : we("", !0),
20123
+ D("div", by, [
20124
+ i != e.items.length - 1 ? (U(), te("span", wy)) : we("", !0),
20116
20125
  de(Ja, { item: r }, null, 8, ["item"])
20117
20126
  ])
20118
20127
  ]))), 128))
@@ -20146,7 +20155,7 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20146
20155
  this.systemAlerts = [];
20147
20156
  }
20148
20157
  }
20149
- }), xy = { class: "sticky top-0 z-20 w-full shadow-sm" }, ts = /* @__PURE__ */ me({
20158
+ }), _y = { class: "sticky top-0 z-20 w-full shadow-sm" }, ts = /* @__PURE__ */ me({
20150
20159
  __name: "BaseLayoutStacked",
20151
20160
  props: {
20152
20161
  dark: {
@@ -20157,7 +20166,7 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20157
20166
  setup(e) {
20158
20167
  const o = es(), n = J(() => o.systemAlerts);
20159
20168
  return (r, i) => (U(), te(Le, null, [
20160
- D("div", xy, [
20169
+ D("div", _y, [
20161
20170
  (U(!0), te(Le, null, qe(P(n), (l) => (U(), Se(zo, {
20162
20171
  key: l.id,
20163
20172
  color: l.color,
@@ -20186,10 +20195,10 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20186
20195
  ])
20187
20196
  ], 64));
20188
20197
  }
20189
- }), Sy = { class: "group flex grow items-center" }, Ey = {
20198
+ }), xy = { class: "group flex grow items-center" }, Sy = {
20190
20199
  key: 0,
20191
20200
  class: "relative -top-px ml-[5px]"
20192
- }, Oy = /* @__PURE__ */ me({
20201
+ }, Ey = /* @__PURE__ */ me({
20193
20202
  __name: "BaseNavbarSideItemContent",
20194
20203
  props: {
20195
20204
  label: {
@@ -20226,7 +20235,7 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20226
20235
  return (i, l) => (U(), te("div", {
20227
20236
  class: ue(P(n))
20228
20237
  }, [
20229
- D("div", Sy, [
20238
+ D("div", xy, [
20230
20239
  e.icon ? (U(), Se(P(je), {
20231
20240
  key: 0,
20232
20241
  icon: e.icon,
@@ -20234,7 +20243,7 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20234
20243
  }, null, 8, ["icon", "class"])) : we("", !0),
20235
20244
  bt(" " + ke(e.label), 1)
20236
20245
  ]),
20237
- e.count ? (U(), te("div", Ey, [
20246
+ e.count ? (U(), te("div", Sy, [
20238
20247
  de(rr, {
20239
20248
  count: e.count,
20240
20249
  "max-digit": 2,
@@ -20243,7 +20252,7 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20243
20252
  ])) : we("", !0)
20244
20253
  ], 2));
20245
20254
  }
20246
- }), Ay = {
20255
+ }), Oy = {
20247
20256
  key: 0,
20248
20257
  class: "ml-10 mt-1.5 mb-3"
20249
20258
  }, mo = /* @__PURE__ */ me({
@@ -20277,7 +20286,7 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20277
20286
  onClick: r
20278
20287
  }, {
20279
20288
  default: ve(({ active: p }) => [
20280
- de(Oy, {
20289
+ de(Ey, {
20281
20290
  label: e.item.label,
20282
20291
  icon: e.item.icon,
20283
20292
  active: p,
@@ -20287,7 +20296,7 @@ const hy = { class: "relative flex space-x-3" }, py = { class: "text-sm leading-
20287
20296
  ]),
20288
20297
  _: 1
20289
20298
  }, 8, ["item", "dark"]),
20290
- P(l) && e.item.actions && e.item.actions.length ? (U(), te("div", Ay, [
20299
+ P(l) && e.item.actions && e.item.actions.length ? (U(), te("div", Oy, [
20291
20300
  (U(!0), te(Le, null, qe(e.item.actions, (p) => (U(), te("div", {
20292
20301
  key: p.label,
20293
20302
  class: "mb-1"
@@ -21696,7 +21705,7 @@ var ns = { exports: {} };
21696
21705
  }, l.humanizer = i, e.exports ? e.exports = l : this.humanizeDuration = l;
21697
21706
  })();
21698
21707
  })(ns);
21699
- const Ty = ns.exports, By = ["innerHTML"], Iy = {
21708
+ const Ay = ns.exports, Ty = ["innerHTML"], By = {
21700
21709
  key: 0,
21701
21710
  class: "mt-1 text-xs text-slate-400"
21702
21711
  }, xl = /* @__PURE__ */ me({
@@ -21718,7 +21727,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21718
21727
  if (o.notification.created_at) {
21719
21728
  const a = Yt.fromISO(o.notification.created_at, {
21720
21729
  zone: "utc"
21721
- }).diff(r.value).milliseconds, u = Ty(a, {
21730
+ }).diff(r.value).milliseconds, u = Ay(a, {
21722
21731
  language: n.locale.value,
21723
21732
  round: !0,
21724
21733
  largest: 1
@@ -21734,11 +21743,11 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21734
21743
  D("div", {
21735
21744
  class: "text-sm leading-tight text-slate-800",
21736
21745
  innerHTML: e.notification.text
21737
- }, null, 8, By),
21738
- P(l) ? (U(), te("p", Iy, ke(P(l)), 1)) : we("", !0)
21746
+ }, null, 8, Ty),
21747
+ P(l) ? (U(), te("p", By, ke(P(l)), 1)) : we("", !0)
21739
21748
  ], 2));
21740
21749
  }
21741
- }), Ny = { key: 1 }, Cy = /* @__PURE__ */ me({
21750
+ }), Iy = { key: 1 }, Ny = /* @__PURE__ */ me({
21742
21751
  __name: "BaseLayoutNotificationItem",
21743
21752
  props: {
21744
21753
  notification: {
@@ -21775,7 +21784,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21775
21784
  }, 1032, ["href", "onClick"])
21776
21785
  ]),
21777
21786
  _: 1
21778
- }, 8, ["to"])) : (U(), te("div", Ny, [
21787
+ }, 8, ["to"])) : (U(), te("div", Iy, [
21779
21788
  de(P(En), {
21780
21789
  as: "button",
21781
21790
  class: "w-full text-left",
@@ -21792,13 +21801,13 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21792
21801
  ]));
21793
21802
  };
21794
21803
  }
21795
- }), Ly = {
21804
+ }), Cy = {
21796
21805
  key: 0,
21797
21806
  class: "flex items-center justify-center p-6"
21798
- }, Py = { class: "" }, $y = { class: "text-center text-sm text-slate-700" }, My = {
21807
+ }, Ly = { class: "" }, Py = { class: "text-center text-sm text-slate-700" }, $y = {
21799
21808
  key: 1,
21800
21809
  class: "mt-1 border-t border-slate-200 pt-1"
21801
- }, jy = { class: "hover block px-3 py-2 text-center text-sm font-medium text-primary-600 hover:bg-slate-100" }, rs = /* @__PURE__ */ me({
21810
+ }, My = { class: "hover block px-3 py-2 text-center text-sm font-medium text-primary-600 hover:bg-slate-100" }, rs = /* @__PURE__ */ me({
21802
21811
  __name: "BaseLayoutNotificationDropdown",
21803
21812
  props: {
21804
21813
  notificationsConfig: {
@@ -21843,21 +21852,21 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21843
21852
  ], 2)
21844
21853
  ]),
21845
21854
  items: ve(() => [
21846
- (U(!0), te(Le, null, qe(e.notificationsConfig.items, (m) => (U(), Se(Cy, {
21855
+ (U(!0), te(Le, null, qe(e.notificationsConfig.items, (m) => (U(), Se(Ny, {
21847
21856
  key: m.id + "link",
21848
21857
  notification: m,
21849
21858
  onClick: i
21850
21859
  }, null, 8, ["notification"]))), 128)),
21851
- e.notificationsConfig.items.length == 0 ? (U(), te("div", Ly, [
21852
- D("div", Py, [
21860
+ e.notificationsConfig.items.length == 0 ? (U(), te("div", Cy, [
21861
+ D("div", Ly, [
21853
21862
  de(P(je), {
21854
21863
  icon: "heroicons:inbox-stack",
21855
21864
  class: "mx-auto mb-2 h-8 w-8 text-slate-400"
21856
21865
  }),
21857
- D("p", $y, ke(a.$t("sui.notifications_empty")), 1)
21866
+ D("p", Py, ke(a.$t("sui.notifications_empty")), 1)
21858
21867
  ])
21859
21868
  ])) : we("", !0),
21860
- e.notificationsConfig.footerTo ? (U(), te("div", My, [
21869
+ e.notificationsConfig.footerTo ? (U(), te("div", $y, [
21861
21870
  de(p, {
21862
21871
  custom: "",
21863
21872
  to: e.notificationsConfig.footerTo
@@ -21869,7 +21878,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21869
21878
  onClick: v
21870
21879
  }, {
21871
21880
  default: ve(() => [
21872
- D("div", jy, ke(e.notificationsConfig.footerLabel ? e.notificationsConfig.footerLabel : a.$t("sui.see_all_notifications")), 1)
21881
+ D("div", My, ke(e.notificationsConfig.footerLabel ? e.notificationsConfig.footerLabel : a.$t("sui.see_all_notifications")), 1)
21873
21882
  ]),
21874
21883
  _: 2
21875
21884
  }, 1032, ["href", "onClick"])
@@ -21882,7 +21891,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21882
21891
  }, 8, ["position", "menu-class"]);
21883
21892
  };
21884
21893
  }
21885
- }), qy = { class: "flex h-16 justify-between" }, Ry = { class: "flex justify-center" }, Dy = ["src", "alt"], Fy = { class: "ml-10 hidden space-x-4 md:flex" }, Uy = { class: "flex items-center md:ml-6" }, zy = { class: "space-y-1 p-2 pt-0" }, Vy = { class: "p-2 pb-6" }, Hy = { class: "mt-4 space-y-1" }, Ky = /* @__PURE__ */ me({
21894
+ }), jy = { class: "flex h-16 justify-between" }, qy = { class: "flex justify-center" }, Ry = ["src", "alt"], Dy = { class: "ml-10 hidden space-x-4 md:flex" }, Fy = { class: "flex items-center md:ml-6" }, Uy = { class: "space-y-1 p-2 pt-0" }, zy = { class: "p-2 pb-6" }, Vy = { class: "mt-4 space-y-1" }, Hy = /* @__PURE__ */ me({
21886
21895
  __name: "BaseLayoutStackedConfigurable",
21887
21896
  props: {
21888
21897
  appName: {
@@ -21926,8 +21935,8 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21926
21935
  const a = Ke("router-link");
21927
21936
  return U(), Se(ts, { dark: e.dark }, {
21928
21937
  navbar: ve(() => [
21929
- D("div", qy, [
21930
- D("div", Ry, [
21938
+ D("div", jy, [
21939
+ D("div", qy, [
21931
21940
  de(a, {
21932
21941
  to: "/",
21933
21942
  class: "flex flex-shrink-0 items-center p-2 pl-0"
@@ -21937,11 +21946,11 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21937
21946
  class: "block h-8 w-auto",
21938
21947
  src: e.logoUrl,
21939
21948
  alt: e.appName
21940
- }, null, 8, Dy)
21949
+ }, null, 8, Ry)
21941
21950
  ]),
21942
21951
  _: 1
21943
21952
  }),
21944
- D("div", Fy, [
21953
+ D("div", Dy, [
21945
21954
  (U(!0), te(Le, null, qe(e.menu, (u) => (U(), Se(Va, {
21946
21955
  key: u.label,
21947
21956
  item: u,
@@ -21949,7 +21958,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21949
21958
  }, null, 8, ["item", "dark"]))), 128))
21950
21959
  ])
21951
21960
  ]),
21952
- D("div", Uy, [
21961
+ D("div", Fy, [
21953
21962
  e.notifications ? (U(), Se(rs, {
21954
21963
  key: 0,
21955
21964
  class: "mr-4 md:mr-5",
@@ -21979,7 +21988,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21979
21988
  ])
21980
21989
  ]),
21981
21990
  mobile: ve(() => [
21982
- D("div", zy, [
21991
+ D("div", Uy, [
21983
21992
  (U(!0), te(Le, null, qe(e.menu, (u) => (U(), Se(mo, {
21984
21993
  key: u.label,
21985
21994
  item: u,
@@ -21989,14 +21998,14 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
21989
21998
  D("hr", {
21990
21999
  class: ue(["mb-4 mt-2", [e.dark ? "border-slate-700" : "border-slate-200"]])
21991
22000
  }, null, 2),
21992
- D("div", Vy, [
22001
+ D("div", zy, [
21993
22002
  de(Jn, {
21994
22003
  user: e.user,
21995
22004
  "show-details": "",
21996
22005
  size: "base",
21997
22006
  class: ue(["px-3", e.dark ? "text-white" : ""])
21998
22007
  }, null, 8, ["user", "class"]),
21999
- D("div", Hy, [
22008
+ D("div", Vy, [
22000
22009
  (U(!0), te(Le, null, qe(e.userMenu, (u) => (U(), Se(mo, {
22001
22010
  key: u.label,
22002
22011
  item: u,
@@ -22012,13 +22021,13 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22012
22021
  }, 8, ["dark"]);
22013
22022
  };
22014
22023
  }
22015
- }), Gy = { class: "min-h-full" }, Wy = /* @__PURE__ */ D("div", { class: "fixed inset-0 bg-slate-600 bg-opacity-75" }, null, -1), Yy = { class: "fixed inset-0 z-40 flex" }, Qy = { class: "absolute top-0 right-0 -mr-12 pt-2" }, Zy = /* @__PURE__ */ D("span", { class: "sr-only" }, "Close sidebar", -1), Xy = { class: "flex flex-shrink-0 items-center px-4" }, Jy = ["src", "alt"], eg = {
22024
+ }), Ky = { class: "min-h-full" }, Gy = /* @__PURE__ */ D("div", { class: "fixed inset-0 bg-slate-600 bg-opacity-75" }, null, -1), Wy = { class: "fixed inset-0 z-40 flex" }, Yy = { class: "absolute top-0 right-0 -mr-12 pt-2" }, Qy = /* @__PURE__ */ D("span", { class: "sr-only" }, "Close sidebar", -1), Zy = { class: "flex flex-shrink-0 items-center px-4" }, Xy = ["src", "alt"], Jy = {
22016
22025
  "data-scroll-lock-scrollable": "",
22017
22026
  class: "mt-5 h-0 flex-1 overflow-y-auto"
22018
- }, tg = /* @__PURE__ */ D("div", {
22027
+ }, eg = /* @__PURE__ */ D("div", {
22019
22028
  class: "w-14 flex-shrink-0",
22020
22029
  "aria-hidden": "true"
22021
- }, null, -1), ng = { class: "flex min-h-full flex-col xl:pl-64" }, rg = { class: "sticky top-0 left-0 z-10 shrink-0 shadow" }, ig = { class: "flex h-16 bg-white" }, og = /* @__PURE__ */ D("span", { class: "sr-only" }, "Open sidebar", -1), lg = { class: "flex flex-1" }, ag = { class: "relative min-h-full flex-1" }, sg = { class: "z-10 hidden xl:fixed xl:inset-y-0 xl:flex xl:w-64 xl:flex-col" }, ug = ["src", "alt"], cg = { class: "flex flex-1" }, fg = { class: "flex-1" }, is = /* @__PURE__ */ me({
22030
+ }, null, -1), tg = { class: "flex min-h-full flex-col xl:pl-64" }, ng = { class: "sticky top-0 left-0 z-10 shrink-0 shadow" }, rg = { class: "flex h-16 bg-white" }, ig = /* @__PURE__ */ D("span", { class: "sr-only" }, "Open sidebar", -1), og = { class: "flex flex-1" }, lg = { class: "relative min-h-full flex-1" }, ag = { class: "z-10 hidden xl:fixed xl:inset-y-0 xl:flex xl:w-64 xl:flex-col" }, sg = ["src", "alt"], ug = { class: "flex flex-1" }, cg = { class: "flex-1" }, is = /* @__PURE__ */ me({
22022
22031
  __name: "BaseLayoutSidebar",
22023
22032
  props: {
22024
22033
  appName: {
@@ -22045,7 +22054,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22045
22054
  function a() {
22046
22055
  r.value = !1;
22047
22056
  }
22048
- return $e("toggleMenu", i), $e("openMenu", l), $e("closeMenu", a), (u, p) => (U(), te("div", Gy, [
22057
+ return $e("toggleMenu", i), $e("openMenu", l), $e("closeMenu", a), (u, p) => (U(), te("div", Ky, [
22049
22058
  de(P(_a), {
22050
22059
  as: "template",
22051
22060
  show: r.value
@@ -22067,11 +22076,11 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22067
22076
  "leave-to": "opacity-0"
22068
22077
  }, {
22069
22078
  default: ve(() => [
22070
- Wy
22079
+ Gy
22071
22080
  ]),
22072
22081
  _: 1
22073
22082
  }),
22074
- D("div", Yy, [
22083
+ D("div", Wy, [
22075
22084
  de(P(Nr), {
22076
22085
  as: "template",
22077
22086
  enter: "transition ease-in-out duration-300 transform",
@@ -22096,13 +22105,13 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22096
22105
  "leave-to": "opacity-0"
22097
22106
  }, {
22098
22107
  default: ve(() => [
22099
- D("div", Qy, [
22108
+ D("div", Yy, [
22100
22109
  D("button", {
22101
22110
  type: "button",
22102
22111
  class: "ml-1 flex h-10 w-10 items-center justify-center rounded-full",
22103
22112
  onClick: p[0] || (p[0] = (m) => r.value = !1)
22104
22113
  }, [
22105
- Zy,
22114
+ Qy,
22106
22115
  de(P(je), {
22107
22116
  icon: "heroicons:x-mark",
22108
22117
  class: "h-6 w-6 text-white",
@@ -22113,14 +22122,14 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22113
22122
  ]),
22114
22123
  _: 1
22115
22124
  }),
22116
- D("div", Xy, [
22125
+ D("div", Zy, [
22117
22126
  D("img", {
22118
22127
  class: "block h-8 w-auto",
22119
22128
  src: e.logoUrl,
22120
22129
  alt: e.appName
22121
- }, null, 8, Jy)
22130
+ }, null, 8, Xy)
22122
22131
  ]),
22123
- D("div", eg, [
22132
+ D("div", Jy, [
22124
22133
  D("nav", null, [
22125
22134
  _e(u.$slots, "menu")
22126
22135
  ])
@@ -22131,7 +22140,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22131
22140
  ]),
22132
22141
  _: 3
22133
22142
  }),
22134
- tg
22143
+ eg
22135
22144
  ])
22136
22145
  ]),
22137
22146
  _: 3
@@ -22139,8 +22148,8 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22139
22148
  ]),
22140
22149
  _: 3
22141
22150
  }, 8, ["show"]),
22142
- D("div", ng, [
22143
- D("div", rg, [
22151
+ D("div", tg, [
22152
+ D("div", ng, [
22144
22153
  (U(!0), te(Le, null, qe(P(n), (m) => (U(), Se(zo, {
22145
22154
  key: m.id,
22146
22155
  color: m.color,
@@ -22154,29 +22163,29 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22154
22163
  ]),
22155
22164
  _: 2
22156
22165
  }, 1032, ["color", "to", "action", "closable", "onClose"]))), 128)),
22157
- D("div", ig, [
22166
+ D("div", rg, [
22158
22167
  D("button", {
22159
22168
  type: "button",
22160
22169
  class: "border-r border-slate-200 px-4 text-slate-500 xl:hidden",
22161
22170
  onClick: p[2] || (p[2] = (m) => r.value = !0)
22162
22171
  }, [
22163
- og,
22172
+ ig,
22164
22173
  de(P(je), {
22165
22174
  icon: "heroicons:bars-3-bottom-left",
22166
22175
  class: "h-6 w-6",
22167
22176
  "aria-hidden": "true"
22168
22177
  })
22169
22178
  ]),
22170
- D("div", lg, [
22179
+ D("div", og, [
22171
22180
  _e(u.$slots, "navbar")
22172
22181
  ])
22173
22182
  ])
22174
22183
  ]),
22175
- D("main", ag, [
22184
+ D("main", lg, [
22176
22185
  _e(u.$slots, "default")
22177
22186
  ])
22178
22187
  ]),
22179
- D("div", sg, [
22188
+ D("div", ag, [
22180
22189
  D("div", {
22181
22190
  class: ue(["flex min-h-0 flex-1 flex-col", [e.dark ? "bg-slate-800" : "bg-white shadow"]])
22182
22191
  }, [
@@ -22187,10 +22196,10 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22187
22196
  class: "block h-8 w-auto",
22188
22197
  src: e.logoUrl,
22189
22198
  alt: e.appName
22190
- }, null, 8, ug)
22199
+ }, null, 8, sg)
22191
22200
  ], 2),
22192
- D("div", cg, [
22193
- D("nav", fg, [
22201
+ D("div", ug, [
22202
+ D("nav", cg, [
22194
22203
  _e(u.$slots, "menu")
22195
22204
  ])
22196
22205
  ])
@@ -22198,7 +22207,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22198
22207
  ])
22199
22208
  ]));
22200
22209
  }
22201
- }), dg = { class: "px-3 py-6" }, hg = { class: "space-y-8" }, pg = { class: "space-y-1" }, vg = { class: "flex flex-1 justify-between px-4" }, mg = /* @__PURE__ */ D("div", { class: "flex flex-1" }, null, -1), yg = { class: "ml-4 flex items-center md:ml-6" }, gg = { class: "relative ml-3 mr-3" }, bg = /* @__PURE__ */ me({
22210
+ }), fg = { class: "px-3 py-6" }, dg = { class: "space-y-8" }, hg = { class: "space-y-1" }, pg = { class: "flex flex-1 justify-between px-4" }, vg = /* @__PURE__ */ D("div", { class: "flex flex-1" }, null, -1), mg = { class: "ml-4 flex items-center md:ml-6" }, yg = { class: "relative ml-3 mr-3" }, gg = /* @__PURE__ */ me({
22202
22211
  __name: "BaseLayoutSidebarConfigurable",
22203
22212
  props: {
22204
22213
  appName: {
@@ -22250,8 +22259,8 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22250
22259
  dark: e.dark
22251
22260
  }, {
22252
22261
  menu: ve(() => [
22253
- D("div", dg, [
22254
- D("div", hg, [
22262
+ D("div", fg, [
22263
+ D("div", dg, [
22255
22264
  (U(!0), te(Le, null, qe(P(r), (p) => (U(), te("div", {
22256
22265
  key: p.title
22257
22266
  }, [
@@ -22260,7 +22269,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22260
22269
  class: ue(["mb-3 pl-3 text-xs font-semibold uppercase tracking-widest", e.dark ? "text-slate-400" : "text-slate-500"])
22261
22270
  }, ke(p.title), 3)) : we("", !0),
22262
22271
  D("div", null, [
22263
- D("div", pg, [
22272
+ D("div", hg, [
22264
22273
  (U(!0), te(Le, null, qe(p.actions, (m) => (U(), Se(mo, {
22265
22274
  key: m.label,
22266
22275
  item: m,
@@ -22273,9 +22282,9 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22273
22282
  ])
22274
22283
  ]),
22275
22284
  navbar: ve(() => [
22276
- D("div", vg, [
22277
- mg,
22278
- D("div", yg, [
22285
+ D("div", pg, [
22286
+ vg,
22287
+ D("div", mg, [
22279
22288
  e.notifications ? (U(), Se(rs, {
22280
22289
  key: 0,
22281
22290
  "notifications-config": e.notifications,
@@ -22283,7 +22292,7 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22283
22292
  onClick: i,
22284
22293
  onOpen: l
22285
22294
  }, null, 8, ["notifications-config"])) : we("", !0),
22286
- D("div", gg, [
22295
+ D("div", yg, [
22287
22296
  de(In, { items: e.userMenu }, {
22288
22297
  button: ve(({ open: p }) => [
22289
22298
  D("div", {
@@ -22333,62 +22342,62 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22333
22342
  BaseCounter: rr,
22334
22343
  BaseDataIterator: Ta,
22335
22344
  BaseDataTable: jh,
22336
- BaseDatePicker: Uh,
22337
- BaseDateSelect: rp,
22338
- BaseDescriptionList: lp,
22339
- BaseDescriptionListItem: sp,
22345
+ BaseDatePicker: Fh,
22346
+ BaseDateSelect: np,
22347
+ BaseDescriptionList: op,
22348
+ BaseDescriptionListItem: ap,
22340
22349
  BaseDialog: zl,
22341
- BaseDropdown: cp,
22350
+ BaseDropdown: up,
22342
22351
  BaseField: La,
22343
- BaseFieldI18n: Bp,
22352
+ BaseFieldI18n: Tp,
22344
22353
  BaseFilePicker: $a,
22345
22354
  BaseFileUploader: ja,
22346
- BaseForm: Yp,
22347
- BaseHasMany: uv,
22355
+ BaseForm: Wp,
22356
+ BaseHasMany: sv,
22348
22357
  BaseIcon: je,
22349
22358
  BaseInput: uo,
22350
22359
  BaseInputLabel: Ca,
22351
22360
  BaseLoadingCover: Ma,
22352
22361
  BaseMediaItem: po,
22353
- BaseMediaLibrary: Av,
22362
+ BaseMediaLibrary: Ov,
22354
22363
  BaseMediaPreview: Fa,
22355
22364
  BaseMenu: In,
22356
22365
  BaseMenuItem: Cr,
22357
- BaseModalCenter: Iv,
22366
+ BaseModalCenter: Bv,
22358
22367
  BaseModalSide: Aa,
22359
22368
  BaseNavbar: Ua,
22360
22369
  BaseNavbarItem: Va,
22361
22370
  BaseNavbarItemContent: za,
22362
22371
  BasePagination: xa,
22363
- BasePanel: Vv,
22364
- BasePassword: Wv,
22365
- BaseProgressCircle: tm,
22366
- BaseRadioGroup: lm,
22367
- BaseReadMore: sm,
22368
- BaseRichText: xm,
22369
- BaseSelect: Em,
22370
- BaseShortcut: Nm,
22371
- BaseSideNavigation: qm,
22372
- BaseSideNavigationItem: Dm,
22372
+ BasePanel: zv,
22373
+ BasePassword: Gv,
22374
+ BaseProgressCircle: em,
22375
+ BaseRadioGroup: om,
22376
+ BaseReadMore: am,
22377
+ BaseRichText: _m,
22378
+ BaseSelect: Sm,
22379
+ BaseShortcut: Im,
22380
+ BaseSideNavigation: jm,
22381
+ BaseSideNavigationItem: Rm,
22373
22382
  BaseSkeleton: pn,
22374
- BaseStatistic: Wm,
22375
- BaseSwitch: Qm,
22383
+ BaseStatistic: Gm,
22384
+ BaseSwitch: Ym,
22376
22385
  BaseSystemAlert: zo,
22377
- BaseTabs: ly,
22378
- BaseTabItem: cy,
22386
+ BaseTabs: oy,
22387
+ BaseTabItem: uy,
22379
22388
  BaseTagAutocomplete: Ra,
22380
22389
  BaseTagAutocompleteFetch: Da,
22381
22390
  BaseTable: Ia,
22382
22391
  BaseTableColumn: Na,
22383
22392
  BaseTextarea: co,
22384
- BaseTextareaAutoresize: dy,
22385
- BaseTimeline: _y,
22393
+ BaseTextareaAutoresize: fy,
22394
+ BaseTimeline: ky,
22386
22395
  BaseTimelineItem: Ja,
22387
22396
  BaseLayoutStacked: ts,
22388
- BaseLayoutStackedConfigurable: Ky,
22397
+ BaseLayoutStackedConfigurable: Hy,
22389
22398
  BaseLayoutSidebar: is,
22390
- BaseLayoutSidebarConfigurable: bg
22391
- }, Symbol.toStringTag, { value: "Module" })), wg = {
22399
+ BaseLayoutSidebarConfigurable: gg
22400
+ }, Symbol.toStringTag, { value: "Module" })), bg = {
22392
22401
  and: "and",
22393
22402
  apply_filters: "Apply filters",
22394
22403
  autocomplete_placeholder: "Type to start your search",
@@ -22450,8 +22459,8 @@ const Ty = ns.exports, By = ["innerHTML"], Iy = {
22450
22459
  you_can_upload_up_to_n_files: "You can upload one file at most|You can upload up to {count} files",
22451
22460
  you_cannot_select_more_than_x_items: "You can't select more than one item|You can't select more than {count} items"
22452
22461
  }, os = {
22453
- sui: wg
22454
- }, kg = {
22462
+ sui: bg
22463
+ }, wg = {
22455
22464
  and: "et",
22456
22465
  apply_filters: "Appliquer les filtres",
22457
22466
  autocomplete_placeholder: "Tapez pour lancer votre recherche",
@@ -22516,12 +22525,12 @@ Cette action est irr\xE9versible.`,
22516
22525
  you_can_upload_up_to_n_files: "Vous pouvez t\xE9l\xE9charger un fichier au maximum|Vous pouvez t\xE9l\xE9charger jusqu'\xE0 {count}\xA0fichiers",
22517
22526
  you_cannot_select_more_than_x_items: "Vous ne pouvez pas s\xE9lectionner plus de un \xE9l\xE9ment|Vous ne pouvez pas s\xE9lectionner plus de {count} \xE9l\xE9ments"
22518
22527
  }, ls = {
22519
- sui: kg
22528
+ sui: wg
22520
22529
  };
22521
- const _g = 100, $g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22530
+ const kg = 100, Pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22522
22531
  __proto__: null,
22523
- MAGIC_NUM: _g
22524
- }, Symbol.toStringTag, { value: "Module" })), Mg = { en: os, fr: ls }, Ve = {
22532
+ MAGIC_NUM: kg
22533
+ }, Symbol.toStringTag, { value: "Module" })), $g = { en: os, fr: ls }, Ve = {
22525
22534
  i18n: vs({
22526
22535
  locale: "en",
22527
22536
  fallbackLocale: "en",
@@ -22543,12 +22552,12 @@ const _g = 100, $g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
22543
22552
  return Ho.parse(e);
22544
22553
  }
22545
22554
  };
22546
- function xg(e, o) {
22555
+ function _g(e, o) {
22547
22556
  for (const n in Sl)
22548
22557
  e.component(n, Sl[n]);
22549
22558
  o != null && o.i18n && (Ve.i18n = o.i18n), o != null && o.http && (Ve.http = o.http), o != null && o.locales && (Ve.locales = o.locales), o != null && o.upload_url && (Ve.upload_url = o.upload_url), o != null && o.formatQueryString && (Ve.formatQueryString = o.formatQueryString), o != null && o.parseQueryString && (Ve.parseQueryString = o.parseQueryString);
22550
22559
  }
22551
- const jg = { install: xg };
22560
+ const Mg = { install: _g };
22552
22561
  export {
22553
22562
  $r as BaseActionItem,
22554
22563
  wo as BaseAlert,
@@ -22574,68 +22583,68 @@ export {
22574
22583
  rr as BaseCounter,
22575
22584
  Ta as BaseDataIterator,
22576
22585
  jh as BaseDataTable,
22577
- Uh as BaseDatePicker,
22578
- rp as BaseDateSelect,
22579
- lp as BaseDescriptionList,
22580
- sp as BaseDescriptionListItem,
22586
+ Fh as BaseDatePicker,
22587
+ np as BaseDateSelect,
22588
+ op as BaseDescriptionList,
22589
+ ap as BaseDescriptionListItem,
22581
22590
  zl as BaseDialog,
22582
- cp as BaseDropdown,
22591
+ up as BaseDropdown,
22583
22592
  La as BaseField,
22584
- Bp as BaseFieldI18n,
22593
+ Tp as BaseFieldI18n,
22585
22594
  $a as BaseFilePicker,
22586
22595
  ja as BaseFileUploader,
22587
- Yp as BaseForm,
22588
- uv as BaseHasMany,
22596
+ Wp as BaseForm,
22597
+ sv as BaseHasMany,
22589
22598
  je as BaseIcon,
22590
22599
  uo as BaseInput,
22591
22600
  Ca as BaseInputLabel,
22592
22601
  is as BaseLayoutSidebar,
22593
- bg as BaseLayoutSidebarConfigurable,
22602
+ gg as BaseLayoutSidebarConfigurable,
22594
22603
  ts as BaseLayoutStacked,
22595
- Ky as BaseLayoutStackedConfigurable,
22604
+ Hy as BaseLayoutStackedConfigurable,
22596
22605
  Ma as BaseLoadingCover,
22597
22606
  po as BaseMediaItem,
22598
- Av as BaseMediaLibrary,
22607
+ Ov as BaseMediaLibrary,
22599
22608
  Fa as BaseMediaPreview,
22600
22609
  In as BaseMenu,
22601
22610
  Cr as BaseMenuItem,
22602
- Iv as BaseModalCenter,
22611
+ Bv as BaseModalCenter,
22603
22612
  Aa as BaseModalSide,
22604
22613
  Ua as BaseNavbar,
22605
22614
  Va as BaseNavbarItem,
22606
22615
  za as BaseNavbarItemContent,
22607
22616
  xa as BasePagination,
22608
- Vv as BasePanel,
22609
- Wv as BasePassword,
22610
- tm as BaseProgressCircle,
22611
- lm as BaseRadioGroup,
22612
- sm as BaseReadMore,
22613
- xm as BaseRichText,
22614
- Em as BaseSelect,
22615
- Nm as BaseShortcut,
22616
- qm as BaseSideNavigation,
22617
- Dm as BaseSideNavigationItem,
22617
+ zv as BasePanel,
22618
+ Gv as BasePassword,
22619
+ em as BaseProgressCircle,
22620
+ om as BaseRadioGroup,
22621
+ am as BaseReadMore,
22622
+ _m as BaseRichText,
22623
+ Sm as BaseSelect,
22624
+ Im as BaseShortcut,
22625
+ jm as BaseSideNavigation,
22626
+ Rm as BaseSideNavigationItem,
22618
22627
  pn as BaseSkeleton,
22619
- Wm as BaseStatistic,
22620
- Qm as BaseSwitch,
22628
+ Gm as BaseStatistic,
22629
+ Ym as BaseSwitch,
22621
22630
  zo as BaseSystemAlert,
22622
- cy as BaseTabItem,
22631
+ uy as BaseTabItem,
22623
22632
  Ia as BaseTable,
22624
22633
  Na as BaseTableColumn,
22625
- ly as BaseTabs,
22634
+ oy as BaseTabs,
22626
22635
  Ra as BaseTagAutocomplete,
22627
22636
  Da as BaseTagAutocompleteFetch,
22628
22637
  co as BaseTextarea,
22629
- dy as BaseTextareaAutoresize,
22630
- _y as BaseTimeline,
22638
+ fy as BaseTextareaAutoresize,
22639
+ ky as BaseTimeline,
22631
22640
  Ja as BaseTimelineItem,
22632
- $g as MyConstants,
22641
+ Pg as MyConstants,
22633
22642
  Ve as config,
22634
- jg as default,
22643
+ Mg as default,
22635
22644
  Bo as disableScroll,
22636
22645
  Io as enableScroll,
22637
22646
  qo as fileSizeFormat,
22638
- Mg as messages,
22647
+ $g as messages,
22639
22648
  ud as toHumanList,
22640
22649
  Ao as useDialogsStore,
22641
22650
  Nn as useNotificationsStore,