@crystaldesign/diva-seller 24.14.0-beta.1 → 24.14.0-beta.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/build/esm/index.js +62 -174
- package/build/types/seller/src/components/Articles/index.d.ts.map +1 -1
- package/build/types/seller/src/components/Basket/index.d.ts.map +1 -1
- package/build/types/seller/src/components/Catalogs/index.d.ts.map +1 -1
- package/build/types/seller/src/components/Info/Description.d.ts.map +1 -1
- package/build/types/seller/src/components/InfoWithProducts/Description/index.d.ts.map +1 -1
- package/build/types/seller/src/components/InfoWithProducts/index.d.ts.map +1 -1
- package/build/types/seller/src/provider/hooks/useSellerStateData/index.d.ts.map +1 -1
- package/package.json +5 -5
package/build/esm/index.js
CHANGED
|
@@ -989,7 +989,8 @@ function _apiLoadBasket() {
|
|
|
989
989
|
_context8.next = 6;
|
|
990
990
|
return fetch(fullUrl, {
|
|
991
991
|
headers: {
|
|
992
|
-
Authorization: 'Bearer ' + jwt
|
|
992
|
+
Authorization: 'Bearer ' + jwt,
|
|
993
|
+
'X-Session-Id': DivaUtils.SessionId
|
|
993
994
|
}
|
|
994
995
|
}).then(function (res) {
|
|
995
996
|
return res.json();
|
|
@@ -1297,7 +1298,7 @@ function _unsupportedIterableToArray$2(r, a) { if (r) { if ("string" == typeof r
|
|
|
1297
1298
|
function _arrayLikeToArray$2(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
1298
1299
|
function ownKeys$z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1299
1300
|
function _objectSpread$z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1300
|
-
var LOG$
|
|
1301
|
+
var LOG$a = getLogger('Seller', 'SellerStateData');
|
|
1301
1302
|
function useSellerStateData(_ref) {
|
|
1302
1303
|
var sessionGuid = _ref.sessionGuid,
|
|
1303
1304
|
configData = _ref.configData,
|
|
@@ -1334,7 +1335,7 @@ function useSellerStateData(_ref) {
|
|
|
1334
1335
|
var updateAcountLogo = function updateAcountLogo(logo) {
|
|
1335
1336
|
updateCustomLogo(['SELLER', 'DIVA_WEBPLANNER', 'REPORT'], logo);
|
|
1336
1337
|
};
|
|
1337
|
-
var basketHandler = new BasketHandler(LOG$
|
|
1338
|
+
var basketHandler = new BasketHandler(LOG$a, apiConfig.basketService, apiConfig.api2["default"]);
|
|
1338
1339
|
useEffect(function () {
|
|
1339
1340
|
if (loginMode !== 'offline' && isVisible == true) {
|
|
1340
1341
|
resetState();
|
|
@@ -1612,7 +1613,7 @@ function useSellerStateData(_ref) {
|
|
|
1612
1613
|
_context4.next = 26;
|
|
1613
1614
|
break;
|
|
1614
1615
|
}
|
|
1615
|
-
LOG$
|
|
1616
|
+
LOG$a.error(new DivaError('AccountSessionId is undefined', {
|
|
1616
1617
|
code: 'SELLER_0001'
|
|
1617
1618
|
}));
|
|
1618
1619
|
return _context4.abrupt("return");
|
|
@@ -1660,7 +1661,7 @@ function useSellerStateData(_ref) {
|
|
|
1660
1661
|
_context4.next = 40;
|
|
1661
1662
|
break;
|
|
1662
1663
|
}
|
|
1663
|
-
LOG$
|
|
1664
|
+
LOG$a.error(new DivaError('Error on Loading CatalogData', {
|
|
1664
1665
|
code: 'SELLER_0001',
|
|
1665
1666
|
cause: _context4.t2
|
|
1666
1667
|
}));
|
|
@@ -1821,7 +1822,7 @@ function useSellerStateData(_ref) {
|
|
|
1821
1822
|
while (1) switch (_context7.prev = _context7.next) {
|
|
1822
1823
|
case 0:
|
|
1823
1824
|
if (!(state.firstLoginApiUrl && sessionGuid)) {
|
|
1824
|
-
_context7.next =
|
|
1825
|
+
_context7.next = 53;
|
|
1825
1826
|
break;
|
|
1826
1827
|
}
|
|
1827
1828
|
currentBasket = basket;
|
|
@@ -1867,11 +1868,11 @@ function useSellerStateData(_ref) {
|
|
|
1867
1868
|
currentBasket = state.basketState.basket;
|
|
1868
1869
|
}
|
|
1869
1870
|
case 17:
|
|
1870
|
-
_context7.next =
|
|
1871
|
+
_context7.next = 40;
|
|
1871
1872
|
break;
|
|
1872
1873
|
case 19:
|
|
1873
1874
|
if (!(!currentBasket || divaNr != currentBasket.DivaNr || customProductId)) {
|
|
1874
|
-
_context7.next =
|
|
1875
|
+
_context7.next = 40;
|
|
1875
1876
|
break;
|
|
1876
1877
|
}
|
|
1877
1878
|
_context7.next = 22;
|
|
@@ -1898,43 +1899,40 @@ function useSellerStateData(_ref) {
|
|
|
1898
1899
|
}
|
|
1899
1900
|
return _context7.abrupt("return");
|
|
1900
1901
|
case 25:
|
|
1901
|
-
_context7.next = 27;
|
|
1902
|
-
return evaluateRopoEffect(ret.basket, ret.sourceOrganization);
|
|
1903
|
-
case 27:
|
|
1904
1902
|
currentBasket = ret.basket;
|
|
1905
1903
|
if (!((_state$basketState7 = state.basketState) !== null && _state$basketState7 !== void 0 && _state$basketState7.assignNewDivaNr || assignNewDivaNr || !divaNr && customProductId)) {
|
|
1906
|
-
_context7.next =
|
|
1904
|
+
_context7.next = 36;
|
|
1907
1905
|
break;
|
|
1908
1906
|
}
|
|
1909
|
-
_context7.next =
|
|
1907
|
+
_context7.next = 29;
|
|
1910
1908
|
return apiLoadUniqueDivaNr({
|
|
1911
1909
|
basketUrl: apiConfig.basketService,
|
|
1912
1910
|
jwt: jwt
|
|
1913
1911
|
});
|
|
1914
|
-
case
|
|
1912
|
+
case 29:
|
|
1915
1913
|
divaNr = _context7.sent;
|
|
1916
1914
|
currentBasket.DivaNr = divaNr;
|
|
1917
1915
|
//reset status basket gets new DivaNr
|
|
1918
1916
|
if ((_getBasketStatusArr = getBasketStatusArr()) !== null && _getBasketStatusArr !== void 0 && _getBasketStatusArr[0]) currentBasket.Status = getBasketStatusArr()[0];
|
|
1919
1917
|
currentBasket.setDocumentVersion(1);
|
|
1920
1918
|
divaNr = divaNr + '-1';
|
|
1921
|
-
_context7.next =
|
|
1919
|
+
_context7.next = 39;
|
|
1922
1920
|
break;
|
|
1923
|
-
case
|
|
1921
|
+
case 36:
|
|
1924
1922
|
currentBasket.setDocumentVersion(ret.newestDocumentVersion);
|
|
1925
1923
|
if (((_divaNr2 = divaNr) === null || _divaNr2 === void 0 ? void 0 : _divaNr2.split('-').length) == 3) {
|
|
1926
1924
|
divaNr = divaNr.split('-')[0] + '-' + divaNr.split('-')[1] + '-' + currentBasket.getDocumentVersion();
|
|
1927
1925
|
}
|
|
1928
1926
|
basketIsAlreadySaved = true;
|
|
1929
|
-
case
|
|
1927
|
+
case 39:
|
|
1930
1928
|
currentBasket.clearRenderData();
|
|
1931
|
-
case
|
|
1929
|
+
case 40:
|
|
1932
1930
|
catalogData = undefined;
|
|
1933
1931
|
if (!currentBasket) {
|
|
1934
|
-
_context7.next =
|
|
1932
|
+
_context7.next = 45;
|
|
1935
1933
|
break;
|
|
1936
1934
|
}
|
|
1937
|
-
_context7.next =
|
|
1935
|
+
_context7.next = 44;
|
|
1938
1936
|
return loadCatalogInfo.apply(void 0, _toConsumableArray(currentBasket.OrderSets.map(function (os) {
|
|
1939
1937
|
return {
|
|
1940
1938
|
catalogCodex: os.CatalogCodex,
|
|
@@ -1943,19 +1941,19 @@ function useSellerStateData(_ref) {
|
|
|
1943
1941
|
catalogGuid: os.CatalogGUID
|
|
1944
1942
|
};
|
|
1945
1943
|
})));
|
|
1946
|
-
case
|
|
1944
|
+
case 44:
|
|
1947
1945
|
catalogData = _context7.sent;
|
|
1948
|
-
case
|
|
1946
|
+
case 45:
|
|
1949
1947
|
if (!currentBasket) {
|
|
1950
|
-
_context7.next =
|
|
1948
|
+
_context7.next = 51;
|
|
1951
1949
|
break;
|
|
1952
1950
|
}
|
|
1953
1951
|
currentBasket.PrintOptions = getPrintOptions(currentBasket.PrintOptions);
|
|
1954
1952
|
currentBasket.UserLanguage = i18n.language;
|
|
1955
1953
|
currentBasket.ClientLanguage = i18n.language;
|
|
1956
|
-
_context7.next =
|
|
1954
|
+
_context7.next = 51;
|
|
1957
1955
|
return DivaUtils$1.updateBasketOrgInfo(currentBasket, currentOrganization, currentUser, false);
|
|
1958
|
-
case
|
|
1956
|
+
case 51:
|
|
1959
1957
|
dispatch({
|
|
1960
1958
|
type: 'update',
|
|
1961
1959
|
payload: [{
|
|
@@ -1981,9 +1979,9 @@ function useSellerStateData(_ref) {
|
|
|
1981
1979
|
catalogData: catalogData,
|
|
1982
1980
|
saved: basketIsAlreadySaved
|
|
1983
1981
|
});
|
|
1984
|
-
case
|
|
1982
|
+
case 53:
|
|
1985
1983
|
throw new Error('Function: updateBasket was called bevor state.firstLoginApiUrl is initialized!');
|
|
1986
|
-
case
|
|
1984
|
+
case 54:
|
|
1987
1985
|
case "end":
|
|
1988
1986
|
return _context7.stop();
|
|
1989
1987
|
}
|
|
@@ -2238,81 +2236,6 @@ function useSellerStateData(_ref) {
|
|
|
2238
2236
|
});
|
|
2239
2237
|
}
|
|
2240
2238
|
};
|
|
2241
|
-
var evaluateRopoEffect = /*#__PURE__*/function () {
|
|
2242
|
-
var _ref17 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(sourceBasket, sourceOrganizationId) {
|
|
2243
|
-
var organization;
|
|
2244
|
-
return _regeneratorRuntime.wrap(function _callee10$(_context10) {
|
|
2245
|
-
while (1) switch (_context10.prev = _context10.next) {
|
|
2246
|
-
case 0:
|
|
2247
|
-
_context10.prev = 0;
|
|
2248
|
-
organization = currentOrganization; //if same Organization, no ROPO Effect
|
|
2249
|
-
if (!(!organization || !sourceOrganizationId || sourceOrganizationId.id == organization._id)) {
|
|
2250
|
-
_context10.next = 4;
|
|
2251
|
-
break;
|
|
2252
|
-
}
|
|
2253
|
-
return _context10.abrupt("return");
|
|
2254
|
-
case 4:
|
|
2255
|
-
if (sourceOrganizationId.shopType) {
|
|
2256
|
-
_context10.next = 6;
|
|
2257
|
-
break;
|
|
2258
|
-
}
|
|
2259
|
-
return _context10.abrupt("return");
|
|
2260
|
-
case 6:
|
|
2261
|
-
if (organization.shopType) {
|
|
2262
|
-
_context10.next = 8;
|
|
2263
|
-
break;
|
|
2264
|
-
}
|
|
2265
|
-
return _context10.abrupt("return");
|
|
2266
|
-
case 8:
|
|
2267
|
-
if (organization.shopType == 'store' && sourceOrganizationId.shopType == 'store') {
|
|
2268
|
-
LOG$c.businessEvent('ropoEffectStoreToStore', 'Seller', 'Evaluating the ROPO Effect Store To Store', {
|
|
2269
|
-
sourceDivaNr: sourceBasket.DivaNr,
|
|
2270
|
-
sourceOrgId: sourceOrganizationId.id,
|
|
2271
|
-
targetOrgId: currentOrganization === null || currentOrganization === void 0 ? void 0 : currentOrganization._id
|
|
2272
|
-
});
|
|
2273
|
-
} else if (organization.shopType == 'webshop' && sourceOrganizationId.shopType == 'webshop') {
|
|
2274
|
-
LOG$c.businessEvent('ropoEffectWebToWeb', 'Seller', 'Evaluating the ROPO Effect Web To Web', {
|
|
2275
|
-
sourceDivaNr: sourceBasket.DivaNr,
|
|
2276
|
-
sourceOrgId: sourceOrganizationId.id,
|
|
2277
|
-
targetOrgId: currentOrganization === null || currentOrganization === void 0 ? void 0 : currentOrganization._id
|
|
2278
|
-
});
|
|
2279
|
-
} else if (organization.shopType == 'store' && sourceOrganizationId.shopType == 'webshop') {
|
|
2280
|
-
LOG$c.businessEvent('ropoEffectWebToStore', 'Seller', 'Evaluating the ROPO Effect Web To Store', {
|
|
2281
|
-
sourceDivaNr: sourceBasket.DivaNr,
|
|
2282
|
-
sourceOrgId: sourceOrganizationId.id,
|
|
2283
|
-
targetOrgId: currentOrganization === null || currentOrganization === void 0 ? void 0 : currentOrganization._id
|
|
2284
|
-
});
|
|
2285
|
-
} else if (organization.shopType == 'webshop' && sourceOrganizationId.shopType == 'store') {
|
|
2286
|
-
LOG$c.businessEvent('ropoEffectStoreToWeb', 'Seller', 'Evaluating the ROPO Effect Store To Web', {
|
|
2287
|
-
sourceDivaNr: sourceBasket.DivaNr,
|
|
2288
|
-
sourceOrgId: sourceOrganizationId.id,
|
|
2289
|
-
targetOrgId: currentOrganization === null || currentOrganization === void 0 ? void 0 : currentOrganization._id
|
|
2290
|
-
});
|
|
2291
|
-
}
|
|
2292
|
-
_context10.next = 14;
|
|
2293
|
-
break;
|
|
2294
|
-
case 11:
|
|
2295
|
-
_context10.prev = 11;
|
|
2296
|
-
_context10.t0 = _context10["catch"](0);
|
|
2297
|
-
LOG$c.error(new DivaError('Error on Evaluating ROPO Effect', {
|
|
2298
|
-
code: 'SELLER_0006',
|
|
2299
|
-
cause: _context10.t0,
|
|
2300
|
-
custom: {
|
|
2301
|
-
sourceDivaNr: sourceBasket.DivaNr,
|
|
2302
|
-
sourceOrgId: sourceOrganizationId,
|
|
2303
|
-
targetOrgId: currentOrganization === null || currentOrganization === void 0 ? void 0 : currentOrganization._id
|
|
2304
|
-
}
|
|
2305
|
-
}));
|
|
2306
|
-
case 14:
|
|
2307
|
-
case "end":
|
|
2308
|
-
return _context10.stop();
|
|
2309
|
-
}
|
|
2310
|
-
}, _callee10, null, [[0, 11]]);
|
|
2311
|
-
}));
|
|
2312
|
-
return function evaluateRopoEffect(_x17, _x18) {
|
|
2313
|
-
return _ref17.apply(this, arguments);
|
|
2314
|
-
};
|
|
2315
|
-
}();
|
|
2316
2239
|
return {
|
|
2317
2240
|
state: state,
|
|
2318
2241
|
setFirstLoginApiUrl: setFirstLoginApiUrl,
|
|
@@ -2343,7 +2266,7 @@ function useSellerStateData(_ref) {
|
|
|
2343
2266
|
var _excluded$a = ["state", "setFirstLoginApiUrl", "updateBasketState", "setPlannerParams", "setReturnTo", "setOriginProductId", "setProductCategories", "resetState", "resetForCache"];
|
|
2344
2267
|
function ownKeys$y(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2345
2268
|
function _objectSpread$y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2346
|
-
var LOG$
|
|
2269
|
+
var LOG$9 = getLogger('Seller', 'SellerStateProvider');
|
|
2347
2270
|
var SellerStateProvider = function SellerStateProvider(_ref) {
|
|
2348
2271
|
var children = _ref.children,
|
|
2349
2272
|
vkpExportParams = _ref.vkpExportParams,
|
|
@@ -2665,7 +2588,7 @@ var SellerStateProvider = function SellerStateProvider(_ref) {
|
|
|
2665
2588
|
case 37:
|
|
2666
2589
|
_context3.prev = 37;
|
|
2667
2590
|
_context3.t0 = _context3["catch"](0);
|
|
2668
|
-
LOG$
|
|
2591
|
+
LOG$9.error(new DivaError('Could not open divaNr', {
|
|
2669
2592
|
cause: _context3.t0,
|
|
2670
2593
|
code: 'SELLER_0001'
|
|
2671
2594
|
}));
|
|
@@ -2887,7 +2810,7 @@ var SellerStateProvider = function SellerStateProvider(_ref) {
|
|
|
2887
2810
|
_context4.next = 23;
|
|
2888
2811
|
break;
|
|
2889
2812
|
case 22:
|
|
2890
|
-
LOG$
|
|
2813
|
+
LOG$9.error(new DivaError('openPlanner got called with non all required params', {
|
|
2891
2814
|
code: 'SELLER_0001'
|
|
2892
2815
|
}));
|
|
2893
2816
|
case 23:
|
|
@@ -3180,7 +3103,7 @@ function getImageOrFallbackUrl(url) {
|
|
|
3180
3103
|
|
|
3181
3104
|
function ownKeys$w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3182
3105
|
function _objectSpread$w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3183
|
-
var LOG$
|
|
3106
|
+
var LOG$8 = getLogger('SellerCatalogs', 'Catalogs');
|
|
3184
3107
|
function Catalogs(_ref) {
|
|
3185
3108
|
var _configurationData$an, _configurationData$ca5, _configurationData$an3, _configurationData$an4;
|
|
3186
3109
|
var collectionId = _ref.collectionId;
|
|
@@ -3254,11 +3177,11 @@ function Catalogs(_ref) {
|
|
|
3254
3177
|
case 19:
|
|
3255
3178
|
_context.prev = 19;
|
|
3256
3179
|
_context.t2 = _context["catch"](1);
|
|
3257
|
-
LOG$
|
|
3180
|
+
LOG$8.errorTransaction('ON_OPEN_MODULE_CATALOGS', 'SELLER_0001', 'Could not load catalogs: ' + _context.t2, {
|
|
3258
3181
|
accountId: collectionId
|
|
3259
3182
|
});
|
|
3260
3183
|
case 22:
|
|
3261
|
-
LOG$
|
|
3184
|
+
LOG$8.successTransaction('ON_OPEN_MODULE_CATALOGS', {
|
|
3262
3185
|
accountId: collectionId
|
|
3263
3186
|
});
|
|
3264
3187
|
setLoading(false);
|
|
@@ -3273,7 +3196,7 @@ function Catalogs(_ref) {
|
|
|
3273
3196
|
};
|
|
3274
3197
|
}(), [loadCatalogs]);
|
|
3275
3198
|
useEffect(function () {
|
|
3276
|
-
LOG$
|
|
3199
|
+
LOG$8.startTransaction({
|
|
3277
3200
|
event: 'onOpenModule',
|
|
3278
3201
|
message: 'Open Catalogs',
|
|
3279
3202
|
eventId: 'ON_OPEN_MODULE_CATALOGS',
|
|
@@ -3292,11 +3215,11 @@ function Catalogs(_ref) {
|
|
|
3292
3215
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
3293
3216
|
while (1) switch (_context2.prev = _context2.next) {
|
|
3294
3217
|
case 0:
|
|
3295
|
-
LOG$
|
|
3296
|
-
|
|
3297
|
-
|
|
3218
|
+
LOG$8.businessEvent('onSelectCatalog', 'Seller', "Katalog wurde ausgew\xE4hlt: '".concat(item.name, "'"), {
|
|
3219
|
+
catalogCodex: item.codex,
|
|
3220
|
+
catalogName: item.name,
|
|
3298
3221
|
accountId: item.accountId,
|
|
3299
|
-
|
|
3222
|
+
supplierId: item.supplierGuid
|
|
3300
3223
|
});
|
|
3301
3224
|
if (DivaUtils$1.bridge) {
|
|
3302
3225
|
DivaUtils$1.bridge.sendMessage({
|
|
@@ -3583,7 +3506,7 @@ function Catalogs(_ref) {
|
|
|
3583
3506
|
});
|
|
3584
3507
|
}
|
|
3585
3508
|
|
|
3586
|
-
var LOG$
|
|
3509
|
+
var LOG$7 = getLogger('SellerCollections', 'Collections');
|
|
3587
3510
|
function Collections() {
|
|
3588
3511
|
var _configurationData$an, _configurationData$an2, _configurationData$an3;
|
|
3589
3512
|
var _useTranslation = useTranslation(),
|
|
@@ -3617,7 +3540,7 @@ function Collections() {
|
|
|
3617
3540
|
parameters: {
|
|
3618
3541
|
module: 'Catalogs'
|
|
3619
3542
|
}
|
|
3620
|
-
});else LOG$
|
|
3543
|
+
});else LOG$7.startTransaction({
|
|
3621
3544
|
event: 'onOpenModule',
|
|
3622
3545
|
message: 'Open Collections',
|
|
3623
3546
|
eventId: 'ON_OPEN_MODULE_COLLECTIONS'
|
|
@@ -3642,9 +3565,9 @@ function Collections() {
|
|
|
3642
3565
|
case 8:
|
|
3643
3566
|
_context.prev = 8;
|
|
3644
3567
|
_context.t0 = _context["catch"](1);
|
|
3645
|
-
LOG$
|
|
3568
|
+
LOG$7.errorTransaction('ON_OPEN_MODULE_COLLECTIONS', 'SELLER_0005', 'Error loading collections: ' + _context.t0);
|
|
3646
3569
|
case 11:
|
|
3647
|
-
LOG$
|
|
3570
|
+
LOG$7.successTransaction('ON_OPEN_MODULE_COLLECTIONS');
|
|
3648
3571
|
setLoading(false);
|
|
3649
3572
|
case 13:
|
|
3650
3573
|
case "end":
|
|
@@ -3662,7 +3585,7 @@ function Collections() {
|
|
|
3662
3585
|
//Grupperiung anch Kollektionen und Lieferanten
|
|
3663
3586
|
var onCollectionClick = function onCollectionClick(item) {
|
|
3664
3587
|
if (item) {
|
|
3665
|
-
LOG$
|
|
3588
|
+
LOG$7.businessEvent('onSelectCollection', 'Seller', "Kollektion wurde ausgew\xE4hlt: '".concat(item.accountName, "'"), {
|
|
3666
3589
|
accountId: item.id,
|
|
3667
3590
|
accountName: item.accountName
|
|
3668
3591
|
});
|
|
@@ -3802,7 +3725,7 @@ function Collections() {
|
|
|
3802
3725
|
});
|
|
3803
3726
|
}
|
|
3804
3727
|
|
|
3805
|
-
var LOG$
|
|
3728
|
+
var LOG$6 = getLogger('SellerArticles', 'Articles');
|
|
3806
3729
|
function Articles(_ref) {
|
|
3807
3730
|
var catalogCodex = _ref.catalogCodex,
|
|
3808
3731
|
accountId = _ref.accountId;
|
|
@@ -3829,7 +3752,7 @@ function Articles(_ref) {
|
|
|
3829
3752
|
var _useDivaCore = useDivaCore(),
|
|
3830
3753
|
organization = _useDivaCore.state.organization;
|
|
3831
3754
|
useEffect(function () {
|
|
3832
|
-
LOG$
|
|
3755
|
+
LOG$6.startTransaction({
|
|
3833
3756
|
event: 'onOpenModule',
|
|
3834
3757
|
message: 'Open Articles',
|
|
3835
3758
|
eventId: 'ON_OPEN_MODULE_SELLER_ARTICLES',
|
|
@@ -3851,7 +3774,7 @@ function Articles(_ref) {
|
|
|
3851
3774
|
_context.next = 5;
|
|
3852
3775
|
break;
|
|
3853
3776
|
}
|
|
3854
|
-
LOG$
|
|
3777
|
+
LOG$6.errorTransaction('ON_OPEN_MODULE_SELLER_ARTICLES', 'SELLER_0001', 'accountId or Catalog Codex missing', {
|
|
3855
3778
|
cat: catalogCodex,
|
|
3856
3779
|
accountId: accountId
|
|
3857
3780
|
});
|
|
@@ -3866,7 +3789,7 @@ function Articles(_ref) {
|
|
|
3866
3789
|
case 7:
|
|
3867
3790
|
articleItems = _context.sent;
|
|
3868
3791
|
setData(articleItems.data);
|
|
3869
|
-
LOG$
|
|
3792
|
+
LOG$6.successTransaction('ON_OPEN_MODULE_SELLER_ARTICLES', {
|
|
3870
3793
|
cat: catalogCodex,
|
|
3871
3794
|
accountId: accountId
|
|
3872
3795
|
});
|
|
@@ -3884,11 +3807,6 @@ function Articles(_ref) {
|
|
|
3884
3807
|
load();
|
|
3885
3808
|
}, [catalogCodex, accountId, sessionGuid]);
|
|
3886
3809
|
var onArticleClick = function onArticleClick(item) {
|
|
3887
|
-
LOG$8.businessEvent('onSelectArticle', 'SellerArticles', "Selected Articles '".concat(item.articleCodex, "'"), {
|
|
3888
|
-
cat: item.catalogCodex,
|
|
3889
|
-
art: item.articleCodex,
|
|
3890
|
-
artName: item.name
|
|
3891
|
-
});
|
|
3892
3810
|
openPlanner({
|
|
3893
3811
|
catalogCodex: item.catalogCodex,
|
|
3894
3812
|
articleCodexes: item.articleCodex,
|
|
@@ -6517,7 +6435,7 @@ function Step3Checkout(_ref) {
|
|
|
6517
6435
|
|
|
6518
6436
|
function ownKeys$o(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6519
6437
|
function _objectSpread$o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$o(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6520
|
-
var LOG$
|
|
6438
|
+
var LOG$5 = getLogger('SellerBasket', 'Basket');
|
|
6521
6439
|
function Basket(_ref) {
|
|
6522
6440
|
var _configurationData$Ch5;
|
|
6523
6441
|
var divaNr = _ref.divaNr,
|
|
@@ -6559,7 +6477,7 @@ function Basket(_ref) {
|
|
|
6559
6477
|
resetBasketState = _useSellerState$actio.resetBasketState;
|
|
6560
6478
|
var statusRef = useRef(basket !== null && basket !== void 0 && basket.StatusKey ? basket === null || basket === void 0 ? void 0 : basket.StatusKey : basket !== null && basket !== void 0 && basket.Status ? basket === null || basket === void 0 ? void 0 : basket.Status : '');
|
|
6561
6479
|
useEffect(function () {
|
|
6562
|
-
LOG$
|
|
6480
|
+
LOG$5.startTransaction({
|
|
6563
6481
|
event: 'onOpenModule',
|
|
6564
6482
|
message: 'Open Basket',
|
|
6565
6483
|
eventId: 'ON_OPEN_MODULE_BASKET',
|
|
@@ -6571,7 +6489,7 @@ function Basket(_ref) {
|
|
|
6571
6489
|
useEffect(function () {
|
|
6572
6490
|
openBasket(statusRef, divaNr, checkBasket, basket).then(function () {
|
|
6573
6491
|
var _getBasketStatusArr;
|
|
6574
|
-
LOG$
|
|
6492
|
+
LOG$5.successTransaction('ON_OPEN_MODULE_BASKET', {
|
|
6575
6493
|
divaNr: divaNr
|
|
6576
6494
|
});
|
|
6577
6495
|
if (!statusRef.current || !((_getBasketStatusArr = getBasketStatusArr()) !== null && _getBasketStatusArr !== void 0 && _getBasketStatusArr.includes(statusRef.current))) {
|
|
@@ -6607,9 +6525,8 @@ function Basket(_ref) {
|
|
|
6607
6525
|
}
|
|
6608
6526
|
}, [currentBasketState === null || currentBasketState === void 0 ? void 0 : currentBasketState.step]);
|
|
6609
6527
|
useEffect(function () {
|
|
6610
|
-
LOG$
|
|
6611
|
-
basketStep: actBasketPage
|
|
6612
|
-
divaNr: divaNr
|
|
6528
|
+
LOG$5.businessEvent('onBasketStep', 'SellerBasket', "goto BasketStep '".concat(actBasketPage, "'"), {
|
|
6529
|
+
basketStep: actBasketPage
|
|
6613
6530
|
});
|
|
6614
6531
|
}, [actBasketPage]);
|
|
6615
6532
|
if (!(currentBasketState !== null && currentBasketState !== void 0 && currentBasketState.basket) || loadingBasket) {
|
|
@@ -6716,25 +6633,11 @@ function Basket(_ref) {
|
|
|
6716
6633
|
}
|
|
6717
6634
|
return _context.abrupt("return");
|
|
6718
6635
|
case 2:
|
|
6719
|
-
LOG$7.startTransaction({
|
|
6720
|
-
event: 'onSaveBasket',
|
|
6721
|
-
message: 'Saving the basket Seller',
|
|
6722
|
-
eventId: 'ON_SAVE_BASKET',
|
|
6723
|
-
warningTime: 2000,
|
|
6724
|
-
errorTime: 4000,
|
|
6725
|
-
labels: {
|
|
6726
|
-
divaNr: currentBasket.DivaNr,
|
|
6727
|
-
status: currentBasket.Status,
|
|
6728
|
-
documentVersion: currentBasket.DocumentVersion,
|
|
6729
|
-
bv: currentBasket.SetPrice / 1000,
|
|
6730
|
-
accountId: currentBasket.OrderSets[0].AccountGUID
|
|
6731
|
-
}
|
|
6732
|
-
});
|
|
6733
6636
|
currentBasket.saveNow();
|
|
6734
6637
|
getPdf = !!pdf || !!(configurationData !== null && configurationData !== void 0 && (_configurationData$Ch = configurationData.Checkout) !== null && _configurationData$Ch !== void 0 && _configurationData$Ch.showPdfQR);
|
|
6735
|
-
_context.next =
|
|
6638
|
+
_context.next = 6;
|
|
6736
6639
|
return saveBasket(currentBasket, getPdf, !!(configurationData !== null && configurationData !== void 0 && (_configurationData$re = configurationData.reportConfig) !== null && _configurationData$re !== void 0 && _configurationData$re.saveToApi2) && currentBasket.Status == 'BASE_CONFIGURATION' || currentBasket.HQRendering || currentBasket.ConverterStatus3D == 'doConvertToAR', 'SaveBasket');
|
|
6737
|
-
case
|
|
6640
|
+
case 6:
|
|
6738
6641
|
response = _context.sent;
|
|
6739
6642
|
currentBasket.clearRenderData();
|
|
6740
6643
|
if (Object.values(BASKET_SAVE_ERROR).includes(response)) {
|
|
@@ -6797,7 +6700,7 @@ function Basket(_ref) {
|
|
|
6797
6700
|
});
|
|
6798
6701
|
*/
|
|
6799
6702
|
}
|
|
6800
|
-
LOG$
|
|
6703
|
+
LOG$5.successTransaction('ON_SAVE_BASKET', {
|
|
6801
6704
|
divaNr: currentBasket.DivaNr,
|
|
6802
6705
|
status: currentBasket.Status,
|
|
6803
6706
|
documentVersion: currentBasket.DocumentVersion,
|
|
@@ -6806,7 +6709,7 @@ function Basket(_ref) {
|
|
|
6806
6709
|
currentBasket.setDocumentVersion(currentBasket.getDocumentVersion() + 1);
|
|
6807
6710
|
setActBasketPage('Step1');
|
|
6808
6711
|
}
|
|
6809
|
-
case
|
|
6712
|
+
case 9:
|
|
6810
6713
|
case "end":
|
|
6811
6714
|
return _context.stop();
|
|
6812
6715
|
}
|
|
@@ -6864,7 +6767,7 @@ function Basket(_ref) {
|
|
|
6864
6767
|
};
|
|
6865
6768
|
}();
|
|
6866
6769
|
var errorOnSaving = function errorOnSaving(type) {
|
|
6867
|
-
LOG$
|
|
6770
|
+
LOG$5.errorTransaction('ON_SAVE_BASKET', 'SELLER_0003', 'Error Saving Basket', {
|
|
6868
6771
|
divaNr: currentBasket.DivaNr,
|
|
6869
6772
|
status: currentBasket.Status,
|
|
6870
6773
|
documentVersion: currentBasket.DocumentVersion,
|
|
@@ -6959,7 +6862,7 @@ function Basket(_ref) {
|
|
|
6959
6862
|
});
|
|
6960
6863
|
}
|
|
6961
6864
|
|
|
6962
|
-
|
|
6865
|
+
getLogger('SellerCatalogInfo', 'Description');
|
|
6963
6866
|
function Description$2 (_ref) {
|
|
6964
6867
|
var data = _ref.data,
|
|
6965
6868
|
hide = _ref.hide;
|
|
@@ -7000,11 +6903,6 @@ function Description$2 (_ref) {
|
|
|
7000
6903
|
children: [/*#__PURE__*/jsx(PictureAsPdfIcon, {}), /*#__PURE__*/jsx(Typography, {
|
|
7001
6904
|
children: /*#__PURE__*/jsx(Link, {
|
|
7002
6905
|
href: d.url,
|
|
7003
|
-
onClick: function onClick() {
|
|
7004
|
-
LOG$6.businessEvent('onShowDoc', 'SellerCatalogInfo', "Selected Document '".concat(d.name, "'"), {
|
|
7005
|
-
url: d.url
|
|
7006
|
-
});
|
|
7007
|
-
},
|
|
7008
6906
|
download: true,
|
|
7009
6907
|
target: "_blank",
|
|
7010
6908
|
children: d.name
|
|
@@ -7382,7 +7280,7 @@ var useStyles$1 = makeStyles(function (theme) {
|
|
|
7382
7280
|
};
|
|
7383
7281
|
});
|
|
7384
7282
|
|
|
7385
|
-
var LOG$
|
|
7283
|
+
var LOG$4 = getLogger('Seller', 'Info');
|
|
7386
7284
|
function Info$1(_ref) {
|
|
7387
7285
|
var accountId = _ref.accountId,
|
|
7388
7286
|
catalogCodex = _ref.catalogCodex;
|
|
@@ -7425,7 +7323,7 @@ function Info$1(_ref) {
|
|
|
7425
7323
|
userHasPermission = _useDivaCore$actions.userHasPermission,
|
|
7426
7324
|
organization = _useDivaCore.state.organization;
|
|
7427
7325
|
useEffect(function () {
|
|
7428
|
-
LOG$
|
|
7326
|
+
LOG$4.businessEvent('onOpenModule', 'SellerCatalogInfo', "Open Catalog Info", {
|
|
7429
7327
|
cat: catalogCodex,
|
|
7430
7328
|
accountId: accountId
|
|
7431
7329
|
});
|
|
@@ -7441,7 +7339,7 @@ function Info$1(_ref) {
|
|
|
7441
7339
|
returnTo: returnToPlanner !== null && returnToPlanner !== void 0 && returnToPlanner.endsWith('PRODUCTCREATOR') ? returnToPlanner : ['toProductsGallery', 'toAssortmentManager'].includes(returnTo !== null && returnTo !== void 0 ? returnTo : '') ? 'OPEN_SELLER_PRODUCTCREATOR' : returnToPlanner || (configurationData === null || configurationData === void 0 ? void 0 : configurationData.defaultWebPlannerReturnTo) || 'OPEN_SELLER_BASKET'
|
|
7442
7340
|
});
|
|
7443
7341
|
} else {
|
|
7444
|
-
LOG$
|
|
7342
|
+
LOG$4.error(new DivaError('Missing account login ID', {
|
|
7445
7343
|
code: 'SELLER_0001'
|
|
7446
7344
|
}));
|
|
7447
7345
|
}
|
|
@@ -7457,7 +7355,7 @@ function Info$1(_ref) {
|
|
|
7457
7355
|
}
|
|
7458
7356
|
});
|
|
7459
7357
|
} else {
|
|
7460
|
-
LOG$
|
|
7358
|
+
LOG$4.error(new DivaError('Missing account ID or catalog', {
|
|
7461
7359
|
code: 'SELLER_0001'
|
|
7462
7360
|
}));
|
|
7463
7361
|
}
|
|
@@ -7480,7 +7378,7 @@ function Info$1(_ref) {
|
|
|
7480
7378
|
_context.next = 9;
|
|
7481
7379
|
break;
|
|
7482
7380
|
}
|
|
7483
|
-
LOG$
|
|
7381
|
+
LOG$4.error(new DivaError('Missing account ID', {
|
|
7484
7382
|
code: 'SELLER_0001'
|
|
7485
7383
|
}));
|
|
7486
7384
|
setLoading(false);
|
|
@@ -7574,7 +7472,7 @@ styleInject(css_248z$9);
|
|
|
7574
7472
|
var _excluded$7 = ["data", "text"];
|
|
7575
7473
|
function ownKeys$n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7576
7474
|
function _objectSpread$n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7577
|
-
|
|
7475
|
+
getLogger('SellerCatalogInfo', 'Description');
|
|
7578
7476
|
function Description$1 (_ref) {
|
|
7579
7477
|
var data = _ref.data,
|
|
7580
7478
|
text = _ref.text,
|
|
@@ -7599,11 +7497,6 @@ function Description$1 (_ref) {
|
|
|
7599
7497
|
className: pdf,
|
|
7600
7498
|
children: /*#__PURE__*/jsx(Link, {
|
|
7601
7499
|
href: d.url,
|
|
7602
|
-
onClick: function onClick() {
|
|
7603
|
-
LOG$4.businessEvent('onShowDoc', 'SellerCatalogInfo', "Selected Document '".concat(d.name, "'"), {
|
|
7604
|
-
url: d.url
|
|
7605
|
-
});
|
|
7606
|
-
},
|
|
7607
7500
|
download: true,
|
|
7608
7501
|
target: "_blank",
|
|
7609
7502
|
children: d.name
|
|
@@ -8024,11 +7917,6 @@ function Info(_ref) {
|
|
|
8024
7917
|
}
|
|
8025
7918
|
}, [openComponent, currentAccountLoginId, accountId, catalogCodex]);
|
|
8026
7919
|
var onArticleClick = function onArticleClick(item) {
|
|
8027
|
-
LOG$3.businessEvent('onSelectArticle', 'SellerArticles', "Selected Articles '".concat(item.articleCodex, "'"), {
|
|
8028
|
-
cat: item.catalogCodex,
|
|
8029
|
-
art: item.articleCodex,
|
|
8030
|
-
artName: item.name
|
|
8031
|
-
});
|
|
8032
7920
|
var plannerReturn = (configurationData === null || configurationData === void 0 ? void 0 : configurationData.defaultWebPlannerReturnTo) || 'OPEN_SELLER_BASKET';
|
|
8033
7921
|
if (checkDoReturnToProductCreator(plannerReturn)) {
|
|
8034
7922
|
plannerReturn = 'OPEN_SELLER_PRODUCTCREATOR';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Articles/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAW5D,UAAU,KAAK;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Articles/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAW5D,UAAU,KAAK;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,KAAK,qBAgMlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Basket/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAOhD,OAAO,EAA0C,UAAU,EAAa,MAAM,0BAA0B,CAAC;AAIzG,UAAU,KAAK;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAE/C,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Basket/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAOhD,OAAO,EAA0C,UAAU,EAAa,MAAM,0BAA0B,CAAC;AAIzG,UAAU,KAAK;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAE/C,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,KAAK,qBA4WpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Catalogs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAczE,UAAU,KAAK;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAID,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,YAAY,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Catalogs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAczE,UAAU,KAAK;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAID,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,YAAY,EAAE,EAAE,KAAK,qBAkSvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Info/Description.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAK9C,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Info/Description.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAK9C,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,KAAK,qBAmC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/InfoWithProducts/Description/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAQjD,UAAU,KAAM,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3C,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/InfoWithProducts/Description/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAQjD,UAAU,KAAM,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3C,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,qBAmBvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/InfoWithProducts/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAC;AA8BxE,UAAU,KAAK;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/InfoWithProducts/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAC;AA8BxE,UAAU,KAAK;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,KAAK,qBAqR9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/provider/hooks/useSellerStateData/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,OAAO,EACP,OAAO,EACP,cAAc,EACd,eAAe,EACf,aAAa,EACb,MAAM,EACN,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AAexB,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAqD,MAAM,0BAA0B,CAAC;AAE1H,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,UAAU,EAA+B,MAAM,0BAA0B,CAAC;AAE/G,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,YAAY,EAAE,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,eAAe,EAAE,CAAC;IAChC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,oBAAoB,CAAC,EAAE,GAAG,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;IAC5C,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,UAAU,KAAK;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB,mBAAmB,CAAC,EAAE,gBAAgB,CAAC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,mBAAmB,EAAE,SAAS,EAAE,EAAE,KAAK;;4CASzE,MAAM;6BAgDf,cAAc,KAAG,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;+CAgBnC,cAAc,GAAG;QAAE,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE;uCAkHlD;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE;wCAiBpB;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE;;;;4BAqE7D,MAAM,WACN,UAAU,oBACD,MAAM,mBACP,MAAM,oBACL,OAAO,QACnB,MAAM;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/provider/hooks/useSellerStateData/index.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-seller",
|
|
3
|
-
"version": "24.14.0-beta.
|
|
3
|
+
"version": "24.14.0-beta.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"react-dom": "^18.3.1"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@crystaldesign/analytics": "24.14.0-beta.
|
|
33
|
-
"@crystaldesign/products-component": "24.14.0-beta.
|
|
34
|
-
"@crystaldesign/real-time-viewer": "24.14.0-beta.
|
|
32
|
+
"@crystaldesign/analytics": "24.14.0-beta.2",
|
|
33
|
+
"@crystaldesign/products-component": "24.14.0-beta.2",
|
|
34
|
+
"@crystaldesign/real-time-viewer": "24.14.0-beta.2",
|
|
35
35
|
"@material-ui/core": "^4.12.4",
|
|
36
36
|
"@material-ui/icons": "^4.11.2",
|
|
37
37
|
"react-error-boundary": "^4.0.13",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
},
|
|
42
42
|
"types": "./build/types/seller/src/index.d.ts",
|
|
43
43
|
"module": "build/esm/index.js",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "bf4dd1179781c57cd7497f5e89a25e1b68cb9f98"
|
|
45
45
|
}
|