@layers-app/shared 0.3.0 → 0.3.1

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 (180) 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/AppContainer.module.css.js +1 -1
  28. package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
  29. package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +80 -45
  30. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
  31. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +60 -69
  32. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
  33. package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
  34. package/dist/components/AppContainer/hooks/useAppContainer.d.ts.map +1 -1
  35. package/dist/components/AppContainer/hooks/useAppContainer.js +57 -51
  36. package/dist/components/AppContainer/hooks/useAppContainerDataStore.d.ts.map +1 -1
  37. package/dist/components/AppContainer/hooks/useAppContainerDataStore.js +3 -1
  38. package/dist/components/AppContainer/types.d.ts +3 -0
  39. package/dist/components/AppContainer/types.d.ts.map +1 -1
  40. package/dist/components/AppShell/AppShell.module.css.js +5 -5
  41. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
  42. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +14 -14
  43. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
  44. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
  45. package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
  46. package/dist/components/ColorPicker/ColorPickerPopover.d.ts +6 -6
  47. package/dist/components/ColorPicker/ColorPickerPopover.d.ts.map +1 -1
  48. package/dist/components/ColorPicker/ColorPickerPopover.js +29 -31
  49. package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
  50. package/dist/components/CommentComposer/index.d.ts.map +1 -1
  51. package/dist/components/CommentComposer/index.js +115 -111
  52. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  53. package/dist/components/Copyright/Copyright.module.css.js +1 -1
  54. package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
  55. package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
  56. package/dist/components/EmojiPicker/EmojiPanel.js +12 -10
  57. package/dist/components/EmojiPicker/EmojiPicker.d.ts +3 -1
  58. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  59. package/dist/components/EmojiPicker/EmojiPicker.js +49 -46
  60. package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
  61. package/dist/components/EmojiPicker/IconsPanel.d.ts +2 -1
  62. package/dist/components/EmojiPicker/IconsPanel.d.ts.map +1 -1
  63. package/dist/components/EmojiPicker/IconsPanel.js +47 -45
  64. package/dist/components/EmojiPicker/custom-icons/customIcons.d.ts.map +1 -1
  65. package/dist/components/EmojiPicker/custom-icons/customIcons.js +66 -31
  66. package/dist/components/EntityIcon.d.ts +3 -3
  67. package/dist/components/EntityIcon.d.ts.map +1 -1
  68. package/dist/components/EntityIcon.js +59 -35
  69. package/dist/components/EntityTitle/EntityTitle.d.ts +1 -1
  70. package/dist/components/EntityTitle/EntityTitle.d.ts.map +1 -1
  71. package/dist/components/EntityTitle/EntityTitle.js +34 -34
  72. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  73. package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
  74. package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
  75. package/dist/components/FilePicker/FilePicker.d.ts +4 -2
  76. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  77. package/dist/components/FilePicker/FilePicker.js +241 -238
  78. package/dist/components/FilePicker/FilePicker.module.css.js +14 -12
  79. package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
  80. package/dist/components/FilePicker/FilePickerGallery.js +60 -34
  81. package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
  82. package/dist/components/FilePicker/FilePickerGiphy.js +35 -36
  83. package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
  84. package/dist/components/FilePicker/FilePickerLink.js +26 -23
  85. package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
  86. package/dist/components/FilePicker/FilePickerUnsplash.js +42 -43
  87. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  88. package/dist/components/FilePicker/FilePickerUpload.js +60 -42
  89. package/dist/components/FilePicker/coverCollections.d.ts +4 -0
  90. package/dist/components/FilePicker/coverCollections.d.ts.map +1 -0
  91. package/dist/components/FilePicker/coverCollections.js +164 -0
  92. package/dist/components/FilePicker/index.d.ts +1 -0
  93. package/dist/components/FilePicker/index.d.ts.map +1 -1
  94. package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
  95. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  96. package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
  97. package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
  98. package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
  99. package/dist/components/FormViewer/components/fields/UploadField/UploadField.d.ts.map +1 -1
  100. package/dist/components/FormViewer/components/fields/UploadField/UploadField.js +34 -33
  101. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
  102. package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts +3 -3
  103. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  104. package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
  105. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
  106. package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
  107. package/dist/components/Loaders/styles.module.css.js +6 -6
  108. package/dist/components/Logotype.d.ts +2 -1
  109. package/dist/components/Logotype.d.ts.map +1 -1
  110. package/dist/components/Logotype.js +58 -49
  111. package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
  112. package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
  113. package/dist/components/NavMenu/components/NavMenuItem.d.ts.map +1 -1
  114. package/dist/components/NavMenu/components/NavMenuItem.js +122 -107
  115. package/dist/components/NavMenu/types.d.ts +1 -0
  116. package/dist/components/NavMenu/types.d.ts.map +1 -1
  117. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  118. package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
  119. package/dist/components/Notification/Notification.module.css.js +1 -1
  120. package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
  121. package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
  122. package/dist/components/OnBoarding/styles.module.css.js +7 -7
  123. package/dist/components/ProjectIcon/ProjectIcon.js +13 -13
  124. package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
  125. package/dist/components/SettingsSection/styles.module.css.js +1 -1
  126. package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
  127. package/dist/components/TreeIndent/TreeIndent.d.ts +9 -0
  128. package/dist/components/TreeIndent/TreeIndent.d.ts.map +1 -0
  129. package/dist/components/TreeIndent/TreeIndent.js +15 -0
  130. package/dist/components/TreeIndent/TreeIndent.module.css.js +11 -0
  131. package/dist/components/TreeIndent/index.d.ts +2 -0
  132. package/dist/components/TreeIndent/index.d.ts.map +1 -0
  133. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +11 -11
  134. package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts.map +1 -1
  135. package/dist/components/WorkspaceMenu/WorkspaceMenu.js +97 -101
  136. package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
  137. package/dist/components/table/FrontTable.d.ts.map +1 -1
  138. package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
  139. package/dist/config/brand.d.ts +1 -0
  140. package/dist/config/brand.d.ts.map +1 -1
  141. package/dist/config/brand.js +42 -34
  142. package/dist/config/envConfig.d.ts +40 -0
  143. package/dist/config/envConfig.d.ts.map +1 -1
  144. package/dist/config/envConfig.js +29 -10
  145. package/dist/constants.d.ts.map +1 -1
  146. package/dist/constants.js +15 -4
  147. package/dist/helpers/getFileIcons.d.ts.map +1 -1
  148. package/dist/helpers/getFileIcons.js +34 -29
  149. package/dist/helpers/getFileType.d.ts +1 -1
  150. package/dist/helpers/getFileType.d.ts.map +1 -1
  151. package/dist/helpers/getFileType.js +3 -3
  152. package/dist/helpers/hotjar.d.ts.map +1 -1
  153. package/dist/helpers/hotjar.js +11 -7
  154. package/dist/helpers/platform.js +4 -4
  155. package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
  156. package/dist/helpers/showNotifications.d.ts +3 -0
  157. package/dist/helpers/showNotifications.d.ts.map +1 -1
  158. package/dist/helpers/showNotifications.js +79 -44
  159. package/dist/helpers/showNotifications.module.css.js +1 -1
  160. package/dist/hooks/useDateFnsLocale.d.ts +2 -0
  161. package/dist/hooks/useDateFnsLocale.d.ts.map +1 -1
  162. package/dist/hooks/useDateFnsLocale.js +9 -8
  163. package/dist/hooks/useDateUtils.d.ts.map +1 -1
  164. package/dist/hooks/useDateUtils.js +19 -19
  165. package/dist/hooks/useFormatDistance.d.ts.map +1 -1
  166. package/dist/hooks/useFormatDistance.js +6 -6
  167. package/dist/hooks/useNumberQueryParam.d.ts +1 -1
  168. package/dist/hooks/useNumberQueryParam.d.ts.map +1 -1
  169. package/dist/index.css +1 -1
  170. package/dist/index.d.ts +3 -0
  171. package/dist/index.d.ts.map +1 -1
  172. package/dist/index.js +504 -492
  173. package/dist/lang/locales/ui_en.json.js +15 -15
  174. package/dist/lang/locales/ui_es.json.js +11 -11
  175. package/dist/lang/locales/ui_ru.json.js +16 -16
  176. package/dist/utils/formatStorage.d.ts +9 -0
  177. package/dist/utils/formatStorage.d.ts.map +1 -1
  178. package/dist/utils/formatStorage.js +14 -10
  179. package/docs/README.md +499 -499
  180. package/package.json +75 -75
