@abyss-project/commons-front-core 1.0.136 → 1.0.140

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 (264) hide show
  1. package/README.md +30 -2
  2. package/declaration.d.ts +13 -13
  3. package/dist/assets/index.d.ts +0 -1
  4. package/dist/assets/logo/index.d.ts +1 -0
  5. package/dist/components/Avatars/OrganizationAvatar/OrganizationAvatar.component.d.ts +23 -0
  6. package/dist/components/Avatars/OrganizationAvatar/index.d.ts +2 -0
  7. package/dist/components/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +16 -5
  8. package/dist/components/Avatars/ProjectAvatar/index.d.ts +1 -0
  9. package/dist/components/Avatars/UserAvatar/UserAvatar.component.d.ts +10 -0
  10. package/dist/components/Avatars/UserAvatar/constant.d.ts +6 -2
  11. package/dist/components/Avatars/UserAvatar/index.d.ts +1 -0
  12. package/dist/components/Avatars/UserAvatarList/UserAvatarList.component.d.ts +18 -0
  13. package/dist/components/{UserAvatarList → Avatars/UserAvatarList}/index.d.ts +1 -0
  14. package/dist/components/Avatars/index.d.ts +2 -0
  15. package/dist/components/Banking/AccountTransactions/AccountTransactionsRow.component.d.ts +2 -4
  16. package/dist/components/Banking/Inputs/SelectAccountTransactionCategory/SelectAccountTransactionCategory.component.d.ts +2 -4
  17. package/dist/components/Cards/InternalProjectCard/InternalProjectCard.component.d.ts +36 -0
  18. package/dist/components/Cards/InternalProjectCard/index.d.ts +2 -0
  19. package/dist/components/Cards/ProjectCard/ProjectCard.component.d.ts +27 -0
  20. package/dist/components/Cards/ProjectCard/index.d.ts +2 -0
  21. package/dist/components/Cards/index.d.ts +2 -0
  22. package/dist/components/Charts/AbyssBarChart/AbyssBarChart.component.d.ts +21 -0
  23. package/dist/components/Charts/AbyssBarChart/index.d.ts +1 -0
  24. package/dist/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.d.ts +14 -0
  25. package/dist/components/Charts/AbyssCashFlowChart/index.d.ts +1 -0
  26. package/dist/components/Charts/AbyssLineChart/AbyssLineChart.component.d.ts +27 -0
  27. package/dist/components/Charts/AbyssLineChart/index.d.ts +1 -0
  28. package/dist/components/Charts/AbyssPieChart/AbyssPieChart.component.d.ts +18 -0
  29. package/dist/components/Charts/AbyssPieChart/index.d.ts +1 -0
  30. package/dist/components/Charts/index.d.ts +4 -0
  31. package/dist/components/Charts/useNivoTheme.d.ts +65 -0
  32. package/dist/components/CookieConsent/AbyssCookieConsentProvider.d.ts +12 -0
  33. package/dist/components/CookieConsent/CookieConsentBanner.component.d.ts +7 -0
  34. package/dist/components/CookieConsent/CookieConsentSettings.component.d.ts +2 -0
  35. package/dist/components/CookieConsent/cookie-storage.util.d.ts +15 -0
  36. package/dist/components/CookieConsent/cookie-storage.util.spec.d.ts +1 -0
  37. package/dist/components/CookieConsent/index.d.ts +7 -0
  38. package/dist/components/CookieConsent/reconcile.util.d.ts +12 -0
  39. package/dist/components/CookieConsent/reconcile.util.spec.d.ts +1 -0
  40. package/dist/components/CookieConsent/types.d.ts +11 -0
  41. package/dist/components/CookieConsent/use-cookie-consent.hook.d.ts +15 -0
  42. package/dist/components/Data/AbyssTable/AbyssTable.component.d.ts +35 -0
  43. package/dist/components/Data/AbyssTable/index.d.ts +2 -0
  44. package/dist/components/Data/index.d.ts +1 -0
  45. package/dist/components/InfoBox/InfoBox.component.d.ts +5 -3
  46. package/dist/components/Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.d.ts +12 -13
  47. package/dist/components/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +16 -0
  48. package/dist/components/Inputs/AbyssNumberField/index.d.ts +2 -0
  49. package/dist/components/Inputs/AbyssScopeSwitcher/AbyssScopeSwitcher.component.d.ts +20 -0
  50. package/dist/components/Inputs/AbyssScopeSwitcher/index.d.ts +2 -0
  51. package/dist/components/Inputs/AbyssSelectOrganization/AbyssSelectOrganization.component.d.ts +18 -0
  52. package/dist/components/Inputs/AbyssSelectOrganization/index.d.ts +2 -0
  53. package/dist/components/Inputs/AbyssSelectProject/AbyssSelectProject.component.d.ts +12 -9
  54. package/dist/components/Inputs/AbyssSelectProject/index.d.ts +1 -0
  55. package/dist/components/Inputs/CloudImport/CloudImport.component.d.ts +21 -9
  56. package/dist/components/Inputs/CloudImport/CloudImportFile.component.d.ts +2 -4
  57. package/dist/components/Inputs/CloudImport/CloudImportFolder.component.d.ts +2 -4
  58. package/dist/components/Inputs/CloudSave/CloudSave.component.d.ts +12 -9
  59. package/dist/components/Inputs/ColorPalette/ColorPalette.component.d.ts +20 -0
  60. package/dist/components/Inputs/ColorPalette/index.d.ts +1 -0
  61. package/dist/components/Inputs/ColorPicker/ColorPicker.component.d.ts +19 -0
  62. package/dist/components/Inputs/ColorPicker/index.d.ts +1 -0
  63. package/dist/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +24 -9
  64. package/dist/components/Inputs/DatePeriodPicker/index.d.ts +1 -0
  65. package/dist/components/Inputs/DropZone/DropZone.component.d.ts +11 -10
  66. package/dist/components/Inputs/PasswordInput/PasswordInput.component.d.ts +2 -5
  67. package/dist/components/Inputs/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +8 -0
  68. package/dist/components/Inputs/ProjectCategoryBadge/index.d.ts +1 -0
  69. package/dist/components/Inputs/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +39 -0
  70. package/dist/components/Inputs/ProjectLinkSelector/index.d.ts +2 -0
  71. package/dist/components/Inputs/ProjectTagChip/ProjectTagChip.component.d.ts +9 -0
  72. package/dist/components/Inputs/ProjectTagChip/index.d.ts +1 -0
  73. package/dist/components/Inputs/index.d.ts +13 -6
  74. package/dist/components/Invitations/AbyssPendingInvitations.component.d.ts +18 -0
  75. package/dist/components/Invitations/index.d.ts +2 -0
  76. package/dist/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +9 -0
  77. package/dist/components/Layouts/AbyssBillingPlan/index.d.ts +1 -0
  78. package/dist/components/Layouts/AbyssDashboardLayout/AbyssDashboardLayout.component.d.ts +13 -0
  79. package/dist/components/Layouts/AbyssDashboardLayout/index.d.ts +1 -0
  80. package/dist/components/Layouts/AbyssHeader/AbyssHeader.component.d.ts +14 -0
  81. package/dist/components/Layouts/AbyssHeader/index.d.ts +1 -0
  82. package/dist/components/Layouts/AbyssLayoutProvider/AbyssLayoutProvider.component.d.ts +26 -0
  83. package/dist/components/Layouts/AbyssLayoutProvider/abyss-layout.store.d.ts +27 -0
  84. package/dist/components/Layouts/AbyssLayoutProvider/index.d.ts +3 -0
  85. package/dist/components/Layouts/AbyssLoadingScreen/AbyssLoadingScreen.component.d.ts +3 -0
  86. package/dist/components/Layouts/AbyssLoadingScreen/index.d.ts +1 -0
  87. package/dist/components/Layouts/AbyssSearchBar/AbyssSearchBar.component.d.ts +8 -0
  88. package/dist/components/Layouts/AbyssSearchBar/index.d.ts +1 -0
  89. package/dist/components/Layouts/AbyssSidebar/AbyssSidebar.component.d.ts +35 -0
  90. package/dist/components/Layouts/AbyssSidebar/AbyssSidebarItem.component.d.ts +9 -0
  91. package/dist/components/Layouts/AbyssSidebar/index.d.ts +3 -0
  92. package/dist/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.d.ts +7 -0
  93. package/dist/components/Layouts/AbyssThemeToggle/index.d.ts +1 -0
  94. package/dist/components/Layouts/DashboardLayout/DashboardLayout.layout.d.ts +3 -5
  95. package/dist/components/Layouts/DashboardLayout/DashboardLayoutHeader.layout.d.ts +3 -5
  96. package/dist/components/Layouts/LoadingLayout/LoadingLayout.layout.d.ts +2 -4
  97. package/dist/components/Layouts/MainLayout/MainLayout.layout.d.ts +2 -4
  98. package/dist/components/Layouts/index.d.ts +8 -0
  99. package/dist/components/Modals/AbyssModal/AbyssModal.component.d.ts +9 -9
  100. package/dist/components/Modals/ConfirmModal/ConfirmModal.d.ts +3 -4
  101. package/dist/components/Modals/ConfirmModal/index.d.ts +1 -1
  102. package/dist/components/Modals/ImportFromCloudModal/ImportFromCloudModal.component.d.ts +20 -10
  103. package/dist/components/Modals/QRCodeModal/QRCodeModal.component.d.ts +2 -4
  104. package/dist/components/Modals/SaveCloudModal/SaveCloudModal.component.d.ts +12 -10
  105. package/dist/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +13 -0
  106. package/dist/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +27 -0
  107. package/dist/components/Modals/UserSettingsModal/index.d.ts +2 -0
  108. package/dist/components/Modals/index.d.ts +2 -2
  109. package/dist/components/PdfEditor/PdfEditor.d.ts +3 -0
  110. package/dist/components/PdfEditor/hooks/use-acro-form-fields.d.ts +2 -0
  111. package/dist/components/PdfEditor/hooks/use-export.d.ts +7 -0
  112. package/dist/components/PdfEditor/hooks/use-page-order.d.ts +2 -0
  113. package/dist/components/PdfEditor/hooks/use-pdf-document.d.ts +11 -0
  114. package/dist/components/PdfEditor/hooks/use-undo-redo.d.ts +7 -0
  115. package/dist/components/PdfEditor/hooks/use-uploaded-docs.d.ts +3 -0
  116. package/dist/components/PdfEditor/index.d.ts +3 -0
  117. package/dist/components/PdfEditor/operations/apply.d.ts +2 -0
  118. package/dist/components/PdfEditor/operations/apply.spec.d.ts +1 -0
  119. package/dist/components/PdfEditor/operations/compute-page-order.d.ts +9 -0
  120. package/dist/components/PdfEditor/operations/compute-page-order.spec.d.ts +1 -0
  121. package/dist/components/PdfEditor/operations/pdf-data-url.d.ts +2 -0
  122. package/dist/components/PdfEditor/operations/reducer.d.ts +3 -0
  123. package/dist/components/PdfEditor/operations/reducer.spec.d.ts +1 -0
  124. package/dist/components/PdfEditor/signature/SignatureDrawCanvas.d.ts +10 -0
  125. package/dist/components/PdfEditor/signature/SignaturePicker.d.ts +13 -0
  126. package/dist/components/PdfEditor/signature/SignatureSaveButton.d.ts +9 -0
  127. package/dist/components/PdfEditor/signature/SignatureSavedList.d.ts +10 -0
  128. package/dist/components/PdfEditor/signature/SignatureUploadDropzone.d.ts +10 -0
  129. package/dist/components/PdfEditor/tools/DrawTool.d.ts +9 -0
  130. package/dist/components/PdfEditor/tools/FillFieldsTool.d.ts +8 -0
  131. package/dist/components/PdfEditor/tools/SignatureTool.d.ts +12 -0
  132. package/dist/components/PdfEditor/tools/TextTool.d.ts +2 -0
  133. package/dist/components/PdfEditor/tools/Toolbar.d.ts +18 -0
  134. package/dist/components/PdfEditor/types.d.ts +217 -0
  135. package/dist/components/PdfEditor/viewer/InsertPagesButton.d.ts +9 -0
  136. package/dist/components/PdfEditor/viewer/InsertPagesDialog.d.ts +10 -0
  137. package/dist/components/PdfEditor/viewer/PageOverlay.d.ts +21 -0
  138. package/dist/components/PdfEditor/viewer/PageSidebar.d.ts +15 -0
  139. package/dist/components/PdfEditor/viewer/PageThumbnail.d.ts +17 -0
  140. package/dist/components/PdfEditor/viewer/PdfCanvas.d.ts +17 -0
  141. package/dist/components/QuotaReached/QuotaReachedDialog.component.d.ts +5 -0
  142. package/dist/components/QuotaReached/billing-quota-error.d.ts +4 -0
  143. package/dist/components/QuotaReached/index.d.ts +6 -0
  144. package/dist/components/QuotaReached/quota-dialog.store.d.ts +15 -0
  145. package/dist/components/QuotaReached/quota-service-meta.d.ts +27 -0
  146. package/dist/components/Support/AbyssServiceSelect.component.d.ts +35 -0
  147. package/dist/components/Support/SupportActionButtons.component.d.ts +3 -0
  148. package/dist/components/Support/SupportActivityLog.component.d.ts +3 -0
  149. package/dist/components/Support/SupportAttachmentsPanel.component.d.ts +3 -0
  150. package/dist/components/Support/SupportCategoryChip.component.d.ts +9 -0
  151. package/dist/components/Support/SupportCategoryGroupCards.component.d.ts +3 -0
  152. package/dist/components/Support/SupportCategorySelect.component.d.ts +19 -0
  153. package/dist/components/Support/SupportMessageInput.component.d.ts +3 -0
  154. package/dist/components/Support/SupportMessageThread.component.d.ts +3 -0
  155. package/dist/components/Support/SupportPriorityChip.component.d.ts +3 -0
  156. package/dist/components/Support/SupportSidebar.component.d.ts +3 -0
  157. package/dist/components/Support/SupportStatusBadge.component.d.ts +3 -0
  158. package/dist/components/Support/SupportTicketCreateForm.component.d.ts +3 -0
  159. package/dist/components/Support/SupportTicketCreateStepper.component.d.ts +3 -0
  160. package/dist/components/Support/SupportTicketDetail.component.d.ts +3 -0
  161. package/dist/components/Support/SupportTicketList.component.d.ts +3 -0
  162. package/dist/components/Support/SupportTopBar.component.d.ts +3 -0
  163. package/dist/components/Support/index.d.ts +18 -0
  164. package/dist/components/Support/types.d.ts +252 -0
  165. package/dist/components/Utils/AbyssBackground/AbyssBackground.component.d.ts +9 -0
  166. package/dist/components/Utils/AbyssDrawer/AbyssDrawer.component.d.ts +2 -5
  167. package/dist/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.d.ts +10 -0
  168. package/dist/components/Utils/AbyssErrorPage/AbyssErrorPage.component.d.ts +11 -0
  169. package/dist/components/Utils/AbyssErrorPage/index.d.ts +3 -0
  170. package/dist/components/Utils/AbyssHeaderTitle/AbyssHeaderTitle.component.d.ts +3 -5
  171. package/dist/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.d.ts +33 -24
  172. package/dist/components/Utils/AbyssLayoutMenu/AbyssMenuItem.component.d.ts +15 -0
  173. package/dist/components/Utils/AbyssLayoutMenu/index.d.ts +2 -0
  174. package/dist/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.d.ts +25 -12
  175. package/dist/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.d.ts +24 -9
  176. package/dist/components/Utils/AbyssLayoutNotifications/index.d.ts +2 -0
  177. package/dist/components/Utils/ImportButton/ImportButton.component.d.ts +36 -0
  178. package/dist/components/Utils/Toast/AbyssToast.component.d.ts +3 -0
  179. package/dist/components/Utils/Toast/index.d.ts +1 -0
  180. package/dist/components/Utils/WaterParticles/WaterParticles.component.d.ts +2 -6
  181. package/dist/components/Utils/index.d.ts +6 -3
  182. package/dist/components/index.d.ts +10 -8
  183. package/dist/hooks/index.d.ts +4 -1
  184. package/dist/hooks/use-cloud.hook.d.ts +3 -3
  185. package/dist/hooks/use-public-users.hook.d.ts +13 -0
  186. package/dist/hooks/use-rich-intl.hook.d.ts +1362 -212
  187. package/dist/hooks/use-theme-transition.hook.d.ts +4 -0
  188. package/dist/{index--QxdNiuT.js → index-0Kl4O08s.js} +2 -2
  189. package/dist/{index-C7YWMnUi.js → index-BR_Xw8UL.js} +3 -3
  190. package/dist/{index-yhL2fUpe.js → index-BanaQPDD.js} +2 -2
  191. package/dist/{index-DdIC_a4G.js → index-BdtnG5GK.js} +2 -2
  192. package/dist/{index-DsEAU1Su.js → index-Bl6SIpvf.js} +1 -1
  193. package/dist/{index-Vsp-9vGI.js → index-CBU4Yqx5.js} +2 -2
  194. package/dist/{index-CyMfYJL8.js → index-CU2W3qym.js} +4 -4
  195. package/dist/{index-C9V6yx6I.js → index-CypPvn_s.js} +2 -2
  196. package/dist/{index-D4xMvqEH.js → index-D-1klt9M.js} +2 -2
  197. package/dist/{index-BirsZhiu.js → index-D-lNUR0y.js} +2 -2
  198. package/dist/{index-D39o_sai.js → index-D5ysDxCf.js} +2 -2
  199. package/dist/{index-Cr-guXyg.js → index-DK4YUg-N.js} +2 -2
  200. package/dist/index-DR4nDzIn.js +117421 -0
  201. package/dist/{index-CLLYU3Ob.js → index-DRApEyFE.js} +2 -2
  202. package/dist/{index-DyrkSLE1.js → index-DS8zE3ca.js} +3 -3
  203. package/dist/{index-CzRcWnfQ.js → index-DYCXaPIH.js} +4 -4
  204. package/dist/{index-Bk2NQz31.js → index-DmM6klgp.js} +3 -3
  205. package/dist/{index-DufXsxfg.js → index-DmUCpN76.js} +2 -2
  206. package/dist/{index-DE33bhgE.js → index-KCcZKXY3.js} +3 -3
  207. package/dist/{index-BN2zc6Mp.js → index-SiHpvGQe.js} +2 -2
  208. package/dist/{index-DrwZbK23.js → index-UEOwaY3O.js} +4 -4
  209. package/dist/{index-CjCtN6N9.js → index-okqeKiVw.js} +2 -2
  210. package/dist/index.d.ts +1 -1
  211. package/dist/index.js +236 -117
  212. package/dist/theme/augmentation.d.ts +78 -0
  213. package/dist/theme/components/buttons.d.ts +35 -0
  214. package/dist/theme/components/data-display.d.ts +4 -0
  215. package/dist/theme/components/index.d.ts +2 -0
  216. package/dist/theme/components/inputs.d.ts +4 -0
  217. package/dist/theme/components/navigation.d.ts +4 -0
  218. package/dist/theme/components/surfaces.d.ts +4 -0
  219. package/dist/theme/create-theme.d.ts +3 -0
  220. package/dist/theme/index.d.ts +15 -0
  221. package/dist/theme/palettes/common.d.ts +61 -0
  222. package/dist/theme/palettes/dark.d.ts +66 -0
  223. package/dist/theme/palettes/light.d.ts +66 -0
  224. package/dist/theme/tokens/animations.d.ts +30 -0
  225. package/dist/theme/tokens/borders.d.ts +11 -0
  226. package/dist/theme/tokens/colors.d.ts +102 -0
  227. package/dist/theme/tokens/shadows.d.ts +45 -0
  228. package/dist/theme/tokens/transitions.d.ts +21 -0
  229. package/dist/theme/tokens/typography.d.ts +93 -0
  230. package/dist/translations/en.d.ts +668 -9
  231. package/dist/translations/fr.d.ts +668 -9
  232. package/dist/utils/billing.utils.d.ts +7 -0
  233. package/dist/utils/index.d.ts +5 -0
  234. package/dist/utils/locale.utils.d.ts +2 -0
  235. package/dist/utils/share-notification.utils.d.ts +1 -0
  236. package/dist/utils/space-display-name.utils.d.ts +9 -0
  237. package/package.json +25 -7
  238. package/tsconfig.json +35 -37
  239. package/vite.config.ts +68 -77
  240. package/vitest.config.ts +14 -0
  241. package/.eslintrc.cjs +0 -30
  242. package/dist/components/AllCloudMetrics/AllCloudMetrics.component.d.ts +0 -13
  243. package/dist/components/AllCloudMetrics/index.d.ts +0 -1
  244. package/dist/components/FiltersBox/FiltersBox.component.d.ts +0 -8
  245. package/dist/components/FiltersBox/index.d.ts +0 -1
  246. package/dist/components/FreepikSearch/FreepikSearch.component.d.ts +0 -9
  247. package/dist/components/FreepikSearch/index.d.ts +0 -1
  248. package/dist/components/ImportButton/ImportButton.component.d.ts +0 -29
  249. package/dist/components/Inputs/Toggle/Toggle.component.d.ts +0 -15
  250. package/dist/components/Inputs/Toggle/index.d.ts +0 -1
  251. package/dist/components/Modals/ImportFromCollectionModal/ImportFromCollectionModal.component.d.ts +0 -11
  252. package/dist/components/Modals/ImportFromCollectionModal/index.d.ts +0 -1
  253. package/dist/components/Modals/UserSettings/UserSettingsModal.component.d.ts +0 -18
  254. package/dist/components/Modals/UserSettings/index.d.ts +0 -2
  255. package/dist/components/UserAvatarList/UserAvatarList.component.d.ts +0 -18
  256. package/dist/components/Utils/CustomDivider/CustomDivider.component.d.ts +0 -4
  257. package/dist/components/Utils/CustomDivider/index.d.ts +0 -1
  258. package/dist/components/Utils/FloatingNavigation/FloatingNavigation.component.d.ts +0 -16
  259. package/dist/components/Utils/FloatingNavigation/index.d.ts +0 -1
  260. package/dist/hooks/use-theme.hook.d.ts +0 -1
  261. package/dist/index-_UVTFDmE.js +0 -122724
  262. package/dist/stylesheet.d.ts +0 -128
  263. package/dist/web-Bt2mRnhv.js +0 -18
  264. /package/dist/components/{ImportButton → Utils/ImportButton}/index.d.ts +0 -0
