@layerfi/components 0.1.61 → 0.1.63

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
@@ -714,6 +714,7 @@ declare module '@layerfi/components/components/ActionableList/ActionableList' {
714
714
  export interface ActionableListOption<T> {
715
715
  label: string;
716
716
  id: string;
717
+ description?: string;
717
718
  value: T;
718
719
  asLink?: boolean;
719
720
  secondary?: boolean;
@@ -721,9 +722,9 @@ declare module '@layerfi/components/components/ActionableList/ActionableList' {
721
722
  interface ActionableListProps<T> {
722
723
  options: ActionableListOption<T>[];
723
724
  onClick: (item: ActionableListOption<T>) => void;
724
- selected?: ActionableListOption<T>;
725
+ selectedId?: string;
725
726
  }
726
- export const ActionableList: <T>({ options, onClick, selected, }: ActionableListProps<T>) => React.JSX.Element;
727
+ export const ActionableList: <T>({ options, onClick, selectedId, }: ActionableListProps<T>) => React.JSX.Element;
727
728
  export {};
728
729
 
729
730
  }
@@ -977,8 +978,9 @@ declare module '@layerfi/components/components/BankTransactionMobileList/Busines
977
978
  import { Option } from '@layerfi/components/components/BankTransactionMobileList/utils';
978
979
  export interface BusinessCategoriesProps {
979
980
  select: (category: Option) => void;
981
+ selectedId?: string;
980
982
  }
981
- export const BusinessCategories: ({ select }: BusinessCategoriesProps) => React.JSX.Element;
983
+ export const BusinessCategories: ({ select, selectedId, }: BusinessCategoriesProps) => React.JSX.Element;
982
984
 
983
985
  }
984
986
  declare module '@layerfi/components/components/BankTransactionMobileList/BusinessForm' {
@@ -1058,6 +1060,7 @@ declare module '@layerfi/components/components/BankTransactionMobileList/utils'
1058
1060
  export interface Option {
1059
1061
  label: string;
1060
1062
  id: string;
1063
+ description?: string;
1061
1064
  value: {
1062
1065
  type: 'CATEGORY' | 'SELECT_CATEGORY' | 'GROUP';
1063
1066
  payload?: CategoryOptionPayload;
@@ -1464,6 +1467,7 @@ declare module '@layerfi/components/components/CategorySelect/CategorySelect' {
1464
1467
  id: string;
1465
1468
  option_type: OptionActionType;
1466
1469
  display_name: string;
1470
+ description?: string;
1467
1471
  date?: string;
1468
1472
  amount?: number;
1469
1473
  type?: string;
@@ -1511,6 +1515,7 @@ declare module '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts'
1511
1515
  withDateControl?: boolean;
1512
1516
  withExpandAllButton?: boolean;
1513
1517
  stringOverrides?: ChartOfAccountsStringOverrides;
1518
+ templateAccountsEditable?: boolean;
1514
1519
  }
1515
1520
  export const ChartOfAccounts: (props: ChartOfAccountsProps) => React.JSX.Element;
1516
1521
 
@@ -1544,7 +1549,7 @@ declare module '@layerfi/components/components/ChartOfAccountsForm/ChartOfAccoun
1544
1549
  }
1545
1550
  export const ChartOfAccountsForm: ({ stringOverrides, }: {
1546
1551
  stringOverrides?: ChartOfAccountsFormStringOverrides | undefined;
1547
- }) => React.JSX.Element | undefined;
1552
+ }) => React.JSX.Element | null;
1548
1553
 
1549
1554
  }
