@configuratorware/configurator-admingui 1.51.3 → 1.52.0

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.
@@ -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) {
@@ -182,7 +182,7 @@ var formFields = [{
182
182
  name: 'images',
183
183
  label: "designcontainer.imageUploadLabel",
184
184
  type: FileInput,
185
- accept: '.png,.jpg',
185
+ accept: '.png,.jpg,.webp',
186
186
  openEnabled: false,
187
187
  showFileName: false,
188
188
  isPreviewRequired: true
@@ -48,7 +48,7 @@ var VariantsSelection = /*#__PURE__*/function (_Component) {
48
48
  url: 'creatoritems',
49
49
  params: {
50
50
  query: text,
51
- limit: 50
51
+ limit: 200
52
52
  }
53
53
  };
54
54
  _Api["default"].request(requestParams).then(function (response) {
@@ -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 listAction = function listAction(params) {
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: ['configurations']
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.51.3",
3
+ "version": "1.52.0",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
6
  "dependencies": {
7
7
  "@babel/polyfill": "^7.12.1",
8
- "@configuratorware/scripts": "1.51.3",
8
+ "@configuratorware/scripts": "1.52.0",
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.51.3",
32
+ "redhotmagma-visualization": "1.52.0",
33
33
  "redux": "^4.1.0",
34
34
  "redux-logger": "^3.0.6",
35
35
  "redux-persist": "^5.10.0",