sprintify-ui 0.0.170 → 0.0.171

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import su from "axios";
2
- import { defineComponent as be, inject as it, resolveComponent as st, openBlock as R, createBlock as Te, withCtx as ge, createElementVNode as q, normalizeClass as de, withModifiers as an, renderSlot as Ae, createElementBlock as X, createCommentVNode as ke, toDisplayString as Se, createVNode as he, Transition as Pt, ref as le, computed as Y, provide as Ge, readonly as _o, unref as I, Fragment as Ve, createTextVNode as en, withDirectives as pt, isRef as Sn, vModelText as Nr, mergeProps as Yt, onMounted as tt, watchEffect as zt, renderList as Qe, nextTick as ct, h as ht, watch as Ze, onBeforeUnmount as Dn, Teleport as ar, TransitionGroup as kl, normalizeStyle as ft, vModelSelect as Ar, normalizeProps as Tt, guardReactiveProps as Mt, vShow as cn, resolveDynamicComponent as Hn, cloneVNode as uu, onUnmounted as bn, reactive as cu, withKeys as Da, useSlots as fu, createStaticVNode as _l, getCurrentInstance as du, pushScopeId as hu, popScopeId as pu, createSlots as mu } from "vue";
2
+ import { defineComponent as be, inject as it, resolveComponent as st, openBlock as R, createBlock as Te, withCtx as ge, createElementVNode as q, normalizeClass as de, withModifiers as an, renderSlot as Ae, createElementBlock as X, createCommentVNode as ke, toDisplayString as Se, createVNode as he, Transition as Pt, ref as le, computed as Y, provide as Ge, readonly as _o, unref as I, Fragment as Ve, createTextVNode as en, withDirectives as pt, isRef as Sn, vModelText as Nr, mergeProps as Yt, onMounted as et, watchEffect as zt, renderList as Qe, nextTick as ct, h as ht, watch as Ze, onBeforeUnmount as Dn, Teleport as ar, TransitionGroup as kl, normalizeStyle as ft, vModelSelect as Ar, normalizeProps as Tt, guardReactiveProps as Mt, vShow as cn, resolveDynamicComponent as Hn, cloneVNode as uu, onUnmounted as bn, reactive as cu, withKeys as Da, useSlots as fu, createStaticVNode as _l, getCurrentInstance as du, pushScopeId as hu, popScopeId as pu, createSlots as mu } from "vue";
3
3
  import { isNumber as Bo, round as Xn, get as Nn, isEqual as Mi, isArray as mt, cloneDeep as St, isObject as Dr, isString as No, throttle as Do, debounce as En, truncate as vu, trim as ta, padStart as po, range as Tn, merge as La, set as hi, isPlainObject as gu, capitalize as yu, uniqueId as bu } from "lodash";
4
4
  import Pa from "qs";
5
5
  import { useI18n as fn, createI18n as wu } from "vue-i18n";
@@ -159,7 +159,6 @@ function Lu(t, i) {
159
159
  ]);
160
160
  }
161
161
  const Pu = /* @__PURE__ */ $t(Nu, [["render", Lu]]), $u = be({
162
- components: { BaseIcon: et },
163
162
  props: {
164
163
  required: {
165
164
  default: !1,
@@ -184,28 +183,22 @@ const Pu = /* @__PURE__ */ $t(Nu, [["render", Lu]]), $u = be({
184
183
  };
185
184
  }
186
185
  }), ju = {
187
- key: 1,
186
+ key: 0,
188
187
  class: "ml-0.5 text-red-600"
189
188
  }, qu = {
190
189
  key: 0,
191
190
  class: "pointer-events-none absolute bottom-[100%] left-0 z-[1] w-auto max-w-[300px]"
192
191
  }, Ru = { class: "relative bottom-1 rounded-md bg-slate-700 py-1 px-2 text-xs leading-tight text-white" };
193
192
  function Fu(t, i, e, r, o, a) {
194
- const l = st("BaseIcon");
195
193
  return R(), X("label", {
196
194
  class: de(t.classes)
197
195
  }, [
198
196
  q("div", {
199
197
  class: de(["relative", [t.help ? "cursor-help" : "cursor-default"]]),
200
- onMouseenter: i[0] || (i[0] = (c) => t.showTooltip = !0),
201
- onMouseleave: i[1] || (i[1] = (c) => t.showTooltip = !1)
198
+ onMouseenter: i[0] || (i[0] = (l) => t.showTooltip = !0),
199
+ onMouseleave: i[1] || (i[1] = (l) => t.showTooltip = !1)
202
200
  }, [
203
201
  q("span", null, Se(t.label), 1),
204
- t.help ? (R(), Te(l, {
205
- key: 0,
206
- class: "relative bottom-px ml-1 inline h-4 w-4 text-slate-400",
207
- icon: "heroicons:question-mark-circle-20-solid"
208
- })) : ke("", !0),
209
202
  t.required ? (R(), X("span", ju, " *")) : ke("", !0),
210
203
  he(Pt, {
211
204
  "enter-active-class": "transition duration-200 ease-out",
@@ -819,7 +812,7 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
819
812
  key: 0,
820
813
  class: de(["flex shrink-0 items-center justify-center rounded-l border-r px-3 transition-colors", [I(d), I(w), I(b)]])
821
814
  }, [
822
- he(I(et), { icon: t.iconLeft }, null, 8, ["icon"])
815
+ he(I(nt), { icon: t.iconLeft }, null, 8, ["icon"])
823
816
  ], 2)) : ke("", !0),
824
817
  t.prefix ? (R(), X("div", {
825
818
  key: 1,
@@ -880,7 +873,7 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
880
873
  key: 6,
881
874
  class: de(["flex shrink-0 items-center justify-center rounded-r border-l px-3 transition-colors", [I(d), I(w), I(b)]])
882
875
  }, [
883
- he(I(et), { icon: t.iconRight }, null, 8, ["icon"])
876
+ he(I(nt), { icon: t.iconRight }, null, 8, ["icon"])
884
877
  ], 2)) : ke("", !0)
885
878
  ], 2));
886
879
  }
@@ -942,7 +935,7 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
942
935
  f.value = d();
943
936
  },
944
937
  { attributes: !1, childList: !0 }
945
- ), tt(() => {
938
+ ), et(() => {
946
939
  f.value = d();
947
940
  });
948
941
  function d() {
@@ -1027,7 +1020,7 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
1027
1020
  const d = St(e.modelValue ?? {});
1028
1021
  return d.address_1 = d.address_1 ?? "", d.address_2 = d.address_2 ?? "", d.city = d.city ?? "", d.postal_code = d.postal_code ?? "", d.country = d.country ?? "", d.region = d.region ?? "", d;
1029
1022
  }
1030
- ), o = Y(() => e.countries && mt(e.countries) && e.countries.length ? e.countries : nt.countries), a = Y(() => e.regions && mt(e.regions) && e.regions.length ? e.regions : nt.regions), l = Y(() => a.value.filter(
1023
+ ), o = Y(() => e.countries && mt(e.countries) && e.countries.length ? e.countries : tt.countries), a = Y(() => e.regions && mt(e.regions) && e.regions.length ? e.regions : tt.regions), l = Y(() => a.value.filter(
1031
1024
  (d) => d.country_id == r.value.country
1032
1025
  )), c = Y(() => e.prefix ? e.prefix + "." : "");
1033
1026
  function u(d, w) {
@@ -1041,7 +1034,7 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
1041
1034
  }
1042
1035
  );
