@legalplace/wizardx-core 2.12.0 → 2.13.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.
Files changed (136) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/PluginLoader.d.ts +3 -2
  3. package/dist/PluginLoader.js +1 -1
  4. package/dist/Shimmer.js +1 -1
  5. package/dist/ThemeLoader.d.ts +2 -2
  6. package/dist/components/PluginRoute.d.ts +1 -1
  7. package/dist/components/SmartScript.d.ts +2 -2
  8. package/dist/components/UserLocked/UserLockedComponent.d.ts +2 -1
  9. package/dist/componentsConnectors/connectBox.js +1 -1
  10. package/dist/componentsConnectors/connectDocument.js +1 -1
  11. package/dist/componentsConnectors/connectHeader.js +1 -1
  12. package/dist/componentsConnectors/connectOption.d.ts +1 -1
  13. package/dist/componentsConnectors/connectOption.js +1 -1
  14. package/dist/componentsConnectors/connectPagination.js +1 -1
  15. package/dist/componentsConnectors/connectProgress.js +1 -1
  16. package/dist/componentsConnectors/connectRootOption.js +1 -1
  17. package/dist/componentsConnectors/connectSection.js +1 -1
  18. package/dist/componentsConnectors/connectSummary.js +1 -1
  19. package/dist/componentsConnectors/connectSummaryItem.js +1 -1
  20. package/dist/componentsConnectors/connectTermsheet.d.ts +1 -1
  21. package/dist/componentsConnectors/connectVariable.d.ts +1 -1
  22. package/dist/componentsConnectors/connectVariable.js +1 -1
  23. package/dist/componentsConnectors/connectWizardWrapper.js +1 -1
  24. package/dist/componentsConnectors/connector/componentConnector.d.ts +4 -3
  25. package/dist/helpers/outputsParsing.d.ts +1 -1
  26. package/dist/libs/ConditionsInitiator.d.ts +1 -1
  27. package/dist/libs/ConditionsRunner.d.ts +2 -2
  28. package/dist/libs/Eval/NumbersToLetters.js +1 -1
  29. package/dist/libs/InputsInitiator.d.ts +1 -1
  30. package/dist/libs/OvcConverter.d.ts +1 -1
  31. package/dist/libs/PathReader.d.ts +1 -1
  32. package/dist/libs/SmartScriptStore.d.ts +3 -3
  33. package/dist/redux/actions/app.d.ts +2 -2
  34. package/dist/redux/actions/conditions.d.ts +2 -2
  35. package/dist/redux/actions/inputs.d.ts +2 -2
  36. package/dist/redux/actions/mandatories.d.ts +1 -1
  37. package/dist/redux/actions/references.d.ts +2 -2
  38. package/dist/redux/actions/sagas/data.d.ts +1 -1
  39. package/dist/redux/actions/sagas/model.d.ts +3 -3
  40. package/dist/redux/actions/sagas/user.d.ts +1 -1
  41. package/dist/redux/actions/smartscript.d.ts +2 -2
  42. package/dist/redux/actions/user.d.ts +2 -2
  43. package/dist/redux/listeners/subscriber.d.ts +2 -2
  44. package/dist/redux/middlewares/conditionsWatcherMiddleware.d.ts +2 -2
  45. package/dist/redux/middlewares/evaluationsWatcherMiddleware.d.ts +3 -3
  46. package/dist/redux/middlewares/mandatoriesWatcherMiddleware.d.ts +2 -2
  47. package/dist/redux/middlewares/multiplesActionsMiddleware.d.ts +2 -2
  48. package/dist/redux/middlewares/paginationWatcherMiddleware.d.ts +3 -3
  49. package/dist/redux/middlewares/paginationWatcherMiddleware.js +1 -1
  50. package/dist/redux/middlewares/pluginsHookMiddleware.d.ts +1 -1
  51. package/dist/redux/middlewares/prefillerWatcherMiddleware.d.ts +2 -2
  52. package/dist/redux/middlewares/smartscriptMiddleware.d.ts +2 -2
  53. package/dist/redux/middlewares/thirdpartyScriptsMiddleware.d.ts +2 -2
  54. package/dist/redux/reducers/app/customizations/initCustomizationAutoDefault.d.ts +2 -2
  55. package/dist/redux/reducers/app/customizations/initCustomizationMeta.d.ts +2 -2
  56. package/dist/redux/reducers/app/instance/initInstance.d.ts +2 -2
  57. package/dist/redux/reducers/app/instance/setDataStatus.d.ts +2 -2
  58. package/dist/redux/reducers/app/instance/updateInstance.d.ts +2 -2
  59. package/dist/redux/reducers/app/instance/updateInstancePaid.d.ts +2 -2
  60. package/dist/redux/reducers/app/meta/fetchModelFailed.d.ts +1 -1
  61. package/dist/redux/reducers/app/meta/fetchModelNonBlocking.d.ts +1 -1
  62. package/dist/redux/reducers/app/meta/fetchModelSucceeded.d.ts +1 -1
  63. package/dist/redux/reducers/app/meta/fetchModelUnhealthy.d.ts +2 -2
  64. package/dist/redux/reducers/app/meta/fetchModelUserLocked.d.ts +1 -1
  65. package/dist/redux/reducers/app/meta/initMeta.d.ts +2 -2
  66. package/dist/redux/reducers/app/meta/setModelUuid.d.ts +2 -2
  67. package/dist/redux/reducers/app/pagination/goNextPage.d.ts +1 -1
  68. package/dist/redux/reducers/app/pagination/goPage.d.ts +2 -2
  69. package/dist/redux/reducers/app/pagination/goPreviousPage.d.ts +1 -1
  70. package/dist/redux/reducers/app/pagination/initPagination.d.ts +2 -2
  71. package/dist/redux/reducers/app/pagination/updateAvailableAppStates.d.ts +2 -2
  72. package/dist/redux/reducers/app/wizard/updateAvailableSections.d.ts +2 -2
  73. package/dist/redux/reducers/app.d.ts +2 -2
  74. package/dist/redux/reducers/conditions/addMultipleOccurency.d.ts +2 -2
  75. package/dist/redux/reducers/conditions/deleteMultipleOccurency.d.ts +2 -2
  76. package/dist/redux/reducers/conditions/initConditions.d.ts +2 -2
  77. package/dist/redux/reducers/conditions/updateDocumentConditions.d.ts +2 -2
  78. package/dist/redux/reducers/conditions/updateOptionConditions.d.ts +2 -2
  79. package/dist/redux/reducers/conditions/updateOptionValidatorCondition.d.ts +2 -2
  80. package/dist/redux/reducers/conditions/updatePrefillerConditions.d.ts +2 -2
  81. package/dist/redux/reducers/conditions/updateSectionConditions.d.ts +2 -2
  82. package/dist/redux/reducers/conditions/updateVariableConditions.d.ts +2 -2
  83. package/dist/redux/reducers/conditions/updateVariableValidatorCondition.d.ts +2 -2
  84. package/dist/redux/reducers/conditions.d.ts +2 -2
  85. package/dist/redux/reducers/inputs/addMultipleOccurency.d.ts +2 -2
  86. package/dist/redux/reducers/inputs/deleteMultipleOccurency.d.ts +2 -2
  87. package/dist/redux/reducers/inputs/initOption.d.ts +2 -2
  88. package/dist/redux/reducers/inputs/initVariable.d.ts +2 -2
  89. package/dist/redux/reducers/inputs/updateOptionInput.d.ts +2 -2
  90. package/dist/redux/reducers/inputs/updateVariableInput.d.ts +2 -2
  91. package/dist/redux/reducers/inputs.d.ts +2 -2
  92. package/dist/redux/reducers/mandatories/addMultipleOccurency.d.ts +2 -2
  93. package/dist/redux/reducers/mandatories/deleteMultipleOccurency.d.ts +2 -2
  94. package/dist/redux/reducers/mandatories/initMandatoryOption.d.ts +2 -2
  95. package/dist/redux/reducers/mandatories/initMandatoryVariable.d.ts +2 -2
  96. package/dist/redux/reducers/mandatories/setMandatoryIgnore.d.ts +2 -2
  97. package/dist/redux/reducers/mandatories/setMandatoryOption.d.ts +2 -2
  98. package/dist/redux/reducers/mandatories/setMandatorySection.d.ts +2 -2
  99. package/dist/redux/reducers/mandatories/setMandatoryVariable.d.ts +2 -2
  100. package/dist/redux/reducers/mandatories.d.ts +2 -2
  101. package/dist/redux/reducers/pluginsStore.d.ts +2 -2
  102. package/dist/redux/reducers/references/initReferences.d.ts +2 -2
  103. package/dist/redux/reducers/references/updateOptionMeta.d.ts +2 -2
  104. package/dist/redux/reducers/references/updateVariableMeta.d.ts +2 -2
  105. package/dist/redux/reducers/references.d.ts +2 -2
  106. package/dist/redux/reducers/smartscript/enableSmartScript.d.ts +1 -1
  107. package/dist/redux/reducers/smartscript/initSmartScriptTriggers.d.ts +2 -2
  108. package/dist/redux/reducers/smartscript/updateSmartscriptOptionHidden.d.ts +2 -2
  109. package/dist/redux/reducers/smartscript/updateSmartscriptVariableHidden.d.ts +2 -2
  110. package/dist/redux/reducers/smartscript.d.ts +2 -2
  111. package/dist/redux/reducers/user/initUser.d.ts +2 -2
  112. package/dist/redux/reducers/user/setUserStatus.d.ts +2 -2
  113. package/dist/redux/reducers/user/setUserValidToken.d.ts +2 -2
  114. package/dist/redux/reducers/user.d.ts +2 -2
  115. package/dist/redux/routerHistory.d.ts +1 -1
  116. package/dist/redux/routerHistory.js +1 -1
  117. package/dist/redux/sagas/fetchModel.d.ts +2 -2
  118. package/dist/redux/sagas/fetchModel.js +3 -3
  119. package/dist/redux/sagas/initInputs.d.ts +2 -2
  120. package/dist/redux/sagas/runner.d.ts +1 -1
  121. package/dist/redux/sagas/saveData.js +1 -1
  122. package/dist/redux/selectors/inputs.d.ts +1 -1
  123. package/dist/redux/selectors/references.js +2 -2
  124. package/dist/redux/selectors/selectors.d.ts +2 -2
  125. package/dist/redux/selectors/selectors.js +1 -1
  126. package/dist/redux/store.d.ts +2 -2
  127. package/dist/redux/store.js +1 -1
  128. package/dist/service/api.manager.d.ts +1 -1
  129. package/dist/service/api.manager.js +1 -1
  130. package/dist/types/Actions.type.d.ts +13 -13
  131. package/dist/types/Components.type.d.ts +1 -1
  132. package/dist/types/getActions.type.d.ts +1 -1
  133. package/dist/types/getConnectors.type.d.ts +1 -1
  134. package/dist/types/getSelectors.type.d.ts +1 -1
  135. package/dist/wizard-params.d.ts +1 -1
  136. package/package.json +3 -3
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../../types/Actions.type";
2
- import { StateType } from "../../../../types/State.type";
1
+ import type { ActionsType } from "../../../../types/Actions.type";
2
+ import type { StateType } from "../../../../types/State.type";
3
3
  export declare const goPageReducer: (state: StateType.App, action: ActionsType.App.goPage) => StateType.App;
