@configuratorware/configurator-frontendgui 1.55.0 → 1.55.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/App/configuration.js +4 -1
- package/package.json +4 -4
- package/src/App/configuration.js +1 -1
package/App/configuration.js
CHANGED
|
@@ -243,7 +243,10 @@ function init() {
|
|
|
243
243
|
preventLeavingPage();
|
|
244
244
|
return applicationConfiguration;
|
|
245
245
|
}
|
|
246
|
-
function getQueryParams(
|
|
246
|
+
function getQueryParams() {
|
|
247
|
+
var parameterParser = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function (_name, value) {
|
|
248
|
+
return value;
|
|
249
|
+
};
|
|
247
250
|
var query = new URLSearchParams(location.search);
|
|
248
251
|
var queryConf = {};
|
|
249
252
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configuratorware/configurator-frontendgui",
|
|
3
|
-
"version": "1.55.
|
|
3
|
+
"version": "1.55.2",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/polyfill": "^7.12.1",
|
|
9
|
-
"@configuratorware/scripts": "1.55.
|
|
9
|
+
"@configuratorware/scripts": "1.55.2",
|
|
10
10
|
"@material-ui/core": "^4.12.4",
|
|
11
11
|
"@material-ui/icons": "^4.11.3",
|
|
12
12
|
"@material-ui/lab": "^4.0.0-alpha.61",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"react-router-dom": "^5.3.4",
|
|
37
37
|
"react-swipeable": "^5.5.1",
|
|
38
38
|
"react-zoom-pan-pinch": "^2.1.3",
|
|
39
|
-
"redhotmagma-graphics-editor": "1.55.
|
|
40
|
-
"redhotmagma-visualization": "1.55.
|
|
39
|
+
"redhotmagma-graphics-editor": "1.55.2",
|
|
40
|
+
"redhotmagma-visualization": "1.55.2",
|
|
41
41
|
"redux": "^4.1.0",
|
|
42
42
|
"redux-logger": "^3.0.6",
|
|
43
43
|
"redux-persist": "^5.10.0",
|
package/src/App/configuration.js
CHANGED
|
@@ -266,7 +266,7 @@ export function init() {
|
|
|
266
266
|
return applicationConfiguration;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
export function getQueryParams(parameterParser) {
|
|
269
|
+
export function getQueryParams(parameterParser = (_name, value) => value) {
|
|
270
270
|
const query = new URLSearchParams(location.search);
|
|
271
271
|
|
|
272
272
|
const queryConf = {};
|