@layers-app/shared 0.3.0 → 0.3.2

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 (142) hide show
  1. package/dist/assets/default-workspace-avatar.jpg.js +4 -0
  2. package/dist/assets/layers-logo-full.svg.js +2 -3
  3. package/dist/assets/layers-logo-full.svg2.js +3 -2
  4. package/dist/assets/layers-logo-icon.svg.js +2 -3
  5. package/dist/assets/layers-logo-icon.svg2.js +3 -2
  6. package/dist/assets/projects/figureA.svg.js +4 -0
  7. package/dist/assets/projects/figureB.svg.js +4 -0
  8. package/dist/assets/qwebchannel.d.ts +15 -0
  9. package/dist/assets/qwebchannel.d.ts.map +1 -0
  10. package/dist/assets/taskPriorities/high.svg.js +5 -0
  11. package/dist/assets/taskPriorities/low.svg.js +5 -0
  12. package/dist/assets/taskPriorities/none.svg.js +5 -0
  13. package/dist/assets/taskPriorities/normal.svg.js +5 -0
  14. package/dist/assets/taskPriorities/urgent.svg.js +5 -0
  15. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.d.ts +3 -0
  16. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.d.ts.map +1 -0
  17. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.js +69 -0
  18. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +27 -0
  19. package/dist/components/AnimatedFigurePage/types.d.ts +15 -0
  20. package/dist/components/AnimatedFigurePage/types.d.ts.map +1 -0
  21. package/dist/components/AnimatedFigurePage/useParallax.d.ts +6 -0
  22. package/dist/components/AnimatedFigurePage/useParallax.d.ts.map +1 -0
  23. package/dist/components/AnimatedFigurePage/useParallax.js +29 -0
  24. package/dist/components/AppContainer/AppContainer.d.ts +1 -1
  25. package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
  26. package/dist/components/AppContainer/AppContainer.js +37 -36
  27. package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
  28. package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +80 -45
  29. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
  30. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +60 -69
  31. package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
  32. package/dist/components/AppContainer/hooks/useAppContainer.d.ts.map +1 -1
  33. package/dist/components/AppContainer/hooks/useAppContainer.js +57 -51
  34. package/dist/components/AppContainer/hooks/useAppContainerDataStore.d.ts.map +1 -1
  35. package/dist/components/AppContainer/hooks/useAppContainerDataStore.js +3 -1
  36. package/dist/components/AppContainer/types.d.ts +3 -0
  37. package/dist/components/AppContainer/types.d.ts.map +1 -1
  38. package/dist/components/ColorPicker/ColorPicker.d.ts +9 -1
  39. package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  40. package/dist/components/ColorPicker/ColorPicker.js +88 -74
  41. package/dist/components/ColorPicker/ColorPicker.module.css.js +31 -0
  42. package/dist/components/ColorPicker/ColorPickerList.d.ts +6 -0
  43. package/dist/components/ColorPicker/ColorPickerList.d.ts.map +1 -0
  44. package/dist/components/ColorPicker/ColorPickerList.js +134 -0
  45. package/dist/components/ColorPicker/ColorPickerPopover.d.ts +6 -6
  46. package/dist/components/ColorPicker/ColorPickerPopover.d.ts.map +1 -1
  47. package/dist/components/ColorPicker/ColorPickerPopover.js +29 -31
  48. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts +13 -0
  49. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -0
  50. package/dist/components/ColorPicker/ColorPickerToolbar.js +132 -0
  51. package/dist/components/ColorPicker/icons.d.ts +11 -0
  52. package/dist/components/ColorPicker/icons.d.ts.map +1 -0
  53. package/dist/components/ColorPicker/icons.js +71 -0
  54. package/dist/components/ColorPicker/types.d.ts +49 -0
  55. package/dist/components/ColorPicker/types.d.ts.map +1 -0
  56. package/dist/components/ColorPicker/types.js +10 -0
  57. package/dist/components/ColorPicker/useRecentColors.d.ts +13 -0
  58. package/dist/components/ColorPicker/useRecentColors.d.ts.map +1 -0
  59. package/dist/components/ColorPicker/useRecentColors.js +39 -0
  60. package/dist/components/CommentComposer/index.d.ts.map +1 -1
  61. package/dist/components/CommentComposer/index.js +115 -111
  62. package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
  63. package/dist/components/EmojiPicker/EmojiPanel.js +12 -10
  64. package/dist/components/EmojiPicker/EmojiPicker.d.ts +3 -1
  65. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  66. package/dist/components/EmojiPicker/EmojiPicker.js +49 -46
  67. package/dist/components/EmojiPicker/IconsPanel.d.ts +2 -1
  68. package/dist/components/EmojiPicker/IconsPanel.d.ts.map +1 -1
  69. package/dist/components/EmojiPicker/IconsPanel.js +47 -45
  70. package/dist/components/EmojiPicker/custom-icons/customIcons.d.ts.map +1 -1
  71. package/dist/components/EmojiPicker/custom-icons/customIcons.js +66 -31
  72. package/dist/components/EntityIcon.d.ts +3 -3
  73. package/dist/components/EntityIcon.d.ts.map +1 -1
  74. package/dist/components/EntityIcon.js +59 -35
  75. package/dist/components/EntityTitle/EntityTitle.d.ts +1 -1
  76. package/dist/components/EntityTitle/EntityTitle.d.ts.map +1 -1
  77. package/dist/components/EntityTitle/EntityTitle.js +34 -34
  78. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  79. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  80. package/dist/components/FilePicker/FilePicker.js +111 -123
  81. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  82. package/dist/components/FilePicker/FilePickerUpload.js +41 -39
  83. package/dist/components/FormViewer/components/fields/UploadField/UploadField.d.ts.map +1 -1
  84. package/dist/components/FormViewer/components/fields/UploadField/UploadField.js +34 -33
  85. package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts +3 -3
  86. package/dist/components/Logotype.d.ts +2 -1
  87. package/dist/components/Logotype.d.ts.map +1 -1
  88. package/dist/components/Logotype.js +58 -49
  89. package/dist/components/NavMenu/components/NavMenuItem.d.ts.map +1 -1
  90. package/dist/components/NavMenu/components/NavMenuItem.js +122 -107
  91. package/dist/components/NavMenu/types.d.ts +1 -0
  92. package/dist/components/NavMenu/types.d.ts.map +1 -1
  93. package/dist/components/ProjectIcon/ProjectIcon.js +13 -13
  94. package/dist/components/TreeIndent/TreeIndent.d.ts +9 -0
  95. package/dist/components/TreeIndent/TreeIndent.d.ts.map +1 -0
  96. package/dist/components/TreeIndent/TreeIndent.js +15 -0
  97. package/dist/components/TreeIndent/TreeIndent.module.css.js +11 -0
  98. package/dist/components/TreeIndent/index.d.ts +2 -0
  99. package/dist/components/TreeIndent/index.d.ts.map +1 -0
  100. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +11 -11
  101. package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts.map +1 -1
  102. package/dist/components/WorkspaceMenu/WorkspaceMenu.js +97 -101
  103. package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
  104. package/dist/config/brand.d.ts +1 -0
  105. package/dist/config/brand.d.ts.map +1 -1
  106. package/dist/config/brand.js +42 -34
  107. package/dist/config/envConfig.d.ts +40 -0
  108. package/dist/config/envConfig.d.ts.map +1 -1
  109. package/dist/config/envConfig.js +29 -10
  110. package/dist/constants.d.ts.map +1 -1
  111. package/dist/constants.js +15 -4
  112. package/dist/helpers/getFileIcons.d.ts.map +1 -1
  113. package/dist/helpers/getFileIcons.js +34 -29
  114. package/dist/helpers/getFileType.d.ts +1 -1
  115. package/dist/helpers/getFileType.d.ts.map +1 -1
  116. package/dist/helpers/getFileType.js +3 -3
  117. package/dist/helpers/hotjar.d.ts.map +1 -1
  118. package/dist/helpers/hotjar.js +11 -7
  119. package/dist/helpers/platform.js +4 -4
  120. package/dist/helpers/showNotifications.d.ts +3 -0
  121. package/dist/helpers/showNotifications.d.ts.map +1 -1
  122. package/dist/helpers/showNotifications.js +79 -44
  123. package/dist/hooks/useDateFnsLocale.d.ts +2 -0
  124. package/dist/hooks/useDateFnsLocale.d.ts.map +1 -1
  125. package/dist/hooks/useDateFnsLocale.js +9 -8
  126. package/dist/hooks/useDateUtils.d.ts.map +1 -1
  127. package/dist/hooks/useDateUtils.js +19 -19
  128. package/dist/hooks/useFormatDistance.d.ts.map +1 -1
  129. package/dist/hooks/useFormatDistance.js +6 -6
  130. package/dist/hooks/useNumberQueryParam.d.ts +1 -1
  131. package/dist/hooks/useNumberQueryParam.d.ts.map +1 -1
  132. package/dist/index.css +1 -1
  133. package/dist/index.d.ts +8 -0
  134. package/dist/index.d.ts.map +1 -1
  135. package/dist/index.js +516 -494
  136. package/dist/lang/locales/ui_en.json.js +7 -7
  137. package/dist/lang/locales/ui_es.json.js +1 -1
  138. package/dist/lang/locales/ui_ru.json.js +11 -11
  139. package/dist/utils/formatStorage.d.ts +9 -0
  140. package/dist/utils/formatStorage.d.ts.map +1 -1
  141. package/dist/utils/formatStorage.js +14 -10
  142. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,mEAOhB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD,eAAO,MAAM,kBAAkB,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,WACN,CAAC;AAGvD,eAAO,MAAM,oBAAoB,EAAE,WAGrB,CAAC;AAEf,eAAO,MAAM,cAAc;;;;;;CAc1B,CAAC;AAEF,eAAO,MAAM,mBAAmB,sBAAsB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,mEAOhB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD,eAAO,MAAM,kBAAkB,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,WACN,CAAC;AAGvD,eAAO,MAAM,oBAAoB,EAAE,WAGrB,CAAC;AAEf,eAAO,MAAM,cAAc;;;;;;CAyB1B,CAAC;AAEF,eAAO,MAAM,mBAAmB,sBAAsB,CAAC"}
