braid-ui 1.0.107 → 1.0.109
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/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -9
- package/dist/index.d.ts +7 -9
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -186,7 +186,7 @@ declare const businessProfileSchema: z.ZodObject<{
|
|
|
186
186
|
city: z.ZodOptional<z.ZodString>;
|
|
187
187
|
state: z.ZodOptional<z.ZodString>;
|
|
188
188
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
189
|
-
countryCode: z.ZodString
|
|
189
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
190
190
|
type: z.ZodOptional<z.ZodString>;
|
|
191
191
|
}, z.core.$strip>>;
|
|
192
192
|
submittedBy: z.ZodOptional<z.ZodObject<{
|
|
@@ -345,11 +345,11 @@ declare const addressSchema: z.ZodObject<{
|
|
|
345
345
|
city: z.ZodOptional<z.ZodString>;
|
|
346
346
|
state: z.ZodOptional<z.ZodString>;
|
|
347
347
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
348
|
-
countryCode: z.ZodString
|
|
348
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
349
349
|
type: z.ZodOptional<z.ZodString>;
|
|
350
350
|
}, z.core.$strip>;
|
|
351
351
|
declare const counterpartyDetailSchema: z.ZodObject<{
|
|
352
|
-
email: z.
|
|
352
|
+
email: z.ZodOptional<z.ZodString>;
|
|
353
353
|
phone: z.ZodOptional<z.ZodString>;
|
|
354
354
|
dateOfBirth: z.ZodOptional<z.ZodString>;
|
|
355
355
|
idNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -362,7 +362,7 @@ declare const counterpartyDetailSchema: z.ZodObject<{
|
|
|
362
362
|
city: z.ZodOptional<z.ZodString>;
|
|
363
363
|
state: z.ZodOptional<z.ZodString>;
|
|
364
364
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
365
|
-
countryCode: z.ZodString
|
|
365
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
366
366
|
type: z.ZodOptional<z.ZodString>;
|
|
367
367
|
}, z.core.$strip>>;
|
|
368
368
|
}, z.core.$strip>;
|
|
@@ -394,7 +394,7 @@ declare const intermediaryFISchema: z.ZodObject<{
|
|
|
394
394
|
city: z.ZodOptional<z.ZodString>;
|
|
395
395
|
state: z.ZodOptional<z.ZodString>;
|
|
396
396
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
397
|
-
countryCode: z.ZodString
|
|
397
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
398
398
|
type: z.ZodOptional<z.ZodString>;
|
|
399
399
|
}, z.core.$strip>>;
|
|
400
400
|
}, z.core.$strip>;
|
|
@@ -434,10 +434,9 @@ interface CreateCounterpartyViewProps {
|
|
|
434
434
|
onACHDelete: () => void;
|
|
435
435
|
onWireSave: (data: PaymentMethodCardProps) => void;
|
|
436
436
|
onWireDelete: () => void;
|
|
437
|
-
validationErrors?: Record<string, boolean>;
|
|
438
437
|
onCountryCodeChange?: (value: string) => void;
|
|
439
438
|
}
|
|
440
|
-
declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete,
|
|
439
|
+
declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete, onCountryCodeChange, }: CreateCounterpartyViewProps) => react_jsx_runtime.JSX.Element;
|
|
441
440
|
|
|
442
441
|
interface BusinessAccount {
|
|
443
442
|
id: string;
|
|
@@ -789,9 +788,8 @@ declare const ContactInfoCard: ({ isEditing, onToggleEdit, className }: ContactI
|
|
|
789
788
|
interface CounterpartyBasicInfoProps {
|
|
790
789
|
value?: any;
|
|
791
790
|
onDataChange?: (data: any) => void;
|
|
792
|
-
validationErrors?: Record<string, boolean>;
|
|
793
791
|
}
|
|
794
|
-
declare const CounterpartyBasicInfo: ({ value, onDataChange
|
|
792
|
+
declare const CounterpartyBasicInfo: ({ value, onDataChange }: CounterpartyBasicInfoProps) => react_jsx_runtime.JSX.Element;
|
|
795
793
|
|
|
796
794
|
interface CounterpartyProfileCardProps {
|
|
797
795
|
data?: Partial<CounterpartyDetail$1>;
|
package/dist/index.d.ts
CHANGED
|
@@ -186,7 +186,7 @@ declare const businessProfileSchema: z.ZodObject<{
|
|
|
186
186
|
city: z.ZodOptional<z.ZodString>;
|
|
187
187
|
state: z.ZodOptional<z.ZodString>;
|
|
188
188
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
189
|
-
countryCode: z.ZodString
|
|
189
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
190
190
|
type: z.ZodOptional<z.ZodString>;
|
|
191
191
|
}, z.core.$strip>>;
|
|
192
192
|
submittedBy: z.ZodOptional<z.ZodObject<{
|
|
@@ -345,11 +345,11 @@ declare const addressSchema: z.ZodObject<{
|
|
|
345
345
|
city: z.ZodOptional<z.ZodString>;
|
|
346
346
|
state: z.ZodOptional<z.ZodString>;
|
|
347
347
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
348
|
-
countryCode: z.ZodString
|
|
348
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
349
349
|
type: z.ZodOptional<z.ZodString>;
|
|
350
350
|
}, z.core.$strip>;
|
|
351
351
|
declare const counterpartyDetailSchema: z.ZodObject<{
|
|
352
|
-
email: z.
|
|
352
|
+
email: z.ZodOptional<z.ZodString>;
|
|
353
353
|
phone: z.ZodOptional<z.ZodString>;
|
|
354
354
|
dateOfBirth: z.ZodOptional<z.ZodString>;
|
|
355
355
|
idNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -362,7 +362,7 @@ declare const counterpartyDetailSchema: z.ZodObject<{
|
|
|
362
362
|
city: z.ZodOptional<z.ZodString>;
|
|
363
363
|
state: z.ZodOptional<z.ZodString>;
|
|
364
364
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
365
|
-
countryCode: z.ZodString
|
|
365
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
366
366
|
type: z.ZodOptional<z.ZodString>;
|
|
367
367
|
}, z.core.$strip>>;
|
|
368
368
|
}, z.core.$strip>;
|
|
@@ -394,7 +394,7 @@ declare const intermediaryFISchema: z.ZodObject<{
|
|
|
394
394
|
city: z.ZodOptional<z.ZodString>;
|
|
395
395
|
state: z.ZodOptional<z.ZodString>;
|
|
396
396
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
397
|
-
countryCode: z.ZodString
|
|
397
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
398
398
|
type: z.ZodOptional<z.ZodString>;
|
|
399
399
|
}, z.core.$strip>>;
|
|
400
400
|
}, z.core.$strip>;
|
|
@@ -434,10 +434,9 @@ interface CreateCounterpartyViewProps {
|
|
|
434
434
|
onACHDelete: () => void;
|
|
435
435
|
onWireSave: (data: PaymentMethodCardProps) => void;
|
|
436
436
|
onWireDelete: () => void;
|
|
437
|
-
validationErrors?: Record<string, boolean>;
|
|
438
437
|
onCountryCodeChange?: (value: string) => void;
|
|
439
438
|
}
|
|
440
|
-
declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete,
|
|
439
|
+
declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete, onCountryCodeChange, }: CreateCounterpartyViewProps) => react_jsx_runtime.JSX.Element;
|
|
441
440
|
|
|
442
441
|
interface BusinessAccount {
|
|
443
442
|
id: string;
|
|
@@ -789,9 +788,8 @@ declare const ContactInfoCard: ({ isEditing, onToggleEdit, className }: ContactI
|
|
|
789
788
|
interface CounterpartyBasicInfoProps {
|
|
790
789
|
value?: any;
|
|
791
790
|
onDataChange?: (data: any) => void;
|
|
792
|
-
validationErrors?: Record<string, boolean>;
|
|
793
791
|
}
|
|
794
|
-
declare const CounterpartyBasicInfo: ({ value, onDataChange
|
|
792
|
+
declare const CounterpartyBasicInfo: ({ value, onDataChange }: CounterpartyBasicInfoProps) => react_jsx_runtime.JSX.Element;
|
|
795
793
|
|
|
796
794
|
interface CounterpartyProfileCardProps {
|
|
797
795
|
data?: Partial<CounterpartyDetail$1>;
|