@@ -0,0 +1,252 @@
1
+ import { ISupportTicket, ISupportTicketMessage, ISupportTicketActivity, ISupportTicketAttachment, ISupportTicketTag, SupportTicketStatus, SupportTicketCategory, SupportTicketPriority, SupportTicketAction, AbyssService } from '@abyss-project/main';
2
+ import { ISpace, IFile, IGetRepositoryCloudData } from '@abyss-project/cloud';
3
+ import { default as React } from 'react';
4
+ export interface SupportCloudImportProps {
5
+ user?: {
6
+ enabledService?: string[];
7
+ } | null;
8
+ abyssCloudUrl: string;
9
+ getFileThumbnailUrl: (id: string) => string;
10
+ clouds?: ISpace[] | null;
11
+ cloudShares?: ISpace[] | null;
12
+ isLoadingClouds?: boolean;
13
+ onRefreshClouds?: () => Promise<void>;
14
+ fetchCloudRepository?: (cloudId: string) => Promise<IGetRepositoryCloudData>;
15
+ onActivateService?: () => Promise<void>;
16
+ onCreateCloud?: (name: string, organizationId?: string) => Promise<void>;
17
+ handleImportFromCloud?: (cloud: ISpace, files: IFile[]) => Promise<void>;
18
+ getSpaceDisplay?: (space: ISpace) => {
19
+ label: string;
20
+ avatar?: React.ReactNode;
21
+ subtitle?: string;
22
+ organizationId?: string | null;
23
+ organizationName?: string | null;
24
+ scope?: 'personal' | 'perso-in-org' | 'org-common' | 'project';
25
+ };
26
+ }
27
+ export interface SupportTicketListFilters {
28
+ status?: SupportTicketStatus[];
29
+ categories?: SupportTicketCategory[];
30
+ priorities?: SupportTicketPriority[];
31
+ services?: AbyssService[];
32
+ tagIds?: string[];
33
+ search?: string;
34
+ startDate?: Date | null;
35
+ endDate?: Date | null;
36
+ }
37
+ export interface SupportTicketListPagination {
38
+ page: number;
39
+ limit: number;
40
+ total: number;
41
+ }
42
+ export interface SupportTicketListProps {
43
+ tickets: ISupportTicket[];
44
+ pagination: SupportTicketListPagination;
45
+ filters: SupportTicketListFilters;
46
+ onFiltersChange: (filters: SupportTicketListFilters) => void;
47
+ onPageChange: (page: number) => void;
48
+ onTicketClick: (ticketId: string) => void;
49
+ onCreateClick?: () => void;
50
+ isLoading: boolean;
51
+ isAdmin?: boolean;
52
+ renderRowActions?: (ticket: ISupportTicket) => React.ReactNode;
53
+ showRequester?: boolean;
54
+ requesterUsers?: Record<string, {
55
+ alias?: string | null;
56
+ profilePictureThumbnailId?: string | null;
57
+ }>;
58
+ organizations?: Record<string, {
59
+ name?: string | null;
60
+ pictureThumbnailId?: string | null;
61
+ }>;
62
+ renderExtraFilters?: () => React.ReactNode;
63
+ title?: string;
64
+ subtitle?: string;
65
+ hideCreateButton?: boolean;
66
+ getProfilePictureUrl: (userId: string) => string;
67
+ getOrgLogoUrl: (orgId: string) => string;
68
+ availableTags?: ISupportTicketTag[];
69
+ }
70
+ export interface SupportTicketCreateValues {
71
+ title: string;
72
+ description: string;
73
+ category: SupportTicketCategory;
74
+ priority: SupportTicketPriority;
75
+ priorityReason?: string;
76
+ service?: AbyssService | null;
77
+ }
78
+ export interface SupportTicketCreateFormProps {
79
+ onSubmit: (values: SupportTicketCreateValues) => void;
80
+ isSubmitting: boolean;
81
+ onBack?: () => void;
82
+ }
83
+ export interface SupportTicketCreateStepperValues extends SupportTicketCreateValues {
84
+ projectId?: string | null;
85
+ userId?: string | null;
86
+ organizationId?: string | null;
87
+ }
88
+ export interface SupportTicketCreateStepperProps {
89
+ onSubmit: (values: SupportTicketCreateStepperValues) => void | Promise<void>;
90
+ isSubmitting?: boolean;
91
+ isAdmin?: boolean;
92
+ onCancel?: () => void;
93
+ initialValues?: Partial<SupportTicketCreateStepperValues>;
94
+ renderForWhoStep?: (userId: string | null, onUserChange: (userId: string | null) => void, orgId: string | null, onOrgChange: (orgId: string | null) => void) => React.ReactNode;
95
+ renderProjectSelect?: (value: string | null, onChange: (projectId: string | null) => void) => React.ReactNode;
96
+ }
97
+ export interface SupportCategoryGroupCardsProps {
98
+ value: SupportTicketCategory | null;
99
+ onChange: (category: SupportTicketCategory) => void;
100
+ service?: AbyssService | null;
101
+ onServiceChange?: (service: AbyssService | null) => void;
102
+ }
103
+ export interface SupportTopBarProps {
104
+ ticket: ISupportTicket;
105
+ isAdmin?: boolean;
106
+ onNavigateBack?: () => void;
107
+ onExecuteAction?: (action: SupportTicketAction, reason?: string) => void;
108
+ isExecuting?: boolean;
109
+ project?: {
110
+ id: string;
111
+ name: string;
112
+ } | null;
113
+ }
114
+ export interface SupportMessageThreadProps {
115
+ messages: ISupportTicketMessage[];
116
+ currentUserId: string;
117
+ isAdmin?: boolean;
118
+ publicUsers?: Record<string, {
119
+ alias?: string | null;
120
+ profilePictureThumbnailId?: string | null;
121
+ }>;
122
+ getProfilePictureUrl?: (userId: string) => string;
123
+ getFileThumbnailUrl?: (id: string) => string;
124
+ ticket?: ISupportTicket;
125
+ }
126
+ export interface SupportMessageInputProps extends SupportCloudImportProps {
127
+ onSendMessage: (content: string) => void;
128
+ onSendAdminNote?: (content: string) => void;
129
+ isAdmin?: boolean;
130
+ isSending?: boolean;
131
+ isTerminal?: boolean;
132
+ onAttachFile?: (file: File) => void;
133
+ }
134
+ export interface SupportActionButtonsProps {
135
+ ticket: ISupportTicket;
136
+ isAdmin?: boolean;
137
+ onExecuteAction: (action: SupportTicketAction, reason?: string) => void;
138
+ isExecuting?: boolean;
139
+ }
140
+ export interface SupportAttachmentsPanelProps extends SupportCloudImportProps {
141
+ attachments: ISupportTicketAttachment[];
142
+ onUpload?: (file: File) => void;
143
+ onDelete?: (attachmentId: string) => void;
144
+ onDownload?: (attachment: ISupportTicketAttachment) => void;
145
+ isUploading?: boolean;
146
+ maxAttachments?: number;
147
+ }
148
+ export interface SupportActivityLogProps {
149
+ activities: ISupportTicketActivity[];
150
+ publicUsers?: Record<string, {
151
+ alias?: string | null;
152
+ profilePictureThumbnailId?: string | null;
153
+ }>;
154
+ getProfilePictureUrl?: (userId: string) => string;
155
+ }
156
+ export interface SupportSidebarUser {
157
+ id: string;
158
+ alias?: string | null;
159
+ }
160
+ export interface SupportSidebarProps extends SupportCloudImportProps {
161
+ ticket: ISupportTicket;
162
+ isAdmin?: boolean;
163
+ currentUserId?: string;
164
+ onChangePriority?: (priority: SupportTicketPriority) => void;
165
+ onChangeCategory?: (category: SupportTicketCategory) => void;
166
+ onChangeService?: (service: AbyssService | null) => void;
167
+ onAssign?: (userId: string | null) => void;
168
+ onExecuteAction?: (action: SupportTicketAction, reason?: string) => void;
169
+ isExecuting?: boolean;
170
+ adminUsers?: SupportSidebarUser[];
171
+ activities?: ISupportTicketActivity[];
172
+ attachments?: ISupportTicketAttachment[];
173
+ onUploadAttachment?: (file: File) => void;
174
+ onDeleteAttachment?: (attachmentId: string) => void;
175
+ isUploadingAttachment?: boolean;
176
+ publicUsers?: Record<string, {
177
+ alias?: string | null;
178
+ profilePictureThumbnailId?: string | null;
179
+ }>;
180
+ getProfilePictureUrl?: (userId: string) => string;
181
+ tags?: ISupportTicketTag[];
182
+ availableTags?: ISupportTicketTag[];
183
+ onAddTag?: (tagIdOrName: string, isNew?: boolean) => void;
184
+ onRemoveTag?: (tagId: string) => void;
185
+ organization?: {
186
+ id: string;
187
+ name: string;
188
+ hasThumbnail: boolean;
189
+ } | null;
190
+ getOrgLogoUrl?: (orgId: string) => string;
191
+ project?: {
192
+ id: string;
193
+ name: string;
194
+ } | null;
195
+ }
196
+ export interface SupportTicketDetailProps extends SupportCloudImportProps {
197
+ ticket: ISupportTicket;
198
+ messages: ISupportTicketMessage[];
199
+ currentUserId: string;
200
+ isAdmin?: boolean;
201
+ isLoading?: boolean;
202
+ onNavigateBack?: () => void;
203
+ onSendMessage: (content: string) => void;
204
+ onSendAdminNote?: (content: string) => void;
205
+ isSending?: boolean;
206
+ onExecuteAction?: (action: SupportTicketAction, reason?: string) => void;
207
+ isExecuting?: boolean;
208
+ onChangePriority?: (priority: SupportTicketPriority) => void;
209
+ onChangeCategory?: (category: SupportTicketCategory) => void;
210
+ onChangeService?: (service: AbyssService | null) => void;
211
+ onAssign?: (userId: string | null) => void;
212
+ adminUsers?: SupportSidebarUser[];
213
+ activities?: ISupportTicketActivity[];
214
+ attachments?: ISupportTicketAttachment[];
215
+ onUploadAttachment?: (file: File) => void;
216
+ onDeleteAttachment?: (attachmentId: string) => void;
217
+ isUploadingAttachment?: boolean;
218
+ publicUsers?: Record<string, {
219
+ alias?: string | null;
220
+ profilePictureThumbnailId?: string | null;
221
+ }>;
222
+ getProfilePictureUrl?: (userId: string) => string;
223
+ tags?: ISupportTicketTag[];
224
+ availableTags?: ISupportTicketTag[];
225
+ onAddTag?: (tagIdOrName: string, isNew?: boolean) => void;
226
+ onRemoveTag?: (tagId: string) => void;
227
+ organization?: {
228
+ id: string;
229
+ name: string;
230
+ hasThumbnail: boolean;
231
+ } | null;
232
+ getOrgLogoUrl?: (orgId: string) => string;
233
+ project?: {
234
+ id: string;
235
+ name: string;
236
+ } | null;
237
+ onUploadMessageAttachment?: (file: File) => void;
238
+ }
239
+ export interface SupportStatusBadgeProps {
240
+ status: SupportTicketStatus;
241
+ size?: 'small' | 'medium';
242
+ }
243
+ export interface SupportPriorityChipProps {
244
+ priority: SupportTicketPriority;
245
+ size?: 'small' | 'medium';
246
+ onDelete?: () => void;
247
+ }
248
+ export interface SupportCategoryChipProps {
249
+ category: SupportTicketCategory;
250
+ size?: 'small' | 'medium';
251
+ onDelete?: () => void;
252
+ }
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ export interface AbyssBackgroundProps {
3
+ children?: React.ReactNode;
4
+ variant?: 'default' | 'subtle' | 'hero';
5
+ fixed?: boolean;
6
+ sx?: Record<string, any>;
7
+ }
8
+ declare const AbyssBackground: React.FC<AbyssBackgroundProps>;
9
+ export default AbyssBackground;
@@ -1,6 +1,4 @@
1
1
  import { AbyssService } from '@abyss-project/main';
