prlg-ui 1.8.313 → 1.8.315

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.
Files changed (36) hide show
  1. package/dist/DateFormatter-BHT1a2Uj.js +1837 -0
  2. package/dist/DateFormatter-K5-0YX5v.cjs +1 -0
  3. package/dist/Image-bZf6ZaIG.js +200 -0
  4. package/dist/Image-kzSjYHy-.cjs +1 -0
  5. package/dist/blocks/index.cjs.js +1 -1
  6. package/dist/blocks/index.es.js +74 -74
  7. package/dist/{dayjs.util-CjzwpJrv.js → dayjs.util-DSjkslnJ.js} +1 -1
  8. package/dist/{dayjs.util-BwrUD5bd.cjs → dayjs.util-DVNMZ0pw.cjs} +1 -1
  9. package/dist/eventBus.util-K9Yq6hZm.cjs +1 -0
  10. package/dist/{eventBus.util-DjOylFpN.js → eventBus.util-msbJpg6N.js} +24 -24
  11. package/dist/fonts/Inter/.DS_Store +0 -0
  12. package/dist/icons/index.cjs.js +1 -1
  13. package/dist/icons/index.es.js +382 -339
  14. package/dist/icons.d.ts +4 -0
  15. package/dist/{index-DAoqDSY3.cjs → index-Bart793F.cjs} +20 -2
  16. package/dist/{index-BPZa5uFL.js → index-NJFcTcwk.js} +26 -6
  17. package/dist/parseFileSize.util-BAG-MLFl.js +756 -0
  18. package/dist/parseFileSize.util-zKz6zjwq.cjs +1 -0
  19. package/dist/prlg-ui.cjs.js +1 -1
  20. package/dist/prlg-ui.css +1 -1
  21. package/dist/prlg-ui.es.js +2765 -2765
  22. package/dist/reka-ui/index.cjs.js +5 -5
  23. package/dist/reka-ui/index.es.js +6120 -7674
  24. package/dist/rekaUI.d.ts +2 -2
  25. package/dist/{uploadFile.util-DAZ85cUN.cjs → uploadFile.util-C-KPiLD9.cjs} +1 -1
  26. package/dist/{uploadFile.util-COEVam78.js → uploadFile.util-CaG3C2Ri.js} +1 -1
  27. package/dist/utils/index.cjs.js +1 -1
  28. package/dist/utils/index.es.js +402 -338
  29. package/dist/utils/internationalized.utils.ts +1 -0
  30. package/dist/utils.d.ts +3 -0
  31. package/package.json +1 -1
  32. package/dist/Image-A6kr2Mp0.js +0 -200
  33. package/dist/Image-MDiNezjY.cjs +0 -1
  34. package/dist/eventBus.util-DHkO4j-V.cjs +0 -1
  35. package/dist/parseFileSize.util-B7mr_w32.js +0 -639
  36. package/dist/parseFileSize.util-DgxaYqGV.cjs +0 -1
@@ -1,19 +1,19 @@
1
- import { defineComponent as s, computed as c, createBlock as d, createCommentVNode as i, openBlock as u, Teleport as f, createElementVNode as p, normalizeStyle as y, renderSlot as m } from "vue";
1
+ import { defineComponent as a, computed as d, createBlock as c, createCommentVNode as i, openBlock as u, Teleport as p, createElementVNode as f, normalizeStyle as y, renderSlot as m } from "vue";
2
2
  let n = null, r = 0;
3
3
  function S() {
4
- const e = window.scrollY;
5
- return document.body.style.position = "fixed", document.body.style.top = `-${e}px`, () => {
6
- document.body.style.position = "", document.body.style.top = "", window.scrollTo(0, e);
4
+ const o = window.scrollY;
5
+ return document.body.style.position = "fixed", document.body.style.top = `-${o}px`, () => {
6
+ document.body.style.position = "", document.body.style.top = "", window.scrollTo(0, o);
7
7
  };
8
8
  }
9
9
  const h = () => {
10
10
  r++, r === 1 && !n && (n = S());
11
11
  }, b = () => {
12
12
  r > 0 && r--, r === 0 && n && (n(), n = null);
13
- }, x = () => ({
13
+ }, k = () => ({
14
14
  unlockScroll: b,
15
15
  lockScroll: h
16
- }), v = ["data-layer"], k = /* @__PURE__ */ s({
16
+ }), v = ["data-layer"], B = /* @__PURE__ */ a({
17
17
  __name: "Portal",
18
18
  props: {
19
19
  overlayType: { default: "modal" },
@@ -23,16 +23,16 @@ const h = () => {
23
23
  show: { type: Boolean, default: !0 },
24
24
  parentId: {}
25
25
  },
26
- setup(e) {
27
- const t = e, l = c(() => {
26
+ setup(o) {
27
+ const t = o, l = d(() => {
28
28
  if (t.zIndex) return t.zIndex;
29
29
  });
30
- return (o, a) => e.show ? (u(), d(f, {
30
+ return (e, s) => e.show ? (u(), c(p, {
31
31
  key: 0,
32
32
  to: e.target,
33
33
  disabled: !e.teleport
34
34
  }, [
35
- p("div", {
35
+ f("div", {
36
36
  style: y({
37
37
  zIndex: l.value,
38
38
  position: "relative",
@@ -40,36 +40,36 @@ const h = () => {
40
40
  }),
41
41
  "data-layer": e.overlayType
42
42
  }, [
43
- m(o.$slots, "default")
43
+ m(e.$slots, "default")
44
44
  ], 12, v)
45
45
  ], 8, ["to", "disabled"])) : i("", !0);
46
46
  }
47
47
  });
48
- function B() {
49
- const e = /* @__PURE__ */ new Map();
48
+ function I() {
49
+ const o = /* @__PURE__ */ new Map();
50
50
  return {
51
51
  on(t, l) {
52
- const o = e.get(t) || [];
53
- o.push(l), e.set(t, o);
52
+ const e = o.get(t) || [];
53
+ e.push(l), o.set(t, e);
54
54
  },
55
55
  off(t, l) {
56
- const o = e.get(t);
57
- o && e.set(
56
+ const e = o.get(t);
57
+ e && o.set(
58
58
  t,
59
- o.filter((a) => a !== l)
59
+ e.filter((s) => s !== l)
60
60
  );
61
61
  },
62
62
  emit(t, l) {
63
- const o = e.get(t);
64
- o && o.forEach((a) => a(l));
63
+ const e = o.get(t);
64
+ e && e.forEach((s) => s(l));
65
65
  },
66
66
  clear() {
67
- e.clear();
67
+ o.clear();
68
68
  }
69
69
  };
70
70
  }
71
71
  export {
72
- B as E,
73
- k as _,
74
- x as u
72
+ I as E,
73
+ B as _,
74
+ k as u
75
75
  };
Binary file