@abyss-project/commons-front-core 1.0.55 → 1.0.57
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/dist/components/Banking/AccountTransactions/AccountTransactionsRow.component.d.ts +32 -0
- package/dist/components/Banking/AccountTransactions/index.d.ts +2 -0
- package/dist/components/Banking/Inputs/SelectAccountTransactionCategory/SelectAccountTransactionCategory.component.d.ts +15 -0
- package/dist/components/Banking/Inputs/SelectAccountTransactionCategory/index.d.ts +1 -0
- package/dist/components/Banking/Inputs/index.d.ts +1 -0
- package/dist/components/Banking/index.d.ts +1 -0
- package/dist/components/Inputs/AbyssDatePicker/AbyssDatePicker.component.d.ts +5 -0
- package/dist/components/Inputs/AbyssDatePicker/index.d.ts +1 -0
- package/dist/components/UserAvatarList/UserAvatarList.component.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/hooks/use-rich-intl.hook.d.ts +12 -0
- package/dist/{index-DuRIm2Oi.js → index-SyoJQOHN.js} +7236 -6937
- package/dist/index.js +63 -62
- package/dist/translations/en.d.ts +6 -0
- package/dist/translations/fr.d.ts +6 -0
- package/dist/{web-CTT-g-Hg.js → web-CKc67auh.js} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IBankAccount, ICategory } from '@abyss-project/banking';
|
|
3
|
+
export type PartialAccountTransaction = {
|
|
4
|
+
id: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
comment: string | null;
|
|
7
|
+
currency: string;
|
|
8
|
+
description: string;
|
|
9
|
+
bankAccountId: string;
|
|
10
|
+
date: Date;
|
|
11
|
+
transactionCategory?: {
|
|
12
|
+
id?: string;
|
|
13
|
+
categoryId: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
type Props = {
|
|
17
|
+
index: number;
|
|
18
|
+
accountTransaction: PartialAccountTransaction;
|
|
19
|
+
bankAccount: IBankAccount;
|
|
20
|
+
handleChangeCategory?: (accountTransaction: PartialAccountTransaction, categoryIds: string[]) => Promise<void>;
|
|
21
|
+
isLoading: boolean;
|
|
22
|
+
handleFetchAccountTransactions: () => Promise<void>;
|
|
23
|
+
displayCategoryList?: boolean;
|
|
24
|
+
collapseChildren?: React.ReactNode;
|
|
25
|
+
categories: ICategory[];
|
|
26
|
+
classes: Record<string, string>;
|
|
27
|
+
handleOpenCommentModal?: () => void;
|
|
28
|
+
};
|
|
29
|
+
declare const _default: React.JSXElementConstructor<Omit<Props & {
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
}, "classes"> & import('@mui/styles/withStyles').StyledComponentProps<string> & object>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SelectChangeEvent } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { ICategory } from '@abyss-project/banking';
|
|
4
|
+
type Props = {
|
|
5
|
+
value?: string[];
|
|
6
|
+
onChange?: (event: SelectChangeEvent<string[]>) => void;
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
error?: boolean;
|
|
9
|
+
categories: ICategory[];
|
|
10
|
+
classes: Record<string, string>;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: React.JSXElementConstructor<Omit<Props & {
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
}, "classes"> & import('@mui/styles/withStyles').StyledComponentProps<string> & object>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SelectAccountTransactionCategory } from './SelectAccountTransactionCategory.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SelectAccountTransactionCategory';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AccountTransactions';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DateTimePickerProps } from '@mui/x-date-pickers';
|
|
2
|
+
declare const _default: import('react').JSXElementConstructor<Omit<DateTimePickerProps<Date> & {
|
|
3
|
+
children?: import('react').ReactNode;
|
|
4
|
+
}, "classes"> & import('@mui/styles/withStyles').StyledComponentProps<string> & object>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AbyssDatePicker } from './AbyssDatePicker.component';
|
|
@@ -519,6 +519,12 @@ export declare const translations: {
|
|
|
519
519
|
'delete-account-button': string;
|
|
520
520
|
};
|
|
521
521
|
};
|
|
522
|
+
'abyss-banking': {
|
|
523
|
+
transactions: {
|
|
524
|
+
'placeholder-category': string;
|
|
525
|
+
'open-button-tooltip': string;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
522
528
|
};
|
|
523
529
|
en: {
|
|
524
530
|
common: {
|
|
@@ -1037,6 +1043,12 @@ export declare const translations: {
|
|
|
1037
1043
|
'delete-account-button': string;
|
|
1038
1044
|
};
|
|
1039
1045
|
};
|
|
1046
|
+
'abyss-banking': {
|
|
1047
|
+
transactions: {
|
|
1048
|
+
'placeholder-category': string;
|
|
1049
|
+
'open-button-tooltip': string;
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1040
1052
|
};
|
|
1041
1053
|
};
|
|
1042
1054
|
export declare const flattenTranslations: {
|