@crystaldesign/web-planner-logic 24.11.0-beta.36 → 24.11.0-beta.37
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-7d353091.js → DivaBoxPlanner-330653bb.js} +9 -9
- package/build/cjs/{DivaStandardPlanner-2cb17bb2.js → DivaStandardPlanner-428015e0.js} +10 -10
- package/build/cjs/{DoorPlanner-aba41f91.js → DoorPlanner-73c462cf.js} +1 -1
- package/build/cjs/{Host3DSignalR-7e2d6110.js → Host3DSignalR-93aafc52.js} +8 -8
- package/build/cjs/{LiviqueWWSHandler-81e7e263.js → LiviqueWWSHandler-72636128.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-b5874612.js → PfisterWWSHandler-0b867d64.js} +1 -1
- package/build/cjs/{PlannerHandler2D-da0e5f11.js → PlannerHandler2D-80167e97.js} +2 -2
- package/build/cjs/{ProductBasketHandler-9eedcbbe.js → ProductBasketHandler-7b9f5bd9.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-38f97603.js → SeriousBasketHandler-0303202e.js} +1 -1
- package/build/cjs/{ShelfPlanner-b996c526.js → ShelfPlanner-47bbfb7c.js} +10 -10
- package/build/cjs/{StandardWWSHandler-d9d07608.js → StandardWWSHandler-06ae3bfc.js} +1 -1
- package/build/cjs/{index-a1ff938d.js → index-c285a3c4.js} +182 -182
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-5c0a6f99.js → DivaBoxPlanner-da028daa.js} +9 -9
- package/build/esm/{DivaStandardPlanner-7da51bd5.js → DivaStandardPlanner-b23fcfc4.js} +10 -10
- package/build/esm/{DoorPlanner-738ab02c.js → DoorPlanner-d53478a6.js} +1 -1
- package/build/esm/{Host3DSignalR-33ff6ebf.js → Host3DSignalR-de59e1ca.js} +8 -8
- package/build/esm/{LiviqueWWSHandler-7e33ea00.js → LiviqueWWSHandler-8ac2de7d.js} +1 -1
- package/build/esm/{PfisterWWSHandler-15bd651d.js → PfisterWWSHandler-7e6d73a9.js} +1 -1
- package/build/esm/{PlannerHandler2D-59877b2d.js → PlannerHandler2D-d320a01d.js} +2 -2
- package/build/esm/{ProductBasketHandler-c7df04c1.js → ProductBasketHandler-faa30dae.js} +1 -1
- package/build/esm/{SeriousBasketHandler-92663b26.js → SeriousBasketHandler-00d1471a.js} +1 -1
- package/build/esm/{ShelfPlanner-c3a6db96.js → ShelfPlanner-747bb48e.js} +10 -10
- package/build/esm/{StandardWWSHandler-59c7c328.js → StandardWWSHandler-33764628.js} +1 -1
- package/build/esm/{index-15ddd485.js → index-1f21b165.js} +182 -182
- package/build/esm/index.js +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-c285a3c4.js');
|
|
6
6
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
7
7
|
require('@babel/runtime/helpers/classCallCheck');
|
|
8
8
|
require('@babel/runtime/helpers/createClass');
|
|
@@ -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-1f21b165.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-d320a01d.js';
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
11
11
|
import '@babel/runtime/helpers/slicedToArray';
|
|
12
12
|
import 'axios';
|
|
@@ -2855,7 +2855,7 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
|
|
|
2855
2855
|
}, {
|
|
2856
2856
|
key: "updateOptionLogicBoxPlanner",
|
|
2857
2857
|
value: function () {
|
|
2858
|
-
var _updateOptionLogicBoxPlanner = _asyncToGenerator(
|
|
2858
|
+
var _updateOptionLogicBoxPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(boxPlannerGrid, changedOPTs, targetElements, forceResetCornerElements) {
|
|
2859
2859
|
var startTime, resultMessage, optionHandler, allElements, i, j, doChangeRetailArticleNumbers;
|
|
2860
2860
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
2861
2861
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -3852,7 +3852,7 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
|
|
|
3852
3852
|
return _createClass(DivaBoxPlanner, [{
|
|
3853
3853
|
key: "initPlanner",
|
|
3854
3854
|
value: function () {
|
|
3855
|
-
var _initPlanner = _asyncToGenerator(
|
|
3855
|
+
var _initPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(setPlanData) {
|
|
3856
3856
|
var planData, jsonElements, i, jsonElement, elementID, plannerElement, data, highesElemId, _jsonElement, params;
|
|
3857
3857
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
3858
3858
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -4010,7 +4010,7 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
|
|
|
4010
4010
|
}, {
|
|
4011
4011
|
key: "addPlannerElement",
|
|
4012
4012
|
value: (function () {
|
|
4013
|
-
var _addPlannerElement = _asyncToGenerator(
|
|
4013
|
+
var _addPlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(basketID, params) {
|
|
4014
4014
|
var plannerElement, data;
|
|
4015
4015
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
4016
4016
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -4054,7 +4054,7 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
|
|
|
4054
4054
|
}, {
|
|
4055
4055
|
key: "extendPlanner",
|
|
4056
4056
|
value: function () {
|
|
4057
|
-
var _extendPlanner = _asyncToGenerator(
|
|
4057
|
+
var _extendPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(setPlanData, globalBoundingBox) {
|
|
4058
4058
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
4059
4059
|
while (1) switch (_context3.prev = _context3.next) {
|
|
4060
4060
|
case 0:
|
|
@@ -4078,7 +4078,7 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
|
|
|
4078
4078
|
}, {
|
|
4079
4079
|
key: "copyPlannerElement",
|
|
4080
4080
|
value: (function () {
|
|
4081
|
-
var _copyPlannerElement = _asyncToGenerator(
|
|
4081
|
+
var _copyPlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(articleCopyRelation, copyInfo) {
|
|
4082
4082
|
var _this = this;
|
|
4083
4083
|
var gridIsPrepared, plannerElementsToLoadSVG, that, copyType, i, allDPs;
|
|
4084
4084
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
@@ -4213,7 +4213,7 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
|
|
|
4213
4213
|
}, {
|
|
4214
4214
|
key: "deletePlannerElement",
|
|
4215
4215
|
value: (function () {
|
|
4216
|
-
var _deletePlannerElement = _asyncToGenerator(
|
|
4216
|
+
var _deletePlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(elementId, autoCorrectAVL_AVR, deletionType) {
|
|
4217
4217
|
var pos, newSelectedPos, newSelectedCol, allElements, allElementsToDelete, i, doUpdateWholeLogic, _this$boxPlannerGrid$;
|
|
4218
4218
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
4219
4219
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -4358,7 +4358,7 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
|
|
|
4358
4358
|
}, {
|
|
4359
4359
|
key: "updatePlanner",
|
|
4360
4360
|
value: (function () {
|
|
4361
|
-
var _updatePlanner = _asyncToGenerator(
|
|
4361
|
+
var _updatePlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(changedOPT, targetElements) {
|
|
4362
4362
|
var message, posInGrid, elemToCheck, copyDir, allElementsToCopy, _allElementsToCopy, allElementsToDelete, _allElementsToDelete, _message;
|
|
4363
4363
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
4364
4364
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -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-1f21b165.js';
|
|
7
|
+
import { d as dockingPointHandlerInst, h as handler2D, P as PlannerElementData } from './PlannerHandler2D-d320a01d.js';
|
|
8
8
|
import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
|
|
9
9
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
10
10
|
import '@babel/runtime/helpers/slicedToArray';
|
|
@@ -323,7 +323,7 @@ var DivaStandardPlanner = /*#__PURE__*/function () {
|
|
|
323
323
|
}, {
|
|
324
324
|
key: "addElementToWorld",
|
|
325
325
|
value: (function () {
|
|
326
|
-
var _addElementToWorld = _asyncToGenerator(
|
|
326
|
+
var _addElementToWorld = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(plannerElement, dockingPointInfos, suppressDock, globalBoundingBox) {
|
|
327
327
|
var xOffset,
|
|
328
328
|
setToTransform,
|
|
329
329
|
dockingFound,
|
|
@@ -457,7 +457,7 @@ var DivaStandardPlanner = /*#__PURE__*/function () {
|
|
|
457
457
|
}, {
|
|
458
458
|
key: "tryToDockWithDifferentSVGWithFormula",
|
|
459
459
|
value: function () {
|
|
460
|
-
var _tryToDockWithDifferentSVGWithFormula = _asyncToGenerator(
|
|
460
|
+
var _tryToDockWithDifferentSVGWithFormula = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(plannerElement, targetElemIdToDock) {
|
|
461
461
|
var success, svgsWithFormula, article, origVariantValues, i, elements, variantValues, vv, key, _elements, _variantValues, _key;
|
|
462
462
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
463
463
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -699,7 +699,7 @@ var DivaStandardPlanner = /*#__PURE__*/function () {
|
|
|
699
699
|
}, {
|
|
700
700
|
key: "updatePlanner",
|
|
701
701
|
value: function () {
|
|
702
|
-
var _updatePlanner = _asyncToGenerator(
|
|
702
|
+
var _updatePlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
703
703
|
var allPlannerElements, elemtsWhereSomethingChanged, i, elem, doReload, elementsToDelete, elementsLostDockingRelation;
|
|
704
704
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
705
705
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -763,7 +763,7 @@ var DivaStandardPlanner = /*#__PURE__*/function () {
|
|
|
763
763
|
}, {
|
|
764
764
|
key: "extendPlanner",
|
|
765
765
|
value: (function () {
|
|
766
|
-
var _extendPlanner = _asyncToGenerator(
|
|
766
|
+
var _extendPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(setPlanData, globalBoundingBox) {
|
|
767
767
|
var planDataString, planData, jsonElements, elementsSortedbyPosNr, accElements, oldElementidMapping, i, jsonElement, plannerElement, data, curElement, DPsInfo, j, dpInfo, sourceDP, targetElement, targetDP;
|
|
768
768
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
769
769
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -869,7 +869,7 @@ var DivaStandardPlanner = /*#__PURE__*/function () {
|
|
|
869
869
|
}, {
|
|
870
870
|
key: "initPlanner",
|
|
871
871
|
value: function () {
|
|
872
|
-
var _initPlanner = _asyncToGenerator(
|
|
872
|
+
var _initPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(setPlanData) {
|
|
873
873
|
var planDataString, planData, jsonElements, elementsSortedbyPosNr, accElements, i, jsonElement, elementID, plannerElement, data, onlyOneBaseElement, element, DPsInfo, j, dpInfo, sourceElement, sourceDP, targetElement, targetDP, _jsonElements, _elementsSortedbyPosNr, _accElements, _jsonElement, basketID, elementId, _plannerElement, _data, centerWorldPos, parentPosNr, accPosNr, _DPsInfo, _dpInfo, _this$plannerElements, targetElementId, dpType, curElement, _targetElement;
|
|
874
874
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
875
875
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -1137,7 +1137,7 @@ var DivaStandardPlanner = /*#__PURE__*/function () {
|
|
|
1137
1137
|
}, {
|
|
1138
1138
|
key: "addPlannerElement",
|
|
1139
1139
|
value: function () {
|
|
1140
|
-
var _addPlannerElement = _asyncToGenerator(
|
|
1140
|
+
var _addPlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(basketID, params) {
|
|
1141
1141
|
var _params$dockingPointI, _t$, _t$2, _t$3;
|
|
1142
1142
|
var plannerElement, data, t;
|
|
1143
1143
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
@@ -1222,7 +1222,7 @@ var DivaStandardPlanner = /*#__PURE__*/function () {
|
|
|
1222
1222
|
}, {
|
|
1223
1223
|
key: "copyPlannerElement",
|
|
1224
1224
|
value: (function () {
|
|
1225
|
-
var _copyPlannerElement = _asyncToGenerator(
|
|
1225
|
+
var _copyPlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(articleCopyRelation, copyInfo) {
|
|
1226
1226
|
var articlesToLoad, i;
|
|
1227
1227
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
1228
1228
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -1273,7 +1273,7 @@ var DivaStandardPlanner = /*#__PURE__*/function () {
|
|
|
1273
1273
|
}, {
|
|
1274
1274
|
key: "deletePlannerElement",
|
|
1275
1275
|
value: (function () {
|
|
1276
|
-
var _deletePlannerElement = _asyncToGenerator(
|
|
1276
|
+
var _deletePlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(elementId, autoCorrectAVL_AVR) {
|
|
1277
1277
|
var plannerElement, parent, prevPosNum, nextPosNum, newSelElemIdPrev, newSelElemIdNext, endForEach, removeDockingRelation, avlVec, avrVec, elementLeft, elementRight, avrElementLeft, avlElementRight, transform;
|
|
1278
1278
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
1279
1279
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -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-1f21b165.js';
|
|
5
5
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
7
7
|
import '@babel/runtime/regenerator';
|
|
@@ -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-1f21b165.js';
|
|
7
7
|
import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
|
|
8
8
|
import * as signalR from '@microsoft/signalr';
|
|
9
9
|
import io from 'socket.io-client';
|
|
@@ -147,7 +147,7 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
147
147
|
return _createClass(Host3DSignalR, [{
|
|
148
148
|
key: "initializeConnection",
|
|
149
149
|
value: (function () {
|
|
150
|
-
var _initializeConnection = _asyncToGenerator(
|
|
150
|
+
var _initializeConnection = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(divaNr) {
|
|
151
151
|
var _this2 = this;
|
|
152
152
|
var that;
|
|
153
153
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
@@ -204,7 +204,7 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
204
204
|
if (that.reconnectingErrorCount < 5) that.initializeConnection();
|
|
205
205
|
}
|
|
206
206
|
});
|
|
207
|
-
this.signalRConnection.onclose(
|
|
207
|
+
this.signalRConnection.onclose(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
208
208
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
209
209
|
while (1) switch (_context.prev = _context.next) {
|
|
210
210
|
case 0:
|
|
@@ -248,7 +248,7 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
248
248
|
}, {
|
|
249
249
|
key: "joinDivaNr",
|
|
250
250
|
value: function () {
|
|
251
|
-
var _joinDivaNr = _asyncToGenerator(
|
|
251
|
+
var _joinDivaNr = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(divaNr) {
|
|
252
252
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
253
253
|
while (1) switch (_context3.prev = _context3.next) {
|
|
254
254
|
case 0:
|
|
@@ -279,7 +279,7 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
279
279
|
}, {
|
|
280
280
|
key: "getViewPointInfo",
|
|
281
281
|
value: function () {
|
|
282
|
-
var _getViewPointInfo = _asyncToGenerator(
|
|
282
|
+
var _getViewPointInfo = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(vpName, standardWhiteroom) {
|
|
283
283
|
var res;
|
|
284
284
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
285
285
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -315,7 +315,7 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
315
315
|
}, {
|
|
316
316
|
key: "getStaticRoomListInfo",
|
|
317
317
|
value: function () {
|
|
318
|
-
var _getStaticRoomListInfo = _asyncToGenerator(
|
|
318
|
+
var _getStaticRoomListInfo = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(staticRoomList) {
|
|
319
319
|
var that;
|
|
320
320
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
321
321
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -476,7 +476,7 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
476
476
|
}, {
|
|
477
477
|
key: "login",
|
|
478
478
|
value: (function () {
|
|
479
|
-
var _login = _asyncToGenerator(
|
|
479
|
+
var _login = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
|
|
480
480
|
var sessionId, that;
|
|
481
481
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
482
482
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -533,7 +533,7 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
533
533
|
}, {
|
|
534
534
|
key: "join",
|
|
535
535
|
value: (function () {
|
|
536
|
-
var _join = _asyncToGenerator(
|
|
536
|
+
var _join = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(divaNr) {
|
|
537
537
|
var that, success;
|
|
538
538
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
539
539
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -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-1f21b165.js';
|
|
4
4
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
5
5
|
import '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import '@babel/runtime/regenerator';
|
|
@@ -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-1f21b165.js';
|
|
4
4
|
import { SAPOrderLineData } from '@crystaldesign/basket-model';
|
|
5
5
|
import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -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-1f21b165.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';
|
|
@@ -2928,7 +2928,7 @@ var PlannerHandler2D = /*#__PURE__*/function () {
|
|
|
2928
2928
|
}, {
|
|
2929
2929
|
key: "loadSVG",
|
|
2930
2930
|
value: (function () {
|
|
2931
|
-
var _loadSVG = _asyncToGenerator(
|
|
2931
|
+
var _loadSVG = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(plannerElement, set) {
|
|
2932
2932
|
var _this = this;
|
|
2933
2933
|
var svgFile, result, svgContent, svgContentXML, svgNewWidth, svgNewDepth, sizes, correctedContent;
|
|
2934
2934
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
|
-
import { p as productHandlerInstance } from './index-
|
|
3
|
+
import { p as productHandlerInstance } from './index-1f21b165.js';
|
|
4
4
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
5
5
|
import '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import '@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-1f21b165.js';
|
|
5
5
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
7
7
|
import '@babel/runtime/regenerator';
|
|
@@ -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, a as setHandlerInstance, b as articleHandlerInstance } from './index-
|
|
7
|
+
import { G as Grid, a as setHandlerInstance, b as articleHandlerInstance } from './index-1f21b165.js';
|
|
8
8
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
9
9
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
10
10
|
import '@babel/runtime/helpers/slicedToArray';
|
|
@@ -94,7 +94,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
94
94
|
}, {
|
|
95
95
|
key: "setIsVisible",
|
|
96
96
|
value: (function () {
|
|
97
|
-
var _setIsVisible = _asyncToGenerator(
|
|
97
|
+
var _setIsVisible = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(isVisible) {
|
|
98
98
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
99
99
|
while (1) switch (_context.prev = _context.next) {
|
|
100
100
|
case 0:
|
|
@@ -142,7 +142,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
142
142
|
}, {
|
|
143
143
|
key: "onConfigChanged",
|
|
144
144
|
value: (function () {
|
|
145
|
-
var _onConfigChanged = _asyncToGenerator(
|
|
145
|
+
var _onConfigChanged = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
146
146
|
var newHeightSet, gridsTodos, i, _i, _i2, grid;
|
|
147
147
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
148
148
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -225,7 +225,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
225
225
|
}, {
|
|
226
226
|
key: "initAccList",
|
|
227
227
|
value: (function () {
|
|
228
|
-
var _initAccList = _asyncToGenerator(
|
|
228
|
+
var _initAccList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(gridIndex) {
|
|
229
229
|
var grids, i, grid, j, initAcc, k, _this$article$accesso, shelfId, accessoires, _accessoireToDelete$s, accessoireToDelete, rh;
|
|
230
230
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
231
231
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -342,7 +342,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
342
342
|
}, {
|
|
343
343
|
key: "triggerVisibility",
|
|
344
344
|
value: function () {
|
|
345
|
-
var _triggerVisibility = _asyncToGenerator(
|
|
345
|
+
var _triggerVisibility = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(gridGroup) {
|
|
346
346
|
var toCleanOptions, toUpdateOptions, i, grid, _i3, option, visitOptionState;
|
|
347
347
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
348
348
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -411,7 +411,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
411
411
|
}, {
|
|
412
412
|
key: "deleteAllAcc",
|
|
413
413
|
value: function () {
|
|
414
|
-
var _deleteAllAcc = _asyncToGenerator(
|
|
414
|
+
var _deleteAllAcc = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
|
|
415
415
|
var i;
|
|
416
416
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
417
417
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -536,7 +536,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
536
536
|
}, {
|
|
537
537
|
key: "deleteAccessoireOfCellInGrid",
|
|
538
538
|
value: (function () {
|
|
539
|
-
var _deleteAccessoireOfCellInGrid = _asyncToGenerator(
|
|
539
|
+
var _deleteAccessoireOfCellInGrid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(gridIndex, cellIndex) {
|
|
540
540
|
var grid, inUse, deleteIndex, onBoardCell, accessoire;
|
|
541
541
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
542
542
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -606,7 +606,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
606
606
|
}, {
|
|
607
607
|
key: "handleDeleteTakePlaceOnOtherGrids",
|
|
608
608
|
value: (function () {
|
|
609
|
-
var _handleDeleteTakePlaceOnOtherGrids = _asyncToGenerator(
|
|
609
|
+
var _handleDeleteTakePlaceOnOtherGrids = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(gridIndex, cellIndex, accessoire) {
|
|
610
610
|
var i, _cell$Article, cell, _i4, _cell$Article2, _cell, _i5;
|
|
611
611
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
612
612
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -677,7 +677,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
677
677
|
}, {
|
|
678
678
|
key: "addAccessoireInCellInGrid",
|
|
679
679
|
value: (function () {
|
|
680
|
-
var _addAccessoireInCellInGrid = _asyncToGenerator(
|
|
680
|
+
var _addAccessoireInCellInGrid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(accessoire, gridIndex, cellIndex, type, params) {
|
|
681
681
|
var grids, i, grid;
|
|
682
682
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
683
683
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -1002,7 +1002,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
1002
1002
|
}, {
|
|
1003
1003
|
key: "disableCellsByDockedShelfs",
|
|
1004
1004
|
value: (function () {
|
|
1005
|
-
var _disableCellsByDockedShelfs = _asyncToGenerator(
|
|
1005
|
+
var _disableCellsByDockedShelfs = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(count, fromDockSide) {
|
|
1006
1006
|
var grids, i, grid, j, cell, _j, _cell2;
|
|
1007
1007
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
1008
1008
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -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-1f21b165.js';
|
|
4
4
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
5
5
|
import '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import '@babel/runtime/regenerator';
|