@legalplace/wizardx-core 3.0.0 → 3.0.2
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.2](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@3.0.1...@legalplace/wizardx-core@3.0.2) (2023-02-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix smartscrip loading api[#7714](https://git.legalplace.eu/legalplace/monorepo/issues/7714) ([7e42cba](https://git.legalplace.eu/legalplace/monorepo/commits/7e42cbac2f65d7815b069d54e8feab8f83bd5467))
|
|
12
|
+
* fix test api[#7714](https://git.legalplace.eu/legalplace/monorepo/issues/7714) ([cdd9dee](https://git.legalplace.eu/legalplace/monorepo/commits/cdd9dee1816f5f61a057bfaabf8edca589dde060))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [3.0.1](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@3.0.0...@legalplace/wizardx-core@3.0.1) (2023-02-08)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* fix smartscript api[#7714](https://git.legalplace.eu/legalplace/monorepo/issues/7714) ([0c8fc01](https://git.legalplace.eu/legalplace/monorepo/commits/0c8fc01e209eb4e631f72c2dfa4cdab202453dba))
|
|
24
|
+
* fix smartscript initiating api[#7714](https://git.legalplace.eu/legalplace/monorepo/issues/7714) ([365a087](https://git.legalplace.eu/legalplace/monorepo/commits/365a087a4e16bada6f133859a11d935fec8a1a5d))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.0.0](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@2.15.1...@legalplace/wizardx-core@3.0.0) (2023-02-08)
|
|
7
31
|
|
|
8
32
|
|
|
@@ -83,6 +83,6 @@ const SmartScriptComponent = () => {
|
|
|
83
83
|
}
|
|
84
84
|
return SmartScriptStore.grabActions();
|
|
85
85
|
};
|
|
86
|
-
return _jsx(_Fragment, { children: "SmartScript" }, void 0);
|
|
86
|
+
return _jsx(_Fragment, { children: smartScriptLoaded ? "SmartScript" : "Loading..." }, void 0);
|
|
87
87
|
};
|
|
88
88
|
export default SmartScriptComponent;
|
|
@@ -19,8 +19,10 @@ const watchEnableSmartScript = (mpi, next, action) => {
|
|
|
19
19
|
iframe = document.createElement("iframe");
|
|
20
20
|
iframe.id = "lp-smartscript";
|
|
21
21
|
iframe.setAttribute("style", "position: absolute; width:0; height:0; border:0;");
|
|
22
|
-
const
|
|
23
|
-
const
|
|
22
|
+
const state = mpi.getState();
|
|
23
|
+
const permalink = getConfig().permalink || state.app.meta.permalink || "";
|
|
24
|
+
const prefix = getConfig().prefix || state.app.meta.prefix || "";
|
|
25
|
+
const uniqid = getConfig().uniqid || state.app.instance.uniqid || "";
|
|
24
26
|
const { modelVersion } = new PathReader(mpi.getState());
|
|
25
27
|
if (getConfig().router.smartscriptPath) {
|
|
26
28
|
const path = generatePath(getConfig().router.smartscriptPath, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legalplace/wizardx-core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"author": "Moncef Hammou (moncef@legalplace.fr)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"*.test.ts",
|
|
95
95
|
"*.test.tsx"
|
|
96
96
|
],
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "29260cdc0aac1698afff6be27bdc78c8ac7ef174"
|
|
98
98
|
}
|