@abyss-project/commons-front-core 1.0.136 → 1.0.141
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.
- package/README.md +30 -2
- package/declaration.d.ts +13 -13
- package/dist/CookieConsentSettings.component-DIIK_rRd.js +2604 -0
- package/dist/assets/index.d.ts +0 -1
- package/dist/assets/logo/index.d.ts +1 -0
- package/dist/components/Avatars/OrganizationAvatar/OrganizationAvatar.component.d.ts +23 -0
- package/dist/components/Avatars/OrganizationAvatar/index.d.ts +2 -0
- package/dist/components/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +16 -5
- package/dist/components/Avatars/ProjectAvatar/index.d.ts +1 -0
- package/dist/components/Avatars/UserAvatar/UserAvatar.component.d.ts +10 -0
- package/dist/components/Avatars/UserAvatar/constant.d.ts +6 -2
- package/dist/components/Avatars/UserAvatar/index.d.ts +1 -0
- package/dist/components/Avatars/UserAvatarList/UserAvatarList.component.d.ts +18 -0
- package/dist/components/{UserAvatarList → Avatars/UserAvatarList}/index.d.ts +1 -0
- package/dist/components/Avatars/index.d.ts +2 -0
- package/dist/components/Banking/AccountTransactions/AccountTransactionsRow.component.d.ts +2 -4
- package/dist/components/Banking/Inputs/SelectAccountTransactionCategory/SelectAccountTransactionCategory.component.d.ts +2 -4
- package/dist/components/Cards/InternalProjectCard/InternalProjectCard.component.d.ts +36 -0
- package/dist/components/Cards/InternalProjectCard/index.d.ts +2 -0
- package/dist/components/Cards/ProjectCard/ProjectCard.component.d.ts +27 -0
- package/dist/components/Cards/ProjectCard/index.d.ts +2 -0
- package/dist/components/Cards/index.d.ts +2 -0
- package/dist/components/Charts/AbyssBarChart/AbyssBarChart.component.d.ts +21 -0
- package/dist/components/Charts/AbyssBarChart/index.d.ts +1 -0
- package/dist/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.d.ts +14 -0
- package/dist/components/Charts/AbyssCashFlowChart/index.d.ts +1 -0
- package/dist/components/Charts/AbyssLineChart/AbyssLineChart.component.d.ts +27 -0
- package/dist/components/Charts/AbyssLineChart/index.d.ts +1 -0
- package/dist/components/Charts/AbyssPieChart/AbyssPieChart.component.d.ts +18 -0
- package/dist/components/Charts/AbyssPieChart/index.d.ts +1 -0
- package/dist/components/Charts/index.d.ts +4 -0
- package/dist/components/Charts/useNivoTheme.d.ts +65 -0
- package/dist/components/CookieConsent/AbyssCookieConsentProvider.d.ts +12 -0
- package/dist/components/CookieConsent/CookieConsentBanner.component.d.ts +7 -0
- package/dist/components/CookieConsent/CookieConsentSettings.component.d.ts +2 -0
- package/dist/components/CookieConsent/cookie-storage.util.d.ts +15 -0
- package/dist/components/CookieConsent/cookie-storage.util.spec.d.ts +1 -0
- package/dist/components/CookieConsent/index.d.ts +8 -0
- package/dist/components/CookieConsent/reconcile.util.d.ts +12 -0
- package/dist/components/CookieConsent/reconcile.util.spec.d.ts +1 -0
- package/dist/components/CookieConsent/types.d.ts +11 -0
- package/dist/components/CookieConsent/use-cookie-consent.hook.d.ts +15 -0
- package/dist/components/Data/AbyssTable/AbyssTable.component.d.ts +35 -0
- package/dist/components/Data/AbyssTable/index.d.ts +2 -0
- package/dist/components/Data/index.d.ts +1 -0
- package/dist/components/InfoBox/InfoBox.component.d.ts +5 -3
- package/dist/components/Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.d.ts +12 -13
- package/dist/components/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +16 -0
- package/dist/components/Inputs/AbyssNumberField/index.d.ts +2 -0
- package/dist/components/Inputs/AbyssScopeSwitcher/AbyssScopeSwitcher.component.d.ts +20 -0
- package/dist/components/Inputs/AbyssScopeSwitcher/index.d.ts +2 -0
- package/dist/components/Inputs/AbyssSelectOrganization/AbyssSelectOrganization.component.d.ts +18 -0
- package/dist/components/Inputs/AbyssSelectOrganization/index.d.ts +2 -0
- package/dist/components/Inputs/AbyssSelectProject/AbyssSelectProject.component.d.ts +12 -9
- package/dist/components/Inputs/AbyssSelectProject/index.d.ts +1 -0
- package/dist/components/Inputs/CloudImport/CloudImport.component.d.ts +21 -9
- package/dist/components/Inputs/CloudImport/CloudImportFile.component.d.ts +2 -4
- package/dist/components/Inputs/CloudImport/CloudImportFolder.component.d.ts +2 -4
- package/dist/components/Inputs/CloudSave/CloudSave.component.d.ts +12 -9
- package/dist/components/Inputs/ColorPalette/ColorPalette.component.d.ts +20 -0
- package/dist/components/Inputs/ColorPalette/index.d.ts +1 -0
- package/dist/components/Inputs/ColorPicker/ColorPicker.component.d.ts +19 -0
- package/dist/components/Inputs/ColorPicker/index.d.ts +1 -0
- package/dist/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +24 -9
- package/dist/components/Inputs/DatePeriodPicker/index.d.ts +1 -0
- package/dist/components/Inputs/DropZone/DropZone.component.d.ts +11 -10
- package/dist/components/Inputs/PasswordInput/PasswordInput.component.d.ts +2 -5
- package/dist/components/Inputs/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +8 -0
- package/dist/components/Inputs/ProjectCategoryBadge/index.d.ts +1 -0
- package/dist/components/Inputs/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +39 -0
- package/dist/components/Inputs/ProjectLinkSelector/index.d.ts +2 -0
- package/dist/components/Inputs/ProjectTagChip/ProjectTagChip.component.d.ts +9 -0
- package/dist/components/Inputs/ProjectTagChip/index.d.ts +1 -0
- package/dist/components/Inputs/index.d.ts +13 -6
- package/dist/components/Invitations/AbyssPendingInvitations.component.d.ts +18 -0
- package/dist/components/Invitations/index.d.ts +2 -0
- package/dist/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +9 -0
- package/dist/components/Layouts/AbyssBillingPlan/index.d.ts +1 -0
- package/dist/components/Layouts/AbyssDashboardLayout/AbyssDashboardLayout.component.d.ts +13 -0
- package/dist/components/Layouts/AbyssDashboardLayout/index.d.ts +1 -0
- package/dist/components/Layouts/AbyssHeader/AbyssHeader.component.d.ts +14 -0
- package/dist/components/Layouts/AbyssHeader/index.d.ts +1 -0
- package/dist/components/Layouts/AbyssLayoutProvider/AbyssLayoutProvider.component.d.ts +26 -0
- package/dist/components/Layouts/AbyssLayoutProvider/abyss-layout.store.d.ts +27 -0
- package/dist/components/Layouts/AbyssLayoutProvider/index.d.ts +3 -0
- package/dist/components/Layouts/AbyssLoadingScreen/AbyssLoadingScreen.component.d.ts +3 -0
- package/dist/components/Layouts/AbyssLoadingScreen/index.d.ts +1 -0
- package/dist/components/Layouts/AbyssSearchBar/AbyssSearchBar.component.d.ts +8 -0
- package/dist/components/Layouts/AbyssSearchBar/index.d.ts +1 -0
- package/dist/components/Layouts/AbyssSidebar/AbyssSidebar.component.d.ts +35 -0
- package/dist/components/Layouts/AbyssSidebar/AbyssSidebarItem.component.d.ts +9 -0
- package/dist/components/Layouts/AbyssSidebar/index.d.ts +3 -0
- package/dist/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.d.ts +7 -0
- package/dist/components/Layouts/AbyssThemeToggle/index.d.ts +1 -0
- package/dist/components/Layouts/DashboardLayout/DashboardLayout.layout.d.ts +3 -5
- package/dist/components/Layouts/DashboardLayout/DashboardLayoutHeader.layout.d.ts +3 -5
- package/dist/components/Layouts/LoadingLayout/LoadingLayout.layout.d.ts +2 -4
- package/dist/components/Layouts/MainLayout/MainLayout.layout.d.ts +2 -4
- package/dist/components/Layouts/index.d.ts +8 -0
- package/dist/components/Modals/AbyssModal/AbyssModal.component.d.ts +9 -9
- package/dist/components/Modals/ConfirmModal/ConfirmModal.d.ts +3 -4
- package/dist/components/Modals/ConfirmModal/index.d.ts +1 -1
- package/dist/components/Modals/ImportFromCloudModal/ImportFromCloudModal.component.d.ts +20 -10
- package/dist/components/Modals/QRCodeModal/QRCodeModal.component.d.ts +2 -4
- package/dist/components/Modals/SaveCloudModal/SaveCloudModal.component.d.ts +12 -10
- package/dist/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +13 -0
- package/dist/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +27 -0
- package/dist/components/Modals/UserSettingsModal/index.d.ts +2 -0
- package/dist/components/Modals/index.d.ts +2 -2
- package/dist/components/PdfEditor/PdfEditor.d.ts +3 -0
- package/dist/components/PdfEditor/hooks/use-acro-form-fields.d.ts +2 -0
- package/dist/components/PdfEditor/hooks/use-export.d.ts +7 -0
- package/dist/components/PdfEditor/hooks/use-page-order.d.ts +2 -0
- package/dist/components/PdfEditor/hooks/use-pdf-document.d.ts +11 -0
- package/dist/components/PdfEditor/hooks/use-undo-redo.d.ts +7 -0
- package/dist/components/PdfEditor/hooks/use-uploaded-docs.d.ts +3 -0
- package/dist/components/PdfEditor/index.d.ts +3 -0
- package/dist/components/PdfEditor/operations/apply.d.ts +2 -0
- package/dist/components/PdfEditor/operations/apply.spec.d.ts +1 -0
- package/dist/components/PdfEditor/operations/compute-page-order.d.ts +9 -0
- package/dist/components/PdfEditor/operations/compute-page-order.spec.d.ts +1 -0
- package/dist/components/PdfEditor/operations/pdf-data-url.d.ts +2 -0
- package/dist/components/PdfEditor/operations/reducer.d.ts +3 -0
- package/dist/components/PdfEditor/operations/reducer.spec.d.ts +1 -0
- package/dist/components/PdfEditor/signature/SignatureDrawCanvas.d.ts +10 -0
- package/dist/components/PdfEditor/signature/SignaturePicker.d.ts +13 -0
- package/dist/components/PdfEditor/signature/SignatureSaveButton.d.ts +9 -0
- package/dist/components/PdfEditor/signature/SignatureSavedList.d.ts +10 -0
- package/dist/components/PdfEditor/signature/SignatureUploadDropzone.d.ts +10 -0
- package/dist/components/PdfEditor/tools/DrawTool.d.ts +9 -0
- package/dist/components/PdfEditor/tools/FillFieldsTool.d.ts +8 -0
- package/dist/components/PdfEditor/tools/SignatureTool.d.ts +12 -0
- package/dist/components/PdfEditor/tools/TextTool.d.ts +2 -0
- package/dist/components/PdfEditor/tools/Toolbar.d.ts +18 -0
- package/dist/components/PdfEditor/types.d.ts +217 -0
- package/dist/components/PdfEditor/viewer/InsertPagesButton.d.ts +9 -0
- package/dist/components/PdfEditor/viewer/InsertPagesDialog.d.ts +10 -0
- package/dist/components/PdfEditor/viewer/PageOverlay.d.ts +21 -0
- package/dist/components/PdfEditor/viewer/PageSidebar.d.ts +15 -0
- package/dist/components/PdfEditor/viewer/PageThumbnail.d.ts +17 -0
- package/dist/components/PdfEditor/viewer/PdfCanvas.d.ts +17 -0
- package/dist/components/QuotaReached/QuotaReachedDialog.component.d.ts +5 -0
- package/dist/components/QuotaReached/billing-quota-error.d.ts +4 -0
- package/dist/components/QuotaReached/index.d.ts +6 -0
- package/dist/components/QuotaReached/quota-dialog.store.d.ts +15 -0
- package/dist/components/QuotaReached/quota-service-meta.d.ts +27 -0
- package/dist/components/Support/AbyssServiceSelect.component.d.ts +35 -0
- package/dist/components/Support/SupportActionButtons.component.d.ts +3 -0
- package/dist/components/Support/SupportActivityLog.component.d.ts +3 -0
- package/dist/components/Support/SupportAttachmentsPanel.component.d.ts +3 -0
- package/dist/components/Support/SupportCategoryChip.component.d.ts +9 -0
- package/dist/components/Support/SupportCategoryGroupCards.component.d.ts +3 -0
- package/dist/components/Support/SupportCategorySelect.component.d.ts +19 -0
- package/dist/components/Support/SupportMessageInput.component.d.ts +3 -0
- package/dist/components/Support/SupportMessageThread.component.d.ts +3 -0
- package/dist/components/Support/SupportPriorityChip.component.d.ts +3 -0
- package/dist/components/Support/SupportSidebar.component.d.ts +3 -0
- package/dist/components/Support/SupportStatusBadge.component.d.ts +3 -0
- package/dist/components/Support/SupportTicketCreateForm.component.d.ts +3 -0
- package/dist/components/Support/SupportTicketCreateStepper.component.d.ts +3 -0
- package/dist/components/Support/SupportTicketDetail.component.d.ts +3 -0
- package/dist/components/Support/SupportTicketList.component.d.ts +3 -0
- package/dist/components/Support/SupportTopBar.component.d.ts +3 -0
- package/dist/components/Support/index.d.ts +18 -0
- package/dist/components/Support/types.d.ts +252 -0
- package/dist/components/Utils/AbyssBackground/AbyssBackground.component.d.ts +9 -0
- package/dist/components/Utils/AbyssDrawer/AbyssDrawer.component.d.ts +2 -5
- package/dist/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.d.ts +10 -0
- package/dist/components/Utils/AbyssErrorPage/AbyssErrorPage.component.d.ts +11 -0
- package/dist/components/Utils/AbyssErrorPage/index.d.ts +3 -0
- package/dist/components/Utils/AbyssHeaderTitle/AbyssHeaderTitle.component.d.ts +3 -5
- package/dist/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.d.ts +33 -24
- package/dist/components/Utils/AbyssLayoutMenu/AbyssMenuItem.component.d.ts +15 -0
- package/dist/components/Utils/AbyssLayoutMenu/index.d.ts +2 -0
- package/dist/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.d.ts +25 -12
- package/dist/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.d.ts +24 -9
- package/dist/components/Utils/AbyssLayoutNotifications/index.d.ts +2 -0
- package/dist/components/Utils/ImportButton/ImportButton.component.d.ts +36 -0
- package/dist/components/Utils/Toast/AbyssToast.component.d.ts +3 -0
- package/dist/components/Utils/Toast/index.d.ts +1 -0
- package/dist/components/Utils/WaterParticles/WaterParticles.component.d.ts +2 -6
- package/dist/components/Utils/index.d.ts +6 -3
- package/dist/components/index.d.ts +10 -8
- package/dist/cookie-consent.d.ts +2 -0
- package/dist/cookie-consent.js +16 -0
- package/dist/hooks/index.d.ts +4 -1
- package/dist/hooks/use-cloud.hook.d.ts +3 -3
- package/dist/hooks/use-public-users.hook.d.ts +13 -0
- package/dist/hooks/use-rich-intl.hook.d.ts +1370 -212
- package/dist/hooks/use-theme-transition.hook.d.ts +4 -0
- package/dist/{index-CjCtN6N9.js → index-0jt8DKLf.js} +11 -11
- package/dist/{index-DsEAU1Su.js → index-B3Y7Rb_Q.js} +1 -1
- package/dist/{index-DrwZbK23.js → index-BLr1fOuq.js} +4 -4
- package/dist/{index-BirsZhiu.js → index-BWj4TKOS.js} +2 -2
- package/dist/{index-Bk2NQz31.js → index-B_fAiFZq.js} +3 -3
- package/dist/{index-DE33bhgE.js → index-Blqg9cwf.js} +3 -3
- package/dist/{index--QxdNiuT.js → index-BrSAVa-Q.js} +2 -2
- package/dist/{index-CzRcWnfQ.js → index-C70H1Rqy.js} +4 -4
- package/dist/{index-Vsp-9vGI.js → index-C9HpxdlC.js} +2 -2
- package/dist/{index-C9V6yx6I.js → index-CDvwJmU3.js} +8 -8
- package/dist/index-CI_ndLtL.js +114828 -0
- package/dist/{index-DufXsxfg.js → index-CQv4ue2W.js} +2 -2
- package/dist/{index-DyrkSLE1.js → index-CRlvyprK.js} +3 -3
- package/dist/{index-BN2zc6Mp.js → index-Cb3RkMZy.js} +2 -2
- package/dist/{index-C7YWMnUi.js → index-CkpUdKTG.js} +3 -3
- package/dist/{index-yhL2fUpe.js → index-CnuCwLCI.js} +2 -2
- package/dist/{index-Cr-guXyg.js → index-CxyWN2Jp.js} +2 -2
- package/dist/{index-CLLYU3Ob.js → index-DQJBss56.js} +2 -2
- package/dist/{index-CyMfYJL8.js → index-jiAI8FrN.js} +4 -4
- package/dist/{index-DdIC_a4G.js → index-prtXdje2.js} +2 -2
- package/dist/{index-D39o_sai.js → index-rNuCv1FV.js} +5 -5
- package/dist/{index-D4xMvqEH.js → index-tz9rZQUM.js} +8 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +237 -117
- package/dist/theme/augmentation.d.ts +78 -0
- package/dist/theme/components/buttons.d.ts +35 -0
- package/dist/theme/components/data-display.d.ts +4 -0
- package/dist/theme/components/index.d.ts +2 -0
- package/dist/theme/components/inputs.d.ts +4 -0
- package/dist/theme/components/navigation.d.ts +4 -0
- package/dist/theme/components/surfaces.d.ts +4 -0
- package/dist/theme/create-theme.d.ts +3 -0
- package/dist/theme/index.d.ts +15 -0
- package/dist/theme/palettes/common.d.ts +61 -0
- package/dist/theme/palettes/dark.d.ts +66 -0
- package/dist/theme/palettes/light.d.ts +66 -0
- package/dist/theme/tokens/animations.d.ts +30 -0
- package/dist/theme/tokens/borders.d.ts +11 -0
- package/dist/theme/tokens/colors.d.ts +102 -0
- package/dist/theme/tokens/shadows.d.ts +45 -0
- package/dist/theme/tokens/transitions.d.ts +21 -0
- package/dist/theme/tokens/typography.d.ts +93 -0
- package/dist/translations/en.d.ts +668 -9
- package/dist/translations/fr.d.ts +668 -9
- package/dist/utils/billing.utils.d.ts +7 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/locale.utils.d.ts +2 -0
- package/dist/utils/share-notification.utils.d.ts +1 -0
- package/dist/utils/space-display-name.utils.d.ts +9 -0
- package/package.json +36 -7
- package/tsconfig.json +35 -37
- package/vite.config.ts +75 -77
- package/vitest.config.ts +14 -0
- package/.eslintrc.cjs +0 -30
- package/dist/components/AllCloudMetrics/AllCloudMetrics.component.d.ts +0 -13
- package/dist/components/AllCloudMetrics/index.d.ts +0 -1
- package/dist/components/FiltersBox/FiltersBox.component.d.ts +0 -8
- package/dist/components/FiltersBox/index.d.ts +0 -1
- package/dist/components/FreepikSearch/FreepikSearch.component.d.ts +0 -9
- package/dist/components/FreepikSearch/index.d.ts +0 -1
- package/dist/components/ImportButton/ImportButton.component.d.ts +0 -29
- package/dist/components/Inputs/Toggle/Toggle.component.d.ts +0 -15
- package/dist/components/Inputs/Toggle/index.d.ts +0 -1
- package/dist/components/Modals/ImportFromCollectionModal/ImportFromCollectionModal.component.d.ts +0 -11
- package/dist/components/Modals/ImportFromCollectionModal/index.d.ts +0 -1
- package/dist/components/Modals/UserSettings/UserSettingsModal.component.d.ts +0 -18
- package/dist/components/Modals/UserSettings/index.d.ts +0 -2
- package/dist/components/UserAvatarList/UserAvatarList.component.d.ts +0 -18
- package/dist/components/Utils/CustomDivider/CustomDivider.component.d.ts +0 -4
- package/dist/components/Utils/CustomDivider/index.d.ts +0 -1
- package/dist/components/Utils/FloatingNavigation/FloatingNavigation.component.d.ts +0 -16
- package/dist/components/Utils/FloatingNavigation/index.d.ts +0 -1
- package/dist/hooks/use-theme.hook.d.ts +0 -1
- package/dist/index-_UVTFDmE.js +0 -122724
- package/dist/stylesheet.d.ts +0 -128
- package/dist/web-Bt2mRnhv.js +0 -18
- /package/dist/{index.css → commons-front-core.css} +0 -0
- /package/dist/components/{ImportButton → Utils/ImportButton}/index.d.ts +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PlanTier, BillingAccountStatus, InvoiceStatus, InvoiceType, CreditTransactionType, EurTransactionType } from '@abyss-project/main';
|
|
2
|
+
export declare const PLAN_TIER_COLORS: Record<PlanTier, string>;
|
|
3
|
+
export declare const BILLING_ACCOUNT_STATUS_COLORS: Record<BillingAccountStatus, string>;
|
|
4
|
+
export declare const INVOICE_STATUS_COLORS: Record<InvoiceStatus, string>;
|
|
5
|
+
export declare const INVOICE_TYPE_COLORS: Record<InvoiceType, string>;
|
|
6
|
+
export declare const CREDIT_TRANSACTION_TYPE_COLORS: Record<CreditTransactionType, string>;
|
|
7
|
+
export declare const EUR_TRANSACTION_TYPE_COLORS: Record<EurTransactionType, string>;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
export * from './billing.utils';
|
|
1
2
|
export * from './color.utils';
|
|
2
3
|
export * from './clipboard.utils';
|
|
3
4
|
export * from './cookie.utils';
|
|
4
5
|
export * from './file.utils';
|
|
6
|
+
export * from './project-link-wording.utils';
|
|
7
|
+
export * from './locale.utils';
|
|
8
|
+
export * from './share-notification.utils';
|
|
9
|
+
export * from './space-display-name.utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const handleShareNotificationNavigation: (contentType: string | undefined, data: Record<string, unknown> | undefined, navigate: (path: string) => void, invitationsPath: string) => boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IntlShape } from 'react-intl';
|
|
2
|
+
import { ISpace } from '@abyss-project/cloud';
|
|
3
|
+
export type SpaceScope = 'personal' | 'perso-in-org' | 'org-common' | 'project';
|
|
4
|
+
export declare const resolveSpaceScope: (space: Pick<ISpace, 'organizationId' | 'userId' | 'projectId'>) => SpaceScope;
|
|
5
|
+
export declare const resolveSpaceDisplayName: (space: Pick<ISpace, 'organizationId' | 'userId' | 'projectId'>, intl: IntlShape, context?: {
|
|
6
|
+
organizationName?: string;
|
|
7
|
+
projectName?: string;
|
|
8
|
+
userAlias?: string;
|
|
9
|
+
}) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/commons-front-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.141",
|
|
4
4
|
"description": "Front Core package of AbyssProject",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -9,6 +9,17 @@
|
|
|
9
9
|
".": {
|
|
10
10
|
"import": "./dist/index.js",
|
|
11
11
|
"types": "./dist/index.d.ts"
|
|
12
|
+
},
|
|
13
|
+
"./cookie-consent": {
|
|
14
|
+
"import": "./dist/cookie-consent.js",
|
|
15
|
+
"types": "./dist/cookie-consent.d.ts"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"typesVersions": {
|
|
19
|
+
"*": {
|
|
20
|
+
"cookie-consent": [
|
|
21
|
+
"./dist/cookie-consent.d.ts"
|
|
22
|
+
]
|
|
12
23
|
}
|
|
13
24
|
},
|
|
14
25
|
"type": "module",
|
|
@@ -33,11 +44,17 @@
|
|
|
33
44
|
"@mui/utils": "^7.1.1",
|
|
34
45
|
"@mui/x-data-grid": "^8.5.3",
|
|
35
46
|
"@mui/x-date-pickers": "^6.20.2",
|
|
47
|
+
"@tanstack/react-query": "^5.0.0",
|
|
48
|
+
"@dnd-kit/core": "^6.0.0",
|
|
49
|
+
"@dnd-kit/sortable": "^9.0.0",
|
|
50
|
+
"@dnd-kit/utilities": "^3.0.0",
|
|
36
51
|
"react": "^17.0.0 || ^18.0.0",
|
|
37
52
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
53
|
+
"react-is": "^18.0.0 || ^19.0.0",
|
|
38
54
|
"react-intl": "^6.2.5",
|
|
39
55
|
"react-router-dom": "^6.15.0",
|
|
40
|
-
"
|
|
56
|
+
"zustand": "^5.0.0",
|
|
57
|
+
"@abyss-project/main": "1.0.117"
|
|
41
58
|
},
|
|
42
59
|
"dependencies": {
|
|
43
60
|
"@abyss-project/banking": "^1.0.6",
|
|
@@ -56,8 +73,13 @@
|
|
|
56
73
|
"@milkdown/plugin-listener": "^7.15.3",
|
|
57
74
|
"@milkdown/react": "^7.15.3",
|
|
58
75
|
"@milkdown/utils": "^7.15.3",
|
|
59
|
-
"
|
|
60
|
-
"
|
|
76
|
+
"@nivo/bar": "^0.88.0",
|
|
77
|
+
"@nivo/core": "^0.88.0",
|
|
78
|
+
"@nivo/line": "^0.88.0",
|
|
79
|
+
"@nivo/pie": "^0.88.0",
|
|
80
|
+
"@tanstack/react-table": "^8.21.3",
|
|
81
|
+
"axios": "^1.6.0",
|
|
82
|
+
"axios-retry": "^4.5.0",
|
|
61
83
|
"byte-size": "^8.1.0",
|
|
62
84
|
"date-fns": "^2.29.3",
|
|
63
85
|
"eventsource": "^4.0.0",
|
|
@@ -66,12 +88,15 @@
|
|
|
66
88
|
"lodash": "^4.17.21",
|
|
67
89
|
"qrcode": "^1.5.3",
|
|
68
90
|
"react-dropzone": "^14.3.8",
|
|
91
|
+
"react-error-boundary": "^6.1.1",
|
|
69
92
|
"react-router-dom": "^6.15.0",
|
|
70
93
|
"react-toastify": "^8.0.2",
|
|
71
94
|
"use-debounce": "^10.0.5",
|
|
72
95
|
"uuid": "^9.0.0",
|
|
96
|
+
"pdf-lib": "^1.17.1",
|
|
97
|
+
"pdfjs-dist": "^4.10.38",
|
|
73
98
|
"yup": "^0.32.11",
|
|
74
|
-
"@abyss-project/main": "1.0.
|
|
99
|
+
"@abyss-project/main": "1.0.117"
|
|
75
100
|
},
|
|
76
101
|
"devDependencies": {
|
|
77
102
|
"@types/byte-size": "^8.1.0",
|
|
@@ -94,16 +119,20 @@
|
|
|
94
119
|
"eslint-plugin-node": "^11.1.0",
|
|
95
120
|
"eslint-plugin-prettier": "^3.4.0",
|
|
96
121
|
"prettier": "^2.5.1",
|
|
122
|
+
"tsc-watch": "^4.6.2",
|
|
97
123
|
"typescript": "5.4.2",
|
|
98
124
|
"vite": "^6.3.5",
|
|
125
|
+
"@vitest/coverage-v8": "^2.0.0",
|
|
99
126
|
"vite-plugin-dts": "^4.5.4",
|
|
100
|
-
"
|
|
127
|
+
"vitest": "^2.0.0"
|
|
101
128
|
},
|
|
102
129
|
"scripts": {
|
|
103
130
|
"lint": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --fix",
|
|
104
131
|
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --max-warnings 0",
|
|
105
132
|
"tsc": "tsc",
|
|
106
133
|
"build": "vite build",
|
|
107
|
-
"dev": "
|
|
134
|
+
"dev": "vite build --watch",
|
|
135
|
+
"test": "vitest run --config vitest.config.ts",
|
|
136
|
+
"test:watch": "vitest --config vitest.config.ts"
|
|
108
137
|
}
|
|
109
138
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,37 +1,35 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"moduleResolution": "node",
|
|
14
|
-
"resolveJsonModule": true,
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"include": ["src", "declaration.d.ts"]
|
|
37
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"incremental": false,
|
|
4
|
+
"target": "es2021",
|
|
5
|
+
"lib": [
|
|
6
|
+
"dom",
|
|
7
|
+
"es2021"
|
|
8
|
+
],
|
|
9
|
+
"experimentalDecorators": true,
|
|
10
|
+
"emitDecoratorMetadata": true,
|
|
11
|
+
"module": "commonjs",
|
|
12
|
+
"rootDir": "src",
|
|
13
|
+
"moduleResolution": "node",
|
|
14
|
+
"resolveJsonModule": true,
|
|
15
|
+
"allowJs": true,
|
|
16
|
+
"declaration": true,
|
|
17
|
+
"sourceMap": true,
|
|
18
|
+
"outDir": "./dist",
|
|
19
|
+
"removeComments": true,
|
|
20
|
+
"allowSyntheticDefaultImports": true,
|
|
21
|
+
"esModuleInterop": true,
|
|
22
|
+
"forceConsistentCasingInFileNames": true,
|
|
23
|
+
"strict": true,
|
|
24
|
+
"strictNullChecks": true,
|
|
25
|
+
"strictFunctionTypes": true,
|
|
26
|
+
"strictPropertyInitialization": false,
|
|
27
|
+
"skipLibCheck": true
|
|
28
|
+
},
|
|
29
|
+
"include": [
|
|
30
|
+
"./src"
|
|
31
|
+
],
|
|
32
|
+
"exclude": [
|
|
33
|
+
"./dist/**/*"
|
|
34
|
+
]
|
|
35
|
+
}
|
package/vite.config.ts
CHANGED
|
@@ -1,77 +1,75 @@
|
|
|
1
|
-
import { defineConfig } from 'vite'
|
|
2
|
-
import react from '@vitejs/plugin-react'
|
|
3
|
-
import path, { resolve } from 'path'
|
|
4
|
-
import dts from 'vite-plugin-dts';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"@components-
|
|
20
|
-
"@components-
|
|
21
|
-
"@components-
|
|
22
|
-
"@components-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
'@
|
|
26
|
-
'@
|
|
27
|
-
'@
|
|
28
|
-
'@': path.resolve(__dirname, './src'),
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
//
|
|
40
|
-
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
'react': '
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
})
|
|
1
|
+
import { defineConfig } from 'vite'
|
|
2
|
+
import react from '@vitejs/plugin-react'
|
|
3
|
+
import path, { resolve } from 'path'
|
|
4
|
+
import dts from 'vite-plugin-dts';
|
|
5
|
+
|
|
6
|
+
const isWatch = process.argv.includes('--watch');
|
|
7
|
+
|
|
8
|
+
export default defineConfig({
|
|
9
|
+
plugins: [
|
|
10
|
+
react(),
|
|
11
|
+
!isWatch && dts({
|
|
12
|
+
skipDiagnostics: true, // Skip TypeScript diagnostics to avoid type conflicts
|
|
13
|
+
staticImport: true,
|
|
14
|
+
insertTypesEntry: true,
|
|
15
|
+
}),
|
|
16
|
+
].filter(Boolean),
|
|
17
|
+
resolve: {
|
|
18
|
+
alias: {
|
|
19
|
+
"@components-spotlight/*": path.resolve(__dirname, './src/components/Spotlight'),
|
|
20
|
+
"@components-avatars/*": path.resolve(__dirname, './src/components/Avatars'),
|
|
21
|
+
"@components-chips/*": path.resolve(__dirname, './src/components/Chips'),
|
|
22
|
+
"@components-utils/*": path.resolve(__dirname, './src/components/Utils'),
|
|
23
|
+
"@components-inputs/*": path.resolve(__dirname, './src/components/Inputs'),
|
|
24
|
+
"@components-modals/*": path.resolve(__dirname, './src/components/Modals'),
|
|
25
|
+
'@components': path.resolve(__dirname, './src/components'),
|
|
26
|
+
'@assets': path.resolve(__dirname, './src/assets'),
|
|
27
|
+
'@utils': path.resolve(__dirname, './src/utils'),
|
|
28
|
+
'@types': path.resolve(__dirname, './src/types'),
|
|
29
|
+
'@hooks': path.resolve(__dirname, './src/hooks'),
|
|
30
|
+
'@': path.resolve(__dirname, './src'),
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
build: {
|
|
34
|
+
lib: {
|
|
35
|
+
// Multiple entries: the full barrel (`index`) plus a browser-safe,
|
|
36
|
+
// tree-shaken `cookie-consent` entry. The latter lets webpack consumers
|
|
37
|
+
// (e.g. the Next.js landing) pull ONLY the cookie-consent UI without
|
|
38
|
+
// dragging in react-toastify (React-17 `render`), pdf.js, or the server
|
|
39
|
+
// monitor SDK that the full barrel transitively includes.
|
|
40
|
+
entry: {
|
|
41
|
+
index: resolve(__dirname, 'src/index.ts'),
|
|
42
|
+
'cookie-consent': resolve(__dirname, 'src/components/CookieConsent/index.ts'),
|
|
43
|
+
},
|
|
44
|
+
formats: ['es'],
|
|
45
|
+
fileName: (_format, entryName) => `${entryName}.js`,
|
|
46
|
+
},
|
|
47
|
+
rollupOptions: {
|
|
48
|
+
// Externalize peer dependencies. Match exact name OR sub-path imports
|
|
49
|
+
// (e.g. 'react/jsx-runtime') — never match by raw prefix, otherwise
|
|
50
|
+
// 'react' silently externalizes 'react-is', 'react-fast-compare', etc.
|
|
51
|
+
external: (id) => {
|
|
52
|
+
const exactNames = [
|
|
53
|
+
'react', 'react-dom', 'react-intl', 'react-router-dom',
|
|
54
|
+
'pdfjs-dist', 'pdf-lib',
|
|
55
|
+
'osx-temperature-sensor', 'fs', 'path', 'os',
|
|
56
|
+
];
|
|
57
|
+
if (exactNames.includes(id)) return true;
|
|
58
|
+
if (exactNames.some((name) => id.startsWith(name + '/'))) return true;
|
|
59
|
+
// Scoped-package prefixes (these always end with '/')
|
|
60
|
+
const scopedPrefixes = ['@mui/', '@emotion/', '@abyss-project/', '@tanstack/'];
|
|
61
|
+
return scopedPrefixes.some((prefix) => id.startsWith(prefix));
|
|
62
|
+
},
|
|
63
|
+
output: {
|
|
64
|
+
globals: {
|
|
65
|
+
'react': 'React',
|
|
66
|
+
'react-dom': 'ReactDOM',
|
|
67
|
+
'react-router-dom': 'ReactRouterDOM',
|
|
68
|
+
'@mui/material': 'MaterialUI',
|
|
69
|
+
'@abyss-project/main': 'AbyssMain',
|
|
70
|
+
'react-intl': 'ReactIntl'
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
})
|
package/vitest.config.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineConfig, mergeConfig } from 'vitest/config';
|
|
2
|
+
import viteConfig from './vite.config';
|
|
3
|
+
|
|
4
|
+
export default mergeConfig(
|
|
5
|
+
viteConfig,
|
|
6
|
+
defineConfig({
|
|
7
|
+
test: {
|
|
8
|
+
environment: 'node',
|
|
9
|
+
include: ['src/**/*.spec.ts'],
|
|
10
|
+
globals: false,
|
|
11
|
+
passWithNoTests: true,
|
|
12
|
+
},
|
|
13
|
+
}),
|
|
14
|
+
);
|
package/.eslintrc.cjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
parser: '@typescript-eslint/parser',
|
|
3
|
-
parserOptions: {
|
|
4
|
-
project: './tsconfig.json',
|
|
5
|
-
tsconfigRootDir: __dirname,
|
|
6
|
-
sourceType: 'module',
|
|
7
|
-
},
|
|
8
|
-
plugins: ['@typescript-eslint/eslint-plugin', 'prettier'],
|
|
9
|
-
extends: [
|
|
10
|
-
'plugin:@typescript-eslint/recommended',
|
|
11
|
-
'plugin:prettier/recommended',
|
|
12
|
-
],
|
|
13
|
-
root: true,
|
|
14
|
-
env: {
|
|
15
|
-
browser: true,
|
|
16
|
-
es2021: true,
|
|
17
|
-
node: true,
|
|
18
|
-
jest: true,
|
|
19
|
-
},
|
|
20
|
-
ignorePatterns: ['.eslintrc.cjs'],
|
|
21
|
-
rules: {
|
|
22
|
-
'no-console': 'warn',
|
|
23
|
-
curly: ['error'],
|
|
24
|
-
'@typescript-eslint/interface-name-prefix': 'off',
|
|
25
|
-
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
26
|
-
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
27
|
-
'@typescript-eslint/no-explicit-any': 'off',
|
|
28
|
-
'@typescript-eslint/prefer-as-const': 'error',
|
|
29
|
-
},
|
|
30
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IGetAllMetricsCloudData } from '@abyss-project/cloud';
|
|
3
|
-
import { AbyssService } from '@abyss-project/main';
|
|
4
|
-
import { StyledComponentProps } from '@mui/styles/withStyles';
|
|
5
|
-
type Props = {
|
|
6
|
-
enabledService: AbyssService[];
|
|
7
|
-
abyssCloudUrl: string;
|
|
8
|
-
classes: Record<string, string>;
|
|
9
|
-
cloudMetrics: IGetAllMetricsCloudData['clouds'] | null;
|
|
10
|
-
setCloudMetrics: (metrics: IGetAllMetricsCloudData['clouds'] | null) => void;
|
|
11
|
-
};
|
|
12
|
-
declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
|
|
13
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as AllCloudMetrics } from './AllCloudMetrics.component';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { StyledComponentProps } from '@mui/styles/withStyles';
|
|
3
|
-
type Props = {
|
|
4
|
-
classes: Record<string, string>;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
|
|
8
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as FiltersBox } from './FiltersBox.component';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ISearchFreepikCollectionData } from '@abyss-project/storage';
|
|
2
|
-
import { JSXElementConstructor } from 'react';
|
|
3
|
-
import { StyledComponentProps } from '@mui/styles/withStyles';
|
|
4
|
-
type Props = {
|
|
5
|
-
classes: Record<string, string>;
|
|
6
|
-
onSelect: (item: ISearchFreepikCollectionData['items'][number]) => Promise<void>;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
|
|
9
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as FreepikSearch } from './FreepikSearch.component';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ICloud, IFile } from '@abyss-project/cloud';
|
|
2
|
-
import { PictureCollectionSource } from '@abyss-project/storage';
|
|
3
|
-
import { ChangeEvent, JSXElementConstructor } from 'react';
|
|
4
|
-
import { IUser } from '@abyss-project/main';
|
|
5
|
-
import { StyledComponentProps } from '@mui/styles/withStyles';
|
|
6
|
-
export declare const MAX_PICTURE_SIZE: number;
|
|
7
|
-
export type CollectionElement = {
|
|
8
|
-
source: PictureCollectionSource;
|
|
9
|
-
elementId: string;
|
|
10
|
-
url: string;
|
|
11
|
-
};
|
|
12
|
-
type Props = {
|
|
13
|
-
children: React.ReactElement;
|
|
14
|
-
isLoading: boolean;
|
|
15
|
-
handleUploadFromUrl?: (url: string) => Promise<void>;
|
|
16
|
-
handleFileUpload: (event: ChangeEvent<HTMLInputElement>) => Promise<void>;
|
|
17
|
-
handleImportFromCloud: (cloud: ICloud, files: IFile[]) => Promise<void>;
|
|
18
|
-
handleImportFromCollection?: (collectionElements: CollectionElement[]) => Promise<void>;
|
|
19
|
-
multiple?: boolean;
|
|
20
|
-
maxSize?: number;
|
|
21
|
-
accept?: string[];
|
|
22
|
-
user: IUser;
|
|
23
|
-
fetchUser: () => Promise<void>;
|
|
24
|
-
abyssCloudUrl: string;
|
|
25
|
-
getFileThumbnailUrl: (id: string) => string;
|
|
26
|
-
classes: Record<string, string>;
|
|
27
|
-
};
|
|
28
|
-
declare const _default: JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
|
|
29
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SxProps } from '@mui/material';
|
|
3
|
-
import { StyledComponentProps } from '@mui/styles/withStyles';
|
|
4
|
-
type Props = {
|
|
5
|
-
value: any;
|
|
6
|
-
toggles: {
|
|
7
|
-
label: React.ReactElement | string;
|
|
8
|
-
value: string;
|
|
9
|
-
}[];
|
|
10
|
-
onChange: (value: any) => void;
|
|
11
|
-
classes: Record<string, string>;
|
|
12
|
-
sx?: SxProps;
|
|
13
|
-
};
|
|
14
|
-
declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
|
|
15
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Toggle } from './Toggle.component';
|
package/dist/components/Modals/ImportFromCollectionModal/ImportFromCollectionModal.component.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CollectionElement } from '../../ImportButton/ImportButton.component';
|
|
2
|
-
import { JSXElementConstructor } from 'react';
|
|
3
|
-
import { StyledComponentProps } from '@mui/styles/withStyles';
|
|
4
|
-
type Props = {
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
onCancel: () => Promise<void>;
|
|
7
|
-
onConfirm: (files: CollectionElement[]) => Promise<void>;
|
|
8
|
-
classes: Record<string, string>;
|
|
9
|
-
};
|
|
10
|
-
declare const _default: JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
|
|
11
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ImportFromCollectionModal } from './ImportFromCollectionModal.component';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IUser } from '@abyss-project/main';
|
|
3
|
-
import { StyledComponentProps } from '@mui/styles/withStyles';
|
|
4
|
-
export declare const DELETE_ACCOUNT_SUFFIX = "dashboard/my-account/ticket/create?service=ABYSS&category=ACCOUNT_MANAGEMENT";
|
|
5
|
-
export declare const PROFILE_SUFFIX = "dashboard/my-account/parameter";
|
|
6
|
-
type Props = {
|
|
7
|
-
isOpen: boolean;
|
|
8
|
-
onCancel: () => Promise<void>;
|
|
9
|
-
resetApiKey: () => Promise<void>;
|
|
10
|
-
fetchMe: () => Promise<void>;
|
|
11
|
-
user: IUser;
|
|
12
|
-
isLoading: boolean;
|
|
13
|
-
apiKey: string;
|
|
14
|
-
abyssUrl: string;
|
|
15
|
-
classes: Record<string, string>;
|
|
16
|
-
};
|
|
17
|
-
declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
|
|
18
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SxProps } from '@mui/material';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { StyledComponentProps } from '@mui/styles/withStyles';
|
|
4
|
-
type Props = {
|
|
5
|
-
users: {
|
|
6
|
-
alias: string;
|
|
7
|
-
hasThumbnail: boolean;
|
|
8
|
-
id: string;
|
|
9
|
-
}[] | null;
|
|
10
|
-
size?: number;
|
|
11
|
-
label?: string;
|
|
12
|
-
sx?: SxProps;
|
|
13
|
-
sxItem?: SxProps;
|
|
14
|
-
getProfilePictureUrl: (userId: string) => string;
|
|
15
|
-
maxAvatarCount?: number;
|
|
16
|
-
};
|
|
17
|
-
declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
|
|
18
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './CustomDivider.component';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { StyledComponentProps } from '@mui/styles/withStyles';
|
|
3
|
-
type Props = {
|
|
4
|
-
fields: {
|
|
5
|
-
label: string;
|
|
6
|
-
icon: React.ReactNode;
|
|
7
|
-
value: string;
|
|
8
|
-
link?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}[];
|
|
11
|
-
currentTab: string;
|
|
12
|
-
onClick?: (value: string) => void;
|
|
13
|
-
classes: Record<string, string>;
|
|
14
|
-
};
|
|
15
|
-
declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
|
|
16
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as FloatingNavigation } from './FloatingNavigation.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const withTheme: (Component: React.ComponentType<any>) => (props: any) => import("react/jsx-runtime").JSX.Element;
|