@socotra/ec-react-components 2.15.2 → 2.15.3-demo.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 +35 -3
- package/dist/index.es.js +19402 -17883
- 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
|
|
|
@@ -285,6 +285,21 @@ declare type Props_2 = {
|
|
|
285
285
|
* The text to display on the submit button
|
|
286
286
|
*/
|
|
287
287
|
submitButtonText?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Whether to hide the default fields
|
|
290
|
+
* default is false
|
|
291
|
+
*/
|
|
292
|
+
hideDefaultFields?: boolean;
|
|
293
|
+
/**
|
|
294
|
+
* Whether to hide the advanced fields
|
|
295
|
+
* default is false
|
|
296
|
+
*/
|
|
297
|
+
hideAdvancedFields?: boolean;
|
|
298
|
+
/**
|
|
299
|
+
* Whether to hide the coverage terms fields
|
|
300
|
+
* default is false
|
|
301
|
+
*/
|
|
302
|
+
hideCoverageTerms?: boolean;
|
|
288
303
|
/**
|
|
289
304
|
* ID for the form wrapper
|
|
290
305
|
* */
|
|
@@ -327,6 +342,14 @@ declare type Props_2 = {
|
|
|
327
342
|
* }
|
|
328
343
|
*/
|
|
329
344
|
getEvaluatedConstraints?: (request: EvaluateConstraintsRequest, tenantLocator: string, locator: string) => Promise<ConstraintEvaluationResponse | undefined>;
|
|
345
|
+
/**
|
|
346
|
+
* Whether to hide all fields
|
|
347
|
+
*/
|
|
348
|
+
hideAllFields?: boolean;
|
|
349
|
+
/**
|
|
350
|
+
* The hidden exception for the form
|
|
351
|
+
*/
|
|
352
|
+
hiddenExceptions?: string[];
|
|
330
353
|
/**
|
|
331
354
|
* Titles for the form
|
|
332
355
|
*/
|
|
@@ -385,6 +408,10 @@ declare type Props_3 = {
|
|
|
385
408
|
* The element object from the quote
|
|
386
409
|
*/
|
|
387
410
|
element: ElementResponse;
|
|
411
|
+
/**
|
|
412
|
+
* The quote object, used to logically render fields based on other quote elements
|
|
413
|
+
*/
|
|
414
|
+
quote?: QuoteResponse;
|
|
388
415
|
/**
|
|
389
416
|
* The timezone of the quote or policy
|
|
390
417
|
*/
|
|
@@ -472,10 +499,15 @@ declare type Props_4 = {
|
|
|
472
499
|
* ID for the form wrapper
|
|
473
500
|
* */
|
|
474
501
|
id?: string;
|
|
502
|
+
/**
|
|
503
|
+
* Whether to hide all fields
|
|
504
|
+
*/
|
|
505
|
+
hideAllFields?: boolean;
|
|
475
506
|
/**
|
|
476
507
|
* Titles
|
|
477
508
|
*/
|
|
478
509
|
titles?: {
|
|
510
|
+
details?: string;
|
|
479
511
|
formTitle?: string;
|
|
480
512
|
seeAdvancedDetails?: string;
|
|
481
513
|
coverageTerms?: string;
|
|
@@ -841,7 +873,7 @@ declare type Props_9 = {
|
|
|
841
873
|
* 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
874
|
*/
|
|
843
875
|
export declare const QuoteForm: {
|
|
844
|
-
({ quote, dataModel, dataTypes, disabled, handleSubmit, isSubmitting, preventFormResetOnDisabled, validateOnSubmit, hideSubmitButton, submitButtonText, id, titles, getEvaluatedConstraints, dependencyMap, }: Props_2): JSX_2.Element;
|
|
876
|
+
({ quote, dataModel, dataTypes, disabled, handleSubmit, isSubmitting, preventFormResetOnDisabled, validateOnSubmit, hideSubmitButton, hideDefaultFields, hideAdvancedFields, hideCoverageTerms, submitButtonText, id, titles, getEvaluatedConstraints, dependencyMap, hideAllFields, hiddenExceptions, }: Props_2): JSX_2.Element;
|
|
845
877
|
displayName: string;
|
|
846
878
|
};
|
|
847
879
|
|