@socotra/ec-react-components 2.3.0-next.6 → 2.3.0-next.7
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 +33 -0
- package/dist/index.es.js +6079 -5973
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +26 -26
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -8,8 +8,10 @@ import { ElementConfig } from '@socotra/ec-react-schemas';
|
|
|
8
8
|
import { ElementRequest } from '@socotra/ec-react-schemas';
|
|
9
9
|
import { ElementResponse } from '@socotra/ec-react-schemas';
|
|
10
10
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
11
|
+
import { PolicyResponse } from '@socotra/ec-react-schemas';
|
|
11
12
|
import { QuoteRequest } from '@socotra/ec-react-schemas';
|
|
12
13
|
import { QuoteResponse } from '@socotra/ec-react-schemas';
|
|
14
|
+
import { SubsegmentSummary } from '@socotra/ec-react-schemas';
|
|
13
15
|
|
|
14
16
|
/**
|
|
15
17
|
* AccountForm is a form for creating or updating an account. It required a resolved data model, custom data types, and an optional account object to put the form in update mode.
|
|
@@ -27,6 +29,14 @@ export declare const ElementForm: {
|
|
|
27
29
|
displayName: string;
|
|
28
30
|
};
|
|
29
31
|
|
|
32
|
+
/**
|
|
33
|
+
* QuoteForm is a form for updating a quote. It required a product data model, custom data types, and quote object to render the form.
|
|
34
|
+
*/
|
|
35
|
+
export declare const PolicyForm: {
|
|
36
|
+
({ policy, subsegment, dataModel, id, title, }: Props_4): JSX_2.Element;
|
|
37
|
+
displayName: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
30
40
|
declare type Props = {
|
|
31
41
|
/**
|
|
32
42
|
* The resolved data model for **all** accounts retrieved from the data model response
|
|
@@ -209,6 +219,29 @@ declare type Props_3 = {
|
|
|
209
219
|
id?: string;
|
|
210
220
|
};
|
|
211
221
|
|
|
222
|
+
declare type Props_4 = {
|
|
223
|
+
/**
|
|
224
|
+
* The policy object
|
|
225
|
+
*/
|
|
226
|
+
policy: PolicyResponse;
|
|
227
|
+
/**
|
|
228
|
+
* The subsegment summary object
|
|
229
|
+
*/
|
|
230
|
+
subsegment: SubsegmentSummary;
|
|
231
|
+
/**
|
|
232
|
+
* The resolved data model retrieved from data model response
|
|
233
|
+
*/
|
|
234
|
+
dataModel: DataModel;
|
|
235
|
+
/**
|
|
236
|
+
* ID for the form wrapper
|
|
237
|
+
* */
|
|
238
|
+
id?: string;
|
|
239
|
+
/**
|
|
240
|
+
* Form title
|
|
241
|
+
*/
|
|
242
|
+
title?: string;
|
|
243
|
+
};
|
|
244
|
+
|
|
212
245
|
/**
|
|
213
246
|
* 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
247
|
*/
|