@legalplace/wizardx-core 4.42.8 → 4.42.10-nightly.20251125115613
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/README.md +376 -1
- package/dist/App.d.ts +1 -6
- package/dist/App.js +2 -7
- package/dist/Loader.d.ts +1 -1
- package/dist/Loader.js +1 -1
- package/dist/PluginLoader.d.ts +21 -36
- package/dist/PluginLoader.js +90 -227
- package/dist/Shimmer.d.ts +8 -11
- package/dist/Shimmer.js +4 -4
- package/dist/ThemeLoader.d.ts +8 -8
- package/dist/WizardCore.d.ts +25 -0
- package/dist/WizardCore.js +119 -0
- package/dist/app.entry.d.ts +2 -0
- package/dist/app.entry.js +1 -0
- package/dist/components/PluginRoute.d.ts +2 -2
- package/dist/components/PluginRoute.js +3 -4
- package/dist/components/SmartScript.d.ts +2 -6
- package/dist/components/SmartScript.js +1 -1
- package/dist/components/UserLocked/UserLockedComponent.js +2 -2
- package/dist/components/View.d.ts +3 -3
- package/dist/components/View.js +5 -7
- package/dist/componentsConnectors/connectBox.d.ts +4 -6
- package/dist/componentsConnectors/connectDocument.d.ts +4 -6
- package/dist/componentsConnectors/connectHeader.d.ts +4 -6
- package/dist/componentsConnectors/connectMetaTitle.d.ts +3 -7
- package/dist/componentsConnectors/connectOption.d.ts +5 -7
- package/dist/componentsConnectors/connectPagination.d.ts +5 -7
- package/dist/componentsConnectors/connectPreview.d.ts +3 -7
- package/dist/componentsConnectors/connectProgress.d.ts +4 -6
- package/dist/componentsConnectors/connectRootOption.d.ts +5 -7
- package/dist/componentsConnectors/connectSection.d.ts +4 -6
- package/dist/componentsConnectors/connectSummary.d.ts +5 -9
- package/dist/componentsConnectors/connectSummaryItem.d.ts +4 -6
- package/dist/componentsConnectors/connectTermsheet.js +1 -1
- package/dist/componentsConnectors/connectVariable.d.ts +6 -8
- package/dist/componentsConnectors/connectWizardWrapper.d.ts +4 -6
- package/dist/componentsConnectors/connector/componentConnector.d.ts +7 -10
- package/dist/componentsConnectors/connector/componentConnector.js +3 -3
- package/dist/componentsConnectors/library.d.ts +47 -81
- package/dist/helpers/activitiesHelper.d.ts +3 -3
- package/dist/helpers/autocomplete.helper.d.ts +2 -2
- package/dist/helpers/autocomplete.helper.js +1 -1
- package/dist/helpers/autosave.helper.d.ts +3 -13
- package/dist/helpers/autosave.helper.js +3 -70
- package/dist/helpers/inpiCitiesHelper.js +1 -1
- package/dist/helpers/outputsParsing.d.ts +9 -9
- package/dist/hooks/useDispatch.d.ts +1 -1
- package/dist/hooks/usePrevious.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/libs/ConditionsRunner.d.ts +1 -1
- package/dist/libs/Formatter/FormatAddress.d.ts +1 -1
- package/dist/libs/InputsInitiator.d.ts +1 -1
- package/dist/libs/PathReader.d.ts +96 -1
- package/dist/libs/PathReader.js +1 -2
- package/dist/libs/SmartScriptStore.d.ts +6 -6
- package/dist/redux/actions/app.d.ts +1 -1
- package/dist/redux/actions/inputs.d.ts +1 -1
- package/dist/redux/actions/library.d.ts +15 -21
- package/dist/redux/actions/references.d.ts +2 -2
- package/dist/redux/actions/sagas/data.d.ts +1 -1
- package/dist/redux/actions/sagas/user.d.ts +1 -1
- package/dist/redux/listeners/subscriber.d.ts +1 -1
- package/dist/redux/middlewares/conditionsWatcherMiddleware.d.ts +1 -1
- package/dist/redux/middlewares/evaluationsWatcherMiddleware.d.ts +1 -1
- package/dist/redux/middlewares/mandatoriesWatcherMiddleware.d.ts +1 -1
- package/dist/redux/middlewares/multiplesActionsMiddleware.d.ts +1 -1
- package/dist/redux/middlewares/paginationWatcherMiddleware.d.ts +2 -2
- package/dist/redux/middlewares/pluginsHookMiddleware.d.ts +1 -2
- package/dist/redux/middlewares/pluginsHookMiddleware.js +1 -7
- package/dist/redux/middlewares/prefillerWatcherMiddleware.d.ts +1 -1
- package/dist/redux/middlewares/smartscriptMiddleware.d.ts +1 -1
- package/dist/redux/middlewares/smartscriptMiddleware.js +2 -2
- package/dist/redux/middlewares/thirdpartyScriptsMiddleware.d.ts +1 -1
- package/dist/redux/reducers/app/pagination/updateAvailableAppStates.js +1 -2
- package/dist/redux/reducers/app.d.ts +6 -6
- package/dist/redux/reducers/references.js +2 -0
- package/dist/redux/selectors/inputs.d.ts +1 -1
- package/dist/redux/selectors/selectors.d.ts +4 -4
- package/dist/redux/store.d.ts +2 -2
- package/dist/routing/adapters/nextjs.adapter.d.ts +3 -0
- package/dist/routing/adapters/nextjs.adapter.js +63 -0
- package/dist/routing/adapters/reactRouter.adapter.d.ts +2 -0
- package/dist/routing/adapters/reactRouter.adapter.js +19 -0
- package/dist/routing/context.d.ts +14 -0
- package/dist/routing/context.js +25 -0
- package/dist/routing/index.d.ts +4 -0
- package/dist/routing/index.js +4 -0
- package/dist/routing/types.d.ts +26 -0
- package/dist/service/api.manager.d.ts +2 -2
- package/dist/service/autocomplete.manager.d.ts +3 -3
- package/dist/service/autocomplete.manager.js +3 -3
- package/dist/tests-misc/plugins/jestTestPlugin/after.js +1 -1
- package/dist/tests-misc/plugins/jestTestPlugin/before.js +1 -1
- package/dist/tests-misc/plugins/jestTestPlugin/title.js +1 -1
- package/dist/tests-misc/themes/jestTestTheme/components/EmailComponent.d.ts +1 -1
- package/dist/tests-misc/themes/jestTestTheme/components/EmailComponent.js +1 -1
- package/dist/tests-misc/themes/jestTestTheme/components/TermsheetComponent.d.ts +1 -1
- package/dist/tests-misc/themes/jestTestTheme/components/TermsheetComponent.js +1 -1
- package/dist/tests-misc/themes/jestTestTheme/components/WizardComponent.d.ts +1 -1
- package/dist/tests-misc/themes/jestTestTheme/components/WizardComponent.js +1 -1
- package/dist/types/Actions.type.d.ts +70 -6
- package/dist/types/Components.type.d.ts +3 -2
- package/dist/types/PluginConfig.type.d.ts +18 -52
- package/dist/types/State.type.d.ts +2 -2
- package/dist/types/config.type.d.ts +1 -1
- package/dist/types/getActions.type.d.ts +1 -1
- package/dist/types/getConnectors.type.d.ts +2 -2
- package/dist/types/getSelectors.type.d.ts +1 -1
- package/dist/wizardcore.entry.d.ts +3 -0
- package/dist/wizardcore.entry.js +2 -0
- package/package.json +45 -22
- package/dist/App.test.js +0 -37
- package/dist/PluginLoader.test.d.ts +0 -1
- package/dist/PluginLoader.test.js +0 -52
- package/dist/ThemeLoader.test.d.ts +0 -2
- package/dist/ThemeLoader.test.js +0 -65
- package/dist/components/View.test.d.ts +0 -2
- package/dist/components/View.test.js +0 -84
- package/dist/componentsConnectors/connectBox.test.d.ts +0 -1
- package/dist/componentsConnectors/connectBox.test.js +0 -218
- package/dist/componentsConnectors/connectDocument.test.d.ts +0 -1
- package/dist/componentsConnectors/connectDocument.test.js +0 -95
- package/dist/componentsConnectors/connectMetaTitle.test.d.ts +0 -1
- package/dist/componentsConnectors/connectMetaTitle.test.js +0 -32
- package/dist/config.test.d.ts +0 -1
- package/dist/config.test.js +0 -54
- package/dist/libs/NumAuto.test.d.ts +0 -1
- package/dist/libs/NumAuto.test.js +0 -43
- package/dist/libs/SectionValidity.test.d.ts +0 -1
- package/dist/libs/SectionValidity.test.js +0 -116
- package/dist/redux/actions/app.test.d.ts +0 -1
- package/dist/redux/actions/app.test.js +0 -90
- package/dist/redux/actions/conditions.test.d.ts +0 -1
- package/dist/redux/actions/conditions.test.js +0 -68
- package/dist/redux/actions/inputs.test.d.ts +0 -1
- package/dist/redux/actions/inputs.test.js +0 -53
- package/dist/redux/actions/references.test.d.ts +0 -1
- package/dist/redux/actions/references.test.js +0 -43
- package/dist/redux/actions/sagas/data.test.d.ts +0 -1
- package/dist/redux/actions/sagas/data.test.js +0 -11
- package/dist/redux/actions/sagas/model.test.d.ts +0 -1
- package/dist/redux/actions/sagas/model.test.js +0 -11
- package/dist/redux/actions/user.test.d.ts +0 -1
- package/dist/redux/actions/user.test.js +0 -16
- package/dist/redux/listeners/subscriber.test.d.ts +0 -1
- package/dist/redux/listeners/subscriber.test.js +0 -31
- package/dist/redux/middlewares/conditionsWatcherMiddleware.test.d.ts +0 -1
- package/dist/redux/middlewares/conditionsWatcherMiddleware.test.js +0 -330
- package/dist/redux/middlewares/evaluationsWatcherMiddleware.test.d.ts +0 -1
- package/dist/redux/middlewares/evaluationsWatcherMiddleware.test.js +0 -242
- package/dist/redux/middlewares/multiplesActionsMiddleware.test.d.ts +0 -1
- package/dist/redux/middlewares/multiplesActionsMiddleware.test.js +0 -209
- package/dist/redux/middlewares/prefillerWatcherMiddleware.test.d.ts +0 -1
- package/dist/redux/middlewares/prefillerWatcherMiddleware.test.js +0 -84
- package/dist/redux/reducers/app/instance.test.d.ts +0 -1
- package/dist/redux/reducers/app/instance.test.js +0 -75
- package/dist/redux/reducers/app/meta.test.d.ts +0 -1
- package/dist/redux/reducers/app/meta.test.js +0 -70
- package/dist/redux/reducers/app/pagination.test.d.ts +0 -1
- package/dist/redux/reducers/app/pagination.test.js +0 -134
- package/dist/redux/reducers/app/wizard.test.d.ts +0 -1
- package/dist/redux/reducers/app/wizard.test.js +0 -53
- package/dist/redux/reducers/app.test.d.ts +0 -1
- package/dist/redux/reducers/app.test.js +0 -175
- package/dist/redux/reducers/conditions/addMultipleOccurency.test.d.ts +0 -1
- package/dist/redux/reducers/conditions/addMultipleOccurency.test.js +0 -108
- package/dist/redux/reducers/conditions/deleteMultipleOccurency.test.d.ts +0 -1
- package/dist/redux/reducers/conditions/deleteMultipleOccurency.test.js +0 -77
- package/dist/redux/reducers/conditions/updateDocumentConditions.test.d.ts +0 -1
- package/dist/redux/reducers/conditions/updateDocumentConditions.test.js +0 -35
- package/dist/redux/reducers/conditions/updateOptionValidatorCondition.test.d.ts +0 -1
- package/dist/redux/reducers/conditions/updateOptionValidatorCondition.test.js +0 -35
- package/dist/redux/reducers/conditions/updateVariableValidatorCondition.test.d.ts +0 -1
- package/dist/redux/reducers/conditions/updateVariableValidatorCondition.test.js +0 -35
- package/dist/redux/reducers/conditions.test.d.ts +0 -1
- package/dist/redux/reducers/conditions.test.js +0 -196
- package/dist/redux/reducers/inputs/addMultipleOccurency.test.d.ts +0 -1
- package/dist/redux/reducers/inputs/addMultipleOccurency.test.js +0 -101
- package/dist/redux/reducers/inputs/deleteMultipleOccurency.test.d.ts +0 -1
- package/dist/redux/reducers/inputs/deleteMultipleOccurency.test.js +0 -56
- package/dist/redux/reducers/inputs.test.d.ts +0 -1
- package/dist/redux/reducers/inputs.test.js +0 -171
- package/dist/redux/reducers/user.test.d.ts +0 -1
- package/dist/redux/reducers/user.test.js +0 -42
- package/dist/redux/routerHistore.test.d.ts +0 -1
- package/dist/redux/routerHistore.test.js +0 -15
- package/dist/redux/sagas/fetchModel.test.d.ts +0 -1
- package/dist/redux/sagas/fetchModel.test.js +0 -127
- package/dist/redux/sagas/runner.test.d.ts +0 -1
- package/dist/redux/sagas/runner.test.js +0 -10
- package/dist/redux/sagas/saveData.test.d.ts +0 -1
- package/dist/redux/sagas/saveData.test.js +0 -74
- package/dist/redux/sagas/setDefaults.test.d.ts +0 -1
- package/dist/redux/sagas/setDefaults.test.js +0 -73
- package/dist/redux/selectors/app.test.d.ts +0 -1
- package/dist/redux/selectors/app.test.js +0 -99
- package/dist/redux/selectors/conditions.test.d.ts +0 -1
- package/dist/redux/selectors/conditions.test.js +0 -70
- package/dist/redux/selectors/inputs.test.d.ts +0 -1
- package/dist/redux/selectors/inputs.test.js +0 -44
- package/dist/redux/selectors/references.test.d.ts +0 -1
- package/dist/redux/selectors/references.test.js +0 -471
- package/dist/redux/selectors/selectors.test.d.ts +0 -1
- package/dist/redux/selectors/selectors.test.js +0 -16
- package/dist/redux/selectors/user.test.d.ts +0 -1
- package/dist/redux/selectors/user.test.js +0 -29
- package/dist/redux/store.test.d.ts +0 -1
- package/dist/redux/store.test.js +0 -16
- /package/dist/{App.test.d.ts → routing/types.js} +0 -0
|
@@ -15,41 +15,53 @@ 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"> {
|
|
18
|
+
[key: string]: any;
|
|
18
19
|
type: typeof INIT_META;
|
|
19
20
|
}
|
|
20
21
|
interface setModelUuid extends Pick<StateType.App.Meta, "modelUuid"> {
|
|
22
|
+
[key: string]: any;
|
|
21
23
|
type: typeof SET_MODEL_UUID;
|
|
22
24
|
}
|
|
23
25
|
interface fetchModelSucceeded {
|
|
26
|
+
[key: string]: any;
|
|
24
27
|
type: typeof FETCH_MODEL_SUCCEEDED;
|
|
25
28
|
}
|
|
26
29
|
interface fetchModelNonBlocking {
|
|
30
|
+
[key: string]: any;
|
|
27
31
|
type: typeof FETCH_MODEL_NONBLOCKING;
|
|
28
32
|
}
|
|
29
33
|
interface fetchModelUnhealthy extends Pick<StateType.App.Meta, "report"> {
|
|
34
|
+
[key: string]: any;
|
|
30
35
|
type: typeof FETCH_MODEL_UNHEALTHY;
|
|
31
36
|
}
|
|
32
37
|
interface fetchModelUserLocked extends Pick<StateType.App.Meta, "report"> {
|
|
38
|
+
[key: string]: any;
|
|
33
39
|
type: typeof FETCH_MODEL_USER_LOCKED;
|
|
34
40
|
}
|
|
35
41
|
interface fetchModelFailed {
|
|
42
|
+
[key: string]: any;
|
|
36
43
|
type: typeof FETCH_MODEL_FAILED;
|
|
37
44
|
}
|
|
38
45
|
interface initInstance extends StateType.App.Instance {
|
|
46
|
+
[key: string]: any;
|
|
39
47
|
type: typeof INIT_INSTANCE;
|
|
40
48
|
}
|
|
41
49
|
interface updateInstance extends Partial<StateType.App.Instance> {
|
|
50
|
+
[key: string]: any;
|
|
42
51
|
type: typeof UPDATE_INSTANCE;
|
|
43
52
|
}
|
|
44
53
|
interface updateInstancePaid {
|
|
54
|
+
[key: string]: any;
|
|
45
55
|
type: typeof UPDATE_INSTANCE_PAID;
|
|
46
56
|
isPaid: boolean;
|
|
47
57
|
}
|
|
48
58
|
interface setDataStatus {
|
|
59
|
+
[key: string]: any;
|
|
49
60
|
type: typeof SET_DATA_STATUS;
|
|
50
61
|
dataStatus: "saved" | "unsaved" | "saving" | "failed";
|
|
51
62
|
}
|
|
52
63
|
interface setFetchStatus {
|
|
64
|
+
[key: string]: any;
|
|
53
65
|
type: typeof SET_FETCH_STATUS;
|
|
54
66
|
fetchStatus: "waiting" | "succeeded" | "failed" | "unhealthy" | "userLocked";
|
|
55
67
|
}
|
|
@@ -57,61 +69,76 @@ export declare namespace ActionsType {
|
|
|
57
69
|
type AppPaginationWithoutIsLastPage = Omit<AppPaginationWithoutIsFirstPage, "isLastPage">;
|
|
58
70
|
type AppPaginationWithoutTotalPages = Omit<AppPaginationWithoutIsLastPage, "totalPages">;
|
|
59
71
|
interface initPagination extends AppPaginationWithoutTotalPages, StateType.App.Wizard {
|
|
72
|
+
[key: string]: any;
|
|
60
73
|
type: typeof INIT_PAGINATION;
|
|
61
74
|
}
|
|
62
75
|
interface goPage {
|
|
76
|
+
[key: string]: any;
|
|
63
77
|
type: typeof GO_PAGE;
|
|
64
78
|
currentPage: number;
|
|
65
79
|
pushHistory: boolean;
|
|
66
80
|
}
|
|
67
81
|
interface goNextPage {
|
|
82
|
+
[key: string]: any;
|
|
68
83
|
type: typeof GO_NEXT_PAGE;
|
|
69
84
|
}
|
|
70
85
|
interface goPreviousPage {
|
|
86
|
+
[key: string]: any;
|
|
71
87
|
type: typeof GO_PREVIOUS_PAGE;
|
|
72
88
|
}
|
|
73
89
|
interface updateAvailableSections {
|
|
90
|
+
[key: string]: any;
|
|
74
91
|
type: typeof UPDATE_AVAILABLE_SECTIONS;
|
|
75
92
|
availableSections: StateType.App.Wizard["availableSections"];
|
|
76
93
|
}
|
|
77
94
|
interface updateAvailableAppStates {
|
|
95
|
+
[key: string]: any;
|
|
78
96
|
type: typeof UPDATE_AVAILABLE_APPSTATES;
|
|
79
97
|
availableAppStates: StateType.App.Pagination["availableAppStates"];
|
|
80
98
|
ingorePluginAppStateReset: boolean;
|
|
81
99
|
}
|
|
82
100
|
interface updateCurrentAppState {
|
|
101
|
+
[key: string]: any;
|
|
83
102
|
type: typeof UPDATE_CURRENT_APPSTATE;
|
|
84
103
|
currentAppState: string;
|
|
85
104
|
}
|
|
86
105
|
interface updateCurrentSectionId {
|
|
106
|
+
[key: string]: any;
|
|
87
107
|
type: typeof UPDATE_CURRENT_SECTION_ID;
|
|
88
108
|
currentSectionId: number;
|
|
89
109
|
}
|
|
90
110
|
interface initCustomizationMeta {
|
|
111
|
+
[key: string]: any;
|
|
91
112
|
type: typeof INIT_CUSTOMIZATION_META;
|
|
92
113
|
meta: Exclude<ModelV3["customization"]["meta"], undefined>;
|
|
93
114
|
}
|
|
94
115
|
interface initCustomizationAutoDefault {
|
|
116
|
+
[key: string]: any;
|
|
95
117
|
type: typeof INIT_CUSTOMIZATION_AUTO_DEFAULT;
|
|
96
118
|
disableAutoDefault: StateType.App.Customization["disableAutoDefault"];
|
|
97
119
|
}
|
|
98
120
|
interface resetState {
|
|
121
|
+
[key: string]: any;
|
|
99
122
|
type: typeof RESET_STATE;
|
|
100
123
|
}
|
|
101
124
|
}
|
|
102
125
|
namespace User {
|
|
103
126
|
interface initUser extends Omit<StateType.User, "status"> {
|
|
127
|
+
[key: string]: any;
|
|
104
128
|
type: typeof INIT_USER;
|
|
105
129
|
}
|
|
106
130
|
interface setUserStatus {
|
|
131
|
+
[key: string]: any;
|
|
107
132
|
type: typeof SET_USER_STATUS;
|
|
108
133
|
status: StateType.User["status"];
|
|
109
134
|
}
|
|
110
135
|
interface setUserValidToken {
|
|
136
|
+
[key: string]: any;
|
|
111
137
|
type: typeof SET_USER_VALID_TOKEN;
|
|
112
138
|
validToken: StateType.User["validToken"];
|
|
113
139
|
}
|
|
114
140
|
interface setUserEmail {
|
|
141
|
+
[key: string]: any;
|
|
115
142
|
type: typeof SET_USER_EMAIL;
|
|
116
143
|
email: StateType.User["email"];
|
|
117
144
|
disableRedirect?: boolean;
|
|
@@ -119,14 +146,17 @@ export declare namespace ActionsType {
|
|
|
119
146
|
inBackground?: boolean;
|
|
120
147
|
}
|
|
121
148
|
interface setUserEmailSucceeded {
|
|
149
|
+
[key: string]: any;
|
|
122
150
|
type: typeof SET_USER_EMAIL_SUCCEEDED;
|
|
123
151
|
}
|
|
124
152
|
}
|
|
125
153
|
namespace References {
|
|
126
154
|
interface initReferences extends StateType.References {
|
|
155
|
+
[key: string]: any;
|
|
127
156
|
type: typeof INIT_REFERENCES;
|
|
128
157
|
}
|
|
129
158
|
interface VariableUpdatableMeta extends Omit<VariableV3, "id" | "label" | "step" | "type" | "prefillings" | "conditions" | "validator"> {
|
|
159
|
+
[key: string]: any;
|
|
130
160
|
label?: string;
|
|
131
161
|
step?: "*" | number[];
|
|
132
162
|
validator?: {
|
|
@@ -134,12 +164,14 @@ export declare namespace ActionsType {
|
|
|
134
164
|
};
|
|
135
165
|
}
|
|
136
166
|
interface updateVariableMeta {
|
|
167
|
+
[key: string]: any;
|
|
137
168
|
type: typeof UPDATE_VARIABLE_META;
|
|
138
169
|
id: number;
|
|
139
170
|
meta: VariableUpdatableMeta;
|
|
140
171
|
index?: number;
|
|
141
172
|
}
|
|
142
173
|
interface setDisabledVariable {
|
|
174
|
+
[key: string]: any;
|
|
143
175
|
type: typeof SET_DISABLED_VARIABLE;
|
|
144
176
|
id: number;
|
|
145
177
|
disabled: boolean;
|
|
@@ -147,6 +179,7 @@ export declare namespace ActionsType {
|
|
|
147
179
|
index: number;
|
|
148
180
|
}
|
|
149
181
|
interface OptionUpdatableMeta extends Omit<OptionV3["meta"], "id" | "label" | "step" | "type" | "conditions" | "repeatOption" | "validator" | "multiple"> {
|
|
182
|
+
[key: string]: any;
|
|
150
183
|
label?: string;
|
|
151
184
|
step?: "*" | number[];
|
|
152
185
|
validator?: {
|
|
@@ -159,6 +192,7 @@ export declare namespace ActionsType {
|
|
|
159
192
|
};
|
|
160
193
|
}
|
|
161
194
|
interface updateOptionMeta {
|
|
195
|
+
[key: string]: any;
|
|
162
196
|
type: typeof UPDATE_OPTION_META;
|
|
163
197
|
id: number;
|
|
164
198
|
meta: OptionUpdatableMeta;
|
|
@@ -166,33 +200,39 @@ export declare namespace ActionsType {
|
|
|
166
200
|
}
|
|
167
201
|
namespace Inputs {
|
|
168
202
|
interface initInputs {
|
|
203
|
+
[key: string]: any;
|
|
169
204
|
type: typeof INIT_INPUTS;
|
|
170
205
|
references?: StateType.References;
|
|
171
206
|
inputs: StateType.Inputs;
|
|
172
207
|
}
|
|
173
208
|
interface initOption {
|
|
209
|
+
[key: string]: any;
|
|
174
210
|
type: typeof INIT_OPTION;
|
|
175
211
|
id: number;
|
|
176
212
|
values: boolean[];
|
|
177
213
|
}
|
|
178
214
|
interface updateOptionInput {
|
|
215
|
+
[key: string]: any;
|
|
179
216
|
type: typeof UPDATE_OPTION_INPUT;
|
|
180
217
|
id: number;
|
|
181
218
|
value: boolean;
|
|
182
219
|
index: number;
|
|
183
220
|
}
|
|
184
221
|
interface initVariable {
|
|
222
|
+
[key: string]: any;
|
|
185
223
|
type: typeof INIT_VARIABLE;
|
|
186
224
|
id: number;
|
|
187
225
|
values: (string | number)[];
|
|
188
226
|
}
|
|
189
227
|
interface updateVariableInput {
|
|
228
|
+
[key: string]: any;
|
|
190
229
|
type: typeof UPDATE_VARIABLE_INPUT;
|
|
191
230
|
id: number;
|
|
192
231
|
value: string | number;
|
|
193
232
|
index: number;
|
|
194
233
|
}
|
|
195
234
|
interface addMultipleOccurency {
|
|
235
|
+
[key: string]: any;
|
|
196
236
|
type: typeof ADD_MULTIPLE_OCCURENCY;
|
|
197
237
|
id: number;
|
|
198
238
|
optionRelations?: StateType.References.Relations.Options;
|
|
@@ -200,6 +240,7 @@ export declare namespace ActionsType {
|
|
|
200
240
|
prefillersVariables?: Record<string, StateType.References.Variables.Variable["prefillings"]>;
|
|
201
241
|
}
|
|
202
242
|
interface deleteMultipleOccurency {
|
|
243
|
+
[key: string]: any;
|
|
203
244
|
type: typeof DELETE_MULTIPLE_OCCURENCY;
|
|
204
245
|
id: number;
|
|
205
246
|
index: number;
|
|
@@ -208,31 +249,37 @@ export declare namespace ActionsType {
|
|
|
208
249
|
}
|
|
209
250
|
namespace Mandatories {
|
|
210
251
|
interface setMandatoryIgnore {
|
|
252
|
+
[key: string]: any;
|
|
211
253
|
type: typeof SET_MANDATORY_IGNORE;
|
|
212
254
|
value: boolean;
|
|
213
255
|
}
|
|
214
256
|
interface initMandatoryOption {
|
|
257
|
+
[key: string]: any;
|
|
215
258
|
type: typeof INIT_MANDATORY_OPTION;
|
|
216
259
|
id: number;
|
|
217
260
|
value: boolean[];
|
|
218
261
|
}
|
|
219
262
|
interface initMandatoryVariable {
|
|
263
|
+
[key: string]: any;
|
|
220
264
|
type: typeof INIT_MANDATORY_VARIABLE;
|
|
221
265
|
id: number;
|
|
222
266
|
value: boolean[];
|
|
223
267
|
}
|
|
224
268
|
interface setMandatorySection {
|
|
269
|
+
[key: string]: any;
|
|
225
270
|
type: typeof SET_MANDATORY_SECTION;
|
|
226
271
|
id: number;
|
|
227
272
|
value: boolean;
|
|
228
273
|
}
|
|
229
274
|
interface setMandatoryOption {
|
|
275
|
+
[key: string]: any;
|
|
230
276
|
type: typeof SET_MANDATORY_OPTION;
|
|
231
277
|
id: number;
|
|
232
278
|
index: number;
|
|
233
279
|
value: boolean;
|
|
234
280
|
}
|
|
235
281
|
interface setMandatoryVariable {
|
|
282
|
+
[key: string]: any;
|
|
236
283
|
type: typeof SET_MANDATORY_VARIABLE;
|
|
237
284
|
id: number;
|
|
238
285
|
index: number;
|
|
@@ -241,44 +288,52 @@ export declare namespace ActionsType {
|
|
|
241
288
|
}
|
|
242
289
|
namespace Conditions {
|
|
243
290
|
interface initConditions extends StateType.Conditions {
|
|
291
|
+
[key: string]: any;
|
|
244
292
|
type: typeof INIT_CONDITIONS;
|
|
245
293
|
}
|
|
246
294
|
interface updateOptionCondition {
|
|
295
|
+
[key: string]: any;
|
|
247
296
|
type: typeof UPDATE_OPTION_CONDITION;
|
|
248
297
|
id: number;
|
|
249
298
|
index: number;
|
|
250
299
|
value: boolean;
|
|
251
300
|
}
|
|
252
301
|
interface updateVariableCondition {
|
|
302
|
+
[key: string]: any;
|
|
253
303
|
type: typeof UPDATE_VARIABLE_CONDITION;
|
|
254
304
|
id: number;
|
|
255
305
|
index: number;
|
|
256
306
|
value: boolean;
|
|
257
307
|
}
|
|
258
308
|
interface updateDocumentCondition {
|
|
309
|
+
[key: string]: any;
|
|
259
310
|
type: typeof UPDATE_DOCUMENT_CONDITION;
|
|
260
311
|
name: string;
|
|
261
312
|
value: boolean;
|
|
262
313
|
}
|
|
263
314
|
interface updateSectionCondition {
|
|
315
|
+
[key: string]: any;
|
|
264
316
|
type: typeof UPDATE_SECTION_CONDITION;
|
|
265
317
|
document: string;
|
|
266
318
|
id: number;
|
|
267
319
|
value: boolean;
|
|
268
320
|
}
|
|
269
321
|
interface updatePrefillerCondition {
|
|
322
|
+
[key: string]: any;
|
|
270
323
|
type: typeof UPDATE_PREFILLER_CONDITION;
|
|
271
324
|
id: number;
|
|
272
325
|
index: number;
|
|
273
326
|
value: boolean[];
|
|
274
327
|
}
|
|
275
328
|
interface updateOptionValidatorCondition {
|
|
329
|
+
[key: string]: any;
|
|
276
330
|
type: typeof UPDATE_OPTION_VALIDATOR_CONDITION;
|
|
277
331
|
id: number;
|
|
278
332
|
index: number;
|
|
279
333
|
value: boolean;
|
|
280
334
|
}
|
|
281
335
|
interface updateVariableValidatorCondition {
|
|
336
|
+
[key: string]: any;
|
|
282
337
|
type: typeof UPDATE_VARIABLE_VALIDATOR_CONDITION;
|
|
283
338
|
id: number;
|
|
284
339
|
index: number;
|
|
@@ -288,11 +343,13 @@ export declare namespace ActionsType {
|
|
|
288
343
|
namespace Sagas {
|
|
289
344
|
namespace Model {
|
|
290
345
|
interface fetchModelPrerequisites {
|
|
346
|
+
[key: string]: any;
|
|
291
347
|
type: typeof FETCH_MODEL_PREREQUISITES;
|
|
292
348
|
permalink: string;
|
|
293
349
|
prefix: string;
|
|
294
350
|
}
|
|
295
351
|
interface fetchModel {
|
|
352
|
+
[key: string]: any;
|
|
296
353
|
type: typeof FETCH_MODEL;
|
|
297
354
|
permalink: string;
|
|
298
355
|
prefix: string;
|
|
@@ -312,6 +369,7 @@ export declare namespace ActionsType {
|
|
|
312
369
|
}
|
|
313
370
|
namespace Data {
|
|
314
371
|
interface saveData {
|
|
372
|
+
[key: string]: any;
|
|
315
373
|
type: typeof SAVE_DATA;
|
|
316
374
|
confirmAnswer?: boolean;
|
|
317
375
|
redirect: boolean;
|
|
@@ -323,26 +381,32 @@ export declare namespace ActionsType {
|
|
|
323
381
|
}
|
|
324
382
|
namespace SmartScript {
|
|
325
383
|
interface enableSmartScript {
|
|
384
|
+
[key: string]: any;
|
|
326
385
|
type: typeof ENABLE_SMARTSCRIPT;
|
|
327
386
|
}
|
|
328
387
|
interface initDataSmartscript {
|
|
388
|
+
[key: string]: any;
|
|
329
389
|
type: typeof INIT_DATA_SMARTSCRIPT;
|
|
330
390
|
data?: object;
|
|
331
391
|
}
|
|
332
392
|
interface requestinitDataSmartscript {
|
|
393
|
+
[key: string]: any;
|
|
333
394
|
type: typeof REQUEST_INIT_DATA_SMARTSCRIPT;
|
|
334
395
|
}
|
|
335
396
|
interface initSmartscriptTriggers {
|
|
397
|
+
[key: string]: any;
|
|
336
398
|
type: typeof INIT_SMARTSCRIPT_TRIGGERS;
|
|
337
399
|
triggers: StateType.SmartScript["triggers"];
|
|
338
400
|
}
|
|
339
401
|
interface updateSmartscriptOptionHidden {
|
|
402
|
+
[key: string]: any;
|
|
340
403
|
type: typeof UPDATE_SMARTSCRIPT_OPTION_HIDDEN;
|
|
341
404
|
id: number;
|
|
342
405
|
index: number;
|
|
343
406
|
hide: boolean;
|
|
344
407
|
}
|
|
345
408
|
interface updateSmartscriptVariableHidden {
|
|
409
|
+
[key: string]: any;
|
|
346
410
|
type: typeof UPDATE_SMARTSCRIPT_VARIABLE_HIDDEN;
|
|
347
411
|
id: number;
|
|
348
412
|
index: number;
|
|
@@ -350,9 +414,9 @@ export declare namespace ActionsType {
|
|
|
350
414
|
}
|
|
351
415
|
}
|
|
352
416
|
}
|
|
353
|
-
export
|
|
354
|
-
export
|
|
355
|
-
export
|
|
356
|
-
export
|
|
357
|
-
export
|
|
358
|
-
export
|
|
417
|
+
export type ConditionsActions = ActionsType.Conditions.initConditions | ActionsType.Conditions.updateOptionCondition | ActionsType.Conditions.updateVariableCondition | ActionsType.Conditions.updateSectionCondition | ActionsType.Conditions.updateVariableValidatorCondition | ActionsType.Conditions.updatePrefillerCondition | ActionsType.Conditions.updateOptionValidatorCondition | ActionsType.App.resetState;
|
|
418
|
+
export type UserActions = ActionsType.User.initUser | ActionsType.User.setUserStatus | ActionsType.App.resetState;
|
|
419
|
+
export type ReferencesActions = ActionsType.References.initReferences | ActionsType.References.updateOptionMeta | ActionsType.References.updateVariableMeta | ActionsType.References.setDisabledVariable | ActionsType.App.resetState;
|
|
420
|
+
export type InputsActions = ActionsType.Inputs.initVariable | ActionsType.Inputs.updateVariableInput | ActionsType.Inputs.initOption | ActionsType.Inputs.updateOptionInput | ActionsType.App.resetState;
|
|
421
|
+
export type MandatoriesActions = ActionsType.Mandatories.initMandatoryOption | ActionsType.Mandatories.initMandatoryVariable | ActionsType.Mandatories.setMandatoryIgnore | ActionsType.Mandatories.setMandatorySection | ActionsType.Mandatories.setMandatoryOption | ActionsType.Mandatories.setMandatoryVariable | ActionsType.App.resetState;
|
|
422
|
+
export type SmartScriptActions = ActionsType.SmartScript.enableSmartScript | ActionsType.SmartScript.initSmartscriptTriggers | ActionsType.App.resetState;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { OptionV3, VariableV3 } from "@legalplace/models-v3-types";
|
|
2
3
|
import type { TermsheetRow } from "./Termsheet.type";
|
|
3
4
|
export interface ProgressPropsType {
|
|
@@ -19,7 +20,7 @@ export interface PaginationPropsFromDispatch {
|
|
|
19
20
|
goNextPage: () => void;
|
|
20
21
|
goPreviousPage: () => void;
|
|
21
22
|
}
|
|
22
|
-
export
|
|
23
|
+
export type PaginationPropsType = PaginationPropsFromState & PaginationPropsFromDispatch;
|
|
23
24
|
export interface DocumentTitlePropsType {
|
|
24
25
|
title: string;
|
|
25
26
|
}
|
|
@@ -60,7 +61,7 @@ export interface OptionPropsFromDispatch {
|
|
|
60
61
|
}
|
|
61
62
|
export interface OptionPropsType extends OptionPropsFromState, OptionPropsFromDispatch {
|
|
62
63
|
deleteOccurency?: (() => void) | false;
|
|
63
|
-
addOccurency?:
|
|
64
|
+
addOccurency?: React.ReactElement;
|
|
64
65
|
}
|
|
65
66
|
export interface VariablePropsFromState {
|
|
66
67
|
id: number;
|
|
@@ -1,57 +1,23 @@
|
|
|
1
1
|
import type { LoadableComponent } from "@loadable/component";
|
|
2
|
-
import type
|
|
3
|
-
import type { AnyAction, CombinedState, Reducer } from "redux";
|
|
2
|
+
import type { Reducer } from "redux";
|
|
4
3
|
import type { ActionsLibraryType } from "./getActions.type";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
requires?: string[];
|
|
10
|
-
}
|
|
11
|
-
export interface IPluginConfigComponentsHooks {
|
|
12
|
-
replace?: IPluginConfigComponentsHooksList;
|
|
13
|
-
before?: IPluginConfigComponentsHooksList;
|
|
14
|
-
after?: IPluginConfigComponentsHooksList;
|
|
15
|
-
}
|
|
16
|
-
export interface IPluginConfigComponentsHooksList {
|
|
17
|
-
[key: string]: React.LazyExoticComponent<React.ComponentType<any>> | LoadableComponent<React.ComponentType<any>> | React.ComponentType<any>;
|
|
18
|
-
}
|
|
19
|
-
export interface IPluginComponentHookConfig {
|
|
20
|
-
[key: string]: React.ComponentType<any> | Promise<any>;
|
|
21
|
-
}
|
|
22
|
-
export declare type InferAction<T extends (...args: any) => {
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
type: any;
|
|
25
|
-
}> = T extends (...args: any) => infer P ? P : never;
|
|
26
|
-
export declare type InferActionType<T extends (...args: any) => {
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
type: any;
|
|
29
|
-
}> = T extends (...args: any) => {
|
|
30
|
-
type: infer P;
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
} ? P : never;
|
|
33
|
-
export interface IPluginConfigRedux {
|
|
34
|
-
watchers?: IPluginConfigReduxWatchers;
|
|
35
|
-
overrides?: IPluginConfigReduxOverrides;
|
|
36
|
-
reducer?: IPluginConfigReduxReducer;
|
|
37
|
-
}
|
|
38
|
-
export declare type IPluginConfigReduxWatchers = {
|
|
39
|
-
[I in keyof ActionsLibraryType as InferActionType<ActionsLibraryType[I]>]?: (action: InferAction<ActionsLibraryType[I]>) => void;
|
|
4
|
+
import type { StateType } from "./State.type";
|
|
5
|
+
export type IPluginConfig = {
|
|
6
|
+
anchor: string[];
|
|
7
|
+
component: LoadableComponent<any>;
|
|
40
8
|
};
|
|
41
|
-
export
|
|
42
|
-
|
|
9
|
+
export type IPluginConfigReduxReducer<T extends Record<string, any> = {}> = Reducer<T, any>;
|
|
10
|
+
export type IPluginConfigReduxSaga = (actions: ActionsLibraryType, api: any) => any;
|
|
11
|
+
export type IPluginConfigRedux<T extends Record<string, any> = {}> = {
|
|
12
|
+
reducer: IPluginConfigReduxReducer<T>;
|
|
13
|
+
sagas: IPluginConfigReduxSaga[];
|
|
43
14
|
};
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
component?: React.LazyExoticComponent<React.ComponentType<any>> | LoadableComponent<React.ComponentType<any>> | React.ComponentType<any>;
|
|
53
|
-
}
|
|
54
|
-
export interface IPluginConfigPaginationRoute {
|
|
55
|
-
path?: string;
|
|
56
|
-
component?: React.LazyExoticComponent<React.ComponentType<any>> | LoadableComponent<React.ComponentType<any>> | React.ComponentType<any>;
|
|
15
|
+
export type IPluginConfigReduxWithState<T extends Record<string, any> = {}, K extends keyof StateType = any> = {
|
|
16
|
+
reducer: IPluginConfigReduxReducer<T>;
|
|
17
|
+
sagas: IPluginConfigReduxSaga[];
|
|
18
|
+
stateKey: K;
|
|
19
|
+
};
|
|
20
|
+
export interface IPlugin {
|
|
21
|
+
config: IPluginConfig[];
|
|
22
|
+
redux?: IPluginConfigRedux;
|
|
57
23
|
}
|
|
@@ -2,7 +2,7 @@ import type { OptionV3, VariableV3, SectionV3, ConditionV3, ModelV3 } from "@leg
|
|
|
2
2
|
import type { Types } from "@legalplace/referencesparser";
|
|
3
3
|
import type { HealthCheckReport } from "@legalplace/model-healthcheck/dist/libs/HealthCheck.type";
|
|
4
4
|
import type { ContractMeta } from "@legalplace/typeorm-entities";
|
|
5
|
-
export
|
|
5
|
+
export type MAPPED_CONDITIONS = {
|
|
6
6
|
dataMap: {
|
|
7
7
|
o: number[];
|
|
8
8
|
v: number[];
|
|
@@ -160,7 +160,7 @@ export interface AppCustomizationType {
|
|
|
160
160
|
disableAutoDefault?: boolean;
|
|
161
161
|
meta?: AppCustomizationMetaType;
|
|
162
162
|
}
|
|
163
|
-
export
|
|
163
|
+
export type ModelV3CustomizationMeta = Exclude<ModelV3["customization"]["meta"], undefined>;
|
|
164
164
|
export interface AppCustomizationMetaType extends ModelV3CustomizationMeta {
|
|
165
165
|
}
|
|
166
166
|
export interface AppInstanceType {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { actionsLibrary } from "../redux/actions/library";
|
|
2
|
-
export
|
|
2
|
+
export type ActionsLibraryType = typeof actionsLibrary;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { connectorsLibrary } from "../componentsConnectors/library";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type ConnectorProps<T extends (c: React.ComponentType<any>) => any> = T extends (c: React.ComponentType<infer P>) => any ? P : {};
|
|
3
|
+
export type ComponentsConnectors = typeof connectorsLibrary;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { selectorsLibrary } from "../redux/selectors/library";
|
|
2
|
-
export
|
|
2
|
+
export type SelectorsLibraryType = typeof selectorsLibrary;
|
package/package.json
CHANGED
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legalplace/wizardx-core",
|
|
3
|
-
"version": "4.42.
|
|
3
|
+
"version": "4.42.10-nightly.20251125115613",
|
|
4
4
|
"author": "Moncef Hammou (moncef@legalplace.fr)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/**/*"
|
|
8
8
|
],
|
|
9
9
|
"main": "dist/index.js",
|
|
10
|
+
"module": "dist/index.js",
|
|
11
|
+
"types": "dist/index.d.ts",
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.js",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./App": {
|
|
21
|
+
"types": "./dist/App.d.ts",
|
|
22
|
+
"import": "./dist/App.js",
|
|
23
|
+
"require": "./dist/App.js",
|
|
24
|
+
"default": "./dist/App.js"
|
|
25
|
+
},
|
|
26
|
+
"./WizardCore": {
|
|
27
|
+
"types": "./dist/WizardCore.d.ts",
|
|
28
|
+
"import": "./dist/WizardCore.js",
|
|
29
|
+
"require": "./dist/WizardCore.js",
|
|
30
|
+
"default": "./dist/WizardCore.js"
|
|
31
|
+
},
|
|
32
|
+
"./routing": {
|
|
33
|
+
"types": "./dist/routing/index.d.ts",
|
|
34
|
+
"import": "./dist/routing/index.js",
|
|
35
|
+
"require": "./dist/routing/index.js",
|
|
36
|
+
"default": "./dist/routing/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./package.json": "./package.json"
|
|
39
|
+
},
|
|
10
40
|
"scripts": {
|
|
11
41
|
"build": "npx rimraf dist && npx tsc",
|
|
12
42
|
"build:ci": "npx rimraf dist && npx tsc",
|
|
@@ -19,16 +49,15 @@
|
|
|
19
49
|
"precommit": "test && lint:fix"
|
|
20
50
|
},
|
|
21
51
|
"dependencies": {
|
|
22
|
-
"@appnest/masonry-layout": "^2.0.8",
|
|
23
52
|
"@cryptography/sha1": "^0.2.0",
|
|
24
|
-
"@legalplace/data-gouv": "^1.6.
|
|
53
|
+
"@legalplace/data-gouv": "^1.6.91",
|
|
25
54
|
"@legalplace/lp-events": "1.14.0",
|
|
26
55
|
"@legalplace/lplogic": "2.3.1",
|
|
27
56
|
"@legalplace/model-healthcheck": "^1.1.5",
|
|
28
57
|
"@legalplace/pappers": "^1.2.4",
|
|
29
|
-
"@legalplace/referencesparser": "^3.1.
|
|
58
|
+
"@legalplace/referencesparser": "^3.1.77",
|
|
30
59
|
"@legalplace/storybook": "2.364.5",
|
|
31
|
-
"@legalplace/typeorm-constants": "^3.74.
|
|
60
|
+
"@legalplace/typeorm-constants": "^3.74.4",
|
|
32
61
|
"@loadable/component": "^5.15.0",
|
|
33
62
|
"@redux-saga/core": "^1.1.3",
|
|
34
63
|
"axios": "^0.24.0",
|
|
@@ -42,17 +71,16 @@
|
|
|
42
71
|
"mousetrap": "^1.6.5",
|
|
43
72
|
"prop-types": "^15.7.2",
|
|
44
73
|
"query-string": "^7.0.1",
|
|
45
|
-
"react": "^
|
|
74
|
+
"react": "^19.2.0",
|
|
46
75
|
"react-app-polyfill": "^2.0.0",
|
|
47
|
-
"react-dom": "^
|
|
48
|
-
"react-redux": "^7.2.
|
|
76
|
+
"react-dom": "^19.2.0",
|
|
77
|
+
"react-redux": "^7.2.9",
|
|
49
78
|
"react-router": "5.2.1",
|
|
50
79
|
"react-router-dom": "^5.2.0",
|
|
51
|
-
"react-test-renderer": "^
|
|
52
|
-
"redux": "^4.
|
|
80
|
+
"react-test-renderer": "^19.2.0",
|
|
81
|
+
"redux": "^4.2.1",
|
|
53
82
|
"redux-devtools-extension": "^2.13.9",
|
|
54
83
|
"redux-saga": "^1.1.3",
|
|
55
|
-
"route-parser": "^0.0.5",
|
|
56
84
|
"universal-cookie": "^4.0.4",
|
|
57
85
|
"uuid": "^8.3.2",
|
|
58
86
|
"xss": "^1.0.9"
|
|
@@ -60,29 +88,25 @@
|
|
|
60
88
|
"devDependencies": {
|
|
61
89
|
"@legalplace/data-gouv": "^1.6.30",
|
|
62
90
|
"@legalplace/eslint-config": "^2.3.0",
|
|
63
|
-
"@legalplace/models-v3-types": "^5.14.
|
|
91
|
+
"@legalplace/models-v3-types": "^5.14.9",
|
|
64
92
|
"@legalplace/prettier-config": "^2.1.3",
|
|
65
|
-
"@legalplace/typeorm-entities": "^5.65.
|
|
93
|
+
"@legalplace/typeorm-entities": "^5.65.21",
|
|
66
94
|
"@swc-node/jest": "^1.3.2",
|
|
67
95
|
"@swc/core": "^1.2.93",
|
|
68
96
|
"@swc/jest": "^0.2.4",
|
|
69
97
|
"@testing-library/jest-dom": "^4.2.4",
|
|
70
98
|
"@testing-library/react": "^12.1.2",
|
|
71
99
|
"@types/crypto-js": "^4.0.2",
|
|
72
|
-
"@types/enzyme-adapter-react-16": "^1.0.6",
|
|
73
100
|
"@types/jest": "^27.0.2",
|
|
74
101
|
"@types/loadable__component": "^5.13.4",
|
|
75
102
|
"@types/lodash": "^4.14.175",
|
|
76
103
|
"@types/mousetrap": "^1.6.8",
|
|
77
|
-
"@types/react": "^
|
|
78
|
-
"@types/react-dom": "
|
|
104
|
+
"@types/react": "^19.0.0",
|
|
105
|
+
"@types/react-dom": "^19.0.0",
|
|
79
106
|
"@types/react-router-dom": "^5.1.6",
|
|
80
|
-
"@types/react-test-renderer": "^
|
|
107
|
+
"@types/react-test-renderer": "^19.0.0",
|
|
81
108
|
"@types/redux-mock-store": "^1.0.3",
|
|
82
|
-
"@types/route-parser": "^0.1.3",
|
|
83
109
|
"@types/uuid": "^8.3.1",
|
|
84
|
-
"enzyme": "^3.11.0",
|
|
85
|
-
"enzyme-adapter-react-16": "^1.15.6",
|
|
86
110
|
"jest": "^27.2.4",
|
|
87
111
|
"jest-fetch-mock": "^3.0.3",
|
|
88
112
|
"jest-junit": "^13.0.0",
|
|
@@ -99,6 +123,5 @@
|
|
|
99
123
|
"eslintIgnore": [
|
|
100
124
|
"*.test.ts",
|
|
101
125
|
"*.test.tsx"
|
|
102
|
-
]
|
|
103
|
-
"gitHead": "e3a339339bd8ddfb0a0d298dfa792fb3716440d7"
|
|
126
|
+
]
|
|
104
127
|
}
|