@configuratorware/configurator-admingui 1.51.5 → 1.52.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/Screens/Creator/Components/VisualizationAndMediaData/Components/ImageEditTools.js +2 -2
- package/Screens/Designer/SubScreens/Designviews/Containers/Edit.js +1 -1
- package/Screens/ReceiveOfferRequests/Reducers/Actions.js +2 -14
- package/Screens/ReceiveOfferRequests/index.js +1 -1
- package/Screens/Savedconfigurations/index.js +2 -1
- package/package.json +3 -3
|
@@ -64,7 +64,7 @@ var ImageEditTools = (0, _withStyles["default"])({
|
|
|
64
64
|
return _regenerator().w(function (_context) {
|
|
65
65
|
while (1) switch (_context.p = _context.n) {
|
|
66
66
|
case 0:
|
|
67
|
-
allowedFormats = ['image/jpeg', 'image/jpg', 'image/png'];
|
|
67
|
+
allowedFormats = ['image/jpeg', 'image/jpg', 'image/png', 'image/webp'];
|
|
68
68
|
if (uploadUrl) {
|
|
69
69
|
_context.n = 1;
|
|
70
70
|
break;
|
|
@@ -161,7 +161,7 @@ var ImageEditTools = (0, _withStyles["default"])({
|
|
|
161
161
|
}, /*#__PURE__*/_react["default"].createElement("input", {
|
|
162
162
|
ref: fileInputRef,
|
|
163
163
|
type: "file",
|
|
164
|
-
accept: "image/jpeg, image/png",
|
|
164
|
+
accept: "image/jpeg, image/png, image/webp",
|
|
165
165
|
className: classes.fileInput,
|
|
166
166
|
onChange: (/*#__PURE__*/function () {
|
|
167
167
|
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(evt) {
|
|
@@ -12,20 +12,8 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
|
|
|
12
12
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
13
13
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14
14
|
var LIST_KEY = exports.LIST_KEY = 'receiveoffers';
|
|
15
|
-
var LIST_URL = exports.LIST_URL = 'configurations';
|
|
15
|
+
var LIST_URL = exports.LIST_URL = 'configurations/offerrquest';
|
|
16
16
|
var DATA_KEY = exports.DATA_KEY = 'receiveoffer';
|
|
17
17
|
var REDUCER_NAME = exports.REDUCER_NAME = 'receiveOfferData';
|
|
18
18
|
var actions = (0, _Actions.generateDefaultActions)(LIST_KEY, DATA_KEY, REDUCER_NAME, LIST_URL);
|
|
19
|
-
var
|
|
20
|
-
return function (dispatch) {
|
|
21
|
-
//filters[configuration.configurationtype.identifier]=offer_request
|
|
22
|
-
dispatch(actions.listAction(_objectSpread(_objectSpread({}, params), {}, {
|
|
23
|
-
filters: _objectSpread(_objectSpread({}, params.filters), {}, {
|
|
24
|
-
'configuration.configurationtype.identifier': 'offer_request'
|
|
25
|
-
})
|
|
26
|
-
})));
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
var _default = exports["default"] = _objectSpread(_objectSpread({}, actions), {}, {
|
|
30
|
-
listAction: listAction
|
|
31
|
-
});
|
|
19
|
+
var _default = exports["default"] = _objectSpread({}, actions);
|
|
@@ -11,5 +11,5 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
(0, _FeatureReducers.addReducers)(_Reducer["default"]);
|
|
12
12
|
var _default = exports["default"] = {
|
|
13
13
|
Screen: _Screen["default"],
|
|
14
|
-
credentials: ['
|
|
14
|
+
credentials: ['offer_requests']
|
|
15
15
|
};
|
|
@@ -10,5 +10,6 @@ var _FeatureReducers = require("../../App/FeatureReducers");
|
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
11
|
(0, _FeatureReducers.addReducers)(_Reducer["default"]);
|
|
12
12
|
var _default = exports["default"] = {
|
|
13
|
-
Screen: _Screen["default"]
|
|
13
|
+
Screen: _Screen["default"],
|
|
14
|
+
credentials: ['saved_configurations']
|
|
14
15
|
};
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configuratorware/configurator-admingui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.52.2",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"private": false,
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@babel/polyfill": "^7.12.1",
|
|
8
|
-
"@configuratorware/scripts": "1.
|
|
8
|
+
"@configuratorware/scripts": "1.52.2",
|
|
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.
|
|
32
|
+
"redhotmagma-visualization": "1.52.2",
|
|
33
33
|
"redux": "^4.1.0",
|
|
34
34
|
"redux-logger": "^3.0.6",
|
|
35
35
|
"redux-persist": "^5.10.0",
|