@crystaldesign/diva-seller 24.11.0-beta.4 → 24.11.0-beta.40

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.
Files changed (2) hide show
  1. package/build/esm/index.js +82 -82
  2. package/package.json +5 -5
@@ -510,7 +510,7 @@ function apiLoadAnalyticScore(_x) {
510
510
  return _apiLoadAnalyticScore.apply(this, arguments);
511
511
  }
512
512
  function _apiLoadAnalyticScore() {
513
- _apiLoadAnalyticScore = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
513
+ _apiLoadAnalyticScore = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
514
514
  var organizationId, serverUrl, jwt, pastMonths, catalogCodex, months, from, to, catalogBody, url, response;
515
515
  return _regeneratorRuntime.wrap(function _callee$(_context) {
516
516
  while (1) switch (_context.prev = _context.next) {
@@ -559,7 +559,7 @@ function apiLoadCollections(_x2) {
559
559
 
560
560
  //20150430112400 -> 30.04.2015 11:24
561
561
  function _apiLoadCollections() {
562
- _apiLoadCollections = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref2) {
562
+ _apiLoadCollections = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref2) {
563
563
  var serverUrl, sessionGuid, fullUrl, response, newCollectionArray;
564
564
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
565
565
  while (1) switch (_context2.prev = _context2.next) {
@@ -622,7 +622,7 @@ function apiLoadCatalogs(_x3) {
622
622
  return _apiLoadCatalogs.apply(this, arguments);
623
623
  }
624
624
  function _apiLoadCatalogs() {
625
- _apiLoadCatalogs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_ref3) {
625
+ _apiLoadCatalogs = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_ref3) {
626
626
  var _response$Catalogs;
627
627
  var serverUrl, sessionGuid, collectionGuid, fullUrl, response, newCatalogArray;
628
628
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
@@ -705,7 +705,7 @@ function apiAccountLogin(_x4) {
705
705
  return _apiAccountLogin.apply(this, arguments);
706
706
  }
707
707
  function _apiAccountLogin() {
708
- _apiAccountLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(_ref4) {
708
+ _apiAccountLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(_ref4) {
709
709
  var serverUrl, sessionGuid, accountId, fullUrl, response;
710
710
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
711
711
  while (1) switch (_context4.prev = _context4.next) {
@@ -738,7 +738,7 @@ function apiCatalogGuidLogin(_x5) {
738
738
  return _apiCatalogGuidLogin.apply(this, arguments);
739
739
  }
740
740
  function _apiCatalogGuidLogin() {
741
- _apiCatalogGuidLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(_ref5) {
741
+ _apiCatalogGuidLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(_ref5) {
742
742
  var serverUrl, sessionGuid, catalogGuid, fullUrl, response;
743
743
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
744
744
  while (1) switch (_context5.prev = _context5.next) {
@@ -780,7 +780,7 @@ function apiLoadCatalogInfo(_x6) {
780
780
  return _apiLoadCatalogInfo.apply(this, arguments);
781
781
  }
782
782
  function _apiLoadCatalogInfo() {
783
- _apiLoadCatalogInfo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(_ref6) {
783
+ _apiLoadCatalogInfo = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(_ref6) {
784
784
  var _response$CollectionG, _response$Properties, _response$Properties2;
785
785
  var serverUrlAPI, catalogCodex, accountSessionId, language, serverUrl, fullUrl, response, actCatalogInfoData, i, _i, j;
786
786
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
@@ -881,7 +881,7 @@ function apiLoadArticles(_x7) {
881
881
  return _apiLoadArticles.apply(this, arguments);
882
882
  }
883
883
  function _apiLoadArticles() {
884
- _apiLoadArticles = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7(_ref7) {
884
+ _apiLoadArticles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(_ref7) {
885
885
  var serverUrlAPI, catalogCodex, accountSessionId, lang, serverUrl, fullUrl, response, articleList, i, jsonArticle;
886
886
  return _regeneratorRuntime.wrap(function _callee7$(_context7) {
887
887
  while (1) switch (_context7.prev = _context7.next) {
@@ -977,7 +977,7 @@ function apiLoadBasket(_x8) {
977
977
  return _apiLoadBasket.apply(this, arguments);
978
978
  }
979
979
  function _apiLoadBasket() {
980
- _apiLoadBasket = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8(_ref8) {
980
+ _apiLoadBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(_ref8) {
981
981
  var divaNr, apiConfig, customProductId, jwt, fullUrl, _divaNr$split, _divaNr$split2, DivaNrAndDoc, variantId, _DivaNrAndDoc$split, _DivaNrAndDoc$split2, _onlyDivaNr, _version, _divaNr$split3, _divaNr$split4, onlyDivaNr, version, response, basket, key, value, _response, result, _basket;
982
982
  return _regeneratorRuntime.wrap(function _callee8$(_context8) {
983
983
  while (1) switch (_context8.prev = _context8.next) {
@@ -1054,7 +1054,7 @@ function apiLoadUniqueDivaNr(_x9) {
1054
1054
  return _apiLoadUniqueDivaNr.apply(this, arguments);
1055
1055
  }
1056
1056
  function _apiLoadUniqueDivaNr() {
1057
- _apiLoadUniqueDivaNr = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(_ref9) {
1057
+ _apiLoadUniqueDivaNr = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(_ref9) {
1058
1058
  var basketUrl, jwt, fullUrl, returnDivaNr, response;
1059
1059
  return _regeneratorRuntime.wrap(function _callee9$(_context9) {
1060
1060
  while (1) switch (_context9.prev = _context9.next) {
@@ -1089,7 +1089,7 @@ function apiSaveRenderJobs(_x10) {
1089
1089
  return _apiSaveRenderJobs.apply(this, arguments);
1090
1090
  }
1091
1091
  function _apiSaveRenderJobs() {
1092
- _apiSaveRenderJobs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee10(_ref10) {
1092
+ _apiSaveRenderJobs = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(_ref10) {
1093
1093
  var serviceUrl, jobs, jwt, fullUrl, promises;
1094
1094
  return _regeneratorRuntime.wrap(function _callee10$(_context10) {
1095
1095
  while (1) switch (_context10.prev = _context10.next) {
@@ -1136,7 +1136,7 @@ function apiDeleteRenderJob(_x11) {
1136
1136
  return _apiDeleteRenderJob.apply(this, arguments);
1137
1137
  }
1138
1138
  function _apiDeleteRenderJob() {
1139
- _apiDeleteRenderJob = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee11(_ref11) {
1139
+ _apiDeleteRenderJob = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11(_ref11) {
1140
1140
  var serviceUrl, id, jwt, fullUrl, response;
1141
1141
  return _regeneratorRuntime.wrap(function _callee11$(_context11) {
1142
1142
  while (1) switch (_context11.prev = _context11.next) {
@@ -1185,7 +1185,7 @@ function apiUpdateRenderJob(_x12) {
1185
1185
  return _apiUpdateRenderJob.apply(this, arguments);
1186
1186
  }
1187
1187
  function _apiUpdateRenderJob() {
1188
- _apiUpdateRenderJob = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee12(_ref12) {
1188
+ _apiUpdateRenderJob = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee12(_ref12) {
1189
1189
  var serviceUrl, id, patch, jwt, fullUrl, response;
1190
1190
  return _regeneratorRuntime.wrap(function _callee12$(_context12) {
1191
1191
  while (1) switch (_context12.prev = _context12.next) {
@@ -1237,7 +1237,7 @@ function apiUpdateRenderJobState(_x13) {
1237
1237
  return _apiUpdateRenderJobState.apply(this, arguments);
1238
1238
  }
1239
1239
  function _apiUpdateRenderJobState() {
1240
- _apiUpdateRenderJobState = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee13(_ref13) {
1240
+ _apiUpdateRenderJobState = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee13(_ref13) {
1241
1241
  var serviceUrl, id, state, jwt, fullUrl, response;
1242
1242
  return _regeneratorRuntime.wrap(function _callee13$(_context13) {
1243
1243
  while (1) switch (_context13.prev = _context13.next) {
@@ -1289,7 +1289,7 @@ function apiReadCurrentViewpoint(_x14) {
1289
1289
  return _apiReadCurrentViewpoint.apply(this, arguments);
1290
1290
  }
1291
1291
  function _apiReadCurrentViewpoint() {
1292
- _apiReadCurrentViewpoint = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee14(_ref14) {
1292
+ _apiReadCurrentViewpoint = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee14(_ref14) {
1293
1293
  var divaNr, serviceUrl, jwt, fullUrl, response;
1294
1294
  return _regeneratorRuntime.wrap(function _callee14$(_context14) {
1295
1295
  while (1) switch (_context14.prev = _context14.next) {
@@ -1332,7 +1332,7 @@ function apiReadHQRenderScript(_x15) {
1332
1332
  return _apiReadHQRenderScript.apply(this, arguments);
1333
1333
  }
1334
1334
  function _apiReadHQRenderScript() {
1335
- _apiReadHQRenderScript = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee15(_ref15) {
1335
+ _apiReadHQRenderScript = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee15(_ref15) {
1336
1336
  var id, serviceUrl, jwt, fullUrl, response;
1337
1337
  return _regeneratorRuntime.wrap(function _callee15$(_context15) {
1338
1338
  while (1) switch (_context15.prev = _context15.next) {
@@ -1375,7 +1375,7 @@ function apiCreateViewpoint(_x16) {
1375
1375
  return _apiCreateViewpoint.apply(this, arguments);
1376
1376
  }
1377
1377
  function _apiCreateViewpoint() {
1378
- _apiCreateViewpoint = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee16(_ref16) {
1378
+ _apiCreateViewpoint = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee16(_ref16) {
1379
1379
  var serviceUrl, data, jwt, fullUrl, response;
1380
1380
  return _regeneratorRuntime.wrap(function _callee16$(_context16) {
1381
1381
  while (1) switch (_context16.prev = _context16.next) {
@@ -1419,7 +1419,7 @@ function apiOrderRenderPackage(_x17) {
1419
1419
  return _apiOrderRenderPackage.apply(this, arguments);
1420
1420
  }
1421
1421
  function _apiOrderRenderPackage() {
1422
- _apiOrderRenderPackage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee17(_ref17) {
1422
+ _apiOrderRenderPackage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee17(_ref17) {
1423
1423
  var serviceUrl, jwt, id, productParams, fullUrl, response;
1424
1424
  return _regeneratorRuntime.wrap(function _callee17$(_context17) {
1425
1425
  while (1) switch (_context17.prev = _context17.next) {
@@ -1463,7 +1463,7 @@ function apiGetClassification(_x19) {
1463
1463
  return _apiGetClassification.apply(this, arguments);
1464
1464
  }
1465
1465
  function _apiGetClassification() {
1466
- _apiGetClassification = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee19(_ref19) {
1466
+ _apiGetClassification = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee19(_ref19) {
1467
1467
  var serviceUrl, res, resData;
1468
1468
  return _regeneratorRuntime.wrap(function _callee19$(_context19) {
1469
1469
  while (1) switch (_context19.prev = _context19.next) {
@@ -1499,7 +1499,7 @@ function apiGetProductCreator(_x20) {
1499
1499
  return _apiGetProductCreator.apply(this, arguments);
1500
1500
  }
1501
1501
  function _apiGetProductCreator() {
1502
- _apiGetProductCreator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee20(_ref20) {
1502
+ _apiGetProductCreator = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee20(_ref20) {
1503
1503
  var serviceUrl, res, resData;
1504
1504
  return _regeneratorRuntime.wrap(function _callee20$(_context20) {
1505
1505
  while (1) switch (_context20.prev = _context20.next) {
@@ -1535,7 +1535,7 @@ function apiGetAffiliates(_x21) {
1535
1535
  return _apiGetAffiliates.apply(this, arguments);
1536
1536
  }
1537
1537
  function _apiGetAffiliates() {
1538
- _apiGetAffiliates = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee21(_ref21) {
1538
+ _apiGetAffiliates = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee21(_ref21) {
1539
1539
  var serviceUrl, organizationId, jwt, fullUrl, res, resOrg;
1540
1540
  return _regeneratorRuntime.wrap(function _callee21$(_context21) {
1541
1541
  while (1) switch (_context21.prev = _context21.next) {
@@ -1780,7 +1780,7 @@ function useSellerStateData(_ref) {
1780
1780
  });
1781
1781
  };
1782
1782
  var loadCollections = /*#__PURE__*/function () {
1783
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(props) {
1783
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(props) {
1784
1784
  var collections;
1785
1785
  return _regeneratorRuntime.wrap(function _callee$(_context) {
1786
1786
  while (1) switch (_context.prev = _context.next) {
@@ -1828,7 +1828,7 @@ function useSellerStateData(_ref) {
1828
1828
  };
1829
1829
  }();
1830
1830
  var loadCatalogs = /*#__PURE__*/function () {
1831
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref3) {
1831
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref3) {
1832
1832
  var collectionId, props, _state$collections, catalogs, newCatalogCodex;
1833
1833
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
1834
1834
  while (1) switch (_context2.prev = _context2.next) {
@@ -1892,7 +1892,7 @@ function useSellerStateData(_ref) {
1892
1892
  };
1893
1893
  }();
1894
1894
  var loadAnalyticScore = /*#__PURE__*/function () {
1895
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_ref5) {
1895
+ var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_ref5) {
1896
1896
  var organizationId, pastMonths, catalogCodex;
1897
1897
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
1898
1898
  while (1) switch (_context3.prev = _context3.next) {
@@ -1928,7 +1928,7 @@ function useSellerStateData(_ref) {
1928
1928
  };
1929
1929
  }();
1930
1930
  var loadCatalogInfo = /*#__PURE__*/function () {
1931
- var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
1931
+ var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
1932
1932
  var _len,
1933
1933
  catalog,
1934
1934
  _key,
@@ -2082,7 +2082,7 @@ function useSellerStateData(_ref) {
2082
2082
  };
2083
2083
  }();
2084
2084
  var checkAccountLogin = /*#__PURE__*/function () {
2085
- var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(_ref8) {
2085
+ var _ref9 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(_ref8) {
2086
2086
  var accountId, accountLoginId;
2087
2087
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
2088
2088
  while (1) switch (_context5.prev = _context5.next) {
@@ -2120,7 +2120,7 @@ function useSellerStateData(_ref) {
2120
2120
  };
2121
2121
  }();
2122
2122
  var catalogGuidLogin = /*#__PURE__*/function () {
2123
- var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(_ref10) {
2123
+ var _ref11 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(_ref10) {
2124
2124
  var catalogGuid, accountSessionGuid, accountId, accountLoginId, _yield$apiCatalogGuid, s, a;
2125
2125
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
2126
2126
  while (1) switch (_context6.prev = _context6.next) {
@@ -2198,7 +2198,7 @@ function useSellerStateData(_ref) {
2198
2198
  });
2199
2199
  };
2200
2200
  var updateBasket = /*#__PURE__*/function () {
2201
- var _ref13 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7(divaNr, basket, customProductId, organizationId, assignNewDivaNr, jwt) {
2201
+ var _ref13 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(divaNr, basket, customProductId, organizationId, assignNewDivaNr, jwt) {
2202
2202
  var _state$basketState, _currentBasket, _state$basketState2, _currentBasket2, currentBasket, basketIsAlreadySaved, oldSetIds, newSetIds, doReallyConcat, _state$basketState5, _state$basketState6, _state$basketState3, _divaNr, _state$basketState4, _state$basketState7, ret, _getBasketStatusArr, _divaNr2, catalogData;
2203
2203
  return _regeneratorRuntime.wrap(function _callee7$(_context7) {
2204
2204
  while (1) switch (_context7.prev = _context7.next) {
@@ -2377,7 +2377,7 @@ function useSellerStateData(_ref) {
2377
2377
  };
2378
2378
  }();
2379
2379
  var saveBasket = /*#__PURE__*/function () {
2380
- var _ref14 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8(basket, openPDF, saveToApi2, toggleEvent) {
2380
+ var _ref14 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(basket, openPDF, saveToApi2, toggleEvent) {
2381
2381
  var response;
2382
2382
  return _regeneratorRuntime.wrap(function _callee8$(_context8) {
2383
2383
  while (1) switch (_context8.prev = _context8.next) {
@@ -2513,7 +2513,7 @@ function useSellerStateData(_ref) {
2513
2513
  return configData === null || configData === void 0 ? void 0 : configData.OldVkLink;
2514
2514
  };
2515
2515
  var loadArticles = /*#__PURE__*/function () {
2516
- var _ref16 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(_ref15) {
2516
+ var _ref16 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(_ref15) {
2517
2517
  var catalogCodex, accountId, props, _state$currentAccount, _state$catalogData2, articles, accountSessionId;
2518
2518
  return _regeneratorRuntime.wrap(function _callee9$(_context9) {
2519
2519
  while (1) switch (_context9.prev = _context9.next) {
@@ -2622,7 +2622,7 @@ function useSellerStateData(_ref) {
2622
2622
  }
2623
2623
  };
2624
2624
  var evaluateRopoEffect = /*#__PURE__*/function () {
2625
- var _ref17 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee10(sourceBasket, sourceOrganizationId) {
2625
+ var _ref17 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(sourceBasket, sourceOrganizationId) {
2626
2626
  var organization;
2627
2627
  return _regeneratorRuntime.wrap(function _callee10$(_context10) {
2628
2628
  while (1) switch (_context10.prev = _context10.next) {
@@ -2848,7 +2848,7 @@ var SellerStateProvider = function SellerStateProvider(_ref) {
2848
2848
  setOriginProductId();
2849
2849
  };
2850
2850
  var openBasket = /*#__PURE__*/function () {
2851
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(statusRef, divaNr, checkBasket, basket) {
2851
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(statusRef, divaNr, checkBasket, basket) {
2852
2852
  var _state$basketState;
2853
2853
  var updatedBasketData;
2854
2854
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
@@ -2899,7 +2899,7 @@ var SellerStateProvider = function SellerStateProvider(_ref) {
2899
2899
  accept: t('modals.yes'),
2900
2900
  text: t('modals.open_as_copy'),
2901
2901
  callback: function () {
2902
- var _callback = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(accepted) {
2902
+ var _callback = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(accepted) {
2903
2903
  var updatedBasketData;
2904
2904
  return _regeneratorRuntime.wrap(function _callee$(_context) {
2905
2905
  while (1) switch (_context.prev = _context.next) {
@@ -2939,7 +2939,7 @@ var SellerStateProvider = function SellerStateProvider(_ref) {
2939
2939
  };
2940
2940
  }();
2941
2941
  var loadBasket = /*#__PURE__*/function () {
2942
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(statusRef, divaNr, basket, assignNewDivaNr) {
2942
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(statusRef, divaNr, basket, assignNewDivaNr) {
2943
2943
  var updatedBasket, catalogData, saved, _state$basketState2, _basket, newBasket, _state$basketState3, updateBasketData, _updatedBasket, _updateBasketData, moduletoopen, params;
2944
2944
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
2945
2945
  while (1) switch (_context3.prev = _context3.next) {
@@ -3079,7 +3079,7 @@ var SellerStateProvider = function SellerStateProvider(_ref) {
3079
3079
  };
3080
3080
  }();
3081
3081
  var openPlanner = /*#__PURE__*/function () {
3082
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(_ref4) {
3082
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(_ref4) {
3083
3083
  var catalogCodex, articleCodexes, forceReload, accountSessionGuid, accountId, retailArticleNr, setId, divaNr, productId, basketData, returnTo, productName, params, internal, _state$basketState4, _params2, _internal2, orderSet, _params3, _basketData$OrderSets, _basketData$OrderSets2;
3084
3084
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
3085
3085
  while (1) switch (_context4.prev = _context4.next) {
@@ -3406,7 +3406,7 @@ var SellerStateProvider = function SellerStateProvider(_ref) {
3406
3406
  });
3407
3407
  };
3408
3408
  var fetchBasket = /*#__PURE__*/function () {
3409
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(divaNr) {
3409
+ var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(divaNr) {
3410
3410
  var response;
3411
3411
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
3412
3412
  while (1) switch (_context5.prev = _context5.next) {
@@ -3439,7 +3439,7 @@ var SellerStateProvider = function SellerStateProvider(_ref) {
3439
3439
  };
3440
3440
  }();
3441
3441
  var loadUniqueDivaNr = /*#__PURE__*/function () {
3442
- var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
3442
+ var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
3443
3443
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
3444
3444
  while (1) switch (_context6.prev = _context6.next) {
3445
3445
  case 0:
@@ -3594,8 +3594,8 @@ function Catalogs(_ref) {
3594
3594
  openComponent = _useSellerState$actio.openComponent,
3595
3595
  loadAnalyticScore = _useSellerState$actio.loadAnalyticScore;
3596
3596
  var enableModelAnalytics = !!(configurationData !== null && configurationData !== void 0 && (_configurationData$an = configurationData.analyticsHistogramConfig) !== null && _configurationData$an !== void 0 && _configurationData$an.enableModelAnalytics);
3597
- var load = useCallback( /*#__PURE__*/function () {
3598
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(collectionId) {
3597
+ var load = useCallback(/*#__PURE__*/function () {
3598
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(collectionId) {
3599
3599
  var collections, _configurationData$an2, pastMonths, catalogCodex, analytics;
3600
3600
  return _regeneratorRuntime.wrap(function _callee$(_context) {
3601
3601
  while (1) switch (_context.prev = _context.next) {
@@ -3668,8 +3668,8 @@ function Catalogs(_ref) {
3668
3668
  useEffect(function () {
3669
3669
  load(collectionId);
3670
3670
  }, [collectionId, sessionGuid]);
3671
- var onCatalogClick = useCallback( /*#__PURE__*/function () {
3672
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(item) {
3671
+ var onCatalogClick = useCallback(/*#__PURE__*/function () {
3672
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(item) {
3673
3673
  var _configurationData$ca;
3674
3674
  var _configurationData$ca2, action, parameters;
3675
3675
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
@@ -3727,7 +3727,7 @@ function Catalogs(_ref) {
3727
3727
  };
3728
3728
  }(), [openPlanner]);
3729
3729
  var mergeModelsAndScore = /*#__PURE__*/function () {
3730
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(collections, score) {
3730
+ var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(collections, score) {
3731
3731
  var scoreIndex;
3732
3732
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
3733
3733
  while (1) switch (_context3.prev = _context3.next) {
@@ -3754,7 +3754,7 @@ function Catalogs(_ref) {
3754
3754
  };
3755
3755
  }();
3756
3756
  var onShowAllClick = /*#__PURE__*/function () {
3757
- var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
3757
+ var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
3758
3758
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
3759
3759
  while (1) switch (_context4.prev = _context4.next) {
3760
3760
  case 0:
@@ -4008,7 +4008,7 @@ function Collections() {
4008
4008
  }, []);
4009
4009
  useEffect(function () {
4010
4010
  var load = /*#__PURE__*/function () {
4011
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
4011
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
4012
4012
  var collections;
4013
4013
  return _regeneratorRuntime.wrap(function _callee$(_context) {
4014
4014
  while (1) switch (_context.prev = _context.next) {
@@ -4222,7 +4222,7 @@ function Articles(_ref) {
4222
4222
  }, []);
4223
4223
  useEffect(function () {
4224
4224
  var load = /*#__PURE__*/function () {
4225
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
4225
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
4226
4226
  var articleItems;
4227
4227
  return _regeneratorRuntime.wrap(function _callee$(_context) {
4228
4228
  while (1) switch (_context.prev = _context.next) {
@@ -4720,7 +4720,7 @@ var OpvImage = function OpvImage(_ref) {
4720
4720
  style: {
4721
4721
  width: '20px'
4722
4722
  }
4723
- })), isOpen && (renderLayer === null || renderLayer === void 0 ? void 0 : renderLayer( /*#__PURE__*/jsx("img", _objectSpread$z(_objectSpread$z({
4723
+ })), isOpen && (renderLayer === null || renderLayer === void 0 ? void 0 : renderLayer(/*#__PURE__*/jsx("img", _objectSpread$z(_objectSpread$z({
4724
4724
  src: src.replace('_gal.', '.')
4725
4725
  }, layerProps), {}, {
4726
4726
  style: _objectSpread$z({
@@ -6753,7 +6753,7 @@ function Basket(_ref) {
6753
6753
  }
6754
6754
  };
6755
6755
  var onClickSave = /*#__PURE__*/function () {
6756
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(pdf, doSendEmail) {
6756
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(pdf, doSendEmail) {
6757
6757
  var _configurationData$Ch, _configurationData$re;
6758
6758
  var getPdf, response, _configurationData$Ch2, _ref3, pdfUrl, _configurationData$Ch3, _configurationData$Ch4, _currentBasket$Client, _opener;
6759
6759
  return _regeneratorRuntime.wrap(function _callee$(_context) {
@@ -6866,7 +6866,7 @@ function Basket(_ref) {
6866
6866
  };
6867
6867
  }();
6868
6868
  var doExportToVKP = /*#__PURE__*/function () {
6869
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
6869
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
6870
6870
  var response, callBackURL;
6871
6871
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
6872
6872
  while (1) switch (_context2.prev = _context2.next) {
@@ -7513,7 +7513,7 @@ function Info$1(_ref) {
7513
7513
  }, [openComponent, currentAccountLoginId, accountId, catalogCodex]);
7514
7514
  useEffect(function () {
7515
7515
  var load = /*#__PURE__*/function () {
7516
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
7516
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
7517
7517
  var accountSessionId, _catalogInfoData$, catalogInfoData;
7518
7518
  return _regeneratorRuntime.wrap(function _callee$(_context) {
7519
7519
  while (1) switch (_context.prev = _context.next) {
@@ -8137,7 +8137,7 @@ function Info(_ref) {
8137
8137
  }, [openComponent, currentAccountLoginId, accountId, catalogCodex]);
8138
8138
  useEffect(function () {
8139
8139
  var load = /*#__PURE__*/function () {
8140
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
8140
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
8141
8141
  var accountSessionId, _catalogInfoData$, catalogInfoData;
8142
8142
  return _regeneratorRuntime.wrap(function _callee$(_context) {
8143
8143
  while (1) switch (_context.prev = _context.next) {
@@ -9737,7 +9737,7 @@ function CustomBaseForm (_ref) {
9737
9737
  return _updateOptions.apply(this, arguments);
9738
9738
  }
9739
9739
  function _updateOptions() {
9740
- _updateOptions = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(value, group, element) {
9740
+ _updateOptions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(value, group, element) {
9741
9741
  var sessionGuid, newOptions, filter;
9742
9742
  return _regeneratorRuntime.wrap(function _callee$(_context) {
9743
9743
  while (1) switch (_context.prev = _context.next) {
@@ -10977,7 +10977,7 @@ function useClassification () {
10977
10977
  current = _useState12[0],
10978
10978
  setCurrent = _useState12[1];
10979
10979
  var getCustomFormConfig = /*#__PURE__*/function () {
10980
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
10980
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
10981
10981
  var currentData;
10982
10982
  return _regeneratorRuntime.wrap(function _callee$(_context) {
10983
10983
  while (1) switch (_context.prev = _context.next) {
@@ -11006,7 +11006,7 @@ function useClassification () {
11006
11006
  };
11007
11007
  }();
11008
11008
  var loadCustomForm = /*#__PURE__*/function () {
11009
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(currentData) {
11009
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(currentData) {
11010
11010
  var _currentData$hideTabs;
11011
11011
  var groups, sessionGuid, _i, _Object$keys, ck, group, _iterator, _step, element, values, currentElement, _currentElement;
11012
11012
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
@@ -11100,7 +11100,7 @@ function useClassification () {
11100
11100
  };
11101
11101
  }();
11102
11102
  var load = /*#__PURE__*/function () {
11103
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
11103
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
11104
11104
  var currentData, classificationFields;
11105
11105
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
11106
11106
  while (1) switch (_context3.prev = _context3.next) {
@@ -11401,7 +11401,7 @@ function useProductState (basket, divaNr, checkBasket, editedBasket) {
11401
11401
  return _loadConfig.apply(this, arguments);
11402
11402
  }
11403
11403
  function _loadConfig() {
11404
- _loadConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
11404
+ _loadConfig = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
11405
11405
  return _regeneratorRuntime.wrap(function _callee$(_context) {
11406
11406
  while (1) switch (_context.prev = _context.next) {
11407
11407
  case 0:
@@ -11501,8 +11501,8 @@ function useProductState (basket, divaNr, checkBasket, editedBasket) {
11501
11501
  subCategory: currentCategories.subCategory
11502
11502
  }));
11503
11503
  }, [updateCategoriesInternal, state]);
11504
- var addBasket = useCallback( /*#__PURE__*/function () {
11505
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(divaNr) {
11504
+ var addBasket = useCallback(/*#__PURE__*/function () {
11505
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(divaNr) {
11506
11506
  var _state$baseData$artic, _state$variantData, baskets, newBasket, _currentBasketState$b;
11507
11507
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
11508
11508
  while (1) switch (_context2.prev = _context2.next) {
@@ -11583,7 +11583,7 @@ function useProductState (basket, divaNr, checkBasket, editedBasket) {
11583
11583
  };
11584
11584
  }(), [dispatch, state, openModal, fetchBasket]);
11585
11585
  var save = /*#__PURE__*/function () {
11586
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
11586
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
11587
11587
  var _state$variantData2, _state$classification, isNewBasket, _currentBasketState$b2, data, params, _productHandler$close, _productHandler$close2, _productHandler$close3, savedProducts, _currentBasketState$b3;
11588
11588
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
11589
11589
  while (1) switch (_context3.prev = _context3.next) {
@@ -11732,7 +11732,7 @@ function useProductState (basket, divaNr, checkBasket, editedBasket) {
11732
11732
  };
11733
11733
  }();
11734
11734
  var reset = /*#__PURE__*/function () {
11735
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(basket, productData) {
11735
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(basket, productData) {
11736
11736
  var _configurationData$Pr;
11737
11737
  var updateBasket, usedCatalogData, basketSaved, _yield$openBasket, openedBasket, openedCatalogData, _saved, _yield$productHandler, isNew, resetState;
11738
11738
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
@@ -11799,7 +11799,7 @@ function useProductState (basket, divaNr, checkBasket, editedBasket) {
11799
11799
  }();
11800
11800
  useEffect(function () {
11801
11801
  var init = /*#__PURE__*/function () {
11802
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
11802
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
11803
11803
  var _yield$openBasket2, updateBasket, catalogData, basketSaved, newDivaNr, _affiliates, _Object$keys$map2, _configurationData$Pr2, _optClassMap, _initState, _yield$loadCategories, classificationFields, newCurrentData, additional, _additionalBaseFields, newLivingArea, _yield$productHandler2, _isNew, baseChanged, initState, currentCategories, differingOptFields, optMapEntries, missingOptFields, accountlogourl, logofile, _initState$baseData$m, newlogofile, _initState$baseData$m2;
11804
11804
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
11805
11805
  while (1) switch (_context5.prev = _context5.next) {
@@ -12003,7 +12003,7 @@ function useProductState (basket, divaNr, checkBasket, editedBasket) {
12003
12003
  return _checkAndSetCustomForm.apply(this, arguments);
12004
12004
  }
12005
12005
  function _checkAndSetCustomForm() {
12006
- _checkAndSetCustomForm = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
12006
+ _checkAndSetCustomForm = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
12007
12007
  var _state$baseData$custo;
12008
12008
  var productCreatorConfig;
12009
12009
  return _regeneratorRuntime.wrap(function _callee7$(_context7) {
@@ -12019,7 +12019,7 @@ function useProductState (basket, divaNr, checkBasket, editedBasket) {
12019
12019
  reject: true,
12020
12020
  text: t('productcreator.modal.createsmarticle'),
12021
12021
  callback: function () {
12022
- var _callback = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(accepted) {
12022
+ var _callback = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(accepted) {
12023
12023
  var customFormDataLoaded;
12024
12024
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
12025
12025
  while (1) switch (_context6.prev = _context6.next) {
@@ -13446,7 +13446,7 @@ function useRenderjobs$1 (_ref) {
13446
13446
  return false;
13447
13447
  }
13448
13448
  var createRenderJob = /*#__PURE__*/function () {
13449
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(onSuccess) {
13449
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(onSuccess) {
13450
13450
  var jobs, i, _selected$i, selectedProduct, newJob, selectedIdx, variantId;
13451
13451
  return _regeneratorRuntime.wrap(function _callee$(_context) {
13452
13452
  while (1) switch (_context.prev = _context.next) {
@@ -13563,7 +13563,7 @@ function useRenderjobs$1 (_ref) {
13563
13563
  };
13564
13564
  }();
13565
13565
  var editRenderJob = /*#__PURE__*/function () {
13566
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(onSuccess) {
13566
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(onSuccess) {
13567
13567
  var patch, _renderJobFormState$v, updatedRenderJob;
13568
13568
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
13569
13569
  while (1) switch (_context2.prev = _context2.next) {
@@ -13655,7 +13655,7 @@ function useRenderjobs$1 (_ref) {
13655
13655
  };
13656
13656
  }();
13657
13657
  var deleteRenderJob = /*#__PURE__*/function () {
13658
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_id, onSuccess) {
13658
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_id, onSuccess) {
13659
13659
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
13660
13660
  while (1) switch (_context3.prev = _context3.next) {
13661
13661
  case 0:
@@ -13691,7 +13691,7 @@ function useRenderjobs$1 (_ref) {
13691
13691
  };
13692
13692
  }();
13693
13693
  var updatedState = /*#__PURE__*/function () {
13694
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(item, state, onSuccess) {
13694
+ var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(item, state, onSuccess) {
13695
13695
  var job;
13696
13696
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
13697
13697
  while (1) switch (_context4.prev = _context4.next) {
@@ -13725,7 +13725,7 @@ function useRenderjobs$1 (_ref) {
13725
13725
  };
13726
13726
  }();
13727
13727
  var setViewpoints = /*#__PURE__*/function () {
13728
- var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
13728
+ var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
13729
13729
  var viewpoints;
13730
13730
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
13731
13731
  while (1) switch (_context5.prev = _context5.next) {
@@ -13762,7 +13762,7 @@ function useRenderjobs$1 (_ref) {
13762
13762
  };
13763
13763
  }();
13764
13764
  var getHQRenderScript = /*#__PURE__*/function () {
13765
- var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(id) {
13765
+ var _ref8 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(id) {
13766
13766
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
13767
13767
  while (1) switch (_context6.prev = _context6.next) {
13768
13768
  case 0:
@@ -14425,7 +14425,7 @@ function RenderJobTableLegacy (_ref) {
14425
14425
  title: t('productcreator.renderjobs.modal.title'),
14426
14426
  text: t('productcreator.renderjobs.modal.text'),
14427
14427
  callback: function () {
14428
- var _callback = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(accepted) {
14428
+ var _callback = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(accepted) {
14429
14429
  var success;
14430
14430
  return _regeneratorRuntime.wrap(function _callee$(_context) {
14431
14431
  while (1) switch (_context.prev = _context.next) {
@@ -14989,7 +14989,7 @@ function useRenderjobDetail (_ref) {
14989
14989
  onSave(jobs);
14990
14990
  };
14991
14991
  var onOrderRenderPackage = /*#__PURE__*/function () {
14992
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(renderPackage, state) {
14992
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(renderPackage, state) {
14993
14993
  var _currentBasketState$b6, _renderPackage$preset, nrOfAmbRenderingsNeeded, nrAmbrenderingsSelected, promises;
14994
14994
  return _regeneratorRuntime.wrap(function _callee$(_context) {
14995
14995
  while (1) switch (_context.prev = _context.next) {
@@ -15575,7 +15575,7 @@ function Presets(_ref2) {
15575
15575
  try {
15576
15576
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
15577
15577
  var hq = _step.value;
15578
- retVal.push( /*#__PURE__*/jsx("div", {
15578
+ retVal.push(/*#__PURE__*/jsx("div", {
15579
15579
  children: /*#__PURE__*/jsx(HQMedium, {
15580
15580
  title: t('configurator.Blickpunkte'),
15581
15581
  setPackageContent: function setPackageContent() {},
@@ -15596,7 +15596,7 @@ function Presets(_ref2) {
15596
15596
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
15597
15597
  var _preset = _step2.value;
15598
15598
  //eigentlich braucht es für SPIN keine Viewpoints
15599
- retVal.push( /*#__PURE__*/jsxs("h1", {
15599
+ retVal.push(/*#__PURE__*/jsxs("h1", {
15600
15600
  children: ["SPIN Preset: ", _preset.viewPoint]
15601
15601
  }, _preset.viewPoint));
15602
15602
  }
@@ -15606,7 +15606,7 @@ function Presets(_ref2) {
15606
15606
  _iterator2.f();
15607
15607
  }
15608
15608
  if (arPresets.length > 0) {
15609
- retVal.push( /*#__PURE__*/jsx("div", {
15609
+ retVal.push(/*#__PURE__*/jsx("div", {
15610
15610
  children: /*#__PURE__*/jsx(ArMedium, {
15611
15611
  title: arPresets.length + 'x ' + t('renderjob.detail.package.ar.title'),
15612
15612
  setPackageContent: function setPackageContent() {},
@@ -15624,7 +15624,7 @@ function Presets(_ref2) {
15624
15624
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
15625
15625
  var preset = _step3.value;
15626
15626
  counter++;
15627
- retVal.push( /*#__PURE__*/jsx("div", {
15627
+ retVal.push(/*#__PURE__*/jsx("div", {
15628
15628
  children: /*#__PURE__*/jsx(AmbienteRendering, {
15629
15629
  setPackageContent: setPackageContent,
15630
15630
  packageContent: packageContent,
@@ -15935,7 +15935,7 @@ function useRenderjobs(_ref) {
15935
15935
  title: t('productcreator.renderjobs.modal.title'),
15936
15936
  text: t('productcreator.renderjobs.modal.text'),
15937
15937
  callback: function () {
15938
- var _callback = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(accepted) {
15938
+ var _callback = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(accepted) {
15939
15939
  var success;
15940
15940
  return _regeneratorRuntime.wrap(function _callee$(_context) {
15941
15941
  while (1) switch (_context.prev = _context.next) {
@@ -15979,7 +15979,7 @@ function useRenderjobs(_ref) {
15979
15979
  });
15980
15980
  };
15981
15981
  var onDeletedRenderjob = /*#__PURE__*/function () {
15982
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(renderjob, onSuccess) {
15982
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(renderjob, onSuccess) {
15983
15983
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
15984
15984
  while (1) switch (_context2.prev = _context2.next) {
15985
15985
  case 0:
@@ -16020,7 +16020,7 @@ function useRenderjobs(_ref) {
16020
16020
  };
16021
16021
  }();
16022
16022
  var onOrderRenderjob = /*#__PURE__*/function () {
16023
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(renderjob, onSuccess) {
16023
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(renderjob, onSuccess) {
16024
16024
  var updatedHJob;
16025
16025
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
16026
16026
  while (1) switch (_context3.prev = _context3.next) {
@@ -16058,7 +16058,7 @@ function useRenderjobs(_ref) {
16058
16058
  };
16059
16059
  }();
16060
16060
  var onCanceledRenderjob = /*#__PURE__*/function () {
16061
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(renderjob, onSuccess) {
16061
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(renderjob, onSuccess) {
16062
16062
  var updatedHJob;
16063
16063
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
16064
16064
  while (1) switch (_context4.prev = _context4.next) {
@@ -16096,7 +16096,7 @@ function useRenderjobs(_ref) {
16096
16096
  };
16097
16097
  }();
16098
16098
  var onSavedRenderjobs = /*#__PURE__*/function () {
16099
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(jobs) {
16099
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(jobs) {
16100
16100
  var job, patch, updatedRenderJob;
16101
16101
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
16102
16102
  while (1) switch (_context5.prev = _context5.next) {
@@ -16194,7 +16194,7 @@ function useRenderjobs(_ref) {
16194
16194
  };
16195
16195
  }();
16196
16196
  var onSaveRenderPackage = /*#__PURE__*/function () {
16197
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(renderPackage, productParams) {
16197
+ var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(renderPackage, productParams) {
16198
16198
  var createdJobs;
16199
16199
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
16200
16200
  while (1) switch (_context6.prev = _context6.next) {
@@ -16507,7 +16507,7 @@ function ProductCreator (_ref) {
16507
16507
  });
16508
16508
  };
16509
16509
  var onSave = /*#__PURE__*/function () {
16510
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
16510
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
16511
16511
  var success, _opener, _state$variantData$fi2, _state$variantData4, variantId, _configurationData$Pr2, _configurationData$Pr3;
16512
16512
  return _regeneratorRuntime.wrap(function _callee$(_context) {
16513
16513
  while (1) switch (_context.prev = _context.next) {
@@ -16587,7 +16587,7 @@ function ProductCreator (_ref) {
16587
16587
  };
16588
16588
  }();
16589
16589
  var onCancel = /*#__PURE__*/function () {
16590
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
16590
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
16591
16591
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
16592
16592
  while (1) switch (_context2.prev = _context2.next) {
16593
16593
  case 0:
@@ -16963,7 +16963,7 @@ var ModelAnalytics = function ModelAnalytics(_ref) {
16963
16963
  }, [data]);
16964
16964
  useEffect(function () {
16965
16965
  var load = /*#__PURE__*/function () {
16966
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
16966
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
16967
16967
  var accountSessionId, catalogInfoData;
16968
16968
  return _regeneratorRuntime.wrap(function _callee$(_context) {
16969
16969
  while (1) switch (_context.prev = _context.next) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-seller",
3
- "version": "24.11.0-beta.4",
3
+ "version": "24.11.0-beta.40",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -35,9 +35,9 @@
35
35
  "react-i18next": "^11.7.0"
36
36
  },
37
37
  "dependencies": {
38
- "@crystaldesign/analytics": "24.11.0-beta.4",
39
- "@crystaldesign/products-component": "24.11.0-beta.4",
40
- "@crystaldesign/real-time-viewer": "24.11.0-beta.4",
38
+ "@crystaldesign/analytics": "24.11.0-beta.40",
39
+ "@crystaldesign/products-component": "24.11.0-beta.40",
40
+ "@crystaldesign/real-time-viewer": "24.11.0-beta.40",
41
41
  "@tinymce/tinymce-react": "^3.13.0",
42
42
  "react-error-boundary": "^4.0.13",
43
43
  "react-material-ui-carousel": "^2.1.1",
@@ -45,5 +45,5 @@
45
45
  },
46
46
  "types": "./build/types/seller/src/index.d.ts",
47
47
  "module": "build/esm/index.js",
48
- "gitHead": "00d55e47597f0d8e6daa5773e1a6487d8b67ef90"
48
+ "gitHead": "147415e6503e719c1c82cbda045adec039c774bf"
49
49
  }