2
- import { JSXElementConstructor } from 'react';
3
- import { StyledComponentProps } from '@mui/styles/withStyles';
4
2
  export declare const DRAWER_WIDTH_EXPANDED = 275;
5
3
  export declare const DRAWER_WIDTH_COLLAPSED = 72;
6
4
  export type DrawerElements = {
@@ -33,9 +31,8 @@ type Props = {
33
31
  header: HeaderConfig;
34
32
  handleDrawerToggle: () => void;
35
33
  elements: DrawerElements;
36
- classes: Record<string, string>;
37
34
  onCollapsedChange?: (collapsed: boolean) => void;
38
35
  defaultCollapsed?: boolean;
39
36
  };
40
- declare const _default: JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
41
- export default _default;
37
+ declare const AbyssDrawer: React.FC<Props>;
38
+ export default AbyssDrawer;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ appName: string;
4
+ children: React.ReactNode;
5
+ onReset?: () => void;
6
+ resetKeys?: unknown[];
7
+ fullHeight?: boolean;
8
+ };
9
+ export declare const AbyssErrorBoundary: React.FC<Props>;
10
+ export default AbyssErrorBoundary;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ export type AbyssErrorPageProps = {
3
+ appName: string;
4
+ error?: Error | null;
5
+ componentStack?: string | null;
6
+ onRetry?: () => void;
7
+ onHome?: () => void;
8
+ fullHeight?: boolean;
9
+ };
10
+ declare const AbyssErrorPage: React.FC<AbyssErrorPageProps>;
11
+ export default AbyssErrorPage;
@@ -0,0 +1,3 @@
1
+ export { default as AbyssErrorPage } from './AbyssErrorPage.component';
2
+ export type { AbyssErrorPageProps } from './AbyssErrorPage.component';
3
+ export { default as AbyssErrorBoundary } from './AbyssErrorBoundary.component';
@@ -1,13 +1,11 @@
1
+ import { default as React } from 'react';
1
2
  import { SxProps } from '@mui/material';
