sprintify-ui 0.0.1 → 0.0.3

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,10 +1,10 @@
1
- import Jt from "axios";
2
- import { defineComponent as te, resolveComponent as yt, openBlock as O, createElementBlock as M, normalizeClass as G, createBlock as Z, createCommentVNode as R, createElementVNode as F, toDisplayString as Ee, renderSlot as H, normalizeStyle as Zt, ref as K, onMounted as Xt, computed as ce, watch as $t, unref as _, createVNode as U, withDirectives as eo, Fragment as to, renderList as oo, Transition as no, withCtx as bt, vShow as ro, resolveDynamicComponent as lo, h as tt } from "vue";
3
- import { get as io } from "lodash";
4
- import { useInfiniteScroll as so } from "@vueuse/core";
1
+ import Xt from "axios";
2
+ import { defineComponent as te, resolveComponent as yt, openBlock as O, createElementBlock as M, normalizeClass as G, createBlock as Z, createCommentVNode as R, createElementVNode as F, toDisplayString as Ee, renderSlot as H, normalizeStyle as $t, ref as K, onMounted as eo, computed as ce, watch as to, unref as _, createVNode as U, withDirectives as oo, Fragment as no, renderList as ro, Transition as lo, withCtx as bt, vShow as io, resolveDynamicComponent as so, h as tt } from "vue";
3
+ import { get as co } from "lodash";
4
+ import { useInfiniteScroll as ao } from "@vueuse/core";
5
5
  import ot from "qs";
