@crystaldesign/web-planner-logic 24.15.0-beta.1 → 24.15.0-beta.11
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-4789bc0a.js → DivaBoxPlanner-1fcf2412.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-dbdb4ba0.js → DivaStandardPlanner-513590ce.js} +2 -2
- package/build/cjs/{DoorPlanner-e05bdec4.js → DoorPlanner-df4ed5f1.js} +1 -1
- package/build/cjs/{Host3DSignalR-908946a2.js → Host3DSignalR-8086697c.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-4bad8cba.js → LiviqueWWSHandler-584d4786.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-93d9fb4d.js → PfisterWWSHandler-3a00f020.js} +1 -1
- package/build/cjs/{PlannerHandler2D-593db35b.js → PlannerHandler2D-93177886.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-f1feae09.js → SeriousBasketHandler-c20c6964.js} +1 -1
- package/build/cjs/{ShelfPlanner-47d446eb.js → ShelfPlanner-63c5c64d.js} +2 -1
- package/build/cjs/{StandardWWSHandler-1e7710d3.js → StandardWWSHandler-3ee71d5d.js} +1 -1
- package/build/cjs/{index-5f530bbb.js → index-a19e08b4.js} +79 -61
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-11ab03fc.js → DivaBoxPlanner-d7f5bd50.js} +2 -2
- package/build/esm/{DivaStandardPlanner-fcc8d692.js → DivaStandardPlanner-581fa3e7.js} +2 -2
- package/build/esm/{DoorPlanner-36d5e093.js → DoorPlanner-d9915cf3.js} +1 -1
- package/build/esm/{Host3DSignalR-9222f4e5.js → Host3DSignalR-44d4d90e.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-b01ffddd.js → LiviqueWWSHandler-598ca95a.js} +1 -1
- package/build/esm/{PfisterWWSHandler-327b06c0.js → PfisterWWSHandler-47d76be7.js} +1 -1
- package/build/esm/{PlannerHandler2D-4ca09229.js → PlannerHandler2D-25264855.js} +1 -1
- package/build/esm/{SeriousBasketHandler-36a1b987.js → SeriousBasketHandler-2c6f2143.js} +1 -1
- package/build/esm/{ShelfPlanner-a08089d2.js → ShelfPlanner-4b1c336e.js} +2 -1
- package/build/esm/{StandardWWSHandler-96622950.js → StandardWWSHandler-338ed92a.js} +1 -1
- package/build/esm/{index-16bf1098.js → index-7e622dc6.js} +79 -61
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts +1 -0
- package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts +2 -1
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Planner/Rendering/Rendering.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Articles/CatalogArticleData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts +1 -0
- package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts +1 -1
- package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -3,8 +3,8 @@ 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, B as BoundingBox } from './index-
|
|
7
|
-
import { d as dockingPointHandlerInst, h as handler2D, P as PlannerElementData } from './PlannerHandler2D-
|
|
6
|
+
import { V as Vector3, c as Vector2, B as BoundingBox } from './index-7e622dc6.js';
|
|
7
|
+
import { d as dockingPointHandlerInst, h as handler2D, P as PlannerElementData } from './PlannerHandler2D-25264855.js';
|
|
8
8
|
import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -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-7e622dc6.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-7e622dc6.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-7e622dc6.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-7e622dc6.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';
|
|
@@ -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 { V as Vector3, c as Vector2, D as DockingPoint } from './index-
|
|
4
|
+
import { V as Vector3, c as Vector2, D as DockingPoint } from './index-7e622dc6.js';
|
|
5
5
|
import DivaUtils, { md5, DivaError } from '@crystaldesign/diva-utils';
|
|
6
6
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
7
7
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
@@ -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-7e622dc6.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-7e622dc6.js';
|
|
8
8
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -504,6 +504,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
504
504
|
var ret = {};
|
|
505
505
|
for (var i = 0; i < grids.length; i++) {
|
|
506
506
|
var grid = grids[i];
|
|
507
|
+
if (grid.DisabledByRule) continue;
|
|
507
508
|
ret[grid.GridName] = {
|
|
508
509
|
freeCells: grid.getFreeSpacesOfAccessoire(accessoire),
|
|
509
510
|
idx: i
|
|
@@ -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-7e622dc6.js';
|
|
4
4
|
import '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
6
6
|
import '@babel/runtime/helpers/defineProperty';
|
|
@@ -587,7 +587,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
587
587
|
}, {
|
|
588
588
|
key: "getEnableRTVUnityKombi",
|
|
589
589
|
value: function getEnableRTVUnityKombi() {
|
|
590
|
-
|
|
590
|
+
var _this$organization$se;
|
|
591
|
+
return !!((_this$organization$se = this.organization.settings) !== null && _this$organization$se !== void 0 && _this$organization$se.enableRTV);
|
|
591
592
|
}
|
|
592
593
|
}, {
|
|
593
594
|
key: "getDoDisablePlanner2D",
|
|
@@ -622,8 +623,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
622
623
|
}, {
|
|
623
624
|
key: "ruleDescSeperator",
|
|
624
625
|
value: function ruleDescSeperator() {
|
|
625
|
-
var _this$organization$
|
|
626
|
-
var seperator = (_this$organization$
|
|
626
|
+
var _this$organization$se2, _this$organization2;
|
|
627
|
+
var seperator = (_this$organization$se2 = (_this$organization2 = this.organization) === null || _this$organization2 === void 0 || (_this$organization2 = _this$organization2.settings) === null || _this$organization2 === void 0 ? void 0 : _this$organization2.ruleDescSeperator) !== null && _this$organization$se2 !== void 0 ? _this$organization$se2 : ', ';
|
|
627
628
|
// \n is escaped in url and therefore needs to be set via keyword
|
|
628
629
|
if (seperator == 'newLine') return '\n';
|
|
629
630
|
return seperator;
|
|
@@ -1741,7 +1742,8 @@ var ArticleOptionValueData = /*#__PURE__*/function () {
|
|
|
1741
1742
|
}, {
|
|
1742
1743
|
key: "isNotRelevant",
|
|
1743
1744
|
get: function get() {
|
|
1744
|
-
|
|
1745
|
+
var _this$opv$catalogOPV$, _this$ocd;
|
|
1746
|
+
return (_this$opv$catalogOPV$ = this.opv.catalogOPV.isNotRelevant) !== null && _this$opv$catalogOPV$ !== void 0 ? _this$opv$catalogOPV$ : ['OPVNR', 'OPVNRR', 'OPVNR_0'].includes((_this$ocd = this.ocd) !== null && _this$ocd !== void 0 ? _this$ocd : this.codex);
|
|
1745
1747
|
}
|
|
1746
1748
|
}, {
|
|
1747
1749
|
key: "vCodex",
|
|
@@ -1992,11 +1994,11 @@ var ArticleOptionValueData = /*#__PURE__*/function () {
|
|
|
1992
1994
|
}, {
|
|
1993
1995
|
key: "metaDataView",
|
|
1994
1996
|
get: function get() {
|
|
1995
|
-
var _this$
|
|
1997
|
+
var _this$ocd2;
|
|
1996
1998
|
return [].concat(_toConsumableArray(this.opv.catalogOPV.metaDataView), [{
|
|
1997
1999
|
codex: 'codex',
|
|
1998
2000
|
name: '',
|
|
1999
|
-
values: [((_this$
|
|
2001
|
+
values: [((_this$ocd2 = this.ocd) !== null && _this$ocd2 !== void 0 ? _this$ocd2 : this.codex).replace('OPVOPV_', 'OPV_')],
|
|
2000
2002
|
values_locales: []
|
|
2001
2003
|
}]);
|
|
2002
2004
|
}
|
|
@@ -17075,6 +17077,7 @@ var CatalogArticleData = /*#__PURE__*/function () {
|
|
|
17075
17077
|
key: "initArticleRelations",
|
|
17076
17078
|
value: function initArticleRelations(articleRelations, catalog) {
|
|
17077
17079
|
//ein schönes Object mappen und z.B. nachschauen ob der Acc ein SVG hat
|
|
17080
|
+
if (catalog.ignoreArticleRelations) return;
|
|
17078
17081
|
this.catalogArticle.articleRelations = [];
|
|
17079
17082
|
if (articleRelations[0].Articles.length > 0) {
|
|
17080
17083
|
this.catalogArticle.hasArticleRelations = true;
|
|
@@ -18284,6 +18287,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
18284
18287
|
// accessories sind direkt configurierbar im Accessorie Schritt. kommen aber trozdem auch im Optionsbaum raus
|
|
18285
18288
|
configOnlyAccessoires: false,
|
|
18286
18289
|
// accessories sind direkt configurierbar nur im Accessoires Schritt
|
|
18290
|
+
ignoreArticleRelations: false,
|
|
18291
|
+
// jegliche artikle Realtions welche von den Daten kommen werden ignoriert
|
|
18287
18292
|
repairVariantValues: undefined,
|
|
18288
18293
|
// Mapping von OPT und OPV um beim öffnen von BK's die variantValues zu updaten
|
|
18289
18294
|
showPricePreviewOnlyOnOptions: [],
|
|
@@ -18591,6 +18596,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
18591
18596
|
_this.catalogData.configAccessoires = item.Value == '1';
|
|
18592
18597
|
} else if (item.Codex == 'CONFIG_ONLY_ACCESSOIRES') {
|
|
18593
18598
|
_this.catalogData.configOnlyAccessoires = item.Value == '1';
|
|
18599
|
+
} else if (item.Codex == 'IGNORE_ARTICLERELATIONS') {
|
|
18600
|
+
_this.catalogData.ignoreArticleRelations = item.Value == '1';
|
|
18594
18601
|
} else if (item.Codex == 'REPAIR_VARIANT_VALUES') {
|
|
18595
18602
|
var entries = item.Value.split(';;');
|
|
18596
18603
|
_this.catalogData.repairVariantValues = {};
|
|
@@ -19197,6 +19204,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
19197
19204
|
get: function get() {
|
|
19198
19205
|
return this.catalogData.configOnlyAccessoires;
|
|
19199
19206
|
}
|
|
19207
|
+
}, {
|
|
19208
|
+
key: "ignoreArticleRelations",
|
|
19209
|
+
get: function get() {
|
|
19210
|
+
return this.catalogData.ignoreArticleRelations;
|
|
19211
|
+
}
|
|
19200
19212
|
}, {
|
|
19201
19213
|
key: "startFilterParams",
|
|
19202
19214
|
get: function get() {
|
|
@@ -23681,7 +23693,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
23681
23693
|
break;
|
|
23682
23694
|
}
|
|
23683
23695
|
_context.next = 4;
|
|
23684
|
-
return import('./ShelfPlanner-
|
|
23696
|
+
return import('./ShelfPlanner-4b1c336e.js');
|
|
23685
23697
|
case 4:
|
|
23686
23698
|
_yield$import = _context.sent;
|
|
23687
23699
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -28204,7 +28216,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
28204
28216
|
break;
|
|
28205
28217
|
}
|
|
28206
28218
|
_context4.next = 3;
|
|
28207
|
-
return import('./DoorPlanner-
|
|
28219
|
+
return import('./DoorPlanner-d9915cf3.js');
|
|
28208
28220
|
case 3:
|
|
28209
28221
|
_yield$import = _context4.sent;
|
|
28210
28222
|
DoorPlanner = _yield$import["default"];
|
|
@@ -30713,7 +30725,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30713
30725
|
var myConfigItemsForView = [],
|
|
30714
30726
|
objectKeys = Object.keys(myConfigItems);
|
|
30715
30727
|
var _loop8 = function _loop8() {
|
|
30716
|
-
var _ops$optionOcd3, _item$colorGroups, _item$pdfUrl, _item$url;
|
|
30728
|
+
var _ops$optionOcd3, _item$images, _item$colorGroups, _item$pdfUrl, _item$url;
|
|
30717
30729
|
var item = myConfigItems[objectKeys[i]];
|
|
30718
30730
|
var key = objectKeys[i];
|
|
30719
30731
|
var groupName = item.groupName ? item.groupName : idmOpgGroupName;
|
|
@@ -30742,7 +30754,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30742
30754
|
codex: item.codex,
|
|
30743
30755
|
ocd: item.ocd,
|
|
30744
30756
|
vCodex: item.vCodex,
|
|
30745
|
-
layout: item.isTexture ? 'TEXTURE' : item.image ? 'IMAGE' : 'TEXT',
|
|
30757
|
+
layout: item.isTexture ? 'TEXTURE' : item.image || (_item$images = item.images) !== null && _item$images !== void 0 && _item$images.length ? 'IMAGE' : 'TEXT',
|
|
30746
30758
|
image: image,
|
|
30747
30759
|
zoomImage: zoomImage,
|
|
30748
30760
|
hexColor: item.hexColor,
|
|
@@ -34830,7 +34842,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34830
34842
|
break;
|
|
34831
34843
|
case 3:
|
|
34832
34844
|
_context12.next = 5;
|
|
34833
|
-
return import('./PfisterWWSHandler-
|
|
34845
|
+
return import('./PfisterWWSHandler-47d76be7.js');
|
|
34834
34846
|
case 5:
|
|
34835
34847
|
_yield$import = _context12.sent;
|
|
34836
34848
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -34838,7 +34850,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34838
34850
|
return _context12.abrupt("break", 27);
|
|
34839
34851
|
case 9:
|
|
34840
34852
|
_context12.next = 11;
|
|
34841
|
-
return import('./LiviqueWWSHandler-
|
|
34853
|
+
return import('./LiviqueWWSHandler-598ca95a.js');
|
|
34842
34854
|
case 11:
|
|
34843
34855
|
_yield$import2 = _context12.sent;
|
|
34844
34856
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -34846,7 +34858,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34846
34858
|
return _context12.abrupt("break", 27);
|
|
34847
34859
|
case 15:
|
|
34848
34860
|
_context12.next = 17;
|
|
34849
|
-
return import('./SeriousBasketHandler-
|
|
34861
|
+
return import('./SeriousBasketHandler-2c6f2143.js');
|
|
34850
34862
|
case 17:
|
|
34851
34863
|
_yield$import3 = _context12.sent;
|
|
34852
34864
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -34854,7 +34866,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34854
34866
|
return _context12.abrupt("break", 27);
|
|
34855
34867
|
case 21:
|
|
34856
34868
|
_context12.next = 23;
|
|
34857
|
-
return import('./StandardWWSHandler-
|
|
34869
|
+
return import('./StandardWWSHandler-338ed92a.js');
|
|
34858
34870
|
case 23:
|
|
34859
34871
|
_yield$import4 = _context12.sent;
|
|
34860
34872
|
StandardWWSHandler = _yield$import4["default"];
|
|
@@ -35669,6 +35681,7 @@ var Rendering = /*#__PURE__*/function () {
|
|
|
35669
35681
|
}, {
|
|
35670
35682
|
key: "hasUIInfosOfElement",
|
|
35671
35683
|
value: function hasUIInfosOfElement(setId, elementid) {
|
|
35684
|
+
if (this.hasStaticBackground) return false; //when the rendering has static background, no UI Info is loaded d
|
|
35672
35685
|
if (this.uiInfo[setId] == undefined && this.uiInfo['S1'] != undefined) {
|
|
35673
35686
|
return this.uiInfo['S1']['E' + elementid] != undefined;
|
|
35674
35687
|
} else {
|
|
@@ -36367,7 +36380,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
36367
36380
|
while (1) switch (_context3.prev = _context3.next) {
|
|
36368
36381
|
case 0:
|
|
36369
36382
|
_context3.next = 2;
|
|
36370
|
-
return import('./Host3DSignalR-
|
|
36383
|
+
return import('./Host3DSignalR-44d4d90e.js');
|
|
36371
36384
|
case 2:
|
|
36372
36385
|
_yield$import = _context3.sent;
|
|
36373
36386
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -37926,7 +37939,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
37926
37939
|
break;
|
|
37927
37940
|
case 8:
|
|
37928
37941
|
_context4.next = 10;
|
|
37929
|
-
return import('./DivaStandardPlanner-
|
|
37942
|
+
return import('./DivaStandardPlanner-581fa3e7.js');
|
|
37930
37943
|
case 10:
|
|
37931
37944
|
_yield$import = _context4.sent;
|
|
37932
37945
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -37937,7 +37950,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
37937
37950
|
return _context4.abrupt("break", 21);
|
|
37938
37951
|
case 15:
|
|
37939
37952
|
_context4.next = 17;
|
|
37940
|
-
return import('./DivaBoxPlanner-
|
|
37953
|
+
return import('./DivaBoxPlanner-d7f5bd50.js');
|
|
37941
37954
|
case 17:
|
|
37942
37955
|
_yield$import2 = _context4.sent;
|
|
37943
37956
|
DivaBoxPlanner = _yield$import2["default"];
|
|
@@ -40583,6 +40596,12 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40583
40596
|
value: function eventIsManagedByClient(event) {
|
|
40584
40597
|
return this.api.eventIsManagedByClient(event);
|
|
40585
40598
|
}
|
|
40599
|
+
}, {
|
|
40600
|
+
key: "showModal",
|
|
40601
|
+
value: function showModal(data) {
|
|
40602
|
+
var _this$actions21;
|
|
40603
|
+
(_this$actions21 = this.actions) === null || _this$actions21 === void 0 || _this$actions21.openModal(data);
|
|
40604
|
+
}
|
|
40586
40605
|
}, {
|
|
40587
40606
|
key: "logGA",
|
|
40588
40607
|
value: function logGA(action) {
|
|
@@ -40600,25 +40619,25 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40600
40619
|
}, {
|
|
40601
40620
|
key: "callEvent",
|
|
40602
40621
|
value: function callEvent(event, param) {
|
|
40603
|
-
var _this$
|
|
40622
|
+
var _this$actions22, _this$actions23, _this$actions24, _this$actions25;
|
|
40604
40623
|
switch (event) {
|
|
40605
40624
|
case 'onFullscreenClose':
|
|
40606
|
-
(_this$
|
|
40625
|
+
(_this$actions22 = this.actions) === null || _this$actions22 === void 0 || _this$actions22.onEvent({
|
|
40607
40626
|
type: 'onFullscreenClose'
|
|
40608
40627
|
});
|
|
40609
40628
|
break;
|
|
40610
40629
|
case 'onWebPlanerClose':
|
|
40611
|
-
(_this$
|
|
40630
|
+
(_this$actions23 = this.actions) === null || _this$actions23 === void 0 || _this$actions23.onEvent({
|
|
40612
40631
|
type: 'onWebPlanerClose'
|
|
40613
40632
|
});
|
|
40614
40633
|
break;
|
|
40615
40634
|
case 'onWebPlanerHelp':
|
|
40616
|
-
(_this$
|
|
40635
|
+
(_this$actions24 = this.actions) === null || _this$actions24 === void 0 || _this$actions24.onEvent({
|
|
40617
40636
|
type: 'onWebPlanerHelp'
|
|
40618
40637
|
});
|
|
40619
40638
|
break;
|
|
40620
40639
|
case 'onWebPlanerZoomClick':
|
|
40621
|
-
(_this$
|
|
40640
|
+
(_this$actions25 = this.actions) === null || _this$actions25 === void 0 || _this$actions25.onEvent({
|
|
40622
40641
|
type: 'onWebPlanerZoomClick',
|
|
40623
40642
|
data: param
|
|
40624
40643
|
});
|
|
@@ -40629,14 +40648,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40629
40648
|
key: "saveToBasketWrapper",
|
|
40630
40649
|
value: function () {
|
|
40631
40650
|
var _saveToBasketWrapper = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee25(event, repairOnly, force) {
|
|
40632
|
-
var _this$
|
|
40633
|
-
_this$actions26$toggl,
|
|
40634
|
-
_this$actions27,
|
|
40651
|
+
var _this$actions27,
|
|
40635
40652
|
_this$actions27$toggl,
|
|
40653
|
+
_this$actions28,
|
|
40654
|
+
_this$actions28$toggl,
|
|
40636
40655
|
_this2 = this,
|
|
40637
|
-
_this$
|
|
40656
|
+
_this$actions32,
|
|
40638
40657
|
_this$i18n14;
|
|
40639
|
-
var returnTo, finalEvent, _this$api$getBarrierC, _this$openLeafeltBarr, product, _this$actSet9, url, _result, _this$
|
|
40658
|
+
var returnTo, finalEvent, _this$api$getBarrierC, _this$openLeafeltBarr, product, _this$actSet9, url, _result, _this$actions26, result, _this$actions29, _this$i18n8, _this$i18n9, _this$actions30, _this$i18n10, _this$i18n11, _this$actions31, _this$i18n12, _this$i18n13, _this$updatePlannerMs2;
|
|
40640
40659
|
return _regeneratorRuntime.wrap(function _callee25$(_context25) {
|
|
40641
40660
|
while (1) switch (_context25.prev = _context25.next) {
|
|
40642
40661
|
case 0:
|
|
@@ -40675,25 +40694,25 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40675
40694
|
_context25.next = 20;
|
|
40676
40695
|
break;
|
|
40677
40696
|
}
|
|
40678
|
-
(_this$
|
|
40697
|
+
(_this$actions26 = this.actions) === null || _this$actions26 === void 0 || _this$actions26.onEvent({
|
|
40679
40698
|
type: finalEvent.event
|
|
40680
40699
|
});
|
|
40681
40700
|
return _context25.abrupt("return", 'canceled');
|
|
40682
40701
|
case 20:
|
|
40683
40702
|
returnTo = finalEvent.event == 'onAddToBasket' ? 'OPEN_PDF' : returnTo;
|
|
40684
40703
|
case 21:
|
|
40685
|
-
(_this$
|
|
40704
|
+
(_this$actions27 = this.actions) === null || _this$actions27 === void 0 || (_this$actions27$toggl = _this$actions27.toggleLoading) === null || _this$actions27$toggl === void 0 || _this$actions27$toggl.call(_this$actions27, 'Planner_Saving', false, true);
|
|
40686
40705
|
_context25.next = 24;
|
|
40687
40706
|
return this.saveToBasket(finalEvent.event, repairOnly, force);
|
|
40688
40707
|
case 24:
|
|
40689
40708
|
result = _context25.sent;
|
|
40690
|
-
(_this$
|
|
40709
|
+
(_this$actions28 = this.actions) === null || _this$actions28 === void 0 || (_this$actions28$toggl = _this$actions28.toggleLoading) === null || _this$actions28$toggl === void 0 || _this$actions28$toggl.call(_this$actions28, 'Planner_Saving', false, false);
|
|
40691
40710
|
if (!(result === 'canceled')) {
|
|
40692
40711
|
_context25.next = 30;
|
|
40693
40712
|
break;
|
|
40694
40713
|
}
|
|
40695
40714
|
LOG$1.error(new DivaError('failed to save Basket'));
|
|
40696
|
-
(_this$
|
|
40715
|
+
(_this$actions29 = this.actions) === null || _this$actions29 === void 0 || _this$actions29.openModal({
|
|
40697
40716
|
text: ((_this$i18n8 = this.i18n()) === null || _this$i18n8 === void 0 ? void 0 : _this$i18n8.t('modal.general_error')) + ' --- ' + DivaUtils.formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils.getCurrentTraceId() ? ((_this$i18n9 = this.i18n()) === null || _this$i18n9 === void 0 ? void 0 : _this$i18n9.t('modal.errorcode')) + ': ' + DivaUtils.getCurrentTraceId() : '',
|
|
40698
40717
|
accept: true
|
|
40699
40718
|
});
|
|
@@ -40707,12 +40726,12 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40707
40726
|
LOG$1.error(new DivaError('PDF url is missing in basket', {
|
|
40708
40727
|
code: 'WC_0010'
|
|
40709
40728
|
}));
|
|
40710
|
-
(_this$
|
|
40729
|
+
(_this$actions30 = this.actions) === null || _this$actions30 === void 0 || _this$actions30.openModal({
|
|
40711
40730
|
text: ((_this$i18n10 = this.i18n()) === null || _this$i18n10 === void 0 ? void 0 : _this$i18n10.t('modal.general_error')) + ' --- ' + DivaUtils.formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils.getCurrentTraceId() ? ((_this$i18n11 = this.i18n()) === null || _this$i18n11 === void 0 ? void 0 : _this$i18n11.t('modal.errorcode')) + ': ' + DivaUtils.getCurrentTraceId() : '',
|
|
40712
40731
|
accept: true
|
|
40713
40732
|
});
|
|
40714
40733
|
} else {
|
|
40715
|
-
(_this$
|
|
40734
|
+
(_this$actions31 = this.actions) === null || _this$actions31 === void 0 || _this$actions31.openModal({
|
|
40716
40735
|
text: (_this$i18n12 = this.i18n()) === null || _this$i18n12 === void 0 ? void 0 : _this$i18n12.t(this.divaBasketHandler.actBasket.Status === 'ORDER' ? 'modal.open_order_pdf_now' : 'modal.open_leaflet_pdf_now'),
|
|
40717
40736
|
accept: (_this$i18n13 = this.i18n()) === null || _this$i18n13 === void 0 ? void 0 : _this$i18n13.t('modals.open_now'),
|
|
40718
40737
|
callback: function callback() {
|
|
@@ -40722,7 +40741,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40722
40741
|
}
|
|
40723
40742
|
return _context25.abrupt("break", 36);
|
|
40724
40743
|
case 35:
|
|
40725
|
-
(_this$
|
|
40744
|
+
(_this$actions32 = this.actions) === null || _this$actions32 === void 0 || _this$actions32.openModal({
|
|
40726
40745
|
text: (_this$i18n14 = this.i18n()) === null || _this$i18n14 === void 0 ? void 0 : _this$i18n14.t('modal.planning_saved'),
|
|
40727
40746
|
accept: true
|
|
40728
40747
|
});
|
|
@@ -40750,7 +40769,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40750
40769
|
key: "saveToBasket",
|
|
40751
40770
|
value: function () {
|
|
40752
40771
|
var _saveToBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee26(event, repairOnly, force) {
|
|
40753
|
-
var _returnTo, _returnTo2, _returnTo3, _this$
|
|
40772
|
+
var _returnTo, _returnTo2, _returnTo3, _this$actions33, _this$actions34, _this$actions35, _this$divaBasketHandl2;
|
|
40754
40773
|
var set, actBasket, returnTo, oldReturnTo, result, newDivaNr, _result2, product;
|
|
40755
40774
|
return _regeneratorRuntime.wrap(function _callee26$(_context26) {
|
|
40756
40775
|
while (1) switch (_context26.prev = _context26.next) {
|
|
@@ -40807,8 +40826,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40807
40826
|
_context26.next = _context26.t3 === 'OPEN_SELLER_PRODUCTCREATOR' ? 28 : _context26.t3 === 'OPEN_SELLER_BASKET' ? 31 : _context26.t3 === 'OPEN_PDF' ? 33 : _context26.t3 === 'SAVE_BASKET_WITH_MODAL' ? 33 : _context26.t3 === 'SAVE_BASKET' ? 33 : _context26.t3 === 'SAVE_BASKET_SYNC' ? 33 : _context26.t3 === 'OPEN_LEAFLET_BARRIER' ? 33 : 52;
|
|
40808
40827
|
break;
|
|
40809
40828
|
case 28:
|
|
40810
|
-
(_this$
|
|
40811
|
-
(_this$
|
|
40829
|
+
(_this$actions33 = this.actions) === null || _this$actions33 === void 0 || _this$actions33.toggleLoading('buildScene', false, false);
|
|
40830
|
+
(_this$actions34 = this.actions) === null || _this$actions34 === void 0 || _this$actions34.openComponent({
|
|
40812
40831
|
type: 'SELLER',
|
|
40813
40832
|
parameters: {
|
|
40814
40833
|
module: 'PCreator',
|
|
@@ -40820,7 +40839,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40820
40839
|
});
|
|
40821
40840
|
return _context26.abrupt("break", 52);
|
|
40822
40841
|
case 31:
|
|
40823
|
-
(_this$
|
|
40842
|
+
(_this$actions35 = this.actions) === null || _this$actions35 === void 0 || _this$actions35.openComponent({
|
|
40824
40843
|
type: 'SELLER',
|
|
40825
40844
|
parameters: {
|
|
40826
40845
|
module: 'Basket',
|
|
@@ -40934,7 +40953,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40934
40953
|
}
|
|
40935
40954
|
}
|
|
40936
40955
|
if (plannerType === 'JUMP_OVER_PLANNER') {
|
|
40937
|
-
ret = 'PLANNER';
|
|
40956
|
+
if (doShowPlanner) ret = 'PLANNER';
|
|
40938
40957
|
plannerType = undefined;
|
|
40939
40958
|
}
|
|
40940
40959
|
if (plannerType === 'CUSTOMER_OPTIMIZED_PLANNER') {
|
|
@@ -40958,7 +40977,6 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40958
40977
|
}
|
|
40959
40978
|
if (plannerType) return plannerType;
|
|
40960
40979
|
if (doShowPlanner) {
|
|
40961
|
-
// deprected; plannerType should only be used
|
|
40962
40980
|
ret = 'PLANNER';
|
|
40963
40981
|
}
|
|
40964
40982
|
return ret;
|
|
@@ -41144,17 +41162,17 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41144
41162
|
key: "addToBasket",
|
|
41145
41163
|
value: function () {
|
|
41146
41164
|
var _addToBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee28(actBasket) {
|
|
41147
|
-
var _this$
|
|
41148
|
-
_this$actions36,
|
|
41165
|
+
var _this$actions36,
|
|
41149
41166
|
_this$actions37,
|
|
41150
41167
|
_this$actions38,
|
|
41151
41168
|
_this$actions39,
|
|
41169
|
+
_this$actions40,
|
|
41152
41170
|
_this$divaBasketHandl4,
|
|
41153
41171
|
_this3 = this,
|
|
41154
|
-
_this$actions40,
|
|
41155
41172
|
_this$actions41,
|
|
41156
41173
|
_this$actions42,
|
|
41157
|
-
_this$actions43
|
|
41174
|
+
_this$actions43,
|
|
41175
|
+
_this$actions44;
|
|
41158
41176
|
var event,
|
|
41159
41177
|
emailConfig,
|
|
41160
41178
|
_emailConfig$to$split,
|
|
@@ -41171,31 +41189,31 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41171
41189
|
_context28.next = _context28.t0 === 'onWebPlanerPrint' ? 5 : _context28.t0 === 'onWebPlanerSave' ? 7 : _context28.t0 === 'onWebPlanerShare' ? 9 : _context28.t0 === 'onRequestConsulation' ? 11 : _context28.t0 === 'onSave' ? 13 : _context28.t0 === 'onSendEmail' ? 15 : _context28.t0 === 'onSaveProduct' ? 20 : _context28.t0 === 'dontSaveBasket' ? 27 : _context28.t0 === 'onAddToBasket' ? 28 : 30;
|
|
41172
41190
|
break;
|
|
41173
41191
|
case 5:
|
|
41174
|
-
(_this$
|
|
41192
|
+
(_this$actions36 = this.actions) === null || _this$actions36 === void 0 || _this$actions36.onEvent({
|
|
41175
41193
|
type: 'onWebPlanerPrint',
|
|
41176
41194
|
data: actBasket.getAsJson()
|
|
41177
41195
|
});
|
|
41178
41196
|
return _context28.abrupt("break", 32);
|
|
41179
41197
|
case 7:
|
|
41180
|
-
(_this$
|
|
41198
|
+
(_this$actions37 = this.actions) === null || _this$actions37 === void 0 || _this$actions37.onEvent({
|
|
41181
41199
|
type: 'onWebPlanerSave',
|
|
41182
41200
|
data: actBasket.getAsJson()
|
|
41183
41201
|
});
|
|
41184
41202
|
return _context28.abrupt("break", 32);
|
|
41185
41203
|
case 9:
|
|
41186
|
-
(_this$
|
|
41204
|
+
(_this$actions38 = this.actions) === null || _this$actions38 === void 0 || _this$actions38.onEvent({
|
|
41187
41205
|
type: 'onWebPlanerShare',
|
|
41188
41206
|
data: actBasket.getAsJson()
|
|
41189
41207
|
});
|
|
41190
41208
|
return _context28.abrupt("break", 32);
|
|
41191
41209
|
case 11:
|
|
41192
|
-
(_this$
|
|
41210
|
+
(_this$actions39 = this.actions) === null || _this$actions39 === void 0 || _this$actions39.onEvent({
|
|
41193
41211
|
type: 'onRequestConsulation',
|
|
41194
41212
|
data: actBasket.getAsJson()
|
|
41195
41213
|
});
|
|
41196
41214
|
return _context28.abrupt("break", 32);
|
|
41197
41215
|
case 13:
|
|
41198
|
-
(_this$
|
|
41216
|
+
(_this$actions40 = this.actions) === null || _this$actions40 === void 0 || _this$actions40.onEvent({
|
|
41199
41217
|
type: 'onSave',
|
|
41200
41218
|
data: actBasket.getAsJson()
|
|
41201
41219
|
});
|
|
@@ -41230,7 +41248,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41230
41248
|
});
|
|
41231
41249
|
});
|
|
41232
41250
|
}
|
|
41233
|
-
(_this$
|
|
41251
|
+
(_this$actions41 = this.actions) === null || _this$actions41 === void 0 || _this$actions41.onEvent({
|
|
41234
41252
|
type: 'onAddToBasket',
|
|
41235
41253
|
data: actBasket.getAsJson()
|
|
41236
41254
|
});
|
|
@@ -41241,7 +41259,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41241
41259
|
return this.api.saveAsProduct(this.sets, actBasket);
|
|
41242
41260
|
case 23:
|
|
41243
41261
|
products = _context28.sent;
|
|
41244
|
-
(_this$
|
|
41262
|
+
(_this$actions42 = this.actions) === null || _this$actions42 === void 0 || _this$actions42.onEvent({
|
|
41245
41263
|
type: 'onAddToBasket',
|
|
41246
41264
|
data: actBasket.getAsJson()
|
|
41247
41265
|
});
|
|
@@ -41252,13 +41270,13 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41252
41270
|
return _context28.abrupt("return", products[0]);
|
|
41253
41271
|
case 27:
|
|
41254
41272
|
case 28:
|
|
41255
|
-
(_this$
|
|
41273
|
+
(_this$actions43 = this.actions) === null || _this$actions43 === void 0 || _this$actions43.onEvent({
|
|
41256
41274
|
type: 'onAddToBasket',
|
|
41257
41275
|
data: actBasket.getAsJson()
|
|
41258
41276
|
});
|
|
41259
41277
|
return _context28.abrupt("break", 32);
|
|
41260
41278
|
case 30:
|
|
41261
|
-
(_this$
|
|
41279
|
+
(_this$actions44 = this.actions) === null || _this$actions44 === void 0 || _this$actions44.onEvent({
|
|
41262
41280
|
type: event,
|
|
41263
41281
|
data: actBasket.getAsJson()
|
|
41264
41282
|
});
|
|
@@ -41279,8 +41297,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41279
41297
|
}, {
|
|
41280
41298
|
key: "openPDFpostAsEvent",
|
|
41281
41299
|
value: function openPDFpostAsEvent(mongoDBId) {
|
|
41282
|
-
var _this$
|
|
41283
|
-
(_this$
|
|
41300
|
+
var _this$actions45, _this$actions46, _this$actions47;
|
|
41301
|
+
(_this$actions45 = this.actions) === null || _this$actions45 === void 0 || _this$actions45.updateBreadcrumbs({
|
|
41284
41302
|
type: 'update',
|
|
41285
41303
|
param: {
|
|
41286
41304
|
groupId: 'SHOWROOM',
|
|
@@ -41294,7 +41312,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41294
41312
|
}
|
|
41295
41313
|
}
|
|
41296
41314
|
});
|
|
41297
|
-
(_this$
|
|
41315
|
+
(_this$actions46 = this.actions) === null || _this$actions46 === void 0 || _this$actions46.updateBreadcrumbs({
|
|
41298
41316
|
type: 'update',
|
|
41299
41317
|
param: {
|
|
41300
41318
|
groupId: 'SHOWROOM',
|
|
@@ -41308,7 +41326,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41308
41326
|
}
|
|
41309
41327
|
}
|
|
41310
41328
|
});
|
|
41311
|
-
(_this$
|
|
41329
|
+
(_this$actions47 = this.actions) === null || _this$actions47 === void 0 || _this$actions47.openComponent({
|
|
41312
41330
|
type: 'REPORT',
|
|
41313
41331
|
parameters: {
|
|
41314
41332
|
id: mongoDBId
|
|
@@ -41528,14 +41546,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41528
41546
|
}, {
|
|
41529
41547
|
key: "subscribeToWebPlannerEvents",
|
|
41530
41548
|
value: function subscribeToWebPlannerEvents() {
|
|
41531
|
-
var _this$
|
|
41532
|
-
(_this$
|
|
41549
|
+
var _this$actions48;
|
|
41550
|
+
(_this$actions48 = this.actions) === null || _this$actions48 === void 0 || _this$actions48.subscribeEvents(this.addToBasketEventFunction);
|
|
41533
41551
|
}
|
|
41534
41552
|
}, {
|
|
41535
41553
|
key: "unsubscribeFromWebPlannerEvents",
|
|
41536
41554
|
value: function unsubscribeFromWebPlannerEvents() {
|
|
41537
|
-
var _this$
|
|
41538
|
-
(_this$
|
|
41555
|
+
var _this$actions49;
|
|
41556
|
+
(_this$actions49 = this.actions) === null || _this$actions49 === void 0 || _this$actions49.unSubscribeEvents(this.addToBasketEventFunction);
|
|
41539
41557
|
}
|
|
41540
41558
|
}, {
|
|
41541
41559
|
key: "initApiForLogicOnly",
|
package/build/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { h as CatalogPlannerArticleData, C as Cell, e as DivaArticle, g as DivaBasketHandler, f as DivaCatalogData, D as DockingPoint, G as Grid, O as OptionCatalogData, R as Rendering, c as Vector2, V as Vector3, i as Vector4, j as creatRenderOrders, d as default, k as getOrigProductId, l as loadAndRepairBasket } from './index-
|
|
1
|
+
export { h as CatalogPlannerArticleData, C as Cell, e as DivaArticle, g as DivaBasketHandler, f as DivaCatalogData, D as DockingPoint, G as Grid, O as OptionCatalogData, R as Rendering, c as Vector2, V as Vector3, i as Vector4, j as creatRenderOrders, d as default, k as getOrigProductId, l as loadAndRepairBasket } from './index-7e622dc6.js';
|
|
2
2
|
import '@babel/runtime/helpers/slicedToArray';
|
|
3
3
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
4
4
|
import '@babel/runtime/helpers/classCallCheck';
|
|
@@ -86,6 +86,7 @@ export default interface DivaCatalogDataType {
|
|
|
86
86
|
hidePriceGroupsOfOPGs: boolean;
|
|
87
87
|
configAccessoires: boolean;
|
|
88
88
|
configOnlyAccessoires: boolean;
|
|
89
|
+
ignoreArticleRelations: boolean;
|
|
89
90
|
forceConfigSingle: boolean;
|
|
90
91
|
repairVariantValues?: {
|
|
91
92
|
[OPT_OPV: string]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DivaCatalogDataType.d.ts","sourceRoot":"","sources":["../../../../../src/interface/DivaCatalogDataType.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAErF,MAAM,CAAC,OAAO,WAAW,mBAAmB;IAG1C,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACrD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IAIvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACz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