2
- import { JSXElementConstructor } from 'react';
3
- import { StyledComponentProps } from '@mui/styles/withStyles';
4
3
  type Props = {
5
4
  mainPath?: string;
6
5
  subtitle?: string;
7
6
  title: string;
8
7
  sxProps?: SxProps;
9
- classes: Record<string, string>;
10
8
  logo?: string;
11
9
  };
12
- declare const _default: JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
13
- export default _default;
10
+ declare const AbyssHeaderTitle: React.FC<Props>;
11
+ export default AbyssHeaderTitle;
@@ -1,28 +1,37 @@
1
- import { IUser } from '@abyss-project/main';
2
- import { SxProps } from '@mui/material';
3
1
  import { default as React } from 'react';
4
- import { StyledComponentProps } from '@mui/styles/withStyles';
5
- export type AbyssLayoutMenuContent = {
2
+ import { SxProps } from '@mui/material';
3
+ import { IPlanTemplate } from '@abyss-project/main';
4
+ export type AbyssLayoutMenuElement = {
5
+ text: string;
6
+ icon?: React.ReactNode;
7
+ img?: string;
8
+ path?: string;
9
+ href?: string;
10
+ target?: string;
11
+ onClick?: () => void;
12
+ color?: string;
13
+ sx?: SxProps;
14
+ };
15
+ export type AbyssLayoutMenuSection = {
6
16
  title?: string;
7
- elements: {
8
- link?: string;
9
- onClick?: () => void;
10
- text: string;
11
- subTitle?: string;
12
- icon?: React.ReactNode;
13
- img?: string;
14
- target?: string;
15
- backgroundColor?: string;
16
- color?: string;
17
- border?: string;
18
- menuItemSxProps?: SxProps;
19
- }[];
20
- }[];
17
+ elements: AbyssLayoutMenuElement[];
18
+ };
19
+ type AbyssLayoutMenuUser = {
20
+ id?: string;
21
+ alias?: string | null;
22
+ name?: string | null;
23
+ email?: string | null;
24
+ billingAccount?: {
25
+ planTemplate?: IPlanTemplate;
26
+ } | null;
27
+ };
21
28
  type Props = {
22
- content: AbyssLayoutMenuContent;
23
- user: IUser | null;
24
- getProfilePictureUrl: (id: string) => string;
25
- classes: Record<string, string>;
29
+ user?: AbyssLayoutMenuUser | null;
30
+ getProfilePictureUrl: (userId: string) => string;
31
+ onLogout: () => void;
32
+ content?: AbyssLayoutMenuSection[];
33
+ themeToggle?: React.ReactNode;
34
+ abyssUrl?: string;
26
35
  };
