@configuratorware/configurator-admingui 1.55.3 → 1.55.4
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.
|
@@ -205,7 +205,7 @@ var DesignerForm = /*#__PURE__*/function (_Component) {
|
|
|
205
205
|
control: /*#__PURE__*/_react["default"].createElement(_Switch["default"], {
|
|
206
206
|
checked: !!_lodash["default"].get(item, 'designDataMaintained', false),
|
|
207
207
|
onChange: function onChange(e) {
|
|
208
|
-
return _this2.props.updateDesignDataMaintained(itemId,
|
|
208
|
+
return _this2.props.updateDesignDataMaintained(itemId, e.target.checked);
|
|
209
209
|
},
|
|
210
210
|
color: "primary"
|
|
211
211
|
})
|
|
@@ -297,14 +297,12 @@ var ConnectedDesignerForm = (0, _reactRedux.connect)(function (state) {
|
|
|
297
297
|
return updateSettings;
|
|
298
298
|
}(),
|
|
299
299
|
updateDesignDataMaintained: function () {
|
|
300
|
-
var _updateDesignDataMaintained = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(itemId,
|
|
300
|
+
var _updateDesignDataMaintained = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(itemId, value) {
|
|
301
301
|
return _regenerator().w(function (_context2) {
|
|
302
302
|
while (1) switch (_context2.n) {
|
|
303
303
|
case 0:
|
|
304
304
|
_context2.n = 1;
|
|
305
|
-
return (0, _Helpers.dispatchPostData)(dispatch)('DESIGN_DATA_MAINTAINED_KEY',
|
|
306
|
-
id: itemId,
|
|
307
|
-
identifier: identifier,
|
|
305
|
+
return (0, _Helpers.dispatchPostData)(dispatch)('DESIGN_DATA_MAINTAINED_KEY', "items/".concat(itemId, "/design-data-maintained"), {
|
|
308
306
|
designDataMaintained: value
|
|
309
307
|
});
|
|
310
308
|
case 1:
|
|
@@ -317,7 +315,7 @@ var ConnectedDesignerForm = (0, _reactRedux.connect)(function (state) {
|
|
|
317
315
|
}
|
|
318
316
|
}, _callee2);
|
|
319
317
|
}));
|
|
320
|
-
function updateDesignDataMaintained(_x2, _x3
|
|
318
|
+
function updateDesignDataMaintained(_x2, _x3) {
|
|
321
319
|
return _updateDesignDataMaintained.apply(this, arguments);
|
|
322
320
|
}
|
|
323
321
|
return updateDesignDataMaintained;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configuratorware/configurator-admingui",
|
|
3
|
-
"version": "1.55.
|
|
3
|
+
"version": "1.55.4",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"private": false,
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@babel/polyfill": "^7.12.1",
|
|
8
|
-
"@configuratorware/scripts": "1.55.
|
|
8
|
+
"@configuratorware/scripts": "1.55.4",
|
|
9
9
|
"@material-ui/core": "^3.9.4",
|
|
10
10
|
"@material-ui/icons": "^3.0.2",
|
|
11
11
|
"@tweenjs/tween.js": "^17.6.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"react-redux-i18n": "^1.9.3",
|
|
30
30
|
"react-router": "^3.2.6",
|
|
31
31
|
"react-sortable-hoc": "^1.11.0",
|
|
32
|
-
"redhotmagma-visualization": "1.55.
|
|
32
|
+
"redhotmagma-visualization": "1.55.4",
|
|
33
33
|
"redux": "^4.1.0",
|
|
34
34
|
"redux-logger": "^3.0.6",
|
|
35
35
|
"redux-persist": "^5.10.0",
|