@socotra/ec-react-components 2.8.1-next.2 → 2.8.1-next.4

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.ts CHANGED
@@ -57,7 +57,7 @@ export declare const ElementForm: {
57
57
  * Apply a payment to an existing invoice form
58
58
  */
59
59
  export declare const ExistingPaymentForm: {
60
- ({ accountLocator, invoiceLocator, balance, currency, validateOnSubmit, hideSubmitButton, submitButtonText, handleSubmit, isSubmitting, disabled, id, titles, }: Props_6): JSX_2.Element;
60
+ ({ accountLocator, invoiceLocator, balance, currency, validateOnSubmit, hideSubmitButton, submitButtonText, handleSubmit, isSubmitting, disabled, id, titles, invoiceBalance, }: Props_6): JSX_2.Element;
61
61
  displayName: string;
62
62
  };
63
63
 
@@ -70,6 +70,7 @@ declare type GetPaymentFormDefaultFieldsProps = {
70
70
  transactionMethod?: string;
71
71
  transactionMethods?: Record<TransactionMethodEnum, string>;
72
72
  transactionNumber?: string;
73
+ invoiceBalance?: string;
73
74
  };
74
75
  };
75
76
 
@@ -85,7 +86,7 @@ export declare const InitializedTransactionForm: {
85
86
  * PaymentForm is a form for making a payment.
86
87
  */
87
88
  export declare const NewPaymentForm: {
88
- ({ accountLocator, invoiceLocator, currency, validateOnSubmit, hideSubmitButton, submitButtonText, handleSubmit, isSubmitting, disabled, dataModel, id, titles, }: Props_5): JSX_2.Element;
89
+ ({ accountLocator, invoiceLocator, currency, validateOnSubmit, hideSubmitButton, submitButtonText, handleSubmit, isSubmitting, disabled, dataModel, id, titles, invoiceBalance, }: Props_5): JSX_2.Element;
89
90
  displayName: string;
90
91
  };
91
92
 
@@ -461,6 +462,10 @@ declare type Props_5 = {
461
462
  titles?: {
462
463
  formTitle?: string;
463
464
  } & Partial<GetPaymentFormDefaultFieldsProps['titles']>;
465
+ /**
466
+ * Invoice balance
467
+ */
468
+ invoiceBalance: number;
464
469
  };
465
470
 
466
471
  declare type Props_6 = {
@@ -515,7 +520,12 @@ declare type Props_6 = {
515
520
  formTitle?: string;
516
521
  balance?: string;
517
522
  amountToApply?: string;
523
+ invoiceBalance?: string;
518
524
  };
525
+ /**
526
+ * Invoice balance
527
+ */
528
+ invoiceBalance: number;
519
529
  };
520
530
 
521
531
  declare type Props_7 = {