27
- declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
28
- export default _default;
36
+ declare const AbyssLayoutMenu: React.FC<Props>;
37
+ export default AbyssLayoutMenu;
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ type Props = {
4
+ icon?: React.ReactNode;
5
+ children: React.ReactNode;
6
+ path?: string;
7
+ href?: string;
8
+ target?: string;
9
+ onClick?: (e?: React.MouseEvent) => void;
10
+ color?: string;
11
+ sx?: SxProps;
12
+ };
13
+ declare const AbyssMenuItem: React.FC<Props>;
14
+ export default AbyssMenuItem;
15
+ export { AbyssMenuItem };
@@ -1 +1,3 @@
1
1
  export { default as AbyssLayoutMenu } from './AbyssLayoutMenu.component';
2
+ export { AbyssMenuItem } from './AbyssMenuItem.component';
3
+ export type { AbyssLayoutMenuSection, AbyssLayoutMenuElement } from './AbyssLayoutMenu.component';
@@ -1,19 +1,32 @@
1
- import { IGetPublicUserData, AbyssService, IUserNotification, NotificationDTO } from '@abyss-project/main';
2
1
  import { default as React } from 'react';
3
- import { StyledComponentProps } from '@mui/styles/withStyles';
2
+ import { AbyssNotificationItem, AbyssNotificationUser } from './AbyssNotifications.component';
3
+ export type { AbyssNotificationItem, AbyssNotificationUser };
4
+ export type SSENotificationEvent = {
5
+ notification: AbyssNotificationItem;
6
+ type: 'created' | 'opened';
7
+ } | null;
4
8
  type Props = {
5
- allNotificationPath?: string;
6
9
  getProfilePictureUrl: (id: string) => string;
7
- services: AbyssService[];
8
- actionButtonText: (notification: IUserNotification & NotificationDTO, user?: IGetPublicUserData['user'][0] | null) => string | null;
9
- handleNotificationActionButton?: (notification: IUserNotification & NotificationDTO, user?: IGetPublicUserData['user'][0] | null) => void;
10
+ fetchNotifications: () => Promise<{
11
+ notifications: AbyssNotificationItem[];
12
+ users: AbyssNotificationUser[];
13
+ totalCount: number;
14
+ }>;
15
+ onOpenNotification: (notificationId: string) => Promise<void>;
16
+ formatTitle: (notification: AbyssNotificationItem, user?: AbyssNotificationUser | null) => string;
17
+ formatContent: (notification: AbyssNotificationItem, user?: AbyssNotificationUser | null) => string;
18
+ actionButtonText: (notification: AbyssNotificationItem, user?: AbyssNotificationUser | null) => string | null;
19
+ handleNotificationActionButton?: (notification: AbyssNotificationItem, user?: AbyssNotificationUser | null) => void;
10
20
  formatDate: (date: Date) => string;
11
- refreshUser: () => Promise<void>;
12
- abyssMainApi: string;
13
- sid: string;
21
+ onSSEMessage?: (message: unknown) => SSENotificationEvent;
22
+ sseUrl?: string;
23
+ sid?: string;
14
24
  disableSSE?: boolean;
15
25
  enableSoundNotification?: boolean;
16
- classes: Record<string, string>;
26
+ onSoundToggle?: () => Promise<void>;
27
+ notificationSoundUrl?: string;
28
+ onAllNotificationsClick?: () => void;
29
+ onPreferencesClick?: () => void;
17
30
  };
