@mercoa/react 0.0.46-rc2 → 0.0.46-rc4
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/Counterparties.d.ts +2 -1
- package/dist/components/EntityDetails.d.ts +2 -1
- package/dist/components/Payables.d.ts +2 -1
- package/dist/index.es.js +401 -397
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +15 -15
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -48,13 +48,14 @@ export type CounterpartiesChildrenProps = {
|
|
|
48
48
|
getPrevious: () => void;
|
|
49
49
|
resultsPerPage: number;
|
|
50
50
|
setResultsPerPage: (value: number) => void;
|
|
51
|
+
count: number;
|
|
51
52
|
counterparties: Mercoa.CounterpartyResponse[];
|
|
52
53
|
};
|
|
53
54
|
export declare function Counterparties({ type, network, admin, children, }: {
|
|
54
55
|
type: 'payor' | 'payee';
|
|
55
56
|
network?: Mercoa.CounterpartyNetworkType[];
|
|
56
57
|
admin?: boolean;
|
|
57
|
-
children?: ({ setSearch, dataLoaded, hasNext, getNext, hasPrevious, getPrevious, resultsPerPage, setResultsPerPage, counterparties, }: CounterpartiesChildrenProps) => JSX.Element;
|
|
58
|
+
children?: ({ setSearch, dataLoaded, hasNext, getNext, hasPrevious, getPrevious, resultsPerPage, setResultsPerPage, counterparties, count, }: CounterpartiesChildrenProps) => JSX.Element;
|
|
58
59
|
}): import("react/jsx-runtime").JSX.Element;
|
|
59
60
|
export declare function CounterpartyDetails({ counterparty, counterpartyId, admin, type, children, }: {
|
|
60
61
|
counterparty?: Mercoa.CounterpartyResponse;
|
|
@@ -20,9 +20,10 @@ export type EntityEmailLogsChildrenProps = {
|
|
|
20
20
|
getPrevious: () => void;
|
|
21
21
|
resultsPerPage: number;
|
|
22
22
|
setResultsPerPage: (value: number) => void;
|
|
23
|
+
count: number;
|
|
23
24
|
};
|
|
24
25
|
export declare function EntityEmailLogs({ entity, onClick, children, }: {
|
|
25
26
|
entity?: Mercoa.EntityResponse;
|
|
26
27
|
onClick?: (invoiceId: string) => void;
|
|
27
|
-
children?: ({ dataLoaded, emails, hasNext, getNext, hasPrevious, getPrevious, resultsPerPage, setResultsPerPage, }: EntityEmailLogsChildrenProps) => JSX.Element;
|
|
28
|
+
children?: ({ dataLoaded, emails, hasNext, getNext, hasPrevious, getPrevious, resultsPerPage, setResultsPerPage, count, }: EntityEmailLogsChildrenProps) => JSX.Element;
|
|
28
29
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,6 +15,7 @@ export type PayablesTableChildrenProps = {
|
|
|
15
15
|
getPrevious: () => void;
|
|
16
16
|
resultsPerPage: number;
|
|
17
17
|
setResultsPerPage: (value: number) => void;
|
|
18
|
+
count: number;
|
|
18
19
|
selectedInvoiceStatuses: Mercoa.InvoiceStatus[];
|
|
19
20
|
setSelectedInvoiceStatues: (statuses: Mercoa.InvoiceStatus[]) => void;
|
|
20
21
|
downloadCSV: () => void;
|
|
@@ -27,7 +28,7 @@ export declare function PayablesTable({ statuses, search, metadata, startDate, e
|
|
|
27
28
|
endDate?: Date;
|
|
28
29
|
onSelectInvoice?: (invoice: Mercoa.InvoiceResponse) => any;
|
|
29
30
|
columns?: InvoiceTableColumn[];
|
|
30
|
-
children?: ({ dataLoaded, invoices, hasNext, getNext, hasPrevious, getPrevious, resultsPerPage, setResultsPerPage, selectedInvoiceStatuses, setSelectedInvoiceStatues, downloadCSV, }: PayablesTableChildrenProps) => ReactElement | null;
|
|
31
|
+
children?: ({ dataLoaded, invoices, hasNext, getNext, hasPrevious, getPrevious, resultsPerPage, setResultsPerPage, count, selectedInvoiceStatuses, setSelectedInvoiceStatues, downloadCSV, }: PayablesTableChildrenProps) => ReactElement | null;
|
|
31
32
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
32
33
|
export declare function InvoiceStatusPill({ status, failureType, amount, payerId, vendorId, dueDate, paymentSourceId, paymentDestinationId, type, }: {
|
|
33
34
|
status: Mercoa.InvoiceStatus;
|