@layerfi/components 0.1.49 → 0.1.50
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/esm/index.js +400 -391
- package/dist/esm/index.js.map +4 -4
- package/dist/index.d.ts +14 -12
- package/dist/index.js +524 -515
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2382,11 +2382,7 @@ declare module '@layerfi/components/components/ProfitAndLoss/ProfitAndLoss' {
|
|
|
2382
2382
|
revenueLabel?: string | undefined;
|
|
2383
2383
|
stringOverrides?: import("@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries").ProfitAndLossSummariesStringOverrides | undefined;
|
|
2384
2384
|
}) => React.JSX.Element;
|
|
2385
|
-
Table: (
|
|
2386
|
-
lockExpanded?: boolean | undefined;
|
|
2387
|
-
asContainer?: boolean | undefined;
|
|
2388
|
-
stringOverrides?: import("@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTable").ProfitAndLossTableStringOverrides | undefined;
|
|
2389
|
-
}) => React.JSX.Element;
|
|
2385
|
+
Table: (props: import("@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent").ProfilAndLostTableProps) => React.JSX.Element;
|
|
2390
2386
|
DetailedCharts: ({ scope, hideClose, showDatePicker, chartColorsList, stringOverrides, }: {
|
|
2391
2387
|
scope?: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").SidebarScope;
|
|
2392
2388
|
hideClose?: boolean | undefined;
|
|
@@ -2548,20 +2544,25 @@ declare module '@layerfi/components/components/ProfitAndLossSummaries/index' {
|
|
|
2548
2544
|
export { ProfitAndLossSummaries } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
|
|
2549
2545
|
|
|
2550
2546
|
}
|
|
2551
|
-
declare module '@layerfi/components/components/ProfitAndLossTable/
|
|
2547
|
+
declare module '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent' {
|
|
2552
2548
|
import React from 'react';
|
|
2553
2549
|
export interface ProfitAndLossTableStringOverrides {
|
|
2554
2550
|
grossProfitLabel?: string;
|
|
2555
2551
|
profitBeforeTaxesLabel?: string;
|
|
2556
2552
|
netProfitLabel?: string;
|
|
2557
2553
|
}
|
|
2558
|
-
type
|
|
2554
|
+
export type ProfilAndLostTableProps = {
|
|
2559
2555
|
lockExpanded?: boolean;
|
|
2560
2556
|
asContainer?: boolean;
|
|
2561
2557
|
stringOverrides?: ProfitAndLossTableStringOverrides;
|
|
2562
2558
|
};
|
|
2563
|
-
export const
|
|
2564
|
-
|
|
2559
|
+
export const ProfitAndLossTableComponent: ({ asContainer, stringOverrides, }: ProfilAndLostTableProps) => React.JSX.Element;
|
|
2560
|
+
|
|
2561
|
+
}
|
|
2562
|
+
declare module '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableWithProvider' {
|
|
2563
|
+
import React from 'react';
|
|
2564
|
+
import { ProfilAndLostTableProps } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent';
|
|
2565
|
+
export const ProfitAndLossTableWithProvider: (props: ProfilAndLostTableProps) => React.JSX.Element;
|
|
2565
2566
|
|
|
2566
2567
|
}
|
|
2567
2568
|
declare module '@layerfi/components/components/ProfitAndLossTable/empty_profit_and_loss_report' {
|
|
@@ -2571,14 +2572,15 @@ declare module '@layerfi/components/components/ProfitAndLossTable/empty_profit_a
|
|
|
2571
2572
|
|
|
2572
2573
|
}
|
|
2573
2574
|
declare module '@layerfi/components/components/ProfitAndLossTable/index' {
|
|
2574
|
-
export { ProfitAndLossTable } from '@layerfi/components/components/ProfitAndLossTable/
|
|
2575
|
+
export { ProfitAndLossTableWithProvider as ProfitAndLossTable } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableWithProvider';
|
|
2576
|
+
export { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent';
|
|
2575
2577
|
|
|
2576
2578
|
}
|
|
2577
2579
|
declare module '@layerfi/components/components/ProfitAndLossView/ProfitAndLossView' {
|
|
2578
2580
|
import React, { RefObject } from 'react';
|
|
2579
2581
|
import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
2580
2582
|
import { ProfitAndLossSummariesStringOverrides } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
|
|
2581
|
-
import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/
|
|
2583
|
+
import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent';
|
|
2582
2584
|
export interface ProfitAndLossViewProps {
|
|
2583
2585
|
hideTable?: boolean;
|
|
2584
2586
|
hideChart?: boolean;
|
|
@@ -5451,7 +5453,7 @@ declare module '@layerfi/components/views/Reports/Reports' {
|
|
|
5451
5453
|
import React, { RefObject } from 'react';
|
|
5452
5454
|
import { BalanceSheetStringOverrides } from '@layerfi/components/components/BalanceSheet/BalanceSheet';
|
|
5453
5455
|
import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
5454
|
-
import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/
|
|
5456
|
+
import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/index';
|
|
5455
5457
|
import { StatementOfCashFlowStringOverrides } from '@layerfi/components/components/StatementOfCashFlow/StatementOfCashFlow';
|
|
5456
5458
|
interface ReportsStringOverrides {
|
|
5457
5459
|
title?: string;
|