18
- declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
19
- export default _default;
31
+ declare const AbyssLayoutNotifications: React.FC<Props>;
32
+ export default AbyssLayoutNotifications;
@@ -1,15 +1,30 @@
1
- import { IPaginateUserNotificationResponse, IGetPublicUserData, IUserNotification, NotificationDTO } from '@abyss-project/main';
2
1
  import { default as React } from 'react';
3
- import { StyledComponentProps } from '@mui/styles/withStyles';
2
+ export type AbyssNotificationItem = {
3
+ id: string;
4
+ userId?: string | null;
5
+ openedAt?: string | null;
6
+ createdAt?: string | null;
7
+ data?: Record<string, unknown>;
8
+ service?: string;
9
+ contentType?: string;
10
+ };
11
+ export type AbyssNotificationUser = {
12
+ id: string;
13
+ alias?: string | null;
14
+ profilePictureThumbnailId?: string | null;
15
+ };
4
16
  type Props = {
5
- notifications: IPaginateUserNotificationResponse['data']['data'][0][];
17
+ notifications: AbyssNotificationItem[];
18
+ users: AbyssNotificationUser[];
6
19
  getProfilePictureUrl: (id: string) => string;
7
- actionButtonText: (notification: IUserNotification & NotificationDTO, user?: IGetPublicUserData['user'][0] | null) => string | null;
8
- handleNotificationActionButton?: (notification: IUserNotification & NotificationDTO, user?: IGetPublicUserData['user'][0] | null) => void;
20
+ formatTitle: (notification: AbyssNotificationItem, user?: AbyssNotificationUser | null) => string;
21
+ formatContent: (notification: AbyssNotificationItem, user?: AbyssNotificationUser | null) => string;
22
+ actionButtonText: (notification: AbyssNotificationItem, user?: AbyssNotificationUser | null) => string | null;
23
+ handleNotificationActionButton?: (notification: AbyssNotificationItem, user?: AbyssNotificationUser | null) => void;
24
+ onOpenNotification: (notificationId: string) => Promise<void>;
9
25
  handleRefreshNotifications: () => void;
10
- users: IGetPublicUserData['user'][0][];
11
26
  formatDate: (date: Date) => string;
12
- classes: Record<string, string>;
27
+ noNotificationsLabel?: string;
13
28
  };