6
- import { createI18n as co } from "vue-i18n";
7
- const ao = te({
6
+ import { createI18n as uo } from "vue-i18n";
7
+ const fo = te({
8
8
  props: {
9
9
  title: {
10
10
  required: !1,
@@ -49,16 +49,16 @@ const ao = te({
49
49
  for (const [l, o] of t)
50
50
  n[l] = o;
51
51
  return n;
52
- }, uo = {
52
+ }, po = {
53
53
  key: 0,
54
54
  class: "mr-3"
55
55
  };
56
- function fo(e, t, n, l, o, i) {
56
+ function ho(e, t, n, l, o, i) {
57
57
  const s = yt("Icon");
58
58
  return O(), M("div", {
59
59
  class: G(["flex w-full items-start rounded-md p-4", [e.backgroundClass, e.borderClass]])
60
60
  }, [
61
- e.showIcon ? (O(), M("div", uo, [
61
+ e.showIcon ? (O(), M("div", po, [
62
62
  e.color == "warning" ? (O(), Z(s, {
63
63
  key: 0,
64
64
  icon: "heroicons-solid:exclamation",
@@ -91,7 +91,7 @@ function fo(e, t, n, l, o, i) {
91
91
  ])
92
92
  ], 2);
93
93
  }
94
- const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
94
+ const go = /* @__PURE__ */ St(fo, [["render", ho]]), Ie = /* @__PURE__ */ te({
95
95
  __name: "BaseSkeleton",
96
96
  props: {
97
97
  delay: {
@@ -109,20 +109,20 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
109
109
  }, [
110
110
  F("div", {
111
111
  class: "absolute inset-0 -translate-x-full animate-[shimmer_2s_infinite] border-t border-white/80 bg-gradient-to-r from-transparent via-white/80 to-transparent",
112
- style: Zt({
112
+ style: $t({
113
113
  animationDelay: e.delay
114
114
  })
115
115
  }, null, 4),
116
116
  H(t.$slots, "default")
117
117
  ], 2));
118
118
  }
119
- }), ho = { class: "relative" }, go = { class: "relative" }, mo = ["value", "placeholder", "disabled"], vo = { class: "pointer-events-none absolute top-0 left-0 flex h-full items-center justify-center pl-2.5" }, yo = {
119
+ }), mo = { class: "relative" }, vo = { class: "relative" }, yo = ["value", "placeholder", "disabled"], bo = { class: "pointer-events-none absolute top-0 left-0 flex h-full items-center justify-center pl-2.5" }, So = {
120
120
  key: 0,
121
121
  class: "absolute top-0 right-0 flex h-full items-center p-1"
122
- }, bo = { class: "relative" }, So = { class: "absolute top-1 z-[1] min-h-[110px] w-full overflow-hidden rounded border border-slate-300 bg-white shadow-md" }, wo = { class: "flex items-center justify-center px-5 py-10 text-center text-slate-600" }, ko = { key: 1 }, xo = ["onClick"], To = {
122
+ }, wo = { class: "relative" }, ko = { class: "absolute top-1 z-[1] min-h-[110px] w-full overflow-hidden rounded border border-slate-300 bg-white shadow-md" }, xo = { class: "flex items-center justify-center px-5 py-10 text-center text-slate-600" }, To = { key: 1 }, Co = ["onClick"], Io = {
123
123
  key: 0,
124
124
  class: "absolute inset-0 h-full w-full space-y-1 bg-white p-2"
125
- }, Co = { class: "space-y-1" }, Io = /* @__PURE__ */ te({
125
+ }, Ao = { class: "space-y-1" }, Lo = /* @__PURE__ */ te({
126
126
  __name: "BaseAutocomplete",
127
127
  props: {
128
128
  modelValue: {
@@ -175,8 +175,8 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
175
175
  ],
176
176
  setup(e, { emit: t }) {
177
177
  const n = e, l = K(0), o = K(""), i = K(!1), s = K(0), c = K(null), u = K(null);
178
- Xt(() => {
179
- so(
178
+ eo(() => {
179
+ ao(
180
180
  u.value,
181
181
  () => {
182
182
  t("scrollBottom");
@@ -192,7 +192,7 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
192
192
  value: n.modelValue[n.valueKey],
193
193
  option: n.modelValue
194
194
  } : null);
195
- $t(
195
+ to(
196
196
  () => g.value,
197
197
  () => {
198
198
  var m;
@@ -215,7 +215,7 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
215
215
  }, 10);
216
216
  }, y = (m) => {
217
217
  var d;
218
- s.value = 0, L(io(m, "target.value") + ""), (d = u.value) == null || d.scrollTo({
218
+ s.value = 0, L(co(m, "target.value") + ""), (d = u.value) == null || d.scrollTo({
219
219
  top: 0
220
220
  }), o.value == "" && B(null);
221
221
  }, I = (m) => {
@@ -254,8 +254,8 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
254
254
  return (m, d) => {
255
255
  const A = yt("Icon");
256
256
  return O(), M("div", null, [
257
- F("div", ho, [
258
- F("div", go, [
257
+ F("div", mo, [
258
+ F("div", vo, [
259
259
  F("input", {
260
260
  ref_key: "inputElement",
261
261
  ref: c,
@@ -269,15 +269,15 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
269
269
  onBlur: C,
270
270
  onInput: y,
271
271
  onKeydown: I
272
- }, null, 42, mo),
273
- F("div", vo, [
272
+ }, null, 42, yo),
273
+ F("div", bo, [
274
274
  U(A, {
275
275
  class: "h-5 w-5 text-slate-400",
276
276
  icon: "heroicons:magnifying-glass-solid"
277
277
  })
278
278
  ])
279
279
  ]),
280
- _(g) && !e.disabled ? (O(), M("div", yo, [
280
+ _(g) && !e.disabled ? (O(), M("div", So, [
281
281
  F("button", {
282
282
  type: "button",
283
283
  class: "group flex h-full items-center rounded p-1.5 enabled:hover:bg-slate-100",
@@ -290,17 +290,17 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
290
290
  ])
291
291
  ])) : R("", !0)
292
292
  ]),
293
- F("div", bo, [
294
- eo(F("div", So, [
293
+ F("div", wo, [
294
+ oo(F("div", ko, [
295
295
  F("div", {
296
296
  ref_key: "dropdown",
297
297
  ref: u,
298
298
  class: "max-h-[214px] w-full overflow-y-auto p-1"
299
299
  }, [
300
300
  _(w).length == 0 ? H(m.$slots, "empty", { key: 0 }, () => [
301
- F("div", wo, Ee(m.$t("sui.nothing_found")), 1)
302
- ]) : (O(), M("ul", ko, [
303
- (O(!0), M(to, null, oo(_(w), (P) => (O(), M("li", {
301
+ F("div", xo, Ee(m.$t("sui.nothing_found")), 1)
302
+ ]) : (O(), M("ul", To, [
303
+ (O(!0), M(no, null, ro(_(w), (P) => (O(), M("li", {
304
304
  key: P.value,
305
305
  class: "block"
306
306
  }, [
@@ -320,7 +320,7 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
320
320
  class: G(["rounded px-2 py-1 text-sm", T(P)])
321
321
  }, Ee(P.label), 3)
322
322
  ])
323
- ], 40, xo)
323
+ ], 40, Co)
324
324
  ]))), 128))
325
325
  ])),
326
326
  H(m.$slots, "footer", {
@@ -328,10 +328,10 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
328
328
  dontLooseFocus: x
329
329
  })
330
330
  ], 512),
331
- U(no, null, {
331
+ U(lo, null, {
332
332
  default: bt(() => [
333
- e.loading ? (O(), M("div", To, [
334
- F("div", Co, [
333
+ e.loading ? (O(), M("div", Io, [
334
+ F("div", Ao, [
335
335
  U(Ie, {
336
336
  class: "h-7 w-full",
337
337
  delay: "0ms"
@@ -350,13 +350,13 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
350
350
  _: 1
351
351
  })
352
352
  ], 512), [
353
- [ro, _(i)]
353
+ [io, _(i)]
354
354
  ])
355
355
  ])
356
356
  ]);
357
357
  };
358
358
  }
359
- }), Ao = te({
359
+ }), Eo = te({
360
360
  props: {
361
361
  loading: {
362
362
  type: Boolean,
@@ -367,10 +367,10 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
367
367
  type: String
368
368
  }
369
369
  }
370
- }), Lo = {
370
+ }), Fo = {
371
371
  key: 0,
372
372
  class: "absolute inset-0 flex h-full w-full items-center justify-center"
373
- }, Eo = /* @__PURE__ */ F("svg", {
373
+ }, Oo = /* @__PURE__ */ F("svg", {
374
374
  class: "h-4 w-4 animate-spin",
375
375
  viewBox: "0 0 24 24"
376
376
  }, [
@@ -378,11 +378,11 @@ const po = /* @__PURE__ */ St(ao, [["render", fo]]), Ie = /* @__PURE__ */ te({
378
378
  fill: "currentColor",
379
379
  d: "M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"
380
380
  })
381
- ], -1), Fo = [
382
- Eo
381
+ ], -1), Po = [
382
+ Oo
383
383
  ];
384
- function Oo(e, t, n, l, o, i) {
385
- return O(), Z(lo(e.as), {
384
+ function Mo(e, t, n, l, o, i) {
385
+ return O(), Z(so(e.as), {
386
386
  ref: "button",
387
387
  class: "btn"
388
388
  }, {
@@ -392,12 +392,12 @@ function Oo(e, t, n, l, o, i) {
392
392
  }, [
393
393
  H(e.$slots, "default")
394
394
  ], 2),
395
- e.loading ? (O(), M("div", Lo, Fo)) : R("", !0)
395
+ e.loading ? (O(), M("div", Fo, Po)) : R("", !0)
396
396
  ]),
397
397
  _: 3
398
398
  }, 512);
399
399
  }
400
- const Po = /* @__PURE__ */ St(Ao, [["render", Oo]]), X = /^[a-z0-9]+(-[a-z0-9]+)*$/, ge = (e, t, n, l = "") => {
400
+ const Go = /* @__PURE__ */ St(Eo, [["render", Mo]]), X = /^[a-z0-9]+(-[a-z0-9]+)*$/, ge = (e, t, n, l = "") => {
401
401
  const o = e.split(":");
402
402
  if (e.slice(0, 1) === "@") {
403
403
  if (o.length < 2 || o.length > 3)
@@ -451,19 +451,19 @@ const Po = /* @__PURE__ */ St(Ao, [["render", Oo]]), X = /^[a-z0-9]+(-[a-z0-9]+)
451
451
  body: "",
452
452
  hidden: !1
453
453
  });
454
- function Mo(e, t) {
454
+ function jo(e, t) {
455
455
  const n = {};
456
456
  !e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
457
457
  const l = ((e.rotate || 0) + (t.rotate || 0)) % 4;
458
458
  return l && (n.rotate = l), n;
459
459
  }
460
460
  function nt(e, t) {
461
- const n = Mo(e, t);
461
+ const n = jo(e, t);
462
462
  for (const l in Fe)
463
463
  l in pe ? l in e && !(l in n) && (n[l] = pe[l]) : l in t ? n[l] = t[l] : l in e && (n[l] = e[l]);
464
464
  return n;
465
465
  }
466
- function Go(e, t) {
466
+ function _o(e, t) {
467
467
  const n = e.icons, l = e.aliases || {}, o = /* @__PURE__ */ Object.create(null);
468
468
  function i(s) {
469
469
  if (n[s])
@@ -477,7 +477,7 @@ function Go(e, t) {
477
477
  }
478
478
  return (t || Object.keys(n).concat(Object.keys(l))).forEach(i), o;
479
479
  }
480
- function jo(e, t, n) {
480
+ function Bo(e, t, n) {
481
481
  const l = e.icons, o = e.aliases || {};
482
482
  let i = {};
483
483
  function s(c) {
@@ -495,14 +495,14 @@ function kt(e, t) {
495
495
  e.not_found instanceof Array && e.not_found.forEach((o) => {
496
496
  t(o, null), n.push(o);
497
497
  });
498
- const l = Go(e);
498
+ const l = _o(e);
499
499
  for (const o in l) {
500
500
  const i = l[o];
501
- i && (t(o, jo(e, o, i)), n.push(o));
501
+ i && (t(o, Bo(e, o, i)), n.push(o));
502
502
  }
503
503
  return n;
504
504
  }
505
- const _o = {
505
+ const No = {
506
506
  provider: "",
507
507
  aliases: {},
508
508
  not_found: {},
@@ -518,7 +518,7 @@ function xt(e) {
518
518
  if (typeof e != "object" || e === null)
519
519
  return null;
520
520
  const t = e;
521
- if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Ae(e, _o))
521
+ if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Ae(e, No))
522
522
  return null;
523
523
  const n = t.icons;
524
524
  for (const o in n) {
@@ -541,7 +541,7 @@ function xt(e) {
541
541
  return t;
542
542
  }
543
543
  const rt = /* @__PURE__ */ Object.create(null);
544
- function Bo(e, t) {
544
+ function Do(e, t) {
545
545
  return {
546
546
  provider: e,
547
547
  prefix: t,
@@ -551,14 +551,14 @@ function Bo(e, t) {
551
551
  }
552
552
  function Q(e, t) {
553
553
  const n = rt[e] || (rt[e] = /* @__PURE__ */ Object.create(null));
554
- return n[t] || (n[t] = Bo(e, t));
554
+ return n[t] || (n[t] = Do(e, t));
555
555
  }
556
556
  function Be(e, t) {
557
557
  return xt(t) ? kt(t, (n, l) => {
558
558
  l ? e.icons[n] = l : e.missing.add(n);
559
559
  }) : [];
560
560
  }
561
- function No(e, t, n) {
561
+ function zo(e, t, n) {
562
562
  try {
563
563
  if (typeof n.body == "string")
564
564
  return e.icons[t] = { ...n }, !0;
@@ -570,27 +570,27 @@ let $ = !1;
570
570
  function Tt(e) {
571
571
  return typeof e == "boolean" && ($ = e), $;
572
572
  }
573
- function Do(e) {
573
+ function Wo(e) {
574
574
  const t = typeof e == "string" ? ge(e, !0, $) : e;
575
575
  if (t) {
576
576
  const n = Q(t.provider, t.prefix), l = t.name;
577
577
  return n.icons[l] || (n.missing.has(l) ? null : void 0);
578
578
  }
579
579
  }
580
- function zo(e, t) {
580
+ function Ro(e, t) {
581
581
  const n = ge(e, !0, $);
582
582
  if (!n)
583
583
  return !1;
584
584
  const l = Q(n.provider, n.prefix);
585
- return No(l, n.name, t);
585
+ return zo(l, n.name, t);
586
586
  }
587
- function Wo(e, t) {
587
+ function Qo(e, t) {
588
588
  if (typeof e != "object")
589
589
  return !1;
590
590
  if (typeof t != "string" && (t = e.provider || ""), $ && !t && !e.prefix) {
591
591
  let o = !1;
592
592
  return xt(e) && (e.prefix = "", kt(e, (i, s) => {
593
- s && zo(i, s) && (o = !0);
593
+ s && Ro(i, s) && (o = !0);
594
594
  })), o;
595
595
  }
596
596
  const n = e.prefix;
@@ -609,7 +609,7 @@ const Ct = Object.freeze({
609
609
  }), It = Object.freeze({
610
610
  ...Ct,
611
611
  ...pe
612
- }), Ro = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Qo = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
612
+ }), Vo = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Yo = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
613
613
  function lt(e, t, n) {
614
614
  if (t === 1)
615
615
  return e;
@@ -617,11 +617,11 @@ function lt(e, t, n) {
617
617
  return Math.ceil(e * t * n) / n;
618
618
  if (typeof e != "string")
619
619
  return e;
620
- const l = e.split(Ro);
620
+ const l = e.split(Vo);
621
621
  if (l === null || !l.length)
622
622
  return e;
623
623
  const o = [];
624
- let i = l.shift(), s = Qo.test(i);
624
+ let i = l.shift(), s = Yo.test(i);
625
625
  for (; ; ) {
626
626
  if (s) {
627
627
  const c = parseFloat(i);
@@ -633,7 +633,7 @@ function lt(e, t, n) {
633
633
  s = !s;
634
634
  }
635
635
  }
636
- function Vo(e, t) {
636
+ function Ko(e, t) {
637
637
  const n = {
638
638
  ...me,
639
639
  ...e
@@ -686,15 +686,15 @@ function Vo(e, t) {
686
686
  body: i
687
687
  };
688
688
  }
689
- const Yo = /\sid="(\S+)"/g, Ko = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
690
- let Uo = 0;
691
- function Ho(e, t = Ko) {
689
+ const Uo = /\sid="(\S+)"/g, Ho = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
690
+ let qo = 0;
691
+ function Jo(e, t = Ho) {
692
692
  const n = [];
693
693
  let l;
694
- for (; l = Yo.exec(e); )
694
+ for (; l = Uo.exec(e); )
695
695
  n.push(l[1]);
696
696
  return n.length && n.forEach((o) => {
697
- const i = typeof t == "function" ? t(o) : t + (Uo++).toString(), s = o.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
697
+ const i = typeof t == "function" ? t(o) : t + (qo++).toString(), s = o.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
698
698
  e = e.replace(
699
699
  new RegExp('([#;"])(' + s + ')([")]|\\.[a-z])', "g"),
700
700
  "$1" + i + "$3"
@@ -702,7 +702,7 @@ function Ho(e, t = Ko) {
702
702
  }), e;
703
703
  }
704
704
  const Oe = /* @__PURE__ */ Object.create(null);
705
- function qo(e, t) {
705
+ function Zo(e, t) {
706
706
  Oe[e] = t;
707
707
  }
708
708
  function Pe(e) {
@@ -734,14 +734,14 @@ for (; J.length > 0; )
734
734
  De[""] = Ne({
735
735
  resources: ["https://api.iconify.design"].concat(fe)
736
736
  });
737
- function Jo(e, t) {
737
+ function Xo(e, t) {
738
738
  const n = Ne(t);
739
739
  return n === null ? !1 : (De[e] = n, !0);
740
740
  }
741
741
  function ze(e) {
742
742
  return De[e];
743
743
  }
744
- const Zo = () => {
744
+ const $o = () => {
745
745
  let e;
746
746
  try {
747
747
  if (e = fetch, typeof e == "function")
@@ -749,8 +749,8 @@ const Zo = () => {
749
749
  } catch {
750
750
  }
751
751
  };
752
- let it = Zo();
753
- function Xo(e, t) {
752
+ let it = $o();
753
+ function en(e, t) {
754
754
  const n = ze(e);
755
755
  if (!n)
756
756
  return 0;
@@ -767,11 +767,11 @@ function Xo(e, t) {
767
767
  }
768
768
  return l;
769
769
  }
770
- function $o(e) {
770
+ function tn(e) {
771
771
  return e === 404;
772
772
  }
773
- const en = (e, t, n) => {
774
- const l = [], o = Xo(e, t), i = "icons";
773
+ const on = (e, t, n) => {
774
+ const l = [], o = en(e, t), i = "icons";
775
775
  let s = {
776
776
  type: i,
777
777
  provider: e,
@@ -787,7 +787,7 @@ const en = (e, t, n) => {
787
787
  }, c = u.length), s.icons.push(u);
788
788
  }), l.push(s), l;
789
789
  };
790
- function tn(e) {
790
+ function nn(e) {
791
791
  if (typeof e == "string") {
792
792
  const t = ze(e);
793
793
  if (t)
@@ -795,12 +795,12 @@ function tn(e) {
795
795
  }
796
796
  return "/";
797
797
  }
798
- const on = (e, t, n) => {
798
+ const rn = (e, t, n) => {
799
799
  if (!it) {
800
800
  n("abort", 424);
801
801
  return;
802
802
  }
803
- let l = tn(t.provider);
803
+ let l = nn(t.provider);
804
804
  switch (t.type) {
805
805
  case "icons": {
806
806
  const i = t.prefix, c = t.icons.join(","), u = new URLSearchParams({
@@ -823,7 +823,7 @@ const on = (e, t, n) => {
823
823
  const s = i.status;
824
824
  if (s !== 200) {
825
825
  setTimeout(() => {
826
- n($o(s) ? "abort" : "next", s);
826
+ n(tn(s) ? "abort" : "next", s);
827
827
  });
828
828
  return;
829
829
  }
@@ -841,11 +841,11 @@ const on = (e, t, n) => {
841
841
  }).catch(() => {
842
842
  n("next", o);
843
843
  });
844
- }, nn = {
845
- prepare: en,
846
- send: on
844
+ }, ln = {
845
+ prepare: on,
846
+ send: rn
847
847
  };
848
- function rn(e) {
848
+ function sn(e) {
849
849
  const t = {
850
850
  loaded: [],
851
851
  missing: [],
@@ -878,7 +878,7 @@ function At(e, t) {
878
878
  l && (n.loaderCallbacks = l.filter((o) => o.id !== t));
879
879
  });
880
880
  }
881
- function ln(e) {
881
+ function cn(e) {
882
882
  e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
883
883
  e.pendingCallbacksFlag = !1;
884
884
  const t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
@@ -916,9 +916,9 @@ function ln(e) {
916
916
  });
917
917
  }));
918
918
  }
919
- let sn = 0;
920
- function cn(e, t, n) {
921
- const l = sn++, o = At.bind(null, n, l);
919
+ let an = 0;
920
+ function un(e, t, n) {
921
+ const l = an++, o = At.bind(null, n, l);
922
922
  if (!t.pending.length)
923
923
  return o;
924
924
  const i = {
@@ -931,14 +931,14 @@ function cn(e, t, n) {
931
931
  (s.loaderCallbacks || (s.loaderCallbacks = [])).push(i);
932
932
  }), o;
933
933
  }
934
- function an(e, t = !0, n = !1) {
934
+ function fn(e, t = !0, n = !1) {
935
935
  const l = [];
936
936
  return e.forEach((o) => {
937
937
  const i = typeof o == "string" ? ge(o, t, n) : o;
938
938
  i && l.push(i);
939
939
  }), l;
940
940
  }
941
- var un = {
941
+ var dn = {
942
942
  resources: [],
943
943
  index: 0,
944
944
  timeout: 2e3,
@@ -946,7 +946,7 @@ var un = {
946
946
  random: !1,
947
947
  dataAfterTimeout: !1
948
948
  };
949
- function fn(e, t, n, l) {
949
+ function pn(e, t, n, l) {
950
950
  const o = e.resources.length, i = e.random ? Math.floor(Math.random() * o) : e.index;
951
951
  let s;
952
952
  if (e.random) {
@@ -1049,7 +1049,7 @@ function fn(e, t, n, l) {
1049
1049
  }
1050
1050
  function Lt(e) {
1051
1051
  const t = {
1052
- ...un,
1052
+ ...dn,
1053
1053
  ...e
1054
1054
  };
1055
1055
  let n = [];
@@ -1057,7 +1057,7 @@ function Lt(e) {
1057
1057
  n = n.filter((c) => c().status === "pending");
1058
1058
  }
1059
1059
  function o(c, u, f) {
1060
- const g = fn(
1060
+ const g = pn(
1061
1061
  t,
1062
1062
  c,
1063
1063
  u,
@@ -1083,7 +1083,7 @@ function Lt(e) {
1083
1083
  function st() {
1084
1084
  }
1085
1085
  const Le = /* @__PURE__ */ Object.create(null);
1086
- function dn(e) {
1086
+ function hn(e) {
1087
1087
  if (!Le[e]) {
1088
1088
  const t = ze(e);
1089
1089
  if (!t)
@@ -1096,14 +1096,14 @@ function dn(e) {
1096
1096
  }
1097
1097
  return Le[e];
1098
1098
  }
1099
- function pn(e, t, n) {
1099
+ function gn(e, t, n) {
1100
1100
  let l, o;
1101
1101
  if (typeof e == "string") {
1102
1102
  const i = Pe(e);
1103
1103
  if (!i)
1104
1104
  return n(void 0, 424), st;
1105
1105
  o = i.send;
1106
- const s = dn(e);
1106
+ const s = hn(e);
1107
1107
  s && (l = s.redundancy);
1108
1108
  } else {
1109
1109
  const i = Ne(e);
@@ -1115,7 +1115,7 @@ function pn(e, t, n) {
1115
1115
  }
1116
1116
  return !l || !o ? (n(void 0, 424), st) : l.query(t, o, n)().abort;
1117
1117
  }
1118
- const ct = "iconify2", ee = "iconify", Et = ee + "-count", at = ee + "-version", Ft = 36e5, hn = 168;
1118
+ const ct = "iconify2", ee = "iconify", Et = ee + "-count", at = ee + "-version", Ft = 36e5, mn = 168;
1119
1119
  function Me(e, t) {
1120
1120
  try {
1121
1121
  return e.getItem(t);
@@ -1148,7 +1148,7 @@ const ve = {
1148
1148
  session: /* @__PURE__ */ new Set()
1149
1149
  };
1150
1150
  let Re = !1;
1151
- function gn(e) {
1151
+ function vn(e) {
1152
1152
  Re = e;
1153
1153
  }
1154
1154
  let ae = typeof window > "u" ? {} : window;
@@ -1175,7 +1175,7 @@ function Mt(e, t) {
1175
1175
  We(n, at, ct), Ge(n, 0);
1176
1176
  return;
1177
1177
  }
1178
- const o = Math.floor(Date.now() / Ft) - hn, i = (c) => {
1178
+ const o = Math.floor(Date.now() / Ft) - mn, i = (c) => {
1179
1179
  const u = ee + c.toString(), f = Me(n, u);
1180
1180
  if (typeof f == "string") {
1181
1181
  try {
@@ -1193,7 +1193,7 @@ function Mt(e, t) {
1193
1193
  }
1194
1194
  function Gt() {
1195
1195
  if (!Re) {
1196
- gn(!0);
1196
+ vn(!0);
1197
1197
  for (const e in ve)
1198
1198
  Mt(e, (t) => {
1199
1199
  const n = t.data, l = t.provider, o = n.prefix, i = Q(
@@ -1207,7 +1207,7 @@ function Gt() {
1207
1207
  });
1208
1208
  }
1209
1209
  }
1210
- function mn(e, t) {
1210
+ function yn(e, t) {
1211
1211
  const n = e.lastModifiedCached;
1212
1212
  if (n && n >= t)
1213
1213
  return n === t;
@@ -1219,7 +1219,7 @@ function mn(e, t) {
1219
1219
  });
1220
1220
  return !0;
1221
1221
  }
1222
- function vn(e, t) {
1222
+ function bn(e, t) {
1223
1223
  Re || Gt();
1224
1224
  function n(l) {
1225
1225
  let o;
@@ -1242,16 +1242,16 @@ function vn(e, t) {
1242
1242
  JSON.stringify(c)
1243
1243
  );
1244
1244
  }
1245
- t.lastModified && !mn(e, t.lastModified) || !Object.keys(t.icons).length || (t.not_found && (t = Object.assign({}, t), delete t.not_found), n("local") || n("session"));
1245
+ t.lastModified && !yn(e, t.lastModified) || !Object.keys(t.icons).length || (t.not_found && (t = Object.assign({}, t), delete t.not_found), n("local") || n("session"));
1246
1246
  }
1247
1247
  function ft() {
1248
1248
  }
1249
- function yn(e) {
1249
+ function Sn(e) {
1250
1250
  e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
1251
- e.iconsLoaderFlag = !1, ln(e);
1251
+ e.iconsLoaderFlag = !1, cn(e);
1252
1252
  }));
1253
1253
  }
1254
- function bn(e, t) {
1254
+ function wn(e, t) {
1255
1255
  e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
1256
1256
  e.iconsQueueFlag = !1;
1257
1257
  const { provider: n, prefix: l } = e, o = e.iconsToLoad;
@@ -1260,7 +1260,7 @@ function bn(e, t) {
1260
1260
  if (!o || !(i = Pe(n)))
1261
1261
  return;
1262
1262
  i.prepare(n, l, o).forEach((c) => {
1263
- pn(n, c, (u, f) => {
1263
+ gn(n, c, (u, f) => {
1264
1264
  if (typeof u != "object") {
1265
1265
  if (f !== 404)
1266
1266
  return;
@@ -1278,17 +1278,17 @@ function bn(e, t) {
1278
1278
  const b = e.pendingIcons;
1279
1279
  b && g.forEach((w) => {
1280
1280
  b.delete(w);
1281
- }), vn(e, u);
1281
+ }), bn(e, u);
1282
1282
  } catch (g) {
1283
1283
  console.error(g);
1284
1284
  }
1285
- yn(e);
1285
+ Sn(e);
1286
1286
  });
1287
1287
  });
1288
1288
  }));
1289
1289
  }
1290
- const Sn = (e, t) => {
1291
- const n = an(e, !0, Tt()), l = rn(n);
1290
+ const kn = (e, t) => {
1291
+ const n = fn(e, !0, Tt()), l = sn(n);
1292
1292
  if (!l.pending.length) {
1293
1293
  let u = !0;
1294
1294
  return t && setTimeout(() => {
@@ -1316,10 +1316,10 @@ const Sn = (e, t) => {
1316
1316
  x.has(b) || (x.add(b), o[f][g].push(b));
1317
1317
  }), i.forEach((u) => {
1318
1318
  const { provider: f, prefix: g } = u;
1319
- o[f][g].length && bn(u, o[f][g]);
1320
- }), t ? cn(t, l, i) : ft;
1319
+ o[f][g].length && wn(u, o[f][g]);
1320
+ }), t ? un(t, l, i) : ft;
1321
1321
  };
1322
- function wn(e, t) {
1322
+ function xn(e, t) {
1323
1323
  const n = {
1324
1324
  ...e
1325
1325
  };
@@ -1329,9 +1329,9 @@ function wn(e, t) {
1329
1329
  }
1330
1330
  return n;
1331
1331
  }
1332
- const kn = /[\s,]+/;
1333
- function xn(e, t) {
1334
- t.split(kn).forEach((n) => {
1332
+ const Tn = /[\s,]+/;
1333
+ function Cn(e, t) {
1334
+ t.split(Tn).forEach((n) => {
1335
1335
  switch (n.trim()) {
1336
1336
  case "horizontal":
1337
1337
  e.hFlip = !0;
@@ -1342,7 +1342,7 @@ function xn(e, t) {
1342
1342
  }
1343
1343
  });
1344
1344
  }
1345
- function Tn(e, t = 0) {
1345
+ function In(e, t = 0) {
1346
1346
  const n = e.replace(/^-?[0-9.]*/, "");
1347
1347
  function l(o) {
1348
1348
  for (; o < 0; )
@@ -1368,27 +1368,27 @@ function Tn(e, t = 0) {
1368
1368
  }
1369
1369
  return t;
1370
1370
  }
1371
- function Cn(e, t) {
1371
+ function An(e, t) {
1372
1372
  let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
1373
1373
  for (const l in t)
1374
1374
  n += " " + l + '="' + t[l] + '"';
1375
1375
  return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
1376
1376
  }
1377
- function In(e) {
1377
+ function Ln(e) {
1378
1378
  return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
1379
1379
  }
1380
- function An(e) {
1381
- return 'url("data:image/svg+xml,' + In(e) + '")';
1380
+ function En(e) {
1381
+ return 'url("data:image/svg+xml,' + Ln(e) + '")';
1382
1382
  }
1383
1383
  const dt = {
1384
1384
  ...It,
1385
1385
  inline: !1
1386
- }, Ln = {
1386
+ }, Fn = {
1387
1387
  xmlns: "http://www.w3.org/2000/svg",
1388
1388
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1389
1389
  "aria-hidden": !0,
1390
1390
  role: "img"
1391
- }, En = {
1391
+ }, On = {
1392
1392
  display: "inline-block"
1393
1393
  }, _e = {
1394
1394
  backgroundColor: "currentColor"
@@ -1417,7 +1417,7 @@ function gt(e) {
1417
1417
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
1418
1418
  }
1419
1419
  const mt = (e, t) => {
1420
- const n = wn(dt, t), l = { ...Ln }, o = t.mode || "svg", i = {}, s = t.style, c = typeof s == "object" && !(s instanceof Array) ? s : {};
1420
+ const n = xn(dt, t), l = { ...Fn }, o = t.mode || "svg", i = {}, s = t.style, c = typeof s == "object" && !(s instanceof Array) ? s : {};
1421
1421
  for (let C in t) {
1422
1422
  const y = t[C];
1423
1423
  if (y !== void 0)
@@ -1433,13 +1433,13 @@ const mt = (e, t) => {
1433
1433
  n[C] = y === !0 || y === "true" || y === 1;
1434
1434
  break;
1435
1435
  case "flip":
1436
- typeof y == "string" && xn(n, y);
1436
+ typeof y == "string" && Cn(n, y);
1437
1437
  break;
1438
1438
  case "color":
1439
1439
  i.color = y;
1440
1440
  break;
1441
1441
  case "rotate":
1442
- typeof y == "string" ? n[C] = Tn(y) : typeof y == "number" && (n[C] = y);
1442
+ typeof y == "string" ? n[C] = In(y) : typeof y == "number" && (n[C] = y);
1443
1443
  break;
1444
1444
  case "ariaHidden":
1445
1445
  case "aria-hidden":
@@ -1451,32 +1451,32 @@ const mt = (e, t) => {
1451
1451
  }
1452
1452
  }
1453
1453
  }
1454
- const u = Vo(e, n), f = u.attributes;
1454
+ const u = Ko(e, n), f = u.attributes;
1455
1455
  if (n.inline && (i.verticalAlign = "-0.125em"), o === "svg") {
1456
1456
  l.style = {
1457
1457
  ...i,
1458
1458
  ...c
1459
1459
  }, Object.assign(l, f);
1460
1460
  let C = 0, y = t.id;
1461
- return typeof y == "string" && (y = y.replace(/-/g, "_")), l.innerHTML = Ho(u.body, y ? () => y + "ID" + C++ : "iconifyVue"), tt("svg", l);
1461
+ return typeof y == "string" && (y = y.replace(/-/g, "_")), l.innerHTML = Jo(u.body, y ? () => y + "ID" + C++ : "iconifyVue"), tt("svg", l);
1462
1462
  }
1463
- const { body: g, width: b, height: w } = e, x = o === "mask" || (o === "bg" ? !1 : g.indexOf("currentColor") !== -1), k = Cn(g, {
1463
+ const { body: g, width: b, height: w } = e, x = o === "mask" || (o === "bg" ? !1 : g.indexOf("currentColor") !== -1), k = An(g, {
1464
1464
  ...f,
1465
1465
  width: b + "",
1466
1466
  height: w + ""
1467
1467
  });
1468
1468
  return l.style = {
1469
1469
  ...i,
1470
- "--svg": An(k),
1470
+ "--svg": En(k),
1471
1471
  width: gt(f.width),
1472
1472
  height: gt(f.height),
1473
- ...En,
1473
+ ...On,
1474
1474
  ...x ? _e : jt,
1475
1475
  ...c
1476
1476
  }, tt("span", l);
1477
1477
  };
1478
1478
  Tt(!0);
1479
- qo("", nn);
1479
+ Zo("", ln);
1480
1480
  if (typeof document < "u" && typeof window < "u") {
1481
1481
  Gt();
1482
1482
  const e = window;
@@ -1484,7 +1484,7 @@ if (typeof document < "u" && typeof window < "u") {
1484
1484
  const t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
1485
1485
  typeof t == "object" && t !== null && (t instanceof Array ? t : [t]).forEach((l) => {
1486
1486
  try {
1487
- (typeof l != "object" || l === null || l instanceof Array || typeof l.icons != "object" || typeof l.prefix != "string" || !Wo(l)) && console.error(n);
1487
+ (typeof l != "object" || l === null || l instanceof Array || typeof l.icons != "object" || typeof l.prefix != "string" || !Qo(l)) && console.error(n);
1488
1488
  } catch {
1489
1489
  console.error(n);
1490
1490
  }
@@ -1499,17 +1499,17 @@ if (typeof document < "u" && typeof window < "u") {
1499
1499
  const o = t[n];
1500
1500
  if (typeof o != "object" || !o || o.resources === void 0)
1501
1501
  continue;
1502
- Jo(n, o) || console.error(l);
1502
+ Xo(n, o) || console.error(l);
1503
1503
  } catch {
1504
1504
  console.error(l);
1505
1505
  }
1506
1506
  }
1507
1507
  }
1508
1508
  }
1509
- const Fn = {
1509
+ const Pn = {
1510
1510
  ...me,
1511
1511
  body: ""
1512
- }, On = te({
1512
+ }, Mn = te({
1513
1513
  inheritAttrs: !1,
1514
1514
  data() {
1515
1515
  return {
@@ -1535,11 +1535,11 @@ const Fn = {
1535
1535
  let n;
1536
1536
  if (typeof e != "string" || (n = ge(e, !1, !0)) === null)
1537
1537
  return this.abortLoading(), null;
1538
- const l = Do(n);
1538
+ const l = Wo(n);
1539
1539
  if (!l)
1540
1540
  return (!this._loadingIcon || this._loadingIcon.name !== e) && (this.abortLoading(), this._name = "", l !== null && (this._loadingIcon = {
1541
1541
  name: e,
1542
- abort: Sn([n], () => {
1542
+ abort: kn([n], () => {
1543
1543
  this.counter++;
1544
1544
  })
1545
1545
  })), null;
@@ -1552,7 +1552,7 @@ const Fn = {
1552
1552
  this.counter;
1553
1553
  const e = this.$attrs, t = this.iconMounted ? this.getIcon(e.icon, e.onLoad) : null;
1554
1554
  if (!t)
1555
- return mt(Fn, e);
1555
+ return mt(Pn, e);
1556
1556
  let n = e;
1557
1557
  return t.classes && (n = {
1558
1558
  ...e,
@@ -1564,11 +1564,11 @@ const Fn = {
1564
1564
  }
1565
1565
  }), vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1566
1566
  __proto__: null,
1567
- BaseAlert: po,
1568
- BaseAutocomplete: Io,
1569
- BaseButton: Po,
1570
- Icon: On
1571
- }, Symbol.toStringTag, { value: "Module" })), Pn = {
1567
+ BaseAlert: go,
1568
+ BaseAutocomplete: Lo,
1569
+ BaseButton: Go,
1570
+ Icon: Mn
1571
+ }, Symbol.toStringTag, { value: "Module" })), Gn = {
1572
1572
  and: "and",
1573
1573
  apply_filters: "Apply filters",
1574
1574
  autocomplete_placeholder: "Type to start your search",
@@ -1621,9 +1621,9 @@ const Fn = {
1621
1621
  mb: "MB",
1622
1622
  tb: "TB"
1623
1623
  }
1624
- }, Mn = {
1625
- sui: Pn
1626
- }, Gn = {
1624
+ }, _t = {
1625
+ sui: Gn
1626
+ }, jn = {
1627
1627
  and: "et",
1628
1628
  apply_filters: "Appliquer les filtres",
1629
1629
  autocomplete_placeholder: "Tapez pour lancer votre recherche",
@@ -1679,8 +1679,8 @@ Cette action est irr\xE9versible.`,
1679
1679
  mb: "Mo",
1680
1680
  tb: "To"
1681
1681
  }
1682
- }, jn = {
1683
- sui: Gn
1682
+ }, Bt = {
1683
+ sui: jn
1684
1684
  };
1685
1685
  const _n = 100, Yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1686
1686
  __proto__: null,
@@ -1890,7 +1890,7 @@ var Bn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1890
1890
  }, A = function(r) {
1891
1891
  d.queue <= 0 && (d.scroll = !1, xe(), Je()), ne(r), d.queue++;
1892
1892
  }, P = function(r) {
1893
- d.queue > 0 && d.queue--, d.queue <= 0 && (d.scroll = !0, _t(), Wt()), we(r);
1893
+ d.queue > 0 && d.queue--, d.queue <= 0 && (d.scroll = !0, Nt(), Qt()), we(r);
1894
1894
  }, D = function() {
1895
1895
  return d.scroll;
1896
1896
  }, ye = function() {
@@ -2019,32 +2019,32 @@ Available fill gap methods: `).concat(a, "."));
2019
2019
  d.scroll || Je();
2020
2020
  }, xe = function() {
2021
2021
  var r = g(d.lockableSelectors);
2022
- Bt(r);
2023
- }, _t = function() {
2022
+ Dt(r);
2023
+ }, Nt = function() {
2024
2024
  var r = g(d.lockableSelectors);
2025
- Nt(r);
2026
- }, Bt = function(r) {
2025
+ zt(r);
2026
+ }, Dt = function(r) {
2027
2027
  var a = document.querySelectorAll(r);
2028
2028
  u(a, function(h) {
2029
- Dt(h);
2029
+ Wt(h);
2030
2030
  });
2031
- }, Nt = function(r) {
2031
+ }, zt = function(r) {
2032
2032
  var a = document.querySelectorAll(r);
2033
2033
  u(a, function(h) {
2034
- zt(h);
2034
+ Rt(h);
2035
2035
  });
2036
- }, Dt = function(r) {
2036
+ }, Wt = function(r) {
2037
2037
  if (s(r) && r.getAttribute("data-scroll-lock-locked") !== "true") {
2038
2038
  var a = window.getComputedStyle(r);
2039
2039
  r.setAttribute("data-scroll-lock-saved-overflow-y-property", a.overflowY), r.setAttribute("data-scroll-lock-saved-inline-overflow-property", r.style.overflow), r.setAttribute("data-scroll-lock-saved-inline-overflow-y-property", r.style.overflowY), r.style.overflow = "hidden", r.setAttribute("data-scroll-lock-locked", "true");
2040
2040
  }
2041
- }, zt = function(r) {
2041
+ }, Rt = function(r) {
2042
2042
  s(r) && r.getAttribute("data-scroll-lock-locked") === "true" && (r.style.overflow = r.getAttribute("data-scroll-lock-saved-inline-overflow-property"), r.style.overflowY = r.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"), r.removeAttribute("data-scroll-lock-saved-overflow-property"), r.removeAttribute("data-scroll-lock-saved-inline-overflow-property"), r.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"), r.removeAttribute("data-scroll-lock-locked"));
2043
2043
  }, Je = function() {
2044
2044
  d.fillGapSelectors.map(function(r) {
2045
2045
  Ze(r);
2046
2046
  });
2047
- }, Wt = function() {
2047
+ }, Qt = function() {
2048
2048
  d.fillGapSelectors.map(function(r) {
2049
2049
  $e(r);
2050
2050
  });
@@ -2087,11 +2087,11 @@ Available fill gap methods: `).concat(a, "."));
2087
2087
  var a = r.getAttribute("data-scroll-lock-current-fill-gap-method");
2088
2088
  r.removeAttribute("data-scroll-lock-filled-gap"), r.removeAttribute("data-scroll-lock-current-fill-gap-method"), a === "margin" ? r.style.marginRight = "" : a === "width" ? r.style.width = "" : a === "max-width" ? r.style.maxWidth = "" : a === "padding" && (r.style.paddingRight = "");
2089
2089
  }
2090
- }, Rt = function(r) {
2090
+ }, Vt = function(r) {
2091
2091
  le();
2092
- }, Qt = function(r) {
2092
+ }, Yt = function(r) {
2093
2093
  d.scroll || (d.startTouchY = r.touches[0].clientY, d.startTouchX = r.touches[0].clientX);
2094
- }, Vt = function(r) {
2094
+ }, Kt = function(r) {
2095
2095
  if (!d.scroll) {
2096
2096
  var a = d.startTouchY, h = d.startTouchX, v = r.touches[0].clientY, N = r.touches[0].clientX;
2097
2097
  if (r.touches.length < 2) {
@@ -2105,13 +2105,13 @@ Available fill gap methods: `).concat(a, "."));
2105
2105
  down: a - m > v,
2106
2106
  left: h + m < N,
2107
2107
  right: h - m > N
2108
- }, Ht = function et(E) {
2109
- var qt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2108
+ }, Jt = function et(E) {
2109
+ var Zt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2110
2110
  if (E) {
2111
2111
  var Ce = w(E, W, !1);
2112
2112
  if (Y(E))
2113
2113
  return !1;
2114
- if (qt || V(E) && w(E, W) || x(E, W)) {
2114
+ if (Zt || V(E) && w(E, W) || x(E, W)) {
2115
2115
  var se = !1;
2116
2116
  I(E) && T(E) ? (z.up && C(E) || z.down && y(E)) && (se = !0) : C(E) && y(E) ? (z.left && I(E) || z.right && T(E)) && (se = !0) : (ie.up && C(E) || ie.down && y(E) || ie.left && I(E) || ie.right && T(E)) && (se = !0), se && (Ce ? et(Ce, !0) : r.cancelable && r.preventDefault());
2117
2117
  } else
@@ -2119,16 +2119,16 @@ Available fill gap methods: `).concat(a, "."));
2119
2119
  } else
2120
2120
  r.cancelable && r.preventDefault();
2121
2121
  };
2122
- Ht(r.target);
2122
+ Jt(r.target);
2123
2123
  }
2124
2124
  }
2125
- }, Yt = function(r) {
2125
+ }, Ut = function(r) {
2126
2126
  d.scroll || (d.startTouchY = 0, d.startTouchX = 0);
2127
2127
  };
2128
- typeof window < "u" && window.addEventListener("resize", Rt), typeof document < "u" && (document.addEventListener("touchstart", Qt), document.addEventListener("touchmove", Vt, {
2128
+ typeof window < "u" && window.addEventListener("resize", Vt), typeof document < "u" && (document.addEventListener("touchstart", Yt), document.addEventListener("touchmove", Kt, {
2129
2129
  passive: !1
2130
- }), document.addEventListener("touchend", Yt));
2131
- var Kt = {
2130
+ }), document.addEventListener("touchend", Ut));
2131
+ var Ht = {
2132
2132
  hide: function(r) {
2133
2133
  f(`"hide" is deprecated! Use "disablePageScroll" instead.
2134
2134
  https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget`), A(r);
@@ -2168,7 +2168,7 @@ Available fill gap methods: `).concat(a, "."));
2168
2168
  f(`"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead.
2169
2169
  https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks`), ye();
2170
2170
  }
2171
- }, Ut = B({
2171
+ }, qt = B({
2172
2172
  disablePageScroll: A,
2173
2173
  enablePageScroll: P,
2174
2174
  getScrollState: D,
@@ -2190,8 +2190,8 @@ Available fill gap methods: `).concat(a, "."));
2190
2190
  setFillGapMethod: Ue,
2191
2191
  refillGaps: le,
2192
2192
  _state: d
2193
- }, Kt);
2194
- l.default = Ut;
2193
+ }, Ht);
2194
+ l.default = qt;
2195
2195
  }
2196
2196
  ]).default;
2197
2197
  });
@@ -2202,11 +2202,11 @@ function Hn(e = null) {
2202
2202
  function qn() {
2203
2203
  he.exports.clearQueueScrollLocks(), he.exports.enablePageScroll();
2204
2204
  }
2205
- const j = {
2206
- i18n: co({
2207
- messages: { en: Mn, fr: jn }
2205
+ const Jn = { en: _t, fr: Bt }, j = {
2206
+ i18n: uo({
2207
+ messages: { en: _t, fr: Bt }
2208
2208
  }),
2209
- http: Jt.create(),
2209
+ http: Xt.create(),
2210
2210
  upload_url: "/api/upload",
2211
2211
  formatQueryString(e) {
2212
2212
  return ot.stringify(e, {
@@ -2223,17 +2223,18 @@ function Nn(e, t) {
2223
2223
  e.component(n, vt[n]);
2224
2224
  t != null && t.i18n && (j.i18n = t.i18n), t != null && t.http && (j.http = t.http), t != null && t.upload_url && (j.upload_url = t.upload_url), t != null && t.formatQueryString && (j.formatQueryString = t.formatQueryString), t != null && t.parseQueryString && (j.parseQueryString = t.parseQueryString);
2225
2225
  }
2226
- const Jn = { install: Nn };
2226
+ const Zn = { install: Nn };
2227
2227
  export {
2228
- po as BaseAlert,
2229
- Io as BaseAutocomplete,
2230
- Po as BaseButton,
2231
- On as Icon,
2228
+ go as BaseAlert,
2229
+ Lo as BaseAutocomplete,
2230
+ Go as BaseButton,
2231
+ Mn as Icon,
2232
2232
  Yn as MyConstants,
2233
2233
  j as config,
2234
- Jn as default,
2234
+ Zn as default,
2235
2235
  Hn as disableScroll,
2236
2236
  qn as enableScroll,
2237
2237
  Un as fileSizeFormat,
2238
+ Jn as messages,
2238
2239
  Kn as toHumanList
2239
2240
  };
@@ -251,4 +251,5 @@ export default _default;
251
251
  export * from './components';
252
252
  export * from './constants';
253
253
  export * from './utils';
254
+ export { messages };
254
255
  export { pluginConfig as config };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "docs:dev": "vitepress dev docs",
@@ -88,13 +88,12 @@
88
88
  "src",
89
89
  "dist"
90
90
  ],
91
- "types": "./dist/types/index.d.ts",
91
+ "types": "./dist/types/src/index.d.ts",
92
92
  "module": "./dist/sprintify-ui.es.js",
93
93
  "exports": {
94
94
  ".": {
95
95
  "import": "./dist/sprintify-ui.es.js"
96
96
  },
97
- "./dist/style.css": "./dist/style.css",
98
- "./dist/lang/": "./src/lang/"
97
+ "./dist/style.css": "./dist/style.css"
99
98
  }
100
99
  }
package/src/index.ts CHANGED
@@ -69,4 +69,6 @@ export * from './components';
69
69
  export * from './constants';
70
70
  export * from './utils';
71
71
 
72
+ export { messages };
73
+
72
74
  export { pluginConfig as config };