@mercoa/react 0.0.44 → 0.0.45
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 +2 -8
- package/dist/components/Checks.d.ts +2 -3
- package/dist/components/Counterparties.d.ts +2 -1
- package/dist/components/CustomPaymentMethod.d.ts +3 -6
- package/dist/components/PayableDetails.d.ts +1 -0
- package/dist/components/generics.d.ts +6 -0
- package/dist/index.es.js +15188 -14888
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +53 -53
- package/dist/index.umd.js.map +1 -1
- package/dist/mercoa.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Mercoa } from '@mercoa/javascript';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { UseFormRegister } from 'react-hook-form';
|
|
4
3
|
import { PlaidLinkError, PlaidLinkOnExitMetadata } from 'react-plaid-link';
|
|
5
4
|
export declare function BankAccounts({ children, onSelect, showAdd, showEdit, verifiedOnly, }: {
|
|
6
5
|
children?: Function;
|
|
@@ -41,13 +40,8 @@ export declare function AddBankAccount({ onSubmit, title, actions, formOnlySubmi
|
|
|
41
40
|
bankAccount?: Mercoa.BankAccountRequest;
|
|
42
41
|
entityId?: Mercoa.EntityId;
|
|
43
42
|
}): import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
export declare function AddBankAccountForm({
|
|
45
|
-
|
|
46
|
-
errors: any;
|
|
47
|
-
watch: Function;
|
|
48
|
-
setValue: Function;
|
|
49
|
-
setError: Function;
|
|
50
|
-
clearErrors: Function;
|
|
43
|
+
export declare function AddBankAccountForm({ prefix }: {
|
|
44
|
+
prefix?: string;
|
|
51
45
|
}): import("react/jsx-runtime").JSX.Element;
|
|
52
46
|
export declare function EditBankAccount({ account, onSubmit, }: {
|
|
53
47
|
account: Mercoa.PaymentMethodResponse.BankAccount;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Mercoa } from '@mercoa/javascript';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { UseFormRegister } from 'react-hook-form';
|
|
4
3
|
export declare function Check({ account, onSelect, showEdit, selected, }: {
|
|
5
4
|
children?: Function;
|
|
6
5
|
account?: Mercoa.PaymentMethodResponse.Check;
|
|
@@ -21,6 +20,6 @@ export declare function AddCheck({ onSubmit, title, actions, formOnlySubmit, che
|
|
|
21
20
|
check?: Mercoa.CheckRequest;
|
|
22
21
|
entityId?: Mercoa.EntityId;
|
|
23
22
|
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export declare function AddCheckForm({
|
|
25
|
-
|
|
23
|
+
export declare function AddCheckForm({ prefix }: {
|
|
24
|
+
prefix?: string;
|
|
26
25
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -50,8 +50,9 @@ export type CounterpartiesChildrenProps = {
|
|
|
50
50
|
setResultsPerPage: (value: number) => void;
|
|
51
51
|
counterparties: Mercoa.CounterpartyResponse[];
|
|
52
52
|
};
|
|
53
|
-
export declare function Counterparties({ type, admin, children, }: {
|
|
53
|
+
export declare function Counterparties({ type, network, admin, children, }: {
|
|
54
54
|
type: 'payor' | 'payee';
|
|
55
|
+
network?: Mercoa.CounterpartyNetworkType[];
|
|
55
56
|
admin?: boolean;
|
|
56
57
|
children?: ({ setSearch, dataLoaded, hasNext, getNext, hasPrevious, getPrevious, resultsPerPage, setResultsPerPage, counterparties, }: CounterpartiesChildrenProps) => JSX.Element;
|
|
57
58
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Mercoa } from '@mercoa/javascript';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
2
|
+
import { Mercoa } from '@mercoa/javascript';
|
|
4
3
|
export declare function CustomPaymentMethods({ children, onSelect, showEdit, schema, }: {
|
|
5
4
|
children?: Function;
|
|
6
5
|
onSelect?: Function;
|
|
@@ -23,10 +22,8 @@ export declare function AddCustomPaymentMethod({ onSubmit, title, actions, formO
|
|
|
23
22
|
entityId?: string;
|
|
24
23
|
schema: Mercoa.CustomPaymentMethodSchemaResponse;
|
|
25
24
|
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export declare function AddCustomPaymentMethodForm({
|
|
27
|
-
|
|
28
|
-
control: any;
|
|
29
|
-
schema: Mercoa.CustomPaymentMethodSchemaResponse;
|
|
25
|
+
export declare function AddCustomPaymentMethodForm({ schema }: {
|
|
26
|
+
schema?: Mercoa.CustomPaymentMethodSchemaResponse;
|
|
30
27
|
}): import("react/jsx-runtime").JSX.Element;
|
|
31
28
|
export declare function findCustomPaymentMethodAccountNameAndNumber(account: Mercoa.CustomPaymentMethodResponse): {
|
|
32
29
|
accountName: string;
|
|
@@ -189,3 +189,4 @@ export declare function MetadataSelection({ schema, field, skipValidation, readO
|
|
|
189
189
|
export declare function PayableLineItems({ readOnly }: {
|
|
190
190
|
readOnly?: boolean;
|
|
191
191
|
}): import("react/jsx-runtime").JSX.Element;
|
|
192
|
+
export declare function PayableFees(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -164,3 +164,9 @@ export declare function NoSession({ componentName }: {
|
|
|
164
164
|
componentName: string;
|
|
165
165
|
}): import("react/jsx-runtime").JSX.Element;
|
|
166
166
|
export declare function removeThousands(_value: any, originalValue: string | number): number;
|
|
167
|
+
export declare function PaymentMethodInlineForm({ name, saveAsStatus, addNewButton, form, }: {
|
|
168
|
+
name: string;
|
|
169
|
+
saveAsStatus: string;
|
|
170
|
+
addNewButton: JSX.Element;
|
|
171
|
+
form: JSX.Element;
|
|
172
|
+
}): import("react/jsx-runtime").JSX.Element;
|