1550
1555
  declare module '@layerfi/components/components/ChartOfAccountsForm/constants' {
@@ -1590,7 +1595,7 @@ declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccou
1590
1595
  import { ChartWithBalances } from '@layerfi/components/types/chart_of_accounts';
1591
1596
  import { View } from '@layerfi/components/types/general';
1592
1597
  import { ChartOfAccountsTableStringOverrides, ExpandActionState } from '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTableWithPanel';
1593
- export const ChartOfAccountsTable: ({ view, stringOverrides, data, error, expandAll, cumulativeIndex, accountsLength, }: {
1598
+ export const ChartOfAccountsTable: ({ view, stringOverrides, data, error, expandAll, cumulativeIndex, accountsLength, templateAccountsEditable, }: {
1594
1599
  view: View;
1595
1600
  data: ChartWithBalances;
1596
1601
  stringOverrides?: ChartOfAccountsTableStringOverrides | undefined;
@@ -1598,8 +1603,9 @@ declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccou
1598
1603
  expandAll?: ExpandActionState;
1599
1604
  cumulativeIndex: number;
1600
1605
  accountsLength: number;
1606
+ templateAccountsEditable?: boolean | undefined;
1601
1607
  }) => React.JSX.Element;
1602
- export const ChartOfAccountsTableContent: ({ stringOverrides, data, error, expandAll, }: {
1608
+ export const ChartOfAccountsTableContent: ({ stringOverrides, data, error, expandAll, templateAccountsEditable, }: {
1603
1609
  view: View;
1604
1610
  data: ChartWithBalances;
1605
1611
  stringOverrides?: ChartOfAccountsTableStringOverrides | undefined;
@@ -1607,6 +1613,7 @@ declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccou
1607
1613
  expandAll?: ExpandActionState;
1608
1614
  cumulativeIndex: number;
1609
1615
  accountsLength: number;
1616
+ templateAccountsEditable: boolean;
1610
1617
  }) => React.JSX.Element;
1611
1618
 
1612
1619
  }
@@ -1624,13 +1631,14 @@ declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccou
1624
1631
  subtypeColumnHeader?: string;
1625
1632
  chartOfAccountsForm?: ChartOfAccountsFormStringOverrides;
1626
1633
  }
1627
- export const ChartOfAccountsTableWithPanel: ({ view, containerRef, asWidget, withDateControl, withExpandAllButton, stringOverrides, }: {
1634
+ export const ChartOfAccountsTableWithPanel: ({ view, containerRef, asWidget, withDateControl, withExpandAllButton, stringOverrides, templateAccountsEditable, }: {
1628
1635
  view: View;
1629
1636
  containerRef: RefObject<HTMLDivElement>;
1630
1637
  asWidget?: boolean | undefined;
1631
1638
  withDateControl?: boolean | undefined;
1632
1639
  withExpandAllButton?: boolean | undefined;
1633
1640
  stringOverrides?: ChartOfAccountsTableStringOverrides | undefined;
1641
+ templateAccountsEditable?: boolean | undefined;
1634
1642
  }) => React.JSX.Element;
1635
1643
 
1636
1644
  }
@@ -1987,7 +1995,7 @@ declare module '@layerfi/components/components/Input/InputWithBadge' {
1987
1995
  }
1988
1996
  declare module '@layerfi/components/components/Input/MultiSelect' {
1989
1997
  import React from 'react';
1990
- import { GroupBase, MultiValue, OptionsOrGroups } from 'react-select';
1998
+ import { GroupBase, MultiValue, OptionsOrGroups, StylesConfig } from 'react-select';
1991
1999
  export interface SelectProps<T> {
1992
2000
  name?: string;
1993
2001
  options?: OptionsOrGroups<T, GroupBase<T>>;
@@ -2000,8 +2008,9 @@ declare module '@layerfi/components/components/Input/MultiSelect' {
2000
2008
  placeholder?: string;
2001
2009
  isInvalid?: boolean;
2002
2010
  errorMessage?: string;
2011
+ styles?: StylesConfig<T, true, GroupBase<T>>;
2003
2012
  }
2004
- export const MultiSelect: <T>({ name, options, className, classNamePrefix, value, defaultValue, onChange, disabled, placeholder, isInvalid, errorMessage, }: SelectProps<T>) => React.JSX.Element;
2013
+ export const MultiSelect: <T>({ name, options, className, classNamePrefix, value, defaultValue, onChange, disabled, placeholder, isInvalid, errorMessage, styles, }: SelectProps<T>) => React.JSX.Element;
2005
2014
 
2006
2015
  }
2007
2016
  declare module '@layerfi/components/components/Input/Select' {
@@ -2412,11 +2421,13 @@ declare module '@layerfi/components/components/Onboarding/ConnectAccount' {
2412
2421
  }
2413
2422
  declare module '@layerfi/components/components/Onboarding/Onboarding' {
2414
2423
  import React from 'react';
2424
+ import { OnboardingStep } from '@layerfi/components/types/layer_context';
2415
2425
  export interface OnboardingProps {
2416
2426
  onTransactionsToReviewClick?: () => void;
2427
+ onboardingStepOverride?: OnboardingStep;
2417
2428
  }
2418
2429
  export const Onboarding: (props: OnboardingProps) => React.JSX.Element;
2419
- export const OnboardingContent: ({ onTransactionsToReviewClick, }: OnboardingProps) => React.JSX.Element | null;
2430
+ export const OnboardingContent: ({ onTransactionsToReviewClick, onboardingStepOverride, }: OnboardingProps) => React.JSX.Element | null;
2420
2431
 
2421
2432
  }
2422
2433
  declare module '@layerfi/components/components/Onboarding/index' {
@@ -2434,7 +2445,7 @@ declare module '@layerfi/components/components/Pagination/Pagination' {
2434
2445
  hasMore?: boolean;
2435
2446
  fetchMore?: () => void;
2436
2447
  }
2437
- export const Pagination: ({ onPageChange, totalCount, siblingCount, currentPage, pageSize, hasMore, fetchMore, }: PaginationProps) => React.JSX.Element | undefined;
2448
+ export const Pagination: ({ onPageChange, totalCount, siblingCount, currentPage, pageSize, hasMore, fetchMore, }: PaginationProps) => React.JSX.Element | null;
2438
2449
 
2439
2450
  }
2440
2451
  declare module '@layerfi/components/components/Pagination/index' {
@@ -2532,6 +2543,8 @@ declare module '@layerfi/components/components/ProfitAndLoss/ProfitAndLoss' {
2532
2543
  stringOverrides?: import("@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts").ProfitAndLossDetailedChartsStringOverrides | undefined;
2533
2544
  }) => React.JSX.Element;
2534
2545
  Header: ({ text, className, headingClassName, withDatePicker, }: import("@layerfi/components/components/ProfitAndLossHeader/ProfitAndLossHeader").ProfitAndLossHeaderProps) => React.JSX.Element;
2546
+ Report: ({ stringOverrides, comparisonConfig, datePickerMode, csvMoneyFormat, parentRef, view, }: import("@layerfi/components/components/ProfitAndLossReport/ProfitAndLossReport").ProfitAndLossReportProps) => React.JSX.Element;
2547
+ DownloadButton: ({ stringOverrides, moneyFormat, view, }: import("@layerfi/components/components/ProfitAndLossDownloadButton/ProfitAndLossDownloadButton").ProfitAndLossDownloadButtonProps) => React.JSX.Element;
2535
2548
  };
2536
2549
  export { ProfitAndLoss };
2537
2550
 
@@ -2689,6 +2702,28 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Profi
2689
2702
  declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/index' {
2690
2703
  export { ProfitAndLossDetailedCharts } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
2691
2704
 
2705
+ }
2706
+ declare module '@layerfi/components/components/ProfitAndLossDownloadButton/ProfitAndLossDownloadButton' {
2707
+ import React from 'react';
2708
+ import { MoneyFormat } from '@layerfi/components/types';
2709
+ import { View as ViewType } from '@layerfi/components/types/general';
2710
+ type ViewBreakpoint = ViewType | undefined;
2711
+ export interface PnLDownloadButtonStringOverrides {
2712
+ downloadButtonText?: string;
2713
+ retryButtonText?: string;
2714
+ }
2715
+ export interface ProfitAndLossDownloadButtonProps {
2716
+ stringOverrides?: PnLDownloadButtonStringOverrides;
2717
+ moneyFormat?: MoneyFormat;
2718
+ view: ViewBreakpoint;
2719
+ }
2720
+ export const ProfitAndLossDownloadButton: ({ stringOverrides, moneyFormat, view, }: ProfitAndLossDownloadButtonProps) => React.JSX.Element;
2721
+ export {};
2722
+
2723
+ }
2724
+ declare module '@layerfi/components/components/ProfitAndLossDownloadButton/index' {
2725
+ export { ProfitAndLossDownloadButton, PnLDownloadButtonStringOverrides, } from '@layerfi/components/components/ProfitAndLossDownloadButton/ProfitAndLossDownloadButton';
2726
+
2692
2727
  }
2693
2728
  declare module '@layerfi/components/components/ProfitAndLossHeader/ProfitAndLossHeader' {
2694
2729
  import React from 'react';
@@ -2704,6 +2739,30 @@ declare module '@layerfi/components/components/ProfitAndLossHeader/ProfitAndLoss
2704
2739
  declare module '@layerfi/components/components/ProfitAndLossHeader/index' {
2705
2740
  export { ProfitAndLossHeader } from '@layerfi/components/components/ProfitAndLossHeader/ProfitAndLossHeader';
2706
2741
 
2742
+ }
2743
+ declare module '@layerfi/components/components/ProfitAndLossReport/ProfitAndLossReport' {
2744
+ import React, { RefObject } from 'react';
2745
+ import { MoneyFormat } from '@layerfi/components/types';
2746
+ import { View as ViewType } from '@layerfi/components/types/general';
2747
+ import { ReportsStringOverrides } from '@layerfi/components/views/Reports/Reports';
2748
+ import { DateRangeDatePickerModes } from '@layerfi/components/components/DatePicker/DatePicker';
2749
+ import { ProfitAndLossCompareOptionsProps } from '@layerfi/components/components/ProfitAndLossCompareOptions/ProfitAndLossCompareOptions';
2750
+ type ViewBreakpoint = ViewType | undefined;
2751
+ export interface ProfitAndLossReportProps {
2752
+ stringOverrides?: ReportsStringOverrides;
2753
+ comparisonConfig?: ProfitAndLossCompareOptionsProps;
2754
+ datePickerMode?: DateRangeDatePickerModes;
2755
+ csvMoneyFormat?: MoneyFormat;
2756
+ parentRef?: RefObject<HTMLDivElement>;
2757
+ view?: ViewBreakpoint;
2758
+ }
2759
+ export const ProfitAndLossReport: ({ stringOverrides, comparisonConfig, datePickerMode, csvMoneyFormat, parentRef, view, }: ProfitAndLossReportProps) => React.JSX.Element;
2760
+ export {};
2761
+
2762
+ }
2763
+ declare module '@layerfi/components/components/ProfitAndLossReport/index' {
2764
+ export { ProfitAndLossReport } from '@layerfi/components/components/ProfitAndLossReport/ProfitAndLossReport';
2765
+
2707
2766
  }
2708
2767
  declare module '@layerfi/components/components/ProfitAndLossSummaries/MiniChart' {
2709
2768
  import React from 'react';
@@ -3311,7 +3370,9 @@ declare module '@layerfi/components/components/Typography/Heading' {
3311
3370
  import React, { ReactNode } from 'react';
3312
3371
  export enum HeadingSize {
3313
3372
  primary = "primary",
3314
- secondary = "secondary"
3373
+ secondary = "secondary",
3374
+ page = "page",
3375
+ view = "view"
3315
3376
  }
3316
3377
  export interface HeadingProps {
3317
3378
  as?: React.ElementType;
@@ -3384,6 +3445,7 @@ declare module '@layerfi/components/components/View/View' {
3384
3445
  children: ReactNode;
3385
3446
  title?: string;
3386
3447
  showHeader?: boolean;
3448
+ header?: ReactNode;
3387
3449
  headerControls?: ReactNode;
3388
3450
  type?: 'default' | 'panel';
3389
3451
  withSidebar?: boolean;
@@ -3401,9 +3463,10 @@ declare module '@layerfi/components/components/ViewHeader/ViewHeader' {
3401
3463
  import React, { ReactNode } from 'react';
3402
3464
  export interface ViewHeaderProps {
3403
3465
  title?: string;
3404
- controls?: ReactNode;
3466
+ className?: string;
3467
+ children?: ReactNode;
3405
3468
  }
3406
- export const ViewHeader: ({ title, controls }: ViewHeaderProps) => React.JSX.Element;
3469
+ export const ViewHeader: ({ title, className, children }: ViewHeaderProps) => React.JSX.Element;
3407
3470
 
3408
3471
  }
3409
3472
  declare module '@layerfi/components/components/ViewHeader/index' {
@@ -4445,6 +4508,13 @@ declare module '@layerfi/components/icons/Inbox' {
4445
4508
  const Inbox: ({ size, ...props }: IconSvgProps) => React.JSX.Element;
4446
4509
  export default Inbox;
4447
4510
 
4511
+ }
4512
+ declare module '@layerfi/components/icons/InfoIcon' {
4513
+ import * as React from 'react';
4514
+ import { IconSvgProps } from '@layerfi/components/icons/types';
4515
+ const InfoIcon: ({ size, ...props }: IconSvgProps) => React.JSX.Element;
4516
+ export default InfoIcon;
4517
+
4448
4518
  }
4449
4519
  declare module '@layerfi/components/icons/InstitutionIcon' {
4450
4520
  import * as React from 'react';
@@ -4883,6 +4953,7 @@ declare module '@layerfi/components/types/categories' {
4883
4953
  type: string;
4884
4954
  display_name: string;
4885
4955
  category: string;
4956
+ description?: string;
4886
4957
  stable_name?: string;
4887
4958
  subCategories?: Category[];
4888
4959
  entries?: CategoryEntry[];
@@ -5043,6 +5114,7 @@ declare module '@layerfi/components/types/journal' {
5043
5114
  ledger_id: string;
5044
5115
  agent: string;
5045
5116
  entry_type: string;
5117
+ entry_number: number;
5046
5118
  date: string;
5047
5119
  entry_at: string;
5048
5120
  reversal_of_id: string | null;
@@ -5241,6 +5313,7 @@ declare module '@layerfi/components/types/ledger_accounts' {
5241
5313
  business_id: string;
5242
5314
  date: string;
5243
5315
  entry_at: string;
5316
+ entry_number?: number;
5244
5317
  entry_type: string;
5245
5318
  id: string;
5246
5319
  invoice?: Record<string, string>;
@@ -5264,12 +5337,15 @@ declare module '@layerfi/components/types/ledger_accounts' {
5264
5337
  export interface LedgerAccountLineItem {
5265
5338
  id: string;
5266
5339
  entry_id: string;
5340
+ entry_number?: number;
5267
5341
  account: LedgerAccountsAccount;
5268
5342
  amount: number;
5269
5343
  direction: Direction;
5270
5344
  date: string;
5271
5345
  source?: LedgerEntrySource;
5272
5346
  running_balance: number;
5347
+ entry_reversal_of?: string;
5348
+ entry_reversed_by?: string;
5273
5349
  }
5274
5350
  export interface LedgerEntrySource {
5275
5351
  display_description: string;
@@ -5661,9 +5737,11 @@ declare module '@layerfi/components/utils/helpers' {
5661
5737
 
5662
5738
  }
5663
5739
  declare module '@layerfi/components/utils/journal' {
5740
+ import { LedgerAccountLineItem, LedgerAccountsEntry } from '@layerfi/components/types';
5664
5741
  import { AccountIdentifierPayloadObject } from '@layerfi/components/types/categories';
5665
- import { JournalEntryLineItem } from '@layerfi/components/types/journal';
5742
+ import { JournalEntry, JournalEntryLineItem } from '@layerfi/components/types/journal';
5666
5743
  export const getAccountIdentifierPayload: (journalLineItem: JournalEntryLineItem) => AccountIdentifierPayloadObject;
5744
+ export const entryNumber: (entry: JournalEntry | LedgerAccountsEntry | LedgerAccountLineItem) => string;
5667
5745
 
5668
5746
  }
5669
5747
  declare module '@layerfi/components/utils/profitAndLossComparisonUtils' {
@@ -5687,6 +5765,7 @@ declare module '@layerfi/components/views/AccountingOverview/AccountingOverview'
5687
5765
  import React, { ReactNode } from 'react';
5688
5766
  import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
5689
5767
  import { ProfitAndLossSummariesStringOverrides } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
5768
+ import { OnboardingStep } from '@layerfi/components/types/layer_context';
5690
5769
  interface AccountingOverviewStringOverrides {
5691
5770
  header?: string;
5692
5771
  profitAndLoss?: {
@@ -5698,12 +5777,13 @@ declare module '@layerfi/components/views/AccountingOverview/AccountingOverview'
5698
5777
  title?: string;
5699
5778
  showTitle?: boolean;
5700
5779
  enableOnboarding?: boolean;
5780
+ onboardingStepOverride?: OnboardingStep;
5701
5781
  onTransactionsToReviewClick?: () => void;
5702
5782
  middleBanner?: ReactNode;
5703
5783
  chartColorsList?: string[];
5704
5784
  stringOverrides?: AccountingOverviewStringOverrides;
5705
5785
  }
5706
- export const AccountingOverview: ({ title, showTitle, enableOnboarding, onTransactionsToReviewClick, middleBanner, chartColorsList, stringOverrides, }: AccountingOverviewProps) => React.JSX.Element;
5786
+ export const AccountingOverview: ({ title, showTitle, enableOnboarding, onboardingStepOverride, onTransactionsToReviewClick, middleBanner, chartColorsList, stringOverrides, }: AccountingOverviewProps) => React.JSX.Element;
5707
5787
  export {};
5708
5788
 
5709
5789
  }
@@ -5777,12 +5857,16 @@ declare module '@layerfi/components/views/GeneralLedger/GeneralLedger' {
5777
5857
  chartOfAccounts: ChartOfAccountsStringOverrides;
5778
5858
  journal: JournalStringOverrides;
5779
5859
  }
5860
+ export interface ChartOfAccountsOptions {
5861
+ templateAccountsEditable?: boolean;
5862
+ }
5780
5863
  export interface GeneralLedgerProps {
5781
5864
  title?: string;
5782
5865
  showTitle?: boolean;
5783
5866
  stringOverrides?: GeneralLedgerStringOverrides;
5867
+ chartOfAccountsOptions?: ChartOfAccountsOptions;
5784
5868
  }
5785
- export const GeneralLedgerView: ({ title, showTitle, stringOverrides, }: GeneralLedgerProps) => React.JSX.Element;
5869
+ export const GeneralLedgerView: ({ title, showTitle, stringOverrides, chartOfAccountsOptions, }: GeneralLedgerProps) => React.JSX.Element;
5786
5870
 
5787
5871
  }
5788
5872
  declare module '@layerfi/components/views/GeneralLedger/index' {
@@ -5795,12 +5879,15 @@ declare module '@layerfi/components/views/Reports/Reports' {
5795
5879
  import { DateRangeDatePickerModes } from '@layerfi/components/components/DatePicker/DatePicker';
5796
5880
  import { ProfitAndLossCompareOptionsProps } from '@layerfi/components/components/ProfitAndLossCompareOptions/ProfitAndLossCompareOptions';
5797
5881
  import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
5882
+ import { PnLDownloadButtonStringOverrides } from '@layerfi/components/components/ProfitAndLossDownloadButton/index';
5798
5883
  import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/index';
5799
5884
  import { StatementOfCashFlowStringOverrides } from '@layerfi/components/components/StatementOfCashFlow/StatementOfCashFlow';
5800
5885
  import { MoneyFormat } from '@layerfi/components/types';
5801
- interface ReportsStringOverrides {
5886
+ import { View as ViewType } from '@layerfi/components/types/general';
5887
+ type ViewBreakpoint = ViewType | undefined;
5888
+ export interface ReportsStringOverrides {
5802
5889
  title?: string;
5803
- downloadButton?: DownloadButtonStringOverrides;
5890
+ downloadButton?: PnLDownloadButtonStringOverrides;
5804
5891
  profitAndLoss?: {
5805
5892
  detailedCharts?: ProfitAndLossDetailedChartsStringOverrides;
5806
5893
  table?: ProfitAndLossTableStringOverrides;
@@ -5835,10 +5922,7 @@ declare module '@layerfi/components/views/Reports/Reports' {
5835
5922
  statementOfCashFlowConfig?: {
5836
5923
  datePickerMode?: DateRangeDatePickerModes;
5837
5924
  };
5838
- }
5839
- interface DownloadButtonStringOverrides {
5840
- downloadButtonText?: string;
5841
- retryButtonText?: string;
5925
+ view: ViewBreakpoint;
5842
5926
  }
5843
5927
  export const Reports: ({ title, showTitle, stringOverrides, enabledReports, comparisonConfig, profitAndLossConfig, statementOfCashFlowConfig, }: ReportsProps) => React.JSX.Element;
5844
5928
  export {};