@socotra/ec-react-components 2.16.1-demo.0 → 2.16.2-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 +16 -15
- package/dist/index.es.js +13263 -13320
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +31 -31
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ import { ElementConfig } from '@socotra/ec-react-schemas';
|
|
|
15
15
|
import { ElementRequest } from '@socotra/ec-react-schemas';
|
|
16
16
|
import { ElementResponse } from '@socotra/ec-react-schemas';
|
|
17
17
|
import { EvaluateConstraintsRequest } from '@socotra/ec-react-schemas';
|
|
18
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
19
18
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
20
19
|
import { ModifyChangeInstructionCreateRequest } from '@socotra/ec-react-schemas';
|
|
21
20
|
import { ModifyChangeInstructionResponse } from '@socotra/ec-react-schemas';
|
|
@@ -28,10 +27,8 @@ import { ProductConfig } from '@socotra/ec-react-schemas';
|
|
|
28
27
|
import { QuoteDependencyMapResponse } from '@socotra/ec-react-schemas';
|
|
29
28
|
import { QuoteRequest } from '@socotra/ec-react-schemas';
|
|
30
29
|
import { QuoteResponse } from '@socotra/ec-react-schemas';
|
|
31
|
-
import { RefAttributes } from 'react';
|
|
32
30
|
import { ReversalTypeConfigRecord } from '@socotra/ec-react-schemas';
|
|
33
31
|
import { SegmentResponse } from '@socotra/ec-react-schemas';
|
|
34
|
-
import { StyleDef } from '@jsonforms/vanilla-renderers';
|
|
35
32
|
import { TransactionMethodEnum } from '@socotra/ec-react-schemas';
|
|
36
33
|
import { TransactionSnapshotResponse } from '@socotra/ec-react-schemas';
|
|
37
34
|
|
|
@@ -260,6 +257,10 @@ declare type Props_2 = {
|
|
|
260
257
|
* The resolved data model retrieved from data model response
|
|
261
258
|
*/
|
|
262
259
|
dataModel: DataModel;
|
|
260
|
+
/**
|
|
261
|
+
* The custom data types for the configuration that may be referenced by the elementModel
|
|
262
|
+
*/
|
|
263
|
+
dataTypes?: DataTypeConfigRecord;
|
|
263
264
|
/**
|
|
264
265
|
* The function to call when the form is submitted. It will create an QuoteRequest from the form data.
|
|
265
266
|
*/
|
|
@@ -354,13 +355,6 @@ declare type Props_2 = {
|
|
|
354
355
|
* The hidden exception for the form
|
|
355
356
|
*/
|
|
356
357
|
hiddenExceptions?: string[];
|
|
357
|
-
/**
|
|
358
|
-
* Custom form styling
|
|
359
|
-
* See https://github.com/eclipsesource/jsonforms/blob/master/packages/vanilla-renderers/Styles.md
|
|
360
|
-
*/
|
|
361
|
-
styleContext?: {
|
|
362
|
-
styles: StyleDef[];
|
|
363
|
-
};
|
|
364
358
|
/**
|
|
365
359
|
* Titles for the form
|
|
366
360
|
*/
|
|
@@ -519,11 +513,20 @@ declare type Props_4 = {
|
|
|
519
513
|
*/
|
|
520
514
|
titles?: {
|
|
521
515
|
details?: string;
|
|
516
|
+
startTime?: string;
|
|
517
|
+
endTime?: string;
|
|
518
|
+
currency?: string;
|
|
519
|
+
timezone?: string;
|
|
522
520
|
formTitle?: string;
|
|
523
521
|
seeAdvancedDetails?: string;
|
|
524
522
|
coverageTerms?: string;
|
|
525
523
|
truthyLabel?: string;
|
|
526
524
|
falsyLabel?: string;
|
|
525
|
+
billingLevel?: string;
|
|
526
|
+
billingTrigger?: string;
|
|
527
|
+
durationBasis?: string;
|
|
528
|
+
delinquencyPlanName?: string;
|
|
529
|
+
autoRenewalPlanName?: string;
|
|
527
530
|
};
|
|
528
531
|
};
|
|
529
532
|
|
|
@@ -883,11 +886,9 @@ declare type Props_9 = {
|
|
|
883
886
|
/**
|
|
884
887
|
* QuoteForm is a form for updating a quote. It required a product data model, custom data types, and quote object to render the form.
|
|
885
888
|
*/
|
|
886
|
-
export declare const QuoteForm:
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
getValues: () => unknown;
|
|
890
|
-
subscribeOnChange: (field: string, callback: (value: unknown) => void) => () => void;
|
|
889
|
+
export declare const QuoteForm: {
|
|
890
|
+
({ quote, dataModel, dataTypes, disabled, handleSubmit, isSubmitting, preventFormResetOnDisabled, validateOnSubmit, hideSubmitButton, hideDefaultFields, hideAdvancedFields, hideCoverageTerms, submitButtonText, id, titles, getEvaluatedConstraints, dependencyMap, hideAllFields, hiddenExceptions, }: Props_2): JSX_2.Element;
|
|
891
|
+
displayName: string;
|
|
891
892
|
};
|
|
892
893
|
|
|
893
894
|
/**
|