@socotra/ec-react-components 2.14.0 → 2.14.1-next.1

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
@@ -104,7 +104,7 @@ export declare const DraftTransactionForm: {
104
104
  * ElementForm is a form for creating or updating an element of a Quote. It required the element's data model, custom data types, and an element response object.
105
105
  */
106
106
  export declare const ElementForm: {
107
- ({ elementModel, dataTypes, disabled, handleSubmit, dataModel, coverageTerms: coverageTermsDataModel, isSubmitting, preventFormResetOnDisabled, hideSubmitButton, element, validateOnSubmit, submitButtonText, id, titles, getEvaluatedConstraints, dependencyMap, }: Props_3): JSX_2.Element;
107
+ ({ elementModel, dataTypes, disabled, handleSubmit, dataModel, timezone, coverageTerms: coverageTermsDataModel, isSubmitting, preventFormResetOnDisabled, hideSubmitButton, element, validateOnSubmit, submitButtonText, id, titles, getEvaluatedConstraints, dependencyMap, }: Props_3): JSX_2.Element;
108
108
  displayName: string;
109
109
  };
110
110
 
@@ -146,7 +146,7 @@ declare type GetPaymentFormDefaultFieldsProps = {
146
146
  * `InitializedTransactionForm` is a form for updating a transaction on an issued policy. It requires a transaction in an `initialized` state, the current `segment`, and data types / product model / coverage terms from the tenant data model.
147
147
  */
148
148
  export declare const InitializedTransactionForm: {
149
- ({ elementResponse, handleSubmit, paramsChangeInstruction, preventFormResetOnDisabled, disabled, hideSubmitButton, validateOnSubmit, isSubmitting, submitButtonText, id, dataTypes, productModel, coverageTerms: coverageTermsDataModel, titles, getEvaluatedConstraints, dependencyMap, }: Props_8): JSX_2.Element;
149
+ ({ elementResponse, handleSubmit, paramsChangeInstruction, preventFormResetOnDisabled, disabled, hideSubmitButton, validateOnSubmit, isSubmitting, submitButtonText, id, dataTypes, productModel, timezone, coverageTerms: coverageTermsDataModel, titles, getEvaluatedConstraints, dependencyMap, }: Props_8): JSX_2.Element;
150
150
  displayName: string;
151
151
  };
152
152
 
@@ -385,6 +385,10 @@ declare type Props_3 = {
385
385
  * The element object from the quote
386
386
  */
387
387
  element: ElementResponse;
388
+ /**
389
+ * The timezone of the quote or policy
390
+ */
391
+ timezone: string;
388
392
  /**
389
393
  * Hides the submit button
390
394
  */
@@ -679,6 +683,10 @@ declare type Props_8 = {
679
683
  * The modify change instruction for the transaction, taken from the transaction stack of the transaction. For the form, use the last in the stack.
680
684
  */
681
685
  element?: ElementResponse;
686
+ /**
687
+ * The timezone for the policy
688
+ */
689
+ timezone: string;
682
690
  /**
683
691
  * Disables the form
684
692
  */