@@ -1,2 +1,2 @@
1
- import { StateType } from "../../../../types/State.type";
1
+ import type { StateType } from "../../../../types/State.type";
2
2
  export declare const goPreviousPageReducer: (state: StateType.App) => StateType.App;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../../types/Actions.type";
2
- import { StateType } from "../../../../types/State.type";
1
+ import type { ActionsType } from "../../../../types/Actions.type";
2
+ import type { StateType } from "../../../../types/State.type";
3
3
  export declare const initPaginationReducer: (state: StateType.App, action: ActionsType.App.initPagination) => StateType.App;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../../../types/State.type";
2
- import { ActionsType } from "../../../../types/Actions.type";
1
+ import type { StateType } from "../../../../types/State.type";
2
+ import type { ActionsType } from "../../../../types/Actions.type";
3
3
  export declare const updateAvailableAppStatesReducer: (state: StateType.App, action: ActionsType.App.updateAvailableAppStates) => StateType.App;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../../../types/State.type";
2
- import { ActionsType } from "../../../../types/Actions.type";
1
+ import type { StateType } from "../../../../types/State.type";
2
+ import type { ActionsType } from "../../../../types/Actions.type";
3
3
  export declare const updateAvailableSectionsReducer: (state: StateType.App, action: ActionsType.App.updateAvailableSections) => StateType.App;
