@layerfi/components 0.1.85 → 0.1.86
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 +12588 -10556
- package/dist/esm/index.mjs +12464 -10419
- package/dist/index.css +189 -18
- package/dist/index.d.ts +835 -529
- package/package.json +2 -28
package/dist/index.d.ts
CHANGED
|
@@ -245,6 +245,17 @@ declare module '@layerfi/components/api/layer/linked_accounts' {
|
|
|
245
245
|
} | undefined;
|
|
246
246
|
body?: Record<string, unknown> | undefined;
|
|
247
247
|
} | undefined) => Promise<Record<string, unknown>>;
|
|
248
|
+
type UpdateOpeningBalanceBody = {
|
|
249
|
+
effective_at: string;
|
|
250
|
+
balance: number;
|
|
251
|
+
};
|
|
252
|
+
export const updateOpeningBalance: (baseUrl: string, accessToken: string | undefined, options?: {
|
|
253
|
+
params?: {
|
|
254
|
+
businessId: string;
|
|
255
|
+
accountId: string;
|
|
256
|
+
} | undefined;
|
|
257
|
+
body?: UpdateOpeningBalanceBody | undefined;
|
|
258
|
+
} | undefined) => Promise<never>;
|
|
248
259
|
export const getLinkedAccounts: (baseUrl: string, accessToken: string | undefined, options?: {
|
|
249
260
|
params?: {
|
|
250
261
|
businessId: string;
|
|
@@ -345,6 +356,7 @@ declare module '@layerfi/components/api/layer/linked_accounts' {
|
|
|
345
356
|
} | undefined;
|
|
346
357
|
body?: Record<string, unknown> | undefined;
|
|
347
358
|
} | undefined) => Promise<Record<string, unknown>>;
|
|
359
|
+
export {};
|
|
348
360
|
|
|
349
361
|
}
|
|
350
362
|
declare module '@layerfi/components/api/layer/profit_and_loss' {
|
|
@@ -813,6 +825,16 @@ declare module '@layerfi/components/api/layer' {
|
|
|
813
825
|
} | undefined;
|
|
814
826
|
body?: Record<string, unknown> | undefined;
|
|
815
827
|
} | undefined) => Promise<Record<string, unknown>>;
|
|
828
|
+
updateOpeningBalance: (baseUrl: string, accessToken: string | undefined, options?: {
|
|
829
|
+
params?: {
|
|
830
|
+
businessId: string;
|
|
831
|
+
accountId: string;
|
|
832
|
+
} | undefined;
|
|
833
|
+
body?: {
|
|
834
|
+
effective_at: string;
|
|
835
|
+
balance: number;
|
|
836
|
+
} | undefined;
|
|
837
|
+
} | undefined) => Promise<never>;
|
|
816
838
|
getStatementOfCashFlow: (baseUrl: string, accessToken: string | undefined, options?: {
|
|
817
839
|
params?: {
|
|
818
840
|
businessId: string;
|
|
@@ -866,7 +888,6 @@ declare module '@layerfi/components/api/layer' {
|
|
|
866
888
|
|
|
867
889
|
}
|
|
868
890
|
declare module '@layerfi/components/components/ActionableList/ActionableList' {
|
|
869
|
-
import React from 'react';
|
|
870
891
|
export interface ActionableListOption<T> {
|
|
871
892
|
label: string;
|
|
872
893
|
id: string;
|
|
@@ -881,7 +902,7 @@ declare module '@layerfi/components/components/ActionableList/ActionableList' {
|
|
|
881
902
|
selectedId?: string;
|
|
882
903
|
showDescriptions?: boolean;
|
|
883
904
|
}
|
|
884
|
-
export const ActionableList: <T>({ options, onClick, selectedId, showDescriptions, }: ActionableListProps<T>) =>
|
|
905
|
+
export const ActionableList: <T>({ options, onClick, selectedId, showDescriptions, }: ActionableListProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
885
906
|
export {};
|
|
886
907
|
|
|
887
908
|
}
|
|
@@ -890,7 +911,7 @@ declare module '@layerfi/components/components/ActionableList/index' {
|
|
|
890
911
|
|
|
891
912
|
}
|
|
892
913
|
declare module '@layerfi/components/components/ActionableRow/ActionableRow' {
|
|
893
|
-
import
|
|
914
|
+
import { ReactNode } from 'react';
|
|
894
915
|
interface ActionableRowProps {
|
|
895
916
|
icon?: ReactNode;
|
|
896
917
|
iconBox?: ReactNode;
|
|
@@ -899,7 +920,7 @@ declare module '@layerfi/components/components/ActionableRow/ActionableRow' {
|
|
|
899
920
|
button?: ReactNode;
|
|
900
921
|
onClick?: () => void;
|
|
901
922
|
}
|
|
902
|
-
export const ActionableRow: ({ icon, iconBox, title, description, button, onClick, }: ActionableRowProps) =>
|
|
923
|
+
export const ActionableRow: ({ icon, iconBox, title, description, button, onClick, }: ActionableRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
903
924
|
export {};
|
|
904
925
|
|
|
905
926
|
}
|
|
@@ -908,7 +929,7 @@ declare module '@layerfi/components/components/ActionableRow/index' {
|
|
|
908
929
|
|
|
909
930
|
}
|
|
910
931
|
declare module '@layerfi/components/components/Badge/Badge' {
|
|
911
|
-
import
|
|
932
|
+
import { ReactNode } from 'react';
|
|
912
933
|
import { ButtonProps } from '@layerfi/components/components/Button/Button';
|
|
913
934
|
export enum BadgeSize {
|
|
914
935
|
SMALL = "small",
|
|
@@ -930,7 +951,7 @@ declare module '@layerfi/components/components/Badge/Badge' {
|
|
|
930
951
|
variant?: BadgeVariant;
|
|
931
952
|
hoverable?: boolean;
|
|
932
953
|
}
|
|
933
|
-
export const Badge: ({ icon, onClick, children, tooltip, size, variant, hoverable, }: BadgeProps) =>
|
|
954
|
+
export const Badge: ({ icon, onClick, children, tooltip, size, variant, hoverable, }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
934
955
|
|
|
935
956
|
}
|
|
936
957
|
declare module '@layerfi/components/components/Badge/index' {
|
|
@@ -939,12 +960,12 @@ declare module '@layerfi/components/components/Badge/index' {
|
|
|
939
960
|
|
|
940
961
|
}
|
|
941
962
|
declare module '@layerfi/components/components/BadgeLoader/BadgeLoader' {
|
|
942
|
-
import
|
|
963
|
+
import { ReactNode } from 'react';
|
|
943
964
|
export interface BadgeLoaderProps {
|
|
944
965
|
children?: ReactNode;
|
|
945
966
|
size?: number;
|
|
946
967
|
}
|
|
947
|
-
export const BadgeLoader: ({ children }: BadgeLoaderProps) =>
|
|
968
|
+
export const BadgeLoader: ({ children }: BadgeLoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
948
969
|
|
|
949
970
|
}
|
|
950
971
|
declare module '@layerfi/components/components/BadgeLoader/index' {
|
|
@@ -952,7 +973,7 @@ declare module '@layerfi/components/components/BadgeLoader/index' {
|
|
|
952
973
|
|
|
953
974
|
}
|
|
954
975
|
declare module '@layerfi/components/components/BalanceSheet/BalanceSheet' {
|
|
955
|
-
import
|
|
976
|
+
import { PropsWithChildren } from 'react';
|
|
956
977
|
import { BalanceSheetTableStringOverrides } from '@layerfi/components/components/BalanceSheetTable/BalanceSheetTable';
|
|
957
978
|
export interface BalanceSheetStringOverrides {
|
|
958
979
|
balanceSheetTable?: BalanceSheetTableStringOverrides;
|
|
@@ -967,7 +988,7 @@ declare module '@layerfi/components/components/BalanceSheet/BalanceSheet' {
|
|
|
967
988
|
asWidget?: boolean;
|
|
968
989
|
stringOverrides?: BalanceSheetStringOverrides;
|
|
969
990
|
};
|
|
970
|
-
export const BalanceSheet: (props: BalanceSheetProps) =>
|
|
991
|
+
export const BalanceSheet: (props: BalanceSheetProps) => import("react/jsx-runtime").JSX.Element;
|
|
971
992
|
|
|
972
993
|
}
|
|
973
994
|
declare module '@layerfi/components/components/BalanceSheet/constants' {
|
|
@@ -979,12 +1000,11 @@ declare module '@layerfi/components/components/BalanceSheet/constants' {
|
|
|
979
1000
|
|
|
980
1001
|
}
|
|
981
1002
|
declare module '@layerfi/components/components/BalanceSheet/download/BalanceSheetDownloadButton' {
|
|
982
|
-
import React from 'react';
|
|
983
1003
|
type BalanceSheetDownloadButtonProps = {
|
|
984
1004
|
effectiveDate: Date;
|
|
985
1005
|
iconOnly?: boolean;
|
|
986
1006
|
};
|
|
987
|
-
export function BalanceSheetDownloadButton({ effectiveDate, iconOnly, }: BalanceSheetDownloadButtonProps):
|
|
1007
|
+
export function BalanceSheetDownloadButton({ effectiveDate, iconOnly, }: BalanceSheetDownloadButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
988
1008
|
export {};
|
|
989
1009
|
|
|
990
1010
|
}
|
|
@@ -1010,25 +1030,15 @@ declare module '@layerfi/components/components/BalanceSheet/index' {
|
|
|
1010
1030
|
|
|
1011
1031
|
}
|
|
1012
1032
|
declare module '@layerfi/components/components/BalanceSheetDatePicker/BalanceSheetDatePicker' {
|
|
1013
|
-
|
|
1014
|
-
export type BalanceSheetDatePickerProps = {
|
|
1015
|
-
effectiveDate: Date;
|
|
1016
|
-
setEffectiveDate: (date: Date) => void;
|
|
1017
|
-
};
|
|
1018
|
-
export const BalanceSheetDatePicker: ({ effectiveDate, setEffectiveDate, }: BalanceSheetDatePickerProps) => React.JSX.Element;
|
|
1019
|
-
|
|
1020
|
-
}
|
|
1021
|
-
declare module '@layerfi/components/components/BalanceSheetDatePicker/index' {
|
|
1022
|
-
export { BalanceSheetDatePicker } from '@layerfi/components/components/BalanceSheetDatePicker/BalanceSheetDatePicker';
|
|
1033
|
+
export function BalanceSheetDatePicker(): import("react/jsx-runtime").JSX.Element;
|
|
1023
1034
|
|
|
1024
1035
|
}
|
|
1025
1036
|
declare module '@layerfi/components/components/BalanceSheetExpandAllButton/BalanceSheetExpandAllButton' {
|
|
1026
|
-
import React from 'react';
|
|
1027
1037
|
import { View } from '@layerfi/components/types/general';
|
|
1028
1038
|
export interface BalanceSheetExpandAllButtonProps {
|
|
1029
1039
|
view?: View;
|
|
1030
1040
|
}
|
|
1031
|
-
export const BalanceSheetExpandAllButton: ({ view, }: BalanceSheetExpandAllButtonProps) =>
|
|
1041
|
+
export const BalanceSheetExpandAllButton: ({ view, }: BalanceSheetExpandAllButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1032
1042
|
|
|
1033
1043
|
}
|
|
1034
1044
|
declare module '@layerfi/components/components/BalanceSheetExpandAllButton/index' {
|
|
@@ -1036,7 +1046,6 @@ declare module '@layerfi/components/components/BalanceSheetExpandAllButton/index
|
|
|
1036
1046
|
|
|
1037
1047
|
}
|
|
1038
1048
|
declare module '@layerfi/components/components/BalanceSheetTable/BalanceSheetTable' {
|
|
1039
|
-
import React from 'react';
|
|
1040
1049
|
import { BalanceSheet } from '@layerfi/components/types';
|
|
1041
1050
|
export interface BalanceSheetTableStringOverrides {
|
|
1042
1051
|
typeColumnHeader?: string;
|
|
@@ -1051,7 +1060,7 @@ declare module '@layerfi/components/components/BalanceSheetTable/BalanceSheetTab
|
|
|
1051
1060
|
data: BalanceSheet;
|
|
1052
1061
|
config: BalanceSheetRowProps[];
|
|
1053
1062
|
stringOverrides?: BalanceSheetTableStringOverrides;
|
|
1054
|
-
}) =>
|
|
1063
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
1055
1064
|
export {};
|
|
1056
1065
|
|
|
1057
1066
|
}
|
|
@@ -1060,16 +1069,14 @@ declare module '@layerfi/components/components/BalanceSheetTable/index' {
|
|
|
1060
1069
|
|
|
1061
1070
|
}
|
|
1062
1071
|
declare module '@layerfi/components/components/BankTransactionList/Assignment' {
|
|
1063
|
-
import React from 'react';
|
|
1064
1072
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1065
1073
|
export interface AssignmentProps {
|
|
1066
1074
|
bankTransaction: BankTransaction;
|
|
1067
1075
|
}
|
|
1068
|
-
export const Assignment: ({ bankTransaction }: AssignmentProps) =>
|
|
1076
|
+
export const Assignment: ({ bankTransaction }: AssignmentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1069
1077
|
|
|
1070
1078
|
}
|
|
1071
1079
|
declare module '@layerfi/components/components/BankTransactionList/BankTransactionList' {
|
|
1072
|
-
import React from 'react';
|
|
1073
1080
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1074
1081
|
import { BankTransactionCTAStringOverrides, BankTransactionsMode } from '@layerfi/components/components/BankTransactions/BankTransactions';
|
|
1075
1082
|
interface BankTransactionListProps {
|
|
@@ -1083,12 +1090,11 @@ declare module '@layerfi/components/components/BankTransactionList/BankTransacti
|
|
|
1083
1090
|
showTooltips: boolean;
|
|
1084
1091
|
stringOverrides?: BankTransactionCTAStringOverrides;
|
|
1085
1092
|
}
|
|
1086
|
-
export const BankTransactionList: ({ bankTransactions, editable, removeTransaction, mode, containerWidth, showDescriptions, showReceiptUploads, showTooltips, stringOverrides, }: BankTransactionListProps) =>
|
|
1093
|
+
export const BankTransactionList: ({ bankTransactions, editable, removeTransaction, mode, containerWidth, showDescriptions, showReceiptUploads, showTooltips, stringOverrides, }: BankTransactionListProps) => import("react/jsx-runtime").JSX.Element;
|
|
1087
1094
|
export {};
|
|
1088
1095
|
|
|
1089
1096
|
}
|
|
1090
1097
|
declare module '@layerfi/components/components/BankTransactionList/BankTransactionListItem' {
|
|
1091
|
-
import React from 'react';
|
|
1092
1098
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1093
1099
|
import { BankTransactionCTAStringOverrides, BankTransactionsMode } from '@layerfi/components/components/BankTransactions/BankTransactions';
|
|
1094
1100
|
type Props = {
|
|
@@ -1104,7 +1110,7 @@ declare module '@layerfi/components/components/BankTransactionList/BankTransacti
|
|
|
1104
1110
|
containerWidth?: number;
|
|
1105
1111
|
stringOverrides?: BankTransactionCTAStringOverrides;
|
|
1106
1112
|
};
|
|
1107
|
-
export const BankTransactionListItem: ({ index, dateFormat, bankTransaction, editable, mode, showDescriptions, showReceiptUploads, showTooltips, containerWidth, removeTransaction, stringOverrides, }: Props) =>
|
|
1113
|
+
export const BankTransactionListItem: ({ index, dateFormat, bankTransaction, editable, mode, showDescriptions, showReceiptUploads, showTooltips, containerWidth, removeTransaction, stringOverrides, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
1108
1114
|
export {};
|
|
1109
1115
|
|
|
1110
1116
|
}
|
|
@@ -1113,7 +1119,6 @@ declare module '@layerfi/components/components/BankTransactionList/index' {
|
|
|
1113
1119
|
|
|
1114
1120
|
}
|
|
1115
1121
|
declare module '@layerfi/components/components/BankTransactionMobileList/BankTransactionMobileForms' {
|
|
1116
|
-
import React from 'react';
|
|
1117
1122
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1118
1123
|
import { Purpose } from '@layerfi/components/components/BankTransactionMobileList/BankTransactionMobileListItem';
|
|
1119
1124
|
interface BankTransactionMobileFormsProps {
|
|
@@ -1125,12 +1130,11 @@ declare module '@layerfi/components/components/BankTransactionMobileList/BankTra
|
|
|
1125
1130
|
showDescriptions?: boolean;
|
|
1126
1131
|
isOpen?: boolean;
|
|
1127
1132
|
}
|
|
1128
|
-
export const BankTransactionMobileForms: ({ purpose, bankTransaction, showTooltips, showCategorization, showReceiptUploads, showDescriptions, isOpen, }: BankTransactionMobileFormsProps) =>
|
|
1133
|
+
export const BankTransactionMobileForms: ({ purpose, bankTransaction, showTooltips, showCategorization, showReceiptUploads, showDescriptions, isOpen, }: BankTransactionMobileFormsProps) => import("react/jsx-runtime").JSX.Element;
|
|
1129
1134
|
export {};
|
|
1130
1135
|
|
|
1131
1136
|
}
|
|
1132
1137
|
declare module '@layerfi/components/components/BankTransactionMobileList/BankTransactionMobileList' {
|
|
1133
|
-
import React from 'react';
|
|
1134
1138
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1135
1139
|
import { BankTransactionsMode } from '@layerfi/components/components/BankTransactions/BankTransactions';
|
|
1136
1140
|
export interface BankTransactionMobileListProps {
|
|
@@ -1143,11 +1147,10 @@ declare module '@layerfi/components/components/BankTransactionMobileList/BankTra
|
|
|
1143
1147
|
showReceiptUploads?: boolean;
|
|
1144
1148
|
showDescriptions?: boolean;
|
|
1145
1149
|
}
|
|
1146
|
-
export const BankTransactionMobileList: ({ bankTransactions, removeTransaction, editable, initialLoad, showTooltips, mode, showReceiptUploads, showDescriptions, }: BankTransactionMobileListProps) =>
|
|
1150
|
+
export const BankTransactionMobileList: ({ bankTransactions, removeTransaction, editable, initialLoad, showTooltips, mode, showReceiptUploads, showDescriptions, }: BankTransactionMobileListProps) => import("react/jsx-runtime").JSX.Element;
|
|
1147
1151
|
|
|
1148
1152
|
}
|
|
1149
1153
|
declare module '@layerfi/components/components/BankTransactionMobileList/BankTransactionMobileListItem' {
|
|
1150
|
-
import React from 'react';
|
|
1151
1154
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1152
1155
|
import { BankTransactionsMode } from '@layerfi/components/components/BankTransactions/BankTransactions';
|
|
1153
1156
|
export interface BankTransactionMobileListItemProps {
|
|
@@ -1167,22 +1170,20 @@ declare module '@layerfi/components/components/BankTransactionMobileList/BankTra
|
|
|
1167
1170
|
personal = "personal",
|
|
1168
1171
|
more = "more"
|
|
1169
1172
|
}
|
|
1170
|
-
export const BankTransactionMobileListItem: ({ index, bankTransaction, removeTransaction, editable, mode, initialLoad, showTooltips, isFirstItem, showDescriptions, showReceiptUploads, }: BankTransactionMobileListItemProps) =>
|
|
1173
|
+
export const BankTransactionMobileListItem: ({ index, bankTransaction, removeTransaction, editable, mode, initialLoad, showTooltips, isFirstItem, showDescriptions, showReceiptUploads, }: BankTransactionMobileListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
1171
1174
|
|
|
1172
1175
|
}
|
|
1173
1176
|
declare module '@layerfi/components/components/BankTransactionMobileList/BusinessCategories' {
|
|
1174
|
-
import React from 'react';
|
|
1175
1177
|
import { Option } from '@layerfi/components/components/BankTransactionMobileList/utils';
|
|
1176
1178
|
export interface BusinessCategoriesProps {
|
|
1177
1179
|
select: (category: Option) => void;
|
|
1178
1180
|
selectedId?: string;
|
|
1179
1181
|
showTooltips: boolean;
|
|
1180
1182
|
}
|
|
1181
|
-
export const BusinessCategories: ({ select, selectedId, showTooltips, }: BusinessCategoriesProps) =>
|
|
1183
|
+
export const BusinessCategories: ({ select, selectedId, showTooltips, }: BusinessCategoriesProps) => import("react/jsx-runtime").JSX.Element;
|
|
1182
1184
|
|
|
1183
1185
|
}
|
|
1184
1186
|
declare module '@layerfi/components/components/BankTransactionMobileList/BusinessForm' {
|
|
1185
|
-
import React from 'react';
|
|
1186
1187
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1187
1188
|
interface BusinessFormProps {
|
|
1188
1189
|
bankTransaction: BankTransaction;
|
|
@@ -1191,34 +1192,31 @@ declare module '@layerfi/components/components/BankTransactionMobileList/Busines
|
|
|
1191
1192
|
showReceiptUploads?: boolean;
|
|
1192
1193
|
showDescriptions?: boolean;
|
|
1193
1194
|
}
|
|
1194
|
-
export const BusinessForm: ({ bankTransaction, showTooltips, showCategorization, showReceiptUploads, showDescriptions, }: BusinessFormProps) =>
|
|
1195
|
+
export const BusinessForm: ({ bankTransaction, showTooltips, showCategorization, showReceiptUploads, showDescriptions, }: BusinessFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
1195
1196
|
export {};
|
|
1196
1197
|
|
|
1197
1198
|
}
|
|
1198
1199
|
declare module '@layerfi/components/components/BankTransactionMobileList/MatchForm' {
|
|
1199
|
-
import React from 'react';
|
|
1200
1200
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1201
1201
|
export const MatchForm: ({ bankTransaction, showReceiptUploads, showDescriptions, }: {
|
|
1202
1202
|
bankTransaction: BankTransaction;
|
|
1203
1203
|
showReceiptUploads?: boolean;
|
|
1204
1204
|
showDescriptions?: boolean;
|
|
1205
|
-
}) =>
|
|
1205
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
1206
1206
|
|
|
1207
1207
|
}
|
|
1208
1208
|
declare module '@layerfi/components/components/BankTransactionMobileList/PersonalForm' {
|
|
1209
|
-
import React from 'react';
|
|
1210
1209
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1211
1210
|
interface PersonalFormProps {
|
|
1212
1211
|
bankTransaction: BankTransaction;
|
|
1213
1212
|
showReceiptUploads?: boolean;
|
|
1214
1213
|
showDescriptions?: boolean;
|
|
1215
1214
|
}
|
|
1216
|
-
export const PersonalForm: ({ bankTransaction, showReceiptUploads, showDescriptions, }: PersonalFormProps) =>
|
|
1215
|
+
export const PersonalForm: ({ bankTransaction, showReceiptUploads, showDescriptions, }: PersonalFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
1217
1216
|
export {};
|
|
1218
1217
|
|
|
1219
1218
|
}
|
|
1220
1219
|
declare module '@layerfi/components/components/BankTransactionMobileList/SplitAndMatchForm' {
|
|
1221
|
-
import React from 'react';
|
|
1222
1220
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1223
1221
|
interface SplitAndMatchFormProps {
|
|
1224
1222
|
bankTransaction: BankTransaction;
|
|
@@ -1227,12 +1225,11 @@ declare module '@layerfi/components/components/BankTransactionMobileList/SplitAn
|
|
|
1227
1225
|
showReceiptUploads?: boolean;
|
|
1228
1226
|
showDescriptions?: boolean;
|
|
1229
1227
|
}
|
|
1230
|
-
export const SplitAndMatchForm: ({ bankTransaction, showTooltips, showReceiptUploads, showDescriptions, }: SplitAndMatchFormProps) =>
|
|
1228
|
+
export const SplitAndMatchForm: ({ bankTransaction, showTooltips, showReceiptUploads, showDescriptions, }: SplitAndMatchFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
1231
1229
|
export {};
|
|
1232
1230
|
|
|
1233
1231
|
}
|
|
1234
1232
|
declare module '@layerfi/components/components/BankTransactionMobileList/SplitForm' {
|
|
1235
|
-
import React from 'react';
|
|
1236
1233
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1237
1234
|
export const SplitForm: ({ bankTransaction, showTooltips, showCategorization, showReceiptUploads, showDescriptions, }: {
|
|
1238
1235
|
bankTransaction: BankTransaction;
|
|
@@ -1240,7 +1237,7 @@ declare module '@layerfi/components/components/BankTransactionMobileList/SplitFo
|
|
|
1240
1237
|
showCategorization?: boolean;
|
|
1241
1238
|
showReceiptUploads?: boolean;
|
|
1242
1239
|
showDescriptions?: boolean;
|
|
1243
|
-
}) =>
|
|
1240
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
1244
1241
|
|
|
1245
1242
|
}
|
|
1246
1243
|
declare module '@layerfi/components/components/BankTransactionMobileList/TransactionToOpenContext' {
|
|
@@ -1296,7 +1293,7 @@ declare module '@layerfi/components/components/BankTransactionMobileList/useMemo
|
|
|
1296
1293
|
setMemoText: React.Dispatch<React.SetStateAction<string | undefined>>;
|
|
1297
1294
|
saveMemoText: () => Promise<void>;
|
|
1298
1295
|
};
|
|
1299
|
-
export const MemoTextProvider: ({ children, bankTransaction, isActive, }: MemoTextProviderProps) =>
|
|
1296
|
+
export const MemoTextProvider: ({ children, bankTransaction, isActive, }: MemoTextProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
1300
1297
|
export {};
|
|
1301
1298
|
|
|
1302
1299
|
}
|
|
@@ -1356,7 +1353,6 @@ declare module '@layerfi/components/components/BankTransactionReceipts/index' {
|
|
|
1356
1353
|
|
|
1357
1354
|
}
|
|
1358
1355
|
declare module '@layerfi/components/components/BankTransactionRow/BankTransactionRow' {
|
|
1359
|
-
import React from 'react';
|
|
1360
1356
|
import { BankTransaction, Category } from '@layerfi/components/types';
|
|
1361
1357
|
import { BankTransactionCTAStringOverrides, BankTransactionsMode } from '@layerfi/components/components/BankTransactions/BankTransactions';
|
|
1362
1358
|
type Props = {
|
|
@@ -1377,12 +1373,11 @@ declare module '@layerfi/components/components/BankTransactionRow/BankTransactio
|
|
|
1377
1373
|
export type LastSubmittedForm = 'simple' | 'match' | 'split' | undefined;
|
|
1378
1374
|
export const extractDescriptionForSplit: (category: Category) => string;
|
|
1379
1375
|
export const getDefaultSelectedCategory: (bankTransaction: BankTransaction) => import("@layerfi/components/components/CategorySelect/CategorySelect").CategoryOption | undefined;
|
|
1380
|
-
export const BankTransactionRow: ({ index, editable, dateFormat, bankTransaction, mode, removeTransaction, containerWidth, initialLoad, showDescriptions, showReceiptUploads, showReceiptUploadColumn, showTooltips, stringOverrides, }: Props) =>
|
|
1376
|
+
export const BankTransactionRow: ({ index, editable, dateFormat, bankTransaction, mode, removeTransaction, containerWidth, initialLoad, showDescriptions, showReceiptUploads, showReceiptUploadColumn, showTooltips, stringOverrides, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
1381
1377
|
export {};
|
|
1382
1378
|
|
|
1383
1379
|
}
|
|
1384
1380
|
declare module '@layerfi/components/components/BankTransactionRow/MatchBadge' {
|
|
1385
|
-
import React from 'react';
|
|
1386
1381
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1387
1382
|
export interface MatchBadgeProps {
|
|
1388
1383
|
bankTransaction: BankTransaction;
|
|
@@ -1390,16 +1385,15 @@ declare module '@layerfi/components/components/BankTransactionRow/MatchBadge' {
|
|
|
1390
1385
|
dateFormat: string;
|
|
1391
1386
|
text?: string;
|
|
1392
1387
|
}
|
|
1393
|
-
export const MatchBadge: ({ bankTransaction, classNamePrefix, dateFormat, text, }: MatchBadgeProps) =>
|
|
1388
|
+
export const MatchBadge: ({ bankTransaction, classNamePrefix, dateFormat, text, }: MatchBadgeProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
1394
1389
|
|
|
1395
1390
|
}
|
|
1396
1391
|
declare module '@layerfi/components/components/BankTransactionRow/SplitTooltipDetails' {
|
|
1397
|
-
import React from 'react';
|
|
1398
1392
|
import { Category } from '@layerfi/components/types';
|
|
1399
1393
|
export const SplitTooltipDetails: ({ classNamePrefix, category, }: {
|
|
1400
1394
|
classNamePrefix: string;
|
|
1401
1395
|
category: Category;
|
|
1402
|
-
}) =>
|
|
1396
|
+
}) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
1403
1397
|
|
|
1404
1398
|
}
|
|
1405
1399
|
declare module '@layerfi/components/components/BankTransactionRow/index' {
|
|
@@ -1407,7 +1401,6 @@ declare module '@layerfi/components/components/BankTransactionRow/index' {
|
|
|
1407
1401
|
|
|
1408
1402
|
}
|
|
1409
1403
|
declare module '@layerfi/components/components/BankTransactions/BankTransactions' {
|
|
1410
|
-
import React from 'react';
|
|
1411
1404
|
import { BankTransactionFilters } from '@layerfi/components/hooks/useBankTransactions/types';
|
|
1412
1405
|
import { BankTransactionsTableStringOverrides } from '@layerfi/components/components/BankTransactionsTable/BankTransactionsTable';
|
|
1413
1406
|
import { BankTransactionsHeaderStringOverrides } from '@layerfi/components/components/BankTransactions/BankTransactionsHeader';
|
|
@@ -1441,11 +1434,11 @@ declare module '@layerfi/components/components/BankTransactions/BankTransactions
|
|
|
1441
1434
|
export interface BankTransactionsWithErrorProps extends BankTransactionsProps {
|
|
1442
1435
|
onError?: (error: LayerError) => void;
|
|
1443
1436
|
}
|
|
1444
|
-
export const BankTransactions: ({ onError, ...props }: BankTransactionsWithErrorProps) =>
|
|
1437
|
+
export const BankTransactions: ({ onError, ...props }: BankTransactionsWithErrorProps) => import("react/jsx-runtime").JSX.Element;
|
|
1445
1438
|
|
|
1446
1439
|
}
|
|
1447
1440
|
declare module '@layerfi/components/components/BankTransactions/BankTransactionsHeader' {
|
|
1448
|
-
import
|
|
1441
|
+
import { ChangeEvent } from 'react';
|
|
1449
1442
|
import { DateRange, DisplayState } from '@layerfi/components/types';
|
|
1450
1443
|
import { MobileComponentType } from '@layerfi/components/components/BankTransactions/constants';
|
|
1451
1444
|
export interface BankTransactionsHeaderProps {
|
|
@@ -1468,11 +1461,10 @@ declare module '@layerfi/components/components/BankTransactions/BankTransactions
|
|
|
1468
1461
|
header?: string;
|
|
1469
1462
|
downloadButton?: string;
|
|
1470
1463
|
}
|
|
1471
|
-
export const BankTransactionsHeader: ({ shiftStickyHeader, asWidget, categorizedOnly, categorizeView, display, onCategorizationDisplayChange, mobileComponent, withDatePicker, listView, dateRange, setDateRange, stringOverrides, isSyncing, }: BankTransactionsHeaderProps) =>
|
|
1464
|
+
export const BankTransactionsHeader: ({ shiftStickyHeader, asWidget, categorizedOnly, categorizeView, display, onCategorizationDisplayChange, mobileComponent, withDatePicker, listView, dateRange, setDateRange, stringOverrides, isSyncing, }: BankTransactionsHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
1472
1465
|
|
|
1473
1466
|
}
|
|
1474
1467
|
declare module '@layerfi/components/components/BankTransactions/DataStates' {
|
|
1475
|
-
import React from 'react';
|
|
1476
1468
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1477
1469
|
interface DataStatesProps {
|
|
1478
1470
|
bankTransactions?: BankTransaction[];
|
|
@@ -1482,7 +1474,7 @@ declare module '@layerfi/components/components/BankTransactions/DataStates' {
|
|
|
1482
1474
|
refetch: () => void;
|
|
1483
1475
|
editable: boolean;
|
|
1484
1476
|
}
|
|
1485
|
-
export const DataStates: ({ bankTransactions, isLoading, isValidating, error, refetch, editable, }: DataStatesProps) =>
|
|
1477
|
+
export const DataStates: ({ bankTransactions, isLoading, isValidating, error, refetch, editable, }: DataStatesProps) => import("react/jsx-runtime").JSX.Element;
|
|
1486
1478
|
export {};
|
|
1487
1479
|
|
|
1488
1480
|
}
|
|
@@ -1504,11 +1496,10 @@ declare module '@layerfi/components/components/BankTransactions/utils' {
|
|
|
1504
1496
|
|
|
1505
1497
|
}
|
|
1506
1498
|
declare module '@layerfi/components/components/BankTransactionsLoader/BankTransactionsLoader' {
|
|
1507
|
-
import React from 'react';
|
|
1508
1499
|
export const BankTransactionsLoader: ({ isLoading, showTooltips, }: {
|
|
1509
1500
|
isLoading: boolean;
|
|
1510
1501
|
showTooltips: boolean;
|
|
1511
|
-
}) =>
|
|
1502
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
1512
1503
|
|
|
1513
1504
|
}
|
|
1514
1505
|
declare module '@layerfi/components/components/BankTransactionsLoader/index' {
|
|
@@ -1516,7 +1507,6 @@ declare module '@layerfi/components/components/BankTransactionsLoader/index' {
|
|
|
1516
1507
|
|
|
1517
1508
|
}
|
|
1518
1509
|
declare module '@layerfi/components/components/BankTransactionsTable/BankTransactionsTable' {
|
|
1519
|
-
import React from 'react';
|
|
1520
1510
|
import { BankTransaction } from '@layerfi/components/types';
|
|
1521
1511
|
import { BankTransactionsMode, BankTransactionsStringOverrides } from '@layerfi/components/components/BankTransactions/BankTransactions';
|
|
1522
1512
|
export interface BankTransactionsTableStringOverrides {
|
|
@@ -1545,7 +1535,7 @@ declare module '@layerfi/components/components/BankTransactionsTable/BankTransac
|
|
|
1545
1535
|
lastPage?: boolean;
|
|
1546
1536
|
onRefresh?: () => void;
|
|
1547
1537
|
}
|
|
1548
|
-
export const BankTransactionsTable: ({ categorizeView, editable, isLoading, bankTransactions, mode, initialLoad, containerWidth, removeTransaction, showDescriptions, showReceiptUploads, showTooltips, stringOverrides, isSyncing, page, lastPage, onRefresh, }: BankTransactionsTableProps) =>
|
|
1538
|
+
export const BankTransactionsTable: ({ categorizeView, editable, isLoading, bankTransactions, mode, initialLoad, containerWidth, removeTransaction, showDescriptions, showReceiptUploads, showTooltips, stringOverrides, isSyncing, page, lastPage, onRefresh, }: BankTransactionsTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
1549
1539
|
export {};
|
|
1550
1540
|
|
|
1551
1541
|
}
|
|
@@ -1554,16 +1544,16 @@ declare module '@layerfi/components/components/BankTransactionsTable/index' {
|
|
|
1554
1544
|
|
|
1555
1545
|
}
|
|
1556
1546
|
declare module '@layerfi/components/components/Button/BackButton' {
|
|
1557
|
-
import
|
|
1547
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
1558
1548
|
type BackButtonProps = {
|
|
1559
1549
|
textOnly?: boolean;
|
|
1560
1550
|
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'>;
|
|
1561
|
-
export const BackButton: ({ className, textOnly, ...props }: BackButtonProps) =>
|
|
1551
|
+
export const BackButton: ({ className, textOnly, ...props }: BackButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1562
1552
|
export {};
|
|
1563
1553
|
|
|
1564
1554
|
}
|
|
1565
1555
|
declare module '@layerfi/components/components/Button/Button' {
|
|
1566
|
-
import
|
|
1556
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
1567
1557
|
export enum ButtonVariant {
|
|
1568
1558
|
primary = "primary",
|
|
1569
1559
|
secondary = "secondary",
|
|
@@ -1581,20 +1571,19 @@ declare module '@layerfi/components/components/Button/Button' {
|
|
|
1581
1571
|
isProcessing?: boolean;
|
|
1582
1572
|
tooltip?: ReactNode | string;
|
|
1583
1573
|
}
|
|
1584
|
-
export const Button: ({ className, children, variant, leftIcon, rightIcon, iconOnly, iconAsPrimary, justify, fullWidth, isProcessing, tooltip, ...props }: ButtonProps) =>
|
|
1574
|
+
export const Button: ({ className, children, variant, leftIcon, rightIcon, iconOnly, iconAsPrimary, justify, fullWidth, isProcessing, tooltip, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1585
1575
|
|
|
1586
1576
|
}
|
|
1587
1577
|
declare module '@layerfi/components/components/Button/CloseButton' {
|
|
1588
|
-
import
|
|
1578
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
1589
1579
|
type CloseButtonProps = {
|
|
1590
1580
|
textOnly?: boolean;
|
|
1591
1581
|
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'>;
|
|
1592
|
-
export const CloseButton: ({ className, textOnly, ...props }: CloseButtonProps) =>
|
|
1582
|
+
export const CloseButton: ({ className, textOnly, ...props }: CloseButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1593
1583
|
export {};
|
|
1594
1584
|
|
|
1595
1585
|
}
|
|
1596
1586
|
declare module '@layerfi/components/components/Button/DownloadButton' {
|
|
1597
|
-
import React from 'react';
|
|
1598
1587
|
import { ButtonProps } from '@layerfi/components/components/Button/Button';
|
|
1599
1588
|
interface DownloadButtonProps {
|
|
1600
1589
|
onClick?: () => void | Promise<void>;
|
|
@@ -1606,21 +1595,20 @@ declare module '@layerfi/components/components/Button/DownloadButton' {
|
|
|
1606
1595
|
errorText?: string;
|
|
1607
1596
|
tooltip?: ButtonProps['tooltip'];
|
|
1608
1597
|
}
|
|
1609
|
-
export const DownloadButton: ({ iconOnly, onClick, isDownloading, requestFailed, tooltip, text, retryText, errorText, }: DownloadButtonProps) =>
|
|
1598
|
+
export const DownloadButton: ({ iconOnly, onClick, isDownloading, requestFailed, tooltip, text, retryText, errorText, }: DownloadButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1610
1599
|
export {};
|
|
1611
1600
|
|
|
1612
1601
|
}
|
|
1613
1602
|
declare module '@layerfi/components/components/Button/ExpandButton' {
|
|
1614
|
-
import
|
|
1603
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
1615
1604
|
type ExpandButtonProps = {
|
|
1616
1605
|
collapsed?: boolean;
|
|
1617
1606
|
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'>;
|
|
1618
|
-
export const ExpandButton: ({ className, collapsed, ...props }: ExpandButtonProps) =>
|
|
1607
|
+
export const ExpandButton: ({ className, collapsed, ...props }: ExpandButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1619
1608
|
export {};
|
|
1620
1609
|
|
|
1621
1610
|
}
|
|
1622
1611
|
declare module '@layerfi/components/components/Button/ExpandCollapseButton' {
|
|
1623
|
-
import React from 'react';
|
|
1624
1612
|
import { ButtonVariant } from '@layerfi/components/components/Button/Button';
|
|
1625
1613
|
export interface ExpandCollapseButtonProps {
|
|
1626
1614
|
onClick: (value: boolean) => void;
|
|
@@ -1629,7 +1617,7 @@ declare module '@layerfi/components/components/Button/ExpandCollapseButton' {
|
|
|
1629
1617
|
iconOnly?: boolean;
|
|
1630
1618
|
variant?: ButtonVariant;
|
|
1631
1619
|
}
|
|
1632
|
-
export const ExpandCollapseButton: ({ onClick, expanded, className, iconOnly, variant, }: ExpandCollapseButtonProps) =>
|
|
1620
|
+
export const ExpandCollapseButton: ({ onClick, expanded, className, iconOnly, variant, }: ExpandCollapseButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1633
1621
|
|
|
1634
1622
|
}
|
|
1635
1623
|
declare module '@layerfi/components/components/Button/IconButton' {
|
|
@@ -1644,11 +1632,11 @@ declare module '@layerfi/components/components/Button/IconButton' {
|
|
|
1644
1632
|
download?: HTMLAnchorElement['download'];
|
|
1645
1633
|
onClick?: (e: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement, MouseEvent>) => void;
|
|
1646
1634
|
}
|
|
1647
|
-
export const IconButton: ({ className, children: _children, icon, active, withBorder, href, target, rel, download, ...props }: IconButtonProps) =>
|
|
1635
|
+
export const IconButton: ({ className, children: _children, icon, active, withBorder, href, target, rel, download, ...props }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1648
1636
|
|
|
1649
1637
|
}
|
|
1650
1638
|
declare module '@layerfi/components/components/Button/Link' {
|
|
1651
|
-
import
|
|
1639
|
+
import { HTMLAttributeAnchorTarget, LinkHTMLAttributes, ReactNode } from 'react';
|
|
1652
1640
|
import { ButtonVariant, ButtonJustify } from '@layerfi/components/components/Button/Button';
|
|
1653
1641
|
export interface LinkProps extends LinkHTMLAttributes<HTMLAnchorElement> {
|
|
1654
1642
|
variant?: ButtonVariant;
|
|
@@ -1660,11 +1648,11 @@ declare module '@layerfi/components/components/Button/Link' {
|
|
|
1660
1648
|
fullWidth?: boolean;
|
|
1661
1649
|
target: HTMLAttributeAnchorTarget;
|
|
1662
1650
|
}
|
|
1663
|
-
export const Link: ({ className, children, variant, leftIcon, rightIcon, iconOnly, iconAsPrimary, justify, fullWidth, ...props }: LinkProps) =>
|
|
1651
|
+
export const Link: ({ className, children, variant, leftIcon, rightIcon, iconOnly, iconAsPrimary, justify, fullWidth, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
1664
1652
|
|
|
1665
1653
|
}
|
|
1666
1654
|
declare module '@layerfi/components/components/Button/RetryButton' {
|
|
1667
|
-
import
|
|
1655
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
1668
1656
|
export interface RetryButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1669
1657
|
processing?: boolean;
|
|
1670
1658
|
disabled?: boolean;
|
|
@@ -1672,11 +1660,11 @@ declare module '@layerfi/components/components/Button/RetryButton' {
|
|
|
1672
1660
|
fullWidth?: boolean;
|
|
1673
1661
|
iconOnly?: boolean;
|
|
1674
1662
|
}
|
|
1675
|
-
export const RetryButton: ({ className, processing, disabled, error: _error, children, ...props }: RetryButtonProps) =>
|
|
1663
|
+
export const RetryButton: ({ className, processing, disabled, error: _error, children, ...props }: RetryButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1676
1664
|
|
|
1677
1665
|
}
|
|
1678
1666
|
declare module '@layerfi/components/components/Button/SubmitButton' {
|
|
1679
|
-
import
|
|
1667
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
1680
1668
|
import { ButtonProps } from '@layerfi/components/components/Button/Button';
|
|
1681
1669
|
export interface SubmitButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1682
1670
|
processing?: boolean;
|
|
@@ -1692,7 +1680,7 @@ declare module '@layerfi/components/components/Button/SubmitButton' {
|
|
|
1692
1680
|
SAVE = "save",
|
|
1693
1681
|
UPDATE = "update"
|
|
1694
1682
|
}
|
|
1695
|
-
export const SubmitButton: ({ active, className, processing, disabled, error, children, action, noIcon, ...props }: SubmitButtonProps) =>
|
|
1683
|
+
export const SubmitButton: ({ active, className, processing, disabled, error, children, action, noIcon, ...props }: SubmitButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1696
1684
|
|
|
1697
1685
|
}
|
|
1698
1686
|
declare module '@layerfi/components/components/Button/SwitchButton' {
|
|
@@ -1710,9 +1698,9 @@ declare module '@layerfi/components/components/Button/SwitchButton' {
|
|
|
1710
1698
|
|
|
1711
1699
|
}
|
|
1712
1700
|
declare module '@layerfi/components/components/Button/TextButton' {
|
|
1713
|
-
import
|
|
1701
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
1714
1702
|
export type TextButtonProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
1715
|
-
export const TextButton: ({ className, children, ...props }: TextButtonProps) =>
|
|
1703
|
+
export const TextButton: ({ className, children, ...props }: TextButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
1716
1704
|
|
|
1717
1705
|
}
|
|
1718
1706
|
declare module '@layerfi/components/components/Button/index' {
|
|
@@ -1731,12 +1719,12 @@ declare module '@layerfi/components/components/Button/index' {
|
|
|
1731
1719
|
|
|
1732
1720
|
}
|
|
1733
1721
|
declare module '@layerfi/components/components/Card/Card' {
|
|
1734
|
-
import
|
|
1722
|
+
import { ReactNode } from 'react';
|
|
1735
1723
|
export interface CardProps {
|
|
1736
1724
|
children: ReactNode;
|
|
1737
1725
|
className?: string;
|
|
1738
1726
|
}
|
|
1739
|
-
export const Card: ({ children, className }: CardProps) =>
|
|
1727
|
+
export const Card: ({ children, className }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
1740
1728
|
|
|
1741
1729
|
}
|
|
1742
1730
|
declare module '@layerfi/components/components/Card/index' {
|
|
@@ -1744,7 +1732,6 @@ declare module '@layerfi/components/components/Card/index' {
|
|
|
1744
1732
|
|
|
1745
1733
|
}
|
|
1746
1734
|
declare module '@layerfi/components/components/CategorySelect/CategorySelect' {
|
|
1747
|
-
import React from 'react';
|
|
1748
1735
|
import { BankTransaction, Category } from '@layerfi/components/types';
|
|
1749
1736
|
import { SuggestedMatch } from '@layerfi/components/types/bank_transactions';
|
|
1750
1737
|
import { CategoryEntry } from '@layerfi/components/types/categories';
|
|
@@ -1784,19 +1771,18 @@ declare module '@layerfi/components/components/CategorySelect/CategorySelect' {
|
|
|
1784
1771
|
export const mapCategoryToOption: (category: Category) => CategoryOption;
|
|
1785
1772
|
export const mapCategoryToExclusionOption: (category: Category) => CategoryOption;
|
|
1786
1773
|
export const mapSuggestedMatchToOption: (record: SuggestedMatch) => CategoryOption;
|
|
1787
|
-
export const CategorySelect: ({ bankTransaction, name, value, onChange, disabled, className, showTooltips, excludeMatches, asDrawer, }: Props) =>
|
|
1774
|
+
export const CategorySelect: ({ bankTransaction, name, value, onChange, disabled, className, showTooltips, excludeMatches, asDrawer, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
1788
1775
|
export {};
|
|
1789
1776
|
|
|
1790
1777
|
}
|
|
1791
1778
|
declare module '@layerfi/components/components/CategorySelect/CategorySelectDrawer' {
|
|
1792
|
-
import React from 'react';
|
|
1793
1779
|
import { CategoryOption } from '@layerfi/components/components/CategorySelect/CategorySelect';
|
|
1794
1780
|
interface CategorySelectDrawerProps {
|
|
1795
1781
|
onSelect: (value: CategoryOption) => void;
|
|
1796
1782
|
selected?: CategoryOption;
|
|
1797
1783
|
showTooltips: boolean;
|
|
1798
1784
|
}
|
|
1799
|
-
export const CategorySelectDrawer: ({ onSelect, selected, showTooltips: _showTooltips, }: CategorySelectDrawerProps) =>
|
|
1785
|
+
export const CategorySelectDrawer: ({ onSelect, selected, showTooltips: _showTooltips, }: CategorySelectDrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
1800
1786
|
export {};
|
|
1801
1787
|
|
|
1802
1788
|
}
|
|
@@ -1805,7 +1791,6 @@ declare module '@layerfi/components/components/CategorySelect/index' {
|
|
|
1805
1791
|
|
|
1806
1792
|
}
|
|
1807
1793
|
declare module '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts' {
|
|
1808
|
-
import React from 'react';
|
|
1809
1794
|
import { ChartOfAccountsTableStringOverrides } from '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTableWithPanel';
|
|
1810
1795
|
import { LedgerAccountStringOverrides } from '@layerfi/components/components/LedgerAccount/LedgerAccountIndex';
|
|
1811
1796
|
export interface ChartOfAccountsStringOverrides {
|
|
@@ -1821,17 +1806,16 @@ declare module '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts'
|
|
|
1821
1806
|
templateAccountsEditable?: boolean;
|
|
1822
1807
|
showReversalEntries?: boolean;
|
|
1823
1808
|
}
|
|
1824
|
-
export const ChartOfAccounts: (props: ChartOfAccountsProps) =>
|
|
1809
|
+
export const ChartOfAccounts: (props: ChartOfAccountsProps) => import("react/jsx-runtime").JSX.Element;
|
|
1825
1810
|
|
|
1826
1811
|
}
|
|
1827
1812
|
declare module '@layerfi/components/components/ChartOfAccounts/download/AccountBalancesDownloadButton' {
|
|
1828
|
-
import React from 'react';
|
|
1829
1813
|
type AccountBalancesDownloadButtonProps = {
|
|
1830
1814
|
startCutoff?: Date;
|
|
1831
1815
|
endCutoff?: Date;
|
|
1832
1816
|
iconOnly?: boolean;
|
|
1833
1817
|
};
|
|
1834
|
-
export function AccountBalancesDownloadButton({ startCutoff, endCutoff, iconOnly, }: AccountBalancesDownloadButtonProps):
|
|
1818
|
+
export function AccountBalancesDownloadButton({ startCutoff, endCutoff, iconOnly, }: AccountBalancesDownloadButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
1835
1819
|
export {};
|
|
1836
1820
|
|
|
1837
1821
|
}
|
|
@@ -1859,8 +1843,7 @@ declare module '@layerfi/components/components/ChartOfAccounts/index' {
|
|
|
1859
1843
|
|
|
1860
1844
|
}
|
|
1861
1845
|
declare module '@layerfi/components/components/ChartOfAccountsDatePicker/ChartOfAccountsDatePicker' {
|
|
1862
|
-
|
|
1863
|
-
export const ChartOfAccountsDatePicker: () => React.JSX.Element;
|
|
1846
|
+
export const ChartOfAccountsDatePicker: () => import("react/jsx-runtime").JSX.Element;
|
|
1864
1847
|
|
|
1865
1848
|
}
|
|
1866
1849
|
declare module '@layerfi/components/components/ChartOfAccountsDatePicker/index' {
|
|
@@ -1868,7 +1851,6 @@ declare module '@layerfi/components/components/ChartOfAccountsDatePicker/index'
|
|
|
1868
1851
|
|
|
1869
1852
|
}
|
|
1870
1853
|
declare module '@layerfi/components/components/ChartOfAccountsForm/ChartOfAccountsForm' {
|
|
1871
|
-
import React from 'react';
|
|
1872
1854
|
export interface ChartOfAccountsFormStringOverrides {
|
|
1873
1855
|
editModeHeader?: string;
|
|
1874
1856
|
createModeHeader?: string;
|
|
@@ -1883,7 +1865,7 @@ declare module '@layerfi/components/components/ChartOfAccountsForm/ChartOfAccoun
|
|
|
1883
1865
|
}
|
|
1884
1866
|
export const ChartOfAccountsForm: ({ stringOverrides, }: {
|
|
1885
1867
|
stringOverrides?: ChartOfAccountsFormStringOverrides;
|
|
1886
|
-
}) =>
|
|
1868
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
1887
1869
|
|
|
1888
1870
|
}
|
|
1889
1871
|
declare module '@layerfi/components/components/ChartOfAccountsForm/constants' {
|
|
@@ -1912,12 +1894,12 @@ declare module '@layerfi/components/components/ChartOfAccountsForm/useParentOpti
|
|
|
1912
1894
|
|
|
1913
1895
|
}
|
|
1914
1896
|
declare module '@layerfi/components/components/ChartOfAccountsSidebar/ChartOfAccountsSidebar' {
|
|
1915
|
-
import
|
|
1897
|
+
import { RefObject } from 'react';
|
|
1916
1898
|
import { ChartOfAccountsFormStringOverrides } from '@layerfi/components/components/ChartOfAccountsForm/ChartOfAccountsForm';
|
|
1917
1899
|
export const ChartOfAccountsSidebar: ({ parentRef: _parentRef, stringOverrides, }: {
|
|
1918
1900
|
parentRef?: RefObject<HTMLDivElement>;
|
|
1919
1901
|
stringOverrides?: ChartOfAccountsFormStringOverrides;
|
|
1920
|
-
}) =>
|
|
1902
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
1921
1903
|
|
|
1922
1904
|
}
|
|
1923
1905
|
declare module '@layerfi/components/components/ChartOfAccountsSidebar/index' {
|
|
@@ -1925,7 +1907,6 @@ declare module '@layerfi/components/components/ChartOfAccountsSidebar/index' {
|
|
|
1925
1907
|
|
|
1926
1908
|
}
|
|
1927
1909
|
declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTable' {
|
|
1928
|
-
import React from 'react';
|
|
1929
1910
|
import { ChartWithBalances } from '@layerfi/components/types/chart_of_accounts';
|
|
1930
1911
|
import { View } from '@layerfi/components/types/general';
|
|
1931
1912
|
import { ChartOfAccountsTableStringOverrides, ExpandActionState } from '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTableWithPanel';
|
|
@@ -1938,7 +1919,7 @@ declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccou
|
|
|
1938
1919
|
cumulativeIndex: number;
|
|
1939
1920
|
accountsLength: number;
|
|
1940
1921
|
templateAccountsEditable?: boolean;
|
|
1941
|
-
}) =>
|
|
1922
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
1942
1923
|
export const ChartOfAccountsTableContent: ({ stringOverrides, data, error, expandAll, templateAccountsEditable, }: {
|
|
1943
1924
|
view: View;
|
|
1944
1925
|
data: ChartWithBalances;
|
|
@@ -1948,11 +1929,11 @@ declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccou
|
|
|
1948
1929
|
cumulativeIndex: number;
|
|
1949
1930
|
accountsLength: number;
|
|
1950
1931
|
templateAccountsEditable: boolean;
|
|
1951
|
-
}) =>
|
|
1932
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
1952
1933
|
|
|
1953
1934
|
}
|
|
1954
1935
|
declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTableWithPanel' {
|
|
1955
|
-
import
|
|
1936
|
+
import { RefObject } from 'react';
|
|
1956
1937
|
import { View } from '@layerfi/components/types/general';
|
|
1957
1938
|
import { ChartOfAccountsFormStringOverrides } from '@layerfi/components/components/ChartOfAccountsForm/ChartOfAccountsForm';
|
|
1958
1939
|
export type ExpandActionState = undefined | 'expanded' | 'collapsed';
|
|
@@ -1975,7 +1956,7 @@ declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccou
|
|
|
1975
1956
|
showAddAccountButton?: boolean;
|
|
1976
1957
|
stringOverrides?: ChartOfAccountsTableStringOverrides;
|
|
1977
1958
|
templateAccountsEditable?: boolean;
|
|
1978
|
-
}) =>
|
|
1959
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
1979
1960
|
|
|
1980
1961
|
}
|
|
1981
1962
|
declare module '@layerfi/components/components/ChartOfAccountsTable/index' {
|
|
@@ -2023,7 +2004,7 @@ declare module '@layerfi/components/components/Container/index' {
|
|
|
2023
2004
|
|
|
2024
2005
|
}
|
|
2025
2006
|
declare module '@layerfi/components/components/DataState/DataState' {
|
|
2026
|
-
import
|
|
2007
|
+
import { ReactNode } from 'react';
|
|
2027
2008
|
export enum DataStateStatus {
|
|
2028
2009
|
allDone = "allDone",
|
|
2029
2010
|
success = "success",
|
|
@@ -2038,7 +2019,7 @@ declare module '@layerfi/components/components/DataState/DataState' {
|
|
|
2038
2019
|
onRefresh?: () => void;
|
|
2039
2020
|
isLoading?: boolean;
|
|
2040
2021
|
}
|
|
2041
|
-
export const DataState: ({ status, title, description, onRefresh, isLoading, icon, }: DataStateProps) =>
|
|
2022
|
+
export const DataState: ({ status, title, description, onRefresh, isLoading, icon, }: DataStateProps) => import("react/jsx-runtime").JSX.Element;
|
|
2042
2023
|
|
|
2043
2024
|
}
|
|
2044
2025
|
declare module '@layerfi/components/components/DataState/index' {
|
|
@@ -2046,16 +2027,16 @@ declare module '@layerfi/components/components/DataState/index' {
|
|
|
2046
2027
|
|
|
2047
2028
|
}
|
|
2048
2029
|
declare module '@layerfi/components/components/DatePicker/DatePicker' {
|
|
2049
|
-
import
|
|
2030
|
+
import { type FC } from 'react';
|
|
2050
2031
|
import { CustomDateRange } from '@layerfi/components/components/DatePicker/DatePickerOptions';
|
|
2051
|
-
import type {
|
|
2032
|
+
import type { UnifiedPickerMode, DatePickerModeSelectorProps } from '@layerfi/components/components/DatePicker/ModeSelector/DatePickerModeSelector';
|
|
2052
2033
|
type NavigationArrows = 'desktop' | 'mobile';
|
|
2053
2034
|
interface DatePickerProps {
|
|
2054
|
-
|
|
2055
|
-
selected: Date | [Date
|
|
2035
|
+
displayMode: UnifiedPickerMode | 'timePicker';
|
|
2036
|
+
selected: Date | [Date, Date | null];
|
|
2056
2037
|
onChange: (date: Date | [Date, Date | null]) => void;
|
|
2057
2038
|
disabled?: boolean;
|
|
2058
|
-
allowedModes?: ReadonlyArray<
|
|
2039
|
+
allowedModes?: ReadonlyArray<UnifiedPickerMode>;
|
|
2059
2040
|
dateFormat?: string;
|
|
2060
2041
|
timeIntervals?: number;
|
|
2061
2042
|
timeCaption?: string;
|
|
@@ -2068,17 +2049,16 @@ declare module '@layerfi/components/components/DatePicker/DatePicker' {
|
|
|
2068
2049
|
minDate?: Date;
|
|
2069
2050
|
maxDate?: Date;
|
|
2070
2051
|
navigateArrows?: NavigationArrows[];
|
|
2071
|
-
onChangeMode?: (mode:
|
|
2052
|
+
onChangeMode?: (mode: UnifiedPickerMode) => void;
|
|
2072
2053
|
slots?: {
|
|
2073
2054
|
ModeSelector: FC<DatePickerModeSelectorProps>;
|
|
2074
2055
|
};
|
|
2075
2056
|
}
|
|
2076
|
-
export const DatePicker: ({ selected, onChange, disabled,
|
|
2057
|
+
export const DatePicker: ({ selected, onChange, disabled, displayMode, allowedModes, dateFormat, timeIntervals, timeCaption, placeholderText: _placeholderText, customDateRanges, wrapperClassName, calendarClassName, popperClassName, minDate, maxDate, currentDateOption, navigateArrows, onChangeMode, slots, ...props }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
2077
2058
|
export {};
|
|
2078
2059
|
|
|
2079
2060
|
}
|
|
2080
2061
|
declare module '@layerfi/components/components/DatePicker/DatePickerOptions' {
|
|
2081
|
-
import React from 'react';
|
|
2082
2062
|
export type CustomDateRange = {
|
|
2083
2063
|
label: string;
|
|
2084
2064
|
startDate: Date;
|
|
@@ -2086,22 +2066,20 @@ declare module '@layerfi/components/components/DatePicker/DatePickerOptions' {
|
|
|
2086
2066
|
};
|
|
2087
2067
|
export const DatePickerOptions: ({ customDateRanges, setSelectedDate, }: {
|
|
2088
2068
|
customDateRanges?: CustomDateRange[];
|
|
2089
|
-
setSelectedDate: (dates: [Date
|
|
2090
|
-
}) =>
|
|
2069
|
+
setSelectedDate: (dates: [Date, Date | null]) => void;
|
|
2070
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
2091
2071
|
|
|
2092
2072
|
}
|
|
2093
2073
|
declare module '@layerfi/components/components/DatePicker/ModeSelector/DatePickerModeSelector' {
|
|
2094
|
-
import
|
|
2095
|
-
export type
|
|
2096
|
-
export type RangePickerMode = 'dayRangePicker' | 'monthRangePicker' | 'monthPicker' | 'yearPicker';
|
|
2097
|
-
export type DatePickerMode = SingularPickerMode | RangePickerMode;
|
|
2074
|
+
import type { DatePickerMode, DateRangePickerMode } from '@layerfi/components/providers/GlobalDateStore/GlobalDateStoreProvider';
|
|
2075
|
+
export type UnifiedPickerMode = DatePickerMode | DateRangePickerMode;
|
|
2098
2076
|
export const DEFAULT_ALLOWED_PICKER_MODES: readonly ["monthPicker"];
|
|
2099
2077
|
export type DatePickerModeSelectorProps = {
|
|
2100
|
-
mode:
|
|
2101
|
-
allowedModes: ReadonlyArray<
|
|
2102
|
-
onChangeMode: (mode:
|
|
2078
|
+
mode: UnifiedPickerMode;
|
|
2079
|
+
allowedModes: ReadonlyArray<UnifiedPickerMode>;
|
|
2080
|
+
onChangeMode: (mode: UnifiedPickerMode) => void;
|
|
2103
2081
|
};
|
|
2104
|
-
export function DatePickerModeSelector({ mode, allowedModes, onChangeMode, }: DatePickerModeSelectorProps):
|
|
2082
|
+
export function DatePickerModeSelector({ mode, allowedModes, onChangeMode, }: DatePickerModeSelectorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
2105
2083
|
|
|
2106
2084
|
}
|
|
2107
2085
|
declare module '@layerfi/components/components/DatePicker/index' {
|
|
@@ -2109,7 +2087,6 @@ declare module '@layerfi/components/components/DatePicker/index' {
|
|
|
2109
2087
|
|
|
2110
2088
|
}
|
|
2111
2089
|
declare module '@layerfi/components/components/DateTime/DateTime' {
|
|
2112
|
-
import React from 'react';
|
|
2113
2090
|
interface DateTimeProps {
|
|
2114
2091
|
value: string;
|
|
2115
2092
|
format?: string;
|
|
@@ -2118,7 +2095,7 @@ declare module '@layerfi/components/components/DateTime/DateTime' {
|
|
|
2118
2095
|
onlyDate?: boolean;
|
|
2119
2096
|
onlyTime?: boolean;
|
|
2120
2097
|
}
|
|
2121
|
-
export const DateTime: ({ value, format, dateFormat, timeFormat, onlyDate, onlyTime, }: DateTimeProps) =>
|
|
2098
|
+
export const DateTime: ({ value, format, dateFormat, timeFormat, onlyDate, onlyTime, }: DateTimeProps) => import("react/jsx-runtime").JSX.Element;
|
|
2122
2099
|
export {};
|
|
2123
2100
|
|
|
2124
2101
|
}
|
|
@@ -2127,7 +2104,7 @@ declare module '@layerfi/components/components/DateTime/index' {
|
|
|
2127
2104
|
|
|
2128
2105
|
}
|
|
2129
2106
|
declare module '@layerfi/components/components/DetailsList/DetailsList' {
|
|
2130
|
-
import
|
|
2107
|
+
import { ReactNode } from 'react';
|
|
2131
2108
|
export interface DetailsListProps {
|
|
2132
2109
|
title?: string;
|
|
2133
2110
|
className?: string;
|
|
@@ -2135,17 +2112,17 @@ declare module '@layerfi/components/components/DetailsList/DetailsList' {
|
|
|
2135
2112
|
children: ReactNode;
|
|
2136
2113
|
actions?: ReactNode;
|
|
2137
2114
|
}
|
|
2138
|
-
export const DetailsList: ({ title, children, className, titleClassName, actions, }: DetailsListProps) =>
|
|
2115
|
+
export const DetailsList: ({ title, children, className, titleClassName, actions, }: DetailsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
2139
2116
|
|
|
2140
2117
|
}
|
|
2141
2118
|
declare module '@layerfi/components/components/DetailsList/DetailsListItem' {
|
|
2142
|
-
import
|
|
2119
|
+
import { ReactNode } from 'react';
|
|
2143
2120
|
export interface DetailsListItemProps {
|
|
2144
2121
|
label: string;
|
|
2145
2122
|
children: ReactNode | string;
|
|
2146
2123
|
isLoading?: boolean;
|
|
2147
2124
|
}
|
|
2148
|
-
export const DetailsListItem: ({ label, children, isLoading, }: DetailsListItemProps) =>
|
|
2125
|
+
export const DetailsListItem: ({ label, children, isLoading, }: DetailsListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
2149
2126
|
|
|
2150
2127
|
}
|
|
2151
2128
|
declare module '@layerfi/components/components/DetailsList/index' {
|
|
@@ -2159,7 +2136,7 @@ declare module '@layerfi/components/components/Drawer/Drawer' {
|
|
|
2159
2136
|
isOpen: boolean;
|
|
2160
2137
|
onClose: () => void;
|
|
2161
2138
|
children: React.ReactNode;
|
|
2162
|
-
}) =>
|
|
2139
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
2163
2140
|
|
|
2164
2141
|
}
|
|
2165
2142
|
declare module '@layerfi/components/components/Drawer/index' {
|
|
@@ -2182,14 +2159,13 @@ declare module '@layerfi/components/components/ErrorBoundary/ErrorBoundary' {
|
|
|
2182
2159
|
hasError: boolean;
|
|
2183
2160
|
};
|
|
2184
2161
|
componentDidCatch(error: Error, _info: ErrorInfo): void;
|
|
2185
|
-
render(): string | number | boolean | Iterable<React.ReactNode> |
|
|
2162
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
2186
2163
|
}
|
|
2187
2164
|
export {};
|
|
2188
2165
|
|
|
2189
2166
|
}
|
|
2190
2167
|
declare module '@layerfi/components/components/ErrorBoundary/ErrorBoundaryMessage' {
|
|
2191
|
-
|
|
2192
|
-
export const ErrorBoundaryMessage: () => React.JSX.Element;
|
|
2168
|
+
export const ErrorBoundaryMessage: () => import("react/jsx-runtime").JSX.Element;
|
|
2193
2169
|
|
|
2194
2170
|
}
|
|
2195
2171
|
declare module '@layerfi/components/components/ErrorBoundary/index' {
|
|
@@ -2197,13 +2173,12 @@ declare module '@layerfi/components/components/ErrorBoundary/index' {
|
|
|
2197
2173
|
|
|
2198
2174
|
}
|
|
2199
2175
|
declare module '@layerfi/components/components/ExpandedBankTransactionRow/APIErrorNotifications' {
|
|
2200
|
-
import React from 'react';
|
|
2201
2176
|
import { BankTransaction } from '@layerfi/components/types';
|
|
2202
2177
|
interface APIErrorNotificationsProps {
|
|
2203
2178
|
bankTransaction: BankTransaction;
|
|
2204
2179
|
containerWidth?: number;
|
|
2205
2180
|
}
|
|
2206
|
-
export const APIErrorNotifications: ({ bankTransaction, containerWidth, }: APIErrorNotificationsProps) =>
|
|
2181
|
+
export const APIErrorNotifications: ({ bankTransaction, containerWidth, }: APIErrorNotificationsProps) => import("react/jsx-runtime").JSX.Element;
|
|
2207
2182
|
export {};
|
|
2208
2183
|
|
|
2209
2184
|
}
|
|
@@ -2260,7 +2235,7 @@ declare module '@layerfi/components/components/FileThumb/FileThumb' {
|
|
|
2260
2235
|
enableDownload?: boolean;
|
|
2261
2236
|
error?: string;
|
|
2262
2237
|
};
|
|
2263
|
-
export const FileThumb: ({ url, floatingActions, uploadPending, deletePending, name, date, onDelete, enableOpen, onOpen, enableDownload, error, }: FileThumbProps) =>
|
|
2238
|
+
export const FileThumb: ({ url, floatingActions, uploadPending, deletePending, name, date, onDelete, enableOpen, onOpen, enableDownload, error, }: FileThumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
2264
2239
|
export {};
|
|
2265
2240
|
|
|
2266
2241
|
}
|
|
@@ -2269,8 +2244,7 @@ declare module '@layerfi/components/components/FileThumb/index' {
|
|
|
2269
2244
|
|
|
2270
2245
|
}
|
|
2271
2246
|
declare module '@layerfi/components/components/GlobalWidgets/GlobalWidgets' {
|
|
2272
|
-
|
|
2273
|
-
export const GlobalWidgets: () => React.JSX.Element;
|
|
2247
|
+
export const GlobalWidgets: () => import("react/jsx-runtime").JSX.Element;
|
|
2274
2248
|
|
|
2275
2249
|
}
|
|
2276
2250
|
declare module '@layerfi/components/components/GlobalWidgets/index' {
|
|
@@ -2292,24 +2266,24 @@ declare module '@layerfi/components/components/Header/Header' {
|
|
|
2292
2266
|
|
|
2293
2267
|
}
|
|
2294
2268
|
declare module '@layerfi/components/components/Header/HeaderCol' {
|
|
2295
|
-
import
|
|
2269
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2296
2270
|
interface HeaderColProps {
|
|
2297
2271
|
className?: string;
|
|
2298
2272
|
style?: CSSProperties;
|
|
2299
2273
|
children: ReactNode;
|
|
2300
2274
|
}
|
|
2301
|
-
export const HeaderCol: ({ className, children, style }: HeaderColProps) =>
|
|
2275
|
+
export const HeaderCol: ({ className, children, style }: HeaderColProps) => import("react/jsx-runtime").JSX.Element;
|
|
2302
2276
|
export {};
|
|
2303
2277
|
|
|
2304
2278
|
}
|
|
2305
2279
|
declare module '@layerfi/components/components/Header/HeaderRow' {
|
|
2306
|
-
import
|
|
2280
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2307
2281
|
interface HeaderRowProps {
|
|
2308
2282
|
className?: string;
|
|
2309
2283
|
style?: CSSProperties;
|
|
2310
2284
|
children: ReactNode;
|
|
2311
2285
|
}
|
|
2312
|
-
export const HeaderRow: ({ className, children, style }: HeaderRowProps) =>
|
|
2286
|
+
export const HeaderRow: ({ className, children, style }: HeaderRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
2313
2287
|
export {};
|
|
2314
2288
|
|
|
2315
2289
|
}
|
|
@@ -2320,15 +2294,16 @@ declare module '@layerfi/components/components/Header/index' {
|
|
|
2320
2294
|
|
|
2321
2295
|
}
|
|
2322
2296
|
declare module '@layerfi/components/components/HoverMenu/HoverMenu' {
|
|
2323
|
-
import
|
|
2324
|
-
|
|
2297
|
+
import { ReactNode } from 'react';
|
|
2298
|
+
import type { Awaitable } from '@layerfi/components/types/utility/promises';
|
|
2299
|
+
export type HoverMenuProps = {
|
|
2325
2300
|
children: ReactNode;
|
|
2326
|
-
config: {
|
|
2301
|
+
config: Array<{
|
|
2327
2302
|
name: string;
|
|
2328
|
-
action: () => void
|
|
2329
|
-
}
|
|
2330
|
-
}
|
|
2331
|
-
export const HoverMenu: ({ children, config }: HoverMenuProps) =>
|
|
2303
|
+
action: () => Awaitable<void>;
|
|
2304
|
+
}>;
|
|
2305
|
+
};
|
|
2306
|
+
export const HoverMenu: ({ children, config }: HoverMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
2332
2307
|
|
|
2333
2308
|
}
|
|
2334
2309
|
declare module '@layerfi/components/components/HoverMenu/index' {
|
|
@@ -2336,17 +2311,28 @@ declare module '@layerfi/components/components/HoverMenu/index' {
|
|
|
2336
2311
|
|
|
2337
2312
|
}
|
|
2338
2313
|
declare module '@layerfi/components/components/IconBox/IconBox' {
|
|
2339
|
-
import
|
|
2314
|
+
import { ReactNode } from 'react';
|
|
2340
2315
|
interface IconBoxProps {
|
|
2341
2316
|
children: ReactNode;
|
|
2342
2317
|
}
|
|
2343
|
-
export const IconBox: ({ children }: IconBoxProps) =>
|
|
2318
|
+
export const IconBox: ({ children }: IconBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
2344
2319
|
export {};
|
|
2345
2320
|
|
|
2346
2321
|
}
|
|
2347
2322
|
declare module '@layerfi/components/components/IconBox/index' {
|
|
2348
2323
|
export { IconBox } from '@layerfi/components/components/IconBox/IconBox';
|
|
2349
2324
|
|
|
2325
|
+
}
|
|
2326
|
+
declare module '@layerfi/components/components/Input/AmountInput' {
|
|
2327
|
+
import { CurrencyInputProps } from 'react-currency-input-field';
|
|
2328
|
+
export interface AmountInputProps extends Omit<CurrencyInputProps, 'onChange'> {
|
|
2329
|
+
onChange?: (value?: string) => void;
|
|
2330
|
+
isInvalid?: boolean;
|
|
2331
|
+
errorMessage?: string;
|
|
2332
|
+
leftText?: string;
|
|
2333
|
+
}
|
|
2334
|
+
export const AmountInput: ({ onChange, className, leftText, errorMessage, isInvalid, placeholder, ...props }: AmountInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
2335
|
+
|
|
2350
2336
|
}
|
|
2351
2337
|
declare module '@layerfi/components/components/Input/FileInput' {
|
|
2352
2338
|
import React from 'react';
|
|
@@ -2359,21 +2345,21 @@ declare module '@layerfi/components/components/Input/FileInput' {
|
|
|
2359
2345
|
icon?: React.ReactNode;
|
|
2360
2346
|
allowMultipleUploads?: boolean;
|
|
2361
2347
|
}
|
|
2362
|
-
export const FileInput: ({ text, onUpload, disabled, secondary, iconOnly, icon, allowMultipleUploads, }: FileInputProps) =>
|
|
2348
|
+
export const FileInput: ({ text, onUpload, disabled, secondary, iconOnly, icon, allowMultipleUploads, }: FileInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
2363
2349
|
|
|
2364
2350
|
}
|
|
2365
2351
|
declare module '@layerfi/components/components/Input/Input' {
|
|
2366
|
-
import
|
|
2352
|
+
import { HTMLProps } from 'react';
|
|
2367
2353
|
export interface InputProps extends HTMLProps<HTMLInputElement> {
|
|
2368
2354
|
isInvalid?: boolean;
|
|
2369
2355
|
errorMessage?: string;
|
|
2370
2356
|
leftText?: string;
|
|
2371
2357
|
}
|
|
2372
|
-
export const Input: ({ className, isInvalid, errorMessage, leftText, ...props }: InputProps) =>
|
|
2358
|
+
export const Input: ({ className, isInvalid, errorMessage, leftText, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
2373
2359
|
|
|
2374
2360
|
}
|
|
2375
2361
|
declare module '@layerfi/components/components/Input/InputGroup' {
|
|
2376
|
-
import
|
|
2362
|
+
import { ReactNode } from 'react';
|
|
2377
2363
|
export interface InputGroupProps {
|
|
2378
2364
|
label?: string;
|
|
2379
2365
|
name?: string;
|
|
@@ -2381,7 +2367,7 @@ declare module '@layerfi/components/components/Input/InputGroup' {
|
|
|
2381
2367
|
children?: ReactNode;
|
|
2382
2368
|
inline?: boolean;
|
|
2383
2369
|
}
|
|
2384
|
-
export const InputGroup: ({ label, name, className, inline, children, }: InputGroupProps) =>
|
|
2370
|
+
export const InputGroup: ({ label, name, className, inline, children, }: InputGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
2385
2371
|
|
|
2386
2372
|
}
|
|
2387
2373
|
declare module '@layerfi/components/components/Input/InputWithBadge' {
|
|
@@ -2394,11 +2380,10 @@ declare module '@layerfi/components/components/Input/InputWithBadge' {
|
|
|
2394
2380
|
variant?: BadgeVariant;
|
|
2395
2381
|
badge: React.ReactNode;
|
|
2396
2382
|
}
|
|
2397
|
-
export const InputWithBadge: ({ className, isInvalid, errorMessage, leftText, badge, variant, ...props }: InputWithBadgeProps) =>
|
|
2383
|
+
export const InputWithBadge: ({ className, isInvalid, errorMessage, leftText, badge, variant, ...props }: InputWithBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
2398
2384
|
|
|
2399
2385
|
}
|
|
2400
2386
|
declare module '@layerfi/components/components/Input/MultiSelect' {
|
|
2401
|
-
import React from 'react';
|
|
2402
2387
|
import { GroupBase, MultiValue, OptionsOrGroups, StylesConfig } from 'react-select';
|
|
2403
2388
|
export interface SelectProps<T> {
|
|
2404
2389
|
name?: string;
|
|
@@ -2414,11 +2399,10 @@ declare module '@layerfi/components/components/Input/MultiSelect' {
|
|
|
2414
2399
|
errorMessage?: string;
|
|
2415
2400
|
styles?: StylesConfig<T, true, GroupBase<T>>;
|
|
2416
2401
|
}
|
|
2417
|
-
export const MultiSelect: <T>({ name, options, className, classNamePrefix, value, defaultValue, onChange, disabled, placeholder, isInvalid, errorMessage, styles, }: SelectProps<T>) =>
|
|
2402
|
+
export const MultiSelect: <T>({ name, options, className, classNamePrefix, value, defaultValue, onChange, disabled, placeholder, isInvalid, errorMessage, styles, }: SelectProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
2418
2403
|
|
|
2419
2404
|
}
|
|
2420
2405
|
declare module '@layerfi/components/components/Input/Select' {
|
|
2421
|
-
import React from 'react';
|
|
2422
2406
|
import { GroupBase, OptionsOrGroups } from 'react-select';
|
|
2423
2407
|
export interface SelectProps<T> {
|
|
2424
2408
|
name?: string;
|
|
@@ -2432,7 +2416,7 @@ declare module '@layerfi/components/components/Input/Select' {
|
|
|
2432
2416
|
isInvalid?: boolean;
|
|
2433
2417
|
errorMessage?: string;
|
|
2434
2418
|
}
|
|
2435
|
-
export const Select: <T>({ name, options, className, classNamePrefix, value, onChange, disabled, placeholder, isInvalid, errorMessage, }: SelectProps<T>) =>
|
|
2419
|
+
export const Select: <T>({ name, options, className, classNamePrefix, value, onChange, disabled, placeholder, isInvalid, errorMessage, }: SelectProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
2436
2420
|
|
|
2437
2421
|
}
|
|
2438
2422
|
declare module '@layerfi/components/components/Input/index' {
|
|
@@ -2445,7 +2429,6 @@ declare module '@layerfi/components/components/Input/index' {
|
|
|
2445
2429
|
|
|
2446
2430
|
}
|
|
2447
2431
|
declare module '@layerfi/components/components/Journal/Journal' {
|
|
2448
|
-
import React from 'react';
|
|
2449
2432
|
import { JournalTableStringOverrides } from '@layerfi/components/components/JournalTable/JournalTableWithPanel';
|
|
2450
2433
|
export interface JournalConfig {
|
|
2451
2434
|
form: {
|
|
@@ -2461,17 +2444,16 @@ declare module '@layerfi/components/components/Journal/Journal' {
|
|
|
2461
2444
|
stringOverrides?: JournalStringOverrides;
|
|
2462
2445
|
}
|
|
2463
2446
|
export const JOURNAL_CONFIG: JournalConfig;
|
|
2464
|
-
export const Journal: (props: JournalProps) =>
|
|
2447
|
+
export const Journal: (props: JournalProps) => import("react/jsx-runtime").JSX.Element;
|
|
2465
2448
|
|
|
2466
2449
|
}
|
|
2467
2450
|
declare module '@layerfi/components/components/Journal/download/JournalEntriesDownloadButton' {
|
|
2468
|
-
import React from 'react';
|
|
2469
2451
|
type JournalEntriesDownloadButtonProps = {
|
|
2470
2452
|
startCutoff?: Date;
|
|
2471
2453
|
endCutoff?: Date;
|
|
2472
2454
|
iconOnly?: boolean;
|
|
2473
2455
|
};
|
|
2474
|
-
export function JournalEntriesDownloadButton({ startCutoff, endCutoff, iconOnly, }: JournalEntriesDownloadButtonProps):
|
|
2456
|
+
export function JournalEntriesDownloadButton({ startCutoff, endCutoff, iconOnly, }: JournalEntriesDownloadButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
2475
2457
|
export {};
|
|
2476
2458
|
|
|
2477
2459
|
}
|
|
@@ -2499,8 +2481,7 @@ declare module '@layerfi/components/components/Journal/index' {
|
|
|
2499
2481
|
|
|
2500
2482
|
}
|
|
2501
2483
|
declare module '@layerfi/components/components/JournalEntryDetails/JournalEntryDetails' {
|
|
2502
|
-
|
|
2503
|
-
export const JournalEntryDetails: () => React.JSX.Element;
|
|
2484
|
+
export const JournalEntryDetails: () => import("react/jsx-runtime").JSX.Element;
|
|
2504
2485
|
|
|
2505
2486
|
}
|
|
2506
2487
|
declare module '@layerfi/components/components/JournalEntryDetails/index' {
|
|
@@ -2508,7 +2489,6 @@ declare module '@layerfi/components/components/JournalEntryDetails/index' {
|
|
|
2508
2489
|
|
|
2509
2490
|
}
|
|
2510
2491
|
declare module '@layerfi/components/components/JournalForm/JournalForm' {
|
|
2511
|
-
import React from 'react';
|
|
2512
2492
|
import { JournalConfig } from '@layerfi/components/components/Journal/Journal';
|
|
2513
2493
|
export interface JournalFormStringOverrides {
|
|
2514
2494
|
header?: string;
|
|
@@ -2519,11 +2499,10 @@ declare module '@layerfi/components/components/JournalForm/JournalForm' {
|
|
|
2519
2499
|
export const JournalForm: ({ config, stringOverrides, }: {
|
|
2520
2500
|
config: JournalConfig;
|
|
2521
2501
|
stringOverrides?: JournalFormStringOverrides;
|
|
2522
|
-
}) =>
|
|
2502
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
2523
2503
|
|
|
2524
2504
|
}
|
|
2525
2505
|
declare module '@layerfi/components/components/JournalForm/JournalFormEntryLines' {
|
|
2526
|
-
import React from 'react';
|
|
2527
2506
|
import { Direction, JournalEntryLineItem } from '@layerfi/components/types';
|
|
2528
2507
|
import { LedgerAccountBalance } from '@layerfi/components/types/chart_of_accounts';
|
|
2529
2508
|
import { BaseSelectOption } from '@layerfi/components/types/general';
|
|
@@ -2535,7 +2514,7 @@ declare module '@layerfi/components/components/JournalForm/JournalFormEntryLines
|
|
|
2535
2514
|
changeFormData: (name: string, value: string | BaseSelectOption | number | undefined, lineItemIndex: number, accounts?: LedgerAccountBalance[] | undefined) => void;
|
|
2536
2515
|
sendingForm: boolean;
|
|
2537
2516
|
config: JournalConfig;
|
|
2538
|
-
}) =>
|
|
2517
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
2539
2518
|
|
|
2540
2519
|
}
|
|
2541
2520
|
declare module '@layerfi/components/components/JournalForm/index' {
|
|
@@ -2543,14 +2522,14 @@ declare module '@layerfi/components/components/JournalForm/index' {
|
|
|
2543
2522
|
|
|
2544
2523
|
}
|
|
2545
2524
|
declare module '@layerfi/components/components/JournalSidebar/JournalSidebar' {
|
|
2546
|
-
import
|
|
2525
|
+
import { RefObject } from 'react';
|
|
2547
2526
|
import { JournalConfig } from '@layerfi/components/components/Journal/Journal';
|
|
2548
2527
|
import { JournalFormStringOverrides } from '@layerfi/components/components/JournalForm/JournalForm';
|
|
2549
2528
|
export const JournalSidebar: ({ parentRef: _parentRef, config, stringOverrides, }: {
|
|
2550
2529
|
parentRef?: RefObject<HTMLDivElement>;
|
|
2551
2530
|
config: JournalConfig;
|
|
2552
2531
|
stringOverrides?: JournalFormStringOverrides;
|
|
2553
|
-
}) =>
|
|
2532
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
2554
2533
|
|
|
2555
2534
|
}
|
|
2556
2535
|
declare module '@layerfi/components/components/JournalSidebar/index' {
|
|
@@ -2558,7 +2537,6 @@ declare module '@layerfi/components/components/JournalSidebar/index' {
|
|
|
2558
2537
|
|
|
2559
2538
|
}
|
|
2560
2539
|
declare module '@layerfi/components/components/JournalTable/JournalTable' {
|
|
2561
|
-
import React from 'react';
|
|
2562
2540
|
import { JournalEntry } from '@layerfi/components/types';
|
|
2563
2541
|
import { View } from '@layerfi/components/types/general';
|
|
2564
2542
|
import { JournalTableStringOverrides } from '@layerfi/components/components/JournalTable/JournalTableWithPanel';
|
|
@@ -2566,11 +2544,11 @@ declare module '@layerfi/components/components/JournalTable/JournalTable' {
|
|
|
2566
2544
|
view: View;
|
|
2567
2545
|
data: JournalEntry[];
|
|
2568
2546
|
stringOverrides?: JournalTableStringOverrides;
|
|
2569
|
-
}) =>
|
|
2547
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
2570
2548
|
|
|
2571
2549
|
}
|
|
2572
2550
|
declare module '@layerfi/components/components/JournalTable/JournalTableWithPanel' {
|
|
2573
|
-
import
|
|
2551
|
+
import { RefObject } from 'react';
|
|
2574
2552
|
import { View } from '@layerfi/components/types/general';
|
|
2575
2553
|
import { JournalConfig } from '@layerfi/components/components/Journal/Journal';
|
|
2576
2554
|
import { JournalFormStringOverrides } from '@layerfi/components/components/JournalForm/JournalForm';
|
|
@@ -2592,7 +2570,7 @@ declare module '@layerfi/components/components/JournalTable/JournalTableWithPane
|
|
|
2592
2570
|
pageSize?: number;
|
|
2593
2571
|
config: JournalConfig;
|
|
2594
2572
|
stringOverrides?: JournalTableStringOverrides;
|
|
2595
|
-
}) =>
|
|
2573
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
2596
2574
|
|
|
2597
2575
|
}
|
|
2598
2576
|
declare module '@layerfi/components/components/JournalTable/index' {
|
|
@@ -2600,7 +2578,7 @@ declare module '@layerfi/components/components/JournalTable/index' {
|
|
|
2600
2578
|
|
|
2601
2579
|
}
|
|
2602
2580
|
declare module '@layerfi/components/components/LedgerAccount/LedgerAccountIndex' {
|
|
2603
|
-
import
|
|
2581
|
+
import { RefObject } from 'react';
|
|
2604
2582
|
import { View } from '@layerfi/components/types/general';
|
|
2605
2583
|
import { LedgerAccountEntryDetailsStringOverrides } from '@layerfi/components/components/LedgerAccountEntryDetails/LedgerAccountEntryDetails';
|
|
2606
2584
|
interface LedgerEntriesTableStringOverrides {
|
|
@@ -2621,12 +2599,11 @@ declare module '@layerfi/components/components/LedgerAccount/LedgerAccountIndex'
|
|
|
2621
2599
|
pageSize?: number;
|
|
2622
2600
|
stringOverrides?: LedgerAccountStringOverrides;
|
|
2623
2601
|
}
|
|
2624
|
-
export const LedgerAccount: ({ containerRef, pageSize, view, stringOverrides, }: LedgerAccountProps) =>
|
|
2602
|
+
export const LedgerAccount: ({ containerRef, pageSize, view, stringOverrides, }: LedgerAccountProps) => import("react/jsx-runtime").JSX.Element;
|
|
2625
2603
|
export {};
|
|
2626
2604
|
|
|
2627
2605
|
}
|
|
2628
2606
|
declare module '@layerfi/components/components/LedgerAccount/LedgerAccountRow' {
|
|
2629
|
-
import React from 'react';
|
|
2630
2607
|
import { LedgerAccountLineItem } from '@layerfi/components/types';
|
|
2631
2608
|
import { View } from '@layerfi/components/types/general';
|
|
2632
2609
|
export interface LedgerAccountRowProps {
|
|
@@ -2635,7 +2612,7 @@ declare module '@layerfi/components/components/LedgerAccount/LedgerAccountRow' {
|
|
|
2635
2612
|
initialLoad?: boolean;
|
|
2636
2613
|
view: View;
|
|
2637
2614
|
}
|
|
2638
|
-
export const LedgerAccountRow: ({ row, index, initialLoad, view, }: LedgerAccountRowProps) =>
|
|
2615
|
+
export const LedgerAccountRow: ({ row, index, initialLoad, view, }: LedgerAccountRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
2639
2616
|
|
|
2640
2617
|
}
|
|
2641
2618
|
declare module '@layerfi/components/components/LedgerAccount/index' {
|
|
@@ -2643,7 +2620,6 @@ declare module '@layerfi/components/components/LedgerAccount/index' {
|
|
|
2643
2620
|
|
|
2644
2621
|
}
|
|
2645
2622
|
declare module '@layerfi/components/components/LedgerAccountEntryDetails/LedgerAccountEntryDetails' {
|
|
2646
|
-
import React from 'react';
|
|
2647
2623
|
import { LedgerEntrySource } from '@layerfi/components/types/ledger_accounts';
|
|
2648
2624
|
interface SourceDetailStringOverrides {
|
|
2649
2625
|
sourceLabel?: string;
|
|
@@ -2661,7 +2637,7 @@ declare module '@layerfi/components/components/LedgerAccountEntryDetails/LedgerA
|
|
|
2661
2637
|
export const SourceDetailView: ({ source, stringOverrides, }: {
|
|
2662
2638
|
source: LedgerEntrySource;
|
|
2663
2639
|
stringOverrides?: SourceDetailStringOverrides;
|
|
2664
|
-
}) =>
|
|
2640
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
2665
2641
|
interface JournalEntryDetailsStringOverrides {
|
|
2666
2642
|
entryTypeLabel?: string;
|
|
2667
2643
|
dateLabel?: string;
|
|
@@ -2688,7 +2664,7 @@ declare module '@layerfi/components/components/LedgerAccountEntryDetails/LedgerA
|
|
|
2688
2664
|
}
|
|
2689
2665
|
export const LedgerAccountEntryDetails: ({ stringOverrides, }: {
|
|
2690
2666
|
stringOverrides?: LedgerAccountEntryDetailsStringOverrides;
|
|
2691
|
-
}) =>
|
|
2667
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
2692
2668
|
export {};
|
|
2693
2669
|
|
|
2694
2670
|
}
|
|
@@ -2697,12 +2673,11 @@ declare module '@layerfi/components/components/LedgerAccountEntryDetails/index'
|
|
|
2697
2673
|
|
|
2698
2674
|
}
|
|
2699
2675
|
declare module '@layerfi/components/components/LinkedAccountOptions/LinkedAccountOptions' {
|
|
2700
|
-
import React from 'react';
|
|
2701
2676
|
import { HoverMenuProps } from '@layerfi/components/components/HoverMenu/index';
|
|
2702
2677
|
interface LinkedAccountOptionsProps extends HoverMenuProps {
|
|
2703
2678
|
showLedgerBalance?: boolean;
|
|
2704
2679
|
}
|
|
2705
|
-
export const LinkedAccountOptions: ({ children, config, showLedgerBalance, }: LinkedAccountOptionsProps) =>
|
|
2680
|
+
export const LinkedAccountOptions: ({ children, config, showLedgerBalance, }: LinkedAccountOptionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
2706
2681
|
export {};
|
|
2707
2682
|
|
|
2708
2683
|
}
|
|
@@ -2711,7 +2686,6 @@ declare module '@layerfi/components/components/LinkedAccountOptions/index' {
|
|
|
2711
2686
|
|
|
2712
2687
|
}
|
|
2713
2688
|
declare module '@layerfi/components/components/LinkedAccountPill/LinkedAccountPill' {
|
|
2714
|
-
import React from 'react';
|
|
2715
2689
|
type Props = {
|
|
2716
2690
|
text: string;
|
|
2717
2691
|
config: {
|
|
@@ -2719,7 +2693,7 @@ declare module '@layerfi/components/components/LinkedAccountPill/LinkedAccountPi
|
|
|
2719
2693
|
action: () => void;
|
|
2720
2694
|
}[];
|
|
2721
2695
|
};
|
|
2722
|
-
export const LinkedAccountPill: ({ text, config }: Props) =>
|
|
2696
|
+
export const LinkedAccountPill: ({ text, config }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
2723
2697
|
export {};
|
|
2724
2698
|
|
|
2725
2699
|
}
|
|
@@ -2728,7 +2702,6 @@ declare module '@layerfi/components/components/LinkedAccountPill/index' {
|
|
|
2728
2702
|
|
|
2729
2703
|
}
|
|
2730
2704
|
declare module '@layerfi/components/components/LinkedAccountThumb/LinkedAccountThumb' {
|
|
2731
|
-
import React from 'react';
|
|
2732
2705
|
import { LinkedAccount } from '@layerfi/components/types/linked_accounts';
|
|
2733
2706
|
export interface LinkedAccountThumbProps {
|
|
2734
2707
|
account: LinkedAccount;
|
|
@@ -2742,32 +2715,64 @@ declare module '@layerfi/components/components/LinkedAccountThumb/LinkedAccountT
|
|
|
2742
2715
|
}[];
|
|
2743
2716
|
};
|
|
2744
2717
|
}
|
|
2745
|
-
export const LinkedAccountThumb: ({ account, asWidget, showLedgerBalance, pillConfig, }: LinkedAccountThumbProps) =>
|
|
2718
|
+
export const LinkedAccountThumb: ({ account, asWidget, showLedgerBalance, pillConfig, }: LinkedAccountThumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
2746
2719
|
|
|
2747
2720
|
}
|
|
2748
2721
|
declare module '@layerfi/components/components/LinkedAccountThumb/index' {
|
|
2749
2722
|
export { LinkedAccountThumb } from '@layerfi/components/components/LinkedAccountThumb/LinkedAccountThumb';
|
|
2750
2723
|
|
|
2724
|
+
}
|
|
2725
|
+
declare module '@layerfi/components/components/LinkedAccounts/AccountFormBox/AccountFormBox' {
|
|
2726
|
+
import { LinkedAccount } from '@layerfi/components/types/linked_accounts';
|
|
2727
|
+
export type AccountFormBoxData = {
|
|
2728
|
+
account: LinkedAccount;
|
|
2729
|
+
isConfirmed: boolean;
|
|
2730
|
+
openingDate?: Date;
|
|
2731
|
+
openingBalance?: string;
|
|
2732
|
+
saved?: boolean;
|
|
2733
|
+
};
|
|
2734
|
+
type AccountFormProps = {
|
|
2735
|
+
account: LinkedAccount;
|
|
2736
|
+
value: AccountFormBoxData;
|
|
2737
|
+
isSaved?: boolean;
|
|
2738
|
+
disableConfirmExclude?: boolean;
|
|
2739
|
+
errors?: string[];
|
|
2740
|
+
onChange: (value: AccountFormBoxData) => void;
|
|
2741
|
+
};
|
|
2742
|
+
export const AccountFormBox: ({ account, value, isSaved, disableConfirmExclude, onChange, errors, }: AccountFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
2743
|
+
export {};
|
|
2744
|
+
|
|
2751
2745
|
}
|
|
2752
2746
|
declare module '@layerfi/components/components/LinkedAccounts/ConfirmationModal/LinkedAccountToConfirm' {
|
|
2753
|
-
import React from 'react';
|
|
2754
2747
|
import type { LinkedAccount } from '@layerfi/components/types/linked_accounts';
|
|
2755
2748
|
type LinkedAccountConfirmationProps = {
|
|
2756
2749
|
account: LinkedAccount;
|
|
2757
2750
|
isConfirmed: boolean;
|
|
2758
2751
|
onChangeConfirmed: (isConfirmed: boolean) => void;
|
|
2759
2752
|
};
|
|
2760
|
-
export function LinkedAccountToConfirm({ account, isConfirmed, onChangeConfirmed, }: LinkedAccountConfirmationProps):
|
|
2753
|
+
export function LinkedAccountToConfirm({ account, isConfirmed, onChangeConfirmed, }: LinkedAccountConfirmationProps): import("react/jsx-runtime").JSX.Element;
|
|
2761
2754
|
export {};
|
|
2762
2755
|
|
|
2763
2756
|
}
|
|
2764
2757
|
declare module '@layerfi/components/components/LinkedAccounts/ConfirmationModal/LinkedAccountsConfirmationModal' {
|
|
2765
|
-
|
|
2766
|
-
|
|
2758
|
+
export function LinkedAccountsConfirmationModal(): import("react/jsx-runtime").JSX.Element;
|
|
2759
|
+
|
|
2760
|
+
}
|
|
2761
|
+
declare module '@layerfi/components/components/LinkedAccounts/ConfirmationModal/useConfirmAndExcludeMultiple' {
|
|
2762
|
+
import type { Awaitable } from '@layerfi/components/types/utility/promises';
|
|
2763
|
+
export type AccountConfirmExcludeFormState = Record<string, boolean>;
|
|
2764
|
+
export function useConfirmAndExcludeMultiple(data: AccountConfirmExcludeFormState, { onSuccess }: {
|
|
2765
|
+
onSuccess: () => Awaitable<unknown>;
|
|
2766
|
+
}): import("swr/mutation").SWRMutationResponse<true | undefined, any, () => {
|
|
2767
|
+
accessToken: string;
|
|
2768
|
+
apiUrl: string;
|
|
2769
|
+
businessId: string;
|
|
2770
|
+
data: AccountConfirmExcludeFormState;
|
|
2771
|
+
tags: string[];
|
|
2772
|
+
} | undefined, never>;
|
|
2767
2773
|
|
|
2768
2774
|
}
|
|
2769
2775
|
declare module '@layerfi/components/components/LinkedAccounts/LinkedAccountItemThumb' {
|
|
2770
|
-
import React from 'react';
|
|
2771
2776
|
import { LinkedAccount } from '@layerfi/components/types/linked_accounts';
|
|
2772
2777
|
export interface LinkedAccountItemThumbProps {
|
|
2773
2778
|
account: LinkedAccount;
|
|
@@ -2776,11 +2781,10 @@ declare module '@layerfi/components/components/LinkedAccounts/LinkedAccountItemT
|
|
|
2776
2781
|
showUnlinkItem?: boolean;
|
|
2777
2782
|
showBreakConnection?: boolean;
|
|
2778
2783
|
}
|
|
2779
|
-
export const LinkedAccountItemThumb: ({ account, asWidget, showLedgerBalance, showUnlinkItem, showBreakConnection, }: LinkedAccountItemThumbProps) =>
|
|
2784
|
+
export const LinkedAccountItemThumb: ({ account, asWidget, showLedgerBalance, showUnlinkItem, showBreakConnection, }: LinkedAccountItemThumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
2780
2785
|
|
|
2781
2786
|
}
|
|
2782
2787
|
declare module '@layerfi/components/components/LinkedAccounts/LinkedAccounts' {
|
|
2783
|
-
import React from 'react';
|
|
2784
2788
|
export interface LinkedAccountsProps {
|
|
2785
2789
|
asWidget?: boolean;
|
|
2786
2790
|
elevated?: boolean;
|
|
@@ -2791,19 +2795,79 @@ declare module '@layerfi/components/components/LinkedAccounts/LinkedAccounts' {
|
|
|
2791
2795
|
title?: string;
|
|
2792
2796
|
};
|
|
2793
2797
|
}
|
|
2794
|
-
export const LinkedAccounts: (props: LinkedAccountsProps) =>
|
|
2795
|
-
export const LinkedAccountsComponent: ({ asWidget, elevated, showLedgerBalance, showUnlinkItem, showBreakConnection, stringOverrides, }: LinkedAccountsProps) =>
|
|
2798
|
+
export const LinkedAccounts: (props: LinkedAccountsProps) => import("react/jsx-runtime").JSX.Element;
|
|
2799
|
+
export const LinkedAccountsComponent: ({ asWidget, elevated, showLedgerBalance, showUnlinkItem, showBreakConnection, stringOverrides, }: LinkedAccountsProps) => import("react/jsx-runtime").JSX.Element;
|
|
2796
2800
|
|
|
2797
2801
|
}
|
|
2798
2802
|
declare module '@layerfi/components/components/LinkedAccounts/LinkedAccountsContent' {
|
|
2799
|
-
import React from 'react';
|
|
2800
2803
|
interface LinkedAccountsDataProps {
|
|
2801
2804
|
asWidget?: boolean;
|
|
2802
2805
|
showLedgerBalance?: boolean;
|
|
2803
2806
|
showUnlinkItem?: boolean;
|
|
2804
2807
|
showBreakConnection?: boolean;
|
|
2805
2808
|
}
|
|
2806
|
-
export const LinkedAccountsContent: ({ asWidget, showLedgerBalance, showUnlinkItem, showBreakConnection, }: LinkedAccountsDataProps) =>
|
|
2809
|
+
export const LinkedAccountsContent: ({ asWidget, showLedgerBalance, showUnlinkItem, showBreakConnection, }: LinkedAccountsDataProps) => import("react/jsx-runtime").JSX.Element;
|
|
2810
|
+
export {};
|
|
2811
|
+
|
|
2812
|
+
}
|
|
2813
|
+
declare module '@layerfi/components/components/LinkedAccounts/OpeningBalanceModal/OpeningBalanceModal' {
|
|
2814
|
+
type OpeningBalanceModalStringOverrides = {
|
|
2815
|
+
title?: string;
|
|
2816
|
+
description?: string;
|
|
2817
|
+
buttonText?: string;
|
|
2818
|
+
};
|
|
2819
|
+
export function OpeningBalanceModal({ stringOverrides, }: {
|
|
2820
|
+
stringOverrides?: OpeningBalanceModalStringOverrides;
|
|
2821
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
2822
|
+
export {};
|
|
2823
|
+
|
|
2824
|
+
}
|
|
2825
|
+
declare module '@layerfi/components/components/LinkedAccounts/OpeningBalanceModal/useUpdateOpeningBalanceAndDate' {
|
|
2826
|
+
import type { Awaitable } from '@layerfi/components/types/utility/promises';
|
|
2827
|
+
export type OpeningBalanceData = {
|
|
2828
|
+
accountId: string;
|
|
2829
|
+
openingDate?: Date;
|
|
2830
|
+
openingBalance?: number;
|
|
2831
|
+
};
|
|
2832
|
+
type OpeningBalanceAPIResponseValidationError = {
|
|
2833
|
+
accountId: string;
|
|
2834
|
+
status: 'rejected';
|
|
2835
|
+
reason: {
|
|
2836
|
+
cause: {
|
|
2837
|
+
type: 'validation';
|
|
2838
|
+
errors: string[];
|
|
2839
|
+
accountId: string;
|
|
2840
|
+
};
|
|
2841
|
+
};
|
|
2842
|
+
};
|
|
2843
|
+
type OpeningBalanceAPIResponseError = {
|
|
2844
|
+
accountId: string;
|
|
2845
|
+
status: 'rejected';
|
|
2846
|
+
reason: {
|
|
2847
|
+
code?: number;
|
|
2848
|
+
info?: string;
|
|
2849
|
+
messages?: Record<string, string>[];
|
|
2850
|
+
name?: string;
|
|
2851
|
+
};
|
|
2852
|
+
};
|
|
2853
|
+
export type OpeningBalanceAPIResponseResult = {
|
|
2854
|
+
accountId: string;
|
|
2855
|
+
status: 'fulfilled';
|
|
2856
|
+
value: {
|
|
2857
|
+
data: {
|
|
2858
|
+
type: string;
|
|
2859
|
+
};
|
|
2860
|
+
};
|
|
2861
|
+
} | OpeningBalanceAPIResponseValidationError | OpeningBalanceAPIResponseError;
|
|
2862
|
+
export function useBulkSetOpeningBalanceAndDate(data: OpeningBalanceData[], { onSuccess }: {
|
|
2863
|
+
onSuccess: (results: OpeningBalanceAPIResponseResult[]) => Awaitable<void>;
|
|
2864
|
+
}): import("swr/mutation").SWRMutationResponse<true | undefined, any, () => {
|
|
2865
|
+
readonly accessToken: string;
|
|
2866
|
+
readonly apiUrl: string;
|
|
2867
|
+
readonly businessId: string;
|
|
2868
|
+
readonly data: OpeningBalanceData[];
|
|
2869
|
+
readonly tags: readonly ["#linked-accounts", "#opening-balance"];
|
|
2870
|
+
} | undefined, never>;
|
|
2807
2871
|
export {};
|
|
2808
2872
|
|
|
2809
2873
|
}
|
|
@@ -2813,20 +2877,19 @@ declare module '@layerfi/components/components/LinkedAccounts/index' {
|
|
|
2813
2877
|
|
|
2814
2878
|
}
|
|
2815
2879
|
declare module '@layerfi/components/components/Loader/Loader' {
|
|
2816
|
-
import
|
|
2880
|
+
import { ReactNode } from 'react';
|
|
2817
2881
|
export interface LoaderProps {
|
|
2818
2882
|
children?: ReactNode;
|
|
2819
2883
|
size?: number;
|
|
2820
2884
|
}
|
|
2821
|
-
export const Loader: ({ children, size }: LoaderProps) =>
|
|
2885
|
+
export const Loader: ({ children, size }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
2822
2886
|
|
|
2823
2887
|
}
|
|
2824
2888
|
declare module '@layerfi/components/components/Loader/SmallLoader' {
|
|
2825
|
-
import React from 'react';
|
|
2826
2889
|
export interface SmallLoaderProps {
|
|
2827
2890
|
size?: number;
|
|
2828
2891
|
}
|
|
2829
|
-
export const SmallLoader: ({ size }: SmallLoaderProps) =>
|
|
2892
|
+
export const SmallLoader: ({ size }: SmallLoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
2830
2893
|
|
|
2831
2894
|
}
|
|
2832
2895
|
declare module '@layerfi/components/components/Loader/index' {
|
|
@@ -2835,7 +2898,6 @@ declare module '@layerfi/components/components/Loader/index' {
|
|
|
2835
2898
|
|
|
2836
2899
|
}
|
|
2837
2900
|
declare module '@layerfi/components/components/MatchForm/MatchForm' {
|
|
2838
|
-
import React from 'react';
|
|
2839
2901
|
import { BankTransaction } from '@layerfi/components/types';
|
|
2840
2902
|
export interface MatchFormProps {
|
|
2841
2903
|
classNamePrefix: string;
|
|
@@ -2845,13 +2907,12 @@ declare module '@layerfi/components/components/MatchForm/MatchForm' {
|
|
|
2845
2907
|
matchFormError?: string;
|
|
2846
2908
|
readOnly?: boolean;
|
|
2847
2909
|
}
|
|
2848
|
-
export const MatchForm: ({ classNamePrefix, bankTransaction, selectedMatchId, setSelectedMatchId, matchFormError, readOnly, }: MatchFormProps) =>
|
|
2910
|
+
export const MatchForm: ({ classNamePrefix, bankTransaction, selectedMatchId, setSelectedMatchId, matchFormError, readOnly, }: MatchFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
2849
2911
|
|
|
2850
2912
|
}
|
|
2851
2913
|
declare module '@layerfi/components/components/MatchForm/MatchFormMobile' {
|
|
2852
|
-
import React from 'react';
|
|
2853
2914
|
import { MatchFormProps } from '@layerfi/components/components/MatchForm/MatchForm';
|
|
2854
|
-
export const MatchFormMobile: ({ classNamePrefix, bankTransaction, selectedMatchId, setSelectedMatchId, matchFormError, }: MatchFormProps) =>
|
|
2915
|
+
export const MatchFormMobile: ({ classNamePrefix, bankTransaction, selectedMatchId, setSelectedMatchId, matchFormError, }: MatchFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
2855
2916
|
|
|
2856
2917
|
}
|
|
2857
2918
|
declare module '@layerfi/components/components/MatchForm/index' {
|
|
@@ -2860,25 +2921,23 @@ declare module '@layerfi/components/components/MatchForm/index' {
|
|
|
2860
2921
|
|
|
2861
2922
|
}
|
|
2862
2923
|
declare module '@layerfi/components/components/Onboarding/ConnectAccount' {
|
|
2863
|
-
import React from 'react';
|
|
2864
2924
|
import { OnboardingStep } from '@layerfi/components/types/layer_context';
|
|
2865
2925
|
export interface ConnectAccountProps {
|
|
2866
2926
|
onboardingStep: OnboardingStep;
|
|
2867
2927
|
onTransactionsToReviewClick?: () => void;
|
|
2868
2928
|
currentMonthOnly?: boolean;
|
|
2869
2929
|
}
|
|
2870
|
-
export const ConnectAccount: ({ onboardingStep, onTransactionsToReviewClick, }: ConnectAccountProps) =>
|
|
2930
|
+
export const ConnectAccount: ({ onboardingStep, onTransactionsToReviewClick, }: ConnectAccountProps) => import("react/jsx-runtime").JSX.Element;
|
|
2871
2931
|
|
|
2872
2932
|
}
|
|
2873
2933
|
declare module '@layerfi/components/components/Onboarding/Onboarding' {
|
|
2874
|
-
import React from 'react';
|
|
2875
2934
|
import { OnboardingStep } from '@layerfi/components/types/layer_context';
|
|
2876
2935
|
export interface OnboardingProps {
|
|
2877
2936
|
onTransactionsToReviewClick?: () => void;
|
|
2878
2937
|
onboardingStepOverride?: OnboardingStep;
|
|
2879
2938
|
}
|
|
2880
|
-
export const Onboarding: (props: OnboardingProps) =>
|
|
2881
|
-
export const OnboardingContent: ({ onTransactionsToReviewClick, onboardingStepOverride, }: OnboardingProps) =>
|
|
2939
|
+
export const Onboarding: (props: OnboardingProps) => import("react/jsx-runtime").JSX.Element;
|
|
2940
|
+
export const OnboardingContent: ({ onTransactionsToReviewClick, onboardingStepOverride, }: OnboardingProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
2882
2941
|
|
|
2883
2942
|
}
|
|
2884
2943
|
declare module '@layerfi/components/components/Onboarding/index' {
|
|
@@ -2886,7 +2945,6 @@ declare module '@layerfi/components/components/Onboarding/index' {
|
|
|
2886
2945
|
|
|
2887
2946
|
}
|
|
2888
2947
|
declare module '@layerfi/components/components/Pagination/Pagination' {
|
|
2889
|
-
import React from 'react';
|
|
2890
2948
|
export interface PaginationProps {
|
|
2891
2949
|
currentPage: number;
|
|
2892
2950
|
pageSize: number;
|
|
@@ -2896,7 +2954,7 @@ declare module '@layerfi/components/components/Pagination/Pagination' {
|
|
|
2896
2954
|
hasMore?: boolean;
|
|
2897
2955
|
fetchMore?: () => void;
|
|
2898
2956
|
}
|
|
2899
|
-
export const Pagination: ({ onPageChange, totalCount, siblingCount, currentPage, pageSize, hasMore, fetchMore, }: PaginationProps) =>
|
|
2957
|
+
export const Pagination: ({ onPageChange, totalCount, siblingCount, currentPage, pageSize, hasMore, fetchMore, }: PaginationProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
2900
2958
|
|
|
2901
2959
|
}
|
|
2902
2960
|
declare module '@layerfi/components/components/Pagination/index' {
|
|
@@ -2904,7 +2962,7 @@ declare module '@layerfi/components/components/Pagination/index' {
|
|
|
2904
2962
|
|
|
2905
2963
|
}
|
|
2906
2964
|
declare module '@layerfi/components/components/Panel/Panel' {
|
|
2907
|
-
import
|
|
2965
|
+
import { ReactNode, RefObject } from 'react';
|
|
2908
2966
|
export interface PanelProps {
|
|
2909
2967
|
children: ReactNode;
|
|
2910
2968
|
className?: string;
|
|
@@ -2914,26 +2972,48 @@ declare module '@layerfi/components/components/Panel/Panel' {
|
|
|
2914
2972
|
parentRef?: RefObject<HTMLDivElement>;
|
|
2915
2973
|
defaultSidebarHeight?: boolean;
|
|
2916
2974
|
}
|
|
2917
|
-
export const Panel: ({ children, className, sidebar, header, sidebarIsOpen, parentRef, defaultSidebarHeight, }: PanelProps) =>
|
|
2975
|
+
export const Panel: ({ children, className, sidebar, header, sidebarIsOpen, parentRef, defaultSidebarHeight, }: PanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
2918
2976
|
|
|
2919
2977
|
}
|
|
2920
2978
|
declare module '@layerfi/components/components/Panel/index' {
|
|
2921
2979
|
export { Panel } from '@layerfi/components/components/Panel/Panel';
|
|
2922
2980
|
|
|
2981
|
+
}
|
|
2982
|
+
declare module '@layerfi/components/components/PeriodPicker/PeriodPicker' {
|
|
2983
|
+
export type PeriodPickerOption = 'month' | 'quarter' | 'year' | '2_months' | '3_months' | '6_months' | '12_months' | '2_quarters' | '3_quarters' | '4_quarters' | '8_quarters' | '2_years' | '3_years';
|
|
2984
|
+
interface PeriodPickerProps {
|
|
2985
|
+
onSelect: (option: {
|
|
2986
|
+
key: PeriodPickerOption;
|
|
2987
|
+
start_date: string;
|
|
2988
|
+
end_date: string;
|
|
2989
|
+
}) => void;
|
|
2990
|
+
defaultValue?: PeriodPickerOption;
|
|
2991
|
+
}
|
|
2992
|
+
export const PeriodPicker: ({ onSelect, defaultValue }: PeriodPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
2993
|
+
export {};
|
|
2994
|
+
|
|
2995
|
+
}
|
|
2996
|
+
declare module '@layerfi/components/components/PeriodPicker/index' {
|
|
2997
|
+
export { PeriodPicker } from '@layerfi/components/components/PeriodPicker/PeriodPicker';
|
|
2998
|
+
|
|
2923
2999
|
}
|
|
2924
3000
|
declare module '@layerfi/components/components/Pill/Pill' {
|
|
2925
|
-
import
|
|
3001
|
+
import { PropsWithChildren } from 'react';
|
|
2926
3002
|
type PillKind = 'default' | 'info' | 'success' | 'warning' | 'error';
|
|
2927
3003
|
type Props = PropsWithChildren & {
|
|
2928
3004
|
kind?: PillKind;
|
|
2929
3005
|
onHover?: () => void;
|
|
3006
|
+
onClick?: () => void;
|
|
2930
3007
|
};
|
|
2931
|
-
export const Pill: ({ children, kind, onHover }: Props) =>
|
|
3008
|
+
export const Pill: ({ children, kind, onHover, onClick }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
2932
3009
|
export {};
|
|
2933
3010
|
|
|
3011
|
+
}
|
|
3012
|
+
declare module '@layerfi/components/components/Pill/index' {
|
|
3013
|
+
export { Pill } from '@layerfi/components/components/Pill/Pill';
|
|
3014
|
+
|
|
2934
3015
|
}
|
|
2935
3016
|
declare module '@layerfi/components/components/PlatformOnboarding/LinkAccounts' {
|
|
2936
|
-
import React from 'react';
|
|
2937
3017
|
export interface LinkAccountsStringOverrides {
|
|
2938
3018
|
backButtonText?: string;
|
|
2939
3019
|
nextButtonText?: string;
|
|
@@ -2950,8 +3030,8 @@ declare module '@layerfi/components/components/PlatformOnboarding/LinkAccounts'
|
|
|
2950
3030
|
onBack?: () => void;
|
|
2951
3031
|
onNext?: () => void;
|
|
2952
3032
|
}
|
|
2953
|
-
export const LinkAccounts: ({ inBox, ...props }: LinkAccountsProps) =>
|
|
2954
|
-
export const LinkAccountsContent: ({ title, asWidget, showLedgerBalance, showUnlinkItem, showBreakConnection, hideLoading, stringOverrides, onBack, onNext, }: LinkAccountsProps) =>
|
|
3033
|
+
export const LinkAccounts: ({ inBox, ...props }: LinkAccountsProps) => import("react/jsx-runtime").JSX.Element;
|
|
3034
|
+
export const LinkAccountsContent: ({ title, asWidget, showLedgerBalance, showUnlinkItem, showBreakConnection, hideLoading, stringOverrides, onBack, onNext, }: LinkAccountsProps) => import("react/jsx-runtime").JSX.Element;
|
|
2955
3035
|
|
|
2956
3036
|
}
|
|
2957
3037
|
declare module '@layerfi/components/components/PlatformOnboarding/index' {
|
|
@@ -2959,7 +3039,7 @@ declare module '@layerfi/components/components/PlatformOnboarding/index' {
|
|
|
2959
3039
|
|
|
2960
3040
|
}
|
|
2961
3041
|
declare module '@layerfi/components/components/ProfitAndLoss/ProfitAndLoss' {
|
|
2962
|
-
import
|
|
3042
|
+
import { PropsWithChildren } from 'react';
|
|
2963
3043
|
import { ReportingBasis } from '@layerfi/components/types';
|
|
2964
3044
|
type Props = PropsWithChildren & {
|
|
2965
3045
|
tagFilter?: {
|
|
@@ -2970,46 +3050,49 @@ declare module '@layerfi/components/components/ProfitAndLoss/ProfitAndLoss' {
|
|
|
2970
3050
|
asContainer?: boolean;
|
|
2971
3051
|
};
|
|
2972
3052
|
const ProfitAndLoss: {
|
|
2973
|
-
({ children, tagFilter, reportingBasis, asContainer, }: Props):
|
|
2974
|
-
Chart: ({ forceRerenderOnDataChange, tagFilter, }: import("@layerfi/components/components/ProfitAndLossChart/ProfitAndLossChart").Props) =>
|
|
2975
|
-
Context:
|
|
3053
|
+
({ children, tagFilter, reportingBasis, asContainer, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
3054
|
+
Chart: ({ forceRerenderOnDataChange, tagFilter, }: import("@layerfi/components/components/ProfitAndLossChart/ProfitAndLossChart").Props) => import("react/jsx-runtime").JSX.Element;
|
|
3055
|
+
Context: import("react").Context<{
|
|
2976
3056
|
data: import("@layerfi/components/types").ProfitAndLoss | undefined;
|
|
2977
|
-
filteredDataRevenue: import("@layerfi/components/types/line_item").LineBaseItem[];
|
|
2978
|
-
filteredTotalRevenue
|
|
2979
|
-
filteredDataExpenses: import("@layerfi/components/types/line_item").LineBaseItem[];
|
|
2980
|
-
filteredTotalExpenses
|
|
3057
|
+
filteredDataRevenue: never[] | import("@layerfi/components/types/line_item").LineBaseItem[];
|
|
3058
|
+
filteredTotalRevenue: number | undefined;
|
|
3059
|
+
filteredDataExpenses: never[] | import("@layerfi/components/types/line_item").LineBaseItem[];
|
|
3060
|
+
filteredTotalExpenses: number | undefined;
|
|
2981
3061
|
isLoading: boolean;
|
|
2982
3062
|
isValidating: boolean;
|
|
2983
3063
|
error: unknown;
|
|
2984
|
-
dateRange:
|
|
2985
|
-
|
|
3064
|
+
dateRange: {
|
|
3065
|
+
startDate: Date;
|
|
3066
|
+
endDate: Date;
|
|
3067
|
+
};
|
|
3068
|
+
changeDateRange: ({ startDate: start, endDate: end }: import("@layerfi/components/types").DateRange) => void;
|
|
2986
3069
|
refetch: () => void;
|
|
2987
3070
|
sidebarScope: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").SidebarScope;
|
|
2988
|
-
setSidebarScope: (
|
|
2989
|
-
filters: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").ProfitAndLossFilters;
|
|
3071
|
+
setSidebarScope: import("react").Dispatch<import("react").SetStateAction<import("../../hooks/useProfitAndLoss/useProfitAndLoss").SidebarScope>>;
|
|
2990
3072
|
sortBy: (scope: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").Scope, field: string, direction?: import("../../types").SortDirection) => void;
|
|
3073
|
+
filters: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").ProfitAndLossFilters;
|
|
2991
3074
|
setFilterTypes: (scope: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").Scope, types: string[]) => void;
|
|
2992
|
-
tagFilter
|
|
3075
|
+
tagFilter: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").PnlTagFilter | undefined;
|
|
2993
3076
|
}>;
|
|
2994
|
-
ComparisonContext:
|
|
3077
|
+
ComparisonContext: import("react").Context<{
|
|
2995
3078
|
data: import("@layerfi/components/types/profit_and_loss").ProfitAndLossComparisonItem[] | undefined;
|
|
2996
3079
|
isLoading: boolean;
|
|
2997
3080
|
isValidating: boolean;
|
|
2998
3081
|
error: unknown;
|
|
2999
3082
|
compareMode: boolean;
|
|
3000
|
-
setCompareMode: (
|
|
3083
|
+
setCompareMode: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
3001
3084
|
compareMonths: number;
|
|
3002
|
-
setCompareMonths: (
|
|
3085
|
+
setCompareMonths: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
3003
3086
|
compareOptions: import("@layerfi/components/components/ProfitAndLossCompareOptions/ProfitAndLossCompareOptions").TagComparisonOption[];
|
|
3004
|
-
setCompareOptions: (
|
|
3087
|
+
setCompareOptions: import("react").Dispatch<import("react").SetStateAction<import("../ProfitAndLossCompareOptions/ProfitAndLossCompareOptions").TagComparisonOption[]>>;
|
|
3005
3088
|
refetch: (dateRange: import("@layerfi/components/types").DateRange, actAsInitial?: boolean) => void;
|
|
3006
3089
|
getProfitAndLossComparisonCsv: (dateRange: import("@layerfi/components/types").DateRange, moneyFormat?: import("../../types").MoneyFormat) => Promise<{
|
|
3007
3090
|
data?: import("@layerfi/components/types/general").S3PresignedUrl;
|
|
3008
3091
|
error?: unknown;
|
|
3009
3092
|
}>;
|
|
3010
3093
|
}>;
|
|
3011
|
-
DatePicker: ({ allowedDatePickerModes,
|
|
3012
|
-
CompareOptions: ({ tagComparisonOptions, defaultTagFilter: defaultOption, }: import("@layerfi/components/components/ProfitAndLossCompareOptions/index").ProfitAndLossCompareOptionsProps) =>
|
|
3094
|
+
DatePicker: ({ allowedDatePickerModes, customDateRanges, defaultDatePickerMode, }: import("@layerfi/components/components/ProfitAndLossDatePicker/ProfitAndLossDatePicker").ProfitAndLossDatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
3095
|
+
CompareOptions: ({ tagComparisonOptions, defaultTagFilter: defaultOption, }: import("@layerfi/components/components/ProfitAndLossCompareOptions/index").ProfitAndLossCompareOptionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
3013
3096
|
Summaries: (props: {
|
|
3014
3097
|
actionable?: boolean;
|
|
3015
3098
|
stringOverrides?: import("@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries").ProfitAndLossSummariesStringOverrides;
|
|
@@ -3017,18 +3100,18 @@ declare module '@layerfi/components/components/ProfitAndLoss/ProfitAndLoss' {
|
|
|
3017
3100
|
variants?: import("@layerfi/components/utils/styleUtils/sizeVariants").Variants;
|
|
3018
3101
|
revenueLabel?: string;
|
|
3019
3102
|
vertical?: boolean;
|
|
3020
|
-
}) =>
|
|
3021
|
-
Table: (props: import("@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent").ProfitAndLossTableProps) =>
|
|
3103
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3104
|
+
Table: (props: import("@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent").ProfitAndLossTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
3022
3105
|
DetailedCharts: ({ scope, hideClose, showDatePicker, chartColorsList, stringOverrides, }: {
|
|
3023
3106
|
scope?: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").SidebarScope;
|
|
3024
3107
|
hideClose?: boolean;
|
|
3025
3108
|
showDatePicker?: boolean;
|
|
3026
3109
|
chartColorsList?: string[];
|
|
3027
3110
|
stringOverrides?: import("@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts").ProfitAndLossDetailedChartsStringOverrides;
|
|
3028
|
-
}) =>
|
|
3029
|
-
Header: ({ text, className, headingClassName, withDatePicker, }: import("@layerfi/components/components/ProfitAndLossHeader/ProfitAndLossHeader").ProfitAndLossHeaderProps) =>
|
|
3030
|
-
Report: ({ stringOverrides, comparisonConfig, allowedDatePickerModes, datePickerMode, defaultDatePickerMode, customDateRanges, csvMoneyFormat, parentRef, view, }: import("@layerfi/components/components/ProfitAndLossReport/ProfitAndLossReport").ProfitAndLossReportProps) =>
|
|
3031
|
-
DownloadButton: ({ stringOverrides, useComparisonPnl, moneyFormat, view, }: import("@layerfi/components/components/ProfitAndLossDownloadButton/ProfitAndLossDownloadButton").ProfitAndLossDownloadButtonProps) =>
|
|
3111
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3112
|
+
Header: ({ text, className, headingClassName, withDatePicker, }: import("@layerfi/components/components/ProfitAndLossHeader/ProfitAndLossHeader").ProfitAndLossHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3113
|
+
Report: ({ stringOverrides, comparisonConfig, allowedDatePickerModes, datePickerMode, defaultDatePickerMode, customDateRanges, csvMoneyFormat, parentRef, view, }: import("@layerfi/components/components/ProfitAndLossReport/ProfitAndLossReport").ProfitAndLossReportProps) => import("react/jsx-runtime").JSX.Element;
|
|
3114
|
+
DownloadButton: ({ stringOverrides, useComparisonPnl, moneyFormat, view, }: import("@layerfi/components/components/ProfitAndLossDownloadButton/ProfitAndLossDownloadButton").ProfitAndLossDownloadButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
3032
3115
|
};
|
|
3033
3116
|
export { ProfitAndLoss };
|
|
3034
3117
|
|
|
@@ -3038,12 +3121,10 @@ declare module '@layerfi/components/components/ProfitAndLoss/index' {
|
|
|
3038
3121
|
|
|
3039
3122
|
}
|
|
3040
3123
|
declare module '@layerfi/components/components/ProfitAndLossChart/ChartStateCard' {
|
|
3041
|
-
|
|
3042
|
-
export const ChartStateCard: () => React.JSX.Element;
|
|
3124
|
+
export const ChartStateCard: () => import("react/jsx-runtime").JSX.Element;
|
|
3043
3125
|
|
|
3044
3126
|
}
|
|
3045
3127
|
declare module '@layerfi/components/components/ProfitAndLossChart/Indicator' {
|
|
3046
|
-
import React from 'react';
|
|
3047
3128
|
import { Props as BaseProps } from 'recharts/types/component/Label';
|
|
3048
3129
|
type Props = BaseProps & {
|
|
3049
3130
|
animateFrom: number;
|
|
@@ -3054,12 +3135,11 @@ declare module '@layerfi/components/components/ProfitAndLossChart/Indicator' {
|
|
|
3054
3135
|
};
|
|
3055
3136
|
setCustomCursorSize: (width: number, height: number, x: number) => void;
|
|
3056
3137
|
};
|
|
3057
|
-
export const Indicator: ({ className, animateFrom, setAnimateFrom, customCursorSize, setCustomCursorSize, viewBox, }: Props) =>
|
|
3138
|
+
export const Indicator: ({ className, animateFrom, setAnimateFrom, customCursorSize, setCustomCursorSize, viewBox, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
3058
3139
|
export {};
|
|
3059
3140
|
|
|
3060
3141
|
}
|
|
3061
3142
|
declare module '@layerfi/components/components/ProfitAndLossChart/ProfitAndLossChart' {
|
|
3062
|
-
import React from 'react';
|
|
3063
3143
|
export interface Props {
|
|
3064
3144
|
forceRerenderOnDataChange?: boolean;
|
|
3065
3145
|
tagFilter?: {
|
|
@@ -3067,7 +3147,7 @@ declare module '@layerfi/components/components/ProfitAndLossChart/ProfitAndLossC
|
|
|
3067
3147
|
values: string[];
|
|
3068
3148
|
};
|
|
3069
3149
|
}
|
|
3070
|
-
export const ProfitAndLossChart: ({ forceRerenderOnDataChange, tagFilter, }: Props) =>
|
|
3150
|
+
export const ProfitAndLossChart: ({ forceRerenderOnDataChange, tagFilter, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3071
3151
|
|
|
3072
3152
|
}
|
|
3073
3153
|
declare module '@layerfi/components/components/ProfitAndLossChart/index' {
|
|
@@ -3075,7 +3155,6 @@ declare module '@layerfi/components/components/ProfitAndLossChart/index' {
|
|
|
3075
3155
|
|
|
3076
3156
|
}
|
|
3077
3157
|
declare module '@layerfi/components/components/ProfitAndLossCompareOptions/ProfitAndLossCompareOptions' {
|
|
3078
|
-
import React from 'react';
|
|
3079
3158
|
export interface ProfitAndLossCompareOptionsProps {
|
|
3080
3159
|
tagComparisonOptions: TagComparisonOption[];
|
|
3081
3160
|
defaultTagFilter: TagComparisonOption;
|
|
@@ -3092,7 +3171,7 @@ declare module '@layerfi/components/components/ProfitAndLossCompareOptions/Profi
|
|
|
3092
3171
|
tagKey: string;
|
|
3093
3172
|
tagValues: string[];
|
|
3094
3173
|
} | 'None';
|
|
3095
|
-
export const ProfitAndLossCompareOptions: ({ tagComparisonOptions, defaultTagFilter: defaultOption, }: ProfitAndLossCompareOptionsProps) =>
|
|
3174
|
+
export const ProfitAndLossCompareOptions: ({ tagComparisonOptions, defaultTagFilter: defaultOption, }: ProfitAndLossCompareOptionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
3096
3175
|
|
|
3097
3176
|
}
|
|
3098
3177
|
declare module '@layerfi/components/components/ProfitAndLossCompareOptions/index' {
|
|
@@ -3100,10 +3179,9 @@ declare module '@layerfi/components/components/ProfitAndLossCompareOptions/index
|
|
|
3100
3179
|
|
|
3101
3180
|
}
|
|
3102
3181
|
declare module '@layerfi/components/components/ProfitAndLossDatePicker/ProfitAndLossDatePicker' {
|
|
3103
|
-
import React from 'react';
|
|
3104
3182
|
import type { TimeRangePickerConfig } from '@layerfi/components/views/Reports/reportTypes';
|
|
3105
3183
|
export type ProfitAndLossDatePickerProps = TimeRangePickerConfig;
|
|
3106
|
-
export const ProfitAndLossDatePicker: ({ allowedDatePickerModes,
|
|
3184
|
+
export const ProfitAndLossDatePicker: ({ allowedDatePickerModes, customDateRanges, defaultDatePickerMode, }: ProfitAndLossDatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
3107
3185
|
|
|
3108
3186
|
}
|
|
3109
3187
|
declare module '@layerfi/components/components/ProfitAndLossDatePicker/index' {
|
|
@@ -3111,7 +3189,6 @@ declare module '@layerfi/components/components/ProfitAndLossDatePicker/index' {
|
|
|
3111
3189
|
|
|
3112
3190
|
}
|
|
3113
3191
|
declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/DetailedChart' {
|
|
3114
|
-
import React from 'react';
|
|
3115
3192
|
import { SidebarScope } from '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss';
|
|
3116
3193
|
import { LineBaseItem } from '@layerfi/components/types/line_item';
|
|
3117
3194
|
interface DetailedChartProps {
|
|
@@ -3125,12 +3202,11 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Detai
|
|
|
3125
3202
|
showDatePicker?: boolean;
|
|
3126
3203
|
chartColorsList?: string[];
|
|
3127
3204
|
}
|
|
3128
|
-
export const DetailedChart: ({ filteredData, filteredTotal, hoveredItem, setHoveredItem, chartColorsList, isLoading, showDatePicker, }: DetailedChartProps) =>
|
|
3205
|
+
export const DetailedChart: ({ filteredData, filteredTotal, hoveredItem, setHoveredItem, chartColorsList, isLoading, showDatePicker, }: DetailedChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
3129
3206
|
export {};
|
|
3130
3207
|
|
|
3131
3208
|
}
|
|
3132
3209
|
declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/DetailedTable' {
|
|
3133
|
-
import React from 'react';
|
|
3134
3210
|
import { Scope, SidebarScope, ProfitAndLossFilters } from '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss';
|
|
3135
3211
|
import { SortDirection } from '@layerfi/components/types';
|
|
3136
3212
|
import { LineBaseItem } from '@layerfi/components/types/line_item';
|
|
@@ -3154,11 +3230,10 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Detai
|
|
|
3154
3230
|
opacity: number;
|
|
3155
3231
|
}
|
|
3156
3232
|
export const mapTypesToColors: (data: LineBaseItem[], colorList?: string[]) => TypeColorMapping[];
|
|
3157
|
-
export const DetailedTable: ({ filteredData, sidebarScope, filters, sortBy, hoveredItem, setHoveredItem, chartColorsList, stringOverrides, }: DetailedTableProps) =>
|
|
3233
|
+
export const DetailedTable: ({ filteredData, sidebarScope, filters, sortBy, hoveredItem, setHoveredItem, chartColorsList, stringOverrides, }: DetailedTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
3158
3234
|
|
|
3159
3235
|
}
|
|
3160
3236
|
declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Filters' {
|
|
3161
|
-
import React from 'react';
|
|
3162
3237
|
import { Scope, SidebarScope, ProfitAndLossFilters } from '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss';
|
|
3163
3238
|
import { LineBaseItem } from '@layerfi/components/types/line_item';
|
|
3164
3239
|
export interface FiltersProps {
|
|
@@ -3167,11 +3242,10 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Filte
|
|
|
3167
3242
|
filters: ProfitAndLossFilters;
|
|
3168
3243
|
setFilterTypes: (scope: Scope, types: string[]) => void;
|
|
3169
3244
|
}
|
|
3170
|
-
export const Filters: ({ filteredData, sidebarScope, filters, setFilterTypes, }: FiltersProps) =>
|
|
3245
|
+
export const Filters: ({ filteredData, sidebarScope, filters, setFilterTypes, }: FiltersProps) => import("react/jsx-runtime").JSX.Element;
|
|
3171
3246
|
|
|
3172
3247
|
}
|
|
3173
3248
|
declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts' {
|
|
3174
|
-
import React from 'react';
|
|
3175
3249
|
import { SidebarScope } from '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss';
|
|
3176
3250
|
import { DetailedTableStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/DetailedTable';
|
|
3177
3251
|
export interface ProfitAndLossDetailedChartsStringOverrides {
|
|
@@ -3183,7 +3257,7 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Profi
|
|
|
3183
3257
|
showDatePicker?: boolean;
|
|
3184
3258
|
chartColorsList?: string[];
|
|
3185
3259
|
stringOverrides?: ProfitAndLossDetailedChartsStringOverrides;
|
|
3186
|
-
}) =>
|
|
3260
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3187
3261
|
|
|
3188
3262
|
}
|
|
3189
3263
|
declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/index' {
|
|
@@ -3191,7 +3265,6 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/index
|
|
|
3191
3265
|
|
|
3192
3266
|
}
|
|
3193
3267
|
declare module '@layerfi/components/components/ProfitAndLossDownloadButton/ProfitAndLossDownloadButton' {
|
|
3194
|
-
import React from 'react';
|
|
3195
3268
|
import { MoneyFormat } from '@layerfi/components/types';
|
|
3196
3269
|
import { View as ViewType } from '@layerfi/components/types/general';
|
|
3197
3270
|
type ViewBreakpoint = ViewType | undefined;
|
|
@@ -3205,7 +3278,7 @@ declare module '@layerfi/components/components/ProfitAndLossDownloadButton/Profi
|
|
|
3205
3278
|
moneyFormat?: MoneyFormat;
|
|
3206
3279
|
view: ViewBreakpoint;
|
|
3207
3280
|
}
|
|
3208
|
-
export const ProfitAndLossDownloadButton: ({ stringOverrides, useComparisonPnl, moneyFormat, view, }: ProfitAndLossDownloadButtonProps) =>
|
|
3281
|
+
export const ProfitAndLossDownloadButton: ({ stringOverrides, useComparisonPnl, moneyFormat, view, }: ProfitAndLossDownloadButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
3209
3282
|
export {};
|
|
3210
3283
|
|
|
3211
3284
|
}
|
|
@@ -3214,14 +3287,13 @@ declare module '@layerfi/components/components/ProfitAndLossDownloadButton/index
|
|
|
3214
3287
|
|
|
3215
3288
|
}
|
|
3216
3289
|
declare module '@layerfi/components/components/ProfitAndLossHeader/ProfitAndLossHeader' {
|
|
3217
|
-
import React from 'react';
|
|
3218
3290
|
export interface ProfitAndLossHeaderProps {
|
|
3219
3291
|
text?: string;
|
|
3220
3292
|
className?: string;
|
|
3221
3293
|
headingClassName?: string;
|
|
3222
3294
|
withDatePicker?: boolean;
|
|
3223
3295
|
}
|
|
3224
|
-
export const ProfitAndLossHeader: ({ text, className, headingClassName, withDatePicker, }: ProfitAndLossHeaderProps) =>
|
|
3296
|
+
export const ProfitAndLossHeader: ({ text, className, headingClassName, withDatePicker, }: ProfitAndLossHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3225
3297
|
|
|
3226
3298
|
}
|
|
3227
3299
|
declare module '@layerfi/components/components/ProfitAndLossHeader/index' {
|
|
@@ -3229,7 +3301,7 @@ declare module '@layerfi/components/components/ProfitAndLossHeader/index' {
|
|
|
3229
3301
|
|
|
3230
3302
|
}
|
|
3231
3303
|
declare module '@layerfi/components/components/ProfitAndLossReport/ProfitAndLossReport' {
|
|
3232
|
-
import
|
|
3304
|
+
import { RefObject } from 'react';
|
|
3233
3305
|
import { View as ViewType } from '@layerfi/components/types/general';
|
|
3234
3306
|
import { ReportsStringOverrides } from '@layerfi/components/views/Reports/Reports';
|
|
3235
3307
|
import type { TimeRangePickerConfig } from '@layerfi/components/views/Reports/reportTypes';
|
|
@@ -3241,7 +3313,7 @@ declare module '@layerfi/components/components/ProfitAndLossReport/ProfitAndLoss
|
|
|
3241
3313
|
parentRef?: RefObject<HTMLDivElement>;
|
|
3242
3314
|
view?: ViewBreakpoint;
|
|
3243
3315
|
} & TimeRangePickerConfig;
|
|
3244
|
-
export const ProfitAndLossReport: ({ stringOverrides, comparisonConfig, allowedDatePickerModes, datePickerMode, defaultDatePickerMode, customDateRanges, csvMoneyFormat, parentRef, view, }: ProfitAndLossReportProps) =>
|
|
3316
|
+
export const ProfitAndLossReport: ({ stringOverrides, comparisonConfig, allowedDatePickerModes, datePickerMode, defaultDatePickerMode, customDateRanges, csvMoneyFormat, parentRef, view, }: ProfitAndLossReportProps) => import("react/jsx-runtime").JSX.Element;
|
|
3245
3317
|
export {};
|
|
3246
3318
|
|
|
3247
3319
|
}
|
|
@@ -3250,7 +3322,7 @@ declare module '@layerfi/components/components/ProfitAndLossReport/index' {
|
|
|
3250
3322
|
|
|
3251
3323
|
}
|
|
3252
3324
|
declare module '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries' {
|
|
3253
|
-
import
|
|
3325
|
+
import { type ReactNode } from 'react';
|
|
3254
3326
|
import type { Variants } from '@layerfi/components/utils/styleUtils/sizeVariants';
|
|
3255
3327
|
export interface ProfitAndLossSummariesStringOverrides {
|
|
3256
3328
|
revenueLabel?: string;
|
|
@@ -3276,8 +3348,8 @@ declare module '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndL
|
|
|
3276
3348
|
unstable_AdditionalListItems?: [ReactNode];
|
|
3277
3349
|
};
|
|
3278
3350
|
} & ProfitAndLossSummariesProps;
|
|
3279
|
-
export function Internal_ProfitAndLossSummaries({ actionable, revenueLabel, stringOverrides, chartColorsList, slots, variants, }: Internal_ProfitAndLossSummariesProps):
|
|
3280
|
-
export const ProfitAndLossSummaries: (props: ProfitAndLossSummariesProps) =>
|
|
3351
|
+
export function Internal_ProfitAndLossSummaries({ actionable, revenueLabel, stringOverrides, chartColorsList, slots, variants, }: Internal_ProfitAndLossSummariesProps): import("react/jsx-runtime").JSX.Element;
|
|
3352
|
+
export const ProfitAndLossSummaries: (props: ProfitAndLossSummariesProps) => import("react/jsx-runtime").JSX.Element;
|
|
3281
3353
|
export {};
|
|
3282
3354
|
|
|
3283
3355
|
}
|
|
@@ -3287,31 +3359,29 @@ declare module '@layerfi/components/components/ProfitAndLossSummaries/index' {
|
|
|
3287
3359
|
}
|
|
3288
3360
|
declare module '@layerfi/components/components/ProfitAndLossSummaries/internal/ProfitAndLossSummariesHeading' {
|
|
3289
3361
|
import { PropsWithChildren } from 'react';
|
|
3290
|
-
import React from 'react';
|
|
3291
3362
|
import type { Variants } from '@layerfi/components/utils/styleUtils/sizeVariants';
|
|
3292
3363
|
type ProfitAndLossSummariesHeadingProps = {
|
|
3293
3364
|
variants?: Variants;
|
|
3294
3365
|
} & PropsWithChildren;
|
|
3295
|
-
export function ProfitAndLossSummariesHeading({ variants, children, }: ProfitAndLossSummariesHeadingProps):
|
|
3366
|
+
export function ProfitAndLossSummariesHeading({ variants, children, }: ProfitAndLossSummariesHeadingProps): import("react/jsx-runtime").JSX.Element;
|
|
3296
3367
|
export {};
|
|
3297
3368
|
|
|
3298
3369
|
}
|
|
3299
3370
|
declare module '@layerfi/components/components/ProfitAndLossSummaries/internal/ProfitAndLossSummariesList' {
|
|
3300
|
-
import
|
|
3371
|
+
import { type PropsWithChildren } from 'react';
|
|
3301
3372
|
type ProfitAndLossSummariesListItemProps = PropsWithChildren<{
|
|
3302
3373
|
isActive?: boolean;
|
|
3303
3374
|
onClick?: () => void;
|
|
3304
3375
|
}>;
|
|
3305
|
-
export function ProfitAndLossSummariesListItem({ children, isActive, onClick, }: ProfitAndLossSummariesListItemProps):
|
|
3376
|
+
export function ProfitAndLossSummariesListItem({ children, isActive, onClick, }: ProfitAndLossSummariesListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3306
3377
|
type ProfitAndLossSummariesListProps = PropsWithChildren<{
|
|
3307
3378
|
itemCount?: number;
|
|
3308
3379
|
}>;
|
|
3309
|
-
export function ProfitAndLossSummariesList({ children, itemCount, }: ProfitAndLossSummariesListProps):
|
|
3380
|
+
export function ProfitAndLossSummariesList({ children, itemCount, }: ProfitAndLossSummariesListProps): import("react/jsx-runtime").JSX.Element;
|
|
3310
3381
|
export {};
|
|
3311
3382
|
|
|
3312
3383
|
}
|
|
3313
3384
|
declare module '@layerfi/components/components/ProfitAndLossSummaries/internal/ProfitAndLossSummariesMiniChart' {
|
|
3314
|
-
import React from 'react';
|
|
3315
3385
|
import type { Scope } from '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss';
|
|
3316
3386
|
import type { ProfitAndLoss } from '@layerfi/components/types';
|
|
3317
3387
|
import type { LineBaseItem } from '@layerfi/components/types/line_item';
|
|
@@ -3325,12 +3395,12 @@ declare module '@layerfi/components/components/ProfitAndLossSummaries/internal/P
|
|
|
3325
3395
|
chartColorsList?: string[];
|
|
3326
3396
|
variants?: Variants;
|
|
3327
3397
|
};
|
|
3328
|
-
export function ProfitAndLossSummariesMiniChart({ data, chartColorsList, variants, }: ProfitAndLossMiniChartProps):
|
|
3398
|
+
export function ProfitAndLossSummariesMiniChart({ data, chartColorsList, variants, }: ProfitAndLossMiniChartProps): import("react/jsx-runtime").JSX.Element;
|
|
3329
3399
|
export {};
|
|
3330
3400
|
|
|
3331
3401
|
}
|
|
3332
3402
|
declare module '@layerfi/components/components/ProfitAndLossSummaries/internal/ProfitAndLossSummariesSummary' {
|
|
3333
|
-
import
|
|
3403
|
+
import { type ReactNode } from 'react';
|
|
3334
3404
|
import type { Variants } from '@layerfi/components/utils/styleUtils/sizeVariants';
|
|
3335
3405
|
type ProfitAndLossSummariesSummaryProps = {
|
|
3336
3406
|
label: string;
|
|
@@ -3341,22 +3411,20 @@ declare module '@layerfi/components/components/ProfitAndLossSummaries/internal/P
|
|
|
3341
3411
|
};
|
|
3342
3412
|
variants?: Variants;
|
|
3343
3413
|
};
|
|
3344
|
-
export function ProfitAndLossSummariesSummary({ label, amount, isLoading, slots, variants, }: ProfitAndLossSummariesSummaryProps):
|
|
3414
|
+
export function ProfitAndLossSummariesSummary({ label, amount, isLoading, slots, variants, }: ProfitAndLossSummariesSummaryProps): import("react/jsx-runtime").JSX.Element;
|
|
3345
3415
|
export {};
|
|
3346
3416
|
|
|
3347
3417
|
}
|
|
3348
3418
|
declare module '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossCompareTable' {
|
|
3349
|
-
import React from 'react';
|
|
3350
3419
|
import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent';
|
|
3351
3420
|
interface ProfilAndLostCompareTableProps {
|
|
3352
3421
|
stringOverrides?: ProfitAndLossTableStringOverrides;
|
|
3353
3422
|
}
|
|
3354
|
-
export const ProfitAndLossCompareTable: ({ stringOverrides, }: ProfilAndLostCompareTableProps) =>
|
|
3423
|
+
export const ProfitAndLossCompareTable: ({ stringOverrides, }: ProfilAndLostCompareTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
3355
3424
|
export {};
|
|
3356
3425
|
|
|
3357
3426
|
}
|
|
3358
3427
|
declare module '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent' {
|
|
3359
|
-
import React from 'react';
|
|
3360
3428
|
export interface ProfitAndLossTableStringOverrides {
|
|
3361
3429
|
grossProfitLabel?: string;
|
|
3362
3430
|
profitBeforeTaxesLabel?: string;
|
|
@@ -3367,13 +3435,12 @@ declare module '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossT
|
|
|
3367
3435
|
asContainer?: boolean;
|
|
3368
3436
|
stringOverrides?: ProfitAndLossTableStringOverrides;
|
|
3369
3437
|
};
|
|
3370
|
-
export const ProfitAndLossTableComponent: ({ asContainer, stringOverrides, }: ProfitAndLossTableProps) =>
|
|
3438
|
+
export const ProfitAndLossTableComponent: ({ asContainer, stringOverrides, }: ProfitAndLossTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
3371
3439
|
|
|
3372
3440
|
}
|
|
3373
3441
|
declare module '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableWithProvider' {
|
|
3374
|
-
import React from 'react';
|
|
3375
3442
|
import { ProfitAndLossTableProps } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent';
|
|
3376
|
-
export const ProfitAndLossTableWithProvider: (props: ProfitAndLossTableProps) =>
|
|
3443
|
+
export const ProfitAndLossTableWithProvider: (props: ProfitAndLossTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
3377
3444
|
|
|
3378
3445
|
}
|
|
3379
3446
|
declare module '@layerfi/components/components/ProfitAndLossTable/empty_profit_and_loss_report' {
|
|
@@ -3388,7 +3455,7 @@ declare module '@layerfi/components/components/ProfitAndLossTable/index' {
|
|
|
3388
3455
|
|
|
3389
3456
|
}
|
|
3390
3457
|
declare module '@layerfi/components/components/ProfitAndLossView/ProfitAndLossView' {
|
|
3391
|
-
import
|
|
3458
|
+
import { RefObject } from 'react';
|
|
3392
3459
|
import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
3393
3460
|
import { ProfitAndLossSummariesStringOverrides } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
|
|
3394
3461
|
import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent';
|
|
@@ -3406,16 +3473,19 @@ declare module '@layerfi/components/components/ProfitAndLossView/ProfitAndLossVi
|
|
|
3406
3473
|
export interface ProfitAndLossViewPanelProps extends ProfitAndLossViewProps {
|
|
3407
3474
|
containerRef: RefObject<HTMLDivElement>;
|
|
3408
3475
|
}
|
|
3409
|
-
export const ProfitAndLossView: (props: ProfitAndLossViewProps) =>
|
|
3476
|
+
export const ProfitAndLossView: (props: ProfitAndLossViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
3410
3477
|
|
|
3411
3478
|
}
|
|
3412
3479
|
declare module '@layerfi/components/components/ProfitAndLossView/index' {
|
|
3413
3480
|
export { ProfitAndLossView } from '@layerfi/components/components/ProfitAndLossView/ProfitAndLossView';
|
|
3414
3481
|
|
|
3482
|
+
}
|
|
3483
|
+
declare module '@layerfi/components/components/ProjectProfitability/ProjectSelector' {
|
|
3484
|
+
export function ProjectSelector(): import("react/jsx-runtime").JSX.Element;
|
|
3485
|
+
|
|
3415
3486
|
}
|
|
3416
3487
|
declare module '@layerfi/components/components/Quickbooks/Quickbooks' {
|
|
3417
|
-
|
|
3418
|
-
const Quickbooks: () => React.JSX.Element;
|
|
3488
|
+
const Quickbooks: () => import("react/jsx-runtime").JSX.Element;
|
|
3419
3489
|
export { Quickbooks };
|
|
3420
3490
|
|
|
3421
3491
|
}
|
|
@@ -3423,14 +3493,61 @@ declare module '@layerfi/components/components/Quickbooks/index' {
|
|
|
3423
3493
|
export { Quickbooks } from '@layerfi/components/components/Quickbooks/Quickbooks';
|
|
3424
3494
|
|
|
3425
3495
|
}
|
|
3426
|
-
declare module '@layerfi/components/components/
|
|
3496
|
+
declare module '@layerfi/components/components/RadioButtonGroup/RadioButton' {
|
|
3427
3497
|
import React from 'react';
|
|
3498
|
+
type Props = {
|
|
3499
|
+
checked: boolean;
|
|
3500
|
+
label: string;
|
|
3501
|
+
name: string;
|
|
3502
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
3503
|
+
value: string;
|
|
3504
|
+
disabled?: boolean;
|
|
3505
|
+
size: 'small' | 'large';
|
|
3506
|
+
};
|
|
3507
|
+
export const RadioButton: ({ checked, label, name, onChange, value, disabled, size, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3508
|
+
export {};
|
|
3509
|
+
|
|
3510
|
+
}
|
|
3511
|
+
declare module '@layerfi/components/components/RadioButtonGroup/RadioButtonGroup' {
|
|
3512
|
+
import React from 'react';
|
|
3513
|
+
export type RadioButtonLabel = {
|
|
3514
|
+
label: string;
|
|
3515
|
+
value: string;
|
|
3516
|
+
disabled?: boolean;
|
|
3517
|
+
};
|
|
3518
|
+
type Props = {
|
|
3519
|
+
name: string;
|
|
3520
|
+
size?: 'small' | 'large';
|
|
3521
|
+
buttons: RadioButtonLabel[];
|
|
3522
|
+
selected?: RadioButtonLabel['value'];
|
|
3523
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
3524
|
+
};
|
|
3525
|
+
export const RadioButtonGroup: ({ name, size, buttons, onChange, selected, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3526
|
+
export {};
|
|
3527
|
+
|
|
3528
|
+
}
|
|
3529
|
+
declare module '@layerfi/components/components/RadioButtonGroup/index' {
|
|
3530
|
+
export { RadioButtonGroup } from '@layerfi/components/components/RadioButtonGroup/RadioButtonGroup';
|
|
3531
|
+
|
|
3532
|
+
}
|
|
3533
|
+
declare module '@layerfi/components/components/SkeletonBalanceSheetRow/SkeletonBalanceSheetRow' {
|
|
3534
|
+
import { PropsWithChildren } from 'react';
|
|
3535
|
+
type Props = PropsWithChildren;
|
|
3536
|
+
export const SkeletonBalanceSheetRow: ({ children }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3537
|
+
export {};
|
|
3538
|
+
|
|
3539
|
+
}
|
|
3540
|
+
declare module '@layerfi/components/components/SkeletonBalanceSheetRow/index' {
|
|
3541
|
+
export { SkeletonBalanceSheetRow } from '@layerfi/components/components/SkeletonBalanceSheetRow/SkeletonBalanceSheetRow';
|
|
3542
|
+
|
|
3543
|
+
}
|
|
3544
|
+
declare module '@layerfi/components/components/SkeletonLoader/SkeletonLoader' {
|
|
3428
3545
|
export interface SkeletonLoaderProps {
|
|
3429
3546
|
width?: string;
|
|
3430
3547
|
height?: string;
|
|
3431
3548
|
className?: string;
|
|
3432
3549
|
}
|
|
3433
|
-
export const SkeletonLoader: ({ height, width, className, }: SkeletonLoaderProps) =>
|
|
3550
|
+
export const SkeletonLoader: ({ height, width, className, }: SkeletonLoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3434
3551
|
|
|
3435
3552
|
}
|
|
3436
3553
|
declare module '@layerfi/components/components/SkeletonLoader/index' {
|
|
@@ -3450,7 +3567,7 @@ declare module '@layerfi/components/components/SkeletonTableLoader/SkeletonTable
|
|
|
3450
3567
|
height?: number;
|
|
3451
3568
|
width?: number;
|
|
3452
3569
|
}
|
|
3453
|
-
export const SkeletonTableLoader: ({ rows, cols, height, width, }: SkeletonTableLoaderProps) =>
|
|
3570
|
+
export const SkeletonTableLoader: ({ rows, cols, height, width, }: SkeletonTableLoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3454
3571
|
export {};
|
|
3455
3572
|
|
|
3456
3573
|
}
|
|
@@ -3459,7 +3576,6 @@ declare module '@layerfi/components/components/SkeletonTableLoader/index' {
|
|
|
3459
3576
|
|
|
3460
3577
|
}
|
|
3461
3578
|
declare module '@layerfi/components/components/StatementOfCashFlow/StatementOfCashFlow' {
|
|
3462
|
-
import React from 'react';
|
|
3463
3579
|
import type { TimeRangePickerConfig } from '@layerfi/components/views/Reports/reportTypes';
|
|
3464
3580
|
import { StatementOfCashFlowTableStringOverrides } from '@layerfi/components/components/StatementOfCashFlowTable/StatementOfCashFlowTable';
|
|
3465
3581
|
export interface StatementOfCashFlowStringOverrides {
|
|
@@ -3468,7 +3584,7 @@ declare module '@layerfi/components/components/StatementOfCashFlow/StatementOfCa
|
|
|
3468
3584
|
export type StatementOfCashFlowProps = {
|
|
3469
3585
|
stringOverrides?: StatementOfCashFlowStringOverrides;
|
|
3470
3586
|
} & TimeRangePickerConfig;
|
|
3471
|
-
export const StatementOfCashFlow: (props: StatementOfCashFlowProps) =>
|
|
3587
|
+
export const StatementOfCashFlow: (props: StatementOfCashFlowProps) => import("react/jsx-runtime").JSX.Element;
|
|
3472
3588
|
|
|
3473
3589
|
}
|
|
3474
3590
|
declare module '@layerfi/components/components/StatementOfCashFlow/constants' {
|
|
@@ -3481,15 +3597,21 @@ declare module '@layerfi/components/components/StatementOfCashFlow/constants' {
|
|
|
3481
3597
|
}[];
|
|
3482
3598
|
export const ADJUSTMENTS_ROW_NAME = "Adjustments to Net Income";
|
|
3483
3599
|
|
|
3600
|
+
}
|
|
3601
|
+
declare module '@layerfi/components/components/StatementOfCashFlow/datePicker/StatementOfCashFlowDatePicker' {
|
|
3602
|
+
import type { TimeRangePickerConfig } from '@layerfi/components/views/Reports/reportTypes';
|
|
3603
|
+
type StatementOfCashFlowDatePickerProps = Pick<TimeRangePickerConfig, 'allowedDatePickerModes' | 'customDateRanges' | 'defaultDatePickerMode'>;
|
|
3604
|
+
export function StatementOfCashFlowDatePicker({ allowedDatePickerModes, customDateRanges, defaultDatePickerMode, }: StatementOfCashFlowDatePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
3605
|
+
export {};
|
|
3606
|
+
|
|
3484
3607
|
}
|
|
3485
3608
|
declare module '@layerfi/components/components/StatementOfCashFlow/download/CashflowStatementDownloadButton' {
|
|
3486
|
-
import React from 'react';
|
|
3487
3609
|
type CashflowStatementDownloadButtonProps = {
|
|
3488
3610
|
startDate: Date;
|
|
3489
3611
|
endDate: Date;
|
|
3490
3612
|
iconOnly?: boolean;
|
|
3491
3613
|
};
|
|
3492
|
-
export function CashflowStatementDownloadButton({ startDate, endDate, iconOnly, }: CashflowStatementDownloadButtonProps):
|
|
3614
|
+
export function CashflowStatementDownloadButton({ startDate, endDate, iconOnly, }: CashflowStatementDownloadButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
3493
3615
|
export {};
|
|
3494
3616
|
|
|
3495
3617
|
}
|
|
@@ -3517,7 +3639,6 @@ declare module '@layerfi/components/components/StatementOfCashFlow/index' {
|
|
|
3517
3639
|
|
|
3518
3640
|
}
|
|
3519
3641
|
declare module '@layerfi/components/components/StatementOfCashFlowTable/StatementOfCashFlowTable' {
|
|
3520
|
-
import React from 'react';
|
|
3521
3642
|
import { StatementOfCashFlow } from '@layerfi/components/types';
|
|
3522
3643
|
type StatementOfCashFlowRowProps = {
|
|
3523
3644
|
name: string;
|
|
@@ -3534,7 +3655,7 @@ declare module '@layerfi/components/components/StatementOfCashFlowTable/Statemen
|
|
|
3534
3655
|
data: StatementOfCashFlow;
|
|
3535
3656
|
config: StatementOfCashFlowRowProps[];
|
|
3536
3657
|
stringOverrides?: StatementOfCashFlowTableStringOverrides;
|
|
3537
|
-
}) =>
|
|
3658
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3538
3659
|
export {};
|
|
3539
3660
|
|
|
3540
3661
|
}
|
|
@@ -3543,8 +3664,7 @@ declare module '@layerfi/components/components/StatementOfCashFlowTable/index' {
|
|
|
3543
3664
|
|
|
3544
3665
|
}
|
|
3545
3666
|
declare module '@layerfi/components/components/SyncingBadge/SyncingBadge' {
|
|
3546
|
-
|
|
3547
|
-
export const SyncingBadge: () => React.JSX.Element;
|
|
3667
|
+
export const SyncingBadge: () => import("react/jsx-runtime").JSX.Element;
|
|
3548
3668
|
|
|
3549
3669
|
}
|
|
3550
3670
|
declare module '@layerfi/components/components/SyncingBadge/index' {
|
|
@@ -3552,7 +3672,6 @@ declare module '@layerfi/components/components/SyncingBadge/index' {
|
|
|
3552
3672
|
|
|
3553
3673
|
}
|
|
3554
3674
|
declare module '@layerfi/components/components/SyncingComponent/SyncingComponent' {
|
|
3555
|
-
import React from 'react';
|
|
3556
3675
|
interface SyncingComponentProps {
|
|
3557
3676
|
title?: string;
|
|
3558
3677
|
message?: string;
|
|
@@ -3580,7 +3699,7 @@ declare module '@layerfi/components/components/SyncingComponent/SyncingComponent
|
|
|
3580
3699
|
* hideContent={false}
|
|
3581
3700
|
* />
|
|
3582
3701
|
*/
|
|
3583
|
-
export const SyncingComponent: ({ title, message, onRefresh, inProgress, timeSync, hideContent, }: SyncingComponentProps) =>
|
|
3702
|
+
export const SyncingComponent: ({ title, message, onRefresh, inProgress, timeSync, hideContent, }: SyncingComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3584
3703
|
export {};
|
|
3585
3704
|
|
|
3586
3705
|
}
|
|
@@ -3589,9 +3708,8 @@ declare module '@layerfi/components/components/SyncingComponent/index' {
|
|
|
3589
3708
|
|
|
3590
3709
|
}
|
|
3591
3710
|
declare module '@layerfi/components/components/Table/Table' {
|
|
3592
|
-
import React from 'react';
|
|
3593
3711
|
import { TableProps } from '@layerfi/components/types/table';
|
|
3594
|
-
export const Table: ({ componentName, children, borderCollapse, bottomSpacing, }: TableProps) =>
|
|
3712
|
+
export const Table: ({ componentName, children, borderCollapse, bottomSpacing, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
3595
3713
|
|
|
3596
3714
|
}
|
|
3597
3715
|
declare module '@layerfi/components/components/Table/index' {
|
|
@@ -3604,9 +3722,8 @@ declare module '@layerfi/components/components/Table/index' {
|
|
|
3604
3722
|
|
|
3605
3723
|
}
|
|
3606
3724
|
declare module '@layerfi/components/components/TableBody/TableBody' {
|
|
3607
|
-
import React from 'react';
|
|
3608
3725
|
import { TableBodyProps } from '@layerfi/components/types/table';
|
|
3609
|
-
export const TableBody: ({ children }: TableBodyProps) =>
|
|
3726
|
+
export const TableBody: ({ children }: TableBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
3610
3727
|
|
|
3611
3728
|
}
|
|
3612
3729
|
declare module '@layerfi/components/components/TableBody/index' {
|
|
@@ -3614,9 +3731,8 @@ declare module '@layerfi/components/components/TableBody/index' {
|
|
|
3614
3731
|
|
|
3615
3732
|
}
|
|
3616
3733
|
declare module '@layerfi/components/components/TableCell/TableCell' {
|
|
3617
|
-
import React from 'react';
|
|
3618
3734
|
import { TableCellProps } from '@layerfi/components/types/table';
|
|
3619
|
-
export const TableCell: ({ children, className, isHeaderCell, isCurrency, align, primary, withExpandIcon, fullWidth, colSpan, onClick, style, width, }: TableCellProps) =>
|
|
3735
|
+
export const TableCell: ({ children, className, isHeaderCell, isCurrency, align, primary, withExpandIcon, fullWidth, colSpan, onClick, style, width, }: TableCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
3620
3736
|
|
|
3621
3737
|
}
|
|
3622
3738
|
declare module '@layerfi/components/components/TableCell/index' {
|
|
@@ -3624,9 +3740,8 @@ declare module '@layerfi/components/components/TableCell/index' {
|
|
|
3624
3740
|
|
|
3625
3741
|
}
|
|
3626
3742
|
declare module '@layerfi/components/components/TableHead/TableHead' {
|
|
3627
|
-
import React from 'react';
|
|
3628
3743
|
import { TableHeadProps } from '@layerfi/components/types/table';
|
|
3629
|
-
export const TableHead: ({ children }: TableHeadProps) =>
|
|
3744
|
+
export const TableHead: ({ children }: TableHeadProps) => import("react/jsx-runtime").JSX.Element;
|
|
3630
3745
|
|
|
3631
3746
|
}
|
|
3632
3747
|
declare module '@layerfi/components/components/TableHead/index' {
|
|
@@ -3642,6 +3757,46 @@ declare module '@layerfi/components/components/TableRow/TableRow' {
|
|
|
3642
3757
|
declare module '@layerfi/components/components/TableRow/index' {
|
|
3643
3758
|
export { TableRow } from '@layerfi/components/components/TableRow/TableRow';
|
|
3644
3759
|
|
|
3760
|
+
}
|
|
3761
|
+
declare module '@layerfi/components/components/Tabs/Tab' {
|
|
3762
|
+
import { ChangeEvent, ReactNode } from 'react';
|
|
3763
|
+
interface TabProps {
|
|
3764
|
+
checked: boolean;
|
|
3765
|
+
label: string;
|
|
3766
|
+
name: string;
|
|
3767
|
+
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
3768
|
+
value: string;
|
|
3769
|
+
disabled?: boolean;
|
|
3770
|
+
disabledMessage?: string;
|
|
3771
|
+
leftIcon?: ReactNode;
|
|
3772
|
+
index: number;
|
|
3773
|
+
}
|
|
3774
|
+
export const Tab: ({ checked, label, name, onChange, value, leftIcon, disabled, disabledMessage, index, }: TabProps) => import("react/jsx-runtime").JSX.Element;
|
|
3775
|
+
export {};
|
|
3776
|
+
|
|
3777
|
+
}
|
|
3778
|
+
declare module '@layerfi/components/components/Tabs/Tabs' {
|
|
3779
|
+
import { ChangeEvent, ReactNode } from 'react';
|
|
3780
|
+
interface Option {
|
|
3781
|
+
label: string;
|
|
3782
|
+
value: string;
|
|
3783
|
+
disabled?: boolean;
|
|
3784
|
+
disabledMessage?: string;
|
|
3785
|
+
leftIcon?: ReactNode;
|
|
3786
|
+
}
|
|
3787
|
+
interface TabsProps {
|
|
3788
|
+
name: string;
|
|
3789
|
+
options: Option[];
|
|
3790
|
+
selected?: Option['value'];
|
|
3791
|
+
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
3792
|
+
}
|
|
3793
|
+
export const Tabs: ({ name, options, selected, onChange }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
3794
|
+
export {};
|
|
3795
|
+
|
|
3796
|
+
}
|
|
3797
|
+
declare module '@layerfi/components/components/Tabs/index' {
|
|
3798
|
+
export { Tabs } from '@layerfi/components/components/Tabs/Tabs';
|
|
3799
|
+
|
|
3645
3800
|
}
|
|
3646
3801
|
declare module '@layerfi/components/components/Tasks/Tasks' {
|
|
3647
3802
|
import React, { ReactNode } from 'react';
|
|
@@ -3702,17 +3857,17 @@ declare module '@layerfi/components/components/Tasks/Tasks' {
|
|
|
3702
3857
|
defaultCollapsed?: boolean;
|
|
3703
3858
|
collapsedWhenComplete?: boolean;
|
|
3704
3859
|
stringOverrides?: TasksStringOverrides;
|
|
3705
|
-
}) =>
|
|
3860
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3706
3861
|
export const TasksProvider: ({ children }: {
|
|
3707
3862
|
children: ReactNode;
|
|
3708
|
-
}) =>
|
|
3863
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3709
3864
|
export const TasksComponent: ({ collapsable, defaultCollapsed, collapsedWhenComplete, tasksHeader, stringOverrides, }: {
|
|
3710
3865
|
tasksHeader?: string;
|
|
3711
3866
|
collapsable?: boolean;
|
|
3712
3867
|
defaultCollapsed?: boolean;
|
|
3713
3868
|
collapsedWhenComplete?: boolean;
|
|
3714
3869
|
stringOverrides?: TasksStringOverrides;
|
|
3715
|
-
}) =>
|
|
3870
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3716
3871
|
|
|
3717
3872
|
}
|
|
3718
3873
|
declare module '@layerfi/components/components/Tasks/index' {
|
|
@@ -3720,13 +3875,12 @@ declare module '@layerfi/components/components/Tasks/index' {
|
|
|
3720
3875
|
|
|
3721
3876
|
}
|
|
3722
3877
|
declare module '@layerfi/components/components/TasksHeader/TasksHeader' {
|
|
3723
|
-
import React from 'react';
|
|
3724
3878
|
export const TasksHeader: ({ tasksHeader, collapsable, open, toggleContent, }: {
|
|
3725
3879
|
tasksHeader?: string;
|
|
3726
3880
|
collapsable?: boolean;
|
|
3727
3881
|
open?: boolean;
|
|
3728
3882
|
toggleContent: () => void;
|
|
3729
|
-
}) =>
|
|
3883
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3730
3884
|
|
|
3731
3885
|
}
|
|
3732
3886
|
declare module '@layerfi/components/components/TasksHeader/index' {
|
|
@@ -3734,10 +3888,9 @@ declare module '@layerfi/components/components/TasksHeader/index' {
|
|
|
3734
3888
|
|
|
3735
3889
|
}
|
|
3736
3890
|
declare module '@layerfi/components/components/TasksList/TasksList' {
|
|
3737
|
-
import React from 'react';
|
|
3738
3891
|
export const TasksList: ({ pageSize }: {
|
|
3739
3892
|
pageSize?: number;
|
|
3740
|
-
}) =>
|
|
3893
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3741
3894
|
|
|
3742
3895
|
}
|
|
3743
3896
|
declare module '@layerfi/components/components/TasksList/index' {
|
|
@@ -3745,13 +3898,12 @@ declare module '@layerfi/components/components/TasksList/index' {
|
|
|
3745
3898
|
|
|
3746
3899
|
}
|
|
3747
3900
|
declare module '@layerfi/components/components/TasksListItem/TasksListItem' {
|
|
3748
|
-
import React from 'react';
|
|
3749
3901
|
import { Task } from '@layerfi/components/types/tasks';
|
|
3750
3902
|
export const TasksListItem: ({ task, goToNextPageIfAllComplete, defaultOpen, }: {
|
|
3751
3903
|
task: Task;
|
|
3752
3904
|
goToNextPageIfAllComplete: (task: Task) => void;
|
|
3753
3905
|
defaultOpen: boolean;
|
|
3754
|
-
}) =>
|
|
3906
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3755
3907
|
|
|
3756
3908
|
}
|
|
3757
3909
|
declare module '@layerfi/components/components/TasksListItem/index' {
|
|
@@ -3759,16 +3911,14 @@ declare module '@layerfi/components/components/TasksListItem/index' {
|
|
|
3759
3911
|
|
|
3760
3912
|
}
|
|
3761
3913
|
declare module '@layerfi/components/components/TasksMonthSelector/TaskMonthTile' {
|
|
3762
|
-
import React from 'react';
|
|
3763
3914
|
import { TaskMonthTileProps } from '@layerfi/components/components/TasksMonthSelector/types';
|
|
3764
|
-
const TaskMonthTile: ({ monthData, onClick, active, disabled }: TaskMonthTileProps) =>
|
|
3915
|
+
const TaskMonthTile: ({ monthData, onClick, active, disabled }: TaskMonthTileProps) => import("react/jsx-runtime").JSX.Element;
|
|
3765
3916
|
export { TaskMonthTile };
|
|
3766
3917
|
|
|
3767
3918
|
}
|
|
3768
3919
|
declare module '@layerfi/components/components/TasksMonthSelector/TasksMonthSelector' {
|
|
3769
|
-
import React from 'react';
|
|
3770
3920
|
import { TasksMonthSelectorProps } from '@layerfi/components/components/TasksMonthSelector/types';
|
|
3771
|
-
const TasksMonthSelector: ({ tasks, year, currentDate, onClick }: TasksMonthSelectorProps) =>
|
|
3921
|
+
const TasksMonthSelector: ({ tasks, year, currentDate, onClick }: TasksMonthSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
3772
3922
|
export { TasksMonthSelector };
|
|
3773
3923
|
|
|
3774
3924
|
}
|
|
@@ -3800,8 +3950,7 @@ declare module '@layerfi/components/components/TasksMonthSelector/types' {
|
|
|
3800
3950
|
|
|
3801
3951
|
}
|
|
3802
3952
|
declare module '@layerfi/components/components/TasksPending/TasksPending' {
|
|
3803
|
-
|
|
3804
|
-
export const TasksPending: () => React.JSX.Element;
|
|
3953
|
+
export const TasksPending: () => import("react/jsx-runtime").JSX.Element;
|
|
3805
3954
|
|
|
3806
3955
|
}
|
|
3807
3956
|
declare module '@layerfi/components/components/TasksPending/index' {
|
|
@@ -3809,12 +3958,12 @@ declare module '@layerfi/components/components/TasksPending/index' {
|
|
|
3809
3958
|
|
|
3810
3959
|
}
|
|
3811
3960
|
declare module '@layerfi/components/components/Textarea/Textarea' {
|
|
3812
|
-
import
|
|
3961
|
+
import { HTMLProps } from 'react';
|
|
3813
3962
|
export interface TextareaProps extends HTMLProps<HTMLTextAreaElement> {
|
|
3814
3963
|
isInvalid?: boolean;
|
|
3815
3964
|
errorMessage?: string;
|
|
3816
3965
|
}
|
|
3817
|
-
export const Textarea: ({ className, isInvalid, errorMessage, ...props }: TextareaProps) =>
|
|
3966
|
+
export const Textarea: ({ className, isInvalid, errorMessage, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
3818
3967
|
|
|
3819
3968
|
}
|
|
3820
3969
|
declare module '@layerfi/components/components/Textarea/index' {
|
|
@@ -3822,18 +3971,21 @@ declare module '@layerfi/components/components/Textarea/index' {
|
|
|
3822
3971
|
|
|
3823
3972
|
}
|
|
3824
3973
|
declare module '@layerfi/components/components/Toast/Toast' {
|
|
3825
|
-
import React from 'react';
|
|
3826
3974
|
export interface ToastProps {
|
|
3827
3975
|
id?: string;
|
|
3828
3976
|
content: string;
|
|
3829
3977
|
duration?: number;
|
|
3830
3978
|
isExiting?: boolean;
|
|
3831
3979
|
}
|
|
3832
|
-
export function ToastsContainer():
|
|
3980
|
+
export function ToastsContainer(): import("react/jsx-runtime").JSX.Element;
|
|
3981
|
+
|
|
3982
|
+
}
|
|
3983
|
+
declare module '@layerfi/components/components/Toast/index' {
|
|
3984
|
+
export { ToastsContainer } from '@layerfi/components/components/Toast/Toast';
|
|
3833
3985
|
|
|
3834
3986
|
}
|
|
3835
3987
|
declare module '@layerfi/components/components/Toggle/Toggle' {
|
|
3836
|
-
import
|
|
3988
|
+
import { CSSProperties, ChangeEvent, ReactNode } from 'react';
|
|
3837
3989
|
export interface Option {
|
|
3838
3990
|
label: string;
|
|
3839
3991
|
value: string;
|
|
@@ -3854,7 +4006,7 @@ declare module '@layerfi/components/components/Toggle/Toggle' {
|
|
|
3854
4006
|
selected?: Option['value'];
|
|
3855
4007
|
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
3856
4008
|
}
|
|
3857
|
-
export const Toggle: ({ name, options, selected, onChange, size, }: ToggleProps) =>
|
|
4009
|
+
export const Toggle: ({ name, options, selected, onChange, size, }: ToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
3858
4010
|
|
|
3859
4011
|
}
|
|
3860
4012
|
declare module '@layerfi/components/components/Toggle/index' {
|
|
@@ -3877,7 +4029,7 @@ declare module '@layerfi/components/components/Tooltip/Tooltip' {
|
|
|
3877
4029
|
}
|
|
3878
4030
|
export const Tooltip: ({ children, ...options }: {
|
|
3879
4031
|
children: ReactNode;
|
|
3880
|
-
} & TooltipOptions) =>
|
|
4032
|
+
} & TooltipOptions) => import("react/jsx-runtime").JSX.Element;
|
|
3881
4033
|
export const TooltipTrigger: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLElement> & {
|
|
3882
4034
|
asChild?: boolean;
|
|
3883
4035
|
}, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
@@ -3997,10 +4149,9 @@ declare module '@layerfi/components/components/Tooltip/useTooltip' {
|
|
|
3997
4149
|
|
|
3998
4150
|
}
|
|
3999
4151
|
declare module '@layerfi/components/components/Typography/ErrorText' {
|
|
4000
|
-
import React from 'react';
|
|
4001
4152
|
import { TextProps } from '@layerfi/components/components/Typography/Text';
|
|
4002
4153
|
export type ErrorTextProps = TextProps;
|
|
4003
|
-
export const ErrorText: ({ className, ...props }: ErrorTextProps) =>
|
|
4154
|
+
export const ErrorText: ({ className, ...props }: ErrorTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
4004
4155
|
|
|
4005
4156
|
}
|
|
4006
4157
|
declare module '@layerfi/components/components/Typography/Heading' {
|
|
@@ -4017,7 +4168,7 @@ declare module '@layerfi/components/components/Typography/Heading' {
|
|
|
4017
4168
|
children: ReactNode;
|
|
4018
4169
|
size?: HeadingSize;
|
|
4019
4170
|
}
|
|
4020
|
-
export const Heading: ({ as: Component, className, children, size, }: HeadingProps) =>
|
|
4171
|
+
export const Heading: ({ as: Component, className, children, size, }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
4021
4172
|
|
|
4022
4173
|
}
|
|
4023
4174
|
declare module '@layerfi/components/components/Typography/Text' {
|
|
@@ -4052,8 +4203,8 @@ declare module '@layerfi/components/components/Typography/Text' {
|
|
|
4052
4203
|
withTooltip?: TextUseTooltip;
|
|
4053
4204
|
tooltipOptions?: TextTooltipOptions;
|
|
4054
4205
|
}
|
|
4055
|
-
export const Text: ({ as: Component, className, children, size, weight, withTooltip, ...props }: TextProps) =>
|
|
4056
|
-
export const TextWithTooltip: ({ as: Component, className, children, size: _size, weight: _weight, withTooltip: _withTooltip, tooltipOptions, ...props }: TextProps) =>
|
|
4206
|
+
export const Text: ({ as: Component, className, children, size, weight, withTooltip, ...props }: TextProps) => import("react/jsx-runtime").JSX.Element;
|
|
4207
|
+
export const TextWithTooltip: ({ as: Component, className, children, size: _size, weight: _weight, withTooltip: _withTooltip, tooltipOptions, ...props }: TextProps) => import("react/jsx-runtime").JSX.Element;
|
|
4057
4208
|
|
|
4058
4209
|
}
|
|
4059
4210
|
declare module '@layerfi/components/components/Typography/index' {
|
|
@@ -4063,12 +4214,11 @@ declare module '@layerfi/components/components/Typography/index' {
|
|
|
4063
4214
|
|
|
4064
4215
|
}
|
|
4065
4216
|
declare module '@layerfi/components/components/UpsellBanner/BookkeepingUpsellBar' {
|
|
4066
|
-
import React from 'react';
|
|
4067
4217
|
interface BookkeepingUpsellBarProps {
|
|
4068
4218
|
onClick?: () => void;
|
|
4069
4219
|
href?: string;
|
|
4070
4220
|
}
|
|
4071
|
-
export const BookkeepingUpsellBar: ({ onClick, href, }: BookkeepingUpsellBarProps) =>
|
|
4221
|
+
export const BookkeepingUpsellBar: ({ onClick, href, }: BookkeepingUpsellBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
4072
4222
|
export {};
|
|
4073
4223
|
|
|
4074
4224
|
}
|
|
@@ -4098,13 +4248,13 @@ declare module '@layerfi/components/components/View/index' {
|
|
|
4098
4248
|
|
|
4099
4249
|
}
|
|
4100
4250
|
declare module '@layerfi/components/components/ViewHeader/ViewHeader' {
|
|
4101
|
-
import
|
|
4251
|
+
import { ReactNode } from 'react';
|
|
4102
4252
|
export interface ViewHeaderProps {
|
|
4103
4253
|
title?: string;
|
|
4104
4254
|
className?: string;
|
|
4105
4255
|
children?: ReactNode;
|
|
4106
4256
|
}
|
|
4107
|
-
export const ViewHeader: ({ title, className, children }: ViewHeaderProps) =>
|
|
4257
|
+
export const ViewHeader: ({ title, className, children }: ViewHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4108
4258
|
|
|
4109
4259
|
}
|
|
4110
4260
|
declare module '@layerfi/components/components/ViewHeader/index' {
|
|
@@ -4125,28 +4275,33 @@ declare module '@layerfi/components/components/ui/Button/Button' {
|
|
|
4125
4275
|
|
|
4126
4276
|
}
|
|
4127
4277
|
declare module '@layerfi/components/components/ui/Checkbox/Checkbox' {
|
|
4128
|
-
import React from 'react';
|
|
4129
4278
|
import { type CheckboxProps as AriaCheckboxProps } from 'react-aria-components';
|
|
4130
4279
|
type CheckboxProps = Omit<AriaCheckboxProps, 'className'>;
|
|
4131
|
-
export function Checkbox({ children, ...props }: CheckboxProps):
|
|
4280
|
+
export function Checkbox({ children, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
4132
4281
|
export {};
|
|
4133
4282
|
|
|
4134
4283
|
}
|
|
4135
4284
|
declare module '@layerfi/components/components/ui/Loading/LoadingSpinner' {
|
|
4136
|
-
import React from 'react';
|
|
4137
4285
|
import { type LucideProps } from 'lucide-react';
|
|
4138
|
-
export function LoadingSpinner({ size }: Pick<LucideProps, 'size'>):
|
|
4286
|
+
export function LoadingSpinner({ size }: Pick<LucideProps, 'size'>): import("react/jsx-runtime").JSX.Element;
|
|
4139
4287
|
|
|
4140
4288
|
}
|
|
4141
4289
|
declare module '@layerfi/components/components/ui/Modal/Modal' {
|
|
4142
4290
|
import React, { type ComponentProps } from 'react';
|
|
4143
4291
|
import { type DialogProps, type ModalOverlayProps } from 'react-aria-components';
|
|
4292
|
+
type ModalSize = 'md' | 'lg';
|
|
4144
4293
|
const ModalOverlay: React.ForwardRefExoticComponent<Omit<ModalOverlayProps, "className"> & React.RefAttributes<HTMLDivElement>>;
|
|
4294
|
+
const InternalModal: React.ForwardRefExoticComponent<{
|
|
4295
|
+
size?: ModalSize;
|
|
4296
|
+
} & {
|
|
4297
|
+
children?: React.ReactNode | undefined;
|
|
4298
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
4145
4299
|
const Dialog: React.ForwardRefExoticComponent<Omit<DialogProps, "className"> & React.RefAttributes<HTMLElement>>;
|
|
4146
|
-
type
|
|
4300
|
+
type AllowedModalOverlayProps = Pick<ComponentProps<typeof ModalOverlay>, 'isOpen' | 'onOpenChange'>;
|
|
4301
|
+
type AllowedInternalModalProps = Pick<ComponentProps<typeof InternalModal>, 'size'>;
|
|
4147
4302
|
type AllowedDialogProps = Pick<ComponentProps<typeof Dialog>, 'children'>;
|
|
4148
|
-
type ModalProps =
|
|
4149
|
-
export function Modal({ isOpen, onOpenChange, children }: ModalProps):
|
|
4303
|
+
type ModalProps = AllowedModalOverlayProps & AllowedInternalModalProps & AllowedDialogProps;
|
|
4304
|
+
export function Modal({ isOpen, size, onOpenChange, children, }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
4150
4305
|
export {};
|
|
4151
4306
|
|
|
4152
4307
|
}
|
|
@@ -4155,7 +4310,7 @@ declare module '@layerfi/components/components/ui/Modal/ModalSlots' {
|
|
|
4155
4310
|
type ModalContextBarProps = {
|
|
4156
4311
|
onClose?: () => void;
|
|
4157
4312
|
};
|
|
4158
|
-
function ModalContextBar({ onClose }: ModalContextBarProps):
|
|
4313
|
+
function ModalContextBar({ onClose }: ModalContextBarProps): import("react/jsx-runtime").JSX.Element;
|
|
4159
4314
|
const ModalHeading: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("react-aria-components").HeadingProps & React.RefAttributes<HTMLHeadingElement>, "className"> & {
|
|
4160
4315
|
size?: "sm";
|
|
4161
4316
|
pbe?: "2xs" | "xs" | "sm" | "md" | "lg";
|
|
@@ -4168,21 +4323,21 @@ declare module '@layerfi/components/components/ui/Modal/ModalSlots' {
|
|
|
4168
4323
|
} & {
|
|
4169
4324
|
children?: React.ReactNode | undefined;
|
|
4170
4325
|
} & React.RefAttributes<HTMLParagraphElement>, "slot">, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
4171
|
-
function ModalContent({ children }: PropsWithChildren):
|
|
4172
|
-
function ModalActions({ children }: PropsWithChildren):
|
|
4326
|
+
function ModalContent({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
4327
|
+
function ModalActions({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
4173
4328
|
export { ModalContextBar, ModalHeading, ModalDescription, ModalContent, ModalActions, };
|
|
4174
4329
|
|
|
4175
4330
|
}
|
|
4176
4331
|
declare module '@layerfi/components/components/ui/Stack/Stack' {
|
|
4177
|
-
import
|
|
4332
|
+
import { type PropsWithChildren } from 'react';
|
|
4178
4333
|
export type StackProps = PropsWithChildren<{
|
|
4179
4334
|
gap?: '3xs' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '5xl';
|
|
4180
4335
|
align?: 'start' | 'center';
|
|
4181
4336
|
justify?: 'center';
|
|
4182
4337
|
slot?: string;
|
|
4183
4338
|
}>;
|
|
4184
|
-
export function VStack(props: StackProps):
|
|
4185
|
-
export function HStack(props: StackProps):
|
|
4339
|
+
export function VStack(props: StackProps): import("react/jsx-runtime").JSX.Element;
|
|
4340
|
+
export function HStack(props: StackProps): import("react/jsx-runtime").JSX.Element;
|
|
4186
4341
|
|
|
4187
4342
|
}
|
|
4188
4343
|
declare module '@layerfi/components/components/ui/Typography/Heading' {
|
|
@@ -4225,7 +4380,7 @@ declare module '@layerfi/components/components/utility/ConditionalList' {
|
|
|
4225
4380
|
isLoading?: never;
|
|
4226
4381
|
Loading?: never;
|
|
4227
4382
|
});
|
|
4228
|
-
export function ConditionalList<T>({ list, isLoading, Empty, Container, Loading, children }: ConditionalListProps<T>): string | number | boolean | Iterable<React.ReactNode> |
|
|
4383
|
+
export function ConditionalList<T>({ list, isLoading, Empty, Container, Loading, children, }: ConditionalListProps<T>): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
4229
4384
|
export {};
|
|
4230
4385
|
|
|
4231
4386
|
}
|
|
@@ -4537,6 +4692,8 @@ declare module '@layerfi/components/contexts/LinkedAccountsContext/LinkedAccount
|
|
|
4537
4692
|
unlinkAccount: (source: import("@layerfi/components/types/linked_accounts").AccountSource, accountId: string) => void;
|
|
4538
4693
|
confirmAccount: (source: import("@layerfi/components/types/linked_accounts").AccountSource, accountId: string) => void;
|
|
4539
4694
|
excludeAccount: (source: import("@layerfi/components/types/linked_accounts").AccountSource, accountId: string) => void;
|
|
4695
|
+
accountsToAddOpeningBalanceInModal: import("@layerfi/components/types/linked_accounts").LinkedAccount[];
|
|
4696
|
+
setAccountsToAddOpeningBalanceInModal: (accounts: import("@layerfi/components/types/linked_accounts").LinkedAccount[]) => void;
|
|
4540
4697
|
breakConnection: (source: import("@layerfi/components/types/linked_accounts").AccountSource, connectionExternalId: string) => void;
|
|
4541
4698
|
}>;
|
|
4542
4699
|
|
|
@@ -4553,11 +4710,11 @@ declare module '@layerfi/components/contexts/ProfitAndLossComparisonContext/Prof
|
|
|
4553
4710
|
isValidating: boolean;
|
|
4554
4711
|
error: unknown;
|
|
4555
4712
|
compareMode: boolean;
|
|
4556
|
-
setCompareMode: (
|
|
4713
|
+
setCompareMode: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
4557
4714
|
compareMonths: number;
|
|
4558
|
-
setCompareMonths: (
|
|
4715
|
+
setCompareMonths: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
4559
4716
|
compareOptions: import("@layerfi/components/components/ProfitAndLossCompareOptions/ProfitAndLossCompareOptions").TagComparisonOption[];
|
|
4560
|
-
setCompareOptions: (
|
|
4717
|
+
setCompareOptions: import("react").Dispatch<import("react").SetStateAction<import("../../components/ProfitAndLossCompareOptions/ProfitAndLossCompareOptions").TagComparisonOption[]>>;
|
|
4561
4718
|
refetch: (dateRange: import("@layerfi/components/types").DateRange, actAsInitial?: boolean) => void;
|
|
4562
4719
|
getProfitAndLossComparisonCsv: (dateRange: import("@layerfi/components/types").DateRange, moneyFormat?: import("../../types").MoneyFormat) => Promise<{
|
|
4563
4720
|
data?: S3PresignedUrl;
|
|
@@ -4658,6 +4815,8 @@ declare module '@layerfi/components/hooks/useAuth' {
|
|
|
4658
4815
|
expires_in: number;
|
|
4659
4816
|
apiUrl: "https://api.layerfi.com" | "https://sandbox.layerfi.com" | "https://staging.layerfi.com";
|
|
4660
4817
|
}, any, {
|
|
4818
|
+
revalidateOnFocus: true;
|
|
4819
|
+
revalidateOnReconnect: true;
|
|
4661
4820
|
refreshInterval: (latestData: {
|
|
4662
4821
|
access_token: string;
|
|
4663
4822
|
token_type: string;
|
|
@@ -4980,6 +5139,8 @@ declare module '@layerfi/components/hooks/useLinkedAccounts/useLinkedAccounts' {
|
|
|
4980
5139
|
unlinkAccount: (source: AccountSource, accountId: string) => void;
|
|
4981
5140
|
confirmAccount: (source: AccountSource, accountId: string) => void;
|
|
4982
5141
|
excludeAccount: (source: AccountSource, accountId: string) => void;
|
|
5142
|
+
accountsToAddOpeningBalanceInModal: LinkedAccount[];
|
|
5143
|
+
setAccountsToAddOpeningBalanceInModal: (accounts: LinkedAccount[]) => void;
|
|
4983
5144
|
breakConnection: (source: AccountSource, connectionExternalId: string) => void;
|
|
4984
5145
|
};
|
|
4985
5146
|
export const useLinkedAccounts: UseLinkedAccounts;
|
|
@@ -5007,17 +5168,14 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/index' {
|
|
|
5007
5168
|
|
|
5008
5169
|
}
|
|
5009
5170
|
declare module '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss' {
|
|
5010
|
-
import {
|
|
5011
|
-
import { LineBaseItem } from '@layerfi/components/types/line_item';
|
|
5171
|
+
import { ReportingBasis, SortDirection, type DateRange } from '@layerfi/components/types';
|
|
5012
5172
|
export type Scope = 'expenses' | 'revenue';
|
|
5013
5173
|
export type SidebarScope = Scope | undefined;
|
|
5014
5174
|
export type PnlTagFilter = {
|
|
5015
5175
|
key: string;
|
|
5016
5176
|
values: string[];
|
|
5017
5177
|
};
|
|
5018
|
-
type
|
|
5019
|
-
startDate?: Date;
|
|
5020
|
-
endDate?: Date;
|
|
5178
|
+
type UseProfitAndLossOptions = {
|
|
5021
5179
|
tagFilter?: PnlTagFilter;
|
|
5022
5180
|
reportingBasis?: ReportingBasis;
|
|
5023
5181
|
};
|
|
@@ -5027,26 +5185,28 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss' {
|
|
|
5027
5185
|
types?: string[];
|
|
5028
5186
|
};
|
|
5029
5187
|
export type ProfitAndLossFilters = Record<Scope, ProfitAndLossFilter | undefined>;
|
|
5030
|
-
|
|
5031
|
-
data: ProfitAndLoss | undefined;
|
|
5032
|
-
filteredDataRevenue: LineBaseItem[];
|
|
5033
|
-
filteredTotalRevenue
|
|
5034
|
-
filteredDataExpenses: LineBaseItem[];
|
|
5035
|
-
filteredTotalExpenses
|
|
5188
|
+
export const useProfitAndLoss: ({ tagFilter, reportingBasis, }: UseProfitAndLossOptions) => {
|
|
5189
|
+
data: import("@layerfi/components/types").ProfitAndLoss | undefined;
|
|
5190
|
+
filteredDataRevenue: never[] | import("@layerfi/components/types/line_item").LineBaseItem[];
|
|
5191
|
+
filteredTotalRevenue: number | undefined;
|
|
5192
|
+
filteredDataExpenses: never[] | import("@layerfi/components/types/line_item").LineBaseItem[];
|
|
5193
|
+
filteredTotalExpenses: number | undefined;
|
|
5036
5194
|
isLoading: boolean;
|
|
5037
5195
|
isValidating: boolean;
|
|
5038
5196
|
error: unknown;
|
|
5039
|
-
dateRange:
|
|
5040
|
-
|
|
5197
|
+
dateRange: {
|
|
5198
|
+
startDate: Date;
|
|
5199
|
+
endDate: Date;
|
|
5200
|
+
};
|
|
5201
|
+
changeDateRange: ({ startDate: start, endDate: end }: DateRange) => void;
|
|
5041
5202
|
refetch: () => void;
|
|
5042
5203
|
sidebarScope: SidebarScope;
|
|
5043
|
-
setSidebarScope: (
|
|
5044
|
-
filters: ProfitAndLossFilters;
|
|
5204
|
+
setSidebarScope: import("react").Dispatch<import("react").SetStateAction<SidebarScope>>;
|
|
5045
5205
|
sortBy: (scope: Scope, field: string, direction?: SortDirection) => void;
|
|
5206
|
+
filters: ProfitAndLossFilters;
|
|
5046
5207
|
setFilterTypes: (scope: Scope, types: string[]) => void;
|
|
5047
|
-
tagFilter
|
|
5208
|
+
tagFilter: PnlTagFilter | undefined;
|
|
5048
5209
|
};
|
|
5049
|
-
export const useProfitAndLoss: UseProfitAndLoss;
|
|
5050
5210
|
export {};
|
|
5051
5211
|
|
|
5052
5212
|
}
|
|
@@ -5112,31 +5272,59 @@ declare module '@layerfi/components/hooks/useProfitAndLossComparison/index' {
|
|
|
5112
5272
|
declare module '@layerfi/components/hooks/useProfitAndLossComparison/useProfitAndLossComparison' {
|
|
5113
5273
|
import { TagComparisonOption } from '@layerfi/components/components/ProfitAndLossCompareOptions/ProfitAndLossCompareOptions';
|
|
5114
5274
|
import { DateRange, MoneyFormat, ReportingBasis } from '@layerfi/components/types';
|
|
5115
|
-
import { S3PresignedUrl } from '@layerfi/components/types/general';
|
|
5116
|
-
import { ProfitAndLossComparisonItem } from '@layerfi/components/types/profit_and_loss';
|
|
5117
5275
|
export type Scope = 'expenses' | 'revenue';
|
|
5118
5276
|
export type SidebarScope = Scope | undefined;
|
|
5119
5277
|
type Props = {
|
|
5120
5278
|
reportingBasis?: ReportingBasis;
|
|
5121
5279
|
};
|
|
5122
|
-
|
|
5123
|
-
data: ProfitAndLossComparisonItem[] | undefined;
|
|
5280
|
+
export function useProfitAndLossComparison({ reportingBasis, }: Props): {
|
|
5281
|
+
data: import("@layerfi/components/types/profit_and_loss").ProfitAndLossComparisonItem[] | undefined;
|
|
5124
5282
|
isLoading: boolean;
|
|
5125
5283
|
isValidating: boolean;
|
|
5126
5284
|
error: unknown;
|
|
5127
5285
|
compareMode: boolean;
|
|
5128
|
-
setCompareMode: (
|
|
5286
|
+
setCompareMode: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
5129
5287
|
compareMonths: number;
|
|
5130
|
-
setCompareMonths: (
|
|
5288
|
+
setCompareMonths: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
5131
5289
|
compareOptions: TagComparisonOption[];
|
|
5132
|
-
setCompareOptions: (
|
|
5290
|
+
setCompareOptions: import("react").Dispatch<import("react").SetStateAction<TagComparisonOption[]>>;
|
|
5133
5291
|
refetch: (dateRange: DateRange, actAsInitial?: boolean) => void;
|
|
5134
5292
|
getProfitAndLossComparisonCsv: (dateRange: DateRange, moneyFormat?: MoneyFormat) => Promise<{
|
|
5135
|
-
data?: S3PresignedUrl;
|
|
5293
|
+
data?: import("@layerfi/components/types/general").S3PresignedUrl;
|
|
5136
5294
|
error?: unknown;
|
|
5137
5295
|
}>;
|
|
5138
5296
|
};
|
|
5139
|
-
export
|
|
5297
|
+
export {};
|
|
5298
|
+
|
|
5299
|
+
}
|
|
5300
|
+
declare module '@layerfi/components/hooks/useProjects' {
|
|
5301
|
+
type TagKey = string;
|
|
5302
|
+
type TagOptionValue = string;
|
|
5303
|
+
type TagCategoryOption = {
|
|
5304
|
+
label: string;
|
|
5305
|
+
value: TagOptionValue;
|
|
5306
|
+
};
|
|
5307
|
+
export function useTags(): {
|
|
5308
|
+
readonly hasActiveTag: false;
|
|
5309
|
+
readonly tagLabel: undefined;
|
|
5310
|
+
readonly tagKey: undefined;
|
|
5311
|
+
readonly activeValue: undefined;
|
|
5312
|
+
readonly valueOptions: undefined;
|
|
5313
|
+
readonly setActiveValue: ({ key, activeValue }: {
|
|
5314
|
+
key: TagKey;
|
|
5315
|
+
activeValue?: TagOptionValue;
|
|
5316
|
+
}) => void;
|
|
5317
|
+
} | {
|
|
5318
|
+
readonly hasActiveTag: true;
|
|
5319
|
+
readonly tagLabel: string;
|
|
5320
|
+
readonly tagKey: string;
|
|
5321
|
+
readonly activeValue: TagCategoryOption | undefined;
|
|
5322
|
+
readonly valueOptions: TagCategoryOption[];
|
|
5323
|
+
readonly setActiveValue: ({ key, activeValue }: {
|
|
5324
|
+
key: TagKey;
|
|
5325
|
+
activeValue?: TagOptionValue;
|
|
5326
|
+
}) => void;
|
|
5327
|
+
};
|
|
5140
5328
|
export {};
|
|
5141
5329
|
|
|
5142
5330
|
}
|
|
@@ -5266,309 +5454,336 @@ declare module '@layerfi/components/hooks/useWindowSize/useWindowSize' {
|
|
|
5266
5454
|
|
|
5267
5455
|
}
|
|
5268
5456
|
declare module '@layerfi/components/icons/AlertCircle' {
|
|
5269
|
-
import * as React from 'react';
|
|
5270
5457
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5271
|
-
const AlertCircle: ({ size, ...props }: IconSvgProps) =>
|
|
5458
|
+
const AlertCircle: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5272
5459
|
export default AlertCircle;
|
|
5273
5460
|
|
|
5274
5461
|
}
|
|
5275
5462
|
declare module '@layerfi/components/icons/AlertOctagon' {
|
|
5276
|
-
import * as React from 'react';
|
|
5277
5463
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5278
|
-
const AlertOctagon: ({ size, ...props }: IconSvgProps) =>
|
|
5464
|
+
const AlertOctagon: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5279
5465
|
export default AlertOctagon;
|
|
5280
5466
|
|
|
5467
|
+
}
|
|
5468
|
+
declare module '@layerfi/components/icons/ArrowRightCircle' {
|
|
5469
|
+
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5470
|
+
const ArrowRightCircle: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5471
|
+
export default ArrowRightCircle;
|
|
5472
|
+
|
|
5281
5473
|
}
|
|
5282
5474
|
declare module '@layerfi/components/icons/BackArrow' {
|
|
5283
|
-
import * as React from 'react';
|
|
5284
5475
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5285
|
-
const BackArrow: ({ size, ...props }: IconSvgProps) =>
|
|
5476
|
+
const BackArrow: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5286
5477
|
export default BackArrow;
|
|
5287
5478
|
|
|
5288
5479
|
}
|
|
5289
5480
|
declare module '@layerfi/components/icons/BarChart2' {
|
|
5290
|
-
import * as React from 'react';
|
|
5291
5481
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5292
|
-
const BarChart2: ({ size, ...props }: IconSvgProps) =>
|
|
5482
|
+
const BarChart2: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5293
5483
|
export default BarChart2;
|
|
5294
5484
|
|
|
5295
5485
|
}
|
|
5296
5486
|
declare module '@layerfi/components/icons/Bell' {
|
|
5297
|
-
import * as React from 'react';
|
|
5298
5487
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5299
|
-
const Bell: ({ size, ...props }: IconSvgProps) =>
|
|
5488
|
+
const Bell: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5300
5489
|
export default Bell;
|
|
5301
5490
|
|
|
5491
|
+
}
|
|
5492
|
+
declare module '@layerfi/components/icons/Calendar' {
|
|
5493
|
+
import { SVGProps } from 'react';
|
|
5494
|
+
const Calendar: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
5495
|
+
export default Calendar;
|
|
5496
|
+
|
|
5302
5497
|
}
|
|
5303
5498
|
declare module '@layerfi/components/icons/Check' {
|
|
5304
|
-
import * as React from 'react';
|
|
5305
5499
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5306
|
-
const Check: ({ size, ...props }: IconSvgProps) =>
|
|
5500
|
+
const Check: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5307
5501
|
export default Check;
|
|
5308
5502
|
|
|
5309
5503
|
}
|
|
5310
5504
|
declare module '@layerfi/components/icons/CheckCircle' {
|
|
5311
|
-
import * as React from 'react';
|
|
5312
5505
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5313
|
-
const CheckCircle: ({ size, ...props }: IconSvgProps) =>
|
|
5506
|
+
const CheckCircle: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5314
5507
|
export default CheckCircle;
|
|
5315
5508
|
|
|
5509
|
+
}
|
|
5510
|
+
declare module '@layerfi/components/icons/CheckedCircle' {
|
|
5511
|
+
import { SVGProps } from 'react';
|
|
5512
|
+
type Props = SVGProps<SVGSVGElement> & {
|
|
5513
|
+
size: SVGProps<SVGSVGElement>['width'];
|
|
5514
|
+
fillColor: string;
|
|
5515
|
+
strokeColor: string;
|
|
5516
|
+
};
|
|
5517
|
+
const CheckedCircle: ({ fillColor, strokeColor, size, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5518
|
+
export default CheckedCircle;
|
|
5519
|
+
|
|
5316
5520
|
}
|
|
5317
5521
|
declare module '@layerfi/components/icons/ChevronDown' {
|
|
5318
|
-
import * as React from 'react';
|
|
5319
5522
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5320
|
-
const ChevronDown: ({ size, ...props }: IconSvgProps) =>
|
|
5523
|
+
const ChevronDown: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5321
5524
|
export default ChevronDown;
|
|
5322
5525
|
|
|
5323
5526
|
}
|
|
5324
5527
|
declare module '@layerfi/components/icons/ChevronDownFill' {
|
|
5325
|
-
import * as React from 'react';
|
|
5326
5528
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5327
|
-
const ChevronDownFill: ({ size, ...props }: IconSvgProps) =>
|
|
5529
|
+
const ChevronDownFill: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5328
5530
|
export default ChevronDownFill;
|
|
5329
5531
|
|
|
5330
5532
|
}
|
|
5331
5533
|
declare module '@layerfi/components/icons/ChevronLeft' {
|
|
5332
|
-
import * as React from 'react';
|
|
5333
5534
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5334
|
-
const ChevronLeft: ({ ...props }: IconSvgProps) =>
|
|
5535
|
+
const ChevronLeft: ({ ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5335
5536
|
export default ChevronLeft;
|
|
5336
5537
|
|
|
5337
5538
|
}
|
|
5338
5539
|
declare module '@layerfi/components/icons/ChevronRight' {
|
|
5339
|
-
import * as React from 'react';
|
|
5340
5540
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5341
|
-
const ChevronRight: ({ ...props }: IconSvgProps) =>
|
|
5541
|
+
const ChevronRight: ({ ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5342
5542
|
export default ChevronRight;
|
|
5343
5543
|
|
|
5544
|
+
}
|
|
5545
|
+
declare module '@layerfi/components/icons/ChevronUp' {
|
|
5546
|
+
import { SVGProps } from 'react';
|
|
5547
|
+
const ChevronUp: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
5548
|
+
export default ChevronUp;
|
|
5549
|
+
|
|
5344
5550
|
}
|
|
5345
5551
|
declare module '@layerfi/components/icons/CloseIcon' {
|
|
5346
|
-
import * as React from 'react';
|
|
5347
5552
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5348
|
-
const CloseIcon: ({ size, ...props }: IconSvgProps) =>
|
|
5553
|
+
const CloseIcon: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5349
5554
|
export default CloseIcon;
|
|
5350
5555
|
|
|
5351
5556
|
}
|
|
5352
5557
|
declare module '@layerfi/components/icons/Coffee' {
|
|
5353
|
-
import * as React from 'react';
|
|
5354
5558
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5355
|
-
const CoffeeIcon: ({ size, ...props }: IconSvgProps) =>
|
|
5559
|
+
const CoffeeIcon: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5356
5560
|
export default CoffeeIcon;
|
|
5357
5561
|
|
|
5358
5562
|
}
|
|
5359
5563
|
declare module '@layerfi/components/icons/Collapse' {
|
|
5360
|
-
import * as React from 'react';
|
|
5361
5564
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5362
|
-
const Collapse: ({ ...props }: IconSvgProps) =>
|
|
5565
|
+
const Collapse: ({ ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5363
5566
|
export default Collapse;
|
|
5364
5567
|
|
|
5365
5568
|
}
|
|
5366
5569
|
declare module '@layerfi/components/icons/CreditCard' {
|
|
5367
|
-
import * as React from 'react';
|
|
5368
5570
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5369
|
-
const CreditCard: ({ size, ...props }: IconSvgProps) =>
|
|
5571
|
+
const CreditCard: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5370
5572
|
export default CreditCard;
|
|
5371
5573
|
|
|
5574
|
+
}
|
|
5575
|
+
declare module '@layerfi/components/icons/Dataflow' {
|
|
5576
|
+
import { SVGProps } from 'react';
|
|
5577
|
+
const SvgComponent: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
5578
|
+
export default SvgComponent;
|
|
5579
|
+
|
|
5372
5580
|
}
|
|
5373
5581
|
declare module '@layerfi/components/icons/DownloadCloud' {
|
|
5374
|
-
import * as React from 'react';
|
|
5375
5582
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5376
|
-
const DownloadCloud: ({ size, ...props }: IconSvgProps) =>
|
|
5583
|
+
const DownloadCloud: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5377
5584
|
export default DownloadCloud;
|
|
5378
5585
|
|
|
5379
5586
|
}
|
|
5380
5587
|
declare module '@layerfi/components/icons/Edit2' {
|
|
5381
|
-
import * as React from 'react';
|
|
5382
5588
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5383
|
-
const Edit2: ({ size, ...props }: IconSvgProps) =>
|
|
5589
|
+
const Edit2: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5384
5590
|
export default Edit2;
|
|
5385
5591
|
|
|
5386
5592
|
}
|
|
5387
5593
|
declare module '@layerfi/components/icons/Expand' {
|
|
5388
|
-
import * as React from 'react';
|
|
5389
5594
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5390
|
-
const Expand: ({ ...props }: IconSvgProps) =>
|
|
5595
|
+
const Expand: ({ ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5391
5596
|
export default Expand;
|
|
5392
5597
|
|
|
5393
5598
|
}
|
|
5394
5599
|
declare module '@layerfi/components/icons/Eye' {
|
|
5395
|
-
import * as React from 'react';
|
|
5396
5600
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5397
|
-
const Eye: ({ size, ...props }: IconSvgProps) =>
|
|
5601
|
+
const Eye: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5398
5602
|
export default Eye;
|
|
5399
5603
|
|
|
5400
5604
|
}
|
|
5401
5605
|
declare module '@layerfi/components/icons/File' {
|
|
5402
|
-
import * as React from 'react';
|
|
5403
5606
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5404
|
-
const File: ({ size, ...props }: IconSvgProps) =>
|
|
5607
|
+
const File: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5405
5608
|
export default File;
|
|
5406
5609
|
|
|
5407
5610
|
}
|
|
5408
5611
|
declare module '@layerfi/components/icons/Folder' {
|
|
5409
|
-
import * as React from 'react';
|
|
5410
5612
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5411
|
-
const Folder: ({ size, ...props }: IconSvgProps) =>
|
|
5613
|
+
const Folder: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5412
5614
|
export default Folder;
|
|
5413
5615
|
|
|
5616
|
+
}
|
|
5617
|
+
declare module '@layerfi/components/icons/FolderPlus' {
|
|
5618
|
+
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5619
|
+
const FolderPlus: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5620
|
+
export default FolderPlus;
|
|
5621
|
+
|
|
5414
5622
|
}
|
|
5415
5623
|
declare module '@layerfi/components/icons/Inbox' {
|
|
5416
|
-
import * as React from 'react';
|
|
5417
5624
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5418
|
-
const Inbox: ({ size, ...props }: IconSvgProps) =>
|
|
5625
|
+
const Inbox: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5419
5626
|
export default Inbox;
|
|
5420
5627
|
|
|
5421
5628
|
}
|
|
5422
5629
|
declare module '@layerfi/components/icons/InfoIcon' {
|
|
5423
|
-
import * as React from 'react';
|
|
5424
5630
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5425
|
-
const InfoIcon: ({ size, ...props }: IconSvgProps) =>
|
|
5631
|
+
const InfoIcon: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5426
5632
|
export default InfoIcon;
|
|
5427
5633
|
|
|
5428
5634
|
}
|
|
5429
5635
|
declare module '@layerfi/components/icons/InstitutionIcon' {
|
|
5430
|
-
import * as React from 'react';
|
|
5431
5636
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5432
|
-
const InstitutionIcon: ({ size, ...props }: IconSvgProps) =>
|
|
5637
|
+
const InstitutionIcon: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5433
5638
|
export default InstitutionIcon;
|
|
5434
5639
|
|
|
5435
5640
|
}
|
|
5436
5641
|
declare module '@layerfi/components/icons/Link' {
|
|
5437
|
-
import * as React from 'react';
|
|
5438
5642
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5439
|
-
const Link: ({ size, ...props }: IconSvgProps) =>
|
|
5643
|
+
const Link: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5440
5644
|
export default Link;
|
|
5441
5645
|
|
|
5646
|
+
}
|
|
5647
|
+
declare module '@layerfi/components/icons/Link2' {
|
|
5648
|
+
import { SVGProps } from 'react';
|
|
5649
|
+
type Props = SVGProps<SVGSVGElement> & {
|
|
5650
|
+
size: SVGProps<SVGSVGElement>['width'];
|
|
5651
|
+
};
|
|
5652
|
+
const Link2: ({ size, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5653
|
+
export default Link2;
|
|
5654
|
+
|
|
5655
|
+
}
|
|
5656
|
+
declare module '@layerfi/components/icons/LinkBroken' {
|
|
5657
|
+
import { SVGProps } from 'react';
|
|
5658
|
+
type Props = SVGProps<SVGSVGElement> & {
|
|
5659
|
+
size: SVGProps<SVGSVGElement>['width'];
|
|
5660
|
+
};
|
|
5661
|
+
const LinkBroken: ({ size, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5662
|
+
export default LinkBroken;
|
|
5663
|
+
|
|
5442
5664
|
}
|
|
5443
5665
|
declare module '@layerfi/components/icons/Loader' {
|
|
5444
|
-
import * as React from 'react';
|
|
5445
5666
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5446
|
-
const Loader: ({ size, ...props }: IconSvgProps) =>
|
|
5667
|
+
const Loader: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5447
5668
|
export default Loader;
|
|
5448
5669
|
|
|
5449
5670
|
}
|
|
5450
5671
|
declare module '@layerfi/components/icons/MinimizeTwo' {
|
|
5451
|
-
import * as React from 'react';
|
|
5452
5672
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5453
|
-
const MinimizeTwo: ({ size, ...props }: IconSvgProps) =>
|
|
5673
|
+
const MinimizeTwo: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5454
5674
|
export default MinimizeTwo;
|
|
5455
5675
|
|
|
5456
5676
|
}
|
|
5457
5677
|
declare module '@layerfi/components/icons/MoreVertical' {
|
|
5458
|
-
import React from 'react';
|
|
5459
5678
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5460
|
-
const MoreVertical: ({ size, ...props }: IconSvgProps) =>
|
|
5679
|
+
const MoreVertical: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5461
5680
|
export default MoreVertical;
|
|
5462
5681
|
|
|
5463
5682
|
}
|
|
5464
5683
|
declare module '@layerfi/components/icons/Paperclip' {
|
|
5465
|
-
import React from 'react';
|
|
5466
5684
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5467
|
-
const Paperclip: ({ size, ...props }: IconSvgProps) =>
|
|
5685
|
+
const Paperclip: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5468
5686
|
export default Paperclip;
|
|
5469
5687
|
|
|
5470
5688
|
}
|
|
5471
5689
|
declare module '@layerfi/components/icons/PieChart' {
|
|
5472
|
-
import * as React from 'react';
|
|
5473
5690
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5474
|
-
const PieChart: ({ size, ...props }: IconSvgProps) =>
|
|
5691
|
+
const PieChart: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5475
5692
|
export default PieChart;
|
|
5476
5693
|
|
|
5477
5694
|
}
|
|
5478
5695
|
declare module '@layerfi/components/icons/PlaidIcon' {
|
|
5479
|
-
|
|
5480
|
-
const PlaidIcon: () => React.JSX.Element;
|
|
5696
|
+
const PlaidIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
5481
5697
|
export default PlaidIcon;
|
|
5482
5698
|
|
|
5483
5699
|
}
|
|
5484
5700
|
declare module '@layerfi/components/icons/Plus' {
|
|
5485
|
-
import * as React from 'react';
|
|
5486
5701
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5487
|
-
const Plus: ({ size, ...props }: IconSvgProps) =>
|
|
5702
|
+
const Plus: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5488
5703
|
export default Plus;
|
|
5489
5704
|
|
|
5490
5705
|
}
|
|
5491
5706
|
declare module '@layerfi/components/icons/PlusIcon' {
|
|
5492
|
-
import * as React from 'react';
|
|
5493
5707
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5494
|
-
const PlusIcon: ({ size, ...props }: IconSvgProps) =>
|
|
5708
|
+
const PlusIcon: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5495
5709
|
export default PlusIcon;
|
|
5496
5710
|
|
|
5497
5711
|
}
|
|
5498
5712
|
declare module '@layerfi/components/icons/ProgressIcon' {
|
|
5499
|
-
import * as React from 'react';
|
|
5500
5713
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5501
|
-
const ProgressIcon: ({ size, ...props }: IconSvgProps) =>
|
|
5714
|
+
const ProgressIcon: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5502
5715
|
export default ProgressIcon;
|
|
5503
5716
|
|
|
5504
5717
|
}
|
|
5505
5718
|
declare module '@layerfi/components/icons/RefreshCcw' {
|
|
5506
|
-
import * as React from 'react';
|
|
5507
5719
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5508
|
-
const RefreshCcw: ({ size, ...props }: IconSvgProps) =>
|
|
5720
|
+
const RefreshCcw: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5509
5721
|
export default RefreshCcw;
|
|
5510
5722
|
|
|
5511
5723
|
}
|
|
5512
5724
|
declare module '@layerfi/components/icons/Save' {
|
|
5513
|
-
import * as React from 'react';
|
|
5514
5725
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5515
|
-
const Save: ({ size, ...props }: IconSvgProps) =>
|
|
5726
|
+
const Save: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5516
5727
|
export default Save;
|
|
5517
5728
|
|
|
5518
5729
|
}
|
|
5519
5730
|
declare module '@layerfi/components/icons/Scissors' {
|
|
5520
|
-
import * as React from 'react';
|
|
5521
5731
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5522
|
-
const Scissors: ({ size, ...props }: IconSvgProps) =>
|
|
5732
|
+
const Scissors: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5523
5733
|
export default Scissors;
|
|
5524
5734
|
|
|
5525
5735
|
}
|
|
5526
5736
|
declare module '@layerfi/components/icons/ScissorsFullOpen' {
|
|
5527
|
-
import * as React from 'react';
|
|
5528
5737
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5529
|
-
const ScissorsFullOpen: ({ size, ...props }: IconSvgProps) =>
|
|
5738
|
+
const ScissorsFullOpen: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5530
5739
|
export default ScissorsFullOpen;
|
|
5531
5740
|
|
|
5741
|
+
}
|
|
5742
|
+
declare module '@layerfi/components/icons/ScissorsOpen' {
|
|
5743
|
+
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5744
|
+
const ScissorsOpen: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5745
|
+
export default ScissorsOpen;
|
|
5746
|
+
|
|
5532
5747
|
}
|
|
5533
5748
|
declare module '@layerfi/components/icons/SmileIcon' {
|
|
5534
|
-
import * as React from 'react';
|
|
5535
5749
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5536
|
-
const SmileIcon: ({ size, ...props }: IconSvgProps) =>
|
|
5750
|
+
const SmileIcon: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5537
5751
|
export default SmileIcon;
|
|
5538
5752
|
|
|
5539
5753
|
}
|
|
5540
5754
|
declare module '@layerfi/components/icons/SortArrows' {
|
|
5541
|
-
import * as React from 'react';
|
|
5542
5755
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5543
|
-
const SortArrows: ({ size, ...props }: IconSvgProps) =>
|
|
5756
|
+
const SortArrows: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5544
5757
|
export default SortArrows;
|
|
5545
5758
|
|
|
5546
5759
|
}
|
|
5547
5760
|
declare module '@layerfi/components/icons/Sunrise' {
|
|
5548
|
-
import * as React from 'react';
|
|
5549
5761
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5550
|
-
const Sunrise: ({ size, ...props }: IconSvgProps) =>
|
|
5762
|
+
const Sunrise: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5551
5763
|
export default Sunrise;
|
|
5552
5764
|
|
|
5553
5765
|
}
|
|
5554
5766
|
declare module '@layerfi/components/icons/Trash' {
|
|
5555
|
-
import * as React from 'react';
|
|
5556
5767
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5557
|
-
const Trash: ({ size, ...props }: IconSvgProps) =>
|
|
5768
|
+
const Trash: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5558
5769
|
export default Trash;
|
|
5559
5770
|
|
|
5560
5771
|
}
|
|
5561
5772
|
declare module '@layerfi/components/icons/UploadCloud' {
|
|
5562
|
-
import * as React from 'react';
|
|
5563
5773
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5564
|
-
const UploadCloud: ({ size, ...props }: IconSvgProps) =>
|
|
5774
|
+
const UploadCloud: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5565
5775
|
export default UploadCloud;
|
|
5566
5776
|
|
|
5777
|
+
}
|
|
5778
|
+
declare module '@layerfi/components/icons/WarningCircle' {
|
|
5779
|
+
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5780
|
+
const WarningCircle: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5781
|
+
export default WarningCircle;
|
|
5782
|
+
|
|
5567
5783
|
}
|
|
5568
5784
|
declare module '@layerfi/components/icons/X' {
|
|
5569
|
-
import * as React from 'react';
|
|
5570
5785
|
import { IconSvgProps } from '@layerfi/components/icons/types';
|
|
5571
|
-
const X: ({ size, ...props }: IconSvgProps) =>
|
|
5786
|
+
const X: ({ size, ...props }: IconSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
5572
5787
|
export default X;
|
|
5573
5788
|
|
|
5574
5789
|
}
|
|
@@ -5608,10 +5823,10 @@ declare module '@layerfi/components/index' {
|
|
|
5608
5823
|
|
|
5609
5824
|
}
|
|
5610
5825
|
declare module '@layerfi/components/models/APIError' {
|
|
5611
|
-
export
|
|
5826
|
+
export type APIErrorMessage = {
|
|
5612
5827
|
type?: string;
|
|
5613
5828
|
description?: string;
|
|
5614
|
-
}
|
|
5829
|
+
};
|
|
5615
5830
|
export class APIError extends Error {
|
|
5616
5831
|
code?: number;
|
|
5617
5832
|
info?: string;
|
|
@@ -5644,6 +5859,7 @@ declare module '@layerfi/components/models/ErrorHandler' {
|
|
|
5644
5859
|
}
|
|
5645
5860
|
declare module '@layerfi/components/models/Money' {
|
|
5646
5861
|
export const centsToDollars: (cents?: number) => string;
|
|
5862
|
+
export function centsToDollarsWithoutCommas(cents?: number): string;
|
|
5647
5863
|
export const dollarsToCents: (dollars?: string) => number;
|
|
5648
5864
|
const _default: {
|
|
5649
5865
|
centsToDollars: (cents?: number) => string;
|
|
@@ -5653,9 +5869,8 @@ declare module '@layerfi/components/models/Money' {
|
|
|
5653
5869
|
|
|
5654
5870
|
}
|
|
5655
5871
|
declare module '@layerfi/components/providers/AccountConfirmationStoreProvider' {
|
|
5656
|
-
import
|
|
5657
|
-
|
|
5658
|
-
type AccountConfirmationVisibility = typeof ACCOUNT_CONFIRMATION_VISIBILITY[number];
|
|
5872
|
+
import { type PropsWithChildren } from 'react';
|
|
5873
|
+
type AccountConfirmationVisibility = 'PRELOADED' | 'DEFAULT' | 'DISMISSED';
|
|
5659
5874
|
type AccountConfirmationStoreShape = {
|
|
5660
5875
|
visibility: AccountConfirmationVisibility;
|
|
5661
5876
|
actions: {
|
|
@@ -5673,28 +5888,28 @@ declare module '@layerfi/components/providers/AccountConfirmationStoreProvider'
|
|
|
5673
5888
|
type AccountConfirmationStoreProviderProps = PropsWithChildren<{
|
|
5674
5889
|
initialVisibility?: AccountConfirmationVisibility;
|
|
5675
5890
|
}>;
|
|
5676
|
-
export function AccountConfirmationStoreProvider({ children, initialVisibility, }: AccountConfirmationStoreProviderProps):
|
|
5891
|
+
export function AccountConfirmationStoreProvider({ children, initialVisibility, }: AccountConfirmationStoreProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
5677
5892
|
export {};
|
|
5678
5893
|
|
|
5679
5894
|
}
|
|
5680
5895
|
declare module '@layerfi/components/providers/AuthInputProvider' {
|
|
5681
|
-
import
|
|
5896
|
+
import { type PropsWithChildren } from 'react';
|
|
5682
5897
|
type AuthInputShape = {
|
|
5683
5898
|
appId?: string;
|
|
5684
5899
|
appSecret?: string;
|
|
5685
5900
|
businessAccessToken?: string;
|
|
5686
5901
|
};
|
|
5687
5902
|
export function useAuthInput(): AuthInputShape;
|
|
5688
|
-
export function AuthInputProvider({ appId, appSecret, businessAccessToken, children, }: PropsWithChildren<AuthInputShape>):
|
|
5903
|
+
export function AuthInputProvider({ appId, appSecret, businessAccessToken, children, }: PropsWithChildren<AuthInputShape>): import("react/jsx-runtime").JSX.Element;
|
|
5689
5904
|
export {};
|
|
5690
5905
|
|
|
5691
5906
|
}
|
|
5692
5907
|
declare module '@layerfi/components/providers/BankTransactionsProvider/BankTransactionsProvider' {
|
|
5693
|
-
import
|
|
5908
|
+
import { ReactNode } from 'react';
|
|
5694
5909
|
interface BankTransactionsProviderProps {
|
|
5695
5910
|
children: ReactNode;
|
|
5696
5911
|
}
|
|
5697
|
-
export const BankTransactionsProvider: ({ children, }: BankTransactionsProviderProps) =>
|
|
5912
|
+
export const BankTransactionsProvider: ({ children, }: BankTransactionsProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5698
5913
|
export {};
|
|
5699
5914
|
|
|
5700
5915
|
}
|
|
@@ -5703,34 +5918,33 @@ declare module '@layerfi/components/providers/BankTransactionsProvider/index' {
|
|
|
5703
5918
|
|
|
5704
5919
|
}
|
|
5705
5920
|
declare module '@layerfi/components/providers/BusinessProvider/BusinessProvider' {
|
|
5706
|
-
import
|
|
5921
|
+
import { PropsWithChildren } from 'react';
|
|
5707
5922
|
import { LayerProviderProps } from '@layerfi/components/providers/LayerProvider/LayerProvider';
|
|
5708
5923
|
type BusinessProviderProps = PropsWithChildren<Pick<LayerProviderProps, 'businessId' | 'theme' | 'onError' | 'eventCallbacks'>>;
|
|
5709
|
-
export const BusinessProvider: ({ businessId, children, theme, onError, eventCallbacks, }: PropsWithChildren<BusinessProviderProps>) =>
|
|
5924
|
+
export const BusinessProvider: ({ businessId, children, theme, onError, eventCallbacks, }: PropsWithChildren<BusinessProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
5710
5925
|
export {};
|
|
5711
5926
|
|
|
5712
5927
|
}
|
|
5713
5928
|
declare module '@layerfi/components/providers/Environment/EnvironmentInputProvider' {
|
|
5714
|
-
import
|
|
5929
|
+
import { type PropsWithChildren } from 'react';
|
|
5715
5930
|
import { type Environment } from '@layerfi/components/providers/Environment/environmentConfigs';
|
|
5716
5931
|
type EnvironmentInputShape = {
|
|
5717
5932
|
environment?: Environment;
|
|
5718
5933
|
usePlaidSandbox?: boolean;
|
|
5719
5934
|
};
|
|
5720
5935
|
export function useEnvironment(): {
|
|
5721
|
-
environment:
|
|
5936
|
+
environment: Environment;
|
|
5722
5937
|
apiUrl: "https://api.layerfi.com" | "https://sandbox.layerfi.com" | "https://staging.layerfi.com";
|
|
5723
5938
|
authUrl: "https://auth.layerfi.com/oauth2/token";
|
|
5724
5939
|
scope: "https://api.layerfi.com/production" | "https://sandbox.layerfi.com/sandbox";
|
|
5725
5940
|
usePlaidSandbox: boolean;
|
|
5726
5941
|
};
|
|
5727
|
-
export function EnvironmentInputProvider({ children, environment, usePlaidSandbox, }: PropsWithChildren<EnvironmentInputShape>):
|
|
5942
|
+
export function EnvironmentInputProvider({ children, environment, usePlaidSandbox, }: PropsWithChildren<EnvironmentInputShape>): import("react/jsx-runtime").JSX.Element;
|
|
5728
5943
|
export {};
|
|
5729
5944
|
|
|
5730
5945
|
}
|
|
5731
5946
|
declare module '@layerfi/components/providers/Environment/environmentConfigs' {
|
|
5732
|
-
|
|
5733
|
-
export type Environment = typeof ENVIRONMENTS[number];
|
|
5947
|
+
export type Environment = 'production' | 'sandbox' | 'staging' | 'internalStaging';
|
|
5734
5948
|
export const EnvironmentConfigs: {
|
|
5735
5949
|
readonly production: {
|
|
5736
5950
|
readonly apiUrl: "https://api.layerfi.com";
|
|
@@ -5757,11 +5971,80 @@ declare module '@layerfi/components/providers/Environment/environmentConfigs' {
|
|
|
5757
5971
|
readonly usePlaidSandbox: true;
|
|
5758
5972
|
};
|
|
5759
5973
|
};
|
|
5974
|
+
|
|
5975
|
+
}
|
|
5976
|
+
declare module '@layerfi/components/providers/GlobalDateStore/GlobalDateStoreProvider' {
|
|
5977
|
+
import { type PropsWithChildren } from 'react';
|
|
5978
|
+
const _DATE_PICKER_MODES: readonly ["dayPicker"];
|
|
5979
|
+
export type DatePickerMode = typeof _DATE_PICKER_MODES[number];
|
|
5980
|
+
const _RANGE_PICKER_MODES: readonly ["dayRangePicker", "monthPicker", "monthRangePicker", "yearPicker"];
|
|
5981
|
+
export type DateRangePickerMode = typeof _RANGE_PICKER_MODES[number];
|
|
5982
|
+
export function useGlobalDate(): {
|
|
5983
|
+
date: Date;
|
|
5984
|
+
displayMode: "dayPicker";
|
|
5985
|
+
};
|
|
5986
|
+
export function useGlobalDateActions(): {
|
|
5987
|
+
set: (options: {
|
|
5988
|
+
date: Date;
|
|
5989
|
+
}) => void;
|
|
5990
|
+
};
|
|
5991
|
+
export function useGlobalDateRange(): {
|
|
5992
|
+
start: Date;
|
|
5993
|
+
end: Date;
|
|
5994
|
+
rangeDisplayMode: "dayRangePicker" | "monthPicker" | "monthRangePicker" | "yearPicker";
|
|
5995
|
+
};
|
|
5996
|
+
export function useGlobalDateRangeActions(): {
|
|
5997
|
+
setRange: (options: {
|
|
5998
|
+
start: Date;
|
|
5999
|
+
end: Date;
|
|
6000
|
+
}) => void;
|
|
6001
|
+
setRangeDisplayMode: (options: {
|
|
6002
|
+
rangeDisplayMode: DateRangePickerMode;
|
|
6003
|
+
}) => void;
|
|
6004
|
+
setRangeWithExplicitDisplayMode: (options: {
|
|
6005
|
+
start: Date;
|
|
6006
|
+
end: Date;
|
|
6007
|
+
rangeDisplayMode: DateRangePickerMode;
|
|
6008
|
+
}) => void;
|
|
6009
|
+
setMonth: (options: {
|
|
6010
|
+
start: Date;
|
|
6011
|
+
}) => void;
|
|
6012
|
+
setMonthRange: (options: {
|
|
6013
|
+
start: Date;
|
|
6014
|
+
end: Date;
|
|
6015
|
+
}) => void;
|
|
6016
|
+
setYear: (options: {
|
|
6017
|
+
start: Date;
|
|
6018
|
+
}) => void;
|
|
6019
|
+
};
|
|
6020
|
+
type GlobalDateStoreProviderProps = PropsWithChildren;
|
|
6021
|
+
export function GlobalDateStoreProvider({ children, }: GlobalDateStoreProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
5760
6022
|
export {};
|
|
5761
6023
|
|
|
6024
|
+
}
|
|
6025
|
+
declare module '@layerfi/components/providers/GlobalDateStore/useGlobalDateRangePicker' {
|
|
6026
|
+
import { type DateRangePickerMode } from '@layerfi/components/providers/GlobalDateStore/GlobalDateStoreProvider';
|
|
6027
|
+
export function useGlobalDateRangePicker({ allowedDatePickerModes, defaultDatePickerMode, onSetMonth, }: {
|
|
6028
|
+
allowedDatePickerModes?: ReadonlyArray<DateRangePickerMode>;
|
|
6029
|
+
defaultDatePickerMode?: DateRangePickerMode;
|
|
6030
|
+
onSetMonth?: (startOfMonth: Date) => void;
|
|
6031
|
+
}): {
|
|
6032
|
+
allowedDateRangePickerModes: readonly ["dayRangePicker" | "monthPicker" | "monthRangePicker" | "yearPicker", ...("dayRangePicker" | "monthPicker" | "monthRangePicker" | "yearPicker")[]];
|
|
6033
|
+
dateFormat: "MMM d" | undefined;
|
|
6034
|
+
rangeDisplayMode: "dayRangePicker" | "monthPicker" | "monthRangePicker" | "yearPicker";
|
|
6035
|
+
selected: Date | [Date, Date];
|
|
6036
|
+
setSelected: ({ start, end }: {
|
|
6037
|
+
start: Date;
|
|
6038
|
+
end: Date;
|
|
6039
|
+
}) => void;
|
|
6040
|
+
setRangeDisplayMode: (options: {
|
|
6041
|
+
rangeDisplayMode: DateRangePickerMode;
|
|
6042
|
+
}) => void;
|
|
6043
|
+
};
|
|
6044
|
+
|
|
5762
6045
|
}
|
|
5763
6046
|
declare module '@layerfi/components/providers/LayerProvider/LayerProvider' {
|
|
5764
|
-
import
|
|
6047
|
+
import { PropsWithChildren } from 'react';
|
|
5765
6048
|
import { LayerError } from '@layerfi/components/models/ErrorHandler';
|
|
5766
6049
|
import { LayerThemeConfig } from '@layerfi/components/types/layer_context';
|
|
5767
6050
|
import type { Environment } from '@layerfi/components/providers/Environment/environmentConfigs';
|
|
@@ -5780,7 +6063,7 @@ declare module '@layerfi/components/providers/LayerProvider/LayerProvider' {
|
|
|
5780
6063
|
onError?: (error: LayerError) => void;
|
|
5781
6064
|
eventCallbacks?: EventCallbacks;
|
|
5782
6065
|
};
|
|
5783
|
-
export const LayerProvider: ({ appId, appSecret, businessAccessToken, environment, usePlaidSandbox, ...restProps }: PropsWithChildren<LayerProviderProps>) =>
|
|
6066
|
+
export const LayerProvider: ({ appId, appSecret, businessAccessToken, environment, usePlaidSandbox, ...restProps }: PropsWithChildren<LayerProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
5784
6067
|
|
|
5785
6068
|
}
|
|
5786
6069
|
declare module '@layerfi/components/providers/LayerProvider/index' {
|
|
@@ -5788,8 +6071,8 @@ declare module '@layerfi/components/providers/LayerProvider/index' {
|
|
|
5788
6071
|
|
|
5789
6072
|
}
|
|
5790
6073
|
declare module '@layerfi/components/providers/LinkedAccountsProvider/LinkedAccountsProvider' {
|
|
5791
|
-
import
|
|
5792
|
-
export const LinkedAccountsProvider: ({ children, }: PropsWithChildren) =>
|
|
6074
|
+
import { type PropsWithChildren } from 'react';
|
|
6075
|
+
export const LinkedAccountsProvider: ({ children, }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
5793
6076
|
|
|
5794
6077
|
}
|
|
5795
6078
|
declare module '@layerfi/components/providers/LinkedAccountsProvider/index' {
|
|
@@ -5797,14 +6080,14 @@ declare module '@layerfi/components/providers/LinkedAccountsProvider/index' {
|
|
|
5797
6080
|
|
|
5798
6081
|
}
|
|
5799
6082
|
declare module '@layerfi/components/providers/ReceiptsProvider/ReceiptsProvider' {
|
|
5800
|
-
import
|
|
6083
|
+
import { ReactNode } from 'react';
|
|
5801
6084
|
import { BankTransaction } from '@layerfi/components/types';
|
|
5802
6085
|
interface ReceiptsProviderProps {
|
|
5803
6086
|
children: ReactNode;
|
|
5804
6087
|
bankTransaction: BankTransaction;
|
|
5805
6088
|
isActive?: boolean;
|
|
5806
6089
|
}
|
|
5807
|
-
export const ReceiptsProvider: ({ children, bankTransaction, isActive, }: ReceiptsProviderProps) =>
|
|
6090
|
+
export const ReceiptsProvider: ({ children, bankTransaction, isActive, }: ReceiptsProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5808
6091
|
export {};
|
|
5809
6092
|
|
|
5810
6093
|
}
|
|
@@ -6442,7 +6725,7 @@ declare module '@layerfi/components/types/linked_accounts' {
|
|
|
6442
6725
|
institution: PlaidInstitution | null;
|
|
6443
6726
|
};
|
|
6444
6727
|
export type AccountSource = EnumWithUnknownValues<'PLAID' | 'STRIPE'>;
|
|
6445
|
-
const _KNOWN_ACCOUNT_NOTIFICATION_TYPES: readonly ["CONFIRM_RELEVANT", "CONFIRM_UNIQUE"];
|
|
6728
|
+
const _KNOWN_ACCOUNT_NOTIFICATION_TYPES: readonly ["CONFIRM_RELEVANT", "CONFIRM_UNIQUE", "OPENING_BALANCE_MISSING"];
|
|
6446
6729
|
type KnownAccountNotificationType = typeof _KNOWN_ACCOUNT_NOTIFICATION_TYPES[number];
|
|
6447
6730
|
const _KNOWN_ACCOUNT_NOTIFICATION_SCOPES: readonly ["USER"];
|
|
6448
6731
|
type KnownAccountNotificationScope = typeof _KNOWN_ACCOUNT_NOTIFICATION_SCOPES[number];
|
|
@@ -6721,6 +7004,12 @@ declare module '@layerfi/components/types' {
|
|
|
6721
7004
|
export type ReportingBasis = 'CASH' | 'ACCRUAL';
|
|
6722
7005
|
export type MoneyFormat = 'CENTS' | 'DOLLAR_STRING';
|
|
6723
7006
|
|
|
7007
|
+
}
|
|
7008
|
+
declare module '@layerfi/components/utils/array/getArrayWithAtLeastOneOrFallback' {
|
|
7009
|
+
type ArrayWithAtLeastOne<T> = readonly [T, ...T[]];
|
|
7010
|
+
export function getArrayWithAtLeastOneOrFallback<T>(list: ReadonlyArray<T>, fallback: ArrayWithAtLeastOne<T>): ArrayWithAtLeastOne<T>;
|
|
7011
|
+
export {};
|
|
7012
|
+
|
|
6724
7013
|
}
|
|
6725
7014
|
declare module '@layerfi/components/utils/bankTransactions' {
|
|
6726
7015
|
import { CategoryOption } from '@layerfi/components/components/CategorySelect/CategorySelect';
|
|
@@ -6796,6 +7085,14 @@ declare module '@layerfi/components/utils/format' {
|
|
|
6796
7085
|
export const humanizeEnum: (text: string) => string;
|
|
6797
7086
|
export const convertNumberToCurrency: (amount: number | undefined) => string;
|
|
6798
7087
|
export const convertCurrencyToNumber: (amount: string) => string;
|
|
7088
|
+
/**
|
|
7089
|
+
* Convert amount to cents by multiplying by 100.
|
|
7090
|
+
* For example:
|
|
7091
|
+
* 100.00 -> 10000
|
|
7092
|
+
* 100.01 -> 10001
|
|
7093
|
+
* 100.001 -> 10000
|
|
7094
|
+
*/
|
|
7095
|
+
export const convertToCents: (amount?: number | string) => number | undefined;
|
|
6799
7096
|
|
|
6800
7097
|
}
|
|
6801
7098
|
declare module '@layerfi/components/utils/helpers' {
|
|
@@ -6857,6 +7154,10 @@ declare module '@layerfi/components/utils/styleUtils/toDataProperties' {
|
|
|
6857
7154
|
export function toDataProperties<TKeys extends Lowercase<string>, TValues>(input: Record<TKeys, TValues>): DataProperties<Record<TKeys, Extract<TValues, AllowedDataValue>>>;
|
|
6858
7155
|
export {};
|
|
6859
7156
|
|
|
7157
|
+
}
|
|
7158
|
+
declare module '@layerfi/components/utils/switch/safeAssertUnreachable' {
|
|
7159
|
+
export function safeAssertUnreachable(value: never, message?: string): never;
|
|
7160
|
+
|
|
6860
7161
|
}
|
|
6861
7162
|
declare module '@layerfi/components/utils/swr/defaultSWRConfig' {
|
|
6862
7163
|
export const DEFAULT_SWR_CONFIG: {
|
|
@@ -6866,9 +7167,19 @@ declare module '@layerfi/components/utils/swr/defaultSWRConfig' {
|
|
|
6866
7167
|
readonly revalidateIfStale: false;
|
|
6867
7168
|
};
|
|
6868
7169
|
|
|
7170
|
+
}
|
|
7171
|
+
declare module '@layerfi/components/utils/zustand/useStoreWithDateSelected' {
|
|
7172
|
+
import type { StoreApi } from 'zustand';
|
|
7173
|
+
type ReadonlyStoreApi<T> = Pick<StoreApi<T>, 'getState' | 'getInitialState' | 'subscribe'>;
|
|
7174
|
+
type ExtractState<S> = S extends {
|
|
7175
|
+
getState: () => infer T;
|
|
7176
|
+
} ? T : never;
|
|
7177
|
+
export function useStoreWithDateSelected<S extends ReadonlyStoreApi<unknown>>(api: S, selector: (state: ExtractState<S>) => Date): Date;
|
|
7178
|
+
export {};
|
|
7179
|
+
|
|
6869
7180
|
}
|
|
6870
7181
|
declare module '@layerfi/components/views/AccountingOverview/AccountingOverview' {
|
|
6871
|
-
import
|
|
7182
|
+
import { ReactNode } from 'react';
|
|
6872
7183
|
import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
6873
7184
|
import { ProfitAndLossSummariesStringOverrides } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
|
|
6874
7185
|
import { OnboardingStep } from '@layerfi/components/types/layer_context';
|
|
@@ -6900,7 +7211,7 @@ declare module '@layerfi/components/views/AccountingOverview/AccountingOverview'
|
|
|
6900
7211
|
};
|
|
6901
7212
|
};
|
|
6902
7213
|
}
|
|
6903
|
-
export const AccountingOverview: ({ title, showTitle, enableOnboarding, onboardingStepOverride, onTransactionsToReviewClick, middleBanner, chartColorsList, stringOverrides, tagFilter, showTransactionsToReview, slotProps, }: AccountingOverviewProps) =>
|
|
7214
|
+
export const AccountingOverview: ({ title, showTitle, enableOnboarding, onboardingStepOverride, onTransactionsToReviewClick, middleBanner, chartColorsList, stringOverrides, tagFilter, showTransactionsToReview, slotProps, }: AccountingOverviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
6904
7215
|
export {};
|
|
6905
7216
|
|
|
6906
7217
|
}
|
|
@@ -6909,7 +7220,6 @@ declare module '@layerfi/components/views/AccountingOverview/index' {
|
|
|
6909
7220
|
|
|
6910
7221
|
}
|
|
6911
7222
|
declare module '@layerfi/components/views/AccountingOverview/internal/TransactionsToReview' {
|
|
6912
|
-
import React from 'react';
|
|
6913
7223
|
import type { Variants } from '@layerfi/components/utils/styleUtils/sizeVariants';
|
|
6914
7224
|
type TransactionsToReviewProps = {
|
|
6915
7225
|
onClick?: () => void;
|
|
@@ -6920,12 +7230,11 @@ declare module '@layerfi/components/views/AccountingOverview/internal/Transactio
|
|
|
6920
7230
|
};
|
|
6921
7231
|
variants?: Variants;
|
|
6922
7232
|
};
|
|
6923
|
-
export function TransactionsToReview({ onClick, usePnlDateRange, tagFilter, variants, }: TransactionsToReviewProps):
|
|
7233
|
+
export function TransactionsToReview({ onClick, usePnlDateRange, tagFilter, variants, }: TransactionsToReviewProps): import("react/jsx-runtime").JSX.Element;
|
|
6924
7234
|
export {};
|
|
6925
7235
|
|
|
6926
7236
|
}
|
|
6927
7237
|
declare module '@layerfi/components/views/BankTransactionsWithLinkedAccounts/BankTransactionsWithLinkedAccounts' {
|
|
6928
|
-
import React from 'react';
|
|
6929
7238
|
import { BankTransactionsMode, BankTransactionsStringOverrides } from '@layerfi/components/components/BankTransactions/BankTransactions';
|
|
6930
7239
|
import { MobileComponentType } from '@layerfi/components/components/BankTransactions/constants';
|
|
6931
7240
|
interface BankTransactionsWithLinkedAccountsStringOverrides {
|
|
@@ -6947,7 +7256,7 @@ declare module '@layerfi/components/views/BankTransactionsWithLinkedAccounts/Ban
|
|
|
6947
7256
|
mobileComponent?: MobileComponentType;
|
|
6948
7257
|
stringOverrides?: BankTransactionsWithLinkedAccountsStringOverrides;
|
|
6949
7258
|
}
|
|
6950
|
-
export const BankTransactionsWithLinkedAccounts: ({ title, showTitle, elevatedLinkedAccounts, showLedgerBalance, showUnlinkItem, showBreakConnection, mode, showDescriptions, showReceiptUploads, showTooltips, mobileComponent, stringOverrides, }: BankTransactionsWithLinkedAccountsProps) =>
|
|
7259
|
+
export const BankTransactionsWithLinkedAccounts: ({ title, showTitle, elevatedLinkedAccounts, showLedgerBalance, showUnlinkItem, showBreakConnection, mode, showDescriptions, showReceiptUploads, showTooltips, mobileComponent, stringOverrides, }: BankTransactionsWithLinkedAccountsProps) => import("react/jsx-runtime").JSX.Element;
|
|
6951
7260
|
export {};
|
|
6952
7261
|
|
|
6953
7262
|
}
|
|
@@ -6956,7 +7265,6 @@ declare module '@layerfi/components/views/BankTransactionsWithLinkedAccounts/ind
|
|
|
6956
7265
|
|
|
6957
7266
|
}
|
|
6958
7267
|
declare module '@layerfi/components/views/BookkeepingOverview/BookkeepingOverview' {
|
|
6959
|
-
import React from 'react';
|
|
6960
7268
|
import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
6961
7269
|
import { ProfitAndLossSummariesStringOverrides } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
|
|
6962
7270
|
import { TasksStringOverrides } from '@layerfi/components/components/Tasks/Tasks';
|
|
@@ -6984,7 +7292,7 @@ declare module '@layerfi/components/views/BookkeepingOverview/BookkeepingOvervie
|
|
|
6984
7292
|
*/
|
|
6985
7293
|
title?: string;
|
|
6986
7294
|
}
|
|
6987
|
-
export const BookkeepingOverview: ({ title, showTitle, stringOverrides, slotProps, }: BookkeepingOverviewProps) =>
|
|
7295
|
+
export const BookkeepingOverview: ({ title, showTitle, stringOverrides, slotProps, }: BookkeepingOverviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
6988
7296
|
|
|
6989
7297
|
}
|
|
6990
7298
|
declare module '@layerfi/components/views/BookkeepingOverview/index' {
|
|
@@ -6992,12 +7300,11 @@ declare module '@layerfi/components/views/BookkeepingOverview/index' {
|
|
|
6992
7300
|
|
|
6993
7301
|
}
|
|
6994
7302
|
declare module '@layerfi/components/views/BookkeepingOverview/internal/BookkeepingProfitAndLossSummariesContainer' {
|
|
6995
|
-
import
|
|
6996
|
-
export function BookkeepingProfitAndLossSummariesContainer({ children, }: PropsWithChildren):
|
|
7303
|
+
import { PropsWithChildren } from 'react';
|
|
7304
|
+
export function BookkeepingProfitAndLossSummariesContainer({ children, }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
6997
7305
|
|
|
6998
7306
|
}
|
|
6999
7307
|
declare module '@layerfi/components/views/GeneralLedger/GeneralLedger' {
|
|
7000
|
-
import React from 'react';
|
|
7001
7308
|
import { ChartOfAccountsStringOverrides } from '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts';
|
|
7002
7309
|
import { JournalStringOverrides } from '@layerfi/components/components/Journal/Journal';
|
|
7003
7310
|
export interface GeneralLedgerStringOverrides {
|
|
@@ -7018,7 +7325,7 @@ declare module '@layerfi/components/views/GeneralLedger/GeneralLedger' {
|
|
|
7018
7325
|
stringOverrides?: GeneralLedgerStringOverrides;
|
|
7019
7326
|
chartOfAccountsOptions?: ChartOfAccountsOptions;
|
|
7020
7327
|
}
|
|
7021
|
-
export const GeneralLedgerView: ({ title, showTitle, stringOverrides, chartOfAccountsOptions, }: GeneralLedgerProps) =>
|
|
7328
|
+
export const GeneralLedgerView: ({ title, showTitle, stringOverrides, chartOfAccountsOptions, }: GeneralLedgerProps) => import("react/jsx-runtime").JSX.Element;
|
|
7022
7329
|
|
|
7023
7330
|
}
|
|
7024
7331
|
declare module '@layerfi/components/views/GeneralLedger/index' {
|
|
@@ -7026,9 +7333,8 @@ declare module '@layerfi/components/views/GeneralLedger/index' {
|
|
|
7026
7333
|
|
|
7027
7334
|
}
|
|
7028
7335
|
declare module '@layerfi/components/views/ProjectProfitability/ProjectProfitability' {
|
|
7029
|
-
import React from 'react';
|
|
7030
|
-
import { RangePickerMode } from '@layerfi/components/components/DatePicker/ModeSelector/DatePickerModeSelector';
|
|
7031
7336
|
import { MoneyFormat } from '@layerfi/components/types';
|
|
7337
|
+
import type { DateRangePickerMode } from '@layerfi/components/providers/GlobalDateStore/GlobalDateStoreProvider';
|
|
7032
7338
|
export type TagOption = {
|
|
7033
7339
|
label: string;
|
|
7034
7340
|
tagKey: string;
|
|
@@ -7041,10 +7347,10 @@ declare module '@layerfi/components/views/ProjectProfitability/ProjectProfitabil
|
|
|
7041
7347
|
valueOptions: TagOption[];
|
|
7042
7348
|
showTitle?: boolean;
|
|
7043
7349
|
stringOverrides?: ProjectsStringOverrides;
|
|
7044
|
-
datePickerMode?:
|
|
7350
|
+
datePickerMode?: DateRangePickerMode;
|
|
7045
7351
|
csvMoneyFormat?: MoneyFormat;
|
|
7046
7352
|
}
|
|
7047
|
-
export const ProjectProfitabilityView: ({ valueOptions, showTitle, stringOverrides, datePickerMode, csvMoneyFormat, }: ProjectProfitabilityProps) =>
|
|
7353
|
+
export const ProjectProfitabilityView: ({ valueOptions, showTitle, stringOverrides, datePickerMode, csvMoneyFormat, }: ProjectProfitabilityProps) => import("react/jsx-runtime").JSX.Element;
|
|
7048
7354
|
|
|
7049
7355
|
}
|
|
7050
7356
|
declare module '@layerfi/components/views/ProjectProfitability/index' {
|
|
@@ -7052,7 +7358,7 @@ declare module '@layerfi/components/views/ProjectProfitability/index' {
|
|
|
7052
7358
|
|
|
7053
7359
|
}
|
|
7054
7360
|
declare module '@layerfi/components/views/Reports/Reports' {
|
|
7055
|
-
import
|
|
7361
|
+
import { RefObject } from 'react';
|
|
7056
7362
|
import { BalanceSheetStringOverrides } from '@layerfi/components/components/BalanceSheet/BalanceSheet';
|
|
7057
7363
|
import { ProfitAndLossCompareOptionsProps } from '@layerfi/components/components/ProfitAndLossCompareOptions/ProfitAndLossCompareOptions';
|
|
7058
7364
|
import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
@@ -7091,7 +7397,7 @@ declare module '@layerfi/components/views/Reports/Reports' {
|
|
|
7091
7397
|
statementOfCashFlowConfig?: TimeRangePickerConfig;
|
|
7092
7398
|
view: ViewBreakpoint;
|
|
7093
7399
|
}
|
|
7094
|
-
export const Reports: ({ title, showTitle, stringOverrides, enabledReports, comparisonConfig, profitAndLossConfig, statementOfCashFlowConfig, }: ReportsProps) =>
|
|
7400
|
+
export const Reports: ({ title, showTitle, stringOverrides, enabledReports, comparisonConfig, profitAndLossConfig, statementOfCashFlowConfig, }: ReportsProps) => import("react/jsx-runtime").JSX.Element;
|
|
7095
7401
|
export {};
|
|
7096
7402
|
|
|
7097
7403
|
}
|
|
@@ -7101,15 +7407,15 @@ declare module '@layerfi/components/views/Reports/index' {
|
|
|
7101
7407
|
}
|
|
7102
7408
|
declare module '@layerfi/components/views/Reports/reportTypes' {
|
|
7103
7409
|
import type { CustomDateRange } from '@layerfi/components/components/DatePicker/DatePickerOptions';
|
|
7104
|
-
import type {
|
|
7410
|
+
import type { DateRangePickerMode } from '@layerfi/components/providers/GlobalDateStore/GlobalDateStoreProvider';
|
|
7105
7411
|
import type { MoneyFormat } from '@layerfi/components/types';
|
|
7106
7412
|
export type TimeRangePickerConfig = {
|
|
7107
7413
|
/**
|
|
7108
7414
|
* @deprecated Use `defaultDatePickerMode` instead
|
|
7109
7415
|
*/
|
|
7110
|
-
datePickerMode?:
|
|
7111
|
-
defaultDatePickerMode?:
|
|
7112
|
-
allowedDatePickerModes?: ReadonlyArray<
|
|
7416
|
+
datePickerMode?: DateRangePickerMode;
|
|
7417
|
+
defaultDatePickerMode?: DateRangePickerMode;
|
|
7418
|
+
allowedDatePickerModes?: ReadonlyArray<DateRangePickerMode>;
|
|
7113
7419
|
csvMoneyFormat?: MoneyFormat;
|
|
7114
7420
|
customDateRanges?: CustomDateRange[];
|
|
7115
7421
|
};
|