@socotra/ec-react-components 2.15.2 → 2.15.3-demo.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 +20 -3
- package/dist/index.es.js +18721 -17221
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +39 -34
- 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
|
@@ -167,10 +167,10 @@ export declare const NewPaymentForm: {
|
|
|
167
167
|
};
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
170
|
+
* PolicyForm is a form for updating a policy. It required a product data model, custom data types, and policy object to render the form.
|
|
171
171
|
*/
|
|
172
172
|
export declare const PolicyForm: {
|
|
173
|
-
({ policy, segment, dataModel, id, titles, }: Props_4): JSX_2.Element;
|
|
173
|
+
({ policy, segment, dataModel, hideAllFields, id, titles, }: Props_4): JSX_2.Element;
|
|
174
174
|
displayName: string;
|
|
175
175
|
};
|
|
176
176
|
|
|
@@ -327,6 +327,14 @@ declare type Props_2 = {
|
|
|
327
327
|
* }
|
|
328
328
|
*/
|
|
329
329
|
getEvaluatedConstraints?: (request: EvaluateConstraintsRequest, tenantLocator: string, locator: string) => Promise<ConstraintEvaluationResponse | undefined>;
|
|
330
|
+
/**
|
|
331
|
+
* Whether to hide all fields
|
|
332
|
+
*/
|
|
333
|
+
hideAllFields?: boolean;
|
|
334
|
+
/**
|
|
335
|
+
* The hidden exception for the form
|
|
336
|
+
*/
|
|
337
|
+
hiddenExceptions?: string[];
|
|
330
338
|
/**
|
|
331
339
|
* Titles for the form
|
|
332
340
|
*/
|
|
@@ -385,6 +393,10 @@ declare type Props_3 = {
|
|
|
385
393
|
* The element object from the quote
|
|
386
394
|
*/
|
|
387
395
|
element: ElementResponse;
|
|
396
|
+
/**
|
|
397
|
+
* The quote object, used to logically render fields based on other quote elements
|
|
398
|
+
*/
|
|
399
|
+
quote?: QuoteResponse;
|
|
388
400
|
/**
|
|
389
401
|
* The timezone of the quote or policy
|
|
390
402
|
*/
|
|
@@ -472,10 +484,15 @@ declare type Props_4 = {
|
|
|
472
484
|
* ID for the form wrapper
|
|
473
485
|
* */
|
|
474
486
|
id?: string;
|
|
487
|
+
/**
|
|
488
|
+
* Whether to hide all fields
|
|
489
|
+
*/
|
|
490
|
+
hideAllFields?: boolean;
|
|
475
491
|
/**
|
|
476
492
|
* Titles
|
|
477
493
|
*/
|
|
478
494
|
titles?: {
|
|
495
|
+
details?: string;
|
|
479
496
|
formTitle?: string;
|
|
480
497
|
seeAdvancedDetails?: string;
|
|
481
498
|
coverageTerms?: string;
|
|
@@ -841,7 +858,7 @@ declare type Props_9 = {
|
|
|
841
858
|
* QuoteForm is a form for updating a quote. It required a product data model, custom data types, and quote object to render the form.
|
|
842
859
|
*/
|
|
843
860
|
export declare const QuoteForm: {
|
|
844
|
-
({ quote, dataModel, dataTypes, disabled, handleSubmit, isSubmitting, preventFormResetOnDisabled, validateOnSubmit, hideSubmitButton, submitButtonText, id, titles, getEvaluatedConstraints, dependencyMap, }: Props_2): JSX_2.Element;
|
|
861
|
+
({ quote, dataModel, dataTypes, disabled, handleSubmit, isSubmitting, preventFormResetOnDisabled, validateOnSubmit, hideSubmitButton, submitButtonText, id, titles, getEvaluatedConstraints, dependencyMap, hideAllFields, hiddenExceptions, }: Props_2): JSX_2.Element;
|
|
845
862
|
displayName: string;
|
|
846
863
|
};
|
|
847
864
|
|