braid-ui 1.0.117 → 1.0.119

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.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;
@@ -377,6 +378,7 @@ interface PaymentMethodCardProps {
377
378
  beneficiaryBankName?: string;
378
379
  beneficiaryFiIdType?: string;
379
380
  correspondentBankId?: string;
381
+ correspondentFiId?: string;
380
382
  intermediaryBankId?: string;
381
383
  wireType?: "DOMESTIC" | "INTERNATIONAL";
382
384
  direction?: "INBOUND" | "OUTBOUND";
@@ -455,7 +457,7 @@ interface CounterpartyDetailViewProps {
455
457
  wirePaymentMethod?: PaymentMethodCardProps | null;
456
458
  onStatusChange: (newStatus: string) => void;
457
459
  onToggleProfileEdit: () => void;
458
- onProfileDataChange: (data: CounterpartyDetail$1) => void;
460
+ onProfileDataChange: (data: CounterpartyDetail$1) => void | Promise<void>;
459
461
  onACHSave: (data: PaymentMethodCardProps) => void;
460
462
  onACHDelete: () => void;
461
463
  onWireSave: (data: PaymentMethodCardProps) => void;
@@ -518,6 +520,7 @@ interface CreateCounterpartyViewProps {
518
520
  onBasicInfoChange: (data: any) => void;
519
521
  onCancel: () => void;
520
522
  onSubmit: () => void;
523
+ isSubmitting?: boolean;
521
524
  achPaymentMethod: PaymentMethodCardProps | null;
522
525
  wirePaymentMethod: PaymentMethodCardProps | null;
523
526
  hasWire: boolean;
@@ -529,7 +532,7 @@ interface CreateCounterpartyViewProps {
529
532
  address?: AddressData;
530
533
  onAddressChange?: (address: AddressData) => void;
531
534
  }
532
- declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete, onCountryCodeChange, address, onAddressChange, }: CreateCounterpartyViewProps) => react_jsx_runtime.JSX.Element;
535
+ declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, isSubmitting, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete, onCountryCodeChange, address, onAddressChange, }: CreateCounterpartyViewProps) => react_jsx_runtime.JSX.Element;
533
536
 
