@legalplace/wizardx-core 4.32.3 → 4.33.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.
package/dist/App.js
CHANGED
|
@@ -17,11 +17,15 @@ import { PathReader } from "./libs/PathReader";
|
|
|
17
17
|
import { resetStateAction } from "./redux/actions/app";
|
|
18
18
|
import { callInitDataSmartscriptAction } from "./redux";
|
|
19
19
|
import { externalPartnerRedirectUrl } from "./helpers/redirectionConfig";
|
|
20
|
+
import { NOT_FOUND_PAGE_LINK } from "./constants/links.constant";
|
|
20
21
|
const RedirectHandler = () => {
|
|
21
22
|
const matchedPartner = Object.keys(externalPartnerRedirectUrl).find((partner) => window.location.origin.toLowerCase().includes(partner));
|
|
22
23
|
if (matchedPartner) {
|
|
23
24
|
window.location.href = externalPartnerRedirectUrl[matchedPartner];
|
|
24
25
|
}
|
|
26
|
+
else {
|
|
27
|
+
window.location.href = NOT_FOUND_PAGE_LINK;
|
|
28
|
+
}
|
|
25
29
|
return _jsx(Redirect, { to: getConfig().router.notFoundPath }, void 0);
|
|
26
30
|
};
|
|
27
31
|
class WizardXCore extends React.Component {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NOT_FOUND_PAGE_LINK = "https://www.legalplace.fr/page_introuvable/";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const NOT_FOUND_PAGE_LINK = "https://www.legalplace.fr/page_introuvable/";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legalplace/wizardx-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.33.0",
|
|
4
4
|
"author": "Moncef Hammou (moncef@legalplace.fr)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@legalplace/lp-events": "1.14.0",
|
|
25
25
|
"@legalplace/lplogic": "2.3.1",
|
|
26
26
|
"@legalplace/model-healthcheck": "^1.1.5",
|
|
27
|
-
"@legalplace/referencesparser": "^3.1.
|
|
27
|
+
"@legalplace/referencesparser": "^3.1.37",
|
|
28
28
|
"@legalplace/storybook": "2.352.2",
|
|
29
|
-
"@legalplace/typeorm-constants": "^3.58.
|
|
29
|
+
"@legalplace/typeorm-constants": "^3.58.2",
|
|
30
30
|
"@loadable/component": "^5.15.0",
|
|
31
31
|
"@redux-saga/core": "^1.1.3",
|
|
32
32
|
"connected-react-router": "^6.8.0",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"xss": "^1.0.9"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@legalplace/data-gouv": "^1.6.
|
|
57
|
+
"@legalplace/data-gouv": "^1.6.26",
|
|
58
58
|
"@legalplace/eslint-config": "^2.3.0",
|
|
59
|
-
"@legalplace/models-v3-types": "^5.13.
|
|
59
|
+
"@legalplace/models-v3-types": "^5.13.22",
|
|
60
60
|
"@legalplace/prettier-config": "^2.1.3",
|
|
61
|
-
"@legalplace/typeorm-entities": "^5.53.
|
|
61
|
+
"@legalplace/typeorm-entities": "^5.53.1",
|
|
62
62
|
"@swc-node/jest": "^1.3.2",
|
|
63
63
|
"@swc/core": "^1.2.93",
|
|
64
64
|
"@swc/jest": "^0.2.4",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"*.test.ts",
|
|
97
97
|
"*.test.tsx"
|
|
98
98
|
],
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "e7fb2ed0851d0732090e2ae0ad2ea00ef2742e67"
|
|
100
100
|
}
|