@@ -1,23 +1,23 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import { useTranslation as I } from "react-i18next";
3
- import { Link as v } from "react-router-dom";
4
- import { Delete03Icon as x, UserAdd02Icon as A, HelpCircleIcon as D } from "@hugeicons/core-free-icons";
5
- import { HugeiconsIcon as p } from "@hugeicons/react";
6
- import { Stack as a, Menu as r, Tooltip as t, ActionIcon as z } from "@mantine/core";
7
- import { IconUserCircle as C } from "@tabler/icons-react";
8
- import { usePlatform as S } from "../../../../hooks/usePlatform.js";
9
- import { useTrashModalStore as U, openTrashModal as y, closeTrashModal as L } from "../../../../store/trashModal.js";
10
- import { useAppContainerDataStore as j } from "../../hooks/useAppContainerDataStore.js";
1
+ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
+ import { useTranslation as O } from "react-i18next";
3
+ import { Link as D } from "react-router-dom";
4
+ import { Delete03Icon as E, UserAdd02Icon as x, HelpCircleIcon as A, Wifi01Icon as M, WifiDisconnected04Icon as L } from "@hugeicons/core-free-icons";
5
+ import { HugeiconsIcon as s } from "@hugeicons/react";
6
+ import { Stack as d, Menu as r, Tooltip as l, Box as I, ActionIcon as U } from "@mantine/core";
7
+ import { IconUserCircle as F } from "@tabler/icons-react";
8
+ import { usePlatform as R } from "../../../../hooks/usePlatform.js";
9
+ import { useTrashModalStore as k, openTrashModal as z, closeTrashModal as j } from "../../../../store/trashModal.js";
10
+ import { useAppContainerDataStore as G } from "../../hooks/useAppContainerDataStore.js";
11
11
  import { AppSidebarButton as c } from "../AppSidebarButton.js";
