@mercoa/react 0.0.48-rc1 → 0.0.48-rc3
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/components/BankAccounts.d.ts +1 -1
- package/dist/components/EntityOnboarding.d.ts +1 -1
- package/dist/components/PayableDetails.d.ts +2 -5
- package/dist/components/Payables.d.ts +5 -1
- package/dist/index.es.js +19258 -17472
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +57 -57
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
|
@@ -15,7 +15,7 @@ export declare function BankAccount({ children, account, onSelect, showEdit, sel
|
|
|
15
15
|
showEdit?: boolean;
|
|
16
16
|
selected?: boolean;
|
|
17
17
|
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export declare function
|
|
18
|
+
export declare function AddBankAccountButton({ entityId, onSelect, bankAccount, }: {
|
|
19
19
|
entityId?: Mercoa.EntityId;
|
|
20
20
|
onSelect?: Function;
|
|
21
21
|
bankAccount?: Mercoa.BankAccountRequest;
|
|
@@ -74,12 +74,9 @@ export type PayableDocumentChildrenProps = {
|
|
|
74
74
|
theme?: 'light' | 'dark';
|
|
75
75
|
onFileUpload: (fileReaderObj: string, mimeType: string) => void;
|
|
76
76
|
};
|
|
77
|
-
export declare function PayableDocument({ onOcrComplete,
|
|
77
|
+
export declare function PayableDocument({ onOcrComplete, setUploadedDocument, invoice, height, downloadButton, viewEmailButton, theme, children, }: {
|
|
78
78
|
onOcrComplete?: (ocrResponse?: Mercoa.OcrResponse) => void;
|
|
79
|
-
|
|
80
|
-
fileReaderObj: string;
|
|
81
|
-
mimeType: string;
|
|
82
|
-
}) => void;
|
|
79
|
+
setUploadedDocument?: (fileReaderObj: string) => void;
|
|
83
80
|
invoice?: Mercoa.InvoiceResponse;
|
|
84
81
|
height: number;
|
|
85
82
|
downloadButton?: ({ onClick }: {
|
|
@@ -16,6 +16,10 @@ export type PayablesTableChildrenProps = {
|
|
|
16
16
|
resultsPerPage: number;
|
|
17
17
|
setResultsPerPage: (value: number) => void;
|
|
18
18
|
count: number;
|
|
19
|
+
orderBy: Mercoa.InvoiceOrderByField;
|
|
20
|
+
setOrderBy: (value: Mercoa.InvoiceOrderByField) => void;
|
|
21
|
+
orderDirection: Mercoa.OrderDirection;
|
|
22
|
+
setOrderDirection: (value: Mercoa.OrderDirection) => void;
|
|
19
23
|
selectedInvoiceStatuses: Mercoa.InvoiceStatus[];
|
|
20
24
|
setSelectedInvoiceStatues: (statuses: Mercoa.InvoiceStatus[]) => void;
|
|
21
25
|
downloadCSV: () => void;
|
|
@@ -28,7 +32,7 @@ export declare function PayablesTable({ statuses, search, metadata, startDate, e
|
|
|
28
32
|
endDate?: Date;
|
|
29
33
|
onSelectInvoice?: (invoice: Mercoa.InvoiceResponse) => any;
|
|
30
34
|
columns?: InvoiceTableColumn[];
|
|
31
|
-
children?: (
|
|
35
|
+
children?: (props: PayablesTableChildrenProps) => ReactElement | null;
|
|
32
36
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
33
37
|
export declare function InvoiceStatusPill({ status, failureType, amount, payerId, vendorId, dueDate, paymentSourceId, paymentDestinationId, type, }: {
|
|
34
38
|
status: Mercoa.InvoiceStatus;
|