@@ -1,5 +1,5 @@
1
- import { ActionsType } from "../../types/Actions.type";
2
- import { StateType } from "../../types/State.type";
1
+ import type { ActionsType } from "../../types/Actions.type";
2
+ import type { StateType } from "../../types/State.type";
3
3
  export declare type PaginationReducerActions = ActionsType.App.initPagination | ActionsType.App.goPage | ActionsType.App.goNextPage | ActionsType.App.goPreviousPage | ActionsType.App.updateAvailableAppStates;
4
4
  export declare type WizardReducerActions = ActionsType.App.updateAvailableSections;
5
5
  export declare type CustomizationsReducerActions = ActionsType.App.initCustomizationMeta | ActionsType.App.initCustomizationAutoDefault;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const addMultipleOccurencyReducer: (state: StateType.Conditions, action: ActionsType.Inputs.addMultipleOccurency) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const deleteMultipleOccurencyReducer: (state: StateType.Conditions, action: ActionsType.Inputs.deleteMultipleOccurency) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const initConditionsReducer: (state: StateType.Conditions, action: ActionsType.Conditions.initConditions) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updateDocumentConditionReducer: (state: StateType.Conditions, action: ActionsType.Conditions.updateDocumentCondition) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updateOptionConditionReducer: (state: StateType.Conditions, action: ActionsType.Conditions.updateOptionCondition) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updateOptionValidatorConditionReducer: (state: StateType.Conditions, action: ActionsType.Conditions.updateOptionValidatorCondition) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updatePrefillerConditionReducer: (state: StateType.Conditions, action: ActionsType.Conditions.updatePrefillerCondition) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updateSectionConditionReducer: (state: StateType.Conditions, action: ActionsType.Conditions.updateSectionCondition) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updateVariableConditionReducer: (state: StateType.Conditions, action: ActionsType.Conditions.updateVariableCondition) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updateVariableValidatorConditionReducer: (state: StateType.Conditions, action: ActionsType.Conditions.updateVariableValidatorCondition) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../types/State.type";
