@mercoa/react 0.0.38 → 0.0.39-rc2
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/EntityOnboarding.d.ts +4 -1
- package/dist/components/ExternalAccountingSystem.d.ts +1 -0
- package/dist/components/PayableDetails.d.ts +1 -1
- package/dist/components/generics.d.ts +5 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/index.es.js +19228 -18268
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +65 -65
- package/dist/index.umd.js.map +1 -1
- package/dist/mercoa.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -23,6 +23,8 @@ export type OnboardingFormData = {
|
|
|
23
23
|
description?: string;
|
|
24
24
|
formationDate?: Date;
|
|
25
25
|
disableKYB?: 'yes' | 'no';
|
|
26
|
+
emailTo?: string;
|
|
27
|
+
foreignId?: string;
|
|
26
28
|
};
|
|
27
29
|
export declare const addressBlockSchema: {
|
|
28
30
|
addressLine1: yup.StringSchema<string, yup.AnyObject, undefined, "">;
|
|
@@ -209,11 +211,12 @@ export declare function AcceptTosForm({ entity, onComplete, }: {
|
|
|
209
211
|
entity: Mercoa.EntityResponse;
|
|
210
212
|
onComplete?: (val: boolean) => void;
|
|
211
213
|
}): import("react/jsx-runtime").JSX.Element;
|
|
212
|
-
export declare function EntityOnboardingForm({ entity, type, onOnboardingSubmit, onCancel, }: {
|
|
214
|
+
export declare function EntityOnboardingForm({ entity, type, onOnboardingSubmit, onCancel, admin, }: {
|
|
213
215
|
entity: Mercoa.EntityResponse;
|
|
214
216
|
type: 'payee' | 'payor';
|
|
215
217
|
onOnboardingSubmit?: (data: OnboardingFormData) => void;
|
|
216
218
|
onCancel?: () => void;
|
|
219
|
+
admin?: boolean;
|
|
217
220
|
}): import("react/jsx-runtime").JSX.Element;
|
|
218
221
|
export declare function EntityCreation({ organization, type, setEntityData, }: {
|
|
219
222
|
organization: Mercoa.OrganizationResponse;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ManageExternalAccountingSystem(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -26,7 +26,7 @@ export declare function EditPayableForm({ invoice, ocrResponse, uploadedImage, s
|
|
|
26
26
|
height: number;
|
|
27
27
|
admin?: boolean;
|
|
28
28
|
}): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export declare function
|
|
29
|
+
export declare function SelectPaymentMethod({ paymentMethods, paymentMethodSchemas, watch, setValue, isSource, isDestination, vendorId, payerId, currentPaymentMethodId, refreshVendorPaymentMethods, refreshPayerPaymentMethods, clearErrors, }: {
|
|
30
30
|
paymentMethods: Array<Mercoa.PaymentMethodResponse>;
|
|
31
31
|
paymentMethodSchemas: Array<Mercoa.CustomPaymentMethodSchemaResponse>;
|
|
32
32
|
watch: Function;
|
|
@@ -74,7 +74,7 @@ export declare function StatCard({ title, value, icon, size, }: {
|
|
|
74
74
|
icon?: ReactNode;
|
|
75
75
|
size?: 'sm' | 'md';
|
|
76
76
|
}): import("react/jsx-runtime").JSX.Element;
|
|
77
|
-
export declare function MercoaCombobox({ onChange, options, value, label, placeholder, disabledText, displayIndex, secondaryDisplayIndex, className, labelClassName, inputClassName: suppliedInputClassName, multiple, freeText, displaySelectedAs, readOnly, }: {
|
|
77
|
+
export declare function MercoaCombobox({ onChange, options, value, label, placeholder, disabledText, displayIndex, secondaryDisplayIndex, className, labelClassName, inputClassName: suppliedInputClassName, multiple, freeText, showClear, displaySelectedAs, readOnly, }: {
|
|
78
78
|
onChange: (val: any) => any;
|
|
79
79
|
options: {
|
|
80
80
|
value: any;
|
|
@@ -92,6 +92,7 @@ export declare function MercoaCombobox({ onChange, options, value, label, placeh
|
|
|
92
92
|
inputClassName?: string;
|
|
93
93
|
multiple?: boolean;
|
|
94
94
|
freeText?: boolean;
|
|
95
|
+
showClear?: boolean;
|
|
95
96
|
displaySelectedAs?: 'input' | 'pill';
|
|
96
97
|
readOnly?: boolean;
|
|
97
98
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -158,3 +159,6 @@ export declare function CountPill({ count, selected }: {
|
|
|
158
159
|
selected: boolean;
|
|
159
160
|
}): import("react/jsx-runtime").JSX.Element;
|
|
160
161
|
export declare function getAllUsers(client: MercoaClient, entityId: string): Promise<Mercoa.EntityUserResponse[]>;
|
|
162
|
+
export declare function NoSession({ componentName }: {
|
|
163
|
+
componentName: string;
|
|
164
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,6 +10,7 @@ export * from './EntityDetails';
|
|
|
10
10
|
export * from './EntityOnboarding';
|
|
11
11
|
export * from './EntityPortal';
|
|
12
12
|
export * from './EntityUser';
|
|
13
|
+
export * from './ExternalAccountingSystem';
|
|
13
14
|
export * from './InvoiceComments';
|
|
14
15
|
export * from './Mercoa';
|
|
15
16
|
export * from './PayableDetails';
|