@abyss-project/commons-front-core 1.0.144 → 1.0.146

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 (68) hide show
  1. package/dist/{CookieConsentSettings.component-DIIK_rRd.js → CookieConsentSettings.component-OElkXdNK.js} +182 -100
  2. package/dist/components/Avatars/OrganizationAvatar/OrganizationAvatar.component.d.ts +3 -2
  3. package/dist/components/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +3 -2
  4. package/dist/components/Avatars/UserAvatar/UserAvatar.component.d.ts +3 -2
  5. package/dist/components/InfoBox/InfoBox.component.d.ts +1 -1
  6. package/dist/components/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +2 -1
  7. package/dist/components/Inputs/AbyssScopeSwitcher/AbyssScopeSwitcher.component.d.ts +1 -0
  8. package/dist/components/Inputs/AbyssScopeSwitcher/scope-option.spec.d.ts +1 -0
  9. package/dist/components/Inputs/ContextSelector/ContextSelector.component.d.ts +43 -0
  10. package/dist/components/Inputs/ContextSelector/index.d.ts +2 -0
  11. package/dist/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +2 -0
  12. package/dist/components/Inputs/DatePeriodPicker/date-period-picker.logic.d.ts +16 -0
  13. package/dist/components/Inputs/DatePeriodPicker/date-period-picker.logic.spec.d.ts +1 -0
  14. package/dist/components/Inputs/LanguageFlagLabel/LanguageFlagLabel.component.d.ts +9 -0
  15. package/dist/components/Inputs/LanguageFlagLabel/index.d.ts +2 -0
  16. package/dist/components/Inputs/LanguageFlagLabel/language-flags.d.ts +2 -0
  17. package/dist/components/Inputs/PasswordInput/PasswordInput.component.d.ts +3 -2
  18. package/dist/components/Inputs/index.d.ts +2 -0
  19. package/dist/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.component.d.ts +24 -0
  20. package/dist/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.logic.spec.d.ts +1 -0
  21. package/dist/components/Layouts/AbyssFamilyBanner/index.d.ts +2 -0
  22. package/dist/components/Layouts/index.d.ts +1 -0
  23. package/dist/components/Modals/AbyssModal/AbyssModal.component.d.ts +1 -0
  24. package/dist/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +2 -1
  25. package/dist/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +8 -0
  26. package/dist/components/Modals/UserSettingsModal/user-settings-modal.family.spec.d.ts +1 -0
  27. package/dist/components/PdfEditor/types.d.ts +4 -4
  28. package/dist/components/QuotaReached/billing-quota-error.spec.d.ts +1 -0
  29. package/dist/components/Support/types.d.ts +6 -6
  30. package/dist/components/Utils/AbyssDrawer/AbyssDrawer.component.d.ts +2 -1
  31. package/dist/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.d.ts +6 -0
  32. package/dist/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.spec.d.ts +1 -0
  33. package/dist/components/Utils/AbyssFamilyMenuSection/index.d.ts +1 -0
  34. package/dist/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.d.ts +7 -1
  35. package/dist/components/Utils/AbyssLayoutMenu/index.d.ts +1 -1
  36. package/dist/components/Utils/index.d.ts +1 -0
  37. package/dist/cookie-consent.js +1 -1
  38. package/dist/hooks/confirm-modal/confirm-modal.context.d.ts +3 -3
  39. package/dist/hooks/use-public-users.hook.d.ts +1 -0
  40. package/dist/hooks/use-public-users.hook.spec.d.ts +1 -0
  41. package/dist/hooks/use-rich-intl.hook.d.ts +112 -0
  42. package/dist/{index-Dbd_xKL4.js → index-0DKoS1Ho.js} +2 -2
  43. package/dist/{index-HKLND03d.js → index-BStJ2eR5.js} +2 -2
  44. package/dist/{index-0qb6YhgV.js → index-C-0bb3BS.js} +2 -2
  45. package/dist/{index-BpPAOM8y.js → index-C4iVvX_c.js} +1 -1
  46. package/dist/{index-D5bHj5Xy.js → index-CCaYRiXR.js} +2 -2
  47. package/dist/{index-ClzOO_BD.js → index-CTzGCHT1.js} +4 -4
  48. package/dist/{index-DgtjymrE.js → index-CWQyokns.js} +26568 -25493
  49. package/dist/{index-DZIEFA9C.js → index-C_VHuOIZ.js} +2 -2
  50. package/dist/{index-CMWMj2q-.js → index-CeZ2OKqT.js} +2 -2
  51. package/dist/{index-CrKObS9o.js → index-D-Z-Yepf.js} +2 -2
  52. package/dist/{index-Cbmdxst-.js → index-D-prSy8i.js} +3 -3
  53. package/dist/{index-1u1el1f5.js → index-DAG2YmhY.js} +2 -2
  54. package/dist/{index-CadocGiW.js → index-DMJCOIN6.js} +2 -2
  55. package/dist/{index-D7xEmIDx.js → index-DP9EENt-.js} +2 -2
  56. package/dist/{index-CYTUtJ1a.js → index-DPJn-INz.js} +2 -2
  57. package/dist/{index-BlAxx0qM.js → index-DedcVRIy.js} +4 -4
  58. package/dist/{index-CgrJ7FhF.js → index-HPIAkAU-.js} +2 -2
  59. package/dist/{index-eTVkFOlH.js → index-JqXrUnnS.js} +4 -4
  60. package/dist/{index-VTLXfj7y.js → index-VzGJqZUr.js} +3 -3
  61. package/dist/{index-ld9SEAyd.js → index-aJDianQ2.js} +3 -3
  62. package/dist/{index-rTu81tl5.js → index-paxe4Y8a.js} +2 -2
  63. package/dist/{index-DRhJX2fG.js → index-pojd1-xt.js} +3 -3
  64. package/dist/index.js +215 -208
  65. package/dist/translations/en.d.ts +40 -0
  66. package/dist/translations/family-i18n.spec.d.ts +1 -0
  67. package/dist/translations/fr.d.ts +40 -0
  68. package/package.json +4 -4
