@arquimedes.co/eureka-forms 3.0.19-refactor → 3.0.20-refactor
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/FormStep.d.ts +7 -3
- package/dist/@Types/GenericFormSteps.d.ts +1 -0
- package/dist/App/App.css +11 -0
- package/dist/App/App.d.ts +6 -0
- package/dist/App/App.js +3 -1
- package/dist/App/AppFunctions.d.ts +4 -4
- package/dist/App/AppFunctions.test.js +70 -0
- package/dist/App/AppHooks.d.ts +1 -1
- package/dist/App/AppHooks.js +11 -2
- package/dist/Contexts/CustomContext.d.ts +3 -0
- package/dist/Form/ConfirmationDialog/ConfirmationDialog.d.ts +2 -1
- package/dist/Form/ConfirmationDialog/ConfirmationDialog.js +4 -10
- package/dist/Form/Form.d.ts +2 -0
- package/dist/Form/FormFunctions.js +4 -0
- package/dist/Form/FormFunctions.test.js +4 -0
- package/dist/FormSteps/@Construction/CBRElementStep/CBRElementStep.js +1 -1
- package/dist/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.js +1 -1
- package/dist/FormSteps/AYFStepMapper.js +1 -1
- package/dist/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.js +1 -1
- package/dist/FormSteps/CBRStepMapper.js +5 -5
- package/dist/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +9 -5
- package/dist/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +6 -3
- package/dist/FormSteps/SmartSelectStep/SmartSelectStep.d.ts +7 -4
- package/dist/FormSteps/StepFunctions.d.ts +1 -1
- package/dist/FormSteps/StepFunctions.js +7 -4
- package/dist/FormSteps/StepFunctions.test.js +2 -2
- package/dist/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.js +27 -16
- package/dist/Services/DraftService.d.ts +23 -0
- package/dist/Services/DraftService.js +30 -0
- package/dist/Shared/SmartDraftRenderer/DraftLoadingContext.d.ts +1 -0
- package/dist/Shared/SmartDraftRenderer/DraftLoadingContext.js +2 -0
- package/dist/Shared/SmartDraftRenderer/FormDecorator.d.ts +12 -0
- package/dist/Shared/SmartDraftRenderer/FormDecorator.js +20 -0
- package/dist/Shared/SmartDraftRenderer/FormDecorator.module.css +30 -0
- package/dist/Shared/SmartDraftRenderer/SmartDraftRenderer.d.ts +11 -0
- package/dist/Shared/SmartDraftRenderer/SmartDraftRenderer.js +58 -0
- package/dist/States/GlobalSlice.d.ts +4 -0
- package/dist/Utils/AxiosAPI.d.ts +10 -0
- package/dist/Utils/AxiosAPI.js +22 -0
- package/dist/Utils/StoreContext.d.ts +2 -0
- package/dist/Utils/StoreContext.js +2 -0
- package/dist/Utils/TestUtils.d.ts +8 -2
- package/dist/Utils/TestUtils.js +11 -4
- package/dist/Utils/_api.d.ts +8 -0
- package/dist/Utils/_api.js +15 -0
- package/dist/Utils/store.d.ts +9 -3
- package/dist/Utils/store.js +7 -1
- package/dist/constants/FormStepTypes.d.ts +2 -1
- package/dist/constants/FormStepTypes.js +1 -0
- package/dist/hooks.d.ts +0 -2
- package/dist/hooks.js +1 -2
- package/package.json +1 -1
|
@@ -67,6 +67,7 @@ export var EntityValueDataTypes;
|
|
|
67
67
|
(function (EntityValueDataTypes) {
|
|
68
68
|
EntityValueDataTypes["STEP"] = "STEP";
|
|
69
69
|
EntityValueDataTypes["VALUE"] = "VALUE";
|
|
70
|
+
EntityValueDataTypes["CURRENT_AGENT"] = "CURRENT_AGENT";
|
|
70
71
|
})(EntityValueDataTypes || (EntityValueDataTypes = {}));
|
|
71
72
|
export var ApiSelectorParamTypes;
|
|
72
73
|
(function (ApiSelectorParamTypes) {
|
package/dist/hooks.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { TypedUseSelectorHook } from 'react-redux';
|
|
2
2
|
import { type RootState, type AppDispatch } from './Utils/store';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export declare const StoreContext: React.Context<any>;
|
|
5
3
|
export declare const useAppDispatch: () => AppDispatch;
|
|
6
4
|
export declare const useAppSelector: TypedUseSelectorHook<RootState>;
|
|
7
5
|
export declare const selectBreakPoint: (state: RootState) => number;
|
package/dist/hooks.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { createDispatchHook, createSelectorHook } from 'react-redux';
|
|
2
2
|
import { defaultRootState } from './Utils/store';
|
|
3
3
|
import { useContext } from 'react';
|
|
4
|
-
import React from 'react';
|
|
5
4
|
import { IdFormContext } from './Contexts/FormContext';
|
|
6
|
-
|
|
5
|
+
import { StoreContext } from './Utils/StoreContext';
|
|
7
6
|
const useSelector = createSelectorHook(StoreContext);
|
|
8
7
|
const useDispatch = createDispatchHook(StoreContext);
|
|
9
8
|
// Use throughout your app instead of plain `useDispatch` and `useSelector`
|
package/package.json
CHANGED