2
- import { ConditionsActions } from "../../types/Actions.type";
1
+ import type { StateType } from "../../types/State.type";
2
+ import type { ConditionsActions } from "../../types/Actions.type";
3
3
  export declare const conditionsReducer: (state: StateType.Conditions | undefined, action: ConditionsActions) => StateType.Conditions;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const addMultipleOccurencyReducer: (state: StateType.Inputs, action: ActionsType.Inputs.addMultipleOccurency) => StateType.Inputs;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const deleteMultipleOccurencyReducer: (state: StateType.Inputs, action: ActionsType.Inputs.deleteMultipleOccurency) => StateType.Inputs;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const initOptionReducer: (state: StateType.Inputs, action: ActionsType.Inputs.initOption) => StateType.Inputs;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const initVariableReducer: (state: StateType.Inputs, action: ActionsType.Inputs.initVariable) => StateType.Inputs;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updateOptionInputReducer: (state: StateType.Inputs, action: ActionsType.Inputs.updateOptionInput) => StateType.Inputs;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updateVariableInputReducer: (state: StateType.Inputs, action: ActionsType.Inputs.updateVariableInput) => StateType.Inputs;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../types/State.type";
2
- import { InputsActions } from "../../types/Actions.type";
1
+ import type { StateType } from "../../types/State.type";
2
+ import type { InputsActions } from "../../types/Actions.type";
3
3
  export declare const inputsReducer: (state: StateType.Inputs | undefined, action: InputsActions) => StateType.Inputs;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const addMultipleOccurencyReducer: (state: StateType.Mandatories, action: ActionsType.Inputs.addMultipleOccurency) => StateType.Mandatories;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const deleteMultipleOccurencyReducer: (state: StateType.Mandatories, action: ActionsType.Inputs.deleteMultipleOccurency) => StateType.Mandatories;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const initMandatoryOptionReducer: (state: StateType.Mandatories, action: ActionsType.Mandatories.initMandatoryOption) => StateType.Mandatories;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const initMandatoryVariableReducer: (state: StateType.Mandatories, action: ActionsType.Mandatories.initMandatoryVariable) => StateType.Mandatories;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const setMandatoryIgnoreReducer: (state: StateType.Mandatories, action: ActionsType.Mandatories.setMandatoryIgnore) => StateType.Mandatories;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const setMandatoryOptionReducer: (state: StateType.Mandatories, action: ActionsType.Mandatories.setMandatoryOption) => StateType.Mandatories;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const setMandatorySectionReducer: (state: StateType.Mandatories, action: ActionsType.Mandatories.setMandatorySection) => StateType.Mandatories;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const setMandatoryVariableReducer: (state: StateType.Mandatories, action: ActionsType.Mandatories.setMandatoryVariable) => StateType.Mandatories;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../types/State.type";
2
- import { MandatoriesActions } from "../../types/Actions.type";
1
+ import type { StateType } from "../../types/State.type";
2
+ import type { MandatoriesActions } from "../../types/Actions.type";
3
3
  export declare const mandatoriesReducer: (state: StateType.Mandatories | undefined, action: MandatoriesActions) => StateType.Mandatories;
@@ -1,3 +1,3 @@
1
- import { AnyAction } from "redux";
2
- import { StateType } from "../../types/State.type";
1
+ import type { AnyAction } from "redux";
2
+ import type { StateType } from "../../types/State.type";
3
3
  export declare const pluginsStoreReducer: (state: StateType.PluginsStore | undefined, action: AnyAction) => StateType.PluginsStore;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../../types/State.type";
2
- import { ActionsType } from "../../../types/Actions.type";
1
+ import type { StateType } from "../../../types/State.type";
2
+ import type { ActionsType } from "../../../types/Actions.type";
3
3
  export declare const initReferencesReducer: (state: StateType.References, action: ActionsType.References.initReferences) => StateType.References;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../../types/State.type";
2
- import { ActionsType } from "../../../types/Actions.type";
1
+ import type { StateType } from "../../../types/State.type";
2
+ import type { ActionsType } from "../../../types/Actions.type";
3
3
  export declare const updateOptionMetaReducer: (state: StateType.References, action: ActionsType.References.updateOptionMeta) => StateType.References;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../../types/State.type";
2
- import { ActionsType } from "../../../types/Actions.type";
1
+ import type { StateType } from "../../../types/State.type";
2
+ import type { ActionsType } from "../../../types/Actions.type";
3
3
  export declare const updateVariableMetaReducer: (state: StateType.References, action: ActionsType.References.updateVariableMeta) => StateType.References;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../types/State.type";
2
- import { ReferencesActions } from "../../types/Actions.type";
1
+ import type { StateType } from "../../types/State.type";
2
+ import type { ReferencesActions } from "../../types/Actions.type";
3
3
  export declare const referencesReducer: (state: StateType.References | undefined, action: ReferencesActions) => StateType.References;
@@ -1,2 +1,2 @@
1
- import { StateType } from "../../../types/State.type";
1
+ import type { StateType } from "../../../types/State.type";
2
2
  export declare const enableSmartScriptReducer: (state: StateType.SmartScript) => StateType.SmartScript;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const initSmartscriptTriggersReducer: (state: StateType.SmartScript, action: ActionsType.SmartScript.initSmartscriptTriggers) => StateType.SmartScript;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updateSmartscriptOptionHiddenReducer: (state: StateType.SmartScript, action: ActionsType.SmartScript.updateSmartscriptOptionHidden) => StateType.SmartScript;
