@socotra/ec-react-components 2.2.1 → 2.2.2-beta.66
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 +7 -7
- package/dist/index.es.js +8769 -10462
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +25 -50
- package/dist/index.umd.js.map +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ declare type Props = {
|
|
|
47
47
|
disabled?: boolean;
|
|
48
48
|
/**
|
|
49
49
|
* Prevents the form from resetting when disabled
|
|
50
|
-
* default is
|
|
50
|
+
* default is true
|
|
51
51
|
*/
|
|
52
52
|
preventFormResetOnDisabled?: boolean;
|
|
53
53
|
/**
|
|
@@ -69,6 +69,10 @@ declare type Props = {
|
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
declare type Props_2 = {
|
|
72
|
+
/**
|
|
73
|
+
* The quote object
|
|
74
|
+
*/
|
|
75
|
+
quote: QuoteResponse;
|
|
72
76
|
/**
|
|
73
77
|
* The resolved data model for quotes retrieved from the data model response
|
|
74
78
|
*/
|
|
@@ -95,13 +99,9 @@ declare type Props_2 = {
|
|
|
95
99
|
disabled?: boolean;
|
|
96
100
|
/**
|
|
97
101
|
* Prevents the form from resetting when disabled
|
|
98
|
-
* default is
|
|
102
|
+
* default is true
|
|
99
103
|
*/
|
|
100
104
|
preventFormResetOnDisabled?: boolean;
|
|
101
|
-
/**
|
|
102
|
-
* The quote object to put the form in update mode
|
|
103
|
-
*/
|
|
104
|
-
quote?: QuoteResponse;
|
|
105
105
|
/**
|
|
106
106
|
* Hides the submit button
|
|
107
107
|
*/
|
|
@@ -127,7 +127,7 @@ declare type Props_2 = {
|
|
|
127
127
|
* QuoteForm is a form for creating or updating an quote. It accepts a resolved data model, custom data types, and an optional quote object to put the form in update mode. References: https://rjsf-team.github.io/react-jsonschema-form/docs/
|
|
128
128
|
*/
|
|
129
129
|
export declare const QuoteForm: {
|
|
130
|
-
({ productType, productsModel, dataTypes, disabled, handleSubmit, isSubmitting, preventFormResetOnDisabled,
|
|
130
|
+
({ quote, productType, productsModel, dataTypes, disabled, handleSubmit, isSubmitting, preventFormResetOnDisabled, validateOnSubmit, hideSubmitButton, submitButtonText, id, }: Props_2): JSX_2.Element;
|
|
131
131
|
displayName: string;
|
|
132
132
|
};
|
|
133
133
|
|