@crystaldesign/web-planner-logic 26.6.0-beta.13 → 26.6.0-beta.14
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/cjs/{DivaBoxPlanner-e0cea98e.js → DivaBoxPlanner-bb2211fe.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-6695be1e.js → DivaStandardPlanner-bb8474b5.js} +2 -2
- package/build/cjs/{DoorPlanner-d1db433c.js → DoorPlanner-2418318c.js} +1 -1
- package/build/cjs/{Host3DSignalR-6ca32b05.js → Host3DSignalR-8edd3ad6.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-a74d9e68.js → LiviqueWWSHandler-f99322d1.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-0cbc1cd7.js → PfisterWWSHandler-8c769cb2.js} +3 -2
- package/build/cjs/{PlannerHandler2D-6af64e9e.js → PlannerHandler2D-0b96045e.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-1098e5a5.js → SeriousBasketHandler-1a703f61.js} +1 -1
- package/build/cjs/{ShelfPlanner-ae77add5.js → ShelfPlanner-6fe79398.js} +1 -1
- package/build/cjs/{StandardWWSHandler-6c320c6e.js → StandardWWSHandler-1bb6cd55.js} +1 -1
- package/build/cjs/{index-8def7364.js → index-6d20f871.js} +56 -52
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-7a951a58.js → DivaBoxPlanner-c1e32f02.js} +2 -2
- package/build/esm/{DivaStandardPlanner-8080f6fb.js → DivaStandardPlanner-2793539f.js} +2 -2
- package/build/esm/{DoorPlanner-9132ac0c.js → DoorPlanner-1365458a.js} +1 -1
- package/build/esm/{Host3DSignalR-ce6b8630.js → Host3DSignalR-76787cbd.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-e3419e57.js → LiviqueWWSHandler-08a1aca1.js} +1 -1
- package/build/esm/{PfisterWWSHandler-bb876f18.js → PfisterWWSHandler-3d9ea38f.js} +3 -2
- package/build/esm/{PlannerHandler2D-94adc0c0.js → PlannerHandler2D-8670859c.js} +1 -1
- package/build/esm/{SeriousBasketHandler-a2d677ba.js → SeriousBasketHandler-84cece30.js} +1 -1
- package/build/esm/{ShelfPlanner-dce5d1ee.js → ShelfPlanner-1dbd10e2.js} +1 -1
- package/build/esm/{StandardWWSHandler-e8e0914d.js → StandardWWSHandler-47bb9486.js} +1 -1
- package/build/esm/{index-a33d5c3d.js → index-4bab3a6b.js} +56 -52
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts +1 -0
- package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/Articles/ArticleDataType.d.ts +1 -1
- package/build/types/web-planner-logic/src/interface/Articles/ArticleDataType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/Articles/ArticlePrefixesType.d.ts +1 -1
- package/build/types/web-planner-logic/src/interface/Articles/ArticlePrefixesType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/Articles/CatalogArticleDataType.d.ts +2 -2
- package/build/types/web-planner-logic/src/interface/Articles/CatalogArticleDataType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/Articles/PartListArticleToLoadType.d.ts +1 -2
- package/build/types/web-planner-logic/src/interface/Articles/PartListArticleToLoadType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/FunctionTypes/index.d.ts +1 -1
- package/build/types/web-planner-logic/src/interface/FunctionTypes/index.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/IDM/ArticleApi.d.ts +0 -16
- package/build/types/web-planner-logic/src/interface/IDM/ArticleApi.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts +1 -3
- package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Article/Engine/IDMArticleEngine.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Basket/PfisterWWSHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Articles/Article/CatalogArticleData.d.ts +1 -1
- package/build/types/web-planner-logic/src/model/Articles/Article/CatalogArticleData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Catalog/IDMCatalogData.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -5,11 +5,11 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
|
5
5
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
6
6
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
7
|
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-6d20f871.js');
|
|
9
9
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
10
10
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
11
11
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
12
|
-
var PlannerHandler2D = require('./PlannerHandler2D-
|
|
12
|
+
var PlannerHandler2D = require('./PlannerHandler2D-0b96045e.js');
|
|
13
13
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
14
14
|
require('axios');
|
|
15
15
|
require('@crystaldesign/basket-model');
|
|
@@ -5,9 +5,9 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
|
5
5
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
6
6
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
7
|
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-6d20f871.js');
|
|
9
9
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
10
|
-
var PlannerHandler2D = require('./PlannerHandler2D-
|
|
10
|
+
var PlannerHandler2D = require('./PlannerHandler2D-0b96045e.js');
|
|
11
11
|
require('@babel/runtime/helpers/slicedToArray');
|
|
12
12
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
13
13
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
4
4
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
5
5
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
6
|
-
require('./index-
|
|
6
|
+
require('./index-6d20f871.js');
|
|
7
7
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
8
8
|
require('@babel/runtime/helpers/slicedToArray');
|
|
9
9
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
@@ -5,7 +5,7 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
|
5
5
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
6
6
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
7
|
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-6d20f871.js');
|
|
9
9
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
10
10
|
var signalr = require('@microsoft/signalr');
|
|
11
11
|
var io = require('socket.io-client');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
4
4
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
5
|
-
require('./index-
|
|
5
|
+
require('./index-6d20f871.js');
|
|
6
6
|
require('@babel/runtime/helpers/slicedToArray');
|
|
7
7
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
8
8
|
require('@babel/runtime/helpers/defineProperty');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
4
4
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-6d20f871.js');
|
|
6
6
|
var basketModel = require('@crystaldesign/basket-model');
|
|
7
7
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
8
8
|
require('@babel/runtime/helpers/slicedToArray');
|
|
@@ -210,7 +210,8 @@ var PfisterWWSHandler = /*#__PURE__*/function () {
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
} else {
|
|
213
|
-
var
|
|
213
|
+
var _article$retailPrefix;
|
|
214
|
+
var articleNrPrefix = (_article$retailPrefix = article === null || article === void 0 ? void 0 : article.retailPrefix) !== null && _article$retailPrefix !== void 0 ? _article$retailPrefix : 'ZKAT';
|
|
214
215
|
var useSAPArticleNumberInEKText = true;
|
|
215
216
|
//wenn keine Orderlines des Sets als SapOrderline gelistet wurden,
|
|
216
217
|
//dann jetzt für die unterschiedlichen ZKAT Artikelnummer innerhalb eines SETS eigene SAPOrderline listen
|
|
@@ -5,7 +5,7 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
|
5
5
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
6
6
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
7
|
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-6d20f871.js');
|
|
9
9
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
10
10
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
11
11
|
var fabric = require('fabric');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
4
4
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
5
5
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-6d20f871.js');
|
|
7
7
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
8
8
|
require('@babel/runtime/helpers/slicedToArray');
|
|
9
9
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
@@ -6,7 +6,7 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
|
6
6
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
7
7
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
8
8
|
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
9
|
-
var index = require('./index-
|
|
9
|
+
var index = require('./index-6d20f871.js');
|
|
10
10
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
11
11
|
require('@babel/runtime/helpers/slicedToArray');
|
|
12
12
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
4
4
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
5
|
-
require('./index-
|
|
5
|
+
require('./index-6d20f871.js');
|
|
6
6
|
require('@babel/runtime/helpers/slicedToArray');
|
|
7
7
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
8
8
|
require('@babel/runtime/helpers/defineProperty');
|
|
@@ -43,8 +43,8 @@ var _typeof__default = /*#__PURE__*/_interopDefaultLegacy(_typeof);
|
|
|
43
43
|
})();
|
|
44
44
|
|
|
45
45
|
var _excluded = ["type"];
|
|
46
|
-
function ownKeys$
|
|
47
|
-
function _objectSpread$
|
|
46
|
+
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; }
|
|
47
|
+
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__default["default"](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; }
|
|
48
48
|
// Import types from AI service
|
|
49
49
|
|
|
50
50
|
var LOG$p = DivaUtils__default["default"].initLog('Planner', 'WEB-PLANNER-LOGIC');
|
|
@@ -285,8 +285,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
285
285
|
if (this.getApplicationEnvironment() == 'WEB' && (_this$apiConfig2 = this.apiConfig) !== null && _this$apiConfig2 !== void 0 && _this$apiConfig2.api2.web) {
|
|
286
286
|
api2Url = this.apiConfig.api2.web;
|
|
287
287
|
}
|
|
288
|
-
_context2.t0 = _objectSpread$
|
|
289
|
-
_context2.t1 = _objectSpread$
|
|
288
|
+
_context2.t0 = _objectSpread$o;
|
|
289
|
+
_context2.t1 = _objectSpread$o({}, init.config.headers);
|
|
290
290
|
_context2.t2 = {};
|
|
291
291
|
_context2.next = 21;
|
|
292
292
|
return this.getSessionGuid('V', undefined, this.OrganizationId, api2Url);
|
|
@@ -1131,7 +1131,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1131
1131
|
value: function getIDMItems(packageId, serieId, serieNo, typeNos) {
|
|
1132
1132
|
return this.idmPrefix + (this.isSeller ? '/packages/' : '/catalogs/') + packageId + '/series/' + (this.useIDMService ? serieId : serieNo) + '/items' + (typeNos !== null && typeNos !== void 0 && typeNos.length ? '?filter=' + typeNos.map(function (t) {
|
|
1133
1133
|
return encodeURIComponent('typeNo==' + t);
|
|
1134
|
-
}).join(' || ') : '?fields=properties;serieNo;featureClassRefNo;priceTypeRef;itemIdentification;catalogPage;weightBrutto;weightNetto;volume;minimumDeliveryTime;widthBasicShapeNominalValue;widthBasicShapeFrom;widthBasicShapeTo;widthBasicShapeStepSize;heightBasicShapeNominalValue;heightBasicShapeFrom;heightBasicShapeTo;heightBasicShapeStepSize;depthBasicShapeNominalValue;depthBasicShapeFrom;depthBasicShapeTo;depthBasicShapeStepSize;typeKey;eClassNo;detailInfoRefs;detailInfos;partListExclusive;partListRef;decisionRefs;typeNo;sequenceNo;edpNumber;eanNumber;shortText;fullText;planningAdvice;salesNumber;avrFilter;avlFilter
|
|
1134
|
+
}).join(' || ') : '?fields=properties;serieNo;featureClassRefNo;priceTypeRef;itemIdentification;catalogPage;weightBrutto;weightNetto;volume;minimumDeliveryTime;widthBasicShapeNominalValue;widthBasicShapeFrom;widthBasicShapeTo;widthBasicShapeStepSize;heightBasicShapeNominalValue;heightBasicShapeFrom;heightBasicShapeTo;heightBasicShapeStepSize;depthBasicShapeNominalValue;depthBasicShapeFrom;depthBasicShapeTo;depthBasicShapeStepSize;typeKey;eClassNo;detailInfoRefs;detailInfos;partListExclusive;partListRef;decisionRefs;typeNo;sequenceNo;edpNumber;eanNumber;shortText;fullText;planningAdvice;salesNumber;avrFilter;avlFilter');
|
|
1135
1135
|
}
|
|
1136
1136
|
}, {
|
|
1137
1137
|
key: "getIDMFeatures",
|
|
@@ -1248,11 +1248,11 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1248
1248
|
headers = this.getAiServiceAuthHeaders(leadKey);
|
|
1249
1249
|
_context9.next = 4;
|
|
1250
1250
|
return this.fetchData(url, {
|
|
1251
|
-
data: _objectSpread$
|
|
1251
|
+
data: _objectSpread$o(_objectSpread$o({}, data), {}, {
|
|
1252
1252
|
organizationId: this.OrganizationId
|
|
1253
1253
|
}),
|
|
1254
1254
|
config: {
|
|
1255
|
-
headers: _objectSpread$
|
|
1255
|
+
headers: _objectSpread$o(_objectSpread$o({}, headers), {}, {
|
|
1256
1256
|
'X-Session-Id': DivaUtils__default["default"].SessionId,
|
|
1257
1257
|
'X-Configurator-Id': (_DivaUtils$Configurat = DivaUtils__default["default"].ConfigurationId) !== null && _DivaUtils$Configurat !== void 0 ? _DivaUtils$Configurat : ''
|
|
1258
1258
|
})
|
|
@@ -19623,8 +19623,8 @@ function getArticleOptionValueType(set, codex, jsonOPV, catalogOPV, myArticle, i
|
|
|
19623
19623
|
return opv;
|
|
19624
19624
|
}
|
|
19625
19625
|
|
|
19626
|
-
function ownKeys$
|
|
19627
|
-
function _objectSpread$
|
|
19626
|
+
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; }
|
|
19627
|
+
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__default["default"](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; }
|
|
19628
19628
|
var LOG$k = DivaUtils__default["default"].initLog('Planner', 'WEB-PLANNER-LOGIC');
|
|
19629
19629
|
function loadMoreFromIDMArticles(_x, _x2) {
|
|
19630
19630
|
return _loadMoreFromIDMArticles.apply(this, arguments);
|
|
@@ -19954,11 +19954,11 @@ var getPriceFeatureGroups = function getPriceFeatureGroups(catalogArticleDatas,
|
|
|
19954
19954
|
var initializeDecision = function initializeDecision(decision, idmOptionGroups) {
|
|
19955
19955
|
var _decision$optionCombi;
|
|
19956
19956
|
var optionCombinations = (_decision$optionCombi = decision.optionCombinations) === null || _decision$optionCombi === void 0 ? void 0 : _decision$optionCombi.map(function (c) {
|
|
19957
|
-
return _objectSpread$
|
|
19957
|
+
return _objectSpread$n(_objectSpread$n({}, c), {}, {
|
|
19958
19958
|
projectOptionsSetRefs: parseOptionSetRef(c.projectOptionsSetRefs, idmOptionGroups)
|
|
19959
19959
|
});
|
|
19960
19960
|
});
|
|
19961
|
-
return _objectSpread$
|
|
19961
|
+
return _objectSpread$n(_objectSpread$n({}, decision), {}, {
|
|
19962
19962
|
optionCombinations: optionCombinations === null || optionCombinations === void 0 ? void 0 : optionCombinations.sort(function (a, b) {
|
|
19963
19963
|
return a.sequence - b.sequence;
|
|
19964
19964
|
})
|
|
@@ -19967,16 +19967,16 @@ var initializeDecision = function initializeDecision(decision, idmOptionGroups)
|
|
|
19967
19967
|
var initializePriceFeatureGroups = function initializePriceFeatureGroups(priceFeatureGroup, idmOptionGroups) {
|
|
19968
19968
|
var _priceFeatureGroup$pr, _priceFeatureGroup$pr2;
|
|
19969
19969
|
var finishes = (_priceFeatureGroup$pr = priceFeatureGroup.projectFinishes) === null || _priceFeatureGroup$pr === void 0 ? void 0 : _priceFeatureGroup$pr.map(function (c) {
|
|
19970
|
-
return _objectSpread$
|
|
19970
|
+
return _objectSpread$n(_objectSpread$n({}, c), {}, {
|
|
19971
19971
|
projectOptionsSetRefs: c.optionsSetRef ? parseOptionSetRef(c.optionsSetRef, idmOptionGroups) : []
|
|
19972
19972
|
});
|
|
19973
19973
|
});
|
|
19974
19974
|
var percentageSurcharges = (_priceFeatureGroup$pr2 = priceFeatureGroup.projectPercentageSurcharges) === null || _priceFeatureGroup$pr2 === void 0 ? void 0 : _priceFeatureGroup$pr2.map(function (c) {
|
|
19975
|
-
return _objectSpread$
|
|
19975
|
+
return _objectSpread$n(_objectSpread$n({}, c), {}, {
|
|
19976
19976
|
optionsSetRefs: c.optionsSetRef ? parseOptionSetRef(c.optionsSetRef, idmOptionGroups) : []
|
|
19977
19977
|
});
|
|
19978
19978
|
});
|
|
19979
|
-
return _objectSpread$
|
|
19979
|
+
return _objectSpread$n(_objectSpread$n({}, priceFeatureGroup), {}, {
|
|
19980
19980
|
projectFinishes: finishes === null || finishes === void 0 ? void 0 : finishes.sort(function (a, b) {
|
|
19981
19981
|
return a.sequence - b.sequence;
|
|
19982
19982
|
}),
|
|
@@ -20246,6 +20246,8 @@ function rgbToHex(r, g, b) {
|
|
|
20246
20246
|
return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);
|
|
20247
20247
|
}
|
|
20248
20248
|
|
|
20249
|
+
function ownKeys$m(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; }
|
|
20250
|
+
function _objectSpread$m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20249
20251
|
var LOG$j = DivaUtils__default["default"].initLog('Planner', 'WEB-PLANNER-LOGIC');
|
|
20250
20252
|
function initIDMCatalogData(serie, orderSet, api) {
|
|
20251
20253
|
var _serie$decisions, _serie$decisions2;
|
|
@@ -20314,12 +20316,11 @@ function initIDMArticles(jsonItems, catalogData) {
|
|
|
20314
20316
|
}
|
|
20315
20317
|
}
|
|
20316
20318
|
function getCatalogArticle(article, catalogData) {
|
|
20317
|
-
var _catalogData$catalogM, _article$
|
|
20319
|
+
var _catalogData$catalogM, _article$typeKey, _article$salesNumber, _ref, _articleMask$name, _article$fullText, _article$fullText2, _article$fullText3, _articleMask$properti, _article$depthBasicSh, _article$depthBasicSh2, _article$depthBasicSh3, _article$widthBasicSh, _article$widthBasicSh2, _article$widthBasicSh3, _article$heightBasicS, _article$heightBasicS2, _article$heightBasicS3, _article$weightNetto, _article$detailInfos, _article$detailInfos2, _article$detailInfos3, _articleMask$groupnam, _articleMask$groupnam2;
|
|
20318
20320
|
var articleMask = (_catalogData$catalogM = catalogData.catalogMask) === null || _catalogData$catalogM === void 0 || (_catalogData$catalogM = _catalogData$catalogM.articles) === null || _catalogData$catalogM === void 0 ? void 0 : _catalogData$catalogM[article.typeNo];
|
|
20319
20321
|
var lang = catalogData.api.getLanguageLowercase();
|
|
20320
20322
|
var featureProperties = convertProperties(article.properties, lang, 'featureNos');
|
|
20321
20323
|
var optionProperties = convertProperties(article.properties, lang, 'optionKeys');
|
|
20322
|
-
var images = (_article$images = article.images) === null || _article$images === void 0 ? void 0 : _article$images.map(mapIDMMediaItem);
|
|
20323
20324
|
return {
|
|
20324
20325
|
areOptionsLoaded: false,
|
|
20325
20326
|
arePricesLoaded: false,
|
|
@@ -20329,7 +20330,7 @@ function getCatalogArticle(article, catalogData) {
|
|
|
20329
20330
|
guid: (_article$typeKey = article.typeKey) === null || _article$typeKey === void 0 ? void 0 : _article$typeKey.toString(),
|
|
20330
20331
|
articleEAN: article.eanNumber,
|
|
20331
20332
|
typeNr: article.eanNumber,
|
|
20332
|
-
retailArticleNr: article.salesNumber,
|
|
20333
|
+
retailArticleNr: (_article$salesNumber = article.salesNumber) !== null && _article$salesNumber !== void 0 ? _article$salesNumber : catalogData.retailArticleNr,
|
|
20333
20334
|
configArticleCodex: article.edpNumber,
|
|
20334
20335
|
decisions: [],
|
|
20335
20336
|
articleReferencedDecisions: [],
|
|
@@ -20366,12 +20367,34 @@ function getCatalogArticle(article, catalogData) {
|
|
|
20366
20367
|
heightTo: article.heightBasicShapeTo !== undefined ? Math.floor(((_article$heightBasicS3 = article.heightBasicShapeTo) !== null && _article$heightBasicS3 !== void 0 ? _article$heightBasicS3 : 0) / 10) : undefined,
|
|
20367
20368
|
volume: article.volume,
|
|
20368
20369
|
weight: (_article$weightNetto = article.weightNetto) !== null && _article$weightNetto !== void 0 ? _article$weightNetto : article.weightBrutto,
|
|
20369
|
-
image:
|
|
20370
|
-
|
|
20370
|
+
image: getLowResUrl((_article$detailInfos = article.detailInfos) === null || _article$detailInfos === void 0 || (_article$detailInfos = _article$detailInfos.find(function (d) {
|
|
20371
|
+
return d.functionType == 'CAT_ART';
|
|
20372
|
+
})) === null || _article$detailInfos === void 0 ? void 0 : _article$detailInfos.url),
|
|
20373
|
+
images: (_article$detailInfos2 = article.detailInfos) === null || _article$detailInfos2 === void 0 || (_article$detailInfos2 = _article$detailInfos2.filter(function (d) {
|
|
20374
|
+
return d.functionType == 'CAT_ART';
|
|
20375
|
+
})) === null || _article$detailInfos2 === void 0 ? void 0 : _article$detailInfos2.map(function (d) {
|
|
20376
|
+
var _getLowResUrl, _article$detailInfoRe, _article$detailInfoRe2;
|
|
20377
|
+
return {
|
|
20378
|
+
url: (_getLowResUrl = getLowResUrl(d.url)) !== null && _getLowResUrl !== void 0 ? _getLowResUrl : '',
|
|
20379
|
+
detailInfoNo: d.detailInfoNo,
|
|
20380
|
+
decisionNos: (_article$detailInfoRe = (_article$detailInfoRe2 = article.detailInfoRefs) === null || _article$detailInfoRe2 === void 0 || (_article$detailInfoRe2 = _article$detailInfoRe2[d.detailInfoNo]) === null || _article$detailInfoRe2 === void 0 ? void 0 : _article$detailInfoRe2.filter(function (n) {
|
|
20381
|
+
return n !== null;
|
|
20382
|
+
})) !== null && _article$detailInfoRe !== void 0 ? _article$detailInfoRe : []
|
|
20383
|
+
};
|
|
20384
|
+
}),
|
|
20371
20385
|
idmPrices: article.prices,
|
|
20372
20386
|
idmPartlist: article.partlist,
|
|
20373
20387
|
articleRelations: [],
|
|
20374
|
-
svgs: (_article$
|
|
20388
|
+
svgs: (_article$detailInfos3 = article.detailInfos) === null || _article$detailInfos3 === void 0 ? void 0 : _article$detailInfos3.filter(function (d) {
|
|
20389
|
+
return d.classification == 'SVG';
|
|
20390
|
+
}).map(function (d) {
|
|
20391
|
+
var _article$detailInfoRe3, _article$detailInfoRe4;
|
|
20392
|
+
return _objectSpread$m(_objectSpread$m({}, d), {}, {
|
|
20393
|
+
decisionNos: (_article$detailInfoRe3 = (_article$detailInfoRe4 = article.detailInfoRefs) === null || _article$detailInfoRe4 === void 0 || (_article$detailInfoRe4 = _article$detailInfoRe4[d.detailInfoNo]) === null || _article$detailInfoRe4 === void 0 ? void 0 : _article$detailInfoRe4.filter(function (n) {
|
|
20394
|
+
return n !== null;
|
|
20395
|
+
})) !== null && _article$detailInfoRe3 !== void 0 ? _article$detailInfoRe3 : []
|
|
20396
|
+
});
|
|
20397
|
+
}),
|
|
20375
20398
|
groupName: (_articleMask$groupnam = articleMask === null || articleMask === void 0 || (_articleMask$groupnam2 = articleMask.groupname) === null || _articleMask$groupnam2 === void 0 ? void 0 : _articleMask$groupnam2[catalogData.api.getLanguage()]) !== null && _articleMask$groupnam !== void 0 ? _articleMask$groupnam : article.typeKey
|
|
20376
20399
|
};
|
|
20377
20400
|
}
|
|
@@ -20388,14 +20411,6 @@ function getCatalogArticle(article, catalogData) {
|
|
|
20388
20411
|
function getLowResUrl(url) {
|
|
20389
20412
|
return url === null || url === void 0 ? void 0 : url.replace('.jpg', '_low.jpg').replace('.jpeg', '_low.jpeg').replace('.png', '_low.png');
|
|
20390
20413
|
}
|
|
20391
|
-
function mapIDMMediaItem(mediaItem) {
|
|
20392
|
-
var _getLowResUrl;
|
|
20393
|
-
return {
|
|
20394
|
-
url: (_getLowResUrl = getLowResUrl(mediaItem.url)) !== null && _getLowResUrl !== void 0 ? _getLowResUrl : '',
|
|
20395
|
-
detailInfoNo: mediaItem.detailInfoNo,
|
|
20396
|
-
decisionNos: mediaItem.decisionNo ? [mediaItem.decisionNo] : []
|
|
20397
|
-
};
|
|
20398
|
-
}
|
|
20399
20414
|
function convertProperties() {
|
|
20400
20415
|
var properties = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
20401
20416
|
var lang = arguments.length > 1 ? arguments[1] : undefined;
|
|
@@ -20429,8 +20444,8 @@ function mapProp() {
|
|
|
20429
20444
|
});
|
|
20430
20445
|
}
|
|
20431
20446
|
function getCatalogPlanner(article, catalogArticle, catalogData) {
|
|
20432
|
-
var _article$
|
|
20433
|
-
var svg = (_article$
|
|
20447
|
+
var _article$detailInfos4, _article$avlFilter, _article$avrFilter, _article$depthBasicSh4, _article$depthBasicSh5, _article$depthBasicSh6, _article$widthBasicSh4, _article$widthBasicSh5, _article$widthBasicSh6, _article$heightBasicS4, _article$heightBasicS5, _article$heightBasicS6, _svg$avc, _svg$avn, _svg$avo, _svg$avs, _svg$avu, _svg$hasAVL, _svg$hasAVR, _catalogArticle$svgs;
|
|
20448
|
+
var svg = (_article$detailInfos4 = article.detailInfos) === null || _article$detailInfos4 === void 0 ? void 0 : _article$detailInfos4.find(function (d) {
|
|
20434
20449
|
return d.classification == 'SVG';
|
|
20435
20450
|
});
|
|
20436
20451
|
|
|
@@ -27485,7 +27500,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
27485
27500
|
value: function addRuleDesc() {
|
|
27486
27501
|
var _this$optionsForPrint;
|
|
27487
27502
|
var ret = '';
|
|
27488
|
-
if (this.
|
|
27503
|
+
if (this.retailPrefix != 'SAP' && this.article.ruleDesc && this.article.ruleDesc != '' && !((_this$optionsForPrint = this.optionsForPrint) !== null && _this$optionsForPrint !== void 0 && _this$optionsForPrint.length)) {
|
|
27489
27504
|
var ruleDesc = this.article.ruleDesc;
|
|
27490
27505
|
if (!this.set.api.ruleDescWithoutParenthesis()) ruleDesc = '(' + ruleDesc + ')';
|
|
27491
27506
|
ret += ' ' + (this.CatalogData.addNewLineBeforRuleDesc ? this.set.api.ruleDescSeperator() : '') + ruleDesc;
|
|
@@ -27496,19 +27511,13 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
27496
27511
|
key: "name_locales",
|
|
27497
27512
|
get: function get() {
|
|
27498
27513
|
var ret = this.article.actDescription ? this.article.actDescription_locales : this.catalogArticleName_locales;
|
|
27499
|
-
if (this.
|
|
27514
|
+
if (this.retailPrefix != 'SAP' && this.article.ruleDesc_locales) {
|
|
27500
27515
|
for (var lang in ret) {
|
|
27501
27516
|
ret[lang] += ' ' + (this.CatalogData.addNewLineBeforRuleDesc ? '\n' : '') + '(' + this.article.ruleDesc_locales[lang] + ')';
|
|
27502
27517
|
}
|
|
27503
27518
|
}
|
|
27504
27519
|
return ret;
|
|
27505
27520
|
}
|
|
27506
|
-
}, {
|
|
27507
|
-
key: "RetailPrefix",
|
|
27508
|
-
get: function get() {
|
|
27509
|
-
var _this$article$retailP;
|
|
27510
|
-
return (_this$article$retailP = this.article.retailPrefix) !== null && _this$article$retailP !== void 0 ? _this$article$retailP : this.article.catalogArticle.retailPrefix;
|
|
27511
|
-
}
|
|
27512
27521
|
}, {
|
|
27513
27522
|
key: "catalogArticleName",
|
|
27514
27523
|
get: function get() {
|
|
@@ -27562,11 +27571,6 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
27562
27571
|
get: function get() {
|
|
27563
27572
|
return this.article.catalogArticle.tabGroupOption;
|
|
27564
27573
|
}
|
|
27565
|
-
}, {
|
|
27566
|
-
key: "retailArticlePrefix",
|
|
27567
|
-
get: function get() {
|
|
27568
|
-
return this.article.retailPrefix;
|
|
27569
|
-
}
|
|
27570
27574
|
}, {
|
|
27571
27575
|
key: "retailTypeNr",
|
|
27572
27576
|
get: function get() {
|
|
@@ -29489,7 +29493,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
29489
29493
|
break;
|
|
29490
29494
|
}
|
|
29491
29495
|
_context.next = 4;
|
|
29492
|
-
return Promise.resolve().then(function () { return require('./ShelfPlanner-
|
|
29496
|
+
return Promise.resolve().then(function () { return require('./ShelfPlanner-6fe79398.js'); });
|
|
29493
29497
|
case 4:
|
|
29494
29498
|
_yield$import = _context.sent;
|
|
29495
29499
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -37480,7 +37484,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
37480
37484
|
break;
|
|
37481
37485
|
}
|
|
37482
37486
|
_context5.next = 3;
|
|
37483
|
-
return Promise.resolve().then(function () { return require('./DoorPlanner-
|
|
37487
|
+
return Promise.resolve().then(function () { return require('./DoorPlanner-2418318c.js'); });
|
|
37484
37488
|
case 3:
|
|
37485
37489
|
_yield$import = _context5.sent;
|
|
37486
37490
|
DoorPlanner = _yield$import["default"];
|
|
@@ -42251,7 +42255,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
42251
42255
|
break;
|
|
42252
42256
|
case 3:
|
|
42253
42257
|
_context12.next = 5;
|
|
42254
|
-
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-
|
|
42258
|
+
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-8c769cb2.js'); });
|
|
42255
42259
|
case 5:
|
|
42256
42260
|
_yield$import = _context12.sent;
|
|
42257
42261
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -42259,7 +42263,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
42259
42263
|
return _context12.abrupt("break", 27);
|
|
42260
42264
|
case 9:
|
|
42261
42265
|
_context12.next = 11;
|
|
42262
|
-
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-
|
|
42266
|
+
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-f99322d1.js'); });
|
|
42263
42267
|
case 11:
|
|
42264
42268
|
_yield$import2 = _context12.sent;
|
|
42265
42269
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -42267,7 +42271,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
42267
42271
|
return _context12.abrupt("break", 27);
|
|
42268
42272
|
case 15:
|
|
42269
42273
|
_context12.next = 17;
|
|
42270
|
-
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-
|
|
42274
|
+
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-1a703f61.js'); });
|
|
42271
42275
|
case 17:
|
|
42272
42276
|
_yield$import3 = _context12.sent;
|
|
42273
42277
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -42275,7 +42279,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
42275
42279
|
return _context12.abrupt("break", 27);
|
|
42276
42280
|
case 21:
|
|
42277
42281
|
_context12.next = 23;
|
|
42278
|
-
return Promise.resolve().then(function () { return require('./StandardWWSHandler-
|
|
42282
|
+
return Promise.resolve().then(function () { return require('./StandardWWSHandler-1bb6cd55.js'); });
|
|
42279
42283
|
case 23:
|
|
42280
42284
|
_yield$import4 = _context12.sent;
|
|
42281
42285
|
StandardWWSHandler = _yield$import4["default"];
|
|
@@ -43699,7 +43703,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
43699
43703
|
while (1) switch (_context3.prev = _context3.next) {
|
|
43700
43704
|
case 0:
|
|
43701
43705
|
_context3.next = 2;
|
|
43702
|
-
return Promise.resolve().then(function () { return require('./Host3DSignalR-
|
|
43706
|
+
return Promise.resolve().then(function () { return require('./Host3DSignalR-8edd3ad6.js'); });
|
|
43703
43707
|
case 2:
|
|
43704
43708
|
_yield$import = _context3.sent;
|
|
43705
43709
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -45519,7 +45523,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
45519
45523
|
break;
|
|
45520
45524
|
case 8:
|
|
45521
45525
|
_context4.next = 10;
|
|
45522
|
-
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-
|
|
45526
|
+
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-bb8474b5.js'); });
|
|
45523
45527
|
case 10:
|
|
45524
45528
|
_yield$import = _context4.sent;
|
|
45525
45529
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -45530,7 +45534,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
45530
45534
|
return _context4.abrupt("break", 21);
|
|
45531
45535
|
case 15:
|
|
45532
45536
|
_context4.next = 17;
|
|
45533
|
-
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-
|
|
45537
|
+
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-bb2211fe.js'); });
|
|
45534
45538
|
case 17:
|
|
45535
45539
|
_yield$import2 = _context4.sent;
|
|
45536
45540
|
DivaBoxPlanner = _yield$import2["default"];
|
package/build/cjs/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-6d20f871.js');
|
|
6
6
|
require('@babel/runtime/helpers/slicedToArray');
|
|
7
7
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
8
8
|
require('@babel/runtime/helpers/classCallCheck');
|
|
@@ -3,11 +3,11 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
|
3
3
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
4
4
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
5
5
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
6
|
-
import { c as Vector2, V as Vector3, P as PlannerElementData, B as BoundingBox } from './index-
|
|
6
|
+
import { c as Vector2, V as Vector3, P as PlannerElementData, B as BoundingBox } from './index-4bab3a6b.js';
|
|
7
7
|
import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
|
|
8
8
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
9
9
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
10
|
-
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-
|
|
10
|
+
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-8670859c.js';
|
|
11
11
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
12
12
|
import 'axios';
|
|
13
13
|
import '@crystaldesign/basket-model';
|
|
@@ -3,9 +3,9 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
|
3
3
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
4
4
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
5
5
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
6
|
-
import { V as Vector3, c as Vector2, P as PlannerElementData, B as BoundingBox } from './index-
|
|
6
|
+
import { V as Vector3, c as Vector2, P as PlannerElementData, B as BoundingBox } from './index-4bab3a6b.js';
|
|
7
7
|
import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
|
|
8
|
-
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-
|
|
8
|
+
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-8670859c.js';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
11
11
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-4bab3a6b.js';
|
|
5
5
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/slicedToArray';
|
|
7
7
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -3,7 +3,7 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
|
3
3
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
4
4
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
5
5
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
6
|
-
import { R as Rendering, H as HQRenderScript } from './index-
|
|
6
|
+
import { R as Rendering, H as HQRenderScript } from './index-4bab3a6b.js';
|
|
7
7
|
import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
|
|
8
8
|
import { HubConnectionBuilder, LogLevel } from '@microsoft/signalr';
|
|
9
9
|
import io from 'socket.io-client';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-4bab3a6b.js';
|
|
4
4
|
import '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
6
6
|
import '@babel/runtime/helpers/defineProperty';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
|
-
import { a as articleHandlerInstance } from './index-
|
|
3
|
+
import { a as articleHandlerInstance } from './index-4bab3a6b.js';
|
|
4
4
|
import { SAPOrderLineData } from '@crystaldesign/basket-model';
|
|
5
5
|
import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/slicedToArray';
|
|
@@ -202,7 +202,8 @@ var PfisterWWSHandler = /*#__PURE__*/function () {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
} else {
|
|
205
|
-
var
|
|
205
|
+
var _article$retailPrefix;
|
|
206
|
+
var articleNrPrefix = (_article$retailPrefix = article === null || article === void 0 ? void 0 : article.retailPrefix) !== null && _article$retailPrefix !== void 0 ? _article$retailPrefix : 'ZKAT';
|
|
206
207
|
var useSAPArticleNumberInEKText = true;
|
|
207
208
|
//wenn keine Orderlines des Sets als SapOrderline gelistet wurden,
|
|
208
209
|
//dann jetzt für die unterschiedlichen ZKAT Artikelnummer innerhalb eines SETS eigene SAPOrderline listen
|
|
@@ -3,7 +3,7 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
|
3
3
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
4
4
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
5
5
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
6
|
-
import { c as Vector2, D as DockingPoint, V as Vector3 } from './index-
|
|
6
|
+
import { c as Vector2, D as DockingPoint, V as Vector3 } from './index-4bab3a6b.js';
|
|
7
7
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
8
8
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
9
9
|
import { fabric } from 'fabric';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
4
|
-
import { s as summaryHandlerInstance } from './index-
|
|
4
|
+
import { s as summaryHandlerInstance } from './index-4bab3a6b.js';
|
|
5
5
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/slicedToArray';
|
|
7
7
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -4,7 +4,7 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
|
4
4
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
5
5
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
7
|
-
import { G as Grid, b as setHandlerInstance, a as articleHandlerInstance } from './index-
|
|
7
|
+
import { G as Grid, b as setHandlerInstance, a as articleHandlerInstance } from './index-4bab3a6b.js';
|
|
8
8
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-4bab3a6b.js';
|
|
4
4
|
import '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
6
6
|
import '@babel/runtime/helpers/defineProperty';
|