@layerfi/components 0.1.39 → 0.1.41

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/index.d.ts CHANGED
@@ -777,13 +777,19 @@ declare module '@layerfi/components/components/BadgeLoader/index' {
777
777
  }
778
778
  declare module '@layerfi/components/components/BalanceSheet/BalanceSheet' {
779
779
  import React, { PropsWithChildren } from 'react';
780
+ import { BalanceSheetTableStringOverrides } from '@layerfi/components/components/BalanceSheetTable/BalanceSheetTable';
781
+ export interface BalanceSheetStringOverrides {
782
+ balanceSheetTable?: BalanceSheetTableStringOverrides;
783
+ }
780
784
  export type BalanceSheetViewProps = PropsWithChildren & {
781
785
  withExpandAllButton?: boolean;
782
786
  asWidget?: boolean;
787
+ stringOverrides?: BalanceSheetStringOverrides;
783
788
  };
784
789
  export type BalanceSheetProps = PropsWithChildren & {
785
790
  effectiveDate?: Date;
786
791
  asWidget?: boolean;
792
+ stringOverrides?: BalanceSheetStringOverrides;
787
793
  };
788
794
  export const BalanceSheet: (props: BalanceSheetProps) => React.JSX.Element;
789
795
 
@@ -825,14 +831,19 @@ declare module '@layerfi/components/components/BalanceSheetExpandAllButton/index
825
831
  declare module '@layerfi/components/components/BalanceSheetTable/BalanceSheetTable' {
826
832
  import React from 'react';
827
833
  import { BalanceSheet } from '@layerfi/components/types';
834
+ export interface BalanceSheetTableStringOverrides {
835
+ typeColumnHeader?: string;
836
+ totalColumnHeader?: string;
837
+ }
828
838
  type BalanceSheetRowProps = {
829
839
  name: string;
830
840
  displayName: string;
831
841
  lineItem: string;
832
842
  };
833
- export const BalanceSheetTable: ({ data, config, }: {
843
+ export const BalanceSheetTable: ({ data, config, stringOverrides, }: {
834
844
  data: BalanceSheet;
835
845
  config: BalanceSheetRowProps[];
846
+ stringOverrides?: BalanceSheetTableStringOverrides | undefined;
836
847
  }) => React.JSX.Element;
837
848
  export {};
838
849
 
@@ -853,6 +864,7 @@ declare module '@layerfi/components/components/BankTransactionList/Assignment' {
853
864
  declare module '@layerfi/components/components/BankTransactionList/BankTransactionList' {
854
865
  import React from 'react';
855
866
  import { BankTransaction } from '@layerfi/components/types';
867
+ import { BankTransactionCTAStringOverrides } from '@layerfi/components/components/BankTransactions/BankTransactions';
856
868
  interface BankTransactionListProps {
857
869
  bankTransactions?: BankTransaction[];
858
870
  editable: boolean;
@@ -861,14 +873,16 @@ declare module '@layerfi/components/components/BankTransactionList/BankTransacti
861
873
  showDescriptions?: boolean;
862
874
  showReceiptUploads?: boolean;
863
875
  hardRefreshPnlOnCategorize?: boolean;
876
+ stringOverrides?: BankTransactionCTAStringOverrides;
864
877
  }
865
- export const BankTransactionList: ({ bankTransactions, editable, removeTransaction, containerWidth, showDescriptions, showReceiptUploads, hardRefreshPnlOnCategorize, }: BankTransactionListProps) => React.JSX.Element;
878
+ export const BankTransactionList: ({ bankTransactions, editable, removeTransaction, containerWidth, showDescriptions, showReceiptUploads, hardRefreshPnlOnCategorize, stringOverrides, }: BankTransactionListProps) => React.JSX.Element;
866
879
  export {};
867
880
 
868
881
  }
869
882
  declare module '@layerfi/components/components/BankTransactionList/BankTransactionListItem' {
870
883
  import React from 'react';
871
884
  import { BankTransaction } from '@layerfi/components/types';
885
+ import { BankTransactionCTAStringOverrides } from '@layerfi/components/components/BankTransactions/BankTransactions';
872
886
  type Props = {
873
887
  index: number;
874
888
  dateFormat: string;
@@ -879,8 +893,9 @@ declare module '@layerfi/components/components/BankTransactionList/BankTransacti
879
893
  hardRefreshPnlOnCategorize: boolean;
880
894
  removeTransaction: (bt: BankTransaction) => void;
881
895
  containerWidth?: number;
896
+ stringOverrides?: BankTransactionCTAStringOverrides;
882
897
  };
883
- export const BankTransactionListItem: ({ index, dateFormat, bankTransaction, editable, showDescriptions, showReceiptUploads, hardRefreshPnlOnCategorize, containerWidth, removeTransaction, }: Props) => React.JSX.Element;
898
+ export const BankTransactionListItem: ({ index, dateFormat, bankTransaction, editable, showDescriptions, showReceiptUploads, hardRefreshPnlOnCategorize, containerWidth, removeTransaction, stringOverrides, }: Props) => React.JSX.Element;
884
899
  export {};
885
900
 
886
901
  }
@@ -1040,6 +1055,7 @@ declare module '@layerfi/components/components/BankTransactionMobileList/utils'
1040
1055
  declare module '@layerfi/components/components/BankTransactionRow/BankTransactionRow' {
1041
1056
  import React from 'react';
1042
1057
  import { BankTransaction, Category } from '@layerfi/components/types';
1058
+ import { BankTransactionCTAStringOverrides } from '@layerfi/components/components/BankTransactions/BankTransactions';
1043
1059
  type Props = {
1044
1060
  index: number;
1045
1061
  editable: boolean;
@@ -1051,11 +1067,12 @@ declare module '@layerfi/components/components/BankTransactionRow/BankTransactio
1051
1067
  showDescriptions: boolean;
1052
1068
  showReceiptUploads: boolean;
1053
1069
  hardRefreshPnlOnCategorize: boolean;
1070
+ stringOverrides?: BankTransactionCTAStringOverrides;
1054
1071
  };
1055
1072
  export type LastSubmittedForm = 'simple' | 'match' | 'split' | undefined;
1056
1073
  export const extractDescriptionForSplit: (category: Category) => string;
1057
1074
  export const getDefaultSelectedCategory: (bankTransaction: BankTransaction) => import("@layerfi/components/components/CategorySelect/CategorySelect").CategoryOption | undefined;
1058
- export const BankTransactionRow: ({ index, editable, dateFormat, bankTransaction, removeTransaction, containerWidth, initialLoad, showDescriptions, showReceiptUploads, hardRefreshPnlOnCategorize, }: Props) => React.JSX.Element;
1075
+ export const BankTransactionRow: ({ index, editable, dateFormat, bankTransaction, removeTransaction, containerWidth, initialLoad, showDescriptions, showReceiptUploads, hardRefreshPnlOnCategorize, stringOverrides, }: Props) => React.JSX.Element;
1059
1076
  export {};
1060
1077
 
1061
1078
  }
@@ -1087,7 +1104,18 @@ declare module '@layerfi/components/components/BankTransactionRow/index' {
1087
1104
  declare module '@layerfi/components/components/BankTransactions/BankTransactions' {
1088
1105
  import React from 'react';
1089
1106
  import { BankTransactionFilters } from '@layerfi/components/hooks/useBankTransactions/types';
1107
+ import { BankTransactionsTableStringOverrides } from '@layerfi/components/components/BankTransactionsTable/BankTransactionsTable';
1108
+ import { BankTransactionsHeaderStringOverrides } from '@layerfi/components/components/BankTransactions/BankTransactionsHeader';
1090
1109
  import { MobileComponentType } from '@layerfi/components/components/BankTransactions/constants';
1110
+ export interface BankTransactionsStringOverrides {
1111
+ bankTransactionCTAs?: BankTransactionCTAStringOverrides;
1112
+ transactionsTable?: BankTransactionsTableStringOverrides;
1113
+ bankTransactionsHeader?: BankTransactionsHeaderStringOverrides;
1114
+ }
1115
+ export interface BankTransactionCTAStringOverrides {
1116
+ approveButtonText?: string;
1117
+ updateButtonText?: string;
1118
+ }
1091
1119
  export interface BankTransactionsProps {
1092
1120
  asWidget?: boolean;
1093
1121
  pageSize?: number;
@@ -1100,6 +1128,7 @@ declare module '@layerfi/components/components/BankTransactions/BankTransactions
1100
1128
  mobileComponent?: MobileComponentType;
1101
1129
  filters?: BankTransactionFilters;
1102
1130
  hideHeader?: boolean;
1131
+ stringOverrides?: BankTransactionsStringOverrides;
1103
1132
  }
1104
1133
  export interface BankTransactionsWithErrorProps extends BankTransactionsProps {
1105
1134
  onError?: (error: Error) => void;
@@ -1125,8 +1154,13 @@ declare module '@layerfi/components/components/BankTransactions/BankTransactions
1125
1154
  isDataLoading?: boolean;
1126
1155
  isSyncing?: boolean;
1127
1156
  setDateRange?: (value: DateRange) => void;
1157
+ stringOverrides?: BankTransactionsHeaderStringOverrides;
1128
1158
  }
1129
- export const BankTransactionsHeader: ({ shiftStickyHeader, asWidget, categorizedOnly, categorizeView, display, onCategorizationDisplayChange, mobileComponent, withDatePicker, listView, dateRange, setDateRange, isSyncing, }: BankTransactionsHeaderProps) => React.JSX.Element;
1159
+ export interface BankTransactionsHeaderStringOverrides {
1160
+ header?: string;
1161
+ downloadButton?: string;
1162
+ }
1163
+ export const BankTransactionsHeader: ({ shiftStickyHeader, asWidget, categorizedOnly, categorizeView, display, onCategorizationDisplayChange, mobileComponent, withDatePicker, listView, dateRange, setDateRange, stringOverrides, isSyncing, }: BankTransactionsHeaderProps) => React.JSX.Element;
1130
1164
 
1131
1165
  }
1132
1166
  declare module '@layerfi/components/components/BankTransactions/DataStates' {
@@ -1175,6 +1209,15 @@ declare module '@layerfi/components/components/BankTransactionsLoader/index' {
1175
1209
  declare module '@layerfi/components/components/BankTransactionsTable/BankTransactionsTable' {
1176
1210
  import React from 'react';
1177
1211
  import { BankTransaction } from '@layerfi/components/types';
1212
+ import { BankTransactionsStringOverrides } from '@layerfi/components/components/BankTransactions/BankTransactions';
1213
+ export interface BankTransactionsTableStringOverrides {
1214
+ dateColumnHeaderText?: string;
1215
+ transactionColumnHeaderText?: string;
1216
+ accountColumnHeaderText?: string;
1217
+ amountColumnHeaderText?: string;
1218
+ categorizeColumnHeaderText?: string;
1219
+ categoryColumnHeaderText?: string;
1220
+ }
1178
1221
  interface BankTransactionsTableProps {
1179
1222
  bankTransactions?: BankTransaction[];
1180
1223
  editable: boolean;
@@ -1186,12 +1229,13 @@ declare module '@layerfi/components/components/BankTransactionsTable/BankTransac
1186
1229
  showDescriptions?: boolean;
1187
1230
  showReceiptUploads?: boolean;
1188
1231
  hardRefreshPnlOnCategorize?: boolean;
1232
+ stringOverrides?: BankTransactionsStringOverrides;
1189
1233
  isSyncing?: boolean;
1190
1234
  page?: number;
1191
1235
  lastPage?: boolean;
1192
1236
  onRefresh?: () => void;
1193
1237
  }
1194
- export const BankTransactionsTable: ({ categorizeView, editable, isLoading, bankTransactions, initialLoad, containerWidth, removeTransaction, showDescriptions, showReceiptUploads, hardRefreshPnlOnCategorize, isSyncing, page, lastPage, onRefresh, }: BankTransactionsTableProps) => React.JSX.Element;
1238
+ export const BankTransactionsTable: ({ categorizeView, editable, isLoading, bankTransactions, initialLoad, containerWidth, removeTransaction, showDescriptions, showReceiptUploads, hardRefreshPnlOnCategorize, stringOverrides, isSyncing, page, lastPage, onRefresh, }: BankTransactionsTableProps) => React.JSX.Element;
1195
1239
  export {};
1196
1240
 
1197
1241
  }
@@ -1387,11 +1431,18 @@ declare module '@layerfi/components/components/CategorySelect/index' {
1387
1431
  }
1388
1432
  declare module '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts' {
1389
1433
  import React from 'react';
1434
+ import { ChartOfAccountsTableStringOverrides } from '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTable';
1435
+ import { LedgerAccountStringOverrides } from '@layerfi/components/components/LedgerAccount/LedgerAccountIndex';
1390
1436
  export type View = 'mobile' | 'tablet' | 'desktop';
1437
+ export interface ChartOfAccountsStringOverrides {
1438
+ chartOfAccountsTable?: ChartOfAccountsTableStringOverrides;
1439
+ ledgerAccount?: LedgerAccountStringOverrides;
1440
+ }
1391
1441
  export interface ChartOfAccountsProps {
1392
1442
  asWidget?: boolean;
1393
1443
  withDateControl?: boolean;
1394
1444
  withExpandAllButton?: boolean;
1445
+ stringOverrides?: ChartOfAccountsStringOverrides;
1395
1446
  }
1396
1447
  export const ChartOfAccounts: (props: ChartOfAccountsProps) => React.JSX.Element;
1397
1448
 
@@ -1411,7 +1462,21 @@ declare module '@layerfi/components/components/ChartOfAccountsDatePicker/index'
1411
1462
  }
1412
1463
  declare module '@layerfi/components/components/ChartOfAccountsForm/ChartOfAccountsForm' {
1413
1464
  import React from 'react';
1414
- export const ChartOfAccountsForm: () => React.JSX.Element | undefined;
1465
+ export interface ChartOfAccountsFormStringOverrides {
1466
+ editModeHeader?: string;
1467
+ createModeHeader?: string;
1468
+ cancelButton?: string;
1469
+ retryButton?: string;
1470
+ saveButton?: string;
1471
+ parentLabel?: string;
1472
+ nameLabel?: string;
1473
+ typeLabel?: string;
1474
+ subTypeLabel?: string;
1475
+ normalityLabel?: string;
1476
+ }
1477
+ export const ChartOfAccountsForm: ({ stringOverrides }: {
1478
+ stringOverrides?: ChartOfAccountsFormStringOverrides | undefined;
1479
+ }) => React.JSX.Element | undefined;
1415
1480
 
1416
1481
  }
1417
1482
  declare module '@layerfi/components/components/ChartOfAccountsForm/constants' {
@@ -1465,8 +1530,10 @@ declare module '@layerfi/components/components/ChartOfAccountsRow/index' {
1465
1530
  }
1466
1531
  declare module '@layerfi/components/components/ChartOfAccountsSidebar/ChartOfAccountsSidebar' {
1467
1532
  import React, { RefObject } from 'react';
1468
- export const ChartOfAccountsSidebar: ({ parentRef: _parentRef, }: {
1469
- parentRef?: RefObject<HTMLDivElement>;
1533
+ import { ChartOfAccountsFormStringOverrides } from '@layerfi/components/components/ChartOfAccountsForm/ChartOfAccountsForm';
1534
+ export const ChartOfAccountsSidebar: ({ parentRef: _parentRef, stringOverrides, }: {
1535
+ parentRef?: React.RefObject<HTMLDivElement> | undefined;
1536
+ stringOverrides?: ChartOfAccountsFormStringOverrides | undefined;
1470
1537
  }) => React.JSX.Element;
1471
1538
 
1472
1539
  }
@@ -1477,13 +1544,24 @@ declare module '@layerfi/components/components/ChartOfAccountsSidebar/index' {
1477
1544
  declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTable' {
1478
1545
  import React, { RefObject } from 'react';
1479
1546
  import { View } from '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts';
1547
+ import { ChartOfAccountsFormStringOverrides } from '@layerfi/components/components/ChartOfAccountsForm/ChartOfAccountsForm';
1480
1548
  export type ExpandActionState = undefined | 'expanded' | 'collapsed';
1481
- export const ChartOfAccountsTable: ({ view, containerRef, asWidget, withDateControl, withExpandAllButton, }: {
1549
+ export interface ChartOfAccountsTableStringOverrides {
1550
+ headerText?: string;
1551
+ addAccountButtonText?: string;
1552
+ nameColumnHeader?: string;
1553
+ typeColumnHeader?: string;
1554
+ balanceColumnHeader?: string;
1555
+ subtypeColumnHeader?: string;
1556
+ chartOfAccountsForm?: ChartOfAccountsFormStringOverrides;
1557
+ }
1558
+ export const ChartOfAccountsTable: ({ view, containerRef, asWidget, withDateControl, withExpandAllButton, stringOverrides, }: {
1482
1559
  view: View;
1483
1560
  containerRef: RefObject<HTMLDivElement>;
1484
1561
  asWidget?: boolean | undefined;
1485
1562
  withDateControl?: boolean | undefined;
1486
1563
  withExpandAllButton?: boolean | undefined;
1564
+ stringOverrides?: ChartOfAccountsTableStringOverrides | undefined;
1487
1565
  }) => React.JSX.Element;
1488
1566
 
1489
1567
  }
@@ -1818,15 +1896,20 @@ declare module '@layerfi/components/components/Input/index' {
1818
1896
  }
1819
1897
  declare module '@layerfi/components/components/Journal/Journal' {
1820
1898
  import React from 'react';
1899
+ import { JournalTableStringOverrides } from '@layerfi/components/components/JournalTable/JournalTable';
1821
1900
  export type View = 'mobile' | 'tablet' | 'desktop';
1822
1901
  export interface JournalConfig {
1823
1902
  form: {
1824
1903
  addEntryLinesLimit?: number;
1825
1904
  };
1826
1905
  }
1906
+ export interface JournalStringOverrides {
1907
+ journalTable?: JournalTableStringOverrides;
1908
+ }
1827
1909
  export interface JournalProps {
1828
1910
  asWidget?: boolean;
1829
1911
  config?: JournalConfig;
1912
+ stringOverrides?: JournalStringOverrides;
1830
1913
  }
1831
1914
  export const JOURNAL_CONFIG: JournalConfig;
1832
1915
  export const Journal: (props: JournalProps) => React.JSX.Element;
@@ -1848,8 +1931,15 @@ declare module '@layerfi/components/components/JournalEntryDetails/index' {
1848
1931
  declare module '@layerfi/components/components/JournalForm/JournalForm' {
1849
1932
  import React from 'react';
1850
1933
  import { JournalConfig } from '@layerfi/components/components/Journal/Journal';
1851
- export const JournalForm: ({ config }: {
1934
+ export interface JournalFormStringOverrides {
1935
+ header?: string;
1936
+ cancelButton?: string;
1937
+ retryButton?: string;
1938
+ saveButton?: string;
1939
+ }
1940
+ export const JournalForm: ({ config, stringOverrides }: {
1852
1941
  config: JournalConfig;
1942
+ stringOverrides?: JournalFormStringOverrides | undefined;
1853
1943
  }) => React.JSX.Element;
1854
1944
 
1855
1945
  }
@@ -1899,9 +1989,11 @@ declare module '@layerfi/components/components/JournalRow/index' {
1899
1989
  declare module '@layerfi/components/components/JournalSidebar/JournalSidebar' {
1900
1990
  import React, { RefObject } from 'react';
1901
1991
  import { JournalConfig } from '@layerfi/components/components/Journal/Journal';
1902
- export const JournalSidebar: ({ parentRef: _parentRef, config, }: {
1992
+ import { JournalFormStringOverrides } from '@layerfi/components/components/JournalForm/JournalForm';
1993
+ export const JournalSidebar: ({ parentRef: _parentRef, config, stringOverrides, }: {
1903
1994
  parentRef?: React.RefObject<HTMLDivElement> | undefined;
1904
1995
  config: JournalConfig;
1996
+ stringOverrides?: JournalFormStringOverrides | undefined;
1905
1997
  }) => React.JSX.Element;
1906
1998
 
1907
1999
  }
@@ -1913,11 +2005,24 @@ declare module '@layerfi/components/components/JournalTable/JournalTable' {
1913
2005
  import React, { RefObject } from 'react';
1914
2006
  import { View } from '@layerfi/components/components/Journal/index';
1915
2007
  import { JournalConfig } from '@layerfi/components/components/Journal/Journal';
1916
- export const JournalTable: ({ view, containerRef, pageSize, config, }: {
2008
+ import { JournalFormStringOverrides } from '@layerfi/components/components/JournalForm/JournalForm';
2009
+ export interface JournalTableStringOverrides {
2010
+ componentTitle?: string;
2011
+ addEntryButton?: string;
2012
+ idColumnHeader?: string;
2013
+ dateColumnHeader?: string;
2014
+ transactionColumnHeader?: string;
2015
+ accountColumnHeader?: string;
2016
+ debitColumnHeader?: string;
2017
+ creditColumnHeader?: string;
2018
+ journalForm?: JournalFormStringOverrides;
2019
+ }
2020
+ export const JournalTable: ({ view, containerRef, pageSize, config, stringOverrides, }: {
1917
2021
  view: View;
1918
2022
  containerRef: RefObject<HTMLDivElement>;
1919
2023
  pageSize?: number | undefined;
1920
2024
  config: JournalConfig;
2025
+ stringOverrides?: JournalTableStringOverrides | undefined;
1921
2026
  }) => React.JSX.Element;
1922
2027
 
1923
2028
  }
@@ -1928,12 +2033,27 @@ declare module '@layerfi/components/components/JournalTable/index' {
1928
2033
  declare module '@layerfi/components/components/LedgerAccount/LedgerAccountIndex' {
1929
2034
  import React, { RefObject } from 'react';
1930
2035
  import { View } from '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts';
2036
+ import { LedgerAccountEntryDetailsStringOverrides } from '@layerfi/components/components/LedgerAccountEntryDetails/LedgerAccountEntryDetails';
2037
+ interface LedgerEntriesTableStringOverrides {
2038
+ dateColumnHeader?: string;
2039
+ journalIdColumnHeader?: string;
2040
+ sourceColumnHeader?: string;
2041
+ debitColumnHeader?: string;
2042
+ creditColumnHeader?: string;
2043
+ runningBalanceColumnHeader?: string;
2044
+ }
2045
+ export interface LedgerAccountStringOverrides {
2046
+ ledgerEntryDetail?: LedgerAccountEntryDetailsStringOverrides;
2047
+ ledgerEntriesTable?: LedgerEntriesTableStringOverrides;
2048
+ }
1931
2049
  export interface LedgerAccountProps {
1932
2050
  view: View;
1933
2051
  containerRef: RefObject<HTMLDivElement>;
1934
2052
  pageSize?: number;
2053
+ stringOverrides?: LedgerAccountStringOverrides;
1935
2054
  }
1936
- export const LedgerAccount: ({ containerRef, pageSize, view, }: LedgerAccountProps) => React.JSX.Element;
2055
+ export const LedgerAccount: ({ containerRef, pageSize, view, stringOverrides, }: LedgerAccountProps) => React.JSX.Element;
2056
+ export {};
1937
2057
 
1938
2058
  }
1939
2059
  declare module '@layerfi/components/components/LedgerAccount/LedgerAccountRow' {
@@ -1956,10 +2076,51 @@ declare module '@layerfi/components/components/LedgerAccount/index' {
1956
2076
  declare module '@layerfi/components/components/LedgerAccountEntryDetails/LedgerAccountEntryDetails' {
1957
2077
  import React from 'react';
1958
2078
  import { LedgerEntrySource } from '@layerfi/components/types/ledger_accounts';
1959
- export const SourceDetailView: ({ source }: {
2079
+ interface SourceDetailStringOverrides {
2080
+ sourceLabel?: string;
2081
+ accountNameLabel?: string;
2082
+ dateLabel?: string;
2083
+ amountLabel?: string;
2084
+ directionLabel?: string;
2085
+ counterpartyLabel?: string;
2086
+ invoiceNumberLabel?: string;
2087
+ recipientNameLabel?: string;
2088
+ memoLabel?: string;
2089
+ createdByLabel?: string;
2090
+ processorLabel?: string;
2091
+ }
2092
+ export const SourceDetailView: ({ source, stringOverrides }: {
1960
2093
  source: LedgerEntrySource;
2094
+ stringOverrides?: SourceDetailStringOverrides | undefined;
1961
2095
  }) => React.JSX.Element | null;
1962
- export const LedgerAccountEntryDetails: () => React.JSX.Element;
2096
+ interface JournalEntryDetailsStringOverrides {
2097
+ entryTypeLabel?: string;
2098
+ dateLabel?: string;
2099
+ creationDateLabel?: string;
2100
+ reversalLabel?: string;
2101
+ }
2102
+ interface LineItemsTableStringOverrides {
2103
+ lineItemsColumnHeader?: string;
2104
+ debitColumnHeader?: string;
2105
+ creditColumnHeader?: string;
2106
+ totalRowHeader?: string;
2107
+ }
2108
+ export interface LedgerAccountEntryDetailsStringOverrides {
2109
+ title?: string;
2110
+ transactionSource?: {
2111
+ header?: string;
2112
+ details?: SourceDetailStringOverrides;
2113
+ };
2114
+ journalEntry?: {
2115
+ header?: (entryId?: string) => string;
2116
+ details?: JournalEntryDetailsStringOverrides;
2117
+ };
2118
+ lineItemsTable?: LineItemsTableStringOverrides;
2119
+ }
2120
+ export const LedgerAccountEntryDetails: ({ stringOverrides }: {
2121
+ stringOverrides?: LedgerAccountEntryDetailsStringOverrides | undefined;
2122
+ }) => React.JSX.Element;
2123
+ export {};
1963
2124
 
1964
2125
  }
1965
2126
  declare module '@layerfi/components/components/LedgerAccountEntryDetails/index' {
@@ -2027,9 +2188,12 @@ declare module '@layerfi/components/components/LinkedAccounts/LinkedAccounts' {
2027
2188
  showLedgerBalance?: boolean;
2028
2189
  showUnlinkItem?: boolean;
2029
2190
  showBreakConnection?: boolean;
2191
+ stringOverrides?: {
2192
+ title?: string;
2193
+ };
2030
2194
  }
2031
2195
  export const LinkedAccounts: (props: LinkedAccountsProps) => React.JSX.Element;
2032
- export const LinkedAccountsComponent: ({ asWidget, elevated, showLedgerBalance, showUnlinkItem, showBreakConnection, }: LinkedAccountsProps) => React.JSX.Element;
2196
+ export const LinkedAccountsComponent: ({ asWidget, elevated, showLedgerBalance, showUnlinkItem, showBreakConnection, stringOverrides, }: LinkedAccountsProps) => React.JSX.Element;
2033
2197
 
2034
2198
  }
2035
2199
  declare module '@layerfi/components/components/LinkedAccounts/LinkedAccountsContent' {
@@ -2212,19 +2376,23 @@ declare module '@layerfi/components/components/ProfitAndLoss/ProfitAndLoss' {
2212
2376
  setFilterTypes: (scope: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").Scope, types: string[]) => void;
2213
2377
  }>;
2214
2378
  DatePicker: () => React.JSX.Element;
2215
- Summaries: ({ vertical, revenueLabel, actionable, }: {
2216
- revenueLabel?: string | undefined;
2379
+ Summaries: ({ vertical, actionable, revenueLabel, stringOverrides, }: {
2217
2380
  vertical?: boolean | undefined;
2218
2381
  actionable?: boolean | undefined;
2382
+ revenueLabel?: string | undefined;
2383
+ stringOverrides?: import("@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries").ProfitAndLossSummariesStringOverrides | undefined;
2219
2384
  }) => React.JSX.Element;
2220
- Table: ({ lockExpanded, asContainer }: {
2385
+ Table: ({ lockExpanded, asContainer, stringOverrides }: {
2221
2386
  lockExpanded?: boolean | undefined;
2222
2387
  asContainer?: boolean | undefined;
2388
+ stringOverrides?: import("@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTable").ProfitAndLossTableStringOverrides | undefined;
2223
2389
  }) => React.JSX.Element;
2224
- DetailedCharts: ({ scope, hideClose, showDatePicker, }: {
2390
+ DetailedCharts: ({ scope, hideClose, showDatePicker, chartColorsList, stringOverrides, }: {
2225
2391
  scope?: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").SidebarScope;
2226
2392
  hideClose?: boolean | undefined;
2227
2393
  showDatePicker?: boolean | undefined;
2394
+ chartColorsList?: string[] | undefined;
2395
+ stringOverrides?: import("@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts").ProfitAndLossDetailedChartsStringOverrides | undefined;
2228
2396
  }) => React.JSX.Element;
2229
2397
  };
2230
2398
  export { ProfitAndLoss };
@@ -2284,8 +2452,9 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Detai
2284
2452
  date: number | Date;
2285
2453
  isLoading?: boolean;
2286
2454
  showDatePicker?: boolean;
2455
+ chartColorsList?: string[];
2287
2456
  }
2288
- export const DetailedChart: ({ filteredData, filteredTotal, hoveredItem, setHoveredItem, sidebarScope, date, isLoading, showDatePicker, }: DetailedChartProps) => React.JSX.Element;
2457
+ export const DetailedChart: ({ filteredData, filteredTotal, hoveredItem, setHoveredItem, sidebarScope, date, chartColorsList, isLoading, showDatePicker, }: DetailedChartProps) => React.JSX.Element;
2289
2458
  export {};
2290
2459
 
2291
2460
  }
@@ -2294,6 +2463,11 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Detai
2294
2463
  import { Scope, SidebarScope, ProfitAndLossFilters } from '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss';
2295
2464
  import { SortDirection } from '@layerfi/components/types';
2296
2465
  import { LineBaseItem } from '@layerfi/components/types/line_item';
2466
+ export interface DetailedTableStringOverrides {
2467
+ categoryColumnHeader?: string;
2468
+ typeColumnHeader?: string;
2469
+ valueColumnHeader?: string;
2470
+ }
2297
2471
  export interface DetailedTableProps {
2298
2472
  filteredData: LineBaseItem[];
2299
2473
  hoveredItem?: string;
@@ -2301,12 +2475,14 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Detai
2301
2475
  sidebarScope: SidebarScope;
2302
2476
  filters: ProfitAndLossFilters;
2303
2477
  sortBy: (scope: Scope, field: string, direction?: SortDirection) => void;
2478
+ chartColorsList?: string[];
2479
+ stringOverrides?: DetailedTableStringOverrides;
2304
2480
  }
2305
- export const mapColorsToTypes: (data: any[]) => {
2481
+ export const mapTypesToColors: (data: any[], colorList?: string[]) => {
2306
2482
  color: any;
2307
2483
  opacity: any;
2308
2484
  }[];
2309
- export const DetailedTable: ({ filteredData, sidebarScope, filters, sortBy, hoveredItem, setHoveredItem, }: DetailedTableProps) => React.JSX.Element;
2485
+ export const DetailedTable: ({ filteredData, sidebarScope, filters, sortBy, hoveredItem, setHoveredItem, chartColorsList, stringOverrides, }: DetailedTableProps) => React.JSX.Element;
2310
2486
 
2311
2487
  }
2312
2488
  declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Filters' {
@@ -2325,10 +2501,16 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Filte
2325
2501
  declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts' {
2326
2502
  import React from 'react';
2327
2503
  import { SidebarScope } from '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss';
2328
- export const ProfitAndLossDetailedCharts: ({ scope, hideClose, showDatePicker, }: {
2504
+ import { DetailedTableStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/DetailedTable';
2505
+ export interface ProfitAndLossDetailedChartsStringOverrides {
2506
+ detailedTableStringOverrides?: DetailedTableStringOverrides;
2507
+ }
2508
+ export const ProfitAndLossDetailedCharts: ({ scope, hideClose, showDatePicker, chartColorsList, stringOverrides, }: {
2329
2509
  scope?: SidebarScope;
2330
2510
  hideClose?: boolean | undefined;
2331
2511
  showDatePicker?: boolean | undefined;
2512
+ chartColorsList?: string[] | undefined;
2513
+ stringOverrides?: ProfitAndLossDetailedChartsStringOverrides | undefined;
2332
2514
  }) => React.JSX.Element;
2333
2515
 
2334
2516
  }
@@ -2369,12 +2551,18 @@ declare module '@layerfi/components/components/ProfitAndLossSummaries/MiniChart'
2369
2551
  }
2370
2552
  declare module '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries' {
2371
2553
  import React from 'react';
2372
- type Props = {
2554
+ export interface ProfitAndLossSummariesStringOverrides {
2373
2555
  revenueLabel?: string;
2556
+ expensesLabel?: string;
2557
+ netProfitLabel?: string;
2558
+ }
2559
+ type Props = {
2374
2560
  vertical?: boolean;
2375
2561
  actionable?: boolean;
2562
+ revenueLabel?: string;
2563
+ stringOverrides?: ProfitAndLossSummariesStringOverrides;
2376
2564
  };
2377
- export const ProfitAndLossSummaries: ({ vertical, revenueLabel, actionable, }: Props) => React.JSX.Element;
2565
+ export const ProfitAndLossSummaries: ({ vertical, actionable, revenueLabel, stringOverrides, }: Props) => React.JSX.Element;
2378
2566
  export {};
2379
2567
 
2380
2568
  }
@@ -2384,11 +2572,17 @@ declare module '@layerfi/components/components/ProfitAndLossSummaries/index' {
2384
2572
  }
2385
2573
  declare module '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTable' {
2386
2574
  import React from 'react';
2575
+ export interface ProfitAndLossTableStringOverrides {
2576
+ grossProfitLabel?: string;
2577
+ profitBeforeTaxesLabel?: string;
2578
+ netProfitLabel?: string;
2579
+ }
2387
2580
  type Props = {
2388
2581
  lockExpanded?: boolean;
2389
2582
  asContainer?: boolean;
2583
+ stringOverrides?: ProfitAndLossTableStringOverrides;
2390
2584
  };
2391
- export const ProfitAndLossTable: ({ lockExpanded, asContainer }: Props) => React.JSX.Element;
2585
+ export const ProfitAndLossTable: ({ lockExpanded, asContainer, stringOverrides }: Props) => React.JSX.Element;
2392
2586
  export {};
2393
2587
 
2394
2588
  }
@@ -2404,10 +2598,19 @@ declare module '@layerfi/components/components/ProfitAndLossTable/index' {
2404
2598
  }
2405
2599
  declare module '@layerfi/components/components/ProfitAndLossView/ProfitAndLossView' {
2406
2600
  import React, { RefObject } from 'react';
2601
+ import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
2602
+ import { ProfitAndLossSummariesStringOverrides } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
2603
+ import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTable';
2407
2604
  export interface ProfitAndLossViewProps {
2408
2605
  hideTable?: boolean;
2409
2606
  hideChart?: boolean;
2410
2607
  showDetailedCharts?: boolean;
2608
+ stringOverrides?: {
2609
+ header?: string;
2610
+ profitAndLossTable?: ProfitAndLossTableStringOverrides;
2611
+ profitAndLossSummaries?: ProfitAndLossSummariesStringOverrides;
2612
+ profitAndLossDetailedCharts?: ProfitAndLossDetailedChartsStringOverrides;
2613
+ };
2411
2614
  }
2412
2615
  export interface ProfitAndLossViewPanelProps extends ProfitAndLossViewProps {
2413
2616
  containerRef: RefObject<HTMLDivElement>;
@@ -2464,7 +2667,13 @@ declare module '@layerfi/components/components/SkeletonTableLoader/index' {
2464
2667
  }
2465
2668
  declare module '@layerfi/components/components/StatementOfCashFlow/StatementOfCashFlow' {
2466
2669
  import React from 'react';
2467
- export const StatementOfCashFlow: () => React.JSX.Element;
2670
+ import { StatementOfCashFlowTableStringOverrides } from '@layerfi/components/components/StatementOfCashFlowTable/StatementOfCashFlowTable';
2671
+ export interface StatementOfCashFlowStringOverrides {
2672
+ statementOfCashFlowTable?: StatementOfCashFlowTableStringOverrides;
2673
+ }
2674
+ export const StatementOfCashFlow: ({ stringOverrides }: {
2675
+ stringOverrides?: StatementOfCashFlowStringOverrides | undefined;
2676
+ }) => React.JSX.Element;
2468
2677
 
2469
2678
  }
2470
2679
  declare module '@layerfi/components/components/StatementOfCashFlow/constants' {
@@ -2492,9 +2701,14 @@ declare module '@layerfi/components/components/StatementOfCashFlowTable/Statemen
2492
2701
  summarize: boolean;
2493
2702
  type: string;
2494
2703
  };
2495
- export const StatementOfCashFlowTable: ({ data, config, }: {
2704
+ export interface StatementOfCashFlowTableStringOverrides {
2705
+ typeColumnHeader?: string;
2706
+ totalColumnHeader?: string;
2707
+ }
2708
+ export const StatementOfCashFlowTable: ({ data, config, stringOverrides, }: {
2496
2709
  data: StatementOfCashFlow;
2497
2710
  config: StatementOfCashFlowRowProps[];
2711
+ stringOverrides?: StatementOfCashFlowTableStringOverrides | undefined;
2498
2712
  }) => React.JSX.Element;
2499
2713
  export {};
2500
2714
 
@@ -2657,20 +2871,25 @@ declare module '@layerfi/components/components/Tasks/Tasks' {
2657
2871
  refetch: () => void;
2658
2872
  submitResponseToTask: (taskId: string, userResponse: string) => void;
2659
2873
  };
2660
- export const Tasks: ({ tasksHeader, collapsable, defaultCollapsed, collapsedWhenComplete, }: {
2874
+ export interface TasksStringOverrides {
2875
+ header?: string;
2876
+ }
2877
+ export const Tasks: ({ collapsable, defaultCollapsed, collapsedWhenComplete, tasksHeader, stringOverrides, }: {
2661
2878
  tasksHeader?: string | undefined;
2662
2879
  collapsable?: boolean | undefined;
2663
2880
  defaultCollapsed?: boolean | undefined;
2664
2881
  collapsedWhenComplete?: boolean | undefined;
2882
+ stringOverrides?: TasksStringOverrides | undefined;
2665
2883
  }) => React.JSX.Element;
2666
2884
  export const TasksProvider: ({ children }: {
2667
2885
  children: ReactNode;
2668
2886
  }) => React.JSX.Element;
2669
- export const TasksComponent: ({ tasksHeader, collapsable, defaultCollapsed, collapsedWhenComplete, }: {
2887
+ export const TasksComponent: ({ collapsable, defaultCollapsed, collapsedWhenComplete, tasksHeader, stringOverrides, }: {
2670
2888
  tasksHeader?: string | undefined;
2671
2889
  collapsable?: boolean | undefined;
2672
2890
  defaultCollapsed?: boolean | undefined;
2673
2891
  collapsedWhenComplete?: boolean | undefined;
2892
+ stringOverrides?: TasksStringOverrides | undefined;
2674
2893
  }) => React.JSX.Element;
2675
2894
 
2676
2895
  }
@@ -3038,7 +3257,7 @@ declare module '@layerfi/components/config/charts' {
3038
3257
  export const INACTIVE_OPACITY_LEVELS: number[];
3039
3258
  export const DEFAULT_CHART_OPACITY: number[];
3040
3259
  export const DEFAULT_CHART_COLOR_TYPE: string[];
3041
- export const DEFAULT_CHART_COLORS: {
3260
+ export const DEFAULT_MINICHART_COLORS: {
3042
3261
  color: string;
3043
3262
  opacity: number;
3044
3263
  }[];
@@ -5144,13 +5363,25 @@ declare module '@layerfi/components/utils/profitAndLossUtils' {
5144
5363
  }
5145
5364
  declare module '@layerfi/components/views/AccountingOverview/AccountingOverview' {
5146
5365
  import React, { ReactNode } from 'react';
5366
+ import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
5367
+ import { ProfitAndLossSummariesStringOverrides } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
5368
+ interface AccountingOverviewStringOverrides {
5369
+ header?: string;
5370
+ profitAndLoss?: {
5371
+ detailedCharts?: ProfitAndLossDetailedChartsStringOverrides;
5372
+ summaries?: ProfitAndLossSummariesStringOverrides;
5373
+ };
5374
+ }
5147
5375
  export interface AccountingOverviewProps {
5148
5376
  title?: string;
5149
5377
  enableOnboarding?: boolean;
5150
5378
  onTransactionsToReviewClick?: () => void;
5151
5379
  middleBanner?: ReactNode;
5380
+ chartColorsList?: string[];
5381
+ stringOverrides?: AccountingOverviewStringOverrides;
5152
5382
  }
5153
- export const AccountingOverview: ({ title, enableOnboarding, onTransactionsToReviewClick, middleBanner, }: AccountingOverviewProps) => React.JSX.Element;
5383
+ export const AccountingOverview: ({ title, enableOnboarding, onTransactionsToReviewClick, middleBanner, chartColorsList, stringOverrides, }: AccountingOverviewProps) => React.JSX.Element;
5384
+ export {};
5154
5385
 
5155
5386
  }
5156
5387
  declare module '@layerfi/components/views/AccountingOverview/index' {
@@ -5159,7 +5390,13 @@ declare module '@layerfi/components/views/AccountingOverview/index' {
5159
5390
  }
5160
5391
  declare module '@layerfi/components/views/BankTransactionsWithLinkedAccounts/BankTransactionsWithLinkedAccounts' {
5161
5392
  import React from 'react';
5162
- import { MobileComponentType } from "@layerfi/components/components/BankTransactions/constants";
5393
+ import { BankTransactionsStringOverrides } from '@layerfi/components/components/BankTransactions/BankTransactions';
5394
+ import { MobileComponentType } from '@layerfi/components/components/BankTransactions/constants';
5395
+ interface BankTransactionsWithLinkedAccountsStringOverrides {
5396
+ title?: string;
5397
+ linkedAccounts?: BankTransactionsWithLinkedAccountsStringOverrides;
5398
+ bankTransactions?: BankTransactionsStringOverrides;
5399
+ }
5163
5400
  export interface BankTransactionsWithLinkedAccountsProps {
5164
5401
  title?: string;
5165
5402
  elevatedLinkedAccounts?: boolean;
@@ -5171,8 +5408,10 @@ declare module '@layerfi/components/views/BankTransactionsWithLinkedAccounts/Ban
5171
5408
  categorizedOnly?: boolean;
5172
5409
  hardRefreshPnlOnCategorize?: boolean;
5173
5410
  mobileComponent?: MobileComponentType;
5411
+ stringOverrides?: BankTransactionsWithLinkedAccountsStringOverrides;
5174
5412
  }
5175
- export const BankTransactionsWithLinkedAccounts: ({ title, elevatedLinkedAccounts, showLedgerBalance, showUnlinkItem, showBreakConnection, categorizedOnly, hardRefreshPnlOnCategorize, showDescriptions, showReceiptUploads, mobileComponent, }: BankTransactionsWithLinkedAccountsProps) => React.JSX.Element;
5413
+ export const BankTransactionsWithLinkedAccounts: ({ title, elevatedLinkedAccounts, showLedgerBalance, showUnlinkItem, showBreakConnection, categorizedOnly, hardRefreshPnlOnCategorize, showDescriptions, showReceiptUploads, mobileComponent, stringOverrides, }: BankTransactionsWithLinkedAccountsProps) => React.JSX.Element;
5414
+ export {};
5176
5415
 
5177
5416
  }
5178
5417
  declare module '@layerfi/components/views/BankTransactionsWithLinkedAccounts/index' {
@@ -5181,10 +5420,22 @@ declare module '@layerfi/components/views/BankTransactionsWithLinkedAccounts/ind
5181
5420
  }
5182
5421
  declare module '@layerfi/components/views/BookkeepingOverview/BookkeepingOverview' {
5183
5422
  import React from 'react';
5423
+ import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
5424
+ import { ProfitAndLossSummariesStringOverrides } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
5425
+ import { TasksStringOverrides } from '@layerfi/components/components/Tasks/Tasks';
5184
5426
  export interface BookkeepingOverviewProps {
5185
5427
  title?: string;
5428
+ stringOverrides?: {
5429
+ title?: string;
5430
+ tasks?: TasksStringOverrides;
5431
+ profitAndLoss?: {
5432
+ header?: string;
5433
+ detailedCharts?: ProfitAndLossDetailedChartsStringOverrides;
5434
+ summaries?: ProfitAndLossSummariesStringOverrides;
5435
+ };
5436
+ };
5186
5437
  }
5187
- export const BookkeepingOverview: ({ title, }: BookkeepingOverviewProps) => React.JSX.Element;
5438
+ export const BookkeepingOverview: ({ title, stringOverrides, }: BookkeepingOverviewProps) => React.JSX.Element;
5188
5439
 
5189
5440
  }
5190
5441
  declare module '@layerfi/components/views/BookkeepingOverview/index' {
@@ -5193,10 +5444,20 @@ declare module '@layerfi/components/views/BookkeepingOverview/index' {
5193
5444
  }
5194
5445
  declare module '@layerfi/components/views/GeneralLedger/GeneralLedger' {
5195
5446
  import React from 'react';
5447
+ import { ChartOfAccountsStringOverrides } from '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts';
5448
+ import { JournalStringOverrides } from '@layerfi/components/components/Journal/Journal';
5449
+ export interface GeneralLedgerStringOverrides {
5450
+ title?: string;
5451
+ chartOfAccountsToggleOption?: string;
5452
+ journalToggleOption?: string;
5453
+ chartOfAccounts: ChartOfAccountsStringOverrides;
5454
+ journal: JournalStringOverrides;
5455
+ }
5196
5456
  export interface GeneralLedgerProps {
5197
5457
  title?: string;
5458
+ stringOverrides?: GeneralLedgerStringOverrides;
5198
5459
  }
5199
- export const GeneralLedgerView: ({ title, }: GeneralLedgerProps) => React.JSX.Element;
5460
+ export const GeneralLedgerView: ({ title, stringOverrides, }: GeneralLedgerProps) => React.JSX.Element;
5200
5461
 
5201
5462
  }
5202
5463
  declare module '@layerfi/components/views/GeneralLedger/index' {
@@ -5205,15 +5466,35 @@ declare module '@layerfi/components/views/GeneralLedger/index' {
5205
5466
  }
5206
5467
  declare module '@layerfi/components/views/Reports/Reports' {
5207
5468
  import React, { RefObject } from 'react';
5469
+ import { BalanceSheetStringOverrides } from '@layerfi/components/components/BalanceSheet/BalanceSheet';
5470
+ import { StatementOfCashFlowStringOverrides } from '@layerfi/components/components/StatementOfCashFlow/StatementOfCashFlow';
5471
+ import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
5472
+ import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTable';
5473
+ interface ReportsStringOverrides {
5474
+ title?: string;
5475
+ downloadButton?: DownloadButtonStringOverrides;
5476
+ profitAndLoss?: {
5477
+ detailedCharts?: ProfitAndLossDetailedChartsStringOverrides;
5478
+ table?: ProfitAndLossTableStringOverrides;
5479
+ };
5480
+ balanceSheet?: BalanceSheetStringOverrides;
5481
+ statementOfCashflow?: StatementOfCashFlowStringOverrides;
5482
+ }
5208
5483
  export interface ReportsProps {
5209
5484
  title?: string;
5485
+ stringOverrides?: ReportsStringOverrides;
5210
5486
  }
5211
5487
  type ReportType = 'profitAndLoss' | 'balanceSheet' | 'statementOfCashFlow';
5212
5488
  export interface ReportsPanelProps {
5213
5489
  containerRef: RefObject<HTMLDivElement>;
5214
5490
  openReport: ReportType;
5491
+ stringOverrides?: ReportsStringOverrides;
5492
+ }
5493
+ interface DownloadButtonStringOverrides {
5494
+ downloadButtonText?: string;
5495
+ retryButtonText?: string;
5215
5496
  }
5216
- export const Reports: ({ title }: ReportsProps) => React.JSX.Element;
5497
+ export const Reports: ({ title, stringOverrides }: ReportsProps) => React.JSX.Element;
5217
5498
  export {};
5218
5499
 
5219
5500
  }