@@ -1,3 +1,3 @@
1
- import { ActionsType } from "../../../types/Actions.type";
2
- import { StateType } from "../../../types/State.type";
1
+ import type { ActionsType } from "../../../types/Actions.type";
2
+ import type { StateType } from "../../../types/State.type";
3
3
  export declare const updateSmartscriptVariableHiddenReducer: (state: StateType.SmartScript, action: ActionsType.SmartScript.updateSmartscriptVariableHidden) => StateType.SmartScript;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../types/State.type";
2
- import { SmartScriptActions } from "../../types/Actions.type";
1
+ import type { StateType } from "../../types/State.type";
2
+ import type { SmartScriptActions } from "../../types/Actions.type";
3
3
  export declare const smartscriptReducer: (state: StateType.SmartScript | undefined, action: SmartScriptActions) => StateType.SmartScript;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../../types/State.type";
2
- import { ActionsType } from "../../../types/Actions.type";
1
+ import type { StateType } from "../../../types/State.type";
2
+ import type { ActionsType } from "../../../types/Actions.type";
3
3
  export declare const initUserReducer: (state: StateType.User, action: ActionsType.User.initUser) => StateType.User;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../../types/State.type";
2
- import { ActionsType } from "../../../types/Actions.type";
1
+ import type { StateType } from "../../../types/State.type";
2
+ import type { ActionsType } from "../../../types/Actions.type";
3
3
  export declare const setUserStatusReducer: (state: StateType.User, action: ActionsType.User.setUserStatus) => StateType.User;
@@ -1,3 +1,3 @@
1
- import { StateType } from "../../../types/State.type";
2
- import { ActionsType } from "../../../types/Actions.type";
1
+ import type { StateType } from "../../../types/State.type";
2
+ import type { ActionsType } from "../../../types/Actions.type";
3
3
  export declare const setUserValidTokenReducer: (state: StateType.User, action: ActionsType.User.setUserValidToken) => StateType.User;
@@ -1,3 +1,3 @@
1
- import { UserActions } from "../../types/Actions.type";
2
- import { StateType } from "../../types/State.type";
1
+ import type { UserActions } from "../../types/Actions.type";
2
+ import type { StateType } from "../../types/State.type";
3
3
  export declare const userReducer: (state: StateType.User | undefined, action: UserActions) => StateType.User;
@@ -1,3 +1,3 @@
1
- import { MemoryHistory, History } from "history";
1
+ import type { MemoryHistory, History } from "history";
2
2
  export declare const createHistory: (historyType: "memory" | "browser") => History<unknown>;
3
3
  export declare const getHistory: () => History<unknown> | MemoryHistory<unknown>;
@@ -1,4 +1,4 @@
1
- import { createMemoryHistory, createBrowserHistory, } from "history";
1
+ import { createMemoryHistory, createBrowserHistory } from "history";
2
2
  let history;
