@arquimedes.co/eureka-forms 2.0.35-test → 2.0.37-test
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/@Types/Condition.d.ts +60 -0
- package/dist/@Types/Condition.js +1 -0
- package/dist/@Types/FormStep.d.ts +25 -10
- package/dist/@Types/GenericFormSteps.d.ts +2 -0
- package/dist/Form/FormFunctions.js +11 -11
- package/dist/Form/FormHooks.d.ts +0 -6
- package/dist/Form/FormHooks.js +0 -7
- package/dist/FormSteps/ApiSelectorStep/ApiSelectorStep.d.ts +1 -1
- package/dist/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.js +35 -0
- package/dist/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +36 -7
- package/dist/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.js +1 -3
- package/dist/FormSteps/EntityValueStep/EntityValuePickerStep.d.ts +1 -1
- package/dist/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +35 -0
- package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +0 -1
- package/dist/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.js +0 -1
- package/dist/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +35 -4
- package/dist/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.d.ts +1 -1
- package/dist/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +33 -21
- package/dist/FormSteps/SmartSelectStep/SmartSelectStep.d.ts +4 -0
- package/dist/FormSteps/Step.js +5 -2
- package/dist/FormSteps/StepFunctions.d.ts +3 -0
- package/dist/FormSteps/StepFunctions.js +157 -1
- package/dist/FormSteps/StepHooks.d.ts +12 -1
- package/dist/FormSteps/StepHooks.js +106 -3
- package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.js +1 -0
- package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +15 -4
- package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.module.css +33 -4
- package/dist/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +0 -1
- package/dist/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.js +0 -1
- package/dist/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.js +0 -1
- package/dist/constants/ConditionTypes.d.ts +22 -0
- package/dist/constants/ConditionTypes.js +25 -0
- package/dist/constants/FormStepTypes.d.ts +3 -0
- package/dist/constants/FormStepTypes.js +3 -0
- package/package.json +2 -2
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum ConditionTypes {
|
|
2
|
+
EXPRESSION = "EXPRESSION",
|
|
3
|
+
FORM_STEP = "FORM_STEP"
|
|
4
|
+
}
|
|
5
|
+
export default ConditionTypes;
|
|
6
|
+
export declare enum ExpressionTypes {
|
|
7
|
+
'OR' = "OR",
|
|
8
|
+
'AND' = "AND"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Operators available to all conditions
|
|
12
|
+
*/
|
|
13
|
+
export declare enum OperatorTypes {
|
|
14
|
+
EQUAL = "EQUAL",
|
|
15
|
+
NOTEQUAL = "NOTEQUAL",
|
|
16
|
+
INCLUDES = "INCLUDES",
|
|
17
|
+
NOTINCLUDES = "NOTINCLUDES",
|
|
18
|
+
LESS = "LESS",
|
|
19
|
+
MORE = "MORE",
|
|
20
|
+
EXISTS = "EXISTS",
|
|
21
|
+
NOTEXISTS = "NOTEXISTS"
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export var ConditionTypes;
|
|
2
|
+
(function (ConditionTypes) {
|
|
3
|
+
ConditionTypes["EXPRESSION"] = "EXPRESSION";
|
|
4
|
+
ConditionTypes["FORM_STEP"] = "FORM_STEP";
|
|
5
|
+
})(ConditionTypes || (ConditionTypes = {}));
|
|
6
|
+
export default ConditionTypes;
|
|
7
|
+
export var ExpressionTypes;
|
|
8
|
+
(function (ExpressionTypes) {
|
|
9
|
+
ExpressionTypes["OR"] = "OR";
|
|
10
|
+
ExpressionTypes["AND"] = "AND";
|
|
11
|
+
})(ExpressionTypes || (ExpressionTypes = {}));
|
|
12
|
+
/**
|
|
13
|
+
* Operators available to all conditions
|
|
14
|
+
*/
|
|
15
|
+
export var OperatorTypes;
|
|
16
|
+
(function (OperatorTypes) {
|
|
17
|
+
OperatorTypes["EQUAL"] = "EQUAL";
|
|
18
|
+
OperatorTypes["NOTEQUAL"] = "NOTEQUAL";
|
|
19
|
+
OperatorTypes["INCLUDES"] = "INCLUDES";
|
|
20
|
+
OperatorTypes["NOTINCLUDES"] = "NOTINCLUDES";
|
|
21
|
+
OperatorTypes["LESS"] = "LESS";
|
|
22
|
+
OperatorTypes["MORE"] = "MORE";
|
|
23
|
+
OperatorTypes["EXISTS"] = "EXISTS";
|
|
24
|
+
OperatorTypes["NOTEXISTS"] = "NOTEXISTS";
|
|
25
|
+
})(OperatorTypes || (OperatorTypes = {}));
|
|
@@ -27,14 +27,17 @@ export declare enum OptionTypes {
|
|
|
27
27
|
ADD_SECTION = "ADD_SECTION"
|
|
28
28
|
}
|
|
29
29
|
export declare enum ClassifierOptionTypes {
|
|
30
|
+
DEFAULT = "CLASSIFIER_DEFAULT",
|
|
30
31
|
HIDE = "CLASSIFIER_HIDE",
|
|
31
32
|
NESTED = "CLASSIFIER_NESTED"
|
|
32
33
|
}
|
|
33
34
|
export declare enum EntityValueOptionTypes {
|
|
35
|
+
DEFAULT = "ENTITY_VALUE_DEFAULT",
|
|
34
36
|
HIDE = "ENTITY_VALUE_HIDE",
|
|
35
37
|
NESTED = "ENTITY_VALUE_NESTED"
|
|
36
38
|
}
|
|
37
39
|
export declare enum ApiSelectorOptionTypes {
|
|
40
|
+
DEFAULT = "API_SELECTOR_DEFAULT",
|
|
38
41
|
HIDE = "API_SELECTOR_HIDE",
|
|
39
42
|
NESTED = "API_SELECTOR_NESTED"
|
|
40
43
|
}
|
|
@@ -32,16 +32,19 @@ export var OptionTypes;
|
|
|
32
32
|
})(OptionTypes || (OptionTypes = {}));
|
|
33
33
|
export var ClassifierOptionTypes;
|
|
34
34
|
(function (ClassifierOptionTypes) {
|
|
35
|
+
ClassifierOptionTypes["DEFAULT"] = "CLASSIFIER_DEFAULT";
|
|
35
36
|
ClassifierOptionTypes["HIDE"] = "CLASSIFIER_HIDE";
|
|
36
37
|
ClassifierOptionTypes["NESTED"] = "CLASSIFIER_NESTED";
|
|
37
38
|
})(ClassifierOptionTypes || (ClassifierOptionTypes = {}));
|
|
38
39
|
export var EntityValueOptionTypes;
|
|
39
40
|
(function (EntityValueOptionTypes) {
|
|
41
|
+
EntityValueOptionTypes["DEFAULT"] = "ENTITY_VALUE_DEFAULT";
|
|
40
42
|
EntityValueOptionTypes["HIDE"] = "ENTITY_VALUE_HIDE";
|
|
41
43
|
EntityValueOptionTypes["NESTED"] = "ENTITY_VALUE_NESTED";
|
|
42
44
|
})(EntityValueOptionTypes || (EntityValueOptionTypes = {}));
|
|
43
45
|
export var ApiSelectorOptionTypes;
|
|
44
46
|
(function (ApiSelectorOptionTypes) {
|
|
47
|
+
ApiSelectorOptionTypes["DEFAULT"] = "API_SELECTOR_DEFAULT";
|
|
45
48
|
ApiSelectorOptionTypes["HIDE"] = "API_SELECTOR_HIDE";
|
|
46
49
|
ApiSelectorOptionTypes["NESTED"] = "API_SELECTOR_NESTED";
|
|
47
50
|
})(ApiSelectorOptionTypes || (ApiSelectorOptionTypes = {}));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arquimedes.co/eureka-forms",
|
|
3
3
|
"repository": "git://github.com/Arquimede5/Eureka-Forms.git",
|
|
4
|
-
"version":"2.0.
|
|
4
|
+
"version":"2.0.37-test",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "react-scripts start",
|
|
7
7
|
"build": "react-scripts build",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@material-ui/lab": "^4.0.0-alpha.57",
|
|
22
22
|
"@material-ui/pickers": "^3.3.10",
|
|
23
23
|
"@reduxjs/toolkit": "^1.9.7",
|
|
24
|
-
"axios": "^1.6.
|
|
24
|
+
"axios": "^1.6.3",
|
|
25
25
|
"date-fns": "^2.23.0",
|
|
26
26
|
"draft-js": "^0.11.7",
|
|
27
27
|
"logrocket": "^2.2.1",
|