@layerfi/components 0.1.128-alpha → 0.1.128-alpha.2
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/cjs/index.cjs +3056 -1776
- package/dist/esm/index.mjs +3019 -1738
- package/dist/index.css +447 -143
- package/dist/index.d.ts +29 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,13 @@ declare interface AccountingOverviewStringOverrides {
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
+
declare const ApiEnumErrorType: {
|
|
83
|
+
readonly SpecifiedIdNotFound: "SpecifiedIdNotFound";
|
|
84
|
+
readonly SpecifiedBadRequest: "SpecifiedBadRequest";
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
declare type ApiEnumErrorType = typeof ApiEnumErrorType[keyof typeof ApiEnumErrorType];
|
|
88
|
+
|
|
82
89
|
declare class APIError extends Error {
|
|
83
90
|
code?: number;
|
|
84
91
|
info?: string;
|
|
@@ -91,6 +98,7 @@ declare class APIError extends Error {
|
|
|
91
98
|
declare type APIErrorMessage = {
|
|
92
99
|
type?: string;
|
|
93
100
|
description?: string;
|
|
101
|
+
error_enum?: ApiEnumErrorType;
|
|
94
102
|
};
|
|
95
103
|
|
|
96
104
|
declare type Awaitable<T> = T | Promise<T>;
|
|
@@ -99,7 +107,9 @@ export declare const BalanceSheet: (props: BalanceSheetProps) => JSX_2.Element;
|
|
|
99
107
|
|
|
100
108
|
declare type BalanceSheetProps = PropsWithChildren<{
|
|
101
109
|
effectiveDate?: Date;
|
|
102
|
-
|
|
110
|
+
/** @deprecated No longer used. Expand all does not exist in Balance Sheet. */
|
|
111
|
+
withExpandAllButton?: boolean;
|
|
112
|
+
view?: View;
|
|
103
113
|
stringOverrides?: BalanceSheetStringOverrides;
|
|
104
114
|
dateSelectionMode?: DateSelectionMode;
|
|
105
115
|
}>;
|
|
@@ -487,9 +497,12 @@ declare interface GeneralLedgerStringOverrides {
|
|
|
487
497
|
|
|
488
498
|
export declare const GeneralLedgerView: ({ title, showTitle, showTags, showCustomerVendor, stringOverrides, chartOfAccountsOptions, renderInAppLink, }: GeneralLedgerProps) => JSX_2.Element;
|
|
489
499
|
|
|
490
|
-
export declare const GlobalDateRangeSelection: ({ showLabels }:
|
|
500
|
+
export declare const GlobalDateRangeSelection: ({ showLabels, isCompact }: GlobalDateRangeSelectionProps) => JSX_2.Element;
|
|
501
|
+
|
|
502
|
+
declare type GlobalDateRangeSelectionProps = {
|
|
491
503
|
showLabels?: boolean;
|
|
492
|
-
|
|
504
|
+
isCompact?: boolean;
|
|
505
|
+
};
|
|
493
506
|
|
|
494
507
|
export declare const GlobalMonthPicker: ({ truncateMonth, showLabel }: GlobalMonthPickerProps) => JSX_2.Element;
|
|
495
508
|
|
|
@@ -1016,6 +1029,7 @@ declare interface SourceDetailStringOverrides {
|
|
|
1016
1029
|
export declare const StatementOfCashFlow: (props: StatementOfCashFlowProps) => JSX_2.Element;
|
|
1017
1030
|
|
|
1018
1031
|
declare type StatementOfCashFlowProps = TimeRangePickerConfig & {
|
|
1032
|
+
view?: View;
|
|
1019
1033
|
stringOverrides?: StatementOfCashFlowStringOverrides;
|
|
1020
1034
|
};
|
|
1021
1035
|
|
|
@@ -1072,7 +1086,16 @@ declare interface TasksStringOverrides {
|
|
|
1072
1086
|
header?: string;
|
|
1073
1087
|
}
|
|
1074
1088
|
|
|
1075
|
-
|
|
1089
|
+
declare type TaxEstimatesContextProviderProps = PropsWithChildren<{
|
|
1090
|
+
onClickReviewTransactions?: (payload: TaxEstimatesReviewTransactionsPayload) => void;
|
|
1091
|
+
}>;
|
|
1092
|
+
|
|
1093
|
+
declare type TaxEstimatesProps = TaxEstimatesContextProviderProps;
|
|
1094
|
+
|
|
1095
|
+
declare type TaxEstimatesReviewTransactionsPayload = {
|
|
1096
|
+
uncategorizedAmount: number;
|
|
1097
|
+
uncategorizedTransactionCount: number;
|
|
1098
|
+
};
|
|
1076
1099
|
|
|
1077
1100
|
declare type TimeRangePickerConfig = {
|
|
1078
1101
|
/**
|
|
@@ -1125,6 +1148,8 @@ export declare const unstable_MileageTracking: ({ showTitle }: {
|
|
|
1125
1148
|
showTitle?: boolean;
|
|
1126
1149
|
}) => JSX_2.Element;
|
|
1127
1150
|
|
|
1151
|
+
export declare const unstable_TaxEstimates: ({ onClickReviewTransactions: onReviewClicked }: TaxEstimatesProps) => JSX_2.Element;
|
|
1152
|
+
|
|
1128
1153
|
export declare const unstable_TimeTracking: ({ showTitle, onReportsClick, stringOverrides }: TimeTrackingProps) => JSX_2.Element;
|
|
1129
1154
|
|
|
1130
1155
|
export declare const unstable_UnifiedReports: ({ dateSelectionMode }: UnifiedReportProps) => JSX_2.Element;
|