@socotra/ec-react-components 2.2.6-alpha.0 → 2.3.0-next.0

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
@@ -2,12 +2,12 @@ import { AccountConfigRecord } from '@socotra/ec-react-schemas';
2
2
  import { AccountRequest } from '@socotra/ec-react-schemas';
3
3
  import { AccountResponse } from '@socotra/ec-react-schemas';
4
4
  import { CoverageTermsConfigRecord } from '@socotra/ec-react-schemas';
5
+ import { DataModel } from '@socotra/ec-react-schemas';
5
6
  import { DataTypeConfigRecord } from '@socotra/ec-react-schemas';
6
7
  import { ElementConfig } from '@socotra/ec-react-schemas';
7
8
  import { ElementRequest } from '@socotra/ec-react-schemas';
8
9
  import { ElementResponse } from '@socotra/ec-react-schemas';
9
10
  import { JSX as JSX_2 } from 'react/jsx-runtime';
10
- import { ProductConfig } from '@socotra/ec-react-schemas';
11
11
  import { QuoteRequest } from '@socotra/ec-react-schemas';
12
12
  import { QuoteResponse } from '@socotra/ec-react-schemas';
13
13
 
@@ -111,9 +111,9 @@ declare type Props_2 = {
111
111
  */
112
112
  quote: QuoteResponse;
113
113
  /**
114
- * The resolved data model for quote retrieved from the data model response
114
+ * The resolved data model retrieved from data model response
115
115
  */
116
- productModel: ProductConfig;
116
+ dataModel: DataModel;
117
117
  /**
118
118
  * The custom data types for the configuration that may be referenced by the elementModel
119
119
  */
@@ -213,7 +213,7 @@ declare type Props_3 = {
213
213
  * QuoteForm is a form for updating a quote. It required a product data model, custom data types, and quote object to render the form.
214
214
  */
215
215
  export declare const QuoteForm: {
216
- ({ quote, productModel, dataTypes, disabled, handleSubmit, isSubmitting, preventFormResetOnDisabled, validateOnSubmit, hideSubmitButton, submitButtonText, id, }: Props_2): JSX_2.Element;
216
+ ({ quote, dataModel, dataTypes, disabled, handleSubmit, isSubmitting, preventFormResetOnDisabled, validateOnSubmit, hideSubmitButton, submitButtonText, id, }: Props_2): JSX_2.Element;
217
217
  displayName: string;
218
218
  };
219
219