1043
1036
  let h = null;
1044
- tt(() => {
1037
+ et(() => {
1045
1038
  window.google && f.value && (h = new window.google.maps.places.Autocomplete(
1046
1039
  f.value,
1047
1040
  {
@@ -1182,22 +1175,20 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
1182
1175
  }, 8, ["label", "name"]),
1183
1176
  he(Mn, {
1184
1177
  label: d.$t("sui.region"),
1185
- name: `${I(c)}country`,
1178
+ name: `${I(c)}region`,
1186
1179
  required: "",
1187
1180
  class: "mb-4 flex-1"
1188
1181
  }, {
1189
1182
  default: ge(() => [
1190
1183
  he(Ii, {
1191
1184
  "model-value": I(r).region ?? "",
1192
- label: d.$t("sui.region"),
1193
- name: `${I(c)}region`,
1194
1185
  class: "w-full",
1195
1186
  required: "",
1196
1187
  options: I(l),
1197
1188
  "label-key": "name",
1198
1189
  "value-key": "id",
1199
1190
  "onUpdate:modelValue": w[5] || (w[5] = (b) => u("region", b))
1200
- }, null, 8, ["model-value", "label", "name", "options"])
1191
+ }, null, 8, ["model-value", "options"])
1201
1192
  ]),
1202
1193
  _: 1
1203
1194
  }, 8, ["label", "name"])
@@ -2315,7 +2306,7 @@ if (typeof document < "u" && typeof window < "u") {
2315
2306
  const uf = {
2316
2307
  ...Po,
2317
2308
  body: ""
2318
- }, et = be({
2309
+ }, nt = be({
2319
2310
  inheritAttrs: !1,
2320
2311
  data() {
2321
2312
  return {
@@ -2402,7 +2393,7 @@ const uf = {
2402
2393
  emits: ["cancel", "confirm"],
2403
2394
  setup(t) {
2404
2395
  const i = le(null);
2405
- return tt(() => {
2396
+ return et(() => {
2406
2397
  i.value && i.value.focus();
2407
2398
  }), (e, r) => (R(), X("div", cf, [
2408
2399
  q("div", ff, [
@@ -2414,19 +2405,19 @@ const uf = {
2414
2405
  "bg-green-100": t.color == "success"
2415
2406
  }])
2416
2407
  }, [
2417
- t.color == "danger" ? (R(), Te(I(et), {
2408
+ t.color == "danger" ? (R(), Te(I(nt), {
2418
2409
  key: 0,
2419
2410
  class: "h-6 w-6 text-red-600",
2420
2411
  icon: "heroicons:exclamation-triangle-20-solid"
2421
- })) : t.color == "warning" ? (R(), Te(I(et), {
2412
+ })) : t.color == "warning" ? (R(), Te(I(nt), {
2422
2413
  key: 1,
2423
2414
  class: "h-6 w-6 text-yellow-600",
2424
2415
  icon: "heroicons:exclamation-triangle-20-solid"
2425
- })) : t.color == "success" ? (R(), Te(I(et), {
2416
+ })) : t.color == "success" ? (R(), Te(I(nt), {
2426
2417
  key: 2,
2427
2418
  class: "h-6 w-6 text-green-600",
2428
2419
  icon: "heroicons:check-circle-20-solid"
2429
- })) : (R(), Te(I(et), {
2420
+ })) : (R(), Te(I(nt), {
2430
2421
  key: 3,
2431
2422
  class: "h-6 w-6 text-primary-600",
2432
2423
  icon: "heroicons:information-circle-20-solid"
@@ -2474,8 +2465,8 @@ const uf = {
2474
2465
  color: t.color ?? "info",
2475
2466
  title: t.title,
2476
2467
  message: t.message,
2477
- confirmText: t.confirmText ?? nt.i18n.global.t("sui.confirm"),
2478
- cancelText: t.cancelText ?? nt.i18n.global.t("sui.cancel"),
2468
+ confirmText: t.confirmText ?? tt.i18n.global.t("sui.confirm"),
2469
+ cancelText: t.cancelText ?? tt.i18n.global.t("sui.cancel"),
2479
2470
  closeOnOutsideClick: t.closeOnOutsideClick ?? !0,
2480
2471
  onConfirm: t.onConfirm ?? function() {
2481
2472
  },
@@ -3323,7 +3314,7 @@ const Vl = /* @__PURE__ */ $t(Bf, [["render", Pf]]), $f = { class: "relative w-f
3323
3314
  }
3324
3315
  }
3325
3316
  }
3326
- tt(() => {
3317
+ et(() => {
3327
3318
  _u(
3328
3319
  o.value,
3329
3320
  () => {
@@ -3415,7 +3406,7 @@ const Vl = /* @__PURE__ */ $t(Bf, [["render", Pf]]), $f = { class: "relative w-f
3415
3406
  }, [
3416
3407
  q("div", Ff, Se(m.label), 1),
3417
3408
  q("div", zf, [
3418
- p(m) ? (R(), Te(I(et), {
3409
+ p(m) ? (R(), Te(I(nt), {
3419
3410
  key: 0,
3420
3411
  icon: "heroicons:check-20-solid",
3421
3412
  class: de(I(g))
@@ -3716,7 +3707,7 @@ const Vl = /* @__PURE__ */ $t(Bf, [["render", Pf]]), $f = { class: "relative w-f
3716
3707
  q("div", {
3717
3708
  class: de(["pointer-events-none absolute top-0 left-0 flex h-full items-center justify-center", [I(ce)]])
3718
3709
  }, [
3719
- he(I(et), {
3710
+ he(I(nt), {
3720
3711
  class: de(["text-slate-400", [I(Z)]]),
3721
3712
  icon: "heroicons:magnifying-glass-solid"
3722
3713
  }, null, 8, ["class"])
@@ -3729,7 +3720,7 @@ const Vl = /* @__PURE__ */ $t(Bf, [["render", Pf]]), $f = { class: "relative w-f
3729
3720
  class: "group flex h-full items-center rounded p-1.5 enabled:hover:bg-slate-100",
3730
3721
  onClick: P[1] || (P[1] = (D) => S())
3731
3722
  }, [
3732
- he(I(et), {
3723
+ he(I(nt), {
3733
3724
  icon: "heroicons:x-mark",
3734
3725
  class: de(["text-slate-500 group-hover:text-slate-700", [I(Z)]])
3735
3726
  }, null, 8, ["class"])
@@ -3899,7 +3890,7 @@ const nd = {
3899
3890
  }
3900
3891
  );
3901
3892
  function n() {
3902
- a.value || (a.value = !0, o.value = !0, nt.http.get(r.url, {
3893
+ a.value || (a.value = !0, o.value = !0, tt.http.get(r.url, {
3903
3894
  params: {
3904
3895
  [r.queryKey]: c.value,
3905
3896
  page: u.value
@@ -4820,7 +4811,7 @@ const Ad = /* @__PURE__ */ be({
4820
4811
  class: de(["inline-flex items-center rounded-full font-medium", [I(r)]]),
4821
4812
  style: ft(I(e))
4822
4813
  }, [
4823
- t.icon ? (R(), Te(I(et), {
4814
+ t.icon ? (R(), Te(I(nt), {
4824
4815
  key: 0,
4825
4816
  icon: t.icon,
4826
4817
  class: de(I(o))
@@ -4910,7 +4901,7 @@ const Ad = /* @__PURE__ */ be({
4910
4901
  },
4911
4902
  emits: ["update:modelValue"],
4912
4903
  setup(t, { expose: i, emit: e }) {
4913
- const r = t, o = nt.http, a = le(null), l = le(r.currentModel);
4904
+ const r = t, o = tt.http, a = le(null), l = le(r.currentModel);
4914
4905
  Ze(
4915
4906
  () => r.currentModel,
4916
4907
  (u, p) => {
@@ -5255,7 +5246,7 @@ const Hd = /* @__PURE__ */ $t(Rd, [["render", Vd]]), Kd = ["type", "disabled", "
5255
5246
  },
5256
5247
  setup(t) {
5257
5248
  const i = le(1), e = le(0), r = le(null);
5258
- tt(() => {
5249
+ et(() => {
5259
5250
  window.addEventListener("resize", o), a();
5260
5251
  }), Dn(() => {
5261
5252
  window.removeEventListener("resize", o);
@@ -6638,7 +6629,7 @@ function al(t, i) {
6638
6629
  }
6639
6630
  function os(t, i) {
6640
6631
  let e = le(al(t.value.type, t.value.as));
6641
- return tt(() => {
6632
+ return et(() => {
6642
6633
  e.value = al(t.value.type, t.value.as);
6643
6634
  }), zt(() => {
6644
6635
  var r;
@@ -6886,7 +6877,7 @@ function Ah({ ownerDocument: t }, i) {
6886
6877
  function o() {
6887
6878
  !e.value || (Un(e.value), e.value = null);
6888
6879
  }
6889
- tt(() => {
6880
+ et(() => {
6890
6881
  Ze(i, (a, l) => {
6891
6882
  a !== l && (a ? r() : o());
6892
6883
  }, { immediate: !0 });
@@ -6894,7 +6885,7 @@ function Ah({ ownerDocument: t }, i) {
6894
6885
  }
6895
6886
  function Ch({ ownerDocument: t, container: i, initialFocus: e }, r) {
6896
6887
  let o = le(null), a = le(!1);
6897
- return tt(() => a.value = !0), bn(() => a.value = !1), tt(() => {
6888
+ return et(() => a.value = !0), bn(() => a.value = !1), et(() => {
6898
6889
  Ze([i, e, r], (l, c) => {
6899
6890
  if (l.every((p, f) => (c == null ? void 0 : c[f]) === p) || !r.value)
6900
6891
  return;
@@ -7036,7 +7027,7 @@ function Lh({ type: t, enabled: i, element: e, onUpdate: r }) {
7036
7027
  function a(...l) {
7037
7028
  r == null || r(...l), o(...l);
7038
7029
  }
7039
- tt(() => {
7030
+ et(() => {
7040
7031
  Ze(i, (l, c) => {
7041
7032
  l ? a(0, t, e) : c === !0 && a(1, t, e);
7042
7033
  }, { immediate: !0, flush: "sync" });
@@ -7063,7 +7054,7 @@ function ys({ slot: t = le({}), name: i = "Description", props: e = {} } = {}) {
7063
7054
  }
7064
7055
  let F1 = be({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${ln()}` } }, setup(t, { attrs: i, slots: e }) {
7065
7056
  let r = Ph();
7066
- return tt(() => bn(r.register(t.id))), () => {
7057
+ return et(() => bn(r.register(t.id))), () => {
7067
7058
  let { name: o = "Description", slot: a = le({}), props: l = {} } = r, { id: c, ...u } = t, p = { ...Object.entries(l).reduce((f, [h, s]) => Object.assign(f, { [h]: I(s) }), {}), id: c };
7068
7059
  return kt({ ourProps: p, theirProps: u, slot: a.value, attrs: i, slots: e, name: o });
7069
7060
  };
@@ -7110,7 +7101,7 @@ function Hr(t) {
7110
7101
  let ao = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", qh = be({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: ao }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${ln()}` } }, emits: { close: (t) => !0 }, setup(t, { emit: i, attrs: e, slots: r, expose: o }) {
7111
7102
  var a;
7112
7103
  let l = le(!1);
7113
- tt(() => {
7104
+ et(() => {
7114
7105
  l.value = !0;
7115
7106
  });
7116
7107
  let c = le(0), u = qo(), p = Y(() => t.open === ao && u !== null ? Xt(u.value, { [yn.Open]: !0, [yn.Closed]: !1 }) : t.open), f = le(/* @__PURE__ */ new Set()), h = le(null), s = le(null), d = Y(() => Ln(h));
@@ -7208,7 +7199,7 @@ be({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div
7208
7199
  } });
7209
7200
  be({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${ln()}` } }, inheritAttrs: !1, setup(t, { attrs: i, slots: e, expose: r }) {
7210
7201
  let o = Hr("DialogBackdrop"), a = le(null);
7211
- return r({ el: a, $el: a }), tt(() => {
7202
+ return r({ el: a, $el: a }), et(() => {
7212
7203
  if (o.panelRef.value === null)
7213
7204
  throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
7214
7205
  }), () => {
@@ -7229,7 +7220,7 @@ let Rh = be({ name: "DialogPanel", props: { as: { type: [Object, String], defaul
7229
7220
  } });
7230
7221
  be({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${ln()}` } }, setup(t, { attrs: i, slots: e }) {
7231
7222
  let r = Hr("DialogTitle");
7232
- return tt(() => {
7223
+ return et(() => {
7233
7224
  r.setTitleId(t.id), bn(() => r.setTitleId(null));
7234
7225
  }), () => {
7235
7226
  let { id: o, ...a } = t;
@@ -7388,11 +7379,11 @@ let Vh = be({ name: "Menu", props: { as: { type: [Object, String], default: "tem
7388
7379
  let o = Fo("MenuItem"), a = le(null);
7389
7380
  r({ el: a, $el: a });
7390
7381
  let l = Y(() => o.activeItemIndex.value !== null ? o.items.value[o.activeItemIndex.value].id === t.id : !1), c = Y(() => ({ disabled: t.disabled, textValue: "", domRef: a }));
7391
- tt(() => {
7382
+ et(() => {
7392
7383
  var w, b;
7393
7384
  let v = (b = (w = at(a)) == null ? void 0 : w.textContent) == null ? void 0 : b.toLowerCase().trim();
7394
7385
  v !== void 0 && (c.value.textValue = v);
7395
- }), tt(() => o.registerItem(t.id, c)), bn(() => o.unregisterItem(t.id)), zt(() => {
7386
+ }), et(() => o.registerItem(t.id, c)), bn(() => o.unregisterItem(t.id)), zt(() => {
7396
7387
  o.menuState.value === 0 && (!l.value || o.activationTrigger.value !== 0 && ct(() => {
7397
7388
  var w, b;
7398
7389
  return (b = (w = at(a)) == null ? void 0 : w.scrollIntoView) == null ? void 0 : b.call(w, { block: "nearest" });
@@ -7443,7 +7434,7 @@ function Wh({ slot: t = {}, name: i = "Label", props: e = {} } = {}) {
7443
7434
  }
7444
7435
  let Yh = be({ name: "Label", props: { as: { type: [Object, String], default: "label" }, passive: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-label-${ln()}` } }, setup(t, { slots: i, attrs: e }) {
7445
7436
  let r = ks();
7446
- return tt(() => bn(r.register(t.id))), () => {
7437
+ return et(() => bn(r.register(t.id))), () => {
7447
7438
  let { name: o = "Label", slot: a = {}, props: l = {} } = r, { id: c, passive: u, ...p } = t, f = { ...Object.entries(l).reduce((h, [s, d]) => Object.assign(h, { [s]: I(d) }), {}), id: c };
7448
7439
  return u && (delete f.onClick, delete p.onClick), kt({ ourProps: f, theirProps: p, slot: a, attrs: e, slots: i, name: o });
7449
7440
  };
@@ -7472,7 +7463,7 @@ let Yh = be({ name: "Label", props: { as: { type: [Object, String], default: "la
7472
7463
  var v, g;
7473
7464
  return (g = (v = at(f)) == null ? void 0 : v.closest) == null ? void 0 : g.call(v, "form");
7474
7465
  });
7475
- return tt(() => {
7466
+ return et(() => {
7476
7467
  Ze([b], () => {
7477
7468
  if (!b.value || t.defaultChecked === void 0)
7478
7469
  return;
@@ -7546,7 +7537,7 @@ function zo(t) {
7546
7537
  }
7547
7538
  function xs(t) {
7548
7539
  let i = le([]), e = le(!1);
7549
- tt(() => e.value = !0), bn(() => e.value = !1);
7540
+ et(() => e.value = !0), bn(() => e.value = !1);
7550
7541
  function r(a, l = Bn.Hidden) {
7551
7542
  let c = i.value.findIndex(({ id: u }) => u === a);
7552
7543
  c !== -1 && (Xt(l, { [Bn.Unmount]() {
@@ -7569,7 +7560,7 @@ let Ss = ir.RenderStrategy, bo = be({ props: { as: { type: [Object, String], def
7569
7560
  let { show: u, appear: p } = np(), { register: f, unregister: h } = rp(), s = { value: !0 }, d = ln(), w = { value: !1 }, b = xs(() => {
7570
7561
  w.value || (l.value = "hidden", h(d), i("afterLeave"));
7571
7562
  });
7572
- tt(() => {
7563
+ et(() => {
7573
7564
  let _ = f(d);
7574
7565
  bn(_);
7575
7566
  }), zt(() => {
@@ -7582,7 +7573,7 @@ let Ss = ir.RenderStrategy, bo = be({ props: { as: { type: [Object, String], def
7582
7573
  }
7583
7574
  });
7584
7575
  let v = Fn(t.enter), g = Fn(t.enterFrom), n = Fn(t.enterTo), k = Fn(t.entered), m = Fn(t.leave), S = Fn(t.leaveFrom), A = Fn(t.leaveTo);
7585
- tt(() => {
7576
+ et(() => {
7586
7577
  zt(() => {
7587
7578
  if (l.value === "visible") {
7588
7579
  let _ = at(a);
@@ -7599,7 +7590,7 @@ let Ss = ir.RenderStrategy, bo = be({ props: { as: { type: [Object, String], def
7599
7590
  w.value = !1, O === Hi.Finished && (zo(b) || (l.value = "hidden", h(d), i("afterLeave")));
7600
7591
  })));
7601
7592
  }
7602
- return tt(() => {
7593
+ return et(() => {
7603
7594
  Ze([u], (_, x, y) => {
7604
7595
  E(y), s.value = !1;
7605
7596
  }, { immediate: !0 });
@@ -7616,7 +7607,7 @@ let Ss = ir.RenderStrategy, bo = be({ props: { as: { type: [Object, String], def
7616
7607
  let l = le(a.value ? "visible" : "hidden"), c = xs(() => {
7617
7608
  l.value = "hidden";
7618
7609
  }), u = le(!0), p = { show: a, appear: Y(() => t.appear || !u.value) };
7619
- return tt(() => {
7610
+ return et(() => {
7620
7611
  zt(() => {
7621
7612
  u.value = !1, a.value ? l.value = "visible" : zo(c) || (l.value = "hidden");
7622
7613
  });
@@ -8012,7 +8003,7 @@ const ip = { class: "flex items-center" }, ap = {
8012
8003
  });
8013
8004
  function kp(t, i) {
8014
8005
  let e = "";
8015
- i = i || nt.i18n.global.t("sui.and");
8006
+ i = i || tt.i18n.global.t("sui.and");
8016
8007
  for (let r = 0; r < t.length; r++) {
8017
8008
  const o = t[r];
8018
8009
  e += o, r < t.length - 2 ? e += ", " : r == t.length - 2 && (e += " " + i + " ");
@@ -8021,11 +8012,11 @@ function kp(t, i) {
8021
8012
  }
8022
8013
  function Ea(t) {
8023
8014
  const i = Math.floor(Math.log(t) / Math.log(1024)), e = [
8024
- nt.i18n.global.t("sui.units.b"),
8025
- nt.i18n.global.t("sui.units.kb"),
8026
- nt.i18n.global.t("sui.units.mb"),
8027
- nt.i18n.global.t("sui.units.gb"),
8028
- nt.i18n.global.t("sui.units.tb")
8015
+ tt.i18n.global.t("sui.units.b"),
8016
+ tt.i18n.global.t("sui.units.kb"),
8017
+ tt.i18n.global.t("sui.units.mb"),
8018
+ tt.i18n.global.t("sui.units.gb"),
8019
+ tt.i18n.global.t("sui.units.tb")
8029
8020
  ];
8030
8021
  return +(t / Math.pow(1024, i)).toFixed(2) * 1 + " " + e[i];
8031
8022
  }
@@ -8037,7 +8028,7 @@ function As(t, i) {
8037
8028
  r();
8038
8029
  },
8039
8030
  { immediate: !0 }
8040
- ), tt(() => {
8031
+ ), et(() => {
8041
8032
  e.value = !0, r();
8042
8033
  }), Dn(() => {
8043
8034
  a();
@@ -8254,7 +8245,7 @@ const Ap = {
8254
8245
  "update:query"
8255
8246
  ],
8256
8247
  setup(t, { expose: i }) {
8257
- const e = t, r = nt.http, o = le(null), a = le(null), l = Su(), c = Eu(), u = l.name;
8248
+ const e = t, r = tt.http, o = le(null), a = le(null), l = Su(), c = Eu(), u = l.name;
8258
8249
  let p = !1;
8259
8250
  Dn(() => {
8260
8251
  p = !0;
@@ -8275,7 +8266,7 @@ const Ap = {
8275
8266
  ra(E, x, {
8276
8267
  attributes: !1,
8277
8268
  childList: !0
8278
- }), tt(() => {
8269
+ }), et(() => {
8279
8270
  _();
8280
8271
  }), Ze(
8281
8272
  () => m.value,
@@ -8301,8 +8292,8 @@ const Ap = {
8301
8292
  const Me = c.resolve({
8302
8293
  path: l.path,
8303
8294
  params: l.params
8304
- }), se = nt.formatQueryString(Oe), ue = Me.fullPath + "?" + se, we = K();
8305
- if (nt.formatQueryString(we) != se) {
8295
+ }), se = tt.formatQueryString(Oe), ue = Me.fullPath + "?" + se, we = K();
8296
+ if (tt.formatQueryString(we) != se) {
8306
8297
  if (!h.value) {
8307
8298
  c.replace(ue);
8308
8299
  return;
@@ -8344,7 +8335,7 @@ const Ap = {
8344
8335
  }
8345
8336
  );
8346
8337
  function K() {
8347
- return nt.parseQueryString(window.location.search.replace(/^(\?)/, ""));
8338
+ return tt.parseQueryString(window.location.search.replace(/^(\?)/, ""));
8348
8339
  }
8349
8340
  function P() {
8350
8341
  if (!e.historyMode || p || l.name != u)
@@ -8361,11 +8352,11 @@ const Ap = {
8361
8352
  function G(Oe = !1, Me = !0) {
8362
8353
  if (p)
8363
8354
  return;
8364
- const se = $.value.split(/[?#]/), ue = se[0], we = se[1] ?? null, _e = nt.parseQueryString(we), me = La(
8355
+ const se = $.value.split(/[?#]/), ue = se[0], we = se[1] ?? null, _e = tt.parseQueryString(we), me = La(
8365
8356
  St(n.value),
8366
8357
  St(e.urlQuery),
8367
8358
  St(_e)
8368
- ), je = nt.formatQueryString(me), Pe = ue + "?" + je;
8359
+ ), je = tt.formatQueryString(me), Pe = ue + "?" + je;
8369
8360
  v == Pe && !Oe || (Me && (s.value = !0), v = Pe, r.get(Pe).then((Re) => {
8370
8361
  ie.value = Re.data, s.value = !1, d.value = !1, h.value = !0;
8371
8362
  }).catch(() => {
@@ -8387,7 +8378,7 @@ const Ap = {
8387
8378
  }
8388
8379
  let fe = St(n.value);
8389
8380
  const Ee = K();
8390
- return fe = La(fe, Ee), B(fe), tt(() => {
8381
+ return fe = La(fe, Ee), B(fe), et(() => {
8391
8382
  re();
8392
8383
  }), i({
8393
8384
  fetch: () => G(!0),
@@ -8761,7 +8752,7 @@ const Bs = /* @__PURE__ */ $t(Yp, [["render", Jp], ["__scopeId", "data-v-945515f
8761
8752
  () => {
8762
8753
  D();
8763
8754
  }
8764
- ), tt(() => {
8755
+ ), et(() => {
8765
8756
  ct(() => {
8766
8757
  D();
8767
8758
  });
@@ -9365,7 +9356,7 @@ const Ls = /* @__PURE__ */ $t(Nm, [["render", $m]]), jm = { class: "flex justify
9365
9356
  "check"
9366
9357
  ],
9367
9358
  setup(t, { expose: i, emit: e }) {
9368
- const r = t, o = fn(), a = nt.http, l = fa(), c = sr(), u = le(null), p = le(null);
9359
+ const r = t, o = fn(), a = tt.http, l = fa(), c = sr(), u = le(null), p = le(null);
9369
9360
  function f(y) {
9370
9361
  e("cell-click", y);
9371
9362
  }
@@ -11219,7 +11210,7 @@ const iv = { class: "base-date-picker relative" }, av = { class: "pointer-events
11219
11210
  animate: !1,
11220
11211
  time_24hr: !0
11221
11212
  }));
11222
- tt(() => {
11213
+ et(() => {
11223
11214
  e.modelValue !== l.value && a(l.value);
11224
11215
  }), Ze(
11225
11216
  () => l.value,
@@ -11244,7 +11235,7 @@ const iv = { class: "base-date-picker relative" }, av = { class: "pointer-events
11244
11235
  deep: !0,
11245
11236
  immediate: !0
11246
11237
  }
11247
- ), tt(() => {
11238
+ ), et(() => {
11248
11239
  v();
11249
11240
  }), Dn(() => {
11250
11241
  d && d.destroy();
@@ -11281,7 +11272,7 @@ const iv = { class: "base-date-picker relative" }, av = { class: "pointer-events
11281
11272
  }
11282
11273
  return (n, k) => (R(), X("div", iv, [
11283
11274
  q("div", av, [
11284
- he(I(et), {
11275
+ he(I(nt), {
11285
11276
  class: "relative -top-px h-5 w-5 text-slate-400",
11286
11277
  icon: "heroicons:calendar"
11287
11278
  })
@@ -11301,7 +11292,7 @@ const iv = { class: "base-date-picker relative" }, av = { class: "pointer-events
11301
11292
  class: "flex items-center rounded p-1.5 hover:bg-slate-100",
11302
11293
  onClick: k[0] || (k[0] = (m) => g())
11303
11294
  }, [
11304
- he(I(et), {
11295
+ he(I(nt), {
11305
11296
  class: "h-5 w-5 text-slate-600",
11306
11297
  icon: "heroicons:x-mark"
11307
11298
  })
@@ -11507,7 +11498,7 @@ const cv = { class: "-m-0.5 flex" }, fv = { class: "w-auto p-0.5" }, dv = ["disa
11507
11498
  var l;
11508
11499
  r.value = ((l = e.value) == null ? void 0 : l.clientWidth) ?? 800;
11509
11500
  }
11510
- return tt(() => {
11501
+ return et(() => {
11511
11502
  a();
11512
11503
  }), rr(e, En(a, 50)), (l, c) => (R(), X("div", {
11513
11504
  ref_key: "item",
@@ -13436,7 +13427,7 @@ const Iv = Wi, Bv = { class: "text-xs text-slate-600" }, js = /* @__PURE__ */ be
13436
13427
  setup(t, { expose: i }) {
13437
13428
  const e = t, r = le(
13438
13429
  null
13439
- ), o = nt.http, a = le(!1), l = le(!1), c = le(!1), u = le(""), p = le(1), f = le([]), h = le(
13430
+ ), o = tt.http, a = le(!1), l = le(!1), c = le(!1), u = le(""), p = le(1), f = le([]), h = le(
13440
13431
  null
13441
13432
  ), { items: s, lastPage: d } = va(h), w = (k) => {
13442
13433
  p.value = 1, u.value != k && (u.value = k, a.value = !0, n());
@@ -13809,7 +13800,7 @@ const Iv = Wi, Bv = { class: "text-xs text-slate-600" }, js = /* @__PURE__ */ be
13809
13800
  (h) => null
13810
13801
  );
13811
13802
  le(["#10b981", "#06b6d4", "#a855f7"]);
13812
- const l = Y(() => e.locales ? e.locales : nt.locales), c = Y(() => {
13803
+ const l = Y(() => e.locales ? e.locales : tt.locales), c = Y(() => {
13813
13804
  let h = {};
13814
13805
  return e.modelValue && gu(e.modelValue) && (h = e.modelValue), Object.keys(l.value).forEach((s) => {
13815
13806
  Nn(e.modelValue, s) || (h[s] = e.defaultValue);
@@ -14069,7 +14060,7 @@ const Rs = /* @__PURE__ */ $t(Yv, [["render", Zv]]), Jv = {
14069
14060
  "upload:end"
14070
14061
  ],
14071
14062
  setup(t, { emit: i }) {
14072
- const e = t, r = nt.http, o = fn(), a = sr(), l = le(!1);
14063
+ const e = t, r = tt.http, o = fn(), a = sr(), l = le(!1);
14073
14064
  async function c(p) {
14074
14065
  if (!l.value) {
14075
14066
  if (l.value = !0, !await e.beforeUpload()) {
@@ -14098,7 +14089,7 @@ const Rs = /* @__PURE__ */ $t(Yv, [["render", Zv]]), Jv = {
14098
14089
  }
14099
14090
  const h = new FormData();
14100
14091
  h.append("file", p), i("upload:start");
14101
- const d = (await r.post(e.url ?? nt.upload_url, h)).data;
14092
+ const d = (await r.post(e.url ?? tt.upload_url, h)).data;
14102
14093
  d.original_file = p;
14103
14094
  const w = new FileReader();
14104
14095
  w.onload = (b) => {
@@ -14260,7 +14251,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
14260
14251
  },
14261
14252
  emits: ["error", "success"],
14262
14253
  setup(t, { expose: i, emit: e }) {
14263
- const r = t, o = sr(), a = fn(), l = le(null), c = le(!1), u = le(!1), p = le({}), f = Y(() => r.axiosInstance ? r.axiosInstance : nt.http), h = Y(() => l.value), s = Y(() => Object.keys(p.value).length > 0), d = Y(() => {
14254
+ const r = t, o = sr(), a = fn(), l = le(null), c = le(!1), u = le(!1), p = le({}), f = Y(() => r.axiosInstance ? r.axiosInstance : tt.http), h = Y(() => l.value), s = Y(() => Object.keys(p.value).length > 0), d = Y(() => {
14264
14255
  if (!s.value)
14265
14256
  return null;
14266
14257
  const E = Object.keys(p.value);
@@ -14542,7 +14533,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
14542
14533
  k != "" && (k = "-" + k), i("update:modelValue", n + k);
14543
14534
  });
14544
14535
  }
14545
- return tt(() => {
14536
+ return et(() => {
14546
14537
  w();
14547
14538
  }), (n, k) => (R(), X("div", {
14548
14539
  class: "w-full overflow-hidden rounded border bg-white",
@@ -14587,7 +14578,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
14587
14578
  ], "flex items-center justify-center rounded p-1"]),
14588
14579
  onClick: (S) => r(m)
14589
14580
  }, [
14590
- he(I(et), { icon: m }, null, 8, ["icon"])
14581
+ he(I(nt), { icon: m }, null, 8, ["icon"])
14591
14582
  ], 10, hg)
14592
14583
  ]))), 128))
14593
14584
  ])
@@ -14719,15 +14710,15 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
14719
14710
  class: "h-full w-full bg-black object-contain object-center",
14720
14711
  alt: I(e)
14721
14712
  }, null, 8, gg)) : (R(), X("div", yg, [
14722
- I(o) == "pdf" ? (R(), Te(I(et), {
14713
+ I(o) == "pdf" ? (R(), Te(I(nt), {
14723
14714
  key: 0,
14724
14715
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
14725
14716
  icon: "mdi:file-pdf-box"
14726
- })) : I(r) == "image" ? (R(), Te(I(et), {
14717
+ })) : I(r) == "image" ? (R(), Te(I(nt), {
14727
14718
  key: 1,
14728
14719
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
14729
14720
  icon: "mdi:camera"
14730
- })) : I(r) == "audio" ? (R(), Te(I(et), {
14721
+ })) : I(r) == "audio" ? (R(), Te(I(nt), {
14731
14722
  key: 2,
14732
14723
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
14733
14724
  icon: "mdi:music"
@@ -14782,7 +14773,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
14782
14773
  class: "rounded-full bg-white p-1 text-slate-400 hover:bg-slate-100",
14783
14774
  onClick: l[0] || (l[0] = (c) => a.$emit("remove"))
14784
14775
  }, [
14785
- he(I(et), {
14776
+ he(I(nt), {
14786
14777
  icon: "heroicons:x-mark-20-solid",
14787
14778
  class: "h-4 w-4"
14788
14779
  })
@@ -15182,12 +15173,12 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
15182
15173
  onClick: l[0] || (l[0] = (c) => e())
15183
15174
  }, [
15184
15175
  Rg,
15185
- I(i) ? (R(), Te(I(et), {
15176
+ I(i) ? (R(), Te(I(nt), {
15186
15177
  key: 1,
15187
15178
  icon: "heroicons:x-mark",
15188
15179
  class: "block h-6 w-6",
15189
15180
  "aria-hidden": "true"
15190
- })) : (R(), Te(I(et), {
15181
+ })) : (R(), Te(I(nt), {
15191
15182
  key: 0,
15192
15183
  icon: "heroicons:bars-3",
15193
15184
  class: "block h-6 w-6",
@@ -15254,7 +15245,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
15254
15245
  class: de(I(e))
15255
15246
  }, [
15256
15247
  q("div", Fg, [
15257
- t.icon ? (R(), Te(I(et), {
15248
+ t.icon ? (R(), Te(I(nt), {
15258
15249
  key: 0,
15259
15250
  icon: t.icon,
15260
15251
  class: de(I(r))
@@ -15405,11 +15396,11 @@ const Qg = /* @__PURE__ */ $t(Vg, [["render", Gg]]), Zg = ["value", "type", "nam
15405
15396
  disabled: t.disabled,
15406
15397
  onClick: f[0] || (f[0] = (h) => c.value = !I(c))
15407
15398
  }, [
15408
- I(c) ? (R(), Te(I(et), {
15399
+ I(c) ? (R(), Te(I(nt), {
15409
15400
  key: 1,
15410
15401
  icon: "heroicons:eye-20-solid",
15411
15402
  class: "h-5 w-5"
15412
- })) : (R(), Te(I(et), {
15403
+ })) : (R(), Te(I(nt), {
15413
15404
  key: 0,
15414
15405
  icon: "heroicons:eye-slash-20-solid",
15415
15406
  class: "h-5 w-5"
@@ -15586,7 +15577,7 @@ const ly = /* @__PURE__ */ $t(ty, [["render", ay], ["__scopeId", "data-v-e5ae83e
15586
15577
  "-webkit-line-clamp": i.maxLines,
15587
15578
  "-webkit-box-orient": "vertical"
15588
15579
  }));
15589
- tt(() => {
15580
+ et(() => {
15590
15581
  l(), ra(
15591
15582
  e.value,
15592
15583
  () => {
@@ -24320,7 +24311,7 @@ const yl = {
24320
24311
  "ready"
24321
24312
  ],
24322
24313
  setup: (t, i) => {
24323
- tt(() => {
24314
+ et(() => {
24324
24315
  a();
24325
24316
  }), Dn(() => {
24326
24317
  e = null;
@@ -24582,7 +24573,7 @@ const Ny = { class: "whitespace-pre-line p-4" }, Dy = { class: "text-md font-sem
24582
24573
  class: "mb-2.5 inline-flex items-center rounded p-2",
24583
24574
  style: ft(I(e))
24584
24575
  }, [
24585
- t.icon ? (R(), Te(I(et), {
24576
+ t.icon ? (R(), Te(I(nt), {
24586
24577
  key: 0,
24587
24578
  icon: t.icon,
24588
24579
  class: de(I(r))
@@ -24593,7 +24584,7 @@ const Ny = { class: "whitespace-pre-line p-4" }, Dy = { class: "text-md font-sem
24593
24584
  t.linkText ? (R(), X("div", Py, [
24594
24585
  q("div", $y, Se(t.linkText), 1),
24595
24586
  q("div", null, [
24596
- he(I(et), {
24587
+ he(I(nt), {
24597
24588
  icon: "heroicons:arrow-right-20-solid",
24598
24589
  class: "mt-px h-4 w-4"
24599
24590
  })
@@ -24674,7 +24665,7 @@ const Hy = /* @__PURE__ */ $t(qy, [["render", Vy]]), Ky = ["href", "disabled", "
24674
24665
  };
24675
24666
  }
24676
24667
  }), Yy = be({
24677
- components: { BaseIcon: et },
24668
+ components: { BaseIcon: nt },
24678
24669
  props: {
24679
24670
  label: {
24680
24671
  default: null,
@@ -25072,7 +25063,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25072
25063
  "flex h-8 w-8 items-center justify-center rounded-full ring-8 ring-white"
25073
25064
  ])
25074
25065
  }, [
25075
- he(I(et), {
25066
+ he(I(nt), {
25076
25067
  class: "h-5 w-5 text-white",
25077
25068
  "aria-hidden": "true",
25078
25069
  icon: t.item.icon
@@ -25228,7 +25219,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25228
25219
  class: de(I(e))
25229
25220
  }, [
25230
25221
  q("div", I0, [
25231
- t.icon ? (R(), Te(I(et), {
25222
+ t.icon ? (R(), Te(I(nt), {
25232
25223
  key: 0,
25233
25224
  icon: t.icon,
25234
25225
  class: de(I(r))
@@ -25428,7 +25419,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25428
25419
  class: de(["relative flex items-center rounded-full p-1.5", [""]]),
25429
25420
  onClick: a
25430
25421
  }, [
25431
- he(I(et), {
25422
+ he(I(nt), {
25432
25423
  icon: "heroicons:bell",
25433
25424
  class: de(["h-6 w-6", [t.dark ? "text-slate-300" : "text-slate-600"]])
25434
25425
  }, null, 8, ["class"]),
@@ -25447,7 +25438,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25447
25438
  }, null, 8, ["notification"]))), 128)),
25448
25439
  t.notificationsConfig.items.length == 0 ? (R(), X("div", q0, [
25449
25440
  q("div", R0, [
25450
- he(I(et), {
25441
+ he(I(nt), {
25451
25442
  icon: "heroicons:inbox-stack",
25452
25443
  class: "mx-auto mb-2 h-8 w-8 text-slate-400"
25453
25444
  }),
@@ -25700,7 +25691,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25700
25691
  onClick: u[0] || (u[0] = (p) => r.value = !1)
25701
25692
  }, [
25702
25693
  r1,
25703
- he(I(et), {
25694
+ he(I(nt), {
25704
25695
  icon: "heroicons:x-mark",
25705
25696
  class: "h-6 w-6 text-white",
25706
25697
  "aria-hidden": "true"
@@ -25758,7 +25749,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25758
25749
  onClick: u[2] || (u[2] = (p) => r.value = !0)
25759
25750
  }, [
25760
25751
  f1,
25761
- he(I(et), {
25752
+ he(I(nt), {
25762
25753
  icon: "heroicons:bars-3-bottom-left",
25763
25754
  class: "h-6 w-6",
25764
25755
  "aria-hidden": "true"
@@ -25948,7 +25939,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25948
25939
  BaseFileUploader: zs,
25949
25940
  BaseForm: lg,
25950
25941
  BaseHasMany: sg,
25951
- BaseIcon: et,
25942
+ BaseIcon: nt,
25952
25943
  BaseIconPicker: pg,
25953
25944
  BaseInput: In,
25954
25945
  BaseInputLabel: xl,
@@ -26149,7 +26140,7 @@ Cette action est irréversible.`,
26149
26140
  const C1 = 100, z1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26150
26141
  __proto__: null,
26151
26142
  MAGIC_NUM: C1
26152
- }, Symbol.toStringTag, { value: "Module" })), U1 = { en: au, fr: lu }, nt = {
26143
+ }, Symbol.toStringTag, { value: "Module" })), U1 = { en: au, fr: lu }, tt = {
26153
26144
  i18n: wu({
26154
26145
  locale: "en",
26155
26146
  fallbackLocale: "en",
@@ -26176,7 +26167,7 @@ const C1 = 100, z1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
26176
26167
  function T1(t, i) {
26177
26168
  for (const e in wl)
26178
26169
  t.component(e, wl[e]);
26179
- i != null && i.i18n && (nt.i18n = i.i18n), i != null && i.http && (nt.http = i.http), i != null && i.locales && (nt.locales = i.locales), i != null && i.upload_url && (nt.upload_url = i.upload_url), i != null && i.formatQueryString && (nt.formatQueryString = i.formatQueryString), i != null && i.parseQueryString && (nt.parseQueryString = i.parseQueryString), i != null && i.countries && (nt.countries = i.countries), i != null && i.regions && (nt.regions = i.regions);
26170
+ i != null && i.i18n && (tt.i18n = i.i18n), i != null && i.http && (tt.http = i.http), i != null && i.locales && (tt.locales = i.locales), i != null && i.upload_url && (tt.upload_url = i.upload_url), i != null && i.formatQueryString && (tt.formatQueryString = i.formatQueryString), i != null && i.parseQueryString && (tt.parseQueryString = i.parseQueryString), i != null && i.countries && (tt.countries = i.countries), i != null && i.regions && (tt.regions = i.regions);
26180
26171
  }
26181
26172
  const V1 = { install: T1 };
26182
26173
  export {
@@ -26221,7 +26212,7 @@ export {
26221
26212
  zs as BaseFileUploader,
26222
26213
  lg as BaseForm,
26223
26214
  sg as BaseHasMany,
26224
- et as BaseIcon,
26215
+ nt as BaseIcon,
26225
26216
  pg as BaseIconPicker,
26226
26217
  In as BaseInput,
26227
26218
  xl as BaseInputLabel,
@@ -26268,7 +26259,7 @@ export {
26268
26259
  T0 as BaseTimeline,
26269
26260
  tu as BaseTimelineItem,
26270
26261
  z1 as MyConstants,
26271
- nt as config,
26262
+ tt as config,
26272
26263
  V1 as default,
26273
26264
  da as disableScroll,
26274
26265
  ha as enableScroll,
@@ -23,10 +23,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
23
23
  }>>> & {
24
24
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
25
25
  }, {
26
- countries: Country[];
27
- regions: Region[];
28
26
  modelValue: Record<string, string | number | null | undefined>;
29
27
  prefix: string | null;
28
+ countries: Country[];
29
+ regions: Region[];
30
30
  }>;
31
31
  export default _default;
32
32
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -50,8 +50,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
50
50
  type: StringConstructor;
51
51
  };
52
52
  }>>, {
53
- as: string;
54
53
  showTooltip: boolean;
54
+ as: string;
55
55
  tooltipPosition: "left" | "right" | "top" | "bottom";
56
56
  tooltipSize: "small" | "large" | "medium";
57
57
  timeZone: string;
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  };
14
14
  component: {
15
15
  default: string;
16
- type: PropType<"BaseInput" | "BaseTextarea">;
16
+ type: PropType<"BaseTextarea" | "BaseInput">;
17
17
  };
18
18
  componentProps: {
19
19
  default: undefined;
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
52
52
  };
53
53
  component: {
54
54
  default: string;
55
- type: PropType<"BaseInput" | "BaseTextarea">;
55
+ type: PropType<"BaseTextarea" | "BaseInput">;
56
56
  };
57
57
  componentProps: {
58
58
  default: undefined;
@@ -84,13 +84,13 @@ declare const _default: import("vue").DefineComponent<{
84
84
  label: string;
85
85
  required: boolean;
86
86
  name: string;
87
- locales: Locales;
88
87
  defaultValue: string | number | boolean;
89
88
  modelValue: {
90
89
  [locale: string]: string | number | boolean;
91
90
  } | null;
92
91
  hasError: boolean;
93
- component: "BaseInput" | "BaseTextarea";
92
+ component: "BaseTextarea" | "BaseInput";
93
+ locales: Locales;
94
94
  componentProps: Record<string, any>;
95
95
  }>;
96
96
  export default _default;
@@ -87,11 +87,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
87
87
  }, {
88
88
  required: boolean;
89
89
  name: string;
90
+ labelClass: string;
90
91
  disabled: boolean;
91
92
  modelValue: OptionValue | undefined;
92
93
  hasError: boolean;
93
94
  inputClass: string;
94
- labelClass: string;
95
95
  }>, {
96
96
  option: (_: {
97
97
  option: NormalizedOption;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.0.170",
3
+ "version": "0.0.171",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -72,14 +72,12 @@
72
72
  </BaseField>
73
73
  <BaseField
74
74
  :label="$t('sui.region')"
75
- :name="`${namePrefix}country`"
75
+ :name="`${namePrefix}region`"
76
76
  required
77
77
  class="mb-4 flex-1"
78
78
  >
79
79
  <BaseSelect
80
80
  :model-value="normalizedModelValue.region ?? ''"
81
- :label="$t('sui.region')"
82
- :name="`${namePrefix}region`"
83
81
  class="w-full"
84
82
  required
85
83
  :options="regions"
@@ -7,12 +7,13 @@
7
7
  @mouseleave="showTooltip = false"
8
8
  >
9
9
  <span> {{ label }}</span>
10
-
10
+ <!--
11
11
  <BaseIcon
12
12
  v-if="help"
13
13
  class="relative bottom-px ml-1 inline h-4 w-4 text-slate-400"
14
14
  icon="heroicons:question-mark-circle-20-solid"
15
15
  />
16
+ -->
16
17
 
17
18
  <span v-if="required" class="ml-0.5 text-red-600"> *</span>
18
19
 
@@ -41,10 +42,10 @@
41
42
 
42
43
  <script lang="ts">
43
44
  import { defineComponent, PropType } from 'vue';
44
- import { BaseIcon } from '.';
45
+ //import { BaseIcon } from '.';
45
46
 
46
47
  export default defineComponent({
47
- components: { BaseIcon },
48
+ //components: { BaseIcon },
48
49
  props: {
49
50
  required: {
50
51
  default: false,