package/dist/constants.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getEnvConfig as O } from "./config/envConfig.js";
1
+ import { getEnvConfig as t } from "./config/envConfig.js";
2
2
  const n = [
3
3
  "blue",
4
4
  "indigo",
@@ -6,7 +6,7 @@ const n = [
6
6
  "grape",
7
7
  "green",
8
8
  "orange"
9
- ], r = (t) => n.includes(t), e = O().branding?.colorScheme, i = e && r(e) ? e : "indigo", C = {
9
+ ], O = (r) => n.includes(r), e = t().branding?.colorScheme, i = e && O(e) ? e : "indigo", C = {
10
10
  get TASK_TYPE_COLOR() {
11
11
  return this.COLORS[1];
12
12
  },
@@ -19,12 +19,23 @@ const n = [
19
19
  get PROJECT_COLOR() {
20
20
  return this.COLORS[1];
21
21
  },
22
- COLORS: ["gray", "blue", "violet", "cyan", "green", "yellow", "red"]
22
+ COLORS: [
23
+ "violet",
24
+ "indigo",
25
+ "blue",
26
+ "teal",
27
+ "green",
28
+ "yellow",
29
+ "orange",
30
+ "red",
31
+ "grey",
32
+ "dark"
33
+ ]
23
34
  }, L = "Inter, sans-serif";
24
35
  export {
25
36
  n as COLOR_SCHEMES,
26
37
  i as DEFAULT_COLOR_SCHEME,
27
38
  L as DEFAULT_FONT_FAMILY,
28
39
  C as DEFAULT_VALUES,
29
- r as isValidColorScheme
40
+ O as isValidColorScheme
30
41
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getFileIcons.d.ts","sourceRoot":"","sources":["../../src/helpers/getFileIcons.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,YAAY,GACvB,UAAU,MAAM,EAChB,WAAW,OAAO,EAClB,OAAM,MAAW,4CAwElB,CAAC"}
1
+ {"version":3,"file":"getFileIcons.d.ts","sourceRoot":"","sources":["../../src/helpers/getFileIcons.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,YAAY,GACvB,UAAU,MAAM,EAChB,WAAW,OAAO,EAClB,OAAM,MAAW,4CA4ElB,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { AlertCircleIcon as d, File01Icon as s, Xls01Icon as a, HtmlFile01Icon as m, Doc01Icon as e, Pdf01Icon as u, MpFour01Icon as p, Zip01Icon as h, Rar01Icon as g } from "@hugeicons/core-free-icons";
2
+ import { AlertCircleIcon as d, File01Icon as C, Ppt01Icon as p, Xls01Icon as e, HtmlFile01Icon as a, Doc01Icon as c, Pdf01Icon as u, MpFour01Icon as m, Mp301Icon as g, Zip01Icon as F, Rar01Icon as B } from "@hugeicons/core-free-icons";
3
3
  import { HugeiconsIcon as E } from "@hugeicons/react";
4
- import { ThemeIcon as F, Loader as B } from "@mantine/core";
5
- const M = (f, C, c = 16) => {
6
- const t = (f || "").toLowerCase(), r = C || t === "folder" ? "folder" : t, n = {
4
+ import { ThemeIcon as h, Loader as w } from "@mantine/core";
5
+ const k = (I, f, t = 16) => {
6
+ const n = (I || "").toLowerCase(), r = f || n === "folder" ? "folder" : n, i = {
7
7
  rar: "#4C6EF5",
8
8
  // indigo-6
9
9
  archieve: "#4C6EF5",
@@ -23,49 +23,54 @@ const M = (f, C, c = 16) => {
23
23
  diagram: "#22B8CF",
24
24
  xls: "#FF922B",
25
25
  // orange-5
26
+ xlsx: "#FF922B",
26
27
  sheet: "#FF922B",
28
+ pptx: "#7950F2",
27
29
  presentation: "#7950F2",
28
30
  error: "#868E96",
29
31
  loading: "#868E96",
30
32
  other: "#868E96",
31
33
  folder: "#868E96"
32
- }, i = {
33
- rar: g,
34
- archieve: h,
35
- zip: h,
36
- mp4: p,
37
- media: p,
34
+ }, l = {
35
+ rar: B,
36
+ archieve: F,
37
+ zip: F,
38
+ mp3: g,
39
+ mp4: m,
40
+ media: m,
38
41
  pdf: u,
39
- doc: e,
40
- docx: e,
41
- documents: e,
42
- html: m,
43
- diagram: m,
44
- xls: a,
45
- sheet: a,
46
- presentation: s,
42
+ doc: c,
43
+ docx: c,
44
+ documents: c,
45
+ html: a,
46
+ diagram: a,
47
+ xls: e,
48
+ xlsx: e,
49
+ sheet: e,
50
+ pptx: p,
51
+ presentation: p,
47
52
  other: d,
48
- folder: s,
53
+ folder: C,
49
54
  error: d
50
- }, l = n[r] || n.other, I = i[r] || i.other;
55
+ }, s = i[r] || i.other, x = l[r] || l.other;
51
56
  return r === "loading" ? /* @__PURE__ */ o(
52
- F,
57
+ h,
53
58
  {
54
59
  radius: "sm",
55
- size: c,
56
- style: { backgroundColor: l, color: "white" },
57
- children: /* @__PURE__ */ o(B, { color: "white" })
60
+ size: t,
61
+ style: { backgroundColor: s, color: "white" },
62
+ children: /* @__PURE__ */ o(w, { color: "white" })
58
63
  }
59
64
  ) : /* @__PURE__ */ o(
60
- F,
65
+ h,
61
66
  {
62
67
  radius: "sm",
63
- size: c,
64
- style: { backgroundColor: l, color: "white" },
65
- children: /* @__PURE__ */ o(E, { icon: I })
68
+ size: t,
69
+ style: { backgroundColor: s, color: "white" },
70
+ children: /* @__PURE__ */ o(E, { icon: x })
66
71
  }
67
72
  );
68
73
  };
69
74
  export {
70
- M as getFileIcons
75
+ k as getFileIcons
71
76
  };
@@ -1,2 +1,2 @@
1
- export declare const getFileType: (mimeType: string, groupByCategory?: boolean) => "other" | "presentation" | "documents" | "folder" | "media" | "xlsx" | "docx" | "pptx" | "diagram" | "archieve";
1
+ export declare const getFileType: (mimeType: string, groupByCategory?: boolean) => "other" | "presentation" | "documents" | "folder" | "media" | "pdf" | "doc" | "xls" | "xlsx" | "docx" | "pptx" | "diagram" | "archieve";
2
2
  //# sourceMappingURL=getFileType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getFileType.d.ts","sourceRoot":"","sources":["../../src/helpers/getFileType.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GACtB,UAAU,MAAM,EAChB,kBAAiB,OAAc,oHAsChC,CAAC"}
1
+ {"version":3,"file":"getFileType.d.ts","sourceRoot":"","sources":["../../src/helpers/getFileType.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GACtB,UAAU,MAAM,EAChB,kBAAiB,OAAc,4IAsChC,CAAC"}
@@ -5,13 +5,13 @@ const n = (e, t = !0) => {
5
5
  return "media";
6
6
  switch (e.toLowerCase()) {
7
7
  case "application/pdf":
8
- return "documents";
8
+ return "pdf";
9
9
  case "application/msword":
10
- return "documents";
10
+ return "doc";
11
11
  case "application/rtf":
12
12
  return "documents";
13
13
  case "application/excel":
14
- return "documents";
14
+ return "xls";
15
15
  case "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":
16
16
  return t ? "documents" : "xlsx";
17
17
  case "application/vnd.openxmlformats-officedocument.wordprocessingml.document":
@@ -1 +1 @@
1
- {"version":3,"file":"hotjar.d.ts","sourceRoot":"","sources":["../../src/helpers/hotjar.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,EAAE,CAAC,EAAE,GAAG,CAAC;QACT,WAAW,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC;KAChC;CACF;AAED,eAAO,MAAM,UAAU,YAgCtB,CAAC"}
1
+ {"version":3,"file":"hotjar.d.ts","sourceRoot":"","sources":["../../src/helpers/hotjar.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,EAAE,CAAC,EAAE,GAAG,CAAC;QACT,WAAW,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC;KAChC;CACF;AAED,eAAO,MAAM,UAAU,YAuCtB,CAAC"}
@@ -1,19 +1,23 @@
1
- const a = () => {
2
- const i = "https://static.hj.contentsquare.net/c/csq-6584903.js";
3
- window.hj && window._hjSettings?.hjid === 6584903 || document.querySelector(`script[src="${i}"]`) || (function(t, e, s, c, h) {
1
+ import { getEnvConfig as d } from "../config/envConfig.js";
2
+ const f = () => {
3
+ const i = d()?.analytics, n = Number(i?.hotjarId);
4
+ if (!n || i?.hotjarEnabled === !1)
5
+ return;
6
+ const c = `https://static.hj.contentsquare.net/c/csq-${n}.js`;
7
+ window.hj && window._hjSettings?.hjid === n || document.querySelector(`script[src="${c}"]`) || (function(t, s, r, o, h) {
4
8
  t.hj = t.hj || function(...j) {
5
9
  (t.hj.q = t.hj.q || []).push(j);
6
10
  }, t._hjSettings = { hjid: h };
7
- const r = e.getElementsByTagName("head")[0], n = e.createElement("script");
8
- n.async = !0, n.src = s + t._hjSettings.hjid + c, r.appendChild(n);
11
+ const a = s.getElementsByTagName("head")[0], e = s.createElement("script");
12
+ e.async = !0, e.src = r + t._hjSettings.hjid + o, a.appendChild(e);
9
13
  })(
10
14
  window,
11
15
  document,
12
16
  "https://static.hj.contentsquare.net/c/csq-",
13
17
  ".js",
14
- 6584903
18
+ n
15
19
  );
16
20
  };
17
21
  export {
18
- a as initHotjar
22
+ f as initHotjar
19
23
  };
@@ -9,15 +9,15 @@ const t = [
9
9
  "shareAccess",
10
10
  "planBadges",
11
11
  "alias"
12
- ], a = {
12
+ ], r = {
13
13
  SAAS: t,
14
- DESKTOP: [],
14
+ DESKTOP: ["socialAuth"],
15
15
  SERVER: t
16
16
  }, c = (e) => {
17
- const s = a[e] ?? [];
17
+ const s = r[e] ?? [];
18
18
  return {
19
19
  mode: e,
20
- has: (r) => s.includes(r),
20
+ has: (a) => s.includes(a),
21
21
  isDesktop: e === "DESKTOP"
22
22
  };
23
23
  }, l = "SAAS", o = "platformModeOverride", n = (e) => {
@@ -16,6 +16,9 @@ export declare const showRequestNotifications: <Response, Request extends Promis
16
16
  errorMsg?: ((err: any) => MessageType) | MessageType;
17
17
  }) => Promise<any>;
18
18
  export declare const showMessageNotification: (props: ExtendedNotificationData) => void;
19
+ export declare const updateMessageNotification: (props: ExtendedNotificationData & {
20
+ id: string;
21
+ }) => void;
19
22
  export declare const showSuccessNotification: (props: ExtendedNotificationData) => void;
20
23
  export declare const showWarningNotification: (props: ExtendedNotificationData) => void;
21
24
  export declare const showErrorNotification: (props: ExtendedNotificationData) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"showNotifications.d.ts","sourceRoot":"","sources":["../../src/helpers/showNotifications.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUlC,OAAO,EACL,gBAAgB,EAGjB,MAAM,wBAAwB,CAAC;AAKhC,KAAK,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAC;AAetD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAChC;AAED,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG;IACzE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC,CAAC;AAmEF,eAAO,MAAM,wBAAwB,GACnC,QAAQ,EACR,OAAO,SAAS,OAAO,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,EAErD,SAAS,OAAO,EAChB,UAAS;IACP,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,QAAQ,KAAK,WAAW,CAAC,GAAG,WAAW,CAAC;IAC5D,QAAQ,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK,WAAW,CAAC,GAAG,WAAW,CAAC;CACjD,iBA+BP,CAAC;AAwCF,eAAO,MAAM,uBAAuB,GAAI,OAAO,wBAAwB,SAKtE,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,OAAO,wBAAwB,SAKtE,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,OAAO,wBAAwB,SAKtE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,wBAAwB,SAKpE,CAAC"}
1
+ {"version":3,"file":"showNotifications.d.ts","sourceRoot":"","sources":["../../src/helpers/showNotifications.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUlC,OAAO,EACL,gBAAgB,EAGjB,MAAM,wBAAwB,CAAC;AAKhC,KAAK,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAC;AAetD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAChC;AAED,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG;IACzE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC,CAAC;AAmEF,eAAO,MAAM,wBAAwB,GACnC,QAAQ,EACR,OAAO,SAAS,OAAO,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,EAErD,SAAS,OAAO,EAChB,UAAS;IACP,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,QAAQ,KAAK,WAAW,CAAC,GAAG,WAAW,CAAC;IAC5D,QAAQ,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK,WAAW,CAAC,GAAG,WAAW,CAAC;CACjD,iBA+BP,CAAC;AAwCF,eAAO,MAAM,uBAAuB,GAAI,OAAO,wBAAwB,SAKtE,CAAC;AAqCF,eAAO,MAAM,yBAAyB,GACpC,OAAO,wBAAwB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,SAMjD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,OAAO,wBAAwB,SAKtE,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,OAAO,wBAAwB,SAKtE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,wBAAwB,SAKpE,CAAC"}
@@ -1,37 +1,37 @@
1
- import { jsx as i, jsxs as l } from "react/jsx-runtime";
2
- import { InformationCircleIcon as v, CheckmarkCircle02Icon as I, Alert01Icon as g, Alert02Icon as p } from "@hugeicons/core-free-icons";
1
+ import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
+ import { InformationCircleIcon as I, CheckmarkCircle02Icon as b, Alert01Icon as y, Alert02Icon as B } from "@hugeicons/core-free-icons";
3
3
  import { HugeiconsIcon as d } from "@hugeicons/react";
4
- import { CloseButton as C, Box as u, Button as b } from "@mantine/core";
5
- import { showNotification as y, notifications as B } from "@mantine/notifications";
4
+ import { CloseButton as k, Box as u, Button as S } from "@mantine/core";
5
+ import { showNotification as x, notifications as w } from "@mantine/notifications";
6
6
  import { isFunction as h, isObject as N } from "lodash-es";
7
7
  import c from "./showNotifications.module.css.js";
8
- let k = 0;
9
- const z = /* @__PURE__ */ i(d, { icon: I, size: 14, color: "white" }), x = /* @__PURE__ */ i(d, { icon: p, size: 14, color: "white" }), S = /* @__PURE__ */ i(d, { icon: g, size: 14, color: "white" }), M = /* @__PURE__ */ i(d, { icon: v, size: 14, color: "white" }), O = (o, n) => n?.length ? /* @__PURE__ */ l(u, { children: [
10
- /* @__PURE__ */ i(u, { children: o }),
11
- /* @__PURE__ */ i(u, { className: c.actions, children: n.map((t, e) => /* @__PURE__ */ i(
12
- b,
8
+ let z = 0;
9
+ const M = /* @__PURE__ */ t(d, { icon: b, size: 14, color: "white" }), O = /* @__PURE__ */ t(d, { icon: B, size: 14, color: "white" }), R = /* @__PURE__ */ t(d, { icon: y, size: 14, color: "white" }), g = /* @__PURE__ */ t(d, { icon: I, size: 14, color: "white" }), v = (o, n) => n?.length ? /* @__PURE__ */ l(u, { children: [
10
+ /* @__PURE__ */ t(u, { children: o }),
11
+ /* @__PURE__ */ t(u, { className: c.actions, children: n.map((i, e) => /* @__PURE__ */ t(
12
+ S,
13
13
  {
14
14
  size: "compact-sm",
15
- variant: t.variant ?? "default",
16
- onClick: t.onClick,
15
+ variant: i.variant ?? "default",
16
+ onClick: i.onClick,
17
17
  radius: "md",
18
- children: t.label
18
+ children: i.label
19
19
  },
20
20
  e
21
21
  )) })
22
22
  ] }) : o;
23
- function R({
23
+ function C({
24
24
  id: o,
25
25
  title: n,
26
- icon: t,
26
+ icon: i,
27
27
  children: e
28
28
  }) {
29
29
  return /* @__PURE__ */ l("div", { className: c.root, children: [
30
30
  /* @__PURE__ */ l("div", { className: n ? c.contentRow : c.contentRowCentered, children: [
31
- /* @__PURE__ */ i("div", { className: c.icon, children: t }),
31
+ /* @__PURE__ */ t("div", { className: c.icon, children: i }),
32
32
  /* @__PURE__ */ l("div", { className: c.body, children: [
33
- n && /* @__PURE__ */ i("div", { className: c.title, children: n }),
34
- e && /* @__PURE__ */ i(
33
+ n && /* @__PURE__ */ t("div", { className: c.title, children: n }),
34
+ e && /* @__PURE__ */ t(
35
35
  "div",
36
36
  {
37
37
  className: n ? c.description : c.descriptionWithoutTitle,
@@ -40,25 +40,25 @@ function R({
40
40
  )
41
41
  ] })
42
42
  ] }),
43
- /* @__PURE__ */ i("div", { className: c.closeButtonWrapper, children: /* @__PURE__ */ i(
44
- C,
43
+ /* @__PURE__ */ t("div", { className: c.closeButtonWrapper, children: /* @__PURE__ */ t(
44
+ k,
45
45
  {
46
46
  className: c.closeButton,
47
47
  size: 24,
48
- onClick: () => B.hide(o)
48
+ onClick: () => w.hide(o)
49
49
  }
50
50
  ) })
51
51
  ] });
52
52
  }
53
- const $ = (o, n = {}) => {
54
- const { successMsg: t, errorMsg: e } = n;
53
+ const D = (o, n = {}) => {
54
+ const { successMsg: i, errorMsg: e } = n;
55
55
  return o.then((r) => {
56
- if (t) {
57
- const s = h(t) ? t(r) : t, a = {
56
+ if (i) {
57
+ const s = h(i) ? i(r) : i, a = {
58
58
  id: n.notifyId,
59
59
  ...N(s) ? s : { message: s }
60
60
  };
61
- W(a);
61
+ j(a);
62
62
  }
63
63
  return r;
64
64
  }).catch((r) => {
@@ -67,13 +67,13 @@ const $ = (o, n = {}) => {
67
67
  id: n.notifyId,
68
68
  ...N(s) ? s : { message: s }
69
69
  };
70
- j(a);
70
+ q(a);
71
71
  }
72
72
  return r;
73
73
  });
74
74
  }, m = (o, n) => {
75
- const { actions: t, title: e, message: r, onClose: s, ...a } = o, w = `ntf-${++k}`, f = a.id ?? w;
76
- y({
75
+ const { actions: i, title: e, message: r, onClose: s, ...a } = o, p = `ntf-${++z}`, f = a.id ?? p;
76
+ x({
77
77
  color: n.color,
78
78
  radius: 12,
79
79
  ...a,
@@ -91,41 +91,76 @@ const $ = (o, n = {}) => {
91
91
  onClose: () => {
92
92
  s?.(o);
93
93
  },
94
- message: /* @__PURE__ */ i(
95
- R,
94
+ message: /* @__PURE__ */ t(
95
+ C,
96
96
  {
97
97
  id: f,
98
98
  title: e,
99
99
  icon: n.icon,
100
- children: O(r, t)
100
+ children: v(r, i)
101
101
  }
102
102
  )
103
103
  });
104
- }, D = (o) => {
104
+ }, G = (o) => {
105
105
  m(o, {
106
106
  color: "var(--mantine-color-blue-outline)",
107
- icon: M
107
+ icon: g
108
108
  });
109
- }, W = (o) => {
109
+ }, W = (o, n) => {
110
+ const { actions: i, title: e, message: r, onClose: s, ...a } = o;
111
+ w.update({
112
+ color: n.color,
113
+ radius: 12,
114
+ ...a,
115
+ icon: void 0,
116
+ title: void 0,
117
+ withCloseButton: !1,
118
+ withBorder: !1,
119
+ p: 0,
120
+ classNames: { root: c.mantineRoot },
121
+ styles: {
122
+ root: { background: "none", border: "none", boxShadow: "none" },
123
+ body: { margin: 0 }
124
+ },
125
+ onClose: () => {
126
+ s?.(o);
127
+ },
128
+ message: /* @__PURE__ */ t(
129
+ C,
130
+ {
131
+ id: o.id,
132
+ title: e,
133
+ icon: n.icon,
134
+ children: v(r, i)
135
+ }
136
+ )
137
+ });
138
+ }, J = (o) => {
139
+ W(o, {
140
+ color: "var(--mantine-color-blue-outline)",
141
+ icon: g
142
+ });
143
+ }, j = (o) => {
110
144
  m(o, {
111
145
  color: "var(--mantine-color-green-outline)",
112
- icon: z
146
+ icon: M
113
147
  });
114
- }, G = (o) => {
148
+ }, K = (o) => {
115
149
  m(o, {
116
150
  color: "var(--mantine-color-yellow-outline)",
117
- icon: S
151
+ icon: R
118
152
  });
119
- }, j = (o) => {
153
+ }, q = (o) => {
120
154
  m(o, {
121
155
  color: "var(--mantine-color-red-outline)",
122
- icon: x
156
+ icon: O
123
157
  });
124
158
  };
125
159
  export {
126
- j as showErrorNotification,
127
- D as showMessageNotification,
128
- $ as showRequestNotifications,
129
- W as showSuccessNotification,
130
- G as showWarningNotification
160
+ q as showErrorNotification,
161
+ G as showMessageNotification,
162
+ D as showRequestNotifications,
163
+ j as showSuccessNotification,
164
+ K as showWarningNotification,
165
+ J as updateMessageNotification
131
166
  };
@@ -1,2 +1,4 @@
1
+ import { type Locale } from 'date-fns';
2
+ export declare const dateFnsLocales: Record<string, Locale>;
1
3
  export declare const useDateFnsLocale: () => void;
2
4
  //# sourceMappingURL=useDateFnsLocale.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDateFnsLocale.d.ts","sourceRoot":"","sources":["../../src/hooks/useDateFnsLocale.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,YAM5B,CAAC"}
1
+ {"version":3,"file":"useDateFnsLocale.d.ts","sourceRoot":"","sources":["../../src/hooks/useDateFnsLocale.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,MAAM,EAAqB,MAAM,UAAU,CAAC;AAG1D,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAkB,CAAC;AAErE,eAAO,MAAM,gBAAgB,YAM5B,CAAC"}
@@ -1,13 +1,14 @@
1
- import { useEffect as e } from "react";
1
+ import { useEffect as o } from "react";
2
2
  import { useTranslation as t } from "react-i18next";
3
3
  import { setDefaultOptions as n } from "date-fns";
4
- import { ru as r, enUS as a } from "date-fns/locale";
5
- const l = () => {
6
- const { i18n: o } = t();
7
- e(() => {
8
- n({ locale: { en: a, ru: r }[o.language] });
9
- }, [o.language]);
4
+ import { ru as s, es as a, enUS as r } from "date-fns/locale";
5
+ const l = { en: r, es: a, ru: s }, u = () => {
6
+ const { i18n: e } = t();
7
+ o(() => {
8
+ n({ locale: l[e.language] });
9
+ }, [e.language]);
10
10
  };
11
11
  export {
12
- l as useDateFnsLocale
12
+ l as dateFnsLocales,
13
+ u as useDateFnsLocale
13
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useDateUtils.d.ts","sourceRoot":"","sources":["../../src/hooks/useDateUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAU3B,MAAM,UAAU,CAAC;AAMlB,eAAO,MAAM,YAAY;;uBAKf,IAAI,GAAG,MAAM,gCAET;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,KAC7B,MAAM;iCAsDD,IAAI,GAAG,MAAM,yBAElB,MAAM;+BAKD,IAAI,GAAG,MAAM,YACT,0BAA0B,KACnC,MAAM;mCAQA,IAAI,GAAG,MAAM,SACb,IAAI,GAAG,MAAM,KACnB,OAAO;wCAQD,IAAI,GAAG,MAAM,SACb,IAAI,GAAG,MAAM,YACV,qBAAqB,KAC9B,MAAM;oCArED,IAAI,GAAG,MAAM,YACT;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE,KAC5B,MAAM;CAmFV,CAAC"}
1
+ {"version":3,"file":"useDateUtils.d.ts","sourceRoot":"","sources":["../../src/hooks/useDateUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAS3B,MAAM,UAAU,CAAC;AAMlB,eAAO,MAAM,YAAY;;uBAKf,IAAI,GAAG,MAAM,gCAET;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,KAC7B,MAAM;iCAqDD,IAAI,GAAG,MAAM,yBAElB,MAAM;+BAKD,IAAI,GAAG,MAAM,YACT,0BAA0B,KACnC,MAAM;mCAQA,IAAI,GAAG,MAAM,SACb,IAAI,GAAG,MAAM,KACnB,OAAO;wCAQD,IAAI,GAAG,MAAM,SACb,IAAI,GAAG,MAAM,YACV,qBAAqB,KAC9B,MAAM;oCArED,IAAI,GAAG,MAAM,YACT;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE,KAC5B,MAAM;CAmFV,CAAC"}
@@ -1,24 +1,24 @@
1
1
  import { useTranslation as z } from "react-i18next";
2
- import { differenceInDays as h, differenceInHours as p, differenceInMinutes as v, differenceInSeconds as U, formatDistance as w, isSameDay as C, formatDistanceToNow as M, format as D } from "date-fns";
3
- import { toZonedTime as s, formatInTimeZone as S } from "date-fns-tz";
4
- import { es as H, ru as I, enUS as d } from "date-fns/locale";
5
- import { useLocalTimezone as g } from "../store/timezoneStore.js";
6
- const A = () => {
7
- const { timezone: o } = g(), { t: a, i18n: y } = z("ui");
2
+ import { differenceInDays as h, differenceInHours as v, differenceInMinutes as p, differenceInSeconds as U, formatDistance as w, isSameDay as C, formatDistanceToNow as S, format as l } from "date-fns";
3
+ import { toZonedTime as s, formatInTimeZone as H } from "date-fns-tz";
4
+ import { useLocalTimezone as I } from "../store/timezoneStore.js";
5
+ import { dateFnsLocales as d } from "./useDateFnsLocale.js";
6
+ const b = () => {
7
+ const { timezone: o } = I(), { t: a, i18n: y } = z("ui");
8
8
  return {
9
9
  timezone: o,
10
10
  formatDate: (e, t = "yyyy-MM-dd HH:mm:ss", n) => {
11
11
  const r = typeof e == "string" ? new Date(e) : e, i = s(r, o || "UTC");
12
12
  if (n?.locale ?? !1) {
13
- const f = { en: d, ru: I, es: H }[y.language] || d;
14
- return D(i, t, { locale: f });
13
+ const f = d[y.language] || d.en;
14
+ return l(i, t, { locale: f });
15
15
  }
16
- return D(i, t);
16
+ return l(i, t);
17
17
  },
18
- formatDateInTimezone: (e, t = "yyyy-MM-dd HH:mm:ss") => S(e, o || "UTC", t),
18
+ formatDateInTimezone: (e, t = "yyyy-MM-dd HH:mm:ss") => H(e, o || "UTC", t),
19
19
  formatRelativeTime: (e, t) => {
20
20
  const n = typeof e == "string" ? new Date(e) : e, r = s(n, o || "UTC");
21
- return M(r, { ...t });
21
+ return S(r, { ...t });
22
22
  },
23
23
  isSameDayWithTimezone: (e, t) => {
24
24
  const n = s(e, o || "UTC"), r = s(t, o || "UTC");
@@ -29,19 +29,19 @@ const A = () => {
29
29
  return w(r, i, { ...n });
30
30
  },
31
31
  formatRelativeShortTime: (e, t) => {
32
- const n = typeof e == "string" ? new Date(e) : e, r = /* @__PURE__ */ new Date(), i = s(n, o || "UTC"), m = s(r, o || "UTC"), u = h(m, i), f = p(m, i), T = v(m, i), l = U(m, i), c = t?.short ?? !1;
33
- return u >= 1 ? a(c ? "relativeTime.shortDay" : "relativeTime.day", {
34
- count: u
35
- }) : f >= 1 ? a(c ? "relativeTime.shortHour" : "relativeTime.hour", {
32
+ const n = typeof e == "string" ? new Date(e) : e, r = /* @__PURE__ */ new Date(), i = s(n, o || "UTC"), m = s(r, o || "UTC"), f = h(m, i), T = v(m, i), u = p(m, i), D = U(m, i), c = t?.short ?? !1;
33
+ return f >= 1 ? a(c ? "relativeTime.shortDay" : "relativeTime.day", {
36
34
  count: f
37
- }) : T >= 1 ? a(c ? "relativeTime.shortMinute" : "relativeTime.minute", {
35
+ }) : T >= 1 ? a(c ? "relativeTime.shortHour" : "relativeTime.hour", {
38
36
  count: T
39
- }) : l >= 1 ? a(c ? "relativeTime.shortSecond" : "relativeTime.second", {
40
- count: l
37
+ }) : u >= 1 ? a(c ? "relativeTime.shortMinute" : "relativeTime.minute", {
38
+ count: u
39
+ }) : D >= 1 ? a(c ? "relativeTime.shortSecond" : "relativeTime.second", {
40
+ count: D
41
41
  }) : a(c ? "relativeTime.shortJustNow" : "relativeTime.justNow");
42
42
  }
43
43
  };
44
44
  };
45
45
  export {
46
- A as useDateUtils
46
+ b as useDateUtils
47
47
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useFormatDistance.d.ts","sourceRoot":"","sources":["../../src/hooks/useFormatDistance.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB,oBAId,MAAM,WAOrB,CAAC"}
1
+ {"version":3,"file":"useFormatDistance.d.ts","sourceRoot":"","sources":["../../src/hooks/useFormatDistance.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,oBAId,MAAM,WAOrB,CAAC"}
@@ -1,17 +1,17 @@
1
1
  import { useCallback as o } from "react";
2
2
  import { useTranslation as n } from "react-i18next";
3
- import { ru as r, enUS as i } from "date-fns/locale";
4
- import { useDateUtils as m } from "./useDateUtils.js";
5
- const f = () => {
6
- const { i18n: e } = n(), { formatDistanceWithTimezone: t } = m();
3
+ import { dateFnsLocales as r } from "./useDateFnsLocale.js";
4
+ import { useDateUtils as s } from "./useDateUtils.js";
5
+ const c = () => {
6
+ const { i18n: e } = n(), { formatDistanceWithTimezone: t } = s();
7
7
  return o(
8
8
  (a) => t(new Date(a), /* @__PURE__ */ new Date(), {
9
9
  addSuffix: !0,
10
- locale: { en: i, ru: r }[e.language]
10
+ locale: r[e.language]
11
11
  }),
12
12
  [e.language]
13
13
  );
14
14
  };
15
15
  export {
16
- f as useFormatDistance
16
+ c as useFormatDistance
17
17
  };
@@ -2,7 +2,7 @@ export declare const isNumberValue: (value: unknown) => value is number;
2
2
  /**
3
3
  * Hook to get URL route parameter value
4
4
  */
5
- export declare const useRouteParam: (paramName: "folderId" | "sprintId" | "taskId" | "flowId" | "pageId" | "storageId") => string | null;
5
+ export declare const useRouteParam: (paramName: "folderId" | "sprintId" | "taskId" | "flowId" | "pageId" | "storageId" | "projectId") => string | null;
6
6
  /**
7
7
  * Hook to get URL query parameter value (from ?param=value)
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"useNumberQueryParam.d.ts","sourceRoot":"","sources":["../../src/hooks/useNumberQueryParam.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,MAEvD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GACxB,WACI,UAAU,GACV,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,WAAW,kBAIhB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,WAAW,MAAM,kBAG9C,CAAC"}
1
+ {"version":3,"file":"useNumberQueryParam.d.ts","sourceRoot":"","sources":["../../src/hooks/useNumberQueryParam.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,MAEvD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GACxB,WACI,UAAU,GACV,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,WAAW,GACX,WAAW,kBAIhB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,WAAW,MAAM,kBAG9C,CAAC"}