@abyss-project/commons-front-core 1.0.14 → 1.0.15

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.
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ import { IUser } from '@abyss-project/main';
3
+ export declare const DELETE_ACCOUNT_SUFFIX = "dashboard/my-account/ticket/create?service=ABYSS&category=ACCOUNT_MANAGEMENT";
4
+ export declare const PROFILE_SUFFIX = "dashboard/my-account/parameter";
5
+ type Props = {
6
+ isOpen: boolean;
7
+ onCancel: () => Promise<void>;
8
+ resetApiKey: () => Promise<void>;
9
+ fetchMe: () => Promise<void>;
10
+ user: IUser;
11
+ isLoading: boolean;
12
+ apiKey: string;
13
+ abyssUrl: string;
14
+ classes: Record<string, string>;
15
+ };
16
+ declare const _default: React.JSXElementConstructor<Omit<Props & {
17
+ children?: React.ReactNode;
18
+ }, "classes"> & import('@mui/styles/withStyles').StyledComponentProps<string> & object>;
19
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UserSettings } from './UserSettingsModal.component';
2
+ export * from './UserSettingsModal.component';
@@ -4,3 +4,4 @@ export * from './ImportFromCloudModal';
4
4
  export * from './ImportFromCollectionModal';
5
5
  export * from './QRCodeModal';
6
6
  export * from './SaveCloudModal';
7
+ export * from './UserSettings';
@@ -130,6 +130,27 @@ export declare const translations: {
130
130
  'see-all-button': string;
131
131
  };
132
132
  'no-subscription': string;
133
+ 'user-settings': {
134
+ profile: {
135
+ title: string;
136
+ fields: {
137
+ alias: string;
138
+ name: string;
139
+ familyName: string;
140
+ 'api-key': string;
141
+ };
142
+ helper: string;
143
+ 'open-on-abyss': string;
144
+ 'copy-api-key': string;
145
+ 'reset-api-key': string;
146
+ 'confirm-reset-api-key': string;
147
+ 'helper-confirm-reset-api-key': string;
148
+ subscription: string;
149
+ 'no-subscription': string;
150
+ 'see-subscription-button': string;
151
+ 'delete-account-button': string;
152
+ };
153
+ };
133
154
  };
134
155
  en: {
135
156
  general: {