14
- declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
15
- export default _default;
29
+ declare const AbyssNotifications: React.FC<Props>;
30
+ export default AbyssNotifications;
@@ -1,2 +1,4 @@
1
1
  export { default as AbyssLayoutNotifications } from './AbyssLayoutNotifications.component';
2
2
  export { default as AbyssNotifications } from './AbyssNotifications.component';
3
+ export type { AbyssNotificationItem, AbyssNotificationUser } from './AbyssNotifications.component';
4
+ export type { SSENotificationEvent } from './AbyssLayoutNotifications.component';
@@ -0,0 +1,36 @@
1
+ import { default as React, ChangeEvent } from 'react';
2
+ import { ISpace, IFile, IGetRepositoryCloudData } from '@abyss-project/cloud';
3
+ export declare const MAX_PICTURE_SIZE: number;
4
+ type Props = {
5
+ children: React.ReactElement;
6
+ isLoading: boolean;
7
+ handleUploadFromUrl?: (url: string) => Promise<void>;
8
+ handleFileUpload: (event: ChangeEvent<HTMLInputElement>) => Promise<void>;
9
+ handleImportFromCloud: (cloud: ISpace, files: IFile[]) => Promise<void>;
10
+ multiple?: boolean;
11
+ maxSize?: number;
12
+ accept?: string[];
13
+ user?: {
14
+ enabledService?: string[];
15
+ } | null;
16
+ abyssCloudUrl: string;
17
+ getFileThumbnailUrl: (id: string) => string;
18
+ clouds?: ISpace[] | null;
19
+ cloudShares?: ISpace[] | null;
20
+ isLoadingClouds?: boolean;
21
+ onRefreshClouds?: () => Promise<void>;
22
+ fetchCloudRepository?: (cloudId: string) => Promise<IGetRepositoryCloudData>;
23
+ onActivateService?: () => Promise<void>;
24
+ onCreateCloud?: (name: string) => Promise<void>;
25
+ showCloudOption?: boolean;
26
+ getSpaceDisplay?: (space: ISpace) => {
27
+ label: string;
28
+ avatar?: React.ReactNode;
29
+ subtitle?: string;
30
+ organizationId?: string | null;
31
+ organizationName?: string | null;
32
+ scope?: 'personal' | 'perso-in-org' | 'org-common' | 'project';
33
+ };
34
+ };
35
+ declare const ImportButton: React.FC<Props>;
36
+ export default ImportButton;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const AbyssToast: React.FC;
3
+ export default AbyssToast;
@@ -0,0 +1 @@
1
+ export { default as AbyssToast } from './AbyssToast.component';
@@ -1,7 +1,3 @@
1
1
  import { default as React } from 'react';
