@configuratorware/configurator-frontendgui 1.32.1-beta.1 → 1.32.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.
|
@@ -431,7 +431,7 @@ var AmountPrice = /*#__PURE__*/function (_React$Component) {
|
|
|
431
431
|
clientTexts = _this$props3.clientTexts;
|
|
432
432
|
var dataPrivacyLink = clientTexts.dataPrivacyLink;
|
|
433
433
|
var dataPrivacyApproved = _this.state.dataPrivacyAccepted.value;
|
|
434
|
-
return showReceiveOfferForm
|
|
434
|
+
return !dataPrivacyLink || !showReceiveOfferForm || dataPrivacyApproved;
|
|
435
435
|
});
|
|
436
436
|
|
|
437
437
|
_defineProperty(_assertThisInitialized(_this), "handleTouchMove", function (evt) {
|
package/App/configuration.js
CHANGED
|
@@ -28,8 +28,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
28
28
|
|
|
29
29
|
var DEVELOPMENT_HOST_INT = 'http://int.configuratorware.local'; // eslint-disable-next-line no-unused-vars
|
|
30
30
|
|
|
31
|
-
var DEVELOPMENT_HOST_LOCAL =
|
|
32
|
-
|
|
31
|
+
var DEVELOPMENT_HOST_LOCAL = 'http://localhost:10030';
|
|
33
32
|
var hostsByNodeEnv = {
|
|
34
33
|
production: '',
|
|
35
34
|
development: DEVELOPMENT_HOST_LOCAL,
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configuratorware/configurator-frontendgui",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.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.32.
|
|
9
|
+
"@configuratorware/scripts": "1.32.2",
|
|
10
10
|
"@hot-loader/react-dom": "^17.0.1",
|
|
11
11
|
"@material-ui/core": "^4.12.2",
|
|
12
12
|
"@material-ui/icons": "^4.11.2",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"path-browserify": "^1.0.1",
|
|
27
27
|
"prop-types": "^15.7.2",
|
|
28
28
|
"qs": "^6.10.1",
|
|
29
|
-
"react": "^
|
|
29
|
+
"react": "^16.14.0",
|
|
30
30
|
"react-custom-scrollbars": "^4.2.1",
|
|
31
|
-
"react-dom": "^
|
|
31
|
+
"react-dom": "^16.14.0",
|
|
32
32
|
"react-file-drop": "^0.2.8",
|
|
33
33
|
"react-hot-loader": "^4.13.0",
|
|
34
34
|
"react-hyphen": "^1.4.0",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"react-router-dom": "^5.2.0",
|
|
40
40
|
"react-swipeable": "^5.5.1",
|
|
41
41
|
"react-zoom-pan-pinch": "^2.1.3",
|
|
42
|
-
"redhotmagma-graphics-editor": "1.32.
|
|
43
|
-
"redhotmagma-visualization": "1.32.
|
|
42
|
+
"redhotmagma-graphics-editor": "1.32.2",
|
|
43
|
+
"redhotmagma-visualization": "1.32.2",
|
|
44
44
|
"redux": "^4.1.0",
|
|
45
45
|
"redux-logger": "^3.0.6",
|
|
46
46
|
"redux-persist": "^5.10.0",
|
|
@@ -76,5 +76,6 @@
|
|
|
76
76
|
"scripts": {
|
|
77
77
|
"copy-public": "node ./scripts/cpPublic.js",
|
|
78
78
|
"install": "npm run copy-public"
|
|
79
|
-
}
|
|
79
|
+
},
|
|
80
|
+
"readme": "# configurator-frontendgui\n\n## Setup for Development\n1. Follow the \"preparation\", \"install\" and \"start development\" steps in frontend/README.md\n1. Open the core app in the browser: http://localhost:3001/identifier:softshell_designer_2d\n1. 'hostsByNodeEnv.development' in src/App/configuration.js is configurable \n thus allowing to use e.g. your local api\n\n## Ready to build the artifacts\n- run `pnpm build` from project scope (does not build workspace dependencies automatically)\n- or run `pnpm build` from workspace root\n\n## Start storybook in project \n1. `pnpm run storybook`\n1. `storybook starts on http://localhost:9001/` \n\n## [Guidelines for automated testing](docs/TestingGuidelines.md)\n"
|
|
80
81
|
}
|
|
@@ -402,7 +402,7 @@ class AmountPrice extends React.Component {
|
|
|
402
402
|
const { showReceiveOfferForm, clientTexts } = this.props;
|
|
403
403
|
const { dataPrivacyLink } = clientTexts;
|
|
404
404
|
const dataPrivacyApproved = this.state.dataPrivacyAccepted.value;
|
|
405
|
-
return showReceiveOfferForm
|
|
405
|
+
return !dataPrivacyLink || !showReceiveOfferForm || dataPrivacyApproved;
|
|
406
406
|
};
|
|
407
407
|
|
|
408
408
|
handleTouchMove = (evt => {
|
package/src/App/configuration.js
CHANGED
|
@@ -9,7 +9,7 @@ import { setStateChangeReducers, setSubReducers } from './Reducers/Configurator/
|
|
|
9
9
|
const DEVELOPMENT_HOST_INT = 'http://int.configuratorware.local';
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line no-unused-vars
|
|
12
|
-
const DEVELOPMENT_HOST_LOCAL =
|
|
12
|
+
const DEVELOPMENT_HOST_LOCAL = 'http://localhost:10030';
|
|
13
13
|
|
|
14
14
|
const hostsByNodeEnv = {
|
|
15
15
|
production: '',
|