@@ -1,10 +1,11 @@
1
1
  import { SxProps } from '@mui/material';
2
+ import { FC, ReactNode } from 'react';
2
3
  export type UserAvatarProfileInfo = {
3
4
  email?: string;
4
5
  role?: string;
5
6
  status?: 'online' | 'offline' | 'away';
6
7
  joinedAt?: string;
7
- extra?: React.ReactNode;
8
+ extra?: ReactNode;
8
9
  };
9
10
  type Props = {
10
11
  userId: string;
@@ -17,5 +18,5 @@ type Props = {
17
18
  profileInfo?: UserAvatarProfileInfo;
18
19
  onClick?: () => void;
19
20
  };
20
- declare const UserAvatar: React.FC<Props>;
21
+ declare const UserAvatar: FC<Props>;
21
22
  export default UserAvatar;
@@ -1,5 +1,5 @@
1
- import { BoxProps } from '@mui/material';
2
1
  import { FC } from 'react';
2
+ import { BoxProps } from '@mui/material';
3
3
  export declare const InfoBox: FC<BoxProps>;
4
4
  export declare const ErrorInfoBox: FC<BoxProps>;
5
5
  export declare const WarnInfoBox: FC<BoxProps>;
@@ -1,4 +1,5 @@
1
1
  import { TextFieldProps } from '@mui/material';
2
+ import { FC } from 'react';
2
3
  export type AbyssNumberFieldProps = Omit<TextFieldProps, 'value' | 'onChange'> & {
3
4
  value: number | null;
4
5
  onChange: (value: number | null) => void;
@@ -12,5 +13,5 @@ export type AbyssNumberFieldProps = Omit<TextFieldProps, 'value' | 'onChange'> &
12
13
  max?: number;
13
14
  allowNegative?: boolean;
14
15
  };
15
- declare const AbyssNumberField: React.FC<AbyssNumberFieldProps>;
16
+ declare const AbyssNumberField: FC<AbyssNumberFieldProps>;
16
17
  export default AbyssNumberField;
@@ -3,6 +3,7 @@ export type ScopeOption = {
3
3
  id: string | null;
4
4
  name: string;
5
5
  logoId?: string | null;
6
+ kind?: 'standard' | 'family';
6
7
  };
7
8
  type Props = {
8
9
  organizations: ScopeOption[];
@@ -0,0 +1,43 @@
1
+ import { default as React } from 'react';
2
+ export type ContextSelectorProject = {
3
+ id: string;
4
+ name: string;
5
+ avatar?: React.ReactNode;
6
+ };
7
+ export type ContextSelectorOrganization = {
8
+ id: string;
9
+ name: string;
10
+ avatar?: React.ReactNode;
11
+ projects?: ContextSelectorProject[];
12
+ };
13
+ export type ContextSelectorPersonal = {
14
+ label?: string;
15
+ avatar?: React.ReactNode;
16
+ };
17
+ export type ContextSelectorData = {
18
+ personal: ContextSelectorPersonal;
19
+ organizations: ContextSelectorOrganization[];
20
+ };
21
+ export type ContextValue = {
22
+ kind: 'personal';
23
+ } | {
24
+ kind: 'organization';
25
+ organizationId: string;
26
+ } | {
27
+ kind: 'project';
28
+ organizationId: string;
29
+ projectId: string;
30
+ };
31
+ export type ContextSelectorVariant = 'grouped' | 'by-org';
32
+ type ContextSelectorProps = {
33
+ data: ContextSelectorData;
34
+ value: ContextValue;
35
+ onChange: (next: ContextValue) => void;
36
+ variant?: ContextSelectorVariant;
37
+ label?: string;
38
+ placeholder?: string;
39
+ disabled?: boolean;
40
+ minWidth?: number | string;
41
+ };
42
+ export declare const ContextSelector: React.FC<ContextSelectorProps>;
43
+ export default ContextSelector;
@@ -0,0 +1,2 @@
1
+ export { ContextSelector } from './ContextSelector.component';
2
+ export type { ContextSelectorProject, ContextSelectorOrganization, ContextSelectorPersonal, ContextSelectorData, ContextValue, ContextSelectorVariant, } from './ContextSelector.component';
@@ -1,3 +1,4 @@
1
+ import { Locale } from 'date-fns';
1
2
  import { default as React } from 'react';
2
3
  export type DatePeriodPreset = {
3
4
  label: string;
@@ -19,6 +20,7 @@ export type DatePeriodPickerProps = {
19
20
  endLabel?: string;
20
21
  hideSummary?: boolean;
21
22
  customLabel?: string;
23
+ locale?: Locale;
22
24
  };
23
25
  declare const DatePeriodPicker: React.FC<DatePeriodPickerProps>;
24
26
  export default DatePeriodPicker;
@@ -0,0 +1,16 @@
1
+ import { Locale } from 'date-fns';
2
+ export type EditingBound = 'start' | 'end';
3
+ export type RangeUpdateInput = {
4
+ editing: EditingBound;
5
+ picked: Date;
6
+ startDate: Date | null;
7
+ endDate: Date | null;
8
+ };
9
+ export type RangeUpdateResult = {
10
+ start: Date | null;
11
+ end: Date | null;
12
+ startChanged: boolean;
13
+ endChanged: boolean;
14
+ };
15
+ export declare const computeRangeUpdate: (input: RangeUpdateInput) => RangeUpdateResult;
16
+ export declare const resolveDateFnsLocale: (language?: string | null) => Locale;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ code: string;
4
+ label: string;
5
+ variant?: 'body1' | 'body2' | 'caption';
6
+ gap?: number;
7
+ };
8
+ export declare const LanguageFlagLabel: React.FC<Props>;
9
+ export default LanguageFlagLabel;
@@ -0,0 +1,2 @@
1
+ export { LanguageFlagLabel } from './LanguageFlagLabel.component';
2
+ export { LANGUAGE_FLAGS, getLanguageFlag } from './language-flags';
@@ -0,0 +1,2 @@
1
+ export declare const LANGUAGE_FLAGS: Record<string, string>;
2
+ export declare const getLanguageFlag: (language: string) => string;
@@ -1,15 +1,16 @@
1
1
  import { SxProps } from '@mui/material';
2
+ import { FC, ChangeEvent } from 'react';
2
3
  type Props = {
3
4
  name: string;
4
5
  label?: string;
5
6
  placeholder?: string;
6
7
  value: string;
7
8
  error: boolean;
8
- onChange: (e: React.ChangeEvent<any>) => void;
9
+ onChange: (e: ChangeEvent<any>) => void;
9
10
  variant?: 'filled' | 'outlined';
10
11
  size?: 'small' | 'medium';
11
12
  sx?: SxProps;
12
13
  disabled?: boolean;
13
14
  };
14
- declare const LoginForm: React.FC<Props>;
15
+ declare const LoginForm: FC<Props>;
15
16
  export default LoginForm;
@@ -15,3 +15,5 @@ export * from './ProjectTagChip';
15
15
  export * from './ProjectCategoryBadge';
16
16
  export * from './ProjectLinkSelector';
17
17
  export * from './AbyssScopeSwitcher';
18
+ export * from './LanguageFlagLabel';
19
+ export * from './ContextSelector';
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ export type FamilyBannerVariant = 'footer' | 'settings';
3
+ export type FamilyBannerStatus = 'none' | 'pending' | 'active' | 'owner';
4
+ export type CurrentFamilyInfo = {
5
+ id: string;
6
+ name: string;
7
+ role: string;
8
+ status: FamilyBannerStatus;
9
+ };
10
+ type Props = {
11
+ currentFamily?: CurrentFamilyInfo | null;
12
+ abyssUrl?: string;
13
+ variant: FamilyBannerVariant;
14
+ };
15
+ export declare function resolveBannerState(currentFamily: CurrentFamilyInfo | null | undefined): FamilyBannerStatus;
16
+ export declare function resolveCTAHref(currentFamily: CurrentFamilyInfo | null | undefined, abyssUrl: string | undefined): string;
17
+ export declare function resolveVariantLayout(variant: FamilyBannerVariant): {
18
+ isCompact: boolean;
19
+ showDescription: boolean;
20
+ showCardWrapper: boolean;
21
+ ctaAs: 'button' | 'link';
22
+ };
23
+ declare const AbyssFamilyBanner: React.FC<Props>;
24
+ export default AbyssFamilyBanner;
@@ -0,0 +1,2 @@
1
+ export { default as AbyssFamilyBanner } from './AbyssFamilyBanner.component';
2
+ export type { CurrentFamilyInfo, FamilyBannerStatus, FamilyBannerVariant, } from './AbyssFamilyBanner.component';
@@ -8,4 +8,5 @@ export * from './AbyssSidebar';
8
8
  export * from './AbyssThemeToggle';
9
9
  export * from './AbyssSearchBar';
10
10
  export * from './AbyssBillingPlan';
11
+ export * from './AbyssFamilyBanner';
11
12
  export * from './AbyssLoadingScreen';
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { DialogProps, SxProps } from '@mui/material';
3
3
  type Props = {
4
+ hideCloseButton?: boolean;
4
5
  disableCloseButton?: boolean;
5
6
  sxCloseButton?: SxProps;
6
7
  onClose?: () => void;
@@ -1,3 +1,4 @@
1
+ import { FC } from 'react';
1
2
  import { UserSettingsUser } from './UserSettingsModal.component';
2
3
  type Props = {
3
4
  isOpen: boolean;
@@ -9,5 +10,5 @@ type Props = {
9
10
  apiKey: string;
10
11
  abyssUrl: string;
11
12
  };
12
- declare const UserSettings: React.FC<Props>;
13
+ declare const UserSettings: FC<Props>;
13
14
  export default UserSettings;
@@ -4,6 +4,12 @@ export type UserSettingsUser = {
4
4
  phone?: string | null;
5
5
  name?: string | null;
6
6
  familyName?: string | null;
7
+ currentFamily?: {
8
+ id: string;
9
+ name: string;
10
+ role: string;
11
+ status: 'none' | 'pending' | 'active' | 'owner';
12
+ } | null;
7
13
  };
8
14
  export type UserSettingsValues = {
9
15
  alias: string;
@@ -11,6 +17,7 @@ export type UserSettingsValues = {
11
17
  name: string;
12
18
  familyName: string;
13
19
  };
20
+ export declare function shouldRenderFamilyBanner(user: UserSettingsUser, overrideFamily?: UserSettingsUser['currentFamily']): boolean;
14
21
  type Props = {
15
22
  isOpen: boolean;
16
23
  onCancel: () => Promise<void>;
@@ -22,6 +29,7 @@ type Props = {
22
29
  abyssUrl: string;
23
30
  profileSuffix?: string;
24
31
  deleteAccountSuffix?: string;
32
+ currentFamily?: UserSettingsUser['currentFamily'];
25
33
  };
26
34
  declare const UserSettingsModal: React.FC<Props>;
27
35
  export default UserSettingsModal;
@@ -1,7 +1,7 @@
1
+ import { ReactNode } from 'react';
1
2
  import { AssetKind } from '@abyss-project/main';
2
3
  import { ISpace, IFile } from '@abyss-project/cloud';
3
4
  import { SupportCloudImportProps } from '../Support/types';
4
- import type * as React from 'react';
5
5
  export interface PdfEditorCloudImportProps extends SupportCloudImportProps {
6
6
  downloadCloudFile: (cloud: ISpace, file: IFile) => Promise<ArrayBuffer>;
7
7
  }
@@ -174,18 +174,18 @@ export interface AssetPaletteOrgBucket {
174
174
  id: string;
175
175
  name: string;
176
176
  items: AssetPaletteItem[];
177
- avatar?: React.ReactNode;
177
+ avatar?: ReactNode;
178
178
  }
179
179
  export interface AssetPaletteProjectBucket {
180
180
  id: string;
181
181
  name: string;
182
182
  organizationId: string;
183
183
  items: AssetPaletteItem[];
184
- avatar?: React.ReactNode;
184
+ avatar?: ReactNode;
185
185
  }
186
186
  export interface AssetPalette {
187
187
  personal: AssetPaletteItem[];
188
- personalAvatar?: React.ReactNode;
188
+ personalAvatar?: ReactNode;
189
189
  organizations?: AssetPaletteOrgBucket[];
190
190
  projects?: AssetPaletteProjectBucket[];
191
191
  }
@@ -1,6 +1,6 @@
1
+ import { ReactNode } from 'react';
1
2
  import { ISupportTicket, ISupportTicketMessage, ISupportTicketActivity, ISupportTicketAttachment, ISupportTicketTag, SupportTicketStatus, SupportTicketCategory, SupportTicketPriority, SupportTicketAction, AbyssService } from '@abyss-project/main';
2
3
  import { ISpace, IFile, IGetRepositoryCloudData } from '@abyss-project/cloud';
3
- import { default as React } from 'react';
4
4
  export interface SupportCloudImportProps {
5
5
  user?: {
6
6
  enabledService?: string[];
@@ -17,7 +17,7 @@ export interface SupportCloudImportProps {
17
17
  handleImportFromCloud?: (cloud: ISpace, files: IFile[]) => Promise<void>;
18
18
  getSpaceDisplay?: (space: ISpace) => {
19
19
  label: string;
20
- avatar?: React.ReactNode;
20
+ avatar?: ReactNode;
21
21
  subtitle?: string;
22
22
  organizationId?: string | null;
23
23
  organizationName?: string | null;
@@ -49,7 +49,7 @@ export interface SupportTicketListProps {
49
49
  onCreateClick?: () => void;
50
50
  isLoading: boolean;
51
51
  isAdmin?: boolean;
52
- renderRowActions?: (ticket: ISupportTicket) => React.ReactNode;
52
+ renderRowActions?: (ticket: ISupportTicket) => ReactNode;
53
53
  showRequester?: boolean;
54
54
  requesterUsers?: Record<string, {
55
55
  alias?: string | null;
@@ -59,7 +59,7 @@ export interface SupportTicketListProps {
59
59
  name?: string | null;
60
60
  pictureThumbnailId?: string | null;
61
61
  }>;
62
- renderExtraFilters?: () => React.ReactNode;
62
+ renderExtraFilters?: () => ReactNode;
63
63
  title?: string;
64
64
  subtitle?: string;
65
65
  hideCreateButton?: boolean;
@@ -91,8 +91,8 @@ export interface SupportTicketCreateStepperProps {
91
91
  isAdmin?: boolean;
92
92
  onCancel?: () => void;
93
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;
94
+ renderForWhoStep?: (userId: string | null, onUserChange: (userId: string | null) => void, orgId: string | null, onOrgChange: (orgId: string | null) => void) => ReactNode;
95
+ renderProjectSelect?: (value: string | null, onChange: (projectId: string | null) => void) => ReactNode;
96
96
  }
97
97
  export interface SupportCategoryGroupCardsProps {
98
98
  value: SupportTicketCategory | null;
@@ -1,4 +1,5 @@
1
1
  import { AbyssService } from '@abyss-project/main';
2
+ import { FC } from 'react';
2
3
  export declare const DRAWER_WIDTH_EXPANDED = 275;
3
4
  export declare const DRAWER_WIDTH_COLLAPSED = 72;
4
5
  export type DrawerElements = {
@@ -34,5 +35,5 @@ type Props = {
34
35
  onCollapsedChange?: (collapsed: boolean) => void;
35
36
  defaultCollapsed?: boolean;
36
37
  };
37
- declare const AbyssDrawer: React.FC<Props>;
38
+ declare const AbyssDrawer: FC<Props>;
38
39
  export default AbyssDrawer;
@@ -0,0 +1,6 @@
1
+ import { AbyssLayoutMenuSection } from '../AbyssLayoutMenu/AbyssLayoutMenu.component';
2
+ import { CurrentFamilyInfo } from '../../Layouts/AbyssFamilyBanner/AbyssFamilyBanner.component';
3
+ export declare function buildAbyssFamilyMenuSection(currentFamily: CurrentFamilyInfo | null | undefined, abyssUrl: string | undefined, labels?: {
4
+ title?: string;
5
+ createCta?: string;
6
+ }): AbyssLayoutMenuSection;
@@ -0,0 +1 @@
1
+ export { buildAbyssFamilyMenuSection } from './AbyssFamilyMenuSection';
@@ -16,7 +16,7 @@ export type AbyssLayoutMenuSection = {
16
16
  title?: string;
17
17
  elements: AbyssLayoutMenuElement[];
18
18
  };
19
- type AbyssLayoutMenuUser = {
19
+ export type AbyssLayoutMenuUser = {
20
20
  id?: string;
21
21
  alias?: string | null;
22
22
  name?: string | null;
@@ -24,6 +24,12 @@ type AbyssLayoutMenuUser = {
24
24
  billingAccount?: {
25
25
  planTemplate?: IPlanTemplate;
26
26
  } | null;
27
+ currentFamily?: {
28
+ id: string;
29
+ name: string;
30
+ role: string;
31
+ status: 'none' | 'pending' | 'active' | 'owner';
32
+ } | null;
27
33
  };
28
34
  type Props = {
29
35
  user?: AbyssLayoutMenuUser | null;
@@ -1,3 +1,3 @@
1
1
  export { default as AbyssLayoutMenu } from './AbyssLayoutMenu.component';
2
2
  export { AbyssMenuItem } from './AbyssMenuItem.component';
3
- export type { AbyssLayoutMenuSection, AbyssLayoutMenuElement } from './AbyssLayoutMenu.component';
3
+ export type { AbyssLayoutMenuSection, AbyssLayoutMenuElement, AbyssLayoutMenuUser } from './AbyssLayoutMenu.component';
@@ -8,3 +8,4 @@ export * from './Toast';
8
8
  export * from './AbyssHeaderTitle';
9
9
  export * from './AbyssLayoutMenu';
10
10
  export * from './AbyssErrorPage';
11
+ export * from './AbyssFamilyMenuSection';
@@ -1,4 +1,4 @@
1
- import { A as s, c as a, C as n, a as i, R as C, V as t, d as r, f as k, r as c, e as A, u as l, b, w as d } from "./CookieConsentSettings.component-DIIK_rRd.js";
1
+ import { A as s, c as a, C as n, a as i, R as C, V as t, d as r, f as k, r as c, e as A, u as l, b, w as d } from "./CookieConsentSettings.component-OElkXdNK.js";
2
2
  export {
3
3
  s as AbyssCookieConsentProvider,
4
4
  a as COOKIE_NAME,
@@ -1,8 +1,8 @@
1
- import { ComponentProps } from 'react';
1
+ import { ComponentProps, FC, ReactNode } from 'react';
2
2
  import { default as ConfirmModal } from '../../components/Modals/ConfirmModal';
3
3
  type Params = Partial<Omit<ComponentProps<typeof ConfirmModal>, 'isOpen'>>;
4
- export declare const ConfirmModalContextProvider: React.FC<{
5
- children: React.ReactNode;
4
+ export declare const ConfirmModalContextProvider: FC<{
5
+ children: ReactNode;
6
6
  }>;
7
7
  export declare const useConfirm: () => {
8
8
  confirm: (p?: Params) => Promise<boolean>;
@@ -6,6 +6,7 @@ export type PublicUser = {
6
6
  emailVerifiedAt: Date | null;
7
7
  };
8
8
  export declare const publicUserQueryKey: (userId: string) => readonly ["public-user", string];
9
+ export declare const fetchPublicUserBatched: (userId: string) => Promise<PublicUser | null>;
9
10
  export declare const usePublicUser: (userId: string | null | undefined) => UseQueryResult<PublicUser | null, Error>;
10
11
  export declare const usePublicUsers: (userIds: readonly (string | null | undefined)[]) => Record<string, PublicUser>;
11
12
  export declare const primePublicUsers: (queryClient: QueryClient, users: readonly PublicUser[]) => void;
@@ -0,0 +1 @@
1
+ export {};
@@ -130,6 +130,22 @@ export declare const translations: {
130
130
  title: string;
131
131
  content: string;
132
132
  };
133
+ "memories-event-pdf-ready": {
134
+ title: string;
135
+ content: string;
136
+ };
137
+ "memories-highlight-reel-ready": {
138
+ title: string;
139
+ content: string;
140
+ };
141
+ "memories-seasonal-compilation-ready": {
142
+ title: string;
143
+ content: string;
144
+ };
145
+ "memories-content-shared": {
146
+ title: string;
147
+ content: string;
148
+ };
133
149
  };
134
150
  ABYSS_BANKING: {
135
151
  "bank-connection-success": {
@@ -444,6 +460,7 @@ export declare const translations: {
444
460
  settings: string;
445
461
  billing: string;
446
462
  logout: string;
463
+ family: string;
447
464
  };
448
465
  scope: {
449
466
  personal: string;
@@ -456,6 +473,12 @@ export declare const translations: {
456
473
  decline: string;
457
474
  };
458
475
  };
476
+ 'context-selector': {
477
+ personal: string;
478
+ organization: string;
479
+ projects: string;
480
+ 'org-entry': string;
481
+ };
459
482
  general: {
460
483
  error: string;
461
484
  retry: string;
@@ -502,6 +525,22 @@ export declare const translations: {
502
525
  'theme-light': string;
503
526
  'theme-dark': string;
504
527
  };
528
+ table: {
529
+ 'rows-per-page': string;
530
+ 'displayed-rows': string;
531
+ 'displayed-rows-empty': string;
532
+ 'rows-count': string;
533
+ 'page-of': string;
534
+ search: string;
535
+ empty: string;
536
+ 'show-filters': string;
537
+ 'hide-filters': string;
538
+ 'clear-filters': string;
539
+ 'first-page': string;
540
+ 'previous-page': string;
541
+ 'next-page': string;
542
+ 'last-page': string;
543
+ };
505
544
  'file-importation': {
506
545
  'cloud-usage-metrics': {
507
546
  title: string;
@@ -1008,6 +1047,23 @@ export declare const translations: {
1008
1047
  'open-button-tooltip': string;
1009
1048
  };
1010
1049
  };
1050
+ family: {
1051
+ banner: {
1052
+ 'no-family': string;
1053
+ 'no-family-cta': string;
1054
+ pending: string;
1055
+ active: string;
1056
+ manage: string;
1057
+ 'owner-badge': string;
1058
+ 'coming-soon': string;
1059
+ settings: {
1060
+ 'no-family-description': string;
1061
+ 'pending-description': string;
1062
+ 'active-description': string;
1063
+ 'owner-description': string;
1064
+ };
1065
+ };
1066
+ };
1011
1067
  support: {
1012
1068
  status: {
1013
1069
  OPEN: string;
@@ -1328,6 +1384,22 @@ export declare const translations: {
1328
1384
  title: string;
1329
1385
  content: string;
1330
1386
  };
1387
+ "memories-event-pdf-ready": {
1388
+ title: string;
1389
+ content: string;
1390
+ };
1391
+ "memories-highlight-reel-ready": {
1392
+ title: string;
1393
+ content: string;
1394
+ };
1395
+ "memories-seasonal-compilation-ready": {
1396
+ title: string;
1397
+ content: string;
1398
+ };
1399
+ "memories-content-shared": {
1400
+ title: string;
1401
+ content: string;
1402
+ };
1331
1403
  };
1332
1404
  ABYSS_BANKING: {
1333
1405
  "bank-connection-success": {
@@ -1642,6 +1714,7 @@ export declare const translations: {
1642
1714
  settings: string;
1643
1715
  billing: string;
1644
1716
  logout: string;
1717
+ family: string;
1645
1718
  };
1646
1719
  scope: {
1647
1720
  personal: string;
@@ -1654,6 +1727,12 @@ export declare const translations: {
1654
1727
  decline: string;
1655
1728
  };
1656
1729
  };
1730
+ 'context-selector': {
1731
+ personal: string;
1732
+ organization: string;
1733
+ projects: string;
1734
+ 'org-entry': string;
1735
+ };
1657
1736
  general: {
1658
1737
  error: string;
1659
1738
  retry: string;
@@ -1700,6 +1779,22 @@ export declare const translations: {
1700
1779
  'theme-light': string;
1701
1780
  'theme-dark': string;
1702
1781
  };
1782
+ table: {
1783
+ 'rows-per-page': string;
1784
+ 'displayed-rows': string;
1785
+ 'displayed-rows-empty': string;
1786
+ 'rows-count': string;
1787
+ 'page-of': string;
1788
+ search: string;
1789
+ empty: string;
1790
+ 'show-filters': string;
1791
+ 'hide-filters': string;
1792
+ 'clear-filters': string;
1793
+ 'first-page': string;
1794
+ 'previous-page': string;
1795
+ 'next-page': string;
1796
+ 'last-page': string;
1797
+ };
1703
1798
  'file-importation': {
1704
1799
  'cloud-usage-metrics': {
1705
1800
  title: string;
@@ -2397,6 +2492,23 @@ export declare const translations: {
2397
2492
  ABYSS_TOOLS: string;
2398
2493
  };
2399
2494
  };
2495
+ family: {
2496
+ banner: {
2497
+ 'no-family': string;
2498
+ 'no-family-cta': string;
2499
+ pending: string;
2500
+ active: string;
2501
+ manage: string;
2502
+ 'owner-badge': string;
2503
+ 'coming-soon': string;
2504
+ settings: {
2505
+ 'no-family-description': string;
2506
+ 'pending-description': string;
2507
+ 'active-description': string;
2508
+ 'owner-description': string;
2509
+ };
2510
+ };
2511
+ };
2400
2512
  };
2401
2513
  };
2402
2514
  export declare const flattenTranslations: {
@@ -1,5 +1,5 @@
1
- import { L as o, E as a } from "./index-BpPAOM8y.js";
2
- import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./index-DgtjymrE.js";
1
+ import { L as o, E as a } from "./index-C4iVvX_c.js";
2
+ import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./index-CWQyokns.js";
3
3
  const g = 1, R = 2, b = 3, y = 4, T = 5, s = 98, c = 101, v = 102, t = 114, p = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
4
4
  function n(O) {
5
5
  return O >= 48 && O <= 57;
@@ -1,5 +1,5 @@
1
- import { L as s } from "./index-BpPAOM8y.js";
2
- import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./index-DgtjymrE.js";
1
+ import { L as s } from "./index-C4iVvX_c.js";
2
+ import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./index-CWQyokns.js";
3
3
  const g = n({
4
4
  String: r.string,
5
5
  Number: r.number,