braid-ui 1.0.118 → 1.0.120
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/css/braid-ui.css +8 -0
- package/dist/css/braid-ui.min.css +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -30
- package/dist/index.d.ts +37 -30
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -293,8 +293,8 @@ interface BusinessDetailViewProps {
|
|
|
293
293
|
isEditingProfile: boolean;
|
|
294
294
|
statusOptions: SelectOption$5[];
|
|
295
295
|
businessEntityTypeOptions: SelectOption$5[];
|
|
296
|
-
onStatusChange: (newStatus: string) => void
|
|
297
|
-
onProfileDataChange: (profile: BusinessProfile) => void
|
|
296
|
+
onStatusChange: (newStatus: string, note?: string) => void | Promise<void>;
|
|
297
|
+
onProfileDataChange: (profile: BusinessProfile) => void | Promise<void>;
|
|
298
298
|
onToggleProfileEdit: () => void;
|
|
299
299
|
onNavigateToAccounts: () => void;
|
|
300
300
|
onNavigateToCounterparty: () => void;
|
|
@@ -343,8 +343,9 @@ interface CreateBusinessViewProps {
|
|
|
343
343
|
onBusinessTypeChange: (value: string) => void;
|
|
344
344
|
onSubmit: (data: BusinessProfile) => void;
|
|
345
345
|
onCancel: () => void;
|
|
346
|
+
isSubmitting?: boolean;
|
|
346
347
|
}
|
|
347
|
-
declare const CreateBusinessView: ({ form, businessType, onBusinessTypeChange, onSubmit, onCancel }: CreateBusinessViewProps) => react_jsx_runtime.JSX.Element;
|
|
348
|
+
declare const CreateBusinessView: ({ form, businessType, onBusinessTypeChange, onSubmit, onCancel, isSubmitting }: CreateBusinessViewProps) => react_jsx_runtime.JSX.Element;
|
|
348
349
|
|
|
349
350
|
interface CounterpartiesViewProps {
|
|
350
351
|
table: React.ReactNode;
|
|
@@ -378,7 +379,6 @@ interface PaymentMethodCardProps {
|
|
|
378
379
|
beneficiaryFiIdType?: string;
|
|
379
380
|
correspondentBankId?: string;
|
|
380
381
|
correspondentFiId?: string;
|
|
381
|
-
correspondentFiName?: string;
|
|
382
382
|
intermediaryBankId?: string;
|
|
383
383
|
wireType?: "DOMESTIC" | "INTERNATIONAL";
|
|
384
384
|
direction?: "INBOUND" | "OUTBOUND";
|
|
@@ -457,7 +457,7 @@ interface CounterpartyDetailViewProps {
|
|
|
457
457
|
wirePaymentMethod?: PaymentMethodCardProps | null;
|
|
458
458
|
onStatusChange: (newStatus: string) => void;
|
|
459
459
|
onToggleProfileEdit: () => void;
|
|
460
|
-
onProfileDataChange: (data: CounterpartyDetail$1) => void
|
|
460
|
+
onProfileDataChange: (data: CounterpartyDetail$1) => void | Promise<void>;
|
|
461
461
|
onACHSave: (data: PaymentMethodCardProps) => void;
|
|
462
462
|
onACHDelete: () => void;
|
|
463
463
|
onWireSave: (data: PaymentMethodCardProps) => void;
|
|
@@ -512,14 +512,16 @@ interface AddressFormProps {
|
|
|
512
512
|
countryCodeError?: boolean;
|
|
513
513
|
address?: AddressData;
|
|
514
514
|
onAddressChange?: (address: AddressData) => void;
|
|
515
|
+
requiredFields?: Array<"line1" | "city" | "state" | "postalCode" | "countryCode">;
|
|
515
516
|
}
|
|
516
|
-
declare const AddressForm: ({ title, description, fieldPrefix, showAddressType, addressTypeOptions, fieldOverrides, showApartment, countryCode, onCountryCodeChange, countryCodeError, address, onAddressChange, }: AddressFormProps) => react_jsx_runtime.JSX.Element;
|
|
517
|
+
declare const AddressForm: ({ title, description, fieldPrefix, showAddressType, addressTypeOptions, fieldOverrides, showApartment, countryCode, onCountryCodeChange, countryCodeError, address, onAddressChange, requiredFields, }: AddressFormProps) => react_jsx_runtime.JSX.Element;
|
|
517
518
|
|
|
518
519
|
interface CreateCounterpartyViewProps {
|
|
519
520
|
counterpartyData: any;
|
|
520
521
|
onBasicInfoChange: (data: any) => void;
|
|
521
522
|
onCancel: () => void;
|
|
522
523
|
onSubmit: () => void;
|
|
524
|
+
isSubmitting?: boolean;
|
|
523
525
|
achPaymentMethod: PaymentMethodCardProps | null;
|
|
524
526
|
wirePaymentMethod: PaymentMethodCardProps | null;
|
|
525
527
|
hasWire: boolean;
|
|
@@ -531,7 +533,7 @@ interface CreateCounterpartyViewProps {
|
|
|
531
533
|
address?: AddressData;
|
|
532
534
|
onAddressChange?: (address: AddressData) => void;
|
|
533
535
|
}
|
|
534
|
-
declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete, onCountryCodeChange, address, onAddressChange, }: CreateCounterpartyViewProps) => react_jsx_runtime.JSX.Element;
|
|
536
|
+
declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, isSubmitting, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete, onCountryCodeChange, address, onAddressChange, }: CreateCounterpartyViewProps) => react_jsx_runtime.JSX.Element;
|
|
535
537
|
|
|
536
538
|
interface BusinessAccount {
|
|
537
539
|
id: string;
|
|
@@ -648,23 +650,23 @@ interface IndividualsViewProps {
|
|
|
648
650
|
declare const IndividualsView: ({ title, filters, statusOptions, isLoading, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
|
|
649
651
|
|
|
650
652
|
declare const individualProfileEditSchema: z.ZodObject<{
|
|
651
|
-
firstName: z.ZodOptional<z.
|
|
652
|
-
middleName: z.ZodOptional<z.
|
|
653
|
-
lastName: z.ZodOptional<z.
|
|
654
|
-
dateOfBirth: z.ZodOptional<z.
|
|
655
|
-
idType: z.ZodOptional<z.
|
|
656
|
-
idNumber: z.ZodOptional<z.
|
|
657
|
-
email: z.ZodOptional<z.
|
|
658
|
-
mobilePhone: z.ZodOptional<z.
|
|
659
|
-
streetAddress: z.ZodOptional<z.
|
|
660
|
-
apartment: z.ZodOptional<z.
|
|
661
|
-
city: z.ZodOptional<z.
|
|
662
|
-
state: z.ZodOptional<z.
|
|
663
|
-
postalCode: z.ZodOptional<z.
|
|
664
|
-
country: z.ZodOptional<z.
|
|
665
|
-
externalId: z.ZodOptional<z.
|
|
666
|
-
productId: z.ZodOptional<z.
|
|
667
|
-
achCompanyId: z.ZodOptional<z.
|
|
653
|
+
firstName: z.ZodOptional<z.ZodAny>;
|
|
654
|
+
middleName: z.ZodOptional<z.ZodAny>;
|
|
655
|
+
lastName: z.ZodOptional<z.ZodAny>;
|
|
656
|
+
dateOfBirth: z.ZodOptional<z.ZodAny>;
|
|
657
|
+
idType: z.ZodOptional<z.ZodAny>;
|
|
658
|
+
idNumber: z.ZodOptional<z.ZodAny>;
|
|
659
|
+
email: z.ZodOptional<z.ZodAny>;
|
|
660
|
+
mobilePhone: z.ZodOptional<z.ZodAny>;
|
|
661
|
+
streetAddress: z.ZodOptional<z.ZodAny>;
|
|
662
|
+
apartment: z.ZodOptional<z.ZodAny>;
|
|
663
|
+
city: z.ZodOptional<z.ZodAny>;
|
|
664
|
+
state: z.ZodOptional<z.ZodAny>;
|
|
665
|
+
postalCode: z.ZodOptional<z.ZodAny>;
|
|
666
|
+
country: z.ZodOptional<z.ZodAny>;
|
|
667
|
+
externalId: z.ZodOptional<z.ZodAny>;
|
|
668
|
+
productId: z.ZodOptional<z.ZodAny>;
|
|
669
|
+
achCompanyId: z.ZodOptional<z.ZodAny>;
|
|
668
670
|
}, z.core.$strip>;
|
|
669
671
|
type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
|
|
670
672
|
|
|
@@ -700,7 +702,7 @@ interface IndividualDetailViewProps {
|
|
|
700
702
|
onProfileSave?: (data: IndividualProfileEdit) => Promise<void> | void;
|
|
701
703
|
status: string;
|
|
702
704
|
statusOptions: SelectOption$3[];
|
|
703
|
-
onStatusChange: (newStatus: string) => void
|
|
705
|
+
onStatusChange: (newStatus: string, note?: string) => void | Promise<void>;
|
|
704
706
|
latestOFAC?: OFACCheck;
|
|
705
707
|
onNavigateToOFAC?: (ofacCheckId?: string) => void;
|
|
706
708
|
onNavigateToAccounts: () => void;
|
|
@@ -745,8 +747,9 @@ interface CreateIndividualViewProps {
|
|
|
745
747
|
form: CreateIndividualViewForm;
|
|
746
748
|
onCancel: () => void;
|
|
747
749
|
onSubmit: () => void;
|
|
750
|
+
isSubmitting?: boolean;
|
|
748
751
|
}
|
|
749
|
-
declare const CreateIndividualView: ({ form, onCancel, onSubmit }: CreateIndividualViewProps) => react_jsx_runtime.JSX.Element;
|
|
752
|
+
declare const CreateIndividualView: ({ form, onCancel, onSubmit, isSubmitting }: CreateIndividualViewProps) => react_jsx_runtime.JSX.Element;
|
|
750
753
|
|
|
751
754
|
interface ACHBankCardProps {
|
|
752
755
|
data?: Partial<ACHTransfer>;
|
|
@@ -829,7 +832,7 @@ interface BusinessProfileCardProps {
|
|
|
829
832
|
data?: Partial<BusinessProfile>;
|
|
830
833
|
businessId?: string;
|
|
831
834
|
identityVerification?: IdentityVerification;
|
|
832
|
-
onDataChange?: (data: BusinessProfile) => void
|
|
835
|
+
onDataChange?: (data: BusinessProfile) => void | Promise<void>;
|
|
833
836
|
isEditing?: boolean;
|
|
834
837
|
onToggleEdit?: () => void;
|
|
835
838
|
className?: string;
|
|
@@ -859,7 +862,7 @@ declare const CounterpartyBasicInfo: ({ value, onDataChange }: CounterpartyBasic
|
|
|
859
862
|
|
|
860
863
|
interface CounterpartyProfileCardProps {
|
|
861
864
|
data?: Partial<CounterpartyDetail$1>;
|
|
862
|
-
onDataChange?: (data: CounterpartyDetail$1) => void
|
|
865
|
+
onDataChange?: (data: CounterpartyDetail$1) => void | Promise<void>;
|
|
863
866
|
isEditing?: boolean;
|
|
864
867
|
onToggleEdit?: () => void;
|
|
865
868
|
hideActions?: boolean;
|
|
@@ -1001,12 +1004,13 @@ interface CreateFeeViewProps {
|
|
|
1001
1004
|
nextStartCount: string;
|
|
1002
1005
|
onSubmit: (e: React.FormEvent) => void;
|
|
1003
1006
|
onCancel: () => void;
|
|
1007
|
+
isSubmitting?: boolean;
|
|
1004
1008
|
feeTypeOptions: OptionItem[];
|
|
1005
1009
|
transactionGroupOptions: OptionItem[];
|
|
1006
1010
|
transactionTypeOptions: OptionItem[];
|
|
1007
1011
|
associatedEntityTypeOptions: OptionItem[];
|
|
1008
1012
|
}
|
|
1009
|
-
declare const CreateFeeView: ({ formData, onFieldChange, onSameDayChange, transactionScope, onTransactionScopeChange, transactionGroups, onTransactionGroupsChange, transactionTypes, onTransactionTypesChange, tiers, newTier, onNewTierChange, onAddTier, onRemoveTier, nextStartCount, onSubmit, onCancel, feeTypeOptions, transactionGroupOptions, transactionTypeOptions, associatedEntityTypeOptions, }: CreateFeeViewProps) => react_jsx_runtime.JSX.Element;
|
|
1013
|
+
declare const CreateFeeView: ({ formData, onFieldChange, onSameDayChange, transactionScope, onTransactionScopeChange, transactionGroups, onTransactionGroupsChange, transactionTypes, onTransactionTypesChange, tiers, newTier, onNewTierChange, onAddTier, onRemoveTier, nextStartCount, onSubmit, onCancel, isSubmitting, feeTypeOptions, transactionGroupOptions, transactionTypeOptions, associatedEntityTypeOptions, }: CreateFeeViewProps) => react_jsx_runtime.JSX.Element;
|
|
1010
1014
|
|
|
1011
1015
|
interface TieredFee {
|
|
1012
1016
|
amount: number;
|
|
@@ -1033,10 +1037,11 @@ interface AccountFee {
|
|
|
1033
1037
|
interface FeeDetailViewProps {
|
|
1034
1038
|
fee: AccountFee;
|
|
1035
1039
|
onDelete: () => void;
|
|
1040
|
+
isDeleting?: boolean;
|
|
1036
1041
|
onNavigateBack: () => void;
|
|
1037
1042
|
onNavigateToAccount: (accountNumber: string) => void;
|
|
1038
1043
|
}
|
|
1039
|
-
declare const FeeDetailView: ({ fee, onDelete, onNavigateBack, onNavigateToAccount }: FeeDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
1044
|
+
declare const FeeDetailView: ({ fee, onDelete, isDeleting, onNavigateBack, onNavigateToAccount }: FeeDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
1040
1045
|
|
|
1041
1046
|
interface FeeFilters {
|
|
1042
1047
|
accountNumber: string;
|
|
@@ -1809,6 +1814,8 @@ interface PageAction {
|
|
|
1809
1814
|
icon?: React$1.ComponentType<{
|
|
1810
1815
|
className?: string;
|
|
1811
1816
|
}>;
|
|
1817
|
+
disabled?: boolean;
|
|
1818
|
+
loading?: boolean;
|
|
1812
1819
|
}
|
|
1813
1820
|
interface PageCard {
|
|
1814
1821
|
component: React$1.ComponentType<any>;
|
package/dist/index.d.ts
CHANGED
|
@@ -293,8 +293,8 @@ interface BusinessDetailViewProps {
|
|
|
293
293
|
isEditingProfile: boolean;
|
|
294
294
|
statusOptions: SelectOption$5[];
|
|
295
295
|
businessEntityTypeOptions: SelectOption$5[];
|
|
296
|
-
onStatusChange: (newStatus: string) => void
|
|
297
|
-
onProfileDataChange: (profile: BusinessProfile) => void
|
|
296
|
+
onStatusChange: (newStatus: string, note?: string) => void | Promise<void>;
|
|
297
|
+
onProfileDataChange: (profile: BusinessProfile) => void | Promise<void>;
|
|
298
298
|
onToggleProfileEdit: () => void;
|
|
299
299
|
onNavigateToAccounts: () => void;
|
|
300
300
|
onNavigateToCounterparty: () => void;
|
|
@@ -343,8 +343,9 @@ interface CreateBusinessViewProps {
|
|
|
343
343
|
onBusinessTypeChange: (value: string) => void;
|
|
344
344
|
onSubmit: (data: BusinessProfile) => void;
|
|
345
345
|
onCancel: () => void;
|
|
346
|
+
isSubmitting?: boolean;
|
|
346
347
|
}
|
|
347
|
-
declare const CreateBusinessView: ({ form, businessType, onBusinessTypeChange, onSubmit, onCancel }: CreateBusinessViewProps) => react_jsx_runtime.JSX.Element;
|
|
348
|
+
declare const CreateBusinessView: ({ form, businessType, onBusinessTypeChange, onSubmit, onCancel, isSubmitting }: CreateBusinessViewProps) => react_jsx_runtime.JSX.Element;
|
|
348
349
|
|
|
349
350
|
interface CounterpartiesViewProps {
|
|
350
351
|
table: React.ReactNode;
|
|
@@ -378,7 +379,6 @@ interface PaymentMethodCardProps {
|
|
|
378
379
|
beneficiaryFiIdType?: string;
|
|
379
380
|
correspondentBankId?: string;
|
|
380
381
|
correspondentFiId?: string;
|
|
381
|
-
correspondentFiName?: string;
|
|
382
382
|
intermediaryBankId?: string;
|
|
383
383
|
wireType?: "DOMESTIC" | "INTERNATIONAL";
|
|
384
384
|
direction?: "INBOUND" | "OUTBOUND";
|
|
@@ -457,7 +457,7 @@ interface CounterpartyDetailViewProps {
|
|
|
457
457
|
wirePaymentMethod?: PaymentMethodCardProps | null;
|
|
458
458
|
onStatusChange: (newStatus: string) => void;
|
|
459
459
|
onToggleProfileEdit: () => void;
|
|
460
|
-
onProfileDataChange: (data: CounterpartyDetail$1) => void
|
|
460
|
+
onProfileDataChange: (data: CounterpartyDetail$1) => void | Promise<void>;
|
|
461
461
|
onACHSave: (data: PaymentMethodCardProps) => void;
|
|
462
462
|
onACHDelete: () => void;
|
|
463
463
|
onWireSave: (data: PaymentMethodCardProps) => void;
|
|
@@ -512,14 +512,16 @@ interface AddressFormProps {
|
|
|
512
512
|
countryCodeError?: boolean;
|
|
513
513
|
address?: AddressData;
|
|
514
514
|
onAddressChange?: (address: AddressData) => void;
|
|
515
|
+
requiredFields?: Array<"line1" | "city" | "state" | "postalCode" | "countryCode">;
|
|
515
516
|
}
|
|
516
|
-
declare const AddressForm: ({ title, description, fieldPrefix, showAddressType, addressTypeOptions, fieldOverrides, showApartment, countryCode, onCountryCodeChange, countryCodeError, address, onAddressChange, }: AddressFormProps) => react_jsx_runtime.JSX.Element;
|
|
517
|
+
declare const AddressForm: ({ title, description, fieldPrefix, showAddressType, addressTypeOptions, fieldOverrides, showApartment, countryCode, onCountryCodeChange, countryCodeError, address, onAddressChange, requiredFields, }: AddressFormProps) => react_jsx_runtime.JSX.Element;
|
|
517
518
|
|
|
518
519
|
interface CreateCounterpartyViewProps {
|
|
519
520
|
counterpartyData: any;
|
|
520
521
|
onBasicInfoChange: (data: any) => void;
|
|
521
522
|
onCancel: () => void;
|
|
522
523
|
onSubmit: () => void;
|
|
524
|
+
isSubmitting?: boolean;
|
|
523
525
|
achPaymentMethod: PaymentMethodCardProps | null;
|
|
524
526
|
wirePaymentMethod: PaymentMethodCardProps | null;
|
|
525
527
|
hasWire: boolean;
|
|
@@ -531,7 +533,7 @@ interface CreateCounterpartyViewProps {
|
|
|
531
533
|
address?: AddressData;
|
|
532
534
|
onAddressChange?: (address: AddressData) => void;
|
|
533
535
|
}
|
|
534
|
-
declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete, onCountryCodeChange, address, onAddressChange, }: CreateCounterpartyViewProps) => react_jsx_runtime.JSX.Element;
|
|
536
|
+
declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, isSubmitting, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete, onCountryCodeChange, address, onAddressChange, }: CreateCounterpartyViewProps) => react_jsx_runtime.JSX.Element;
|
|
535
537
|
|
|
536
538
|
interface BusinessAccount {
|
|
537
539
|
id: string;
|
|
@@ -648,23 +650,23 @@ interface IndividualsViewProps {
|
|
|
648
650
|
declare const IndividualsView: ({ title, filters, statusOptions, isLoading, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
|
|
649
651
|
|
|
650
652
|
declare const individualProfileEditSchema: z.ZodObject<{
|
|
651
|
-
firstName: z.ZodOptional<z.
|
|
652
|
-
middleName: z.ZodOptional<z.
|
|
653
|
-
lastName: z.ZodOptional<z.
|
|
654
|
-
dateOfBirth: z.ZodOptional<z.
|
|
655
|
-
idType: z.ZodOptional<z.
|
|
656
|
-
idNumber: z.ZodOptional<z.
|
|
657
|
-
email: z.ZodOptional<z.
|
|
658
|
-
mobilePhone: z.ZodOptional<z.
|
|
659
|
-
streetAddress: z.ZodOptional<z.
|
|
660
|
-
apartment: z.ZodOptional<z.
|
|
661
|
-
city: z.ZodOptional<z.
|
|
662
|
-
state: z.ZodOptional<z.
|
|
663
|
-
postalCode: z.ZodOptional<z.
|
|
664
|
-
country: z.ZodOptional<z.
|
|
665
|
-
externalId: z.ZodOptional<z.
|
|
666
|
-
productId: z.ZodOptional<z.
|
|
667
|
-
achCompanyId: z.ZodOptional<z.
|
|
653
|
+
firstName: z.ZodOptional<z.ZodAny>;
|
|
654
|
+
middleName: z.ZodOptional<z.ZodAny>;
|
|
655
|
+
lastName: z.ZodOptional<z.ZodAny>;
|
|
656
|
+
dateOfBirth: z.ZodOptional<z.ZodAny>;
|
|
657
|
+
idType: z.ZodOptional<z.ZodAny>;
|
|
658
|
+
idNumber: z.ZodOptional<z.ZodAny>;
|
|
659
|
+
email: z.ZodOptional<z.ZodAny>;
|
|
660
|
+
mobilePhone: z.ZodOptional<z.ZodAny>;
|
|
661
|
+
streetAddress: z.ZodOptional<z.ZodAny>;
|
|
662
|
+
apartment: z.ZodOptional<z.ZodAny>;
|
|
663
|
+
city: z.ZodOptional<z.ZodAny>;
|
|
664
|
+
state: z.ZodOptional<z.ZodAny>;
|
|
665
|
+
postalCode: z.ZodOptional<z.ZodAny>;
|
|
666
|
+
country: z.ZodOptional<z.ZodAny>;
|
|
667
|
+
externalId: z.ZodOptional<z.ZodAny>;
|
|
668
|
+
productId: z.ZodOptional<z.ZodAny>;
|
|
669
|
+
achCompanyId: z.ZodOptional<z.ZodAny>;
|
|
668
670
|
}, z.core.$strip>;
|
|
669
671
|
type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
|
|
670
672
|
|
|
@@ -700,7 +702,7 @@ interface IndividualDetailViewProps {
|
|
|
700
702
|
onProfileSave?: (data: IndividualProfileEdit) => Promise<void> | void;
|
|
701
703
|
status: string;
|
|
702
704
|
statusOptions: SelectOption$3[];
|
|
703
|
-
onStatusChange: (newStatus: string) => void
|
|
705
|
+
onStatusChange: (newStatus: string, note?: string) => void | Promise<void>;
|
|
704
706
|
latestOFAC?: OFACCheck;
|
|
705
707
|
onNavigateToOFAC?: (ofacCheckId?: string) => void;
|
|
706
708
|
onNavigateToAccounts: () => void;
|
|
@@ -745,8 +747,9 @@ interface CreateIndividualViewProps {
|
|
|
745
747
|
form: CreateIndividualViewForm;
|
|
746
748
|
onCancel: () => void;
|
|
747
749
|
onSubmit: () => void;
|
|
750
|
+
isSubmitting?: boolean;
|
|
748
751
|
}
|
|
749
|
-
declare const CreateIndividualView: ({ form, onCancel, onSubmit }: CreateIndividualViewProps) => react_jsx_runtime.JSX.Element;
|
|
752
|
+
declare const CreateIndividualView: ({ form, onCancel, onSubmit, isSubmitting }: CreateIndividualViewProps) => react_jsx_runtime.JSX.Element;
|
|
750
753
|
|
|
751
754
|
interface ACHBankCardProps {
|
|
752
755
|
data?: Partial<ACHTransfer>;
|
|
@@ -829,7 +832,7 @@ interface BusinessProfileCardProps {
|
|
|
829
832
|
data?: Partial<BusinessProfile>;
|
|
830
833
|
businessId?: string;
|
|
831
834
|
identityVerification?: IdentityVerification;
|
|
832
|
-
onDataChange?: (data: BusinessProfile) => void
|
|
835
|
+
onDataChange?: (data: BusinessProfile) => void | Promise<void>;
|
|
833
836
|
isEditing?: boolean;
|
|
834
837
|
onToggleEdit?: () => void;
|
|
835
838
|
className?: string;
|
|
@@ -859,7 +862,7 @@ declare const CounterpartyBasicInfo: ({ value, onDataChange }: CounterpartyBasic
|
|
|
859
862
|
|
|
860
863
|
interface CounterpartyProfileCardProps {
|
|
861
864
|
data?: Partial<CounterpartyDetail$1>;
|
|
862
|
-
onDataChange?: (data: CounterpartyDetail$1) => void
|
|
865
|
+
onDataChange?: (data: CounterpartyDetail$1) => void | Promise<void>;
|
|
863
866
|
isEditing?: boolean;
|
|
864
867
|
onToggleEdit?: () => void;
|
|
865
868
|
hideActions?: boolean;
|
|
@@ -1001,12 +1004,13 @@ interface CreateFeeViewProps {
|
|
|
1001
1004
|
nextStartCount: string;
|
|
1002
1005
|
onSubmit: (e: React.FormEvent) => void;
|
|
1003
1006
|
onCancel: () => void;
|
|
1007
|
+
isSubmitting?: boolean;
|
|
1004
1008
|
feeTypeOptions: OptionItem[];
|
|
1005
1009
|
transactionGroupOptions: OptionItem[];
|
|
1006
1010
|
transactionTypeOptions: OptionItem[];
|
|
1007
1011
|
associatedEntityTypeOptions: OptionItem[];
|
|
1008
1012
|
}
|
|
1009
|
-
declare const CreateFeeView: ({ formData, onFieldChange, onSameDayChange, transactionScope, onTransactionScopeChange, transactionGroups, onTransactionGroupsChange, transactionTypes, onTransactionTypesChange, tiers, newTier, onNewTierChange, onAddTier, onRemoveTier, nextStartCount, onSubmit, onCancel, feeTypeOptions, transactionGroupOptions, transactionTypeOptions, associatedEntityTypeOptions, }: CreateFeeViewProps) => react_jsx_runtime.JSX.Element;
|
|
1013
|
+
declare const CreateFeeView: ({ formData, onFieldChange, onSameDayChange, transactionScope, onTransactionScopeChange, transactionGroups, onTransactionGroupsChange, transactionTypes, onTransactionTypesChange, tiers, newTier, onNewTierChange, onAddTier, onRemoveTier, nextStartCount, onSubmit, onCancel, isSubmitting, feeTypeOptions, transactionGroupOptions, transactionTypeOptions, associatedEntityTypeOptions, }: CreateFeeViewProps) => react_jsx_runtime.JSX.Element;
|
|
1010
1014
|
|
|
1011
1015
|
interface TieredFee {
|
|
1012
1016
|
amount: number;
|
|
@@ -1033,10 +1037,11 @@ interface AccountFee {
|
|
|
1033
1037
|
interface FeeDetailViewProps {
|
|
1034
1038
|
fee: AccountFee;
|
|
1035
1039
|
onDelete: () => void;
|
|
1040
|
+
isDeleting?: boolean;
|
|
1036
1041
|
onNavigateBack: () => void;
|
|
1037
1042
|
onNavigateToAccount: (accountNumber: string) => void;
|
|
1038
1043
|
}
|
|
1039
|
-
declare const FeeDetailView: ({ fee, onDelete, onNavigateBack, onNavigateToAccount }: FeeDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
1044
|
+
declare const FeeDetailView: ({ fee, onDelete, isDeleting, onNavigateBack, onNavigateToAccount }: FeeDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
1040
1045
|
|
|
1041
1046
|
interface FeeFilters {
|
|
1042
1047
|
accountNumber: string;
|
|
@@ -1809,6 +1814,8 @@ interface PageAction {
|
|
|
1809
1814
|
icon?: React$1.ComponentType<{
|
|
1810
1815
|
className?: string;
|
|
1811
1816
|
}>;
|
|
1817
|
+
disabled?: boolean;
|
|
1818
|
+
loading?: boolean;
|
|
1812
1819
|
}
|
|
1813
1820
|
interface PageCard {
|
|
1814
1821
|
component: React$1.ComponentType<any>;
|