2
- import { StyledComponentProps } from '@mui/styles/withStyles';
3
- type Props = {
4
- classes: Record<string, string>;
5
- };
6
- declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
7
- export default _default;
2
+ declare const WaterParticles: React.FC;
3
+ export default WaterParticles;
@@ -1,7 +1,10 @@
1
- export * from './CustomDivider';
2
- export * from './FloatingNavigation';
3
1
  export * from './WaterParticles';
4
2
  export * from './AbyssDrawer';
5
- export * from './AbyssHeaderTitle';
3
+ export { default as AbyssBackground } from './AbyssBackground/AbyssBackground.component';
4
+ export type { AbyssBackgroundProps } from './AbyssBackground/AbyssBackground.component';
5
+ export * from './ImportButton';
6
6
  export * from './AbyssLayoutNotifications';
7
+ export * from './Toast';
8
+ export * from './AbyssHeaderTitle';
7
9
  export * from './AbyssLayoutMenu';
10
+ export * from './AbyssErrorPage';
@@ -1,14 +1,16 @@
1
- export * from './AllCloudMetrics';
2
1
  export * from './Avatars';
3
- export * from './UserAvatarList';
2
+ export * from './Banking';
3
+ export * from './Cards';
4
+ export * from './Charts';
4
5
  export * from './Chips';
5
- export * from './FiltersBox';
6
- export * from './FreepikSearch';
7
- export * from './ImportButton';
6
+ export * from './CookieConsent';
7
+ export * from './Data';
8
8
  export * from './InfoBox';
9
9
  export * from './Inputs';
10
+ export * from './Layouts';
10
11
  export * from './Modals';
11
12
  export * from './Utils';
12
- export * from './Layouts';
13
- export * from './Spotlight';
14
- export * from './Banking';
13
+ export * from './Support';
14
+ export * from './Invitations';
15
+ export * from './PdfEditor';
16
+ export * from './QuotaReached';
@@ -1,3 +1,6 @@
1
1
  export * from './confirm-modal';
2
- export * from './use-cloud.hook';
3
2
  export * from './use-sse.hook';
3
+ export * from './use-theme-transition.hook';
4
+ export * from './use-rich-intl.hook';
5
+ export * from './use-cloud.hook';
6
+ export * from './use-public-users.hook';
@@ -1,8 +1,8 @@
1
- import { ICloud } from '@abyss-project/cloud';
1
+ import { ISpace, IPaginateCloudItem } from '@abyss-project/cloud';
2
2
  export declare const useFetchClouds: () => {
3
3
  isLoading: boolean;
4
4
  fetch: () => Promise<{
5
- clouds: ICloud[];
6
- cloudShares: ICloud[];
5
+ clouds: IPaginateCloudItem[];
6
+ cloudShares: ISpace[];
7
7
  }>;
8
8
  };
@@ -0,0 +1,13 @@
1
+ import { QueryClient, UseQueryResult } from '@tanstack/react-query';
2
+ export type PublicUser = {
3
+ id: string;
4
+ alias: string;
5
+ profilePictureThumbnailId: string | null;
6
+ emailVerifiedAt: Date | null;
7
+ };
8
+ export declare const publicUserQueryKey: (userId: string) => readonly ["public-user", string];
9
+ export declare const usePublicUser: (userId: string | null | undefined) => UseQueryResult<PublicUser | null, Error>;
10
+ export declare const usePublicUsers: (userIds: readonly (string | null | undefined)[]) => Record<string, PublicUser>;
11
+ export declare const primePublicUsers: (queryClient: QueryClient, users: readonly PublicUser[]) => void;
12
+ export declare const usePrimePublicUsers: () => (users: readonly PublicUser[]) => void;
13
+ export declare const invalidatePublicUsers: (queryClient: QueryClient, userIds: readonly string[]) => void;