@layerfi/components 0.1.30 → 0.1.31
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/.idea/codeStyles/Project.xml +61 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/layer-react.iml +9 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/README.md +21 -116
- package/dist/esm/index.js +6827 -6893
- package/dist/esm/index.js.map +4 -4
- package/dist/index.d.ts +56 -163
- package/dist/index.js +9497 -9562
- package/dist/index.js.map +4 -4
- package/dist/styles/index.css +173 -146
- package/dist/styles/index.css.map +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -36,17 +36,13 @@ declare module '@layerfi/components/api/layer/authenticated_http' {
|
|
|
36
36
|
}
|
|
37
37
|
declare module '@layerfi/components/api/layer/balance_sheet' {
|
|
38
38
|
import { BalanceSheet } from '@layerfi/components/types';
|
|
39
|
-
export
|
|
40
|
-
params?: GetBalanceSheetParams | undefined;
|
|
41
|
-
} | undefined) => () => Promise<GetBalanceSheetReturn>;
|
|
42
|
-
export type GetBalanceSheetReturn = {
|
|
43
|
-
data?: BalanceSheet;
|
|
44
|
-
error?: unknown;
|
|
45
|
-
};
|
|
46
|
-
export interface GetBalanceSheetParams extends Record<string, string | undefined> {
|
|
39
|
+
export interface GetBalanceSheetParams {
|
|
47
40
|
businessId: string;
|
|
48
|
-
|
|
41
|
+
date: string;
|
|
49
42
|
}
|
|
43
|
+
export const getBalanceSheet: (_token: string, _params: {
|
|
44
|
+
params: GetBalanceSheetParams;
|
|
45
|
+
}) => () => BalanceSheet;
|
|
50
46
|
|
|
51
47
|
}
|
|
52
48
|
declare module '@layerfi/components/api/layer/bankTransactions' {
|
|
@@ -387,9 +383,9 @@ declare module '@layerfi/components/api/layer' {
|
|
|
387
383
|
} | undefined) => Promise<{
|
|
388
384
|
data: import("@layerfi/components/types").Account;
|
|
389
385
|
}>;
|
|
390
|
-
getBalanceSheet: (
|
|
391
|
-
params
|
|
392
|
-
}
|
|
386
|
+
getBalanceSheet: (_token: string, _params: {
|
|
387
|
+
params: import("@layerfi/components/api/layer/balance_sheet").GetBalanceSheetParams;
|
|
388
|
+
}) => () => import("@layerfi/components/types").BalanceSheet;
|
|
393
389
|
getBankTransactions: (baseUrl: string, accessToken: string | undefined, options?: {
|
|
394
390
|
params?: import("@layerfi/components/api/layer/bankTransactions").GetBankTransactionsParams | undefined;
|
|
395
391
|
} | undefined) => () => Promise<import("@layerfi/components/api/layer/bankTransactions").GetBankTransactionsReturn>;
|
|
@@ -670,26 +666,8 @@ declare module '@layerfi/components/components/BadgeLoader/index' {
|
|
|
670
666
|
|
|
671
667
|
}
|
|
672
668
|
declare module '@layerfi/components/components/BalanceSheet/BalanceSheet' {
|
|
673
|
-
import React
|
|
674
|
-
export
|
|
675
|
-
withExpandAllButton?: boolean;
|
|
676
|
-
};
|
|
677
|
-
export type BalanceSheetProps = PropsWithChildren & {
|
|
678
|
-
effectiveDate: Date;
|
|
679
|
-
};
|
|
680
|
-
const BalanceSheet: {
|
|
681
|
-
(props: BalanceSheetProps): React.JSX.Element;
|
|
682
|
-
View: ({ withExpandAllButton, }: BalanceSheetViewProps) => React.JSX.Element;
|
|
683
|
-
};
|
|
684
|
-
export { BalanceSheet };
|
|
685
|
-
|
|
686
|
-
}
|
|
687
|
-
declare module '@layerfi/components/components/BalanceSheet/constants' {
|
|
688
|
-
export const BALANCE_SHEET_ROWS: {
|
|
689
|
-
name: string;
|
|
690
|
-
displayName: string;
|
|
691
|
-
lineItem: string;
|
|
692
|
-
}[];
|
|
669
|
+
import React from 'react';
|
|
670
|
+
export const BalanceSheet: () => React.JSX.Element;
|
|
693
671
|
|
|
694
672
|
}
|
|
695
673
|
declare module '@layerfi/components/components/BalanceSheet/index' {
|
|
@@ -698,25 +676,17 @@ declare module '@layerfi/components/components/BalanceSheet/index' {
|
|
|
698
676
|
}
|
|
699
677
|
declare module '@layerfi/components/components/BalanceSheetDatePicker/BalanceSheetDatePicker' {
|
|
700
678
|
import React from 'react';
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
679
|
+
type Props = {
|
|
680
|
+
value: Date;
|
|
681
|
+
onChange: React.ChangeEventHandler<HTMLInputElement>;
|
|
704
682
|
};
|
|
705
|
-
export const BalanceSheetDatePicker: ({
|
|
683
|
+
export const BalanceSheetDatePicker: ({ value, onChange }: Props) => React.JSX.Element;
|
|
684
|
+
export {};
|
|
706
685
|
|
|
707
686
|
}
|
|
708
687
|
declare module '@layerfi/components/components/BalanceSheetDatePicker/index' {
|
|
709
688
|
export { BalanceSheetDatePicker } from '@layerfi/components/components/BalanceSheetDatePicker/BalanceSheetDatePicker';
|
|
710
689
|
|
|
711
|
-
}
|
|
712
|
-
declare module '@layerfi/components/components/BalanceSheetExpandAllButton/BalanceSheetExpandAllButton' {
|
|
713
|
-
import React from 'react';
|
|
714
|
-
export const BalanceSheetExpandAllButton: () => React.JSX.Element;
|
|
715
|
-
|
|
716
|
-
}
|
|
717
|
-
declare module '@layerfi/components/components/BalanceSheetExpandAllButton/index' {
|
|
718
|
-
export { BalanceSheetExpandAllButton } from '@layerfi/components/components/BalanceSheetExpandAllButton/BalanceSheetExpandAllButton';
|
|
719
|
-
|
|
720
690
|
}
|
|
721
691
|
declare module '@layerfi/components/components/BalanceSheetRow/BalanceSheetRow' {
|
|
722
692
|
import React from 'react';
|
|
@@ -735,25 +705,6 @@ declare module '@layerfi/components/components/BalanceSheetRow/BalanceSheetRow'
|
|
|
735
705
|
declare module '@layerfi/components/components/BalanceSheetRow/index' {
|
|
736
706
|
export { BalanceSheetRow } from '@layerfi/components/components/BalanceSheetRow/BalanceSheetRow';
|
|
737
707
|
|
|
738
|
-
}
|
|
739
|
-
declare module '@layerfi/components/components/BalanceSheetTable/BalanceSheetTable' {
|
|
740
|
-
import React from 'react';
|
|
741
|
-
import { BalanceSheet } from '@layerfi/components/types';
|
|
742
|
-
type BalanceSheetRowProps = {
|
|
743
|
-
name: string;
|
|
744
|
-
displayName: string;
|
|
745
|
-
lineItem: string;
|
|
746
|
-
};
|
|
747
|
-
export const BalanceSheetTable: ({ data, config, }: {
|
|
748
|
-
data: BalanceSheet;
|
|
749
|
-
config: BalanceSheetRowProps[];
|
|
750
|
-
}) => React.JSX.Element;
|
|
751
|
-
export {};
|
|
752
|
-
|
|
753
|
-
}
|
|
754
|
-
declare module '@layerfi/components/components/BalanceSheetTable/index' {
|
|
755
|
-
export { BalanceSheetTable } from '@layerfi/components/components/BalanceSheetTable/BalanceSheetTable';
|
|
756
|
-
|
|
757
708
|
}
|
|
758
709
|
declare module '@layerfi/components/components/BankTransactionList/Assignment' {
|
|
759
710
|
import React from 'react';
|
|
@@ -1403,23 +1354,6 @@ declare module '@layerfi/components/components/DataState/DataState' {
|
|
|
1403
1354
|
declare module '@layerfi/components/components/DataState/index' {
|
|
1404
1355
|
export { DataState, DataStateStatus } from '@layerfi/components/components/DataState/DataState';
|
|
1405
1356
|
|
|
1406
|
-
}
|
|
1407
|
-
declare module '@layerfi/components/components/DateDayPicker/DateDayPicker' {
|
|
1408
|
-
import React from 'react';
|
|
1409
|
-
interface DateDayPickerProps {
|
|
1410
|
-
dateDay: Date;
|
|
1411
|
-
changeDateDay: (dateDay: Date) => void;
|
|
1412
|
-
enableFutureDates?: boolean;
|
|
1413
|
-
currentDateOption?: boolean;
|
|
1414
|
-
minDate?: Date;
|
|
1415
|
-
}
|
|
1416
|
-
export const DateDayPicker: ({ dateDay, changeDateDay, minDate, enableFutureDates, currentDateOption, }: DateDayPickerProps) => React.JSX.Element;
|
|
1417
|
-
export {};
|
|
1418
|
-
|
|
1419
|
-
}
|
|
1420
|
-
declare module '@layerfi/components/components/DateDayPicker/index' {
|
|
1421
|
-
export { DateDayPicker } from '@layerfi/components/components/DateDayPicker/DateDayPicker';
|
|
1422
|
-
|
|
1423
1357
|
}
|
|
1424
1358
|
declare module '@layerfi/components/components/DateMonthPicker/DateMonthPicker' {
|
|
1425
1359
|
import React from 'react';
|
|
@@ -1540,6 +1474,19 @@ declare module '@layerfi/components/components/GlobalWidgets/GlobalWidgets' {
|
|
|
1540
1474
|
declare module '@layerfi/components/components/GlobalWidgets/index' {
|
|
1541
1475
|
export { GlobalWidgets } from '@layerfi/components/components/GlobalWidgets/GlobalWidgets';
|
|
1542
1476
|
|
|
1477
|
+
}
|
|
1478
|
+
declare module '@layerfi/components/components/Hello/Hello' {
|
|
1479
|
+
import React from 'react';
|
|
1480
|
+
type Props = {
|
|
1481
|
+
user?: string | undefined;
|
|
1482
|
+
};
|
|
1483
|
+
export const Hello: ({ user }: Props) => React.JSX.Element;
|
|
1484
|
+
export {};
|
|
1485
|
+
|
|
1486
|
+
}
|
|
1487
|
+
declare module '@layerfi/components/components/Hello/index' {
|
|
1488
|
+
export { Hello } from '@layerfi/components/components/Hello/Hello';
|
|
1489
|
+
|
|
1543
1490
|
}
|
|
1544
1491
|
declare module '@layerfi/components/components/HoverMenu/HoverMenu' {
|
|
1545
1492
|
import React, { ReactNode } from 'react';
|
|
@@ -1982,29 +1929,6 @@ declare module '@layerfi/components/components/Panel/Panel' {
|
|
|
1982
1929
|
declare module '@layerfi/components/components/Panel/index' {
|
|
1983
1930
|
export { Panel } from '@layerfi/components/components/Panel/Panel';
|
|
1984
1931
|
|
|
1985
|
-
}
|
|
1986
|
-
declare module '@layerfi/components/components/PanelView/PanelView' {
|
|
1987
|
-
import React, { ReactNode } from 'react';
|
|
1988
|
-
export interface PanelViewProps {
|
|
1989
|
-
children: ReactNode;
|
|
1990
|
-
title?: string;
|
|
1991
|
-
headerControls?: ReactNode;
|
|
1992
|
-
}
|
|
1993
|
-
export const PanelView: ({ title, children, headerControls, }: PanelViewProps) => React.JSX.Element;
|
|
1994
|
-
|
|
1995
|
-
}
|
|
1996
|
-
declare module '@layerfi/components/components/PanelView/index' {
|
|
1997
|
-
export { PanelView } from '@layerfi/components/components/PanelView/PanelView';
|
|
1998
|
-
|
|
1999
|
-
}
|
|
2000
|
-
declare module '@layerfi/components/components/PanelViewHeader/PanelViewHeader' {
|
|
2001
|
-
import React, { ReactNode } from 'react';
|
|
2002
|
-
export interface PanelViewHeaderProps {
|
|
2003
|
-
title?: string;
|
|
2004
|
-
controls?: ReactNode;
|
|
2005
|
-
}
|
|
2006
|
-
export const PanelViewHeader: ({ title, controls }: PanelViewHeaderProps) => React.JSX.Element;
|
|
2007
|
-
|
|
2008
1932
|
}
|
|
2009
1933
|
declare module '@layerfi/components/components/Pill/Pill' {
|
|
2010
1934
|
import React, { PropsWithChildren } from 'react';
|
|
@@ -2248,6 +2172,17 @@ declare module '@layerfi/components/components/ProfitAndLossView/ProfitAndLossVi
|
|
|
2248
2172
|
declare module '@layerfi/components/components/ProfitAndLossView/index' {
|
|
2249
2173
|
export { ProfitAndLossView } from '@layerfi/components/components/ProfitAndLossView/ProfitAndLossView';
|
|
2250
2174
|
|
|
2175
|
+
}
|
|
2176
|
+
declare module '@layerfi/components/components/SkeletonBalanceSheetRow/SkeletonBalanceSheetRow' {
|
|
2177
|
+
import React, { PropsWithChildren } from 'react';
|
|
2178
|
+
type Props = PropsWithChildren;
|
|
2179
|
+
export const SkeletonBalanceSheetRow: ({ children }: Props) => React.JSX.Element;
|
|
2180
|
+
export {};
|
|
2181
|
+
|
|
2182
|
+
}
|
|
2183
|
+
declare module '@layerfi/components/components/SkeletonBalanceSheetRow/index' {
|
|
2184
|
+
export { SkeletonBalanceSheetRow } from '@layerfi/components/components/SkeletonBalanceSheetRow/SkeletonBalanceSheetRow';
|
|
2185
|
+
|
|
2251
2186
|
}
|
|
2252
2187
|
declare module '@layerfi/components/components/SkeletonLoader/SkeletonLoader' {
|
|
2253
2188
|
import React from 'react';
|
|
@@ -2461,13 +2396,13 @@ declare module '@layerfi/components/components/Tooltip/useTooltip' {
|
|
|
2461
2396
|
floating: HTMLElement | null;
|
|
2462
2397
|
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
2463
2398
|
context: {
|
|
2464
|
-
update: () => void;
|
|
2465
2399
|
x: number;
|
|
2466
2400
|
y: number;
|
|
2467
2401
|
placement: import("@floating-ui/utils").Placement;
|
|
2468
2402
|
strategy: import("@floating-ui/utils").Strategy;
|
|
2469
2403
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
2470
2404
|
isPositioned: boolean;
|
|
2405
|
+
update: () => void;
|
|
2471
2406
|
floatingStyles: React.CSSProperties;
|
|
2472
2407
|
open: boolean;
|
|
2473
2408
|
onOpenChange: (open: boolean, event?: Event | undefined, reason?: import("@floating-ui/react").OpenChangeReason | undefined) => void;
|
|
@@ -2510,13 +2445,13 @@ declare module '@layerfi/components/components/Tooltip/useTooltip' {
|
|
|
2510
2445
|
floating: HTMLElement | null;
|
|
2511
2446
|
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
2512
2447
|
context: {
|
|
2513
|
-
update: () => void;
|
|
2514
2448
|
x: number;
|
|
2515
2449
|
y: number;
|
|
2516
2450
|
placement: import("@floating-ui/utils").Placement;
|
|
2517
2451
|
strategy: import("@floating-ui/utils").Strategy;
|
|
2518
2452
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
2519
2453
|
isPositioned: boolean;
|
|
2454
|
+
update: () => void;
|
|
2520
2455
|
floatingStyles: React.CSSProperties;
|
|
2521
2456
|
open: boolean;
|
|
2522
2457
|
onOpenChange: (open: boolean, event?: Event | undefined, reason?: import("@floating-ui/react").OpenChangeReason | undefined) => void;
|
|
@@ -2719,21 +2654,6 @@ declare module '@layerfi/components/config/theme' {
|
|
|
2719
2654
|
};
|
|
2720
2655
|
};
|
|
2721
2656
|
|
|
2722
|
-
}
|
|
2723
|
-
declare module '@layerfi/components/contexts/BalanceSheetContext/BalanceSheetContext' {
|
|
2724
|
-
/// <reference types="react" />
|
|
2725
|
-
import { useBalanceSheet } from '@layerfi/components/hooks/useBalanceSheet/index';
|
|
2726
|
-
export type BalanceSheetContextType = ReturnType<typeof useBalanceSheet>;
|
|
2727
|
-
export const BalanceSheetContext: import("react").Context<{
|
|
2728
|
-
data: import("@layerfi/components/types").BalanceSheet | undefined;
|
|
2729
|
-
isLoading: boolean;
|
|
2730
|
-
error: unknown;
|
|
2731
|
-
}>;
|
|
2732
|
-
|
|
2733
|
-
}
|
|
2734
|
-
declare module '@layerfi/components/contexts/BalanceSheetContext/index' {
|
|
2735
|
-
export { BalanceSheetContext } from '@layerfi/components/contexts/BalanceSheetContext/BalanceSheetContext';
|
|
2736
|
-
|
|
2737
2657
|
}
|
|
2738
2658
|
declare module '@layerfi/components/contexts/BankTransactionsContext/BankTransactionsContext' {
|
|
2739
2659
|
/// <reference types="react" />
|
|
@@ -2932,24 +2852,6 @@ declare module '@layerfi/components/contexts/LinkedAccountsContext/LinkedAccount
|
|
|
2932
2852
|
declare module '@layerfi/components/contexts/LinkedAccountsContext/index' {
|
|
2933
2853
|
export { LinkedAccountsContext } from '@layerfi/components/contexts/LinkedAccountsContext/LinkedAccountsContext';
|
|
2934
2854
|
|
|
2935
|
-
}
|
|
2936
|
-
declare module '@layerfi/components/contexts/TableExpandContext/TableExpandContext' {
|
|
2937
|
-
import React, { ReactNode } from 'react';
|
|
2938
|
-
interface TableExpandContextType {
|
|
2939
|
-
tableExpandState: boolean;
|
|
2940
|
-
toggleTableExpandState: () => void;
|
|
2941
|
-
}
|
|
2942
|
-
export const TableExpandContext: React.Context<TableExpandContextType>;
|
|
2943
|
-
interface TableExpandProviderProps {
|
|
2944
|
-
children: ReactNode;
|
|
2945
|
-
}
|
|
2946
|
-
export const TableExpandProvider: React.FC<TableExpandProviderProps>;
|
|
2947
|
-
export {};
|
|
2948
|
-
|
|
2949
|
-
}
|
|
2950
|
-
declare module '@layerfi/components/contexts/TableExpandContext/index' {
|
|
2951
|
-
export { TableExpandContext, TableExpandProvider } from '@layerfi/components/contexts/TableExpandContext/TableExpandContext';
|
|
2952
|
-
|
|
2953
2855
|
}
|
|
2954
2856
|
declare module '@layerfi/components/contexts/TasksContext/TasksContext' {
|
|
2955
2857
|
/// <reference types="react" />
|
|
@@ -3348,20 +3250,6 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLossQuery
|
|
|
3348
3250
|
export const useProfitAndLossQuery: UseProfitAndLossQueryReturn;
|
|
3349
3251
|
export {};
|
|
3350
3252
|
|
|
3351
|
-
}
|
|
3352
|
-
declare module '@layerfi/components/hooks/useTableExpandRow/index' {
|
|
3353
|
-
export { useTableExpandRow } from '@layerfi/components/hooks/useTableExpandRow/useTableExpandRow';
|
|
3354
|
-
|
|
3355
|
-
}
|
|
3356
|
-
declare module '@layerfi/components/hooks/useTableExpandRow/useTableExpandRow' {
|
|
3357
|
-
/// <reference types="react" />
|
|
3358
|
-
export const useTableExpandRow: (index: number, defaultOpen?: boolean) => {
|
|
3359
|
-
isOpen: boolean;
|
|
3360
|
-
setIsOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
3361
|
-
showComponent: boolean;
|
|
3362
|
-
INDENTATION: number;
|
|
3363
|
-
};
|
|
3364
|
-
|
|
3365
3253
|
}
|
|
3366
3254
|
declare module '@layerfi/components/hooks/useTasks/index' {
|
|
3367
3255
|
export { useTasks } from '@layerfi/components/hooks/useTasks/useTasks';
|
|
@@ -3425,6 +3313,13 @@ declare module '@layerfi/components/icons/Bell' {
|
|
|
3425
3313
|
const Bell: ({ size, ...props }: IconSvgProps) => React.JSX.Element;
|
|
3426
3314
|
export default Bell;
|
|
3427
3315
|
|
|
3316
|
+
}
|
|
3317
|
+
declare module '@layerfi/components/icons/Calendar' {
|
|
3318
|
+
import * as React from 'react';
|
|
3319
|
+
import { SVGProps } from 'react';
|
|
3320
|
+
const Calendar: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3321
|
+
export default Calendar;
|
|
3322
|
+
|
|
3428
3323
|
}
|
|
3429
3324
|
declare module '@layerfi/components/icons/Check' {
|
|
3430
3325
|
import * as React from 'react';
|
|
@@ -3651,19 +3546,20 @@ declare module '@layerfi/components/icons/types' {
|
|
|
3651
3546
|
}
|
|
3652
3547
|
declare module '@layerfi/components/index' {
|
|
3653
3548
|
export { LayerProvider } from '@layerfi/components/providers/LayerProvider/index';
|
|
3654
|
-
export {
|
|
3655
|
-
export { LinkedAccounts } from '@layerfi/components/components/LinkedAccounts/index';
|
|
3549
|
+
export { BalanceSheet } from '@layerfi/components/components/BalanceSheet/index';
|
|
3656
3550
|
export { BankTransactions } from '@layerfi/components/components/BankTransactions/index';
|
|
3551
|
+
export { Hello } from '@layerfi/components/components/Hello/index';
|
|
3552
|
+
export { LinkedAccounts } from '@layerfi/components/components/LinkedAccounts/index';
|
|
3657
3553
|
export { ProfitAndLoss } from '@layerfi/components/components/ProfitAndLoss/index';
|
|
3658
|
-
export {
|
|
3554
|
+
export { ProfitAndLossView } from '@layerfi/components/components/ProfitAndLossView/index';
|
|
3659
3555
|
export { ChartOfAccounts } from '@layerfi/components/components/ChartOfAccounts/index';
|
|
3660
3556
|
export { Journal } from '@layerfi/components/components/Journal/index';
|
|
3557
|
+
export { Onboarding } from '@layerfi/components/components/Onboarding/index';
|
|
3661
3558
|
export { Tasks } from '@layerfi/components/components/Tasks/index';
|
|
3662
3559
|
export { AccountingOverview } from '@layerfi/components/views/AccountingOverview/index';
|
|
3663
3560
|
export { BankTransactionsWithLinkedAccounts } from '@layerfi/components/views/BankTransactionsWithLinkedAccounts/index';
|
|
3664
|
-
export { GeneralLedgerView } from '@layerfi/components/views/GeneralLedger/index';
|
|
3665
3561
|
export { Reports } from '@layerfi/components/views/Reports/index';
|
|
3666
|
-
export {
|
|
3562
|
+
export { GeneralLedgerView } from '@layerfi/components/views/GeneralLedger/index';
|
|
3667
3563
|
export { useLayerContext } from '@layerfi/components/contexts/LayerContext/index';
|
|
3668
3564
|
export { useBankTransactionsContext } from '@layerfi/components/contexts/BankTransactionsContext/index';
|
|
3669
3565
|
|
|
@@ -3775,8 +3671,8 @@ declare module '@layerfi/components/types/balance_sheet' {
|
|
|
3775
3671
|
type: 'Balance_Sheet';
|
|
3776
3672
|
start_date: string;
|
|
3777
3673
|
end_date: string;
|
|
3778
|
-
assets: LineItem;
|
|
3779
|
-
liabilities_and_equity: LineItem;
|
|
3674
|
+
assets: LineItem[];
|
|
3675
|
+
liabilities_and_equity: LineItem[];
|
|
3780
3676
|
fully_categorized: boolean;
|
|
3781
3677
|
}
|
|
3782
3678
|
|
|
@@ -4586,13 +4482,10 @@ declare module '@layerfi/components/views/Reports/Reports' {
|
|
|
4586
4482
|
export interface ReportsProps {
|
|
4587
4483
|
title?: string;
|
|
4588
4484
|
}
|
|
4589
|
-
type ReportType = 'profitAndLoss' | 'balanceSheet';
|
|
4590
4485
|
export interface ReportsPanelProps {
|
|
4591
4486
|
containerRef: RefObject<HTMLDivElement>;
|
|
4592
|
-
openReport: ReportType;
|
|
4593
4487
|
}
|
|
4594
4488
|
export const Reports: ({ title }: ReportsProps) => React.JSX.Element;
|
|
4595
|
-
export {};
|
|
4596
4489
|
|
|
4597
4490
|
}
|
|
4598
4491
|
declare module '@layerfi/components/views/Reports/index' {
|