534
537
  interface BusinessAccount {
535
538
  id: string;
@@ -646,22 +649,23 @@ interface IndividualsViewProps {
646
649
  declare const IndividualsView: ({ title, filters, statusOptions, isLoading, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
647
650
 
648
651
  declare const individualProfileEditSchema: z.ZodObject<{
649
- firstName: z.ZodOptional<z.ZodString>;
650
- lastName: z.ZodOptional<z.ZodString>;
651
- dateOfBirth: z.ZodOptional<z.ZodString>;
652
- idType: z.ZodOptional<z.ZodString>;
653
- idNumber: z.ZodOptional<z.ZodString>;
654
- ssn: z.ZodOptional<z.ZodString>;
655
- email: z.ZodOptional<z.ZodString>;
656
- mobilePhone: z.ZodOptional<z.ZodString>;
657
- streetAddress: z.ZodOptional<z.ZodString>;
658
- apartment: z.ZodOptional<z.ZodString>;
659
- city: z.ZodOptional<z.ZodString>;
660
- state: z.ZodOptional<z.ZodString>;
661
- postalCode: z.ZodOptional<z.ZodString>;
662
- country: z.ZodOptional<z.ZodString>;
663
- externalId: z.ZodOptional<z.ZodCoercedString<unknown>>;
664
- productId: z.ZodOptional<z.ZodCoercedString<unknown>>;
652
+ firstName: z.ZodOptional<z.ZodAny>;
653
+ middleName: z.ZodOptional<z.ZodAny>;
654
+ lastName: z.ZodOptional<z.ZodAny>;
655
+ dateOfBirth: z.ZodOptional<z.ZodAny>;
656
+ idType: z.ZodOptional<z.ZodAny>;
657
+ idNumber: z.ZodOptional<z.ZodAny>;
658
+ email: z.ZodOptional<z.ZodAny>;
659
+ mobilePhone: z.ZodOptional<z.ZodAny>;
660
+ streetAddress: z.ZodOptional<z.ZodAny>;
661
+ apartment: z.ZodOptional<z.ZodAny>;
662
+ city: z.ZodOptional<z.ZodAny>;
663
+ state: z.ZodOptional<z.ZodAny>;
664
+ postalCode: z.ZodOptional<z.ZodAny>;
665
+ country: z.ZodOptional<z.ZodAny>;
666
+ externalId: z.ZodOptional<z.ZodAny>;
667
+ productId: z.ZodOptional<z.ZodAny>;
668
+ achCompanyId: z.ZodOptional<z.ZodAny>;
665
669
  }, z.core.$strip>;
666
670
  type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
667
671
 
@@ -697,7 +701,7 @@ interface IndividualDetailViewProps {
697
701
  onProfileSave?: (data: IndividualProfileEdit) => Promise<void> | void;
698
702
  status: string;
699
703
  statusOptions: SelectOption$3[];
700
- onStatusChange: (newStatus: string) => void;
704
+ onStatusChange: (newStatus: string, note?: string) => void | Promise<void>;
701
705
  latestOFAC?: OFACCheck;
702
706
  onNavigateToOFAC?: (ofacCheckId?: string) => void;
703
707
  onNavigateToAccounts: () => void;
@@ -710,6 +714,7 @@ interface IndividualDetailViewProps {
710
714
  profileIsEditing: boolean;
711
715
  onToggleProfileEdit: () => void;
712
716
  onProductIdClick?: (productId: string) => void;
717
+ identityVerification?: IdentityVerification;
713
718
  externalAccounts: Array<{
714
719
  id: string;
715
720
  routingNumber: string;
@@ -729,7 +734,7 @@ interface IndividualDetailViewProps {
729
734
  onDocumentDelete?: (documentId: string) => Promise<void | boolean> | void | boolean;
730
735
  renderDocumentViewer?: (document: BusinessDocument) => React.ReactNode;
731
736
  }
732
- declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onNavigateToBusiness, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, onAddAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
737
+ declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onNavigateToBusiness, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, identityVerification, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, onAddAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
733
738
 
734
739
  type CreateIndividualViewForm = {
735
740
  handleSubmit: (onValid: any) => (e?: any) => void;
@@ -741,8 +746,9 @@ interface CreateIndividualViewProps {
741
746
  form: CreateIndividualViewForm;
742
747
  onCancel: () => void;
743
748
  onSubmit: () => void;
749
+ isSubmitting?: boolean;
744
750
  }
745
- declare const CreateIndividualView: ({ form, onCancel, onSubmit }: CreateIndividualViewProps) => react_jsx_runtime.JSX.Element;
751
+ declare const CreateIndividualView: ({ form, onCancel, onSubmit, isSubmitting }: CreateIndividualViewProps) => react_jsx_runtime.JSX.Element;
746
752
 
747
753
  interface ACHBankCardProps {
748
754
  data?: Partial<ACHTransfer>;
@@ -825,7 +831,7 @@ interface BusinessProfileCardProps {
825
831
  data?: Partial<BusinessProfile>;
826
832
  businessId?: string;
827
833
  identityVerification?: IdentityVerification;
828
- onDataChange?: (data: BusinessProfile) => void;
834
+ onDataChange?: (data: BusinessProfile) => void | Promise<void>;
829
835
  isEditing?: boolean;
830
836
  onToggleEdit?: () => void;
831
837
  className?: string;
@@ -855,7 +861,7 @@ declare const CounterpartyBasicInfo: ({ value, onDataChange }: CounterpartyBasic
855
861
 
856
862
  interface CounterpartyProfileCardProps {
857
863
  data?: Partial<CounterpartyDetail$1>;
858
- onDataChange?: (data: CounterpartyDetail$1) => void;
864
+ onDataChange?: (data: CounterpartyDetail$1) => void | Promise<void>;
859
865
  isEditing?: boolean;
860
866
  onToggleEdit?: () => void;
861
867
  hideActions?: boolean;
@@ -997,12 +1003,13 @@ interface CreateFeeViewProps {
997
1003
  nextStartCount: string;
998
1004
  onSubmit: (e: React.FormEvent) => void;
999
1005
  onCancel: () => void;
1006
+ isSubmitting?: boolean;
1000
1007
  feeTypeOptions: OptionItem[];
1001
1008
  transactionGroupOptions: OptionItem[];
1002
1009
  transactionTypeOptions: OptionItem[];
1003
1010
  associatedEntityTypeOptions: OptionItem[];
1004
1011
  }
1005
- 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;
1012
+ 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;
1006
1013
 
1007
1014
  interface TieredFee {
1008
1015
  amount: number;
@@ -1029,10 +1036,11 @@ interface AccountFee {
1029
1036
  interface FeeDetailViewProps {
1030
1037
  fee: AccountFee;
1031
1038
  onDelete: () => void;
1039
+ isDeleting?: boolean;
1032
1040
  onNavigateBack: () => void;
1033
1041
  onNavigateToAccount: (accountNumber: string) => void;
1034
1042
  }
1035
- declare const FeeDetailView: ({ fee, onDelete, onNavigateBack, onNavigateToAccount }: FeeDetailViewProps) => react_jsx_runtime.JSX.Element;
1043
+ declare const FeeDetailView: ({ fee, onDelete, isDeleting, onNavigateBack, onNavigateToAccount }: FeeDetailViewProps) => react_jsx_runtime.JSX.Element;
1036
1044
 
1037
1045
  interface FeeFilters {
1038
1046
  accountNumber: string;
@@ -1805,6 +1813,8 @@ interface PageAction {
1805
1813
  icon?: React$1.ComponentType<{
1806
1814
  className?: string;
1807
1815
  }>;
1816
+ disabled?: boolean;
1817
+ loading?: boolean;
1808
1818
  }
1809
1819
  interface PageCard {
1810
1820
  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;
@@ -377,6 +378,7 @@ interface PaymentMethodCardProps {
377
378
  beneficiaryBankName?: string;
378
379
  beneficiaryFiIdType?: string;
379
380
  correspondentBankId?: string;
381
+ correspondentFiId?: string;
380
382
  intermediaryBankId?: string;
381
383
  wireType?: "DOMESTIC" | "INTERNATIONAL";
382
384
  direction?: "INBOUND" | "OUTBOUND";
@@ -455,7 +457,7 @@ interface CounterpartyDetailViewProps {
455
457
  wirePaymentMethod?: PaymentMethodCardProps | null;
456
458
  onStatusChange: (newStatus: string) => void;
457
459
  onToggleProfileEdit: () => void;
458
- onProfileDataChange: (data: CounterpartyDetail$1) => void;
460
+ onProfileDataChange: (data: CounterpartyDetail$1) => void | Promise<void>;
459
461
  onACHSave: (data: PaymentMethodCardProps) => void;
460
462
  onACHDelete: () => void;
461
463
  onWireSave: (data: PaymentMethodCardProps) => void;
@@ -518,6 +520,7 @@ interface CreateCounterpartyViewProps {
518
520
  onBasicInfoChange: (data: any) => void;
519
521
  onCancel: () => void;
520
522
  onSubmit: () => void;
523
+ isSubmitting?: boolean;
521
524
  achPaymentMethod: PaymentMethodCardProps | null;
522
525
  wirePaymentMethod: PaymentMethodCardProps | null;
523
526
  hasWire: boolean;
@@ -529,7 +532,7 @@ interface CreateCounterpartyViewProps {
529
532
  address?: AddressData;
530
533
  onAddressChange?: (address: AddressData) => void;
531
534
  }
532
- declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete, onCountryCodeChange, address, onAddressChange, }: CreateCounterpartyViewProps) => react_jsx_runtime.JSX.Element;
535
+ declare const CreateCounterpartyView: ({ counterpartyData, onBasicInfoChange, onCancel, onSubmit, isSubmitting, achPaymentMethod, wirePaymentMethod, hasWire, onACHSave, onACHDelete, onWireSave, onWireDelete, onCountryCodeChange, address, onAddressChange, }: CreateCounterpartyViewProps) => react_jsx_runtime.JSX.Element;
533
536
 
534
537
  interface BusinessAccount {
535
538
  id: string;
@@ -646,22 +649,23 @@ interface IndividualsViewProps {
646
649
  declare const IndividualsView: ({ title, filters, statusOptions, isLoading, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
647
650
 
648
651
  declare const individualProfileEditSchema: z.ZodObject<{
649
- firstName: z.ZodOptional<z.ZodString>;
650
- lastName: z.ZodOptional<z.ZodString>;
651
- dateOfBirth: z.ZodOptional<z.ZodString>;
652
- idType: z.ZodOptional<z.ZodString>;
653
- idNumber: z.ZodOptional<z.ZodString>;
654
- ssn: z.ZodOptional<z.ZodString>;
655
- email: z.ZodOptional<z.ZodString>;
656
- mobilePhone: z.ZodOptional<z.ZodString>;
657
- streetAddress: z.ZodOptional<z.ZodString>;
658
- apartment: z.ZodOptional<z.ZodString>;
659
- city: z.ZodOptional<z.ZodString>;
660
- state: z.ZodOptional<z.ZodString>;
661
- postalCode: z.ZodOptional<z.ZodString>;
662
- country: z.ZodOptional<z.ZodString>;
663
- externalId: z.ZodOptional<z.ZodCoercedString<unknown>>;
664
- productId: z.ZodOptional<z.ZodCoercedString<unknown>>;
652
+ firstName: z.ZodOptional<z.ZodAny>;
653
+ middleName: z.ZodOptional<z.ZodAny>;
654
+ lastName: z.ZodOptional<z.ZodAny>;
655
+ dateOfBirth: z.ZodOptional<z.ZodAny>;
656
+ idType: z.ZodOptional<z.ZodAny>;
657
+ idNumber: z.ZodOptional<z.ZodAny>;
658
+ email: z.ZodOptional<z.ZodAny>;
659
+ mobilePhone: z.ZodOptional<z.ZodAny>;
660
+ streetAddress: z.ZodOptional<z.ZodAny>;
661
+ apartment: z.ZodOptional<z.ZodAny>;
662
+ city: z.ZodOptional<z.ZodAny>;
663
+ state: z.ZodOptional<z.ZodAny>;
664
+ postalCode: z.ZodOptional<z.ZodAny>;
665
+ country: z.ZodOptional<z.ZodAny>;
666
+ externalId: z.ZodOptional<z.ZodAny>;
667
+ productId: z.ZodOptional<z.ZodAny>;
668
+ achCompanyId: z.ZodOptional<z.ZodAny>;
665
669
  }, z.core.$strip>;
666
670
  type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
667
671
 
@@ -697,7 +701,7 @@ interface IndividualDetailViewProps {
697
701
  onProfileSave?: (data: IndividualProfileEdit) => Promise<void> | void;
698
702
  status: string;
699
703
  statusOptions: SelectOption$3[];
700
- onStatusChange: (newStatus: string) => void;
704
+ onStatusChange: (newStatus: string, note?: string) => void | Promise<void>;
701
705
  latestOFAC?: OFACCheck;
702
706
  onNavigateToOFAC?: (ofacCheckId?: string) => void;
703
707
  onNavigateToAccounts: () => void;
@@ -710,6 +714,7 @@ interface IndividualDetailViewProps {
710
714
  profileIsEditing: boolean;
711
715
  onToggleProfileEdit: () => void;
712
716
  onProductIdClick?: (productId: string) => void;
717
+ identityVerification?: IdentityVerification;
713
718
  externalAccounts: Array<{
714
719
  id: string;
715
720
  routingNumber: string;
@@ -729,7 +734,7 @@ interface IndividualDetailViewProps {
729
734
  onDocumentDelete?: (documentId: string) => Promise<void | boolean> | void | boolean;
730
735
  renderDocumentViewer?: (document: BusinessDocument) => React.ReactNode;
731
736
  }
732
- declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onNavigateToBusiness, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, onAddAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
737
+ declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onNavigateToBusiness, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, identityVerification, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, onAddAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
733
738
 
734
739
  type CreateIndividualViewForm = {
735
740
  handleSubmit: (onValid: any) => (e?: any) => void;
@@ -741,8 +746,9 @@ interface CreateIndividualViewProps {
741
746
  form: CreateIndividualViewForm;
742
747
  onCancel: () => void;
743
748
  onSubmit: () => void;
749
+ isSubmitting?: boolean;
744
750
  }
745
- declare const CreateIndividualView: ({ form, onCancel, onSubmit }: CreateIndividualViewProps) => react_jsx_runtime.JSX.Element;
751
+ declare const CreateIndividualView: ({ form, onCancel, onSubmit, isSubmitting }: CreateIndividualViewProps) => react_jsx_runtime.JSX.Element;
746
752
 
747
753
  interface ACHBankCardProps {
748
754
  data?: Partial<ACHTransfer>;
@@ -825,7 +831,7 @@ interface BusinessProfileCardProps {
825
831
  data?: Partial<BusinessProfile>;
826
832
  businessId?: string;
827
833
  identityVerification?: IdentityVerification;
828
- onDataChange?: (data: BusinessProfile) => void;
834
+ onDataChange?: (data: BusinessProfile) => void | Promise<void>;
829
835
  isEditing?: boolean;
830
836
  onToggleEdit?: () => void;
831
837
  className?: string;
@@ -855,7 +861,7 @@ declare const CounterpartyBasicInfo: ({ value, onDataChange }: CounterpartyBasic
855
861
 
856
862
  interface CounterpartyProfileCardProps {
857
863
  data?: Partial<CounterpartyDetail$1>;
858
- onDataChange?: (data: CounterpartyDetail$1) => void;
864
+ onDataChange?: (data: CounterpartyDetail$1) => void | Promise<void>;
859
865
  isEditing?: boolean;
860
866
  onToggleEdit?: () => void;
861
867
  hideActions?: boolean;
@@ -997,12 +1003,13 @@ interface CreateFeeViewProps {
997
1003
  nextStartCount: string;
998
1004
  onSubmit: (e: React.FormEvent) => void;
999
1005
  onCancel: () => void;
1006
+ isSubmitting?: boolean;
1000
1007
  feeTypeOptions: OptionItem[];
1001
1008
  transactionGroupOptions: OptionItem[];
1002
1009
  transactionTypeOptions: OptionItem[];
1003
1010
  associatedEntityTypeOptions: OptionItem[];
1004
1011
  }
1005
- 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;
1012
+ 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;
1006
1013
 
1007
1014
  interface TieredFee {
1008
1015
  amount: number;
@@ -1029,10 +1036,11 @@ interface AccountFee {
1029
1036
  interface FeeDetailViewProps {
1030
1037
  fee: AccountFee;
1031
1038
  onDelete: () => void;
1039
+ isDeleting?: boolean;
1032
1040
  onNavigateBack: () => void;
1033
1041
  onNavigateToAccount: (accountNumber: string) => void;
1034
1042
  }
1035
- declare const FeeDetailView: ({ fee, onDelete, onNavigateBack, onNavigateToAccount }: FeeDetailViewProps) => react_jsx_runtime.JSX.Element;
1043
+ declare const FeeDetailView: ({ fee, onDelete, isDeleting, onNavigateBack, onNavigateToAccount }: FeeDetailViewProps) => react_jsx_runtime.JSX.Element;
1036
1044
 
1037
1045
  interface FeeFilters {
1038
1046
  accountNumber: string;
@@ -1805,6 +1813,8 @@ interface PageAction {
1805
1813
  icon?: React$1.ComponentType<{
1806
1814
  className?: string;
1807
1815
  }>;
1816
+ disabled?: boolean;
1817
+ loading?: boolean;
1808
1818
  }
1809
1819
  interface PageCard {
1810
1820
  component: React$1.ComponentType<any>;