@crystaldesign/web-planner-logic 24.15.0-beta.26 → 24.15.0-beta.28
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-7592406c.js → DivaBoxPlanner-c4c1b982.js} +9 -2
- package/build/cjs/{DivaStandardPlanner-4d70aaa5.js → DivaStandardPlanner-39b7e0e6.js} +8 -2
- package/build/cjs/{DoorPlanner-9719686c.js → DoorPlanner-21094fea.js} +1 -1
- package/build/cjs/{Host3DSignalR-90a40f43.js → Host3DSignalR-59a8e225.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-f2984134.js → LiviqueWWSHandler-1b73cbfd.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-8be4005d.js → PfisterWWSHandler-c4d1e168.js} +1 -1
- package/build/cjs/{PlannerHandler2D-c3801ef8.js → PlannerHandler2D-58738e60.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-481240a0.js → SeriousBasketHandler-ee336e6a.js} +10 -8
- package/build/cjs/{ShelfPlanner-838e8206.js → ShelfPlanner-dfaaec5b.js} +1 -1
- package/build/cjs/{StandardWWSHandler-3e711eba.js → StandardWWSHandler-7919d59c.js} +1 -1
- package/build/cjs/{index-160da76f.js → index-da2bfc63.js} +416 -283
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-643b0257.js → DivaBoxPlanner-4377b047.js} +9 -2
- package/build/esm/{DivaStandardPlanner-1dbca2de.js → DivaStandardPlanner-f25d5372.js} +8 -2
- package/build/esm/{DoorPlanner-7c14abe0.js → DoorPlanner-bae19611.js} +1 -1
- package/build/esm/{Host3DSignalR-e4b6a33b.js → Host3DSignalR-60c8e3d8.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-a3082547.js → LiviqueWWSHandler-538d3495.js} +1 -1
- package/build/esm/{PfisterWWSHandler-ea5e1705.js → PfisterWWSHandler-82ba99d4.js} +1 -1
- package/build/esm/{PlannerHandler2D-8a3eb1bf.js → PlannerHandler2D-79e4bbb6.js} +1 -1
- package/build/esm/{SeriousBasketHandler-9474f56f.js → SeriousBasketHandler-8de289e4.js} +10 -8
- package/build/esm/{ShelfPlanner-5762d9ea.js → ShelfPlanner-2a427110.js} +1 -1
- package/build/esm/{StandardWWSHandler-1de9b17c.js → StandardWWSHandler-cc568773.js} +1 -1
- package/build/esm/{index-d04d65f4.js → index-9e9d96fd.js} +416 -283
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/interface/Articles/AccessoireItemType.d.ts +1 -0
- package/build/types/web-planner-logic/src/interface/Articles/AccessoireItemType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/OptionTypes/ArticleOptionValueView.d.ts +3 -1
- package/build/types/web-planner-logic/src/interface/OptionTypes/ArticleOptionValueView.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/Planner/IDivaPlanner.d.ts +2 -0
- package/build/types/web-planner-logic/src/interface/Planner/IDivaPlanner.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts +1 -0
- package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts +7 -0
- package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Article/DivaArticleHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Basket/SeriousBasketHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTreeHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Planner/BoxPlanner/DivaBoxPlanner.d.ts +1 -0
- package/build/types/web-planner-logic/src/logic/Planner/BoxPlanner/DivaBoxPlanner.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Planner/DivaPlannerHandler.d.ts +2 -1
- package/build/types/web-planner-logic/src/logic/Planner/DivaPlannerHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Planner/DivaStandardPlanner.d.ts +1 -0
- package/build/types/web-planner-logic/src/logic/Planner/DivaStandardPlanner.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Set/DivaSet.d.ts +1 -3
- package/build/types/web-planner-logic/src/logic/Set/DivaSet.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Set/DivaSetHandler.d.ts +1 -1
- package/build/types/web-planner-logic/src/logic/Set/DivaSetHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts +13 -2
- package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts.map +1 -1
- package/package.json +2 -2
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-da2bfc63.js');
|
|
6
6
|
require('@babel/runtime/helpers/slicedToArray');
|
|
7
7
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
8
8
|
require('@babel/runtime/helpers/classCallCheck');
|
|
@@ -3,10 +3,10 @@ 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, B as BoundingBox } from './index-
|
|
6
|
+
import { V as Vector3, B as BoundingBox } from './index-9e9d96fd.js';
|
|
7
7
|
import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
|
|
8
8
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
9
|
-
import { d as dockingPointHandlerInst, P as PlannerElementData, h as handler2D } from './PlannerHandler2D-
|
|
9
|
+
import { d as dockingPointHandlerInst, P as PlannerElementData, h as handler2D } from './PlannerHandler2D-79e4bbb6.js';
|
|
10
10
|
import '@babel/runtime/helpers/slicedToArray';
|
|
11
11
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
12
12
|
import 'axios';
|
|
@@ -4694,6 +4694,13 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
|
|
|
4694
4694
|
}
|
|
4695
4695
|
return elementIds.length;
|
|
4696
4696
|
}
|
|
4697
|
+
}, {
|
|
4698
|
+
key: "clonePlanner",
|
|
4699
|
+
value: function clonePlanner(set, plannerId, setData) {
|
|
4700
|
+
var clone = new DivaBoxPlanner(set, plannerId);
|
|
4701
|
+
clone.initPlanner(setData);
|
|
4702
|
+
return clone;
|
|
4703
|
+
}
|
|
4697
4704
|
}]);
|
|
4698
4705
|
}();
|
|
4699
4706
|
_defineProperty(DivaBoxPlanner, "plannerType", 'BOX');
|
|
@@ -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-9e9d96fd.js';
|
|
7
|
+
import { d as dockingPointHandlerInst, h as handler2D, P as PlannerElementData } from './PlannerHandler2D-79e4bbb6.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';
|
|
@@ -1770,6 +1770,12 @@ var DivaStandardPlanner = /*#__PURE__*/function () {
|
|
|
1770
1770
|
LOG.log('___________________________');
|
|
1771
1771
|
});
|
|
1772
1772
|
}
|
|
1773
|
+
}, {
|
|
1774
|
+
key: "clonePlanner",
|
|
1775
|
+
value: function clonePlanner(set, plannerId) {
|
|
1776
|
+
var clone = new DivaStandardPlanner(set, function () {}, plannerId, new BoundingBox(), true, false, true, false);
|
|
1777
|
+
return clone;
|
|
1778
|
+
}
|
|
1773
1779
|
}]);
|
|
1774
1780
|
}();
|
|
1775
1781
|
_defineProperty(DivaStandardPlanner, "plannerType", 'STD');
|
|
@@ -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-9e9d96fd.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-9e9d96fd.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-9e9d96fd.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-9e9d96fd.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-9e9d96fd.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-9e9d96fd.js';
|
|
5
5
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/slicedToArray';
|
|
7
7
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -133,13 +133,15 @@ var StandardWWSHandler = /*#__PURE__*/function () {
|
|
|
133
133
|
var partListArticle = group.partlistArticles[_j].article;
|
|
134
134
|
var name = partListArticle.name;
|
|
135
135
|
if (partListArticle.partlistRule) {
|
|
136
|
-
if (
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
136
|
+
if (!partListArticle.partlistRule.includes('OPVPAF')) {
|
|
137
|
+
if (partListArticle.partlistRule.includes('OPTMATR_L') && !partListArticle.partlistRule.includes('OPTMATR_R')) {
|
|
138
|
+
var _set$api$getI18n$t, _set$api$getI18n;
|
|
139
|
+
name = name + ' ' + ((_set$api$getI18n$t = (_set$api$getI18n = set.api.getI18n()) === null || _set$api$getI18n === void 0 ? void 0 : _set$api$getI18n.t('cube.left')) !== null && _set$api$getI18n$t !== void 0 ? _set$api$getI18n$t : 'links');
|
|
140
|
+
}
|
|
141
|
+
if (partListArticle.partlistRule.includes('OPTMATR_R') && !partListArticle.partlistRule.includes('OPTMATR_L')) {
|
|
142
|
+
var _set$api$getI18n$t2, _set$api$getI18n2;
|
|
143
|
+
name = name + ' ' + ((_set$api$getI18n$t2 = (_set$api$getI18n2 = set.api.getI18n()) === null || _set$api$getI18n2 === void 0 ? void 0 : _set$api$getI18n2.t('cube.right')) !== null && _set$api$getI18n$t2 !== void 0 ? _set$api$getI18n$t2 : 'rechts');
|
|
144
|
+
}
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
var tabGroup = (_article$getArticleOp3 = (_article$getArticleOp4 = article.getArticleOptionState('OPT' + partListArticle.tabGroup)) === null || _article$getArticleOp4 === void 0 ? void 0 : _article$getArticleOp4.optionTabGroup) !== null && _article$getArticleOp3 !== void 0 ? _article$getArticleOp3 : partListArticle.tabGroup;
|
|
@@ -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-9e9d96fd.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-9e9d96fd.js';
|
|
4
4
|
import '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
6
6
|
import '@babel/runtime/helpers/defineProperty';
|