12
12
  import { HelpMenu as H } from "../menus/HelpMenu/HelpMenu.js";
13
- import { MenuUserDropdown as k } from "../menus/UserMenu/MenuUserDropdown.js";
14
- const W = ({
15
- trashMenu: u,
16
- onInviteClick: d
13
+ import { MenuUserDropdown as K } from "../menus/UserMenu/MenuUserDropdown.js";
14
+ const io = ({
15
+ trashMenu: C,
16
+ onInviteClick: h
17
17
  }) => {
18
- const { t: e } = I("appContainer"), g = S(), { user: h, isAnonym: s, userMenuItems: b, publicMode: w, navbarDisplayFormat: M } = j(), T = U((l) => l.opened), m = !s && !w && h.role !== "mG", f = !s && g.has("inviteUsers") && d, i = M === "iconsAndLabels";
19
- return /* @__PURE__ */ n(
20
- a,
18
+ const { t: i } = O("appContainer"), m = R(), { user: f, isAnonym: p, userMenuItems: T, publicMode: S, navbarDisplayFormat: v, onSyncClick: g, syncState: N } = G(), w = k((e) => e.opened), u = !p && !S && f.role !== "mG", y = !p && m.has("inviteUsers") && h, n = v === "iconsAndLabels";
19
+ return /* @__PURE__ */ t(
20
+ d,
21
21
  {
22
22
  style: { borderTop: "1px solid var(--app-shell-border)" },
23
23
  flex: 1,
@@ -25,71 +25,106 @@ const W = ({
25
25
  gap: 16,
26
26
  align: "center",
27
27
  children: [
28
- /* @__PURE__ */ n(
29
- a,
28
+ /* @__PURE__ */ t(
29
+ d,
30
30
  {
31
- justify: !m && !f ? "end" : "space-between",
31
+ justify: !u && !y ? "end" : "space-between",
32
32
  gap: 8,
33
33
  flex: 1,
34
34
  children: [
35
- m && /* @__PURE__ */ n(
35
+ u && /* @__PURE__ */ t(
36
36
  r,
37
37
  {
38
38
  position: "right",
39
39
  offset: 6,
40
40
  width: 360,
41
- opened: T,
42
- onChange: (l) => {
43
- l ? y() : L();
41
+ opened: w,
42
+ onChange: (e) => {
43
+ e ? z() : j();
44
44
  },
45
45
  children: [
46
46
  /* @__PURE__ */ o(r.Target, { children: /* @__PURE__ */ o(
47
- t,
47
+ l,
48
48
  {
49
- label: e("trash"),
49
+ label: i("trash"),
50
50
  position: "right",
51
- disabled: i,
51
+ disabled: n,
52
52
  children: /* @__PURE__ */ o(
53
53
  c,
54
54
  {
55
- title: i ? e("trash") : null,
56
- icon: /* @__PURE__ */ o(p, { icon: x, size: 20 })
55
+ title: n ? i("trash") : null,
56
+ icon: /* @__PURE__ */ o(s, { icon: E, size: 20 })
57
57
  }
58
58
  )
59
59
  }
60
60
  ) }),
61
- /* @__PURE__ */ o(r.Dropdown, { children: u })
61
+ /* @__PURE__ */ o(r.Dropdown, { children: C })
62
62
  ]
63
63
  }
64
64
  ),
65
- /* @__PURE__ */ n(a, { gap: 8, children: [
66
- f && /* @__PURE__ */ o(t, { label: e("invite"), position: "right", disabled: i, children: /* @__PURE__ */ o(
65
+ /* @__PURE__ */ t(d, { gap: 8, children: [
66
+ y && /* @__PURE__ */ o(l, { label: i("invite"), position: "right", disabled: n, children: /* @__PURE__ */ o(
67
67
  c,
68
68
  {
69
- title: i ? e("invite") : null,
70
- icon: /* @__PURE__ */ o(p, { icon: A, size: 20 }),
71
- onClick: d
69
+ title: n ? i("invite") : null,
70
+ icon: /* @__PURE__ */ o(s, { icon: x, size: 20 }),
71
+ onClick: h
72
72
  }
73
73
  ) }),
74
- /* @__PURE__ */ n(r, { position: "right-end", offset: 6, width: 260, children: [
75
- /* @__PURE__ */ o(r.Target, { children: /* @__PURE__ */ o(t, { label: e("help"), position: "right", disabled: i, children: /* @__PURE__ */ o(
74
+ /* @__PURE__ */ t(r, { position: "right-end", offset: 6, width: 260, children: [
75
+ /* @__PURE__ */ o(r.Target, { children: /* @__PURE__ */ o(l, { label: i("help"), position: "right", disabled: n, children: /* @__PURE__ */ o(
76
76
  c,
77
77
  {
78
- title: i ? e("help") : null,
79
- icon: /* @__PURE__ */ o(p, { icon: D, size: 20 })
78
+ title: n ? i("help") : null,
79
+ icon: /* @__PURE__ */ o(s, { icon: A, size: 20 })
80
80
  }
81
81
  ) }) }),
82
82
  /* @__PURE__ */ o(r.Dropdown, { children: /* @__PURE__ */ o(H, {}) })
83
- ] })
83
+ ] }),
84
+ m.isDesktop && g && (() => {
85
+ const e = (N || "").toUpperCase(), a = e === "SYNCED" || e === "OK", b = a ? "var(--mantine-color-green-6)" : e === "SYNCING" ? "var(--mantine-color-blue-6)" : e === "ERROR" || e === "CONFLICT" || e === "OFFLINE" ? "var(--mantine-color-red-6)" : e === "ATTENTION" ? "var(--mantine-color-orange-6)" : "var(--mantine-color-yellow-6)";
86
+ return /* @__PURE__ */ o(l, { label: i(a ? "sync.tooltipSynced" : e === "SYNCING" ? "sync.tooltipSyncing" : e === "OFFLINE" ? "sync.tooltipOffline" : e === "ERROR" ? "sync.tooltipError" : e === "CONFLICT" ? "sync.tooltipConflict" : e === "ATTENTION" ? "sync.tooltipAttention" : e === "QUEUED" ? "sync.tooltipQueued" : "sync.tooltipSyncing"), position: "right", children: /* @__PURE__ */ o(
87
+ c,
88
+ {
89
+ title: "Sync",
90
+ icon: /* @__PURE__ */ t(I, { pos: "relative", display: "inline-flex", children: [
91
+ /* @__PURE__ */ o(
92
+ s,
93
+ {
94
+ icon: a ? M : L,
95
+ size: 20,
96
+ color: b
97
+ }
98
+ ),
99
+ /* @__PURE__ */ o(
100
+ I,
101
+ {
102
+ pos: "absolute",
103
+ bottom: -2,
104
+ right: -2,
105
+ w: 8,
106
+ h: 8,
107
+ style: {
108
+ borderRadius: "50%",
109
+ border: "2px solid var(--app-shell-bg)",
110
+ backgroundColor: b
111
+ }
112
+ }
113
+ )
114
+ ] }),
115
+ onClick: g
116
+ }
117
+ ) });
118
+ })()
84
119
  ] })
85
120
  ]
86
121
  }
87
122
  ),
88
- s ? /* @__PURE__ */ o(v, { to: "/login", children: /* @__PURE__ */ o(t, { label: "Log in", position: "right", children: /* @__PURE__ */ o(z, { size: "lg", variant: "light", children: /* @__PURE__ */ o(C, { size: 20 }) }) }) }) : /* @__PURE__ */ o(
89
- k,
123
+ p ? /* @__PURE__ */ o(D, { to: "/login", children: /* @__PURE__ */ o(l, { label: "Log in", position: "right", children: /* @__PURE__ */ o(U, { size: "lg", variant: "light", children: /* @__PURE__ */ o(F, { size: 20 }) }) }) }) : /* @__PURE__ */ o(
124
+ K,
90
125
  {
91
- user: h,
92
- menuItems: b,
126
+ user: f,
127
+ menuItems: T,
93
128
  position: "right-end"
94
129
  }
95
130
  )
@@ -98,5 +133,5 @@ const W = ({
98
133
  );
99
134
  };
100
135
  export {
101
- W as UserSection
136
+ io as UserSection
102
137
  };
@@ -1 +1 @@
1
- {"version":3,"file":"HelpMenu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AppContainer/components/menus/HelpMenu/HelpMenu.tsx"],"names":[],"mappings":"AAoCA,eAAO,MAAM,QAAQ,+CAoQpB,CAAC"}
1
+ {"version":3,"file":"HelpMenu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AppContainer/components/menus/HelpMenu/HelpMenu.tsx"],"names":[],"mappings":"AAoCA,eAAO,MAAM,QAAQ,+CA4PpB,CAAC"}
@@ -1,9 +1,9 @@
1
- import { jsxs as s, jsx as e, Fragment as k } from "react/jsx-runtime";
2
- import { useState as j, useRef as A, useMemo as _, useCallback as h, useEffect as $ } from "react";
3
- import { useTranslation as B } from "react-i18next";
4
- import { DiscountTag02Icon as R, CustomerSupportIcon as U, Book02Icon as O, Structure02Icon as H, Layers01Icon as N, BookOpen01Icon as W, LicenseIcon as G } from "@hugeicons/core-free-icons";
5
- import { HugeiconsIcon as i } from "@hugeicons/react";
6
- import { Stack as K, Button as u, Menu as n, Popover as g, UnstyledButton as Y, Group as q, Text as S } from "@mantine/core";
1
+ import { jsxs as a, jsx as e, Fragment as I } from "react/jsx-runtime";
2
+ import { useState as A, useRef as $, useMemo as B, useCallback as h, useEffect as R } from "react";
3
+ import { useTranslation as _ } from "react-i18next";
4
+ import { DiscountTag02Icon as O, CustomerSupportIcon as U, Book02Icon as H, Structure02Icon as N, BookOpen01Icon as W, LicenseIcon as G } from "@hugeicons/core-free-icons";
5
+ import { HugeiconsIcon as s } from "@hugeicons/react";
6
+ import { Stack as K, Button as u, Menu as i, Popover as g, UnstyledButton as Y, Group as q, Text as S } from "@mantine/core";
7
7
  import { IconChevronRight as J } from "@tabler/icons-react";
8
8
  import Q from "../../../../../assets/svg/discord-icon.svg.js";
9
9
  import V from "../../../../../assets/svg/telegram-icon.svg.js";
@@ -11,60 +11,61 @@ import X from "../../../../../assets/svg/whatsapp-icon.svg.js";
11
11
  import { brand as o } from "../../../../../config/brand.js";
12
12
  import { getEnvConfig as Z } from "../../../../../config/envConfig.js";
13
13
  import { isFeature as ee } from "../../../../../helpers/feature.js";
14
- import { resetFeatureFlow as te } from "../../../../../store/featureProgress.js";
15
- import { useAppContainerDataStore as oe } from "../../../hooks/useAppContainerDataStore.js";
16
- import { WhatsNew as re } from "./WhatsNew.js";
14
+ import { usePlatform as te } from "../../../../../hooks/usePlatform.js";
15
+ import { resetFeatureFlow as oe } from "../../../../../store/featureProgress.js";
16
+ import { useAppContainerDataStore as re } from "../../../hooks/useAppContainerDataStore.js";
17
+ import { WhatsNew as ie } from "./WhatsNew.js";
17
18
  import { resetOnboarding as ne } from "../../../../OnboardingTour/useOnboardingTour.js";
18
- import { FeatureProgressKey as ie } from "../../../../FeatureProgress/constants.js";
19
- const Me = () => {
20
- const { t } = B("helpMenu"), [y, f] = j(!1), c = A(null), M = _(() => {
19
+ import { FeatureProgressKey as ae } from "../../../../FeatureProgress/constants.js";
20
+ const ze = () => {
21
+ const { t } = _("helpMenu"), y = te(), [M, f] = A(!1), c = $(null), T = B(() => {
21
22
  const r = Z().analytics;
22
23
  return r?.intercomEnabled !== !1 && !!r?.intercomAppId;
23
24
  }, []), {
24
25
  showMessenger: w,
25
- showNewMessage: T,
26
- workspaceMenu: z,
27
- getFirstPageLink: C,
26
+ showNewMessage: z,
27
+ workspaceMenu: C,
28
+ getFirstPageLink: D,
28
29
  version: E,
29
- updatedAt: D,
30
+ updatedAt: P,
30
31
  privacyPolicyLink: x,
31
- userAgreementLink: L,
32
+ userAgreementLink: F,
32
33
  whatsNewItems: b
33
- } = oe(), P = () => {
34
+ } = re(), j = () => {
34
35
  m();
35
36
  const r = new URL(window.location.href);
36
37
  r.searchParams.get("view") === "graph" && (r.searchParams.delete("view"), window.history.replaceState(
37
38
  window.history.state,
38
39
  "",
39
40
  `${r.pathname}${r.search}${r.hash}`
40
- )), ne("graph"), te(ie.GraphStart);
41
- const p = window.location.pathname.split("/").filter(Boolean), F = p[0], v = p[1] === "pages" ? p[2] : void 0, l = F || z.active.workspaceId;
41
+ )), ne("graph"), oe(ae.GraphStart);
42
+ const p = window.location.pathname.split("/").filter(Boolean), L = p[0], v = p[1] === "pages" ? p[2] : void 0, l = L || C.active.workspaceId;
42
43
  if (l) {
43
44
  if (v) {
44
45
  window.location.assign(`/${l}/pages/${v}`);
45
46
  return;
46
47
  }
47
- const I = C?.(l);
48
- if (I) {
49
- window.location.assign(I);
48
+ const k = D?.(l);
49
+ if (k) {
50
+ window.location.assign(k);
50
51
  return;
51
52
  }
52
53
  window.location.assign(`/${l}/pages`);
53
54
  return;
54
55
  }
55
56
  window.location.assign("/");
56
- }, a = h(() => {
57
+ }, n = h(() => {
57
58
  c.current && (window.clearTimeout(c.current), c.current = null);
58
59
  }, []), d = h(() => {
59
- a(), f(!0);
60
- }, [a]), m = h(() => {
61
- a(), c.current = window.setTimeout(() => {
60
+ n(), f(!0);
61
+ }, [n]), m = h(() => {
62
+ n(), c.current = window.setTimeout(() => {
62
63
  f(!1);
63
64
  }, 120);
64
- }, [a]);
65
- return $(() => () => {
66
- a();
67
- }, [a]), /* @__PURE__ */ s(K, { gap: 6, p: 4, children: [
65
+ }, [n]);
66
+ return R(() => () => {
67
+ n();
68
+ }, [n]), /* @__PURE__ */ a(K, { gap: 6, p: 4, children: [
68
69
  o.social.whatsappEnabled && /* @__PURE__ */ e(
69
70
  u,
70
71
  {
@@ -107,32 +108,32 @@ const Me = () => {
107
108
  children: t("joinDiscord")
108
109
  }
109
110
  ),
110
- (o.social.whatsappEnabled || o.social.telegramEnabled || o.social.discordEnabled) && /* @__PURE__ */ e(n.Divider, {}),
111
- M && /* @__PURE__ */ s(k, { children: [
111
+ (o.social.whatsappEnabled || o.social.telegramEnabled || o.social.discordEnabled) && /* @__PURE__ */ e(i.Divider, {}),
112
+ !y.isDesktop && T && /* @__PURE__ */ a(I, { children: [
112
113
  /* @__PURE__ */ e(
113
- n.Item,
114
+ i.Item,
114
115
  {
115
116
  onClick: () => {
116
- w(), T(t("contactSalesMessage"));
117
+ w(), z(t("contactSalesMessage"));
117
118
  },
118
- leftSection: /* @__PURE__ */ e(i, { icon: R, size: 16 }),
119
+ leftSection: /* @__PURE__ */ e(s, { icon: O, size: 16 }),
119
120
  children: t("contactSales")
120
121
  }
121
122
  ),
122
123
  /* @__PURE__ */ e(
123
- n.Item,
124
+ i.Item,
124
125
  {
125
126
  onClick: w,
126
- leftSection: /* @__PURE__ */ e(i, { icon: U, size: 16 }),
127
+ leftSection: /* @__PURE__ */ e(s, { icon: U, size: 16 }),
127
128
  children: t("getSupport")
128
129
  }
129
130
  ),
130
- /* @__PURE__ */ e(n.Divider, {})
131
+ /* @__PURE__ */ e(i.Divider, {})
131
132
  ] }),
132
- ee() && /* @__PURE__ */ s(
133
+ ee() && /* @__PURE__ */ a(
133
134
  g,
134
135
  {
135
- opened: y,
136
+ opened: M,
136
137
  width: 200,
137
138
  position: "right-start",
138
139
  offset: 10,
@@ -140,9 +141,9 @@ const Me = () => {
140
141
  shadow: "md",
141
142
  children: [
142
143
  /* @__PURE__ */ e(g.Target, { children: /* @__PURE__ */ e("div", { onMouseEnter: d, onMouseLeave: m, children: /* @__PURE__ */ e(
143
- n.Item,
144
+ i.Item,
144
145
  {
145
- leftSection: /* @__PURE__ */ e(i, { icon: O, size: 16 }),
146
+ leftSection: /* @__PURE__ */ e(s, { icon: H, size: 16 }),
146
147
  rightSection: /* @__PURE__ */ e(J, { size: 14 }),
147
148
  onClick: (r) => {
148
149
  r.preventDefault(), d();
@@ -164,17 +165,17 @@ const Me = () => {
164
165
  children: /* @__PURE__ */ e(
165
166
  Y,
166
167
  {
167
- onClick: P,
168
+ onClick: j,
168
169
  style: {
169
170
  width: "100%",
170
171
  borderRadius: 12,
171
172
  padding: "6px 12px"
172
173
  },
173
- children: /* @__PURE__ */ s(q, { gap: 10, children: [
174
+ children: /* @__PURE__ */ a(q, { gap: 10, children: [
174
175
  /* @__PURE__ */ e(
175
- i,
176
+ s,
176
177
  {
177
- icon: H,
178
+ icon: N,
178
179
  size: 16,
179
180
  color: "var(--mantine-color-dimmed)"
180
181
  }
@@ -189,46 +190,36 @@ const Me = () => {
189
190
  }
190
191
  ),
191
192
  /* @__PURE__ */ e(
192
- n.Item,
193
- {
194
- leftSection: /* @__PURE__ */ e(i, { icon: N, size: 16 }),
195
- component: "a",
196
- href: o.websiteUrl,
197
- target: "_blank",
198
- children: t("aboutLayers")
199
- }
200
- ),
201
- /* @__PURE__ */ e(
202
- n.Item,
193
+ i.Item,
203
194
  {
204
195
  variant: "outline",
205
196
  component: "a",
206
197
  target: "_blank",
207
- href: L,
208
- leftSection: /* @__PURE__ */ e(i, { icon: W, size: 16 }),
198
+ href: F,
199
+ leftSection: /* @__PURE__ */ e(s, { icon: W, size: 16 }),
209
200
  children: t("userAgreement")
210
201
  }
211
202
  ),
212
203
  /* @__PURE__ */ e(
213
- n.Item,
204
+ i.Item,
214
205
  {
215
206
  variant: "outline",
216
207
  component: "a",
217
208
  target: "_blank",
218
209
  href: x,
219
- leftSection: /* @__PURE__ */ e(i, { icon: G, size: 16 }),
210
+ leftSection: /* @__PURE__ */ e(s, { icon: G, size: 16 }),
220
211
  children: t("termsAndPrivacy")
221
212
  }
222
213
  ),
223
- /* @__PURE__ */ e(n.Divider, {}),
224
- !!b?.length && /* @__PURE__ */ s(k, { children: [
225
- /* @__PURE__ */ e(re, { items: b }),
226
- /* @__PURE__ */ e(n.Divider, {})
214
+ /* @__PURE__ */ e(i.Divider, {}),
215
+ !!b?.length && /* @__PURE__ */ a(I, { children: [
216
+ /* @__PURE__ */ e(ie, { items: b }),
217
+ /* @__PURE__ */ e(i.Divider, {})
227
218
  ] }),
228
- /* @__PURE__ */ s(S, { size: "xs", c: "dimmed", children: [
219
+ /* @__PURE__ */ a(S, { size: "xs", c: "dimmed", children: [
229
220
  t("updated"),
230
221
  " ",
231
- D,
222
+ P,
232
223
  /* @__PURE__ */ e("br", {}),
233
224
  o.name,
234
225
  " v",
@@ -242,5 +233,5 @@ const Me = () => {
242
233
  ] });
243
234
  };
244
235
  export {
245
- Me as HelpMenu
236
+ ze as HelpMenu
246
237
  };
@@ -1,4 +1,4 @@
1
- const t = "_dot_h8jhb_1", o = "_line_h8jhb_9", e = {
1
+ const t = "_dot_w7tk6_1", o = "_line_w7tk6_17", e = {
2
2
  dot: t,
3
3
  line: o
4
4
  };
@@ -1,3 +1,3 @@
1
1
  import { AppContainerActionsStore, AppContainerDataStore } from '../types';
2
- export declare const useAppContainer: ({ user, workspaceMenu, getFirstPageLink, tools, userMenuItems, notifications, isAnonym, readNotificationsFunc, publicMode, showMessenger, showNewMessage, version, updatedAt, privacyPolicyLink, userAgreementLink, whatsNewItems, navbarDisplayFormat, }: AppContainerDataStore & AppContainerActionsStore) => void;
2
+ export declare const useAppContainer: ({ user, workspaceMenu, getFirstPageLink, tools, userMenuItems, onSyncClick, syncState, notifications, isAnonym, readNotificationsFunc, publicMode, showMessenger, showNewMessage, version, updatedAt, privacyPolicyLink, userAgreementLink, whatsNewItems, navbarDisplayFormat, }: AppContainerDataStore & AppContainerActionsStore) => void;
3
3
  //# sourceMappingURL=useAppContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAppContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/AppContainer/hooks/useAppContainer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAI3E,eAAO,MAAM,eAAe,GAAI,2PAkB7B,qBAAqB,GAAG,wBAAwB,SA0ClD,CAAC"}
1
+ {"version":3,"file":"useAppContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/AppContainer/hooks/useAppContainer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAI3E,eAAO,MAAM,eAAe,GAAI,mRAoB7B,qBAAqB,GAAG,wBAAwB,SA8ClD,CAAC"}
@@ -1,66 +1,72 @@
1
- import { useLayoutEffect as H } from "react";
2
- import { useAppContainerActionsStore as J } from "./useAppContainerActionsStore.js";
3
- import { useAppContainerDataStore as K } from "./useAppContainerDataStore.js";
4
- const T = ({
5
- user: t,
6
- workspaceMenu: p,
7
- getFirstPageLink: S,
8
- tools: f,
9
- userMenuItems: C,
10
- notifications: m,
11
- isAnonym: o,
12
- readNotificationsFunc: x,
13
- publicMode: A,
14
- showMessenger: E,
15
- showNewMessage: j,
16
- version: q,
17
- updatedAt: r,
18
- privacyPolicyLink: z,
19
- userAgreementLink: B,
20
- whatsNewItems: D,
21
- navbarDisplayFormat: G
1
+ import { useLayoutEffect as K } from "react";
2
+ import { useAppContainerActionsStore as O } from "./useAppContainerActionsStore.js";
3
+ import { useAppContainerDataStore as Q } from "./useAppContainerDataStore.js";
4
+ const V = ({
5
+ user: p,
6
+ workspaceMenu: t,
7
+ getFirstPageLink: f,
8
+ tools: C,
9
+ userMenuItems: S,
10
+ onSyncClick: m,
11
+ syncState: x,
12
+ notifications: A,
13
+ isAnonym: E,
14
+ readNotificationsFunc: j,
15
+ publicMode: o,
16
+ showMessenger: q,
17
+ showNewMessage: r,
18
+ version: z,
19
+ updatedAt: B,
20
+ privacyPolicyLink: D,
21
+ userAgreementLink: G,
22
+ whatsNewItems: H,
23
+ navbarDisplayFormat: J
22
24
  }) => {
23
- H(() => {
24
- K.setState({
25
- user: t,
26
- workspaceMenu: p,
27
- getFirstPageLink: S,
28
- tools: f,
29
- userMenuItems: C,
30
- notifications: m,
31
- isAnonym: o,
32
- publicMode: A,
33
- showMessenger: E,
34
- showNewMessage: j,
35
- version: q,
36
- updatedAt: r,
37
- privacyPolicyLink: z,
38
- userAgreementLink: B,
39
- whatsNewItems: D,
40
- navbarDisplayFormat: G
41
- }), J.setState({
42
- readNotificationsFunc: x
25
+ K(() => {
26
+ Q.setState({
27
+ user: p,
28
+ workspaceMenu: t,
29
+ getFirstPageLink: f,
30
+ tools: C,
31
+ userMenuItems: S,
32
+ onSyncClick: m,
33
+ syncState: x,
34
+ notifications: A,
35
+ isAnonym: E,
36
+ publicMode: o,
37
+ showMessenger: q,
38
+ showNewMessage: r,
39
+ version: z,
40
+ updatedAt: B,
41
+ privacyPolicyLink: D,
42
+ userAgreementLink: G,
43
+ whatsNewItems: H,
44
+ navbarDisplayFormat: J
45
+ }), O.setState({
46
+ readNotificationsFunc: j
43
47
  });
44
48
  }, [
45
- o,
46
- m,
47
- A,
48
- x,
49
49
  E,
50
+ A,
51
+ o,
50
52
  j,
51
- f,
52
- t,
53
+ q,
54
+ r,
53
55
  C,
54
56
  p,
55
57
  S,
56
- q,
57
- r,
58
+ m,
59
+ x,
60
+ t,
61
+ f,
58
62
  z,
59
63
  B,
60
64
  D,
61
- G
65
+ G,
66
+ H,
67
+ J
62
68
  ]);
63
69
  };
64
70
  export {
65
- T as useAppContainer
71
+ V as useAppContainer
66
72
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useAppContainerDataStore.d.ts","sourceRoot":"","sources":["../../../../src/components/AppContainer/hooks/useAppContainerDataStore.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,wBAAwB,oFAgClC,CAAC"}
1
+ {"version":3,"file":"useAppContainerDataStore.d.ts","sourceRoot":"","sources":["../../../../src/components/AppContainer/hooks/useAppContainerDataStore.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,wBAAwB,oFAkClC,CAAC"}
@@ -32,7 +32,9 @@ const s = e(() => ({
32
32
  showMessenger: () => {
33
33
  },
34
34
  showNewMessage: () => {
35
- }
35
+ },
36
+ onSyncClick: void 0,
37
+ syncState: void 0
36
38
  }));
37
39
  export {
38
40
  s as useAppContainerDataStore
@@ -27,6 +27,7 @@ export type AppContainerProps = {
27
27
  trashMenu?: ReactNode;
28
28
  onInviteClick?: () => void;
29
29
  withBg?: boolean;
30
+ hideHeader?: boolean;
30
31
  };
31
32
  export type AppContainerDataStore = {
32
33
  tools: ToolDef[];
@@ -47,6 +48,8 @@ export type AppContainerDataStore = {
47
48
  userAgreementLink: string;
48
49
  whatsNewItems: WhatsNewProps['items'];
49
50
  navbarDisplayFormat: 'iconsAndLabels' | 'iconsOnly';
51
+ onSyncClick?: () => void;
52
+ syncState?: 'SYNCED' | 'SYNCING' | 'OFFLINE' | 'ERROR' | string;
50
53
  };
51
54
  type ReadNotificationsRequest = {
52
55
  messageIds: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EACL,QAAQ,EACR,iBAAiB,EAClB,MAAM,8CAA8C,CAAC;AAEtD,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAClC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,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AM,EAAE,CAAC,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,qBAAqB,EAAE,CAAC,IAAI,EAAE,wBAAwB,KAAK,IAAI,CAAC;CACjE,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAEvE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC"}
@@ -1,6 +1,6 @@
1
- const e = "_root_9zlef_1", t = "_header_9zlef_9", o = "_section_9zlef_20", _ = "_leftSidebar_9zlef_28", n = "_rightSidebar_9zlef_36", r = "_main_9zlef_44", i = "_workContent_9zlef_52", a = {
2
- root: e,
3
- header: t,
1
+ const t = "_root_10w7v_1", e = "_header_10w7v_17", o = "_section_10w7v_39", _ = "_leftSidebar_10w7v_55", n = "_rightSidebar_10w7v_71", r = "_main_10w7v_87", i = "_workContent_10w7v_103", a = {
2
+ root: t,
3
+ header: e,
4
4
  section: o,
5
5
  leftSidebar: _,
6
6
  rightSidebar: n,
@@ -9,11 +9,11 @@ const e = "_root_9zlef_1", t = "_header_9zlef_9", o = "_section_9zlef_20", _ = "
9
9
  };
10
10
  export {
11
11
  a as default,
12
- t as header,
12
+ e as header,
13
13
  _ as leftSidebar,
14
14
  r as main,
15
15
  n as rightSidebar,
16
- e as root,
16
+ t as root,
17
17
  o as section,
18
18
  i as workContent
19
19
  };