@crystaldesign/web-planner-logic 26.13.0-beta.1 → 26.13.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-5e930cef.js → DivaBoxPlanner-76112465.js} +3 -3
- package/build/cjs/{DivaStandardPlanner-9b10f74c.js → DivaStandardPlanner-2ec3cf66.js} +3 -3
- package/build/cjs/{DoorPlanner-3c74f8e1.js → DoorPlanner-903b1704.js} +2 -2
- package/build/cjs/{Host3DSignalR-2ba0c49a.js → Host3DSignalR-18443430.js} +62 -19
- package/build/cjs/{LiviqueWWSHandler-a4230440.js → LiviqueWWSHandler-f8f80ead.js} +2 -2
- package/build/cjs/{PfisterWWSHandler-2d41405a.js → PfisterWWSHandler-1e2fa7cc.js} +2 -2
- package/build/cjs/{PlannerHandler2D-97dff60d.js → PlannerHandler2D-2772a96b.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-a5c22844.js → SeriousBasketHandler-db8488d2.js} +2 -2
- package/build/cjs/{ShelfPlanner-b30f8c39.js → ShelfPlanner-87cecae1.js} +2 -2
- package/build/cjs/{StandardWWSHandler-40c2a2e8.js → StandardWWSHandler-537180c7.js} +2 -2
- package/build/cjs/{index-70f9ba19.js → index-0fefa866.js} +449 -203
- package/build/cjs/index.js +2 -2
- package/build/esm/{DivaBoxPlanner-87010599.js → DivaBoxPlanner-9145f178.js} +3 -3
- package/build/esm/{DivaStandardPlanner-f5f47d3b.js → DivaStandardPlanner-7331d5ae.js} +3 -3
- package/build/esm/{DoorPlanner-fb5b9eb2.js → DoorPlanner-cc097ffd.js} +2 -2
- package/build/esm/{Host3DSignalR-d316eb88.js → Host3DSignalR-72ecec93.js} +62 -19
- package/build/esm/{LiviqueWWSHandler-2a135ba1.js → LiviqueWWSHandler-4d18f0f8.js} +2 -2
- package/build/esm/{PfisterWWSHandler-e7d55634.js → PfisterWWSHandler-156c7d93.js} +2 -2
- package/build/esm/{PlannerHandler2D-288e724b.js → PlannerHandler2D-83b17b7f.js} +1 -1
- package/build/esm/{SeriousBasketHandler-60cbf854.js → SeriousBasketHandler-1652bb9b.js} +2 -2
- package/build/esm/{ShelfPlanner-f3a02665.js → ShelfPlanner-9f76f2ea.js} +2 -2
- package/build/esm/{StandardWWSHandler-eb1ba4cf.js → StandardWWSHandler-649e12c5.js} +2 -2
- package/build/esm/{index-9eba9def.js → index-44a2cb08.js} +449 -203
- package/build/esm/index.js +2 -2
- package/build/types/web-planner-logic/src/interface/Articles/CatalogArticleDataType.d.ts +2 -0
- package/build/types/web-planner-logic/src/interface/Articles/CatalogArticleDataType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts +2 -0
- package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/Planner/IDM3DTranslation.d.ts +20 -0
- package/build/types/web-planner-logic/src/interface/Planner/IDM3DTranslation.d.ts.map +1 -0
- package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts +9 -1
- package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts +3 -1
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Planner/IDM3D/idm3dTranslation.d.ts +33 -0
- package/build/types/web-planner-logic/src/logic/Planner/IDM3D/idm3dTranslation.d.ts.map +1 -0
- package/build/types/web-planner-logic/src/logic/Planner/Rendering/Host3DSignalR.d.ts +1 -0
- package/build/types/web-planner-logic/src/logic/Planner/Rendering/Host3DSignalR.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Planner/Rendering/PlannerHandler3D.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Articles/Article/CatalogArticleData.d.ts +1 -0
- 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/CatalogData.d.ts +1 -0
- package/build/types/web-planner-logic/src/model/Catalog/CatalogData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Catalog/IDMCatalogData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Options/CatalogOptionValueData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Properties/propertySchemaRegistry.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/test/host3DSignalRReconnect.test.d.ts +2 -0
- package/build/types/web-planner-logic/src/test/host3DSignalRReconnect.test.d.ts.map +1 -0
- package/build/types/web-planner-logic/src/test/plannerHandler3DRoomListQueue.test.d.ts +2 -0
- package/build/types/web-planner-logic/src/test/plannerHandler3DRoomListQueue.test.d.ts.map +1 -0
- package/build/types/web-planner-logic/src/test/setConfigPricePreview.test.d.ts +2 -0
- package/build/types/web-planner-logic/src/test/setConfigPricePreview.test.d.ts.map +1 -0
- package/package.json +3 -3
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-0fefa866.js');
|
|
6
6
|
var planner2dCore = require('@crystaldesign/planner-2d-core');
|
|
7
7
|
require('@babel/runtime/helpers/slicedToArray');
|
|
8
8
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
@@ -14,8 +14,8 @@ require('@babel/runtime/helpers/objectWithoutProperties');
|
|
|
14
14
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
15
15
|
require('axios');
|
|
16
16
|
require('@crystaldesign/diva-utils');
|
|
17
|
-
require('@crystaldesign/basket-model');
|
|
18
17
|
require('@babel/runtime/helpers/typeof');
|
|
18
|
+
require('@crystaldesign/basket-model');
|
|
19
19
|
require('fast-xml-parser');
|
|
20
20
|
require('@babel/runtime/helpers/possibleConstructorReturn');
|
|
21
21
|
require('@babel/runtime/helpers/getPrototypeOf');
|
|
@@ -3,16 +3,16 @@ 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-44a2cb08.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-83b17b7f.js';
|
|
11
11
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
12
12
|
import 'axios';
|
|
13
|
+
import '@babel/runtime/helpers/typeof';
|
|
13
14
|
import '@crystaldesign/planner-2d-core';
|
|
14
15
|
import '@crystaldesign/basket-model';
|
|
15
|
-
import '@babel/runtime/helpers/typeof';
|
|
16
16
|
import 'fast-xml-parser';
|
|
17
17
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
18
18
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
@@ -4,15 +4,15 @@ 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 { V as Vector3, P as PlannerElementData, B as BoundingBox } from './index-
|
|
7
|
+
import { V as Vector3, P as PlannerElementData, B as BoundingBox } from './index-44a2cb08.js';
|
|
8
8
|
import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
|
|
9
9
|
import { computeDockedTransform } from '@crystaldesign/planner-2d-core';
|
|
10
|
-
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-
|
|
10
|
+
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-83b17b7f.js';
|
|
11
11
|
import '@babel/runtime/helpers/slicedToArray';
|
|
12
12
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
13
13
|
import 'axios';
|
|
14
|
-
import '@crystaldesign/basket-model';
|
|
15
14
|
import '@babel/runtime/helpers/typeof';
|
|
15
|
+
import '@crystaldesign/basket-model';
|
|
16
16
|
import 'fast-xml-parser';
|
|
17
17
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
18
18
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
@@ -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-44a2cb08.js';
|
|
5
5
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/slicedToArray';
|
|
7
7
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -9,9 +9,9 @@ import '@babel/runtime/regenerator';
|
|
|
9
9
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
10
10
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
11
11
|
import 'axios';
|
|
12
|
+
import '@babel/runtime/helpers/typeof';
|
|
12
13
|
import '@crystaldesign/planner-2d-core';
|
|
13
14
|
import '@crystaldesign/basket-model';
|
|
14
|
-
import '@babel/runtime/helpers/typeof';
|
|
15
15
|
import 'fast-xml-parser';
|
|
16
16
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
17
17
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
@@ -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 { d as bootMark, R as Rendering, H as HQRenderScript } from './index-
|
|
6
|
+
import { d as bootMark, R as Rendering, H as HQRenderScript } from './index-44a2cb08.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';
|
|
@@ -12,9 +12,9 @@ import '@babel/runtime/helpers/slicedToArray';
|
|
|
12
12
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
13
13
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
14
14
|
import 'axios';
|
|
15
|
+
import '@babel/runtime/helpers/typeof';
|
|
15
16
|
import '@crystaldesign/planner-2d-core';
|
|
16
17
|
import '@crystaldesign/basket-model';
|
|
17
|
-
import '@babel/runtime/helpers/typeof';
|
|
18
18
|
import 'fast-xml-parser';
|
|
19
19
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
20
20
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
@@ -35,6 +35,8 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
35
35
|
_defineProperty(this, "connectionErrorCount", void 0);
|
|
36
36
|
_defineProperty(this, "doIgnoreOnClosed", void 0);
|
|
37
37
|
//This boolean allows to ignore the onClose connection event of the signalR connection.
|
|
38
|
+
_defineProperty(this, "isClosed", false);
|
|
39
|
+
//Set by closeConnection(): a closed instance must never connect again.
|
|
38
40
|
_defineProperty(this, "sessionID", void 0);
|
|
39
41
|
//DivaMediaService
|
|
40
42
|
_defineProperty(this, "divaMediaServiceSocketIO", undefined);
|
|
@@ -148,7 +150,7 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
148
150
|
value: (function () {
|
|
149
151
|
var _initializeConnection = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(divaNr) {
|
|
150
152
|
var _this2 = this;
|
|
151
|
-
var that;
|
|
153
|
+
var that, connection;
|
|
152
154
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
153
155
|
while (1) switch (_context2.prev = _context2.next) {
|
|
154
156
|
case 0:
|
|
@@ -167,11 +169,22 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
167
169
|
_context2.next = 5;
|
|
168
170
|
return this.delay(100);
|
|
169
171
|
case 5:
|
|
172
|
+
if (!this.isClosed) {
|
|
173
|
+
_context2.next = 7;
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
return _context2.abrupt("return");
|
|
177
|
+
case 7:
|
|
170
178
|
LOG.debug('Create SignalR connection with host: ' + this.renderSettings.Diva3DServerURL + '; RenderGroup: ' + this.renderSettings.RenderGroup);
|
|
171
179
|
that = this;
|
|
172
180
|
if (this.signalRConnection) {
|
|
173
181
|
this.doIgnoreOnClosed = true;
|
|
174
|
-
|
|
182
|
+
// The replaced connection's close event is ignored below, so reset its state here.
|
|
183
|
+
this.connectionStarted = false;
|
|
184
|
+
this.successfullyLoggedIn = false;
|
|
185
|
+
this.successfullyJoinedDivaNr = false;
|
|
186
|
+
// stop() also closes the transport and cancels pending invocations, unlike the private _completeClose().
|
|
187
|
+
this.signalRConnection.stop()["catch"](function () {});
|
|
175
188
|
this.signalRConnection = null;
|
|
176
189
|
}
|
|
177
190
|
if ((typeof window === 'undefined' || window).DIVA_LOGGER == 0) {
|
|
@@ -179,11 +192,14 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
179
192
|
} else {
|
|
180
193
|
this.signalRConnection = new HubConnectionBuilder().withUrl(this.renderSettings.Diva3DServerURL).withHubProtocol(new MessagePackHubProtocol()).configureLogging(LogLevel.None).build();
|
|
181
194
|
}
|
|
195
|
+
// Callbacks of a connection that was replaced meanwhile must not change the state of the current one.
|
|
196
|
+
connection = this.signalRConnection;
|
|
182
197
|
this.signalRConnection.on('UnvalidSessionID', this.unvalidSessionID);
|
|
183
198
|
this.signalRConnection.on('noRenderClientFound', this.noRenderClientFound);
|
|
184
199
|
this.signalRConnection.on('newRendering', this.newRendering);
|
|
185
200
|
this.signalRConnection.on('newHQRenderScript', this.newHQRenderScript);
|
|
186
201
|
this.signalRConnection.start().then(function () {
|
|
202
|
+
if (connection !== that.signalRConnection) return;
|
|
187
203
|
DivaUtils.endSpanOfApm('PlannerHandler3D initSignalRConnection');
|
|
188
204
|
bootMark('signalr: connected');
|
|
189
205
|
that.connectionStarted = true;
|
|
@@ -196,6 +212,7 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
196
212
|
that.reconnectingErrorCount = 0;
|
|
197
213
|
that.login(); //After connecting to signalR, the login should be performed
|
|
198
214
|
})["catch"](function (err) {
|
|
215
|
+
if (connection !== that.signalRConnection) return;
|
|
199
216
|
DivaUtils.endSpanOfApm('PlannerHandler3D initSignalRConnection');
|
|
200
217
|
LOG.error(new DivaError('Connection error. Message: ' + err.toString(), {
|
|
201
218
|
code: 'WC_0014'
|
|
@@ -210,26 +227,32 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
210
227
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
211
228
|
while (1) switch (_context.prev = _context.next) {
|
|
212
229
|
case 0:
|
|
230
|
+
if (!(connection !== _this2.signalRConnection)) {
|
|
231
|
+
_context.next = 2;
|
|
232
|
+
break;
|
|
233
|
+
}
|
|
234
|
+
return _context.abrupt("return");
|
|
235
|
+
case 2:
|
|
213
236
|
DivaUtils.endSpanOfApm('PlannerHandler3D initSignalRConnection');
|
|
214
237
|
LOG.warn('Connection with 3D Host gets lost. Try to reconnect.', 'WC_0014');
|
|
215
238
|
that.connectionStarted = false;
|
|
216
239
|
_this2.successfullyLoggedIn = false;
|
|
217
240
|
_this2.successfullyJoinedDivaNr = false;
|
|
218
241
|
if (!_this2.doIgnoreOnClosed) {
|
|
219
|
-
_context.next =
|
|
242
|
+
_context.next = 9;
|
|
220
243
|
break;
|
|
221
244
|
}
|
|
222
245
|
return _context.abrupt("return");
|
|
223
|
-
case
|
|
246
|
+
case 9:
|
|
224
247
|
_this2.reconnectAfterError = true;
|
|
225
248
|
that.initializeConnection();
|
|
226
|
-
case
|
|
249
|
+
case 11:
|
|
227
250
|
case "end":
|
|
228
251
|
return _context.stop();
|
|
229
252
|
}
|
|
230
253
|
}, _callee);
|
|
231
254
|
})));
|
|
232
|
-
case
|
|
255
|
+
case 18:
|
|
233
256
|
case "end":
|
|
234
257
|
return _context2.stop();
|
|
235
258
|
}
|
|
@@ -430,11 +453,15 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
430
453
|
}, {
|
|
431
454
|
key: "closeConnection",
|
|
432
455
|
value: function closeConnection() {
|
|
456
|
+
this.isClosed = true;
|
|
433
457
|
if (this.signalRConnection) {
|
|
434
458
|
this.doIgnoreOnClosed = true;
|
|
435
459
|
this.signalRConnection.invoke('LeaveWebClient')["catch"](function () {});
|
|
436
460
|
LOG.debug('SignalRConnection: Close Connection and say byby to Diva3DHost.');
|
|
437
461
|
this.signalRConnection.stop()["catch"](function () {});
|
|
462
|
+
// Drops the closed connection's callbacks: stopping it while it still starts rejects start(), which would
|
|
463
|
+
// otherwise reconnect and log in for a planner that is gone.
|
|
464
|
+
this.signalRConnection = null;
|
|
438
465
|
}
|
|
439
466
|
|
|
440
467
|
// Also close the socket connection to DivaMediaService
|
|
@@ -453,7 +480,7 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
453
480
|
key: "login",
|
|
454
481
|
value: (function () {
|
|
455
482
|
var _login = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
|
|
456
|
-
var sessionId, that;
|
|
483
|
+
var connection, sessionId, that;
|
|
457
484
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
458
485
|
while (1) switch (_context6.prev = _context6.next) {
|
|
459
486
|
case 0:
|
|
@@ -461,11 +488,21 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
461
488
|
//_this.ServerLog("Login","send Login - userID:" + _userID + ", deviceID:" + _deviceID + ", divaSessionID:" SaveProjectWi+ _divaSessionID + ", info:" + _Application);
|
|
462
489
|
DivaUtils.startSpanOfApm('PlannerHandler3D login');
|
|
463
490
|
bootMark('signalr: LoginWebPlanner sent');
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
491
|
+
|
|
492
|
+
// A login answered after its connection was replaced belongs to the old connection: reporting it would mark the
|
|
493
|
+
// client as logged in while the new connection is not started yet.
|
|
494
|
+
connection = this.signalRConnection;
|
|
495
|
+
_context6.prev = 4;
|
|
496
|
+
_context6.next = 7;
|
|
497
|
+
return connection.invoke('LoginWebPlanner', this.renderSettings.UserID, this.renderSettings.DeviceID, this.renderSettings.DivaSessionID, this.renderSettings.ApplicationName);
|
|
498
|
+
case 7:
|
|
468
499
|
sessionId = _context6.sent;
|
|
500
|
+
if (!(connection !== this.signalRConnection)) {
|
|
501
|
+
_context6.next = 10;
|
|
502
|
+
break;
|
|
503
|
+
}
|
|
504
|
+
return _context6.abrupt("return");
|
|
505
|
+
case 10:
|
|
469
506
|
bootMark('signalr: LoginWebPlanner acked', {
|
|
470
507
|
ok: sessionId != '' ? 1 : 0
|
|
471
508
|
});
|
|
@@ -482,21 +519,27 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
482
519
|
status: 'ERROR'
|
|
483
520
|
});
|
|
484
521
|
}
|
|
485
|
-
_context6.next =
|
|
522
|
+
_context6.next = 22;
|
|
486
523
|
break;
|
|
487
|
-
case
|
|
488
|
-
_context6.prev =
|
|
489
|
-
_context6.t0 = _context6["catch"](
|
|
524
|
+
case 15:
|
|
525
|
+
_context6.prev = 15;
|
|
526
|
+
_context6.t0 = _context6["catch"](4);
|
|
527
|
+
if (!(connection !== this.signalRConnection)) {
|
|
528
|
+
_context6.next = 19;
|
|
529
|
+
break;
|
|
530
|
+
}
|
|
531
|
+
return _context6.abrupt("return");
|
|
532
|
+
case 19:
|
|
490
533
|
DivaUtils.endSpanOfApm('PlannerHandler3D login');
|
|
491
534
|
that = this;
|
|
492
535
|
this.handleConnectionError(_context6.t0, function () {
|
|
493
536
|
that.login();
|
|
494
537
|
});
|
|
495
|
-
case
|
|
538
|
+
case 22:
|
|
496
539
|
case "end":
|
|
497
540
|
return _context6.stop();
|
|
498
541
|
}
|
|
499
|
-
}, _callee6, this, [[
|
|
542
|
+
}, _callee6, this, [[4, 15]]);
|
|
500
543
|
}));
|
|
501
544
|
function login() {
|
|
502
545
|
return _login.apply(this, arguments);
|
|
@@ -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-44a2cb08.js';
|
|
4
4
|
import '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
6
6
|
import '@babel/runtime/helpers/defineProperty';
|
|
@@ -9,9 +9,9 @@ import '@babel/runtime/helpers/objectWithoutProperties';
|
|
|
9
9
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
10
10
|
import 'axios';
|
|
11
11
|
import '@crystaldesign/diva-utils';
|
|
12
|
+
import '@babel/runtime/helpers/typeof';
|
|
12
13
|
import '@crystaldesign/planner-2d-core';
|
|
13
14
|
import '@crystaldesign/basket-model';
|
|
14
|
-
import '@babel/runtime/helpers/typeof';
|
|
15
15
|
import 'fast-xml-parser';
|
|
16
16
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
17
17
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
@@ -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-44a2cb08.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';
|
|
@@ -10,8 +10,8 @@ import '@babel/runtime/regenerator';
|
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
11
11
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
12
12
|
import 'axios';
|
|
13
|
-
import '@crystaldesign/planner-2d-core';
|
|
14
13
|
import '@babel/runtime/helpers/typeof';
|
|
14
|
+
import '@crystaldesign/planner-2d-core';
|
|
15
15
|
import 'fast-xml-parser';
|
|
16
16
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
17
17
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
@@ -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, S as SVGUtils } from './index-
|
|
6
|
+
import { c as Vector2, S as SVGUtils } from './index-44a2cb08.js';
|
|
7
7
|
import _possibleConstructorReturn from '@babel/runtime/helpers/possibleConstructorReturn';
|
|
8
8
|
import _getPrototypeOf from '@babel/runtime/helpers/getPrototypeOf';
|
|
9
9
|
import _get from '@babel/runtime/helpers/get';
|
|
@@ -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-44a2cb08.js';
|
|
5
5
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/slicedToArray';
|
|
7
7
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -9,9 +9,9 @@ import '@babel/runtime/regenerator';
|
|
|
9
9
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
10
10
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
11
11
|
import 'axios';
|
|
12
|
+
import '@babel/runtime/helpers/typeof';
|
|
12
13
|
import '@crystaldesign/planner-2d-core';
|
|
13
14
|
import '@crystaldesign/basket-model';
|
|
14
|
-
import '@babel/runtime/helpers/typeof';
|
|
15
15
|
import 'fast-xml-parser';
|
|
16
16
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
17
17
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
@@ -4,14 +4,14 @@ 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 articleHandlerInstance, b as setHandlerInstance } from './index-
|
|
7
|
+
import { G as Grid, a as articleHandlerInstance, b as setHandlerInstance } from './index-44a2cb08.js';
|
|
8
8
|
import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
11
11
|
import 'axios';
|
|
12
|
+
import '@babel/runtime/helpers/typeof';
|
|
12
13
|
import '@crystaldesign/planner-2d-core';
|
|
13
14
|
import '@crystaldesign/basket-model';
|
|
14
|
-
import '@babel/runtime/helpers/typeof';
|
|
15
15
|
import 'fast-xml-parser';
|
|
16
16
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
17
17
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
@@ -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-44a2cb08.js';
|
|
4
4
|
import '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
6
6
|
import '@babel/runtime/helpers/defineProperty';
|
|
@@ -9,9 +9,9 @@ import '@babel/runtime/helpers/objectWithoutProperties';
|
|
|
9
9
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
10
10
|
import 'axios';
|
|
11
11
|
import '@crystaldesign/diva-utils';
|
|
12
|
+
import '@babel/runtime/helpers/typeof';
|
|
12
13
|
import '@crystaldesign/planner-2d-core';
|
|
13
14
|
import '@crystaldesign/basket-model';
|
|
14
|
-
import '@babel/runtime/helpers/typeof';
|
|
15
15
|
import 'fast-xml-parser';
|
|
16
16
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
17
17
|
import '@babel/runtime/helpers/getPrototypeOf';
|