3
3
  export const createHistory = (historyType) => {
4
4
  history =
@@ -1,7 +1,7 @@
1
1
  import type { CustomizationMetaDefault } from "@legalplace/models-v3-types";
2
2
  import type { HealthCheckReport } from "@legalplace/model-healthcheck/dist/libs/HealthCheck.type";
3
- import { OvcType } from "../../libs/OvcConverter";
4
- import { StateType } from "../../types/State.type";
3
+ import type { OvcType } from "../../libs/OvcConverter";
4
+ import type { StateType } from "../../types/State.type";
5
5
  export interface FetchModelInformationResponse {
6
6
  references: StateType.References;
7
7
  meta: {
@@ -39,7 +39,7 @@ function* getClientConfig(permalink, uniqid) {
39
39
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
40
40
  let clientConfigResponse = yield call(fetch, ...getClientConfigArguments(permalink, uniqid));
41
41
  if (clientConfigResponse === undefined) {
42
- throw new Error(`Unable to fetch client config, we did not receive any response`);
42
+ throw new Error("Unable to fetch client config, we did not receive any response");
43
43
  }
44
44
  clientConfigResponse = yield call([clientConfigResponse, "json"]);
45
45
  if (!getConfig().disableRemoteConfig &&
@@ -77,7 +77,7 @@ function* getClientConfig(permalink, uniqid) {
77
77
  function* getWizardConfig(permalink, uniqidParam, prefix, queryParams) {
78
78
  let response = yield call(fetch, ...getWizardConfigArguments(permalink, uniqidParam, prefix, queryParams));
79
79
  if (response === undefined) {
80
- throw new Error(`Unable to fetch wizard config, we did not receive any response`);
80
+ throw new Error("Unable to fetch wizard config, we did not receive any response");
81
81
  }
82
82
  response = yield call([response, "json"]);
83
83
  if (response.redirect) {
@@ -92,7 +92,7 @@ function* getWizardConfig(permalink, uniqidParam, prefix, queryParams) {
92
92
  function* fetchModelInformation(modelUuid, permalink, prefix, queryParams) {
93
93
  let response = yield call(fetch, ...getModelInformationArguments(modelUuid, queryParams));
94
94
  if (response === undefined) {
95
- throw new Error(`Unable to fetch wizard config, we did not receive any response`);
95
+ throw new Error("Unable to fetch wizard config, we did not receive any response");
96
96
  }
97
97
  response = yield call([response, "json"]);
98
98
  if (response.status === "unhealthy") {
@@ -1,5 +1,5 @@
1
- import { StateType } from "../../types/State.type";
2
- import { ActionsType } from "../../types/Actions.type";
1
+ import type { StateType } from "../../types/State.type";
2
+ import type { ActionsType } from "../../types/Actions.type";
3
3
  export declare function initInputsDecorator(action: ActionsType.Inputs.initInputs): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<ActionsType.Conditions.initConditions> | import("redux-saga/effects").PutEffect<ActionsType.Inputs.initOption> | import("redux-saga/effects").PutEffect<ActionsType.Mandatories.initMandatoryOption> | import("redux-saga/effects").PutEffect<ActionsType.Inputs.initVariable> | import("redux-saga/effects").PutEffect<ActionsType.Mandatories.initMandatoryVariable>, void, StateType>;
4
4
  declare function initInputsSaga(): Generator<import("redux-saga/effects").ForkEffect<never>, void, unknown>;
5
5
  export default initInputsSaga;
@@ -1,2 +1,2 @@
1
- import { SagaMiddleware } from "@redux-saga/core";
1
+ import type { SagaMiddleware } from "@redux-saga/core";
2
2
  export declare const sagasRunner: (sagaMiddleware: SagaMiddleware<Record<string, unknown>>) => void;
@@ -11,7 +11,7 @@ function* saveDataDecorator(action) {
11
11
  const permalink = selectPermalink();
12
12
  const uniqid = selectInstanceUniqid();
13
13
  if (uniqid === undefined)
14
- throw new Error(`Cannot save data, uniqid is not defined`);
14
+ throw new Error("Cannot save data, uniqid is not defined");
15
15
  const response = yield call(fetch, ...updateInstanceArguments(permalink, uniqid, OvcConverter.convertToOvc(selectInputs()), action.confirmAnswer ? 0 : 1, action.additionalProperties));
16
16
  const responseData = yield call([response, "json"]);
17
17
  if (action.redirect === true) {
@@ -1,4 +1,4 @@
1
- import { StateType } from "../../types/State.type";
1
+ import type { StateType } from "../../types/State.type";
2
2
  export declare type selectInputsType = () => StateType.Inputs;
3
3
  export declare const selectInputs: selectInputsType;
4
4
  export declare const selectOptionInput: (id: number) => readonly boolean[];
@@ -59,12 +59,12 @@ export const selectVariableParents = createSelector((state, id) => {
59
59
  }, (state, id) => (!state.references ? false : id.toString()));
60
60
  export const selectAllDocumentsReferences = createSelector((state) => {
61
61
  if (state.references.documents === undefined)
62
- throw new Error(`Documents references do not exist`);
62
+ throw new Error("Documents references do not exist");
63
63
  return state.references.documents;
64
64
  }, (state) => (!state.references ? false : "1"));
65
65
  export const selectDocumentReference = createSelector((state, document) => {
66
66
  if (state.references.documents === undefined)
67
- throw new Error(`Documents references do not exist`);
67
+ throw new Error("Documents references do not exist");
68
68
  return state.references.documents[document];
69
69
  }, (state) => (!state.references ? false : "1"));
70
70
  export const selectAllSectionsReferences = createSelector((state, document = "main") => {
@@ -1,5 +1,5 @@
1
- import { Action, MiddlewareAPI, Dispatch } from "redux";
2
- import { StateType } from "../../types/State.type";
1
+ import type { Action, MiddlewareAPI, Dispatch } from "redux";
2
+ import type { StateType } from "../../types/State.type";
3
3
  export declare type SelectorFunction = (state: StateType, ...args: any[]) => any;
4
4
  export declare type SelectorArguments<F extends SelectorFunction> = F extends (state: StateType, ...a: infer A) => any ? A : never;
5
5
  export declare type SelectorReturn<F extends SelectorFunction> = F extends (state: StateType, ...a: any[]) => infer R ? R : never;
@@ -7,7 +7,7 @@ export function createSelector(selector, cacheKey) {
7
7
  return (...args) => {
8
8
  let state;
9
9
  if (SelectorsStateTrack === -1)
10
- throw new Error(`State hasn't beed initiated yet`);
10
+ throw new Error("State hasn't beed initiated yet");
11
11
  try {
12
12
  state = globalMPI.getState();
13
13
  }
@@ -1,5 +1,5 @@
1
- import { Store, EmptyObject, AnyAction } from "redux";
2
- import { StateType } from "../types/State.type";
1
+ import type { Store, EmptyObject, AnyAction } from "redux";
2
+ import type { StateType } from "../types/State.type";
3
3
  export declare const createAppStore: (historyType?: "browser" | "memory") => void;
4
4
  export declare const getStore: (throwIfDoesNotExist?: boolean) => Store<EmptyObject & StateType, AnyAction> & {
5
5
  dispatch: unknown;
@@ -1,4 +1,4 @@
1
- import { combineReducers, createStore, applyMiddleware, } from "redux";
1
+ import { combineReducers, createStore, applyMiddleware } from "redux";
2
2
  import { connectRouter, routerMiddleware } from "connected-react-router";
3
3
  import { composeWithDevTools } from "redux-devtools-extension";
4
4
  import createSagaMiddleware from "@redux-saga/core";
@@ -1,4 +1,4 @@
1
- import { OvcType } from "../libs/OvcConverter";
1
+ import type { OvcType } from "../libs/OvcConverter";
2
2
  export declare const getTraceHeader: () => string;
3
3
  export declare const getWizardConfigArguments: (permalink: string, uniqidParam: string, prefix: string, queryParams: URLSearchParams) => [RequestInfo, RequestInit];
4
4
  export declare const getModelInformationArguments: (modelUuid: string, queryParams: URLSearchParams) => (RequestInfo | RequestInit)[];
@@ -109,7 +109,7 @@ export const getCreateInstanceArguments = (permalink, searchParams, modelVersion
109
109
  };
110
110
  export const getClientConfigArguments = (permalink, uniqid) => {
111
111
  const apiEndpoint = getConfig().apiEndpoint + (/\/$/.test(getConfig().apiEndpoint) ? "" : "/");
112
- const route = `${apiEndpoint}client-config${permalink ? `?permalink=${permalink}` : ""}${uniqid ? `&disableOnBoarding=true` : ""}`;
112
+ const route = `${apiEndpoint}client-config${permalink ? `?permalink=${permalink}` : ""}${uniqid ? "&disableOnBoarding=true" : ""}`;
113
113
  return [
114
114
  route,
115
115
  {
@@ -1,17 +1,17 @@
1
1
  import type { ModelV3, OptionV3, VariableV3 } from "@legalplace/models-v3-types";
2
- import { StateType } from "./State.type";
3
- import { UPDATE_AVAILABLE_SECTIONS, UPDATE_AVAILABLE_APPSTATES, GO_PREVIOUS_PAGE, GO_NEXT_PAGE, GO_PAGE, INIT_PAGINATION, UPDATE_INSTANCE_PAID, INIT_INSTANCE, UPDATE_INSTANCE, INIT_META, UPDATE_CURRENT_APPSTATE, UPDATE_CURRENT_SECTION_ID, FETCH_MODEL_SUCCEEDED, FETCH_MODEL_FAILED, SET_DATA_STATUS, SET_FETCH_STATUS, INIT_CUSTOMIZATION_META, FETCH_MODEL_UNHEALTHY, FETCH_MODEL_USER_LOCKED, INIT_CUSTOMIZATION_AUTO_DEFAULT, FETCH_MODEL_NONBLOCKING, SET_MODEL_UUID } from "../redux/constants/app";
4
- import { INIT_USER, SET_USER_STATUS, SET_USER_VALID_TOKEN } from "../redux/constants/user";
5
- import { INIT_REFERENCES, UPDATE_VARIABLE_META, UPDATE_OPTION_META } from "../redux/constants/references";
6
- import { INIT_INPUTS, INIT_OPTION, UPDATE_OPTION_INPUT, INIT_VARIABLE, UPDATE_VARIABLE_INPUT, ADD_MULTIPLE_OCCURENCY, DELETE_MULTIPLE_OCCURENCY } from "../redux/constants/inputs";
7
- import { INIT_CONDITIONS, UPDATE_OPTION_CONDITION, UPDATE_VARIABLE_CONDITION, UPDATE_SECTION_CONDITION, UPDATE_PREFILLER_CONDITION, UPDATE_OPTION_VALIDATOR_CONDITION, UPDATE_VARIABLE_VALIDATOR_CONDITION, UPDATE_DOCUMENT_CONDITION } from "../redux/constants/conditions";
8
- import { FETCH_MODEL, FETCH_MODEL_PREREQUISITES } from "../redux/constants/sagas/model";
9
- import { SAVE_DATA } from "../redux/constants/sagas/data";
10
- import { SET_USER_EMAIL, SET_USER_EMAIL_SUCCEEDED } from "../redux/constants/sagas/user";
11
- import { SET_MANDATORY_IGNORE, SET_MANDATORY_SECTION, SET_MANDATORY_OPTION, SET_MANDATORY_VARIABLE, INIT_MANDATORY_OPTION, INIT_MANDATORY_VARIABLE } from "../redux/constants/mandatories";
12
- import { ENABLE_SMARTSCRIPT, INIT_SMARTSCRIPT_TRIGGERS, UPDATE_SMARTSCRIPT_OPTION_HIDDEN, UPDATE_SMARTSCRIPT_VARIABLE_HIDDEN } from "../redux/constants/smartscript";
13
- import { PathReader } from "../libs/PathReader";
14
- import { WizardConfigResponse } from "./api.type";
2
+ import type { StateType } from "./State.type";
3
+ import type { UPDATE_AVAILABLE_SECTIONS, UPDATE_AVAILABLE_APPSTATES, GO_PREVIOUS_PAGE, GO_NEXT_PAGE, GO_PAGE, INIT_PAGINATION, UPDATE_INSTANCE_PAID, INIT_INSTANCE, UPDATE_INSTANCE, INIT_META, UPDATE_CURRENT_APPSTATE, UPDATE_CURRENT_SECTION_ID, FETCH_MODEL_SUCCEEDED, FETCH_MODEL_FAILED, SET_DATA_STATUS, SET_FETCH_STATUS, INIT_CUSTOMIZATION_META, FETCH_MODEL_UNHEALTHY, FETCH_MODEL_USER_LOCKED, INIT_CUSTOMIZATION_AUTO_DEFAULT, FETCH_MODEL_NONBLOCKING, SET_MODEL_UUID } from "../redux/constants/app";
4
+ import type { INIT_USER, SET_USER_STATUS, SET_USER_VALID_TOKEN } from "../redux/constants/user";
5
+ import type { INIT_REFERENCES, UPDATE_VARIABLE_META, UPDATE_OPTION_META } from "../redux/constants/references";
6
+ import type { INIT_INPUTS, INIT_OPTION, UPDATE_OPTION_INPUT, INIT_VARIABLE, UPDATE_VARIABLE_INPUT, ADD_MULTIPLE_OCCURENCY, DELETE_MULTIPLE_OCCURENCY } from "../redux/constants/inputs";
7
+ import type { INIT_CONDITIONS, UPDATE_OPTION_CONDITION, UPDATE_VARIABLE_CONDITION, UPDATE_SECTION_CONDITION, UPDATE_PREFILLER_CONDITION, UPDATE_OPTION_VALIDATOR_CONDITION, UPDATE_VARIABLE_VALIDATOR_CONDITION, UPDATE_DOCUMENT_CONDITION } from "../redux/constants/conditions";
8
+ import type { FETCH_MODEL, FETCH_MODEL_PREREQUISITES } from "../redux/constants/sagas/model";
9
+ import type { SAVE_DATA } from "../redux/constants/sagas/data";
10
+ import type { SET_USER_EMAIL, SET_USER_EMAIL_SUCCEEDED } from "../redux/constants/sagas/user";
11
+ import type { SET_MANDATORY_IGNORE, SET_MANDATORY_SECTION, SET_MANDATORY_OPTION, SET_MANDATORY_VARIABLE, INIT_MANDATORY_OPTION, INIT_MANDATORY_VARIABLE } from "../redux/constants/mandatories";
12
+ import type { ENABLE_SMARTSCRIPT, INIT_SMARTSCRIPT_TRIGGERS, UPDATE_SMARTSCRIPT_OPTION_HIDDEN, UPDATE_SMARTSCRIPT_VARIABLE_HIDDEN } from "../redux/constants/smartscript";
13
+ import type { PathReader } from "../libs/PathReader";
14
+ import type { WizardConfigResponse } from "./api.type";
15
15
  export declare namespace ActionsType {
16
16
  namespace App {
17
17
  interface initMeta extends Omit<StateType.App.Meta, "fetchStatus"> {
@@ -1,5 +1,5 @@
1
1
  import type { OptionV3, VariableV3 } from "@legalplace/models-v3-types";
2
- import { TermsheetRow } from "./Termsheet.type";
2
+ import type { TermsheetRow } from "./Termsheet.type";
3
3
  export interface ProgressPropsType {
4
4
  currentSectionTitle: string;
5
5
  currentSectionId: number;
@@ -1,2 +1,2 @@
1
- import { actionsLibrary } from "../redux/actions/library";
1
+ import type { actionsLibrary } from "../redux/actions/library";
2
2
  export declare type ActionsLibraryType = typeof actionsLibrary;
@@ -1,3 +1,3 @@
1
- import { connectorsLibrary } from "../componentsConnectors/library";
1
+ import type { connectorsLibrary } from "../componentsConnectors/library";
2
2
  export declare type ConnectorProps<T extends (c: React.ComponentType<any>) => any> = T extends (c: React.ComponentType<infer P>) => any ? P : {};
3
3
  export declare type ComponentsConnectors = typeof connectorsLibrary;
@@ -1,2 +1,2 @@
1
- import { selectorsLibrary } from "../redux/selectors/library";
1
+ import type { selectorsLibrary } from "../redux/selectors/library";
2
2
  export declare type SelectorsLibraryType = typeof selectorsLibrary;
@@ -1,3 +1,3 @@
1
- import { IWizardParams } from "./types/config.type";
1
+ import type { IWizardParams } from "./types/config.type";
2
2
  declare const config: IWizardParams;
3
3
  export default config;